]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix memory access violations triggered by running objdump on fuzzed binaries.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
bafffb51
JB
12015-01-15 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.ada/var_arr_attrs: New testcase.
4
5589af0e
PA
52015-01-14 Pedro Alves <palves@redhat.com>
6 Joel Brobecker <brobecker@adacore.com>
7
8 PR gdb/17525
9 * gdb.base/bp-cmds-execution-x-script.c: New file.
10 * gdb.base/bp-cmds-execution-x-script.exp: New file.
11 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12
6c400b59
PA
132015-01-14 Pedro Alves <palves@redhat.com>
14
15 PR cli/17828
16 * gdb.base/batch-preserve-term-settings.c: New file.
17 * gdb.base/batch-preserve-term-settings.exp: New file.
18
e02c96a7
DE
192015-01-13 Doug Evans <dje@google.com>
20
21 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
22 binary.
23
576fd14c
JB
242015-01-13 Joel Brobecker <brobecker@adacore.com>
25
26 * Makefile.in (clean mostlyclean): Do not delete *.py.
27
04dccad0
JB
282015-01-13 Joel Brobecker <brobecker@adacore.com>
29
30 * gdb.python/py-lookup-type.exp: New file.
31
3d230f71
PA
322015-01-12 Pedro Alves <palves@redhat.com>
33
34 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
35 restore GDBFLAGS before returning.
36
7e67715d
JK
372015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
38
39 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
40 is_amd64_regs_target and is_x86_like_target.
41
f2e0d4b4
DE
422015-01-11 Doug Evans <xdje42@gmail.com>
43
44 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
45 is given without an explicit form.
46 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
47 attributes.
48 * gdb.dwarf/corrupt.exp: Ditto.
49 * gdb.dwarf2/enum-type.exp: Ditto.
50 * gdb.trace/entry-values.exp: Ditto.
51 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
52
439250fb
DE
532015-01-11 Doug Evans <xdje42@gmail.com>
54
55 PR gdb/15830
56 * gdb.base/maint.exp: Remove references to "maint demangle".
57 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
58 Add tests for explicitly specifying language to demangle.
59 * gdb.dlang/demangle.exp: Ditto.
60
ede9f622
PA
612015-01-09 Pedro Alves <palves@redhat.com>
62
63 * gdb.threads/non-stop-fair-events.c: New file.
64 * gdb.threads/non-stop-fair-events.exp: New file.
65
a7b796db
PA
662015-01-09 Pedro Alves <palves@redhat.com>
67
68 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
69 the global scope. Set a breakpoint after all threads are started
70 rather than stepping over two source lines. Expect the prompt.
71 * gdb.base/watch_thread_num.c (threads_started_barrier): New
72 global.
73 (NUM): Now 15.
74 (main): Use threads_started_barrier to wait for all threads to
75 start. Main thread no longer calls thread_function. Exit after
76 180 seconds.
77 (loop): New function.
78 (thread_function): Wait on threads_started_barrier barrier. Call
79 'loop' at each iteration.
80 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
81 threads have started, instead of hardcoding number of "next"
82 steps. Use an access watchpoint instead of a write watchpoint.
83
9665ffdd
PA
842015-01-09 Pedro Alves <palves@redhat.com>
85
86 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
87 (thread_func): Wait on barrier.
88 (main): Wait for all threads to start before stopping GDB.
89 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
90 global.
91 (thread1_func, thread2_func): Wait on barrier.
92 (main): Wait for all threads to start before stopping GDB.
93 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
94 New global.
95 (thread1_func, thread2_func): Wait on barrier.
96 (main): Wait for all threads to start before stopping GDB.
97
c945a99f
PA
982015-01-09 Pedro Alves <palves@redhat.com>
99
100 * gdb.threads/attach-many-short-lived-threads.c: New file.
101 * gdb.threads/attach-many-short-lived-threads.exp: New file.
102
c1a747c1
PA
1032014-01-09 Pedro Alves <palves@redhat.com>
104
105 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
106 instead of to thread 2.
107 * gdb.threads/signal-command-multiple-signals-pending.c (main):
108 Add barrier around each pthread_create call instead of around all
109 calls.
110 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
111 Set a break on thread_function and have the child threads hit it
112 one at at a time.
113
60b3033e
PA
1142015-01-09 Pedro Alves <palves@redhat.com>
115
116 * lib/gdb.exp (can_spawn_for_attach): New procedure.
117 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
118 false.
119 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
120 checking whether the target board is remote.
121 * gdb.multi/multi-attach.exp: Likewise.
122 * gdb.python/py-sync-interp.exp: Likewise.
123 * gdb.server/ext-attach.exp: Likewise.
124 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
125 tests that need to attach, instead of checking whether the target
126 board is remote at the top of the file.
127
acc018ac
YQ
1282015-01-08 Yao Qi <yao@codesourcery.com>
129
130 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
131
50a18af8
JK
1322015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
133
134 Fix testcase compilation.
135 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
136
8503d6e1
JB
1372015-01-06 Joel Brobecker <brobecker@adacore.com>
138
139 * gdb.python/py-type.exp: Add a couple test about empty
140 array creation, and negative-length array creation.
141
cc73dbcc
DE
1422015-01-02 Doug Evans <xdje42@gmail.com>
143
144 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
145
0300bbc7
DE
1462015-01-02 Doug Evans <dje@google.com>
147
148 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
149
9d85a0ec
YQ
1502014-12-29 Yao Qi <yao@codesourcery.com>
151
152 * gdb.trace/entry-values.exp: Update comments. Rename variable
153 bar_call_foo to returned_from_foo.
154
87186c6a
MMN
1552014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
156
157 PR gdb/17394
158 * gdb.linespec/break-asm-file.c: New file.
159 * gdb.linespec/break-asm-file.exp: New file.
160 * gdb.linespec/break-asm-file0.s: New file.
161 * gdb.linespec/break-asm-file1.s: New file.
162
1bab7383
YQ
1632014-12-18 Nigel Stephens <nigel@mips.com>
164 Maciej W. Rozycki <macro@codesourcery.com>
165
166 * gdb.base/float.exp: Handle the new output from "info float" on
167 MIPS targets.
168
1bc1068a
JK
1692014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
170
171 Fix MinGW compilation.
172 * gdb.compile/compile-ops.exp: Update untested message if
173 !skip_compile_feature_tests.
174 * gdb.compile/compile-setjmp.exp: Likewise.
175 * gdb.compile/compile-tls.exp: Likewise.
176 * gdb.compile/compile.exp: Likewise.
177 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
178 supported on this host".
179
b6615d10
DE
1802014-12-16 Doug Evans <xdje42@gmail.com>
181
182 * boards/stabs.exp: New file.
183
25dda427
AA
1842014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
185
186 * gdb.base/completion.exp: Adjust to format changes of "maint
187 print user-registers".
188
bf330350
CU
1892014-12-16 Catalin Udma <catalin.udma@freescale.com>
190
191 PR server/17457
192 * gdb.arch/aarch64-fp.c: New file.
193 * gdb.arch/aarch64-fp.exp: New file.
194
395cf596
SDJ
1952014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
196
197 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
198 r210637, r210913, r211666, r215400, r215817).
199
200 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
201 * dg-extract-results.py: New file.
202 * dg-extract-results.sh: Use it if the environment seems
203 suitable.
204
205 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
206
207 * dg-extract-results.py (parse_run): Handle warnings that
208 are printed before a test harness is run.
209
210 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
211
212 * dg-extract-results.py (Named): Remove __cmp__ method.
213 (output_variation): Use a key to sort variation.harnesses.
214
215 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
216
217 * dg-extract-results.py: For Python 3, force sys.stdout to
218 handle surrogate escape sequences.
219 (safe_open): New function.
220 (output_segment, main): Use it.
221
222 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
223
224 * dg-extract-results.py (Prog.result_re): Include options
225 in test name.
226
227 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
228
229 * dg-extract-results.py (output_variation): Always sort if
230 do_sum.
231
e882ef3c
SM
2322014-12-15 Simon Marchi <simon.marchi@ericsson.com>
233
234 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
235 as long as we get pagination notifications.
236
4992aa20
JM
2372014-12-15 Jason Merrill <jason@redhat.com>
238
239 * Makefile.in (check-gdb.%): Restore.
240 * README: Mention it.
241
c1b5a1a6
JB
2422014-12-13 Joel Brobecker <brobecker@adacore.com>
243
244 * gdb.ada/str_uninit: New testcase.
245
5537b577
JK
2462014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
247
248 PR symtab/17642
249 * gdb.base/vla-stub-define.c: New file.
250 * gdb.base/vla-stub.c: New file.
251 * gdb.base/vla-stub.exp: New file.
252
bb2ec1b3
TT
2532014-12-12 Phil Muldoon <pmuldoon@redhat.com>
254 Jan Kratochvil <jan.kratochvil@redhat.com>
255 Tom Tromey <tromey@redhat.com>
256
257 * configure.ac: Add gdb.compile/.
258 * configure: Regenerate.
259 * gdb.compile/Makefile.in: New file.
260 * gdb.compile/compile-ops.exp: New file.
261 * gdb.compile/compile-ops.c: New file.
262 * gdb.compile/compile-tls.c: New file.
263 * gdb.compile/compile-tls.exp: New file.
264 * gdb.compile/compile-constvar.S: New file.
265 * gdb.compile/compile-constvar.c: New file.
266 * gdb.compile/compile-mod.c: New file.
267 * gdb.compile/compile-nodebug.c: New file.
268 * gdb.compile/compile-setjmp-mod.c: New file.
269 * gdb.compile/compile-setjmp.c: New file.
270 * gdb.compile/compile-setjmp.exp: New file.
271 * gdb.compile/compile-shlib.c: New file.
272 * gdb.compile/compile.c: New file.
273 * gdb.compile/compile.exp: New file.
274 * lib/gdb.exp (skip_compile_feature_tests): New proc.
275
4ff709eb
TT
2762014-12-12 Tom Tromey <tromey@redhat.com>
277
278 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
279 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
280
6dddd6a5
DE
2812014-12-12 Doug Evans <dje@google.com>
282
283 * lib/gdb-python.exp (get_python_valueof): New function.
284 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
285
71c24708
AA
2862014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
287
288 * gdb.base/completion.exp: Add test for completion of "info
289 registers ".
290
3e29f34a
MR
2912014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
292
293 * gdb.base/func-ptrs.c: New file.
294 * gdb.base/func-ptrs.exp: New file.
295
fc126975
SM
2962014-12-10 Simon Marchi <simon.marchi@ericsson.com>
297
298 PR breakpoints/17012
299 * gdb.base/dprintf-detach.c: New file.
300 * gdb.base/dprintf-detach.exp: New file.
301
0a46d518
SM
3022014-12-10 Simon Marchi <simon.marchi@ericsson.com>
303
304 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
305 * lib/gdb.exp (target_is_gdbserver): New procedure.
306
a0be3e44
DE
3072014-12-08 Doug Evans <dje@google.com>
308
309 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
310
df1b803a
YQ
3112014-12-05 Yao Qi <yao@codesourcery.com>
312
313 * gdb.guile/scm-error.exp: Remove the third argument to
314 gdb_remote_download.
315 * gdb.guile/scm-frame-args.exp: Likewise.
316 * gdb.guile/scm-section-script.exp: Likewise.
317
ddb9f679
YQ
3182014-12-05 Yao Qi <yao@codesourcery.com>
319
320 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
321
86e4ed39
DE
3222014-12-04 Doug Evans <dje@google.com>
323
324 * gdb.python/py-objfile.exp: Add tests for
325 objfile.add_separate_debug_file.
326
7c50a931
DE
3272014-12-04 Doug Evans <dje@google.com>
328
329 * lib/gdb.exp (get_build_id): New function.
330 (build_id_debug_filename_get): Rewrite to use it.
331 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
332
621661e3
MR
3332014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
334
335 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
336 `method(long)', not just 0x0.
337 * gdb.cp/nsalias.exp: Align code labels to 4.
338 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
339 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
340 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
341 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
342 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
343 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
344
29f0c3b7
DE
3452014-12-02 Doug Evans <dje@google.com>
346
e1e061e7 347 PR symtab/17602
29f0c3b7 348 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 349 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
350 * gdb.cp/anon-ns.exp: Update.
351
162078c8
NB
3522014-12-02 Nick Bull <nicholaspbull@gmail.com>
353
354 * gdb.python/py-events.py (inferior_call_handler): New.
355 (register_changed_handler, memory_changed_handler): New.
356 (test_events.invoke): Register new handlers.
357 * gdb.python/py-events.exp: Add tests for inferior call,
358 memory_changed and register_changed events.
359
fdb09caf
AA
3602014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
361
362 * gdb.base/execl-update-breakpoints.exp: Specify the link address
363 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
364 if the linker doesn't understand this.
365
55cfb2c4
SM
3662014-12-01 Simon Marchi <simon.marchi@ericsson.com>
367
368 * gdb.python/python.exp: Change expected reply to help().
369
9e8cd6df
YQ
3702014-12-01 Yao Qi <yao@codesourcery.com>
371
372 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
373 AC_CONFIG_SUBDIRS(gdb.gdbtk).
374 * configure: Re-generated.
375
6c659fc2
SC
3762014-11-28 Siva Chandra Reddy <sivachandra@google.com>
377
378 * gdb.cp/chained-calls.cc: New file.
379 * gdb.cp/chained-calls.exp: New file.
380 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
381
d7fc3181
SM
3822014-11-28 Simon Marchi <simon.marchi@ericsson.com>
383
384 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
385 * gdb.dwarf2/symtab-producer.exp: Same.
386 * gdb.gdb/python-interrupts.exp: Same.
387 * gdb.gdb/python-selftest.exp: Same.
388 * gdb.python/py-linetable.exp: Same.
389 * gdb.python/py-type.exp: Same.
390 * gdb.python/py-value-cc.exp: Same.
391 * gdb.python/py-value.exp: Same.
392
10e79639
YQ
3932014-11-28 Yao Qi <yao@codesourcery.com>
394
395 * gdb.base/break-probes.exp: Match library name prefixed with
396 sysroot.
397
f28a0564
SM
3982014-11-27 Simon Marchi <simon.marchi@ericsson.com>
399
400 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
401 test expected output. Add parentheses for the call to print.
402 Remove L suffix from integers.
403
3fe1ce1d
DE
4042014-11-26 Doug Evans <dje@google.com>
405
406 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
407
84429e27
YQ
4082014-11-22 Yao Qi <yao@codesourcery.com>
409
410 * gdb.trace/entry-values.c: Remove asms.
411 (foo): Add foo_label.
412 (bar): Add bar_label.
413 * gdb.trace/entry-values.exp: Remove code computing foo's
414 length and bar's length.
415 (Dwarf::assemble): Invoke function_range for bar and use
416 MACRO_AT_func for foo.
417
26741859
YQ
4182014-11-22 Yao Qi <yao@codesourcery.com>
419
420 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
421 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
422 Use .Lgcc43_procstart instead of gcc43.
423
45e44d27
JB
4242014-11-21 Joel Brobecker <brobecker@adacore.com>
425
426 * gdb.ada/n_arr_bound: New testcase.
427
458c8db8
SDJ
4282014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
429
430 PR breakpoints/10737
431 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
432 test_catch_syscall_multi_arch.
433 (test_catch_syscall_multi_arch): New function.
434
43f3e411
DE
4352014-11-20 Doug Evans <xdje42@gmail.com>
436
437 * gdb.base/maint.exp: Update expected output.
438
0d7b2549
AA
4392014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
440
441 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
442 4-byte instruction on S390.
443
8908fca5
JB
4442014-11-19 Joel Brobecker <brobecker@adacore.com>
445
446 * gdb.ada/arr_arr: New testcase.
447
4a46959e
JB
4482014-11-19 Joel Brobecker <brobecker@adacore.com>
449
450 * gdb.ada/pkd_arr_elem: New Testcase.
451
470e2f4e
LM
4522014-11-18 Luis Machado <lgustavo@codesourcery.com>
453
454 * gdb.reverse/break-precsave: Expect completion message for
455 core file reads.
456 * gdb.reverse/consecutive-precsave.exp: Likewise.
457 * gdb.reverse/finish-precsave.exp: Likewise.
458 * gdb.reverse/i386-precsave.exp: Likewise.
459 * gdb.reverse/machinestate-precsave.exp: Likewise.
460 * gdb.reverse/sigall-precsave.exp: Likewise.
461 * gdb.reverse/solib-precsave.exp: Likewise.
462 * gdb.reverse/step-precsave.exp: Likewise.
463 * gdb.reverse/until-precsave.exp: Likewise.
464 * gdb.reverse/watch-precsave.exp: Likewise.
465
a267f3ad
AA
4662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
467
468 * gdb.base/bp-permanent.c: Include unistd.h.
469 * gdb.python/py-framefilter-mi.c (main): Add return type.
470 * gdb.python/py-framefilter.c (main): Likewise.
471 * gdb.trace/actions-changed.c (main): Likewise.
472
12084a9a
AA
4732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
474
475 * gdb.mi/until.c: Add eye-catchers.
476 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
477 line numbers.
478
dc7e1a77
AA
4792014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
480
481 * gdb.base/condbreak.exp: Drop references to removed non-prototype
482 function header variants in break1.c.
483 * gdb.base/ena-dis-br.exp: Likewise.
484 * gdb.base/hbreak2.exp: Likewise.
485 * gdb.reverse/until-precsave.exp: Drop references to removed
486 non-prototype function header variants in ur1.c.
487 * gdb.reverse/until-reverse.exp: Likewise.
488
41c77605
PM
4892014-11-17 Petr Machata <pmachata@redhat.com>
490
491 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
492 ${_cu_offset_size} bytes abbrev offset.
493
34248c3a
DE
4942014-11-15 Doug Evans <xdje42@gmail.com>
495
496 PR symtab/17559
497 * gdb.base/line-symtabs.exp: New file.
498 * gdb.base/line-symtabs.c: New file.
499 * gdb.base/line-symtabs.h: New file.
500
646da059
YQ
5012014-11-14 Yao Qi <yao@codesourcery.com>
502
503 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
504 (func): Add label func_label.
505 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
506 Replace low_pc and high_pc with MACRO_AT_range.
507 Replace name, low_pc and high_pc with MACRO_AT_func.
508
9301ebe6
YQ
5092014-11-14 Yao Qi <yao@codesourcery.com>
510
511 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
512 Replace name, low_pc and high_pc with MACRO_AT_func.
513
f166b542
YQ
5142014-11-14 Yao Qi <yao@codesourcery.com>
515
516 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
517 produce debug information.
518 * gdb.dwarf2/implptr-optimized-out.S: Removed.
519
0f6e71e3
YQ
5202014-11-14 Yao Qi <yao@codesourcery.com>
521
522 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
523 object and get function length.
524 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
525 with MACRO_AT_func.
526 (top-level): Replace gdb_compile and clean_restart with
527 prepare_for_testing.
528 * gdb.dwarf2/main.c (main): Add label main_label.
529
876c4df9
YQ
5302014-11-14 Yao Qi <yao@codesourcery.com>
531
532 * lib/dwarf.exp (function_range): New procedure.
533 (Dwarf::_handle_macro_at_func): New procedure.
534 (Dwarf::_handle_macro_at_range): New procedure.
535 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
536
02ad9cf1
YQ
5372014-11-14 Yao Qi <yao@codesourcery.com>
538
539 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
540 (_handle_attribute): New procedure.
541
a59add0c
AA
5422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
543
544 * gdb.ada/cond_lang/foo.c (callme): Add return type.
545 * gdb.base/call-sc.c (zed): Likewise.
546 * gdb.base/checkpoint.c (main): Likewise.
547 * gdb.base/dump.c (main): Likewise.
548 * gdb.base/gcore.c (main): Likewise.
549 * gdb.base/huge.c (main): Likewise.
550 * gdb.base/multi-forks.c (main): Likewise.
551 * gdb.base/pr10179-a.c (main): Likewise.
552 * gdb.base/savedregs.c (main): Likewise.
553 * gdb.base/sigaltstack.c (main): Likewise.
554 * gdb.base/siginfo.c (main): Likewise.
555 * gdb.base/structs.c (zed): Likewise.
556 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
557 * gdb.mi/mi-syn-frame.c (main): Likewise.
558 * gdb.mi/until.c (foo, main): Likewise.
559 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
560 * gdb.base/solib-weak.c (foo): Declare.
561 * gdb.base/attach-twice.c: Include stdio.h.
562 * gdb.base/weaklib1.c: Likewise.
563 * gdb.base/weaklib2.c: Likewise.
564 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
565 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
566 unistd.h.
567 * gdb.base/attach-pie-misread.c: Include stdlib.h.
568 * gdb.mi/mi-exit-code.c: Likewise.
569 * gdb.base/break-interp-lib.c: Include string.h.
570 * gdb.base/coremaker.c: Likewise.
571 * gdb.base/testenv.c: Likewise.
572 * gdb.python/py-finish-breakpoint.c: Likewise.
573 * gdb.base/inferior-died.c: Include sys/wait.h.
574 * gdb.base/fileio.c: Include time.h.
575 * gdb.base/async-shell.c: Include unistd.h.
576 * gdb.base/dprintf-non-stop.c: Likewise.
577 * gdb.base/info-os.c: Likewise.
578 * gdb.mi/mi-console.c: Likewise.
579 * gdb.mi/watch-nonstop.c: Likewise.
580 * gdb.python/py-events.c: Likewise.
581 * gdb.base/async.c (baz): Move up before its invocation.
582 * gdb.base/code_elim2.c (my_global_func): Likewise.
583 * gdb.base/skip-solib-lib.c (multiply): Likewise.
584 * gdb.base/advance.c (func2): Likewise.
585
3b5d5997
AA
5862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
587
588 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
589 variant.
590 * gdb.base/annota3.c: Likewise.
591 * gdb.base/async.c: Likewise.
592 * gdb.base/average.c: Likewise.
593 * gdb.base/call-ar-st.c: Likewise.
594 * gdb.base/call-rt-st.c: Likewise.
595 * gdb.base/call-sc.c: Likewise.
596 * gdb.base/call-strs.c: Likewise.
597 * gdb.base/ending-run.c: Likewise.
598 * gdb.base/execd-prog.c: Likewise.
599 * gdb.base/exprs.c: Likewise.
600 * gdb.base/foll-exec.c: Likewise.
601 * gdb.base/foll-fork.c: Likewise.
602 * gdb.base/foll-vfork.c: Likewise.
603 * gdb.base/funcargs.c: Likewise.
604 * gdb.base/gcore.c: Likewise.
605 * gdb.base/jump.c: Likewise.
606 * gdb.base/langs0.c: Likewise.
607 * gdb.base/langs1.c: Likewise.
608 * gdb.base/langs2.c: Likewise.
609 * gdb.base/mips_pro.c: Likewise.
610 * gdb.base/nodebug.c: Likewise.
611 * gdb.base/opaque0.c: Likewise.
612 * gdb.base/opaque1.c: Likewise.
613 * gdb.base/recurse.c: Likewise.
614 * gdb.base/run.c: Likewise.
615 * gdb.base/scope0.c: Likewise.
616 * gdb.base/scope1.c: Likewise.
617 * gdb.base/setshow.c: Likewise.
618 * gdb.base/setvar.c: Likewise.
619 * gdb.base/shmain.c: Likewise.
620 * gdb.base/shr1.c: Likewise.
621 * gdb.base/shr2.c: Likewise.
622 * gdb.base/sigall.c: Likewise.
623 * gdb.base/signals.c: Likewise.
624 * gdb.base/so-indr-cl.c: Likewise.
625 * gdb.base/solib2.c: Likewise.
626 * gdb.base/structs.c: Likewise.
627 * gdb.base/sum.c: Likewise.
628 * gdb.base/vforked-prog.c: Likewise.
629 * gdb.base/watchpoint.c: Likewise.
630 * gdb.reverse/shr2.c: Likewise.
631 * gdb.reverse/until-reverse.c: Likewise.
632 * gdb.reverse/ur1.c: Likewise.
633 * gdb.reverse/watch-reverse.c: Likewise.
634
066a77c5
AA
6352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
636
637 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
638 variant.
639 * gdb.base/sepdebug.exp: Drop references to removed code.
640
4f204ea5
AA
6412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
642
643 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
644 variant. Preserve original line numbering.
645 * gdb.base/list1.c: Likewise.
646
3b377a3a
AA
6472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
648
649 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
650 variant.
651 * gdb.base/break1.c: Likewise.
652 * gdb.base/break.exp: Drop references to removed code.
653
e444df73
AA
6542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
655
656 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
657 variant.
658
8008f2a7
AA
6592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
660
661 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
662
a5a06887
AA
6632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
664
665 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
666 logic into perform_all_tests() and invoke it with and without
667 function header prototypes.
668 (do_function_calls): Remove conditional XFAIL for PR 5318.
669 (rerun_and_prepare): Remove duplicate code.
670 (perform_all_tests): New. Main logic moved here.
671
44dba9b9
AA
6722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
673
674 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
675 code guarded by #ifdef NO_PROTOTYPES.
676 (t_double_many_args): Likewise.
677 (DEF_FUNC_MANY_ARGS_1): Likewise.
678 (DEF_FUNC_VALUES_1): Likewise.
679 (t_structs_ldc): Renamed from t_structs_fc in conditional code
680 guarded by #ifdef PROTOTYPES.
681
d1fbcd56
AA
6822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
683
684 * gdb.mi/mi-console.c: Add eye-catcher.
685 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
686 instead of literal line number.
687
b0e59b8f
AA
6882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
689
690 * gdb.base/shr2.c: Add eye-catcher.
691 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
692 line number.
693
78f98cca
AA
6942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
695
696 * gdb.base/jump.c: Add eye-catchers.
697 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
698 numbers.
699
58fa2af0
AA
7002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
701
702 * gdb.base/execd-prog.c: Add eye-catchers.
703 * gdb.base/foll-exec.c: Likewise.
704 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
705 line numbers.
706
04e5059b
AA
7072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
708
709 * gdb.base/ending-run.c: Add eye-catchers.
710 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
711 literal line numbers.
712
dbfdb174
AA
7132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
714
715 * gdb.base/call-rt-st.c: Add eye-catchers.
716 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
717 literal line numbers.
718
888a2ade
AA
7192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
720
721 * gdb.base/call-ar-st.c: Add eye-catchers.
722 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
723 literal line numbers.
724
6acc2dde
AA
7252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
726
727 * gdb.base/average.c: Add eye-catchers.
728 * gdb.base/sum.c: Likewise.
729 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
730 regexps dynamically.
731
9ecfcd1d
AA
7322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
733
734 * gdb.base/solib1.c: Add eye-catchers.
735 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
736 literal line numbers.
737
78708b7c
PA
7382014-11-12 Pedro Alves <palves@redhat.com>
739
740 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
741 leader has exited.
742
af48d08f
PA
7432014-11-12 Pedro Alves <palves@redhat.com>
744
745 * gdb.arch/i386-bp_permanent.c: New file.
746 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
747 (srcfile): Set to i386-bp_permanent.c.
748 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
749 that stepi does not execute the 'leave' instruction, instead of
750 testing it does execute.
751 * gdb.base/bp-permanent.c: New file.
752 * gdb.base/bp-permanent.exp: New file.
753
af3768e9
DE
7542014-11-10 Doug Evans <xdje42@gmail.com>
755
756 PR symtab/17564
757 * gdb.base/symtab-search-order.exp: New file.
758 * gdb.base/symtab-search-order.c: New file.
759 * gdb.base/symtab-search-order-1.c: New file.
760 * gdb.base/symtab-search-order-shlib-1.c: New file.
761
9de00a4a
PA
7622014-11-07 Pedro Alves <palves@redhat.com>
763
764 PR gdb/17511
765 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
766 i?86-*-linux*.
767
e0f52461
SC
7682014-11-03 Siva Chandra Reddy <sivachandra@google.com>
769
770 PR c++/17494
771 * gdb.cp/pr17494.cc: New file.
772 * gdb.cp/pr17494.exp: New file.
773
6ce8c980
YQ
7742014-11-02 Yao Qi <yao@codesourcery.com>
775
776 * gdb.python/python.exp: Get working directory and match the
777 output of "set extended-prompt \\w " with it.
778
02be9a71
DE
7792014-10-30 Doug Evans <dje@google.com>
780
781 * gdb.python/py-objfile.exp: Add tests for setting random attributes
782 in objfiles.
783 * gdb.python/py-progspace.exp: Add tests for setting random attributes
784 in progspaces.
785
3bdff46b
LM
7862014-10-30 Janis Johnson <janisjo@codesourcery.com>
787
788 * gdb.base/fullpath-expand.exp: Skip for a remote host.
789 * gdb.base/realname-expand.exp: Likewise.
790 * gdb.linespec/macro-relative.exp: Likewise.
791
ab917dfb
PA
7922014-10-29 Pedro Alves <palves@redhat.com>
793
794 PR gdb/17408
795 * gdb.threads/schedlock.c (some_function): New function.
796 (call_function): New global.
797 (MAYBE_CALL_SOME_FUNCTION): New macro.
798 (thread_function): Call it.
799 * gdb.threads/schedlock.exp (get_args): Add description parameter,
800 and use it instead of a global counter. Adjust all callers.
801 (get_current_thread): Use "find current thread" for test message
802 here rather than having all callers pass down the same string.
803 (goto_loop): New procedure, factored out from ...
804 (my_continue): ... this.
805 (step_ten_loops): Change parameter from test message to command to
806 use. Adjust.
807 (list_count): Delete global.
808 (check_result): New procedure, factored out from duplicate top
809 level code.
810 (continue tests): Wrap in with_test_prefix.
811 (test_step): New procedure, factored out from duplicate top level
812 code.
813 (top level): Test "step" in combination with all scheduler-locking
814 modes. Test "next" in combination with all scheduler-locking
815 modes, and in combination with stepping over a function call or
816 not.
817 * gdb.threads/next-bp-other-thread.c: New file.
818 * gdb.threads/next-bp-other-thread.exp: New file.
819
d3d4baed
PA
8202014-10-29 Pedro Alves <palves@redhat.com>
821
822 PR python/17372
823 * gdb.python/python.exp: Test a multi-line command that spawns
824 interactive Python.
825 * gdb.base/multi-line-starts-subshell.exp: New file.
826
563e8d85
YQ
8272014-10-29 Yao Qi <yao@codesourcery.com>
828
829 * gdb.base/fileio.exp: Make directories on host.
830
0ea4d52e
YQ
8312014-10-29 Yao Qi <yao@codesourcery.com>
832
833 * gdb.base/fileio.c (test_write): Close the file.
834
7f5ef605
PA
8352014-10-28 Pedro Alves <palves@redhat.com>
836
837 PR gdb/12623
838 * gdb.base/sigstep.c (no_handler): New global.
839 (main): If 'no_handler is true, set the signal handlers to
840 SIG_IGN.
841 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
842 with_sw_watch and no_handler parameters. Handle them.
843 (top level) <stepping over handler when stopped at a breakpoint
844 test>: Add a test axis for testing with a software watchpoint, and
845 another for testing with the signal handler set to SIG_IGN.
846 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
847 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
848
abbdbd03
PA
8492014-10-28 Pedro Alves <palves@redhat.com>
850
851 PR gdb/17511
852 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
853 * gdb.base/sigstep.exp (other_handler_location): New global.
854 (advance): Support stepping into the signal handler, and running
855 commands while in the handler.
856 (in_handler_map): New global.
857 (top level): In the advance test, add combinations for getting
858 into the handler with stepping commands, and for running commands
859 in the handler. Add comment descripting the advancei tests.
860
1df4399f
PA
8612014-10-28 Pedro Alves <palves@redhat.com>
862
863 * gdb.base/sigstep.exp: Use build_executable instead of
864 prepare_for_testing.
865 (top level): Move code that starts GDB, runs to main and creates a
866 display to ...
867 (restart): ... this new procedure.
868 (top level): Move backtrace from signal handler test to ...
869 (validate_backtrace): ... this new procedure.
870 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
871 with_test_prefix. Always restart GDB.
872 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
873 with_test_prefix. Always restart GDB. No need to delete
874 breakpoints after the test.
875 (test_skip_handler): Remove prefix parameter.
876 (skip_over_handler, breakpoint_to_handler)
877 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
878 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
879 restart GDB. No need to delete breakpoints after the test.
880 (top level): Use foreach to call the test procedures with
881 different commands.
882
a5b6e449
PA
8832014-10-28 Pedro Alves <palves@redhat.com>
884
885 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
886 instead of GNATS numbers.
887 * gdb.base/sigbpt.exp: Likewise.
888 * gdb.base/siginfo.exp: Likewise.
889 * gdb.base/sigstep.exp: Likewise.
890
e5f8a7cc
PA
8912014-10-27 Pedro Alves <palves@redhat.com>
892
893 * gdb.base/sigstep.c (dummy): New global.
894 (main): Issue a couple writes to the new global.
895 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
896 procedures.
897 (skip_over_handler): Use test_skip_handler.
898 (top level): Call skip_over_handler for stepi and nexti too.
899 (breakpoint_over_handler): Use test_skip_handler.
900 (top level): Call breakpoint_over_handler for stepi and nexti too.
901
763905a3
YQ
9022014-10-27 Yao Qi <yao@codesourcery.com>
903
904 * gdb.trace/tfile.c (adjust_function_address)
905 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
906 function descriptor.
907
6f259a23
DB
9082014-10-24 Don Breazeal <donb@codesourcery.com>
909
910 * gdb.base/foll-fork.exp (test_follow_fork,
911 catch_fork_child_follow): Check for updated fork messages emitted
912 from infrun.c.
913 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
914 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
915 vfork_and_exec_child_follow_through_step): Check for updated vfork
916 messages emitted from infrun.c.
917
09dd9a69
PA
9182014-10-24 Pedro Alves <palves@redhat.com>
919
920 * gdb.base/corefile.exp: Remove references to ultrix.
921 * gdb.base/interrupt.exp: Likewise.
922 * gdb.base/whatis.exp: Likewise.
923 * gdb.gdb/selftest.exp: Likewise.
924 * gdb.threads/manythreads.exp: Likewise.
925 * gdb.threads/print-threads.exp: Likewise.
926 * gdb.threads/pthreads.exp:: Likewise.
927 * gdb.threads/schedlock.exp: Likewise.
928
3433cfa5
SC
9292014-10-24 Siva Chandra Reddy <sivachandra@google.com>
930
931 * gdb.cp/non-trivial-retval.cc: Add a test case.
932 * gdb.cp/non-trivial-retval.exp: Add a test.
933
092f880b
YQ
9342014-10-20 Yao Qi <yao@codesourcery.com>
935
936 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
937 * gdb.python/py-objfile-script-gdb.py: New file.
938 * gdb.python/py-objfile-script.exp: Update reference to
939 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
940 of remote_download. Remove the dest file.
941
acbdb7f3
YQ
9422014-10-20 Yao Qi <yao@codesourcery.com>
943
944 * gdb.base/checkpoint.exp: Don't remove file copied on host.
945 * gdb.base/step-line.exp: Likewise.
946 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
947 * gdb.dwarf2/dw2-basic.exp: Likewise.
948 * gdb.dwarf2/dw2-compressed.exp: Likewise.
949 * gdb.dwarf2/dw2-filename.exp: Likewise.
950 * gdb.dwarf2/dw2-intercu.exp: Likewise.
951 * gdb.dwarf2/dw2-intermix.exp: Likewise.
952 * gdb.dwarf2/dw2-producer.exp: Likewise.
953 * gdb.dwarf2/mac-fileno.exp: Likewise.
954 * gdb.python/py-frame-args.exp: Likewise.
955 * gdb.python/py-framefilter.exp: Likewise.
956 * gdb.python/py-mi.exp: Likewise.
957 * gdb.python/py-objfile-script.exp: Likewise
958 * gdb.python/py-pp-integral.exp: Likewise.
959 * gdb.python/py-pp-re-notag.exp: Likewise.
960 * gdb.python/py-prettyprint.exp: Likewise.
961 * gdb.python/py-section-script.exp: Likewise.
962 * gdb.python/py-typeprint.exp: Likewise.
963 * gdb.python/py-xmethods.exp: Likewise.
964 * gdb.stabs/weird.exp: Likewise.
965 * gdb.xml/tdesc-regs.exp: Likewise.
966
bd286a29
KCY
9672014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
968
969 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
970 (out_cu): Use addr_len for the size of addresses.
971 (out_line): Likewise. Size DW_LNE_set_address instruction
972 according to addr_len.
973 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
974 (FUNC): Add START_INSNS to definition.
975
673dc4a0
YQ
9762014-10-18 Yao Qi <yao@codesourcery.com>
977
978 * gdb.base/argv0-symlink.exp: Check argv[0] value if
979 gdb_has_argv0 return true.
980 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
981 check [target_info exists noargs], check [gdb_has_argv0]
982 instead.
983 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
984 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
985 procedures.
986
4ffbba72
DE
9872014-10-17 Doug Evans <dje@google.com>
988
989 * gdb.python/py-events.exp: Update expected output for clear_objfiles
990 event.
991 * gdb.python/py-events.py: Add clear_objfiles event.
992
d096d8c1
DE
9932014-10-17 Doug Evans <dje@google.com>
994
995 * gdb.python/py-objfile.exp: Test progspace attribute.
996
a80db015
LM
9972014-10-17 Luis Machado <lgustavo@codesourcery.com>
998
999 * gdb.guile/scm-breakpoint.exp: Do not assume any
1000 directory separators when matching source file paths.
1001 * gdb.python/py-breakpoint.exp: Likewise.
1002 * gdb.reverse/break-precsave.exp: Likewise.
1003 * gdb.reverse/break-reverse.exp: Likewise.
1004 * gdb.reverse/consecutive-precsave.exp: Likewise.
1005 * gdb.reverse/finish-precsave.exp: Likewise.
1006 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1007 * gdb.reverse/finish-reverse.exp: Likewise.
1008 * gdb.reverse/i386-precsave.exp: Likewise.
1009 * gdb.reverse/i387-env-reverse.exp: Likewise.
1010 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1011 * gdb.reverse/machinestate-precsave.exp: Likewise.
1012 * gdb.reverse/machinestate.exp: Likewise.
1013 * gdb.reverse/sigall-precsave.exp: Likewise.
1014 * gdb.reverse/solib-precsave.exp: Likewise.
1015 * gdb.reverse/step-precsave.exp: Likewise.
1016 * gdb.reverse/until-precsave.exp: Likewise.
1017 * gdb.reverse/watch-precsave.exp: Likewise.
1018 * gdb.reverse/watch-reverse.exp: Likewise.
1019
b22089ab
YQ
10202014-10-17 Yao Qi <yao@codesourcery.com>
1021
1022 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1023 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1024
6c4486e6
PA
10252014-10-17 Pedro Alves <palves@redhat.com>
1026
1027 PR gdb/17471
1028 * gdb.base/bg-execution-repeat.c: New file.
1029 * gdb.base/bg-execution-repeat.exp: New file.
1030
0ff33695
PA
10312014-10-17 Pedro Alves <palves@redhat.com>
1032
1033 PR gdb/17300
1034 * gdb.base/continue-all-already-running.c: New file.
1035 * gdb.base/continue-all-already-running.exp: New file.
1036
6fdebc3d
PA
10372014-10-17 Pedro Alves <palves@redhat.com>
1038
1039 PR gdb/17472
1040 * gdb.base/annota-input-while-running.c: New file.
1041 * gdb.base/annota-input-while-running.exp: New file.
1042
32a8097b
PA
10432014-10-17 Pedro Alves <palves@redhat.com>
1044
1045 * gdb.base/callfuncs.exp: emove references to osf.
1046 * gdb.base/sigall.exp: Likewise.
1047 * gdb.gdb/selftest.exp: Likewise.
1048 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1049 * gdb.mi/non-stop.c: Likewise.
1050 * gdb.mi/pthreads.c: Likewise.
1051 * gdb.reverse/sigall-precsave.exp: Likewise.
1052 * gdb.reverse/sigall-reverse.exp: Likewise.
1053 * gdb.threads/pthreads.c: Likewise.
1054 * gdb.threads/pthreads.exp: Likewise.
1055
7a3517ff
YQ
10562014-10-17 Yao Qi <yao@codesourcery.com>
1057
1058 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1059 check 'target_info exists noargs'.
1060 (test_command_prompt_position): Likewise.
1061 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1062 Remove "set args".
1063 (progvar_simple_while_test): Likewise.
1064 (progvar_complex_if_while_test): Likewise.
1065 (if_while_breakpoint_command_test): Likewise.
1066 (infrun_breakpoint_command_test): Likewise.
1067 (breakpoint_command_test): Likewise.
1068 (watchpoint_command_test): Likewise.
1069 (bp_deleted_in_command_test): Likewise.
1070 (temporary_breakpoint_commands): Likewise.
1071
bb99c472
YQ
10722014-10-16 Yao Qi <yao@codesourcery.com>
1073
1074 * gdb.base/remotetimeout.exp: Remove noargs checking.
1075
7c16b83e
PA
10762014-10-15 Pedro Alves <palves@redhat.com>
1077
1078 PR breakpoints/9649
1079 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1080 * gdb.base/breakpoint-in-ro-region.exp
1081 (probe_target_hardware_step): New procedure.
1082 (top level): Probe hardware stepping and hardware breakpoint
1083 support. Test stepping through a read-only region, with both
1084 "breakpoint auto-hw" on and off and both "always-inserted" on and
1085 off.
1086
35a49624
IB
10872014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1088
1089 * gdb.dlang/demangle.exp: Update for demangling changes.
1090
2d1c107c
SC
10912014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1092
1093 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1094 * gdb.cp/non-trivial-retval.exp: Add new tests.
1095
778811d5
SC
10962014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1097
1098 PR c++/13403
1099 PR c++/15154
1100 * gdb.cp/non-trivial-retval.cc: New file.
1101 * gdb.cp/non-trivial-retval.exp: New file.
1102
10c5f0a8
YQ
11032014-10-15 Yao Qi <yao@codesourcery.com>
1104
1105 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1106 remote host.
1107
65d7b369
YQ
11082014-10-15 Yao Qi <yao@codesourcery.com>
1109
1110 * gdb.python/py-symbol.exp: Match file base name if host is
1111 remote, otherwise match file name with dir name.
1112 * gdb.python/py-symtab.exp: Likewise.
1113 * gdb.python/python.exp: Likewise.
1114
46dc1394
YQ
11152014-10-15 Yao Qi <yao@codesourcery.com>
1116
1117 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1118 pattern.
1119 * gdb.python/py-symtab.exp: Likewise.
1120 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1121 locationn.
1122
c40cc657
JB
11232014-10-14 Joel Brobecker <brobecker@adacore.com>
1124
1125 * gdb.ada/addr_arith: New testcase.
1126
2abf49e1
MR
11272014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1128
1129 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1130 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1131 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1132 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1133
f7088df3
SDJ
11342014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1135
1136 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1137 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1138 * gdb.arch/stap-eval-lang-ada.exp: New file.
1139
4dc06805
YQ
11402014-10-14 Yao Qi <yao@codesourcery.com>
1141
1142 * gdb.mi/mi-var-child.c (nothing1): New function.
1143 (nothing2): New function.
1144 (do_children_tests): Set function pointers by nothing1 and
1145 nothing2.
1146 * gdb.mi/mi-var-child.exp: Step over new added statements.
1147 Update test to match the new output.
1148 * gdb.mi/var-cmd.c (nothing1): New function.
1149 (nothing2): New function.
1150 (do_children_tests): Set function pointers by nothing1 and
1151 nothing2.
1152 * gdb.mi/mi-var-display.exp: Update test to match output.
1153 Step to the line specified by $line_dct_nothing.
1154 Increase the number of lines to step.
1155
46a93de2
YQ
11562014-10-14 Yao Qi <yao@codesourcery.com>
1157
1158 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1159 tests.
1160 * gdb.mi/mi2-var-child.exp: Likewise.
1161
14ea52ee
DE
11622014-10-13 Doug Evans <dje@google.com>
1163
1164 * gdb.python/py-objfile.exp: Change name of file name test.
1165
e5c6e92b
DE
11662014-10-13 Doug Evans <dje@google.com>
1167
1168 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1169 from the start of the CU.
1170
c780cc2f
JK
11712014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1172 Yao Qi <yao@codesourcery.com>
1173
1174 Fix "save breakpoints" for "catch" command.
1175 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1176 Remove -nonewline. Match also the added "main" line.
1177
99894e11
JK
11782014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1179
1180 Fix "save breakpoints" for "disable $bpnum" command.
1181 * gdb.base/save-bp.c (main): Add label.
1182 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1183
6e1ac5a3
JK
11842014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1185
1186 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1187
754dd2b0
YQ
11882014-10-11 Yao Qi <yao@codesourcery.com>
1189
1190 * gdb.server/server-kill.exp: Execute command
1191 "set remote trace-status-packet on" before "tstatus".
1192
f90183d7
YQ
11932014-10-11 Yao Qi <yao@codesourcery.com>
1194
1195 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1196 (main): Call getppid.
1197 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1198 and continue to it. Read variable "server_pid".
1199
bf40a607
YQ
12002014-10-11 Yao Qi <yao@codesourcery.com>
1201
1202 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1203
052ca370
YQ
12042014-10-11 Yao Qi <yao@codesourcery.com>
1205
1206 * gdb.threads/thread-find.exp: Don't execute command
1207 "info threads".
1208 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1209 * gdb.threads/linux-dp.exp: Don't check the condition
1210 $threads_created equals to zero.
1211
3831839c
PA
12122014-10-10 Pedro Alves <palves@redhat.com>
1213
1214 * gdb.base/bigcore.exp: Remove references to IRIX.
1215 * gdb.base/funcargs.exp: Likewise.
1216 * gdb.base/interrupt.exp: Likewise.
1217 * gdb.base/mips_pro.exp: Likewise.
1218 * gdb.base/nodebug.exp: Likewise.
1219 * gdb.base/setvar.exp: Likewise.
1220 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1221
8b9a549d
PA
12222014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1223 Pedro Alves <palves@redhat.com>
1224
1225 PR symtab/14466
1226 * gdb.base/vdso-warning.c: New file.
1227 * gdb.base/vdso-warning.exp: New file.
1228
d48ba5e8
DE
12292014-10-02 Doug Evans <dje@google.com>
1230
1231 * gdb.base/structs.c (main): Don't run forever.
1232
2278c276
PA
12332014-10-02 Pedro Alves <palves@redhat.com>
1234
1235 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1236 (top level) <stop threads 1, stop threads 2>: Use it.
1237
b57bacec
PA
12382014-10-02 Pedro Alves <palves@redhat.com>
1239
1240 * gdb.threads/break-while-running.exp (test): Add new
1241 'update_thread_list' argument. Skip "info threads" if false.
1242 (top level): Add new 'update_thread_list' axis.
1243
13fd3ff3
PA
12442014-10-02 Pedro Alves <palves@redhat.com>
1245
1246 PR breakpoints/17431
1247 * gdb.base/execl-update-breakpoints.c: New file.
1248 * gdb.base/execl-update-breakpoints.exp: New file.
1249
0fec99e8
PA
12502014-10-01 Pedro Alves <palves@redhat.com>
1251
1252 * gdb.base/breakpoint-in-ro-region.c: New file.
1253 * gdb.base/breakpoint-in-ro-region.exp: New file.
1254
2ddf4301
SM
12552014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1256
1257 * gdb.mi/mi-exit-code.exp: New file.
1258 * gdb.mi/mi-exit-code.c: New file.
1259
6a5f3f43
YQ
12602014-09-30 Yao Qi <yao@codesourcery.com>
1261
1262 * lib/prelink-support.exp (build_executable_own_libs): Error if
1263 the target isn't native.
1264
345bcc73
YQ
12652014-09-30 Yao Qi <yao@codesourcery.com>
1266
1267 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1268 false.
1269
a25a5a45
PA
12702014-09-22 Pedro Alves <palves@redhat.com>
1271
1272 * gdb.threads/break-while-running.exp: New file.
1273 * gdb.threads/break-while-running.c: New file.
1274
00ba3162
YQ
12752014-09-19 Yao Qi <yao@codesourcery.com>
1276
1277 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1278 Invoke test. Restart GDB with --readnow and invoke test again.
1279
c3b7b696
YQ
12802014-09-19 Yao Qi <yao@codesourcery.com>
1281
1282 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1283 proc set_breakpoint_on_gcd_function. Invoke
1284 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1285 invoke set_breakpoint_on_gcd_function again.
1286
2b4fd423
DE
12872014-09-18 Doug Evans <dje@google.com>
1288
1289 * gdb.dwarf2/symtab-producer.exp: New file.
1290
a5947601
SDJ
12912014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1292
1293 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1294 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1295 * gdb.base/global-var-nested-by-dso.c: Likewise.
1296 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1297
91c19059
SDJ
12982014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1299 Pedro Alves <palves@redhat.com>
1300
1301 * gdb.base/watch-bitfields.exp: Pass string other than test file
1302 name to prepare_for_testing.
1303 (watch): New procedure.
1304 (expect_watchpoint): Use with_test_prefix.
1305 (top level): Factor out tests to ...
1306 (test_watch_location, test_regular_watch): ... these new
1307 procedures, and use with_test_prefix and gdb_continue_to_end.
1308
bb9d5f81
PP
13092014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1310
1311 PR breakpoints/12526
1312 * gdb.base/watch-bitfields.exp: New file.
1313 * gdb.base/watch-bitfields.c: New file.
1314
635856f5
PA
13152014-09-16 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1318 software and hardware addresses, not software address against
1319 itself.
1320
7280ceea
PA
13212014-09-16 Pedro Alves <palves@redhat.com>
1322
1323 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1324 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1325
428b16bd
PA
13262014-09-16 Pedro Alves <palves@redhat.com>
1327
1328 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1329 files.
1330 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1331 "*-*-vxworks*" throughout.
1332 * gdb.base/break.exp: Likewise.
1333 * gdb.base/default.exp: Likewise.
1334 * gdb.base/scope.exp: Likewise.
1335 * gdb.base/sepdebug.exp: Likewise.
1336 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1337 throughout.
1338 * gdb.base/run.c: Likewise.
1339 * gdb.base/sepdebug.c: Likewise.
1340 * gdb.hp/gdb.aCC/run.c: Likewise.
1341 * gdb.reverse/until-reverse.c: Likewise.
1342 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1343
666d413c
YQ
13442014-09-16 Yao Qi <yao@codesourcery.com>
1345
1346 * boards/local-remote-host-native.exp: New file.
1347
57cbd724
DE
13482014-09-14 Doug Evans <xdje42@gmail.com>
1349
1350 * gdb.threads/queue-signal.c (thread_count): New variable.
1351 (thread_count_mutex, thread_count_condvar): New variables.
1352 (incr_thread_count, wait_all_threads_running): New functions.
1353 (main): Wait for all threads to be in their thread functions.
1354
81219e53
DE
13552014-09-13 Doug Evans <xdje42@gmail.com>
1356
1357 * gdb.threads/queue-signal.c: New file.
1358 * gdb.threads/queue-signal.exp: New file.
1359
3714cea7
DE
13602014-09-13 Doug Evans <xdje42@gmail.com>
1361
1362 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1363 be consistent with what default_gdb_init uses.
1364 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1365 the plain text of the prompt. Add some logging printfs.
1366 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1367
fa43b1d7
PA
13682014-09-12 Pedro Alves <palves@redhat.com>
1369
1370 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1371 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1372 * gdb.arch/i386-size-overlap.exp: Likewise.
1373 * gdb.arch/i386-size.exp: Likewise.
1374 * gdb.arch/i386-unwind.exp: Likewise.
1375 * gdb.base/a2-run.exp: Likewise.
1376 * gdb.base/break.exp: Likewise.
1377 * gdb.base/charset.exp: Likewise.
1378 * gdb.base/chng-syms.exp: Likewise.
1379 * gdb.base/commands.exp: Likewise.
1380 * gdb.base/dbx.exp: Likewise.
1381 * gdb.base/find.exp: Likewise.
1382 * gdb.base/funcargs.exp: Likewise.
1383 * gdb.base/jit-simple.exp: Likewise.
1384 * gdb.base/reread.exp: Likewise.
1385 * gdb.base/sepdebug.exp: Likewise.
1386 * gdb.base/step-bt.exp: Likewise.
1387 * gdb.cp/mb-inline.exp: Likewise.
1388 * gdb.cp/mb-templates.exp: Likewise.
1389 * gdb.objc/basicclass.exp: Likewise.
1390 * gdb.threads/killed.exp: Likewise.
1391
9d9bf2df
EBM
13922014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1393
1394 PR tdep/17379
1395 * gdb.arch/powerpc-stackless.S: New file.
1396 * gdb.arch/powerpc-stackless.exp: New file.
1397
1cf2f1b0
JK
13982014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1399
1400 * gdb.base/attach.c: Include unistd.h.
1401 (main): Call alarm. Add label postloop.
1402 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1403 gdb_breakpoint, gdb_continue_to_breakpoint.
1404 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1405
98880d46
PA
14062014-09-11 Pedro Alves <palves@redhat.com>
1407
1408 PR gdb/17347
1409 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1410 * gdb.base/attach.exp (test_command_line_attach_run): New
1411 procedure.
1412 (top level): Call it.
1413
4c92ff2c
PA
14142014-09-11 Pedro Alves <palves@redhat.com>
1415
1416 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1417 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1418 (do_command_attach_tests): Use spawn_wait_for_attach.
1419 * gdb.base/solib-overlap.exp: Likewise.
1420 * gdb.multi/multi-attach.exp: Likewise.
1421 * gdb.python/py-prompt.exp: Likewise.
1422 * gdb.python/py-sync-interp.exp: Likewise.
1423 * gdb.server/ext-attach.exp: Likewise.
1424
3adc1a7d
GKB
14252014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1426
1427 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1428 command in testcase. Simplify testcase.
1429
96334934
JB
14302014-09-10 Joel Brobecker <brobecker@adacore.com>
1431
1432 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1433
eb479039
JB
14342014-09-10 Joel Brobecker <brobecker@adacore.com>
1435
1436 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1437
deede10c
JB
14382014-09-10 Joel Brobecker <brobecker@adacore.com>
1439
1440 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1441
7828a5f5
JB
14422014-09-10 Joel Brobecker <brobecker@adacore.com>
1443
1444 * gdb.dwarf2/dynarr-ptr.c: New file.
1445 * gdb.dwarf2/dynarr-ptr.exp: New file.
1446
33aeebcf
MR
14472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1448
1449 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1450 of 30 rather than hardcoding 120 for a slow test case. Take the
1451 `gdb,timeout' target setting into account for this calculation.
1452 Don't extend the timeout for the test cases that don't need it.
1453
7b415901
MR
14542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1455
1456 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1457 a factor of 2 for a slow test case. Take the `gdb,timeout'
1458 target setting into account for this calculation.
1459 * gdb.reverse/until-precsave.exp: Increase the timeout by
1460 a factor of 15 and 3 respectively rather than adding 120
1461 for a pair of slow test cases. Take the `gdb,timeout'
1462 target setting into account for this calculation.
1463
4a40f85a
MR
14642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1465
1466 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1467 timeout, don't pass one down to gdb_expect.
1468 (gdb_expect): Rework timeout selection.
1469
09635af7
MR
14702014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1471
1472 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1473 exception on timeout.
1474 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1475 (gdbserver_start_extended): Catch any `gdbserver_start' error
1476 exceptions.
1477 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1478 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1479 `gdbserver_gdb_load' error exceptions.
1480
2bdd10b7
MR
14812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1482
1483 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1484 120 on waiting for the TCP socket to open.
1485
316935f0
DE
14862014-09-09 Doug Evans <xdje42@gmail.com>
1487
1488 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1489 _caller_matches, _any_caller_is, _any_caller_matches.
1490
83740597
DE
14912014-09-09 Doug Evans <xdje42@gmail.com>
1492
1493 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1494
4c122fc3
YQ
14952014-09-09 Yao Qi <yao@codesourcery.com>
1496
1497 * gdb.mi/mi-var-display.exp: Set print symbol off.
1498
a9f116cb
GKB
14992014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1500
1501 PR gdb/17035
1502 * gdb.base/commands.exp: Add tests to verify user-defined
1503 commands with empty bodies.
1504 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1505 python commands in `show user command`.
1506 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1507 scheme commands in `show user command`.
1508
c75bd3a2
JK
15092014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1510
1511 PR python/17355
1512 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1513 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1514 * gdb.python/py-framefilter-invalidarg.exp: New file.
1515 * gdb.python/py-framefilter-invalidarg.py: New file.
1516
faa42425
DE
15172014-09-06 Doug Evans <xdje42@gmail.com>
1518
1519 PR 15276
1520 * gdb.python/py-caller-is.c: New file.
1521 * gdb.python/py-caller-is.exp: New file.
1522
474ca4f6
SDJ
15232014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1524
1525 PR gdb/17235
1526 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1527 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1528
eb0b0463
SDJ
15292014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1530
1531 PR fortran/17237
1532 * gdb.fortran/print-formatted.exp: New file.
1533 * gdb.fortran/print-formatted.f90: Likewise.
1534
5f3b99cf
SS
15352014-09-03 Sasha Smundak <asmundak@google.com>
1536
1537 * gdb.python/py-frame.exp: Test Frame.read_register.
1538
7d793aa9
SDJ
15392014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1540
1541 PR python/16699
1542 * gdb.python/py-completion.exp: New file.
1543 * gdb.python/py-completion.py: Likewise.
1544
fb0576e9
DE
15452014-08-28 Doug Evans <dje@google.com>
1546
1547 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1548 eax,etc. are live with values set by gdb and thus the compiler can't
1549 use them.
1550 * gdb.arch/i386-pseudo.c (main): Ditto.
1551
ee92b0dd
DE
15522014-08-27 Doug Evans <dje@google.com>
1553
1554 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1555
6649db35
DE
15562014-08-25 Doug Evans <dje@google.com>
1557
1558 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1559 (main): Ditto.
1560
564b7600
DE
15612014-08-25 Doug Evans <dje@google.com>
1562
1563 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1564
3881fb67
YQ
15652014-08-24 Yao Qi <yao@codesourcery.com>
1566
1567 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1568 symbol off.
1569 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1570
a05a36a5
DE
15712014-08-22 Doug Evans <dje@google.com>
1572
1573 PR 17276
1574 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1575 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1576 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1577
7c343b48
YQ
15782014-08-22 Yao Qi <yao@codesourcery.com>
1579
1580 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1581 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1582 * gdb.python/python.exp: Likewise. Use .py file on the host
1583 instead of the build.
1584
22fd09ae
JK
15852014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1586
1587 * gdb.threads/gcore-stale-thread.c: New file.
1588 * gdb.threads/gcore-stale-thread.exp: New file.
1589
a8454a7c
PA
15902014-08-21 Pedro Alves <palves@redhat.com>
1591
1592 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1593 * gdb.base/gcore-relro-pie.exp: Likewise.
1594 * gdb.base/gcore-relro.exp: Likewise.
1595 * gdb.base/gcore.exp: Likewise.
1596 * gdb.base/print-symbol-loading.exp: Likewise.
1597 * gdb.threads/gcore-thread.exp: Likewise.
1598 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1599
2a31c623
PA
16002014-08-20 Pedro Alves <palves@redhat.com>
1601 Jan Kratochvil <jan.kratochvil@redhat.com>
1602
1603 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1604 configure.
1605 (EXPECT): Handle READ1 being set.
1606 (all): Depend on EXTRA_RULES.
1607 (check-read1, expect-read1, read1.so, read1): New rules.
1608 * README (Testsuite Parameters): Document the READ1 make variable.
1609 (Race detection): New section.
1610 * configure: Regenerate.
1611 * configure.ac: If build==host==target, and running under a
1612 GNU/glibc system, add read1 to the extra Makefile rules.
1613 (EXTRA_RULES): AC_SUBST it.
1614 * lib/read1.c: New file.
1615
d36430db
JB
16162014-08-20 Joel Brobecker <brobecker@adacore.com>
1617
1618 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1619 the handling of variables declared as a typedef to an array
1620 which a DW_AT_data_location attribute.
1621
9a0dc9e3
PA
16222014-08-19 Andrew Burgess <aburgess@broadcom.com>
1623 Pedro Alves <palves@redhat.com>
1624
1625 PR symtab/14604
1626 PR symtab/14605
1627 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1628 gdb_test.
1629
0718a8da
PA
16302014-08-19 Pedro Alves <palves@redhat.com>
1631
1632 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1633
13b448cd
YQ
16342014-08-19 Yao Qi <yao@codesourcery.com>
1635
1636 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1637 right line.
1638
1cbf5077
DB
16392014-08-18 David Blaikie <dblaikie@gmail.com>
1640
1641 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1642
bf0fae19
JB
16432014-08-18 Joel Brobecker <brobecker@adacore.com>
1644
1645 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1646 attribute in array range.
1647
3c8c5dcc
JB
16482014-08-18 Joel Brobecker <brobecker@adacore.com>
1649
1650 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1651
e66d4446
SC
16522014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1653
1654 PR c++/17132
1655 * gdb.cp/pr17132.cc: New file.
1656 * gdb.cp/pr17132.exp: New file.
1657
940df408
SC
16582014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1659
1660 * gdb.python/py-xmethods.py (A_getarrayind)
1661 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1662 Use 'print' with function call syntax.
1663 (E_method_matcher.match): Fix tab vs space indentation mixup.
1664
ebcc6c3a
YQ
16652014-08-15 Yao Qi <yao@codesourcery.com>
1666
1667 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1668 false.
1669
775e0f04
YQ
16702014-08-15 Yao Qi <yao@codesourcery.com>
1671
1672 * gdb.cp/casts.exp: Set print symbol off.
1673 * gdb.cp/class2.exp: Likewise.
1674 * gdb.cp/overload.exp: Likewise.
1675 * gdb.cp/templates.exp: Likewise.
1676
d769e349
DE
16772014-08-11 Doug Evans <dje@google.com>
1678
1679 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1680 (test_load_shlib): Update.
1681
20c6f1e1
YQ
16822014-08-09 Yao Qi <yao@codesourcery.com>
1683
1684 * gdb.base/display.exp: Invoke is_address_zero_readable.
1685 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1686 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1687 * gdb.base/hbreak-unmapped.exp: Return if
1688 is_address_zero_readable returns true.
1689 * gdb.base/signest.exp: Likewise.
1690 * gdb.base/signull.exp: Likewise.
1691 * gdb.base/sigbpt.exp: Likewise.
1692 * gdb.guile/scm-disasm.exp: Do the test if
1693 is_address_zero_readable returns false.
1694 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1695 * gdb.python/py-arch.exp: Likewise.
1696 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1697 * lib/gdb.exp (is_address_zero_readable): New proc.
1698
5792e8e3
YQ
16992014-08-09 Yao Qi <yao@codesourcery.com>
1700
1701 PR testsuite/13443
1702 * gdb.mi/mi-var-display.exp: Make test messages unique.
1703
3cecbbbe
TT
17042014-08-04 Tom Tromey <tromey@redhat.com>
1705
1706 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1707 target 0".
1708
00b51ff5
TT
17092014-08-04 Tom Tromey <tromey@redhat.com>
1710
1711 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1712 "target_resume".
1713
6908c509
JB
17142014-08-01 Joel Brobecker <brobecker@adacore.com>
1715
1716 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1717 inner_vla_struct_object_size.
1718 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1719 as xfail.
1720
cc6563d2
PA
17212014-07-30 Pedro Alves <palves@redhat.com>
1722
1723 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1724 comment.
1725
7e09a223
YQ
17262014-07-29 Yao Qi <yao@codesourcery.com>
1727
1728 PR gdb/17206
1729 * gdb.base/until-nodebug.exp: New.
1730
7ebdbe92
DE
17312014-07-28 Doug Evans <xdje42@gmail.com>
1732
1733 PR guile/17203
1734 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1735 previously existing parameter, and previously ambiguously spelled
1736 parameter.
1737
fdb1adc6
WN
17382014-07-28 Will Newton <will.newton@linaro.org>
1739
1740 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1741
186fcde0
DE
17422014-07-26 Ludovic Courtès <ludo@gnu.org>
1743 Doug Evans <xdje42@gmail.com>
1744
1745 PR guile/17146
1746 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1747
70509625
PA
17482014-07-25 Pedro Alves <palves@redhat.com>
1749
1750 * gdb.threads/signal-command-handle-nopass.c: New file.
1751 * gdb.threads/signal-command-handle-nopass.exp: New file.
1752 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1753 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1754 * gdb.threads/signal-delivered-right-thread.c: New file.
1755 * gdb.threads/signal-delivered-right-thread.exp: New file.
1756
c3f814a1
PA
17572014-07-25 Pedro Alves <palves@redhat.com>
1758
1759 * gdb.base/double-prompt-target-event-error.exp
1760 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1761 match.
1762 (cancel_pagination_in_target_event): Rework double prompt
1763 detection.
1764 * gdb.base/paginate-after-ctrl-c-running.exp
1765 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1766 <return>' match.
1767 * gdb.base/paginate-bg-execution.exp
1768 (test_bg_execution_pagination_return)
1769 (test_bg_execution_pagination_cancel): Remove '-notransfer
1770 <return>' matches.
1771 * gdb.base/paginate-execution-startup.exp
1772 (test_fg_execution_pagination_return)
1773 (test_fg_execution_pagination_cancel): Remove '-notransfer
1774 <return>' matches.
1775 * gdb.base/paginate-inferior-exit.exp
1776 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1777 match.
1778 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1779 * lib/gdb.exp (pagination_prompt): Run text through
1780 string_to_regexp.
1781 (gdb_test_multiple): Match $pagination_prompt instead of
1782 "<return>".
1783 (string_to_regexp): Move to lib/gdb-utils.exp.
1784
e214cf6c
JK
17852014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1786
1787 * gdb.arch/amd64-entry-value-paramref.S: New file.
1788 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1789 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1790 * gdb.arch/amd64-optimout-repeat.S: New file.
1791 * gdb.arch/amd64-optimout-repeat.c: New file.
1792 * gdb.arch/amd64-optimout-repeat.exp: New file.
1793
17d0c5c8
JK
17942014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1795
1796 PR gdb/17170
1797 * gdb.base/statistics.exp: New file.
1798
b8b8facf
DE
17992014-07-17 Doug Evans <dje@google.com>
1800
74b49205 1801 PR gdb/17170
b8b8facf
DE
1802 * gdb.base/maint.exp: Update testing of per-command stats.
1803
1b5d0ab3
PA
18042014-07-16 Pedro Alves <palves@redhat.com>
1805
1806 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1807 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1808 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1809 (tfile_write_buf): New functions.
1810 (add_memory_block): Rewrite using the above.
1811 (adjust_function_address): New function.
1812 (FUNCTION_ADDRESS): New macro.
1813 (write_basic_trace_file): Remove short_x local, and use
1814 tfile_write_16. Change type of func_addr local to unsigned long
1815 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1816 here. Cast argument of add_memory_block to char pointer.
1817 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1818 (main): Remove parameters.
1819 * gdb.trace/tfile.exp: Remove nowarnings.
1820
4d974e88
SM
18212014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1822
1823 * gdb.base/debug-expr.exp: Test string evaluation with
1824 "debug expression" on.
1825
41e99568
PA
18262014-07-15 Pedro Alves <palves@redhat.com>
1827
1828 * gdb.base/reread.exp: Use clean_restart.
1829
487d9753
PL
18302014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1831
1832 * gdb.arch/avr-flash-qualifer.c: New.
1833 * gdb.arch/avr-flash-qualifer.exp: New.
1834
cc1c52ad
PA
18352014-07-14 Pedro Alves <palves@redhat.com>
1836
1837 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1838 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1839
1e973570
PA
18402014-07-14 Pedro Alves <palves@redhat.com>
1841
1842 * gdb.base/double-prompt-target-event-error.c: New file.
1843 * gdb.base/double-prompt-target-event-error.exp: New file.
1844
93d6eb10
PA
18452014-07-14 Pedro Alves <palves@redhat.com>
1846
1847 PR gdb/17072
1848 * gdb.base/paginate-inferior-exit.c: New file.
1849 * gdb.base/paginate-inferior-exit.exp: New file.
1850
0017922d
PA
18512014-07-14 Pedro Alves <palves@redhat.com>
1852
1853 PR gdb/17072
1854 * gdb.base/paginate-bg-execution.c: New file.
1855 * gdb.base/paginate-bg-execution.exp: New file.
1856
94696ad3
PA
18572014-07-14 Pedro Alves <palves@redhat.com>
1858
1859 PR gdb/17072
1860 * gdb.base/paginate-execution-startup.c: New file.
1861 * gdb.base/paginate-execution-startup.exp: New file.
1862 * lib/gdb.exp (pagination_prompt): New global.
1863 (default_gdb_spawn): New procedure, factored out from
1864 default_gdb_spawn.
1865 (default_gdb_start): Adjust to call default_gdb_spawn.
1866 (gdb_spawn): New procedure.
1867
bd293940
PA
18682014-07-14 Pedro Alves <palves@redhat.com>
1869
1870 * lib/gdb.exp (gdb_assert): New procedure.
1871 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1872
c933f875
PA
18732014-07-14 Pedro Alves <palves@redhat.com>
1874
1875 * gdb.base/execution-termios.c: New file.
1876 * gdb.base/execution-termios.exp: New file.
1877
d98b7a16
TT
18782014-07-14 Tom Tromey <tromey@redhat.com>
1879
1880 * gdb.cp/vla-cxx.cc: New file.
1881 * gdb.cp/vla-cxx.exp: New file.
1882
548740d6
TT
18832014-07-14 Tom Tromey <tromey@redhat.com>
1884
1885 * gdb.reverse/rerun-prec.c: New file.
1886 * gdb.reverse/rerun-prec.exp: New file.
1887
a25eb028
MR
18882014-07-12 Maciej W. Rozycki <macro@mips.com>
1889 Maciej W. Rozycki <macro@codesourcery.com>
1890
1891 * lib/gdb-utils.exp: New file.
1892 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1893 inline `gdb_init_command' processing.
1894 (gdb_start_cmd): Likewise.
1895 * lib/mi-support.exp (mi_run_cmd): Likewise.
1896 * README: Document `gdb_init_command' and `gdb_init_commands'.
1897
218c2655
JK
18982014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1899
1900 Fix false FAIL running under a very long directory name.
1901 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1902 and "set print elements 10000". Twice.
1903
5401fde3
YQ
19042014-07-11 Yao Qi <yao@codesourcery.com>
1905
1906 * gdb.base/exprs.exp: "set print symbol off".
1907
e76126e8
PA
19082014-07-11 Pedro Alves <palves@redhat.com>
1909
1910 * gdb.threads/kill.c: New file.
1911 * gdb.threads/kill.exp: New file.
1912
2d6f0de6
YQ
19132014-07-10 Yao Qi <yao@codesourcery.com>
1914
1915 * gdb.trace/tfile.c (write_basic_trace_file)
1916 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1917 address written to trace file.
1918
7180e04a
PA
19192014-07-09 Pedro Alves <palves@redhat.com>
1920
1921 * gdb.base/attach-wait-input.exp: New file.
1922 * gdb.base/attach-wait-input.c: New file.
1923
9a9a7608
AB
19242014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1925
1926 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1927 setting up test structures.
1928 (main): Call new test function.
1929 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1930 test function, continue into test function and walk test
1931 structures.
1932
161ac41e
YQ
19332014-07-02 Yao Qi <yao@codesourcery.com>
1934
1935 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1936 'bar_start' at the beginning of functions 'foo' and 'bar'
1937 respectively.
1938 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1939 instead of 'foo' and 'bar'.
1940
1f267ae3
MM
19412014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1942
1943 * gdb.btrace/segv.exp: New.
1944 * gdb.btrace/segv.c: New.
1945
2b239efb
LM
19462014-07-02 Luis Machado <lgustavo@codesourcery.com>
1947
1948 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1949 instruction.
1950
cf363f18
MW
19512014-06-30 Mark Wielaard <mjw@redhat.com>
1952
1953 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1954 vulture, vilify, villar): New volatile array constants.
1955 (vindictive, vegetation): New const volatile array constants.
1956 * gdb.base/volatile.exp: Test volatile and const volatile array
1957 types.
1958
aebf9d24
AA
19592014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1960
1961 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1962 target lacks support for awatch, rwatch, or hbreak.
1963
b67a2c6f
YQ
19642014-06-27 Yao Qi <yao@codesourcery.com>
1965
1966 * gdb.multi/dummy-frame-restore.exp: New.
1967 * gdb.multi/dummy-frame-restore.c: New.
1968
aef92902
MM
19692014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1970
1971 * gdb.btrace/gcore.exp: New.
1972
8e9db26e
PA
19732014-06-23 Pedro Alves <palves@redhat.com>
1974
1975 * gdb.base/watchpoint-reuse-slot.c: New file.
1976 * gdb.base/watchpoint-reuse-slot.exp: New file.
1977
70afc5b7
SC
19782014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1979
1980 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1981 progspace's filename in 'info', 'enable' and 'disable' command
1982 tests.
1983
b972bd9c
JK
19842014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1985
1986 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1987 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1988 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1989
125f8a3d
GB
19902014-06-20 Gary Benson <gbenson@redhat.com>
1991
1992 * gdb.arch/i386-avx.exp: Fix include file location.
1993 * gdb.arch/i386-sse.exp: Likewise.
1994
3ed9baed
IB
19952014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1996
1997 * gdb.dlang/expression.exp: New file.
1998
034f788c
PA
19992014-06-19 Pedro Alves <palves@redhat.com>
2000
2001 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2002 out from ...
2003 (top level): ... here. Iterate running tests under different
2004 scheduler-locking settings.
2005
45371d0c
LM
20062014-06-18 Luis Machado <lgustavo@codesourcery.com>
2007
2008 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2009 to DW_FORM_addr and use non-zero addresses.
2010
5d376983
SC
20112014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2012
2013 PR gdb/17017
2014 * gdb.python/py-xmethods.cc: Add global function call counters and
2015 increment them in their respective functions. Remove "cout"
2016 statements.
2017 * gdb.python/py-xmethods.exp: Make tests check the global function
2018 call counters instead of depending on inferior IO.
2019
a1aa2221
LM
20202014-06-18 Don Breazeal <donb@codesourcery.com>
2021
2022 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2023 Deleted procedure.
2024 (explicit_fork_parent_follow): Deleted procedure.
2025 (explicit_fork_child_follow): Deleted procedure.
2026 (test_follow_fork): New procedure.
2027 (do_fork_tests): Replace calls to deleted procedures with
2028 calls to test_follow_fork and reset GDB for subsequent
2029 procedure calls.
2030
0fc05997
YQ
20312014-06-17 Yao Qi <yao@codesourcery.com>
2032
2033 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2034 CP1252.
2035
70795c52
LM
20362014-06-17 Luis Machado <lgustavo@codesourcery.com>
2037
2038 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2039 Initialize ptr and S explicitly.
2040 (skip_type_update_when_not_use_rtti_test): Likewise.
2041
6be47f0c
KS
20422014-06-16 Keith Seitz <keiths@redhat.com>
2043
2044 PR mi/15863
2045 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2046 the inferior is started.
2047
d03de421
PA
20482014-06-16 Pedro Alves <palves@redhat.com>
2049
2050 * gdb.base/break-main-file-remove-fail.c: New file.
2051 * gdb.base/break-main-file-remove-fail.exp: New file.
2052 * gdb.base/break-unload-file.exp: Use build_executable instead of
2053 prepare_for_testing.
2054 (test_break): New parameter "initial_load". Handle it.
2055 (top level): Add initial_load cmdline/file axis.
2056
f9579b99
TT
20572014-06-12 Tom Tromey <tromey@redhat.com>
2058
2059 * gdb.base/completion.exp: Don't use directory name in test.
2060
3657956b
GB
20612014-06-09 Gary Benson <gbenson@redhat.com>
2062
2063 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2064 separate the always-available ANSI-standard signals from the
2065 signals that require checking.
2066 (main): Likewise.
2067 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2068 Likewise.
2069 (main): Likewise.
2070
4186eb54
KS
20712014-06-07 Keith Seitz <keiths@redhat.com>
2072
2073 Revert:
2074 PR c++/16253
2075 * gdb.cp/var-tag.cc: New file.
2076 * gdb.cp/var-tag.exp: New file.
2077 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2078 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2079 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2080 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2081
25326a28 20822014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2083
2084 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2085
829155c9
PA
20862014-06-06 Pedro Alves <palves@redhat.com>
2087
2088 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2089 in target debug output instead of looking at RSP packets,
2090 disabling the test on any target that uses hardware stepping.
2091 Update comments.
2092
61c8d22e
PA
20932014-06-06 Pedro Alves <palves@redhat.com>
2094
2095 * gdb.base/break-unload-file.exp: Fix typo.
2096
d9a47287
YQ
20972014-06-06 Yao Qi <yao@codesourcery.com>
2098
2099 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2100 from "jit_function" to "^jit_function".
2101
e5e01dbf
YQ
21022014-06-06 Yao Qi <yao@codesourcery.com>
2103
2104 * gdb.base/async.c (foo): Add one statement.
2105 * gdb.base/async.exp: Get the next instruction address and
2106 match the output of "nexti" by instruction address. Match
2107 the hex address in the output of "finish".
2108
73ba372c
GB
21092014-06-06 Gary Benson <gbenson@redhat.com>
2110
2111 * gdb.base/call-signals.c: Remove preprocessor conditionals
2112 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2113 SIGSEGV and SIGTERM.
2114 * gdb.base/sigall.c: Likewise.
2115 * gdb.base/unwindonsignal.c: Likewise.
2116 * gdb.reverse/sigall-reverse.c: Likewise.
2117
831517df
YQ
21182014-06-06 Yao Qi <yao@codesourcery.com>
2119
2120 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2121 readable, skip the test.
2122
b8b91e98
YQ
21232014-06-06 Yao Qi <yao@codesourcery.com>
2124
2125 * gdb.threads/staticthreads.c (thread_function): Move the line
2126 setting breakpoint on forward.
2127 * gdb.threads/staticthreads.exp: Update comments.
2128
fb934770
LC
21292014-06-05 Ludovic Courtès <ludo@gnu.org>
2130
2131 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2132 "history-append! type error".
2133
6ef284bd
SM
21342014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2135
2136 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2137 erroneous dprintf expected input.
2138
a872e241
DE
21392014-06-04 Doug Evans <xdje42@gmail.com>
2140
2141 * gdb.guile/scm-generics.exp: Delete.
2142
16f691fb
DE
21432014-06-04 Doug Evans <xdje42@gmail.com>
2144
2145 * gdb.guile/scm-breakpoint.exp: Update.
2146 Add tests for breakpoint registration.
2147
012370f6
TT
21482014-06-04 Tom Tromey <tromey@redhat.com>
2149
2150 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2151 VLA-in-union.
2152 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2153 inner_vla_struct, vla_union types. Initialize objects of those
2154 types and compute their sizes.
2155
9f5a4cef
HZ
21562014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2157 Hui Zhu <hui@codesourcery.com>
2158
2159 * gdb.base/fileio.exp: Add test for shell not available as well as
2160 available.
2161 * gdb.base/fileio.c (test_system): Check for shell twice.
2162
90a45c4d
YQ
21632014-06-04 Yao Qi <yao@codesourcery.com>
2164
2165 * gdb.base/auto-connect-native-target.exp: Remove redundant
2166 space from the regexp pattern.
2167
70017e41
YQ
21682014-06-04 Yao Qi <yao@codesourcery.com>
2169
2170 * gdb.base/default.exp: Replace "child" with "native" in
2171 regexp pattern.
2172
883964a7
SC
21732014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2174
2175 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2176 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2177 * gdb.python/py-xmethods.py: Python script supporting the
2178 new testcase and tests.
2179
ef370185
JB
21802014-06-03 Joel Brobecker <brobecker@adacore.com>
2181 Pedro Alves <palves@redhat.com>
2182
2183 PR breakpoints/17000
2184 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2185 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2186
1e2ccb61
BM
21872014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2188
2189 * gdb.base/subst.exp: Add tests to verify partial path matching
2190 output.
2191
c6ec5ab2
PA
21922014-06-03 Pedro Alves <palves@redhat.com>
2193
2194 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2195 target that doesn't use software single-stepping.
2196
835c559f
PA
21972014-06-03 Pedro Alves <palves@redhat.com>
2198
2199 PR breakpoints/17000
2200 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2201 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2202
06eb1586
DE
22032014-06-02 Doug Evans <xdje42@gmail.com>
2204
2205 * gdb.guile/scm-parameter.exp: New file.
2206
e698b8c4
DE
22072014-06-02 Doug Evans <xdje42@gmail.com>
2208
2209 * gdb.guile/scm-cmd.c: New file.
2210 * gdb.guile/scm-cmd.exp: New file.
2211
ded03782
DE
22122014-06-02 Doug Evans <xdje42@gmail.com>
2213
2214 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2215 pretty-printer lookup.
2216 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2217 (make-pp_s-printer): Call it.
2218 (make-pretty-printer-from-dict): New function.
2219 (lookup-pretty-printer-maker-from-dict): New function.
2220 (*pretty-printer*): Simplify.
2221 (make-objfile-pp_s-printer): New function.
2222 (install-objfile-pretty-printers!): New function.
2223 (make-progspace-pp_s-printer): New function.
2224 (install-progspace-pretty-printers!): New function.
2225 * gdb.guile/scm-progspace.c: New file.
2226 * gdb.guile/scm-progspace.exp: New file.
2227
41fac0cf
PA
22282014-06-02 Pedro Alves <palves@redhat.com>
2229
2230 * gdb.base/dprintf-bp-same-addr.c: New file.
2231 * gdb.base/dprintf-bp-same-addr.exp: New file.
2232
96ae5695
EBM
22332014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2234
2235 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2236 * gdb.arch/powerpc-power.s: Likewise.
2237
da02b3a8
JB
22382014-06-02 Joel Brobecker <brobecker@adacore.com>
2239
2240 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2241
c72b2e7b
YQ
22422014-06-01 Yao Qi <yao@codesourcery.com>
2243
2244 * gdb.base/watchpoint.exp (test_watch_location): Check null
2245 pointer can be dereferenced. If not, do the test, otherwise
2246 skip it.
2247
53e8a631
AB
22482014-05-30 Andrew Burgess <aburgess@broadcom.com>
2249
2250 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2251 results.
2252 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2253
938f0e2f
AB
22542014-05-30 Andrew Burgess <aburgess@broadcom.com>
2255
2256 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2257 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2258 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2259 * gdb.arch/amd64-invalid-stack-top.c: New file.
2260 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2261
9ba6657a
PA
22622014-05-30 Pedro Alves <palves@redhat.com>
2263
2264 PR breakpoints/17000
2265 * gdb.base/sss-bp-on-user-bp.c: New file.
2266 * gdb.base/sss-bp-on-user-bp.exp: New file.
2267
522c09bf
DB
22682014-05-30 David Blaikie <dblaikie@gmail.com>
2269
2270 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2271 gnu_inline semantics via attribute.
2272 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2273 source explicitly specifies the required semantics.
2274
bf4ef81e
MR
22752014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2276
2277 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2278
329ea579
PA
22792014-05-29 Pedro Alves <palves@redhat.com>
2280 Tom Tromey <tromey@redhat.com>
2281
2282 * gdb.base/async-shell.exp: Don't enable target-async.
2283 * gdb.base/async.exp
2284 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2285 parameter. Adjust.
2286 (top level): Don't test with "target-async".
2287 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2288 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2289 * gdb.base/inferior-died.exp: Don't enable target-async.
2290 * gdb.base/interrupt-noterm.exp: Likewise.
2291 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2292 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2293 * gdb.mi/mi-nonstop.exp: Likewise.
2294 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2295 * gdb.mi/mi-nsintrall.exp: Likewise.
2296 * gdb.mi/mi-nsmoribund.exp: Likewise.
2297 * gdb.mi/mi-nsthrexec.exp: Likewise.
2298 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2299 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2300 * gdb.python/py-evsignal.exp: Don't enable target-async.
2301 * gdb.python/py-evthreads.exp: Likewise.
2302 * gdb.python/py-prompt.exp: Likewise.
2303 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2304 * gdb.server/solib-list.exp: Don't enable target-async.
2305 * gdb.threads/thread-specific-bp.exp: Likewise.
2306 * lib/mi-support.exp: Adjust to use mi-async.
2307
fd664c91
PA
23082014-05-29 Pedro Alves <palves@redhat.com>
2309
2310 PR gdb/13860
2311 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2312 reason, even in sync mode.
2313
251bde03
PA
23142014-05-29 Pedro Alves <palves@redhat.com>
2315 Hui Zhu <hui@codesourcery.com>
2316
2317 PR PR15693
2318 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2319 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2320 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2321 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2322
7f3c0343
JB
23232014-05-28 Joel Brobecker <brobecker@adacore.com>
2324
2325 * config/monitor.exp (gdb_target_monitor): Replace use of
2326 "set remotebaud" by "set serial baud".
2327
b2715b27
AW
23282014-05-26 Andy Wingo <wingo@igalia.com>
2329
2330 * gdb.guile/scm-breakpoint.exp:
2331 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2332 properties instead of gdb-object-properties.
2333
498a4489
YQ
23342014-05-26 Yao Qi <yao@codesourcery.com>
2335
2336 * gdb.server/no-thread-db.exp: Specify source file name
2337 explicitly when setting a breakpoint.
2338
589fdceb
MM
23392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2340
2341 * gdb.btrace/vdso.c: New.
2342 * gdb.btrace/vdso.exp: New.
2343
e9089e05
MM
23442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2345
2346 * gdb.base/gcore.exp (capture_command_output): Move ...
2347 * lib/gdb.exp (capture_command_output): ... here.
2348
67b5c0c1
MM
23492014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2350
2351 * gdb.btrace/data.exp: Test memory access during btrace replay.
2352
a2199296
SM
23532014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2354
2355 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2356
17b2616c
PA
23572014-05-21 Pedro Alves <palves@redhat.com>
2358
2359 PR gdb/13860
2360 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2361 (top level): Test that output related to execution commands is
2362 sent to the console with CLI commands, but not with MI commands.
2363 Test that breakpoint events are always mirrored to the console.
2364 Also expect the new source line to be output after a "next" in
2365 async mode too. Make it a pass/fail test.
2366 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2367 output.
2368 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2369
5166082f
PA
23702014-05-21 Pedro Alves <palves@redhat.com>
2371
2372 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2373 Use them to test variations of "list" after reaching a breakpoint.
2374 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2375 Test "list" with listsize 10 after reaching a breakpoint.
2376 * gdb.python/python.exp (decode_line current location line
2377 number): Adjust expected line number.
2378
2f25d70f
SM
23792014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2380
2381 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2382 behavior for $args, pass it directly to "run".
2383
ff604a67
MR
23842014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2385
2386 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2387 30000 to 65536.
2388
6a3cb8e8
PA
23892014-05-21 Pedro Alves <palves@redhat.com>
2390
2391 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2392 auto-connect-native-target off".
2393 * gdb.base/auto-connect-native-target.c: New file.
2394 * gdb.base/auto-connect-native-target.exp: New file.
2395
4ebfc96e
PA
23962014-05-21 Pedro Alves <palves@redhat.com>
2397
2398 * gdb.base/default.exp: Test "target native" instead of "target
2399 child".
2400
36d46afb
MW
24012014-05-21 Mark Wielaard <mjw@redhat.com>
2402
2403 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2404
5876f503
JK
24052014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2406
2407 Fix TLS access for -static -pthread.
2408 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2409 <HAVE_TLS> (thread_function, main): Initialize it.
2410 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2411 Add clean_restart.
2412 <$have_tls != "">: Check TLSVAR.
2413
0256a6ac
PA
24142014-05-21 Pedro Alves <palves@redhat.com>
2415
2416 * gdb.base/dcache-line-read-error.c: New.
2417 * gdb.base/dcache-line-read-error.exp: New.
2418
936d2992
PA
24192014-05-20 Pedro Alves <palves@redhat.com>
2420
2421 * gdb.base/compare-sections.c: New file.
2422 * gdb.base/compare-sections.exp: New file.
2423
802e8e6d
PA
24242014-05-20 Pedro Alves <palves@redhat.com>
2425
2426 * gdb.base/break-idempotent.c: New file.
2427 * gdb.base/break-idempotent.exp: New file.
2428
e59fa00f
MM
24292014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2430
2431 * gdb.btrace/nohist.exp: New.
2432
8b696e31
YQ
24332014-05-20 Yao Qi <yao@codesourcery.com>
2434
2435 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2436 gdb.reverse directory and gdb_reverse_timeout exists in board
2437 setting.
2438 * README: Document gdb_reverse_timeout.
2439
73c9764f
YQ
24402014-05-20 Yao Qi <yao@codesourcery.com>
2441
2442 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2443 'test_file_name'. Treat args as a string instead of a list.
2444 (gdb_init): Rename argument 'args' by 'test_file_name'.
2445
f1f4348a
JK
24462014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2447
2448 * gdb.arch/powerpc-power.exp: New file.
2449 * gdb.arch/powerpc-power.s: New file.
2450
0dbe70ce
DE
24512014-05-16 Doug Evans <dje@google.com>
2452
2453 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2454 * gdb.base/completion.exp: Check that all expected files exist
2455 before doing file completion.
0dbe70ce 2456
8d551b02
DE
24572014-05-16 Doug Evans <dje@google.com>
2458
2459 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2460 Update.
2461 (do_syscall_tests_without_xml): Update.
2462
73eb7709
PA
24632014-05-16 Pedro Alves <palves@redhat.com>
2464
2465 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2466 instead of "unknown output after running".
2467
3fae92fc
YQ
24682014-05-16 Yao Qi <yao@codesourcery.com>
2469
2470 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2471 file1.txt from host at the end.
2472 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2473
c2b2ccc5
DE
24742014-05-15 Doug Evans <dje@google.com>
2475
2476 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2477 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2478 loading file. Add test for TU lookup.
2479
8c217a4b
SM
24802014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2481
2482 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2483 calling "-exec-arguments" or "set args" before running the
2484 inferior.
2485
3deb39c6
SM
24862014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2487
2488 * lib/mi-support.exp (mi_expect_stop): Expect message for
2489 inferiors that exit with non-zero exit code.
2490
71a79f8c
YQ
24912014-05-14 Yao Qi <yao@codesourcery.com>
2492
2493 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2494 match absolute path on remote host.
2495 (test_file_list_exec_source_files): Remove "/" from the
2496 pattern.
2497
f23fcd46
YQ
24982014-05-14 Yao Qi <yao@codesourcery.com>
2499
2500 * boards/local-remote-host-notty.exp (${board}_file): New
2501 proc.
2502
9404b58f
KM
25032014-05-07 Kyle McMartin <kyle@redhat.com>
2504
2505 Pushed by Joel Brobecker <brobecker@adacore.com>.
2506 * gdb.arch/aarch64-atomic-inst.c: New file.
2507 * gdb.arch/aarch64-atomic-inst.exp: New file.
2508
5e45f04c
YQ
25092014-05-07 Yao Qi <yao@codesourcery.com>
2510
2511 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2512 in current context" too.
2513
c888a17d
KS
25142014-05-05 Keith Seitz <keiths@redhat.com>
2515
2516 * gdb.linespec/ls-dollar.exp: Add test for linespec
2517 file:convenience_variable.
2518
290a839c
YQ
25192014-05-05 Yao Qi <yao@codesourcery.com>
2520
2521 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2522 traceframes into tfile and ctf trace files. Read data from
2523 trace file and test collected data.
2524 (gdb_collect_locals_test): Likewise.
2525 (gdb_unavailable_registers_test): Likewise.
2526 (gdb_unavailable_floats): Likewise.
2527 (gdb_collect_globals_test): Likewise.
2528 (top-level): Append "ctf" to trace_file_targets if GDB
2529 supports.
2530
b5262cd0
YQ
25312014-05-05 Yao Qi <yao@codesourcery.com>
2532
2533 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2534 code to ...
2535 (gdb_collect_args_test_1): ... it. New proc.
2536 (gdb_collect_locals_test): Move some code to ...
2537 (gdb_collect_locals_test_1): ... it. New proc.
2538 (gdb_unavailable_registers_test): Move some code to ...
2539 (gdb_unavailable_registers_test_1): ... it. New proc.
2540 (gdb_unavailable_floats): Move some code to ...
2541 (gdb_unavailable_floats_1): ... it. New proc.
2542
30a1e6cc
SDJ
25432014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2544
2545 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2546 probes to test for bitness recognition.
2547 * gdb.arch/amd64-stap-optional-prefix.exp
2548 (test_probe_value_without_reg): New procedure.
2549 Add code to test for different kinds of bitness.
2550
f33da99a
SDJ
25512014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2552
2553 PR breakpoints/16889
2554 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2555 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2556
5b80f00d
PA
25572014-05-01 Pedro Alves <palves@redhat.com>
2558
2559 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2560 gdb_file_cmd if no file is specified.
2561 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2562 last_loaded_file to set the remote exec-file.
2563
f8c2a73c
PA
25642014-05-01 Pedro Alves <palves@redhat.com>
2565
2566 * boards/local-remote-host.exp: New file.
2567
be6e8ac7
PA
25682014-05-01 Pedro Alves <palves@redhat.com>
2569
2570 * boards/local-remote-host.exp: Rename to ...
2571 * boards/local-remote-host-notty.exp: ... this.
2572
cac0dc8f
JB
25732014-04-28 Joel Brobecker <brobecker@adacore.com>
2574
2575 * gdb.ada/dyn_arrayidx: New testcase.
2576
9730e6cc
YQ
25772014-04-26 Yao Qi <yao@codesourcery.com>
2578
2579 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2580 and compute the length of function main. Save it in
2581 $main_length.
2582 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2583 (top-level): Use gdb_compile to compile objects into
2584 executable and restart GDB. Remove invocation to
2585 prepare_for_testing.
2586
7ae1a6a6
PA
25872014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2588 Pedro Alves <palves@redhat.com>
2589
2590 PR server/16255
2591 * gdb.multi/multi-attach.c: New file.
2592 * gdb.multi/multi-attach.exp: New file.
2593
4082afcc
PA
25942014-04-25 Pedro Alves <palves@redhat.com>
2595
2596 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2597 user.
2598 (top level): Test that "set remote conditional-breakpoints-packet
2599 off" works as intended.
2600 * gdb.base/dprintf.exp: Test that "set remote
2601 breakpoint-commands-packet off" works as intended.
2602 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2603 New function.
2604 (top level): Call it.
2605 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2606 remote fast-tracepoints-packet off" works as intended.
2607 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2608 * lib/gdb.exp (gdb_is_target_remote): ... here.
2609
2abc3f8d
DB
26102014-04-24 David Blaikie <dblaikie@gmail.com>
2611
2612 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2613 ensure clang would not discard them.
2614 * gdb.base/gdbvars.c: Ditto.
2615 * gdb.base/memattr.c: Ditto.
2616 * gdb.base/whatis.c: Ditto.
2617 * gdb.python/py-prettyprint.c: Ditto.
2618 * gdb.trace/actions.c: Ditto.
2619 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2620 ensure clang would not discard it.
2621
bfd39632
DB
26222014-04-24 David Blaikie <dblaikie@gmail.com>
2623
2624 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2625 clang to emit the full definition of type required by the test
2626 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2627
22842ff6
DB
26282014-04-24 David Blaikie <dblaikie@gmail.com>
2629
2630 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2631 coax Clang into emitting the definition of the type.
2632 * gdb.cp/pr10728-x.h (y): Ditto.
2633 * gdb.cp/pr10728-y.cc (y): Ditto.
2634
c2e827ad
DB
26352014-04-24 David Blaikie <dblaikie@gmail.com>
2636
2637 * gdb.base/label.exp: XFAIL label related tests under Clang.
2638 * gdb.cp/cplabel.exp: Ditto.
2639 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2640 under Clang those using labels.
2641
4c2d33e7
YQ
26422014-04-25 Yao Qi <yao@codesourcery.com>
2643
2644 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2645 double_label.
2646 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2647 partial_label and double_label.
2648
56083b99
DB
26492014-04-24 David Blaikie <dblaikie@gmail.com>
2650
2651 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2652
25d4e99d
DB
26532014-04-24 David Blaikie <dblaikie@gmail.com>
2654
2655 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2656 of the function to work across GCC and Clang.
2657 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2658 pointer types (const void ** const V void **).
2659
01f9f808
MS
26602014-04-24 Michael Sturm <michael.sturm@mintel.com>
2661 Walfred Tedeschi <walfred.tedeschi@intel.com>
2662
2663 * Makefile.in (EXECUTABLES): Added i386-avx512.
2664 * gdb.arch/i386-avx512.c: New file.
2665 * gdb.arch/i386-avx512.exp: Likewise.
2666
4b48d439
KS
26672014-04-23 Keith Seitz <keiths@redhat.com>
2668
2669 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2670 (mi_make_breakpoint_table): New procedure.
2671 (mi_create_breakpoint): Use mi_make_breakpoint
2672 and return the result.
2673 (mi_make_breakpoint): New procedure.
2674 (mi_build_kv_pairs): New procedure.
2675
2676 * gdb.mi/mi-break.exp: Remove unused globals,
2677 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2678 All callers updated.
2679 * gdb.mi/mi-dprintf.exp: Use variable to track command
2680 number.
2681 Update all callers of mi_create_breakpoint and use
2682 mi_make_breakpoint_table.
2683 Remove any unused global variables.
2684 * gdb.mi/mi-nonstop.exp: Likewise.
2685 * gdb.mi/mi-nsintrall.exp: Likewise.
2686 * gdb.mi/mi-nsmoribund.exp: Likewise.
2687 * gdb.mi/mi-nsthrexec.exp: Likewise.
2688 * gdb.mi/mi-reverse.exp: Likewise.
2689 * gdb.mi/mi-simplerun.exp: Likewise.
2690 * gdb.mi/mi-stepn.exp: Likewise.
2691 * gdb.mi/mi-syn-frame.exp: Likewise.
2692 * gdb.mi/mi-until.exp: Likewise.
2693 * gdb.mi/mi-var-cp.exp: Likewise.
2694 * gdb.mi/mi-var-display.exp: Likewise.
2695 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2696 * gdb.mi/mi2-var-child.exp: Likewise.
2697 * gdb.mi/mi-vla-c99.exp: Likewise.
2698 * lib/mi-support.exp: Likewise.
2699
2700 From Ian Lance Taylor <iant@cygnus.com>:
2701 * lib/gdb.exp (parse_args): New procedure.
2702
08351840
PA
27032014-04-23 Pedro Alves <palves@redhat.com>
2704
2705 * gdb.base/break-unload-file.c: New file.
2706 * gdb.base/break-unload-file.exp: New file.
2707 * gdb.base/sym-file-lib.c (baz): New function.
2708 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2709 field.
2710 (load): Store the segment's mapped size.
2711 (unload): New function.
2712 (unload_shlib): New function.
2713 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2714 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2715 set a breakpoint at baz, and call it.
2716 * gdb.base/sym-file.exp: New tests for stale breakpoint
2717 instructions.
2718
076855f9
PA
27192014-04-23 Pedro Alves <palves@redhat.com>
2720
2721 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2722 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2723 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2724 * gdb.base/hbreak-unmapped.c: New file.
2725 * gdb.base/hbreak-unmapped.exp: New file.
2726 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2727 * lib/gdb.exp (gdb_is_target_remote): ... here.
2728
483805cf
PA
27292014-04-22 Pedro Alves <palves@redhat.com>
2730
2731 * gdb.base/consecutive-step-over.c: New file.
2732 * gdb.base/consecutive-step-over.exp: New file.
2733
06d97543
PA
27342014-04-22 Pedro Alves <palves@redhat.com>
2735
2736 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2737 instead of send_gdb/gdb_expect.
2738
b4429ea2
YQ
27392014-04-22 Yao Qi <yao@codesourcery.com>
2740
2741 * lib/trace-support.exp (generate_tracefile): New procedure.
2742 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2743 return 0.
2744 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2745 if generate_tracefile returns 1.
2746
51d48146
PA
27472014-04-18 Tom Tromey <palves@redhat.com>
2748 Pedro alves <tromey@redhat.com>
2749
2750 PR backtrace/15558
2751 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2752 with a backtrace limit.
2753 * gdb.python/py-frame-inline.exp: Test running to an inline
2754 function with a backtrace limit, and printing the newest frame.
2755 * gdb.python/py-frame-inline.c (main): Call f.
2756
bd1dce5f
MS
27572014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2758
2759 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2760
40d1a503
MS
27612014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2762
2763 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2764 Drop prefix from unsupported source file path.
2765
389b98f7
YQ
27662014-04-17 Yao Qi <yao@codesourcery.com>
2767
2768 * lib/gdb.exp (with_target_charset): New proc.
2769 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2770 with_target_charset.
2771 (test_print_strings): Likewise.
2772 (test_repeat_bytes): Likewise.
2773 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2774 for some tests.
2775
22869d73
KS
27762014-04-16 Keith Seitz <keiths@redhat.com>
2777
2778 PR gdb/15827
2779 * gdb.dwarf2/corrupt.c: New file.
2780 * gdb.dwarf2/corrupt.exp: New file.
2781
c4f87ca6
KS
27822014-04-16 Keith Seitz <keiths@redhat.com>
2783
2784 PR c++/16597
2785 * gdb.cp/namelessclass.cc: New file.
2786 * gdb.cp/namelessclass.exp: New file.
2787 * gdb.cp/namelessclass.S: New file.
2788
ab19de87
DE
27892014-04-16 Doug Evans <dje@google.com>
2790
2791 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2792 Add comment.
2793 (gdbserver_default_get_comm_port): New function.
2794 (gdbserver_start): Check if board file provided
2795 "gdbserver,get_comm_port" and use it if so.
2796 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2797 (gdb,socketport): Set to "stdio".
2798 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2799 (stdio_gdbserver_template): Delete.
2800 (${board}_get_remote_address): Update.
2801 (${board}_build_remote_cmd): Delete.
2802 (${board}_get_comm_port): New function.
2803 (${board}_spawn): Update.
2804 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2805 Delete.
2806 (${board}_get_remote_address): Update.
2807 (${board}_get_comm_port): New function.
2808
fc98a809
AB
28092014-04-16 Andrew Burgess <aburgess@broadcom.com>
2810
2811 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2812 appearing in any order.
2813
87fd9e6e
DE
28142014-04-15 Doug Evans <dje@google.com>
2815
2816 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2817 uninitialized value of "description".
2818
099fc3ea
KS
28192014-04-15 Keith Seitz <keiths@redhat.com>
2820
2821 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2822 Remove unused globals.
2823 (test_running_the_program): Likewise.
2824 (test_controlled_execution): Likewise.
2825 (test_controlling_breakpoints): Likewise.
2826 (test_program_termination): Likewise.
2827
5da151d4
KS
28282014-04-15 Keith Seitz <keiths@redhat.com>
2829
2830 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2831 unused globals.
2832 (test_rbreak_creation_and_listing): Likewise.
2833 (test_ignore_count): Likewise.
2834 (test_error): Likewise.
2835
35e5d2f0
PA
28362014-04-15 Pedro Alves <palves@redhat.com>
2837
2838 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2839 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2840 sym-file-loader.c.
2841 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2842 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2843 to sym-file-loader.c.
2844 (struct library): Forward declare.
2845 (load_shlib, lookup_function): Change prototypes.
2846 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2847 (translate_offset): Remove declarations.
2848 (get_text_addr): New declaration.
2849 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2850 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2851 sym-file-loader.h.
2852 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2853 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2854 here from sym-file-loader.h.
2855 (struct library): New structure.
2856 (load_shlib, lookup_function): Change prototypes and adjust to
2857 work with a struct library.
2858 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2859 (translate_offset): Make static.
2860 (get_text_addr): New function.
2861 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2862
eb4c1710
PA
28632014-04-15 Pedro Alves <palves@redhat.com>
2864
2865 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2866
2d1baf52
PA
28672014-04-15 Pedro Alves <palves@redhat.com>
2868
2869 * gdb.base/sym-file-loader.c: Include <limits.h>.
2870 (SELF_LINK): New define.
2871 (get_origin): New function.
2872 (load_shlib): Use it.
2873 * gdb.base/sym-file.exp: Don't early return if the target is
2874 remote. Use runto_main, and issue fail is that fails. Use
2875 gdb_load_shlibs.
2876 (shlib_name): Delete.
2877 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2878
7dd6df01
PA
28792014-04-15 Pedro Alves <palves@redhat.com>
2880
2881 * gdb.base/sym-file.exp: Remove regex characters from test
2882 message. Don't refer to breakpoint numbers in test messages.
2883
b50c8614
KS
28842014-04-14 Keith Seitz <keiths@redhat.com>
2885
2886 PR c++/16253
2887 * gdb.cp/var-tag.cc: New file.
2888 * gdb.cp/var-tag.exp: New file.
2889 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2890 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2891 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2892 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2893
3d567982
TT
28942014-04-14 Tom Tromey <tromey@redhat.com>
2895
2896 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2897 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2898 type.
2899 * gdb.cp/enum-class.exp: New file.
2900 * gdb.cp/enum-class.cc: New file.
2901
0626fc76
TT
29022014-04-14 Tom Tromey <tromey@redhat.com>
2903
2904 * gdb.dwarf2/enum-type.exp: New file.
2905
dca325b3
SA
29062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2907
2908 * gdb.mi/mi-vla-c99.exp: New file.
2909 * gdb.mi/vla.c: New file.
2910
5854b38a
SA
29112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2912
2913 * gdb.base/vla-datatypes.c: New file.
2914 * gdb.base/vla-datatypes.exp: New file.
2915
463bb957
SA
29162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2917
2918 * gdb.base/vla-ptr.c: New file.
2919 * gdb.base/vla-ptr.exp: New file.
2920
3dd170be
SA
29212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2922
2923 * gdb.dwarf2/count.exp: New file.
2924
5ecaaa66
SA
29252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2926
2927 * gdb.base/vla-sideeffect.c: New file.
2928 * gdb.base/vla-sideeffect.exp: New file.
2929
41f1ada5
DB
29302014-04-14 David Blaikie <dblaikie@gmail.com>
2931
2932 * gdb.mi/non-stop.c: Add return value for non-void function return
2933 statement.
2934 * gdb.threads/staticthreads.c: Ditto.
2935
0be03e84
DE
29362014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2937 Doug Evans <xdje42@gmail.com>
2938
2939 * gdb.guile/scm-value.c: Improve test case.
2940 * gdb.guile/scm-value.exp: Add new test.
2941
f180a1fb
DB
29422014-04-11 David Blaikie <dblaikie@gmail.com>
2943
2944 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2945 override Clang's default.
2946
6b662e19
JB
29472014-04-11 Joel Brobecker <brobecker@adacore.com>
2948
2949 Revert the following changes (regressions):
2950
2951 * gdb.base/vla-sideeffect.c: New file.
2952 * gdb.base/vla-sideeffect.exp: New file.
2953
2954 * gdb.dwarf2/count.exp: New file.
2955
2956 * gdb.base/vla-multi.c: New file.
2957 * gdb.base/vla-multi.exp: New file.
2958
2959 * gdb.base/vla-ptr.c: New file.
2960 * gdb.base/vla-ptr.exp: New file.
2961
2962 * gdb.base/vla-datatypes.c: New file.
2963 * gdb.base/vla-datatypes.exp: New file.
2964
2965 * gdb.mi/mi-vla-c99.exp: New file.
2966 * gdb.mi/vla.c: New file.
2967
245a5f0b
KS
29682014-04-11 Keith Seitz <keiths@redhat.com>
2969
2970 PR c++/16675
2971 * gdb.cp/cpsizeof.exp: New file.
2972 * gdb.cp/cpsizeof.cc: New file.
2973
58a84dcf
SA
29742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2975
191a8a90
JB
2976 * gdb.mi/mi-vla-c99.exp: New file.
2977 * gdb.mi/vla.c: New file.
58a84dcf 2978
c8655f75
SA
29792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2980
2981 * gdb.base/vla-datatypes.c: New file.
2982 * gdb.base/vla-datatypes.exp: New file.
2983
024e13b4
SA
29842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2985
2986 * gdb.base/vla-ptr.c: New file.
2987 * gdb.base/vla-ptr.exp: New file.
2988
1a237e0e
SA
29892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2990
2991 * gdb.base/vla-multi.c: New file.
2992 * gdb.base/vla-multi.exp: New file.
2993
504f3432
SA
29942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2995
2996 * gdb.dwarf2/count.exp: New file.
2997
3bce8237
SA
29982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2999
191a8a90
JB
3000 * gdb.base/vla-sideeffect.c: New file.
3001 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3002
322f9c21
YQ
30032014-04-11 Yao Qi <yao@codesourcery.com>
3004
3005 * gdb.base/completion.exp: Check file exists before running tests
3006 on file completion.
3007
d708bcd1
PA
30082014-04-10 Pedro Alves <palves@redhat.com>
3009
3010 * gdb.base/cond-eval-mode.c: New file.
3011 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3012 prepare_for_testing to build the new file. Check result of
3013 runto_main.
3014 (test_break, test_watch): New procedures.
3015 (top level): Use them.
3016
ae1d2761
PM
30172014-04-08 Pierre Muller <muller@sourceware.org>
3018
3019 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3020 Ctrl-V use for mingw hosts.
3021
7af389b8
SC
30222014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3023
3024 * gdb.python/py-value.c: Improve test case.
3025 * gdb.python/py-value.exp: Add new test.
3026
5e703181
DE
30272014-04-07 David Blaikie <dblaikie@gmail.com>
3028
3029 * lib/compiler.c: Identify the clang compiler.
3030 * lib/compiler.cc: Ditto.
3031
9810b410
YQ
30322014-04-03 Yao Qi <yao@codesourcery.com>
3033
3034 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3035
98d1b8dc
AB
30362014-04-01 Anton Blanchard <anton@samba.org>
3037
3038 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3039 messages unique.
3040
3114cea1
AB
30412014-04-01 Anton Blanchard <anton@samba.org>
3042
3043 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3044 prepare_for_testing.
3045
62f7182c
AB
30462014-04-01 Anton Blanchard <anton@samba.org>
3047
3048 * gdb.arch/ppc64-atomic-inst.c: Remove.
3049 * gdb.arch/ppc64-atomic-inst.S: New file.
3050 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3051
770e7fc7
DE
30522014-03-31 Doug Evans <dje@google.com>
3053
3054 * gdb.base/print-symbol-loading-lib.c: New file.
3055 * gdb.base/print-symbol-loading-main.c: New file.
3056 * gdb.base/print-symbol-loading.exp: New file.
3057
46e2bafa
YQ
30582014-03-31 Yao Qi <yao@codesourcery.com>
3059
3060 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3061
8776cfe9
JB
30622014-03-28 Joel Brobecker <brobecker@adacore.com>
3063
3064 * gdb.ada/mi_dyn_arr: New testcase.
3065
5d1ef361
DE
30662014-03-27 Doug Evans <dje@google.com>
3067
3068 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3069
b5bee914
YQ
30702014-03-27 Yao Qi <yao@codesourcery.com>
3071
3072 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3073 if target is nios2-*-*.
3074
0d4d0e77
YQ
30752014-03-26 Yao Qi <yao@codesourcery.com>
3076
3077 * lib/gdb.exp (readline_is_used): New proc.
3078 * gdb.base/completion.exp: Move tests on command complete up.
3079 Skip the rest of tests if readline is not used.
3080 * gdb.ada/complete.exp: Skp the test if readline is not
3081 used.
3082 * gdb.base/filesym.exp: Likewise.
3083 * gdb.base/macscp.exp: Likewise.
3084 * gdb.base/readline-ask.exp: Likewise.
3085 * gdb.base/readline.exp: Likewise.
3086 * gdb.python/py-cmd.exp: Likewise.
3087 * gdb.trace/tfile.exp: Likewise.
3088
29361eee
YQ
30892014-03-26 Yao Qi <yao@codesourcery.com>
3090
3091 * gdb.base/macscp.exp: Fix code format issues.
3092
bc9a5525
UW
30932014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3094
3095 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3096 * gdb.asm/powerpc64le.inc: New file.
3097
d3839ede
PA
30982014-03-25 Pedro Alves <palves@redhat.com>
3099 Doug Evans <dje@google.com>
3100
3101 * gdb.base/source-execution.c: New file.
3102 * gdb.base/source-execution.exp: New file.
3103 * gdb.base/source-execution.gdb: New file.
3104
01672a57
DE
31052014-03-24 Doug Evans <dje@google.com>
3106
3107 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3108 using fission.
3109
88bbeca9
HZ
31102014-03-24 Hui Zhu <hui@codesourcery.com>
3111 Pedro Alves <palves@redhat.com>
3112
3113 PR breakpoints/16101
3114 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3115 test pass/fail messages. Detect missing support for dprintf when
3116 breakpoints are actually inserted.
3117 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3118 breakpoints are actually inserted.
3119 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3120 fails.
3121
d2348791
JK
31222014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3123
3124 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3125
feef67ab
DE
31262014-03-22 Doug Evans <xdje42@gmail.com>
3127
3128 * gdb.python/python.exp (python not supported): Verify multi-line
3129 python command issues an error.
25d743f9 3130 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3131 guile command issues an error.
feef67ab 3132
ecebef6a
MR
31332014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3134
3135 * gdb.threads/thread-specific.exp: Handle the lack of usable
3136 $this_breakpoint and $this_thread.
3137
ccdd1909
HZ
31382014-03-21 Hui Zhu <hui@codesourcery.com>
3139
3140 * gdb.base/attach.exp (do_command_attach_tests): New.
3141
beb460e8
PA
31422014-03-20 Tom Tromey <tromey@redhat.com>
3143 Pedro Alves <palves@redhat.com>
3144
3145 PR cli/15718
3146 * gdb.base/condbreak-call-false.c: New file.
3147 * gdb.base/condbreak-call-false.exp: New file.
3148
40acf43a
PA
31492014-03-20 Pedro Alves <palves@redhat.com>
3150
3151 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3152 Delete.
3153 (block_signals, unblock_signals): Delete.
3154 (child_function_2, main): Remove references to deleted variable
3155 and functions.
3156
9f5e1e02
PA
31572014-03-20 Pedro Alves <palves@redhat.com>
3158
3159 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3160 Use pthread_kill to signal thread 2.
3161 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3162 Adjust to make the test send itself a signal rather than using the
3163 host's "kill" command.
3164
99619bea
PA
31652014-03-20 Pedro Alves <palves@redhat.com>
3166
3167 * gdb.threads/multiple-step-overs.c: New file.
3168 * gdb.threads/multiple-step-overs.exp: New file.
3169 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3170 Adjust expected infrun debug output.
3171
2adfaa28
PA
31722014-03-20 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3175 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3176
31e77af2
PA
31772014-03-20 Pedro Alves <palves@redhat.com>
3178
3179 PR breakpoints/7143
3180 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3181 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3182 of gdb_test_multiple.
3183 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3184 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3185
b9f437de
PA
31862014-03-20 Pedro Alves <palves@redhat.com>
3187
3188 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3189 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3190
05adc73e
PA
31912014-03-19 Pedro Alves <palves@redhat.com>
3192
3193 * gdb.base/async.exp: Remove early return.
3194
6048b950
PA
31952014-03-19 Pedro Alves <palves@redhat.com>
3196
3197 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3198
8bcfb00a
PA
31992014-03-19 Pedro Alves <palves@redhat.com>
3200
3201 * gdb.base/async.exp (test_background): Expect \r\n after
3202 "completed." in the fail pattern.
3203
884e37dc
PA
32042014-03-19 Pedro Alves <palves@redhat.com>
3205
3206 * gdb.base/async.exp (test_background): New procedure.
3207 Use it for all background execution command tests.
3208
148e57e2
PA
32092014-03-19 Pedro Alves <palves@redhat.com>
3210
3211 * gdb.base/async.exp: Use prepare_for_testing.
3212
f48088c7
PA
32132014-03-19 Pedro Alves <palves@redhat.com>
3214
3215 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3216 the same line.
3217
e2f6c966
PA
32182014-03-19 Pedro Alves <palves@redhat.com>
3219
3220 * gdb.base/async.c (main): Add "jump here" and "until here" line
3221 marker comments.
3222 * gdb.base/async.exp (jump_here): New global.
3223 (jump& test): Use it.
3224 (until_here): New global.
3225 (until& test): Use it.
3226
c30568d4
PA
32272014-03-19 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.base/async.exp: Don't frob gdb_protocol.
3230
0172b6a7
DE
32312014-03-18 Doug Evans <xdje42@gmail.com>
3232
3233 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3234 Fix spelling of exec-done-display.
3235
06c868a8
JK
32362014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3237
3238 PR gdb/15358
3239 * gdb.base/gdb-sigterm.c: New file.
3240 * gdb.base/gdb-sigterm.exp: New file.
3241
0c7e1a46
PA
32422014-03-18 Pedro Alves <palves@redhat.com>
3243
3244 PR gdb/13860
3245 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3246 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3247 solib-event.
3248
f7c77d93
JB
32492014-03-17 Joel Brobecker <brobecker@adacore.com>
3250
3251 * gdb.ada/pckd_arr_ren: New testcase.
3252
5a1e8c7a
DE
32532014-03-13 Doug Evans <xdje42@gmail.com>
3254
3255 PR guile/16612
3256 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3257 collect after discarding symbols.
3258
350e1a76
DE
32592014-03-13 Ludovic Courtès <ludo@gnu.org>
3260 Doug Evans <xdje42@gmail.com>
3261
3262 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3263 to history survives a gc.
3264
a69900ae
PA
32652014-03-13 Pedro Alves <palves@redhat.com>
3266
3267 * gdb.base/default.exp: Don't test "target procfs".
3268
5db9f0bd
PA
32692014-03-13 Pedro Alves <palves@redhat.com>
3270
3271 * gdb.base/default.exp: Update "target child" and "target procfs"
3272 tests to not expect "Unix".
3273
b3ccfe11
TT
32742014-03-12 Tom Tromey <tromey@redhat.com>
3275
3276 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3277 New procs. Add target-async tests.
3278 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3279 Add target-async tests.
3280
646f4417
AA
32812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3282
3283 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3284 'func_start' and 'func_end' for the beginning and end of the
3285 function code, respectively.
3286 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3287 'func_end' instead of 'func' and 'main'.
3288
288c211f
AA
32892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3290
3291 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3292 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3293 generate the debug info assembler source.
3294
e0c0f156
AA
32952014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3296
3297 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3298 * gdb.dwarf2/arr-subrange.exp: Likewise.
3299 * gdb.dwarf2/dwz.exp: Likewise.
3300 * gdb.dwarf2/method-ptr.exp: Likewise.
3301 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3302 * gdb.dwarf2/subrange.exp: Likewise.
3303 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3304 * gdb.dwarf2/implptrpiece.exp: Likewise.
3305 * gdb.dwarf2/nostaticblock.exp: Likewise.
3306
0e5c4555
AA
33072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3308
3309 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3310 directory to absolute path name arguments.
3311
5ec18f2b
JG
33122014-03-10 Joel Brobecker <brobecker@adacore.com>
3313
3314 * gdb.ada/tagged_access: New testcase.
3315
847fc4f2
MM
33162014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3317
3318 * gdb.btrace/data.exp: Update expected output.
3319
cc3da688
YQ
33202014-03-06 Yao Qi <yao@codesourcery.com>
3321
3322 * gdb.trace/pr16508.exp: New file.
3323
0f26cec1
PA
33242014-03-05 Pedro Alves <palves@redhat.com>
3325
3326 PR gdb/16575
3327 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3328 procedure.
3329 (top level): Adjust to use it. Add tests that exercise breakpoint
3330 interaction with the code-cache.
3331
7a5a839f
LC
33322014-02-26 Ludovic Courtès <ludo@gnu.org>
3333
3334 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3335 test for 'history-append!'.
3336
31aa7e4e
JB
33372014-02-26 Joel Brobecker <brobecker@adacore.com>
3338
3339 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3340 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3341 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3342 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3343 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3344 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3345
1b588015
JB
33462014-02-26 Joel Brobecker <brobecker@adacore.com>
3347
3348 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3349 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3350 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3351
55426c9d
JB
33522014-02-26 Joel Brobecker <brobecker@adacore.com>
3353
3354 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3355
dc53a7ad
JB
33562014-02-26 Joel Brobecker <brobecker@adacore.com>
3357
3358 * gdb.dwarf2/arr-stride.c: New file.
3359 * gdb.dwarf2/arr-stride.exp: New file.
3360
12ab52e9
PA
33612014-02-26 Pedro Alves <palves@redhat.com>
3362
3363 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3364 that won't ever trigger. Make sure that GDB reports the correct
3365 breakpoint that caused the stop.
3366
849c862e
JK
33672014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3368
3369 PR gdb/16626
3370 * gdb.base/auto-load-script: New file.
3371 * gdb.base/auto-load.c: New file.
3372 * gdb.base/auto-load.exp: New file.
3373
71b7d793
JK
3374 PR gdb/16626
3375 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3376
e2f0d509
JK
33772014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3378
3379 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3380 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3381
50cc37c8
DE
33822014-02-24 Doug Evans <dje@google.com>
3383
3384 * lib/gdb.exp (run_on_host): Log error output if program fails.
3385
ea4758f2
PA
33862014-02-21 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.threads/step-after-sr-lock.c: Rename to ...
3389 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3390 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3391 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3392 ... this.
3393
d7b30f67
SDJ
33942014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3395
3396 PR tdep/16397
3397 * gdb.arch/amd64-stap-special-operands.exp: New file.
3398 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3399 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3400 * gdb.arch/amd64-stap-triplet.S: Likewise.
3401 * gdb.arch/amd64-stap-triplet.c: Likewise.
3402
83deb43f
JB
34032014-02-20 Joel Brobecker <brobecker@adacore.com>
3404
3405 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3406 in .section pseudo-op.
3407
adde2bff
DE
34082014-02-20 lin zuojian <manjian2006@gmail.com>
3409 Joel Brobecker <brobecker@adacore.com>
3410 Doug Evans <xdje42@gmail.com>
3411
3412 PR symtab/16581
3413 * gdb.dwarf2/dw2-icycle.S: New file.
3414 * gdb.dwarf2/dw2-icycle.c: New file.
3415 * gdb.dwarf2/dw2-icycle.exp: New file.
3416
f7bd0f78
SC
34172014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3418
3419 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3420 operations on gdb.Value objects.
3421 * gdb.python/py-value-cc.exp: Add new test to test operations on
3422 gdb.Value objects.
3423
c17ef0d5
DE
34242014-02-18 Doug Evans <dje@google.com>
3425
3426 * Makefile.in (TESTS): New variable.
3427 (expanded_tests, expanded_tests_or_none): New variables
3428 (check-single): Pass $(expanded_tests_or_none) to runtest.
3429 (check-parallel): Only run tests in $(TESTS) if non-empty.
3430 (check/no-matching-tests-found): New rule.
3431 * README: Document TESTS makefile variable.
3432
5dd3176f
DE
34332014-02-18 Doug Evans <dje@google.com>
3434
3435 * Makefile.in (check-parallel): rm -rf outputs temp.
3436
0b10be4f
JK
34372014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3438
3439 Fix "ERROR: no fileid for" in the testsuite.
3440 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3441
85f224e7
DE
34422014-02-12 Doug Evans <dje@google.com>
3443
3444 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3445 (MISCELLANEOUS): New variable.
3446 (clean): rm -rf $(MISCELLANEOUS).
3447 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3448 dwp live in the same directory as symlinks, with each symlink pointed
3449 to a differently named file in a different directory.
3450
149b30ff
DE
34512014-02-11 Doug Evans <dje@google.com>
3452
3453 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3454 of Tcl file commands.
3455
1dfdac32
MK
34562014-02-10 Mark Kettenis <kettenis@gnu.org>
3457
3458 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3459 "kill -SIGUSR1 -1".
3460
aa4fb036
JB
34612014-02-10 Joel Brobecker <brobecker@adacore.com>
3462
3463 * gdb.ada/tick_length_array_enum_idx: New testcase.
3464
ed3ef339
DE
34652014-02-10 Doug Evans <xdje42@gmail.com>
3466
3467 * configure.ac (AC_OUTPUT): Add gdb.guile.
3468 * configure: Regenerate.
3469 * lib/gdb-guile.exp: New file.
3470 * lib/gdb.exp (get_target_charset): New function.
3471 * gdb.base/help.exp: Update expected output from "apropos apropos".
3472 * gdb.guile/Makefile.in: New file.
3473 * gdb.guile/guile.exp: New file.
3474 * gdb.guile/scm-arch.c: New file.
3475 * gdb.guile/scm-arch.exp: New file.
3476 * gdb.guile/scm-block.c: New file.
3477 * gdb.guile/scm-block.exp: New file.
3478 * gdb.guile/scm-breakpoint.c: New file.
3479 * gdb.guile/scm-breakpoint.exp: New file.
3480 * gdb.guile/scm-disasm.c: New file.
3481 * gdb.guile/scm-disasm.exp: New file.
3482 * gdb.guile/scm-equal.c: New file.
3483 * gdb.guile/scm-equal.exp: New file.
3484 * gdb.guile/scm-error.exp: New file.
3485 * gdb.guile/scm-error.scm: New file.
3486 * gdb.guile/scm-frame-args.c: New file.
3487 * gdb.guile/scm-frame-args.exp: New file.
3488 * gdb.guile/scm-frame-args.scm: New file.
3489 * gdb.guile/scm-frame-inline.c: New file.
3490 * gdb.guile/scm-frame-inline.exp: New file.
3491 * gdb.guile/scm-frame.c: New file.
3492 * gdb.guile/scm-frame.exp: New file.
3493 * gdb.guile/scm-generics.exp: New file.
3494 * gdb.guile/scm-gsmob.exp: New file.
3495 * gdb.guile/scm-iterator.c: New file.
3496 * gdb.guile/scm-iterator.exp: New file.
3497 * gdb.guile/scm-math.c: New file.
3498 * gdb.guile/scm-math.exp: New file.
3499 * gdb.guile/scm-objfile-script-gdb.in: New file.
3500 * gdb.guile/scm-objfile-script.c: New file.
3501 * gdb.guile/scm-objfile-script.exp: New file.
3502 * gdb.guile/scm-objfile.c: New file.
3503 * gdb.guile/scm-objfile.exp: New file.
3504 * gdb.guile/scm-ports.exp: New file.
3505 * gdb.guile/scm-pretty-print.c: New file.
3506 * gdb.guile/scm-pretty-print.exp: New file.
3507 * gdb.guile/scm-pretty-print.scm: New file.
3508 * gdb.guile/scm-section-script.c: New file.
3509 * gdb.guile/scm-section-script.exp: New file.
3510 * gdb.guile/scm-section-script.scm: New file.
3511 * gdb.guile/scm-symbol.c: New file.
3512 * gdb.guile/scm-symbol.exp: New file.
3513 * gdb.guile/scm-symtab-2.c: New file.
3514 * gdb.guile/scm-symtab.c: New file.
3515 * gdb.guile/scm-symtab.exp: New file.
3516 * gdb.guile/scm-type.c: New file.
3517 * gdb.guile/scm-type.exp: New file.
3518 * gdb.guile/scm-value-cc.cc: New file.
3519 * gdb.guile/scm-value-cc.exp: New file.
3520 * gdb.guile/scm-value.c: New file.
3521 * gdb.guile/scm-value.exp: New file.
3522 * gdb.guile/source2.scm: New file.
3523 * gdb.guile/types-module.cc: New file.
3524 * gdb.guile/types-module.exp: New file.
3525
7026a7c1
YQ
35262014-02-10 Yao Qi <yao@codesourcery.com>
3527
3528 PR testsuite/16543
3529 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3530 * configure: Regenerated.
3531 * Makefile.in: New file.
3532
6c466447
AS
35332014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3534
3535 * gdb.python/py-framefilter.exp: Fix typo.
3536
6e854735
YQ
35372014-02-08 Yao Qi <yao@codesourcery.com>
3538
3539 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3540 that no =breakpoint-modified is emitted when breakpoints are
3541 modified through MI commands.
3542
d137e6dc
PA
35432014-02-07 Pedro Alves <pedro@codesourcery.com>
3544 Pedro Alves <palves@redhat.com>
3545
3546 * gdb.threads/step-after-sr-lock.c: New file.
3547 * gdb.threads/step-after-sr-lock.exp: New file.
3548
b5ee5a50
PA
35492014-02-07 Pedro Alves <palves@redhat.com>
3550
3551 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3552
3c77faf3
JK
35532014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3554
3555 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3556 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3557
6dddc817
DE
35582014-02-06 Doug Evans <xdje42@gmail.com>
3559
3560 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3561 output.
3562
3563 * gdb.gdb/python-interrupts.exp: New file.
3564
de7b2893
YQ
35652014-02-05 Yao Qi <yao@codesourcery.com>
3566
3567 * gdb.trace/report.exp (use_collected_data): Test the output
3568 of "info threads" and "info inferiors".
3569
66d032ac
YQ
35702014-02-05 Yao Qi <yao@codesourcery.com>
3571
3572 Revert this patch:
3573
3574 2013-05-24 Yao Qi <yao@codesourcery.com>
3575
3576 * gdb.trace/tfile.exp: Test inferior and thread.
3577
591a12a1
UW
35782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3579
3580 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3581 on a function.
3582 * gdb.base/step-bt.c: Call hello via function pointer to make
3583 sure its first instruction is executed on powerpc64le-linux.
3584
0ff3e01f
UW
35852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3586
3587 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3588
084ee545
UW
35892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3590
3591 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3592 of the test patterns for use on little-endian systems.
3593
6ed14ff3
UW
35942014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3595
3596 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3597 (decimal_vector): Fix for little-endian.
3598
401e27fd
JM
35992014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3600
3601 * gdb.arch/sparc-sysstep.exp: New file.
3602 * gdb.arch/sparc-sysstep.c: Likewise.
3603
3604 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3605
8b924729
EBM
36062014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3607
3608 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3609
fb151210
JB
36102014-01-23 Tom Tromey <tromey@redhat.com>
3611
3612 * gdb.ada/array_char_idx: New testcase.
3613
0740f8d8
TT
36142014-01-23 Tom Tromey <tromey@redhat.com>
3615
3616 PR python/16487:
3617 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3618 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3619 classes.
3620
21909fa1
TT
36212014-01-23 Tom Tromey <tromey@redhat.com>
3622
3623 PR python/16491:
3624 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3625 string from an inferior frame.
3626 * gdb.python/py-framefilter-mi.exp: Update.
3627
87ce2a04
DE
36282014-01-22 Doug Evans <dje@google.com>
3629
3630 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3631
237b092b
AA
36322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3633
3634 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3635
d674a709
AA
36362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3637
3638 * gdb.trace/entry-values.exp: Remove excess space character from
3639 regex patterns. Handle s390 call instruction.
3640
20fa3390
AA
36412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3642
3643 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3644 define "*_start" label. Make "name" static.
3645 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3646 ${name} by references to ${name}_start.
3647
78466714
AA
36482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3649
3650 * gdb.base/info-macros.exp: Remove "debug" from the compile
3651 options.
3652
ec9f644a
IB
36532014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3654
3655 * gdb.dlang/demangle.exp: New file.
3656
94b1b47e
IB
36572014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3658
3659 * gdb.dlang/primitive-types.exp: New file.
3660
7f420862
IB
36612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3662
3663 * configure.ac: Create gdb.dlang/Makefile.
3664 * configure: Regenerate.
3665 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3666 * gdb.dlang/Makefile.in: New file.
3667 * lib/d-support.exp: New file.
3668 * lib/gdb.exp (skip_d_tests): New proc.
3669
52834460
MM
36702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3671
3672 * gdb.btrace/delta.exp: Check reverse stepi.
3673 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3674 * gdb.btrace/finish.exp: New.
3675 * gdb.btrace/next.exp: New.
3676 * gdb.btrace/nexti.exp: New.
3677 * gdb.btrace/record_goto.c: Add comments.
3678 * gdb.btrace/step.exp: New.
3679 * gdb.btrace/stepi.exp: New.
3680 * gdb.btrace/multi-thread-step.c: New.
3681 * gdb.btrace/multi-thread-step.exp: New.
3682 * gdb.btrace/rn-dl-bind.c: New.
3683 * gdb.btrace/rn-dl-bind.exp: New.
3684 * gdb.btrace/data.c: New.
3685 * gdb.btrace/data.exp: New.
3686 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3687
6e07b1d2
MM
36882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3689
3690 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3691 * gdb.btrace/exception.exp: Update.
3692 * gdb.btrace/instruction_history.exp: Update.
3693 * gdb.btrace/record_goto.exp: Update.
3694 * gdb.btrace/tailcall.exp: Update.
3695 * gdb.btrace/unknown_functions.exp: Update.
3696 * gdb.btrace/delta.exp: New.
3697
0b722aec
MM
36982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3699
3700 * gdb.btrace/record_goto.exp: Add backtrace test.
3701 * gdb.btrace/tailcall.exp: Add backtrace test.
3702
066ce621
MM
37032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3704
3705 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3706 * gdb.btrace/record_goto.c: New.
3707 * gdb.btrace/record_goto.exp: New.
3708 * gdb.btrace/x86-record_goto.S: New.
3709
0688d04e
MM
37102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3711
3712 * gdb.btrace/function_call_history.exp: Update tests.
3713 * gdb.btrace/instruction_history.exp: Update tests.
3714
8710b709
MM
37152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3716
3717 * gdb.btrace/function_call_history.exp: Fix expected field
3718 order for "record function-call-history".
3719 Add new tests for "record function-call-history /c".
3720 * gdb.btrace/exception.cc: New.
3721 * gdb.btrace/exception.exp: New.
3722 * gdb.btrace/tailcall.exp: New.
3723 * gdb.btrace/x86-tailcall.S: New.
3724 * gdb.btrace/x86-tailcall.c: New.
3725 * gdb.btrace/unknown_functions.c: New.
3726 * gdb.btrace/unknown_functions.exp: New.
3727 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3728
5de9129b
MM
37292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3730
3731 * gdb.btrace/instruction_history.exp: Update.
3732 * gdb.btrace/function_call_history.exp: Update.
3733
23a7fe75
MM
37342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3735
3736 * gdb.btrace/function_call_history.exp: Fix expected function
3737 trace.
3738 * gdb.btrace/instruction_history.exp: Initialize traced.
3739 Remove traced_functions.
3740
724c7dd8
MM
37412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3742
3743 * gdb.btrace/function_call_history.exp: Update
3744 * gdb.btrace/instruction_history.exp: Update.
3745
6d78d93b
MM
37462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3747
3748 * gdb.btrace/enable.exp: Update expected text.
3749
93a360cc
OJ
37502014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3751
3752 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3753 bytes.
3754
3772b53f
MR
37552014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3756
3757 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3758
596662fa
OJ
37592014-01-15 Omair Javaid <omair.javaid@linaro.org>
3760
3761 * lib/gdb.exp (supports_process_record): Return true for
3762 arm*-linux*. (supports_reverse): Likewise.
3763
b5b08fb4
SC
37642014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3765
3766 PR python/15464
3767 PR python/16113
3768 * gdb.python/py-type.c: Enhance test case.
3769 * gdb.python/py-value-cc.cc: Likewise
3770 * gdb.python/py-type.exp: Add new tests.
3771 * gdb.python/py-value-cc.exp: Likewise
3772
52d7fb13
AA
37732014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3774 Pedro Alves <palves@redhat.com>
3775
3776 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3777 Make "name" extern.
3778 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3779 references to ${name}_start by references to ${name}.
3780
a2cd8cfe
JB
37812014-01-10 Joel Brobecker <brobecker@adacore.com>
3782
3783 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3784
4e23fced
JB
37852014-01-10 Joel Brobecker <brobecker@adacore.com>
3786
3787 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3788
c6a9e42c
PA
37892014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3790 Pedro Alves <palves@redhat.com>
3791
3792 * gdb.mi/mi-info-os.exp: Connect to the target with
3793 mi_gdb_target_load.
3794
b7ea362b
PA
37952014-01-08 Pedro Alves <palves@redhat.com>
3796
3797 * gdb.threads/reconnect-signal.c: New file.
3798 * gdb.threads/reconnect-signal.exp: New file.
3799
5e3f4fab
EBM
38002014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3801
3802 * gdb.base/source-dir.exp: New file.
3803
79301218
JB
38042014-01-07 Joel Brobecker <brobecker@adacore.com>
3805
3806 * gdb.ada/mi_interface: New testcase.
3807
8e355c5d
JB
38082014-01-07 Joel Brobecker <brobecker@adacore.com>
3809
3810 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3811 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3812 gdb.ada/pp-rec-component/pck.ads: New files.
3813
c0d48811
JB
38142014-01-07 Joel Brobecker <brobecker@adacore.com>
3815
3816 * gdb.python/py-pp-integral.c: New file.
3817 * gdb.python/py-pp-integral.py: New file.
3818 * gdb.python/py-pp-integral.exp: New file.
3819
17b609c3 3820For older changes see ChangeLog-1993-2013.
c906108c 3821\f
8d8cb839
EZ
3822;; Local Variables:
3823;; mode: change-log
3824;; left-margin: 8
3825;; fill-column: 74
3826;; version-control: never
3827;; End:
902f2ccb 3828
32d0add0 3829 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
3830 Copying and distribution of this file, with or without modification,
3831 are permitted provided the copyright notice and this notice are preserved.