Move basic perf-test output from perftest.log to perftest.sum.
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2015-08-03 Doug Evans <dje@google.com>
2
3 * lib/perftest/reporter.py (SUM_FILE_NAME): New global.
4 (LOG_FILE_NAME): New global.
5 (TextReporter.__init__): Initialize self.txt_sum.
6 (TextReporter.report): Add support for multiple data-points.
7 Move report to perftest.sum, put raw data in perftest.log.
8 (TextReporter.start): Open sum and log files.
9 (TextReporter.end): Close sum and log files.
10 * lib/perftest/testresult.py (SingleStatisticTestResult.record): Handle
11 multiple data-points.
12
13 2015-07-31 Pedro Alves <palves@redhat.com>
14
15 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17 kill_wait_spawned_process instead of explicit "kill -9".
18 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
19 returning a spawn id instead of a pid. Use spawn_id_get_pid and
20 kill_wait_spawned_process.
21 * gdb.base/attach-twice.exp: Likewise.
22 * gdb.base/attach.exp: Likewise.
23 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
24 gdb_test_multiple.
25 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
26 returning a spawn id instead of a pid. Use spawn_id_get_pid and
27 kill_wait_spawned_process.
28 * gdb.base/valgrind-infcall.exp: Likewise.
29 * gdb.multi/multi-attach.exp: Likewise.
30 * gdb.python/py-prompt.exp: Likewise.
31 * gdb.python/py-sync-interp.exp: Likewise.
32 * gdb.server/ext-attach.exp: Likewise.
33 * gdb.threads/attach-into-signal.exp (corefunc): Use
34 spawn_wait_for_attach, spawn_id_get_pid and
35 kill_wait_spawned_process.
36 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
37 spawn_wait_for_attach returning a spawn id instead of a pid. Use
38 spawn_id_get_pid and kill_wait_spawned_process.
39 * gdb.threads/attach-stopped.exp (corefunc): Use
40 spawn_wait_for_attach, spawn_id_get_pid and
41 kill_wait_spawned_process.
42 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
43 Use spawn_id_get_pid. Wait for spawn id after eof. Use
44 kill_wait_spawned_process instead of explicit "kill -9".
45 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
46 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
47 (spawn_wait_for_attach): Use spawn instead of exec to spawn
48 processes. Don't map cygwin/windows pids here. Now returns a
49 spawn id list.
50
51 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
52
53 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
54 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
55 correct patch.
56
57 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
58
59 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
60
61 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
62
63 Reapply:
64 2014-05-21 Mark Wielaard <mjw@redhat.com>
65
66 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
67
68 2015-07-30 Pedro Alves <palves@redhat.com>
69
70 * linux-low.c (handle_extended_wait): Set the child's last
71 reported status to TARGET_WAITKIND_STOPPED.
72
73 2015-07-30 Pedro Alves <palves@redhat.com>
74
75 PR threads/18600
76 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
77 only shows inferior 1.
78
79 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
80 Pedro Alves <palves@redhat.com>
81
82 PR threads/18600
83 * gdb.threads/fork-plus-threads.c: New file.
84 * gdb.threads/fork-plus-threads.exp: New file.
85
86 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
87
88 * gdb.base/batch-preserve-term-settings.exp
89 (test_terminal_settings_preserved_after_cli_exit): Use
90 send_quit_command.
91
92 2015-07-29 Pedro Alves <palves@redhat.com>
93 Don Breazeal <donb@codesourcery.com>
94
95 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
96 output from both inferior_spawn_id and gdb_spawn_id.
97
98 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
99
100 * gdb.threads/attach-into-signal.exp (corefunc): Use
101 with_test_prefix on nested loops, uniquefying the test messages.
102
103 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
104
105 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
106 commit.
107
108 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
109
110 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
111 New proc.
112 (test_terminal_settings_preserved_after_sigterm): New test.
113
114 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
115
116 * gdb.base/batch-preserve-term-settings.exp
117 (test_terminal_settings_preserved_after_cli_exit): New test.
118
119 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
120
121 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
122 manipulation of saved_gdbflags.
123 (test_terminal_settings_preserved): Remove global declaration of
124 the unused variable pagination_prompt. Remove manipulation of
125 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
126 GDBFLAGS.
127
128 2015-07-29 Pedro Alves <palves@redhat.com>
129
130 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
131
132 2015-07-29 Pedro Alves <palves@redhat.com>
133
134 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
135 at the top.
136
137 2015-07-29 Pedro Alves <palves@redhat.com>
138
139 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
140 (main): Call gdb_unbuffer_output.
141 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
142 (main): Call gdb_unbuffer_output.
143 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
144 (main): Call gdb_unbuffer_output.
145 * gdb.base/call-strs.exp: Adjust to step over the
146 gdb_unbuffer_output call.
147 * gdb.base/catch-gdb-caused-signals.c: Include
148 "../lib/unbuffer_output.c".
149 (main): Call gdb_unbuffer_output.
150 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
151 (main): Call gdb_unbuffer_output.
152 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
153 (main): Call gdb_unbuffer_output.
154 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
155 (main): Call gdb_unbuffer_output.
156 * gdb.base/shlib-call.exp: Adjust to step over the
157 gdb_unbuffer_output call.
158 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
159 (main): Call gdb_unbuffer_output.
160 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
161 (main): Call gdb_unbuffer_output.
162 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
163 (main): Rename to ...
164 (test): ... this.
165 (main): Reimplement.
166 * gdb.base/varargs.exp: Run to test instead of to main.
167 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
168 (main): Call gdb_unbuffer_output.
169
170 2015-07-29 Pedro Alves <palves@redhat.com>
171
172 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
173 factore out from mi_continue_dprintf. For call-style dprintfs,
174 expect dprintf output out of $inferior_spawn_id.
175 (mi_continue_dprintf): Use mi_expect_dprintf.
176 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
177 (main): Call gdb_unbuffer_output.
178
179 2015-07-29 Pedro Alves <palves@redhat.com>
180
181 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
182 (default_mi_gdb_start): Set inferior_spawn_id instead of
183 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
184 gdb_spawn_id.
185 (mi_gdb_test): Always expect inferior output from both
186 $inferior_spawn_id and $gdb_spawn_id.
187
188 2015-07-29 Pedro Alves <palves@redhat.com>
189
190 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
191 send_inferior and $inferior_spawn_id.
192
193 2015-07-29 Pedro Alves <palves@redhat.com>
194
195 * gdb.gdb/complaints.exp (test_initial_complaints)
196 (test_serial_complaints, test_short_complaints): Use
197 gdb_test_stdio.
198 (test_empty_complaint): Handle $inferior_spawn_id !=
199 $gdb_spawn_id.
200
201 2015-07-29 Pedro Alves <palves@redhat.com>
202
203 * gdb.base/varargs.exp: Use gdb_test_stdio.
204
205 2015-07-29 Pedro Alves <palves@redhat.com>
206
207 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
208
209 2015-07-29 Pedro Alves <palves@redhat.com>
210
211 * gdb.base/ending-run.exp: Use gdb_test_stdio.
212
213 2015-07-29 Pedro Alves <palves@redhat.com>
214
215 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
216 parameter into two new parameters, "inf_result" and "gdb_result".
217 Expect inferior output and gdb output from $inferior_spawn_id and
218 $gdb_spawn_id, respectively. Adjust all callers.
219
220 2015-07-29 Pedro Alves <palves@redhat.com>
221
222 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
223 of gdb_test_sequence.
224
225 2015-07-29 Pedro Alves <palves@redhat.com>
226
227 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
228 (saw_spurious_output): Expect inferior output from
229 $inferior_spawn_id. Use gdb_test_stdio.
230
231 2015-07-29 Pedro Alves <palves@redhat.com>
232
233 * gdb.base/dprintf.exp: Use standard_testfile. Change
234 prepare_for_testing call.
235 (srcfile): Don't set.
236 (restart): New procedure.
237 (test_dprintf): New procecure, use to continue over dprintfs.
238 (test_call, test_agent): New procedures, tests moved here.
239 Restart gdb and recreate dprintfs. Adjust expected output.
240
241 2015-07-29 Pedro Alves <palves@redhat.com>
242
243 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
244
245 2015-07-29 Pedro Alves <palves@redhat.com>
246
247 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
248
249 2015-07-29 Pedro Alves <palves@redhat.com>
250
251 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
252 gdb_test_stdio.
253
254 2015-07-29 Pedro Alves <palves@redhat.com>
255
256 * lib/gdb.exp (gdb_test_stdio): New procedure.
257
258 2015-07-29 Pedro Alves <palves@redhat.com>
259
260 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
261
262 2015-07-29 Pedro Alves <palves@redhat.com>
263
264 * gdb.base/call-signal-resume.exp: Remove check for
265 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
266 * gdb.base/unwindonsignal.exp: Likewise.
267 * gdb.base/call-signals.c (gen_signal): Remove printf call.
268 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
269
270 2015-07-29 Pedro Alves <palves@redhat.com>
271
272 * gdb.base/siginfo-addr.c (pass): New function.
273 (handler): Call it iff si_addr is correct.
274 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
275 Set a breakpoint at "pass" and continue to it.
276
277 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
278
279 * gdb.python/py-objfile.exp: Make some tests have unique names.
280 * gdb.python/py-pp-registration.exp: Likewise.
281
282 2015-07-28 Pedro Alves <palves@redhat.com>
283
284 * gdb.server/server-exec-info.exp: Issue a "disconnect".
285
286 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
287
288 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
289
290 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
291
292 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
293
294 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
295
296 * gdb.base/gdb-sigterm-2.exp: New test.
297
298 2015-07-25 Doug Evans <xdje42@gmail.com>
299
300 Revert:
301 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
302 (workers/%.worker, build-perf): New rule.
303 (GDB_PERFTEST_MODE): New variable.
304 (check-perf): Use it.
305 (clean): Clean up gdb.perf parallel build subdirs.
306 * lib/build-piece.exp: New file.
307 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
308 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
309 name.
310 (standard_temp_file): Ditto.
311 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
312 of $GDB_PARALLEL.
313
314 2015-07-24 Doug Evans <dje@google.com>
315
316 * gdb.perf/README: New file.
317 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
318 * lib/gen-perf-test.exp: New file.
319
320 2015-07-24 Doug Evans <dje@google.com>
321
322 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
323 (PerfTest::startup): New function.
324 (PerfTest::run): Return result of calling body.
325 (PerfTest::assemble): Rewrite.
326 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
327 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
328 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
329 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
330 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
331
332 2015-07-24 Doug Evans <dje@google.com>
333
334 * lib/gdb.exp (clean_restart): Make executable optional.
335
336 2015-07-24 Doug Evans <dje@google.com>
337
338 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
339 compiler_info references.
340 * gdb.cp/temargs.exp: Ditto.
341 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
342 (get_compiler_info): Early exit if already computed. Set compiler_info
343 to "unknown" if there was a problem.
344 (test_compiler_info): Add function comment. Call get_compiler_info.
345
346 2015-07-24 Doug Evans <dje@google.com>
347
348 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
349 (workers/%.worker, build-perf): New rule.
350 (GDB_PERFTEST_MODE): New variable.
351 (check-perf): Use it.
352 (clean): Clean up gdb.perf parallel build subdirs.
353 * lib/build-piece.exp: New file.
354 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
355 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
356 name.
357 (standard_temp_file): Ditto.
358 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
359 of $GDB_PARALLEL.
360
361 2015-07-24 Doug Evans <dje@google.com>
362
363 * lib/future.exp (gdb_default_target_compile): New option
364 "early_flags".
365 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
366 --as-needed.
367
368 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
369
370 * gdb.base/catch-syscall.exp: Call gdb_exit before
371 gdb_skip_xml_test.
372
373 2015-07-24 Pedro Alves <palves@redhat.com>
374
375 * gdb.python/py-events.exp: Accept output between the stop event
376 and the prompt.
377 * gdb.python/py-evsignal.exp: Likewise.
378 * gdb.python/py-evthreads.exp: Likewise.
379
380 2015-07-24 Pedro Alves <palves@redhat.com>
381
382 PR gdb/18717
383 * gdb.threads/non-ldr-exit.c: New file.
384 * gdb.threads/non-ldr-exit.exp: New file.
385
386 2015-07-24 Yao Qi <yao.qi@linaro.org>
387
388 * gdb.server/ext-wrapper.exp: Test --wrapper option when
389 restarting process.
390
391 2015-07-24 Yao Qi <yao.qi@linaro.org>
392
393 * gdb.server/ext-restart.exp: New file.
394
395 2015-07-24 Yao Qi <yao.qi@linaro.org>
396
397 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
398 argument options.
399 * gdb.server/ext-wrapper.exp: New file.
400
401 2015-07-23 Doug Evans <dje@google.com>
402
403 * gdb.dwarf2/dw2-dummy-cu.S: New file.
404 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
405
406 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
407
408 * gdb.ada/var_arr_typedef.exp: New testcase.
409 * gdb.ada/var_arr_typedef/pack.adb: New file.
410 * gdb.ada/var_arr_typedef/pack.ads: New file.
411 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
412
413 2015-07-20 Joel Brobecker <brobecker@adacore.com>
414
415 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
416
417 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
418
419 * gdb.arch/i386-biarch-core.exp: Replace istarget
420 by "complete set gnutarget". Remove expectation for the "core-file"
421 command.
422
423 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
424
425 Revert the previous commit:
426 Tests for validate symbol file using build-id.
427
428 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
429
430 Tests for validate symbol file using build-id.
431 * gdb.base/solib-mismatch-lib.c: New file.
432 * gdb.base/solib-mismatch-libmod.c: New file.
433 * gdb.base/solib-mismatch.c: New file.
434 * gdb.base/solib-mismatch.exp: New file.
435
436 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
437
438 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
439 nios2-*-linux*.
440 * gdb.base/sigbpt.exp (stepi_out): Likewise.
441 * gdb.base/siginfo.exp: Likewise.
442 * gdb.base/sigstep.exp (advance, advancei): Likewise.
443
444 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
445
446 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
447 Move it to ...
448 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
449 ... here.
450 * gdb.trace/range-stepping.exp: Check that the target supports
451 range stepping.
452
453 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
454
455 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
456
457 2015-07-14 Pedro Alves <palves@redhat.com>
458
459 * gdb.base/killed-outside.exp: New file.
460 * gdb.base/killed-outside.c: New file.
461
462 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
463
464 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
465 (n at main): New.
466 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
467
468 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
469
470 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
471 infcall tests instead of setting up for KFAIL.
472
473 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
474
475 * gdb.btrace/record_goto-step.exp: New.
476
477 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
478
479 PR compile/18484
480 * gdb.compile/compile.c (struct struct_type): Add volatile to
481 selffield's type.
482 * gdb.compile/compile.exp
483 (compile code struct_object.selffield = &struct_object): Skip further
484 struct_object tests if this one xfails.
485
486 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
487
488 PR exp/18617
489 * gdb.trace/ax.exp: Add test.
490
491 2015-07-07 Yao Qi <yao.qi@linaro.org>
492
493 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
494 instead of istarget "aarch64*-*-*".
495 * gdb.arch/aarch64-fp.exp: Likewise.
496 * gdb.base/float.exp: Likewise.
497 * gdb.reverse/aarch64.exp: Likewise.
498 * lib/gdb.exp (is_aarch64_target): New proc.
499
500 2015-07-07 Yao Qi <yao.qi@linaro.org>
501
502 * lib/gdb.exp (is_aarch32_target): New proc.
503 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
504 instead of "istarget "arm*-*-*"".
505 * gdb.arch/arm-disp-step.exp: Likewise.
506 * gdb.arch/thumb-bx-pc.exp: Likewise.
507 * gdb.arch/thumb-prologue.exp: Likewise.
508 * gdb.arch/thumb-singlestep.exp: Likewise.
509 * gdb.base/disp-step-syscall.exp: Likewise.
510 * gdb.base/float.exp: Likewise.
511
512 2015-07-07 Yao Qi <yao.qi@linaro.org>
513
514 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
515 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
516
517 2015-07-07 Yao Qi <yao.qi@linaro.org>
518
519 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
520 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
521 if it exists.
522 * gdb.multi/multi-arch.exp: Likewise.
523
524 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
525
526 * gdb.python/py-lazy-string.exp: Add missing parentheses to
527 print.
528
529 2015-07-07 Yao Qi <yao.qi@linaro.org>
530
531 * gdb.arch/thumb-singlestep.exp: Do one more single step.
532
533 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
534
535 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
536 '[' and ']' characters.
537
538 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
539
540 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
541
542 2015-06-29 Pedro Alves <palves@redhat.com>
543
544 PR threads/18127
545 * gdb.threads/hand-call-new-thread.c: New file.
546 * gdb.threads/hand-call-new-thread.c: New file.
547
548 2015-06-26 Keith Seitz <keiths@redhat.com>
549 Doug Evans <dje@google.com>
550
551 PR 16253
552 * gdb.cp/var-tag-2.cc: New file.
553 * gdb.cp/var-tag-3.cc: New file.
554 * gdb.cp/var-tag-4.cc: New file.
555 * gdb.cp/var-tag.cc: New file.
556 * gdb.cp/var-tag.exp: New file.
557
558 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
559
560 * gdb.base/history-duplicates.exp: New test.
561
562 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
563
564 * gdb.base/completion.exp: Test the completion of the "focus"
565 command.
566
567 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
568
569 * gdb.arch/amd64-prologue-skip.S: New file.
570 * gdb.arch/amd64-prologue-skip.exp: New file.
571
572 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
573
574 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
575 is_address_zero_readable check.
576
577 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
578
579 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
580 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
581
582 2015-06-24 Yao Qi <yao.qi@linaro.org>
583
584 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
585 linux targets.
586
587 2015-06-24 Yao Qi <yao.qi@linaro.org>
588
589 * lib/gdb.exp (supports_get_siginfo_type): New proc.
590 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
591 * gdb.base/siginfo-thread.exp: Likewise.
592
593 2015-06-22 Yao Qi <yao.qi@linaro.org>
594
595 * boards/remote-gdbserver-on-localhost.exp: Add comments.
596
597 2015-06-22 Yao Qi <yao.qi@linaro.org>
598
599 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
600 aarch64*-*-*.
601 (skip_hw_watchpoint_tests): Likewise.
602
603 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
604
605 * gdb.base/gdbinit-history.exp: Test the interaction between
606 setting GDBHISTSIZE and setting the history size via .gdbinit.
607
608 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
609
610 PR gdb/16999
611 * gdb.base/gdbhistsize-history.exp: New test.
612
613 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
614
615 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
616 with GDBHISTSIZE.
617 * gdb.base/readline.exp: Likewise.
618
619 2015-06-17 Yao Qi <yao.qi@linaro.org>
620
621 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
622 line.
623
624 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
625
626 * gdb.base/gdbinit-history.exp: Add test case to check that
627 an unlimited history file does not get truncated on exit.
628
629 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
630
631 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
632 (VECTOR): New macro. Use it...
633 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
634 ...for these typedefs.
635 (int8, char1, int1, double1): New typedefs.
636 (struct just_int2, struct two_int2): New structures.
637 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
638 (add_structvecs, add_singlevecs): New functions.
639 (main): Call add_some_intvecs twice.
640 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
641 the compile and exit upon failure. Try compiling for the "native"
642 architecture. Test inferior function calls with vector arguments
643 and vector return value handling with "finish" and "return".
644
645 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
646
647 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
648 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
649 PE file.
650 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
651
652 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
653
654 PR breakpoints/16465
655 * gdb.mi/mi-dprintf-pending.c: New file.
656 * gdb.mi/mi-dprintf-pending.exp: New test.
657 * gdb.mi/mi-dprintf-pendshr.c: New file.
658
659 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
660 Mircea Gherzan <mircea.gherzan@intel.com>
661
662 * gdb.arch/i386-mpx-map.c: New file.
663 * gdb.arch/i386-mpx-map.exp: New File.
664
665 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
666
667 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
668 * gdb.arch/i386-mpx.exp: Indentation fixed.
669
670 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
671
672 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
673 function and improved indentation.
674 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
675 gdb_test_multiple. Added additional tests to skip the test.
676
677 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
678
679 * gdb.arch/i386-avx512.c: Change path in include file.
680 * gdb.arch/i386-avx512.exp: Change include dir path
681 compilation flag.
682 * gdb.arch/i386-mpx.c: Change path in include file.
683 * gdb.arch/i386-mpx.exp: Change include dir path compilation
684 flag.
685
686 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
687
688 * gdb.compile/compile-print.exp (compile print *vararray@3)
689 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
690
691 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
692
693 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
694 (do not keep jit in memory): ... this.
695 (expect 5): Change it to ...
696 (expect no 5): ... this.
697
698 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
699
700 PR gdb/15564
701 * gdb.mi/mi-detach.exp: New file.
702
703 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
704
705 PR symtab/18392
706 * gdb.arch/amd64-tailcall-self.S: New file.
707 * gdb.arch/amd64-tailcall-self.c: New file.
708 * gdb.arch/amd64-tailcall-self.exp: New file.
709
710 2015-05-28 Don Breazeal <donb@codesourcery.com>
711
712 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
713 tests for remote targets by checking is_target_gdbserver.
714
715 2015-05-27 Doug Evans <dje@google.com>
716
717 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
718 * gdb.dwarf2/opaque-type-lookup.c: New file.
719 * gdb.dwarf2/opaque-type-lookup.exp: New file.
720
721 2015-05-26 Doug Evans <dje@google.com>
722
723 * gdb.cp/iostream.cc: New file.
724 * gdb.cp/iostream.exp: New file.
725
726 2015-05-26 Doug Evans <dje@google.com>
727
728 * gdb.dwarf2/dw2-op-call.exp: Update.
729 * gdb.dwarf2/dw4-sig-types.exp: Update.
730 * gdb.dwarf2/implptr.exp: Update.
731 * gdb.mi/mi-cmd-param-changed.exp: Update.
732
733 2015-05-26 Doug Evans <dje@google.com>
734
735 * gdb.python/py-lazy-string.c: New file.
736 * gdb.python/py-lazy-string.exp: New file.
737 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
738 (main): Update. Add estring3.
739 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
740 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
741
742 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
743 Yao Qi <yao.qi@linaro.org>
744
745 * gdb.reverse/aarch64.c: New.
746 * gdb.reverse/aarch64.exp: New.
747
748 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
749
750 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
751 (supports_reverse): Likewise.
752
753 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
754
755 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
756 Use with_test_prefix.
757
758 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
759
760 * gdb.base/completion.exp: Add test for completion of layout
761 names.
762
763 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
764
765 * lib/gdb.exp (skip_tui_tests): New proc.
766 * gdb.base/tui-layout.exp: Check skip_tui_tests.
767
768 2015-05-19 Pedro Alves <palves@redhat.com>
769
770 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
771 Save the whole env array instead of just HOME. Unset HISTSIZE in
772 the environment while testing. Restore whole environment
773 afterwards.
774
775 2015-05-16 Doug Evans <xdje42@gmail.com>
776
777 * gdb.guile/scm-ports.c: New file.
778 * gdb.guile/scm-ports.exp: Add memory port tests.
779
780 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
781
782 * gdb.compile/compile-print.c: New file.
783 * gdb.compile/compile-print.exp: New file.
784
785 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
786
787 * gdb.compile/compile-ops.exp: Cast param to void.
788 * gdb.compile/compile.exp: Complete type for _gdb_expr.
789 (compile code struct_object.selffield = &struct_object): Add xfail.
790
791 2015-05-15 Joel Brobecker <brobecker@adacore.com>
792
793 * gdb.ada/arr_enum_with_gap: New testcase.
794
795 2015-05-15 Joel Brobecker <brobecker@adacore.com>
796
797 * gdb.ada/byte_packed_arr: New testcase.
798
799 2015-05-15 Joel Brobecker <brobecker@adacore.com>
800
801 * gdb.ada/pckd_neg: New testcase.
802
803 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
804
805 PR gdb/17820
806 * gdb.base/gdbinit-history.exp: New test.
807 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
808 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
809
810 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
811
812 * gdb.python/py-xmethods.cc: Enhance test case.
813 * gdb.python/py-xmethods.exp: New tests.
814 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
815 function.
816 (B_indexoper): Likewise.
817 (global_dm_list) : Add new xmethod worker functions.
818
819 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
820
821 * gdb.base/coredump-filter.exp: Correctly unset
822 "coredump_var_addr" array.
823
824 2015-05-08 Pedro Alves <palves@redhat.com>
825
826 * gdb.server/non-existing-program.exp: Unset spawn_id.
827
828 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
829
830 PR python/18291
831 * gdb.python/py-xmethods.exp: Add tests.
832
833 2015-05-08 Yao Qi <yao.qi@linaro.org>
834
835 PR gdb/18208
836 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
837 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
838 function set_coredump_filter, and remove remote_exec call.
839 Remove argument ipid. Callers update.
840 (top level): Don't get inferior's PID.
841
842 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
843
844 * gdb.base/watch_thread_num.exp: Skip test on targets without
845 access watchpoints.
846
847 2015-05-06 Pedro Alves <palves@redhat.com>
848
849 PR server/18081
850 * gdb.server/non-existing-program.exp: New file.
851
852 2015-05-05 Joel Brobecker <brobecker@adacore.com>
853
854 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
855
856 2015-05-05 Joel Brobecker <brobecker@adacore.com>
857
858 * gdb.ada/out_of_line_in_inlined: New testcase.
859
860 2015-05-05 Joel Brobecker <brobecker@adacore.com>
861
862 * gdb.ada/var_rec_arr: New testcase.
863
864 2015-04-30 Yao Qi <yao.qi@linaro.org>
865
866 * gdb.base/break-idempotent.exp: If
867 skip_hw_watchpoint_multi_tests returns true, skip the tests
868 on "rwatch" and "awatch".
869
870 2015-04-30 Yao Qi <yao.qi@linaro.org>
871
872 * gdb.base/relativedebug.exp: Invoke gdb command
873 "info sharedlibrary", and if libc.so doesn't have debug info,
874 skip the test.
875
876 2015-04-29 Doug Evans <dje@google.com>
877
878 * gdb.python/py-xmethods.exp: Add ptype tests.
879 * gdb.python/py-xmethods.py (E_method_char_worker): Add
880 get_result_type method.
881
882 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
883
884 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
885 the target does not support hardware watchpoints.
886
887 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
888
889 * gdb.base/break-always.exp: Abort testing if writing to memory
890 causes an error.
891
892 2015-04-28 Doug Evans <dje@google.com>
893
894 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
895 * gdb.python/py-pp-registration.exp: ... here. New file.
896 * gdb.python/py-pp-registration.c: New file.
897 * gdb.python/py-pp-registration.py: New file.
898
899 2015-04-28 Doug Evans <dje@google.com>
900
901 * gdb.python/py-bad-printers.c: New file.
902 * gdb.python/py-bad-printers.py: New file.
903 * gdb.python/py-bad-printers.exp: New file.
904
905 2015-04-28 Sasha Smundak <asmundak@google.com>
906
907 * gdb.python/py-type.exp: New test.
908
909 2015-04-28 Andy Wingo <wingo@igalia.com>
910
911 * gdb.python/py-parameter.exp:
912 * gdb.guile/scm-parameter.exp: Escape the path that we are
913 matching against, as it might contain characters that are special
914 to regular expressions.
915
916 2015-04-27 Joel Brobecker <brobecker@adacore.com>
917
918 * gdb.ada/rec_comp: New testcase.
919
920 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
921
922 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
923 before using it.
924
925 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
926
927 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
928 new tests for verilog output.
929
930 2015-04-24 Yao Qi <yao.qi@linaro.org>
931
932 * boards/remote-gdbserver-on-localhost.exp: New file.
933
934 2015-04-23 Pedro Alves <palves@redhat.com>
935
936 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
937 $inferior_spawn_id instead of $inferior_spawn_id directly. On
938 "end of file", remove $inferior_spawn_id from the indirect list.
939
940 2015-04-23 Pedro Alves <palves@redhat.com>
941
942 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
943
944 2015-04-23 Pedro Alves <palves@redhat.com>
945
946 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
947 on $any_spawn_id instead of only on $gdb_spawn_id.
948
949 2015-04-21 Pierre Muller <muller@sourceware.org>
950
951 PR pascal/17815
952 * lib/pascal.exp (gpc_compile): Add new option "class".
953 (fpc_compile): Likewise.
954 * gdb.pascal/case-insensitive-symbols.pas: New file.
955 * gdb.pascal/case-insensitive-symbols.exp: New file.
956
957 2015-04-20 Gary Benson <gbenson@redhat.com>
958
959 * gdb.base/attach.exp: Fix three extended remote failures.
960
961 2015-04-17 Gary Benson <gbenson@redhat.com>
962
963 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
964 the main executable over the remote protocol.
965
966 2015-04-16 Pedro Alves <palves@redhat.com>
967
968 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
969 a new gdbserver if gdbserver_reconnect_p is set.
970
971 2015-04-16 Pedro Alves <palves@redhat.com>
972
973 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
974 is set, don't exit gdbserver.
975
976 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
977
978 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
979 appropriate .insn, such that an older assembler can be used.
980 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
981 the z/Architecture instruction set on 31-bit targets as well.
982
983 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
984
985 * gdb.go/handcall.exp: Remove all logic related to the first
986 breakpoint and rely on go_runto_main instead.
987 * gdb.go/strings.exp: Likewise.
988 * gdb.go/unsafe.exp: Likewise.
989 * gdb.go/hello.exp: Likewise. Also rename the remaining
990 breakpoint marker to "breakpoint 1".
991 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
992 * gdb.go/strings.go: Likewise.
993 * gdb.go/unsafe.go: Likewise.
994 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
995 "set breakpoint 2 here" and rename the remaining breakpoint marker
996 to "breakpoint 1".
997
998 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
999
1000 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1001 if itertools.imap is not present.
1002 * gdb.python/py-objfile.exp: Add parentheses.
1003 * gdb.python/py-type.exp: Same.
1004 * gdb.python/py-unwind-maint.py: Same.
1005
1006 2015-04-15 Yao Qi <yao.qi@linaro.org>
1007
1008 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1009 of ":$ptr_size" and set its form explicitly.
1010
1011 2015-04-15 Pedro Alves <palves@redhat.com>
1012 Yao Qi <yao.qi@linaro.org>
1013
1014 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1015 timeout by factor of 4.
1016 (test_regular_watch): Likewise.
1017 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1018 * gdb.reverse/sigall-reverse.exp: Likewise.
1019 * gdb.reverse/until-precsave.exp: Likewise.
1020 * lib/gdb.exp (with_timeout_factor): New proc.
1021 (gdb_expect): Move some code to ...
1022 (get_largest_timeout): ... here. New procedure.
1023
1024 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
1025
1026 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1027
1028 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1029
1030 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1031 to write to the .text section.
1032
1033 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
1034
1035 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1036 Handle the case of targets that do not provide PID information.
1037
1038 2015-04-13 Yao Qi <yao.qi@linaro.org>
1039
1040 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1041 and use expect instead of gdb_expect.
1042
1043 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1044
1045 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1046 "coredump_var_addr" to avoid naming conflict with other testcases.
1047
1048 2015-04-10 Pedro Alves <palves@redhat.com>
1049
1050 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1051 gdb_test_sequence and gdb_assert.
1052
1053 2015-04-10 Pedro Alves <palves@redhat.com>
1054
1055 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1056 test messages that don't include the breakpoint address.
1057
1058 2015-04-10 Yao Qi <yao.qi@linaro.org>
1059
1060 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1061 false for some offset and width combinations which aren't
1062 supported by linux kernel.
1063
1064 2015-04-10 Pedro Alves <palves@redhat.com>
1065
1066 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1067 procedure, factored out from ...
1068 (top level): ... here. Add "set displaced-stepping" testing axis.
1069 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1070 parameter "displaced". Use it.
1071 (top level): Use foreach and add "set displaced-stepping" testing
1072 axis.
1073
1074 2015-04-10 Pedro Alves <palves@redhat.com>
1075
1076 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1077 Remove comment.
1078 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1079 both the address of the instruction that triggers the watchpoint
1080 and the address of the instruction immediately after, and use
1081 those addresses for the test. Fix comment.
1082
1083 2015-04-10 Pedro Alves <palves@redhat.com>
1084
1085 * gdb.base/sigstep.exp (breakpoint_to_handler)
1086 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1087 Test "backtrace" in handler.
1088 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1089 (top level): Add new "displaced" test axis to
1090 breakpoint_to_handler, breakpoint_to_handler_entry and
1091 breakpoint_over_handler.
1092
1093 2015-04-10 Pedro Alves <palves@redhat.com>
1094
1095 PR gdb/18216
1096 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1097
1098 2015-04-10 Yao Qi <yao.qi@linaro.org>
1099
1100 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1101 (test_add_rn_pc): New function.
1102 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1103 (top level): Invoke test_add_rn_pc.
1104
1105 2015-04-10 Pedro Alves <palves@redhat.com>
1106
1107 PR gdb/13858
1108 * gdb.base/step-over-no-symbols.exp: New file.
1109
1110 2015-04-09 Andy Wingo <wingo@igalia.com>
1111
1112 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1113 after the Python tests.
1114
1115 2015-04-08 Keith Seitz <keiths@redhat.com>
1116
1117 PR python/16699
1118 * gdb.python/py-completion.exp: New tests for completion.
1119 * gdb.python/py-completion.py (CompleteLimit1): New class.
1120 (CompleteLimit2): Likewise.
1121 (CompleteLimit3): Likewise.
1122 (CompleteLimit4): Likewise.
1123 (CompleteLimit5): Likewise.
1124 (CompleteLimit6): Likewise.
1125 (CompleteLimit7): Likewise.
1126
1127 2015-04-08 Pedro Alves <palves@redhat.com>
1128
1129 PR gdb/18214
1130 PR gdb/18216
1131 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1132 function.
1133 (main): Install it as SIGUSR1 handler.
1134 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1135 parameter. Always use "setup" as prefix. Toggle "set
1136 displaced-stepping" off/on depending on global. Don't switch to
1137 thread 1 here.
1138 (top level): Add displaced stepping "off/on" test axis. Update
1139 "setup" calls. Wrap each subtest with with_test_prefix. Test
1140 continuing with a queued signal in each thread.
1141
1142 2015-04-08 Pedro Alves <palves@redhat.com>
1143
1144 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1145 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1146 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1147 Return early if running to main fails.
1148 * gdb.trace/while-stepping.exp: Likewise.
1149
1150 2015-04-07 Pedro Alves <palves@redhat.com>
1151
1152 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1153 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1154 interact with inferior program.
1155
1156 2015-04-07 Pedro Alves <palves@redhat.com>
1157
1158 * lib/gdb.exp (inferior_spawn_id): New global.
1159 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1160 spawn id after processing the user code.
1161 (default_gdb_start): Set inferior_spawn_id.
1162 (send_inferior): New procedure.
1163 * lib/gdbserver-support.exp (gdbserver_start): Set
1164 inferior_spawn_id.
1165 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1166
1167 2015-04-07 Pedro Alves <palves@redhat.com>
1168
1169 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1170 * lib/gdbserver-support.exp (gdbserver_start): Make
1171 $server_spawn_id global.
1172 (gdbserver_start): Don't wait for gdbserver's spawn id with
1173 expect_background.
1174 (close_gdbserver): New procedure.
1175 (gdb_exit): Rename the default version and reimplement.
1176
1177 2015-04-07 Pedro Alves <palves@redhat.com>
1178
1179 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
1180 append the substituted item, not the original item.
1181
1182 2015-04-07 Pedro Alves <palves@redhat.com>
1183
1184 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1185 gdb_expect.
1186
1187 2015-04-07 Pedro Alves <palves@redhat.com>
1188
1189 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1190 output appearing once only.
1191
1192 2015-04-07 Pedro Alves <palves@redhat.com>
1193
1194 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1195 that doesn't expect anything. Return early if running to main
1196 fails.
1197
1198 2015-04-07 Yao Qi <yao.qi@linaro.org>
1199
1200 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1201 (child_function): Call alarm.
1202 (main): Move call to alarm into the loop.
1203 * gdb.threads/non-stop-fair-events.exp: Build program with
1204 -DTIMEOUT=$timeout.
1205
1206 2015-04-06 Doug Evans <xdje42@gmail.com>
1207
1208 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1209 Fix dest parameter to board_info.
1210 (fpc_compile): Ditto.
1211 (gdb_compile_pascal): Rename dest arg to destfile.
1212
1213 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1214
1215 * gdb.ada/funcall_ref.exp: New file.
1216 * gdb.ada/funcall_ref/foo.adb: New file.
1217
1218 2015-04-02 Yao Qi <yao.qi@linaro.org>
1219
1220 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1221 is remote.
1222
1223 2015-04-02 Gary Benson <gbenson@redhat.com>
1224
1225 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1226
1227 2015-04-01 Sasha Smundak <asmundak@google.com>
1228
1229 * gdb.python/py-unwind-maint.c: New file.
1230 * gdb.python/py-unwind-maint.exp: New test.
1231 * gdb.python/py-unwind-maint.py: New file.
1232 * gdb.python/py-unwind.c: New file.
1233 * gdb.python/py-unwind.exp: New test.
1234 * gdb.python/py-unwind.py: New test.
1235
1236 2015-04-01 Pedro Alves <palves@redhat.com>
1237
1238 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1239 to fail instead of non-existent $test.
1240
1241 2015-04-01 Pedro Alves <palves@redhat.com>
1242
1243 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1244 GDBFLAGS if not empty.
1245
1246 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1247
1248 * gdb.ada/complete.exp: Remove "multi_line".
1249 * gdb.ada/info_exc.exp: Remove "multi_line".
1250 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1251 * gdb.ada/ptype_field.exp: Remove "multi_line".
1252 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1253 * gdb.ada/tagged.exp: Remove "multi_line".
1254 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1255 [multi_line ...]
1256 * gdb.btrace/delta.exp: Likewise.
1257 * gdb.btrace/exception.exp: Likewise.
1258 * gdb.btrace/function_call_history.exp: Likewise.
1259 * gdb.btrace/instruction_history.exp: Likewise.
1260 * gdb.btrace/nohist.exp: Likewise.
1261 * gdb.btrace/record_goto.exp: Likewise.
1262 * gdb.btrace/segv.exp: Likewise.
1263 * gdb.btrace/stepi.exp: Likewise.
1264 * gdb.btrace/tailcall.exp: Likewise.
1265 * gdb.btrace/unknown_functions.exp: Likewise.
1266 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1267 * lib/gdb.exp: Add the "multi_line" helper.
1268
1269 2015-04-01 Pedro Alves <palves@redhat.com>
1270
1271 * gdb.threads/tid-reuse.c: New file.
1272 * gdb.threads/tid-reuse.exp: New file.
1273
1274 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1275
1276 PR corefiles/16092
1277 * gdb.base/coredump-filter.c: New file.
1278 * gdb.base/coredump-filter.exp: Likewise.
1279
1280 2015-03-27 Petr Machata <pmachata@redhat.com>
1281
1282 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1283 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1284 (Dwarf::assemble): Initialize them.
1285 (Dwarf::lines): New function.
1286
1287 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1288
1289 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1290 SYMBOL_PREFIX for x86_64-*-cygwin.
1291
1292 2015-03-26 Andy Wingo <wingo@igalia.com>
1293
1294 PR symtab/18148
1295 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1296 const_value but not a location.
1297 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1298 location defined in non-main CUs are visible.
1299
1300 2015-03-26 Yao Qi <yao.qi@linaro.org>
1301
1302 PR testsuite/18139
1303 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1304 Add a line number entry for the same line.
1305 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1306 Add a line number entry for the same line.
1307
1308 2015-03-26 Yao Qi <yao.qi@linaro.org>
1309
1310 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1311 .int 0.
1312 (func): Likewise. Add .Lfunc_1 label.
1313 Use .Lfunc_1 label.
1314 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1315 .int 0.
1316 (func): Likewise.
1317 Use .Lfunc_1 label.
1318
1319 2015-03-26 Yao Qi <yao.qi@linaro.org>
1320
1321 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1322 Call gdb_compile instead to compile each .s files without debug
1323 information.
1324
1325 2015-03-26 Yao Qi <yao.qi@linaro.org>
1326
1327 * gdb.base/savedregs.exp (process_saved_regs): Make
1328 "Saved registers:" optional in the pattern.
1329
1330 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1331
1332 * gdb.btrace/next.exp: Merged into step.exp.
1333 * gdb.btrace/finish.exp: Merged into step.exp.
1334 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1335 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1336 "record goto" and checking the exact replay position.
1337 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1338 check for "Recording format" in "info record" output.
1339 * gdb.btrace/record_goto.exp: Choose test file based on target.
1340 * gdb.btrace/x86-record_goto.S: Renamed into ...
1341 * gdb.btrace/x86_64-record_goto.S: ... this.
1342 * gdb.btrace/i686-record_goto.S: New.
1343 * gdb.btrace/x86-tailcall.S: Renamed into ...
1344 * gdb.btrace/x86_64-tailcall.S: ... this.
1345 * gdb.btrace/i686-tailcall.S: New.
1346 * gdb.btrace/x86-tailcall.c: Renamed into ...
1347 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1348 separate statements. Update test.
1349 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1350 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1351 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1352 * gdb.btrace/tailcall.exp: Choose test file based on target.
1353 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1354
1355 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1356
1357 * gdb.btrace/exception.exp: Increase BTS buffer size.
1358
1359 2015-03-24 Pedro Alves <palves@redhat.com>
1360
1361 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1362
1363 2015-03-24 Pedro Alves <palves@redhat.com>
1364
1365 * gdb.threads/schedlock.exp (test_step): No longer expect that
1366 "set scheduler-locking step" with "next" over a function call runs
1367 threads unlocked.
1368
1369 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1370
1371 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1372
1373 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1374
1375 PR breakpoints/16466
1376 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1377 * gdb.mi/mi-pending.c (thread_func): New function.
1378 (int main): Add threading support required.
1379 * gdb.mi/mi-pending.exp: Add tests for this issue.
1380 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1381 (pendfunc2): Remove stdio dependency.
1382 * gdb.mi/mi-pendshr2.c: New file.
1383
1384 2015-03-23 Keith Seitz <keiths@redhat.com>
1385
1386 * gdb.linespec/keywords.c: New file.
1387 * gdb.linespec/keywords.exp: New file.
1388
1389 2015-03-23 Keith Seitz <keiths@redhat.com>
1390
1391 PR gdb/18021
1392 * gdb.dwarf2/staticvirtual.exp: New test.
1393
1394 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1395
1396 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1397 * README: Remove HP-UX and gdb.hp.
1398 (configuration):
1399 * configure: Regenerate.
1400 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1401 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1402 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1403 gdb.hp/gdb.defects/Makefile.
1404 * gdb.hp/Makefile.in: File deleted.
1405 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1406 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1407 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1408 * gdb.hp/gdb.aCC/run.c: File deleted.
1409 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1410 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1411 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1412 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1413 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1414 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1415 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1416 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1417 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1418 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1419 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1420 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1421 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1422 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1423 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1424 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1425 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1426 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1427 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1428 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1429 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1430 * gdb.hp/gdb.compat/average.c: File deleted.
1431 * gdb.hp/gdb.compat/sum.c: File deleted.
1432 * gdb.hp/gdb.compat/xdb.c: File deleted.
1433 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1434 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1435 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1436 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1437 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1438 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1439 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1440 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1441 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1442 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1443 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1444 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1445 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1446 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1447 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1448 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1449 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1450 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1451 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1452 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1453 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1454 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1455 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1456 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1457 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1458 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1459 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1460 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1461 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1462 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1463 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1464 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1465 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1466 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1467 * gdb.hp/tools/odump: File deleted.
1468
1469 2015-03-19 Pedro Alves <palves@redhat.com>
1470
1471 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1472 (saw_thread_3): New globals.
1473 (top level): Increment them when an event for the corresponding
1474 thread is seen.
1475 (no thread starvation): New test.
1476
1477 2015-03-19 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.threads/continue-pending-status.c: New file.
1480 * gdb.threads/continue-pending-status.exp: New file.
1481
1482 2015-03-18 Pedro Alves <palves@redhat.com>
1483
1484 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1485 Use gdb_is_target_remote instead of is_remote. Use
1486 gdb_test_multiple instead of gdb_expect. Exit early if
1487 gdb_test_multiple hits its internal matches. Tighten stepi tests
1488 expected output. Fail on exit with any signal, instead of just
1489 SIGILL.
1490
1491 2015-03-18 Yao Qi <yao.qi@linaro.org>
1492
1493 PR tdep/18107
1494 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1495 variable.
1496 * gdb.base/catch-syscall.exp: Don't skip it on
1497 aarch64*-*-linux* target. Remove elements in all_syscalls.
1498 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1499 target.
1500 (setup_all_syscalls): New proc.
1501
1502 2015-03-16 Yao Qi <yao.qi@linaro.org>
1503
1504 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1505 (top level): Skip tests if valid_addr_p returns false for
1506 $cmd1 or $cmd2.
1507
1508 2015-03-11 Andy Wingo <wingo@igalia.com>
1509
1510 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1511
1512 2015-03-11 Yao Qi <yao.qi@linaro.org>
1513
1514 * gdb.base/catch-syscall.exp: Fix typo in comments.
1515
1516 2015-03-11 Yao Qi <yao.qi@linaro.org>
1517
1518 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1519
1520 2015-03-09 Pedro Alves <palves@redhat.com>
1521
1522 * dg-extract-results.py: Delete.
1523
1524 2015-03-09 Pedro Alves <palves@redhat.com>
1525
1526 Merge dg-extract-results.sh from GCC upstream (r218843).
1527
1528 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1529 * dg-extract-results.sh: Use --text with grep to avoid issues with
1530 binary files. Fall back to cat -v, if that doesn't work.
1531
1532 2015-03-05 Pedro Alves <palves@redhat.com>
1533
1534 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1535
1536 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1537
1538 * lib/mi-support.exp (mi_expect_interrupt): Accept
1539 alternative event for when in all-stop mode.
1540
1541 2015-03-04 Pedro Alves <palves@redhat.com>
1542
1543 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1544
1545 2015-03-04 Mark Kettenis <kettenis@gnu.org>
1546
1547 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1548
1549 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1550
1551 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1552 regexps for GDB's current line display, accept a hex address
1553 preceding the line number.
1554
1555 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1556
1557 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1558 the 'arch1' variable for "s390*-linux*" targets.
1559
1560 2015-03-04 Pedro Alves <palves@redhat.com>
1561
1562 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1563 (main): Pass missing retval argument to pthread_join call.
1564
1565 2015-03-02 Pedro Alves <palves@redhat.com>
1566
1567 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1568 (top level): Call do_test with non-stop as well.
1569
1570 2015-03-02 Pedro Alves <palves@redhat.com>
1571
1572 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1573 -1.
1574
1575 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1576
1577 * gdb.arch/s390-vregs.exp: New test.
1578 * gdb.arch/s390-vregs.S: New file.
1579
1580 2015-02-27 Pedro Alves <palves@redhat.com>
1581
1582 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1583 call to catch_command_errors.
1584 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1585 catch_command_errors.
1586
1587 2015-02-27 Pedro Alves <palves@redhat.com>
1588
1589 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1590 "true" for boolean result.
1591 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1592 prototype of main.
1593
1594 2015-02-27 Pedro Alves <palves@redhat.com>
1595
1596 * lib/unbuffer_output.c: New file.
1597 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1598 (main): Call gdb_unbuffer_output.
1599
1600 2015-02-27 Yao Qi <yao.qi@linaro.org>
1601
1602 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1603 target.
1604
1605 2015-02-26 Doug Evans <dje@google.com>
1606
1607 * gdb.cp/class2.cc (Dbase, D): New classes.
1608 (main): New local delta.
1609 * gdb.cp/class2.exp: Test printing delta.
1610 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1611 (dynbar): New global.
1612 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1613
1614 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1615
1616 * gdb.compile/compile-ifunc.c: New file.
1617 * gdb.compile/compile-ifunc.exp: New file.
1618
1619 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1620
1621 * gdb.base/structs.exp: Check for correct struct on finish.
1622
1623 2015-02-26 Yao Qi <yao.qi@linaro.org>
1624
1625 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1626 is zero.
1627
1628 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1629
1630 * gdb.arch/cordic.ko.bz2: New file.
1631 * gdb.arch/cordic.ko.debug.bz2: New file.
1632 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1633
1634 2015-02-25 Yao Qi <yao.qi@linaro.org>
1635
1636 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1637 aarch64*-*-* target.
1638
1639 2015-02-23 Pedro Alves <palves@redhat.com>
1640
1641 * lib/gdb.exp (delete_breakpoints): Rewrite using
1642 gdb_test_multiple.
1643
1644 2015-02-23 Pedro Alves <palves@redhat.com>
1645
1646 * gdb.base/info-os.c: Include stdlib.h.
1647
1648 2015-02-22 Doug Evans <xdje42@gmail.com>
1649
1650 PR symtab/17855
1651 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1652 is read after symbols have been re-read.
1653 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1654 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1655
1656 2015-02-21 Doug Evans <dje@google.com>
1657
1658 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1659
1660 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1661
1662 PR corefiles/17808
1663 * gdb.arch/i386-biarch-core.core.bz2: New file.
1664 * gdb.arch/i386-biarch-core.exp: New file.
1665
1666 2015-02-21 Pedro Alves <palves@redhat.com>
1667
1668 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1669 runto_main fails.
1670
1671 2015-02-20 Pedro Alves <palves@redhat.com>
1672
1673 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1674 info probes.
1675
1676 2015-02-20 Pedro Alves <palves@redhat.com>
1677
1678 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1679
1680 2015-02-20 Pedro Alves <palves@redhat.com>
1681
1682 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1683 clean_restart before gdb_target_supports_trace.
1684
1685 2015-02-20 Pedro Alves <palves@redhat.com>
1686
1687 PR threads/18006
1688 * gdb.threads/clone-thread_db.c: New file.
1689 * gdb.threads/clone-thread_db.exp: New file.
1690
1691 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1692
1693 PR breakpoints/16812
1694 * gdb.base/catch-gdb-caused-signals.c: New file.
1695 * gdb.base/catch-gdb-caused-signals.exp: New file.
1696
1697 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1698
1699 * configure: Regenerated.
1700 * configure.ac: Use GDB_AC_TRANSFORM.
1701 * aclocal.m4: sinclude ../transform.m4.
1702
1703 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1704
1705 * lib/dtrace.exp: New file.
1706 * gdb.base/dtrace-probe.exp: Likewise.
1707 * gdb.base/dtrace-probe.d: Likewise.
1708 * gdb.base/dtrace-probe.c: Likewise.
1709 * lib/pdtrace.in: Likewise.
1710 * configure.ac: Output variables with the transformed names of
1711 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1712 * configure: Regenerated.
1713
1714 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1715
1716 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1717 expected message when trying to access $_probe_* convenience
1718 variables while not on a probe.
1719
1720 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1721
1722 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1723
1724 2015-02-11 Pedro Alves <pedro@codesourcery.com>
1725
1726 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1727 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1728
1729 2015-02-10 Doug Evans <xdje42@gmail.com>
1730
1731 * lib/gdb.exp (gdb_load): Always return a result.
1732
1733 2015-02-10 Pedro Alves <palves@redhat.com>
1734
1735 * gdb.threads/signal-sigtrap.c: New file.
1736 * gdb.threads/signal-sigtrap.exp: New file.
1737
1738 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1739
1740 * gdb.trace/no-attach-trace.c: New file.
1741 * gdb.trace/no-attach-trace.exp: New file.
1742
1743 2015-02-09 Mark Wielaard <mjw@redhat.com>
1744
1745 * gdb.dwarf2/atomic.c: New file.
1746 * gdb.dwarf2/atomic-type.exp: Likewise.
1747
1748 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1749
1750 * gdb.btrace/buffer-size.exp: Update "info record" output.
1751 * gdb.btrace/delta.exp: Update "info record" output.
1752 * gdb.btrace/enable.exp: Update "info record" output.
1753 * gdb.btrace/finish.exp: Update "info record" output.
1754 * gdb.btrace/instruction_history.exp: Update "info record" output.
1755 * gdb.btrace/next.exp: Update "info record" output.
1756 * gdb.btrace/nexti.exp: Update "info record" output.
1757 * gdb.btrace/step.exp: Update "info record" output.
1758 * gdb.btrace/stepi.exp: Update "info record" output.
1759 * gdb.btrace/nohist.exp: Update "info record" output.
1760
1761 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1762
1763 * gdb.btrace/buffer-size: New.
1764
1765 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1766
1767 * gdb.btrace/delta.exp: Update "info record" output.
1768 * gdb.btrace/enable.exp: Update "info record" output.
1769 * gdb.btrace/finish.exp: Update "info record" output.
1770 * gdb.btrace/instruction_history.exp: Update "info record" output.
1771 * gdb.btrace/next.exp: Update "info record" output.
1772 * gdb.btrace/nexti.exp: Update "info record" output.
1773 * gdb.btrace/step.exp: Update "info record" output.
1774 * gdb.btrace/stepi.exp: Update "info record" output.
1775 * gdb.btrace/nohist.exp: Update "info record" output.
1776
1777 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1778
1779 PR gdb/15678
1780 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1781
1782 2015-02-06 Pedro Alves <palves@redhat.com>
1783
1784 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1785 macro.
1786 (seconds_left, again): New globals.
1787 (main): Wait seconds_left in a 1-second sleep loop instead of
1788 sleeping 180 seconds. If 'again' is set, reset the seconds
1789 counter.
1790 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1791 'again' in the inferior before detaching. Print the seconds left.
1792 (options): New global.
1793 (top level): Build program with -DTIMEOUT=$timeout.
1794
1795 2015-02-06 Pedro Alves <palves@redhat.com>
1796
1797 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1798 determine how many seconds to pass to 'alarm'.
1799 * gdb.base/gdb-sigterm.exp (top level): Build program with
1800 -DTIMEOUT=$timeout.
1801 (do_test): Return success/failure indication. Add more verbose
1802 logging. Don't fail if 200 single steps are seen. Instead, fail
1803 when the test times out.
1804 (passes): New global.
1805 (top level): Break the testing loop if testing fails on any
1806 iteration. Use gdb_assert.
1807
1808 2015-02-04 Don Breazeal <donb@codesourcery.com>
1809
1810 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1811 and initialize them.
1812 (ipc_cleanup): New function.
1813 (main): Don't declare shmid, semid, and msqid. Add a call to
1814 atexit so that we call ipc_cleanup on exit.
1815
1816 2015-02-04 Pedro Alves <palves@redhat.com>
1817
1818 * boards/native-extended-gdbserver.exp: Remove any target variant
1819 specifications from the board name before clearing the isremote
1820 flag from board_info.
1821
1822 2015-01-31 Doug Evans <xdje42@gmail.com>
1823
1824 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1825
1826 2015-01-31 Gary Benson <gbenson@redhat.com>
1827
1828 * gdb.base/completion.exp: Disable completion limiting for
1829 existing tests. Add new tests to check completion limiting.
1830 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1831
1832 2015-01-31 Doug Evans <xdje42@gmail.com>
1833
1834 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1835
1836 2015-01-31 Doug Evans <xdje42@gmail.com>
1837
1838 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1839 entries. Duplicate file section script entries.
1840 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1841 inlined entries. Add test for safe-path rejection.
1842 * gdb.python/py-section-script.c: Add duplicate inlined section script
1843 entries. Duplicate file section script entries.
1844 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1845 inlined entries. Add test for safe-path rejection.
1846
1847 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1848
1849 * gdb.ada/disc_arr_bound: New testcase.
1850
1851 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1852
1853 * gdb.ada/mi_var_array: New testcase.
1854
1855 2015-01-27 Doug Evans <dje@google.com>
1856
1857 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1858 Add test for objfile.filename, objfile.username after objfile
1859 has been unloaded.
1860
1861 2015-01-26 Joel Brobecker <brobecker@adacore.com>
1862
1863 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1864 the second test to print the name attribute of value
1865 returned by the call to gdb.lookup_type, and adjust
1866 the expected output accordingly.
1867
1868 2015-01-25 Mark Wielaard <mjw@redhat.com>
1869
1870 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1871 * gdb.base/disp-step-fork.c: Include unistd.h.
1872 * gdb.base/siginfo-obj.c: Include stdio.h.
1873 * gdb.base/siginfo-thread.c: Likewise.
1874 * gdb.mi/non-stop.c: Include unistd.h.
1875 * gdb.mi/nsthrexec.c: Include stdio.h.
1876 * gdb.mi/pthreads.c: Include unistd.h.
1877 * gdb.modula2/unbounded1.c (main): Declare returns int.
1878 * gdb.reverse/consecutive-reverse.c: Likewise.
1879 * gdb.threads/create-fail.c: Include unistd.h.
1880 * gdb.threads/killed.c: Likewise.
1881 * gdb.threads/linux-dp.c: Likewise.
1882 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1883 * gdb.threads/non-ldr-exc-2.c: Likewise.
1884 * gdb.threads/non-ldr-exc-3.c: Likewise.
1885 * gdb.threads/non-ldr-exc-4.c: Likewise.
1886 * gdb.threads/pthreads.c: Include unistd.h.
1887 (main): Declare returns int.
1888 * gdb.threads/tls-main.c (foo): New declaration.
1889 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1890
1891 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1892
1893 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1894 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1895
1896 2015-01-15 Mark Wielaard <mjw@redhat.com>
1897
1898 * gdb.base/noreturn-return.c: New file.
1899 * gdb.base/noreturn-return.exp: New file.
1900 * gdb.base/noreturn-finish.c: New file.
1901 * gdb.base/noreturn-finish.exp: New file.
1902
1903 2015-01-23 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.threads/continue-pending-after-query.c: New file.
1906 * gdb.threads/continue-pending-after-query.exp: New file.
1907
1908 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1909 Simon Marchi <simon.marchi@ericsson.com>
1910
1911 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1912 * gdb.base/valgrind-db-attach.exp: Same.
1913 * gdb.base/valgrind-infcall.exp: Same.
1914 * lib/mi-support.exp (default_mi_gdb_start): Same.
1915 * lib/prompt.exp (default_prompt_gdb_start): Same.
1916 * lib/gdb.exp (default_gdb_spawn): Same.
1917 (gdb_interact): New.
1918
1919
1920 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1921
1922 * gdb.compile/compile.exp (pointer to jit function): New test.
1923
1924 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1925
1926 * lib/gdb.exp (supports_process_record): Return true for
1927 powerpc*-*-linux*.
1928 (supports_reverse): Likewise.
1929
1930 2015-01-15 Don Breazeal <donb@codesourcery.com>
1931
1932 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1933 instead of checking whether the target board is remote and
1934 use spawn_wait_for_attach instead of exec/sleep.
1935 * gdb.base/attach-twice.exp: Likewise.
1936
1937 2015-01-15 Joel Brobecker <brobecker@adacore.com>
1938
1939 * gdb.ada/var_arr_attrs: New testcase.
1940
1941 2015-01-14 Pedro Alves <palves@redhat.com>
1942 Joel Brobecker <brobecker@adacore.com>
1943
1944 PR gdb/17525
1945 * gdb.base/bp-cmds-execution-x-script.c: New file.
1946 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1947 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1948
1949 2015-01-14 Pedro Alves <palves@redhat.com>
1950
1951 PR cli/17828
1952 * gdb.base/batch-preserve-term-settings.c: New file.
1953 * gdb.base/batch-preserve-term-settings.exp: New file.
1954
1955 2015-01-13 Doug Evans <dje@google.com>
1956
1957 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1958 binary.
1959
1960 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1961
1962 * Makefile.in (clean mostlyclean): Do not delete *.py.
1963
1964 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1965
1966 * gdb.python/py-lookup-type.exp: New file.
1967
1968 2015-01-12 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1971 restore GDBFLAGS before returning.
1972
1973 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1974
1975 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1976 is_amd64_regs_target and is_x86_like_target.
1977
1978 2015-01-11 Doug Evans <xdje42@gmail.com>
1979
1980 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1981 is given without an explicit form.
1982 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1983 attributes.
1984 * gdb.dwarf/corrupt.exp: Ditto.
1985 * gdb.dwarf2/enum-type.exp: Ditto.
1986 * gdb.trace/entry-values.exp: Ditto.
1987 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1988
1989 2015-01-11 Doug Evans <xdje42@gmail.com>
1990
1991 PR gdb/15830
1992 * gdb.base/maint.exp: Remove references to "maint demangle".
1993 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1994 Add tests for explicitly specifying language to demangle.
1995 * gdb.dlang/demangle.exp: Ditto.
1996
1997 2015-01-09 Pedro Alves <palves@redhat.com>
1998
1999 * gdb.threads/non-stop-fair-events.c: New file.
2000 * gdb.threads/non-stop-fair-events.exp: New file.
2001
2002 2015-01-09 Pedro Alves <palves@redhat.com>
2003
2004 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2005 the global scope. Set a breakpoint after all threads are started
2006 rather than stepping over two source lines. Expect the prompt.
2007 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2008 global.
2009 (NUM): Now 15.
2010 (main): Use threads_started_barrier to wait for all threads to
2011 start. Main thread no longer calls thread_function. Exit after
2012 180 seconds.
2013 (loop): New function.
2014 (thread_function): Wait on threads_started_barrier barrier. Call
2015 'loop' at each iteration.
2016 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2017 threads have started, instead of hardcoding number of "next"
2018 steps. Use an access watchpoint instead of a write watchpoint.
2019
2020 2015-01-09 Pedro Alves <palves@redhat.com>
2021
2022 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2023 (thread_func): Wait on barrier.
2024 (main): Wait for all threads to start before stopping GDB.
2025 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2026 global.
2027 (thread1_func, thread2_func): Wait on barrier.
2028 (main): Wait for all threads to start before stopping GDB.
2029 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2030 New global.
2031 (thread1_func, thread2_func): Wait on barrier.
2032 (main): Wait for all threads to start before stopping GDB.
2033
2034 2015-01-09 Pedro Alves <palves@redhat.com>
2035
2036 * gdb.threads/attach-many-short-lived-threads.c: New file.
2037 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2038
2039 2014-01-09 Pedro Alves <palves@redhat.com>
2040
2041 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2042 instead of to thread 2.
2043 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2044 Add barrier around each pthread_create call instead of around all
2045 calls.
2046 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2047 Set a break on thread_function and have the child threads hit it
2048 one at at a time.
2049
2050 2015-01-09 Pedro Alves <palves@redhat.com>
2051
2052 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2053 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2054 false.
2055 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2056 checking whether the target board is remote.
2057 * gdb.multi/multi-attach.exp: Likewise.
2058 * gdb.python/py-sync-interp.exp: Likewise.
2059 * gdb.server/ext-attach.exp: Likewise.
2060 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2061 tests that need to attach, instead of checking whether the target
2062 board is remote at the top of the file.
2063
2064 2015-01-08 Yao Qi <yao@codesourcery.com>
2065
2066 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2067
2068 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2069
2070 Fix testcase compilation.
2071 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2072
2073 2015-01-06 Joel Brobecker <brobecker@adacore.com>
2074
2075 * gdb.python/py-type.exp: Add a couple test about empty
2076 array creation, and negative-length array creation.
2077
2078 2015-01-02 Doug Evans <xdje42@gmail.com>
2079
2080 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2081
2082 2015-01-02 Doug Evans <dje@google.com>
2083
2084 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2085
2086 2014-12-29 Yao Qi <yao@codesourcery.com>
2087
2088 * gdb.trace/entry-values.exp: Update comments. Rename variable
2089 bar_call_foo to returned_from_foo.
2090
2091 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2092
2093 PR gdb/17394
2094 * gdb.linespec/break-asm-file.c: New file.
2095 * gdb.linespec/break-asm-file.exp: New file.
2096 * gdb.linespec/break-asm-file0.s: New file.
2097 * gdb.linespec/break-asm-file1.s: New file.
2098
2099 2014-12-18 Nigel Stephens <nigel@mips.com>
2100 Maciej W. Rozycki <macro@codesourcery.com>
2101
2102 * gdb.base/float.exp: Handle the new output from "info float" on
2103 MIPS targets.
2104
2105 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2106
2107 Fix MinGW compilation.
2108 * gdb.compile/compile-ops.exp: Update untested message if
2109 !skip_compile_feature_tests.
2110 * gdb.compile/compile-setjmp.exp: Likewise.
2111 * gdb.compile/compile-tls.exp: Likewise.
2112 * gdb.compile/compile.exp: Likewise.
2113 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2114 supported on this host".
2115
2116 2014-12-16 Doug Evans <xdje42@gmail.com>
2117
2118 * boards/stabs.exp: New file.
2119
2120 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2121
2122 * gdb.base/completion.exp: Adjust to format changes of "maint
2123 print user-registers".
2124
2125 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
2126
2127 PR server/17457
2128 * gdb.arch/aarch64-fp.c: New file.
2129 * gdb.arch/aarch64-fp.exp: New file.
2130
2131 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2132
2133 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2134 r210637, r210913, r211666, r215400, r215817).
2135
2136 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2137 * dg-extract-results.py: New file.
2138 * dg-extract-results.sh: Use it if the environment seems
2139 suitable.
2140
2141 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2142
2143 * dg-extract-results.py (parse_run): Handle warnings that
2144 are printed before a test harness is run.
2145
2146 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2147
2148 * dg-extract-results.py (Named): Remove __cmp__ method.
2149 (output_variation): Use a key to sort variation.harnesses.
2150
2151 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2152
2153 * dg-extract-results.py: For Python 3, force sys.stdout to
2154 handle surrogate escape sequences.
2155 (safe_open): New function.
2156 (output_segment, main): Use it.
2157
2158 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2159
2160 * dg-extract-results.py (Prog.result_re): Include options
2161 in test name.
2162
2163 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2164
2165 * dg-extract-results.py (output_variation): Always sort if
2166 do_sum.
2167
2168 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2169
2170 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2171 as long as we get pagination notifications.
2172
2173 2014-12-15 Jason Merrill <jason@redhat.com>
2174
2175 * Makefile.in (check-gdb.%): Restore.
2176 * README: Mention it.
2177
2178 2014-12-13 Joel Brobecker <brobecker@adacore.com>
2179
2180 * gdb.ada/str_uninit: New testcase.
2181
2182 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2183
2184 PR symtab/17642
2185 * gdb.base/vla-stub-define.c: New file.
2186 * gdb.base/vla-stub.c: New file.
2187 * gdb.base/vla-stub.exp: New file.
2188
2189 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2190 Jan Kratochvil <jan.kratochvil@redhat.com>
2191 Tom Tromey <tromey@redhat.com>
2192
2193 * configure.ac: Add gdb.compile/.
2194 * configure: Regenerate.
2195 * gdb.compile/Makefile.in: New file.
2196 * gdb.compile/compile-ops.exp: New file.
2197 * gdb.compile/compile-ops.c: New file.
2198 * gdb.compile/compile-tls.c: New file.
2199 * gdb.compile/compile-tls.exp: New file.
2200 * gdb.compile/compile-constvar.S: New file.
2201 * gdb.compile/compile-constvar.c: New file.
2202 * gdb.compile/compile-mod.c: New file.
2203 * gdb.compile/compile-nodebug.c: New file.
2204 * gdb.compile/compile-setjmp-mod.c: New file.
2205 * gdb.compile/compile-setjmp.c: New file.
2206 * gdb.compile/compile-setjmp.exp: New file.
2207 * gdb.compile/compile-shlib.c: New file.
2208 * gdb.compile/compile.c: New file.
2209 * gdb.compile/compile.exp: New file.
2210 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2211
2212 2014-12-12 Tom Tromey <tromey@redhat.com>
2213
2214 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2215 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2216
2217 2014-12-12 Doug Evans <dje@google.com>
2218
2219 * lib/gdb-python.exp (get_python_valueof): New function.
2220 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2221
2222 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2223
2224 * gdb.base/completion.exp: Add test for completion of "info
2225 registers ".
2226
2227 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2228
2229 * gdb.base/func-ptrs.c: New file.
2230 * gdb.base/func-ptrs.exp: New file.
2231
2232 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2233
2234 PR breakpoints/17012
2235 * gdb.base/dprintf-detach.c: New file.
2236 * gdb.base/dprintf-detach.exp: New file.
2237
2238 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2239
2240 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2241 * lib/gdb.exp (target_is_gdbserver): New procedure.
2242
2243 2014-12-08 Doug Evans <dje@google.com>
2244
2245 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2246
2247 2014-12-05 Yao Qi <yao@codesourcery.com>
2248
2249 * gdb.guile/scm-error.exp: Remove the third argument to
2250 gdb_remote_download.
2251 * gdb.guile/scm-frame-args.exp: Likewise.
2252 * gdb.guile/scm-section-script.exp: Likewise.
2253
2254 2014-12-05 Yao Qi <yao@codesourcery.com>
2255
2256 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2257
2258 2014-12-04 Doug Evans <dje@google.com>
2259
2260 * gdb.python/py-objfile.exp: Add tests for
2261 objfile.add_separate_debug_file.
2262
2263 2014-12-04 Doug Evans <dje@google.com>
2264
2265 * lib/gdb.exp (get_build_id): New function.
2266 (build_id_debug_filename_get): Rewrite to use it.
2267 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2268
2269 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2270
2271 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2272 `method(long)', not just 0x0.
2273 * gdb.cp/nsalias.exp: Align code labels to 4.
2274 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2275 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2276 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2277 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2278 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2279 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2280
2281 2014-12-02 Doug Evans <dje@google.com>
2282
2283 PR symtab/17602
2284 * gdb.cp/anon-ns.cc: Move guts of this file to ...
2285 * gdb.cp/anon-ns2.cc: ... here. New file.
2286 * gdb.cp/anon-ns.exp: Update.
2287
2288 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
2289
2290 * gdb.python/py-events.py (inferior_call_handler): New.
2291 (register_changed_handler, memory_changed_handler): New.
2292 (test_events.invoke): Register new handlers.
2293 * gdb.python/py-events.exp: Add tests for inferior call,
2294 memory_changed and register_changed events.
2295
2296 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2297
2298 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2299 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2300 if the linker doesn't understand this.
2301
2302 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2303
2304 * gdb.python/python.exp: Change expected reply to help().
2305
2306 2014-12-01 Yao Qi <yao@codesourcery.com>
2307
2308 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2309 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2310 * configure: Re-generated.
2311
2312 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2313
2314 * gdb.cp/chained-calls.cc: New file.
2315 * gdb.cp/chained-calls.exp: New file.
2316 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2317
2318 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2319
2320 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2321 * gdb.dwarf2/symtab-producer.exp: Same.
2322 * gdb.gdb/python-interrupts.exp: Same.
2323 * gdb.gdb/python-selftest.exp: Same.
2324 * gdb.python/py-linetable.exp: Same.
2325 * gdb.python/py-type.exp: Same.
2326 * gdb.python/py-value-cc.exp: Same.
2327 * gdb.python/py-value.exp: Same.
2328
2329 2014-11-28 Yao Qi <yao@codesourcery.com>
2330
2331 * gdb.base/break-probes.exp: Match library name prefixed with
2332 sysroot.
2333
2334 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2335
2336 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2337 test expected output. Add parentheses for the call to print.
2338 Remove L suffix from integers.
2339
2340 2014-11-26 Doug Evans <dje@google.com>
2341
2342 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2343
2344 2014-11-22 Yao Qi <yao@codesourcery.com>
2345
2346 * gdb.trace/entry-values.c: Remove asms.
2347 (foo): Add foo_label.
2348 (bar): Add bar_label.
2349 * gdb.trace/entry-values.exp: Remove code computing foo's
2350 length and bar's length.
2351 (Dwarf::assemble): Invoke function_range for bar and use
2352 MACRO_AT_func for foo.
2353
2354 2014-11-22 Yao Qi <yao@codesourcery.com>
2355
2356 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2357 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2358 Use .Lgcc43_procstart instead of gcc43.
2359
2360 2014-11-21 Joel Brobecker <brobecker@adacore.com>
2361
2362 * gdb.ada/n_arr_bound: New testcase.
2363
2364 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2365
2366 PR breakpoints/10737
2367 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2368 test_catch_syscall_multi_arch.
2369 (test_catch_syscall_multi_arch): New function.
2370
2371 2014-11-20 Doug Evans <xdje42@gmail.com>
2372
2373 * gdb.base/maint.exp: Update expected output.
2374
2375 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2376
2377 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2378 4-byte instruction on S390.
2379
2380 2014-11-19 Joel Brobecker <brobecker@adacore.com>
2381
2382 * gdb.ada/arr_arr: New testcase.
2383
2384 2014-11-19 Joel Brobecker <brobecker@adacore.com>
2385
2386 * gdb.ada/pkd_arr_elem: New Testcase.
2387
2388 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
2389
2390 * gdb.reverse/break-precsave: Expect completion message for
2391 core file reads.
2392 * gdb.reverse/consecutive-precsave.exp: Likewise.
2393 * gdb.reverse/finish-precsave.exp: Likewise.
2394 * gdb.reverse/i386-precsave.exp: Likewise.
2395 * gdb.reverse/machinestate-precsave.exp: Likewise.
2396 * gdb.reverse/sigall-precsave.exp: Likewise.
2397 * gdb.reverse/solib-precsave.exp: Likewise.
2398 * gdb.reverse/step-precsave.exp: Likewise.
2399 * gdb.reverse/until-precsave.exp: Likewise.
2400 * gdb.reverse/watch-precsave.exp: Likewise.
2401
2402 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2403
2404 * gdb.base/bp-permanent.c: Include unistd.h.
2405 * gdb.python/py-framefilter-mi.c (main): Add return type.
2406 * gdb.python/py-framefilter.c (main): Likewise.
2407 * gdb.trace/actions-changed.c (main): Likewise.
2408
2409 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2410
2411 * gdb.mi/until.c: Add eye-catchers.
2412 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2413 line numbers.
2414
2415 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2416
2417 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2418 function header variants in break1.c.
2419 * gdb.base/ena-dis-br.exp: Likewise.
2420 * gdb.base/hbreak2.exp: Likewise.
2421 * gdb.reverse/until-precsave.exp: Drop references to removed
2422 non-prototype function header variants in ur1.c.
2423 * gdb.reverse/until-reverse.exp: Likewise.
2424
2425 2014-11-17 Petr Machata <pmachata@redhat.com>
2426
2427 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2428 ${_cu_offset_size} bytes abbrev offset.
2429
2430 2014-11-15 Doug Evans <xdje42@gmail.com>
2431
2432 PR symtab/17559
2433 * gdb.base/line-symtabs.exp: New file.
2434 * gdb.base/line-symtabs.c: New file.
2435 * gdb.base/line-symtabs.h: New file.
2436
2437 2014-11-14 Yao Qi <yao@codesourcery.com>
2438
2439 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2440 (func): Add label func_label.
2441 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2442 Replace low_pc and high_pc with MACRO_AT_range.
2443 Replace name, low_pc and high_pc with MACRO_AT_func.
2444
2445 2014-11-14 Yao Qi <yao@codesourcery.com>
2446
2447 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2448 Replace name, low_pc and high_pc with MACRO_AT_func.
2449
2450 2014-11-14 Yao Qi <yao@codesourcery.com>
2451
2452 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2453 produce debug information.
2454 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2455
2456 2014-11-14 Yao Qi <yao@codesourcery.com>
2457
2458 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2459 object and get function length.
2460 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2461 with MACRO_AT_func.
2462 (top-level): Replace gdb_compile and clean_restart with
2463 prepare_for_testing.
2464 * gdb.dwarf2/main.c (main): Add label main_label.
2465
2466 2014-11-14 Yao Qi <yao@codesourcery.com>
2467
2468 * lib/dwarf.exp (function_range): New procedure.
2469 (Dwarf::_handle_macro_at_func): New procedure.
2470 (Dwarf::_handle_macro_at_range): New procedure.
2471 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2472
2473 2014-11-14 Yao Qi <yao@codesourcery.com>
2474
2475 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2476 (_handle_attribute): New procedure.
2477
2478 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2479
2480 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2481 * gdb.base/call-sc.c (zed): Likewise.
2482 * gdb.base/checkpoint.c (main): Likewise.
2483 * gdb.base/dump.c (main): Likewise.
2484 * gdb.base/gcore.c (main): Likewise.
2485 * gdb.base/huge.c (main): Likewise.
2486 * gdb.base/multi-forks.c (main): Likewise.
2487 * gdb.base/pr10179-a.c (main): Likewise.
2488 * gdb.base/savedregs.c (main): Likewise.
2489 * gdb.base/sigaltstack.c (main): Likewise.
2490 * gdb.base/siginfo.c (main): Likewise.
2491 * gdb.base/structs.c (zed): Likewise.
2492 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2493 * gdb.mi/mi-syn-frame.c (main): Likewise.
2494 * gdb.mi/until.c (foo, main): Likewise.
2495 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2496 * gdb.base/solib-weak.c (foo): Declare.
2497 * gdb.base/attach-twice.c: Include stdio.h.
2498 * gdb.base/weaklib1.c: Likewise.
2499 * gdb.base/weaklib2.c: Likewise.
2500 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2501 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2502 unistd.h.
2503 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2504 * gdb.mi/mi-exit-code.c: Likewise.
2505 * gdb.base/break-interp-lib.c: Include string.h.
2506 * gdb.base/coremaker.c: Likewise.
2507 * gdb.base/testenv.c: Likewise.
2508 * gdb.python/py-finish-breakpoint.c: Likewise.
2509 * gdb.base/inferior-died.c: Include sys/wait.h.
2510 * gdb.base/fileio.c: Include time.h.
2511 * gdb.base/async-shell.c: Include unistd.h.
2512 * gdb.base/dprintf-non-stop.c: Likewise.
2513 * gdb.base/info-os.c: Likewise.
2514 * gdb.mi/mi-console.c: Likewise.
2515 * gdb.mi/watch-nonstop.c: Likewise.
2516 * gdb.python/py-events.c: Likewise.
2517 * gdb.base/async.c (baz): Move up before its invocation.
2518 * gdb.base/code_elim2.c (my_global_func): Likewise.
2519 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2520 * gdb.base/advance.c (func2): Likewise.
2521
2522 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2523
2524 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2525 variant.
2526 * gdb.base/annota3.c: Likewise.
2527 * gdb.base/async.c: Likewise.
2528 * gdb.base/average.c: Likewise.
2529 * gdb.base/call-ar-st.c: Likewise.
2530 * gdb.base/call-rt-st.c: Likewise.
2531 * gdb.base/call-sc.c: Likewise.
2532 * gdb.base/call-strs.c: Likewise.
2533 * gdb.base/ending-run.c: Likewise.
2534 * gdb.base/execd-prog.c: Likewise.
2535 * gdb.base/exprs.c: Likewise.
2536 * gdb.base/foll-exec.c: Likewise.
2537 * gdb.base/foll-fork.c: Likewise.
2538 * gdb.base/foll-vfork.c: Likewise.
2539 * gdb.base/funcargs.c: Likewise.
2540 * gdb.base/gcore.c: Likewise.
2541 * gdb.base/jump.c: Likewise.
2542 * gdb.base/langs0.c: Likewise.
2543 * gdb.base/langs1.c: Likewise.
2544 * gdb.base/langs2.c: Likewise.
2545 * gdb.base/mips_pro.c: Likewise.
2546 * gdb.base/nodebug.c: Likewise.
2547 * gdb.base/opaque0.c: Likewise.
2548 * gdb.base/opaque1.c: Likewise.
2549 * gdb.base/recurse.c: Likewise.
2550 * gdb.base/run.c: Likewise.
2551 * gdb.base/scope0.c: Likewise.
2552 * gdb.base/scope1.c: Likewise.
2553 * gdb.base/setshow.c: Likewise.
2554 * gdb.base/setvar.c: Likewise.
2555 * gdb.base/shmain.c: Likewise.
2556 * gdb.base/shr1.c: Likewise.
2557 * gdb.base/shr2.c: Likewise.
2558 * gdb.base/sigall.c: Likewise.
2559 * gdb.base/signals.c: Likewise.
2560 * gdb.base/so-indr-cl.c: Likewise.
2561 * gdb.base/solib2.c: Likewise.
2562 * gdb.base/structs.c: Likewise.
2563 * gdb.base/sum.c: Likewise.
2564 * gdb.base/vforked-prog.c: Likewise.
2565 * gdb.base/watchpoint.c: Likewise.
2566 * gdb.reverse/shr2.c: Likewise.
2567 * gdb.reverse/until-reverse.c: Likewise.
2568 * gdb.reverse/ur1.c: Likewise.
2569 * gdb.reverse/watch-reverse.c: Likewise.
2570
2571 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2572
2573 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2574 variant.
2575 * gdb.base/sepdebug.exp: Drop references to removed code.
2576
2577 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2578
2579 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2580 variant. Preserve original line numbering.
2581 * gdb.base/list1.c: Likewise.
2582
2583 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2584
2585 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2586 variant.
2587 * gdb.base/break1.c: Likewise.
2588 * gdb.base/break.exp: Drop references to removed code.
2589
2590 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2591
2592 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2593 variant.
2594
2595 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2596
2597 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2598
2599 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2600
2601 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2602 logic into perform_all_tests() and invoke it with and without
2603 function header prototypes.
2604 (do_function_calls): Remove conditional XFAIL for PR 5318.
2605 (rerun_and_prepare): Remove duplicate code.
2606 (perform_all_tests): New. Main logic moved here.
2607
2608 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2609
2610 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2611 code guarded by #ifdef NO_PROTOTYPES.
2612 (t_double_many_args): Likewise.
2613 (DEF_FUNC_MANY_ARGS_1): Likewise.
2614 (DEF_FUNC_VALUES_1): Likewise.
2615 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2616 guarded by #ifdef PROTOTYPES.
2617
2618 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2619
2620 * gdb.mi/mi-console.c: Add eye-catcher.
2621 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2622 instead of literal line number.
2623
2624 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2625
2626 * gdb.base/shr2.c: Add eye-catcher.
2627 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2628 line number.
2629
2630 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2631
2632 * gdb.base/jump.c: Add eye-catchers.
2633 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2634 numbers.
2635
2636 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2637
2638 * gdb.base/execd-prog.c: Add eye-catchers.
2639 * gdb.base/foll-exec.c: Likewise.
2640 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2641 line numbers.
2642
2643 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2644
2645 * gdb.base/ending-run.c: Add eye-catchers.
2646 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2647 literal line numbers.
2648
2649 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2650
2651 * gdb.base/call-rt-st.c: Add eye-catchers.
2652 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2653 literal line numbers.
2654
2655 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2656
2657 * gdb.base/call-ar-st.c: Add eye-catchers.
2658 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2659 literal line numbers.
2660
2661 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2662
2663 * gdb.base/average.c: Add eye-catchers.
2664 * gdb.base/sum.c: Likewise.
2665 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2666 regexps dynamically.
2667
2668 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2669
2670 * gdb.base/solib1.c: Add eye-catchers.
2671 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2672 literal line numbers.
2673
2674 2014-11-12 Pedro Alves <palves@redhat.com>
2675
2676 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2677 leader has exited.
2678
2679 2014-11-12 Pedro Alves <palves@redhat.com>
2680
2681 * gdb.arch/i386-bp_permanent.c: New file.
2682 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2683 (srcfile): Set to i386-bp_permanent.c.
2684 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2685 that stepi does not execute the 'leave' instruction, instead of
2686 testing it does execute.
2687 * gdb.base/bp-permanent.c: New file.
2688 * gdb.base/bp-permanent.exp: New file.
2689
2690 2014-11-10 Doug Evans <xdje42@gmail.com>
2691
2692 PR symtab/17564
2693 * gdb.base/symtab-search-order.exp: New file.
2694 * gdb.base/symtab-search-order.c: New file.
2695 * gdb.base/symtab-search-order-1.c: New file.
2696 * gdb.base/symtab-search-order-shlib-1.c: New file.
2697
2698 2014-11-07 Pedro Alves <palves@redhat.com>
2699
2700 PR gdb/17511
2701 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2702 i?86-*-linux*.
2703
2704 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2705
2706 PR c++/17494
2707 * gdb.cp/pr17494.cc: New file.
2708 * gdb.cp/pr17494.exp: New file.
2709
2710 2014-11-02 Yao Qi <yao@codesourcery.com>
2711
2712 * gdb.python/python.exp: Get working directory and match the
2713 output of "set extended-prompt \\w " with it.
2714
2715 2014-10-30 Doug Evans <dje@google.com>
2716
2717 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2718 in objfiles.
2719 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2720 in progspaces.
2721
2722 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
2723
2724 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2725 * gdb.base/realname-expand.exp: Likewise.
2726 * gdb.linespec/macro-relative.exp: Likewise.
2727
2728 2014-10-29 Pedro Alves <palves@redhat.com>
2729
2730 PR gdb/17408
2731 * gdb.threads/schedlock.c (some_function): New function.
2732 (call_function): New global.
2733 (MAYBE_CALL_SOME_FUNCTION): New macro.
2734 (thread_function): Call it.
2735 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2736 and use it instead of a global counter. Adjust all callers.
2737 (get_current_thread): Use "find current thread" for test message
2738 here rather than having all callers pass down the same string.
2739 (goto_loop): New procedure, factored out from ...
2740 (my_continue): ... this.
2741 (step_ten_loops): Change parameter from test message to command to
2742 use. Adjust.
2743 (list_count): Delete global.
2744 (check_result): New procedure, factored out from duplicate top
2745 level code.
2746 (continue tests): Wrap in with_test_prefix.
2747 (test_step): New procedure, factored out from duplicate top level
2748 code.
2749 (top level): Test "step" in combination with all scheduler-locking
2750 modes. Test "next" in combination with all scheduler-locking
2751 modes, and in combination with stepping over a function call or
2752 not.
2753 * gdb.threads/next-bp-other-thread.c: New file.
2754 * gdb.threads/next-bp-other-thread.exp: New file.
2755
2756 2014-10-29 Pedro Alves <palves@redhat.com>
2757
2758 PR python/17372
2759 * gdb.python/python.exp: Test a multi-line command that spawns
2760 interactive Python.
2761 * gdb.base/multi-line-starts-subshell.exp: New file.
2762
2763 2014-10-29 Yao Qi <yao@codesourcery.com>
2764
2765 * gdb.base/fileio.exp: Make directories on host.
2766
2767 2014-10-29 Yao Qi <yao@codesourcery.com>
2768
2769 * gdb.base/fileio.c (test_write): Close the file.
2770
2771 2014-10-28 Pedro Alves <palves@redhat.com>
2772
2773 PR gdb/12623
2774 * gdb.base/sigstep.c (no_handler): New global.
2775 (main): If 'no_handler is true, set the signal handlers to
2776 SIG_IGN.
2777 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2778 with_sw_watch and no_handler parameters. Handle them.
2779 (top level) <stepping over handler when stopped at a breakpoint
2780 test>: Add a test axis for testing with a software watchpoint, and
2781 another for testing with the signal handler set to SIG_IGN.
2782 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2783 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2784
2785 2014-10-28 Pedro Alves <palves@redhat.com>
2786
2787 PR gdb/17511
2788 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2789 * gdb.base/sigstep.exp (other_handler_location): New global.
2790 (advance): Support stepping into the signal handler, and running
2791 commands while in the handler.
2792 (in_handler_map): New global.
2793 (top level): In the advance test, add combinations for getting
2794 into the handler with stepping commands, and for running commands
2795 in the handler. Add comment descripting the advancei tests.
2796
2797 2014-10-28 Pedro Alves <palves@redhat.com>
2798
2799 * gdb.base/sigstep.exp: Use build_executable instead of
2800 prepare_for_testing.
2801 (top level): Move code that starts GDB, runs to main and creates a
2802 display to ...
2803 (restart): ... this new procedure.
2804 (top level): Move backtrace from signal handler test to ...
2805 (validate_backtrace): ... this new procedure.
2806 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2807 with_test_prefix. Always restart GDB.
2808 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2809 with_test_prefix. Always restart GDB. No need to delete
2810 breakpoints after the test.
2811 (test_skip_handler): Remove prefix parameter.
2812 (skip_over_handler, breakpoint_to_handler)
2813 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2814 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2815 restart GDB. No need to delete breakpoints after the test.
2816 (top level): Use foreach to call the test procedures with
2817 different commands.
2818
2819 2014-10-28 Pedro Alves <palves@redhat.com>
2820
2821 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2822 instead of GNATS numbers.
2823 * gdb.base/sigbpt.exp: Likewise.
2824 * gdb.base/siginfo.exp: Likewise.
2825 * gdb.base/sigstep.exp: Likewise.
2826
2827 2014-10-27 Pedro Alves <palves@redhat.com>
2828
2829 * gdb.base/sigstep.c (dummy): New global.
2830 (main): Issue a couple writes to the new global.
2831 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2832 procedures.
2833 (skip_over_handler): Use test_skip_handler.
2834 (top level): Call skip_over_handler for stepi and nexti too.
2835 (breakpoint_over_handler): Use test_skip_handler.
2836 (top level): Call breakpoint_over_handler for stepi and nexti too.
2837
2838 2014-10-27 Yao Qi <yao@codesourcery.com>
2839
2840 * gdb.trace/tfile.c (adjust_function_address)
2841 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2842 function descriptor.
2843
2844 2014-10-24 Don Breazeal <donb@codesourcery.com>
2845
2846 * gdb.base/foll-fork.exp (test_follow_fork,
2847 catch_fork_child_follow): Check for updated fork messages emitted
2848 from infrun.c.
2849 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2850 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2851 vfork_and_exec_child_follow_through_step): Check for updated vfork
2852 messages emitted from infrun.c.
2853
2854 2014-10-24 Pedro Alves <palves@redhat.com>
2855
2856 * gdb.base/corefile.exp: Remove references to ultrix.
2857 * gdb.base/interrupt.exp: Likewise.
2858 * gdb.base/whatis.exp: Likewise.
2859 * gdb.gdb/selftest.exp: Likewise.
2860 * gdb.threads/manythreads.exp: Likewise.
2861 * gdb.threads/print-threads.exp: Likewise.
2862 * gdb.threads/pthreads.exp:: Likewise.
2863 * gdb.threads/schedlock.exp: Likewise.
2864
2865 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2866
2867 * gdb.cp/non-trivial-retval.cc: Add a test case.
2868 * gdb.cp/non-trivial-retval.exp: Add a test.
2869
2870 2014-10-20 Yao Qi <yao@codesourcery.com>
2871
2872 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2873 * gdb.python/py-objfile-script-gdb.py: New file.
2874 * gdb.python/py-objfile-script.exp: Update reference to
2875 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2876 of remote_download. Remove the dest file.
2877
2878 2014-10-20 Yao Qi <yao@codesourcery.com>
2879
2880 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2881 * gdb.base/step-line.exp: Likewise.
2882 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2883 * gdb.dwarf2/dw2-basic.exp: Likewise.
2884 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2885 * gdb.dwarf2/dw2-filename.exp: Likewise.
2886 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2887 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2888 * gdb.dwarf2/dw2-producer.exp: Likewise.
2889 * gdb.dwarf2/mac-fileno.exp: Likewise.
2890 * gdb.python/py-frame-args.exp: Likewise.
2891 * gdb.python/py-framefilter.exp: Likewise.
2892 * gdb.python/py-mi.exp: Likewise.
2893 * gdb.python/py-objfile-script.exp: Likewise
2894 * gdb.python/py-pp-integral.exp: Likewise.
2895 * gdb.python/py-pp-re-notag.exp: Likewise.
2896 * gdb.python/py-prettyprint.exp: Likewise.
2897 * gdb.python/py-section-script.exp: Likewise.
2898 * gdb.python/py-typeprint.exp: Likewise.
2899 * gdb.python/py-xmethods.exp: Likewise.
2900 * gdb.stabs/weird.exp: Likewise.
2901 * gdb.xml/tdesc-regs.exp: Likewise.
2902
2903 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2904
2905 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2906 (out_cu): Use addr_len for the size of addresses.
2907 (out_line): Likewise. Size DW_LNE_set_address instruction
2908 according to addr_len.
2909 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2910 (FUNC): Add START_INSNS to definition.
2911
2912 2014-10-18 Yao Qi <yao@codesourcery.com>
2913
2914 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2915 gdb_has_argv0 return true.
2916 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2917 check [target_info exists noargs], check [gdb_has_argv0]
2918 instead.
2919 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2920 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2921 procedures.
2922
2923 2014-10-17 Doug Evans <dje@google.com>
2924
2925 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2926 event.
2927 * gdb.python/py-events.py: Add clear_objfiles event.
2928
2929 2014-10-17 Doug Evans <dje@google.com>
2930
2931 * gdb.python/py-objfile.exp: Test progspace attribute.
2932
2933 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
2934
2935 * gdb.guile/scm-breakpoint.exp: Do not assume any
2936 directory separators when matching source file paths.
2937 * gdb.python/py-breakpoint.exp: Likewise.
2938 * gdb.reverse/break-precsave.exp: Likewise.
2939 * gdb.reverse/break-reverse.exp: Likewise.
2940 * gdb.reverse/consecutive-precsave.exp: Likewise.
2941 * gdb.reverse/finish-precsave.exp: Likewise.
2942 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2943 * gdb.reverse/finish-reverse.exp: Likewise.
2944 * gdb.reverse/i386-precsave.exp: Likewise.
2945 * gdb.reverse/i387-env-reverse.exp: Likewise.
2946 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2947 * gdb.reverse/machinestate-precsave.exp: Likewise.
2948 * gdb.reverse/machinestate.exp: Likewise.
2949 * gdb.reverse/sigall-precsave.exp: Likewise.
2950 * gdb.reverse/solib-precsave.exp: Likewise.
2951 * gdb.reverse/step-precsave.exp: Likewise.
2952 * gdb.reverse/until-precsave.exp: Likewise.
2953 * gdb.reverse/watch-precsave.exp: Likewise.
2954 * gdb.reverse/watch-reverse.exp: Likewise.
2955
2956 2014-10-17 Yao Qi <yao@codesourcery.com>
2957
2958 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2959 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2960
2961 2014-10-17 Pedro Alves <palves@redhat.com>
2962
2963 PR gdb/17471
2964 * gdb.base/bg-execution-repeat.c: New file.
2965 * gdb.base/bg-execution-repeat.exp: New file.
2966
2967 2014-10-17 Pedro Alves <palves@redhat.com>
2968
2969 PR gdb/17300
2970 * gdb.base/continue-all-already-running.c: New file.
2971 * gdb.base/continue-all-already-running.exp: New file.
2972
2973 2014-10-17 Pedro Alves <palves@redhat.com>
2974
2975 PR gdb/17472
2976 * gdb.base/annota-input-while-running.c: New file.
2977 * gdb.base/annota-input-while-running.exp: New file.
2978
2979 2014-10-17 Pedro Alves <palves@redhat.com>
2980
2981 * gdb.base/callfuncs.exp: emove references to osf.
2982 * gdb.base/sigall.exp: Likewise.
2983 * gdb.gdb/selftest.exp: Likewise.
2984 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2985 * gdb.mi/non-stop.c: Likewise.
2986 * gdb.mi/pthreads.c: Likewise.
2987 * gdb.reverse/sigall-precsave.exp: Likewise.
2988 * gdb.reverse/sigall-reverse.exp: Likewise.
2989 * gdb.threads/pthreads.c: Likewise.
2990 * gdb.threads/pthreads.exp: Likewise.
2991
2992 2014-10-17 Yao Qi <yao@codesourcery.com>
2993
2994 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2995 check 'target_info exists noargs'.
2996 (test_command_prompt_position): Likewise.
2997 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2998 Remove "set args".
2999 (progvar_simple_while_test): Likewise.
3000 (progvar_complex_if_while_test): Likewise.
3001 (if_while_breakpoint_command_test): Likewise.
3002 (infrun_breakpoint_command_test): Likewise.
3003 (breakpoint_command_test): Likewise.
3004 (watchpoint_command_test): Likewise.
3005 (bp_deleted_in_command_test): Likewise.
3006 (temporary_breakpoint_commands): Likewise.
3007
3008 2014-10-16 Yao Qi <yao@codesourcery.com>
3009
3010 * gdb.base/remotetimeout.exp: Remove noargs checking.
3011
3012 2014-10-15 Pedro Alves <palves@redhat.com>
3013
3014 PR breakpoints/9649
3015 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3016 * gdb.base/breakpoint-in-ro-region.exp
3017 (probe_target_hardware_step): New procedure.
3018 (top level): Probe hardware stepping and hardware breakpoint
3019 support. Test stepping through a read-only region, with both
3020 "breakpoint auto-hw" on and off and both "always-inserted" on and
3021 off.
3022
3023 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3024
3025 * gdb.dlang/demangle.exp: Update for demangling changes.
3026
3027 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3028
3029 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3030 * gdb.cp/non-trivial-retval.exp: Add new tests.
3031
3032 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3033
3034 PR c++/13403
3035 PR c++/15154
3036 * gdb.cp/non-trivial-retval.cc: New file.
3037 * gdb.cp/non-trivial-retval.exp: New file.
3038
3039 2014-10-15 Yao Qi <yao@codesourcery.com>
3040
3041 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3042 remote host.
3043
3044 2014-10-15 Yao Qi <yao@codesourcery.com>
3045
3046 * gdb.python/py-symbol.exp: Match file base name if host is
3047 remote, otherwise match file name with dir name.
3048 * gdb.python/py-symtab.exp: Likewise.
3049 * gdb.python/python.exp: Likewise.
3050
3051 2014-10-15 Yao Qi <yao@codesourcery.com>
3052
3053 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3054 pattern.
3055 * gdb.python/py-symtab.exp: Likewise.
3056 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3057 locationn.
3058
3059 2014-10-14 Joel Brobecker <brobecker@adacore.com>
3060
3061 * gdb.ada/addr_arith: New testcase.
3062
3063 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3064
3065 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3066 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3067 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3068 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3069
3070 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3071
3072 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3073 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3074 * gdb.arch/stap-eval-lang-ada.exp: New file.
3075
3076 2014-10-14 Yao Qi <yao@codesourcery.com>
3077
3078 * gdb.mi/mi-var-child.c (nothing1): New function.
3079 (nothing2): New function.
3080 (do_children_tests): Set function pointers by nothing1 and
3081 nothing2.
3082 * gdb.mi/mi-var-child.exp: Step over new added statements.
3083 Update test to match the new output.
3084 * gdb.mi/var-cmd.c (nothing1): New function.
3085 (nothing2): New function.
3086 (do_children_tests): Set function pointers by nothing1 and
3087 nothing2.
3088 * gdb.mi/mi-var-display.exp: Update test to match output.
3089 Step to the line specified by $line_dct_nothing.
3090 Increase the number of lines to step.
3091
3092 2014-10-14 Yao Qi <yao@codesourcery.com>
3093
3094 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3095 tests.
3096 * gdb.mi/mi2-var-child.exp: Likewise.
3097
3098 2014-10-13 Doug Evans <dje@google.com>
3099
3100 * gdb.python/py-objfile.exp: Change name of file name test.
3101
3102 2014-10-13 Doug Evans <dje@google.com>
3103
3104 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3105 from the start of the CU.
3106
3107 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3108 Yao Qi <yao@codesourcery.com>
3109
3110 Fix "save breakpoints" for "catch" command.
3111 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3112 Remove -nonewline. Match also the added "main" line.
3113
3114 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 Fix "save breakpoints" for "disable $bpnum" command.
3117 * gdb.base/save-bp.c (main): Add label.
3118 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3119
3120 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3121
3122 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3123
3124 2014-10-11 Yao Qi <yao@codesourcery.com>
3125
3126 * gdb.server/server-kill.exp: Execute command
3127 "set remote trace-status-packet on" before "tstatus".
3128
3129 2014-10-11 Yao Qi <yao@codesourcery.com>
3130
3131 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3132 (main): Call getppid.
3133 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3134 and continue to it. Read variable "server_pid".
3135
3136 2014-10-11 Yao Qi <yao@codesourcery.com>
3137
3138 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3139
3140 2014-10-11 Yao Qi <yao@codesourcery.com>
3141
3142 * gdb.threads/thread-find.exp: Don't execute command
3143 "info threads".
3144 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3145 * gdb.threads/linux-dp.exp: Don't check the condition
3146 $threads_created equals to zero.
3147
3148 2014-10-10 Pedro Alves <palves@redhat.com>
3149
3150 * gdb.base/bigcore.exp: Remove references to IRIX.
3151 * gdb.base/funcargs.exp: Likewise.
3152 * gdb.base/interrupt.exp: Likewise.
3153 * gdb.base/mips_pro.exp: Likewise.
3154 * gdb.base/nodebug.exp: Likewise.
3155 * gdb.base/setvar.exp: Likewise.
3156 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3157
3158 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3159 Pedro Alves <palves@redhat.com>
3160
3161 PR symtab/14466
3162 * gdb.base/vdso-warning.c: New file.
3163 * gdb.base/vdso-warning.exp: New file.
3164
3165 2014-10-02 Doug Evans <dje@google.com>
3166
3167 * gdb.base/structs.c (main): Don't run forever.
3168
3169 2014-10-02 Pedro Alves <palves@redhat.com>
3170
3171 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3172 (top level) <stop threads 1, stop threads 2>: Use it.
3173
3174 2014-10-02 Pedro Alves <palves@redhat.com>
3175
3176 * gdb.threads/break-while-running.exp (test): Add new
3177 'update_thread_list' argument. Skip "info threads" if false.
3178 (top level): Add new 'update_thread_list' axis.
3179
3180 2014-10-02 Pedro Alves <palves@redhat.com>
3181
3182 PR breakpoints/17431
3183 * gdb.base/execl-update-breakpoints.c: New file.
3184 * gdb.base/execl-update-breakpoints.exp: New file.
3185
3186 2014-10-01 Pedro Alves <palves@redhat.com>
3187
3188 * gdb.base/breakpoint-in-ro-region.c: New file.
3189 * gdb.base/breakpoint-in-ro-region.exp: New file.
3190
3191 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3192
3193 * gdb.mi/mi-exit-code.exp: New file.
3194 * gdb.mi/mi-exit-code.c: New file.
3195
3196 2014-09-30 Yao Qi <yao@codesourcery.com>
3197
3198 * lib/prelink-support.exp (build_executable_own_libs): Error if
3199 the target isn't native.
3200
3201 2014-09-30 Yao Qi <yao@codesourcery.com>
3202
3203 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3204 false.
3205
3206 2014-09-22 Pedro Alves <palves@redhat.com>
3207
3208 * gdb.threads/break-while-running.exp: New file.
3209 * gdb.threads/break-while-running.c: New file.
3210
3211 2014-09-19 Yao Qi <yao@codesourcery.com>
3212
3213 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3214 Invoke test. Restart GDB with --readnow and invoke test again.
3215
3216 2014-09-19 Yao Qi <yao@codesourcery.com>
3217
3218 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3219 proc set_breakpoint_on_gcd_function. Invoke
3220 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3221 invoke set_breakpoint_on_gcd_function again.
3222
3223 2014-09-18 Doug Evans <dje@google.com>
3224
3225 * gdb.dwarf2/symtab-producer.exp: New file.
3226
3227 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3228
3229 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3230 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3231 * gdb.base/global-var-nested-by-dso.c: Likewise.
3232 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3233
3234 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3235 Pedro Alves <palves@redhat.com>
3236
3237 * gdb.base/watch-bitfields.exp: Pass string other than test file
3238 name to prepare_for_testing.
3239 (watch): New procedure.
3240 (expect_watchpoint): Use with_test_prefix.
3241 (top level): Factor out tests to ...
3242 (test_watch_location, test_regular_watch): ... these new
3243 procedures, and use with_test_prefix and gdb_continue_to_end.
3244
3245 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3246
3247 PR breakpoints/12526
3248 * gdb.base/watch-bitfields.exp: New file.
3249 * gdb.base/watch-bitfields.c: New file.
3250
3251 2014-09-16 Pedro Alves <palves@redhat.com>
3252
3253 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3254 software and hardware addresses, not software address against
3255 itself.
3256
3257 2014-09-16 Pedro Alves <palves@redhat.com>
3258
3259 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3260 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3261
3262 2014-09-16 Pedro Alves <palves@redhat.com>
3263
3264 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3265 files.
3266 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3267 "*-*-vxworks*" throughout.
3268 * gdb.base/break.exp: Likewise.
3269 * gdb.base/default.exp: Likewise.
3270 * gdb.base/scope.exp: Likewise.
3271 * gdb.base/sepdebug.exp: Likewise.
3272 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3273 throughout.
3274 * gdb.base/run.c: Likewise.
3275 * gdb.base/sepdebug.c: Likewise.
3276 * gdb.hp/gdb.aCC/run.c: Likewise.
3277 * gdb.reverse/until-reverse.c: Likewise.
3278 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3279
3280 2014-09-16 Yao Qi <yao@codesourcery.com>
3281
3282 * boards/local-remote-host-native.exp: New file.
3283
3284 2014-09-14 Doug Evans <xdje42@gmail.com>
3285
3286 * gdb.threads/queue-signal.c (thread_count): New variable.
3287 (thread_count_mutex, thread_count_condvar): New variables.
3288 (incr_thread_count, wait_all_threads_running): New functions.
3289 (main): Wait for all threads to be in their thread functions.
3290
3291 2014-09-13 Doug Evans <xdje42@gmail.com>
3292
3293 * gdb.threads/queue-signal.c: New file.
3294 * gdb.threads/queue-signal.exp: New file.
3295
3296 2014-09-13 Doug Evans <xdje42@gmail.com>
3297
3298 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3299 be consistent with what default_gdb_init uses.
3300 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3301 the plain text of the prompt. Add some logging printfs.
3302 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3303
3304 2014-09-12 Pedro Alves <palves@redhat.com>
3305
3306 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3307 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3308 * gdb.arch/i386-size-overlap.exp: Likewise.
3309 * gdb.arch/i386-size.exp: Likewise.
3310 * gdb.arch/i386-unwind.exp: Likewise.
3311 * gdb.base/a2-run.exp: Likewise.
3312 * gdb.base/break.exp: Likewise.
3313 * gdb.base/charset.exp: Likewise.
3314 * gdb.base/chng-syms.exp: Likewise.
3315 * gdb.base/commands.exp: Likewise.
3316 * gdb.base/dbx.exp: Likewise.
3317 * gdb.base/find.exp: Likewise.
3318 * gdb.base/funcargs.exp: Likewise.
3319 * gdb.base/jit-simple.exp: Likewise.
3320 * gdb.base/reread.exp: Likewise.
3321 * gdb.base/sepdebug.exp: Likewise.
3322 * gdb.base/step-bt.exp: Likewise.
3323 * gdb.cp/mb-inline.exp: Likewise.
3324 * gdb.cp/mb-templates.exp: Likewise.
3325 * gdb.objc/basicclass.exp: Likewise.
3326 * gdb.threads/killed.exp: Likewise.
3327
3328 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3329
3330 PR tdep/17379
3331 * gdb.arch/powerpc-stackless.S: New file.
3332 * gdb.arch/powerpc-stackless.exp: New file.
3333
3334 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3335
3336 * gdb.base/attach.c: Include unistd.h.
3337 (main): Call alarm. Add label postloop.
3338 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3339 gdb_breakpoint, gdb_continue_to_breakpoint.
3340 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3341
3342 2014-09-11 Pedro Alves <palves@redhat.com>
3343
3344 PR gdb/17347
3345 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3346 * gdb.base/attach.exp (test_command_line_attach_run): New
3347 procedure.
3348 (top level): Call it.
3349
3350 2014-09-11 Pedro Alves <palves@redhat.com>
3351
3352 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3353 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3354 (do_command_attach_tests): Use spawn_wait_for_attach.
3355 * gdb.base/solib-overlap.exp: Likewise.
3356 * gdb.multi/multi-attach.exp: Likewise.
3357 * gdb.python/py-prompt.exp: Likewise.
3358 * gdb.python/py-sync-interp.exp: Likewise.
3359 * gdb.server/ext-attach.exp: Likewise.
3360
3361 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3362
3363 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3364 command in testcase. Simplify testcase.
3365
3366 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3367
3368 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3369
3370 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3371
3372 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3373
3374 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3375
3376 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3377
3378 2014-09-10 Joel Brobecker <brobecker@adacore.com>
3379
3380 * gdb.dwarf2/dynarr-ptr.c: New file.
3381 * gdb.dwarf2/dynarr-ptr.exp: New file.
3382
3383 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3384
3385 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3386 of 30 rather than hardcoding 120 for a slow test case. Take the
3387 `gdb,timeout' target setting into account for this calculation.
3388 Don't extend the timeout for the test cases that don't need it.
3389
3390 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3391
3392 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3393 a factor of 2 for a slow test case. Take the `gdb,timeout'
3394 target setting into account for this calculation.
3395 * gdb.reverse/until-precsave.exp: Increase the timeout by
3396 a factor of 15 and 3 respectively rather than adding 120
3397 for a pair of slow test cases. Take the `gdb,timeout'
3398 target setting into account for this calculation.
3399
3400 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3401
3402 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3403 timeout, don't pass one down to gdb_expect.
3404 (gdb_expect): Rework timeout selection.
3405
3406 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3407
3408 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3409 exception on timeout.
3410 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3411 (gdbserver_start_extended): Catch any `gdbserver_start' error
3412 exceptions.
3413 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3414 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3415 `gdbserver_gdb_load' error exceptions.
3416
3417 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3418
3419 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3420 120 on waiting for the TCP socket to open.
3421
3422 2014-09-09 Doug Evans <xdje42@gmail.com>
3423
3424 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3425 _caller_matches, _any_caller_is, _any_caller_matches.
3426
3427 2014-09-09 Doug Evans <xdje42@gmail.com>
3428
3429 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3430
3431 2014-09-09 Yao Qi <yao@codesourcery.com>
3432
3433 * gdb.mi/mi-var-display.exp: Set print symbol off.
3434
3435 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3436
3437 PR gdb/17035
3438 * gdb.base/commands.exp: Add tests to verify user-defined
3439 commands with empty bodies.
3440 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3441 python commands in `show user command`.
3442 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3443 scheme commands in `show user command`.
3444
3445 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3446
3447 PR python/17355
3448 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3449 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3450 * gdb.python/py-framefilter-invalidarg.exp: New file.
3451 * gdb.python/py-framefilter-invalidarg.py: New file.
3452
3453 2014-09-06 Doug Evans <xdje42@gmail.com>
3454
3455 PR 15276
3456 * gdb.python/py-caller-is.c: New file.
3457 * gdb.python/py-caller-is.exp: New file.
3458
3459 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3460
3461 PR gdb/17235
3462 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3463 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3464
3465 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3466
3467 PR fortran/17237
3468 * gdb.fortran/print-formatted.exp: New file.
3469 * gdb.fortran/print-formatted.f90: Likewise.
3470
3471 2014-09-03 Sasha Smundak <asmundak@google.com>
3472
3473 * gdb.python/py-frame.exp: Test Frame.read_register.
3474
3475 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3476
3477 PR python/16699
3478 * gdb.python/py-completion.exp: New file.
3479 * gdb.python/py-completion.py: Likewise.
3480
3481 2014-08-28 Doug Evans <dje@google.com>
3482
3483 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3484 eax,etc. are live with values set by gdb and thus the compiler can't
3485 use them.
3486 * gdb.arch/i386-pseudo.c (main): Ditto.
3487
3488 2014-08-27 Doug Evans <dje@google.com>
3489
3490 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3491
3492 2014-08-25 Doug Evans <dje@google.com>
3493
3494 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3495 (main): Ditto.
3496
3497 2014-08-25 Doug Evans <dje@google.com>
3498
3499 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3500
3501 2014-08-24 Yao Qi <yao@codesourcery.com>
3502
3503 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3504 symbol off.
3505 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3506
3507 2014-08-22 Doug Evans <dje@google.com>
3508
3509 PR 17276
3510 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3511 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3512 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3513
3514 2014-08-22 Yao Qi <yao@codesourcery.com>
3515
3516 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3517 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3518 * gdb.python/python.exp: Likewise. Use .py file on the host
3519 instead of the build.
3520
3521 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3522
3523 * gdb.threads/gcore-stale-thread.c: New file.
3524 * gdb.threads/gcore-stale-thread.exp: New file.
3525
3526 2014-08-21 Pedro Alves <palves@redhat.com>
3527
3528 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3529 * gdb.base/gcore-relro-pie.exp: Likewise.
3530 * gdb.base/gcore-relro.exp: Likewise.
3531 * gdb.base/gcore.exp: Likewise.
3532 * gdb.base/print-symbol-loading.exp: Likewise.
3533 * gdb.threads/gcore-thread.exp: Likewise.
3534 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3535
3536 2014-08-20 Pedro Alves <palves@redhat.com>
3537 Jan Kratochvil <jan.kratochvil@redhat.com>
3538
3539 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3540 configure.
3541 (EXPECT): Handle READ1 being set.
3542 (all): Depend on EXTRA_RULES.
3543 (check-read1, expect-read1, read1.so, read1): New rules.
3544 * README (Testsuite Parameters): Document the READ1 make variable.
3545 (Race detection): New section.
3546 * configure: Regenerate.
3547 * configure.ac: If build==host==target, and running under a
3548 GNU/glibc system, add read1 to the extra Makefile rules.
3549 (EXTRA_RULES): AC_SUBST it.
3550 * lib/read1.c: New file.
3551
3552 2014-08-20 Joel Brobecker <brobecker@adacore.com>
3553
3554 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3555 the handling of variables declared as a typedef to an array
3556 which a DW_AT_data_location attribute.
3557
3558 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
3559 Pedro Alves <palves@redhat.com>
3560
3561 PR symtab/14604
3562 PR symtab/14605
3563 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3564 gdb_test.
3565
3566 2014-08-19 Pedro Alves <palves@redhat.com>
3567
3568 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3569
3570 2014-08-19 Yao Qi <yao@codesourcery.com>
3571
3572 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3573 right line.
3574
3575 2014-08-18 David Blaikie <dblaikie@gmail.com>
3576
3577 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3578
3579 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3580
3581 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3582 attribute in array range.
3583
3584 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3585
3586 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3587
3588 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3589
3590 PR c++/17132
3591 * gdb.cp/pr17132.cc: New file.
3592 * gdb.cp/pr17132.exp: New file.
3593
3594 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3595
3596 * gdb.python/py-xmethods.py (A_getarrayind)
3597 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3598 Use 'print' with function call syntax.
3599 (E_method_matcher.match): Fix tab vs space indentation mixup.
3600
3601 2014-08-15 Yao Qi <yao@codesourcery.com>
3602
3603 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3604 false.
3605
3606 2014-08-15 Yao Qi <yao@codesourcery.com>
3607
3608 * gdb.cp/casts.exp: Set print symbol off.
3609 * gdb.cp/class2.exp: Likewise.
3610 * gdb.cp/overload.exp: Likewise.
3611 * gdb.cp/templates.exp: Likewise.
3612
3613 2014-08-11 Doug Evans <dje@google.com>
3614
3615 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3616 (test_load_shlib): Update.
3617
3618 2014-08-09 Yao Qi <yao@codesourcery.com>
3619
3620 * gdb.base/display.exp: Invoke is_address_zero_readable.
3621 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3622 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3623 * gdb.base/hbreak-unmapped.exp: Return if
3624 is_address_zero_readable returns true.
3625 * gdb.base/signest.exp: Likewise.
3626 * gdb.base/signull.exp: Likewise.
3627 * gdb.base/sigbpt.exp: Likewise.
3628 * gdb.guile/scm-disasm.exp: Do the test if
3629 is_address_zero_readable returns false.
3630 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3631 * gdb.python/py-arch.exp: Likewise.
3632 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3633 * lib/gdb.exp (is_address_zero_readable): New proc.
3634
3635 2014-08-09 Yao Qi <yao@codesourcery.com>
3636
3637 PR testsuite/13443
3638 * gdb.mi/mi-var-display.exp: Make test messages unique.
3639
3640 2014-08-04 Tom Tromey <tromey@redhat.com>
3641
3642 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3643 target 0".
3644
3645 2014-08-04 Tom Tromey <tromey@redhat.com>
3646
3647 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3648 "target_resume".
3649
3650 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3651
3652 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3653 inner_vla_struct_object_size.
3654 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3655 as xfail.
3656
3657 2014-07-30 Pedro Alves <palves@redhat.com>
3658
3659 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3660 comment.
3661
3662 2014-07-29 Yao Qi <yao@codesourcery.com>
3663
3664 PR gdb/17206
3665 * gdb.base/until-nodebug.exp: New.
3666
3667 2014-07-28 Doug Evans <xdje42@gmail.com>
3668
3669 PR guile/17203
3670 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3671 previously existing parameter, and previously ambiguously spelled
3672 parameter.
3673
3674 2014-07-28 Will Newton <will.newton@linaro.org>
3675
3676 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3677
3678 2014-07-26 Ludovic Courtès <ludo@gnu.org>
3679 Doug Evans <xdje42@gmail.com>
3680
3681 PR guile/17146
3682 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3683
3684 2014-07-25 Pedro Alves <palves@redhat.com>
3685
3686 * gdb.threads/signal-command-handle-nopass.c: New file.
3687 * gdb.threads/signal-command-handle-nopass.exp: New file.
3688 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3689 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3690 * gdb.threads/signal-delivered-right-thread.c: New file.
3691 * gdb.threads/signal-delivered-right-thread.exp: New file.
3692
3693 2014-07-25 Pedro Alves <palves@redhat.com>
3694
3695 * gdb.base/double-prompt-target-event-error.exp
3696 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3697 match.
3698 (cancel_pagination_in_target_event): Rework double prompt
3699 detection.
3700 * gdb.base/paginate-after-ctrl-c-running.exp
3701 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3702 <return>' match.
3703 * gdb.base/paginate-bg-execution.exp
3704 (test_bg_execution_pagination_return)
3705 (test_bg_execution_pagination_cancel): Remove '-notransfer
3706 <return>' matches.
3707 * gdb.base/paginate-execution-startup.exp
3708 (test_fg_execution_pagination_return)
3709 (test_fg_execution_pagination_cancel): Remove '-notransfer
3710 <return>' matches.
3711 * gdb.base/paginate-inferior-exit.exp
3712 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3713 match.
3714 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3715 * lib/gdb.exp (pagination_prompt): Run text through
3716 string_to_regexp.
3717 (gdb_test_multiple): Match $pagination_prompt instead of
3718 "<return>".
3719 (string_to_regexp): Move to lib/gdb-utils.exp.
3720
3721 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3722
3723 * gdb.arch/amd64-entry-value-paramref.S: New file.
3724 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3725 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3726 * gdb.arch/amd64-optimout-repeat.S: New file.
3727 * gdb.arch/amd64-optimout-repeat.c: New file.
3728 * gdb.arch/amd64-optimout-repeat.exp: New file.
3729
3730 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3731
3732 PR gdb/17170
3733 * gdb.base/statistics.exp: New file.
3734
3735 2014-07-17 Doug Evans <dje@google.com>
3736
3737 PR gdb/17170
3738 * gdb.base/maint.exp: Update testing of per-command stats.
3739
3740 2014-07-16 Pedro Alves <palves@redhat.com>
3741
3742 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3743 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3744 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3745 (tfile_write_buf): New functions.
3746 (add_memory_block): Rewrite using the above.
3747 (adjust_function_address): New function.
3748 (FUNCTION_ADDRESS): New macro.
3749 (write_basic_trace_file): Remove short_x local, and use
3750 tfile_write_16. Change type of func_addr local to unsigned long
3751 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3752 here. Cast argument of add_memory_block to char pointer.
3753 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3754 (main): Remove parameters.
3755 * gdb.trace/tfile.exp: Remove nowarnings.
3756
3757 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3758
3759 * gdb.base/debug-expr.exp: Test string evaluation with
3760 "debug expression" on.
3761
3762 2014-07-15 Pedro Alves <palves@redhat.com>
3763
3764 * gdb.base/reread.exp: Use clean_restart.
3765
3766 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3767
3768 * gdb.arch/avr-flash-qualifer.c: New.
3769 * gdb.arch/avr-flash-qualifer.exp: New.
3770
3771 2014-07-14 Pedro Alves <palves@redhat.com>
3772
3773 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3774 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3775
3776 2014-07-14 Pedro Alves <palves@redhat.com>
3777
3778 * gdb.base/double-prompt-target-event-error.c: New file.
3779 * gdb.base/double-prompt-target-event-error.exp: New file.
3780
3781 2014-07-14 Pedro Alves <palves@redhat.com>
3782
3783 PR gdb/17072
3784 * gdb.base/paginate-inferior-exit.c: New file.
3785 * gdb.base/paginate-inferior-exit.exp: New file.
3786
3787 2014-07-14 Pedro Alves <palves@redhat.com>
3788
3789 PR gdb/17072
3790 * gdb.base/paginate-bg-execution.c: New file.
3791 * gdb.base/paginate-bg-execution.exp: New file.
3792
3793 2014-07-14 Pedro Alves <palves@redhat.com>
3794
3795 PR gdb/17072
3796 * gdb.base/paginate-execution-startup.c: New file.
3797 * gdb.base/paginate-execution-startup.exp: New file.
3798 * lib/gdb.exp (pagination_prompt): New global.
3799 (default_gdb_spawn): New procedure, factored out from
3800 default_gdb_spawn.
3801 (default_gdb_start): Adjust to call default_gdb_spawn.
3802 (gdb_spawn): New procedure.
3803
3804 2014-07-14 Pedro Alves <palves@redhat.com>
3805
3806 * lib/gdb.exp (gdb_assert): New procedure.
3807 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3808
3809 2014-07-14 Pedro Alves <palves@redhat.com>
3810
3811 * gdb.base/execution-termios.c: New file.
3812 * gdb.base/execution-termios.exp: New file.
3813
3814 2014-07-14 Tom Tromey <tromey@redhat.com>
3815
3816 * gdb.cp/vla-cxx.cc: New file.
3817 * gdb.cp/vla-cxx.exp: New file.
3818
3819 2014-07-14 Tom Tromey <tromey@redhat.com>
3820
3821 * gdb.reverse/rerun-prec.c: New file.
3822 * gdb.reverse/rerun-prec.exp: New file.
3823
3824 2014-07-12 Maciej W. Rozycki <macro@mips.com>
3825 Maciej W. Rozycki <macro@codesourcery.com>
3826
3827 * lib/gdb-utils.exp: New file.
3828 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3829 inline `gdb_init_command' processing.
3830 (gdb_start_cmd): Likewise.
3831 * lib/mi-support.exp (mi_run_cmd): Likewise.
3832 * README: Document `gdb_init_command' and `gdb_init_commands'.
3833
3834 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3835
3836 Fix false FAIL running under a very long directory name.
3837 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3838 and "set print elements 10000". Twice.
3839
3840 2014-07-11 Yao Qi <yao@codesourcery.com>
3841
3842 * gdb.base/exprs.exp: "set print symbol off".
3843
3844 2014-07-11 Pedro Alves <palves@redhat.com>
3845
3846 * gdb.threads/kill.c: New file.
3847 * gdb.threads/kill.exp: New file.
3848
3849 2014-07-10 Yao Qi <yao@codesourcery.com>
3850
3851 * gdb.trace/tfile.c (write_basic_trace_file)
3852 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3853 address written to trace file.
3854
3855 2014-07-09 Pedro Alves <palves@redhat.com>
3856
3857 * gdb.base/attach-wait-input.exp: New file.
3858 * gdb.base/attach-wait-input.c: New file.
3859
3860 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3861
3862 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3863 setting up test structures.
3864 (main): Call new test function.
3865 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3866 test function, continue into test function and walk test
3867 structures.
3868
3869 2014-07-02 Yao Qi <yao@codesourcery.com>
3870
3871 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3872 'bar_start' at the beginning of functions 'foo' and 'bar'
3873 respectively.
3874 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3875 instead of 'foo' and 'bar'.
3876
3877 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3878
3879 * gdb.btrace/segv.exp: New.
3880 * gdb.btrace/segv.c: New.
3881
3882 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
3883
3884 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3885 instruction.
3886
3887 2014-06-30 Mark Wielaard <mjw@redhat.com>
3888
3889 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3890 vulture, vilify, villar): New volatile array constants.
3891 (vindictive, vegetation): New const volatile array constants.
3892 * gdb.base/volatile.exp: Test volatile and const volatile array
3893 types.
3894
3895 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3896
3897 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3898 target lacks support for awatch, rwatch, or hbreak.
3899
3900 2014-06-27 Yao Qi <yao@codesourcery.com>
3901
3902 * gdb.multi/dummy-frame-restore.exp: New.
3903 * gdb.multi/dummy-frame-restore.c: New.
3904
3905 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3906
3907 * gdb.btrace/gcore.exp: New.
3908
3909 2014-06-23 Pedro Alves <palves@redhat.com>
3910
3911 * gdb.base/watchpoint-reuse-slot.c: New file.
3912 * gdb.base/watchpoint-reuse-slot.exp: New file.
3913
3914 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3915
3916 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3917 progspace's filename in 'info', 'enable' and 'disable' command
3918 tests.
3919
3920 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3921
3922 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3923 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3924 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3925
3926 2014-06-20 Gary Benson <gbenson@redhat.com>
3927
3928 * gdb.arch/i386-avx.exp: Fix include file location.
3929 * gdb.arch/i386-sse.exp: Likewise.
3930
3931 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3932
3933 * gdb.dlang/expression.exp: New file.
3934
3935 2014-06-19 Pedro Alves <palves@redhat.com>
3936
3937 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3938 out from ...
3939 (top level): ... here. Iterate running tests under different
3940 scheduler-locking settings.
3941
3942 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
3943
3944 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3945 to DW_FORM_addr and use non-zero addresses.
3946
3947 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3948
3949 PR gdb/17017
3950 * gdb.python/py-xmethods.cc: Add global function call counters and
3951 increment them in their respective functions. Remove "cout"
3952 statements.
3953 * gdb.python/py-xmethods.exp: Make tests check the global function
3954 call counters instead of depending on inferior IO.
3955
3956 2014-06-18 Don Breazeal <donb@codesourcery.com>
3957
3958 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3959 Deleted procedure.
3960 (explicit_fork_parent_follow): Deleted procedure.
3961 (explicit_fork_child_follow): Deleted procedure.
3962 (test_follow_fork): New procedure.
3963 (do_fork_tests): Replace calls to deleted procedures with
3964 calls to test_follow_fork and reset GDB for subsequent
3965 procedure calls.
3966
3967 2014-06-17 Yao Qi <yao@codesourcery.com>
3968
3969 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3970 CP1252.
3971
3972 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
3973
3974 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3975 Initialize ptr and S explicitly.
3976 (skip_type_update_when_not_use_rtti_test): Likewise.
3977
3978 2014-06-16 Keith Seitz <keiths@redhat.com>
3979
3980 PR mi/15863
3981 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3982 the inferior is started.
3983
3984 2014-06-16 Pedro Alves <palves@redhat.com>
3985
3986 * gdb.base/break-main-file-remove-fail.c: New file.
3987 * gdb.base/break-main-file-remove-fail.exp: New file.
3988 * gdb.base/break-unload-file.exp: Use build_executable instead of
3989 prepare_for_testing.
3990 (test_break): New parameter "initial_load". Handle it.
3991 (top level): Add initial_load cmdline/file axis.
3992
3993 2014-06-12 Tom Tromey <tromey@redhat.com>
3994
3995 * gdb.base/completion.exp: Don't use directory name in test.
3996
3997 2014-06-09 Gary Benson <gbenson@redhat.com>
3998
3999 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4000 separate the always-available ANSI-standard signals from the
4001 signals that require checking.
4002 (main): Likewise.
4003 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4004 Likewise.
4005 (main): Likewise.
4006
4007 2014-06-07 Keith Seitz <keiths@redhat.com>
4008
4009 Revert:
4010 PR c++/16253
4011 * gdb.cp/var-tag.cc: New file.
4012 * gdb.cp/var-tag.exp: New file.
4013 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4014 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4015 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4016 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4017
4018 2014-06-06 Doug Evans <xdje42@gmail.com>
4019
4020 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4021
4022 2014-06-06 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4025 in target debug output instead of looking at RSP packets,
4026 disabling the test on any target that uses hardware stepping.
4027 Update comments.
4028
4029 2014-06-06 Pedro Alves <palves@redhat.com>
4030
4031 * gdb.base/break-unload-file.exp: Fix typo.
4032
4033 2014-06-06 Yao Qi <yao@codesourcery.com>
4034
4035 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4036 from "jit_function" to "^jit_function".
4037
4038 2014-06-06 Yao Qi <yao@codesourcery.com>
4039
4040 * gdb.base/async.c (foo): Add one statement.
4041 * gdb.base/async.exp: Get the next instruction address and
4042 match the output of "nexti" by instruction address. Match
4043 the hex address in the output of "finish".
4044
4045 2014-06-06 Gary Benson <gbenson@redhat.com>
4046
4047 * gdb.base/call-signals.c: Remove preprocessor conditionals
4048 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4049 SIGSEGV and SIGTERM.
4050 * gdb.base/sigall.c: Likewise.
4051 * gdb.base/unwindonsignal.c: Likewise.
4052 * gdb.reverse/sigall-reverse.c: Likewise.
4053
4054 2014-06-06 Yao Qi <yao@codesourcery.com>
4055
4056 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4057 readable, skip the test.
4058
4059 2014-06-06 Yao Qi <yao@codesourcery.com>
4060
4061 * gdb.threads/staticthreads.c (thread_function): Move the line
4062 setting breakpoint on forward.
4063 * gdb.threads/staticthreads.exp: Update comments.
4064
4065 2014-06-05 Ludovic Courtès <ludo@gnu.org>
4066
4067 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4068 "history-append! type error".
4069
4070 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4071
4072 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4073 erroneous dprintf expected input.
4074
4075 2014-06-04 Doug Evans <xdje42@gmail.com>
4076
4077 * gdb.guile/scm-generics.exp: Delete.
4078
4079 2014-06-04 Doug Evans <xdje42@gmail.com>
4080
4081 * gdb.guile/scm-breakpoint.exp: Update.
4082 Add tests for breakpoint registration.
4083
4084 2014-06-04 Tom Tromey <tromey@redhat.com>
4085
4086 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4087 VLA-in-union.
4088 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4089 inner_vla_struct, vla_union types. Initialize objects of those
4090 types and compute their sizes.
4091
4092 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4093 Hui Zhu <hui@codesourcery.com>
4094
4095 * gdb.base/fileio.exp: Add test for shell not available as well as
4096 available.
4097 * gdb.base/fileio.c (test_system): Check for shell twice.
4098
4099 2014-06-04 Yao Qi <yao@codesourcery.com>
4100
4101 * gdb.base/auto-connect-native-target.exp: Remove redundant
4102 space from the regexp pattern.
4103
4104 2014-06-04 Yao Qi <yao@codesourcery.com>
4105
4106 * gdb.base/default.exp: Replace "child" with "native" in
4107 regexp pattern.
4108
4109 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4110
4111 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4112 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4113 * gdb.python/py-xmethods.py: Python script supporting the
4114 new testcase and tests.
4115
4116 2014-06-03 Joel Brobecker <brobecker@adacore.com>
4117 Pedro Alves <palves@redhat.com>
4118
4119 PR breakpoints/17000
4120 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4121 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4122
4123 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4124
4125 * gdb.base/subst.exp: Add tests to verify partial path matching
4126 output.
4127
4128 2014-06-03 Pedro Alves <palves@redhat.com>
4129
4130 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4131 target that doesn't use software single-stepping.
4132
4133 2014-06-03 Pedro Alves <palves@redhat.com>
4134
4135 PR breakpoints/17000
4136 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4137 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4138
4139 2014-06-02 Doug Evans <xdje42@gmail.com>
4140
4141 * gdb.guile/scm-parameter.exp: New file.
4142
4143 2014-06-02 Doug Evans <xdje42@gmail.com>
4144
4145 * gdb.guile/scm-cmd.c: New file.
4146 * gdb.guile/scm-cmd.exp: New file.
4147
4148 2014-06-02 Doug Evans <xdje42@gmail.com>
4149
4150 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4151 pretty-printer lookup.
4152 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4153 (make-pp_s-printer): Call it.
4154 (make-pretty-printer-from-dict): New function.
4155 (lookup-pretty-printer-maker-from-dict): New function.
4156 (*pretty-printer*): Simplify.
4157 (make-objfile-pp_s-printer): New function.
4158 (install-objfile-pretty-printers!): New function.
4159 (make-progspace-pp_s-printer): New function.
4160 (install-progspace-pretty-printers!): New function.
4161 * gdb.guile/scm-progspace.c: New file.
4162 * gdb.guile/scm-progspace.exp: New file.
4163
4164 2014-06-02 Pedro Alves <palves@redhat.com>
4165
4166 * gdb.base/dprintf-bp-same-addr.c: New file.
4167 * gdb.base/dprintf-bp-same-addr.exp: New file.
4168
4169 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4170
4171 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4172 * gdb.arch/powerpc-power.s: Likewise.
4173
4174 2014-06-02 Joel Brobecker <brobecker@adacore.com>
4175
4176 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4177
4178 2014-06-01 Yao Qi <yao@codesourcery.com>
4179
4180 * gdb.base/watchpoint.exp (test_watch_location): Check null
4181 pointer can be dereferenced. If not, do the test, otherwise
4182 skip it.
4183
4184 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4185
4186 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4187 results.
4188 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4189
4190 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
4191
4192 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4193 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4194 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4195 * gdb.arch/amd64-invalid-stack-top.c: New file.
4196 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4197
4198 2014-05-30 Pedro Alves <palves@redhat.com>
4199
4200 PR breakpoints/17000
4201 * gdb.base/sss-bp-on-user-bp.c: New file.
4202 * gdb.base/sss-bp-on-user-bp.exp: New file.
4203
4204 2014-05-30 David Blaikie <dblaikie@gmail.com>
4205
4206 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4207 gnu_inline semantics via attribute.
4208 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4209 source explicitly specifies the required semantics.
4210
4211 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4212
4213 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4214
4215 2014-05-29 Pedro Alves <palves@redhat.com>
4216 Tom Tromey <tromey@redhat.com>
4217
4218 * gdb.base/async-shell.exp: Don't enable target-async.
4219 * gdb.base/async.exp
4220 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4221 parameter. Adjust.
4222 (top level): Don't test with "target-async".
4223 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4224 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4225 * gdb.base/inferior-died.exp: Don't enable target-async.
4226 * gdb.base/interrupt-noterm.exp: Likewise.
4227 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4228 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4229 * gdb.mi/mi-nonstop.exp: Likewise.
4230 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4231 * gdb.mi/mi-nsintrall.exp: Likewise.
4232 * gdb.mi/mi-nsmoribund.exp: Likewise.
4233 * gdb.mi/mi-nsthrexec.exp: Likewise.
4234 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4235 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4236 * gdb.python/py-evsignal.exp: Don't enable target-async.
4237 * gdb.python/py-evthreads.exp: Likewise.
4238 * gdb.python/py-prompt.exp: Likewise.
4239 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4240 * gdb.server/solib-list.exp: Don't enable target-async.
4241 * gdb.threads/thread-specific-bp.exp: Likewise.
4242 * lib/mi-support.exp: Adjust to use mi-async.
4243
4244 2014-05-29 Pedro Alves <palves@redhat.com>
4245
4246 PR gdb/13860
4247 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4248 reason, even in sync mode.
4249
4250 2014-05-29 Pedro Alves <palves@redhat.com>
4251 Hui Zhu <hui@codesourcery.com>
4252
4253 PR PR15693
4254 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4255 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4256 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4257 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4258
4259 2014-05-28 Joel Brobecker <brobecker@adacore.com>
4260
4261 * config/monitor.exp (gdb_target_monitor): Replace use of
4262 "set remotebaud" by "set serial baud".
4263
4264 2014-05-26 Andy Wingo <wingo@igalia.com>
4265
4266 * gdb.guile/scm-breakpoint.exp:
4267 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4268 properties instead of gdb-object-properties.
4269
4270 2014-05-26 Yao Qi <yao@codesourcery.com>
4271
4272 * gdb.server/no-thread-db.exp: Specify source file name
4273 explicitly when setting a breakpoint.
4274
4275 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4276
4277 * gdb.btrace/vdso.c: New.
4278 * gdb.btrace/vdso.exp: New.
4279
4280 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4281
4282 * gdb.base/gcore.exp (capture_command_output): Move ...
4283 * lib/gdb.exp (capture_command_output): ... here.
4284
4285 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4286
4287 * gdb.btrace/data.exp: Test memory access during btrace replay.
4288
4289 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4290
4291 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4292
4293 2014-05-21 Pedro Alves <palves@redhat.com>
4294
4295 PR gdb/13860
4296 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4297 (top level): Test that output related to execution commands is
4298 sent to the console with CLI commands, but not with MI commands.
4299 Test that breakpoint events are always mirrored to the console.
4300 Also expect the new source line to be output after a "next" in
4301 async mode too. Make it a pass/fail test.
4302 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4303 output.
4304 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4305
4306 2014-05-21 Pedro Alves <palves@redhat.com>
4307
4308 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4309 Use them to test variations of "list" after reaching a breakpoint.
4310 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4311 Test "list" with listsize 10 after reaching a breakpoint.
4312 * gdb.python/python.exp (decode_line current location line
4313 number): Adjust expected line number.
4314
4315 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4316
4317 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4318 behavior for $args, pass it directly to "run".
4319
4320 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4321
4322 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4323 30000 to 65536.
4324
4325 2014-05-21 Pedro Alves <palves@redhat.com>
4326
4327 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4328 auto-connect-native-target off".
4329 * gdb.base/auto-connect-native-target.c: New file.
4330 * gdb.base/auto-connect-native-target.exp: New file.
4331
4332 2014-05-21 Pedro Alves <palves@redhat.com>
4333
4334 * gdb.base/default.exp: Test "target native" instead of "target
4335 child".
4336
4337 2014-05-21 Mark Wielaard <mjw@redhat.com>
4338
4339 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4340
4341 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4342
4343 Fix TLS access for -static -pthread.
4344 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4345 <HAVE_TLS> (thread_function, main): Initialize it.
4346 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4347 Add clean_restart.
4348 <$have_tls != "">: Check TLSVAR.
4349
4350 2014-05-21 Pedro Alves <palves@redhat.com>
4351
4352 * gdb.base/dcache-line-read-error.c: New.
4353 * gdb.base/dcache-line-read-error.exp: New.
4354
4355 2014-05-20 Pedro Alves <palves@redhat.com>
4356
4357 * gdb.base/compare-sections.c: New file.
4358 * gdb.base/compare-sections.exp: New file.
4359
4360 2014-05-20 Pedro Alves <palves@redhat.com>
4361
4362 * gdb.base/break-idempotent.c: New file.
4363 * gdb.base/break-idempotent.exp: New file.
4364
4365 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4366
4367 * gdb.btrace/nohist.exp: New.
4368
4369 2014-05-20 Yao Qi <yao@codesourcery.com>
4370
4371 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4372 gdb.reverse directory and gdb_reverse_timeout exists in board
4373 setting.
4374 * README: Document gdb_reverse_timeout.
4375
4376 2014-05-20 Yao Qi <yao@codesourcery.com>
4377
4378 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4379 'test_file_name'. Treat args as a string instead of a list.
4380 (gdb_init): Rename argument 'args' by 'test_file_name'.
4381
4382 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4383
4384 * gdb.arch/powerpc-power.exp: New file.
4385 * gdb.arch/powerpc-power.s: New file.
4386
4387 2014-05-16 Doug Evans <dje@google.com>
4388
4389 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
4390 * gdb.base/completion.exp: Check that all expected files exist
4391 before doing file completion.
4392
4393 2014-05-16 Doug Evans <dje@google.com>
4394
4395 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4396 Update.
4397 (do_syscall_tests_without_xml): Update.
4398
4399 2014-05-16 Pedro Alves <palves@redhat.com>
4400
4401 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4402 instead of "unknown output after running".
4403
4404 2014-05-16 Yao Qi <yao@codesourcery.com>
4405
4406 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4407 file1.txt from host at the end.
4408 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4409
4410 2014-05-15 Doug Evans <dje@google.com>
4411
4412 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4413 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4414 loading file. Add test for TU lookup.
4415
4416 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4417
4418 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4419 calling "-exec-arguments" or "set args" before running the
4420 inferior.
4421
4422 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4423
4424 * lib/mi-support.exp (mi_expect_stop): Expect message for
4425 inferiors that exit with non-zero exit code.
4426
4427 2014-05-14 Yao Qi <yao@codesourcery.com>
4428
4429 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4430 match absolute path on remote host.
4431 (test_file_list_exec_source_files): Remove "/" from the
4432 pattern.
4433
4434 2014-05-14 Yao Qi <yao@codesourcery.com>
4435
4436 * boards/local-remote-host-notty.exp (${board}_file): New
4437 proc.
4438
4439 2014-05-07 Kyle McMartin <kyle@redhat.com>
4440
4441 Pushed by Joel Brobecker <brobecker@adacore.com>.
4442 * gdb.arch/aarch64-atomic-inst.c: New file.
4443 * gdb.arch/aarch64-atomic-inst.exp: New file.
4444
4445 2014-05-07 Yao Qi <yao@codesourcery.com>
4446
4447 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4448 in current context" too.
4449
4450 2014-05-05 Keith Seitz <keiths@redhat.com>
4451
4452 * gdb.linespec/ls-dollar.exp: Add test for linespec
4453 file:convenience_variable.
4454
4455 2014-05-05 Yao Qi <yao@codesourcery.com>
4456
4457 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4458 traceframes into tfile and ctf trace files. Read data from
4459 trace file and test collected data.
4460 (gdb_collect_locals_test): Likewise.
4461 (gdb_unavailable_registers_test): Likewise.
4462 (gdb_unavailable_floats): Likewise.
4463 (gdb_collect_globals_test): Likewise.
4464 (top-level): Append "ctf" to trace_file_targets if GDB
4465 supports.
4466
4467 2014-05-05 Yao Qi <yao@codesourcery.com>
4468
4469 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4470 code to ...
4471 (gdb_collect_args_test_1): ... it. New proc.
4472 (gdb_collect_locals_test): Move some code to ...
4473 (gdb_collect_locals_test_1): ... it. New proc.
4474 (gdb_unavailable_registers_test): Move some code to ...
4475 (gdb_unavailable_registers_test_1): ... it. New proc.
4476 (gdb_unavailable_floats): Move some code to ...
4477 (gdb_unavailable_floats_1): ... it. New proc.
4478
4479 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4480
4481 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4482 probes to test for bitness recognition.
4483 * gdb.arch/amd64-stap-optional-prefix.exp
4484 (test_probe_value_without_reg): New procedure.
4485 Add code to test for different kinds of bitness.
4486
4487 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4488
4489 PR breakpoints/16889
4490 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4491 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4492
4493 2014-05-01 Pedro Alves <palves@redhat.com>
4494
4495 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4496 gdb_file_cmd if no file is specified.
4497 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4498 last_loaded_file to set the remote exec-file.
4499
4500 2014-05-01 Pedro Alves <palves@redhat.com>
4501
4502 * boards/local-remote-host.exp: New file.
4503
4504 2014-05-01 Pedro Alves <palves@redhat.com>
4505
4506 * boards/local-remote-host.exp: Rename to ...
4507 * boards/local-remote-host-notty.exp: ... this.
4508
4509 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4510
4511 * gdb.ada/dyn_arrayidx: New testcase.
4512
4513 2014-04-26 Yao Qi <yao@codesourcery.com>
4514
4515 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4516 and compute the length of function main. Save it in
4517 $main_length.
4518 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4519 (top-level): Use gdb_compile to compile objects into
4520 executable and restart GDB. Remove invocation to
4521 prepare_for_testing.
4522
4523 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4524 Pedro Alves <palves@redhat.com>
4525
4526 PR server/16255
4527 * gdb.multi/multi-attach.c: New file.
4528 * gdb.multi/multi-attach.exp: New file.
4529
4530 2014-04-25 Pedro Alves <palves@redhat.com>
4531
4532 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4533 user.
4534 (top level): Test that "set remote conditional-breakpoints-packet
4535 off" works as intended.
4536 * gdb.base/dprintf.exp: Test that "set remote
4537 breakpoint-commands-packet off" works as intended.
4538 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4539 New function.
4540 (top level): Call it.
4541 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4542 remote fast-tracepoints-packet off" works as intended.
4543 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4544 * lib/gdb.exp (gdb_is_target_remote): ... here.
4545
4546 2014-04-24 David Blaikie <dblaikie@gmail.com>
4547
4548 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4549 ensure clang would not discard them.
4550 * gdb.base/gdbvars.c: Ditto.
4551 * gdb.base/memattr.c: Ditto.
4552 * gdb.base/whatis.c: Ditto.
4553 * gdb.python/py-prettyprint.c: Ditto.
4554 * gdb.trace/actions.c: Ditto.
4555 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4556 ensure clang would not discard it.
4557
4558 2014-04-24 David Blaikie <dblaikie@gmail.com>
4559
4560 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4561 clang to emit the full definition of type required by the test
4562 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4563
4564 2014-04-24 David Blaikie <dblaikie@gmail.com>
4565
4566 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4567 coax Clang into emitting the definition of the type.
4568 * gdb.cp/pr10728-x.h (y): Ditto.
4569 * gdb.cp/pr10728-y.cc (y): Ditto.
4570
4571 2014-04-24 David Blaikie <dblaikie@gmail.com>
4572
4573 * gdb.base/label.exp: XFAIL label related tests under Clang.
4574 * gdb.cp/cplabel.exp: Ditto.
4575 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4576 under Clang those using labels.
4577
4578 2014-04-25 Yao Qi <yao@codesourcery.com>
4579
4580 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4581 double_label.
4582 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4583 partial_label and double_label.
4584
4585 2014-04-24 David Blaikie <dblaikie@gmail.com>
4586
4587 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4588
4589 2014-04-24 David Blaikie <dblaikie@gmail.com>
4590
4591 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4592 of the function to work across GCC and Clang.
4593 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4594 pointer types (const void ** const V void **).
4595
4596 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4597 Walfred Tedeschi <walfred.tedeschi@intel.com>
4598
4599 * Makefile.in (EXECUTABLES): Added i386-avx512.
4600 * gdb.arch/i386-avx512.c: New file.
4601 * gdb.arch/i386-avx512.exp: Likewise.
4602
4603 2014-04-23 Keith Seitz <keiths@redhat.com>
4604
4605 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4606 (mi_make_breakpoint_table): New procedure.
4607 (mi_create_breakpoint): Use mi_make_breakpoint
4608 and return the result.
4609 (mi_make_breakpoint): New procedure.
4610 (mi_build_kv_pairs): New procedure.
4611
4612 * gdb.mi/mi-break.exp: Remove unused globals,
4613 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4614 All callers updated.
4615 * gdb.mi/mi-dprintf.exp: Use variable to track command
4616 number.
4617 Update all callers of mi_create_breakpoint and use
4618 mi_make_breakpoint_table.
4619 Remove any unused global variables.
4620 * gdb.mi/mi-nonstop.exp: Likewise.
4621 * gdb.mi/mi-nsintrall.exp: Likewise.
4622 * gdb.mi/mi-nsmoribund.exp: Likewise.
4623 * gdb.mi/mi-nsthrexec.exp: Likewise.
4624 * gdb.mi/mi-reverse.exp: Likewise.
4625 * gdb.mi/mi-simplerun.exp: Likewise.
4626 * gdb.mi/mi-stepn.exp: Likewise.
4627 * gdb.mi/mi-syn-frame.exp: Likewise.
4628 * gdb.mi/mi-until.exp: Likewise.
4629 * gdb.mi/mi-var-cp.exp: Likewise.
4630 * gdb.mi/mi-var-display.exp: Likewise.
4631 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4632 * gdb.mi/mi2-var-child.exp: Likewise.
4633 * gdb.mi/mi-vla-c99.exp: Likewise.
4634 * lib/mi-support.exp: Likewise.
4635
4636 From Ian Lance Taylor <iant@cygnus.com>:
4637 * lib/gdb.exp (parse_args): New procedure.
4638
4639 2014-04-23 Pedro Alves <palves@redhat.com>
4640
4641 * gdb.base/break-unload-file.c: New file.
4642 * gdb.base/break-unload-file.exp: New file.
4643 * gdb.base/sym-file-lib.c (baz): New function.
4644 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4645 field.
4646 (load): Store the segment's mapped size.
4647 (unload): New function.
4648 (unload_shlib): New function.
4649 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4650 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4651 set a breakpoint at baz, and call it.
4652 * gdb.base/sym-file.exp: New tests for stale breakpoint
4653 instructions.
4654
4655 2014-04-23 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4658 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4659 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4660 * gdb.base/hbreak-unmapped.c: New file.
4661 * gdb.base/hbreak-unmapped.exp: New file.
4662 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4663 * lib/gdb.exp (gdb_is_target_remote): ... here.
4664
4665 2014-04-22 Pedro Alves <palves@redhat.com>
4666
4667 * gdb.base/consecutive-step-over.c: New file.
4668 * gdb.base/consecutive-step-over.exp: New file.
4669
4670 2014-04-22 Pedro Alves <palves@redhat.com>
4671
4672 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4673 instead of send_gdb/gdb_expect.
4674
4675 2014-04-22 Yao Qi <yao@codesourcery.com>
4676
4677 * lib/trace-support.exp (generate_tracefile): New procedure.
4678 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4679 return 0.
4680 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4681 if generate_tracefile returns 1.
4682
4683 2014-04-18 Tom Tromey <palves@redhat.com>
4684 Pedro alves <tromey@redhat.com>
4685
4686 PR backtrace/15558
4687 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4688 with a backtrace limit.
4689 * gdb.python/py-frame-inline.exp: Test running to an inline
4690 function with a backtrace limit, and printing the newest frame.
4691 * gdb.python/py-frame-inline.c (main): Call f.
4692
4693 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4694
4695 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4696
4697 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4698
4699 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4700 Drop prefix from unsupported source file path.
4701
4702 2014-04-17 Yao Qi <yao@codesourcery.com>
4703
4704 * lib/gdb.exp (with_target_charset): New proc.
4705 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4706 with_target_charset.
4707 (test_print_strings): Likewise.
4708 (test_repeat_bytes): Likewise.
4709 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4710 for some tests.
4711
4712 2014-04-16 Keith Seitz <keiths@redhat.com>
4713
4714 PR gdb/15827
4715 * gdb.dwarf2/corrupt.c: New file.
4716 * gdb.dwarf2/corrupt.exp: New file.
4717
4718 2014-04-16 Keith Seitz <keiths@redhat.com>
4719
4720 PR c++/16597
4721 * gdb.cp/namelessclass.cc: New file.
4722 * gdb.cp/namelessclass.exp: New file.
4723 * gdb.cp/namelessclass.S: New file.
4724
4725 2014-04-16 Doug Evans <dje@google.com>
4726
4727 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4728 Add comment.
4729 (gdbserver_default_get_comm_port): New function.
4730 (gdbserver_start): Check if board file provided
4731 "gdbserver,get_comm_port" and use it if so.
4732 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4733 (gdb,socketport): Set to "stdio".
4734 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4735 (stdio_gdbserver_template): Delete.
4736 (${board}_get_remote_address): Update.
4737 (${board}_build_remote_cmd): Delete.
4738 (${board}_get_comm_port): New function.
4739 (${board}_spawn): Update.
4740 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4741 Delete.
4742 (${board}_get_remote_address): Update.
4743 (${board}_get_comm_port): New function.
4744
4745 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
4746
4747 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4748 appearing in any order.
4749
4750 2014-04-15 Doug Evans <dje@google.com>
4751
4752 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4753 uninitialized value of "description".
4754
4755 2014-04-15 Keith Seitz <keiths@redhat.com>
4756
4757 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4758 Remove unused globals.
4759 (test_running_the_program): Likewise.
4760 (test_controlled_execution): Likewise.
4761 (test_controlling_breakpoints): Likewise.
4762 (test_program_termination): Likewise.
4763
4764 2014-04-15 Keith Seitz <keiths@redhat.com>
4765
4766 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4767 unused globals.
4768 (test_rbreak_creation_and_listing): Likewise.
4769 (test_ignore_count): Likewise.
4770 (test_error): Likewise.
4771
4772 2014-04-15 Pedro Alves <palves@redhat.com>
4773
4774 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4775 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4776 sym-file-loader.c.
4777 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4778 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4779 to sym-file-loader.c.
4780 (struct library): Forward declare.
4781 (load_shlib, lookup_function): Change prototypes.
4782 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4783 (translate_offset): Remove declarations.
4784 (get_text_addr): New declaration.
4785 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4786 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4787 sym-file-loader.h.
4788 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4789 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4790 here from sym-file-loader.h.
4791 (struct library): New structure.
4792 (load_shlib, lookup_function): Change prototypes and adjust to
4793 work with a struct library.
4794 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4795 (translate_offset): Make static.
4796 (get_text_addr): New function.
4797 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4798
4799 2014-04-15 Pedro Alves <palves@redhat.com>
4800
4801 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4802
4803 2014-04-15 Pedro Alves <palves@redhat.com>
4804
4805 * gdb.base/sym-file-loader.c: Include <limits.h>.
4806 (SELF_LINK): New define.
4807 (get_origin): New function.
4808 (load_shlib): Use it.
4809 * gdb.base/sym-file.exp: Don't early return if the target is
4810 remote. Use runto_main, and issue fail is that fails. Use
4811 gdb_load_shlibs.
4812 (shlib_name): Delete.
4813 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4814
4815 2014-04-15 Pedro Alves <palves@redhat.com>
4816
4817 * gdb.base/sym-file.exp: Remove regex characters from test
4818 message. Don't refer to breakpoint numbers in test messages.
4819
4820 2014-04-14 Keith Seitz <keiths@redhat.com>
4821
4822 PR c++/16253
4823 * gdb.cp/var-tag.cc: New file.
4824 * gdb.cp/var-tag.exp: New file.
4825 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4826 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4827 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4828 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4829
4830 2014-04-14 Tom Tromey <tromey@redhat.com>
4831
4832 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4833 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4834 type.
4835 * gdb.cp/enum-class.exp: New file.
4836 * gdb.cp/enum-class.cc: New file.
4837
4838 2014-04-14 Tom Tromey <tromey@redhat.com>
4839
4840 * gdb.dwarf2/enum-type.exp: New file.
4841
4842 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4843
4844 * gdb.mi/mi-vla-c99.exp: New file.
4845 * gdb.mi/vla.c: New file.
4846
4847 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4848
4849 * gdb.base/vla-datatypes.c: New file.
4850 * gdb.base/vla-datatypes.exp: New file.
4851
4852 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4853
4854 * gdb.base/vla-ptr.c: New file.
4855 * gdb.base/vla-ptr.exp: New file.
4856
4857 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4858
4859 * gdb.dwarf2/count.exp: New file.
4860
4861 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4862
4863 * gdb.base/vla-sideeffect.c: New file.
4864 * gdb.base/vla-sideeffect.exp: New file.
4865
4866 2014-04-14 David Blaikie <dblaikie@gmail.com>
4867
4868 * gdb.mi/non-stop.c: Add return value for non-void function return
4869 statement.
4870 * gdb.threads/staticthreads.c: Ditto.
4871
4872 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4873 Doug Evans <xdje42@gmail.com>
4874
4875 * gdb.guile/scm-value.c: Improve test case.
4876 * gdb.guile/scm-value.exp: Add new test.
4877
4878 2014-04-11 David Blaikie <dblaikie@gmail.com>
4879
4880 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4881 override Clang's default.
4882
4883 2014-04-11 Joel Brobecker <brobecker@adacore.com>
4884
4885 Revert the following changes (regressions):
4886
4887 * gdb.base/vla-sideeffect.c: New file.
4888 * gdb.base/vla-sideeffect.exp: New file.
4889
4890 * gdb.dwarf2/count.exp: New file.
4891
4892 * gdb.base/vla-multi.c: New file.
4893 * gdb.base/vla-multi.exp: New file.
4894
4895 * gdb.base/vla-ptr.c: New file.
4896 * gdb.base/vla-ptr.exp: New file.
4897
4898 * gdb.base/vla-datatypes.c: New file.
4899 * gdb.base/vla-datatypes.exp: New file.
4900
4901 * gdb.mi/mi-vla-c99.exp: New file.
4902 * gdb.mi/vla.c: New file.
4903
4904 2014-04-11 Keith Seitz <keiths@redhat.com>
4905
4906 PR c++/16675
4907 * gdb.cp/cpsizeof.exp: New file.
4908 * gdb.cp/cpsizeof.cc: New file.
4909
4910 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4911
4912 * gdb.mi/mi-vla-c99.exp: New file.
4913 * gdb.mi/vla.c: New file.
4914
4915 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4916
4917 * gdb.base/vla-datatypes.c: New file.
4918 * gdb.base/vla-datatypes.exp: New file.
4919
4920 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4921
4922 * gdb.base/vla-ptr.c: New file.
4923 * gdb.base/vla-ptr.exp: New file.
4924
4925 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4926
4927 * gdb.base/vla-multi.c: New file.
4928 * gdb.base/vla-multi.exp: New file.
4929
4930 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4931
4932 * gdb.dwarf2/count.exp: New file.
4933
4934 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4935
4936 * gdb.base/vla-sideeffect.c: New file.
4937 * gdb.base/vla-sideeffect.exp: New file.
4938
4939 2014-04-11 Yao Qi <yao@codesourcery.com>
4940
4941 * gdb.base/completion.exp: Check file exists before running tests
4942 on file completion.
4943
4944 2014-04-10 Pedro Alves <palves@redhat.com>
4945
4946 * gdb.base/cond-eval-mode.c: New file.
4947 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4948 prepare_for_testing to build the new file. Check result of
4949 runto_main.
4950 (test_break, test_watch): New procedures.
4951 (top level): Use them.
4952
4953 2014-04-08 Pierre Muller <muller@sourceware.org>
4954
4955 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4956 Ctrl-V use for mingw hosts.
4957
4958 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4959
4960 * gdb.python/py-value.c: Improve test case.
4961 * gdb.python/py-value.exp: Add new test.
4962
4963 2014-04-07 David Blaikie <dblaikie@gmail.com>
4964
4965 * lib/compiler.c: Identify the clang compiler.
4966 * lib/compiler.cc: Ditto.
4967
4968 2014-04-03 Yao Qi <yao@codesourcery.com>
4969
4970 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4971
4972 2014-04-01 Anton Blanchard <anton@samba.org>
4973
4974 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4975 messages unique.
4976
4977 2014-04-01 Anton Blanchard <anton@samba.org>
4978
4979 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4980 prepare_for_testing.
4981
4982 2014-04-01 Anton Blanchard <anton@samba.org>
4983
4984 * gdb.arch/ppc64-atomic-inst.c: Remove.
4985 * gdb.arch/ppc64-atomic-inst.S: New file.
4986 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4987
4988 2014-03-31 Doug Evans <dje@google.com>
4989
4990 * gdb.base/print-symbol-loading-lib.c: New file.
4991 * gdb.base/print-symbol-loading-main.c: New file.
4992 * gdb.base/print-symbol-loading.exp: New file.
4993
4994 2014-03-31 Yao Qi <yao@codesourcery.com>
4995
4996 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4997
4998 2014-03-28 Joel Brobecker <brobecker@adacore.com>
4999
5000 * gdb.ada/mi_dyn_arr: New testcase.
5001
5002 2014-03-27 Doug Evans <dje@google.com>
5003
5004 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5005
5006 2014-03-27 Yao Qi <yao@codesourcery.com>
5007
5008 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5009 if target is nios2-*-*.
5010
5011 2014-03-26 Yao Qi <yao@codesourcery.com>
5012
5013 * lib/gdb.exp (readline_is_used): New proc.
5014 * gdb.base/completion.exp: Move tests on command complete up.
5015 Skip the rest of tests if readline is not used.
5016 * gdb.ada/complete.exp: Skp the test if readline is not
5017 used.
5018 * gdb.base/filesym.exp: Likewise.
5019 * gdb.base/macscp.exp: Likewise.
5020 * gdb.base/readline-ask.exp: Likewise.
5021 * gdb.base/readline.exp: Likewise.
5022 * gdb.python/py-cmd.exp: Likewise.
5023 * gdb.trace/tfile.exp: Likewise.
5024
5025 2014-03-26 Yao Qi <yao@codesourcery.com>
5026
5027 * gdb.base/macscp.exp: Fix code format issues.
5028
5029 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5030
5031 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5032 * gdb.asm/powerpc64le.inc: New file.
5033
5034 2014-03-25 Pedro Alves <palves@redhat.com>
5035 Doug Evans <dje@google.com>
5036
5037 * gdb.base/source-execution.c: New file.
5038 * gdb.base/source-execution.exp: New file.
5039 * gdb.base/source-execution.gdb: New file.
5040
5041 2014-03-24 Doug Evans <dje@google.com>
5042
5043 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5044 using fission.
5045
5046 2014-03-24 Hui Zhu <hui@codesourcery.com>
5047 Pedro Alves <palves@redhat.com>
5048
5049 PR breakpoints/16101
5050 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5051 test pass/fail messages. Detect missing support for dprintf when
5052 breakpoints are actually inserted.
5053 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5054 breakpoints are actually inserted.
5055 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5056 fails.
5057
5058 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5059
5060 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5061
5062 2014-03-22 Doug Evans <xdje42@gmail.com>
5063
5064 * gdb.python/python.exp (python not supported): Verify multi-line
5065 python command issues an error.
5066 * gdb.guile/guile.exp (guile not supported): Verify multi-line
5067 guile command issues an error.
5068
5069 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5070
5071 * gdb.threads/thread-specific.exp: Handle the lack of usable
5072 $this_breakpoint and $this_thread.
5073
5074 2014-03-21 Hui Zhu <hui@codesourcery.com>
5075
5076 * gdb.base/attach.exp (do_command_attach_tests): New.
5077
5078 2014-03-20 Tom Tromey <tromey@redhat.com>
5079 Pedro Alves <palves@redhat.com>
5080
5081 PR cli/15718
5082 * gdb.base/condbreak-call-false.c: New file.
5083 * gdb.base/condbreak-call-false.exp: New file.
5084
5085 2014-03-20 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5088 Delete.
5089 (block_signals, unblock_signals): Delete.
5090 (child_function_2, main): Remove references to deleted variable
5091 and functions.
5092
5093 2014-03-20 Pedro Alves <palves@redhat.com>
5094
5095 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5096 Use pthread_kill to signal thread 2.
5097 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5098 Adjust to make the test send itself a signal rather than using the
5099 host's "kill" command.
5100
5101 2014-03-20 Pedro Alves <palves@redhat.com>
5102
5103 * gdb.threads/multiple-step-overs.c: New file.
5104 * gdb.threads/multiple-step-overs.exp: New file.
5105 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5106 Adjust expected infrun debug output.
5107
5108 2014-03-20 Pedro Alves <palves@redhat.com>
5109
5110 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5111 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5112
5113 2014-03-20 Pedro Alves <palves@redhat.com>
5114
5115 PR breakpoints/7143
5116 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5117 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5118 of gdb_test_multiple.
5119 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5120 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5121
5122 2014-03-20 Pedro Alves <palves@redhat.com>
5123
5124 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5125 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5126
5127 2014-03-19 Pedro Alves <palves@redhat.com>
5128
5129 * gdb.base/async.exp: Remove early return.
5130
5131 2014-03-19 Pedro Alves <palves@redhat.com>
5132
5133 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5134
5135 2014-03-19 Pedro Alves <palves@redhat.com>
5136
5137 * gdb.base/async.exp (test_background): Expect \r\n after
5138 "completed." in the fail pattern.
5139
5140 2014-03-19 Pedro Alves <palves@redhat.com>
5141
5142 * gdb.base/async.exp (test_background): New procedure.
5143 Use it for all background execution command tests.
5144
5145 2014-03-19 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.base/async.exp: Use prepare_for_testing.
5148
5149 2014-03-19 Pedro Alves <palves@redhat.com>
5150
5151 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5152 the same line.
5153
5154 2014-03-19 Pedro Alves <palves@redhat.com>
5155
5156 * gdb.base/async.c (main): Add "jump here" and "until here" line
5157 marker comments.
5158 * gdb.base/async.exp (jump_here): New global.
5159 (jump& test): Use it.
5160 (until_here): New global.
5161 (until& test): Use it.
5162
5163 2014-03-19 Pedro Alves <palves@redhat.com>
5164
5165 * gdb.base/async.exp: Don't frob gdb_protocol.
5166
5167 2014-03-18 Doug Evans <xdje42@gmail.com>
5168
5169 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5170 Fix spelling of exec-done-display.
5171
5172 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5173
5174 PR gdb/15358
5175 * gdb.base/gdb-sigterm.c: New file.
5176 * gdb.base/gdb-sigterm.exp: New file.
5177
5178 2014-03-18 Pedro Alves <palves@redhat.com>
5179
5180 PR gdb/13860
5181 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5182 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5183 solib-event.
5184
5185 2014-03-17 Joel Brobecker <brobecker@adacore.com>
5186
5187 * gdb.ada/pckd_arr_ren: New testcase.
5188
5189 2014-03-13 Doug Evans <xdje42@gmail.com>
5190
5191 PR guile/16612
5192 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5193 collect after discarding symbols.
5194
5195 2014-03-13 Ludovic Courtès <ludo@gnu.org>
5196 Doug Evans <xdje42@gmail.com>
5197
5198 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5199 to history survives a gc.
5200
5201 2014-03-13 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.base/default.exp: Don't test "target procfs".
5204
5205 2014-03-13 Pedro Alves <palves@redhat.com>
5206
5207 * gdb.base/default.exp: Update "target child" and "target procfs"
5208 tests to not expect "Unix".
5209
5210 2014-03-12 Tom Tromey <tromey@redhat.com>
5211
5212 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5213 New procs. Add target-async tests.
5214 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5215 Add target-async tests.
5216
5217 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5218
5219 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5220 'func_start' and 'func_end' for the beginning and end of the
5221 function code, respectively.
5222 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5223 'func_end' instead of 'func' and 'main'.
5224
5225 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5226
5227 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5228 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5229 generate the debug info assembler source.
5230
5231 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5232
5233 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5234 * gdb.dwarf2/arr-subrange.exp: Likewise.
5235 * gdb.dwarf2/dwz.exp: Likewise.
5236 * gdb.dwarf2/method-ptr.exp: Likewise.
5237 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5238 * gdb.dwarf2/subrange.exp: Likewise.
5239 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5240 * gdb.dwarf2/implptrpiece.exp: Likewise.
5241 * gdb.dwarf2/nostaticblock.exp: Likewise.
5242
5243 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5244
5245 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5246 directory to absolute path name arguments.
5247
5248 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5249
5250 * gdb.ada/tagged_access: New testcase.
5251
5252 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5253
5254 * gdb.btrace/data.exp: Update expected output.
5255
5256 2014-03-06 Yao Qi <yao@codesourcery.com>
5257
5258 * gdb.trace/pr16508.exp: New file.
5259
5260 2014-03-05 Pedro Alves <palves@redhat.com>
5261
5262 PR gdb/16575
5263 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5264 procedure.
5265 (top level): Adjust to use it. Add tests that exercise breakpoint
5266 interaction with the code-cache.
5267
5268 2014-02-26 Ludovic Courtès <ludo@gnu.org>
5269
5270 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5271 test for 'history-append!'.
5272
5273 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5274
5275 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5276 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5277 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5278 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5279 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5280 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5281
5282 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5283
5284 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5285 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5286 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5287
5288 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5289
5290 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5291
5292 2014-02-26 Joel Brobecker <brobecker@adacore.com>
5293
5294 * gdb.dwarf2/arr-stride.c: New file.
5295 * gdb.dwarf2/arr-stride.exp: New file.
5296
5297 2014-02-26 Pedro Alves <palves@redhat.com>
5298
5299 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5300 that won't ever trigger. Make sure that GDB reports the correct
5301 breakpoint that caused the stop.
5302
5303 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5304
5305 PR gdb/16626
5306 * gdb.base/auto-load-script: New file.
5307 * gdb.base/auto-load.c: New file.
5308 * gdb.base/auto-load.exp: New file.
5309
5310 PR gdb/16626
5311 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5312
5313 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5314
5315 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5316 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5317
5318 2014-02-24 Doug Evans <dje@google.com>
5319
5320 * lib/gdb.exp (run_on_host): Log error output if program fails.
5321
5322 2014-02-21 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.threads/step-after-sr-lock.c: Rename to ...
5325 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5326 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5327 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5328 ... this.
5329
5330 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5331
5332 PR tdep/16397
5333 * gdb.arch/amd64-stap-special-operands.exp: New file.
5334 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5335 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5336 * gdb.arch/amd64-stap-triplet.S: Likewise.
5337 * gdb.arch/amd64-stap-triplet.c: Likewise.
5338
5339 2014-02-20 Joel Brobecker <brobecker@adacore.com>
5340
5341 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5342 in .section pseudo-op.
5343
5344 2014-02-20 lin zuojian <manjian2006@gmail.com>
5345 Joel Brobecker <brobecker@adacore.com>
5346 Doug Evans <xdje42@gmail.com>
5347
5348 PR symtab/16581
5349 * gdb.dwarf2/dw2-icycle.S: New file.
5350 * gdb.dwarf2/dw2-icycle.c: New file.
5351 * gdb.dwarf2/dw2-icycle.exp: New file.
5352
5353 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5354
5355 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5356 operations on gdb.Value objects.
5357 * gdb.python/py-value-cc.exp: Add new test to test operations on
5358 gdb.Value objects.
5359
5360 2014-02-18 Doug Evans <dje@google.com>
5361
5362 * Makefile.in (TESTS): New variable.
5363 (expanded_tests, expanded_tests_or_none): New variables
5364 (check-single): Pass $(expanded_tests_or_none) to runtest.
5365 (check-parallel): Only run tests in $(TESTS) if non-empty.
5366 (check/no-matching-tests-found): New rule.
5367 * README: Document TESTS makefile variable.
5368
5369 2014-02-18 Doug Evans <dje@google.com>
5370
5371 * Makefile.in (check-parallel): rm -rf outputs temp.
5372
5373 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5374
5375 Fix "ERROR: no fileid for" in the testsuite.
5376 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5377
5378 2014-02-12 Doug Evans <dje@google.com>
5379
5380 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5381 (MISCELLANEOUS): New variable.
5382 (clean): rm -rf $(MISCELLANEOUS).
5383 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5384 dwp live in the same directory as symlinks, with each symlink pointed
5385 to a differently named file in a different directory.
5386
5387 2014-02-11 Doug Evans <dje@google.com>
5388
5389 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5390 of Tcl file commands.
5391
5392 2014-02-10 Mark Kettenis <kettenis@gnu.org>
5393
5394 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5395 "kill -SIGUSR1 -1".
5396
5397 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5398
5399 * gdb.ada/tick_length_array_enum_idx: New testcase.
5400
5401 2014-02-10 Doug Evans <xdje42@gmail.com>
5402
5403 * configure.ac (AC_OUTPUT): Add gdb.guile.
5404 * configure: Regenerate.
5405 * lib/gdb-guile.exp: New file.
5406 * lib/gdb.exp (get_target_charset): New function.
5407 * gdb.base/help.exp: Update expected output from "apropos apropos".
5408 * gdb.guile/Makefile.in: New file.
5409 * gdb.guile/guile.exp: New file.
5410 * gdb.guile/scm-arch.c: New file.
5411 * gdb.guile/scm-arch.exp: New file.
5412 * gdb.guile/scm-block.c: New file.
5413 * gdb.guile/scm-block.exp: New file.
5414 * gdb.guile/scm-breakpoint.c: New file.
5415 * gdb.guile/scm-breakpoint.exp: New file.
5416 * gdb.guile/scm-disasm.c: New file.
5417 * gdb.guile/scm-disasm.exp: New file.
5418 * gdb.guile/scm-equal.c: New file.
5419 * gdb.guile/scm-equal.exp: New file.
5420 * gdb.guile/scm-error.exp: New file.
5421 * gdb.guile/scm-error.scm: New file.
5422 * gdb.guile/scm-frame-args.c: New file.
5423 * gdb.guile/scm-frame-args.exp: New file.
5424 * gdb.guile/scm-frame-args.scm: New file.
5425 * gdb.guile/scm-frame-inline.c: New file.
5426 * gdb.guile/scm-frame-inline.exp: New file.
5427 * gdb.guile/scm-frame.c: New file.
5428 * gdb.guile/scm-frame.exp: New file.
5429 * gdb.guile/scm-generics.exp: New file.
5430 * gdb.guile/scm-gsmob.exp: New file.
5431 * gdb.guile/scm-iterator.c: New file.
5432 * gdb.guile/scm-iterator.exp: New file.
5433 * gdb.guile/scm-math.c: New file.
5434 * gdb.guile/scm-math.exp: New file.
5435 * gdb.guile/scm-objfile-script-gdb.in: New file.
5436 * gdb.guile/scm-objfile-script.c: New file.
5437 * gdb.guile/scm-objfile-script.exp: New file.
5438 * gdb.guile/scm-objfile.c: New file.
5439 * gdb.guile/scm-objfile.exp: New file.
5440 * gdb.guile/scm-ports.exp: New file.
5441 * gdb.guile/scm-pretty-print.c: New file.
5442 * gdb.guile/scm-pretty-print.exp: New file.
5443 * gdb.guile/scm-pretty-print.scm: New file.
5444 * gdb.guile/scm-section-script.c: New file.
5445 * gdb.guile/scm-section-script.exp: New file.
5446 * gdb.guile/scm-section-script.scm: New file.
5447 * gdb.guile/scm-symbol.c: New file.
5448 * gdb.guile/scm-symbol.exp: New file.
5449 * gdb.guile/scm-symtab-2.c: New file.
5450 * gdb.guile/scm-symtab.c: New file.
5451 * gdb.guile/scm-symtab.exp: New file.
5452 * gdb.guile/scm-type.c: New file.
5453 * gdb.guile/scm-type.exp: New file.
5454 * gdb.guile/scm-value-cc.cc: New file.
5455 * gdb.guile/scm-value-cc.exp: New file.
5456 * gdb.guile/scm-value.c: New file.
5457 * gdb.guile/scm-value.exp: New file.
5458 * gdb.guile/source2.scm: New file.
5459 * gdb.guile/types-module.cc: New file.
5460 * gdb.guile/types-module.exp: New file.
5461
5462 2014-02-10 Yao Qi <yao@codesourcery.com>
5463
5464 PR testsuite/16543
5465 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5466 * configure: Regenerated.
5467 * Makefile.in: New file.
5468
5469 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5470
5471 * gdb.python/py-framefilter.exp: Fix typo.
5472
5473 2014-02-08 Yao Qi <yao@codesourcery.com>
5474
5475 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5476 that no =breakpoint-modified is emitted when breakpoints are
5477 modified through MI commands.
5478
5479 2014-02-07 Pedro Alves <pedro@codesourcery.com>
5480 Pedro Alves <palves@redhat.com>
5481
5482 * gdb.threads/step-after-sr-lock.c: New file.
5483 * gdb.threads/step-after-sr-lock.exp: New file.
5484
5485 2014-02-07 Pedro Alves <palves@redhat.com>
5486
5487 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5488
5489 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5490
5491 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5492 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5493
5494 2014-02-06 Doug Evans <xdje42@gmail.com>
5495
5496 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5497 output.
5498
5499 * gdb.gdb/python-interrupts.exp: New file.
5500
5501 2014-02-05 Yao Qi <yao@codesourcery.com>
5502
5503 * gdb.trace/report.exp (use_collected_data): Test the output
5504 of "info threads" and "info inferiors".
5505
5506 2014-02-05 Yao Qi <yao@codesourcery.com>
5507
5508 Revert this patch:
5509
5510 2013-05-24 Yao Qi <yao@codesourcery.com>
5511
5512 * gdb.trace/tfile.exp: Test inferior and thread.
5513
5514 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5515
5516 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5517 on a function.
5518 * gdb.base/step-bt.c: Call hello via function pointer to make
5519 sure its first instruction is executed on powerpc64le-linux.
5520
5521 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5522
5523 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5524
5525 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5526
5527 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5528 of the test patterns for use on little-endian systems.
5529
5530 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5531
5532 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5533 (decimal_vector): Fix for little-endian.
5534
5535 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5536
5537 * gdb.arch/sparc-sysstep.exp: New file.
5538 * gdb.arch/sparc-sysstep.c: Likewise.
5539
5540 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5541
5542 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5543
5544 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5545
5546 2014-01-23 Tom Tromey <tromey@redhat.com>
5547
5548 * gdb.ada/array_char_idx: New testcase.
5549
5550 2014-01-23 Tom Tromey <tromey@redhat.com>
5551
5552 PR python/16487:
5553 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5554 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5555 classes.
5556
5557 2014-01-23 Tom Tromey <tromey@redhat.com>
5558
5559 PR python/16491:
5560 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5561 string from an inferior frame.
5562 * gdb.python/py-framefilter-mi.exp: Update.
5563
5564 2014-01-22 Doug Evans <dje@google.com>
5565
5566 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5567
5568 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5569
5570 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5571
5572 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5573
5574 * gdb.trace/entry-values.exp: Remove excess space character from
5575 regex patterns. Handle s390 call instruction.
5576
5577 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5578
5579 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5580 define "*_start" label. Make "name" static.
5581 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5582 ${name} by references to ${name}_start.
5583
5584 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5585
5586 * gdb.base/info-macros.exp: Remove "debug" from the compile
5587 options.
5588
5589 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5590
5591 * gdb.dlang/demangle.exp: New file.
5592
5593 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5594
5595 * gdb.dlang/primitive-types.exp: New file.
5596
5597 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5598
5599 * configure.ac: Create gdb.dlang/Makefile.
5600 * configure: Regenerate.
5601 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5602 * gdb.dlang/Makefile.in: New file.
5603 * lib/d-support.exp: New file.
5604 * lib/gdb.exp (skip_d_tests): New proc.
5605
5606 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5607
5608 * gdb.btrace/delta.exp: Check reverse stepi.
5609 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5610 * gdb.btrace/finish.exp: New.
5611 * gdb.btrace/next.exp: New.
5612 * gdb.btrace/nexti.exp: New.
5613 * gdb.btrace/record_goto.c: Add comments.
5614 * gdb.btrace/step.exp: New.
5615 * gdb.btrace/stepi.exp: New.
5616 * gdb.btrace/multi-thread-step.c: New.
5617 * gdb.btrace/multi-thread-step.exp: New.
5618 * gdb.btrace/rn-dl-bind.c: New.
5619 * gdb.btrace/rn-dl-bind.exp: New.
5620 * gdb.btrace/data.c: New.
5621 * gdb.btrace/data.exp: New.
5622 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5623
5624 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5625
5626 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5627 * gdb.btrace/exception.exp: Update.
5628 * gdb.btrace/instruction_history.exp: Update.
5629 * gdb.btrace/record_goto.exp: Update.
5630 * gdb.btrace/tailcall.exp: Update.
5631 * gdb.btrace/unknown_functions.exp: Update.
5632 * gdb.btrace/delta.exp: New.
5633
5634 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5635
5636 * gdb.btrace/record_goto.exp: Add backtrace test.
5637 * gdb.btrace/tailcall.exp: Add backtrace test.
5638
5639 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5640
5641 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5642 * gdb.btrace/record_goto.c: New.
5643 * gdb.btrace/record_goto.exp: New.
5644 * gdb.btrace/x86-record_goto.S: New.
5645
5646 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5647
5648 * gdb.btrace/function_call_history.exp: Update tests.
5649 * gdb.btrace/instruction_history.exp: Update tests.
5650
5651 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5652
5653 * gdb.btrace/function_call_history.exp: Fix expected field
5654 order for "record function-call-history".
5655 Add new tests for "record function-call-history /c".
5656 * gdb.btrace/exception.cc: New.
5657 * gdb.btrace/exception.exp: New.
5658 * gdb.btrace/tailcall.exp: New.
5659 * gdb.btrace/x86-tailcall.S: New.
5660 * gdb.btrace/x86-tailcall.c: New.
5661 * gdb.btrace/unknown_functions.c: New.
5662 * gdb.btrace/unknown_functions.exp: New.
5663 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5664
5665 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5666
5667 * gdb.btrace/instruction_history.exp: Update.
5668 * gdb.btrace/function_call_history.exp: Update.
5669
5670 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5671
5672 * gdb.btrace/function_call_history.exp: Fix expected function
5673 trace.
5674 * gdb.btrace/instruction_history.exp: Initialize traced.
5675 Remove traced_functions.
5676
5677 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5678
5679 * gdb.btrace/function_call_history.exp: Update
5680 * gdb.btrace/instruction_history.exp: Update.
5681
5682 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5683
5684 * gdb.btrace/enable.exp: Update expected text.
5685
5686 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5687
5688 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5689 bytes.
5690
5691 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5692
5693 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5694
5695 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5696
5697 * lib/gdb.exp (supports_process_record): Return true for
5698 arm*-linux*. (supports_reverse): Likewise.
5699
5700 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5701
5702 PR python/15464
5703 PR python/16113
5704 * gdb.python/py-type.c: Enhance test case.
5705 * gdb.python/py-value-cc.cc: Likewise
5706 * gdb.python/py-type.exp: Add new tests.
5707 * gdb.python/py-value-cc.exp: Likewise
5708
5709 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5710 Pedro Alves <palves@redhat.com>
5711
5712 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5713 Make "name" extern.
5714 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5715 references to ${name}_start by references to ${name}.
5716
5717 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5718
5719 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5720
5721 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5722
5723 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5724
5725 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5726 Pedro Alves <palves@redhat.com>
5727
5728 * gdb.mi/mi-info-os.exp: Connect to the target with
5729 mi_gdb_target_load.
5730
5731 2014-01-08 Pedro Alves <palves@redhat.com>
5732
5733 * gdb.threads/reconnect-signal.c: New file.
5734 * gdb.threads/reconnect-signal.exp: New file.
5735
5736 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5737
5738 * gdb.base/source-dir.exp: New file.
5739
5740 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5741
5742 * gdb.ada/mi_interface: New testcase.
5743
5744 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5745
5746 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5747 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5748 gdb.ada/pp-rec-component/pck.ads: New files.
5749
5750 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5751
5752 * gdb.python/py-pp-integral.c: New file.
5753 * gdb.python/py-pp-integral.py: New file.
5754 * gdb.python/py-pp-integral.exp: New file.
5755
5756 For older changes see ChangeLog-1993-2013.
5757 \f
5758 ;; Local Variables:
5759 ;; mode: change-log
5760 ;; left-margin: 8
5761 ;; fill-column: 74
5762 ;; version-control: never
5763 ;; End:
5764
5765 Copyright 2014-2015 Free Software Foundation, Inc.
5766 Copying and distribution of this file, with or without modification,
5767 are permitted provided the copyright notice and this notice are preserved.