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