catch-syscall.exp: Fix missing architecture name for s390:31-bit
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4 the 'arch1' variable for "s390*-linux*" targets.
5
6 2015-03-04 Pedro Alves <palves@redhat.com>
7
8 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9 (main): Pass missing retval argument to pthread_join call.
10
11 2015-03-02 Pedro Alves <palves@redhat.com>
12
13 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14 (top level): Call do_test with non-stop as well.
15
16 2015-03-02 Pedro Alves <palves@redhat.com>
17
18 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19 -1.
20
21 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
22
23 * gdb.arch/s390-vregs.exp: New test.
24 * gdb.arch/s390-vregs.S: New file.
25
26 2015-02-27 Pedro Alves <palves@redhat.com>
27
28 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
29 call to catch_command_errors.
30 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
31 catch_command_errors.
32
33 2015-02-27 Pedro Alves <palves@redhat.com>
34
35 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
36 "true" for boolean result.
37 * gdb.gdb/selftest.exp (test_with_self): Also accept full
38 prototype of main.
39
40 2015-02-27 Pedro Alves <palves@redhat.com>
41
42 * lib/unbuffer_output.c: New file.
43 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
44 (main): Call gdb_unbuffer_output.
45
46 2015-02-27 Yao Qi <yao.qi@linaro.org>
47
48 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
49 target.
50
51 2015-02-26 Doug Evans <dje@google.com>
52
53 * gdb.cp/class2.cc (Dbase, D): New classes.
54 (main): New local delta.
55 * gdb.cp/class2.exp: Test printing delta.
56 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
57 (dynbar): New global.
58 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
59
60 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 * gdb.compile/compile-ifunc.c: New file.
63 * gdb.compile/compile-ifunc.exp: New file.
64
65 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
66
67 * gdb.base/structs.exp: Check for correct struct on finish.
68
69 2015-02-26 Yao Qi <yao.qi@linaro.org>
70
71 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
72 is zero.
73
74 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 * gdb.arch/cordic.ko.bz2: New file.
77 * gdb.arch/cordic.ko.debug.bz2: New file.
78 * gdb.arch/ppc64-symtab-cordic.exp: New file.
79
80 2015-02-25 Yao Qi <yao.qi@linaro.org>
81
82 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
83 aarch64*-*-* target.
84
85 2015-02-23 Pedro Alves <palves@redhat.com>
86
87 * lib/gdb.exp (delete_breakpoints): Rewrite using
88 gdb_test_multiple.
89
90 2015-02-23 Pedro Alves <palves@redhat.com>
91
92 * gdb.base/info-os.c: Include stdlib.h.
93
94 2015-02-22 Doug Evans <xdje42@gmail.com>
95
96 PR symtab/17855
97 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
98 is read after symbols have been re-read.
99 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
100 * gdb.ada/exec_changed/second.adb (Second): Ditto.
101
102 2015-02-21 Doug Evans <dje@google.com>
103
104 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
105
106 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
107
108 PR corefiles/17808
109 * gdb.arch/i386-biarch-core.core.bz2: New file.
110 * gdb.arch/i386-biarch-core.exp: New file.
111
112 2015-02-21 Pedro Alves <palves@redhat.com>
113
114 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
115 runto_main fails.
116
117 2015-02-20 Pedro Alves <palves@redhat.com>
118
119 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
120 info probes.
121
122 2015-02-20 Pedro Alves <palves@redhat.com>
123
124 * gdb.threads/multi-create-ns-info-thr.exp: New file.
125
126 2015-02-20 Pedro Alves <palves@redhat.com>
127
128 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
129 clean_restart before gdb_target_supports_trace.
130
131 2015-02-20 Pedro Alves <palves@redhat.com>
132
133 PR threads/18006
134 * gdb.threads/clone-thread_db.c: New file.
135 * gdb.threads/clone-thread_db.exp: New file.
136
137 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
138
139 PR breakpoints/16812
140 * gdb.base/catch-gdb-caused-signals.c: New file.
141 * gdb.base/catch-gdb-caused-signals.exp: New file.
142
143 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
144
145 * configure: Regenerated.
146 * configure.ac: Use GDB_AC_TRANSFORM.
147 * aclocal.m4: sinclude ../transform.m4.
148
149 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
150
151 * lib/dtrace.exp: New file.
152 * gdb.base/dtrace-probe.exp: Likewise.
153 * gdb.base/dtrace-probe.d: Likewise.
154 * gdb.base/dtrace-probe.c: Likewise.
155 * lib/pdtrace.in: Likewise.
156 * configure.ac: Output variables with the transformed names of
157 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
158 * configure: Regenerated.
159
160 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
161
162 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
163 expected message when trying to access $_probe_* convenience
164 variables while not on a probe.
165
166 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
167
168 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
169
170 2015-02-11 Pedro Alves <pedro@codesourcery.com>
171
172 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
173 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
174
175 2015-02-10 Doug Evans <xdje42@gmail.com>
176
177 * lib/gdb.exp (gdb_load): Always return a result.
178
179 2015-02-10 Pedro Alves <palves@redhat.com>
180
181 * gdb.threads/signal-sigtrap.c: New file.
182 * gdb.threads/signal-sigtrap.exp: New file.
183
184 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
185
186 * gdb.trace/no-attach-trace.c: New file.
187 * gdb.trace/no-attach-trace.exp: New file.
188
189 2015-02-09 Mark Wielaard <mjw@redhat.com>
190
191 * gdb.dwarf2/atomic.c: New file.
192 * gdb.dwarf2/atomic-type.exp: Likewise.
193
194 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
195
196 * gdb.btrace/buffer-size.exp: Update "info record" output.
197 * gdb.btrace/delta.exp: Update "info record" output.
198 * gdb.btrace/enable.exp: Update "info record" output.
199 * gdb.btrace/finish.exp: Update "info record" output.
200 * gdb.btrace/instruction_history.exp: Update "info record" output.
201 * gdb.btrace/next.exp: Update "info record" output.
202 * gdb.btrace/nexti.exp: Update "info record" output.
203 * gdb.btrace/step.exp: Update "info record" output.
204 * gdb.btrace/stepi.exp: Update "info record" output.
205 * gdb.btrace/nohist.exp: Update "info record" output.
206
207 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
208
209 * gdb.btrace/buffer-size: New.
210
211 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
212
213 * gdb.btrace/delta.exp: Update "info record" output.
214 * gdb.btrace/enable.exp: Update "info record" output.
215 * gdb.btrace/finish.exp: Update "info record" output.
216 * gdb.btrace/instruction_history.exp: Update "info record" output.
217 * gdb.btrace/next.exp: Update "info record" output.
218 * gdb.btrace/nexti.exp: Update "info record" output.
219 * gdb.btrace/step.exp: Update "info record" output.
220 * gdb.btrace/stepi.exp: Update "info record" output.
221 * gdb.btrace/nohist.exp: Update "info record" output.
222
223 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
224
225 PR gdb/15678
226 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
227
228 2015-02-06 Pedro Alves <palves@redhat.com>
229
230 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
231 macro.
232 (seconds_left, again): New globals.
233 (main): Wait seconds_left in a 1-second sleep loop instead of
234 sleeping 180 seconds. If 'again' is set, reset the seconds
235 counter.
236 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
237 'again' in the inferior before detaching. Print the seconds left.
238 (options): New global.
239 (top level): Build program with -DTIMEOUT=$timeout.
240
241 2015-02-06 Pedro Alves <palves@redhat.com>
242
243 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
244 determine how many seconds to pass to 'alarm'.
245 * gdb.base/gdb-sigterm.exp (top level): Build program with
246 -DTIMEOUT=$timeout.
247 (do_test): Return success/failure indication. Add more verbose
248 logging. Don't fail if 200 single steps are seen. Instead, fail
249 when the test times out.
250 (passes): New global.
251 (top level): Break the testing loop if testing fails on any
252 iteration. Use gdb_assert.
253
254 2015-02-04 Don Breazeal <donb@codesourcery.com>
255
256 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
257 and initialize them.
258 (ipc_cleanup): New function.
259 (main): Don't declare shmid, semid, and msqid. Add a call to
260 atexit so that we call ipc_cleanup on exit.
261
262 2015-02-04 Pedro Alves <palves@redhat.com>
263
264 * boards/native-extended-gdbserver.exp: Remove any target variant
265 specifications from the board name before clearing the isremote
266 flag from board_info.
267
268 2015-01-31 Doug Evans <xdje42@gmail.com>
269
270 * gdb.base/maint.exp <maint print type argc>: Update expected output.
271
272 2015-01-31 Gary Benson <gbenson@redhat.com>
273
274 * gdb.base/completion.exp: Disable completion limiting for
275 existing tests. Add new tests to check completion limiting.
276 * gdb.linespec/ls-errs.exp: Disable completion limiting.
277
278 2015-01-31 Doug Evans <xdje42@gmail.com>
279
280 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
281
282 2015-01-31 Doug Evans <xdje42@gmail.com>
283
284 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
285 entries. Duplicate file section script entries.
286 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
287 inlined entries. Add test for safe-path rejection.
288 * gdb.python/py-section-script.c: Add duplicate inlined section script
289 entries. Duplicate file section script entries.
290 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
291 inlined entries. Add test for safe-path rejection.
292
293 2015-01-29 Joel Brobecker <brobecker@adacore.com>
294
295 * gdb.ada/disc_arr_bound: New testcase.
296
297 2015-01-29 Joel Brobecker <brobecker@adacore.com>
298
299 * gdb.ada/mi_var_array: New testcase.
300
301 2015-01-27 Doug Evans <dje@google.com>
302
303 * gdb.python/py-objfile.exp: Add tests for objfile.username.
304 Add test for objfile.filename, objfile.username after objfile
305 has been unloaded.
306
307 2015-01-26 Joel Brobecker <brobecker@adacore.com>
308
309 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
310 the second test to print the name attribute of value
311 returned by the call to gdb.lookup_type, and adjust
312 the expected output accordingly.
313
314 2015-01-25 Mark Wielaard <mjw@redhat.com>
315
316 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
317 * gdb.base/disp-step-fork.c: Include unistd.h.
318 * gdb.base/siginfo-obj.c: Include stdio.h.
319 * gdb.base/siginfo-thread.c: Likewise.
320 * gdb.mi/non-stop.c: Include unistd.h.
321 * gdb.mi/nsthrexec.c: Include stdio.h.
322 * gdb.mi/pthreads.c: Include unistd.h.
323 * gdb.modula2/unbounded1.c (main): Declare returns int.
324 * gdb.reverse/consecutive-reverse.c: Likewise.
325 * gdb.threads/create-fail.c: Include unistd.h.
326 * gdb.threads/killed.c: Likewise.
327 * gdb.threads/linux-dp.c: Likewise.
328 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
329 * gdb.threads/non-ldr-exc-2.c: Likewise.
330 * gdb.threads/non-ldr-exc-3.c: Likewise.
331 * gdb.threads/non-ldr-exc-4.c: Likewise.
332 * gdb.threads/pthreads.c: Include unistd.h.
333 (main): Declare returns int.
334 * gdb.threads/tls-main.c (foo): New declaration.
335 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
336
337 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
338
339 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
340 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
341
342 2015-01-15 Mark Wielaard <mjw@redhat.com>
343
344 * gdb.base/noreturn-return.c: New file.
345 * gdb.base/noreturn-return.exp: New file.
346 * gdb.base/noreturn-finish.c: New file.
347 * gdb.base/noreturn-finish.exp: New file.
348
349 2015-01-23 Pedro Alves <palves@redhat.com>
350
351 * gdb.threads/continue-pending-after-query.c: New file.
352 * gdb.threads/continue-pending-after-query.exp: New file.
353
354 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
355 Simon Marchi <simon.marchi@ericsson.com>
356
357 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
358 * gdb.base/valgrind-db-attach.exp: Same.
359 * gdb.base/valgrind-infcall.exp: Same.
360 * lib/mi-support.exp (default_mi_gdb_start): Same.
361 * lib/prompt.exp (default_prompt_gdb_start): Same.
362 * lib/gdb.exp (default_gdb_spawn): Same.
363 (gdb_interact): New.
364
365
366 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
367
368 * gdb.compile/compile.exp (pointer to jit function): New test.
369
370 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
371
372 * lib/gdb.exp (supports_process_record): Return true for
373 powerpc*-*-linux*.
374 (supports_reverse): Likewise.
375
376 2015-01-15 Don Breazeal <donb@codesourcery.com>
377
378 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
379 instead of checking whether the target board is remote and
380 use spawn_wait_for_attach instead of exec/sleep.
381 * gdb.base/attach-twice.exp: Likewise.
382
383 2015-01-15 Joel Brobecker <brobecker@adacore.com>
384
385 * gdb.ada/var_arr_attrs: New testcase.
386
387 2015-01-14 Pedro Alves <palves@redhat.com>
388 Joel Brobecker <brobecker@adacore.com>
389
390 PR gdb/17525
391 * gdb.base/bp-cmds-execution-x-script.c: New file.
392 * gdb.base/bp-cmds-execution-x-script.exp: New file.
393 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
394
395 2015-01-14 Pedro Alves <palves@redhat.com>
396
397 PR cli/17828
398 * gdb.base/batch-preserve-term-settings.c: New file.
399 * gdb.base/batch-preserve-term-settings.exp: New file.
400
401 2015-01-13 Doug Evans <dje@google.com>
402
403 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
404 binary.
405
406 2015-01-13 Joel Brobecker <brobecker@adacore.com>
407
408 * Makefile.in (clean mostlyclean): Do not delete *.py.
409
410 2015-01-13 Joel Brobecker <brobecker@adacore.com>
411
412 * gdb.python/py-lookup-type.exp: New file.
413
414 2015-01-12 Pedro Alves <palves@redhat.com>
415
416 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
417 restore GDBFLAGS before returning.
418
419 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
420
421 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
422 is_amd64_regs_target and is_x86_like_target.
423
424 2015-01-11 Doug Evans <xdje42@gmail.com>
425
426 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
427 is given without an explicit form.
428 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
429 attributes.
430 * gdb.dwarf/corrupt.exp: Ditto.
431 * gdb.dwarf2/enum-type.exp: Ditto.
432 * gdb.trace/entry-values.exp: Ditto.
433 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
434
435 2015-01-11 Doug Evans <xdje42@gmail.com>
436
437 PR gdb/15830
438 * gdb.base/maint.exp: Remove references to "maint demangle".
439 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
440 Add tests for explicitly specifying language to demangle.
441 * gdb.dlang/demangle.exp: Ditto.
442
443 2015-01-09 Pedro Alves <palves@redhat.com>
444
445 * gdb.threads/non-stop-fair-events.c: New file.
446 * gdb.threads/non-stop-fair-events.exp: New file.
447
448 2015-01-09 Pedro Alves <palves@redhat.com>
449
450 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
451 the global scope. Set a breakpoint after all threads are started
452 rather than stepping over two source lines. Expect the prompt.
453 * gdb.base/watch_thread_num.c (threads_started_barrier): New
454 global.
455 (NUM): Now 15.
456 (main): Use threads_started_barrier to wait for all threads to
457 start. Main thread no longer calls thread_function. Exit after
458 180 seconds.
459 (loop): New function.
460 (thread_function): Wait on threads_started_barrier barrier. Call
461 'loop' at each iteration.
462 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
463 threads have started, instead of hardcoding number of "next"
464 steps. Use an access watchpoint instead of a write watchpoint.
465
466 2015-01-09 Pedro Alves <palves@redhat.com>
467
468 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
469 (thread_func): Wait on barrier.
470 (main): Wait for all threads to start before stopping GDB.
471 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
472 global.
473 (thread1_func, thread2_func): Wait on barrier.
474 (main): Wait for all threads to start before stopping GDB.
475 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
476 New global.
477 (thread1_func, thread2_func): Wait on barrier.
478 (main): Wait for all threads to start before stopping GDB.
479
480 2015-01-09 Pedro Alves <palves@redhat.com>
481
482 * gdb.threads/attach-many-short-lived-threads.c: New file.
483 * gdb.threads/attach-many-short-lived-threads.exp: New file.
484
485 2014-01-09 Pedro Alves <palves@redhat.com>
486
487 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
488 instead of to thread 2.
489 * gdb.threads/signal-command-multiple-signals-pending.c (main):
490 Add barrier around each pthread_create call instead of around all
491 calls.
492 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
493 Set a break on thread_function and have the child threads hit it
494 one at at a time.
495
496 2015-01-09 Pedro Alves <palves@redhat.com>
497
498 * lib/gdb.exp (can_spawn_for_attach): New procedure.
499 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
500 false.
501 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
502 checking whether the target board is remote.
503 * gdb.multi/multi-attach.exp: Likewise.
504 * gdb.python/py-sync-interp.exp: Likewise.
505 * gdb.server/ext-attach.exp: Likewise.
506 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
507 tests that need to attach, instead of checking whether the target
508 board is remote at the top of the file.
509
510 2015-01-08 Yao Qi <yao@codesourcery.com>
511
512 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
513
514 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
515
516 Fix testcase compilation.
517 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
518
519 2015-01-06 Joel Brobecker <brobecker@adacore.com>
520
521 * gdb.python/py-type.exp: Add a couple test about empty
522 array creation, and negative-length array creation.
523
524 2015-01-02 Doug Evans <xdje42@gmail.com>
525
526 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
527
528 2015-01-02 Doug Evans <dje@google.com>
529
530 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
531
532 2014-12-29 Yao Qi <yao@codesourcery.com>
533
534 * gdb.trace/entry-values.exp: Update comments. Rename variable
535 bar_call_foo to returned_from_foo.
536
537 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
538
539 PR gdb/17394
540 * gdb.linespec/break-asm-file.c: New file.
541 * gdb.linespec/break-asm-file.exp: New file.
542 * gdb.linespec/break-asm-file0.s: New file.
543 * gdb.linespec/break-asm-file1.s: New file.
544
545 2014-12-18 Nigel Stephens <nigel@mips.com>
546 Maciej W. Rozycki <macro@codesourcery.com>
547
548 * gdb.base/float.exp: Handle the new output from "info float" on
549 MIPS targets.
550
551 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
552
553 Fix MinGW compilation.
554 * gdb.compile/compile-ops.exp: Update untested message if
555 !skip_compile_feature_tests.
556 * gdb.compile/compile-setjmp.exp: Likewise.
557 * gdb.compile/compile-tls.exp: Likewise.
558 * gdb.compile/compile.exp: Likewise.
559 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
560 supported on this host".
561
562 2014-12-16 Doug Evans <xdje42@gmail.com>
563
564 * boards/stabs.exp: New file.
565
566 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
567
568 * gdb.base/completion.exp: Adjust to format changes of "maint
569 print user-registers".
570
571 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
572
573 PR server/17457
574 * gdb.arch/aarch64-fp.c: New file.
575 * gdb.arch/aarch64-fp.exp: New file.
576
577 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
578
579 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
580 r210637, r210913, r211666, r215400, r215817).
581
582 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
583 * dg-extract-results.py: New file.
584 * dg-extract-results.sh: Use it if the environment seems
585 suitable.
586
587 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
588
589 * dg-extract-results.py (parse_run): Handle warnings that
590 are printed before a test harness is run.
591
592 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
593
594 * dg-extract-results.py (Named): Remove __cmp__ method.
595 (output_variation): Use a key to sort variation.harnesses.
596
597 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
598
599 * dg-extract-results.py: For Python 3, force sys.stdout to
600 handle surrogate escape sequences.
601 (safe_open): New function.
602 (output_segment, main): Use it.
603
604 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
605
606 * dg-extract-results.py (Prog.result_re): Include options
607 in test name.
608
609 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
610
611 * dg-extract-results.py (output_variation): Always sort if
612 do_sum.
613
614 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
615
616 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
617 as long as we get pagination notifications.
618
619 2014-12-15 Jason Merrill <jason@redhat.com>
620
621 * Makefile.in (check-gdb.%): Restore.
622 * README: Mention it.
623
624 2014-12-13 Joel Brobecker <brobecker@adacore.com>
625
626 * gdb.ada/str_uninit: New testcase.
627
628 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
629
630 PR symtab/17642
631 * gdb.base/vla-stub-define.c: New file.
632 * gdb.base/vla-stub.c: New file.
633 * gdb.base/vla-stub.exp: New file.
634
635 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
636 Jan Kratochvil <jan.kratochvil@redhat.com>
637 Tom Tromey <tromey@redhat.com>
638
639 * configure.ac: Add gdb.compile/.
640 * configure: Regenerate.
641 * gdb.compile/Makefile.in: New file.
642 * gdb.compile/compile-ops.exp: New file.
643 * gdb.compile/compile-ops.c: New file.
644 * gdb.compile/compile-tls.c: New file.
645 * gdb.compile/compile-tls.exp: New file.
646 * gdb.compile/compile-constvar.S: New file.
647 * gdb.compile/compile-constvar.c: New file.
648 * gdb.compile/compile-mod.c: New file.
649 * gdb.compile/compile-nodebug.c: New file.
650 * gdb.compile/compile-setjmp-mod.c: New file.
651 * gdb.compile/compile-setjmp.c: New file.
652 * gdb.compile/compile-setjmp.exp: New file.
653 * gdb.compile/compile-shlib.c: New file.
654 * gdb.compile/compile.c: New file.
655 * gdb.compile/compile.exp: New file.
656 * lib/gdb.exp (skip_compile_feature_tests): New proc.
657
658 2014-12-12 Tom Tromey <tromey@redhat.com>
659
660 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
661 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
662
663 2014-12-12 Doug Evans <dje@google.com>
664
665 * lib/gdb-python.exp (get_python_valueof): New function.
666 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
667
668 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
669
670 * gdb.base/completion.exp: Add test for completion of "info
671 registers ".
672
673 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
674
675 * gdb.base/func-ptrs.c: New file.
676 * gdb.base/func-ptrs.exp: New file.
677
678 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
679
680 PR breakpoints/17012
681 * gdb.base/dprintf-detach.c: New file.
682 * gdb.base/dprintf-detach.exp: New file.
683
684 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
685
686 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
687 * lib/gdb.exp (target_is_gdbserver): New procedure.
688
689 2014-12-08 Doug Evans <dje@google.com>
690
691 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
692
693 2014-12-05 Yao Qi <yao@codesourcery.com>
694
695 * gdb.guile/scm-error.exp: Remove the third argument to
696 gdb_remote_download.
697 * gdb.guile/scm-frame-args.exp: Likewise.
698 * gdb.guile/scm-section-script.exp: Likewise.
699
700 2014-12-05 Yao Qi <yao@codesourcery.com>
701
702 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
703
704 2014-12-04 Doug Evans <dje@google.com>
705
706 * gdb.python/py-objfile.exp: Add tests for
707 objfile.add_separate_debug_file.
708
709 2014-12-04 Doug Evans <dje@google.com>
710
711 * lib/gdb.exp (get_build_id): New function.
712 (build_id_debug_filename_get): Rewrite to use it.
713 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
714
715 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
716
717 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
718 `method(long)', not just 0x0.
719 * gdb.cp/nsalias.exp: Align code labels to 4.
720 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
721 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
722 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
723 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
724 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
725 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
726
727 2014-12-02 Doug Evans <dje@google.com>
728
729 PR symtab/17602
730 * gdb.cp/anon-ns.cc: Move guts of this file to ...
731 * gdb.cp/anon-ns2.cc: ... here. New file.
732 * gdb.cp/anon-ns.exp: Update.
733
734 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
735
736 * gdb.python/py-events.py (inferior_call_handler): New.
737 (register_changed_handler, memory_changed_handler): New.
738 (test_events.invoke): Register new handlers.
739 * gdb.python/py-events.exp: Add tests for inferior call,
740 memory_changed and register_changed events.
741
742 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
743
744 * gdb.base/execl-update-breakpoints.exp: Specify the link address
745 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
746 if the linker doesn't understand this.
747
748 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
749
750 * gdb.python/python.exp: Change expected reply to help().
751
752 2014-12-01 Yao Qi <yao@codesourcery.com>
753
754 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
755 AC_CONFIG_SUBDIRS(gdb.gdbtk).
756 * configure: Re-generated.
757
758 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
759
760 * gdb.cp/chained-calls.cc: New file.
761 * gdb.cp/chained-calls.exp: New file.
762 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
763
764 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
765
766 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
767 * gdb.dwarf2/symtab-producer.exp: Same.
768 * gdb.gdb/python-interrupts.exp: Same.
769 * gdb.gdb/python-selftest.exp: Same.
770 * gdb.python/py-linetable.exp: Same.
771 * gdb.python/py-type.exp: Same.
772 * gdb.python/py-value-cc.exp: Same.
773 * gdb.python/py-value.exp: Same.
774
775 2014-11-28 Yao Qi <yao@codesourcery.com>
776
777 * gdb.base/break-probes.exp: Match library name prefixed with
778 sysroot.
779
780 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
781
782 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
783 test expected output. Add parentheses for the call to print.
784 Remove L suffix from integers.
785
786 2014-11-26 Doug Evans <dje@google.com>
787
788 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
789
790 2014-11-22 Yao Qi <yao@codesourcery.com>
791
792 * gdb.trace/entry-values.c: Remove asms.
793 (foo): Add foo_label.
794 (bar): Add bar_label.
795 * gdb.trace/entry-values.exp: Remove code computing foo's
796 length and bar's length.
797 (Dwarf::assemble): Invoke function_range for bar and use
798 MACRO_AT_func for foo.
799
800 2014-11-22 Yao Qi <yao@codesourcery.com>
801
802 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
803 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
804 Use .Lgcc43_procstart instead of gcc43.
805
806 2014-11-21 Joel Brobecker <brobecker@adacore.com>
807
808 * gdb.ada/n_arr_bound: New testcase.
809
810 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
811
812 PR breakpoints/10737
813 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
814 test_catch_syscall_multi_arch.
815 (test_catch_syscall_multi_arch): New function.
816
817 2014-11-20 Doug Evans <xdje42@gmail.com>
818
819 * gdb.base/maint.exp: Update expected output.
820
821 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
822
823 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
824 4-byte instruction on S390.
825
826 2014-11-19 Joel Brobecker <brobecker@adacore.com>
827
828 * gdb.ada/arr_arr: New testcase.
829
830 2014-11-19 Joel Brobecker <brobecker@adacore.com>
831
832 * gdb.ada/pkd_arr_elem: New Testcase.
833
834 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
835
836 * gdb.reverse/break-precsave: Expect completion message for
837 core file reads.
838 * gdb.reverse/consecutive-precsave.exp: Likewise.
839 * gdb.reverse/finish-precsave.exp: Likewise.
840 * gdb.reverse/i386-precsave.exp: Likewise.
841 * gdb.reverse/machinestate-precsave.exp: Likewise.
842 * gdb.reverse/sigall-precsave.exp: Likewise.
843 * gdb.reverse/solib-precsave.exp: Likewise.
844 * gdb.reverse/step-precsave.exp: Likewise.
845 * gdb.reverse/until-precsave.exp: Likewise.
846 * gdb.reverse/watch-precsave.exp: Likewise.
847
848 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
849
850 * gdb.base/bp-permanent.c: Include unistd.h.
851 * gdb.python/py-framefilter-mi.c (main): Add return type.
852 * gdb.python/py-framefilter.c (main): Likewise.
853 * gdb.trace/actions-changed.c (main): Likewise.
854
855 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
856
857 * gdb.mi/until.c: Add eye-catchers.
858 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
859 line numbers.
860
861 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
862
863 * gdb.base/condbreak.exp: Drop references to removed non-prototype
864 function header variants in break1.c.
865 * gdb.base/ena-dis-br.exp: Likewise.
866 * gdb.base/hbreak2.exp: Likewise.
867 * gdb.reverse/until-precsave.exp: Drop references to removed
868 non-prototype function header variants in ur1.c.
869 * gdb.reverse/until-reverse.exp: Likewise.
870
871 2014-11-17 Petr Machata <pmachata@redhat.com>
872
873 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
874 ${_cu_offset_size} bytes abbrev offset.
875
876 2014-11-15 Doug Evans <xdje42@gmail.com>
877
878 PR symtab/17559
879 * gdb.base/line-symtabs.exp: New file.
880 * gdb.base/line-symtabs.c: New file.
881 * gdb.base/line-symtabs.h: New file.
882
883 2014-11-14 Yao Qi <yao@codesourcery.com>
884
885 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
886 (func): Add label func_label.
887 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
888 Replace low_pc and high_pc with MACRO_AT_range.
889 Replace name, low_pc and high_pc with MACRO_AT_func.
890
891 2014-11-14 Yao Qi <yao@codesourcery.com>
892
893 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
894 Replace name, low_pc and high_pc with MACRO_AT_func.
895
896 2014-11-14 Yao Qi <yao@codesourcery.com>
897
898 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
899 produce debug information.
900 * gdb.dwarf2/implptr-optimized-out.S: Removed.
901
902 2014-11-14 Yao Qi <yao@codesourcery.com>
903
904 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
905 object and get function length.
906 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
907 with MACRO_AT_func.
908 (top-level): Replace gdb_compile and clean_restart with
909 prepare_for_testing.
910 * gdb.dwarf2/main.c (main): Add label main_label.
911
912 2014-11-14 Yao Qi <yao@codesourcery.com>
913
914 * lib/dwarf.exp (function_range): New procedure.
915 (Dwarf::_handle_macro_at_func): New procedure.
916 (Dwarf::_handle_macro_at_range): New procedure.
917 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
918
919 2014-11-14 Yao Qi <yao@codesourcery.com>
920
921 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
922 (_handle_attribute): New procedure.
923
924 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
925
926 * gdb.ada/cond_lang/foo.c (callme): Add return type.
927 * gdb.base/call-sc.c (zed): Likewise.
928 * gdb.base/checkpoint.c (main): Likewise.
929 * gdb.base/dump.c (main): Likewise.
930 * gdb.base/gcore.c (main): Likewise.
931 * gdb.base/huge.c (main): Likewise.
932 * gdb.base/multi-forks.c (main): Likewise.
933 * gdb.base/pr10179-a.c (main): Likewise.
934 * gdb.base/savedregs.c (main): Likewise.
935 * gdb.base/sigaltstack.c (main): Likewise.
936 * gdb.base/siginfo.c (main): Likewise.
937 * gdb.base/structs.c (zed): Likewise.
938 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
939 * gdb.mi/mi-syn-frame.c (main): Likewise.
940 * gdb.mi/until.c (foo, main): Likewise.
941 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
942 * gdb.base/solib-weak.c (foo): Declare.
943 * gdb.base/attach-twice.c: Include stdio.h.
944 * gdb.base/weaklib1.c: Likewise.
945 * gdb.base/weaklib2.c: Likewise.
946 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
947 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
948 unistd.h.
949 * gdb.base/attach-pie-misread.c: Include stdlib.h.
950 * gdb.mi/mi-exit-code.c: Likewise.
951 * gdb.base/break-interp-lib.c: Include string.h.
952 * gdb.base/coremaker.c: Likewise.
953 * gdb.base/testenv.c: Likewise.
954 * gdb.python/py-finish-breakpoint.c: Likewise.
955 * gdb.base/inferior-died.c: Include sys/wait.h.
956 * gdb.base/fileio.c: Include time.h.
957 * gdb.base/async-shell.c: Include unistd.h.
958 * gdb.base/dprintf-non-stop.c: Likewise.
959 * gdb.base/info-os.c: Likewise.
960 * gdb.mi/mi-console.c: Likewise.
961 * gdb.mi/watch-nonstop.c: Likewise.
962 * gdb.python/py-events.c: Likewise.
963 * gdb.base/async.c (baz): Move up before its invocation.
964 * gdb.base/code_elim2.c (my_global_func): Likewise.
965 * gdb.base/skip-solib-lib.c (multiply): Likewise.
966 * gdb.base/advance.c (func2): Likewise.
967
968 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
969
970 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
971 variant.
972 * gdb.base/annota3.c: Likewise.
973 * gdb.base/async.c: Likewise.
974 * gdb.base/average.c: Likewise.
975 * gdb.base/call-ar-st.c: Likewise.
976 * gdb.base/call-rt-st.c: Likewise.
977 * gdb.base/call-sc.c: Likewise.
978 * gdb.base/call-strs.c: Likewise.
979 * gdb.base/ending-run.c: Likewise.
980 * gdb.base/execd-prog.c: Likewise.
981 * gdb.base/exprs.c: Likewise.
982 * gdb.base/foll-exec.c: Likewise.
983 * gdb.base/foll-fork.c: Likewise.
984 * gdb.base/foll-vfork.c: Likewise.
985 * gdb.base/funcargs.c: Likewise.
986 * gdb.base/gcore.c: Likewise.
987 * gdb.base/jump.c: Likewise.
988 * gdb.base/langs0.c: Likewise.
989 * gdb.base/langs1.c: Likewise.
990 * gdb.base/langs2.c: Likewise.
991 * gdb.base/mips_pro.c: Likewise.
992 * gdb.base/nodebug.c: Likewise.
993 * gdb.base/opaque0.c: Likewise.
994 * gdb.base/opaque1.c: Likewise.
995 * gdb.base/recurse.c: Likewise.
996 * gdb.base/run.c: Likewise.
997 * gdb.base/scope0.c: Likewise.
998 * gdb.base/scope1.c: Likewise.
999 * gdb.base/setshow.c: Likewise.
1000 * gdb.base/setvar.c: Likewise.
1001 * gdb.base/shmain.c: Likewise.
1002 * gdb.base/shr1.c: Likewise.
1003 * gdb.base/shr2.c: Likewise.
1004 * gdb.base/sigall.c: Likewise.
1005 * gdb.base/signals.c: Likewise.
1006 * gdb.base/so-indr-cl.c: Likewise.
1007 * gdb.base/solib2.c: Likewise.
1008 * gdb.base/structs.c: Likewise.
1009 * gdb.base/sum.c: Likewise.
1010 * gdb.base/vforked-prog.c: Likewise.
1011 * gdb.base/watchpoint.c: Likewise.
1012 * gdb.reverse/shr2.c: Likewise.
1013 * gdb.reverse/until-reverse.c: Likewise.
1014 * gdb.reverse/ur1.c: Likewise.
1015 * gdb.reverse/watch-reverse.c: Likewise.
1016
1017 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1018
1019 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1020 variant.
1021 * gdb.base/sepdebug.exp: Drop references to removed code.
1022
1023 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1024
1025 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1026 variant. Preserve original line numbering.
1027 * gdb.base/list1.c: Likewise.
1028
1029 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1030
1031 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1032 variant.
1033 * gdb.base/break1.c: Likewise.
1034 * gdb.base/break.exp: Drop references to removed code.
1035
1036 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1037
1038 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1039 variant.
1040
1041 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1042
1043 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1044
1045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1046
1047 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1048 logic into perform_all_tests() and invoke it with and without
1049 function header prototypes.
1050 (do_function_calls): Remove conditional XFAIL for PR 5318.
1051 (rerun_and_prepare): Remove duplicate code.
1052 (perform_all_tests): New. Main logic moved here.
1053
1054 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1055
1056 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1057 code guarded by #ifdef NO_PROTOTYPES.
1058 (t_double_many_args): Likewise.
1059 (DEF_FUNC_MANY_ARGS_1): Likewise.
1060 (DEF_FUNC_VALUES_1): Likewise.
1061 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1062 guarded by #ifdef PROTOTYPES.
1063
1064 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1065
1066 * gdb.mi/mi-console.c: Add eye-catcher.
1067 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1068 instead of literal line number.
1069
1070 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1071
1072 * gdb.base/shr2.c: Add eye-catcher.
1073 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1074 line number.
1075
1076 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1077
1078 * gdb.base/jump.c: Add eye-catchers.
1079 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1080 numbers.
1081
1082 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1083
1084 * gdb.base/execd-prog.c: Add eye-catchers.
1085 * gdb.base/foll-exec.c: Likewise.
1086 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1087 line numbers.
1088
1089 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1090
1091 * gdb.base/ending-run.c: Add eye-catchers.
1092 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1093 literal line numbers.
1094
1095 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1096
1097 * gdb.base/call-rt-st.c: Add eye-catchers.
1098 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1099 literal line numbers.
1100
1101 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1102
1103 * gdb.base/call-ar-st.c: Add eye-catchers.
1104 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1105 literal line numbers.
1106
1107 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1108
1109 * gdb.base/average.c: Add eye-catchers.
1110 * gdb.base/sum.c: Likewise.
1111 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1112 regexps dynamically.
1113
1114 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1115
1116 * gdb.base/solib1.c: Add eye-catchers.
1117 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1118 literal line numbers.
1119
1120 2014-11-12 Pedro Alves <palves@redhat.com>
1121
1122 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1123 leader has exited.
1124
1125 2014-11-12 Pedro Alves <palves@redhat.com>
1126
1127 * gdb.arch/i386-bp_permanent.c: New file.
1128 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1129 (srcfile): Set to i386-bp_permanent.c.
1130 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1131 that stepi does not execute the 'leave' instruction, instead of
1132 testing it does execute.
1133 * gdb.base/bp-permanent.c: New file.
1134 * gdb.base/bp-permanent.exp: New file.
1135
1136 2014-11-10 Doug Evans <xdje42@gmail.com>
1137
1138 PR symtab/17564
1139 * gdb.base/symtab-search-order.exp: New file.
1140 * gdb.base/symtab-search-order.c: New file.
1141 * gdb.base/symtab-search-order-1.c: New file.
1142 * gdb.base/symtab-search-order-shlib-1.c: New file.
1143
1144 2014-11-07 Pedro Alves <palves@redhat.com>
1145
1146 PR gdb/17511
1147 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1148 i?86-*-linux*.
1149
1150 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1151
1152 PR c++/17494
1153 * gdb.cp/pr17494.cc: New file.
1154 * gdb.cp/pr17494.exp: New file.
1155
1156 2014-11-02 Yao Qi <yao@codesourcery.com>
1157
1158 * gdb.python/python.exp: Get working directory and match the
1159 output of "set extended-prompt \\w " with it.
1160
1161 2014-10-30 Doug Evans <dje@google.com>
1162
1163 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1164 in objfiles.
1165 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1166 in progspaces.
1167
1168 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
1169
1170 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1171 * gdb.base/realname-expand.exp: Likewise.
1172 * gdb.linespec/macro-relative.exp: Likewise.
1173
1174 2014-10-29 Pedro Alves <palves@redhat.com>
1175
1176 PR gdb/17408
1177 * gdb.threads/schedlock.c (some_function): New function.
1178 (call_function): New global.
1179 (MAYBE_CALL_SOME_FUNCTION): New macro.
1180 (thread_function): Call it.
1181 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1182 and use it instead of a global counter. Adjust all callers.
1183 (get_current_thread): Use "find current thread" for test message
1184 here rather than having all callers pass down the same string.
1185 (goto_loop): New procedure, factored out from ...
1186 (my_continue): ... this.
1187 (step_ten_loops): Change parameter from test message to command to
1188 use. Adjust.
1189 (list_count): Delete global.
1190 (check_result): New procedure, factored out from duplicate top
1191 level code.
1192 (continue tests): Wrap in with_test_prefix.
1193 (test_step): New procedure, factored out from duplicate top level
1194 code.
1195 (top level): Test "step" in combination with all scheduler-locking
1196 modes. Test "next" in combination with all scheduler-locking
1197 modes, and in combination with stepping over a function call or
1198 not.
1199 * gdb.threads/next-bp-other-thread.c: New file.
1200 * gdb.threads/next-bp-other-thread.exp: New file.
1201
1202 2014-10-29 Pedro Alves <palves@redhat.com>
1203
1204 PR python/17372
1205 * gdb.python/python.exp: Test a multi-line command that spawns
1206 interactive Python.
1207 * gdb.base/multi-line-starts-subshell.exp: New file.
1208
1209 2014-10-29 Yao Qi <yao@codesourcery.com>
1210
1211 * gdb.base/fileio.exp: Make directories on host.
1212
1213 2014-10-29 Yao Qi <yao@codesourcery.com>
1214
1215 * gdb.base/fileio.c (test_write): Close the file.
1216
1217 2014-10-28 Pedro Alves <palves@redhat.com>
1218
1219 PR gdb/12623
1220 * gdb.base/sigstep.c (no_handler): New global.
1221 (main): If 'no_handler is true, set the signal handlers to
1222 SIG_IGN.
1223 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1224 with_sw_watch and no_handler parameters. Handle them.
1225 (top level) <stepping over handler when stopped at a breakpoint
1226 test>: Add a test axis for testing with a software watchpoint, and
1227 another for testing with the signal handler set to SIG_IGN.
1228 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1229 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1230
1231 2014-10-28 Pedro Alves <palves@redhat.com>
1232
1233 PR gdb/17511
1234 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1235 * gdb.base/sigstep.exp (other_handler_location): New global.
1236 (advance): Support stepping into the signal handler, and running
1237 commands while in the handler.
1238 (in_handler_map): New global.
1239 (top level): In the advance test, add combinations for getting
1240 into the handler with stepping commands, and for running commands
1241 in the handler. Add comment descripting the advancei tests.
1242
1243 2014-10-28 Pedro Alves <palves@redhat.com>
1244
1245 * gdb.base/sigstep.exp: Use build_executable instead of
1246 prepare_for_testing.
1247 (top level): Move code that starts GDB, runs to main and creates a
1248 display to ...
1249 (restart): ... this new procedure.
1250 (top level): Move backtrace from signal handler test to ...
1251 (validate_backtrace): ... this new procedure.
1252 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1253 with_test_prefix. Always restart GDB.
1254 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1255 with_test_prefix. Always restart GDB. No need to delete
1256 breakpoints after the test.
1257 (test_skip_handler): Remove prefix parameter.
1258 (skip_over_handler, breakpoint_to_handler)
1259 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1260 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1261 restart GDB. No need to delete breakpoints after the test.
1262 (top level): Use foreach to call the test procedures with
1263 different commands.
1264
1265 2014-10-28 Pedro Alves <palves@redhat.com>
1266
1267 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1268 instead of GNATS numbers.
1269 * gdb.base/sigbpt.exp: Likewise.
1270 * gdb.base/siginfo.exp: Likewise.
1271 * gdb.base/sigstep.exp: Likewise.
1272
1273 2014-10-27 Pedro Alves <palves@redhat.com>
1274
1275 * gdb.base/sigstep.c (dummy): New global.
1276 (main): Issue a couple writes to the new global.
1277 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1278 procedures.
1279 (skip_over_handler): Use test_skip_handler.
1280 (top level): Call skip_over_handler for stepi and nexti too.
1281 (breakpoint_over_handler): Use test_skip_handler.
1282 (top level): Call breakpoint_over_handler for stepi and nexti too.
1283
1284 2014-10-27 Yao Qi <yao@codesourcery.com>
1285
1286 * gdb.trace/tfile.c (adjust_function_address)
1287 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1288 function descriptor.
1289
1290 2014-10-24 Don Breazeal <donb@codesourcery.com>
1291
1292 * gdb.base/foll-fork.exp (test_follow_fork,
1293 catch_fork_child_follow): Check for updated fork messages emitted
1294 from infrun.c.
1295 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1296 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1297 vfork_and_exec_child_follow_through_step): Check for updated vfork
1298 messages emitted from infrun.c.
1299
1300 2014-10-24 Pedro Alves <palves@redhat.com>
1301
1302 * gdb.base/corefile.exp: Remove references to ultrix.
1303 * gdb.base/interrupt.exp: Likewise.
1304 * gdb.base/whatis.exp: Likewise.
1305 * gdb.gdb/selftest.exp: Likewise.
1306 * gdb.threads/manythreads.exp: Likewise.
1307 * gdb.threads/print-threads.exp: Likewise.
1308 * gdb.threads/pthreads.exp:: Likewise.
1309 * gdb.threads/schedlock.exp: Likewise.
1310
1311 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1312
1313 * gdb.cp/non-trivial-retval.cc: Add a test case.
1314 * gdb.cp/non-trivial-retval.exp: Add a test.
1315
1316 2014-10-20 Yao Qi <yao@codesourcery.com>
1317
1318 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1319 * gdb.python/py-objfile-script-gdb.py: New file.
1320 * gdb.python/py-objfile-script.exp: Update reference to
1321 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1322 of remote_download. Remove the dest file.
1323
1324 2014-10-20 Yao Qi <yao@codesourcery.com>
1325
1326 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1327 * gdb.base/step-line.exp: Likewise.
1328 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1329 * gdb.dwarf2/dw2-basic.exp: Likewise.
1330 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1331 * gdb.dwarf2/dw2-filename.exp: Likewise.
1332 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1333 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1334 * gdb.dwarf2/dw2-producer.exp: Likewise.
1335 * gdb.dwarf2/mac-fileno.exp: Likewise.
1336 * gdb.python/py-frame-args.exp: Likewise.
1337 * gdb.python/py-framefilter.exp: Likewise.
1338 * gdb.python/py-mi.exp: Likewise.
1339 * gdb.python/py-objfile-script.exp: Likewise
1340 * gdb.python/py-pp-integral.exp: Likewise.
1341 * gdb.python/py-pp-re-notag.exp: Likewise.
1342 * gdb.python/py-prettyprint.exp: Likewise.
1343 * gdb.python/py-section-script.exp: Likewise.
1344 * gdb.python/py-typeprint.exp: Likewise.
1345 * gdb.python/py-xmethods.exp: Likewise.
1346 * gdb.stabs/weird.exp: Likewise.
1347 * gdb.xml/tdesc-regs.exp: Likewise.
1348
1349 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1350
1351 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1352 (out_cu): Use addr_len for the size of addresses.
1353 (out_line): Likewise. Size DW_LNE_set_address instruction
1354 according to addr_len.
1355 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1356 (FUNC): Add START_INSNS to definition.
1357
1358 2014-10-18 Yao Qi <yao@codesourcery.com>
1359
1360 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1361 gdb_has_argv0 return true.
1362 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1363 check [target_info exists noargs], check [gdb_has_argv0]
1364 instead.
1365 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1366 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1367 procedures.
1368
1369 2014-10-17 Doug Evans <dje@google.com>
1370
1371 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1372 event.
1373 * gdb.python/py-events.py: Add clear_objfiles event.
1374
1375 2014-10-17 Doug Evans <dje@google.com>
1376
1377 * gdb.python/py-objfile.exp: Test progspace attribute.
1378
1379 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
1380
1381 * gdb.guile/scm-breakpoint.exp: Do not assume any
1382 directory separators when matching source file paths.
1383 * gdb.python/py-breakpoint.exp: Likewise.
1384 * gdb.reverse/break-precsave.exp: Likewise.
1385 * gdb.reverse/break-reverse.exp: Likewise.
1386 * gdb.reverse/consecutive-precsave.exp: Likewise.
1387 * gdb.reverse/finish-precsave.exp: Likewise.
1388 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1389 * gdb.reverse/finish-reverse.exp: Likewise.
1390 * gdb.reverse/i386-precsave.exp: Likewise.
1391 * gdb.reverse/i387-env-reverse.exp: Likewise.
1392 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1393 * gdb.reverse/machinestate-precsave.exp: Likewise.
1394 * gdb.reverse/machinestate.exp: Likewise.
1395 * gdb.reverse/sigall-precsave.exp: Likewise.
1396 * gdb.reverse/solib-precsave.exp: Likewise.
1397 * gdb.reverse/step-precsave.exp: Likewise.
1398 * gdb.reverse/until-precsave.exp: Likewise.
1399 * gdb.reverse/watch-precsave.exp: Likewise.
1400 * gdb.reverse/watch-reverse.exp: Likewise.
1401
1402 2014-10-17 Yao Qi <yao@codesourcery.com>
1403
1404 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1405 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1406
1407 2014-10-17 Pedro Alves <palves@redhat.com>
1408
1409 PR gdb/17471
1410 * gdb.base/bg-execution-repeat.c: New file.
1411 * gdb.base/bg-execution-repeat.exp: New file.
1412
1413 2014-10-17 Pedro Alves <palves@redhat.com>
1414
1415 PR gdb/17300
1416 * gdb.base/continue-all-already-running.c: New file.
1417 * gdb.base/continue-all-already-running.exp: New file.
1418
1419 2014-10-17 Pedro Alves <palves@redhat.com>
1420
1421 PR gdb/17472
1422 * gdb.base/annota-input-while-running.c: New file.
1423 * gdb.base/annota-input-while-running.exp: New file.
1424
1425 2014-10-17 Pedro Alves <palves@redhat.com>
1426
1427 * gdb.base/callfuncs.exp: emove references to osf.
1428 * gdb.base/sigall.exp: Likewise.
1429 * gdb.gdb/selftest.exp: Likewise.
1430 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1431 * gdb.mi/non-stop.c: Likewise.
1432 * gdb.mi/pthreads.c: Likewise.
1433 * gdb.reverse/sigall-precsave.exp: Likewise.
1434 * gdb.reverse/sigall-reverse.exp: Likewise.
1435 * gdb.threads/pthreads.c: Likewise.
1436 * gdb.threads/pthreads.exp: Likewise.
1437
1438 2014-10-17 Yao Qi <yao@codesourcery.com>
1439
1440 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1441 check 'target_info exists noargs'.
1442 (test_command_prompt_position): Likewise.
1443 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1444 Remove "set args".
1445 (progvar_simple_while_test): Likewise.
1446 (progvar_complex_if_while_test): Likewise.
1447 (if_while_breakpoint_command_test): Likewise.
1448 (infrun_breakpoint_command_test): Likewise.
1449 (breakpoint_command_test): Likewise.
1450 (watchpoint_command_test): Likewise.
1451 (bp_deleted_in_command_test): Likewise.
1452 (temporary_breakpoint_commands): Likewise.
1453
1454 2014-10-16 Yao Qi <yao@codesourcery.com>
1455
1456 * gdb.base/remotetimeout.exp: Remove noargs checking.
1457
1458 2014-10-15 Pedro Alves <palves@redhat.com>
1459
1460 PR breakpoints/9649
1461 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1462 * gdb.base/breakpoint-in-ro-region.exp
1463 (probe_target_hardware_step): New procedure.
1464 (top level): Probe hardware stepping and hardware breakpoint
1465 support. Test stepping through a read-only region, with both
1466 "breakpoint auto-hw" on and off and both "always-inserted" on and
1467 off.
1468
1469 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1470
1471 * gdb.dlang/demangle.exp: Update for demangling changes.
1472
1473 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1474
1475 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1476 * gdb.cp/non-trivial-retval.exp: Add new tests.
1477
1478 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1479
1480 PR c++/13403
1481 PR c++/15154
1482 * gdb.cp/non-trivial-retval.cc: New file.
1483 * gdb.cp/non-trivial-retval.exp: New file.
1484
1485 2014-10-15 Yao Qi <yao@codesourcery.com>
1486
1487 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1488 remote host.
1489
1490 2014-10-15 Yao Qi <yao@codesourcery.com>
1491
1492 * gdb.python/py-symbol.exp: Match file base name if host is
1493 remote, otherwise match file name with dir name.
1494 * gdb.python/py-symtab.exp: Likewise.
1495 * gdb.python/python.exp: Likewise.
1496
1497 2014-10-15 Yao Qi <yao@codesourcery.com>
1498
1499 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1500 pattern.
1501 * gdb.python/py-symtab.exp: Likewise.
1502 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1503 locationn.
1504
1505 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1506
1507 * gdb.ada/addr_arith: New testcase.
1508
1509 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1510
1511 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1512 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1513 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1514 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1515
1516 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1517
1518 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1519 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1520 * gdb.arch/stap-eval-lang-ada.exp: New file.
1521
1522 2014-10-14 Yao Qi <yao@codesourcery.com>
1523
1524 * gdb.mi/mi-var-child.c (nothing1): New function.
1525 (nothing2): New function.
1526 (do_children_tests): Set function pointers by nothing1 and
1527 nothing2.
1528 * gdb.mi/mi-var-child.exp: Step over new added statements.
1529 Update test to match the new output.
1530 * gdb.mi/var-cmd.c (nothing1): New function.
1531 (nothing2): New function.
1532 (do_children_tests): Set function pointers by nothing1 and
1533 nothing2.
1534 * gdb.mi/mi-var-display.exp: Update test to match output.
1535 Step to the line specified by $line_dct_nothing.
1536 Increase the number of lines to step.
1537
1538 2014-10-14 Yao Qi <yao@codesourcery.com>
1539
1540 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1541 tests.
1542 * gdb.mi/mi2-var-child.exp: Likewise.
1543
1544 2014-10-13 Doug Evans <dje@google.com>
1545
1546 * gdb.python/py-objfile.exp: Change name of file name test.
1547
1548 2014-10-13 Doug Evans <dje@google.com>
1549
1550 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1551 from the start of the CU.
1552
1553 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1554 Yao Qi <yao@codesourcery.com>
1555
1556 Fix "save breakpoints" for "catch" command.
1557 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1558 Remove -nonewline. Match also the added "main" line.
1559
1560 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1561
1562 Fix "save breakpoints" for "disable $bpnum" command.
1563 * gdb.base/save-bp.c (main): Add label.
1564 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1565
1566 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1567
1568 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1569
1570 2014-10-11 Yao Qi <yao@codesourcery.com>
1571
1572 * gdb.server/server-kill.exp: Execute command
1573 "set remote trace-status-packet on" before "tstatus".
1574
1575 2014-10-11 Yao Qi <yao@codesourcery.com>
1576
1577 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1578 (main): Call getppid.
1579 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1580 and continue to it. Read variable "server_pid".
1581
1582 2014-10-11 Yao Qi <yao@codesourcery.com>
1583
1584 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1585
1586 2014-10-11 Yao Qi <yao@codesourcery.com>
1587
1588 * gdb.threads/thread-find.exp: Don't execute command
1589 "info threads".
1590 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1591 * gdb.threads/linux-dp.exp: Don't check the condition
1592 $threads_created equals to zero.
1593
1594 2014-10-10 Pedro Alves <palves@redhat.com>
1595
1596 * gdb.base/bigcore.exp: Remove references to IRIX.
1597 * gdb.base/funcargs.exp: Likewise.
1598 * gdb.base/interrupt.exp: Likewise.
1599 * gdb.base/mips_pro.exp: Likewise.
1600 * gdb.base/nodebug.exp: Likewise.
1601 * gdb.base/setvar.exp: Likewise.
1602 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1603
1604 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1605 Pedro Alves <palves@redhat.com>
1606
1607 PR symtab/14466
1608 * gdb.base/vdso-warning.c: New file.
1609 * gdb.base/vdso-warning.exp: New file.
1610
1611 2014-10-02 Doug Evans <dje@google.com>
1612
1613 * gdb.base/structs.c (main): Don't run forever.
1614
1615 2014-10-02 Pedro Alves <palves@redhat.com>
1616
1617 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1618 (top level) <stop threads 1, stop threads 2>: Use it.
1619
1620 2014-10-02 Pedro Alves <palves@redhat.com>
1621
1622 * gdb.threads/break-while-running.exp (test): Add new
1623 'update_thread_list' argument. Skip "info threads" if false.
1624 (top level): Add new 'update_thread_list' axis.
1625
1626 2014-10-02 Pedro Alves <palves@redhat.com>
1627
1628 PR breakpoints/17431
1629 * gdb.base/execl-update-breakpoints.c: New file.
1630 * gdb.base/execl-update-breakpoints.exp: New file.
1631
1632 2014-10-01 Pedro Alves <palves@redhat.com>
1633
1634 * gdb.base/breakpoint-in-ro-region.c: New file.
1635 * gdb.base/breakpoint-in-ro-region.exp: New file.
1636
1637 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1638
1639 * gdb.mi/mi-exit-code.exp: New file.
1640 * gdb.mi/mi-exit-code.c: New file.
1641
1642 2014-09-30 Yao Qi <yao@codesourcery.com>
1643
1644 * lib/prelink-support.exp (build_executable_own_libs): Error if
1645 the target isn't native.
1646
1647 2014-09-30 Yao Qi <yao@codesourcery.com>
1648
1649 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1650 false.
1651
1652 2014-09-22 Pedro Alves <palves@redhat.com>
1653
1654 * gdb.threads/break-while-running.exp: New file.
1655 * gdb.threads/break-while-running.c: New file.
1656
1657 2014-09-19 Yao Qi <yao@codesourcery.com>
1658
1659 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1660 Invoke test. Restart GDB with --readnow and invoke test again.
1661
1662 2014-09-19 Yao Qi <yao@codesourcery.com>
1663
1664 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1665 proc set_breakpoint_on_gcd_function. Invoke
1666 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1667 invoke set_breakpoint_on_gcd_function again.
1668
1669 2014-09-18 Doug Evans <dje@google.com>
1670
1671 * gdb.dwarf2/symtab-producer.exp: New file.
1672
1673 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1674
1675 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1676 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1677 * gdb.base/global-var-nested-by-dso.c: Likewise.
1678 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1679
1680 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1681 Pedro Alves <palves@redhat.com>
1682
1683 * gdb.base/watch-bitfields.exp: Pass string other than test file
1684 name to prepare_for_testing.
1685 (watch): New procedure.
1686 (expect_watchpoint): Use with_test_prefix.
1687 (top level): Factor out tests to ...
1688 (test_watch_location, test_regular_watch): ... these new
1689 procedures, and use with_test_prefix and gdb_continue_to_end.
1690
1691 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1692
1693 PR breakpoints/12526
1694 * gdb.base/watch-bitfields.exp: New file.
1695 * gdb.base/watch-bitfields.c: New file.
1696
1697 2014-09-16 Pedro Alves <palves@redhat.com>
1698
1699 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1700 software and hardware addresses, not software address against
1701 itself.
1702
1703 2014-09-16 Pedro Alves <palves@redhat.com>
1704
1705 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1706 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1707
1708 2014-09-16 Pedro Alves <palves@redhat.com>
1709
1710 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1711 files.
1712 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1713 "*-*-vxworks*" throughout.
1714 * gdb.base/break.exp: Likewise.
1715 * gdb.base/default.exp: Likewise.
1716 * gdb.base/scope.exp: Likewise.
1717 * gdb.base/sepdebug.exp: Likewise.
1718 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1719 throughout.
1720 * gdb.base/run.c: Likewise.
1721 * gdb.base/sepdebug.c: Likewise.
1722 * gdb.hp/gdb.aCC/run.c: Likewise.
1723 * gdb.reverse/until-reverse.c: Likewise.
1724 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1725
1726 2014-09-16 Yao Qi <yao@codesourcery.com>
1727
1728 * boards/local-remote-host-native.exp: New file.
1729
1730 2014-09-14 Doug Evans <xdje42@gmail.com>
1731
1732 * gdb.threads/queue-signal.c (thread_count): New variable.
1733 (thread_count_mutex, thread_count_condvar): New variables.
1734 (incr_thread_count, wait_all_threads_running): New functions.
1735 (main): Wait for all threads to be in their thread functions.
1736
1737 2014-09-13 Doug Evans <xdje42@gmail.com>
1738
1739 * gdb.threads/queue-signal.c: New file.
1740 * gdb.threads/queue-signal.exp: New file.
1741
1742 2014-09-13 Doug Evans <xdje42@gmail.com>
1743
1744 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1745 be consistent with what default_gdb_init uses.
1746 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1747 the plain text of the prompt. Add some logging printfs.
1748 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1749
1750 2014-09-12 Pedro Alves <palves@redhat.com>
1751
1752 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1753 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1754 * gdb.arch/i386-size-overlap.exp: Likewise.
1755 * gdb.arch/i386-size.exp: Likewise.
1756 * gdb.arch/i386-unwind.exp: Likewise.
1757 * gdb.base/a2-run.exp: Likewise.
1758 * gdb.base/break.exp: Likewise.
1759 * gdb.base/charset.exp: Likewise.
1760 * gdb.base/chng-syms.exp: Likewise.
1761 * gdb.base/commands.exp: Likewise.
1762 * gdb.base/dbx.exp: Likewise.
1763 * gdb.base/find.exp: Likewise.
1764 * gdb.base/funcargs.exp: Likewise.
1765 * gdb.base/jit-simple.exp: Likewise.
1766 * gdb.base/reread.exp: Likewise.
1767 * gdb.base/sepdebug.exp: Likewise.
1768 * gdb.base/step-bt.exp: Likewise.
1769 * gdb.cp/mb-inline.exp: Likewise.
1770 * gdb.cp/mb-templates.exp: Likewise.
1771 * gdb.objc/basicclass.exp: Likewise.
1772 * gdb.threads/killed.exp: Likewise.
1773
1774 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1775
1776 PR tdep/17379
1777 * gdb.arch/powerpc-stackless.S: New file.
1778 * gdb.arch/powerpc-stackless.exp: New file.
1779
1780 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1781
1782 * gdb.base/attach.c: Include unistd.h.
1783 (main): Call alarm. Add label postloop.
1784 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1785 gdb_breakpoint, gdb_continue_to_breakpoint.
1786 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1787
1788 2014-09-11 Pedro Alves <palves@redhat.com>
1789
1790 PR gdb/17347
1791 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1792 * gdb.base/attach.exp (test_command_line_attach_run): New
1793 procedure.
1794 (top level): Call it.
1795
1796 2014-09-11 Pedro Alves <palves@redhat.com>
1797
1798 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1799 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1800 (do_command_attach_tests): Use spawn_wait_for_attach.
1801 * gdb.base/solib-overlap.exp: Likewise.
1802 * gdb.multi/multi-attach.exp: Likewise.
1803 * gdb.python/py-prompt.exp: Likewise.
1804 * gdb.python/py-sync-interp.exp: Likewise.
1805 * gdb.server/ext-attach.exp: Likewise.
1806
1807 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1808
1809 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1810 command in testcase. Simplify testcase.
1811
1812 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1813
1814 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1815
1816 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1817
1818 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1819
1820 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1821
1822 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1823
1824 2014-09-10 Joel Brobecker <brobecker@adacore.com>
1825
1826 * gdb.dwarf2/dynarr-ptr.c: New file.
1827 * gdb.dwarf2/dynarr-ptr.exp: New file.
1828
1829 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1830
1831 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1832 of 30 rather than hardcoding 120 for a slow test case. Take the
1833 `gdb,timeout' target setting into account for this calculation.
1834 Don't extend the timeout for the test cases that don't need it.
1835
1836 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1837
1838 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1839 a factor of 2 for a slow test case. Take the `gdb,timeout'
1840 target setting into account for this calculation.
1841 * gdb.reverse/until-precsave.exp: Increase the timeout by
1842 a factor of 15 and 3 respectively rather than adding 120
1843 for a pair of slow test cases. Take the `gdb,timeout'
1844 target setting into account for this calculation.
1845
1846 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1847
1848 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1849 timeout, don't pass one down to gdb_expect.
1850 (gdb_expect): Rework timeout selection.
1851
1852 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1853
1854 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1855 exception on timeout.
1856 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1857 (gdbserver_start_extended): Catch any `gdbserver_start' error
1858 exceptions.
1859 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1860 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1861 `gdbserver_gdb_load' error exceptions.
1862
1863 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1864
1865 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1866 120 on waiting for the TCP socket to open.
1867
1868 2014-09-09 Doug Evans <xdje42@gmail.com>
1869
1870 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1871 _caller_matches, _any_caller_is, _any_caller_matches.
1872
1873 2014-09-09 Doug Evans <xdje42@gmail.com>
1874
1875 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1876
1877 2014-09-09 Yao Qi <yao@codesourcery.com>
1878
1879 * gdb.mi/mi-var-display.exp: Set print symbol off.
1880
1881 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1882
1883 PR gdb/17035
1884 * gdb.base/commands.exp: Add tests to verify user-defined
1885 commands with empty bodies.
1886 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1887 python commands in `show user command`.
1888 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1889 scheme commands in `show user command`.
1890
1891 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1892
1893 PR python/17355
1894 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1895 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1896 * gdb.python/py-framefilter-invalidarg.exp: New file.
1897 * gdb.python/py-framefilter-invalidarg.py: New file.
1898
1899 2014-09-06 Doug Evans <xdje42@gmail.com>
1900
1901 PR 15276
1902 * gdb.python/py-caller-is.c: New file.
1903 * gdb.python/py-caller-is.exp: New file.
1904
1905 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1906
1907 PR gdb/17235
1908 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1909 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1910
1911 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1912
1913 PR fortran/17237
1914 * gdb.fortran/print-formatted.exp: New file.
1915 * gdb.fortran/print-formatted.f90: Likewise.
1916
1917 2014-09-03 Sasha Smundak <asmundak@google.com>
1918
1919 * gdb.python/py-frame.exp: Test Frame.read_register.
1920
1921 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1922
1923 PR python/16699
1924 * gdb.python/py-completion.exp: New file.
1925 * gdb.python/py-completion.py: Likewise.
1926
1927 2014-08-28 Doug Evans <dje@google.com>
1928
1929 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1930 eax,etc. are live with values set by gdb and thus the compiler can't
1931 use them.
1932 * gdb.arch/i386-pseudo.c (main): Ditto.
1933
1934 2014-08-27 Doug Evans <dje@google.com>
1935
1936 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1937
1938 2014-08-25 Doug Evans <dje@google.com>
1939
1940 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1941 (main): Ditto.
1942
1943 2014-08-25 Doug Evans <dje@google.com>
1944
1945 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1946
1947 2014-08-24 Yao Qi <yao@codesourcery.com>
1948
1949 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1950 symbol off.
1951 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1952
1953 2014-08-22 Doug Evans <dje@google.com>
1954
1955 PR 17276
1956 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1957 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1958 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1959
1960 2014-08-22 Yao Qi <yao@codesourcery.com>
1961
1962 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1963 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1964 * gdb.python/python.exp: Likewise. Use .py file on the host
1965 instead of the build.
1966
1967 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1968
1969 * gdb.threads/gcore-stale-thread.c: New file.
1970 * gdb.threads/gcore-stale-thread.exp: New file.
1971
1972 2014-08-21 Pedro Alves <palves@redhat.com>
1973
1974 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1975 * gdb.base/gcore-relro-pie.exp: Likewise.
1976 * gdb.base/gcore-relro.exp: Likewise.
1977 * gdb.base/gcore.exp: Likewise.
1978 * gdb.base/print-symbol-loading.exp: Likewise.
1979 * gdb.threads/gcore-thread.exp: Likewise.
1980 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1981
1982 2014-08-20 Pedro Alves <palves@redhat.com>
1983 Jan Kratochvil <jan.kratochvil@redhat.com>
1984
1985 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1986 configure.
1987 (EXPECT): Handle READ1 being set.
1988 (all): Depend on EXTRA_RULES.
1989 (check-read1, expect-read1, read1.so, read1): New rules.
1990 * README (Testsuite Parameters): Document the READ1 make variable.
1991 (Race detection): New section.
1992 * configure: Regenerate.
1993 * configure.ac: If build==host==target, and running under a
1994 GNU/glibc system, add read1 to the extra Makefile rules.
1995 (EXTRA_RULES): AC_SUBST it.
1996 * lib/read1.c: New file.
1997
1998 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1999
2000 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2001 the handling of variables declared as a typedef to an array
2002 which a DW_AT_data_location attribute.
2003
2004 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2005 Pedro Alves <palves@redhat.com>
2006
2007 PR symtab/14604
2008 PR symtab/14605
2009 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2010 gdb_test.
2011
2012 2014-08-19 Pedro Alves <palves@redhat.com>
2013
2014 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2015
2016 2014-08-19 Yao Qi <yao@codesourcery.com>
2017
2018 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2019 right line.
2020
2021 2014-08-18 David Blaikie <dblaikie@gmail.com>
2022
2023 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2024
2025 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2026
2027 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2028 attribute in array range.
2029
2030 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2031
2032 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2033
2034 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2035
2036 PR c++/17132
2037 * gdb.cp/pr17132.cc: New file.
2038 * gdb.cp/pr17132.exp: New file.
2039
2040 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2041
2042 * gdb.python/py-xmethods.py (A_getarrayind)
2043 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2044 Use 'print' with function call syntax.
2045 (E_method_matcher.match): Fix tab vs space indentation mixup.
2046
2047 2014-08-15 Yao Qi <yao@codesourcery.com>
2048
2049 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2050 false.
2051
2052 2014-08-15 Yao Qi <yao@codesourcery.com>
2053
2054 * gdb.cp/casts.exp: Set print symbol off.
2055 * gdb.cp/class2.exp: Likewise.
2056 * gdb.cp/overload.exp: Likewise.
2057 * gdb.cp/templates.exp: Likewise.
2058
2059 2014-08-11 Doug Evans <dje@google.com>
2060
2061 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2062 (test_load_shlib): Update.
2063
2064 2014-08-09 Yao Qi <yao@codesourcery.com>
2065
2066 * gdb.base/display.exp: Invoke is_address_zero_readable.
2067 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2068 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2069 * gdb.base/hbreak-unmapped.exp: Return if
2070 is_address_zero_readable returns true.
2071 * gdb.base/signest.exp: Likewise.
2072 * gdb.base/signull.exp: Likewise.
2073 * gdb.base/sigbpt.exp: Likewise.
2074 * gdb.guile/scm-disasm.exp: Do the test if
2075 is_address_zero_readable returns false.
2076 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2077 * gdb.python/py-arch.exp: Likewise.
2078 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2079 * lib/gdb.exp (is_address_zero_readable): New proc.
2080
2081 2014-08-09 Yao Qi <yao@codesourcery.com>
2082
2083 PR testsuite/13443
2084 * gdb.mi/mi-var-display.exp: Make test messages unique.
2085
2086 2014-08-04 Tom Tromey <tromey@redhat.com>
2087
2088 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2089 target 0".
2090
2091 2014-08-04 Tom Tromey <tromey@redhat.com>
2092
2093 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2094 "target_resume".
2095
2096 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2097
2098 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2099 inner_vla_struct_object_size.
2100 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2101 as xfail.
2102
2103 2014-07-30 Pedro Alves <palves@redhat.com>
2104
2105 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2106 comment.
2107
2108 2014-07-29 Yao Qi <yao@codesourcery.com>
2109
2110 PR gdb/17206
2111 * gdb.base/until-nodebug.exp: New.
2112
2113 2014-07-28 Doug Evans <xdje42@gmail.com>
2114
2115 PR guile/17203
2116 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2117 previously existing parameter, and previously ambiguously spelled
2118 parameter.
2119
2120 2014-07-28 Will Newton <will.newton@linaro.org>
2121
2122 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2123
2124 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2125 Doug Evans <xdje42@gmail.com>
2126
2127 PR guile/17146
2128 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2129
2130 2014-07-25 Pedro Alves <palves@redhat.com>
2131
2132 * gdb.threads/signal-command-handle-nopass.c: New file.
2133 * gdb.threads/signal-command-handle-nopass.exp: New file.
2134 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2135 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2136 * gdb.threads/signal-delivered-right-thread.c: New file.
2137 * gdb.threads/signal-delivered-right-thread.exp: New file.
2138
2139 2014-07-25 Pedro Alves <palves@redhat.com>
2140
2141 * gdb.base/double-prompt-target-event-error.exp
2142 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2143 match.
2144 (cancel_pagination_in_target_event): Rework double prompt
2145 detection.
2146 * gdb.base/paginate-after-ctrl-c-running.exp
2147 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2148 <return>' match.
2149 * gdb.base/paginate-bg-execution.exp
2150 (test_bg_execution_pagination_return)
2151 (test_bg_execution_pagination_cancel): Remove '-notransfer
2152 <return>' matches.
2153 * gdb.base/paginate-execution-startup.exp
2154 (test_fg_execution_pagination_return)
2155 (test_fg_execution_pagination_cancel): Remove '-notransfer
2156 <return>' matches.
2157 * gdb.base/paginate-inferior-exit.exp
2158 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2159 match.
2160 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2161 * lib/gdb.exp (pagination_prompt): Run text through
2162 string_to_regexp.
2163 (gdb_test_multiple): Match $pagination_prompt instead of
2164 "<return>".
2165 (string_to_regexp): Move to lib/gdb-utils.exp.
2166
2167 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2168
2169 * gdb.arch/amd64-entry-value-paramref.S: New file.
2170 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2171 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2172 * gdb.arch/amd64-optimout-repeat.S: New file.
2173 * gdb.arch/amd64-optimout-repeat.c: New file.
2174 * gdb.arch/amd64-optimout-repeat.exp: New file.
2175
2176 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2177
2178 PR gdb/17170
2179 * gdb.base/statistics.exp: New file.
2180
2181 2014-07-17 Doug Evans <dje@google.com>
2182
2183 PR gdb/17170
2184 * gdb.base/maint.exp: Update testing of per-command stats.
2185
2186 2014-07-16 Pedro Alves <palves@redhat.com>
2187
2188 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2189 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2190 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2191 (tfile_write_buf): New functions.
2192 (add_memory_block): Rewrite using the above.
2193 (adjust_function_address): New function.
2194 (FUNCTION_ADDRESS): New macro.
2195 (write_basic_trace_file): Remove short_x local, and use
2196 tfile_write_16. Change type of func_addr local to unsigned long
2197 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2198 here. Cast argument of add_memory_block to char pointer.
2199 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2200 (main): Remove parameters.
2201 * gdb.trace/tfile.exp: Remove nowarnings.
2202
2203 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2204
2205 * gdb.base/debug-expr.exp: Test string evaluation with
2206 "debug expression" on.
2207
2208 2014-07-15 Pedro Alves <palves@redhat.com>
2209
2210 * gdb.base/reread.exp: Use clean_restart.
2211
2212 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2213
2214 * gdb.arch/avr-flash-qualifer.c: New.
2215 * gdb.arch/avr-flash-qualifer.exp: New.
2216
2217 2014-07-14 Pedro Alves <palves@redhat.com>
2218
2219 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2220 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2221
2222 2014-07-14 Pedro Alves <palves@redhat.com>
2223
2224 * gdb.base/double-prompt-target-event-error.c: New file.
2225 * gdb.base/double-prompt-target-event-error.exp: New file.
2226
2227 2014-07-14 Pedro Alves <palves@redhat.com>
2228
2229 PR gdb/17072
2230 * gdb.base/paginate-inferior-exit.c: New file.
2231 * gdb.base/paginate-inferior-exit.exp: New file.
2232
2233 2014-07-14 Pedro Alves <palves@redhat.com>
2234
2235 PR gdb/17072
2236 * gdb.base/paginate-bg-execution.c: New file.
2237 * gdb.base/paginate-bg-execution.exp: New file.
2238
2239 2014-07-14 Pedro Alves <palves@redhat.com>
2240
2241 PR gdb/17072
2242 * gdb.base/paginate-execution-startup.c: New file.
2243 * gdb.base/paginate-execution-startup.exp: New file.
2244 * lib/gdb.exp (pagination_prompt): New global.
2245 (default_gdb_spawn): New procedure, factored out from
2246 default_gdb_spawn.
2247 (default_gdb_start): Adjust to call default_gdb_spawn.
2248 (gdb_spawn): New procedure.
2249
2250 2014-07-14 Pedro Alves <palves@redhat.com>
2251
2252 * lib/gdb.exp (gdb_assert): New procedure.
2253 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2254
2255 2014-07-14 Pedro Alves <palves@redhat.com>
2256
2257 * gdb.base/execution-termios.c: New file.
2258 * gdb.base/execution-termios.exp: New file.
2259
2260 2014-07-14 Tom Tromey <tromey@redhat.com>
2261
2262 * gdb.cp/vla-cxx.cc: New file.
2263 * gdb.cp/vla-cxx.exp: New file.
2264
2265 2014-07-14 Tom Tromey <tromey@redhat.com>
2266
2267 * gdb.reverse/rerun-prec.c: New file.
2268 * gdb.reverse/rerun-prec.exp: New file.
2269
2270 2014-07-12 Maciej W. Rozycki <macro@mips.com>
2271 Maciej W. Rozycki <macro@codesourcery.com>
2272
2273 * lib/gdb-utils.exp: New file.
2274 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2275 inline `gdb_init_command' processing.
2276 (gdb_start_cmd): Likewise.
2277 * lib/mi-support.exp (mi_run_cmd): Likewise.
2278 * README: Document `gdb_init_command' and `gdb_init_commands'.
2279
2280 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2281
2282 Fix false FAIL running under a very long directory name.
2283 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2284 and "set print elements 10000". Twice.
2285
2286 2014-07-11 Yao Qi <yao@codesourcery.com>
2287
2288 * gdb.base/exprs.exp: "set print symbol off".
2289
2290 2014-07-11 Pedro Alves <palves@redhat.com>
2291
2292 * gdb.threads/kill.c: New file.
2293 * gdb.threads/kill.exp: New file.
2294
2295 2014-07-10 Yao Qi <yao@codesourcery.com>
2296
2297 * gdb.trace/tfile.c (write_basic_trace_file)
2298 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2299 address written to trace file.
2300
2301 2014-07-09 Pedro Alves <palves@redhat.com>
2302
2303 * gdb.base/attach-wait-input.exp: New file.
2304 * gdb.base/attach-wait-input.c: New file.
2305
2306 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2307
2308 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2309 setting up test structures.
2310 (main): Call new test function.
2311 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2312 test function, continue into test function and walk test
2313 structures.
2314
2315 2014-07-02 Yao Qi <yao@codesourcery.com>
2316
2317 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2318 'bar_start' at the beginning of functions 'foo' and 'bar'
2319 respectively.
2320 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2321 instead of 'foo' and 'bar'.
2322
2323 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2324
2325 * gdb.btrace/segv.exp: New.
2326 * gdb.btrace/segv.c: New.
2327
2328 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
2329
2330 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2331 instruction.
2332
2333 2014-06-30 Mark Wielaard <mjw@redhat.com>
2334
2335 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2336 vulture, vilify, villar): New volatile array constants.
2337 (vindictive, vegetation): New const volatile array constants.
2338 * gdb.base/volatile.exp: Test volatile and const volatile array
2339 types.
2340
2341 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2342
2343 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2344 target lacks support for awatch, rwatch, or hbreak.
2345
2346 2014-06-27 Yao Qi <yao@codesourcery.com>
2347
2348 * gdb.multi/dummy-frame-restore.exp: New.
2349 * gdb.multi/dummy-frame-restore.c: New.
2350
2351 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2352
2353 * gdb.btrace/gcore.exp: New.
2354
2355 2014-06-23 Pedro Alves <palves@redhat.com>
2356
2357 * gdb.base/watchpoint-reuse-slot.c: New file.
2358 * gdb.base/watchpoint-reuse-slot.exp: New file.
2359
2360 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2361
2362 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2363 progspace's filename in 'info', 'enable' and 'disable' command
2364 tests.
2365
2366 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2367
2368 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2369 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2370 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2371
2372 2014-06-20 Gary Benson <gbenson@redhat.com>
2373
2374 * gdb.arch/i386-avx.exp: Fix include file location.
2375 * gdb.arch/i386-sse.exp: Likewise.
2376
2377 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2378
2379 * gdb.dlang/expression.exp: New file.
2380
2381 2014-06-19 Pedro Alves <palves@redhat.com>
2382
2383 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2384 out from ...
2385 (top level): ... here. Iterate running tests under different
2386 scheduler-locking settings.
2387
2388 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
2389
2390 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2391 to DW_FORM_addr and use non-zero addresses.
2392
2393 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2394
2395 PR gdb/17017
2396 * gdb.python/py-xmethods.cc: Add global function call counters and
2397 increment them in their respective functions. Remove "cout"
2398 statements.
2399 * gdb.python/py-xmethods.exp: Make tests check the global function
2400 call counters instead of depending on inferior IO.
2401
2402 2014-06-18 Don Breazeal <donb@codesourcery.com>
2403
2404 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2405 Deleted procedure.
2406 (explicit_fork_parent_follow): Deleted procedure.
2407 (explicit_fork_child_follow): Deleted procedure.
2408 (test_follow_fork): New procedure.
2409 (do_fork_tests): Replace calls to deleted procedures with
2410 calls to test_follow_fork and reset GDB for subsequent
2411 procedure calls.
2412
2413 2014-06-17 Yao Qi <yao@codesourcery.com>
2414
2415 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2416 CP1252.
2417
2418 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
2419
2420 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2421 Initialize ptr and S explicitly.
2422 (skip_type_update_when_not_use_rtti_test): Likewise.
2423
2424 2014-06-16 Keith Seitz <keiths@redhat.com>
2425
2426 PR mi/15863
2427 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2428 the inferior is started.
2429
2430 2014-06-16 Pedro Alves <palves@redhat.com>
2431
2432 * gdb.base/break-main-file-remove-fail.c: New file.
2433 * gdb.base/break-main-file-remove-fail.exp: New file.
2434 * gdb.base/break-unload-file.exp: Use build_executable instead of
2435 prepare_for_testing.
2436 (test_break): New parameter "initial_load". Handle it.
2437 (top level): Add initial_load cmdline/file axis.
2438
2439 2014-06-12 Tom Tromey <tromey@redhat.com>
2440
2441 * gdb.base/completion.exp: Don't use directory name in test.
2442
2443 2014-06-09 Gary Benson <gbenson@redhat.com>
2444
2445 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2446 separate the always-available ANSI-standard signals from the
2447 signals that require checking.
2448 (main): Likewise.
2449 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2450 Likewise.
2451 (main): Likewise.
2452
2453 2014-06-07 Keith Seitz <keiths@redhat.com>
2454
2455 Revert:
2456 PR c++/16253
2457 * gdb.cp/var-tag.cc: New file.
2458 * gdb.cp/var-tag.exp: New file.
2459 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2460 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2461 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2462 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2463
2464 2014-06-06 Doug Evans <xdje42@gmail.com>
2465
2466 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2467
2468 2014-06-06 Pedro Alves <palves@redhat.com>
2469
2470 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2471 in target debug output instead of looking at RSP packets,
2472 disabling the test on any target that uses hardware stepping.
2473 Update comments.
2474
2475 2014-06-06 Pedro Alves <palves@redhat.com>
2476
2477 * gdb.base/break-unload-file.exp: Fix typo.
2478
2479 2014-06-06 Yao Qi <yao@codesourcery.com>
2480
2481 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2482 from "jit_function" to "^jit_function".
2483
2484 2014-06-06 Yao Qi <yao@codesourcery.com>
2485
2486 * gdb.base/async.c (foo): Add one statement.
2487 * gdb.base/async.exp: Get the next instruction address and
2488 match the output of "nexti" by instruction address. Match
2489 the hex address in the output of "finish".
2490
2491 2014-06-06 Gary Benson <gbenson@redhat.com>
2492
2493 * gdb.base/call-signals.c: Remove preprocessor conditionals
2494 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2495 SIGSEGV and SIGTERM.
2496 * gdb.base/sigall.c: Likewise.
2497 * gdb.base/unwindonsignal.c: Likewise.
2498 * gdb.reverse/sigall-reverse.c: Likewise.
2499
2500 2014-06-06 Yao Qi <yao@codesourcery.com>
2501
2502 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2503 readable, skip the test.
2504
2505 2014-06-06 Yao Qi <yao@codesourcery.com>
2506
2507 * gdb.threads/staticthreads.c (thread_function): Move the line
2508 setting breakpoint on forward.
2509 * gdb.threads/staticthreads.exp: Update comments.
2510
2511 2014-06-05 Ludovic Courtès <ludo@gnu.org>
2512
2513 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2514 "history-append! type error".
2515
2516 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2517
2518 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2519 erroneous dprintf expected input.
2520
2521 2014-06-04 Doug Evans <xdje42@gmail.com>
2522
2523 * gdb.guile/scm-generics.exp: Delete.
2524
2525 2014-06-04 Doug Evans <xdje42@gmail.com>
2526
2527 * gdb.guile/scm-breakpoint.exp: Update.
2528 Add tests for breakpoint registration.
2529
2530 2014-06-04 Tom Tromey <tromey@redhat.com>
2531
2532 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2533 VLA-in-union.
2534 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2535 inner_vla_struct, vla_union types. Initialize objects of those
2536 types and compute their sizes.
2537
2538 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2539 Hui Zhu <hui@codesourcery.com>
2540
2541 * gdb.base/fileio.exp: Add test for shell not available as well as
2542 available.
2543 * gdb.base/fileio.c (test_system): Check for shell twice.
2544
2545 2014-06-04 Yao Qi <yao@codesourcery.com>
2546
2547 * gdb.base/auto-connect-native-target.exp: Remove redundant
2548 space from the regexp pattern.
2549
2550 2014-06-04 Yao Qi <yao@codesourcery.com>
2551
2552 * gdb.base/default.exp: Replace "child" with "native" in
2553 regexp pattern.
2554
2555 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2556
2557 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2558 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2559 * gdb.python/py-xmethods.py: Python script supporting the
2560 new testcase and tests.
2561
2562 2014-06-03 Joel Brobecker <brobecker@adacore.com>
2563 Pedro Alves <palves@redhat.com>
2564
2565 PR breakpoints/17000
2566 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2567 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2568
2569 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2570
2571 * gdb.base/subst.exp: Add tests to verify partial path matching
2572 output.
2573
2574 2014-06-03 Pedro Alves <palves@redhat.com>
2575
2576 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2577 target that doesn't use software single-stepping.
2578
2579 2014-06-03 Pedro Alves <palves@redhat.com>
2580
2581 PR breakpoints/17000
2582 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2583 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2584
2585 2014-06-02 Doug Evans <xdje42@gmail.com>
2586
2587 * gdb.guile/scm-parameter.exp: New file.
2588
2589 2014-06-02 Doug Evans <xdje42@gmail.com>
2590
2591 * gdb.guile/scm-cmd.c: New file.
2592 * gdb.guile/scm-cmd.exp: New file.
2593
2594 2014-06-02 Doug Evans <xdje42@gmail.com>
2595
2596 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2597 pretty-printer lookup.
2598 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2599 (make-pp_s-printer): Call it.
2600 (make-pretty-printer-from-dict): New function.
2601 (lookup-pretty-printer-maker-from-dict): New function.
2602 (*pretty-printer*): Simplify.
2603 (make-objfile-pp_s-printer): New function.
2604 (install-objfile-pretty-printers!): New function.
2605 (make-progspace-pp_s-printer): New function.
2606 (install-progspace-pretty-printers!): New function.
2607 * gdb.guile/scm-progspace.c: New file.
2608 * gdb.guile/scm-progspace.exp: New file.
2609
2610 2014-06-02 Pedro Alves <palves@redhat.com>
2611
2612 * gdb.base/dprintf-bp-same-addr.c: New file.
2613 * gdb.base/dprintf-bp-same-addr.exp: New file.
2614
2615 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2616
2617 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2618 * gdb.arch/powerpc-power.s: Likewise.
2619
2620 2014-06-02 Joel Brobecker <brobecker@adacore.com>
2621
2622 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2623
2624 2014-06-01 Yao Qi <yao@codesourcery.com>
2625
2626 * gdb.base/watchpoint.exp (test_watch_location): Check null
2627 pointer can be dereferenced. If not, do the test, otherwise
2628 skip it.
2629
2630 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2631
2632 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2633 results.
2634 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2635
2636 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2637
2638 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2639 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2640 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2641 * gdb.arch/amd64-invalid-stack-top.c: New file.
2642 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2643
2644 2014-05-30 Pedro Alves <palves@redhat.com>
2645
2646 PR breakpoints/17000
2647 * gdb.base/sss-bp-on-user-bp.c: New file.
2648 * gdb.base/sss-bp-on-user-bp.exp: New file.
2649
2650 2014-05-30 David Blaikie <dblaikie@gmail.com>
2651
2652 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2653 gnu_inline semantics via attribute.
2654 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2655 source explicitly specifies the required semantics.
2656
2657 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2658
2659 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2660
2661 2014-05-29 Pedro Alves <palves@redhat.com>
2662 Tom Tromey <tromey@redhat.com>
2663
2664 * gdb.base/async-shell.exp: Don't enable target-async.
2665 * gdb.base/async.exp
2666 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2667 parameter. Adjust.
2668 (top level): Don't test with "target-async".
2669 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2670 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2671 * gdb.base/inferior-died.exp: Don't enable target-async.
2672 * gdb.base/interrupt-noterm.exp: Likewise.
2673 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2674 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2675 * gdb.mi/mi-nonstop.exp: Likewise.
2676 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2677 * gdb.mi/mi-nsintrall.exp: Likewise.
2678 * gdb.mi/mi-nsmoribund.exp: Likewise.
2679 * gdb.mi/mi-nsthrexec.exp: Likewise.
2680 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2681 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2682 * gdb.python/py-evsignal.exp: Don't enable target-async.
2683 * gdb.python/py-evthreads.exp: Likewise.
2684 * gdb.python/py-prompt.exp: Likewise.
2685 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2686 * gdb.server/solib-list.exp: Don't enable target-async.
2687 * gdb.threads/thread-specific-bp.exp: Likewise.
2688 * lib/mi-support.exp: Adjust to use mi-async.
2689
2690 2014-05-29 Pedro Alves <palves@redhat.com>
2691
2692 PR gdb/13860
2693 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2694 reason, even in sync mode.
2695
2696 2014-05-29 Pedro Alves <palves@redhat.com>
2697 Hui Zhu <hui@codesourcery.com>
2698
2699 PR PR15693
2700 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2701 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2702 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2703 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2704
2705 2014-05-28 Joel Brobecker <brobecker@adacore.com>
2706
2707 * config/monitor.exp (gdb_target_monitor): Replace use of
2708 "set remotebaud" by "set serial baud".
2709
2710 2014-05-26 Andy Wingo <wingo@igalia.com>
2711
2712 * gdb.guile/scm-breakpoint.exp:
2713 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2714 properties instead of gdb-object-properties.
2715
2716 2014-05-26 Yao Qi <yao@codesourcery.com>
2717
2718 * gdb.server/no-thread-db.exp: Specify source file name
2719 explicitly when setting a breakpoint.
2720
2721 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2722
2723 * gdb.btrace/vdso.c: New.
2724 * gdb.btrace/vdso.exp: New.
2725
2726 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2727
2728 * gdb.base/gcore.exp (capture_command_output): Move ...
2729 * lib/gdb.exp (capture_command_output): ... here.
2730
2731 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2732
2733 * gdb.btrace/data.exp: Test memory access during btrace replay.
2734
2735 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2736
2737 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2738
2739 2014-05-21 Pedro Alves <palves@redhat.com>
2740
2741 PR gdb/13860
2742 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2743 (top level): Test that output related to execution commands is
2744 sent to the console with CLI commands, but not with MI commands.
2745 Test that breakpoint events are always mirrored to the console.
2746 Also expect the new source line to be output after a "next" in
2747 async mode too. Make it a pass/fail test.
2748 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2749 output.
2750 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2751
2752 2014-05-21 Pedro Alves <palves@redhat.com>
2753
2754 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2755 Use them to test variations of "list" after reaching a breakpoint.
2756 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2757 Test "list" with listsize 10 after reaching a breakpoint.
2758 * gdb.python/python.exp (decode_line current location line
2759 number): Adjust expected line number.
2760
2761 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2762
2763 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2764 behavior for $args, pass it directly to "run".
2765
2766 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2767
2768 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2769 30000 to 65536.
2770
2771 2014-05-21 Pedro Alves <palves@redhat.com>
2772
2773 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2774 auto-connect-native-target off".
2775 * gdb.base/auto-connect-native-target.c: New file.
2776 * gdb.base/auto-connect-native-target.exp: New file.
2777
2778 2014-05-21 Pedro Alves <palves@redhat.com>
2779
2780 * gdb.base/default.exp: Test "target native" instead of "target
2781 child".
2782
2783 2014-05-21 Mark Wielaard <mjw@redhat.com>
2784
2785 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2786
2787 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2788
2789 Fix TLS access for -static -pthread.
2790 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2791 <HAVE_TLS> (thread_function, main): Initialize it.
2792 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2793 Add clean_restart.
2794 <$have_tls != "">: Check TLSVAR.
2795
2796 2014-05-21 Pedro Alves <palves@redhat.com>
2797
2798 * gdb.base/dcache-line-read-error.c: New.
2799 * gdb.base/dcache-line-read-error.exp: New.
2800
2801 2014-05-20 Pedro Alves <palves@redhat.com>
2802
2803 * gdb.base/compare-sections.c: New file.
2804 * gdb.base/compare-sections.exp: New file.
2805
2806 2014-05-20 Pedro Alves <palves@redhat.com>
2807
2808 * gdb.base/break-idempotent.c: New file.
2809 * gdb.base/break-idempotent.exp: New file.
2810
2811 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2812
2813 * gdb.btrace/nohist.exp: New.
2814
2815 2014-05-20 Yao Qi <yao@codesourcery.com>
2816
2817 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2818 gdb.reverse directory and gdb_reverse_timeout exists in board
2819 setting.
2820 * README: Document gdb_reverse_timeout.
2821
2822 2014-05-20 Yao Qi <yao@codesourcery.com>
2823
2824 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2825 'test_file_name'. Treat args as a string instead of a list.
2826 (gdb_init): Rename argument 'args' by 'test_file_name'.
2827
2828 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2829
2830 * gdb.arch/powerpc-power.exp: New file.
2831 * gdb.arch/powerpc-power.s: New file.
2832
2833 2014-05-16 Doug Evans <dje@google.com>
2834
2835 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2836 * gdb.base/completion.exp: Check that all expected files exist
2837 before doing file completion.
2838
2839 2014-05-16 Doug Evans <dje@google.com>
2840
2841 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2842 Update.
2843 (do_syscall_tests_without_xml): Update.
2844
2845 2014-05-16 Pedro Alves <palves@redhat.com>
2846
2847 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2848 instead of "unknown output after running".
2849
2850 2014-05-16 Yao Qi <yao@codesourcery.com>
2851
2852 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2853 file1.txt from host at the end.
2854 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2855
2856 2014-05-15 Doug Evans <dje@google.com>
2857
2858 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2859 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2860 loading file. Add test for TU lookup.
2861
2862 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2863
2864 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2865 calling "-exec-arguments" or "set args" before running the
2866 inferior.
2867
2868 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2869
2870 * lib/mi-support.exp (mi_expect_stop): Expect message for
2871 inferiors that exit with non-zero exit code.
2872
2873 2014-05-14 Yao Qi <yao@codesourcery.com>
2874
2875 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2876 match absolute path on remote host.
2877 (test_file_list_exec_source_files): Remove "/" from the
2878 pattern.
2879
2880 2014-05-14 Yao Qi <yao@codesourcery.com>
2881
2882 * boards/local-remote-host-notty.exp (${board}_file): New
2883 proc.
2884
2885 2014-05-07 Kyle McMartin <kyle@redhat.com>
2886
2887 Pushed by Joel Brobecker <brobecker@adacore.com>.
2888 * gdb.arch/aarch64-atomic-inst.c: New file.
2889 * gdb.arch/aarch64-atomic-inst.exp: New file.
2890
2891 2014-05-07 Yao Qi <yao@codesourcery.com>
2892
2893 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2894 in current context" too.
2895
2896 2014-05-05 Keith Seitz <keiths@redhat.com>
2897
2898 * gdb.linespec/ls-dollar.exp: Add test for linespec
2899 file:convenience_variable.
2900
2901 2014-05-05 Yao Qi <yao@codesourcery.com>
2902
2903 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2904 traceframes into tfile and ctf trace files. Read data from
2905 trace file and test collected data.
2906 (gdb_collect_locals_test): Likewise.
2907 (gdb_unavailable_registers_test): Likewise.
2908 (gdb_unavailable_floats): Likewise.
2909 (gdb_collect_globals_test): Likewise.
2910 (top-level): Append "ctf" to trace_file_targets if GDB
2911 supports.
2912
2913 2014-05-05 Yao Qi <yao@codesourcery.com>
2914
2915 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2916 code to ...
2917 (gdb_collect_args_test_1): ... it. New proc.
2918 (gdb_collect_locals_test): Move some code to ...
2919 (gdb_collect_locals_test_1): ... it. New proc.
2920 (gdb_unavailable_registers_test): Move some code to ...
2921 (gdb_unavailable_registers_test_1): ... it. New proc.
2922 (gdb_unavailable_floats): Move some code to ...
2923 (gdb_unavailable_floats_1): ... it. New proc.
2924
2925 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2926
2927 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2928 probes to test for bitness recognition.
2929 * gdb.arch/amd64-stap-optional-prefix.exp
2930 (test_probe_value_without_reg): New procedure.
2931 Add code to test for different kinds of bitness.
2932
2933 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2934
2935 PR breakpoints/16889
2936 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2937 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2938
2939 2014-05-01 Pedro Alves <palves@redhat.com>
2940
2941 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2942 gdb_file_cmd if no file is specified.
2943 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2944 last_loaded_file to set the remote exec-file.
2945
2946 2014-05-01 Pedro Alves <palves@redhat.com>
2947
2948 * boards/local-remote-host.exp: New file.
2949
2950 2014-05-01 Pedro Alves <palves@redhat.com>
2951
2952 * boards/local-remote-host.exp: Rename to ...
2953 * boards/local-remote-host-notty.exp: ... this.
2954
2955 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2956
2957 * gdb.ada/dyn_arrayidx: New testcase.
2958
2959 2014-04-26 Yao Qi <yao@codesourcery.com>
2960
2961 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2962 and compute the length of function main. Save it in
2963 $main_length.
2964 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2965 (top-level): Use gdb_compile to compile objects into
2966 executable and restart GDB. Remove invocation to
2967 prepare_for_testing.
2968
2969 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2970 Pedro Alves <palves@redhat.com>
2971
2972 PR server/16255
2973 * gdb.multi/multi-attach.c: New file.
2974 * gdb.multi/multi-attach.exp: New file.
2975
2976 2014-04-25 Pedro Alves <palves@redhat.com>
2977
2978 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2979 user.
2980 (top level): Test that "set remote conditional-breakpoints-packet
2981 off" works as intended.
2982 * gdb.base/dprintf.exp: Test that "set remote
2983 breakpoint-commands-packet off" works as intended.
2984 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2985 New function.
2986 (top level): Call it.
2987 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2988 remote fast-tracepoints-packet off" works as intended.
2989 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2990 * lib/gdb.exp (gdb_is_target_remote): ... here.
2991
2992 2014-04-24 David Blaikie <dblaikie@gmail.com>
2993
2994 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2995 ensure clang would not discard them.
2996 * gdb.base/gdbvars.c: Ditto.
2997 * gdb.base/memattr.c: Ditto.
2998 * gdb.base/whatis.c: Ditto.
2999 * gdb.python/py-prettyprint.c: Ditto.
3000 * gdb.trace/actions.c: Ditto.
3001 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3002 ensure clang would not discard it.
3003
3004 2014-04-24 David Blaikie <dblaikie@gmail.com>
3005
3006 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3007 clang to emit the full definition of type required by the test
3008 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3009
3010 2014-04-24 David Blaikie <dblaikie@gmail.com>
3011
3012 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3013 coax Clang into emitting the definition of the type.
3014 * gdb.cp/pr10728-x.h (y): Ditto.
3015 * gdb.cp/pr10728-y.cc (y): Ditto.
3016
3017 2014-04-24 David Blaikie <dblaikie@gmail.com>
3018
3019 * gdb.base/label.exp: XFAIL label related tests under Clang.
3020 * gdb.cp/cplabel.exp: Ditto.
3021 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3022 under Clang those using labels.
3023
3024 2014-04-25 Yao Qi <yao@codesourcery.com>
3025
3026 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3027 double_label.
3028 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3029 partial_label and double_label.
3030
3031 2014-04-24 David Blaikie <dblaikie@gmail.com>
3032
3033 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3034
3035 2014-04-24 David Blaikie <dblaikie@gmail.com>
3036
3037 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3038 of the function to work across GCC and Clang.
3039 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3040 pointer types (const void ** const V void **).
3041
3042 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3043 Walfred Tedeschi <walfred.tedeschi@intel.com>
3044
3045 * Makefile.in (EXECUTABLES): Added i386-avx512.
3046 * gdb.arch/i386-avx512.c: New file.
3047 * gdb.arch/i386-avx512.exp: Likewise.
3048
3049 2014-04-23 Keith Seitz <keiths@redhat.com>
3050
3051 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3052 (mi_make_breakpoint_table): New procedure.
3053 (mi_create_breakpoint): Use mi_make_breakpoint
3054 and return the result.
3055 (mi_make_breakpoint): New procedure.
3056 (mi_build_kv_pairs): New procedure.
3057
3058 * gdb.mi/mi-break.exp: Remove unused globals,
3059 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3060 All callers updated.
3061 * gdb.mi/mi-dprintf.exp: Use variable to track command
3062 number.
3063 Update all callers of mi_create_breakpoint and use
3064 mi_make_breakpoint_table.
3065 Remove any unused global variables.
3066 * gdb.mi/mi-nonstop.exp: Likewise.
3067 * gdb.mi/mi-nsintrall.exp: Likewise.
3068 * gdb.mi/mi-nsmoribund.exp: Likewise.
3069 * gdb.mi/mi-nsthrexec.exp: Likewise.
3070 * gdb.mi/mi-reverse.exp: Likewise.
3071 * gdb.mi/mi-simplerun.exp: Likewise.
3072 * gdb.mi/mi-stepn.exp: Likewise.
3073 * gdb.mi/mi-syn-frame.exp: Likewise.
3074 * gdb.mi/mi-until.exp: Likewise.
3075 * gdb.mi/mi-var-cp.exp: Likewise.
3076 * gdb.mi/mi-var-display.exp: Likewise.
3077 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3078 * gdb.mi/mi2-var-child.exp: Likewise.
3079 * gdb.mi/mi-vla-c99.exp: Likewise.
3080 * lib/mi-support.exp: Likewise.
3081
3082 From Ian Lance Taylor <iant@cygnus.com>:
3083 * lib/gdb.exp (parse_args): New procedure.
3084
3085 2014-04-23 Pedro Alves <palves@redhat.com>
3086
3087 * gdb.base/break-unload-file.c: New file.
3088 * gdb.base/break-unload-file.exp: New file.
3089 * gdb.base/sym-file-lib.c (baz): New function.
3090 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3091 field.
3092 (load): Store the segment's mapped size.
3093 (unload): New function.
3094 (unload_shlib): New function.
3095 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3096 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3097 set a breakpoint at baz, and call it.
3098 * gdb.base/sym-file.exp: New tests for stale breakpoint
3099 instructions.
3100
3101 2014-04-23 Pedro Alves <palves@redhat.com>
3102
3103 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3104 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3105 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3106 * gdb.base/hbreak-unmapped.c: New file.
3107 * gdb.base/hbreak-unmapped.exp: New file.
3108 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3109 * lib/gdb.exp (gdb_is_target_remote): ... here.
3110
3111 2014-04-22 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.base/consecutive-step-over.c: New file.
3114 * gdb.base/consecutive-step-over.exp: New file.
3115
3116 2014-04-22 Pedro Alves <palves@redhat.com>
3117
3118 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3119 instead of send_gdb/gdb_expect.
3120
3121 2014-04-22 Yao Qi <yao@codesourcery.com>
3122
3123 * lib/trace-support.exp (generate_tracefile): New procedure.
3124 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3125 return 0.
3126 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3127 if generate_tracefile returns 1.
3128
3129 2014-04-18 Tom Tromey <palves@redhat.com>
3130 Pedro alves <tromey@redhat.com>
3131
3132 PR backtrace/15558
3133 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3134 with a backtrace limit.
3135 * gdb.python/py-frame-inline.exp: Test running to an inline
3136 function with a backtrace limit, and printing the newest frame.
3137 * gdb.python/py-frame-inline.c (main): Call f.
3138
3139 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3140
3141 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3142
3143 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3144
3145 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3146 Drop prefix from unsupported source file path.
3147
3148 2014-04-17 Yao Qi <yao@codesourcery.com>
3149
3150 * lib/gdb.exp (with_target_charset): New proc.
3151 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3152 with_target_charset.
3153 (test_print_strings): Likewise.
3154 (test_repeat_bytes): Likewise.
3155 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3156 for some tests.
3157
3158 2014-04-16 Keith Seitz <keiths@redhat.com>
3159
3160 PR gdb/15827
3161 * gdb.dwarf2/corrupt.c: New file.
3162 * gdb.dwarf2/corrupt.exp: New file.
3163
3164 2014-04-16 Keith Seitz <keiths@redhat.com>
3165
3166 PR c++/16597
3167 * gdb.cp/namelessclass.cc: New file.
3168 * gdb.cp/namelessclass.exp: New file.
3169 * gdb.cp/namelessclass.S: New file.
3170
3171 2014-04-16 Doug Evans <dje@google.com>
3172
3173 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3174 Add comment.
3175 (gdbserver_default_get_comm_port): New function.
3176 (gdbserver_start): Check if board file provided
3177 "gdbserver,get_comm_port" and use it if so.
3178 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3179 (gdb,socketport): Set to "stdio".
3180 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3181 (stdio_gdbserver_template): Delete.
3182 (${board}_get_remote_address): Update.
3183 (${board}_build_remote_cmd): Delete.
3184 (${board}_get_comm_port): New function.
3185 (${board}_spawn): Update.
3186 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3187 Delete.
3188 (${board}_get_remote_address): Update.
3189 (${board}_get_comm_port): New function.
3190
3191 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
3192
3193 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3194 appearing in any order.
3195
3196 2014-04-15 Doug Evans <dje@google.com>
3197
3198 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3199 uninitialized value of "description".
3200
3201 2014-04-15 Keith Seitz <keiths@redhat.com>
3202
3203 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3204 Remove unused globals.
3205 (test_running_the_program): Likewise.
3206 (test_controlled_execution): Likewise.
3207 (test_controlling_breakpoints): Likewise.
3208 (test_program_termination): Likewise.
3209
3210 2014-04-15 Keith Seitz <keiths@redhat.com>
3211
3212 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3213 unused globals.
3214 (test_rbreak_creation_and_listing): Likewise.
3215 (test_ignore_count): Likewise.
3216 (test_error): Likewise.
3217
3218 2014-04-15 Pedro Alves <palves@redhat.com>
3219
3220 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3221 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3222 sym-file-loader.c.
3223 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3224 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3225 to sym-file-loader.c.
3226 (struct library): Forward declare.
3227 (load_shlib, lookup_function): Change prototypes.
3228 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3229 (translate_offset): Remove declarations.
3230 (get_text_addr): New declaration.
3231 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3232 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3233 sym-file-loader.h.
3234 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3235 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3236 here from sym-file-loader.h.
3237 (struct library): New structure.
3238 (load_shlib, lookup_function): Change prototypes and adjust to
3239 work with a struct library.
3240 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3241 (translate_offset): Make static.
3242 (get_text_addr): New function.
3243 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3244
3245 2014-04-15 Pedro Alves <palves@redhat.com>
3246
3247 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3248
3249 2014-04-15 Pedro Alves <palves@redhat.com>
3250
3251 * gdb.base/sym-file-loader.c: Include <limits.h>.
3252 (SELF_LINK): New define.
3253 (get_origin): New function.
3254 (load_shlib): Use it.
3255 * gdb.base/sym-file.exp: Don't early return if the target is
3256 remote. Use runto_main, and issue fail is that fails. Use
3257 gdb_load_shlibs.
3258 (shlib_name): Delete.
3259 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3260
3261 2014-04-15 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.base/sym-file.exp: Remove regex characters from test
3264 message. Don't refer to breakpoint numbers in test messages.
3265
3266 2014-04-14 Keith Seitz <keiths@redhat.com>
3267
3268 PR c++/16253
3269 * gdb.cp/var-tag.cc: New file.
3270 * gdb.cp/var-tag.exp: New file.
3271 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3272 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3273 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3274 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3275
3276 2014-04-14 Tom Tromey <tromey@redhat.com>
3277
3278 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3279 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3280 type.
3281 * gdb.cp/enum-class.exp: New file.
3282 * gdb.cp/enum-class.cc: New file.
3283
3284 2014-04-14 Tom Tromey <tromey@redhat.com>
3285
3286 * gdb.dwarf2/enum-type.exp: New file.
3287
3288 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3289
3290 * gdb.mi/mi-vla-c99.exp: New file.
3291 * gdb.mi/vla.c: New file.
3292
3293 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3294
3295 * gdb.base/vla-datatypes.c: New file.
3296 * gdb.base/vla-datatypes.exp: New file.
3297
3298 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3299
3300 * gdb.base/vla-ptr.c: New file.
3301 * gdb.base/vla-ptr.exp: New file.
3302
3303 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3304
3305 * gdb.dwarf2/count.exp: New file.
3306
3307 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3308
3309 * gdb.base/vla-sideeffect.c: New file.
3310 * gdb.base/vla-sideeffect.exp: New file.
3311
3312 2014-04-14 David Blaikie <dblaikie@gmail.com>
3313
3314 * gdb.mi/non-stop.c: Add return value for non-void function return
3315 statement.
3316 * gdb.threads/staticthreads.c: Ditto.
3317
3318 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3319 Doug Evans <xdje42@gmail.com>
3320
3321 * gdb.guile/scm-value.c: Improve test case.
3322 * gdb.guile/scm-value.exp: Add new test.
3323
3324 2014-04-11 David Blaikie <dblaikie@gmail.com>
3325
3326 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3327 override Clang's default.
3328
3329 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3330
3331 Revert the following changes (regressions):
3332
3333 * gdb.base/vla-sideeffect.c: New file.
3334 * gdb.base/vla-sideeffect.exp: New file.
3335
3336 * gdb.dwarf2/count.exp: New file.
3337
3338 * gdb.base/vla-multi.c: New file.
3339 * gdb.base/vla-multi.exp: New file.
3340
3341 * gdb.base/vla-ptr.c: New file.
3342 * gdb.base/vla-ptr.exp: New file.
3343
3344 * gdb.base/vla-datatypes.c: New file.
3345 * gdb.base/vla-datatypes.exp: New file.
3346
3347 * gdb.mi/mi-vla-c99.exp: New file.
3348 * gdb.mi/vla.c: New file.
3349
3350 2014-04-11 Keith Seitz <keiths@redhat.com>
3351
3352 PR c++/16675
3353 * gdb.cp/cpsizeof.exp: New file.
3354 * gdb.cp/cpsizeof.cc: New file.
3355
3356 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3357
3358 * gdb.mi/mi-vla-c99.exp: New file.
3359 * gdb.mi/vla.c: New file.
3360
3361 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3362
3363 * gdb.base/vla-datatypes.c: New file.
3364 * gdb.base/vla-datatypes.exp: New file.
3365
3366 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3367
3368 * gdb.base/vla-ptr.c: New file.
3369 * gdb.base/vla-ptr.exp: New file.
3370
3371 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3372
3373 * gdb.base/vla-multi.c: New file.
3374 * gdb.base/vla-multi.exp: New file.
3375
3376 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3377
3378 * gdb.dwarf2/count.exp: New file.
3379
3380 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3381
3382 * gdb.base/vla-sideeffect.c: New file.
3383 * gdb.base/vla-sideeffect.exp: New file.
3384
3385 2014-04-11 Yao Qi <yao@codesourcery.com>
3386
3387 * gdb.base/completion.exp: Check file exists before running tests
3388 on file completion.
3389
3390 2014-04-10 Pedro Alves <palves@redhat.com>
3391
3392 * gdb.base/cond-eval-mode.c: New file.
3393 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3394 prepare_for_testing to build the new file. Check result of
3395 runto_main.
3396 (test_break, test_watch): New procedures.
3397 (top level): Use them.
3398
3399 2014-04-08 Pierre Muller <muller@sourceware.org>
3400
3401 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3402 Ctrl-V use for mingw hosts.
3403
3404 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3405
3406 * gdb.python/py-value.c: Improve test case.
3407 * gdb.python/py-value.exp: Add new test.
3408
3409 2014-04-07 David Blaikie <dblaikie@gmail.com>
3410
3411 * lib/compiler.c: Identify the clang compiler.
3412 * lib/compiler.cc: Ditto.
3413
3414 2014-04-03 Yao Qi <yao@codesourcery.com>
3415
3416 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3417
3418 2014-04-01 Anton Blanchard <anton@samba.org>
3419
3420 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3421 messages unique.
3422
3423 2014-04-01 Anton Blanchard <anton@samba.org>
3424
3425 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3426 prepare_for_testing.
3427
3428 2014-04-01 Anton Blanchard <anton@samba.org>
3429
3430 * gdb.arch/ppc64-atomic-inst.c: Remove.
3431 * gdb.arch/ppc64-atomic-inst.S: New file.
3432 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3433
3434 2014-03-31 Doug Evans <dje@google.com>
3435
3436 * gdb.base/print-symbol-loading-lib.c: New file.
3437 * gdb.base/print-symbol-loading-main.c: New file.
3438 * gdb.base/print-symbol-loading.exp: New file.
3439
3440 2014-03-31 Yao Qi <yao@codesourcery.com>
3441
3442 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3443
3444 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3445
3446 * gdb.ada/mi_dyn_arr: New testcase.
3447
3448 2014-03-27 Doug Evans <dje@google.com>
3449
3450 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3451
3452 2014-03-27 Yao Qi <yao@codesourcery.com>
3453
3454 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3455 if target is nios2-*-*.
3456
3457 2014-03-26 Yao Qi <yao@codesourcery.com>
3458
3459 * lib/gdb.exp (readline_is_used): New proc.
3460 * gdb.base/completion.exp: Move tests on command complete up.
3461 Skip the rest of tests if readline is not used.
3462 * gdb.ada/complete.exp: Skp the test if readline is not
3463 used.
3464 * gdb.base/filesym.exp: Likewise.
3465 * gdb.base/macscp.exp: Likewise.
3466 * gdb.base/readline-ask.exp: Likewise.
3467 * gdb.base/readline.exp: Likewise.
3468 * gdb.python/py-cmd.exp: Likewise.
3469 * gdb.trace/tfile.exp: Likewise.
3470
3471 2014-03-26 Yao Qi <yao@codesourcery.com>
3472
3473 * gdb.base/macscp.exp: Fix code format issues.
3474
3475 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3476
3477 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3478 * gdb.asm/powerpc64le.inc: New file.
3479
3480 2014-03-25 Pedro Alves <palves@redhat.com>
3481 Doug Evans <dje@google.com>
3482
3483 * gdb.base/source-execution.c: New file.
3484 * gdb.base/source-execution.exp: New file.
3485 * gdb.base/source-execution.gdb: New file.
3486
3487 2014-03-24 Doug Evans <dje@google.com>
3488
3489 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3490 using fission.
3491
3492 2014-03-24 Hui Zhu <hui@codesourcery.com>
3493 Pedro Alves <palves@redhat.com>
3494
3495 PR breakpoints/16101
3496 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3497 test pass/fail messages. Detect missing support for dprintf when
3498 breakpoints are actually inserted.
3499 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3500 breakpoints are actually inserted.
3501 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3502 fails.
3503
3504 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3505
3506 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3507
3508 2014-03-22 Doug Evans <xdje42@gmail.com>
3509
3510 * gdb.python/python.exp (python not supported): Verify multi-line
3511 python command issues an error.
3512 * gdb.guile/guile.exp (guile not supported): Verify multi-line
3513 guile command issues an error.
3514
3515 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3516
3517 * gdb.threads/thread-specific.exp: Handle the lack of usable
3518 $this_breakpoint and $this_thread.
3519
3520 2014-03-21 Hui Zhu <hui@codesourcery.com>
3521
3522 * gdb.base/attach.exp (do_command_attach_tests): New.
3523
3524 2014-03-20 Tom Tromey <tromey@redhat.com>
3525 Pedro Alves <palves@redhat.com>
3526
3527 PR cli/15718
3528 * gdb.base/condbreak-call-false.c: New file.
3529 * gdb.base/condbreak-call-false.exp: New file.
3530
3531 2014-03-20 Pedro Alves <palves@redhat.com>
3532
3533 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3534 Delete.
3535 (block_signals, unblock_signals): Delete.
3536 (child_function_2, main): Remove references to deleted variable
3537 and functions.
3538
3539 2014-03-20 Pedro Alves <palves@redhat.com>
3540
3541 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3542 Use pthread_kill to signal thread 2.
3543 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3544 Adjust to make the test send itself a signal rather than using the
3545 host's "kill" command.
3546
3547 2014-03-20 Pedro Alves <palves@redhat.com>
3548
3549 * gdb.threads/multiple-step-overs.c: New file.
3550 * gdb.threads/multiple-step-overs.exp: New file.
3551 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3552 Adjust expected infrun debug output.
3553
3554 2014-03-20 Pedro Alves <palves@redhat.com>
3555
3556 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3557 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3558
3559 2014-03-20 Pedro Alves <palves@redhat.com>
3560
3561 PR breakpoints/7143
3562 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3563 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3564 of gdb_test_multiple.
3565 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3566 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3567
3568 2014-03-20 Pedro Alves <palves@redhat.com>
3569
3570 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3571 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3572
3573 2014-03-19 Pedro Alves <palves@redhat.com>
3574
3575 * gdb.base/async.exp: Remove early return.
3576
3577 2014-03-19 Pedro Alves <palves@redhat.com>
3578
3579 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3580
3581 2014-03-19 Pedro Alves <palves@redhat.com>
3582
3583 * gdb.base/async.exp (test_background): Expect \r\n after
3584 "completed." in the fail pattern.
3585
3586 2014-03-19 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.base/async.exp (test_background): New procedure.
3589 Use it for all background execution command tests.
3590
3591 2014-03-19 Pedro Alves <palves@redhat.com>
3592
3593 * gdb.base/async.exp: Use prepare_for_testing.
3594
3595 2014-03-19 Pedro Alves <palves@redhat.com>
3596
3597 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3598 the same line.
3599
3600 2014-03-19 Pedro Alves <palves@redhat.com>
3601
3602 * gdb.base/async.c (main): Add "jump here" and "until here" line
3603 marker comments.
3604 * gdb.base/async.exp (jump_here): New global.
3605 (jump& test): Use it.
3606 (until_here): New global.
3607 (until& test): Use it.
3608
3609 2014-03-19 Pedro Alves <palves@redhat.com>
3610
3611 * gdb.base/async.exp: Don't frob gdb_protocol.
3612
3613 2014-03-18 Doug Evans <xdje42@gmail.com>
3614
3615 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3616 Fix spelling of exec-done-display.
3617
3618 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3619
3620 PR gdb/15358
3621 * gdb.base/gdb-sigterm.c: New file.
3622 * gdb.base/gdb-sigterm.exp: New file.
3623
3624 2014-03-18 Pedro Alves <palves@redhat.com>
3625
3626 PR gdb/13860
3627 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3628 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3629 solib-event.
3630
3631 2014-03-17 Joel Brobecker <brobecker@adacore.com>
3632
3633 * gdb.ada/pckd_arr_ren: New testcase.
3634
3635 2014-03-13 Doug Evans <xdje42@gmail.com>
3636
3637 PR guile/16612
3638 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3639 collect after discarding symbols.
3640
3641 2014-03-13 Ludovic Courtès <ludo@gnu.org>
3642 Doug Evans <xdje42@gmail.com>
3643
3644 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3645 to history survives a gc.
3646
3647 2014-03-13 Pedro Alves <palves@redhat.com>
3648
3649 * gdb.base/default.exp: Don't test "target procfs".
3650
3651 2014-03-13 Pedro Alves <palves@redhat.com>
3652
3653 * gdb.base/default.exp: Update "target child" and "target procfs"
3654 tests to not expect "Unix".
3655
3656 2014-03-12 Tom Tromey <tromey@redhat.com>
3657
3658 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3659 New procs. Add target-async tests.
3660 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3661 Add target-async tests.
3662
3663 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3664
3665 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3666 'func_start' and 'func_end' for the beginning and end of the
3667 function code, respectively.
3668 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3669 'func_end' instead of 'func' and 'main'.
3670
3671 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3672
3673 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3674 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3675 generate the debug info assembler source.
3676
3677 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3678
3679 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3680 * gdb.dwarf2/arr-subrange.exp: Likewise.
3681 * gdb.dwarf2/dwz.exp: Likewise.
3682 * gdb.dwarf2/method-ptr.exp: Likewise.
3683 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3684 * gdb.dwarf2/subrange.exp: Likewise.
3685 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3686 * gdb.dwarf2/implptrpiece.exp: Likewise.
3687 * gdb.dwarf2/nostaticblock.exp: Likewise.
3688
3689 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3690
3691 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3692 directory to absolute path name arguments.
3693
3694 2014-03-10 Joel Brobecker <brobecker@adacore.com>
3695
3696 * gdb.ada/tagged_access: New testcase.
3697
3698 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3699
3700 * gdb.btrace/data.exp: Update expected output.
3701
3702 2014-03-06 Yao Qi <yao@codesourcery.com>
3703
3704 * gdb.trace/pr16508.exp: New file.
3705
3706 2014-03-05 Pedro Alves <palves@redhat.com>
3707
3708 PR gdb/16575
3709 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3710 procedure.
3711 (top level): Adjust to use it. Add tests that exercise breakpoint
3712 interaction with the code-cache.
3713
3714 2014-02-26 Ludovic Courtès <ludo@gnu.org>
3715
3716 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3717 test for 'history-append!'.
3718
3719 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3720
3721 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3722 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3723 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3724 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3725 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3726 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3727
3728 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3729
3730 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3731 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3732 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3733
3734 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3735
3736 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3737
3738 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3739
3740 * gdb.dwarf2/arr-stride.c: New file.
3741 * gdb.dwarf2/arr-stride.exp: New file.
3742
3743 2014-02-26 Pedro Alves <palves@redhat.com>
3744
3745 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3746 that won't ever trigger. Make sure that GDB reports the correct
3747 breakpoint that caused the stop.
3748
3749 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3750
3751 PR gdb/16626
3752 * gdb.base/auto-load-script: New file.
3753 * gdb.base/auto-load.c: New file.
3754 * gdb.base/auto-load.exp: New file.
3755
3756 PR gdb/16626
3757 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3758
3759 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3760
3761 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3762 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3763
3764 2014-02-24 Doug Evans <dje@google.com>
3765
3766 * lib/gdb.exp (run_on_host): Log error output if program fails.
3767
3768 2014-02-21 Pedro Alves <palves@redhat.com>
3769
3770 * gdb.threads/step-after-sr-lock.c: Rename to ...
3771 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3772 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3773 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3774 ... this.
3775
3776 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3777
3778 PR tdep/16397
3779 * gdb.arch/amd64-stap-special-operands.exp: New file.
3780 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3781 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3782 * gdb.arch/amd64-stap-triplet.S: Likewise.
3783 * gdb.arch/amd64-stap-triplet.c: Likewise.
3784
3785 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3786
3787 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3788 in .section pseudo-op.
3789
3790 2014-02-20 lin zuojian <manjian2006@gmail.com>
3791 Joel Brobecker <brobecker@adacore.com>
3792 Doug Evans <xdje42@gmail.com>
3793
3794 PR symtab/16581
3795 * gdb.dwarf2/dw2-icycle.S: New file.
3796 * gdb.dwarf2/dw2-icycle.c: New file.
3797 * gdb.dwarf2/dw2-icycle.exp: New file.
3798
3799 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3800
3801 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3802 operations on gdb.Value objects.
3803 * gdb.python/py-value-cc.exp: Add new test to test operations on
3804 gdb.Value objects.
3805
3806 2014-02-18 Doug Evans <dje@google.com>
3807
3808 * Makefile.in (TESTS): New variable.
3809 (expanded_tests, expanded_tests_or_none): New variables
3810 (check-single): Pass $(expanded_tests_or_none) to runtest.
3811 (check-parallel): Only run tests in $(TESTS) if non-empty.
3812 (check/no-matching-tests-found): New rule.
3813 * README: Document TESTS makefile variable.
3814
3815 2014-02-18 Doug Evans <dje@google.com>
3816
3817 * Makefile.in (check-parallel): rm -rf outputs temp.
3818
3819 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3820
3821 Fix "ERROR: no fileid for" in the testsuite.
3822 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3823
3824 2014-02-12 Doug Evans <dje@google.com>
3825
3826 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3827 (MISCELLANEOUS): New variable.
3828 (clean): rm -rf $(MISCELLANEOUS).
3829 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3830 dwp live in the same directory as symlinks, with each symlink pointed
3831 to a differently named file in a different directory.
3832
3833 2014-02-11 Doug Evans <dje@google.com>
3834
3835 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3836 of Tcl file commands.
3837
3838 2014-02-10 Mark Kettenis <kettenis@gnu.org>
3839
3840 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3841 "kill -SIGUSR1 -1".
3842
3843 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3844
3845 * gdb.ada/tick_length_array_enum_idx: New testcase.
3846
3847 2014-02-10 Doug Evans <xdje42@gmail.com>
3848
3849 * configure.ac (AC_OUTPUT): Add gdb.guile.
3850 * configure: Regenerate.
3851 * lib/gdb-guile.exp: New file.
3852 * lib/gdb.exp (get_target_charset): New function.
3853 * gdb.base/help.exp: Update expected output from "apropos apropos".
3854 * gdb.guile/Makefile.in: New file.
3855 * gdb.guile/guile.exp: New file.
3856 * gdb.guile/scm-arch.c: New file.
3857 * gdb.guile/scm-arch.exp: New file.
3858 * gdb.guile/scm-block.c: New file.
3859 * gdb.guile/scm-block.exp: New file.
3860 * gdb.guile/scm-breakpoint.c: New file.
3861 * gdb.guile/scm-breakpoint.exp: New file.
3862 * gdb.guile/scm-disasm.c: New file.
3863 * gdb.guile/scm-disasm.exp: New file.
3864 * gdb.guile/scm-equal.c: New file.
3865 * gdb.guile/scm-equal.exp: New file.
3866 * gdb.guile/scm-error.exp: New file.
3867 * gdb.guile/scm-error.scm: New file.
3868 * gdb.guile/scm-frame-args.c: New file.
3869 * gdb.guile/scm-frame-args.exp: New file.
3870 * gdb.guile/scm-frame-args.scm: New file.
3871 * gdb.guile/scm-frame-inline.c: New file.
3872 * gdb.guile/scm-frame-inline.exp: New file.
3873 * gdb.guile/scm-frame.c: New file.
3874 * gdb.guile/scm-frame.exp: New file.
3875 * gdb.guile/scm-generics.exp: New file.
3876 * gdb.guile/scm-gsmob.exp: New file.
3877 * gdb.guile/scm-iterator.c: New file.
3878 * gdb.guile/scm-iterator.exp: New file.
3879 * gdb.guile/scm-math.c: New file.
3880 * gdb.guile/scm-math.exp: New file.
3881 * gdb.guile/scm-objfile-script-gdb.in: New file.
3882 * gdb.guile/scm-objfile-script.c: New file.
3883 * gdb.guile/scm-objfile-script.exp: New file.
3884 * gdb.guile/scm-objfile.c: New file.
3885 * gdb.guile/scm-objfile.exp: New file.
3886 * gdb.guile/scm-ports.exp: New file.
3887 * gdb.guile/scm-pretty-print.c: New file.
3888 * gdb.guile/scm-pretty-print.exp: New file.
3889 * gdb.guile/scm-pretty-print.scm: New file.
3890 * gdb.guile/scm-section-script.c: New file.
3891 * gdb.guile/scm-section-script.exp: New file.
3892 * gdb.guile/scm-section-script.scm: New file.
3893 * gdb.guile/scm-symbol.c: New file.
3894 * gdb.guile/scm-symbol.exp: New file.
3895 * gdb.guile/scm-symtab-2.c: New file.
3896 * gdb.guile/scm-symtab.c: New file.
3897 * gdb.guile/scm-symtab.exp: New file.
3898 * gdb.guile/scm-type.c: New file.
3899 * gdb.guile/scm-type.exp: New file.
3900 * gdb.guile/scm-value-cc.cc: New file.
3901 * gdb.guile/scm-value-cc.exp: New file.
3902 * gdb.guile/scm-value.c: New file.
3903 * gdb.guile/scm-value.exp: New file.
3904 * gdb.guile/source2.scm: New file.
3905 * gdb.guile/types-module.cc: New file.
3906 * gdb.guile/types-module.exp: New file.
3907
3908 2014-02-10 Yao Qi <yao@codesourcery.com>
3909
3910 PR testsuite/16543
3911 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3912 * configure: Regenerated.
3913 * Makefile.in: New file.
3914
3915 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3916
3917 * gdb.python/py-framefilter.exp: Fix typo.
3918
3919 2014-02-08 Yao Qi <yao@codesourcery.com>
3920
3921 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3922 that no =breakpoint-modified is emitted when breakpoints are
3923 modified through MI commands.
3924
3925 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3926 Pedro Alves <palves@redhat.com>
3927
3928 * gdb.threads/step-after-sr-lock.c: New file.
3929 * gdb.threads/step-after-sr-lock.exp: New file.
3930
3931 2014-02-07 Pedro Alves <palves@redhat.com>
3932
3933 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3934
3935 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3936
3937 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3938 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3939
3940 2014-02-06 Doug Evans <xdje42@gmail.com>
3941
3942 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3943 output.
3944
3945 * gdb.gdb/python-interrupts.exp: New file.
3946
3947 2014-02-05 Yao Qi <yao@codesourcery.com>
3948
3949 * gdb.trace/report.exp (use_collected_data): Test the output
3950 of "info threads" and "info inferiors".
3951
3952 2014-02-05 Yao Qi <yao@codesourcery.com>
3953
3954 Revert this patch:
3955
3956 2013-05-24 Yao Qi <yao@codesourcery.com>
3957
3958 * gdb.trace/tfile.exp: Test inferior and thread.
3959
3960 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3961
3962 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3963 on a function.
3964 * gdb.base/step-bt.c: Call hello via function pointer to make
3965 sure its first instruction is executed on powerpc64le-linux.
3966
3967 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3968
3969 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3970
3971 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3972
3973 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3974 of the test patterns for use on little-endian systems.
3975
3976 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3977
3978 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3979 (decimal_vector): Fix for little-endian.
3980
3981 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3982
3983 * gdb.arch/sparc-sysstep.exp: New file.
3984 * gdb.arch/sparc-sysstep.c: Likewise.
3985
3986 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3987
3988 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3989
3990 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3991
3992 2014-01-23 Tom Tromey <tromey@redhat.com>
3993
3994 * gdb.ada/array_char_idx: New testcase.
3995
3996 2014-01-23 Tom Tromey <tromey@redhat.com>
3997
3998 PR python/16487:
3999 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4000 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4001 classes.
4002
4003 2014-01-23 Tom Tromey <tromey@redhat.com>
4004
4005 PR python/16491:
4006 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4007 string from an inferior frame.
4008 * gdb.python/py-framefilter-mi.exp: Update.
4009
4010 2014-01-22 Doug Evans <dje@google.com>
4011
4012 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4013
4014 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4015
4016 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4017
4018 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4019
4020 * gdb.trace/entry-values.exp: Remove excess space character from
4021 regex patterns. Handle s390 call instruction.
4022
4023 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4024
4025 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4026 define "*_start" label. Make "name" static.
4027 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4028 ${name} by references to ${name}_start.
4029
4030 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4031
4032 * gdb.base/info-macros.exp: Remove "debug" from the compile
4033 options.
4034
4035 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4036
4037 * gdb.dlang/demangle.exp: New file.
4038
4039 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4040
4041 * gdb.dlang/primitive-types.exp: New file.
4042
4043 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4044
4045 * configure.ac: Create gdb.dlang/Makefile.
4046 * configure: Regenerate.
4047 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4048 * gdb.dlang/Makefile.in: New file.
4049 * lib/d-support.exp: New file.
4050 * lib/gdb.exp (skip_d_tests): New proc.
4051
4052 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4053
4054 * gdb.btrace/delta.exp: Check reverse stepi.
4055 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4056 * gdb.btrace/finish.exp: New.
4057 * gdb.btrace/next.exp: New.
4058 * gdb.btrace/nexti.exp: New.
4059 * gdb.btrace/record_goto.c: Add comments.
4060 * gdb.btrace/step.exp: New.
4061 * gdb.btrace/stepi.exp: New.
4062 * gdb.btrace/multi-thread-step.c: New.
4063 * gdb.btrace/multi-thread-step.exp: New.
4064 * gdb.btrace/rn-dl-bind.c: New.
4065 * gdb.btrace/rn-dl-bind.exp: New.
4066 * gdb.btrace/data.c: New.
4067 * gdb.btrace/data.exp: New.
4068 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4069
4070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4071
4072 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4073 * gdb.btrace/exception.exp: Update.
4074 * gdb.btrace/instruction_history.exp: Update.
4075 * gdb.btrace/record_goto.exp: Update.
4076 * gdb.btrace/tailcall.exp: Update.
4077 * gdb.btrace/unknown_functions.exp: Update.
4078 * gdb.btrace/delta.exp: New.
4079
4080 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4081
4082 * gdb.btrace/record_goto.exp: Add backtrace test.
4083 * gdb.btrace/tailcall.exp: Add backtrace test.
4084
4085 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4086
4087 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4088 * gdb.btrace/record_goto.c: New.
4089 * gdb.btrace/record_goto.exp: New.
4090 * gdb.btrace/x86-record_goto.S: New.
4091
4092 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4093
4094 * gdb.btrace/function_call_history.exp: Update tests.
4095 * gdb.btrace/instruction_history.exp: Update tests.
4096
4097 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4098
4099 * gdb.btrace/function_call_history.exp: Fix expected field
4100 order for "record function-call-history".
4101 Add new tests for "record function-call-history /c".
4102 * gdb.btrace/exception.cc: New.
4103 * gdb.btrace/exception.exp: New.
4104 * gdb.btrace/tailcall.exp: New.
4105 * gdb.btrace/x86-tailcall.S: New.
4106 * gdb.btrace/x86-tailcall.c: New.
4107 * gdb.btrace/unknown_functions.c: New.
4108 * gdb.btrace/unknown_functions.exp: New.
4109 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4110
4111 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4112
4113 * gdb.btrace/instruction_history.exp: Update.
4114 * gdb.btrace/function_call_history.exp: Update.
4115
4116 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4117
4118 * gdb.btrace/function_call_history.exp: Fix expected function
4119 trace.
4120 * gdb.btrace/instruction_history.exp: Initialize traced.
4121 Remove traced_functions.
4122
4123 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4124
4125 * gdb.btrace/function_call_history.exp: Update
4126 * gdb.btrace/instruction_history.exp: Update.
4127
4128 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4129
4130 * gdb.btrace/enable.exp: Update expected text.
4131
4132 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4133
4134 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4135 bytes.
4136
4137 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4138
4139 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4140
4141 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4142
4143 * lib/gdb.exp (supports_process_record): Return true for
4144 arm*-linux*. (supports_reverse): Likewise.
4145
4146 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4147
4148 PR python/15464
4149 PR python/16113
4150 * gdb.python/py-type.c: Enhance test case.
4151 * gdb.python/py-value-cc.cc: Likewise
4152 * gdb.python/py-type.exp: Add new tests.
4153 * gdb.python/py-value-cc.exp: Likewise
4154
4155 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4156 Pedro Alves <palves@redhat.com>
4157
4158 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4159 Make "name" extern.
4160 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4161 references to ${name}_start by references to ${name}.
4162
4163 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4164
4165 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4166
4167 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4168
4169 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4170
4171 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4172 Pedro Alves <palves@redhat.com>
4173
4174 * gdb.mi/mi-info-os.exp: Connect to the target with
4175 mi_gdb_target_load.
4176
4177 2014-01-08 Pedro Alves <palves@redhat.com>
4178
4179 * gdb.threads/reconnect-signal.c: New file.
4180 * gdb.threads/reconnect-signal.exp: New file.
4181
4182 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4183
4184 * gdb.base/source-dir.exp: New file.
4185
4186 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4187
4188 * gdb.ada/mi_interface: New testcase.
4189
4190 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4191
4192 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4193 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4194 gdb.ada/pp-rec-component/pck.ads: New files.
4195
4196 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4197
4198 * gdb.python/py-pp-integral.c: New file.
4199 * gdb.python/py-pp-integral.py: New file.
4200 * gdb.python/py-pp-integral.exp: New file.
4201
4202 For older changes see ChangeLog-1993-2013.
4203 \f
4204 ;; Local Variables:
4205 ;; mode: change-log
4206 ;; left-margin: 8
4207 ;; fill-column: 74
4208 ;; version-control: never
4209 ;; End:
4210
4211 Copyright 2014-2015 Free Software Foundation, Inc.
4212 Copying and distribution of this file, with or without modification,
4213 are permitted provided the copyright notice and this notice are preserved.
This page took 0.156134 seconds and 5 git commands to generate.