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