]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame_incremental - gdb/testsuite/ChangeLog
Add support for converting LDR Rx,=<imm> to MOV or MVN in Thumb2 mode.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4 (VECTOR): New macro. Use it...
5 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6 ...for these typedefs.
7 (int8, char1, int1, double1): New typedefs.
8 (struct just_int2, struct two_int2): New structures.
9 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10 (add_structvecs, add_singlevecs): New functions.
11 (main): Call add_some_intvecs twice.
12 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13 the compile and exit upon failure. Try compiling for the "native"
14 architecture. Test inferior function calls with vector arguments
15 and vector return value handling with "finish" and "return".
16
172015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18
19 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
20 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
21 PE file.
22 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
23
242015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
25
26 PR breakpoints/16465
27 * gdb.mi/mi-dprintf-pending.c: New file.
28 * gdb.mi/mi-dprintf-pending.exp: New test.
29 * gdb.mi/mi-dprintf-pendshr.c: New file.
30
312015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
32 Mircea Gherzan <mircea.gherzan@intel.com>
33
34 * gdb.arch/i386-mpx-map.c: New file.
35 * gdb.arch/i386-mpx-map.exp: New File.
36
372015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
38
39 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
40 * gdb.arch/i386-mpx.exp: Indentation fixed.
41
422015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
43
44 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
45 function and improved indentation.
46 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
47 gdb_test_multiple. Added additional tests to skip the test.
48
492015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
50
51 * gdb.arch/i386-avx512.c: Change path in include file.
52 * gdb.arch/i386-avx512.exp: Change include dir path
53 compilation flag.
54 * gdb.arch/i386-mpx.c: Change path in include file.
55 * gdb.arch/i386-mpx.exp: Change include dir path compilation
56 flag.
57
582015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
59
60 * gdb.compile/compile-print.exp (compile print *vararray@3)
61 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
62
632015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
64
65 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
66 (do not keep jit in memory): ... this.
67 (expect 5): Change it to ...
68 (expect no 5): ... this.
69
702015-06-02 Simon Marchi <simon.marchi@ericsson.com>
71
72 PR gdb/15564
73 * gdb.mi/mi-detach.exp: New file.
74
752015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
76
77 PR symtab/18392
78 * gdb.arch/amd64-tailcall-self.S: New file.
79 * gdb.arch/amd64-tailcall-self.c: New file.
80 * gdb.arch/amd64-tailcall-self.exp: New file.
81
822015-05-28 Don Breazeal <donb@codesourcery.com>
83
84 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
85 tests for remote targets by checking is_target_gdbserver.
86
872015-05-27 Doug Evans <dje@google.com>
88
89 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
90 * gdb.dwarf2/opaque-type-lookup.c: New file.
91 * gdb.dwarf2/opaque-type-lookup.exp: New file.
92
932015-05-26 Doug Evans <dje@google.com>
94
95 * gdb.cp/iostream.cc: New file.
96 * gdb.cp/iostream.exp: New file.
97
982015-05-26 Doug Evans <dje@google.com>
99
100 * gdb.dwarf2/dw2-op-call.exp: Update.
101 * gdb.dwarf2/dw4-sig-types.exp: Update.
102 * gdb.dwarf2/implptr.exp: Update.
103 * gdb.mi/mi-cmd-param-changed.exp: Update.
104
1052015-05-26 Doug Evans <dje@google.com>
106
107 * gdb.python/py-lazy-string.c: New file.
108 * gdb.python/py-lazy-string.exp: New file.
109 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
110 (main): Update. Add estring3.
111 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
112 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
113
1142015-05-26 Omair Javaid <omair.javaid@linaro.org>
115 Yao Qi <yao.qi@linaro.org>
116
117 * gdb.reverse/aarch64.c: New.
118 * gdb.reverse/aarch64.exp: New.
119
1202015-05-26 Omair Javaid <omair.javaid@linaro.org>
121
122 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
123 (supports_reverse): Likewise.
124
1252015-05-22 Patrick Palka <patrick@parcs.ath.cx>
126
127 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
128 Use with_test_prefix.
129
1302015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
131
132 * gdb.base/completion.exp: Add test for completion of layout
133 names.
134
1352015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * lib/gdb.exp (skip_tui_tests): New proc.
138 * gdb.base/tui-layout.exp: Check skip_tui_tests.
139
1402015-05-19 Pedro Alves <palves@redhat.com>
141
142 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
143 Save the whole env array instead of just HOME. Unset HISTSIZE in
144 the environment while testing. Restore whole environment
145 afterwards.
146
1472015-05-16 Doug Evans <xdje42@gmail.com>
148
149 * gdb.guile/scm-ports.c: New file.
150 * gdb.guile/scm-ports.exp: Add memory port tests.
151
1522015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
153
154 * gdb.compile/compile-print.c: New file.
155 * gdb.compile/compile-print.exp: New file.
156
1572015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
158
159 * gdb.compile/compile-ops.exp: Cast param to void.
160 * gdb.compile/compile.exp: Complete type for _gdb_expr.
161 (compile code struct_object.selffield = &struct_object): Add xfail.
162
1632015-05-15 Joel Brobecker <brobecker@adacore.com>
164
165 * gdb.ada/arr_enum_with_gap: New testcase.
166
1672015-05-15 Joel Brobecker <brobecker@adacore.com>
168
169 * gdb.ada/byte_packed_arr: New testcase.
170
1712015-05-15 Joel Brobecker <brobecker@adacore.com>
172
173 * gdb.ada/pckd_neg: New testcase.
174
1752015-05-13 Patrick Palka <patrick@parcs.ath.cx>
176
177 PR gdb/17820
178 * gdb.base/gdbinit-history.exp: New test.
179 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
180 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
181
1822015-05-09 Siva Chandra Reddy <sivachandra@google.com>
183
184 * gdb.python/py-xmethods.cc: Enhance test case.
185 * gdb.python/py-xmethods.exp: New tests.
186 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
187 function.
188 (B_indexoper): Likewise.
189 (global_dm_list) : Add new xmethod worker functions.
190
1912015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
192
193 * gdb.base/coredump-filter.exp: Correctly unset
194 "coredump_var_addr" array.
195
1962015-05-08 Pedro Alves <palves@redhat.com>
197
198 * gdb.server/non-existing-program.exp: Unset spawn_id.
199
2002015-05-08 Siva Chandra Reddy <sivachandra@google.com>
201
202 PR python/18291
203 * gdb.python/py-xmethods.exp: Add tests.
204
2052015-05-08 Yao Qi <yao.qi@linaro.org>
206
207 PR gdb/18208
208 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
209 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
210 function set_coredump_filter, and remove remote_exec call.
211 Remove argument ipid. Callers update.
212 (top level): Don't get inferior's PID.
213
2142015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
215
216 * gdb.base/watch_thread_num.exp: Skip test on targets without
217 access watchpoints.
218
2192015-05-06 Pedro Alves <palves@redhat.com>
220
221 PR server/18081
222 * gdb.server/non-existing-program.exp: New file.
223
2242015-05-05 Joel Brobecker <brobecker@adacore.com>
225
226 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
227
2282015-05-05 Joel Brobecker <brobecker@adacore.com>
229
230 * gdb.ada/out_of_line_in_inlined: New testcase.
231
2322015-05-05 Joel Brobecker <brobecker@adacore.com>
233
234 * gdb.ada/var_rec_arr: New testcase.
235
2362015-04-30 Yao Qi <yao.qi@linaro.org>
237
238 * gdb.base/break-idempotent.exp: If
239 skip_hw_watchpoint_multi_tests returns true, skip the tests
240 on "rwatch" and "awatch".
241
2422015-04-30 Yao Qi <yao.qi@linaro.org>
243
244 * gdb.base/relativedebug.exp: Invoke gdb command
245 "info sharedlibrary", and if libc.so doesn't have debug info,
246 skip the test.
247
2482015-04-29 Doug Evans <dje@google.com>
249
250 * gdb.python/py-xmethods.exp: Add ptype tests.
251 * gdb.python/py-xmethods.py (E_method_char_worker): Add
252 get_result_type method.
253
2542015-04-29 Luis Machado <lgustavo@codesourcery.com>
255
256 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
257 the target does not support hardware watchpoints.
258
2592015-04-29 Luis Machado <lgustavo@codesourcery.com>
260
261 * gdb.base/break-always.exp: Abort testing if writing to memory
262 causes an error.
263
2642015-04-28 Doug Evans <dje@google.com>
265
266 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
267 * gdb.python/py-pp-registration.exp: ... here. New file.
268 * gdb.python/py-pp-registration.c: New file.
269 * gdb.python/py-pp-registration.py: New file.
270
2712015-04-28 Doug Evans <dje@google.com>
272
273 * gdb.python/py-bad-printers.c: New file.
274 * gdb.python/py-bad-printers.py: New file.
275 * gdb.python/py-bad-printers.exp: New file.
276
2772015-04-28 Sasha Smundak <asmundak@google.com>
278
279 * gdb.python/py-type.exp: New test.
280
2812015-04-28 Andy Wingo <wingo@igalia.com>
282
283 * gdb.python/py-parameter.exp:
284 * gdb.guile/scm-parameter.exp: Escape the path that we are
285 matching against, as it might contain characters that are special
286 to regular expressions.
287
2882015-04-27 Joel Brobecker <brobecker@adacore.com>
289
290 * gdb.ada/rec_comp: New testcase.
291
2922015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
293
294 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
295 before using it.
296
2972015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
298
299 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
300 new tests for verilog output.
301
3022015-04-24 Yao Qi <yao.qi@linaro.org>
303
304 * boards/remote-gdbserver-on-localhost.exp: New file.
305
3062015-04-23 Pedro Alves <palves@redhat.com>
307
308 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
309 $inferior_spawn_id instead of $inferior_spawn_id directly. On
310 "end of file", remove $inferior_spawn_id from the indirect list.
311
3122015-04-23 Pedro Alves <palves@redhat.com>
313
314 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
315
3162015-04-23 Pedro Alves <palves@redhat.com>
317
318 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
319 on $any_spawn_id instead of only on $gdb_spawn_id.
320
3212015-04-21 Pierre Muller <muller@sourceware.org>
322
323 PR pascal/17815
324 * lib/pascal.exp (gpc_compile): Add new option "class".
325 (fpc_compile): Likewise.
326 * gdb.pascal/case-insensitive-symbols.pas: New file.
327 * gdb.pascal/case-insensitive-symbols.exp: New file.
328
3292015-04-20 Gary Benson <gbenson@redhat.com>
330
331 * gdb.base/attach.exp: Fix three extended remote failures.
332
3332015-04-17 Gary Benson <gbenson@redhat.com>
334
335 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
336 the main executable over the remote protocol.
337
3382015-04-16 Pedro Alves <palves@redhat.com>
339
340 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
341 a new gdbserver if gdbserver_reconnect_p is set.
342
3432015-04-16 Pedro Alves <palves@redhat.com>
344
345 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
346 is set, don't exit gdbserver.
347
3482015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
349
350 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
351 appropriate .insn, such that an older assembler can be used.
352 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
353 the z/Architecture instruction set on 31-bit targets as well.
354
3552015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
356
357 * gdb.go/handcall.exp: Remove all logic related to the first
358 breakpoint and rely on go_runto_main instead.
359 * gdb.go/strings.exp: Likewise.
360 * gdb.go/unsafe.exp: Likewise.
361 * gdb.go/hello.exp: Likewise. Also rename the remaining
362 breakpoint marker to "breakpoint 1".
363 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
364 * gdb.go/strings.go: Likewise.
365 * gdb.go/unsafe.go: Likewise.
366 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
367 "set breakpoint 2 here" and rename the remaining breakpoint marker
368 to "breakpoint 1".
369
3702015-04-15 Simon Marchi <simon.marchi@ericsson.com>
371
372 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
373 if itertools.imap is not present.
374 * gdb.python/py-objfile.exp: Add parentheses.
375 * gdb.python/py-type.exp: Same.
376 * gdb.python/py-unwind-maint.py: Same.
377
3782015-04-15 Yao Qi <yao.qi@linaro.org>
379
380 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
381 of ":$ptr_size" and set its form explicitly.
382
3832015-04-15 Pedro Alves <palves@redhat.com>
384 Yao Qi <yao.qi@linaro.org>
385
386 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
387 timeout by factor of 4.
388 (test_regular_watch): Likewise.
389 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
390 * gdb.reverse/sigall-reverse.exp: Likewise.
391 * gdb.reverse/until-precsave.exp: Likewise.
392 * lib/gdb.exp (with_timeout_factor): New proc.
393 (gdb_expect): Move some code to ...
394 (get_largest_timeout): ... here. New procedure.
395
3962015-04-14 Luis Machado <lgustavo@codesourcery.com>
397
398 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
399
4002015-04-13 Luis Machado <lgustavo@codesourcery.com>
401
402 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
403 to write to the .text section.
404
4052015-04-13 Luis Machado <lgustavo@codesourcery.com>
406
407 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
408 Handle the case of targets that do not provide PID information.
409
4102015-04-13 Yao Qi <yao.qi@linaro.org>
411
412 * lib/gdbserver-support.exp (gdb_exit): Catch exception
413 and use expect instead of gdb_expect.
414
4152015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
416
417 * gdb.base/coredump-filter.exp: Rename variable "addr" to
418 "coredump_var_addr" to avoid naming conflict with other testcases.
419
4202015-04-10 Pedro Alves <palves@redhat.com>
421
422 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
423 gdb_test_sequence and gdb_assert.
424
4252015-04-10 Pedro Alves <palves@redhat.com>
426
427 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
428 test messages that don't include the breakpoint address.
429
4302015-04-10 Yao Qi <yao.qi@linaro.org>
431
432 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
433 false for some offset and width combinations which aren't
434 supported by linux kernel.
435
4362015-04-10 Pedro Alves <palves@redhat.com>
437
438 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
439 procedure, factored out from ...
440 (top level): ... here. Add "set displaced-stepping" testing axis.
441 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
442 parameter "displaced". Use it.
443 (top level): Use foreach and add "set displaced-stepping" testing
444 axis.
445
4462015-04-10 Pedro Alves <palves@redhat.com>
447
448 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
449 Remove comment.
450 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
451 both the address of the instruction that triggers the watchpoint
452 and the address of the instruction immediately after, and use
453 those addresses for the test. Fix comment.
454
4552015-04-10 Pedro Alves <palves@redhat.com>
456
457 * gdb.base/sigstep.exp (breakpoint_to_handler)
458 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
459 Test "backtrace" in handler.
460 (breakpoint_over_handler): New parameter 'displaced'. Use it.
461 (top level): Add new "displaced" test axis to
462 breakpoint_to_handler, breakpoint_to_handler_entry and
463 breakpoint_over_handler.
464
4652015-04-10 Pedro Alves <palves@redhat.com>
466
467 PR gdb/18216
468 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
469
4702015-04-10 Yao Qi <yao.qi@linaro.org>
471
472 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
473 (test_add_rn_pc): New function.
474 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
475 (top level): Invoke test_add_rn_pc.
476
4772015-04-10 Pedro Alves <palves@redhat.com>
478
479 PR gdb/13858
480 * gdb.base/step-over-no-symbols.exp: New file.
481
4822015-04-09 Andy Wingo <wingo@igalia.com>
483
484 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
485 after the Python tests.
486
4872015-04-08 Keith Seitz <keiths@redhat.com>
488
489 PR python/16699
490 * gdb.python/py-completion.exp: New tests for completion.
491 * gdb.python/py-completion.py (CompleteLimit1): New class.
492 (CompleteLimit2): Likewise.
493 (CompleteLimit3): Likewise.
494 (CompleteLimit4): Likewise.
495 (CompleteLimit5): Likewise.
496 (CompleteLimit6): Likewise.
497 (CompleteLimit7): Likewise.
498
4992015-04-08 Pedro Alves <palves@redhat.com>
500
501 PR gdb/18214
502 PR gdb/18216
503 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
504 function.
505 (main): Install it as SIGUSR1 handler.
506 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
507 parameter. Always use "setup" as prefix. Toggle "set
508 displaced-stepping" off/on depending on global. Don't switch to
509 thread 1 here.
510 (top level): Add displaced stepping "off/on" test axis. Update
511 "setup" calls. Wrap each subtest with with_test_prefix. Test
512 continuing with a queued signal in each thread.
513
5142015-04-08 Pedro Alves <palves@redhat.com>
515
516 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
517 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
518 gdb_breakpoint instead of gdb_test that doesn't expect anything.
519 Return early if running to main fails.
520 * gdb.trace/while-stepping.exp: Likewise.
521
5222015-04-07 Pedro Alves <palves@redhat.com>
523
524 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
525 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
526 interact with inferior program.
527
5282015-04-07 Pedro Alves <palves@redhat.com>
529
530 * lib/gdb.exp (inferior_spawn_id): New global.
531 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
532 spawn id after processing the user code.
533 (default_gdb_start): Set inferior_spawn_id.
534 (send_inferior): New procedure.
535 * lib/gdbserver-support.exp (gdbserver_start): Set
536 inferior_spawn_id.
537 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
538
5392015-04-07 Pedro Alves <palves@redhat.com>
540
541 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
542 * lib/gdbserver-support.exp (gdbserver_start): Make
543 $server_spawn_id global.
544 (gdbserver_start): Don't wait for gdbserver's spawn id with
545 expect_background.
546 (close_gdbserver): New procedure.
547 (gdb_exit): Rename the default version and reimplement.
548
5492015-04-07 Pedro Alves <palves@redhat.com>
550
551 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
552 append the substituted item, not the original item.
553
5542015-04-07 Pedro Alves <palves@redhat.com>
555
556 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
557 gdb_expect.
558
5592015-04-07 Pedro Alves <palves@redhat.com>
560
561 * gdb.base/interrupt.exp: Don't handle the case of the inferior
562 output appearing once only.
563
5642015-04-07 Pedro Alves <palves@redhat.com>
565
566 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
567 that doesn't expect anything. Return early if running to main
568 fails.
569
5702015-04-07 Yao Qi <yao.qi@linaro.org>
571
572 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
573 (child_function): Call alarm.
574 (main): Move call to alarm into the loop.
575 * gdb.threads/non-stop-fair-events.exp: Build program with
576 -DTIMEOUT=$timeout.
577
5782015-04-06 Doug Evans <xdje42@gmail.com>
579
580 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
581 Fix dest parameter to board_info.
582 (fpc_compile): Ditto.
583 (gdb_compile_pascal): Rename dest arg to destfile.
584
5852015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
586
587 * gdb.ada/funcall_ref.exp: New file.
588 * gdb.ada/funcall_ref/foo.adb: New file.
589
5902015-04-02 Yao Qi <yao.qi@linaro.org>
591
592 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
593 is remote.
594
5952015-04-02 Gary Benson <gbenson@redhat.com>
596
597 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
598
5992015-04-01 Sasha Smundak <asmundak@google.com>
600
601 * gdb.python/py-unwind-maint.c: New file.
602 * gdb.python/py-unwind-maint.exp: New test.
603 * gdb.python/py-unwind-maint.py: New file.
604 * gdb.python/py-unwind.c: New file.
605 * gdb.python/py-unwind.exp: New test.
606 * gdb.python/py-unwind.py: New test.
607
6082015-04-01 Pedro Alves <palves@redhat.com>
609
610 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
611 to fail instead of non-existent $test.
612
6132015-04-01 Pedro Alves <palves@redhat.com>
614
615 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
616 GDBFLAGS if not empty.
617
6182015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
619
620 * gdb.ada/complete.exp: Remove "multi_line".
621 * gdb.ada/info_exc.exp: Remove "multi_line".
622 * gdb.ada/packed_tagged.exp: Remove "multi_line".
623 * gdb.ada/ptype_field.exp: Remove "multi_line".
624 * gdb.ada/sym_print_name.exp: Remove "multi_line".
625 * gdb.ada/tagged.exp: Remove "multi_line".
626 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
627 [multi_line ...]
628 * gdb.btrace/delta.exp: Likewise.
629 * gdb.btrace/exception.exp: Likewise.
630 * gdb.btrace/function_call_history.exp: Likewise.
631 * gdb.btrace/instruction_history.exp: Likewise.
632 * gdb.btrace/nohist.exp: Likewise.
633 * gdb.btrace/record_goto.exp: Likewise.
634 * gdb.btrace/segv.exp: Likewise.
635 * gdb.btrace/stepi.exp: Likewise.
636 * gdb.btrace/tailcall.exp: Likewise.
637 * gdb.btrace/unknown_functions.exp: Likewise.
638 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
639 * lib/gdb.exp: Add the "multi_line" helper.
640
6412015-04-01 Pedro Alves <palves@redhat.com>
642
643 * gdb.threads/tid-reuse.c: New file.
644 * gdb.threads/tid-reuse.exp: New file.
645
6462015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
647
648 PR corefiles/16092
649 * gdb.base/coredump-filter.c: New file.
650 * gdb.base/coredump-filter.exp: Likewise.
651
6522015-03-27 Petr Machata <pmachata@redhat.com>
653
654 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
655 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
656 (Dwarf::assemble): Initialize them.
657 (Dwarf::lines): New function.
658
6592015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
660
661 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
662 SYMBOL_PREFIX for x86_64-*-cygwin.
663
6642015-03-26 Andy Wingo <wingo@igalia.com>
665
666 PR symtab/18148
667 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
668 const_value but not a location.
669 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
670 location defined in non-main CUs are visible.
671
6722015-03-26 Yao Qi <yao.qi@linaro.org>
673
674 PR testsuite/18139
675 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
676 Add a line number entry for the same line.
677 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
678 Add a line number entry for the same line.
679
6802015-03-26 Yao Qi <yao.qi@linaro.org>
681
682 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
683 .int 0.
684 (func): Likewise. Add .Lfunc_1 label.
685 Use .Lfunc_1 label.
686 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
687 .int 0.
688 (func): Likewise.
689 Use .Lfunc_1 label.
690
6912015-03-26 Yao Qi <yao.qi@linaro.org>
692
693 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
694 Call gdb_compile instead to compile each .s files without debug
695 information.
696
6972015-03-26 Yao Qi <yao.qi@linaro.org>
698
699 * gdb.base/savedregs.exp (process_saved_regs): Make
700 "Saved registers:" optional in the pattern.
701
7022015-03-25 Markus Metzger <markus.t.metzger@intel.com>
703
704 * gdb.btrace/next.exp: Merged into step.exp.
705 * gdb.btrace/finish.exp: Merged into step.exp.
706 * gdb.btrace/nexti.exp: Merged into stepi.exp.
707 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
708 "record goto" and checking the exact replay position.
709 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
710 check for "Recording format" in "info record" output.
711 * gdb.btrace/record_goto.exp: Choose test file based on target.
712 * gdb.btrace/x86-record_goto.S: Renamed into ...
713 * gdb.btrace/x86_64-record_goto.S: ... this.
714 * gdb.btrace/i686-record_goto.S: New.
715 * gdb.btrace/x86-tailcall.S: Renamed into ...
716 * gdb.btrace/x86_64-tailcall.S: ... this.
717 * gdb.btrace/i686-tailcall.S: New.
718 * gdb.btrace/x86-tailcall.c: Renamed into ...
719 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
720 separate statements. Update test.
721 * gdb.btrace/delta.exp: Use record_goto.c as test file.
722 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
723 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
724 * gdb.btrace/tailcall.exp: Choose test file based on target.
725 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
726
7272015-03-25 Markus Metzger <markus.t.metzger@intel.com>
728
729 * gdb.btrace/exception.exp: Increase BTS buffer size.
730
7312015-03-24 Pedro Alves <palves@redhat.com>
732
733 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
734
7352015-03-24 Pedro Alves <palves@redhat.com>
736
737 * gdb.threads/schedlock.exp (test_step): No longer expect that
738 "set scheduler-locking step" with "next" over a function call runs
739 threads unlocked.
740
7412015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
742
743 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
744
7452015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
746
747 PR breakpoints/16466
748 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
749 * gdb.mi/mi-pending.c (thread_func): New function.
750 (int main): Add threading support required.
751 * gdb.mi/mi-pending.exp: Add tests for this issue.
752 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
753 (pendfunc2): Remove stdio dependency.
754 * gdb.mi/mi-pendshr2.c: New file.
755
7562015-03-23 Keith Seitz <keiths@redhat.com>
757
758 * gdb.linespec/keywords.c: New file.
759 * gdb.linespec/keywords.exp: New file.
760
7612015-03-23 Keith Seitz <keiths@redhat.com>
762
763 PR gdb/18021
764 * gdb.dwarf2/staticvirtual.exp: New test.
765
7662015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
767
768 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
769 * README: Remove HP-UX and gdb.hp.
770 (configuration):
771 * configure: Regenerate.
772 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
773 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
774 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
775 gdb.hp/gdb.defects/Makefile.
776 * gdb.hp/Makefile.in: File deleted.
777 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
778 * gdb.hp/gdb.aCC/optimize.c: File deleted.
779 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
780 * gdb.hp/gdb.aCC/run.c: File deleted.
781 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
782 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
783 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
784 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
785 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
786 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
787 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
788 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
789 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
790 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
791 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
792 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
793 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
794 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
795 * gdb.hp/gdb.base-hp/reg.s: File deleted.
796 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
797 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
798 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
799 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
800 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
801 * gdb.hp/gdb.compat/Makefile.in: File deleted.
802 * gdb.hp/gdb.compat/average.c: File deleted.
803 * gdb.hp/gdb.compat/sum.c: File deleted.
804 * gdb.hp/gdb.compat/xdb.c: File deleted.
805 * gdb.hp/gdb.compat/xdb0.c: File deleted.
806 * gdb.hp/gdb.compat/xdb0.h: File deleted.
807 * gdb.hp/gdb.compat/xdb1.c: File deleted.
808 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
809 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
810 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
811 * gdb.hp/gdb.defects/Makefile.in: File deleted.
812 * gdb.hp/gdb.defects/bs14602.c: File deleted.
813 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
814 * gdb.hp/gdb.defects/solib-d.c: File deleted.
815 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
816 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
817 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
818 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
819 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
820 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
821 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
822 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
823 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
824 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
825 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
826 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
827 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
828 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
829 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
830 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
831 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
832 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
833 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
834 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
835 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
836 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
837 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
838 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
839 * gdb.hp/tools/odump: File deleted.
840
8412015-03-19 Pedro Alves <palves@redhat.com>
842
843 * gdb.threads/continue-pending-status.exp (saw_thread_2)
844 (saw_thread_3): New globals.
845 (top level): Increment them when an event for the corresponding
846 thread is seen.
847 (no thread starvation): New test.
848
8492015-03-19 Pedro Alves <palves@redhat.com>
850
851 * gdb.threads/continue-pending-status.c: New file.
852 * gdb.threads/continue-pending-status.exp: New file.
853
8542015-03-18 Pedro Alves <palves@redhat.com>
855
856 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
857 Use gdb_is_target_remote instead of is_remote. Use
858 gdb_test_multiple instead of gdb_expect. Exit early if
859 gdb_test_multiple hits its internal matches. Tighten stepi tests
860 expected output. Fail on exit with any signal, instead of just
861 SIGILL.
862
8632015-03-18 Yao Qi <yao.qi@linaro.org>
864
865 PR tdep/18107
866 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
867 variable.
868 * gdb.base/catch-syscall.exp: Don't skip it on
869 aarch64*-*-linux* target. Remove elements in all_syscalls.
870 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
871 target.
872 (setup_all_syscalls): New proc.
873
8742015-03-16 Yao Qi <yao.qi@linaro.org>
875
876 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
877 (top level): Skip tests if valid_addr_p returns false for
878 $cmd1 or $cmd2.
879
8802015-03-11 Andy Wingo <wingo@igalia.com>
881
882 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
883
8842015-03-11 Yao Qi <yao.qi@linaro.org>
885
886 * gdb.base/catch-syscall.exp: Fix typo in comments.
887
8882015-03-11 Yao Qi <yao.qi@linaro.org>
889
890 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
891
8922015-03-09 Pedro Alves <palves@redhat.com>
893
894 * dg-extract-results.py: Delete.
895
8962015-03-09 Pedro Alves <palves@redhat.com>
897
898 Merge dg-extract-results.sh from GCC upstream (r218843).
899
900 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
901 * dg-extract-results.sh: Use --text with grep to avoid issues with
902 binary files. Fall back to cat -v, if that doesn't work.
903
9042015-03-05 Pedro Alves <palves@redhat.com>
905
906 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
907
9082015-03-04 Simon Marchi <simon.marchi@ericsson.com>
909
910 * lib/mi-support.exp (mi_expect_interrupt): Accept
911 alternative event for when in all-stop mode.
912
9132015-03-04 Pedro Alves <palves@redhat.com>
914
915 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
916
9172015-03-04 Mark Kettenis <kettenis@gnu.org>
918
919 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
920
9212015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
922
923 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
924 regexps for GDB's current line display, accept a hex address
925 preceding the line number.
926
9272015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
928
929 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
930 the 'arch1' variable for "s390*-linux*" targets.
931
9322015-03-04 Pedro Alves <palves@redhat.com>
933
934 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
935 (main): Pass missing retval argument to pthread_join call.
936
9372015-03-02 Pedro Alves <palves@redhat.com>
938
939 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
940 (top level): Call do_test with non-stop as well.
941
9422015-03-02 Pedro Alves <palves@redhat.com>
943
944 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
945 -1.
946
9472015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
948
949 * gdb.arch/s390-vregs.exp: New test.
950 * gdb.arch/s390-vregs.S: New file.
951
9522015-02-27 Pedro Alves <palves@redhat.com>
953
954 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
955 call to catch_command_errors.
956 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
957 catch_command_errors.
958
9592015-02-27 Pedro Alves <palves@redhat.com>
960
961 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
962 "true" for boolean result.
963 * gdb.gdb/selftest.exp (test_with_self): Also accept full
964 prototype of main.
965
9662015-02-27 Pedro Alves <palves@redhat.com>
967
968 * lib/unbuffer_output.c: New file.
969 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
970 (main): Call gdb_unbuffer_output.
971
9722015-02-27 Yao Qi <yao.qi@linaro.org>
973
974 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
975 target.
976
9772015-02-26 Doug Evans <dje@google.com>
978
979 * gdb.cp/class2.cc (Dbase, D): New classes.
980 (main): New local delta.
981 * gdb.cp/class2.exp: Test printing delta.
982 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
983 (dynbar): New global.
984 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
985
9862015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
987
988 * gdb.compile/compile-ifunc.c: New file.
989 * gdb.compile/compile-ifunc.exp: New file.
990
9912015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
992
993 * gdb.base/structs.exp: Check for correct struct on finish.
994
9952015-02-26 Yao Qi <yao.qi@linaro.org>
996
997 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
998 is zero.
999
10002015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1001
1002 * gdb.arch/cordic.ko.bz2: New file.
1003 * gdb.arch/cordic.ko.debug.bz2: New file.
1004 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1005
10062015-02-25 Yao Qi <yao.qi@linaro.org>
1007
1008 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1009 aarch64*-*-* target.
1010
10112015-02-23 Pedro Alves <palves@redhat.com>
1012
1013 * lib/gdb.exp (delete_breakpoints): Rewrite using
1014 gdb_test_multiple.
1015
10162015-02-23 Pedro Alves <palves@redhat.com>
1017
1018 * gdb.base/info-os.c: Include stdlib.h.
1019
10202015-02-22 Doug Evans <xdje42@gmail.com>
1021
1022 PR symtab/17855
1023 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1024 is read after symbols have been re-read.
1025 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1026 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1027
10282015-02-21 Doug Evans <dje@google.com>
1029
1030 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1031
10322015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 PR corefiles/17808
1035 * gdb.arch/i386-biarch-core.core.bz2: New file.
1036 * gdb.arch/i386-biarch-core.exp: New file.
1037
10382015-02-21 Pedro Alves <palves@redhat.com>
1039
1040 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1041 runto_main fails.
1042
10432015-02-20 Pedro Alves <palves@redhat.com>
1044
1045 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1046 info probes.
1047
10482015-02-20 Pedro Alves <palves@redhat.com>
1049
1050 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1051
10522015-02-20 Pedro Alves <palves@redhat.com>
1053
1054 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1055 clean_restart before gdb_target_supports_trace.
1056
10572015-02-20 Pedro Alves <palves@redhat.com>
1058
1059 PR threads/18006
1060 * gdb.threads/clone-thread_db.c: New file.
1061 * gdb.threads/clone-thread_db.exp: New file.
1062
10632015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1064
1065 PR breakpoints/16812
1066 * gdb.base/catch-gdb-caused-signals.c: New file.
1067 * gdb.base/catch-gdb-caused-signals.exp: New file.
1068
10692015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1070
1071 * configure: Regenerated.
1072 * configure.ac: Use GDB_AC_TRANSFORM.
1073 * aclocal.m4: sinclude ../transform.m4.
1074
10752015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1076
1077 * lib/dtrace.exp: New file.
1078 * gdb.base/dtrace-probe.exp: Likewise.
1079 * gdb.base/dtrace-probe.d: Likewise.
1080 * gdb.base/dtrace-probe.c: Likewise.
1081 * lib/pdtrace.in: Likewise.
1082 * configure.ac: Output variables with the transformed names of
1083 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1084 * configure: Regenerated.
1085
10862015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1087
1088 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1089 expected message when trying to access $_probe_* convenience
1090 variables while not on a probe.
1091
10922015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1093
1094 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1095
10962015-02-11 Pedro Alves <pedro@codesourcery.com>
1097
1098 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1099 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1100
11012015-02-10 Doug Evans <xdje42@gmail.com>
1102
1103 * lib/gdb.exp (gdb_load): Always return a result.
1104
11052015-02-10 Pedro Alves <palves@redhat.com>
1106
1107 * gdb.threads/signal-sigtrap.c: New file.
1108 * gdb.threads/signal-sigtrap.exp: New file.
1109
11102015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1111
1112 * gdb.trace/no-attach-trace.c: New file.
1113 * gdb.trace/no-attach-trace.exp: New file.
1114
11152015-02-09 Mark Wielaard <mjw@redhat.com>
1116
1117 * gdb.dwarf2/atomic.c: New file.
1118 * gdb.dwarf2/atomic-type.exp: Likewise.
1119
11202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1121
1122 * gdb.btrace/buffer-size.exp: Update "info record" output.
1123 * gdb.btrace/delta.exp: Update "info record" output.
1124 * gdb.btrace/enable.exp: Update "info record" output.
1125 * gdb.btrace/finish.exp: Update "info record" output.
1126 * gdb.btrace/instruction_history.exp: Update "info record" output.
1127 * gdb.btrace/next.exp: Update "info record" output.
1128 * gdb.btrace/nexti.exp: Update "info record" output.
1129 * gdb.btrace/step.exp: Update "info record" output.
1130 * gdb.btrace/stepi.exp: Update "info record" output.
1131 * gdb.btrace/nohist.exp: Update "info record" output.
1132
11332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1134
1135 * gdb.btrace/buffer-size: New.
1136
11372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1138
1139 * gdb.btrace/delta.exp: Update "info record" output.
1140 * gdb.btrace/enable.exp: Update "info record" output.
1141 * gdb.btrace/finish.exp: Update "info record" output.
1142 * gdb.btrace/instruction_history.exp: Update "info record" output.
1143 * gdb.btrace/next.exp: Update "info record" output.
1144 * gdb.btrace/nexti.exp: Update "info record" output.
1145 * gdb.btrace/step.exp: Update "info record" output.
1146 * gdb.btrace/stepi.exp: Update "info record" output.
1147 * gdb.btrace/nohist.exp: Update "info record" output.
1148
11492015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1150
1151 PR gdb/15678
1152 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1153
11542015-02-06 Pedro Alves <palves@redhat.com>
1155
1156 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1157 macro.
1158 (seconds_left, again): New globals.
1159 (main): Wait seconds_left in a 1-second sleep loop instead of
1160 sleeping 180 seconds. If 'again' is set, reset the seconds
1161 counter.
1162 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1163 'again' in the inferior before detaching. Print the seconds left.
1164 (options): New global.
1165 (top level): Build program with -DTIMEOUT=$timeout.
1166
11672015-02-06 Pedro Alves <palves@redhat.com>
1168
1169 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1170 determine how many seconds to pass to 'alarm'.
1171 * gdb.base/gdb-sigterm.exp (top level): Build program with
1172 -DTIMEOUT=$timeout.
1173 (do_test): Return success/failure indication. Add more verbose
1174 logging. Don't fail if 200 single steps are seen. Instead, fail
1175 when the test times out.
1176 (passes): New global.
1177 (top level): Break the testing loop if testing fails on any
1178 iteration. Use gdb_assert.
1179
11802015-02-04 Don Breazeal <donb@codesourcery.com>
1181
1182 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1183 and initialize them.
1184 (ipc_cleanup): New function.
1185 (main): Don't declare shmid, semid, and msqid. Add a call to
1186 atexit so that we call ipc_cleanup on exit.
1187
11882015-02-04 Pedro Alves <palves@redhat.com>
1189
1190 * boards/native-extended-gdbserver.exp: Remove any target variant
1191 specifications from the board name before clearing the isremote
1192 flag from board_info.
1193
11942015-01-31 Doug Evans <xdje42@gmail.com>
1195
1196 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1197
11982015-01-31 Gary Benson <gbenson@redhat.com>
1199
1200 * gdb.base/completion.exp: Disable completion limiting for
1201 existing tests. Add new tests to check completion limiting.
1202 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1203
12042015-01-31 Doug Evans <xdje42@gmail.com>
1205
1206 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1207
12082015-01-31 Doug Evans <xdje42@gmail.com>
1209
1210 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1211 entries. Duplicate file section script entries.
1212 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1213 inlined entries. Add test for safe-path rejection.
1214 * gdb.python/py-section-script.c: Add duplicate inlined section script
1215 entries. Duplicate file section script entries.
1216 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1217 inlined entries. Add test for safe-path rejection.
1218
12192015-01-29 Joel Brobecker <brobecker@adacore.com>
1220
1221 * gdb.ada/disc_arr_bound: New testcase.
1222
12232015-01-29 Joel Brobecker <brobecker@adacore.com>
1224
1225 * gdb.ada/mi_var_array: New testcase.
1226
12272015-01-27 Doug Evans <dje@google.com>
1228
1229 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1230 Add test for objfile.filename, objfile.username after objfile
1231 has been unloaded.
1232
12332015-01-26 Joel Brobecker <brobecker@adacore.com>
1234
1235 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1236 the second test to print the name attribute of value
1237 returned by the call to gdb.lookup_type, and adjust
1238 the expected output accordingly.
1239
12402015-01-25 Mark Wielaard <mjw@redhat.com>
1241
1242 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1243 * gdb.base/disp-step-fork.c: Include unistd.h.
1244 * gdb.base/siginfo-obj.c: Include stdio.h.
1245 * gdb.base/siginfo-thread.c: Likewise.
1246 * gdb.mi/non-stop.c: Include unistd.h.
1247 * gdb.mi/nsthrexec.c: Include stdio.h.
1248 * gdb.mi/pthreads.c: Include unistd.h.
1249 * gdb.modula2/unbounded1.c (main): Declare returns int.
1250 * gdb.reverse/consecutive-reverse.c: Likewise.
1251 * gdb.threads/create-fail.c: Include unistd.h.
1252 * gdb.threads/killed.c: Likewise.
1253 * gdb.threads/linux-dp.c: Likewise.
1254 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1255 * gdb.threads/non-ldr-exc-2.c: Likewise.
1256 * gdb.threads/non-ldr-exc-3.c: Likewise.
1257 * gdb.threads/non-ldr-exc-4.c: Likewise.
1258 * gdb.threads/pthreads.c: Include unistd.h.
1259 (main): Declare returns int.
1260 * gdb.threads/tls-main.c (foo): New declaration.
1261 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1262
12632015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1264
1265 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1266 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1267
12682015-01-15 Mark Wielaard <mjw@redhat.com>
1269
1270 * gdb.base/noreturn-return.c: New file.
1271 * gdb.base/noreturn-return.exp: New file.
1272 * gdb.base/noreturn-finish.c: New file.
1273 * gdb.base/noreturn-finish.exp: New file.
1274
12752015-01-23 Pedro Alves <palves@redhat.com>
1276
1277 * gdb.threads/continue-pending-after-query.c: New file.
1278 * gdb.threads/continue-pending-after-query.exp: New file.
1279
12802015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1281 Simon Marchi <simon.marchi@ericsson.com>
1282
1283 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1284 * gdb.base/valgrind-db-attach.exp: Same.
1285 * gdb.base/valgrind-infcall.exp: Same.
1286 * lib/mi-support.exp (default_mi_gdb_start): Same.
1287 * lib/prompt.exp (default_prompt_gdb_start): Same.
1288 * lib/gdb.exp (default_gdb_spawn): Same.
1289 (gdb_interact): New.
1290
1291
12922015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1293
1294 * gdb.compile/compile.exp (pointer to jit function): New test.
1295
12962015-01-17 Wei-cheng Wang <cole945@gmail.com>
1297
1298 * lib/gdb.exp (supports_process_record): Return true for
1299 powerpc*-*-linux*.
1300 (supports_reverse): Likewise.
1301
13022015-01-15 Don Breazeal <donb@codesourcery.com>
1303
1304 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1305 instead of checking whether the target board is remote and
1306 use spawn_wait_for_attach instead of exec/sleep.
1307 * gdb.base/attach-twice.exp: Likewise.
1308
13092015-01-15 Joel Brobecker <brobecker@adacore.com>
1310
1311 * gdb.ada/var_arr_attrs: New testcase.
1312
13132015-01-14 Pedro Alves <palves@redhat.com>
1314 Joel Brobecker <brobecker@adacore.com>
1315
1316 PR gdb/17525
1317 * gdb.base/bp-cmds-execution-x-script.c: New file.
1318 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1319 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1320
13212015-01-14 Pedro Alves <palves@redhat.com>
1322
1323 PR cli/17828
1324 * gdb.base/batch-preserve-term-settings.c: New file.
1325 * gdb.base/batch-preserve-term-settings.exp: New file.
1326
13272015-01-13 Doug Evans <dje@google.com>
1328
1329 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1330 binary.
1331
13322015-01-13 Joel Brobecker <brobecker@adacore.com>
1333
1334 * Makefile.in (clean mostlyclean): Do not delete *.py.
1335
13362015-01-13 Joel Brobecker <brobecker@adacore.com>
1337
1338 * gdb.python/py-lookup-type.exp: New file.
1339
13402015-01-12 Pedro Alves <palves@redhat.com>
1341
1342 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1343 restore GDBFLAGS before returning.
1344
13452015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1346
1347 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1348 is_amd64_regs_target and is_x86_like_target.
1349
13502015-01-11 Doug Evans <xdje42@gmail.com>
1351
1352 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1353 is given without an explicit form.
1354 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1355 attributes.
1356 * gdb.dwarf/corrupt.exp: Ditto.
1357 * gdb.dwarf2/enum-type.exp: Ditto.
1358 * gdb.trace/entry-values.exp: Ditto.
1359 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1360
13612015-01-11 Doug Evans <xdje42@gmail.com>
1362
1363 PR gdb/15830
1364 * gdb.base/maint.exp: Remove references to "maint demangle".
1365 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1366 Add tests for explicitly specifying language to demangle.
1367 * gdb.dlang/demangle.exp: Ditto.
1368
13692015-01-09 Pedro Alves <palves@redhat.com>
1370
1371 * gdb.threads/non-stop-fair-events.c: New file.
1372 * gdb.threads/non-stop-fair-events.exp: New file.
1373
13742015-01-09 Pedro Alves <palves@redhat.com>
1375
1376 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1377 the global scope. Set a breakpoint after all threads are started
1378 rather than stepping over two source lines. Expect the prompt.
1379 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1380 global.
1381 (NUM): Now 15.
1382 (main): Use threads_started_barrier to wait for all threads to
1383 start. Main thread no longer calls thread_function. Exit after
1384 180 seconds.
1385 (loop): New function.
1386 (thread_function): Wait on threads_started_barrier barrier. Call
1387 'loop' at each iteration.
1388 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1389 threads have started, instead of hardcoding number of "next"
1390 steps. Use an access watchpoint instead of a write watchpoint.
1391
13922015-01-09 Pedro Alves <palves@redhat.com>
1393
1394 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1395 (thread_func): Wait on barrier.
1396 (main): Wait for all threads to start before stopping GDB.
1397 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1398 global.
1399 (thread1_func, thread2_func): Wait on barrier.
1400 (main): Wait for all threads to start before stopping GDB.
1401 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1402 New global.
1403 (thread1_func, thread2_func): Wait on barrier.
1404 (main): Wait for all threads to start before stopping GDB.
1405
14062015-01-09 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.threads/attach-many-short-lived-threads.c: New file.
1409 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1410
14112014-01-09 Pedro Alves <palves@redhat.com>
1412
1413 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1414 instead of to thread 2.
1415 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1416 Add barrier around each pthread_create call instead of around all
1417 calls.
1418 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1419 Set a break on thread_function and have the child threads hit it
1420 one at at a time.
1421
14222015-01-09 Pedro Alves <palves@redhat.com>
1423
1424 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1425 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1426 false.
1427 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1428 checking whether the target board is remote.
1429 * gdb.multi/multi-attach.exp: Likewise.
1430 * gdb.python/py-sync-interp.exp: Likewise.
1431 * gdb.server/ext-attach.exp: Likewise.
1432 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1433 tests that need to attach, instead of checking whether the target
1434 board is remote at the top of the file.
1435
14362015-01-08 Yao Qi <yao@codesourcery.com>
1437
1438 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1439
14402015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1441
1442 Fix testcase compilation.
1443 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1444
14452015-01-06 Joel Brobecker <brobecker@adacore.com>
1446
1447 * gdb.python/py-type.exp: Add a couple test about empty
1448 array creation, and negative-length array creation.
1449
14502015-01-02 Doug Evans <xdje42@gmail.com>
1451
1452 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1453
14542015-01-02 Doug Evans <dje@google.com>
1455
1456 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1457
14582014-12-29 Yao Qi <yao@codesourcery.com>
1459
1460 * gdb.trace/entry-values.exp: Update comments. Rename variable
1461 bar_call_foo to returned_from_foo.
1462
14632014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1464
1465 PR gdb/17394
1466 * gdb.linespec/break-asm-file.c: New file.
1467 * gdb.linespec/break-asm-file.exp: New file.
1468 * gdb.linespec/break-asm-file0.s: New file.
1469 * gdb.linespec/break-asm-file1.s: New file.
1470
14712014-12-18 Nigel Stephens <nigel@mips.com>
1472 Maciej W. Rozycki <macro@codesourcery.com>
1473
1474 * gdb.base/float.exp: Handle the new output from "info float" on
1475 MIPS targets.
1476
14772014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1478
1479 Fix MinGW compilation.
1480 * gdb.compile/compile-ops.exp: Update untested message if
1481 !skip_compile_feature_tests.
1482 * gdb.compile/compile-setjmp.exp: Likewise.
1483 * gdb.compile/compile-tls.exp: Likewise.
1484 * gdb.compile/compile.exp: Likewise.
1485 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1486 supported on this host".
1487
14882014-12-16 Doug Evans <xdje42@gmail.com>
1489
1490 * boards/stabs.exp: New file.
1491
14922014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1493
1494 * gdb.base/completion.exp: Adjust to format changes of "maint
1495 print user-registers".
1496
14972014-12-16 Catalin Udma <catalin.udma@freescale.com>
1498
1499 PR server/17457
1500 * gdb.arch/aarch64-fp.c: New file.
1501 * gdb.arch/aarch64-fp.exp: New file.
1502
15032014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1504
1505 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1506 r210637, r210913, r211666, r215400, r215817).
1507
1508 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1509 * dg-extract-results.py: New file.
1510 * dg-extract-results.sh: Use it if the environment seems
1511 suitable.
1512
1513 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1514
1515 * dg-extract-results.py (parse_run): Handle warnings that
1516 are printed before a test harness is run.
1517
1518 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1519
1520 * dg-extract-results.py (Named): Remove __cmp__ method.
1521 (output_variation): Use a key to sort variation.harnesses.
1522
1523 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1524
1525 * dg-extract-results.py: For Python 3, force sys.stdout to
1526 handle surrogate escape sequences.
1527 (safe_open): New function.
1528 (output_segment, main): Use it.
1529
1530 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1531
1532 * dg-extract-results.py (Prog.result_re): Include options
1533 in test name.
1534
1535 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1536
1537 * dg-extract-results.py (output_variation): Always sort if
1538 do_sum.
1539
15402014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1541
1542 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1543 as long as we get pagination notifications.
1544
15452014-12-15 Jason Merrill <jason@redhat.com>
1546
1547 * Makefile.in (check-gdb.%): Restore.
1548 * README: Mention it.
1549
15502014-12-13 Joel Brobecker <brobecker@adacore.com>
1551
1552 * gdb.ada/str_uninit: New testcase.
1553
15542014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1555
1556 PR symtab/17642
1557 * gdb.base/vla-stub-define.c: New file.
1558 * gdb.base/vla-stub.c: New file.
1559 * gdb.base/vla-stub.exp: New file.
1560
15612014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1562 Jan Kratochvil <jan.kratochvil@redhat.com>
1563 Tom Tromey <tromey@redhat.com>
1564
1565 * configure.ac: Add gdb.compile/.
1566 * configure: Regenerate.
1567 * gdb.compile/Makefile.in: New file.
1568 * gdb.compile/compile-ops.exp: New file.
1569 * gdb.compile/compile-ops.c: New file.
1570 * gdb.compile/compile-tls.c: New file.
1571 * gdb.compile/compile-tls.exp: New file.
1572 * gdb.compile/compile-constvar.S: New file.
1573 * gdb.compile/compile-constvar.c: New file.
1574 * gdb.compile/compile-mod.c: New file.
1575 * gdb.compile/compile-nodebug.c: New file.
1576 * gdb.compile/compile-setjmp-mod.c: New file.
1577 * gdb.compile/compile-setjmp.c: New file.
1578 * gdb.compile/compile-setjmp.exp: New file.
1579 * gdb.compile/compile-shlib.c: New file.
1580 * gdb.compile/compile.c: New file.
1581 * gdb.compile/compile.exp: New file.
1582 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1583
15842014-12-12 Tom Tromey <tromey@redhat.com>
1585
1586 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1587 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1588
15892014-12-12 Doug Evans <dje@google.com>
1590
1591 * lib/gdb-python.exp (get_python_valueof): New function.
1592 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1593
15942014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1595
1596 * gdb.base/completion.exp: Add test for completion of "info
1597 registers ".
1598
15992014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1600
1601 * gdb.base/func-ptrs.c: New file.
1602 * gdb.base/func-ptrs.exp: New file.
1603
16042014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1605
1606 PR breakpoints/17012
1607 * gdb.base/dprintf-detach.c: New file.
1608 * gdb.base/dprintf-detach.exp: New file.
1609
16102014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1611
1612 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1613 * lib/gdb.exp (target_is_gdbserver): New procedure.
1614
16152014-12-08 Doug Evans <dje@google.com>
1616
1617 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1618
16192014-12-05 Yao Qi <yao@codesourcery.com>
1620
1621 * gdb.guile/scm-error.exp: Remove the third argument to
1622 gdb_remote_download.
1623 * gdb.guile/scm-frame-args.exp: Likewise.
1624 * gdb.guile/scm-section-script.exp: Likewise.
1625
16262014-12-05 Yao Qi <yao@codesourcery.com>
1627
1628 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1629
16302014-12-04 Doug Evans <dje@google.com>
1631
1632 * gdb.python/py-objfile.exp: Add tests for
1633 objfile.add_separate_debug_file.
1634
16352014-12-04 Doug Evans <dje@google.com>
1636
1637 * lib/gdb.exp (get_build_id): New function.
1638 (build_id_debug_filename_get): Rewrite to use it.
1639 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1640
16412014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1642
1643 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1644 `method(long)', not just 0x0.
1645 * gdb.cp/nsalias.exp: Align code labels to 4.
1646 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1647 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1648 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1649 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1650 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1651 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1652
16532014-12-02 Doug Evans <dje@google.com>
1654
1655 PR symtab/17602
1656 * gdb.cp/anon-ns.cc: Move guts of this file to ...
1657 * gdb.cp/anon-ns2.cc: ... here. New file.
1658 * gdb.cp/anon-ns.exp: Update.
1659
16602014-12-02 Nick Bull <nicholaspbull@gmail.com>
1661
1662 * gdb.python/py-events.py (inferior_call_handler): New.
1663 (register_changed_handler, memory_changed_handler): New.
1664 (test_events.invoke): Register new handlers.
1665 * gdb.python/py-events.exp: Add tests for inferior call,
1666 memory_changed and register_changed events.
1667
16682014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1669
1670 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1671 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1672 if the linker doesn't understand this.
1673
16742014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1675
1676 * gdb.python/python.exp: Change expected reply to help().
1677
16782014-12-01 Yao Qi <yao@codesourcery.com>
1679
1680 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1681 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1682 * configure: Re-generated.
1683
16842014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1685
1686 * gdb.cp/chained-calls.cc: New file.
1687 * gdb.cp/chained-calls.exp: New file.
1688 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1689
16902014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1691
1692 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1693 * gdb.dwarf2/symtab-producer.exp: Same.
1694 * gdb.gdb/python-interrupts.exp: Same.
1695 * gdb.gdb/python-selftest.exp: Same.
1696 * gdb.python/py-linetable.exp: Same.
1697 * gdb.python/py-type.exp: Same.
1698 * gdb.python/py-value-cc.exp: Same.
1699 * gdb.python/py-value.exp: Same.
1700
17012014-11-28 Yao Qi <yao@codesourcery.com>
1702
1703 * gdb.base/break-probes.exp: Match library name prefixed with
1704 sysroot.
1705
17062014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1707
1708 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1709 test expected output. Add parentheses for the call to print.
1710 Remove L suffix from integers.
1711
17122014-11-26 Doug Evans <dje@google.com>
1713
1714 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1715
17162014-11-22 Yao Qi <yao@codesourcery.com>
1717
1718 * gdb.trace/entry-values.c: Remove asms.
1719 (foo): Add foo_label.
1720 (bar): Add bar_label.
1721 * gdb.trace/entry-values.exp: Remove code computing foo's
1722 length and bar's length.
1723 (Dwarf::assemble): Invoke function_range for bar and use
1724 MACRO_AT_func for foo.
1725
17262014-11-22 Yao Qi <yao@codesourcery.com>
1727
1728 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1729 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1730 Use .Lgcc43_procstart instead of gcc43.
1731
17322014-11-21 Joel Brobecker <brobecker@adacore.com>
1733
1734 * gdb.ada/n_arr_bound: New testcase.
1735
17362014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1737
1738 PR breakpoints/10737
1739 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1740 test_catch_syscall_multi_arch.
1741 (test_catch_syscall_multi_arch): New function.
1742
17432014-11-20 Doug Evans <xdje42@gmail.com>
1744
1745 * gdb.base/maint.exp: Update expected output.
1746
17472014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1748
1749 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1750 4-byte instruction on S390.
1751
17522014-11-19 Joel Brobecker <brobecker@adacore.com>
1753
1754 * gdb.ada/arr_arr: New testcase.
1755
17562014-11-19 Joel Brobecker <brobecker@adacore.com>
1757
1758 * gdb.ada/pkd_arr_elem: New Testcase.
1759
17602014-11-18 Luis Machado <lgustavo@codesourcery.com>
1761
1762 * gdb.reverse/break-precsave: Expect completion message for
1763 core file reads.
1764 * gdb.reverse/consecutive-precsave.exp: Likewise.
1765 * gdb.reverse/finish-precsave.exp: Likewise.
1766 * gdb.reverse/i386-precsave.exp: Likewise.
1767 * gdb.reverse/machinestate-precsave.exp: Likewise.
1768 * gdb.reverse/sigall-precsave.exp: Likewise.
1769 * gdb.reverse/solib-precsave.exp: Likewise.
1770 * gdb.reverse/step-precsave.exp: Likewise.
1771 * gdb.reverse/until-precsave.exp: Likewise.
1772 * gdb.reverse/watch-precsave.exp: Likewise.
1773
17742014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1775
1776 * gdb.base/bp-permanent.c: Include unistd.h.
1777 * gdb.python/py-framefilter-mi.c (main): Add return type.
1778 * gdb.python/py-framefilter.c (main): Likewise.
1779 * gdb.trace/actions-changed.c (main): Likewise.
1780
17812014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1782
1783 * gdb.mi/until.c: Add eye-catchers.
1784 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1785 line numbers.
1786
17872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1788
1789 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1790 function header variants in break1.c.
1791 * gdb.base/ena-dis-br.exp: Likewise.
1792 * gdb.base/hbreak2.exp: Likewise.
1793 * gdb.reverse/until-precsave.exp: Drop references to removed
1794 non-prototype function header variants in ur1.c.
1795 * gdb.reverse/until-reverse.exp: Likewise.
1796
17972014-11-17 Petr Machata <pmachata@redhat.com>
1798
1799 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1800 ${_cu_offset_size} bytes abbrev offset.
1801
18022014-11-15 Doug Evans <xdje42@gmail.com>
1803
1804 PR symtab/17559
1805 * gdb.base/line-symtabs.exp: New file.
1806 * gdb.base/line-symtabs.c: New file.
1807 * gdb.base/line-symtabs.h: New file.
1808
18092014-11-14 Yao Qi <yao@codesourcery.com>
1810
1811 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1812 (func): Add label func_label.
1813 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1814 Replace low_pc and high_pc with MACRO_AT_range.
1815 Replace name, low_pc and high_pc with MACRO_AT_func.
1816
18172014-11-14 Yao Qi <yao@codesourcery.com>
1818
1819 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1820 Replace name, low_pc and high_pc with MACRO_AT_func.
1821
18222014-11-14 Yao Qi <yao@codesourcery.com>
1823
1824 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1825 produce debug information.
1826 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1827
18282014-11-14 Yao Qi <yao@codesourcery.com>
1829
1830 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1831 object and get function length.
1832 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1833 with MACRO_AT_func.
1834 (top-level): Replace gdb_compile and clean_restart with
1835 prepare_for_testing.
1836 * gdb.dwarf2/main.c (main): Add label main_label.
1837
18382014-11-14 Yao Qi <yao@codesourcery.com>
1839
1840 * lib/dwarf.exp (function_range): New procedure.
1841 (Dwarf::_handle_macro_at_func): New procedure.
1842 (Dwarf::_handle_macro_at_range): New procedure.
1843 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1844
18452014-11-14 Yao Qi <yao@codesourcery.com>
1846
1847 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1848 (_handle_attribute): New procedure.
1849
18502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1851
1852 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1853 * gdb.base/call-sc.c (zed): Likewise.
1854 * gdb.base/checkpoint.c (main): Likewise.
1855 * gdb.base/dump.c (main): Likewise.
1856 * gdb.base/gcore.c (main): Likewise.
1857 * gdb.base/huge.c (main): Likewise.
1858 * gdb.base/multi-forks.c (main): Likewise.
1859 * gdb.base/pr10179-a.c (main): Likewise.
1860 * gdb.base/savedregs.c (main): Likewise.
1861 * gdb.base/sigaltstack.c (main): Likewise.
1862 * gdb.base/siginfo.c (main): Likewise.
1863 * gdb.base/structs.c (zed): Likewise.
1864 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1865 * gdb.mi/mi-syn-frame.c (main): Likewise.
1866 * gdb.mi/until.c (foo, main): Likewise.
1867 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1868 * gdb.base/solib-weak.c (foo): Declare.
1869 * gdb.base/attach-twice.c: Include stdio.h.
1870 * gdb.base/weaklib1.c: Likewise.
1871 * gdb.base/weaklib2.c: Likewise.
1872 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1873 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1874 unistd.h.
1875 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1876 * gdb.mi/mi-exit-code.c: Likewise.
1877 * gdb.base/break-interp-lib.c: Include string.h.
1878 * gdb.base/coremaker.c: Likewise.
1879 * gdb.base/testenv.c: Likewise.
1880 * gdb.python/py-finish-breakpoint.c: Likewise.
1881 * gdb.base/inferior-died.c: Include sys/wait.h.
1882 * gdb.base/fileio.c: Include time.h.
1883 * gdb.base/async-shell.c: Include unistd.h.
1884 * gdb.base/dprintf-non-stop.c: Likewise.
1885 * gdb.base/info-os.c: Likewise.
1886 * gdb.mi/mi-console.c: Likewise.
1887 * gdb.mi/watch-nonstop.c: Likewise.
1888 * gdb.python/py-events.c: Likewise.
1889 * gdb.base/async.c (baz): Move up before its invocation.
1890 * gdb.base/code_elim2.c (my_global_func): Likewise.
1891 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1892 * gdb.base/advance.c (func2): Likewise.
1893
18942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1895
1896 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1897 variant.
1898 * gdb.base/annota3.c: Likewise.
1899 * gdb.base/async.c: Likewise.
1900 * gdb.base/average.c: Likewise.
1901 * gdb.base/call-ar-st.c: Likewise.
1902 * gdb.base/call-rt-st.c: Likewise.
1903 * gdb.base/call-sc.c: Likewise.
1904 * gdb.base/call-strs.c: Likewise.
1905 * gdb.base/ending-run.c: Likewise.
1906 * gdb.base/execd-prog.c: Likewise.
1907 * gdb.base/exprs.c: Likewise.
1908 * gdb.base/foll-exec.c: Likewise.
1909 * gdb.base/foll-fork.c: Likewise.
1910 * gdb.base/foll-vfork.c: Likewise.
1911 * gdb.base/funcargs.c: Likewise.
1912 * gdb.base/gcore.c: Likewise.
1913 * gdb.base/jump.c: Likewise.
1914 * gdb.base/langs0.c: Likewise.
1915 * gdb.base/langs1.c: Likewise.
1916 * gdb.base/langs2.c: Likewise.
1917 * gdb.base/mips_pro.c: Likewise.
1918 * gdb.base/nodebug.c: Likewise.
1919 * gdb.base/opaque0.c: Likewise.
1920 * gdb.base/opaque1.c: Likewise.
1921 * gdb.base/recurse.c: Likewise.
1922 * gdb.base/run.c: Likewise.
1923 * gdb.base/scope0.c: Likewise.
1924 * gdb.base/scope1.c: Likewise.
1925 * gdb.base/setshow.c: Likewise.
1926 * gdb.base/setvar.c: Likewise.
1927 * gdb.base/shmain.c: Likewise.
1928 * gdb.base/shr1.c: Likewise.
1929 * gdb.base/shr2.c: Likewise.
1930 * gdb.base/sigall.c: Likewise.
1931 * gdb.base/signals.c: Likewise.
1932 * gdb.base/so-indr-cl.c: Likewise.
1933 * gdb.base/solib2.c: Likewise.
1934 * gdb.base/structs.c: Likewise.
1935 * gdb.base/sum.c: Likewise.
1936 * gdb.base/vforked-prog.c: Likewise.
1937 * gdb.base/watchpoint.c: Likewise.
1938 * gdb.reverse/shr2.c: Likewise.
1939 * gdb.reverse/until-reverse.c: Likewise.
1940 * gdb.reverse/ur1.c: Likewise.
1941 * gdb.reverse/watch-reverse.c: Likewise.
1942
19432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1944
1945 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1946 variant.
1947 * gdb.base/sepdebug.exp: Drop references to removed code.
1948
19492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1950
1951 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1952 variant. Preserve original line numbering.
1953 * gdb.base/list1.c: Likewise.
1954
19552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1956
1957 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1958 variant.
1959 * gdb.base/break1.c: Likewise.
1960 * gdb.base/break.exp: Drop references to removed code.
1961
19622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1963
1964 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1965 variant.
1966
19672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1968
1969 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1970
19712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1972
1973 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1974 logic into perform_all_tests() and invoke it with and without
1975 function header prototypes.
1976 (do_function_calls): Remove conditional XFAIL for PR 5318.
1977 (rerun_and_prepare): Remove duplicate code.
1978 (perform_all_tests): New. Main logic moved here.
1979
19802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1981
1982 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1983 code guarded by #ifdef NO_PROTOTYPES.
1984 (t_double_many_args): Likewise.
1985 (DEF_FUNC_MANY_ARGS_1): Likewise.
1986 (DEF_FUNC_VALUES_1): Likewise.
1987 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1988 guarded by #ifdef PROTOTYPES.
1989
19902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1991
1992 * gdb.mi/mi-console.c: Add eye-catcher.
1993 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1994 instead of literal line number.
1995
19962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1997
1998 * gdb.base/shr2.c: Add eye-catcher.
1999 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2000 line number.
2001
20022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2003
2004 * gdb.base/jump.c: Add eye-catchers.
2005 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2006 numbers.
2007
20082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2009
2010 * gdb.base/execd-prog.c: Add eye-catchers.
2011 * gdb.base/foll-exec.c: Likewise.
2012 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2013 line numbers.
2014
20152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2016
2017 * gdb.base/ending-run.c: Add eye-catchers.
2018 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2019 literal line numbers.
2020
20212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2022
2023 * gdb.base/call-rt-st.c: Add eye-catchers.
2024 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2025 literal line numbers.
2026
20272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2028
2029 * gdb.base/call-ar-st.c: Add eye-catchers.
2030 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2031 literal line numbers.
2032
20332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2034
2035 * gdb.base/average.c: Add eye-catchers.
2036 * gdb.base/sum.c: Likewise.
2037 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2038 regexps dynamically.
2039
20402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2041
2042 * gdb.base/solib1.c: Add eye-catchers.
2043 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2044 literal line numbers.
2045
20462014-11-12 Pedro Alves <palves@redhat.com>
2047
2048 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2049 leader has exited.
2050
20512014-11-12 Pedro Alves <palves@redhat.com>
2052
2053 * gdb.arch/i386-bp_permanent.c: New file.
2054 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2055 (srcfile): Set to i386-bp_permanent.c.
2056 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2057 that stepi does not execute the 'leave' instruction, instead of
2058 testing it does execute.
2059 * gdb.base/bp-permanent.c: New file.
2060 * gdb.base/bp-permanent.exp: New file.
2061
20622014-11-10 Doug Evans <xdje42@gmail.com>
2063
2064 PR symtab/17564
2065 * gdb.base/symtab-search-order.exp: New file.
2066 * gdb.base/symtab-search-order.c: New file.
2067 * gdb.base/symtab-search-order-1.c: New file.
2068 * gdb.base/symtab-search-order-shlib-1.c: New file.
2069
20702014-11-07 Pedro Alves <palves@redhat.com>
2071
2072 PR gdb/17511
2073 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2074 i?86-*-linux*.
2075
20762014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2077
2078 PR c++/17494
2079 * gdb.cp/pr17494.cc: New file.
2080 * gdb.cp/pr17494.exp: New file.
2081
20822014-11-02 Yao Qi <yao@codesourcery.com>
2083
2084 * gdb.python/python.exp: Get working directory and match the
2085 output of "set extended-prompt \\w " with it.
2086
20872014-10-30 Doug Evans <dje@google.com>
2088
2089 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2090 in objfiles.
2091 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2092 in progspaces.
2093
20942014-10-30 Janis Johnson <janisjo@codesourcery.com>
2095
2096 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2097 * gdb.base/realname-expand.exp: Likewise.
2098 * gdb.linespec/macro-relative.exp: Likewise.
2099
21002014-10-29 Pedro Alves <palves@redhat.com>
2101
2102 PR gdb/17408
2103 * gdb.threads/schedlock.c (some_function): New function.
2104 (call_function): New global.
2105 (MAYBE_CALL_SOME_FUNCTION): New macro.
2106 (thread_function): Call it.
2107 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2108 and use it instead of a global counter. Adjust all callers.
2109 (get_current_thread): Use "find current thread" for test message
2110 here rather than having all callers pass down the same string.
2111 (goto_loop): New procedure, factored out from ...
2112 (my_continue): ... this.
2113 (step_ten_loops): Change parameter from test message to command to
2114 use. Adjust.
2115 (list_count): Delete global.
2116 (check_result): New procedure, factored out from duplicate top
2117 level code.
2118 (continue tests): Wrap in with_test_prefix.
2119 (test_step): New procedure, factored out from duplicate top level
2120 code.
2121 (top level): Test "step" in combination with all scheduler-locking
2122 modes. Test "next" in combination with all scheduler-locking
2123 modes, and in combination with stepping over a function call or
2124 not.
2125 * gdb.threads/next-bp-other-thread.c: New file.
2126 * gdb.threads/next-bp-other-thread.exp: New file.
2127
21282014-10-29 Pedro Alves <palves@redhat.com>
2129
2130 PR python/17372
2131 * gdb.python/python.exp: Test a multi-line command that spawns
2132 interactive Python.
2133 * gdb.base/multi-line-starts-subshell.exp: New file.
2134
21352014-10-29 Yao Qi <yao@codesourcery.com>
2136
2137 * gdb.base/fileio.exp: Make directories on host.
2138
21392014-10-29 Yao Qi <yao@codesourcery.com>
2140
2141 * gdb.base/fileio.c (test_write): Close the file.
2142
21432014-10-28 Pedro Alves <palves@redhat.com>
2144
2145 PR gdb/12623
2146 * gdb.base/sigstep.c (no_handler): New global.
2147 (main): If 'no_handler is true, set the signal handlers to
2148 SIG_IGN.
2149 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2150 with_sw_watch and no_handler parameters. Handle them.
2151 (top level) <stepping over handler when stopped at a breakpoint
2152 test>: Add a test axis for testing with a software watchpoint, and
2153 another for testing with the signal handler set to SIG_IGN.
2154 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2155 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2156
21572014-10-28 Pedro Alves <palves@redhat.com>
2158
2159 PR gdb/17511
2160 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2161 * gdb.base/sigstep.exp (other_handler_location): New global.
2162 (advance): Support stepping into the signal handler, and running
2163 commands while in the handler.
2164 (in_handler_map): New global.
2165 (top level): In the advance test, add combinations for getting
2166 into the handler with stepping commands, and for running commands
2167 in the handler. Add comment descripting the advancei tests.
2168
21692014-10-28 Pedro Alves <palves@redhat.com>
2170
2171 * gdb.base/sigstep.exp: Use build_executable instead of
2172 prepare_for_testing.
2173 (top level): Move code that starts GDB, runs to main and creates a
2174 display to ...
2175 (restart): ... this new procedure.
2176 (top level): Move backtrace from signal handler test to ...
2177 (validate_backtrace): ... this new procedure.
2178 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2179 with_test_prefix. Always restart GDB.
2180 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2181 with_test_prefix. Always restart GDB. No need to delete
2182 breakpoints after the test.
2183 (test_skip_handler): Remove prefix parameter.
2184 (skip_over_handler, breakpoint_to_handler)
2185 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2186 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2187 restart GDB. No need to delete breakpoints after the test.
2188 (top level): Use foreach to call the test procedures with
2189 different commands.
2190
21912014-10-28 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2194 instead of GNATS numbers.
2195 * gdb.base/sigbpt.exp: Likewise.
2196 * gdb.base/siginfo.exp: Likewise.
2197 * gdb.base/sigstep.exp: Likewise.
2198
21992014-10-27 Pedro Alves <palves@redhat.com>
2200
2201 * gdb.base/sigstep.c (dummy): New global.
2202 (main): Issue a couple writes to the new global.
2203 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2204 procedures.
2205 (skip_over_handler): Use test_skip_handler.
2206 (top level): Call skip_over_handler for stepi and nexti too.
2207 (breakpoint_over_handler): Use test_skip_handler.
2208 (top level): Call breakpoint_over_handler for stepi and nexti too.
2209
22102014-10-27 Yao Qi <yao@codesourcery.com>
2211
2212 * gdb.trace/tfile.c (adjust_function_address)
2213 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2214 function descriptor.
2215
22162014-10-24 Don Breazeal <donb@codesourcery.com>
2217
2218 * gdb.base/foll-fork.exp (test_follow_fork,
2219 catch_fork_child_follow): Check for updated fork messages emitted
2220 from infrun.c.
2221 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2222 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2223 vfork_and_exec_child_follow_through_step): Check for updated vfork
2224 messages emitted from infrun.c.
2225
22262014-10-24 Pedro Alves <palves@redhat.com>
2227
2228 * gdb.base/corefile.exp: Remove references to ultrix.
2229 * gdb.base/interrupt.exp: Likewise.
2230 * gdb.base/whatis.exp: Likewise.
2231 * gdb.gdb/selftest.exp: Likewise.
2232 * gdb.threads/manythreads.exp: Likewise.
2233 * gdb.threads/print-threads.exp: Likewise.
2234 * gdb.threads/pthreads.exp:: Likewise.
2235 * gdb.threads/schedlock.exp: Likewise.
2236
22372014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2238
2239 * gdb.cp/non-trivial-retval.cc: Add a test case.
2240 * gdb.cp/non-trivial-retval.exp: Add a test.
2241
22422014-10-20 Yao Qi <yao@codesourcery.com>
2243
2244 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2245 * gdb.python/py-objfile-script-gdb.py: New file.
2246 * gdb.python/py-objfile-script.exp: Update reference to
2247 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2248 of remote_download. Remove the dest file.
2249
22502014-10-20 Yao Qi <yao@codesourcery.com>
2251
2252 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2253 * gdb.base/step-line.exp: Likewise.
2254 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2255 * gdb.dwarf2/dw2-basic.exp: Likewise.
2256 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2257 * gdb.dwarf2/dw2-filename.exp: Likewise.
2258 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2259 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2260 * gdb.dwarf2/dw2-producer.exp: Likewise.
2261 * gdb.dwarf2/mac-fileno.exp: Likewise.
2262 * gdb.python/py-frame-args.exp: Likewise.
2263 * gdb.python/py-framefilter.exp: Likewise.
2264 * gdb.python/py-mi.exp: Likewise.
2265 * gdb.python/py-objfile-script.exp: Likewise
2266 * gdb.python/py-pp-integral.exp: Likewise.
2267 * gdb.python/py-pp-re-notag.exp: Likewise.
2268 * gdb.python/py-prettyprint.exp: Likewise.
2269 * gdb.python/py-section-script.exp: Likewise.
2270 * gdb.python/py-typeprint.exp: Likewise.
2271 * gdb.python/py-xmethods.exp: Likewise.
2272 * gdb.stabs/weird.exp: Likewise.
2273 * gdb.xml/tdesc-regs.exp: Likewise.
2274
22752014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2276
2277 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2278 (out_cu): Use addr_len for the size of addresses.
2279 (out_line): Likewise. Size DW_LNE_set_address instruction
2280 according to addr_len.
2281 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2282 (FUNC): Add START_INSNS to definition.
2283
22842014-10-18 Yao Qi <yao@codesourcery.com>
2285
2286 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2287 gdb_has_argv0 return true.
2288 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2289 check [target_info exists noargs], check [gdb_has_argv0]
2290 instead.
2291 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2292 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2293 procedures.
2294
22952014-10-17 Doug Evans <dje@google.com>
2296
2297 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2298 event.
2299 * gdb.python/py-events.py: Add clear_objfiles event.
2300
23012014-10-17 Doug Evans <dje@google.com>
2302
2303 * gdb.python/py-objfile.exp: Test progspace attribute.
2304
23052014-10-17 Luis Machado <lgustavo@codesourcery.com>
2306
2307 * gdb.guile/scm-breakpoint.exp: Do not assume any
2308 directory separators when matching source file paths.
2309 * gdb.python/py-breakpoint.exp: Likewise.
2310 * gdb.reverse/break-precsave.exp: Likewise.
2311 * gdb.reverse/break-reverse.exp: Likewise.
2312 * gdb.reverse/consecutive-precsave.exp: Likewise.
2313 * gdb.reverse/finish-precsave.exp: Likewise.
2314 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2315 * gdb.reverse/finish-reverse.exp: Likewise.
2316 * gdb.reverse/i386-precsave.exp: Likewise.
2317 * gdb.reverse/i387-env-reverse.exp: Likewise.
2318 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2319 * gdb.reverse/machinestate-precsave.exp: Likewise.
2320 * gdb.reverse/machinestate.exp: Likewise.
2321 * gdb.reverse/sigall-precsave.exp: Likewise.
2322 * gdb.reverse/solib-precsave.exp: Likewise.
2323 * gdb.reverse/step-precsave.exp: Likewise.
2324 * gdb.reverse/until-precsave.exp: Likewise.
2325 * gdb.reverse/watch-precsave.exp: Likewise.
2326 * gdb.reverse/watch-reverse.exp: Likewise.
2327
23282014-10-17 Yao Qi <yao@codesourcery.com>
2329
2330 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2331 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2332
23332014-10-17 Pedro Alves <palves@redhat.com>
2334
2335 PR gdb/17471
2336 * gdb.base/bg-execution-repeat.c: New file.
2337 * gdb.base/bg-execution-repeat.exp: New file.
2338
23392014-10-17 Pedro Alves <palves@redhat.com>
2340
2341 PR gdb/17300
2342 * gdb.base/continue-all-already-running.c: New file.
2343 * gdb.base/continue-all-already-running.exp: New file.
2344
23452014-10-17 Pedro Alves <palves@redhat.com>
2346
2347 PR gdb/17472
2348 * gdb.base/annota-input-while-running.c: New file.
2349 * gdb.base/annota-input-while-running.exp: New file.
2350
23512014-10-17 Pedro Alves <palves@redhat.com>
2352
2353 * gdb.base/callfuncs.exp: emove references to osf.
2354 * gdb.base/sigall.exp: Likewise.
2355 * gdb.gdb/selftest.exp: Likewise.
2356 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2357 * gdb.mi/non-stop.c: Likewise.
2358 * gdb.mi/pthreads.c: Likewise.
2359 * gdb.reverse/sigall-precsave.exp: Likewise.
2360 * gdb.reverse/sigall-reverse.exp: Likewise.
2361 * gdb.threads/pthreads.c: Likewise.
2362 * gdb.threads/pthreads.exp: Likewise.
2363
23642014-10-17 Yao Qi <yao@codesourcery.com>
2365
2366 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2367 check 'target_info exists noargs'.
2368 (test_command_prompt_position): Likewise.
2369 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2370 Remove "set args".
2371 (progvar_simple_while_test): Likewise.
2372 (progvar_complex_if_while_test): Likewise.
2373 (if_while_breakpoint_command_test): Likewise.
2374 (infrun_breakpoint_command_test): Likewise.
2375 (breakpoint_command_test): Likewise.
2376 (watchpoint_command_test): Likewise.
2377 (bp_deleted_in_command_test): Likewise.
2378 (temporary_breakpoint_commands): Likewise.
2379
23802014-10-16 Yao Qi <yao@codesourcery.com>
2381
2382 * gdb.base/remotetimeout.exp: Remove noargs checking.
2383
23842014-10-15 Pedro Alves <palves@redhat.com>
2385
2386 PR breakpoints/9649
2387 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2388 * gdb.base/breakpoint-in-ro-region.exp
2389 (probe_target_hardware_step): New procedure.
2390 (top level): Probe hardware stepping and hardware breakpoint
2391 support. Test stepping through a read-only region, with both
2392 "breakpoint auto-hw" on and off and both "always-inserted" on and
2393 off.
2394
23952014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2396
2397 * gdb.dlang/demangle.exp: Update for demangling changes.
2398
23992014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2400
2401 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2402 * gdb.cp/non-trivial-retval.exp: Add new tests.
2403
24042014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2405
2406 PR c++/13403
2407 PR c++/15154
2408 * gdb.cp/non-trivial-retval.cc: New file.
2409 * gdb.cp/non-trivial-retval.exp: New file.
2410
24112014-10-15 Yao Qi <yao@codesourcery.com>
2412
2413 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2414 remote host.
2415
24162014-10-15 Yao Qi <yao@codesourcery.com>
2417
2418 * gdb.python/py-symbol.exp: Match file base name if host is
2419 remote, otherwise match file name with dir name.
2420 * gdb.python/py-symtab.exp: Likewise.
2421 * gdb.python/python.exp: Likewise.
2422
24232014-10-15 Yao Qi <yao@codesourcery.com>
2424
2425 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2426 pattern.
2427 * gdb.python/py-symtab.exp: Likewise.
2428 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2429 locationn.
2430
24312014-10-14 Joel Brobecker <brobecker@adacore.com>
2432
2433 * gdb.ada/addr_arith: New testcase.
2434
24352014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2436
2437 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2438 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2439 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2440 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2441
24422014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2443
2444 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2445 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2446 * gdb.arch/stap-eval-lang-ada.exp: New file.
2447
24482014-10-14 Yao Qi <yao@codesourcery.com>
2449
2450 * gdb.mi/mi-var-child.c (nothing1): New function.
2451 (nothing2): New function.
2452 (do_children_tests): Set function pointers by nothing1 and
2453 nothing2.
2454 * gdb.mi/mi-var-child.exp: Step over new added statements.
2455 Update test to match the new output.
2456 * gdb.mi/var-cmd.c (nothing1): New function.
2457 (nothing2): New function.
2458 (do_children_tests): Set function pointers by nothing1 and
2459 nothing2.
2460 * gdb.mi/mi-var-display.exp: Update test to match output.
2461 Step to the line specified by $line_dct_nothing.
2462 Increase the number of lines to step.
2463
24642014-10-14 Yao Qi <yao@codesourcery.com>
2465
2466 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2467 tests.
2468 * gdb.mi/mi2-var-child.exp: Likewise.
2469
24702014-10-13 Doug Evans <dje@google.com>
2471
2472 * gdb.python/py-objfile.exp: Change name of file name test.
2473
24742014-10-13 Doug Evans <dje@google.com>
2475
2476 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2477 from the start of the CU.
2478
24792014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2480 Yao Qi <yao@codesourcery.com>
2481
2482 Fix "save breakpoints" for "catch" command.
2483 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2484 Remove -nonewline. Match also the added "main" line.
2485
24862014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2487
2488 Fix "save breakpoints" for "disable $bpnum" command.
2489 * gdb.base/save-bp.c (main): Add label.
2490 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2491
24922014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2493
2494 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2495
24962014-10-11 Yao Qi <yao@codesourcery.com>
2497
2498 * gdb.server/server-kill.exp: Execute command
2499 "set remote trace-status-packet on" before "tstatus".
2500
25012014-10-11 Yao Qi <yao@codesourcery.com>
2502
2503 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2504 (main): Call getppid.
2505 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2506 and continue to it. Read variable "server_pid".
2507
25082014-10-11 Yao Qi <yao@codesourcery.com>
2509
2510 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2511
25122014-10-11 Yao Qi <yao@codesourcery.com>
2513
2514 * gdb.threads/thread-find.exp: Don't execute command
2515 "info threads".
2516 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2517 * gdb.threads/linux-dp.exp: Don't check the condition
2518 $threads_created equals to zero.
2519
25202014-10-10 Pedro Alves <palves@redhat.com>
2521
2522 * gdb.base/bigcore.exp: Remove references to IRIX.
2523 * gdb.base/funcargs.exp: Likewise.
2524 * gdb.base/interrupt.exp: Likewise.
2525 * gdb.base/mips_pro.exp: Likewise.
2526 * gdb.base/nodebug.exp: Likewise.
2527 * gdb.base/setvar.exp: Likewise.
2528 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2529
25302014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2531 Pedro Alves <palves@redhat.com>
2532
2533 PR symtab/14466
2534 * gdb.base/vdso-warning.c: New file.
2535 * gdb.base/vdso-warning.exp: New file.
2536
25372014-10-02 Doug Evans <dje@google.com>
2538
2539 * gdb.base/structs.c (main): Don't run forever.
2540
25412014-10-02 Pedro Alves <palves@redhat.com>
2542
2543 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2544 (top level) <stop threads 1, stop threads 2>: Use it.
2545
25462014-10-02 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.threads/break-while-running.exp (test): Add new
2549 'update_thread_list' argument. Skip "info threads" if false.
2550 (top level): Add new 'update_thread_list' axis.
2551
25522014-10-02 Pedro Alves <palves@redhat.com>
2553
2554 PR breakpoints/17431
2555 * gdb.base/execl-update-breakpoints.c: New file.
2556 * gdb.base/execl-update-breakpoints.exp: New file.
2557
25582014-10-01 Pedro Alves <palves@redhat.com>
2559
2560 * gdb.base/breakpoint-in-ro-region.c: New file.
2561 * gdb.base/breakpoint-in-ro-region.exp: New file.
2562
25632014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2564
2565 * gdb.mi/mi-exit-code.exp: New file.
2566 * gdb.mi/mi-exit-code.c: New file.
2567
25682014-09-30 Yao Qi <yao@codesourcery.com>
2569
2570 * lib/prelink-support.exp (build_executable_own_libs): Error if
2571 the target isn't native.
2572
25732014-09-30 Yao Qi <yao@codesourcery.com>
2574
2575 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2576 false.
2577
25782014-09-22 Pedro Alves <palves@redhat.com>
2579
2580 * gdb.threads/break-while-running.exp: New file.
2581 * gdb.threads/break-while-running.c: New file.
2582
25832014-09-19 Yao Qi <yao@codesourcery.com>
2584
2585 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2586 Invoke test. Restart GDB with --readnow and invoke test again.
2587
25882014-09-19 Yao Qi <yao@codesourcery.com>
2589
2590 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2591 proc set_breakpoint_on_gcd_function. Invoke
2592 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2593 invoke set_breakpoint_on_gcd_function again.
2594
25952014-09-18 Doug Evans <dje@google.com>
2596
2597 * gdb.dwarf2/symtab-producer.exp: New file.
2598
25992014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2600
2601 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2602 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2603 * gdb.base/global-var-nested-by-dso.c: Likewise.
2604 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2605
26062014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2607 Pedro Alves <palves@redhat.com>
2608
2609 * gdb.base/watch-bitfields.exp: Pass string other than test file
2610 name to prepare_for_testing.
2611 (watch): New procedure.
2612 (expect_watchpoint): Use with_test_prefix.
2613 (top level): Factor out tests to ...
2614 (test_watch_location, test_regular_watch): ... these new
2615 procedures, and use with_test_prefix and gdb_continue_to_end.
2616
26172014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2618
2619 PR breakpoints/12526
2620 * gdb.base/watch-bitfields.exp: New file.
2621 * gdb.base/watch-bitfields.c: New file.
2622
26232014-09-16 Pedro Alves <palves@redhat.com>
2624
2625 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2626 software and hardware addresses, not software address against
2627 itself.
2628
26292014-09-16 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2632 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2633
26342014-09-16 Pedro Alves <palves@redhat.com>
2635
2636 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2637 files.
2638 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2639 "*-*-vxworks*" throughout.
2640 * gdb.base/break.exp: Likewise.
2641 * gdb.base/default.exp: Likewise.
2642 * gdb.base/scope.exp: Likewise.
2643 * gdb.base/sepdebug.exp: Likewise.
2644 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2645 throughout.
2646 * gdb.base/run.c: Likewise.
2647 * gdb.base/sepdebug.c: Likewise.
2648 * gdb.hp/gdb.aCC/run.c: Likewise.
2649 * gdb.reverse/until-reverse.c: Likewise.
2650 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2651
26522014-09-16 Yao Qi <yao@codesourcery.com>
2653
2654 * boards/local-remote-host-native.exp: New file.
2655
26562014-09-14 Doug Evans <xdje42@gmail.com>
2657
2658 * gdb.threads/queue-signal.c (thread_count): New variable.
2659 (thread_count_mutex, thread_count_condvar): New variables.
2660 (incr_thread_count, wait_all_threads_running): New functions.
2661 (main): Wait for all threads to be in their thread functions.
2662
26632014-09-13 Doug Evans <xdje42@gmail.com>
2664
2665 * gdb.threads/queue-signal.c: New file.
2666 * gdb.threads/queue-signal.exp: New file.
2667
26682014-09-13 Doug Evans <xdje42@gmail.com>
2669
2670 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2671 be consistent with what default_gdb_init uses.
2672 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2673 the plain text of the prompt. Add some logging printfs.
2674 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2675
26762014-09-12 Pedro Alves <palves@redhat.com>
2677
2678 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2679 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2680 * gdb.arch/i386-size-overlap.exp: Likewise.
2681 * gdb.arch/i386-size.exp: Likewise.
2682 * gdb.arch/i386-unwind.exp: Likewise.
2683 * gdb.base/a2-run.exp: Likewise.
2684 * gdb.base/break.exp: Likewise.
2685 * gdb.base/charset.exp: Likewise.
2686 * gdb.base/chng-syms.exp: Likewise.
2687 * gdb.base/commands.exp: Likewise.
2688 * gdb.base/dbx.exp: Likewise.
2689 * gdb.base/find.exp: Likewise.
2690 * gdb.base/funcargs.exp: Likewise.
2691 * gdb.base/jit-simple.exp: Likewise.
2692 * gdb.base/reread.exp: Likewise.
2693 * gdb.base/sepdebug.exp: Likewise.
2694 * gdb.base/step-bt.exp: Likewise.
2695 * gdb.cp/mb-inline.exp: Likewise.
2696 * gdb.cp/mb-templates.exp: Likewise.
2697 * gdb.objc/basicclass.exp: Likewise.
2698 * gdb.threads/killed.exp: Likewise.
2699
27002014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2701
2702 PR tdep/17379
2703 * gdb.arch/powerpc-stackless.S: New file.
2704 * gdb.arch/powerpc-stackless.exp: New file.
2705
27062014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2707
2708 * gdb.base/attach.c: Include unistd.h.
2709 (main): Call alarm. Add label postloop.
2710 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2711 gdb_breakpoint, gdb_continue_to_breakpoint.
2712 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2713
27142014-09-11 Pedro Alves <palves@redhat.com>
2715
2716 PR gdb/17347
2717 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2718 * gdb.base/attach.exp (test_command_line_attach_run): New
2719 procedure.
2720 (top level): Call it.
2721
27222014-09-11 Pedro Alves <palves@redhat.com>
2723
2724 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2725 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2726 (do_command_attach_tests): Use spawn_wait_for_attach.
2727 * gdb.base/solib-overlap.exp: Likewise.
2728 * gdb.multi/multi-attach.exp: Likewise.
2729 * gdb.python/py-prompt.exp: Likewise.
2730 * gdb.python/py-sync-interp.exp: Likewise.
2731 * gdb.server/ext-attach.exp: Likewise.
2732
27332014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2734
2735 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2736 command in testcase. Simplify testcase.
2737
27382014-09-10 Joel Brobecker <brobecker@adacore.com>
2739
2740 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2741
27422014-09-10 Joel Brobecker <brobecker@adacore.com>
2743
2744 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2745
27462014-09-10 Joel Brobecker <brobecker@adacore.com>
2747
2748 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2749
27502014-09-10 Joel Brobecker <brobecker@adacore.com>
2751
2752 * gdb.dwarf2/dynarr-ptr.c: New file.
2753 * gdb.dwarf2/dynarr-ptr.exp: New file.
2754
27552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2756
2757 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2758 of 30 rather than hardcoding 120 for a slow test case. Take the
2759 `gdb,timeout' target setting into account for this calculation.
2760 Don't extend the timeout for the test cases that don't need it.
2761
27622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2763
2764 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2765 a factor of 2 for a slow test case. Take the `gdb,timeout'
2766 target setting into account for this calculation.
2767 * gdb.reverse/until-precsave.exp: Increase the timeout by
2768 a factor of 15 and 3 respectively rather than adding 120
2769 for a pair of slow test cases. Take the `gdb,timeout'
2770 target setting into account for this calculation.
2771
27722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2773
2774 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2775 timeout, don't pass one down to gdb_expect.
2776 (gdb_expect): Rework timeout selection.
2777
27782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2779
2780 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2781 exception on timeout.
2782 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2783 (gdbserver_start_extended): Catch any `gdbserver_start' error
2784 exceptions.
2785 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2786 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2787 `gdbserver_gdb_load' error exceptions.
2788
27892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2790
2791 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2792 120 on waiting for the TCP socket to open.
2793
27942014-09-09 Doug Evans <xdje42@gmail.com>
2795
2796 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2797 _caller_matches, _any_caller_is, _any_caller_matches.
2798
27992014-09-09 Doug Evans <xdje42@gmail.com>
2800
2801 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2802
28032014-09-09 Yao Qi <yao@codesourcery.com>
2804
2805 * gdb.mi/mi-var-display.exp: Set print symbol off.
2806
28072014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2808
2809 PR gdb/17035
2810 * gdb.base/commands.exp: Add tests to verify user-defined
2811 commands with empty bodies.
2812 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2813 python commands in `show user command`.
2814 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2815 scheme commands in `show user command`.
2816
28172014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2818
2819 PR python/17355
2820 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2821 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2822 * gdb.python/py-framefilter-invalidarg.exp: New file.
2823 * gdb.python/py-framefilter-invalidarg.py: New file.
2824
28252014-09-06 Doug Evans <xdje42@gmail.com>
2826
2827 PR 15276
2828 * gdb.python/py-caller-is.c: New file.
2829 * gdb.python/py-caller-is.exp: New file.
2830
28312014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2832
2833 PR gdb/17235
2834 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2835 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2836
28372014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2838
2839 PR fortran/17237
2840 * gdb.fortran/print-formatted.exp: New file.
2841 * gdb.fortran/print-formatted.f90: Likewise.
2842
28432014-09-03 Sasha Smundak <asmundak@google.com>
2844
2845 * gdb.python/py-frame.exp: Test Frame.read_register.
2846
28472014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2848
2849 PR python/16699
2850 * gdb.python/py-completion.exp: New file.
2851 * gdb.python/py-completion.py: Likewise.
2852
28532014-08-28 Doug Evans <dje@google.com>
2854
2855 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2856 eax,etc. are live with values set by gdb and thus the compiler can't
2857 use them.
2858 * gdb.arch/i386-pseudo.c (main): Ditto.
2859
28602014-08-27 Doug Evans <dje@google.com>
2861
2862 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2863
28642014-08-25 Doug Evans <dje@google.com>
2865
2866 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2867 (main): Ditto.
2868
28692014-08-25 Doug Evans <dje@google.com>
2870
2871 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2872
28732014-08-24 Yao Qi <yao@codesourcery.com>
2874
2875 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2876 symbol off.
2877 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2878
28792014-08-22 Doug Evans <dje@google.com>
2880
2881 PR 17276
2882 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2883 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2884 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2885
28862014-08-22 Yao Qi <yao@codesourcery.com>
2887
2888 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2889 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2890 * gdb.python/python.exp: Likewise. Use .py file on the host
2891 instead of the build.
2892
28932014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2894
2895 * gdb.threads/gcore-stale-thread.c: New file.
2896 * gdb.threads/gcore-stale-thread.exp: New file.
2897
28982014-08-21 Pedro Alves <palves@redhat.com>
2899
2900 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2901 * gdb.base/gcore-relro-pie.exp: Likewise.
2902 * gdb.base/gcore-relro.exp: Likewise.
2903 * gdb.base/gcore.exp: Likewise.
2904 * gdb.base/print-symbol-loading.exp: Likewise.
2905 * gdb.threads/gcore-thread.exp: Likewise.
2906 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2907
29082014-08-20 Pedro Alves <palves@redhat.com>
2909 Jan Kratochvil <jan.kratochvil@redhat.com>
2910
2911 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2912 configure.
2913 (EXPECT): Handle READ1 being set.
2914 (all): Depend on EXTRA_RULES.
2915 (check-read1, expect-read1, read1.so, read1): New rules.
2916 * README (Testsuite Parameters): Document the READ1 make variable.
2917 (Race detection): New section.
2918 * configure: Regenerate.
2919 * configure.ac: If build==host==target, and running under a
2920 GNU/glibc system, add read1 to the extra Makefile rules.
2921 (EXTRA_RULES): AC_SUBST it.
2922 * lib/read1.c: New file.
2923
29242014-08-20 Joel Brobecker <brobecker@adacore.com>
2925
2926 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2927 the handling of variables declared as a typedef to an array
2928 which a DW_AT_data_location attribute.
2929
29302014-08-19 Andrew Burgess <aburgess@broadcom.com>
2931 Pedro Alves <palves@redhat.com>
2932
2933 PR symtab/14604
2934 PR symtab/14605
2935 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2936 gdb_test.
2937
29382014-08-19 Pedro Alves <palves@redhat.com>
2939
2940 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2941
29422014-08-19 Yao Qi <yao@codesourcery.com>
2943
2944 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2945 right line.
2946
29472014-08-18 David Blaikie <dblaikie@gmail.com>
2948
2949 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2950
29512014-08-18 Joel Brobecker <brobecker@adacore.com>
2952
2953 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2954 attribute in array range.
2955
29562014-08-18 Joel Brobecker <brobecker@adacore.com>
2957
2958 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2959
29602014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2961
2962 PR c++/17132
2963 * gdb.cp/pr17132.cc: New file.
2964 * gdb.cp/pr17132.exp: New file.
2965
29662014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2967
2968 * gdb.python/py-xmethods.py (A_getarrayind)
2969 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2970 Use 'print' with function call syntax.
2971 (E_method_matcher.match): Fix tab vs space indentation mixup.
2972
29732014-08-15 Yao Qi <yao@codesourcery.com>
2974
2975 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2976 false.
2977
29782014-08-15 Yao Qi <yao@codesourcery.com>
2979
2980 * gdb.cp/casts.exp: Set print symbol off.
2981 * gdb.cp/class2.exp: Likewise.
2982 * gdb.cp/overload.exp: Likewise.
2983 * gdb.cp/templates.exp: Likewise.
2984
29852014-08-11 Doug Evans <dje@google.com>
2986
2987 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2988 (test_load_shlib): Update.
2989
29902014-08-09 Yao Qi <yao@codesourcery.com>
2991
2992 * gdb.base/display.exp: Invoke is_address_zero_readable.
2993 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2994 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2995 * gdb.base/hbreak-unmapped.exp: Return if
2996 is_address_zero_readable returns true.
2997 * gdb.base/signest.exp: Likewise.
2998 * gdb.base/signull.exp: Likewise.
2999 * gdb.base/sigbpt.exp: Likewise.
3000 * gdb.guile/scm-disasm.exp: Do the test if
3001 is_address_zero_readable returns false.
3002 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3003 * gdb.python/py-arch.exp: Likewise.
3004 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3005 * lib/gdb.exp (is_address_zero_readable): New proc.
3006
30072014-08-09 Yao Qi <yao@codesourcery.com>
3008
3009 PR testsuite/13443
3010 * gdb.mi/mi-var-display.exp: Make test messages unique.
3011
30122014-08-04 Tom Tromey <tromey@redhat.com>
3013
3014 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3015 target 0".
3016
30172014-08-04 Tom Tromey <tromey@redhat.com>
3018
3019 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3020 "target_resume".
3021
30222014-08-01 Joel Brobecker <brobecker@adacore.com>
3023
3024 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3025 inner_vla_struct_object_size.
3026 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3027 as xfail.
3028
30292014-07-30 Pedro Alves <palves@redhat.com>
3030
3031 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3032 comment.
3033
30342014-07-29 Yao Qi <yao@codesourcery.com>
3035
3036 PR gdb/17206
3037 * gdb.base/until-nodebug.exp: New.
3038
30392014-07-28 Doug Evans <xdje42@gmail.com>
3040
3041 PR guile/17203
3042 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3043 previously existing parameter, and previously ambiguously spelled
3044 parameter.
3045
30462014-07-28 Will Newton <will.newton@linaro.org>
3047
3048 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3049
30502014-07-26 Ludovic Courtès <ludo@gnu.org>
3051 Doug Evans <xdje42@gmail.com>
3052
3053 PR guile/17146
3054 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3055
30562014-07-25 Pedro Alves <palves@redhat.com>
3057
3058 * gdb.threads/signal-command-handle-nopass.c: New file.
3059 * gdb.threads/signal-command-handle-nopass.exp: New file.
3060 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3061 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3062 * gdb.threads/signal-delivered-right-thread.c: New file.
3063 * gdb.threads/signal-delivered-right-thread.exp: New file.
3064
30652014-07-25 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.base/double-prompt-target-event-error.exp
3068 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3069 match.
3070 (cancel_pagination_in_target_event): Rework double prompt
3071 detection.
3072 * gdb.base/paginate-after-ctrl-c-running.exp
3073 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3074 <return>' match.
3075 * gdb.base/paginate-bg-execution.exp
3076 (test_bg_execution_pagination_return)
3077 (test_bg_execution_pagination_cancel): Remove '-notransfer
3078 <return>' matches.
3079 * gdb.base/paginate-execution-startup.exp
3080 (test_fg_execution_pagination_return)
3081 (test_fg_execution_pagination_cancel): Remove '-notransfer
3082 <return>' matches.
3083 * gdb.base/paginate-inferior-exit.exp
3084 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3085 match.
3086 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3087 * lib/gdb.exp (pagination_prompt): Run text through
3088 string_to_regexp.
3089 (gdb_test_multiple): Match $pagination_prompt instead of
3090 "<return>".
3091 (string_to_regexp): Move to lib/gdb-utils.exp.
3092
30932014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3094
3095 * gdb.arch/amd64-entry-value-paramref.S: New file.
3096 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3097 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3098 * gdb.arch/amd64-optimout-repeat.S: New file.
3099 * gdb.arch/amd64-optimout-repeat.c: New file.
3100 * gdb.arch/amd64-optimout-repeat.exp: New file.
3101
31022014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3103
3104 PR gdb/17170
3105 * gdb.base/statistics.exp: New file.
3106
31072014-07-17 Doug Evans <dje@google.com>
3108
3109 PR gdb/17170
3110 * gdb.base/maint.exp: Update testing of per-command stats.
3111
31122014-07-16 Pedro Alves <palves@redhat.com>
3113
3114 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3115 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3116 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3117 (tfile_write_buf): New functions.
3118 (add_memory_block): Rewrite using the above.
3119 (adjust_function_address): New function.
3120 (FUNCTION_ADDRESS): New macro.
3121 (write_basic_trace_file): Remove short_x local, and use
3122 tfile_write_16. Change type of func_addr local to unsigned long
3123 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3124 here. Cast argument of add_memory_block to char pointer.
3125 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3126 (main): Remove parameters.
3127 * gdb.trace/tfile.exp: Remove nowarnings.
3128
31292014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3130
3131 * gdb.base/debug-expr.exp: Test string evaluation with
3132 "debug expression" on.
3133
31342014-07-15 Pedro Alves <palves@redhat.com>
3135
3136 * gdb.base/reread.exp: Use clean_restart.
3137
31382014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3139
3140 * gdb.arch/avr-flash-qualifer.c: New.
3141 * gdb.arch/avr-flash-qualifer.exp: New.
3142
31432014-07-14 Pedro Alves <palves@redhat.com>
3144
3145 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3146 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3147
31482014-07-14 Pedro Alves <palves@redhat.com>
3149
3150 * gdb.base/double-prompt-target-event-error.c: New file.
3151 * gdb.base/double-prompt-target-event-error.exp: New file.
3152
31532014-07-14 Pedro Alves <palves@redhat.com>
3154
3155 PR gdb/17072
3156 * gdb.base/paginate-inferior-exit.c: New file.
3157 * gdb.base/paginate-inferior-exit.exp: New file.
3158
31592014-07-14 Pedro Alves <palves@redhat.com>
3160
3161 PR gdb/17072
3162 * gdb.base/paginate-bg-execution.c: New file.
3163 * gdb.base/paginate-bg-execution.exp: New file.
3164
31652014-07-14 Pedro Alves <palves@redhat.com>
3166
3167 PR gdb/17072
3168 * gdb.base/paginate-execution-startup.c: New file.
3169 * gdb.base/paginate-execution-startup.exp: New file.
3170 * lib/gdb.exp (pagination_prompt): New global.
3171 (default_gdb_spawn): New procedure, factored out from
3172 default_gdb_spawn.
3173 (default_gdb_start): Adjust to call default_gdb_spawn.
3174 (gdb_spawn): New procedure.
3175
31762014-07-14 Pedro Alves <palves@redhat.com>
3177
3178 * lib/gdb.exp (gdb_assert): New procedure.
3179 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3180
31812014-07-14 Pedro Alves <palves@redhat.com>
3182
3183 * gdb.base/execution-termios.c: New file.
3184 * gdb.base/execution-termios.exp: New file.
3185
31862014-07-14 Tom Tromey <tromey@redhat.com>
3187
3188 * gdb.cp/vla-cxx.cc: New file.
3189 * gdb.cp/vla-cxx.exp: New file.
3190
31912014-07-14 Tom Tromey <tromey@redhat.com>
3192
3193 * gdb.reverse/rerun-prec.c: New file.
3194 * gdb.reverse/rerun-prec.exp: New file.
3195
31962014-07-12 Maciej W. Rozycki <macro@mips.com>
3197 Maciej W. Rozycki <macro@codesourcery.com>
3198
3199 * lib/gdb-utils.exp: New file.
3200 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3201 inline `gdb_init_command' processing.
3202 (gdb_start_cmd): Likewise.
3203 * lib/mi-support.exp (mi_run_cmd): Likewise.
3204 * README: Document `gdb_init_command' and `gdb_init_commands'.
3205
32062014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3207
3208 Fix false FAIL running under a very long directory name.
3209 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3210 and "set print elements 10000". Twice.
3211
32122014-07-11 Yao Qi <yao@codesourcery.com>
3213
3214 * gdb.base/exprs.exp: "set print symbol off".
3215
32162014-07-11 Pedro Alves <palves@redhat.com>
3217
3218 * gdb.threads/kill.c: New file.
3219 * gdb.threads/kill.exp: New file.
3220
32212014-07-10 Yao Qi <yao@codesourcery.com>
3222
3223 * gdb.trace/tfile.c (write_basic_trace_file)
3224 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3225 address written to trace file.
3226
32272014-07-09 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.base/attach-wait-input.exp: New file.
3230 * gdb.base/attach-wait-input.c: New file.
3231
32322014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3233
3234 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3235 setting up test structures.
3236 (main): Call new test function.
3237 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3238 test function, continue into test function and walk test
3239 structures.
3240
32412014-07-02 Yao Qi <yao@codesourcery.com>
3242
3243 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3244 'bar_start' at the beginning of functions 'foo' and 'bar'
3245 respectively.
3246 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3247 instead of 'foo' and 'bar'.
3248
32492014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3250
3251 * gdb.btrace/segv.exp: New.
3252 * gdb.btrace/segv.c: New.
3253
32542014-07-02 Luis Machado <lgustavo@codesourcery.com>
3255
3256 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3257 instruction.
3258
32592014-06-30 Mark Wielaard <mjw@redhat.com>
3260
3261 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3262 vulture, vilify, villar): New volatile array constants.
3263 (vindictive, vegetation): New const volatile array constants.
3264 * gdb.base/volatile.exp: Test volatile and const volatile array
3265 types.
3266
32672014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3268
3269 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3270 target lacks support for awatch, rwatch, or hbreak.
3271
32722014-06-27 Yao Qi <yao@codesourcery.com>
3273
3274 * gdb.multi/dummy-frame-restore.exp: New.
3275 * gdb.multi/dummy-frame-restore.c: New.
3276
32772014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3278
3279 * gdb.btrace/gcore.exp: New.
3280
32812014-06-23 Pedro Alves <palves@redhat.com>
3282
3283 * gdb.base/watchpoint-reuse-slot.c: New file.
3284 * gdb.base/watchpoint-reuse-slot.exp: New file.
3285
32862014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3287
3288 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3289 progspace's filename in 'info', 'enable' and 'disable' command
3290 tests.
3291
32922014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3295 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3296 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3297
32982014-06-20 Gary Benson <gbenson@redhat.com>
3299
3300 * gdb.arch/i386-avx.exp: Fix include file location.
3301 * gdb.arch/i386-sse.exp: Likewise.
3302
33032014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3304
3305 * gdb.dlang/expression.exp: New file.
3306
33072014-06-19 Pedro Alves <palves@redhat.com>
3308
3309 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3310 out from ...
3311 (top level): ... here. Iterate running tests under different
3312 scheduler-locking settings.
3313
33142014-06-18 Luis Machado <lgustavo@codesourcery.com>
3315
3316 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3317 to DW_FORM_addr and use non-zero addresses.
3318
33192014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3320
3321 PR gdb/17017
3322 * gdb.python/py-xmethods.cc: Add global function call counters and
3323 increment them in their respective functions. Remove "cout"
3324 statements.
3325 * gdb.python/py-xmethods.exp: Make tests check the global function
3326 call counters instead of depending on inferior IO.
3327
33282014-06-18 Don Breazeal <donb@codesourcery.com>
3329
3330 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3331 Deleted procedure.
3332 (explicit_fork_parent_follow): Deleted procedure.
3333 (explicit_fork_child_follow): Deleted procedure.
3334 (test_follow_fork): New procedure.
3335 (do_fork_tests): Replace calls to deleted procedures with
3336 calls to test_follow_fork and reset GDB for subsequent
3337 procedure calls.
3338
33392014-06-17 Yao Qi <yao@codesourcery.com>
3340
3341 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3342 CP1252.
3343
33442014-06-17 Luis Machado <lgustavo@codesourcery.com>
3345
3346 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3347 Initialize ptr and S explicitly.
3348 (skip_type_update_when_not_use_rtti_test): Likewise.
3349
33502014-06-16 Keith Seitz <keiths@redhat.com>
3351
3352 PR mi/15863
3353 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3354 the inferior is started.
3355
33562014-06-16 Pedro Alves <palves@redhat.com>
3357
3358 * gdb.base/break-main-file-remove-fail.c: New file.
3359 * gdb.base/break-main-file-remove-fail.exp: New file.
3360 * gdb.base/break-unload-file.exp: Use build_executable instead of
3361 prepare_for_testing.
3362 (test_break): New parameter "initial_load". Handle it.
3363 (top level): Add initial_load cmdline/file axis.
3364
33652014-06-12 Tom Tromey <tromey@redhat.com>
3366
3367 * gdb.base/completion.exp: Don't use directory name in test.
3368
33692014-06-09 Gary Benson <gbenson@redhat.com>
3370
3371 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3372 separate the always-available ANSI-standard signals from the
3373 signals that require checking.
3374 (main): Likewise.
3375 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3376 Likewise.
3377 (main): Likewise.
3378
33792014-06-07 Keith Seitz <keiths@redhat.com>
3380
3381 Revert:
3382 PR c++/16253
3383 * gdb.cp/var-tag.cc: New file.
3384 * gdb.cp/var-tag.exp: New file.
3385 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3386 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3387 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3388 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3389
33902014-06-06 Doug Evans <xdje42@gmail.com>
3391
3392 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3393
33942014-06-06 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3397 in target debug output instead of looking at RSP packets,
3398 disabling the test on any target that uses hardware stepping.
3399 Update comments.
3400
34012014-06-06 Pedro Alves <palves@redhat.com>
3402
3403 * gdb.base/break-unload-file.exp: Fix typo.
3404
34052014-06-06 Yao Qi <yao@codesourcery.com>
3406
3407 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3408 from "jit_function" to "^jit_function".
3409
34102014-06-06 Yao Qi <yao@codesourcery.com>
3411
3412 * gdb.base/async.c (foo): Add one statement.
3413 * gdb.base/async.exp: Get the next instruction address and
3414 match the output of "nexti" by instruction address. Match
3415 the hex address in the output of "finish".
3416
34172014-06-06 Gary Benson <gbenson@redhat.com>
3418
3419 * gdb.base/call-signals.c: Remove preprocessor conditionals
3420 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3421 SIGSEGV and SIGTERM.
3422 * gdb.base/sigall.c: Likewise.
3423 * gdb.base/unwindonsignal.c: Likewise.
3424 * gdb.reverse/sigall-reverse.c: Likewise.
3425
34262014-06-06 Yao Qi <yao@codesourcery.com>
3427
3428 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3429 readable, skip the test.
3430
34312014-06-06 Yao Qi <yao@codesourcery.com>
3432
3433 * gdb.threads/staticthreads.c (thread_function): Move the line
3434 setting breakpoint on forward.
3435 * gdb.threads/staticthreads.exp: Update comments.
3436
34372014-06-05 Ludovic Courtès <ludo@gnu.org>
3438
3439 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3440 "history-append! type error".
3441
34422014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3443
3444 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3445 erroneous dprintf expected input.
3446
34472014-06-04 Doug Evans <xdje42@gmail.com>
3448
3449 * gdb.guile/scm-generics.exp: Delete.
3450
34512014-06-04 Doug Evans <xdje42@gmail.com>
3452
3453 * gdb.guile/scm-breakpoint.exp: Update.
3454 Add tests for breakpoint registration.
3455
34562014-06-04 Tom Tromey <tromey@redhat.com>
3457
3458 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3459 VLA-in-union.
3460 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3461 inner_vla_struct, vla_union types. Initialize objects of those
3462 types and compute their sizes.
3463
34642014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3465 Hui Zhu <hui@codesourcery.com>
3466
3467 * gdb.base/fileio.exp: Add test for shell not available as well as
3468 available.
3469 * gdb.base/fileio.c (test_system): Check for shell twice.
3470
34712014-06-04 Yao Qi <yao@codesourcery.com>
3472
3473 * gdb.base/auto-connect-native-target.exp: Remove redundant
3474 space from the regexp pattern.
3475
34762014-06-04 Yao Qi <yao@codesourcery.com>
3477
3478 * gdb.base/default.exp: Replace "child" with "native" in
3479 regexp pattern.
3480
34812014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3482
3483 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3484 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3485 * gdb.python/py-xmethods.py: Python script supporting the
3486 new testcase and tests.
3487
34882014-06-03 Joel Brobecker <brobecker@adacore.com>
3489 Pedro Alves <palves@redhat.com>
3490
3491 PR breakpoints/17000
3492 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3493 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3494
34952014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3496
3497 * gdb.base/subst.exp: Add tests to verify partial path matching
3498 output.
3499
35002014-06-03 Pedro Alves <palves@redhat.com>
3501
3502 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3503 target that doesn't use software single-stepping.
3504
35052014-06-03 Pedro Alves <palves@redhat.com>
3506
3507 PR breakpoints/17000
3508 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3509 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3510
35112014-06-02 Doug Evans <xdje42@gmail.com>
3512
3513 * gdb.guile/scm-parameter.exp: New file.
3514
35152014-06-02 Doug Evans <xdje42@gmail.com>
3516
3517 * gdb.guile/scm-cmd.c: New file.
3518 * gdb.guile/scm-cmd.exp: New file.
3519
35202014-06-02 Doug Evans <xdje42@gmail.com>
3521
3522 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3523 pretty-printer lookup.
3524 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3525 (make-pp_s-printer): Call it.
3526 (make-pretty-printer-from-dict): New function.
3527 (lookup-pretty-printer-maker-from-dict): New function.
3528 (*pretty-printer*): Simplify.
3529 (make-objfile-pp_s-printer): New function.
3530 (install-objfile-pretty-printers!): New function.
3531 (make-progspace-pp_s-printer): New function.
3532 (install-progspace-pretty-printers!): New function.
3533 * gdb.guile/scm-progspace.c: New file.
3534 * gdb.guile/scm-progspace.exp: New file.
3535
35362014-06-02 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/dprintf-bp-same-addr.c: New file.
3539 * gdb.base/dprintf-bp-same-addr.exp: New file.
3540
35412014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3542
3543 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3544 * gdb.arch/powerpc-power.s: Likewise.
3545
35462014-06-02 Joel Brobecker <brobecker@adacore.com>
3547
3548 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3549
35502014-06-01 Yao Qi <yao@codesourcery.com>
3551
3552 * gdb.base/watchpoint.exp (test_watch_location): Check null
3553 pointer can be dereferenced. If not, do the test, otherwise
3554 skip it.
3555
35562014-05-30 Andrew Burgess <aburgess@broadcom.com>
3557
3558 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3559 results.
3560 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3561
35622014-05-30 Andrew Burgess <aburgess@broadcom.com>
3563
3564 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3565 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3566 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3567 * gdb.arch/amd64-invalid-stack-top.c: New file.
3568 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3569
35702014-05-30 Pedro Alves <palves@redhat.com>
3571
3572 PR breakpoints/17000
3573 * gdb.base/sss-bp-on-user-bp.c: New file.
3574 * gdb.base/sss-bp-on-user-bp.exp: New file.
3575
35762014-05-30 David Blaikie <dblaikie@gmail.com>
3577
3578 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3579 gnu_inline semantics via attribute.
3580 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3581 source explicitly specifies the required semantics.
3582
35832014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3584
3585 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3586
35872014-05-29 Pedro Alves <palves@redhat.com>
3588 Tom Tromey <tromey@redhat.com>
3589
3590 * gdb.base/async-shell.exp: Don't enable target-async.
3591 * gdb.base/async.exp
3592 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3593 parameter. Adjust.
3594 (top level): Don't test with "target-async".
3595 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3596 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3597 * gdb.base/inferior-died.exp: Don't enable target-async.
3598 * gdb.base/interrupt-noterm.exp: Likewise.
3599 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3600 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3601 * gdb.mi/mi-nonstop.exp: Likewise.
3602 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3603 * gdb.mi/mi-nsintrall.exp: Likewise.
3604 * gdb.mi/mi-nsmoribund.exp: Likewise.
3605 * gdb.mi/mi-nsthrexec.exp: Likewise.
3606 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3607 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3608 * gdb.python/py-evsignal.exp: Don't enable target-async.
3609 * gdb.python/py-evthreads.exp: Likewise.
3610 * gdb.python/py-prompt.exp: Likewise.
3611 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3612 * gdb.server/solib-list.exp: Don't enable target-async.
3613 * gdb.threads/thread-specific-bp.exp: Likewise.
3614 * lib/mi-support.exp: Adjust to use mi-async.
3615
36162014-05-29 Pedro Alves <palves@redhat.com>
3617
3618 PR gdb/13860
3619 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3620 reason, even in sync mode.
3621
36222014-05-29 Pedro Alves <palves@redhat.com>
3623 Hui Zhu <hui@codesourcery.com>
3624
3625 PR PR15693
3626 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3627 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3628 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3629 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3630
36312014-05-28 Joel Brobecker <brobecker@adacore.com>
3632
3633 * config/monitor.exp (gdb_target_monitor): Replace use of
3634 "set remotebaud" by "set serial baud".
3635
36362014-05-26 Andy Wingo <wingo@igalia.com>
3637
3638 * gdb.guile/scm-breakpoint.exp:
3639 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3640 properties instead of gdb-object-properties.
3641
36422014-05-26 Yao Qi <yao@codesourcery.com>
3643
3644 * gdb.server/no-thread-db.exp: Specify source file name
3645 explicitly when setting a breakpoint.
3646
36472014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3648
3649 * gdb.btrace/vdso.c: New.
3650 * gdb.btrace/vdso.exp: New.
3651
36522014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3653
3654 * gdb.base/gcore.exp (capture_command_output): Move ...
3655 * lib/gdb.exp (capture_command_output): ... here.
3656
36572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3658
3659 * gdb.btrace/data.exp: Test memory access during btrace replay.
3660
36612014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3662
3663 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3664
36652014-05-21 Pedro Alves <palves@redhat.com>
3666
3667 PR gdb/13860
3668 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3669 (top level): Test that output related to execution commands is
3670 sent to the console with CLI commands, but not with MI commands.
3671 Test that breakpoint events are always mirrored to the console.
3672 Also expect the new source line to be output after a "next" in
3673 async mode too. Make it a pass/fail test.
3674 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3675 output.
3676 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3677
36782014-05-21 Pedro Alves <palves@redhat.com>
3679
3680 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3681 Use them to test variations of "list" after reaching a breakpoint.
3682 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3683 Test "list" with listsize 10 after reaching a breakpoint.
3684 * gdb.python/python.exp (decode_line current location line
3685 number): Adjust expected line number.
3686
36872014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3688
3689 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3690 behavior for $args, pass it directly to "run".
3691
36922014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3693
3694 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3695 30000 to 65536.
3696
36972014-05-21 Pedro Alves <palves@redhat.com>
3698
3699 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3700 auto-connect-native-target off".
3701 * gdb.base/auto-connect-native-target.c: New file.
3702 * gdb.base/auto-connect-native-target.exp: New file.
3703
37042014-05-21 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.base/default.exp: Test "target native" instead of "target
3707 child".
3708
37092014-05-21 Mark Wielaard <mjw@redhat.com>
3710
3711 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3712
37132014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3714
3715 Fix TLS access for -static -pthread.
3716 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3717 <HAVE_TLS> (thread_function, main): Initialize it.
3718 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3719 Add clean_restart.
3720 <$have_tls != "">: Check TLSVAR.
3721
37222014-05-21 Pedro Alves <palves@redhat.com>
3723
3724 * gdb.base/dcache-line-read-error.c: New.
3725 * gdb.base/dcache-line-read-error.exp: New.
3726
37272014-05-20 Pedro Alves <palves@redhat.com>
3728
3729 * gdb.base/compare-sections.c: New file.
3730 * gdb.base/compare-sections.exp: New file.
3731
37322014-05-20 Pedro Alves <palves@redhat.com>
3733
3734 * gdb.base/break-idempotent.c: New file.
3735 * gdb.base/break-idempotent.exp: New file.
3736
37372014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3738
3739 * gdb.btrace/nohist.exp: New.
3740
37412014-05-20 Yao Qi <yao@codesourcery.com>
3742
3743 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3744 gdb.reverse directory and gdb_reverse_timeout exists in board
3745 setting.
3746 * README: Document gdb_reverse_timeout.
3747
37482014-05-20 Yao Qi <yao@codesourcery.com>
3749
3750 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3751 'test_file_name'. Treat args as a string instead of a list.
3752 (gdb_init): Rename argument 'args' by 'test_file_name'.
3753
37542014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3755
3756 * gdb.arch/powerpc-power.exp: New file.
3757 * gdb.arch/powerpc-power.s: New file.
3758
37592014-05-16 Doug Evans <dje@google.com>
3760
3761 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3762 * gdb.base/completion.exp: Check that all expected files exist
3763 before doing file completion.
3764
37652014-05-16 Doug Evans <dje@google.com>
3766
3767 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3768 Update.
3769 (do_syscall_tests_without_xml): Update.
3770
37712014-05-16 Pedro Alves <palves@redhat.com>
3772
3773 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3774 instead of "unknown output after running".
3775
37762014-05-16 Yao Qi <yao@codesourcery.com>
3777
3778 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3779 file1.txt from host at the end.
3780 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3781
37822014-05-15 Doug Evans <dje@google.com>
3783
3784 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3785 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3786 loading file. Add test for TU lookup.
3787
37882014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3789
3790 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3791 calling "-exec-arguments" or "set args" before running the
3792 inferior.
3793
37942014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3795
3796 * lib/mi-support.exp (mi_expect_stop): Expect message for
3797 inferiors that exit with non-zero exit code.
3798
37992014-05-14 Yao Qi <yao@codesourcery.com>
3800
3801 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3802 match absolute path on remote host.
3803 (test_file_list_exec_source_files): Remove "/" from the
3804 pattern.
3805
38062014-05-14 Yao Qi <yao@codesourcery.com>
3807
3808 * boards/local-remote-host-notty.exp (${board}_file): New
3809 proc.
3810
38112014-05-07 Kyle McMartin <kyle@redhat.com>
3812
3813 Pushed by Joel Brobecker <brobecker@adacore.com>.
3814 * gdb.arch/aarch64-atomic-inst.c: New file.
3815 * gdb.arch/aarch64-atomic-inst.exp: New file.
3816
38172014-05-07 Yao Qi <yao@codesourcery.com>
3818
3819 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3820 in current context" too.
3821
38222014-05-05 Keith Seitz <keiths@redhat.com>
3823
3824 * gdb.linespec/ls-dollar.exp: Add test for linespec
3825 file:convenience_variable.
3826
38272014-05-05 Yao Qi <yao@codesourcery.com>
3828
3829 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3830 traceframes into tfile and ctf trace files. Read data from
3831 trace file and test collected data.
3832 (gdb_collect_locals_test): Likewise.
3833 (gdb_unavailable_registers_test): Likewise.
3834 (gdb_unavailable_floats): Likewise.
3835 (gdb_collect_globals_test): Likewise.
3836 (top-level): Append "ctf" to trace_file_targets if GDB
3837 supports.
3838
38392014-05-05 Yao Qi <yao@codesourcery.com>
3840
3841 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3842 code to ...
3843 (gdb_collect_args_test_1): ... it. New proc.
3844 (gdb_collect_locals_test): Move some code to ...
3845 (gdb_collect_locals_test_1): ... it. New proc.
3846 (gdb_unavailable_registers_test): Move some code to ...
3847 (gdb_unavailable_registers_test_1): ... it. New proc.
3848 (gdb_unavailable_floats): Move some code to ...
3849 (gdb_unavailable_floats_1): ... it. New proc.
3850
38512014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3852
3853 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3854 probes to test for bitness recognition.
3855 * gdb.arch/amd64-stap-optional-prefix.exp
3856 (test_probe_value_without_reg): New procedure.
3857 Add code to test for different kinds of bitness.
3858
38592014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3860
3861 PR breakpoints/16889
3862 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3863 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3864
38652014-05-01 Pedro Alves <palves@redhat.com>
3866
3867 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3868 gdb_file_cmd if no file is specified.
3869 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3870 last_loaded_file to set the remote exec-file.
3871
38722014-05-01 Pedro Alves <palves@redhat.com>
3873
3874 * boards/local-remote-host.exp: New file.
3875
38762014-05-01 Pedro Alves <palves@redhat.com>
3877
3878 * boards/local-remote-host.exp: Rename to ...
3879 * boards/local-remote-host-notty.exp: ... this.
3880
38812014-04-28 Joel Brobecker <brobecker@adacore.com>
3882
3883 * gdb.ada/dyn_arrayidx: New testcase.
3884
38852014-04-26 Yao Qi <yao@codesourcery.com>
3886
3887 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3888 and compute the length of function main. Save it in
3889 $main_length.
3890 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3891 (top-level): Use gdb_compile to compile objects into
3892 executable and restart GDB. Remove invocation to
3893 prepare_for_testing.
3894
38952014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3896 Pedro Alves <palves@redhat.com>
3897
3898 PR server/16255
3899 * gdb.multi/multi-attach.c: New file.
3900 * gdb.multi/multi-attach.exp: New file.
3901
39022014-04-25 Pedro Alves <palves@redhat.com>
3903
3904 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3905 user.
3906 (top level): Test that "set remote conditional-breakpoints-packet
3907 off" works as intended.
3908 * gdb.base/dprintf.exp: Test that "set remote
3909 breakpoint-commands-packet off" works as intended.
3910 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3911 New function.
3912 (top level): Call it.
3913 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3914 remote fast-tracepoints-packet off" works as intended.
3915 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3916 * lib/gdb.exp (gdb_is_target_remote): ... here.
3917
39182014-04-24 David Blaikie <dblaikie@gmail.com>
3919
3920 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3921 ensure clang would not discard them.
3922 * gdb.base/gdbvars.c: Ditto.
3923 * gdb.base/memattr.c: Ditto.
3924 * gdb.base/whatis.c: Ditto.
3925 * gdb.python/py-prettyprint.c: Ditto.
3926 * gdb.trace/actions.c: Ditto.
3927 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3928 ensure clang would not discard it.
3929
39302014-04-24 David Blaikie <dblaikie@gmail.com>
3931
3932 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3933 clang to emit the full definition of type required by the test
3934 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3935
39362014-04-24 David Blaikie <dblaikie@gmail.com>
3937
3938 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3939 coax Clang into emitting the definition of the type.
3940 * gdb.cp/pr10728-x.h (y): Ditto.
3941 * gdb.cp/pr10728-y.cc (y): Ditto.
3942
39432014-04-24 David Blaikie <dblaikie@gmail.com>
3944
3945 * gdb.base/label.exp: XFAIL label related tests under Clang.
3946 * gdb.cp/cplabel.exp: Ditto.
3947 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3948 under Clang those using labels.
3949
39502014-04-25 Yao Qi <yao@codesourcery.com>
3951
3952 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3953 double_label.
3954 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3955 partial_label and double_label.
3956
39572014-04-24 David Blaikie <dblaikie@gmail.com>
3958
3959 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3960
39612014-04-24 David Blaikie <dblaikie@gmail.com>
3962
3963 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3964 of the function to work across GCC and Clang.
3965 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3966 pointer types (const void ** const V void **).
3967
39682014-04-24 Michael Sturm <michael.sturm@mintel.com>
3969 Walfred Tedeschi <walfred.tedeschi@intel.com>
3970
3971 * Makefile.in (EXECUTABLES): Added i386-avx512.
3972 * gdb.arch/i386-avx512.c: New file.
3973 * gdb.arch/i386-avx512.exp: Likewise.
3974
39752014-04-23 Keith Seitz <keiths@redhat.com>
3976
3977 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3978 (mi_make_breakpoint_table): New procedure.
3979 (mi_create_breakpoint): Use mi_make_breakpoint
3980 and return the result.
3981 (mi_make_breakpoint): New procedure.
3982 (mi_build_kv_pairs): New procedure.
3983
3984 * gdb.mi/mi-break.exp: Remove unused globals,
3985 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3986 All callers updated.
3987 * gdb.mi/mi-dprintf.exp: Use variable to track command
3988 number.
3989 Update all callers of mi_create_breakpoint and use
3990 mi_make_breakpoint_table.
3991 Remove any unused global variables.
3992 * gdb.mi/mi-nonstop.exp: Likewise.
3993 * gdb.mi/mi-nsintrall.exp: Likewise.
3994 * gdb.mi/mi-nsmoribund.exp: Likewise.
3995 * gdb.mi/mi-nsthrexec.exp: Likewise.
3996 * gdb.mi/mi-reverse.exp: Likewise.
3997 * gdb.mi/mi-simplerun.exp: Likewise.
3998 * gdb.mi/mi-stepn.exp: Likewise.
3999 * gdb.mi/mi-syn-frame.exp: Likewise.
4000 * gdb.mi/mi-until.exp: Likewise.
4001 * gdb.mi/mi-var-cp.exp: Likewise.
4002 * gdb.mi/mi-var-display.exp: Likewise.
4003 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4004 * gdb.mi/mi2-var-child.exp: Likewise.
4005 * gdb.mi/mi-vla-c99.exp: Likewise.
4006 * lib/mi-support.exp: Likewise.
4007
4008 From Ian Lance Taylor <iant@cygnus.com>:
4009 * lib/gdb.exp (parse_args): New procedure.
4010
40112014-04-23 Pedro Alves <palves@redhat.com>
4012
4013 * gdb.base/break-unload-file.c: New file.
4014 * gdb.base/break-unload-file.exp: New file.
4015 * gdb.base/sym-file-lib.c (baz): New function.
4016 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4017 field.
4018 (load): Store the segment's mapped size.
4019 (unload): New function.
4020 (unload_shlib): New function.
4021 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4022 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4023 set a breakpoint at baz, and call it.
4024 * gdb.base/sym-file.exp: New tests for stale breakpoint
4025 instructions.
4026
40272014-04-23 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4030 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4031 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4032 * gdb.base/hbreak-unmapped.c: New file.
4033 * gdb.base/hbreak-unmapped.exp: New file.
4034 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4035 * lib/gdb.exp (gdb_is_target_remote): ... here.
4036
40372014-04-22 Pedro Alves <palves@redhat.com>
4038
4039 * gdb.base/consecutive-step-over.c: New file.
4040 * gdb.base/consecutive-step-over.exp: New file.
4041
40422014-04-22 Pedro Alves <palves@redhat.com>
4043
4044 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4045 instead of send_gdb/gdb_expect.
4046
40472014-04-22 Yao Qi <yao@codesourcery.com>
4048
4049 * lib/trace-support.exp (generate_tracefile): New procedure.
4050 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4051 return 0.
4052 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4053 if generate_tracefile returns 1.
4054
40552014-04-18 Tom Tromey <palves@redhat.com>
4056 Pedro alves <tromey@redhat.com>
4057
4058 PR backtrace/15558
4059 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4060 with a backtrace limit.
4061 * gdb.python/py-frame-inline.exp: Test running to an inline
4062 function with a backtrace limit, and printing the newest frame.
4063 * gdb.python/py-frame-inline.c (main): Call f.
4064
40652014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4066
4067 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4068
40692014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4070
4071 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4072 Drop prefix from unsupported source file path.
4073
40742014-04-17 Yao Qi <yao@codesourcery.com>
4075
4076 * lib/gdb.exp (with_target_charset): New proc.
4077 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4078 with_target_charset.
4079 (test_print_strings): Likewise.
4080 (test_repeat_bytes): Likewise.
4081 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4082 for some tests.
4083
40842014-04-16 Keith Seitz <keiths@redhat.com>
4085
4086 PR gdb/15827
4087 * gdb.dwarf2/corrupt.c: New file.
4088 * gdb.dwarf2/corrupt.exp: New file.
4089
40902014-04-16 Keith Seitz <keiths@redhat.com>
4091
4092 PR c++/16597
4093 * gdb.cp/namelessclass.cc: New file.
4094 * gdb.cp/namelessclass.exp: New file.
4095 * gdb.cp/namelessclass.S: New file.
4096
40972014-04-16 Doug Evans <dje@google.com>
4098
4099 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4100 Add comment.
4101 (gdbserver_default_get_comm_port): New function.
4102 (gdbserver_start): Check if board file provided
4103 "gdbserver,get_comm_port" and use it if so.
4104 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4105 (gdb,socketport): Set to "stdio".
4106 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4107 (stdio_gdbserver_template): Delete.
4108 (${board}_get_remote_address): Update.
4109 (${board}_build_remote_cmd): Delete.
4110 (${board}_get_comm_port): New function.
4111 (${board}_spawn): Update.
4112 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4113 Delete.
4114 (${board}_get_remote_address): Update.
4115 (${board}_get_comm_port): New function.
4116
41172014-04-16 Andrew Burgess <aburgess@broadcom.com>
4118
4119 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4120 appearing in any order.
4121
41222014-04-15 Doug Evans <dje@google.com>
4123
4124 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4125 uninitialized value of "description".
4126
41272014-04-15 Keith Seitz <keiths@redhat.com>
4128
4129 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4130 Remove unused globals.
4131 (test_running_the_program): Likewise.
4132 (test_controlled_execution): Likewise.
4133 (test_controlling_breakpoints): Likewise.
4134 (test_program_termination): Likewise.
4135
41362014-04-15 Keith Seitz <keiths@redhat.com>
4137
4138 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4139 unused globals.
4140 (test_rbreak_creation_and_listing): Likewise.
4141 (test_ignore_count): Likewise.
4142 (test_error): Likewise.
4143
41442014-04-15 Pedro Alves <palves@redhat.com>
4145
4146 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4147 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4148 sym-file-loader.c.
4149 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4150 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4151 to sym-file-loader.c.
4152 (struct library): Forward declare.
4153 (load_shlib, lookup_function): Change prototypes.
4154 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4155 (translate_offset): Remove declarations.
4156 (get_text_addr): New declaration.
4157 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4158 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4159 sym-file-loader.h.
4160 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4161 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4162 here from sym-file-loader.h.
4163 (struct library): New structure.
4164 (load_shlib, lookup_function): Change prototypes and adjust to
4165 work with a struct library.
4166 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4167 (translate_offset): Make static.
4168 (get_text_addr): New function.
4169 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4170
41712014-04-15 Pedro Alves <palves@redhat.com>
4172
4173 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4174
41752014-04-15 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.base/sym-file-loader.c: Include <limits.h>.
4178 (SELF_LINK): New define.
4179 (get_origin): New function.
4180 (load_shlib): Use it.
4181 * gdb.base/sym-file.exp: Don't early return if the target is
4182 remote. Use runto_main, and issue fail is that fails. Use
4183 gdb_load_shlibs.
4184 (shlib_name): Delete.
4185 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4186
41872014-04-15 Pedro Alves <palves@redhat.com>
4188
4189 * gdb.base/sym-file.exp: Remove regex characters from test
4190 message. Don't refer to breakpoint numbers in test messages.
4191
41922014-04-14 Keith Seitz <keiths@redhat.com>
4193
4194 PR c++/16253
4195 * gdb.cp/var-tag.cc: New file.
4196 * gdb.cp/var-tag.exp: New file.
4197 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4198 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4199 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4200 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4201
42022014-04-14 Tom Tromey <tromey@redhat.com>
4203
4204 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4205 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4206 type.
4207 * gdb.cp/enum-class.exp: New file.
4208 * gdb.cp/enum-class.cc: New file.
4209
42102014-04-14 Tom Tromey <tromey@redhat.com>
4211
4212 * gdb.dwarf2/enum-type.exp: New file.
4213
42142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4215
4216 * gdb.mi/mi-vla-c99.exp: New file.
4217 * gdb.mi/vla.c: New file.
4218
42192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4220
4221 * gdb.base/vla-datatypes.c: New file.
4222 * gdb.base/vla-datatypes.exp: New file.
4223
42242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4225
4226 * gdb.base/vla-ptr.c: New file.
4227 * gdb.base/vla-ptr.exp: New file.
4228
42292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4230
4231 * gdb.dwarf2/count.exp: New file.
4232
42332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4234
4235 * gdb.base/vla-sideeffect.c: New file.
4236 * gdb.base/vla-sideeffect.exp: New file.
4237
42382014-04-14 David Blaikie <dblaikie@gmail.com>
4239
4240 * gdb.mi/non-stop.c: Add return value for non-void function return
4241 statement.
4242 * gdb.threads/staticthreads.c: Ditto.
4243
42442014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4245 Doug Evans <xdje42@gmail.com>
4246
4247 * gdb.guile/scm-value.c: Improve test case.
4248 * gdb.guile/scm-value.exp: Add new test.
4249
42502014-04-11 David Blaikie <dblaikie@gmail.com>
4251
4252 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4253 override Clang's default.
4254
42552014-04-11 Joel Brobecker <brobecker@adacore.com>
4256
4257 Revert the following changes (regressions):
4258
4259 * gdb.base/vla-sideeffect.c: New file.
4260 * gdb.base/vla-sideeffect.exp: New file.
4261
4262 * gdb.dwarf2/count.exp: New file.
4263
4264 * gdb.base/vla-multi.c: New file.
4265 * gdb.base/vla-multi.exp: New file.
4266
4267 * gdb.base/vla-ptr.c: New file.
4268 * gdb.base/vla-ptr.exp: New file.
4269
4270 * gdb.base/vla-datatypes.c: New file.
4271 * gdb.base/vla-datatypes.exp: New file.
4272
4273 * gdb.mi/mi-vla-c99.exp: New file.
4274 * gdb.mi/vla.c: New file.
4275
42762014-04-11 Keith Seitz <keiths@redhat.com>
4277
4278 PR c++/16675
4279 * gdb.cp/cpsizeof.exp: New file.
4280 * gdb.cp/cpsizeof.cc: New file.
4281
42822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4283
4284 * gdb.mi/mi-vla-c99.exp: New file.
4285 * gdb.mi/vla.c: New file.
4286
42872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4288
4289 * gdb.base/vla-datatypes.c: New file.
4290 * gdb.base/vla-datatypes.exp: New file.
4291
42922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4293
4294 * gdb.base/vla-ptr.c: New file.
4295 * gdb.base/vla-ptr.exp: New file.
4296
42972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4298
4299 * gdb.base/vla-multi.c: New file.
4300 * gdb.base/vla-multi.exp: New file.
4301
43022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4303
4304 * gdb.dwarf2/count.exp: New file.
4305
43062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4307
4308 * gdb.base/vla-sideeffect.c: New file.
4309 * gdb.base/vla-sideeffect.exp: New file.
4310
43112014-04-11 Yao Qi <yao@codesourcery.com>
4312
4313 * gdb.base/completion.exp: Check file exists before running tests
4314 on file completion.
4315
43162014-04-10 Pedro Alves <palves@redhat.com>
4317
4318 * gdb.base/cond-eval-mode.c: New file.
4319 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4320 prepare_for_testing to build the new file. Check result of
4321 runto_main.
4322 (test_break, test_watch): New procedures.
4323 (top level): Use them.
4324
43252014-04-08 Pierre Muller <muller@sourceware.org>
4326
4327 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4328 Ctrl-V use for mingw hosts.
4329
43302014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4331
4332 * gdb.python/py-value.c: Improve test case.
4333 * gdb.python/py-value.exp: Add new test.
4334
43352014-04-07 David Blaikie <dblaikie@gmail.com>
4336
4337 * lib/compiler.c: Identify the clang compiler.
4338 * lib/compiler.cc: Ditto.
4339
43402014-04-03 Yao Qi <yao@codesourcery.com>
4341
4342 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4343
43442014-04-01 Anton Blanchard <anton@samba.org>
4345
4346 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4347 messages unique.
4348
43492014-04-01 Anton Blanchard <anton@samba.org>
4350
4351 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4352 prepare_for_testing.
4353
43542014-04-01 Anton Blanchard <anton@samba.org>
4355
4356 * gdb.arch/ppc64-atomic-inst.c: Remove.
4357 * gdb.arch/ppc64-atomic-inst.S: New file.
4358 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4359
43602014-03-31 Doug Evans <dje@google.com>
4361
4362 * gdb.base/print-symbol-loading-lib.c: New file.
4363 * gdb.base/print-symbol-loading-main.c: New file.
4364 * gdb.base/print-symbol-loading.exp: New file.
4365
43662014-03-31 Yao Qi <yao@codesourcery.com>
4367
4368 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4369
43702014-03-28 Joel Brobecker <brobecker@adacore.com>
4371
4372 * gdb.ada/mi_dyn_arr: New testcase.
4373
43742014-03-27 Doug Evans <dje@google.com>
4375
4376 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4377
43782014-03-27 Yao Qi <yao@codesourcery.com>
4379
4380 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4381 if target is nios2-*-*.
4382
43832014-03-26 Yao Qi <yao@codesourcery.com>
4384
4385 * lib/gdb.exp (readline_is_used): New proc.
4386 * gdb.base/completion.exp: Move tests on command complete up.
4387 Skip the rest of tests if readline is not used.
4388 * gdb.ada/complete.exp: Skp the test if readline is not
4389 used.
4390 * gdb.base/filesym.exp: Likewise.
4391 * gdb.base/macscp.exp: Likewise.
4392 * gdb.base/readline-ask.exp: Likewise.
4393 * gdb.base/readline.exp: Likewise.
4394 * gdb.python/py-cmd.exp: Likewise.
4395 * gdb.trace/tfile.exp: Likewise.
4396
43972014-03-26 Yao Qi <yao@codesourcery.com>
4398
4399 * gdb.base/macscp.exp: Fix code format issues.
4400
44012014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4402
4403 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4404 * gdb.asm/powerpc64le.inc: New file.
4405
44062014-03-25 Pedro Alves <palves@redhat.com>
4407 Doug Evans <dje@google.com>
4408
4409 * gdb.base/source-execution.c: New file.
4410 * gdb.base/source-execution.exp: New file.
4411 * gdb.base/source-execution.gdb: New file.
4412
44132014-03-24 Doug Evans <dje@google.com>
4414
4415 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4416 using fission.
4417
44182014-03-24 Hui Zhu <hui@codesourcery.com>
4419 Pedro Alves <palves@redhat.com>
4420
4421 PR breakpoints/16101
4422 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4423 test pass/fail messages. Detect missing support for dprintf when
4424 breakpoints are actually inserted.
4425 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4426 breakpoints are actually inserted.
4427 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4428 fails.
4429
44302014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4431
4432 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4433
44342014-03-22 Doug Evans <xdje42@gmail.com>
4435
4436 * gdb.python/python.exp (python not supported): Verify multi-line
4437 python command issues an error.
4438 * gdb.guile/guile.exp (guile not supported): Verify multi-line
4439 guile command issues an error.
4440
44412014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4442
4443 * gdb.threads/thread-specific.exp: Handle the lack of usable
4444 $this_breakpoint and $this_thread.
4445
44462014-03-21 Hui Zhu <hui@codesourcery.com>
4447
4448 * gdb.base/attach.exp (do_command_attach_tests): New.
4449
44502014-03-20 Tom Tromey <tromey@redhat.com>
4451 Pedro Alves <palves@redhat.com>
4452
4453 PR cli/15718
4454 * gdb.base/condbreak-call-false.c: New file.
4455 * gdb.base/condbreak-call-false.exp: New file.
4456
44572014-03-20 Pedro Alves <palves@redhat.com>
4458
4459 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4460 Delete.
4461 (block_signals, unblock_signals): Delete.
4462 (child_function_2, main): Remove references to deleted variable
4463 and functions.
4464
44652014-03-20 Pedro Alves <palves@redhat.com>
4466
4467 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4468 Use pthread_kill to signal thread 2.
4469 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4470 Adjust to make the test send itself a signal rather than using the
4471 host's "kill" command.
4472
44732014-03-20 Pedro Alves <palves@redhat.com>
4474
4475 * gdb.threads/multiple-step-overs.c: New file.
4476 * gdb.threads/multiple-step-overs.exp: New file.
4477 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4478 Adjust expected infrun debug output.
4479
44802014-03-20 Pedro Alves <palves@redhat.com>
4481
4482 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4483 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4484
44852014-03-20 Pedro Alves <palves@redhat.com>
4486
4487 PR breakpoints/7143
4488 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4489 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4490 of gdb_test_multiple.
4491 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4492 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4493
44942014-03-20 Pedro Alves <palves@redhat.com>
4495
4496 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4497 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4498
44992014-03-19 Pedro Alves <palves@redhat.com>
4500
4501 * gdb.base/async.exp: Remove early return.
4502
45032014-03-19 Pedro Alves <palves@redhat.com>
4504
4505 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4506
45072014-03-19 Pedro Alves <palves@redhat.com>
4508
4509 * gdb.base/async.exp (test_background): Expect \r\n after
4510 "completed." in the fail pattern.
4511
45122014-03-19 Pedro Alves <palves@redhat.com>
4513
4514 * gdb.base/async.exp (test_background): New procedure.
4515 Use it for all background execution command tests.
4516
45172014-03-19 Pedro Alves <palves@redhat.com>
4518
4519 * gdb.base/async.exp: Use prepare_for_testing.
4520
45212014-03-19 Pedro Alves <palves@redhat.com>
4522
4523 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4524 the same line.
4525
45262014-03-19 Pedro Alves <palves@redhat.com>
4527
4528 * gdb.base/async.c (main): Add "jump here" and "until here" line
4529 marker comments.
4530 * gdb.base/async.exp (jump_here): New global.
4531 (jump& test): Use it.
4532 (until_here): New global.
4533 (until& test): Use it.
4534
45352014-03-19 Pedro Alves <palves@redhat.com>
4536
4537 * gdb.base/async.exp: Don't frob gdb_protocol.
4538
45392014-03-18 Doug Evans <xdje42@gmail.com>
4540
4541 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4542 Fix spelling of exec-done-display.
4543
45442014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4545
4546 PR gdb/15358
4547 * gdb.base/gdb-sigterm.c: New file.
4548 * gdb.base/gdb-sigterm.exp: New file.
4549
45502014-03-18 Pedro Alves <palves@redhat.com>
4551
4552 PR gdb/13860
4553 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4554 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4555 solib-event.
4556
45572014-03-17 Joel Brobecker <brobecker@adacore.com>
4558
4559 * gdb.ada/pckd_arr_ren: New testcase.
4560
45612014-03-13 Doug Evans <xdje42@gmail.com>
4562
4563 PR guile/16612
4564 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4565 collect after discarding symbols.
4566
45672014-03-13 Ludovic Courtès <ludo@gnu.org>
4568 Doug Evans <xdje42@gmail.com>
4569
4570 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4571 to history survives a gc.
4572
45732014-03-13 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.base/default.exp: Don't test "target procfs".
4576
45772014-03-13 Pedro Alves <palves@redhat.com>
4578
4579 * gdb.base/default.exp: Update "target child" and "target procfs"
4580 tests to not expect "Unix".
4581
45822014-03-12 Tom Tromey <tromey@redhat.com>
4583
4584 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4585 New procs. Add target-async tests.
4586 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4587 Add target-async tests.
4588
45892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4590
4591 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4592 'func_start' and 'func_end' for the beginning and end of the
4593 function code, respectively.
4594 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4595 'func_end' instead of 'func' and 'main'.
4596
45972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4598
4599 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4600 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4601 generate the debug info assembler source.
4602
46032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4604
4605 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4606 * gdb.dwarf2/arr-subrange.exp: Likewise.
4607 * gdb.dwarf2/dwz.exp: Likewise.
4608 * gdb.dwarf2/method-ptr.exp: Likewise.
4609 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4610 * gdb.dwarf2/subrange.exp: Likewise.
4611 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4612 * gdb.dwarf2/implptrpiece.exp: Likewise.
4613 * gdb.dwarf2/nostaticblock.exp: Likewise.
4614
46152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4616
4617 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4618 directory to absolute path name arguments.
4619
46202014-03-10 Joel Brobecker <brobecker@adacore.com>
4621
4622 * gdb.ada/tagged_access: New testcase.
4623
46242014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4625
4626 * gdb.btrace/data.exp: Update expected output.
4627
46282014-03-06 Yao Qi <yao@codesourcery.com>
4629
4630 * gdb.trace/pr16508.exp: New file.
4631
46322014-03-05 Pedro Alves <palves@redhat.com>
4633
4634 PR gdb/16575
4635 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4636 procedure.
4637 (top level): Adjust to use it. Add tests that exercise breakpoint
4638 interaction with the code-cache.
4639
46402014-02-26 Ludovic Courtès <ludo@gnu.org>
4641
4642 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4643 test for 'history-append!'.
4644
46452014-02-26 Joel Brobecker <brobecker@adacore.com>
4646
4647 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4648 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4649 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4650 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4651 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4652 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4653
46542014-02-26 Joel Brobecker <brobecker@adacore.com>
4655
4656 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4657 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4658 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4659
46602014-02-26 Joel Brobecker <brobecker@adacore.com>
4661
4662 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4663
46642014-02-26 Joel Brobecker <brobecker@adacore.com>
4665
4666 * gdb.dwarf2/arr-stride.c: New file.
4667 * gdb.dwarf2/arr-stride.exp: New file.
4668
46692014-02-26 Pedro Alves <palves@redhat.com>
4670
4671 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4672 that won't ever trigger. Make sure that GDB reports the correct
4673 breakpoint that caused the stop.
4674
46752014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4676
4677 PR gdb/16626
4678 * gdb.base/auto-load-script: New file.
4679 * gdb.base/auto-load.c: New file.
4680 * gdb.base/auto-load.exp: New file.
4681
4682 PR gdb/16626
4683 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4684
46852014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4686
4687 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4688 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4689
46902014-02-24 Doug Evans <dje@google.com>
4691
4692 * lib/gdb.exp (run_on_host): Log error output if program fails.
4693
46942014-02-21 Pedro Alves <palves@redhat.com>
4695
4696 * gdb.threads/step-after-sr-lock.c: Rename to ...
4697 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4698 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4699 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4700 ... this.
4701
47022014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4703
4704 PR tdep/16397
4705 * gdb.arch/amd64-stap-special-operands.exp: New file.
4706 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4707 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4708 * gdb.arch/amd64-stap-triplet.S: Likewise.
4709 * gdb.arch/amd64-stap-triplet.c: Likewise.
4710
47112014-02-20 Joel Brobecker <brobecker@adacore.com>
4712
4713 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4714 in .section pseudo-op.
4715
47162014-02-20 lin zuojian <manjian2006@gmail.com>
4717 Joel Brobecker <brobecker@adacore.com>
4718 Doug Evans <xdje42@gmail.com>
4719
4720 PR symtab/16581
4721 * gdb.dwarf2/dw2-icycle.S: New file.
4722 * gdb.dwarf2/dw2-icycle.c: New file.
4723 * gdb.dwarf2/dw2-icycle.exp: New file.
4724
47252014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4726
4727 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4728 operations on gdb.Value objects.
4729 * gdb.python/py-value-cc.exp: Add new test to test operations on
4730 gdb.Value objects.
4731
47322014-02-18 Doug Evans <dje@google.com>
4733
4734 * Makefile.in (TESTS): New variable.
4735 (expanded_tests, expanded_tests_or_none): New variables
4736 (check-single): Pass $(expanded_tests_or_none) to runtest.
4737 (check-parallel): Only run tests in $(TESTS) if non-empty.
4738 (check/no-matching-tests-found): New rule.
4739 * README: Document TESTS makefile variable.
4740
47412014-02-18 Doug Evans <dje@google.com>
4742
4743 * Makefile.in (check-parallel): rm -rf outputs temp.
4744
47452014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4746
4747 Fix "ERROR: no fileid for" in the testsuite.
4748 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4749
47502014-02-12 Doug Evans <dje@google.com>
4751
4752 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4753 (MISCELLANEOUS): New variable.
4754 (clean): rm -rf $(MISCELLANEOUS).
4755 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4756 dwp live in the same directory as symlinks, with each symlink pointed
4757 to a differently named file in a different directory.
4758
47592014-02-11 Doug Evans <dje@google.com>
4760
4761 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4762 of Tcl file commands.
4763
47642014-02-10 Mark Kettenis <kettenis@gnu.org>
4765
4766 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4767 "kill -SIGUSR1 -1".
4768
47692014-02-10 Joel Brobecker <brobecker@adacore.com>
4770
4771 * gdb.ada/tick_length_array_enum_idx: New testcase.
4772
47732014-02-10 Doug Evans <xdje42@gmail.com>
4774
4775 * configure.ac (AC_OUTPUT): Add gdb.guile.
4776 * configure: Regenerate.
4777 * lib/gdb-guile.exp: New file.
4778 * lib/gdb.exp (get_target_charset): New function.
4779 * gdb.base/help.exp: Update expected output from "apropos apropos".
4780 * gdb.guile/Makefile.in: New file.
4781 * gdb.guile/guile.exp: New file.
4782 * gdb.guile/scm-arch.c: New file.
4783 * gdb.guile/scm-arch.exp: New file.
4784 * gdb.guile/scm-block.c: New file.
4785 * gdb.guile/scm-block.exp: New file.
4786 * gdb.guile/scm-breakpoint.c: New file.
4787 * gdb.guile/scm-breakpoint.exp: New file.
4788 * gdb.guile/scm-disasm.c: New file.
4789 * gdb.guile/scm-disasm.exp: New file.
4790 * gdb.guile/scm-equal.c: New file.
4791 * gdb.guile/scm-equal.exp: New file.
4792 * gdb.guile/scm-error.exp: New file.
4793 * gdb.guile/scm-error.scm: New file.
4794 * gdb.guile/scm-frame-args.c: New file.
4795 * gdb.guile/scm-frame-args.exp: New file.
4796 * gdb.guile/scm-frame-args.scm: New file.
4797 * gdb.guile/scm-frame-inline.c: New file.
4798 * gdb.guile/scm-frame-inline.exp: New file.
4799 * gdb.guile/scm-frame.c: New file.
4800 * gdb.guile/scm-frame.exp: New file.
4801 * gdb.guile/scm-generics.exp: New file.
4802 * gdb.guile/scm-gsmob.exp: New file.
4803 * gdb.guile/scm-iterator.c: New file.
4804 * gdb.guile/scm-iterator.exp: New file.
4805 * gdb.guile/scm-math.c: New file.
4806 * gdb.guile/scm-math.exp: New file.
4807 * gdb.guile/scm-objfile-script-gdb.in: New file.
4808 * gdb.guile/scm-objfile-script.c: New file.
4809 * gdb.guile/scm-objfile-script.exp: New file.
4810 * gdb.guile/scm-objfile.c: New file.
4811 * gdb.guile/scm-objfile.exp: New file.
4812 * gdb.guile/scm-ports.exp: New file.
4813 * gdb.guile/scm-pretty-print.c: New file.
4814 * gdb.guile/scm-pretty-print.exp: New file.
4815 * gdb.guile/scm-pretty-print.scm: New file.
4816 * gdb.guile/scm-section-script.c: New file.
4817 * gdb.guile/scm-section-script.exp: New file.
4818 * gdb.guile/scm-section-script.scm: New file.
4819 * gdb.guile/scm-symbol.c: New file.
4820 * gdb.guile/scm-symbol.exp: New file.
4821 * gdb.guile/scm-symtab-2.c: New file.
4822 * gdb.guile/scm-symtab.c: New file.
4823 * gdb.guile/scm-symtab.exp: New file.
4824 * gdb.guile/scm-type.c: New file.
4825 * gdb.guile/scm-type.exp: New file.
4826 * gdb.guile/scm-value-cc.cc: New file.
4827 * gdb.guile/scm-value-cc.exp: New file.
4828 * gdb.guile/scm-value.c: New file.
4829 * gdb.guile/scm-value.exp: New file.
4830 * gdb.guile/source2.scm: New file.
4831 * gdb.guile/types-module.cc: New file.
4832 * gdb.guile/types-module.exp: New file.
4833
48342014-02-10 Yao Qi <yao@codesourcery.com>
4835
4836 PR testsuite/16543
4837 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4838 * configure: Regenerated.
4839 * Makefile.in: New file.
4840
48412014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4842
4843 * gdb.python/py-framefilter.exp: Fix typo.
4844
48452014-02-08 Yao Qi <yao@codesourcery.com>
4846
4847 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4848 that no =breakpoint-modified is emitted when breakpoints are
4849 modified through MI commands.
4850
48512014-02-07 Pedro Alves <pedro@codesourcery.com>
4852 Pedro Alves <palves@redhat.com>
4853
4854 * gdb.threads/step-after-sr-lock.c: New file.
4855 * gdb.threads/step-after-sr-lock.exp: New file.
4856
48572014-02-07 Pedro Alves <palves@redhat.com>
4858
4859 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4860
48612014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4862
4863 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4864 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4865
48662014-02-06 Doug Evans <xdje42@gmail.com>
4867
4868 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4869 output.
4870
4871 * gdb.gdb/python-interrupts.exp: New file.
4872
48732014-02-05 Yao Qi <yao@codesourcery.com>
4874
4875 * gdb.trace/report.exp (use_collected_data): Test the output
4876 of "info threads" and "info inferiors".
4877
48782014-02-05 Yao Qi <yao@codesourcery.com>
4879
4880 Revert this patch:
4881
4882 2013-05-24 Yao Qi <yao@codesourcery.com>
4883
4884 * gdb.trace/tfile.exp: Test inferior and thread.
4885
48862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4887
4888 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4889 on a function.
4890 * gdb.base/step-bt.c: Call hello via function pointer to make
4891 sure its first instruction is executed on powerpc64le-linux.
4892
48932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4894
4895 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4896
48972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4898
4899 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4900 of the test patterns for use on little-endian systems.
4901
49022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4903
4904 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4905 (decimal_vector): Fix for little-endian.
4906
49072014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4908
4909 * gdb.arch/sparc-sysstep.exp: New file.
4910 * gdb.arch/sparc-sysstep.c: Likewise.
4911
4912 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4913
49142014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4915
4916 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4917
49182014-01-23 Tom Tromey <tromey@redhat.com>
4919
4920 * gdb.ada/array_char_idx: New testcase.
4921
49222014-01-23 Tom Tromey <tromey@redhat.com>
4923
4924 PR python/16487:
4925 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4926 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4927 classes.
4928
49292014-01-23 Tom Tromey <tromey@redhat.com>
4930
4931 PR python/16491:
4932 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4933 string from an inferior frame.
4934 * gdb.python/py-framefilter-mi.exp: Update.
4935
49362014-01-22 Doug Evans <dje@google.com>
4937
4938 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4939
49402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4941
4942 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4943
49442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4945
4946 * gdb.trace/entry-values.exp: Remove excess space character from
4947 regex patterns. Handle s390 call instruction.
4948
49492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4950
4951 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4952 define "*_start" label. Make "name" static.
4953 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4954 ${name} by references to ${name}_start.
4955
49562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4957
4958 * gdb.base/info-macros.exp: Remove "debug" from the compile
4959 options.
4960
49612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4962
4963 * gdb.dlang/demangle.exp: New file.
4964
49652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4966
4967 * gdb.dlang/primitive-types.exp: New file.
4968
49692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4970
4971 * configure.ac: Create gdb.dlang/Makefile.
4972 * configure: Regenerate.
4973 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4974 * gdb.dlang/Makefile.in: New file.
4975 * lib/d-support.exp: New file.
4976 * lib/gdb.exp (skip_d_tests): New proc.
4977
49782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4979
4980 * gdb.btrace/delta.exp: Check reverse stepi.
4981 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4982 * gdb.btrace/finish.exp: New.
4983 * gdb.btrace/next.exp: New.
4984 * gdb.btrace/nexti.exp: New.
4985 * gdb.btrace/record_goto.c: Add comments.
4986 * gdb.btrace/step.exp: New.
4987 * gdb.btrace/stepi.exp: New.
4988 * gdb.btrace/multi-thread-step.c: New.
4989 * gdb.btrace/multi-thread-step.exp: New.
4990 * gdb.btrace/rn-dl-bind.c: New.
4991 * gdb.btrace/rn-dl-bind.exp: New.
4992 * gdb.btrace/data.c: New.
4993 * gdb.btrace/data.exp: New.
4994 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4995
49962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4997
4998 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4999 * gdb.btrace/exception.exp: Update.
5000 * gdb.btrace/instruction_history.exp: Update.
5001 * gdb.btrace/record_goto.exp: Update.
5002 * gdb.btrace/tailcall.exp: Update.
5003 * gdb.btrace/unknown_functions.exp: Update.
5004 * gdb.btrace/delta.exp: New.
5005
50062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5007
5008 * gdb.btrace/record_goto.exp: Add backtrace test.
5009 * gdb.btrace/tailcall.exp: Add backtrace test.
5010
50112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5012
5013 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5014 * gdb.btrace/record_goto.c: New.
5015 * gdb.btrace/record_goto.exp: New.
5016 * gdb.btrace/x86-record_goto.S: New.
5017
50182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5019
5020 * gdb.btrace/function_call_history.exp: Update tests.
5021 * gdb.btrace/instruction_history.exp: Update tests.
5022
50232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5024
5025 * gdb.btrace/function_call_history.exp: Fix expected field
5026 order for "record function-call-history".
5027 Add new tests for "record function-call-history /c".
5028 * gdb.btrace/exception.cc: New.
5029 * gdb.btrace/exception.exp: New.
5030 * gdb.btrace/tailcall.exp: New.
5031 * gdb.btrace/x86-tailcall.S: New.
5032 * gdb.btrace/x86-tailcall.c: New.
5033 * gdb.btrace/unknown_functions.c: New.
5034 * gdb.btrace/unknown_functions.exp: New.
5035 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5036
50372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5038
5039 * gdb.btrace/instruction_history.exp: Update.
5040 * gdb.btrace/function_call_history.exp: Update.
5041
50422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5043
5044 * gdb.btrace/function_call_history.exp: Fix expected function
5045 trace.
5046 * gdb.btrace/instruction_history.exp: Initialize traced.
5047 Remove traced_functions.
5048
50492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5050
5051 * gdb.btrace/function_call_history.exp: Update
5052 * gdb.btrace/instruction_history.exp: Update.
5053
50542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5055
5056 * gdb.btrace/enable.exp: Update expected text.
5057
50582014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5059
5060 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5061 bytes.
5062
50632014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5064
5065 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5066
50672014-01-15 Omair Javaid <omair.javaid@linaro.org>
5068
5069 * lib/gdb.exp (supports_process_record): Return true for
5070 arm*-linux*. (supports_reverse): Likewise.
5071
50722014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5073
5074 PR python/15464
5075 PR python/16113
5076 * gdb.python/py-type.c: Enhance test case.
5077 * gdb.python/py-value-cc.cc: Likewise
5078 * gdb.python/py-type.exp: Add new tests.
5079 * gdb.python/py-value-cc.exp: Likewise
5080
50812014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5082 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5085 Make "name" extern.
5086 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5087 references to ${name}_start by references to ${name}.
5088
50892014-01-10 Joel Brobecker <brobecker@adacore.com>
5090
5091 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5092
50932014-01-10 Joel Brobecker <brobecker@adacore.com>
5094
5095 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5096
50972014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5098 Pedro Alves <palves@redhat.com>
5099
5100 * gdb.mi/mi-info-os.exp: Connect to the target with
5101 mi_gdb_target_load.
5102
51032014-01-08 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.threads/reconnect-signal.c: New file.
5106 * gdb.threads/reconnect-signal.exp: New file.
5107
51082014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5109
5110 * gdb.base/source-dir.exp: New file.
5111
51122014-01-07 Joel Brobecker <brobecker@adacore.com>
5113
5114 * gdb.ada/mi_interface: New testcase.
5115
51162014-01-07 Joel Brobecker <brobecker@adacore.com>
5117
5118 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5119 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5120 gdb.ada/pp-rec-component/pck.ads: New files.
5121
51222014-01-07 Joel Brobecker <brobecker@adacore.com>
5123
5124 * gdb.python/py-pp-integral.c: New file.
5125 * gdb.python/py-pp-integral.py: New file.
5126 * gdb.python/py-pp-integral.exp: New file.
5127
5128For older changes see ChangeLog-1993-2013.
5129\f
5130;; Local Variables:
5131;; mode: change-log
5132;; left-margin: 8
5133;; fill-column: 74
5134;; version-control: never
5135;; End:
5136
5137 Copyright 2014-2015 Free Software Foundation, Inc.
5138 Copying and distribution of this file, with or without modification,
5139 are permitted provided the copyright notice and this notice are preserved.