Explicit locations: introduce explicit locations
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f00aae0f
KS
12015-08-11 Keith Seitz <keiths@redhat.com>
2
3 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4 test.
5 Add tests for missing ",FMT" and ",".
6
e27852be
DE
72015-08-10 Doug Evans <dje@google.com>
8 Keith Seitz <keiths@redhat.com>
9
10 PR gdb/17960
11 * gdb.base/completion.exp: Add location completer tests.
12
7f03bd92
PA
132015-08-07 Pedro Alves <palves@redhat.com>
14
15 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16 tests here.
17 (top level): Run do_test with and without displaced stepping.
18
3fc8eb30
PA
192015-08-07 Pedro Alves <palves@redhat.com>
20
21 * gdb.base/valgrind-disp-step.c: New file.
22 * gdb.base/valgrind-disp-step.exp: New file.
23
d4569d7b
PA
242015-08-07 Pedro Alves <palves@redhat.com>
25
26 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
27 Delete function.
28 (main): Add alarm. Run an infinite loop instead of calling
29 wait_threads.
30 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
31 comment.
32 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
33 Delete function.
34 (main): Add alarm. Run an infinite loop instead of calling
35 wait_threads.
36 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
37 comment.
38
e1316e60
PA
392015-08-07 Pedro Alves <palves@redhat.com>
40
41 * gdb.base/checkpoint-ns.exp: New file.
42 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
43 standard_testfile.
44
da8c46d2
MM
452015-08-07 Markus Metzger <markus.t.metzger@intel.com>
46
47 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
48 * gdb.btrace/instruction_history.exp: Update.
49 * gdb.btrace/tsx.exp: New.
50 * gdb.btrace/tsx.c: New.
51
de1c2c52
PA
522015-08-06 Pedro Alves <palves@redhat.com>
53
54 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
55 increase timeout.
56 * gdb.reverse/until-precsave.exp: Bump timeouts.
57
782e0bf4
PA
582015-08-06 Pedro Alves <palves@redhat.com>
59
60 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
61
83e97ed0
PA
622015-08-06 Pedro Alves <palves@redhat.com>
63
64 PR gdb/18749
65 * gdb.threads/process-dies-while-handling-bp.c: New file.
66 * gdb.threads/process-dies-while-handling-bp.exp: New file.
67
863d01bd
PA
682015-08-06 Pedro Alves <palves@redhat.com>
69
70 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
71 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
72
0a39bb32
PA
732015-08-05 Pedro Alves <palves@redhat.com>
74
75 * gdb.threads/next-while-other-thread-longjmps.c: New file.
76 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
77
ee2d2b10
SL
782015-08-03 Sandra Loosemore <sandra@codesourcery.com>
79
80 * gdb.base/bp-permanent.exp: Report test as unsupported if
81 the target cannot stop at the permanent breakpoint.
82
4e1bdb00
DE
832015-08-03 Doug Evans <dje@google.com>
84
85 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
86 10000.
87
3d338901
DE
882015-08-03 Doug Evans <dje@google.com>
89
90 * Makefile.in (workers/%.worker, build-perf): New rule.
91 (GDB_PERFTEST_MODE): New variable.
92 (check-perf): Use it.
93 (clean): Clean up gdb.perf parallel build subdirs.
94 * lib/build-piece.exp: New file.
95 * lib/gdb.exp (make_gdb_parallel_path): New function
96 (standard_output_file, standard_temp_file): Call it.
97 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
98 of $GDB_PARALLEL.
99 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
100
af061d3e
DE
1012015-08-03 Doug Evans <dje@google.com>
102
8e1afc81 103 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
104 (LOG_FILE_NAME): New global.
105 (TextReporter.__init__): Initialize self.txt_sum.
106 (TextReporter.report): Add support for multiple data-points.
107 Move report to perftest.sum, put raw data in perftest.log.
108 (TextReporter.start): Open sum and log files.
109 (TextReporter.end): Close sum and log files.
8e1afc81
DE
110 * gdb.perf/lib/perftest/testresult.py
111 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 112
2c8c5d37
PA
1132015-07-31 Pedro Alves <palves@redhat.com>
114
115 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
116 Use spawn_id_get_pid. Wait for spawn id after eof. Use
117 kill_wait_spawned_process instead of explicit "kill -9".
118 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
119 returning a spawn id instead of a pid. Use spawn_id_get_pid and
120 kill_wait_spawned_process.
121 * gdb.base/attach-twice.exp: Likewise.
122 * gdb.base/attach.exp: Likewise.
123 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
124 gdb_test_multiple.
125 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
126 returning a spawn id instead of a pid. Use spawn_id_get_pid and
127 kill_wait_spawned_process.
128 * gdb.base/valgrind-infcall.exp: Likewise.
129 * gdb.multi/multi-attach.exp: Likewise.
130 * gdb.python/py-prompt.exp: Likewise.
131 * gdb.python/py-sync-interp.exp: Likewise.
132 * gdb.server/ext-attach.exp: Likewise.
133 * gdb.threads/attach-into-signal.exp (corefunc): Use
134 spawn_wait_for_attach, spawn_id_get_pid and
135 kill_wait_spawned_process.
136 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
137 spawn_wait_for_attach returning a spawn id instead of a pid. Use
138 spawn_id_get_pid and kill_wait_spawned_process.
139 * gdb.threads/attach-stopped.exp (corefunc): Use
140 spawn_wait_for_attach, spawn_id_get_pid and
141 kill_wait_spawned_process.
142 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
143 Use spawn_id_get_pid. Wait for spawn id after eof. Use
144 kill_wait_spawned_process instead of explicit "kill -9".
145 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
146 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
147 (spawn_wait_for_attach): Use spawn instead of exec to spawn
148 processes. Don't map cygwin/windows pids here. Now returns a
149 spawn id list.
150
032a0fca
SL
1512015-07-30 Sandra Loosemore <sandra@codesourcery.com>
152
153 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
154 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
155 correct patch.
156
61a934ca
SL
1572015-07-30 Sandra Loosemore <sandra@codesourcery.com>
158
159 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
160
4bc4d428
SL
1612015-07-30 Sandra Loosemore <sandra@codesourcery.com>
162
163 Reapply:
164 2014-05-21 Mark Wielaard <mjw@redhat.com>
165
166 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
167
998d452a
PA
1682015-07-30 Pedro Alves <palves@redhat.com>
169
170 * linux-low.c (handle_extended_wait): Set the child's last
171 reported status to TARGET_WAITKIND_STOPPED.
172
69dde7dc
PA
1732015-07-30 Pedro Alves <palves@redhat.com>
174
175 PR threads/18600
176 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
177 only shows inferior 1.
178
4dd63d48
PA
1792015-07-30 Simon Marchi <simon.marchi@ericsson.com>
180 Pedro Alves <palves@redhat.com>
181
182 PR threads/18600
183 * gdb.threads/fork-plus-threads.c: New file.
184 * gdb.threads/fork-plus-threads.exp: New file.
185
d618e4c5
PP
1862015-07-29 Patrick Palka <patrick@parcs.ath.cx>
187
188 * gdb.base/batch-preserve-term-settings.exp
189 (test_terminal_settings_preserved_after_cli_exit): Use
190 send_quit_command.
191
1eef6428
PA
1922015-07-29 Pedro Alves <palves@redhat.com>
193 Don Breazeal <donb@codesourcery.com>
194
195 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
196 output from both inferior_spawn_id and gdb_spawn_id.
197
7da5b897
SDJ
1982015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
199
200 * gdb.threads/attach-into-signal.exp (corefunc): Use
201 with_test_prefix on nested loops, uniquefying the test messages.
202
dac804df
SDJ
2032015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
204
205 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
206 commit.
207
06265e53
PP
2082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
209
210 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
211 New proc.
212 (test_terminal_settings_preserved_after_sigterm): New test.
213
18206ca3
PP
2142015-07-29 Patrick Palka <patrick@parcs.ath.cx>
215
216 * gdb.base/batch-preserve-term-settings.exp
217 (test_terminal_settings_preserved_after_cli_exit): New test.
218
90074d11
PP
2192015-07-29 Patrick Palka <patrick@parcs.ath.cx>
220
221 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
222 manipulation of saved_gdbflags.
223 (test_terminal_settings_preserved): Remove global declaration of
224 the unused variable pagination_prompt. Remove manipulation of
225 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
226 GDBFLAGS.
227
eb1a7902
PA
2282015-07-29 Pedro Alves <palves@redhat.com>
229
230 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
231
8b75dd3b
PA
2322015-07-29 Pedro Alves <palves@redhat.com>
233
234 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
235 at the top.
236
dedad4e3
PA
2372015-07-29 Pedro Alves <palves@redhat.com>
238
239 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
240 (main): Call gdb_unbuffer_output.
241 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
242 (main): Call gdb_unbuffer_output.
243 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
244 (main): Call gdb_unbuffer_output.
245 * gdb.base/call-strs.exp: Adjust to step over the
246 gdb_unbuffer_output call.
247 * gdb.base/catch-gdb-caused-signals.c: Include
248 "../lib/unbuffer_output.c".
249 (main): Call gdb_unbuffer_output.
250 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
251 (main): Call gdb_unbuffer_output.
252 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
253 (main): Call gdb_unbuffer_output.
254 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
255 (main): Call gdb_unbuffer_output.
256 * gdb.base/shlib-call.exp: Adjust to step over the
257 gdb_unbuffer_output call.
258 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
259 (main): Call gdb_unbuffer_output.
260 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
261 (main): Call gdb_unbuffer_output.
262 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
263 (main): Rename to ...
264 (test): ... this.
265 (main): Reimplement.
266 * gdb.base/varargs.exp: Run to test instead of to main.
267 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
268 (main): Call gdb_unbuffer_output.
269
58789a91
PA
2702015-07-29 Pedro Alves <palves@redhat.com>
271
272 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
273 factore out from mi_continue_dprintf. For call-style dprintfs,
274 expect dprintf output out of $inferior_spawn_id.
275 (mi_continue_dprintf): Use mi_expect_dprintf.
276 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
277 (main): Call gdb_unbuffer_output.
278
e8376742
PA
2792015-07-29 Pedro Alves <palves@redhat.com>
280
281 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
282 (default_mi_gdb_start): Set inferior_spawn_id instead of
283 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
284 gdb_spawn_id.
285 (mi_gdb_test): Always expect inferior output from both
286 $inferior_spawn_id and $gdb_spawn_id.
287
08280010
PA
2882015-07-29 Pedro Alves <palves@redhat.com>
289
290 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
291 send_inferior and $inferior_spawn_id.
292
4d30e432
PA
2932015-07-29 Pedro Alves <palves@redhat.com>
294
295 * gdb.gdb/complaints.exp (test_initial_complaints)
296 (test_serial_complaints, test_short_complaints): Use
297 gdb_test_stdio.
298 (test_empty_complaint): Handle $inferior_spawn_id !=
299 $gdb_spawn_id.
300
0d30a335
PA
3012015-07-29 Pedro Alves <palves@redhat.com>
302
303 * gdb.base/varargs.exp: Use gdb_test_stdio.
304
39413b29
PA
3052015-07-29 Pedro Alves <palves@redhat.com>
306
307 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
308
7cb000a9
PA
3092015-07-29 Pedro Alves <palves@redhat.com>
310
311 * gdb.base/ending-run.exp: Use gdb_test_stdio.
312
d7b8ac82
PA
3132015-07-29 Pedro Alves <palves@redhat.com>
314
315 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
316 parameter into two new parameters, "inf_result" and "gdb_result".
317 Expect inferior output and gdb output from $inferior_spawn_id and
318 $gdb_spawn_id, respectively. Adjust all callers.
319
789c3a0c
PA
3202015-07-29 Pedro Alves <palves@redhat.com>
321
322 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
323 of gdb_test_sequence.
324
77e760c3
PA
3252015-07-29 Pedro Alves <palves@redhat.com>
326
327 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
328 (saw_spurious_output): Expect inferior output from
329 $inferior_spawn_id. Use gdb_test_stdio.
330
8396d2cd
PA
3312015-07-29 Pedro Alves <palves@redhat.com>
332
333 * gdb.base/dprintf.exp: Use standard_testfile. Change
334 prepare_for_testing call.
335 (srcfile): Don't set.
336 (restart): New procedure.
337 (test_dprintf): New procecure, use to continue over dprintfs.
338 (test_call, test_agent): New procedures, tests moved here.
339 Restart gdb and recreate dprintfs. Adjust expected output.
340
2051d61f
PA
3412015-07-29 Pedro Alves <palves@redhat.com>
342
343 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
344
452397af
PA
3452015-07-29 Pedro Alves <palves@redhat.com>
346
347 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
348
8aed9555
PA
3492015-07-29 Pedro Alves <palves@redhat.com>
350
351 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
352 gdb_test_stdio.
353
188a61b4
PA
3542015-07-29 Pedro Alves <palves@redhat.com>
355
356 * lib/gdb.exp (gdb_test_stdio): New procedure.
357
12264a45
PA
3582015-07-29 Pedro Alves <palves@redhat.com>
359
360 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
361
23ffc893
PA
3622015-07-29 Pedro Alves <palves@redhat.com>
363
364 * gdb.base/call-signal-resume.exp: Remove check for
365 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
366 * gdb.base/unwindonsignal.exp: Likewise.
367 * gdb.base/call-signals.c (gen_signal): Remove printf call.
368 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
369
65566918
PA
3702015-07-29 Pedro Alves <palves@redhat.com>
371
372 * gdb.base/siginfo-addr.c (pass): New function.
373 (handler): Call it iff si_addr is correct.
374 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
375 Set a breakpoint at "pass" and continue to it.
376
d60a9221
SDJ
3772015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
378
379 * gdb.python/py-objfile.exp: Make some tests have unique names.
380 * gdb.python/py-pp-registration.exp: Likewise.
381
bde40b8f
PA
3822015-07-28 Pedro Alves <palves@redhat.com>
383
384 * gdb.server/server-exec-info.exp: Issue a "disconnect".
385
13e1dec8
SM
3862015-07-27 Simon Marchi <simon.marchi@ericsson.com>
387
388 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
389
da33c9a7
SM
3902015-07-27 Simon Marchi <simon.marchi@ericsson.com>
391
392 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
393
077836f7
PP
3942015-07-27 Patrick Palka <patrick@parcs.ath.cx>
395
396 * gdb.base/gdb-sigterm-2.exp: New test.
397
b8cc7b2e
DE
3982015-07-25 Doug Evans <xdje42@gmail.com>
399
400 Revert:
401 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
402 (workers/%.worker, build-perf): New rule.
403 (GDB_PERFTEST_MODE): New variable.
404 (check-perf): Use it.
405 (clean): Clean up gdb.perf parallel build subdirs.
406 * lib/build-piece.exp: New file.
407 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
408 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
409 name.
410 (standard_temp_file): Ditto.
411 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
412 of $GDB_PARALLEL.
413
c8bd4544
DE
4142015-07-24 Doug Evans <dje@google.com>
415
416 * gdb.perf/lib/perftest/utils.py: New file.
417 * gdb.perf/gm-hello.cc: New file.
418 * gdb.perf/gm-pervasive-typedef.cc: New file.
419 * gdb.perf/gm-pervasive-typedef.h: New file.
420 * gdb.perf/gm-std.cc: New file.
421 * gdb.perf/gm-std.h: New file.
422 * gdb.perf/gm-use-cerr.cc: New file.
423 * gdb.perf/gm-utils.h: New file.
424 * gdb.perf/gmonster-null-lookup.py: New file.
425 * gdb.perf/gmonster-pervasive-typedef.py: New file.
426 * gdb.perf/gmonster-print-cerr.py: New file.
427 * gdb.perf/gmonster-ptype-string.py: New file.
428 * gdb.perf/gmonster-runto-main.py: New file.
429 * gdb.perf/gmonster-select-file.py: New file.
430 * gdb.perf/gmonster1-null-lookup.exp: New file.
431 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
432 * gdb.perf/gmonster1-print-cerr.exp: New file.
433 * gdb.perf/gmonster1-ptype-string.exp: New file.
434 * gdb.perf/gmonster1-runto-main.exp: New file.
435 * gdb.perf/gmonster1-select-file.exp: New file.
436 * gdb.perf/gmonster1.cc: New file.
437 * gdb.perf/gmonster1.exp: New file.
438 * gdb.perf/gmonster2-null-lookup.exp: New file.
439 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
440 * gdb.perf/gmonster2-print-cerr.exp: New file.
441 * gdb.perf/gmonster2-ptype-string.exp: New file.
442 * gdb.perf/gmonster2-runto-main.exp: New file.
443 * gdb.perf/gmonster2-select-file.exp: New file.
444 * gdb.perf/gmonster2.cc: New file.
445 * gdb.perf/gmonster2.exp: New file.
446
6eab34f3
DE
4472015-07-24 Doug Evans <dje@google.com>
448
449 * gdb.perf/README: New file.
450 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
451 * lib/gen-perf-test.exp: New file.
452
63738bfd
DE
4532015-07-24 Doug Evans <dje@google.com>
454
455 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
456 (PerfTest::startup): New function.
457 (PerfTest::run): Return result of calling body.
458 (PerfTest::assemble): Rewrite.
459 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
460 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
461 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
462 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
463 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
464
7b606f95
DE
4652015-07-24 Doug Evans <dje@google.com>
466
467 * lib/gdb.exp (clean_restart): Make executable optional.
468
a97b16b8
DE
4692015-07-24 Doug Evans <dje@google.com>
470
471 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
472 compiler_info references.
473 * gdb.cp/temargs.exp: Ditto.
474 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
475 (get_compiler_info): Early exit if already computed. Set compiler_info
476 to "unknown" if there was a problem.
477 (test_compiler_info): Add function comment. Call get_compiler_info.
478
35baa57f
DE
4792015-07-24 Doug Evans <dje@google.com>
480
481 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
482 (workers/%.worker, build-perf): New rule.
483 (GDB_PERFTEST_MODE): New variable.
484 (check-perf): Use it.
485 (clean): Clean up gdb.perf parallel build subdirs.
486 * lib/build-piece.exp: New file.
487 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
488 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
489 name.
490 (standard_temp_file): Ditto.
491 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
492 of $GDB_PARALLEL.
493
6ebea266
DE
4942015-07-24 Doug Evans <dje@google.com>
495
496 * lib/future.exp (gdb_default_target_compile): New option
497 "early_flags".
498 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
499 --as-needed.
500
1e76a7e9
SDJ
5012015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
502
503 * gdb.base/catch-syscall.exp: Call gdb_exit before
504 gdb_skip_xml_test.
505
5068630a
PA
5062015-07-24 Pedro Alves <palves@redhat.com>
507
508 * gdb.python/py-events.exp: Accept output between the stop event
509 and the prompt.
510 * gdb.python/py-evsignal.exp: Likewise.
511 * gdb.python/py-evthreads.exp: Likewise.
512
77598427
PA
5132015-07-24 Pedro Alves <palves@redhat.com>
514
515 PR gdb/18717
516 * gdb.threads/non-ldr-exit.c: New file.
517 * gdb.threads/non-ldr-exit.exp: New file.
518
11e6c98f
YQ
5192015-07-24 Yao Qi <yao.qi@linaro.org>
520
521 * gdb.server/ext-wrapper.exp: Test --wrapper option when
522 restarting process.
523
51aee833
YQ
5242015-07-24 Yao Qi <yao.qi@linaro.org>
525
526 * gdb.server/ext-restart.exp: New file.
527
8cfe207c
YQ
5282015-07-24 Yao Qi <yao.qi@linaro.org>
529
530 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
531 argument options.
532 * gdb.server/ext-wrapper.exp: New file.
533
cc12ce38
DE
5342015-07-23 Doug Evans <dje@google.com>
535
536 * gdb.dwarf2/dw2-dummy-cu.S: New file.
537 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
538
d0d84780
PMR
5392015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
540
541 * gdb.ada/var_arr_typedef.exp: New testcase.
542 * gdb.ada/var_arr_typedef/pack.adb: New file.
543 * gdb.ada/var_arr_typedef/pack.ads: New file.
544 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
545
8b558f79
JB
5462015-07-20 Joel Brobecker <brobecker@adacore.com>
547
548 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
549
775a3298
JK
5502015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
551
552 * gdb.arch/i386-biarch-core.exp: Replace istarget
553 by "complete set gnutarget". Remove expectation for the "core-file"
554 command.
555
db1ff28b
JK
5562015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
557
558 Revert the previous commit:
559 Tests for validate symbol file using build-id.
560
0a94970d
JK
5612015-07-15 Aleksandar Ristovski <aristovski@qnx.com
562
563 Tests for validate symbol file using build-id.
564 * gdb.base/solib-mismatch-lib.c: New file.
565 * gdb.base/solib-mismatch-libmod.c: New file.
566 * gdb.base/solib-mismatch.c: New file.
567 * gdb.base/solib-mismatch.exp: New file.
568
03346981
SL
5692015-07-15 Sandra Loosemore <sandra@codesourcery.com>
570
571 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
572 nios2-*-linux*.
573 * gdb.base/sigbpt.exp (stepi_out): Likewise.
574 * gdb.base/siginfo.exp: Likewise.
575 * gdb.base/sigstep.exp (advance, advancei): Likewise.
576
42422cc7
PL
5772015-07-15 Pierre Langlois <pierre.langlois@arm.com>
578
579 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
580 Move it to ...
581 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
582 ... here.
583 * gdb.trace/range-stepping.exp: Check that the target supports
584 range stepping.
585
cfa68bae
JK
5862015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
587
588 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
589
8ffdba26
PA
5902015-07-14 Pedro Alves <palves@redhat.com>
591
592 * gdb.base/killed-outside.exp: New file.
593 * gdb.base/killed-outside.c: New file.
594
218a5a11
JK
5952015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
596
597 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
598 (n at main): New.
599 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
600
e03ed3c6
AA
6012015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
602
603 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
604 infcall tests instead of setting up for KFAIL.
605
485668e5
MM
6062015-07-10 Markus Metzger <markus.t.metzger@intel.com>
607
608 * gdb.btrace/record_goto-step.exp: New.
609
08464196
JK
6102015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
611
612 PR compile/18484
613 * gdb.compile/compile.c (struct struct_type): Add volatile to
614 selffield's type.
615 * gdb.compile/compile.exp
616 (compile code struct_object.selffield = &struct_object): Skip further
617 struct_object tests if this one xfails.
618
bcf5c1d9
RC
6192015-07-08 Robert O'Callahan <robert@ocallahan.org>
620
621 PR exp/18617
622 * gdb.trace/ax.exp: Add test.
623
4931af25
YQ
6242015-07-07 Yao Qi <yao.qi@linaro.org>
625
626 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
627 instead of istarget "aarch64*-*-*".
628 * gdb.arch/aarch64-fp.exp: Likewise.
629 * gdb.base/float.exp: Likewise.
630 * gdb.reverse/aarch64.exp: Likewise.
631 * lib/gdb.exp (is_aarch64_target): New proc.
632
9fcf688e
YQ
6332015-07-07 Yao Qi <yao.qi@linaro.org>
634
635 * lib/gdb.exp (is_aarch32_target): New proc.
636 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
637 instead of "istarget "arm*-*-*"".
638 * gdb.arch/arm-disp-step.exp: Likewise.
639 * gdb.arch/thumb-bx-pc.exp: Likewise.
640 * gdb.arch/thumb-prologue.exp: Likewise.
641 * gdb.arch/thumb-singlestep.exp: Likewise.
642 * gdb.base/disp-step-syscall.exp: Likewise.
643 * gdb.base/float.exp: Likewise.
644
fbd8d50d
YQ
6452015-07-07 Yao Qi <yao.qi@linaro.org>
646
647 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
648 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
649
71be1fdc
YQ
6502015-07-07 Yao Qi <yao.qi@linaro.org>
651
652 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
653 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
654 if it exists.
655 * gdb.multi/multi-arch.exp: Likewise.
656
3e221d36
SM
6572015-07-07 Simon Marchi <simon.marchi@ericsson.com>
658
659 * gdb.python/py-lazy-string.exp: Add missing parentheses to
660 print.
661
d441430b
YQ
6622015-07-07 Yao Qi <yao.qi@linaro.org>
663
664 * gdb.arch/thumb-singlestep.exp: Do one more single step.
665
06f810bd
MG
6662015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
667
668 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
669 '[' and ']' characters.
670
5e61e7c0
IB
6712015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
672
673 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
674
28bf096c
PA
6752015-06-29 Pedro Alves <palves@redhat.com>
676
677 PR threads/18127
678 * gdb.threads/hand-call-new-thread.c: New file.
679 * gdb.threads/hand-call-new-thread.c: New file.
680
ee93cd5e
KS
6812015-06-26 Keith Seitz <keiths@redhat.com>
682 Doug Evans <dje@google.com>
683
684 PR 16253
685 * gdb.cp/var-tag-2.cc: New file.
686 * gdb.cp/var-tag-3.cc: New file.
687 * gdb.cp/var-tag-4.cc: New file.
688 * gdb.cp/var-tag.cc: New file.
689 * gdb.cp/var-tag.exp: New file.
690
fc637f04
PP
6912015-06-26 Patrick Palka <patrick@parcs.ath.cx>
692
693 * gdb.base/history-duplicates.exp: New test.
694
2e52ae68
PP
6952015-06-26 Patrick Palka <patrick@parcs.ath.cx>
696
697 * gdb.base/completion.exp: Test the completion of the "focus"
698 command.
699
6e22494e
JK
7002015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
701
702 * gdb.arch/amd64-prologue-skip.S: New file.
703 * gdb.arch/amd64-prologue-skip.exp: New file.
704
bf7b9cd9
SM
7052015-06-25 Simon Marchi <simon.marchi@ericsson.com>
706
707 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
708 is_address_zero_readable check.
709
201e8dfd
PB
7102015-06-24 Peter Bergner <bergner@vnet.ibm.com>
711
712 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
713 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
714
5cd867b4
YQ
7152015-06-24 Yao Qi <yao.qi@linaro.org>
716
717 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
718 linux targets.
719
4d7be007
YQ
7202015-06-24 Yao Qi <yao.qi@linaro.org>
721
722 * lib/gdb.exp (supports_get_siginfo_type): New proc.
723 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
724 * gdb.base/siginfo-thread.exp: Likewise.
725
07fcd301
YQ
7262015-06-22 Yao Qi <yao.qi@linaro.org>
727
728 * boards/remote-gdbserver-on-localhost.exp: Add comments.
729
52042a00
YQ
7302015-06-22 Yao Qi <yao.qi@linaro.org>
731
732 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
733 aarch64*-*-*.
734 (skip_hw_watchpoint_tests): Likewise.
735
74bd41ce
PP
7362015-06-18 Patrick Palka <patrick@parcs.ath.cx>
737
738 * gdb.base/gdbinit-history.exp: Test the interaction between
739 setting GDBHISTSIZE and setting the history size via .gdbinit.
740
bc460514
PP
7412015-06-17 Patrick Palka <patrick@parcs.ath.cx>
742
743 PR gdb/16999
744 * gdb.base/gdbhistsize-history.exp: New test.
745
b58c513b
PP
7462015-06-17 Patrick Palka <patrick@parcs.ath.cx>
747
748 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
749 with GDBHISTSIZE.
750 * gdb.base/readline.exp: Likewise.
751
92046791
YQ
7522015-06-17 Yao Qi <yao.qi@linaro.org>
753
754 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
755 line.
756
2093d2d3
PP
7572015-06-17 Patrick Palka <patrick@parcs.ath.cx>
758
759 * gdb.base/gdbinit-history.exp: Add test case to check that
760 an unlimited history file does not get truncated on exit.
761
e6c693af
AA
7622015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
763
764 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
765 (VECTOR): New macro. Use it...
766 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
767 ...for these typedefs.
768 (int8, char1, int1, double1): New typedefs.
769 (struct just_int2, struct two_int2): New structures.
770 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
771 (add_structvecs, add_singlevecs): New functions.
772 (main): Call add_some_intvecs twice.
773 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
774 the compile and exit upon failure. Try compiling for the "native"
775 architecture. Test inferior function calls with vector arguments
776 and vector return value handling with "finish" and "return".
777
c74f7d1c
JT
7782015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
779
780 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
781 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
782 PE file.
783 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
784
98aa42ee
AT
7852015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
786
787 PR breakpoints/16465
788 * gdb.mi/mi-dprintf-pending.c: New file.
789 * gdb.mi/mi-dprintf-pending.exp: New test.
790 * gdb.mi/mi-dprintf-pendshr.c: New file.
791
7d73c23c 7922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 793 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
794
795 * gdb.arch/i386-mpx-map.c: New file.
796 * gdb.arch/i386-mpx-map.exp: New File.
797
7982015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
799
800 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
801 * gdb.arch/i386-mpx.exp: Indentation fixed.
802
8032015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
804
805 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
806 function and improved indentation.
807 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
808 gdb_test_multiple. Added additional tests to skip the test.
809
8102015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
811
812 * gdb.arch/i386-avx512.c: Change path in include file.
813 * gdb.arch/i386-avx512.exp: Change include dir path
814 compilation flag.
815 * gdb.arch/i386-mpx.c: Change path in include file.
816 * gdb.arch/i386-mpx.exp: Change include dir path compilation
817 flag.
818
d5eba19a
JK
8192015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
820
821 * gdb.compile/compile-print.exp (compile print *vararray@3)
822 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
823
7f361056
JK
8242015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
825
826 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
827 (do not keep jit in memory): ... this.
828 (expect 5): Change it to ...
829 (expect no 5): ... this.
830
3b462ec2
SM
8312015-06-02 Simon Marchi <simon.marchi@ericsson.com>
832
833 PR gdb/15564
834 * gdb.mi/mi-detach.exp: New file.
835
e0619de6
JK
8362015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
837
838 PR symtab/18392
839 * gdb.arch/amd64-tailcall-self.S: New file.
840 * gdb.arch/amd64-tailcall-self.c: New file.
841 * gdb.arch/amd64-tailcall-self.exp: New file.
842
e970cb34
DB
8432015-05-28 Don Breazeal <donb@codesourcery.com>
844
845 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
846 tests for remote targets by checking is_target_gdbserver.
847
b2e2f908
DE
8482015-05-27 Doug Evans <dje@google.com>
849
850 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
851 * gdb.dwarf2/opaque-type-lookup.c: New file.
852 * gdb.dwarf2/opaque-type-lookup.exp: New file.
853
82c7be31
DE
8542015-05-26 Doug Evans <dje@google.com>
855
856 * gdb.cp/iostream.cc: New file.
857 * gdb.cp/iostream.exp: New file.
858
b4f54984
DE
8592015-05-26 Doug Evans <dje@google.com>
860
861 * gdb.dwarf2/dw2-op-call.exp: Update.
862 * gdb.dwarf2/dw4-sig-types.exp: Update.
863 * gdb.dwarf2/implptr.exp: Update.
864 * gdb.mi/mi-cmd-param-changed.exp: Update.
865
4ea6efe9
DE
8662015-05-26 Doug Evans <dje@google.com>
867
868 * gdb.python/py-lazy-string.c: New file.
869 * gdb.python/py-lazy-string.exp: New file.
870 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
871 (main): Update. Add estring3.
872 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
873 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
874
f6bb7db3
YQ
8752015-05-26 Omair Javaid <omair.javaid@linaro.org>
876 Yao Qi <yao.qi@linaro.org>
877
878 * gdb.reverse/aarch64.c: New.
879 * gdb.reverse/aarch64.exp: New.
880
a81bfbd0
OJ
8812015-05-26 Omair Javaid <omair.javaid@linaro.org>
882
883 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
884 (supports_reverse): Likewise.
885
158bf1b4
PP
8862015-05-22 Patrick Palka <patrick@parcs.ath.cx>
887
888 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
889 Use with_test_prefix.
890
a0145030
AB
8912015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
892
893 * gdb.base/completion.exp: Add test for completion of layout
894 names.
895
ebe3b578
AB
8962015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
897
898 * lib/gdb.exp (skip_tui_tests): New proc.
899 * gdb.base/tui-layout.exp: Check skip_tui_tests.
900
84204ed7
PA
9012015-05-19 Pedro Alves <palves@redhat.com>
902
903 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
904 Save the whole env array instead of just HOME. Unset HISTSIZE in
905 the environment while testing. Restore whole environment
906 afterwards.
907
37442ce1
DE
9082015-05-16 Doug Evans <xdje42@gmail.com>
909
910 * gdb.guile/scm-ports.c: New file.
911 * gdb.guile/scm-ports.exp: Add memory port tests.
912
36de76f9
JK
9132015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
914
915 * gdb.compile/compile-print.c: New file.
916 * gdb.compile/compile-print.exp: New file.
917
3a9558c4
JK
9182015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
919
920 * gdb.compile/compile-ops.exp: Cast param to void.
921 * gdb.compile/compile.exp: Complete type for _gdb_expr.
922 (compile code struct_object.selffield = &struct_object): Add xfail.
923
aa715135
JG
9242015-05-15 Joel Brobecker <brobecker@adacore.com>
925
926 * gdb.ada/arr_enum_with_gap: New testcase.
927
931e5bc3
JG
9282015-05-15 Joel Brobecker <brobecker@adacore.com>
929
930 * gdb.ada/byte_packed_arr: New testcase.
931
9cd4d857
JB
9322015-05-15 Joel Brobecker <brobecker@adacore.com>
933
934 * gdb.ada/pckd_neg: New testcase.
935
ebfd00d2
PP
9362015-05-13 Patrick Palka <patrick@parcs.ath.cx>
937
938 PR gdb/17820
939 * gdb.base/gdbinit-history.exp: New test.
940 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
941 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
942
4c082a81
SC
9432015-05-09 Siva Chandra Reddy <sivachandra@google.com>
944
945 * gdb.python/py-xmethods.cc: Enhance test case.
946 * gdb.python/py-xmethods.exp: New tests.
947 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
948 function.
949 (B_indexoper): Likewise.
950 (global_dm_list) : Add new xmethod worker functions.
951
f7797074
SDJ
9522015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
953
954 * gdb.base/coredump-filter.exp: Correctly unset
955 "coredump_var_addr" array.
956
a4674e4e
PA
9572015-05-08 Pedro Alves <palves@redhat.com>
958
959 * gdb.server/non-existing-program.exp: Unset spawn_id.
960
df2eb078
SC
9612015-05-08 Siva Chandra Reddy <sivachandra@google.com>
962
963 PR python/18291
964 * gdb.python/py-xmethods.exp: Add tests.
965
422349a3
YQ
9662015-05-08 Yao Qi <yao.qi@linaro.org>
967
968 PR gdb/18208
969 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
970 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
971 function set_coredump_filter, and remove remote_exec call.
972 Remove argument ipid. Callers update.
973 (top level): Don't get inferior's PID.
974
63fc80ce
AA
9752015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
976
977 * gdb.base/watch_thread_num.exp: Skip test on targets without
978 access watchpoints.
979
80ad801e
PA
9802015-05-06 Pedro Alves <palves@redhat.com>
981
982 PR server/18081
983 * gdb.server/non-existing-program.exp: New file.
984
0fa7fe50
JB
9852015-05-05 Joel Brobecker <brobecker@adacore.com>
986
987 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
988
3ea89b92
PMR
9892015-05-05 Joel Brobecker <brobecker@adacore.com>
990
991 * gdb.ada/out_of_line_in_inlined: New testcase.
992
87b8eff0
JB
9932015-05-05 Joel Brobecker <brobecker@adacore.com>
994
995 * gdb.ada/var_rec_arr: New testcase.
996
5fccc635
YQ
9972015-04-30 Yao Qi <yao.qi@linaro.org>
998
999 * gdb.base/break-idempotent.exp: If
1000 skip_hw_watchpoint_multi_tests returns true, skip the tests
1001 on "rwatch" and "awatch".
1002
42d38f42
YQ
10032015-04-30 Yao Qi <yao.qi@linaro.org>
1004
1005 * gdb.base/relativedebug.exp: Invoke gdb command
1006 "info sharedlibrary", and if libc.so doesn't have debug info,
1007 skip the test.
1008
2ce1cdbf
DE
10092015-04-29 Doug Evans <dje@google.com>
1010
1011 * gdb.python/py-xmethods.exp: Add ptype tests.
1012 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1013 get_result_type method.
1014
f24a38c5
LM
10152015-04-29 Luis Machado <lgustavo@codesourcery.com>
1016
1017 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1018 the target does not support hardware watchpoints.
1019
ecbf2b3c
LM
10202015-04-29 Luis Machado <lgustavo@codesourcery.com>
1021
1022 * gdb.base/break-always.exp: Abort testing if writing to memory
1023 causes an error.
1024
34f5f757
DE
10252015-04-28 Doug Evans <dje@google.com>
1026
1027 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1028 * gdb.python/py-pp-registration.exp: ... here. New file.
1029 * gdb.python/py-pp-registration.c: New file.
1030 * gdb.python/py-pp-registration.py: New file.
1031
69b4374a
DE
10322015-04-28 Doug Evans <dje@google.com>
1033
1034 * gdb.python/py-bad-printers.c: New file.
1035 * gdb.python/py-bad-printers.py: New file.
1036 * gdb.python/py-bad-printers.exp: New file.
1037
59fb7612
SS
10382015-04-28 Sasha Smundak <asmundak@google.com>
1039
1040 * gdb.python/py-type.exp: New test.
1041
2631b16a
AW
10422015-04-28 Andy Wingo <wingo@igalia.com>
1043
1044 * gdb.python/py-parameter.exp:
1045 * gdb.guile/scm-parameter.exp: Escape the path that we are
1046 matching against, as it might contain characters that are special
1047 to regular expressions.
1048
460efde1
JB
10492015-04-27 Joel Brobecker <brobecker@adacore.com>
1050
1051 * gdb.ada/rec_comp: New testcase.
1052
2d369d8e
SDJ
10532015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1054
1055 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1056 before using it.
1057
cf75d6c3
AB
10582015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1059
1060 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1061 new tests for verilog output.
1062
8dbe7ca5
YQ
10632015-04-24 Yao Qi <yao.qi@linaro.org>
1064
1065 * boards/remote-gdbserver-on-localhost.exp: New file.
1066
4ef9fb2f
PA
10672015-04-23 Pedro Alves <palves@redhat.com>
1068
1069 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1070 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1071 "end of file", remove $inferior_spawn_id from the indirect list.
1072
0a803169
PA
10732015-04-23 Pedro Alves <palves@redhat.com>
1074
1075 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1076
749ef8f8
PA
10772015-04-23 Pedro Alves <palves@redhat.com>
1078
1079 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1080 on $any_spawn_id instead of only on $gdb_spawn_id.
1081
8aae4344
PM
10822015-04-21 Pierre Muller <muller@sourceware.org>
1083
1084 PR pascal/17815
1085 * lib/pascal.exp (gpc_compile): Add new option "class".
1086 (fpc_compile): Likewise.
1087 * gdb.pascal/case-insensitive-symbols.pas: New file.
1088 * gdb.pascal/case-insensitive-symbols.exp: New file.
1089
1586c8fb
GB
10902015-04-20 Gary Benson <gbenson@redhat.com>
1091
1092 * gdb.base/attach.exp: Fix three extended remote failures.
1093
1b6e6f5c
GB
10942015-04-17 Gary Benson <gbenson@redhat.com>
1095
1096 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1097 the main executable over the remote protocol.
1098
e797481d
PA
10992015-04-16 Pedro Alves <palves@redhat.com>
1100
1101 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1102 a new gdbserver if gdbserver_reconnect_p is set.
1103
1ca99c42
PA
11042015-04-16 Pedro Alves <palves@redhat.com>
1105
1106 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1107 is set, don't exit gdbserver.
1108
af9fd6f8
AA
11092015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1110
1111 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1112 appropriate .insn, such that an older assembler can be used.
1113 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1114 the z/Architecture instruction set on 31-bit targets as well.
1115
04ff1e61
AA
11162015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1117
1118 * gdb.go/handcall.exp: Remove all logic related to the first
1119 breakpoint and rely on go_runto_main instead.
1120 * gdb.go/strings.exp: Likewise.
1121 * gdb.go/unsafe.exp: Likewise.
1122 * gdb.go/hello.exp: Likewise. Also rename the remaining
1123 breakpoint marker to "breakpoint 1".
1124 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1125 * gdb.go/strings.go: Likewise.
1126 * gdb.go/unsafe.go: Likewise.
1127 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1128 "set breakpoint 2 here" and rename the remaining breakpoint marker
1129 to "breakpoint 1".
1130
40d2f8d6
SM
11312015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1132
1133 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1134 if itertools.imap is not present.
1135 * gdb.python/py-objfile.exp: Add parentheses.
1136 * gdb.python/py-type.exp: Same.
1137 * gdb.python/py-unwind-maint.py: Same.
1138
8cbc97c6
YQ
11392015-04-15 Yao Qi <yao.qi@linaro.org>
1140
1141 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1142 of ":$ptr_size" and set its form explicitly.
1143
45fd756c
YQ
11442015-04-15 Pedro Alves <palves@redhat.com>
1145 Yao Qi <yao.qi@linaro.org>
1146
1147 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1148 timeout by factor of 4.
1149 (test_regular_watch): Likewise.
1150 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1151 * gdb.reverse/sigall-reverse.exp: Likewise.
1152 * gdb.reverse/until-precsave.exp: Likewise.
1153 * lib/gdb.exp (with_timeout_factor): New proc.
1154 (gdb_expect): Move some code to ...
1155 (get_largest_timeout): ... here. New procedure.
1156
9e811bc3
LM
11572015-04-14 Luis Machado <lgustavo@codesourcery.com>
1158
1159 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1160
0ff6fcb2
LM
11612015-04-13 Luis Machado <lgustavo@codesourcery.com>
1162
1163 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1164 to write to the .text section.
1165
7578d5f7
LM
11662015-04-13 Luis Machado <lgustavo@codesourcery.com>
1167
1168 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1169 Handle the case of targets that do not provide PID information.
1170
2efe15c4
YQ
11712015-04-13 Yao Qi <yao.qi@linaro.org>
1172
1173 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1174 and use expect instead of gdb_expect.
1175
8cd8f2f8
SDJ
11762015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1177
1178 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1179 "coredump_var_addr" to avoid naming conflict with other testcases.
1180
9ee41772
PA
11812015-04-10 Pedro Alves <palves@redhat.com>
1182
1183 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1184 gdb_test_sequence and gdb_assert.
1185
07473109
PA
11862015-04-10 Pedro Alves <palves@redhat.com>
1187
1188 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1189 test messages that don't include the breakpoint address.
1190
de3db44c
YQ
11912015-04-10 Yao Qi <yao.qi@linaro.org>
1192
1193 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1194 false for some offset and width combinations which aren't
1195 supported by linux kernel.
1196
c79d856c
PA
11972015-04-10 Pedro Alves <palves@redhat.com>
1198
1199 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1200 procedure, factored out from ...
1201 (top level): ... here. Add "set displaced-stepping" testing axis.
1202 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1203 parameter "displaced". Use it.
1204 (top level): Use foreach and add "set displaced-stepping" testing
1205 axis.
1206
ebc90b50
PA
12072015-04-10 Pedro Alves <palves@redhat.com>
1208
1209 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1210 Remove comment.
1211 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1212 both the address of the instruction that triggers the watchpoint
1213 and the address of the instruction immediately after, and use
1214 those addresses for the test. Fix comment.
1215
8f572e5c
PA
12162015-04-10 Pedro Alves <palves@redhat.com>
1217
1218 * gdb.base/sigstep.exp (breakpoint_to_handler)
1219 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1220 Test "backtrace" in handler.
1221 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1222 (top level): Add new "displaced" test axis to
1223 breakpoint_to_handler, breakpoint_to_handler_entry and
1224 breakpoint_over_handler.
1225
8d707a12
PA
12262015-04-10 Pedro Alves <palves@redhat.com>
1227
1228 PR gdb/18216
1229 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1230
ef713951
YQ
12312015-04-10 Yao Qi <yao.qi@linaro.org>
1232
1233 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1234 (test_add_rn_pc): New function.
1235 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1236 (top level): Invoke test_add_rn_pc.
1237
906d60cf
PA
12382015-04-10 Pedro Alves <palves@redhat.com>
1239
1240 PR gdb/13858
1241 * gdb.base/step-over-no-symbols.exp: New file.
1242
f2983cc3
AW
12432015-04-09 Andy Wingo <wingo@igalia.com>
1244
1245 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1246 after the Python tests.
1247
6d62641c
SDJ
12482015-04-08 Keith Seitz <keiths@redhat.com>
1249
1250 PR python/16699
1251 * gdb.python/py-completion.exp: New tests for completion.
1252 * gdb.python/py-completion.py (CompleteLimit1): New class.
1253 (CompleteLimit2): Likewise.
1254 (CompleteLimit3): Likewise.
1255 (CompleteLimit4): Likewise.
1256 (CompleteLimit5): Likewise.
1257 (CompleteLimit6): Likewise.
1258 (CompleteLimit7): Likewise.
1259
f3770638
PA
12602015-04-08 Pedro Alves <palves@redhat.com>
1261
1262 PR gdb/18214
1263 PR gdb/18216
1264 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1265 function.
1266 (main): Install it as SIGUSR1 handler.
1267 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1268 parameter. Always use "setup" as prefix. Toggle "set
1269 displaced-stepping" off/on depending on global. Don't switch to
1270 thread 1 here.
1271 (top level): Add displaced stepping "off/on" test axis. Update
1272 "setup" calls. Wrap each subtest with with_test_prefix. Test
1273 continuing with a queued signal in each thread.
1274
4496bed7
PA
12752015-04-08 Pedro Alves <palves@redhat.com>
1276
1277 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1278 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1279 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1280 Return early if running to main fails.
1281 * gdb.trace/while-stepping.exp: Likewise.
1282
b97fde92
PA
12832015-04-07 Pedro Alves <palves@redhat.com>
1284
1285 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1286 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1287 interact with inferior program.
1288
f71c18e7
PA
12892015-04-07 Pedro Alves <palves@redhat.com>
1290
1291 * lib/gdb.exp (inferior_spawn_id): New global.
1292 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1293 spawn id after processing the user code.
1294 (default_gdb_start): Set inferior_spawn_id.
1295 (send_inferior): New procedure.
1296 * lib/gdbserver-support.exp (gdbserver_start): Set
1297 inferior_spawn_id.
1298 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1299
6423214f
PA
13002015-04-07 Pedro Alves <palves@redhat.com>
1301
1302 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1303 * lib/gdbserver-support.exp (gdbserver_start): Make
1304 $server_spawn_id global.
1305 (gdbserver_start): Don't wait for gdbserver's spawn id with
1306 expect_background.
1307 (close_gdbserver): New procedure.
1308 (gdb_exit): Rename the default version and reimplement.
1309
71c0ee8c
PA
13102015-04-07 Pedro Alves <palves@redhat.com>
1311
72f4393d 1312 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1313 append the substituted item, not the original item.
1314
203bc29b
PA
13152015-04-07 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1318 gdb_expect.
1319
508a3ddf
PA
13202015-04-07 Pedro Alves <palves@redhat.com>
1321
1322 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1323 output appearing once only.
1324
9f6dbe2b
PA
13252015-04-07 Pedro Alves <palves@redhat.com>
1326
1327 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1328 that doesn't expect anything. Return early if running to main
1329 fails.
1330
337532fa
YQ
13312015-04-07 Yao Qi <yao.qi@linaro.org>
1332
1333 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1334 (child_function): Call alarm.
1335 (main): Move call to alarm into the loop.
1336 * gdb.threads/non-stop-fair-events.exp: Build program with
1337 -DTIMEOUT=$timeout.
1338
01b622d4
DE
13392015-04-06 Doug Evans <xdje42@gmail.com>
1340
1341 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1342 Fix dest parameter to board_info.
1343 (fpc_compile): Ditto.
1344 (gdb_compile_pascal): Rename dest arg to destfile.
1345
961f4160
PMR
13462015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1347
1348 * gdb.ada/funcall_ref.exp: New file.
1349 * gdb.ada/funcall_ref/foo.adb: New file.
1350
cafda597
YQ
13512015-04-02 Yao Qi <yao.qi@linaro.org>
1352
1353 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1354 is remote.
1355
fed040c6
GB
13562015-04-02 Gary Benson <gbenson@redhat.com>
1357
1358 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1359
d11916aa
SS
13602015-04-01 Sasha Smundak <asmundak@google.com>
1361
1362 * gdb.python/py-unwind-maint.c: New file.
1363 * gdb.python/py-unwind-maint.exp: New test.
1364 * gdb.python/py-unwind-maint.py: New file.
1365 * gdb.python/py-unwind.c: New file.
1366 * gdb.python/py-unwind.exp: New test.
1367 * gdb.python/py-unwind.py: New test.
1368
a1471180
PA
13692015-04-01 Pedro Alves <palves@redhat.com>
1370
1371 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1372 to fail instead of non-existent $test.
1373
0bbeccb1
PA
13742015-04-01 Pedro Alves <palves@redhat.com>
1375
1376 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1377 GDBFLAGS if not empty.
1378
3c724c8c
PMR
13792015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1380
1381 * gdb.ada/complete.exp: Remove "multi_line".
1382 * gdb.ada/info_exc.exp: Remove "multi_line".
1383 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1384 * gdb.ada/ptype_field.exp: Remove "multi_line".
1385 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1386 * gdb.ada/tagged.exp: Remove "multi_line".
1387 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1388 [multi_line ...]
1389 * gdb.btrace/delta.exp: Likewise.
1390 * gdb.btrace/exception.exp: Likewise.
1391 * gdb.btrace/function_call_history.exp: Likewise.
1392 * gdb.btrace/instruction_history.exp: Likewise.
1393 * gdb.btrace/nohist.exp: Likewise.
1394 * gdb.btrace/record_goto.exp: Likewise.
1395 * gdb.btrace/segv.exp: Likewise.
1396 * gdb.btrace/stepi.exp: Likewise.
1397 * gdb.btrace/tailcall.exp: Likewise.
1398 * gdb.btrace/unknown_functions.exp: Likewise.
1399 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1400 * lib/gdb.exp: Add the "multi_line" helper.
1401
4eec2deb
PA
14022015-04-01 Pedro Alves <palves@redhat.com>
1403
1404 * gdb.threads/tid-reuse.c: New file.
1405 * gdb.threads/tid-reuse.exp: New file.
1406
df8411da
SDJ
14072015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1408
1409 PR corefiles/16092
1410 * gdb.base/coredump-filter.c: New file.
1411 * gdb.base/coredump-filter.exp: Likewise.
1412
6ef37366
PM
14132015-03-27 Petr Machata <pmachata@redhat.com>
1414
1415 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1416 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1417 (Dwarf::assemble): Initialize them.
1418 (Dwarf::lines): New function.
1419
7ec911b0
JT
14202015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1421
1422 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1423 SYMBOL_PREFIX for x86_64-*-cygwin.
1424
ff908ebf
AW
14252015-03-26 Andy Wingo <wingo@igalia.com>
1426
1427 PR symtab/18148
1428 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1429 const_value but not a location.
1430 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1431 location defined in non-main CUs are visible.
1432
6d5f0679
YQ
14332015-03-26 Yao Qi <yao.qi@linaro.org>
1434
1435 PR testsuite/18139
1436 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1437 Add a line number entry for the same line.
1438 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1439 Add a line number entry for the same line.
1440
2898689b
YQ
14412015-03-26 Yao Qi <yao.qi@linaro.org>
1442
1443 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1444 .int 0.
1445 (func): Likewise. Add .Lfunc_1 label.
1446 Use .Lfunc_1 label.
1447 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1448 .int 0.
1449 (func): Likewise.
1450 Use .Lfunc_1 label.
1451
85180498
YQ
14522015-03-26 Yao Qi <yao.qi@linaro.org>
1453
1454 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1455 Call gdb_compile instead to compile each .s files without debug
1456 information.
1457
8aa08a8d
YQ
14582015-03-26 Yao Qi <yao.qi@linaro.org>
1459
1460 * gdb.base/savedregs.exp (process_saved_regs): Make
1461 "Saved registers:" optional in the pattern.
1462
66849923
MM
14632015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1464
1465 * gdb.btrace/next.exp: Merged into step.exp.
1466 * gdb.btrace/finish.exp: Merged into step.exp.
1467 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1468 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1469 "record goto" and checking the exact replay position.
1470 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1471 check for "Recording format" in "info record" output.
1472 * gdb.btrace/record_goto.exp: Choose test file based on target.
1473 * gdb.btrace/x86-record_goto.S: Renamed into ...
1474 * gdb.btrace/x86_64-record_goto.S: ... this.
1475 * gdb.btrace/i686-record_goto.S: New.
1476 * gdb.btrace/x86-tailcall.S: Renamed into ...
1477 * gdb.btrace/x86_64-tailcall.S: ... this.
1478 * gdb.btrace/i686-tailcall.S: New.
1479 * gdb.btrace/x86-tailcall.c: Renamed into ...
1480 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1481 separate statements. Update test.
1482 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1483 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1484 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1485 * gdb.btrace/tailcall.exp: Choose test file based on target.
1486 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1487
11cc1b74
MM
14882015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1489
1490 * gdb.btrace/exception.exp: Increase BTS buffer size.
1491
a25d8bf9
PA
14922015-03-24 Pedro Alves <palves@redhat.com>
1493
1494 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1495
856e7dd6
PA
14962015-03-24 Pedro Alves <palves@redhat.com>
1497
1498 * gdb.threads/schedlock.exp (test_step): No longer expect that
1499 "set scheduler-locking step" with "next" over a function call runs
1500 threads unlocked.
1501
ad235a41
AT
15022015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1503
1504 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1505
15630549
AT
15062015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1507
1508 PR breakpoints/16466
1509 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1510 * gdb.mi/mi-pending.c (thread_func): New function.
1511 (int main): Add threading support required.
1512 * gdb.mi/mi-pending.exp: Add tests for this issue.
1513 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1514 (pendfunc2): Remove stdio dependency.
1515 * gdb.mi/mi-pendshr2.c: New file.
1516
693dca06
KS
15172015-03-23 Keith Seitz <keiths@redhat.com>
1518
1519 * gdb.linespec/keywords.c: New file.
1520 * gdb.linespec/keywords.exp: New file.
1521
7e993ebf
KS
15222015-03-23 Keith Seitz <keiths@redhat.com>
1523
1524 PR gdb/18021
1525 * gdb.dwarf2/staticvirtual.exp: New test.
1526
bc23328c
JK
15272015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1528
1529 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1530 * README: Remove HP-UX and gdb.hp.
1531 (configuration):
1532 * configure: Regenerate.
1533 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1534 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1535 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1536 gdb.hp/gdb.defects/Makefile.
1537 * gdb.hp/Makefile.in: File deleted.
1538 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1539 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1540 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1541 * gdb.hp/gdb.aCC/run.c: File deleted.
1542 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1543 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1544 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1545 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1546 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1547 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1548 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1549 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1550 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1551 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1552 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1553 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1554 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1555 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1556 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1557 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1558 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1559 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1560 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1561 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1562 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1563 * gdb.hp/gdb.compat/average.c: File deleted.
1564 * gdb.hp/gdb.compat/sum.c: File deleted.
1565 * gdb.hp/gdb.compat/xdb.c: File deleted.
1566 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1567 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1568 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1569 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1570 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1571 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1572 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1573 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1574 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1575 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1576 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1577 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1578 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1579 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1580 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1581 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1582 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1583 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1584 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1585 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1586 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1587 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1588 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1589 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1590 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1591 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1592 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1593 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1594 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1595 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1596 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1597 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1598 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1599 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1600 * gdb.hp/tools/odump: File deleted.
1601
8bf3b159
PA
16022015-03-19 Pedro Alves <palves@redhat.com>
1603
1604 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1605 (saw_thread_3): New globals.
1606 (top level): Increment them when an event for the corresponding
1607 thread is seen.
1608 (no thread starvation): New test.
1609
eb54c8bf
PA
16102015-03-19 Pedro Alves <palves@redhat.com>
1611
1612 * gdb.threads/continue-pending-status.c: New file.
1613 * gdb.threads/continue-pending-status.exp: New file.
1614
32d2e5d6
PA
16152015-03-18 Pedro Alves <palves@redhat.com>
1616
1617 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1618 Use gdb_is_target_remote instead of is_remote. Use
1619 gdb_test_multiple instead of gdb_expect. Exit early if
1620 gdb_test_multiple hits its internal matches. Tighten stepi tests
1621 expected output. Fail on exit with any signal, instead of just
1622 SIGILL.
1623
f68f11b7
YQ
16242015-03-18 Yao Qi <yao.qi@linaro.org>
1625
1626 PR tdep/18107
1627 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1628 variable.
1629 * gdb.base/catch-syscall.exp: Don't skip it on
1630 aarch64*-*-linux* target. Remove elements in all_syscalls.
1631 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1632 target.
1633 (setup_all_syscalls): New proc.
1634
ca5fd19b
YQ
16352015-03-16 Yao Qi <yao.qi@linaro.org>
1636
1637 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1638 (top level): Skip tests if valid_addr_p returns false for
1639 $cmd1 or $cmd2.
1640
85642ba0
AW
16412015-03-11 Andy Wingo <wingo@igalia.com>
1642
1643 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1644
e03f9645
YQ
16452015-03-11 Yao Qi <yao.qi@linaro.org>
1646
1647 * gdb.base/catch-syscall.exp: Fix typo in comments.
1648
5d0962b2
YQ
16492015-03-11 Yao Qi <yao.qi@linaro.org>
1650
1651 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1652
b2df3cef
PA
16532015-03-09 Pedro Alves <palves@redhat.com>
1654
1655 * dg-extract-results.py: Delete.
1656
ef878e53
PA
16572015-03-09 Pedro Alves <palves@redhat.com>
1658
1659 Merge dg-extract-results.sh from GCC upstream (r218843).
1660
1661 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1662 * dg-extract-results.sh: Use --text with grep to avoid issues with
1663 binary files. Fall back to cat -v, if that doesn't work.
1664
9494d219
PA
16652015-03-05 Pedro Alves <palves@redhat.com>
1666
1667 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1668
a8d9763a
SM
16692015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1670
1671 * lib/mi-support.exp (mi_expect_interrupt): Accept
1672 alternative event for when in all-stop mode.
1673
be9957b8
PA
16742015-03-04 Pedro Alves <palves@redhat.com>
1675
1676 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1677
d57be0f4 16782015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1679
1680 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1681
c214c7cf
AA
16822015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1683
1684 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1685 regexps for GDB's current line display, accept a hex address
1686 preceding the line number.
1687
6d74a497
AA
16882015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1689
1690 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1691 the 'arch1' variable for "s390*-linux*" targets.
1692
511aee7c
PA
16932015-03-04 Pedro Alves <palves@redhat.com>
1694
1695 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1696 (main): Pass missing retval argument to pthread_join call.
1697
95e50b27
PA
16982015-03-02 Pedro Alves <palves@redhat.com>
1699
1700 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1701 (top level): Call do_test with non-stop as well.
1702
28054d69
PA
17032015-03-02 Pedro Alves <palves@redhat.com>
1704
1705 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1706 -1.
1707
4fa5d7b4
AA
17082015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1709
1710 * gdb.arch/s390-vregs.exp: New test.
1711 * gdb.arch/s390-vregs.S: New file.
1712
97c18565
PA
17132015-02-27 Pedro Alves <palves@redhat.com>
1714
1715 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1716 call to catch_command_errors.
1717 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1718 catch_command_errors.
1719
a37bfa30
PA
17202015-02-27 Pedro Alves <palves@redhat.com>
1721
1722 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1723 "true" for boolean result.
1724 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1725 prototype of main.
1726
6f98576f
PA
17272015-02-27 Pedro Alves <palves@redhat.com>
1728
1729 * lib/unbuffer_output.c: New file.
1730 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1731 (main): Call gdb_unbuffer_output.
1732
eba5ab56
YQ
17332015-02-27 Yao Qi <yao.qi@linaro.org>
1734
1735 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1736 target.
1737
0def5aaa
DE
17382015-02-26 Doug Evans <dje@google.com>
1739
1740 * gdb.cp/class2.cc (Dbase, D): New classes.
1741 (main): New local delta.
1742 * gdb.cp/class2.exp: Test printing delta.
1743 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1744 (dynbar): New global.
1745 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1746
081a1c2c
JK
17472015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1748
1749 * gdb.compile/compile-ifunc.c: New file.
1750 * gdb.compile/compile-ifunc.exp: New file.
1751
2f41223f
AT
17522015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1753
1754 * gdb.base/structs.exp: Check for correct struct on finish.
1755
03eddd80
YQ
17562015-02-26 Yao Qi <yao.qi@linaro.org>
1757
1758 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1759 is zero.
1760
80c57053
JK
17612015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1762
1763 * gdb.arch/cordic.ko.bz2: New file.
1764 * gdb.arch/cordic.ko.debug.bz2: New file.
1765 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1766
21613c12
YQ
17672015-02-25 Yao Qi <yao.qi@linaro.org>
1768
1769 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1770 aarch64*-*-* target.
1771
d8b901ed
PA
17722015-02-23 Pedro Alves <palves@redhat.com>
1773
1774 * lib/gdb.exp (delete_breakpoints): Rewrite using
1775 gdb_test_multiple.
1776
e5b85ead
PA
17772015-02-23 Pedro Alves <palves@redhat.com>
1778
1779 * gdb.base/info-os.c: Include stdlib.h.
1780
85c3a371
DE
17812015-02-22 Doug Evans <xdje42@gmail.com>
1782
1783 PR symtab/17855
1784 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1785 is read after symbols have been re-read.
1786 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1787 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1788
96553a0c
DE
17892015-02-21 Doug Evans <dje@google.com>
1790
1791 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1792
97a0c697
JK
17932015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1794
1795 PR corefiles/17808
1796 * gdb.arch/i386-biarch-core.core.bz2: New file.
1797 * gdb.arch/i386-biarch-core.exp: New file.
1798
a47cd6e9
PA
17992015-02-21 Pedro Alves <palves@redhat.com>
1800
1801 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1802 runto_main fails.
1803
c5facdc4
PA
18042015-02-20 Pedro Alves <palves@redhat.com>
1805
1806 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1807 info probes.
1808
2db9a427
PA
18092015-02-20 Pedro Alves <palves@redhat.com>
1810
1811 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1812
60fb7e9e
PA
18132015-02-20 Pedro Alves <palves@redhat.com>
1814
1815 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1816 clean_restart before gdb_target_supports_trace.
1817
5c5019c2
PA
18182015-02-20 Pedro Alves <palves@redhat.com>
1819
1820 PR threads/18006
1821 * gdb.threads/clone-thread_db.c: New file.
1822 * gdb.threads/clone-thread_db.exp: New file.
1823
c9587f88
AT
18242015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1825
1826 PR breakpoints/16812
1827 * gdb.base/catch-gdb-caused-signals.c: New file.
1828 * gdb.base/catch-gdb-caused-signals.exp: New file.
1829
f6a88844
JM
18302015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1831
1832 * configure: Regenerated.
1833 * configure.ac: Use GDB_AC_TRANSFORM.
1834 * aclocal.m4: sinclude ../transform.m4.
1835
497c491b
JM
18362015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1837
1838 * lib/dtrace.exp: New file.
1839 * gdb.base/dtrace-probe.exp: Likewise.
1840 * gdb.base/dtrace-probe.d: Likewise.
1841 * gdb.base/dtrace-probe.c: Likewise.
1842 * lib/pdtrace.in: Likewise.
1843 * configure.ac: Output variables with the transformed names of
1844 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1845 * configure: Regenerated.
1846
03e98035
JM
18472015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1848
1849 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1850 expected message when trying to access $_probe_* convenience
1851 variables while not on a probe.
1852
63cc30e9
JK
18532015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1854
1855 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1856
0703599a
PA
18572015-02-11 Pedro Alves <pedro@codesourcery.com>
1858
1859 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1860 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1861
7e60a48e
DE
18622015-02-10 Doug Evans <xdje42@gmail.com>
1863
1864 * lib/gdb.exp (gdb_load): Always return a result.
1865
01b088bc
PA
18662015-02-10 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.threads/signal-sigtrap.c: New file.
1869 * gdb.threads/signal-sigtrap.exp: New file.
1870
b05ec7a5
AT
18712015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1872
1873 * gdb.trace/no-attach-trace.c: New file.
1874 * gdb.trace/no-attach-trace.exp: New file.
1875
a2c2acaf
MW
18762015-02-09 Mark Wielaard <mjw@redhat.com>
1877
1878 * gdb.dwarf2/atomic.c: New file.
1879 * gdb.dwarf2/atomic-type.exp: Likewise.
1880
31fd9caa
MM
18812015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1882
1883 * gdb.btrace/buffer-size.exp: Update "info record" output.
1884 * gdb.btrace/delta.exp: Update "info record" output.
1885 * gdb.btrace/enable.exp: Update "info record" output.
1886 * gdb.btrace/finish.exp: Update "info record" output.
1887 * gdb.btrace/instruction_history.exp: Update "info record" output.
1888 * gdb.btrace/next.exp: Update "info record" output.
1889 * gdb.btrace/nexti.exp: Update "info record" output.
1890 * gdb.btrace/step.exp: Update "info record" output.
1891 * gdb.btrace/stepi.exp: Update "info record" output.
1892 * gdb.btrace/nohist.exp: Update "info record" output.
1893
d33501a5
MM
18942015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1895
1896 * gdb.btrace/buffer-size: New.
1897
f4abbc16
MM
18982015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1899
1900 * gdb.btrace/delta.exp: Update "info record" output.
1901 * gdb.btrace/enable.exp: Update "info record" output.
1902 * gdb.btrace/finish.exp: Update "info record" output.
1903 * gdb.btrace/instruction_history.exp: Update "info record" output.
1904 * gdb.btrace/next.exp: Update "info record" output.
1905 * gdb.btrace/nexti.exp: Update "info record" output.
1906 * gdb.btrace/step.exp: Update "info record" output.
1907 * gdb.btrace/stepi.exp: Update "info record" output.
1908 * gdb.btrace/nohist.exp: Update "info record" output.
1909
b9d61307
SM
19102015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1911
1912 PR gdb/15678
1913 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1914
e584fdbc
PA
19152015-02-06 Pedro Alves <palves@redhat.com>
1916
1917 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1918 macro.
1919 (seconds_left, again): New globals.
1920 (main): Wait seconds_left in a 1-second sleep loop instead of
1921 sleeping 180 seconds. If 'again' is set, reset the seconds
1922 counter.
1923 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1924 'again' in the inferior before detaching. Print the seconds left.
1925 (options): New global.
1926 (top level): Build program with -DTIMEOUT=$timeout.
1927
77f41761
PA
19282015-02-06 Pedro Alves <palves@redhat.com>
1929
1930 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1931 determine how many seconds to pass to 'alarm'.
1932 * gdb.base/gdb-sigterm.exp (top level): Build program with
1933 -DTIMEOUT=$timeout.
1934 (do_test): Return success/failure indication. Add more verbose
1935 logging. Don't fail if 200 single steps are seen. Instead, fail
1936 when the test times out.
1937 (passes): New global.
1938 (top level): Break the testing loop if testing fails on any
1939 iteration. Use gdb_assert.
1940
b9394193
DB
19412015-02-04 Don Breazeal <donb@codesourcery.com>
1942
1943 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1944 and initialize them.
1945 (ipc_cleanup): New function.
1946 (main): Don't declare shmid, semid, and msqid. Add a call to
1947 atexit so that we call ipc_cleanup on exit.
1948
42d9e528
PA
19492015-02-04 Pedro Alves <palves@redhat.com>
1950
1951 * boards/native-extended-gdbserver.exp: Remove any target variant
1952 specifications from the board name before clearing the isremote
1953 flag from board_info.
1954
ae6ae975
DE
19552015-01-31 Doug Evans <xdje42@gmail.com>
1956
1957 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1958
cfb069a8
GB
19592015-01-31 Gary Benson <gbenson@redhat.com>
1960
1961 * gdb.base/completion.exp: Disable completion limiting for
1962 existing tests. Add new tests to check completion limiting.
1963 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1964
5dd31d79
DE
19652015-01-31 Doug Evans <xdje42@gmail.com>
1966
1967 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1968
9f050062
DE
19692015-01-31 Doug Evans <xdje42@gmail.com>
1970
1971 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1972 entries. Duplicate file section script entries.
1973 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1974 inlined entries. Add test for safe-path rejection.
1975 * gdb.python/py-section-script.c: Add duplicate inlined section script
1976 entries. Duplicate file section script entries.
1977 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1978 inlined entries. Add test for safe-path rejection.
1979
df25ebbd
JB
19802015-01-29 Joel Brobecker <brobecker@adacore.com>
1981
1982 * gdb.ada/disc_arr_bound: New testcase.
1983
4a0ca9ec
JB
19842015-01-29 Joel Brobecker <brobecker@adacore.com>
1985
1986 * gdb.ada/mi_var_array: New testcase.
1987
3a8b707a
DE
19882015-01-27 Doug Evans <dje@google.com>
1989
1990 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1991 Add test for objfile.filename, objfile.username after objfile
1992 has been unloaded.
1993
f8313f6e
JB
19942015-01-26 Joel Brobecker <brobecker@adacore.com>
1995
1996 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1997 the second test to print the name attribute of value
1998 returned by the call to gdb.lookup_type, and adjust
1999 the expected output accordingly.
2000
37bc665e
MW
20012015-01-25 Mark Wielaard <mjw@redhat.com>
2002
2003 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2004 * gdb.base/disp-step-fork.c: Include unistd.h.
2005 * gdb.base/siginfo-obj.c: Include stdio.h.
2006 * gdb.base/siginfo-thread.c: Likewise.
2007 * gdb.mi/non-stop.c: Include unistd.h.
2008 * gdb.mi/nsthrexec.c: Include stdio.h.
2009 * gdb.mi/pthreads.c: Include unistd.h.
2010 * gdb.modula2/unbounded1.c (main): Declare returns int.
2011 * gdb.reverse/consecutive-reverse.c: Likewise.
2012 * gdb.threads/create-fail.c: Include unistd.h.
2013 * gdb.threads/killed.c: Likewise.
2014 * gdb.threads/linux-dp.c: Likewise.
2015 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2016 * gdb.threads/non-ldr-exc-2.c: Likewise.
2017 * gdb.threads/non-ldr-exc-3.c: Likewise.
2018 * gdb.threads/non-ldr-exc-4.c: Likewise.
2019 * gdb.threads/pthreads.c: Include unistd.h.
2020 (main): Declare returns int.
2021 * gdb.threads/tls-main.c (foo): New declaration.
2022 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2023
f7e5394d
SM
20242015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2025
2026 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2027 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2028
743649fd
MW
20292015-01-15 Mark Wielaard <mjw@redhat.com>
2030
2031 * gdb.base/noreturn-return.c: New file.
2032 * gdb.base/noreturn-return.exp: New file.
2033 * gdb.base/noreturn-finish.c: New file.
2034 * gdb.base/noreturn-finish.exp: New file.
2035
198297aa
PA
20362015-01-23 Pedro Alves <palves@redhat.com>
2037
2038 * gdb.threads/continue-pending-after-query.c: New file.
2039 * gdb.threads/continue-pending-after-query.exp: New file.
2040
717cf30c
AG
20412015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2042 Simon Marchi <simon.marchi@ericsson.com>
2043
2044 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2045 * gdb.base/valgrind-db-attach.exp: Same.
2046 * gdb.base/valgrind-infcall.exp: Same.
2047 * lib/mi-support.exp (default_mi_gdb_start): Same.
2048 * lib/prompt.exp (default_prompt_gdb_start): Same.
2049 * lib/gdb.exp (default_gdb_spawn): Same.
2050 (gdb_interact): New.
2051
2052
4b62a76e
JK
20532015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2054
2055 * gdb.compile/compile.exp (pointer to jit function): New test.
2056
b4cdae6f
WW
20572015-01-17 Wei-cheng Wang <cole945@gmail.com>
2058
2059 * lib/gdb.exp (supports_process_record): Return true for
2060 powerpc*-*-linux*.
2061 (supports_reverse): Likewise.
2062
d221e7ef
DB
20632015-01-15 Don Breazeal <donb@codesourcery.com>
2064
2065 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2066 instead of checking whether the target board is remote and
2067 use spawn_wait_for_attach instead of exec/sleep.
2068 * gdb.base/attach-twice.exp: Likewise.
2069
bafffb51
JB
20702015-01-15 Joel Brobecker <brobecker@adacore.com>
2071
2072 * gdb.ada/var_arr_attrs: New testcase.
2073
5589af0e
PA
20742015-01-14 Pedro Alves <palves@redhat.com>
2075 Joel Brobecker <brobecker@adacore.com>
2076
2077 PR gdb/17525
2078 * gdb.base/bp-cmds-execution-x-script.c: New file.
2079 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2080 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2081
6c400b59
PA
20822015-01-14 Pedro Alves <palves@redhat.com>
2083
2084 PR cli/17828
2085 * gdb.base/batch-preserve-term-settings.c: New file.
2086 * gdb.base/batch-preserve-term-settings.exp: New file.
2087
e02c96a7
DE
20882015-01-13 Doug Evans <dje@google.com>
2089
2090 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2091 binary.
2092
576fd14c
JB
20932015-01-13 Joel Brobecker <brobecker@adacore.com>
2094
2095 * Makefile.in (clean mostlyclean): Do not delete *.py.
2096
04dccad0
JB
20972015-01-13 Joel Brobecker <brobecker@adacore.com>
2098
2099 * gdb.python/py-lookup-type.exp: New file.
2100
3d230f71
PA
21012015-01-12 Pedro Alves <palves@redhat.com>
2102
2103 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2104 restore GDBFLAGS before returning.
2105
7e67715d
JK
21062015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2107
2108 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2109 is_amd64_regs_target and is_x86_like_target.
2110
f2e0d4b4
DE
21112015-01-11 Doug Evans <xdje42@gmail.com>
2112
2113 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2114 is given without an explicit form.
2115 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2116 attributes.
2117 * gdb.dwarf/corrupt.exp: Ditto.
2118 * gdb.dwarf2/enum-type.exp: Ditto.
2119 * gdb.trace/entry-values.exp: Ditto.
2120 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2121
439250fb
DE
21222015-01-11 Doug Evans <xdje42@gmail.com>
2123
2124 PR gdb/15830
2125 * gdb.base/maint.exp: Remove references to "maint demangle".
2126 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2127 Add tests for explicitly specifying language to demangle.
2128 * gdb.dlang/demangle.exp: Ditto.
2129
ede9f622
PA
21302015-01-09 Pedro Alves <palves@redhat.com>
2131
2132 * gdb.threads/non-stop-fair-events.c: New file.
2133 * gdb.threads/non-stop-fair-events.exp: New file.
2134
a7b796db
PA
21352015-01-09 Pedro Alves <palves@redhat.com>
2136
2137 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2138 the global scope. Set a breakpoint after all threads are started
2139 rather than stepping over two source lines. Expect the prompt.
2140 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2141 global.
2142 (NUM): Now 15.
2143 (main): Use threads_started_barrier to wait for all threads to
2144 start. Main thread no longer calls thread_function. Exit after
2145 180 seconds.
2146 (loop): New function.
2147 (thread_function): Wait on threads_started_barrier barrier. Call
2148 'loop' at each iteration.
2149 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2150 threads have started, instead of hardcoding number of "next"
2151 steps. Use an access watchpoint instead of a write watchpoint.
2152
9665ffdd
PA
21532015-01-09 Pedro Alves <palves@redhat.com>
2154
2155 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2156 (thread_func): Wait on barrier.
2157 (main): Wait for all threads to start before stopping GDB.
2158 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2159 global.
2160 (thread1_func, thread2_func): Wait on barrier.
2161 (main): Wait for all threads to start before stopping GDB.
2162 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2163 New global.
2164 (thread1_func, thread2_func): Wait on barrier.
2165 (main): Wait for all threads to start before stopping GDB.
2166
c945a99f
PA
21672015-01-09 Pedro Alves <palves@redhat.com>
2168
2169 * gdb.threads/attach-many-short-lived-threads.c: New file.
2170 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2171
c1a747c1
PA
21722014-01-09 Pedro Alves <palves@redhat.com>
2173
2174 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2175 instead of to thread 2.
2176 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2177 Add barrier around each pthread_create call instead of around all
2178 calls.
2179 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2180 Set a break on thread_function and have the child threads hit it
2181 one at at a time.
2182
60b3033e
PA
21832015-01-09 Pedro Alves <palves@redhat.com>
2184
2185 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2186 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2187 false.
2188 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2189 checking whether the target board is remote.
2190 * gdb.multi/multi-attach.exp: Likewise.
2191 * gdb.python/py-sync-interp.exp: Likewise.
2192 * gdb.server/ext-attach.exp: Likewise.
2193 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2194 tests that need to attach, instead of checking whether the target
2195 board is remote at the top of the file.
2196
acc018ac
YQ
21972015-01-08 Yao Qi <yao@codesourcery.com>
2198
2199 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2200
50a18af8
JK
22012015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2202
2203 Fix testcase compilation.
2204 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2205
8503d6e1
JB
22062015-01-06 Joel Brobecker <brobecker@adacore.com>
2207
2208 * gdb.python/py-type.exp: Add a couple test about empty
2209 array creation, and negative-length array creation.
2210
cc73dbcc
DE
22112015-01-02 Doug Evans <xdje42@gmail.com>
2212
2213 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2214
0300bbc7
DE
22152015-01-02 Doug Evans <dje@google.com>
2216
2217 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2218
9d85a0ec
YQ
22192014-12-29 Yao Qi <yao@codesourcery.com>
2220
2221 * gdb.trace/entry-values.exp: Update comments. Rename variable
2222 bar_call_foo to returned_from_foo.
2223
87186c6a
MMN
22242014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2225
2226 PR gdb/17394
2227 * gdb.linespec/break-asm-file.c: New file.
2228 * gdb.linespec/break-asm-file.exp: New file.
2229 * gdb.linespec/break-asm-file0.s: New file.
2230 * gdb.linespec/break-asm-file1.s: New file.
2231
1bab7383
YQ
22322014-12-18 Nigel Stephens <nigel@mips.com>
2233 Maciej W. Rozycki <macro@codesourcery.com>
2234
2235 * gdb.base/float.exp: Handle the new output from "info float" on
2236 MIPS targets.
2237
1bc1068a
JK
22382014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2239
2240 Fix MinGW compilation.
2241 * gdb.compile/compile-ops.exp: Update untested message if
2242 !skip_compile_feature_tests.
2243 * gdb.compile/compile-setjmp.exp: Likewise.
2244 * gdb.compile/compile-tls.exp: Likewise.
2245 * gdb.compile/compile.exp: Likewise.
2246 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2247 supported on this host".
2248
b6615d10
DE
22492014-12-16 Doug Evans <xdje42@gmail.com>
2250
2251 * boards/stabs.exp: New file.
2252
25dda427
AA
22532014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2254
2255 * gdb.base/completion.exp: Adjust to format changes of "maint
2256 print user-registers".
2257
bf330350
CU
22582014-12-16 Catalin Udma <catalin.udma@freescale.com>
2259
2260 PR server/17457
2261 * gdb.arch/aarch64-fp.c: New file.
2262 * gdb.arch/aarch64-fp.exp: New file.
2263
395cf596
SDJ
22642014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2265
2266 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2267 r210637, r210913, r211666, r215400, r215817).
2268
2269 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2270 * dg-extract-results.py: New file.
2271 * dg-extract-results.sh: Use it if the environment seems
2272 suitable.
2273
2274 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2275
2276 * dg-extract-results.py (parse_run): Handle warnings that
2277 are printed before a test harness is run.
2278
2279 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2280
2281 * dg-extract-results.py (Named): Remove __cmp__ method.
2282 (output_variation): Use a key to sort variation.harnesses.
2283
2284 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2285
2286 * dg-extract-results.py: For Python 3, force sys.stdout to
2287 handle surrogate escape sequences.
2288 (safe_open): New function.
2289 (output_segment, main): Use it.
2290
2291 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2292
2293 * dg-extract-results.py (Prog.result_re): Include options
2294 in test name.
2295
2296 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2297
2298 * dg-extract-results.py (output_variation): Always sort if
2299 do_sum.
2300
e882ef3c
SM
23012014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2302
2303 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2304 as long as we get pagination notifications.
2305
4992aa20
JM
23062014-12-15 Jason Merrill <jason@redhat.com>
2307
2308 * Makefile.in (check-gdb.%): Restore.
2309 * README: Mention it.
2310
c1b5a1a6
JB
23112014-12-13 Joel Brobecker <brobecker@adacore.com>
2312
2313 * gdb.ada/str_uninit: New testcase.
2314
5537b577
JK
23152014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2316
2317 PR symtab/17642
2318 * gdb.base/vla-stub-define.c: New file.
2319 * gdb.base/vla-stub.c: New file.
2320 * gdb.base/vla-stub.exp: New file.
2321
bb2ec1b3
TT
23222014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2323 Jan Kratochvil <jan.kratochvil@redhat.com>
2324 Tom Tromey <tromey@redhat.com>
2325
2326 * configure.ac: Add gdb.compile/.
2327 * configure: Regenerate.
2328 * gdb.compile/Makefile.in: New file.
2329 * gdb.compile/compile-ops.exp: New file.
2330 * gdb.compile/compile-ops.c: New file.
2331 * gdb.compile/compile-tls.c: New file.
2332 * gdb.compile/compile-tls.exp: New file.
2333 * gdb.compile/compile-constvar.S: New file.
2334 * gdb.compile/compile-constvar.c: New file.
2335 * gdb.compile/compile-mod.c: New file.
2336 * gdb.compile/compile-nodebug.c: New file.
2337 * gdb.compile/compile-setjmp-mod.c: New file.
2338 * gdb.compile/compile-setjmp.c: New file.
2339 * gdb.compile/compile-setjmp.exp: New file.
2340 * gdb.compile/compile-shlib.c: New file.
2341 * gdb.compile/compile.c: New file.
2342 * gdb.compile/compile.exp: New file.
2343 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2344
4ff709eb
TT
23452014-12-12 Tom Tromey <tromey@redhat.com>
2346
2347 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2348 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2349
6dddd6a5
DE
23502014-12-12 Doug Evans <dje@google.com>
2351
2352 * lib/gdb-python.exp (get_python_valueof): New function.
2353 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2354
71c24708
AA
23552014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2356
2357 * gdb.base/completion.exp: Add test for completion of "info
2358 registers ".
2359
3e29f34a
MR
23602014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2361
2362 * gdb.base/func-ptrs.c: New file.
2363 * gdb.base/func-ptrs.exp: New file.
2364
fc126975
SM
23652014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2366
2367 PR breakpoints/17012
2368 * gdb.base/dprintf-detach.c: New file.
2369 * gdb.base/dprintf-detach.exp: New file.
2370
0a46d518
SM
23712014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2372
2373 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2374 * lib/gdb.exp (target_is_gdbserver): New procedure.
2375
a0be3e44
DE
23762014-12-08 Doug Evans <dje@google.com>
2377
2378 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2379
df1b803a
YQ
23802014-12-05 Yao Qi <yao@codesourcery.com>
2381
2382 * gdb.guile/scm-error.exp: Remove the third argument to
2383 gdb_remote_download.
2384 * gdb.guile/scm-frame-args.exp: Likewise.
2385 * gdb.guile/scm-section-script.exp: Likewise.
2386
ddb9f679
YQ
23872014-12-05 Yao Qi <yao@codesourcery.com>
2388
2389 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2390
86e4ed39
DE
23912014-12-04 Doug Evans <dje@google.com>
2392
2393 * gdb.python/py-objfile.exp: Add tests for
2394 objfile.add_separate_debug_file.
2395
7c50a931
DE
23962014-12-04 Doug Evans <dje@google.com>
2397
2398 * lib/gdb.exp (get_build_id): New function.
2399 (build_id_debug_filename_get): Rewrite to use it.
2400 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2401
621661e3
MR
24022014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2403
2404 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2405 `method(long)', not just 0x0.
2406 * gdb.cp/nsalias.exp: Align code labels to 4.
2407 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2408 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2409 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2410 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2411 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2412 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2413
29f0c3b7
DE
24142014-12-02 Doug Evans <dje@google.com>
2415
e1e061e7 2416 PR symtab/17602
29f0c3b7 2417 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2418 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2419 * gdb.cp/anon-ns.exp: Update.
2420
162078c8
NB
24212014-12-02 Nick Bull <nicholaspbull@gmail.com>
2422
2423 * gdb.python/py-events.py (inferior_call_handler): New.
2424 (register_changed_handler, memory_changed_handler): New.
2425 (test_events.invoke): Register new handlers.
2426 * gdb.python/py-events.exp: Add tests for inferior call,
2427 memory_changed and register_changed events.
2428
fdb09caf
AA
24292014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2430
2431 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2432 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2433 if the linker doesn't understand this.
2434
55cfb2c4
SM
24352014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2436
2437 * gdb.python/python.exp: Change expected reply to help().
2438
9e8cd6df
YQ
24392014-12-01 Yao Qi <yao@codesourcery.com>
2440
2441 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2442 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2443 * configure: Re-generated.
2444
6c659fc2
SC
24452014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2446
2447 * gdb.cp/chained-calls.cc: New file.
2448 * gdb.cp/chained-calls.exp: New file.
2449 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2450
d7fc3181
SM
24512014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2452
2453 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2454 * gdb.dwarf2/symtab-producer.exp: Same.
2455 * gdb.gdb/python-interrupts.exp: Same.
2456 * gdb.gdb/python-selftest.exp: Same.
2457 * gdb.python/py-linetable.exp: Same.
2458 * gdb.python/py-type.exp: Same.
2459 * gdb.python/py-value-cc.exp: Same.
2460 * gdb.python/py-value.exp: Same.
2461
10e79639
YQ
24622014-11-28 Yao Qi <yao@codesourcery.com>
2463
2464 * gdb.base/break-probes.exp: Match library name prefixed with
2465 sysroot.
2466
f28a0564
SM
24672014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2468
2469 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2470 test expected output. Add parentheses for the call to print.
2471 Remove L suffix from integers.
2472
3fe1ce1d
DE
24732014-11-26 Doug Evans <dje@google.com>
2474
2475 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2476
84429e27
YQ
24772014-11-22 Yao Qi <yao@codesourcery.com>
2478
2479 * gdb.trace/entry-values.c: Remove asms.
2480 (foo): Add foo_label.
2481 (bar): Add bar_label.
2482 * gdb.trace/entry-values.exp: Remove code computing foo's
2483 length and bar's length.
2484 (Dwarf::assemble): Invoke function_range for bar and use
2485 MACRO_AT_func for foo.
2486
26741859
YQ
24872014-11-22 Yao Qi <yao@codesourcery.com>
2488
2489 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2490 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2491 Use .Lgcc43_procstart instead of gcc43.
2492
45e44d27
JB
24932014-11-21 Joel Brobecker <brobecker@adacore.com>
2494
2495 * gdb.ada/n_arr_bound: New testcase.
2496
458c8db8
SDJ
24972014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2498
2499 PR breakpoints/10737
2500 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2501 test_catch_syscall_multi_arch.
2502 (test_catch_syscall_multi_arch): New function.
2503
43f3e411
DE
25042014-11-20 Doug Evans <xdje42@gmail.com>
2505
2506 * gdb.base/maint.exp: Update expected output.
2507
0d7b2549
AA
25082014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2509
2510 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2511 4-byte instruction on S390.
2512
8908fca5
JB
25132014-11-19 Joel Brobecker <brobecker@adacore.com>
2514
2515 * gdb.ada/arr_arr: New testcase.
2516
4a46959e
JB
25172014-11-19 Joel Brobecker <brobecker@adacore.com>
2518
2519 * gdb.ada/pkd_arr_elem: New Testcase.
2520
470e2f4e
LM
25212014-11-18 Luis Machado <lgustavo@codesourcery.com>
2522
2523 * gdb.reverse/break-precsave: Expect completion message for
2524 core file reads.
2525 * gdb.reverse/consecutive-precsave.exp: Likewise.
2526 * gdb.reverse/finish-precsave.exp: Likewise.
2527 * gdb.reverse/i386-precsave.exp: Likewise.
2528 * gdb.reverse/machinestate-precsave.exp: Likewise.
2529 * gdb.reverse/sigall-precsave.exp: Likewise.
2530 * gdb.reverse/solib-precsave.exp: Likewise.
2531 * gdb.reverse/step-precsave.exp: Likewise.
2532 * gdb.reverse/until-precsave.exp: Likewise.
2533 * gdb.reverse/watch-precsave.exp: Likewise.
2534
a267f3ad
AA
25352014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2536
2537 * gdb.base/bp-permanent.c: Include unistd.h.
2538 * gdb.python/py-framefilter-mi.c (main): Add return type.
2539 * gdb.python/py-framefilter.c (main): Likewise.
2540 * gdb.trace/actions-changed.c (main): Likewise.
2541
12084a9a
AA
25422014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2543
2544 * gdb.mi/until.c: Add eye-catchers.
2545 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2546 line numbers.
2547
dc7e1a77
AA
25482014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2549
2550 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2551 function header variants in break1.c.
2552 * gdb.base/ena-dis-br.exp: Likewise.
2553 * gdb.base/hbreak2.exp: Likewise.
2554 * gdb.reverse/until-precsave.exp: Drop references to removed
2555 non-prototype function header variants in ur1.c.
2556 * gdb.reverse/until-reverse.exp: Likewise.
2557
41c77605
PM
25582014-11-17 Petr Machata <pmachata@redhat.com>
2559
2560 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2561 ${_cu_offset_size} bytes abbrev offset.
2562
34248c3a
DE
25632014-11-15 Doug Evans <xdje42@gmail.com>
2564
2565 PR symtab/17559
2566 * gdb.base/line-symtabs.exp: New file.
2567 * gdb.base/line-symtabs.c: New file.
2568 * gdb.base/line-symtabs.h: New file.
2569
646da059
YQ
25702014-11-14 Yao Qi <yao@codesourcery.com>
2571
2572 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2573 (func): Add label func_label.
2574 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2575 Replace low_pc and high_pc with MACRO_AT_range.
2576 Replace name, low_pc and high_pc with MACRO_AT_func.
2577
9301ebe6
YQ
25782014-11-14 Yao Qi <yao@codesourcery.com>
2579
2580 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2581 Replace name, low_pc and high_pc with MACRO_AT_func.
2582
f166b542
YQ
25832014-11-14 Yao Qi <yao@codesourcery.com>
2584
2585 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2586 produce debug information.
2587 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2588
0f6e71e3
YQ
25892014-11-14 Yao Qi <yao@codesourcery.com>
2590
2591 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2592 object and get function length.
2593 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2594 with MACRO_AT_func.
2595 (top-level): Replace gdb_compile and clean_restart with
2596 prepare_for_testing.
2597 * gdb.dwarf2/main.c (main): Add label main_label.
2598
876c4df9
YQ
25992014-11-14 Yao Qi <yao@codesourcery.com>
2600
2601 * lib/dwarf.exp (function_range): New procedure.
2602 (Dwarf::_handle_macro_at_func): New procedure.
2603 (Dwarf::_handle_macro_at_range): New procedure.
2604 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2605
02ad9cf1
YQ
26062014-11-14 Yao Qi <yao@codesourcery.com>
2607
2608 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2609 (_handle_attribute): New procedure.
2610
a59add0c
AA
26112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2612
2613 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2614 * gdb.base/call-sc.c (zed): Likewise.
2615 * gdb.base/checkpoint.c (main): Likewise.
2616 * gdb.base/dump.c (main): Likewise.
2617 * gdb.base/gcore.c (main): Likewise.
2618 * gdb.base/huge.c (main): Likewise.
2619 * gdb.base/multi-forks.c (main): Likewise.
2620 * gdb.base/pr10179-a.c (main): Likewise.
2621 * gdb.base/savedregs.c (main): Likewise.
2622 * gdb.base/sigaltstack.c (main): Likewise.
2623 * gdb.base/siginfo.c (main): Likewise.
2624 * gdb.base/structs.c (zed): Likewise.
2625 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2626 * gdb.mi/mi-syn-frame.c (main): Likewise.
2627 * gdb.mi/until.c (foo, main): Likewise.
2628 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2629 * gdb.base/solib-weak.c (foo): Declare.
2630 * gdb.base/attach-twice.c: Include stdio.h.
2631 * gdb.base/weaklib1.c: Likewise.
2632 * gdb.base/weaklib2.c: Likewise.
2633 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2634 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2635 unistd.h.
2636 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2637 * gdb.mi/mi-exit-code.c: Likewise.
2638 * gdb.base/break-interp-lib.c: Include string.h.
2639 * gdb.base/coremaker.c: Likewise.
2640 * gdb.base/testenv.c: Likewise.
2641 * gdb.python/py-finish-breakpoint.c: Likewise.
2642 * gdb.base/inferior-died.c: Include sys/wait.h.
2643 * gdb.base/fileio.c: Include time.h.
2644 * gdb.base/async-shell.c: Include unistd.h.
2645 * gdb.base/dprintf-non-stop.c: Likewise.
2646 * gdb.base/info-os.c: Likewise.
2647 * gdb.mi/mi-console.c: Likewise.
2648 * gdb.mi/watch-nonstop.c: Likewise.
2649 * gdb.python/py-events.c: Likewise.
2650 * gdb.base/async.c (baz): Move up before its invocation.
2651 * gdb.base/code_elim2.c (my_global_func): Likewise.
2652 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2653 * gdb.base/advance.c (func2): Likewise.
2654
3b5d5997
AA
26552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2656
2657 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2658 variant.
2659 * gdb.base/annota3.c: Likewise.
2660 * gdb.base/async.c: Likewise.
2661 * gdb.base/average.c: Likewise.
2662 * gdb.base/call-ar-st.c: Likewise.
2663 * gdb.base/call-rt-st.c: Likewise.
2664 * gdb.base/call-sc.c: Likewise.
2665 * gdb.base/call-strs.c: Likewise.
2666 * gdb.base/ending-run.c: Likewise.
2667 * gdb.base/execd-prog.c: Likewise.
2668 * gdb.base/exprs.c: Likewise.
2669 * gdb.base/foll-exec.c: Likewise.
2670 * gdb.base/foll-fork.c: Likewise.
2671 * gdb.base/foll-vfork.c: Likewise.
2672 * gdb.base/funcargs.c: Likewise.
2673 * gdb.base/gcore.c: Likewise.
2674 * gdb.base/jump.c: Likewise.
2675 * gdb.base/langs0.c: Likewise.
2676 * gdb.base/langs1.c: Likewise.
2677 * gdb.base/langs2.c: Likewise.
2678 * gdb.base/mips_pro.c: Likewise.
2679 * gdb.base/nodebug.c: Likewise.
2680 * gdb.base/opaque0.c: Likewise.
2681 * gdb.base/opaque1.c: Likewise.
2682 * gdb.base/recurse.c: Likewise.
2683 * gdb.base/run.c: Likewise.
2684 * gdb.base/scope0.c: Likewise.
2685 * gdb.base/scope1.c: Likewise.
2686 * gdb.base/setshow.c: Likewise.
2687 * gdb.base/setvar.c: Likewise.
2688 * gdb.base/shmain.c: Likewise.
2689 * gdb.base/shr1.c: Likewise.
2690 * gdb.base/shr2.c: Likewise.
2691 * gdb.base/sigall.c: Likewise.
2692 * gdb.base/signals.c: Likewise.
2693 * gdb.base/so-indr-cl.c: Likewise.
2694 * gdb.base/solib2.c: Likewise.
2695 * gdb.base/structs.c: Likewise.
2696 * gdb.base/sum.c: Likewise.
2697 * gdb.base/vforked-prog.c: Likewise.
2698 * gdb.base/watchpoint.c: Likewise.
2699 * gdb.reverse/shr2.c: Likewise.
2700 * gdb.reverse/until-reverse.c: Likewise.
2701 * gdb.reverse/ur1.c: Likewise.
2702 * gdb.reverse/watch-reverse.c: Likewise.
2703
066a77c5
AA
27042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2705
2706 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2707 variant.
2708 * gdb.base/sepdebug.exp: Drop references to removed code.
2709
4f204ea5
AA
27102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2711
2712 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2713 variant. Preserve original line numbering.
2714 * gdb.base/list1.c: Likewise.
2715
3b377a3a
AA
27162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2717
2718 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2719 variant.
2720 * gdb.base/break1.c: Likewise.
2721 * gdb.base/break.exp: Drop references to removed code.
2722
e444df73
AA
27232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2724
2725 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2726 variant.
2727
8008f2a7
AA
27282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2729
2730 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2731
a5a06887
AA
27322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2733
2734 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2735 logic into perform_all_tests() and invoke it with and without
2736 function header prototypes.
2737 (do_function_calls): Remove conditional XFAIL for PR 5318.
2738 (rerun_and_prepare): Remove duplicate code.
2739 (perform_all_tests): New. Main logic moved here.
2740
44dba9b9
AA
27412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2742
2743 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2744 code guarded by #ifdef NO_PROTOTYPES.
2745 (t_double_many_args): Likewise.
2746 (DEF_FUNC_MANY_ARGS_1): Likewise.
2747 (DEF_FUNC_VALUES_1): Likewise.
2748 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2749 guarded by #ifdef PROTOTYPES.
2750
d1fbcd56
AA
27512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2752
2753 * gdb.mi/mi-console.c: Add eye-catcher.
2754 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2755 instead of literal line number.
2756
b0e59b8f
AA
27572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2758
2759 * gdb.base/shr2.c: Add eye-catcher.
2760 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2761 line number.
2762
78f98cca
AA
27632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2764
2765 * gdb.base/jump.c: Add eye-catchers.
2766 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2767 numbers.
2768
58fa2af0
AA
27692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2770
2771 * gdb.base/execd-prog.c: Add eye-catchers.
2772 * gdb.base/foll-exec.c: Likewise.
2773 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2774 line numbers.
2775
04e5059b
AA
27762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2777
2778 * gdb.base/ending-run.c: Add eye-catchers.
2779 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2780 literal line numbers.
2781
dbfdb174
AA
27822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2783
2784 * gdb.base/call-rt-st.c: Add eye-catchers.
2785 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2786 literal line numbers.
2787
888a2ade
AA
27882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2789
2790 * gdb.base/call-ar-st.c: Add eye-catchers.
2791 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2792 literal line numbers.
2793
6acc2dde
AA
27942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2795
2796 * gdb.base/average.c: Add eye-catchers.
2797 * gdb.base/sum.c: Likewise.
2798 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2799 regexps dynamically.
2800
9ecfcd1d
AA
28012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2802
2803 * gdb.base/solib1.c: Add eye-catchers.
2804 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2805 literal line numbers.
2806
78708b7c
PA
28072014-11-12 Pedro Alves <palves@redhat.com>
2808
2809 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2810 leader has exited.
2811
af48d08f
PA
28122014-11-12 Pedro Alves <palves@redhat.com>
2813
2814 * gdb.arch/i386-bp_permanent.c: New file.
2815 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2816 (srcfile): Set to i386-bp_permanent.c.
2817 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2818 that stepi does not execute the 'leave' instruction, instead of
2819 testing it does execute.
2820 * gdb.base/bp-permanent.c: New file.
2821 * gdb.base/bp-permanent.exp: New file.
2822
af3768e9
DE
28232014-11-10 Doug Evans <xdje42@gmail.com>
2824
2825 PR symtab/17564
2826 * gdb.base/symtab-search-order.exp: New file.
2827 * gdb.base/symtab-search-order.c: New file.
2828 * gdb.base/symtab-search-order-1.c: New file.
2829 * gdb.base/symtab-search-order-shlib-1.c: New file.
2830
9de00a4a
PA
28312014-11-07 Pedro Alves <palves@redhat.com>
2832
2833 PR gdb/17511
2834 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2835 i?86-*-linux*.
2836
e0f52461
SC
28372014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2838
2839 PR c++/17494
2840 * gdb.cp/pr17494.cc: New file.
2841 * gdb.cp/pr17494.exp: New file.
2842
6ce8c980
YQ
28432014-11-02 Yao Qi <yao@codesourcery.com>
2844
2845 * gdb.python/python.exp: Get working directory and match the
2846 output of "set extended-prompt \\w " with it.
2847
02be9a71
DE
28482014-10-30 Doug Evans <dje@google.com>
2849
2850 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2851 in objfiles.
2852 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2853 in progspaces.
2854
3bdff46b
LM
28552014-10-30 Janis Johnson <janisjo@codesourcery.com>
2856
2857 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2858 * gdb.base/realname-expand.exp: Likewise.
2859 * gdb.linespec/macro-relative.exp: Likewise.
2860
ab917dfb
PA
28612014-10-29 Pedro Alves <palves@redhat.com>
2862
2863 PR gdb/17408
2864 * gdb.threads/schedlock.c (some_function): New function.
2865 (call_function): New global.
2866 (MAYBE_CALL_SOME_FUNCTION): New macro.
2867 (thread_function): Call it.
2868 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2869 and use it instead of a global counter. Adjust all callers.
2870 (get_current_thread): Use "find current thread" for test message
2871 here rather than having all callers pass down the same string.
2872 (goto_loop): New procedure, factored out from ...
2873 (my_continue): ... this.
2874 (step_ten_loops): Change parameter from test message to command to
2875 use. Adjust.
2876 (list_count): Delete global.
2877 (check_result): New procedure, factored out from duplicate top
2878 level code.
2879 (continue tests): Wrap in with_test_prefix.
2880 (test_step): New procedure, factored out from duplicate top level
2881 code.
2882 (top level): Test "step" in combination with all scheduler-locking
2883 modes. Test "next" in combination with all scheduler-locking
2884 modes, and in combination with stepping over a function call or
2885 not.
2886 * gdb.threads/next-bp-other-thread.c: New file.
2887 * gdb.threads/next-bp-other-thread.exp: New file.
2888
d3d4baed
PA
28892014-10-29 Pedro Alves <palves@redhat.com>
2890
2891 PR python/17372
2892 * gdb.python/python.exp: Test a multi-line command that spawns
2893 interactive Python.
2894 * gdb.base/multi-line-starts-subshell.exp: New file.
2895
563e8d85
YQ
28962014-10-29 Yao Qi <yao@codesourcery.com>
2897
2898 * gdb.base/fileio.exp: Make directories on host.
2899
0ea4d52e
YQ
29002014-10-29 Yao Qi <yao@codesourcery.com>
2901
2902 * gdb.base/fileio.c (test_write): Close the file.
2903
7f5ef605
PA
29042014-10-28 Pedro Alves <palves@redhat.com>
2905
2906 PR gdb/12623
2907 * gdb.base/sigstep.c (no_handler): New global.
2908 (main): If 'no_handler is true, set the signal handlers to
2909 SIG_IGN.
2910 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2911 with_sw_watch and no_handler parameters. Handle them.
2912 (top level) <stepping over handler when stopped at a breakpoint
2913 test>: Add a test axis for testing with a software watchpoint, and
2914 another for testing with the signal handler set to SIG_IGN.
2915 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2916 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2917
abbdbd03
PA
29182014-10-28 Pedro Alves <palves@redhat.com>
2919
2920 PR gdb/17511
2921 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2922 * gdb.base/sigstep.exp (other_handler_location): New global.
2923 (advance): Support stepping into the signal handler, and running
2924 commands while in the handler.
2925 (in_handler_map): New global.
2926 (top level): In the advance test, add combinations for getting
2927 into the handler with stepping commands, and for running commands
2928 in the handler. Add comment descripting the advancei tests.
2929
1df4399f
PA
29302014-10-28 Pedro Alves <palves@redhat.com>
2931
2932 * gdb.base/sigstep.exp: Use build_executable instead of
2933 prepare_for_testing.
2934 (top level): Move code that starts GDB, runs to main and creates a
2935 display to ...
2936 (restart): ... this new procedure.
2937 (top level): Move backtrace from signal handler test to ...
2938 (validate_backtrace): ... this new procedure.
2939 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2940 with_test_prefix. Always restart GDB.
2941 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2942 with_test_prefix. Always restart GDB. No need to delete
2943 breakpoints after the test.
2944 (test_skip_handler): Remove prefix parameter.
2945 (skip_over_handler, breakpoint_to_handler)
2946 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2947 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2948 restart GDB. No need to delete breakpoints after the test.
2949 (top level): Use foreach to call the test procedures with
2950 different commands.
2951
a5b6e449
PA
29522014-10-28 Pedro Alves <palves@redhat.com>
2953
2954 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2955 instead of GNATS numbers.
2956 * gdb.base/sigbpt.exp: Likewise.
2957 * gdb.base/siginfo.exp: Likewise.
2958 * gdb.base/sigstep.exp: Likewise.
2959
e5f8a7cc
PA
29602014-10-27 Pedro Alves <palves@redhat.com>
2961
2962 * gdb.base/sigstep.c (dummy): New global.
2963 (main): Issue a couple writes to the new global.
2964 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2965 procedures.
2966 (skip_over_handler): Use test_skip_handler.
2967 (top level): Call skip_over_handler for stepi and nexti too.
2968 (breakpoint_over_handler): Use test_skip_handler.
2969 (top level): Call breakpoint_over_handler for stepi and nexti too.
2970
763905a3
YQ
29712014-10-27 Yao Qi <yao@codesourcery.com>
2972
2973 * gdb.trace/tfile.c (adjust_function_address)
2974 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2975 function descriptor.
2976
6f259a23
DB
29772014-10-24 Don Breazeal <donb@codesourcery.com>
2978
2979 * gdb.base/foll-fork.exp (test_follow_fork,
2980 catch_fork_child_follow): Check for updated fork messages emitted
2981 from infrun.c.
2982 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2983 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2984 vfork_and_exec_child_follow_through_step): Check for updated vfork
2985 messages emitted from infrun.c.
2986
09dd9a69
PA
29872014-10-24 Pedro Alves <palves@redhat.com>
2988
2989 * gdb.base/corefile.exp: Remove references to ultrix.
2990 * gdb.base/interrupt.exp: Likewise.
2991 * gdb.base/whatis.exp: Likewise.
2992 * gdb.gdb/selftest.exp: Likewise.
2993 * gdb.threads/manythreads.exp: Likewise.
2994 * gdb.threads/print-threads.exp: Likewise.
2995 * gdb.threads/pthreads.exp:: Likewise.
2996 * gdb.threads/schedlock.exp: Likewise.
2997
3433cfa5
SC
29982014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2999
3000 * gdb.cp/non-trivial-retval.cc: Add a test case.
3001 * gdb.cp/non-trivial-retval.exp: Add a test.
3002
092f880b
YQ
30032014-10-20 Yao Qi <yao@codesourcery.com>
3004
3005 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3006 * gdb.python/py-objfile-script-gdb.py: New file.
3007 * gdb.python/py-objfile-script.exp: Update reference to
3008 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3009 of remote_download. Remove the dest file.
3010
acbdb7f3
YQ
30112014-10-20 Yao Qi <yao@codesourcery.com>
3012
3013 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3014 * gdb.base/step-line.exp: Likewise.
3015 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3016 * gdb.dwarf2/dw2-basic.exp: Likewise.
3017 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3018 * gdb.dwarf2/dw2-filename.exp: Likewise.
3019 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3020 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3021 * gdb.dwarf2/dw2-producer.exp: Likewise.
3022 * gdb.dwarf2/mac-fileno.exp: Likewise.
3023 * gdb.python/py-frame-args.exp: Likewise.
3024 * gdb.python/py-framefilter.exp: Likewise.
3025 * gdb.python/py-mi.exp: Likewise.
3026 * gdb.python/py-objfile-script.exp: Likewise
3027 * gdb.python/py-pp-integral.exp: Likewise.
3028 * gdb.python/py-pp-re-notag.exp: Likewise.
3029 * gdb.python/py-prettyprint.exp: Likewise.
3030 * gdb.python/py-section-script.exp: Likewise.
3031 * gdb.python/py-typeprint.exp: Likewise.
3032 * gdb.python/py-xmethods.exp: Likewise.
3033 * gdb.stabs/weird.exp: Likewise.
3034 * gdb.xml/tdesc-regs.exp: Likewise.
3035
bd286a29
KCY
30362014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3037
3038 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3039 (out_cu): Use addr_len for the size of addresses.
3040 (out_line): Likewise. Size DW_LNE_set_address instruction
3041 according to addr_len.
3042 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3043 (FUNC): Add START_INSNS to definition.
3044
673dc4a0
YQ
30452014-10-18 Yao Qi <yao@codesourcery.com>
3046
3047 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3048 gdb_has_argv0 return true.
3049 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3050 check [target_info exists noargs], check [gdb_has_argv0]
3051 instead.
3052 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3053 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3054 procedures.
3055
4ffbba72
DE
30562014-10-17 Doug Evans <dje@google.com>
3057
3058 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3059 event.
3060 * gdb.python/py-events.py: Add clear_objfiles event.
3061
d096d8c1
DE
30622014-10-17 Doug Evans <dje@google.com>
3063
3064 * gdb.python/py-objfile.exp: Test progspace attribute.
3065
a80db015
LM
30662014-10-17 Luis Machado <lgustavo@codesourcery.com>
3067
3068 * gdb.guile/scm-breakpoint.exp: Do not assume any
3069 directory separators when matching source file paths.
3070 * gdb.python/py-breakpoint.exp: Likewise.
3071 * gdb.reverse/break-precsave.exp: Likewise.
3072 * gdb.reverse/break-reverse.exp: Likewise.
3073 * gdb.reverse/consecutive-precsave.exp: Likewise.
3074 * gdb.reverse/finish-precsave.exp: Likewise.
3075 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3076 * gdb.reverse/finish-reverse.exp: Likewise.
3077 * gdb.reverse/i386-precsave.exp: Likewise.
3078 * gdb.reverse/i387-env-reverse.exp: Likewise.
3079 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3080 * gdb.reverse/machinestate-precsave.exp: Likewise.
3081 * gdb.reverse/machinestate.exp: Likewise.
3082 * gdb.reverse/sigall-precsave.exp: Likewise.
3083 * gdb.reverse/solib-precsave.exp: Likewise.
3084 * gdb.reverse/step-precsave.exp: Likewise.
3085 * gdb.reverse/until-precsave.exp: Likewise.
3086 * gdb.reverse/watch-precsave.exp: Likewise.
3087 * gdb.reverse/watch-reverse.exp: Likewise.
3088
b22089ab
YQ
30892014-10-17 Yao Qi <yao@codesourcery.com>
3090
3091 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3092 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3093
6c4486e6
PA
30942014-10-17 Pedro Alves <palves@redhat.com>
3095
3096 PR gdb/17471
3097 * gdb.base/bg-execution-repeat.c: New file.
3098 * gdb.base/bg-execution-repeat.exp: New file.
3099
0ff33695
PA
31002014-10-17 Pedro Alves <palves@redhat.com>
3101
3102 PR gdb/17300
3103 * gdb.base/continue-all-already-running.c: New file.
3104 * gdb.base/continue-all-already-running.exp: New file.
3105
6fdebc3d
PA
31062014-10-17 Pedro Alves <palves@redhat.com>
3107
3108 PR gdb/17472
3109 * gdb.base/annota-input-while-running.c: New file.
3110 * gdb.base/annota-input-while-running.exp: New file.
3111
32a8097b
PA
31122014-10-17 Pedro Alves <palves@redhat.com>
3113
3114 * gdb.base/callfuncs.exp: emove references to osf.
3115 * gdb.base/sigall.exp: Likewise.
3116 * gdb.gdb/selftest.exp: Likewise.
3117 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3118 * gdb.mi/non-stop.c: Likewise.
3119 * gdb.mi/pthreads.c: Likewise.
3120 * gdb.reverse/sigall-precsave.exp: Likewise.
3121 * gdb.reverse/sigall-reverse.exp: Likewise.
3122 * gdb.threads/pthreads.c: Likewise.
3123 * gdb.threads/pthreads.exp: Likewise.
3124
7a3517ff
YQ
31252014-10-17 Yao Qi <yao@codesourcery.com>
3126
3127 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3128 check 'target_info exists noargs'.
3129 (test_command_prompt_position): Likewise.
3130 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3131 Remove "set args".
3132 (progvar_simple_while_test): Likewise.
3133 (progvar_complex_if_while_test): Likewise.
3134 (if_while_breakpoint_command_test): Likewise.
3135 (infrun_breakpoint_command_test): Likewise.
3136 (breakpoint_command_test): Likewise.
3137 (watchpoint_command_test): Likewise.
3138 (bp_deleted_in_command_test): Likewise.
3139 (temporary_breakpoint_commands): Likewise.
3140
bb99c472
YQ
31412014-10-16 Yao Qi <yao@codesourcery.com>
3142
3143 * gdb.base/remotetimeout.exp: Remove noargs checking.
3144
7c16b83e
PA
31452014-10-15 Pedro Alves <palves@redhat.com>
3146
3147 PR breakpoints/9649
3148 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3149 * gdb.base/breakpoint-in-ro-region.exp
3150 (probe_target_hardware_step): New procedure.
3151 (top level): Probe hardware stepping and hardware breakpoint
3152 support. Test stepping through a read-only region, with both
3153 "breakpoint auto-hw" on and off and both "always-inserted" on and
3154 off.
3155
35a49624
IB
31562014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3157
3158 * gdb.dlang/demangle.exp: Update for demangling changes.
3159
2d1c107c
SC
31602014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3161
3162 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3163 * gdb.cp/non-trivial-retval.exp: Add new tests.
3164
778811d5
SC
31652014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3166
3167 PR c++/13403
3168 PR c++/15154
3169 * gdb.cp/non-trivial-retval.cc: New file.
3170 * gdb.cp/non-trivial-retval.exp: New file.
3171
10c5f0a8
YQ
31722014-10-15 Yao Qi <yao@codesourcery.com>
3173
3174 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3175 remote host.
3176
65d7b369
YQ
31772014-10-15 Yao Qi <yao@codesourcery.com>
3178
3179 * gdb.python/py-symbol.exp: Match file base name if host is
3180 remote, otherwise match file name with dir name.
3181 * gdb.python/py-symtab.exp: Likewise.
3182 * gdb.python/python.exp: Likewise.
3183
46dc1394
YQ
31842014-10-15 Yao Qi <yao@codesourcery.com>
3185
3186 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3187 pattern.
3188 * gdb.python/py-symtab.exp: Likewise.
3189 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3190 locationn.
3191
c40cc657
JB
31922014-10-14 Joel Brobecker <brobecker@adacore.com>
3193
3194 * gdb.ada/addr_arith: New testcase.
3195
2abf49e1
MR
31962014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3197
3198 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3199 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3200 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3201 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3202
f7088df3
SDJ
32032014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3204
3205 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3206 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3207 * gdb.arch/stap-eval-lang-ada.exp: New file.
3208
4dc06805
YQ
32092014-10-14 Yao Qi <yao@codesourcery.com>
3210
3211 * gdb.mi/mi-var-child.c (nothing1): New function.
3212 (nothing2): New function.
3213 (do_children_tests): Set function pointers by nothing1 and
3214 nothing2.
3215 * gdb.mi/mi-var-child.exp: Step over new added statements.
3216 Update test to match the new output.
3217 * gdb.mi/var-cmd.c (nothing1): New function.
3218 (nothing2): New function.
3219 (do_children_tests): Set function pointers by nothing1 and
3220 nothing2.
3221 * gdb.mi/mi-var-display.exp: Update test to match output.
3222 Step to the line specified by $line_dct_nothing.
3223 Increase the number of lines to step.
3224
46a93de2
YQ
32252014-10-14 Yao Qi <yao@codesourcery.com>
3226
3227 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3228 tests.
3229 * gdb.mi/mi2-var-child.exp: Likewise.
3230
14ea52ee
DE
32312014-10-13 Doug Evans <dje@google.com>
3232
3233 * gdb.python/py-objfile.exp: Change name of file name test.
3234
e5c6e92b
DE
32352014-10-13 Doug Evans <dje@google.com>
3236
3237 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3238 from the start of the CU.
3239
c780cc2f
JK
32402014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3241 Yao Qi <yao@codesourcery.com>
3242
3243 Fix "save breakpoints" for "catch" command.
3244 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3245 Remove -nonewline. Match also the added "main" line.
3246
99894e11
JK
32472014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3248
3249 Fix "save breakpoints" for "disable $bpnum" command.
3250 * gdb.base/save-bp.c (main): Add label.
3251 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3252
6e1ac5a3
JK
32532014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3254
3255 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3256
754dd2b0
YQ
32572014-10-11 Yao Qi <yao@codesourcery.com>
3258
3259 * gdb.server/server-kill.exp: Execute command
3260 "set remote trace-status-packet on" before "tstatus".
3261
f90183d7
YQ
32622014-10-11 Yao Qi <yao@codesourcery.com>
3263
3264 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3265 (main): Call getppid.
3266 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3267 and continue to it. Read variable "server_pid".
3268
bf40a607
YQ
32692014-10-11 Yao Qi <yao@codesourcery.com>
3270
3271 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3272
052ca370
YQ
32732014-10-11 Yao Qi <yao@codesourcery.com>
3274
3275 * gdb.threads/thread-find.exp: Don't execute command
3276 "info threads".
3277 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3278 * gdb.threads/linux-dp.exp: Don't check the condition
3279 $threads_created equals to zero.
3280
3831839c
PA
32812014-10-10 Pedro Alves <palves@redhat.com>
3282
3283 * gdb.base/bigcore.exp: Remove references to IRIX.
3284 * gdb.base/funcargs.exp: Likewise.
3285 * gdb.base/interrupt.exp: Likewise.
3286 * gdb.base/mips_pro.exp: Likewise.
3287 * gdb.base/nodebug.exp: Likewise.
3288 * gdb.base/setvar.exp: Likewise.
3289 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3290
8b9a549d
PA
32912014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3292 Pedro Alves <palves@redhat.com>
3293
3294 PR symtab/14466
3295 * gdb.base/vdso-warning.c: New file.
3296 * gdb.base/vdso-warning.exp: New file.
3297
d48ba5e8
DE
32982014-10-02 Doug Evans <dje@google.com>
3299
3300 * gdb.base/structs.c (main): Don't run forever.
3301
2278c276
PA
33022014-10-02 Pedro Alves <palves@redhat.com>
3303
3304 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3305 (top level) <stop threads 1, stop threads 2>: Use it.
3306
b57bacec
PA
33072014-10-02 Pedro Alves <palves@redhat.com>
3308
3309 * gdb.threads/break-while-running.exp (test): Add new
3310 'update_thread_list' argument. Skip "info threads" if false.
3311 (top level): Add new 'update_thread_list' axis.
3312
13fd3ff3
PA
33132014-10-02 Pedro Alves <palves@redhat.com>
3314
3315 PR breakpoints/17431
3316 * gdb.base/execl-update-breakpoints.c: New file.
3317 * gdb.base/execl-update-breakpoints.exp: New file.
3318
0fec99e8
PA
33192014-10-01 Pedro Alves <palves@redhat.com>
3320
3321 * gdb.base/breakpoint-in-ro-region.c: New file.
3322 * gdb.base/breakpoint-in-ro-region.exp: New file.
3323
2ddf4301
SM
33242014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3325
3326 * gdb.mi/mi-exit-code.exp: New file.
3327 * gdb.mi/mi-exit-code.c: New file.
3328
6a5f3f43
YQ
33292014-09-30 Yao Qi <yao@codesourcery.com>
3330
3331 * lib/prelink-support.exp (build_executable_own_libs): Error if
3332 the target isn't native.
3333
345bcc73
YQ
33342014-09-30 Yao Qi <yao@codesourcery.com>
3335
3336 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3337 false.
3338
a25a5a45
PA
33392014-09-22 Pedro Alves <palves@redhat.com>
3340
3341 * gdb.threads/break-while-running.exp: New file.
3342 * gdb.threads/break-while-running.c: New file.
3343
00ba3162
YQ
33442014-09-19 Yao Qi <yao@codesourcery.com>
3345
3346 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3347 Invoke test. Restart GDB with --readnow and invoke test again.
3348
c3b7b696
YQ
33492014-09-19 Yao Qi <yao@codesourcery.com>
3350
3351 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3352 proc set_breakpoint_on_gcd_function. Invoke
3353 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3354 invoke set_breakpoint_on_gcd_function again.
3355
2b4fd423
DE
33562014-09-18 Doug Evans <dje@google.com>
3357
3358 * gdb.dwarf2/symtab-producer.exp: New file.
3359
a5947601
SDJ
33602014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3361
3362 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3363 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3364 * gdb.base/global-var-nested-by-dso.c: Likewise.
3365 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3366
91c19059
SDJ
33672014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3368 Pedro Alves <palves@redhat.com>
3369
3370 * gdb.base/watch-bitfields.exp: Pass string other than test file
3371 name to prepare_for_testing.
3372 (watch): New procedure.
3373 (expect_watchpoint): Use with_test_prefix.
3374 (top level): Factor out tests to ...
3375 (test_watch_location, test_regular_watch): ... these new
3376 procedures, and use with_test_prefix and gdb_continue_to_end.
3377
bb9d5f81
PP
33782014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3379
3380 PR breakpoints/12526
3381 * gdb.base/watch-bitfields.exp: New file.
3382 * gdb.base/watch-bitfields.c: New file.
3383
635856f5
PA
33842014-09-16 Pedro Alves <palves@redhat.com>
3385
3386 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3387 software and hardware addresses, not software address against
3388 itself.
3389
7280ceea
PA
33902014-09-16 Pedro Alves <palves@redhat.com>
3391
3392 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3393 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3394
428b16bd
PA
33952014-09-16 Pedro Alves <palves@redhat.com>
3396
3397 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3398 files.
3399 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3400 "*-*-vxworks*" throughout.
3401 * gdb.base/break.exp: Likewise.
3402 * gdb.base/default.exp: Likewise.
3403 * gdb.base/scope.exp: Likewise.
3404 * gdb.base/sepdebug.exp: Likewise.
3405 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3406 throughout.
3407 * gdb.base/run.c: Likewise.
3408 * gdb.base/sepdebug.c: Likewise.
3409 * gdb.hp/gdb.aCC/run.c: Likewise.
3410 * gdb.reverse/until-reverse.c: Likewise.
3411 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3412
666d413c
YQ
34132014-09-16 Yao Qi <yao@codesourcery.com>
3414
3415 * boards/local-remote-host-native.exp: New file.
3416
57cbd724
DE
34172014-09-14 Doug Evans <xdje42@gmail.com>
3418
3419 * gdb.threads/queue-signal.c (thread_count): New variable.
3420 (thread_count_mutex, thread_count_condvar): New variables.
3421 (incr_thread_count, wait_all_threads_running): New functions.
3422 (main): Wait for all threads to be in their thread functions.
3423
81219e53
DE
34242014-09-13 Doug Evans <xdje42@gmail.com>
3425
3426 * gdb.threads/queue-signal.c: New file.
3427 * gdb.threads/queue-signal.exp: New file.
3428
3714cea7
DE
34292014-09-13 Doug Evans <xdje42@gmail.com>
3430
3431 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3432 be consistent with what default_gdb_init uses.
3433 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3434 the plain text of the prompt. Add some logging printfs.
3435 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3436
fa43b1d7
PA
34372014-09-12 Pedro Alves <palves@redhat.com>
3438
3439 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3440 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3441 * gdb.arch/i386-size-overlap.exp: Likewise.
3442 * gdb.arch/i386-size.exp: Likewise.
3443 * gdb.arch/i386-unwind.exp: Likewise.
3444 * gdb.base/a2-run.exp: Likewise.
3445 * gdb.base/break.exp: Likewise.
3446 * gdb.base/charset.exp: Likewise.
3447 * gdb.base/chng-syms.exp: Likewise.
3448 * gdb.base/commands.exp: Likewise.
3449 * gdb.base/dbx.exp: Likewise.
3450 * gdb.base/find.exp: Likewise.
3451 * gdb.base/funcargs.exp: Likewise.
3452 * gdb.base/jit-simple.exp: Likewise.
3453 * gdb.base/reread.exp: Likewise.
3454 * gdb.base/sepdebug.exp: Likewise.
3455 * gdb.base/step-bt.exp: Likewise.
3456 * gdb.cp/mb-inline.exp: Likewise.
3457 * gdb.cp/mb-templates.exp: Likewise.
3458 * gdb.objc/basicclass.exp: Likewise.
3459 * gdb.threads/killed.exp: Likewise.
3460
9d9bf2df
EBM
34612014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3462
3463 PR tdep/17379
3464 * gdb.arch/powerpc-stackless.S: New file.
3465 * gdb.arch/powerpc-stackless.exp: New file.
3466
1cf2f1b0
JK
34672014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3468
3469 * gdb.base/attach.c: Include unistd.h.
3470 (main): Call alarm. Add label postloop.
3471 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3472 gdb_breakpoint, gdb_continue_to_breakpoint.
3473 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3474
98880d46
PA
34752014-09-11 Pedro Alves <palves@redhat.com>
3476
3477 PR gdb/17347
3478 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3479 * gdb.base/attach.exp (test_command_line_attach_run): New
3480 procedure.
3481 (top level): Call it.
3482
4c92ff2c
PA
34832014-09-11 Pedro Alves <palves@redhat.com>
3484
3485 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3486 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3487 (do_command_attach_tests): Use spawn_wait_for_attach.
3488 * gdb.base/solib-overlap.exp: Likewise.
3489 * gdb.multi/multi-attach.exp: Likewise.
3490 * gdb.python/py-prompt.exp: Likewise.
3491 * gdb.python/py-sync-interp.exp: Likewise.
3492 * gdb.server/ext-attach.exp: Likewise.
3493
3adc1a7d
GKB
34942014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3495
3496 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3497 command in testcase. Simplify testcase.
3498
96334934
JB
34992014-09-10 Joel Brobecker <brobecker@adacore.com>
3500
3501 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3502
eb479039
JB
35032014-09-10 Joel Brobecker <brobecker@adacore.com>
3504
3505 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3506
deede10c
JB
35072014-09-10 Joel Brobecker <brobecker@adacore.com>
3508
3509 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3510
7828a5f5
JB
35112014-09-10 Joel Brobecker <brobecker@adacore.com>
3512
3513 * gdb.dwarf2/dynarr-ptr.c: New file.
3514 * gdb.dwarf2/dynarr-ptr.exp: New file.
3515
33aeebcf
MR
35162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3517
3518 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3519 of 30 rather than hardcoding 120 for a slow test case. Take the
3520 `gdb,timeout' target setting into account for this calculation.
3521 Don't extend the timeout for the test cases that don't need it.
3522
7b415901
MR
35232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3524
3525 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3526 a factor of 2 for a slow test case. Take the `gdb,timeout'
3527 target setting into account for this calculation.
3528 * gdb.reverse/until-precsave.exp: Increase the timeout by
3529 a factor of 15 and 3 respectively rather than adding 120
3530 for a pair of slow test cases. Take the `gdb,timeout'
3531 target setting into account for this calculation.
3532
4a40f85a
MR
35332014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3534
3535 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3536 timeout, don't pass one down to gdb_expect.
3537 (gdb_expect): Rework timeout selection.
3538
09635af7
MR
35392014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3540
3541 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3542 exception on timeout.
3543 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3544 (gdbserver_start_extended): Catch any `gdbserver_start' error
3545 exceptions.
3546 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3547 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3548 `gdbserver_gdb_load' error exceptions.
3549
2bdd10b7
MR
35502014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3551
3552 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3553 120 on waiting for the TCP socket to open.
3554
316935f0
DE
35552014-09-09 Doug Evans <xdje42@gmail.com>
3556
3557 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3558 _caller_matches, _any_caller_is, _any_caller_matches.
3559
83740597
DE
35602014-09-09 Doug Evans <xdje42@gmail.com>
3561
3562 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3563
4c122fc3
YQ
35642014-09-09 Yao Qi <yao@codesourcery.com>
3565
3566 * gdb.mi/mi-var-display.exp: Set print symbol off.
3567
a9f116cb
GKB
35682014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3569
3570 PR gdb/17035
3571 * gdb.base/commands.exp: Add tests to verify user-defined
3572 commands with empty bodies.
3573 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3574 python commands in `show user command`.
3575 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3576 scheme commands in `show user command`.
3577
c75bd3a2
JK
35782014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3579
3580 PR python/17355
3581 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3582 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3583 * gdb.python/py-framefilter-invalidarg.exp: New file.
3584 * gdb.python/py-framefilter-invalidarg.py: New file.
3585
faa42425
DE
35862014-09-06 Doug Evans <xdje42@gmail.com>
3587
3588 PR 15276
3589 * gdb.python/py-caller-is.c: New file.
3590 * gdb.python/py-caller-is.exp: New file.
3591
474ca4f6
SDJ
35922014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3593
3594 PR gdb/17235
3595 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3596 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3597
eb0b0463
SDJ
35982014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3599
3600 PR fortran/17237
3601 * gdb.fortran/print-formatted.exp: New file.
3602 * gdb.fortran/print-formatted.f90: Likewise.
3603
5f3b99cf
SS
36042014-09-03 Sasha Smundak <asmundak@google.com>
3605
3606 * gdb.python/py-frame.exp: Test Frame.read_register.
3607
7d793aa9
SDJ
36082014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3609
3610 PR python/16699
3611 * gdb.python/py-completion.exp: New file.
3612 * gdb.python/py-completion.py: Likewise.
3613
fb0576e9
DE
36142014-08-28 Doug Evans <dje@google.com>
3615
3616 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3617 eax,etc. are live with values set by gdb and thus the compiler can't
3618 use them.
3619 * gdb.arch/i386-pseudo.c (main): Ditto.
3620
ee92b0dd
DE
36212014-08-27 Doug Evans <dje@google.com>
3622
3623 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3624
6649db35
DE
36252014-08-25 Doug Evans <dje@google.com>
3626
3627 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3628 (main): Ditto.
3629
564b7600
DE
36302014-08-25 Doug Evans <dje@google.com>
3631
3632 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3633
3881fb67
YQ
36342014-08-24 Yao Qi <yao@codesourcery.com>
3635
3636 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3637 symbol off.
3638 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3639
a05a36a5
DE
36402014-08-22 Doug Evans <dje@google.com>
3641
3642 PR 17276
3643 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3644 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3645 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3646
7c343b48
YQ
36472014-08-22 Yao Qi <yao@codesourcery.com>
3648
3649 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3650 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3651 * gdb.python/python.exp: Likewise. Use .py file on the host
3652 instead of the build.
3653
22fd09ae
JK
36542014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3655
3656 * gdb.threads/gcore-stale-thread.c: New file.
3657 * gdb.threads/gcore-stale-thread.exp: New file.
3658
a8454a7c
PA
36592014-08-21 Pedro Alves <palves@redhat.com>
3660
3661 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3662 * gdb.base/gcore-relro-pie.exp: Likewise.
3663 * gdb.base/gcore-relro.exp: Likewise.
3664 * gdb.base/gcore.exp: Likewise.
3665 * gdb.base/print-symbol-loading.exp: Likewise.
3666 * gdb.threads/gcore-thread.exp: Likewise.
3667 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3668
2a31c623
PA
36692014-08-20 Pedro Alves <palves@redhat.com>
3670 Jan Kratochvil <jan.kratochvil@redhat.com>
3671
3672 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3673 configure.
3674 (EXPECT): Handle READ1 being set.
3675 (all): Depend on EXTRA_RULES.
3676 (check-read1, expect-read1, read1.so, read1): New rules.
3677 * README (Testsuite Parameters): Document the READ1 make variable.
3678 (Race detection): New section.
3679 * configure: Regenerate.
3680 * configure.ac: If build==host==target, and running under a
3681 GNU/glibc system, add read1 to the extra Makefile rules.
3682 (EXTRA_RULES): AC_SUBST it.
3683 * lib/read1.c: New file.
3684
d36430db
JB
36852014-08-20 Joel Brobecker <brobecker@adacore.com>
3686
3687 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3688 the handling of variables declared as a typedef to an array
3689 which a DW_AT_data_location attribute.
3690
9a0dc9e3
PA
36912014-08-19 Andrew Burgess <aburgess@broadcom.com>
3692 Pedro Alves <palves@redhat.com>
3693
3694 PR symtab/14604
3695 PR symtab/14605
3696 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3697 gdb_test.
3698
0718a8da
PA
36992014-08-19 Pedro Alves <palves@redhat.com>
3700
3701 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3702
13b448cd
YQ
37032014-08-19 Yao Qi <yao@codesourcery.com>
3704
3705 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3706 right line.
3707
1cbf5077
DB
37082014-08-18 David Blaikie <dblaikie@gmail.com>
3709
3710 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3711
bf0fae19
JB
37122014-08-18 Joel Brobecker <brobecker@adacore.com>
3713
3714 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3715 attribute in array range.
3716
3c8c5dcc
JB
37172014-08-18 Joel Brobecker <brobecker@adacore.com>
3718
3719 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3720
e66d4446
SC
37212014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3722
3723 PR c++/17132
3724 * gdb.cp/pr17132.cc: New file.
3725 * gdb.cp/pr17132.exp: New file.
3726
940df408
SC
37272014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3728
3729 * gdb.python/py-xmethods.py (A_getarrayind)
3730 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3731 Use 'print' with function call syntax.
3732 (E_method_matcher.match): Fix tab vs space indentation mixup.
3733
ebcc6c3a
YQ
37342014-08-15 Yao Qi <yao@codesourcery.com>
3735
3736 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3737 false.
3738
775e0f04
YQ
37392014-08-15 Yao Qi <yao@codesourcery.com>
3740
3741 * gdb.cp/casts.exp: Set print symbol off.
3742 * gdb.cp/class2.exp: Likewise.
3743 * gdb.cp/overload.exp: Likewise.
3744 * gdb.cp/templates.exp: Likewise.
3745
d769e349
DE
37462014-08-11 Doug Evans <dje@google.com>
3747
3748 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3749 (test_load_shlib): Update.
3750
20c6f1e1
YQ
37512014-08-09 Yao Qi <yao@codesourcery.com>
3752
3753 * gdb.base/display.exp: Invoke is_address_zero_readable.
3754 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3755 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3756 * gdb.base/hbreak-unmapped.exp: Return if
3757 is_address_zero_readable returns true.
3758 * gdb.base/signest.exp: Likewise.
3759 * gdb.base/signull.exp: Likewise.
3760 * gdb.base/sigbpt.exp: Likewise.
3761 * gdb.guile/scm-disasm.exp: Do the test if
3762 is_address_zero_readable returns false.
3763 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3764 * gdb.python/py-arch.exp: Likewise.
3765 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3766 * lib/gdb.exp (is_address_zero_readable): New proc.
3767
5792e8e3
YQ
37682014-08-09 Yao Qi <yao@codesourcery.com>
3769
3770 PR testsuite/13443
3771 * gdb.mi/mi-var-display.exp: Make test messages unique.
3772
3cecbbbe
TT
37732014-08-04 Tom Tromey <tromey@redhat.com>
3774
3775 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3776 target 0".
3777
00b51ff5
TT
37782014-08-04 Tom Tromey <tromey@redhat.com>
3779
3780 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3781 "target_resume".
3782
6908c509
JB
37832014-08-01 Joel Brobecker <brobecker@adacore.com>
3784
3785 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3786 inner_vla_struct_object_size.
3787 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3788 as xfail.
3789
cc6563d2
PA
37902014-07-30 Pedro Alves <palves@redhat.com>
3791
3792 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3793 comment.
3794
7e09a223
YQ
37952014-07-29 Yao Qi <yao@codesourcery.com>
3796
3797 PR gdb/17206
3798 * gdb.base/until-nodebug.exp: New.
3799
7ebdbe92
DE
38002014-07-28 Doug Evans <xdje42@gmail.com>
3801
3802 PR guile/17203
3803 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3804 previously existing parameter, and previously ambiguously spelled
3805 parameter.
3806
fdb1adc6
WN
38072014-07-28 Will Newton <will.newton@linaro.org>
3808
3809 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3810
186fcde0
DE
38112014-07-26 Ludovic Courtès <ludo@gnu.org>
3812 Doug Evans <xdje42@gmail.com>
3813
3814 PR guile/17146
3815 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3816
70509625
PA
38172014-07-25 Pedro Alves <palves@redhat.com>
3818
3819 * gdb.threads/signal-command-handle-nopass.c: New file.
3820 * gdb.threads/signal-command-handle-nopass.exp: New file.
3821 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3822 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3823 * gdb.threads/signal-delivered-right-thread.c: New file.
3824 * gdb.threads/signal-delivered-right-thread.exp: New file.
3825
c3f814a1
PA
38262014-07-25 Pedro Alves <palves@redhat.com>
3827
3828 * gdb.base/double-prompt-target-event-error.exp
3829 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3830 match.
3831 (cancel_pagination_in_target_event): Rework double prompt
3832 detection.
3833 * gdb.base/paginate-after-ctrl-c-running.exp
3834 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3835 <return>' match.
3836 * gdb.base/paginate-bg-execution.exp
3837 (test_bg_execution_pagination_return)
3838 (test_bg_execution_pagination_cancel): Remove '-notransfer
3839 <return>' matches.
3840 * gdb.base/paginate-execution-startup.exp
3841 (test_fg_execution_pagination_return)
3842 (test_fg_execution_pagination_cancel): Remove '-notransfer
3843 <return>' matches.
3844 * gdb.base/paginate-inferior-exit.exp
3845 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3846 match.
3847 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3848 * lib/gdb.exp (pagination_prompt): Run text through
3849 string_to_regexp.
3850 (gdb_test_multiple): Match $pagination_prompt instead of
3851 "<return>".
3852 (string_to_regexp): Move to lib/gdb-utils.exp.
3853
e214cf6c
JK
38542014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3855
3856 * gdb.arch/amd64-entry-value-paramref.S: New file.
3857 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3858 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3859 * gdb.arch/amd64-optimout-repeat.S: New file.
3860 * gdb.arch/amd64-optimout-repeat.c: New file.
3861 * gdb.arch/amd64-optimout-repeat.exp: New file.
3862
17d0c5c8
JK
38632014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3864
3865 PR gdb/17170
3866 * gdb.base/statistics.exp: New file.
3867
b8b8facf
DE
38682014-07-17 Doug Evans <dje@google.com>
3869
74b49205 3870 PR gdb/17170
b8b8facf
DE
3871 * gdb.base/maint.exp: Update testing of per-command stats.
3872
1b5d0ab3
PA
38732014-07-16 Pedro Alves <palves@redhat.com>
3874
3875 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3876 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3877 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3878 (tfile_write_buf): New functions.
3879 (add_memory_block): Rewrite using the above.
3880 (adjust_function_address): New function.
3881 (FUNCTION_ADDRESS): New macro.
3882 (write_basic_trace_file): Remove short_x local, and use
3883 tfile_write_16. Change type of func_addr local to unsigned long
3884 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3885 here. Cast argument of add_memory_block to char pointer.
3886 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3887 (main): Remove parameters.
3888 * gdb.trace/tfile.exp: Remove nowarnings.
3889
4d974e88
SM
38902014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3891
3892 * gdb.base/debug-expr.exp: Test string evaluation with
3893 "debug expression" on.
3894
41e99568
PA
38952014-07-15 Pedro Alves <palves@redhat.com>
3896
3897 * gdb.base/reread.exp: Use clean_restart.
3898
487d9753
PL
38992014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3900
3901 * gdb.arch/avr-flash-qualifer.c: New.
3902 * gdb.arch/avr-flash-qualifer.exp: New.
3903
cc1c52ad
PA
39042014-07-14 Pedro Alves <palves@redhat.com>
3905
3906 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3907 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3908
1e973570
PA
39092014-07-14 Pedro Alves <palves@redhat.com>
3910
3911 * gdb.base/double-prompt-target-event-error.c: New file.
3912 * gdb.base/double-prompt-target-event-error.exp: New file.
3913
93d6eb10
PA
39142014-07-14 Pedro Alves <palves@redhat.com>
3915
3916 PR gdb/17072
3917 * gdb.base/paginate-inferior-exit.c: New file.
3918 * gdb.base/paginate-inferior-exit.exp: New file.
3919
0017922d
PA
39202014-07-14 Pedro Alves <palves@redhat.com>
3921
3922 PR gdb/17072
3923 * gdb.base/paginate-bg-execution.c: New file.
3924 * gdb.base/paginate-bg-execution.exp: New file.
3925
94696ad3
PA
39262014-07-14 Pedro Alves <palves@redhat.com>
3927
3928 PR gdb/17072
3929 * gdb.base/paginate-execution-startup.c: New file.
3930 * gdb.base/paginate-execution-startup.exp: New file.
3931 * lib/gdb.exp (pagination_prompt): New global.
3932 (default_gdb_spawn): New procedure, factored out from
3933 default_gdb_spawn.
3934 (default_gdb_start): Adjust to call default_gdb_spawn.
3935 (gdb_spawn): New procedure.
3936
bd293940
PA
39372014-07-14 Pedro Alves <palves@redhat.com>
3938
3939 * lib/gdb.exp (gdb_assert): New procedure.
3940 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3941
c933f875
PA
39422014-07-14 Pedro Alves <palves@redhat.com>
3943
3944 * gdb.base/execution-termios.c: New file.
3945 * gdb.base/execution-termios.exp: New file.
3946
d98b7a16
TT
39472014-07-14 Tom Tromey <tromey@redhat.com>
3948
3949 * gdb.cp/vla-cxx.cc: New file.
3950 * gdb.cp/vla-cxx.exp: New file.
3951
548740d6
TT
39522014-07-14 Tom Tromey <tromey@redhat.com>
3953
3954 * gdb.reverse/rerun-prec.c: New file.
3955 * gdb.reverse/rerun-prec.exp: New file.
3956
a25eb028
MR
39572014-07-12 Maciej W. Rozycki <macro@mips.com>
3958 Maciej W. Rozycki <macro@codesourcery.com>
3959
3960 * lib/gdb-utils.exp: New file.
3961 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3962 inline `gdb_init_command' processing.
3963 (gdb_start_cmd): Likewise.
3964 * lib/mi-support.exp (mi_run_cmd): Likewise.
3965 * README: Document `gdb_init_command' and `gdb_init_commands'.
3966
218c2655
JK
39672014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3968
3969 Fix false FAIL running under a very long directory name.
3970 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3971 and "set print elements 10000". Twice.
3972
5401fde3
YQ
39732014-07-11 Yao Qi <yao@codesourcery.com>
3974
3975 * gdb.base/exprs.exp: "set print symbol off".
3976
e76126e8
PA
39772014-07-11 Pedro Alves <palves@redhat.com>
3978
3979 * gdb.threads/kill.c: New file.
3980 * gdb.threads/kill.exp: New file.
3981
2d6f0de6
YQ
39822014-07-10 Yao Qi <yao@codesourcery.com>
3983
3984 * gdb.trace/tfile.c (write_basic_trace_file)
3985 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3986 address written to trace file.
3987
7180e04a
PA
39882014-07-09 Pedro Alves <palves@redhat.com>
3989
3990 * gdb.base/attach-wait-input.exp: New file.
3991 * gdb.base/attach-wait-input.c: New file.
3992
9a9a7608
AB
39932014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3994
3995 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3996 setting up test structures.
3997 (main): Call new test function.
3998 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3999 test function, continue into test function and walk test
4000 structures.
4001
161ac41e
YQ
40022014-07-02 Yao Qi <yao@codesourcery.com>
4003
4004 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4005 'bar_start' at the beginning of functions 'foo' and 'bar'
4006 respectively.
4007 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4008 instead of 'foo' and 'bar'.
4009
1f267ae3
MM
40102014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4011
4012 * gdb.btrace/segv.exp: New.
4013 * gdb.btrace/segv.c: New.
4014
2b239efb
LM
40152014-07-02 Luis Machado <lgustavo@codesourcery.com>
4016
4017 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4018 instruction.
4019
cf363f18
MW
40202014-06-30 Mark Wielaard <mjw@redhat.com>
4021
4022 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4023 vulture, vilify, villar): New volatile array constants.
4024 (vindictive, vegetation): New const volatile array constants.
4025 * gdb.base/volatile.exp: Test volatile and const volatile array
4026 types.
4027
aebf9d24
AA
40282014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4029
4030 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4031 target lacks support for awatch, rwatch, or hbreak.
4032
b67a2c6f
YQ
40332014-06-27 Yao Qi <yao@codesourcery.com>
4034
4035 * gdb.multi/dummy-frame-restore.exp: New.
4036 * gdb.multi/dummy-frame-restore.c: New.
4037
aef92902
MM
40382014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4039
4040 * gdb.btrace/gcore.exp: New.
4041
8e9db26e
PA
40422014-06-23 Pedro Alves <palves@redhat.com>
4043
4044 * gdb.base/watchpoint-reuse-slot.c: New file.
4045 * gdb.base/watchpoint-reuse-slot.exp: New file.
4046
70afc5b7
SC
40472014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4048
4049 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4050 progspace's filename in 'info', 'enable' and 'disable' command
4051 tests.
4052
b972bd9c
JK
40532014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4054
4055 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4056 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4057 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4058
125f8a3d
GB
40592014-06-20 Gary Benson <gbenson@redhat.com>
4060
4061 * gdb.arch/i386-avx.exp: Fix include file location.
4062 * gdb.arch/i386-sse.exp: Likewise.
4063
3ed9baed
IB
40642014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4065
4066 * gdb.dlang/expression.exp: New file.
4067
034f788c
PA
40682014-06-19 Pedro Alves <palves@redhat.com>
4069
4070 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4071 out from ...
4072 (top level): ... here. Iterate running tests under different
4073 scheduler-locking settings.
4074
45371d0c
LM
40752014-06-18 Luis Machado <lgustavo@codesourcery.com>
4076
4077 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4078 to DW_FORM_addr and use non-zero addresses.
4079
5d376983
SC
40802014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4081
4082 PR gdb/17017
4083 * gdb.python/py-xmethods.cc: Add global function call counters and
4084 increment them in their respective functions. Remove "cout"
4085 statements.
4086 * gdb.python/py-xmethods.exp: Make tests check the global function
4087 call counters instead of depending on inferior IO.
4088
a1aa2221
LM
40892014-06-18 Don Breazeal <donb@codesourcery.com>
4090
4091 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4092 Deleted procedure.
4093 (explicit_fork_parent_follow): Deleted procedure.
4094 (explicit_fork_child_follow): Deleted procedure.
4095 (test_follow_fork): New procedure.
4096 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4097 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4098 procedure calls.
4099
0fc05997
YQ
41002014-06-17 Yao Qi <yao@codesourcery.com>
4101
4102 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4103 CP1252.
4104
70795c52
LM
41052014-06-17 Luis Machado <lgustavo@codesourcery.com>
4106
4107 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4108 Initialize ptr and S explicitly.
4109 (skip_type_update_when_not_use_rtti_test): Likewise.
4110
6be47f0c
KS
41112014-06-16 Keith Seitz <keiths@redhat.com>
4112
4113 PR mi/15863
4114 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4115 the inferior is started.
4116
d03de421
PA
41172014-06-16 Pedro Alves <palves@redhat.com>
4118
4119 * gdb.base/break-main-file-remove-fail.c: New file.
4120 * gdb.base/break-main-file-remove-fail.exp: New file.
4121 * gdb.base/break-unload-file.exp: Use build_executable instead of
4122 prepare_for_testing.
4123 (test_break): New parameter "initial_load". Handle it.
4124 (top level): Add initial_load cmdline/file axis.
4125
f9579b99
TT
41262014-06-12 Tom Tromey <tromey@redhat.com>
4127
4128 * gdb.base/completion.exp: Don't use directory name in test.
4129
3657956b
GB
41302014-06-09 Gary Benson <gbenson@redhat.com>
4131
4132 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4133 separate the always-available ANSI-standard signals from the
4134 signals that require checking.
4135 (main): Likewise.
4136 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4137 Likewise.
4138 (main): Likewise.
4139
4186eb54
KS
41402014-06-07 Keith Seitz <keiths@redhat.com>
4141
4142 Revert:
4143 PR c++/16253
4144 * gdb.cp/var-tag.cc: New file.
4145 * gdb.cp/var-tag.exp: New file.
4146 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4147 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4148 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4149 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4150
25326a28 41512014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4152
4153 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4154
829155c9
PA
41552014-06-06 Pedro Alves <palves@redhat.com>
4156
4157 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4158 in target debug output instead of looking at RSP packets,
4159 disabling the test on any target that uses hardware stepping.
4160 Update comments.
4161
61c8d22e
PA
41622014-06-06 Pedro Alves <palves@redhat.com>
4163
4164 * gdb.base/break-unload-file.exp: Fix typo.
4165
d9a47287
YQ
41662014-06-06 Yao Qi <yao@codesourcery.com>
4167
4168 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4169 from "jit_function" to "^jit_function".
4170
e5e01dbf
YQ
41712014-06-06 Yao Qi <yao@codesourcery.com>
4172
4173 * gdb.base/async.c (foo): Add one statement.
4174 * gdb.base/async.exp: Get the next instruction address and
4175 match the output of "nexti" by instruction address. Match
4176 the hex address in the output of "finish".
4177
73ba372c
GB
41782014-06-06 Gary Benson <gbenson@redhat.com>
4179
4180 * gdb.base/call-signals.c: Remove preprocessor conditionals
4181 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4182 SIGSEGV and SIGTERM.
4183 * gdb.base/sigall.c: Likewise.
4184 * gdb.base/unwindonsignal.c: Likewise.
4185 * gdb.reverse/sigall-reverse.c: Likewise.
4186
831517df
YQ
41872014-06-06 Yao Qi <yao@codesourcery.com>
4188
4189 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4190 readable, skip the test.
4191
b8b91e98
YQ
41922014-06-06 Yao Qi <yao@codesourcery.com>
4193
4194 * gdb.threads/staticthreads.c (thread_function): Move the line
4195 setting breakpoint on forward.
4196 * gdb.threads/staticthreads.exp: Update comments.
4197
fb934770
LC
41982014-06-05 Ludovic Courtès <ludo@gnu.org>
4199
4200 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4201 "history-append! type error".
4202
6ef284bd
SM
42032014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4204
4205 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4206 erroneous dprintf expected input.
4207
a872e241
DE
42082014-06-04 Doug Evans <xdje42@gmail.com>
4209
4210 * gdb.guile/scm-generics.exp: Delete.
4211
16f691fb
DE
42122014-06-04 Doug Evans <xdje42@gmail.com>
4213
4214 * gdb.guile/scm-breakpoint.exp: Update.
4215 Add tests for breakpoint registration.
4216
012370f6
TT
42172014-06-04 Tom Tromey <tromey@redhat.com>
4218
4219 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4220 VLA-in-union.
4221 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4222 inner_vla_struct, vla_union types. Initialize objects of those
4223 types and compute their sizes.
4224
9f5a4cef
HZ
42252014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4226 Hui Zhu <hui@codesourcery.com>
4227
4228 * gdb.base/fileio.exp: Add test for shell not available as well as
4229 available.
4230 * gdb.base/fileio.c (test_system): Check for shell twice.
4231
90a45c4d
YQ
42322014-06-04 Yao Qi <yao@codesourcery.com>
4233
4234 * gdb.base/auto-connect-native-target.exp: Remove redundant
4235 space from the regexp pattern.
4236
70017e41
YQ
42372014-06-04 Yao Qi <yao@codesourcery.com>
4238
4239 * gdb.base/default.exp: Replace "child" with "native" in
4240 regexp pattern.
4241
883964a7
SC
42422014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4243
4244 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4245 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4246 * gdb.python/py-xmethods.py: Python script supporting the
4247 new testcase and tests.
4248
ef370185
JB
42492014-06-03 Joel Brobecker <brobecker@adacore.com>
4250 Pedro Alves <palves@redhat.com>
4251
4252 PR breakpoints/17000
4253 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4254 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4255
1e2ccb61
BM
42562014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4257
4258 * gdb.base/subst.exp: Add tests to verify partial path matching
4259 output.
4260
c6ec5ab2
PA
42612014-06-03 Pedro Alves <palves@redhat.com>
4262
4263 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4264 target that doesn't use software single-stepping.
4265
835c559f
PA
42662014-06-03 Pedro Alves <palves@redhat.com>
4267
4268 PR breakpoints/17000
4269 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4270 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4271
06eb1586
DE
42722014-06-02 Doug Evans <xdje42@gmail.com>
4273
4274 * gdb.guile/scm-parameter.exp: New file.
4275
e698b8c4
DE
42762014-06-02 Doug Evans <xdje42@gmail.com>
4277
4278 * gdb.guile/scm-cmd.c: New file.
4279 * gdb.guile/scm-cmd.exp: New file.
4280
ded03782
DE
42812014-06-02 Doug Evans <xdje42@gmail.com>
4282
4283 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4284 pretty-printer lookup.
4285 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4286 (make-pp_s-printer): Call it.
4287 (make-pretty-printer-from-dict): New function.
4288 (lookup-pretty-printer-maker-from-dict): New function.
4289 (*pretty-printer*): Simplify.
4290 (make-objfile-pp_s-printer): New function.
4291 (install-objfile-pretty-printers!): New function.
4292 (make-progspace-pp_s-printer): New function.
4293 (install-progspace-pretty-printers!): New function.
4294 * gdb.guile/scm-progspace.c: New file.
4295 * gdb.guile/scm-progspace.exp: New file.
4296
41fac0cf
PA
42972014-06-02 Pedro Alves <palves@redhat.com>
4298
4299 * gdb.base/dprintf-bp-same-addr.c: New file.
4300 * gdb.base/dprintf-bp-same-addr.exp: New file.
4301
96ae5695
EBM
43022014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4303
4304 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4305 * gdb.arch/powerpc-power.s: Likewise.
4306
da02b3a8
JB
43072014-06-02 Joel Brobecker <brobecker@adacore.com>
4308
4309 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4310
c72b2e7b
YQ
43112014-06-01 Yao Qi <yao@codesourcery.com>
4312
4313 * gdb.base/watchpoint.exp (test_watch_location): Check null
4314 pointer can be dereferenced. If not, do the test, otherwise
4315 skip it.
4316
53e8a631
AB
43172014-05-30 Andrew Burgess <aburgess@broadcom.com>
4318
4319 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4320 results.
4321 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4322
938f0e2f
AB
43232014-05-30 Andrew Burgess <aburgess@broadcom.com>
4324
4325 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4326 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4327 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4328 * gdb.arch/amd64-invalid-stack-top.c: New file.
4329 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4330
9ba6657a
PA
43312014-05-30 Pedro Alves <palves@redhat.com>
4332
4333 PR breakpoints/17000
4334 * gdb.base/sss-bp-on-user-bp.c: New file.
4335 * gdb.base/sss-bp-on-user-bp.exp: New file.
4336
522c09bf
DB
43372014-05-30 David Blaikie <dblaikie@gmail.com>
4338
4339 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4340 gnu_inline semantics via attribute.
4341 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4342 source explicitly specifies the required semantics.
4343
bf4ef81e
MR
43442014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4345
4346 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4347
329ea579
PA
43482014-05-29 Pedro Alves <palves@redhat.com>
4349 Tom Tromey <tromey@redhat.com>
4350
4351 * gdb.base/async-shell.exp: Don't enable target-async.
4352 * gdb.base/async.exp
4353 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4354 parameter. Adjust.
4355 (top level): Don't test with "target-async".
4356 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4357 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4358 * gdb.base/inferior-died.exp: Don't enable target-async.
4359 * gdb.base/interrupt-noterm.exp: Likewise.
4360 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4361 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4362 * gdb.mi/mi-nonstop.exp: Likewise.
4363 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4364 * gdb.mi/mi-nsintrall.exp: Likewise.
4365 * gdb.mi/mi-nsmoribund.exp: Likewise.
4366 * gdb.mi/mi-nsthrexec.exp: Likewise.
4367 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4368 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4369 * gdb.python/py-evsignal.exp: Don't enable target-async.
4370 * gdb.python/py-evthreads.exp: Likewise.
4371 * gdb.python/py-prompt.exp: Likewise.
4372 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4373 * gdb.server/solib-list.exp: Don't enable target-async.
4374 * gdb.threads/thread-specific-bp.exp: Likewise.
4375 * lib/mi-support.exp: Adjust to use mi-async.
4376
fd664c91
PA
43772014-05-29 Pedro Alves <palves@redhat.com>
4378
4379 PR gdb/13860
4380 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4381 reason, even in sync mode.
4382
251bde03
PA
43832014-05-29 Pedro Alves <palves@redhat.com>
4384 Hui Zhu <hui@codesourcery.com>
4385
4386 PR PR15693
4387 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4388 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4389 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4390 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4391
7f3c0343
JB
43922014-05-28 Joel Brobecker <brobecker@adacore.com>
4393
4394 * config/monitor.exp (gdb_target_monitor): Replace use of
4395 "set remotebaud" by "set serial baud".
4396
b2715b27
AW
43972014-05-26 Andy Wingo <wingo@igalia.com>
4398
4399 * gdb.guile/scm-breakpoint.exp:
4400 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4401 properties instead of gdb-object-properties.
4402
498a4489
YQ
44032014-05-26 Yao Qi <yao@codesourcery.com>
4404
4405 * gdb.server/no-thread-db.exp: Specify source file name
4406 explicitly when setting a breakpoint.
4407
589fdceb
MM
44082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4409
4410 * gdb.btrace/vdso.c: New.
4411 * gdb.btrace/vdso.exp: New.
4412
e9089e05
MM
44132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4414
4415 * gdb.base/gcore.exp (capture_command_output): Move ...
4416 * lib/gdb.exp (capture_command_output): ... here.
4417
67b5c0c1
MM
44182014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4419
4420 * gdb.btrace/data.exp: Test memory access during btrace replay.
4421
a2199296
SM
44222014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4423
4424 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4425
17b2616c
PA
44262014-05-21 Pedro Alves <palves@redhat.com>
4427
4428 PR gdb/13860
4429 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4430 (top level): Test that output related to execution commands is
4431 sent to the console with CLI commands, but not with MI commands.
4432 Test that breakpoint events are always mirrored to the console.
4433 Also expect the new source line to be output after a "next" in
4434 async mode too. Make it a pass/fail test.
4435 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4436 output.
4437 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4438
5166082f
PA
44392014-05-21 Pedro Alves <palves@redhat.com>
4440
4441 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4442 Use them to test variations of "list" after reaching a breakpoint.
4443 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4444 Test "list" with listsize 10 after reaching a breakpoint.
4445 * gdb.python/python.exp (decode_line current location line
4446 number): Adjust expected line number.
4447
2f25d70f
SM
44482014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4449
4450 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4451 behavior for $args, pass it directly to "run".
4452
ff604a67
MR
44532014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4454
4455 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4456 30000 to 65536.
4457
6a3cb8e8
PA
44582014-05-21 Pedro Alves <palves@redhat.com>
4459
4460 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4461 auto-connect-native-target off".
4462 * gdb.base/auto-connect-native-target.c: New file.
4463 * gdb.base/auto-connect-native-target.exp: New file.
4464
4ebfc96e
PA
44652014-05-21 Pedro Alves <palves@redhat.com>
4466
4467 * gdb.base/default.exp: Test "target native" instead of "target
4468 child".
4469
36d46afb
MW
44702014-05-21 Mark Wielaard <mjw@redhat.com>
4471
4472 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4473
5876f503
JK
44742014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4475
4476 Fix TLS access for -static -pthread.
4477 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4478 <HAVE_TLS> (thread_function, main): Initialize it.
4479 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4480 Add clean_restart.
4481 <$have_tls != "">: Check TLSVAR.
4482
0256a6ac
PA
44832014-05-21 Pedro Alves <palves@redhat.com>
4484
4485 * gdb.base/dcache-line-read-error.c: New.
4486 * gdb.base/dcache-line-read-error.exp: New.
4487
936d2992
PA
44882014-05-20 Pedro Alves <palves@redhat.com>
4489
4490 * gdb.base/compare-sections.c: New file.
4491 * gdb.base/compare-sections.exp: New file.
4492
802e8e6d
PA
44932014-05-20 Pedro Alves <palves@redhat.com>
4494
4495 * gdb.base/break-idempotent.c: New file.
4496 * gdb.base/break-idempotent.exp: New file.
4497
e59fa00f
MM
44982014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4499
4500 * gdb.btrace/nohist.exp: New.
4501
8b696e31
YQ
45022014-05-20 Yao Qi <yao@codesourcery.com>
4503
4504 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4505 gdb.reverse directory and gdb_reverse_timeout exists in board
4506 setting.
4507 * README: Document gdb_reverse_timeout.
4508
73c9764f
YQ
45092014-05-20 Yao Qi <yao@codesourcery.com>
4510
4511 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4512 'test_file_name'. Treat args as a string instead of a list.
4513 (gdb_init): Rename argument 'args' by 'test_file_name'.
4514
f1f4348a
JK
45152014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4516
4517 * gdb.arch/powerpc-power.exp: New file.
4518 * gdb.arch/powerpc-power.s: New file.
4519
0dbe70ce
DE
45202014-05-16 Doug Evans <dje@google.com>
4521
4522 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4523 * gdb.base/completion.exp: Check that all expected files exist
4524 before doing file completion.
0dbe70ce 4525
8d551b02
DE
45262014-05-16 Doug Evans <dje@google.com>
4527
4528 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4529 Update.
4530 (do_syscall_tests_without_xml): Update.
4531
73eb7709
PA
45322014-05-16 Pedro Alves <palves@redhat.com>
4533
4534 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4535 instead of "unknown output after running".
4536
3fae92fc
YQ
45372014-05-16 Yao Qi <yao@codesourcery.com>
4538
4539 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4540 file1.txt from host at the end.
4541 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4542
c2b2ccc5
DE
45432014-05-15 Doug Evans <dje@google.com>
4544
4545 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4546 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4547 loading file. Add test for TU lookup.
4548
8c217a4b
SM
45492014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4550
4551 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4552 calling "-exec-arguments" or "set args" before running the
4553 inferior.
4554
3deb39c6
SM
45552014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4556
4557 * lib/mi-support.exp (mi_expect_stop): Expect message for
4558 inferiors that exit with non-zero exit code.
4559
71a79f8c
YQ
45602014-05-14 Yao Qi <yao@codesourcery.com>
4561
4562 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4563 match absolute path on remote host.
4564 (test_file_list_exec_source_files): Remove "/" from the
4565 pattern.
4566
f23fcd46
YQ
45672014-05-14 Yao Qi <yao@codesourcery.com>
4568
4569 * boards/local-remote-host-notty.exp (${board}_file): New
4570 proc.
4571
9404b58f
KM
45722014-05-07 Kyle McMartin <kyle@redhat.com>
4573
4574 Pushed by Joel Brobecker <brobecker@adacore.com>.
4575 * gdb.arch/aarch64-atomic-inst.c: New file.
4576 * gdb.arch/aarch64-atomic-inst.exp: New file.
4577
5e45f04c
YQ
45782014-05-07 Yao Qi <yao@codesourcery.com>
4579
4580 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4581 in current context" too.
4582
c888a17d
KS
45832014-05-05 Keith Seitz <keiths@redhat.com>
4584
4585 * gdb.linespec/ls-dollar.exp: Add test for linespec
4586 file:convenience_variable.
4587
290a839c
YQ
45882014-05-05 Yao Qi <yao@codesourcery.com>
4589
4590 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4591 traceframes into tfile and ctf trace files. Read data from
4592 trace file and test collected data.
4593 (gdb_collect_locals_test): Likewise.
4594 (gdb_unavailable_registers_test): Likewise.
4595 (gdb_unavailable_floats): Likewise.
4596 (gdb_collect_globals_test): Likewise.
4597 (top-level): Append "ctf" to trace_file_targets if GDB
4598 supports.
4599
b5262cd0
YQ
46002014-05-05 Yao Qi <yao@codesourcery.com>
4601
4602 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4603 code to ...
4604 (gdb_collect_args_test_1): ... it. New proc.
4605 (gdb_collect_locals_test): Move some code to ...
4606 (gdb_collect_locals_test_1): ... it. New proc.
4607 (gdb_unavailable_registers_test): Move some code to ...
4608 (gdb_unavailable_registers_test_1): ... it. New proc.
4609 (gdb_unavailable_floats): Move some code to ...
4610 (gdb_unavailable_floats_1): ... it. New proc.
4611
30a1e6cc
SDJ
46122014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4613
4614 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4615 probes to test for bitness recognition.
4616 * gdb.arch/amd64-stap-optional-prefix.exp
4617 (test_probe_value_without_reg): New procedure.
4618 Add code to test for different kinds of bitness.
4619
f33da99a
SDJ
46202014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4621
4622 PR breakpoints/16889
4623 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4624 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4625
5b80f00d
PA
46262014-05-01 Pedro Alves <palves@redhat.com>
4627
4628 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4629 gdb_file_cmd if no file is specified.
4630 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4631 last_loaded_file to set the remote exec-file.
4632
f8c2a73c
PA
46332014-05-01 Pedro Alves <palves@redhat.com>
4634
4635 * boards/local-remote-host.exp: New file.
4636
be6e8ac7
PA
46372014-05-01 Pedro Alves <palves@redhat.com>
4638
4639 * boards/local-remote-host.exp: Rename to ...
4640 * boards/local-remote-host-notty.exp: ... this.
4641
cac0dc8f
JB
46422014-04-28 Joel Brobecker <brobecker@adacore.com>
4643
4644 * gdb.ada/dyn_arrayidx: New testcase.
4645
9730e6cc
YQ
46462014-04-26 Yao Qi <yao@codesourcery.com>
4647
4648 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4649 and compute the length of function main. Save it in
4650 $main_length.
4651 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4652 (top-level): Use gdb_compile to compile objects into
4653 executable and restart GDB. Remove invocation to
4654 prepare_for_testing.
4655
7ae1a6a6
PA
46562014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4657 Pedro Alves <palves@redhat.com>
4658
4659 PR server/16255
4660 * gdb.multi/multi-attach.c: New file.
4661 * gdb.multi/multi-attach.exp: New file.
4662
4082afcc
PA
46632014-04-25 Pedro Alves <palves@redhat.com>
4664
4665 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4666 user.
4667 (top level): Test that "set remote conditional-breakpoints-packet
4668 off" works as intended.
4669 * gdb.base/dprintf.exp: Test that "set remote
4670 breakpoint-commands-packet off" works as intended.
4671 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4672 New function.
4673 (top level): Call it.
4674 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4675 remote fast-tracepoints-packet off" works as intended.
4676 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4677 * lib/gdb.exp (gdb_is_target_remote): ... here.
4678
2abc3f8d
DB
46792014-04-24 David Blaikie <dblaikie@gmail.com>
4680
4681 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4682 ensure clang would not discard them.
4683 * gdb.base/gdbvars.c: Ditto.
4684 * gdb.base/memattr.c: Ditto.
4685 * gdb.base/whatis.c: Ditto.
4686 * gdb.python/py-prettyprint.c: Ditto.
4687 * gdb.trace/actions.c: Ditto.
4688 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4689 ensure clang would not discard it.
4690
bfd39632
DB
46912014-04-24 David Blaikie <dblaikie@gmail.com>
4692
4693 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4694 clang to emit the full definition of type required by the test
4695 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4696
22842ff6
DB
46972014-04-24 David Blaikie <dblaikie@gmail.com>
4698
4699 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4700 coax Clang into emitting the definition of the type.
4701 * gdb.cp/pr10728-x.h (y): Ditto.
4702 * gdb.cp/pr10728-y.cc (y): Ditto.
4703
c2e827ad
DB
47042014-04-24 David Blaikie <dblaikie@gmail.com>
4705
4706 * gdb.base/label.exp: XFAIL label related tests under Clang.
4707 * gdb.cp/cplabel.exp: Ditto.
4708 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4709 under Clang those using labels.
4710
4c2d33e7
YQ
47112014-04-25 Yao Qi <yao@codesourcery.com>
4712
4713 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4714 double_label.
4715 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4716 partial_label and double_label.
4717
56083b99
DB
47182014-04-24 David Blaikie <dblaikie@gmail.com>
4719
4720 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4721
25d4e99d
DB
47222014-04-24 David Blaikie <dblaikie@gmail.com>
4723
4724 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4725 of the function to work across GCC and Clang.
4726 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4727 pointer types (const void ** const V void **).
4728
01f9f808
MS
47292014-04-24 Michael Sturm <michael.sturm@mintel.com>
4730 Walfred Tedeschi <walfred.tedeschi@intel.com>
4731
4732 * Makefile.in (EXECUTABLES): Added i386-avx512.
4733 * gdb.arch/i386-avx512.c: New file.
4734 * gdb.arch/i386-avx512.exp: Likewise.
4735
4b48d439
KS
47362014-04-23 Keith Seitz <keiths@redhat.com>
4737
4738 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4739 (mi_make_breakpoint_table): New procedure.
4740 (mi_create_breakpoint): Use mi_make_breakpoint
4741 and return the result.
4742 (mi_make_breakpoint): New procedure.
4743 (mi_build_kv_pairs): New procedure.
4744
4745 * gdb.mi/mi-break.exp: Remove unused globals,
4746 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4747 All callers updated.
4748 * gdb.mi/mi-dprintf.exp: Use variable to track command
4749 number.
4750 Update all callers of mi_create_breakpoint and use
4751 mi_make_breakpoint_table.
4752 Remove any unused global variables.
4753 * gdb.mi/mi-nonstop.exp: Likewise.
4754 * gdb.mi/mi-nsintrall.exp: Likewise.
4755 * gdb.mi/mi-nsmoribund.exp: Likewise.
4756 * gdb.mi/mi-nsthrexec.exp: Likewise.
4757 * gdb.mi/mi-reverse.exp: Likewise.
4758 * gdb.mi/mi-simplerun.exp: Likewise.
4759 * gdb.mi/mi-stepn.exp: Likewise.
4760 * gdb.mi/mi-syn-frame.exp: Likewise.
4761 * gdb.mi/mi-until.exp: Likewise.
4762 * gdb.mi/mi-var-cp.exp: Likewise.
4763 * gdb.mi/mi-var-display.exp: Likewise.
4764 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4765 * gdb.mi/mi2-var-child.exp: Likewise.
4766 * gdb.mi/mi-vla-c99.exp: Likewise.
4767 * lib/mi-support.exp: Likewise.
4768
4769 From Ian Lance Taylor <iant@cygnus.com>:
4770 * lib/gdb.exp (parse_args): New procedure.
4771
08351840
PA
47722014-04-23 Pedro Alves <palves@redhat.com>
4773
4774 * gdb.base/break-unload-file.c: New file.
4775 * gdb.base/break-unload-file.exp: New file.
4776 * gdb.base/sym-file-lib.c (baz): New function.
4777 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4778 field.
4779 (load): Store the segment's mapped size.
4780 (unload): New function.
4781 (unload_shlib): New function.
4782 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4783 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4784 set a breakpoint at baz, and call it.
4785 * gdb.base/sym-file.exp: New tests for stale breakpoint
4786 instructions.
4787
076855f9
PA
47882014-04-23 Pedro Alves <palves@redhat.com>
4789
4790 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4791 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4792 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4793 * gdb.base/hbreak-unmapped.c: New file.
4794 * gdb.base/hbreak-unmapped.exp: New file.
4795 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4796 * lib/gdb.exp (gdb_is_target_remote): ... here.
4797
483805cf
PA
47982014-04-22 Pedro Alves <palves@redhat.com>
4799
4800 * gdb.base/consecutive-step-over.c: New file.
4801 * gdb.base/consecutive-step-over.exp: New file.
4802
06d97543
PA
48032014-04-22 Pedro Alves <palves@redhat.com>
4804
4805 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4806 instead of send_gdb/gdb_expect.
4807
b4429ea2
YQ
48082014-04-22 Yao Qi <yao@codesourcery.com>
4809
4810 * lib/trace-support.exp (generate_tracefile): New procedure.
4811 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4812 return 0.
4813 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4814 if generate_tracefile returns 1.
4815
51d48146
PA
48162014-04-18 Tom Tromey <palves@redhat.com>
4817 Pedro alves <tromey@redhat.com>
4818
4819 PR backtrace/15558
4820 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4821 with a backtrace limit.
4822 * gdb.python/py-frame-inline.exp: Test running to an inline
4823 function with a backtrace limit, and printing the newest frame.
4824 * gdb.python/py-frame-inline.c (main): Call f.
4825
bd1dce5f
MS
48262014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4827
4828 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4829
40d1a503
MS
48302014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4831
4832 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4833 Drop prefix from unsupported source file path.
4834
389b98f7
YQ
48352014-04-17 Yao Qi <yao@codesourcery.com>
4836
4837 * lib/gdb.exp (with_target_charset): New proc.
4838 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4839 with_target_charset.
4840 (test_print_strings): Likewise.
4841 (test_repeat_bytes): Likewise.
4842 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4843 for some tests.
4844
22869d73
KS
48452014-04-16 Keith Seitz <keiths@redhat.com>
4846
4847 PR gdb/15827
4848 * gdb.dwarf2/corrupt.c: New file.
4849 * gdb.dwarf2/corrupt.exp: New file.
4850
c4f87ca6
KS
48512014-04-16 Keith Seitz <keiths@redhat.com>
4852
4853 PR c++/16597
4854 * gdb.cp/namelessclass.cc: New file.
4855 * gdb.cp/namelessclass.exp: New file.
4856 * gdb.cp/namelessclass.S: New file.
4857
ab19de87
DE
48582014-04-16 Doug Evans <dje@google.com>
4859
4860 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4861 Add comment.
4862 (gdbserver_default_get_comm_port): New function.
4863 (gdbserver_start): Check if board file provided
4864 "gdbserver,get_comm_port" and use it if so.
4865 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4866 (gdb,socketport): Set to "stdio".
4867 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4868 (stdio_gdbserver_template): Delete.
4869 (${board}_get_remote_address): Update.
4870 (${board}_build_remote_cmd): Delete.
4871 (${board}_get_comm_port): New function.
4872 (${board}_spawn): Update.
4873 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4874 Delete.
4875 (${board}_get_remote_address): Update.
4876 (${board}_get_comm_port): New function.
4877
fc98a809
AB
48782014-04-16 Andrew Burgess <aburgess@broadcom.com>
4879
4880 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4881 appearing in any order.
4882
87fd9e6e
DE
48832014-04-15 Doug Evans <dje@google.com>
4884
4885 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4886 uninitialized value of "description".
4887
099fc3ea
KS
48882014-04-15 Keith Seitz <keiths@redhat.com>
4889
4890 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4891 Remove unused globals.
4892 (test_running_the_program): Likewise.
4893 (test_controlled_execution): Likewise.
4894 (test_controlling_breakpoints): Likewise.
4895 (test_program_termination): Likewise.
4896
5da151d4
KS
48972014-04-15 Keith Seitz <keiths@redhat.com>
4898
4899 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4900 unused globals.
4901 (test_rbreak_creation_and_listing): Likewise.
4902 (test_ignore_count): Likewise.
4903 (test_error): Likewise.
4904
35e5d2f0
PA
49052014-04-15 Pedro Alves <palves@redhat.com>
4906
4907 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4908 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4909 sym-file-loader.c.
4910 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4911 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4912 to sym-file-loader.c.
4913 (struct library): Forward declare.
4914 (load_shlib, lookup_function): Change prototypes.
4915 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4916 (translate_offset): Remove declarations.
4917 (get_text_addr): New declaration.
4918 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4919 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4920 sym-file-loader.h.
4921 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4922 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4923 here from sym-file-loader.h.
4924 (struct library): New structure.
4925 (load_shlib, lookup_function): Change prototypes and adjust to
4926 work with a struct library.
4927 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4928 (translate_offset): Make static.
4929 (get_text_addr): New function.
4930 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4931
eb4c1710
PA
49322014-04-15 Pedro Alves <palves@redhat.com>
4933
4934 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4935
2d1baf52
PA
49362014-04-15 Pedro Alves <palves@redhat.com>
4937
4938 * gdb.base/sym-file-loader.c: Include <limits.h>.
4939 (SELF_LINK): New define.
4940 (get_origin): New function.
4941 (load_shlib): Use it.
4942 * gdb.base/sym-file.exp: Don't early return if the target is
4943 remote. Use runto_main, and issue fail is that fails. Use
4944 gdb_load_shlibs.
4945 (shlib_name): Delete.
4946 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4947
7dd6df01
PA
49482014-04-15 Pedro Alves <palves@redhat.com>
4949
4950 * gdb.base/sym-file.exp: Remove regex characters from test
4951 message. Don't refer to breakpoint numbers in test messages.
4952
b50c8614
KS
49532014-04-14 Keith Seitz <keiths@redhat.com>
4954
4955 PR c++/16253
4956 * gdb.cp/var-tag.cc: New file.
4957 * gdb.cp/var-tag.exp: New file.
4958 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4959 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4960 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4961 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4962
3d567982
TT
49632014-04-14 Tom Tromey <tromey@redhat.com>
4964
4965 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4966 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4967 type.
4968 * gdb.cp/enum-class.exp: New file.
4969 * gdb.cp/enum-class.cc: New file.
4970
0626fc76
TT
49712014-04-14 Tom Tromey <tromey@redhat.com>
4972
4973 * gdb.dwarf2/enum-type.exp: New file.
4974
dca325b3
SA
49752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4976
4977 * gdb.mi/mi-vla-c99.exp: New file.
4978 * gdb.mi/vla.c: New file.
4979
5854b38a
SA
49802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4981
4982 * gdb.base/vla-datatypes.c: New file.
4983 * gdb.base/vla-datatypes.exp: New file.
4984
463bb957
SA
49852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4986
4987 * gdb.base/vla-ptr.c: New file.
4988 * gdb.base/vla-ptr.exp: New file.
4989
3dd170be
SA
49902014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4991
4992 * gdb.dwarf2/count.exp: New file.
4993
5ecaaa66
SA
49942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4995
4996 * gdb.base/vla-sideeffect.c: New file.
4997 * gdb.base/vla-sideeffect.exp: New file.
4998
41f1ada5
DB
49992014-04-14 David Blaikie <dblaikie@gmail.com>
5000
5001 * gdb.mi/non-stop.c: Add return value for non-void function return
5002 statement.
5003 * gdb.threads/staticthreads.c: Ditto.
5004
0be03e84
DE
50052014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5006 Doug Evans <xdje42@gmail.com>
5007
5008 * gdb.guile/scm-value.c: Improve test case.
5009 * gdb.guile/scm-value.exp: Add new test.
5010
f180a1fb
DB
50112014-04-11 David Blaikie <dblaikie@gmail.com>
5012
5013 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5014 override Clang's default.
5015
6b662e19
JB
50162014-04-11 Joel Brobecker <brobecker@adacore.com>
5017
5018 Revert the following changes (regressions):
5019
5020 * gdb.base/vla-sideeffect.c: New file.
5021 * gdb.base/vla-sideeffect.exp: New file.
5022
5023 * gdb.dwarf2/count.exp: New file.
5024
5025 * gdb.base/vla-multi.c: New file.
5026 * gdb.base/vla-multi.exp: New file.
5027
5028 * gdb.base/vla-ptr.c: New file.
5029 * gdb.base/vla-ptr.exp: New file.
5030
5031 * gdb.base/vla-datatypes.c: New file.
5032 * gdb.base/vla-datatypes.exp: New file.
5033
5034 * gdb.mi/mi-vla-c99.exp: New file.
5035 * gdb.mi/vla.c: New file.
5036
245a5f0b
KS
50372014-04-11 Keith Seitz <keiths@redhat.com>
5038
5039 PR c++/16675
5040 * gdb.cp/cpsizeof.exp: New file.
5041 * gdb.cp/cpsizeof.cc: New file.
5042
58a84dcf
SA
50432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5044
191a8a90
JB
5045 * gdb.mi/mi-vla-c99.exp: New file.
5046 * gdb.mi/vla.c: New file.
58a84dcf 5047
c8655f75
SA
50482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5049
5050 * gdb.base/vla-datatypes.c: New file.
5051 * gdb.base/vla-datatypes.exp: New file.
5052
024e13b4
SA
50532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5054
5055 * gdb.base/vla-ptr.c: New file.
5056 * gdb.base/vla-ptr.exp: New file.
5057
1a237e0e
SA
50582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5059
5060 * gdb.base/vla-multi.c: New file.
5061 * gdb.base/vla-multi.exp: New file.
5062
504f3432
SA
50632014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5064
5065 * gdb.dwarf2/count.exp: New file.
5066
3bce8237
SA
50672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5068
191a8a90
JB
5069 * gdb.base/vla-sideeffect.c: New file.
5070 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5071
322f9c21
YQ
50722014-04-11 Yao Qi <yao@codesourcery.com>
5073
5074 * gdb.base/completion.exp: Check file exists before running tests
5075 on file completion.
5076
d708bcd1
PA
50772014-04-10 Pedro Alves <palves@redhat.com>
5078
5079 * gdb.base/cond-eval-mode.c: New file.
5080 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5081 prepare_for_testing to build the new file. Check result of
5082 runto_main.
5083 (test_break, test_watch): New procedures.
5084 (top level): Use them.
5085
ae1d2761
PM
50862014-04-08 Pierre Muller <muller@sourceware.org>
5087
5088 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5089 Ctrl-V use for mingw hosts.
5090
7af389b8
SC
50912014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5092
5093 * gdb.python/py-value.c: Improve test case.
5094 * gdb.python/py-value.exp: Add new test.
5095
5e703181
DE
50962014-04-07 David Blaikie <dblaikie@gmail.com>
5097
5098 * lib/compiler.c: Identify the clang compiler.
5099 * lib/compiler.cc: Ditto.
5100
9810b410
YQ
51012014-04-03 Yao Qi <yao@codesourcery.com>
5102
5103 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5104
98d1b8dc
AB
51052014-04-01 Anton Blanchard <anton@samba.org>
5106
5107 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5108 messages unique.
5109
3114cea1
AB
51102014-04-01 Anton Blanchard <anton@samba.org>
5111
5112 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5113 prepare_for_testing.
5114
62f7182c
AB
51152014-04-01 Anton Blanchard <anton@samba.org>
5116
5117 * gdb.arch/ppc64-atomic-inst.c: Remove.
5118 * gdb.arch/ppc64-atomic-inst.S: New file.
5119 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5120
770e7fc7
DE
51212014-03-31 Doug Evans <dje@google.com>
5122
5123 * gdb.base/print-symbol-loading-lib.c: New file.
5124 * gdb.base/print-symbol-loading-main.c: New file.
5125 * gdb.base/print-symbol-loading.exp: New file.
5126
46e2bafa
YQ
51272014-03-31 Yao Qi <yao@codesourcery.com>
5128
5129 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5130
8776cfe9
JB
51312014-03-28 Joel Brobecker <brobecker@adacore.com>
5132
5133 * gdb.ada/mi_dyn_arr: New testcase.
5134
5d1ef361
DE
51352014-03-27 Doug Evans <dje@google.com>
5136
5137 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5138
b5bee914
YQ
51392014-03-27 Yao Qi <yao@codesourcery.com>
5140
5141 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5142 if target is nios2-*-*.
5143
0d4d0e77
YQ
51442014-03-26 Yao Qi <yao@codesourcery.com>
5145
5146 * lib/gdb.exp (readline_is_used): New proc.
5147 * gdb.base/completion.exp: Move tests on command complete up.
5148 Skip the rest of tests if readline is not used.
5149 * gdb.ada/complete.exp: Skp the test if readline is not
5150 used.
5151 * gdb.base/filesym.exp: Likewise.
5152 * gdb.base/macscp.exp: Likewise.
5153 * gdb.base/readline-ask.exp: Likewise.
5154 * gdb.base/readline.exp: Likewise.
5155 * gdb.python/py-cmd.exp: Likewise.
5156 * gdb.trace/tfile.exp: Likewise.
5157
29361eee
YQ
51582014-03-26 Yao Qi <yao@codesourcery.com>
5159
5160 * gdb.base/macscp.exp: Fix code format issues.
5161
bc9a5525
UW
51622014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5163
5164 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5165 * gdb.asm/powerpc64le.inc: New file.
5166
d3839ede
PA
51672014-03-25 Pedro Alves <palves@redhat.com>
5168 Doug Evans <dje@google.com>
5169
5170 * gdb.base/source-execution.c: New file.
5171 * gdb.base/source-execution.exp: New file.
5172 * gdb.base/source-execution.gdb: New file.
5173
01672a57
DE
51742014-03-24 Doug Evans <dje@google.com>
5175
5176 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5177 using fission.
5178
88bbeca9
HZ
51792014-03-24 Hui Zhu <hui@codesourcery.com>
5180 Pedro Alves <palves@redhat.com>
5181
5182 PR breakpoints/16101
5183 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5184 test pass/fail messages. Detect missing support for dprintf when
5185 breakpoints are actually inserted.
5186 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5187 breakpoints are actually inserted.
5188 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5189 fails.
5190
d2348791
JK
51912014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5192
5193 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5194
feef67ab
DE
51952014-03-22 Doug Evans <xdje42@gmail.com>
5196
5197 * gdb.python/python.exp (python not supported): Verify multi-line
5198 python command issues an error.
25d743f9 5199 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5200 guile command issues an error.
feef67ab 5201
ecebef6a
MR
52022014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5203
5204 * gdb.threads/thread-specific.exp: Handle the lack of usable
5205 $this_breakpoint and $this_thread.
5206
ccdd1909
HZ
52072014-03-21 Hui Zhu <hui@codesourcery.com>
5208
5209 * gdb.base/attach.exp (do_command_attach_tests): New.
5210
beb460e8
PA
52112014-03-20 Tom Tromey <tromey@redhat.com>
5212 Pedro Alves <palves@redhat.com>
5213
5214 PR cli/15718
5215 * gdb.base/condbreak-call-false.c: New file.
5216 * gdb.base/condbreak-call-false.exp: New file.
5217
40acf43a
PA
52182014-03-20 Pedro Alves <palves@redhat.com>
5219
5220 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5221 Delete.
5222 (block_signals, unblock_signals): Delete.
5223 (child_function_2, main): Remove references to deleted variable
5224 and functions.
5225
9f5e1e02
PA
52262014-03-20 Pedro Alves <palves@redhat.com>
5227
5228 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5229 Use pthread_kill to signal thread 2.
5230 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5231 Adjust to make the test send itself a signal rather than using the
5232 host's "kill" command.
5233
99619bea
PA
52342014-03-20 Pedro Alves <palves@redhat.com>
5235
5236 * gdb.threads/multiple-step-overs.c: New file.
5237 * gdb.threads/multiple-step-overs.exp: New file.
5238 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5239 Adjust expected infrun debug output.
5240
2adfaa28
PA
52412014-03-20 Pedro Alves <palves@redhat.com>
5242
5243 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5244 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5245
31e77af2
PA
52462014-03-20 Pedro Alves <palves@redhat.com>
5247
5248 PR breakpoints/7143
5249 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5250 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5251 of gdb_test_multiple.
5252 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5253 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5254
b9f437de
PA
52552014-03-20 Pedro Alves <palves@redhat.com>
5256
5257 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5258 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5259
05adc73e
PA
52602014-03-19 Pedro Alves <palves@redhat.com>
5261
5262 * gdb.base/async.exp: Remove early return.
5263
6048b950
PA
52642014-03-19 Pedro Alves <palves@redhat.com>
5265
5266 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5267
8bcfb00a
PA
52682014-03-19 Pedro Alves <palves@redhat.com>
5269
5270 * gdb.base/async.exp (test_background): Expect \r\n after
5271 "completed." in the fail pattern.
5272
884e37dc
PA
52732014-03-19 Pedro Alves <palves@redhat.com>
5274
5275 * gdb.base/async.exp (test_background): New procedure.
5276 Use it for all background execution command tests.
5277
148e57e2
PA
52782014-03-19 Pedro Alves <palves@redhat.com>
5279
5280 * gdb.base/async.exp: Use prepare_for_testing.
5281
f48088c7
PA
52822014-03-19 Pedro Alves <palves@redhat.com>
5283
5284 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5285 the same line.
5286
e2f6c966
PA
52872014-03-19 Pedro Alves <palves@redhat.com>
5288
5289 * gdb.base/async.c (main): Add "jump here" and "until here" line
5290 marker comments.
5291 * gdb.base/async.exp (jump_here): New global.
5292 (jump& test): Use it.
5293 (until_here): New global.
5294 (until& test): Use it.
5295
c30568d4
PA
52962014-03-19 Pedro Alves <palves@redhat.com>
5297
5298 * gdb.base/async.exp: Don't frob gdb_protocol.
5299
0172b6a7
DE
53002014-03-18 Doug Evans <xdje42@gmail.com>
5301
5302 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5303 Fix spelling of exec-done-display.
5304
06c868a8
JK
53052014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5306
5307 PR gdb/15358
5308 * gdb.base/gdb-sigterm.c: New file.
5309 * gdb.base/gdb-sigterm.exp: New file.
5310
0c7e1a46
PA
53112014-03-18 Pedro Alves <palves@redhat.com>
5312
5313 PR gdb/13860
5314 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5315 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5316 solib-event.
5317
f7c77d93
JB
53182014-03-17 Joel Brobecker <brobecker@adacore.com>
5319
5320 * gdb.ada/pckd_arr_ren: New testcase.
5321
5a1e8c7a
DE
53222014-03-13 Doug Evans <xdje42@gmail.com>
5323
5324 PR guile/16612
5325 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5326 collect after discarding symbols.
5327
350e1a76
DE
53282014-03-13 Ludovic Courtès <ludo@gnu.org>
5329 Doug Evans <xdje42@gmail.com>
5330
5331 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5332 to history survives a gc.
5333
a69900ae
PA
53342014-03-13 Pedro Alves <palves@redhat.com>
5335
5336 * gdb.base/default.exp: Don't test "target procfs".
5337
5db9f0bd
PA
53382014-03-13 Pedro Alves <palves@redhat.com>
5339
5340 * gdb.base/default.exp: Update "target child" and "target procfs"
5341 tests to not expect "Unix".
5342
b3ccfe11
TT
53432014-03-12 Tom Tromey <tromey@redhat.com>
5344
5345 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5346 New procs. Add target-async tests.
5347 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5348 Add target-async tests.
5349
646f4417
AA
53502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5351
5352 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5353 'func_start' and 'func_end' for the beginning and end of the
5354 function code, respectively.
5355 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5356 'func_end' instead of 'func' and 'main'.
5357
288c211f
AA
53582014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5359
5360 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5361 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5362 generate the debug info assembler source.
5363
e0c0f156
AA
53642014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5365
5366 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5367 * gdb.dwarf2/arr-subrange.exp: Likewise.
5368 * gdb.dwarf2/dwz.exp: Likewise.
5369 * gdb.dwarf2/method-ptr.exp: Likewise.
5370 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5371 * gdb.dwarf2/subrange.exp: Likewise.
5372 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5373 * gdb.dwarf2/implptrpiece.exp: Likewise.
5374 * gdb.dwarf2/nostaticblock.exp: Likewise.
5375
0e5c4555
AA
53762014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5377
5378 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5379 directory to absolute path name arguments.
5380
5ec18f2b
JG
53812014-03-10 Joel Brobecker <brobecker@adacore.com>
5382
5383 * gdb.ada/tagged_access: New testcase.
5384
847fc4f2
MM
53852014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5386
5387 * gdb.btrace/data.exp: Update expected output.
5388
cc3da688
YQ
53892014-03-06 Yao Qi <yao@codesourcery.com>
5390
5391 * gdb.trace/pr16508.exp: New file.
5392
0f26cec1
PA
53932014-03-05 Pedro Alves <palves@redhat.com>
5394
5395 PR gdb/16575
5396 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5397 procedure.
5398 (top level): Adjust to use it. Add tests that exercise breakpoint
5399 interaction with the code-cache.
5400
7a5a839f
LC
54012014-02-26 Ludovic Courtès <ludo@gnu.org>
5402
5403 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5404 test for 'history-append!'.
5405
31aa7e4e
JB
54062014-02-26 Joel Brobecker <brobecker@adacore.com>
5407
5408 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5409 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5410 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5411 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5412 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5413 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5414
1b588015
JB
54152014-02-26 Joel Brobecker <brobecker@adacore.com>
5416
5417 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5418 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5419 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5420
55426c9d
JB
54212014-02-26 Joel Brobecker <brobecker@adacore.com>
5422
5423 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5424
dc53a7ad
JB
54252014-02-26 Joel Brobecker <brobecker@adacore.com>
5426
5427 * gdb.dwarf2/arr-stride.c: New file.
5428 * gdb.dwarf2/arr-stride.exp: New file.
5429
12ab52e9
PA
54302014-02-26 Pedro Alves <palves@redhat.com>
5431
5432 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5433 that won't ever trigger. Make sure that GDB reports the correct
5434 breakpoint that caused the stop.
5435
849c862e
JK
54362014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5437
5438 PR gdb/16626
5439 * gdb.base/auto-load-script: New file.
5440 * gdb.base/auto-load.c: New file.
5441 * gdb.base/auto-load.exp: New file.
5442
71b7d793
JK
5443 PR gdb/16626
5444 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5445
e2f0d509
JK
54462014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5447
5448 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5449 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5450
50cc37c8
DE
54512014-02-24 Doug Evans <dje@google.com>
5452
5453 * lib/gdb.exp (run_on_host): Log error output if program fails.
5454
ea4758f2
PA
54552014-02-21 Pedro Alves <palves@redhat.com>
5456
5457 * gdb.threads/step-after-sr-lock.c: Rename to ...
5458 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5459 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5460 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5461 ... this.
5462
d7b30f67
SDJ
54632014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5464
5465 PR tdep/16397
5466 * gdb.arch/amd64-stap-special-operands.exp: New file.
5467 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5468 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5469 * gdb.arch/amd64-stap-triplet.S: Likewise.
5470 * gdb.arch/amd64-stap-triplet.c: Likewise.
5471
83deb43f
JB
54722014-02-20 Joel Brobecker <brobecker@adacore.com>
5473
5474 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5475 in .section pseudo-op.
5476
adde2bff
DE
54772014-02-20 lin zuojian <manjian2006@gmail.com>
5478 Joel Brobecker <brobecker@adacore.com>
5479 Doug Evans <xdje42@gmail.com>
5480
5481 PR symtab/16581
5482 * gdb.dwarf2/dw2-icycle.S: New file.
5483 * gdb.dwarf2/dw2-icycle.c: New file.
5484 * gdb.dwarf2/dw2-icycle.exp: New file.
5485
f7bd0f78
SC
54862014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5487
5488 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5489 operations on gdb.Value objects.
5490 * gdb.python/py-value-cc.exp: Add new test to test operations on
5491 gdb.Value objects.
5492
c17ef0d5
DE
54932014-02-18 Doug Evans <dje@google.com>
5494
5495 * Makefile.in (TESTS): New variable.
5496 (expanded_tests, expanded_tests_or_none): New variables
5497 (check-single): Pass $(expanded_tests_or_none) to runtest.
5498 (check-parallel): Only run tests in $(TESTS) if non-empty.
5499 (check/no-matching-tests-found): New rule.
5500 * README: Document TESTS makefile variable.
5501
5dd3176f
DE
55022014-02-18 Doug Evans <dje@google.com>
5503
5504 * Makefile.in (check-parallel): rm -rf outputs temp.
5505
0b10be4f
JK
55062014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5507
5508 Fix "ERROR: no fileid for" in the testsuite.
5509 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5510
85f224e7
DE
55112014-02-12 Doug Evans <dje@google.com>
5512
5513 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5514 (MISCELLANEOUS): New variable.
5515 (clean): rm -rf $(MISCELLANEOUS).
5516 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5517 dwp live in the same directory as symlinks, with each symlink pointed
5518 to a differently named file in a different directory.
5519
149b30ff
DE
55202014-02-11 Doug Evans <dje@google.com>
5521
5522 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5523 of Tcl file commands.
5524
1dfdac32
MK
55252014-02-10 Mark Kettenis <kettenis@gnu.org>
5526
5527 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5528 "kill -SIGUSR1 -1".
5529
aa4fb036
JB
55302014-02-10 Joel Brobecker <brobecker@adacore.com>
5531
5532 * gdb.ada/tick_length_array_enum_idx: New testcase.
5533
ed3ef339
DE
55342014-02-10 Doug Evans <xdje42@gmail.com>
5535
5536 * configure.ac (AC_OUTPUT): Add gdb.guile.
5537 * configure: Regenerate.
5538 * lib/gdb-guile.exp: New file.
5539 * lib/gdb.exp (get_target_charset): New function.
5540 * gdb.base/help.exp: Update expected output from "apropos apropos".
5541 * gdb.guile/Makefile.in: New file.
5542 * gdb.guile/guile.exp: New file.
5543 * gdb.guile/scm-arch.c: New file.
5544 * gdb.guile/scm-arch.exp: New file.
5545 * gdb.guile/scm-block.c: New file.
5546 * gdb.guile/scm-block.exp: New file.
5547 * gdb.guile/scm-breakpoint.c: New file.
5548 * gdb.guile/scm-breakpoint.exp: New file.
5549 * gdb.guile/scm-disasm.c: New file.
5550 * gdb.guile/scm-disasm.exp: New file.
5551 * gdb.guile/scm-equal.c: New file.
5552 * gdb.guile/scm-equal.exp: New file.
5553 * gdb.guile/scm-error.exp: New file.
5554 * gdb.guile/scm-error.scm: New file.
5555 * gdb.guile/scm-frame-args.c: New file.
5556 * gdb.guile/scm-frame-args.exp: New file.
5557 * gdb.guile/scm-frame-args.scm: New file.
5558 * gdb.guile/scm-frame-inline.c: New file.
5559 * gdb.guile/scm-frame-inline.exp: New file.
5560 * gdb.guile/scm-frame.c: New file.
5561 * gdb.guile/scm-frame.exp: New file.
5562 * gdb.guile/scm-generics.exp: New file.
5563 * gdb.guile/scm-gsmob.exp: New file.
5564 * gdb.guile/scm-iterator.c: New file.
5565 * gdb.guile/scm-iterator.exp: New file.
5566 * gdb.guile/scm-math.c: New file.
5567 * gdb.guile/scm-math.exp: New file.
5568 * gdb.guile/scm-objfile-script-gdb.in: New file.
5569 * gdb.guile/scm-objfile-script.c: New file.
5570 * gdb.guile/scm-objfile-script.exp: New file.
5571 * gdb.guile/scm-objfile.c: New file.
5572 * gdb.guile/scm-objfile.exp: New file.
5573 * gdb.guile/scm-ports.exp: New file.
5574 * gdb.guile/scm-pretty-print.c: New file.
5575 * gdb.guile/scm-pretty-print.exp: New file.
5576 * gdb.guile/scm-pretty-print.scm: New file.
5577 * gdb.guile/scm-section-script.c: New file.
5578 * gdb.guile/scm-section-script.exp: New file.
5579 * gdb.guile/scm-section-script.scm: New file.
5580 * gdb.guile/scm-symbol.c: New file.
5581 * gdb.guile/scm-symbol.exp: New file.
5582 * gdb.guile/scm-symtab-2.c: New file.
5583 * gdb.guile/scm-symtab.c: New file.
5584 * gdb.guile/scm-symtab.exp: New file.
5585 * gdb.guile/scm-type.c: New file.
5586 * gdb.guile/scm-type.exp: New file.
5587 * gdb.guile/scm-value-cc.cc: New file.
5588 * gdb.guile/scm-value-cc.exp: New file.
5589 * gdb.guile/scm-value.c: New file.
5590 * gdb.guile/scm-value.exp: New file.
5591 * gdb.guile/source2.scm: New file.
5592 * gdb.guile/types-module.cc: New file.
5593 * gdb.guile/types-module.exp: New file.
5594
7026a7c1
YQ
55952014-02-10 Yao Qi <yao@codesourcery.com>
5596
5597 PR testsuite/16543
5598 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5599 * configure: Regenerated.
5600 * Makefile.in: New file.
5601
6c466447
AS
56022014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5603
5604 * gdb.python/py-framefilter.exp: Fix typo.
5605
6e854735
YQ
56062014-02-08 Yao Qi <yao@codesourcery.com>
5607
5608 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5609 that no =breakpoint-modified is emitted when breakpoints are
5610 modified through MI commands.
5611
d137e6dc
PA
56122014-02-07 Pedro Alves <pedro@codesourcery.com>
5613 Pedro Alves <palves@redhat.com>
5614
5615 * gdb.threads/step-after-sr-lock.c: New file.
5616 * gdb.threads/step-after-sr-lock.exp: New file.
5617
b5ee5a50
PA
56182014-02-07 Pedro Alves <palves@redhat.com>
5619
5620 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5621
3c77faf3
JK
56222014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5623
5624 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5625 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5626
6dddc817
DE
56272014-02-06 Doug Evans <xdje42@gmail.com>
5628
5629 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5630 output.
5631
5632 * gdb.gdb/python-interrupts.exp: New file.
5633
de7b2893
YQ
56342014-02-05 Yao Qi <yao@codesourcery.com>
5635
5636 * gdb.trace/report.exp (use_collected_data): Test the output
5637 of "info threads" and "info inferiors".
5638
66d032ac
YQ
56392014-02-05 Yao Qi <yao@codesourcery.com>
5640
5641 Revert this patch:
5642
5643 2013-05-24 Yao Qi <yao@codesourcery.com>
5644
5645 * gdb.trace/tfile.exp: Test inferior and thread.
5646
591a12a1
UW
56472014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5648
5649 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5650 on a function.
5651 * gdb.base/step-bt.c: Call hello via function pointer to make
5652 sure its first instruction is executed on powerpc64le-linux.
5653
0ff3e01f
UW
56542014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5655
5656 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5657
084ee545
UW
56582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5659
5660 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5661 of the test patterns for use on little-endian systems.
5662
6ed14ff3
UW
56632014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5664
5665 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5666 (decimal_vector): Fix for little-endian.
5667
401e27fd
JM
56682014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5669
5670 * gdb.arch/sparc-sysstep.exp: New file.
5671 * gdb.arch/sparc-sysstep.c: Likewise.
5672
5673 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5674
8b924729
EBM
56752014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5676
5677 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5678
fb151210
JB
56792014-01-23 Tom Tromey <tromey@redhat.com>
5680
5681 * gdb.ada/array_char_idx: New testcase.
5682
0740f8d8
TT
56832014-01-23 Tom Tromey <tromey@redhat.com>
5684
5685 PR python/16487:
5686 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5687 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5688 classes.
5689
21909fa1
TT
56902014-01-23 Tom Tromey <tromey@redhat.com>
5691
5692 PR python/16491:
5693 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5694 string from an inferior frame.
5695 * gdb.python/py-framefilter-mi.exp: Update.
5696
87ce2a04
DE
56972014-01-22 Doug Evans <dje@google.com>
5698
5699 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5700
237b092b
AA
57012014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5702
5703 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5704
d674a709
AA
57052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5706
5707 * gdb.trace/entry-values.exp: Remove excess space character from
5708 regex patterns. Handle s390 call instruction.
5709
20fa3390
AA
57102014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5711
5712 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5713 define "*_start" label. Make "name" static.
5714 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5715 ${name} by references to ${name}_start.
5716
78466714
AA
57172014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5718
5719 * gdb.base/info-macros.exp: Remove "debug" from the compile
5720 options.
5721
ec9f644a
IB
57222014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5723
5724 * gdb.dlang/demangle.exp: New file.
5725
94b1b47e
IB
57262014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5727
5728 * gdb.dlang/primitive-types.exp: New file.
5729
7f420862
IB
57302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5731
5732 * configure.ac: Create gdb.dlang/Makefile.
5733 * configure: Regenerate.
5734 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5735 * gdb.dlang/Makefile.in: New file.
5736 * lib/d-support.exp: New file.
5737 * lib/gdb.exp (skip_d_tests): New proc.
5738
52834460
MM
57392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5740
5741 * gdb.btrace/delta.exp: Check reverse stepi.
5742 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5743 * gdb.btrace/finish.exp: New.
5744 * gdb.btrace/next.exp: New.
5745 * gdb.btrace/nexti.exp: New.
5746 * gdb.btrace/record_goto.c: Add comments.
5747 * gdb.btrace/step.exp: New.
5748 * gdb.btrace/stepi.exp: New.
5749 * gdb.btrace/multi-thread-step.c: New.
5750 * gdb.btrace/multi-thread-step.exp: New.
5751 * gdb.btrace/rn-dl-bind.c: New.
5752 * gdb.btrace/rn-dl-bind.exp: New.
5753 * gdb.btrace/data.c: New.
5754 * gdb.btrace/data.exp: New.
5755 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5756
6e07b1d2
MM
57572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5758
5759 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5760 * gdb.btrace/exception.exp: Update.
5761 * gdb.btrace/instruction_history.exp: Update.
5762 * gdb.btrace/record_goto.exp: Update.
5763 * gdb.btrace/tailcall.exp: Update.
5764 * gdb.btrace/unknown_functions.exp: Update.
5765 * gdb.btrace/delta.exp: New.
5766
0b722aec
MM
57672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5768
5769 * gdb.btrace/record_goto.exp: Add backtrace test.
5770 * gdb.btrace/tailcall.exp: Add backtrace test.
5771
066ce621
MM
57722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5773
5774 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5775 * gdb.btrace/record_goto.c: New.
5776 * gdb.btrace/record_goto.exp: New.
5777 * gdb.btrace/x86-record_goto.S: New.
5778
0688d04e
MM
57792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5780
5781 * gdb.btrace/function_call_history.exp: Update tests.
5782 * gdb.btrace/instruction_history.exp: Update tests.
5783
8710b709
MM
57842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5785
5786 * gdb.btrace/function_call_history.exp: Fix expected field
5787 order for "record function-call-history".
5788 Add new tests for "record function-call-history /c".
5789 * gdb.btrace/exception.cc: New.
5790 * gdb.btrace/exception.exp: New.
5791 * gdb.btrace/tailcall.exp: New.
5792 * gdb.btrace/x86-tailcall.S: New.
5793 * gdb.btrace/x86-tailcall.c: New.
5794 * gdb.btrace/unknown_functions.c: New.
5795 * gdb.btrace/unknown_functions.exp: New.
5796 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5797
5de9129b
MM
57982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5799
5800 * gdb.btrace/instruction_history.exp: Update.
5801 * gdb.btrace/function_call_history.exp: Update.
5802
23a7fe75
MM
58032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5804
5805 * gdb.btrace/function_call_history.exp: Fix expected function
5806 trace.
5807 * gdb.btrace/instruction_history.exp: Initialize traced.
5808 Remove traced_functions.
5809
724c7dd8
MM
58102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5811
5812 * gdb.btrace/function_call_history.exp: Update
5813 * gdb.btrace/instruction_history.exp: Update.
5814
6d78d93b
MM
58152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5816
5817 * gdb.btrace/enable.exp: Update expected text.
5818
93a360cc
OJ
58192014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5820
5821 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5822 bytes.
5823
3772b53f
MR
58242014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5825
5826 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5827
596662fa
OJ
58282014-01-15 Omair Javaid <omair.javaid@linaro.org>
5829
5830 * lib/gdb.exp (supports_process_record): Return true for
5831 arm*-linux*. (supports_reverse): Likewise.
5832
b5b08fb4
SC
58332014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5834
5835 PR python/15464
5836 PR python/16113
5837 * gdb.python/py-type.c: Enhance test case.
5838 * gdb.python/py-value-cc.cc: Likewise
5839 * gdb.python/py-type.exp: Add new tests.
5840 * gdb.python/py-value-cc.exp: Likewise
5841
52d7fb13
AA
58422014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5843 Pedro Alves <palves@redhat.com>
5844
5845 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5846 Make "name" extern.
5847 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5848 references to ${name}_start by references to ${name}.
5849
a2cd8cfe
JB
58502014-01-10 Joel Brobecker <brobecker@adacore.com>
5851
5852 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5853
4e23fced
JB
58542014-01-10 Joel Brobecker <brobecker@adacore.com>
5855
5856 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5857
c6a9e42c
PA
58582014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5859 Pedro Alves <palves@redhat.com>
5860
5861 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 5862 mi_gdb_target_load.
c6a9e42c 5863
b7ea362b
PA
58642014-01-08 Pedro Alves <palves@redhat.com>
5865
5866 * gdb.threads/reconnect-signal.c: New file.
5867 * gdb.threads/reconnect-signal.exp: New file.
5868
5e3f4fab
EBM
58692014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5870
5871 * gdb.base/source-dir.exp: New file.
5872
79301218
JB
58732014-01-07 Joel Brobecker <brobecker@adacore.com>
5874
5875 * gdb.ada/mi_interface: New testcase.
5876
8e355c5d
JB
58772014-01-07 Joel Brobecker <brobecker@adacore.com>
5878
5879 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5880 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5881 gdb.ada/pp-rec-component/pck.ads: New files.
5882
c0d48811
JB
58832014-01-07 Joel Brobecker <brobecker@adacore.com>
5884
5885 * gdb.python/py-pp-integral.c: New file.
5886 * gdb.python/py-pp-integral.py: New file.
5887 * gdb.python/py-pp-integral.exp: New file.
5888
17b609c3 5889For older changes see ChangeLog-1993-2013.
c906108c 5890\f
8d8cb839
EZ
5891;; Local Variables:
5892;; mode: change-log
5893;; left-margin: 8
5894;; fill-column: 74
5895;; version-control: never
5896;; End:
902f2ccb 5897
32d0add0 5898 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5899 Copying and distribution of this file, with or without modification,
5900 are permitted provided the copyright notice and this notice are preserved.
This page took 3.625094 seconds and 4 git commands to generate.