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