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