Remove extra output directory level for Ada tests
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2
3 * lib/ada.exp: Remove extra directory level in build directory.
4 * gdb.ada/cond_lang.exp: Likewise.
5 * gdb.ada/exec_changed.exp: Likewise.
6 * gdb.ada/lang_switch.exp: Likewise.
7
8 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9
10 * simple.rs: Add test for raw pointer subscripting
11 * simple.exp: Add test expectations
12
13 2016-07-05 Yao Qi <yao.qi@linaro.org>
14
15 * gdb.mi/mi-reverse.exp: Match =record-started output.
16
17 2016-07-01 Pedro Alves <palves@redhat.com>
18
19 * gdb.base/jit-reader.exp (info_registers_current_frame): New
20 procedure.
21 (jit_reader_test): Test the jit reader's unwinder.
22 * gdb.base/jithost.c (jit_function_00_code): New global.
23 (main): Use memcpy to fill in the mmapped code, instead of poking
24 bytes manually here.
25 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
26 value.
27 (read_debug_info): Save the function's range.
28 (read_sp): New function.
29 (unwind_frame): Use it. Also unwind RBP.
30 (get_frame_id): Use read_sp.
31 (gdb_init_reader): Use calloc instead of malloc.
32 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
33 parameter. Use gdb_test_multiple.
34
35 2016-07-01 Pedro Alves <palves@redhat.com>
36 Antoine Tremblay <antoine.tremblay@ericsson.com>
37
38 * gdb.threads/process-dies-while-detaching.c: New file.
39 * gdb.threads/process-dies-while-detaching.exp: New file.
40
41 2016-07-01 Pedro Alves <palves@redhat.com>
42
43 * gdb.multi/watchpoint-multi-exit.c: New file.
44 * gdb.multi/watchpoint-multi-exit.exp: New file.
45
46 2016-06-30 Pedro Alves <palves@redhat.com>
47
48 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
49 unset inferior_spawn_id.
50
51 2016-06-30 Pedro Alves <palves@redhat.com>
52
53 * lib/mi-support.exp (default_mi_gdb_start): Declare global
54 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
55
56 2016-06-29 Yao Qi <yao.qi@linaro.org>
57
58 * gdb.base/return.c: Add copyright header.
59
60 2016-06-29 Tom Tromey <tom@tromey.com>
61
62 PR python/20129:
63 * gdb.python/py-framefilter.exp: Add tests for setting priority
64 and disabling of non-existent frame filter.
65
66 2016-06-29 Yao Qi <yao.qi@linaro.org>
67
68 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
69 0x0f07ff.
70
71 2016-06-28 Yao Qi <yao.qi@linaro.org>
72
73 * gdb.base/catch-syscall.exp: Remove check on isnative and target
74 triplets. Start gdb, execute catch syscall, and continue. Check
75 gdb's output to determine catch syscall is supported.
76
77 2016-06-27 Manish Goregaokar <manish@mozilla.com>
78
79 * gdb.rust/simple.rs: Add test for returning unit in a function.
80 * gdb.rust/simple.exp: Add expectation for functions returning
81 unit.
82
83 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
84
85 * gdb.python/py-breakpoint-create-fail.c,
86 gdb.python/py-breakpoint-create-fail.exp,
87 gdb.python/py-breakpoint-create-fail.py: New testcase.
88
89 2016-06-25 Manish Goregaokar <manish@mozilla.com>
90
91 PR gdb/20239
92 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
93 * gdb.rust/simple.exp: Add test expectations for new NonZero
94 tests.
95
96 2016-06-24 David Taylor <dtaylor@emc.com>
97
98 * gdb.base/offsets.exp: New file.
99 * gdb.base/offsets.c: New file.
100
101 2016-06-23 Tom Tromey <tom@tromey.com>
102
103 PR gdb/16483:
104 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
105 before any filters are loaded.
106
107 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
108
109 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
110 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
111 structs.
112 * gdb.fortran/derived-type-function.exp: New file.
113 * gdb.fortran/derived-type-function.f90: New file.
114
115
116 2016-06-21 Pedro Alves <palves@redhat.com>
117
118 * gdb.base/new-ui.exp: New file.
119 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
120 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
121 (with_spawn_id): New procedure.
122
123 2016-06-21 Pedro Alves <palves@redhat.com>
124
125 * gdb.mi/mi-exec-run.exp: New file.
126
127 2016-06-21 Pedro Alves <palves@redhat.com>
128
129 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
130 breakpoint command's output on the main UI.
131 (test_break): New procedure, factored out from calls in the top
132 level.
133 (top level): Use foreach_with_prefix to test MI as main UI and as
134 separate UI.
135
136 2016-06-21 Pedro Alves <palves@redhat.com>
137
138 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
139 (test_awatch_creation_and_listing)
140 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
141 Remove 'type' parameter.
142 (test_watchpoint_all): New parameter mi_mode. Remove
143 with_test_prefix.
144 (top level): Use foreach_with_prefix, and add main/separate UI MI
145 testing axis.
146
147 2016-06-21 Pedro Alves <palves@redhat.com>
148
149 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
150 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
151 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
152 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
153 (gdb_main_spawn_id, mi_spawn_id): Declare and
154 comment.
155 (mi_create_inferior_pty): New procedure,
156 factored out from default_mi_gdb_start.
157 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
158 procedures.
159 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
160 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
161 Use mi_create_inferior_pty.
162 (mi_gdb_start): Use eval to pass down args list.
163
164 2016-06-21 Pedro Alves <palves@redhat.com>
165
166 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
167 * gdb.opt/inline-cmds.exp: Add MI tests.
168
169 2016-06-21 Pedro Alves <palves@redhat.com>
170
171 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
172
173 2016-06-21 Pedro Alves <palves@redhat.com>
174
175 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
176 (top level): Use it instead of mi_execute_to.
177
178 2016-06-21 Pedro Alves <palves@redhat.com>
179
180 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
181 (cont_handler_str): New.
182 (signal_stop_handler): Set stop_handler_str instead of printing to
183 stdout.
184 (continue_handler): Set cont_handler_str instead of printing to
185 stdout.
186 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
187 mi_send_resuming_command. Print stop_handler_str and
188 cont_handler_str instead of expecting the python events print
189 directly.
190
191 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
192
193 * gdb.base/jit-reader.exp: New file.
194 * gdb.base/jithost.c: New file.
195 * gdb.base/jithost.h: New file.
196 * gdb.base/jitreader.c : New file.
197 * gdb.base/jit-protocol.h: New file.
198
199 2016-06-17 Yao Qi <yao.qi@linaro.org>
200
201 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
202 parameters follow_fork and detach_on_fork. Set follow-fork-mode
203 and detach-on-fork. Adjust tests.
204 (top level): Invoke break_cond_on_syscall with combinations of
205 syscall, follow-fork-mode and detach-on-fork.
206
207 2016-06-17 Yao Qi <yao.qi@linaro.org>
208
209 * gdb.base/step-over-exit.c: New.
210 * gdb.base/step-over-exit.exp: New.
211
212 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
213
214 * gdb.base/float.exp: Add target check for nds32*-*-*.
215 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
216
217 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
218
219 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
220 for unsupported target features.
221 * gdb.base/call-rt-st.exp: Likewise.
222 * gdb.base/call-sc.exp: Likewise.
223 * gdb.base/call-signal-resume.exp: Likewise.
224 * gdb.base/call-strs.exp: Likewise.
225 * gdb.base/callexit.exp: Likewise.
226 * gdb.base/callfuncs.exp: Likewise.
227 * gdb.base/nodebug.exp: Likewise.
228 * gdb.base/printcmds.exp: Likewise.
229 * gdb.base/ptype.exp: Likewise.
230 * gdb.base/structs.exp: Likewise.
231 * gdb.base/unwindonsignal.exp: Likewise.
232 * gdb.cp/gdb2495.exp: Likewise.
233 * gdb.cp/templates.exp: Likewise.
234 * gdb.cp/virtfunc.exp: Likewise.
235 * gdb.threads/hand-call-in-threads.exp: Likewise.
236 * gdb.threads/interrupted-hand-call.exp: Likewise.
237 * gdb.threads/thread-unwindonsignal.exp: Likewise.
238
239 2016-06-10 Tom Tromey <tom@tromey.com>
240
241 PR rust/20110:
242 * gdb.rust/expr.exp: Add test for integer constant larger than
243 i32.
244
245 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
246
247 * gdb.fortran/nested-funcs.exp: New.
248 * gdb.fortran/nested-funcs.f90: New.
249
250 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
251
252 * gdb.base/examine-backward.c: New file.
253 * gdb.base/examine-backward.exp: New file.
254
255 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
256
257 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
258 matching.
259
260 2016-06-02 Tom Tromey <tom@tromey.com>
261
262 PR python/18984:
263 * gdb.python/py-shared.exp: Add solib_name test.
264
265 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
266
267 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
268
269 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
270
271 PR c++/19893
272 * gdb.dwarf2/implref.exp: Rename to...
273 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
274 * gdb.dwarf2/implref-array.c: New file.
275 * gdb.dwarf2/implref-array.exp: Likewise.
276 * gdb.dwarf2/implref-global.c: Likewise.
277 * gdb.dwarf2/implref-global.exp: Likewise.
278 * gdb.dwarf2/implref-struct.c: Likewise.
279 * gdb.dwarf2/implref-struct.exp: Likewise.
280
281 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
282
283 * gdb.trace/trace-condition.exp: Add 64bit tests.
284
285 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
286
287 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
288 bits types.
289 (main): Adapt to 8 to 64 bits types.
290 * gdb.trace/trace-condition.exp: Add new tests.
291
292 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
293
294 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
295
296 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
297
298 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
299 Move condition tests...
300 * gdb.trace/trace-condition.exp: Here.
301
302 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
303
304 * gdb.trace/trace-condition.exp: Add counter-case tests.
305
306 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
307
308 PR c++/15231
309 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
310 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
311
312 2016-05-27 Pedro Alves <palves@redhat.com>
313
314 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
315 New procedure.
316 (top level): Call it, and bail out of DejaGnu is known to be bad.
317
318 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
319
320 * gdb.base/whatis.c: Extend the test case.
321 * gdb.base/whatis.exp: Add additional tests.
322
323 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
324
325 * gdb.fortran/type.f90: Add pointer variable.
326 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
327
328 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
329
330 * gdb.fortran/vla-type.exp: Fix testcase name.
331
332 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
333
334 * gdb.fortran/vla-type.exp: Access elements in nested structs.
335
336 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
337
338 * gdb.fortran/type.f90: Add nested structures.
339 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
340 * gdb.fortran/derived-type.exp: Adapt expected output.
341 * gdb.fortran/vla-type.exp: Adapt expected output.
342
343 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
344
345 * gdb.fortran/whatis_type.exp: Adapt expected output.
346
347 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
348
349 * gdb.fortran/print_type.exp: Fix expected output.
350 * gdb.fortran/whatis_type.exp: Fix expected output.
351
352 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
353
354 * gdb.fortran/whatis_type.exp: Use multi_line.
355
356 2016-05-24 Tom Tromey <tom@tromey.com>
357
358 PR python/17386:
359 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
360 use value as an index.
361
362 2016-05-23 Tom Tromey <tom@tromey.com>
363
364 PR python/17981:
365 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
366 no-breakpoint case.
367
368 2016-05-24 Pedro Alves <palves@redhat.com>
369
370 PR gdb/19828
371 * gdb.threads/clone-attach-detach.c: New file.
372 * gdb.threads/clone-attach-detach.exp: New file.
373
374 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
375
376 * gdb.base/annota-input-while-running.exp: Fix syntax error.
377
378 2016-05-23 Tom Tromey <tom@tromey.com>
379
380 PR python/19438, PR python/18393:
381 * gdb.python/py-progspace.exp: Add "dir" test.
382 * gdb.python/py-objfile.exp: Add "dir" test.
383
384 2016-05-23 Yao Qi <yao.qi@linaro.org>
385
386 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
387 * gdb.arch/thumb2-it.exp: Likewise.
388
389 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
390
391 * gdb.mi/mi-threads-interrupt.c: New file.
392 * gdb.mi/mi-threads-interrupt.exp: New file.
393
394 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
395
396 PR gdb/18077
397 * gdb.mi/mi-async-run.exp: New file.
398 * gdb.mi/mi-async-run.c: New file.
399
400 2016-05-17 Tom Tromey <tom@tromey.com>
401 Manish Goregaokar <manishsmail@gmail.com>
402
403 * lib/rust-support.exp: New file.
404 * lib/gdb.exp (skip_rust_tests): New proc.
405 (build_executable_from_specs): Handle rust.
406 * lib/future.exp (gdb_find_rustc): New proc.
407 (gdb_default_target_compile): Handle rust.
408 * gdb.rust/expr.exp: New file.
409 * gdb.rust/generics.exp: New file.
410 * gdb.rust/generics.rs: New file.
411 * gdb.rust/methods.exp: New file.
412 * gdb.rust/methods.rs: New file.
413 * gdb.rust/modules.exp: New file.
414 * gdb.rust/modules.rs: New file.
415 * gdb.rust/simple.exp: New file.
416 * gdb.rust/simple.rs: New file.
417
418 2016-05-17 Tom Tromey <tom@tromey.com>
419
420 * gdb.base/default.exp (set language): Add rust.
421
422 2016-05-17 Tom Tromey <tom@tromey.com>
423
424 * gdb.gdb/unittest.exp: New file.
425
426 2016-05-16 Yao Qi <yao.qi@linaro.org>
427
428 * gdb.base/batch-preserve-term-settings.exp: Remove variable
429 shell_prompt. Update shell_prompt_re.
430
431 2016-05-12 Doug Evans <dje@google.com>
432
433 PR symtab/19999
434 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
435 $options when building executable.
436 * gdb.dwarf2/fission-loclists-pie.S: New file.
437 * gdb.dwarf2/fission-loclists-pie.exp: New file.
438
439 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
440
441 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
442 of [is_remote target],
443
444 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
445
446 * lib/gdb.exp (use_gdb_stub): New procedure.
447
448 2016-05-03 Yunlian Jiang <yunlian@google.com>
449 Doug Evans <dje@google.com>
450
451 PR symtab/19914
452 * gdb.dwarf2/dwp-sepdebug.c: New file.
453 * gdb.dwarf2/dwp-sepdebug.exp: New file.
454
455 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
456
457 * gdb.base/detach.exp: Remove is_remote check.
458
459 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
460
461 * gdb.base/annota-input-while-running.exp: Don't check for
462 [is_remote target]. Enable annotations after running to main.
463 Remove unused "set test..." line.
464
465 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
466
467 * gdb.trace/trace-enable-disable.exp: New file.
468 * gdb.trace/trace-enable-disable.c: New file.
469
470 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
471
472 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
473 use it in info sharedlibrary test.
474 * gdb.trace/ftrace-lock.exp: Likewise.
475 * gdb.trace/ftrace.exp: Likewise.
476 * gdb.trace/range-stepping.exp: Likewise.
477 * gdb.trace/trace-break.exp: Likewise.
478 * gdb.trace/trace-condition.exp: Likewise.
479 * gdb.trace/trace-mt.exp: Likewise.
480
481 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
482
483 * lib/gdb.exp (gdb_load_shlibs): Rename to...
484 (gdb_load_shlib): ... this.
485 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
486 gdb_load_shlib.
487 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
488 * gdb.base/ctxobj.exp: Likewise.
489 * gdb.base/dprintf-pending.exp: Likewise.
490 * gdb.base/dso2dso.exp: Likewise.
491 * gdb.base/fixsection.exp: Likewise.
492 * gdb.base/gcore-relro.exp: Likewise.
493 * gdb.base/gdb1555.exp: Likewise.
494 * gdb.base/global-var-nested-by-dso.exp: Likewise.
495 * gdb.base/gnu-ifunc.exp: Likewise.
496 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
497 * gdb.base/jit-so.exp (one_jit_test): Likewise.
498 * gdb.base/pending.exp: Likewise.
499 * gdb.base/print-file-var.exp: Likewise.
500 * gdb.base/print-symbol-loading.exp: Likewise.
501 * gdb.base/shlib-call.exp: Likewise.
502 * gdb.base/shreloc.exp: Likewise.
503 * gdb.base/so-impl-ld.exp: Likewise.
504 * gdb.base/solib-disc.exp: Likewise.
505 * gdb.base/solib-nodir.exp: Likewise.
506 * gdb.base/solib-overlap.exp: Likewise.
507 * gdb.base/solib-symbol.exp: Likewise.
508 * gdb.base/solib-weak.exp (do_test): Likewise.
509 * gdb.base/sym-file.exp: Likewise.
510 * gdb.base/symtab-search-order.exp: Likewise.
511 * gdb.base/type-opaque.exp: Likewise.
512 * gdb.base/unload.exp: Likewise.
513 * gdb.base/watchpoint-solib.exp: Likewise.
514 * gdb.compile/compile.exp: Likewise.
515 * gdb.cp/gdb2384.exp: Likewise.
516 * gdb.cp/infcall-dlopen.exp: Likewise.
517 * gdb.cp/re-set-overloaded.exp: Likewise.
518 * gdb.fortran/library-module.exp: Likewise.
519 * gdb.opt/solib-intra-step.exp: Likewise.
520 * gdb.python/py-finish-breakpoint.exp: Likewise.
521 * gdb.python/py-shared.exp: Likewise.
522 * gdb.reverse/solib-precsave.exp: Likewise.
523 * gdb.reverse/solib-reverse.exp: Likewise.
524 * gdb.server/solib-list.exp: Likewise.
525 * gdb.threads/dlopen-libpthread.exp: Likewise.
526 * gdb.threads/tls-shared.exp: Likewise.
527 * gdb.threads/tls-so_extern.exp: Likewise.
528 * gdb.trace/change-loc.exp: Likewise.
529 * gdb.trace/ftrace-lock.exp: Likewise.
530 * gdb.trace/ftrace.exp: Likewise.
531 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
532 * gdb.trace/pending.exp: Likewise.
533 * gdb.trace/range-stepping.exp: Likewise.
534 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
535 (strace_info_marker): Likewise.
536 (strace_probe_marker): Likewise.
537 (strace_trace_on_same_addr): Likewise.
538 (strace_trace_on_diff_addr): Likewise.
539 * gdb.trace/trace-break.exp: Likewise.
540 * gdb.trace/trace-condition.exp: Likewise.
541 * gdb.trace/trace-mt.exp: Likewise.
542
543 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
544
545 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
546 result of gdb_remote_download.
547 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
548 * gdb.base/dso2dso.exp: Likewise.
549 * gdb.base/global-var-nested-by-dso.exp: Likewise.
550 * gdb.base/print-file-var.exp: Likewise.
551 * gdb.base/shlib-call.exp: Likewise.
552 * gdb.base/shreloc.exp: Likewise.
553 * gdb.base/solib-overlap.exp: Likewise.
554 * gdb.base/solib-weak.exp (do_test): Likewise.
555 * gdb.base/unload.exp: Likewise.
556
557 2016-04-27 Yao Qi <yao.qi@linaro.org>
558
559 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
560 exists.
561
562 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
563
564 * vla-type.exp: Print structure from toplevel.
565
566 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
567
568 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
569 of dynamic types.
570 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
571 of dynamic types.
572
573 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
574
575 * gdb.fortran/vla-type.f90: New file.
576 * gdb.fortran/vla-type.exp: New file.
577
578 2016-04-25 Yao Qi <yao.qi@linaro.org>
579
580 * gdb.base/branch-to-self.c: New file.
581 * gdb.base/branch-to-self.exp: New file.
582
583 2016-04-22 Yao Qi <yao.qi@linaro.org>
584
585 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
586 more after $hex.
587
588 2016-04-22 Yao Qi <yao.qi@linaro.org>
589
590 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
591 * gdb.base/annota3.exp: Likewise.
592
593 2016-04-22 Yao Qi <yao.qi@linaro.org>
594
595 * gdb.reverse/step-precsave.exp: Do one step and test program
596 stops in "callee" and do multiple steps until program goes out
597 of "callee".
598 * gdb.reverse/step-reverse.exp: Likewise.
599
600 2016-04-22 Yao Qi <yao.qi@linaro.org>
601
602 * gdb.trace/signal.exp: Also pass if
603 $tracepoint_hits($i) > $iterations.
604
605 2016-04-22 Yao Qi <yao.qi@linaro.org>
606
607 * gdb.trace/signal.c: New file.
608 * gdb.trace/signal.exp: New file.
609
610 2016-04-19 Doug Evans <xdje42@gmail.com>
611
612 * gdb.base/bad-file.exp: New file.
613
614 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
615
616 * gdb.dwarf2/implref.exp: New file.
617
618 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
619
620 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
621 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
622 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
623 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
624 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
625 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
626 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
627 * lib/fortran.exp (fortran_int4): New procedure.
628 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
629 (fortran_logical4): Likewise.
630
631 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
632
633 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
634
635 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
636
637 * lib/compiler.c: Add Intel specific preprocessor macros.
638 * lib/compiler.cc: Likewise.
639
640 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
641
642 * gdb.server/connect-with-no-symbol-file.c: New file.
643 * gdb.server/connect-with-no-symbol-file.exp: New file.
644
645 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
646
647 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
648
649 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
650
651 * boards/gdbserver-base.exp (${board}_download): Copy source file to
652 standard output directory.
653
654 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
655
656 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
657
658 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
659
660 * gdb.btrace/instruction_history.c (loop): Add declaration.
661
662 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
663
664 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
665
666 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
667
668 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
669 parentheses to print.
670 (continue_handler): Likewise.
671
672 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
673
674 * gdb.server/solib-list.exp: Remove is_remote check.
675 Pass shlib= to gdb_compile. Don't link shared library with
676 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
677 Run binary filename through "readlink -f" on the target.
678
679 2016-04-08 Pedro Alves <palves@redhat.com>
680
681 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
682 interpreter filename as argument to gdbserver_spawn.
683 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
684 Return empty if $last_loaded_file does not exist.
685
686 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
687
688 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
689 * gdb.base/jit-main.c: Use exit after usage.
690
691 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
692
693 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
694 GDBHISTSIZE prior to the tests.
695 * gdb.base/gdbinit-history.exp: Likewise.
696
697 2016-04-07 Pedro Alves <palves@redhat.com>
698
699 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
700 instead of build_executable. Use gdb_load_shlibs.
701
702 2016-04-07 Yao Qi <yao.qi@linaro.org>
703
704 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
705 Execute "si" command.
706
707 2016-04-07 Yao Qi <yao.qi@linaro.org>
708
709 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
710 number instead of the comments on some line.
711
712 2016-04-06 Don Breazeal <donb@codesourcery.com>
713
714 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
715 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
716
717 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
718
719 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
720 standard_output_file. Remove unused binfile variable.
721
722 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
723
724 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
725 * gdb.python/py-mi-objfile.exp: Match "list main" output
726 in console format.
727
728 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
729
730 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
731 absolute.
732
733 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
734
735 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
736 absolute.
737 * gdb.trace/ftrace.exp: Likewise.
738 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
739 targets as well.
740 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
741 (gdb_load_shlibs): Copy libraries to test directory when testing
742 natively. Only set solib-search-path if testing remotely.
743 * lib/mi-support.exp (mi_load_shlibs): Likewise.
744
745 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
746
747 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
748 gdb_download. Use it even if the target is not remote.
749 * gdb.base/jit.exp (compile_jit_test): Likewise.
750 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
751 output directory if the destination board is local, otherwise use
752 the standard remote_download from DejaGnu.
753 (gdb_download): Remove.
754 (gdb_load_shlibs): Use gdb_remote_download instead of
755 gdb_download.
756 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
757 Use gdb_remote_download instead of gdb_download. Use it even if
758 the target is not remote.
759 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
760 instead of gdb_download.
761
762 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
763
764 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
765 (test_insert_delete_modify): Call mi_load_shlibs before trying to
766 run.
767
768 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
769
770 PR gdb/19820
771 * gdb.base/printcmds.exp: Add artificial arrays tests.
772
773 2016-03-31 Pedro Alves <palves@redhat.com>
774
775 PR gdb/19858
776 * gdb.base/jit-main.c: Include unistd.h.
777 (ATTACH): Define to 0 if not already defined.
778 (wait_for_gdb, mypid): New globals.
779 (WAIT_FOR_GDB): New macro.
780 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
781 some breakpoint locations.
782 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
783 New procedures.
784 (one_jit_test): Add REATTACH parameter, and handle it. Use
785 continue_to_test_location.
786 (top level): Test attach, and adjusts calls to one_jit_test.
787
788 2016-03-31 Pedro Alves <palves@redhat.com>
789
790 PR gdb/19858
791 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
792 BINSUFFIX parameter, and handle it.
793 (top level): Adjust calls compile_jit_test.
794
795 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
796
797 PR python/19743
798 * gdb.python/py-mi-events-gdb.py: New file.
799 * gdb.python/py-mi-events.c: New file.
800 * gdb.python/py-mi-events.exp: New file.
801
802 2016-03-30 Yao Qi <yao.qi@linaro.org>
803
804 * gdb.reverse/until-precsave.exp: Match function name only.
805 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
806 Move malloc to a condition block.
807 * gdb.reverse/until-reverse.exp: Match function name only.
808
809 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
810
811 * gdb.trace/ftrace.exp: Set arg0exp for s390.
812 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
813 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
814 variable for GPR 0 instead of assuming it is register 0.
815 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
816 * lib/trace-support.exp: Add s390 registers.
817
818 2016-03-29 Yao Qi <yao.qi@linaro.org>
819
820 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
821
822 2016-03-24 Yao Qi <yao.qi@linaro.org>
823
824 * gdb.reverse/break-reverse.exp: Add quotation mark in the
825 test message.
826
827 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
828
829 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
830 maintaining separate logic for constructing the output path.
831
832 2016-03-16 Don Breazeal <donb@codesourcery.com>
833
834 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
835 Retry fork and waitpid on interrupted system call errors.
836 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
837 Use with_timeout_factor to increase timeout by factor of 10.
838
839 2016-03-15 Don Breazeal <donb@codesourcery.com>
840
841 * gdb.cp/scope-err.cc: New test program.
842 * gdb.cp/scope-err.exp: New test script.
843 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
844 lines and "set breakpoint here" comment.
845 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
846 Fixed some whitespace and format issues.
847 * gdb.mi/mi-linespec-err-cp.cc: New test program.
848 * gdb.mi/mi-linespec-err-cp.exp: New test script.
849
850 2016-03-15 Doug Evans <dje@google.com>
851
852 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
853 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
854 All callers updated. Add tests for enums, mixed flags register.
855
856 2016-03-15 Doug Evans <dje@google.com>
857
858 * gdb.base/skip.c (main): Call test_skip_file_and_function.
859 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
860
861 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
862
863 * gdb.base/default.exp: Add $_as_string to the list of expected
864 convenience functions.
865
866 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
867
868 * gdb.base/maint.exp: New tests for 'maint info line-table'.
869
870 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
871
872 * gdb.python/py-as-string.exp: New file.
873 * gdb.python/py-as-string.c: New file.
874
875 2016-03-09 Pedro Alves <palves@redhat.com>
876
877 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
878 signal" -> "Thread NN received signal" output change.
879 * gdb.threads/ia64-sigill.exp: Likewise.
880 * gdb.threads/linux-dp.exp: Likewise.
881 * gdb.threads/manythreads.exp: Likewise.
882 * gdb.threads/pending-step.exp: Likewise.
883 * gdb.threads/print-threads.exp: Likewise.
884 * gdb.threads/sigstep-threads.exp: Likewise.
885 * gdb.threads/staticthreads.exp: Likewise.
886 * gdb.threads/tls.exp: Likewise.
887
888 2016-03-09 Pedro Alves <palves@redhat.com>
889
890 * gdb.base/command-line-input.exp: New file.
891
892 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
893
894 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
895 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
896 * gdb.trace/pending.exp: Accept leading dot before function name.
897 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
898 * lib/trace-support.exp: Set registers for ppc.
899
900 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
901
902 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
903 use it for disassembly; accept .main in addition to main in backtrace.
904
905 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
906 Marcin Kościelnicki <koriakin@0x04.net>
907
908 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
909 (gdb_recursion_test_ptr): New global variable.
910 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
911 gdb_recursion_test.
912 (gdb_c_test): Ditto.
913
914 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
915
916 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
917 ordering.
918
919 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
920
921 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
922 (bar): Add bar_start_lbl label.
923 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
924 of foo/bar for emitting DWARF and tracing.
925
926 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
927
928 * analyze-racy-logs.py: Set executable bit.
929
930 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
931
932 * Makefile.in (DEFAULT_RACY_ITER): New variable.
933 (CHECK_TARGET_TMP): Likewise.
934 (check-single-racy): New rule.
935 (check-parallel-racy): Likewise.
936 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
937 (do-check-parallel-racy): New rule.
938 (check-racy/%.exp): Likewise.
939 * README (Racy testcases): New section.
940 * analyze-racy-logs.py: New file.
941
942 2016-03-03 Doug Evans <dje@google.com>
943
944 * gdb.base/skip.exp: Use with_test_prefix.
945
946 2016-03-03 Yao Qi <yao.qi@linaro.org>
947
948 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
949 Invoke step_over_syscall "clone" and break_cond_on_syscall
950 "clone".
951 * gdb.base/step-over-clone.c: New file.
952
953 2016-03-03 Yao Qi <yao.qi@linaro.org>
954
955 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
956 code format.
957
958 2016-03-03 Yao Qi <yao.qi@linaro.org>
959
960 * gdb.base/disp-step-fork.c: Rename to ...
961 * gdb.base/step-over-fork.c: ... it. New file.
962 * gdb.base/disp-step-vfork.c: Rename to ...
963 * gdb.base/step-over-vfork.c: ... it. New file.
964 * gdb.base/disp-step-syscall.exp: Rename to ...
965 * gdb.base/step-over-syscall.exp: ... it. New file.
966 (disp_step_cross_syscall): Rename to ...
967 (step_over_syscall): ... it.
968
969 2016-03-03 Yao Qi <yao.qi@linaro.org>
970
971 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
972 If target supports condition evaluation on target, invoke
973 break_cond_on_syscall for fork and vfork.
974
975 2016-03-03 Yao Qi <yao.qi@linaro.org>
976
977 * gdb.base/disp-step-syscall.exp: Don't invoke
978 support_displaced_stepping.
979 (disp_step_cross_syscall): Test with displaced stepping off and
980 on if supported.
981
982 2016-03-03 Yao Qi <yao.qi@linaro.org>
983
984 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
985 proc.
986 (setup): New proc.
987 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
988 and setup.
989
990 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
991
992 * gdb.fortran/vla-history.exp: Remove breakpoint.
993
994 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
995
996 * gdb.fortran/vla-history.exp: Lookup array elements and printing
997 exceeds timeout.
998
999 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1000
1001 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1002 breakpoint.
1003
1004 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1005
1006 * gdb.mi/vla.f90: Nullify pointer after declaration.
1007
1008 2016-03-01 Pedro Alves <palves@redhat.com>
1009
1010 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1011
1012 2016-03-01 Pedro Alves <palves@redhat.com>
1013
1014 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1015 before anything else.
1016 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1017 _GNU_SOURCE here.
1018 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1019 before anything else.
1020 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1021
1022 2016-03-01 Pedro Alves <palves@redhat.com>
1023
1024 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1025
1026 2016-03-01 Yao Qi <yao.qi@linaro.org>
1027
1028 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1029 prepare_for_testing.
1030
1031 2016-03-01 Yao Qi <yao.qi@linaro.org>
1032
1033 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1034
1035 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1036
1037 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1038 manually constructing the output path.
1039
1040 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1041
1042 * gdb.arch/s390-stackless.S: New.
1043 * gdb.arch/s390-stackless.exp: New.
1044
1045 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1046
1047 * gdb.dlang/circular.c: New file.
1048 * gdb.dlang/circular.exp: New file.
1049
1050 2016-02-26 Yao Qi <yao.qi@linaro.org>
1051
1052 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1053 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1054 (testcases): Update.
1055
1056 2016-02-26 Yao Qi <yao.qi@linaro.org>
1057
1058 * gdb.reverse/aarch64.c: Rename to ...
1059 * gdb.reverse/insn-reverse.c: ... it.
1060 * gdb.reverse/aarch64.exp: Rename to ...
1061 * gdb.reverse/insn-reverse.exp: ... it.
1062
1063 2016-02-26 Yao Qi <yao.qi@linaro.org>
1064
1065 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1066 (testcase_ftype): New.
1067 (testcases): New array.
1068 (n_testcases): New.
1069 (main): Call each element in testcases.
1070 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1071 (read_testcase): New.
1072 Do the tests in a loop.
1073
1074 2016-02-25 Yao Qi <yao.qi@linaro.org>
1075
1076 * gdb.base/branches.c: Remove.
1077
1078 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1079
1080 PR gdb/13808
1081 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1082
1083 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1084
1085 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1086
1087 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1088
1089 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1090 change x86_64 call_insn to 'callq'.
1091
1092 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1093
1094 * gdb.trace/tfile-avx.c: Move to...
1095 * gdb.trace/tracefile-pseudo-reg.c: Here.
1096 * gdb.trace/tfile-avx.exp: Move to...
1097 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1098
1099 2016-02-24 Gary Benson <gbenson@redhat.com>
1100
1101 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1102 message on attach.
1103
1104 2016-02-23 Doug Evans <dje@google.com>
1105
1106 * gdb.base/skip.c (test_skip): New function.
1107 (end_test_skip_file_and_function): New function.
1108 (test_skip_file_and_function): New function.
1109 * gdb.base/skip1.c (test_skip): New function.
1110 (skip1_test_skip_file_and_function): New function.
1111 * gdb.base/skip.exp: Add tests for new skip options.
1112 * gdb.base/skip-solib.exp: Update expected output.
1113 * gdb.perf/skip-command.cc: New file.
1114 * gdb.perf/skip-command.exp: New file.
1115 * gdb.perf/skip-command.py: New file.
1116
1117 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1118
1119 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1120 info registers pattern.
1121
1122 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1123
1124 * lib/future.exp: Add D support.
1125 (gdb_find_gdc): New proc.
1126 (gdb_default_target_compile): Add D support.
1127
1128 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1129
1130 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1131 user+system time.
1132 (trace_speed_test): Determine the iteration count for a time
1133 between 15..30 seconds.
1134
1135 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1136
1137 * gdb.arch/i386-mpx-sigsegv.c: New file.
1138 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1139 * gdb.arch/i386-mpx-simple_segv.c: New file.
1140 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1141
1142 2016-02-18 Yao Qi <yao.qi@linaro.org>
1143
1144 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1145 Don't call setup_kfail.
1146
1147 2016-02-18 Yao Qi <yao.qi@linaro.org>
1148
1149 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1150 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1151
1152 2016-02-16 Doug Evans <dje@google.com>
1153
1154 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1155 * gdb.base/skip1.c: Ditto.
1156 * gdb.base/skip.exp: Whitespace cleanup.
1157
1158 2016-02-16 Don Breazeal <donb@codesourcery.com>
1159
1160 PR remote/19496
1161 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1162 Remove kfail for PR remote/19496.
1163
1164 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1165
1166 * lib/gdb.exp (standard_temp_file): Return a path specific to
1167 the runtest invocation.
1168
1169 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1170
1171 * gdb.trace/save-trace.exp: Change relative path to be in the
1172 standard output directory.
1173
1174 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1175
1176 * gdb.arch/i386-prologue.c: Add missing prototypes.
1177
1178 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1179
1180 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1181 * gdb.arch/i386-prologue.exp: Likewise.
1182 * gdb.arch/i386-size.exp: Likewise.
1183
1184 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1185
1186 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1187 define object file path.
1188 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1189 file path.
1190 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1191 standard_output_file to define binfile.
1192
1193 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1194
1195 Fix compatibility with recent gfortran-5.3.1.
1196 * gdb.fortran/vla-history.exp (print vla1 allocated)
1197 (print vla2 allocated, print $2, print $3): Remove
1198 (print $4): Rename to ...
1199 (print $2): ... here.
1200 (print $9): Rename to ...
1201 (print $5): ... here.
1202 (print $10): Rename to ...
1203 (print $6): ... here.
1204 * gdb.fortran/vla.f90: Add pvla initialization.
1205
1206 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1207
1208 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1209 New test.
1210 * gdb.fortran/vla-value-sub.exp: Likewise.
1211
1212 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1213
1214 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1215
1216 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1217
1218 * i386-biarch-core.exp: Define corefile using
1219 standard_output_file.
1220
1221 2016-02-12 Yao Qi <yao.qi@linaro.org>
1222
1223 * gdb.arch/arm-single-step-kernel-helper.c: New.
1224 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1225
1226 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1227
1228 * gdb.btrace/tailcall-only.exp: New.
1229 * gdb.btrace/tailcall-only.c: New.
1230 * gdb.btrace/x86_64-tailcall-only.S: New.
1231 * gdb.btrace/i686-tailcall-only.S: New.
1232
1233 2016-02-11 Pedro Alves <palves@redhat.com>
1234
1235 * README (Parallel testing): Add missing double quotes.
1236
1237 2016-02-11 Pedro Alves <palves@redhat.com>
1238
1239 * README (Parallel testing): New section.
1240 (GDB_PARALLEL): Rewrite.
1241 (FORCE_PARALLEL): Document.
1242
1243 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1244
1245 * gdb.trace/tfile-avx.c: New test.
1246 * gdb.trace/tfile-avx.exp: New test.
1247
1248 2016-02-09 Keith Seitz <keiths@redhat.com>
1249
1250 PR breakpoints/19546
1251 * gdb.base/infcall-exec.c: New file.
1252 * gdb.base/infcall-exec2.c: New file.
1253 * gdb.base/infcall-exec.exp: New file.
1254
1255 2016-02-09 Keith Seitz <keiths@redhat.com>
1256
1257 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1258 (toplevel): Call test_bkpt_address.
1259
1260 2016-02-09 Keith Seitz <keiths@redhat.com>
1261
1262 PR python/19506
1263 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1264 (toplevel): Call test_bkpt_address.
1265
1266 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1267
1268 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1269 to AC_OUTPUT.
1270 * configure: Regenerate.
1271
1272 2016-02-09 Pedro Alves <palves@redhat.com>
1273
1274 PR breakpoints/19548
1275 * gdb.base/execl-update-breakpoints.c (some_function): New
1276 function.
1277 (main): Call it.
1278 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1279 Tighten expected GDB output.
1280
1281 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1282
1283 * Makefile.in (ALL_SUBDIRS): Remove.
1284 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1285 (distclean maintainer-clean realclean): Likewise.
1286 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1287 * configure: Regenerate.
1288 * gdb.ada/Makefile.in: Delete.
1289 * gdb.arch/Makefile.in: Likewise.
1290 * gdb.asm/Makefile.in: Likewise.
1291 * gdb.base/Makefile.in: Likewise.
1292 * gdb.btrace/Makefile.in: Likewise.
1293 * gdb.cell/Makefile.in: Likewise.
1294 * gdb.compile/Makefile.in: Likewise.
1295 * gdb.cp/Makefile.in: Likewise.
1296 * gdb.disasm/Makefile.in: Likewise.
1297 * gdb.dlang/Makefile.in: Likewise.
1298 * gdb.dwarf2/Makefile.in: Likewise.
1299 * gdb.fortran/Makefile.in: Likewise.
1300 * gdb.gdb/Makefile.in: Likewise.
1301 * gdb.go/Makefile.in: Likewise.
1302 * gdb.guile/Makefile.in: Likewise.
1303 * gdb.java/Makefile.in: Likewise.
1304 * gdb.linespec/Makefile.in: Likewise.
1305 * gdb.mi/Makefile.in: Likewise.
1306 * gdb.modula2/Makefile.in: Likewise.
1307 * gdb.multi/Makefile.in: Likewise.
1308 * gdb.objc/Makefile.in: Likewise.
1309 * gdb.opencl/Makefile.in: Likewise.
1310 * gdb.opt/Makefile.in: Likewise.
1311 * gdb.pascal/Makefile.in: Likewise.
1312 * gdb.perf/Makefile.in: Likewise.
1313 * gdb.python/Makefile.in: Likewise.
1314 * gdb.reverse/Makefile.in: Likewise.
1315 * gdb.server/Makefile.in: Likewise.
1316 * gdb.stabs/Makefile.in: Likewise.
1317 * gdb.threads/Makefile.in: Likewise.
1318 * gdb.trace/Makefile.in: Likewise.
1319 * gdb.xml/Makefile.in: Likewise.
1320 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1321 GDB_PARALLEL.
1322 (standard_output_file): Remove check for GDB_PARALLEL, always
1323 return path in outputs/$subdir/$testname.
1324
1325 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1326
1327 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1328 (site.exp): Assign abs_srcdir to tcl's srcdir.
1329
1330 2016-02-04 Yao Qi <yao.qi@linaro.org>
1331
1332 * gdb.base/foll-exec-mode.c: Include limits.h.
1333 (main): Add parameters argc and argv. Get directory from
1334 argv[0].
1335 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1336 compilation.
1337 * gdb.base/foll-exec.c: Include limits.h.
1338 (main): Add parameters argc and argv.
1339 Get directory from argv[0].
1340 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1341 Adjust tests on the number of lines as source code changed.
1342 * gdb.base/foll-vfork-exit.c: Include limits.h.
1343 (main): Add one line of statement before vfork.
1344 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1345 (main): Add parameters argc and argv. Get directory from
1346 argv[0].
1347 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1348 (setup_gdb): Set tbreak to skip some source lines.
1349 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1350 (main): Add parameters argc and argv. Get directory from
1351 argv[0].
1352 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1353 compilation.
1354 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1355 (main): Add parameters argc and argv. Get directory from
1356 argv[0].
1357 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1358 compilation.
1359
1360 2016-02-01 Doug Evans <dje@google.com>
1361
1362 * gdb.base/skip.exp: Clean up multiple references to same test name.
1363
1364 2016-02-01 Pedro Alves <palves@redhat.com>
1365
1366 PR remote/19496
1367 * gdb.threads/forking-threads-plus-breakpoint.exp
1368 (displaced_stepping_supported): New global.
1369 (probe_displaced_stepping_support): New procedure.
1370 (do_test): Add 'displaced' parameter, and use it.
1371 (top level): Check for displaced stepping support. Add displaced
1372 stepping on/off testing axis.
1373
1374 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1375
1376 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1377 pointer. Don't perform further tests on the unassociated pointer
1378 if the first test fails.
1379
1380 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1381
1382 * gdb.base/max-value-size.c: New file.
1383 * gdb.base/max-value-size.exp: New file.
1384 * gdb.base/huge.exp: Disable max-value-size for this test.
1385
1386 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1387
1388 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1389
1390 2016-01-28 Yao Qi <yao.qi@linaro.org>
1391
1392 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1393
1394 2016-01-25 Pedro Alves <palves@redhat.com>
1395
1396 PR threads/19461
1397 * gdb.base/fork-running-state.c: New file.
1398 * gdb.base/fork-running-state.exp: New file.
1399
1400 2016-01-25 Pedro Alves <palves@redhat.com>
1401
1402 PR gdb/19494
1403 * gdb.base/catch-fork-kill.c: New file.
1404 * gdb.base/catch-fork-kill.exp: New file.
1405
1406 2016-01-25 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1409 Delete, moved to lib/gdb.exp.
1410 * gdb.threads/forking-threads-plus-breakpoint.exp
1411 (foreach_with_prefix): Likewise.
1412 * gdb.threads/process-dies-while-handling-bp.exp
1413 (foreach_with_prefix): Likewise.
1414 * lib/gdb.exp (foreach_with_prefix): New procedure.
1415
1416 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1417
1418 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1419 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1420
1421 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1422
1423 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1424 endian targets.
1425
1426 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1427 Pedro Alves <palves@redhat.com>
1428
1429 Fix testsuite compatibility with Guile.
1430 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1431 number.
1432
1433 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1434
1435 Fix testsuite compatibility with Guile.
1436 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1437 (thread 1): New test for backtrace through signal handler.
1438
1439 2016-01-22 Yao Qi <yao.qi@linaro.org>
1440
1441 PR testsuite/19491
1442 * gdb.base/multi-forks.c: Include
1443 ../lib/unbuffer_output.c
1444 (main): Call gdb_unbuffer_output.
1445
1446 2016-01-21 Doug Evans <dje@google.com>
1447
1448 * lib/ada.exp (gdb_compile_ada): Fix typo.
1449
1450 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1451
1452 * gdb.base/break-fun-addr.exp: New file.
1453 * gdb.base/break-fun-addr1.c: New file.
1454 * gdb.base/break-fun-addr2.c: New file.
1455
1456 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1457
1458 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1459 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1460 enum flag values.
1461
1462 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1463
1464 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1465 when GDB can not set the vector return value. Add more comments
1466 for clarification.
1467
1468 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1469
1470 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1471 command.
1472
1473 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1474
1475 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1476
1477 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1478
1479 * Makefile.in (check-single): Pass --status to runtest.
1480 (check/%.exp): Likewise.
1481
1482 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1483
1484 * Makefile.in (check-parallel): Propagate return code from make
1485 do-check-parallel.
1486
1487 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1488
1489 * gdb.trace/ftrace.exp: Fix expected message on continue.
1490 * gdb.trace/pending.exp: Fix expected message on continue.
1491 * gdb.trace/trace-break.exp: Fix expected message on continue.
1492
1493 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1494
1495 * lib/gdb.exp (gdb_test): Remove unused global references.
1496
1497 2016-01-18 Pedro Alves <palves@redhat.com>
1498
1499 * gdb.base/async-shell.exp: Adjust expected output.
1500 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1501 * gdb.base/siginfo-thread.exp: Adjust expected output.
1502 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1503 * gdb.java/jnpe.exp: Adjust expected output.
1504 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1505 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1506 * gdb.threads/leader-exit.exp: Adjust expected output.
1507 * gdb.threads/manythreads.exp: Adjust expected output.
1508 * gdb.threads/pthreads.exp: Adjust expected output.
1509 * gdb.threads/schedlock.exp: Adjust expected output.
1510 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1511 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1512 expected output.
1513 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1514 output.
1515 * gdb.threads/sigthread.exp: Adjust expected output.
1516 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1517
1518 2016-01-18 Yao Qi <yao.qi@linaro.org>
1519
1520 * gdb.guile/scm-section-script.c: Replace @progbits with
1521 %progbits.
1522 * gdb.python/py-section-script.c: Likewise.
1523
1524 2016-01-15 Pedro Alves <palves@redhat.com>
1525
1526 * gdb.multi/tids.exp: Test star wildcard ranges.
1527
1528 2016-01-15 Pedro Alves <palves@redhat.com>
1529
1530 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1531 command from "thread apply" invocation.
1532 (thr_apply_info_thr_invalid): Default the expected output to the
1533 input tid list.
1534 (top level): Add tests that use convenience variables. Add tests
1535 for "thread apply" with a valid TID list, but missing the command.
1536
1537 2016-01-13 Pedro Alves <palves@redhat.com>
1538
1539 * gdb.base/default.exp: Expect $_gthread as well.
1540 * gdb.multi/tids.exp: Test $_gthread.
1541 * gdb.threads/thread-specific.exp: Test $_gthread.
1542
1543 2016-01-13 Pedro Alves <palves@redhat.com>
1544
1545 * gdb.multi/tids.exp: Test "info threads -gid".
1546
1547 2016-01-13 Pedro Alves <palves@redhat.com>
1548
1549 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1550 Breakpoint.thread.
1551 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1552
1553 2016-01-07 Pedro Alves <palves@redhat.com>
1554
1555 * gdb.base/break.exp: Adjust to output changes.
1556 * gdb.base/hbreak2.exp: Likewise.
1557 * gdb.base/sepdebug.exp: Likewise.
1558 * gdb.base/watch_thread_num.exp: Likewise.
1559 * gdb.linespec/keywords.exp: Likewise.
1560 * gdb.multi/info-threads.exp: Likewise.
1561 * gdb.threads/thread-find.exp: Likewise.
1562 * gdb.multi/tids.c: New file.
1563 * gdb.multi/tids.exp: New file.
1564
1565 2016-01-13 Pedro Alves <palves@redhat.com>
1566
1567 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1568
1569 2016-01-13 Pedro Alves <palves@redhat.com>
1570
1571 * gdb.base/default.exp: Expect $_inferior as well.
1572 * gdb.multi/base.exp: Test $_inferior.
1573
1574 2016-01-13 Pedro Alves <palves@redhat.com>
1575
1576 PR breakpoints/19388
1577 * gdb.base/catch-signal-siginfo-cond.c: New file.
1578 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1579
1580 2016-01-12 Josh Stone <jistone@redhat.com>
1581 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1582
1583 * gdb.base/catch-syscall.c (do_execve): New variable.
1584 (main): Conditionally trigger an execve.
1585 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1586 (test_catch_syscall_execve): New, check entry/return across execve.
1587 (do_syscall_tests): Call test_catch_syscall_execve.
1588
1589 2016-01-12 Pedro Alves <palves@redhat.com>
1590
1591 * gdb.base/random-signal.exp (do_test): New procedure, with body
1592 of testcase moved in.
1593
1594 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1595 Pedro Alves <palves@redhat.com>
1596
1597 * gdb.base/funcargs.exp (finish from indirectly called function):
1598 Reintroduce the case for 'First'.
1599
1600 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1601 Pedro Alves <palves@redhat.com>
1602
1603 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1604 (tcatch_vfork_then_child_follow_exec)
1605 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1606 identification.
1607
1608 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1609
1610 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1611 and repeats to unlimited.
1612 * gdb.python/py-value.exp: Likewise.
1613 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1614 and repeats to unlimited.
1615
1616 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1617
1618 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1619 and reordering the functions.
1620 * gdb.multi/hangout.c: Likewise.
1621 * gdb.multi/hello.c: Likewise.
1622
1623 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1624
1625 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1626 absolute.
1627 (SingleStatisticTestResult.report): Use dict.keys instead of
1628 dict.iterkeys.
1629
1630 2016-01-06 Pedro Alves <palves@redhat.com>
1631
1632 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1633
1634 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1635
1636 * gdb.btrace/dlopen.exp: New.
1637 * gdb.btrace/dlopen.c: New.
1638 * gdb.btrace/dlopen-dso.c: New.
1639
1640 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1641
1642 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1643 PATTERN argument is optional.
1644
1645 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1646
1647 * lib/ada.exp (target_compile_ada_from_dir): New function.
1648 (gdb_compile_ada): Reimplement avoiding the use of project files.
1649 * gdb.ada/gnat_ada.gpr: Delete.
1650 * gdb.ada/cond_lang.exp: Adjust test to make path before
1651 filename optional.
1652 * gdb.ada/small_reg_param.exp: Likewise.
1653
1654 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1655
1656 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1657
1658 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1659
1660 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1661 case.
1662
1663 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1664
1665 * gdb.base/break.exp: Remove dead code.
1666 * gdb.base/sepdebug.exp: Likewise.
1667
1668 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1669
1670 * gdb.asm/asm-source.exp: Remove HP-UX references.
1671 * gdb.base/annota1.exp: Likewise.
1672 * gdb.base/annota3.exp: Likewise.
1673 * gdb.base/attach.exp: Likewise.
1674 * gdb.base/bigcore.exp: Likewise.
1675 * gdb.base/break.exp: Likewise.
1676 * gdb.base/call-ar-st.exp: Likewise.
1677 * gdb.base/callfuncs.exp: Likewise.
1678 * gdb.base/catch-fork-static.exp: Likewise.
1679 * gdb.base/display.exp: Likewise.
1680 * gdb.base/foll-exec-mode.exp: Likewise.
1681 * gdb.base/foll-exec.exp: Likewise.
1682 * gdb.base/foll-fork.exp: Likewise.
1683 * gdb.base/foll-vfork.exp: Likewise.
1684 * gdb.base/funcargs.exp: Likewise.
1685 * gdb.base/hbreak2.exp: Likewise.
1686 * gdb.base/inferior-died.exp: Likewise.
1687 * gdb.base/interrupt.exp: Likewise.
1688 * gdb.base/multi-forks.exp: Likewise.
1689 * gdb.base/nodebug.exp: Likewise.
1690 * gdb.base/sepdebug.exp: Likewise.
1691 * gdb.base/solib1.c: Likewise.
1692 * gdb.base/step-test.exp: Likewise.
1693 * gdb.mi/non-stop.c: Likewise.
1694 * gdb.mi/pthreads.c: Likewise.
1695 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1696 * gdb.threads/pthreads.c: Likewise.
1697 * gdb.threads/staticthreads.exp: Likewise.
1698 * lib/future.exp: Likewise.
1699 * lib/gdb.exp: Likewise.
1700 * gdb.base/so-indr-cl.c: Remove.
1701 * gdb.base/so-indr-cl.exp: Likewise.
1702 * gdb.base/solib.c: Likewise.
1703 * gdb.base/solib.exp: Likewise.
1704 * gdb.base/solib2.c: Likewise.
1705
1706 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1707
1708 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1709 * gdb.base/call-ar-st.exp: Likewise.
1710 * gdb.base/callfuncs.exp: Likewise.
1711 * gdb.base/condbreak.exp: Likewise.
1712 * gdb.base/constvars.exp: Likewise.
1713 * gdb.base/hbreak2.exp: Likewise.
1714 * gdb.base/langs.exp: Likewise.
1715 * gdb.base/list.exp: Likewise.
1716 * gdb.base/long_long.exp: Likewise.
1717 * gdb.base/ptype.exp: Likewise.
1718 * gdb.base/scope.exp: Likewise.
1719 * gdb.base/signals.exp: Likewise.
1720 * gdb.base/so-impl-ld.exp: Likewise.
1721 * gdb.base/varargs.exp: Likewise.
1722 * gdb.base/volatile.exp: Likewise.
1723 * gdb.base/whatis.exp: Likewise.
1724 * gdb.cp/cplusfuncs.exp: Likewise.
1725 * gdb.cp/inherit.exp: Likewise.
1726 * gdb.cp/local.exp: Likewise.
1727 * gdb.cp/member-ptr.exp: Likewise.
1728 * gdb.cp/method.exp: Likewise.
1729 * gdb.cp/overload.exp: Likewise.
1730 * gdb.cp/templates.exp: Likewise.
1731 * gdb.stabs/weird.exp: Likewise.
1732 * lib/compiler.c: Likewise.
1733 * lib/compiler.cc: Likewise.
1734 * lib/cp-support.exp: Likewise.
1735 * lib/gdb.exp: Likewise.
1736
1737 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1738
1739 * configure.ac: Remove HP-UX case.
1740 * configure: Regenerate.
1741
1742 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1743
1744 * lib/gdb.exp (gdb_compile): Add function doc.
1745
1746 2015-12-17 Pedro Alves <palves@redhat.com>
1747
1748 PR threads/19354
1749 * gdb.multi/info-threads.exp: New file.
1750
1751 2015-12-15 Yao Qi <yao.qi@linaro.org>
1752
1753 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1754 is aarch64*-*-*.
1755
1756 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1757
1758 * gdb.base/history-duplicates.exp: Skip if no readline support.
1759
1760 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1761
1762 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1763
1764 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1765
1766 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1767
1768 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1769
1770 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1771 ctrl-C if nointerrupts target property is set.
1772 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1773 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1774 * gdb.base/paginate-bg-execution.exp: Likewise.
1775 * gdb.base/paginate-execution-startup.exp: Likewise.
1776 * gdb.base/random-signal.exp: Likewise.
1777 * gdb.base/range-stepping.exp: Likewise.
1778 * gdb.cp/annota2.exp: Likewise.
1779 * gdb.cp/annota3.exp: Likewise.
1780 * gdb.gdb/selftest.exp: Likewise.
1781 * gdb.threads/continue-pending-status.exp: Likewise.
1782 * gdb.threads/leader-exit.exp: Likewise.
1783 * gdb.threads/manythreads.exp: Likewise.
1784 * gdb.threads/pthreads.exp: Likewise.
1785 * gdb.threads/schedlock.exp: Likewise.
1786 * gdb.threads/sigthread.exp: Likewise.
1787
1788 2015-12-11 Don Breazeal <donb@codesourcery.com>
1789
1790 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1791 remote.
1792 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1793 * gdb.base/foll-exec.exp (main): Enable for target remote.
1794 * gdb.base/foll-fork.exp (main): Likewise.
1795 * gdb.base/foll-vfork.exp (main): Likewise.
1796 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1797 (proc continue_to_exit_bp_loc): Use clean_restart.
1798 * gdb.base/pie-execl.exp (main): Disable for target remote.
1799 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1800 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1801 * gdb.threads/execl.exp (main): Likewise.
1802 * gdb.threads/fork-child-threads.exp (main): Likewise.
1803 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1804 remote.
1805 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1806 remote.
1807 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1808 pid.tid style ptids, instead of just tid.
1809 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1810 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1811 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1812 ptids, instead of just tid.
1813
1814 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1815
1816 * gdb.base/list.exp (test_list_forward): Add end of file error
1817 test.
1818 (test_repeat_list_command): Add end of file error test.
1819 (test_list_backwards): Add beginning of file error test.
1820
1821 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1822
1823 * gdb.base/list.exp (test_list_invalid_args): New function,
1824 defined, and called.
1825
1826 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1827
1828 * gdb.base/list.exp (test_list): Make test names unique.
1829
1830 2015-12-11 Yao Qi <yao.qi@linaro.org>
1831
1832 * gdb.base/coremaker2.c: Remove.
1833
1834 2015-12-10 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.multi/base.exp: Remove stale "spaces" references.
1837
1838 2015-12-10 Pedro Alves <palves@redhat.com>
1839
1840 * gdb.multi/base.exp: Don't use nowarnings.
1841 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1842 * gdb.multi/hangout.c: Include stdio.h.
1843 * gdb.multi/hello.c: Include stdlib.h.
1844 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1845 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1846 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1847
1848 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1849
1850 * gdb.dwarf2/dw2-ranges-base.c: New file.
1851 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1852 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1853 support additional line table, and debug ranges generation.
1854 (Dwarf::ranges): New function, generate .debug_ranges.
1855 (Dwarf::lines): Support generating simple line table programs.
1856 (Dwarf::assemble): Initialise new namespace variables.
1857
1858 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1859
1860 * gdb.base/async.exp (proc test_background): Add case for
1861 asynchronous execution not supported.
1862
1863 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1864
1865 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1866 format and change test names to make them unique.
1867
1868 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1869 Pedro Alves <pedro@redhat.com>
1870
1871 PR gdb/18702
1872 Add checking of floatformats setup on x86_64 hosts.
1873 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1874 (smallval, bigval): New labels/constants.
1875 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1876 float" after loading bigval and smallval.
1877
1878 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1879
1880 * gdb.ada/fun_overload_menu.exp: New testcase.
1881 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1882
1883 2015-12-04 Josh Stone <jistone@redhat.com>
1884
1885 * gdb.base/catch-fork-static.exp: New.
1886
1887 2015-12-03 Yao Qi <yao.qi@linaro.org>
1888
1889 * gdb.base/sizeof.c: Don't include stdio.h and
1890 ../lib/unbuffer_output.c.
1891 (main): New variable 'size' and 'value'. Remove printf and
1892 gdb_unbuffer_output. Assign return value to size and value.
1893 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1894 at the beginning.
1895 (check_sizeof): Check the result by printing variable 'size'.
1896 (check_valueof): Check the result by printing variable 'value'.
1897
1898 2015-12-01 Yao Qi <yao.qi@linaro.org>
1899
1900 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1901 for aarch64*-*-linux* target.
1902
1903 2015-11-30 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1906
1907 2015-11-30 Pedro Alves <palves@redhat.com>
1908
1909 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1910 Handle non-stop mode vCont replies.
1911
1912 2015-11-30 Pedro Alves <palves@redhat.com>
1913
1914 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1915 prepare_for_testing. Start gdb with "set non-stop on" appended to
1916 GDBFLAGS. Lax expected stop output.
1917
1918 2015-11-27 Yao Qi <yao.qi@linaro.org>
1919
1920 * gdb.arch/arm-neon.exp: New.
1921 * gdb.arch/arm-neon.c: New.
1922
1923 2015-11-27 Yao Qi <yao.qi@linaro.org>
1924
1925 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1926
1927 2015-11-27 Yao Qi <yao.qi@linaro.org>
1928
1929 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1930 frames-invalid annotation.
1931
1932 2015-11-27 Yao Qi <yao.qi@linaro.org>
1933
1934 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1935
1936 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1937
1938 * gdb.threads/names.exp: New file.
1939 * gdb.threads/names.c: New file.
1940 * README: Mention gdb,no_thread_names.
1941
1942 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1943
1944 PR 19297
1945 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1946 support" error.
1947
1948 2015-11-24 Pedro Alves <palves@redhat.com>
1949
1950 PR 17539
1951 * gdb.base/display.exp: Expect displays to be sorted in ascending
1952 order. Use multi_line.
1953 * gdb.base/solib-display.exp: Likewise.
1954
1955 2015-11-24 Pedro Alves <palves@redhat.com>
1956
1957 PR 17539
1958 * gdb.base/display.exp: Expect displays to be sorted in ascending
1959 order. Use multi_line.
1960 * gdb.base/solib-display.exp: Likewise.
1961
1962 2015-11-24 Pedro Alves <palves@redhat.com>
1963
1964 PR 17539
1965 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1966 threads in ascending order.
1967 * gdb.base/foll-fork.exp: Likewise.
1968 * gdb.base/foll-vfork.exp: Likewise.
1969 * gdb.base/multi-forks.exp: Likewise.
1970 * gdb.mi/mi-nonstop.exp: Likewise.
1971 * gdb.mi/mi-nsintrall.exp: Likewise.
1972 * gdb.multi/base.exp: Likewise.
1973 * gdb.multi/multi-arch.exp: Likewise.
1974 * gdb.python/py-inferior.exp: Likewise.
1975 * gdb.threads/break-while-running.exp: Likewise.
1976 * gdb.threads/execl.exp: Likewise.
1977 * gdb.threads/gcore-thread.exp: Likewise.
1978 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1979 * gdb.threads/kill.exp: Likewise.
1980 * gdb.threads/linux-dp.exp: Likewise.
1981 * gdb.threads/multiple-step-overs.exp: Likewise.
1982 * gdb.threads/next-bp-other-thread.exp: Likewise.
1983 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1984 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1985 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1986 * gdb.threads/thread-find.exp: Likewise.
1987 * gdb.threads/tls.exp: Likewise.
1988 * lib/mi-support.exp (mi_reverse_list): Delete.
1989 (mi_check_thread_states): No longer reverse list.
1990
1991 2015-11-24 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1994 use lowercase.
1995
1996 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1997
1998 * gdb.trace/actions.c: Include trace-common.h.
1999 (main): Add a location for a fast tracepoint.
2000 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2001 the normal tracepoints.
2002 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2003
2004 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2005
2006 * save-trace.exp: Factor out code to these...
2007 (gdb_save_tracepoints): New.
2008 (gdb_load_tracepoints): New.
2009 (do_save_load_test): New.
2010
2011 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2012
2013 * gdb.base/asmlabel.exp: New test.
2014 * gdb.base/asmlabel.c: New test case.
2015
2016 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2017
2018 * gdb.base/wrong_frame_bt_full-main.c: New file.
2019 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2020 * gdb.base/wrong_frame_bt_full.exp: New file.
2021
2022 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2023
2024 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2025
2026 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2027
2028 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2029 pstate register when comparing registers values in
2030 sparc64-*-linux-gnu targets to avoid spurious differences.
2031
2032 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2033
2034 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2035
2036 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2037
2038 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2039 as type argument to gdb_compile.
2040 * gdb.base/nested-subp2.exp: Likewise.
2041 * gdb.base/nested-subp3.exp: Likewise.
2042
2043 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2044
2045 * lib/dwarf.exp (_note): Fix left shift of negative value.
2046 * gdb.trace/trace-condition.exp: Likewise.
2047
2048 2015-11-13 Yao Qi <yao.qi@linaro.org>
2049
2050 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2051 comments about d10v.
2052 (test_scalar_returns): Likewise.
2053 * gdb.base/d10v.ld: Remove.
2054 * gdb.base/overlays.exp: Remove the target triplet checking for
2055 d10v-*-*.
2056 * gdb.base/structs.exp (test_struct_returns): Remove the
2057 comments about d10v.
2058 (test_struct_calls): Likewise.
2059
2060 2015-11-13 Yao Qi <yao.qi@linaro.org>
2061
2062 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2063 * gdb.base/gnu_vector.c: Don't include stdio.h.
2064 (main): Don't print res and call add_some_intvecs.
2065
2066 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2067
2068 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2069 macro.
2070 (func5): Removed.
2071 (func4): Use FAST_TRACEPOINT_LABEL.
2072 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2073 macro.
2074 (func): Removed.
2075 (thread_function): Use FAST_TRACEPOINT_LABEL.
2076 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2077 (func): Remove.
2078 (marker): Use FAST_TRACEPOINT_LABEL.
2079 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2080 (pendfunc1): Remove.
2081 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2082 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2083 (foo): Remove.
2084 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2085 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2086 macro.
2087 (func): Remove.
2088 (marker): Use FAST_TRACEPOINT_LABEL.
2089 * gdb.trace/trace-common.h: New header.
2090 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2091 macro.
2092 (func): Remove.
2093 (marker): Use FAST_TRACEPOINT_LABEL.
2094 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2095 (func): Remove.
2096 (thread_function): Use FAST_TRACEPOINT_LABEL.
2097
2098 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2099
2100 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2101 in front.
2102 * gdb.trace/change-loc.exp: Use global pcreg definition.
2103 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2104 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2105 in front.
2106 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2107 * gdb.trace/pending.exp: Likewise.
2108 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2109 * gdb.trace/trace-break.exp: Likewise.
2110 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2111 in front.
2112 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2113 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2114 in front.
2115 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2116
2117 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2118
2119 * gdb.ada/fin_fun_out: New testcase.
2120
2121 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2122
2123 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2124 value associated with DW_AT_byte_size.
2125 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2126 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2127 DW_AT_upper_bound.
2128
2129 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2130
2131 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2132 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2133 version.
2134 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2135 gdb.dwarf2/dw2-canonicalize-type.exp,
2136 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2137 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2138 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2139 provided by gdb_target_symbol_prefix_flags_asm.
2140 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2141 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2142 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2143 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2144 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2145 macros where needed). Use this macro for symbols which require
2146 the prefix provided by SYMBOL_PREFIX.
2147
2148 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2149
2150 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2151 New procs.
2152 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2153 representing expressions, of more than one list element.
2154 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2155 to prepend linker symbol prefix to f.
2156 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2157 table_1 and table_2.
2158 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2159 Likewise, for f and g.
2160 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2161 for ptr.
2162 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2163 for main.
2164 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2165 table_1_ptr and table_2_ptr.
2166
2167 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2168 Joel Brobecker <brobecker@adacore.com>
2169
2170 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2171
2172 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2173
2174 * gdb.reverse/s390-mvcle.c: New test.
2175 * gdb.reverse/s390-mvcle.exp: New file.
2176 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2177
2178 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2179
2180 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2181
2182 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2183
2184 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2185 reaching marker2.
2186 * gdb.reverse/getresuid-reverse.exp: Likewise.
2187 * gdb.reverse/pipe-reverse.exp: Likewise.
2188 * gdb.reverse/readv-reverse.exp: Likewise.
2189 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2190 * gdb.reverse/time-reverse.exp: Likewise.
2191 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2192
2193 2015-10-30 Yao Qi <yao.qi@linaro.org>
2194
2195 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2196 (empty_cycle): Remove.
2197 (main): Don't call empty_cycle. Don't use watch_count_done.
2198 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2199 empty_cycle. Rewrite the code counting HW watchpoints.
2200
2201 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2202
2203 * gdb.reverse/fstatat-reverse.c: New test.
2204 * gdb.reverse/fstatat-reverse.exp: New file.
2205 * gdb.reverse/getresuid-reverse.c: New test.
2206 * gdb.reverse/getresuid-reverse.exp: New file.
2207 * gdb.reverse/pipe-reverse.c: New test.
2208 * gdb.reverse/pipe-reverse.exp: New file.
2209 * gdb.reverse/readv-reverse.c: New test.
2210 * gdb.reverse/readv-reverse.exp: New file.
2211 * gdb.reverse/recvmsg-reverse.c: New test.
2212 * gdb.reverse/recvmsg-reverse.exp: New file.
2213 * gdb.reverse/time-reverse.c: New test.
2214 * gdb.reverse/time-reverse.exp: New file.
2215 * gdb.reverse/waitpid-reverse.c: New test.
2216 * gdb.reverse/waitpid-reverse.exp: New file.
2217
2218 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2219
2220 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2221
2222 2015-10-26 Doug Evans <dje@google.com>
2223
2224 PR symtab/17391
2225 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2226 * gdb.dwarf2/bad-regnum.c: New file.
2227 * gdb.dwarf2/bad-regnum.exp: New file.
2228
2229 2015-10-26 Doug Evans <dje@google.com>
2230
2231 PR python/18938
2232 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2233 file.
2234
2235 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2236
2237 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2238 for a change by "Mention language in compile error message".
2239
2240 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2241
2242 PR python/18073
2243 * gdb.python/py-type.c (C::a_method): New.
2244 (C::a_const_method): New.
2245 (C::a_static_method): New.
2246 (a_function): New.
2247 * gdb.python/py-type.exp (test_fields): Test getting fields
2248 from function and method.
2249
2250 2015-10-21 Keven Boell <keven.boell@intel.com>
2251
2252 * gdb.fortran/vla-alloc-assoc.exp: New file.
2253 * gdb.fortran/vla-datatypes.exp: New file.
2254 * gdb.fortran/vla-datatypes.f90: New file.
2255 * gdb.fortran/vla-history.exp: New file.
2256 * gdb.fortran/vla-ptype-sub.exp: New file.
2257 * gdb.fortran/vla-ptype.exp: New file.
2258 * gdb.fortran/vla-sizeof.exp: New file.
2259 * gdb.fortran/vla-sub.f90: New file.
2260 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2261 * gdb.fortran/vla-value-sub-finish.exp: New file.
2262 * gdb.fortran/vla-value-sub.exp: New file.
2263 * gdb.fortran/vla-value.exp: New file.
2264 * gdb.fortran/vla-ptr-info.exp: New file.
2265 * gdb.mi/mi-vla-fortran.exp: New file.
2266 * gdb.mi/vla.f90: New file.
2267
2268 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2269
2270 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2271 of hardwired timeout value.
2272
2273 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2274 Pedro Alves <palves@redhat.com>
2275
2276 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2277 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2278
2279 2015-10-19 Josh Stone <jistone@redhat.com>
2280
2281 * gdb.base/catch-syscall.c: Include <sched.h>.
2282 (unknown_syscall): New variable.
2283 (main): Trigger a vfork and an unknown syscall.
2284 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2285 (unknown_syscall_number): Likewise.
2286 (check_call_to_syscall): Accept an optional syscall pattern.
2287 (check_return_from_syscall): Likewise.
2288 (check_continue): Likewise.
2289 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2290 (test_catch_syscall_skipping_return): New test toggling off 'catch
2291 syscall' to step over the syscall return, then toggling back on.
2292 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2293 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2294 (do_syscall_tests): Call test_catch_syscall_without_args and
2295 test_catch_syscall_mid_vfork.
2296 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2297 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2298
2299 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2300
2301 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2302 print g_vE): Add new pass patterns.
2303 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2304 print various symbol names for vptr fields.
2305
2306 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2307
2308 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2309 results.
2310
2311 2015-10-12 Yao Qi <yao.qi@linaro.org>
2312
2313 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2314
2315 2015-10-12 Yao Qi <yao.qi@linaro.org>
2316
2317 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2318 is aarch64*-*-linux*.
2319
2320 2015-10-12 Yao Qi <yao.qi@linaro.org>
2321
2322 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2323 (can_relocate_bcond_true): ... it.
2324 (can_relocate_bcond_false): New function.
2325 (foo): Likewise.
2326 (can_relocate_bl): Likewise.
2327 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2328 can_relocate_bl.
2329
2330 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2331
2332 * gdb.base/nested-addr.c: New file.
2333 * gdb.base/nested-addr.exp: New testcase.
2334
2335 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2336
2337 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2338 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2339 its output. Ignore the output of "record goto begin" and instead
2340 check that GDB is replaying.
2341
2342 2015-10-09 Pedro Alves <palves@redhat.com>
2343
2344 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2345 (top level): Use it in the run with no args test.
2346
2347 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2348
2349 * gdb.dlang/properties.exp: New file.
2350
2351 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2352
2353 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2354 whether or not address 0x1000 is mapped on the target.
2355
2356 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2357
2358 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2359 build.
2360
2361 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2362
2363 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2364 instruction-history test.
2365
2366 2015-09-28 Doug Evans <dje@google.com>
2367
2368 * gdb.base/gcore.c (array_func): Add reference to static_array.
2369
2370 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2371
2372 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2373 source line.
2374
2375 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2376
2377 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2378 short or char as base type.
2379
2380 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2381
2382 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2383 to allow any size enum.
2384
2385 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2386
2387 * gdb.ada/array_ptr_renaming.exp: New testcase.
2388 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2389 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2390
2391 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2392
2393 * gdb.trace/ftrace-lock.c: New file.
2394 * gdb.trace/ftrace-lock.exp: New file.
2395
2396 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2397
2398 * gdb.arch/insn-reloc.c: New file.
2399 * gdb.arch/ftrace-insn-reloc.exp: New file.
2400
2401 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2402
2403 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2404 instruction.
2405 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2406 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2407 * gdb.trace/range-stepping.c: Likewise.
2408 * gdb.trace/trace-break.c: Likewise.
2409 * gdb.trace/trace-mt.c (thread_function): Likewise.
2410 * gdb.trace/ftrace.c (marker): Likewise.
2411 * gdb.trace/trace-condition.c (marker): Likewise.
2412 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2413 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2414 is_aarch64_target.
2415
2416 2015-09-18 Doug Evans <xdje42@gmail.com>
2417
2418 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2419 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2420
2421 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2422
2423 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2424 the breakpoint.
2425
2426 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2427
2428 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2429 the pending breakpoint. Remove timeout override for "Run till
2430 MI pending breakpoint on pendfunc3 on thread 2" test.
2431
2432 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2433
2434 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2435 filename pattern.
2436
2437 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2438
2439 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2440 in breakpoint filename pattern.
2441
2442 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2443
2444 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2445
2446 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2447
2448 * gdb.linespec/explicit.exp: Check for readline support for
2449 tab-completion tests. Fix obvious typo.
2450
2451 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2452
2453 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2454 and replay.
2455
2456 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2457
2458 * gdb.btrace/non-stop.c: New.
2459 * gdb.btrace/non-stop.exp: New.
2460
2461 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2462 Yao Qi <yao.qi@linaro.org>
2463
2464 * gdb.trace/trace-condition.c: New file.
2465 * gdb.trace/trace-condition.exp: New file.
2466
2467 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2468
2469 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2470 for testing bytecode compilation.
2471
2472 2015-09-16 Pedro Alves <palves@redhat.com>
2473 Sandra Loosemore <sandra@codesourcery.com>
2474
2475 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2476 (SECONDS): Redefine.
2477 (main): Call pthread_kill and alarm early.
2478 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2479 support.
2480 (test): If the target can't hardware step and doesn't support
2481 displaced stepping, increase the timeout.
2482
2483 2015-09-16 Pedro Alves <palves@redhat.com>
2484
2485 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2486 (enable_debug): New procedures.
2487 (test): Use them. Bail out if waiting for threads fails.
2488 (top level): Bail out if a test fails.
2489
2490 2015-09-16 Yao Qi <yao.qi@linaro.org>
2491
2492 * gdb.asm/asm-source.exp: Set asm-arch for
2493 aarch64*-*-* target.
2494 * gdb.asm/aarch64.inc: New file.
2495
2496 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2497
2498 * gdb.ada/array_of_variable_length.exp: New testcase.
2499 * gdb.ada/array_of_variable_length/foo.adb: New file.
2500 * gdb.ada/array_of_variable_length/pck.adb: New file.
2501 * gdb.ada/array_of_variable_length/pck.ads: New file.
2502
2503 2015-09-15 Doug Evans <dje@google.com>
2504
2505 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2506 of function static local variable.
2507
2508 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2509
2510 * gdb.threads/tls-so_extern.exp: New test file.
2511 * gdb.threads/tls-so_extern.c: New test file.
2512 * gdb.threads/tls-so_extern_main.c: New test file.
2513
2514 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2515
2516 * gdb.opt/solib-intra-step-lib.c: New file.
2517 * gdb.opt/solib-intra-step-main.c: New file.
2518 * gdb.opt/solib-intra-step.exp: New file.
2519
2520 2015-09-15 Pedro Alves <palves@redhat.com>
2521
2522 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2523 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2524
2525 2015-09-14 Pedro Alves <palves@redhat.com>
2526
2527 * gdb.base/hook-stop-continue.c: Delete.
2528 * gdb.base/hook-stop-continue.exp: Delete.
2529 * gdb.base/hook-stop-frame.c: Delete.
2530 * gdb.base/hook-stop-frame.exp: Delete.
2531 * gdb.base/hook-stop.c: New file.
2532 * gdb.base/hook-stop.exp: New file.
2533
2534 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2535
2536 * gdb.ada/access_to_packed_array.exp: New testcase.
2537 * gdb.ada/access_to_packed_array/foo.adb: New file.
2538 * gdb.ada/access_to_packed_array/pack.adb: New file.
2539 * gdb.ada/access_to_packed_array/pack.ads: New file.
2540
2541 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2542
2543 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2544 buffer size test.
2545
2546 2015-09-11 Don Breazeal <donb@codesourcery.com>
2547
2548 * gdb.base/foll-exec.c: Add copyright header. Fix
2549 formatting issues.
2550 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2551 (do_exec_tests): Use clean_restart in place of zap_session,
2552 and for test initialization. Fix formatting issues. Use
2553 fail in place of perror.
2554 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2555 an expect statement to match an expression with output from
2556 the program under debug.
2557 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2558 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2559 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2560 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2561 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2562
2563 2015-09-09 Doug Evans <dje@google.com>
2564
2565 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2566
2567 2015-09-09 Doug Evans <dje@google.com>
2568
2569 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2570
2571 2015-09-09 Doug Evans <dje@google.com>
2572
2573 * gdb.base/savedregs.exp: Fix typo.
2574
2575 2015-09-09 Pedro Alves <palves@redhat.com>
2576
2577 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2578
2579 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2580
2581 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2582 command actually switches threads. Give up on remaining
2583 tests if target fails to stop at breakpoint.
2584
2585 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2586
2587 * gdb.ada/funcall_char.exp: New testcase.
2588 * gdb.ada/funcall_char/foo.adb: New file.
2589
2590 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2591
2592 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2593 expected outputs. Add two testcases for completing ambiguous
2594 functions.
2595 * gdb.ada/complete/aux_pck.adb: New file.
2596 * gdb.ada/complete/aux_pck.ads: New file.
2597 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2598 Ambiguous_Func functions.
2599 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2600 * gdb.ada/complete/pck.adb: Likewise.
2601
2602 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2603
2604 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2605 failures to run the test program under GDB.
2606
2607 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2608
2609 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2610 to C.
2611
2612 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2613
2614 * gdb.base/run-after-attach.exp: New test file.
2615 * gdb.base/run-after-attach.c: New test file.
2616
2617 2015-08-26 Don Breazeal <donb@codesourcery.com>
2618
2619 * gdb.base/foll-exec-2.c: New test program.
2620 * gdb.base/foll-exec-2.exp: New test.
2621
2622 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2623
2624 * gdb.base/nested-subp1.exp: New file.
2625 * gdb.base/nested-subp1.c: New file.
2626 * gdb.base/nested-subp2.exp: New file.
2627 * gdb.base/nested-subp2.c: New file.
2628 * gdb.base/nested-subp3.exp: New file.
2629 * gdb.base/nested-subp3.c: New file.
2630
2631 2015-08-24 Pedro Alves <palves@redhat.com>
2632
2633 * gdb.server/connect-without-multi-process.c: New file.
2634 * gdb.server/connect-without-multi-process.exp: New file.
2635
2636 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2637
2638 * gdb.opt/inline-markers.c: Make z int.
2639
2640 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2641
2642 * gdb.opt/inline-markers.c: Make z volatile.
2643
2644 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2645
2646 * gdb.opt/inline-bt.c: New volatile global z.
2647 * gdb.opt/inline-cmds.c: Likewise.
2648 * gdb.opt/inline-locals.c: Likewise.
2649 * gdb.opt/inline-markers.c: New extern global z.
2650 (marker): Use z.
2651 (inline_fn): Likewise.
2652
2653 2015-08-24 Pedro Alves <palves@redhat.com>
2654
2655 * config/m32r-stub.exp: Remove file.
2656 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2657 * gdb.base/call-rt-st.exp: Likewise.
2658 * gdb.base/call-strs.exp: Likewise.
2659 * gdb.base/default.exp: Remove references to h8300-*-hms and
2660 *-*-udi*.
2661 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2662
2663 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2664
2665 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2666 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2667 and "return" use KFAIL when GDB can not read/write the vector
2668 return value.
2669
2670 2015-08-21 Gary Benson <gbenson@redhat.com>
2671
2672 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2673
2674 2015-08-20 Pedro Alves <palves@redhat.com>
2675
2676 * gdb.server/solib-list.exp: No longer expect an interior stop in
2677 non-stop mode.
2678
2679 2015-08-20 Pedro Alves <palves@redhat.com>
2680
2681 * gdb.server/connect-stopped-target.c: New file.
2682 * gdb.server/connect-stopped-target.exp: New file.
2683
2684 2015-08-20 Pedro Alves <palves@redhat.com>
2685
2686 * gdb.dwarf2/comp-unit-lang.exp: New file.
2687 * gdb.dwarf2/comp-unit-lang.c: New file.
2688
2689 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2690
2691 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2692 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2693
2694 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2695
2696 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2697 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2698
2699 2015-08-18 Doug Evans <dje@google.com>
2700 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2701
2702 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2703 skip_python_tests. New arg prompt_regexp.
2704 (skip_python_tests): New function.
2705 * lib/mi-support.exp (mi_skip_python_tests): New function.
2706 * gdb.python/py-mi-objfile-gdb.py: New file.
2707 * gdb.python/py-mi-objfile.c: New file.
2708 * gdb.python/py-mi-objfile.exp: New file.
2709
2710 2015-08-17 Keith Seitz <keiths@redhat.com>
2711
2712 * gdb.linespec/explicit.exp: Move strace test from here ...
2713 * gdb.trace/strace.exp: ... to here.
2714
2715 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2716
2717 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2718 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2719
2720 2015-08-14 Doug Evans <xdje42@gmail.com>
2721
2722 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2723 inferior before selecting a new file.
2724
2725 2015-08-14 Doug Evans <xdje42@gmail.com>
2726
2727 * gdb.mi/mi-disassemble.exp: Update.
2728 * gdb.base/disasm-optim.S: New file.
2729 * gdb.base/disasm-optim.c: New file.
2730 * gdb.base/disasm-optim.h: New file.
2731 * gdb.base/disasm-optim.exp: New file.
2732
2733 2015-08-14 Keith Seitz <keiths@redhat.com>
2734
2735 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2736 "evaluated-by".
2737
2738 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2739
2740 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2741
2742 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2743
2744 * gdb.ada/fun_renaming.exp: New testcase.
2745 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2746 * gdb.ada/fun_renaming/pack.adb: New file.
2747 * gdb.ada/fun_renaming/pack.ads: New file.
2748
2749 2015-08-12 Keith Seitz <keiths@redhat.com>
2750
2751 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2752 gdb_get_line_number.
2753
2754 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2755
2756 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2757 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2758 gdb.base/dso2dso.exp: New files.
2759
2760 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2761 Pedro Alves <palves@redhat.com>
2762 Keith Seitz <keiths@redhat.com>
2763
2764 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2765 GDBFLAGS.
2766
2767 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2768
2769 * gdb.base/gdbhistsize-history.exp
2770 (test_histsize_history_setting): Use save_vars.
2771 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2772 Use save_vars.
2773 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2774 * gdb.base/readline.exp: Use save_vars.
2775
2776 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2777
2778 * lib/gdb.exp (save_vars): New proc.
2779
2780 2015-08-11 Keith Seitz <keiths@redhat.com>
2781
2782 * gdb.base/help.exp: Update help_breakpoint_text.
2783
2784 2015-08-11 Keith Seitz <keiths@redhat.com>
2785
2786 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2787 (at toplevel): Call test_explicit_breakpoints.
2788 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2789 breakpoints.
2790 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2791 breakpoint conditions, "-cond".
2792
2793 2015-08-11 Keith Seitz <keiths@redhat.com>
2794
2795 * gdb.linespec/3explicit.c: New file.
2796 * gdb.linespec/cpexplicit.cc: New file.
2797 * gdb.linespec/cpexplicit.exp: New file.
2798 * gdb.linespec/explicit.c: New file.
2799 * gdb.linespec/explicit.exp: New file.
2800 * gdb.linespec/explicit2.c: New file.
2801 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2802 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2803 before using in the matching pattern.
2804 Clarify that `prefix' is a regular expression.
2805
2806 2015-08-11 Keith Seitz <keiths@redhat.com>
2807
2808 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2809 test.
2810 Add tests for missing ",FMT" and ",".
2811
2812 2015-08-10 Doug Evans <dje@google.com>
2813 Keith Seitz <keiths@redhat.com>
2814
2815 PR gdb/17960
2816 * gdb.base/completion.exp: Add location completer tests.
2817
2818 2015-08-07 Pedro Alves <palves@redhat.com>
2819
2820 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2821 tests here.
2822 (top level): Run do_test with and without displaced stepping.
2823
2824 2015-08-07 Pedro Alves <palves@redhat.com>
2825
2826 * gdb.base/valgrind-disp-step.c: New file.
2827 * gdb.base/valgrind-disp-step.exp: New file.
2828
2829 2015-08-07 Pedro Alves <palves@redhat.com>
2830
2831 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2832 Delete function.
2833 (main): Add alarm. Run an infinite loop instead of calling
2834 wait_threads.
2835 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2836 comment.
2837 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2838 Delete function.
2839 (main): Add alarm. Run an infinite loop instead of calling
2840 wait_threads.
2841 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2842 comment.
2843
2844 2015-08-07 Pedro Alves <palves@redhat.com>
2845
2846 * gdb.base/checkpoint-ns.exp: New file.
2847 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2848 standard_testfile.
2849
2850 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2851
2852 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2853 * gdb.btrace/instruction_history.exp: Update.
2854 * gdb.btrace/tsx.exp: New.
2855 * gdb.btrace/tsx.c: New.
2856
2857 2015-08-06 Pedro Alves <palves@redhat.com>
2858
2859 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2860 increase timeout.
2861 * gdb.reverse/until-precsave.exp: Bump timeouts.
2862
2863 2015-08-06 Pedro Alves <palves@redhat.com>
2864
2865 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2866
2867 2015-08-06 Pedro Alves <palves@redhat.com>
2868
2869 PR gdb/18749
2870 * gdb.threads/process-dies-while-handling-bp.c: New file.
2871 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2872
2873 2015-08-06 Pedro Alves <palves@redhat.com>
2874
2875 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2876 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2877
2878 2015-08-05 Pedro Alves <palves@redhat.com>
2879
2880 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2881 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2882
2883 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2884
2885 * gdb.base/bp-permanent.exp: Report test as unsupported if
2886 the target cannot stop at the permanent breakpoint.
2887
2888 2015-08-03 Doug Evans <dje@google.com>
2889
2890 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2891 10000.
2892
2893 2015-08-03 Doug Evans <dje@google.com>
2894
2895 * Makefile.in (workers/%.worker, build-perf): New rule.
2896 (GDB_PERFTEST_MODE): New variable.
2897 (check-perf): Use it.
2898 (clean): Clean up gdb.perf parallel build subdirs.
2899 * lib/build-piece.exp: New file.
2900 * lib/gdb.exp (make_gdb_parallel_path): New function
2901 (standard_output_file, standard_temp_file): Call it.
2902 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2903 of $GDB_PARALLEL.
2904 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2905
2906 2015-08-03 Doug Evans <dje@google.com>
2907
2908 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2909 (LOG_FILE_NAME): New global.
2910 (TextReporter.__init__): Initialize self.txt_sum.
2911 (TextReporter.report): Add support for multiple data-points.
2912 Move report to perftest.sum, put raw data in perftest.log.
2913 (TextReporter.start): Open sum and log files.
2914 (TextReporter.end): Close sum and log files.
2915 * gdb.perf/lib/perftest/testresult.py
2916 (SingleStatisticTestResult.record): Handle multiple data-points.
2917
2918 2015-07-31 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2921 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2922 kill_wait_spawned_process instead of explicit "kill -9".
2923 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2924 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2925 kill_wait_spawned_process.
2926 * gdb.base/attach-twice.exp: Likewise.
2927 * gdb.base/attach.exp: Likewise.
2928 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2929 gdb_test_multiple.
2930 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2931 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2932 kill_wait_spawned_process.
2933 * gdb.base/valgrind-infcall.exp: Likewise.
2934 * gdb.multi/multi-attach.exp: Likewise.
2935 * gdb.python/py-prompt.exp: Likewise.
2936 * gdb.python/py-sync-interp.exp: Likewise.
2937 * gdb.server/ext-attach.exp: Likewise.
2938 * gdb.threads/attach-into-signal.exp (corefunc): Use
2939 spawn_wait_for_attach, spawn_id_get_pid and
2940 kill_wait_spawned_process.
2941 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2942 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2943 spawn_id_get_pid and kill_wait_spawned_process.
2944 * gdb.threads/attach-stopped.exp (corefunc): Use
2945 spawn_wait_for_attach, spawn_id_get_pid and
2946 kill_wait_spawned_process.
2947 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2948 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2949 kill_wait_spawned_process instead of explicit "kill -9".
2950 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2951 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2952 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2953 processes. Don't map cygwin/windows pids here. Now returns a
2954 spawn id list.
2955
2956 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2957
2958 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2959 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2960 correct patch.
2961
2962 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2963
2964 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2965
2966 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2967
2968 Reapply:
2969 2014-05-21 Mark Wielaard <mjw@redhat.com>
2970
2971 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2972
2973 2015-07-30 Pedro Alves <palves@redhat.com>
2974
2975 * linux-low.c (handle_extended_wait): Set the child's last
2976 reported status to TARGET_WAITKIND_STOPPED.
2977
2978 2015-07-30 Pedro Alves <palves@redhat.com>
2979
2980 PR threads/18600
2981 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2982 only shows inferior 1.
2983
2984 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2985 Pedro Alves <palves@redhat.com>
2986
2987 PR threads/18600
2988 * gdb.threads/fork-plus-threads.c: New file.
2989 * gdb.threads/fork-plus-threads.exp: New file.
2990
2991 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2992
2993 * gdb.base/batch-preserve-term-settings.exp
2994 (test_terminal_settings_preserved_after_cli_exit): Use
2995 send_quit_command.
2996
2997 2015-07-29 Pedro Alves <palves@redhat.com>
2998 Don Breazeal <donb@codesourcery.com>
2999
3000 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3001 output from both inferior_spawn_id and gdb_spawn_id.
3002
3003 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3004
3005 * gdb.threads/attach-into-signal.exp (corefunc): Use
3006 with_test_prefix on nested loops, uniquefying the test messages.
3007
3008 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3009
3010 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3011 commit.
3012
3013 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3014
3015 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3016 New proc.
3017 (test_terminal_settings_preserved_after_sigterm): New test.
3018
3019 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3020
3021 * gdb.base/batch-preserve-term-settings.exp
3022 (test_terminal_settings_preserved_after_cli_exit): New test.
3023
3024 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3025
3026 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3027 manipulation of saved_gdbflags.
3028 (test_terminal_settings_preserved): Remove global declaration of
3029 the unused variable pagination_prompt. Remove manipulation of
3030 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3031 GDBFLAGS.
3032
3033 2015-07-29 Pedro Alves <palves@redhat.com>
3034
3035 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3036
3037 2015-07-29 Pedro Alves <palves@redhat.com>
3038
3039 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3040 at the top.
3041
3042 2015-07-29 Pedro Alves <palves@redhat.com>
3043
3044 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3045 (main): Call gdb_unbuffer_output.
3046 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3047 (main): Call gdb_unbuffer_output.
3048 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3049 (main): Call gdb_unbuffer_output.
3050 * gdb.base/call-strs.exp: Adjust to step over the
3051 gdb_unbuffer_output call.
3052 * gdb.base/catch-gdb-caused-signals.c: Include
3053 "../lib/unbuffer_output.c".
3054 (main): Call gdb_unbuffer_output.
3055 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3056 (main): Call gdb_unbuffer_output.
3057 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3058 (main): Call gdb_unbuffer_output.
3059 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3060 (main): Call gdb_unbuffer_output.
3061 * gdb.base/shlib-call.exp: Adjust to step over the
3062 gdb_unbuffer_output call.
3063 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3064 (main): Call gdb_unbuffer_output.
3065 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3066 (main): Call gdb_unbuffer_output.
3067 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3068 (main): Rename to ...
3069 (test): ... this.
3070 (main): Reimplement.
3071 * gdb.base/varargs.exp: Run to test instead of to main.
3072 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3073 (main): Call gdb_unbuffer_output.
3074
3075 2015-07-29 Pedro Alves <palves@redhat.com>
3076
3077 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3078 factore out from mi_continue_dprintf. For call-style dprintfs,
3079 expect dprintf output out of $inferior_spawn_id.
3080 (mi_continue_dprintf): Use mi_expect_dprintf.
3081 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3082 (main): Call gdb_unbuffer_output.
3083
3084 2015-07-29 Pedro Alves <palves@redhat.com>
3085
3086 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3087 (default_mi_gdb_start): Set inferior_spawn_id instead of
3088 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3089 gdb_spawn_id.
3090 (mi_gdb_test): Always expect inferior output from both
3091 $inferior_spawn_id and $gdb_spawn_id.
3092
3093 2015-07-29 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3096 send_inferior and $inferior_spawn_id.
3097
3098 2015-07-29 Pedro Alves <palves@redhat.com>
3099
3100 * gdb.gdb/complaints.exp (test_initial_complaints)
3101 (test_serial_complaints, test_short_complaints): Use
3102 gdb_test_stdio.
3103 (test_empty_complaint): Handle $inferior_spawn_id !=
3104 $gdb_spawn_id.
3105
3106 2015-07-29 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.base/varargs.exp: Use gdb_test_stdio.
3109
3110 2015-07-29 Pedro Alves <palves@redhat.com>
3111
3112 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3113
3114 2015-07-29 Pedro Alves <palves@redhat.com>
3115
3116 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3117
3118 2015-07-29 Pedro Alves <palves@redhat.com>
3119
3120 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3121 parameter into two new parameters, "inf_result" and "gdb_result".
3122 Expect inferior output and gdb output from $inferior_spawn_id and
3123 $gdb_spawn_id, respectively. Adjust all callers.
3124
3125 2015-07-29 Pedro Alves <palves@redhat.com>
3126
3127 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3128 of gdb_test_sequence.
3129
3130 2015-07-29 Pedro Alves <palves@redhat.com>
3131
3132 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3133 (saw_spurious_output): Expect inferior output from
3134 $inferior_spawn_id. Use gdb_test_stdio.
3135
3136 2015-07-29 Pedro Alves <palves@redhat.com>
3137
3138 * gdb.base/dprintf.exp: Use standard_testfile. Change
3139 prepare_for_testing call.
3140 (srcfile): Don't set.
3141 (restart): New procedure.
3142 (test_dprintf): New procecure, use to continue over dprintfs.
3143 (test_call, test_agent): New procedures, tests moved here.
3144 Restart gdb and recreate dprintfs. Adjust expected output.
3145
3146 2015-07-29 Pedro Alves <palves@redhat.com>
3147
3148 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3149
3150 2015-07-29 Pedro Alves <palves@redhat.com>
3151
3152 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3153
3154 2015-07-29 Pedro Alves <palves@redhat.com>
3155
3156 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3157 gdb_test_stdio.
3158
3159 2015-07-29 Pedro Alves <palves@redhat.com>
3160
3161 * lib/gdb.exp (gdb_test_stdio): New procedure.
3162
3163 2015-07-29 Pedro Alves <palves@redhat.com>
3164
3165 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3166
3167 2015-07-29 Pedro Alves <palves@redhat.com>
3168
3169 * gdb.base/call-signal-resume.exp: Remove check for
3170 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3171 * gdb.base/unwindonsignal.exp: Likewise.
3172 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3173 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3174
3175 2015-07-29 Pedro Alves <palves@redhat.com>
3176
3177 * gdb.base/siginfo-addr.c (pass): New function.
3178 (handler): Call it iff si_addr is correct.
3179 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3180 Set a breakpoint at "pass" and continue to it.
3181
3182 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3183
3184 * gdb.python/py-objfile.exp: Make some tests have unique names.
3185 * gdb.python/py-pp-registration.exp: Likewise.
3186
3187 2015-07-28 Pedro Alves <palves@redhat.com>
3188
3189 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3190
3191 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3192
3193 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3194
3195 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3196
3197 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3198
3199 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3200
3201 * gdb.base/gdb-sigterm-2.exp: New test.
3202
3203 2015-07-25 Doug Evans <xdje42@gmail.com>
3204
3205 Revert:
3206 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3207 (workers/%.worker, build-perf): New rule.
3208 (GDB_PERFTEST_MODE): New variable.
3209 (check-perf): Use it.
3210 (clean): Clean up gdb.perf parallel build subdirs.
3211 * lib/build-piece.exp: New file.
3212 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3213 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3214 name.
3215 (standard_temp_file): Ditto.
3216 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3217 of $GDB_PARALLEL.
3218
3219 2015-07-24 Doug Evans <dje@google.com>
3220
3221 * gdb.perf/lib/perftest/utils.py: New file.
3222 * gdb.perf/gm-hello.cc: New file.
3223 * gdb.perf/gm-pervasive-typedef.cc: New file.
3224 * gdb.perf/gm-pervasive-typedef.h: New file.
3225 * gdb.perf/gm-std.cc: New file.
3226 * gdb.perf/gm-std.h: New file.
3227 * gdb.perf/gm-use-cerr.cc: New file.
3228 * gdb.perf/gm-utils.h: New file.
3229 * gdb.perf/gmonster-null-lookup.py: New file.
3230 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3231 * gdb.perf/gmonster-print-cerr.py: New file.
3232 * gdb.perf/gmonster-ptype-string.py: New file.
3233 * gdb.perf/gmonster-runto-main.py: New file.
3234 * gdb.perf/gmonster-select-file.py: New file.
3235 * gdb.perf/gmonster1-null-lookup.exp: New file.
3236 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3237 * gdb.perf/gmonster1-print-cerr.exp: New file.
3238 * gdb.perf/gmonster1-ptype-string.exp: New file.
3239 * gdb.perf/gmonster1-runto-main.exp: New file.
3240 * gdb.perf/gmonster1-select-file.exp: New file.
3241 * gdb.perf/gmonster1.cc: New file.
3242 * gdb.perf/gmonster1.exp: New file.
3243 * gdb.perf/gmonster2-null-lookup.exp: New file.
3244 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3245 * gdb.perf/gmonster2-print-cerr.exp: New file.
3246 * gdb.perf/gmonster2-ptype-string.exp: New file.
3247 * gdb.perf/gmonster2-runto-main.exp: New file.
3248 * gdb.perf/gmonster2-select-file.exp: New file.
3249 * gdb.perf/gmonster2.cc: New file.
3250 * gdb.perf/gmonster2.exp: New file.
3251
3252 2015-07-24 Doug Evans <dje@google.com>
3253
3254 * gdb.perf/README: New file.
3255 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3256 * lib/gen-perf-test.exp: New file.
3257
3258 2015-07-24 Doug Evans <dje@google.com>
3259
3260 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3261 (PerfTest::startup): New function.
3262 (PerfTest::run): Return result of calling body.
3263 (PerfTest::assemble): Rewrite.
3264 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3265 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3266 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3267 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3268 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3269
3270 2015-07-24 Doug Evans <dje@google.com>
3271
3272 * lib/gdb.exp (clean_restart): Make executable optional.
3273
3274 2015-07-24 Doug Evans <dje@google.com>
3275
3276 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3277 compiler_info references.
3278 * gdb.cp/temargs.exp: Ditto.
3279 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3280 (get_compiler_info): Early exit if already computed. Set compiler_info
3281 to "unknown" if there was a problem.
3282 (test_compiler_info): Add function comment. Call get_compiler_info.
3283
3284 2015-07-24 Doug Evans <dje@google.com>
3285
3286 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3287 (workers/%.worker, build-perf): New rule.
3288 (GDB_PERFTEST_MODE): New variable.
3289 (check-perf): Use it.
3290 (clean): Clean up gdb.perf parallel build subdirs.
3291 * lib/build-piece.exp: New file.
3292 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3293 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3294 name.
3295 (standard_temp_file): Ditto.
3296 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3297 of $GDB_PARALLEL.
3298
3299 2015-07-24 Doug Evans <dje@google.com>
3300
3301 * lib/future.exp (gdb_default_target_compile): New option
3302 "early_flags".
3303 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3304 --as-needed.
3305
3306 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3307
3308 * gdb.base/catch-syscall.exp: Call gdb_exit before
3309 gdb_skip_xml_test.
3310
3311 2015-07-24 Pedro Alves <palves@redhat.com>
3312
3313 * gdb.python/py-events.exp: Accept output between the stop event
3314 and the prompt.
3315 * gdb.python/py-evsignal.exp: Likewise.
3316 * gdb.python/py-evthreads.exp: Likewise.
3317
3318 2015-07-24 Pedro Alves <palves@redhat.com>
3319
3320 PR gdb/18717
3321 * gdb.threads/non-ldr-exit.c: New file.
3322 * gdb.threads/non-ldr-exit.exp: New file.
3323
3324 2015-07-24 Yao Qi <yao.qi@linaro.org>
3325
3326 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3327 restarting process.
3328
3329 2015-07-24 Yao Qi <yao.qi@linaro.org>
3330
3331 * gdb.server/ext-restart.exp: New file.
3332
3333 2015-07-24 Yao Qi <yao.qi@linaro.org>
3334
3335 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3336 argument options.
3337 * gdb.server/ext-wrapper.exp: New file.
3338
3339 2015-07-23 Doug Evans <dje@google.com>
3340
3341 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3342 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3343
3344 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3345
3346 * gdb.ada/var_arr_typedef.exp: New testcase.
3347 * gdb.ada/var_arr_typedef/pack.adb: New file.
3348 * gdb.ada/var_arr_typedef/pack.ads: New file.
3349 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3350
3351 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3352
3353 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3354
3355 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3356
3357 * gdb.arch/i386-biarch-core.exp: Replace istarget
3358 by "complete set gnutarget". Remove expectation for the "core-file"
3359 command.
3360
3361 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3362
3363 Revert the previous commit:
3364 Tests for validate symbol file using build-id.
3365
3366 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3367
3368 Tests for validate symbol file using build-id.
3369 * gdb.base/solib-mismatch-lib.c: New file.
3370 * gdb.base/solib-mismatch-libmod.c: New file.
3371 * gdb.base/solib-mismatch.c: New file.
3372 * gdb.base/solib-mismatch.exp: New file.
3373
3374 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3375
3376 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3377 nios2-*-linux*.
3378 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3379 * gdb.base/siginfo.exp: Likewise.
3380 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3381
3382 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3383
3384 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3385 Move it to ...
3386 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3387 ... here.
3388 * gdb.trace/range-stepping.exp: Check that the target supports
3389 range stepping.
3390
3391 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3394
3395 2015-07-14 Pedro Alves <palves@redhat.com>
3396
3397 * gdb.base/killed-outside.exp: New file.
3398 * gdb.base/killed-outside.c: New file.
3399
3400 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3401
3402 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3403 (n at main): New.
3404 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3405
3406 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3407
3408 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3409 infcall tests instead of setting up for KFAIL.
3410
3411 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3412
3413 * gdb.btrace/record_goto-step.exp: New.
3414
3415 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3416
3417 PR compile/18484
3418 * gdb.compile/compile.c (struct struct_type): Add volatile to
3419 selffield's type.
3420 * gdb.compile/compile.exp
3421 (compile code struct_object.selffield = &struct_object): Skip further
3422 struct_object tests if this one xfails.
3423
3424 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3425
3426 PR exp/18617
3427 * gdb.trace/ax.exp: Add test.
3428
3429 2015-07-07 Yao Qi <yao.qi@linaro.org>
3430
3431 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3432 instead of istarget "aarch64*-*-*".
3433 * gdb.arch/aarch64-fp.exp: Likewise.
3434 * gdb.base/float.exp: Likewise.
3435 * gdb.reverse/aarch64.exp: Likewise.
3436 * lib/gdb.exp (is_aarch64_target): New proc.
3437
3438 2015-07-07 Yao Qi <yao.qi@linaro.org>
3439
3440 * lib/gdb.exp (is_aarch32_target): New proc.
3441 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3442 instead of "istarget "arm*-*-*"".
3443 * gdb.arch/arm-disp-step.exp: Likewise.
3444 * gdb.arch/thumb-bx-pc.exp: Likewise.
3445 * gdb.arch/thumb-prologue.exp: Likewise.
3446 * gdb.arch/thumb-singlestep.exp: Likewise.
3447 * gdb.base/disp-step-syscall.exp: Likewise.
3448 * gdb.base/float.exp: Likewise.
3449
3450 2015-07-07 Yao Qi <yao.qi@linaro.org>
3451
3452 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3453 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3454
3455 2015-07-07 Yao Qi <yao.qi@linaro.org>
3456
3457 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3458 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3459 if it exists.
3460 * gdb.multi/multi-arch.exp: Likewise.
3461
3462 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3463
3464 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3465 print.
3466
3467 2015-07-07 Yao Qi <yao.qi@linaro.org>
3468
3469 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3470
3471 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3472
3473 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3474 '[' and ']' characters.
3475
3476 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3477
3478 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3479
3480 2015-06-29 Pedro Alves <palves@redhat.com>
3481
3482 PR threads/18127
3483 * gdb.threads/hand-call-new-thread.c: New file.
3484 * gdb.threads/hand-call-new-thread.c: New file.
3485
3486 2015-06-26 Keith Seitz <keiths@redhat.com>
3487 Doug Evans <dje@google.com>
3488
3489 PR 16253
3490 * gdb.cp/var-tag-2.cc: New file.
3491 * gdb.cp/var-tag-3.cc: New file.
3492 * gdb.cp/var-tag-4.cc: New file.
3493 * gdb.cp/var-tag.cc: New file.
3494 * gdb.cp/var-tag.exp: New file.
3495
3496 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3497
3498 * gdb.base/history-duplicates.exp: New test.
3499
3500 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3501
3502 * gdb.base/completion.exp: Test the completion of the "focus"
3503 command.
3504
3505 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3506
3507 * gdb.arch/amd64-prologue-skip.S: New file.
3508 * gdb.arch/amd64-prologue-skip.exp: New file.
3509
3510 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3511
3512 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3513 is_address_zero_readable check.
3514
3515 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3516
3517 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3518 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3519
3520 2015-06-24 Yao Qi <yao.qi@linaro.org>
3521
3522 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3523 linux targets.
3524
3525 2015-06-24 Yao Qi <yao.qi@linaro.org>
3526
3527 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3528 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3529 * gdb.base/siginfo-thread.exp: Likewise.
3530
3531 2015-06-22 Yao Qi <yao.qi@linaro.org>
3532
3533 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3534
3535 2015-06-22 Yao Qi <yao.qi@linaro.org>
3536
3537 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3538 aarch64*-*-*.
3539 (skip_hw_watchpoint_tests): Likewise.
3540
3541 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3542
3543 * gdb.base/gdbinit-history.exp: Test the interaction between
3544 setting GDBHISTSIZE and setting the history size via .gdbinit.
3545
3546 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3547
3548 PR gdb/16999
3549 * gdb.base/gdbhistsize-history.exp: New test.
3550
3551 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3552
3553 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3554 with GDBHISTSIZE.
3555 * gdb.base/readline.exp: Likewise.
3556
3557 2015-06-17 Yao Qi <yao.qi@linaro.org>
3558
3559 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3560 line.
3561
3562 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3563
3564 * gdb.base/gdbinit-history.exp: Add test case to check that
3565 an unlimited history file does not get truncated on exit.
3566
3567 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3568
3569 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3570 (VECTOR): New macro. Use it...
3571 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3572 ...for these typedefs.
3573 (int8, char1, int1, double1): New typedefs.
3574 (struct just_int2, struct two_int2): New structures.
3575 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3576 (add_structvecs, add_singlevecs): New functions.
3577 (main): Call add_some_intvecs twice.
3578 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3579 the compile and exit upon failure. Try compiling for the "native"
3580 architecture. Test inferior function calls with vector arguments
3581 and vector return value handling with "finish" and "return".
3582
3583 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3584
3585 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3586 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3587 PE file.
3588 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3589
3590 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3591
3592 PR breakpoints/16465
3593 * gdb.mi/mi-dprintf-pending.c: New file.
3594 * gdb.mi/mi-dprintf-pending.exp: New test.
3595 * gdb.mi/mi-dprintf-pendshr.c: New file.
3596
3597 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3598 Mircea Gherzan <mircea.gherzan@intel.com>
3599
3600 * gdb.arch/i386-mpx-map.c: New file.
3601 * gdb.arch/i386-mpx-map.exp: New File.
3602
3603 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3604
3605 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3606 * gdb.arch/i386-mpx.exp: Indentation fixed.
3607
3608 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3609
3610 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3611 function and improved indentation.
3612 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3613 gdb_test_multiple. Added additional tests to skip the test.
3614
3615 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3616
3617 * gdb.arch/i386-avx512.c: Change path in include file.
3618 * gdb.arch/i386-avx512.exp: Change include dir path
3619 compilation flag.
3620 * gdb.arch/i386-mpx.c: Change path in include file.
3621 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3622 flag.
3623
3624 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3625
3626 * gdb.compile/compile-print.exp (compile print *vararray@3)
3627 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3628
3629 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3630
3631 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3632 (do not keep jit in memory): ... this.
3633 (expect 5): Change it to ...
3634 (expect no 5): ... this.
3635
3636 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3637
3638 PR gdb/15564
3639 * gdb.mi/mi-detach.exp: New file.
3640
3641 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3642
3643 PR symtab/18392
3644 * gdb.arch/amd64-tailcall-self.S: New file.
3645 * gdb.arch/amd64-tailcall-self.c: New file.
3646 * gdb.arch/amd64-tailcall-self.exp: New file.
3647
3648 2015-05-28 Don Breazeal <donb@codesourcery.com>
3649
3650 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3651 tests for remote targets by checking is_target_gdbserver.
3652
3653 2015-05-27 Doug Evans <dje@google.com>
3654
3655 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3656 * gdb.dwarf2/opaque-type-lookup.c: New file.
3657 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3658
3659 2015-05-26 Doug Evans <dje@google.com>
3660
3661 * gdb.cp/iostream.cc: New file.
3662 * gdb.cp/iostream.exp: New file.
3663
3664 2015-05-26 Doug Evans <dje@google.com>
3665
3666 * gdb.dwarf2/dw2-op-call.exp: Update.
3667 * gdb.dwarf2/dw4-sig-types.exp: Update.
3668 * gdb.dwarf2/implptr.exp: Update.
3669 * gdb.mi/mi-cmd-param-changed.exp: Update.
3670
3671 2015-05-26 Doug Evans <dje@google.com>
3672
3673 * gdb.python/py-lazy-string.c: New file.
3674 * gdb.python/py-lazy-string.exp: New file.
3675 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3676 (main): Update. Add estring3.
3677 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3678 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3679
3680 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3681 Yao Qi <yao.qi@linaro.org>
3682
3683 * gdb.reverse/aarch64.c: New.
3684 * gdb.reverse/aarch64.exp: New.
3685
3686 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3687
3688 * lib/gdb.exp (supports_process_record): Return true for
3689 aarch64*-linux*.
3690 (supports_reverse): Likewise.
3691
3692 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3693
3694 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3695 Use with_test_prefix.
3696
3697 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3698
3699 * gdb.base/completion.exp: Add test for completion of layout
3700 names.
3701
3702 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3703
3704 * lib/gdb.exp (skip_tui_tests): New proc.
3705 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3706
3707 2015-05-19 Pedro Alves <palves@redhat.com>
3708
3709 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3710 Save the whole env array instead of just HOME. Unset HISTSIZE in
3711 the environment while testing. Restore whole environment
3712 afterwards.
3713
3714 2015-05-16 Doug Evans <xdje42@gmail.com>
3715
3716 * gdb.guile/scm-ports.c: New file.
3717 * gdb.guile/scm-ports.exp: Add memory port tests.
3718
3719 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3720
3721 * gdb.compile/compile-print.c: New file.
3722 * gdb.compile/compile-print.exp: New file.
3723
3724 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3725
3726 * gdb.compile/compile-ops.exp: Cast param to void.
3727 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3728 (compile code struct_object.selffield = &struct_object): Add xfail.
3729
3730 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3731
3732 * gdb.ada/arr_enum_with_gap: New testcase.
3733
3734 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3735
3736 * gdb.ada/byte_packed_arr: New testcase.
3737
3738 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3739
3740 * gdb.ada/pckd_neg: New testcase.
3741
3742 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3743
3744 PR gdb/17820
3745 * gdb.base/gdbinit-history.exp: New test.
3746 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3747 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3748
3749 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3750
3751 * gdb.python/py-xmethods.cc: Enhance test case.
3752 * gdb.python/py-xmethods.exp: New tests.
3753 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3754 function.
3755 (B_indexoper): Likewise.
3756 (global_dm_list) : Add new xmethod worker functions.
3757
3758 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3759
3760 * gdb.base/coredump-filter.exp: Correctly unset
3761 "coredump_var_addr" array.
3762
3763 2015-05-08 Pedro Alves <palves@redhat.com>
3764
3765 * gdb.server/non-existing-program.exp: Unset spawn_id.
3766
3767 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3768
3769 PR python/18291
3770 * gdb.python/py-xmethods.exp: Add tests.
3771
3772 2015-05-08 Yao Qi <yao.qi@linaro.org>
3773
3774 PR gdb/18208
3775 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3776 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3777 function set_coredump_filter, and remove remote_exec call.
3778 Remove argument ipid. Callers update.
3779 (top level): Don't get inferior's PID.
3780
3781 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3782
3783 * gdb.base/watch_thread_num.exp: Skip test on targets without
3784 access watchpoints.
3785
3786 2015-05-06 Pedro Alves <palves@redhat.com>
3787
3788 PR server/18081
3789 * gdb.server/non-existing-program.exp: New file.
3790
3791 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3792
3793 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3794
3795 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3796
3797 * gdb.ada/out_of_line_in_inlined: New testcase.
3798
3799 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3800
3801 * gdb.ada/var_rec_arr: New testcase.
3802
3803 2015-04-30 Yao Qi <yao.qi@linaro.org>
3804
3805 * gdb.base/break-idempotent.exp: If
3806 skip_hw_watchpoint_multi_tests returns true, skip the tests
3807 on "rwatch" and "awatch".
3808
3809 2015-04-30 Yao Qi <yao.qi@linaro.org>
3810
3811 * gdb.base/relativedebug.exp: Invoke gdb command
3812 "info sharedlibrary", and if libc.so doesn't have debug info,
3813 skip the test.
3814
3815 2015-04-29 Doug Evans <dje@google.com>
3816
3817 * gdb.python/py-xmethods.exp: Add ptype tests.
3818 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3819 get_result_type method.
3820
3821 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3822
3823 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3824 the target does not support hardware watchpoints.
3825
3826 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3827
3828 * gdb.base/break-always.exp: Abort testing if writing to memory
3829 causes an error.
3830
3831 2015-04-28 Doug Evans <dje@google.com>
3832
3833 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3834 * gdb.python/py-pp-registration.exp: ... here. New file.
3835 * gdb.python/py-pp-registration.c: New file.
3836 * gdb.python/py-pp-registration.py: New file.
3837
3838 2015-04-28 Doug Evans <dje@google.com>
3839
3840 * gdb.python/py-bad-printers.c: New file.
3841 * gdb.python/py-bad-printers.py: New file.
3842 * gdb.python/py-bad-printers.exp: New file.
3843
3844 2015-04-28 Sasha Smundak <asmundak@google.com>
3845
3846 * gdb.python/py-type.exp: New test.
3847
3848 2015-04-28 Andy Wingo <wingo@igalia.com>
3849
3850 * gdb.python/py-parameter.exp:
3851 * gdb.guile/scm-parameter.exp: Escape the path that we are
3852 matching against, as it might contain characters that are special
3853 to regular expressions.
3854
3855 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3856
3857 * gdb.ada/rec_comp: New testcase.
3858
3859 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3860
3861 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3862 before using it.
3863
3864 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3865
3866 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3867 new tests for verilog output.
3868
3869 2015-04-24 Yao Qi <yao.qi@linaro.org>
3870
3871 * boards/remote-gdbserver-on-localhost.exp: New file.
3872
3873 2015-04-23 Pedro Alves <palves@redhat.com>
3874
3875 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3876 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3877 "end of file", remove $inferior_spawn_id from the indirect list.
3878
3879 2015-04-23 Pedro Alves <palves@redhat.com>
3880
3881 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3882
3883 2015-04-23 Pedro Alves <palves@redhat.com>
3884
3885 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3886 on $any_spawn_id instead of only on $gdb_spawn_id.
3887
3888 2015-04-21 Pierre Muller <muller@sourceware.org>
3889
3890 PR pascal/17815
3891 * lib/pascal.exp (gpc_compile): Add new option "class".
3892 (fpc_compile): Likewise.
3893 * gdb.pascal/case-insensitive-symbols.pas: New file.
3894 * gdb.pascal/case-insensitive-symbols.exp: New file.
3895
3896 2015-04-20 Gary Benson <gbenson@redhat.com>
3897
3898 * gdb.base/attach.exp: Fix three extended remote failures.
3899
3900 2015-04-17 Gary Benson <gbenson@redhat.com>
3901
3902 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3903 the main executable over the remote protocol.
3904
3905 2015-04-16 Pedro Alves <palves@redhat.com>
3906
3907 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3908 a new gdbserver if gdbserver_reconnect_p is set.
3909
3910 2015-04-16 Pedro Alves <palves@redhat.com>
3911
3912 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3913 is set, don't exit gdbserver.
3914
3915 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3916
3917 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3918 appropriate .insn, such that an older assembler can be used.
3919 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3920 the z/Architecture instruction set on 31-bit targets as well.
3921
3922 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3923
3924 * gdb.go/handcall.exp: Remove all logic related to the first
3925 breakpoint and rely on go_runto_main instead.
3926 * gdb.go/strings.exp: Likewise.
3927 * gdb.go/unsafe.exp: Likewise.
3928 * gdb.go/hello.exp: Likewise. Also rename the remaining
3929 breakpoint marker to "breakpoint 1".
3930 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3931 * gdb.go/strings.go: Likewise.
3932 * gdb.go/unsafe.go: Likewise.
3933 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3934 "set breakpoint 2 here" and rename the remaining breakpoint marker
3935 to "breakpoint 1".
3936
3937 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3938
3939 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3940 if itertools.imap is not present.
3941 * gdb.python/py-objfile.exp: Add parentheses.
3942 * gdb.python/py-type.exp: Same.
3943 * gdb.python/py-unwind-maint.py: Same.
3944
3945 2015-04-15 Yao Qi <yao.qi@linaro.org>
3946
3947 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3948 of ":$ptr_size" and set its form explicitly.
3949
3950 2015-04-15 Pedro Alves <palves@redhat.com>
3951 Yao Qi <yao.qi@linaro.org>
3952
3953 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3954 timeout by factor of 4.
3955 (test_regular_watch): Likewise.
3956 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3957 * gdb.reverse/sigall-reverse.exp: Likewise.
3958 * gdb.reverse/until-precsave.exp: Likewise.
3959 * lib/gdb.exp (with_timeout_factor): New proc.
3960 (gdb_expect): Move some code to ...
3961 (get_largest_timeout): ... here. New procedure.
3962
3963 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3964
3965 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3966
3967 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3968
3969 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3970 to write to the .text section.
3971
3972 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3973
3974 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3975 Handle the case of targets that do not provide PID information.
3976
3977 2015-04-13 Yao Qi <yao.qi@linaro.org>
3978
3979 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3980 and use expect instead of gdb_expect.
3981
3982 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3983
3984 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3985 "coredump_var_addr" to avoid naming conflict with other testcases.
3986
3987 2015-04-10 Pedro Alves <palves@redhat.com>
3988
3989 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3990 gdb_test_sequence and gdb_assert.
3991
3992 2015-04-10 Pedro Alves <palves@redhat.com>
3993
3994 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3995 test messages that don't include the breakpoint address.
3996
3997 2015-04-10 Yao Qi <yao.qi@linaro.org>
3998
3999 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4000 false for some offset and width combinations which aren't
4001 supported by linux kernel.
4002
4003 2015-04-10 Pedro Alves <palves@redhat.com>
4004
4005 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4006 procedure, factored out from ...
4007 (top level): ... here. Add "set displaced-stepping" testing axis.
4008 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4009 parameter "displaced". Use it.
4010 (top level): Use foreach and add "set displaced-stepping" testing
4011 axis.
4012
4013 2015-04-10 Pedro Alves <palves@redhat.com>
4014
4015 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4016 Remove comment.
4017 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4018 both the address of the instruction that triggers the watchpoint
4019 and the address of the instruction immediately after, and use
4020 those addresses for the test. Fix comment.
4021
4022 2015-04-10 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.base/sigstep.exp (breakpoint_to_handler)
4025 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4026 Test "backtrace" in handler.
4027 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4028 (top level): Add new "displaced" test axis to
4029 breakpoint_to_handler, breakpoint_to_handler_entry and
4030 breakpoint_over_handler.
4031
4032 2015-04-10 Pedro Alves <palves@redhat.com>
4033
4034 PR gdb/18216
4035 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4036
4037 2015-04-10 Yao Qi <yao.qi@linaro.org>
4038
4039 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4040 (test_add_rn_pc): New function.
4041 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4042 (top level): Invoke test_add_rn_pc.
4043
4044 2015-04-10 Pedro Alves <palves@redhat.com>
4045
4046 PR gdb/13858
4047 * gdb.base/step-over-no-symbols.exp: New file.
4048
4049 2015-04-09 Andy Wingo <wingo@igalia.com>
4050
4051 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4052 after the Python tests.
4053
4054 2015-04-08 Keith Seitz <keiths@redhat.com>
4055
4056 PR python/16699
4057 * gdb.python/py-completion.exp: New tests for completion.
4058 * gdb.python/py-completion.py (CompleteLimit1): New class.
4059 (CompleteLimit2): Likewise.
4060 (CompleteLimit3): Likewise.
4061 (CompleteLimit4): Likewise.
4062 (CompleteLimit5): Likewise.
4063 (CompleteLimit6): Likewise.
4064 (CompleteLimit7): Likewise.
4065
4066 2015-04-08 Pedro Alves <palves@redhat.com>
4067
4068 PR gdb/18214
4069 PR gdb/18216
4070 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4071 function.
4072 (main): Install it as SIGUSR1 handler.
4073 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4074 parameter. Always use "setup" as prefix. Toggle "set
4075 displaced-stepping" off/on depending on global. Don't switch to
4076 thread 1 here.
4077 (top level): Add displaced stepping "off/on" test axis. Update
4078 "setup" calls. Wrap each subtest with with_test_prefix. Test
4079 continuing with a queued signal in each thread.
4080
4081 2015-04-08 Pedro Alves <palves@redhat.com>
4082
4083 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4084 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4085 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4086 Return early if running to main fails.
4087 * gdb.trace/while-stepping.exp: Likewise.
4088
4089 2015-04-07 Pedro Alves <palves@redhat.com>
4090
4091 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4092 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4093 interact with inferior program.
4094
4095 2015-04-07 Pedro Alves <palves@redhat.com>
4096
4097 * lib/gdb.exp (inferior_spawn_id): New global.
4098 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4099 spawn id after processing the user code.
4100 (default_gdb_start): Set inferior_spawn_id.
4101 (send_inferior): New procedure.
4102 * lib/gdbserver-support.exp (gdbserver_start): Set
4103 inferior_spawn_id.
4104 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4105
4106 2015-04-07 Pedro Alves <palves@redhat.com>
4107
4108 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4109 * lib/gdbserver-support.exp (gdbserver_start): Make
4110 $server_spawn_id global.
4111 (gdbserver_start): Don't wait for gdbserver's spawn id with
4112 expect_background.
4113 (close_gdbserver): New procedure.
4114 (gdb_exit): Rename the default version and reimplement.
4115
4116 2015-04-07 Pedro Alves <palves@redhat.com>
4117
4118 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4119 append the substituted item, not the original item.
4120
4121 2015-04-07 Pedro Alves <palves@redhat.com>
4122
4123 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4124 gdb_expect.
4125
4126 2015-04-07 Pedro Alves <palves@redhat.com>
4127
4128 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4129 output appearing once only.
4130
4131 2015-04-07 Pedro Alves <palves@redhat.com>
4132
4133 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4134 that doesn't expect anything. Return early if running to main
4135 fails.
4136
4137 2015-04-07 Yao Qi <yao.qi@linaro.org>
4138
4139 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4140 (child_function): Call alarm.
4141 (main): Move call to alarm into the loop.
4142 * gdb.threads/non-stop-fair-events.exp: Build program with
4143 -DTIMEOUT=$timeout.
4144
4145 2015-04-06 Doug Evans <xdje42@gmail.com>
4146
4147 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4148 Fix dest parameter to board_info.
4149 (fpc_compile): Ditto.
4150 (gdb_compile_pascal): Rename dest arg to destfile.
4151
4152 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4153
4154 * gdb.ada/funcall_ref.exp: New file.
4155 * gdb.ada/funcall_ref/foo.adb: New file.
4156
4157 2015-04-02 Yao Qi <yao.qi@linaro.org>
4158
4159 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4160 is remote.
4161
4162 2015-04-02 Gary Benson <gbenson@redhat.com>
4163
4164 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4165
4166 2015-04-01 Sasha Smundak <asmundak@google.com>
4167
4168 * gdb.python/py-unwind-maint.c: New file.
4169 * gdb.python/py-unwind-maint.exp: New test.
4170 * gdb.python/py-unwind-maint.py: New file.
4171 * gdb.python/py-unwind.c: New file.
4172 * gdb.python/py-unwind.exp: New test.
4173 * gdb.python/py-unwind.py: New test.
4174
4175 2015-04-01 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4178 to fail instead of non-existent $test.
4179
4180 2015-04-01 Pedro Alves <palves@redhat.com>
4181
4182 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4183 GDBFLAGS if not empty.
4184
4185 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4186
4187 * gdb.ada/complete.exp: Remove "multi_line".
4188 * gdb.ada/info_exc.exp: Remove "multi_line".
4189 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4190 * gdb.ada/ptype_field.exp: Remove "multi_line".
4191 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4192 * gdb.ada/tagged.exp: Remove "multi_line".
4193 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4194 [multi_line ...]
4195 * gdb.btrace/delta.exp: Likewise.
4196 * gdb.btrace/exception.exp: Likewise.
4197 * gdb.btrace/function_call_history.exp: Likewise.
4198 * gdb.btrace/instruction_history.exp: Likewise.
4199 * gdb.btrace/nohist.exp: Likewise.
4200 * gdb.btrace/record_goto.exp: Likewise.
4201 * gdb.btrace/segv.exp: Likewise.
4202 * gdb.btrace/stepi.exp: Likewise.
4203 * gdb.btrace/tailcall.exp: Likewise.
4204 * gdb.btrace/unknown_functions.exp: Likewise.
4205 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4206 * lib/gdb.exp: Add the "multi_line" helper.
4207
4208 2015-04-01 Pedro Alves <palves@redhat.com>
4209
4210 * gdb.threads/tid-reuse.c: New file.
4211 * gdb.threads/tid-reuse.exp: New file.
4212
4213 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4214
4215 PR corefiles/16092
4216 * gdb.base/coredump-filter.c: New file.
4217 * gdb.base/coredump-filter.exp: Likewise.
4218
4219 2015-03-27 Petr Machata <pmachata@redhat.com>
4220
4221 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4222 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4223 (Dwarf::assemble): Initialize them.
4224 (Dwarf::lines): New function.
4225
4226 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4227
4228 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4229 SYMBOL_PREFIX for x86_64-*-cygwin.
4230
4231 2015-03-26 Andy Wingo <wingo@igalia.com>
4232
4233 PR symtab/18148
4234 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4235 const_value but not a location.
4236 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4237 location defined in non-main CUs are visible.
4238
4239 2015-03-26 Yao Qi <yao.qi@linaro.org>
4240
4241 PR testsuite/18139
4242 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4243 Add a line number entry for the same line.
4244 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4245 Add a line number entry for the same line.
4246
4247 2015-03-26 Yao Qi <yao.qi@linaro.org>
4248
4249 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4250 .int 0.
4251 (func): Likewise. Add .Lfunc_1 label.
4252 Use .Lfunc_1 label.
4253 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4254 .int 0.
4255 (func): Likewise.
4256 Use .Lfunc_1 label.
4257
4258 2015-03-26 Yao Qi <yao.qi@linaro.org>
4259
4260 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4261 Call gdb_compile instead to compile each .s files without debug
4262 information.
4263
4264 2015-03-26 Yao Qi <yao.qi@linaro.org>
4265
4266 * gdb.base/savedregs.exp (process_saved_regs): Make
4267 "Saved registers:" optional in the pattern.
4268
4269 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4270
4271 * gdb.btrace/next.exp: Merged into step.exp.
4272 * gdb.btrace/finish.exp: Merged into step.exp.
4273 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4274 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4275 "record goto" and checking the exact replay position.
4276 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4277 check for "Recording format" in "info record" output.
4278 * gdb.btrace/record_goto.exp: Choose test file based on target.
4279 * gdb.btrace/x86-record_goto.S: Renamed into ...
4280 * gdb.btrace/x86_64-record_goto.S: ... this.
4281 * gdb.btrace/i686-record_goto.S: New.
4282 * gdb.btrace/x86-tailcall.S: Renamed into ...
4283 * gdb.btrace/x86_64-tailcall.S: ... this.
4284 * gdb.btrace/i686-tailcall.S: New.
4285 * gdb.btrace/x86-tailcall.c: Renamed into ...
4286 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4287 separate statements. Update test.
4288 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4289 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4290 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4291 * gdb.btrace/tailcall.exp: Choose test file based on target.
4292 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4293
4294 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4295
4296 * gdb.btrace/exception.exp: Increase BTS buffer size.
4297
4298 2015-03-24 Pedro Alves <palves@redhat.com>
4299
4300 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4301
4302 2015-03-24 Pedro Alves <palves@redhat.com>
4303
4304 * gdb.threads/schedlock.exp (test_step): No longer expect that
4305 "set scheduler-locking step" with "next" over a function call runs
4306 threads unlocked.
4307
4308 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4309
4310 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4311
4312 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4313
4314 PR breakpoints/16466
4315 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4316 * gdb.mi/mi-pending.c (thread_func): New function.
4317 (int main): Add threading support required.
4318 * gdb.mi/mi-pending.exp: Add tests for this issue.
4319 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4320 (pendfunc2): Remove stdio dependency.
4321 * gdb.mi/mi-pendshr2.c: New file.
4322
4323 2015-03-23 Keith Seitz <keiths@redhat.com>
4324
4325 * gdb.linespec/keywords.c: New file.
4326 * gdb.linespec/keywords.exp: New file.
4327
4328 2015-03-23 Keith Seitz <keiths@redhat.com>
4329
4330 PR gdb/18021
4331 * gdb.dwarf2/staticvirtual.exp: New test.
4332
4333 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4334
4335 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4336 * README: Remove HP-UX and gdb.hp.
4337 (configuration):
4338 * configure: Regenerate.
4339 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4340 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4341 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4342 gdb.hp/gdb.defects/Makefile.
4343 * gdb.hp/Makefile.in: File deleted.
4344 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4345 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4346 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4347 * gdb.hp/gdb.aCC/run.c: File deleted.
4348 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4349 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4350 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4351 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4352 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4353 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4354 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4355 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4356 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4357 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4358 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4359 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4360 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4361 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4362 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4363 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4364 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4365 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4366 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4367 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4368 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4369 * gdb.hp/gdb.compat/average.c: File deleted.
4370 * gdb.hp/gdb.compat/sum.c: File deleted.
4371 * gdb.hp/gdb.compat/xdb.c: File deleted.
4372 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4373 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4374 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4375 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4376 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4377 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4378 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4379 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4380 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4381 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4382 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4383 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4384 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4385 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4386 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4387 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4388 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4389 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4390 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4391 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4392 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4393 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4394 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4395 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4396 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4397 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4398 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4399 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4400 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4401 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4402 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4403 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4404 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4405 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4406 * gdb.hp/tools/odump: File deleted.
4407
4408 2015-03-19 Pedro Alves <palves@redhat.com>
4409
4410 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4411 (saw_thread_3): New globals.
4412 (top level): Increment them when an event for the corresponding
4413 thread is seen.
4414 (no thread starvation): New test.
4415
4416 2015-03-19 Pedro Alves <palves@redhat.com>
4417
4418 * gdb.threads/continue-pending-status.c: New file.
4419 * gdb.threads/continue-pending-status.exp: New file.
4420
4421 2015-03-18 Pedro Alves <palves@redhat.com>
4422
4423 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4424 Use gdb_is_target_remote instead of is_remote. Use
4425 gdb_test_multiple instead of gdb_expect. Exit early if
4426 gdb_test_multiple hits its internal matches. Tighten stepi tests
4427 expected output. Fail on exit with any signal, instead of just
4428 SIGILL.
4429
4430 2015-03-18 Yao Qi <yao.qi@linaro.org>
4431
4432 PR tdep/18107
4433 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4434 variable.
4435 * gdb.base/catch-syscall.exp: Don't skip it on
4436 aarch64*-*-linux* target. Remove elements in all_syscalls.
4437 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4438 target.
4439 (setup_all_syscalls): New proc.
4440
4441 2015-03-16 Yao Qi <yao.qi@linaro.org>
4442
4443 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4444 (top level): Skip tests if valid_addr_p returns false for
4445 $cmd1 or $cmd2.
4446
4447 2015-03-11 Andy Wingo <wingo@igalia.com>
4448
4449 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4450
4451 2015-03-11 Yao Qi <yao.qi@linaro.org>
4452
4453 * gdb.base/catch-syscall.exp: Fix typo in comments.
4454
4455 2015-03-11 Yao Qi <yao.qi@linaro.org>
4456
4457 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4458
4459 2015-03-09 Pedro Alves <palves@redhat.com>
4460
4461 * dg-extract-results.py: Delete.
4462
4463 2015-03-09 Pedro Alves <palves@redhat.com>
4464
4465 Merge dg-extract-results.sh from GCC upstream (r218843).
4466
4467 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4468 * dg-extract-results.sh: Use --text with grep to avoid issues with
4469 binary files. Fall back to cat -v, if that doesn't work.
4470
4471 2015-03-05 Pedro Alves <palves@redhat.com>
4472
4473 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4474
4475 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4476
4477 * lib/mi-support.exp (mi_expect_interrupt): Accept
4478 alternative event for when in all-stop mode.
4479
4480 2015-03-04 Pedro Alves <palves@redhat.com>
4481
4482 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4483
4484 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4485
4486 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4487
4488 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4489
4490 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4491 regexps for GDB's current line display, accept a hex address
4492 preceding the line number.
4493
4494 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4495
4496 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4497 the 'arch1' variable for "s390*-linux*" targets.
4498
4499 2015-03-04 Pedro Alves <palves@redhat.com>
4500
4501 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4502 (main): Pass missing retval argument to pthread_join call.
4503
4504 2015-03-02 Pedro Alves <palves@redhat.com>
4505
4506 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4507 (top level): Call do_test with non-stop as well.
4508
4509 2015-03-02 Pedro Alves <palves@redhat.com>
4510
4511 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4512 -1.
4513
4514 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4515
4516 * gdb.arch/s390-vregs.exp: New test.
4517 * gdb.arch/s390-vregs.S: New file.
4518
4519 2015-02-27 Pedro Alves <palves@redhat.com>
4520
4521 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4522 call to catch_command_errors.
4523 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4524 catch_command_errors.
4525
4526 2015-02-27 Pedro Alves <palves@redhat.com>
4527
4528 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4529 "true" for boolean result.
4530 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4531 prototype of main.
4532
4533 2015-02-27 Pedro Alves <palves@redhat.com>
4534
4535 * lib/unbuffer_output.c: New file.
4536 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4537 (main): Call gdb_unbuffer_output.
4538
4539 2015-02-27 Yao Qi <yao.qi@linaro.org>
4540
4541 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4542 target.
4543
4544 2015-02-26 Doug Evans <dje@google.com>
4545
4546 * gdb.cp/class2.cc (Dbase, D): New classes.
4547 (main): New local delta.
4548 * gdb.cp/class2.exp: Test printing delta.
4549 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4550 (dynbar): New global.
4551 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4552
4553 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4554
4555 * gdb.compile/compile-ifunc.c: New file.
4556 * gdb.compile/compile-ifunc.exp: New file.
4557
4558 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4559
4560 * gdb.base/structs.exp: Check for correct struct on finish.
4561
4562 2015-02-26 Yao Qi <yao.qi@linaro.org>
4563
4564 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4565 is zero.
4566
4567 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4568
4569 * gdb.arch/cordic.ko.bz2: New file.
4570 * gdb.arch/cordic.ko.debug.bz2: New file.
4571 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4572
4573 2015-02-25 Yao Qi <yao.qi@linaro.org>
4574
4575 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4576 aarch64*-*-* target.
4577
4578 2015-02-23 Pedro Alves <palves@redhat.com>
4579
4580 * lib/gdb.exp (delete_breakpoints): Rewrite using
4581 gdb_test_multiple.
4582
4583 2015-02-23 Pedro Alves <palves@redhat.com>
4584
4585 * gdb.base/info-os.c: Include stdlib.h.
4586
4587 2015-02-22 Doug Evans <xdje42@gmail.com>
4588
4589 PR symtab/17855
4590 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4591 is read after symbols have been re-read.
4592 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4593 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4594
4595 2015-02-21 Doug Evans <dje@google.com>
4596
4597 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4598
4599 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4600
4601 PR corefiles/17808
4602 * gdb.arch/i386-biarch-core.core.bz2: New file.
4603 * gdb.arch/i386-biarch-core.exp: New file.
4604
4605 2015-02-21 Pedro Alves <palves@redhat.com>
4606
4607 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4608 runto_main fails.
4609
4610 2015-02-20 Pedro Alves <palves@redhat.com>
4611
4612 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4613 info probes.
4614
4615 2015-02-20 Pedro Alves <palves@redhat.com>
4616
4617 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4618
4619 2015-02-20 Pedro Alves <palves@redhat.com>
4620
4621 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4622 clean_restart before gdb_target_supports_trace.
4623
4624 2015-02-20 Pedro Alves <palves@redhat.com>
4625
4626 PR threads/18006
4627 * gdb.threads/clone-thread_db.c: New file.
4628 * gdb.threads/clone-thread_db.exp: New file.
4629
4630 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4631
4632 PR breakpoints/16812
4633 * gdb.base/catch-gdb-caused-signals.c: New file.
4634 * gdb.base/catch-gdb-caused-signals.exp: New file.
4635
4636 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4637
4638 * configure: Regenerated.
4639 * configure.ac: Use GDB_AC_TRANSFORM.
4640 * aclocal.m4: sinclude ../transform.m4.
4641
4642 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4643
4644 * lib/dtrace.exp: New file.
4645 * gdb.base/dtrace-probe.exp: Likewise.
4646 * gdb.base/dtrace-probe.d: Likewise.
4647 * gdb.base/dtrace-probe.c: Likewise.
4648 * lib/pdtrace.in: Likewise.
4649 * configure.ac: Output variables with the transformed names of
4650 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4651 * configure: Regenerated.
4652
4653 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4654
4655 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4656 expected message when trying to access $_probe_* convenience
4657 variables while not on a probe.
4658
4659 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4660
4661 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4662
4663 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4664
4665 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4666 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4667
4668 2015-02-10 Doug Evans <xdje42@gmail.com>
4669
4670 * lib/gdb.exp (gdb_load): Always return a result.
4671
4672 2015-02-10 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.threads/signal-sigtrap.c: New file.
4675 * gdb.threads/signal-sigtrap.exp: New file.
4676
4677 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4678
4679 * gdb.trace/no-attach-trace.c: New file.
4680 * gdb.trace/no-attach-trace.exp: New file.
4681
4682 2015-02-09 Mark Wielaard <mjw@redhat.com>
4683
4684 * gdb.dwarf2/atomic.c: New file.
4685 * gdb.dwarf2/atomic-type.exp: Likewise.
4686
4687 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4688
4689 * gdb.btrace/buffer-size.exp: Update "info record" output.
4690 * gdb.btrace/delta.exp: Update "info record" output.
4691 * gdb.btrace/enable.exp: Update "info record" output.
4692 * gdb.btrace/finish.exp: Update "info record" output.
4693 * gdb.btrace/instruction_history.exp: Update "info record" output.
4694 * gdb.btrace/next.exp: Update "info record" output.
4695 * gdb.btrace/nexti.exp: Update "info record" output.
4696 * gdb.btrace/step.exp: Update "info record" output.
4697 * gdb.btrace/stepi.exp: Update "info record" output.
4698 * gdb.btrace/nohist.exp: Update "info record" output.
4699
4700 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4701
4702 * gdb.btrace/buffer-size: New.
4703
4704 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4705
4706 * gdb.btrace/delta.exp: Update "info record" output.
4707 * gdb.btrace/enable.exp: Update "info record" output.
4708 * gdb.btrace/finish.exp: Update "info record" output.
4709 * gdb.btrace/instruction_history.exp: Update "info record" output.
4710 * gdb.btrace/next.exp: Update "info record" output.
4711 * gdb.btrace/nexti.exp: Update "info record" output.
4712 * gdb.btrace/step.exp: Update "info record" output.
4713 * gdb.btrace/stepi.exp: Update "info record" output.
4714 * gdb.btrace/nohist.exp: Update "info record" output.
4715
4716 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4717
4718 PR gdb/15678
4719 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4720
4721 2015-02-06 Pedro Alves <palves@redhat.com>
4722
4723 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4724 macro.
4725 (seconds_left, again): New globals.
4726 (main): Wait seconds_left in a 1-second sleep loop instead of
4727 sleeping 180 seconds. If 'again' is set, reset the seconds
4728 counter.
4729 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4730 'again' in the inferior before detaching. Print the seconds left.
4731 (options): New global.
4732 (top level): Build program with -DTIMEOUT=$timeout.
4733
4734 2015-02-06 Pedro Alves <palves@redhat.com>
4735
4736 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4737 determine how many seconds to pass to 'alarm'.
4738 * gdb.base/gdb-sigterm.exp (top level): Build program with
4739 -DTIMEOUT=$timeout.
4740 (do_test): Return success/failure indication. Add more verbose
4741 logging. Don't fail if 200 single steps are seen. Instead, fail
4742 when the test times out.
4743 (passes): New global.
4744 (top level): Break the testing loop if testing fails on any
4745 iteration. Use gdb_assert.
4746
4747 2015-02-04 Don Breazeal <donb@codesourcery.com>
4748
4749 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4750 and initialize them.
4751 (ipc_cleanup): New function.
4752 (main): Don't declare shmid, semid, and msqid. Add a call to
4753 atexit so that we call ipc_cleanup on exit.
4754
4755 2015-02-04 Pedro Alves <palves@redhat.com>
4756
4757 * boards/native-extended-gdbserver.exp: Remove any target variant
4758 specifications from the board name before clearing the isremote
4759 flag from board_info.
4760
4761 2015-01-31 Doug Evans <xdje42@gmail.com>
4762
4763 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4764
4765 2015-01-31 Gary Benson <gbenson@redhat.com>
4766
4767 * gdb.base/completion.exp: Disable completion limiting for
4768 existing tests. Add new tests to check completion limiting.
4769 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4770
4771 2015-01-31 Doug Evans <xdje42@gmail.com>
4772
4773 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4774
4775 2015-01-31 Doug Evans <xdje42@gmail.com>
4776
4777 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4778 entries. Duplicate file section script entries.
4779 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4780 inlined entries. Add test for safe-path rejection.
4781 * gdb.python/py-section-script.c: Add duplicate inlined section script
4782 entries. Duplicate file section script entries.
4783 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4784 inlined entries. Add test for safe-path rejection.
4785
4786 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4787
4788 * gdb.ada/disc_arr_bound: New testcase.
4789
4790 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4791
4792 * gdb.ada/mi_var_array: New testcase.
4793
4794 2015-01-27 Doug Evans <dje@google.com>
4795
4796 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4797 Add test for objfile.filename, objfile.username after objfile
4798 has been unloaded.
4799
4800 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4801
4802 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4803 the second test to print the name attribute of value
4804 returned by the call to gdb.lookup_type, and adjust
4805 the expected output accordingly.
4806
4807 2015-01-25 Mark Wielaard <mjw@redhat.com>
4808
4809 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4810 * gdb.base/disp-step-fork.c: Include unistd.h.
4811 * gdb.base/siginfo-obj.c: Include stdio.h.
4812 * gdb.base/siginfo-thread.c: Likewise.
4813 * gdb.mi/non-stop.c: Include unistd.h.
4814 * gdb.mi/nsthrexec.c: Include stdio.h.
4815 * gdb.mi/pthreads.c: Include unistd.h.
4816 * gdb.modula2/unbounded1.c (main): Declare returns int.
4817 * gdb.reverse/consecutive-reverse.c: Likewise.
4818 * gdb.threads/create-fail.c: Include unistd.h.
4819 * gdb.threads/killed.c: Likewise.
4820 * gdb.threads/linux-dp.c: Likewise.
4821 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4822 * gdb.threads/non-ldr-exc-2.c: Likewise.
4823 * gdb.threads/non-ldr-exc-3.c: Likewise.
4824 * gdb.threads/non-ldr-exc-4.c: Likewise.
4825 * gdb.threads/pthreads.c: Include unistd.h.
4826 (main): Declare returns int.
4827 * gdb.threads/tls-main.c (foo): New declaration.
4828 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4829
4830 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4831
4832 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4833 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4834
4835 2015-01-15 Mark Wielaard <mjw@redhat.com>
4836
4837 * gdb.base/noreturn-return.c: New file.
4838 * gdb.base/noreturn-return.exp: New file.
4839 * gdb.base/noreturn-finish.c: New file.
4840 * gdb.base/noreturn-finish.exp: New file.
4841
4842 2015-01-23 Pedro Alves <palves@redhat.com>
4843
4844 * gdb.threads/continue-pending-after-query.c: New file.
4845 * gdb.threads/continue-pending-after-query.exp: New file.
4846
4847 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4848 Simon Marchi <simon.marchi@ericsson.com>
4849
4850 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4851 * gdb.base/valgrind-db-attach.exp: Same.
4852 * gdb.base/valgrind-infcall.exp: Same.
4853 * lib/mi-support.exp (default_mi_gdb_start): Same.
4854 * lib/prompt.exp (default_prompt_gdb_start): Same.
4855 * lib/gdb.exp (default_gdb_spawn): Same.
4856 (gdb_interact): New.
4857
4858
4859 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4860
4861 * gdb.compile/compile.exp (pointer to jit function): New test.
4862
4863 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4864
4865 * lib/gdb.exp (supports_process_record): Return true for
4866 powerpc*-*-linux*.
4867 (supports_reverse): Likewise.
4868
4869 2015-01-15 Don Breazeal <donb@codesourcery.com>
4870
4871 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4872 instead of checking whether the target board is remote and
4873 use spawn_wait_for_attach instead of exec/sleep.
4874 * gdb.base/attach-twice.exp: Likewise.
4875
4876 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4877
4878 * gdb.ada/var_arr_attrs: New testcase.
4879
4880 2015-01-14 Pedro Alves <palves@redhat.com>
4881 Joel Brobecker <brobecker@adacore.com>
4882
4883 PR gdb/17525
4884 * gdb.base/bp-cmds-execution-x-script.c: New file.
4885 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4886 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4887
4888 2015-01-14 Pedro Alves <palves@redhat.com>
4889
4890 PR cli/17828
4891 * gdb.base/batch-preserve-term-settings.c: New file.
4892 * gdb.base/batch-preserve-term-settings.exp: New file.
4893
4894 2015-01-13 Doug Evans <dje@google.com>
4895
4896 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4897 binary.
4898
4899 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4900
4901 * Makefile.in (clean mostlyclean): Do not delete *.py.
4902
4903 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4904
4905 * gdb.python/py-lookup-type.exp: New file.
4906
4907 2015-01-12 Pedro Alves <palves@redhat.com>
4908
4909 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4910 restore GDBFLAGS before returning.
4911
4912 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4913
4914 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4915 is_amd64_regs_target and is_x86_like_target.
4916
4917 2015-01-11 Doug Evans <xdje42@gmail.com>
4918
4919 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4920 is given without an explicit form.
4921 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4922 attributes.
4923 * gdb.dwarf/corrupt.exp: Ditto.
4924 * gdb.dwarf2/enum-type.exp: Ditto.
4925 * gdb.trace/entry-values.exp: Ditto.
4926 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4927
4928 2015-01-11 Doug Evans <xdje42@gmail.com>
4929
4930 PR gdb/15830
4931 * gdb.base/maint.exp: Remove references to "maint demangle".
4932 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4933 Add tests for explicitly specifying language to demangle.
4934 * gdb.dlang/demangle.exp: Ditto.
4935
4936 2015-01-09 Pedro Alves <palves@redhat.com>
4937
4938 * gdb.threads/non-stop-fair-events.c: New file.
4939 * gdb.threads/non-stop-fair-events.exp: New file.
4940
4941 2015-01-09 Pedro Alves <palves@redhat.com>
4942
4943 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4944 the global scope. Set a breakpoint after all threads are started
4945 rather than stepping over two source lines. Expect the prompt.
4946 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4947 global.
4948 (NUM): Now 15.
4949 (main): Use threads_started_barrier to wait for all threads to
4950 start. Main thread no longer calls thread_function. Exit after
4951 180 seconds.
4952 (loop): New function.
4953 (thread_function): Wait on threads_started_barrier barrier. Call
4954 'loop' at each iteration.
4955 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4956 threads have started, instead of hardcoding number of "next"
4957 steps. Use an access watchpoint instead of a write watchpoint.
4958
4959 2015-01-09 Pedro Alves <palves@redhat.com>
4960
4961 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4962 (thread_func): Wait on barrier.
4963 (main): Wait for all threads to start before stopping GDB.
4964 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4965 global.
4966 (thread1_func, thread2_func): Wait on barrier.
4967 (main): Wait for all threads to start before stopping GDB.
4968 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4969 New global.
4970 (thread1_func, thread2_func): Wait on barrier.
4971 (main): Wait for all threads to start before stopping GDB.
4972
4973 2015-01-09 Pedro Alves <palves@redhat.com>
4974
4975 * gdb.threads/attach-many-short-lived-threads.c: New file.
4976 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4977
4978 2014-01-09 Pedro Alves <palves@redhat.com>
4979
4980 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4981 instead of to thread 2.
4982 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4983 Add barrier around each pthread_create call instead of around all
4984 calls.
4985 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4986 Set a break on thread_function and have the child threads hit it
4987 one at at a time.
4988
4989 2015-01-09 Pedro Alves <palves@redhat.com>
4990
4991 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4992 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4993 false.
4994 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4995 checking whether the target board is remote.
4996 * gdb.multi/multi-attach.exp: Likewise.
4997 * gdb.python/py-sync-interp.exp: Likewise.
4998 * gdb.server/ext-attach.exp: Likewise.
4999 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5000 tests that need to attach, instead of checking whether the target
5001 board is remote at the top of the file.
5002
5003 2015-01-08 Yao Qi <yao@codesourcery.com>
5004
5005 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5006
5007 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5008
5009 Fix testcase compilation.
5010 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5011
5012 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5013
5014 * gdb.python/py-type.exp: Add a couple test about empty
5015 array creation, and negative-length array creation.
5016
5017 2015-01-02 Doug Evans <xdje42@gmail.com>
5018
5019 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5020
5021 2015-01-02 Doug Evans <dje@google.com>
5022
5023 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5024
5025 2014-12-29 Yao Qi <yao@codesourcery.com>
5026
5027 * gdb.trace/entry-values.exp: Update comments. Rename variable
5028 bar_call_foo to returned_from_foo.
5029
5030 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5031
5032 PR gdb/17394
5033 * gdb.linespec/break-asm-file.c: New file.
5034 * gdb.linespec/break-asm-file.exp: New file.
5035 * gdb.linespec/break-asm-file0.s: New file.
5036 * gdb.linespec/break-asm-file1.s: New file.
5037
5038 2014-12-18 Nigel Stephens <nigel@mips.com>
5039 Maciej W. Rozycki <macro@codesourcery.com>
5040
5041 * gdb.base/float.exp: Handle the new output from "info float" on
5042 MIPS targets.
5043
5044 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5045
5046 Fix MinGW compilation.
5047 * gdb.compile/compile-ops.exp: Update untested message if
5048 !skip_compile_feature_tests.
5049 * gdb.compile/compile-setjmp.exp: Likewise.
5050 * gdb.compile/compile-tls.exp: Likewise.
5051 * gdb.compile/compile.exp: Likewise.
5052 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5053 supported on this host".
5054
5055 2014-12-16 Doug Evans <xdje42@gmail.com>
5056
5057 * boards/stabs.exp: New file.
5058
5059 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5060
5061 * gdb.base/completion.exp: Adjust to format changes of "maint
5062 print user-registers".
5063
5064 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5065
5066 PR server/17457
5067 * gdb.arch/aarch64-fp.c: New file.
5068 * gdb.arch/aarch64-fp.exp: New file.
5069
5070 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5071
5072 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5073 r210637, r210913, r211666, r215400, r215817).
5074
5075 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5076 * dg-extract-results.py: New file.
5077 * dg-extract-results.sh: Use it if the environment seems
5078 suitable.
5079
5080 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5081
5082 * dg-extract-results.py (parse_run): Handle warnings that
5083 are printed before a test harness is run.
5084
5085 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5086
5087 * dg-extract-results.py (Named): Remove __cmp__ method.
5088 (output_variation): Use a key to sort variation.harnesses.
5089
5090 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5091
5092 * dg-extract-results.py: For Python 3, force sys.stdout to
5093 handle surrogate escape sequences.
5094 (safe_open): New function.
5095 (output_segment, main): Use it.
5096
5097 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5098
5099 * dg-extract-results.py (Prog.result_re): Include options
5100 in test name.
5101
5102 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5103
5104 * dg-extract-results.py (output_variation): Always sort if
5105 do_sum.
5106
5107 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5108
5109 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5110 as long as we get pagination notifications.
5111
5112 2014-12-15 Jason Merrill <jason@redhat.com>
5113
5114 * Makefile.in (check-gdb.%): Restore.
5115 * README: Mention it.
5116
5117 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5118
5119 * gdb.ada/str_uninit: New testcase.
5120
5121 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5122
5123 PR symtab/17642
5124 * gdb.base/vla-stub-define.c: New file.
5125 * gdb.base/vla-stub.c: New file.
5126 * gdb.base/vla-stub.exp: New file.
5127
5128 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5129 Jan Kratochvil <jan.kratochvil@redhat.com>
5130 Tom Tromey <tromey@redhat.com>
5131
5132 * configure.ac: Add gdb.compile/.
5133 * configure: Regenerate.
5134 * gdb.compile/Makefile.in: New file.
5135 * gdb.compile/compile-ops.exp: New file.
5136 * gdb.compile/compile-ops.c: New file.
5137 * gdb.compile/compile-tls.c: New file.
5138 * gdb.compile/compile-tls.exp: New file.
5139 * gdb.compile/compile-constvar.S: New file.
5140 * gdb.compile/compile-constvar.c: New file.
5141 * gdb.compile/compile-mod.c: New file.
5142 * gdb.compile/compile-nodebug.c: New file.
5143 * gdb.compile/compile-setjmp-mod.c: New file.
5144 * gdb.compile/compile-setjmp.c: New file.
5145 * gdb.compile/compile-setjmp.exp: New file.
5146 * gdb.compile/compile-shlib.c: New file.
5147 * gdb.compile/compile.c: New file.
5148 * gdb.compile/compile.exp: New file.
5149 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5150
5151 2014-12-12 Tom Tromey <tromey@redhat.com>
5152
5153 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5154 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5155
5156 2014-12-12 Doug Evans <dje@google.com>
5157
5158 * lib/gdb-python.exp (get_python_valueof): New function.
5159 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5160
5161 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5162
5163 * gdb.base/completion.exp: Add test for completion of "info
5164 registers ".
5165
5166 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5167
5168 * gdb.base/func-ptrs.c: New file.
5169 * gdb.base/func-ptrs.exp: New file.
5170
5171 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5172
5173 PR breakpoints/17012
5174 * gdb.base/dprintf-detach.c: New file.
5175 * gdb.base/dprintf-detach.exp: New file.
5176
5177 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5178
5179 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5180 * lib/gdb.exp (target_is_gdbserver): New procedure.
5181
5182 2014-12-08 Doug Evans <dje@google.com>
5183
5184 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5185
5186 2014-12-05 Yao Qi <yao@codesourcery.com>
5187
5188 * gdb.guile/scm-error.exp: Remove the third argument to
5189 gdb_remote_download.
5190 * gdb.guile/scm-frame-args.exp: Likewise.
5191 * gdb.guile/scm-section-script.exp: Likewise.
5192
5193 2014-12-05 Yao Qi <yao@codesourcery.com>
5194
5195 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5196
5197 2014-12-04 Doug Evans <dje@google.com>
5198
5199 * gdb.python/py-objfile.exp: Add tests for
5200 objfile.add_separate_debug_file.
5201
5202 2014-12-04 Doug Evans <dje@google.com>
5203
5204 * lib/gdb.exp (get_build_id): New function.
5205 (build_id_debug_filename_get): Rewrite to use it.
5206 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5207
5208 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5209
5210 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5211 `method(long)', not just 0x0.
5212 * gdb.cp/nsalias.exp: Align code labels to 4.
5213 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5214 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5215 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5216 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5217 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5218 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5219
5220 2014-12-02 Doug Evans <dje@google.com>
5221
5222 PR symtab/17602
5223 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5224 * gdb.cp/anon-ns2.cc: ... here. New file.
5225 * gdb.cp/anon-ns.exp: Update.
5226
5227 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5228
5229 * gdb.python/py-events.py (inferior_call_handler): New.
5230 (register_changed_handler, memory_changed_handler): New.
5231 (test_events.invoke): Register new handlers.
5232 * gdb.python/py-events.exp: Add tests for inferior call,
5233 memory_changed and register_changed events.
5234
5235 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5236
5237 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5238 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5239 if the linker doesn't understand this.
5240
5241 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5242
5243 * gdb.python/python.exp: Change expected reply to help().
5244
5245 2014-12-01 Yao Qi <yao@codesourcery.com>
5246
5247 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5248 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5249 * configure: Re-generated.
5250
5251 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5252
5253 * gdb.cp/chained-calls.cc: New file.
5254 * gdb.cp/chained-calls.exp: New file.
5255 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5256
5257 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5258
5259 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5260 * gdb.dwarf2/symtab-producer.exp: Same.
5261 * gdb.gdb/python-interrupts.exp: Same.
5262 * gdb.gdb/python-selftest.exp: Same.
5263 * gdb.python/py-linetable.exp: Same.
5264 * gdb.python/py-type.exp: Same.
5265 * gdb.python/py-value-cc.exp: Same.
5266 * gdb.python/py-value.exp: Same.
5267
5268 2014-11-28 Yao Qi <yao@codesourcery.com>
5269
5270 * gdb.base/break-probes.exp: Match library name prefixed with
5271 sysroot.
5272
5273 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5274
5275 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5276 test expected output. Add parentheses for the call to print.
5277 Remove L suffix from integers.
5278
5279 2014-11-26 Doug Evans <dje@google.com>
5280
5281 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5282
5283 2014-11-22 Yao Qi <yao@codesourcery.com>
5284
5285 * gdb.trace/entry-values.c: Remove asms.
5286 (foo): Add foo_label.
5287 (bar): Add bar_label.
5288 * gdb.trace/entry-values.exp: Remove code computing foo's
5289 length and bar's length.
5290 (Dwarf::assemble): Invoke function_range for bar and use
5291 MACRO_AT_func for foo.
5292
5293 2014-11-22 Yao Qi <yao@codesourcery.com>
5294
5295 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5296 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5297 Use .Lgcc43_procstart instead of gcc43.
5298
5299 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5300
5301 * gdb.ada/n_arr_bound: New testcase.
5302
5303 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5304
5305 PR breakpoints/10737
5306 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5307 test_catch_syscall_multi_arch.
5308 (test_catch_syscall_multi_arch): New function.
5309
5310 2014-11-20 Doug Evans <xdje42@gmail.com>
5311
5312 * gdb.base/maint.exp: Update expected output.
5313
5314 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5315
5316 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5317 4-byte instruction on S390.
5318
5319 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5320
5321 * gdb.ada/arr_arr: New testcase.
5322
5323 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5324
5325 * gdb.ada/pkd_arr_elem: New Testcase.
5326
5327 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5328
5329 * gdb.reverse/break-precsave: Expect completion message for
5330 core file reads.
5331 * gdb.reverse/consecutive-precsave.exp: Likewise.
5332 * gdb.reverse/finish-precsave.exp: Likewise.
5333 * gdb.reverse/i386-precsave.exp: Likewise.
5334 * gdb.reverse/machinestate-precsave.exp: Likewise.
5335 * gdb.reverse/sigall-precsave.exp: Likewise.
5336 * gdb.reverse/solib-precsave.exp: Likewise.
5337 * gdb.reverse/step-precsave.exp: Likewise.
5338 * gdb.reverse/until-precsave.exp: Likewise.
5339 * gdb.reverse/watch-precsave.exp: Likewise.
5340
5341 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5342
5343 * gdb.base/bp-permanent.c: Include unistd.h.
5344 * gdb.python/py-framefilter-mi.c (main): Add return type.
5345 * gdb.python/py-framefilter.c (main): Likewise.
5346 * gdb.trace/actions-changed.c (main): Likewise.
5347
5348 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5349
5350 * gdb.mi/until.c: Add eye-catchers.
5351 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5352 line numbers.
5353
5354 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5355
5356 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5357 function header variants in break1.c.
5358 * gdb.base/ena-dis-br.exp: Likewise.
5359 * gdb.base/hbreak2.exp: Likewise.
5360 * gdb.reverse/until-precsave.exp: Drop references to removed
5361 non-prototype function header variants in ur1.c.
5362 * gdb.reverse/until-reverse.exp: Likewise.
5363
5364 2014-11-17 Petr Machata <pmachata@redhat.com>
5365
5366 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5367 ${_cu_offset_size} bytes abbrev offset.
5368
5369 2014-11-15 Doug Evans <xdje42@gmail.com>
5370
5371 PR symtab/17559
5372 * gdb.base/line-symtabs.exp: New file.
5373 * gdb.base/line-symtabs.c: New file.
5374 * gdb.base/line-symtabs.h: New file.
5375
5376 2014-11-14 Yao Qi <yao@codesourcery.com>
5377
5378 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5379 (func): Add label func_label.
5380 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5381 Replace low_pc and high_pc with MACRO_AT_range.
5382 Replace name, low_pc and high_pc with MACRO_AT_func.
5383
5384 2014-11-14 Yao Qi <yao@codesourcery.com>
5385
5386 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5387 Replace name, low_pc and high_pc with MACRO_AT_func.
5388
5389 2014-11-14 Yao Qi <yao@codesourcery.com>
5390
5391 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5392 produce debug information.
5393 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5394
5395 2014-11-14 Yao Qi <yao@codesourcery.com>
5396
5397 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5398 object and get function length.
5399 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5400 with MACRO_AT_func.
5401 (top-level): Replace gdb_compile and clean_restart with
5402 prepare_for_testing.
5403 * gdb.dwarf2/main.c (main): Add label main_label.
5404
5405 2014-11-14 Yao Qi <yao@codesourcery.com>
5406
5407 * lib/dwarf.exp (function_range): New procedure.
5408 (Dwarf::_handle_macro_at_func): New procedure.
5409 (Dwarf::_handle_macro_at_range): New procedure.
5410 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5411
5412 2014-11-14 Yao Qi <yao@codesourcery.com>
5413
5414 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5415 (_handle_attribute): New procedure.
5416
5417 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5418
5419 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5420 * gdb.base/call-sc.c (zed): Likewise.
5421 * gdb.base/checkpoint.c (main): Likewise.
5422 * gdb.base/dump.c (main): Likewise.
5423 * gdb.base/gcore.c (main): Likewise.
5424 * gdb.base/huge.c (main): Likewise.
5425 * gdb.base/multi-forks.c (main): Likewise.
5426 * gdb.base/pr10179-a.c (main): Likewise.
5427 * gdb.base/savedregs.c (main): Likewise.
5428 * gdb.base/sigaltstack.c (main): Likewise.
5429 * gdb.base/siginfo.c (main): Likewise.
5430 * gdb.base/structs.c (zed): Likewise.
5431 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5432 * gdb.mi/mi-syn-frame.c (main): Likewise.
5433 * gdb.mi/until.c (foo, main): Likewise.
5434 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5435 * gdb.base/solib-weak.c (foo): Declare.
5436 * gdb.base/attach-twice.c: Include stdio.h.
5437 * gdb.base/weaklib1.c: Likewise.
5438 * gdb.base/weaklib2.c: Likewise.
5439 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5440 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5441 unistd.h.
5442 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5443 * gdb.mi/mi-exit-code.c: Likewise.
5444 * gdb.base/break-interp-lib.c: Include string.h.
5445 * gdb.base/coremaker.c: Likewise.
5446 * gdb.base/testenv.c: Likewise.
5447 * gdb.python/py-finish-breakpoint.c: Likewise.
5448 * gdb.base/inferior-died.c: Include sys/wait.h.
5449 * gdb.base/fileio.c: Include time.h.
5450 * gdb.base/async-shell.c: Include unistd.h.
5451 * gdb.base/dprintf-non-stop.c: Likewise.
5452 * gdb.base/info-os.c: Likewise.
5453 * gdb.mi/mi-console.c: Likewise.
5454 * gdb.mi/watch-nonstop.c: Likewise.
5455 * gdb.python/py-events.c: Likewise.
5456 * gdb.base/async.c (baz): Move up before its invocation.
5457 * gdb.base/code_elim2.c (my_global_func): Likewise.
5458 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5459 * gdb.base/advance.c (func2): Likewise.
5460
5461 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5462
5463 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5464 variant.
5465 * gdb.base/annota3.c: Likewise.
5466 * gdb.base/async.c: Likewise.
5467 * gdb.base/average.c: Likewise.
5468 * gdb.base/call-ar-st.c: Likewise.
5469 * gdb.base/call-rt-st.c: Likewise.
5470 * gdb.base/call-sc.c: Likewise.
5471 * gdb.base/call-strs.c: Likewise.
5472 * gdb.base/ending-run.c: Likewise.
5473 * gdb.base/execd-prog.c: Likewise.
5474 * gdb.base/exprs.c: Likewise.
5475 * gdb.base/foll-exec.c: Likewise.
5476 * gdb.base/foll-fork.c: Likewise.
5477 * gdb.base/foll-vfork.c: Likewise.
5478 * gdb.base/funcargs.c: Likewise.
5479 * gdb.base/gcore.c: Likewise.
5480 * gdb.base/jump.c: Likewise.
5481 * gdb.base/langs0.c: Likewise.
5482 * gdb.base/langs1.c: Likewise.
5483 * gdb.base/langs2.c: Likewise.
5484 * gdb.base/mips_pro.c: Likewise.
5485 * gdb.base/nodebug.c: Likewise.
5486 * gdb.base/opaque0.c: Likewise.
5487 * gdb.base/opaque1.c: Likewise.
5488 * gdb.base/recurse.c: Likewise.
5489 * gdb.base/run.c: Likewise.
5490 * gdb.base/scope0.c: Likewise.
5491 * gdb.base/scope1.c: Likewise.
5492 * gdb.base/setshow.c: Likewise.
5493 * gdb.base/setvar.c: Likewise.
5494 * gdb.base/shmain.c: Likewise.
5495 * gdb.base/shr1.c: Likewise.
5496 * gdb.base/shr2.c: Likewise.
5497 * gdb.base/sigall.c: Likewise.
5498 * gdb.base/signals.c: Likewise.
5499 * gdb.base/so-indr-cl.c: Likewise.
5500 * gdb.base/solib2.c: Likewise.
5501 * gdb.base/structs.c: Likewise.
5502 * gdb.base/sum.c: Likewise.
5503 * gdb.base/vforked-prog.c: Likewise.
5504 * gdb.base/watchpoint.c: Likewise.
5505 * gdb.reverse/shr2.c: Likewise.
5506 * gdb.reverse/until-reverse.c: Likewise.
5507 * gdb.reverse/ur1.c: Likewise.
5508 * gdb.reverse/watch-reverse.c: Likewise.
5509
5510 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5511
5512 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5513 variant.
5514 * gdb.base/sepdebug.exp: Drop references to removed code.
5515
5516 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5517
5518 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5519 variant. Preserve original line numbering.
5520 * gdb.base/list1.c: Likewise.
5521
5522 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5523
5524 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5525 variant.
5526 * gdb.base/break1.c: Likewise.
5527 * gdb.base/break.exp: Drop references to removed code.
5528
5529 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5530
5531 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5532 variant.
5533
5534 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5535
5536 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5537
5538 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5539
5540 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5541 logic into perform_all_tests() and invoke it with and without
5542 function header prototypes.
5543 (do_function_calls): Remove conditional XFAIL for PR 5318.
5544 (rerun_and_prepare): Remove duplicate code.
5545 (perform_all_tests): New. Main logic moved here.
5546
5547 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5548
5549 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5550 code guarded by #ifdef NO_PROTOTYPES.
5551 (t_double_many_args): Likewise.
5552 (DEF_FUNC_MANY_ARGS_1): Likewise.
5553 (DEF_FUNC_VALUES_1): Likewise.
5554 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5555 guarded by #ifdef PROTOTYPES.
5556
5557 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5558
5559 * gdb.mi/mi-console.c: Add eye-catcher.
5560 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5561 instead of literal line number.
5562
5563 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5564
5565 * gdb.base/shr2.c: Add eye-catcher.
5566 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5567 line number.
5568
5569 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5570
5571 * gdb.base/jump.c: Add eye-catchers.
5572 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5573 numbers.
5574
5575 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5576
5577 * gdb.base/execd-prog.c: Add eye-catchers.
5578 * gdb.base/foll-exec.c: Likewise.
5579 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5580 line numbers.
5581
5582 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5583
5584 * gdb.base/ending-run.c: Add eye-catchers.
5585 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5586 literal line numbers.
5587
5588 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5589
5590 * gdb.base/call-rt-st.c: Add eye-catchers.
5591 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5592 literal line numbers.
5593
5594 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5595
5596 * gdb.base/call-ar-st.c: Add eye-catchers.
5597 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5598 literal line numbers.
5599
5600 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5601
5602 * gdb.base/average.c: Add eye-catchers.
5603 * gdb.base/sum.c: Likewise.
5604 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5605 regexps dynamically.
5606
5607 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5608
5609 * gdb.base/solib1.c: Add eye-catchers.
5610 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5611 literal line numbers.
5612
5613 2014-11-12 Pedro Alves <palves@redhat.com>
5614
5615 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5616 leader has exited.
5617
5618 2014-11-12 Pedro Alves <palves@redhat.com>
5619
5620 * gdb.arch/i386-bp_permanent.c: New file.
5621 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5622 (srcfile): Set to i386-bp_permanent.c.
5623 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5624 that stepi does not execute the 'leave' instruction, instead of
5625 testing it does execute.
5626 * gdb.base/bp-permanent.c: New file.
5627 * gdb.base/bp-permanent.exp: New file.
5628
5629 2014-11-10 Doug Evans <xdje42@gmail.com>
5630
5631 PR symtab/17564
5632 * gdb.base/symtab-search-order.exp: New file.
5633 * gdb.base/symtab-search-order.c: New file.
5634 * gdb.base/symtab-search-order-1.c: New file.
5635 * gdb.base/symtab-search-order-shlib-1.c: New file.
5636
5637 2014-11-07 Pedro Alves <palves@redhat.com>
5638
5639 PR gdb/17511
5640 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5641 i?86-*-linux*.
5642
5643 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5644
5645 PR c++/17494
5646 * gdb.cp/pr17494.cc: New file.
5647 * gdb.cp/pr17494.exp: New file.
5648
5649 2014-11-02 Yao Qi <yao@codesourcery.com>
5650
5651 * gdb.python/python.exp: Get working directory and match the
5652 output of "set extended-prompt \\w " with it.
5653
5654 2014-10-30 Doug Evans <dje@google.com>
5655
5656 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5657 in objfiles.
5658 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5659 in progspaces.
5660
5661 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5662
5663 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5664 * gdb.base/realname-expand.exp: Likewise.
5665 * gdb.linespec/macro-relative.exp: Likewise.
5666
5667 2014-10-29 Pedro Alves <palves@redhat.com>
5668
5669 PR gdb/17408
5670 * gdb.threads/schedlock.c (some_function): New function.
5671 (call_function): New global.
5672 (MAYBE_CALL_SOME_FUNCTION): New macro.
5673 (thread_function): Call it.
5674 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5675 and use it instead of a global counter. Adjust all callers.
5676 (get_current_thread): Use "find current thread" for test message
5677 here rather than having all callers pass down the same string.
5678 (goto_loop): New procedure, factored out from ...
5679 (my_continue): ... this.
5680 (step_ten_loops): Change parameter from test message to command to
5681 use. Adjust.
5682 (list_count): Delete global.
5683 (check_result): New procedure, factored out from duplicate top
5684 level code.
5685 (continue tests): Wrap in with_test_prefix.
5686 (test_step): New procedure, factored out from duplicate top level
5687 code.
5688 (top level): Test "step" in combination with all scheduler-locking
5689 modes. Test "next" in combination with all scheduler-locking
5690 modes, and in combination with stepping over a function call or
5691 not.
5692 * gdb.threads/next-bp-other-thread.c: New file.
5693 * gdb.threads/next-bp-other-thread.exp: New file.
5694
5695 2014-10-29 Pedro Alves <palves@redhat.com>
5696
5697 PR python/17372
5698 * gdb.python/python.exp: Test a multi-line command that spawns
5699 interactive Python.
5700 * gdb.base/multi-line-starts-subshell.exp: New file.
5701
5702 2014-10-29 Yao Qi <yao@codesourcery.com>
5703
5704 * gdb.base/fileio.exp: Make directories on host.
5705
5706 2014-10-29 Yao Qi <yao@codesourcery.com>
5707
5708 * gdb.base/fileio.c (test_write): Close the file.
5709
5710 2014-10-28 Pedro Alves <palves@redhat.com>
5711
5712 PR gdb/12623
5713 * gdb.base/sigstep.c (no_handler): New global.
5714 (main): If 'no_handler is true, set the signal handlers to
5715 SIG_IGN.
5716 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5717 with_sw_watch and no_handler parameters. Handle them.
5718 (top level) <stepping over handler when stopped at a breakpoint
5719 test>: Add a test axis for testing with a software watchpoint, and
5720 another for testing with the signal handler set to SIG_IGN.
5721 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5722 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5723
5724 2014-10-28 Pedro Alves <palves@redhat.com>
5725
5726 PR gdb/17511
5727 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5728 * gdb.base/sigstep.exp (other_handler_location): New global.
5729 (advance): Support stepping into the signal handler, and running
5730 commands while in the handler.
5731 (in_handler_map): New global.
5732 (top level): In the advance test, add combinations for getting
5733 into the handler with stepping commands, and for running commands
5734 in the handler. Add comment descripting the advancei tests.
5735
5736 2014-10-28 Pedro Alves <palves@redhat.com>
5737
5738 * gdb.base/sigstep.exp: Use build_executable instead of
5739 prepare_for_testing.
5740 (top level): Move code that starts GDB, runs to main and creates a
5741 display to ...
5742 (restart): ... this new procedure.
5743 (top level): Move backtrace from signal handler test to ...
5744 (validate_backtrace): ... this new procedure.
5745 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5746 with_test_prefix. Always restart GDB.
5747 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5748 with_test_prefix. Always restart GDB. No need to delete
5749 breakpoints after the test.
5750 (test_skip_handler): Remove prefix parameter.
5751 (skip_over_handler, breakpoint_to_handler)
5752 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5753 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5754 restart GDB. No need to delete breakpoints after the test.
5755 (top level): Use foreach to call the test procedures with
5756 different commands.
5757
5758 2014-10-28 Pedro Alves <palves@redhat.com>
5759
5760 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5761 instead of GNATS numbers.
5762 * gdb.base/sigbpt.exp: Likewise.
5763 * gdb.base/siginfo.exp: Likewise.
5764 * gdb.base/sigstep.exp: Likewise.
5765
5766 2014-10-27 Pedro Alves <palves@redhat.com>
5767
5768 * gdb.base/sigstep.c (dummy): New global.
5769 (main): Issue a couple writes to the new global.
5770 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5771 procedures.
5772 (skip_over_handler): Use test_skip_handler.
5773 (top level): Call skip_over_handler for stepi and nexti too.
5774 (breakpoint_over_handler): Use test_skip_handler.
5775 (top level): Call breakpoint_over_handler for stepi and nexti too.
5776
5777 2014-10-27 Yao Qi <yao@codesourcery.com>
5778
5779 * gdb.trace/tfile.c (adjust_function_address)
5780 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5781 function descriptor.
5782
5783 2014-10-24 Don Breazeal <donb@codesourcery.com>
5784
5785 * gdb.base/foll-fork.exp (test_follow_fork,
5786 catch_fork_child_follow): Check for updated fork messages emitted
5787 from infrun.c.
5788 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5789 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5790 vfork_and_exec_child_follow_through_step): Check for updated vfork
5791 messages emitted from infrun.c.
5792
5793 2014-10-24 Pedro Alves <palves@redhat.com>
5794
5795 * gdb.base/corefile.exp: Remove references to ultrix.
5796 * gdb.base/interrupt.exp: Likewise.
5797 * gdb.base/whatis.exp: Likewise.
5798 * gdb.gdb/selftest.exp: Likewise.
5799 * gdb.threads/manythreads.exp: Likewise.
5800 * gdb.threads/print-threads.exp: Likewise.
5801 * gdb.threads/pthreads.exp:: Likewise.
5802 * gdb.threads/schedlock.exp: Likewise.
5803
5804 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5805
5806 * gdb.cp/non-trivial-retval.cc: Add a test case.
5807 * gdb.cp/non-trivial-retval.exp: Add a test.
5808
5809 2014-10-20 Yao Qi <yao@codesourcery.com>
5810
5811 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5812 * gdb.python/py-objfile-script-gdb.py: New file.
5813 * gdb.python/py-objfile-script.exp: Update reference to
5814 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5815 of remote_download. Remove the dest file.
5816
5817 2014-10-20 Yao Qi <yao@codesourcery.com>
5818
5819 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5820 * gdb.base/step-line.exp: Likewise.
5821 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5822 * gdb.dwarf2/dw2-basic.exp: Likewise.
5823 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5824 * gdb.dwarf2/dw2-filename.exp: Likewise.
5825 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5826 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5827 * gdb.dwarf2/dw2-producer.exp: Likewise.
5828 * gdb.dwarf2/mac-fileno.exp: Likewise.
5829 * gdb.python/py-frame-args.exp: Likewise.
5830 * gdb.python/py-framefilter.exp: Likewise.
5831 * gdb.python/py-mi.exp: Likewise.
5832 * gdb.python/py-objfile-script.exp: Likewise
5833 * gdb.python/py-pp-integral.exp: Likewise.
5834 * gdb.python/py-pp-re-notag.exp: Likewise.
5835 * gdb.python/py-prettyprint.exp: Likewise.
5836 * gdb.python/py-section-script.exp: Likewise.
5837 * gdb.python/py-typeprint.exp: Likewise.
5838 * gdb.python/py-xmethods.exp: Likewise.
5839 * gdb.stabs/weird.exp: Likewise.
5840 * gdb.xml/tdesc-regs.exp: Likewise.
5841
5842 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5843
5844 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5845 (out_cu): Use addr_len for the size of addresses.
5846 (out_line): Likewise. Size DW_LNE_set_address instruction
5847 according to addr_len.
5848 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5849 (FUNC): Add START_INSNS to definition.
5850
5851 2014-10-18 Yao Qi <yao@codesourcery.com>
5852
5853 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5854 gdb_has_argv0 return true.
5855 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5856 check [target_info exists noargs], check [gdb_has_argv0]
5857 instead.
5858 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5859 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5860 procedures.
5861
5862 2014-10-17 Doug Evans <dje@google.com>
5863
5864 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5865 event.
5866 * gdb.python/py-events.py: Add clear_objfiles event.
5867
5868 2014-10-17 Doug Evans <dje@google.com>
5869
5870 * gdb.python/py-objfile.exp: Test progspace attribute.
5871
5872 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5873
5874 * gdb.guile/scm-breakpoint.exp: Do not assume any
5875 directory separators when matching source file paths.
5876 * gdb.python/py-breakpoint.exp: Likewise.
5877 * gdb.reverse/break-precsave.exp: Likewise.
5878 * gdb.reverse/break-reverse.exp: Likewise.
5879 * gdb.reverse/consecutive-precsave.exp: Likewise.
5880 * gdb.reverse/finish-precsave.exp: Likewise.
5881 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5882 * gdb.reverse/finish-reverse.exp: Likewise.
5883 * gdb.reverse/i386-precsave.exp: Likewise.
5884 * gdb.reverse/i387-env-reverse.exp: Likewise.
5885 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5886 * gdb.reverse/machinestate-precsave.exp: Likewise.
5887 * gdb.reverse/machinestate.exp: Likewise.
5888 * gdb.reverse/sigall-precsave.exp: Likewise.
5889 * gdb.reverse/solib-precsave.exp: Likewise.
5890 * gdb.reverse/step-precsave.exp: Likewise.
5891 * gdb.reverse/until-precsave.exp: Likewise.
5892 * gdb.reverse/watch-precsave.exp: Likewise.
5893 * gdb.reverse/watch-reverse.exp: Likewise.
5894
5895 2014-10-17 Yao Qi <yao@codesourcery.com>
5896
5897 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5898 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5899
5900 2014-10-17 Pedro Alves <palves@redhat.com>
5901
5902 PR gdb/17471
5903 * gdb.base/bg-execution-repeat.c: New file.
5904 * gdb.base/bg-execution-repeat.exp: New file.
5905
5906 2014-10-17 Pedro Alves <palves@redhat.com>
5907
5908 PR gdb/17300
5909 * gdb.base/continue-all-already-running.c: New file.
5910 * gdb.base/continue-all-already-running.exp: New file.
5911
5912 2014-10-17 Pedro Alves <palves@redhat.com>
5913
5914 PR gdb/17472
5915 * gdb.base/annota-input-while-running.c: New file.
5916 * gdb.base/annota-input-while-running.exp: New file.
5917
5918 2014-10-17 Pedro Alves <palves@redhat.com>
5919
5920 * gdb.base/callfuncs.exp: emove references to osf.
5921 * gdb.base/sigall.exp: Likewise.
5922 * gdb.gdb/selftest.exp: Likewise.
5923 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5924 * gdb.mi/non-stop.c: Likewise.
5925 * gdb.mi/pthreads.c: Likewise.
5926 * gdb.reverse/sigall-precsave.exp: Likewise.
5927 * gdb.reverse/sigall-reverse.exp: Likewise.
5928 * gdb.threads/pthreads.c: Likewise.
5929 * gdb.threads/pthreads.exp: Likewise.
5930
5931 2014-10-17 Yao Qi <yao@codesourcery.com>
5932
5933 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5934 check 'target_info exists noargs'.
5935 (test_command_prompt_position): Likewise.
5936 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5937 Remove "set args".
5938 (progvar_simple_while_test): Likewise.
5939 (progvar_complex_if_while_test): Likewise.
5940 (if_while_breakpoint_command_test): Likewise.
5941 (infrun_breakpoint_command_test): Likewise.
5942 (breakpoint_command_test): Likewise.
5943 (watchpoint_command_test): Likewise.
5944 (bp_deleted_in_command_test): Likewise.
5945 (temporary_breakpoint_commands): Likewise.
5946
5947 2014-10-16 Yao Qi <yao@codesourcery.com>
5948
5949 * gdb.base/remotetimeout.exp: Remove noargs checking.
5950
5951 2014-10-15 Pedro Alves <palves@redhat.com>
5952
5953 PR breakpoints/9649
5954 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5955 * gdb.base/breakpoint-in-ro-region.exp
5956 (probe_target_hardware_step): New procedure.
5957 (top level): Probe hardware stepping and hardware breakpoint
5958 support. Test stepping through a read-only region, with both
5959 "breakpoint auto-hw" on and off and both "always-inserted" on and
5960 off.
5961
5962 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5963
5964 * gdb.dlang/demangle.exp: Update for demangling changes.
5965
5966 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5967
5968 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5969 * gdb.cp/non-trivial-retval.exp: Add new tests.
5970
5971 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5972
5973 PR c++/13403
5974 PR c++/15154
5975 * gdb.cp/non-trivial-retval.cc: New file.
5976 * gdb.cp/non-trivial-retval.exp: New file.
5977
5978 2014-10-15 Yao Qi <yao@codesourcery.com>
5979
5980 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5981 remote host.
5982
5983 2014-10-15 Yao Qi <yao@codesourcery.com>
5984
5985 * gdb.python/py-symbol.exp: Match file base name if host is
5986 remote, otherwise match file name with dir name.
5987 * gdb.python/py-symtab.exp: Likewise.
5988 * gdb.python/python.exp: Likewise.
5989
5990 2014-10-15 Yao Qi <yao@codesourcery.com>
5991
5992 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5993 pattern.
5994 * gdb.python/py-symtab.exp: Likewise.
5995 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5996 locationn.
5997
5998 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5999
6000 * gdb.ada/addr_arith: New testcase.
6001
6002 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6003
6004 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6005 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6006 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6007 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6008
6009 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6010
6011 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6012 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6013 * gdb.arch/stap-eval-lang-ada.exp: New file.
6014
6015 2014-10-14 Yao Qi <yao@codesourcery.com>
6016
6017 * gdb.mi/mi-var-child.c (nothing1): New function.
6018 (nothing2): New function.
6019 (do_children_tests): Set function pointers by nothing1 and
6020 nothing2.
6021 * gdb.mi/mi-var-child.exp: Step over new added statements.
6022 Update test to match the new output.
6023 * gdb.mi/var-cmd.c (nothing1): New function.
6024 (nothing2): New function.
6025 (do_children_tests): Set function pointers by nothing1 and
6026 nothing2.
6027 * gdb.mi/mi-var-display.exp: Update test to match output.
6028 Step to the line specified by $line_dct_nothing.
6029 Increase the number of lines to step.
6030
6031 2014-10-14 Yao Qi <yao@codesourcery.com>
6032
6033 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6034 tests.
6035 * gdb.mi/mi2-var-child.exp: Likewise.
6036
6037 2014-10-13 Doug Evans <dje@google.com>
6038
6039 * gdb.python/py-objfile.exp: Change name of file name test.
6040
6041 2014-10-13 Doug Evans <dje@google.com>
6042
6043 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6044 from the start of the CU.
6045
6046 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6047 Yao Qi <yao@codesourcery.com>
6048
6049 Fix "save breakpoints" for "catch" command.
6050 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6051 Remove -nonewline. Match also the added "main" line.
6052
6053 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6054
6055 Fix "save breakpoints" for "disable $bpnum" command.
6056 * gdb.base/save-bp.c (main): Add label.
6057 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6058
6059 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6060
6061 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6062
6063 2014-10-11 Yao Qi <yao@codesourcery.com>
6064
6065 * gdb.server/server-kill.exp: Execute command
6066 "set remote trace-status-packet on" before "tstatus".
6067
6068 2014-10-11 Yao Qi <yao@codesourcery.com>
6069
6070 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6071 (main): Call getppid.
6072 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6073 and continue to it. Read variable "server_pid".
6074
6075 2014-10-11 Yao Qi <yao@codesourcery.com>
6076
6077 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6078
6079 2014-10-11 Yao Qi <yao@codesourcery.com>
6080
6081 * gdb.threads/thread-find.exp: Don't execute command
6082 "info threads".
6083 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6084 * gdb.threads/linux-dp.exp: Don't check the condition
6085 $threads_created equals to zero.
6086
6087 2014-10-10 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.base/bigcore.exp: Remove references to IRIX.
6090 * gdb.base/funcargs.exp: Likewise.
6091 * gdb.base/interrupt.exp: Likewise.
6092 * gdb.base/mips_pro.exp: Likewise.
6093 * gdb.base/nodebug.exp: Likewise.
6094 * gdb.base/setvar.exp: Likewise.
6095 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6096
6097 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6098 Pedro Alves <palves@redhat.com>
6099
6100 PR symtab/14466
6101 * gdb.base/vdso-warning.c: New file.
6102 * gdb.base/vdso-warning.exp: New file.
6103
6104 2014-10-02 Doug Evans <dje@google.com>
6105
6106 * gdb.base/structs.c (main): Don't run forever.
6107
6108 2014-10-02 Pedro Alves <palves@redhat.com>
6109
6110 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6111 (top level) <stop threads 1, stop threads 2>: Use it.
6112
6113 2014-10-02 Pedro Alves <palves@redhat.com>
6114
6115 * gdb.threads/break-while-running.exp (test): Add new
6116 'update_thread_list' argument. Skip "info threads" if false.
6117 (top level): Add new 'update_thread_list' axis.
6118
6119 2014-10-02 Pedro Alves <palves@redhat.com>
6120
6121 PR breakpoints/17431
6122 * gdb.base/execl-update-breakpoints.c: New file.
6123 * gdb.base/execl-update-breakpoints.exp: New file.
6124
6125 2014-10-01 Pedro Alves <palves@redhat.com>
6126
6127 * gdb.base/breakpoint-in-ro-region.c: New file.
6128 * gdb.base/breakpoint-in-ro-region.exp: New file.
6129
6130 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6131
6132 * gdb.mi/mi-exit-code.exp: New file.
6133 * gdb.mi/mi-exit-code.c: New file.
6134
6135 2014-09-30 Yao Qi <yao@codesourcery.com>
6136
6137 * lib/prelink-support.exp (build_executable_own_libs): Error if
6138 the target isn't native.
6139
6140 2014-09-30 Yao Qi <yao@codesourcery.com>
6141
6142 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6143 false.
6144
6145 2014-09-22 Pedro Alves <palves@redhat.com>
6146
6147 * gdb.threads/break-while-running.exp: New file.
6148 * gdb.threads/break-while-running.c: New file.
6149
6150 2014-09-19 Yao Qi <yao@codesourcery.com>
6151
6152 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6153 Invoke test. Restart GDB with --readnow and invoke test again.
6154
6155 2014-09-19 Yao Qi <yao@codesourcery.com>
6156
6157 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6158 proc set_breakpoint_on_gcd_function. Invoke
6159 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6160 invoke set_breakpoint_on_gcd_function again.
6161
6162 2014-09-18 Doug Evans <dje@google.com>
6163
6164 * gdb.dwarf2/symtab-producer.exp: New file.
6165
6166 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6167
6168 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6169 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6170 * gdb.base/global-var-nested-by-dso.c: Likewise.
6171 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6172
6173 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6174 Pedro Alves <palves@redhat.com>
6175
6176 * gdb.base/watch-bitfields.exp: Pass string other than test file
6177 name to prepare_for_testing.
6178 (watch): New procedure.
6179 (expect_watchpoint): Use with_test_prefix.
6180 (top level): Factor out tests to ...
6181 (test_watch_location, test_regular_watch): ... these new
6182 procedures, and use with_test_prefix and gdb_continue_to_end.
6183
6184 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6185
6186 PR breakpoints/12526
6187 * gdb.base/watch-bitfields.exp: New file.
6188 * gdb.base/watch-bitfields.c: New file.
6189
6190 2014-09-16 Pedro Alves <palves@redhat.com>
6191
6192 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6193 software and hardware addresses, not software address against
6194 itself.
6195
6196 2014-09-16 Pedro Alves <palves@redhat.com>
6197
6198 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6199 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6200
6201 2014-09-16 Pedro Alves <palves@redhat.com>
6202
6203 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6204 files.
6205 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6206 "*-*-vxworks*" throughout.
6207 * gdb.base/break.exp: Likewise.
6208 * gdb.base/default.exp: Likewise.
6209 * gdb.base/scope.exp: Likewise.
6210 * gdb.base/sepdebug.exp: Likewise.
6211 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6212 throughout.
6213 * gdb.base/run.c: Likewise.
6214 * gdb.base/sepdebug.c: Likewise.
6215 * gdb.hp/gdb.aCC/run.c: Likewise.
6216 * gdb.reverse/until-reverse.c: Likewise.
6217 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6218
6219 2014-09-16 Yao Qi <yao@codesourcery.com>
6220
6221 * boards/local-remote-host-native.exp: New file.
6222
6223 2014-09-14 Doug Evans <xdje42@gmail.com>
6224
6225 * gdb.threads/queue-signal.c (thread_count): New variable.
6226 (thread_count_mutex, thread_count_condvar): New variables.
6227 (incr_thread_count, wait_all_threads_running): New functions.
6228 (main): Wait for all threads to be in their thread functions.
6229
6230 2014-09-13 Doug Evans <xdje42@gmail.com>
6231
6232 * gdb.threads/queue-signal.c: New file.
6233 * gdb.threads/queue-signal.exp: New file.
6234
6235 2014-09-13 Doug Evans <xdje42@gmail.com>
6236
6237 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6238 be consistent with what default_gdb_init uses.
6239 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6240 the plain text of the prompt. Add some logging printfs.
6241 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6242
6243 2014-09-12 Pedro Alves <palves@redhat.com>
6244
6245 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6246 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6247 * gdb.arch/i386-size-overlap.exp: Likewise.
6248 * gdb.arch/i386-size.exp: Likewise.
6249 * gdb.arch/i386-unwind.exp: Likewise.
6250 * gdb.base/a2-run.exp: Likewise.
6251 * gdb.base/break.exp: Likewise.
6252 * gdb.base/charset.exp: Likewise.
6253 * gdb.base/chng-syms.exp: Likewise.
6254 * gdb.base/commands.exp: Likewise.
6255 * gdb.base/dbx.exp: Likewise.
6256 * gdb.base/find.exp: Likewise.
6257 * gdb.base/funcargs.exp: Likewise.
6258 * gdb.base/jit-simple.exp: Likewise.
6259 * gdb.base/reread.exp: Likewise.
6260 * gdb.base/sepdebug.exp: Likewise.
6261 * gdb.base/step-bt.exp: Likewise.
6262 * gdb.cp/mb-inline.exp: Likewise.
6263 * gdb.cp/mb-templates.exp: Likewise.
6264 * gdb.objc/basicclass.exp: Likewise.
6265 * gdb.threads/killed.exp: Likewise.
6266
6267 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6268
6269 PR tdep/17379
6270 * gdb.arch/powerpc-stackless.S: New file.
6271 * gdb.arch/powerpc-stackless.exp: New file.
6272
6273 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6274
6275 * gdb.base/attach.c: Include unistd.h.
6276 (main): Call alarm. Add label postloop.
6277 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6278 gdb_breakpoint, gdb_continue_to_breakpoint.
6279 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6280
6281 2014-09-11 Pedro Alves <palves@redhat.com>
6282
6283 PR gdb/17347
6284 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6285 * gdb.base/attach.exp (test_command_line_attach_run): New
6286 procedure.
6287 (top level): Call it.
6288
6289 2014-09-11 Pedro Alves <palves@redhat.com>
6290
6291 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6292 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6293 (do_command_attach_tests): Use spawn_wait_for_attach.
6294 * gdb.base/solib-overlap.exp: Likewise.
6295 * gdb.multi/multi-attach.exp: Likewise.
6296 * gdb.python/py-prompt.exp: Likewise.
6297 * gdb.python/py-sync-interp.exp: Likewise.
6298 * gdb.server/ext-attach.exp: Likewise.
6299
6300 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6301
6302 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6303 command in testcase. Simplify testcase.
6304
6305 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6306
6307 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6308
6309 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6310
6311 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6312
6313 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6314
6315 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6316
6317 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6318
6319 * gdb.dwarf2/dynarr-ptr.c: New file.
6320 * gdb.dwarf2/dynarr-ptr.exp: New file.
6321
6322 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6323
6324 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6325 of 30 rather than hardcoding 120 for a slow test case. Take the
6326 `gdb,timeout' target setting into account for this calculation.
6327 Don't extend the timeout for the test cases that don't need it.
6328
6329 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6330
6331 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6332 a factor of 2 for a slow test case. Take the `gdb,timeout'
6333 target setting into account for this calculation.
6334 * gdb.reverse/until-precsave.exp: Increase the timeout by
6335 a factor of 15 and 3 respectively rather than adding 120
6336 for a pair of slow test cases. Take the `gdb,timeout'
6337 target setting into account for this calculation.
6338
6339 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6340
6341 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6342 timeout, don't pass one down to gdb_expect.
6343 (gdb_expect): Rework timeout selection.
6344
6345 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6346
6347 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6348 exception on timeout.
6349 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6350 (gdbserver_start_extended): Catch any `gdbserver_start' error
6351 exceptions.
6352 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6353 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6354 `gdbserver_gdb_load' error exceptions.
6355
6356 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6357
6358 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6359 120 on waiting for the TCP socket to open.
6360
6361 2014-09-09 Doug Evans <xdje42@gmail.com>
6362
6363 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6364 _caller_matches, _any_caller_is, _any_caller_matches.
6365
6366 2014-09-09 Doug Evans <xdje42@gmail.com>
6367
6368 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6369
6370 2014-09-09 Yao Qi <yao@codesourcery.com>
6371
6372 * gdb.mi/mi-var-display.exp: Set print symbol off.
6373
6374 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6375
6376 PR gdb/17035
6377 * gdb.base/commands.exp: Add tests to verify user-defined
6378 commands with empty bodies.
6379 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6380 python commands in `show user command`.
6381 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6382 scheme commands in `show user command`.
6383
6384 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6385
6386 PR python/17355
6387 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6388 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6389 * gdb.python/py-framefilter-invalidarg.exp: New file.
6390 * gdb.python/py-framefilter-invalidarg.py: New file.
6391
6392 2014-09-06 Doug Evans <xdje42@gmail.com>
6393
6394 PR 15276
6395 * gdb.python/py-caller-is.c: New file.
6396 * gdb.python/py-caller-is.exp: New file.
6397
6398 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6399
6400 PR gdb/17235
6401 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6402 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6403
6404 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6405
6406 PR fortran/17237
6407 * gdb.fortran/print-formatted.exp: New file.
6408 * gdb.fortran/print-formatted.f90: Likewise.
6409
6410 2014-09-03 Sasha Smundak <asmundak@google.com>
6411
6412 * gdb.python/py-frame.exp: Test Frame.read_register.
6413
6414 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6415
6416 PR python/16699
6417 * gdb.python/py-completion.exp: New file.
6418 * gdb.python/py-completion.py: Likewise.
6419
6420 2014-08-28 Doug Evans <dje@google.com>
6421
6422 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6423 eax,etc. are live with values set by gdb and thus the compiler can't
6424 use them.
6425 * gdb.arch/i386-pseudo.c (main): Ditto.
6426
6427 2014-08-27 Doug Evans <dje@google.com>
6428
6429 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6430
6431 2014-08-25 Doug Evans <dje@google.com>
6432
6433 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6434 (main): Ditto.
6435
6436 2014-08-25 Doug Evans <dje@google.com>
6437
6438 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6439
6440 2014-08-24 Yao Qi <yao@codesourcery.com>
6441
6442 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6443 symbol off.
6444 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6445
6446 2014-08-22 Doug Evans <dje@google.com>
6447
6448 PR 17276
6449 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6450 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6451 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6452
6453 2014-08-22 Yao Qi <yao@codesourcery.com>
6454
6455 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6456 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6457 * gdb.python/python.exp: Likewise. Use .py file on the host
6458 instead of the build.
6459
6460 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6461
6462 * gdb.threads/gcore-stale-thread.c: New file.
6463 * gdb.threads/gcore-stale-thread.exp: New file.
6464
6465 2014-08-21 Pedro Alves <palves@redhat.com>
6466
6467 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6468 * gdb.base/gcore-relro-pie.exp: Likewise.
6469 * gdb.base/gcore-relro.exp: Likewise.
6470 * gdb.base/gcore.exp: Likewise.
6471 * gdb.base/print-symbol-loading.exp: Likewise.
6472 * gdb.threads/gcore-thread.exp: Likewise.
6473 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6474
6475 2014-08-20 Pedro Alves <palves@redhat.com>
6476 Jan Kratochvil <jan.kratochvil@redhat.com>
6477
6478 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6479 configure.
6480 (EXPECT): Handle READ1 being set.
6481 (all): Depend on EXTRA_RULES.
6482 (check-read1, expect-read1, read1.so, read1): New rules.
6483 * README (Testsuite Parameters): Document the READ1 make variable.
6484 (Race detection): New section.
6485 * configure: Regenerate.
6486 * configure.ac: If build==host==target, and running under a
6487 GNU/glibc system, add read1 to the extra Makefile rules.
6488 (EXTRA_RULES): AC_SUBST it.
6489 * lib/read1.c: New file.
6490
6491 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6492
6493 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6494 the handling of variables declared as a typedef to an array
6495 which a DW_AT_data_location attribute.
6496
6497 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6498 Pedro Alves <palves@redhat.com>
6499
6500 PR symtab/14604
6501 PR symtab/14605
6502 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6503 gdb_test.
6504
6505 2014-08-19 Pedro Alves <palves@redhat.com>
6506
6507 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6508
6509 2014-08-19 Yao Qi <yao@codesourcery.com>
6510
6511 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6512 right line.
6513
6514 2014-08-18 David Blaikie <dblaikie@gmail.com>
6515
6516 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6517
6518 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6519
6520 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6521 attribute in array range.
6522
6523 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6524
6525 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6526
6527 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6528
6529 PR c++/17132
6530 * gdb.cp/pr17132.cc: New file.
6531 * gdb.cp/pr17132.exp: New file.
6532
6533 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6534
6535 * gdb.python/py-xmethods.py (A_getarrayind)
6536 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6537 Use 'print' with function call syntax.
6538 (E_method_matcher.match): Fix tab vs space indentation mixup.
6539
6540 2014-08-15 Yao Qi <yao@codesourcery.com>
6541
6542 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6543 false.
6544
6545 2014-08-15 Yao Qi <yao@codesourcery.com>
6546
6547 * gdb.cp/casts.exp: Set print symbol off.
6548 * gdb.cp/class2.exp: Likewise.
6549 * gdb.cp/overload.exp: Likewise.
6550 * gdb.cp/templates.exp: Likewise.
6551
6552 2014-08-11 Doug Evans <dje@google.com>
6553
6554 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6555 (test_load_shlib): Update.
6556
6557 2014-08-09 Yao Qi <yao@codesourcery.com>
6558
6559 * gdb.base/display.exp: Invoke is_address_zero_readable.
6560 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6561 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6562 * gdb.base/hbreak-unmapped.exp: Return if
6563 is_address_zero_readable returns true.
6564 * gdb.base/signest.exp: Likewise.
6565 * gdb.base/signull.exp: Likewise.
6566 * gdb.base/sigbpt.exp: Likewise.
6567 * gdb.guile/scm-disasm.exp: Do the test if
6568 is_address_zero_readable returns false.
6569 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6570 * gdb.python/py-arch.exp: Likewise.
6571 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6572 * lib/gdb.exp (is_address_zero_readable): New proc.
6573
6574 2014-08-09 Yao Qi <yao@codesourcery.com>
6575
6576 PR testsuite/13443
6577 * gdb.mi/mi-var-display.exp: Make test messages unique.
6578
6579 2014-08-04 Tom Tromey <tromey@redhat.com>
6580
6581 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6582 target 0".
6583
6584 2014-08-04 Tom Tromey <tromey@redhat.com>
6585
6586 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6587 "target_resume".
6588
6589 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6590
6591 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6592 inner_vla_struct_object_size.
6593 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6594 as xfail.
6595
6596 2014-07-30 Pedro Alves <palves@redhat.com>
6597
6598 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6599 comment.
6600
6601 2014-07-29 Yao Qi <yao@codesourcery.com>
6602
6603 PR gdb/17206
6604 * gdb.base/until-nodebug.exp: New.
6605
6606 2014-07-28 Doug Evans <xdje42@gmail.com>
6607
6608 PR guile/17203
6609 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6610 previously existing parameter, and previously ambiguously spelled
6611 parameter.
6612
6613 2014-07-28 Will Newton <will.newton@linaro.org>
6614
6615 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6616
6617 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6618 Doug Evans <xdje42@gmail.com>
6619
6620 PR guile/17146
6621 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6622
6623 2014-07-25 Pedro Alves <palves@redhat.com>
6624
6625 * gdb.threads/signal-command-handle-nopass.c: New file.
6626 * gdb.threads/signal-command-handle-nopass.exp: New file.
6627 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6628 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6629 * gdb.threads/signal-delivered-right-thread.c: New file.
6630 * gdb.threads/signal-delivered-right-thread.exp: New file.
6631
6632 2014-07-25 Pedro Alves <palves@redhat.com>
6633
6634 * gdb.base/double-prompt-target-event-error.exp
6635 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6636 match.
6637 (cancel_pagination_in_target_event): Rework double prompt
6638 detection.
6639 * gdb.base/paginate-after-ctrl-c-running.exp
6640 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6641 <return>' match.
6642 * gdb.base/paginate-bg-execution.exp
6643 (test_bg_execution_pagination_return)
6644 (test_bg_execution_pagination_cancel): Remove '-notransfer
6645 <return>' matches.
6646 * gdb.base/paginate-execution-startup.exp
6647 (test_fg_execution_pagination_return)
6648 (test_fg_execution_pagination_cancel): Remove '-notransfer
6649 <return>' matches.
6650 * gdb.base/paginate-inferior-exit.exp
6651 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6652 match.
6653 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6654 * lib/gdb.exp (pagination_prompt): Run text through
6655 string_to_regexp.
6656 (gdb_test_multiple): Match $pagination_prompt instead of
6657 "<return>".
6658 (string_to_regexp): Move to lib/gdb-utils.exp.
6659
6660 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6661
6662 * gdb.arch/amd64-entry-value-paramref.S: New file.
6663 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6664 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6665 * gdb.arch/amd64-optimout-repeat.S: New file.
6666 * gdb.arch/amd64-optimout-repeat.c: New file.
6667 * gdb.arch/amd64-optimout-repeat.exp: New file.
6668
6669 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6670
6671 PR gdb/17170
6672 * gdb.base/statistics.exp: New file.
6673
6674 2014-07-17 Doug Evans <dje@google.com>
6675
6676 PR gdb/17170
6677 * gdb.base/maint.exp: Update testing of per-command stats.
6678
6679 2014-07-16 Pedro Alves <palves@redhat.com>
6680
6681 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6682 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6683 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6684 (tfile_write_buf): New functions.
6685 (add_memory_block): Rewrite using the above.
6686 (adjust_function_address): New function.
6687 (FUNCTION_ADDRESS): New macro.
6688 (write_basic_trace_file): Remove short_x local, and use
6689 tfile_write_16. Change type of func_addr local to unsigned long
6690 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6691 here. Cast argument of add_memory_block to char pointer.
6692 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6693 (main): Remove parameters.
6694 * gdb.trace/tfile.exp: Remove nowarnings.
6695
6696 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6697
6698 * gdb.base/debug-expr.exp: Test string evaluation with
6699 "debug expression" on.
6700
6701 2014-07-15 Pedro Alves <palves@redhat.com>
6702
6703 * gdb.base/reread.exp: Use clean_restart.
6704
6705 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6706
6707 * gdb.arch/avr-flash-qualifer.c: New.
6708 * gdb.arch/avr-flash-qualifer.exp: New.
6709
6710 2014-07-14 Pedro Alves <palves@redhat.com>
6711
6712 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6713 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6714
6715 2014-07-14 Pedro Alves <palves@redhat.com>
6716
6717 * gdb.base/double-prompt-target-event-error.c: New file.
6718 * gdb.base/double-prompt-target-event-error.exp: New file.
6719
6720 2014-07-14 Pedro Alves <palves@redhat.com>
6721
6722 PR gdb/17072
6723 * gdb.base/paginate-inferior-exit.c: New file.
6724 * gdb.base/paginate-inferior-exit.exp: New file.
6725
6726 2014-07-14 Pedro Alves <palves@redhat.com>
6727
6728 PR gdb/17072
6729 * gdb.base/paginate-bg-execution.c: New file.
6730 * gdb.base/paginate-bg-execution.exp: New file.
6731
6732 2014-07-14 Pedro Alves <palves@redhat.com>
6733
6734 PR gdb/17072
6735 * gdb.base/paginate-execution-startup.c: New file.
6736 * gdb.base/paginate-execution-startup.exp: New file.
6737 * lib/gdb.exp (pagination_prompt): New global.
6738 (default_gdb_spawn): New procedure, factored out from
6739 default_gdb_spawn.
6740 (default_gdb_start): Adjust to call default_gdb_spawn.
6741 (gdb_spawn): New procedure.
6742
6743 2014-07-14 Pedro Alves <palves@redhat.com>
6744
6745 * lib/gdb.exp (gdb_assert): New procedure.
6746 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6747
6748 2014-07-14 Pedro Alves <palves@redhat.com>
6749
6750 * gdb.base/execution-termios.c: New file.
6751 * gdb.base/execution-termios.exp: New file.
6752
6753 2014-07-14 Tom Tromey <tromey@redhat.com>
6754
6755 * gdb.cp/vla-cxx.cc: New file.
6756 * gdb.cp/vla-cxx.exp: New file.
6757
6758 2014-07-14 Tom Tromey <tromey@redhat.com>
6759
6760 * gdb.reverse/rerun-prec.c: New file.
6761 * gdb.reverse/rerun-prec.exp: New file.
6762
6763 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6764 Maciej W. Rozycki <macro@codesourcery.com>
6765
6766 * lib/gdb-utils.exp: New file.
6767 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6768 inline `gdb_init_command' processing.
6769 (gdb_start_cmd): Likewise.
6770 * lib/mi-support.exp (mi_run_cmd): Likewise.
6771 * README: Document `gdb_init_command' and `gdb_init_commands'.
6772
6773 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6774
6775 Fix false FAIL running under a very long directory name.
6776 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6777 and "set print elements 10000". Twice.
6778
6779 2014-07-11 Yao Qi <yao@codesourcery.com>
6780
6781 * gdb.base/exprs.exp: "set print symbol off".
6782
6783 2014-07-11 Pedro Alves <palves@redhat.com>
6784
6785 * gdb.threads/kill.c: New file.
6786 * gdb.threads/kill.exp: New file.
6787
6788 2014-07-10 Yao Qi <yao@codesourcery.com>
6789
6790 * gdb.trace/tfile.c (write_basic_trace_file)
6791 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6792 address written to trace file.
6793
6794 2014-07-09 Pedro Alves <palves@redhat.com>
6795
6796 * gdb.base/attach-wait-input.exp: New file.
6797 * gdb.base/attach-wait-input.c: New file.
6798
6799 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6800
6801 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6802 setting up test structures.
6803 (main): Call new test function.
6804 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6805 test function, continue into test function and walk test
6806 structures.
6807
6808 2014-07-02 Yao Qi <yao@codesourcery.com>
6809
6810 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6811 'bar_start' at the beginning of functions 'foo' and 'bar'
6812 respectively.
6813 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6814 instead of 'foo' and 'bar'.
6815
6816 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6817
6818 * gdb.btrace/segv.exp: New.
6819 * gdb.btrace/segv.c: New.
6820
6821 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6822
6823 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6824 instruction.
6825
6826 2014-06-30 Mark Wielaard <mjw@redhat.com>
6827
6828 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6829 vulture, vilify, villar): New volatile array constants.
6830 (vindictive, vegetation): New const volatile array constants.
6831 * gdb.base/volatile.exp: Test volatile and const volatile array
6832 types.
6833
6834 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6835
6836 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6837 target lacks support for awatch, rwatch, or hbreak.
6838
6839 2014-06-27 Yao Qi <yao@codesourcery.com>
6840
6841 * gdb.multi/dummy-frame-restore.exp: New.
6842 * gdb.multi/dummy-frame-restore.c: New.
6843
6844 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6845
6846 * gdb.btrace/gcore.exp: New.
6847
6848 2014-06-23 Pedro Alves <palves@redhat.com>
6849
6850 * gdb.base/watchpoint-reuse-slot.c: New file.
6851 * gdb.base/watchpoint-reuse-slot.exp: New file.
6852
6853 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6854
6855 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6856 progspace's filename in 'info', 'enable' and 'disable' command
6857 tests.
6858
6859 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6860
6861 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6862 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6863 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6864
6865 2014-06-20 Gary Benson <gbenson@redhat.com>
6866
6867 * gdb.arch/i386-avx.exp: Fix include file location.
6868 * gdb.arch/i386-sse.exp: Likewise.
6869
6870 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6871
6872 * gdb.dlang/expression.exp: New file.
6873
6874 2014-06-19 Pedro Alves <palves@redhat.com>
6875
6876 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6877 out from ...
6878 (top level): ... here. Iterate running tests under different
6879 scheduler-locking settings.
6880
6881 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6882
6883 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6884 to DW_FORM_addr and use non-zero addresses.
6885
6886 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6887
6888 PR gdb/17017
6889 * gdb.python/py-xmethods.cc: Add global function call counters and
6890 increment them in their respective functions. Remove "cout"
6891 statements.
6892 * gdb.python/py-xmethods.exp: Make tests check the global function
6893 call counters instead of depending on inferior IO.
6894
6895 2014-06-18 Don Breazeal <donb@codesourcery.com>
6896
6897 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6898 Deleted procedure.
6899 (explicit_fork_parent_follow): Deleted procedure.
6900 (explicit_fork_child_follow): Deleted procedure.
6901 (test_follow_fork): New procedure.
6902 (do_fork_tests): Replace calls to deleted procedures with
6903 calls to test_follow_fork and reset GDB for subsequent
6904 procedure calls.
6905
6906 2014-06-17 Yao Qi <yao@codesourcery.com>
6907
6908 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6909 CP1252.
6910
6911 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6912
6913 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6914 Initialize ptr and S explicitly.
6915 (skip_type_update_when_not_use_rtti_test): Likewise.
6916
6917 2014-06-16 Keith Seitz <keiths@redhat.com>
6918
6919 PR mi/15863
6920 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6921 the inferior is started.
6922
6923 2014-06-16 Pedro Alves <palves@redhat.com>
6924
6925 * gdb.base/break-main-file-remove-fail.c: New file.
6926 * gdb.base/break-main-file-remove-fail.exp: New file.
6927 * gdb.base/break-unload-file.exp: Use build_executable instead of
6928 prepare_for_testing.
6929 (test_break): New parameter "initial_load". Handle it.
6930 (top level): Add initial_load cmdline/file axis.
6931
6932 2014-06-12 Tom Tromey <tromey@redhat.com>
6933
6934 * gdb.base/completion.exp: Don't use directory name in test.
6935
6936 2014-06-09 Gary Benson <gbenson@redhat.com>
6937
6938 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6939 separate the always-available ANSI-standard signals from the
6940 signals that require checking.
6941 (main): Likewise.
6942 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6943 Likewise.
6944 (main): Likewise.
6945
6946 2014-06-07 Keith Seitz <keiths@redhat.com>
6947
6948 Revert:
6949 PR c++/16253
6950 * gdb.cp/var-tag.cc: New file.
6951 * gdb.cp/var-tag.exp: New file.
6952 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6953 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6954 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6955 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6956
6957 2014-06-06 Doug Evans <xdje42@gmail.com>
6958
6959 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6960
6961 2014-06-06 Pedro Alves <palves@redhat.com>
6962
6963 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6964 in target debug output instead of looking at RSP packets,
6965 disabling the test on any target that uses hardware stepping.
6966 Update comments.
6967
6968 2014-06-06 Pedro Alves <palves@redhat.com>
6969
6970 * gdb.base/break-unload-file.exp: Fix typo.
6971
6972 2014-06-06 Yao Qi <yao@codesourcery.com>
6973
6974 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6975 from "jit_function" to "^jit_function".
6976
6977 2014-06-06 Yao Qi <yao@codesourcery.com>
6978
6979 * gdb.base/async.c (foo): Add one statement.
6980 * gdb.base/async.exp: Get the next instruction address and
6981 match the output of "nexti" by instruction address. Match
6982 the hex address in the output of "finish".
6983
6984 2014-06-06 Gary Benson <gbenson@redhat.com>
6985
6986 * gdb.base/call-signals.c: Remove preprocessor conditionals
6987 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6988 SIGSEGV and SIGTERM.
6989 * gdb.base/sigall.c: Likewise.
6990 * gdb.base/unwindonsignal.c: Likewise.
6991 * gdb.reverse/sigall-reverse.c: Likewise.
6992
6993 2014-06-06 Yao Qi <yao@codesourcery.com>
6994
6995 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6996 readable, skip the test.
6997
6998 2014-06-06 Yao Qi <yao@codesourcery.com>
6999
7000 * gdb.threads/staticthreads.c (thread_function): Move the line
7001 setting breakpoint on forward.
7002 * gdb.threads/staticthreads.exp: Update comments.
7003
7004 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7005
7006 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7007 "history-append! type error".
7008
7009 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7010
7011 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7012 erroneous dprintf expected input.
7013
7014 2014-06-04 Doug Evans <xdje42@gmail.com>
7015
7016 * gdb.guile/scm-generics.exp: Delete.
7017
7018 2014-06-04 Doug Evans <xdje42@gmail.com>
7019
7020 * gdb.guile/scm-breakpoint.exp: Update.
7021 Add tests for breakpoint registration.
7022
7023 2014-06-04 Tom Tromey <tromey@redhat.com>
7024
7025 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7026 VLA-in-union.
7027 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7028 inner_vla_struct, vla_union types. Initialize objects of those
7029 types and compute their sizes.
7030
7031 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7032 Hui Zhu <hui@codesourcery.com>
7033
7034 * gdb.base/fileio.exp: Add test for shell not available as well as
7035 available.
7036 * gdb.base/fileio.c (test_system): Check for shell twice.
7037
7038 2014-06-04 Yao Qi <yao@codesourcery.com>
7039
7040 * gdb.base/auto-connect-native-target.exp: Remove redundant
7041 space from the regexp pattern.
7042
7043 2014-06-04 Yao Qi <yao@codesourcery.com>
7044
7045 * gdb.base/default.exp: Replace "child" with "native" in
7046 regexp pattern.
7047
7048 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7049
7050 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7051 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7052 * gdb.python/py-xmethods.py: Python script supporting the
7053 new testcase and tests.
7054
7055 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7056 Pedro Alves <palves@redhat.com>
7057
7058 PR breakpoints/17000
7059 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7060 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7061
7062 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7063
7064 * gdb.base/subst.exp: Add tests to verify partial path matching
7065 output.
7066
7067 2014-06-03 Pedro Alves <palves@redhat.com>
7068
7069 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7070 target that doesn't use software single-stepping.
7071
7072 2014-06-03 Pedro Alves <palves@redhat.com>
7073
7074 PR breakpoints/17000
7075 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7076 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7077
7078 2014-06-02 Doug Evans <xdje42@gmail.com>
7079
7080 * gdb.guile/scm-parameter.exp: New file.
7081
7082 2014-06-02 Doug Evans <xdje42@gmail.com>
7083
7084 * gdb.guile/scm-cmd.c: New file.
7085 * gdb.guile/scm-cmd.exp: New file.
7086
7087 2014-06-02 Doug Evans <xdje42@gmail.com>
7088
7089 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7090 pretty-printer lookup.
7091 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7092 (make-pp_s-printer): Call it.
7093 (make-pretty-printer-from-dict): New function.
7094 (lookup-pretty-printer-maker-from-dict): New function.
7095 (*pretty-printer*): Simplify.
7096 (make-objfile-pp_s-printer): New function.
7097 (install-objfile-pretty-printers!): New function.
7098 (make-progspace-pp_s-printer): New function.
7099 (install-progspace-pretty-printers!): New function.
7100 * gdb.guile/scm-progspace.c: New file.
7101 * gdb.guile/scm-progspace.exp: New file.
7102
7103 2014-06-02 Pedro Alves <palves@redhat.com>
7104
7105 * gdb.base/dprintf-bp-same-addr.c: New file.
7106 * gdb.base/dprintf-bp-same-addr.exp: New file.
7107
7108 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7109
7110 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7111 * gdb.arch/powerpc-power.s: Likewise.
7112
7113 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7114
7115 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7116
7117 2014-06-01 Yao Qi <yao@codesourcery.com>
7118
7119 * gdb.base/watchpoint.exp (test_watch_location): Check null
7120 pointer can be dereferenced. If not, do the test, otherwise
7121 skip it.
7122
7123 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7124
7125 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7126 results.
7127 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7128
7129 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7130
7131 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7132 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7133 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7134 * gdb.arch/amd64-invalid-stack-top.c: New file.
7135 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7136
7137 2014-05-30 Pedro Alves <palves@redhat.com>
7138
7139 PR breakpoints/17000
7140 * gdb.base/sss-bp-on-user-bp.c: New file.
7141 * gdb.base/sss-bp-on-user-bp.exp: New file.
7142
7143 2014-05-30 David Blaikie <dblaikie@gmail.com>
7144
7145 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7146 gnu_inline semantics via attribute.
7147 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7148 source explicitly specifies the required semantics.
7149
7150 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7151
7152 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7153
7154 2014-05-29 Pedro Alves <palves@redhat.com>
7155 Tom Tromey <tromey@redhat.com>
7156
7157 * gdb.base/async-shell.exp: Don't enable target-async.
7158 * gdb.base/async.exp
7159 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7160 parameter. Adjust.
7161 (top level): Don't test with "target-async".
7162 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7163 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7164 * gdb.base/inferior-died.exp: Don't enable target-async.
7165 * gdb.base/interrupt-noterm.exp: Likewise.
7166 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7167 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7168 * gdb.mi/mi-nonstop.exp: Likewise.
7169 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7170 * gdb.mi/mi-nsintrall.exp: Likewise.
7171 * gdb.mi/mi-nsmoribund.exp: Likewise.
7172 * gdb.mi/mi-nsthrexec.exp: Likewise.
7173 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7174 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7175 * gdb.python/py-evsignal.exp: Don't enable target-async.
7176 * gdb.python/py-evthreads.exp: Likewise.
7177 * gdb.python/py-prompt.exp: Likewise.
7178 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7179 * gdb.server/solib-list.exp: Don't enable target-async.
7180 * gdb.threads/thread-specific-bp.exp: Likewise.
7181 * lib/mi-support.exp: Adjust to use mi-async.
7182
7183 2014-05-29 Pedro Alves <palves@redhat.com>
7184
7185 PR gdb/13860
7186 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7187 reason, even in sync mode.
7188
7189 2014-05-29 Pedro Alves <palves@redhat.com>
7190 Hui Zhu <hui@codesourcery.com>
7191
7192 PR PR15693
7193 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7194 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7195 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7196 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7197
7198 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7199
7200 * config/monitor.exp (gdb_target_monitor): Replace use of
7201 "set remotebaud" by "set serial baud".
7202
7203 2014-05-26 Andy Wingo <wingo@igalia.com>
7204
7205 * gdb.guile/scm-breakpoint.exp:
7206 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7207 properties instead of gdb-object-properties.
7208
7209 2014-05-26 Yao Qi <yao@codesourcery.com>
7210
7211 * gdb.server/no-thread-db.exp: Specify source file name
7212 explicitly when setting a breakpoint.
7213
7214 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7215
7216 * gdb.btrace/vdso.c: New.
7217 * gdb.btrace/vdso.exp: New.
7218
7219 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7220
7221 * gdb.base/gcore.exp (capture_command_output): Move ...
7222 * lib/gdb.exp (capture_command_output): ... here.
7223
7224 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7225
7226 * gdb.btrace/data.exp: Test memory access during btrace replay.
7227
7228 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7229
7230 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7231
7232 2014-05-21 Pedro Alves <palves@redhat.com>
7233
7234 PR gdb/13860
7235 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7236 (top level): Test that output related to execution commands is
7237 sent to the console with CLI commands, but not with MI commands.
7238 Test that breakpoint events are always mirrored to the console.
7239 Also expect the new source line to be output after a "next" in
7240 async mode too. Make it a pass/fail test.
7241 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7242 output.
7243 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7244
7245 2014-05-21 Pedro Alves <palves@redhat.com>
7246
7247 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7248 Use them to test variations of "list" after reaching a breakpoint.
7249 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7250 Test "list" with listsize 10 after reaching a breakpoint.
7251 * gdb.python/python.exp (decode_line current location line
7252 number): Adjust expected line number.
7253
7254 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7255
7256 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7257 behavior for $args, pass it directly to "run".
7258
7259 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7260
7261 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7262 30000 to 65536.
7263
7264 2014-05-21 Pedro Alves <palves@redhat.com>
7265
7266 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7267 auto-connect-native-target off".
7268 * gdb.base/auto-connect-native-target.c: New file.
7269 * gdb.base/auto-connect-native-target.exp: New file.
7270
7271 2014-05-21 Pedro Alves <palves@redhat.com>
7272
7273 * gdb.base/default.exp: Test "target native" instead of "target
7274 child".
7275
7276 2014-05-21 Mark Wielaard <mjw@redhat.com>
7277
7278 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7279
7280 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7281
7282 Fix TLS access for -static -pthread.
7283 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7284 <HAVE_TLS> (thread_function, main): Initialize it.
7285 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7286 Add clean_restart.
7287 <$have_tls != "">: Check TLSVAR.
7288
7289 2014-05-21 Pedro Alves <palves@redhat.com>
7290
7291 * gdb.base/dcache-line-read-error.c: New.
7292 * gdb.base/dcache-line-read-error.exp: New.
7293
7294 2014-05-20 Pedro Alves <palves@redhat.com>
7295
7296 * gdb.base/compare-sections.c: New file.
7297 * gdb.base/compare-sections.exp: New file.
7298
7299 2014-05-20 Pedro Alves <palves@redhat.com>
7300
7301 * gdb.base/break-idempotent.c: New file.
7302 * gdb.base/break-idempotent.exp: New file.
7303
7304 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7305
7306 * gdb.btrace/nohist.exp: New.
7307
7308 2014-05-20 Yao Qi <yao@codesourcery.com>
7309
7310 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7311 gdb.reverse directory and gdb_reverse_timeout exists in board
7312 setting.
7313 * README: Document gdb_reverse_timeout.
7314
7315 2014-05-20 Yao Qi <yao@codesourcery.com>
7316
7317 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7318 'test_file_name'. Treat args as a string instead of a list.
7319 (gdb_init): Rename argument 'args' by 'test_file_name'.
7320
7321 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7322
7323 * gdb.arch/powerpc-power.exp: New file.
7324 * gdb.arch/powerpc-power.s: New file.
7325
7326 2014-05-16 Doug Evans <dje@google.com>
7327
7328 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7329 * gdb.base/completion.exp: Check that all expected files exist
7330 before doing file completion.
7331
7332 2014-05-16 Doug Evans <dje@google.com>
7333
7334 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7335 Update.
7336 (do_syscall_tests_without_xml): Update.
7337
7338 2014-05-16 Pedro Alves <palves@redhat.com>
7339
7340 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7341 instead of "unknown output after running".
7342
7343 2014-05-16 Yao Qi <yao@codesourcery.com>
7344
7345 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7346 file1.txt from host at the end.
7347 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7348
7349 2014-05-15 Doug Evans <dje@google.com>
7350
7351 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7352 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7353 loading file. Add test for TU lookup.
7354
7355 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7356
7357 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7358 calling "-exec-arguments" or "set args" before running the
7359 inferior.
7360
7361 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7362
7363 * lib/mi-support.exp (mi_expect_stop): Expect message for
7364 inferiors that exit with non-zero exit code.
7365
7366 2014-05-14 Yao Qi <yao@codesourcery.com>
7367
7368 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7369 match absolute path on remote host.
7370 (test_file_list_exec_source_files): Remove "/" from the
7371 pattern.
7372
7373 2014-05-14 Yao Qi <yao@codesourcery.com>
7374
7375 * boards/local-remote-host-notty.exp (${board}_file): New
7376 proc.
7377
7378 2014-05-07 Kyle McMartin <kyle@redhat.com>
7379
7380 Pushed by Joel Brobecker <brobecker@adacore.com>.
7381 * gdb.arch/aarch64-atomic-inst.c: New file.
7382 * gdb.arch/aarch64-atomic-inst.exp: New file.
7383
7384 2014-05-07 Yao Qi <yao@codesourcery.com>
7385
7386 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7387 in current context" too.
7388
7389 2014-05-05 Keith Seitz <keiths@redhat.com>
7390
7391 * gdb.linespec/ls-dollar.exp: Add test for linespec
7392 file:convenience_variable.
7393
7394 2014-05-05 Yao Qi <yao@codesourcery.com>
7395
7396 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7397 traceframes into tfile and ctf trace files. Read data from
7398 trace file and test collected data.
7399 (gdb_collect_locals_test): Likewise.
7400 (gdb_unavailable_registers_test): Likewise.
7401 (gdb_unavailable_floats): Likewise.
7402 (gdb_collect_globals_test): Likewise.
7403 (top-level): Append "ctf" to trace_file_targets if GDB
7404 supports.
7405
7406 2014-05-05 Yao Qi <yao@codesourcery.com>
7407
7408 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7409 code to ...
7410 (gdb_collect_args_test_1): ... it. New proc.
7411 (gdb_collect_locals_test): Move some code to ...
7412 (gdb_collect_locals_test_1): ... it. New proc.
7413 (gdb_unavailable_registers_test): Move some code to ...
7414 (gdb_unavailable_registers_test_1): ... it. New proc.
7415 (gdb_unavailable_floats): Move some code to ...
7416 (gdb_unavailable_floats_1): ... it. New proc.
7417
7418 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7419
7420 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7421 probes to test for bitness recognition.
7422 * gdb.arch/amd64-stap-optional-prefix.exp
7423 (test_probe_value_without_reg): New procedure.
7424 Add code to test for different kinds of bitness.
7425
7426 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7427
7428 PR breakpoints/16889
7429 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7430 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7431
7432 2014-05-01 Pedro Alves <palves@redhat.com>
7433
7434 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7435 gdb_file_cmd if no file is specified.
7436 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7437 last_loaded_file to set the remote exec-file.
7438
7439 2014-05-01 Pedro Alves <palves@redhat.com>
7440
7441 * boards/local-remote-host.exp: New file.
7442
7443 2014-05-01 Pedro Alves <palves@redhat.com>
7444
7445 * boards/local-remote-host.exp: Rename to ...
7446 * boards/local-remote-host-notty.exp: ... this.
7447
7448 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7449
7450 * gdb.ada/dyn_arrayidx: New testcase.
7451
7452 2014-04-26 Yao Qi <yao@codesourcery.com>
7453
7454 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7455 and compute the length of function main. Save it in
7456 $main_length.
7457 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7458 (top-level): Use gdb_compile to compile objects into
7459 executable and restart GDB. Remove invocation to
7460 prepare_for_testing.
7461
7462 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7463 Pedro Alves <palves@redhat.com>
7464
7465 PR server/16255
7466 * gdb.multi/multi-attach.c: New file.
7467 * gdb.multi/multi-attach.exp: New file.
7468
7469 2014-04-25 Pedro Alves <palves@redhat.com>
7470
7471 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7472 user.
7473 (top level): Test that "set remote conditional-breakpoints-packet
7474 off" works as intended.
7475 * gdb.base/dprintf.exp: Test that "set remote
7476 breakpoint-commands-packet off" works as intended.
7477 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7478 New function.
7479 (top level): Call it.
7480 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7481 remote fast-tracepoints-packet off" works as intended.
7482 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7483 * lib/gdb.exp (gdb_is_target_remote): ... here.
7484
7485 2014-04-24 David Blaikie <dblaikie@gmail.com>
7486
7487 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7488 ensure clang would not discard them.
7489 * gdb.base/gdbvars.c: Ditto.
7490 * gdb.base/memattr.c: Ditto.
7491 * gdb.base/whatis.c: Ditto.
7492 * gdb.python/py-prettyprint.c: Ditto.
7493 * gdb.trace/actions.c: Ditto.
7494 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7495 ensure clang would not discard it.
7496
7497 2014-04-24 David Blaikie <dblaikie@gmail.com>
7498
7499 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7500 clang to emit the full definition of type required by the test
7501 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7502
7503 2014-04-24 David Blaikie <dblaikie@gmail.com>
7504
7505 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7506 coax Clang into emitting the definition of the type.
7507 * gdb.cp/pr10728-x.h (y): Ditto.
7508 * gdb.cp/pr10728-y.cc (y): Ditto.
7509
7510 2014-04-24 David Blaikie <dblaikie@gmail.com>
7511
7512 * gdb.base/label.exp: XFAIL label related tests under Clang.
7513 * gdb.cp/cplabel.exp: Ditto.
7514 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7515 under Clang those using labels.
7516
7517 2014-04-25 Yao Qi <yao@codesourcery.com>
7518
7519 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7520 double_label.
7521 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7522 partial_label and double_label.
7523
7524 2014-04-24 David Blaikie <dblaikie@gmail.com>
7525
7526 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7527
7528 2014-04-24 David Blaikie <dblaikie@gmail.com>
7529
7530 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7531 of the function to work across GCC and Clang.
7532 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7533 pointer types (const void ** const V void **).
7534
7535 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7536 Walfred Tedeschi <walfred.tedeschi@intel.com>
7537
7538 * Makefile.in (EXECUTABLES): Added i386-avx512.
7539 * gdb.arch/i386-avx512.c: New file.
7540 * gdb.arch/i386-avx512.exp: Likewise.
7541
7542 2014-04-23 Keith Seitz <keiths@redhat.com>
7543
7544 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7545 (mi_make_breakpoint_table): New procedure.
7546 (mi_create_breakpoint): Use mi_make_breakpoint
7547 and return the result.
7548 (mi_make_breakpoint): New procedure.
7549 (mi_build_kv_pairs): New procedure.
7550
7551 * gdb.mi/mi-break.exp: Remove unused globals,
7552 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7553 All callers updated.
7554 * gdb.mi/mi-dprintf.exp: Use variable to track command
7555 number.
7556 Update all callers of mi_create_breakpoint and use
7557 mi_make_breakpoint_table.
7558 Remove any unused global variables.
7559 * gdb.mi/mi-nonstop.exp: Likewise.
7560 * gdb.mi/mi-nsintrall.exp: Likewise.
7561 * gdb.mi/mi-nsmoribund.exp: Likewise.
7562 * gdb.mi/mi-nsthrexec.exp: Likewise.
7563 * gdb.mi/mi-reverse.exp: Likewise.
7564 * gdb.mi/mi-simplerun.exp: Likewise.
7565 * gdb.mi/mi-stepn.exp: Likewise.
7566 * gdb.mi/mi-syn-frame.exp: Likewise.
7567 * gdb.mi/mi-until.exp: Likewise.
7568 * gdb.mi/mi-var-cp.exp: Likewise.
7569 * gdb.mi/mi-var-display.exp: Likewise.
7570 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7571 * gdb.mi/mi2-var-child.exp: Likewise.
7572 * gdb.mi/mi-vla-c99.exp: Likewise.
7573 * lib/mi-support.exp: Likewise.
7574
7575 From Ian Lance Taylor <iant@cygnus.com>:
7576 * lib/gdb.exp (parse_args): New procedure.
7577
7578 2014-04-23 Pedro Alves <palves@redhat.com>
7579
7580 * gdb.base/break-unload-file.c: New file.
7581 * gdb.base/break-unload-file.exp: New file.
7582 * gdb.base/sym-file-lib.c (baz): New function.
7583 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7584 field.
7585 (load): Store the segment's mapped size.
7586 (unload): New function.
7587 (unload_shlib): New function.
7588 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7589 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7590 set a breakpoint at baz, and call it.
7591 * gdb.base/sym-file.exp: New tests for stale breakpoint
7592 instructions.
7593
7594 2014-04-23 Pedro Alves <palves@redhat.com>
7595
7596 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7597 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7598 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7599 * gdb.base/hbreak-unmapped.c: New file.
7600 * gdb.base/hbreak-unmapped.exp: New file.
7601 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7602 * lib/gdb.exp (gdb_is_target_remote): ... here.
7603
7604 2014-04-22 Pedro Alves <palves@redhat.com>
7605
7606 * gdb.base/consecutive-step-over.c: New file.
7607 * gdb.base/consecutive-step-over.exp: New file.
7608
7609 2014-04-22 Pedro Alves <palves@redhat.com>
7610
7611 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7612 instead of send_gdb/gdb_expect.
7613
7614 2014-04-22 Yao Qi <yao@codesourcery.com>
7615
7616 * lib/trace-support.exp (generate_tracefile): New procedure.
7617 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7618 return 0.
7619 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7620 if generate_tracefile returns 1.
7621
7622 2014-04-18 Tom Tromey <palves@redhat.com>
7623 Pedro alves <tromey@redhat.com>
7624
7625 PR backtrace/15558
7626 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7627 with a backtrace limit.
7628 * gdb.python/py-frame-inline.exp: Test running to an inline
7629 function with a backtrace limit, and printing the newest frame.
7630 * gdb.python/py-frame-inline.c (main): Call f.
7631
7632 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7633
7634 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7635
7636 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7637
7638 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7639 Drop prefix from unsupported source file path.
7640
7641 2014-04-17 Yao Qi <yao@codesourcery.com>
7642
7643 * lib/gdb.exp (with_target_charset): New proc.
7644 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7645 with_target_charset.
7646 (test_print_strings): Likewise.
7647 (test_repeat_bytes): Likewise.
7648 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7649 for some tests.
7650
7651 2014-04-16 Keith Seitz <keiths@redhat.com>
7652
7653 PR gdb/15827
7654 * gdb.dwarf2/corrupt.c: New file.
7655 * gdb.dwarf2/corrupt.exp: New file.
7656
7657 2014-04-16 Keith Seitz <keiths@redhat.com>
7658
7659 PR c++/16597
7660 * gdb.cp/namelessclass.cc: New file.
7661 * gdb.cp/namelessclass.exp: New file.
7662 * gdb.cp/namelessclass.S: New file.
7663
7664 2014-04-16 Doug Evans <dje@google.com>
7665
7666 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7667 Add comment.
7668 (gdbserver_default_get_comm_port): New function.
7669 (gdbserver_start): Check if board file provided
7670 "gdbserver,get_comm_port" and use it if so.
7671 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7672 (gdb,socketport): Set to "stdio".
7673 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7674 (stdio_gdbserver_template): Delete.
7675 (${board}_get_remote_address): Update.
7676 (${board}_build_remote_cmd): Delete.
7677 (${board}_get_comm_port): New function.
7678 (${board}_spawn): Update.
7679 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7680 Delete.
7681 (${board}_get_remote_address): Update.
7682 (${board}_get_comm_port): New function.
7683
7684 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7685
7686 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7687 appearing in any order.
7688
7689 2014-04-15 Doug Evans <dje@google.com>
7690
7691 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7692 uninitialized value of "description".
7693
7694 2014-04-15 Keith Seitz <keiths@redhat.com>
7695
7696 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7697 Remove unused globals.
7698 (test_running_the_program): Likewise.
7699 (test_controlled_execution): Likewise.
7700 (test_controlling_breakpoints): Likewise.
7701 (test_program_termination): Likewise.
7702
7703 2014-04-15 Keith Seitz <keiths@redhat.com>
7704
7705 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7706 unused globals.
7707 (test_rbreak_creation_and_listing): Likewise.
7708 (test_ignore_count): Likewise.
7709 (test_error): Likewise.
7710
7711 2014-04-15 Pedro Alves <palves@redhat.com>
7712
7713 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7714 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7715 sym-file-loader.c.
7716 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7717 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7718 to sym-file-loader.c.
7719 (struct library): Forward declare.
7720 (load_shlib, lookup_function): Change prototypes.
7721 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7722 (translate_offset): Remove declarations.
7723 (get_text_addr): New declaration.
7724 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7725 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7726 sym-file-loader.h.
7727 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7728 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7729 here from sym-file-loader.h.
7730 (struct library): New structure.
7731 (load_shlib, lookup_function): Change prototypes and adjust to
7732 work with a struct library.
7733 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7734 (translate_offset): Make static.
7735 (get_text_addr): New function.
7736 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7737
7738 2014-04-15 Pedro Alves <palves@redhat.com>
7739
7740 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7741
7742 2014-04-15 Pedro Alves <palves@redhat.com>
7743
7744 * gdb.base/sym-file-loader.c: Include <limits.h>.
7745 (SELF_LINK): New define.
7746 (get_origin): New function.
7747 (load_shlib): Use it.
7748 * gdb.base/sym-file.exp: Don't early return if the target is
7749 remote. Use runto_main, and issue fail is that fails. Use
7750 gdb_load_shlibs.
7751 (shlib_name): Delete.
7752 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7753
7754 2014-04-15 Pedro Alves <palves@redhat.com>
7755
7756 * gdb.base/sym-file.exp: Remove regex characters from test
7757 message. Don't refer to breakpoint numbers in test messages.
7758
7759 2014-04-14 Keith Seitz <keiths@redhat.com>
7760
7761 PR c++/16253
7762 * gdb.cp/var-tag.cc: New file.
7763 * gdb.cp/var-tag.exp: New file.
7764 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7765 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7766 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7767 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7768
7769 2014-04-14 Tom Tromey <tromey@redhat.com>
7770
7771 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7772 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7773 type.
7774 * gdb.cp/enum-class.exp: New file.
7775 * gdb.cp/enum-class.cc: New file.
7776
7777 2014-04-14 Tom Tromey <tromey@redhat.com>
7778
7779 * gdb.dwarf2/enum-type.exp: New file.
7780
7781 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7782
7783 * gdb.mi/mi-vla-c99.exp: New file.
7784 * gdb.mi/vla.c: New file.
7785
7786 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7787
7788 * gdb.base/vla-datatypes.c: New file.
7789 * gdb.base/vla-datatypes.exp: New file.
7790
7791 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7792
7793 * gdb.base/vla-ptr.c: New file.
7794 * gdb.base/vla-ptr.exp: New file.
7795
7796 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7797
7798 * gdb.dwarf2/count.exp: New file.
7799
7800 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7801
7802 * gdb.base/vla-sideeffect.c: New file.
7803 * gdb.base/vla-sideeffect.exp: New file.
7804
7805 2014-04-14 David Blaikie <dblaikie@gmail.com>
7806
7807 * gdb.mi/non-stop.c: Add return value for non-void function return
7808 statement.
7809 * gdb.threads/staticthreads.c: Ditto.
7810
7811 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7812 Doug Evans <xdje42@gmail.com>
7813
7814 * gdb.guile/scm-value.c: Improve test case.
7815 * gdb.guile/scm-value.exp: Add new test.
7816
7817 2014-04-11 David Blaikie <dblaikie@gmail.com>
7818
7819 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7820 override Clang's default.
7821
7822 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7823
7824 Revert the following changes (regressions):
7825
7826 * gdb.base/vla-sideeffect.c: New file.
7827 * gdb.base/vla-sideeffect.exp: New file.
7828
7829 * gdb.dwarf2/count.exp: New file.
7830
7831 * gdb.base/vla-multi.c: New file.
7832 * gdb.base/vla-multi.exp: New file.
7833
7834 * gdb.base/vla-ptr.c: New file.
7835 * gdb.base/vla-ptr.exp: New file.
7836
7837 * gdb.base/vla-datatypes.c: New file.
7838 * gdb.base/vla-datatypes.exp: New file.
7839
7840 * gdb.mi/mi-vla-c99.exp: New file.
7841 * gdb.mi/vla.c: New file.
7842
7843 2014-04-11 Keith Seitz <keiths@redhat.com>
7844
7845 PR c++/16675
7846 * gdb.cp/cpsizeof.exp: New file.
7847 * gdb.cp/cpsizeof.cc: New file.
7848
7849 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7850
7851 * gdb.mi/mi-vla-c99.exp: New file.
7852 * gdb.mi/vla.c: New file.
7853
7854 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7855
7856 * gdb.base/vla-datatypes.c: New file.
7857 * gdb.base/vla-datatypes.exp: New file.
7858
7859 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7860
7861 * gdb.base/vla-ptr.c: New file.
7862 * gdb.base/vla-ptr.exp: New file.
7863
7864 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7865
7866 * gdb.base/vla-multi.c: New file.
7867 * gdb.base/vla-multi.exp: New file.
7868
7869 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7870
7871 * gdb.dwarf2/count.exp: New file.
7872
7873 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7874
7875 * gdb.base/vla-sideeffect.c: New file.
7876 * gdb.base/vla-sideeffect.exp: New file.
7877
7878 2014-04-11 Yao Qi <yao@codesourcery.com>
7879
7880 * gdb.base/completion.exp: Check file exists before running tests
7881 on file completion.
7882
7883 2014-04-10 Pedro Alves <palves@redhat.com>
7884
7885 * gdb.base/cond-eval-mode.c: New file.
7886 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7887 prepare_for_testing to build the new file. Check result of
7888 runto_main.
7889 (test_break, test_watch): New procedures.
7890 (top level): Use them.
7891
7892 2014-04-08 Pierre Muller <muller@sourceware.org>
7893
7894 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7895 Ctrl-V use for mingw hosts.
7896
7897 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7898
7899 * gdb.python/py-value.c: Improve test case.
7900 * gdb.python/py-value.exp: Add new test.
7901
7902 2014-04-07 David Blaikie <dblaikie@gmail.com>
7903
7904 * lib/compiler.c: Identify the clang compiler.
7905 * lib/compiler.cc: Ditto.
7906
7907 2014-04-03 Yao Qi <yao@codesourcery.com>
7908
7909 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7910
7911 2014-04-01 Anton Blanchard <anton@samba.org>
7912
7913 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7914 messages unique.
7915
7916 2014-04-01 Anton Blanchard <anton@samba.org>
7917
7918 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7919 prepare_for_testing.
7920
7921 2014-04-01 Anton Blanchard <anton@samba.org>
7922
7923 * gdb.arch/ppc64-atomic-inst.c: Remove.
7924 * gdb.arch/ppc64-atomic-inst.S: New file.
7925 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7926
7927 2014-03-31 Doug Evans <dje@google.com>
7928
7929 * gdb.base/print-symbol-loading-lib.c: New file.
7930 * gdb.base/print-symbol-loading-main.c: New file.
7931 * gdb.base/print-symbol-loading.exp: New file.
7932
7933 2014-03-31 Yao Qi <yao@codesourcery.com>
7934
7935 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7936
7937 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7938
7939 * gdb.ada/mi_dyn_arr: New testcase.
7940
7941 2014-03-27 Doug Evans <dje@google.com>
7942
7943 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7944
7945 2014-03-27 Yao Qi <yao@codesourcery.com>
7946
7947 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7948 if target is nios2-*-*.
7949
7950 2014-03-26 Yao Qi <yao@codesourcery.com>
7951
7952 * lib/gdb.exp (readline_is_used): New proc.
7953 * gdb.base/completion.exp: Move tests on command complete up.
7954 Skip the rest of tests if readline is not used.
7955 * gdb.ada/complete.exp: Skp the test if readline is not
7956 used.
7957 * gdb.base/filesym.exp: Likewise.
7958 * gdb.base/macscp.exp: Likewise.
7959 * gdb.base/readline-ask.exp: Likewise.
7960 * gdb.base/readline.exp: Likewise.
7961 * gdb.python/py-cmd.exp: Likewise.
7962 * gdb.trace/tfile.exp: Likewise.
7963
7964 2014-03-26 Yao Qi <yao@codesourcery.com>
7965
7966 * gdb.base/macscp.exp: Fix code format issues.
7967
7968 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7969
7970 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7971 * gdb.asm/powerpc64le.inc: New file.
7972
7973 2014-03-25 Pedro Alves <palves@redhat.com>
7974 Doug Evans <dje@google.com>
7975
7976 * gdb.base/source-execution.c: New file.
7977 * gdb.base/source-execution.exp: New file.
7978 * gdb.base/source-execution.gdb: New file.
7979
7980 2014-03-24 Doug Evans <dje@google.com>
7981
7982 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7983 using fission.
7984
7985 2014-03-24 Hui Zhu <hui@codesourcery.com>
7986 Pedro Alves <palves@redhat.com>
7987
7988 PR breakpoints/16101
7989 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7990 test pass/fail messages. Detect missing support for dprintf when
7991 breakpoints are actually inserted.
7992 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7993 breakpoints are actually inserted.
7994 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7995 fails.
7996
7997 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7998
7999 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8000
8001 2014-03-22 Doug Evans <xdje42@gmail.com>
8002
8003 * gdb.python/python.exp (python not supported): Verify multi-line
8004 python command issues an error.
8005 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8006 guile command issues an error.
8007
8008 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8009
8010 * gdb.threads/thread-specific.exp: Handle the lack of usable
8011 $this_breakpoint and $this_thread.
8012
8013 2014-03-21 Hui Zhu <hui@codesourcery.com>
8014
8015 * gdb.base/attach.exp (do_command_attach_tests): New.
8016
8017 2014-03-20 Tom Tromey <tromey@redhat.com>
8018 Pedro Alves <palves@redhat.com>
8019
8020 PR cli/15718
8021 * gdb.base/condbreak-call-false.c: New file.
8022 * gdb.base/condbreak-call-false.exp: New file.
8023
8024 2014-03-20 Pedro Alves <palves@redhat.com>
8025
8026 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8027 Delete.
8028 (block_signals, unblock_signals): Delete.
8029 (child_function_2, main): Remove references to deleted variable
8030 and functions.
8031
8032 2014-03-20 Pedro Alves <palves@redhat.com>
8033
8034 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8035 Use pthread_kill to signal thread 2.
8036 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8037 Adjust to make the test send itself a signal rather than using the
8038 host's "kill" command.
8039
8040 2014-03-20 Pedro Alves <palves@redhat.com>
8041
8042 * gdb.threads/multiple-step-overs.c: New file.
8043 * gdb.threads/multiple-step-overs.exp: New file.
8044 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8045 Adjust expected infrun debug output.
8046
8047 2014-03-20 Pedro Alves <palves@redhat.com>
8048
8049 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8050 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8051
8052 2014-03-20 Pedro Alves <palves@redhat.com>
8053
8054 PR breakpoints/7143
8055 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8056 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8057 of gdb_test_multiple.
8058 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8059 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8060
8061 2014-03-20 Pedro Alves <palves@redhat.com>
8062
8063 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8064 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8065
8066 2014-03-19 Pedro Alves <palves@redhat.com>
8067
8068 * gdb.base/async.exp: Remove early return.
8069
8070 2014-03-19 Pedro Alves <palves@redhat.com>
8071
8072 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8073
8074 2014-03-19 Pedro Alves <palves@redhat.com>
8075
8076 * gdb.base/async.exp (test_background): Expect \r\n after
8077 "completed." in the fail pattern.
8078
8079 2014-03-19 Pedro Alves <palves@redhat.com>
8080
8081 * gdb.base/async.exp (test_background): New procedure.
8082 Use it for all background execution command tests.
8083
8084 2014-03-19 Pedro Alves <palves@redhat.com>
8085
8086 * gdb.base/async.exp: Use prepare_for_testing.
8087
8088 2014-03-19 Pedro Alves <palves@redhat.com>
8089
8090 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8091 the same line.
8092
8093 2014-03-19 Pedro Alves <palves@redhat.com>
8094
8095 * gdb.base/async.c (main): Add "jump here" and "until here" line
8096 marker comments.
8097 * gdb.base/async.exp (jump_here): New global.
8098 (jump& test): Use it.
8099 (until_here): New global.
8100 (until& test): Use it.
8101
8102 2014-03-19 Pedro Alves <palves@redhat.com>
8103
8104 * gdb.base/async.exp: Don't frob gdb_protocol.
8105
8106 2014-03-18 Doug Evans <xdje42@gmail.com>
8107
8108 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8109 Fix spelling of exec-done-display.
8110
8111 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8112
8113 PR gdb/15358
8114 * gdb.base/gdb-sigterm.c: New file.
8115 * gdb.base/gdb-sigterm.exp: New file.
8116
8117 2014-03-18 Pedro Alves <palves@redhat.com>
8118
8119 PR gdb/13860
8120 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8121 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8122 solib-event.
8123
8124 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8125
8126 * gdb.ada/pckd_arr_ren: New testcase.
8127
8128 2014-03-13 Doug Evans <xdje42@gmail.com>
8129
8130 PR guile/16612
8131 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8132 collect after discarding symbols.
8133
8134 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8135 Doug Evans <xdje42@gmail.com>
8136
8137 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8138 to history survives a gc.
8139
8140 2014-03-13 Pedro Alves <palves@redhat.com>
8141
8142 * gdb.base/default.exp: Don't test "target procfs".
8143
8144 2014-03-13 Pedro Alves <palves@redhat.com>
8145
8146 * gdb.base/default.exp: Update "target child" and "target procfs"
8147 tests to not expect "Unix".
8148
8149 2014-03-12 Tom Tromey <tromey@redhat.com>
8150
8151 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8152 New procs. Add target-async tests.
8153 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8154 Add target-async tests.
8155
8156 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8157
8158 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8159 'func_start' and 'func_end' for the beginning and end of the
8160 function code, respectively.
8161 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8162 'func_end' instead of 'func' and 'main'.
8163
8164 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8165
8166 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8167 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8168 generate the debug info assembler source.
8169
8170 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8171
8172 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8173 * gdb.dwarf2/arr-subrange.exp: Likewise.
8174 * gdb.dwarf2/dwz.exp: Likewise.
8175 * gdb.dwarf2/method-ptr.exp: Likewise.
8176 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8177 * gdb.dwarf2/subrange.exp: Likewise.
8178 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8179 * gdb.dwarf2/implptrpiece.exp: Likewise.
8180 * gdb.dwarf2/nostaticblock.exp: Likewise.
8181
8182 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8183
8184 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8185 directory to absolute path name arguments.
8186
8187 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8188
8189 * gdb.ada/tagged_access: New testcase.
8190
8191 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8192
8193 * gdb.btrace/data.exp: Update expected output.
8194
8195 2014-03-06 Yao Qi <yao@codesourcery.com>
8196
8197 * gdb.trace/pr16508.exp: New file.
8198
8199 2014-03-05 Pedro Alves <palves@redhat.com>
8200
8201 PR gdb/16575
8202 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8203 procedure.
8204 (top level): Adjust to use it. Add tests that exercise breakpoint
8205 interaction with the code-cache.
8206
8207 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8208
8209 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8210 test for 'history-append!'.
8211
8212 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8213
8214 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8215 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8216 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8217 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8218 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8219 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8220
8221 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8222
8223 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8224 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8225 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8226
8227 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8228
8229 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8230
8231 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8232
8233 * gdb.dwarf2/arr-stride.c: New file.
8234 * gdb.dwarf2/arr-stride.exp: New file.
8235
8236 2014-02-26 Pedro Alves <palves@redhat.com>
8237
8238 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8239 that won't ever trigger. Make sure that GDB reports the correct
8240 breakpoint that caused the stop.
8241
8242 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8243
8244 PR gdb/16626
8245 * gdb.base/auto-load-script: New file.
8246 * gdb.base/auto-load.c: New file.
8247 * gdb.base/auto-load.exp: New file.
8248
8249 PR gdb/16626
8250 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8251
8252 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8253
8254 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8255 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8256
8257 2014-02-24 Doug Evans <dje@google.com>
8258
8259 * lib/gdb.exp (run_on_host): Log error output if program fails.
8260
8261 2014-02-21 Pedro Alves <palves@redhat.com>
8262
8263 * gdb.threads/step-after-sr-lock.c: Rename to ...
8264 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8265 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8266 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8267 ... this.
8268
8269 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8270
8271 PR tdep/16397
8272 * gdb.arch/amd64-stap-special-operands.exp: New file.
8273 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8274 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8275 * gdb.arch/amd64-stap-triplet.S: Likewise.
8276 * gdb.arch/amd64-stap-triplet.c: Likewise.
8277
8278 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8279
8280 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8281 in .section pseudo-op.
8282
8283 2014-02-20 lin zuojian <manjian2006@gmail.com>
8284 Joel Brobecker <brobecker@adacore.com>
8285 Doug Evans <xdje42@gmail.com>
8286
8287 PR symtab/16581
8288 * gdb.dwarf2/dw2-icycle.S: New file.
8289 * gdb.dwarf2/dw2-icycle.c: New file.
8290 * gdb.dwarf2/dw2-icycle.exp: New file.
8291
8292 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8293
8294 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8295 operations on gdb.Value objects.
8296 * gdb.python/py-value-cc.exp: Add new test to test operations on
8297 gdb.Value objects.
8298
8299 2014-02-18 Doug Evans <dje@google.com>
8300
8301 * Makefile.in (TESTS): New variable.
8302 (expanded_tests, expanded_tests_or_none): New variables
8303 (check-single): Pass $(expanded_tests_or_none) to runtest.
8304 (check-parallel): Only run tests in $(TESTS) if non-empty.
8305 (check/no-matching-tests-found): New rule.
8306 * README: Document TESTS makefile variable.
8307
8308 2014-02-18 Doug Evans <dje@google.com>
8309
8310 * Makefile.in (check-parallel): rm -rf outputs temp.
8311
8312 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8313
8314 Fix "ERROR: no fileid for" in the testsuite.
8315 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8316
8317 2014-02-12 Doug Evans <dje@google.com>
8318
8319 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8320 (MISCELLANEOUS): New variable.
8321 (clean): rm -rf $(MISCELLANEOUS).
8322 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8323 dwp live in the same directory as symlinks, with each symlink pointed
8324 to a differently named file in a different directory.
8325
8326 2014-02-11 Doug Evans <dje@google.com>
8327
8328 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8329 of Tcl file commands.
8330
8331 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8332
8333 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8334 "kill -SIGUSR1 -1".
8335
8336 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8337
8338 * gdb.ada/tick_length_array_enum_idx: New testcase.
8339
8340 2014-02-10 Doug Evans <xdje42@gmail.com>
8341
8342 * configure.ac (AC_OUTPUT): Add gdb.guile.
8343 * configure: Regenerate.
8344 * lib/gdb-guile.exp: New file.
8345 * lib/gdb.exp (get_target_charset): New function.
8346 * gdb.base/help.exp: Update expected output from "apropos apropos".
8347 * gdb.guile/Makefile.in: New file.
8348 * gdb.guile/guile.exp: New file.
8349 * gdb.guile/scm-arch.c: New file.
8350 * gdb.guile/scm-arch.exp: New file.
8351 * gdb.guile/scm-block.c: New file.
8352 * gdb.guile/scm-block.exp: New file.
8353 * gdb.guile/scm-breakpoint.c: New file.
8354 * gdb.guile/scm-breakpoint.exp: New file.
8355 * gdb.guile/scm-disasm.c: New file.
8356 * gdb.guile/scm-disasm.exp: New file.
8357 * gdb.guile/scm-equal.c: New file.
8358 * gdb.guile/scm-equal.exp: New file.
8359 * gdb.guile/scm-error.exp: New file.
8360 * gdb.guile/scm-error.scm: New file.
8361 * gdb.guile/scm-frame-args.c: New file.
8362 * gdb.guile/scm-frame-args.exp: New file.
8363 * gdb.guile/scm-frame-args.scm: New file.
8364 * gdb.guile/scm-frame-inline.c: New file.
8365 * gdb.guile/scm-frame-inline.exp: New file.
8366 * gdb.guile/scm-frame.c: New file.
8367 * gdb.guile/scm-frame.exp: New file.
8368 * gdb.guile/scm-generics.exp: New file.
8369 * gdb.guile/scm-gsmob.exp: New file.
8370 * gdb.guile/scm-iterator.c: New file.
8371 * gdb.guile/scm-iterator.exp: New file.
8372 * gdb.guile/scm-math.c: New file.
8373 * gdb.guile/scm-math.exp: New file.
8374 * gdb.guile/scm-objfile-script-gdb.in: New file.
8375 * gdb.guile/scm-objfile-script.c: New file.
8376 * gdb.guile/scm-objfile-script.exp: New file.
8377 * gdb.guile/scm-objfile.c: New file.
8378 * gdb.guile/scm-objfile.exp: New file.
8379 * gdb.guile/scm-ports.exp: New file.
8380 * gdb.guile/scm-pretty-print.c: New file.
8381 * gdb.guile/scm-pretty-print.exp: New file.
8382 * gdb.guile/scm-pretty-print.scm: New file.
8383 * gdb.guile/scm-section-script.c: New file.
8384 * gdb.guile/scm-section-script.exp: New file.
8385 * gdb.guile/scm-section-script.scm: New file.
8386 * gdb.guile/scm-symbol.c: New file.
8387 * gdb.guile/scm-symbol.exp: New file.
8388 * gdb.guile/scm-symtab-2.c: New file.
8389 * gdb.guile/scm-symtab.c: New file.
8390 * gdb.guile/scm-symtab.exp: New file.
8391 * gdb.guile/scm-type.c: New file.
8392 * gdb.guile/scm-type.exp: New file.
8393 * gdb.guile/scm-value-cc.cc: New file.
8394 * gdb.guile/scm-value-cc.exp: New file.
8395 * gdb.guile/scm-value.c: New file.
8396 * gdb.guile/scm-value.exp: New file.
8397 * gdb.guile/source2.scm: New file.
8398 * gdb.guile/types-module.cc: New file.
8399 * gdb.guile/types-module.exp: New file.
8400
8401 2014-02-10 Yao Qi <yao@codesourcery.com>
8402
8403 PR testsuite/16543
8404 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8405 * configure: Regenerated.
8406 * Makefile.in: New file.
8407
8408 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8409
8410 * gdb.python/py-framefilter.exp: Fix typo.
8411
8412 2014-02-08 Yao Qi <yao@codesourcery.com>
8413
8414 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8415 that no =breakpoint-modified is emitted when breakpoints are
8416 modified through MI commands.
8417
8418 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8419 Pedro Alves <palves@redhat.com>
8420
8421 * gdb.threads/step-after-sr-lock.c: New file.
8422 * gdb.threads/step-after-sr-lock.exp: New file.
8423
8424 2014-02-07 Pedro Alves <palves@redhat.com>
8425
8426 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8427
8428 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8429
8430 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8431 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8432
8433 2014-02-06 Doug Evans <xdje42@gmail.com>
8434
8435 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8436 output.
8437
8438 * gdb.gdb/python-interrupts.exp: New file.
8439
8440 2014-02-05 Yao Qi <yao@codesourcery.com>
8441
8442 * gdb.trace/report.exp (use_collected_data): Test the output
8443 of "info threads" and "info inferiors".
8444
8445 2014-02-05 Yao Qi <yao@codesourcery.com>
8446
8447 Revert this patch:
8448
8449 2013-05-24 Yao Qi <yao@codesourcery.com>
8450
8451 * gdb.trace/tfile.exp: Test inferior and thread.
8452
8453 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8454
8455 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8456 on a function.
8457 * gdb.base/step-bt.c: Call hello via function pointer to make
8458 sure its first instruction is executed on powerpc64le-linux.
8459
8460 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8461
8462 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8463
8464 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8465
8466 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8467 of the test patterns for use on little-endian systems.
8468
8469 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8470
8471 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8472 (decimal_vector): Fix for little-endian.
8473
8474 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8475
8476 * gdb.arch/sparc-sysstep.exp: New file.
8477 * gdb.arch/sparc-sysstep.c: Likewise.
8478
8479 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8480
8481 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8482
8483 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8484
8485 2014-01-23 Tom Tromey <tromey@redhat.com>
8486
8487 * gdb.ada/array_char_idx: New testcase.
8488
8489 2014-01-23 Tom Tromey <tromey@redhat.com>
8490
8491 PR python/16487:
8492 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8493 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8494 classes.
8495
8496 2014-01-23 Tom Tromey <tromey@redhat.com>
8497
8498 PR python/16491:
8499 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8500 string from an inferior frame.
8501 * gdb.python/py-framefilter-mi.exp: Update.
8502
8503 2014-01-22 Doug Evans <dje@google.com>
8504
8505 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8506
8507 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8508
8509 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8510
8511 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8512
8513 * gdb.trace/entry-values.exp: Remove excess space character from
8514 regex patterns. Handle s390 call instruction.
8515
8516 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8517
8518 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8519 define "*_start" label. Make "name" static.
8520 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8521 ${name} by references to ${name}_start.
8522
8523 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8524
8525 * gdb.base/info-macros.exp: Remove "debug" from the compile
8526 options.
8527
8528 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8529
8530 * gdb.dlang/demangle.exp: New file.
8531
8532 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8533
8534 * gdb.dlang/primitive-types.exp: New file.
8535
8536 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8537
8538 * configure.ac: Create gdb.dlang/Makefile.
8539 * configure: Regenerate.
8540 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8541 * gdb.dlang/Makefile.in: New file.
8542 * lib/d-support.exp: New file.
8543 * lib/gdb.exp (skip_d_tests): New proc.
8544
8545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8546
8547 * gdb.btrace/delta.exp: Check reverse stepi.
8548 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8549 * gdb.btrace/finish.exp: New.
8550 * gdb.btrace/next.exp: New.
8551 * gdb.btrace/nexti.exp: New.
8552 * gdb.btrace/record_goto.c: Add comments.
8553 * gdb.btrace/step.exp: New.
8554 * gdb.btrace/stepi.exp: New.
8555 * gdb.btrace/multi-thread-step.c: New.
8556 * gdb.btrace/multi-thread-step.exp: New.
8557 * gdb.btrace/rn-dl-bind.c: New.
8558 * gdb.btrace/rn-dl-bind.exp: New.
8559 * gdb.btrace/data.c: New.
8560 * gdb.btrace/data.exp: New.
8561 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8562
8563 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8564
8565 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8566 * gdb.btrace/exception.exp: Update.
8567 * gdb.btrace/instruction_history.exp: Update.
8568 * gdb.btrace/record_goto.exp: Update.
8569 * gdb.btrace/tailcall.exp: Update.
8570 * gdb.btrace/unknown_functions.exp: Update.
8571 * gdb.btrace/delta.exp: New.
8572
8573 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8574
8575 * gdb.btrace/record_goto.exp: Add backtrace test.
8576 * gdb.btrace/tailcall.exp: Add backtrace test.
8577
8578 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8579
8580 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8581 * gdb.btrace/record_goto.c: New.
8582 * gdb.btrace/record_goto.exp: New.
8583 * gdb.btrace/x86-record_goto.S: New.
8584
8585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8586
8587 * gdb.btrace/function_call_history.exp: Update tests.
8588 * gdb.btrace/instruction_history.exp: Update tests.
8589
8590 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8591
8592 * gdb.btrace/function_call_history.exp: Fix expected field
8593 order for "record function-call-history".
8594 Add new tests for "record function-call-history /c".
8595 * gdb.btrace/exception.cc: New.
8596 * gdb.btrace/exception.exp: New.
8597 * gdb.btrace/tailcall.exp: New.
8598 * gdb.btrace/x86-tailcall.S: New.
8599 * gdb.btrace/x86-tailcall.c: New.
8600 * gdb.btrace/unknown_functions.c: New.
8601 * gdb.btrace/unknown_functions.exp: New.
8602 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8603
8604 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8605
8606 * gdb.btrace/instruction_history.exp: Update.
8607 * gdb.btrace/function_call_history.exp: Update.
8608
8609 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8610
8611 * gdb.btrace/function_call_history.exp: Fix expected function
8612 trace.
8613 * gdb.btrace/instruction_history.exp: Initialize traced.
8614 Remove traced_functions.
8615
8616 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8617
8618 * gdb.btrace/function_call_history.exp: Update
8619 * gdb.btrace/instruction_history.exp: Update.
8620
8621 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8622
8623 * gdb.btrace/enable.exp: Update expected text.
8624
8625 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8626
8627 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8628 bytes.
8629
8630 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8631
8632 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8633
8634 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8635
8636 * lib/gdb.exp (supports_process_record): Return true for
8637 arm*-linux*. (supports_reverse): Likewise.
8638
8639 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8640
8641 PR python/15464
8642 PR python/16113
8643 * gdb.python/py-type.c: Enhance test case.
8644 * gdb.python/py-value-cc.cc: Likewise
8645 * gdb.python/py-type.exp: Add new tests.
8646 * gdb.python/py-value-cc.exp: Likewise
8647
8648 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8649 Pedro Alves <palves@redhat.com>
8650
8651 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8652 Make "name" extern.
8653 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8654 references to ${name}_start by references to ${name}.
8655
8656 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8657
8658 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8659
8660 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8661
8662 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8663
8664 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8665 Pedro Alves <palves@redhat.com>
8666
8667 * gdb.mi/mi-info-os.exp: Connect to the target with
8668 mi_gdb_target_load.
8669
8670 2014-01-08 Pedro Alves <palves@redhat.com>
8671
8672 * gdb.threads/reconnect-signal.c: New file.
8673 * gdb.threads/reconnect-signal.exp: New file.
8674
8675 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8676
8677 * gdb.base/source-dir.exp: New file.
8678
8679 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8680
8681 * gdb.ada/mi_interface: New testcase.
8682
8683 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8684
8685 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8686 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8687 gdb.ada/pp-rec-component/pck.ads: New files.
8688
8689 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8690
8691 * gdb.python/py-pp-integral.c: New file.
8692 * gdb.python/py-pp-integral.py: New file.
8693 * gdb.python/py-pp-integral.exp: New file.
8694
8695 For older changes see ChangeLog-1993-2013.
8696 \f
8697 ;; Local Variables:
8698 ;; mode: change-log
8699 ;; left-margin: 8
8700 ;; fill-column: 74
8701 ;; version-control: never
8702 ;; End:
8703
8704 Copyright 2014-2016 Free Software Foundation, Inc.
8705 Copying and distribution of this file, with or without modification,
8706 are permitted provided the copyright notice and this notice are preserved.
This page took 0.280153 seconds and 4 git commands to generate.