]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add max-completions parameter, and implement tab-completion limiting.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5dd31d79
DE
12015-01-31 Doug Evans <xdje42@gmail.com>
2
3 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4
9f050062
DE
52015-01-31 Doug Evans <xdje42@gmail.com>
6
7 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
8 entries. Duplicate file section script entries.
9 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10 inlined entries. Add test for safe-path rejection.
11 * gdb.python/py-section-script.c: Add duplicate inlined section script
12 entries. Duplicate file section script entries.
13 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14 inlined entries. Add test for safe-path rejection.
15
df25ebbd
JB
162015-01-29 Joel Brobecker <brobecker@adacore.com>
17
18 * gdb.ada/disc_arr_bound: New testcase.
19
4a0ca9ec
JB
202015-01-29 Joel Brobecker <brobecker@adacore.com>
21
22 * gdb.ada/mi_var_array: New testcase.
23
3a8b707a
DE
242015-01-27 Doug Evans <dje@google.com>
25
26 * gdb.python/py-objfile.exp: Add tests for objfile.username.
27 Add test for objfile.filename, objfile.username after objfile
28 has been unloaded.
29
f8313f6e
JB
302015-01-26 Joel Brobecker <brobecker@adacore.com>
31
32 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
33 the second test to print the name attribute of value
34 returned by the call to gdb.lookup_type, and adjust
35 the expected output accordingly.
36
37bc665e
MW
372015-01-25 Mark Wielaard <mjw@redhat.com>
38
39 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
40 * gdb.base/disp-step-fork.c: Include unistd.h.
41 * gdb.base/siginfo-obj.c: Include stdio.h.
42 * gdb.base/siginfo-thread.c: Likewise.
43 * gdb.mi/non-stop.c: Include unistd.h.
44 * gdb.mi/nsthrexec.c: Include stdio.h.
45 * gdb.mi/pthreads.c: Include unistd.h.
46 * gdb.modula2/unbounded1.c (main): Declare returns int.
47 * gdb.reverse/consecutive-reverse.c: Likewise.
48 * gdb.threads/create-fail.c: Include unistd.h.
49 * gdb.threads/killed.c: Likewise.
50 * gdb.threads/linux-dp.c: Likewise.
51 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
52 * gdb.threads/non-ldr-exc-2.c: Likewise.
53 * gdb.threads/non-ldr-exc-3.c: Likewise.
54 * gdb.threads/non-ldr-exc-4.c: Likewise.
55 * gdb.threads/pthreads.c: Include unistd.h.
56 (main): Declare returns int.
57 * gdb.threads/tls-main.c (foo): New declaration.
58 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
59
f7e5394d
SM
602015-01-23 Simon Marchi <simon.marchi@ericsson.com>
61
62 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
63 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
64
743649fd
MW
652015-01-15 Mark Wielaard <mjw@redhat.com>
66
67 * gdb.base/noreturn-return.c: New file.
68 * gdb.base/noreturn-return.exp: New file.
69 * gdb.base/noreturn-finish.c: New file.
70 * gdb.base/noreturn-finish.exp: New file.
71
198297aa
PA
722015-01-23 Pedro Alves <palves@redhat.com>
73
74 * gdb.threads/continue-pending-after-query.c: New file.
75 * gdb.threads/continue-pending-after-query.exp: New file.
76
717cf30c
AG
772015-01-22 Anders Granlund <anders.granlund@ericsson.com>
78 Simon Marchi <simon.marchi@ericsson.com>
79
80 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
81 * gdb.base/valgrind-db-attach.exp: Same.
82 * gdb.base/valgrind-infcall.exp: Same.
83 * lib/mi-support.exp (default_mi_gdb_start): Same.
84 * lib/prompt.exp (default_prompt_gdb_start): Same.
85 * lib/gdb.exp (default_gdb_spawn): Same.
86 (gdb_interact): New.
87
88
4b62a76e
JK
892015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
90
91 * gdb.compile/compile.exp (pointer to jit function): New test.
92
b4cdae6f
WW
932015-01-17 Wei-cheng Wang <cole945@gmail.com>
94
95 * lib/gdb.exp (supports_process_record): Return true for
96 powerpc*-*-linux*.
97 (supports_reverse): Likewise.
98
d221e7ef
DB
992015-01-15 Don Breazeal <donb@codesourcery.com>
100
101 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
102 instead of checking whether the target board is remote and
103 use spawn_wait_for_attach instead of exec/sleep.
104 * gdb.base/attach-twice.exp: Likewise.
105
bafffb51
JB
1062015-01-15 Joel Brobecker <brobecker@adacore.com>
107
108 * gdb.ada/var_arr_attrs: New testcase.
109
5589af0e
PA
1102015-01-14 Pedro Alves <palves@redhat.com>
111 Joel Brobecker <brobecker@adacore.com>
112
113 PR gdb/17525
114 * gdb.base/bp-cmds-execution-x-script.c: New file.
115 * gdb.base/bp-cmds-execution-x-script.exp: New file.
116 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
117
6c400b59
PA
1182015-01-14 Pedro Alves <palves@redhat.com>
119
120 PR cli/17828
121 * gdb.base/batch-preserve-term-settings.c: New file.
122 * gdb.base/batch-preserve-term-settings.exp: New file.
123
e02c96a7
DE
1242015-01-13 Doug Evans <dje@google.com>
125
126 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
127 binary.
128
576fd14c
JB
1292015-01-13 Joel Brobecker <brobecker@adacore.com>
130
131 * Makefile.in (clean mostlyclean): Do not delete *.py.
132
04dccad0
JB
1332015-01-13 Joel Brobecker <brobecker@adacore.com>
134
135 * gdb.python/py-lookup-type.exp: New file.
136
3d230f71
PA
1372015-01-12 Pedro Alves <palves@redhat.com>
138
139 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
140 restore GDBFLAGS before returning.
141
7e67715d
JK
1422015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
143
144 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
145 is_amd64_regs_target and is_x86_like_target.
146
f2e0d4b4
DE
1472015-01-11 Doug Evans <xdje42@gmail.com>
148
149 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
150 is given without an explicit form.
151 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
152 attributes.
153 * gdb.dwarf/corrupt.exp: Ditto.
154 * gdb.dwarf2/enum-type.exp: Ditto.
155 * gdb.trace/entry-values.exp: Ditto.
156 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
157
439250fb
DE
1582015-01-11 Doug Evans <xdje42@gmail.com>
159
160 PR gdb/15830
161 * gdb.base/maint.exp: Remove references to "maint demangle".
162 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
163 Add tests for explicitly specifying language to demangle.
164 * gdb.dlang/demangle.exp: Ditto.
165
ede9f622
PA
1662015-01-09 Pedro Alves <palves@redhat.com>
167
168 * gdb.threads/non-stop-fair-events.c: New file.
169 * gdb.threads/non-stop-fair-events.exp: New file.
170
a7b796db
PA
1712015-01-09 Pedro Alves <palves@redhat.com>
172
173 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
174 the global scope. Set a breakpoint after all threads are started
175 rather than stepping over two source lines. Expect the prompt.
176 * gdb.base/watch_thread_num.c (threads_started_barrier): New
177 global.
178 (NUM): Now 15.
179 (main): Use threads_started_barrier to wait for all threads to
180 start. Main thread no longer calls thread_function. Exit after
181 180 seconds.
182 (loop): New function.
183 (thread_function): Wait on threads_started_barrier barrier. Call
184 'loop' at each iteration.
185 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
186 threads have started, instead of hardcoding number of "next"
187 steps. Use an access watchpoint instead of a write watchpoint.
188
9665ffdd
PA
1892015-01-09 Pedro Alves <palves@redhat.com>
190
191 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
192 (thread_func): Wait on barrier.
193 (main): Wait for all threads to start before stopping GDB.
194 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
195 global.
196 (thread1_func, thread2_func): Wait on barrier.
197 (main): Wait for all threads to start before stopping GDB.
198 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
199 New global.
200 (thread1_func, thread2_func): Wait on barrier.
201 (main): Wait for all threads to start before stopping GDB.
202
c945a99f
PA
2032015-01-09 Pedro Alves <palves@redhat.com>
204
205 * gdb.threads/attach-many-short-lived-threads.c: New file.
206 * gdb.threads/attach-many-short-lived-threads.exp: New file.
207
c1a747c1
PA
2082014-01-09 Pedro Alves <palves@redhat.com>
209
210 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
211 instead of to thread 2.
212 * gdb.threads/signal-command-multiple-signals-pending.c (main):
213 Add barrier around each pthread_create call instead of around all
214 calls.
215 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
216 Set a break on thread_function and have the child threads hit it
217 one at at a time.
218
60b3033e
PA
2192015-01-09 Pedro Alves <palves@redhat.com>
220
221 * lib/gdb.exp (can_spawn_for_attach): New procedure.
222 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
223 false.
224 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
225 checking whether the target board is remote.
226 * gdb.multi/multi-attach.exp: Likewise.
227 * gdb.python/py-sync-interp.exp: Likewise.
228 * gdb.server/ext-attach.exp: Likewise.
229 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
230 tests that need to attach, instead of checking whether the target
231 board is remote at the top of the file.
232
acc018ac
YQ
2332015-01-08 Yao Qi <yao@codesourcery.com>
234
235 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
236
50a18af8
JK
2372015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
238
239 Fix testcase compilation.
240 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
241
8503d6e1
JB
2422015-01-06 Joel Brobecker <brobecker@adacore.com>
243
244 * gdb.python/py-type.exp: Add a couple test about empty
245 array creation, and negative-length array creation.
246
cc73dbcc
DE
2472015-01-02 Doug Evans <xdje42@gmail.com>
248
249 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
250
0300bbc7
DE
2512015-01-02 Doug Evans <dje@google.com>
252
253 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
254
9d85a0ec
YQ
2552014-12-29 Yao Qi <yao@codesourcery.com>
256
257 * gdb.trace/entry-values.exp: Update comments. Rename variable
258 bar_call_foo to returned_from_foo.
259
87186c6a
MMN
2602014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
261
262 PR gdb/17394
263 * gdb.linespec/break-asm-file.c: New file.
264 * gdb.linespec/break-asm-file.exp: New file.
265 * gdb.linespec/break-asm-file0.s: New file.
266 * gdb.linespec/break-asm-file1.s: New file.
267
1bab7383
YQ
2682014-12-18 Nigel Stephens <nigel@mips.com>
269 Maciej W. Rozycki <macro@codesourcery.com>
270
271 * gdb.base/float.exp: Handle the new output from "info float" on
272 MIPS targets.
273
1bc1068a
JK
2742014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
275
276 Fix MinGW compilation.
277 * gdb.compile/compile-ops.exp: Update untested message if
278 !skip_compile_feature_tests.
279 * gdb.compile/compile-setjmp.exp: Likewise.
280 * gdb.compile/compile-tls.exp: Likewise.
281 * gdb.compile/compile.exp: Likewise.
282 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
283 supported on this host".
284
b6615d10
DE
2852014-12-16 Doug Evans <xdje42@gmail.com>
286
287 * boards/stabs.exp: New file.
288
25dda427
AA
2892014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
290
291 * gdb.base/completion.exp: Adjust to format changes of "maint
292 print user-registers".
293
bf330350
CU
2942014-12-16 Catalin Udma <catalin.udma@freescale.com>
295
296 PR server/17457
297 * gdb.arch/aarch64-fp.c: New file.
298 * gdb.arch/aarch64-fp.exp: New file.
299
395cf596
SDJ
3002014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
301
302 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
303 r210637, r210913, r211666, r215400, r215817).
304
305 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
306 * dg-extract-results.py: New file.
307 * dg-extract-results.sh: Use it if the environment seems
308 suitable.
309
310 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
311
312 * dg-extract-results.py (parse_run): Handle warnings that
313 are printed before a test harness is run.
314
315 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
316
317 * dg-extract-results.py (Named): Remove __cmp__ method.
318 (output_variation): Use a key to sort variation.harnesses.
319
320 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
321
322 * dg-extract-results.py: For Python 3, force sys.stdout to
323 handle surrogate escape sequences.
324 (safe_open): New function.
325 (output_segment, main): Use it.
326
327 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
328
329 * dg-extract-results.py (Prog.result_re): Include options
330 in test name.
331
332 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
333
334 * dg-extract-results.py (output_variation): Always sort if
335 do_sum.
336
e882ef3c
SM
3372014-12-15 Simon Marchi <simon.marchi@ericsson.com>
338
339 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
340 as long as we get pagination notifications.
341
4992aa20
JM
3422014-12-15 Jason Merrill <jason@redhat.com>
343
344 * Makefile.in (check-gdb.%): Restore.
345 * README: Mention it.
346
c1b5a1a6
JB
3472014-12-13 Joel Brobecker <brobecker@adacore.com>
348
349 * gdb.ada/str_uninit: New testcase.
350
5537b577
JK
3512014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 PR symtab/17642
354 * gdb.base/vla-stub-define.c: New file.
355 * gdb.base/vla-stub.c: New file.
356 * gdb.base/vla-stub.exp: New file.
357
bb2ec1b3
TT
3582014-12-12 Phil Muldoon <pmuldoon@redhat.com>
359 Jan Kratochvil <jan.kratochvil@redhat.com>
360 Tom Tromey <tromey@redhat.com>
361
362 * configure.ac: Add gdb.compile/.
363 * configure: Regenerate.
364 * gdb.compile/Makefile.in: New file.
365 * gdb.compile/compile-ops.exp: New file.
366 * gdb.compile/compile-ops.c: New file.
367 * gdb.compile/compile-tls.c: New file.
368 * gdb.compile/compile-tls.exp: New file.
369 * gdb.compile/compile-constvar.S: New file.
370 * gdb.compile/compile-constvar.c: New file.
371 * gdb.compile/compile-mod.c: New file.
372 * gdb.compile/compile-nodebug.c: New file.
373 * gdb.compile/compile-setjmp-mod.c: New file.
374 * gdb.compile/compile-setjmp.c: New file.
375 * gdb.compile/compile-setjmp.exp: New file.
376 * gdb.compile/compile-shlib.c: New file.
377 * gdb.compile/compile.c: New file.
378 * gdb.compile/compile.exp: New file.
379 * lib/gdb.exp (skip_compile_feature_tests): New proc.
380
4ff709eb
TT
3812014-12-12 Tom Tromey <tromey@redhat.com>
382
383 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
384 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
385
6dddd6a5
DE
3862014-12-12 Doug Evans <dje@google.com>
387
388 * lib/gdb-python.exp (get_python_valueof): New function.
389 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
390
71c24708
AA
3912014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
392
393 * gdb.base/completion.exp: Add test for completion of "info
394 registers ".
395
3e29f34a
MR
3962014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
397
398 * gdb.base/func-ptrs.c: New file.
399 * gdb.base/func-ptrs.exp: New file.
400
fc126975
SM
4012014-12-10 Simon Marchi <simon.marchi@ericsson.com>
402
403 PR breakpoints/17012
404 * gdb.base/dprintf-detach.c: New file.
405 * gdb.base/dprintf-detach.exp: New file.
406
0a46d518
SM
4072014-12-10 Simon Marchi <simon.marchi@ericsson.com>
408
409 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
410 * lib/gdb.exp (target_is_gdbserver): New procedure.
411
a0be3e44
DE
4122014-12-08 Doug Evans <dje@google.com>
413
414 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
415
df1b803a
YQ
4162014-12-05 Yao Qi <yao@codesourcery.com>
417
418 * gdb.guile/scm-error.exp: Remove the third argument to
419 gdb_remote_download.
420 * gdb.guile/scm-frame-args.exp: Likewise.
421 * gdb.guile/scm-section-script.exp: Likewise.
422
ddb9f679
YQ
4232014-12-05 Yao Qi <yao@codesourcery.com>
424
425 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
426
86e4ed39
DE
4272014-12-04 Doug Evans <dje@google.com>
428
429 * gdb.python/py-objfile.exp: Add tests for
430 objfile.add_separate_debug_file.
431
7c50a931
DE
4322014-12-04 Doug Evans <dje@google.com>
433
434 * lib/gdb.exp (get_build_id): New function.
435 (build_id_debug_filename_get): Rewrite to use it.
436 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
437
621661e3
MR
4382014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
439
440 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
441 `method(long)', not just 0x0.
442 * gdb.cp/nsalias.exp: Align code labels to 4.
443 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
444 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
445 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
446 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
447 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
448 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
449
29f0c3b7
DE
4502014-12-02 Doug Evans <dje@google.com>
451
e1e061e7 452 PR symtab/17602
29f0c3b7 453 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 454 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
455 * gdb.cp/anon-ns.exp: Update.
456
162078c8
NB
4572014-12-02 Nick Bull <nicholaspbull@gmail.com>
458
459 * gdb.python/py-events.py (inferior_call_handler): New.
460 (register_changed_handler, memory_changed_handler): New.
461 (test_events.invoke): Register new handlers.
462 * gdb.python/py-events.exp: Add tests for inferior call,
463 memory_changed and register_changed events.
464
fdb09caf
AA
4652014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
466
467 * gdb.base/execl-update-breakpoints.exp: Specify the link address
468 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
469 if the linker doesn't understand this.
470
55cfb2c4
SM
4712014-12-01 Simon Marchi <simon.marchi@ericsson.com>
472
473 * gdb.python/python.exp: Change expected reply to help().
474
9e8cd6df
YQ
4752014-12-01 Yao Qi <yao@codesourcery.com>
476
477 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
478 AC_CONFIG_SUBDIRS(gdb.gdbtk).
479 * configure: Re-generated.
480
6c659fc2
SC
4812014-11-28 Siva Chandra Reddy <sivachandra@google.com>
482
483 * gdb.cp/chained-calls.cc: New file.
484 * gdb.cp/chained-calls.exp: New file.
485 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
486
d7fc3181
SM
4872014-11-28 Simon Marchi <simon.marchi@ericsson.com>
488
489 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
490 * gdb.dwarf2/symtab-producer.exp: Same.
491 * gdb.gdb/python-interrupts.exp: Same.
492 * gdb.gdb/python-selftest.exp: Same.
493 * gdb.python/py-linetable.exp: Same.
494 * gdb.python/py-type.exp: Same.
495 * gdb.python/py-value-cc.exp: Same.
496 * gdb.python/py-value.exp: Same.
497
10e79639
YQ
4982014-11-28 Yao Qi <yao@codesourcery.com>
499
500 * gdb.base/break-probes.exp: Match library name prefixed with
501 sysroot.
502
f28a0564
SM
5032014-11-27 Simon Marchi <simon.marchi@ericsson.com>
504
505 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
506 test expected output. Add parentheses for the call to print.
507 Remove L suffix from integers.
508
3fe1ce1d
DE
5092014-11-26 Doug Evans <dje@google.com>
510
511 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
512
84429e27
YQ
5132014-11-22 Yao Qi <yao@codesourcery.com>
514
515 * gdb.trace/entry-values.c: Remove asms.
516 (foo): Add foo_label.
517 (bar): Add bar_label.
518 * gdb.trace/entry-values.exp: Remove code computing foo's
519 length and bar's length.
520 (Dwarf::assemble): Invoke function_range for bar and use
521 MACRO_AT_func for foo.
522
26741859
YQ
5232014-11-22 Yao Qi <yao@codesourcery.com>
524
525 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
526 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
527 Use .Lgcc43_procstart instead of gcc43.
528
45e44d27
JB
5292014-11-21 Joel Brobecker <brobecker@adacore.com>
530
531 * gdb.ada/n_arr_bound: New testcase.
532
458c8db8
SDJ
5332014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
534
535 PR breakpoints/10737
536 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
537 test_catch_syscall_multi_arch.
538 (test_catch_syscall_multi_arch): New function.
539
43f3e411
DE
5402014-11-20 Doug Evans <xdje42@gmail.com>
541
542 * gdb.base/maint.exp: Update expected output.
543
0d7b2549
AA
5442014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
545
546 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
547 4-byte instruction on S390.
548
8908fca5
JB
5492014-11-19 Joel Brobecker <brobecker@adacore.com>
550
551 * gdb.ada/arr_arr: New testcase.
552
4a46959e
JB
5532014-11-19 Joel Brobecker <brobecker@adacore.com>
554
555 * gdb.ada/pkd_arr_elem: New Testcase.
556
470e2f4e
LM
5572014-11-18 Luis Machado <lgustavo@codesourcery.com>
558
559 * gdb.reverse/break-precsave: Expect completion message for
560 core file reads.
561 * gdb.reverse/consecutive-precsave.exp: Likewise.
562 * gdb.reverse/finish-precsave.exp: Likewise.
563 * gdb.reverse/i386-precsave.exp: Likewise.
564 * gdb.reverse/machinestate-precsave.exp: Likewise.
565 * gdb.reverse/sigall-precsave.exp: Likewise.
566 * gdb.reverse/solib-precsave.exp: Likewise.
567 * gdb.reverse/step-precsave.exp: Likewise.
568 * gdb.reverse/until-precsave.exp: Likewise.
569 * gdb.reverse/watch-precsave.exp: Likewise.
570
a267f3ad
AA
5712014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
572
573 * gdb.base/bp-permanent.c: Include unistd.h.
574 * gdb.python/py-framefilter-mi.c (main): Add return type.
575 * gdb.python/py-framefilter.c (main): Likewise.
576 * gdb.trace/actions-changed.c (main): Likewise.
577
12084a9a
AA
5782014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
579
580 * gdb.mi/until.c: Add eye-catchers.
581 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
582 line numbers.
583
dc7e1a77
AA
5842014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
585
586 * gdb.base/condbreak.exp: Drop references to removed non-prototype
587 function header variants in break1.c.
588 * gdb.base/ena-dis-br.exp: Likewise.
589 * gdb.base/hbreak2.exp: Likewise.
590 * gdb.reverse/until-precsave.exp: Drop references to removed
591 non-prototype function header variants in ur1.c.
592 * gdb.reverse/until-reverse.exp: Likewise.
593
41c77605
PM
5942014-11-17 Petr Machata <pmachata@redhat.com>
595
596 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
597 ${_cu_offset_size} bytes abbrev offset.
598
34248c3a
DE
5992014-11-15 Doug Evans <xdje42@gmail.com>
600
601 PR symtab/17559
602 * gdb.base/line-symtabs.exp: New file.
603 * gdb.base/line-symtabs.c: New file.
604 * gdb.base/line-symtabs.h: New file.
605
646da059
YQ
6062014-11-14 Yao Qi <yao@codesourcery.com>
607
608 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
609 (func): Add label func_label.
610 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
611 Replace low_pc and high_pc with MACRO_AT_range.
612 Replace name, low_pc and high_pc with MACRO_AT_func.
613
9301ebe6
YQ
6142014-11-14 Yao Qi <yao@codesourcery.com>
615
616 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
617 Replace name, low_pc and high_pc with MACRO_AT_func.
618
f166b542
YQ
6192014-11-14 Yao Qi <yao@codesourcery.com>
620
621 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
622 produce debug information.
623 * gdb.dwarf2/implptr-optimized-out.S: Removed.
624
0f6e71e3
YQ
6252014-11-14 Yao Qi <yao@codesourcery.com>
626
627 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
628 object and get function length.
629 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
630 with MACRO_AT_func.
631 (top-level): Replace gdb_compile and clean_restart with
632 prepare_for_testing.
633 * gdb.dwarf2/main.c (main): Add label main_label.
634
876c4df9
YQ
6352014-11-14 Yao Qi <yao@codesourcery.com>
636
637 * lib/dwarf.exp (function_range): New procedure.
638 (Dwarf::_handle_macro_at_func): New procedure.
639 (Dwarf::_handle_macro_at_range): New procedure.
640 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
641
02ad9cf1
YQ
6422014-11-14 Yao Qi <yao@codesourcery.com>
643
644 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
645 (_handle_attribute): New procedure.
646
a59add0c
AA
6472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
648
649 * gdb.ada/cond_lang/foo.c (callme): Add return type.
650 * gdb.base/call-sc.c (zed): Likewise.
651 * gdb.base/checkpoint.c (main): Likewise.
652 * gdb.base/dump.c (main): Likewise.
653 * gdb.base/gcore.c (main): Likewise.
654 * gdb.base/huge.c (main): Likewise.
655 * gdb.base/multi-forks.c (main): Likewise.
656 * gdb.base/pr10179-a.c (main): Likewise.
657 * gdb.base/savedregs.c (main): Likewise.
658 * gdb.base/sigaltstack.c (main): Likewise.
659 * gdb.base/siginfo.c (main): Likewise.
660 * gdb.base/structs.c (zed): Likewise.
661 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
662 * gdb.mi/mi-syn-frame.c (main): Likewise.
663 * gdb.mi/until.c (foo, main): Likewise.
664 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
665 * gdb.base/solib-weak.c (foo): Declare.
666 * gdb.base/attach-twice.c: Include stdio.h.
667 * gdb.base/weaklib1.c: Likewise.
668 * gdb.base/weaklib2.c: Likewise.
669 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
670 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
671 unistd.h.
672 * gdb.base/attach-pie-misread.c: Include stdlib.h.
673 * gdb.mi/mi-exit-code.c: Likewise.
674 * gdb.base/break-interp-lib.c: Include string.h.
675 * gdb.base/coremaker.c: Likewise.
676 * gdb.base/testenv.c: Likewise.
677 * gdb.python/py-finish-breakpoint.c: Likewise.
678 * gdb.base/inferior-died.c: Include sys/wait.h.
679 * gdb.base/fileio.c: Include time.h.
680 * gdb.base/async-shell.c: Include unistd.h.
681 * gdb.base/dprintf-non-stop.c: Likewise.
682 * gdb.base/info-os.c: Likewise.
683 * gdb.mi/mi-console.c: Likewise.
684 * gdb.mi/watch-nonstop.c: Likewise.
685 * gdb.python/py-events.c: Likewise.
686 * gdb.base/async.c (baz): Move up before its invocation.
687 * gdb.base/code_elim2.c (my_global_func): Likewise.
688 * gdb.base/skip-solib-lib.c (multiply): Likewise.
689 * gdb.base/advance.c (func2): Likewise.
690
3b5d5997
AA
6912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
692
693 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
694 variant.
695 * gdb.base/annota3.c: Likewise.
696 * gdb.base/async.c: Likewise.
697 * gdb.base/average.c: Likewise.
698 * gdb.base/call-ar-st.c: Likewise.
699 * gdb.base/call-rt-st.c: Likewise.
700 * gdb.base/call-sc.c: Likewise.
701 * gdb.base/call-strs.c: Likewise.
702 * gdb.base/ending-run.c: Likewise.
703 * gdb.base/execd-prog.c: Likewise.
704 * gdb.base/exprs.c: Likewise.
705 * gdb.base/foll-exec.c: Likewise.
706 * gdb.base/foll-fork.c: Likewise.
707 * gdb.base/foll-vfork.c: Likewise.
708 * gdb.base/funcargs.c: Likewise.
709 * gdb.base/gcore.c: Likewise.
710 * gdb.base/jump.c: Likewise.
711 * gdb.base/langs0.c: Likewise.
712 * gdb.base/langs1.c: Likewise.
713 * gdb.base/langs2.c: Likewise.
714 * gdb.base/mips_pro.c: Likewise.
715 * gdb.base/nodebug.c: Likewise.
716 * gdb.base/opaque0.c: Likewise.
717 * gdb.base/opaque1.c: Likewise.
718 * gdb.base/recurse.c: Likewise.
719 * gdb.base/run.c: Likewise.
720 * gdb.base/scope0.c: Likewise.
721 * gdb.base/scope1.c: Likewise.
722 * gdb.base/setshow.c: Likewise.
723 * gdb.base/setvar.c: Likewise.
724 * gdb.base/shmain.c: Likewise.
725 * gdb.base/shr1.c: Likewise.
726 * gdb.base/shr2.c: Likewise.
727 * gdb.base/sigall.c: Likewise.
728 * gdb.base/signals.c: Likewise.
729 * gdb.base/so-indr-cl.c: Likewise.
730 * gdb.base/solib2.c: Likewise.
731 * gdb.base/structs.c: Likewise.
732 * gdb.base/sum.c: Likewise.
733 * gdb.base/vforked-prog.c: Likewise.
734 * gdb.base/watchpoint.c: Likewise.
735 * gdb.reverse/shr2.c: Likewise.
736 * gdb.reverse/until-reverse.c: Likewise.
737 * gdb.reverse/ur1.c: Likewise.
738 * gdb.reverse/watch-reverse.c: Likewise.
739
066a77c5
AA
7402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
741
742 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
743 variant.
744 * gdb.base/sepdebug.exp: Drop references to removed code.
745
4f204ea5
AA
7462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
747
748 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
749 variant. Preserve original line numbering.
750 * gdb.base/list1.c: Likewise.
751
3b377a3a
AA
7522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
753
754 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
755 variant.
756 * gdb.base/break1.c: Likewise.
757 * gdb.base/break.exp: Drop references to removed code.
758
e444df73
AA
7592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
760
761 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
762 variant.
763
8008f2a7
AA
7642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
765
766 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
767
a5a06887
AA
7682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
769
770 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
771 logic into perform_all_tests() and invoke it with and without
772 function header prototypes.
773 (do_function_calls): Remove conditional XFAIL for PR 5318.
774 (rerun_and_prepare): Remove duplicate code.
775 (perform_all_tests): New. Main logic moved here.
776
44dba9b9
AA
7772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
778
779 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
780 code guarded by #ifdef NO_PROTOTYPES.
781 (t_double_many_args): Likewise.
782 (DEF_FUNC_MANY_ARGS_1): Likewise.
783 (DEF_FUNC_VALUES_1): Likewise.
784 (t_structs_ldc): Renamed from t_structs_fc in conditional code
785 guarded by #ifdef PROTOTYPES.
786
d1fbcd56
AA
7872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
788
789 * gdb.mi/mi-console.c: Add eye-catcher.
790 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
791 instead of literal line number.
792
b0e59b8f
AA
7932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
794
795 * gdb.base/shr2.c: Add eye-catcher.
796 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
797 line number.
798
78f98cca
AA
7992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
800
801 * gdb.base/jump.c: Add eye-catchers.
802 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
803 numbers.
804
58fa2af0
AA
8052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
806
807 * gdb.base/execd-prog.c: Add eye-catchers.
808 * gdb.base/foll-exec.c: Likewise.
809 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
810 line numbers.
811
04e5059b
AA
8122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
813
814 * gdb.base/ending-run.c: Add eye-catchers.
815 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
816 literal line numbers.
817
dbfdb174
AA
8182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
819
820 * gdb.base/call-rt-st.c: Add eye-catchers.
821 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
822 literal line numbers.
823
888a2ade
AA
8242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
825
826 * gdb.base/call-ar-st.c: Add eye-catchers.
827 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
828 literal line numbers.
829
6acc2dde
AA
8302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
831
832 * gdb.base/average.c: Add eye-catchers.
833 * gdb.base/sum.c: Likewise.
834 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
835 regexps dynamically.
836
9ecfcd1d
AA
8372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
838
839 * gdb.base/solib1.c: Add eye-catchers.
840 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
841 literal line numbers.
842
78708b7c
PA
8432014-11-12 Pedro Alves <palves@redhat.com>
844
845 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
846 leader has exited.
847
af48d08f
PA
8482014-11-12 Pedro Alves <palves@redhat.com>
849
850 * gdb.arch/i386-bp_permanent.c: New file.
851 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
852 (srcfile): Set to i386-bp_permanent.c.
853 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
854 that stepi does not execute the 'leave' instruction, instead of
855 testing it does execute.
856 * gdb.base/bp-permanent.c: New file.
857 * gdb.base/bp-permanent.exp: New file.
858
af3768e9
DE
8592014-11-10 Doug Evans <xdje42@gmail.com>
860
861 PR symtab/17564
862 * gdb.base/symtab-search-order.exp: New file.
863 * gdb.base/symtab-search-order.c: New file.
864 * gdb.base/symtab-search-order-1.c: New file.
865 * gdb.base/symtab-search-order-shlib-1.c: New file.
866
9de00a4a
PA
8672014-11-07 Pedro Alves <palves@redhat.com>
868
869 PR gdb/17511
870 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
871 i?86-*-linux*.
872
e0f52461
SC
8732014-11-03 Siva Chandra Reddy <sivachandra@google.com>
874
875 PR c++/17494
876 * gdb.cp/pr17494.cc: New file.
877 * gdb.cp/pr17494.exp: New file.
878
6ce8c980
YQ
8792014-11-02 Yao Qi <yao@codesourcery.com>
880
881 * gdb.python/python.exp: Get working directory and match the
882 output of "set extended-prompt \\w " with it.
883
02be9a71
DE
8842014-10-30 Doug Evans <dje@google.com>
885
886 * gdb.python/py-objfile.exp: Add tests for setting random attributes
887 in objfiles.
888 * gdb.python/py-progspace.exp: Add tests for setting random attributes
889 in progspaces.
890
3bdff46b
LM
8912014-10-30 Janis Johnson <janisjo@codesourcery.com>
892
893 * gdb.base/fullpath-expand.exp: Skip for a remote host.
894 * gdb.base/realname-expand.exp: Likewise.
895 * gdb.linespec/macro-relative.exp: Likewise.
896
ab917dfb
PA
8972014-10-29 Pedro Alves <palves@redhat.com>
898
899 PR gdb/17408
900 * gdb.threads/schedlock.c (some_function): New function.
901 (call_function): New global.
902 (MAYBE_CALL_SOME_FUNCTION): New macro.
903 (thread_function): Call it.
904 * gdb.threads/schedlock.exp (get_args): Add description parameter,
905 and use it instead of a global counter. Adjust all callers.
906 (get_current_thread): Use "find current thread" for test message
907 here rather than having all callers pass down the same string.
908 (goto_loop): New procedure, factored out from ...
909 (my_continue): ... this.
910 (step_ten_loops): Change parameter from test message to command to
911 use. Adjust.
912 (list_count): Delete global.
913 (check_result): New procedure, factored out from duplicate top
914 level code.
915 (continue tests): Wrap in with_test_prefix.
916 (test_step): New procedure, factored out from duplicate top level
917 code.
918 (top level): Test "step" in combination with all scheduler-locking
919 modes. Test "next" in combination with all scheduler-locking
920 modes, and in combination with stepping over a function call or
921 not.
922 * gdb.threads/next-bp-other-thread.c: New file.
923 * gdb.threads/next-bp-other-thread.exp: New file.
924
d3d4baed
PA
9252014-10-29 Pedro Alves <palves@redhat.com>
926
927 PR python/17372
928 * gdb.python/python.exp: Test a multi-line command that spawns
929 interactive Python.
930 * gdb.base/multi-line-starts-subshell.exp: New file.
931
563e8d85
YQ
9322014-10-29 Yao Qi <yao@codesourcery.com>
933
934 * gdb.base/fileio.exp: Make directories on host.
935
0ea4d52e
YQ
9362014-10-29 Yao Qi <yao@codesourcery.com>
937
938 * gdb.base/fileio.c (test_write): Close the file.
939
7f5ef605
PA
9402014-10-28 Pedro Alves <palves@redhat.com>
941
942 PR gdb/12623
943 * gdb.base/sigstep.c (no_handler): New global.
944 (main): If 'no_handler is true, set the signal handlers to
945 SIG_IGN.
946 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
947 with_sw_watch and no_handler parameters. Handle them.
948 (top level) <stepping over handler when stopped at a breakpoint
949 test>: Add a test axis for testing with a software watchpoint, and
950 another for testing with the signal handler set to SIG_IGN.
951 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
952 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
953
abbdbd03
PA
9542014-10-28 Pedro Alves <palves@redhat.com>
955
956 PR gdb/17511
957 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
958 * gdb.base/sigstep.exp (other_handler_location): New global.
959 (advance): Support stepping into the signal handler, and running
960 commands while in the handler.
961 (in_handler_map): New global.
962 (top level): In the advance test, add combinations for getting
963 into the handler with stepping commands, and for running commands
964 in the handler. Add comment descripting the advancei tests.
965
1df4399f
PA
9662014-10-28 Pedro Alves <palves@redhat.com>
967
968 * gdb.base/sigstep.exp: Use build_executable instead of
969 prepare_for_testing.
970 (top level): Move code that starts GDB, runs to main and creates a
971 display to ...
972 (restart): ... this new procedure.
973 (top level): Move backtrace from signal handler test to ...
974 (validate_backtrace): ... this new procedure.
975 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
976 with_test_prefix. Always restart GDB.
977 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
978 with_test_prefix. Always restart GDB. No need to delete
979 breakpoints after the test.
980 (test_skip_handler): Remove prefix parameter.
981 (skip_over_handler, breakpoint_to_handler)
982 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
983 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
984 restart GDB. No need to delete breakpoints after the test.
985 (top level): Use foreach to call the test procedures with
986 different commands.
987
a5b6e449
PA
9882014-10-28 Pedro Alves <palves@redhat.com>
989
990 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
991 instead of GNATS numbers.
992 * gdb.base/sigbpt.exp: Likewise.
993 * gdb.base/siginfo.exp: Likewise.
994 * gdb.base/sigstep.exp: Likewise.
995
e5f8a7cc
PA
9962014-10-27 Pedro Alves <palves@redhat.com>
997
998 * gdb.base/sigstep.c (dummy): New global.
999 (main): Issue a couple writes to the new global.
1000 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1001 procedures.
1002 (skip_over_handler): Use test_skip_handler.
1003 (top level): Call skip_over_handler for stepi and nexti too.
1004 (breakpoint_over_handler): Use test_skip_handler.
1005 (top level): Call breakpoint_over_handler for stepi and nexti too.
1006
763905a3
YQ
10072014-10-27 Yao Qi <yao@codesourcery.com>
1008
1009 * gdb.trace/tfile.c (adjust_function_address)
1010 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1011 function descriptor.
1012
6f259a23
DB
10132014-10-24 Don Breazeal <donb@codesourcery.com>
1014
1015 * gdb.base/foll-fork.exp (test_follow_fork,
1016 catch_fork_child_follow): Check for updated fork messages emitted
1017 from infrun.c.
1018 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1019 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1020 vfork_and_exec_child_follow_through_step): Check for updated vfork
1021 messages emitted from infrun.c.
1022
09dd9a69
PA
10232014-10-24 Pedro Alves <palves@redhat.com>
1024
1025 * gdb.base/corefile.exp: Remove references to ultrix.
1026 * gdb.base/interrupt.exp: Likewise.
1027 * gdb.base/whatis.exp: Likewise.
1028 * gdb.gdb/selftest.exp: Likewise.
1029 * gdb.threads/manythreads.exp: Likewise.
1030 * gdb.threads/print-threads.exp: Likewise.
1031 * gdb.threads/pthreads.exp:: Likewise.
1032 * gdb.threads/schedlock.exp: Likewise.
1033
3433cfa5
SC
10342014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1035
1036 * gdb.cp/non-trivial-retval.cc: Add a test case.
1037 * gdb.cp/non-trivial-retval.exp: Add a test.
1038
092f880b
YQ
10392014-10-20 Yao Qi <yao@codesourcery.com>
1040
1041 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1042 * gdb.python/py-objfile-script-gdb.py: New file.
1043 * gdb.python/py-objfile-script.exp: Update reference to
1044 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1045 of remote_download. Remove the dest file.
1046
acbdb7f3
YQ
10472014-10-20 Yao Qi <yao@codesourcery.com>
1048
1049 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1050 * gdb.base/step-line.exp: Likewise.
1051 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1052 * gdb.dwarf2/dw2-basic.exp: Likewise.
1053 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1054 * gdb.dwarf2/dw2-filename.exp: Likewise.
1055 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1056 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1057 * gdb.dwarf2/dw2-producer.exp: Likewise.
1058 * gdb.dwarf2/mac-fileno.exp: Likewise.
1059 * gdb.python/py-frame-args.exp: Likewise.
1060 * gdb.python/py-framefilter.exp: Likewise.
1061 * gdb.python/py-mi.exp: Likewise.
1062 * gdb.python/py-objfile-script.exp: Likewise
1063 * gdb.python/py-pp-integral.exp: Likewise.
1064 * gdb.python/py-pp-re-notag.exp: Likewise.
1065 * gdb.python/py-prettyprint.exp: Likewise.
1066 * gdb.python/py-section-script.exp: Likewise.
1067 * gdb.python/py-typeprint.exp: Likewise.
1068 * gdb.python/py-xmethods.exp: Likewise.
1069 * gdb.stabs/weird.exp: Likewise.
1070 * gdb.xml/tdesc-regs.exp: Likewise.
1071
bd286a29
KCY
10722014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1073
1074 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1075 (out_cu): Use addr_len for the size of addresses.
1076 (out_line): Likewise. Size DW_LNE_set_address instruction
1077 according to addr_len.
1078 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1079 (FUNC): Add START_INSNS to definition.
1080
673dc4a0
YQ
10812014-10-18 Yao Qi <yao@codesourcery.com>
1082
1083 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1084 gdb_has_argv0 return true.
1085 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1086 check [target_info exists noargs], check [gdb_has_argv0]
1087 instead.
1088 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1089 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1090 procedures.
1091
4ffbba72
DE
10922014-10-17 Doug Evans <dje@google.com>
1093
1094 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1095 event.
1096 * gdb.python/py-events.py: Add clear_objfiles event.
1097
d096d8c1
DE
10982014-10-17 Doug Evans <dje@google.com>
1099
1100 * gdb.python/py-objfile.exp: Test progspace attribute.
1101
a80db015
LM
11022014-10-17 Luis Machado <lgustavo@codesourcery.com>
1103
1104 * gdb.guile/scm-breakpoint.exp: Do not assume any
1105 directory separators when matching source file paths.
1106 * gdb.python/py-breakpoint.exp: Likewise.
1107 * gdb.reverse/break-precsave.exp: Likewise.
1108 * gdb.reverse/break-reverse.exp: Likewise.
1109 * gdb.reverse/consecutive-precsave.exp: Likewise.
1110 * gdb.reverse/finish-precsave.exp: Likewise.
1111 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1112 * gdb.reverse/finish-reverse.exp: Likewise.
1113 * gdb.reverse/i386-precsave.exp: Likewise.
1114 * gdb.reverse/i387-env-reverse.exp: Likewise.
1115 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1116 * gdb.reverse/machinestate-precsave.exp: Likewise.
1117 * gdb.reverse/machinestate.exp: Likewise.
1118 * gdb.reverse/sigall-precsave.exp: Likewise.
1119 * gdb.reverse/solib-precsave.exp: Likewise.
1120 * gdb.reverse/step-precsave.exp: Likewise.
1121 * gdb.reverse/until-precsave.exp: Likewise.
1122 * gdb.reverse/watch-precsave.exp: Likewise.
1123 * gdb.reverse/watch-reverse.exp: Likewise.
1124
b22089ab
YQ
11252014-10-17 Yao Qi <yao@codesourcery.com>
1126
1127 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1128 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1129
6c4486e6
PA
11302014-10-17 Pedro Alves <palves@redhat.com>
1131
1132 PR gdb/17471
1133 * gdb.base/bg-execution-repeat.c: New file.
1134 * gdb.base/bg-execution-repeat.exp: New file.
1135
0ff33695
PA
11362014-10-17 Pedro Alves <palves@redhat.com>
1137
1138 PR gdb/17300
1139 * gdb.base/continue-all-already-running.c: New file.
1140 * gdb.base/continue-all-already-running.exp: New file.
1141
6fdebc3d
PA
11422014-10-17 Pedro Alves <palves@redhat.com>
1143
1144 PR gdb/17472
1145 * gdb.base/annota-input-while-running.c: New file.
1146 * gdb.base/annota-input-while-running.exp: New file.
1147
32a8097b
PA
11482014-10-17 Pedro Alves <palves@redhat.com>
1149
1150 * gdb.base/callfuncs.exp: emove references to osf.
1151 * gdb.base/sigall.exp: Likewise.
1152 * gdb.gdb/selftest.exp: Likewise.
1153 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1154 * gdb.mi/non-stop.c: Likewise.
1155 * gdb.mi/pthreads.c: Likewise.
1156 * gdb.reverse/sigall-precsave.exp: Likewise.
1157 * gdb.reverse/sigall-reverse.exp: Likewise.
1158 * gdb.threads/pthreads.c: Likewise.
1159 * gdb.threads/pthreads.exp: Likewise.
1160
7a3517ff
YQ
11612014-10-17 Yao Qi <yao@codesourcery.com>
1162
1163 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1164 check 'target_info exists noargs'.
1165 (test_command_prompt_position): Likewise.
1166 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1167 Remove "set args".
1168 (progvar_simple_while_test): Likewise.
1169 (progvar_complex_if_while_test): Likewise.
1170 (if_while_breakpoint_command_test): Likewise.
1171 (infrun_breakpoint_command_test): Likewise.
1172 (breakpoint_command_test): Likewise.
1173 (watchpoint_command_test): Likewise.
1174 (bp_deleted_in_command_test): Likewise.
1175 (temporary_breakpoint_commands): Likewise.
1176
bb99c472
YQ
11772014-10-16 Yao Qi <yao@codesourcery.com>
1178
1179 * gdb.base/remotetimeout.exp: Remove noargs checking.
1180
7c16b83e
PA
11812014-10-15 Pedro Alves <palves@redhat.com>
1182
1183 PR breakpoints/9649
1184 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1185 * gdb.base/breakpoint-in-ro-region.exp
1186 (probe_target_hardware_step): New procedure.
1187 (top level): Probe hardware stepping and hardware breakpoint
1188 support. Test stepping through a read-only region, with both
1189 "breakpoint auto-hw" on and off and both "always-inserted" on and
1190 off.
1191
35a49624
IB
11922014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1193
1194 * gdb.dlang/demangle.exp: Update for demangling changes.
1195
2d1c107c
SC
11962014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1197
1198 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1199 * gdb.cp/non-trivial-retval.exp: Add new tests.
1200
778811d5
SC
12012014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1202
1203 PR c++/13403
1204 PR c++/15154
1205 * gdb.cp/non-trivial-retval.cc: New file.
1206 * gdb.cp/non-trivial-retval.exp: New file.
1207
10c5f0a8
YQ
12082014-10-15 Yao Qi <yao@codesourcery.com>
1209
1210 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1211 remote host.
1212
65d7b369
YQ
12132014-10-15 Yao Qi <yao@codesourcery.com>
1214
1215 * gdb.python/py-symbol.exp: Match file base name if host is
1216 remote, otherwise match file name with dir name.
1217 * gdb.python/py-symtab.exp: Likewise.
1218 * gdb.python/python.exp: Likewise.
1219
46dc1394
YQ
12202014-10-15 Yao Qi <yao@codesourcery.com>
1221
1222 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1223 pattern.
1224 * gdb.python/py-symtab.exp: Likewise.
1225 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1226 locationn.
1227
c40cc657
JB
12282014-10-14 Joel Brobecker <brobecker@adacore.com>
1229
1230 * gdb.ada/addr_arith: New testcase.
1231
2abf49e1
MR
12322014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1233
1234 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1235 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1236 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1237 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1238
f7088df3
SDJ
12392014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1240
1241 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1242 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1243 * gdb.arch/stap-eval-lang-ada.exp: New file.
1244
4dc06805
YQ
12452014-10-14 Yao Qi <yao@codesourcery.com>
1246
1247 * gdb.mi/mi-var-child.c (nothing1): New function.
1248 (nothing2): New function.
1249 (do_children_tests): Set function pointers by nothing1 and
1250 nothing2.
1251 * gdb.mi/mi-var-child.exp: Step over new added statements.
1252 Update test to match the new output.
1253 * gdb.mi/var-cmd.c (nothing1): New function.
1254 (nothing2): New function.
1255 (do_children_tests): Set function pointers by nothing1 and
1256 nothing2.
1257 * gdb.mi/mi-var-display.exp: Update test to match output.
1258 Step to the line specified by $line_dct_nothing.
1259 Increase the number of lines to step.
1260
46a93de2
YQ
12612014-10-14 Yao Qi <yao@codesourcery.com>
1262
1263 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1264 tests.
1265 * gdb.mi/mi2-var-child.exp: Likewise.
1266
14ea52ee
DE
12672014-10-13 Doug Evans <dje@google.com>
1268
1269 * gdb.python/py-objfile.exp: Change name of file name test.
1270
e5c6e92b
DE
12712014-10-13 Doug Evans <dje@google.com>
1272
1273 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1274 from the start of the CU.
1275
c780cc2f
JK
12762014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1277 Yao Qi <yao@codesourcery.com>
1278
1279 Fix "save breakpoints" for "catch" command.
1280 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1281 Remove -nonewline. Match also the added "main" line.
1282
99894e11
JK
12832014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1284
1285 Fix "save breakpoints" for "disable $bpnum" command.
1286 * gdb.base/save-bp.c (main): Add label.
1287 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1288
6e1ac5a3
JK
12892014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1290
1291 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1292
754dd2b0
YQ
12932014-10-11 Yao Qi <yao@codesourcery.com>
1294
1295 * gdb.server/server-kill.exp: Execute command
1296 "set remote trace-status-packet on" before "tstatus".
1297
f90183d7
YQ
12982014-10-11 Yao Qi <yao@codesourcery.com>
1299
1300 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1301 (main): Call getppid.
1302 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1303 and continue to it. Read variable "server_pid".
1304
bf40a607
YQ
13052014-10-11 Yao Qi <yao@codesourcery.com>
1306
1307 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1308
052ca370
YQ
13092014-10-11 Yao Qi <yao@codesourcery.com>
1310
1311 * gdb.threads/thread-find.exp: Don't execute command
1312 "info threads".
1313 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1314 * gdb.threads/linux-dp.exp: Don't check the condition
1315 $threads_created equals to zero.
1316
3831839c
PA
13172014-10-10 Pedro Alves <palves@redhat.com>
1318
1319 * gdb.base/bigcore.exp: Remove references to IRIX.
1320 * gdb.base/funcargs.exp: Likewise.
1321 * gdb.base/interrupt.exp: Likewise.
1322 * gdb.base/mips_pro.exp: Likewise.
1323 * gdb.base/nodebug.exp: Likewise.
1324 * gdb.base/setvar.exp: Likewise.
1325 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1326
8b9a549d
PA
13272014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1328 Pedro Alves <palves@redhat.com>
1329
1330 PR symtab/14466
1331 * gdb.base/vdso-warning.c: New file.
1332 * gdb.base/vdso-warning.exp: New file.
1333
d48ba5e8
DE
13342014-10-02 Doug Evans <dje@google.com>
1335
1336 * gdb.base/structs.c (main): Don't run forever.
1337
2278c276
PA
13382014-10-02 Pedro Alves <palves@redhat.com>
1339
1340 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1341 (top level) <stop threads 1, stop threads 2>: Use it.
1342
b57bacec
PA
13432014-10-02 Pedro Alves <palves@redhat.com>
1344
1345 * gdb.threads/break-while-running.exp (test): Add new
1346 'update_thread_list' argument. Skip "info threads" if false.
1347 (top level): Add new 'update_thread_list' axis.
1348
13fd3ff3
PA
13492014-10-02 Pedro Alves <palves@redhat.com>
1350
1351 PR breakpoints/17431
1352 * gdb.base/execl-update-breakpoints.c: New file.
1353 * gdb.base/execl-update-breakpoints.exp: New file.
1354
0fec99e8
PA
13552014-10-01 Pedro Alves <palves@redhat.com>
1356
1357 * gdb.base/breakpoint-in-ro-region.c: New file.
1358 * gdb.base/breakpoint-in-ro-region.exp: New file.
1359
2ddf4301
SM
13602014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1361
1362 * gdb.mi/mi-exit-code.exp: New file.
1363 * gdb.mi/mi-exit-code.c: New file.
1364
6a5f3f43
YQ
13652014-09-30 Yao Qi <yao@codesourcery.com>
1366
1367 * lib/prelink-support.exp (build_executable_own_libs): Error if
1368 the target isn't native.
1369
345bcc73
YQ
13702014-09-30 Yao Qi <yao@codesourcery.com>
1371
1372 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1373 false.
1374
a25a5a45
PA
13752014-09-22 Pedro Alves <palves@redhat.com>
1376
1377 * gdb.threads/break-while-running.exp: New file.
1378 * gdb.threads/break-while-running.c: New file.
1379
00ba3162
YQ
13802014-09-19 Yao Qi <yao@codesourcery.com>
1381
1382 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1383 Invoke test. Restart GDB with --readnow and invoke test again.
1384
c3b7b696
YQ
13852014-09-19 Yao Qi <yao@codesourcery.com>
1386
1387 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1388 proc set_breakpoint_on_gcd_function. Invoke
1389 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1390 invoke set_breakpoint_on_gcd_function again.
1391
2b4fd423
DE
13922014-09-18 Doug Evans <dje@google.com>
1393
1394 * gdb.dwarf2/symtab-producer.exp: New file.
1395
a5947601
SDJ
13962014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1397
1398 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1399 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1400 * gdb.base/global-var-nested-by-dso.c: Likewise.
1401 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1402
91c19059
SDJ
14032014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1404 Pedro Alves <palves@redhat.com>
1405
1406 * gdb.base/watch-bitfields.exp: Pass string other than test file
1407 name to prepare_for_testing.
1408 (watch): New procedure.
1409 (expect_watchpoint): Use with_test_prefix.
1410 (top level): Factor out tests to ...
1411 (test_watch_location, test_regular_watch): ... these new
1412 procedures, and use with_test_prefix and gdb_continue_to_end.
1413
bb9d5f81
PP
14142014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1415
1416 PR breakpoints/12526
1417 * gdb.base/watch-bitfields.exp: New file.
1418 * gdb.base/watch-bitfields.c: New file.
1419
635856f5
PA
14202014-09-16 Pedro Alves <palves@redhat.com>
1421
1422 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1423 software and hardware addresses, not software address against
1424 itself.
1425
7280ceea
PA
14262014-09-16 Pedro Alves <palves@redhat.com>
1427
1428 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1429 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1430
428b16bd
PA
14312014-09-16 Pedro Alves <palves@redhat.com>
1432
1433 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1434 files.
1435 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1436 "*-*-vxworks*" throughout.
1437 * gdb.base/break.exp: Likewise.
1438 * gdb.base/default.exp: Likewise.
1439 * gdb.base/scope.exp: Likewise.
1440 * gdb.base/sepdebug.exp: Likewise.
1441 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1442 throughout.
1443 * gdb.base/run.c: Likewise.
1444 * gdb.base/sepdebug.c: Likewise.
1445 * gdb.hp/gdb.aCC/run.c: Likewise.
1446 * gdb.reverse/until-reverse.c: Likewise.
1447 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1448
666d413c
YQ
14492014-09-16 Yao Qi <yao@codesourcery.com>
1450
1451 * boards/local-remote-host-native.exp: New file.
1452
57cbd724
DE
14532014-09-14 Doug Evans <xdje42@gmail.com>
1454
1455 * gdb.threads/queue-signal.c (thread_count): New variable.
1456 (thread_count_mutex, thread_count_condvar): New variables.
1457 (incr_thread_count, wait_all_threads_running): New functions.
1458 (main): Wait for all threads to be in their thread functions.
1459
81219e53
DE
14602014-09-13 Doug Evans <xdje42@gmail.com>
1461
1462 * gdb.threads/queue-signal.c: New file.
1463 * gdb.threads/queue-signal.exp: New file.
1464
3714cea7
DE
14652014-09-13 Doug Evans <xdje42@gmail.com>
1466
1467 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1468 be consistent with what default_gdb_init uses.
1469 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1470 the plain text of the prompt. Add some logging printfs.
1471 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1472
fa43b1d7
PA
14732014-09-12 Pedro Alves <palves@redhat.com>
1474
1475 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1476 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1477 * gdb.arch/i386-size-overlap.exp: Likewise.
1478 * gdb.arch/i386-size.exp: Likewise.
1479 * gdb.arch/i386-unwind.exp: Likewise.
1480 * gdb.base/a2-run.exp: Likewise.
1481 * gdb.base/break.exp: Likewise.
1482 * gdb.base/charset.exp: Likewise.
1483 * gdb.base/chng-syms.exp: Likewise.
1484 * gdb.base/commands.exp: Likewise.
1485 * gdb.base/dbx.exp: Likewise.
1486 * gdb.base/find.exp: Likewise.
1487 * gdb.base/funcargs.exp: Likewise.
1488 * gdb.base/jit-simple.exp: Likewise.
1489 * gdb.base/reread.exp: Likewise.
1490 * gdb.base/sepdebug.exp: Likewise.
1491 * gdb.base/step-bt.exp: Likewise.
1492 * gdb.cp/mb-inline.exp: Likewise.
1493 * gdb.cp/mb-templates.exp: Likewise.
1494 * gdb.objc/basicclass.exp: Likewise.
1495 * gdb.threads/killed.exp: Likewise.
1496
9d9bf2df
EBM
14972014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1498
1499 PR tdep/17379
1500 * gdb.arch/powerpc-stackless.S: New file.
1501 * gdb.arch/powerpc-stackless.exp: New file.
1502
1cf2f1b0
JK
15032014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1504
1505 * gdb.base/attach.c: Include unistd.h.
1506 (main): Call alarm. Add label postloop.
1507 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1508 gdb_breakpoint, gdb_continue_to_breakpoint.
1509 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1510
98880d46
PA
15112014-09-11 Pedro Alves <palves@redhat.com>
1512
1513 PR gdb/17347
1514 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1515 * gdb.base/attach.exp (test_command_line_attach_run): New
1516 procedure.
1517 (top level): Call it.
1518
4c92ff2c
PA
15192014-09-11 Pedro Alves <palves@redhat.com>
1520
1521 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1522 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1523 (do_command_attach_tests): Use spawn_wait_for_attach.
1524 * gdb.base/solib-overlap.exp: Likewise.
1525 * gdb.multi/multi-attach.exp: Likewise.
1526 * gdb.python/py-prompt.exp: Likewise.
1527 * gdb.python/py-sync-interp.exp: Likewise.
1528 * gdb.server/ext-attach.exp: Likewise.
1529
3adc1a7d
GKB
15302014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1531
1532 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1533 command in testcase. Simplify testcase.
1534
96334934
JB
15352014-09-10 Joel Brobecker <brobecker@adacore.com>
1536
1537 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1538
eb479039
JB
15392014-09-10 Joel Brobecker <brobecker@adacore.com>
1540
1541 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1542
deede10c
JB
15432014-09-10 Joel Brobecker <brobecker@adacore.com>
1544
1545 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1546
7828a5f5
JB
15472014-09-10 Joel Brobecker <brobecker@adacore.com>
1548
1549 * gdb.dwarf2/dynarr-ptr.c: New file.
1550 * gdb.dwarf2/dynarr-ptr.exp: New file.
1551
33aeebcf
MR
15522014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1553
1554 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1555 of 30 rather than hardcoding 120 for a slow test case. Take the
1556 `gdb,timeout' target setting into account for this calculation.
1557 Don't extend the timeout for the test cases that don't need it.
1558
7b415901
MR
15592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1560
1561 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1562 a factor of 2 for a slow test case. Take the `gdb,timeout'
1563 target setting into account for this calculation.
1564 * gdb.reverse/until-precsave.exp: Increase the timeout by
1565 a factor of 15 and 3 respectively rather than adding 120
1566 for a pair of slow test cases. Take the `gdb,timeout'
1567 target setting into account for this calculation.
1568
4a40f85a
MR
15692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1570
1571 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1572 timeout, don't pass one down to gdb_expect.
1573 (gdb_expect): Rework timeout selection.
1574
09635af7
MR
15752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1576
1577 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1578 exception on timeout.
1579 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1580 (gdbserver_start_extended): Catch any `gdbserver_start' error
1581 exceptions.
1582 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1583 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1584 `gdbserver_gdb_load' error exceptions.
1585
2bdd10b7
MR
15862014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1587
1588 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1589 120 on waiting for the TCP socket to open.
1590
316935f0
DE
15912014-09-09 Doug Evans <xdje42@gmail.com>
1592
1593 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1594 _caller_matches, _any_caller_is, _any_caller_matches.
1595
83740597
DE
15962014-09-09 Doug Evans <xdje42@gmail.com>
1597
1598 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1599
4c122fc3
YQ
16002014-09-09 Yao Qi <yao@codesourcery.com>
1601
1602 * gdb.mi/mi-var-display.exp: Set print symbol off.
1603
a9f116cb
GKB
16042014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1605
1606 PR gdb/17035
1607 * gdb.base/commands.exp: Add tests to verify user-defined
1608 commands with empty bodies.
1609 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1610 python commands in `show user command`.
1611 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1612 scheme commands in `show user command`.
1613
c75bd3a2
JK
16142014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1615
1616 PR python/17355
1617 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1618 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1619 * gdb.python/py-framefilter-invalidarg.exp: New file.
1620 * gdb.python/py-framefilter-invalidarg.py: New file.
1621
faa42425
DE
16222014-09-06 Doug Evans <xdje42@gmail.com>
1623
1624 PR 15276
1625 * gdb.python/py-caller-is.c: New file.
1626 * gdb.python/py-caller-is.exp: New file.
1627
474ca4f6
SDJ
16282014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1629
1630 PR gdb/17235
1631 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1632 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1633
eb0b0463
SDJ
16342014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1635
1636 PR fortran/17237
1637 * gdb.fortran/print-formatted.exp: New file.
1638 * gdb.fortran/print-formatted.f90: Likewise.
1639
5f3b99cf
SS
16402014-09-03 Sasha Smundak <asmundak@google.com>
1641
1642 * gdb.python/py-frame.exp: Test Frame.read_register.
1643
7d793aa9
SDJ
16442014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1645
1646 PR python/16699
1647 * gdb.python/py-completion.exp: New file.
1648 * gdb.python/py-completion.py: Likewise.
1649
fb0576e9
DE
16502014-08-28 Doug Evans <dje@google.com>
1651
1652 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1653 eax,etc. are live with values set by gdb and thus the compiler can't
1654 use them.
1655 * gdb.arch/i386-pseudo.c (main): Ditto.
1656
ee92b0dd
DE
16572014-08-27 Doug Evans <dje@google.com>
1658
1659 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1660
6649db35
DE
16612014-08-25 Doug Evans <dje@google.com>
1662
1663 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1664 (main): Ditto.
1665
564b7600
DE
16662014-08-25 Doug Evans <dje@google.com>
1667
1668 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1669
3881fb67
YQ
16702014-08-24 Yao Qi <yao@codesourcery.com>
1671
1672 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1673 symbol off.
1674 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1675
a05a36a5
DE
16762014-08-22 Doug Evans <dje@google.com>
1677
1678 PR 17276
1679 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1680 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1681 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1682
7c343b48
YQ
16832014-08-22 Yao Qi <yao@codesourcery.com>
1684
1685 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1686 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1687 * gdb.python/python.exp: Likewise. Use .py file on the host
1688 instead of the build.
1689
22fd09ae
JK
16902014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1691
1692 * gdb.threads/gcore-stale-thread.c: New file.
1693 * gdb.threads/gcore-stale-thread.exp: New file.
1694
a8454a7c
PA
16952014-08-21 Pedro Alves <palves@redhat.com>
1696
1697 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1698 * gdb.base/gcore-relro-pie.exp: Likewise.
1699 * gdb.base/gcore-relro.exp: Likewise.
1700 * gdb.base/gcore.exp: Likewise.
1701 * gdb.base/print-symbol-loading.exp: Likewise.
1702 * gdb.threads/gcore-thread.exp: Likewise.
1703 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1704
2a31c623
PA
17052014-08-20 Pedro Alves <palves@redhat.com>
1706 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1709 configure.
1710 (EXPECT): Handle READ1 being set.
1711 (all): Depend on EXTRA_RULES.
1712 (check-read1, expect-read1, read1.so, read1): New rules.
1713 * README (Testsuite Parameters): Document the READ1 make variable.
1714 (Race detection): New section.
1715 * configure: Regenerate.
1716 * configure.ac: If build==host==target, and running under a
1717 GNU/glibc system, add read1 to the extra Makefile rules.
1718 (EXTRA_RULES): AC_SUBST it.
1719 * lib/read1.c: New file.
1720
d36430db
JB
17212014-08-20 Joel Brobecker <brobecker@adacore.com>
1722
1723 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1724 the handling of variables declared as a typedef to an array
1725 which a DW_AT_data_location attribute.
1726
9a0dc9e3
PA
17272014-08-19 Andrew Burgess <aburgess@broadcom.com>
1728 Pedro Alves <palves@redhat.com>
1729
1730 PR symtab/14604
1731 PR symtab/14605
1732 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1733 gdb_test.
1734
0718a8da
PA
17352014-08-19 Pedro Alves <palves@redhat.com>
1736
1737 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1738
13b448cd
YQ
17392014-08-19 Yao Qi <yao@codesourcery.com>
1740
1741 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1742 right line.
1743
1cbf5077
DB
17442014-08-18 David Blaikie <dblaikie@gmail.com>
1745
1746 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1747
bf0fae19
JB
17482014-08-18 Joel Brobecker <brobecker@adacore.com>
1749
1750 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1751 attribute in array range.
1752
3c8c5dcc
JB
17532014-08-18 Joel Brobecker <brobecker@adacore.com>
1754
1755 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1756
e66d4446
SC
17572014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1758
1759 PR c++/17132
1760 * gdb.cp/pr17132.cc: New file.
1761 * gdb.cp/pr17132.exp: New file.
1762
940df408
SC
17632014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1764
1765 * gdb.python/py-xmethods.py (A_getarrayind)
1766 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1767 Use 'print' with function call syntax.
1768 (E_method_matcher.match): Fix tab vs space indentation mixup.
1769
ebcc6c3a
YQ
17702014-08-15 Yao Qi <yao@codesourcery.com>
1771
1772 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1773 false.
1774
775e0f04
YQ
17752014-08-15 Yao Qi <yao@codesourcery.com>
1776
1777 * gdb.cp/casts.exp: Set print symbol off.
1778 * gdb.cp/class2.exp: Likewise.
1779 * gdb.cp/overload.exp: Likewise.
1780 * gdb.cp/templates.exp: Likewise.
1781
d769e349
DE
17822014-08-11 Doug Evans <dje@google.com>
1783
1784 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1785 (test_load_shlib): Update.
1786
20c6f1e1
YQ
17872014-08-09 Yao Qi <yao@codesourcery.com>
1788
1789 * gdb.base/display.exp: Invoke is_address_zero_readable.
1790 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1791 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1792 * gdb.base/hbreak-unmapped.exp: Return if
1793 is_address_zero_readable returns true.
1794 * gdb.base/signest.exp: Likewise.
1795 * gdb.base/signull.exp: Likewise.
1796 * gdb.base/sigbpt.exp: Likewise.
1797 * gdb.guile/scm-disasm.exp: Do the test if
1798 is_address_zero_readable returns false.
1799 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1800 * gdb.python/py-arch.exp: Likewise.
1801 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1802 * lib/gdb.exp (is_address_zero_readable): New proc.
1803
5792e8e3
YQ
18042014-08-09 Yao Qi <yao@codesourcery.com>
1805
1806 PR testsuite/13443
1807 * gdb.mi/mi-var-display.exp: Make test messages unique.
1808
3cecbbbe
TT
18092014-08-04 Tom Tromey <tromey@redhat.com>
1810
1811 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1812 target 0".
1813
00b51ff5
TT
18142014-08-04 Tom Tromey <tromey@redhat.com>
1815
1816 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1817 "target_resume".
1818
6908c509
JB
18192014-08-01 Joel Brobecker <brobecker@adacore.com>
1820
1821 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1822 inner_vla_struct_object_size.
1823 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1824 as xfail.
1825
cc6563d2
PA
18262014-07-30 Pedro Alves <palves@redhat.com>
1827
1828 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1829 comment.
1830
7e09a223
YQ
18312014-07-29 Yao Qi <yao@codesourcery.com>
1832
1833 PR gdb/17206
1834 * gdb.base/until-nodebug.exp: New.
1835
7ebdbe92
DE
18362014-07-28 Doug Evans <xdje42@gmail.com>
1837
1838 PR guile/17203
1839 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1840 previously existing parameter, and previously ambiguously spelled
1841 parameter.
1842
fdb1adc6
WN
18432014-07-28 Will Newton <will.newton@linaro.org>
1844
1845 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1846
186fcde0
DE
18472014-07-26 Ludovic Courtès <ludo@gnu.org>
1848 Doug Evans <xdje42@gmail.com>
1849
1850 PR guile/17146
1851 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1852
70509625
PA
18532014-07-25 Pedro Alves <palves@redhat.com>
1854
1855 * gdb.threads/signal-command-handle-nopass.c: New file.
1856 * gdb.threads/signal-command-handle-nopass.exp: New file.
1857 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1858 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1859 * gdb.threads/signal-delivered-right-thread.c: New file.
1860 * gdb.threads/signal-delivered-right-thread.exp: New file.
1861
c3f814a1
PA
18622014-07-25 Pedro Alves <palves@redhat.com>
1863
1864 * gdb.base/double-prompt-target-event-error.exp
1865 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1866 match.
1867 (cancel_pagination_in_target_event): Rework double prompt
1868 detection.
1869 * gdb.base/paginate-after-ctrl-c-running.exp
1870 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1871 <return>' match.
1872 * gdb.base/paginate-bg-execution.exp
1873 (test_bg_execution_pagination_return)
1874 (test_bg_execution_pagination_cancel): Remove '-notransfer
1875 <return>' matches.
1876 * gdb.base/paginate-execution-startup.exp
1877 (test_fg_execution_pagination_return)
1878 (test_fg_execution_pagination_cancel): Remove '-notransfer
1879 <return>' matches.
1880 * gdb.base/paginate-inferior-exit.exp
1881 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1882 match.
1883 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1884 * lib/gdb.exp (pagination_prompt): Run text through
1885 string_to_regexp.
1886 (gdb_test_multiple): Match $pagination_prompt instead of
1887 "<return>".
1888 (string_to_regexp): Move to lib/gdb-utils.exp.
1889
e214cf6c
JK
18902014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1891
1892 * gdb.arch/amd64-entry-value-paramref.S: New file.
1893 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1894 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1895 * gdb.arch/amd64-optimout-repeat.S: New file.
1896 * gdb.arch/amd64-optimout-repeat.c: New file.
1897 * gdb.arch/amd64-optimout-repeat.exp: New file.
1898
17d0c5c8
JK
18992014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1900
1901 PR gdb/17170
1902 * gdb.base/statistics.exp: New file.
1903
b8b8facf
DE
19042014-07-17 Doug Evans <dje@google.com>
1905
74b49205 1906 PR gdb/17170
b8b8facf
DE
1907 * gdb.base/maint.exp: Update testing of per-command stats.
1908
1b5d0ab3
PA
19092014-07-16 Pedro Alves <palves@redhat.com>
1910
1911 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1912 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1913 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1914 (tfile_write_buf): New functions.
1915 (add_memory_block): Rewrite using the above.
1916 (adjust_function_address): New function.
1917 (FUNCTION_ADDRESS): New macro.
1918 (write_basic_trace_file): Remove short_x local, and use
1919 tfile_write_16. Change type of func_addr local to unsigned long
1920 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1921 here. Cast argument of add_memory_block to char pointer.
1922 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1923 (main): Remove parameters.
1924 * gdb.trace/tfile.exp: Remove nowarnings.
1925
4d974e88
SM
19262014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1927
1928 * gdb.base/debug-expr.exp: Test string evaluation with
1929 "debug expression" on.
1930
41e99568
PA
19312014-07-15 Pedro Alves <palves@redhat.com>
1932
1933 * gdb.base/reread.exp: Use clean_restart.
1934
487d9753
PL
19352014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1936
1937 * gdb.arch/avr-flash-qualifer.c: New.
1938 * gdb.arch/avr-flash-qualifer.exp: New.
1939
cc1c52ad
PA
19402014-07-14 Pedro Alves <palves@redhat.com>
1941
1942 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1943 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1944
1e973570
PA
19452014-07-14 Pedro Alves <palves@redhat.com>
1946
1947 * gdb.base/double-prompt-target-event-error.c: New file.
1948 * gdb.base/double-prompt-target-event-error.exp: New file.
1949
93d6eb10
PA
19502014-07-14 Pedro Alves <palves@redhat.com>
1951
1952 PR gdb/17072
1953 * gdb.base/paginate-inferior-exit.c: New file.
1954 * gdb.base/paginate-inferior-exit.exp: New file.
1955
0017922d
PA
19562014-07-14 Pedro Alves <palves@redhat.com>
1957
1958 PR gdb/17072
1959 * gdb.base/paginate-bg-execution.c: New file.
1960 * gdb.base/paginate-bg-execution.exp: New file.
1961
94696ad3
PA
19622014-07-14 Pedro Alves <palves@redhat.com>
1963
1964 PR gdb/17072
1965 * gdb.base/paginate-execution-startup.c: New file.
1966 * gdb.base/paginate-execution-startup.exp: New file.
1967 * lib/gdb.exp (pagination_prompt): New global.
1968 (default_gdb_spawn): New procedure, factored out from
1969 default_gdb_spawn.
1970 (default_gdb_start): Adjust to call default_gdb_spawn.
1971 (gdb_spawn): New procedure.
1972
bd293940
PA
19732014-07-14 Pedro Alves <palves@redhat.com>
1974
1975 * lib/gdb.exp (gdb_assert): New procedure.
1976 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1977
c933f875
PA
19782014-07-14 Pedro Alves <palves@redhat.com>
1979
1980 * gdb.base/execution-termios.c: New file.
1981 * gdb.base/execution-termios.exp: New file.
1982
d98b7a16
TT
19832014-07-14 Tom Tromey <tromey@redhat.com>
1984
1985 * gdb.cp/vla-cxx.cc: New file.
1986 * gdb.cp/vla-cxx.exp: New file.
1987
548740d6
TT
19882014-07-14 Tom Tromey <tromey@redhat.com>
1989
1990 * gdb.reverse/rerun-prec.c: New file.
1991 * gdb.reverse/rerun-prec.exp: New file.
1992
a25eb028
MR
19932014-07-12 Maciej W. Rozycki <macro@mips.com>
1994 Maciej W. Rozycki <macro@codesourcery.com>
1995
1996 * lib/gdb-utils.exp: New file.
1997 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1998 inline `gdb_init_command' processing.
1999 (gdb_start_cmd): Likewise.
2000 * lib/mi-support.exp (mi_run_cmd): Likewise.
2001 * README: Document `gdb_init_command' and `gdb_init_commands'.
2002
218c2655
JK
20032014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2004
2005 Fix false FAIL running under a very long directory name.
2006 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2007 and "set print elements 10000". Twice.
2008
5401fde3
YQ
20092014-07-11 Yao Qi <yao@codesourcery.com>
2010
2011 * gdb.base/exprs.exp: "set print symbol off".
2012
e76126e8
PA
20132014-07-11 Pedro Alves <palves@redhat.com>
2014
2015 * gdb.threads/kill.c: New file.
2016 * gdb.threads/kill.exp: New file.
2017
2d6f0de6
YQ
20182014-07-10 Yao Qi <yao@codesourcery.com>
2019
2020 * gdb.trace/tfile.c (write_basic_trace_file)
2021 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2022 address written to trace file.
2023
7180e04a
PA
20242014-07-09 Pedro Alves <palves@redhat.com>
2025
2026 * gdb.base/attach-wait-input.exp: New file.
2027 * gdb.base/attach-wait-input.c: New file.
2028
9a9a7608
AB
20292014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2030
2031 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2032 setting up test structures.
2033 (main): Call new test function.
2034 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2035 test function, continue into test function and walk test
2036 structures.
2037
161ac41e
YQ
20382014-07-02 Yao Qi <yao@codesourcery.com>
2039
2040 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2041 'bar_start' at the beginning of functions 'foo' and 'bar'
2042 respectively.
2043 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2044 instead of 'foo' and 'bar'.
2045
1f267ae3
MM
20462014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2047
2048 * gdb.btrace/segv.exp: New.
2049 * gdb.btrace/segv.c: New.
2050
2b239efb
LM
20512014-07-02 Luis Machado <lgustavo@codesourcery.com>
2052
2053 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2054 instruction.
2055
cf363f18
MW
20562014-06-30 Mark Wielaard <mjw@redhat.com>
2057
2058 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2059 vulture, vilify, villar): New volatile array constants.
2060 (vindictive, vegetation): New const volatile array constants.
2061 * gdb.base/volatile.exp: Test volatile and const volatile array
2062 types.
2063
aebf9d24
AA
20642014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2065
2066 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2067 target lacks support for awatch, rwatch, or hbreak.
2068
b67a2c6f
YQ
20692014-06-27 Yao Qi <yao@codesourcery.com>
2070
2071 * gdb.multi/dummy-frame-restore.exp: New.
2072 * gdb.multi/dummy-frame-restore.c: New.
2073
aef92902
MM
20742014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2075
2076 * gdb.btrace/gcore.exp: New.
2077
8e9db26e
PA
20782014-06-23 Pedro Alves <palves@redhat.com>
2079
2080 * gdb.base/watchpoint-reuse-slot.c: New file.
2081 * gdb.base/watchpoint-reuse-slot.exp: New file.
2082
70afc5b7
SC
20832014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2084
2085 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2086 progspace's filename in 'info', 'enable' and 'disable' command
2087 tests.
2088
b972bd9c
JK
20892014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2090
2091 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2092 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2093 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2094
125f8a3d
GB
20952014-06-20 Gary Benson <gbenson@redhat.com>
2096
2097 * gdb.arch/i386-avx.exp: Fix include file location.
2098 * gdb.arch/i386-sse.exp: Likewise.
2099
3ed9baed
IB
21002014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2101
2102 * gdb.dlang/expression.exp: New file.
2103
034f788c
PA
21042014-06-19 Pedro Alves <palves@redhat.com>
2105
2106 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2107 out from ...
2108 (top level): ... here. Iterate running tests under different
2109 scheduler-locking settings.
2110
45371d0c
LM
21112014-06-18 Luis Machado <lgustavo@codesourcery.com>
2112
2113 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2114 to DW_FORM_addr and use non-zero addresses.
2115
5d376983
SC
21162014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2117
2118 PR gdb/17017
2119 * gdb.python/py-xmethods.cc: Add global function call counters and
2120 increment them in their respective functions. Remove "cout"
2121 statements.
2122 * gdb.python/py-xmethods.exp: Make tests check the global function
2123 call counters instead of depending on inferior IO.
2124
a1aa2221
LM
21252014-06-18 Don Breazeal <donb@codesourcery.com>
2126
2127 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2128 Deleted procedure.
2129 (explicit_fork_parent_follow): Deleted procedure.
2130 (explicit_fork_child_follow): Deleted procedure.
2131 (test_follow_fork): New procedure.
2132 (do_fork_tests): Replace calls to deleted procedures with
2133 calls to test_follow_fork and reset GDB for subsequent
2134 procedure calls.
2135
0fc05997
YQ
21362014-06-17 Yao Qi <yao@codesourcery.com>
2137
2138 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2139 CP1252.
2140
70795c52
LM
21412014-06-17 Luis Machado <lgustavo@codesourcery.com>
2142
2143 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2144 Initialize ptr and S explicitly.
2145 (skip_type_update_when_not_use_rtti_test): Likewise.
2146
6be47f0c
KS
21472014-06-16 Keith Seitz <keiths@redhat.com>
2148
2149 PR mi/15863
2150 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2151 the inferior is started.
2152
d03de421
PA
21532014-06-16 Pedro Alves <palves@redhat.com>
2154
2155 * gdb.base/break-main-file-remove-fail.c: New file.
2156 * gdb.base/break-main-file-remove-fail.exp: New file.
2157 * gdb.base/break-unload-file.exp: Use build_executable instead of
2158 prepare_for_testing.
2159 (test_break): New parameter "initial_load". Handle it.
2160 (top level): Add initial_load cmdline/file axis.
2161
f9579b99
TT
21622014-06-12 Tom Tromey <tromey@redhat.com>
2163
2164 * gdb.base/completion.exp: Don't use directory name in test.
2165
3657956b
GB
21662014-06-09 Gary Benson <gbenson@redhat.com>
2167
2168 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2169 separate the always-available ANSI-standard signals from the
2170 signals that require checking.
2171 (main): Likewise.
2172 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2173 Likewise.
2174 (main): Likewise.
2175
4186eb54
KS
21762014-06-07 Keith Seitz <keiths@redhat.com>
2177
2178 Revert:
2179 PR c++/16253
2180 * gdb.cp/var-tag.cc: New file.
2181 * gdb.cp/var-tag.exp: New file.
2182 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2183 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2184 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2185 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2186
25326a28 21872014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2188
2189 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2190
829155c9
PA
21912014-06-06 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2194 in target debug output instead of looking at RSP packets,
2195 disabling the test on any target that uses hardware stepping.
2196 Update comments.
2197
61c8d22e
PA
21982014-06-06 Pedro Alves <palves@redhat.com>
2199
2200 * gdb.base/break-unload-file.exp: Fix typo.
2201
d9a47287
YQ
22022014-06-06 Yao Qi <yao@codesourcery.com>
2203
2204 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2205 from "jit_function" to "^jit_function".
2206
e5e01dbf
YQ
22072014-06-06 Yao Qi <yao@codesourcery.com>
2208
2209 * gdb.base/async.c (foo): Add one statement.
2210 * gdb.base/async.exp: Get the next instruction address and
2211 match the output of "nexti" by instruction address. Match
2212 the hex address in the output of "finish".
2213
73ba372c
GB
22142014-06-06 Gary Benson <gbenson@redhat.com>
2215
2216 * gdb.base/call-signals.c: Remove preprocessor conditionals
2217 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2218 SIGSEGV and SIGTERM.
2219 * gdb.base/sigall.c: Likewise.
2220 * gdb.base/unwindonsignal.c: Likewise.
2221 * gdb.reverse/sigall-reverse.c: Likewise.
2222
831517df
YQ
22232014-06-06 Yao Qi <yao@codesourcery.com>
2224
2225 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2226 readable, skip the test.
2227
b8b91e98
YQ
22282014-06-06 Yao Qi <yao@codesourcery.com>
2229
2230 * gdb.threads/staticthreads.c (thread_function): Move the line
2231 setting breakpoint on forward.
2232 * gdb.threads/staticthreads.exp: Update comments.
2233
fb934770
LC
22342014-06-05 Ludovic Courtès <ludo@gnu.org>
2235
2236 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2237 "history-append! type error".
2238
6ef284bd
SM
22392014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2240
2241 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2242 erroneous dprintf expected input.
2243
a872e241
DE
22442014-06-04 Doug Evans <xdje42@gmail.com>
2245
2246 * gdb.guile/scm-generics.exp: Delete.
2247
16f691fb
DE
22482014-06-04 Doug Evans <xdje42@gmail.com>
2249
2250 * gdb.guile/scm-breakpoint.exp: Update.
2251 Add tests for breakpoint registration.
2252
012370f6
TT
22532014-06-04 Tom Tromey <tromey@redhat.com>
2254
2255 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2256 VLA-in-union.
2257 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2258 inner_vla_struct, vla_union types. Initialize objects of those
2259 types and compute their sizes.
2260
9f5a4cef
HZ
22612014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2262 Hui Zhu <hui@codesourcery.com>
2263
2264 * gdb.base/fileio.exp: Add test for shell not available as well as
2265 available.
2266 * gdb.base/fileio.c (test_system): Check for shell twice.
2267
90a45c4d
YQ
22682014-06-04 Yao Qi <yao@codesourcery.com>
2269
2270 * gdb.base/auto-connect-native-target.exp: Remove redundant
2271 space from the regexp pattern.
2272
70017e41
YQ
22732014-06-04 Yao Qi <yao@codesourcery.com>
2274
2275 * gdb.base/default.exp: Replace "child" with "native" in
2276 regexp pattern.
2277
883964a7
SC
22782014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2279
2280 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2281 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2282 * gdb.python/py-xmethods.py: Python script supporting the
2283 new testcase and tests.
2284
ef370185
JB
22852014-06-03 Joel Brobecker <brobecker@adacore.com>
2286 Pedro Alves <palves@redhat.com>
2287
2288 PR breakpoints/17000
2289 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2290 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2291
1e2ccb61
BM
22922014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2293
2294 * gdb.base/subst.exp: Add tests to verify partial path matching
2295 output.
2296
c6ec5ab2
PA
22972014-06-03 Pedro Alves <palves@redhat.com>
2298
2299 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2300 target that doesn't use software single-stepping.
2301
835c559f
PA
23022014-06-03 Pedro Alves <palves@redhat.com>
2303
2304 PR breakpoints/17000
2305 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2306 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2307
06eb1586
DE
23082014-06-02 Doug Evans <xdje42@gmail.com>
2309
2310 * gdb.guile/scm-parameter.exp: New file.
2311
e698b8c4
DE
23122014-06-02 Doug Evans <xdje42@gmail.com>
2313
2314 * gdb.guile/scm-cmd.c: New file.
2315 * gdb.guile/scm-cmd.exp: New file.
2316
ded03782
DE
23172014-06-02 Doug Evans <xdje42@gmail.com>
2318
2319 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2320 pretty-printer lookup.
2321 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2322 (make-pp_s-printer): Call it.
2323 (make-pretty-printer-from-dict): New function.
2324 (lookup-pretty-printer-maker-from-dict): New function.
2325 (*pretty-printer*): Simplify.
2326 (make-objfile-pp_s-printer): New function.
2327 (install-objfile-pretty-printers!): New function.
2328 (make-progspace-pp_s-printer): New function.
2329 (install-progspace-pretty-printers!): New function.
2330 * gdb.guile/scm-progspace.c: New file.
2331 * gdb.guile/scm-progspace.exp: New file.
2332
41fac0cf
PA
23332014-06-02 Pedro Alves <palves@redhat.com>
2334
2335 * gdb.base/dprintf-bp-same-addr.c: New file.
2336 * gdb.base/dprintf-bp-same-addr.exp: New file.
2337
96ae5695
EBM
23382014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2339
2340 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2341 * gdb.arch/powerpc-power.s: Likewise.
2342
da02b3a8
JB
23432014-06-02 Joel Brobecker <brobecker@adacore.com>
2344
2345 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2346
c72b2e7b
YQ
23472014-06-01 Yao Qi <yao@codesourcery.com>
2348
2349 * gdb.base/watchpoint.exp (test_watch_location): Check null
2350 pointer can be dereferenced. If not, do the test, otherwise
2351 skip it.
2352
53e8a631
AB
23532014-05-30 Andrew Burgess <aburgess@broadcom.com>
2354
2355 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2356 results.
2357 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2358
938f0e2f
AB
23592014-05-30 Andrew Burgess <aburgess@broadcom.com>
2360
2361 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2362 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2363 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2364 * gdb.arch/amd64-invalid-stack-top.c: New file.
2365 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2366
9ba6657a
PA
23672014-05-30 Pedro Alves <palves@redhat.com>
2368
2369 PR breakpoints/17000
2370 * gdb.base/sss-bp-on-user-bp.c: New file.
2371 * gdb.base/sss-bp-on-user-bp.exp: New file.
2372
522c09bf
DB
23732014-05-30 David Blaikie <dblaikie@gmail.com>
2374
2375 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2376 gnu_inline semantics via attribute.
2377 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2378 source explicitly specifies the required semantics.
2379
bf4ef81e
MR
23802014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2381
2382 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2383
329ea579
PA
23842014-05-29 Pedro Alves <palves@redhat.com>
2385 Tom Tromey <tromey@redhat.com>
2386
2387 * gdb.base/async-shell.exp: Don't enable target-async.
2388 * gdb.base/async.exp
2389 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2390 parameter. Adjust.
2391 (top level): Don't test with "target-async".
2392 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2393 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2394 * gdb.base/inferior-died.exp: Don't enable target-async.
2395 * gdb.base/interrupt-noterm.exp: Likewise.
2396 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2397 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2398 * gdb.mi/mi-nonstop.exp: Likewise.
2399 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2400 * gdb.mi/mi-nsintrall.exp: Likewise.
2401 * gdb.mi/mi-nsmoribund.exp: Likewise.
2402 * gdb.mi/mi-nsthrexec.exp: Likewise.
2403 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2404 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2405 * gdb.python/py-evsignal.exp: Don't enable target-async.
2406 * gdb.python/py-evthreads.exp: Likewise.
2407 * gdb.python/py-prompt.exp: Likewise.
2408 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2409 * gdb.server/solib-list.exp: Don't enable target-async.
2410 * gdb.threads/thread-specific-bp.exp: Likewise.
2411 * lib/mi-support.exp: Adjust to use mi-async.
2412
fd664c91
PA
24132014-05-29 Pedro Alves <palves@redhat.com>
2414
2415 PR gdb/13860
2416 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2417 reason, even in sync mode.
2418
251bde03
PA
24192014-05-29 Pedro Alves <palves@redhat.com>
2420 Hui Zhu <hui@codesourcery.com>
2421
2422 PR PR15693
2423 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2424 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2425 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2426 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2427
7f3c0343
JB
24282014-05-28 Joel Brobecker <brobecker@adacore.com>
2429
2430 * config/monitor.exp (gdb_target_monitor): Replace use of
2431 "set remotebaud" by "set serial baud".
2432
b2715b27
AW
24332014-05-26 Andy Wingo <wingo@igalia.com>
2434
2435 * gdb.guile/scm-breakpoint.exp:
2436 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2437 properties instead of gdb-object-properties.
2438
498a4489
YQ
24392014-05-26 Yao Qi <yao@codesourcery.com>
2440
2441 * gdb.server/no-thread-db.exp: Specify source file name
2442 explicitly when setting a breakpoint.
2443
589fdceb
MM
24442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2445
2446 * gdb.btrace/vdso.c: New.
2447 * gdb.btrace/vdso.exp: New.
2448
e9089e05
MM
24492014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2450
2451 * gdb.base/gcore.exp (capture_command_output): Move ...
2452 * lib/gdb.exp (capture_command_output): ... here.
2453
67b5c0c1
MM
24542014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2455
2456 * gdb.btrace/data.exp: Test memory access during btrace replay.
2457
a2199296
SM
24582014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2459
2460 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2461
17b2616c
PA
24622014-05-21 Pedro Alves <palves@redhat.com>
2463
2464 PR gdb/13860
2465 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2466 (top level): Test that output related to execution commands is
2467 sent to the console with CLI commands, but not with MI commands.
2468 Test that breakpoint events are always mirrored to the console.
2469 Also expect the new source line to be output after a "next" in
2470 async mode too. Make it a pass/fail test.
2471 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2472 output.
2473 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2474
5166082f
PA
24752014-05-21 Pedro Alves <palves@redhat.com>
2476
2477 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2478 Use them to test variations of "list" after reaching a breakpoint.
2479 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2480 Test "list" with listsize 10 after reaching a breakpoint.
2481 * gdb.python/python.exp (decode_line current location line
2482 number): Adjust expected line number.
2483
2f25d70f
SM
24842014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2485
2486 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2487 behavior for $args, pass it directly to "run".
2488
ff604a67
MR
24892014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2490
2491 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2492 30000 to 65536.
2493
6a3cb8e8
PA
24942014-05-21 Pedro Alves <palves@redhat.com>
2495
2496 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2497 auto-connect-native-target off".
2498 * gdb.base/auto-connect-native-target.c: New file.
2499 * gdb.base/auto-connect-native-target.exp: New file.
2500
4ebfc96e
PA
25012014-05-21 Pedro Alves <palves@redhat.com>
2502
2503 * gdb.base/default.exp: Test "target native" instead of "target
2504 child".
2505
36d46afb
MW
25062014-05-21 Mark Wielaard <mjw@redhat.com>
2507
2508 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2509
5876f503
JK
25102014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2511
2512 Fix TLS access for -static -pthread.
2513 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2514 <HAVE_TLS> (thread_function, main): Initialize it.
2515 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2516 Add clean_restart.
2517 <$have_tls != "">: Check TLSVAR.
2518
0256a6ac
PA
25192014-05-21 Pedro Alves <palves@redhat.com>
2520
2521 * gdb.base/dcache-line-read-error.c: New.
2522 * gdb.base/dcache-line-read-error.exp: New.
2523
936d2992
PA
25242014-05-20 Pedro Alves <palves@redhat.com>
2525
2526 * gdb.base/compare-sections.c: New file.
2527 * gdb.base/compare-sections.exp: New file.
2528
802e8e6d
PA
25292014-05-20 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.base/break-idempotent.c: New file.
2532 * gdb.base/break-idempotent.exp: New file.
2533
e59fa00f
MM
25342014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2535
2536 * gdb.btrace/nohist.exp: New.
2537
8b696e31
YQ
25382014-05-20 Yao Qi <yao@codesourcery.com>
2539
2540 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2541 gdb.reverse directory and gdb_reverse_timeout exists in board
2542 setting.
2543 * README: Document gdb_reverse_timeout.
2544
73c9764f
YQ
25452014-05-20 Yao Qi <yao@codesourcery.com>
2546
2547 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2548 'test_file_name'. Treat args as a string instead of a list.
2549 (gdb_init): Rename argument 'args' by 'test_file_name'.
2550
f1f4348a
JK
25512014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2552
2553 * gdb.arch/powerpc-power.exp: New file.
2554 * gdb.arch/powerpc-power.s: New file.
2555
0dbe70ce
DE
25562014-05-16 Doug Evans <dje@google.com>
2557
2558 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2559 * gdb.base/completion.exp: Check that all expected files exist
2560 before doing file completion.
0dbe70ce 2561
8d551b02
DE
25622014-05-16 Doug Evans <dje@google.com>
2563
2564 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2565 Update.
2566 (do_syscall_tests_without_xml): Update.
2567
73eb7709
PA
25682014-05-16 Pedro Alves <palves@redhat.com>
2569
2570 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2571 instead of "unknown output after running".
2572
3fae92fc
YQ
25732014-05-16 Yao Qi <yao@codesourcery.com>
2574
2575 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2576 file1.txt from host at the end.
2577 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2578
c2b2ccc5
DE
25792014-05-15 Doug Evans <dje@google.com>
2580
2581 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2582 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2583 loading file. Add test for TU lookup.
2584
8c217a4b
SM
25852014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2586
2587 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2588 calling "-exec-arguments" or "set args" before running the
2589 inferior.
2590
3deb39c6
SM
25912014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2592
2593 * lib/mi-support.exp (mi_expect_stop): Expect message for
2594 inferiors that exit with non-zero exit code.
2595
71a79f8c
YQ
25962014-05-14 Yao Qi <yao@codesourcery.com>
2597
2598 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2599 match absolute path on remote host.
2600 (test_file_list_exec_source_files): Remove "/" from the
2601 pattern.
2602
f23fcd46
YQ
26032014-05-14 Yao Qi <yao@codesourcery.com>
2604
2605 * boards/local-remote-host-notty.exp (${board}_file): New
2606 proc.
2607
9404b58f
KM
26082014-05-07 Kyle McMartin <kyle@redhat.com>
2609
2610 Pushed by Joel Brobecker <brobecker@adacore.com>.
2611 * gdb.arch/aarch64-atomic-inst.c: New file.
2612 * gdb.arch/aarch64-atomic-inst.exp: New file.
2613
5e45f04c
YQ
26142014-05-07 Yao Qi <yao@codesourcery.com>
2615
2616 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2617 in current context" too.
2618
c888a17d
KS
26192014-05-05 Keith Seitz <keiths@redhat.com>
2620
2621 * gdb.linespec/ls-dollar.exp: Add test for linespec
2622 file:convenience_variable.
2623
290a839c
YQ
26242014-05-05 Yao Qi <yao@codesourcery.com>
2625
2626 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2627 traceframes into tfile and ctf trace files. Read data from
2628 trace file and test collected data.
2629 (gdb_collect_locals_test): Likewise.
2630 (gdb_unavailable_registers_test): Likewise.
2631 (gdb_unavailable_floats): Likewise.
2632 (gdb_collect_globals_test): Likewise.
2633 (top-level): Append "ctf" to trace_file_targets if GDB
2634 supports.
2635
b5262cd0
YQ
26362014-05-05 Yao Qi <yao@codesourcery.com>
2637
2638 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2639 code to ...
2640 (gdb_collect_args_test_1): ... it. New proc.
2641 (gdb_collect_locals_test): Move some code to ...
2642 (gdb_collect_locals_test_1): ... it. New proc.
2643 (gdb_unavailable_registers_test): Move some code to ...
2644 (gdb_unavailable_registers_test_1): ... it. New proc.
2645 (gdb_unavailable_floats): Move some code to ...
2646 (gdb_unavailable_floats_1): ... it. New proc.
2647
30a1e6cc
SDJ
26482014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2649
2650 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2651 probes to test for bitness recognition.
2652 * gdb.arch/amd64-stap-optional-prefix.exp
2653 (test_probe_value_without_reg): New procedure.
2654 Add code to test for different kinds of bitness.
2655
f33da99a
SDJ
26562014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2657
2658 PR breakpoints/16889
2659 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2660 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2661
5b80f00d
PA
26622014-05-01 Pedro Alves <palves@redhat.com>
2663
2664 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2665 gdb_file_cmd if no file is specified.
2666 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2667 last_loaded_file to set the remote exec-file.
2668
f8c2a73c
PA
26692014-05-01 Pedro Alves <palves@redhat.com>
2670
2671 * boards/local-remote-host.exp: New file.
2672
be6e8ac7
PA
26732014-05-01 Pedro Alves <palves@redhat.com>
2674
2675 * boards/local-remote-host.exp: Rename to ...
2676 * boards/local-remote-host-notty.exp: ... this.
2677
cac0dc8f
JB
26782014-04-28 Joel Brobecker <brobecker@adacore.com>
2679
2680 * gdb.ada/dyn_arrayidx: New testcase.
2681
9730e6cc
YQ
26822014-04-26 Yao Qi <yao@codesourcery.com>
2683
2684 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2685 and compute the length of function main. Save it in
2686 $main_length.
2687 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2688 (top-level): Use gdb_compile to compile objects into
2689 executable and restart GDB. Remove invocation to
2690 prepare_for_testing.
2691
7ae1a6a6
PA
26922014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2693 Pedro Alves <palves@redhat.com>
2694
2695 PR server/16255
2696 * gdb.multi/multi-attach.c: New file.
2697 * gdb.multi/multi-attach.exp: New file.
2698
4082afcc
PA
26992014-04-25 Pedro Alves <palves@redhat.com>
2700
2701 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2702 user.
2703 (top level): Test that "set remote conditional-breakpoints-packet
2704 off" works as intended.
2705 * gdb.base/dprintf.exp: Test that "set remote
2706 breakpoint-commands-packet off" works as intended.
2707 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2708 New function.
2709 (top level): Call it.
2710 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2711 remote fast-tracepoints-packet off" works as intended.
2712 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2713 * lib/gdb.exp (gdb_is_target_remote): ... here.
2714
2abc3f8d
DB
27152014-04-24 David Blaikie <dblaikie@gmail.com>
2716
2717 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2718 ensure clang would not discard them.
2719 * gdb.base/gdbvars.c: Ditto.
2720 * gdb.base/memattr.c: Ditto.
2721 * gdb.base/whatis.c: Ditto.
2722 * gdb.python/py-prettyprint.c: Ditto.
2723 * gdb.trace/actions.c: Ditto.
2724 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2725 ensure clang would not discard it.
2726
bfd39632
DB
27272014-04-24 David Blaikie <dblaikie@gmail.com>
2728
2729 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2730 clang to emit the full definition of type required by the test
2731 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2732
22842ff6
DB
27332014-04-24 David Blaikie <dblaikie@gmail.com>
2734
2735 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2736 coax Clang into emitting the definition of the type.
2737 * gdb.cp/pr10728-x.h (y): Ditto.
2738 * gdb.cp/pr10728-y.cc (y): Ditto.
2739
c2e827ad
DB
27402014-04-24 David Blaikie <dblaikie@gmail.com>
2741
2742 * gdb.base/label.exp: XFAIL label related tests under Clang.
2743 * gdb.cp/cplabel.exp: Ditto.
2744 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2745 under Clang those using labels.
2746
4c2d33e7
YQ
27472014-04-25 Yao Qi <yao@codesourcery.com>
2748
2749 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2750 double_label.
2751 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2752 partial_label and double_label.
2753
56083b99
DB
27542014-04-24 David Blaikie <dblaikie@gmail.com>
2755
2756 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2757
25d4e99d
DB
27582014-04-24 David Blaikie <dblaikie@gmail.com>
2759
2760 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2761 of the function to work across GCC and Clang.
2762 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2763 pointer types (const void ** const V void **).
2764
01f9f808
MS
27652014-04-24 Michael Sturm <michael.sturm@mintel.com>
2766 Walfred Tedeschi <walfred.tedeschi@intel.com>
2767
2768 * Makefile.in (EXECUTABLES): Added i386-avx512.
2769 * gdb.arch/i386-avx512.c: New file.
2770 * gdb.arch/i386-avx512.exp: Likewise.
2771
4b48d439
KS
27722014-04-23 Keith Seitz <keiths@redhat.com>
2773
2774 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2775 (mi_make_breakpoint_table): New procedure.
2776 (mi_create_breakpoint): Use mi_make_breakpoint
2777 and return the result.
2778 (mi_make_breakpoint): New procedure.
2779 (mi_build_kv_pairs): New procedure.
2780
2781 * gdb.mi/mi-break.exp: Remove unused globals,
2782 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2783 All callers updated.
2784 * gdb.mi/mi-dprintf.exp: Use variable to track command
2785 number.
2786 Update all callers of mi_create_breakpoint and use
2787 mi_make_breakpoint_table.
2788 Remove any unused global variables.
2789 * gdb.mi/mi-nonstop.exp: Likewise.
2790 * gdb.mi/mi-nsintrall.exp: Likewise.
2791 * gdb.mi/mi-nsmoribund.exp: Likewise.
2792 * gdb.mi/mi-nsthrexec.exp: Likewise.
2793 * gdb.mi/mi-reverse.exp: Likewise.
2794 * gdb.mi/mi-simplerun.exp: Likewise.
2795 * gdb.mi/mi-stepn.exp: Likewise.
2796 * gdb.mi/mi-syn-frame.exp: Likewise.
2797 * gdb.mi/mi-until.exp: Likewise.
2798 * gdb.mi/mi-var-cp.exp: Likewise.
2799 * gdb.mi/mi-var-display.exp: Likewise.
2800 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2801 * gdb.mi/mi2-var-child.exp: Likewise.
2802 * gdb.mi/mi-vla-c99.exp: Likewise.
2803 * lib/mi-support.exp: Likewise.
2804
2805 From Ian Lance Taylor <iant@cygnus.com>:
2806 * lib/gdb.exp (parse_args): New procedure.
2807
08351840
PA
28082014-04-23 Pedro Alves <palves@redhat.com>
2809
2810 * gdb.base/break-unload-file.c: New file.
2811 * gdb.base/break-unload-file.exp: New file.
2812 * gdb.base/sym-file-lib.c (baz): New function.
2813 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2814 field.
2815 (load): Store the segment's mapped size.
2816 (unload): New function.
2817 (unload_shlib): New function.
2818 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2819 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2820 set a breakpoint at baz, and call it.
2821 * gdb.base/sym-file.exp: New tests for stale breakpoint
2822 instructions.
2823
076855f9
PA
28242014-04-23 Pedro Alves <palves@redhat.com>
2825
2826 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2827 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2828 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2829 * gdb.base/hbreak-unmapped.c: New file.
2830 * gdb.base/hbreak-unmapped.exp: New file.
2831 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2832 * lib/gdb.exp (gdb_is_target_remote): ... here.
2833
483805cf
PA
28342014-04-22 Pedro Alves <palves@redhat.com>
2835
2836 * gdb.base/consecutive-step-over.c: New file.
2837 * gdb.base/consecutive-step-over.exp: New file.
2838
06d97543
PA
28392014-04-22 Pedro Alves <palves@redhat.com>
2840
2841 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2842 instead of send_gdb/gdb_expect.
2843
b4429ea2
YQ
28442014-04-22 Yao Qi <yao@codesourcery.com>
2845
2846 * lib/trace-support.exp (generate_tracefile): New procedure.
2847 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2848 return 0.
2849 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2850 if generate_tracefile returns 1.
2851
51d48146
PA
28522014-04-18 Tom Tromey <palves@redhat.com>
2853 Pedro alves <tromey@redhat.com>
2854
2855 PR backtrace/15558
2856 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2857 with a backtrace limit.
2858 * gdb.python/py-frame-inline.exp: Test running to an inline
2859 function with a backtrace limit, and printing the newest frame.
2860 * gdb.python/py-frame-inline.c (main): Call f.
2861
bd1dce5f
MS
28622014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2863
2864 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2865
40d1a503
MS
28662014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2867
2868 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2869 Drop prefix from unsupported source file path.
2870
389b98f7
YQ
28712014-04-17 Yao Qi <yao@codesourcery.com>
2872
2873 * lib/gdb.exp (with_target_charset): New proc.
2874 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2875 with_target_charset.
2876 (test_print_strings): Likewise.
2877 (test_repeat_bytes): Likewise.
2878 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2879 for some tests.
2880
22869d73
KS
28812014-04-16 Keith Seitz <keiths@redhat.com>
2882
2883 PR gdb/15827
2884 * gdb.dwarf2/corrupt.c: New file.
2885 * gdb.dwarf2/corrupt.exp: New file.
2886
c4f87ca6
KS
28872014-04-16 Keith Seitz <keiths@redhat.com>
2888
2889 PR c++/16597
2890 * gdb.cp/namelessclass.cc: New file.
2891 * gdb.cp/namelessclass.exp: New file.
2892 * gdb.cp/namelessclass.S: New file.
2893
ab19de87
DE
28942014-04-16 Doug Evans <dje@google.com>
2895
2896 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2897 Add comment.
2898 (gdbserver_default_get_comm_port): New function.
2899 (gdbserver_start): Check if board file provided
2900 "gdbserver,get_comm_port" and use it if so.
2901 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2902 (gdb,socketport): Set to "stdio".
2903 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2904 (stdio_gdbserver_template): Delete.
2905 (${board}_get_remote_address): Update.
2906 (${board}_build_remote_cmd): Delete.
2907 (${board}_get_comm_port): New function.
2908 (${board}_spawn): Update.
2909 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2910 Delete.
2911 (${board}_get_remote_address): Update.
2912 (${board}_get_comm_port): New function.
2913
fc98a809
AB
29142014-04-16 Andrew Burgess <aburgess@broadcom.com>
2915
2916 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2917 appearing in any order.
2918
87fd9e6e
DE
29192014-04-15 Doug Evans <dje@google.com>
2920
2921 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2922 uninitialized value of "description".
2923
099fc3ea
KS
29242014-04-15 Keith Seitz <keiths@redhat.com>
2925
2926 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2927 Remove unused globals.
2928 (test_running_the_program): Likewise.
2929 (test_controlled_execution): Likewise.
2930 (test_controlling_breakpoints): Likewise.
2931 (test_program_termination): Likewise.
2932
5da151d4
KS
29332014-04-15 Keith Seitz <keiths@redhat.com>
2934
2935 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2936 unused globals.
2937 (test_rbreak_creation_and_listing): Likewise.
2938 (test_ignore_count): Likewise.
2939 (test_error): Likewise.
2940
35e5d2f0
PA
29412014-04-15 Pedro Alves <palves@redhat.com>
2942
2943 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2944 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2945 sym-file-loader.c.
2946 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2947 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2948 to sym-file-loader.c.
2949 (struct library): Forward declare.
2950 (load_shlib, lookup_function): Change prototypes.
2951 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2952 (translate_offset): Remove declarations.
2953 (get_text_addr): New declaration.
2954 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2955 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2956 sym-file-loader.h.
2957 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2958 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2959 here from sym-file-loader.h.
2960 (struct library): New structure.
2961 (load_shlib, lookup_function): Change prototypes and adjust to
2962 work with a struct library.
2963 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2964 (translate_offset): Make static.
2965 (get_text_addr): New function.
2966 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2967
eb4c1710
PA
29682014-04-15 Pedro Alves <palves@redhat.com>
2969
2970 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2971
2d1baf52
PA
29722014-04-15 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.base/sym-file-loader.c: Include <limits.h>.
2975 (SELF_LINK): New define.
2976 (get_origin): New function.
2977 (load_shlib): Use it.
2978 * gdb.base/sym-file.exp: Don't early return if the target is
2979 remote. Use runto_main, and issue fail is that fails. Use
2980 gdb_load_shlibs.
2981 (shlib_name): Delete.
2982 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2983
7dd6df01
PA
29842014-04-15 Pedro Alves <palves@redhat.com>
2985
2986 * gdb.base/sym-file.exp: Remove regex characters from test
2987 message. Don't refer to breakpoint numbers in test messages.
2988
b50c8614
KS
29892014-04-14 Keith Seitz <keiths@redhat.com>
2990
2991 PR c++/16253
2992 * gdb.cp/var-tag.cc: New file.
2993 * gdb.cp/var-tag.exp: New file.
2994 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2995 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2996 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2997 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2998
3d567982
TT
29992014-04-14 Tom Tromey <tromey@redhat.com>
3000
3001 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3002 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3003 type.
3004 * gdb.cp/enum-class.exp: New file.
3005 * gdb.cp/enum-class.cc: New file.
3006
0626fc76
TT
30072014-04-14 Tom Tromey <tromey@redhat.com>
3008
3009 * gdb.dwarf2/enum-type.exp: New file.
3010
dca325b3
SA
30112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3012
3013 * gdb.mi/mi-vla-c99.exp: New file.
3014 * gdb.mi/vla.c: New file.
3015
5854b38a
SA
30162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3017
3018 * gdb.base/vla-datatypes.c: New file.
3019 * gdb.base/vla-datatypes.exp: New file.
3020
463bb957
SA
30212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3022
3023 * gdb.base/vla-ptr.c: New file.
3024 * gdb.base/vla-ptr.exp: New file.
3025
3dd170be
SA
30262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3027
3028 * gdb.dwarf2/count.exp: New file.
3029
5ecaaa66
SA
30302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3031
3032 * gdb.base/vla-sideeffect.c: New file.
3033 * gdb.base/vla-sideeffect.exp: New file.
3034
41f1ada5
DB
30352014-04-14 David Blaikie <dblaikie@gmail.com>
3036
3037 * gdb.mi/non-stop.c: Add return value for non-void function return
3038 statement.
3039 * gdb.threads/staticthreads.c: Ditto.
3040
0be03e84
DE
30412014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3042 Doug Evans <xdje42@gmail.com>
3043
3044 * gdb.guile/scm-value.c: Improve test case.
3045 * gdb.guile/scm-value.exp: Add new test.
3046
f180a1fb
DB
30472014-04-11 David Blaikie <dblaikie@gmail.com>
3048
3049 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3050 override Clang's default.
3051
6b662e19
JB
30522014-04-11 Joel Brobecker <brobecker@adacore.com>
3053
3054 Revert the following changes (regressions):
3055
3056 * gdb.base/vla-sideeffect.c: New file.
3057 * gdb.base/vla-sideeffect.exp: New file.
3058
3059 * gdb.dwarf2/count.exp: New file.
3060
3061 * gdb.base/vla-multi.c: New file.
3062 * gdb.base/vla-multi.exp: New file.
3063
3064 * gdb.base/vla-ptr.c: New file.
3065 * gdb.base/vla-ptr.exp: New file.
3066
3067 * gdb.base/vla-datatypes.c: New file.
3068 * gdb.base/vla-datatypes.exp: New file.
3069
3070 * gdb.mi/mi-vla-c99.exp: New file.
3071 * gdb.mi/vla.c: New file.
3072
245a5f0b
KS
30732014-04-11 Keith Seitz <keiths@redhat.com>
3074
3075 PR c++/16675
3076 * gdb.cp/cpsizeof.exp: New file.
3077 * gdb.cp/cpsizeof.cc: New file.
3078
58a84dcf
SA
30792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3080
191a8a90
JB
3081 * gdb.mi/mi-vla-c99.exp: New file.
3082 * gdb.mi/vla.c: New file.
58a84dcf 3083
c8655f75
SA
30842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3085
3086 * gdb.base/vla-datatypes.c: New file.
3087 * gdb.base/vla-datatypes.exp: New file.
3088
024e13b4
SA
30892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3090
3091 * gdb.base/vla-ptr.c: New file.
3092 * gdb.base/vla-ptr.exp: New file.
3093
1a237e0e
SA
30942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3095
3096 * gdb.base/vla-multi.c: New file.
3097 * gdb.base/vla-multi.exp: New file.
3098
504f3432
SA
30992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3100
3101 * gdb.dwarf2/count.exp: New file.
3102
3bce8237
SA
31032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3104
191a8a90
JB
3105 * gdb.base/vla-sideeffect.c: New file.
3106 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3107
322f9c21
YQ
31082014-04-11 Yao Qi <yao@codesourcery.com>
3109
3110 * gdb.base/completion.exp: Check file exists before running tests
3111 on file completion.
3112
d708bcd1
PA
31132014-04-10 Pedro Alves <palves@redhat.com>
3114
3115 * gdb.base/cond-eval-mode.c: New file.
3116 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3117 prepare_for_testing to build the new file. Check result of
3118 runto_main.
3119 (test_break, test_watch): New procedures.
3120 (top level): Use them.
3121
ae1d2761
PM
31222014-04-08 Pierre Muller <muller@sourceware.org>
3123
3124 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3125 Ctrl-V use for mingw hosts.
3126
7af389b8
SC
31272014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3128
3129 * gdb.python/py-value.c: Improve test case.
3130 * gdb.python/py-value.exp: Add new test.
3131
5e703181
DE
31322014-04-07 David Blaikie <dblaikie@gmail.com>
3133
3134 * lib/compiler.c: Identify the clang compiler.
3135 * lib/compiler.cc: Ditto.
3136
9810b410
YQ
31372014-04-03 Yao Qi <yao@codesourcery.com>
3138
3139 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3140
98d1b8dc
AB
31412014-04-01 Anton Blanchard <anton@samba.org>
3142
3143 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3144 messages unique.
3145
3114cea1
AB
31462014-04-01 Anton Blanchard <anton@samba.org>
3147
3148 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3149 prepare_for_testing.
3150
62f7182c
AB
31512014-04-01 Anton Blanchard <anton@samba.org>
3152
3153 * gdb.arch/ppc64-atomic-inst.c: Remove.
3154 * gdb.arch/ppc64-atomic-inst.S: New file.
3155 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3156
770e7fc7
DE
31572014-03-31 Doug Evans <dje@google.com>
3158
3159 * gdb.base/print-symbol-loading-lib.c: New file.
3160 * gdb.base/print-symbol-loading-main.c: New file.
3161 * gdb.base/print-symbol-loading.exp: New file.
3162
46e2bafa
YQ
31632014-03-31 Yao Qi <yao@codesourcery.com>
3164
3165 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3166
8776cfe9
JB
31672014-03-28 Joel Brobecker <brobecker@adacore.com>
3168
3169 * gdb.ada/mi_dyn_arr: New testcase.
3170
5d1ef361
DE
31712014-03-27 Doug Evans <dje@google.com>
3172
3173 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3174
b5bee914
YQ
31752014-03-27 Yao Qi <yao@codesourcery.com>
3176
3177 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3178 if target is nios2-*-*.
3179
0d4d0e77
YQ
31802014-03-26 Yao Qi <yao@codesourcery.com>
3181
3182 * lib/gdb.exp (readline_is_used): New proc.
3183 * gdb.base/completion.exp: Move tests on command complete up.
3184 Skip the rest of tests if readline is not used.
3185 * gdb.ada/complete.exp: Skp the test if readline is not
3186 used.
3187 * gdb.base/filesym.exp: Likewise.
3188 * gdb.base/macscp.exp: Likewise.
3189 * gdb.base/readline-ask.exp: Likewise.
3190 * gdb.base/readline.exp: Likewise.
3191 * gdb.python/py-cmd.exp: Likewise.
3192 * gdb.trace/tfile.exp: Likewise.
3193
29361eee
YQ
31942014-03-26 Yao Qi <yao@codesourcery.com>
3195
3196 * gdb.base/macscp.exp: Fix code format issues.
3197
bc9a5525
UW
31982014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3199
3200 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3201 * gdb.asm/powerpc64le.inc: New file.
3202
d3839ede
PA
32032014-03-25 Pedro Alves <palves@redhat.com>
3204 Doug Evans <dje@google.com>
3205
3206 * gdb.base/source-execution.c: New file.
3207 * gdb.base/source-execution.exp: New file.
3208 * gdb.base/source-execution.gdb: New file.
3209
01672a57
DE
32102014-03-24 Doug Evans <dje@google.com>
3211
3212 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3213 using fission.
3214
88bbeca9
HZ
32152014-03-24 Hui Zhu <hui@codesourcery.com>
3216 Pedro Alves <palves@redhat.com>
3217
3218 PR breakpoints/16101
3219 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3220 test pass/fail messages. Detect missing support for dprintf when
3221 breakpoints are actually inserted.
3222 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3223 breakpoints are actually inserted.
3224 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3225 fails.
3226
d2348791
JK
32272014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3228
3229 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3230
feef67ab
DE
32312014-03-22 Doug Evans <xdje42@gmail.com>
3232
3233 * gdb.python/python.exp (python not supported): Verify multi-line
3234 python command issues an error.
25d743f9 3235 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3236 guile command issues an error.
feef67ab 3237
ecebef6a
MR
32382014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3239
3240 * gdb.threads/thread-specific.exp: Handle the lack of usable
3241 $this_breakpoint and $this_thread.
3242
ccdd1909
HZ
32432014-03-21 Hui Zhu <hui@codesourcery.com>
3244
3245 * gdb.base/attach.exp (do_command_attach_tests): New.
3246
beb460e8
PA
32472014-03-20 Tom Tromey <tromey@redhat.com>
3248 Pedro Alves <palves@redhat.com>
3249
3250 PR cli/15718
3251 * gdb.base/condbreak-call-false.c: New file.
3252 * gdb.base/condbreak-call-false.exp: New file.
3253
40acf43a
PA
32542014-03-20 Pedro Alves <palves@redhat.com>
3255
3256 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3257 Delete.
3258 (block_signals, unblock_signals): Delete.
3259 (child_function_2, main): Remove references to deleted variable
3260 and functions.
3261
9f5e1e02
PA
32622014-03-20 Pedro Alves <palves@redhat.com>
3263
3264 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3265 Use pthread_kill to signal thread 2.
3266 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3267 Adjust to make the test send itself a signal rather than using the
3268 host's "kill" command.
3269
99619bea
PA
32702014-03-20 Pedro Alves <palves@redhat.com>
3271
3272 * gdb.threads/multiple-step-overs.c: New file.
3273 * gdb.threads/multiple-step-overs.exp: New file.
3274 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3275 Adjust expected infrun debug output.
3276
2adfaa28
PA
32772014-03-20 Pedro Alves <palves@redhat.com>
3278
3279 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3280 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3281
31e77af2
PA
32822014-03-20 Pedro Alves <palves@redhat.com>
3283
3284 PR breakpoints/7143
3285 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3286 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3287 of gdb_test_multiple.
3288 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3289 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3290
b9f437de
PA
32912014-03-20 Pedro Alves <palves@redhat.com>
3292
3293 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3294 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3295
05adc73e
PA
32962014-03-19 Pedro Alves <palves@redhat.com>
3297
3298 * gdb.base/async.exp: Remove early return.
3299
6048b950
PA
33002014-03-19 Pedro Alves <palves@redhat.com>
3301
3302 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3303
8bcfb00a
PA
33042014-03-19 Pedro Alves <palves@redhat.com>
3305
3306 * gdb.base/async.exp (test_background): Expect \r\n after
3307 "completed." in the fail pattern.
3308
884e37dc
PA
33092014-03-19 Pedro Alves <palves@redhat.com>
3310
3311 * gdb.base/async.exp (test_background): New procedure.
3312 Use it for all background execution command tests.
3313
148e57e2
PA
33142014-03-19 Pedro Alves <palves@redhat.com>
3315
3316 * gdb.base/async.exp: Use prepare_for_testing.
3317
f48088c7
PA
33182014-03-19 Pedro Alves <palves@redhat.com>
3319
3320 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3321 the same line.
3322
e2f6c966
PA
33232014-03-19 Pedro Alves <palves@redhat.com>
3324
3325 * gdb.base/async.c (main): Add "jump here" and "until here" line
3326 marker comments.
3327 * gdb.base/async.exp (jump_here): New global.
3328 (jump& test): Use it.
3329 (until_here): New global.
3330 (until& test): Use it.
3331
c30568d4
PA
33322014-03-19 Pedro Alves <palves@redhat.com>
3333
3334 * gdb.base/async.exp: Don't frob gdb_protocol.
3335
0172b6a7
DE
33362014-03-18 Doug Evans <xdje42@gmail.com>
3337
3338 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3339 Fix spelling of exec-done-display.
3340
06c868a8
JK
33412014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3342
3343 PR gdb/15358
3344 * gdb.base/gdb-sigterm.c: New file.
3345 * gdb.base/gdb-sigterm.exp: New file.
3346
0c7e1a46
PA
33472014-03-18 Pedro Alves <palves@redhat.com>
3348
3349 PR gdb/13860
3350 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3351 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3352 solib-event.
3353
f7c77d93
JB
33542014-03-17 Joel Brobecker <brobecker@adacore.com>
3355
3356 * gdb.ada/pckd_arr_ren: New testcase.
3357
5a1e8c7a
DE
33582014-03-13 Doug Evans <xdje42@gmail.com>
3359
3360 PR guile/16612
3361 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3362 collect after discarding symbols.
3363
350e1a76
DE
33642014-03-13 Ludovic Courtès <ludo@gnu.org>
3365 Doug Evans <xdje42@gmail.com>
3366
3367 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3368 to history survives a gc.
3369
a69900ae
PA
33702014-03-13 Pedro Alves <palves@redhat.com>
3371
3372 * gdb.base/default.exp: Don't test "target procfs".
3373
5db9f0bd
PA
33742014-03-13 Pedro Alves <palves@redhat.com>
3375
3376 * gdb.base/default.exp: Update "target child" and "target procfs"
3377 tests to not expect "Unix".
3378
b3ccfe11
TT
33792014-03-12 Tom Tromey <tromey@redhat.com>
3380
3381 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3382 New procs. Add target-async tests.
3383 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3384 Add target-async tests.
3385
646f4417
AA
33862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3387
3388 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3389 'func_start' and 'func_end' for the beginning and end of the
3390 function code, respectively.
3391 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3392 'func_end' instead of 'func' and 'main'.
3393
288c211f
AA
33942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3395
3396 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3397 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3398 generate the debug info assembler source.
3399
e0c0f156
AA
34002014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3401
3402 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3403 * gdb.dwarf2/arr-subrange.exp: Likewise.
3404 * gdb.dwarf2/dwz.exp: Likewise.
3405 * gdb.dwarf2/method-ptr.exp: Likewise.
3406 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3407 * gdb.dwarf2/subrange.exp: Likewise.
3408 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3409 * gdb.dwarf2/implptrpiece.exp: Likewise.
3410 * gdb.dwarf2/nostaticblock.exp: Likewise.
3411
0e5c4555
AA
34122014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3413
3414 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3415 directory to absolute path name arguments.
3416
5ec18f2b
JG
34172014-03-10 Joel Brobecker <brobecker@adacore.com>
3418
3419 * gdb.ada/tagged_access: New testcase.
3420
847fc4f2
MM
34212014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3422
3423 * gdb.btrace/data.exp: Update expected output.
3424
cc3da688
YQ
34252014-03-06 Yao Qi <yao@codesourcery.com>
3426
3427 * gdb.trace/pr16508.exp: New file.
3428
0f26cec1
PA
34292014-03-05 Pedro Alves <palves@redhat.com>
3430
3431 PR gdb/16575
3432 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3433 procedure.
3434 (top level): Adjust to use it. Add tests that exercise breakpoint
3435 interaction with the code-cache.
3436
7a5a839f
LC
34372014-02-26 Ludovic Courtès <ludo@gnu.org>
3438
3439 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3440 test for 'history-append!'.
3441
31aa7e4e
JB
34422014-02-26 Joel Brobecker <brobecker@adacore.com>
3443
3444 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3445 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3446 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3447 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3448 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3449 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3450
1b588015
JB
34512014-02-26 Joel Brobecker <brobecker@adacore.com>
3452
3453 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3454 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3455 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3456
55426c9d
JB
34572014-02-26 Joel Brobecker <brobecker@adacore.com>
3458
3459 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3460
dc53a7ad
JB
34612014-02-26 Joel Brobecker <brobecker@adacore.com>
3462
3463 * gdb.dwarf2/arr-stride.c: New file.
3464 * gdb.dwarf2/arr-stride.exp: New file.
3465
12ab52e9
PA
34662014-02-26 Pedro Alves <palves@redhat.com>
3467
3468 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3469 that won't ever trigger. Make sure that GDB reports the correct
3470 breakpoint that caused the stop.
3471
849c862e
JK
34722014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3473
3474 PR gdb/16626
3475 * gdb.base/auto-load-script: New file.
3476 * gdb.base/auto-load.c: New file.
3477 * gdb.base/auto-load.exp: New file.
3478
71b7d793
JK
3479 PR gdb/16626
3480 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3481
e2f0d509
JK
34822014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3483
3484 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3485 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3486
50cc37c8
DE
34872014-02-24 Doug Evans <dje@google.com>
3488
3489 * lib/gdb.exp (run_on_host): Log error output if program fails.
3490
ea4758f2
PA
34912014-02-21 Pedro Alves <palves@redhat.com>
3492
3493 * gdb.threads/step-after-sr-lock.c: Rename to ...
3494 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3495 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3496 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3497 ... this.
3498
d7b30f67
SDJ
34992014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3500
3501 PR tdep/16397
3502 * gdb.arch/amd64-stap-special-operands.exp: New file.
3503 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3504 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3505 * gdb.arch/amd64-stap-triplet.S: Likewise.
3506 * gdb.arch/amd64-stap-triplet.c: Likewise.
3507
83deb43f
JB
35082014-02-20 Joel Brobecker <brobecker@adacore.com>
3509
3510 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3511 in .section pseudo-op.
3512
adde2bff
DE
35132014-02-20 lin zuojian <manjian2006@gmail.com>
3514 Joel Brobecker <brobecker@adacore.com>
3515 Doug Evans <xdje42@gmail.com>
3516
3517 PR symtab/16581
3518 * gdb.dwarf2/dw2-icycle.S: New file.
3519 * gdb.dwarf2/dw2-icycle.c: New file.
3520 * gdb.dwarf2/dw2-icycle.exp: New file.
3521
f7bd0f78
SC
35222014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3523
3524 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3525 operations on gdb.Value objects.
3526 * gdb.python/py-value-cc.exp: Add new test to test operations on
3527 gdb.Value objects.
3528
c17ef0d5
DE
35292014-02-18 Doug Evans <dje@google.com>
3530
3531 * Makefile.in (TESTS): New variable.
3532 (expanded_tests, expanded_tests_or_none): New variables
3533 (check-single): Pass $(expanded_tests_or_none) to runtest.
3534 (check-parallel): Only run tests in $(TESTS) if non-empty.
3535 (check/no-matching-tests-found): New rule.
3536 * README: Document TESTS makefile variable.
3537
5dd3176f
DE
35382014-02-18 Doug Evans <dje@google.com>
3539
3540 * Makefile.in (check-parallel): rm -rf outputs temp.
3541
0b10be4f
JK
35422014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3543
3544 Fix "ERROR: no fileid for" in the testsuite.
3545 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3546
85f224e7
DE
35472014-02-12 Doug Evans <dje@google.com>
3548
3549 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3550 (MISCELLANEOUS): New variable.
3551 (clean): rm -rf $(MISCELLANEOUS).
3552 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3553 dwp live in the same directory as symlinks, with each symlink pointed
3554 to a differently named file in a different directory.
3555
149b30ff
DE
35562014-02-11 Doug Evans <dje@google.com>
3557
3558 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3559 of Tcl file commands.
3560
1dfdac32
MK
35612014-02-10 Mark Kettenis <kettenis@gnu.org>
3562
3563 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3564 "kill -SIGUSR1 -1".
3565
aa4fb036
JB
35662014-02-10 Joel Brobecker <brobecker@adacore.com>
3567
3568 * gdb.ada/tick_length_array_enum_idx: New testcase.
3569
ed3ef339
DE
35702014-02-10 Doug Evans <xdje42@gmail.com>
3571
3572 * configure.ac (AC_OUTPUT): Add gdb.guile.
3573 * configure: Regenerate.
3574 * lib/gdb-guile.exp: New file.
3575 * lib/gdb.exp (get_target_charset): New function.
3576 * gdb.base/help.exp: Update expected output from "apropos apropos".
3577 * gdb.guile/Makefile.in: New file.
3578 * gdb.guile/guile.exp: New file.
3579 * gdb.guile/scm-arch.c: New file.
3580 * gdb.guile/scm-arch.exp: New file.
3581 * gdb.guile/scm-block.c: New file.
3582 * gdb.guile/scm-block.exp: New file.
3583 * gdb.guile/scm-breakpoint.c: New file.
3584 * gdb.guile/scm-breakpoint.exp: New file.
3585 * gdb.guile/scm-disasm.c: New file.
3586 * gdb.guile/scm-disasm.exp: New file.
3587 * gdb.guile/scm-equal.c: New file.
3588 * gdb.guile/scm-equal.exp: New file.
3589 * gdb.guile/scm-error.exp: New file.
3590 * gdb.guile/scm-error.scm: New file.
3591 * gdb.guile/scm-frame-args.c: New file.
3592 * gdb.guile/scm-frame-args.exp: New file.
3593 * gdb.guile/scm-frame-args.scm: New file.
3594 * gdb.guile/scm-frame-inline.c: New file.
3595 * gdb.guile/scm-frame-inline.exp: New file.
3596 * gdb.guile/scm-frame.c: New file.
3597 * gdb.guile/scm-frame.exp: New file.
3598 * gdb.guile/scm-generics.exp: New file.
3599 * gdb.guile/scm-gsmob.exp: New file.
3600 * gdb.guile/scm-iterator.c: New file.
3601 * gdb.guile/scm-iterator.exp: New file.
3602 * gdb.guile/scm-math.c: New file.
3603 * gdb.guile/scm-math.exp: New file.
3604 * gdb.guile/scm-objfile-script-gdb.in: New file.
3605 * gdb.guile/scm-objfile-script.c: New file.
3606 * gdb.guile/scm-objfile-script.exp: New file.
3607 * gdb.guile/scm-objfile.c: New file.
3608 * gdb.guile/scm-objfile.exp: New file.
3609 * gdb.guile/scm-ports.exp: New file.
3610 * gdb.guile/scm-pretty-print.c: New file.
3611 * gdb.guile/scm-pretty-print.exp: New file.
3612 * gdb.guile/scm-pretty-print.scm: New file.
3613 * gdb.guile/scm-section-script.c: New file.
3614 * gdb.guile/scm-section-script.exp: New file.
3615 * gdb.guile/scm-section-script.scm: New file.
3616 * gdb.guile/scm-symbol.c: New file.
3617 * gdb.guile/scm-symbol.exp: New file.
3618 * gdb.guile/scm-symtab-2.c: New file.
3619 * gdb.guile/scm-symtab.c: New file.
3620 * gdb.guile/scm-symtab.exp: New file.
3621 * gdb.guile/scm-type.c: New file.
3622 * gdb.guile/scm-type.exp: New file.
3623 * gdb.guile/scm-value-cc.cc: New file.
3624 * gdb.guile/scm-value-cc.exp: New file.
3625 * gdb.guile/scm-value.c: New file.
3626 * gdb.guile/scm-value.exp: New file.
3627 * gdb.guile/source2.scm: New file.
3628 * gdb.guile/types-module.cc: New file.
3629 * gdb.guile/types-module.exp: New file.
3630
7026a7c1
YQ
36312014-02-10 Yao Qi <yao@codesourcery.com>
3632
3633 PR testsuite/16543
3634 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3635 * configure: Regenerated.
3636 * Makefile.in: New file.
3637
6c466447
AS
36382014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3639
3640 * gdb.python/py-framefilter.exp: Fix typo.
3641
6e854735
YQ
36422014-02-08 Yao Qi <yao@codesourcery.com>
3643
3644 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3645 that no =breakpoint-modified is emitted when breakpoints are
3646 modified through MI commands.
3647
d137e6dc
PA
36482014-02-07 Pedro Alves <pedro@codesourcery.com>
3649 Pedro Alves <palves@redhat.com>
3650
3651 * gdb.threads/step-after-sr-lock.c: New file.
3652 * gdb.threads/step-after-sr-lock.exp: New file.
3653
b5ee5a50
PA
36542014-02-07 Pedro Alves <palves@redhat.com>
3655
3656 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3657
3c77faf3
JK
36582014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3659
3660 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3661 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3662
6dddc817
DE
36632014-02-06 Doug Evans <xdje42@gmail.com>
3664
3665 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3666 output.
3667
3668 * gdb.gdb/python-interrupts.exp: New file.
3669
de7b2893
YQ
36702014-02-05 Yao Qi <yao@codesourcery.com>
3671
3672 * gdb.trace/report.exp (use_collected_data): Test the output
3673 of "info threads" and "info inferiors".
3674
66d032ac
YQ
36752014-02-05 Yao Qi <yao@codesourcery.com>
3676
3677 Revert this patch:
3678
3679 2013-05-24 Yao Qi <yao@codesourcery.com>
3680
3681 * gdb.trace/tfile.exp: Test inferior and thread.
3682
591a12a1
UW
36832014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3684
3685 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3686 on a function.
3687 * gdb.base/step-bt.c: Call hello via function pointer to make
3688 sure its first instruction is executed on powerpc64le-linux.
3689
0ff3e01f
UW
36902014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3691
3692 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3693
084ee545
UW
36942014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3695
3696 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3697 of the test patterns for use on little-endian systems.
3698
6ed14ff3
UW
36992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3700
3701 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3702 (decimal_vector): Fix for little-endian.
3703
401e27fd
JM
37042014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3705
3706 * gdb.arch/sparc-sysstep.exp: New file.
3707 * gdb.arch/sparc-sysstep.c: Likewise.
3708
3709 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3710
8b924729
EBM
37112014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3712
3713 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3714
fb151210
JB
37152014-01-23 Tom Tromey <tromey@redhat.com>
3716
3717 * gdb.ada/array_char_idx: New testcase.
3718
0740f8d8
TT
37192014-01-23 Tom Tromey <tromey@redhat.com>
3720
3721 PR python/16487:
3722 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3723 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3724 classes.
3725
21909fa1
TT
37262014-01-23 Tom Tromey <tromey@redhat.com>
3727
3728 PR python/16491:
3729 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3730 string from an inferior frame.
3731 * gdb.python/py-framefilter-mi.exp: Update.
3732
87ce2a04
DE
37332014-01-22 Doug Evans <dje@google.com>
3734
3735 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3736
237b092b
AA
37372014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3738
3739 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3740
d674a709
AA
37412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3742
3743 * gdb.trace/entry-values.exp: Remove excess space character from
3744 regex patterns. Handle s390 call instruction.
3745
20fa3390
AA
37462014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3747
3748 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3749 define "*_start" label. Make "name" static.
3750 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3751 ${name} by references to ${name}_start.
3752
78466714
AA
37532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3754
3755 * gdb.base/info-macros.exp: Remove "debug" from the compile
3756 options.
3757
ec9f644a
IB
37582014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3759
3760 * gdb.dlang/demangle.exp: New file.
3761
94b1b47e
IB
37622014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3763
3764 * gdb.dlang/primitive-types.exp: New file.
3765
7f420862
IB
37662014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3767
3768 * configure.ac: Create gdb.dlang/Makefile.
3769 * configure: Regenerate.
3770 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3771 * gdb.dlang/Makefile.in: New file.
3772 * lib/d-support.exp: New file.
3773 * lib/gdb.exp (skip_d_tests): New proc.
3774
52834460
MM
37752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3776
3777 * gdb.btrace/delta.exp: Check reverse stepi.
3778 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3779 * gdb.btrace/finish.exp: New.
3780 * gdb.btrace/next.exp: New.
3781 * gdb.btrace/nexti.exp: New.
3782 * gdb.btrace/record_goto.c: Add comments.
3783 * gdb.btrace/step.exp: New.
3784 * gdb.btrace/stepi.exp: New.
3785 * gdb.btrace/multi-thread-step.c: New.
3786 * gdb.btrace/multi-thread-step.exp: New.
3787 * gdb.btrace/rn-dl-bind.c: New.
3788 * gdb.btrace/rn-dl-bind.exp: New.
3789 * gdb.btrace/data.c: New.
3790 * gdb.btrace/data.exp: New.
3791 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3792
6e07b1d2
MM
37932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3794
3795 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3796 * gdb.btrace/exception.exp: Update.
3797 * gdb.btrace/instruction_history.exp: Update.
3798 * gdb.btrace/record_goto.exp: Update.
3799 * gdb.btrace/tailcall.exp: Update.
3800 * gdb.btrace/unknown_functions.exp: Update.
3801 * gdb.btrace/delta.exp: New.
3802
0b722aec
MM
38032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3804
3805 * gdb.btrace/record_goto.exp: Add backtrace test.
3806 * gdb.btrace/tailcall.exp: Add backtrace test.
3807
066ce621
MM
38082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3809
3810 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3811 * gdb.btrace/record_goto.c: New.
3812 * gdb.btrace/record_goto.exp: New.
3813 * gdb.btrace/x86-record_goto.S: New.
3814
0688d04e
MM
38152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3816
3817 * gdb.btrace/function_call_history.exp: Update tests.
3818 * gdb.btrace/instruction_history.exp: Update tests.
3819
8710b709
MM
38202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3821
3822 * gdb.btrace/function_call_history.exp: Fix expected field
3823 order for "record function-call-history".
3824 Add new tests for "record function-call-history /c".
3825 * gdb.btrace/exception.cc: New.
3826 * gdb.btrace/exception.exp: New.
3827 * gdb.btrace/tailcall.exp: New.
3828 * gdb.btrace/x86-tailcall.S: New.
3829 * gdb.btrace/x86-tailcall.c: New.
3830 * gdb.btrace/unknown_functions.c: New.
3831 * gdb.btrace/unknown_functions.exp: New.
3832 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3833
5de9129b
MM
38342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3835
3836 * gdb.btrace/instruction_history.exp: Update.
3837 * gdb.btrace/function_call_history.exp: Update.
3838
23a7fe75
MM
38392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3840
3841 * gdb.btrace/function_call_history.exp: Fix expected function
3842 trace.
3843 * gdb.btrace/instruction_history.exp: Initialize traced.
3844 Remove traced_functions.
3845
724c7dd8
MM
38462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3847
3848 * gdb.btrace/function_call_history.exp: Update
3849 * gdb.btrace/instruction_history.exp: Update.
3850
6d78d93b
MM
38512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3852
3853 * gdb.btrace/enable.exp: Update expected text.
3854
93a360cc
OJ
38552014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3856
3857 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3858 bytes.
3859
3772b53f
MR
38602014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3861
3862 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3863
596662fa
OJ
38642014-01-15 Omair Javaid <omair.javaid@linaro.org>
3865
3866 * lib/gdb.exp (supports_process_record): Return true for
3867 arm*-linux*. (supports_reverse): Likewise.
3868
b5b08fb4
SC
38692014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3870
3871 PR python/15464
3872 PR python/16113
3873 * gdb.python/py-type.c: Enhance test case.
3874 * gdb.python/py-value-cc.cc: Likewise
3875 * gdb.python/py-type.exp: Add new tests.
3876 * gdb.python/py-value-cc.exp: Likewise
3877
52d7fb13
AA
38782014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3879 Pedro Alves <palves@redhat.com>
3880
3881 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3882 Make "name" extern.
3883 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3884 references to ${name}_start by references to ${name}.
3885
a2cd8cfe
JB
38862014-01-10 Joel Brobecker <brobecker@adacore.com>
3887
3888 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3889
4e23fced
JB
38902014-01-10 Joel Brobecker <brobecker@adacore.com>
3891
3892 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3893
c6a9e42c
PA
38942014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3895 Pedro Alves <palves@redhat.com>
3896
3897 * gdb.mi/mi-info-os.exp: Connect to the target with
3898 mi_gdb_target_load.
3899
b7ea362b
PA
39002014-01-08 Pedro Alves <palves@redhat.com>
3901
3902 * gdb.threads/reconnect-signal.c: New file.
3903 * gdb.threads/reconnect-signal.exp: New file.
3904
5e3f4fab
EBM
39052014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3906
3907 * gdb.base/source-dir.exp: New file.
3908
79301218
JB
39092014-01-07 Joel Brobecker <brobecker@adacore.com>
3910
3911 * gdb.ada/mi_interface: New testcase.
3912
8e355c5d
JB
39132014-01-07 Joel Brobecker <brobecker@adacore.com>
3914
3915 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3916 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3917 gdb.ada/pp-rec-component/pck.ads: New files.
3918
c0d48811
JB
39192014-01-07 Joel Brobecker <brobecker@adacore.com>
3920
3921 * gdb.python/py-pp-integral.c: New file.
3922 * gdb.python/py-pp-integral.py: New file.
3923 * gdb.python/py-pp-integral.exp: New file.
3924
17b609c3 3925For older changes see ChangeLog-1993-2013.
c906108c 3926\f
8d8cb839
EZ
3927;; Local Variables:
3928;; mode: change-log
3929;; left-margin: 8
3930;; fill-column: 74
3931;; version-control: never
3932;; End:
902f2ccb 3933
32d0add0 3934 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
3935 Copying and distribution of this file, with or without modification,
3936 are permitted provided the copyright notice and this notice are preserved.