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