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