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