Fix gdb.base/valgrind-infcall.exp with the native-extended-gdbserver board
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
782e0bf4
PA
12015-08-06 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4
83e97ed0
PA
52015-08-06 Pedro Alves <palves@redhat.com>
6
7 PR gdb/18749
8 * gdb.threads/process-dies-while-handling-bp.c: New file.
9 * gdb.threads/process-dies-while-handling-bp.exp: New file.
10
863d01bd
PA
112015-08-06 Pedro Alves <palves@redhat.com>
12
13 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15
0a39bb32
PA
162015-08-05 Pedro Alves <palves@redhat.com>
17
18 * gdb.threads/next-while-other-thread-longjmps.c: New file.
19 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
20
ee2d2b10
SL
212015-08-03 Sandra Loosemore <sandra@codesourcery.com>
22
23 * gdb.base/bp-permanent.exp: Report test as unsupported if
24 the target cannot stop at the permanent breakpoint.
25
4e1bdb00
DE
262015-08-03 Doug Evans <dje@google.com>
27
28 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
29 10000.
30
3d338901
DE
312015-08-03 Doug Evans <dje@google.com>
32
33 * Makefile.in (workers/%.worker, build-perf): New rule.
34 (GDB_PERFTEST_MODE): New variable.
35 (check-perf): Use it.
36 (clean): Clean up gdb.perf parallel build subdirs.
37 * lib/build-piece.exp: New file.
38 * lib/gdb.exp (make_gdb_parallel_path): New function
39 (standard_output_file, standard_temp_file): Call it.
40 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
41 of $GDB_PARALLEL.
42 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
43
af061d3e
DE
442015-08-03 Doug Evans <dje@google.com>
45
8e1afc81 46 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
47 (LOG_FILE_NAME): New global.
48 (TextReporter.__init__): Initialize self.txt_sum.
49 (TextReporter.report): Add support for multiple data-points.
50 Move report to perftest.sum, put raw data in perftest.log.
51 (TextReporter.start): Open sum and log files.
52 (TextReporter.end): Close sum and log files.
8e1afc81
DE
53 * gdb.perf/lib/perftest/testresult.py
54 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 55
2c8c5d37
PA
562015-07-31 Pedro Alves <palves@redhat.com>
57
58 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
59 Use spawn_id_get_pid. Wait for spawn id after eof. Use
60 kill_wait_spawned_process instead of explicit "kill -9".
61 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
62 returning a spawn id instead of a pid. Use spawn_id_get_pid and
63 kill_wait_spawned_process.
64 * gdb.base/attach-twice.exp: Likewise.
65 * gdb.base/attach.exp: Likewise.
66 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
67 gdb_test_multiple.
68 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
69 returning a spawn id instead of a pid. Use spawn_id_get_pid and
70 kill_wait_spawned_process.
71 * gdb.base/valgrind-infcall.exp: Likewise.
72 * gdb.multi/multi-attach.exp: Likewise.
73 * gdb.python/py-prompt.exp: Likewise.
74 * gdb.python/py-sync-interp.exp: Likewise.
75 * gdb.server/ext-attach.exp: Likewise.
76 * gdb.threads/attach-into-signal.exp (corefunc): Use
77 spawn_wait_for_attach, spawn_id_get_pid and
78 kill_wait_spawned_process.
79 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
80 spawn_wait_for_attach returning a spawn id instead of a pid. Use
81 spawn_id_get_pid and kill_wait_spawned_process.
82 * gdb.threads/attach-stopped.exp (corefunc): Use
83 spawn_wait_for_attach, spawn_id_get_pid and
84 kill_wait_spawned_process.
85 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
86 Use spawn_id_get_pid. Wait for spawn id after eof. Use
87 kill_wait_spawned_process instead of explicit "kill -9".
88 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
89 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
90 (spawn_wait_for_attach): Use spawn instead of exec to spawn
91 processes. Don't map cygwin/windows pids here. Now returns a
92 spawn id list.
93
032a0fca
SL
942015-07-30 Sandra Loosemore <sandra@codesourcery.com>
95
96 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
97 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
98 correct patch.
99
61a934ca
SL
1002015-07-30 Sandra Loosemore <sandra@codesourcery.com>
101
102 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
103
4bc4d428
SL
1042015-07-30 Sandra Loosemore <sandra@codesourcery.com>
105
106 Reapply:
107 2014-05-21 Mark Wielaard <mjw@redhat.com>
108
109 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
110
998d452a
PA
1112015-07-30 Pedro Alves <palves@redhat.com>
112
113 * linux-low.c (handle_extended_wait): Set the child's last
114 reported status to TARGET_WAITKIND_STOPPED.
115
69dde7dc
PA
1162015-07-30 Pedro Alves <palves@redhat.com>
117
118 PR threads/18600
119 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
120 only shows inferior 1.
121
4dd63d48
PA
1222015-07-30 Simon Marchi <simon.marchi@ericsson.com>
123 Pedro Alves <palves@redhat.com>
124
125 PR threads/18600
126 * gdb.threads/fork-plus-threads.c: New file.
127 * gdb.threads/fork-plus-threads.exp: New file.
128
d618e4c5
PP
1292015-07-29 Patrick Palka <patrick@parcs.ath.cx>
130
131 * gdb.base/batch-preserve-term-settings.exp
132 (test_terminal_settings_preserved_after_cli_exit): Use
133 send_quit_command.
134
1eef6428
PA
1352015-07-29 Pedro Alves <palves@redhat.com>
136 Don Breazeal <donb@codesourcery.com>
137
138 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
139 output from both inferior_spawn_id and gdb_spawn_id.
140
7da5b897
SDJ
1412015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
142
143 * gdb.threads/attach-into-signal.exp (corefunc): Use
144 with_test_prefix on nested loops, uniquefying the test messages.
145
dac804df
SDJ
1462015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
147
148 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
149 commit.
150
06265e53
PP
1512015-07-29 Patrick Palka <patrick@parcs.ath.cx>
152
153 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
154 New proc.
155 (test_terminal_settings_preserved_after_sigterm): New test.
156
18206ca3
PP
1572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
158
159 * gdb.base/batch-preserve-term-settings.exp
160 (test_terminal_settings_preserved_after_cli_exit): New test.
161
90074d11
PP
1622015-07-29 Patrick Palka <patrick@parcs.ath.cx>
163
164 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
165 manipulation of saved_gdbflags.
166 (test_terminal_settings_preserved): Remove global declaration of
167 the unused variable pagination_prompt. Remove manipulation of
168 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
169 GDBFLAGS.
170
eb1a7902
PA
1712015-07-29 Pedro Alves <palves@redhat.com>
172
173 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
174
8b75dd3b
PA
1752015-07-29 Pedro Alves <palves@redhat.com>
176
177 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
178 at the top.
179
dedad4e3
PA
1802015-07-29 Pedro Alves <palves@redhat.com>
181
182 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
183 (main): Call gdb_unbuffer_output.
184 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
185 (main): Call gdb_unbuffer_output.
186 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
187 (main): Call gdb_unbuffer_output.
188 * gdb.base/call-strs.exp: Adjust to step over the
189 gdb_unbuffer_output call.
190 * gdb.base/catch-gdb-caused-signals.c: Include
191 "../lib/unbuffer_output.c".
192 (main): Call gdb_unbuffer_output.
193 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
194 (main): Call gdb_unbuffer_output.
195 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
196 (main): Call gdb_unbuffer_output.
197 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
198 (main): Call gdb_unbuffer_output.
199 * gdb.base/shlib-call.exp: Adjust to step over the
200 gdb_unbuffer_output call.
201 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
202 (main): Call gdb_unbuffer_output.
203 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
204 (main): Call gdb_unbuffer_output.
205 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
206 (main): Rename to ...
207 (test): ... this.
208 (main): Reimplement.
209 * gdb.base/varargs.exp: Run to test instead of to main.
210 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
211 (main): Call gdb_unbuffer_output.
212
58789a91
PA
2132015-07-29 Pedro Alves <palves@redhat.com>
214
215 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
216 factore out from mi_continue_dprintf. For call-style dprintfs,
217 expect dprintf output out of $inferior_spawn_id.
218 (mi_continue_dprintf): Use mi_expect_dprintf.
219 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
220 (main): Call gdb_unbuffer_output.
221
e8376742
PA
2222015-07-29 Pedro Alves <palves@redhat.com>
223
224 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
225 (default_mi_gdb_start): Set inferior_spawn_id instead of
226 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
227 gdb_spawn_id.
228 (mi_gdb_test): Always expect inferior output from both
229 $inferior_spawn_id and $gdb_spawn_id.
230
08280010
PA
2312015-07-29 Pedro Alves <palves@redhat.com>
232
233 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
234 send_inferior and $inferior_spawn_id.
235
4d30e432
PA
2362015-07-29 Pedro Alves <palves@redhat.com>
237
238 * gdb.gdb/complaints.exp (test_initial_complaints)
239 (test_serial_complaints, test_short_complaints): Use
240 gdb_test_stdio.
241 (test_empty_complaint): Handle $inferior_spawn_id !=
242 $gdb_spawn_id.
243
0d30a335
PA
2442015-07-29 Pedro Alves <palves@redhat.com>
245
246 * gdb.base/varargs.exp: Use gdb_test_stdio.
247
39413b29
PA
2482015-07-29 Pedro Alves <palves@redhat.com>
249
250 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
251
7cb000a9
PA
2522015-07-29 Pedro Alves <palves@redhat.com>
253
254 * gdb.base/ending-run.exp: Use gdb_test_stdio.
255
d7b8ac82
PA
2562015-07-29 Pedro Alves <palves@redhat.com>
257
258 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
259 parameter into two new parameters, "inf_result" and "gdb_result".
260 Expect inferior output and gdb output from $inferior_spawn_id and
261 $gdb_spawn_id, respectively. Adjust all callers.
262
789c3a0c
PA
2632015-07-29 Pedro Alves <palves@redhat.com>
264
265 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
266 of gdb_test_sequence.
267
77e760c3
PA
2682015-07-29 Pedro Alves <palves@redhat.com>
269
270 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
271 (saw_spurious_output): Expect inferior output from
272 $inferior_spawn_id. Use gdb_test_stdio.
273
8396d2cd
PA
2742015-07-29 Pedro Alves <palves@redhat.com>
275
276 * gdb.base/dprintf.exp: Use standard_testfile. Change
277 prepare_for_testing call.
278 (srcfile): Don't set.
279 (restart): New procedure.
280 (test_dprintf): New procecure, use to continue over dprintfs.
281 (test_call, test_agent): New procedures, tests moved here.
282 Restart gdb and recreate dprintfs. Adjust expected output.
283
2051d61f
PA
2842015-07-29 Pedro Alves <palves@redhat.com>
285
286 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
287
452397af
PA
2882015-07-29 Pedro Alves <palves@redhat.com>
289
290 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
291
8aed9555
PA
2922015-07-29 Pedro Alves <palves@redhat.com>
293
294 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
295 gdb_test_stdio.
296
188a61b4
PA
2972015-07-29 Pedro Alves <palves@redhat.com>
298
299 * lib/gdb.exp (gdb_test_stdio): New procedure.
300
12264a45
PA
3012015-07-29 Pedro Alves <palves@redhat.com>
302
303 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
304
23ffc893
PA
3052015-07-29 Pedro Alves <palves@redhat.com>
306
307 * gdb.base/call-signal-resume.exp: Remove check for
308 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
309 * gdb.base/unwindonsignal.exp: Likewise.
310 * gdb.base/call-signals.c (gen_signal): Remove printf call.
311 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
312
65566918
PA
3132015-07-29 Pedro Alves <palves@redhat.com>
314
315 * gdb.base/siginfo-addr.c (pass): New function.
316 (handler): Call it iff si_addr is correct.
317 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
318 Set a breakpoint at "pass" and continue to it.
319
d60a9221
SDJ
3202015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
321
322 * gdb.python/py-objfile.exp: Make some tests have unique names.
323 * gdb.python/py-pp-registration.exp: Likewise.
324
bde40b8f
PA
3252015-07-28 Pedro Alves <palves@redhat.com>
326
327 * gdb.server/server-exec-info.exp: Issue a "disconnect".
328
13e1dec8
SM
3292015-07-27 Simon Marchi <simon.marchi@ericsson.com>
330
331 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
332
da33c9a7
SM
3332015-07-27 Simon Marchi <simon.marchi@ericsson.com>
334
335 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
336
077836f7
PP
3372015-07-27 Patrick Palka <patrick@parcs.ath.cx>
338
339 * gdb.base/gdb-sigterm-2.exp: New test.
340
b8cc7b2e
DE
3412015-07-25 Doug Evans <xdje42@gmail.com>
342
343 Revert:
344 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
345 (workers/%.worker, build-perf): New rule.
346 (GDB_PERFTEST_MODE): New variable.
347 (check-perf): Use it.
348 (clean): Clean up gdb.perf parallel build subdirs.
349 * lib/build-piece.exp: New file.
350 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
351 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
352 name.
353 (standard_temp_file): Ditto.
354 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
355 of $GDB_PARALLEL.
356
c8bd4544
DE
3572015-07-24 Doug Evans <dje@google.com>
358
359 * gdb.perf/lib/perftest/utils.py: New file.
360 * gdb.perf/gm-hello.cc: New file.
361 * gdb.perf/gm-pervasive-typedef.cc: New file.
362 * gdb.perf/gm-pervasive-typedef.h: New file.
363 * gdb.perf/gm-std.cc: New file.
364 * gdb.perf/gm-std.h: New file.
365 * gdb.perf/gm-use-cerr.cc: New file.
366 * gdb.perf/gm-utils.h: New file.
367 * gdb.perf/gmonster-null-lookup.py: New file.
368 * gdb.perf/gmonster-pervasive-typedef.py: New file.
369 * gdb.perf/gmonster-print-cerr.py: New file.
370 * gdb.perf/gmonster-ptype-string.py: New file.
371 * gdb.perf/gmonster-runto-main.py: New file.
372 * gdb.perf/gmonster-select-file.py: New file.
373 * gdb.perf/gmonster1-null-lookup.exp: New file.
374 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
375 * gdb.perf/gmonster1-print-cerr.exp: New file.
376 * gdb.perf/gmonster1-ptype-string.exp: New file.
377 * gdb.perf/gmonster1-runto-main.exp: New file.
378 * gdb.perf/gmonster1-select-file.exp: New file.
379 * gdb.perf/gmonster1.cc: New file.
380 * gdb.perf/gmonster1.exp: New file.
381 * gdb.perf/gmonster2-null-lookup.exp: New file.
382 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
383 * gdb.perf/gmonster2-print-cerr.exp: New file.
384 * gdb.perf/gmonster2-ptype-string.exp: New file.
385 * gdb.perf/gmonster2-runto-main.exp: New file.
386 * gdb.perf/gmonster2-select-file.exp: New file.
387 * gdb.perf/gmonster2.cc: New file.
388 * gdb.perf/gmonster2.exp: New file.
389
6eab34f3
DE
3902015-07-24 Doug Evans <dje@google.com>
391
392 * gdb.perf/README: New file.
393 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
394 * lib/gen-perf-test.exp: New file.
395
63738bfd
DE
3962015-07-24 Doug Evans <dje@google.com>
397
398 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
399 (PerfTest::startup): New function.
400 (PerfTest::run): Return result of calling body.
401 (PerfTest::assemble): Rewrite.
402 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
403 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
404 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
405 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
406 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
407
7b606f95
DE
4082015-07-24 Doug Evans <dje@google.com>
409
410 * lib/gdb.exp (clean_restart): Make executable optional.
411
a97b16b8
DE
4122015-07-24 Doug Evans <dje@google.com>
413
414 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
415 compiler_info references.
416 * gdb.cp/temargs.exp: Ditto.
417 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
418 (get_compiler_info): Early exit if already computed. Set compiler_info
419 to "unknown" if there was a problem.
420 (test_compiler_info): Add function comment. Call get_compiler_info.
421
35baa57f
DE
4222015-07-24 Doug Evans <dje@google.com>
423
424 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
425 (workers/%.worker, build-perf): New rule.
426 (GDB_PERFTEST_MODE): New variable.
427 (check-perf): Use it.
428 (clean): Clean up gdb.perf parallel build subdirs.
429 * lib/build-piece.exp: New file.
430 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
431 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
432 name.
433 (standard_temp_file): Ditto.
434 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
435 of $GDB_PARALLEL.
436
6ebea266
DE
4372015-07-24 Doug Evans <dje@google.com>
438
439 * lib/future.exp (gdb_default_target_compile): New option
440 "early_flags".
441 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
442 --as-needed.
443
1e76a7e9
SDJ
4442015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
445
446 * gdb.base/catch-syscall.exp: Call gdb_exit before
447 gdb_skip_xml_test.
448
5068630a
PA
4492015-07-24 Pedro Alves <palves@redhat.com>
450
451 * gdb.python/py-events.exp: Accept output between the stop event
452 and the prompt.
453 * gdb.python/py-evsignal.exp: Likewise.
454 * gdb.python/py-evthreads.exp: Likewise.
455
77598427
PA
4562015-07-24 Pedro Alves <palves@redhat.com>
457
458 PR gdb/18717
459 * gdb.threads/non-ldr-exit.c: New file.
460 * gdb.threads/non-ldr-exit.exp: New file.
461
11e6c98f
YQ
4622015-07-24 Yao Qi <yao.qi@linaro.org>
463
464 * gdb.server/ext-wrapper.exp: Test --wrapper option when
465 restarting process.
466
51aee833
YQ
4672015-07-24 Yao Qi <yao.qi@linaro.org>
468
469 * gdb.server/ext-restart.exp: New file.
470
8cfe207c
YQ
4712015-07-24 Yao Qi <yao.qi@linaro.org>
472
473 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
474 argument options.
475 * gdb.server/ext-wrapper.exp: New file.
476
cc12ce38
DE
4772015-07-23 Doug Evans <dje@google.com>
478
479 * gdb.dwarf2/dw2-dummy-cu.S: New file.
480 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
481
d0d84780
PMR
4822015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
483
484 * gdb.ada/var_arr_typedef.exp: New testcase.
485 * gdb.ada/var_arr_typedef/pack.adb: New file.
486 * gdb.ada/var_arr_typedef/pack.ads: New file.
487 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
488
8b558f79
JB
4892015-07-20 Joel Brobecker <brobecker@adacore.com>
490
491 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
492
775a3298
JK
4932015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
494
495 * gdb.arch/i386-biarch-core.exp: Replace istarget
496 by "complete set gnutarget". Remove expectation for the "core-file"
497 command.
498
db1ff28b
JK
4992015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
500
501 Revert the previous commit:
502 Tests for validate symbol file using build-id.
503
0a94970d
JK
5042015-07-15 Aleksandar Ristovski <aristovski@qnx.com
505
506 Tests for validate symbol file using build-id.
507 * gdb.base/solib-mismatch-lib.c: New file.
508 * gdb.base/solib-mismatch-libmod.c: New file.
509 * gdb.base/solib-mismatch.c: New file.
510 * gdb.base/solib-mismatch.exp: New file.
511
03346981
SL
5122015-07-15 Sandra Loosemore <sandra@codesourcery.com>
513
514 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
515 nios2-*-linux*.
516 * gdb.base/sigbpt.exp (stepi_out): Likewise.
517 * gdb.base/siginfo.exp: Likewise.
518 * gdb.base/sigstep.exp (advance, advancei): Likewise.
519
42422cc7
PL
5202015-07-15 Pierre Langlois <pierre.langlois@arm.com>
521
522 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
523 Move it to ...
524 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
525 ... here.
526 * gdb.trace/range-stepping.exp: Check that the target supports
527 range stepping.
528
cfa68bae
JK
5292015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
530
531 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
532
8ffdba26
PA
5332015-07-14 Pedro Alves <palves@redhat.com>
534
535 * gdb.base/killed-outside.exp: New file.
536 * gdb.base/killed-outside.c: New file.
537
218a5a11
JK
5382015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
539
540 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
541 (n at main): New.
542 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
543
e03ed3c6
AA
5442015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
545
546 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
547 infcall tests instead of setting up for KFAIL.
548
485668e5
MM
5492015-07-10 Markus Metzger <markus.t.metzger@intel.com>
550
551 * gdb.btrace/record_goto-step.exp: New.
552
08464196
JK
5532015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 PR compile/18484
556 * gdb.compile/compile.c (struct struct_type): Add volatile to
557 selffield's type.
558 * gdb.compile/compile.exp
559 (compile code struct_object.selffield = &struct_object): Skip further
560 struct_object tests if this one xfails.
561
bcf5c1d9
RC
5622015-07-08 Robert O'Callahan <robert@ocallahan.org>
563
564 PR exp/18617
565 * gdb.trace/ax.exp: Add test.
566
4931af25
YQ
5672015-07-07 Yao Qi <yao.qi@linaro.org>
568
569 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
570 instead of istarget "aarch64*-*-*".
571 * gdb.arch/aarch64-fp.exp: Likewise.
572 * gdb.base/float.exp: Likewise.
573 * gdb.reverse/aarch64.exp: Likewise.
574 * lib/gdb.exp (is_aarch64_target): New proc.
575
9fcf688e
YQ
5762015-07-07 Yao Qi <yao.qi@linaro.org>
577
578 * lib/gdb.exp (is_aarch32_target): New proc.
579 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
580 instead of "istarget "arm*-*-*"".
581 * gdb.arch/arm-disp-step.exp: Likewise.
582 * gdb.arch/thumb-bx-pc.exp: Likewise.
583 * gdb.arch/thumb-prologue.exp: Likewise.
584 * gdb.arch/thumb-singlestep.exp: Likewise.
585 * gdb.base/disp-step-syscall.exp: Likewise.
586 * gdb.base/float.exp: Likewise.
587
fbd8d50d
YQ
5882015-07-07 Yao Qi <yao.qi@linaro.org>
589
590 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
591 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
592
71be1fdc
YQ
5932015-07-07 Yao Qi <yao.qi@linaro.org>
594
595 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
596 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
597 if it exists.
598 * gdb.multi/multi-arch.exp: Likewise.
599
3e221d36
SM
6002015-07-07 Simon Marchi <simon.marchi@ericsson.com>
601
602 * gdb.python/py-lazy-string.exp: Add missing parentheses to
603 print.
604
d441430b
YQ
6052015-07-07 Yao Qi <yao.qi@linaro.org>
606
607 * gdb.arch/thumb-singlestep.exp: Do one more single step.
608
06f810bd
MG
6092015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
610
611 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
612 '[' and ']' characters.
613
5e61e7c0
IB
6142015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
615
616 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
617
28bf096c
PA
6182015-06-29 Pedro Alves <palves@redhat.com>
619
620 PR threads/18127
621 * gdb.threads/hand-call-new-thread.c: New file.
622 * gdb.threads/hand-call-new-thread.c: New file.
623
ee93cd5e
KS
6242015-06-26 Keith Seitz <keiths@redhat.com>
625 Doug Evans <dje@google.com>
626
627 PR 16253
628 * gdb.cp/var-tag-2.cc: New file.
629 * gdb.cp/var-tag-3.cc: New file.
630 * gdb.cp/var-tag-4.cc: New file.
631 * gdb.cp/var-tag.cc: New file.
632 * gdb.cp/var-tag.exp: New file.
633
fc637f04
PP
6342015-06-26 Patrick Palka <patrick@parcs.ath.cx>
635
636 * gdb.base/history-duplicates.exp: New test.
637
2e52ae68
PP
6382015-06-26 Patrick Palka <patrick@parcs.ath.cx>
639
640 * gdb.base/completion.exp: Test the completion of the "focus"
641 command.
642
6e22494e
JK
6432015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
644
645 * gdb.arch/amd64-prologue-skip.S: New file.
646 * gdb.arch/amd64-prologue-skip.exp: New file.
647
bf7b9cd9
SM
6482015-06-25 Simon Marchi <simon.marchi@ericsson.com>
649
650 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
651 is_address_zero_readable check.
652
201e8dfd
PB
6532015-06-24 Peter Bergner <bergner@vnet.ibm.com>
654
655 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
656 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
657
5cd867b4
YQ
6582015-06-24 Yao Qi <yao.qi@linaro.org>
659
660 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
661 linux targets.
662
4d7be007
YQ
6632015-06-24 Yao Qi <yao.qi@linaro.org>
664
665 * lib/gdb.exp (supports_get_siginfo_type): New proc.
666 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
667 * gdb.base/siginfo-thread.exp: Likewise.
668
07fcd301
YQ
6692015-06-22 Yao Qi <yao.qi@linaro.org>
670
671 * boards/remote-gdbserver-on-localhost.exp: Add comments.
672
52042a00
YQ
6732015-06-22 Yao Qi <yao.qi@linaro.org>
674
675 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
676 aarch64*-*-*.
677 (skip_hw_watchpoint_tests): Likewise.
678
74bd41ce
PP
6792015-06-18 Patrick Palka <patrick@parcs.ath.cx>
680
681 * gdb.base/gdbinit-history.exp: Test the interaction between
682 setting GDBHISTSIZE and setting the history size via .gdbinit.
683
bc460514
PP
6842015-06-17 Patrick Palka <patrick@parcs.ath.cx>
685
686 PR gdb/16999
687 * gdb.base/gdbhistsize-history.exp: New test.
688
b58c513b
PP
6892015-06-17 Patrick Palka <patrick@parcs.ath.cx>
690
691 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
692 with GDBHISTSIZE.
693 * gdb.base/readline.exp: Likewise.
694
92046791
YQ
6952015-06-17 Yao Qi <yao.qi@linaro.org>
696
697 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
698 line.
699
2093d2d3
PP
7002015-06-17 Patrick Palka <patrick@parcs.ath.cx>
701
702 * gdb.base/gdbinit-history.exp: Add test case to check that
703 an unlimited history file does not get truncated on exit.
704
e6c693af
AA
7052015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
706
707 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
708 (VECTOR): New macro. Use it...
709 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
710 ...for these typedefs.
711 (int8, char1, int1, double1): New typedefs.
712 (struct just_int2, struct two_int2): New structures.
713 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
714 (add_structvecs, add_singlevecs): New functions.
715 (main): Call add_some_intvecs twice.
716 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
717 the compile and exit upon failure. Try compiling for the "native"
718 architecture. Test inferior function calls with vector arguments
719 and vector return value handling with "finish" and "return".
720
c74f7d1c
JT
7212015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
722
723 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
724 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
725 PE file.
726 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
727
98aa42ee
AT
7282015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
729
730 PR breakpoints/16465
731 * gdb.mi/mi-dprintf-pending.c: New file.
732 * gdb.mi/mi-dprintf-pending.exp: New test.
733 * gdb.mi/mi-dprintf-pendshr.c: New file.
734
7d73c23c 7352015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 736 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
737
738 * gdb.arch/i386-mpx-map.c: New file.
739 * gdb.arch/i386-mpx-map.exp: New File.
740
7412015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
742
743 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
744 * gdb.arch/i386-mpx.exp: Indentation fixed.
745
7462015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
747
748 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
749 function and improved indentation.
750 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
751 gdb_test_multiple. Added additional tests to skip the test.
752
7532015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
754
755 * gdb.arch/i386-avx512.c: Change path in include file.
756 * gdb.arch/i386-avx512.exp: Change include dir path
757 compilation flag.
758 * gdb.arch/i386-mpx.c: Change path in include file.
759 * gdb.arch/i386-mpx.exp: Change include dir path compilation
760 flag.
761
d5eba19a
JK
7622015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
763
764 * gdb.compile/compile-print.exp (compile print *vararray@3)
765 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
766
7f361056
JK
7672015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
768
769 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
770 (do not keep jit in memory): ... this.
771 (expect 5): Change it to ...
772 (expect no 5): ... this.
773
3b462ec2
SM
7742015-06-02 Simon Marchi <simon.marchi@ericsson.com>
775
776 PR gdb/15564
777 * gdb.mi/mi-detach.exp: New file.
778
e0619de6
JK
7792015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
780
781 PR symtab/18392
782 * gdb.arch/amd64-tailcall-self.S: New file.
783 * gdb.arch/amd64-tailcall-self.c: New file.
784 * gdb.arch/amd64-tailcall-self.exp: New file.
785
e970cb34
DB
7862015-05-28 Don Breazeal <donb@codesourcery.com>
787
788 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
789 tests for remote targets by checking is_target_gdbserver.
790
b2e2f908
DE
7912015-05-27 Doug Evans <dje@google.com>
792
793 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
794 * gdb.dwarf2/opaque-type-lookup.c: New file.
795 * gdb.dwarf2/opaque-type-lookup.exp: New file.
796
82c7be31
DE
7972015-05-26 Doug Evans <dje@google.com>
798
799 * gdb.cp/iostream.cc: New file.
800 * gdb.cp/iostream.exp: New file.
801
b4f54984
DE
8022015-05-26 Doug Evans <dje@google.com>
803
804 * gdb.dwarf2/dw2-op-call.exp: Update.
805 * gdb.dwarf2/dw4-sig-types.exp: Update.
806 * gdb.dwarf2/implptr.exp: Update.
807 * gdb.mi/mi-cmd-param-changed.exp: Update.
808
4ea6efe9
DE
8092015-05-26 Doug Evans <dje@google.com>
810
811 * gdb.python/py-lazy-string.c: New file.
812 * gdb.python/py-lazy-string.exp: New file.
813 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
814 (main): Update. Add estring3.
815 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
816 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
817
f6bb7db3
YQ
8182015-05-26 Omair Javaid <omair.javaid@linaro.org>
819 Yao Qi <yao.qi@linaro.org>
820
821 * gdb.reverse/aarch64.c: New.
822 * gdb.reverse/aarch64.exp: New.
823
a81bfbd0
OJ
8242015-05-26 Omair Javaid <omair.javaid@linaro.org>
825
826 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
827 (supports_reverse): Likewise.
828
158bf1b4
PP
8292015-05-22 Patrick Palka <patrick@parcs.ath.cx>
830
831 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
832 Use with_test_prefix.
833
a0145030
AB
8342015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
835
836 * gdb.base/completion.exp: Add test for completion of layout
837 names.
838
ebe3b578
AB
8392015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
840
841 * lib/gdb.exp (skip_tui_tests): New proc.
842 * gdb.base/tui-layout.exp: Check skip_tui_tests.
843
84204ed7
PA
8442015-05-19 Pedro Alves <palves@redhat.com>
845
846 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
847 Save the whole env array instead of just HOME. Unset HISTSIZE in
848 the environment while testing. Restore whole environment
849 afterwards.
850
37442ce1
DE
8512015-05-16 Doug Evans <xdje42@gmail.com>
852
853 * gdb.guile/scm-ports.c: New file.
854 * gdb.guile/scm-ports.exp: Add memory port tests.
855
36de76f9
JK
8562015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
857
858 * gdb.compile/compile-print.c: New file.
859 * gdb.compile/compile-print.exp: New file.
860
3a9558c4
JK
8612015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
862
863 * gdb.compile/compile-ops.exp: Cast param to void.
864 * gdb.compile/compile.exp: Complete type for _gdb_expr.
865 (compile code struct_object.selffield = &struct_object): Add xfail.
866
aa715135
JG
8672015-05-15 Joel Brobecker <brobecker@adacore.com>
868
869 * gdb.ada/arr_enum_with_gap: New testcase.
870
931e5bc3
JG
8712015-05-15 Joel Brobecker <brobecker@adacore.com>
872
873 * gdb.ada/byte_packed_arr: New testcase.
874
9cd4d857
JB
8752015-05-15 Joel Brobecker <brobecker@adacore.com>
876
877 * gdb.ada/pckd_neg: New testcase.
878
ebfd00d2
PP
8792015-05-13 Patrick Palka <patrick@parcs.ath.cx>
880
881 PR gdb/17820
882 * gdb.base/gdbinit-history.exp: New test.
883 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
884 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
885
4c082a81
SC
8862015-05-09 Siva Chandra Reddy <sivachandra@google.com>
887
888 * gdb.python/py-xmethods.cc: Enhance test case.
889 * gdb.python/py-xmethods.exp: New tests.
890 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
891 function.
892 (B_indexoper): Likewise.
893 (global_dm_list) : Add new xmethod worker functions.
894
f7797074
SDJ
8952015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
896
897 * gdb.base/coredump-filter.exp: Correctly unset
898 "coredump_var_addr" array.
899
a4674e4e
PA
9002015-05-08 Pedro Alves <palves@redhat.com>
901
902 * gdb.server/non-existing-program.exp: Unset spawn_id.
903
df2eb078
SC
9042015-05-08 Siva Chandra Reddy <sivachandra@google.com>
905
906 PR python/18291
907 * gdb.python/py-xmethods.exp: Add tests.
908
422349a3
YQ
9092015-05-08 Yao Qi <yao.qi@linaro.org>
910
911 PR gdb/18208
912 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
913 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
914 function set_coredump_filter, and remove remote_exec call.
915 Remove argument ipid. Callers update.
916 (top level): Don't get inferior's PID.
917
63fc80ce
AA
9182015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
919
920 * gdb.base/watch_thread_num.exp: Skip test on targets without
921 access watchpoints.
922
80ad801e
PA
9232015-05-06 Pedro Alves <palves@redhat.com>
924
925 PR server/18081
926 * gdb.server/non-existing-program.exp: New file.
927
0fa7fe50
JB
9282015-05-05 Joel Brobecker <brobecker@adacore.com>
929
930 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
931
3ea89b92
PMR
9322015-05-05 Joel Brobecker <brobecker@adacore.com>
933
934 * gdb.ada/out_of_line_in_inlined: New testcase.
935
87b8eff0
JB
9362015-05-05 Joel Brobecker <brobecker@adacore.com>
937
938 * gdb.ada/var_rec_arr: New testcase.
939
5fccc635
YQ
9402015-04-30 Yao Qi <yao.qi@linaro.org>
941
942 * gdb.base/break-idempotent.exp: If
943 skip_hw_watchpoint_multi_tests returns true, skip the tests
944 on "rwatch" and "awatch".
945
42d38f42
YQ
9462015-04-30 Yao Qi <yao.qi@linaro.org>
947
948 * gdb.base/relativedebug.exp: Invoke gdb command
949 "info sharedlibrary", and if libc.so doesn't have debug info,
950 skip the test.
951
2ce1cdbf
DE
9522015-04-29 Doug Evans <dje@google.com>
953
954 * gdb.python/py-xmethods.exp: Add ptype tests.
955 * gdb.python/py-xmethods.py (E_method_char_worker): Add
956 get_result_type method.
957
f24a38c5
LM
9582015-04-29 Luis Machado <lgustavo@codesourcery.com>
959
960 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
961 the target does not support hardware watchpoints.
962
ecbf2b3c
LM
9632015-04-29 Luis Machado <lgustavo@codesourcery.com>
964
965 * gdb.base/break-always.exp: Abort testing if writing to memory
966 causes an error.
967
34f5f757
DE
9682015-04-28 Doug Evans <dje@google.com>
969
970 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
971 * gdb.python/py-pp-registration.exp: ... here. New file.
972 * gdb.python/py-pp-registration.c: New file.
973 * gdb.python/py-pp-registration.py: New file.
974
69b4374a
DE
9752015-04-28 Doug Evans <dje@google.com>
976
977 * gdb.python/py-bad-printers.c: New file.
978 * gdb.python/py-bad-printers.py: New file.
979 * gdb.python/py-bad-printers.exp: New file.
980
59fb7612
SS
9812015-04-28 Sasha Smundak <asmundak@google.com>
982
983 * gdb.python/py-type.exp: New test.
984
2631b16a
AW
9852015-04-28 Andy Wingo <wingo@igalia.com>
986
987 * gdb.python/py-parameter.exp:
988 * gdb.guile/scm-parameter.exp: Escape the path that we are
989 matching against, as it might contain characters that are special
990 to regular expressions.
991
460efde1
JB
9922015-04-27 Joel Brobecker <brobecker@adacore.com>
993
994 * gdb.ada/rec_comp: New testcase.
995
2d369d8e
SDJ
9962015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
997
998 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
999 before using it.
1000
cf75d6c3
AB
10012015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1002
1003 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1004 new tests for verilog output.
1005
8dbe7ca5
YQ
10062015-04-24 Yao Qi <yao.qi@linaro.org>
1007
1008 * boards/remote-gdbserver-on-localhost.exp: New file.
1009
4ef9fb2f
PA
10102015-04-23 Pedro Alves <palves@redhat.com>
1011
1012 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1013 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1014 "end of file", remove $inferior_spawn_id from the indirect list.
1015
0a803169
PA
10162015-04-23 Pedro Alves <palves@redhat.com>
1017
1018 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1019
749ef8f8
PA
10202015-04-23 Pedro Alves <palves@redhat.com>
1021
1022 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1023 on $any_spawn_id instead of only on $gdb_spawn_id.
1024
8aae4344
PM
10252015-04-21 Pierre Muller <muller@sourceware.org>
1026
1027 PR pascal/17815
1028 * lib/pascal.exp (gpc_compile): Add new option "class".
1029 (fpc_compile): Likewise.
1030 * gdb.pascal/case-insensitive-symbols.pas: New file.
1031 * gdb.pascal/case-insensitive-symbols.exp: New file.
1032
1586c8fb
GB
10332015-04-20 Gary Benson <gbenson@redhat.com>
1034
1035 * gdb.base/attach.exp: Fix three extended remote failures.
1036
1b6e6f5c
GB
10372015-04-17 Gary Benson <gbenson@redhat.com>
1038
1039 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1040 the main executable over the remote protocol.
1041
e797481d
PA
10422015-04-16 Pedro Alves <palves@redhat.com>
1043
1044 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1045 a new gdbserver if gdbserver_reconnect_p is set.
1046
1ca99c42
PA
10472015-04-16 Pedro Alves <palves@redhat.com>
1048
1049 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1050 is set, don't exit gdbserver.
1051
af9fd6f8
AA
10522015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1053
1054 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1055 appropriate .insn, such that an older assembler can be used.
1056 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1057 the z/Architecture instruction set on 31-bit targets as well.
1058
04ff1e61
AA
10592015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1060
1061 * gdb.go/handcall.exp: Remove all logic related to the first
1062 breakpoint and rely on go_runto_main instead.
1063 * gdb.go/strings.exp: Likewise.
1064 * gdb.go/unsafe.exp: Likewise.
1065 * gdb.go/hello.exp: Likewise. Also rename the remaining
1066 breakpoint marker to "breakpoint 1".
1067 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1068 * gdb.go/strings.go: Likewise.
1069 * gdb.go/unsafe.go: Likewise.
1070 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1071 "set breakpoint 2 here" and rename the remaining breakpoint marker
1072 to "breakpoint 1".
1073
40d2f8d6
SM
10742015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1075
1076 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1077 if itertools.imap is not present.
1078 * gdb.python/py-objfile.exp: Add parentheses.
1079 * gdb.python/py-type.exp: Same.
1080 * gdb.python/py-unwind-maint.py: Same.
1081
8cbc97c6
YQ
10822015-04-15 Yao Qi <yao.qi@linaro.org>
1083
1084 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1085 of ":$ptr_size" and set its form explicitly.
1086
45fd756c
YQ
10872015-04-15 Pedro Alves <palves@redhat.com>
1088 Yao Qi <yao.qi@linaro.org>
1089
1090 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1091 timeout by factor of 4.
1092 (test_regular_watch): Likewise.
1093 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1094 * gdb.reverse/sigall-reverse.exp: Likewise.
1095 * gdb.reverse/until-precsave.exp: Likewise.
1096 * lib/gdb.exp (with_timeout_factor): New proc.
1097 (gdb_expect): Move some code to ...
1098 (get_largest_timeout): ... here. New procedure.
1099
9e811bc3
LM
11002015-04-14 Luis Machado <lgustavo@codesourcery.com>
1101
1102 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1103
0ff6fcb2
LM
11042015-04-13 Luis Machado <lgustavo@codesourcery.com>
1105
1106 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1107 to write to the .text section.
1108
7578d5f7
LM
11092015-04-13 Luis Machado <lgustavo@codesourcery.com>
1110
1111 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1112 Handle the case of targets that do not provide PID information.
1113
2efe15c4
YQ
11142015-04-13 Yao Qi <yao.qi@linaro.org>
1115
1116 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1117 and use expect instead of gdb_expect.
1118
8cd8f2f8
SDJ
11192015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1120
1121 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1122 "coredump_var_addr" to avoid naming conflict with other testcases.
1123
9ee41772
PA
11242015-04-10 Pedro Alves <palves@redhat.com>
1125
1126 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1127 gdb_test_sequence and gdb_assert.
1128
07473109
PA
11292015-04-10 Pedro Alves <palves@redhat.com>
1130
1131 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1132 test messages that don't include the breakpoint address.
1133
de3db44c
YQ
11342015-04-10 Yao Qi <yao.qi@linaro.org>
1135
1136 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1137 false for some offset and width combinations which aren't
1138 supported by linux kernel.
1139
c79d856c
PA
11402015-04-10 Pedro Alves <palves@redhat.com>
1141
1142 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1143 procedure, factored out from ...
1144 (top level): ... here. Add "set displaced-stepping" testing axis.
1145 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1146 parameter "displaced". Use it.
1147 (top level): Use foreach and add "set displaced-stepping" testing
1148 axis.
1149
ebc90b50
PA
11502015-04-10 Pedro Alves <palves@redhat.com>
1151
1152 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1153 Remove comment.
1154 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1155 both the address of the instruction that triggers the watchpoint
1156 and the address of the instruction immediately after, and use
1157 those addresses for the test. Fix comment.
1158
8f572e5c
PA
11592015-04-10 Pedro Alves <palves@redhat.com>
1160
1161 * gdb.base/sigstep.exp (breakpoint_to_handler)
1162 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1163 Test "backtrace" in handler.
1164 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1165 (top level): Add new "displaced" test axis to
1166 breakpoint_to_handler, breakpoint_to_handler_entry and
1167 breakpoint_over_handler.
1168
8d707a12
PA
11692015-04-10 Pedro Alves <palves@redhat.com>
1170
1171 PR gdb/18216
1172 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1173
ef713951
YQ
11742015-04-10 Yao Qi <yao.qi@linaro.org>
1175
1176 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1177 (test_add_rn_pc): New function.
1178 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1179 (top level): Invoke test_add_rn_pc.
1180
906d60cf
PA
11812015-04-10 Pedro Alves <palves@redhat.com>
1182
1183 PR gdb/13858
1184 * gdb.base/step-over-no-symbols.exp: New file.
1185
f2983cc3
AW
11862015-04-09 Andy Wingo <wingo@igalia.com>
1187
1188 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1189 after the Python tests.
1190
6d62641c
SDJ
11912015-04-08 Keith Seitz <keiths@redhat.com>
1192
1193 PR python/16699
1194 * gdb.python/py-completion.exp: New tests for completion.
1195 * gdb.python/py-completion.py (CompleteLimit1): New class.
1196 (CompleteLimit2): Likewise.
1197 (CompleteLimit3): Likewise.
1198 (CompleteLimit4): Likewise.
1199 (CompleteLimit5): Likewise.
1200 (CompleteLimit6): Likewise.
1201 (CompleteLimit7): Likewise.
1202
f3770638
PA
12032015-04-08 Pedro Alves <palves@redhat.com>
1204
1205 PR gdb/18214
1206 PR gdb/18216
1207 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1208 function.
1209 (main): Install it as SIGUSR1 handler.
1210 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1211 parameter. Always use "setup" as prefix. Toggle "set
1212 displaced-stepping" off/on depending on global. Don't switch to
1213 thread 1 here.
1214 (top level): Add displaced stepping "off/on" test axis. Update
1215 "setup" calls. Wrap each subtest with with_test_prefix. Test
1216 continuing with a queued signal in each thread.
1217
4496bed7
PA
12182015-04-08 Pedro Alves <palves@redhat.com>
1219
1220 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1221 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1222 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1223 Return early if running to main fails.
1224 * gdb.trace/while-stepping.exp: Likewise.
1225
b97fde92
PA
12262015-04-07 Pedro Alves <palves@redhat.com>
1227
1228 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1229 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1230 interact with inferior program.
1231
f71c18e7
PA
12322015-04-07 Pedro Alves <palves@redhat.com>
1233
1234 * lib/gdb.exp (inferior_spawn_id): New global.
1235 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1236 spawn id after processing the user code.
1237 (default_gdb_start): Set inferior_spawn_id.
1238 (send_inferior): New procedure.
1239 * lib/gdbserver-support.exp (gdbserver_start): Set
1240 inferior_spawn_id.
1241 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1242
6423214f
PA
12432015-04-07 Pedro Alves <palves@redhat.com>
1244
1245 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1246 * lib/gdbserver-support.exp (gdbserver_start): Make
1247 $server_spawn_id global.
1248 (gdbserver_start): Don't wait for gdbserver's spawn id with
1249 expect_background.
1250 (close_gdbserver): New procedure.
1251 (gdb_exit): Rename the default version and reimplement.
1252
71c0ee8c
PA
12532015-04-07 Pedro Alves <palves@redhat.com>
1254
72f4393d 1255 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1256 append the substituted item, not the original item.
1257
203bc29b
PA
12582015-04-07 Pedro Alves <palves@redhat.com>
1259
1260 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1261 gdb_expect.
1262
508a3ddf
PA
12632015-04-07 Pedro Alves <palves@redhat.com>
1264
1265 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1266 output appearing once only.
1267
9f6dbe2b
PA
12682015-04-07 Pedro Alves <palves@redhat.com>
1269
1270 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1271 that doesn't expect anything. Return early if running to main
1272 fails.
1273
337532fa
YQ
12742015-04-07 Yao Qi <yao.qi@linaro.org>
1275
1276 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1277 (child_function): Call alarm.
1278 (main): Move call to alarm into the loop.
1279 * gdb.threads/non-stop-fair-events.exp: Build program with
1280 -DTIMEOUT=$timeout.
1281
01b622d4
DE
12822015-04-06 Doug Evans <xdje42@gmail.com>
1283
1284 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1285 Fix dest parameter to board_info.
1286 (fpc_compile): Ditto.
1287 (gdb_compile_pascal): Rename dest arg to destfile.
1288
961f4160
PMR
12892015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1290
1291 * gdb.ada/funcall_ref.exp: New file.
1292 * gdb.ada/funcall_ref/foo.adb: New file.
1293
cafda597
YQ
12942015-04-02 Yao Qi <yao.qi@linaro.org>
1295
1296 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1297 is remote.
1298
fed040c6
GB
12992015-04-02 Gary Benson <gbenson@redhat.com>
1300
1301 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1302
d11916aa
SS
13032015-04-01 Sasha Smundak <asmundak@google.com>
1304
1305 * gdb.python/py-unwind-maint.c: New file.
1306 * gdb.python/py-unwind-maint.exp: New test.
1307 * gdb.python/py-unwind-maint.py: New file.
1308 * gdb.python/py-unwind.c: New file.
1309 * gdb.python/py-unwind.exp: New test.
1310 * gdb.python/py-unwind.py: New test.
1311
a1471180
PA
13122015-04-01 Pedro Alves <palves@redhat.com>
1313
1314 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1315 to fail instead of non-existent $test.
1316
0bbeccb1
PA
13172015-04-01 Pedro Alves <palves@redhat.com>
1318
1319 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1320 GDBFLAGS if not empty.
1321
3c724c8c
PMR
13222015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1323
1324 * gdb.ada/complete.exp: Remove "multi_line".
1325 * gdb.ada/info_exc.exp: Remove "multi_line".
1326 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1327 * gdb.ada/ptype_field.exp: Remove "multi_line".
1328 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1329 * gdb.ada/tagged.exp: Remove "multi_line".
1330 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1331 [multi_line ...]
1332 * gdb.btrace/delta.exp: Likewise.
1333 * gdb.btrace/exception.exp: Likewise.
1334 * gdb.btrace/function_call_history.exp: Likewise.
1335 * gdb.btrace/instruction_history.exp: Likewise.
1336 * gdb.btrace/nohist.exp: Likewise.
1337 * gdb.btrace/record_goto.exp: Likewise.
1338 * gdb.btrace/segv.exp: Likewise.
1339 * gdb.btrace/stepi.exp: Likewise.
1340 * gdb.btrace/tailcall.exp: Likewise.
1341 * gdb.btrace/unknown_functions.exp: Likewise.
1342 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1343 * lib/gdb.exp: Add the "multi_line" helper.
1344
4eec2deb
PA
13452015-04-01 Pedro Alves <palves@redhat.com>
1346
1347 * gdb.threads/tid-reuse.c: New file.
1348 * gdb.threads/tid-reuse.exp: New file.
1349
df8411da
SDJ
13502015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1351
1352 PR corefiles/16092
1353 * gdb.base/coredump-filter.c: New file.
1354 * gdb.base/coredump-filter.exp: Likewise.
1355
6ef37366
PM
13562015-03-27 Petr Machata <pmachata@redhat.com>
1357
1358 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1359 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1360 (Dwarf::assemble): Initialize them.
1361 (Dwarf::lines): New function.
1362
7ec911b0
JT
13632015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1364
1365 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1366 SYMBOL_PREFIX for x86_64-*-cygwin.
1367
ff908ebf
AW
13682015-03-26 Andy Wingo <wingo@igalia.com>
1369
1370 PR symtab/18148
1371 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1372 const_value but not a location.
1373 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1374 location defined in non-main CUs are visible.
1375
6d5f0679
YQ
13762015-03-26 Yao Qi <yao.qi@linaro.org>
1377
1378 PR testsuite/18139
1379 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1380 Add a line number entry for the same line.
1381 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1382 Add a line number entry for the same line.
1383
2898689b
YQ
13842015-03-26 Yao Qi <yao.qi@linaro.org>
1385
1386 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1387 .int 0.
1388 (func): Likewise. Add .Lfunc_1 label.
1389 Use .Lfunc_1 label.
1390 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1391 .int 0.
1392 (func): Likewise.
1393 Use .Lfunc_1 label.
1394
85180498
YQ
13952015-03-26 Yao Qi <yao.qi@linaro.org>
1396
1397 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1398 Call gdb_compile instead to compile each .s files without debug
1399 information.
1400
8aa08a8d
YQ
14012015-03-26 Yao Qi <yao.qi@linaro.org>
1402
1403 * gdb.base/savedregs.exp (process_saved_regs): Make
1404 "Saved registers:" optional in the pattern.
1405
66849923
MM
14062015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1407
1408 * gdb.btrace/next.exp: Merged into step.exp.
1409 * gdb.btrace/finish.exp: Merged into step.exp.
1410 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1411 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1412 "record goto" and checking the exact replay position.
1413 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1414 check for "Recording format" in "info record" output.
1415 * gdb.btrace/record_goto.exp: Choose test file based on target.
1416 * gdb.btrace/x86-record_goto.S: Renamed into ...
1417 * gdb.btrace/x86_64-record_goto.S: ... this.
1418 * gdb.btrace/i686-record_goto.S: New.
1419 * gdb.btrace/x86-tailcall.S: Renamed into ...
1420 * gdb.btrace/x86_64-tailcall.S: ... this.
1421 * gdb.btrace/i686-tailcall.S: New.
1422 * gdb.btrace/x86-tailcall.c: Renamed into ...
1423 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1424 separate statements. Update test.
1425 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1426 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1427 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1428 * gdb.btrace/tailcall.exp: Choose test file based on target.
1429 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1430
11cc1b74
MM
14312015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1432
1433 * gdb.btrace/exception.exp: Increase BTS buffer size.
1434
a25d8bf9
PA
14352015-03-24 Pedro Alves <palves@redhat.com>
1436
1437 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1438
856e7dd6
PA
14392015-03-24 Pedro Alves <palves@redhat.com>
1440
1441 * gdb.threads/schedlock.exp (test_step): No longer expect that
1442 "set scheduler-locking step" with "next" over a function call runs
1443 threads unlocked.
1444
ad235a41
AT
14452015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1446
1447 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1448
15630549
AT
14492015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1450
1451 PR breakpoints/16466
1452 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1453 * gdb.mi/mi-pending.c (thread_func): New function.
1454 (int main): Add threading support required.
1455 * gdb.mi/mi-pending.exp: Add tests for this issue.
1456 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1457 (pendfunc2): Remove stdio dependency.
1458 * gdb.mi/mi-pendshr2.c: New file.
1459
693dca06
KS
14602015-03-23 Keith Seitz <keiths@redhat.com>
1461
1462 * gdb.linespec/keywords.c: New file.
1463 * gdb.linespec/keywords.exp: New file.
1464
7e993ebf
KS
14652015-03-23 Keith Seitz <keiths@redhat.com>
1466
1467 PR gdb/18021
1468 * gdb.dwarf2/staticvirtual.exp: New test.
1469
bc23328c
JK
14702015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1471
1472 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1473 * README: Remove HP-UX and gdb.hp.
1474 (configuration):
1475 * configure: Regenerate.
1476 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1477 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1478 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1479 gdb.hp/gdb.defects/Makefile.
1480 * gdb.hp/Makefile.in: File deleted.
1481 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1482 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1483 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1484 * gdb.hp/gdb.aCC/run.c: File deleted.
1485 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1486 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1487 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1488 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1489 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1490 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1491 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1492 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1493 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1494 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1495 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1496 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1497 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1498 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1499 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1500 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1501 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1502 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1503 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1504 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1505 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1506 * gdb.hp/gdb.compat/average.c: File deleted.
1507 * gdb.hp/gdb.compat/sum.c: File deleted.
1508 * gdb.hp/gdb.compat/xdb.c: File deleted.
1509 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1510 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1511 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1512 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1513 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1514 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1515 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1516 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1517 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1518 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1519 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1520 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1521 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1522 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1523 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1524 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1525 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1526 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1527 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1528 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1529 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1530 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1531 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1532 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1533 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1534 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1535 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1536 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1537 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1538 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1539 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1540 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1541 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1542 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1543 * gdb.hp/tools/odump: File deleted.
1544
8bf3b159
PA
15452015-03-19 Pedro Alves <palves@redhat.com>
1546
1547 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1548 (saw_thread_3): New globals.
1549 (top level): Increment them when an event for the corresponding
1550 thread is seen.
1551 (no thread starvation): New test.
1552
eb54c8bf
PA
15532015-03-19 Pedro Alves <palves@redhat.com>
1554
1555 * gdb.threads/continue-pending-status.c: New file.
1556 * gdb.threads/continue-pending-status.exp: New file.
1557
32d2e5d6
PA
15582015-03-18 Pedro Alves <palves@redhat.com>
1559
1560 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1561 Use gdb_is_target_remote instead of is_remote. Use
1562 gdb_test_multiple instead of gdb_expect. Exit early if
1563 gdb_test_multiple hits its internal matches. Tighten stepi tests
1564 expected output. Fail on exit with any signal, instead of just
1565 SIGILL.
1566
f68f11b7
YQ
15672015-03-18 Yao Qi <yao.qi@linaro.org>
1568
1569 PR tdep/18107
1570 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1571 variable.
1572 * gdb.base/catch-syscall.exp: Don't skip it on
1573 aarch64*-*-linux* target. Remove elements in all_syscalls.
1574 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1575 target.
1576 (setup_all_syscalls): New proc.
1577
ca5fd19b
YQ
15782015-03-16 Yao Qi <yao.qi@linaro.org>
1579
1580 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1581 (top level): Skip tests if valid_addr_p returns false for
1582 $cmd1 or $cmd2.
1583
85642ba0
AW
15842015-03-11 Andy Wingo <wingo@igalia.com>
1585
1586 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1587
e03f9645
YQ
15882015-03-11 Yao Qi <yao.qi@linaro.org>
1589
1590 * gdb.base/catch-syscall.exp: Fix typo in comments.
1591
5d0962b2
YQ
15922015-03-11 Yao Qi <yao.qi@linaro.org>
1593
1594 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1595
b2df3cef
PA
15962015-03-09 Pedro Alves <palves@redhat.com>
1597
1598 * dg-extract-results.py: Delete.
1599
ef878e53
PA
16002015-03-09 Pedro Alves <palves@redhat.com>
1601
1602 Merge dg-extract-results.sh from GCC upstream (r218843).
1603
1604 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1605 * dg-extract-results.sh: Use --text with grep to avoid issues with
1606 binary files. Fall back to cat -v, if that doesn't work.
1607
9494d219
PA
16082015-03-05 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1611
a8d9763a
SM
16122015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1613
1614 * lib/mi-support.exp (mi_expect_interrupt): Accept
1615 alternative event for when in all-stop mode.
1616
be9957b8
PA
16172015-03-04 Pedro Alves <palves@redhat.com>
1618
1619 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1620
d57be0f4 16212015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1622
1623 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1624
c214c7cf
AA
16252015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1626
1627 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1628 regexps for GDB's current line display, accept a hex address
1629 preceding the line number.
1630
6d74a497
AA
16312015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1632
1633 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1634 the 'arch1' variable for "s390*-linux*" targets.
1635
511aee7c
PA
16362015-03-04 Pedro Alves <palves@redhat.com>
1637
1638 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1639 (main): Pass missing retval argument to pthread_join call.
1640
95e50b27
PA
16412015-03-02 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1644 (top level): Call do_test with non-stop as well.
1645
28054d69
PA
16462015-03-02 Pedro Alves <palves@redhat.com>
1647
1648 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1649 -1.
1650
4fa5d7b4
AA
16512015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1652
1653 * gdb.arch/s390-vregs.exp: New test.
1654 * gdb.arch/s390-vregs.S: New file.
1655
97c18565
PA
16562015-02-27 Pedro Alves <palves@redhat.com>
1657
1658 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1659 call to catch_command_errors.
1660 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1661 catch_command_errors.
1662
a37bfa30
PA
16632015-02-27 Pedro Alves <palves@redhat.com>
1664
1665 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1666 "true" for boolean result.
1667 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1668 prototype of main.
1669
6f98576f
PA
16702015-02-27 Pedro Alves <palves@redhat.com>
1671
1672 * lib/unbuffer_output.c: New file.
1673 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1674 (main): Call gdb_unbuffer_output.
1675
eba5ab56
YQ
16762015-02-27 Yao Qi <yao.qi@linaro.org>
1677
1678 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1679 target.
1680
0def5aaa
DE
16812015-02-26 Doug Evans <dje@google.com>
1682
1683 * gdb.cp/class2.cc (Dbase, D): New classes.
1684 (main): New local delta.
1685 * gdb.cp/class2.exp: Test printing delta.
1686 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1687 (dynbar): New global.
1688 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1689
081a1c2c
JK
16902015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1691
1692 * gdb.compile/compile-ifunc.c: New file.
1693 * gdb.compile/compile-ifunc.exp: New file.
1694
2f41223f
AT
16952015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1696
1697 * gdb.base/structs.exp: Check for correct struct on finish.
1698
03eddd80
YQ
16992015-02-26 Yao Qi <yao.qi@linaro.org>
1700
1701 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1702 is zero.
1703
80c57053
JK
17042015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1705
1706 * gdb.arch/cordic.ko.bz2: New file.
1707 * gdb.arch/cordic.ko.debug.bz2: New file.
1708 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1709
21613c12
YQ
17102015-02-25 Yao Qi <yao.qi@linaro.org>
1711
1712 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1713 aarch64*-*-* target.
1714
d8b901ed
PA
17152015-02-23 Pedro Alves <palves@redhat.com>
1716
1717 * lib/gdb.exp (delete_breakpoints): Rewrite using
1718 gdb_test_multiple.
1719
e5b85ead
PA
17202015-02-23 Pedro Alves <palves@redhat.com>
1721
1722 * gdb.base/info-os.c: Include stdlib.h.
1723
85c3a371
DE
17242015-02-22 Doug Evans <xdje42@gmail.com>
1725
1726 PR symtab/17855
1727 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1728 is read after symbols have been re-read.
1729 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1730 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1731
96553a0c
DE
17322015-02-21 Doug Evans <dje@google.com>
1733
1734 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1735
97a0c697
JK
17362015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1737
1738 PR corefiles/17808
1739 * gdb.arch/i386-biarch-core.core.bz2: New file.
1740 * gdb.arch/i386-biarch-core.exp: New file.
1741
a47cd6e9
PA
17422015-02-21 Pedro Alves <palves@redhat.com>
1743
1744 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1745 runto_main fails.
1746
c5facdc4
PA
17472015-02-20 Pedro Alves <palves@redhat.com>
1748
1749 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1750 info probes.
1751
2db9a427
PA
17522015-02-20 Pedro Alves <palves@redhat.com>
1753
1754 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1755
60fb7e9e
PA
17562015-02-20 Pedro Alves <palves@redhat.com>
1757
1758 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1759 clean_restart before gdb_target_supports_trace.
1760
5c5019c2
PA
17612015-02-20 Pedro Alves <palves@redhat.com>
1762
1763 PR threads/18006
1764 * gdb.threads/clone-thread_db.c: New file.
1765 * gdb.threads/clone-thread_db.exp: New file.
1766
c9587f88
AT
17672015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1768
1769 PR breakpoints/16812
1770 * gdb.base/catch-gdb-caused-signals.c: New file.
1771 * gdb.base/catch-gdb-caused-signals.exp: New file.
1772
f6a88844
JM
17732015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1774
1775 * configure: Regenerated.
1776 * configure.ac: Use GDB_AC_TRANSFORM.
1777 * aclocal.m4: sinclude ../transform.m4.
1778
497c491b
JM
17792015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1780
1781 * lib/dtrace.exp: New file.
1782 * gdb.base/dtrace-probe.exp: Likewise.
1783 * gdb.base/dtrace-probe.d: Likewise.
1784 * gdb.base/dtrace-probe.c: Likewise.
1785 * lib/pdtrace.in: Likewise.
1786 * configure.ac: Output variables with the transformed names of
1787 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1788 * configure: Regenerated.
1789
03e98035
JM
17902015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1791
1792 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1793 expected message when trying to access $_probe_* convenience
1794 variables while not on a probe.
1795
63cc30e9
JK
17962015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1797
1798 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1799
0703599a
PA
18002015-02-11 Pedro Alves <pedro@codesourcery.com>
1801
1802 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1803 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1804
7e60a48e
DE
18052015-02-10 Doug Evans <xdje42@gmail.com>
1806
1807 * lib/gdb.exp (gdb_load): Always return a result.
1808
01b088bc
PA
18092015-02-10 Pedro Alves <palves@redhat.com>
1810
1811 * gdb.threads/signal-sigtrap.c: New file.
1812 * gdb.threads/signal-sigtrap.exp: New file.
1813
b05ec7a5
AT
18142015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1815
1816 * gdb.trace/no-attach-trace.c: New file.
1817 * gdb.trace/no-attach-trace.exp: New file.
1818
a2c2acaf
MW
18192015-02-09 Mark Wielaard <mjw@redhat.com>
1820
1821 * gdb.dwarf2/atomic.c: New file.
1822 * gdb.dwarf2/atomic-type.exp: Likewise.
1823
31fd9caa
MM
18242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1825
1826 * gdb.btrace/buffer-size.exp: Update "info record" output.
1827 * gdb.btrace/delta.exp: Update "info record" output.
1828 * gdb.btrace/enable.exp: Update "info record" output.
1829 * gdb.btrace/finish.exp: Update "info record" output.
1830 * gdb.btrace/instruction_history.exp: Update "info record" output.
1831 * gdb.btrace/next.exp: Update "info record" output.
1832 * gdb.btrace/nexti.exp: Update "info record" output.
1833 * gdb.btrace/step.exp: Update "info record" output.
1834 * gdb.btrace/stepi.exp: Update "info record" output.
1835 * gdb.btrace/nohist.exp: Update "info record" output.
1836
d33501a5
MM
18372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1838
1839 * gdb.btrace/buffer-size: New.
1840
f4abbc16
MM
18412015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1842
1843 * gdb.btrace/delta.exp: Update "info record" output.
1844 * gdb.btrace/enable.exp: Update "info record" output.
1845 * gdb.btrace/finish.exp: Update "info record" output.
1846 * gdb.btrace/instruction_history.exp: Update "info record" output.
1847 * gdb.btrace/next.exp: Update "info record" output.
1848 * gdb.btrace/nexti.exp: Update "info record" output.
1849 * gdb.btrace/step.exp: Update "info record" output.
1850 * gdb.btrace/stepi.exp: Update "info record" output.
1851 * gdb.btrace/nohist.exp: Update "info record" output.
1852
b9d61307
SM
18532015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1854
1855 PR gdb/15678
1856 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1857
e584fdbc
PA
18582015-02-06 Pedro Alves <palves@redhat.com>
1859
1860 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1861 macro.
1862 (seconds_left, again): New globals.
1863 (main): Wait seconds_left in a 1-second sleep loop instead of
1864 sleeping 180 seconds. If 'again' is set, reset the seconds
1865 counter.
1866 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1867 'again' in the inferior before detaching. Print the seconds left.
1868 (options): New global.
1869 (top level): Build program with -DTIMEOUT=$timeout.
1870
77f41761
PA
18712015-02-06 Pedro Alves <palves@redhat.com>
1872
1873 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1874 determine how many seconds to pass to 'alarm'.
1875 * gdb.base/gdb-sigterm.exp (top level): Build program with
1876 -DTIMEOUT=$timeout.
1877 (do_test): Return success/failure indication. Add more verbose
1878 logging. Don't fail if 200 single steps are seen. Instead, fail
1879 when the test times out.
1880 (passes): New global.
1881 (top level): Break the testing loop if testing fails on any
1882 iteration. Use gdb_assert.
1883
b9394193
DB
18842015-02-04 Don Breazeal <donb@codesourcery.com>
1885
1886 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1887 and initialize them.
1888 (ipc_cleanup): New function.
1889 (main): Don't declare shmid, semid, and msqid. Add a call to
1890 atexit so that we call ipc_cleanup on exit.
1891
42d9e528
PA
18922015-02-04 Pedro Alves <palves@redhat.com>
1893
1894 * boards/native-extended-gdbserver.exp: Remove any target variant
1895 specifications from the board name before clearing the isremote
1896 flag from board_info.
1897
ae6ae975
DE
18982015-01-31 Doug Evans <xdje42@gmail.com>
1899
1900 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1901
cfb069a8
GB
19022015-01-31 Gary Benson <gbenson@redhat.com>
1903
1904 * gdb.base/completion.exp: Disable completion limiting for
1905 existing tests. Add new tests to check completion limiting.
1906 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1907
5dd31d79
DE
19082015-01-31 Doug Evans <xdje42@gmail.com>
1909
1910 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1911
9f050062
DE
19122015-01-31 Doug Evans <xdje42@gmail.com>
1913
1914 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1915 entries. Duplicate file section script entries.
1916 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1917 inlined entries. Add test for safe-path rejection.
1918 * gdb.python/py-section-script.c: Add duplicate inlined section script
1919 entries. Duplicate file section script entries.
1920 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1921 inlined entries. Add test for safe-path rejection.
1922
df25ebbd
JB
19232015-01-29 Joel Brobecker <brobecker@adacore.com>
1924
1925 * gdb.ada/disc_arr_bound: New testcase.
1926
4a0ca9ec
JB
19272015-01-29 Joel Brobecker <brobecker@adacore.com>
1928
1929 * gdb.ada/mi_var_array: New testcase.
1930
3a8b707a
DE
19312015-01-27 Doug Evans <dje@google.com>
1932
1933 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1934 Add test for objfile.filename, objfile.username after objfile
1935 has been unloaded.
1936
f8313f6e
JB
19372015-01-26 Joel Brobecker <brobecker@adacore.com>
1938
1939 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1940 the second test to print the name attribute of value
1941 returned by the call to gdb.lookup_type, and adjust
1942 the expected output accordingly.
1943
37bc665e
MW
19442015-01-25 Mark Wielaard <mjw@redhat.com>
1945
1946 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1947 * gdb.base/disp-step-fork.c: Include unistd.h.
1948 * gdb.base/siginfo-obj.c: Include stdio.h.
1949 * gdb.base/siginfo-thread.c: Likewise.
1950 * gdb.mi/non-stop.c: Include unistd.h.
1951 * gdb.mi/nsthrexec.c: Include stdio.h.
1952 * gdb.mi/pthreads.c: Include unistd.h.
1953 * gdb.modula2/unbounded1.c (main): Declare returns int.
1954 * gdb.reverse/consecutive-reverse.c: Likewise.
1955 * gdb.threads/create-fail.c: Include unistd.h.
1956 * gdb.threads/killed.c: Likewise.
1957 * gdb.threads/linux-dp.c: Likewise.
1958 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1959 * gdb.threads/non-ldr-exc-2.c: Likewise.
1960 * gdb.threads/non-ldr-exc-3.c: Likewise.
1961 * gdb.threads/non-ldr-exc-4.c: Likewise.
1962 * gdb.threads/pthreads.c: Include unistd.h.
1963 (main): Declare returns int.
1964 * gdb.threads/tls-main.c (foo): New declaration.
1965 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1966
f7e5394d
SM
19672015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1968
1969 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1970 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1971
743649fd
MW
19722015-01-15 Mark Wielaard <mjw@redhat.com>
1973
1974 * gdb.base/noreturn-return.c: New file.
1975 * gdb.base/noreturn-return.exp: New file.
1976 * gdb.base/noreturn-finish.c: New file.
1977 * gdb.base/noreturn-finish.exp: New file.
1978
198297aa
PA
19792015-01-23 Pedro Alves <palves@redhat.com>
1980
1981 * gdb.threads/continue-pending-after-query.c: New file.
1982 * gdb.threads/continue-pending-after-query.exp: New file.
1983
717cf30c
AG
19842015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1985 Simon Marchi <simon.marchi@ericsson.com>
1986
1987 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1988 * gdb.base/valgrind-db-attach.exp: Same.
1989 * gdb.base/valgrind-infcall.exp: Same.
1990 * lib/mi-support.exp (default_mi_gdb_start): Same.
1991 * lib/prompt.exp (default_prompt_gdb_start): Same.
1992 * lib/gdb.exp (default_gdb_spawn): Same.
1993 (gdb_interact): New.
1994
1995
4b62a76e
JK
19962015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1997
1998 * gdb.compile/compile.exp (pointer to jit function): New test.
1999
b4cdae6f
WW
20002015-01-17 Wei-cheng Wang <cole945@gmail.com>
2001
2002 * lib/gdb.exp (supports_process_record): Return true for
2003 powerpc*-*-linux*.
2004 (supports_reverse): Likewise.
2005
d221e7ef
DB
20062015-01-15 Don Breazeal <donb@codesourcery.com>
2007
2008 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2009 instead of checking whether the target board is remote and
2010 use spawn_wait_for_attach instead of exec/sleep.
2011 * gdb.base/attach-twice.exp: Likewise.
2012
bafffb51
JB
20132015-01-15 Joel Brobecker <brobecker@adacore.com>
2014
2015 * gdb.ada/var_arr_attrs: New testcase.
2016
5589af0e
PA
20172015-01-14 Pedro Alves <palves@redhat.com>
2018 Joel Brobecker <brobecker@adacore.com>
2019
2020 PR gdb/17525
2021 * gdb.base/bp-cmds-execution-x-script.c: New file.
2022 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2023 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2024
6c400b59
PA
20252015-01-14 Pedro Alves <palves@redhat.com>
2026
2027 PR cli/17828
2028 * gdb.base/batch-preserve-term-settings.c: New file.
2029 * gdb.base/batch-preserve-term-settings.exp: New file.
2030
e02c96a7
DE
20312015-01-13 Doug Evans <dje@google.com>
2032
2033 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2034 binary.
2035
576fd14c
JB
20362015-01-13 Joel Brobecker <brobecker@adacore.com>
2037
2038 * Makefile.in (clean mostlyclean): Do not delete *.py.
2039
04dccad0
JB
20402015-01-13 Joel Brobecker <brobecker@adacore.com>
2041
2042 * gdb.python/py-lookup-type.exp: New file.
2043
3d230f71
PA
20442015-01-12 Pedro Alves <palves@redhat.com>
2045
2046 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2047 restore GDBFLAGS before returning.
2048
7e67715d
JK
20492015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2050
2051 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2052 is_amd64_regs_target and is_x86_like_target.
2053
f2e0d4b4
DE
20542015-01-11 Doug Evans <xdje42@gmail.com>
2055
2056 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2057 is given without an explicit form.
2058 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2059 attributes.
2060 * gdb.dwarf/corrupt.exp: Ditto.
2061 * gdb.dwarf2/enum-type.exp: Ditto.
2062 * gdb.trace/entry-values.exp: Ditto.
2063 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2064
439250fb
DE
20652015-01-11 Doug Evans <xdje42@gmail.com>
2066
2067 PR gdb/15830
2068 * gdb.base/maint.exp: Remove references to "maint demangle".
2069 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2070 Add tests for explicitly specifying language to demangle.
2071 * gdb.dlang/demangle.exp: Ditto.
2072
ede9f622
PA
20732015-01-09 Pedro Alves <palves@redhat.com>
2074
2075 * gdb.threads/non-stop-fair-events.c: New file.
2076 * gdb.threads/non-stop-fair-events.exp: New file.
2077
a7b796db
PA
20782015-01-09 Pedro Alves <palves@redhat.com>
2079
2080 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2081 the global scope. Set a breakpoint after all threads are started
2082 rather than stepping over two source lines. Expect the prompt.
2083 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2084 global.
2085 (NUM): Now 15.
2086 (main): Use threads_started_barrier to wait for all threads to
2087 start. Main thread no longer calls thread_function. Exit after
2088 180 seconds.
2089 (loop): New function.
2090 (thread_function): Wait on threads_started_barrier barrier. Call
2091 'loop' at each iteration.
2092 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2093 threads have started, instead of hardcoding number of "next"
2094 steps. Use an access watchpoint instead of a write watchpoint.
2095
9665ffdd
PA
20962015-01-09 Pedro Alves <palves@redhat.com>
2097
2098 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2099 (thread_func): Wait on barrier.
2100 (main): Wait for all threads to start before stopping GDB.
2101 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2102 global.
2103 (thread1_func, thread2_func): Wait on barrier.
2104 (main): Wait for all threads to start before stopping GDB.
2105 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2106 New global.
2107 (thread1_func, thread2_func): Wait on barrier.
2108 (main): Wait for all threads to start before stopping GDB.
2109
c945a99f
PA
21102015-01-09 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.threads/attach-many-short-lived-threads.c: New file.
2113 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2114
c1a747c1
PA
21152014-01-09 Pedro Alves <palves@redhat.com>
2116
2117 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2118 instead of to thread 2.
2119 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2120 Add barrier around each pthread_create call instead of around all
2121 calls.
2122 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2123 Set a break on thread_function and have the child threads hit it
2124 one at at a time.
2125
60b3033e
PA
21262015-01-09 Pedro Alves <palves@redhat.com>
2127
2128 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2129 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2130 false.
2131 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2132 checking whether the target board is remote.
2133 * gdb.multi/multi-attach.exp: Likewise.
2134 * gdb.python/py-sync-interp.exp: Likewise.
2135 * gdb.server/ext-attach.exp: Likewise.
2136 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2137 tests that need to attach, instead of checking whether the target
2138 board is remote at the top of the file.
2139
acc018ac
YQ
21402015-01-08 Yao Qi <yao@codesourcery.com>
2141
2142 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2143
50a18af8
JK
21442015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2145
2146 Fix testcase compilation.
2147 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2148
8503d6e1
JB
21492015-01-06 Joel Brobecker <brobecker@adacore.com>
2150
2151 * gdb.python/py-type.exp: Add a couple test about empty
2152 array creation, and negative-length array creation.
2153
cc73dbcc
DE
21542015-01-02 Doug Evans <xdje42@gmail.com>
2155
2156 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2157
0300bbc7
DE
21582015-01-02 Doug Evans <dje@google.com>
2159
2160 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2161
9d85a0ec
YQ
21622014-12-29 Yao Qi <yao@codesourcery.com>
2163
2164 * gdb.trace/entry-values.exp: Update comments. Rename variable
2165 bar_call_foo to returned_from_foo.
2166
87186c6a
MMN
21672014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2168
2169 PR gdb/17394
2170 * gdb.linespec/break-asm-file.c: New file.
2171 * gdb.linespec/break-asm-file.exp: New file.
2172 * gdb.linespec/break-asm-file0.s: New file.
2173 * gdb.linespec/break-asm-file1.s: New file.
2174
1bab7383
YQ
21752014-12-18 Nigel Stephens <nigel@mips.com>
2176 Maciej W. Rozycki <macro@codesourcery.com>
2177
2178 * gdb.base/float.exp: Handle the new output from "info float" on
2179 MIPS targets.
2180
1bc1068a
JK
21812014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2182
2183 Fix MinGW compilation.
2184 * gdb.compile/compile-ops.exp: Update untested message if
2185 !skip_compile_feature_tests.
2186 * gdb.compile/compile-setjmp.exp: Likewise.
2187 * gdb.compile/compile-tls.exp: Likewise.
2188 * gdb.compile/compile.exp: Likewise.
2189 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2190 supported on this host".
2191
b6615d10
DE
21922014-12-16 Doug Evans <xdje42@gmail.com>
2193
2194 * boards/stabs.exp: New file.
2195
25dda427
AA
21962014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2197
2198 * gdb.base/completion.exp: Adjust to format changes of "maint
2199 print user-registers".
2200
bf330350
CU
22012014-12-16 Catalin Udma <catalin.udma@freescale.com>
2202
2203 PR server/17457
2204 * gdb.arch/aarch64-fp.c: New file.
2205 * gdb.arch/aarch64-fp.exp: New file.
2206
395cf596
SDJ
22072014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2208
2209 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2210 r210637, r210913, r211666, r215400, r215817).
2211
2212 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2213 * dg-extract-results.py: New file.
2214 * dg-extract-results.sh: Use it if the environment seems
2215 suitable.
2216
2217 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2218
2219 * dg-extract-results.py (parse_run): Handle warnings that
2220 are printed before a test harness is run.
2221
2222 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2223
2224 * dg-extract-results.py (Named): Remove __cmp__ method.
2225 (output_variation): Use a key to sort variation.harnesses.
2226
2227 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2228
2229 * dg-extract-results.py: For Python 3, force sys.stdout to
2230 handle surrogate escape sequences.
2231 (safe_open): New function.
2232 (output_segment, main): Use it.
2233
2234 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2235
2236 * dg-extract-results.py (Prog.result_re): Include options
2237 in test name.
2238
2239 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2240
2241 * dg-extract-results.py (output_variation): Always sort if
2242 do_sum.
2243
e882ef3c
SM
22442014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2245
2246 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2247 as long as we get pagination notifications.
2248
4992aa20
JM
22492014-12-15 Jason Merrill <jason@redhat.com>
2250
2251 * Makefile.in (check-gdb.%): Restore.
2252 * README: Mention it.
2253
c1b5a1a6
JB
22542014-12-13 Joel Brobecker <brobecker@adacore.com>
2255
2256 * gdb.ada/str_uninit: New testcase.
2257
5537b577
JK
22582014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2259
2260 PR symtab/17642
2261 * gdb.base/vla-stub-define.c: New file.
2262 * gdb.base/vla-stub.c: New file.
2263 * gdb.base/vla-stub.exp: New file.
2264
bb2ec1b3
TT
22652014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2266 Jan Kratochvil <jan.kratochvil@redhat.com>
2267 Tom Tromey <tromey@redhat.com>
2268
2269 * configure.ac: Add gdb.compile/.
2270 * configure: Regenerate.
2271 * gdb.compile/Makefile.in: New file.
2272 * gdb.compile/compile-ops.exp: New file.
2273 * gdb.compile/compile-ops.c: New file.
2274 * gdb.compile/compile-tls.c: New file.
2275 * gdb.compile/compile-tls.exp: New file.
2276 * gdb.compile/compile-constvar.S: New file.
2277 * gdb.compile/compile-constvar.c: New file.
2278 * gdb.compile/compile-mod.c: New file.
2279 * gdb.compile/compile-nodebug.c: New file.
2280 * gdb.compile/compile-setjmp-mod.c: New file.
2281 * gdb.compile/compile-setjmp.c: New file.
2282 * gdb.compile/compile-setjmp.exp: New file.
2283 * gdb.compile/compile-shlib.c: New file.
2284 * gdb.compile/compile.c: New file.
2285 * gdb.compile/compile.exp: New file.
2286 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2287
4ff709eb
TT
22882014-12-12 Tom Tromey <tromey@redhat.com>
2289
2290 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2291 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2292
6dddd6a5
DE
22932014-12-12 Doug Evans <dje@google.com>
2294
2295 * lib/gdb-python.exp (get_python_valueof): New function.
2296 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2297
71c24708
AA
22982014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2299
2300 * gdb.base/completion.exp: Add test for completion of "info
2301 registers ".
2302
3e29f34a
MR
23032014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2304
2305 * gdb.base/func-ptrs.c: New file.
2306 * gdb.base/func-ptrs.exp: New file.
2307
fc126975
SM
23082014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2309
2310 PR breakpoints/17012
2311 * gdb.base/dprintf-detach.c: New file.
2312 * gdb.base/dprintf-detach.exp: New file.
2313
0a46d518
SM
23142014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2315
2316 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2317 * lib/gdb.exp (target_is_gdbserver): New procedure.
2318
a0be3e44
DE
23192014-12-08 Doug Evans <dje@google.com>
2320
2321 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2322
df1b803a
YQ
23232014-12-05 Yao Qi <yao@codesourcery.com>
2324
2325 * gdb.guile/scm-error.exp: Remove the third argument to
2326 gdb_remote_download.
2327 * gdb.guile/scm-frame-args.exp: Likewise.
2328 * gdb.guile/scm-section-script.exp: Likewise.
2329
ddb9f679
YQ
23302014-12-05 Yao Qi <yao@codesourcery.com>
2331
2332 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2333
86e4ed39
DE
23342014-12-04 Doug Evans <dje@google.com>
2335
2336 * gdb.python/py-objfile.exp: Add tests for
2337 objfile.add_separate_debug_file.
2338
7c50a931
DE
23392014-12-04 Doug Evans <dje@google.com>
2340
2341 * lib/gdb.exp (get_build_id): New function.
2342 (build_id_debug_filename_get): Rewrite to use it.
2343 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2344
621661e3
MR
23452014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2346
2347 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2348 `method(long)', not just 0x0.
2349 * gdb.cp/nsalias.exp: Align code labels to 4.
2350 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2351 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2352 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2353 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2354 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2355 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2356
29f0c3b7
DE
23572014-12-02 Doug Evans <dje@google.com>
2358
e1e061e7 2359 PR symtab/17602
29f0c3b7 2360 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2361 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2362 * gdb.cp/anon-ns.exp: Update.
2363
162078c8
NB
23642014-12-02 Nick Bull <nicholaspbull@gmail.com>
2365
2366 * gdb.python/py-events.py (inferior_call_handler): New.
2367 (register_changed_handler, memory_changed_handler): New.
2368 (test_events.invoke): Register new handlers.
2369 * gdb.python/py-events.exp: Add tests for inferior call,
2370 memory_changed and register_changed events.
2371
fdb09caf
AA
23722014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2373
2374 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2375 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2376 if the linker doesn't understand this.
2377
55cfb2c4
SM
23782014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2379
2380 * gdb.python/python.exp: Change expected reply to help().
2381
9e8cd6df
YQ
23822014-12-01 Yao Qi <yao@codesourcery.com>
2383
2384 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2385 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2386 * configure: Re-generated.
2387
6c659fc2
SC
23882014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2389
2390 * gdb.cp/chained-calls.cc: New file.
2391 * gdb.cp/chained-calls.exp: New file.
2392 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2393
d7fc3181
SM
23942014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2395
2396 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2397 * gdb.dwarf2/symtab-producer.exp: Same.
2398 * gdb.gdb/python-interrupts.exp: Same.
2399 * gdb.gdb/python-selftest.exp: Same.
2400 * gdb.python/py-linetable.exp: Same.
2401 * gdb.python/py-type.exp: Same.
2402 * gdb.python/py-value-cc.exp: Same.
2403 * gdb.python/py-value.exp: Same.
2404
10e79639
YQ
24052014-11-28 Yao Qi <yao@codesourcery.com>
2406
2407 * gdb.base/break-probes.exp: Match library name prefixed with
2408 sysroot.
2409
f28a0564
SM
24102014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2411
2412 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2413 test expected output. Add parentheses for the call to print.
2414 Remove L suffix from integers.
2415
3fe1ce1d
DE
24162014-11-26 Doug Evans <dje@google.com>
2417
2418 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2419
84429e27
YQ
24202014-11-22 Yao Qi <yao@codesourcery.com>
2421
2422 * gdb.trace/entry-values.c: Remove asms.
2423 (foo): Add foo_label.
2424 (bar): Add bar_label.
2425 * gdb.trace/entry-values.exp: Remove code computing foo's
2426 length and bar's length.
2427 (Dwarf::assemble): Invoke function_range for bar and use
2428 MACRO_AT_func for foo.
2429
26741859
YQ
24302014-11-22 Yao Qi <yao@codesourcery.com>
2431
2432 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2433 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2434 Use .Lgcc43_procstart instead of gcc43.
2435
45e44d27
JB
24362014-11-21 Joel Brobecker <brobecker@adacore.com>
2437
2438 * gdb.ada/n_arr_bound: New testcase.
2439
458c8db8
SDJ
24402014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2441
2442 PR breakpoints/10737
2443 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2444 test_catch_syscall_multi_arch.
2445 (test_catch_syscall_multi_arch): New function.
2446
43f3e411
DE
24472014-11-20 Doug Evans <xdje42@gmail.com>
2448
2449 * gdb.base/maint.exp: Update expected output.
2450
0d7b2549
AA
24512014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2452
2453 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2454 4-byte instruction on S390.
2455
8908fca5
JB
24562014-11-19 Joel Brobecker <brobecker@adacore.com>
2457
2458 * gdb.ada/arr_arr: New testcase.
2459
4a46959e
JB
24602014-11-19 Joel Brobecker <brobecker@adacore.com>
2461
2462 * gdb.ada/pkd_arr_elem: New Testcase.
2463
470e2f4e
LM
24642014-11-18 Luis Machado <lgustavo@codesourcery.com>
2465
2466 * gdb.reverse/break-precsave: Expect completion message for
2467 core file reads.
2468 * gdb.reverse/consecutive-precsave.exp: Likewise.
2469 * gdb.reverse/finish-precsave.exp: Likewise.
2470 * gdb.reverse/i386-precsave.exp: Likewise.
2471 * gdb.reverse/machinestate-precsave.exp: Likewise.
2472 * gdb.reverse/sigall-precsave.exp: Likewise.
2473 * gdb.reverse/solib-precsave.exp: Likewise.
2474 * gdb.reverse/step-precsave.exp: Likewise.
2475 * gdb.reverse/until-precsave.exp: Likewise.
2476 * gdb.reverse/watch-precsave.exp: Likewise.
2477
a267f3ad
AA
24782014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2479
2480 * gdb.base/bp-permanent.c: Include unistd.h.
2481 * gdb.python/py-framefilter-mi.c (main): Add return type.
2482 * gdb.python/py-framefilter.c (main): Likewise.
2483 * gdb.trace/actions-changed.c (main): Likewise.
2484
12084a9a
AA
24852014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2486
2487 * gdb.mi/until.c: Add eye-catchers.
2488 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2489 line numbers.
2490
dc7e1a77
AA
24912014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2492
2493 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2494 function header variants in break1.c.
2495 * gdb.base/ena-dis-br.exp: Likewise.
2496 * gdb.base/hbreak2.exp: Likewise.
2497 * gdb.reverse/until-precsave.exp: Drop references to removed
2498 non-prototype function header variants in ur1.c.
2499 * gdb.reverse/until-reverse.exp: Likewise.
2500
41c77605
PM
25012014-11-17 Petr Machata <pmachata@redhat.com>
2502
2503 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2504 ${_cu_offset_size} bytes abbrev offset.
2505
34248c3a
DE
25062014-11-15 Doug Evans <xdje42@gmail.com>
2507
2508 PR symtab/17559
2509 * gdb.base/line-symtabs.exp: New file.
2510 * gdb.base/line-symtabs.c: New file.
2511 * gdb.base/line-symtabs.h: New file.
2512
646da059
YQ
25132014-11-14 Yao Qi <yao@codesourcery.com>
2514
2515 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2516 (func): Add label func_label.
2517 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2518 Replace low_pc and high_pc with MACRO_AT_range.
2519 Replace name, low_pc and high_pc with MACRO_AT_func.
2520
9301ebe6
YQ
25212014-11-14 Yao Qi <yao@codesourcery.com>
2522
2523 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2524 Replace name, low_pc and high_pc with MACRO_AT_func.
2525
f166b542
YQ
25262014-11-14 Yao Qi <yao@codesourcery.com>
2527
2528 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2529 produce debug information.
2530 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2531
0f6e71e3
YQ
25322014-11-14 Yao Qi <yao@codesourcery.com>
2533
2534 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2535 object and get function length.
2536 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2537 with MACRO_AT_func.
2538 (top-level): Replace gdb_compile and clean_restart with
2539 prepare_for_testing.
2540 * gdb.dwarf2/main.c (main): Add label main_label.
2541
876c4df9
YQ
25422014-11-14 Yao Qi <yao@codesourcery.com>
2543
2544 * lib/dwarf.exp (function_range): New procedure.
2545 (Dwarf::_handle_macro_at_func): New procedure.
2546 (Dwarf::_handle_macro_at_range): New procedure.
2547 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2548
02ad9cf1
YQ
25492014-11-14 Yao Qi <yao@codesourcery.com>
2550
2551 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2552 (_handle_attribute): New procedure.
2553
a59add0c
AA
25542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2555
2556 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2557 * gdb.base/call-sc.c (zed): Likewise.
2558 * gdb.base/checkpoint.c (main): Likewise.
2559 * gdb.base/dump.c (main): Likewise.
2560 * gdb.base/gcore.c (main): Likewise.
2561 * gdb.base/huge.c (main): Likewise.
2562 * gdb.base/multi-forks.c (main): Likewise.
2563 * gdb.base/pr10179-a.c (main): Likewise.
2564 * gdb.base/savedregs.c (main): Likewise.
2565 * gdb.base/sigaltstack.c (main): Likewise.
2566 * gdb.base/siginfo.c (main): Likewise.
2567 * gdb.base/structs.c (zed): Likewise.
2568 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2569 * gdb.mi/mi-syn-frame.c (main): Likewise.
2570 * gdb.mi/until.c (foo, main): Likewise.
2571 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2572 * gdb.base/solib-weak.c (foo): Declare.
2573 * gdb.base/attach-twice.c: Include stdio.h.
2574 * gdb.base/weaklib1.c: Likewise.
2575 * gdb.base/weaklib2.c: Likewise.
2576 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2577 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2578 unistd.h.
2579 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2580 * gdb.mi/mi-exit-code.c: Likewise.
2581 * gdb.base/break-interp-lib.c: Include string.h.
2582 * gdb.base/coremaker.c: Likewise.
2583 * gdb.base/testenv.c: Likewise.
2584 * gdb.python/py-finish-breakpoint.c: Likewise.
2585 * gdb.base/inferior-died.c: Include sys/wait.h.
2586 * gdb.base/fileio.c: Include time.h.
2587 * gdb.base/async-shell.c: Include unistd.h.
2588 * gdb.base/dprintf-non-stop.c: Likewise.
2589 * gdb.base/info-os.c: Likewise.
2590 * gdb.mi/mi-console.c: Likewise.
2591 * gdb.mi/watch-nonstop.c: Likewise.
2592 * gdb.python/py-events.c: Likewise.
2593 * gdb.base/async.c (baz): Move up before its invocation.
2594 * gdb.base/code_elim2.c (my_global_func): Likewise.
2595 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2596 * gdb.base/advance.c (func2): Likewise.
2597
3b5d5997
AA
25982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2599
2600 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2601 variant.
2602 * gdb.base/annota3.c: Likewise.
2603 * gdb.base/async.c: Likewise.
2604 * gdb.base/average.c: Likewise.
2605 * gdb.base/call-ar-st.c: Likewise.
2606 * gdb.base/call-rt-st.c: Likewise.
2607 * gdb.base/call-sc.c: Likewise.
2608 * gdb.base/call-strs.c: Likewise.
2609 * gdb.base/ending-run.c: Likewise.
2610 * gdb.base/execd-prog.c: Likewise.
2611 * gdb.base/exprs.c: Likewise.
2612 * gdb.base/foll-exec.c: Likewise.
2613 * gdb.base/foll-fork.c: Likewise.
2614 * gdb.base/foll-vfork.c: Likewise.
2615 * gdb.base/funcargs.c: Likewise.
2616 * gdb.base/gcore.c: Likewise.
2617 * gdb.base/jump.c: Likewise.
2618 * gdb.base/langs0.c: Likewise.
2619 * gdb.base/langs1.c: Likewise.
2620 * gdb.base/langs2.c: Likewise.
2621 * gdb.base/mips_pro.c: Likewise.
2622 * gdb.base/nodebug.c: Likewise.
2623 * gdb.base/opaque0.c: Likewise.
2624 * gdb.base/opaque1.c: Likewise.
2625 * gdb.base/recurse.c: Likewise.
2626 * gdb.base/run.c: Likewise.
2627 * gdb.base/scope0.c: Likewise.
2628 * gdb.base/scope1.c: Likewise.
2629 * gdb.base/setshow.c: Likewise.
2630 * gdb.base/setvar.c: Likewise.
2631 * gdb.base/shmain.c: Likewise.
2632 * gdb.base/shr1.c: Likewise.
2633 * gdb.base/shr2.c: Likewise.
2634 * gdb.base/sigall.c: Likewise.
2635 * gdb.base/signals.c: Likewise.
2636 * gdb.base/so-indr-cl.c: Likewise.
2637 * gdb.base/solib2.c: Likewise.
2638 * gdb.base/structs.c: Likewise.
2639 * gdb.base/sum.c: Likewise.
2640 * gdb.base/vforked-prog.c: Likewise.
2641 * gdb.base/watchpoint.c: Likewise.
2642 * gdb.reverse/shr2.c: Likewise.
2643 * gdb.reverse/until-reverse.c: Likewise.
2644 * gdb.reverse/ur1.c: Likewise.
2645 * gdb.reverse/watch-reverse.c: Likewise.
2646
066a77c5
AA
26472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2648
2649 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2650 variant.
2651 * gdb.base/sepdebug.exp: Drop references to removed code.
2652
4f204ea5
AA
26532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2654
2655 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2656 variant. Preserve original line numbering.
2657 * gdb.base/list1.c: Likewise.
2658
3b377a3a
AA
26592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2660
2661 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2662 variant.
2663 * gdb.base/break1.c: Likewise.
2664 * gdb.base/break.exp: Drop references to removed code.
2665
e444df73
AA
26662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2667
2668 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2669 variant.
2670
8008f2a7
AA
26712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2672
2673 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2674
a5a06887
AA
26752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2676
2677 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2678 logic into perform_all_tests() and invoke it with and without
2679 function header prototypes.
2680 (do_function_calls): Remove conditional XFAIL for PR 5318.
2681 (rerun_and_prepare): Remove duplicate code.
2682 (perform_all_tests): New. Main logic moved here.
2683
44dba9b9
AA
26842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2685
2686 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2687 code guarded by #ifdef NO_PROTOTYPES.
2688 (t_double_many_args): Likewise.
2689 (DEF_FUNC_MANY_ARGS_1): Likewise.
2690 (DEF_FUNC_VALUES_1): Likewise.
2691 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2692 guarded by #ifdef PROTOTYPES.
2693
d1fbcd56
AA
26942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2695
2696 * gdb.mi/mi-console.c: Add eye-catcher.
2697 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2698 instead of literal line number.
2699
b0e59b8f
AA
27002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2701
2702 * gdb.base/shr2.c: Add eye-catcher.
2703 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2704 line number.
2705
78f98cca
AA
27062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2707
2708 * gdb.base/jump.c: Add eye-catchers.
2709 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2710 numbers.
2711
58fa2af0
AA
27122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2713
2714 * gdb.base/execd-prog.c: Add eye-catchers.
2715 * gdb.base/foll-exec.c: Likewise.
2716 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2717 line numbers.
2718
04e5059b
AA
27192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2720
2721 * gdb.base/ending-run.c: Add eye-catchers.
2722 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2723 literal line numbers.
2724
dbfdb174
AA
27252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2726
2727 * gdb.base/call-rt-st.c: Add eye-catchers.
2728 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2729 literal line numbers.
2730
888a2ade
AA
27312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2732
2733 * gdb.base/call-ar-st.c: Add eye-catchers.
2734 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2735 literal line numbers.
2736
6acc2dde
AA
27372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2738
2739 * gdb.base/average.c: Add eye-catchers.
2740 * gdb.base/sum.c: Likewise.
2741 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2742 regexps dynamically.
2743
9ecfcd1d
AA
27442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2745
2746 * gdb.base/solib1.c: Add eye-catchers.
2747 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2748 literal line numbers.
2749
78708b7c
PA
27502014-11-12 Pedro Alves <palves@redhat.com>
2751
2752 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2753 leader has exited.
2754
af48d08f
PA
27552014-11-12 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.arch/i386-bp_permanent.c: New file.
2758 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2759 (srcfile): Set to i386-bp_permanent.c.
2760 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2761 that stepi does not execute the 'leave' instruction, instead of
2762 testing it does execute.
2763 * gdb.base/bp-permanent.c: New file.
2764 * gdb.base/bp-permanent.exp: New file.
2765
af3768e9
DE
27662014-11-10 Doug Evans <xdje42@gmail.com>
2767
2768 PR symtab/17564
2769 * gdb.base/symtab-search-order.exp: New file.
2770 * gdb.base/symtab-search-order.c: New file.
2771 * gdb.base/symtab-search-order-1.c: New file.
2772 * gdb.base/symtab-search-order-shlib-1.c: New file.
2773
9de00a4a
PA
27742014-11-07 Pedro Alves <palves@redhat.com>
2775
2776 PR gdb/17511
2777 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2778 i?86-*-linux*.
2779
e0f52461
SC
27802014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2781
2782 PR c++/17494
2783 * gdb.cp/pr17494.cc: New file.
2784 * gdb.cp/pr17494.exp: New file.
2785
6ce8c980
YQ
27862014-11-02 Yao Qi <yao@codesourcery.com>
2787
2788 * gdb.python/python.exp: Get working directory and match the
2789 output of "set extended-prompt \\w " with it.
2790
02be9a71
DE
27912014-10-30 Doug Evans <dje@google.com>
2792
2793 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2794 in objfiles.
2795 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2796 in progspaces.
2797
3bdff46b
LM
27982014-10-30 Janis Johnson <janisjo@codesourcery.com>
2799
2800 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2801 * gdb.base/realname-expand.exp: Likewise.
2802 * gdb.linespec/macro-relative.exp: Likewise.
2803
ab917dfb
PA
28042014-10-29 Pedro Alves <palves@redhat.com>
2805
2806 PR gdb/17408
2807 * gdb.threads/schedlock.c (some_function): New function.
2808 (call_function): New global.
2809 (MAYBE_CALL_SOME_FUNCTION): New macro.
2810 (thread_function): Call it.
2811 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2812 and use it instead of a global counter. Adjust all callers.
2813 (get_current_thread): Use "find current thread" for test message
2814 here rather than having all callers pass down the same string.
2815 (goto_loop): New procedure, factored out from ...
2816 (my_continue): ... this.
2817 (step_ten_loops): Change parameter from test message to command to
2818 use. Adjust.
2819 (list_count): Delete global.
2820 (check_result): New procedure, factored out from duplicate top
2821 level code.
2822 (continue tests): Wrap in with_test_prefix.
2823 (test_step): New procedure, factored out from duplicate top level
2824 code.
2825 (top level): Test "step" in combination with all scheduler-locking
2826 modes. Test "next" in combination with all scheduler-locking
2827 modes, and in combination with stepping over a function call or
2828 not.
2829 * gdb.threads/next-bp-other-thread.c: New file.
2830 * gdb.threads/next-bp-other-thread.exp: New file.
2831
d3d4baed
PA
28322014-10-29 Pedro Alves <palves@redhat.com>
2833
2834 PR python/17372
2835 * gdb.python/python.exp: Test a multi-line command that spawns
2836 interactive Python.
2837 * gdb.base/multi-line-starts-subshell.exp: New file.
2838
563e8d85
YQ
28392014-10-29 Yao Qi <yao@codesourcery.com>
2840
2841 * gdb.base/fileio.exp: Make directories on host.
2842
0ea4d52e
YQ
28432014-10-29 Yao Qi <yao@codesourcery.com>
2844
2845 * gdb.base/fileio.c (test_write): Close the file.
2846
7f5ef605
PA
28472014-10-28 Pedro Alves <palves@redhat.com>
2848
2849 PR gdb/12623
2850 * gdb.base/sigstep.c (no_handler): New global.
2851 (main): If 'no_handler is true, set the signal handlers to
2852 SIG_IGN.
2853 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2854 with_sw_watch and no_handler parameters. Handle them.
2855 (top level) <stepping over handler when stopped at a breakpoint
2856 test>: Add a test axis for testing with a software watchpoint, and
2857 another for testing with the signal handler set to SIG_IGN.
2858 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2859 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2860
abbdbd03
PA
28612014-10-28 Pedro Alves <palves@redhat.com>
2862
2863 PR gdb/17511
2864 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2865 * gdb.base/sigstep.exp (other_handler_location): New global.
2866 (advance): Support stepping into the signal handler, and running
2867 commands while in the handler.
2868 (in_handler_map): New global.
2869 (top level): In the advance test, add combinations for getting
2870 into the handler with stepping commands, and for running commands
2871 in the handler. Add comment descripting the advancei tests.
2872
1df4399f
PA
28732014-10-28 Pedro Alves <palves@redhat.com>
2874
2875 * gdb.base/sigstep.exp: Use build_executable instead of
2876 prepare_for_testing.
2877 (top level): Move code that starts GDB, runs to main and creates a
2878 display to ...
2879 (restart): ... this new procedure.
2880 (top level): Move backtrace from signal handler test to ...
2881 (validate_backtrace): ... this new procedure.
2882 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2883 with_test_prefix. Always restart GDB.
2884 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2885 with_test_prefix. Always restart GDB. No need to delete
2886 breakpoints after the test.
2887 (test_skip_handler): Remove prefix parameter.
2888 (skip_over_handler, breakpoint_to_handler)
2889 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2890 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2891 restart GDB. No need to delete breakpoints after the test.
2892 (top level): Use foreach to call the test procedures with
2893 different commands.
2894
a5b6e449
PA
28952014-10-28 Pedro Alves <palves@redhat.com>
2896
2897 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2898 instead of GNATS numbers.
2899 * gdb.base/sigbpt.exp: Likewise.
2900 * gdb.base/siginfo.exp: Likewise.
2901 * gdb.base/sigstep.exp: Likewise.
2902
e5f8a7cc
PA
29032014-10-27 Pedro Alves <palves@redhat.com>
2904
2905 * gdb.base/sigstep.c (dummy): New global.
2906 (main): Issue a couple writes to the new global.
2907 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2908 procedures.
2909 (skip_over_handler): Use test_skip_handler.
2910 (top level): Call skip_over_handler for stepi and nexti too.
2911 (breakpoint_over_handler): Use test_skip_handler.
2912 (top level): Call breakpoint_over_handler for stepi and nexti too.
2913
763905a3
YQ
29142014-10-27 Yao Qi <yao@codesourcery.com>
2915
2916 * gdb.trace/tfile.c (adjust_function_address)
2917 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2918 function descriptor.
2919
6f259a23
DB
29202014-10-24 Don Breazeal <donb@codesourcery.com>
2921
2922 * gdb.base/foll-fork.exp (test_follow_fork,
2923 catch_fork_child_follow): Check for updated fork messages emitted
2924 from infrun.c.
2925 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2926 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2927 vfork_and_exec_child_follow_through_step): Check for updated vfork
2928 messages emitted from infrun.c.
2929
09dd9a69
PA
29302014-10-24 Pedro Alves <palves@redhat.com>
2931
2932 * gdb.base/corefile.exp: Remove references to ultrix.
2933 * gdb.base/interrupt.exp: Likewise.
2934 * gdb.base/whatis.exp: Likewise.
2935 * gdb.gdb/selftest.exp: Likewise.
2936 * gdb.threads/manythreads.exp: Likewise.
2937 * gdb.threads/print-threads.exp: Likewise.
2938 * gdb.threads/pthreads.exp:: Likewise.
2939 * gdb.threads/schedlock.exp: Likewise.
2940
3433cfa5
SC
29412014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2942
2943 * gdb.cp/non-trivial-retval.cc: Add a test case.
2944 * gdb.cp/non-trivial-retval.exp: Add a test.
2945
092f880b
YQ
29462014-10-20 Yao Qi <yao@codesourcery.com>
2947
2948 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2949 * gdb.python/py-objfile-script-gdb.py: New file.
2950 * gdb.python/py-objfile-script.exp: Update reference to
2951 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2952 of remote_download. Remove the dest file.
2953
acbdb7f3
YQ
29542014-10-20 Yao Qi <yao@codesourcery.com>
2955
2956 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2957 * gdb.base/step-line.exp: Likewise.
2958 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2959 * gdb.dwarf2/dw2-basic.exp: Likewise.
2960 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2961 * gdb.dwarf2/dw2-filename.exp: Likewise.
2962 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2963 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2964 * gdb.dwarf2/dw2-producer.exp: Likewise.
2965 * gdb.dwarf2/mac-fileno.exp: Likewise.
2966 * gdb.python/py-frame-args.exp: Likewise.
2967 * gdb.python/py-framefilter.exp: Likewise.
2968 * gdb.python/py-mi.exp: Likewise.
2969 * gdb.python/py-objfile-script.exp: Likewise
2970 * gdb.python/py-pp-integral.exp: Likewise.
2971 * gdb.python/py-pp-re-notag.exp: Likewise.
2972 * gdb.python/py-prettyprint.exp: Likewise.
2973 * gdb.python/py-section-script.exp: Likewise.
2974 * gdb.python/py-typeprint.exp: Likewise.
2975 * gdb.python/py-xmethods.exp: Likewise.
2976 * gdb.stabs/weird.exp: Likewise.
2977 * gdb.xml/tdesc-regs.exp: Likewise.
2978
bd286a29
KCY
29792014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2980
2981 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2982 (out_cu): Use addr_len for the size of addresses.
2983 (out_line): Likewise. Size DW_LNE_set_address instruction
2984 according to addr_len.
2985 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2986 (FUNC): Add START_INSNS to definition.
2987
673dc4a0
YQ
29882014-10-18 Yao Qi <yao@codesourcery.com>
2989
2990 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2991 gdb_has_argv0 return true.
2992 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2993 check [target_info exists noargs], check [gdb_has_argv0]
2994 instead.
2995 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2996 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2997 procedures.
2998
4ffbba72
DE
29992014-10-17 Doug Evans <dje@google.com>
3000
3001 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3002 event.
3003 * gdb.python/py-events.py: Add clear_objfiles event.
3004
d096d8c1
DE
30052014-10-17 Doug Evans <dje@google.com>
3006
3007 * gdb.python/py-objfile.exp: Test progspace attribute.
3008
a80db015
LM
30092014-10-17 Luis Machado <lgustavo@codesourcery.com>
3010
3011 * gdb.guile/scm-breakpoint.exp: Do not assume any
3012 directory separators when matching source file paths.
3013 * gdb.python/py-breakpoint.exp: Likewise.
3014 * gdb.reverse/break-precsave.exp: Likewise.
3015 * gdb.reverse/break-reverse.exp: Likewise.
3016 * gdb.reverse/consecutive-precsave.exp: Likewise.
3017 * gdb.reverse/finish-precsave.exp: Likewise.
3018 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3019 * gdb.reverse/finish-reverse.exp: Likewise.
3020 * gdb.reverse/i386-precsave.exp: Likewise.
3021 * gdb.reverse/i387-env-reverse.exp: Likewise.
3022 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3023 * gdb.reverse/machinestate-precsave.exp: Likewise.
3024 * gdb.reverse/machinestate.exp: Likewise.
3025 * gdb.reverse/sigall-precsave.exp: Likewise.
3026 * gdb.reverse/solib-precsave.exp: Likewise.
3027 * gdb.reverse/step-precsave.exp: Likewise.
3028 * gdb.reverse/until-precsave.exp: Likewise.
3029 * gdb.reverse/watch-precsave.exp: Likewise.
3030 * gdb.reverse/watch-reverse.exp: Likewise.
3031
b22089ab
YQ
30322014-10-17 Yao Qi <yao@codesourcery.com>
3033
3034 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3035 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3036
6c4486e6
PA
30372014-10-17 Pedro Alves <palves@redhat.com>
3038
3039 PR gdb/17471
3040 * gdb.base/bg-execution-repeat.c: New file.
3041 * gdb.base/bg-execution-repeat.exp: New file.
3042
0ff33695
PA
30432014-10-17 Pedro Alves <palves@redhat.com>
3044
3045 PR gdb/17300
3046 * gdb.base/continue-all-already-running.c: New file.
3047 * gdb.base/continue-all-already-running.exp: New file.
3048
6fdebc3d
PA
30492014-10-17 Pedro Alves <palves@redhat.com>
3050
3051 PR gdb/17472
3052 * gdb.base/annota-input-while-running.c: New file.
3053 * gdb.base/annota-input-while-running.exp: New file.
3054
32a8097b
PA
30552014-10-17 Pedro Alves <palves@redhat.com>
3056
3057 * gdb.base/callfuncs.exp: emove references to osf.
3058 * gdb.base/sigall.exp: Likewise.
3059 * gdb.gdb/selftest.exp: Likewise.
3060 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3061 * gdb.mi/non-stop.c: Likewise.
3062 * gdb.mi/pthreads.c: Likewise.
3063 * gdb.reverse/sigall-precsave.exp: Likewise.
3064 * gdb.reverse/sigall-reverse.exp: Likewise.
3065 * gdb.threads/pthreads.c: Likewise.
3066 * gdb.threads/pthreads.exp: Likewise.
3067
7a3517ff
YQ
30682014-10-17 Yao Qi <yao@codesourcery.com>
3069
3070 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3071 check 'target_info exists noargs'.
3072 (test_command_prompt_position): Likewise.
3073 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3074 Remove "set args".
3075 (progvar_simple_while_test): Likewise.
3076 (progvar_complex_if_while_test): Likewise.
3077 (if_while_breakpoint_command_test): Likewise.
3078 (infrun_breakpoint_command_test): Likewise.
3079 (breakpoint_command_test): Likewise.
3080 (watchpoint_command_test): Likewise.
3081 (bp_deleted_in_command_test): Likewise.
3082 (temporary_breakpoint_commands): Likewise.
3083
bb99c472
YQ
30842014-10-16 Yao Qi <yao@codesourcery.com>
3085
3086 * gdb.base/remotetimeout.exp: Remove noargs checking.
3087
7c16b83e
PA
30882014-10-15 Pedro Alves <palves@redhat.com>
3089
3090 PR breakpoints/9649
3091 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3092 * gdb.base/breakpoint-in-ro-region.exp
3093 (probe_target_hardware_step): New procedure.
3094 (top level): Probe hardware stepping and hardware breakpoint
3095 support. Test stepping through a read-only region, with both
3096 "breakpoint auto-hw" on and off and both "always-inserted" on and
3097 off.
3098
35a49624
IB
30992014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3100
3101 * gdb.dlang/demangle.exp: Update for demangling changes.
3102
2d1c107c
SC
31032014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3104
3105 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3106 * gdb.cp/non-trivial-retval.exp: Add new tests.
3107
778811d5
SC
31082014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3109
3110 PR c++/13403
3111 PR c++/15154
3112 * gdb.cp/non-trivial-retval.cc: New file.
3113 * gdb.cp/non-trivial-retval.exp: New file.
3114
10c5f0a8
YQ
31152014-10-15 Yao Qi <yao@codesourcery.com>
3116
3117 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3118 remote host.
3119
65d7b369
YQ
31202014-10-15 Yao Qi <yao@codesourcery.com>
3121
3122 * gdb.python/py-symbol.exp: Match file base name if host is
3123 remote, otherwise match file name with dir name.
3124 * gdb.python/py-symtab.exp: Likewise.
3125 * gdb.python/python.exp: Likewise.
3126
46dc1394
YQ
31272014-10-15 Yao Qi <yao@codesourcery.com>
3128
3129 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3130 pattern.
3131 * gdb.python/py-symtab.exp: Likewise.
3132 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3133 locationn.
3134
c40cc657
JB
31352014-10-14 Joel Brobecker <brobecker@adacore.com>
3136
3137 * gdb.ada/addr_arith: New testcase.
3138
2abf49e1
MR
31392014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3140
3141 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3142 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3143 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3144 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3145
f7088df3
SDJ
31462014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3147
3148 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3149 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3150 * gdb.arch/stap-eval-lang-ada.exp: New file.
3151
4dc06805
YQ
31522014-10-14 Yao Qi <yao@codesourcery.com>
3153
3154 * gdb.mi/mi-var-child.c (nothing1): New function.
3155 (nothing2): New function.
3156 (do_children_tests): Set function pointers by nothing1 and
3157 nothing2.
3158 * gdb.mi/mi-var-child.exp: Step over new added statements.
3159 Update test to match the new output.
3160 * gdb.mi/var-cmd.c (nothing1): New function.
3161 (nothing2): New function.
3162 (do_children_tests): Set function pointers by nothing1 and
3163 nothing2.
3164 * gdb.mi/mi-var-display.exp: Update test to match output.
3165 Step to the line specified by $line_dct_nothing.
3166 Increase the number of lines to step.
3167
46a93de2
YQ
31682014-10-14 Yao Qi <yao@codesourcery.com>
3169
3170 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3171 tests.
3172 * gdb.mi/mi2-var-child.exp: Likewise.
3173
14ea52ee
DE
31742014-10-13 Doug Evans <dje@google.com>
3175
3176 * gdb.python/py-objfile.exp: Change name of file name test.
3177
e5c6e92b
DE
31782014-10-13 Doug Evans <dje@google.com>
3179
3180 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3181 from the start of the CU.
3182
c780cc2f
JK
31832014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3184 Yao Qi <yao@codesourcery.com>
3185
3186 Fix "save breakpoints" for "catch" command.
3187 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3188 Remove -nonewline. Match also the added "main" line.
3189
99894e11
JK
31902014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3191
3192 Fix "save breakpoints" for "disable $bpnum" command.
3193 * gdb.base/save-bp.c (main): Add label.
3194 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3195
6e1ac5a3
JK
31962014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3197
3198 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3199
754dd2b0
YQ
32002014-10-11 Yao Qi <yao@codesourcery.com>
3201
3202 * gdb.server/server-kill.exp: Execute command
3203 "set remote trace-status-packet on" before "tstatus".
3204
f90183d7
YQ
32052014-10-11 Yao Qi <yao@codesourcery.com>
3206
3207 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3208 (main): Call getppid.
3209 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3210 and continue to it. Read variable "server_pid".
3211
bf40a607
YQ
32122014-10-11 Yao Qi <yao@codesourcery.com>
3213
3214 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3215
052ca370
YQ
32162014-10-11 Yao Qi <yao@codesourcery.com>
3217
3218 * gdb.threads/thread-find.exp: Don't execute command
3219 "info threads".
3220 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3221 * gdb.threads/linux-dp.exp: Don't check the condition
3222 $threads_created equals to zero.
3223
3831839c
PA
32242014-10-10 Pedro Alves <palves@redhat.com>
3225
3226 * gdb.base/bigcore.exp: Remove references to IRIX.
3227 * gdb.base/funcargs.exp: Likewise.
3228 * gdb.base/interrupt.exp: Likewise.
3229 * gdb.base/mips_pro.exp: Likewise.
3230 * gdb.base/nodebug.exp: Likewise.
3231 * gdb.base/setvar.exp: Likewise.
3232 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3233
8b9a549d
PA
32342014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3235 Pedro Alves <palves@redhat.com>
3236
3237 PR symtab/14466
3238 * gdb.base/vdso-warning.c: New file.
3239 * gdb.base/vdso-warning.exp: New file.
3240
d48ba5e8
DE
32412014-10-02 Doug Evans <dje@google.com>
3242
3243 * gdb.base/structs.c (main): Don't run forever.
3244
2278c276
PA
32452014-10-02 Pedro Alves <palves@redhat.com>
3246
3247 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3248 (top level) <stop threads 1, stop threads 2>: Use it.
3249
b57bacec
PA
32502014-10-02 Pedro Alves <palves@redhat.com>
3251
3252 * gdb.threads/break-while-running.exp (test): Add new
3253 'update_thread_list' argument. Skip "info threads" if false.
3254 (top level): Add new 'update_thread_list' axis.
3255
13fd3ff3
PA
32562014-10-02 Pedro Alves <palves@redhat.com>
3257
3258 PR breakpoints/17431
3259 * gdb.base/execl-update-breakpoints.c: New file.
3260 * gdb.base/execl-update-breakpoints.exp: New file.
3261
0fec99e8
PA
32622014-10-01 Pedro Alves <palves@redhat.com>
3263
3264 * gdb.base/breakpoint-in-ro-region.c: New file.
3265 * gdb.base/breakpoint-in-ro-region.exp: New file.
3266
2ddf4301
SM
32672014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3268
3269 * gdb.mi/mi-exit-code.exp: New file.
3270 * gdb.mi/mi-exit-code.c: New file.
3271
6a5f3f43
YQ
32722014-09-30 Yao Qi <yao@codesourcery.com>
3273
3274 * lib/prelink-support.exp (build_executable_own_libs): Error if
3275 the target isn't native.
3276
345bcc73
YQ
32772014-09-30 Yao Qi <yao@codesourcery.com>
3278
3279 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3280 false.
3281
a25a5a45
PA
32822014-09-22 Pedro Alves <palves@redhat.com>
3283
3284 * gdb.threads/break-while-running.exp: New file.
3285 * gdb.threads/break-while-running.c: New file.
3286
00ba3162
YQ
32872014-09-19 Yao Qi <yao@codesourcery.com>
3288
3289 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3290 Invoke test. Restart GDB with --readnow and invoke test again.
3291
c3b7b696
YQ
32922014-09-19 Yao Qi <yao@codesourcery.com>
3293
3294 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3295 proc set_breakpoint_on_gcd_function. Invoke
3296 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3297 invoke set_breakpoint_on_gcd_function again.
3298
2b4fd423
DE
32992014-09-18 Doug Evans <dje@google.com>
3300
3301 * gdb.dwarf2/symtab-producer.exp: New file.
3302
a5947601
SDJ
33032014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3304
3305 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3306 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3307 * gdb.base/global-var-nested-by-dso.c: Likewise.
3308 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3309
91c19059
SDJ
33102014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3311 Pedro Alves <palves@redhat.com>
3312
3313 * gdb.base/watch-bitfields.exp: Pass string other than test file
3314 name to prepare_for_testing.
3315 (watch): New procedure.
3316 (expect_watchpoint): Use with_test_prefix.
3317 (top level): Factor out tests to ...
3318 (test_watch_location, test_regular_watch): ... these new
3319 procedures, and use with_test_prefix and gdb_continue_to_end.
3320
bb9d5f81
PP
33212014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3322
3323 PR breakpoints/12526
3324 * gdb.base/watch-bitfields.exp: New file.
3325 * gdb.base/watch-bitfields.c: New file.
3326
635856f5
PA
33272014-09-16 Pedro Alves <palves@redhat.com>
3328
3329 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3330 software and hardware addresses, not software address against
3331 itself.
3332
7280ceea
PA
33332014-09-16 Pedro Alves <palves@redhat.com>
3334
3335 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3336 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3337
428b16bd
PA
33382014-09-16 Pedro Alves <palves@redhat.com>
3339
3340 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3341 files.
3342 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3343 "*-*-vxworks*" throughout.
3344 * gdb.base/break.exp: Likewise.
3345 * gdb.base/default.exp: Likewise.
3346 * gdb.base/scope.exp: Likewise.
3347 * gdb.base/sepdebug.exp: Likewise.
3348 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3349 throughout.
3350 * gdb.base/run.c: Likewise.
3351 * gdb.base/sepdebug.c: Likewise.
3352 * gdb.hp/gdb.aCC/run.c: Likewise.
3353 * gdb.reverse/until-reverse.c: Likewise.
3354 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3355
666d413c
YQ
33562014-09-16 Yao Qi <yao@codesourcery.com>
3357
3358 * boards/local-remote-host-native.exp: New file.
3359
57cbd724
DE
33602014-09-14 Doug Evans <xdje42@gmail.com>
3361
3362 * gdb.threads/queue-signal.c (thread_count): New variable.
3363 (thread_count_mutex, thread_count_condvar): New variables.
3364 (incr_thread_count, wait_all_threads_running): New functions.
3365 (main): Wait for all threads to be in their thread functions.
3366
81219e53
DE
33672014-09-13 Doug Evans <xdje42@gmail.com>
3368
3369 * gdb.threads/queue-signal.c: New file.
3370 * gdb.threads/queue-signal.exp: New file.
3371
3714cea7
DE
33722014-09-13 Doug Evans <xdje42@gmail.com>
3373
3374 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3375 be consistent with what default_gdb_init uses.
3376 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3377 the plain text of the prompt. Add some logging printfs.
3378 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3379
fa43b1d7
PA
33802014-09-12 Pedro Alves <palves@redhat.com>
3381
3382 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3383 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3384 * gdb.arch/i386-size-overlap.exp: Likewise.
3385 * gdb.arch/i386-size.exp: Likewise.
3386 * gdb.arch/i386-unwind.exp: Likewise.
3387 * gdb.base/a2-run.exp: Likewise.
3388 * gdb.base/break.exp: Likewise.
3389 * gdb.base/charset.exp: Likewise.
3390 * gdb.base/chng-syms.exp: Likewise.
3391 * gdb.base/commands.exp: Likewise.
3392 * gdb.base/dbx.exp: Likewise.
3393 * gdb.base/find.exp: Likewise.
3394 * gdb.base/funcargs.exp: Likewise.
3395 * gdb.base/jit-simple.exp: Likewise.
3396 * gdb.base/reread.exp: Likewise.
3397 * gdb.base/sepdebug.exp: Likewise.
3398 * gdb.base/step-bt.exp: Likewise.
3399 * gdb.cp/mb-inline.exp: Likewise.
3400 * gdb.cp/mb-templates.exp: Likewise.
3401 * gdb.objc/basicclass.exp: Likewise.
3402 * gdb.threads/killed.exp: Likewise.
3403
9d9bf2df
EBM
34042014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3405
3406 PR tdep/17379
3407 * gdb.arch/powerpc-stackless.S: New file.
3408 * gdb.arch/powerpc-stackless.exp: New file.
3409
1cf2f1b0
JK
34102014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3411
3412 * gdb.base/attach.c: Include unistd.h.
3413 (main): Call alarm. Add label postloop.
3414 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3415 gdb_breakpoint, gdb_continue_to_breakpoint.
3416 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3417
98880d46
PA
34182014-09-11 Pedro Alves <palves@redhat.com>
3419
3420 PR gdb/17347
3421 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3422 * gdb.base/attach.exp (test_command_line_attach_run): New
3423 procedure.
3424 (top level): Call it.
3425
4c92ff2c
PA
34262014-09-11 Pedro Alves <palves@redhat.com>
3427
3428 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3429 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3430 (do_command_attach_tests): Use spawn_wait_for_attach.
3431 * gdb.base/solib-overlap.exp: Likewise.
3432 * gdb.multi/multi-attach.exp: Likewise.
3433 * gdb.python/py-prompt.exp: Likewise.
3434 * gdb.python/py-sync-interp.exp: Likewise.
3435 * gdb.server/ext-attach.exp: Likewise.
3436
3adc1a7d
GKB
34372014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3438
3439 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3440 command in testcase. Simplify testcase.
3441
96334934
JB
34422014-09-10 Joel Brobecker <brobecker@adacore.com>
3443
3444 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3445
eb479039
JB
34462014-09-10 Joel Brobecker <brobecker@adacore.com>
3447
3448 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3449
deede10c
JB
34502014-09-10 Joel Brobecker <brobecker@adacore.com>
3451
3452 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3453
7828a5f5
JB
34542014-09-10 Joel Brobecker <brobecker@adacore.com>
3455
3456 * gdb.dwarf2/dynarr-ptr.c: New file.
3457 * gdb.dwarf2/dynarr-ptr.exp: New file.
3458
33aeebcf
MR
34592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3460
3461 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3462 of 30 rather than hardcoding 120 for a slow test case. Take the
3463 `gdb,timeout' target setting into account for this calculation.
3464 Don't extend the timeout for the test cases that don't need it.
3465
7b415901
MR
34662014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3467
3468 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3469 a factor of 2 for a slow test case. Take the `gdb,timeout'
3470 target setting into account for this calculation.
3471 * gdb.reverse/until-precsave.exp: Increase the timeout by
3472 a factor of 15 and 3 respectively rather than adding 120
3473 for a pair of slow test cases. Take the `gdb,timeout'
3474 target setting into account for this calculation.
3475
4a40f85a
MR
34762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3477
3478 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3479 timeout, don't pass one down to gdb_expect.
3480 (gdb_expect): Rework timeout selection.
3481
09635af7
MR
34822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3483
3484 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3485 exception on timeout.
3486 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3487 (gdbserver_start_extended): Catch any `gdbserver_start' error
3488 exceptions.
3489 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3490 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3491 `gdbserver_gdb_load' error exceptions.
3492
2bdd10b7
MR
34932014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3494
3495 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3496 120 on waiting for the TCP socket to open.
3497
316935f0
DE
34982014-09-09 Doug Evans <xdje42@gmail.com>
3499
3500 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3501 _caller_matches, _any_caller_is, _any_caller_matches.
3502
83740597
DE
35032014-09-09 Doug Evans <xdje42@gmail.com>
3504
3505 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3506
4c122fc3
YQ
35072014-09-09 Yao Qi <yao@codesourcery.com>
3508
3509 * gdb.mi/mi-var-display.exp: Set print symbol off.
3510
a9f116cb
GKB
35112014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3512
3513 PR gdb/17035
3514 * gdb.base/commands.exp: Add tests to verify user-defined
3515 commands with empty bodies.
3516 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3517 python commands in `show user command`.
3518 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3519 scheme commands in `show user command`.
3520
c75bd3a2
JK
35212014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3522
3523 PR python/17355
3524 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3525 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3526 * gdb.python/py-framefilter-invalidarg.exp: New file.
3527 * gdb.python/py-framefilter-invalidarg.py: New file.
3528
faa42425
DE
35292014-09-06 Doug Evans <xdje42@gmail.com>
3530
3531 PR 15276
3532 * gdb.python/py-caller-is.c: New file.
3533 * gdb.python/py-caller-is.exp: New file.
3534
474ca4f6
SDJ
35352014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3536
3537 PR gdb/17235
3538 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3539 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3540
eb0b0463
SDJ
35412014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3542
3543 PR fortran/17237
3544 * gdb.fortran/print-formatted.exp: New file.
3545 * gdb.fortran/print-formatted.f90: Likewise.
3546
5f3b99cf
SS
35472014-09-03 Sasha Smundak <asmundak@google.com>
3548
3549 * gdb.python/py-frame.exp: Test Frame.read_register.
3550
7d793aa9
SDJ
35512014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3552
3553 PR python/16699
3554 * gdb.python/py-completion.exp: New file.
3555 * gdb.python/py-completion.py: Likewise.
3556
fb0576e9
DE
35572014-08-28 Doug Evans <dje@google.com>
3558
3559 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3560 eax,etc. are live with values set by gdb and thus the compiler can't
3561 use them.
3562 * gdb.arch/i386-pseudo.c (main): Ditto.
3563
ee92b0dd
DE
35642014-08-27 Doug Evans <dje@google.com>
3565
3566 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3567
6649db35
DE
35682014-08-25 Doug Evans <dje@google.com>
3569
3570 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3571 (main): Ditto.
3572
564b7600
DE
35732014-08-25 Doug Evans <dje@google.com>
3574
3575 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3576
3881fb67
YQ
35772014-08-24 Yao Qi <yao@codesourcery.com>
3578
3579 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3580 symbol off.
3581 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3582
a05a36a5
DE
35832014-08-22 Doug Evans <dje@google.com>
3584
3585 PR 17276
3586 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3587 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3588 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3589
7c343b48
YQ
35902014-08-22 Yao Qi <yao@codesourcery.com>
3591
3592 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3593 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3594 * gdb.python/python.exp: Likewise. Use .py file on the host
3595 instead of the build.
3596
22fd09ae
JK
35972014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3598
3599 * gdb.threads/gcore-stale-thread.c: New file.
3600 * gdb.threads/gcore-stale-thread.exp: New file.
3601
a8454a7c
PA
36022014-08-21 Pedro Alves <palves@redhat.com>
3603
3604 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3605 * gdb.base/gcore-relro-pie.exp: Likewise.
3606 * gdb.base/gcore-relro.exp: Likewise.
3607 * gdb.base/gcore.exp: Likewise.
3608 * gdb.base/print-symbol-loading.exp: Likewise.
3609 * gdb.threads/gcore-thread.exp: Likewise.
3610 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3611
2a31c623
PA
36122014-08-20 Pedro Alves <palves@redhat.com>
3613 Jan Kratochvil <jan.kratochvil@redhat.com>
3614
3615 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3616 configure.
3617 (EXPECT): Handle READ1 being set.
3618 (all): Depend on EXTRA_RULES.
3619 (check-read1, expect-read1, read1.so, read1): New rules.
3620 * README (Testsuite Parameters): Document the READ1 make variable.
3621 (Race detection): New section.
3622 * configure: Regenerate.
3623 * configure.ac: If build==host==target, and running under a
3624 GNU/glibc system, add read1 to the extra Makefile rules.
3625 (EXTRA_RULES): AC_SUBST it.
3626 * lib/read1.c: New file.
3627
d36430db
JB
36282014-08-20 Joel Brobecker <brobecker@adacore.com>
3629
3630 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3631 the handling of variables declared as a typedef to an array
3632 which a DW_AT_data_location attribute.
3633
9a0dc9e3
PA
36342014-08-19 Andrew Burgess <aburgess@broadcom.com>
3635 Pedro Alves <palves@redhat.com>
3636
3637 PR symtab/14604
3638 PR symtab/14605
3639 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3640 gdb_test.
3641
0718a8da
PA
36422014-08-19 Pedro Alves <palves@redhat.com>
3643
3644 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3645
13b448cd
YQ
36462014-08-19 Yao Qi <yao@codesourcery.com>
3647
3648 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3649 right line.
3650
1cbf5077
DB
36512014-08-18 David Blaikie <dblaikie@gmail.com>
3652
3653 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3654
bf0fae19
JB
36552014-08-18 Joel Brobecker <brobecker@adacore.com>
3656
3657 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3658 attribute in array range.
3659
3c8c5dcc
JB
36602014-08-18 Joel Brobecker <brobecker@adacore.com>
3661
3662 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3663
e66d4446
SC
36642014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3665
3666 PR c++/17132
3667 * gdb.cp/pr17132.cc: New file.
3668 * gdb.cp/pr17132.exp: New file.
3669
940df408
SC
36702014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3671
3672 * gdb.python/py-xmethods.py (A_getarrayind)
3673 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3674 Use 'print' with function call syntax.
3675 (E_method_matcher.match): Fix tab vs space indentation mixup.
3676
ebcc6c3a
YQ
36772014-08-15 Yao Qi <yao@codesourcery.com>
3678
3679 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3680 false.
3681
775e0f04
YQ
36822014-08-15 Yao Qi <yao@codesourcery.com>
3683
3684 * gdb.cp/casts.exp: Set print symbol off.
3685 * gdb.cp/class2.exp: Likewise.
3686 * gdb.cp/overload.exp: Likewise.
3687 * gdb.cp/templates.exp: Likewise.
3688
d769e349
DE
36892014-08-11 Doug Evans <dje@google.com>
3690
3691 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3692 (test_load_shlib): Update.
3693
20c6f1e1
YQ
36942014-08-09 Yao Qi <yao@codesourcery.com>
3695
3696 * gdb.base/display.exp: Invoke is_address_zero_readable.
3697 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3698 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3699 * gdb.base/hbreak-unmapped.exp: Return if
3700 is_address_zero_readable returns true.
3701 * gdb.base/signest.exp: Likewise.
3702 * gdb.base/signull.exp: Likewise.
3703 * gdb.base/sigbpt.exp: Likewise.
3704 * gdb.guile/scm-disasm.exp: Do the test if
3705 is_address_zero_readable returns false.
3706 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3707 * gdb.python/py-arch.exp: Likewise.
3708 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3709 * lib/gdb.exp (is_address_zero_readable): New proc.
3710
5792e8e3
YQ
37112014-08-09 Yao Qi <yao@codesourcery.com>
3712
3713 PR testsuite/13443
3714 * gdb.mi/mi-var-display.exp: Make test messages unique.
3715
3cecbbbe
TT
37162014-08-04 Tom Tromey <tromey@redhat.com>
3717
3718 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3719 target 0".
3720
00b51ff5
TT
37212014-08-04 Tom Tromey <tromey@redhat.com>
3722
3723 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3724 "target_resume".
3725
6908c509
JB
37262014-08-01 Joel Brobecker <brobecker@adacore.com>
3727
3728 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3729 inner_vla_struct_object_size.
3730 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3731 as xfail.
3732
cc6563d2
PA
37332014-07-30 Pedro Alves <palves@redhat.com>
3734
3735 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3736 comment.
3737
7e09a223
YQ
37382014-07-29 Yao Qi <yao@codesourcery.com>
3739
3740 PR gdb/17206
3741 * gdb.base/until-nodebug.exp: New.
3742
7ebdbe92
DE
37432014-07-28 Doug Evans <xdje42@gmail.com>
3744
3745 PR guile/17203
3746 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3747 previously existing parameter, and previously ambiguously spelled
3748 parameter.
3749
fdb1adc6
WN
37502014-07-28 Will Newton <will.newton@linaro.org>
3751
3752 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3753
186fcde0
DE
37542014-07-26 Ludovic Courtès <ludo@gnu.org>
3755 Doug Evans <xdje42@gmail.com>
3756
3757 PR guile/17146
3758 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3759
70509625
PA
37602014-07-25 Pedro Alves <palves@redhat.com>
3761
3762 * gdb.threads/signal-command-handle-nopass.c: New file.
3763 * gdb.threads/signal-command-handle-nopass.exp: New file.
3764 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3765 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3766 * gdb.threads/signal-delivered-right-thread.c: New file.
3767 * gdb.threads/signal-delivered-right-thread.exp: New file.
3768
c3f814a1
PA
37692014-07-25 Pedro Alves <palves@redhat.com>
3770
3771 * gdb.base/double-prompt-target-event-error.exp
3772 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3773 match.
3774 (cancel_pagination_in_target_event): Rework double prompt
3775 detection.
3776 * gdb.base/paginate-after-ctrl-c-running.exp
3777 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3778 <return>' match.
3779 * gdb.base/paginate-bg-execution.exp
3780 (test_bg_execution_pagination_return)
3781 (test_bg_execution_pagination_cancel): Remove '-notransfer
3782 <return>' matches.
3783 * gdb.base/paginate-execution-startup.exp
3784 (test_fg_execution_pagination_return)
3785 (test_fg_execution_pagination_cancel): Remove '-notransfer
3786 <return>' matches.
3787 * gdb.base/paginate-inferior-exit.exp
3788 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3789 match.
3790 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3791 * lib/gdb.exp (pagination_prompt): Run text through
3792 string_to_regexp.
3793 (gdb_test_multiple): Match $pagination_prompt instead of
3794 "<return>".
3795 (string_to_regexp): Move to lib/gdb-utils.exp.
3796
e214cf6c
JK
37972014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3798
3799 * gdb.arch/amd64-entry-value-paramref.S: New file.
3800 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3801 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3802 * gdb.arch/amd64-optimout-repeat.S: New file.
3803 * gdb.arch/amd64-optimout-repeat.c: New file.
3804 * gdb.arch/amd64-optimout-repeat.exp: New file.
3805
17d0c5c8
JK
38062014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3807
3808 PR gdb/17170
3809 * gdb.base/statistics.exp: New file.
3810
b8b8facf
DE
38112014-07-17 Doug Evans <dje@google.com>
3812
74b49205 3813 PR gdb/17170
b8b8facf
DE
3814 * gdb.base/maint.exp: Update testing of per-command stats.
3815
1b5d0ab3
PA
38162014-07-16 Pedro Alves <palves@redhat.com>
3817
3818 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3819 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3820 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3821 (tfile_write_buf): New functions.
3822 (add_memory_block): Rewrite using the above.
3823 (adjust_function_address): New function.
3824 (FUNCTION_ADDRESS): New macro.
3825 (write_basic_trace_file): Remove short_x local, and use
3826 tfile_write_16. Change type of func_addr local to unsigned long
3827 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3828 here. Cast argument of add_memory_block to char pointer.
3829 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3830 (main): Remove parameters.
3831 * gdb.trace/tfile.exp: Remove nowarnings.
3832
4d974e88
SM
38332014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3834
3835 * gdb.base/debug-expr.exp: Test string evaluation with
3836 "debug expression" on.
3837
41e99568
PA
38382014-07-15 Pedro Alves <palves@redhat.com>
3839
3840 * gdb.base/reread.exp: Use clean_restart.
3841
487d9753
PL
38422014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3843
3844 * gdb.arch/avr-flash-qualifer.c: New.
3845 * gdb.arch/avr-flash-qualifer.exp: New.
3846
cc1c52ad
PA
38472014-07-14 Pedro Alves <palves@redhat.com>
3848
3849 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3850 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3851
1e973570
PA
38522014-07-14 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.base/double-prompt-target-event-error.c: New file.
3855 * gdb.base/double-prompt-target-event-error.exp: New file.
3856
93d6eb10
PA
38572014-07-14 Pedro Alves <palves@redhat.com>
3858
3859 PR gdb/17072
3860 * gdb.base/paginate-inferior-exit.c: New file.
3861 * gdb.base/paginate-inferior-exit.exp: New file.
3862
0017922d
PA
38632014-07-14 Pedro Alves <palves@redhat.com>
3864
3865 PR gdb/17072
3866 * gdb.base/paginate-bg-execution.c: New file.
3867 * gdb.base/paginate-bg-execution.exp: New file.
3868
94696ad3
PA
38692014-07-14 Pedro Alves <palves@redhat.com>
3870
3871 PR gdb/17072
3872 * gdb.base/paginate-execution-startup.c: New file.
3873 * gdb.base/paginate-execution-startup.exp: New file.
3874 * lib/gdb.exp (pagination_prompt): New global.
3875 (default_gdb_spawn): New procedure, factored out from
3876 default_gdb_spawn.
3877 (default_gdb_start): Adjust to call default_gdb_spawn.
3878 (gdb_spawn): New procedure.
3879
bd293940
PA
38802014-07-14 Pedro Alves <palves@redhat.com>
3881
3882 * lib/gdb.exp (gdb_assert): New procedure.
3883 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3884
c933f875
PA
38852014-07-14 Pedro Alves <palves@redhat.com>
3886
3887 * gdb.base/execution-termios.c: New file.
3888 * gdb.base/execution-termios.exp: New file.
3889
d98b7a16
TT
38902014-07-14 Tom Tromey <tromey@redhat.com>
3891
3892 * gdb.cp/vla-cxx.cc: New file.
3893 * gdb.cp/vla-cxx.exp: New file.
3894
548740d6
TT
38952014-07-14 Tom Tromey <tromey@redhat.com>
3896
3897 * gdb.reverse/rerun-prec.c: New file.
3898 * gdb.reverse/rerun-prec.exp: New file.
3899
a25eb028
MR
39002014-07-12 Maciej W. Rozycki <macro@mips.com>
3901 Maciej W. Rozycki <macro@codesourcery.com>
3902
3903 * lib/gdb-utils.exp: New file.
3904 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3905 inline `gdb_init_command' processing.
3906 (gdb_start_cmd): Likewise.
3907 * lib/mi-support.exp (mi_run_cmd): Likewise.
3908 * README: Document `gdb_init_command' and `gdb_init_commands'.
3909
218c2655
JK
39102014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3911
3912 Fix false FAIL running under a very long directory name.
3913 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3914 and "set print elements 10000". Twice.
3915
5401fde3
YQ
39162014-07-11 Yao Qi <yao@codesourcery.com>
3917
3918 * gdb.base/exprs.exp: "set print symbol off".
3919
e76126e8
PA
39202014-07-11 Pedro Alves <palves@redhat.com>
3921
3922 * gdb.threads/kill.c: New file.
3923 * gdb.threads/kill.exp: New file.
3924
2d6f0de6
YQ
39252014-07-10 Yao Qi <yao@codesourcery.com>
3926
3927 * gdb.trace/tfile.c (write_basic_trace_file)
3928 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3929 address written to trace file.
3930
7180e04a
PA
39312014-07-09 Pedro Alves <palves@redhat.com>
3932
3933 * gdb.base/attach-wait-input.exp: New file.
3934 * gdb.base/attach-wait-input.c: New file.
3935
9a9a7608
AB
39362014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3937
3938 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3939 setting up test structures.
3940 (main): Call new test function.
3941 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3942 test function, continue into test function and walk test
3943 structures.
3944
161ac41e
YQ
39452014-07-02 Yao Qi <yao@codesourcery.com>
3946
3947 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3948 'bar_start' at the beginning of functions 'foo' and 'bar'
3949 respectively.
3950 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3951 instead of 'foo' and 'bar'.
3952
1f267ae3
MM
39532014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3954
3955 * gdb.btrace/segv.exp: New.
3956 * gdb.btrace/segv.c: New.
3957
2b239efb
LM
39582014-07-02 Luis Machado <lgustavo@codesourcery.com>
3959
3960 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3961 instruction.
3962
cf363f18
MW
39632014-06-30 Mark Wielaard <mjw@redhat.com>
3964
3965 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3966 vulture, vilify, villar): New volatile array constants.
3967 (vindictive, vegetation): New const volatile array constants.
3968 * gdb.base/volatile.exp: Test volatile and const volatile array
3969 types.
3970
aebf9d24
AA
39712014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3972
3973 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3974 target lacks support for awatch, rwatch, or hbreak.
3975
b67a2c6f
YQ
39762014-06-27 Yao Qi <yao@codesourcery.com>
3977
3978 * gdb.multi/dummy-frame-restore.exp: New.
3979 * gdb.multi/dummy-frame-restore.c: New.
3980
aef92902
MM
39812014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3982
3983 * gdb.btrace/gcore.exp: New.
3984
8e9db26e
PA
39852014-06-23 Pedro Alves <palves@redhat.com>
3986
3987 * gdb.base/watchpoint-reuse-slot.c: New file.
3988 * gdb.base/watchpoint-reuse-slot.exp: New file.
3989
70afc5b7
SC
39902014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3991
3992 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3993 progspace's filename in 'info', 'enable' and 'disable' command
3994 tests.
3995
b972bd9c
JK
39962014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3997
3998 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3999 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4000 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4001
125f8a3d
GB
40022014-06-20 Gary Benson <gbenson@redhat.com>
4003
4004 * gdb.arch/i386-avx.exp: Fix include file location.
4005 * gdb.arch/i386-sse.exp: Likewise.
4006
3ed9baed
IB
40072014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4008
4009 * gdb.dlang/expression.exp: New file.
4010
034f788c
PA
40112014-06-19 Pedro Alves <palves@redhat.com>
4012
4013 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4014 out from ...
4015 (top level): ... here. Iterate running tests under different
4016 scheduler-locking settings.
4017
45371d0c
LM
40182014-06-18 Luis Machado <lgustavo@codesourcery.com>
4019
4020 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4021 to DW_FORM_addr and use non-zero addresses.
4022
5d376983
SC
40232014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4024
4025 PR gdb/17017
4026 * gdb.python/py-xmethods.cc: Add global function call counters and
4027 increment them in their respective functions. Remove "cout"
4028 statements.
4029 * gdb.python/py-xmethods.exp: Make tests check the global function
4030 call counters instead of depending on inferior IO.
4031
a1aa2221
LM
40322014-06-18 Don Breazeal <donb@codesourcery.com>
4033
4034 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4035 Deleted procedure.
4036 (explicit_fork_parent_follow): Deleted procedure.
4037 (explicit_fork_child_follow): Deleted procedure.
4038 (test_follow_fork): New procedure.
4039 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4040 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4041 procedure calls.
4042
0fc05997
YQ
40432014-06-17 Yao Qi <yao@codesourcery.com>
4044
4045 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4046 CP1252.
4047
70795c52
LM
40482014-06-17 Luis Machado <lgustavo@codesourcery.com>
4049
4050 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4051 Initialize ptr and S explicitly.
4052 (skip_type_update_when_not_use_rtti_test): Likewise.
4053
6be47f0c
KS
40542014-06-16 Keith Seitz <keiths@redhat.com>
4055
4056 PR mi/15863
4057 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4058 the inferior is started.
4059
d03de421
PA
40602014-06-16 Pedro Alves <palves@redhat.com>
4061
4062 * gdb.base/break-main-file-remove-fail.c: New file.
4063 * gdb.base/break-main-file-remove-fail.exp: New file.
4064 * gdb.base/break-unload-file.exp: Use build_executable instead of
4065 prepare_for_testing.
4066 (test_break): New parameter "initial_load". Handle it.
4067 (top level): Add initial_load cmdline/file axis.
4068
f9579b99
TT
40692014-06-12 Tom Tromey <tromey@redhat.com>
4070
4071 * gdb.base/completion.exp: Don't use directory name in test.
4072
3657956b
GB
40732014-06-09 Gary Benson <gbenson@redhat.com>
4074
4075 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4076 separate the always-available ANSI-standard signals from the
4077 signals that require checking.
4078 (main): Likewise.
4079 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4080 Likewise.
4081 (main): Likewise.
4082
4186eb54
KS
40832014-06-07 Keith Seitz <keiths@redhat.com>
4084
4085 Revert:
4086 PR c++/16253
4087 * gdb.cp/var-tag.cc: New file.
4088 * gdb.cp/var-tag.exp: New file.
4089 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4090 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4091 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4092 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4093
25326a28 40942014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4095
4096 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4097
829155c9
PA
40982014-06-06 Pedro Alves <palves@redhat.com>
4099
4100 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4101 in target debug output instead of looking at RSP packets,
4102 disabling the test on any target that uses hardware stepping.
4103 Update comments.
4104
61c8d22e
PA
41052014-06-06 Pedro Alves <palves@redhat.com>
4106
4107 * gdb.base/break-unload-file.exp: Fix typo.
4108
d9a47287
YQ
41092014-06-06 Yao Qi <yao@codesourcery.com>
4110
4111 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4112 from "jit_function" to "^jit_function".
4113
e5e01dbf
YQ
41142014-06-06 Yao Qi <yao@codesourcery.com>
4115
4116 * gdb.base/async.c (foo): Add one statement.
4117 * gdb.base/async.exp: Get the next instruction address and
4118 match the output of "nexti" by instruction address. Match
4119 the hex address in the output of "finish".
4120
73ba372c
GB
41212014-06-06 Gary Benson <gbenson@redhat.com>
4122
4123 * gdb.base/call-signals.c: Remove preprocessor conditionals
4124 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4125 SIGSEGV and SIGTERM.
4126 * gdb.base/sigall.c: Likewise.
4127 * gdb.base/unwindonsignal.c: Likewise.
4128 * gdb.reverse/sigall-reverse.c: Likewise.
4129
831517df
YQ
41302014-06-06 Yao Qi <yao@codesourcery.com>
4131
4132 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4133 readable, skip the test.
4134
b8b91e98
YQ
41352014-06-06 Yao Qi <yao@codesourcery.com>
4136
4137 * gdb.threads/staticthreads.c (thread_function): Move the line
4138 setting breakpoint on forward.
4139 * gdb.threads/staticthreads.exp: Update comments.
4140
fb934770
LC
41412014-06-05 Ludovic Courtès <ludo@gnu.org>
4142
4143 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4144 "history-append! type error".
4145
6ef284bd
SM
41462014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4147
4148 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4149 erroneous dprintf expected input.
4150
a872e241
DE
41512014-06-04 Doug Evans <xdje42@gmail.com>
4152
4153 * gdb.guile/scm-generics.exp: Delete.
4154
16f691fb
DE
41552014-06-04 Doug Evans <xdje42@gmail.com>
4156
4157 * gdb.guile/scm-breakpoint.exp: Update.
4158 Add tests for breakpoint registration.
4159
012370f6
TT
41602014-06-04 Tom Tromey <tromey@redhat.com>
4161
4162 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4163 VLA-in-union.
4164 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4165 inner_vla_struct, vla_union types. Initialize objects of those
4166 types and compute their sizes.
4167
9f5a4cef
HZ
41682014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4169 Hui Zhu <hui@codesourcery.com>
4170
4171 * gdb.base/fileio.exp: Add test for shell not available as well as
4172 available.
4173 * gdb.base/fileio.c (test_system): Check for shell twice.
4174
90a45c4d
YQ
41752014-06-04 Yao Qi <yao@codesourcery.com>
4176
4177 * gdb.base/auto-connect-native-target.exp: Remove redundant
4178 space from the regexp pattern.
4179
70017e41
YQ
41802014-06-04 Yao Qi <yao@codesourcery.com>
4181
4182 * gdb.base/default.exp: Replace "child" with "native" in
4183 regexp pattern.
4184
883964a7
SC
41852014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4186
4187 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4188 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4189 * gdb.python/py-xmethods.py: Python script supporting the
4190 new testcase and tests.
4191
ef370185
JB
41922014-06-03 Joel Brobecker <brobecker@adacore.com>
4193 Pedro Alves <palves@redhat.com>
4194
4195 PR breakpoints/17000
4196 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4197 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4198
1e2ccb61
BM
41992014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4200
4201 * gdb.base/subst.exp: Add tests to verify partial path matching
4202 output.
4203
c6ec5ab2
PA
42042014-06-03 Pedro Alves <palves@redhat.com>
4205
4206 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4207 target that doesn't use software single-stepping.
4208
835c559f
PA
42092014-06-03 Pedro Alves <palves@redhat.com>
4210
4211 PR breakpoints/17000
4212 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4213 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4214
06eb1586
DE
42152014-06-02 Doug Evans <xdje42@gmail.com>
4216
4217 * gdb.guile/scm-parameter.exp: New file.
4218
e698b8c4
DE
42192014-06-02 Doug Evans <xdje42@gmail.com>
4220
4221 * gdb.guile/scm-cmd.c: New file.
4222 * gdb.guile/scm-cmd.exp: New file.
4223
ded03782
DE
42242014-06-02 Doug Evans <xdje42@gmail.com>
4225
4226 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4227 pretty-printer lookup.
4228 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4229 (make-pp_s-printer): Call it.
4230 (make-pretty-printer-from-dict): New function.
4231 (lookup-pretty-printer-maker-from-dict): New function.
4232 (*pretty-printer*): Simplify.
4233 (make-objfile-pp_s-printer): New function.
4234 (install-objfile-pretty-printers!): New function.
4235 (make-progspace-pp_s-printer): New function.
4236 (install-progspace-pretty-printers!): New function.
4237 * gdb.guile/scm-progspace.c: New file.
4238 * gdb.guile/scm-progspace.exp: New file.
4239
41fac0cf
PA
42402014-06-02 Pedro Alves <palves@redhat.com>
4241
4242 * gdb.base/dprintf-bp-same-addr.c: New file.
4243 * gdb.base/dprintf-bp-same-addr.exp: New file.
4244
96ae5695
EBM
42452014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4246
4247 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4248 * gdb.arch/powerpc-power.s: Likewise.
4249
da02b3a8
JB
42502014-06-02 Joel Brobecker <brobecker@adacore.com>
4251
4252 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4253
c72b2e7b
YQ
42542014-06-01 Yao Qi <yao@codesourcery.com>
4255
4256 * gdb.base/watchpoint.exp (test_watch_location): Check null
4257 pointer can be dereferenced. If not, do the test, otherwise
4258 skip it.
4259
53e8a631
AB
42602014-05-30 Andrew Burgess <aburgess@broadcom.com>
4261
4262 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4263 results.
4264 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4265
938f0e2f
AB
42662014-05-30 Andrew Burgess <aburgess@broadcom.com>
4267
4268 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4269 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4270 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4271 * gdb.arch/amd64-invalid-stack-top.c: New file.
4272 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4273
9ba6657a
PA
42742014-05-30 Pedro Alves <palves@redhat.com>
4275
4276 PR breakpoints/17000
4277 * gdb.base/sss-bp-on-user-bp.c: New file.
4278 * gdb.base/sss-bp-on-user-bp.exp: New file.
4279
522c09bf
DB
42802014-05-30 David Blaikie <dblaikie@gmail.com>
4281
4282 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4283 gnu_inline semantics via attribute.
4284 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4285 source explicitly specifies the required semantics.
4286
bf4ef81e
MR
42872014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4288
4289 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4290
329ea579
PA
42912014-05-29 Pedro Alves <palves@redhat.com>
4292 Tom Tromey <tromey@redhat.com>
4293
4294 * gdb.base/async-shell.exp: Don't enable target-async.
4295 * gdb.base/async.exp
4296 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4297 parameter. Adjust.
4298 (top level): Don't test with "target-async".
4299 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4300 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4301 * gdb.base/inferior-died.exp: Don't enable target-async.
4302 * gdb.base/interrupt-noterm.exp: Likewise.
4303 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4304 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4305 * gdb.mi/mi-nonstop.exp: Likewise.
4306 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4307 * gdb.mi/mi-nsintrall.exp: Likewise.
4308 * gdb.mi/mi-nsmoribund.exp: Likewise.
4309 * gdb.mi/mi-nsthrexec.exp: Likewise.
4310 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4311 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4312 * gdb.python/py-evsignal.exp: Don't enable target-async.
4313 * gdb.python/py-evthreads.exp: Likewise.
4314 * gdb.python/py-prompt.exp: Likewise.
4315 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4316 * gdb.server/solib-list.exp: Don't enable target-async.
4317 * gdb.threads/thread-specific-bp.exp: Likewise.
4318 * lib/mi-support.exp: Adjust to use mi-async.
4319
fd664c91
PA
43202014-05-29 Pedro Alves <palves@redhat.com>
4321
4322 PR gdb/13860
4323 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4324 reason, even in sync mode.
4325
251bde03
PA
43262014-05-29 Pedro Alves <palves@redhat.com>
4327 Hui Zhu <hui@codesourcery.com>
4328
4329 PR PR15693
4330 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4331 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4332 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4333 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4334
7f3c0343
JB
43352014-05-28 Joel Brobecker <brobecker@adacore.com>
4336
4337 * config/monitor.exp (gdb_target_monitor): Replace use of
4338 "set remotebaud" by "set serial baud".
4339
b2715b27
AW
43402014-05-26 Andy Wingo <wingo@igalia.com>
4341
4342 * gdb.guile/scm-breakpoint.exp:
4343 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4344 properties instead of gdb-object-properties.
4345
498a4489
YQ
43462014-05-26 Yao Qi <yao@codesourcery.com>
4347
4348 * gdb.server/no-thread-db.exp: Specify source file name
4349 explicitly when setting a breakpoint.
4350
589fdceb
MM
43512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4352
4353 * gdb.btrace/vdso.c: New.
4354 * gdb.btrace/vdso.exp: New.
4355
e9089e05
MM
43562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4357
4358 * gdb.base/gcore.exp (capture_command_output): Move ...
4359 * lib/gdb.exp (capture_command_output): ... here.
4360
67b5c0c1
MM
43612014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4362
4363 * gdb.btrace/data.exp: Test memory access during btrace replay.
4364
a2199296
SM
43652014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4366
4367 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4368
17b2616c
PA
43692014-05-21 Pedro Alves <palves@redhat.com>
4370
4371 PR gdb/13860
4372 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4373 (top level): Test that output related to execution commands is
4374 sent to the console with CLI commands, but not with MI commands.
4375 Test that breakpoint events are always mirrored to the console.
4376 Also expect the new source line to be output after a "next" in
4377 async mode too. Make it a pass/fail test.
4378 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4379 output.
4380 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4381
5166082f
PA
43822014-05-21 Pedro Alves <palves@redhat.com>
4383
4384 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4385 Use them to test variations of "list" after reaching a breakpoint.
4386 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4387 Test "list" with listsize 10 after reaching a breakpoint.
4388 * gdb.python/python.exp (decode_line current location line
4389 number): Adjust expected line number.
4390
2f25d70f
SM
43912014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4392
4393 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4394 behavior for $args, pass it directly to "run".
4395
ff604a67
MR
43962014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4397
4398 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4399 30000 to 65536.
4400
6a3cb8e8
PA
44012014-05-21 Pedro Alves <palves@redhat.com>
4402
4403 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4404 auto-connect-native-target off".
4405 * gdb.base/auto-connect-native-target.c: New file.
4406 * gdb.base/auto-connect-native-target.exp: New file.
4407
4ebfc96e
PA
44082014-05-21 Pedro Alves <palves@redhat.com>
4409
4410 * gdb.base/default.exp: Test "target native" instead of "target
4411 child".
4412
36d46afb
MW
44132014-05-21 Mark Wielaard <mjw@redhat.com>
4414
4415 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4416
5876f503
JK
44172014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4418
4419 Fix TLS access for -static -pthread.
4420 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4421 <HAVE_TLS> (thread_function, main): Initialize it.
4422 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4423 Add clean_restart.
4424 <$have_tls != "">: Check TLSVAR.
4425
0256a6ac
PA
44262014-05-21 Pedro Alves <palves@redhat.com>
4427
4428 * gdb.base/dcache-line-read-error.c: New.
4429 * gdb.base/dcache-line-read-error.exp: New.
4430
936d2992
PA
44312014-05-20 Pedro Alves <palves@redhat.com>
4432
4433 * gdb.base/compare-sections.c: New file.
4434 * gdb.base/compare-sections.exp: New file.
4435
802e8e6d
PA
44362014-05-20 Pedro Alves <palves@redhat.com>
4437
4438 * gdb.base/break-idempotent.c: New file.
4439 * gdb.base/break-idempotent.exp: New file.
4440
e59fa00f
MM
44412014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4442
4443 * gdb.btrace/nohist.exp: New.
4444
8b696e31
YQ
44452014-05-20 Yao Qi <yao@codesourcery.com>
4446
4447 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4448 gdb.reverse directory and gdb_reverse_timeout exists in board
4449 setting.
4450 * README: Document gdb_reverse_timeout.
4451
73c9764f
YQ
44522014-05-20 Yao Qi <yao@codesourcery.com>
4453
4454 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4455 'test_file_name'. Treat args as a string instead of a list.
4456 (gdb_init): Rename argument 'args' by 'test_file_name'.
4457
f1f4348a
JK
44582014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4459
4460 * gdb.arch/powerpc-power.exp: New file.
4461 * gdb.arch/powerpc-power.s: New file.
4462
0dbe70ce
DE
44632014-05-16 Doug Evans <dje@google.com>
4464
4465 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4466 * gdb.base/completion.exp: Check that all expected files exist
4467 before doing file completion.
0dbe70ce 4468
8d551b02
DE
44692014-05-16 Doug Evans <dje@google.com>
4470
4471 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4472 Update.
4473 (do_syscall_tests_without_xml): Update.
4474
73eb7709
PA
44752014-05-16 Pedro Alves <palves@redhat.com>
4476
4477 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4478 instead of "unknown output after running".
4479
3fae92fc
YQ
44802014-05-16 Yao Qi <yao@codesourcery.com>
4481
4482 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4483 file1.txt from host at the end.
4484 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4485
c2b2ccc5
DE
44862014-05-15 Doug Evans <dje@google.com>
4487
4488 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4489 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4490 loading file. Add test for TU lookup.
4491
8c217a4b
SM
44922014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4493
4494 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4495 calling "-exec-arguments" or "set args" before running the
4496 inferior.
4497
3deb39c6
SM
44982014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4499
4500 * lib/mi-support.exp (mi_expect_stop): Expect message for
4501 inferiors that exit with non-zero exit code.
4502
71a79f8c
YQ
45032014-05-14 Yao Qi <yao@codesourcery.com>
4504
4505 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4506 match absolute path on remote host.
4507 (test_file_list_exec_source_files): Remove "/" from the
4508 pattern.
4509
f23fcd46
YQ
45102014-05-14 Yao Qi <yao@codesourcery.com>
4511
4512 * boards/local-remote-host-notty.exp (${board}_file): New
4513 proc.
4514
9404b58f
KM
45152014-05-07 Kyle McMartin <kyle@redhat.com>
4516
4517 Pushed by Joel Brobecker <brobecker@adacore.com>.
4518 * gdb.arch/aarch64-atomic-inst.c: New file.
4519 * gdb.arch/aarch64-atomic-inst.exp: New file.
4520
5e45f04c
YQ
45212014-05-07 Yao Qi <yao@codesourcery.com>
4522
4523 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4524 in current context" too.
4525
c888a17d
KS
45262014-05-05 Keith Seitz <keiths@redhat.com>
4527
4528 * gdb.linespec/ls-dollar.exp: Add test for linespec
4529 file:convenience_variable.
4530
290a839c
YQ
45312014-05-05 Yao Qi <yao@codesourcery.com>
4532
4533 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4534 traceframes into tfile and ctf trace files. Read data from
4535 trace file and test collected data.
4536 (gdb_collect_locals_test): Likewise.
4537 (gdb_unavailable_registers_test): Likewise.
4538 (gdb_unavailable_floats): Likewise.
4539 (gdb_collect_globals_test): Likewise.
4540 (top-level): Append "ctf" to trace_file_targets if GDB
4541 supports.
4542
b5262cd0
YQ
45432014-05-05 Yao Qi <yao@codesourcery.com>
4544
4545 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4546 code to ...
4547 (gdb_collect_args_test_1): ... it. New proc.
4548 (gdb_collect_locals_test): Move some code to ...
4549 (gdb_collect_locals_test_1): ... it. New proc.
4550 (gdb_unavailable_registers_test): Move some code to ...
4551 (gdb_unavailable_registers_test_1): ... it. New proc.
4552 (gdb_unavailable_floats): Move some code to ...
4553 (gdb_unavailable_floats_1): ... it. New proc.
4554
30a1e6cc
SDJ
45552014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4556
4557 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4558 probes to test for bitness recognition.
4559 * gdb.arch/amd64-stap-optional-prefix.exp
4560 (test_probe_value_without_reg): New procedure.
4561 Add code to test for different kinds of bitness.
4562
f33da99a
SDJ
45632014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4564
4565 PR breakpoints/16889
4566 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4567 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4568
5b80f00d
PA
45692014-05-01 Pedro Alves <palves@redhat.com>
4570
4571 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4572 gdb_file_cmd if no file is specified.
4573 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4574 last_loaded_file to set the remote exec-file.
4575
f8c2a73c
PA
45762014-05-01 Pedro Alves <palves@redhat.com>
4577
4578 * boards/local-remote-host.exp: New file.
4579
be6e8ac7
PA
45802014-05-01 Pedro Alves <palves@redhat.com>
4581
4582 * boards/local-remote-host.exp: Rename to ...
4583 * boards/local-remote-host-notty.exp: ... this.
4584
cac0dc8f
JB
45852014-04-28 Joel Brobecker <brobecker@adacore.com>
4586
4587 * gdb.ada/dyn_arrayidx: New testcase.
4588
9730e6cc
YQ
45892014-04-26 Yao Qi <yao@codesourcery.com>
4590
4591 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4592 and compute the length of function main. Save it in
4593 $main_length.
4594 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4595 (top-level): Use gdb_compile to compile objects into
4596 executable and restart GDB. Remove invocation to
4597 prepare_for_testing.
4598
7ae1a6a6
PA
45992014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4600 Pedro Alves <palves@redhat.com>
4601
4602 PR server/16255
4603 * gdb.multi/multi-attach.c: New file.
4604 * gdb.multi/multi-attach.exp: New file.
4605
4082afcc
PA
46062014-04-25 Pedro Alves <palves@redhat.com>
4607
4608 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4609 user.
4610 (top level): Test that "set remote conditional-breakpoints-packet
4611 off" works as intended.
4612 * gdb.base/dprintf.exp: Test that "set remote
4613 breakpoint-commands-packet off" works as intended.
4614 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4615 New function.
4616 (top level): Call it.
4617 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4618 remote fast-tracepoints-packet off" works as intended.
4619 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4620 * lib/gdb.exp (gdb_is_target_remote): ... here.
4621
2abc3f8d
DB
46222014-04-24 David Blaikie <dblaikie@gmail.com>
4623
4624 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4625 ensure clang would not discard them.
4626 * gdb.base/gdbvars.c: Ditto.
4627 * gdb.base/memattr.c: Ditto.
4628 * gdb.base/whatis.c: Ditto.
4629 * gdb.python/py-prettyprint.c: Ditto.
4630 * gdb.trace/actions.c: Ditto.
4631 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4632 ensure clang would not discard it.
4633
bfd39632
DB
46342014-04-24 David Blaikie <dblaikie@gmail.com>
4635
4636 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4637 clang to emit the full definition of type required by the test
4638 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4639
22842ff6
DB
46402014-04-24 David Blaikie <dblaikie@gmail.com>
4641
4642 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4643 coax Clang into emitting the definition of the type.
4644 * gdb.cp/pr10728-x.h (y): Ditto.
4645 * gdb.cp/pr10728-y.cc (y): Ditto.
4646
c2e827ad
DB
46472014-04-24 David Blaikie <dblaikie@gmail.com>
4648
4649 * gdb.base/label.exp: XFAIL label related tests under Clang.
4650 * gdb.cp/cplabel.exp: Ditto.
4651 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4652 under Clang those using labels.
4653
4c2d33e7
YQ
46542014-04-25 Yao Qi <yao@codesourcery.com>
4655
4656 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4657 double_label.
4658 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4659 partial_label and double_label.
4660
56083b99
DB
46612014-04-24 David Blaikie <dblaikie@gmail.com>
4662
4663 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4664
25d4e99d
DB
46652014-04-24 David Blaikie <dblaikie@gmail.com>
4666
4667 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4668 of the function to work across GCC and Clang.
4669 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4670 pointer types (const void ** const V void **).
4671
01f9f808
MS
46722014-04-24 Michael Sturm <michael.sturm@mintel.com>
4673 Walfred Tedeschi <walfred.tedeschi@intel.com>
4674
4675 * Makefile.in (EXECUTABLES): Added i386-avx512.
4676 * gdb.arch/i386-avx512.c: New file.
4677 * gdb.arch/i386-avx512.exp: Likewise.
4678
4b48d439
KS
46792014-04-23 Keith Seitz <keiths@redhat.com>
4680
4681 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4682 (mi_make_breakpoint_table): New procedure.
4683 (mi_create_breakpoint): Use mi_make_breakpoint
4684 and return the result.
4685 (mi_make_breakpoint): New procedure.
4686 (mi_build_kv_pairs): New procedure.
4687
4688 * gdb.mi/mi-break.exp: Remove unused globals,
4689 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4690 All callers updated.
4691 * gdb.mi/mi-dprintf.exp: Use variable to track command
4692 number.
4693 Update all callers of mi_create_breakpoint and use
4694 mi_make_breakpoint_table.
4695 Remove any unused global variables.
4696 * gdb.mi/mi-nonstop.exp: Likewise.
4697 * gdb.mi/mi-nsintrall.exp: Likewise.
4698 * gdb.mi/mi-nsmoribund.exp: Likewise.
4699 * gdb.mi/mi-nsthrexec.exp: Likewise.
4700 * gdb.mi/mi-reverse.exp: Likewise.
4701 * gdb.mi/mi-simplerun.exp: Likewise.
4702 * gdb.mi/mi-stepn.exp: Likewise.
4703 * gdb.mi/mi-syn-frame.exp: Likewise.
4704 * gdb.mi/mi-until.exp: Likewise.
4705 * gdb.mi/mi-var-cp.exp: Likewise.
4706 * gdb.mi/mi-var-display.exp: Likewise.
4707 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4708 * gdb.mi/mi2-var-child.exp: Likewise.
4709 * gdb.mi/mi-vla-c99.exp: Likewise.
4710 * lib/mi-support.exp: Likewise.
4711
4712 From Ian Lance Taylor <iant@cygnus.com>:
4713 * lib/gdb.exp (parse_args): New procedure.
4714
08351840
PA
47152014-04-23 Pedro Alves <palves@redhat.com>
4716
4717 * gdb.base/break-unload-file.c: New file.
4718 * gdb.base/break-unload-file.exp: New file.
4719 * gdb.base/sym-file-lib.c (baz): New function.
4720 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4721 field.
4722 (load): Store the segment's mapped size.
4723 (unload): New function.
4724 (unload_shlib): New function.
4725 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4726 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4727 set a breakpoint at baz, and call it.
4728 * gdb.base/sym-file.exp: New tests for stale breakpoint
4729 instructions.
4730
076855f9
PA
47312014-04-23 Pedro Alves <palves@redhat.com>
4732
4733 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4734 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4735 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4736 * gdb.base/hbreak-unmapped.c: New file.
4737 * gdb.base/hbreak-unmapped.exp: New file.
4738 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4739 * lib/gdb.exp (gdb_is_target_remote): ... here.
4740
483805cf
PA
47412014-04-22 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.base/consecutive-step-over.c: New file.
4744 * gdb.base/consecutive-step-over.exp: New file.
4745
06d97543
PA
47462014-04-22 Pedro Alves <palves@redhat.com>
4747
4748 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4749 instead of send_gdb/gdb_expect.
4750
b4429ea2
YQ
47512014-04-22 Yao Qi <yao@codesourcery.com>
4752
4753 * lib/trace-support.exp (generate_tracefile): New procedure.
4754 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4755 return 0.
4756 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4757 if generate_tracefile returns 1.
4758
51d48146
PA
47592014-04-18 Tom Tromey <palves@redhat.com>
4760 Pedro alves <tromey@redhat.com>
4761
4762 PR backtrace/15558
4763 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4764 with a backtrace limit.
4765 * gdb.python/py-frame-inline.exp: Test running to an inline
4766 function with a backtrace limit, and printing the newest frame.
4767 * gdb.python/py-frame-inline.c (main): Call f.
4768
bd1dce5f
MS
47692014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4770
4771 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4772
40d1a503
MS
47732014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4774
4775 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4776 Drop prefix from unsupported source file path.
4777
389b98f7
YQ
47782014-04-17 Yao Qi <yao@codesourcery.com>
4779
4780 * lib/gdb.exp (with_target_charset): New proc.
4781 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4782 with_target_charset.
4783 (test_print_strings): Likewise.
4784 (test_repeat_bytes): Likewise.
4785 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4786 for some tests.
4787
22869d73
KS
47882014-04-16 Keith Seitz <keiths@redhat.com>
4789
4790 PR gdb/15827
4791 * gdb.dwarf2/corrupt.c: New file.
4792 * gdb.dwarf2/corrupt.exp: New file.
4793
c4f87ca6
KS
47942014-04-16 Keith Seitz <keiths@redhat.com>
4795
4796 PR c++/16597
4797 * gdb.cp/namelessclass.cc: New file.
4798 * gdb.cp/namelessclass.exp: New file.
4799 * gdb.cp/namelessclass.S: New file.
4800
ab19de87
DE
48012014-04-16 Doug Evans <dje@google.com>
4802
4803 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4804 Add comment.
4805 (gdbserver_default_get_comm_port): New function.
4806 (gdbserver_start): Check if board file provided
4807 "gdbserver,get_comm_port" and use it if so.
4808 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4809 (gdb,socketport): Set to "stdio".
4810 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4811 (stdio_gdbserver_template): Delete.
4812 (${board}_get_remote_address): Update.
4813 (${board}_build_remote_cmd): Delete.
4814 (${board}_get_comm_port): New function.
4815 (${board}_spawn): Update.
4816 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4817 Delete.
4818 (${board}_get_remote_address): Update.
4819 (${board}_get_comm_port): New function.
4820
fc98a809
AB
48212014-04-16 Andrew Burgess <aburgess@broadcom.com>
4822
4823 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4824 appearing in any order.
4825
87fd9e6e
DE
48262014-04-15 Doug Evans <dje@google.com>
4827
4828 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4829 uninitialized value of "description".
4830
099fc3ea
KS
48312014-04-15 Keith Seitz <keiths@redhat.com>
4832
4833 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4834 Remove unused globals.
4835 (test_running_the_program): Likewise.
4836 (test_controlled_execution): Likewise.
4837 (test_controlling_breakpoints): Likewise.
4838 (test_program_termination): Likewise.
4839
5da151d4
KS
48402014-04-15 Keith Seitz <keiths@redhat.com>
4841
4842 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4843 unused globals.
4844 (test_rbreak_creation_and_listing): Likewise.
4845 (test_ignore_count): Likewise.
4846 (test_error): Likewise.
4847
35e5d2f0
PA
48482014-04-15 Pedro Alves <palves@redhat.com>
4849
4850 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4851 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4852 sym-file-loader.c.
4853 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4854 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4855 to sym-file-loader.c.
4856 (struct library): Forward declare.
4857 (load_shlib, lookup_function): Change prototypes.
4858 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4859 (translate_offset): Remove declarations.
4860 (get_text_addr): New declaration.
4861 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4862 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4863 sym-file-loader.h.
4864 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4865 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4866 here from sym-file-loader.h.
4867 (struct library): New structure.
4868 (load_shlib, lookup_function): Change prototypes and adjust to
4869 work with a struct library.
4870 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4871 (translate_offset): Make static.
4872 (get_text_addr): New function.
4873 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4874
eb4c1710
PA
48752014-04-15 Pedro Alves <palves@redhat.com>
4876
4877 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4878
2d1baf52
PA
48792014-04-15 Pedro Alves <palves@redhat.com>
4880
4881 * gdb.base/sym-file-loader.c: Include <limits.h>.
4882 (SELF_LINK): New define.
4883 (get_origin): New function.
4884 (load_shlib): Use it.
4885 * gdb.base/sym-file.exp: Don't early return if the target is
4886 remote. Use runto_main, and issue fail is that fails. Use
4887 gdb_load_shlibs.
4888 (shlib_name): Delete.
4889 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4890
7dd6df01
PA
48912014-04-15 Pedro Alves <palves@redhat.com>
4892
4893 * gdb.base/sym-file.exp: Remove regex characters from test
4894 message. Don't refer to breakpoint numbers in test messages.
4895
b50c8614
KS
48962014-04-14 Keith Seitz <keiths@redhat.com>
4897
4898 PR c++/16253
4899 * gdb.cp/var-tag.cc: New file.
4900 * gdb.cp/var-tag.exp: New file.
4901 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4902 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4903 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4904 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4905
3d567982
TT
49062014-04-14 Tom Tromey <tromey@redhat.com>
4907
4908 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4909 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4910 type.
4911 * gdb.cp/enum-class.exp: New file.
4912 * gdb.cp/enum-class.cc: New file.
4913
0626fc76
TT
49142014-04-14 Tom Tromey <tromey@redhat.com>
4915
4916 * gdb.dwarf2/enum-type.exp: New file.
4917
dca325b3
SA
49182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4919
4920 * gdb.mi/mi-vla-c99.exp: New file.
4921 * gdb.mi/vla.c: New file.
4922
5854b38a
SA
49232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4924
4925 * gdb.base/vla-datatypes.c: New file.
4926 * gdb.base/vla-datatypes.exp: New file.
4927
463bb957
SA
49282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4929
4930 * gdb.base/vla-ptr.c: New file.
4931 * gdb.base/vla-ptr.exp: New file.
4932
3dd170be
SA
49332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4934
4935 * gdb.dwarf2/count.exp: New file.
4936
5ecaaa66
SA
49372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4938
4939 * gdb.base/vla-sideeffect.c: New file.
4940 * gdb.base/vla-sideeffect.exp: New file.
4941
41f1ada5
DB
49422014-04-14 David Blaikie <dblaikie@gmail.com>
4943
4944 * gdb.mi/non-stop.c: Add return value for non-void function return
4945 statement.
4946 * gdb.threads/staticthreads.c: Ditto.
4947
0be03e84
DE
49482014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4949 Doug Evans <xdje42@gmail.com>
4950
4951 * gdb.guile/scm-value.c: Improve test case.
4952 * gdb.guile/scm-value.exp: Add new test.
4953
f180a1fb
DB
49542014-04-11 David Blaikie <dblaikie@gmail.com>
4955
4956 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4957 override Clang's default.
4958
6b662e19
JB
49592014-04-11 Joel Brobecker <brobecker@adacore.com>
4960
4961 Revert the following changes (regressions):
4962
4963 * gdb.base/vla-sideeffect.c: New file.
4964 * gdb.base/vla-sideeffect.exp: New file.
4965
4966 * gdb.dwarf2/count.exp: New file.
4967
4968 * gdb.base/vla-multi.c: New file.
4969 * gdb.base/vla-multi.exp: New file.
4970
4971 * gdb.base/vla-ptr.c: New file.
4972 * gdb.base/vla-ptr.exp: New file.
4973
4974 * gdb.base/vla-datatypes.c: New file.
4975 * gdb.base/vla-datatypes.exp: New file.
4976
4977 * gdb.mi/mi-vla-c99.exp: New file.
4978 * gdb.mi/vla.c: New file.
4979
245a5f0b
KS
49802014-04-11 Keith Seitz <keiths@redhat.com>
4981
4982 PR c++/16675
4983 * gdb.cp/cpsizeof.exp: New file.
4984 * gdb.cp/cpsizeof.cc: New file.
4985
58a84dcf
SA
49862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4987
191a8a90
JB
4988 * gdb.mi/mi-vla-c99.exp: New file.
4989 * gdb.mi/vla.c: New file.
58a84dcf 4990
c8655f75
SA
49912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4992
4993 * gdb.base/vla-datatypes.c: New file.
4994 * gdb.base/vla-datatypes.exp: New file.
4995
024e13b4
SA
49962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4997
4998 * gdb.base/vla-ptr.c: New file.
4999 * gdb.base/vla-ptr.exp: New file.
5000
1a237e0e
SA
50012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5002
5003 * gdb.base/vla-multi.c: New file.
5004 * gdb.base/vla-multi.exp: New file.
5005
504f3432
SA
50062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5007
5008 * gdb.dwarf2/count.exp: New file.
5009
3bce8237
SA
50102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5011
191a8a90
JB
5012 * gdb.base/vla-sideeffect.c: New file.
5013 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5014
322f9c21
YQ
50152014-04-11 Yao Qi <yao@codesourcery.com>
5016
5017 * gdb.base/completion.exp: Check file exists before running tests
5018 on file completion.
5019
d708bcd1
PA
50202014-04-10 Pedro Alves <palves@redhat.com>
5021
5022 * gdb.base/cond-eval-mode.c: New file.
5023 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5024 prepare_for_testing to build the new file. Check result of
5025 runto_main.
5026 (test_break, test_watch): New procedures.
5027 (top level): Use them.
5028
ae1d2761
PM
50292014-04-08 Pierre Muller <muller@sourceware.org>
5030
5031 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5032 Ctrl-V use for mingw hosts.
5033
7af389b8
SC
50342014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5035
5036 * gdb.python/py-value.c: Improve test case.
5037 * gdb.python/py-value.exp: Add new test.
5038
5e703181
DE
50392014-04-07 David Blaikie <dblaikie@gmail.com>
5040
5041 * lib/compiler.c: Identify the clang compiler.
5042 * lib/compiler.cc: Ditto.
5043
9810b410
YQ
50442014-04-03 Yao Qi <yao@codesourcery.com>
5045
5046 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5047
98d1b8dc
AB
50482014-04-01 Anton Blanchard <anton@samba.org>
5049
5050 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5051 messages unique.
5052
3114cea1
AB
50532014-04-01 Anton Blanchard <anton@samba.org>
5054
5055 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5056 prepare_for_testing.
5057
62f7182c
AB
50582014-04-01 Anton Blanchard <anton@samba.org>
5059
5060 * gdb.arch/ppc64-atomic-inst.c: Remove.
5061 * gdb.arch/ppc64-atomic-inst.S: New file.
5062 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5063
770e7fc7
DE
50642014-03-31 Doug Evans <dje@google.com>
5065
5066 * gdb.base/print-symbol-loading-lib.c: New file.
5067 * gdb.base/print-symbol-loading-main.c: New file.
5068 * gdb.base/print-symbol-loading.exp: New file.
5069
46e2bafa
YQ
50702014-03-31 Yao Qi <yao@codesourcery.com>
5071
5072 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5073
8776cfe9
JB
50742014-03-28 Joel Brobecker <brobecker@adacore.com>
5075
5076 * gdb.ada/mi_dyn_arr: New testcase.
5077
5d1ef361
DE
50782014-03-27 Doug Evans <dje@google.com>
5079
5080 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5081
b5bee914
YQ
50822014-03-27 Yao Qi <yao@codesourcery.com>
5083
5084 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5085 if target is nios2-*-*.
5086
0d4d0e77
YQ
50872014-03-26 Yao Qi <yao@codesourcery.com>
5088
5089 * lib/gdb.exp (readline_is_used): New proc.
5090 * gdb.base/completion.exp: Move tests on command complete up.
5091 Skip the rest of tests if readline is not used.
5092 * gdb.ada/complete.exp: Skp the test if readline is not
5093 used.
5094 * gdb.base/filesym.exp: Likewise.
5095 * gdb.base/macscp.exp: Likewise.
5096 * gdb.base/readline-ask.exp: Likewise.
5097 * gdb.base/readline.exp: Likewise.
5098 * gdb.python/py-cmd.exp: Likewise.
5099 * gdb.trace/tfile.exp: Likewise.
5100
29361eee
YQ
51012014-03-26 Yao Qi <yao@codesourcery.com>
5102
5103 * gdb.base/macscp.exp: Fix code format issues.
5104
bc9a5525
UW
51052014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5106
5107 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5108 * gdb.asm/powerpc64le.inc: New file.
5109
d3839ede
PA
51102014-03-25 Pedro Alves <palves@redhat.com>
5111 Doug Evans <dje@google.com>
5112
5113 * gdb.base/source-execution.c: New file.
5114 * gdb.base/source-execution.exp: New file.
5115 * gdb.base/source-execution.gdb: New file.
5116
01672a57
DE
51172014-03-24 Doug Evans <dje@google.com>
5118
5119 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5120 using fission.
5121
88bbeca9
HZ
51222014-03-24 Hui Zhu <hui@codesourcery.com>
5123 Pedro Alves <palves@redhat.com>
5124
5125 PR breakpoints/16101
5126 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5127 test pass/fail messages. Detect missing support for dprintf when
5128 breakpoints are actually inserted.
5129 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5130 breakpoints are actually inserted.
5131 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5132 fails.
5133
d2348791
JK
51342014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5135
5136 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5137
feef67ab
DE
51382014-03-22 Doug Evans <xdje42@gmail.com>
5139
5140 * gdb.python/python.exp (python not supported): Verify multi-line
5141 python command issues an error.
25d743f9 5142 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5143 guile command issues an error.
feef67ab 5144
ecebef6a
MR
51452014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5146
5147 * gdb.threads/thread-specific.exp: Handle the lack of usable
5148 $this_breakpoint and $this_thread.
5149
ccdd1909
HZ
51502014-03-21 Hui Zhu <hui@codesourcery.com>
5151
5152 * gdb.base/attach.exp (do_command_attach_tests): New.
5153
beb460e8
PA
51542014-03-20 Tom Tromey <tromey@redhat.com>
5155 Pedro Alves <palves@redhat.com>
5156
5157 PR cli/15718
5158 * gdb.base/condbreak-call-false.c: New file.
5159 * gdb.base/condbreak-call-false.exp: New file.
5160
40acf43a
PA
51612014-03-20 Pedro Alves <palves@redhat.com>
5162
5163 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5164 Delete.
5165 (block_signals, unblock_signals): Delete.
5166 (child_function_2, main): Remove references to deleted variable
5167 and functions.
5168
9f5e1e02
PA
51692014-03-20 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5172 Use pthread_kill to signal thread 2.
5173 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5174 Adjust to make the test send itself a signal rather than using the
5175 host's "kill" command.
5176
99619bea
PA
51772014-03-20 Pedro Alves <palves@redhat.com>
5178
5179 * gdb.threads/multiple-step-overs.c: New file.
5180 * gdb.threads/multiple-step-overs.exp: New file.
5181 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5182 Adjust expected infrun debug output.
5183
2adfaa28
PA
51842014-03-20 Pedro Alves <palves@redhat.com>
5185
5186 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5187 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5188
31e77af2
PA
51892014-03-20 Pedro Alves <palves@redhat.com>
5190
5191 PR breakpoints/7143
5192 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5193 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5194 of gdb_test_multiple.
5195 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5196 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5197
b9f437de
PA
51982014-03-20 Pedro Alves <palves@redhat.com>
5199
5200 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5201 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5202
05adc73e
PA
52032014-03-19 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.base/async.exp: Remove early return.
5206
6048b950
PA
52072014-03-19 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5210
8bcfb00a
PA
52112014-03-19 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.base/async.exp (test_background): Expect \r\n after
5214 "completed." in the fail pattern.
5215
884e37dc
PA
52162014-03-19 Pedro Alves <palves@redhat.com>
5217
5218 * gdb.base/async.exp (test_background): New procedure.
5219 Use it for all background execution command tests.
5220
148e57e2
PA
52212014-03-19 Pedro Alves <palves@redhat.com>
5222
5223 * gdb.base/async.exp: Use prepare_for_testing.
5224
f48088c7
PA
52252014-03-19 Pedro Alves <palves@redhat.com>
5226
5227 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5228 the same line.
5229
e2f6c966
PA
52302014-03-19 Pedro Alves <palves@redhat.com>
5231
5232 * gdb.base/async.c (main): Add "jump here" and "until here" line
5233 marker comments.
5234 * gdb.base/async.exp (jump_here): New global.
5235 (jump& test): Use it.
5236 (until_here): New global.
5237 (until& test): Use it.
5238
c30568d4
PA
52392014-03-19 Pedro Alves <palves@redhat.com>
5240
5241 * gdb.base/async.exp: Don't frob gdb_protocol.
5242
0172b6a7
DE
52432014-03-18 Doug Evans <xdje42@gmail.com>
5244
5245 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5246 Fix spelling of exec-done-display.
5247
06c868a8
JK
52482014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5249
5250 PR gdb/15358
5251 * gdb.base/gdb-sigterm.c: New file.
5252 * gdb.base/gdb-sigterm.exp: New file.
5253
0c7e1a46
PA
52542014-03-18 Pedro Alves <palves@redhat.com>
5255
5256 PR gdb/13860
5257 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5258 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5259 solib-event.
5260
f7c77d93
JB
52612014-03-17 Joel Brobecker <brobecker@adacore.com>
5262
5263 * gdb.ada/pckd_arr_ren: New testcase.
5264
5a1e8c7a
DE
52652014-03-13 Doug Evans <xdje42@gmail.com>
5266
5267 PR guile/16612
5268 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5269 collect after discarding symbols.
5270
350e1a76
DE
52712014-03-13 Ludovic Courtès <ludo@gnu.org>
5272 Doug Evans <xdje42@gmail.com>
5273
5274 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5275 to history survives a gc.
5276
a69900ae
PA
52772014-03-13 Pedro Alves <palves@redhat.com>
5278
5279 * gdb.base/default.exp: Don't test "target procfs".
5280
5db9f0bd
PA
52812014-03-13 Pedro Alves <palves@redhat.com>
5282
5283 * gdb.base/default.exp: Update "target child" and "target procfs"
5284 tests to not expect "Unix".
5285
b3ccfe11
TT
52862014-03-12 Tom Tromey <tromey@redhat.com>
5287
5288 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5289 New procs. Add target-async tests.
5290 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5291 Add target-async tests.
5292
646f4417
AA
52932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5294
5295 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5296 'func_start' and 'func_end' for the beginning and end of the
5297 function code, respectively.
5298 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5299 'func_end' instead of 'func' and 'main'.
5300
288c211f
AA
53012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5302
5303 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5304 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5305 generate the debug info assembler source.
5306
e0c0f156
AA
53072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5308
5309 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5310 * gdb.dwarf2/arr-subrange.exp: Likewise.
5311 * gdb.dwarf2/dwz.exp: Likewise.
5312 * gdb.dwarf2/method-ptr.exp: Likewise.
5313 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5314 * gdb.dwarf2/subrange.exp: Likewise.
5315 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5316 * gdb.dwarf2/implptrpiece.exp: Likewise.
5317 * gdb.dwarf2/nostaticblock.exp: Likewise.
5318
0e5c4555
AA
53192014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5320
5321 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5322 directory to absolute path name arguments.
5323
5ec18f2b
JG
53242014-03-10 Joel Brobecker <brobecker@adacore.com>
5325
5326 * gdb.ada/tagged_access: New testcase.
5327
847fc4f2
MM
53282014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5329
5330 * gdb.btrace/data.exp: Update expected output.
5331
cc3da688
YQ
53322014-03-06 Yao Qi <yao@codesourcery.com>
5333
5334 * gdb.trace/pr16508.exp: New file.
5335
0f26cec1
PA
53362014-03-05 Pedro Alves <palves@redhat.com>
5337
5338 PR gdb/16575
5339 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5340 procedure.
5341 (top level): Adjust to use it. Add tests that exercise breakpoint
5342 interaction with the code-cache.
5343
7a5a839f
LC
53442014-02-26 Ludovic Courtès <ludo@gnu.org>
5345
5346 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5347 test for 'history-append!'.
5348
31aa7e4e
JB
53492014-02-26 Joel Brobecker <brobecker@adacore.com>
5350
5351 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5352 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5353 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5354 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5355 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5356 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5357
1b588015
JB
53582014-02-26 Joel Brobecker <brobecker@adacore.com>
5359
5360 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5361 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5362 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5363
55426c9d
JB
53642014-02-26 Joel Brobecker <brobecker@adacore.com>
5365
5366 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5367
dc53a7ad
JB
53682014-02-26 Joel Brobecker <brobecker@adacore.com>
5369
5370 * gdb.dwarf2/arr-stride.c: New file.
5371 * gdb.dwarf2/arr-stride.exp: New file.
5372
12ab52e9
PA
53732014-02-26 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5376 that won't ever trigger. Make sure that GDB reports the correct
5377 breakpoint that caused the stop.
5378
849c862e
JK
53792014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5380
5381 PR gdb/16626
5382 * gdb.base/auto-load-script: New file.
5383 * gdb.base/auto-load.c: New file.
5384 * gdb.base/auto-load.exp: New file.
5385
71b7d793
JK
5386 PR gdb/16626
5387 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5388
e2f0d509
JK
53892014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5390
5391 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5392 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5393
50cc37c8
DE
53942014-02-24 Doug Evans <dje@google.com>
5395
5396 * lib/gdb.exp (run_on_host): Log error output if program fails.
5397
ea4758f2
PA
53982014-02-21 Pedro Alves <palves@redhat.com>
5399
5400 * gdb.threads/step-after-sr-lock.c: Rename to ...
5401 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5402 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5403 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5404 ... this.
5405
d7b30f67
SDJ
54062014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5407
5408 PR tdep/16397
5409 * gdb.arch/amd64-stap-special-operands.exp: New file.
5410 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5411 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5412 * gdb.arch/amd64-stap-triplet.S: Likewise.
5413 * gdb.arch/amd64-stap-triplet.c: Likewise.
5414
83deb43f
JB
54152014-02-20 Joel Brobecker <brobecker@adacore.com>
5416
5417 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5418 in .section pseudo-op.
5419
adde2bff
DE
54202014-02-20 lin zuojian <manjian2006@gmail.com>
5421 Joel Brobecker <brobecker@adacore.com>
5422 Doug Evans <xdje42@gmail.com>
5423
5424 PR symtab/16581
5425 * gdb.dwarf2/dw2-icycle.S: New file.
5426 * gdb.dwarf2/dw2-icycle.c: New file.
5427 * gdb.dwarf2/dw2-icycle.exp: New file.
5428
f7bd0f78
SC
54292014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5430
5431 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5432 operations on gdb.Value objects.
5433 * gdb.python/py-value-cc.exp: Add new test to test operations on
5434 gdb.Value objects.
5435
c17ef0d5
DE
54362014-02-18 Doug Evans <dje@google.com>
5437
5438 * Makefile.in (TESTS): New variable.
5439 (expanded_tests, expanded_tests_or_none): New variables
5440 (check-single): Pass $(expanded_tests_or_none) to runtest.
5441 (check-parallel): Only run tests in $(TESTS) if non-empty.
5442 (check/no-matching-tests-found): New rule.
5443 * README: Document TESTS makefile variable.
5444
5dd3176f
DE
54452014-02-18 Doug Evans <dje@google.com>
5446
5447 * Makefile.in (check-parallel): rm -rf outputs temp.
5448
0b10be4f
JK
54492014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5450
5451 Fix "ERROR: no fileid for" in the testsuite.
5452 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5453
85f224e7
DE
54542014-02-12 Doug Evans <dje@google.com>
5455
5456 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5457 (MISCELLANEOUS): New variable.
5458 (clean): rm -rf $(MISCELLANEOUS).
5459 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5460 dwp live in the same directory as symlinks, with each symlink pointed
5461 to a differently named file in a different directory.
5462
149b30ff
DE
54632014-02-11 Doug Evans <dje@google.com>
5464
5465 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5466 of Tcl file commands.
5467
1dfdac32
MK
54682014-02-10 Mark Kettenis <kettenis@gnu.org>
5469
5470 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5471 "kill -SIGUSR1 -1".
5472
aa4fb036
JB
54732014-02-10 Joel Brobecker <brobecker@adacore.com>
5474
5475 * gdb.ada/tick_length_array_enum_idx: New testcase.
5476
ed3ef339
DE
54772014-02-10 Doug Evans <xdje42@gmail.com>
5478
5479 * configure.ac (AC_OUTPUT): Add gdb.guile.
5480 * configure: Regenerate.
5481 * lib/gdb-guile.exp: New file.
5482 * lib/gdb.exp (get_target_charset): New function.
5483 * gdb.base/help.exp: Update expected output from "apropos apropos".
5484 * gdb.guile/Makefile.in: New file.
5485 * gdb.guile/guile.exp: New file.
5486 * gdb.guile/scm-arch.c: New file.
5487 * gdb.guile/scm-arch.exp: New file.
5488 * gdb.guile/scm-block.c: New file.
5489 * gdb.guile/scm-block.exp: New file.
5490 * gdb.guile/scm-breakpoint.c: New file.
5491 * gdb.guile/scm-breakpoint.exp: New file.
5492 * gdb.guile/scm-disasm.c: New file.
5493 * gdb.guile/scm-disasm.exp: New file.
5494 * gdb.guile/scm-equal.c: New file.
5495 * gdb.guile/scm-equal.exp: New file.
5496 * gdb.guile/scm-error.exp: New file.
5497 * gdb.guile/scm-error.scm: New file.
5498 * gdb.guile/scm-frame-args.c: New file.
5499 * gdb.guile/scm-frame-args.exp: New file.
5500 * gdb.guile/scm-frame-args.scm: New file.
5501 * gdb.guile/scm-frame-inline.c: New file.
5502 * gdb.guile/scm-frame-inline.exp: New file.
5503 * gdb.guile/scm-frame.c: New file.
5504 * gdb.guile/scm-frame.exp: New file.
5505 * gdb.guile/scm-generics.exp: New file.
5506 * gdb.guile/scm-gsmob.exp: New file.
5507 * gdb.guile/scm-iterator.c: New file.
5508 * gdb.guile/scm-iterator.exp: New file.
5509 * gdb.guile/scm-math.c: New file.
5510 * gdb.guile/scm-math.exp: New file.
5511 * gdb.guile/scm-objfile-script-gdb.in: New file.
5512 * gdb.guile/scm-objfile-script.c: New file.
5513 * gdb.guile/scm-objfile-script.exp: New file.
5514 * gdb.guile/scm-objfile.c: New file.
5515 * gdb.guile/scm-objfile.exp: New file.
5516 * gdb.guile/scm-ports.exp: New file.
5517 * gdb.guile/scm-pretty-print.c: New file.
5518 * gdb.guile/scm-pretty-print.exp: New file.
5519 * gdb.guile/scm-pretty-print.scm: New file.
5520 * gdb.guile/scm-section-script.c: New file.
5521 * gdb.guile/scm-section-script.exp: New file.
5522 * gdb.guile/scm-section-script.scm: New file.
5523 * gdb.guile/scm-symbol.c: New file.
5524 * gdb.guile/scm-symbol.exp: New file.
5525 * gdb.guile/scm-symtab-2.c: New file.
5526 * gdb.guile/scm-symtab.c: New file.
5527 * gdb.guile/scm-symtab.exp: New file.
5528 * gdb.guile/scm-type.c: New file.
5529 * gdb.guile/scm-type.exp: New file.
5530 * gdb.guile/scm-value-cc.cc: New file.
5531 * gdb.guile/scm-value-cc.exp: New file.
5532 * gdb.guile/scm-value.c: New file.
5533 * gdb.guile/scm-value.exp: New file.
5534 * gdb.guile/source2.scm: New file.
5535 * gdb.guile/types-module.cc: New file.
5536 * gdb.guile/types-module.exp: New file.
5537
7026a7c1
YQ
55382014-02-10 Yao Qi <yao@codesourcery.com>
5539
5540 PR testsuite/16543
5541 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5542 * configure: Regenerated.
5543 * Makefile.in: New file.
5544
6c466447
AS
55452014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5546
5547 * gdb.python/py-framefilter.exp: Fix typo.
5548
6e854735
YQ
55492014-02-08 Yao Qi <yao@codesourcery.com>
5550
5551 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5552 that no =breakpoint-modified is emitted when breakpoints are
5553 modified through MI commands.
5554
d137e6dc
PA
55552014-02-07 Pedro Alves <pedro@codesourcery.com>
5556 Pedro Alves <palves@redhat.com>
5557
5558 * gdb.threads/step-after-sr-lock.c: New file.
5559 * gdb.threads/step-after-sr-lock.exp: New file.
5560
b5ee5a50
PA
55612014-02-07 Pedro Alves <palves@redhat.com>
5562
5563 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5564
3c77faf3
JK
55652014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5566
5567 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5568 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5569
6dddc817
DE
55702014-02-06 Doug Evans <xdje42@gmail.com>
5571
5572 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5573 output.
5574
5575 * gdb.gdb/python-interrupts.exp: New file.
5576
de7b2893
YQ
55772014-02-05 Yao Qi <yao@codesourcery.com>
5578
5579 * gdb.trace/report.exp (use_collected_data): Test the output
5580 of "info threads" and "info inferiors".
5581
66d032ac
YQ
55822014-02-05 Yao Qi <yao@codesourcery.com>
5583
5584 Revert this patch:
5585
5586 2013-05-24 Yao Qi <yao@codesourcery.com>
5587
5588 * gdb.trace/tfile.exp: Test inferior and thread.
5589
591a12a1
UW
55902014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5591
5592 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5593 on a function.
5594 * gdb.base/step-bt.c: Call hello via function pointer to make
5595 sure its first instruction is executed on powerpc64le-linux.
5596
0ff3e01f
UW
55972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5598
5599 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5600
084ee545
UW
56012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5602
5603 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5604 of the test patterns for use on little-endian systems.
5605
6ed14ff3
UW
56062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5607
5608 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5609 (decimal_vector): Fix for little-endian.
5610
401e27fd
JM
56112014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5612
5613 * gdb.arch/sparc-sysstep.exp: New file.
5614 * gdb.arch/sparc-sysstep.c: Likewise.
5615
5616 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5617
8b924729
EBM
56182014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5619
5620 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5621
fb151210
JB
56222014-01-23 Tom Tromey <tromey@redhat.com>
5623
5624 * gdb.ada/array_char_idx: New testcase.
5625
0740f8d8
TT
56262014-01-23 Tom Tromey <tromey@redhat.com>
5627
5628 PR python/16487:
5629 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5630 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5631 classes.
5632
21909fa1
TT
56332014-01-23 Tom Tromey <tromey@redhat.com>
5634
5635 PR python/16491:
5636 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5637 string from an inferior frame.
5638 * gdb.python/py-framefilter-mi.exp: Update.
5639
87ce2a04
DE
56402014-01-22 Doug Evans <dje@google.com>
5641
5642 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5643
237b092b
AA
56442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5645
5646 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5647
d674a709
AA
56482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5649
5650 * gdb.trace/entry-values.exp: Remove excess space character from
5651 regex patterns. Handle s390 call instruction.
5652
20fa3390
AA
56532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5654
5655 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5656 define "*_start" label. Make "name" static.
5657 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5658 ${name} by references to ${name}_start.
5659
78466714
AA
56602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5661
5662 * gdb.base/info-macros.exp: Remove "debug" from the compile
5663 options.
5664
ec9f644a
IB
56652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5666
5667 * gdb.dlang/demangle.exp: New file.
5668
94b1b47e
IB
56692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5670
5671 * gdb.dlang/primitive-types.exp: New file.
5672
7f420862
IB
56732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5674
5675 * configure.ac: Create gdb.dlang/Makefile.
5676 * configure: Regenerate.
5677 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5678 * gdb.dlang/Makefile.in: New file.
5679 * lib/d-support.exp: New file.
5680 * lib/gdb.exp (skip_d_tests): New proc.
5681
52834460
MM
56822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5683
5684 * gdb.btrace/delta.exp: Check reverse stepi.
5685 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5686 * gdb.btrace/finish.exp: New.
5687 * gdb.btrace/next.exp: New.
5688 * gdb.btrace/nexti.exp: New.
5689 * gdb.btrace/record_goto.c: Add comments.
5690 * gdb.btrace/step.exp: New.
5691 * gdb.btrace/stepi.exp: New.
5692 * gdb.btrace/multi-thread-step.c: New.
5693 * gdb.btrace/multi-thread-step.exp: New.
5694 * gdb.btrace/rn-dl-bind.c: New.
5695 * gdb.btrace/rn-dl-bind.exp: New.
5696 * gdb.btrace/data.c: New.
5697 * gdb.btrace/data.exp: New.
5698 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5699
6e07b1d2
MM
57002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5701
5702 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5703 * gdb.btrace/exception.exp: Update.
5704 * gdb.btrace/instruction_history.exp: Update.
5705 * gdb.btrace/record_goto.exp: Update.
5706 * gdb.btrace/tailcall.exp: Update.
5707 * gdb.btrace/unknown_functions.exp: Update.
5708 * gdb.btrace/delta.exp: New.
5709
0b722aec
MM
57102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5711
5712 * gdb.btrace/record_goto.exp: Add backtrace test.
5713 * gdb.btrace/tailcall.exp: Add backtrace test.
5714
066ce621
MM
57152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5716
5717 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5718 * gdb.btrace/record_goto.c: New.
5719 * gdb.btrace/record_goto.exp: New.
5720 * gdb.btrace/x86-record_goto.S: New.
5721
0688d04e
MM
57222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5723
5724 * gdb.btrace/function_call_history.exp: Update tests.
5725 * gdb.btrace/instruction_history.exp: Update tests.
5726
8710b709
MM
57272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5728
5729 * gdb.btrace/function_call_history.exp: Fix expected field
5730 order for "record function-call-history".
5731 Add new tests for "record function-call-history /c".
5732 * gdb.btrace/exception.cc: New.
5733 * gdb.btrace/exception.exp: New.
5734 * gdb.btrace/tailcall.exp: New.
5735 * gdb.btrace/x86-tailcall.S: New.
5736 * gdb.btrace/x86-tailcall.c: New.
5737 * gdb.btrace/unknown_functions.c: New.
5738 * gdb.btrace/unknown_functions.exp: New.
5739 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5740
5de9129b
MM
57412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5742
5743 * gdb.btrace/instruction_history.exp: Update.
5744 * gdb.btrace/function_call_history.exp: Update.
5745
23a7fe75
MM
57462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5747
5748 * gdb.btrace/function_call_history.exp: Fix expected function
5749 trace.
5750 * gdb.btrace/instruction_history.exp: Initialize traced.
5751 Remove traced_functions.
5752
724c7dd8
MM
57532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5754
5755 * gdb.btrace/function_call_history.exp: Update
5756 * gdb.btrace/instruction_history.exp: Update.
5757
6d78d93b
MM
57582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5759
5760 * gdb.btrace/enable.exp: Update expected text.
5761
93a360cc
OJ
57622014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5763
5764 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5765 bytes.
5766
3772b53f
MR
57672014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5768
5769 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5770
596662fa
OJ
57712014-01-15 Omair Javaid <omair.javaid@linaro.org>
5772
5773 * lib/gdb.exp (supports_process_record): Return true for
5774 arm*-linux*. (supports_reverse): Likewise.
5775
b5b08fb4
SC
57762014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5777
5778 PR python/15464
5779 PR python/16113
5780 * gdb.python/py-type.c: Enhance test case.
5781 * gdb.python/py-value-cc.cc: Likewise
5782 * gdb.python/py-type.exp: Add new tests.
5783 * gdb.python/py-value-cc.exp: Likewise
5784
52d7fb13
AA
57852014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5786 Pedro Alves <palves@redhat.com>
5787
5788 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5789 Make "name" extern.
5790 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5791 references to ${name}_start by references to ${name}.
5792
a2cd8cfe
JB
57932014-01-10 Joel Brobecker <brobecker@adacore.com>
5794
5795 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5796
4e23fced
JB
57972014-01-10 Joel Brobecker <brobecker@adacore.com>
5798
5799 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5800
c6a9e42c
PA
58012014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5802 Pedro Alves <palves@redhat.com>
5803
5804 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 5805 mi_gdb_target_load.
c6a9e42c 5806
b7ea362b
PA
58072014-01-08 Pedro Alves <palves@redhat.com>
5808
5809 * gdb.threads/reconnect-signal.c: New file.
5810 * gdb.threads/reconnect-signal.exp: New file.
5811
5e3f4fab
EBM
58122014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5813
5814 * gdb.base/source-dir.exp: New file.
5815
79301218
JB
58162014-01-07 Joel Brobecker <brobecker@adacore.com>
5817
5818 * gdb.ada/mi_interface: New testcase.
5819
8e355c5d
JB
58202014-01-07 Joel Brobecker <brobecker@adacore.com>
5821
5822 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5823 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5824 gdb.ada/pp-rec-component/pck.ads: New files.
5825
c0d48811
JB
58262014-01-07 Joel Brobecker <brobecker@adacore.com>
5827
5828 * gdb.python/py-pp-integral.c: New file.
5829 * gdb.python/py-pp-integral.py: New file.
5830 * gdb.python/py-pp-integral.exp: New file.
5831
17b609c3 5832For older changes see ChangeLog-1993-2013.
c906108c 5833\f
8d8cb839
EZ
5834;; Local Variables:
5835;; mode: change-log
5836;; left-margin: 8
5837;; fill-column: 74
5838;; version-control: never
5839;; End:
902f2ccb 5840
32d0add0 5841 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5842 Copying and distribution of this file, with or without modification,
5843 are permitted provided the copyright notice and this notice are preserved.
This page took 2.39135 seconds and 4 git commands to generate.