]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[Ada/varobj] number of children of null pointer to dynamic array.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
4a0ca9ec
JB
12015-01-29 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.ada/mi_var_array: New testcase.
4
3a8b707a
DE
52015-01-27 Doug Evans <dje@google.com>
6
7 * gdb.python/py-objfile.exp: Add tests for objfile.username.
8 Add test for objfile.filename, objfile.username after objfile
9 has been unloaded.
10
f8313f6e
JB
112015-01-26 Joel Brobecker <brobecker@adacore.com>
12
13 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14 the second test to print the name attribute of value
15 returned by the call to gdb.lookup_type, and adjust
16 the expected output accordingly.
17
37bc665e
MW
182015-01-25 Mark Wielaard <mjw@redhat.com>
19
20 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
21 * gdb.base/disp-step-fork.c: Include unistd.h.
22 * gdb.base/siginfo-obj.c: Include stdio.h.
23 * gdb.base/siginfo-thread.c: Likewise.
24 * gdb.mi/non-stop.c: Include unistd.h.
25 * gdb.mi/nsthrexec.c: Include stdio.h.
26 * gdb.mi/pthreads.c: Include unistd.h.
27 * gdb.modula2/unbounded1.c (main): Declare returns int.
28 * gdb.reverse/consecutive-reverse.c: Likewise.
29 * gdb.threads/create-fail.c: Include unistd.h.
30 * gdb.threads/killed.c: Likewise.
31 * gdb.threads/linux-dp.c: Likewise.
32 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
33 * gdb.threads/non-ldr-exc-2.c: Likewise.
34 * gdb.threads/non-ldr-exc-3.c: Likewise.
35 * gdb.threads/non-ldr-exc-4.c: Likewise.
36 * gdb.threads/pthreads.c: Include unistd.h.
37 (main): Declare returns int.
38 * gdb.threads/tls-main.c (foo): New declaration.
39 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
40
f7e5394d
SM
412015-01-23 Simon Marchi <simon.marchi@ericsson.com>
42
43 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
44 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
45
743649fd
MW
462015-01-15 Mark Wielaard <mjw@redhat.com>
47
48 * gdb.base/noreturn-return.c: New file.
49 * gdb.base/noreturn-return.exp: New file.
50 * gdb.base/noreturn-finish.c: New file.
51 * gdb.base/noreturn-finish.exp: New file.
52
198297aa
PA
532015-01-23 Pedro Alves <palves@redhat.com>
54
55 * gdb.threads/continue-pending-after-query.c: New file.
56 * gdb.threads/continue-pending-after-query.exp: New file.
57
717cf30c
AG
582015-01-22 Anders Granlund <anders.granlund@ericsson.com>
59 Simon Marchi <simon.marchi@ericsson.com>
60
61 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
62 * gdb.base/valgrind-db-attach.exp: Same.
63 * gdb.base/valgrind-infcall.exp: Same.
64 * lib/mi-support.exp (default_mi_gdb_start): Same.
65 * lib/prompt.exp (default_prompt_gdb_start): Same.
66 * lib/gdb.exp (default_gdb_spawn): Same.
67 (gdb_interact): New.
68
69
4b62a76e
JK
702015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
71
72 * gdb.compile/compile.exp (pointer to jit function): New test.
73
b4cdae6f
WW
742015-01-17 Wei-cheng Wang <cole945@gmail.com>
75
76 * lib/gdb.exp (supports_process_record): Return true for
77 powerpc*-*-linux*.
78 (supports_reverse): Likewise.
79
d221e7ef
DB
802015-01-15 Don Breazeal <donb@codesourcery.com>
81
82 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
83 instead of checking whether the target board is remote and
84 use spawn_wait_for_attach instead of exec/sleep.
85 * gdb.base/attach-twice.exp: Likewise.
86
bafffb51
JB
872015-01-15 Joel Brobecker <brobecker@adacore.com>
88
89 * gdb.ada/var_arr_attrs: New testcase.
90
5589af0e
PA
912015-01-14 Pedro Alves <palves@redhat.com>
92 Joel Brobecker <brobecker@adacore.com>
93
94 PR gdb/17525
95 * gdb.base/bp-cmds-execution-x-script.c: New file.
96 * gdb.base/bp-cmds-execution-x-script.exp: New file.
97 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
98
6c400b59
PA
992015-01-14 Pedro Alves <palves@redhat.com>
100
101 PR cli/17828
102 * gdb.base/batch-preserve-term-settings.c: New file.
103 * gdb.base/batch-preserve-term-settings.exp: New file.
104
e02c96a7
DE
1052015-01-13 Doug Evans <dje@google.com>
106
107 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
108 binary.
109
576fd14c
JB
1102015-01-13 Joel Brobecker <brobecker@adacore.com>
111
112 * Makefile.in (clean mostlyclean): Do not delete *.py.
113
04dccad0
JB
1142015-01-13 Joel Brobecker <brobecker@adacore.com>
115
116 * gdb.python/py-lookup-type.exp: New file.
117
3d230f71
PA
1182015-01-12 Pedro Alves <palves@redhat.com>
119
120 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
121 restore GDBFLAGS before returning.
122
7e67715d
JK
1232015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
124
125 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
126 is_amd64_regs_target and is_x86_like_target.
127
f2e0d4b4
DE
1282015-01-11 Doug Evans <xdje42@gmail.com>
129
130 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
131 is given without an explicit form.
132 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
133 attributes.
134 * gdb.dwarf/corrupt.exp: Ditto.
135 * gdb.dwarf2/enum-type.exp: Ditto.
136 * gdb.trace/entry-values.exp: Ditto.
137 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
138
439250fb
DE
1392015-01-11 Doug Evans <xdje42@gmail.com>
140
141 PR gdb/15830
142 * gdb.base/maint.exp: Remove references to "maint demangle".
143 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
144 Add tests for explicitly specifying language to demangle.
145 * gdb.dlang/demangle.exp: Ditto.
146
ede9f622
PA
1472015-01-09 Pedro Alves <palves@redhat.com>
148
149 * gdb.threads/non-stop-fair-events.c: New file.
150 * gdb.threads/non-stop-fair-events.exp: New file.
151
a7b796db
PA
1522015-01-09 Pedro Alves <palves@redhat.com>
153
154 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
155 the global scope. Set a breakpoint after all threads are started
156 rather than stepping over two source lines. Expect the prompt.
157 * gdb.base/watch_thread_num.c (threads_started_barrier): New
158 global.
159 (NUM): Now 15.
160 (main): Use threads_started_barrier to wait for all threads to
161 start. Main thread no longer calls thread_function. Exit after
162 180 seconds.
163 (loop): New function.
164 (thread_function): Wait on threads_started_barrier barrier. Call
165 'loop' at each iteration.
166 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
167 threads have started, instead of hardcoding number of "next"
168 steps. Use an access watchpoint instead of a write watchpoint.
169
9665ffdd
PA
1702015-01-09 Pedro Alves <palves@redhat.com>
171
172 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
173 (thread_func): Wait on barrier.
174 (main): Wait for all threads to start before stopping GDB.
175 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
176 global.
177 (thread1_func, thread2_func): Wait on barrier.
178 (main): Wait for all threads to start before stopping GDB.
179 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
180 New global.
181 (thread1_func, thread2_func): Wait on barrier.
182 (main): Wait for all threads to start before stopping GDB.
183
c945a99f
PA
1842015-01-09 Pedro Alves <palves@redhat.com>
185
186 * gdb.threads/attach-many-short-lived-threads.c: New file.
187 * gdb.threads/attach-many-short-lived-threads.exp: New file.
188
c1a747c1
PA
1892014-01-09 Pedro Alves <palves@redhat.com>
190
191 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
192 instead of to thread 2.
193 * gdb.threads/signal-command-multiple-signals-pending.c (main):
194 Add barrier around each pthread_create call instead of around all
195 calls.
196 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
197 Set a break on thread_function and have the child threads hit it
198 one at at a time.
199
60b3033e
PA
2002015-01-09 Pedro Alves <palves@redhat.com>
201
202 * lib/gdb.exp (can_spawn_for_attach): New procedure.
203 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
204 false.
205 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
206 checking whether the target board is remote.
207 * gdb.multi/multi-attach.exp: Likewise.
208 * gdb.python/py-sync-interp.exp: Likewise.
209 * gdb.server/ext-attach.exp: Likewise.
210 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
211 tests that need to attach, instead of checking whether the target
212 board is remote at the top of the file.
213
acc018ac
YQ
2142015-01-08 Yao Qi <yao@codesourcery.com>
215
216 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
217
50a18af8
JK
2182015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
219
220 Fix testcase compilation.
221 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
222
8503d6e1
JB
2232015-01-06 Joel Brobecker <brobecker@adacore.com>
224
225 * gdb.python/py-type.exp: Add a couple test about empty
226 array creation, and negative-length array creation.
227
cc73dbcc
DE
2282015-01-02 Doug Evans <xdje42@gmail.com>
229
230 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
231
0300bbc7
DE
2322015-01-02 Doug Evans <dje@google.com>
233
234 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
235
9d85a0ec
YQ
2362014-12-29 Yao Qi <yao@codesourcery.com>
237
238 * gdb.trace/entry-values.exp: Update comments. Rename variable
239 bar_call_foo to returned_from_foo.
240
87186c6a
MMN
2412014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
242
243 PR gdb/17394
244 * gdb.linespec/break-asm-file.c: New file.
245 * gdb.linespec/break-asm-file.exp: New file.
246 * gdb.linespec/break-asm-file0.s: New file.
247 * gdb.linespec/break-asm-file1.s: New file.
248
1bab7383
YQ
2492014-12-18 Nigel Stephens <nigel@mips.com>
250 Maciej W. Rozycki <macro@codesourcery.com>
251
252 * gdb.base/float.exp: Handle the new output from "info float" on
253 MIPS targets.
254
1bc1068a
JK
2552014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
256
257 Fix MinGW compilation.
258 * gdb.compile/compile-ops.exp: Update untested message if
259 !skip_compile_feature_tests.
260 * gdb.compile/compile-setjmp.exp: Likewise.
261 * gdb.compile/compile-tls.exp: Likewise.
262 * gdb.compile/compile.exp: Likewise.
263 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
264 supported on this host".
265
b6615d10
DE
2662014-12-16 Doug Evans <xdje42@gmail.com>
267
268 * boards/stabs.exp: New file.
269
25dda427
AA
2702014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
271
272 * gdb.base/completion.exp: Adjust to format changes of "maint
273 print user-registers".
274
bf330350
CU
2752014-12-16 Catalin Udma <catalin.udma@freescale.com>
276
277 PR server/17457
278 * gdb.arch/aarch64-fp.c: New file.
279 * gdb.arch/aarch64-fp.exp: New file.
280
395cf596
SDJ
2812014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
282
283 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
284 r210637, r210913, r211666, r215400, r215817).
285
286 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
287 * dg-extract-results.py: New file.
288 * dg-extract-results.sh: Use it if the environment seems
289 suitable.
290
291 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
292
293 * dg-extract-results.py (parse_run): Handle warnings that
294 are printed before a test harness is run.
295
296 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
297
298 * dg-extract-results.py (Named): Remove __cmp__ method.
299 (output_variation): Use a key to sort variation.harnesses.
300
301 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
302
303 * dg-extract-results.py: For Python 3, force sys.stdout to
304 handle surrogate escape sequences.
305 (safe_open): New function.
306 (output_segment, main): Use it.
307
308 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
309
310 * dg-extract-results.py (Prog.result_re): Include options
311 in test name.
312
313 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
314
315 * dg-extract-results.py (output_variation): Always sort if
316 do_sum.
317
e882ef3c
SM
3182014-12-15 Simon Marchi <simon.marchi@ericsson.com>
319
320 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
321 as long as we get pagination notifications.
322
4992aa20
JM
3232014-12-15 Jason Merrill <jason@redhat.com>
324
325 * Makefile.in (check-gdb.%): Restore.
326 * README: Mention it.
327
c1b5a1a6
JB
3282014-12-13 Joel Brobecker <brobecker@adacore.com>
329
330 * gdb.ada/str_uninit: New testcase.
331
5537b577
JK
3322014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
333
334 PR symtab/17642
335 * gdb.base/vla-stub-define.c: New file.
336 * gdb.base/vla-stub.c: New file.
337 * gdb.base/vla-stub.exp: New file.
338
bb2ec1b3
TT
3392014-12-12 Phil Muldoon <pmuldoon@redhat.com>
340 Jan Kratochvil <jan.kratochvil@redhat.com>
341 Tom Tromey <tromey@redhat.com>
342
343 * configure.ac: Add gdb.compile/.
344 * configure: Regenerate.
345 * gdb.compile/Makefile.in: New file.
346 * gdb.compile/compile-ops.exp: New file.
347 * gdb.compile/compile-ops.c: New file.
348 * gdb.compile/compile-tls.c: New file.
349 * gdb.compile/compile-tls.exp: New file.
350 * gdb.compile/compile-constvar.S: New file.
351 * gdb.compile/compile-constvar.c: New file.
352 * gdb.compile/compile-mod.c: New file.
353 * gdb.compile/compile-nodebug.c: New file.
354 * gdb.compile/compile-setjmp-mod.c: New file.
355 * gdb.compile/compile-setjmp.c: New file.
356 * gdb.compile/compile-setjmp.exp: New file.
357 * gdb.compile/compile-shlib.c: New file.
358 * gdb.compile/compile.c: New file.
359 * gdb.compile/compile.exp: New file.
360 * lib/gdb.exp (skip_compile_feature_tests): New proc.
361
4ff709eb
TT
3622014-12-12 Tom Tromey <tromey@redhat.com>
363
364 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
365 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
366
6dddd6a5
DE
3672014-12-12 Doug Evans <dje@google.com>
368
369 * lib/gdb-python.exp (get_python_valueof): New function.
370 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
371
71c24708
AA
3722014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
373
374 * gdb.base/completion.exp: Add test for completion of "info
375 registers ".
376
3e29f34a
MR
3772014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
378
379 * gdb.base/func-ptrs.c: New file.
380 * gdb.base/func-ptrs.exp: New file.
381
fc126975
SM
3822014-12-10 Simon Marchi <simon.marchi@ericsson.com>
383
384 PR breakpoints/17012
385 * gdb.base/dprintf-detach.c: New file.
386 * gdb.base/dprintf-detach.exp: New file.
387
0a46d518
SM
3882014-12-10 Simon Marchi <simon.marchi@ericsson.com>
389
390 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
391 * lib/gdb.exp (target_is_gdbserver): New procedure.
392
a0be3e44
DE
3932014-12-08 Doug Evans <dje@google.com>
394
395 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
396
df1b803a
YQ
3972014-12-05 Yao Qi <yao@codesourcery.com>
398
399 * gdb.guile/scm-error.exp: Remove the third argument to
400 gdb_remote_download.
401 * gdb.guile/scm-frame-args.exp: Likewise.
402 * gdb.guile/scm-section-script.exp: Likewise.
403
ddb9f679
YQ
4042014-12-05 Yao Qi <yao@codesourcery.com>
405
406 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
407
86e4ed39
DE
4082014-12-04 Doug Evans <dje@google.com>
409
410 * gdb.python/py-objfile.exp: Add tests for
411 objfile.add_separate_debug_file.
412
7c50a931
DE
4132014-12-04 Doug Evans <dje@google.com>
414
415 * lib/gdb.exp (get_build_id): New function.
416 (build_id_debug_filename_get): Rewrite to use it.
417 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
418
621661e3
MR
4192014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
420
421 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
422 `method(long)', not just 0x0.
423 * gdb.cp/nsalias.exp: Align code labels to 4.
424 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
425 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
426 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
427 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
428 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
429 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
430
29f0c3b7
DE
4312014-12-02 Doug Evans <dje@google.com>
432
e1e061e7 433 PR symtab/17602
29f0c3b7 434 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 435 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
436 * gdb.cp/anon-ns.exp: Update.
437
162078c8
NB
4382014-12-02 Nick Bull <nicholaspbull@gmail.com>
439
440 * gdb.python/py-events.py (inferior_call_handler): New.
441 (register_changed_handler, memory_changed_handler): New.
442 (test_events.invoke): Register new handlers.
443 * gdb.python/py-events.exp: Add tests for inferior call,
444 memory_changed and register_changed events.
445
fdb09caf
AA
4462014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
447
448 * gdb.base/execl-update-breakpoints.exp: Specify the link address
449 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
450 if the linker doesn't understand this.
451
55cfb2c4
SM
4522014-12-01 Simon Marchi <simon.marchi@ericsson.com>
453
454 * gdb.python/python.exp: Change expected reply to help().
455
9e8cd6df
YQ
4562014-12-01 Yao Qi <yao@codesourcery.com>
457
458 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
459 AC_CONFIG_SUBDIRS(gdb.gdbtk).
460 * configure: Re-generated.
461
6c659fc2
SC
4622014-11-28 Siva Chandra Reddy <sivachandra@google.com>
463
464 * gdb.cp/chained-calls.cc: New file.
465 * gdb.cp/chained-calls.exp: New file.
466 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
467
d7fc3181
SM
4682014-11-28 Simon Marchi <simon.marchi@ericsson.com>
469
470 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
471 * gdb.dwarf2/symtab-producer.exp: Same.
472 * gdb.gdb/python-interrupts.exp: Same.
473 * gdb.gdb/python-selftest.exp: Same.
474 * gdb.python/py-linetable.exp: Same.
475 * gdb.python/py-type.exp: Same.
476 * gdb.python/py-value-cc.exp: Same.
477 * gdb.python/py-value.exp: Same.
478
10e79639
YQ
4792014-11-28 Yao Qi <yao@codesourcery.com>
480
481 * gdb.base/break-probes.exp: Match library name prefixed with
482 sysroot.
483
f28a0564
SM
4842014-11-27 Simon Marchi <simon.marchi@ericsson.com>
485
486 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
487 test expected output. Add parentheses for the call to print.
488 Remove L suffix from integers.
489
3fe1ce1d
DE
4902014-11-26 Doug Evans <dje@google.com>
491
492 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
493
84429e27
YQ
4942014-11-22 Yao Qi <yao@codesourcery.com>
495
496 * gdb.trace/entry-values.c: Remove asms.
497 (foo): Add foo_label.
498 (bar): Add bar_label.
499 * gdb.trace/entry-values.exp: Remove code computing foo's
500 length and bar's length.
501 (Dwarf::assemble): Invoke function_range for bar and use
502 MACRO_AT_func for foo.
503
26741859
YQ
5042014-11-22 Yao Qi <yao@codesourcery.com>
505
506 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
507 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
508 Use .Lgcc43_procstart instead of gcc43.
509
45e44d27
JB
5102014-11-21 Joel Brobecker <brobecker@adacore.com>
511
512 * gdb.ada/n_arr_bound: New testcase.
513
458c8db8
SDJ
5142014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
515
516 PR breakpoints/10737
517 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
518 test_catch_syscall_multi_arch.
519 (test_catch_syscall_multi_arch): New function.
520
43f3e411
DE
5212014-11-20 Doug Evans <xdje42@gmail.com>
522
523 * gdb.base/maint.exp: Update expected output.
524
0d7b2549
AA
5252014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
526
527 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
528 4-byte instruction on S390.
529
8908fca5
JB
5302014-11-19 Joel Brobecker <brobecker@adacore.com>
531
532 * gdb.ada/arr_arr: New testcase.
533
4a46959e
JB
5342014-11-19 Joel Brobecker <brobecker@adacore.com>
535
536 * gdb.ada/pkd_arr_elem: New Testcase.
537
470e2f4e
LM
5382014-11-18 Luis Machado <lgustavo@codesourcery.com>
539
540 * gdb.reverse/break-precsave: Expect completion message for
541 core file reads.
542 * gdb.reverse/consecutive-precsave.exp: Likewise.
543 * gdb.reverse/finish-precsave.exp: Likewise.
544 * gdb.reverse/i386-precsave.exp: Likewise.
545 * gdb.reverse/machinestate-precsave.exp: Likewise.
546 * gdb.reverse/sigall-precsave.exp: Likewise.
547 * gdb.reverse/solib-precsave.exp: Likewise.
548 * gdb.reverse/step-precsave.exp: Likewise.
549 * gdb.reverse/until-precsave.exp: Likewise.
550 * gdb.reverse/watch-precsave.exp: Likewise.
551
a267f3ad
AA
5522014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
553
554 * gdb.base/bp-permanent.c: Include unistd.h.
555 * gdb.python/py-framefilter-mi.c (main): Add return type.
556 * gdb.python/py-framefilter.c (main): Likewise.
557 * gdb.trace/actions-changed.c (main): Likewise.
558
12084a9a
AA
5592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
560
561 * gdb.mi/until.c: Add eye-catchers.
562 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
563 line numbers.
564
dc7e1a77
AA
5652014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
566
567 * gdb.base/condbreak.exp: Drop references to removed non-prototype
568 function header variants in break1.c.
569 * gdb.base/ena-dis-br.exp: Likewise.
570 * gdb.base/hbreak2.exp: Likewise.
571 * gdb.reverse/until-precsave.exp: Drop references to removed
572 non-prototype function header variants in ur1.c.
573 * gdb.reverse/until-reverse.exp: Likewise.
574
41c77605
PM
5752014-11-17 Petr Machata <pmachata@redhat.com>
576
577 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
578 ${_cu_offset_size} bytes abbrev offset.
579
34248c3a
DE
5802014-11-15 Doug Evans <xdje42@gmail.com>
581
582 PR symtab/17559
583 * gdb.base/line-symtabs.exp: New file.
584 * gdb.base/line-symtabs.c: New file.
585 * gdb.base/line-symtabs.h: New file.
586
646da059
YQ
5872014-11-14 Yao Qi <yao@codesourcery.com>
588
589 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
590 (func): Add label func_label.
591 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
592 Replace low_pc and high_pc with MACRO_AT_range.
593 Replace name, low_pc and high_pc with MACRO_AT_func.
594
9301ebe6
YQ
5952014-11-14 Yao Qi <yao@codesourcery.com>
596
597 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
598 Replace name, low_pc and high_pc with MACRO_AT_func.
599
f166b542
YQ
6002014-11-14 Yao Qi <yao@codesourcery.com>
601
602 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
603 produce debug information.
604 * gdb.dwarf2/implptr-optimized-out.S: Removed.
605
0f6e71e3
YQ
6062014-11-14 Yao Qi <yao@codesourcery.com>
607
608 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
609 object and get function length.
610 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
611 with MACRO_AT_func.
612 (top-level): Replace gdb_compile and clean_restart with
613 prepare_for_testing.
614 * gdb.dwarf2/main.c (main): Add label main_label.
615
876c4df9
YQ
6162014-11-14 Yao Qi <yao@codesourcery.com>
617
618 * lib/dwarf.exp (function_range): New procedure.
619 (Dwarf::_handle_macro_at_func): New procedure.
620 (Dwarf::_handle_macro_at_range): New procedure.
621 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
622
02ad9cf1
YQ
6232014-11-14 Yao Qi <yao@codesourcery.com>
624
625 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
626 (_handle_attribute): New procedure.
627
a59add0c
AA
6282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
629
630 * gdb.ada/cond_lang/foo.c (callme): Add return type.
631 * gdb.base/call-sc.c (zed): Likewise.
632 * gdb.base/checkpoint.c (main): Likewise.
633 * gdb.base/dump.c (main): Likewise.
634 * gdb.base/gcore.c (main): Likewise.
635 * gdb.base/huge.c (main): Likewise.
636 * gdb.base/multi-forks.c (main): Likewise.
637 * gdb.base/pr10179-a.c (main): Likewise.
638 * gdb.base/savedregs.c (main): Likewise.
639 * gdb.base/sigaltstack.c (main): Likewise.
640 * gdb.base/siginfo.c (main): Likewise.
641 * gdb.base/structs.c (zed): Likewise.
642 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
643 * gdb.mi/mi-syn-frame.c (main): Likewise.
644 * gdb.mi/until.c (foo, main): Likewise.
645 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
646 * gdb.base/solib-weak.c (foo): Declare.
647 * gdb.base/attach-twice.c: Include stdio.h.
648 * gdb.base/weaklib1.c: Likewise.
649 * gdb.base/weaklib2.c: Likewise.
650 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
651 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
652 unistd.h.
653 * gdb.base/attach-pie-misread.c: Include stdlib.h.
654 * gdb.mi/mi-exit-code.c: Likewise.
655 * gdb.base/break-interp-lib.c: Include string.h.
656 * gdb.base/coremaker.c: Likewise.
657 * gdb.base/testenv.c: Likewise.
658 * gdb.python/py-finish-breakpoint.c: Likewise.
659 * gdb.base/inferior-died.c: Include sys/wait.h.
660 * gdb.base/fileio.c: Include time.h.
661 * gdb.base/async-shell.c: Include unistd.h.
662 * gdb.base/dprintf-non-stop.c: Likewise.
663 * gdb.base/info-os.c: Likewise.
664 * gdb.mi/mi-console.c: Likewise.
665 * gdb.mi/watch-nonstop.c: Likewise.
666 * gdb.python/py-events.c: Likewise.
667 * gdb.base/async.c (baz): Move up before its invocation.
668 * gdb.base/code_elim2.c (my_global_func): Likewise.
669 * gdb.base/skip-solib-lib.c (multiply): Likewise.
670 * gdb.base/advance.c (func2): Likewise.
671
3b5d5997
AA
6722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
673
674 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
675 variant.
676 * gdb.base/annota3.c: Likewise.
677 * gdb.base/async.c: Likewise.
678 * gdb.base/average.c: Likewise.
679 * gdb.base/call-ar-st.c: Likewise.
680 * gdb.base/call-rt-st.c: Likewise.
681 * gdb.base/call-sc.c: Likewise.
682 * gdb.base/call-strs.c: Likewise.
683 * gdb.base/ending-run.c: Likewise.
684 * gdb.base/execd-prog.c: Likewise.
685 * gdb.base/exprs.c: Likewise.
686 * gdb.base/foll-exec.c: Likewise.
687 * gdb.base/foll-fork.c: Likewise.
688 * gdb.base/foll-vfork.c: Likewise.
689 * gdb.base/funcargs.c: Likewise.
690 * gdb.base/gcore.c: Likewise.
691 * gdb.base/jump.c: Likewise.
692 * gdb.base/langs0.c: Likewise.
693 * gdb.base/langs1.c: Likewise.
694 * gdb.base/langs2.c: Likewise.
695 * gdb.base/mips_pro.c: Likewise.
696 * gdb.base/nodebug.c: Likewise.
697 * gdb.base/opaque0.c: Likewise.
698 * gdb.base/opaque1.c: Likewise.
699 * gdb.base/recurse.c: Likewise.
700 * gdb.base/run.c: Likewise.
701 * gdb.base/scope0.c: Likewise.
702 * gdb.base/scope1.c: Likewise.
703 * gdb.base/setshow.c: Likewise.
704 * gdb.base/setvar.c: Likewise.
705 * gdb.base/shmain.c: Likewise.
706 * gdb.base/shr1.c: Likewise.
707 * gdb.base/shr2.c: Likewise.
708 * gdb.base/sigall.c: Likewise.
709 * gdb.base/signals.c: Likewise.
710 * gdb.base/so-indr-cl.c: Likewise.
711 * gdb.base/solib2.c: Likewise.
712 * gdb.base/structs.c: Likewise.
713 * gdb.base/sum.c: Likewise.
714 * gdb.base/vforked-prog.c: Likewise.
715 * gdb.base/watchpoint.c: Likewise.
716 * gdb.reverse/shr2.c: Likewise.
717 * gdb.reverse/until-reverse.c: Likewise.
718 * gdb.reverse/ur1.c: Likewise.
719 * gdb.reverse/watch-reverse.c: Likewise.
720
066a77c5
AA
7212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
722
723 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
724 variant.
725 * gdb.base/sepdebug.exp: Drop references to removed code.
726
4f204ea5
AA
7272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
728
729 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
730 variant. Preserve original line numbering.
731 * gdb.base/list1.c: Likewise.
732
3b377a3a
AA
7332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
734
735 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
736 variant.
737 * gdb.base/break1.c: Likewise.
738 * gdb.base/break.exp: Drop references to removed code.
739
e444df73
AA
7402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
741
742 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
743 variant.
744
8008f2a7
AA
7452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
746
747 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
748
a5a06887
AA
7492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
750
751 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
752 logic into perform_all_tests() and invoke it with and without
753 function header prototypes.
754 (do_function_calls): Remove conditional XFAIL for PR 5318.
755 (rerun_and_prepare): Remove duplicate code.
756 (perform_all_tests): New. Main logic moved here.
757
44dba9b9
AA
7582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
759
760 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
761 code guarded by #ifdef NO_PROTOTYPES.
762 (t_double_many_args): Likewise.
763 (DEF_FUNC_MANY_ARGS_1): Likewise.
764 (DEF_FUNC_VALUES_1): Likewise.
765 (t_structs_ldc): Renamed from t_structs_fc in conditional code
766 guarded by #ifdef PROTOTYPES.
767
d1fbcd56
AA
7682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
769
770 * gdb.mi/mi-console.c: Add eye-catcher.
771 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
772 instead of literal line number.
773
b0e59b8f
AA
7742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
775
776 * gdb.base/shr2.c: Add eye-catcher.
777 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
778 line number.
779
78f98cca
AA
7802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
781
782 * gdb.base/jump.c: Add eye-catchers.
783 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
784 numbers.
785
58fa2af0
AA
7862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
787
788 * gdb.base/execd-prog.c: Add eye-catchers.
789 * gdb.base/foll-exec.c: Likewise.
790 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
791 line numbers.
792
04e5059b
AA
7932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
794
795 * gdb.base/ending-run.c: Add eye-catchers.
796 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
797 literal line numbers.
798
dbfdb174
AA
7992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
800
801 * gdb.base/call-rt-st.c: Add eye-catchers.
802 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
803 literal line numbers.
804
888a2ade
AA
8052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
806
807 * gdb.base/call-ar-st.c: Add eye-catchers.
808 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
809 literal line numbers.
810
6acc2dde
AA
8112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
812
813 * gdb.base/average.c: Add eye-catchers.
814 * gdb.base/sum.c: Likewise.
815 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
816 regexps dynamically.
817
9ecfcd1d
AA
8182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
819
820 * gdb.base/solib1.c: Add eye-catchers.
821 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
822 literal line numbers.
823
78708b7c
PA
8242014-11-12 Pedro Alves <palves@redhat.com>
825
826 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
827 leader has exited.
828
af48d08f
PA
8292014-11-12 Pedro Alves <palves@redhat.com>
830
831 * gdb.arch/i386-bp_permanent.c: New file.
832 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
833 (srcfile): Set to i386-bp_permanent.c.
834 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
835 that stepi does not execute the 'leave' instruction, instead of
836 testing it does execute.
837 * gdb.base/bp-permanent.c: New file.
838 * gdb.base/bp-permanent.exp: New file.
839
af3768e9
DE
8402014-11-10 Doug Evans <xdje42@gmail.com>
841
842 PR symtab/17564
843 * gdb.base/symtab-search-order.exp: New file.
844 * gdb.base/symtab-search-order.c: New file.
845 * gdb.base/symtab-search-order-1.c: New file.
846 * gdb.base/symtab-search-order-shlib-1.c: New file.
847
9de00a4a
PA
8482014-11-07 Pedro Alves <palves@redhat.com>
849
850 PR gdb/17511
851 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
852 i?86-*-linux*.
853
e0f52461
SC
8542014-11-03 Siva Chandra Reddy <sivachandra@google.com>
855
856 PR c++/17494
857 * gdb.cp/pr17494.cc: New file.
858 * gdb.cp/pr17494.exp: New file.
859
6ce8c980
YQ
8602014-11-02 Yao Qi <yao@codesourcery.com>
861
862 * gdb.python/python.exp: Get working directory and match the
863 output of "set extended-prompt \\w " with it.
864
02be9a71
DE
8652014-10-30 Doug Evans <dje@google.com>
866
867 * gdb.python/py-objfile.exp: Add tests for setting random attributes
868 in objfiles.
869 * gdb.python/py-progspace.exp: Add tests for setting random attributes
870 in progspaces.
871
3bdff46b
LM
8722014-10-30 Janis Johnson <janisjo@codesourcery.com>
873
874 * gdb.base/fullpath-expand.exp: Skip for a remote host.
875 * gdb.base/realname-expand.exp: Likewise.
876 * gdb.linespec/macro-relative.exp: Likewise.
877
ab917dfb
PA
8782014-10-29 Pedro Alves <palves@redhat.com>
879
880 PR gdb/17408
881 * gdb.threads/schedlock.c (some_function): New function.
882 (call_function): New global.
883 (MAYBE_CALL_SOME_FUNCTION): New macro.
884 (thread_function): Call it.
885 * gdb.threads/schedlock.exp (get_args): Add description parameter,
886 and use it instead of a global counter. Adjust all callers.
887 (get_current_thread): Use "find current thread" for test message
888 here rather than having all callers pass down the same string.
889 (goto_loop): New procedure, factored out from ...
890 (my_continue): ... this.
891 (step_ten_loops): Change parameter from test message to command to
892 use. Adjust.
893 (list_count): Delete global.
894 (check_result): New procedure, factored out from duplicate top
895 level code.
896 (continue tests): Wrap in with_test_prefix.
897 (test_step): New procedure, factored out from duplicate top level
898 code.
899 (top level): Test "step" in combination with all scheduler-locking
900 modes. Test "next" in combination with all scheduler-locking
901 modes, and in combination with stepping over a function call or
902 not.
903 * gdb.threads/next-bp-other-thread.c: New file.
904 * gdb.threads/next-bp-other-thread.exp: New file.
905
d3d4baed
PA
9062014-10-29 Pedro Alves <palves@redhat.com>
907
908 PR python/17372
909 * gdb.python/python.exp: Test a multi-line command that spawns
910 interactive Python.
911 * gdb.base/multi-line-starts-subshell.exp: New file.
912
563e8d85
YQ
9132014-10-29 Yao Qi <yao@codesourcery.com>
914
915 * gdb.base/fileio.exp: Make directories on host.
916
0ea4d52e
YQ
9172014-10-29 Yao Qi <yao@codesourcery.com>
918
919 * gdb.base/fileio.c (test_write): Close the file.
920
7f5ef605
PA
9212014-10-28 Pedro Alves <palves@redhat.com>
922
923 PR gdb/12623
924 * gdb.base/sigstep.c (no_handler): New global.
925 (main): If 'no_handler is true, set the signal handlers to
926 SIG_IGN.
927 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
928 with_sw_watch and no_handler parameters. Handle them.
929 (top level) <stepping over handler when stopped at a breakpoint
930 test>: Add a test axis for testing with a software watchpoint, and
931 another for testing with the signal handler set to SIG_IGN.
932 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
933 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
934
abbdbd03
PA
9352014-10-28 Pedro Alves <palves@redhat.com>
936
937 PR gdb/17511
938 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
939 * gdb.base/sigstep.exp (other_handler_location): New global.
940 (advance): Support stepping into the signal handler, and running
941 commands while in the handler.
942 (in_handler_map): New global.
943 (top level): In the advance test, add combinations for getting
944 into the handler with stepping commands, and for running commands
945 in the handler. Add comment descripting the advancei tests.
946
1df4399f
PA
9472014-10-28 Pedro Alves <palves@redhat.com>
948
949 * gdb.base/sigstep.exp: Use build_executable instead of
950 prepare_for_testing.
951 (top level): Move code that starts GDB, runs to main and creates a
952 display to ...
953 (restart): ... this new procedure.
954 (top level): Move backtrace from signal handler test to ...
955 (validate_backtrace): ... this new procedure.
956 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
957 with_test_prefix. Always restart GDB.
958 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
959 with_test_prefix. Always restart GDB. No need to delete
960 breakpoints after the test.
961 (test_skip_handler): Remove prefix parameter.
962 (skip_over_handler, breakpoint_to_handler)
963 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
964 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
965 restart GDB. No need to delete breakpoints after the test.
966 (top level): Use foreach to call the test procedures with
967 different commands.
968
a5b6e449
PA
9692014-10-28 Pedro Alves <palves@redhat.com>
970
971 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
972 instead of GNATS numbers.
973 * gdb.base/sigbpt.exp: Likewise.
974 * gdb.base/siginfo.exp: Likewise.
975 * gdb.base/sigstep.exp: Likewise.
976
e5f8a7cc
PA
9772014-10-27 Pedro Alves <palves@redhat.com>
978
979 * gdb.base/sigstep.c (dummy): New global.
980 (main): Issue a couple writes to the new global.
981 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
982 procedures.
983 (skip_over_handler): Use test_skip_handler.
984 (top level): Call skip_over_handler for stepi and nexti too.
985 (breakpoint_over_handler): Use test_skip_handler.
986 (top level): Call breakpoint_over_handler for stepi and nexti too.
987
763905a3
YQ
9882014-10-27 Yao Qi <yao@codesourcery.com>
989
990 * gdb.trace/tfile.c (adjust_function_address)
991 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
992 function descriptor.
993
6f259a23
DB
9942014-10-24 Don Breazeal <donb@codesourcery.com>
995
996 * gdb.base/foll-fork.exp (test_follow_fork,
997 catch_fork_child_follow): Check for updated fork messages emitted
998 from infrun.c.
999 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1000 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1001 vfork_and_exec_child_follow_through_step): Check for updated vfork
1002 messages emitted from infrun.c.
1003
09dd9a69
PA
10042014-10-24 Pedro Alves <palves@redhat.com>
1005
1006 * gdb.base/corefile.exp: Remove references to ultrix.
1007 * gdb.base/interrupt.exp: Likewise.
1008 * gdb.base/whatis.exp: Likewise.
1009 * gdb.gdb/selftest.exp: Likewise.
1010 * gdb.threads/manythreads.exp: Likewise.
1011 * gdb.threads/print-threads.exp: Likewise.
1012 * gdb.threads/pthreads.exp:: Likewise.
1013 * gdb.threads/schedlock.exp: Likewise.
1014
3433cfa5
SC
10152014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1016
1017 * gdb.cp/non-trivial-retval.cc: Add a test case.
1018 * gdb.cp/non-trivial-retval.exp: Add a test.
1019
092f880b
YQ
10202014-10-20 Yao Qi <yao@codesourcery.com>
1021
1022 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1023 * gdb.python/py-objfile-script-gdb.py: New file.
1024 * gdb.python/py-objfile-script.exp: Update reference to
1025 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1026 of remote_download. Remove the dest file.
1027
acbdb7f3
YQ
10282014-10-20 Yao Qi <yao@codesourcery.com>
1029
1030 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1031 * gdb.base/step-line.exp: Likewise.
1032 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1033 * gdb.dwarf2/dw2-basic.exp: Likewise.
1034 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1035 * gdb.dwarf2/dw2-filename.exp: Likewise.
1036 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1037 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1038 * gdb.dwarf2/dw2-producer.exp: Likewise.
1039 * gdb.dwarf2/mac-fileno.exp: Likewise.
1040 * gdb.python/py-frame-args.exp: Likewise.
1041 * gdb.python/py-framefilter.exp: Likewise.
1042 * gdb.python/py-mi.exp: Likewise.
1043 * gdb.python/py-objfile-script.exp: Likewise
1044 * gdb.python/py-pp-integral.exp: Likewise.
1045 * gdb.python/py-pp-re-notag.exp: Likewise.
1046 * gdb.python/py-prettyprint.exp: Likewise.
1047 * gdb.python/py-section-script.exp: Likewise.
1048 * gdb.python/py-typeprint.exp: Likewise.
1049 * gdb.python/py-xmethods.exp: Likewise.
1050 * gdb.stabs/weird.exp: Likewise.
1051 * gdb.xml/tdesc-regs.exp: Likewise.
1052
bd286a29
KCY
10532014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1054
1055 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1056 (out_cu): Use addr_len for the size of addresses.
1057 (out_line): Likewise. Size DW_LNE_set_address instruction
1058 according to addr_len.
1059 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1060 (FUNC): Add START_INSNS to definition.
1061
673dc4a0
YQ
10622014-10-18 Yao Qi <yao@codesourcery.com>
1063
1064 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1065 gdb_has_argv0 return true.
1066 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1067 check [target_info exists noargs], check [gdb_has_argv0]
1068 instead.
1069 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1070 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1071 procedures.
1072
4ffbba72
DE
10732014-10-17 Doug Evans <dje@google.com>
1074
1075 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1076 event.
1077 * gdb.python/py-events.py: Add clear_objfiles event.
1078
d096d8c1
DE
10792014-10-17 Doug Evans <dje@google.com>
1080
1081 * gdb.python/py-objfile.exp: Test progspace attribute.
1082
a80db015
LM
10832014-10-17 Luis Machado <lgustavo@codesourcery.com>
1084
1085 * gdb.guile/scm-breakpoint.exp: Do not assume any
1086 directory separators when matching source file paths.
1087 * gdb.python/py-breakpoint.exp: Likewise.
1088 * gdb.reverse/break-precsave.exp: Likewise.
1089 * gdb.reverse/break-reverse.exp: Likewise.
1090 * gdb.reverse/consecutive-precsave.exp: Likewise.
1091 * gdb.reverse/finish-precsave.exp: Likewise.
1092 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1093 * gdb.reverse/finish-reverse.exp: Likewise.
1094 * gdb.reverse/i386-precsave.exp: Likewise.
1095 * gdb.reverse/i387-env-reverse.exp: Likewise.
1096 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1097 * gdb.reverse/machinestate-precsave.exp: Likewise.
1098 * gdb.reverse/machinestate.exp: Likewise.
1099 * gdb.reverse/sigall-precsave.exp: Likewise.
1100 * gdb.reverse/solib-precsave.exp: Likewise.
1101 * gdb.reverse/step-precsave.exp: Likewise.
1102 * gdb.reverse/until-precsave.exp: Likewise.
1103 * gdb.reverse/watch-precsave.exp: Likewise.
1104 * gdb.reverse/watch-reverse.exp: Likewise.
1105
b22089ab
YQ
11062014-10-17 Yao Qi <yao@codesourcery.com>
1107
1108 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1109 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1110
6c4486e6
PA
11112014-10-17 Pedro Alves <palves@redhat.com>
1112
1113 PR gdb/17471
1114 * gdb.base/bg-execution-repeat.c: New file.
1115 * gdb.base/bg-execution-repeat.exp: New file.
1116
0ff33695
PA
11172014-10-17 Pedro Alves <palves@redhat.com>
1118
1119 PR gdb/17300
1120 * gdb.base/continue-all-already-running.c: New file.
1121 * gdb.base/continue-all-already-running.exp: New file.
1122
6fdebc3d
PA
11232014-10-17 Pedro Alves <palves@redhat.com>
1124
1125 PR gdb/17472
1126 * gdb.base/annota-input-while-running.c: New file.
1127 * gdb.base/annota-input-while-running.exp: New file.
1128
32a8097b
PA
11292014-10-17 Pedro Alves <palves@redhat.com>
1130
1131 * gdb.base/callfuncs.exp: emove references to osf.
1132 * gdb.base/sigall.exp: Likewise.
1133 * gdb.gdb/selftest.exp: Likewise.
1134 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1135 * gdb.mi/non-stop.c: Likewise.
1136 * gdb.mi/pthreads.c: Likewise.
1137 * gdb.reverse/sigall-precsave.exp: Likewise.
1138 * gdb.reverse/sigall-reverse.exp: Likewise.
1139 * gdb.threads/pthreads.c: Likewise.
1140 * gdb.threads/pthreads.exp: Likewise.
1141
7a3517ff
YQ
11422014-10-17 Yao Qi <yao@codesourcery.com>
1143
1144 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1145 check 'target_info exists noargs'.
1146 (test_command_prompt_position): Likewise.
1147 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1148 Remove "set args".
1149 (progvar_simple_while_test): Likewise.
1150 (progvar_complex_if_while_test): Likewise.
1151 (if_while_breakpoint_command_test): Likewise.
1152 (infrun_breakpoint_command_test): Likewise.
1153 (breakpoint_command_test): Likewise.
1154 (watchpoint_command_test): Likewise.
1155 (bp_deleted_in_command_test): Likewise.
1156 (temporary_breakpoint_commands): Likewise.
1157
bb99c472
YQ
11582014-10-16 Yao Qi <yao@codesourcery.com>
1159
1160 * gdb.base/remotetimeout.exp: Remove noargs checking.
1161
7c16b83e
PA
11622014-10-15 Pedro Alves <palves@redhat.com>
1163
1164 PR breakpoints/9649
1165 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1166 * gdb.base/breakpoint-in-ro-region.exp
1167 (probe_target_hardware_step): New procedure.
1168 (top level): Probe hardware stepping and hardware breakpoint
1169 support. Test stepping through a read-only region, with both
1170 "breakpoint auto-hw" on and off and both "always-inserted" on and
1171 off.
1172
35a49624
IB
11732014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1174
1175 * gdb.dlang/demangle.exp: Update for demangling changes.
1176
2d1c107c
SC
11772014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1178
1179 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1180 * gdb.cp/non-trivial-retval.exp: Add new tests.
1181
778811d5
SC
11822014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1183
1184 PR c++/13403
1185 PR c++/15154
1186 * gdb.cp/non-trivial-retval.cc: New file.
1187 * gdb.cp/non-trivial-retval.exp: New file.
1188
10c5f0a8
YQ
11892014-10-15 Yao Qi <yao@codesourcery.com>
1190
1191 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1192 remote host.
1193
65d7b369
YQ
11942014-10-15 Yao Qi <yao@codesourcery.com>
1195
1196 * gdb.python/py-symbol.exp: Match file base name if host is
1197 remote, otherwise match file name with dir name.
1198 * gdb.python/py-symtab.exp: Likewise.
1199 * gdb.python/python.exp: Likewise.
1200
46dc1394
YQ
12012014-10-15 Yao Qi <yao@codesourcery.com>
1202
1203 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1204 pattern.
1205 * gdb.python/py-symtab.exp: Likewise.
1206 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1207 locationn.
1208
c40cc657
JB
12092014-10-14 Joel Brobecker <brobecker@adacore.com>
1210
1211 * gdb.ada/addr_arith: New testcase.
1212
2abf49e1
MR
12132014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1214
1215 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1216 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1217 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1218 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1219
f7088df3
SDJ
12202014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1221
1222 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1223 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1224 * gdb.arch/stap-eval-lang-ada.exp: New file.
1225
4dc06805
YQ
12262014-10-14 Yao Qi <yao@codesourcery.com>
1227
1228 * gdb.mi/mi-var-child.c (nothing1): New function.
1229 (nothing2): New function.
1230 (do_children_tests): Set function pointers by nothing1 and
1231 nothing2.
1232 * gdb.mi/mi-var-child.exp: Step over new added statements.
1233 Update test to match the new output.
1234 * gdb.mi/var-cmd.c (nothing1): New function.
1235 (nothing2): New function.
1236 (do_children_tests): Set function pointers by nothing1 and
1237 nothing2.
1238 * gdb.mi/mi-var-display.exp: Update test to match output.
1239 Step to the line specified by $line_dct_nothing.
1240 Increase the number of lines to step.
1241
46a93de2
YQ
12422014-10-14 Yao Qi <yao@codesourcery.com>
1243
1244 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1245 tests.
1246 * gdb.mi/mi2-var-child.exp: Likewise.
1247
14ea52ee
DE
12482014-10-13 Doug Evans <dje@google.com>
1249
1250 * gdb.python/py-objfile.exp: Change name of file name test.
1251
e5c6e92b
DE
12522014-10-13 Doug Evans <dje@google.com>
1253
1254 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1255 from the start of the CU.
1256
c780cc2f
JK
12572014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1258 Yao Qi <yao@codesourcery.com>
1259
1260 Fix "save breakpoints" for "catch" command.
1261 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1262 Remove -nonewline. Match also the added "main" line.
1263
99894e11
JK
12642014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1265
1266 Fix "save breakpoints" for "disable $bpnum" command.
1267 * gdb.base/save-bp.c (main): Add label.
1268 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1269
6e1ac5a3
JK
12702014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1271
1272 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1273
754dd2b0
YQ
12742014-10-11 Yao Qi <yao@codesourcery.com>
1275
1276 * gdb.server/server-kill.exp: Execute command
1277 "set remote trace-status-packet on" before "tstatus".
1278
f90183d7
YQ
12792014-10-11 Yao Qi <yao@codesourcery.com>
1280
1281 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1282 (main): Call getppid.
1283 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1284 and continue to it. Read variable "server_pid".
1285
bf40a607
YQ
12862014-10-11 Yao Qi <yao@codesourcery.com>
1287
1288 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1289
052ca370
YQ
12902014-10-11 Yao Qi <yao@codesourcery.com>
1291
1292 * gdb.threads/thread-find.exp: Don't execute command
1293 "info threads".
1294 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1295 * gdb.threads/linux-dp.exp: Don't check the condition
1296 $threads_created equals to zero.
1297
3831839c
PA
12982014-10-10 Pedro Alves <palves@redhat.com>
1299
1300 * gdb.base/bigcore.exp: Remove references to IRIX.
1301 * gdb.base/funcargs.exp: Likewise.
1302 * gdb.base/interrupt.exp: Likewise.
1303 * gdb.base/mips_pro.exp: Likewise.
1304 * gdb.base/nodebug.exp: Likewise.
1305 * gdb.base/setvar.exp: Likewise.
1306 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1307
8b9a549d
PA
13082014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1309 Pedro Alves <palves@redhat.com>
1310
1311 PR symtab/14466
1312 * gdb.base/vdso-warning.c: New file.
1313 * gdb.base/vdso-warning.exp: New file.
1314
d48ba5e8
DE
13152014-10-02 Doug Evans <dje@google.com>
1316
1317 * gdb.base/structs.c (main): Don't run forever.
1318
2278c276
PA
13192014-10-02 Pedro Alves <palves@redhat.com>
1320
1321 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1322 (top level) <stop threads 1, stop threads 2>: Use it.
1323
b57bacec
PA
13242014-10-02 Pedro Alves <palves@redhat.com>
1325
1326 * gdb.threads/break-while-running.exp (test): Add new
1327 'update_thread_list' argument. Skip "info threads" if false.
1328 (top level): Add new 'update_thread_list' axis.
1329
13fd3ff3
PA
13302014-10-02 Pedro Alves <palves@redhat.com>
1331
1332 PR breakpoints/17431
1333 * gdb.base/execl-update-breakpoints.c: New file.
1334 * gdb.base/execl-update-breakpoints.exp: New file.
1335
0fec99e8
PA
13362014-10-01 Pedro Alves <palves@redhat.com>
1337
1338 * gdb.base/breakpoint-in-ro-region.c: New file.
1339 * gdb.base/breakpoint-in-ro-region.exp: New file.
1340
2ddf4301
SM
13412014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1342
1343 * gdb.mi/mi-exit-code.exp: New file.
1344 * gdb.mi/mi-exit-code.c: New file.
1345
6a5f3f43
YQ
13462014-09-30 Yao Qi <yao@codesourcery.com>
1347
1348 * lib/prelink-support.exp (build_executable_own_libs): Error if
1349 the target isn't native.
1350
345bcc73
YQ
13512014-09-30 Yao Qi <yao@codesourcery.com>
1352
1353 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1354 false.
1355
a25a5a45
PA
13562014-09-22 Pedro Alves <palves@redhat.com>
1357
1358 * gdb.threads/break-while-running.exp: New file.
1359 * gdb.threads/break-while-running.c: New file.
1360
00ba3162
YQ
13612014-09-19 Yao Qi <yao@codesourcery.com>
1362
1363 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1364 Invoke test. Restart GDB with --readnow and invoke test again.
1365
c3b7b696
YQ
13662014-09-19 Yao Qi <yao@codesourcery.com>
1367
1368 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1369 proc set_breakpoint_on_gcd_function. Invoke
1370 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1371 invoke set_breakpoint_on_gcd_function again.
1372
2b4fd423
DE
13732014-09-18 Doug Evans <dje@google.com>
1374
1375 * gdb.dwarf2/symtab-producer.exp: New file.
1376
a5947601
SDJ
13772014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1378
1379 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1380 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1381 * gdb.base/global-var-nested-by-dso.c: Likewise.
1382 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1383
91c19059
SDJ
13842014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1385 Pedro Alves <palves@redhat.com>
1386
1387 * gdb.base/watch-bitfields.exp: Pass string other than test file
1388 name to prepare_for_testing.
1389 (watch): New procedure.
1390 (expect_watchpoint): Use with_test_prefix.
1391 (top level): Factor out tests to ...
1392 (test_watch_location, test_regular_watch): ... these new
1393 procedures, and use with_test_prefix and gdb_continue_to_end.
1394
bb9d5f81
PP
13952014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1396
1397 PR breakpoints/12526
1398 * gdb.base/watch-bitfields.exp: New file.
1399 * gdb.base/watch-bitfields.c: New file.
1400
635856f5
PA
14012014-09-16 Pedro Alves <palves@redhat.com>
1402
1403 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1404 software and hardware addresses, not software address against
1405 itself.
1406
7280ceea
PA
14072014-09-16 Pedro Alves <palves@redhat.com>
1408
1409 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1410 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1411
428b16bd
PA
14122014-09-16 Pedro Alves <palves@redhat.com>
1413
1414 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1415 files.
1416 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1417 "*-*-vxworks*" throughout.
1418 * gdb.base/break.exp: Likewise.
1419 * gdb.base/default.exp: Likewise.
1420 * gdb.base/scope.exp: Likewise.
1421 * gdb.base/sepdebug.exp: Likewise.
1422 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1423 throughout.
1424 * gdb.base/run.c: Likewise.
1425 * gdb.base/sepdebug.c: Likewise.
1426 * gdb.hp/gdb.aCC/run.c: Likewise.
1427 * gdb.reverse/until-reverse.c: Likewise.
1428 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1429
666d413c
YQ
14302014-09-16 Yao Qi <yao@codesourcery.com>
1431
1432 * boards/local-remote-host-native.exp: New file.
1433
57cbd724
DE
14342014-09-14 Doug Evans <xdje42@gmail.com>
1435
1436 * gdb.threads/queue-signal.c (thread_count): New variable.
1437 (thread_count_mutex, thread_count_condvar): New variables.
1438 (incr_thread_count, wait_all_threads_running): New functions.
1439 (main): Wait for all threads to be in their thread functions.
1440
81219e53
DE
14412014-09-13 Doug Evans <xdje42@gmail.com>
1442
1443 * gdb.threads/queue-signal.c: New file.
1444 * gdb.threads/queue-signal.exp: New file.
1445
3714cea7
DE
14462014-09-13 Doug Evans <xdje42@gmail.com>
1447
1448 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1449 be consistent with what default_gdb_init uses.
1450 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1451 the plain text of the prompt. Add some logging printfs.
1452 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1453
fa43b1d7
PA
14542014-09-12 Pedro Alves <palves@redhat.com>
1455
1456 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1457 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1458 * gdb.arch/i386-size-overlap.exp: Likewise.
1459 * gdb.arch/i386-size.exp: Likewise.
1460 * gdb.arch/i386-unwind.exp: Likewise.
1461 * gdb.base/a2-run.exp: Likewise.
1462 * gdb.base/break.exp: Likewise.
1463 * gdb.base/charset.exp: Likewise.
1464 * gdb.base/chng-syms.exp: Likewise.
1465 * gdb.base/commands.exp: Likewise.
1466 * gdb.base/dbx.exp: Likewise.
1467 * gdb.base/find.exp: Likewise.
1468 * gdb.base/funcargs.exp: Likewise.
1469 * gdb.base/jit-simple.exp: Likewise.
1470 * gdb.base/reread.exp: Likewise.
1471 * gdb.base/sepdebug.exp: Likewise.
1472 * gdb.base/step-bt.exp: Likewise.
1473 * gdb.cp/mb-inline.exp: Likewise.
1474 * gdb.cp/mb-templates.exp: Likewise.
1475 * gdb.objc/basicclass.exp: Likewise.
1476 * gdb.threads/killed.exp: Likewise.
1477
9d9bf2df
EBM
14782014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1479
1480 PR tdep/17379
1481 * gdb.arch/powerpc-stackless.S: New file.
1482 * gdb.arch/powerpc-stackless.exp: New file.
1483
1cf2f1b0
JK
14842014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1485
1486 * gdb.base/attach.c: Include unistd.h.
1487 (main): Call alarm. Add label postloop.
1488 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1489 gdb_breakpoint, gdb_continue_to_breakpoint.
1490 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1491
98880d46
PA
14922014-09-11 Pedro Alves <palves@redhat.com>
1493
1494 PR gdb/17347
1495 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1496 * gdb.base/attach.exp (test_command_line_attach_run): New
1497 procedure.
1498 (top level): Call it.
1499
4c92ff2c
PA
15002014-09-11 Pedro Alves <palves@redhat.com>
1501
1502 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1503 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1504 (do_command_attach_tests): Use spawn_wait_for_attach.
1505 * gdb.base/solib-overlap.exp: Likewise.
1506 * gdb.multi/multi-attach.exp: Likewise.
1507 * gdb.python/py-prompt.exp: Likewise.
1508 * gdb.python/py-sync-interp.exp: Likewise.
1509 * gdb.server/ext-attach.exp: Likewise.
1510
3adc1a7d
GKB
15112014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1512
1513 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1514 command in testcase. Simplify testcase.
1515
96334934
JB
15162014-09-10 Joel Brobecker <brobecker@adacore.com>
1517
1518 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1519
eb479039
JB
15202014-09-10 Joel Brobecker <brobecker@adacore.com>
1521
1522 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1523
deede10c
JB
15242014-09-10 Joel Brobecker <brobecker@adacore.com>
1525
1526 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1527
7828a5f5
JB
15282014-09-10 Joel Brobecker <brobecker@adacore.com>
1529
1530 * gdb.dwarf2/dynarr-ptr.c: New file.
1531 * gdb.dwarf2/dynarr-ptr.exp: New file.
1532
33aeebcf
MR
15332014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1534
1535 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1536 of 30 rather than hardcoding 120 for a slow test case. Take the
1537 `gdb,timeout' target setting into account for this calculation.
1538 Don't extend the timeout for the test cases that don't need it.
1539
7b415901
MR
15402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1541
1542 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1543 a factor of 2 for a slow test case. Take the `gdb,timeout'
1544 target setting into account for this calculation.
1545 * gdb.reverse/until-precsave.exp: Increase the timeout by
1546 a factor of 15 and 3 respectively rather than adding 120
1547 for a pair of slow test cases. Take the `gdb,timeout'
1548 target setting into account for this calculation.
1549
4a40f85a
MR
15502014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1551
1552 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1553 timeout, don't pass one down to gdb_expect.
1554 (gdb_expect): Rework timeout selection.
1555
09635af7
MR
15562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1557
1558 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1559 exception on timeout.
1560 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1561 (gdbserver_start_extended): Catch any `gdbserver_start' error
1562 exceptions.
1563 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1564 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1565 `gdbserver_gdb_load' error exceptions.
1566
2bdd10b7
MR
15672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1568
1569 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1570 120 on waiting for the TCP socket to open.
1571
316935f0
DE
15722014-09-09 Doug Evans <xdje42@gmail.com>
1573
1574 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1575 _caller_matches, _any_caller_is, _any_caller_matches.
1576
83740597
DE
15772014-09-09 Doug Evans <xdje42@gmail.com>
1578
1579 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1580
4c122fc3
YQ
15812014-09-09 Yao Qi <yao@codesourcery.com>
1582
1583 * gdb.mi/mi-var-display.exp: Set print symbol off.
1584
a9f116cb
GKB
15852014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1586
1587 PR gdb/17035
1588 * gdb.base/commands.exp: Add tests to verify user-defined
1589 commands with empty bodies.
1590 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1591 python commands in `show user command`.
1592 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1593 scheme commands in `show user command`.
1594
c75bd3a2
JK
15952014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1596
1597 PR python/17355
1598 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1599 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1600 * gdb.python/py-framefilter-invalidarg.exp: New file.
1601 * gdb.python/py-framefilter-invalidarg.py: New file.
1602
faa42425
DE
16032014-09-06 Doug Evans <xdje42@gmail.com>
1604
1605 PR 15276
1606 * gdb.python/py-caller-is.c: New file.
1607 * gdb.python/py-caller-is.exp: New file.
1608
474ca4f6
SDJ
16092014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1610
1611 PR gdb/17235
1612 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1613 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1614
eb0b0463
SDJ
16152014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1616
1617 PR fortran/17237
1618 * gdb.fortran/print-formatted.exp: New file.
1619 * gdb.fortran/print-formatted.f90: Likewise.
1620
5f3b99cf
SS
16212014-09-03 Sasha Smundak <asmundak@google.com>
1622
1623 * gdb.python/py-frame.exp: Test Frame.read_register.
1624
7d793aa9
SDJ
16252014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1626
1627 PR python/16699
1628 * gdb.python/py-completion.exp: New file.
1629 * gdb.python/py-completion.py: Likewise.
1630
fb0576e9
DE
16312014-08-28 Doug Evans <dje@google.com>
1632
1633 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1634 eax,etc. are live with values set by gdb and thus the compiler can't
1635 use them.
1636 * gdb.arch/i386-pseudo.c (main): Ditto.
1637
ee92b0dd
DE
16382014-08-27 Doug Evans <dje@google.com>
1639
1640 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1641
6649db35
DE
16422014-08-25 Doug Evans <dje@google.com>
1643
1644 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1645 (main): Ditto.
1646
564b7600
DE
16472014-08-25 Doug Evans <dje@google.com>
1648
1649 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1650
3881fb67
YQ
16512014-08-24 Yao Qi <yao@codesourcery.com>
1652
1653 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1654 symbol off.
1655 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1656
a05a36a5
DE
16572014-08-22 Doug Evans <dje@google.com>
1658
1659 PR 17276
1660 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1661 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1662 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1663
7c343b48
YQ
16642014-08-22 Yao Qi <yao@codesourcery.com>
1665
1666 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1667 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1668 * gdb.python/python.exp: Likewise. Use .py file on the host
1669 instead of the build.
1670
22fd09ae
JK
16712014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1672
1673 * gdb.threads/gcore-stale-thread.c: New file.
1674 * gdb.threads/gcore-stale-thread.exp: New file.
1675
a8454a7c
PA
16762014-08-21 Pedro Alves <palves@redhat.com>
1677
1678 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1679 * gdb.base/gcore-relro-pie.exp: Likewise.
1680 * gdb.base/gcore-relro.exp: Likewise.
1681 * gdb.base/gcore.exp: Likewise.
1682 * gdb.base/print-symbol-loading.exp: Likewise.
1683 * gdb.threads/gcore-thread.exp: Likewise.
1684 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1685
2a31c623
PA
16862014-08-20 Pedro Alves <palves@redhat.com>
1687 Jan Kratochvil <jan.kratochvil@redhat.com>
1688
1689 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1690 configure.
1691 (EXPECT): Handle READ1 being set.
1692 (all): Depend on EXTRA_RULES.
1693 (check-read1, expect-read1, read1.so, read1): New rules.
1694 * README (Testsuite Parameters): Document the READ1 make variable.
1695 (Race detection): New section.
1696 * configure: Regenerate.
1697 * configure.ac: If build==host==target, and running under a
1698 GNU/glibc system, add read1 to the extra Makefile rules.
1699 (EXTRA_RULES): AC_SUBST it.
1700 * lib/read1.c: New file.
1701
d36430db
JB
17022014-08-20 Joel Brobecker <brobecker@adacore.com>
1703
1704 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1705 the handling of variables declared as a typedef to an array
1706 which a DW_AT_data_location attribute.
1707
9a0dc9e3
PA
17082014-08-19 Andrew Burgess <aburgess@broadcom.com>
1709 Pedro Alves <palves@redhat.com>
1710
1711 PR symtab/14604
1712 PR symtab/14605
1713 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1714 gdb_test.
1715
0718a8da
PA
17162014-08-19 Pedro Alves <palves@redhat.com>
1717
1718 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1719
13b448cd
YQ
17202014-08-19 Yao Qi <yao@codesourcery.com>
1721
1722 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1723 right line.
1724
1cbf5077
DB
17252014-08-18 David Blaikie <dblaikie@gmail.com>
1726
1727 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1728
bf0fae19
JB
17292014-08-18 Joel Brobecker <brobecker@adacore.com>
1730
1731 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1732 attribute in array range.
1733
3c8c5dcc
JB
17342014-08-18 Joel Brobecker <brobecker@adacore.com>
1735
1736 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1737
e66d4446
SC
17382014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1739
1740 PR c++/17132
1741 * gdb.cp/pr17132.cc: New file.
1742 * gdb.cp/pr17132.exp: New file.
1743
940df408
SC
17442014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1745
1746 * gdb.python/py-xmethods.py (A_getarrayind)
1747 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1748 Use 'print' with function call syntax.
1749 (E_method_matcher.match): Fix tab vs space indentation mixup.
1750
ebcc6c3a
YQ
17512014-08-15 Yao Qi <yao@codesourcery.com>
1752
1753 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1754 false.
1755
775e0f04
YQ
17562014-08-15 Yao Qi <yao@codesourcery.com>
1757
1758 * gdb.cp/casts.exp: Set print symbol off.
1759 * gdb.cp/class2.exp: Likewise.
1760 * gdb.cp/overload.exp: Likewise.
1761 * gdb.cp/templates.exp: Likewise.
1762
d769e349
DE
17632014-08-11 Doug Evans <dje@google.com>
1764
1765 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1766 (test_load_shlib): Update.
1767
20c6f1e1
YQ
17682014-08-09 Yao Qi <yao@codesourcery.com>
1769
1770 * gdb.base/display.exp: Invoke is_address_zero_readable.
1771 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1772 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1773 * gdb.base/hbreak-unmapped.exp: Return if
1774 is_address_zero_readable returns true.
1775 * gdb.base/signest.exp: Likewise.
1776 * gdb.base/signull.exp: Likewise.
1777 * gdb.base/sigbpt.exp: Likewise.
1778 * gdb.guile/scm-disasm.exp: Do the test if
1779 is_address_zero_readable returns false.
1780 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1781 * gdb.python/py-arch.exp: Likewise.
1782 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1783 * lib/gdb.exp (is_address_zero_readable): New proc.
1784
5792e8e3
YQ
17852014-08-09 Yao Qi <yao@codesourcery.com>
1786
1787 PR testsuite/13443
1788 * gdb.mi/mi-var-display.exp: Make test messages unique.
1789
3cecbbbe
TT
17902014-08-04 Tom Tromey <tromey@redhat.com>
1791
1792 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1793 target 0".
1794
00b51ff5
TT
17952014-08-04 Tom Tromey <tromey@redhat.com>
1796
1797 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1798 "target_resume".
1799
6908c509
JB
18002014-08-01 Joel Brobecker <brobecker@adacore.com>
1801
1802 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1803 inner_vla_struct_object_size.
1804 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1805 as xfail.
1806
cc6563d2
PA
18072014-07-30 Pedro Alves <palves@redhat.com>
1808
1809 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1810 comment.
1811
7e09a223
YQ
18122014-07-29 Yao Qi <yao@codesourcery.com>
1813
1814 PR gdb/17206
1815 * gdb.base/until-nodebug.exp: New.
1816
7ebdbe92
DE
18172014-07-28 Doug Evans <xdje42@gmail.com>
1818
1819 PR guile/17203
1820 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1821 previously existing parameter, and previously ambiguously spelled
1822 parameter.
1823
fdb1adc6
WN
18242014-07-28 Will Newton <will.newton@linaro.org>
1825
1826 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1827
186fcde0
DE
18282014-07-26 Ludovic Courtès <ludo@gnu.org>
1829 Doug Evans <xdje42@gmail.com>
1830
1831 PR guile/17146
1832 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1833
70509625
PA
18342014-07-25 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.threads/signal-command-handle-nopass.c: New file.
1837 * gdb.threads/signal-command-handle-nopass.exp: New file.
1838 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1839 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1840 * gdb.threads/signal-delivered-right-thread.c: New file.
1841 * gdb.threads/signal-delivered-right-thread.exp: New file.
1842
c3f814a1
PA
18432014-07-25 Pedro Alves <palves@redhat.com>
1844
1845 * gdb.base/double-prompt-target-event-error.exp
1846 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1847 match.
1848 (cancel_pagination_in_target_event): Rework double prompt
1849 detection.
1850 * gdb.base/paginate-after-ctrl-c-running.exp
1851 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1852 <return>' match.
1853 * gdb.base/paginate-bg-execution.exp
1854 (test_bg_execution_pagination_return)
1855 (test_bg_execution_pagination_cancel): Remove '-notransfer
1856 <return>' matches.
1857 * gdb.base/paginate-execution-startup.exp
1858 (test_fg_execution_pagination_return)
1859 (test_fg_execution_pagination_cancel): Remove '-notransfer
1860 <return>' matches.
1861 * gdb.base/paginate-inferior-exit.exp
1862 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1863 match.
1864 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1865 * lib/gdb.exp (pagination_prompt): Run text through
1866 string_to_regexp.
1867 (gdb_test_multiple): Match $pagination_prompt instead of
1868 "<return>".
1869 (string_to_regexp): Move to lib/gdb-utils.exp.
1870
e214cf6c
JK
18712014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1872
1873 * gdb.arch/amd64-entry-value-paramref.S: New file.
1874 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1875 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1876 * gdb.arch/amd64-optimout-repeat.S: New file.
1877 * gdb.arch/amd64-optimout-repeat.c: New file.
1878 * gdb.arch/amd64-optimout-repeat.exp: New file.
1879
17d0c5c8
JK
18802014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1881
1882 PR gdb/17170
1883 * gdb.base/statistics.exp: New file.
1884
b8b8facf
DE
18852014-07-17 Doug Evans <dje@google.com>
1886
74b49205 1887 PR gdb/17170
b8b8facf
DE
1888 * gdb.base/maint.exp: Update testing of per-command stats.
1889
1b5d0ab3
PA
18902014-07-16 Pedro Alves <palves@redhat.com>
1891
1892 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1893 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1894 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1895 (tfile_write_buf): New functions.
1896 (add_memory_block): Rewrite using the above.
1897 (adjust_function_address): New function.
1898 (FUNCTION_ADDRESS): New macro.
1899 (write_basic_trace_file): Remove short_x local, and use
1900 tfile_write_16. Change type of func_addr local to unsigned long
1901 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1902 here. Cast argument of add_memory_block to char pointer.
1903 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1904 (main): Remove parameters.
1905 * gdb.trace/tfile.exp: Remove nowarnings.
1906
4d974e88
SM
19072014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1908
1909 * gdb.base/debug-expr.exp: Test string evaluation with
1910 "debug expression" on.
1911
41e99568
PA
19122014-07-15 Pedro Alves <palves@redhat.com>
1913
1914 * gdb.base/reread.exp: Use clean_restart.
1915
487d9753
PL
19162014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1917
1918 * gdb.arch/avr-flash-qualifer.c: New.
1919 * gdb.arch/avr-flash-qualifer.exp: New.
1920
cc1c52ad
PA
19212014-07-14 Pedro Alves <palves@redhat.com>
1922
1923 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1924 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1925
1e973570
PA
19262014-07-14 Pedro Alves <palves@redhat.com>
1927
1928 * gdb.base/double-prompt-target-event-error.c: New file.
1929 * gdb.base/double-prompt-target-event-error.exp: New file.
1930
93d6eb10
PA
19312014-07-14 Pedro Alves <palves@redhat.com>
1932
1933 PR gdb/17072
1934 * gdb.base/paginate-inferior-exit.c: New file.
1935 * gdb.base/paginate-inferior-exit.exp: New file.
1936
0017922d
PA
19372014-07-14 Pedro Alves <palves@redhat.com>
1938
1939 PR gdb/17072
1940 * gdb.base/paginate-bg-execution.c: New file.
1941 * gdb.base/paginate-bg-execution.exp: New file.
1942
94696ad3
PA
19432014-07-14 Pedro Alves <palves@redhat.com>
1944
1945 PR gdb/17072
1946 * gdb.base/paginate-execution-startup.c: New file.
1947 * gdb.base/paginate-execution-startup.exp: New file.
1948 * lib/gdb.exp (pagination_prompt): New global.
1949 (default_gdb_spawn): New procedure, factored out from
1950 default_gdb_spawn.
1951 (default_gdb_start): Adjust to call default_gdb_spawn.
1952 (gdb_spawn): New procedure.
1953
bd293940
PA
19542014-07-14 Pedro Alves <palves@redhat.com>
1955
1956 * lib/gdb.exp (gdb_assert): New procedure.
1957 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1958
c933f875
PA
19592014-07-14 Pedro Alves <palves@redhat.com>
1960
1961 * gdb.base/execution-termios.c: New file.
1962 * gdb.base/execution-termios.exp: New file.
1963
d98b7a16
TT
19642014-07-14 Tom Tromey <tromey@redhat.com>
1965
1966 * gdb.cp/vla-cxx.cc: New file.
1967 * gdb.cp/vla-cxx.exp: New file.
1968
548740d6
TT
19692014-07-14 Tom Tromey <tromey@redhat.com>
1970
1971 * gdb.reverse/rerun-prec.c: New file.
1972 * gdb.reverse/rerun-prec.exp: New file.
1973
a25eb028
MR
19742014-07-12 Maciej W. Rozycki <macro@mips.com>
1975 Maciej W. Rozycki <macro@codesourcery.com>
1976
1977 * lib/gdb-utils.exp: New file.
1978 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1979 inline `gdb_init_command' processing.
1980 (gdb_start_cmd): Likewise.
1981 * lib/mi-support.exp (mi_run_cmd): Likewise.
1982 * README: Document `gdb_init_command' and `gdb_init_commands'.
1983
218c2655
JK
19842014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1985
1986 Fix false FAIL running under a very long directory name.
1987 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1988 and "set print elements 10000". Twice.
1989
5401fde3
YQ
19902014-07-11 Yao Qi <yao@codesourcery.com>
1991
1992 * gdb.base/exprs.exp: "set print symbol off".
1993
e76126e8
PA
19942014-07-11 Pedro Alves <palves@redhat.com>
1995
1996 * gdb.threads/kill.c: New file.
1997 * gdb.threads/kill.exp: New file.
1998
2d6f0de6
YQ
19992014-07-10 Yao Qi <yao@codesourcery.com>
2000
2001 * gdb.trace/tfile.c (write_basic_trace_file)
2002 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2003 address written to trace file.
2004
7180e04a
PA
20052014-07-09 Pedro Alves <palves@redhat.com>
2006
2007 * gdb.base/attach-wait-input.exp: New file.
2008 * gdb.base/attach-wait-input.c: New file.
2009
9a9a7608
AB
20102014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2011
2012 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2013 setting up test structures.
2014 (main): Call new test function.
2015 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2016 test function, continue into test function and walk test
2017 structures.
2018
161ac41e
YQ
20192014-07-02 Yao Qi <yao@codesourcery.com>
2020
2021 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2022 'bar_start' at the beginning of functions 'foo' and 'bar'
2023 respectively.
2024 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2025 instead of 'foo' and 'bar'.
2026
1f267ae3
MM
20272014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2028
2029 * gdb.btrace/segv.exp: New.
2030 * gdb.btrace/segv.c: New.
2031
2b239efb
LM
20322014-07-02 Luis Machado <lgustavo@codesourcery.com>
2033
2034 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2035 instruction.
2036
cf363f18
MW
20372014-06-30 Mark Wielaard <mjw@redhat.com>
2038
2039 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2040 vulture, vilify, villar): New volatile array constants.
2041 (vindictive, vegetation): New const volatile array constants.
2042 * gdb.base/volatile.exp: Test volatile and const volatile array
2043 types.
2044
aebf9d24
AA
20452014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2046
2047 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2048 target lacks support for awatch, rwatch, or hbreak.
2049
b67a2c6f
YQ
20502014-06-27 Yao Qi <yao@codesourcery.com>
2051
2052 * gdb.multi/dummy-frame-restore.exp: New.
2053 * gdb.multi/dummy-frame-restore.c: New.
2054
aef92902
MM
20552014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2056
2057 * gdb.btrace/gcore.exp: New.
2058
8e9db26e
PA
20592014-06-23 Pedro Alves <palves@redhat.com>
2060
2061 * gdb.base/watchpoint-reuse-slot.c: New file.
2062 * gdb.base/watchpoint-reuse-slot.exp: New file.
2063
70afc5b7
SC
20642014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2065
2066 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2067 progspace's filename in 'info', 'enable' and 'disable' command
2068 tests.
2069
b972bd9c
JK
20702014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2071
2072 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2073 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2074 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2075
125f8a3d
GB
20762014-06-20 Gary Benson <gbenson@redhat.com>
2077
2078 * gdb.arch/i386-avx.exp: Fix include file location.
2079 * gdb.arch/i386-sse.exp: Likewise.
2080
3ed9baed
IB
20812014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2082
2083 * gdb.dlang/expression.exp: New file.
2084
034f788c
PA
20852014-06-19 Pedro Alves <palves@redhat.com>
2086
2087 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2088 out from ...
2089 (top level): ... here. Iterate running tests under different
2090 scheduler-locking settings.
2091
45371d0c
LM
20922014-06-18 Luis Machado <lgustavo@codesourcery.com>
2093
2094 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2095 to DW_FORM_addr and use non-zero addresses.
2096
5d376983
SC
20972014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2098
2099 PR gdb/17017
2100 * gdb.python/py-xmethods.cc: Add global function call counters and
2101 increment them in their respective functions. Remove "cout"
2102 statements.
2103 * gdb.python/py-xmethods.exp: Make tests check the global function
2104 call counters instead of depending on inferior IO.
2105
a1aa2221
LM
21062014-06-18 Don Breazeal <donb@codesourcery.com>
2107
2108 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2109 Deleted procedure.
2110 (explicit_fork_parent_follow): Deleted procedure.
2111 (explicit_fork_child_follow): Deleted procedure.
2112 (test_follow_fork): New procedure.
2113 (do_fork_tests): Replace calls to deleted procedures with
2114 calls to test_follow_fork and reset GDB for subsequent
2115 procedure calls.
2116
0fc05997
YQ
21172014-06-17 Yao Qi <yao@codesourcery.com>
2118
2119 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2120 CP1252.
2121
70795c52
LM
21222014-06-17 Luis Machado <lgustavo@codesourcery.com>
2123
2124 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2125 Initialize ptr and S explicitly.
2126 (skip_type_update_when_not_use_rtti_test): Likewise.
2127
6be47f0c
KS
21282014-06-16 Keith Seitz <keiths@redhat.com>
2129
2130 PR mi/15863
2131 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2132 the inferior is started.
2133
d03de421
PA
21342014-06-16 Pedro Alves <palves@redhat.com>
2135
2136 * gdb.base/break-main-file-remove-fail.c: New file.
2137 * gdb.base/break-main-file-remove-fail.exp: New file.
2138 * gdb.base/break-unload-file.exp: Use build_executable instead of
2139 prepare_for_testing.
2140 (test_break): New parameter "initial_load". Handle it.
2141 (top level): Add initial_load cmdline/file axis.
2142
f9579b99
TT
21432014-06-12 Tom Tromey <tromey@redhat.com>
2144
2145 * gdb.base/completion.exp: Don't use directory name in test.
2146
3657956b
GB
21472014-06-09 Gary Benson <gbenson@redhat.com>
2148
2149 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2150 separate the always-available ANSI-standard signals from the
2151 signals that require checking.
2152 (main): Likewise.
2153 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2154 Likewise.
2155 (main): Likewise.
2156
4186eb54
KS
21572014-06-07 Keith Seitz <keiths@redhat.com>
2158
2159 Revert:
2160 PR c++/16253
2161 * gdb.cp/var-tag.cc: New file.
2162 * gdb.cp/var-tag.exp: New file.
2163 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2164 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2165 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2166 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2167
25326a28 21682014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2169
2170 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2171
829155c9
PA
21722014-06-06 Pedro Alves <palves@redhat.com>
2173
2174 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2175 in target debug output instead of looking at RSP packets,
2176 disabling the test on any target that uses hardware stepping.
2177 Update comments.
2178
61c8d22e
PA
21792014-06-06 Pedro Alves <palves@redhat.com>
2180
2181 * gdb.base/break-unload-file.exp: Fix typo.
2182
d9a47287
YQ
21832014-06-06 Yao Qi <yao@codesourcery.com>
2184
2185 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2186 from "jit_function" to "^jit_function".
2187
e5e01dbf
YQ
21882014-06-06 Yao Qi <yao@codesourcery.com>
2189
2190 * gdb.base/async.c (foo): Add one statement.
2191 * gdb.base/async.exp: Get the next instruction address and
2192 match the output of "nexti" by instruction address. Match
2193 the hex address in the output of "finish".
2194
73ba372c
GB
21952014-06-06 Gary Benson <gbenson@redhat.com>
2196
2197 * gdb.base/call-signals.c: Remove preprocessor conditionals
2198 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2199 SIGSEGV and SIGTERM.
2200 * gdb.base/sigall.c: Likewise.
2201 * gdb.base/unwindonsignal.c: Likewise.
2202 * gdb.reverse/sigall-reverse.c: Likewise.
2203
831517df
YQ
22042014-06-06 Yao Qi <yao@codesourcery.com>
2205
2206 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2207 readable, skip the test.
2208
b8b91e98
YQ
22092014-06-06 Yao Qi <yao@codesourcery.com>
2210
2211 * gdb.threads/staticthreads.c (thread_function): Move the line
2212 setting breakpoint on forward.
2213 * gdb.threads/staticthreads.exp: Update comments.
2214
fb934770
LC
22152014-06-05 Ludovic Courtès <ludo@gnu.org>
2216
2217 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2218 "history-append! type error".
2219
6ef284bd
SM
22202014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2221
2222 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2223 erroneous dprintf expected input.
2224
a872e241
DE
22252014-06-04 Doug Evans <xdje42@gmail.com>
2226
2227 * gdb.guile/scm-generics.exp: Delete.
2228
16f691fb
DE
22292014-06-04 Doug Evans <xdje42@gmail.com>
2230
2231 * gdb.guile/scm-breakpoint.exp: Update.
2232 Add tests for breakpoint registration.
2233
012370f6
TT
22342014-06-04 Tom Tromey <tromey@redhat.com>
2235
2236 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2237 VLA-in-union.
2238 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2239 inner_vla_struct, vla_union types. Initialize objects of those
2240 types and compute their sizes.
2241
9f5a4cef
HZ
22422014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2243 Hui Zhu <hui@codesourcery.com>
2244
2245 * gdb.base/fileio.exp: Add test for shell not available as well as
2246 available.
2247 * gdb.base/fileio.c (test_system): Check for shell twice.
2248
90a45c4d
YQ
22492014-06-04 Yao Qi <yao@codesourcery.com>
2250
2251 * gdb.base/auto-connect-native-target.exp: Remove redundant
2252 space from the regexp pattern.
2253
70017e41
YQ
22542014-06-04 Yao Qi <yao@codesourcery.com>
2255
2256 * gdb.base/default.exp: Replace "child" with "native" in
2257 regexp pattern.
2258
883964a7
SC
22592014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2260
2261 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2262 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2263 * gdb.python/py-xmethods.py: Python script supporting the
2264 new testcase and tests.
2265
ef370185
JB
22662014-06-03 Joel Brobecker <brobecker@adacore.com>
2267 Pedro Alves <palves@redhat.com>
2268
2269 PR breakpoints/17000
2270 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2271 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2272
1e2ccb61
BM
22732014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2274
2275 * gdb.base/subst.exp: Add tests to verify partial path matching
2276 output.
2277
c6ec5ab2
PA
22782014-06-03 Pedro Alves <palves@redhat.com>
2279
2280 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2281 target that doesn't use software single-stepping.
2282
835c559f
PA
22832014-06-03 Pedro Alves <palves@redhat.com>
2284
2285 PR breakpoints/17000
2286 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2287 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2288
06eb1586
DE
22892014-06-02 Doug Evans <xdje42@gmail.com>
2290
2291 * gdb.guile/scm-parameter.exp: New file.
2292
e698b8c4
DE
22932014-06-02 Doug Evans <xdje42@gmail.com>
2294
2295 * gdb.guile/scm-cmd.c: New file.
2296 * gdb.guile/scm-cmd.exp: New file.
2297
ded03782
DE
22982014-06-02 Doug Evans <xdje42@gmail.com>
2299
2300 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2301 pretty-printer lookup.
2302 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2303 (make-pp_s-printer): Call it.
2304 (make-pretty-printer-from-dict): New function.
2305 (lookup-pretty-printer-maker-from-dict): New function.
2306 (*pretty-printer*): Simplify.
2307 (make-objfile-pp_s-printer): New function.
2308 (install-objfile-pretty-printers!): New function.
2309 (make-progspace-pp_s-printer): New function.
2310 (install-progspace-pretty-printers!): New function.
2311 * gdb.guile/scm-progspace.c: New file.
2312 * gdb.guile/scm-progspace.exp: New file.
2313
41fac0cf
PA
23142014-06-02 Pedro Alves <palves@redhat.com>
2315
2316 * gdb.base/dprintf-bp-same-addr.c: New file.
2317 * gdb.base/dprintf-bp-same-addr.exp: New file.
2318
96ae5695
EBM
23192014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2320
2321 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2322 * gdb.arch/powerpc-power.s: Likewise.
2323
da02b3a8
JB
23242014-06-02 Joel Brobecker <brobecker@adacore.com>
2325
2326 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2327
c72b2e7b
YQ
23282014-06-01 Yao Qi <yao@codesourcery.com>
2329
2330 * gdb.base/watchpoint.exp (test_watch_location): Check null
2331 pointer can be dereferenced. If not, do the test, otherwise
2332 skip it.
2333
53e8a631
AB
23342014-05-30 Andrew Burgess <aburgess@broadcom.com>
2335
2336 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2337 results.
2338 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2339
938f0e2f
AB
23402014-05-30 Andrew Burgess <aburgess@broadcom.com>
2341
2342 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2343 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2344 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2345 * gdb.arch/amd64-invalid-stack-top.c: New file.
2346 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2347
9ba6657a
PA
23482014-05-30 Pedro Alves <palves@redhat.com>
2349
2350 PR breakpoints/17000
2351 * gdb.base/sss-bp-on-user-bp.c: New file.
2352 * gdb.base/sss-bp-on-user-bp.exp: New file.
2353
522c09bf
DB
23542014-05-30 David Blaikie <dblaikie@gmail.com>
2355
2356 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2357 gnu_inline semantics via attribute.
2358 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2359 source explicitly specifies the required semantics.
2360
bf4ef81e
MR
23612014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2362
2363 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2364
329ea579
PA
23652014-05-29 Pedro Alves <palves@redhat.com>
2366 Tom Tromey <tromey@redhat.com>
2367
2368 * gdb.base/async-shell.exp: Don't enable target-async.
2369 * gdb.base/async.exp
2370 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2371 parameter. Adjust.
2372 (top level): Don't test with "target-async".
2373 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2374 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2375 * gdb.base/inferior-died.exp: Don't enable target-async.
2376 * gdb.base/interrupt-noterm.exp: Likewise.
2377 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2378 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2379 * gdb.mi/mi-nonstop.exp: Likewise.
2380 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2381 * gdb.mi/mi-nsintrall.exp: Likewise.
2382 * gdb.mi/mi-nsmoribund.exp: Likewise.
2383 * gdb.mi/mi-nsthrexec.exp: Likewise.
2384 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2385 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2386 * gdb.python/py-evsignal.exp: Don't enable target-async.
2387 * gdb.python/py-evthreads.exp: Likewise.
2388 * gdb.python/py-prompt.exp: Likewise.
2389 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2390 * gdb.server/solib-list.exp: Don't enable target-async.
2391 * gdb.threads/thread-specific-bp.exp: Likewise.
2392 * lib/mi-support.exp: Adjust to use mi-async.
2393
fd664c91
PA
23942014-05-29 Pedro Alves <palves@redhat.com>
2395
2396 PR gdb/13860
2397 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2398 reason, even in sync mode.
2399
251bde03
PA
24002014-05-29 Pedro Alves <palves@redhat.com>
2401 Hui Zhu <hui@codesourcery.com>
2402
2403 PR PR15693
2404 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2405 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2406 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2407 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2408
7f3c0343
JB
24092014-05-28 Joel Brobecker <brobecker@adacore.com>
2410
2411 * config/monitor.exp (gdb_target_monitor): Replace use of
2412 "set remotebaud" by "set serial baud".
2413
b2715b27
AW
24142014-05-26 Andy Wingo <wingo@igalia.com>
2415
2416 * gdb.guile/scm-breakpoint.exp:
2417 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2418 properties instead of gdb-object-properties.
2419
498a4489
YQ
24202014-05-26 Yao Qi <yao@codesourcery.com>
2421
2422 * gdb.server/no-thread-db.exp: Specify source file name
2423 explicitly when setting a breakpoint.
2424
589fdceb
MM
24252014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2426
2427 * gdb.btrace/vdso.c: New.
2428 * gdb.btrace/vdso.exp: New.
2429
e9089e05
MM
24302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2431
2432 * gdb.base/gcore.exp (capture_command_output): Move ...
2433 * lib/gdb.exp (capture_command_output): ... here.
2434
67b5c0c1
MM
24352014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2436
2437 * gdb.btrace/data.exp: Test memory access during btrace replay.
2438
a2199296
SM
24392014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2440
2441 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2442
17b2616c
PA
24432014-05-21 Pedro Alves <palves@redhat.com>
2444
2445 PR gdb/13860
2446 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2447 (top level): Test that output related to execution commands is
2448 sent to the console with CLI commands, but not with MI commands.
2449 Test that breakpoint events are always mirrored to the console.
2450 Also expect the new source line to be output after a "next" in
2451 async mode too. Make it a pass/fail test.
2452 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2453 output.
2454 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2455
5166082f
PA
24562014-05-21 Pedro Alves <palves@redhat.com>
2457
2458 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2459 Use them to test variations of "list" after reaching a breakpoint.
2460 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2461 Test "list" with listsize 10 after reaching a breakpoint.
2462 * gdb.python/python.exp (decode_line current location line
2463 number): Adjust expected line number.
2464
2f25d70f
SM
24652014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2466
2467 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2468 behavior for $args, pass it directly to "run".
2469
ff604a67
MR
24702014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2471
2472 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2473 30000 to 65536.
2474
6a3cb8e8
PA
24752014-05-21 Pedro Alves <palves@redhat.com>
2476
2477 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2478 auto-connect-native-target off".
2479 * gdb.base/auto-connect-native-target.c: New file.
2480 * gdb.base/auto-connect-native-target.exp: New file.
2481
4ebfc96e
PA
24822014-05-21 Pedro Alves <palves@redhat.com>
2483
2484 * gdb.base/default.exp: Test "target native" instead of "target
2485 child".
2486
36d46afb
MW
24872014-05-21 Mark Wielaard <mjw@redhat.com>
2488
2489 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2490
5876f503
JK
24912014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2492
2493 Fix TLS access for -static -pthread.
2494 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2495 <HAVE_TLS> (thread_function, main): Initialize it.
2496 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2497 Add clean_restart.
2498 <$have_tls != "">: Check TLSVAR.
2499
0256a6ac
PA
25002014-05-21 Pedro Alves <palves@redhat.com>
2501
2502 * gdb.base/dcache-line-read-error.c: New.
2503 * gdb.base/dcache-line-read-error.exp: New.
2504
936d2992
PA
25052014-05-20 Pedro Alves <palves@redhat.com>
2506
2507 * gdb.base/compare-sections.c: New file.
2508 * gdb.base/compare-sections.exp: New file.
2509
802e8e6d
PA
25102014-05-20 Pedro Alves <palves@redhat.com>
2511
2512 * gdb.base/break-idempotent.c: New file.
2513 * gdb.base/break-idempotent.exp: New file.
2514
e59fa00f
MM
25152014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2516
2517 * gdb.btrace/nohist.exp: New.
2518
8b696e31
YQ
25192014-05-20 Yao Qi <yao@codesourcery.com>
2520
2521 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2522 gdb.reverse directory and gdb_reverse_timeout exists in board
2523 setting.
2524 * README: Document gdb_reverse_timeout.
2525
73c9764f
YQ
25262014-05-20 Yao Qi <yao@codesourcery.com>
2527
2528 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2529 'test_file_name'. Treat args as a string instead of a list.
2530 (gdb_init): Rename argument 'args' by 'test_file_name'.
2531
f1f4348a
JK
25322014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2533
2534 * gdb.arch/powerpc-power.exp: New file.
2535 * gdb.arch/powerpc-power.s: New file.
2536
0dbe70ce
DE
25372014-05-16 Doug Evans <dje@google.com>
2538
2539 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2540 * gdb.base/completion.exp: Check that all expected files exist
2541 before doing file completion.
0dbe70ce 2542
8d551b02
DE
25432014-05-16 Doug Evans <dje@google.com>
2544
2545 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2546 Update.
2547 (do_syscall_tests_without_xml): Update.
2548
73eb7709
PA
25492014-05-16 Pedro Alves <palves@redhat.com>
2550
2551 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2552 instead of "unknown output after running".
2553
3fae92fc
YQ
25542014-05-16 Yao Qi <yao@codesourcery.com>
2555
2556 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2557 file1.txt from host at the end.
2558 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2559
c2b2ccc5
DE
25602014-05-15 Doug Evans <dje@google.com>
2561
2562 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2563 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2564 loading file. Add test for TU lookup.
2565
8c217a4b
SM
25662014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2567
2568 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2569 calling "-exec-arguments" or "set args" before running the
2570 inferior.
2571
3deb39c6
SM
25722014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2573
2574 * lib/mi-support.exp (mi_expect_stop): Expect message for
2575 inferiors that exit with non-zero exit code.
2576
71a79f8c
YQ
25772014-05-14 Yao Qi <yao@codesourcery.com>
2578
2579 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2580 match absolute path on remote host.
2581 (test_file_list_exec_source_files): Remove "/" from the
2582 pattern.
2583
f23fcd46
YQ
25842014-05-14 Yao Qi <yao@codesourcery.com>
2585
2586 * boards/local-remote-host-notty.exp (${board}_file): New
2587 proc.
2588
9404b58f
KM
25892014-05-07 Kyle McMartin <kyle@redhat.com>
2590
2591 Pushed by Joel Brobecker <brobecker@adacore.com>.
2592 * gdb.arch/aarch64-atomic-inst.c: New file.
2593 * gdb.arch/aarch64-atomic-inst.exp: New file.
2594
5e45f04c
YQ
25952014-05-07 Yao Qi <yao@codesourcery.com>
2596
2597 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2598 in current context" too.
2599
c888a17d
KS
26002014-05-05 Keith Seitz <keiths@redhat.com>
2601
2602 * gdb.linespec/ls-dollar.exp: Add test for linespec
2603 file:convenience_variable.
2604
290a839c
YQ
26052014-05-05 Yao Qi <yao@codesourcery.com>
2606
2607 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2608 traceframes into tfile and ctf trace files. Read data from
2609 trace file and test collected data.
2610 (gdb_collect_locals_test): Likewise.
2611 (gdb_unavailable_registers_test): Likewise.
2612 (gdb_unavailable_floats): Likewise.
2613 (gdb_collect_globals_test): Likewise.
2614 (top-level): Append "ctf" to trace_file_targets if GDB
2615 supports.
2616
b5262cd0
YQ
26172014-05-05 Yao Qi <yao@codesourcery.com>
2618
2619 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2620 code to ...
2621 (gdb_collect_args_test_1): ... it. New proc.
2622 (gdb_collect_locals_test): Move some code to ...
2623 (gdb_collect_locals_test_1): ... it. New proc.
2624 (gdb_unavailable_registers_test): Move some code to ...
2625 (gdb_unavailable_registers_test_1): ... it. New proc.
2626 (gdb_unavailable_floats): Move some code to ...
2627 (gdb_unavailable_floats_1): ... it. New proc.
2628
30a1e6cc
SDJ
26292014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2630
2631 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2632 probes to test for bitness recognition.
2633 * gdb.arch/amd64-stap-optional-prefix.exp
2634 (test_probe_value_without_reg): New procedure.
2635 Add code to test for different kinds of bitness.
2636
f33da99a
SDJ
26372014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2638
2639 PR breakpoints/16889
2640 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2641 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2642
5b80f00d
PA
26432014-05-01 Pedro Alves <palves@redhat.com>
2644
2645 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2646 gdb_file_cmd if no file is specified.
2647 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2648 last_loaded_file to set the remote exec-file.
2649
f8c2a73c
PA
26502014-05-01 Pedro Alves <palves@redhat.com>
2651
2652 * boards/local-remote-host.exp: New file.
2653
be6e8ac7
PA
26542014-05-01 Pedro Alves <palves@redhat.com>
2655
2656 * boards/local-remote-host.exp: Rename to ...
2657 * boards/local-remote-host-notty.exp: ... this.
2658
cac0dc8f
JB
26592014-04-28 Joel Brobecker <brobecker@adacore.com>
2660
2661 * gdb.ada/dyn_arrayidx: New testcase.
2662
9730e6cc
YQ
26632014-04-26 Yao Qi <yao@codesourcery.com>
2664
2665 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2666 and compute the length of function main. Save it in
2667 $main_length.
2668 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2669 (top-level): Use gdb_compile to compile objects into
2670 executable and restart GDB. Remove invocation to
2671 prepare_for_testing.
2672
7ae1a6a6
PA
26732014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2674 Pedro Alves <palves@redhat.com>
2675
2676 PR server/16255
2677 * gdb.multi/multi-attach.c: New file.
2678 * gdb.multi/multi-attach.exp: New file.
2679
4082afcc
PA
26802014-04-25 Pedro Alves <palves@redhat.com>
2681
2682 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2683 user.
2684 (top level): Test that "set remote conditional-breakpoints-packet
2685 off" works as intended.
2686 * gdb.base/dprintf.exp: Test that "set remote
2687 breakpoint-commands-packet off" works as intended.
2688 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2689 New function.
2690 (top level): Call it.
2691 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2692 remote fast-tracepoints-packet off" works as intended.
2693 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2694 * lib/gdb.exp (gdb_is_target_remote): ... here.
2695
2abc3f8d
DB
26962014-04-24 David Blaikie <dblaikie@gmail.com>
2697
2698 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2699 ensure clang would not discard them.
2700 * gdb.base/gdbvars.c: Ditto.
2701 * gdb.base/memattr.c: Ditto.
2702 * gdb.base/whatis.c: Ditto.
2703 * gdb.python/py-prettyprint.c: Ditto.
2704 * gdb.trace/actions.c: Ditto.
2705 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2706 ensure clang would not discard it.
2707
bfd39632
DB
27082014-04-24 David Blaikie <dblaikie@gmail.com>
2709
2710 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2711 clang to emit the full definition of type required by the test
2712 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2713
22842ff6
DB
27142014-04-24 David Blaikie <dblaikie@gmail.com>
2715
2716 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2717 coax Clang into emitting the definition of the type.
2718 * gdb.cp/pr10728-x.h (y): Ditto.
2719 * gdb.cp/pr10728-y.cc (y): Ditto.
2720
c2e827ad
DB
27212014-04-24 David Blaikie <dblaikie@gmail.com>
2722
2723 * gdb.base/label.exp: XFAIL label related tests under Clang.
2724 * gdb.cp/cplabel.exp: Ditto.
2725 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2726 under Clang those using labels.
2727
4c2d33e7
YQ
27282014-04-25 Yao Qi <yao@codesourcery.com>
2729
2730 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2731 double_label.
2732 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2733 partial_label and double_label.
2734
56083b99
DB
27352014-04-24 David Blaikie <dblaikie@gmail.com>
2736
2737 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2738
25d4e99d
DB
27392014-04-24 David Blaikie <dblaikie@gmail.com>
2740
2741 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2742 of the function to work across GCC and Clang.
2743 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2744 pointer types (const void ** const V void **).
2745
01f9f808
MS
27462014-04-24 Michael Sturm <michael.sturm@mintel.com>
2747 Walfred Tedeschi <walfred.tedeschi@intel.com>
2748
2749 * Makefile.in (EXECUTABLES): Added i386-avx512.
2750 * gdb.arch/i386-avx512.c: New file.
2751 * gdb.arch/i386-avx512.exp: Likewise.
2752
4b48d439
KS
27532014-04-23 Keith Seitz <keiths@redhat.com>
2754
2755 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2756 (mi_make_breakpoint_table): New procedure.
2757 (mi_create_breakpoint): Use mi_make_breakpoint
2758 and return the result.
2759 (mi_make_breakpoint): New procedure.
2760 (mi_build_kv_pairs): New procedure.
2761
2762 * gdb.mi/mi-break.exp: Remove unused globals,
2763 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2764 All callers updated.
2765 * gdb.mi/mi-dprintf.exp: Use variable to track command
2766 number.
2767 Update all callers of mi_create_breakpoint and use
2768 mi_make_breakpoint_table.
2769 Remove any unused global variables.
2770 * gdb.mi/mi-nonstop.exp: Likewise.
2771 * gdb.mi/mi-nsintrall.exp: Likewise.
2772 * gdb.mi/mi-nsmoribund.exp: Likewise.
2773 * gdb.mi/mi-nsthrexec.exp: Likewise.
2774 * gdb.mi/mi-reverse.exp: Likewise.
2775 * gdb.mi/mi-simplerun.exp: Likewise.
2776 * gdb.mi/mi-stepn.exp: Likewise.
2777 * gdb.mi/mi-syn-frame.exp: Likewise.
2778 * gdb.mi/mi-until.exp: Likewise.
2779 * gdb.mi/mi-var-cp.exp: Likewise.
2780 * gdb.mi/mi-var-display.exp: Likewise.
2781 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2782 * gdb.mi/mi2-var-child.exp: Likewise.
2783 * gdb.mi/mi-vla-c99.exp: Likewise.
2784 * lib/mi-support.exp: Likewise.
2785
2786 From Ian Lance Taylor <iant@cygnus.com>:
2787 * lib/gdb.exp (parse_args): New procedure.
2788
08351840
PA
27892014-04-23 Pedro Alves <palves@redhat.com>
2790
2791 * gdb.base/break-unload-file.c: New file.
2792 * gdb.base/break-unload-file.exp: New file.
2793 * gdb.base/sym-file-lib.c (baz): New function.
2794 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2795 field.
2796 (load): Store the segment's mapped size.
2797 (unload): New function.
2798 (unload_shlib): New function.
2799 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2800 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2801 set a breakpoint at baz, and call it.
2802 * gdb.base/sym-file.exp: New tests for stale breakpoint
2803 instructions.
2804
076855f9
PA
28052014-04-23 Pedro Alves <palves@redhat.com>
2806
2807 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2808 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2809 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2810 * gdb.base/hbreak-unmapped.c: New file.
2811 * gdb.base/hbreak-unmapped.exp: New file.
2812 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2813 * lib/gdb.exp (gdb_is_target_remote): ... here.
2814
483805cf
PA
28152014-04-22 Pedro Alves <palves@redhat.com>
2816
2817 * gdb.base/consecutive-step-over.c: New file.
2818 * gdb.base/consecutive-step-over.exp: New file.
2819
06d97543
PA
28202014-04-22 Pedro Alves <palves@redhat.com>
2821
2822 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2823 instead of send_gdb/gdb_expect.
2824
b4429ea2
YQ
28252014-04-22 Yao Qi <yao@codesourcery.com>
2826
2827 * lib/trace-support.exp (generate_tracefile): New procedure.
2828 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2829 return 0.
2830 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2831 if generate_tracefile returns 1.
2832
51d48146
PA
28332014-04-18 Tom Tromey <palves@redhat.com>
2834 Pedro alves <tromey@redhat.com>
2835
2836 PR backtrace/15558
2837 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2838 with a backtrace limit.
2839 * gdb.python/py-frame-inline.exp: Test running to an inline
2840 function with a backtrace limit, and printing the newest frame.
2841 * gdb.python/py-frame-inline.c (main): Call f.
2842
bd1dce5f
MS
28432014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2844
2845 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2846
40d1a503
MS
28472014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2848
2849 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2850 Drop prefix from unsupported source file path.
2851
389b98f7
YQ
28522014-04-17 Yao Qi <yao@codesourcery.com>
2853
2854 * lib/gdb.exp (with_target_charset): New proc.
2855 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2856 with_target_charset.
2857 (test_print_strings): Likewise.
2858 (test_repeat_bytes): Likewise.
2859 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2860 for some tests.
2861
22869d73
KS
28622014-04-16 Keith Seitz <keiths@redhat.com>
2863
2864 PR gdb/15827
2865 * gdb.dwarf2/corrupt.c: New file.
2866 * gdb.dwarf2/corrupt.exp: New file.
2867
c4f87ca6
KS
28682014-04-16 Keith Seitz <keiths@redhat.com>
2869
2870 PR c++/16597
2871 * gdb.cp/namelessclass.cc: New file.
2872 * gdb.cp/namelessclass.exp: New file.
2873 * gdb.cp/namelessclass.S: New file.
2874
ab19de87
DE
28752014-04-16 Doug Evans <dje@google.com>
2876
2877 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2878 Add comment.
2879 (gdbserver_default_get_comm_port): New function.
2880 (gdbserver_start): Check if board file provided
2881 "gdbserver,get_comm_port" and use it if so.
2882 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2883 (gdb,socketport): Set to "stdio".
2884 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2885 (stdio_gdbserver_template): Delete.
2886 (${board}_get_remote_address): Update.
2887 (${board}_build_remote_cmd): Delete.
2888 (${board}_get_comm_port): New function.
2889 (${board}_spawn): Update.
2890 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2891 Delete.
2892 (${board}_get_remote_address): Update.
2893 (${board}_get_comm_port): New function.
2894
fc98a809
AB
28952014-04-16 Andrew Burgess <aburgess@broadcom.com>
2896
2897 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2898 appearing in any order.
2899
87fd9e6e
DE
29002014-04-15 Doug Evans <dje@google.com>
2901
2902 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2903 uninitialized value of "description".
2904
099fc3ea
KS
29052014-04-15 Keith Seitz <keiths@redhat.com>
2906
2907 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2908 Remove unused globals.
2909 (test_running_the_program): Likewise.
2910 (test_controlled_execution): Likewise.
2911 (test_controlling_breakpoints): Likewise.
2912 (test_program_termination): Likewise.
2913
5da151d4
KS
29142014-04-15 Keith Seitz <keiths@redhat.com>
2915
2916 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2917 unused globals.
2918 (test_rbreak_creation_and_listing): Likewise.
2919 (test_ignore_count): Likewise.
2920 (test_error): Likewise.
2921
35e5d2f0
PA
29222014-04-15 Pedro Alves <palves@redhat.com>
2923
2924 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2925 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2926 sym-file-loader.c.
2927 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2928 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2929 to sym-file-loader.c.
2930 (struct library): Forward declare.
2931 (load_shlib, lookup_function): Change prototypes.
2932 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2933 (translate_offset): Remove declarations.
2934 (get_text_addr): New declaration.
2935 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2936 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2937 sym-file-loader.h.
2938 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2939 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2940 here from sym-file-loader.h.
2941 (struct library): New structure.
2942 (load_shlib, lookup_function): Change prototypes and adjust to
2943 work with a struct library.
2944 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2945 (translate_offset): Make static.
2946 (get_text_addr): New function.
2947 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2948
eb4c1710
PA
29492014-04-15 Pedro Alves <palves@redhat.com>
2950
2951 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2952
2d1baf52
PA
29532014-04-15 Pedro Alves <palves@redhat.com>
2954
2955 * gdb.base/sym-file-loader.c: Include <limits.h>.
2956 (SELF_LINK): New define.
2957 (get_origin): New function.
2958 (load_shlib): Use it.
2959 * gdb.base/sym-file.exp: Don't early return if the target is
2960 remote. Use runto_main, and issue fail is that fails. Use
2961 gdb_load_shlibs.
2962 (shlib_name): Delete.
2963 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2964
7dd6df01
PA
29652014-04-15 Pedro Alves <palves@redhat.com>
2966
2967 * gdb.base/sym-file.exp: Remove regex characters from test
2968 message. Don't refer to breakpoint numbers in test messages.
2969
b50c8614
KS
29702014-04-14 Keith Seitz <keiths@redhat.com>
2971
2972 PR c++/16253
2973 * gdb.cp/var-tag.cc: New file.
2974 * gdb.cp/var-tag.exp: New file.
2975 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2976 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2977 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2978 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2979
3d567982
TT
29802014-04-14 Tom Tromey <tromey@redhat.com>
2981
2982 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2983 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2984 type.
2985 * gdb.cp/enum-class.exp: New file.
2986 * gdb.cp/enum-class.cc: New file.
2987
0626fc76
TT
29882014-04-14 Tom Tromey <tromey@redhat.com>
2989
2990 * gdb.dwarf2/enum-type.exp: New file.
2991
dca325b3
SA
29922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2993
2994 * gdb.mi/mi-vla-c99.exp: New file.
2995 * gdb.mi/vla.c: New file.
2996
5854b38a
SA
29972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2998
2999 * gdb.base/vla-datatypes.c: New file.
3000 * gdb.base/vla-datatypes.exp: New file.
3001
463bb957
SA
30022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3003
3004 * gdb.base/vla-ptr.c: New file.
3005 * gdb.base/vla-ptr.exp: New file.
3006
3dd170be
SA
30072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3008
3009 * gdb.dwarf2/count.exp: New file.
3010
5ecaaa66
SA
30112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3012
3013 * gdb.base/vla-sideeffect.c: New file.
3014 * gdb.base/vla-sideeffect.exp: New file.
3015
41f1ada5
DB
30162014-04-14 David Blaikie <dblaikie@gmail.com>
3017
3018 * gdb.mi/non-stop.c: Add return value for non-void function return
3019 statement.
3020 * gdb.threads/staticthreads.c: Ditto.
3021
0be03e84
DE
30222014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3023 Doug Evans <xdje42@gmail.com>
3024
3025 * gdb.guile/scm-value.c: Improve test case.
3026 * gdb.guile/scm-value.exp: Add new test.
3027
f180a1fb
DB
30282014-04-11 David Blaikie <dblaikie@gmail.com>
3029
3030 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3031 override Clang's default.
3032
6b662e19
JB
30332014-04-11 Joel Brobecker <brobecker@adacore.com>
3034
3035 Revert the following changes (regressions):
3036
3037 * gdb.base/vla-sideeffect.c: New file.
3038 * gdb.base/vla-sideeffect.exp: New file.
3039
3040 * gdb.dwarf2/count.exp: New file.
3041
3042 * gdb.base/vla-multi.c: New file.
3043 * gdb.base/vla-multi.exp: New file.
3044
3045 * gdb.base/vla-ptr.c: New file.
3046 * gdb.base/vla-ptr.exp: New file.
3047
3048 * gdb.base/vla-datatypes.c: New file.
3049 * gdb.base/vla-datatypes.exp: New file.
3050
3051 * gdb.mi/mi-vla-c99.exp: New file.
3052 * gdb.mi/vla.c: New file.
3053
245a5f0b
KS
30542014-04-11 Keith Seitz <keiths@redhat.com>
3055
3056 PR c++/16675
3057 * gdb.cp/cpsizeof.exp: New file.
3058 * gdb.cp/cpsizeof.cc: New file.
3059
58a84dcf
SA
30602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3061
191a8a90
JB
3062 * gdb.mi/mi-vla-c99.exp: New file.
3063 * gdb.mi/vla.c: New file.
58a84dcf 3064
c8655f75
SA
30652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3066
3067 * gdb.base/vla-datatypes.c: New file.
3068 * gdb.base/vla-datatypes.exp: New file.
3069
024e13b4
SA
30702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3071
3072 * gdb.base/vla-ptr.c: New file.
3073 * gdb.base/vla-ptr.exp: New file.
3074
1a237e0e
SA
30752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3076
3077 * gdb.base/vla-multi.c: New file.
3078 * gdb.base/vla-multi.exp: New file.
3079
504f3432
SA
30802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3081
3082 * gdb.dwarf2/count.exp: New file.
3083
3bce8237
SA
30842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3085
191a8a90
JB
3086 * gdb.base/vla-sideeffect.c: New file.
3087 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3088
322f9c21
YQ
30892014-04-11 Yao Qi <yao@codesourcery.com>
3090
3091 * gdb.base/completion.exp: Check file exists before running tests
3092 on file completion.
3093
d708bcd1
PA
30942014-04-10 Pedro Alves <palves@redhat.com>
3095
3096 * gdb.base/cond-eval-mode.c: New file.
3097 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3098 prepare_for_testing to build the new file. Check result of
3099 runto_main.
3100 (test_break, test_watch): New procedures.
3101 (top level): Use them.
3102
ae1d2761
PM
31032014-04-08 Pierre Muller <muller@sourceware.org>
3104
3105 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3106 Ctrl-V use for mingw hosts.
3107
7af389b8
SC
31082014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3109
3110 * gdb.python/py-value.c: Improve test case.
3111 * gdb.python/py-value.exp: Add new test.
3112
5e703181
DE
31132014-04-07 David Blaikie <dblaikie@gmail.com>
3114
3115 * lib/compiler.c: Identify the clang compiler.
3116 * lib/compiler.cc: Ditto.
3117
9810b410
YQ
31182014-04-03 Yao Qi <yao@codesourcery.com>
3119
3120 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3121
98d1b8dc
AB
31222014-04-01 Anton Blanchard <anton@samba.org>
3123
3124 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3125 messages unique.
3126
3114cea1
AB
31272014-04-01 Anton Blanchard <anton@samba.org>
3128
3129 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3130 prepare_for_testing.
3131
62f7182c
AB
31322014-04-01 Anton Blanchard <anton@samba.org>
3133
3134 * gdb.arch/ppc64-atomic-inst.c: Remove.
3135 * gdb.arch/ppc64-atomic-inst.S: New file.
3136 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3137
770e7fc7
DE
31382014-03-31 Doug Evans <dje@google.com>
3139
3140 * gdb.base/print-symbol-loading-lib.c: New file.
3141 * gdb.base/print-symbol-loading-main.c: New file.
3142 * gdb.base/print-symbol-loading.exp: New file.
3143
46e2bafa
YQ
31442014-03-31 Yao Qi <yao@codesourcery.com>
3145
3146 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3147
8776cfe9
JB
31482014-03-28 Joel Brobecker <brobecker@adacore.com>
3149
3150 * gdb.ada/mi_dyn_arr: New testcase.
3151
5d1ef361
DE
31522014-03-27 Doug Evans <dje@google.com>
3153
3154 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3155
b5bee914
YQ
31562014-03-27 Yao Qi <yao@codesourcery.com>
3157
3158 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3159 if target is nios2-*-*.
3160
0d4d0e77
YQ
31612014-03-26 Yao Qi <yao@codesourcery.com>
3162
3163 * lib/gdb.exp (readline_is_used): New proc.
3164 * gdb.base/completion.exp: Move tests on command complete up.
3165 Skip the rest of tests if readline is not used.
3166 * gdb.ada/complete.exp: Skp the test if readline is not
3167 used.
3168 * gdb.base/filesym.exp: Likewise.
3169 * gdb.base/macscp.exp: Likewise.
3170 * gdb.base/readline-ask.exp: Likewise.
3171 * gdb.base/readline.exp: Likewise.
3172 * gdb.python/py-cmd.exp: Likewise.
3173 * gdb.trace/tfile.exp: Likewise.
3174
29361eee
YQ
31752014-03-26 Yao Qi <yao@codesourcery.com>
3176
3177 * gdb.base/macscp.exp: Fix code format issues.
3178
bc9a5525
UW
31792014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3180
3181 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3182 * gdb.asm/powerpc64le.inc: New file.
3183
d3839ede
PA
31842014-03-25 Pedro Alves <palves@redhat.com>
3185 Doug Evans <dje@google.com>
3186
3187 * gdb.base/source-execution.c: New file.
3188 * gdb.base/source-execution.exp: New file.
3189 * gdb.base/source-execution.gdb: New file.
3190
01672a57
DE
31912014-03-24 Doug Evans <dje@google.com>
3192
3193 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3194 using fission.
3195
88bbeca9
HZ
31962014-03-24 Hui Zhu <hui@codesourcery.com>
3197 Pedro Alves <palves@redhat.com>
3198
3199 PR breakpoints/16101
3200 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3201 test pass/fail messages. Detect missing support for dprintf when
3202 breakpoints are actually inserted.
3203 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3204 breakpoints are actually inserted.
3205 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3206 fails.
3207
d2348791
JK
32082014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3209
3210 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3211
feef67ab
DE
32122014-03-22 Doug Evans <xdje42@gmail.com>
3213
3214 * gdb.python/python.exp (python not supported): Verify multi-line
3215 python command issues an error.
25d743f9 3216 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3217 guile command issues an error.
feef67ab 3218
ecebef6a
MR
32192014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3220
3221 * gdb.threads/thread-specific.exp: Handle the lack of usable
3222 $this_breakpoint and $this_thread.
3223
ccdd1909
HZ
32242014-03-21 Hui Zhu <hui@codesourcery.com>
3225
3226 * gdb.base/attach.exp (do_command_attach_tests): New.
3227
beb460e8
PA
32282014-03-20 Tom Tromey <tromey@redhat.com>
3229 Pedro Alves <palves@redhat.com>
3230
3231 PR cli/15718
3232 * gdb.base/condbreak-call-false.c: New file.
3233 * gdb.base/condbreak-call-false.exp: New file.
3234
40acf43a
PA
32352014-03-20 Pedro Alves <palves@redhat.com>
3236
3237 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3238 Delete.
3239 (block_signals, unblock_signals): Delete.
3240 (child_function_2, main): Remove references to deleted variable
3241 and functions.
3242
9f5e1e02
PA
32432014-03-20 Pedro Alves <palves@redhat.com>
3244
3245 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3246 Use pthread_kill to signal thread 2.
3247 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3248 Adjust to make the test send itself a signal rather than using the
3249 host's "kill" command.
3250
99619bea
PA
32512014-03-20 Pedro Alves <palves@redhat.com>
3252
3253 * gdb.threads/multiple-step-overs.c: New file.
3254 * gdb.threads/multiple-step-overs.exp: New file.
3255 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3256 Adjust expected infrun debug output.
3257
2adfaa28
PA
32582014-03-20 Pedro Alves <palves@redhat.com>
3259
3260 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3261 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3262
31e77af2
PA
32632014-03-20 Pedro Alves <palves@redhat.com>
3264
3265 PR breakpoints/7143
3266 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3267 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3268 of gdb_test_multiple.
3269 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3270 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3271
b9f437de
PA
32722014-03-20 Pedro Alves <palves@redhat.com>
3273
3274 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3275 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3276
05adc73e
PA
32772014-03-19 Pedro Alves <palves@redhat.com>
3278
3279 * gdb.base/async.exp: Remove early return.
3280
6048b950
PA
32812014-03-19 Pedro Alves <palves@redhat.com>
3282
3283 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3284
8bcfb00a
PA
32852014-03-19 Pedro Alves <palves@redhat.com>
3286
3287 * gdb.base/async.exp (test_background): Expect \r\n after
3288 "completed." in the fail pattern.
3289
884e37dc
PA
32902014-03-19 Pedro Alves <palves@redhat.com>
3291
3292 * gdb.base/async.exp (test_background): New procedure.
3293 Use it for all background execution command tests.
3294
148e57e2
PA
32952014-03-19 Pedro Alves <palves@redhat.com>
3296
3297 * gdb.base/async.exp: Use prepare_for_testing.
3298
f48088c7
PA
32992014-03-19 Pedro Alves <palves@redhat.com>
3300
3301 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3302 the same line.
3303
e2f6c966
PA
33042014-03-19 Pedro Alves <palves@redhat.com>
3305
3306 * gdb.base/async.c (main): Add "jump here" and "until here" line
3307 marker comments.
3308 * gdb.base/async.exp (jump_here): New global.
3309 (jump& test): Use it.
3310 (until_here): New global.
3311 (until& test): Use it.
3312
c30568d4
PA
33132014-03-19 Pedro Alves <palves@redhat.com>
3314
3315 * gdb.base/async.exp: Don't frob gdb_protocol.
3316
0172b6a7
DE
33172014-03-18 Doug Evans <xdje42@gmail.com>
3318
3319 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3320 Fix spelling of exec-done-display.
3321
06c868a8
JK
33222014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3323
3324 PR gdb/15358
3325 * gdb.base/gdb-sigterm.c: New file.
3326 * gdb.base/gdb-sigterm.exp: New file.
3327
0c7e1a46
PA
33282014-03-18 Pedro Alves <palves@redhat.com>
3329
3330 PR gdb/13860
3331 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3332 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3333 solib-event.
3334
f7c77d93
JB
33352014-03-17 Joel Brobecker <brobecker@adacore.com>
3336
3337 * gdb.ada/pckd_arr_ren: New testcase.
3338
5a1e8c7a
DE
33392014-03-13 Doug Evans <xdje42@gmail.com>
3340
3341 PR guile/16612
3342 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3343 collect after discarding symbols.
3344
350e1a76
DE
33452014-03-13 Ludovic Courtès <ludo@gnu.org>
3346 Doug Evans <xdje42@gmail.com>
3347
3348 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3349 to history survives a gc.
3350
a69900ae
PA
33512014-03-13 Pedro Alves <palves@redhat.com>
3352
3353 * gdb.base/default.exp: Don't test "target procfs".
3354
5db9f0bd
PA
33552014-03-13 Pedro Alves <palves@redhat.com>
3356
3357 * gdb.base/default.exp: Update "target child" and "target procfs"
3358 tests to not expect "Unix".
3359
b3ccfe11
TT
33602014-03-12 Tom Tromey <tromey@redhat.com>
3361
3362 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3363 New procs. Add target-async tests.
3364 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3365 Add target-async tests.
3366
646f4417
AA
33672014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3368
3369 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3370 'func_start' and 'func_end' for the beginning and end of the
3371 function code, respectively.
3372 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3373 'func_end' instead of 'func' and 'main'.
3374
288c211f
AA
33752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3376
3377 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3378 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3379 generate the debug info assembler source.
3380
e0c0f156
AA
33812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3382
3383 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3384 * gdb.dwarf2/arr-subrange.exp: Likewise.
3385 * gdb.dwarf2/dwz.exp: Likewise.
3386 * gdb.dwarf2/method-ptr.exp: Likewise.
3387 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3388 * gdb.dwarf2/subrange.exp: Likewise.
3389 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3390 * gdb.dwarf2/implptrpiece.exp: Likewise.
3391 * gdb.dwarf2/nostaticblock.exp: Likewise.
3392
0e5c4555
AA
33932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3394
3395 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3396 directory to absolute path name arguments.
3397
5ec18f2b
JG
33982014-03-10 Joel Brobecker <brobecker@adacore.com>
3399
3400 * gdb.ada/tagged_access: New testcase.
3401
847fc4f2
MM
34022014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3403
3404 * gdb.btrace/data.exp: Update expected output.
3405
cc3da688
YQ
34062014-03-06 Yao Qi <yao@codesourcery.com>
3407
3408 * gdb.trace/pr16508.exp: New file.
3409
0f26cec1
PA
34102014-03-05 Pedro Alves <palves@redhat.com>
3411
3412 PR gdb/16575
3413 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3414 procedure.
3415 (top level): Adjust to use it. Add tests that exercise breakpoint
3416 interaction with the code-cache.
3417
7a5a839f
LC
34182014-02-26 Ludovic Courtès <ludo@gnu.org>
3419
3420 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3421 test for 'history-append!'.
3422
31aa7e4e
JB
34232014-02-26 Joel Brobecker <brobecker@adacore.com>
3424
3425 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3426 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3427 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3428 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3429 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3430 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3431
1b588015
JB
34322014-02-26 Joel Brobecker <brobecker@adacore.com>
3433
3434 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3435 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3436 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3437
55426c9d
JB
34382014-02-26 Joel Brobecker <brobecker@adacore.com>
3439
3440 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3441
dc53a7ad
JB
34422014-02-26 Joel Brobecker <brobecker@adacore.com>
3443
3444 * gdb.dwarf2/arr-stride.c: New file.
3445 * gdb.dwarf2/arr-stride.exp: New file.
3446
12ab52e9
PA
34472014-02-26 Pedro Alves <palves@redhat.com>
3448
3449 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3450 that won't ever trigger. Make sure that GDB reports the correct
3451 breakpoint that caused the stop.
3452
849c862e
JK
34532014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3454
3455 PR gdb/16626
3456 * gdb.base/auto-load-script: New file.
3457 * gdb.base/auto-load.c: New file.
3458 * gdb.base/auto-load.exp: New file.
3459
71b7d793
JK
3460 PR gdb/16626
3461 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3462
e2f0d509
JK
34632014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3464
3465 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3466 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3467
50cc37c8
DE
34682014-02-24 Doug Evans <dje@google.com>
3469
3470 * lib/gdb.exp (run_on_host): Log error output if program fails.
3471
ea4758f2
PA
34722014-02-21 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.threads/step-after-sr-lock.c: Rename to ...
3475 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3476 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3477 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3478 ... this.
3479
d7b30f67
SDJ
34802014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3481
3482 PR tdep/16397
3483 * gdb.arch/amd64-stap-special-operands.exp: New file.
3484 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3485 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3486 * gdb.arch/amd64-stap-triplet.S: Likewise.
3487 * gdb.arch/amd64-stap-triplet.c: Likewise.
3488
83deb43f
JB
34892014-02-20 Joel Brobecker <brobecker@adacore.com>
3490
3491 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3492 in .section pseudo-op.
3493
adde2bff
DE
34942014-02-20 lin zuojian <manjian2006@gmail.com>
3495 Joel Brobecker <brobecker@adacore.com>
3496 Doug Evans <xdje42@gmail.com>
3497
3498 PR symtab/16581
3499 * gdb.dwarf2/dw2-icycle.S: New file.
3500 * gdb.dwarf2/dw2-icycle.c: New file.
3501 * gdb.dwarf2/dw2-icycle.exp: New file.
3502
f7bd0f78
SC
35032014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3504
3505 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3506 operations on gdb.Value objects.
3507 * gdb.python/py-value-cc.exp: Add new test to test operations on
3508 gdb.Value objects.
3509
c17ef0d5
DE
35102014-02-18 Doug Evans <dje@google.com>
3511
3512 * Makefile.in (TESTS): New variable.
3513 (expanded_tests, expanded_tests_or_none): New variables
3514 (check-single): Pass $(expanded_tests_or_none) to runtest.
3515 (check-parallel): Only run tests in $(TESTS) if non-empty.
3516 (check/no-matching-tests-found): New rule.
3517 * README: Document TESTS makefile variable.
3518
5dd3176f
DE
35192014-02-18 Doug Evans <dje@google.com>
3520
3521 * Makefile.in (check-parallel): rm -rf outputs temp.
3522
0b10be4f
JK
35232014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3524
3525 Fix "ERROR: no fileid for" in the testsuite.
3526 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3527
85f224e7
DE
35282014-02-12 Doug Evans <dje@google.com>
3529
3530 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3531 (MISCELLANEOUS): New variable.
3532 (clean): rm -rf $(MISCELLANEOUS).
3533 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3534 dwp live in the same directory as symlinks, with each symlink pointed
3535 to a differently named file in a different directory.
3536
149b30ff
DE
35372014-02-11 Doug Evans <dje@google.com>
3538
3539 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3540 of Tcl file commands.
3541
1dfdac32
MK
35422014-02-10 Mark Kettenis <kettenis@gnu.org>
3543
3544 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3545 "kill -SIGUSR1 -1".
3546
aa4fb036
JB
35472014-02-10 Joel Brobecker <brobecker@adacore.com>
3548
3549 * gdb.ada/tick_length_array_enum_idx: New testcase.
3550
ed3ef339
DE
35512014-02-10 Doug Evans <xdje42@gmail.com>
3552
3553 * configure.ac (AC_OUTPUT): Add gdb.guile.
3554 * configure: Regenerate.
3555 * lib/gdb-guile.exp: New file.
3556 * lib/gdb.exp (get_target_charset): New function.
3557 * gdb.base/help.exp: Update expected output from "apropos apropos".
3558 * gdb.guile/Makefile.in: New file.
3559 * gdb.guile/guile.exp: New file.
3560 * gdb.guile/scm-arch.c: New file.
3561 * gdb.guile/scm-arch.exp: New file.
3562 * gdb.guile/scm-block.c: New file.
3563 * gdb.guile/scm-block.exp: New file.
3564 * gdb.guile/scm-breakpoint.c: New file.
3565 * gdb.guile/scm-breakpoint.exp: New file.
3566 * gdb.guile/scm-disasm.c: New file.
3567 * gdb.guile/scm-disasm.exp: New file.
3568 * gdb.guile/scm-equal.c: New file.
3569 * gdb.guile/scm-equal.exp: New file.
3570 * gdb.guile/scm-error.exp: New file.
3571 * gdb.guile/scm-error.scm: New file.
3572 * gdb.guile/scm-frame-args.c: New file.
3573 * gdb.guile/scm-frame-args.exp: New file.
3574 * gdb.guile/scm-frame-args.scm: New file.
3575 * gdb.guile/scm-frame-inline.c: New file.
3576 * gdb.guile/scm-frame-inline.exp: New file.
3577 * gdb.guile/scm-frame.c: New file.
3578 * gdb.guile/scm-frame.exp: New file.
3579 * gdb.guile/scm-generics.exp: New file.
3580 * gdb.guile/scm-gsmob.exp: New file.
3581 * gdb.guile/scm-iterator.c: New file.
3582 * gdb.guile/scm-iterator.exp: New file.
3583 * gdb.guile/scm-math.c: New file.
3584 * gdb.guile/scm-math.exp: New file.
3585 * gdb.guile/scm-objfile-script-gdb.in: New file.
3586 * gdb.guile/scm-objfile-script.c: New file.
3587 * gdb.guile/scm-objfile-script.exp: New file.
3588 * gdb.guile/scm-objfile.c: New file.
3589 * gdb.guile/scm-objfile.exp: New file.
3590 * gdb.guile/scm-ports.exp: New file.
3591 * gdb.guile/scm-pretty-print.c: New file.
3592 * gdb.guile/scm-pretty-print.exp: New file.
3593 * gdb.guile/scm-pretty-print.scm: New file.
3594 * gdb.guile/scm-section-script.c: New file.
3595 * gdb.guile/scm-section-script.exp: New file.
3596 * gdb.guile/scm-section-script.scm: New file.
3597 * gdb.guile/scm-symbol.c: New file.
3598 * gdb.guile/scm-symbol.exp: New file.
3599 * gdb.guile/scm-symtab-2.c: New file.
3600 * gdb.guile/scm-symtab.c: New file.
3601 * gdb.guile/scm-symtab.exp: New file.
3602 * gdb.guile/scm-type.c: New file.
3603 * gdb.guile/scm-type.exp: New file.
3604 * gdb.guile/scm-value-cc.cc: New file.
3605 * gdb.guile/scm-value-cc.exp: New file.
3606 * gdb.guile/scm-value.c: New file.
3607 * gdb.guile/scm-value.exp: New file.
3608 * gdb.guile/source2.scm: New file.
3609 * gdb.guile/types-module.cc: New file.
3610 * gdb.guile/types-module.exp: New file.
3611
7026a7c1
YQ
36122014-02-10 Yao Qi <yao@codesourcery.com>
3613
3614 PR testsuite/16543
3615 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3616 * configure: Regenerated.
3617 * Makefile.in: New file.
3618
6c466447
AS
36192014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3620
3621 * gdb.python/py-framefilter.exp: Fix typo.
3622
6e854735
YQ
36232014-02-08 Yao Qi <yao@codesourcery.com>
3624
3625 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3626 that no =breakpoint-modified is emitted when breakpoints are
3627 modified through MI commands.
3628
d137e6dc
PA
36292014-02-07 Pedro Alves <pedro@codesourcery.com>
3630 Pedro Alves <palves@redhat.com>
3631
3632 * gdb.threads/step-after-sr-lock.c: New file.
3633 * gdb.threads/step-after-sr-lock.exp: New file.
3634
b5ee5a50
PA
36352014-02-07 Pedro Alves <palves@redhat.com>
3636
3637 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3638
3c77faf3
JK
36392014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3640
3641 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3642 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3643
6dddc817
DE
36442014-02-06 Doug Evans <xdje42@gmail.com>
3645
3646 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3647 output.
3648
3649 * gdb.gdb/python-interrupts.exp: New file.
3650
de7b2893
YQ
36512014-02-05 Yao Qi <yao@codesourcery.com>
3652
3653 * gdb.trace/report.exp (use_collected_data): Test the output
3654 of "info threads" and "info inferiors".
3655
66d032ac
YQ
36562014-02-05 Yao Qi <yao@codesourcery.com>
3657
3658 Revert this patch:
3659
3660 2013-05-24 Yao Qi <yao@codesourcery.com>
3661
3662 * gdb.trace/tfile.exp: Test inferior and thread.
3663
591a12a1
UW
36642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3665
3666 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3667 on a function.
3668 * gdb.base/step-bt.c: Call hello via function pointer to make
3669 sure its first instruction is executed on powerpc64le-linux.
3670
0ff3e01f
UW
36712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3672
3673 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3674
084ee545
UW
36752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3676
3677 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3678 of the test patterns for use on little-endian systems.
3679
6ed14ff3
UW
36802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3681
3682 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3683 (decimal_vector): Fix for little-endian.
3684
401e27fd
JM
36852014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3686
3687 * gdb.arch/sparc-sysstep.exp: New file.
3688 * gdb.arch/sparc-sysstep.c: Likewise.
3689
3690 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3691
8b924729
EBM
36922014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3693
3694 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3695
fb151210
JB
36962014-01-23 Tom Tromey <tromey@redhat.com>
3697
3698 * gdb.ada/array_char_idx: New testcase.
3699
0740f8d8
TT
37002014-01-23 Tom Tromey <tromey@redhat.com>
3701
3702 PR python/16487:
3703 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3704 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3705 classes.
3706
21909fa1
TT
37072014-01-23 Tom Tromey <tromey@redhat.com>
3708
3709 PR python/16491:
3710 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3711 string from an inferior frame.
3712 * gdb.python/py-framefilter-mi.exp: Update.
3713
87ce2a04
DE
37142014-01-22 Doug Evans <dje@google.com>
3715
3716 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3717
237b092b
AA
37182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3719
3720 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3721
d674a709
AA
37222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3723
3724 * gdb.trace/entry-values.exp: Remove excess space character from
3725 regex patterns. Handle s390 call instruction.
3726
20fa3390
AA
37272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3728
3729 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3730 define "*_start" label. Make "name" static.
3731 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3732 ${name} by references to ${name}_start.
3733
78466714
AA
37342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3735
3736 * gdb.base/info-macros.exp: Remove "debug" from the compile
3737 options.
3738
ec9f644a
IB
37392014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3740
3741 * gdb.dlang/demangle.exp: New file.
3742
94b1b47e
IB
37432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3744
3745 * gdb.dlang/primitive-types.exp: New file.
3746
7f420862
IB
37472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3748
3749 * configure.ac: Create gdb.dlang/Makefile.
3750 * configure: Regenerate.
3751 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3752 * gdb.dlang/Makefile.in: New file.
3753 * lib/d-support.exp: New file.
3754 * lib/gdb.exp (skip_d_tests): New proc.
3755
52834460
MM
37562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3757
3758 * gdb.btrace/delta.exp: Check reverse stepi.
3759 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3760 * gdb.btrace/finish.exp: New.
3761 * gdb.btrace/next.exp: New.
3762 * gdb.btrace/nexti.exp: New.
3763 * gdb.btrace/record_goto.c: Add comments.
3764 * gdb.btrace/step.exp: New.
3765 * gdb.btrace/stepi.exp: New.
3766 * gdb.btrace/multi-thread-step.c: New.
3767 * gdb.btrace/multi-thread-step.exp: New.
3768 * gdb.btrace/rn-dl-bind.c: New.
3769 * gdb.btrace/rn-dl-bind.exp: New.
3770 * gdb.btrace/data.c: New.
3771 * gdb.btrace/data.exp: New.
3772 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3773
6e07b1d2
MM
37742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3775
3776 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3777 * gdb.btrace/exception.exp: Update.
3778 * gdb.btrace/instruction_history.exp: Update.
3779 * gdb.btrace/record_goto.exp: Update.
3780 * gdb.btrace/tailcall.exp: Update.
3781 * gdb.btrace/unknown_functions.exp: Update.
3782 * gdb.btrace/delta.exp: New.
3783
0b722aec
MM
37842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3785
3786 * gdb.btrace/record_goto.exp: Add backtrace test.
3787 * gdb.btrace/tailcall.exp: Add backtrace test.
3788
066ce621
MM
37892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3790
3791 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3792 * gdb.btrace/record_goto.c: New.
3793 * gdb.btrace/record_goto.exp: New.
3794 * gdb.btrace/x86-record_goto.S: New.
3795
0688d04e
MM
37962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3797
3798 * gdb.btrace/function_call_history.exp: Update tests.
3799 * gdb.btrace/instruction_history.exp: Update tests.
3800
8710b709
MM
38012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3802
3803 * gdb.btrace/function_call_history.exp: Fix expected field
3804 order for "record function-call-history".
3805 Add new tests for "record function-call-history /c".
3806 * gdb.btrace/exception.cc: New.
3807 * gdb.btrace/exception.exp: New.
3808 * gdb.btrace/tailcall.exp: New.
3809 * gdb.btrace/x86-tailcall.S: New.
3810 * gdb.btrace/x86-tailcall.c: New.
3811 * gdb.btrace/unknown_functions.c: New.
3812 * gdb.btrace/unknown_functions.exp: New.
3813 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3814
5de9129b
MM
38152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3816
3817 * gdb.btrace/instruction_history.exp: Update.
3818 * gdb.btrace/function_call_history.exp: Update.
3819
23a7fe75
MM
38202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3821
3822 * gdb.btrace/function_call_history.exp: Fix expected function
3823 trace.
3824 * gdb.btrace/instruction_history.exp: Initialize traced.
3825 Remove traced_functions.
3826
724c7dd8
MM
38272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3828
3829 * gdb.btrace/function_call_history.exp: Update
3830 * gdb.btrace/instruction_history.exp: Update.
3831
6d78d93b
MM
38322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3833
3834 * gdb.btrace/enable.exp: Update expected text.
3835
93a360cc
OJ
38362014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3837
3838 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3839 bytes.
3840
3772b53f
MR
38412014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3842
3843 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3844
596662fa
OJ
38452014-01-15 Omair Javaid <omair.javaid@linaro.org>
3846
3847 * lib/gdb.exp (supports_process_record): Return true for
3848 arm*-linux*. (supports_reverse): Likewise.
3849
b5b08fb4
SC
38502014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3851
3852 PR python/15464
3853 PR python/16113
3854 * gdb.python/py-type.c: Enhance test case.
3855 * gdb.python/py-value-cc.cc: Likewise
3856 * gdb.python/py-type.exp: Add new tests.
3857 * gdb.python/py-value-cc.exp: Likewise
3858
52d7fb13
AA
38592014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3860 Pedro Alves <palves@redhat.com>
3861
3862 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3863 Make "name" extern.
3864 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3865 references to ${name}_start by references to ${name}.
3866
a2cd8cfe
JB
38672014-01-10 Joel Brobecker <brobecker@adacore.com>
3868
3869 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3870
4e23fced
JB
38712014-01-10 Joel Brobecker <brobecker@adacore.com>
3872
3873 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3874
c6a9e42c
PA
38752014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3876 Pedro Alves <palves@redhat.com>
3877
3878 * gdb.mi/mi-info-os.exp: Connect to the target with
3879 mi_gdb_target_load.
3880
b7ea362b
PA
38812014-01-08 Pedro Alves <palves@redhat.com>
3882
3883 * gdb.threads/reconnect-signal.c: New file.
3884 * gdb.threads/reconnect-signal.exp: New file.
3885
5e3f4fab
EBM
38862014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3887
3888 * gdb.base/source-dir.exp: New file.
3889
79301218
JB
38902014-01-07 Joel Brobecker <brobecker@adacore.com>
3891
3892 * gdb.ada/mi_interface: New testcase.
3893
8e355c5d
JB
38942014-01-07 Joel Brobecker <brobecker@adacore.com>
3895
3896 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3897 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3898 gdb.ada/pp-rec-component/pck.ads: New files.
3899
c0d48811
JB
39002014-01-07 Joel Brobecker <brobecker@adacore.com>
3901
3902 * gdb.python/py-pp-integral.c: New file.
3903 * gdb.python/py-pp-integral.py: New file.
3904 * gdb.python/py-pp-integral.exp: New file.
3905
17b609c3 3906For older changes see ChangeLog-1993-2013.
c906108c 3907\f
8d8cb839
EZ
3908;; Local Variables:
3909;; mode: change-log
3910;; left-margin: 8
3911;; fill-column: 74
3912;; version-control: never
3913;; End:
902f2ccb 3914
32d0add0 3915 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
3916 Copying and distribution of this file, with or without modification,
3917 are permitted provided the copyright notice and this notice are preserved.