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