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