[gdbserver] linux-low.c: better starvation avoidance, handle non-stop mode too
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
a7b796db
PA
12015-01-09 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4 the global scope. Set a breakpoint after all threads are started
5 rather than stepping over two source lines. Expect the prompt.
6 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7 global.
8 (NUM): Now 15.
9 (main): Use threads_started_barrier to wait for all threads to
10 start. Main thread no longer calls thread_function. Exit after
11 180 seconds.
12 (loop): New function.
13 (thread_function): Wait on threads_started_barrier barrier. Call
14 'loop' at each iteration.
15 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16 threads have started, instead of hardcoding number of "next"
17 steps. Use an access watchpoint instead of a write watchpoint.
18
9665ffdd
PA
192015-01-09 Pedro Alves <palves@redhat.com>
20
21 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
22 (thread_func): Wait on barrier.
23 (main): Wait for all threads to start before stopping GDB.
24 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
25 global.
26 (thread1_func, thread2_func): Wait on barrier.
27 (main): Wait for all threads to start before stopping GDB.
28 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
29 New global.
30 (thread1_func, thread2_func): Wait on barrier.
31 (main): Wait for all threads to start before stopping GDB.
32
c945a99f
PA
332015-01-09 Pedro Alves <palves@redhat.com>
34
35 * gdb.threads/attach-many-short-lived-threads.c: New file.
36 * gdb.threads/attach-many-short-lived-threads.exp: New file.
37
c1a747c1
PA
382014-01-09 Pedro Alves <palves@redhat.com>
39
40 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
41 instead of to thread 2.
42 * gdb.threads/signal-command-multiple-signals-pending.c (main):
43 Add barrier around each pthread_create call instead of around all
44 calls.
45 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
46 Set a break on thread_function and have the child threads hit it
47 one at at a time.
48
60b3033e
PA
492015-01-09 Pedro Alves <palves@redhat.com>
50
51 * lib/gdb.exp (can_spawn_for_attach): New procedure.
52 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
53 false.
54 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
55 checking whether the target board is remote.
56 * gdb.multi/multi-attach.exp: Likewise.
57 * gdb.python/py-sync-interp.exp: Likewise.
58 * gdb.server/ext-attach.exp: Likewise.
59 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
60 tests that need to attach, instead of checking whether the target
61 board is remote at the top of the file.
62
acc018ac
YQ
632015-01-08 Yao Qi <yao@codesourcery.com>
64
65 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
66
50a18af8
JK
672015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
68
69 Fix testcase compilation.
70 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
71
8503d6e1
JB
722015-01-06 Joel Brobecker <brobecker@adacore.com>
73
74 * gdb.python/py-type.exp: Add a couple test about empty
75 array creation, and negative-length array creation.
76
cc73dbcc
DE
772015-01-02 Doug Evans <xdje42@gmail.com>
78
79 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
80
0300bbc7
DE
812015-01-02 Doug Evans <dje@google.com>
82
83 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
84
9d85a0ec
YQ
852014-12-29 Yao Qi <yao@codesourcery.com>
86
87 * gdb.trace/entry-values.exp: Update comments. Rename variable
88 bar_call_foo to returned_from_foo.
89
87186c6a
MMN
902014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
91
92 PR gdb/17394
93 * gdb.linespec/break-asm-file.c: New file.
94 * gdb.linespec/break-asm-file.exp: New file.
95 * gdb.linespec/break-asm-file0.s: New file.
96 * gdb.linespec/break-asm-file1.s: New file.
97
1bab7383
YQ
982014-12-18 Nigel Stephens <nigel@mips.com>
99 Maciej W. Rozycki <macro@codesourcery.com>
100
101 * gdb.base/float.exp: Handle the new output from "info float" on
102 MIPS targets.
103
1bc1068a
JK
1042014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
105
106 Fix MinGW compilation.
107 * gdb.compile/compile-ops.exp: Update untested message if
108 !skip_compile_feature_tests.
109 * gdb.compile/compile-setjmp.exp: Likewise.
110 * gdb.compile/compile-tls.exp: Likewise.
111 * gdb.compile/compile.exp: Likewise.
112 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
113 supported on this host".
114
b6615d10
DE
1152014-12-16 Doug Evans <xdje42@gmail.com>
116
117 * boards/stabs.exp: New file.
118
25dda427
AA
1192014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
120
121 * gdb.base/completion.exp: Adjust to format changes of "maint
122 print user-registers".
123
bf330350
CU
1242014-12-16 Catalin Udma <catalin.udma@freescale.com>
125
126 PR server/17457
127 * gdb.arch/aarch64-fp.c: New file.
128 * gdb.arch/aarch64-fp.exp: New file.
129
395cf596
SDJ
1302014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
131
132 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
133 r210637, r210913, r211666, r215400, r215817).
134
135 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
136 * dg-extract-results.py: New file.
137 * dg-extract-results.sh: Use it if the environment seems
138 suitable.
139
140 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
141
142 * dg-extract-results.py (parse_run): Handle warnings that
143 are printed before a test harness is run.
144
145 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
146
147 * dg-extract-results.py (Named): Remove __cmp__ method.
148 (output_variation): Use a key to sort variation.harnesses.
149
150 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
151
152 * dg-extract-results.py: For Python 3, force sys.stdout to
153 handle surrogate escape sequences.
154 (safe_open): New function.
155 (output_segment, main): Use it.
156
157 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
158
159 * dg-extract-results.py (Prog.result_re): Include options
160 in test name.
161
162 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
163
164 * dg-extract-results.py (output_variation): Always sort if
165 do_sum.
166
e882ef3c
SM
1672014-12-15 Simon Marchi <simon.marchi@ericsson.com>
168
169 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
170 as long as we get pagination notifications.
171
4992aa20
JM
1722014-12-15 Jason Merrill <jason@redhat.com>
173
174 * Makefile.in (check-gdb.%): Restore.
175 * README: Mention it.
176
c1b5a1a6
JB
1772014-12-13 Joel Brobecker <brobecker@adacore.com>
178
179 * gdb.ada/str_uninit: New testcase.
180
5537b577
JK
1812014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
182
183 PR symtab/17642
184 * gdb.base/vla-stub-define.c: New file.
185 * gdb.base/vla-stub.c: New file.
186 * gdb.base/vla-stub.exp: New file.
187
bb2ec1b3
TT
1882014-12-12 Phil Muldoon <pmuldoon@redhat.com>
189 Jan Kratochvil <jan.kratochvil@redhat.com>
190 Tom Tromey <tromey@redhat.com>
191
192 * configure.ac: Add gdb.compile/.
193 * configure: Regenerate.
194 * gdb.compile/Makefile.in: New file.
195 * gdb.compile/compile-ops.exp: New file.
196 * gdb.compile/compile-ops.c: New file.
197 * gdb.compile/compile-tls.c: New file.
198 * gdb.compile/compile-tls.exp: New file.
199 * gdb.compile/compile-constvar.S: New file.
200 * gdb.compile/compile-constvar.c: New file.
201 * gdb.compile/compile-mod.c: New file.
202 * gdb.compile/compile-nodebug.c: New file.
203 * gdb.compile/compile-setjmp-mod.c: New file.
204 * gdb.compile/compile-setjmp.c: New file.
205 * gdb.compile/compile-setjmp.exp: New file.
206 * gdb.compile/compile-shlib.c: New file.
207 * gdb.compile/compile.c: New file.
208 * gdb.compile/compile.exp: New file.
209 * lib/gdb.exp (skip_compile_feature_tests): New proc.
210
4ff709eb
TT
2112014-12-12 Tom Tromey <tromey@redhat.com>
212
213 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
214 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
215
6dddd6a5
DE
2162014-12-12 Doug Evans <dje@google.com>
217
218 * lib/gdb-python.exp (get_python_valueof): New function.
219 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
220
71c24708
AA
2212014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
222
223 * gdb.base/completion.exp: Add test for completion of "info
224 registers ".
225
3e29f34a
MR
2262014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
227
228 * gdb.base/func-ptrs.c: New file.
229 * gdb.base/func-ptrs.exp: New file.
230
fc126975
SM
2312014-12-10 Simon Marchi <simon.marchi@ericsson.com>
232
233 PR breakpoints/17012
234 * gdb.base/dprintf-detach.c: New file.
235 * gdb.base/dprintf-detach.exp: New file.
236
0a46d518
SM
2372014-12-10 Simon Marchi <simon.marchi@ericsson.com>
238
239 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
240 * lib/gdb.exp (target_is_gdbserver): New procedure.
241
a0be3e44
DE
2422014-12-08 Doug Evans <dje@google.com>
243
244 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
245
df1b803a
YQ
2462014-12-05 Yao Qi <yao@codesourcery.com>
247
248 * gdb.guile/scm-error.exp: Remove the third argument to
249 gdb_remote_download.
250 * gdb.guile/scm-frame-args.exp: Likewise.
251 * gdb.guile/scm-section-script.exp: Likewise.
252
ddb9f679
YQ
2532014-12-05 Yao Qi <yao@codesourcery.com>
254
255 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
256
86e4ed39
DE
2572014-12-04 Doug Evans <dje@google.com>
258
259 * gdb.python/py-objfile.exp: Add tests for
260 objfile.add_separate_debug_file.
261
7c50a931
DE
2622014-12-04 Doug Evans <dje@google.com>
263
264 * lib/gdb.exp (get_build_id): New function.
265 (build_id_debug_filename_get): Rewrite to use it.
266 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
267
621661e3
MR
2682014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
269
270 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
271 `method(long)', not just 0x0.
272 * gdb.cp/nsalias.exp: Align code labels to 4.
273 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
274 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
275 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
276 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
277 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
278 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
279
29f0c3b7
DE
2802014-12-02 Doug Evans <dje@google.com>
281
e1e061e7 282 PR symtab/17602
29f0c3b7 283 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 284 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
285 * gdb.cp/anon-ns.exp: Update.
286
162078c8
NB
2872014-12-02 Nick Bull <nicholaspbull@gmail.com>
288
289 * gdb.python/py-events.py (inferior_call_handler): New.
290 (register_changed_handler, memory_changed_handler): New.
291 (test_events.invoke): Register new handlers.
292 * gdb.python/py-events.exp: Add tests for inferior call,
293 memory_changed and register_changed events.
294
fdb09caf
AA
2952014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
296
297 * gdb.base/execl-update-breakpoints.exp: Specify the link address
298 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
299 if the linker doesn't understand this.
300
55cfb2c4
SM
3012014-12-01 Simon Marchi <simon.marchi@ericsson.com>
302
303 * gdb.python/python.exp: Change expected reply to help().
304
9e8cd6df
YQ
3052014-12-01 Yao Qi <yao@codesourcery.com>
306
307 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
308 AC_CONFIG_SUBDIRS(gdb.gdbtk).
309 * configure: Re-generated.
310
6c659fc2
SC
3112014-11-28 Siva Chandra Reddy <sivachandra@google.com>
312
313 * gdb.cp/chained-calls.cc: New file.
314 * gdb.cp/chained-calls.exp: New file.
315 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
316
d7fc3181
SM
3172014-11-28 Simon Marchi <simon.marchi@ericsson.com>
318
319 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
320 * gdb.dwarf2/symtab-producer.exp: Same.
321 * gdb.gdb/python-interrupts.exp: Same.
322 * gdb.gdb/python-selftest.exp: Same.
323 * gdb.python/py-linetable.exp: Same.
324 * gdb.python/py-type.exp: Same.
325 * gdb.python/py-value-cc.exp: Same.
326 * gdb.python/py-value.exp: Same.
327
10e79639
YQ
3282014-11-28 Yao Qi <yao@codesourcery.com>
329
330 * gdb.base/break-probes.exp: Match library name prefixed with
331 sysroot.
332
f28a0564
SM
3332014-11-27 Simon Marchi <simon.marchi@ericsson.com>
334
335 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
336 test expected output. Add parentheses for the call to print.
337 Remove L suffix from integers.
338
3fe1ce1d
DE
3392014-11-26 Doug Evans <dje@google.com>
340
341 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
342
84429e27
YQ
3432014-11-22 Yao Qi <yao@codesourcery.com>
344
345 * gdb.trace/entry-values.c: Remove asms.
346 (foo): Add foo_label.
347 (bar): Add bar_label.
348 * gdb.trace/entry-values.exp: Remove code computing foo's
349 length and bar's length.
350 (Dwarf::assemble): Invoke function_range for bar and use
351 MACRO_AT_func for foo.
352
26741859
YQ
3532014-11-22 Yao Qi <yao@codesourcery.com>
354
355 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
356 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
357 Use .Lgcc43_procstart instead of gcc43.
358
45e44d27
JB
3592014-11-21 Joel Brobecker <brobecker@adacore.com>
360
361 * gdb.ada/n_arr_bound: New testcase.
362
458c8db8
SDJ
3632014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
364
365 PR breakpoints/10737
366 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
367 test_catch_syscall_multi_arch.
368 (test_catch_syscall_multi_arch): New function.
369
43f3e411
DE
3702014-11-20 Doug Evans <xdje42@gmail.com>
371
372 * gdb.base/maint.exp: Update expected output.
373
0d7b2549
AA
3742014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
375
376 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
377 4-byte instruction on S390.
378
8908fca5
JB
3792014-11-19 Joel Brobecker <brobecker@adacore.com>
380
381 * gdb.ada/arr_arr: New testcase.
382
4a46959e
JB
3832014-11-19 Joel Brobecker <brobecker@adacore.com>
384
385 * gdb.ada/pkd_arr_elem: New Testcase.
386
470e2f4e
LM
3872014-11-18 Luis Machado <lgustavo@codesourcery.com>
388
389 * gdb.reverse/break-precsave: Expect completion message for
390 core file reads.
391 * gdb.reverse/consecutive-precsave.exp: Likewise.
392 * gdb.reverse/finish-precsave.exp: Likewise.
393 * gdb.reverse/i386-precsave.exp: Likewise.
394 * gdb.reverse/machinestate-precsave.exp: Likewise.
395 * gdb.reverse/sigall-precsave.exp: Likewise.
396 * gdb.reverse/solib-precsave.exp: Likewise.
397 * gdb.reverse/step-precsave.exp: Likewise.
398 * gdb.reverse/until-precsave.exp: Likewise.
399 * gdb.reverse/watch-precsave.exp: Likewise.
400
a267f3ad
AA
4012014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
402
403 * gdb.base/bp-permanent.c: Include unistd.h.
404 * gdb.python/py-framefilter-mi.c (main): Add return type.
405 * gdb.python/py-framefilter.c (main): Likewise.
406 * gdb.trace/actions-changed.c (main): Likewise.
407
12084a9a
AA
4082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
409
410 * gdb.mi/until.c: Add eye-catchers.
411 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
412 line numbers.
413
dc7e1a77
AA
4142014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
415
416 * gdb.base/condbreak.exp: Drop references to removed non-prototype
417 function header variants in break1.c.
418 * gdb.base/ena-dis-br.exp: Likewise.
419 * gdb.base/hbreak2.exp: Likewise.
420 * gdb.reverse/until-precsave.exp: Drop references to removed
421 non-prototype function header variants in ur1.c.
422 * gdb.reverse/until-reverse.exp: Likewise.
423
41c77605
PM
4242014-11-17 Petr Machata <pmachata@redhat.com>
425
426 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
427 ${_cu_offset_size} bytes abbrev offset.
428
34248c3a
DE
4292014-11-15 Doug Evans <xdje42@gmail.com>
430
431 PR symtab/17559
432 * gdb.base/line-symtabs.exp: New file.
433 * gdb.base/line-symtabs.c: New file.
434 * gdb.base/line-symtabs.h: New file.
435
646da059
YQ
4362014-11-14 Yao Qi <yao@codesourcery.com>
437
438 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
439 (func): Add label func_label.
440 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
441 Replace low_pc and high_pc with MACRO_AT_range.
442 Replace name, low_pc and high_pc with MACRO_AT_func.
443
9301ebe6
YQ
4442014-11-14 Yao Qi <yao@codesourcery.com>
445
446 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
447 Replace name, low_pc and high_pc with MACRO_AT_func.
448
f166b542
YQ
4492014-11-14 Yao Qi <yao@codesourcery.com>
450
451 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
452 produce debug information.
453 * gdb.dwarf2/implptr-optimized-out.S: Removed.
454
0f6e71e3
YQ
4552014-11-14 Yao Qi <yao@codesourcery.com>
456
457 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
458 object and get function length.
459 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
460 with MACRO_AT_func.
461 (top-level): Replace gdb_compile and clean_restart with
462 prepare_for_testing.
463 * gdb.dwarf2/main.c (main): Add label main_label.
464
876c4df9
YQ
4652014-11-14 Yao Qi <yao@codesourcery.com>
466
467 * lib/dwarf.exp (function_range): New procedure.
468 (Dwarf::_handle_macro_at_func): New procedure.
469 (Dwarf::_handle_macro_at_range): New procedure.
470 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
471
02ad9cf1
YQ
4722014-11-14 Yao Qi <yao@codesourcery.com>
473
474 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
475 (_handle_attribute): New procedure.
476
a59add0c
AA
4772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
478
479 * gdb.ada/cond_lang/foo.c (callme): Add return type.
480 * gdb.base/call-sc.c (zed): Likewise.
481 * gdb.base/checkpoint.c (main): Likewise.
482 * gdb.base/dump.c (main): Likewise.
483 * gdb.base/gcore.c (main): Likewise.
484 * gdb.base/huge.c (main): Likewise.
485 * gdb.base/multi-forks.c (main): Likewise.
486 * gdb.base/pr10179-a.c (main): Likewise.
487 * gdb.base/savedregs.c (main): Likewise.
488 * gdb.base/sigaltstack.c (main): Likewise.
489 * gdb.base/siginfo.c (main): Likewise.
490 * gdb.base/structs.c (zed): Likewise.
491 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
492 * gdb.mi/mi-syn-frame.c (main): Likewise.
493 * gdb.mi/until.c (foo, main): Likewise.
494 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
495 * gdb.base/solib-weak.c (foo): Declare.
496 * gdb.base/attach-twice.c: Include stdio.h.
497 * gdb.base/weaklib1.c: Likewise.
498 * gdb.base/weaklib2.c: Likewise.
499 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
500 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
501 unistd.h.
502 * gdb.base/attach-pie-misread.c: Include stdlib.h.
503 * gdb.mi/mi-exit-code.c: Likewise.
504 * gdb.base/break-interp-lib.c: Include string.h.
505 * gdb.base/coremaker.c: Likewise.
506 * gdb.base/testenv.c: Likewise.
507 * gdb.python/py-finish-breakpoint.c: Likewise.
508 * gdb.base/inferior-died.c: Include sys/wait.h.
509 * gdb.base/fileio.c: Include time.h.
510 * gdb.base/async-shell.c: Include unistd.h.
511 * gdb.base/dprintf-non-stop.c: Likewise.
512 * gdb.base/info-os.c: Likewise.
513 * gdb.mi/mi-console.c: Likewise.
514 * gdb.mi/watch-nonstop.c: Likewise.
515 * gdb.python/py-events.c: Likewise.
516 * gdb.base/async.c (baz): Move up before its invocation.
517 * gdb.base/code_elim2.c (my_global_func): Likewise.
518 * gdb.base/skip-solib-lib.c (multiply): Likewise.
519 * gdb.base/advance.c (func2): Likewise.
520
3b5d5997
AA
5212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
522
523 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
524 variant.
525 * gdb.base/annota3.c: Likewise.
526 * gdb.base/async.c: Likewise.
527 * gdb.base/average.c: Likewise.
528 * gdb.base/call-ar-st.c: Likewise.
529 * gdb.base/call-rt-st.c: Likewise.
530 * gdb.base/call-sc.c: Likewise.
531 * gdb.base/call-strs.c: Likewise.
532 * gdb.base/ending-run.c: Likewise.
533 * gdb.base/execd-prog.c: Likewise.
534 * gdb.base/exprs.c: Likewise.
535 * gdb.base/foll-exec.c: Likewise.
536 * gdb.base/foll-fork.c: Likewise.
537 * gdb.base/foll-vfork.c: Likewise.
538 * gdb.base/funcargs.c: Likewise.
539 * gdb.base/gcore.c: Likewise.
540 * gdb.base/jump.c: Likewise.
541 * gdb.base/langs0.c: Likewise.
542 * gdb.base/langs1.c: Likewise.
543 * gdb.base/langs2.c: Likewise.
544 * gdb.base/mips_pro.c: Likewise.
545 * gdb.base/nodebug.c: Likewise.
546 * gdb.base/opaque0.c: Likewise.
547 * gdb.base/opaque1.c: Likewise.
548 * gdb.base/recurse.c: Likewise.
549 * gdb.base/run.c: Likewise.
550 * gdb.base/scope0.c: Likewise.
551 * gdb.base/scope1.c: Likewise.
552 * gdb.base/setshow.c: Likewise.
553 * gdb.base/setvar.c: Likewise.
554 * gdb.base/shmain.c: Likewise.
555 * gdb.base/shr1.c: Likewise.
556 * gdb.base/shr2.c: Likewise.
557 * gdb.base/sigall.c: Likewise.
558 * gdb.base/signals.c: Likewise.
559 * gdb.base/so-indr-cl.c: Likewise.
560 * gdb.base/solib2.c: Likewise.
561 * gdb.base/structs.c: Likewise.
562 * gdb.base/sum.c: Likewise.
563 * gdb.base/vforked-prog.c: Likewise.
564 * gdb.base/watchpoint.c: Likewise.
565 * gdb.reverse/shr2.c: Likewise.
566 * gdb.reverse/until-reverse.c: Likewise.
567 * gdb.reverse/ur1.c: Likewise.
568 * gdb.reverse/watch-reverse.c: Likewise.
569
066a77c5
AA
5702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
571
572 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
573 variant.
574 * gdb.base/sepdebug.exp: Drop references to removed code.
575
4f204ea5
AA
5762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
577
578 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
579 variant. Preserve original line numbering.
580 * gdb.base/list1.c: Likewise.
581
3b377a3a
AA
5822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
583
584 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
585 variant.
586 * gdb.base/break1.c: Likewise.
587 * gdb.base/break.exp: Drop references to removed code.
588
e444df73
AA
5892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
590
591 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
592 variant.
593
8008f2a7
AA
5942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
595
596 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
597
a5a06887
AA
5982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
599
600 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
601 logic into perform_all_tests() and invoke it with and without
602 function header prototypes.
603 (do_function_calls): Remove conditional XFAIL for PR 5318.
604 (rerun_and_prepare): Remove duplicate code.
605 (perform_all_tests): New. Main logic moved here.
606
44dba9b9
AA
6072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
608
609 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
610 code guarded by #ifdef NO_PROTOTYPES.
611 (t_double_many_args): Likewise.
612 (DEF_FUNC_MANY_ARGS_1): Likewise.
613 (DEF_FUNC_VALUES_1): Likewise.
614 (t_structs_ldc): Renamed from t_structs_fc in conditional code
615 guarded by #ifdef PROTOTYPES.
616
d1fbcd56
AA
6172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
618
619 * gdb.mi/mi-console.c: Add eye-catcher.
620 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
621 instead of literal line number.
622
b0e59b8f
AA
6232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
624
625 * gdb.base/shr2.c: Add eye-catcher.
626 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
627 line number.
628
78f98cca
AA
6292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
630
631 * gdb.base/jump.c: Add eye-catchers.
632 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
633 numbers.
634
58fa2af0
AA
6352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
636
637 * gdb.base/execd-prog.c: Add eye-catchers.
638 * gdb.base/foll-exec.c: Likewise.
639 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
640 line numbers.
641
04e5059b
AA
6422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
643
644 * gdb.base/ending-run.c: Add eye-catchers.
645 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
646 literal line numbers.
647
dbfdb174
AA
6482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
649
650 * gdb.base/call-rt-st.c: Add eye-catchers.
651 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
652 literal line numbers.
653
888a2ade
AA
6542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
655
656 * gdb.base/call-ar-st.c: Add eye-catchers.
657 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
658 literal line numbers.
659
6acc2dde
AA
6602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
661
662 * gdb.base/average.c: Add eye-catchers.
663 * gdb.base/sum.c: Likewise.
664 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
665 regexps dynamically.
666
9ecfcd1d
AA
6672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
668
669 * gdb.base/solib1.c: Add eye-catchers.
670 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
671 literal line numbers.
672
78708b7c
PA
6732014-11-12 Pedro Alves <palves@redhat.com>
674
675 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
676 leader has exited.
677
af48d08f
PA
6782014-11-12 Pedro Alves <palves@redhat.com>
679
680 * gdb.arch/i386-bp_permanent.c: New file.
681 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
682 (srcfile): Set to i386-bp_permanent.c.
683 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
684 that stepi does not execute the 'leave' instruction, instead of
685 testing it does execute.
686 * gdb.base/bp-permanent.c: New file.
687 * gdb.base/bp-permanent.exp: New file.
688
af3768e9
DE
6892014-11-10 Doug Evans <xdje42@gmail.com>
690
691 PR symtab/17564
692 * gdb.base/symtab-search-order.exp: New file.
693 * gdb.base/symtab-search-order.c: New file.
694 * gdb.base/symtab-search-order-1.c: New file.
695 * gdb.base/symtab-search-order-shlib-1.c: New file.
696
9de00a4a
PA
6972014-11-07 Pedro Alves <palves@redhat.com>
698
699 PR gdb/17511
700 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
701 i?86-*-linux*.
702
e0f52461
SC
7032014-11-03 Siva Chandra Reddy <sivachandra@google.com>
704
705 PR c++/17494
706 * gdb.cp/pr17494.cc: New file.
707 * gdb.cp/pr17494.exp: New file.
708
6ce8c980
YQ
7092014-11-02 Yao Qi <yao@codesourcery.com>
710
711 * gdb.python/python.exp: Get working directory and match the
712 output of "set extended-prompt \\w " with it.
713
02be9a71
DE
7142014-10-30 Doug Evans <dje@google.com>
715
716 * gdb.python/py-objfile.exp: Add tests for setting random attributes
717 in objfiles.
718 * gdb.python/py-progspace.exp: Add tests for setting random attributes
719 in progspaces.
720
3bdff46b
LM
7212014-10-30 Janis Johnson <janisjo@codesourcery.com>
722
723 * gdb.base/fullpath-expand.exp: Skip for a remote host.
724 * gdb.base/realname-expand.exp: Likewise.
725 * gdb.linespec/macro-relative.exp: Likewise.
726
ab917dfb
PA
7272014-10-29 Pedro Alves <palves@redhat.com>
728
729 PR gdb/17408
730 * gdb.threads/schedlock.c (some_function): New function.
731 (call_function): New global.
732 (MAYBE_CALL_SOME_FUNCTION): New macro.
733 (thread_function): Call it.
734 * gdb.threads/schedlock.exp (get_args): Add description parameter,
735 and use it instead of a global counter. Adjust all callers.
736 (get_current_thread): Use "find current thread" for test message
737 here rather than having all callers pass down the same string.
738 (goto_loop): New procedure, factored out from ...
739 (my_continue): ... this.
740 (step_ten_loops): Change parameter from test message to command to
741 use. Adjust.
742 (list_count): Delete global.
743 (check_result): New procedure, factored out from duplicate top
744 level code.
745 (continue tests): Wrap in with_test_prefix.
746 (test_step): New procedure, factored out from duplicate top level
747 code.
748 (top level): Test "step" in combination with all scheduler-locking
749 modes. Test "next" in combination with all scheduler-locking
750 modes, and in combination with stepping over a function call or
751 not.
752 * gdb.threads/next-bp-other-thread.c: New file.
753 * gdb.threads/next-bp-other-thread.exp: New file.
754
d3d4baed
PA
7552014-10-29 Pedro Alves <palves@redhat.com>
756
757 PR python/17372
758 * gdb.python/python.exp: Test a multi-line command that spawns
759 interactive Python.
760 * gdb.base/multi-line-starts-subshell.exp: New file.
761
563e8d85
YQ
7622014-10-29 Yao Qi <yao@codesourcery.com>
763
764 * gdb.base/fileio.exp: Make directories on host.
765
0ea4d52e
YQ
7662014-10-29 Yao Qi <yao@codesourcery.com>
767
768 * gdb.base/fileio.c (test_write): Close the file.
769
7f5ef605
PA
7702014-10-28 Pedro Alves <palves@redhat.com>
771
772 PR gdb/12623
773 * gdb.base/sigstep.c (no_handler): New global.
774 (main): If 'no_handler is true, set the signal handlers to
775 SIG_IGN.
776 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
777 with_sw_watch and no_handler parameters. Handle them.
778 (top level) <stepping over handler when stopped at a breakpoint
779 test>: Add a test axis for testing with a software watchpoint, and
780 another for testing with the signal handler set to SIG_IGN.
781 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
782 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
783
abbdbd03
PA
7842014-10-28 Pedro Alves <palves@redhat.com>
785
786 PR gdb/17511
787 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
788 * gdb.base/sigstep.exp (other_handler_location): New global.
789 (advance): Support stepping into the signal handler, and running
790 commands while in the handler.
791 (in_handler_map): New global.
792 (top level): In the advance test, add combinations for getting
793 into the handler with stepping commands, and for running commands
794 in the handler. Add comment descripting the advancei tests.
795
1df4399f
PA
7962014-10-28 Pedro Alves <palves@redhat.com>
797
798 * gdb.base/sigstep.exp: Use build_executable instead of
799 prepare_for_testing.
800 (top level): Move code that starts GDB, runs to main and creates a
801 display to ...
802 (restart): ... this new procedure.
803 (top level): Move backtrace from signal handler test to ...
804 (validate_backtrace): ... this new procedure.
805 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
806 with_test_prefix. Always restart GDB.
807 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
808 with_test_prefix. Always restart GDB. No need to delete
809 breakpoints after the test.
810 (test_skip_handler): Remove prefix parameter.
811 (skip_over_handler, breakpoint_to_handler)
812 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
813 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
814 restart GDB. No need to delete breakpoints after the test.
815 (top level): Use foreach to call the test procedures with
816 different commands.
817
a5b6e449
PA
8182014-10-28 Pedro Alves <palves@redhat.com>
819
820 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
821 instead of GNATS numbers.
822 * gdb.base/sigbpt.exp: Likewise.
823 * gdb.base/siginfo.exp: Likewise.
824 * gdb.base/sigstep.exp: Likewise.
825
e5f8a7cc
PA
8262014-10-27 Pedro Alves <palves@redhat.com>
827
828 * gdb.base/sigstep.c (dummy): New global.
829 (main): Issue a couple writes to the new global.
830 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
831 procedures.
832 (skip_over_handler): Use test_skip_handler.
833 (top level): Call skip_over_handler for stepi and nexti too.
834 (breakpoint_over_handler): Use test_skip_handler.
835 (top level): Call breakpoint_over_handler for stepi and nexti too.
836
763905a3
YQ
8372014-10-27 Yao Qi <yao@codesourcery.com>
838
839 * gdb.trace/tfile.c (adjust_function_address)
840 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
841 function descriptor.
842
6f259a23
DB
8432014-10-24 Don Breazeal <donb@codesourcery.com>
844
845 * gdb.base/foll-fork.exp (test_follow_fork,
846 catch_fork_child_follow): Check for updated fork messages emitted
847 from infrun.c.
848 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
849 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
850 vfork_and_exec_child_follow_through_step): Check for updated vfork
851 messages emitted from infrun.c.
852
09dd9a69
PA
8532014-10-24 Pedro Alves <palves@redhat.com>
854
855 * gdb.base/corefile.exp: Remove references to ultrix.
856 * gdb.base/interrupt.exp: Likewise.
857 * gdb.base/whatis.exp: Likewise.
858 * gdb.gdb/selftest.exp: Likewise.
859 * gdb.threads/manythreads.exp: Likewise.
860 * gdb.threads/print-threads.exp: Likewise.
861 * gdb.threads/pthreads.exp:: Likewise.
862 * gdb.threads/schedlock.exp: Likewise.
863
3433cfa5
SC
8642014-10-24 Siva Chandra Reddy <sivachandra@google.com>
865
866 * gdb.cp/non-trivial-retval.cc: Add a test case.
867 * gdb.cp/non-trivial-retval.exp: Add a test.
868
092f880b
YQ
8692014-10-20 Yao Qi <yao@codesourcery.com>
870
871 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
872 * gdb.python/py-objfile-script-gdb.py: New file.
873 * gdb.python/py-objfile-script.exp: Update reference to
874 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
875 of remote_download. Remove the dest file.
876
acbdb7f3
YQ
8772014-10-20 Yao Qi <yao@codesourcery.com>
878
879 * gdb.base/checkpoint.exp: Don't remove file copied on host.
880 * gdb.base/step-line.exp: Likewise.
881 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
882 * gdb.dwarf2/dw2-basic.exp: Likewise.
883 * gdb.dwarf2/dw2-compressed.exp: Likewise.
884 * gdb.dwarf2/dw2-filename.exp: Likewise.
885 * gdb.dwarf2/dw2-intercu.exp: Likewise.
886 * gdb.dwarf2/dw2-intermix.exp: Likewise.
887 * gdb.dwarf2/dw2-producer.exp: Likewise.
888 * gdb.dwarf2/mac-fileno.exp: Likewise.
889 * gdb.python/py-frame-args.exp: Likewise.
890 * gdb.python/py-framefilter.exp: Likewise.
891 * gdb.python/py-mi.exp: Likewise.
892 * gdb.python/py-objfile-script.exp: Likewise
893 * gdb.python/py-pp-integral.exp: Likewise.
894 * gdb.python/py-pp-re-notag.exp: Likewise.
895 * gdb.python/py-prettyprint.exp: Likewise.
896 * gdb.python/py-section-script.exp: Likewise.
897 * gdb.python/py-typeprint.exp: Likewise.
898 * gdb.python/py-xmethods.exp: Likewise.
899 * gdb.stabs/weird.exp: Likewise.
900 * gdb.xml/tdesc-regs.exp: Likewise.
901
bd286a29
KCY
9022014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
903
904 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
905 (out_cu): Use addr_len for the size of addresses.
906 (out_line): Likewise. Size DW_LNE_set_address instruction
907 according to addr_len.
908 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
909 (FUNC): Add START_INSNS to definition.
910
673dc4a0
YQ
9112014-10-18 Yao Qi <yao@codesourcery.com>
912
913 * gdb.base/argv0-symlink.exp: Check argv[0] value if
914 gdb_has_argv0 return true.
915 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
916 check [target_info exists noargs], check [gdb_has_argv0]
917 instead.
918 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
919 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
920 procedures.
921
4ffbba72
DE
9222014-10-17 Doug Evans <dje@google.com>
923
924 * gdb.python/py-events.exp: Update expected output for clear_objfiles
925 event.
926 * gdb.python/py-events.py: Add clear_objfiles event.
927
d096d8c1
DE
9282014-10-17 Doug Evans <dje@google.com>
929
930 * gdb.python/py-objfile.exp: Test progspace attribute.
931
a80db015
LM
9322014-10-17 Luis Machado <lgustavo@codesourcery.com>
933
934 * gdb.guile/scm-breakpoint.exp: Do not assume any
935 directory separators when matching source file paths.
936 * gdb.python/py-breakpoint.exp: Likewise.
937 * gdb.reverse/break-precsave.exp: Likewise.
938 * gdb.reverse/break-reverse.exp: Likewise.
939 * gdb.reverse/consecutive-precsave.exp: Likewise.
940 * gdb.reverse/finish-precsave.exp: Likewise.
941 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
942 * gdb.reverse/finish-reverse.exp: Likewise.
943 * gdb.reverse/i386-precsave.exp: Likewise.
944 * gdb.reverse/i387-env-reverse.exp: Likewise.
945 * gdb.reverse/i387-stack-reverse.exp: Likewise.
946 * gdb.reverse/machinestate-precsave.exp: Likewise.
947 * gdb.reverse/machinestate.exp: Likewise.
948 * gdb.reverse/sigall-precsave.exp: Likewise.
949 * gdb.reverse/solib-precsave.exp: Likewise.
950 * gdb.reverse/step-precsave.exp: Likewise.
951 * gdb.reverse/until-precsave.exp: Likewise.
952 * gdb.reverse/watch-precsave.exp: Likewise.
953 * gdb.reverse/watch-reverse.exp: Likewise.
954
b22089ab
YQ
9552014-10-17 Yao Qi <yao@codesourcery.com>
956
957 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
958 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
959
6c4486e6
PA
9602014-10-17 Pedro Alves <palves@redhat.com>
961
962 PR gdb/17471
963 * gdb.base/bg-execution-repeat.c: New file.
964 * gdb.base/bg-execution-repeat.exp: New file.
965
0ff33695
PA
9662014-10-17 Pedro Alves <palves@redhat.com>
967
968 PR gdb/17300
969 * gdb.base/continue-all-already-running.c: New file.
970 * gdb.base/continue-all-already-running.exp: New file.
971
6fdebc3d
PA
9722014-10-17 Pedro Alves <palves@redhat.com>
973
974 PR gdb/17472
975 * gdb.base/annota-input-while-running.c: New file.
976 * gdb.base/annota-input-while-running.exp: New file.
977
32a8097b
PA
9782014-10-17 Pedro Alves <palves@redhat.com>
979
980 * gdb.base/callfuncs.exp: emove references to osf.
981 * gdb.base/sigall.exp: Likewise.
982 * gdb.gdb/selftest.exp: Likewise.
983 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
984 * gdb.mi/non-stop.c: Likewise.
985 * gdb.mi/pthreads.c: Likewise.
986 * gdb.reverse/sigall-precsave.exp: Likewise.
987 * gdb.reverse/sigall-reverse.exp: Likewise.
988 * gdb.threads/pthreads.c: Likewise.
989 * gdb.threads/pthreads.exp: Likewise.
990
7a3517ff
YQ
9912014-10-17 Yao Qi <yao@codesourcery.com>
992
993 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
994 check 'target_info exists noargs'.
995 (test_command_prompt_position): Likewise.
996 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
997 Remove "set args".
998 (progvar_simple_while_test): Likewise.
999 (progvar_complex_if_while_test): Likewise.
1000 (if_while_breakpoint_command_test): Likewise.
1001 (infrun_breakpoint_command_test): Likewise.
1002 (breakpoint_command_test): Likewise.
1003 (watchpoint_command_test): Likewise.
1004 (bp_deleted_in_command_test): Likewise.
1005 (temporary_breakpoint_commands): Likewise.
1006
bb99c472
YQ
10072014-10-16 Yao Qi <yao@codesourcery.com>
1008
1009 * gdb.base/remotetimeout.exp: Remove noargs checking.
1010
7c16b83e
PA
10112014-10-15 Pedro Alves <palves@redhat.com>
1012
1013 PR breakpoints/9649
1014 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1015 * gdb.base/breakpoint-in-ro-region.exp
1016 (probe_target_hardware_step): New procedure.
1017 (top level): Probe hardware stepping and hardware breakpoint
1018 support. Test stepping through a read-only region, with both
1019 "breakpoint auto-hw" on and off and both "always-inserted" on and
1020 off.
1021
35a49624
IB
10222014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1023
1024 * gdb.dlang/demangle.exp: Update for demangling changes.
1025
2d1c107c
SC
10262014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1027
1028 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1029 * gdb.cp/non-trivial-retval.exp: Add new tests.
1030
778811d5
SC
10312014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1032
1033 PR c++/13403
1034 PR c++/15154
1035 * gdb.cp/non-trivial-retval.cc: New file.
1036 * gdb.cp/non-trivial-retval.exp: New file.
1037
10c5f0a8
YQ
10382014-10-15 Yao Qi <yao@codesourcery.com>
1039
1040 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1041 remote host.
1042
65d7b369
YQ
10432014-10-15 Yao Qi <yao@codesourcery.com>
1044
1045 * gdb.python/py-symbol.exp: Match file base name if host is
1046 remote, otherwise match file name with dir name.
1047 * gdb.python/py-symtab.exp: Likewise.
1048 * gdb.python/python.exp: Likewise.
1049
46dc1394
YQ
10502014-10-15 Yao Qi <yao@codesourcery.com>
1051
1052 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1053 pattern.
1054 * gdb.python/py-symtab.exp: Likewise.
1055 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1056 locationn.
1057
c40cc657
JB
10582014-10-14 Joel Brobecker <brobecker@adacore.com>
1059
1060 * gdb.ada/addr_arith: New testcase.
1061
2abf49e1
MR
10622014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1063
1064 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1065 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1066 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1067 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1068
f7088df3
SDJ
10692014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1070
1071 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1072 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1073 * gdb.arch/stap-eval-lang-ada.exp: New file.
1074
4dc06805
YQ
10752014-10-14 Yao Qi <yao@codesourcery.com>
1076
1077 * gdb.mi/mi-var-child.c (nothing1): New function.
1078 (nothing2): New function.
1079 (do_children_tests): Set function pointers by nothing1 and
1080 nothing2.
1081 * gdb.mi/mi-var-child.exp: Step over new added statements.
1082 Update test to match the new output.
1083 * gdb.mi/var-cmd.c (nothing1): New function.
1084 (nothing2): New function.
1085 (do_children_tests): Set function pointers by nothing1 and
1086 nothing2.
1087 * gdb.mi/mi-var-display.exp: Update test to match output.
1088 Step to the line specified by $line_dct_nothing.
1089 Increase the number of lines to step.
1090
46a93de2
YQ
10912014-10-14 Yao Qi <yao@codesourcery.com>
1092
1093 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1094 tests.
1095 * gdb.mi/mi2-var-child.exp: Likewise.
1096
14ea52ee
DE
10972014-10-13 Doug Evans <dje@google.com>
1098
1099 * gdb.python/py-objfile.exp: Change name of file name test.
1100
e5c6e92b
DE
11012014-10-13 Doug Evans <dje@google.com>
1102
1103 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1104 from the start of the CU.
1105
c780cc2f
JK
11062014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1107 Yao Qi <yao@codesourcery.com>
1108
1109 Fix "save breakpoints" for "catch" command.
1110 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1111 Remove -nonewline. Match also the added "main" line.
1112
99894e11
JK
11132014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1114
1115 Fix "save breakpoints" for "disable $bpnum" command.
1116 * gdb.base/save-bp.c (main): Add label.
1117 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1118
6e1ac5a3
JK
11192014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1120
1121 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1122
754dd2b0
YQ
11232014-10-11 Yao Qi <yao@codesourcery.com>
1124
1125 * gdb.server/server-kill.exp: Execute command
1126 "set remote trace-status-packet on" before "tstatus".
1127
f90183d7
YQ
11282014-10-11 Yao Qi <yao@codesourcery.com>
1129
1130 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1131 (main): Call getppid.
1132 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1133 and continue to it. Read variable "server_pid".
1134
bf40a607
YQ
11352014-10-11 Yao Qi <yao@codesourcery.com>
1136
1137 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1138
052ca370
YQ
11392014-10-11 Yao Qi <yao@codesourcery.com>
1140
1141 * gdb.threads/thread-find.exp: Don't execute command
1142 "info threads".
1143 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1144 * gdb.threads/linux-dp.exp: Don't check the condition
1145 $threads_created equals to zero.
1146
3831839c
PA
11472014-10-10 Pedro Alves <palves@redhat.com>
1148
1149 * gdb.base/bigcore.exp: Remove references to IRIX.
1150 * gdb.base/funcargs.exp: Likewise.
1151 * gdb.base/interrupt.exp: Likewise.
1152 * gdb.base/mips_pro.exp: Likewise.
1153 * gdb.base/nodebug.exp: Likewise.
1154 * gdb.base/setvar.exp: Likewise.
1155 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1156
8b9a549d
PA
11572014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1158 Pedro Alves <palves@redhat.com>
1159
1160 PR symtab/14466
1161 * gdb.base/vdso-warning.c: New file.
1162 * gdb.base/vdso-warning.exp: New file.
1163
d48ba5e8
DE
11642014-10-02 Doug Evans <dje@google.com>
1165
1166 * gdb.base/structs.c (main): Don't run forever.
1167
2278c276
PA
11682014-10-02 Pedro Alves <palves@redhat.com>
1169
1170 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1171 (top level) <stop threads 1, stop threads 2>: Use it.
1172
b57bacec
PA
11732014-10-02 Pedro Alves <palves@redhat.com>
1174
1175 * gdb.threads/break-while-running.exp (test): Add new
1176 'update_thread_list' argument. Skip "info threads" if false.
1177 (top level): Add new 'update_thread_list' axis.
1178
13fd3ff3
PA
11792014-10-02 Pedro Alves <palves@redhat.com>
1180
1181 PR breakpoints/17431
1182 * gdb.base/execl-update-breakpoints.c: New file.
1183 * gdb.base/execl-update-breakpoints.exp: New file.
1184
0fec99e8
PA
11852014-10-01 Pedro Alves <palves@redhat.com>
1186
1187 * gdb.base/breakpoint-in-ro-region.c: New file.
1188 * gdb.base/breakpoint-in-ro-region.exp: New file.
1189
2ddf4301
SM
11902014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1191
1192 * gdb.mi/mi-exit-code.exp: New file.
1193 * gdb.mi/mi-exit-code.c: New file.
1194
6a5f3f43
YQ
11952014-09-30 Yao Qi <yao@codesourcery.com>
1196
1197 * lib/prelink-support.exp (build_executable_own_libs): Error if
1198 the target isn't native.
1199
345bcc73
YQ
12002014-09-30 Yao Qi <yao@codesourcery.com>
1201
1202 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1203 false.
1204
a25a5a45
PA
12052014-09-22 Pedro Alves <palves@redhat.com>
1206
1207 * gdb.threads/break-while-running.exp: New file.
1208 * gdb.threads/break-while-running.c: New file.
1209
00ba3162
YQ
12102014-09-19 Yao Qi <yao@codesourcery.com>
1211
1212 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1213 Invoke test. Restart GDB with --readnow and invoke test again.
1214
c3b7b696
YQ
12152014-09-19 Yao Qi <yao@codesourcery.com>
1216
1217 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1218 proc set_breakpoint_on_gcd_function. Invoke
1219 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1220 invoke set_breakpoint_on_gcd_function again.
1221
2b4fd423
DE
12222014-09-18 Doug Evans <dje@google.com>
1223
1224 * gdb.dwarf2/symtab-producer.exp: New file.
1225
a5947601
SDJ
12262014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1227
1228 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1229 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1230 * gdb.base/global-var-nested-by-dso.c: Likewise.
1231 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1232
91c19059
SDJ
12332014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1234 Pedro Alves <palves@redhat.com>
1235
1236 * gdb.base/watch-bitfields.exp: Pass string other than test file
1237 name to prepare_for_testing.
1238 (watch): New procedure.
1239 (expect_watchpoint): Use with_test_prefix.
1240 (top level): Factor out tests to ...
1241 (test_watch_location, test_regular_watch): ... these new
1242 procedures, and use with_test_prefix and gdb_continue_to_end.
1243
bb9d5f81
PP
12442014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1245
1246 PR breakpoints/12526
1247 * gdb.base/watch-bitfields.exp: New file.
1248 * gdb.base/watch-bitfields.c: New file.
1249
635856f5
PA
12502014-09-16 Pedro Alves <palves@redhat.com>
1251
1252 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1253 software and hardware addresses, not software address against
1254 itself.
1255
7280ceea
PA
12562014-09-16 Pedro Alves <palves@redhat.com>
1257
1258 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1259 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1260
428b16bd
PA
12612014-09-16 Pedro Alves <palves@redhat.com>
1262
1263 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1264 files.
1265 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1266 "*-*-vxworks*" throughout.
1267 * gdb.base/break.exp: Likewise.
1268 * gdb.base/default.exp: Likewise.
1269 * gdb.base/scope.exp: Likewise.
1270 * gdb.base/sepdebug.exp: Likewise.
1271 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1272 throughout.
1273 * gdb.base/run.c: Likewise.
1274 * gdb.base/sepdebug.c: Likewise.
1275 * gdb.hp/gdb.aCC/run.c: Likewise.
1276 * gdb.reverse/until-reverse.c: Likewise.
1277 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1278
666d413c
YQ
12792014-09-16 Yao Qi <yao@codesourcery.com>
1280
1281 * boards/local-remote-host-native.exp: New file.
1282
57cbd724
DE
12832014-09-14 Doug Evans <xdje42@gmail.com>
1284
1285 * gdb.threads/queue-signal.c (thread_count): New variable.
1286 (thread_count_mutex, thread_count_condvar): New variables.
1287 (incr_thread_count, wait_all_threads_running): New functions.
1288 (main): Wait for all threads to be in their thread functions.
1289
81219e53
DE
12902014-09-13 Doug Evans <xdje42@gmail.com>
1291
1292 * gdb.threads/queue-signal.c: New file.
1293 * gdb.threads/queue-signal.exp: New file.
1294
3714cea7
DE
12952014-09-13 Doug Evans <xdje42@gmail.com>
1296
1297 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1298 be consistent with what default_gdb_init uses.
1299 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1300 the plain text of the prompt. Add some logging printfs.
1301 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1302
fa43b1d7
PA
13032014-09-12 Pedro Alves <palves@redhat.com>
1304
1305 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1306 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1307 * gdb.arch/i386-size-overlap.exp: Likewise.
1308 * gdb.arch/i386-size.exp: Likewise.
1309 * gdb.arch/i386-unwind.exp: Likewise.
1310 * gdb.base/a2-run.exp: Likewise.
1311 * gdb.base/break.exp: Likewise.
1312 * gdb.base/charset.exp: Likewise.
1313 * gdb.base/chng-syms.exp: Likewise.
1314 * gdb.base/commands.exp: Likewise.
1315 * gdb.base/dbx.exp: Likewise.
1316 * gdb.base/find.exp: Likewise.
1317 * gdb.base/funcargs.exp: Likewise.
1318 * gdb.base/jit-simple.exp: Likewise.
1319 * gdb.base/reread.exp: Likewise.
1320 * gdb.base/sepdebug.exp: Likewise.
1321 * gdb.base/step-bt.exp: Likewise.
1322 * gdb.cp/mb-inline.exp: Likewise.
1323 * gdb.cp/mb-templates.exp: Likewise.
1324 * gdb.objc/basicclass.exp: Likewise.
1325 * gdb.threads/killed.exp: Likewise.
1326
9d9bf2df
EBM
13272014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1328
1329 PR tdep/17379
1330 * gdb.arch/powerpc-stackless.S: New file.
1331 * gdb.arch/powerpc-stackless.exp: New file.
1332
1cf2f1b0
JK
13332014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1334
1335 * gdb.base/attach.c: Include unistd.h.
1336 (main): Call alarm. Add label postloop.
1337 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1338 gdb_breakpoint, gdb_continue_to_breakpoint.
1339 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1340
98880d46
PA
13412014-09-11 Pedro Alves <palves@redhat.com>
1342
1343 PR gdb/17347
1344 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1345 * gdb.base/attach.exp (test_command_line_attach_run): New
1346 procedure.
1347 (top level): Call it.
1348
4c92ff2c
PA
13492014-09-11 Pedro Alves <palves@redhat.com>
1350
1351 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1352 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1353 (do_command_attach_tests): Use spawn_wait_for_attach.
1354 * gdb.base/solib-overlap.exp: Likewise.
1355 * gdb.multi/multi-attach.exp: Likewise.
1356 * gdb.python/py-prompt.exp: Likewise.
1357 * gdb.python/py-sync-interp.exp: Likewise.
1358 * gdb.server/ext-attach.exp: Likewise.
1359
3adc1a7d
GKB
13602014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1361
1362 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1363 command in testcase. Simplify testcase.
1364
96334934
JB
13652014-09-10 Joel Brobecker <brobecker@adacore.com>
1366
1367 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1368
eb479039
JB
13692014-09-10 Joel Brobecker <brobecker@adacore.com>
1370
1371 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1372
deede10c
JB
13732014-09-10 Joel Brobecker <brobecker@adacore.com>
1374
1375 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1376
7828a5f5
JB
13772014-09-10 Joel Brobecker <brobecker@adacore.com>
1378
1379 * gdb.dwarf2/dynarr-ptr.c: New file.
1380 * gdb.dwarf2/dynarr-ptr.exp: New file.
1381
33aeebcf
MR
13822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1383
1384 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1385 of 30 rather than hardcoding 120 for a slow test case. Take the
1386 `gdb,timeout' target setting into account for this calculation.
1387 Don't extend the timeout for the test cases that don't need it.
1388
7b415901
MR
13892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1390
1391 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1392 a factor of 2 for a slow test case. Take the `gdb,timeout'
1393 target setting into account for this calculation.
1394 * gdb.reverse/until-precsave.exp: Increase the timeout by
1395 a factor of 15 and 3 respectively rather than adding 120
1396 for a pair of slow test cases. Take the `gdb,timeout'
1397 target setting into account for this calculation.
1398
4a40f85a
MR
13992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1400
1401 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1402 timeout, don't pass one down to gdb_expect.
1403 (gdb_expect): Rework timeout selection.
1404
09635af7
MR
14052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1406
1407 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1408 exception on timeout.
1409 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1410 (gdbserver_start_extended): Catch any `gdbserver_start' error
1411 exceptions.
1412 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1413 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1414 `gdbserver_gdb_load' error exceptions.
1415
2bdd10b7
MR
14162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1417
1418 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1419 120 on waiting for the TCP socket to open.
1420
316935f0
DE
14212014-09-09 Doug Evans <xdje42@gmail.com>
1422
1423 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1424 _caller_matches, _any_caller_is, _any_caller_matches.
1425
83740597
DE
14262014-09-09 Doug Evans <xdje42@gmail.com>
1427
1428 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1429
4c122fc3
YQ
14302014-09-09 Yao Qi <yao@codesourcery.com>
1431
1432 * gdb.mi/mi-var-display.exp: Set print symbol off.
1433
a9f116cb
GKB
14342014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1435
1436 PR gdb/17035
1437 * gdb.base/commands.exp: Add tests to verify user-defined
1438 commands with empty bodies.
1439 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1440 python commands in `show user command`.
1441 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1442 scheme commands in `show user command`.
1443
c75bd3a2
JK
14442014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1445
1446 PR python/17355
1447 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1448 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1449 * gdb.python/py-framefilter-invalidarg.exp: New file.
1450 * gdb.python/py-framefilter-invalidarg.py: New file.
1451
faa42425
DE
14522014-09-06 Doug Evans <xdje42@gmail.com>
1453
1454 PR 15276
1455 * gdb.python/py-caller-is.c: New file.
1456 * gdb.python/py-caller-is.exp: New file.
1457
474ca4f6
SDJ
14582014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1459
1460 PR gdb/17235
1461 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1462 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1463
eb0b0463
SDJ
14642014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1465
1466 PR fortran/17237
1467 * gdb.fortran/print-formatted.exp: New file.
1468 * gdb.fortran/print-formatted.f90: Likewise.
1469
5f3b99cf
SS
14702014-09-03 Sasha Smundak <asmundak@google.com>
1471
1472 * gdb.python/py-frame.exp: Test Frame.read_register.
1473
7d793aa9
SDJ
14742014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1475
1476 PR python/16699
1477 * gdb.python/py-completion.exp: New file.
1478 * gdb.python/py-completion.py: Likewise.
1479
fb0576e9
DE
14802014-08-28 Doug Evans <dje@google.com>
1481
1482 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1483 eax,etc. are live with values set by gdb and thus the compiler can't
1484 use them.
1485 * gdb.arch/i386-pseudo.c (main): Ditto.
1486
ee92b0dd
DE
14872014-08-27 Doug Evans <dje@google.com>
1488
1489 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1490
6649db35
DE
14912014-08-25 Doug Evans <dje@google.com>
1492
1493 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1494 (main): Ditto.
1495
564b7600
DE
14962014-08-25 Doug Evans <dje@google.com>
1497
1498 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1499
3881fb67
YQ
15002014-08-24 Yao Qi <yao@codesourcery.com>
1501
1502 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1503 symbol off.
1504 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1505
a05a36a5
DE
15062014-08-22 Doug Evans <dje@google.com>
1507
1508 PR 17276
1509 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1510 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1511 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1512
7c343b48
YQ
15132014-08-22 Yao Qi <yao@codesourcery.com>
1514
1515 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1516 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1517 * gdb.python/python.exp: Likewise. Use .py file on the host
1518 instead of the build.
1519
22fd09ae
JK
15202014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1521
1522 * gdb.threads/gcore-stale-thread.c: New file.
1523 * gdb.threads/gcore-stale-thread.exp: New file.
1524
a8454a7c
PA
15252014-08-21 Pedro Alves <palves@redhat.com>
1526
1527 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1528 * gdb.base/gcore-relro-pie.exp: Likewise.
1529 * gdb.base/gcore-relro.exp: Likewise.
1530 * gdb.base/gcore.exp: Likewise.
1531 * gdb.base/print-symbol-loading.exp: Likewise.
1532 * gdb.threads/gcore-thread.exp: Likewise.
1533 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1534
2a31c623
PA
15352014-08-20 Pedro Alves <palves@redhat.com>
1536 Jan Kratochvil <jan.kratochvil@redhat.com>
1537
1538 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1539 configure.
1540 (EXPECT): Handle READ1 being set.
1541 (all): Depend on EXTRA_RULES.
1542 (check-read1, expect-read1, read1.so, read1): New rules.
1543 * README (Testsuite Parameters): Document the READ1 make variable.
1544 (Race detection): New section.
1545 * configure: Regenerate.
1546 * configure.ac: If build==host==target, and running under a
1547 GNU/glibc system, add read1 to the extra Makefile rules.
1548 (EXTRA_RULES): AC_SUBST it.
1549 * lib/read1.c: New file.
1550
d36430db
JB
15512014-08-20 Joel Brobecker <brobecker@adacore.com>
1552
1553 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1554 the handling of variables declared as a typedef to an array
1555 which a DW_AT_data_location attribute.
1556
9a0dc9e3
PA
15572014-08-19 Andrew Burgess <aburgess@broadcom.com>
1558 Pedro Alves <palves@redhat.com>
1559
1560 PR symtab/14604
1561 PR symtab/14605
1562 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1563 gdb_test.
1564
0718a8da
PA
15652014-08-19 Pedro Alves <palves@redhat.com>
1566
1567 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1568
13b448cd
YQ
15692014-08-19 Yao Qi <yao@codesourcery.com>
1570
1571 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1572 right line.
1573
1cbf5077
DB
15742014-08-18 David Blaikie <dblaikie@gmail.com>
1575
1576 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1577
bf0fae19
JB
15782014-08-18 Joel Brobecker <brobecker@adacore.com>
1579
1580 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1581 attribute in array range.
1582
3c8c5dcc
JB
15832014-08-18 Joel Brobecker <brobecker@adacore.com>
1584
1585 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1586
e66d4446
SC
15872014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1588
1589 PR c++/17132
1590 * gdb.cp/pr17132.cc: New file.
1591 * gdb.cp/pr17132.exp: New file.
1592
940df408
SC
15932014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1594
1595 * gdb.python/py-xmethods.py (A_getarrayind)
1596 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1597 Use 'print' with function call syntax.
1598 (E_method_matcher.match): Fix tab vs space indentation mixup.
1599
ebcc6c3a
YQ
16002014-08-15 Yao Qi <yao@codesourcery.com>
1601
1602 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1603 false.
1604
775e0f04
YQ
16052014-08-15 Yao Qi <yao@codesourcery.com>
1606
1607 * gdb.cp/casts.exp: Set print symbol off.
1608 * gdb.cp/class2.exp: Likewise.
1609 * gdb.cp/overload.exp: Likewise.
1610 * gdb.cp/templates.exp: Likewise.
1611
d769e349
DE
16122014-08-11 Doug Evans <dje@google.com>
1613
1614 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1615 (test_load_shlib): Update.
1616
20c6f1e1
YQ
16172014-08-09 Yao Qi <yao@codesourcery.com>
1618
1619 * gdb.base/display.exp: Invoke is_address_zero_readable.
1620 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1621 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1622 * gdb.base/hbreak-unmapped.exp: Return if
1623 is_address_zero_readable returns true.
1624 * gdb.base/signest.exp: Likewise.
1625 * gdb.base/signull.exp: Likewise.
1626 * gdb.base/sigbpt.exp: Likewise.
1627 * gdb.guile/scm-disasm.exp: Do the test if
1628 is_address_zero_readable returns false.
1629 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1630 * gdb.python/py-arch.exp: Likewise.
1631 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1632 * lib/gdb.exp (is_address_zero_readable): New proc.
1633
5792e8e3
YQ
16342014-08-09 Yao Qi <yao@codesourcery.com>
1635
1636 PR testsuite/13443
1637 * gdb.mi/mi-var-display.exp: Make test messages unique.
1638
3cecbbbe
TT
16392014-08-04 Tom Tromey <tromey@redhat.com>
1640
1641 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1642 target 0".
1643
00b51ff5
TT
16442014-08-04 Tom Tromey <tromey@redhat.com>
1645
1646 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1647 "target_resume".
1648
6908c509
JB
16492014-08-01 Joel Brobecker <brobecker@adacore.com>
1650
1651 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1652 inner_vla_struct_object_size.
1653 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1654 as xfail.
1655
cc6563d2
PA
16562014-07-30 Pedro Alves <palves@redhat.com>
1657
1658 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1659 comment.
1660
7e09a223
YQ
16612014-07-29 Yao Qi <yao@codesourcery.com>
1662
1663 PR gdb/17206
1664 * gdb.base/until-nodebug.exp: New.
1665
7ebdbe92
DE
16662014-07-28 Doug Evans <xdje42@gmail.com>
1667
1668 PR guile/17203
1669 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1670 previously existing parameter, and previously ambiguously spelled
1671 parameter.
1672
fdb1adc6
WN
16732014-07-28 Will Newton <will.newton@linaro.org>
1674
1675 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1676
186fcde0
DE
16772014-07-26 Ludovic Courtès <ludo@gnu.org>
1678 Doug Evans <xdje42@gmail.com>
1679
1680 PR guile/17146
1681 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1682
70509625
PA
16832014-07-25 Pedro Alves <palves@redhat.com>
1684
1685 * gdb.threads/signal-command-handle-nopass.c: New file.
1686 * gdb.threads/signal-command-handle-nopass.exp: New file.
1687 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1688 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1689 * gdb.threads/signal-delivered-right-thread.c: New file.
1690 * gdb.threads/signal-delivered-right-thread.exp: New file.
1691
c3f814a1
PA
16922014-07-25 Pedro Alves <palves@redhat.com>
1693
1694 * gdb.base/double-prompt-target-event-error.exp
1695 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1696 match.
1697 (cancel_pagination_in_target_event): Rework double prompt
1698 detection.
1699 * gdb.base/paginate-after-ctrl-c-running.exp
1700 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1701 <return>' match.
1702 * gdb.base/paginate-bg-execution.exp
1703 (test_bg_execution_pagination_return)
1704 (test_bg_execution_pagination_cancel): Remove '-notransfer
1705 <return>' matches.
1706 * gdb.base/paginate-execution-startup.exp
1707 (test_fg_execution_pagination_return)
1708 (test_fg_execution_pagination_cancel): Remove '-notransfer
1709 <return>' matches.
1710 * gdb.base/paginate-inferior-exit.exp
1711 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1712 match.
1713 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1714 * lib/gdb.exp (pagination_prompt): Run text through
1715 string_to_regexp.
1716 (gdb_test_multiple): Match $pagination_prompt instead of
1717 "<return>".
1718 (string_to_regexp): Move to lib/gdb-utils.exp.
1719
e214cf6c
JK
17202014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1721
1722 * gdb.arch/amd64-entry-value-paramref.S: New file.
1723 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1724 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1725 * gdb.arch/amd64-optimout-repeat.S: New file.
1726 * gdb.arch/amd64-optimout-repeat.c: New file.
1727 * gdb.arch/amd64-optimout-repeat.exp: New file.
1728
17d0c5c8
JK
17292014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1730
1731 PR gdb/17170
1732 * gdb.base/statistics.exp: New file.
1733
b8b8facf
DE
17342014-07-17 Doug Evans <dje@google.com>
1735
74b49205 1736 PR gdb/17170
b8b8facf
DE
1737 * gdb.base/maint.exp: Update testing of per-command stats.
1738
1b5d0ab3
PA
17392014-07-16 Pedro Alves <palves@redhat.com>
1740
1741 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1742 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1743 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1744 (tfile_write_buf): New functions.
1745 (add_memory_block): Rewrite using the above.
1746 (adjust_function_address): New function.
1747 (FUNCTION_ADDRESS): New macro.
1748 (write_basic_trace_file): Remove short_x local, and use
1749 tfile_write_16. Change type of func_addr local to unsigned long
1750 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1751 here. Cast argument of add_memory_block to char pointer.
1752 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1753 (main): Remove parameters.
1754 * gdb.trace/tfile.exp: Remove nowarnings.
1755
4d974e88
SM
17562014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1757
1758 * gdb.base/debug-expr.exp: Test string evaluation with
1759 "debug expression" on.
1760
41e99568
PA
17612014-07-15 Pedro Alves <palves@redhat.com>
1762
1763 * gdb.base/reread.exp: Use clean_restart.
1764
487d9753
PL
17652014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1766
1767 * gdb.arch/avr-flash-qualifer.c: New.
1768 * gdb.arch/avr-flash-qualifer.exp: New.
1769
cc1c52ad
PA
17702014-07-14 Pedro Alves <palves@redhat.com>
1771
1772 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1773 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1774
1e973570
PA
17752014-07-14 Pedro Alves <palves@redhat.com>
1776
1777 * gdb.base/double-prompt-target-event-error.c: New file.
1778 * gdb.base/double-prompt-target-event-error.exp: New file.
1779
93d6eb10
PA
17802014-07-14 Pedro Alves <palves@redhat.com>
1781
1782 PR gdb/17072
1783 * gdb.base/paginate-inferior-exit.c: New file.
1784 * gdb.base/paginate-inferior-exit.exp: New file.
1785
0017922d
PA
17862014-07-14 Pedro Alves <palves@redhat.com>
1787
1788 PR gdb/17072
1789 * gdb.base/paginate-bg-execution.c: New file.
1790 * gdb.base/paginate-bg-execution.exp: New file.
1791
94696ad3
PA
17922014-07-14 Pedro Alves <palves@redhat.com>
1793
1794 PR gdb/17072
1795 * gdb.base/paginate-execution-startup.c: New file.
1796 * gdb.base/paginate-execution-startup.exp: New file.
1797 * lib/gdb.exp (pagination_prompt): New global.
1798 (default_gdb_spawn): New procedure, factored out from
1799 default_gdb_spawn.
1800 (default_gdb_start): Adjust to call default_gdb_spawn.
1801 (gdb_spawn): New procedure.
1802
bd293940
PA
18032014-07-14 Pedro Alves <palves@redhat.com>
1804
1805 * lib/gdb.exp (gdb_assert): New procedure.
1806 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1807
c933f875
PA
18082014-07-14 Pedro Alves <palves@redhat.com>
1809
1810 * gdb.base/execution-termios.c: New file.
1811 * gdb.base/execution-termios.exp: New file.
1812
d98b7a16
TT
18132014-07-14 Tom Tromey <tromey@redhat.com>
1814
1815 * gdb.cp/vla-cxx.cc: New file.
1816 * gdb.cp/vla-cxx.exp: New file.
1817
548740d6
TT
18182014-07-14 Tom Tromey <tromey@redhat.com>
1819
1820 * gdb.reverse/rerun-prec.c: New file.
1821 * gdb.reverse/rerun-prec.exp: New file.
1822
a25eb028
MR
18232014-07-12 Maciej W. Rozycki <macro@mips.com>
1824 Maciej W. Rozycki <macro@codesourcery.com>
1825
1826 * lib/gdb-utils.exp: New file.
1827 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1828 inline `gdb_init_command' processing.
1829 (gdb_start_cmd): Likewise.
1830 * lib/mi-support.exp (mi_run_cmd): Likewise.
1831 * README: Document `gdb_init_command' and `gdb_init_commands'.
1832
218c2655
JK
18332014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1834
1835 Fix false FAIL running under a very long directory name.
1836 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1837 and "set print elements 10000". Twice.
1838
5401fde3
YQ
18392014-07-11 Yao Qi <yao@codesourcery.com>
1840
1841 * gdb.base/exprs.exp: "set print symbol off".
1842
e76126e8
PA
18432014-07-11 Pedro Alves <palves@redhat.com>
1844
1845 * gdb.threads/kill.c: New file.
1846 * gdb.threads/kill.exp: New file.
1847
2d6f0de6
YQ
18482014-07-10 Yao Qi <yao@codesourcery.com>
1849
1850 * gdb.trace/tfile.c (write_basic_trace_file)
1851 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1852 address written to trace file.
1853
7180e04a
PA
18542014-07-09 Pedro Alves <palves@redhat.com>
1855
1856 * gdb.base/attach-wait-input.exp: New file.
1857 * gdb.base/attach-wait-input.c: New file.
1858
9a9a7608
AB
18592014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1860
1861 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1862 setting up test structures.
1863 (main): Call new test function.
1864 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1865 test function, continue into test function and walk test
1866 structures.
1867
161ac41e
YQ
18682014-07-02 Yao Qi <yao@codesourcery.com>
1869
1870 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1871 'bar_start' at the beginning of functions 'foo' and 'bar'
1872 respectively.
1873 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1874 instead of 'foo' and 'bar'.
1875
1f267ae3
MM
18762014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1877
1878 * gdb.btrace/segv.exp: New.
1879 * gdb.btrace/segv.c: New.
1880
2b239efb
LM
18812014-07-02 Luis Machado <lgustavo@codesourcery.com>
1882
1883 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1884 instruction.
1885
cf363f18
MW
18862014-06-30 Mark Wielaard <mjw@redhat.com>
1887
1888 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1889 vulture, vilify, villar): New volatile array constants.
1890 (vindictive, vegetation): New const volatile array constants.
1891 * gdb.base/volatile.exp: Test volatile and const volatile array
1892 types.
1893
aebf9d24
AA
18942014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1895
1896 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1897 target lacks support for awatch, rwatch, or hbreak.
1898
b67a2c6f
YQ
18992014-06-27 Yao Qi <yao@codesourcery.com>
1900
1901 * gdb.multi/dummy-frame-restore.exp: New.
1902 * gdb.multi/dummy-frame-restore.c: New.
1903
aef92902
MM
19042014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1905
1906 * gdb.btrace/gcore.exp: New.
1907
8e9db26e
PA
19082014-06-23 Pedro Alves <palves@redhat.com>
1909
1910 * gdb.base/watchpoint-reuse-slot.c: New file.
1911 * gdb.base/watchpoint-reuse-slot.exp: New file.
1912
70afc5b7
SC
19132014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1914
1915 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1916 progspace's filename in 'info', 'enable' and 'disable' command
1917 tests.
1918
b972bd9c
JK
19192014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1920
1921 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1922 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1923 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1924
125f8a3d
GB
19252014-06-20 Gary Benson <gbenson@redhat.com>
1926
1927 * gdb.arch/i386-avx.exp: Fix include file location.
1928 * gdb.arch/i386-sse.exp: Likewise.
1929
3ed9baed
IB
19302014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1931
1932 * gdb.dlang/expression.exp: New file.
1933
034f788c
PA
19342014-06-19 Pedro Alves <palves@redhat.com>
1935
1936 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1937 out from ...
1938 (top level): ... here. Iterate running tests under different
1939 scheduler-locking settings.
1940
45371d0c
LM
19412014-06-18 Luis Machado <lgustavo@codesourcery.com>
1942
1943 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1944 to DW_FORM_addr and use non-zero addresses.
1945
5d376983
SC
19462014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1947
1948 PR gdb/17017
1949 * gdb.python/py-xmethods.cc: Add global function call counters and
1950 increment them in their respective functions. Remove "cout"
1951 statements.
1952 * gdb.python/py-xmethods.exp: Make tests check the global function
1953 call counters instead of depending on inferior IO.
1954
a1aa2221
LM
19552014-06-18 Don Breazeal <donb@codesourcery.com>
1956
1957 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1958 Deleted procedure.
1959 (explicit_fork_parent_follow): Deleted procedure.
1960 (explicit_fork_child_follow): Deleted procedure.
1961 (test_follow_fork): New procedure.
1962 (do_fork_tests): Replace calls to deleted procedures with
1963 calls to test_follow_fork and reset GDB for subsequent
1964 procedure calls.
1965
0fc05997
YQ
19662014-06-17 Yao Qi <yao@codesourcery.com>
1967
1968 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1969 CP1252.
1970
70795c52
LM
19712014-06-17 Luis Machado <lgustavo@codesourcery.com>
1972
1973 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1974 Initialize ptr and S explicitly.
1975 (skip_type_update_when_not_use_rtti_test): Likewise.
1976
6be47f0c
KS
19772014-06-16 Keith Seitz <keiths@redhat.com>
1978
1979 PR mi/15863
1980 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1981 the inferior is started.
1982
d03de421
PA
19832014-06-16 Pedro Alves <palves@redhat.com>
1984
1985 * gdb.base/break-main-file-remove-fail.c: New file.
1986 * gdb.base/break-main-file-remove-fail.exp: New file.
1987 * gdb.base/break-unload-file.exp: Use build_executable instead of
1988 prepare_for_testing.
1989 (test_break): New parameter "initial_load". Handle it.
1990 (top level): Add initial_load cmdline/file axis.
1991
f9579b99
TT
19922014-06-12 Tom Tromey <tromey@redhat.com>
1993
1994 * gdb.base/completion.exp: Don't use directory name in test.
1995
3657956b
GB
19962014-06-09 Gary Benson <gbenson@redhat.com>
1997
1998 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1999 separate the always-available ANSI-standard signals from the
2000 signals that require checking.
2001 (main): Likewise.
2002 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2003 Likewise.
2004 (main): Likewise.
2005
4186eb54
KS
20062014-06-07 Keith Seitz <keiths@redhat.com>
2007
2008 Revert:
2009 PR c++/16253
2010 * gdb.cp/var-tag.cc: New file.
2011 * gdb.cp/var-tag.exp: New file.
2012 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2013 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2014 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2015 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2016
25326a28 20172014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
2018
2019 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2020
829155c9
PA
20212014-06-06 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2024 in target debug output instead of looking at RSP packets,
2025 disabling the test on any target that uses hardware stepping.
2026 Update comments.
2027
61c8d22e
PA
20282014-06-06 Pedro Alves <palves@redhat.com>
2029
2030 * gdb.base/break-unload-file.exp: Fix typo.
2031
d9a47287
YQ
20322014-06-06 Yao Qi <yao@codesourcery.com>
2033
2034 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2035 from "jit_function" to "^jit_function".
2036
e5e01dbf
YQ
20372014-06-06 Yao Qi <yao@codesourcery.com>
2038
2039 * gdb.base/async.c (foo): Add one statement.
2040 * gdb.base/async.exp: Get the next instruction address and
2041 match the output of "nexti" by instruction address. Match
2042 the hex address in the output of "finish".
2043
73ba372c
GB
20442014-06-06 Gary Benson <gbenson@redhat.com>
2045
2046 * gdb.base/call-signals.c: Remove preprocessor conditionals
2047 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2048 SIGSEGV and SIGTERM.
2049 * gdb.base/sigall.c: Likewise.
2050 * gdb.base/unwindonsignal.c: Likewise.
2051 * gdb.reverse/sigall-reverse.c: Likewise.
2052
831517df
YQ
20532014-06-06 Yao Qi <yao@codesourcery.com>
2054
2055 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2056 readable, skip the test.
2057
b8b91e98
YQ
20582014-06-06 Yao Qi <yao@codesourcery.com>
2059
2060 * gdb.threads/staticthreads.c (thread_function): Move the line
2061 setting breakpoint on forward.
2062 * gdb.threads/staticthreads.exp: Update comments.
2063
fb934770
LC
20642014-06-05 Ludovic Courtès <ludo@gnu.org>
2065
2066 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2067 "history-append! type error".
2068
6ef284bd
SM
20692014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2070
2071 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2072 erroneous dprintf expected input.
2073
a872e241
DE
20742014-06-04 Doug Evans <xdje42@gmail.com>
2075
2076 * gdb.guile/scm-generics.exp: Delete.
2077
16f691fb
DE
20782014-06-04 Doug Evans <xdje42@gmail.com>
2079
2080 * gdb.guile/scm-breakpoint.exp: Update.
2081 Add tests for breakpoint registration.
2082
012370f6
TT
20832014-06-04 Tom Tromey <tromey@redhat.com>
2084
2085 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2086 VLA-in-union.
2087 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2088 inner_vla_struct, vla_union types. Initialize objects of those
2089 types and compute their sizes.
2090
9f5a4cef
HZ
20912014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2092 Hui Zhu <hui@codesourcery.com>
2093
2094 * gdb.base/fileio.exp: Add test for shell not available as well as
2095 available.
2096 * gdb.base/fileio.c (test_system): Check for shell twice.
2097
90a45c4d
YQ
20982014-06-04 Yao Qi <yao@codesourcery.com>
2099
2100 * gdb.base/auto-connect-native-target.exp: Remove redundant
2101 space from the regexp pattern.
2102
70017e41
YQ
21032014-06-04 Yao Qi <yao@codesourcery.com>
2104
2105 * gdb.base/default.exp: Replace "child" with "native" in
2106 regexp pattern.
2107
883964a7
SC
21082014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2109
2110 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2111 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2112 * gdb.python/py-xmethods.py: Python script supporting the
2113 new testcase and tests.
2114
ef370185
JB
21152014-06-03 Joel Brobecker <brobecker@adacore.com>
2116 Pedro Alves <palves@redhat.com>
2117
2118 PR breakpoints/17000
2119 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2120 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2121
1e2ccb61
BM
21222014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2123
2124 * gdb.base/subst.exp: Add tests to verify partial path matching
2125 output.
2126
c6ec5ab2
PA
21272014-06-03 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2130 target that doesn't use software single-stepping.
2131
835c559f
PA
21322014-06-03 Pedro Alves <palves@redhat.com>
2133
2134 PR breakpoints/17000
2135 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2136 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2137
06eb1586
DE
21382014-06-02 Doug Evans <xdje42@gmail.com>
2139
2140 * gdb.guile/scm-parameter.exp: New file.
2141
e698b8c4
DE
21422014-06-02 Doug Evans <xdje42@gmail.com>
2143
2144 * gdb.guile/scm-cmd.c: New file.
2145 * gdb.guile/scm-cmd.exp: New file.
2146
ded03782
DE
21472014-06-02 Doug Evans <xdje42@gmail.com>
2148
2149 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2150 pretty-printer lookup.
2151 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2152 (make-pp_s-printer): Call it.
2153 (make-pretty-printer-from-dict): New function.
2154 (lookup-pretty-printer-maker-from-dict): New function.
2155 (*pretty-printer*): Simplify.
2156 (make-objfile-pp_s-printer): New function.
2157 (install-objfile-pretty-printers!): New function.
2158 (make-progspace-pp_s-printer): New function.
2159 (install-progspace-pretty-printers!): New function.
2160 * gdb.guile/scm-progspace.c: New file.
2161 * gdb.guile/scm-progspace.exp: New file.
2162
41fac0cf
PA
21632014-06-02 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.base/dprintf-bp-same-addr.c: New file.
2166 * gdb.base/dprintf-bp-same-addr.exp: New file.
2167
96ae5695
EBM
21682014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2169
2170 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2171 * gdb.arch/powerpc-power.s: Likewise.
2172
da02b3a8
JB
21732014-06-02 Joel Brobecker <brobecker@adacore.com>
2174
2175 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2176
c72b2e7b
YQ
21772014-06-01 Yao Qi <yao@codesourcery.com>
2178
2179 * gdb.base/watchpoint.exp (test_watch_location): Check null
2180 pointer can be dereferenced. If not, do the test, otherwise
2181 skip it.
2182
53e8a631
AB
21832014-05-30 Andrew Burgess <aburgess@broadcom.com>
2184
2185 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2186 results.
2187 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2188
938f0e2f
AB
21892014-05-30 Andrew Burgess <aburgess@broadcom.com>
2190
2191 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2192 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2193 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2194 * gdb.arch/amd64-invalid-stack-top.c: New file.
2195 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2196
9ba6657a
PA
21972014-05-30 Pedro Alves <palves@redhat.com>
2198
2199 PR breakpoints/17000
2200 * gdb.base/sss-bp-on-user-bp.c: New file.
2201 * gdb.base/sss-bp-on-user-bp.exp: New file.
2202
522c09bf
DB
22032014-05-30 David Blaikie <dblaikie@gmail.com>
2204
2205 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2206 gnu_inline semantics via attribute.
2207 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2208 source explicitly specifies the required semantics.
2209
bf4ef81e
MR
22102014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2211
2212 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2213
329ea579
PA
22142014-05-29 Pedro Alves <palves@redhat.com>
2215 Tom Tromey <tromey@redhat.com>
2216
2217 * gdb.base/async-shell.exp: Don't enable target-async.
2218 * gdb.base/async.exp
2219 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2220 parameter. Adjust.
2221 (top level): Don't test with "target-async".
2222 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2223 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2224 * gdb.base/inferior-died.exp: Don't enable target-async.
2225 * gdb.base/interrupt-noterm.exp: Likewise.
2226 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2227 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2228 * gdb.mi/mi-nonstop.exp: Likewise.
2229 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2230 * gdb.mi/mi-nsintrall.exp: Likewise.
2231 * gdb.mi/mi-nsmoribund.exp: Likewise.
2232 * gdb.mi/mi-nsthrexec.exp: Likewise.
2233 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2234 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2235 * gdb.python/py-evsignal.exp: Don't enable target-async.
2236 * gdb.python/py-evthreads.exp: Likewise.
2237 * gdb.python/py-prompt.exp: Likewise.
2238 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2239 * gdb.server/solib-list.exp: Don't enable target-async.
2240 * gdb.threads/thread-specific-bp.exp: Likewise.
2241 * lib/mi-support.exp: Adjust to use mi-async.
2242
fd664c91
PA
22432014-05-29 Pedro Alves <palves@redhat.com>
2244
2245 PR gdb/13860
2246 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2247 reason, even in sync mode.
2248
251bde03
PA
22492014-05-29 Pedro Alves <palves@redhat.com>
2250 Hui Zhu <hui@codesourcery.com>
2251
2252 PR PR15693
2253 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2254 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2255 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2256 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2257
7f3c0343
JB
22582014-05-28 Joel Brobecker <brobecker@adacore.com>
2259
2260 * config/monitor.exp (gdb_target_monitor): Replace use of
2261 "set remotebaud" by "set serial baud".
2262
b2715b27
AW
22632014-05-26 Andy Wingo <wingo@igalia.com>
2264
2265 * gdb.guile/scm-breakpoint.exp:
2266 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2267 properties instead of gdb-object-properties.
2268
498a4489
YQ
22692014-05-26 Yao Qi <yao@codesourcery.com>
2270
2271 * gdb.server/no-thread-db.exp: Specify source file name
2272 explicitly when setting a breakpoint.
2273
589fdceb
MM
22742014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2275
2276 * gdb.btrace/vdso.c: New.
2277 * gdb.btrace/vdso.exp: New.
2278
e9089e05
MM
22792014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2280
2281 * gdb.base/gcore.exp (capture_command_output): Move ...
2282 * lib/gdb.exp (capture_command_output): ... here.
2283
67b5c0c1
MM
22842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2285
2286 * gdb.btrace/data.exp: Test memory access during btrace replay.
2287
a2199296
SM
22882014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2289
2290 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2291
17b2616c
PA
22922014-05-21 Pedro Alves <palves@redhat.com>
2293
2294 PR gdb/13860
2295 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2296 (top level): Test that output related to execution commands is
2297 sent to the console with CLI commands, but not with MI commands.
2298 Test that breakpoint events are always mirrored to the console.
2299 Also expect the new source line to be output after a "next" in
2300 async mode too. Make it a pass/fail test.
2301 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2302 output.
2303 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2304
5166082f
PA
23052014-05-21 Pedro Alves <palves@redhat.com>
2306
2307 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2308 Use them to test variations of "list" after reaching a breakpoint.
2309 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2310 Test "list" with listsize 10 after reaching a breakpoint.
2311 * gdb.python/python.exp (decode_line current location line
2312 number): Adjust expected line number.
2313
2f25d70f
SM
23142014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2315
2316 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2317 behavior for $args, pass it directly to "run".
2318
ff604a67
MR
23192014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2320
2321 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2322 30000 to 65536.
2323
6a3cb8e8
PA
23242014-05-21 Pedro Alves <palves@redhat.com>
2325
2326 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2327 auto-connect-native-target off".
2328 * gdb.base/auto-connect-native-target.c: New file.
2329 * gdb.base/auto-connect-native-target.exp: New file.
2330
4ebfc96e
PA
23312014-05-21 Pedro Alves <palves@redhat.com>
2332
2333 * gdb.base/default.exp: Test "target native" instead of "target
2334 child".
2335
36d46afb
MW
23362014-05-21 Mark Wielaard <mjw@redhat.com>
2337
2338 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2339
5876f503
JK
23402014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2341
2342 Fix TLS access for -static -pthread.
2343 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2344 <HAVE_TLS> (thread_function, main): Initialize it.
2345 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2346 Add clean_restart.
2347 <$have_tls != "">: Check TLSVAR.
2348
0256a6ac
PA
23492014-05-21 Pedro Alves <palves@redhat.com>
2350
2351 * gdb.base/dcache-line-read-error.c: New.
2352 * gdb.base/dcache-line-read-error.exp: New.
2353
936d2992
PA
23542014-05-20 Pedro Alves <palves@redhat.com>
2355
2356 * gdb.base/compare-sections.c: New file.
2357 * gdb.base/compare-sections.exp: New file.
2358
802e8e6d
PA
23592014-05-20 Pedro Alves <palves@redhat.com>
2360
2361 * gdb.base/break-idempotent.c: New file.
2362 * gdb.base/break-idempotent.exp: New file.
2363
e59fa00f
MM
23642014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2365
2366 * gdb.btrace/nohist.exp: New.
2367
8b696e31
YQ
23682014-05-20 Yao Qi <yao@codesourcery.com>
2369
2370 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2371 gdb.reverse directory and gdb_reverse_timeout exists in board
2372 setting.
2373 * README: Document gdb_reverse_timeout.
2374
73c9764f
YQ
23752014-05-20 Yao Qi <yao@codesourcery.com>
2376
2377 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2378 'test_file_name'. Treat args as a string instead of a list.
2379 (gdb_init): Rename argument 'args' by 'test_file_name'.
2380
f1f4348a
JK
23812014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2382
2383 * gdb.arch/powerpc-power.exp: New file.
2384 * gdb.arch/powerpc-power.s: New file.
2385
0dbe70ce
DE
23862014-05-16 Doug Evans <dje@google.com>
2387
2388 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2389 * gdb.base/completion.exp: Check that all expected files exist
2390 before doing file completion.
0dbe70ce 2391
8d551b02
DE
23922014-05-16 Doug Evans <dje@google.com>
2393
2394 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2395 Update.
2396 (do_syscall_tests_without_xml): Update.
2397
73eb7709
PA
23982014-05-16 Pedro Alves <palves@redhat.com>
2399
2400 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2401 instead of "unknown output after running".
2402
3fae92fc
YQ
24032014-05-16 Yao Qi <yao@codesourcery.com>
2404
2405 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2406 file1.txt from host at the end.
2407 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2408
c2b2ccc5
DE
24092014-05-15 Doug Evans <dje@google.com>
2410
2411 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2412 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2413 loading file. Add test for TU lookup.
2414
8c217a4b
SM
24152014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2416
2417 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2418 calling "-exec-arguments" or "set args" before running the
2419 inferior.
2420
3deb39c6
SM
24212014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2422
2423 * lib/mi-support.exp (mi_expect_stop): Expect message for
2424 inferiors that exit with non-zero exit code.
2425
71a79f8c
YQ
24262014-05-14 Yao Qi <yao@codesourcery.com>
2427
2428 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2429 match absolute path on remote host.
2430 (test_file_list_exec_source_files): Remove "/" from the
2431 pattern.
2432
f23fcd46
YQ
24332014-05-14 Yao Qi <yao@codesourcery.com>
2434
2435 * boards/local-remote-host-notty.exp (${board}_file): New
2436 proc.
2437
9404b58f
KM
24382014-05-07 Kyle McMartin <kyle@redhat.com>
2439
2440 Pushed by Joel Brobecker <brobecker@adacore.com>.
2441 * gdb.arch/aarch64-atomic-inst.c: New file.
2442 * gdb.arch/aarch64-atomic-inst.exp: New file.
2443
5e45f04c
YQ
24442014-05-07 Yao Qi <yao@codesourcery.com>
2445
2446 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2447 in current context" too.
2448
c888a17d
KS
24492014-05-05 Keith Seitz <keiths@redhat.com>
2450
2451 * gdb.linespec/ls-dollar.exp: Add test for linespec
2452 file:convenience_variable.
2453
290a839c
YQ
24542014-05-05 Yao Qi <yao@codesourcery.com>
2455
2456 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2457 traceframes into tfile and ctf trace files. Read data from
2458 trace file and test collected data.
2459 (gdb_collect_locals_test): Likewise.
2460 (gdb_unavailable_registers_test): Likewise.
2461 (gdb_unavailable_floats): Likewise.
2462 (gdb_collect_globals_test): Likewise.
2463 (top-level): Append "ctf" to trace_file_targets if GDB
2464 supports.
2465
b5262cd0
YQ
24662014-05-05 Yao Qi <yao@codesourcery.com>
2467
2468 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2469 code to ...
2470 (gdb_collect_args_test_1): ... it. New proc.
2471 (gdb_collect_locals_test): Move some code to ...
2472 (gdb_collect_locals_test_1): ... it. New proc.
2473 (gdb_unavailable_registers_test): Move some code to ...
2474 (gdb_unavailable_registers_test_1): ... it. New proc.
2475 (gdb_unavailable_floats): Move some code to ...
2476 (gdb_unavailable_floats_1): ... it. New proc.
2477
30a1e6cc
SDJ
24782014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2479
2480 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2481 probes to test for bitness recognition.
2482 * gdb.arch/amd64-stap-optional-prefix.exp
2483 (test_probe_value_without_reg): New procedure.
2484 Add code to test for different kinds of bitness.
2485
f33da99a
SDJ
24862014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2487
2488 PR breakpoints/16889
2489 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2490 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2491
5b80f00d
PA
24922014-05-01 Pedro Alves <palves@redhat.com>
2493
2494 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2495 gdb_file_cmd if no file is specified.
2496 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2497 last_loaded_file to set the remote exec-file.
2498
f8c2a73c
PA
24992014-05-01 Pedro Alves <palves@redhat.com>
2500
2501 * boards/local-remote-host.exp: New file.
2502
be6e8ac7
PA
25032014-05-01 Pedro Alves <palves@redhat.com>
2504
2505 * boards/local-remote-host.exp: Rename to ...
2506 * boards/local-remote-host-notty.exp: ... this.
2507
cac0dc8f
JB
25082014-04-28 Joel Brobecker <brobecker@adacore.com>
2509
2510 * gdb.ada/dyn_arrayidx: New testcase.
2511
9730e6cc
YQ
25122014-04-26 Yao Qi <yao@codesourcery.com>
2513
2514 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2515 and compute the length of function main. Save it in
2516 $main_length.
2517 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2518 (top-level): Use gdb_compile to compile objects into
2519 executable and restart GDB. Remove invocation to
2520 prepare_for_testing.
2521
7ae1a6a6
PA
25222014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2523 Pedro Alves <palves@redhat.com>
2524
2525 PR server/16255
2526 * gdb.multi/multi-attach.c: New file.
2527 * gdb.multi/multi-attach.exp: New file.
2528
4082afcc
PA
25292014-04-25 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2532 user.
2533 (top level): Test that "set remote conditional-breakpoints-packet
2534 off" works as intended.
2535 * gdb.base/dprintf.exp: Test that "set remote
2536 breakpoint-commands-packet off" works as intended.
2537 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2538 New function.
2539 (top level): Call it.
2540 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2541 remote fast-tracepoints-packet off" works as intended.
2542 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2543 * lib/gdb.exp (gdb_is_target_remote): ... here.
2544
2abc3f8d
DB
25452014-04-24 David Blaikie <dblaikie@gmail.com>
2546
2547 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2548 ensure clang would not discard them.
2549 * gdb.base/gdbvars.c: Ditto.
2550 * gdb.base/memattr.c: Ditto.
2551 * gdb.base/whatis.c: Ditto.
2552 * gdb.python/py-prettyprint.c: Ditto.
2553 * gdb.trace/actions.c: Ditto.
2554 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2555 ensure clang would not discard it.
2556
bfd39632
DB
25572014-04-24 David Blaikie <dblaikie@gmail.com>
2558
2559 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2560 clang to emit the full definition of type required by the test
2561 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2562
22842ff6
DB
25632014-04-24 David Blaikie <dblaikie@gmail.com>
2564
2565 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2566 coax Clang into emitting the definition of the type.
2567 * gdb.cp/pr10728-x.h (y): Ditto.
2568 * gdb.cp/pr10728-y.cc (y): Ditto.
2569
c2e827ad
DB
25702014-04-24 David Blaikie <dblaikie@gmail.com>
2571
2572 * gdb.base/label.exp: XFAIL label related tests under Clang.
2573 * gdb.cp/cplabel.exp: Ditto.
2574 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2575 under Clang those using labels.
2576
4c2d33e7
YQ
25772014-04-25 Yao Qi <yao@codesourcery.com>
2578
2579 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2580 double_label.
2581 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2582 partial_label and double_label.
2583
56083b99
DB
25842014-04-24 David Blaikie <dblaikie@gmail.com>
2585
2586 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2587
25d4e99d
DB
25882014-04-24 David Blaikie <dblaikie@gmail.com>
2589
2590 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2591 of the function to work across GCC and Clang.
2592 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2593 pointer types (const void ** const V void **).
2594
01f9f808
MS
25952014-04-24 Michael Sturm <michael.sturm@mintel.com>
2596 Walfred Tedeschi <walfred.tedeschi@intel.com>
2597
2598 * Makefile.in (EXECUTABLES): Added i386-avx512.
2599 * gdb.arch/i386-avx512.c: New file.
2600 * gdb.arch/i386-avx512.exp: Likewise.
2601
4b48d439
KS
26022014-04-23 Keith Seitz <keiths@redhat.com>
2603
2604 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2605 (mi_make_breakpoint_table): New procedure.
2606 (mi_create_breakpoint): Use mi_make_breakpoint
2607 and return the result.
2608 (mi_make_breakpoint): New procedure.
2609 (mi_build_kv_pairs): New procedure.
2610
2611 * gdb.mi/mi-break.exp: Remove unused globals,
2612 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2613 All callers updated.
2614 * gdb.mi/mi-dprintf.exp: Use variable to track command
2615 number.
2616 Update all callers of mi_create_breakpoint and use
2617 mi_make_breakpoint_table.
2618 Remove any unused global variables.
2619 * gdb.mi/mi-nonstop.exp: Likewise.
2620 * gdb.mi/mi-nsintrall.exp: Likewise.
2621 * gdb.mi/mi-nsmoribund.exp: Likewise.
2622 * gdb.mi/mi-nsthrexec.exp: Likewise.
2623 * gdb.mi/mi-reverse.exp: Likewise.
2624 * gdb.mi/mi-simplerun.exp: Likewise.
2625 * gdb.mi/mi-stepn.exp: Likewise.
2626 * gdb.mi/mi-syn-frame.exp: Likewise.
2627 * gdb.mi/mi-until.exp: Likewise.
2628 * gdb.mi/mi-var-cp.exp: Likewise.
2629 * gdb.mi/mi-var-display.exp: Likewise.
2630 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2631 * gdb.mi/mi2-var-child.exp: Likewise.
2632 * gdb.mi/mi-vla-c99.exp: Likewise.
2633 * lib/mi-support.exp: Likewise.
2634
2635 From Ian Lance Taylor <iant@cygnus.com>:
2636 * lib/gdb.exp (parse_args): New procedure.
2637
08351840
PA
26382014-04-23 Pedro Alves <palves@redhat.com>
2639
2640 * gdb.base/break-unload-file.c: New file.
2641 * gdb.base/break-unload-file.exp: New file.
2642 * gdb.base/sym-file-lib.c (baz): New function.
2643 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2644 field.
2645 (load): Store the segment's mapped size.
2646 (unload): New function.
2647 (unload_shlib): New function.
2648 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2649 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2650 set a breakpoint at baz, and call it.
2651 * gdb.base/sym-file.exp: New tests for stale breakpoint
2652 instructions.
2653
076855f9
PA
26542014-04-23 Pedro Alves <palves@redhat.com>
2655
2656 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2657 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2658 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2659 * gdb.base/hbreak-unmapped.c: New file.
2660 * gdb.base/hbreak-unmapped.exp: New file.
2661 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2662 * lib/gdb.exp (gdb_is_target_remote): ... here.
2663
483805cf
PA
26642014-04-22 Pedro Alves <palves@redhat.com>
2665
2666 * gdb.base/consecutive-step-over.c: New file.
2667 * gdb.base/consecutive-step-over.exp: New file.
2668
06d97543
PA
26692014-04-22 Pedro Alves <palves@redhat.com>
2670
2671 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2672 instead of send_gdb/gdb_expect.
2673
b4429ea2
YQ
26742014-04-22 Yao Qi <yao@codesourcery.com>
2675
2676 * lib/trace-support.exp (generate_tracefile): New procedure.
2677 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2678 return 0.
2679 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2680 if generate_tracefile returns 1.
2681
51d48146
PA
26822014-04-18 Tom Tromey <palves@redhat.com>
2683 Pedro alves <tromey@redhat.com>
2684
2685 PR backtrace/15558
2686 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2687 with a backtrace limit.
2688 * gdb.python/py-frame-inline.exp: Test running to an inline
2689 function with a backtrace limit, and printing the newest frame.
2690 * gdb.python/py-frame-inline.c (main): Call f.
2691
bd1dce5f
MS
26922014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2693
2694 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2695
40d1a503
MS
26962014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2697
2698 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2699 Drop prefix from unsupported source file path.
2700
389b98f7
YQ
27012014-04-17 Yao Qi <yao@codesourcery.com>
2702
2703 * lib/gdb.exp (with_target_charset): New proc.
2704 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2705 with_target_charset.
2706 (test_print_strings): Likewise.
2707 (test_repeat_bytes): Likewise.
2708 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2709 for some tests.
2710
22869d73
KS
27112014-04-16 Keith Seitz <keiths@redhat.com>
2712
2713 PR gdb/15827
2714 * gdb.dwarf2/corrupt.c: New file.
2715 * gdb.dwarf2/corrupt.exp: New file.
2716
c4f87ca6
KS
27172014-04-16 Keith Seitz <keiths@redhat.com>
2718
2719 PR c++/16597
2720 * gdb.cp/namelessclass.cc: New file.
2721 * gdb.cp/namelessclass.exp: New file.
2722 * gdb.cp/namelessclass.S: New file.
2723
ab19de87
DE
27242014-04-16 Doug Evans <dje@google.com>
2725
2726 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2727 Add comment.
2728 (gdbserver_default_get_comm_port): New function.
2729 (gdbserver_start): Check if board file provided
2730 "gdbserver,get_comm_port" and use it if so.
2731 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2732 (gdb,socketport): Set to "stdio".
2733 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2734 (stdio_gdbserver_template): Delete.
2735 (${board}_get_remote_address): Update.
2736 (${board}_build_remote_cmd): Delete.
2737 (${board}_get_comm_port): New function.
2738 (${board}_spawn): Update.
2739 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2740 Delete.
2741 (${board}_get_remote_address): Update.
2742 (${board}_get_comm_port): New function.
2743
fc98a809
AB
27442014-04-16 Andrew Burgess <aburgess@broadcom.com>
2745
2746 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2747 appearing in any order.
2748
87fd9e6e
DE
27492014-04-15 Doug Evans <dje@google.com>
2750
2751 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2752 uninitialized value of "description".
2753
099fc3ea
KS
27542014-04-15 Keith Seitz <keiths@redhat.com>
2755
2756 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2757 Remove unused globals.
2758 (test_running_the_program): Likewise.
2759 (test_controlled_execution): Likewise.
2760 (test_controlling_breakpoints): Likewise.
2761 (test_program_termination): Likewise.
2762
5da151d4
KS
27632014-04-15 Keith Seitz <keiths@redhat.com>
2764
2765 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2766 unused globals.
2767 (test_rbreak_creation_and_listing): Likewise.
2768 (test_ignore_count): Likewise.
2769 (test_error): Likewise.
2770
35e5d2f0
PA
27712014-04-15 Pedro Alves <palves@redhat.com>
2772
2773 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2774 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2775 sym-file-loader.c.
2776 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2777 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2778 to sym-file-loader.c.
2779 (struct library): Forward declare.
2780 (load_shlib, lookup_function): Change prototypes.
2781 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2782 (translate_offset): Remove declarations.
2783 (get_text_addr): New declaration.
2784 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2785 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2786 sym-file-loader.h.
2787 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2788 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2789 here from sym-file-loader.h.
2790 (struct library): New structure.
2791 (load_shlib, lookup_function): Change prototypes and adjust to
2792 work with a struct library.
2793 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2794 (translate_offset): Make static.
2795 (get_text_addr): New function.
2796 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2797
eb4c1710
PA
27982014-04-15 Pedro Alves <palves@redhat.com>
2799
2800 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2801
2d1baf52
PA
28022014-04-15 Pedro Alves <palves@redhat.com>
2803
2804 * gdb.base/sym-file-loader.c: Include <limits.h>.
2805 (SELF_LINK): New define.
2806 (get_origin): New function.
2807 (load_shlib): Use it.
2808 * gdb.base/sym-file.exp: Don't early return if the target is
2809 remote. Use runto_main, and issue fail is that fails. Use
2810 gdb_load_shlibs.
2811 (shlib_name): Delete.
2812 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2813
7dd6df01
PA
28142014-04-15 Pedro Alves <palves@redhat.com>
2815
2816 * gdb.base/sym-file.exp: Remove regex characters from test
2817 message. Don't refer to breakpoint numbers in test messages.
2818
b50c8614
KS
28192014-04-14 Keith Seitz <keiths@redhat.com>
2820
2821 PR c++/16253
2822 * gdb.cp/var-tag.cc: New file.
2823 * gdb.cp/var-tag.exp: New file.
2824 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2825 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2826 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2827 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2828
3d567982
TT
28292014-04-14 Tom Tromey <tromey@redhat.com>
2830
2831 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2832 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2833 type.
2834 * gdb.cp/enum-class.exp: New file.
2835 * gdb.cp/enum-class.cc: New file.
2836
0626fc76
TT
28372014-04-14 Tom Tromey <tromey@redhat.com>
2838
2839 * gdb.dwarf2/enum-type.exp: New file.
2840
dca325b3
SA
28412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2842
2843 * gdb.mi/mi-vla-c99.exp: New file.
2844 * gdb.mi/vla.c: New file.
2845
5854b38a
SA
28462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2847
2848 * gdb.base/vla-datatypes.c: New file.
2849 * gdb.base/vla-datatypes.exp: New file.
2850
463bb957
SA
28512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2852
2853 * gdb.base/vla-ptr.c: New file.
2854 * gdb.base/vla-ptr.exp: New file.
2855
3dd170be
SA
28562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2857
2858 * gdb.dwarf2/count.exp: New file.
2859
5ecaaa66
SA
28602014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2861
2862 * gdb.base/vla-sideeffect.c: New file.
2863 * gdb.base/vla-sideeffect.exp: New file.
2864
41f1ada5
DB
28652014-04-14 David Blaikie <dblaikie@gmail.com>
2866
2867 * gdb.mi/non-stop.c: Add return value for non-void function return
2868 statement.
2869 * gdb.threads/staticthreads.c: Ditto.
2870
0be03e84
DE
28712014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2872 Doug Evans <xdje42@gmail.com>
2873
2874 * gdb.guile/scm-value.c: Improve test case.
2875 * gdb.guile/scm-value.exp: Add new test.
2876
f180a1fb
DB
28772014-04-11 David Blaikie <dblaikie@gmail.com>
2878
2879 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2880 override Clang's default.
2881
6b662e19
JB
28822014-04-11 Joel Brobecker <brobecker@adacore.com>
2883
2884 Revert the following changes (regressions):
2885
2886 * gdb.base/vla-sideeffect.c: New file.
2887 * gdb.base/vla-sideeffect.exp: New file.
2888
2889 * gdb.dwarf2/count.exp: New file.
2890
2891 * gdb.base/vla-multi.c: New file.
2892 * gdb.base/vla-multi.exp: New file.
2893
2894 * gdb.base/vla-ptr.c: New file.
2895 * gdb.base/vla-ptr.exp: New file.
2896
2897 * gdb.base/vla-datatypes.c: New file.
2898 * gdb.base/vla-datatypes.exp: New file.
2899
2900 * gdb.mi/mi-vla-c99.exp: New file.
2901 * gdb.mi/vla.c: New file.
2902
245a5f0b
KS
29032014-04-11 Keith Seitz <keiths@redhat.com>
2904
2905 PR c++/16675
2906 * gdb.cp/cpsizeof.exp: New file.
2907 * gdb.cp/cpsizeof.cc: New file.
2908
58a84dcf
SA
29092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2910
191a8a90
JB
2911 * gdb.mi/mi-vla-c99.exp: New file.
2912 * gdb.mi/vla.c: New file.
58a84dcf 2913
c8655f75
SA
29142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2915
2916 * gdb.base/vla-datatypes.c: New file.
2917 * gdb.base/vla-datatypes.exp: New file.
2918
024e13b4
SA
29192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2920
2921 * gdb.base/vla-ptr.c: New file.
2922 * gdb.base/vla-ptr.exp: New file.
2923
1a237e0e
SA
29242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2925
2926 * gdb.base/vla-multi.c: New file.
2927 * gdb.base/vla-multi.exp: New file.
2928
504f3432
SA
29292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2930
2931 * gdb.dwarf2/count.exp: New file.
2932
3bce8237
SA
29332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2934
191a8a90
JB
2935 * gdb.base/vla-sideeffect.c: New file.
2936 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2937
322f9c21
YQ
29382014-04-11 Yao Qi <yao@codesourcery.com>
2939
2940 * gdb.base/completion.exp: Check file exists before running tests
2941 on file completion.
2942
d708bcd1
PA
29432014-04-10 Pedro Alves <palves@redhat.com>
2944
2945 * gdb.base/cond-eval-mode.c: New file.
2946 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2947 prepare_for_testing to build the new file. Check result of
2948 runto_main.
2949 (test_break, test_watch): New procedures.
2950 (top level): Use them.
2951
ae1d2761
PM
29522014-04-08 Pierre Muller <muller@sourceware.org>
2953
2954 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2955 Ctrl-V use for mingw hosts.
2956
7af389b8
SC
29572014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2958
2959 * gdb.python/py-value.c: Improve test case.
2960 * gdb.python/py-value.exp: Add new test.
2961
5e703181
DE
29622014-04-07 David Blaikie <dblaikie@gmail.com>
2963
2964 * lib/compiler.c: Identify the clang compiler.
2965 * lib/compiler.cc: Ditto.
2966
9810b410
YQ
29672014-04-03 Yao Qi <yao@codesourcery.com>
2968
2969 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2970
98d1b8dc
AB
29712014-04-01 Anton Blanchard <anton@samba.org>
2972
2973 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2974 messages unique.
2975
3114cea1
AB
29762014-04-01 Anton Blanchard <anton@samba.org>
2977
2978 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2979 prepare_for_testing.
2980
62f7182c
AB
29812014-04-01 Anton Blanchard <anton@samba.org>
2982
2983 * gdb.arch/ppc64-atomic-inst.c: Remove.
2984 * gdb.arch/ppc64-atomic-inst.S: New file.
2985 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2986
770e7fc7
DE
29872014-03-31 Doug Evans <dje@google.com>
2988
2989 * gdb.base/print-symbol-loading-lib.c: New file.
2990 * gdb.base/print-symbol-loading-main.c: New file.
2991 * gdb.base/print-symbol-loading.exp: New file.
2992
46e2bafa
YQ
29932014-03-31 Yao Qi <yao@codesourcery.com>
2994
2995 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2996
8776cfe9
JB
29972014-03-28 Joel Brobecker <brobecker@adacore.com>
2998
2999 * gdb.ada/mi_dyn_arr: New testcase.
3000
5d1ef361
DE
30012014-03-27 Doug Evans <dje@google.com>
3002
3003 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3004
b5bee914
YQ
30052014-03-27 Yao Qi <yao@codesourcery.com>
3006
3007 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3008 if target is nios2-*-*.
3009
0d4d0e77
YQ
30102014-03-26 Yao Qi <yao@codesourcery.com>
3011
3012 * lib/gdb.exp (readline_is_used): New proc.
3013 * gdb.base/completion.exp: Move tests on command complete up.
3014 Skip the rest of tests if readline is not used.
3015 * gdb.ada/complete.exp: Skp the test if readline is not
3016 used.
3017 * gdb.base/filesym.exp: Likewise.
3018 * gdb.base/macscp.exp: Likewise.
3019 * gdb.base/readline-ask.exp: Likewise.
3020 * gdb.base/readline.exp: Likewise.
3021 * gdb.python/py-cmd.exp: Likewise.
3022 * gdb.trace/tfile.exp: Likewise.
3023
29361eee
YQ
30242014-03-26 Yao Qi <yao@codesourcery.com>
3025
3026 * gdb.base/macscp.exp: Fix code format issues.
3027
bc9a5525
UW
30282014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3029
3030 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3031 * gdb.asm/powerpc64le.inc: New file.
3032
d3839ede
PA
30332014-03-25 Pedro Alves <palves@redhat.com>
3034 Doug Evans <dje@google.com>
3035
3036 * gdb.base/source-execution.c: New file.
3037 * gdb.base/source-execution.exp: New file.
3038 * gdb.base/source-execution.gdb: New file.
3039
01672a57
DE
30402014-03-24 Doug Evans <dje@google.com>
3041
3042 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3043 using fission.
3044
88bbeca9
HZ
30452014-03-24 Hui Zhu <hui@codesourcery.com>
3046 Pedro Alves <palves@redhat.com>
3047
3048 PR breakpoints/16101
3049 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3050 test pass/fail messages. Detect missing support for dprintf when
3051 breakpoints are actually inserted.
3052 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3053 breakpoints are actually inserted.
3054 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3055 fails.
3056
d2348791
JK
30572014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3058
3059 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3060
feef67ab
DE
30612014-03-22 Doug Evans <xdje42@gmail.com>
3062
3063 * gdb.python/python.exp (python not supported): Verify multi-line
3064 python command issues an error.
25d743f9 3065 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 3066 guile command issues an error.
feef67ab 3067
ecebef6a
MR
30682014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3069
3070 * gdb.threads/thread-specific.exp: Handle the lack of usable
3071 $this_breakpoint and $this_thread.
3072
ccdd1909
HZ
30732014-03-21 Hui Zhu <hui@codesourcery.com>
3074
3075 * gdb.base/attach.exp (do_command_attach_tests): New.
3076
beb460e8
PA
30772014-03-20 Tom Tromey <tromey@redhat.com>
3078 Pedro Alves <palves@redhat.com>
3079
3080 PR cli/15718
3081 * gdb.base/condbreak-call-false.c: New file.
3082 * gdb.base/condbreak-call-false.exp: New file.
3083
40acf43a
PA
30842014-03-20 Pedro Alves <palves@redhat.com>
3085
3086 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3087 Delete.
3088 (block_signals, unblock_signals): Delete.
3089 (child_function_2, main): Remove references to deleted variable
3090 and functions.
3091
9f5e1e02
PA
30922014-03-20 Pedro Alves <palves@redhat.com>
3093
3094 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3095 Use pthread_kill to signal thread 2.
3096 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3097 Adjust to make the test send itself a signal rather than using the
3098 host's "kill" command.
3099
99619bea
PA
31002014-03-20 Pedro Alves <palves@redhat.com>
3101
3102 * gdb.threads/multiple-step-overs.c: New file.
3103 * gdb.threads/multiple-step-overs.exp: New file.
3104 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3105 Adjust expected infrun debug output.
3106
2adfaa28
PA
31072014-03-20 Pedro Alves <palves@redhat.com>
3108
3109 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3110 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3111
31e77af2
PA
31122014-03-20 Pedro Alves <palves@redhat.com>
3113
3114 PR breakpoints/7143
3115 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3116 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3117 of gdb_test_multiple.
3118 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3119 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3120
b9f437de
PA
31212014-03-20 Pedro Alves <palves@redhat.com>
3122
3123 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3124 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3125
05adc73e
PA
31262014-03-19 Pedro Alves <palves@redhat.com>
3127
3128 * gdb.base/async.exp: Remove early return.
3129
6048b950
PA
31302014-03-19 Pedro Alves <palves@redhat.com>
3131
3132 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3133
8bcfb00a
PA
31342014-03-19 Pedro Alves <palves@redhat.com>
3135
3136 * gdb.base/async.exp (test_background): Expect \r\n after
3137 "completed." in the fail pattern.
3138
884e37dc
PA
31392014-03-19 Pedro Alves <palves@redhat.com>
3140
3141 * gdb.base/async.exp (test_background): New procedure.
3142 Use it for all background execution command tests.
3143
148e57e2
PA
31442014-03-19 Pedro Alves <palves@redhat.com>
3145
3146 * gdb.base/async.exp: Use prepare_for_testing.
3147
f48088c7
PA
31482014-03-19 Pedro Alves <palves@redhat.com>
3149
3150 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3151 the same line.
3152
e2f6c966
PA
31532014-03-19 Pedro Alves <palves@redhat.com>
3154
3155 * gdb.base/async.c (main): Add "jump here" and "until here" line
3156 marker comments.
3157 * gdb.base/async.exp (jump_here): New global.
3158 (jump& test): Use it.
3159 (until_here): New global.
3160 (until& test): Use it.
3161
c30568d4
PA
31622014-03-19 Pedro Alves <palves@redhat.com>
3163
3164 * gdb.base/async.exp: Don't frob gdb_protocol.
3165
0172b6a7
DE
31662014-03-18 Doug Evans <xdje42@gmail.com>
3167
3168 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3169 Fix spelling of exec-done-display.
3170
06c868a8
JK
31712014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3172
3173 PR gdb/15358
3174 * gdb.base/gdb-sigterm.c: New file.
3175 * gdb.base/gdb-sigterm.exp: New file.
3176
0c7e1a46
PA
31772014-03-18 Pedro Alves <palves@redhat.com>
3178
3179 PR gdb/13860
3180 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3181 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3182 solib-event.
3183
f7c77d93
JB
31842014-03-17 Joel Brobecker <brobecker@adacore.com>
3185
3186 * gdb.ada/pckd_arr_ren: New testcase.
3187
5a1e8c7a
DE
31882014-03-13 Doug Evans <xdje42@gmail.com>
3189
3190 PR guile/16612
3191 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3192 collect after discarding symbols.
3193
350e1a76
DE
31942014-03-13 Ludovic Courtès <ludo@gnu.org>
3195 Doug Evans <xdje42@gmail.com>
3196
3197 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3198 to history survives a gc.
3199
a69900ae
PA
32002014-03-13 Pedro Alves <palves@redhat.com>
3201
3202 * gdb.base/default.exp: Don't test "target procfs".
3203
5db9f0bd
PA
32042014-03-13 Pedro Alves <palves@redhat.com>
3205
3206 * gdb.base/default.exp: Update "target child" and "target procfs"
3207 tests to not expect "Unix".
3208
b3ccfe11
TT
32092014-03-12 Tom Tromey <tromey@redhat.com>
3210
3211 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3212 New procs. Add target-async tests.
3213 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3214 Add target-async tests.
3215
646f4417
AA
32162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3217
3218 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3219 'func_start' and 'func_end' for the beginning and end of the
3220 function code, respectively.
3221 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3222 'func_end' instead of 'func' and 'main'.
3223
288c211f
AA
32242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3225
3226 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3227 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3228 generate the debug info assembler source.
3229
e0c0f156
AA
32302014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3231
3232 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3233 * gdb.dwarf2/arr-subrange.exp: Likewise.
3234 * gdb.dwarf2/dwz.exp: Likewise.
3235 * gdb.dwarf2/method-ptr.exp: Likewise.
3236 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3237 * gdb.dwarf2/subrange.exp: Likewise.
3238 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3239 * gdb.dwarf2/implptrpiece.exp: Likewise.
3240 * gdb.dwarf2/nostaticblock.exp: Likewise.
3241
0e5c4555
AA
32422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3243
3244 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3245 directory to absolute path name arguments.
3246
5ec18f2b
JG
32472014-03-10 Joel Brobecker <brobecker@adacore.com>
3248
3249 * gdb.ada/tagged_access: New testcase.
3250
847fc4f2
MM
32512014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3252
3253 * gdb.btrace/data.exp: Update expected output.
3254
cc3da688
YQ
32552014-03-06 Yao Qi <yao@codesourcery.com>
3256
3257 * gdb.trace/pr16508.exp: New file.
3258
0f26cec1
PA
32592014-03-05 Pedro Alves <palves@redhat.com>
3260
3261 PR gdb/16575
3262 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3263 procedure.
3264 (top level): Adjust to use it. Add tests that exercise breakpoint
3265 interaction with the code-cache.
3266
7a5a839f
LC
32672014-02-26 Ludovic Courtès <ludo@gnu.org>
3268
3269 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3270 test for 'history-append!'.
3271
31aa7e4e
JB
32722014-02-26 Joel Brobecker <brobecker@adacore.com>
3273
3274 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3275 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3276 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3277 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3278 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3279 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3280
1b588015
JB
32812014-02-26 Joel Brobecker <brobecker@adacore.com>
3282
3283 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3284 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3285 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3286
55426c9d
JB
32872014-02-26 Joel Brobecker <brobecker@adacore.com>
3288
3289 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3290
dc53a7ad
JB
32912014-02-26 Joel Brobecker <brobecker@adacore.com>
3292
3293 * gdb.dwarf2/arr-stride.c: New file.
3294 * gdb.dwarf2/arr-stride.exp: New file.
3295
12ab52e9
PA
32962014-02-26 Pedro Alves <palves@redhat.com>
3297
3298 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3299 that won't ever trigger. Make sure that GDB reports the correct
3300 breakpoint that caused the stop.
3301
849c862e
JK
33022014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3303
3304 PR gdb/16626
3305 * gdb.base/auto-load-script: New file.
3306 * gdb.base/auto-load.c: New file.
3307 * gdb.base/auto-load.exp: New file.
3308
71b7d793
JK
3309 PR gdb/16626
3310 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3311
e2f0d509
JK
33122014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3313
3314 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3315 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3316
50cc37c8
DE
33172014-02-24 Doug Evans <dje@google.com>
3318
3319 * lib/gdb.exp (run_on_host): Log error output if program fails.
3320
ea4758f2
PA
33212014-02-21 Pedro Alves <palves@redhat.com>
3322
3323 * gdb.threads/step-after-sr-lock.c: Rename to ...
3324 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3325 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3326 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3327 ... this.
3328
d7b30f67
SDJ
33292014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3330
3331 PR tdep/16397
3332 * gdb.arch/amd64-stap-special-operands.exp: New file.
3333 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3334 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3335 * gdb.arch/amd64-stap-triplet.S: Likewise.
3336 * gdb.arch/amd64-stap-triplet.c: Likewise.
3337
83deb43f
JB
33382014-02-20 Joel Brobecker <brobecker@adacore.com>
3339
3340 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3341 in .section pseudo-op.
3342
adde2bff
DE
33432014-02-20 lin zuojian <manjian2006@gmail.com>
3344 Joel Brobecker <brobecker@adacore.com>
3345 Doug Evans <xdje42@gmail.com>
3346
3347 PR symtab/16581
3348 * gdb.dwarf2/dw2-icycle.S: New file.
3349 * gdb.dwarf2/dw2-icycle.c: New file.
3350 * gdb.dwarf2/dw2-icycle.exp: New file.
3351
f7bd0f78
SC
33522014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3353
3354 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3355 operations on gdb.Value objects.
3356 * gdb.python/py-value-cc.exp: Add new test to test operations on
3357 gdb.Value objects.
3358
c17ef0d5
DE
33592014-02-18 Doug Evans <dje@google.com>
3360
3361 * Makefile.in (TESTS): New variable.
3362 (expanded_tests, expanded_tests_or_none): New variables
3363 (check-single): Pass $(expanded_tests_or_none) to runtest.
3364 (check-parallel): Only run tests in $(TESTS) if non-empty.
3365 (check/no-matching-tests-found): New rule.
3366 * README: Document TESTS makefile variable.
3367
5dd3176f
DE
33682014-02-18 Doug Evans <dje@google.com>
3369
3370 * Makefile.in (check-parallel): rm -rf outputs temp.
3371
0b10be4f
JK
33722014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3373
3374 Fix "ERROR: no fileid for" in the testsuite.
3375 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3376
85f224e7
DE
33772014-02-12 Doug Evans <dje@google.com>
3378
3379 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3380 (MISCELLANEOUS): New variable.
3381 (clean): rm -rf $(MISCELLANEOUS).
3382 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3383 dwp live in the same directory as symlinks, with each symlink pointed
3384 to a differently named file in a different directory.
3385
149b30ff
DE
33862014-02-11 Doug Evans <dje@google.com>
3387
3388 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3389 of Tcl file commands.
3390
1dfdac32
MK
33912014-02-10 Mark Kettenis <kettenis@gnu.org>
3392
3393 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3394 "kill -SIGUSR1 -1".
3395
aa4fb036
JB
33962014-02-10 Joel Brobecker <brobecker@adacore.com>
3397
3398 * gdb.ada/tick_length_array_enum_idx: New testcase.
3399
ed3ef339
DE
34002014-02-10 Doug Evans <xdje42@gmail.com>
3401
3402 * configure.ac (AC_OUTPUT): Add gdb.guile.
3403 * configure: Regenerate.
3404 * lib/gdb-guile.exp: New file.
3405 * lib/gdb.exp (get_target_charset): New function.
3406 * gdb.base/help.exp: Update expected output from "apropos apropos".
3407 * gdb.guile/Makefile.in: New file.
3408 * gdb.guile/guile.exp: New file.
3409 * gdb.guile/scm-arch.c: New file.
3410 * gdb.guile/scm-arch.exp: New file.
3411 * gdb.guile/scm-block.c: New file.
3412 * gdb.guile/scm-block.exp: New file.
3413 * gdb.guile/scm-breakpoint.c: New file.
3414 * gdb.guile/scm-breakpoint.exp: New file.
3415 * gdb.guile/scm-disasm.c: New file.
3416 * gdb.guile/scm-disasm.exp: New file.
3417 * gdb.guile/scm-equal.c: New file.
3418 * gdb.guile/scm-equal.exp: New file.
3419 * gdb.guile/scm-error.exp: New file.
3420 * gdb.guile/scm-error.scm: New file.
3421 * gdb.guile/scm-frame-args.c: New file.
3422 * gdb.guile/scm-frame-args.exp: New file.
3423 * gdb.guile/scm-frame-args.scm: New file.
3424 * gdb.guile/scm-frame-inline.c: New file.
3425 * gdb.guile/scm-frame-inline.exp: New file.
3426 * gdb.guile/scm-frame.c: New file.
3427 * gdb.guile/scm-frame.exp: New file.
3428 * gdb.guile/scm-generics.exp: New file.
3429 * gdb.guile/scm-gsmob.exp: New file.
3430 * gdb.guile/scm-iterator.c: New file.
3431 * gdb.guile/scm-iterator.exp: New file.
3432 * gdb.guile/scm-math.c: New file.
3433 * gdb.guile/scm-math.exp: New file.
3434 * gdb.guile/scm-objfile-script-gdb.in: New file.
3435 * gdb.guile/scm-objfile-script.c: New file.
3436 * gdb.guile/scm-objfile-script.exp: New file.
3437 * gdb.guile/scm-objfile.c: New file.
3438 * gdb.guile/scm-objfile.exp: New file.
3439 * gdb.guile/scm-ports.exp: New file.
3440 * gdb.guile/scm-pretty-print.c: New file.
3441 * gdb.guile/scm-pretty-print.exp: New file.
3442 * gdb.guile/scm-pretty-print.scm: New file.
3443 * gdb.guile/scm-section-script.c: New file.
3444 * gdb.guile/scm-section-script.exp: New file.
3445 * gdb.guile/scm-section-script.scm: New file.
3446 * gdb.guile/scm-symbol.c: New file.
3447 * gdb.guile/scm-symbol.exp: New file.
3448 * gdb.guile/scm-symtab-2.c: New file.
3449 * gdb.guile/scm-symtab.c: New file.
3450 * gdb.guile/scm-symtab.exp: New file.
3451 * gdb.guile/scm-type.c: New file.
3452 * gdb.guile/scm-type.exp: New file.
3453 * gdb.guile/scm-value-cc.cc: New file.
3454 * gdb.guile/scm-value-cc.exp: New file.
3455 * gdb.guile/scm-value.c: New file.
3456 * gdb.guile/scm-value.exp: New file.
3457 * gdb.guile/source2.scm: New file.
3458 * gdb.guile/types-module.cc: New file.
3459 * gdb.guile/types-module.exp: New file.
3460
7026a7c1
YQ
34612014-02-10 Yao Qi <yao@codesourcery.com>
3462
3463 PR testsuite/16543
3464 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3465 * configure: Regenerated.
3466 * Makefile.in: New file.
3467
6c466447
AS
34682014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3469
3470 * gdb.python/py-framefilter.exp: Fix typo.
3471
6e854735
YQ
34722014-02-08 Yao Qi <yao@codesourcery.com>
3473
3474 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3475 that no =breakpoint-modified is emitted when breakpoints are
3476 modified through MI commands.
3477
d137e6dc
PA
34782014-02-07 Pedro Alves <pedro@codesourcery.com>
3479 Pedro Alves <palves@redhat.com>
3480
3481 * gdb.threads/step-after-sr-lock.c: New file.
3482 * gdb.threads/step-after-sr-lock.exp: New file.
3483
b5ee5a50
PA
34842014-02-07 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3487
3c77faf3
JK
34882014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3489
3490 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3491 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3492
6dddc817
DE
34932014-02-06 Doug Evans <xdje42@gmail.com>
3494
3495 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3496 output.
3497
3498 * gdb.gdb/python-interrupts.exp: New file.
3499
de7b2893
YQ
35002014-02-05 Yao Qi <yao@codesourcery.com>
3501
3502 * gdb.trace/report.exp (use_collected_data): Test the output
3503 of "info threads" and "info inferiors".
3504
66d032ac
YQ
35052014-02-05 Yao Qi <yao@codesourcery.com>
3506
3507 Revert this patch:
3508
3509 2013-05-24 Yao Qi <yao@codesourcery.com>
3510
3511 * gdb.trace/tfile.exp: Test inferior and thread.
3512
591a12a1
UW
35132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3514
3515 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3516 on a function.
3517 * gdb.base/step-bt.c: Call hello via function pointer to make
3518 sure its first instruction is executed on powerpc64le-linux.
3519
0ff3e01f
UW
35202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3521
3522 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3523
084ee545
UW
35242014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3525
3526 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3527 of the test patterns for use on little-endian systems.
3528
6ed14ff3
UW
35292014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3530
3531 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3532 (decimal_vector): Fix for little-endian.
3533
401e27fd
JM
35342014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3535
3536 * gdb.arch/sparc-sysstep.exp: New file.
3537 * gdb.arch/sparc-sysstep.c: Likewise.
3538
3539 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3540
8b924729
EBM
35412014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3542
3543 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3544
fb151210
JB
35452014-01-23 Tom Tromey <tromey@redhat.com>
3546
3547 * gdb.ada/array_char_idx: New testcase.
3548
0740f8d8
TT
35492014-01-23 Tom Tromey <tromey@redhat.com>
3550
3551 PR python/16487:
3552 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3553 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3554 classes.
3555
21909fa1
TT
35562014-01-23 Tom Tromey <tromey@redhat.com>
3557
3558 PR python/16491:
3559 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3560 string from an inferior frame.
3561 * gdb.python/py-framefilter-mi.exp: Update.
3562
87ce2a04
DE
35632014-01-22 Doug Evans <dje@google.com>
3564
3565 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3566
237b092b
AA
35672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3568
3569 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3570
d674a709
AA
35712014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3572
3573 * gdb.trace/entry-values.exp: Remove excess space character from
3574 regex patterns. Handle s390 call instruction.
3575
20fa3390
AA
35762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3577
3578 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3579 define "*_start" label. Make "name" static.
3580 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3581 ${name} by references to ${name}_start.
3582
78466714
AA
35832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3584
3585 * gdb.base/info-macros.exp: Remove "debug" from the compile
3586 options.
3587
ec9f644a
IB
35882014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3589
3590 * gdb.dlang/demangle.exp: New file.
3591
94b1b47e
IB
35922014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3593
3594 * gdb.dlang/primitive-types.exp: New file.
3595
7f420862
IB
35962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3597
3598 * configure.ac: Create gdb.dlang/Makefile.
3599 * configure: Regenerate.
3600 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3601 * gdb.dlang/Makefile.in: New file.
3602 * lib/d-support.exp: New file.
3603 * lib/gdb.exp (skip_d_tests): New proc.
3604
52834460
MM
36052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3606
3607 * gdb.btrace/delta.exp: Check reverse stepi.
3608 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3609 * gdb.btrace/finish.exp: New.
3610 * gdb.btrace/next.exp: New.
3611 * gdb.btrace/nexti.exp: New.
3612 * gdb.btrace/record_goto.c: Add comments.
3613 * gdb.btrace/step.exp: New.
3614 * gdb.btrace/stepi.exp: New.
3615 * gdb.btrace/multi-thread-step.c: New.
3616 * gdb.btrace/multi-thread-step.exp: New.
3617 * gdb.btrace/rn-dl-bind.c: New.
3618 * gdb.btrace/rn-dl-bind.exp: New.
3619 * gdb.btrace/data.c: New.
3620 * gdb.btrace/data.exp: New.
3621 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3622
6e07b1d2
MM
36232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3624
3625 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3626 * gdb.btrace/exception.exp: Update.
3627 * gdb.btrace/instruction_history.exp: Update.
3628 * gdb.btrace/record_goto.exp: Update.
3629 * gdb.btrace/tailcall.exp: Update.
3630 * gdb.btrace/unknown_functions.exp: Update.
3631 * gdb.btrace/delta.exp: New.
3632
0b722aec
MM
36332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3634
3635 * gdb.btrace/record_goto.exp: Add backtrace test.
3636 * gdb.btrace/tailcall.exp: Add backtrace test.
3637
066ce621
MM
36382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3639
3640 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3641 * gdb.btrace/record_goto.c: New.
3642 * gdb.btrace/record_goto.exp: New.
3643 * gdb.btrace/x86-record_goto.S: New.
3644
0688d04e
MM
36452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3646
3647 * gdb.btrace/function_call_history.exp: Update tests.
3648 * gdb.btrace/instruction_history.exp: Update tests.
3649
8710b709
MM
36502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3651
3652 * gdb.btrace/function_call_history.exp: Fix expected field
3653 order for "record function-call-history".
3654 Add new tests for "record function-call-history /c".
3655 * gdb.btrace/exception.cc: New.
3656 * gdb.btrace/exception.exp: New.
3657 * gdb.btrace/tailcall.exp: New.
3658 * gdb.btrace/x86-tailcall.S: New.
3659 * gdb.btrace/x86-tailcall.c: New.
3660 * gdb.btrace/unknown_functions.c: New.
3661 * gdb.btrace/unknown_functions.exp: New.
3662 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3663
5de9129b
MM
36642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3665
3666 * gdb.btrace/instruction_history.exp: Update.
3667 * gdb.btrace/function_call_history.exp: Update.
3668
23a7fe75
MM
36692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3670
3671 * gdb.btrace/function_call_history.exp: Fix expected function
3672 trace.
3673 * gdb.btrace/instruction_history.exp: Initialize traced.
3674 Remove traced_functions.
3675
724c7dd8
MM
36762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3677
3678 * gdb.btrace/function_call_history.exp: Update
3679 * gdb.btrace/instruction_history.exp: Update.
3680
6d78d93b
MM
36812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3682
3683 * gdb.btrace/enable.exp: Update expected text.
3684
93a360cc
OJ
36852014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3686
3687 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3688 bytes.
3689
3772b53f
MR
36902014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3691
3692 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3693
596662fa
OJ
36942014-01-15 Omair Javaid <omair.javaid@linaro.org>
3695
3696 * lib/gdb.exp (supports_process_record): Return true for
3697 arm*-linux*. (supports_reverse): Likewise.
3698
b5b08fb4
SC
36992014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3700
3701 PR python/15464
3702 PR python/16113
3703 * gdb.python/py-type.c: Enhance test case.
3704 * gdb.python/py-value-cc.cc: Likewise
3705 * gdb.python/py-type.exp: Add new tests.
3706 * gdb.python/py-value-cc.exp: Likewise
3707
52d7fb13
AA
37082014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3709 Pedro Alves <palves@redhat.com>
3710
3711 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3712 Make "name" extern.
3713 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3714 references to ${name}_start by references to ${name}.
3715
a2cd8cfe
JB
37162014-01-10 Joel Brobecker <brobecker@adacore.com>
3717
3718 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3719
4e23fced
JB
37202014-01-10 Joel Brobecker <brobecker@adacore.com>
3721
3722 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3723
c6a9e42c
PA
37242014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3725 Pedro Alves <palves@redhat.com>
3726
3727 * gdb.mi/mi-info-os.exp: Connect to the target with
3728 mi_gdb_target_load.
3729
b7ea362b
PA
37302014-01-08 Pedro Alves <palves@redhat.com>
3731
3732 * gdb.threads/reconnect-signal.c: New file.
3733 * gdb.threads/reconnect-signal.exp: New file.
3734
5e3f4fab
EBM
37352014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3736
3737 * gdb.base/source-dir.exp: New file.
3738
79301218
JB
37392014-01-07 Joel Brobecker <brobecker@adacore.com>
3740
3741 * gdb.ada/mi_interface: New testcase.
3742
8e355c5d
JB
37432014-01-07 Joel Brobecker <brobecker@adacore.com>
3744
3745 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3746 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3747 gdb.ada/pp-rec-component/pck.ads: New files.
3748
c0d48811
JB
37492014-01-07 Joel Brobecker <brobecker@adacore.com>
3750
3751 * gdb.python/py-pp-integral.c: New file.
3752 * gdb.python/py-pp-integral.py: New file.
3753 * gdb.python/py-pp-integral.exp: New file.
3754
17b609c3 3755For older changes see ChangeLog-1993-2013.
c906108c 3756\f
8d8cb839
EZ
3757;; Local Variables:
3758;; mode: change-log
3759;; left-margin: 8
3760;; fill-column: 74
3761;; version-control: never
3762;; End:
902f2ccb 3763
32d0add0 3764 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
3765 Copying and distribution of this file, with or without modification,
3766 are permitted provided the copyright notice and this notice are preserved.
This page took 2.182052 seconds and 4 git commands to generate.