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