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