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