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