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