Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
305e13e6
JB
12016-01-21 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.base/break-fun-addr.exp: New file.
4 * gdb.base/break-fun-addr1.c: New file.
5 * gdb.base/break-fun-addr2.c: New file.
6
5f5dfff6
SM
72016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
8
9 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11 enum flag values.
12
fd356fa2
AA
132016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14
15 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16 when GDB can not set the vector return value. Add more comments
17 for clarification.
18
9df22175
AT
192016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
20
21 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
22 command.
23
41d1845e
SM
242016-01-19 Simon Marchi <simon.marchi@ericsson.com>
25
26 * Makefile.in (DO_RUNTEST): Add --status and update usages.
27
01ac6840
SM
282016-01-19 Simon Marchi <simon.marchi@ericsson.com>
29
30 * Makefile.in (check-single): Pass --status to runtest.
31 (check/%.exp): Likewise.
32
332016-01-19 Simon Marchi <simon.marchi@ericsson.com>
34
35 * Makefile.in (check-parallel): Propagate return code from make
36 do-check-parallel.
37
c2f4122d
PA
382016-01-19 Pedro Alves <palves@redhat.com>
39
40 * ax-gdb.c (agent_command_1): Adjust call to decode_line_full.
41 * break-catch-throw.c (re_set_exception_catchpoint): Pass the
42 current program space down to linespec decoding and breakpoint
43 location updating.
44 * breakpoint.c (parse_breakpoint_sals): Adjust calls to
45 decode_line_full.
46 (until_break_command): Adjust calls to decode_line_1.
47 (base_breakpoint_decode_location, bkpt_decode_location): Add
48 'search_pspace' parameter. Pass it along.
49 (bkpt_probe_create_sals_from_location): Adjust calls to
50 parse_probes.
51 (tracepoint_decode_location, tracepoint_probe_decode_location)
52 (strace_marker_decode_location): Add 'search_pspace' parameter.
53 Pass it along.
54 (all_locations_are_pending): Rewrite to take a breakpoint and
55 program space as arguments instead.
56 (hoist_existing_locations): New function.
57 (update_breakpoint_locations): Add 'filter_pspace' parameter. Use
58 hoist_existing_locations instead of always removing all locations,
59 and adjust to all_locations_are_pending change.
60 (location_to_sals): Add 'search_pspace' parameter. Pass it along.
61 Don't disable the breakpoint if there are other locations in
62 another program space.
63 (breakpoint_re_set_default): Adjust to pass down the current
64 program space as filter program space.
65 (decode_location_default): Add 'search_pspace' parameter and pass
66 it along.
67 (prepare_re_set_context): Don't switch program space here.
68 (breakpoint_re_set): Use save_current_space_and_thread instead of
69 save_current_program_space.
70 * breakpoint.h (struct breakpoint_ops) <decode_location>: Add
71 'search_pspace' parameter.
72 (update_breakpoint_locations): Add 'filter_pspace' parameter.
73 * cli/cli-cmds.c (edit_command, list_command): Adjust calls to
74 decode_line_1.
75 * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current
76 program space as filter program space.
77 * linespec.c (struct linespec_state) <search_pspace>: New field.
78 (create_sals_line_offset, convert_explicit_location_to_sals)
79 (parse_linespec): Pass the search program space down.
80 (linespec_state_constructor): Add 'search_pspace' parameter.
81 Store it.
82 (linespec_parser_new): Add 'search_pspace' parameter and pass it
83 along.
84 (linespec_lex_to_end): Adjust.
85 (decode_line_full, decode_line_1): Add 'search_pspace' parameter
86 and pass it along.
87 (decode_line_with_last_displayed): Adjust.
88 (collect_symtabs_from_filename, symtabs_from_filename): New
89 'search_pspace' parameter. Use it.
90 (find_function_symbols): Pass the search program space down.
91 * linespec.h (decode_line_1, decode_line_full): Add
92 'search_pspace' parameter.
93 * probe.c (parse_probes_in_pspace): New function, factored out
94 from ...
95 (parse_probes): ... this. Add 'search_pspace' parameter and use
96 it.
97 * probe.h (parse_probes): Add pspace' parameter.
98 * python/python.c (gdbpy_decode_line): Adjust.
99 * tracepoint.c (scope_info): Adjust.
100
bd0a71fa
MK
1012016-01-19 Marcin Koƛcielnicki <koriakin@0x04.net>
102
103 * gdb.trace/ftrace.exp: Fix expected message on continue.
104 * gdb.trace/pending.exp: Fix expected message on continue.
105 * gdb.trace/trace-break.exp: Fix expected message on continue.
106
8bcbad33
SM
1072016-01-18 Simon Marchi <simon.marchi@ericsson.com>
108
109 * lib/gdb.exp (gdb_test): Remove unused global references.
110
f303dbd6
PA
1112016-01-18 Pedro Alves <palves@redhat.com>
112
113 * gdb.base/async-shell.exp: Adjust expected output.
114 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
115 * gdb.base/siginfo-thread.exp: Adjust expected output.
116 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
117 * gdb.java/jnpe.exp: Adjust expected output.
118 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
119 * gdb.threads/continue-pending-status.exp: Adjust expected output.
120 * gdb.threads/leader-exit.exp: Adjust expected output.
121 * gdb.threads/manythreads.exp: Adjust expected output.
122 * gdb.threads/pthreads.exp: Adjust expected output.
123 * gdb.threads/schedlock.exp: Adjust expected output.
124 * gdb.threads/siginfo-threads.exp: Adjust expected output.
125 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
126 expected output.
127 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
128 output.
129 * gdb.threads/sigthread.exp: Adjust expected output.
130 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
131
b2789696
YQ
1322016-01-18 Yao Qi <yao.qi@linaro.org>
133
134 * gdb.guile/scm-section-script.c: Replace @progbits with
135 %progbits.
136 * gdb.python/py-section-script.c: Likewise.
137
71ef29a8
PA
1382016-01-15 Pedro Alves <palves@redhat.com>
139
140 * gdb.multi/tids.exp: Test star wildcard ranges.
141
3f5b7598
PA
1422016-01-15 Pedro Alves <palves@redhat.com>
143
144 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
145 command from "thread apply" invocation.
146 (thr_apply_info_thr_invalid): Default the expected output to the
147 input tid list.
148 (top level): Add tests that use convenience variables. Add tests
149 for "thread apply" with a valid TID list, but missing the command.
150
663f6d42
PA
1512016-01-13 Pedro Alves <palves@redhat.com>
152
153 * gdb.base/default.exp: Expect $_gthread as well.
154 * gdb.multi/tids.exp: Test $_gthread.
155 * gdb.threads/thread-specific.exp: Test $_gthread.
156
c84f6bbf
PA
1572016-01-13 Pedro Alves <palves@redhat.com>
158
159 * gdb.multi/tids.exp: Test "info threads -gid".
160
22a02324
PA
1612016-01-13 Pedro Alves <palves@redhat.com>
162
163 * gdb.multi/tids.exp: Test InferiorThread.global_num and
164 Breakpoint.thread.
165 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
166
5d5658a1
PA
1672016-01-07 Pedro Alves <palves@redhat.com>
168
169 * gdb.base/break.exp: Adjust to output changes.
170 * gdb.base/hbreak2.exp: Likewise.
171 * gdb.base/sepdebug.exp: Likewise.
172 * gdb.base/watch_thread_num.exp: Likewise.
173 * gdb.linespec/keywords.exp: Likewise.
174 * gdb.multi/info-threads.exp: Likewise.
175 * gdb.threads/thread-find.exp: Likewise.
176 * gdb.multi/tids.c: New file.
177 * gdb.multi/tids.exp: New file.
178
84654457
PA
1792016-01-13 Pedro Alves <palves@redhat.com>
180
181 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
182
e3940304
PA
1832016-01-13 Pedro Alves <palves@redhat.com>
184
185 * gdb.base/default.exp: Expect $_inferior as well.
186 * gdb.multi/base.exp: Test $_inferior.
187
a911d87a
PA
1882016-01-13 Pedro Alves <palves@redhat.com>
189
190 PR breakpoints/19388
191 * gdb.base/catch-signal-siginfo-cond.c: New file.
192 * gdb.base/catch-signal-siginfo-cond.exp: New file.
193
82075af2
JS
1942016-01-12 Josh Stone <jistone@redhat.com>
195 Philippe Waroquiers <philippe.waroquiers@skynet.be>
196
197 * gdb.base/catch-syscall.c (do_execve): New variable.
198 (main): Conditionally trigger an execve.
199 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
200 (test_catch_syscall_execve): New, check entry/return across execve.
201 (do_syscall_tests): Call test_catch_syscall_execve.
202
e46eeedd
PA
2032016-01-12 Pedro Alves <palves@redhat.com>
204
205 * gdb.base/random-signal.exp (do_test): New procedure, with body
206 of testcase moved in.
207
01d8c27e
JK
2082016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
209 Pedro Alves <palves@redhat.com>
210
211 * gdb.base/funcargs.exp (finish from indirectly called function):
212 Reintroduce the case for 'First'.
213
9a706302
JK
2142016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
215 Pedro Alves <palves@redhat.com>
216
217 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
218 (tcatch_vfork_then_child_follow_exec)
219 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
220 identification.
221
c0ecb95f
JK
2222016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
223
224 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
225 and repeats to unlimited.
226 * gdb.python/py-value.exp: Likewise.
227 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
228 and repeats to unlimited.
229
6cfc1fcb
JK
2302016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
231
232 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
233 and reordering the functions.
234 * gdb.multi/hangout.c: Likewise.
235 * gdb.multi/hello.c: Likewise.
236
582a1b00
SM
2372016-01-08 Simon Marchi <simon.marchi@ericsson.com>
238
239 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
240 absolute.
241 (SingleStatisticTestResult.report): Use dict.keys instead of
242 dict.iterkeys.
243
79bc59cb
PA
2442016-01-06 Pedro Alves <palves@redhat.com>
245
246 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
247
43368e1d
MM
2482016-01-04 Markus Metzger <markus.t.metzger@intel.com>
249
250 * gdb.btrace/dlopen.exp: New.
251 * gdb.btrace/dlopen.c: New.
252 * gdb.btrace/dlopen-dso.c: New.
253
79fad5b8
SL
2542015-12-25 Sandra Loosemore <sandra@codesourcery.com>
255
256 * lib/gdb.exp (gdb_test): Update comments to clarify that the
257 PATTERN argument is optional.
258
ab8314b3
JB
2592015-12-24 Joel Brobecker <brobecker@adacore.com>
260
261 * lib/ada.exp (target_compile_ada_from_dir): New function.
262 (gdb_compile_ada): Reimplement avoiding the use of project files.
263 * gdb.ada/gnat_ada.gpr: Delete.
264 * gdb.ada/cond_lang.exp: Adjust test to make path before
265 filename optional.
266 * gdb.ada/small_reg_param.exp: Likewise.
267
fe33faff
SM
2682015-12-22 Simon Marchi <simon.marchi@ericsson.com>
269
270 * gdb.base/foll-vork.exp: Remove HP-UX special case.
271
6d265cb4
TP
2722015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
273
274 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
275 case.
276
10125099
SM
2772015-12-21 Simon Marchi <simon.marchi@ericsson.com>
278
279 * gdb.base/break.exp: Remove dead code.
280 * gdb.base/sepdebug.exp: Likewise.
281
3ca22649
SM
2822015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
283
284 * gdb.asm/asm-source.exp: Remove HP-UX references.
285 * gdb.base/annota1.exp: Likewise.
286 * gdb.base/annota3.exp: Likewise.
287 * gdb.base/attach.exp: Likewise.
288 * gdb.base/bigcore.exp: Likewise.
289 * gdb.base/break.exp: Likewise.
290 * gdb.base/call-ar-st.exp: Likewise.
291 * gdb.base/callfuncs.exp: Likewise.
292 * gdb.base/catch-fork-static.exp: Likewise.
293 * gdb.base/display.exp: Likewise.
294 * gdb.base/foll-exec-mode.exp: Likewise.
295 * gdb.base/foll-exec.exp: Likewise.
296 * gdb.base/foll-fork.exp: Likewise.
297 * gdb.base/foll-vfork.exp: Likewise.
298 * gdb.base/funcargs.exp: Likewise.
299 * gdb.base/hbreak2.exp: Likewise.
300 * gdb.base/inferior-died.exp: Likewise.
301 * gdb.base/interrupt.exp: Likewise.
302 * gdb.base/multi-forks.exp: Likewise.
303 * gdb.base/nodebug.exp: Likewise.
304 * gdb.base/sepdebug.exp: Likewise.
305 * gdb.base/solib1.c: Likewise.
306 * gdb.base/step-test.exp: Likewise.
307 * gdb.mi/non-stop.c: Likewise.
308 * gdb.mi/pthreads.c: Likewise.
309 * gdb.multi/bkpt-multi-exec.ex: Likewise.
310 * gdb.threads/pthreads.c: Likewise.
311 * gdb.threads/staticthreads.exp: Likewise.
312 * lib/future.exp: Likewise.
313 * lib/gdb.exp: Likewise.
314 * gdb.base/so-indr-cl.c: Remove.
315 * gdb.base/so-indr-cl.exp: Likewise.
316 * gdb.base/solib.c: Likewise.
317 * gdb.base/solib.exp: Likewise.
318 * gdb.base/solib2.c: Likewise.
319
b6304613
SM
3202015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
321
322 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
323 * gdb.base/call-ar-st.exp: Likewise.
324 * gdb.base/callfuncs.exp: Likewise.
325 * gdb.base/condbreak.exp: Likewise.
326 * gdb.base/constvars.exp: Likewise.
327 * gdb.base/hbreak2.exp: Likewise.
328 * gdb.base/langs.exp: Likewise.
329 * gdb.base/list.exp: Likewise.
330 * gdb.base/long_long.exp: Likewise.
331 * gdb.base/ptype.exp: Likewise.
332 * gdb.base/scope.exp: Likewise.
333 * gdb.base/signals.exp: Likewise.
334 * gdb.base/so-impl-ld.exp: Likewise.
335 * gdb.base/varargs.exp: Likewise.
336 * gdb.base/volatile.exp: Likewise.
337 * gdb.base/whatis.exp: Likewise.
338 * gdb.cp/cplusfuncs.exp: Likewise.
339 * gdb.cp/inherit.exp: Likewise.
340 * gdb.cp/local.exp: Likewise.
341 * gdb.cp/member-ptr.exp: Likewise.
342 * gdb.cp/method.exp: Likewise.
343 * gdb.cp/overload.exp: Likewise.
344 * gdb.cp/templates.exp: Likewise.
345 * gdb.stabs/weird.exp: Likewise.
346 * lib/compiler.c: Likewise.
347 * lib/compiler.cc: Likewise.
348 * lib/cp-support.exp: Likewise.
349 * lib/gdb.exp: Likewise.
350
bf401b07
SM
3512015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
352
353 * configure.ac: Remove HP-UX case.
354 * configure: Regenerate.
355
aff9c0f8
SM
3562015-12-18 Simon Marchi <simon.marchi@ericsson.com>
357
358 * lib/gdb.exp (gdb_compile): Add function doc.
359
a6904d5a
PA
3602015-12-17 Pedro Alves <palves@redhat.com>
361
362 PR threads/19354
363 * gdb.multi/info-threads.exp: New file.
364
a22279dd
YQ
3652015-12-15 Yao Qi <yao.qi@linaro.org>
366
367 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
368 is aarch64*-*-*.
369
0588c796
SL
3702015-12-14 Sandra Loosemore <sandra@codesourcery.com>
371
372 * gdb.base/history-duplicates.exp: Skip if no readline support.
373
5d978e17
SL
3742015-12-14 Sandra Loosemore <sandra@codesourcery.com>
375
376 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
377
7e763b86
SL
3782015-12-14 Sandra Loosemore <sandra@codesourcery.com>
379
380 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
381
87a3a92c
SL
3822015-12-14 Sandra Loosemore <sandra@codesourcery.com>
383
384 * gdb.base/completion.exp: Skip tests that interrupt GDB with
385 ctrl-C if nointerrupts target property is set.
386 * gdb.base/double-prompt-target-event-error.exp: Likewise.
387 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
388 * gdb.base/paginate-bg-execution.exp: Likewise.
389 * gdb.base/paginate-execution-startup.exp: Likewise.
390 * gdb.base/random-signal.exp: Likewise.
391 * gdb.base/range-stepping.exp: Likewise.
392 * gdb.cp/annota2.exp: Likewise.
393 * gdb.cp/annota3.exp: Likewise.
394 * gdb.gdb/selftest.exp: Likewise.
395 * gdb.threads/continue-pending-status.exp: Likewise.
396 * gdb.threads/leader-exit.exp: Likewise.
397 * gdb.threads/manythreads.exp: Likewise.
398 * gdb.threads/pthreads.exp: Likewise.
399 * gdb.threads/schedlock.exp: Likewise.
400 * gdb.threads/sigthread.exp: Likewise.
401
a8f077dc
DB
4022015-12-11 Don Breazeal <donb@codesourcery.com>
403
404 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
405 remote.
406 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
407 * gdb.base/foll-exec.exp (main): Enable for target remote.
408 * gdb.base/foll-fork.exp (main): Likewise.
409 * gdb.base/foll-vfork.exp (main): Likewise.
410 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
411 (proc continue_to_exit_bp_loc): Use clean_restart.
412 * gdb.base/pie-execl.exp (main): Disable for target remote.
413 * gdb.base/watch-vfork.exp (main): Enable for target remote.
414 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
415 * gdb.threads/execl.exp (main): Likewise.
416 * gdb.threads/fork-child-threads.exp (main): Likewise.
417 * gdb.threads/fork-plus-threads.exp (main): Disable for target
418 remote.
419 * gdb.threads/fork-thread-pending.exp (main): Enable for target
420 remote.
421 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
422 pid.tid style ptids, instead of just tid.
423 * gdb.threads/thread-execl.exp (main): Enable for target remote.
424 * gdb.threads/watchpoint-fork.exp (main): Likewise.
425 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
426 ptids, instead of just tid.
427
3b2464a8
AB
4282015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
429
430 * gdb.base/list.exp (test_list_forward): Add end of file error
431 test.
432 (test_repeat_list_command): Add end of file error test.
433 (test_list_backwards): Add beginning of file error test.
434
a0def019
AB
4352015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
436
437 * gdb.base/list.exp (test_list_invalid_args): New function,
438 defined, and called.
439
5c000dff
AB
4402015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
441
442 * gdb.base/list.exp (test_list): Make test names unique.
443
f1637ebe
YQ
4442015-12-11 Yao Qi <yao.qi@linaro.org>
445
446 * gdb.base/coremaker2.c: Remove.
447
36d6fc0a
PA
4482015-12-10 Pedro Alves <palves@redhat.com>
449
450 * gdb.multi/base.exp: Remove stale "spaces" references.
451
762f7747
PA
4522015-12-10 Pedro Alves <palves@redhat.com>
453
454 * gdb.multi/base.exp: Don't use nowarnings.
455 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
456 * gdb.multi/hangout.c: Include stdio.h.
457 * gdb.multi/hello.c: Include stdlib.h.
458 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
459 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
460 * gdb.multi/multi-arch.exp: Don't use nowarnings.
461
28d2bfb9
AB
4622015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
463
464 * gdb.dwarf2/dw2-ranges-base.c: New file.
465 * gdb.dwarf2/dw2-ranges-base.exp: New file.
466 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
467 support additional line table, and debug ranges generation.
468 (Dwarf::ranges): New function, generate .debug_ranges.
469 (Dwarf::lines): Support generating simple line table programs.
470 (Dwarf::assemble): Initialise new namespace variables.
471
5fc2beac
KB
4722015-12-09 Kevin Buettner <kevinb@redhat.com>
473
474 * gdb.base/async.exp (proc test_background): Add case for
475 asynchronous execution not supported.
476
1c35a88f
LM
4772015-12-09 Luis Machado <lgustavo@codesourcery.com>
478
479 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
480 format and change test names to make them unique.
481
b593e3d9
RK
4822015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
483 Pedro Alves <pedro@redhat.com>
484
485 PR gdb/18702
486 Add checking of floatformats setup on x86_64 hosts.
487 * gdb.arch/i386-float.S (main): Load bigval and smallval.
488 (smallval, bigval): New labels/constants.
489 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
490 float" after loading bigval and smallval.
491
d72413e6
PMR
4922015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
493
494 * gdb.ada/fun_overload_menu.exp: New testcase.
495 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
496
ece66d65
JS
4972015-12-04 Josh Stone <jistone@redhat.com>
498
499 * gdb.base/catch-fork-static.exp: New.
500
41d0efca
YQ
5012015-12-03 Yao Qi <yao.qi@linaro.org>
502
503 * gdb.base/sizeof.c: Don't include stdio.h and
504 ../lib/unbuffer_output.c.
505 (main): New variable 'size' and 'value'. Remove printf and
506 gdb_unbuffer_output. Assign return value to size and value.
507 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
508 at the beginning.
509 (check_sizeof): Check the result by printing variable 'size'.
510 (check_valueof): Check the result by printing variable 'value'.
511
99fd02d9
YQ
5122015-12-01 Yao Qi <yao.qi@linaro.org>
513
514 * gdb.base/disp-step-syscall.exp: Define syscall instruction
515 for aarch64*-*-linux* target.
516
f2faf941
PA
5172015-11-30 Pedro Alves <palves@redhat.com>
518
519 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
520
04bf20c5
PA
5212015-11-30 Pedro Alves <palves@redhat.com>
522
523 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
524 Handle non-stop mode vCont replies.
525
09df4675
PA
5262015-11-30 Pedro Alves <palves@redhat.com>
527
528 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
529 prepare_for_testing. Start gdb with "set non-stop on" appended to
530 GDBFLAGS. Lax expected stop output.
531
58b584af
YQ
5322015-11-27 Yao Qi <yao.qi@linaro.org>
533
534 * gdb.arch/arm-neon.exp: New.
535 * gdb.arch/arm-neon.c: New.
536
dfcb77a8
YQ
5372015-11-27 Yao Qi <yao.qi@linaro.org>
538
539 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
540
88e8ec1b
YQ
5412015-11-27 Yao Qi <yao.qi@linaro.org>
542
543 * gdb.cp/annota2.exp: Allow multiple occurrences of the
544 frames-invalid annotation.
545
bfde72c2
YQ
5462015-11-27 Yao Qi <yao.qi@linaro.org>
547
548 * gdb.cp/annota2.exp: Use ${frames_invalid}.
549
f6512a69
SM
5502015-11-26 Simon Marchi <simon.marchi@ericsson.com>
551
552 * gdb.threads/names.exp: New file.
553 * gdb.threads/names.c: New file.
554 * README: Mention gdb,no_thread_names.
555
46a3515b
MM
5562015-11-26 Markus Metzger <markus.t.metzger@intel.com>
557
558 PR 19297
559 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
560 support" error.
561
62147a22
PA
5622015-11-24 Pedro Alves <palves@redhat.com>
563
564 PR 17539
565 * gdb.base/display.exp: Expect displays to be sorted in ascending
566 order. Use multi_line.
567 * gdb.base/solib-display.exp: Likewise.
568
2f341b6e
PA
5692015-11-24 Pedro Alves <palves@redhat.com>
570
571 PR 17539
572 * gdb.base/display.exp: Expect displays to be sorted in ascending
573 order. Use multi_line.
574 * gdb.base/solib-display.exp: Likewise.
575
7e0aa6aa
PA
5762015-11-24 Pedro Alves <palves@redhat.com>
577
578 PR 17539
579 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
580 threads in ascending order.
581 * gdb.base/foll-fork.exp: Likewise.
582 * gdb.base/foll-vfork.exp: Likewise.
583 * gdb.base/multi-forks.exp: Likewise.
584 * gdb.mi/mi-nonstop.exp: Likewise.
585 * gdb.mi/mi-nsintrall.exp: Likewise.
586 * gdb.multi/base.exp: Likewise.
587 * gdb.multi/multi-arch.exp: Likewise.
588 * gdb.python/py-inferior.exp: Likewise.
589 * gdb.threads/break-while-running.exp: Likewise.
590 * gdb.threads/execl.exp: Likewise.
591 * gdb.threads/gcore-thread.exp: Likewise.
592 * gdb.threads/info-threads-cur-sal.exp: Likewise.
593 * gdb.threads/kill.exp: Likewise.
594 * gdb.threads/linux-dp.exp: Likewise.
595 * gdb.threads/multiple-step-overs.exp: Likewise.
596 * gdb.threads/next-bp-other-thread.exp: Likewise.
597 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
598 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
599 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
600 * gdb.threads/thread-find.exp: Likewise.
601 * gdb.threads/tls.exp: Likewise.
602 * lib/mi-support.exp (mi_reverse_list): Delete.
603 (mi_check_thread_states): No longer reverse list.
604
2cc57ad8
PA
6052015-11-24 Pedro Alves <palves@redhat.com>
606
607 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
608 use lowercase.
609
c93e8391
SM
6102015-11-23 Simon Marchi <simon.marchi@ericsson.com>
611
612 * gdb.trace/actions.c: Include trace-common.h.
613 (main): Add a location for a fast tracepoint.
614 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
615 the normal tracepoints.
616 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
617
045ccf91
SM
6182015-11-23 Simon Marchi <simon.marchi@ericsson.com>
619
620 * save-trace.exp: Factor out code to these...
621 (gdb_save_tracepoints): New.
622 (gdb_load_tracepoints): New.
623 (do_save_load_test): New.
624
5506f9f6
KB
6252015-11-23 Kevin Buettner <kevinb@redhat.com>
626
627 * gdb.base/asmlabel.exp: New test.
628 * gdb.base/asmlabel.c: New test case.
629
16c3b12f
JB
6302015-11-23 Joel Brobecker <brobecker@adacore.com>
631
632 * gdb.base/wrong_frame_bt_full-main.c: New file.
633 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
634 * gdb.base/wrong_frame_bt_full.exp: New file.
635
155bfbd3
JB
6362015-11-23 Joel Brobecker <brobecker@adacore.com>
637
638 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
639
bb097445
JM
6402015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
641
206853a0 642 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
643 pstate register when comparing registers values in
644 sparc64-*-linux-gnu targets to avoid spurious differences.
645
9c88ed8f
JM
6462015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
647
206853a0 648 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 649
96161e25
SL
6502015-11-19 Sandra Loosemore <sandra@codesourcery.com>
651
652 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
653 as type argument to gdb_compile.
654 * gdb.base/nested-subp2.exp: Likewise.
655 * gdb.base/nested-subp3.exp: Likewise.
656
340c2830
DV
6572015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
658
659 * lib/dwarf.exp (_note): Fix left shift of negative value.
660 * gdb.trace/trace-condition.exp: Likewise.
661
c1862d0f
YQ
6622015-11-13 Yao Qi <yao.qi@linaro.org>
663
664 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
665 comments about d10v.
666 (test_scalar_returns): Likewise.
667 * gdb.base/d10v.ld: Remove.
668 * gdb.base/overlays.exp: Remove the target triplet checking for
669 d10v-*-*.
670 * gdb.base/structs.exp (test_struct_returns): Remove the
671 comments about d10v.
672 (test_struct_calls): Likewise.
673
77ae9c19
YQ
6742015-11-13 Yao Qi <yao.qi@linaro.org>
675
676 * gdb.base/gnu_vector.exp: Check the return value by "p res".
677 * gdb.base/gnu_vector.c: Don't include stdio.h.
678 (main): Don't print res and call add_some_intvecs.
679
430e004e
MK
6802015-11-11 Marcin Koƛcielnicki <koriakin@0x04.net>
681
682 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
683 macro.
684 (func5): Removed.
685 (func4): Use FAST_TRACEPOINT_LABEL.
686 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
687 macro.
688 (func): Removed.
689 (thread_function): Use FAST_TRACEPOINT_LABEL.
690 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
691 (func): Remove.
692 (marker): Use FAST_TRACEPOINT_LABEL.
693 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
694 (pendfunc1): Remove.
695 (pendfunc): Use FAST_TRACEPOINT_LABEL.
696 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
697 (foo): Remove.
698 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
699 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
700 macro.
701 (func): Remove.
702 (marker): Use FAST_TRACEPOINT_LABEL.
703 * gdb.trace/trace-common.h: New header.
704 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
705 macro.
706 (func): Remove.
707 (marker): Use FAST_TRACEPOINT_LABEL.
708 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
709 (func): Remove.
710 (thread_function): Use FAST_TRACEPOINT_LABEL.
711
6e7675a7
MK
7122015-11-10 Marcin Koƛcielnicki <koriakin@0x04.net>
713
714 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
715 in front.
716 * gdb.trace/change-loc.exp: Use global pcreg definition.
717 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
718 * gdb.trace/entry-values.exp: Use global spreg definition, add $
719 in front.
720 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
721 * gdb.trace/pending.exp: Likewise.
722 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
723 * gdb.trace/trace-break.exp: Likewise.
724 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
725 in front.
726 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
727 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
728 in front.
729 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
730
dddc0e16
JB
7312015-11-09 Joel Brobecker <brobecker@adacore.com>
732
733 * gdb.ada/fin_fun_out: New testcase.
734
c6f0b406
KB
7352015-11-07 Kevin Buettner <kevinb@redhat.com>
736
737 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
738 value associated with DW_AT_byte_size.
739 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
740 constants for DW_AT_byte_size, DW_AT_lower_bound, and
741 DW_AT_upper_bound.
742
f01dcfd9
KB
7432015-11-07 Kevin Buettner <kevinb@redhat.com>
744
745 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
746 (gdb_target_symbol_prefix_flags): Define in terms of _asm
747 version.
748 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
749 gdb.dwarf2/dw2-canonicalize-type.exp,
750 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
751 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
752 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
753 provided by gdb_target_symbol_prefix_flags_asm.
754 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
755 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
756 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
757 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
758 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
759 macros where needed). Use this macro for symbols which require
760 the prefix provided by SYMBOL_PREFIX.
761
2223449a
KB
7622015-11-05 Kevin Buettner <kevinb@redhat.com>
763
764 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
765 New procs.
766 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
767 representing expressions, of more than one list element.
768 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
769 to prepend linker symbol prefix to f.
770 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
771 table_1 and table_2.
772 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
773 Likewise, for f and g.
774 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
775 for ptr.
776 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
777 for main.
778 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
779 table_1_ptr and table_2_ptr.
780
6f2f1a3a
JK
7812015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
782 Joel Brobecker <brobecker@adacore.com>
783
784 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
785
566c56c9
MK
7862015-11-04 Marcin Koƛcielnicki <koriakin@0x04.net>
787
788 * gdb.reverse/s390-mvcle.c: New test.
789 * gdb.reverse/s390-mvcle.exp: New file.
790 * lib/gdb.exp: Enable reverse tests on s390*-linux.
791
d5f0636b
MK
7922015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
793
794 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
795
7ad8b86c
MK
7962015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
797
798 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
799 reaching marker2.
800 * gdb.reverse/getresuid-reverse.exp: Likewise.
801 * gdb.reverse/pipe-reverse.exp: Likewise.
802 * gdb.reverse/readv-reverse.exp: Likewise.
803 * gdb.reverse/recvmsg-reverse.exp: Likewise.
804 * gdb.reverse/time-reverse.exp: Likewise.
805 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
806
4081c0f1
YQ
8072015-10-30 Yao Qi <yao.qi@linaro.org>
808
809 * gdb.threads/wp-replication.c (watch_count_done): Remove.
810 (empty_cycle): Remove.
811 (main): Don't call empty_cycle. Don't use watch_count_done.
812 * gdb.threads/wp-replication.exp: Don't set breakpoint on
813 empty_cycle. Rewrite the code counting HW watchpoints.
814
452b4ba5
MK
8152015-10-30 Marcin Koƛcielnicki <koriakin@0x04.net>
816
817 * gdb.reverse/fstatat-reverse.c: New test.
818 * gdb.reverse/fstatat-reverse.exp: New file.
819 * gdb.reverse/getresuid-reverse.c: New test.
820 * gdb.reverse/getresuid-reverse.exp: New file.
821 * gdb.reverse/pipe-reverse.c: New test.
822 * gdb.reverse/pipe-reverse.exp: New file.
823 * gdb.reverse/readv-reverse.c: New test.
824 * gdb.reverse/readv-reverse.exp: New file.
825 * gdb.reverse/recvmsg-reverse.c: New test.
826 * gdb.reverse/recvmsg-reverse.exp: New file.
827 * gdb.reverse/time-reverse.c: New test.
828 * gdb.reverse/time-reverse.exp: New file.
829 * gdb.reverse/waitpid-reverse.c: New test.
830 * gdb.reverse/waitpid-reverse.exp: New file.
831
5e2e7507
JK
8322015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
833
834 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
835
0fde2c53
DE
8362015-10-26 Doug Evans <dje@google.com>
837
838 PR symtab/17391
839 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
840 * gdb.dwarf2/bad-regnum.c: New file.
841 * gdb.dwarf2/bad-regnum.exp: New file.
842
1a70ae97
DE
8432015-10-26 Doug Evans <dje@google.com>
844
845 PR python/18938
846 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
847 file.
848
27dc26ab
JK
8492015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
850
851 * gdb.compile/compile.exp (compile code globalvar): Update expectation
852 for a change by "Mention language in compile error message".
853
bed91f4d
SM
8542015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
855
856 PR python/18073
857 * gdb.python/py-type.c (C::a_method): New.
858 (C::a_const_method): New.
859 (C::a_static_method): New.
860 (a_function): New.
861 * gdb.python/py-type.exp (test_fields): Test getting fields
862 from function and method.
863
3f2f83dd
KB
8642015-10-21 Keven Boell <keven.boell@intel.com>
865
866 * gdb.fortran/vla-alloc-assoc.exp: New file.
867 * gdb.fortran/vla-datatypes.exp: New file.
868 * gdb.fortran/vla-datatypes.f90: New file.
869 * gdb.fortran/vla-history.exp: New file.
870 * gdb.fortran/vla-ptype-sub.exp: New file.
871 * gdb.fortran/vla-ptype.exp: New file.
872 * gdb.fortran/vla-sizeof.exp: New file.
873 * gdb.fortran/vla-sub.f90: New file.
874 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
875 * gdb.fortran/vla-value-sub-finish.exp: New file.
876 * gdb.fortran/vla-value-sub.exp: New file.
877 * gdb.fortran/vla-value.exp: New file.
878 * gdb.fortran/vla-ptr-info.exp: New file.
879 * gdb.mi/mi-vla-fortran.exp: New file.
880 * gdb.mi/vla.f90: New file.
881
27145d50
SL
8822015-10-21 Sandra Loosemore <sandra@codesourcery.com>
883
884 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
885 of hardwired timeout value.
886
5f3ff4f8
JK
8872015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
888 Pedro Alves <palves@redhat.com>
889
890 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
891 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
892
bfd09d20
JS
8932015-10-19 Josh Stone <jistone@redhat.com>
894
895 * gdb.base/catch-syscall.c: Include <sched.h>.
896 (unknown_syscall): New variable.
897 (main): Trigger a vfork and an unknown syscall.
898 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
899 (unknown_syscall_number): Likewise.
900 (check_call_to_syscall): Accept an optional syscall pattern.
901 (check_return_from_syscall): Likewise.
902 (check_continue): Likewise.
903 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
904 (test_catch_syscall_skipping_return): New test toggling off 'catch
905 syscall' to step over the syscall return, then toggling back on.
906 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
907 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
908 (do_syscall_tests): Call test_catch_syscall_without_args and
909 test_catch_syscall_mid_vfork.
910 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
911 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
912
b32b93c6
AS
9132015-10-19 Andrew Stubbs <ams@codesourcery.com>
914
915 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
916 print g_vE): Add new pass patterns.
917 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
918 print various symbol names for vptr fields.
919
9d622bda
AB
9202015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
921
922 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
923 results.
924
0fd8ac1c
YQ
9252015-10-12 Yao Qi <yao.qi@linaro.org>
926
927 * gdb.arch/disp-step-insn-reloc.exp: New test case.
928
34240514
YQ
9292015-10-12 Yao Qi <yao.qi@linaro.org>
930
931 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
932 is aarch64*-*-linux*.
933
8240f442
YQ
9342015-10-12 Yao Qi <yao.qi@linaro.org>
935
936 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
937 (can_relocate_bcond_true): ... it.
938 (can_relocate_bcond_false): New function.
939 (foo): Likewise.
940 (can_relocate_bl): Likewise.
941 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
942 can_relocate_bl.
943
2520f728
PMR
9442015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
945
946 * gdb.base/nested-addr.c: New file.
947 * gdb.base/nested-addr.exp: New testcase.
948
abcef95a
MM
9492015-10-09 Markus Metzger <markus.t.metzger@intel.com>
950
951 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
952 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
953 its output. Ignore the output of "record goto begin" and instead
954 check that GDB is replaying.
955
145e3ddb
PA
9562015-10-09 Pedro Alves <palves@redhat.com>
957
958 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
959 (top level): Use it in the run with no args test.
960
d5d8c4e1
IB
9612015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
962
963 * gdb.dlang/properties.exp: New file.
964
06e635ef
SL
9652015-10-02 Sandra Loosemore <sandra@codesourcery.com>
966
967 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
968 whether or not address 0x1000 is mapped on the target.
969
e019fd1d
SM
9702015-09-30 Simon Marchi <simon.marchi@ericsson.com>
971
972 * gdb.python/py-type.exp: Do not run tests if binaries fail to
973 build.
974
77ba2a67
MM
9752015-09-30 Markus Metzger <markus.t.metzger@intel.com>
976
977 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
978 instruction-history test.
979
c60eb31f
DE
9802015-09-28 Doug Evans <dje@google.com>
981
982 * gdb.base/gcore.c (array_func): Add reference to static_array.
983
9a3c8263
SM
9842015-09-25 Simon Marchi <simon.marchi@ericsson.com>
985
986 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
987 source line.
988
9720e656
SL
9892015-09-24 Sandra Loosemore <sandra@codesourcery.com>
990
991 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
992 short or char as base type.
993
938d3bf2
SL
9942015-09-23 Sandra Loosemore <sandra@codesourcery.com>
995
996 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
997 to allow any size enum.
998
e6c2c623
PMR
9992015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1000
1001 * gdb.ada/array_ptr_renaming.exp: New testcase.
1002 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1003 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1004
06da0f77
PL
10052015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1006
1007 * gdb.trace/ftrace-lock.c: New file.
1008 * gdb.trace/ftrace-lock.exp: New file.
1009
4f51c22a
PL
10102015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1011
1012 * gdb.arch/insn-reloc.c: New file.
1013 * gdb.arch/ftrace-insn-reloc.exp: New file.
1014
7041adf4
PL
10152015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1016
1017 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1018 instruction.
1019 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1020 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1021 * gdb.trace/range-stepping.c: Likewise.
1022 * gdb.trace/trace-break.c: Likewise.
1023 * gdb.trace/trace-mt.c (thread_function): Likewise.
1024 * gdb.trace/ftrace.c (marker): Likewise.
1025 * gdb.trace/trace-condition.c (marker): Likewise.
1026 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1027 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1028 is_aarch64_target.
1029
015d2e7e
DE
10302015-09-18 Doug Evans <xdje42@gmail.com>
1031
1032 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1033 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1034
26b188a2
SL
10352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1036
1037 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1038 the breakpoint.
1039
79dc332b
SL
10402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1041
1042 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1043 the pending breakpoint. Remove timeout override for "Run till
1044 MI pending breakpoint on pendfunc3 on thread 2" test.
1045
f57929f2
SL
10462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1047
1048 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1049 filename pattern.
1050
3f469b17
SL
10512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1052
1053 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1054 in breakpoint filename pattern.
1055
515b89b3
SL
10562015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1057
7800dbe4
SL
1058 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1059
10602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1061
515b89b3
SL
1062 * gdb.linespec/explicit.exp: Check for readline support for
1063 tab-completion tests. Fix obvious typo.
1064
d2939ba2
MM
10652015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1066
1067 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1068 and replay.
1069
cbb55fa7
MM
10702015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1071
1072 * gdb.btrace/non-stop.c: New.
1073 * gdb.btrace/non-stop.exp: New.
1074
43691ca1
PL
10752015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1076 Yao Qi <yao.qi@linaro.org>
1077
1078 * gdb.trace/trace-condition.c: New file.
1079 * gdb.trace/trace-condition.exp: New file.
1080
d78908cf
WW
10812015-09-16 Wei-cheng Wang <cole945@gmail.com>
1082
1083 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1084 for testing bytecode compilation.
1085
1ed415e2
PA
10862015-09-16 Pedro Alves <palves@redhat.com>
1087 Sandra Loosemore <sandra@codesourcery.com>
1088
1089 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1090 (SECONDS): Redefine.
1091 (main): Call pthread_kill and alarm early.
1092 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1093 support.
1094 (test): If the target can't hardware step and doesn't support
1095 displaced stepping, increase the timeout.
1096
d136eff5
PA
10972015-09-16 Pedro Alves <palves@redhat.com>
1098
1099 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1100 (enable_debug): New procedures.
1101 (test): Use them. Bail out if waiting for threads fails.
1102 (top level): Bail out if a test fails.
1103
991f019c
YQ
11042015-09-16 Yao Qi <yao.qi@linaro.org>
1105
1106 * gdb.asm/asm-source.exp: Set asm-arch for
1107 aarch64*-*-* target.
1108 * gdb.asm/aarch64.inc: New file.
1109
bfca584f
PMR
11102015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1111
1112 * gdb.ada/array_of_variable_length.exp: New testcase.
1113 * gdb.ada/array_of_variable_length/foo.adb: New file.
1114 * gdb.ada/array_of_variable_length/pck.adb: New file.
1115 * gdb.ada/array_of_variable_length/pck.ads: New file.
1116
b326e587
DE
11172015-09-15 Doug Evans <dje@google.com>
1118
1119 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1120 of function static local variable.
1121
5382cfab
PW
11222015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1123
1124 * gdb.threads/tls-so_extern.exp: New test file.
1125 * gdb.threads/tls-so_extern.c: New test file.
1126 * gdb.threads/tls-so_extern_main.c: New test file.
1127
141c5cc4
JK
11282015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1129
1130 * gdb.opt/solib-intra-step-lib.c: New file.
1131 * gdb.opt/solib-intra-step-main.c: New file.
1132 * gdb.opt/solib-intra-step.exp: New file.
1133
d15dcecd
PA
11342015-09-15 Pedro Alves <palves@redhat.com>
1135
1136 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1137 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1138
4c2f2a79
PA
11392015-09-14 Pedro Alves <palves@redhat.com>
1140
1141 * gdb.base/hook-stop-continue.c: Delete.
1142 * gdb.base/hook-stop-continue.exp: Delete.
1143 * gdb.base/hook-stop-frame.c: Delete.
1144 * gdb.base/hook-stop-frame.exp: Delete.
1145 * gdb.base/hook-stop.c: New file.
1146 * gdb.base/hook-stop.exp: New file.
1147
919e6dbe
PMR
11482015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1149
1150 * gdb.ada/access_to_packed_array.exp: New testcase.
1151 * gdb.ada/access_to_packed_array/foo.adb: New file.
1152 * gdb.ada/access_to_packed_array/pack.adb: New file.
1153 * gdb.ada/access_to_packed_array/pack.ads: New file.
1154
157280a4
MM
11552015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1156
1157 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1158 buffer size test.
1159
2fd33e94
DB
11602015-09-11 Don Breazeal <donb@codesourcery.com>
1161
1162 * gdb.base/foll-exec.c: Add copyright header. Fix
1163 formatting issues.
1164 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1165 (do_exec_tests): Use clean_restart in place of zap_session,
1166 and for test initialization. Fix formatting issues. Use
1167 fail in place of perror.
1168 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1169 an expect statement to match an expression with output from
1170 the program under debug.
1171 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1172 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1173 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1174 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1175 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1176
e70b6e8e
DE
11772015-09-09 Doug Evans <dje@google.com>
1178
1179 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1180
7a551a51
DE
11812015-09-09 Doug Evans <dje@google.com>
1182
1183 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1184
4c666f84
DE
11852015-09-09 Doug Evans <dje@google.com>
1186
1187 * gdb.base/savedregs.exp: Fix typo.
1188
243a9253
PA
11892015-09-09 Pedro Alves <palves@redhat.com>
1190
1191 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1192
c0fa8fbd
SL
11932015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1194
1195 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1196 command actually switches threads. Give up on remaining
1197 tests if target fails to stop at breakpoint.
1198
cd7c1778
PMR
11992015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1200
1201 * gdb.ada/funcall_char.exp: New testcase.
1202 * gdb.ada/funcall_char/foo.adb: New file.
1203
dc5c8746
PMR
12042015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1205
1206 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1207 expected outputs. Add two testcases for completing ambiguous
1208 functions.
1209 * gdb.ada/complete/aux_pck.adb: New file.
1210 * gdb.ada/complete/aux_pck.ads: New file.
1211 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1212 Ambiguous_Func functions.
1213 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1214 * gdb.ada/complete/pck.adb: Likewise.
1215
4e83a1e7
UW
12162015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1217
1218 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1219 failures to run the test program under GDB.
1220
8ce74153
LM
12212015-08-26 Luis Machado <lgustavo@codesourcery.com>
1222
1223 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1224 to C.
1225
e9756d52
PP
12262015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1227
1228 * gdb.base/run-after-attach.exp: New test file.
1229 * gdb.base/run-after-attach.c: New test file.
1230
8d37573b
DB
12312015-08-26 Don Breazeal <donb@codesourcery.com>
1232
1233 * gdb.base/foll-exec-2.c: New test program.
1234 * gdb.base/foll-exec-2.exp: New test.
1235
63e43d3a
PMR
12362015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1237
1238 * gdb.base/nested-subp1.exp: New file.
1239 * gdb.base/nested-subp1.c: New file.
1240 * gdb.base/nested-subp2.exp: New file.
1241 * gdb.base/nested-subp2.c: New file.
1242 * gdb.base/nested-subp3.exp: New file.
1243 * gdb.base/nested-subp3.c: New file.
1244
3d40fbb5
PA
12452015-08-24 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.server/connect-without-multi-process.c: New file.
1248 * gdb.server/connect-without-multi-process.exp: New file.
1249
4422ac93
LM
12502015-08-24 Luis Machado <lgustavo@codesourcery.com>
1251
1252 * gdb.opt/inline-markers.c: Make z int.
1253
91dddb86
LM
12542015-08-24 Luis Machado <lgustavo@codesourcery.com>
1255
1256 * gdb.opt/inline-markers.c: Make z volatile.
1257
a48847ee
LM
12582015-08-24 Luis Machado <lgustavo@codesourcery.com>
1259
1260 * gdb.opt/inline-bt.c: New volatile global z.
1261 * gdb.opt/inline-cmds.c: Likewise.
1262 * gdb.opt/inline-locals.c: Likewise.
1263 * gdb.opt/inline-markers.c: New extern global z.
1264 (marker): Use z.
1265 (inline_fn): Likewise.
1266
0ebbc52b
PA
12672015-08-24 Pedro Alves <palves@redhat.com>
1268
1269 * config/m32r-stub.exp: Remove file.
1270 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1271 * gdb.base/call-rt-st.exp: Likewise.
1272 * gdb.base/call-strs.exp: Likewise.
1273 * gdb.base/default.exp: Remove references to h8300-*-hms and
1274 *-*-udi*.
1275 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1276
77c365df
AA
12772015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1278
1279 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1280 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1281 and "return" use KFAIL when GDB can not read/write the vector
1282 return value.
1283
4313b8c0
GB
12842015-08-21 Gary Benson <gbenson@redhat.com>
1285
1286 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1287
0e433b32
PA
12882015-08-20 Pedro Alves <palves@redhat.com>
1289
1290 * gdb.server/solib-list.exp: No longer expect an interior stop in
1291 non-stop mode.
1292
221e1a37
PA
12932015-08-20 Pedro Alves <palves@redhat.com>
1294
1295 * gdb.server/connect-stopped-target.c: New file.
1296 * gdb.server/connect-stopped-target.exp: New file.
1297
40e3ad0e
PA
12982015-08-20 Pedro Alves <palves@redhat.com>
1299
1300 * gdb.dwarf2/comp-unit-lang.exp: New file.
1301 * gdb.dwarf2/comp-unit-lang.c: New file.
1302
af39b327
PMR
13032015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1304
1305 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1306 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1307
7d45c7c3 13082015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1309
7d45c7c3
KB
1310 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1311 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1312
4d6cceb4
DE
13132015-08-18 Doug Evans <dje@google.com>
1314 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1315
1316 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1317 skip_python_tests. New arg prompt_regexp.
1318 (skip_python_tests): New function.
1319 * lib/mi-support.exp (mi_skip_python_tests): New function.
1320 * gdb.python/py-mi-objfile-gdb.py: New file.
1321 * gdb.python/py-mi-objfile.c: New file.
1322 * gdb.python/py-mi-objfile.exp: New file.
1323
ad89c2aa
KS
13242015-08-17 Keith Seitz <keiths@redhat.com>
1325
1326 * gdb.linespec/explicit.exp: Move strace test from here ...
1327 * gdb.trace/strace.exp: ... to here.
1328
e3ae3c43
PP
13292015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1330
1331 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1332 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1333
604b2636
DE
13342015-08-14 Doug Evans <xdje42@gmail.com>
1335
1336 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1337 inferior before selecting a new file.
1338
6ff0ba5f
DE
13392015-08-14 Doug Evans <xdje42@gmail.com>
1340
1341 * gdb.mi/mi-disassemble.exp: Update.
1342 * gdb.base/disasm-optim.S: New file.
1343 * gdb.base/disasm-optim.c: New file.
1344 * gdb.base/disasm-optim.h: New file.
1345 * gdb.base/disasm-optim.exp: New file.
1346
9ca98f92
KS
13472015-08-14 Keith Seitz <keiths@redhat.com>
1348
1349 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1350 "evaluated-by".
1351
52bbc560
JB
13522015-08-13 Joel Brobecker <brobecker@adacore.com>
1353
1354 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1355
5d8c3ed3
PMR
13562015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1357
1358 * gdb.ada/fun_renaming.exp: New testcase.
1359 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1360 * gdb.ada/fun_renaming/pack.adb: New file.
1361 * gdb.ada/fun_renaming/pack.ads: New file.
1362
ea8812bc
KS
13632015-08-12 Keith Seitz <keiths@redhat.com>
1364
1365 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1366 gdb_get_line_number.
1367
4dafcdeb
JB
13682015-08-12 Joel Brobecker <brobecker@adacore.com>
1369
1370 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1371 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1372 gdb.base/dso2dso.exp: New files.
1373
5ba32597
SDJ
13742015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1375 Pedro Alves <palves@redhat.com>
1376 Keith Seitz <keiths@redhat.com>
1377
1378 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1379 GDBFLAGS.
1380
b6dafabf
PP
13812015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1382
1383 * gdb.base/gdbhistsize-history.exp
1384 (test_histsize_history_setting): Use save_vars.
1385 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1386 Use save_vars.
1387 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1388 * gdb.base/readline.exp: Use save_vars.
1389
abe8e607
PP
13902015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1391
1392 * lib/gdb.exp (save_vars): New proc.
1393
629500fa
KS
13942015-08-11 Keith Seitz <keiths@redhat.com>
1395
1396 * gdb.base/help.exp: Update help_breakpoint_text.
1397
eb8c4e2e
KS
13982015-08-11 Keith Seitz <keiths@redhat.com>
1399
1400 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1401 (at toplevel): Call test_explicit_breakpoints.
1402 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1403 breakpoints.
1404 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1405 breakpoint conditions, "-cond".
1406
87f0e720
KS
14072015-08-11 Keith Seitz <keiths@redhat.com>
1408
1409 * gdb.linespec/3explicit.c: New file.
1410 * gdb.linespec/cpexplicit.cc: New file.
1411 * gdb.linespec/cpexplicit.exp: New file.
1412 * gdb.linespec/explicit.c: New file.
1413 * gdb.linespec/explicit.exp: New file.
1414 * gdb.linespec/explicit2.c: New file.
1415 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1416 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1417 before using in the matching pattern.
1418 Clarify that `prefix' is a regular expression.
1419
f00aae0f
KS
14202015-08-11 Keith Seitz <keiths@redhat.com>
1421
1422 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1423 test.
1424 Add tests for missing ",FMT" and ",".
1425
e27852be
DE
14262015-08-10 Doug Evans <dje@google.com>
1427 Keith Seitz <keiths@redhat.com>
1428
1429 PR gdb/17960
1430 * gdb.base/completion.exp: Add location completer tests.
1431
7f03bd92
PA
14322015-08-07 Pedro Alves <palves@redhat.com>
1433
1434 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1435 tests here.
1436 (top level): Run do_test with and without displaced stepping.
1437
3fc8eb30
PA
14382015-08-07 Pedro Alves <palves@redhat.com>
1439
1440 * gdb.base/valgrind-disp-step.c: New file.
1441 * gdb.base/valgrind-disp-step.exp: New file.
1442
d4569d7b
PA
14432015-08-07 Pedro Alves <palves@redhat.com>
1444
1445 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1446 Delete function.
1447 (main): Add alarm. Run an infinite loop instead of calling
1448 wait_threads.
1449 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1450 comment.
1451 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1452 Delete function.
1453 (main): Add alarm. Run an infinite loop instead of calling
1454 wait_threads.
1455 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1456 comment.
1457
e1316e60
PA
14582015-08-07 Pedro Alves <palves@redhat.com>
1459
1460 * gdb.base/checkpoint-ns.exp: New file.
1461 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1462 standard_testfile.
1463
da8c46d2
MM
14642015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1465
1466 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1467 * gdb.btrace/instruction_history.exp: Update.
1468 * gdb.btrace/tsx.exp: New.
1469 * gdb.btrace/tsx.c: New.
1470
de1c2c52
PA
14712015-08-06 Pedro Alves <palves@redhat.com>
1472
1473 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1474 increase timeout.
1475 * gdb.reverse/until-precsave.exp: Bump timeouts.
1476
782e0bf4
PA
14772015-08-06 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1480
83e97ed0
PA
14812015-08-06 Pedro Alves <palves@redhat.com>
1482
1483 PR gdb/18749
1484 * gdb.threads/process-dies-while-handling-bp.c: New file.
1485 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1486
863d01bd
PA
14872015-08-06 Pedro Alves <palves@redhat.com>
1488
1489 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1490 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1491
0a39bb32
PA
14922015-08-05 Pedro Alves <palves@redhat.com>
1493
1494 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1495 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1496
ee2d2b10
SL
14972015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1498
1499 * gdb.base/bp-permanent.exp: Report test as unsupported if
1500 the target cannot stop at the permanent breakpoint.
1501
4e1bdb00
DE
15022015-08-03 Doug Evans <dje@google.com>
1503
1504 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1505 10000.
1506
3d338901
DE
15072015-08-03 Doug Evans <dje@google.com>
1508
1509 * Makefile.in (workers/%.worker, build-perf): New rule.
1510 (GDB_PERFTEST_MODE): New variable.
1511 (check-perf): Use it.
1512 (clean): Clean up gdb.perf parallel build subdirs.
1513 * lib/build-piece.exp: New file.
1514 * lib/gdb.exp (make_gdb_parallel_path): New function
1515 (standard_output_file, standard_temp_file): Call it.
1516 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1517 of $GDB_PARALLEL.
1518 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1519
af061d3e
DE
15202015-08-03 Doug Evans <dje@google.com>
1521
8e1afc81 1522 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1523 (LOG_FILE_NAME): New global.
1524 (TextReporter.__init__): Initialize self.txt_sum.
1525 (TextReporter.report): Add support for multiple data-points.
1526 Move report to perftest.sum, put raw data in perftest.log.
1527 (TextReporter.start): Open sum and log files.
1528 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1529 * gdb.perf/lib/perftest/testresult.py
1530 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1531
2c8c5d37
PA
15322015-07-31 Pedro Alves <palves@redhat.com>
1533
1534 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1535 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1536 kill_wait_spawned_process instead of explicit "kill -9".
1537 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1538 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1539 kill_wait_spawned_process.
1540 * gdb.base/attach-twice.exp: Likewise.
1541 * gdb.base/attach.exp: Likewise.
1542 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1543 gdb_test_multiple.
1544 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1545 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1546 kill_wait_spawned_process.
1547 * gdb.base/valgrind-infcall.exp: Likewise.
1548 * gdb.multi/multi-attach.exp: Likewise.
1549 * gdb.python/py-prompt.exp: Likewise.
1550 * gdb.python/py-sync-interp.exp: Likewise.
1551 * gdb.server/ext-attach.exp: Likewise.
1552 * gdb.threads/attach-into-signal.exp (corefunc): Use
1553 spawn_wait_for_attach, spawn_id_get_pid and
1554 kill_wait_spawned_process.
1555 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1556 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1557 spawn_id_get_pid and kill_wait_spawned_process.
1558 * gdb.threads/attach-stopped.exp (corefunc): Use
1559 spawn_wait_for_attach, spawn_id_get_pid and
1560 kill_wait_spawned_process.
1561 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1562 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1563 kill_wait_spawned_process instead of explicit "kill -9".
1564 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1565 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1566 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1567 processes. Don't map cygwin/windows pids here. Now returns a
1568 spawn id list.
1569
032a0fca
SL
15702015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1571
1572 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1573 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1574 correct patch.
1575
61a934ca
SL
15762015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1577
1578 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1579
4bc4d428
SL
15802015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1581
1582 Reapply:
1583 2014-05-21 Mark Wielaard <mjw@redhat.com>
1584
1585 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1586
998d452a
PA
15872015-07-30 Pedro Alves <palves@redhat.com>
1588
1589 * linux-low.c (handle_extended_wait): Set the child's last
1590 reported status to TARGET_WAITKIND_STOPPED.
1591
69dde7dc
PA
15922015-07-30 Pedro Alves <palves@redhat.com>
1593
1594 PR threads/18600
1595 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1596 only shows inferior 1.
1597
4dd63d48
PA
15982015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1599 Pedro Alves <palves@redhat.com>
1600
1601 PR threads/18600
1602 * gdb.threads/fork-plus-threads.c: New file.
1603 * gdb.threads/fork-plus-threads.exp: New file.
1604
d618e4c5
PP
16052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1606
1607 * gdb.base/batch-preserve-term-settings.exp
1608 (test_terminal_settings_preserved_after_cli_exit): Use
1609 send_quit_command.
1610
1eef6428
PA
16112015-07-29 Pedro Alves <palves@redhat.com>
1612 Don Breazeal <donb@codesourcery.com>
1613
1614 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1615 output from both inferior_spawn_id and gdb_spawn_id.
1616
7da5b897
SDJ
16172015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1618
1619 * gdb.threads/attach-into-signal.exp (corefunc): Use
1620 with_test_prefix on nested loops, uniquefying the test messages.
1621
dac804df
SDJ
16222015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1623
1624 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1625 commit.
1626
06265e53
PP
16272015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1628
1629 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1630 New proc.
1631 (test_terminal_settings_preserved_after_sigterm): New test.
1632
18206ca3
PP
16332015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1634
1635 * gdb.base/batch-preserve-term-settings.exp
1636 (test_terminal_settings_preserved_after_cli_exit): New test.
1637
90074d11
PP
16382015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1639
1640 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1641 manipulation of saved_gdbflags.
1642 (test_terminal_settings_preserved): Remove global declaration of
1643 the unused variable pagination_prompt. Remove manipulation of
1644 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1645 GDBFLAGS.
1646
eb1a7902
PA
16472015-07-29 Pedro Alves <palves@redhat.com>
1648
1649 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1650
8b75dd3b
PA
16512015-07-29 Pedro Alves <palves@redhat.com>
1652
1653 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1654 at the top.
1655
dedad4e3
PA
16562015-07-29 Pedro Alves <palves@redhat.com>
1657
1658 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1659 (main): Call gdb_unbuffer_output.
1660 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1661 (main): Call gdb_unbuffer_output.
1662 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1663 (main): Call gdb_unbuffer_output.
1664 * gdb.base/call-strs.exp: Adjust to step over the
1665 gdb_unbuffer_output call.
1666 * gdb.base/catch-gdb-caused-signals.c: Include
1667 "../lib/unbuffer_output.c".
1668 (main): Call gdb_unbuffer_output.
1669 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1670 (main): Call gdb_unbuffer_output.
1671 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1672 (main): Call gdb_unbuffer_output.
1673 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1674 (main): Call gdb_unbuffer_output.
1675 * gdb.base/shlib-call.exp: Adjust to step over the
1676 gdb_unbuffer_output call.
1677 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1678 (main): Call gdb_unbuffer_output.
1679 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1680 (main): Call gdb_unbuffer_output.
1681 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1682 (main): Rename to ...
1683 (test): ... this.
1684 (main): Reimplement.
1685 * gdb.base/varargs.exp: Run to test instead of to main.
1686 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1687 (main): Call gdb_unbuffer_output.
1688
58789a91
PA
16892015-07-29 Pedro Alves <palves@redhat.com>
1690
1691 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1692 factore out from mi_continue_dprintf. For call-style dprintfs,
1693 expect dprintf output out of $inferior_spawn_id.
1694 (mi_continue_dprintf): Use mi_expect_dprintf.
1695 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1696 (main): Call gdb_unbuffer_output.
1697
e8376742
PA
16982015-07-29 Pedro Alves <palves@redhat.com>
1699
1700 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1701 (default_mi_gdb_start): Set inferior_spawn_id instead of
1702 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1703 gdb_spawn_id.
1704 (mi_gdb_test): Always expect inferior output from both
1705 $inferior_spawn_id and $gdb_spawn_id.
1706
08280010
PA
17072015-07-29 Pedro Alves <palves@redhat.com>
1708
1709 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1710 send_inferior and $inferior_spawn_id.
1711
4d30e432
PA
17122015-07-29 Pedro Alves <palves@redhat.com>
1713
1714 * gdb.gdb/complaints.exp (test_initial_complaints)
1715 (test_serial_complaints, test_short_complaints): Use
1716 gdb_test_stdio.
1717 (test_empty_complaint): Handle $inferior_spawn_id !=
1718 $gdb_spawn_id.
1719
0d30a335
PA
17202015-07-29 Pedro Alves <palves@redhat.com>
1721
1722 * gdb.base/varargs.exp: Use gdb_test_stdio.
1723
39413b29
PA
17242015-07-29 Pedro Alves <palves@redhat.com>
1725
1726 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1727
7cb000a9
PA
17282015-07-29 Pedro Alves <palves@redhat.com>
1729
1730 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1731
d7b8ac82
PA
17322015-07-29 Pedro Alves <palves@redhat.com>
1733
1734 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1735 parameter into two new parameters, "inf_result" and "gdb_result".
1736 Expect inferior output and gdb output from $inferior_spawn_id and
1737 $gdb_spawn_id, respectively. Adjust all callers.
1738
789c3a0c
PA
17392015-07-29 Pedro Alves <palves@redhat.com>
1740
1741 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1742 of gdb_test_sequence.
1743
77e760c3
PA
17442015-07-29 Pedro Alves <palves@redhat.com>
1745
1746 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1747 (saw_spurious_output): Expect inferior output from
1748 $inferior_spawn_id. Use gdb_test_stdio.
1749
8396d2cd
PA
17502015-07-29 Pedro Alves <palves@redhat.com>
1751
1752 * gdb.base/dprintf.exp: Use standard_testfile. Change
1753 prepare_for_testing call.
1754 (srcfile): Don't set.
1755 (restart): New procedure.
1756 (test_dprintf): New procecure, use to continue over dprintfs.
1757 (test_call, test_agent): New procedures, tests moved here.
1758 Restart gdb and recreate dprintfs. Adjust expected output.
1759
2051d61f
PA
17602015-07-29 Pedro Alves <palves@redhat.com>
1761
1762 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1763
452397af
PA
17642015-07-29 Pedro Alves <palves@redhat.com>
1765
1766 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1767
8aed9555
PA
17682015-07-29 Pedro Alves <palves@redhat.com>
1769
1770 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1771 gdb_test_stdio.
1772
188a61b4
PA
17732015-07-29 Pedro Alves <palves@redhat.com>
1774
1775 * lib/gdb.exp (gdb_test_stdio): New procedure.
1776
12264a45
PA
17772015-07-29 Pedro Alves <palves@redhat.com>
1778
1779 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1780
23ffc893
PA
17812015-07-29 Pedro Alves <palves@redhat.com>
1782
1783 * gdb.base/call-signal-resume.exp: Remove check for
1784 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1785 * gdb.base/unwindonsignal.exp: Likewise.
1786 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1787 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1788
65566918
PA
17892015-07-29 Pedro Alves <palves@redhat.com>
1790
1791 * gdb.base/siginfo-addr.c (pass): New function.
1792 (handler): Call it iff si_addr is correct.
1793 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1794 Set a breakpoint at "pass" and continue to it.
1795
d60a9221
SDJ
17962015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1797
1798 * gdb.python/py-objfile.exp: Make some tests have unique names.
1799 * gdb.python/py-pp-registration.exp: Likewise.
1800
bde40b8f
PA
18012015-07-28 Pedro Alves <palves@redhat.com>
1802
1803 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1804
13e1dec8
SM
18052015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1806
1807 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1808
da33c9a7
SM
18092015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1810
1811 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1812
077836f7
PP
18132015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1814
1815 * gdb.base/gdb-sigterm-2.exp: New test.
1816
b8cc7b2e
DE
18172015-07-25 Doug Evans <xdje42@gmail.com>
1818
1819 Revert:
1820 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1821 (workers/%.worker, build-perf): New rule.
1822 (GDB_PERFTEST_MODE): New variable.
1823 (check-perf): Use it.
1824 (clean): Clean up gdb.perf parallel build subdirs.
1825 * lib/build-piece.exp: New file.
1826 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1827 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1828 name.
1829 (standard_temp_file): Ditto.
1830 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1831 of $GDB_PARALLEL.
1832
c8bd4544
DE
18332015-07-24 Doug Evans <dje@google.com>
1834
1835 * gdb.perf/lib/perftest/utils.py: New file.
1836 * gdb.perf/gm-hello.cc: New file.
1837 * gdb.perf/gm-pervasive-typedef.cc: New file.
1838 * gdb.perf/gm-pervasive-typedef.h: New file.
1839 * gdb.perf/gm-std.cc: New file.
1840 * gdb.perf/gm-std.h: New file.
1841 * gdb.perf/gm-use-cerr.cc: New file.
1842 * gdb.perf/gm-utils.h: New file.
1843 * gdb.perf/gmonster-null-lookup.py: New file.
1844 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1845 * gdb.perf/gmonster-print-cerr.py: New file.
1846 * gdb.perf/gmonster-ptype-string.py: New file.
1847 * gdb.perf/gmonster-runto-main.py: New file.
1848 * gdb.perf/gmonster-select-file.py: New file.
1849 * gdb.perf/gmonster1-null-lookup.exp: New file.
1850 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1851 * gdb.perf/gmonster1-print-cerr.exp: New file.
1852 * gdb.perf/gmonster1-ptype-string.exp: New file.
1853 * gdb.perf/gmonster1-runto-main.exp: New file.
1854 * gdb.perf/gmonster1-select-file.exp: New file.
1855 * gdb.perf/gmonster1.cc: New file.
1856 * gdb.perf/gmonster1.exp: New file.
1857 * gdb.perf/gmonster2-null-lookup.exp: New file.
1858 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1859 * gdb.perf/gmonster2-print-cerr.exp: New file.
1860 * gdb.perf/gmonster2-ptype-string.exp: New file.
1861 * gdb.perf/gmonster2-runto-main.exp: New file.
1862 * gdb.perf/gmonster2-select-file.exp: New file.
1863 * gdb.perf/gmonster2.cc: New file.
1864 * gdb.perf/gmonster2.exp: New file.
1865
6eab34f3
DE
18662015-07-24 Doug Evans <dje@google.com>
1867
1868 * gdb.perf/README: New file.
1869 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1870 * lib/gen-perf-test.exp: New file.
1871
63738bfd
DE
18722015-07-24 Doug Evans <dje@google.com>
1873
1874 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1875 (PerfTest::startup): New function.
1876 (PerfTest::run): Return result of calling body.
1877 (PerfTest::assemble): Rewrite.
1878 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1879 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1880 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1881 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1882 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1883
7b606f95
DE
18842015-07-24 Doug Evans <dje@google.com>
1885
1886 * lib/gdb.exp (clean_restart): Make executable optional.
1887
a97b16b8
DE
18882015-07-24 Doug Evans <dje@google.com>
1889
1890 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1891 compiler_info references.
1892 * gdb.cp/temargs.exp: Ditto.
1893 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1894 (get_compiler_info): Early exit if already computed. Set compiler_info
1895 to "unknown" if there was a problem.
1896 (test_compiler_info): Add function comment. Call get_compiler_info.
1897
35baa57f
DE
18982015-07-24 Doug Evans <dje@google.com>
1899
1900 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1901 (workers/%.worker, build-perf): New rule.
1902 (GDB_PERFTEST_MODE): New variable.
1903 (check-perf): Use it.
1904 (clean): Clean up gdb.perf parallel build subdirs.
1905 * lib/build-piece.exp: New file.
1906 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1907 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1908 name.
1909 (standard_temp_file): Ditto.
1910 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1911 of $GDB_PARALLEL.
1912
6ebea266
DE
19132015-07-24 Doug Evans <dje@google.com>
1914
1915 * lib/future.exp (gdb_default_target_compile): New option
1916 "early_flags".
1917 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1918 --as-needed.
1919
1e76a7e9
SDJ
19202015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1921
1922 * gdb.base/catch-syscall.exp: Call gdb_exit before
1923 gdb_skip_xml_test.
1924
5068630a
PA
19252015-07-24 Pedro Alves <palves@redhat.com>
1926
1927 * gdb.python/py-events.exp: Accept output between the stop event
1928 and the prompt.
1929 * gdb.python/py-evsignal.exp: Likewise.
1930 * gdb.python/py-evthreads.exp: Likewise.
1931
77598427
PA
19322015-07-24 Pedro Alves <palves@redhat.com>
1933
1934 PR gdb/18717
1935 * gdb.threads/non-ldr-exit.c: New file.
1936 * gdb.threads/non-ldr-exit.exp: New file.
1937
11e6c98f
YQ
19382015-07-24 Yao Qi <yao.qi@linaro.org>
1939
1940 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1941 restarting process.
1942
51aee833
YQ
19432015-07-24 Yao Qi <yao.qi@linaro.org>
1944
1945 * gdb.server/ext-restart.exp: New file.
1946
8cfe207c
YQ
19472015-07-24 Yao Qi <yao.qi@linaro.org>
1948
1949 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1950 argument options.
1951 * gdb.server/ext-wrapper.exp: New file.
1952
cc12ce38
DE
19532015-07-23 Doug Evans <dje@google.com>
1954
1955 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1956 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1957
d0d84780
PMR
19582015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1959
1960 * gdb.ada/var_arr_typedef.exp: New testcase.
1961 * gdb.ada/var_arr_typedef/pack.adb: New file.
1962 * gdb.ada/var_arr_typedef/pack.ads: New file.
1963 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1964
8b558f79
JB
19652015-07-20 Joel Brobecker <brobecker@adacore.com>
1966
1967 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1968
775a3298
JK
19692015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1970
1971 * gdb.arch/i386-biarch-core.exp: Replace istarget
1972 by "complete set gnutarget". Remove expectation for the "core-file"
1973 command.
1974
db1ff28b
JK
19752015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1976
1977 Revert the previous commit:
1978 Tests for validate symbol file using build-id.
1979
0a94970d
JK
19802015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1981
1982 Tests for validate symbol file using build-id.
1983 * gdb.base/solib-mismatch-lib.c: New file.
1984 * gdb.base/solib-mismatch-libmod.c: New file.
1985 * gdb.base/solib-mismatch.c: New file.
1986 * gdb.base/solib-mismatch.exp: New file.
1987
03346981
SL
19882015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1989
1990 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1991 nios2-*-linux*.
1992 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1993 * gdb.base/siginfo.exp: Likewise.
1994 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1995
42422cc7
PL
19962015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1997
1998 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1999 Move it to ...
2000 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2001 ... here.
2002 * gdb.trace/range-stepping.exp: Check that the target supports
2003 range stepping.
2004
cfa68bae
JK
20052015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2006
2007 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2008
8ffdba26
PA
20092015-07-14 Pedro Alves <palves@redhat.com>
2010
2011 * gdb.base/killed-outside.exp: New file.
2012 * gdb.base/killed-outside.c: New file.
2013
218a5a11
JK
20142015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2015
2016 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2017 (n at main): New.
2018 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2019
e03ed3c6
AA
20202015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2021
2022 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2023 infcall tests instead of setting up for KFAIL.
2024
485668e5
MM
20252015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2026
2027 * gdb.btrace/record_goto-step.exp: New.
2028
08464196
JK
20292015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2030
2031 PR compile/18484
2032 * gdb.compile/compile.c (struct struct_type): Add volatile to
2033 selffield's type.
2034 * gdb.compile/compile.exp
2035 (compile code struct_object.selffield = &struct_object): Skip further
2036 struct_object tests if this one xfails.
2037
bcf5c1d9
RC
20382015-07-08 Robert O'Callahan <robert@ocallahan.org>
2039
2040 PR exp/18617
2041 * gdb.trace/ax.exp: Add test.
2042
4931af25
YQ
20432015-07-07 Yao Qi <yao.qi@linaro.org>
2044
2045 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2046 instead of istarget "aarch64*-*-*".
2047 * gdb.arch/aarch64-fp.exp: Likewise.
2048 * gdb.base/float.exp: Likewise.
2049 * gdb.reverse/aarch64.exp: Likewise.
2050 * lib/gdb.exp (is_aarch64_target): New proc.
2051
9fcf688e
YQ
20522015-07-07 Yao Qi <yao.qi@linaro.org>
2053
2054 * lib/gdb.exp (is_aarch32_target): New proc.
2055 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2056 instead of "istarget "arm*-*-*"".
2057 * gdb.arch/arm-disp-step.exp: Likewise.
2058 * gdb.arch/thumb-bx-pc.exp: Likewise.
2059 * gdb.arch/thumb-prologue.exp: Likewise.
2060 * gdb.arch/thumb-singlestep.exp: Likewise.
2061 * gdb.base/disp-step-syscall.exp: Likewise.
2062 * gdb.base/float.exp: Likewise.
2063
fbd8d50d
YQ
20642015-07-07 Yao Qi <yao.qi@linaro.org>
2065
2066 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2067 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2068
71be1fdc
YQ
20692015-07-07 Yao Qi <yao.qi@linaro.org>
2070
2071 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2072 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2073 if it exists.
2074 * gdb.multi/multi-arch.exp: Likewise.
2075
3e221d36
SM
20762015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2077
2078 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2079 print.
2080
d441430b
YQ
20812015-07-07 Yao Qi <yao.qi@linaro.org>
2082
2083 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2084
06f810bd
MG
20852015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2086
2087 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2088 '[' and ']' characters.
2089
5e61e7c0
IB
20902015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2091
2092 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2093
28bf096c
PA
20942015-06-29 Pedro Alves <palves@redhat.com>
2095
2096 PR threads/18127
2097 * gdb.threads/hand-call-new-thread.c: New file.
2098 * gdb.threads/hand-call-new-thread.c: New file.
2099
ee93cd5e
KS
21002015-06-26 Keith Seitz <keiths@redhat.com>
2101 Doug Evans <dje@google.com>
2102
2103 PR 16253
2104 * gdb.cp/var-tag-2.cc: New file.
2105 * gdb.cp/var-tag-3.cc: New file.
2106 * gdb.cp/var-tag-4.cc: New file.
2107 * gdb.cp/var-tag.cc: New file.
2108 * gdb.cp/var-tag.exp: New file.
2109
fc637f04
PP
21102015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2111
2112 * gdb.base/history-duplicates.exp: New test.
2113
2e52ae68
PP
21142015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2115
2116 * gdb.base/completion.exp: Test the completion of the "focus"
2117 command.
2118
6e22494e
JK
21192015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2120
2121 * gdb.arch/amd64-prologue-skip.S: New file.
2122 * gdb.arch/amd64-prologue-skip.exp: New file.
2123
bf7b9cd9
SM
21242015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2125
2126 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2127 is_address_zero_readable check.
2128
201e8dfd
PB
21292015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2130
2131 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2132 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2133
5cd867b4
YQ
21342015-06-24 Yao Qi <yao.qi@linaro.org>
2135
2136 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2137 linux targets.
2138
4d7be007
YQ
21392015-06-24 Yao Qi <yao.qi@linaro.org>
2140
2141 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2142 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2143 * gdb.base/siginfo-thread.exp: Likewise.
2144
07fcd301
YQ
21452015-06-22 Yao Qi <yao.qi@linaro.org>
2146
2147 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2148
52042a00
YQ
21492015-06-22 Yao Qi <yao.qi@linaro.org>
2150
2151 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2152 aarch64*-*-*.
2153 (skip_hw_watchpoint_tests): Likewise.
2154
74bd41ce
PP
21552015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2156
2157 * gdb.base/gdbinit-history.exp: Test the interaction between
2158 setting GDBHISTSIZE and setting the history size via .gdbinit.
2159
bc460514
PP
21602015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2161
2162 PR gdb/16999
2163 * gdb.base/gdbhistsize-history.exp: New test.
2164
b58c513b
PP
21652015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2166
2167 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2168 with GDBHISTSIZE.
2169 * gdb.base/readline.exp: Likewise.
2170
92046791
YQ
21712015-06-17 Yao Qi <yao.qi@linaro.org>
2172
2173 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2174 line.
2175
2093d2d3
PP
21762015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2177
2178 * gdb.base/gdbinit-history.exp: Add test case to check that
2179 an unlimited history file does not get truncated on exit.
2180
e6c693af
AA
21812015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2182
2183 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2184 (VECTOR): New macro. Use it...
2185 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2186 ...for these typedefs.
2187 (int8, char1, int1, double1): New typedefs.
2188 (struct just_int2, struct two_int2): New structures.
2189 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2190 (add_structvecs, add_singlevecs): New functions.
2191 (main): Call add_some_intvecs twice.
2192 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2193 the compile and exit upon failure. Try compiling for the "native"
2194 architecture. Test inferior function calls with vector arguments
2195 and vector return value handling with "finish" and "return".
2196
c74f7d1c
JT
21972015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2198
2199 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2200 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2201 PE file.
2202 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2203
98aa42ee
AT
22042015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2205
2206 PR breakpoints/16465
2207 * gdb.mi/mi-dprintf-pending.c: New file.
2208 * gdb.mi/mi-dprintf-pending.exp: New test.
2209 * gdb.mi/mi-dprintf-pendshr.c: New file.
2210
7d73c23c 22112015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2212 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2213
2214 * gdb.arch/i386-mpx-map.c: New file.
2215 * gdb.arch/i386-mpx-map.exp: New File.
2216
22172015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2218
2219 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2220 * gdb.arch/i386-mpx.exp: Indentation fixed.
2221
22222015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2223
2224 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2225 function and improved indentation.
2226 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2227 gdb_test_multiple. Added additional tests to skip the test.
2228
22292015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2230
2231 * gdb.arch/i386-avx512.c: Change path in include file.
2232 * gdb.arch/i386-avx512.exp: Change include dir path
2233 compilation flag.
2234 * gdb.arch/i386-mpx.c: Change path in include file.
2235 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2236 flag.
2237
d5eba19a
JK
22382015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2239
2240 * gdb.compile/compile-print.exp (compile print *vararray@3)
2241 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2242
7f361056
JK
22432015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2244
2245 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2246 (do not keep jit in memory): ... this.
2247 (expect 5): Change it to ...
2248 (expect no 5): ... this.
2249
3b462ec2
SM
22502015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2251
2252 PR gdb/15564
2253 * gdb.mi/mi-detach.exp: New file.
2254
e0619de6
JK
22552015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2256
2257 PR symtab/18392
2258 * gdb.arch/amd64-tailcall-self.S: New file.
2259 * gdb.arch/amd64-tailcall-self.c: New file.
2260 * gdb.arch/amd64-tailcall-self.exp: New file.
2261
e970cb34
DB
22622015-05-28 Don Breazeal <donb@codesourcery.com>
2263
2264 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2265 tests for remote targets by checking is_target_gdbserver.
2266
b2e2f908
DE
22672015-05-27 Doug Evans <dje@google.com>
2268
2269 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2270 * gdb.dwarf2/opaque-type-lookup.c: New file.
2271 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2272
82c7be31
DE
22732015-05-26 Doug Evans <dje@google.com>
2274
2275 * gdb.cp/iostream.cc: New file.
2276 * gdb.cp/iostream.exp: New file.
2277
b4f54984
DE
22782015-05-26 Doug Evans <dje@google.com>
2279
2280 * gdb.dwarf2/dw2-op-call.exp: Update.
2281 * gdb.dwarf2/dw4-sig-types.exp: Update.
2282 * gdb.dwarf2/implptr.exp: Update.
2283 * gdb.mi/mi-cmd-param-changed.exp: Update.
2284
4ea6efe9
DE
22852015-05-26 Doug Evans <dje@google.com>
2286
2287 * gdb.python/py-lazy-string.c: New file.
2288 * gdb.python/py-lazy-string.exp: New file.
2289 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2290 (main): Update. Add estring3.
2291 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2292 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2293
f6bb7db3
YQ
22942015-05-26 Omair Javaid <omair.javaid@linaro.org>
2295 Yao Qi <yao.qi@linaro.org>
2296
2297 * gdb.reverse/aarch64.c: New.
2298 * gdb.reverse/aarch64.exp: New.
2299
a81bfbd0
OJ
23002015-05-26 Omair Javaid <omair.javaid@linaro.org>
2301
2302 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2303 (supports_reverse): Likewise.
2304
158bf1b4
PP
23052015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2306
2307 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2308 Use with_test_prefix.
2309
a0145030
AB
23102015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2311
2312 * gdb.base/completion.exp: Add test for completion of layout
2313 names.
2314
ebe3b578
AB
23152015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2316
2317 * lib/gdb.exp (skip_tui_tests): New proc.
2318 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2319
84204ed7
PA
23202015-05-19 Pedro Alves <palves@redhat.com>
2321
2322 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2323 Save the whole env array instead of just HOME. Unset HISTSIZE in
2324 the environment while testing. Restore whole environment
2325 afterwards.
2326
37442ce1
DE
23272015-05-16 Doug Evans <xdje42@gmail.com>
2328
2329 * gdb.guile/scm-ports.c: New file.
2330 * gdb.guile/scm-ports.exp: Add memory port tests.
2331
36de76f9
JK
23322015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2333
2334 * gdb.compile/compile-print.c: New file.
2335 * gdb.compile/compile-print.exp: New file.
2336
3a9558c4
JK
23372015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2338
2339 * gdb.compile/compile-ops.exp: Cast param to void.
2340 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2341 (compile code struct_object.selffield = &struct_object): Add xfail.
2342
aa715135
JG
23432015-05-15 Joel Brobecker <brobecker@adacore.com>
2344
2345 * gdb.ada/arr_enum_with_gap: New testcase.
2346
931e5bc3
JG
23472015-05-15 Joel Brobecker <brobecker@adacore.com>
2348
2349 * gdb.ada/byte_packed_arr: New testcase.
2350
9cd4d857
JB
23512015-05-15 Joel Brobecker <brobecker@adacore.com>
2352
2353 * gdb.ada/pckd_neg: New testcase.
2354
ebfd00d2
PP
23552015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2356
2357 PR gdb/17820
2358 * gdb.base/gdbinit-history.exp: New test.
2359 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2360 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2361
4c082a81
SC
23622015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2363
2364 * gdb.python/py-xmethods.cc: Enhance test case.
2365 * gdb.python/py-xmethods.exp: New tests.
2366 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2367 function.
2368 (B_indexoper): Likewise.
2369 (global_dm_list) : Add new xmethod worker functions.
2370
f7797074
SDJ
23712015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2372
2373 * gdb.base/coredump-filter.exp: Correctly unset
2374 "coredump_var_addr" array.
2375
a4674e4e
PA
23762015-05-08 Pedro Alves <palves@redhat.com>
2377
2378 * gdb.server/non-existing-program.exp: Unset spawn_id.
2379
df2eb078
SC
23802015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2381
2382 PR python/18291
2383 * gdb.python/py-xmethods.exp: Add tests.
2384
422349a3
YQ
23852015-05-08 Yao Qi <yao.qi@linaro.org>
2386
2387 PR gdb/18208
2388 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2389 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2390 function set_coredump_filter, and remove remote_exec call.
2391 Remove argument ipid. Callers update.
2392 (top level): Don't get inferior's PID.
2393
63fc80ce
AA
23942015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2395
2396 * gdb.base/watch_thread_num.exp: Skip test on targets without
2397 access watchpoints.
2398
80ad801e
PA
23992015-05-06 Pedro Alves <palves@redhat.com>
2400
2401 PR server/18081
2402 * gdb.server/non-existing-program.exp: New file.
2403
0fa7fe50
JB
24042015-05-05 Joel Brobecker <brobecker@adacore.com>
2405
2406 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2407
3ea89b92
PMR
24082015-05-05 Joel Brobecker <brobecker@adacore.com>
2409
2410 * gdb.ada/out_of_line_in_inlined: New testcase.
2411
87b8eff0
JB
24122015-05-05 Joel Brobecker <brobecker@adacore.com>
2413
2414 * gdb.ada/var_rec_arr: New testcase.
2415
5fccc635
YQ
24162015-04-30 Yao Qi <yao.qi@linaro.org>
2417
2418 * gdb.base/break-idempotent.exp: If
2419 skip_hw_watchpoint_multi_tests returns true, skip the tests
2420 on "rwatch" and "awatch".
2421
42d38f42
YQ
24222015-04-30 Yao Qi <yao.qi@linaro.org>
2423
2424 * gdb.base/relativedebug.exp: Invoke gdb command
2425 "info sharedlibrary", and if libc.so doesn't have debug info,
2426 skip the test.
2427
2ce1cdbf
DE
24282015-04-29 Doug Evans <dje@google.com>
2429
2430 * gdb.python/py-xmethods.exp: Add ptype tests.
2431 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2432 get_result_type method.
2433
f24a38c5
LM
24342015-04-29 Luis Machado <lgustavo@codesourcery.com>
2435
2436 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2437 the target does not support hardware watchpoints.
2438
ecbf2b3c
LM
24392015-04-29 Luis Machado <lgustavo@codesourcery.com>
2440
2441 * gdb.base/break-always.exp: Abort testing if writing to memory
2442 causes an error.
2443
34f5f757
DE
24442015-04-28 Doug Evans <dje@google.com>
2445
2446 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2447 * gdb.python/py-pp-registration.exp: ... here. New file.
2448 * gdb.python/py-pp-registration.c: New file.
2449 * gdb.python/py-pp-registration.py: New file.
2450
69b4374a
DE
24512015-04-28 Doug Evans <dje@google.com>
2452
2453 * gdb.python/py-bad-printers.c: New file.
2454 * gdb.python/py-bad-printers.py: New file.
2455 * gdb.python/py-bad-printers.exp: New file.
2456
59fb7612
SS
24572015-04-28 Sasha Smundak <asmundak@google.com>
2458
2459 * gdb.python/py-type.exp: New test.
2460
2631b16a
AW
24612015-04-28 Andy Wingo <wingo@igalia.com>
2462
2463 * gdb.python/py-parameter.exp:
2464 * gdb.guile/scm-parameter.exp: Escape the path that we are
2465 matching against, as it might contain characters that are special
2466 to regular expressions.
2467
460efde1
JB
24682015-04-27 Joel Brobecker <brobecker@adacore.com>
2469
2470 * gdb.ada/rec_comp: New testcase.
2471
2d369d8e
SDJ
24722015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2473
2474 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2475 before using it.
2476
cf75d6c3
AB
24772015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2478
2479 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2480 new tests for verilog output.
2481
8dbe7ca5
YQ
24822015-04-24 Yao Qi <yao.qi@linaro.org>
2483
2484 * boards/remote-gdbserver-on-localhost.exp: New file.
2485
4ef9fb2f
PA
24862015-04-23 Pedro Alves <palves@redhat.com>
2487
2488 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2489 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2490 "end of file", remove $inferior_spawn_id from the indirect list.
2491
0a803169
PA
24922015-04-23 Pedro Alves <palves@redhat.com>
2493
2494 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2495
749ef8f8
PA
24962015-04-23 Pedro Alves <palves@redhat.com>
2497
2498 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2499 on $any_spawn_id instead of only on $gdb_spawn_id.
2500
8aae4344
PM
25012015-04-21 Pierre Muller <muller@sourceware.org>
2502
2503 PR pascal/17815
2504 * lib/pascal.exp (gpc_compile): Add new option "class".
2505 (fpc_compile): Likewise.
2506 * gdb.pascal/case-insensitive-symbols.pas: New file.
2507 * gdb.pascal/case-insensitive-symbols.exp: New file.
2508
1586c8fb
GB
25092015-04-20 Gary Benson <gbenson@redhat.com>
2510
2511 * gdb.base/attach.exp: Fix three extended remote failures.
2512
1b6e6f5c
GB
25132015-04-17 Gary Benson <gbenson@redhat.com>
2514
2515 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2516 the main executable over the remote protocol.
2517
e797481d
PA
25182015-04-16 Pedro Alves <palves@redhat.com>
2519
2520 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2521 a new gdbserver if gdbserver_reconnect_p is set.
2522
1ca99c42
PA
25232015-04-16 Pedro Alves <palves@redhat.com>
2524
2525 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2526 is set, don't exit gdbserver.
2527
af9fd6f8
AA
25282015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2529
2530 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2531 appropriate .insn, such that an older assembler can be used.
2532 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2533 the z/Architecture instruction set on 31-bit targets as well.
2534
04ff1e61
AA
25352015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2536
2537 * gdb.go/handcall.exp: Remove all logic related to the first
2538 breakpoint and rely on go_runto_main instead.
2539 * gdb.go/strings.exp: Likewise.
2540 * gdb.go/unsafe.exp: Likewise.
2541 * gdb.go/hello.exp: Likewise. Also rename the remaining
2542 breakpoint marker to "breakpoint 1".
2543 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2544 * gdb.go/strings.go: Likewise.
2545 * gdb.go/unsafe.go: Likewise.
2546 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2547 "set breakpoint 2 here" and rename the remaining breakpoint marker
2548 to "breakpoint 1".
2549
40d2f8d6
SM
25502015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2551
2552 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2553 if itertools.imap is not present.
2554 * gdb.python/py-objfile.exp: Add parentheses.
2555 * gdb.python/py-type.exp: Same.
2556 * gdb.python/py-unwind-maint.py: Same.
2557
8cbc97c6
YQ
25582015-04-15 Yao Qi <yao.qi@linaro.org>
2559
2560 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2561 of ":$ptr_size" and set its form explicitly.
2562
45fd756c
YQ
25632015-04-15 Pedro Alves <palves@redhat.com>
2564 Yao Qi <yao.qi@linaro.org>
2565
2566 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2567 timeout by factor of 4.
2568 (test_regular_watch): Likewise.
2569 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2570 * gdb.reverse/sigall-reverse.exp: Likewise.
2571 * gdb.reverse/until-precsave.exp: Likewise.
2572 * lib/gdb.exp (with_timeout_factor): New proc.
2573 (gdb_expect): Move some code to ...
2574 (get_largest_timeout): ... here. New procedure.
2575
9e811bc3
LM
25762015-04-14 Luis Machado <lgustavo@codesourcery.com>
2577
2578 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2579
0ff6fcb2
LM
25802015-04-13 Luis Machado <lgustavo@codesourcery.com>
2581
2582 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2583 to write to the .text section.
2584
7578d5f7
LM
25852015-04-13 Luis Machado <lgustavo@codesourcery.com>
2586
2587 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2588 Handle the case of targets that do not provide PID information.
2589
2efe15c4
YQ
25902015-04-13 Yao Qi <yao.qi@linaro.org>
2591
2592 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2593 and use expect instead of gdb_expect.
2594
8cd8f2f8
SDJ
25952015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2596
2597 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2598 "coredump_var_addr" to avoid naming conflict with other testcases.
2599
9ee41772
PA
26002015-04-10 Pedro Alves <palves@redhat.com>
2601
2602 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2603 gdb_test_sequence and gdb_assert.
2604
07473109
PA
26052015-04-10 Pedro Alves <palves@redhat.com>
2606
2607 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2608 test messages that don't include the breakpoint address.
2609
de3db44c
YQ
26102015-04-10 Yao Qi <yao.qi@linaro.org>
2611
2612 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2613 false for some offset and width combinations which aren't
2614 supported by linux kernel.
2615
c79d856c
PA
26162015-04-10 Pedro Alves <palves@redhat.com>
2617
2618 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2619 procedure, factored out from ...
2620 (top level): ... here. Add "set displaced-stepping" testing axis.
2621 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2622 parameter "displaced". Use it.
2623 (top level): Use foreach and add "set displaced-stepping" testing
2624 axis.
2625
ebc90b50
PA
26262015-04-10 Pedro Alves <palves@redhat.com>
2627
2628 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2629 Remove comment.
2630 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2631 both the address of the instruction that triggers the watchpoint
2632 and the address of the instruction immediately after, and use
2633 those addresses for the test. Fix comment.
2634
8f572e5c
PA
26352015-04-10 Pedro Alves <palves@redhat.com>
2636
2637 * gdb.base/sigstep.exp (breakpoint_to_handler)
2638 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2639 Test "backtrace" in handler.
2640 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2641 (top level): Add new "displaced" test axis to
2642 breakpoint_to_handler, breakpoint_to_handler_entry and
2643 breakpoint_over_handler.
2644
8d707a12
PA
26452015-04-10 Pedro Alves <palves@redhat.com>
2646
2647 PR gdb/18216
2648 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2649
ef713951
YQ
26502015-04-10 Yao Qi <yao.qi@linaro.org>
2651
2652 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2653 (test_add_rn_pc): New function.
2654 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2655 (top level): Invoke test_add_rn_pc.
2656
906d60cf
PA
26572015-04-10 Pedro Alves <palves@redhat.com>
2658
2659 PR gdb/13858
2660 * gdb.base/step-over-no-symbols.exp: New file.
2661
f2983cc3
AW
26622015-04-09 Andy Wingo <wingo@igalia.com>
2663
2664 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2665 after the Python tests.
2666
6d62641c
SDJ
26672015-04-08 Keith Seitz <keiths@redhat.com>
2668
2669 PR python/16699
2670 * gdb.python/py-completion.exp: New tests for completion.
2671 * gdb.python/py-completion.py (CompleteLimit1): New class.
2672 (CompleteLimit2): Likewise.
2673 (CompleteLimit3): Likewise.
2674 (CompleteLimit4): Likewise.
2675 (CompleteLimit5): Likewise.
2676 (CompleteLimit6): Likewise.
2677 (CompleteLimit7): Likewise.
2678
f3770638
PA
26792015-04-08 Pedro Alves <palves@redhat.com>
2680
2681 PR gdb/18214
2682 PR gdb/18216
2683 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2684 function.
2685 (main): Install it as SIGUSR1 handler.
2686 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2687 parameter. Always use "setup" as prefix. Toggle "set
2688 displaced-stepping" off/on depending on global. Don't switch to
2689 thread 1 here.
2690 (top level): Add displaced stepping "off/on" test axis. Update
2691 "setup" calls. Wrap each subtest with with_test_prefix. Test
2692 continuing with a queued signal in each thread.
2693
4496bed7
PA
26942015-04-08 Pedro Alves <palves@redhat.com>
2695
2696 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2697 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2698 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2699 Return early if running to main fails.
2700 * gdb.trace/while-stepping.exp: Likewise.
2701
b97fde92
PA
27022015-04-07 Pedro Alves <palves@redhat.com>
2703
2704 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2705 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2706 interact with inferior program.
2707
f71c18e7
PA
27082015-04-07 Pedro Alves <palves@redhat.com>
2709
2710 * lib/gdb.exp (inferior_spawn_id): New global.
2711 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2712 spawn id after processing the user code.
2713 (default_gdb_start): Set inferior_spawn_id.
2714 (send_inferior): New procedure.
2715 * lib/gdbserver-support.exp (gdbserver_start): Set
2716 inferior_spawn_id.
2717 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2718
6423214f
PA
27192015-04-07 Pedro Alves <palves@redhat.com>
2720
2721 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2722 * lib/gdbserver-support.exp (gdbserver_start): Make
2723 $server_spawn_id global.
2724 (gdbserver_start): Don't wait for gdbserver's spawn id with
2725 expect_background.
2726 (close_gdbserver): New procedure.
2727 (gdb_exit): Rename the default version and reimplement.
2728
71c0ee8c
PA
27292015-04-07 Pedro Alves <palves@redhat.com>
2730
72f4393d 2731 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2732 append the substituted item, not the original item.
2733
203bc29b
PA
27342015-04-07 Pedro Alves <palves@redhat.com>
2735
2736 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2737 gdb_expect.
2738
508a3ddf
PA
27392015-04-07 Pedro Alves <palves@redhat.com>
2740
2741 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2742 output appearing once only.
2743
9f6dbe2b
PA
27442015-04-07 Pedro Alves <palves@redhat.com>
2745
2746 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2747 that doesn't expect anything. Return early if running to main
2748 fails.
2749
337532fa
YQ
27502015-04-07 Yao Qi <yao.qi@linaro.org>
2751
2752 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2753 (child_function): Call alarm.
2754 (main): Move call to alarm into the loop.
2755 * gdb.threads/non-stop-fair-events.exp: Build program with
2756 -DTIMEOUT=$timeout.
2757
01b622d4
DE
27582015-04-06 Doug Evans <xdje42@gmail.com>
2759
2760 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2761 Fix dest parameter to board_info.
2762 (fpc_compile): Ditto.
2763 (gdb_compile_pascal): Rename dest arg to destfile.
2764
961f4160
PMR
27652015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2766
2767 * gdb.ada/funcall_ref.exp: New file.
2768 * gdb.ada/funcall_ref/foo.adb: New file.
2769
cafda597
YQ
27702015-04-02 Yao Qi <yao.qi@linaro.org>
2771
2772 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2773 is remote.
2774
fed040c6
GB
27752015-04-02 Gary Benson <gbenson@redhat.com>
2776
2777 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2778
d11916aa
SS
27792015-04-01 Sasha Smundak <asmundak@google.com>
2780
2781 * gdb.python/py-unwind-maint.c: New file.
2782 * gdb.python/py-unwind-maint.exp: New test.
2783 * gdb.python/py-unwind-maint.py: New file.
2784 * gdb.python/py-unwind.c: New file.
2785 * gdb.python/py-unwind.exp: New test.
2786 * gdb.python/py-unwind.py: New test.
2787
a1471180
PA
27882015-04-01 Pedro Alves <palves@redhat.com>
2789
2790 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2791 to fail instead of non-existent $test.
2792
0bbeccb1
PA
27932015-04-01 Pedro Alves <palves@redhat.com>
2794
2795 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2796 GDBFLAGS if not empty.
2797
3c724c8c
PMR
27982015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2799
2800 * gdb.ada/complete.exp: Remove "multi_line".
2801 * gdb.ada/info_exc.exp: Remove "multi_line".
2802 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2803 * gdb.ada/ptype_field.exp: Remove "multi_line".
2804 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2805 * gdb.ada/tagged.exp: Remove "multi_line".
2806 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2807 [multi_line ...]
2808 * gdb.btrace/delta.exp: Likewise.
2809 * gdb.btrace/exception.exp: Likewise.
2810 * gdb.btrace/function_call_history.exp: Likewise.
2811 * gdb.btrace/instruction_history.exp: Likewise.
2812 * gdb.btrace/nohist.exp: Likewise.
2813 * gdb.btrace/record_goto.exp: Likewise.
2814 * gdb.btrace/segv.exp: Likewise.
2815 * gdb.btrace/stepi.exp: Likewise.
2816 * gdb.btrace/tailcall.exp: Likewise.
2817 * gdb.btrace/unknown_functions.exp: Likewise.
2818 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2819 * lib/gdb.exp: Add the "multi_line" helper.
2820
4eec2deb
PA
28212015-04-01 Pedro Alves <palves@redhat.com>
2822
2823 * gdb.threads/tid-reuse.c: New file.
2824 * gdb.threads/tid-reuse.exp: New file.
2825
df8411da
SDJ
28262015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2827
2828 PR corefiles/16092
2829 * gdb.base/coredump-filter.c: New file.
2830 * gdb.base/coredump-filter.exp: Likewise.
2831
6ef37366
PM
28322015-03-27 Petr Machata <pmachata@redhat.com>
2833
2834 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2835 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2836 (Dwarf::assemble): Initialize them.
2837 (Dwarf::lines): New function.
2838
7ec911b0
JT
28392015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2840
2841 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2842 SYMBOL_PREFIX for x86_64-*-cygwin.
2843
ff908ebf
AW
28442015-03-26 Andy Wingo <wingo@igalia.com>
2845
2846 PR symtab/18148
2847 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2848 const_value but not a location.
2849 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2850 location defined in non-main CUs are visible.
2851
6d5f0679
YQ
28522015-03-26 Yao Qi <yao.qi@linaro.org>
2853
2854 PR testsuite/18139
2855 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2856 Add a line number entry for the same line.
2857 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2858 Add a line number entry for the same line.
2859
2898689b
YQ
28602015-03-26 Yao Qi <yao.qi@linaro.org>
2861
2862 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2863 .int 0.
2864 (func): Likewise. Add .Lfunc_1 label.
2865 Use .Lfunc_1 label.
2866 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2867 .int 0.
2868 (func): Likewise.
2869 Use .Lfunc_1 label.
2870
85180498
YQ
28712015-03-26 Yao Qi <yao.qi@linaro.org>
2872
2873 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2874 Call gdb_compile instead to compile each .s files without debug
2875 information.
2876
8aa08a8d
YQ
28772015-03-26 Yao Qi <yao.qi@linaro.org>
2878
2879 * gdb.base/savedregs.exp (process_saved_regs): Make
2880 "Saved registers:" optional in the pattern.
2881
66849923
MM
28822015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2883
2884 * gdb.btrace/next.exp: Merged into step.exp.
2885 * gdb.btrace/finish.exp: Merged into step.exp.
2886 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2887 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2888 "record goto" and checking the exact replay position.
2889 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2890 check for "Recording format" in "info record" output.
2891 * gdb.btrace/record_goto.exp: Choose test file based on target.
2892 * gdb.btrace/x86-record_goto.S: Renamed into ...
2893 * gdb.btrace/x86_64-record_goto.S: ... this.
2894 * gdb.btrace/i686-record_goto.S: New.
2895 * gdb.btrace/x86-tailcall.S: Renamed into ...
2896 * gdb.btrace/x86_64-tailcall.S: ... this.
2897 * gdb.btrace/i686-tailcall.S: New.
2898 * gdb.btrace/x86-tailcall.c: Renamed into ...
2899 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2900 separate statements. Update test.
2901 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2902 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2903 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2904 * gdb.btrace/tailcall.exp: Choose test file based on target.
2905 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2906
11cc1b74
MM
29072015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2908
2909 * gdb.btrace/exception.exp: Increase BTS buffer size.
2910
a25d8bf9
PA
29112015-03-24 Pedro Alves <palves@redhat.com>
2912
2913 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2914
856e7dd6
PA
29152015-03-24 Pedro Alves <palves@redhat.com>
2916
2917 * gdb.threads/schedlock.exp (test_step): No longer expect that
2918 "set scheduler-locking step" with "next" over a function call runs
2919 threads unlocked.
2920
ad235a41
AT
29212015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2922
2923 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2924
15630549
AT
29252015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2926
2927 PR breakpoints/16466
2928 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2929 * gdb.mi/mi-pending.c (thread_func): New function.
2930 (int main): Add threading support required.
2931 * gdb.mi/mi-pending.exp: Add tests for this issue.
2932 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2933 (pendfunc2): Remove stdio dependency.
2934 * gdb.mi/mi-pendshr2.c: New file.
2935
693dca06
KS
29362015-03-23 Keith Seitz <keiths@redhat.com>
2937
2938 * gdb.linespec/keywords.c: New file.
2939 * gdb.linespec/keywords.exp: New file.
2940
7e993ebf
KS
29412015-03-23 Keith Seitz <keiths@redhat.com>
2942
2943 PR gdb/18021
2944 * gdb.dwarf2/staticvirtual.exp: New test.
2945
bc23328c
JK
29462015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2947
2948 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2949 * README: Remove HP-UX and gdb.hp.
2950 (configuration):
2951 * configure: Regenerate.
2952 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2953 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2954 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2955 gdb.hp/gdb.defects/Makefile.
2956 * gdb.hp/Makefile.in: File deleted.
2957 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2958 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2959 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2960 * gdb.hp/gdb.aCC/run.c: File deleted.
2961 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2962 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2963 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2964 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2965 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2966 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2967 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2968 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2969 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2970 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2971 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2972 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2973 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2974 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2975 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2976 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2977 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2978 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2979 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2980 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2981 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2982 * gdb.hp/gdb.compat/average.c: File deleted.
2983 * gdb.hp/gdb.compat/sum.c: File deleted.
2984 * gdb.hp/gdb.compat/xdb.c: File deleted.
2985 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2986 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2987 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2988 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2989 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2990 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2991 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2992 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2993 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2994 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2995 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2996 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2997 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2998 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2999 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3000 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3001 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3002 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3003 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3004 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3005 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3006 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3007 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3008 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3009 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3010 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3011 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3012 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3013 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3014 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3015 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3016 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3017 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3018 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3019 * gdb.hp/tools/odump: File deleted.
3020
8bf3b159
PA
30212015-03-19 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3024 (saw_thread_3): New globals.
3025 (top level): Increment them when an event for the corresponding
3026 thread is seen.
3027 (no thread starvation): New test.
3028
eb54c8bf
PA
30292015-03-19 Pedro Alves <palves@redhat.com>
3030
3031 * gdb.threads/continue-pending-status.c: New file.
3032 * gdb.threads/continue-pending-status.exp: New file.
3033
32d2e5d6
PA
30342015-03-18 Pedro Alves <palves@redhat.com>
3035
3036 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3037 Use gdb_is_target_remote instead of is_remote. Use
3038 gdb_test_multiple instead of gdb_expect. Exit early if
3039 gdb_test_multiple hits its internal matches. Tighten stepi tests
3040 expected output. Fail on exit with any signal, instead of just
3041 SIGILL.
3042
f68f11b7
YQ
30432015-03-18 Yao Qi <yao.qi@linaro.org>
3044
3045 PR tdep/18107
3046 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3047 variable.
3048 * gdb.base/catch-syscall.exp: Don't skip it on
3049 aarch64*-*-linux* target. Remove elements in all_syscalls.
3050 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3051 target.
3052 (setup_all_syscalls): New proc.
3053
ca5fd19b
YQ
30542015-03-16 Yao Qi <yao.qi@linaro.org>
3055
3056 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3057 (top level): Skip tests if valid_addr_p returns false for
3058 $cmd1 or $cmd2.
3059
85642ba0
AW
30602015-03-11 Andy Wingo <wingo@igalia.com>
3061
3062 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3063
e03f9645
YQ
30642015-03-11 Yao Qi <yao.qi@linaro.org>
3065
3066 * gdb.base/catch-syscall.exp: Fix typo in comments.
3067
5d0962b2
YQ
30682015-03-11 Yao Qi <yao.qi@linaro.org>
3069
3070 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3071
b2df3cef
PA
30722015-03-09 Pedro Alves <palves@redhat.com>
3073
3074 * dg-extract-results.py: Delete.
3075
ef878e53
PA
30762015-03-09 Pedro Alves <palves@redhat.com>
3077
3078 Merge dg-extract-results.sh from GCC upstream (r218843).
3079
3080 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3081 * dg-extract-results.sh: Use --text with grep to avoid issues with
3082 binary files. Fall back to cat -v, if that doesn't work.
3083
9494d219
PA
30842015-03-05 Pedro Alves <palves@redhat.com>
3085
3086 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3087
a8d9763a
SM
30882015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3089
3090 * lib/mi-support.exp (mi_expect_interrupt): Accept
3091 alternative event for when in all-stop mode.
3092
be9957b8
PA
30932015-03-04 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3096
d57be0f4 30972015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3098
3099 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3100
c214c7cf
AA
31012015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3102
3103 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3104 regexps for GDB's current line display, accept a hex address
3105 preceding the line number.
3106
6d74a497
AA
31072015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3108
3109 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3110 the 'arch1' variable for "s390*-linux*" targets.
3111
511aee7c
PA
31122015-03-04 Pedro Alves <palves@redhat.com>
3113
3114 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3115 (main): Pass missing retval argument to pthread_join call.
3116
95e50b27
PA
31172015-03-02 Pedro Alves <palves@redhat.com>
3118
3119 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3120 (top level): Call do_test with non-stop as well.
3121
28054d69
PA
31222015-03-02 Pedro Alves <palves@redhat.com>
3123
3124 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3125 -1.
3126
4fa5d7b4
AA
31272015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3128
3129 * gdb.arch/s390-vregs.exp: New test.
3130 * gdb.arch/s390-vregs.S: New file.
3131
97c18565
PA
31322015-02-27 Pedro Alves <palves@redhat.com>
3133
3134 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3135 call to catch_command_errors.
3136 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3137 catch_command_errors.
3138
a37bfa30
PA
31392015-02-27 Pedro Alves <palves@redhat.com>
3140
3141 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3142 "true" for boolean result.
3143 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3144 prototype of main.
3145
6f98576f
PA
31462015-02-27 Pedro Alves <palves@redhat.com>
3147
3148 * lib/unbuffer_output.c: New file.
3149 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3150 (main): Call gdb_unbuffer_output.
3151
eba5ab56
YQ
31522015-02-27 Yao Qi <yao.qi@linaro.org>
3153
3154 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3155 target.
3156
0def5aaa
DE
31572015-02-26 Doug Evans <dje@google.com>
3158
3159 * gdb.cp/class2.cc (Dbase, D): New classes.
3160 (main): New local delta.
3161 * gdb.cp/class2.exp: Test printing delta.
3162 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3163 (dynbar): New global.
3164 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3165
081a1c2c
JK
31662015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3167
3168 * gdb.compile/compile-ifunc.c: New file.
3169 * gdb.compile/compile-ifunc.exp: New file.
3170
2f41223f
AT
31712015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3172
3173 * gdb.base/structs.exp: Check for correct struct on finish.
3174
03eddd80
YQ
31752015-02-26 Yao Qi <yao.qi@linaro.org>
3176
3177 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3178 is zero.
3179
80c57053
JK
31802015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3181
3182 * gdb.arch/cordic.ko.bz2: New file.
3183 * gdb.arch/cordic.ko.debug.bz2: New file.
3184 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3185
21613c12
YQ
31862015-02-25 Yao Qi <yao.qi@linaro.org>
3187
3188 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3189 aarch64*-*-* target.
3190
d8b901ed
PA
31912015-02-23 Pedro Alves <palves@redhat.com>
3192
3193 * lib/gdb.exp (delete_breakpoints): Rewrite using
3194 gdb_test_multiple.
3195
e5b85ead
PA
31962015-02-23 Pedro Alves <palves@redhat.com>
3197
3198 * gdb.base/info-os.c: Include stdlib.h.
3199
85c3a371
DE
32002015-02-22 Doug Evans <xdje42@gmail.com>
3201
3202 PR symtab/17855
3203 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3204 is read after symbols have been re-read.
3205 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3206 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3207
96553a0c
DE
32082015-02-21 Doug Evans <dje@google.com>
3209
3210 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3211
97a0c697
JK
32122015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3213
3214 PR corefiles/17808
3215 * gdb.arch/i386-biarch-core.core.bz2: New file.
3216 * gdb.arch/i386-biarch-core.exp: New file.
3217
a47cd6e9
PA
32182015-02-21 Pedro Alves <palves@redhat.com>
3219
3220 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3221 runto_main fails.
3222
c5facdc4
PA
32232015-02-20 Pedro Alves <palves@redhat.com>
3224
3225 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3226 info probes.
3227
2db9a427
PA
32282015-02-20 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3231
60fb7e9e
PA
32322015-02-20 Pedro Alves <palves@redhat.com>
3233
3234 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3235 clean_restart before gdb_target_supports_trace.
3236
5c5019c2
PA
32372015-02-20 Pedro Alves <palves@redhat.com>
3238
3239 PR threads/18006
3240 * gdb.threads/clone-thread_db.c: New file.
3241 * gdb.threads/clone-thread_db.exp: New file.
3242
c9587f88
AT
32432015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3244
3245 PR breakpoints/16812
3246 * gdb.base/catch-gdb-caused-signals.c: New file.
3247 * gdb.base/catch-gdb-caused-signals.exp: New file.
3248
f6a88844
JM
32492015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3250
3251 * configure: Regenerated.
3252 * configure.ac: Use GDB_AC_TRANSFORM.
3253 * aclocal.m4: sinclude ../transform.m4.
3254
497c491b
JM
32552015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3256
3257 * lib/dtrace.exp: New file.
3258 * gdb.base/dtrace-probe.exp: Likewise.
3259 * gdb.base/dtrace-probe.d: Likewise.
3260 * gdb.base/dtrace-probe.c: Likewise.
3261 * lib/pdtrace.in: Likewise.
3262 * configure.ac: Output variables with the transformed names of
3263 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3264 * configure: Regenerated.
3265
03e98035
JM
32662015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3267
3268 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3269 expected message when trying to access $_probe_* convenience
3270 variables while not on a probe.
3271
63cc30e9
JK
32722015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3273
3274 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3275
0703599a
PA
32762015-02-11 Pedro Alves <pedro@codesourcery.com>
3277
3278 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3279 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3280
7e60a48e
DE
32812015-02-10 Doug Evans <xdje42@gmail.com>
3282
3283 * lib/gdb.exp (gdb_load): Always return a result.
3284
01b088bc
PA
32852015-02-10 Pedro Alves <palves@redhat.com>
3286
3287 * gdb.threads/signal-sigtrap.c: New file.
3288 * gdb.threads/signal-sigtrap.exp: New file.
3289
b05ec7a5
AT
32902015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3291
3292 * gdb.trace/no-attach-trace.c: New file.
3293 * gdb.trace/no-attach-trace.exp: New file.
3294
a2c2acaf
MW
32952015-02-09 Mark Wielaard <mjw@redhat.com>
3296
3297 * gdb.dwarf2/atomic.c: New file.
3298 * gdb.dwarf2/atomic-type.exp: Likewise.
3299
31fd9caa
MM
33002015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3301
3302 * gdb.btrace/buffer-size.exp: Update "info record" output.
3303 * gdb.btrace/delta.exp: Update "info record" output.
3304 * gdb.btrace/enable.exp: Update "info record" output.
3305 * gdb.btrace/finish.exp: Update "info record" output.
3306 * gdb.btrace/instruction_history.exp: Update "info record" output.
3307 * gdb.btrace/next.exp: Update "info record" output.
3308 * gdb.btrace/nexti.exp: Update "info record" output.
3309 * gdb.btrace/step.exp: Update "info record" output.
3310 * gdb.btrace/stepi.exp: Update "info record" output.
3311 * gdb.btrace/nohist.exp: Update "info record" output.
3312
d33501a5
MM
33132015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3314
3315 * gdb.btrace/buffer-size: New.
3316
f4abbc16
MM
33172015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3318
3319 * gdb.btrace/delta.exp: Update "info record" output.
3320 * gdb.btrace/enable.exp: Update "info record" output.
3321 * gdb.btrace/finish.exp: Update "info record" output.
3322 * gdb.btrace/instruction_history.exp: Update "info record" output.
3323 * gdb.btrace/next.exp: Update "info record" output.
3324 * gdb.btrace/nexti.exp: Update "info record" output.
3325 * gdb.btrace/step.exp: Update "info record" output.
3326 * gdb.btrace/stepi.exp: Update "info record" output.
3327 * gdb.btrace/nohist.exp: Update "info record" output.
3328
b9d61307
SM
33292015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3330
3331 PR gdb/15678
3332 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3333
e584fdbc
PA
33342015-02-06 Pedro Alves <palves@redhat.com>
3335
3336 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3337 macro.
3338 (seconds_left, again): New globals.
3339 (main): Wait seconds_left in a 1-second sleep loop instead of
3340 sleeping 180 seconds. If 'again' is set, reset the seconds
3341 counter.
3342 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3343 'again' in the inferior before detaching. Print the seconds left.
3344 (options): New global.
3345 (top level): Build program with -DTIMEOUT=$timeout.
3346
77f41761
PA
33472015-02-06 Pedro Alves <palves@redhat.com>
3348
3349 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3350 determine how many seconds to pass to 'alarm'.
3351 * gdb.base/gdb-sigterm.exp (top level): Build program with
3352 -DTIMEOUT=$timeout.
3353 (do_test): Return success/failure indication. Add more verbose
3354 logging. Don't fail if 200 single steps are seen. Instead, fail
3355 when the test times out.
3356 (passes): New global.
3357 (top level): Break the testing loop if testing fails on any
3358 iteration. Use gdb_assert.
3359
b9394193
DB
33602015-02-04 Don Breazeal <donb@codesourcery.com>
3361
3362 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3363 and initialize them.
3364 (ipc_cleanup): New function.
3365 (main): Don't declare shmid, semid, and msqid. Add a call to
3366 atexit so that we call ipc_cleanup on exit.
3367
42d9e528
PA
33682015-02-04 Pedro Alves <palves@redhat.com>
3369
3370 * boards/native-extended-gdbserver.exp: Remove any target variant
3371 specifications from the board name before clearing the isremote
3372 flag from board_info.
3373
ae6ae975
DE
33742015-01-31 Doug Evans <xdje42@gmail.com>
3375
3376 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3377
cfb069a8
GB
33782015-01-31 Gary Benson <gbenson@redhat.com>
3379
3380 * gdb.base/completion.exp: Disable completion limiting for
3381 existing tests. Add new tests to check completion limiting.
3382 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3383
5dd31d79
DE
33842015-01-31 Doug Evans <xdje42@gmail.com>
3385
3386 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3387
9f050062
DE
33882015-01-31 Doug Evans <xdje42@gmail.com>
3389
3390 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3391 entries. Duplicate file section script entries.
3392 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3393 inlined entries. Add test for safe-path rejection.
3394 * gdb.python/py-section-script.c: Add duplicate inlined section script
3395 entries. Duplicate file section script entries.
3396 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3397 inlined entries. Add test for safe-path rejection.
3398
df25ebbd
JB
33992015-01-29 Joel Brobecker <brobecker@adacore.com>
3400
3401 * gdb.ada/disc_arr_bound: New testcase.
3402
4a0ca9ec
JB
34032015-01-29 Joel Brobecker <brobecker@adacore.com>
3404
3405 * gdb.ada/mi_var_array: New testcase.
3406
3a8b707a
DE
34072015-01-27 Doug Evans <dje@google.com>
3408
3409 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3410 Add test for objfile.filename, objfile.username after objfile
3411 has been unloaded.
3412
f8313f6e
JB
34132015-01-26 Joel Brobecker <brobecker@adacore.com>
3414
3415 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3416 the second test to print the name attribute of value
3417 returned by the call to gdb.lookup_type, and adjust
3418 the expected output accordingly.
3419
37bc665e
MW
34202015-01-25 Mark Wielaard <mjw@redhat.com>
3421
3422 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3423 * gdb.base/disp-step-fork.c: Include unistd.h.
3424 * gdb.base/siginfo-obj.c: Include stdio.h.
3425 * gdb.base/siginfo-thread.c: Likewise.
3426 * gdb.mi/non-stop.c: Include unistd.h.
3427 * gdb.mi/nsthrexec.c: Include stdio.h.
3428 * gdb.mi/pthreads.c: Include unistd.h.
3429 * gdb.modula2/unbounded1.c (main): Declare returns int.
3430 * gdb.reverse/consecutive-reverse.c: Likewise.
3431 * gdb.threads/create-fail.c: Include unistd.h.
3432 * gdb.threads/killed.c: Likewise.
3433 * gdb.threads/linux-dp.c: Likewise.
3434 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3435 * gdb.threads/non-ldr-exc-2.c: Likewise.
3436 * gdb.threads/non-ldr-exc-3.c: Likewise.
3437 * gdb.threads/non-ldr-exc-4.c: Likewise.
3438 * gdb.threads/pthreads.c: Include unistd.h.
3439 (main): Declare returns int.
3440 * gdb.threads/tls-main.c (foo): New declaration.
3441 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3442
f7e5394d
SM
34432015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3444
3445 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3446 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3447
743649fd
MW
34482015-01-15 Mark Wielaard <mjw@redhat.com>
3449
3450 * gdb.base/noreturn-return.c: New file.
3451 * gdb.base/noreturn-return.exp: New file.
3452 * gdb.base/noreturn-finish.c: New file.
3453 * gdb.base/noreturn-finish.exp: New file.
3454
198297aa
PA
34552015-01-23 Pedro Alves <palves@redhat.com>
3456
3457 * gdb.threads/continue-pending-after-query.c: New file.
3458 * gdb.threads/continue-pending-after-query.exp: New file.
3459
717cf30c
AG
34602015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3461 Simon Marchi <simon.marchi@ericsson.com>
3462
3463 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3464 * gdb.base/valgrind-db-attach.exp: Same.
3465 * gdb.base/valgrind-infcall.exp: Same.
3466 * lib/mi-support.exp (default_mi_gdb_start): Same.
3467 * lib/prompt.exp (default_prompt_gdb_start): Same.
3468 * lib/gdb.exp (default_gdb_spawn): Same.
3469 (gdb_interact): New.
3470
3471
4b62a76e
JK
34722015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3473
3474 * gdb.compile/compile.exp (pointer to jit function): New test.
3475
b4cdae6f
WW
34762015-01-17 Wei-cheng Wang <cole945@gmail.com>
3477
3478 * lib/gdb.exp (supports_process_record): Return true for
3479 powerpc*-*-linux*.
3480 (supports_reverse): Likewise.
3481
d221e7ef
DB
34822015-01-15 Don Breazeal <donb@codesourcery.com>
3483
3484 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3485 instead of checking whether the target board is remote and
3486 use spawn_wait_for_attach instead of exec/sleep.
3487 * gdb.base/attach-twice.exp: Likewise.
3488
bafffb51
JB
34892015-01-15 Joel Brobecker <brobecker@adacore.com>
3490
3491 * gdb.ada/var_arr_attrs: New testcase.
3492
5589af0e
PA
34932015-01-14 Pedro Alves <palves@redhat.com>
3494 Joel Brobecker <brobecker@adacore.com>
3495
3496 PR gdb/17525
3497 * gdb.base/bp-cmds-execution-x-script.c: New file.
3498 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3499 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3500
6c400b59
PA
35012015-01-14 Pedro Alves <palves@redhat.com>
3502
3503 PR cli/17828
3504 * gdb.base/batch-preserve-term-settings.c: New file.
3505 * gdb.base/batch-preserve-term-settings.exp: New file.
3506
e02c96a7
DE
35072015-01-13 Doug Evans <dje@google.com>
3508
3509 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3510 binary.
3511
576fd14c
JB
35122015-01-13 Joel Brobecker <brobecker@adacore.com>
3513
3514 * Makefile.in (clean mostlyclean): Do not delete *.py.
3515
04dccad0
JB
35162015-01-13 Joel Brobecker <brobecker@adacore.com>
3517
3518 * gdb.python/py-lookup-type.exp: New file.
3519
3d230f71
PA
35202015-01-12 Pedro Alves <palves@redhat.com>
3521
3522 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3523 restore GDBFLAGS before returning.
3524
7e67715d
JK
35252015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3526
3527 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3528 is_amd64_regs_target and is_x86_like_target.
3529
f2e0d4b4
DE
35302015-01-11 Doug Evans <xdje42@gmail.com>
3531
3532 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3533 is given without an explicit form.
3534 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3535 attributes.
3536 * gdb.dwarf/corrupt.exp: Ditto.
3537 * gdb.dwarf2/enum-type.exp: Ditto.
3538 * gdb.trace/entry-values.exp: Ditto.
3539 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3540
439250fb
DE
35412015-01-11 Doug Evans <xdje42@gmail.com>
3542
3543 PR gdb/15830
3544 * gdb.base/maint.exp: Remove references to "maint demangle".
3545 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3546 Add tests for explicitly specifying language to demangle.
3547 * gdb.dlang/demangle.exp: Ditto.
3548
ede9f622
PA
35492015-01-09 Pedro Alves <palves@redhat.com>
3550
3551 * gdb.threads/non-stop-fair-events.c: New file.
3552 * gdb.threads/non-stop-fair-events.exp: New file.
3553
a7b796db
PA
35542015-01-09 Pedro Alves <palves@redhat.com>
3555
3556 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3557 the global scope. Set a breakpoint after all threads are started
3558 rather than stepping over two source lines. Expect the prompt.
3559 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3560 global.
3561 (NUM): Now 15.
3562 (main): Use threads_started_barrier to wait for all threads to
3563 start. Main thread no longer calls thread_function. Exit after
3564 180 seconds.
3565 (loop): New function.
3566 (thread_function): Wait on threads_started_barrier barrier. Call
3567 'loop' at each iteration.
3568 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3569 threads have started, instead of hardcoding number of "next"
3570 steps. Use an access watchpoint instead of a write watchpoint.
3571
9665ffdd
PA
35722015-01-09 Pedro Alves <palves@redhat.com>
3573
3574 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3575 (thread_func): Wait on barrier.
3576 (main): Wait for all threads to start before stopping GDB.
3577 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3578 global.
3579 (thread1_func, thread2_func): Wait on barrier.
3580 (main): Wait for all threads to start before stopping GDB.
3581 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3582 New global.
3583 (thread1_func, thread2_func): Wait on barrier.
3584 (main): Wait for all threads to start before stopping GDB.
3585
c945a99f
PA
35862015-01-09 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.threads/attach-many-short-lived-threads.c: New file.
3589 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3590
c1a747c1
PA
35912014-01-09 Pedro Alves <palves@redhat.com>
3592
3593 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3594 instead of to thread 2.
3595 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3596 Add barrier around each pthread_create call instead of around all
3597 calls.
3598 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3599 Set a break on thread_function and have the child threads hit it
3600 one at at a time.
3601
60b3033e
PA
36022015-01-09 Pedro Alves <palves@redhat.com>
3603
3604 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3605 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3606 false.
3607 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3608 checking whether the target board is remote.
3609 * gdb.multi/multi-attach.exp: Likewise.
3610 * gdb.python/py-sync-interp.exp: Likewise.
3611 * gdb.server/ext-attach.exp: Likewise.
3612 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3613 tests that need to attach, instead of checking whether the target
3614 board is remote at the top of the file.
3615
acc018ac
YQ
36162015-01-08 Yao Qi <yao@codesourcery.com>
3617
3618 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3619
50a18af8
JK
36202015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3621
3622 Fix testcase compilation.
3623 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3624
8503d6e1
JB
36252015-01-06 Joel Brobecker <brobecker@adacore.com>
3626
3627 * gdb.python/py-type.exp: Add a couple test about empty
3628 array creation, and negative-length array creation.
3629
cc73dbcc
DE
36302015-01-02 Doug Evans <xdje42@gmail.com>
3631
3632 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3633
0300bbc7
DE
36342015-01-02 Doug Evans <dje@google.com>
3635
3636 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3637
9d85a0ec
YQ
36382014-12-29 Yao Qi <yao@codesourcery.com>
3639
3640 * gdb.trace/entry-values.exp: Update comments. Rename variable
3641 bar_call_foo to returned_from_foo.
3642
87186c6a
MMN
36432014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3644
3645 PR gdb/17394
3646 * gdb.linespec/break-asm-file.c: New file.
3647 * gdb.linespec/break-asm-file.exp: New file.
3648 * gdb.linespec/break-asm-file0.s: New file.
3649 * gdb.linespec/break-asm-file1.s: New file.
3650
1bab7383
YQ
36512014-12-18 Nigel Stephens <nigel@mips.com>
3652 Maciej W. Rozycki <macro@codesourcery.com>
3653
3654 * gdb.base/float.exp: Handle the new output from "info float" on
3655 MIPS targets.
3656
1bc1068a
JK
36572014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3658
3659 Fix MinGW compilation.
3660 * gdb.compile/compile-ops.exp: Update untested message if
3661 !skip_compile_feature_tests.
3662 * gdb.compile/compile-setjmp.exp: Likewise.
3663 * gdb.compile/compile-tls.exp: Likewise.
3664 * gdb.compile/compile.exp: Likewise.
3665 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3666 supported on this host".
3667
b6615d10
DE
36682014-12-16 Doug Evans <xdje42@gmail.com>
3669
3670 * boards/stabs.exp: New file.
3671
25dda427
AA
36722014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3673
3674 * gdb.base/completion.exp: Adjust to format changes of "maint
3675 print user-registers".
3676
bf330350
CU
36772014-12-16 Catalin Udma <catalin.udma@freescale.com>
3678
3679 PR server/17457
3680 * gdb.arch/aarch64-fp.c: New file.
3681 * gdb.arch/aarch64-fp.exp: New file.
3682
395cf596
SDJ
36832014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3684
3685 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3686 r210637, r210913, r211666, r215400, r215817).
3687
3688 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3689 * dg-extract-results.py: New file.
3690 * dg-extract-results.sh: Use it if the environment seems
3691 suitable.
3692
3693 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3694
3695 * dg-extract-results.py (parse_run): Handle warnings that
3696 are printed before a test harness is run.
3697
3698 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3699
3700 * dg-extract-results.py (Named): Remove __cmp__ method.
3701 (output_variation): Use a key to sort variation.harnesses.
3702
3703 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3704
3705 * dg-extract-results.py: For Python 3, force sys.stdout to
3706 handle surrogate escape sequences.
3707 (safe_open): New function.
3708 (output_segment, main): Use it.
3709
3710 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3711
3712 * dg-extract-results.py (Prog.result_re): Include options
3713 in test name.
3714
3715 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3716
3717 * dg-extract-results.py (output_variation): Always sort if
3718 do_sum.
3719
e882ef3c
SM
37202014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3721
3722 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3723 as long as we get pagination notifications.
3724
4992aa20
JM
37252014-12-15 Jason Merrill <jason@redhat.com>
3726
3727 * Makefile.in (check-gdb.%): Restore.
3728 * README: Mention it.
3729
c1b5a1a6
JB
37302014-12-13 Joel Brobecker <brobecker@adacore.com>
3731
3732 * gdb.ada/str_uninit: New testcase.
3733
5537b577
JK
37342014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3735
3736 PR symtab/17642
3737 * gdb.base/vla-stub-define.c: New file.
3738 * gdb.base/vla-stub.c: New file.
3739 * gdb.base/vla-stub.exp: New file.
3740
bb2ec1b3
TT
37412014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3742 Jan Kratochvil <jan.kratochvil@redhat.com>
3743 Tom Tromey <tromey@redhat.com>
3744
3745 * configure.ac: Add gdb.compile/.
3746 * configure: Regenerate.
3747 * gdb.compile/Makefile.in: New file.
3748 * gdb.compile/compile-ops.exp: New file.
3749 * gdb.compile/compile-ops.c: New file.
3750 * gdb.compile/compile-tls.c: New file.
3751 * gdb.compile/compile-tls.exp: New file.
3752 * gdb.compile/compile-constvar.S: New file.
3753 * gdb.compile/compile-constvar.c: New file.
3754 * gdb.compile/compile-mod.c: New file.
3755 * gdb.compile/compile-nodebug.c: New file.
3756 * gdb.compile/compile-setjmp-mod.c: New file.
3757 * gdb.compile/compile-setjmp.c: New file.
3758 * gdb.compile/compile-setjmp.exp: New file.
3759 * gdb.compile/compile-shlib.c: New file.
3760 * gdb.compile/compile.c: New file.
3761 * gdb.compile/compile.exp: New file.
3762 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3763
4ff709eb
TT
37642014-12-12 Tom Tromey <tromey@redhat.com>
3765
3766 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3767 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3768
6dddd6a5
DE
37692014-12-12 Doug Evans <dje@google.com>
3770
3771 * lib/gdb-python.exp (get_python_valueof): New function.
3772 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3773
71c24708
AA
37742014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3775
3776 * gdb.base/completion.exp: Add test for completion of "info
3777 registers ".
3778
3e29f34a
MR
37792014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3780
3781 * gdb.base/func-ptrs.c: New file.
3782 * gdb.base/func-ptrs.exp: New file.
3783
fc126975
SM
37842014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3785
3786 PR breakpoints/17012
3787 * gdb.base/dprintf-detach.c: New file.
3788 * gdb.base/dprintf-detach.exp: New file.
3789
0a46d518
SM
37902014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3791
3792 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3793 * lib/gdb.exp (target_is_gdbserver): New procedure.
3794
a0be3e44
DE
37952014-12-08 Doug Evans <dje@google.com>
3796
3797 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3798
df1b803a
YQ
37992014-12-05 Yao Qi <yao@codesourcery.com>
3800
3801 * gdb.guile/scm-error.exp: Remove the third argument to
3802 gdb_remote_download.
3803 * gdb.guile/scm-frame-args.exp: Likewise.
3804 * gdb.guile/scm-section-script.exp: Likewise.
3805
ddb9f679
YQ
38062014-12-05 Yao Qi <yao@codesourcery.com>
3807
3808 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3809
86e4ed39
DE
38102014-12-04 Doug Evans <dje@google.com>
3811
3812 * gdb.python/py-objfile.exp: Add tests for
3813 objfile.add_separate_debug_file.
3814
7c50a931
DE
38152014-12-04 Doug Evans <dje@google.com>
3816
3817 * lib/gdb.exp (get_build_id): New function.
3818 (build_id_debug_filename_get): Rewrite to use it.
3819 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3820
621661e3
MR
38212014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3822
3823 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3824 `method(long)', not just 0x0.
3825 * gdb.cp/nsalias.exp: Align code labels to 4.
3826 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3827 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3828 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3829 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3830 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3831 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3832
29f0c3b7
DE
38332014-12-02 Doug Evans <dje@google.com>
3834
e1e061e7 3835 PR symtab/17602
29f0c3b7 3836 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 3837 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
3838 * gdb.cp/anon-ns.exp: Update.
3839
162078c8
NB
38402014-12-02 Nick Bull <nicholaspbull@gmail.com>
3841
3842 * gdb.python/py-events.py (inferior_call_handler): New.
3843 (register_changed_handler, memory_changed_handler): New.
3844 (test_events.invoke): Register new handlers.
3845 * gdb.python/py-events.exp: Add tests for inferior call,
3846 memory_changed and register_changed events.
3847
fdb09caf
AA
38482014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3849
3850 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3851 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3852 if the linker doesn't understand this.
3853
55cfb2c4
SM
38542014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3855
3856 * gdb.python/python.exp: Change expected reply to help().
3857
9e8cd6df
YQ
38582014-12-01 Yao Qi <yao@codesourcery.com>
3859
3860 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3861 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3862 * configure: Re-generated.
3863
6c659fc2
SC
38642014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3865
3866 * gdb.cp/chained-calls.cc: New file.
3867 * gdb.cp/chained-calls.exp: New file.
3868 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3869
d7fc3181
SM
38702014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3871
3872 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3873 * gdb.dwarf2/symtab-producer.exp: Same.
3874 * gdb.gdb/python-interrupts.exp: Same.
3875 * gdb.gdb/python-selftest.exp: Same.
3876 * gdb.python/py-linetable.exp: Same.
3877 * gdb.python/py-type.exp: Same.
3878 * gdb.python/py-value-cc.exp: Same.
3879 * gdb.python/py-value.exp: Same.
3880
10e79639
YQ
38812014-11-28 Yao Qi <yao@codesourcery.com>
3882
3883 * gdb.base/break-probes.exp: Match library name prefixed with
3884 sysroot.
3885
f28a0564
SM
38862014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3887
3888 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3889 test expected output. Add parentheses for the call to print.
3890 Remove L suffix from integers.
3891
3fe1ce1d
DE
38922014-11-26 Doug Evans <dje@google.com>
3893
3894 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3895
84429e27
YQ
38962014-11-22 Yao Qi <yao@codesourcery.com>
3897
3898 * gdb.trace/entry-values.c: Remove asms.
3899 (foo): Add foo_label.
3900 (bar): Add bar_label.
3901 * gdb.trace/entry-values.exp: Remove code computing foo's
3902 length and bar's length.
3903 (Dwarf::assemble): Invoke function_range for bar and use
3904 MACRO_AT_func for foo.
3905
26741859
YQ
39062014-11-22 Yao Qi <yao@codesourcery.com>
3907
3908 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3909 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3910 Use .Lgcc43_procstart instead of gcc43.
3911
45e44d27
JB
39122014-11-21 Joel Brobecker <brobecker@adacore.com>
3913
3914 * gdb.ada/n_arr_bound: New testcase.
3915
458c8db8
SDJ
39162014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3917
3918 PR breakpoints/10737
3919 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3920 test_catch_syscall_multi_arch.
3921 (test_catch_syscall_multi_arch): New function.
3922
43f3e411
DE
39232014-11-20 Doug Evans <xdje42@gmail.com>
3924
3925 * gdb.base/maint.exp: Update expected output.
3926
0d7b2549
AA
39272014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3928
3929 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3930 4-byte instruction on S390.
3931
8908fca5
JB
39322014-11-19 Joel Brobecker <brobecker@adacore.com>
3933
3934 * gdb.ada/arr_arr: New testcase.
3935
4a46959e
JB
39362014-11-19 Joel Brobecker <brobecker@adacore.com>
3937
3938 * gdb.ada/pkd_arr_elem: New Testcase.
3939
470e2f4e
LM
39402014-11-18 Luis Machado <lgustavo@codesourcery.com>
3941
3942 * gdb.reverse/break-precsave: Expect completion message for
3943 core file reads.
3944 * gdb.reverse/consecutive-precsave.exp: Likewise.
3945 * gdb.reverse/finish-precsave.exp: Likewise.
3946 * gdb.reverse/i386-precsave.exp: Likewise.
3947 * gdb.reverse/machinestate-precsave.exp: Likewise.
3948 * gdb.reverse/sigall-precsave.exp: Likewise.
3949 * gdb.reverse/solib-precsave.exp: Likewise.
3950 * gdb.reverse/step-precsave.exp: Likewise.
3951 * gdb.reverse/until-precsave.exp: Likewise.
3952 * gdb.reverse/watch-precsave.exp: Likewise.
3953
a267f3ad
AA
39542014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3955
3956 * gdb.base/bp-permanent.c: Include unistd.h.
3957 * gdb.python/py-framefilter-mi.c (main): Add return type.
3958 * gdb.python/py-framefilter.c (main): Likewise.
3959 * gdb.trace/actions-changed.c (main): Likewise.
3960
12084a9a
AA
39612014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3962
3963 * gdb.mi/until.c: Add eye-catchers.
3964 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3965 line numbers.
3966
dc7e1a77
AA
39672014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3968
3969 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3970 function header variants in break1.c.
3971 * gdb.base/ena-dis-br.exp: Likewise.
3972 * gdb.base/hbreak2.exp: Likewise.
3973 * gdb.reverse/until-precsave.exp: Drop references to removed
3974 non-prototype function header variants in ur1.c.
3975 * gdb.reverse/until-reverse.exp: Likewise.
3976
41c77605
PM
39772014-11-17 Petr Machata <pmachata@redhat.com>
3978
3979 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3980 ${_cu_offset_size} bytes abbrev offset.
3981
34248c3a
DE
39822014-11-15 Doug Evans <xdje42@gmail.com>
3983
3984 PR symtab/17559
3985 * gdb.base/line-symtabs.exp: New file.
3986 * gdb.base/line-symtabs.c: New file.
3987 * gdb.base/line-symtabs.h: New file.
3988
646da059
YQ
39892014-11-14 Yao Qi <yao@codesourcery.com>
3990
3991 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3992 (func): Add label func_label.
3993 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3994 Replace low_pc and high_pc with MACRO_AT_range.
3995 Replace name, low_pc and high_pc with MACRO_AT_func.
3996
9301ebe6
YQ
39972014-11-14 Yao Qi <yao@codesourcery.com>
3998
3999 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4000 Replace name, low_pc and high_pc with MACRO_AT_func.
4001
f166b542
YQ
40022014-11-14 Yao Qi <yao@codesourcery.com>
4003
4004 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4005 produce debug information.
4006 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4007
0f6e71e3
YQ
40082014-11-14 Yao Qi <yao@codesourcery.com>
4009
4010 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4011 object and get function length.
4012 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4013 with MACRO_AT_func.
4014 (top-level): Replace gdb_compile and clean_restart with
4015 prepare_for_testing.
4016 * gdb.dwarf2/main.c (main): Add label main_label.
4017
876c4df9
YQ
40182014-11-14 Yao Qi <yao@codesourcery.com>
4019
4020 * lib/dwarf.exp (function_range): New procedure.
4021 (Dwarf::_handle_macro_at_func): New procedure.
4022 (Dwarf::_handle_macro_at_range): New procedure.
4023 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4024
02ad9cf1
YQ
40252014-11-14 Yao Qi <yao@codesourcery.com>
4026
4027 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4028 (_handle_attribute): New procedure.
4029
a59add0c
AA
40302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4031
4032 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4033 * gdb.base/call-sc.c (zed): Likewise.
4034 * gdb.base/checkpoint.c (main): Likewise.
4035 * gdb.base/dump.c (main): Likewise.
4036 * gdb.base/gcore.c (main): Likewise.
4037 * gdb.base/huge.c (main): Likewise.
4038 * gdb.base/multi-forks.c (main): Likewise.
4039 * gdb.base/pr10179-a.c (main): Likewise.
4040 * gdb.base/savedregs.c (main): Likewise.
4041 * gdb.base/sigaltstack.c (main): Likewise.
4042 * gdb.base/siginfo.c (main): Likewise.
4043 * gdb.base/structs.c (zed): Likewise.
4044 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4045 * gdb.mi/mi-syn-frame.c (main): Likewise.
4046 * gdb.mi/until.c (foo, main): Likewise.
4047 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4048 * gdb.base/solib-weak.c (foo): Declare.
4049 * gdb.base/attach-twice.c: Include stdio.h.
4050 * gdb.base/weaklib1.c: Likewise.
4051 * gdb.base/weaklib2.c: Likewise.
4052 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4053 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4054 unistd.h.
4055 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4056 * gdb.mi/mi-exit-code.c: Likewise.
4057 * gdb.base/break-interp-lib.c: Include string.h.
4058 * gdb.base/coremaker.c: Likewise.
4059 * gdb.base/testenv.c: Likewise.
4060 * gdb.python/py-finish-breakpoint.c: Likewise.
4061 * gdb.base/inferior-died.c: Include sys/wait.h.
4062 * gdb.base/fileio.c: Include time.h.
4063 * gdb.base/async-shell.c: Include unistd.h.
4064 * gdb.base/dprintf-non-stop.c: Likewise.
4065 * gdb.base/info-os.c: Likewise.
4066 * gdb.mi/mi-console.c: Likewise.
4067 * gdb.mi/watch-nonstop.c: Likewise.
4068 * gdb.python/py-events.c: Likewise.
4069 * gdb.base/async.c (baz): Move up before its invocation.
4070 * gdb.base/code_elim2.c (my_global_func): Likewise.
4071 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4072 * gdb.base/advance.c (func2): Likewise.
4073
3b5d5997
AA
40742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4075
4076 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4077 variant.
4078 * gdb.base/annota3.c: Likewise.
4079 * gdb.base/async.c: Likewise.
4080 * gdb.base/average.c: Likewise.
4081 * gdb.base/call-ar-st.c: Likewise.
4082 * gdb.base/call-rt-st.c: Likewise.
4083 * gdb.base/call-sc.c: Likewise.
4084 * gdb.base/call-strs.c: Likewise.
4085 * gdb.base/ending-run.c: Likewise.
4086 * gdb.base/execd-prog.c: Likewise.
4087 * gdb.base/exprs.c: Likewise.
4088 * gdb.base/foll-exec.c: Likewise.
4089 * gdb.base/foll-fork.c: Likewise.
4090 * gdb.base/foll-vfork.c: Likewise.
4091 * gdb.base/funcargs.c: Likewise.
4092 * gdb.base/gcore.c: Likewise.
4093 * gdb.base/jump.c: Likewise.
4094 * gdb.base/langs0.c: Likewise.
4095 * gdb.base/langs1.c: Likewise.
4096 * gdb.base/langs2.c: Likewise.
4097 * gdb.base/mips_pro.c: Likewise.
4098 * gdb.base/nodebug.c: Likewise.
4099 * gdb.base/opaque0.c: Likewise.
4100 * gdb.base/opaque1.c: Likewise.
4101 * gdb.base/recurse.c: Likewise.
4102 * gdb.base/run.c: Likewise.
4103 * gdb.base/scope0.c: Likewise.
4104 * gdb.base/scope1.c: Likewise.
4105 * gdb.base/setshow.c: Likewise.
4106 * gdb.base/setvar.c: Likewise.
4107 * gdb.base/shmain.c: Likewise.
4108 * gdb.base/shr1.c: Likewise.
4109 * gdb.base/shr2.c: Likewise.
4110 * gdb.base/sigall.c: Likewise.
4111 * gdb.base/signals.c: Likewise.
4112 * gdb.base/so-indr-cl.c: Likewise.
4113 * gdb.base/solib2.c: Likewise.
4114 * gdb.base/structs.c: Likewise.
4115 * gdb.base/sum.c: Likewise.
4116 * gdb.base/vforked-prog.c: Likewise.
4117 * gdb.base/watchpoint.c: Likewise.
4118 * gdb.reverse/shr2.c: Likewise.
4119 * gdb.reverse/until-reverse.c: Likewise.
4120 * gdb.reverse/ur1.c: Likewise.
4121 * gdb.reverse/watch-reverse.c: Likewise.
4122
066a77c5
AA
41232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4124
4125 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4126 variant.
4127 * gdb.base/sepdebug.exp: Drop references to removed code.
4128
4f204ea5
AA
41292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4130
4131 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4132 variant. Preserve original line numbering.
4133 * gdb.base/list1.c: Likewise.
4134
3b377a3a
AA
41352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4136
4137 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4138 variant.
4139 * gdb.base/break1.c: Likewise.
4140 * gdb.base/break.exp: Drop references to removed code.
4141
e444df73
AA
41422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4143
4144 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4145 variant.
4146
8008f2a7
AA
41472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4148
4149 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4150
a5a06887
AA
41512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4152
4153 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4154 logic into perform_all_tests() and invoke it with and without
4155 function header prototypes.
4156 (do_function_calls): Remove conditional XFAIL for PR 5318.
4157 (rerun_and_prepare): Remove duplicate code.
4158 (perform_all_tests): New. Main logic moved here.
4159
44dba9b9
AA
41602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4161
4162 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4163 code guarded by #ifdef NO_PROTOTYPES.
4164 (t_double_many_args): Likewise.
4165 (DEF_FUNC_MANY_ARGS_1): Likewise.
4166 (DEF_FUNC_VALUES_1): Likewise.
4167 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4168 guarded by #ifdef PROTOTYPES.
4169
d1fbcd56
AA
41702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4171
4172 * gdb.mi/mi-console.c: Add eye-catcher.
4173 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4174 instead of literal line number.
4175
b0e59b8f
AA
41762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4177
4178 * gdb.base/shr2.c: Add eye-catcher.
4179 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4180 line number.
4181
78f98cca
AA
41822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4183
4184 * gdb.base/jump.c: Add eye-catchers.
4185 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4186 numbers.
4187
58fa2af0
AA
41882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4189
4190 * gdb.base/execd-prog.c: Add eye-catchers.
4191 * gdb.base/foll-exec.c: Likewise.
4192 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4193 line numbers.
4194
04e5059b
AA
41952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4196
4197 * gdb.base/ending-run.c: Add eye-catchers.
4198 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4199 literal line numbers.
4200
dbfdb174
AA
42012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4202
4203 * gdb.base/call-rt-st.c: Add eye-catchers.
4204 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4205 literal line numbers.
4206
888a2ade
AA
42072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4208
4209 * gdb.base/call-ar-st.c: Add eye-catchers.
4210 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4211 literal line numbers.
4212
6acc2dde
AA
42132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4214
4215 * gdb.base/average.c: Add eye-catchers.
4216 * gdb.base/sum.c: Likewise.
4217 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4218 regexps dynamically.
4219
9ecfcd1d
AA
42202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4221
4222 * gdb.base/solib1.c: Add eye-catchers.
4223 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4224 literal line numbers.
4225
78708b7c
PA
42262014-11-12 Pedro Alves <palves@redhat.com>
4227
4228 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4229 leader has exited.
4230
af48d08f
PA
42312014-11-12 Pedro Alves <palves@redhat.com>
4232
4233 * gdb.arch/i386-bp_permanent.c: New file.
4234 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4235 (srcfile): Set to i386-bp_permanent.c.
4236 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4237 that stepi does not execute the 'leave' instruction, instead of
4238 testing it does execute.
4239 * gdb.base/bp-permanent.c: New file.
4240 * gdb.base/bp-permanent.exp: New file.
4241
af3768e9
DE
42422014-11-10 Doug Evans <xdje42@gmail.com>
4243
4244 PR symtab/17564
4245 * gdb.base/symtab-search-order.exp: New file.
4246 * gdb.base/symtab-search-order.c: New file.
4247 * gdb.base/symtab-search-order-1.c: New file.
4248 * gdb.base/symtab-search-order-shlib-1.c: New file.
4249
9de00a4a
PA
42502014-11-07 Pedro Alves <palves@redhat.com>
4251
4252 PR gdb/17511
4253 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4254 i?86-*-linux*.
4255
e0f52461
SC
42562014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4257
4258 PR c++/17494
4259 * gdb.cp/pr17494.cc: New file.
4260 * gdb.cp/pr17494.exp: New file.
4261
6ce8c980
YQ
42622014-11-02 Yao Qi <yao@codesourcery.com>
4263
4264 * gdb.python/python.exp: Get working directory and match the
4265 output of "set extended-prompt \\w " with it.
4266
02be9a71
DE
42672014-10-30 Doug Evans <dje@google.com>
4268
4269 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4270 in objfiles.
4271 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4272 in progspaces.
4273
3bdff46b
LM
42742014-10-30 Janis Johnson <janisjo@codesourcery.com>
4275
4276 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4277 * gdb.base/realname-expand.exp: Likewise.
4278 * gdb.linespec/macro-relative.exp: Likewise.
4279
ab917dfb
PA
42802014-10-29 Pedro Alves <palves@redhat.com>
4281
4282 PR gdb/17408
4283 * gdb.threads/schedlock.c (some_function): New function.
4284 (call_function): New global.
4285 (MAYBE_CALL_SOME_FUNCTION): New macro.
4286 (thread_function): Call it.
4287 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4288 and use it instead of a global counter. Adjust all callers.
4289 (get_current_thread): Use "find current thread" for test message
4290 here rather than having all callers pass down the same string.
4291 (goto_loop): New procedure, factored out from ...
4292 (my_continue): ... this.
4293 (step_ten_loops): Change parameter from test message to command to
4294 use. Adjust.
4295 (list_count): Delete global.
4296 (check_result): New procedure, factored out from duplicate top
4297 level code.
4298 (continue tests): Wrap in with_test_prefix.
4299 (test_step): New procedure, factored out from duplicate top level
4300 code.
4301 (top level): Test "step" in combination with all scheduler-locking
4302 modes. Test "next" in combination with all scheduler-locking
4303 modes, and in combination with stepping over a function call or
4304 not.
4305 * gdb.threads/next-bp-other-thread.c: New file.
4306 * gdb.threads/next-bp-other-thread.exp: New file.
4307
d3d4baed
PA
43082014-10-29 Pedro Alves <palves@redhat.com>
4309
4310 PR python/17372
4311 * gdb.python/python.exp: Test a multi-line command that spawns
4312 interactive Python.
4313 * gdb.base/multi-line-starts-subshell.exp: New file.
4314
563e8d85
YQ
43152014-10-29 Yao Qi <yao@codesourcery.com>
4316
4317 * gdb.base/fileio.exp: Make directories on host.
4318
0ea4d52e
YQ
43192014-10-29 Yao Qi <yao@codesourcery.com>
4320
4321 * gdb.base/fileio.c (test_write): Close the file.
4322
7f5ef605
PA
43232014-10-28 Pedro Alves <palves@redhat.com>
4324
4325 PR gdb/12623
4326 * gdb.base/sigstep.c (no_handler): New global.
4327 (main): If 'no_handler is true, set the signal handlers to
4328 SIG_IGN.
4329 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4330 with_sw_watch and no_handler parameters. Handle them.
4331 (top level) <stepping over handler when stopped at a breakpoint
4332 test>: Add a test axis for testing with a software watchpoint, and
4333 another for testing with the signal handler set to SIG_IGN.
4334 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4335 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4336
abbdbd03
PA
43372014-10-28 Pedro Alves <palves@redhat.com>
4338
4339 PR gdb/17511
4340 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4341 * gdb.base/sigstep.exp (other_handler_location): New global.
4342 (advance): Support stepping into the signal handler, and running
4343 commands while in the handler.
4344 (in_handler_map): New global.
4345 (top level): In the advance test, add combinations for getting
4346 into the handler with stepping commands, and for running commands
4347 in the handler. Add comment descripting the advancei tests.
4348
1df4399f
PA
43492014-10-28 Pedro Alves <palves@redhat.com>
4350
4351 * gdb.base/sigstep.exp: Use build_executable instead of
4352 prepare_for_testing.
4353 (top level): Move code that starts GDB, runs to main and creates a
4354 display to ...
4355 (restart): ... this new procedure.
4356 (top level): Move backtrace from signal handler test to ...
4357 (validate_backtrace): ... this new procedure.
4358 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4359 with_test_prefix. Always restart GDB.
4360 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4361 with_test_prefix. Always restart GDB. No need to delete
4362 breakpoints after the test.
4363 (test_skip_handler): Remove prefix parameter.
4364 (skip_over_handler, breakpoint_to_handler)
4365 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4366 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4367 restart GDB. No need to delete breakpoints after the test.
4368 (top level): Use foreach to call the test procedures with
4369 different commands.
4370
a5b6e449
PA
43712014-10-28 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4374 instead of GNATS numbers.
4375 * gdb.base/sigbpt.exp: Likewise.
4376 * gdb.base/siginfo.exp: Likewise.
4377 * gdb.base/sigstep.exp: Likewise.
4378
e5f8a7cc
PA
43792014-10-27 Pedro Alves <palves@redhat.com>
4380
4381 * gdb.base/sigstep.c (dummy): New global.
4382 (main): Issue a couple writes to the new global.
4383 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4384 procedures.
4385 (skip_over_handler): Use test_skip_handler.
4386 (top level): Call skip_over_handler for stepi and nexti too.
4387 (breakpoint_over_handler): Use test_skip_handler.
4388 (top level): Call breakpoint_over_handler for stepi and nexti too.
4389
763905a3
YQ
43902014-10-27 Yao Qi <yao@codesourcery.com>
4391
4392 * gdb.trace/tfile.c (adjust_function_address)
4393 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4394 function descriptor.
4395
6f259a23
DB
43962014-10-24 Don Breazeal <donb@codesourcery.com>
4397
4398 * gdb.base/foll-fork.exp (test_follow_fork,
4399 catch_fork_child_follow): Check for updated fork messages emitted
4400 from infrun.c.
4401 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4402 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4403 vfork_and_exec_child_follow_through_step): Check for updated vfork
4404 messages emitted from infrun.c.
4405
09dd9a69
PA
44062014-10-24 Pedro Alves <palves@redhat.com>
4407
4408 * gdb.base/corefile.exp: Remove references to ultrix.
4409 * gdb.base/interrupt.exp: Likewise.
4410 * gdb.base/whatis.exp: Likewise.
4411 * gdb.gdb/selftest.exp: Likewise.
4412 * gdb.threads/manythreads.exp: Likewise.
4413 * gdb.threads/print-threads.exp: Likewise.
4414 * gdb.threads/pthreads.exp:: Likewise.
4415 * gdb.threads/schedlock.exp: Likewise.
4416
3433cfa5
SC
44172014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4418
4419 * gdb.cp/non-trivial-retval.cc: Add a test case.
4420 * gdb.cp/non-trivial-retval.exp: Add a test.
4421
092f880b
YQ
44222014-10-20 Yao Qi <yao@codesourcery.com>
4423
4424 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4425 * gdb.python/py-objfile-script-gdb.py: New file.
4426 * gdb.python/py-objfile-script.exp: Update reference to
4427 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4428 of remote_download. Remove the dest file.
4429
acbdb7f3
YQ
44302014-10-20 Yao Qi <yao@codesourcery.com>
4431
4432 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4433 * gdb.base/step-line.exp: Likewise.
4434 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4435 * gdb.dwarf2/dw2-basic.exp: Likewise.
4436 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4437 * gdb.dwarf2/dw2-filename.exp: Likewise.
4438 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4439 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4440 * gdb.dwarf2/dw2-producer.exp: Likewise.
4441 * gdb.dwarf2/mac-fileno.exp: Likewise.
4442 * gdb.python/py-frame-args.exp: Likewise.
4443 * gdb.python/py-framefilter.exp: Likewise.
4444 * gdb.python/py-mi.exp: Likewise.
4445 * gdb.python/py-objfile-script.exp: Likewise
4446 * gdb.python/py-pp-integral.exp: Likewise.
4447 * gdb.python/py-pp-re-notag.exp: Likewise.
4448 * gdb.python/py-prettyprint.exp: Likewise.
4449 * gdb.python/py-section-script.exp: Likewise.
4450 * gdb.python/py-typeprint.exp: Likewise.
4451 * gdb.python/py-xmethods.exp: Likewise.
4452 * gdb.stabs/weird.exp: Likewise.
4453 * gdb.xml/tdesc-regs.exp: Likewise.
4454
bd286a29
KCY
44552014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4456
4457 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4458 (out_cu): Use addr_len for the size of addresses.
4459 (out_line): Likewise. Size DW_LNE_set_address instruction
4460 according to addr_len.
4461 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4462 (FUNC): Add START_INSNS to definition.
4463
673dc4a0
YQ
44642014-10-18 Yao Qi <yao@codesourcery.com>
4465
4466 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4467 gdb_has_argv0 return true.
4468 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4469 check [target_info exists noargs], check [gdb_has_argv0]
4470 instead.
4471 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4472 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4473 procedures.
4474
4ffbba72
DE
44752014-10-17 Doug Evans <dje@google.com>
4476
4477 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4478 event.
4479 * gdb.python/py-events.py: Add clear_objfiles event.
4480
d096d8c1
DE
44812014-10-17 Doug Evans <dje@google.com>
4482
4483 * gdb.python/py-objfile.exp: Test progspace attribute.
4484
a80db015
LM
44852014-10-17 Luis Machado <lgustavo@codesourcery.com>
4486
4487 * gdb.guile/scm-breakpoint.exp: Do not assume any
4488 directory separators when matching source file paths.
4489 * gdb.python/py-breakpoint.exp: Likewise.
4490 * gdb.reverse/break-precsave.exp: Likewise.
4491 * gdb.reverse/break-reverse.exp: Likewise.
4492 * gdb.reverse/consecutive-precsave.exp: Likewise.
4493 * gdb.reverse/finish-precsave.exp: Likewise.
4494 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4495 * gdb.reverse/finish-reverse.exp: Likewise.
4496 * gdb.reverse/i386-precsave.exp: Likewise.
4497 * gdb.reverse/i387-env-reverse.exp: Likewise.
4498 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4499 * gdb.reverse/machinestate-precsave.exp: Likewise.
4500 * gdb.reverse/machinestate.exp: Likewise.
4501 * gdb.reverse/sigall-precsave.exp: Likewise.
4502 * gdb.reverse/solib-precsave.exp: Likewise.
4503 * gdb.reverse/step-precsave.exp: Likewise.
4504 * gdb.reverse/until-precsave.exp: Likewise.
4505 * gdb.reverse/watch-precsave.exp: Likewise.
4506 * gdb.reverse/watch-reverse.exp: Likewise.
4507
b22089ab
YQ
45082014-10-17 Yao Qi <yao@codesourcery.com>
4509
4510 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4511 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4512
6c4486e6
PA
45132014-10-17 Pedro Alves <palves@redhat.com>
4514
4515 PR gdb/17471
4516 * gdb.base/bg-execution-repeat.c: New file.
4517 * gdb.base/bg-execution-repeat.exp: New file.
4518
0ff33695
PA
45192014-10-17 Pedro Alves <palves@redhat.com>
4520
4521 PR gdb/17300
4522 * gdb.base/continue-all-already-running.c: New file.
4523 * gdb.base/continue-all-already-running.exp: New file.
4524
6fdebc3d
PA
45252014-10-17 Pedro Alves <palves@redhat.com>
4526
4527 PR gdb/17472
4528 * gdb.base/annota-input-while-running.c: New file.
4529 * gdb.base/annota-input-while-running.exp: New file.
4530
32a8097b
PA
45312014-10-17 Pedro Alves <palves@redhat.com>
4532
4533 * gdb.base/callfuncs.exp: emove references to osf.
4534 * gdb.base/sigall.exp: Likewise.
4535 * gdb.gdb/selftest.exp: Likewise.
4536 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4537 * gdb.mi/non-stop.c: Likewise.
4538 * gdb.mi/pthreads.c: Likewise.
4539 * gdb.reverse/sigall-precsave.exp: Likewise.
4540 * gdb.reverse/sigall-reverse.exp: Likewise.
4541 * gdb.threads/pthreads.c: Likewise.
4542 * gdb.threads/pthreads.exp: Likewise.
4543
7a3517ff
YQ
45442014-10-17 Yao Qi <yao@codesourcery.com>
4545
4546 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4547 check 'target_info exists noargs'.
4548 (test_command_prompt_position): Likewise.
4549 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4550 Remove "set args".
4551 (progvar_simple_while_test): Likewise.
4552 (progvar_complex_if_while_test): Likewise.
4553 (if_while_breakpoint_command_test): Likewise.
4554 (infrun_breakpoint_command_test): Likewise.
4555 (breakpoint_command_test): Likewise.
4556 (watchpoint_command_test): Likewise.
4557 (bp_deleted_in_command_test): Likewise.
4558 (temporary_breakpoint_commands): Likewise.
4559
bb99c472
YQ
45602014-10-16 Yao Qi <yao@codesourcery.com>
4561
4562 * gdb.base/remotetimeout.exp: Remove noargs checking.
4563
7c16b83e
PA
45642014-10-15 Pedro Alves <palves@redhat.com>
4565
4566 PR breakpoints/9649
4567 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4568 * gdb.base/breakpoint-in-ro-region.exp
4569 (probe_target_hardware_step): New procedure.
4570 (top level): Probe hardware stepping and hardware breakpoint
4571 support. Test stepping through a read-only region, with both
4572 "breakpoint auto-hw" on and off and both "always-inserted" on and
4573 off.
4574
35a49624
IB
45752014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4576
4577 * gdb.dlang/demangle.exp: Update for demangling changes.
4578
2d1c107c
SC
45792014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4580
4581 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4582 * gdb.cp/non-trivial-retval.exp: Add new tests.
4583
778811d5
SC
45842014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4585
4586 PR c++/13403
4587 PR c++/15154
4588 * gdb.cp/non-trivial-retval.cc: New file.
4589 * gdb.cp/non-trivial-retval.exp: New file.
4590
10c5f0a8
YQ
45912014-10-15 Yao Qi <yao@codesourcery.com>
4592
4593 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4594 remote host.
4595
65d7b369
YQ
45962014-10-15 Yao Qi <yao@codesourcery.com>
4597
4598 * gdb.python/py-symbol.exp: Match file base name if host is
4599 remote, otherwise match file name with dir name.
4600 * gdb.python/py-symtab.exp: Likewise.
4601 * gdb.python/python.exp: Likewise.
4602
46dc1394
YQ
46032014-10-15 Yao Qi <yao@codesourcery.com>
4604
4605 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4606 pattern.
4607 * gdb.python/py-symtab.exp: Likewise.
4608 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4609 locationn.
4610
c40cc657
JB
46112014-10-14 Joel Brobecker <brobecker@adacore.com>
4612
4613 * gdb.ada/addr_arith: New testcase.
4614
2abf49e1
MR
46152014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4616
4617 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4618 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4619 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4620 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4621
f7088df3
SDJ
46222014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4623
4624 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4625 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4626 * gdb.arch/stap-eval-lang-ada.exp: New file.
4627
4dc06805
YQ
46282014-10-14 Yao Qi <yao@codesourcery.com>
4629
4630 * gdb.mi/mi-var-child.c (nothing1): New function.
4631 (nothing2): New function.
4632 (do_children_tests): Set function pointers by nothing1 and
4633 nothing2.
4634 * gdb.mi/mi-var-child.exp: Step over new added statements.
4635 Update test to match the new output.
4636 * gdb.mi/var-cmd.c (nothing1): New function.
4637 (nothing2): New function.
4638 (do_children_tests): Set function pointers by nothing1 and
4639 nothing2.
4640 * gdb.mi/mi-var-display.exp: Update test to match output.
4641 Step to the line specified by $line_dct_nothing.
4642 Increase the number of lines to step.
4643
46a93de2
YQ
46442014-10-14 Yao Qi <yao@codesourcery.com>
4645
4646 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4647 tests.
4648 * gdb.mi/mi2-var-child.exp: Likewise.
4649
14ea52ee
DE
46502014-10-13 Doug Evans <dje@google.com>
4651
4652 * gdb.python/py-objfile.exp: Change name of file name test.
4653
e5c6e92b
DE
46542014-10-13 Doug Evans <dje@google.com>
4655
4656 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4657 from the start of the CU.
4658
c780cc2f
JK
46592014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4660 Yao Qi <yao@codesourcery.com>
4661
4662 Fix "save breakpoints" for "catch" command.
4663 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4664 Remove -nonewline. Match also the added "main" line.
4665
99894e11
JK
46662014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4667
4668 Fix "save breakpoints" for "disable $bpnum" command.
4669 * gdb.base/save-bp.c (main): Add label.
4670 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4671
6e1ac5a3
JK
46722014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4673
4674 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4675
754dd2b0
YQ
46762014-10-11 Yao Qi <yao@codesourcery.com>
4677
4678 * gdb.server/server-kill.exp: Execute command
4679 "set remote trace-status-packet on" before "tstatus".
4680
f90183d7
YQ
46812014-10-11 Yao Qi <yao@codesourcery.com>
4682
4683 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4684 (main): Call getppid.
4685 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4686 and continue to it. Read variable "server_pid".
4687
bf40a607
YQ
46882014-10-11 Yao Qi <yao@codesourcery.com>
4689
4690 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4691
052ca370
YQ
46922014-10-11 Yao Qi <yao@codesourcery.com>
4693
4694 * gdb.threads/thread-find.exp: Don't execute command
4695 "info threads".
4696 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4697 * gdb.threads/linux-dp.exp: Don't check the condition
4698 $threads_created equals to zero.
4699
3831839c
PA
47002014-10-10 Pedro Alves <palves@redhat.com>
4701
4702 * gdb.base/bigcore.exp: Remove references to IRIX.
4703 * gdb.base/funcargs.exp: Likewise.
4704 * gdb.base/interrupt.exp: Likewise.
4705 * gdb.base/mips_pro.exp: Likewise.
4706 * gdb.base/nodebug.exp: Likewise.
4707 * gdb.base/setvar.exp: Likewise.
4708 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4709
8b9a549d
PA
47102014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4711 Pedro Alves <palves@redhat.com>
4712
4713 PR symtab/14466
4714 * gdb.base/vdso-warning.c: New file.
4715 * gdb.base/vdso-warning.exp: New file.
4716
d48ba5e8
DE
47172014-10-02 Doug Evans <dje@google.com>
4718
4719 * gdb.base/structs.c (main): Don't run forever.
4720
2278c276
PA
47212014-10-02 Pedro Alves <palves@redhat.com>
4722
4723 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4724 (top level) <stop threads 1, stop threads 2>: Use it.
4725
b57bacec
PA
47262014-10-02 Pedro Alves <palves@redhat.com>
4727
4728 * gdb.threads/break-while-running.exp (test): Add new
4729 'update_thread_list' argument. Skip "info threads" if false.
4730 (top level): Add new 'update_thread_list' axis.
4731
13fd3ff3
PA
47322014-10-02 Pedro Alves <palves@redhat.com>
4733
4734 PR breakpoints/17431
4735 * gdb.base/execl-update-breakpoints.c: New file.
4736 * gdb.base/execl-update-breakpoints.exp: New file.
4737
0fec99e8
PA
47382014-10-01 Pedro Alves <palves@redhat.com>
4739
4740 * gdb.base/breakpoint-in-ro-region.c: New file.
4741 * gdb.base/breakpoint-in-ro-region.exp: New file.
4742
2ddf4301
SM
47432014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4744
4745 * gdb.mi/mi-exit-code.exp: New file.
4746 * gdb.mi/mi-exit-code.c: New file.
4747
6a5f3f43
YQ
47482014-09-30 Yao Qi <yao@codesourcery.com>
4749
4750 * lib/prelink-support.exp (build_executable_own_libs): Error if
4751 the target isn't native.
4752
345bcc73
YQ
47532014-09-30 Yao Qi <yao@codesourcery.com>
4754
4755 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4756 false.
4757
a25a5a45
PA
47582014-09-22 Pedro Alves <palves@redhat.com>
4759
4760 * gdb.threads/break-while-running.exp: New file.
4761 * gdb.threads/break-while-running.c: New file.
4762
00ba3162
YQ
47632014-09-19 Yao Qi <yao@codesourcery.com>
4764
4765 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4766 Invoke test. Restart GDB with --readnow and invoke test again.
4767
c3b7b696
YQ
47682014-09-19 Yao Qi <yao@codesourcery.com>
4769
4770 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4771 proc set_breakpoint_on_gcd_function. Invoke
4772 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4773 invoke set_breakpoint_on_gcd_function again.
4774
2b4fd423
DE
47752014-09-18 Doug Evans <dje@google.com>
4776
4777 * gdb.dwarf2/symtab-producer.exp: New file.
4778
a5947601
SDJ
47792014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4780
4781 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4782 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4783 * gdb.base/global-var-nested-by-dso.c: Likewise.
4784 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4785
91c19059
SDJ
47862014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4787 Pedro Alves <palves@redhat.com>
4788
4789 * gdb.base/watch-bitfields.exp: Pass string other than test file
4790 name to prepare_for_testing.
4791 (watch): New procedure.
4792 (expect_watchpoint): Use with_test_prefix.
4793 (top level): Factor out tests to ...
4794 (test_watch_location, test_regular_watch): ... these new
4795 procedures, and use with_test_prefix and gdb_continue_to_end.
4796
bb9d5f81
PP
47972014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4798
4799 PR breakpoints/12526
4800 * gdb.base/watch-bitfields.exp: New file.
4801 * gdb.base/watch-bitfields.c: New file.
4802
635856f5
PA
48032014-09-16 Pedro Alves <palves@redhat.com>
4804
4805 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4806 software and hardware addresses, not software address against
4807 itself.
4808
7280ceea
PA
48092014-09-16 Pedro Alves <palves@redhat.com>
4810
4811 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4812 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4813
428b16bd
PA
48142014-09-16 Pedro Alves <palves@redhat.com>
4815
4816 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4817 files.
4818 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4819 "*-*-vxworks*" throughout.
4820 * gdb.base/break.exp: Likewise.
4821 * gdb.base/default.exp: Likewise.
4822 * gdb.base/scope.exp: Likewise.
4823 * gdb.base/sepdebug.exp: Likewise.
4824 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4825 throughout.
4826 * gdb.base/run.c: Likewise.
4827 * gdb.base/sepdebug.c: Likewise.
4828 * gdb.hp/gdb.aCC/run.c: Likewise.
4829 * gdb.reverse/until-reverse.c: Likewise.
4830 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4831
666d413c
YQ
48322014-09-16 Yao Qi <yao@codesourcery.com>
4833
4834 * boards/local-remote-host-native.exp: New file.
4835
57cbd724
DE
48362014-09-14 Doug Evans <xdje42@gmail.com>
4837
4838 * gdb.threads/queue-signal.c (thread_count): New variable.
4839 (thread_count_mutex, thread_count_condvar): New variables.
4840 (incr_thread_count, wait_all_threads_running): New functions.
4841 (main): Wait for all threads to be in their thread functions.
4842
81219e53
DE
48432014-09-13 Doug Evans <xdje42@gmail.com>
4844
4845 * gdb.threads/queue-signal.c: New file.
4846 * gdb.threads/queue-signal.exp: New file.
4847
3714cea7
DE
48482014-09-13 Doug Evans <xdje42@gmail.com>
4849
4850 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4851 be consistent with what default_gdb_init uses.
4852 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4853 the plain text of the prompt. Add some logging printfs.
4854 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4855
fa43b1d7
PA
48562014-09-12 Pedro Alves <palves@redhat.com>
4857
4858 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4859 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4860 * gdb.arch/i386-size-overlap.exp: Likewise.
4861 * gdb.arch/i386-size.exp: Likewise.
4862 * gdb.arch/i386-unwind.exp: Likewise.
4863 * gdb.base/a2-run.exp: Likewise.
4864 * gdb.base/break.exp: Likewise.
4865 * gdb.base/charset.exp: Likewise.
4866 * gdb.base/chng-syms.exp: Likewise.
4867 * gdb.base/commands.exp: Likewise.
4868 * gdb.base/dbx.exp: Likewise.
4869 * gdb.base/find.exp: Likewise.
4870 * gdb.base/funcargs.exp: Likewise.
4871 * gdb.base/jit-simple.exp: Likewise.
4872 * gdb.base/reread.exp: Likewise.
4873 * gdb.base/sepdebug.exp: Likewise.
4874 * gdb.base/step-bt.exp: Likewise.
4875 * gdb.cp/mb-inline.exp: Likewise.
4876 * gdb.cp/mb-templates.exp: Likewise.
4877 * gdb.objc/basicclass.exp: Likewise.
4878 * gdb.threads/killed.exp: Likewise.
4879
9d9bf2df
EBM
48802014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4881
4882 PR tdep/17379
4883 * gdb.arch/powerpc-stackless.S: New file.
4884 * gdb.arch/powerpc-stackless.exp: New file.
4885
1cf2f1b0
JK
48862014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4887
4888 * gdb.base/attach.c: Include unistd.h.
4889 (main): Call alarm. Add label postloop.
4890 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4891 gdb_breakpoint, gdb_continue_to_breakpoint.
4892 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4893
98880d46
PA
48942014-09-11 Pedro Alves <palves@redhat.com>
4895
4896 PR gdb/17347
4897 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4898 * gdb.base/attach.exp (test_command_line_attach_run): New
4899 procedure.
4900 (top level): Call it.
4901
4c92ff2c
PA
49022014-09-11 Pedro Alves <palves@redhat.com>
4903
4904 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4905 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4906 (do_command_attach_tests): Use spawn_wait_for_attach.
4907 * gdb.base/solib-overlap.exp: Likewise.
4908 * gdb.multi/multi-attach.exp: Likewise.
4909 * gdb.python/py-prompt.exp: Likewise.
4910 * gdb.python/py-sync-interp.exp: Likewise.
4911 * gdb.server/ext-attach.exp: Likewise.
4912
3adc1a7d
GKB
49132014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4914
4915 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4916 command in testcase. Simplify testcase.
4917
96334934
JB
49182014-09-10 Joel Brobecker <brobecker@adacore.com>
4919
4920 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4921
eb479039
JB
49222014-09-10 Joel Brobecker <brobecker@adacore.com>
4923
4924 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4925
deede10c
JB
49262014-09-10 Joel Brobecker <brobecker@adacore.com>
4927
4928 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4929
7828a5f5
JB
49302014-09-10 Joel Brobecker <brobecker@adacore.com>
4931
4932 * gdb.dwarf2/dynarr-ptr.c: New file.
4933 * gdb.dwarf2/dynarr-ptr.exp: New file.
4934
33aeebcf
MR
49352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4936
4937 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4938 of 30 rather than hardcoding 120 for a slow test case. Take the
4939 `gdb,timeout' target setting into account for this calculation.
4940 Don't extend the timeout for the test cases that don't need it.
4941
7b415901
MR
49422014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4943
4944 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4945 a factor of 2 for a slow test case. Take the `gdb,timeout'
4946 target setting into account for this calculation.
4947 * gdb.reverse/until-precsave.exp: Increase the timeout by
4948 a factor of 15 and 3 respectively rather than adding 120
4949 for a pair of slow test cases. Take the `gdb,timeout'
4950 target setting into account for this calculation.
4951
4a40f85a
MR
49522014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4953
4954 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4955 timeout, don't pass one down to gdb_expect.
4956 (gdb_expect): Rework timeout selection.
4957
09635af7
MR
49582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4959
4960 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4961 exception on timeout.
4962 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4963 (gdbserver_start_extended): Catch any `gdbserver_start' error
4964 exceptions.
4965 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4966 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4967 `gdbserver_gdb_load' error exceptions.
4968
2bdd10b7
MR
49692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4970
4971 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4972 120 on waiting for the TCP socket to open.
4973
316935f0
DE
49742014-09-09 Doug Evans <xdje42@gmail.com>
4975
4976 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4977 _caller_matches, _any_caller_is, _any_caller_matches.
4978
83740597
DE
49792014-09-09 Doug Evans <xdje42@gmail.com>
4980
4981 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4982
4c122fc3
YQ
49832014-09-09 Yao Qi <yao@codesourcery.com>
4984
4985 * gdb.mi/mi-var-display.exp: Set print symbol off.
4986
a9f116cb
GKB
49872014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4988
4989 PR gdb/17035
4990 * gdb.base/commands.exp: Add tests to verify user-defined
4991 commands with empty bodies.
4992 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4993 python commands in `show user command`.
4994 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4995 scheme commands in `show user command`.
4996
c75bd3a2
JK
49972014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4998
4999 PR python/17355
5000 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5001 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5002 * gdb.python/py-framefilter-invalidarg.exp: New file.
5003 * gdb.python/py-framefilter-invalidarg.py: New file.
5004
faa42425
DE
50052014-09-06 Doug Evans <xdje42@gmail.com>
5006
5007 PR 15276
5008 * gdb.python/py-caller-is.c: New file.
5009 * gdb.python/py-caller-is.exp: New file.
5010
474ca4f6
SDJ
50112014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5012
5013 PR gdb/17235
5014 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5015 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5016
eb0b0463
SDJ
50172014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5018
5019 PR fortran/17237
5020 * gdb.fortran/print-formatted.exp: New file.
5021 * gdb.fortran/print-formatted.f90: Likewise.
5022
5f3b99cf
SS
50232014-09-03 Sasha Smundak <asmundak@google.com>
5024
5025 * gdb.python/py-frame.exp: Test Frame.read_register.
5026
7d793aa9
SDJ
50272014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5028
5029 PR python/16699
5030 * gdb.python/py-completion.exp: New file.
5031 * gdb.python/py-completion.py: Likewise.
5032
fb0576e9
DE
50332014-08-28 Doug Evans <dje@google.com>
5034
5035 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5036 eax,etc. are live with values set by gdb and thus the compiler can't
5037 use them.
5038 * gdb.arch/i386-pseudo.c (main): Ditto.
5039
ee92b0dd
DE
50402014-08-27 Doug Evans <dje@google.com>
5041
5042 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5043
6649db35
DE
50442014-08-25 Doug Evans <dje@google.com>
5045
5046 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5047 (main): Ditto.
5048
564b7600
DE
50492014-08-25 Doug Evans <dje@google.com>
5050
5051 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5052
3881fb67
YQ
50532014-08-24 Yao Qi <yao@codesourcery.com>
5054
5055 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5056 symbol off.
5057 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5058
a05a36a5
DE
50592014-08-22 Doug Evans <dje@google.com>
5060
5061 PR 17276
5062 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5063 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5064 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5065
7c343b48
YQ
50662014-08-22 Yao Qi <yao@codesourcery.com>
5067
5068 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5069 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5070 * gdb.python/python.exp: Likewise. Use .py file on the host
5071 instead of the build.
5072
22fd09ae
JK
50732014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5074
5075 * gdb.threads/gcore-stale-thread.c: New file.
5076 * gdb.threads/gcore-stale-thread.exp: New file.
5077
a8454a7c
PA
50782014-08-21 Pedro Alves <palves@redhat.com>
5079
5080 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5081 * gdb.base/gcore-relro-pie.exp: Likewise.
5082 * gdb.base/gcore-relro.exp: Likewise.
5083 * gdb.base/gcore.exp: Likewise.
5084 * gdb.base/print-symbol-loading.exp: Likewise.
5085 * gdb.threads/gcore-thread.exp: Likewise.
5086 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5087
2a31c623
PA
50882014-08-20 Pedro Alves <palves@redhat.com>
5089 Jan Kratochvil <jan.kratochvil@redhat.com>
5090
5091 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5092 configure.
5093 (EXPECT): Handle READ1 being set.
5094 (all): Depend on EXTRA_RULES.
5095 (check-read1, expect-read1, read1.so, read1): New rules.
5096 * README (Testsuite Parameters): Document the READ1 make variable.
5097 (Race detection): New section.
5098 * configure: Regenerate.
5099 * configure.ac: If build==host==target, and running under a
5100 GNU/glibc system, add read1 to the extra Makefile rules.
5101 (EXTRA_RULES): AC_SUBST it.
5102 * lib/read1.c: New file.
5103
d36430db
JB
51042014-08-20 Joel Brobecker <brobecker@adacore.com>
5105
5106 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5107 the handling of variables declared as a typedef to an array
5108 which a DW_AT_data_location attribute.
5109
9a0dc9e3
PA
51102014-08-19 Andrew Burgess <aburgess@broadcom.com>
5111 Pedro Alves <palves@redhat.com>
5112
5113 PR symtab/14604
5114 PR symtab/14605
5115 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5116 gdb_test.
5117
0718a8da
PA
51182014-08-19 Pedro Alves <palves@redhat.com>
5119
5120 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5121
13b448cd
YQ
51222014-08-19 Yao Qi <yao@codesourcery.com>
5123
5124 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5125 right line.
5126
1cbf5077
DB
51272014-08-18 David Blaikie <dblaikie@gmail.com>
5128
5129 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5130
bf0fae19
JB
51312014-08-18 Joel Brobecker <brobecker@adacore.com>
5132
5133 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5134 attribute in array range.
5135
3c8c5dcc
JB
51362014-08-18 Joel Brobecker <brobecker@adacore.com>
5137
5138 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5139
e66d4446
SC
51402014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5141
5142 PR c++/17132
5143 * gdb.cp/pr17132.cc: New file.
5144 * gdb.cp/pr17132.exp: New file.
5145
940df408
SC
51462014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5147
5148 * gdb.python/py-xmethods.py (A_getarrayind)
5149 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5150 Use 'print' with function call syntax.
5151 (E_method_matcher.match): Fix tab vs space indentation mixup.
5152
ebcc6c3a
YQ
51532014-08-15 Yao Qi <yao@codesourcery.com>
5154
5155 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5156 false.
5157
775e0f04
YQ
51582014-08-15 Yao Qi <yao@codesourcery.com>
5159
5160 * gdb.cp/casts.exp: Set print symbol off.
5161 * gdb.cp/class2.exp: Likewise.
5162 * gdb.cp/overload.exp: Likewise.
5163 * gdb.cp/templates.exp: Likewise.
5164
d769e349
DE
51652014-08-11 Doug Evans <dje@google.com>
5166
5167 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5168 (test_load_shlib): Update.
5169
20c6f1e1
YQ
51702014-08-09 Yao Qi <yao@codesourcery.com>
5171
5172 * gdb.base/display.exp: Invoke is_address_zero_readable.
5173 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5174 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5175 * gdb.base/hbreak-unmapped.exp: Return if
5176 is_address_zero_readable returns true.
5177 * gdb.base/signest.exp: Likewise.
5178 * gdb.base/signull.exp: Likewise.
5179 * gdb.base/sigbpt.exp: Likewise.
5180 * gdb.guile/scm-disasm.exp: Do the test if
5181 is_address_zero_readable returns false.
5182 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5183 * gdb.python/py-arch.exp: Likewise.
5184 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5185 * lib/gdb.exp (is_address_zero_readable): New proc.
5186
5792e8e3
YQ
51872014-08-09 Yao Qi <yao@codesourcery.com>
5188
5189 PR testsuite/13443
5190 * gdb.mi/mi-var-display.exp: Make test messages unique.
5191
3cecbbbe
TT
51922014-08-04 Tom Tromey <tromey@redhat.com>
5193
5194 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5195 target 0".
5196
00b51ff5
TT
51972014-08-04 Tom Tromey <tromey@redhat.com>
5198
5199 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5200 "target_resume".
5201
6908c509
JB
52022014-08-01 Joel Brobecker <brobecker@adacore.com>
5203
5204 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5205 inner_vla_struct_object_size.
5206 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5207 as xfail.
5208
cc6563d2
PA
52092014-07-30 Pedro Alves <palves@redhat.com>
5210
5211 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5212 comment.
5213
7e09a223
YQ
52142014-07-29 Yao Qi <yao@codesourcery.com>
5215
5216 PR gdb/17206
5217 * gdb.base/until-nodebug.exp: New.
5218
7ebdbe92
DE
52192014-07-28 Doug Evans <xdje42@gmail.com>
5220
5221 PR guile/17203
5222 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5223 previously existing parameter, and previously ambiguously spelled
5224 parameter.
5225
fdb1adc6
WN
52262014-07-28 Will Newton <will.newton@linaro.org>
5227
5228 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5229
186fcde0
DE
52302014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
5231 Doug Evans <xdje42@gmail.com>
5232
5233 PR guile/17146
5234 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5235
70509625
PA
52362014-07-25 Pedro Alves <palves@redhat.com>
5237
5238 * gdb.threads/signal-command-handle-nopass.c: New file.
5239 * gdb.threads/signal-command-handle-nopass.exp: New file.
5240 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5241 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5242 * gdb.threads/signal-delivered-right-thread.c: New file.
5243 * gdb.threads/signal-delivered-right-thread.exp: New file.
5244
c3f814a1
PA
52452014-07-25 Pedro Alves <palves@redhat.com>
5246
5247 * gdb.base/double-prompt-target-event-error.exp
5248 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5249 match.
5250 (cancel_pagination_in_target_event): Rework double prompt
5251 detection.
5252 * gdb.base/paginate-after-ctrl-c-running.exp
5253 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5254 <return>' match.
5255 * gdb.base/paginate-bg-execution.exp
5256 (test_bg_execution_pagination_return)
5257 (test_bg_execution_pagination_cancel): Remove '-notransfer
5258 <return>' matches.
5259 * gdb.base/paginate-execution-startup.exp
5260 (test_fg_execution_pagination_return)
5261 (test_fg_execution_pagination_cancel): Remove '-notransfer
5262 <return>' matches.
5263 * gdb.base/paginate-inferior-exit.exp
5264 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5265 match.
5266 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5267 * lib/gdb.exp (pagination_prompt): Run text through
5268 string_to_regexp.
5269 (gdb_test_multiple): Match $pagination_prompt instead of
5270 "<return>".
5271 (string_to_regexp): Move to lib/gdb-utils.exp.
5272
e214cf6c
JK
52732014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5274
5275 * gdb.arch/amd64-entry-value-paramref.S: New file.
5276 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5277 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5278 * gdb.arch/amd64-optimout-repeat.S: New file.
5279 * gdb.arch/amd64-optimout-repeat.c: New file.
5280 * gdb.arch/amd64-optimout-repeat.exp: New file.
5281
17d0c5c8
JK
52822014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5283
5284 PR gdb/17170
5285 * gdb.base/statistics.exp: New file.
5286
b8b8facf
DE
52872014-07-17 Doug Evans <dje@google.com>
5288
74b49205 5289 PR gdb/17170
b8b8facf
DE
5290 * gdb.base/maint.exp: Update testing of per-command stats.
5291
1b5d0ab3
PA
52922014-07-16 Pedro Alves <palves@redhat.com>
5293
5294 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5295 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5296 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5297 (tfile_write_buf): New functions.
5298 (add_memory_block): Rewrite using the above.
5299 (adjust_function_address): New function.
5300 (FUNCTION_ADDRESS): New macro.
5301 (write_basic_trace_file): Remove short_x local, and use
5302 tfile_write_16. Change type of func_addr local to unsigned long
5303 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5304 here. Cast argument of add_memory_block to char pointer.
5305 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5306 (main): Remove parameters.
5307 * gdb.trace/tfile.exp: Remove nowarnings.
5308
4d974e88
SM
53092014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5310
5311 * gdb.base/debug-expr.exp: Test string evaluation with
5312 "debug expression" on.
5313
41e99568
PA
53142014-07-15 Pedro Alves <palves@redhat.com>
5315
5316 * gdb.base/reread.exp: Use clean_restart.
5317
487d9753
PL
53182014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5319
5320 * gdb.arch/avr-flash-qualifer.c: New.
5321 * gdb.arch/avr-flash-qualifer.exp: New.
5322
cc1c52ad
PA
53232014-07-14 Pedro Alves <palves@redhat.com>
5324
5325 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5326 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5327
1e973570
PA
53282014-07-14 Pedro Alves <palves@redhat.com>
5329
5330 * gdb.base/double-prompt-target-event-error.c: New file.
5331 * gdb.base/double-prompt-target-event-error.exp: New file.
5332
93d6eb10
PA
53332014-07-14 Pedro Alves <palves@redhat.com>
5334
5335 PR gdb/17072
5336 * gdb.base/paginate-inferior-exit.c: New file.
5337 * gdb.base/paginate-inferior-exit.exp: New file.
5338
0017922d
PA
53392014-07-14 Pedro Alves <palves@redhat.com>
5340
5341 PR gdb/17072
5342 * gdb.base/paginate-bg-execution.c: New file.
5343 * gdb.base/paginate-bg-execution.exp: New file.
5344
94696ad3
PA
53452014-07-14 Pedro Alves <palves@redhat.com>
5346
5347 PR gdb/17072
5348 * gdb.base/paginate-execution-startup.c: New file.
5349 * gdb.base/paginate-execution-startup.exp: New file.
5350 * lib/gdb.exp (pagination_prompt): New global.
5351 (default_gdb_spawn): New procedure, factored out from
5352 default_gdb_spawn.
5353 (default_gdb_start): Adjust to call default_gdb_spawn.
5354 (gdb_spawn): New procedure.
5355
bd293940
PA
53562014-07-14 Pedro Alves <palves@redhat.com>
5357
5358 * lib/gdb.exp (gdb_assert): New procedure.
5359 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5360
c933f875
PA
53612014-07-14 Pedro Alves <palves@redhat.com>
5362
5363 * gdb.base/execution-termios.c: New file.
5364 * gdb.base/execution-termios.exp: New file.
5365
d98b7a16
TT
53662014-07-14 Tom Tromey <tromey@redhat.com>
5367
5368 * gdb.cp/vla-cxx.cc: New file.
5369 * gdb.cp/vla-cxx.exp: New file.
5370
548740d6
TT
53712014-07-14 Tom Tromey <tromey@redhat.com>
5372
5373 * gdb.reverse/rerun-prec.c: New file.
5374 * gdb.reverse/rerun-prec.exp: New file.
5375
a25eb028
MR
53762014-07-12 Maciej W. Rozycki <macro@mips.com>
5377 Maciej W. Rozycki <macro@codesourcery.com>
5378
5379 * lib/gdb-utils.exp: New file.
5380 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5381 inline `gdb_init_command' processing.
5382 (gdb_start_cmd): Likewise.
5383 * lib/mi-support.exp (mi_run_cmd): Likewise.
5384 * README: Document `gdb_init_command' and `gdb_init_commands'.
5385
218c2655
JK
53862014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5387
5388 Fix false FAIL running under a very long directory name.
5389 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5390 and "set print elements 10000". Twice.
5391
5401fde3
YQ
53922014-07-11 Yao Qi <yao@codesourcery.com>
5393
5394 * gdb.base/exprs.exp: "set print symbol off".
5395
e76126e8
PA
53962014-07-11 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.threads/kill.c: New file.
5399 * gdb.threads/kill.exp: New file.
5400
2d6f0de6
YQ
54012014-07-10 Yao Qi <yao@codesourcery.com>
5402
5403 * gdb.trace/tfile.c (write_basic_trace_file)
5404 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5405 address written to trace file.
5406
7180e04a
PA
54072014-07-09 Pedro Alves <palves@redhat.com>
5408
5409 * gdb.base/attach-wait-input.exp: New file.
5410 * gdb.base/attach-wait-input.c: New file.
5411
9a9a7608
AB
54122014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5413
5414 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5415 setting up test structures.
5416 (main): Call new test function.
5417 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5418 test function, continue into test function and walk test
5419 structures.
5420
161ac41e
YQ
54212014-07-02 Yao Qi <yao@codesourcery.com>
5422
5423 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5424 'bar_start' at the beginning of functions 'foo' and 'bar'
5425 respectively.
5426 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5427 instead of 'foo' and 'bar'.
5428
1f267ae3
MM
54292014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5430
5431 * gdb.btrace/segv.exp: New.
5432 * gdb.btrace/segv.c: New.
5433
2b239efb
LM
54342014-07-02 Luis Machado <lgustavo@codesourcery.com>
5435
5436 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5437 instruction.
5438
cf363f18
MW
54392014-06-30 Mark Wielaard <mjw@redhat.com>
5440
5441 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5442 vulture, vilify, villar): New volatile array constants.
5443 (vindictive, vegetation): New const volatile array constants.
5444 * gdb.base/volatile.exp: Test volatile and const volatile array
5445 types.
5446
aebf9d24
AA
54472014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5448
5449 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5450 target lacks support for awatch, rwatch, or hbreak.
5451
b67a2c6f
YQ
54522014-06-27 Yao Qi <yao@codesourcery.com>
5453
5454 * gdb.multi/dummy-frame-restore.exp: New.
5455 * gdb.multi/dummy-frame-restore.c: New.
5456
aef92902
MM
54572014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5458
5459 * gdb.btrace/gcore.exp: New.
5460
8e9db26e
PA
54612014-06-23 Pedro Alves <palves@redhat.com>
5462
5463 * gdb.base/watchpoint-reuse-slot.c: New file.
5464 * gdb.base/watchpoint-reuse-slot.exp: New file.
5465
70afc5b7
SC
54662014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5467
5468 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5469 progspace's filename in 'info', 'enable' and 'disable' command
5470 tests.
5471
b972bd9c
JK
54722014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5473
5474 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5475 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5476 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5477
125f8a3d
GB
54782014-06-20 Gary Benson <gbenson@redhat.com>
5479
5480 * gdb.arch/i386-avx.exp: Fix include file location.
5481 * gdb.arch/i386-sse.exp: Likewise.
5482
3ed9baed
IB
54832014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5484
5485 * gdb.dlang/expression.exp: New file.
5486
034f788c
PA
54872014-06-19 Pedro Alves <palves@redhat.com>
5488
5489 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5490 out from ...
5491 (top level): ... here. Iterate running tests under different
5492 scheduler-locking settings.
5493
45371d0c
LM
54942014-06-18 Luis Machado <lgustavo@codesourcery.com>
5495
5496 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5497 to DW_FORM_addr and use non-zero addresses.
5498
5d376983
SC
54992014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5500
5501 PR gdb/17017
5502 * gdb.python/py-xmethods.cc: Add global function call counters and
5503 increment them in their respective functions. Remove "cout"
5504 statements.
5505 * gdb.python/py-xmethods.exp: Make tests check the global function
5506 call counters instead of depending on inferior IO.
5507
a1aa2221
LM
55082014-06-18 Don Breazeal <donb@codesourcery.com>
5509
5510 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5511 Deleted procedure.
5512 (explicit_fork_parent_follow): Deleted procedure.
5513 (explicit_fork_child_follow): Deleted procedure.
5514 (test_follow_fork): New procedure.
5515 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5516 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5517 procedure calls.
5518
0fc05997
YQ
55192014-06-17 Yao Qi <yao@codesourcery.com>
5520
5521 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5522 CP1252.
5523
70795c52
LM
55242014-06-17 Luis Machado <lgustavo@codesourcery.com>
5525
5526 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5527 Initialize ptr and S explicitly.
5528 (skip_type_update_when_not_use_rtti_test): Likewise.
5529
6be47f0c
KS
55302014-06-16 Keith Seitz <keiths@redhat.com>
5531
5532 PR mi/15863
5533 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5534 the inferior is started.
5535
d03de421
PA
55362014-06-16 Pedro Alves <palves@redhat.com>
5537
5538 * gdb.base/break-main-file-remove-fail.c: New file.
5539 * gdb.base/break-main-file-remove-fail.exp: New file.
5540 * gdb.base/break-unload-file.exp: Use build_executable instead of
5541 prepare_for_testing.
5542 (test_break): New parameter "initial_load". Handle it.
5543 (top level): Add initial_load cmdline/file axis.
5544
f9579b99
TT
55452014-06-12 Tom Tromey <tromey@redhat.com>
5546
5547 * gdb.base/completion.exp: Don't use directory name in test.
5548
3657956b
GB
55492014-06-09 Gary Benson <gbenson@redhat.com>
5550
5551 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5552 separate the always-available ANSI-standard signals from the
5553 signals that require checking.
5554 (main): Likewise.
5555 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5556 Likewise.
5557 (main): Likewise.
5558
4186eb54
KS
55592014-06-07 Keith Seitz <keiths@redhat.com>
5560
5561 Revert:
5562 PR c++/16253
5563 * gdb.cp/var-tag.cc: New file.
5564 * gdb.cp/var-tag.exp: New file.
5565 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5566 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5567 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5568 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5569
25326a28 55702014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5571
5572 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5573
829155c9
PA
55742014-06-06 Pedro Alves <palves@redhat.com>
5575
5576 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5577 in target debug output instead of looking at RSP packets,
5578 disabling the test on any target that uses hardware stepping.
5579 Update comments.
5580
61c8d22e
PA
55812014-06-06 Pedro Alves <palves@redhat.com>
5582
5583 * gdb.base/break-unload-file.exp: Fix typo.
5584
d9a47287
YQ
55852014-06-06 Yao Qi <yao@codesourcery.com>
5586
5587 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5588 from "jit_function" to "^jit_function".
5589
e5e01dbf
YQ
55902014-06-06 Yao Qi <yao@codesourcery.com>
5591
5592 * gdb.base/async.c (foo): Add one statement.
5593 * gdb.base/async.exp: Get the next instruction address and
5594 match the output of "nexti" by instruction address. Match
5595 the hex address in the output of "finish".
5596
73ba372c
GB
55972014-06-06 Gary Benson <gbenson@redhat.com>
5598
5599 * gdb.base/call-signals.c: Remove preprocessor conditionals
5600 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5601 SIGSEGV and SIGTERM.
5602 * gdb.base/sigall.c: Likewise.
5603 * gdb.base/unwindonsignal.c: Likewise.
5604 * gdb.reverse/sigall-reverse.c: Likewise.
5605
831517df
YQ
56062014-06-06 Yao Qi <yao@codesourcery.com>
5607
5608 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5609 readable, skip the test.
5610
b8b91e98
YQ
56112014-06-06 Yao Qi <yao@codesourcery.com>
5612
5613 * gdb.threads/staticthreads.c (thread_function): Move the line
5614 setting breakpoint on forward.
5615 * gdb.threads/staticthreads.exp: Update comments.
5616
fb934770
LC
56172014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
5618
5619 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5620 "history-append! type error".
5621
6ef284bd
SM
56222014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5623
5624 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5625 erroneous dprintf expected input.
5626
a872e241
DE
56272014-06-04 Doug Evans <xdje42@gmail.com>
5628
5629 * gdb.guile/scm-generics.exp: Delete.
5630
16f691fb
DE
56312014-06-04 Doug Evans <xdje42@gmail.com>
5632
5633 * gdb.guile/scm-breakpoint.exp: Update.
5634 Add tests for breakpoint registration.
5635
012370f6
TT
56362014-06-04 Tom Tromey <tromey@redhat.com>
5637
5638 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5639 VLA-in-union.
5640 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5641 inner_vla_struct, vla_union types. Initialize objects of those
5642 types and compute their sizes.
5643
9f5a4cef
HZ
56442014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5645 Hui Zhu <hui@codesourcery.com>
5646
5647 * gdb.base/fileio.exp: Add test for shell not available as well as
5648 available.
5649 * gdb.base/fileio.c (test_system): Check for shell twice.
5650
90a45c4d
YQ
56512014-06-04 Yao Qi <yao@codesourcery.com>
5652
5653 * gdb.base/auto-connect-native-target.exp: Remove redundant
5654 space from the regexp pattern.
5655
70017e41
YQ
56562014-06-04 Yao Qi <yao@codesourcery.com>
5657
5658 * gdb.base/default.exp: Replace "child" with "native" in
5659 regexp pattern.
5660
883964a7
SC
56612014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5662
5663 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5664 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5665 * gdb.python/py-xmethods.py: Python script supporting the
5666 new testcase and tests.
5667
ef370185
JB
56682014-06-03 Joel Brobecker <brobecker@adacore.com>
5669 Pedro Alves <palves@redhat.com>
5670
5671 PR breakpoints/17000
5672 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5673 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5674
1e2ccb61
BM
56752014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5676
5677 * gdb.base/subst.exp: Add tests to verify partial path matching
5678 output.
5679
c6ec5ab2
PA
56802014-06-03 Pedro Alves <palves@redhat.com>
5681
5682 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5683 target that doesn't use software single-stepping.
5684
835c559f
PA
56852014-06-03 Pedro Alves <palves@redhat.com>
5686
5687 PR breakpoints/17000
5688 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5689 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5690
06eb1586
DE
56912014-06-02 Doug Evans <xdje42@gmail.com>
5692
5693 * gdb.guile/scm-parameter.exp: New file.
5694
e698b8c4
DE
56952014-06-02 Doug Evans <xdje42@gmail.com>
5696
5697 * gdb.guile/scm-cmd.c: New file.
5698 * gdb.guile/scm-cmd.exp: New file.
5699
ded03782
DE
57002014-06-02 Doug Evans <xdje42@gmail.com>
5701
5702 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5703 pretty-printer lookup.
5704 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5705 (make-pp_s-printer): Call it.
5706 (make-pretty-printer-from-dict): New function.
5707 (lookup-pretty-printer-maker-from-dict): New function.
5708 (*pretty-printer*): Simplify.
5709 (make-objfile-pp_s-printer): New function.
5710 (install-objfile-pretty-printers!): New function.
5711 (make-progspace-pp_s-printer): New function.
5712 (install-progspace-pretty-printers!): New function.
5713 * gdb.guile/scm-progspace.c: New file.
5714 * gdb.guile/scm-progspace.exp: New file.
5715
41fac0cf
PA
57162014-06-02 Pedro Alves <palves@redhat.com>
5717
5718 * gdb.base/dprintf-bp-same-addr.c: New file.
5719 * gdb.base/dprintf-bp-same-addr.exp: New file.
5720
96ae5695
EBM
57212014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5722
5723 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5724 * gdb.arch/powerpc-power.s: Likewise.
5725
da02b3a8
JB
57262014-06-02 Joel Brobecker <brobecker@adacore.com>
5727
5728 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5729
c72b2e7b
YQ
57302014-06-01 Yao Qi <yao@codesourcery.com>
5731
5732 * gdb.base/watchpoint.exp (test_watch_location): Check null
5733 pointer can be dereferenced. If not, do the test, otherwise
5734 skip it.
5735
53e8a631
AB
57362014-05-30 Andrew Burgess <aburgess@broadcom.com>
5737
5738 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5739 results.
5740 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5741
938f0e2f
AB
57422014-05-30 Andrew Burgess <aburgess@broadcom.com>
5743
5744 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5745 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5746 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5747 * gdb.arch/amd64-invalid-stack-top.c: New file.
5748 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5749
9ba6657a
PA
57502014-05-30 Pedro Alves <palves@redhat.com>
5751
5752 PR breakpoints/17000
5753 * gdb.base/sss-bp-on-user-bp.c: New file.
5754 * gdb.base/sss-bp-on-user-bp.exp: New file.
5755
522c09bf
DB
57562014-05-30 David Blaikie <dblaikie@gmail.com>
5757
5758 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5759 gnu_inline semantics via attribute.
5760 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5761 source explicitly specifies the required semantics.
5762
bf4ef81e
MR
57632014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5764
5765 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5766
329ea579
PA
57672014-05-29 Pedro Alves <palves@redhat.com>
5768 Tom Tromey <tromey@redhat.com>
5769
5770 * gdb.base/async-shell.exp: Don't enable target-async.
5771 * gdb.base/async.exp
5772 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5773 parameter. Adjust.
5774 (top level): Don't test with "target-async".
5775 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5776 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5777 * gdb.base/inferior-died.exp: Don't enable target-async.
5778 * gdb.base/interrupt-noterm.exp: Likewise.
5779 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5780 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5781 * gdb.mi/mi-nonstop.exp: Likewise.
5782 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5783 * gdb.mi/mi-nsintrall.exp: Likewise.
5784 * gdb.mi/mi-nsmoribund.exp: Likewise.
5785 * gdb.mi/mi-nsthrexec.exp: Likewise.
5786 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5787 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5788 * gdb.python/py-evsignal.exp: Don't enable target-async.
5789 * gdb.python/py-evthreads.exp: Likewise.
5790 * gdb.python/py-prompt.exp: Likewise.
5791 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5792 * gdb.server/solib-list.exp: Don't enable target-async.
5793 * gdb.threads/thread-specific-bp.exp: Likewise.
5794 * lib/mi-support.exp: Adjust to use mi-async.
5795
fd664c91
PA
57962014-05-29 Pedro Alves <palves@redhat.com>
5797
5798 PR gdb/13860
5799 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5800 reason, even in sync mode.
5801
251bde03
PA
58022014-05-29 Pedro Alves <palves@redhat.com>
5803 Hui Zhu <hui@codesourcery.com>
5804
5805 PR PR15693
5806 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5807 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5808 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5809 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5810
7f3c0343
JB
58112014-05-28 Joel Brobecker <brobecker@adacore.com>
5812
5813 * config/monitor.exp (gdb_target_monitor): Replace use of
5814 "set remotebaud" by "set serial baud".
5815
b2715b27
AW
58162014-05-26 Andy Wingo <wingo@igalia.com>
5817
5818 * gdb.guile/scm-breakpoint.exp:
5819 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5820 properties instead of gdb-object-properties.
5821
498a4489
YQ
58222014-05-26 Yao Qi <yao@codesourcery.com>
5823
5824 * gdb.server/no-thread-db.exp: Specify source file name
5825 explicitly when setting a breakpoint.
5826
589fdceb
MM
58272014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5828
5829 * gdb.btrace/vdso.c: New.
5830 * gdb.btrace/vdso.exp: New.
5831
e9089e05
MM
58322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5833
5834 * gdb.base/gcore.exp (capture_command_output): Move ...
5835 * lib/gdb.exp (capture_command_output): ... here.
5836
67b5c0c1
MM
58372014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5838
5839 * gdb.btrace/data.exp: Test memory access during btrace replay.
5840
a2199296
SM
58412014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5842
5843 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5844
17b2616c
PA
58452014-05-21 Pedro Alves <palves@redhat.com>
5846
5847 PR gdb/13860
5848 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5849 (top level): Test that output related to execution commands is
5850 sent to the console with CLI commands, but not with MI commands.
5851 Test that breakpoint events are always mirrored to the console.
5852 Also expect the new source line to be output after a "next" in
5853 async mode too. Make it a pass/fail test.
5854 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5855 output.
5856 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5857
5166082f
PA
58582014-05-21 Pedro Alves <palves@redhat.com>
5859
5860 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5861 Use them to test variations of "list" after reaching a breakpoint.
5862 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5863 Test "list" with listsize 10 after reaching a breakpoint.
5864 * gdb.python/python.exp (decode_line current location line
5865 number): Adjust expected line number.
5866
2f25d70f
SM
58672014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5868
5869 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5870 behavior for $args, pass it directly to "run".
5871
ff604a67
MR
58722014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5873
5874 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5875 30000 to 65536.
5876
6a3cb8e8
PA
58772014-05-21 Pedro Alves <palves@redhat.com>
5878
5879 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5880 auto-connect-native-target off".
5881 * gdb.base/auto-connect-native-target.c: New file.
5882 * gdb.base/auto-connect-native-target.exp: New file.
5883
4ebfc96e
PA
58842014-05-21 Pedro Alves <palves@redhat.com>
5885
5886 * gdb.base/default.exp: Test "target native" instead of "target
5887 child".
5888
36d46afb
MW
58892014-05-21 Mark Wielaard <mjw@redhat.com>
5890
5891 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5892
5876f503
JK
58932014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5894
5895 Fix TLS access for -static -pthread.
5896 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5897 <HAVE_TLS> (thread_function, main): Initialize it.
5898 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5899 Add clean_restart.
5900 <$have_tls != "">: Check TLSVAR.
5901
0256a6ac
PA
59022014-05-21 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.base/dcache-line-read-error.c: New.
5905 * gdb.base/dcache-line-read-error.exp: New.
5906
936d2992
PA
59072014-05-20 Pedro Alves <palves@redhat.com>
5908
5909 * gdb.base/compare-sections.c: New file.
5910 * gdb.base/compare-sections.exp: New file.
5911
802e8e6d
PA
59122014-05-20 Pedro Alves <palves@redhat.com>
5913
5914 * gdb.base/break-idempotent.c: New file.
5915 * gdb.base/break-idempotent.exp: New file.
5916
e59fa00f
MM
59172014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5918
5919 * gdb.btrace/nohist.exp: New.
5920
8b696e31
YQ
59212014-05-20 Yao Qi <yao@codesourcery.com>
5922
5923 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5924 gdb.reverse directory and gdb_reverse_timeout exists in board
5925 setting.
5926 * README: Document gdb_reverse_timeout.
5927
73c9764f
YQ
59282014-05-20 Yao Qi <yao@codesourcery.com>
5929
5930 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5931 'test_file_name'. Treat args as a string instead of a list.
5932 (gdb_init): Rename argument 'args' by 'test_file_name'.
5933
f1f4348a
JK
59342014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5935
5936 * gdb.arch/powerpc-power.exp: New file.
5937 * gdb.arch/powerpc-power.s: New file.
5938
0dbe70ce
DE
59392014-05-16 Doug Evans <dje@google.com>
5940
5941 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
5942 * gdb.base/completion.exp: Check that all expected files exist
5943 before doing file completion.
0dbe70ce 5944
8d551b02
DE
59452014-05-16 Doug Evans <dje@google.com>
5946
5947 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5948 Update.
5949 (do_syscall_tests_without_xml): Update.
5950
73eb7709
PA
59512014-05-16 Pedro Alves <palves@redhat.com>
5952
5953 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5954 instead of "unknown output after running".
5955
3fae92fc
YQ
59562014-05-16 Yao Qi <yao@codesourcery.com>
5957
5958 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5959 file1.txt from host at the end.
5960 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5961
c2b2ccc5
DE
59622014-05-15 Doug Evans <dje@google.com>
5963
5964 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5965 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5966 loading file. Add test for TU lookup.
5967
8c217a4b
SM
59682014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5969
5970 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5971 calling "-exec-arguments" or "set args" before running the
5972 inferior.
5973
3deb39c6
SM
59742014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5975
5976 * lib/mi-support.exp (mi_expect_stop): Expect message for
5977 inferiors that exit with non-zero exit code.
5978
71a79f8c
YQ
59792014-05-14 Yao Qi <yao@codesourcery.com>
5980
5981 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5982 match absolute path on remote host.
5983 (test_file_list_exec_source_files): Remove "/" from the
5984 pattern.
5985
f23fcd46
YQ
59862014-05-14 Yao Qi <yao@codesourcery.com>
5987
5988 * boards/local-remote-host-notty.exp (${board}_file): New
5989 proc.
5990
9404b58f
KM
59912014-05-07 Kyle McMartin <kyle@redhat.com>
5992
5993 Pushed by Joel Brobecker <brobecker@adacore.com>.
5994 * gdb.arch/aarch64-atomic-inst.c: New file.
5995 * gdb.arch/aarch64-atomic-inst.exp: New file.
5996
5e45f04c
YQ
59972014-05-07 Yao Qi <yao@codesourcery.com>
5998
5999 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6000 in current context" too.
6001
c888a17d
KS
60022014-05-05 Keith Seitz <keiths@redhat.com>
6003
6004 * gdb.linespec/ls-dollar.exp: Add test for linespec
6005 file:convenience_variable.
6006
290a839c
YQ
60072014-05-05 Yao Qi <yao@codesourcery.com>
6008
6009 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6010 traceframes into tfile and ctf trace files. Read data from
6011 trace file and test collected data.
6012 (gdb_collect_locals_test): Likewise.
6013 (gdb_unavailable_registers_test): Likewise.
6014 (gdb_unavailable_floats): Likewise.
6015 (gdb_collect_globals_test): Likewise.
6016 (top-level): Append "ctf" to trace_file_targets if GDB
6017 supports.
6018
b5262cd0
YQ
60192014-05-05 Yao Qi <yao@codesourcery.com>
6020
6021 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6022 code to ...
6023 (gdb_collect_args_test_1): ... it. New proc.
6024 (gdb_collect_locals_test): Move some code to ...
6025 (gdb_collect_locals_test_1): ... it. New proc.
6026 (gdb_unavailable_registers_test): Move some code to ...
6027 (gdb_unavailable_registers_test_1): ... it. New proc.
6028 (gdb_unavailable_floats): Move some code to ...
6029 (gdb_unavailable_floats_1): ... it. New proc.
6030
30a1e6cc
SDJ
60312014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6032
6033 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6034 probes to test for bitness recognition.
6035 * gdb.arch/amd64-stap-optional-prefix.exp
6036 (test_probe_value_without_reg): New procedure.
6037 Add code to test for different kinds of bitness.
6038
f33da99a
SDJ
60392014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6040
6041 PR breakpoints/16889
6042 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6043 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6044
5b80f00d
PA
60452014-05-01 Pedro Alves <palves@redhat.com>
6046
6047 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6048 gdb_file_cmd if no file is specified.
6049 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6050 last_loaded_file to set the remote exec-file.
6051
f8c2a73c
PA
60522014-05-01 Pedro Alves <palves@redhat.com>
6053
6054 * boards/local-remote-host.exp: New file.
6055
be6e8ac7
PA
60562014-05-01 Pedro Alves <palves@redhat.com>
6057
6058 * boards/local-remote-host.exp: Rename to ...
6059 * boards/local-remote-host-notty.exp: ... this.
6060
cac0dc8f
JB
60612014-04-28 Joel Brobecker <brobecker@adacore.com>
6062
6063 * gdb.ada/dyn_arrayidx: New testcase.
6064
9730e6cc
YQ
60652014-04-26 Yao Qi <yao@codesourcery.com>
6066
6067 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6068 and compute the length of function main. Save it in
6069 $main_length.
6070 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6071 (top-level): Use gdb_compile to compile objects into
6072 executable and restart GDB. Remove invocation to
6073 prepare_for_testing.
6074
7ae1a6a6
PA
60752014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6076 Pedro Alves <palves@redhat.com>
6077
6078 PR server/16255
6079 * gdb.multi/multi-attach.c: New file.
6080 * gdb.multi/multi-attach.exp: New file.
6081
4082afcc
PA
60822014-04-25 Pedro Alves <palves@redhat.com>
6083
6084 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6085 user.
6086 (top level): Test that "set remote conditional-breakpoints-packet
6087 off" works as intended.
6088 * gdb.base/dprintf.exp: Test that "set remote
6089 breakpoint-commands-packet off" works as intended.
6090 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6091 New function.
6092 (top level): Call it.
6093 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6094 remote fast-tracepoints-packet off" works as intended.
6095 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6096 * lib/gdb.exp (gdb_is_target_remote): ... here.
6097
2abc3f8d
DB
60982014-04-24 David Blaikie <dblaikie@gmail.com>
6099
6100 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6101 ensure clang would not discard them.
6102 * gdb.base/gdbvars.c: Ditto.
6103 * gdb.base/memattr.c: Ditto.
6104 * gdb.base/whatis.c: Ditto.
6105 * gdb.python/py-prettyprint.c: Ditto.
6106 * gdb.trace/actions.c: Ditto.
6107 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6108 ensure clang would not discard it.
6109
bfd39632
DB
61102014-04-24 David Blaikie <dblaikie@gmail.com>
6111
6112 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6113 clang to emit the full definition of type required by the test
6114 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6115
22842ff6
DB
61162014-04-24 David Blaikie <dblaikie@gmail.com>
6117
6118 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6119 coax Clang into emitting the definition of the type.
6120 * gdb.cp/pr10728-x.h (y): Ditto.
6121 * gdb.cp/pr10728-y.cc (y): Ditto.
6122
c2e827ad
DB
61232014-04-24 David Blaikie <dblaikie@gmail.com>
6124
6125 * gdb.base/label.exp: XFAIL label related tests under Clang.
6126 * gdb.cp/cplabel.exp: Ditto.
6127 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6128 under Clang those using labels.
6129
4c2d33e7
YQ
61302014-04-25 Yao Qi <yao@codesourcery.com>
6131
6132 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6133 double_label.
6134 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6135 partial_label and double_label.
6136
56083b99
DB
61372014-04-24 David Blaikie <dblaikie@gmail.com>
6138
6139 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6140
25d4e99d
DB
61412014-04-24 David Blaikie <dblaikie@gmail.com>
6142
6143 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6144 of the function to work across GCC and Clang.
6145 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6146 pointer types (const void ** const V void **).
6147
01f9f808
MS
61482014-04-24 Michael Sturm <michael.sturm@mintel.com>
6149 Walfred Tedeschi <walfred.tedeschi@intel.com>
6150
6151 * Makefile.in (EXECUTABLES): Added i386-avx512.
6152 * gdb.arch/i386-avx512.c: New file.
6153 * gdb.arch/i386-avx512.exp: Likewise.
6154
4b48d439
KS
61552014-04-23 Keith Seitz <keiths@redhat.com>
6156
6157 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6158 (mi_make_breakpoint_table): New procedure.
6159 (mi_create_breakpoint): Use mi_make_breakpoint
6160 and return the result.
6161 (mi_make_breakpoint): New procedure.
6162 (mi_build_kv_pairs): New procedure.
6163
6164 * gdb.mi/mi-break.exp: Remove unused globals,
6165 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6166 All callers updated.
6167 * gdb.mi/mi-dprintf.exp: Use variable to track command
6168 number.
6169 Update all callers of mi_create_breakpoint and use
6170 mi_make_breakpoint_table.
6171 Remove any unused global variables.
6172 * gdb.mi/mi-nonstop.exp: Likewise.
6173 * gdb.mi/mi-nsintrall.exp: Likewise.
6174 * gdb.mi/mi-nsmoribund.exp: Likewise.
6175 * gdb.mi/mi-nsthrexec.exp: Likewise.
6176 * gdb.mi/mi-reverse.exp: Likewise.
6177 * gdb.mi/mi-simplerun.exp: Likewise.
6178 * gdb.mi/mi-stepn.exp: Likewise.
6179 * gdb.mi/mi-syn-frame.exp: Likewise.
6180 * gdb.mi/mi-until.exp: Likewise.
6181 * gdb.mi/mi-var-cp.exp: Likewise.
6182 * gdb.mi/mi-var-display.exp: Likewise.
6183 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6184 * gdb.mi/mi2-var-child.exp: Likewise.
6185 * gdb.mi/mi-vla-c99.exp: Likewise.
6186 * lib/mi-support.exp: Likewise.
6187
6188 From Ian Lance Taylor <iant@cygnus.com>:
6189 * lib/gdb.exp (parse_args): New procedure.
6190
08351840
PA
61912014-04-23 Pedro Alves <palves@redhat.com>
6192
6193 * gdb.base/break-unload-file.c: New file.
6194 * gdb.base/break-unload-file.exp: New file.
6195 * gdb.base/sym-file-lib.c (baz): New function.
6196 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6197 field.
6198 (load): Store the segment's mapped size.
6199 (unload): New function.
6200 (unload_shlib): New function.
6201 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6202 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6203 set a breakpoint at baz, and call it.
6204 * gdb.base/sym-file.exp: New tests for stale breakpoint
6205 instructions.
6206
076855f9
PA
62072014-04-23 Pedro Alves <palves@redhat.com>
6208
6209 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6210 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6211 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6212 * gdb.base/hbreak-unmapped.c: New file.
6213 * gdb.base/hbreak-unmapped.exp: New file.
6214 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6215 * lib/gdb.exp (gdb_is_target_remote): ... here.
6216
483805cf
PA
62172014-04-22 Pedro Alves <palves@redhat.com>
6218
6219 * gdb.base/consecutive-step-over.c: New file.
6220 * gdb.base/consecutive-step-over.exp: New file.
6221
06d97543
PA
62222014-04-22 Pedro Alves <palves@redhat.com>
6223
6224 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6225 instead of send_gdb/gdb_expect.
6226
b4429ea2
YQ
62272014-04-22 Yao Qi <yao@codesourcery.com>
6228
6229 * lib/trace-support.exp (generate_tracefile): New procedure.
6230 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6231 return 0.
6232 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6233 if generate_tracefile returns 1.
6234
51d48146
PA
62352014-04-18 Tom Tromey <palves@redhat.com>
6236 Pedro alves <tromey@redhat.com>
6237
6238 PR backtrace/15558
6239 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6240 with a backtrace limit.
6241 * gdb.python/py-frame-inline.exp: Test running to an inline
6242 function with a backtrace limit, and printing the newest frame.
6243 * gdb.python/py-frame-inline.c (main): Call f.
6244
bd1dce5f
MS
62452014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6246
6247 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6248
40d1a503
MS
62492014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6250
6251 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6252 Drop prefix from unsupported source file path.
6253
389b98f7
YQ
62542014-04-17 Yao Qi <yao@codesourcery.com>
6255
6256 * lib/gdb.exp (with_target_charset): New proc.
6257 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6258 with_target_charset.
6259 (test_print_strings): Likewise.
6260 (test_repeat_bytes): Likewise.
6261 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6262 for some tests.
6263
22869d73
KS
62642014-04-16 Keith Seitz <keiths@redhat.com>
6265
6266 PR gdb/15827
6267 * gdb.dwarf2/corrupt.c: New file.
6268 * gdb.dwarf2/corrupt.exp: New file.
6269
c4f87ca6
KS
62702014-04-16 Keith Seitz <keiths@redhat.com>
6271
6272 PR c++/16597
6273 * gdb.cp/namelessclass.cc: New file.
6274 * gdb.cp/namelessclass.exp: New file.
6275 * gdb.cp/namelessclass.S: New file.
6276
ab19de87
DE
62772014-04-16 Doug Evans <dje@google.com>
6278
6279 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6280 Add comment.
6281 (gdbserver_default_get_comm_port): New function.
6282 (gdbserver_start): Check if board file provided
6283 "gdbserver,get_comm_port" and use it if so.
6284 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6285 (gdb,socketport): Set to "stdio".
6286 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6287 (stdio_gdbserver_template): Delete.
6288 (${board}_get_remote_address): Update.
6289 (${board}_build_remote_cmd): Delete.
6290 (${board}_get_comm_port): New function.
6291 (${board}_spawn): Update.
6292 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6293 Delete.
6294 (${board}_get_remote_address): Update.
6295 (${board}_get_comm_port): New function.
6296
fc98a809
AB
62972014-04-16 Andrew Burgess <aburgess@broadcom.com>
6298
6299 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6300 appearing in any order.
6301
87fd9e6e
DE
63022014-04-15 Doug Evans <dje@google.com>
6303
6304 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6305 uninitialized value of "description".
6306
099fc3ea
KS
63072014-04-15 Keith Seitz <keiths@redhat.com>
6308
6309 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6310 Remove unused globals.
6311 (test_running_the_program): Likewise.
6312 (test_controlled_execution): Likewise.
6313 (test_controlling_breakpoints): Likewise.
6314 (test_program_termination): Likewise.
6315
5da151d4
KS
63162014-04-15 Keith Seitz <keiths@redhat.com>
6317
6318 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6319 unused globals.
6320 (test_rbreak_creation_and_listing): Likewise.
6321 (test_ignore_count): Likewise.
6322 (test_error): Likewise.
6323
35e5d2f0
PA
63242014-04-15 Pedro Alves <palves@redhat.com>
6325
6326 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6327 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6328 sym-file-loader.c.
6329 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6330 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6331 to sym-file-loader.c.
6332 (struct library): Forward declare.
6333 (load_shlib, lookup_function): Change prototypes.
6334 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6335 (translate_offset): Remove declarations.
6336 (get_text_addr): New declaration.
6337 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6338 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6339 sym-file-loader.h.
6340 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6341 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6342 here from sym-file-loader.h.
6343 (struct library): New structure.
6344 (load_shlib, lookup_function): Change prototypes and adjust to
6345 work with a struct library.
6346 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6347 (translate_offset): Make static.
6348 (get_text_addr): New function.
6349 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6350
eb4c1710
PA
63512014-04-15 Pedro Alves <palves@redhat.com>
6352
6353 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6354
2d1baf52
PA
63552014-04-15 Pedro Alves <palves@redhat.com>
6356
6357 * gdb.base/sym-file-loader.c: Include <limits.h>.
6358 (SELF_LINK): New define.
6359 (get_origin): New function.
6360 (load_shlib): Use it.
6361 * gdb.base/sym-file.exp: Don't early return if the target is
6362 remote. Use runto_main, and issue fail is that fails. Use
6363 gdb_load_shlibs.
6364 (shlib_name): Delete.
6365 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6366
7dd6df01
PA
63672014-04-15 Pedro Alves <palves@redhat.com>
6368
6369 * gdb.base/sym-file.exp: Remove regex characters from test
6370 message. Don't refer to breakpoint numbers in test messages.
6371
b50c8614
KS
63722014-04-14 Keith Seitz <keiths@redhat.com>
6373
6374 PR c++/16253
6375 * gdb.cp/var-tag.cc: New file.
6376 * gdb.cp/var-tag.exp: New file.
6377 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6378 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6379 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6380 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6381
3d567982
TT
63822014-04-14 Tom Tromey <tromey@redhat.com>
6383
6384 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6385 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6386 type.
6387 * gdb.cp/enum-class.exp: New file.
6388 * gdb.cp/enum-class.cc: New file.
6389
0626fc76
TT
63902014-04-14 Tom Tromey <tromey@redhat.com>
6391
6392 * gdb.dwarf2/enum-type.exp: New file.
6393
dca325b3
SA
63942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6395
6396 * gdb.mi/mi-vla-c99.exp: New file.
6397 * gdb.mi/vla.c: New file.
6398
5854b38a
SA
63992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6400
6401 * gdb.base/vla-datatypes.c: New file.
6402 * gdb.base/vla-datatypes.exp: New file.
6403
463bb957
SA
64042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6405
6406 * gdb.base/vla-ptr.c: New file.
6407 * gdb.base/vla-ptr.exp: New file.
6408
3dd170be
SA
64092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6410
6411 * gdb.dwarf2/count.exp: New file.
6412
5ecaaa66
SA
64132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6414
6415 * gdb.base/vla-sideeffect.c: New file.
6416 * gdb.base/vla-sideeffect.exp: New file.
6417
41f1ada5
DB
64182014-04-14 David Blaikie <dblaikie@gmail.com>
6419
6420 * gdb.mi/non-stop.c: Add return value for non-void function return
6421 statement.
6422 * gdb.threads/staticthreads.c: Ditto.
6423
0be03e84
DE
64242014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6425 Doug Evans <xdje42@gmail.com>
6426
6427 * gdb.guile/scm-value.c: Improve test case.
6428 * gdb.guile/scm-value.exp: Add new test.
6429
f180a1fb
DB
64302014-04-11 David Blaikie <dblaikie@gmail.com>
6431
6432 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6433 override Clang's default.
6434
6b662e19
JB
64352014-04-11 Joel Brobecker <brobecker@adacore.com>
6436
6437 Revert the following changes (regressions):
6438
6439 * gdb.base/vla-sideeffect.c: New file.
6440 * gdb.base/vla-sideeffect.exp: New file.
6441
6442 * gdb.dwarf2/count.exp: New file.
6443
6444 * gdb.base/vla-multi.c: New file.
6445 * gdb.base/vla-multi.exp: New file.
6446
6447 * gdb.base/vla-ptr.c: New file.
6448 * gdb.base/vla-ptr.exp: New file.
6449
6450 * gdb.base/vla-datatypes.c: New file.
6451 * gdb.base/vla-datatypes.exp: New file.
6452
6453 * gdb.mi/mi-vla-c99.exp: New file.
6454 * gdb.mi/vla.c: New file.
6455
245a5f0b
KS
64562014-04-11 Keith Seitz <keiths@redhat.com>
6457
6458 PR c++/16675
6459 * gdb.cp/cpsizeof.exp: New file.
6460 * gdb.cp/cpsizeof.cc: New file.
6461
58a84dcf
SA
64622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6463
191a8a90
JB
6464 * gdb.mi/mi-vla-c99.exp: New file.
6465 * gdb.mi/vla.c: New file.
58a84dcf 6466
c8655f75
SA
64672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6468
6469 * gdb.base/vla-datatypes.c: New file.
6470 * gdb.base/vla-datatypes.exp: New file.
6471
024e13b4
SA
64722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6473
6474 * gdb.base/vla-ptr.c: New file.
6475 * gdb.base/vla-ptr.exp: New file.
6476
1a237e0e
SA
64772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6478
6479 * gdb.base/vla-multi.c: New file.
6480 * gdb.base/vla-multi.exp: New file.
6481
504f3432
SA
64822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6483
6484 * gdb.dwarf2/count.exp: New file.
6485
3bce8237
SA
64862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6487
191a8a90
JB
6488 * gdb.base/vla-sideeffect.c: New file.
6489 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6490
322f9c21
YQ
64912014-04-11 Yao Qi <yao@codesourcery.com>
6492
6493 * gdb.base/completion.exp: Check file exists before running tests
6494 on file completion.
6495
d708bcd1
PA
64962014-04-10 Pedro Alves <palves@redhat.com>
6497
6498 * gdb.base/cond-eval-mode.c: New file.
6499 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6500 prepare_for_testing to build the new file. Check result of
6501 runto_main.
6502 (test_break, test_watch): New procedures.
6503 (top level): Use them.
6504
ae1d2761
PM
65052014-04-08 Pierre Muller <muller@sourceware.org>
6506
6507 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6508 Ctrl-V use for mingw hosts.
6509
7af389b8
SC
65102014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6511
6512 * gdb.python/py-value.c: Improve test case.
6513 * gdb.python/py-value.exp: Add new test.
6514
5e703181
DE
65152014-04-07 David Blaikie <dblaikie@gmail.com>
6516
6517 * lib/compiler.c: Identify the clang compiler.
6518 * lib/compiler.cc: Ditto.
6519
9810b410
YQ
65202014-04-03 Yao Qi <yao@codesourcery.com>
6521
6522 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6523
98d1b8dc
AB
65242014-04-01 Anton Blanchard <anton@samba.org>
6525
6526 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6527 messages unique.
6528
3114cea1
AB
65292014-04-01 Anton Blanchard <anton@samba.org>
6530
6531 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6532 prepare_for_testing.
6533
62f7182c
AB
65342014-04-01 Anton Blanchard <anton@samba.org>
6535
6536 * gdb.arch/ppc64-atomic-inst.c: Remove.
6537 * gdb.arch/ppc64-atomic-inst.S: New file.
6538 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6539
770e7fc7
DE
65402014-03-31 Doug Evans <dje@google.com>
6541
6542 * gdb.base/print-symbol-loading-lib.c: New file.
6543 * gdb.base/print-symbol-loading-main.c: New file.
6544 * gdb.base/print-symbol-loading.exp: New file.
6545
46e2bafa
YQ
65462014-03-31 Yao Qi <yao@codesourcery.com>
6547
6548 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6549
8776cfe9
JB
65502014-03-28 Joel Brobecker <brobecker@adacore.com>
6551
6552 * gdb.ada/mi_dyn_arr: New testcase.
6553
5d1ef361
DE
65542014-03-27 Doug Evans <dje@google.com>
6555
6556 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6557
b5bee914
YQ
65582014-03-27 Yao Qi <yao@codesourcery.com>
6559
6560 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6561 if target is nios2-*-*.
6562
0d4d0e77
YQ
65632014-03-26 Yao Qi <yao@codesourcery.com>
6564
6565 * lib/gdb.exp (readline_is_used): New proc.
6566 * gdb.base/completion.exp: Move tests on command complete up.
6567 Skip the rest of tests if readline is not used.
6568 * gdb.ada/complete.exp: Skp the test if readline is not
6569 used.
6570 * gdb.base/filesym.exp: Likewise.
6571 * gdb.base/macscp.exp: Likewise.
6572 * gdb.base/readline-ask.exp: Likewise.
6573 * gdb.base/readline.exp: Likewise.
6574 * gdb.python/py-cmd.exp: Likewise.
6575 * gdb.trace/tfile.exp: Likewise.
6576
29361eee
YQ
65772014-03-26 Yao Qi <yao@codesourcery.com>
6578
6579 * gdb.base/macscp.exp: Fix code format issues.
6580
bc9a5525
UW
65812014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6582
6583 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6584 * gdb.asm/powerpc64le.inc: New file.
6585
d3839ede
PA
65862014-03-25 Pedro Alves <palves@redhat.com>
6587 Doug Evans <dje@google.com>
6588
6589 * gdb.base/source-execution.c: New file.
6590 * gdb.base/source-execution.exp: New file.
6591 * gdb.base/source-execution.gdb: New file.
6592
01672a57
DE
65932014-03-24 Doug Evans <dje@google.com>
6594
6595 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6596 using fission.
6597
88bbeca9
HZ
65982014-03-24 Hui Zhu <hui@codesourcery.com>
6599 Pedro Alves <palves@redhat.com>
6600
6601 PR breakpoints/16101
6602 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6603 test pass/fail messages. Detect missing support for dprintf when
6604 breakpoints are actually inserted.
6605 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6606 breakpoints are actually inserted.
6607 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6608 fails.
6609
d2348791
JK
66102014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6611
6612 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6613
feef67ab
DE
66142014-03-22 Doug Evans <xdje42@gmail.com>
6615
6616 * gdb.python/python.exp (python not supported): Verify multi-line
6617 python command issues an error.
25d743f9 6618 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6619 guile command issues an error.
feef67ab 6620
ecebef6a
MR
66212014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6622
6623 * gdb.threads/thread-specific.exp: Handle the lack of usable
6624 $this_breakpoint and $this_thread.
6625
ccdd1909
HZ
66262014-03-21 Hui Zhu <hui@codesourcery.com>
6627
6628 * gdb.base/attach.exp (do_command_attach_tests): New.
6629
beb460e8
PA
66302014-03-20 Tom Tromey <tromey@redhat.com>
6631 Pedro Alves <palves@redhat.com>
6632
6633 PR cli/15718
6634 * gdb.base/condbreak-call-false.c: New file.
6635 * gdb.base/condbreak-call-false.exp: New file.
6636
40acf43a
PA
66372014-03-20 Pedro Alves <palves@redhat.com>
6638
6639 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6640 Delete.
6641 (block_signals, unblock_signals): Delete.
6642 (child_function_2, main): Remove references to deleted variable
6643 and functions.
6644
9f5e1e02
PA
66452014-03-20 Pedro Alves <palves@redhat.com>
6646
6647 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6648 Use pthread_kill to signal thread 2.
6649 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6650 Adjust to make the test send itself a signal rather than using the
6651 host's "kill" command.
6652
99619bea
PA
66532014-03-20 Pedro Alves <palves@redhat.com>
6654
6655 * gdb.threads/multiple-step-overs.c: New file.
6656 * gdb.threads/multiple-step-overs.exp: New file.
6657 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6658 Adjust expected infrun debug output.
6659
2adfaa28
PA
66602014-03-20 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6663 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6664
31e77af2
PA
66652014-03-20 Pedro Alves <palves@redhat.com>
6666
6667 PR breakpoints/7143
6668 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6669 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6670 of gdb_test_multiple.
6671 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6672 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6673
b9f437de
PA
66742014-03-20 Pedro Alves <palves@redhat.com>
6675
6676 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6677 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6678
05adc73e
PA
66792014-03-19 Pedro Alves <palves@redhat.com>
6680
6681 * gdb.base/async.exp: Remove early return.
6682
6048b950
PA
66832014-03-19 Pedro Alves <palves@redhat.com>
6684
6685 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6686
8bcfb00a
PA
66872014-03-19 Pedro Alves <palves@redhat.com>
6688
6689 * gdb.base/async.exp (test_background): Expect \r\n after
6690 "completed." in the fail pattern.
6691
884e37dc
PA
66922014-03-19 Pedro Alves <palves@redhat.com>
6693
6694 * gdb.base/async.exp (test_background): New procedure.
6695 Use it for all background execution command tests.
6696
148e57e2
PA
66972014-03-19 Pedro Alves <palves@redhat.com>
6698
6699 * gdb.base/async.exp: Use prepare_for_testing.
6700
f48088c7
PA
67012014-03-19 Pedro Alves <palves@redhat.com>
6702
6703 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6704 the same line.
6705
e2f6c966
PA
67062014-03-19 Pedro Alves <palves@redhat.com>
6707
6708 * gdb.base/async.c (main): Add "jump here" and "until here" line
6709 marker comments.
6710 * gdb.base/async.exp (jump_here): New global.
6711 (jump& test): Use it.
6712 (until_here): New global.
6713 (until& test): Use it.
6714
c30568d4
PA
67152014-03-19 Pedro Alves <palves@redhat.com>
6716
6717 * gdb.base/async.exp: Don't frob gdb_protocol.
6718
0172b6a7
DE
67192014-03-18 Doug Evans <xdje42@gmail.com>
6720
6721 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6722 Fix spelling of exec-done-display.
6723
06c868a8
JK
67242014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6725
6726 PR gdb/15358
6727 * gdb.base/gdb-sigterm.c: New file.
6728 * gdb.base/gdb-sigterm.exp: New file.
6729
0c7e1a46
PA
67302014-03-18 Pedro Alves <palves@redhat.com>
6731
6732 PR gdb/13860
6733 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6734 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6735 solib-event.
6736
f7c77d93
JB
67372014-03-17 Joel Brobecker <brobecker@adacore.com>
6738
6739 * gdb.ada/pckd_arr_ren: New testcase.
6740
5a1e8c7a
DE
67412014-03-13 Doug Evans <xdje42@gmail.com>
6742
6743 PR guile/16612
6744 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6745 collect after discarding symbols.
6746
350e1a76
DE
67472014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
6748 Doug Evans <xdje42@gmail.com>
6749
6750 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6751 to history survives a gc.
6752
a69900ae
PA
67532014-03-13 Pedro Alves <palves@redhat.com>
6754
6755 * gdb.base/default.exp: Don't test "target procfs".
6756
5db9f0bd
PA
67572014-03-13 Pedro Alves <palves@redhat.com>
6758
6759 * gdb.base/default.exp: Update "target child" and "target procfs"
6760 tests to not expect "Unix".
6761
b3ccfe11
TT
67622014-03-12 Tom Tromey <tromey@redhat.com>
6763
6764 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6765 New procs. Add target-async tests.
6766 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6767 Add target-async tests.
6768
646f4417
AA
67692014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6770
6771 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6772 'func_start' and 'func_end' for the beginning and end of the
6773 function code, respectively.
6774 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6775 'func_end' instead of 'func' and 'main'.
6776
288c211f
AA
67772014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6778
6779 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6780 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6781 generate the debug info assembler source.
6782
e0c0f156
AA
67832014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6784
6785 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6786 * gdb.dwarf2/arr-subrange.exp: Likewise.
6787 * gdb.dwarf2/dwz.exp: Likewise.
6788 * gdb.dwarf2/method-ptr.exp: Likewise.
6789 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6790 * gdb.dwarf2/subrange.exp: Likewise.
6791 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6792 * gdb.dwarf2/implptrpiece.exp: Likewise.
6793 * gdb.dwarf2/nostaticblock.exp: Likewise.
6794
0e5c4555
AA
67952014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6796
6797 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6798 directory to absolute path name arguments.
6799
5ec18f2b
JG
68002014-03-10 Joel Brobecker <brobecker@adacore.com>
6801
6802 * gdb.ada/tagged_access: New testcase.
6803
847fc4f2
MM
68042014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6805
6806 * gdb.btrace/data.exp: Update expected output.
6807
cc3da688
YQ
68082014-03-06 Yao Qi <yao@codesourcery.com>
6809
6810 * gdb.trace/pr16508.exp: New file.
6811
0f26cec1
PA
68122014-03-05 Pedro Alves <palves@redhat.com>
6813
6814 PR gdb/16575
6815 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6816 procedure.
6817 (top level): Adjust to use it. Add tests that exercise breakpoint
6818 interaction with the code-cache.
6819
7a5a839f
LC
68202014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
6821
6822 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6823 test for 'history-append!'.
6824
31aa7e4e
JB
68252014-02-26 Joel Brobecker <brobecker@adacore.com>
6826
6827 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6828 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6829 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6830 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6831 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6832 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6833
1b588015
JB
68342014-02-26 Joel Brobecker <brobecker@adacore.com>
6835
6836 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6837 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6838 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6839
55426c9d
JB
68402014-02-26 Joel Brobecker <brobecker@adacore.com>
6841
6842 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6843
dc53a7ad
JB
68442014-02-26 Joel Brobecker <brobecker@adacore.com>
6845
6846 * gdb.dwarf2/arr-stride.c: New file.
6847 * gdb.dwarf2/arr-stride.exp: New file.
6848
12ab52e9
PA
68492014-02-26 Pedro Alves <palves@redhat.com>
6850
6851 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6852 that won't ever trigger. Make sure that GDB reports the correct
6853 breakpoint that caused the stop.
6854
849c862e
JK
68552014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6856
6857 PR gdb/16626
6858 * gdb.base/auto-load-script: New file.
6859 * gdb.base/auto-load.c: New file.
6860 * gdb.base/auto-load.exp: New file.
6861
71b7d793
JK
6862 PR gdb/16626
6863 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6864
e2f0d509
JK
68652014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6866
6867 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6868 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6869
50cc37c8
DE
68702014-02-24 Doug Evans <dje@google.com>
6871
6872 * lib/gdb.exp (run_on_host): Log error output if program fails.
6873
ea4758f2
PA
68742014-02-21 Pedro Alves <palves@redhat.com>
6875
6876 * gdb.threads/step-after-sr-lock.c: Rename to ...
6877 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6878 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6879 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6880 ... this.
6881
d7b30f67
SDJ
68822014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6883
6884 PR tdep/16397
6885 * gdb.arch/amd64-stap-special-operands.exp: New file.
6886 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6887 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6888 * gdb.arch/amd64-stap-triplet.S: Likewise.
6889 * gdb.arch/amd64-stap-triplet.c: Likewise.
6890
83deb43f
JB
68912014-02-20 Joel Brobecker <brobecker@adacore.com>
6892
6893 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6894 in .section pseudo-op.
6895
adde2bff
DE
68962014-02-20 lin zuojian <manjian2006@gmail.com>
6897 Joel Brobecker <brobecker@adacore.com>
6898 Doug Evans <xdje42@gmail.com>
6899
6900 PR symtab/16581
6901 * gdb.dwarf2/dw2-icycle.S: New file.
6902 * gdb.dwarf2/dw2-icycle.c: New file.
6903 * gdb.dwarf2/dw2-icycle.exp: New file.
6904
f7bd0f78
SC
69052014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6906
6907 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6908 operations on gdb.Value objects.
6909 * gdb.python/py-value-cc.exp: Add new test to test operations on
6910 gdb.Value objects.
6911
c17ef0d5
DE
69122014-02-18 Doug Evans <dje@google.com>
6913
6914 * Makefile.in (TESTS): New variable.
6915 (expanded_tests, expanded_tests_or_none): New variables
6916 (check-single): Pass $(expanded_tests_or_none) to runtest.
6917 (check-parallel): Only run tests in $(TESTS) if non-empty.
6918 (check/no-matching-tests-found): New rule.
6919 * README: Document TESTS makefile variable.
6920
5dd3176f
DE
69212014-02-18 Doug Evans <dje@google.com>
6922
6923 * Makefile.in (check-parallel): rm -rf outputs temp.
6924
0b10be4f
JK
69252014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6926
6927 Fix "ERROR: no fileid for" in the testsuite.
6928 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6929
85f224e7
DE
69302014-02-12 Doug Evans <dje@google.com>
6931
6932 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6933 (MISCELLANEOUS): New variable.
6934 (clean): rm -rf $(MISCELLANEOUS).
6935 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6936 dwp live in the same directory as symlinks, with each symlink pointed
6937 to a differently named file in a different directory.
6938
149b30ff
DE
69392014-02-11 Doug Evans <dje@google.com>
6940
6941 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6942 of Tcl file commands.
6943
1dfdac32
MK
69442014-02-10 Mark Kettenis <kettenis@gnu.org>
6945
6946 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6947 "kill -SIGUSR1 -1".
6948
aa4fb036
JB
69492014-02-10 Joel Brobecker <brobecker@adacore.com>
6950
6951 * gdb.ada/tick_length_array_enum_idx: New testcase.
6952
ed3ef339
DE
69532014-02-10 Doug Evans <xdje42@gmail.com>
6954
6955 * configure.ac (AC_OUTPUT): Add gdb.guile.
6956 * configure: Regenerate.
6957 * lib/gdb-guile.exp: New file.
6958 * lib/gdb.exp (get_target_charset): New function.
6959 * gdb.base/help.exp: Update expected output from "apropos apropos".
6960 * gdb.guile/Makefile.in: New file.
6961 * gdb.guile/guile.exp: New file.
6962 * gdb.guile/scm-arch.c: New file.
6963 * gdb.guile/scm-arch.exp: New file.
6964 * gdb.guile/scm-block.c: New file.
6965 * gdb.guile/scm-block.exp: New file.
6966 * gdb.guile/scm-breakpoint.c: New file.
6967 * gdb.guile/scm-breakpoint.exp: New file.
6968 * gdb.guile/scm-disasm.c: New file.
6969 * gdb.guile/scm-disasm.exp: New file.
6970 * gdb.guile/scm-equal.c: New file.
6971 * gdb.guile/scm-equal.exp: New file.
6972 * gdb.guile/scm-error.exp: New file.
6973 * gdb.guile/scm-error.scm: New file.
6974 * gdb.guile/scm-frame-args.c: New file.
6975 * gdb.guile/scm-frame-args.exp: New file.
6976 * gdb.guile/scm-frame-args.scm: New file.
6977 * gdb.guile/scm-frame-inline.c: New file.
6978 * gdb.guile/scm-frame-inline.exp: New file.
6979 * gdb.guile/scm-frame.c: New file.
6980 * gdb.guile/scm-frame.exp: New file.
6981 * gdb.guile/scm-generics.exp: New file.
6982 * gdb.guile/scm-gsmob.exp: New file.
6983 * gdb.guile/scm-iterator.c: New file.
6984 * gdb.guile/scm-iterator.exp: New file.
6985 * gdb.guile/scm-math.c: New file.
6986 * gdb.guile/scm-math.exp: New file.
6987 * gdb.guile/scm-objfile-script-gdb.in: New file.
6988 * gdb.guile/scm-objfile-script.c: New file.
6989 * gdb.guile/scm-objfile-script.exp: New file.
6990 * gdb.guile/scm-objfile.c: New file.
6991 * gdb.guile/scm-objfile.exp: New file.
6992 * gdb.guile/scm-ports.exp: New file.
6993 * gdb.guile/scm-pretty-print.c: New file.
6994 * gdb.guile/scm-pretty-print.exp: New file.
6995 * gdb.guile/scm-pretty-print.scm: New file.
6996 * gdb.guile/scm-section-script.c: New file.
6997 * gdb.guile/scm-section-script.exp: New file.
6998 * gdb.guile/scm-section-script.scm: New file.
6999 * gdb.guile/scm-symbol.c: New file.
7000 * gdb.guile/scm-symbol.exp: New file.
7001 * gdb.guile/scm-symtab-2.c: New file.
7002 * gdb.guile/scm-symtab.c: New file.
7003 * gdb.guile/scm-symtab.exp: New file.
7004 * gdb.guile/scm-type.c: New file.
7005 * gdb.guile/scm-type.exp: New file.
7006 * gdb.guile/scm-value-cc.cc: New file.
7007 * gdb.guile/scm-value-cc.exp: New file.
7008 * gdb.guile/scm-value.c: New file.
7009 * gdb.guile/scm-value.exp: New file.
7010 * gdb.guile/source2.scm: New file.
7011 * gdb.guile/types-module.cc: New file.
7012 * gdb.guile/types-module.exp: New file.
7013
7026a7c1
YQ
70142014-02-10 Yao Qi <yao@codesourcery.com>
7015
7016 PR testsuite/16543
7017 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7018 * configure: Regenerated.
7019 * Makefile.in: New file.
7020
6c466447
AS
70212014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7022
7023 * gdb.python/py-framefilter.exp: Fix typo.
7024
6e854735
YQ
70252014-02-08 Yao Qi <yao@codesourcery.com>
7026
7027 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7028 that no =breakpoint-modified is emitted when breakpoints are
7029 modified through MI commands.
7030
d137e6dc
PA
70312014-02-07 Pedro Alves <pedro@codesourcery.com>
7032 Pedro Alves <palves@redhat.com>
7033
7034 * gdb.threads/step-after-sr-lock.c: New file.
7035 * gdb.threads/step-after-sr-lock.exp: New file.
7036
b5ee5a50
PA
70372014-02-07 Pedro Alves <palves@redhat.com>
7038
7039 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7040
3c77faf3
JK
70412014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7042
7043 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7044 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7045
6dddc817
DE
70462014-02-06 Doug Evans <xdje42@gmail.com>
7047
7048 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7049 output.
7050
7051 * gdb.gdb/python-interrupts.exp: New file.
7052
de7b2893
YQ
70532014-02-05 Yao Qi <yao@codesourcery.com>
7054
7055 * gdb.trace/report.exp (use_collected_data): Test the output
7056 of "info threads" and "info inferiors".
7057
66d032ac
YQ
70582014-02-05 Yao Qi <yao@codesourcery.com>
7059
7060 Revert this patch:
7061
7062 2013-05-24 Yao Qi <yao@codesourcery.com>
7063
7064 * gdb.trace/tfile.exp: Test inferior and thread.
7065
591a12a1
UW
70662014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7067
7068 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7069 on a function.
7070 * gdb.base/step-bt.c: Call hello via function pointer to make
7071 sure its first instruction is executed on powerpc64le-linux.
7072
0ff3e01f
UW
70732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7074
7075 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7076
084ee545
UW
70772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7078
7079 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7080 of the test patterns for use on little-endian systems.
7081
6ed14ff3
UW
70822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7083
7084 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7085 (decimal_vector): Fix for little-endian.
7086
401e27fd
JM
70872014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7088
7089 * gdb.arch/sparc-sysstep.exp: New file.
7090 * gdb.arch/sparc-sysstep.c: Likewise.
7091
7092 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7093
8b924729
EBM
70942014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7095
7096 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7097
fb151210
JB
70982014-01-23 Tom Tromey <tromey@redhat.com>
7099
7100 * gdb.ada/array_char_idx: New testcase.
7101
0740f8d8
TT
71022014-01-23 Tom Tromey <tromey@redhat.com>
7103
7104 PR python/16487:
7105 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7106 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7107 classes.
7108
21909fa1
TT
71092014-01-23 Tom Tromey <tromey@redhat.com>
7110
7111 PR python/16491:
7112 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7113 string from an inferior frame.
7114 * gdb.python/py-framefilter-mi.exp: Update.
7115
87ce2a04
DE
71162014-01-22 Doug Evans <dje@google.com>
7117
7118 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7119
237b092b
AA
71202014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7121
7122 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7123
d674a709
AA
71242014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7125
7126 * gdb.trace/entry-values.exp: Remove excess space character from
7127 regex patterns. Handle s390 call instruction.
7128
20fa3390
AA
71292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7130
7131 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7132 define "*_start" label. Make "name" static.
7133 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7134 ${name} by references to ${name}_start.
7135
78466714
AA
71362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7137
7138 * gdb.base/info-macros.exp: Remove "debug" from the compile
7139 options.
7140
ec9f644a
IB
71412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7142
7143 * gdb.dlang/demangle.exp: New file.
7144
94b1b47e
IB
71452014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7146
7147 * gdb.dlang/primitive-types.exp: New file.
7148
7f420862
IB
71492014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7150
7151 * configure.ac: Create gdb.dlang/Makefile.
7152 * configure: Regenerate.
7153 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7154 * gdb.dlang/Makefile.in: New file.
7155 * lib/d-support.exp: New file.
7156 * lib/gdb.exp (skip_d_tests): New proc.
7157
52834460
MM
71582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7159
7160 * gdb.btrace/delta.exp: Check reverse stepi.
7161 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7162 * gdb.btrace/finish.exp: New.
7163 * gdb.btrace/next.exp: New.
7164 * gdb.btrace/nexti.exp: New.
7165 * gdb.btrace/record_goto.c: Add comments.
7166 * gdb.btrace/step.exp: New.
7167 * gdb.btrace/stepi.exp: New.
7168 * gdb.btrace/multi-thread-step.c: New.
7169 * gdb.btrace/multi-thread-step.exp: New.
7170 * gdb.btrace/rn-dl-bind.c: New.
7171 * gdb.btrace/rn-dl-bind.exp: New.
7172 * gdb.btrace/data.c: New.
7173 * gdb.btrace/data.exp: New.
7174 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7175
6e07b1d2
MM
71762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7177
7178 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7179 * gdb.btrace/exception.exp: Update.
7180 * gdb.btrace/instruction_history.exp: Update.
7181 * gdb.btrace/record_goto.exp: Update.
7182 * gdb.btrace/tailcall.exp: Update.
7183 * gdb.btrace/unknown_functions.exp: Update.
7184 * gdb.btrace/delta.exp: New.
7185
0b722aec
MM
71862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7187
7188 * gdb.btrace/record_goto.exp: Add backtrace test.
7189 * gdb.btrace/tailcall.exp: Add backtrace test.
7190
066ce621
MM
71912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7192
7193 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7194 * gdb.btrace/record_goto.c: New.
7195 * gdb.btrace/record_goto.exp: New.
7196 * gdb.btrace/x86-record_goto.S: New.
7197
0688d04e
MM
71982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7199
7200 * gdb.btrace/function_call_history.exp: Update tests.
7201 * gdb.btrace/instruction_history.exp: Update tests.
7202
8710b709
MM
72032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7204
7205 * gdb.btrace/function_call_history.exp: Fix expected field
7206 order for "record function-call-history".
7207 Add new tests for "record function-call-history /c".
7208 * gdb.btrace/exception.cc: New.
7209 * gdb.btrace/exception.exp: New.
7210 * gdb.btrace/tailcall.exp: New.
7211 * gdb.btrace/x86-tailcall.S: New.
7212 * gdb.btrace/x86-tailcall.c: New.
7213 * gdb.btrace/unknown_functions.c: New.
7214 * gdb.btrace/unknown_functions.exp: New.
7215 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7216
5de9129b
MM
72172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7218
7219 * gdb.btrace/instruction_history.exp: Update.
7220 * gdb.btrace/function_call_history.exp: Update.
7221
23a7fe75
MM
72222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7223
7224 * gdb.btrace/function_call_history.exp: Fix expected function
7225 trace.
7226 * gdb.btrace/instruction_history.exp: Initialize traced.
7227 Remove traced_functions.
7228
724c7dd8
MM
72292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7230
7231 * gdb.btrace/function_call_history.exp: Update
7232 * gdb.btrace/instruction_history.exp: Update.
7233
6d78d93b
MM
72342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7235
7236 * gdb.btrace/enable.exp: Update expected text.
7237
93a360cc
OJ
72382014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7239
7240 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7241 bytes.
7242
3772b53f
MR
72432014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7244
7245 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7246
596662fa
OJ
72472014-01-15 Omair Javaid <omair.javaid@linaro.org>
7248
7249 * lib/gdb.exp (supports_process_record): Return true for
7250 arm*-linux*. (supports_reverse): Likewise.
7251
b5b08fb4
SC
72522014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7253
7254 PR python/15464
7255 PR python/16113
7256 * gdb.python/py-type.c: Enhance test case.
7257 * gdb.python/py-value-cc.cc: Likewise
7258 * gdb.python/py-type.exp: Add new tests.
7259 * gdb.python/py-value-cc.exp: Likewise
7260
52d7fb13
AA
72612014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7262 Pedro Alves <palves@redhat.com>
7263
7264 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7265 Make "name" extern.
7266 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7267 references to ${name}_start by references to ${name}.
7268
a2cd8cfe
JB
72692014-01-10 Joel Brobecker <brobecker@adacore.com>
7270
7271 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7272
4e23fced
JB
72732014-01-10 Joel Brobecker <brobecker@adacore.com>
7274
7275 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7276
c6a9e42c
PA
72772014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7278 Pedro Alves <palves@redhat.com>
7279
7280 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7281 mi_gdb_target_load.
c6a9e42c 7282
b7ea362b
PA
72832014-01-08 Pedro Alves <palves@redhat.com>
7284
7285 * gdb.threads/reconnect-signal.c: New file.
7286 * gdb.threads/reconnect-signal.exp: New file.
7287
5e3f4fab
EBM
72882014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7289
7290 * gdb.base/source-dir.exp: New file.
7291
79301218
JB
72922014-01-07 Joel Brobecker <brobecker@adacore.com>
7293
7294 * gdb.ada/mi_interface: New testcase.
7295
8e355c5d
JB
72962014-01-07 Joel Brobecker <brobecker@adacore.com>
7297
7298 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7299 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7300 gdb.ada/pp-rec-component/pck.ads: New files.
7301
c0d48811
JB
73022014-01-07 Joel Brobecker <brobecker@adacore.com>
7303
7304 * gdb.python/py-pp-integral.c: New file.
7305 * gdb.python/py-pp-integral.py: New file.
7306 * gdb.python/py-pp-integral.exp: New file.
7307
17b609c3 7308For older changes see ChangeLog-1993-2013.
c906108c 7309\f
8d8cb839
EZ
7310;; Local Variables:
7311;; mode: change-log
7312;; left-margin: 8
7313;; fill-column: 74
7314;; version-control: never
7315;; End:
902f2ccb 7316
618f726f 7317 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7318 Copying and distribution of this file, with or without modification,
7319 are permitted provided the copyright notice and this notice are preserved.
This page took 2.534628 seconds and 4 git commands to generate.