Non bit-packed packed arrays as variable-length fields
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
931e5bc3
JG
12015-05-15 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.ada/byte_packed_arr: New testcase.
4
9cd4d857
JB
52015-05-15 Joel Brobecker <brobecker@adacore.com>
6
7 * gdb.ada/pckd_neg: New testcase.
8
ebfd00d2
PP
92015-05-13 Patrick Palka <patrick@parcs.ath.cx>
10
11 PR gdb/17820
12 * gdb.base/gdbinit-history.exp: New test.
13 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15
4c082a81
SC
162015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17
18 * gdb.python/py-xmethods.cc: Enhance test case.
19 * gdb.python/py-xmethods.exp: New tests.
20 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
21 function.
22 (B_indexoper): Likewise.
23 (global_dm_list) : Add new xmethod worker functions.
24
f7797074
SDJ
252015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
26
27 * gdb.base/coredump-filter.exp: Correctly unset
28 "coredump_var_addr" array.
29
a4674e4e
PA
302015-05-08 Pedro Alves <palves@redhat.com>
31
32 * gdb.server/non-existing-program.exp: Unset spawn_id.
33
df2eb078
SC
342015-05-08 Siva Chandra Reddy <sivachandra@google.com>
35
36 PR python/18291
37 * gdb.python/py-xmethods.exp: Add tests.
38
422349a3
YQ
392015-05-08 Yao Qi <yao.qi@linaro.org>
40
41 PR gdb/18208
42 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
43 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
44 function set_coredump_filter, and remove remote_exec call.
45 Remove argument ipid. Callers update.
46 (top level): Don't get inferior's PID.
47
63fc80ce
AA
482015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
49
50 * gdb.base/watch_thread_num.exp: Skip test on targets without
51 access watchpoints.
52
80ad801e
PA
532015-05-06 Pedro Alves <palves@redhat.com>
54
55 PR server/18081
56 * gdb.server/non-existing-program.exp: New file.
57
0fa7fe50
JB
582015-05-05 Joel Brobecker <brobecker@adacore.com>
59
60 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
61
3ea89b92
PMR
622015-05-05 Joel Brobecker <brobecker@adacore.com>
63
64 * gdb.ada/out_of_line_in_inlined: New testcase.
65
87b8eff0
JB
662015-05-05 Joel Brobecker <brobecker@adacore.com>
67
68 * gdb.ada/var_rec_arr: New testcase.
69
5fccc635
YQ
702015-04-30 Yao Qi <yao.qi@linaro.org>
71
72 * gdb.base/break-idempotent.exp: If
73 skip_hw_watchpoint_multi_tests returns true, skip the tests
74 on "rwatch" and "awatch".
75
42d38f42
YQ
762015-04-30 Yao Qi <yao.qi@linaro.org>
77
78 * gdb.base/relativedebug.exp: Invoke gdb command
79 "info sharedlibrary", and if libc.so doesn't have debug info,
80 skip the test.
81
2ce1cdbf
DE
822015-04-29 Doug Evans <dje@google.com>
83
84 * gdb.python/py-xmethods.exp: Add ptype tests.
85 * gdb.python/py-xmethods.py (E_method_char_worker): Add
86 get_result_type method.
87
f24a38c5
LM
882015-04-29 Luis Machado <lgustavo@codesourcery.com>
89
90 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
91 the target does not support hardware watchpoints.
92
ecbf2b3c
LM
932015-04-29 Luis Machado <lgustavo@codesourcery.com>
94
95 * gdb.base/break-always.exp: Abort testing if writing to memory
96 causes an error.
97
34f5f757
DE
982015-04-28 Doug Evans <dje@google.com>
99
100 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
101 * gdb.python/py-pp-registration.exp: ... here. New file.
102 * gdb.python/py-pp-registration.c: New file.
103 * gdb.python/py-pp-registration.py: New file.
104
69b4374a
DE
1052015-04-28 Doug Evans <dje@google.com>
106
107 * gdb.python/py-bad-printers.c: New file.
108 * gdb.python/py-bad-printers.py: New file.
109 * gdb.python/py-bad-printers.exp: New file.
110
59fb7612
SS
1112015-04-28 Sasha Smundak <asmundak@google.com>
112
113 * gdb.python/py-type.exp: New test.
114
2631b16a
AW
1152015-04-28 Andy Wingo <wingo@igalia.com>
116
117 * gdb.python/py-parameter.exp:
118 * gdb.guile/scm-parameter.exp: Escape the path that we are
119 matching against, as it might contain characters that are special
120 to regular expressions.
121
460efde1
JB
1222015-04-27 Joel Brobecker <brobecker@adacore.com>
123
124 * gdb.ada/rec_comp: New testcase.
125
2d369d8e
SDJ
1262015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
127
128 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
129 before using it.
130
cf75d6c3
AB
1312015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
132
133 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
134 new tests for verilog output.
135
8dbe7ca5
YQ
1362015-04-24 Yao Qi <yao.qi@linaro.org>
137
138 * boards/remote-gdbserver-on-localhost.exp: New file.
139
4ef9fb2f
PA
1402015-04-23 Pedro Alves <palves@redhat.com>
141
142 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
143 $inferior_spawn_id instead of $inferior_spawn_id directly. On
144 "end of file", remove $inferior_spawn_id from the indirect list.
145
0a803169
PA
1462015-04-23 Pedro Alves <palves@redhat.com>
147
148 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
149
749ef8f8
PA
1502015-04-23 Pedro Alves <palves@redhat.com>
151
152 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
153 on $any_spawn_id instead of only on $gdb_spawn_id.
154
8aae4344
PM
1552015-04-21 Pierre Muller <muller@sourceware.org>
156
157 PR pascal/17815
158 * lib/pascal.exp (gpc_compile): Add new option "class".
159 (fpc_compile): Likewise.
160 * gdb.pascal/case-insensitive-symbols.pas: New file.
161 * gdb.pascal/case-insensitive-symbols.exp: New file.
162
1586c8fb
GB
1632015-04-20 Gary Benson <gbenson@redhat.com>
164
165 * gdb.base/attach.exp: Fix three extended remote failures.
166
1b6e6f5c
GB
1672015-04-17 Gary Benson <gbenson@redhat.com>
168
169 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
170 the main executable over the remote protocol.
171
e797481d
PA
1722015-04-16 Pedro Alves <palves@redhat.com>
173
174 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
175 a new gdbserver if gdbserver_reconnect_p is set.
176
1ca99c42
PA
1772015-04-16 Pedro Alves <palves@redhat.com>
178
179 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
180 is set, don't exit gdbserver.
181
af9fd6f8
AA
1822015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
183
184 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
185 appropriate .insn, such that an older assembler can be used.
186 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
187 the z/Architecture instruction set on 31-bit targets as well.
188
04ff1e61
AA
1892015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
190
191 * gdb.go/handcall.exp: Remove all logic related to the first
192 breakpoint and rely on go_runto_main instead.
193 * gdb.go/strings.exp: Likewise.
194 * gdb.go/unsafe.exp: Likewise.
195 * gdb.go/hello.exp: Likewise. Also rename the remaining
196 breakpoint marker to "breakpoint 1".
197 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
198 * gdb.go/strings.go: Likewise.
199 * gdb.go/unsafe.go: Likewise.
200 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
201 "set breakpoint 2 here" and rename the remaining breakpoint marker
202 to "breakpoint 1".
203
40d2f8d6
SM
2042015-04-15 Simon Marchi <simon.marchi@ericsson.com>
205
206 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
207 if itertools.imap is not present.
208 * gdb.python/py-objfile.exp: Add parentheses.
209 * gdb.python/py-type.exp: Same.
210 * gdb.python/py-unwind-maint.py: Same.
211
8cbc97c6
YQ
2122015-04-15 Yao Qi <yao.qi@linaro.org>
213
214 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
215 of ":$ptr_size" and set its form explicitly.
216
45fd756c
YQ
2172015-04-15 Pedro Alves <palves@redhat.com>
218 Yao Qi <yao.qi@linaro.org>
219
220 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
221 timeout by factor of 4.
222 (test_regular_watch): Likewise.
223 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
224 * gdb.reverse/sigall-reverse.exp: Likewise.
225 * gdb.reverse/until-precsave.exp: Likewise.
226 * lib/gdb.exp (with_timeout_factor): New proc.
227 (gdb_expect): Move some code to ...
228 (get_largest_timeout): ... here. New procedure.
229
9e811bc3
LM
2302015-04-14 Luis Machado <lgustavo@codesourcery.com>
231
232 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
233
0ff6fcb2
LM
2342015-04-13 Luis Machado <lgustavo@codesourcery.com>
235
236 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
237 to write to the .text section.
238
7578d5f7
LM
2392015-04-13 Luis Machado <lgustavo@codesourcery.com>
240
241 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
242 Handle the case of targets that do not provide PID information.
243
2efe15c4
YQ
2442015-04-13 Yao Qi <yao.qi@linaro.org>
245
246 * lib/gdbserver-support.exp (gdb_exit): Catch exception
247 and use expect instead of gdb_expect.
248
8cd8f2f8
SDJ
2492015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
250
251 * gdb.base/coredump-filter.exp: Rename variable "addr" to
252 "coredump_var_addr" to avoid naming conflict with other testcases.
253
9ee41772
PA
2542015-04-10 Pedro Alves <palves@redhat.com>
255
256 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
257 gdb_test_sequence and gdb_assert.
258
07473109
PA
2592015-04-10 Pedro Alves <palves@redhat.com>
260
261 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
262 test messages that don't include the breakpoint address.
263
de3db44c
YQ
2642015-04-10 Yao Qi <yao.qi@linaro.org>
265
266 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
267 false for some offset and width combinations which aren't
268 supported by linux kernel.
269
c79d856c
PA
2702015-04-10 Pedro Alves <palves@redhat.com>
271
272 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
273 procedure, factored out from ...
274 (top level): ... here. Add "set displaced-stepping" testing axis.
275 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
276 parameter "displaced". Use it.
277 (top level): Use foreach and add "set displaced-stepping" testing
278 axis.
279
ebc90b50
PA
2802015-04-10 Pedro Alves <palves@redhat.com>
281
282 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
283 Remove comment.
284 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
285 both the address of the instruction that triggers the watchpoint
286 and the address of the instruction immediately after, and use
287 those addresses for the test. Fix comment.
288
8f572e5c
PA
2892015-04-10 Pedro Alves <palves@redhat.com>
290
291 * gdb.base/sigstep.exp (breakpoint_to_handler)
292 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
293 Test "backtrace" in handler.
294 (breakpoint_over_handler): New parameter 'displaced'. Use it.
295 (top level): Add new "displaced" test axis to
296 breakpoint_to_handler, breakpoint_to_handler_entry and
297 breakpoint_over_handler.
298
8d707a12
PA
2992015-04-10 Pedro Alves <palves@redhat.com>
300
301 PR gdb/18216
302 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
303
ef713951
YQ
3042015-04-10 Yao Qi <yao.qi@linaro.org>
305
306 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
307 (test_add_rn_pc): New function.
308 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
309 (top level): Invoke test_add_rn_pc.
310
906d60cf
PA
3112015-04-10 Pedro Alves <palves@redhat.com>
312
313 PR gdb/13858
314 * gdb.base/step-over-no-symbols.exp: New file.
315
f2983cc3
AW
3162015-04-09 Andy Wingo <wingo@igalia.com>
317
318 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
319 after the Python tests.
320
6d62641c
SDJ
3212015-04-08 Keith Seitz <keiths@redhat.com>
322
323 PR python/16699
324 * gdb.python/py-completion.exp: New tests for completion.
325 * gdb.python/py-completion.py (CompleteLimit1): New class.
326 (CompleteLimit2): Likewise.
327 (CompleteLimit3): Likewise.
328 (CompleteLimit4): Likewise.
329 (CompleteLimit5): Likewise.
330 (CompleteLimit6): Likewise.
331 (CompleteLimit7): Likewise.
332
f3770638
PA
3332015-04-08 Pedro Alves <palves@redhat.com>
334
335 PR gdb/18214
336 PR gdb/18216
337 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
338 function.
339 (main): Install it as SIGUSR1 handler.
340 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
341 parameter. Always use "setup" as prefix. Toggle "set
342 displaced-stepping" off/on depending on global. Don't switch to
343 thread 1 here.
344 (top level): Add displaced stepping "off/on" test axis. Update
345 "setup" calls. Wrap each subtest with with_test_prefix. Test
346 continuing with a queued signal in each thread.
347
4496bed7
PA
3482015-04-08 Pedro Alves <palves@redhat.com>
349
350 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
351 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
352 gdb_breakpoint instead of gdb_test that doesn't expect anything.
353 Return early if running to main fails.
354 * gdb.trace/while-stepping.exp: Likewise.
355
b97fde92
PA
3562015-04-07 Pedro Alves <palves@redhat.com>
357
358 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
359 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
360 interact with inferior program.
361
f71c18e7
PA
3622015-04-07 Pedro Alves <palves@redhat.com>
363
364 * lib/gdb.exp (inferior_spawn_id): New global.
365 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
366 spawn id after processing the user code.
367 (default_gdb_start): Set inferior_spawn_id.
368 (send_inferior): New procedure.
369 * lib/gdbserver-support.exp (gdbserver_start): Set
370 inferior_spawn_id.
371 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
372
6423214f
PA
3732015-04-07 Pedro Alves <palves@redhat.com>
374
375 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
376 * lib/gdbserver-support.exp (gdbserver_start): Make
377 $server_spawn_id global.
378 (gdbserver_start): Don't wait for gdbserver's spawn id with
379 expect_background.
380 (close_gdbserver): New procedure.
381 (gdb_exit): Rename the default version and reimplement.
382
71c0ee8c
PA
3832015-04-07 Pedro Alves <palves@redhat.com>
384
385 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
386 append the substituted item, not the original item.
387
203bc29b
PA
3882015-04-07 Pedro Alves <palves@redhat.com>
389
390 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
391 gdb_expect.
392
508a3ddf
PA
3932015-04-07 Pedro Alves <palves@redhat.com>
394
395 * gdb.base/interrupt.exp: Don't handle the case of the inferior
396 output appearing once only.
397
9f6dbe2b
PA
3982015-04-07 Pedro Alves <palves@redhat.com>
399
400 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
401 that doesn't expect anything. Return early if running to main
402 fails.
403
337532fa
YQ
4042015-04-07 Yao Qi <yao.qi@linaro.org>
405
406 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
407 (child_function): Call alarm.
408 (main): Move call to alarm into the loop.
409 * gdb.threads/non-stop-fair-events.exp: Build program with
410 -DTIMEOUT=$timeout.
411
01b622d4
DE
4122015-04-06 Doug Evans <xdje42@gmail.com>
413
414 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
415 Fix dest parameter to board_info.
416 (fpc_compile): Ditto.
417 (gdb_compile_pascal): Rename dest arg to destfile.
418
961f4160
PMR
4192015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
420
421 * gdb.ada/funcall_ref.exp: New file.
422 * gdb.ada/funcall_ref/foo.adb: New file.
423
cafda597
YQ
4242015-04-02 Yao Qi <yao.qi@linaro.org>
425
426 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
427 is remote.
428
fed040c6
GB
4292015-04-02 Gary Benson <gbenson@redhat.com>
430
431 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
432
d11916aa
SS
4332015-04-01 Sasha Smundak <asmundak@google.com>
434
435 * gdb.python/py-unwind-maint.c: New file.
436 * gdb.python/py-unwind-maint.exp: New test.
437 * gdb.python/py-unwind-maint.py: New file.
438 * gdb.python/py-unwind.c: New file.
439 * gdb.python/py-unwind.exp: New test.
440 * gdb.python/py-unwind.py: New test.
441
a1471180
PA
4422015-04-01 Pedro Alves <palves@redhat.com>
443
444 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
445 to fail instead of non-existent $test.
446
0bbeccb1
PA
4472015-04-01 Pedro Alves <palves@redhat.com>
448
449 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
450 GDBFLAGS if not empty.
451
3c724c8c
PMR
4522015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
453
454 * gdb.ada/complete.exp: Remove "multi_line".
455 * gdb.ada/info_exc.exp: Remove "multi_line".
456 * gdb.ada/packed_tagged.exp: Remove "multi_line".
457 * gdb.ada/ptype_field.exp: Remove "multi_line".
458 * gdb.ada/sym_print_name.exp: Remove "multi_line".
459 * gdb.ada/tagged.exp: Remove "multi_line".
460 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
461 [multi_line ...]
462 * gdb.btrace/delta.exp: Likewise.
463 * gdb.btrace/exception.exp: Likewise.
464 * gdb.btrace/function_call_history.exp: Likewise.
465 * gdb.btrace/instruction_history.exp: Likewise.
466 * gdb.btrace/nohist.exp: Likewise.
467 * gdb.btrace/record_goto.exp: Likewise.
468 * gdb.btrace/segv.exp: Likewise.
469 * gdb.btrace/stepi.exp: Likewise.
470 * gdb.btrace/tailcall.exp: Likewise.
471 * gdb.btrace/unknown_functions.exp: Likewise.
472 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
473 * lib/gdb.exp: Add the "multi_line" helper.
474
4eec2deb
PA
4752015-04-01 Pedro Alves <palves@redhat.com>
476
477 * gdb.threads/tid-reuse.c: New file.
478 * gdb.threads/tid-reuse.exp: New file.
479
df8411da
SDJ
4802015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
481
482 PR corefiles/16092
483 * gdb.base/coredump-filter.c: New file.
484 * gdb.base/coredump-filter.exp: Likewise.
485
6ef37366
PM
4862015-03-27 Petr Machata <pmachata@redhat.com>
487
488 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
489 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
490 (Dwarf::assemble): Initialize them.
491 (Dwarf::lines): New function.
492
7ec911b0
JT
4932015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
494
495 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
496 SYMBOL_PREFIX for x86_64-*-cygwin.
497
ff908ebf
AW
4982015-03-26 Andy Wingo <wingo@igalia.com>
499
500 PR symtab/18148
501 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
502 const_value but not a location.
503 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
504 location defined in non-main CUs are visible.
505
6d5f0679
YQ
5062015-03-26 Yao Qi <yao.qi@linaro.org>
507
508 PR testsuite/18139
509 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
510 Add a line number entry for the same line.
511 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
512 Add a line number entry for the same line.
513
2898689b
YQ
5142015-03-26 Yao Qi <yao.qi@linaro.org>
515
516 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
517 .int 0.
518 (func): Likewise. Add .Lfunc_1 label.
519 Use .Lfunc_1 label.
520 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
521 .int 0.
522 (func): Likewise.
523 Use .Lfunc_1 label.
524
85180498
YQ
5252015-03-26 Yao Qi <yao.qi@linaro.org>
526
527 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
528 Call gdb_compile instead to compile each .s files without debug
529 information.
530
8aa08a8d
YQ
5312015-03-26 Yao Qi <yao.qi@linaro.org>
532
533 * gdb.base/savedregs.exp (process_saved_regs): Make
534 "Saved registers:" optional in the pattern.
535
66849923
MM
5362015-03-25 Markus Metzger <markus.t.metzger@intel.com>
537
538 * gdb.btrace/next.exp: Merged into step.exp.
539 * gdb.btrace/finish.exp: Merged into step.exp.
540 * gdb.btrace/nexti.exp: Merged into stepi.exp.
541 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
542 "record goto" and checking the exact replay position.
543 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
544 check for "Recording format" in "info record" output.
545 * gdb.btrace/record_goto.exp: Choose test file based on target.
546 * gdb.btrace/x86-record_goto.S: Renamed into ...
547 * gdb.btrace/x86_64-record_goto.S: ... this.
548 * gdb.btrace/i686-record_goto.S: New.
549 * gdb.btrace/x86-tailcall.S: Renamed into ...
550 * gdb.btrace/x86_64-tailcall.S: ... this.
551 * gdb.btrace/i686-tailcall.S: New.
552 * gdb.btrace/x86-tailcall.c: Renamed into ...
553 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
554 separate statements. Update test.
555 * gdb.btrace/delta.exp: Use record_goto.c as test file.
556 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
557 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
558 * gdb.btrace/tailcall.exp: Choose test file based on target.
559 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
560
11cc1b74
MM
5612015-03-25 Markus Metzger <markus.t.metzger@intel.com>
562
563 * gdb.btrace/exception.exp: Increase BTS buffer size.
564
a25d8bf9
PA
5652015-03-24 Pedro Alves <palves@redhat.com>
566
567 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
568
856e7dd6
PA
5692015-03-24 Pedro Alves <palves@redhat.com>
570
571 * gdb.threads/schedlock.exp (test_step): No longer expect that
572 "set scheduler-locking step" with "next" over a function call runs
573 threads unlocked.
574
ad235a41
AT
5752015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
576
577 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
578
15630549
AT
5792015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
580
581 PR breakpoints/16466
582 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
583 * gdb.mi/mi-pending.c (thread_func): New function.
584 (int main): Add threading support required.
585 * gdb.mi/mi-pending.exp: Add tests for this issue.
586 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
587 (pendfunc2): Remove stdio dependency.
588 * gdb.mi/mi-pendshr2.c: New file.
589
693dca06
KS
5902015-03-23 Keith Seitz <keiths@redhat.com>
591
592 * gdb.linespec/keywords.c: New file.
593 * gdb.linespec/keywords.exp: New file.
594
7e993ebf
KS
5952015-03-23 Keith Seitz <keiths@redhat.com>
596
597 PR gdb/18021
598 * gdb.dwarf2/staticvirtual.exp: New test.
599
bc23328c
JK
6002015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
601
602 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
603 * README: Remove HP-UX and gdb.hp.
604 (configuration):
605 * configure: Regenerate.
606 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
607 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
608 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
609 gdb.hp/gdb.defects/Makefile.
610 * gdb.hp/Makefile.in: File deleted.
611 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
612 * gdb.hp/gdb.aCC/optimize.c: File deleted.
613 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
614 * gdb.hp/gdb.aCC/run.c: File deleted.
615 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
616 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
617 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
618 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
619 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
620 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
621 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
622 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
623 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
624 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
625 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
626 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
627 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
628 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
629 * gdb.hp/gdb.base-hp/reg.s: File deleted.
630 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
631 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
632 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
633 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
634 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
635 * gdb.hp/gdb.compat/Makefile.in: File deleted.
636 * gdb.hp/gdb.compat/average.c: File deleted.
637 * gdb.hp/gdb.compat/sum.c: File deleted.
638 * gdb.hp/gdb.compat/xdb.c: File deleted.
639 * gdb.hp/gdb.compat/xdb0.c: File deleted.
640 * gdb.hp/gdb.compat/xdb0.h: File deleted.
641 * gdb.hp/gdb.compat/xdb1.c: File deleted.
642 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
643 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
644 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
645 * gdb.hp/gdb.defects/Makefile.in: File deleted.
646 * gdb.hp/gdb.defects/bs14602.c: File deleted.
647 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
648 * gdb.hp/gdb.defects/solib-d.c: File deleted.
649 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
650 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
651 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
652 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
653 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
654 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
655 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
656 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
657 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
658 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
659 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
660 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
661 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
662 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
663 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
664 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
665 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
666 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
667 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
668 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
669 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
670 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
671 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
672 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
673 * gdb.hp/tools/odump: File deleted.
674
8bf3b159
PA
6752015-03-19 Pedro Alves <palves@redhat.com>
676
677 * gdb.threads/continue-pending-status.exp (saw_thread_2)
678 (saw_thread_3): New globals.
679 (top level): Increment them when an event for the corresponding
680 thread is seen.
681 (no thread starvation): New test.
682
eb54c8bf
PA
6832015-03-19 Pedro Alves <palves@redhat.com>
684
685 * gdb.threads/continue-pending-status.c: New file.
686 * gdb.threads/continue-pending-status.exp: New file.
687
32d2e5d6
PA
6882015-03-18 Pedro Alves <palves@redhat.com>
689
690 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
691 Use gdb_is_target_remote instead of is_remote. Use
692 gdb_test_multiple instead of gdb_expect. Exit early if
693 gdb_test_multiple hits its internal matches. Tighten stepi tests
694 expected output. Fail on exit with any signal, instead of just
695 SIGILL.
696
f68f11b7
YQ
6972015-03-18 Yao Qi <yao.qi@linaro.org>
698
699 PR tdep/18107
700 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
701 variable.
702 * gdb.base/catch-syscall.exp: Don't skip it on
703 aarch64*-*-linux* target. Remove elements in all_syscalls.
704 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
705 target.
706 (setup_all_syscalls): New proc.
707
ca5fd19b
YQ
7082015-03-16 Yao Qi <yao.qi@linaro.org>
709
710 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
711 (top level): Skip tests if valid_addr_p returns false for
712 $cmd1 or $cmd2.
713
85642ba0
AW
7142015-03-11 Andy Wingo <wingo@igalia.com>
715
716 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
717
e03f9645
YQ
7182015-03-11 Yao Qi <yao.qi@linaro.org>
719
720 * gdb.base/catch-syscall.exp: Fix typo in comments.
721
5d0962b2
YQ
7222015-03-11 Yao Qi <yao.qi@linaro.org>
723
724 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
725
b2df3cef
PA
7262015-03-09 Pedro Alves <palves@redhat.com>
727
728 * dg-extract-results.py: Delete.
729
ef878e53
PA
7302015-03-09 Pedro Alves <palves@redhat.com>
731
732 Merge dg-extract-results.sh from GCC upstream (r218843).
733
734 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
735 * dg-extract-results.sh: Use --text with grep to avoid issues with
736 binary files. Fall back to cat -v, if that doesn't work.
737
9494d219
PA
7382015-03-05 Pedro Alves <palves@redhat.com>
739
740 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
741
a8d9763a
SM
7422015-03-04 Simon Marchi <simon.marchi@ericsson.com>
743
744 * lib/mi-support.exp (mi_expect_interrupt): Accept
745 alternative event for when in all-stop mode.
746
be9957b8
PA
7472015-03-04 Pedro Alves <palves@redhat.com>
748
749 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
750
d57be0f4 7512015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
752
753 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
754
c214c7cf
AA
7552015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
756
757 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
758 regexps for GDB's current line display, accept a hex address
759 preceding the line number.
760
6d74a497
AA
7612015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
762
763 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
764 the 'arch1' variable for "s390*-linux*" targets.
765
511aee7c
PA
7662015-03-04 Pedro Alves <palves@redhat.com>
767
768 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
769 (main): Pass missing retval argument to pthread_join call.
770
95e50b27
PA
7712015-03-02 Pedro Alves <palves@redhat.com>
772
773 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
774 (top level): Call do_test with non-stop as well.
775
28054d69
PA
7762015-03-02 Pedro Alves <palves@redhat.com>
777
778 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
779 -1.
780
4fa5d7b4
AA
7812015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
782
783 * gdb.arch/s390-vregs.exp: New test.
784 * gdb.arch/s390-vregs.S: New file.
785
97c18565
PA
7862015-02-27 Pedro Alves <palves@redhat.com>
787
788 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
789 call to catch_command_errors.
790 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
791 catch_command_errors.
792
a37bfa30
PA
7932015-02-27 Pedro Alves <palves@redhat.com>
794
795 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
796 "true" for boolean result.
797 * gdb.gdb/selftest.exp (test_with_self): Also accept full
798 prototype of main.
799
6f98576f
PA
8002015-02-27 Pedro Alves <palves@redhat.com>
801
802 * lib/unbuffer_output.c: New file.
803 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
804 (main): Call gdb_unbuffer_output.
805
eba5ab56
YQ
8062015-02-27 Yao Qi <yao.qi@linaro.org>
807
808 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
809 target.
810
0def5aaa
DE
8112015-02-26 Doug Evans <dje@google.com>
812
813 * gdb.cp/class2.cc (Dbase, D): New classes.
814 (main): New local delta.
815 * gdb.cp/class2.exp: Test printing delta.
816 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
817 (dynbar): New global.
818 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
819
081a1c2c
JK
8202015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
821
822 * gdb.compile/compile-ifunc.c: New file.
823 * gdb.compile/compile-ifunc.exp: New file.
824
2f41223f
AT
8252015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
826
827 * gdb.base/structs.exp: Check for correct struct on finish.
828
03eddd80
YQ
8292015-02-26 Yao Qi <yao.qi@linaro.org>
830
831 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
832 is zero.
833
80c57053
JK
8342015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
835
836 * gdb.arch/cordic.ko.bz2: New file.
837 * gdb.arch/cordic.ko.debug.bz2: New file.
838 * gdb.arch/ppc64-symtab-cordic.exp: New file.
839
21613c12
YQ
8402015-02-25 Yao Qi <yao.qi@linaro.org>
841
842 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
843 aarch64*-*-* target.
844
d8b901ed
PA
8452015-02-23 Pedro Alves <palves@redhat.com>
846
847 * lib/gdb.exp (delete_breakpoints): Rewrite using
848 gdb_test_multiple.
849
e5b85ead
PA
8502015-02-23 Pedro Alves <palves@redhat.com>
851
852 * gdb.base/info-os.c: Include stdlib.h.
853
85c3a371
DE
8542015-02-22 Doug Evans <xdje42@gmail.com>
855
856 PR symtab/17855
857 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
858 is read after symbols have been re-read.
859 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
860 * gdb.ada/exec_changed/second.adb (Second): Ditto.
861
96553a0c
DE
8622015-02-21 Doug Evans <dje@google.com>
863
864 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
865
97a0c697
JK
8662015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
867
868 PR corefiles/17808
869 * gdb.arch/i386-biarch-core.core.bz2: New file.
870 * gdb.arch/i386-biarch-core.exp: New file.
871
a47cd6e9
PA
8722015-02-21 Pedro Alves <palves@redhat.com>
873
874 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
875 runto_main fails.
876
c5facdc4
PA
8772015-02-20 Pedro Alves <palves@redhat.com>
878
879 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
880 info probes.
881
2db9a427
PA
8822015-02-20 Pedro Alves <palves@redhat.com>
883
884 * gdb.threads/multi-create-ns-info-thr.exp: New file.
885
60fb7e9e
PA
8862015-02-20 Pedro Alves <palves@redhat.com>
887
888 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
889 clean_restart before gdb_target_supports_trace.
890
5c5019c2
PA
8912015-02-20 Pedro Alves <palves@redhat.com>
892
893 PR threads/18006
894 * gdb.threads/clone-thread_db.c: New file.
895 * gdb.threads/clone-thread_db.exp: New file.
896
c9587f88
AT
8972015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
898
899 PR breakpoints/16812
900 * gdb.base/catch-gdb-caused-signals.c: New file.
901 * gdb.base/catch-gdb-caused-signals.exp: New file.
902
f6a88844
JM
9032015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
904
905 * configure: Regenerated.
906 * configure.ac: Use GDB_AC_TRANSFORM.
907 * aclocal.m4: sinclude ../transform.m4.
908
497c491b
JM
9092015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
910
911 * lib/dtrace.exp: New file.
912 * gdb.base/dtrace-probe.exp: Likewise.
913 * gdb.base/dtrace-probe.d: Likewise.
914 * gdb.base/dtrace-probe.c: Likewise.
915 * lib/pdtrace.in: Likewise.
916 * configure.ac: Output variables with the transformed names of
917 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
918 * configure: Regenerated.
919
03e98035
JM
9202015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
921
922 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
923 expected message when trying to access $_probe_* convenience
924 variables while not on a probe.
925
63cc30e9
JK
9262015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
927
928 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
929
0703599a
PA
9302015-02-11 Pedro Alves <pedro@codesourcery.com>
931
932 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
933 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
934
7e60a48e
DE
9352015-02-10 Doug Evans <xdje42@gmail.com>
936
937 * lib/gdb.exp (gdb_load): Always return a result.
938
01b088bc
PA
9392015-02-10 Pedro Alves <palves@redhat.com>
940
941 * gdb.threads/signal-sigtrap.c: New file.
942 * gdb.threads/signal-sigtrap.exp: New file.
943
b05ec7a5
AT
9442015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
945
946 * gdb.trace/no-attach-trace.c: New file.
947 * gdb.trace/no-attach-trace.exp: New file.
948
a2c2acaf
MW
9492015-02-09 Mark Wielaard <mjw@redhat.com>
950
951 * gdb.dwarf2/atomic.c: New file.
952 * gdb.dwarf2/atomic-type.exp: Likewise.
953
31fd9caa
MM
9542015-02-09 Markus Metzger <markus.t.metzger@intel.com>
955
956 * gdb.btrace/buffer-size.exp: Update "info record" output.
957 * gdb.btrace/delta.exp: Update "info record" output.
958 * gdb.btrace/enable.exp: Update "info record" output.
959 * gdb.btrace/finish.exp: Update "info record" output.
960 * gdb.btrace/instruction_history.exp: Update "info record" output.
961 * gdb.btrace/next.exp: Update "info record" output.
962 * gdb.btrace/nexti.exp: Update "info record" output.
963 * gdb.btrace/step.exp: Update "info record" output.
964 * gdb.btrace/stepi.exp: Update "info record" output.
965 * gdb.btrace/nohist.exp: Update "info record" output.
966
d33501a5
MM
9672015-02-09 Markus Metzger <markus.t.metzger@intel.com>
968
969 * gdb.btrace/buffer-size: New.
970
f4abbc16
MM
9712015-02-09 Markus Metzger <markus.t.metzger@intel.com>
972
973 * gdb.btrace/delta.exp: Update "info record" output.
974 * gdb.btrace/enable.exp: Update "info record" output.
975 * gdb.btrace/finish.exp: Update "info record" output.
976 * gdb.btrace/instruction_history.exp: Update "info record" output.
977 * gdb.btrace/next.exp: Update "info record" output.
978 * gdb.btrace/nexti.exp: Update "info record" output.
979 * gdb.btrace/step.exp: Update "info record" output.
980 * gdb.btrace/stepi.exp: Update "info record" output.
981 * gdb.btrace/nohist.exp: Update "info record" output.
982
b9d61307
SM
9832015-02-06 Simon Marchi <simon.marchi@ericsson.com>
984
985 PR gdb/15678
986 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
987
e584fdbc
PA
9882015-02-06 Pedro Alves <palves@redhat.com>
989
990 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
991 macro.
992 (seconds_left, again): New globals.
993 (main): Wait seconds_left in a 1-second sleep loop instead of
994 sleeping 180 seconds. If 'again' is set, reset the seconds
995 counter.
996 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
997 'again' in the inferior before detaching. Print the seconds left.
998 (options): New global.
999 (top level): Build program with -DTIMEOUT=$timeout.
1000
77f41761
PA
10012015-02-06 Pedro Alves <palves@redhat.com>
1002
1003 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1004 determine how many seconds to pass to 'alarm'.
1005 * gdb.base/gdb-sigterm.exp (top level): Build program with
1006 -DTIMEOUT=$timeout.
1007 (do_test): Return success/failure indication. Add more verbose
1008 logging. Don't fail if 200 single steps are seen. Instead, fail
1009 when the test times out.
1010 (passes): New global.
1011 (top level): Break the testing loop if testing fails on any
1012 iteration. Use gdb_assert.
1013
b9394193
DB
10142015-02-04 Don Breazeal <donb@codesourcery.com>
1015
1016 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1017 and initialize them.
1018 (ipc_cleanup): New function.
1019 (main): Don't declare shmid, semid, and msqid. Add a call to
1020 atexit so that we call ipc_cleanup on exit.
1021
42d9e528
PA
10222015-02-04 Pedro Alves <palves@redhat.com>
1023
1024 * boards/native-extended-gdbserver.exp: Remove any target variant
1025 specifications from the board name before clearing the isremote
1026 flag from board_info.
1027
ae6ae975
DE
10282015-01-31 Doug Evans <xdje42@gmail.com>
1029
1030 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1031
cfb069a8
GB
10322015-01-31 Gary Benson <gbenson@redhat.com>
1033
1034 * gdb.base/completion.exp: Disable completion limiting for
1035 existing tests. Add new tests to check completion limiting.
1036 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1037
5dd31d79
DE
10382015-01-31 Doug Evans <xdje42@gmail.com>
1039
1040 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1041
9f050062
DE
10422015-01-31 Doug Evans <xdje42@gmail.com>
1043
1044 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1045 entries. Duplicate file section script entries.
1046 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1047 inlined entries. Add test for safe-path rejection.
1048 * gdb.python/py-section-script.c: Add duplicate inlined section script
1049 entries. Duplicate file section script entries.
1050 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1051 inlined entries. Add test for safe-path rejection.
1052
df25ebbd
JB
10532015-01-29 Joel Brobecker <brobecker@adacore.com>
1054
1055 * gdb.ada/disc_arr_bound: New testcase.
1056
4a0ca9ec
JB
10572015-01-29 Joel Brobecker <brobecker@adacore.com>
1058
1059 * gdb.ada/mi_var_array: New testcase.
1060
3a8b707a
DE
10612015-01-27 Doug Evans <dje@google.com>
1062
1063 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1064 Add test for objfile.filename, objfile.username after objfile
1065 has been unloaded.
1066
f8313f6e
JB
10672015-01-26 Joel Brobecker <brobecker@adacore.com>
1068
1069 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1070 the second test to print the name attribute of value
1071 returned by the call to gdb.lookup_type, and adjust
1072 the expected output accordingly.
1073
37bc665e
MW
10742015-01-25 Mark Wielaard <mjw@redhat.com>
1075
1076 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1077 * gdb.base/disp-step-fork.c: Include unistd.h.
1078 * gdb.base/siginfo-obj.c: Include stdio.h.
1079 * gdb.base/siginfo-thread.c: Likewise.
1080 * gdb.mi/non-stop.c: Include unistd.h.
1081 * gdb.mi/nsthrexec.c: Include stdio.h.
1082 * gdb.mi/pthreads.c: Include unistd.h.
1083 * gdb.modula2/unbounded1.c (main): Declare returns int.
1084 * gdb.reverse/consecutive-reverse.c: Likewise.
1085 * gdb.threads/create-fail.c: Include unistd.h.
1086 * gdb.threads/killed.c: Likewise.
1087 * gdb.threads/linux-dp.c: Likewise.
1088 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1089 * gdb.threads/non-ldr-exc-2.c: Likewise.
1090 * gdb.threads/non-ldr-exc-3.c: Likewise.
1091 * gdb.threads/non-ldr-exc-4.c: Likewise.
1092 * gdb.threads/pthreads.c: Include unistd.h.
1093 (main): Declare returns int.
1094 * gdb.threads/tls-main.c (foo): New declaration.
1095 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1096
f7e5394d
SM
10972015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1098
1099 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1100 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1101
743649fd
MW
11022015-01-15 Mark Wielaard <mjw@redhat.com>
1103
1104 * gdb.base/noreturn-return.c: New file.
1105 * gdb.base/noreturn-return.exp: New file.
1106 * gdb.base/noreturn-finish.c: New file.
1107 * gdb.base/noreturn-finish.exp: New file.
1108
198297aa
PA
11092015-01-23 Pedro Alves <palves@redhat.com>
1110
1111 * gdb.threads/continue-pending-after-query.c: New file.
1112 * gdb.threads/continue-pending-after-query.exp: New file.
1113
717cf30c
AG
11142015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1115 Simon Marchi <simon.marchi@ericsson.com>
1116
1117 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1118 * gdb.base/valgrind-db-attach.exp: Same.
1119 * gdb.base/valgrind-infcall.exp: Same.
1120 * lib/mi-support.exp (default_mi_gdb_start): Same.
1121 * lib/prompt.exp (default_prompt_gdb_start): Same.
1122 * lib/gdb.exp (default_gdb_spawn): Same.
1123 (gdb_interact): New.
1124
1125
4b62a76e
JK
11262015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1127
1128 * gdb.compile/compile.exp (pointer to jit function): New test.
1129
b4cdae6f
WW
11302015-01-17 Wei-cheng Wang <cole945@gmail.com>
1131
1132 * lib/gdb.exp (supports_process_record): Return true for
1133 powerpc*-*-linux*.
1134 (supports_reverse): Likewise.
1135
d221e7ef
DB
11362015-01-15 Don Breazeal <donb@codesourcery.com>
1137
1138 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1139 instead of checking whether the target board is remote and
1140 use spawn_wait_for_attach instead of exec/sleep.
1141 * gdb.base/attach-twice.exp: Likewise.
1142
bafffb51
JB
11432015-01-15 Joel Brobecker <brobecker@adacore.com>
1144
1145 * gdb.ada/var_arr_attrs: New testcase.
1146
5589af0e
PA
11472015-01-14 Pedro Alves <palves@redhat.com>
1148 Joel Brobecker <brobecker@adacore.com>
1149
1150 PR gdb/17525
1151 * gdb.base/bp-cmds-execution-x-script.c: New file.
1152 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1153 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1154
6c400b59
PA
11552015-01-14 Pedro Alves <palves@redhat.com>
1156
1157 PR cli/17828
1158 * gdb.base/batch-preserve-term-settings.c: New file.
1159 * gdb.base/batch-preserve-term-settings.exp: New file.
1160
e02c96a7
DE
11612015-01-13 Doug Evans <dje@google.com>
1162
1163 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1164 binary.
1165
576fd14c
JB
11662015-01-13 Joel Brobecker <brobecker@adacore.com>
1167
1168 * Makefile.in (clean mostlyclean): Do not delete *.py.
1169
04dccad0
JB
11702015-01-13 Joel Brobecker <brobecker@adacore.com>
1171
1172 * gdb.python/py-lookup-type.exp: New file.
1173
3d230f71
PA
11742015-01-12 Pedro Alves <palves@redhat.com>
1175
1176 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1177 restore GDBFLAGS before returning.
1178
7e67715d
JK
11792015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1180
1181 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1182 is_amd64_regs_target and is_x86_like_target.
1183
f2e0d4b4
DE
11842015-01-11 Doug Evans <xdje42@gmail.com>
1185
1186 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1187 is given without an explicit form.
1188 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1189 attributes.
1190 * gdb.dwarf/corrupt.exp: Ditto.
1191 * gdb.dwarf2/enum-type.exp: Ditto.
1192 * gdb.trace/entry-values.exp: Ditto.
1193 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1194
439250fb
DE
11952015-01-11 Doug Evans <xdje42@gmail.com>
1196
1197 PR gdb/15830
1198 * gdb.base/maint.exp: Remove references to "maint demangle".
1199 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1200 Add tests for explicitly specifying language to demangle.
1201 * gdb.dlang/demangle.exp: Ditto.
1202
ede9f622
PA
12032015-01-09 Pedro Alves <palves@redhat.com>
1204
1205 * gdb.threads/non-stop-fair-events.c: New file.
1206 * gdb.threads/non-stop-fair-events.exp: New file.
1207
a7b796db
PA
12082015-01-09 Pedro Alves <palves@redhat.com>
1209
1210 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1211 the global scope. Set a breakpoint after all threads are started
1212 rather than stepping over two source lines. Expect the prompt.
1213 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1214 global.
1215 (NUM): Now 15.
1216 (main): Use threads_started_barrier to wait for all threads to
1217 start. Main thread no longer calls thread_function. Exit after
1218 180 seconds.
1219 (loop): New function.
1220 (thread_function): Wait on threads_started_barrier barrier. Call
1221 'loop' at each iteration.
1222 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1223 threads have started, instead of hardcoding number of "next"
1224 steps. Use an access watchpoint instead of a write watchpoint.
1225
9665ffdd
PA
12262015-01-09 Pedro Alves <palves@redhat.com>
1227
1228 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1229 (thread_func): Wait on barrier.
1230 (main): Wait for all threads to start before stopping GDB.
1231 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1232 global.
1233 (thread1_func, thread2_func): Wait on barrier.
1234 (main): Wait for all threads to start before stopping GDB.
1235 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1236 New global.
1237 (thread1_func, thread2_func): Wait on barrier.
1238 (main): Wait for all threads to start before stopping GDB.
1239
c945a99f
PA
12402015-01-09 Pedro Alves <palves@redhat.com>
1241
1242 * gdb.threads/attach-many-short-lived-threads.c: New file.
1243 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1244
c1a747c1
PA
12452014-01-09 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1248 instead of to thread 2.
1249 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1250 Add barrier around each pthread_create call instead of around all
1251 calls.
1252 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1253 Set a break on thread_function and have the child threads hit it
1254 one at at a time.
1255
60b3033e
PA
12562015-01-09 Pedro Alves <palves@redhat.com>
1257
1258 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1259 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1260 false.
1261 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1262 checking whether the target board is remote.
1263 * gdb.multi/multi-attach.exp: Likewise.
1264 * gdb.python/py-sync-interp.exp: Likewise.
1265 * gdb.server/ext-attach.exp: Likewise.
1266 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1267 tests that need to attach, instead of checking whether the target
1268 board is remote at the top of the file.
1269
acc018ac
YQ
12702015-01-08 Yao Qi <yao@codesourcery.com>
1271
1272 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1273
50a18af8
JK
12742015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1275
1276 Fix testcase compilation.
1277 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1278
8503d6e1
JB
12792015-01-06 Joel Brobecker <brobecker@adacore.com>
1280
1281 * gdb.python/py-type.exp: Add a couple test about empty
1282 array creation, and negative-length array creation.
1283
cc73dbcc
DE
12842015-01-02 Doug Evans <xdje42@gmail.com>
1285
1286 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1287
0300bbc7
DE
12882015-01-02 Doug Evans <dje@google.com>
1289
1290 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1291
9d85a0ec
YQ
12922014-12-29 Yao Qi <yao@codesourcery.com>
1293
1294 * gdb.trace/entry-values.exp: Update comments. Rename variable
1295 bar_call_foo to returned_from_foo.
1296
87186c6a
MMN
12972014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1298
1299 PR gdb/17394
1300 * gdb.linespec/break-asm-file.c: New file.
1301 * gdb.linespec/break-asm-file.exp: New file.
1302 * gdb.linespec/break-asm-file0.s: New file.
1303 * gdb.linespec/break-asm-file1.s: New file.
1304
1bab7383
YQ
13052014-12-18 Nigel Stephens <nigel@mips.com>
1306 Maciej W. Rozycki <macro@codesourcery.com>
1307
1308 * gdb.base/float.exp: Handle the new output from "info float" on
1309 MIPS targets.
1310
1bc1068a
JK
13112014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1312
1313 Fix MinGW compilation.
1314 * gdb.compile/compile-ops.exp: Update untested message if
1315 !skip_compile_feature_tests.
1316 * gdb.compile/compile-setjmp.exp: Likewise.
1317 * gdb.compile/compile-tls.exp: Likewise.
1318 * gdb.compile/compile.exp: Likewise.
1319 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1320 supported on this host".
1321
b6615d10
DE
13222014-12-16 Doug Evans <xdje42@gmail.com>
1323
1324 * boards/stabs.exp: New file.
1325
25dda427
AA
13262014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1327
1328 * gdb.base/completion.exp: Adjust to format changes of "maint
1329 print user-registers".
1330
bf330350
CU
13312014-12-16 Catalin Udma <catalin.udma@freescale.com>
1332
1333 PR server/17457
1334 * gdb.arch/aarch64-fp.c: New file.
1335 * gdb.arch/aarch64-fp.exp: New file.
1336
395cf596
SDJ
13372014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1338
1339 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1340 r210637, r210913, r211666, r215400, r215817).
1341
1342 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1343 * dg-extract-results.py: New file.
1344 * dg-extract-results.sh: Use it if the environment seems
1345 suitable.
1346
1347 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1348
1349 * dg-extract-results.py (parse_run): Handle warnings that
1350 are printed before a test harness is run.
1351
1352 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1353
1354 * dg-extract-results.py (Named): Remove __cmp__ method.
1355 (output_variation): Use a key to sort variation.harnesses.
1356
1357 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1358
1359 * dg-extract-results.py: For Python 3, force sys.stdout to
1360 handle surrogate escape sequences.
1361 (safe_open): New function.
1362 (output_segment, main): Use it.
1363
1364 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1365
1366 * dg-extract-results.py (Prog.result_re): Include options
1367 in test name.
1368
1369 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1370
1371 * dg-extract-results.py (output_variation): Always sort if
1372 do_sum.
1373
e882ef3c
SM
13742014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1375
1376 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1377 as long as we get pagination notifications.
1378
4992aa20
JM
13792014-12-15 Jason Merrill <jason@redhat.com>
1380
1381 * Makefile.in (check-gdb.%): Restore.
1382 * README: Mention it.
1383
c1b5a1a6
JB
13842014-12-13 Joel Brobecker <brobecker@adacore.com>
1385
1386 * gdb.ada/str_uninit: New testcase.
1387
5537b577
JK
13882014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1389
1390 PR symtab/17642
1391 * gdb.base/vla-stub-define.c: New file.
1392 * gdb.base/vla-stub.c: New file.
1393 * gdb.base/vla-stub.exp: New file.
1394
bb2ec1b3
TT
13952014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1396 Jan Kratochvil <jan.kratochvil@redhat.com>
1397 Tom Tromey <tromey@redhat.com>
1398
1399 * configure.ac: Add gdb.compile/.
1400 * configure: Regenerate.
1401 * gdb.compile/Makefile.in: New file.
1402 * gdb.compile/compile-ops.exp: New file.
1403 * gdb.compile/compile-ops.c: New file.
1404 * gdb.compile/compile-tls.c: New file.
1405 * gdb.compile/compile-tls.exp: New file.
1406 * gdb.compile/compile-constvar.S: New file.
1407 * gdb.compile/compile-constvar.c: New file.
1408 * gdb.compile/compile-mod.c: New file.
1409 * gdb.compile/compile-nodebug.c: New file.
1410 * gdb.compile/compile-setjmp-mod.c: New file.
1411 * gdb.compile/compile-setjmp.c: New file.
1412 * gdb.compile/compile-setjmp.exp: New file.
1413 * gdb.compile/compile-shlib.c: New file.
1414 * gdb.compile/compile.c: New file.
1415 * gdb.compile/compile.exp: New file.
1416 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1417
4ff709eb
TT
14182014-12-12 Tom Tromey <tromey@redhat.com>
1419
1420 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1421 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1422
6dddd6a5
DE
14232014-12-12 Doug Evans <dje@google.com>
1424
1425 * lib/gdb-python.exp (get_python_valueof): New function.
1426 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1427
71c24708
AA
14282014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1429
1430 * gdb.base/completion.exp: Add test for completion of "info
1431 registers ".
1432
3e29f34a
MR
14332014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1434
1435 * gdb.base/func-ptrs.c: New file.
1436 * gdb.base/func-ptrs.exp: New file.
1437
fc126975
SM
14382014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1439
1440 PR breakpoints/17012
1441 * gdb.base/dprintf-detach.c: New file.
1442 * gdb.base/dprintf-detach.exp: New file.
1443
0a46d518
SM
14442014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1445
1446 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1447 * lib/gdb.exp (target_is_gdbserver): New procedure.
1448
a0be3e44
DE
14492014-12-08 Doug Evans <dje@google.com>
1450
1451 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1452
df1b803a
YQ
14532014-12-05 Yao Qi <yao@codesourcery.com>
1454
1455 * gdb.guile/scm-error.exp: Remove the third argument to
1456 gdb_remote_download.
1457 * gdb.guile/scm-frame-args.exp: Likewise.
1458 * gdb.guile/scm-section-script.exp: Likewise.
1459
ddb9f679
YQ
14602014-12-05 Yao Qi <yao@codesourcery.com>
1461
1462 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1463
86e4ed39
DE
14642014-12-04 Doug Evans <dje@google.com>
1465
1466 * gdb.python/py-objfile.exp: Add tests for
1467 objfile.add_separate_debug_file.
1468
7c50a931
DE
14692014-12-04 Doug Evans <dje@google.com>
1470
1471 * lib/gdb.exp (get_build_id): New function.
1472 (build_id_debug_filename_get): Rewrite to use it.
1473 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1474
621661e3
MR
14752014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1476
1477 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1478 `method(long)', not just 0x0.
1479 * gdb.cp/nsalias.exp: Align code labels to 4.
1480 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1481 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1482 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1483 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1484 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1485 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1486
29f0c3b7
DE
14872014-12-02 Doug Evans <dje@google.com>
1488
e1e061e7 1489 PR symtab/17602
29f0c3b7 1490 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1491 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1492 * gdb.cp/anon-ns.exp: Update.
1493
162078c8
NB
14942014-12-02 Nick Bull <nicholaspbull@gmail.com>
1495
1496 * gdb.python/py-events.py (inferior_call_handler): New.
1497 (register_changed_handler, memory_changed_handler): New.
1498 (test_events.invoke): Register new handlers.
1499 * gdb.python/py-events.exp: Add tests for inferior call,
1500 memory_changed and register_changed events.
1501
fdb09caf
AA
15022014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1503
1504 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1505 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1506 if the linker doesn't understand this.
1507
55cfb2c4
SM
15082014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1509
1510 * gdb.python/python.exp: Change expected reply to help().
1511
9e8cd6df
YQ
15122014-12-01 Yao Qi <yao@codesourcery.com>
1513
1514 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1515 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1516 * configure: Re-generated.
1517
6c659fc2
SC
15182014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1519
1520 * gdb.cp/chained-calls.cc: New file.
1521 * gdb.cp/chained-calls.exp: New file.
1522 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1523
d7fc3181
SM
15242014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1525
1526 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1527 * gdb.dwarf2/symtab-producer.exp: Same.
1528 * gdb.gdb/python-interrupts.exp: Same.
1529 * gdb.gdb/python-selftest.exp: Same.
1530 * gdb.python/py-linetable.exp: Same.
1531 * gdb.python/py-type.exp: Same.
1532 * gdb.python/py-value-cc.exp: Same.
1533 * gdb.python/py-value.exp: Same.
1534
10e79639
YQ
15352014-11-28 Yao Qi <yao@codesourcery.com>
1536
1537 * gdb.base/break-probes.exp: Match library name prefixed with
1538 sysroot.
1539
f28a0564
SM
15402014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1541
1542 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1543 test expected output. Add parentheses for the call to print.
1544 Remove L suffix from integers.
1545
3fe1ce1d
DE
15462014-11-26 Doug Evans <dje@google.com>
1547
1548 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1549
84429e27
YQ
15502014-11-22 Yao Qi <yao@codesourcery.com>
1551
1552 * gdb.trace/entry-values.c: Remove asms.
1553 (foo): Add foo_label.
1554 (bar): Add bar_label.
1555 * gdb.trace/entry-values.exp: Remove code computing foo's
1556 length and bar's length.
1557 (Dwarf::assemble): Invoke function_range for bar and use
1558 MACRO_AT_func for foo.
1559
26741859
YQ
15602014-11-22 Yao Qi <yao@codesourcery.com>
1561
1562 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1563 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1564 Use .Lgcc43_procstart instead of gcc43.
1565
45e44d27
JB
15662014-11-21 Joel Brobecker <brobecker@adacore.com>
1567
1568 * gdb.ada/n_arr_bound: New testcase.
1569
458c8db8
SDJ
15702014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1571
1572 PR breakpoints/10737
1573 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1574 test_catch_syscall_multi_arch.
1575 (test_catch_syscall_multi_arch): New function.
1576
43f3e411
DE
15772014-11-20 Doug Evans <xdje42@gmail.com>
1578
1579 * gdb.base/maint.exp: Update expected output.
1580
0d7b2549
AA
15812014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1582
1583 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1584 4-byte instruction on S390.
1585
8908fca5
JB
15862014-11-19 Joel Brobecker <brobecker@adacore.com>
1587
1588 * gdb.ada/arr_arr: New testcase.
1589
4a46959e
JB
15902014-11-19 Joel Brobecker <brobecker@adacore.com>
1591
1592 * gdb.ada/pkd_arr_elem: New Testcase.
1593
470e2f4e
LM
15942014-11-18 Luis Machado <lgustavo@codesourcery.com>
1595
1596 * gdb.reverse/break-precsave: Expect completion message for
1597 core file reads.
1598 * gdb.reverse/consecutive-precsave.exp: Likewise.
1599 * gdb.reverse/finish-precsave.exp: Likewise.
1600 * gdb.reverse/i386-precsave.exp: Likewise.
1601 * gdb.reverse/machinestate-precsave.exp: Likewise.
1602 * gdb.reverse/sigall-precsave.exp: Likewise.
1603 * gdb.reverse/solib-precsave.exp: Likewise.
1604 * gdb.reverse/step-precsave.exp: Likewise.
1605 * gdb.reverse/until-precsave.exp: Likewise.
1606 * gdb.reverse/watch-precsave.exp: Likewise.
1607
a267f3ad
AA
16082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1609
1610 * gdb.base/bp-permanent.c: Include unistd.h.
1611 * gdb.python/py-framefilter-mi.c (main): Add return type.
1612 * gdb.python/py-framefilter.c (main): Likewise.
1613 * gdb.trace/actions-changed.c (main): Likewise.
1614
12084a9a
AA
16152014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1616
1617 * gdb.mi/until.c: Add eye-catchers.
1618 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1619 line numbers.
1620
dc7e1a77
AA
16212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1622
1623 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1624 function header variants in break1.c.
1625 * gdb.base/ena-dis-br.exp: Likewise.
1626 * gdb.base/hbreak2.exp: Likewise.
1627 * gdb.reverse/until-precsave.exp: Drop references to removed
1628 non-prototype function header variants in ur1.c.
1629 * gdb.reverse/until-reverse.exp: Likewise.
1630
41c77605
PM
16312014-11-17 Petr Machata <pmachata@redhat.com>
1632
1633 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1634 ${_cu_offset_size} bytes abbrev offset.
1635
34248c3a
DE
16362014-11-15 Doug Evans <xdje42@gmail.com>
1637
1638 PR symtab/17559
1639 * gdb.base/line-symtabs.exp: New file.
1640 * gdb.base/line-symtabs.c: New file.
1641 * gdb.base/line-symtabs.h: New file.
1642
646da059
YQ
16432014-11-14 Yao Qi <yao@codesourcery.com>
1644
1645 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1646 (func): Add label func_label.
1647 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1648 Replace low_pc and high_pc with MACRO_AT_range.
1649 Replace name, low_pc and high_pc with MACRO_AT_func.
1650
9301ebe6
YQ
16512014-11-14 Yao Qi <yao@codesourcery.com>
1652
1653 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1654 Replace name, low_pc and high_pc with MACRO_AT_func.
1655
f166b542
YQ
16562014-11-14 Yao Qi <yao@codesourcery.com>
1657
1658 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1659 produce debug information.
1660 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1661
0f6e71e3
YQ
16622014-11-14 Yao Qi <yao@codesourcery.com>
1663
1664 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1665 object and get function length.
1666 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1667 with MACRO_AT_func.
1668 (top-level): Replace gdb_compile and clean_restart with
1669 prepare_for_testing.
1670 * gdb.dwarf2/main.c (main): Add label main_label.
1671
876c4df9
YQ
16722014-11-14 Yao Qi <yao@codesourcery.com>
1673
1674 * lib/dwarf.exp (function_range): New procedure.
1675 (Dwarf::_handle_macro_at_func): New procedure.
1676 (Dwarf::_handle_macro_at_range): New procedure.
1677 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1678
02ad9cf1
YQ
16792014-11-14 Yao Qi <yao@codesourcery.com>
1680
1681 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1682 (_handle_attribute): New procedure.
1683
a59add0c
AA
16842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1685
1686 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1687 * gdb.base/call-sc.c (zed): Likewise.
1688 * gdb.base/checkpoint.c (main): Likewise.
1689 * gdb.base/dump.c (main): Likewise.
1690 * gdb.base/gcore.c (main): Likewise.
1691 * gdb.base/huge.c (main): Likewise.
1692 * gdb.base/multi-forks.c (main): Likewise.
1693 * gdb.base/pr10179-a.c (main): Likewise.
1694 * gdb.base/savedregs.c (main): Likewise.
1695 * gdb.base/sigaltstack.c (main): Likewise.
1696 * gdb.base/siginfo.c (main): Likewise.
1697 * gdb.base/structs.c (zed): Likewise.
1698 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1699 * gdb.mi/mi-syn-frame.c (main): Likewise.
1700 * gdb.mi/until.c (foo, main): Likewise.
1701 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1702 * gdb.base/solib-weak.c (foo): Declare.
1703 * gdb.base/attach-twice.c: Include stdio.h.
1704 * gdb.base/weaklib1.c: Likewise.
1705 * gdb.base/weaklib2.c: Likewise.
1706 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1707 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1708 unistd.h.
1709 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1710 * gdb.mi/mi-exit-code.c: Likewise.
1711 * gdb.base/break-interp-lib.c: Include string.h.
1712 * gdb.base/coremaker.c: Likewise.
1713 * gdb.base/testenv.c: Likewise.
1714 * gdb.python/py-finish-breakpoint.c: Likewise.
1715 * gdb.base/inferior-died.c: Include sys/wait.h.
1716 * gdb.base/fileio.c: Include time.h.
1717 * gdb.base/async-shell.c: Include unistd.h.
1718 * gdb.base/dprintf-non-stop.c: Likewise.
1719 * gdb.base/info-os.c: Likewise.
1720 * gdb.mi/mi-console.c: Likewise.
1721 * gdb.mi/watch-nonstop.c: Likewise.
1722 * gdb.python/py-events.c: Likewise.
1723 * gdb.base/async.c (baz): Move up before its invocation.
1724 * gdb.base/code_elim2.c (my_global_func): Likewise.
1725 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1726 * gdb.base/advance.c (func2): Likewise.
1727
3b5d5997
AA
17282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1729
1730 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1731 variant.
1732 * gdb.base/annota3.c: Likewise.
1733 * gdb.base/async.c: Likewise.
1734 * gdb.base/average.c: Likewise.
1735 * gdb.base/call-ar-st.c: Likewise.
1736 * gdb.base/call-rt-st.c: Likewise.
1737 * gdb.base/call-sc.c: Likewise.
1738 * gdb.base/call-strs.c: Likewise.
1739 * gdb.base/ending-run.c: Likewise.
1740 * gdb.base/execd-prog.c: Likewise.
1741 * gdb.base/exprs.c: Likewise.
1742 * gdb.base/foll-exec.c: Likewise.
1743 * gdb.base/foll-fork.c: Likewise.
1744 * gdb.base/foll-vfork.c: Likewise.
1745 * gdb.base/funcargs.c: Likewise.
1746 * gdb.base/gcore.c: Likewise.
1747 * gdb.base/jump.c: Likewise.
1748 * gdb.base/langs0.c: Likewise.
1749 * gdb.base/langs1.c: Likewise.
1750 * gdb.base/langs2.c: Likewise.
1751 * gdb.base/mips_pro.c: Likewise.
1752 * gdb.base/nodebug.c: Likewise.
1753 * gdb.base/opaque0.c: Likewise.
1754 * gdb.base/opaque1.c: Likewise.
1755 * gdb.base/recurse.c: Likewise.
1756 * gdb.base/run.c: Likewise.
1757 * gdb.base/scope0.c: Likewise.
1758 * gdb.base/scope1.c: Likewise.
1759 * gdb.base/setshow.c: Likewise.
1760 * gdb.base/setvar.c: Likewise.
1761 * gdb.base/shmain.c: Likewise.
1762 * gdb.base/shr1.c: Likewise.
1763 * gdb.base/shr2.c: Likewise.
1764 * gdb.base/sigall.c: Likewise.
1765 * gdb.base/signals.c: Likewise.
1766 * gdb.base/so-indr-cl.c: Likewise.
1767 * gdb.base/solib2.c: Likewise.
1768 * gdb.base/structs.c: Likewise.
1769 * gdb.base/sum.c: Likewise.
1770 * gdb.base/vforked-prog.c: Likewise.
1771 * gdb.base/watchpoint.c: Likewise.
1772 * gdb.reverse/shr2.c: Likewise.
1773 * gdb.reverse/until-reverse.c: Likewise.
1774 * gdb.reverse/ur1.c: Likewise.
1775 * gdb.reverse/watch-reverse.c: Likewise.
1776
066a77c5
AA
17772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1778
1779 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1780 variant.
1781 * gdb.base/sepdebug.exp: Drop references to removed code.
1782
4f204ea5
AA
17832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1784
1785 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1786 variant. Preserve original line numbering.
1787 * gdb.base/list1.c: Likewise.
1788
3b377a3a
AA
17892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1790
1791 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1792 variant.
1793 * gdb.base/break1.c: Likewise.
1794 * gdb.base/break.exp: Drop references to removed code.
1795
e444df73
AA
17962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1797
1798 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1799 variant.
1800
8008f2a7
AA
18012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1802
1803 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1804
a5a06887
AA
18052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1806
1807 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1808 logic into perform_all_tests() and invoke it with and without
1809 function header prototypes.
1810 (do_function_calls): Remove conditional XFAIL for PR 5318.
1811 (rerun_and_prepare): Remove duplicate code.
1812 (perform_all_tests): New. Main logic moved here.
1813
44dba9b9
AA
18142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1815
1816 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1817 code guarded by #ifdef NO_PROTOTYPES.
1818 (t_double_many_args): Likewise.
1819 (DEF_FUNC_MANY_ARGS_1): Likewise.
1820 (DEF_FUNC_VALUES_1): Likewise.
1821 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1822 guarded by #ifdef PROTOTYPES.
1823
d1fbcd56
AA
18242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1825
1826 * gdb.mi/mi-console.c: Add eye-catcher.
1827 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1828 instead of literal line number.
1829
b0e59b8f
AA
18302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1831
1832 * gdb.base/shr2.c: Add eye-catcher.
1833 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1834 line number.
1835
78f98cca
AA
18362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1837
1838 * gdb.base/jump.c: Add eye-catchers.
1839 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1840 numbers.
1841
58fa2af0
AA
18422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1843
1844 * gdb.base/execd-prog.c: Add eye-catchers.
1845 * gdb.base/foll-exec.c: Likewise.
1846 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1847 line numbers.
1848
04e5059b
AA
18492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1850
1851 * gdb.base/ending-run.c: Add eye-catchers.
1852 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1853 literal line numbers.
1854
dbfdb174
AA
18552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1856
1857 * gdb.base/call-rt-st.c: Add eye-catchers.
1858 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1859 literal line numbers.
1860
888a2ade
AA
18612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1862
1863 * gdb.base/call-ar-st.c: Add eye-catchers.
1864 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1865 literal line numbers.
1866
6acc2dde
AA
18672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1868
1869 * gdb.base/average.c: Add eye-catchers.
1870 * gdb.base/sum.c: Likewise.
1871 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1872 regexps dynamically.
1873
9ecfcd1d
AA
18742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1875
1876 * gdb.base/solib1.c: Add eye-catchers.
1877 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1878 literal line numbers.
1879
78708b7c
PA
18802014-11-12 Pedro Alves <palves@redhat.com>
1881
1882 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1883 leader has exited.
1884
af48d08f
PA
18852014-11-12 Pedro Alves <palves@redhat.com>
1886
1887 * gdb.arch/i386-bp_permanent.c: New file.
1888 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1889 (srcfile): Set to i386-bp_permanent.c.
1890 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1891 that stepi does not execute the 'leave' instruction, instead of
1892 testing it does execute.
1893 * gdb.base/bp-permanent.c: New file.
1894 * gdb.base/bp-permanent.exp: New file.
1895
af3768e9
DE
18962014-11-10 Doug Evans <xdje42@gmail.com>
1897
1898 PR symtab/17564
1899 * gdb.base/symtab-search-order.exp: New file.
1900 * gdb.base/symtab-search-order.c: New file.
1901 * gdb.base/symtab-search-order-1.c: New file.
1902 * gdb.base/symtab-search-order-shlib-1.c: New file.
1903
9de00a4a
PA
19042014-11-07 Pedro Alves <palves@redhat.com>
1905
1906 PR gdb/17511
1907 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1908 i?86-*-linux*.
1909
e0f52461
SC
19102014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1911
1912 PR c++/17494
1913 * gdb.cp/pr17494.cc: New file.
1914 * gdb.cp/pr17494.exp: New file.
1915
6ce8c980
YQ
19162014-11-02 Yao Qi <yao@codesourcery.com>
1917
1918 * gdb.python/python.exp: Get working directory and match the
1919 output of "set extended-prompt \\w " with it.
1920
02be9a71
DE
19212014-10-30 Doug Evans <dje@google.com>
1922
1923 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1924 in objfiles.
1925 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1926 in progspaces.
1927
3bdff46b
LM
19282014-10-30 Janis Johnson <janisjo@codesourcery.com>
1929
1930 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1931 * gdb.base/realname-expand.exp: Likewise.
1932 * gdb.linespec/macro-relative.exp: Likewise.
1933
ab917dfb
PA
19342014-10-29 Pedro Alves <palves@redhat.com>
1935
1936 PR gdb/17408
1937 * gdb.threads/schedlock.c (some_function): New function.
1938 (call_function): New global.
1939 (MAYBE_CALL_SOME_FUNCTION): New macro.
1940 (thread_function): Call it.
1941 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1942 and use it instead of a global counter. Adjust all callers.
1943 (get_current_thread): Use "find current thread" for test message
1944 here rather than having all callers pass down the same string.
1945 (goto_loop): New procedure, factored out from ...
1946 (my_continue): ... this.
1947 (step_ten_loops): Change parameter from test message to command to
1948 use. Adjust.
1949 (list_count): Delete global.
1950 (check_result): New procedure, factored out from duplicate top
1951 level code.
1952 (continue tests): Wrap in with_test_prefix.
1953 (test_step): New procedure, factored out from duplicate top level
1954 code.
1955 (top level): Test "step" in combination with all scheduler-locking
1956 modes. Test "next" in combination with all scheduler-locking
1957 modes, and in combination with stepping over a function call or
1958 not.
1959 * gdb.threads/next-bp-other-thread.c: New file.
1960 * gdb.threads/next-bp-other-thread.exp: New file.
1961
d3d4baed
PA
19622014-10-29 Pedro Alves <palves@redhat.com>
1963
1964 PR python/17372
1965 * gdb.python/python.exp: Test a multi-line command that spawns
1966 interactive Python.
1967 * gdb.base/multi-line-starts-subshell.exp: New file.
1968
563e8d85
YQ
19692014-10-29 Yao Qi <yao@codesourcery.com>
1970
1971 * gdb.base/fileio.exp: Make directories on host.
1972
0ea4d52e
YQ
19732014-10-29 Yao Qi <yao@codesourcery.com>
1974
1975 * gdb.base/fileio.c (test_write): Close the file.
1976
7f5ef605
PA
19772014-10-28 Pedro Alves <palves@redhat.com>
1978
1979 PR gdb/12623
1980 * gdb.base/sigstep.c (no_handler): New global.
1981 (main): If 'no_handler is true, set the signal handlers to
1982 SIG_IGN.
1983 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1984 with_sw_watch and no_handler parameters. Handle them.
1985 (top level) <stepping over handler when stopped at a breakpoint
1986 test>: Add a test axis for testing with a software watchpoint, and
1987 another for testing with the signal handler set to SIG_IGN.
1988 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1989 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1990
abbdbd03
PA
19912014-10-28 Pedro Alves <palves@redhat.com>
1992
1993 PR gdb/17511
1994 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1995 * gdb.base/sigstep.exp (other_handler_location): New global.
1996 (advance): Support stepping into the signal handler, and running
1997 commands while in the handler.
1998 (in_handler_map): New global.
1999 (top level): In the advance test, add combinations for getting
2000 into the handler with stepping commands, and for running commands
2001 in the handler. Add comment descripting the advancei tests.
2002
1df4399f
PA
20032014-10-28 Pedro Alves <palves@redhat.com>
2004
2005 * gdb.base/sigstep.exp: Use build_executable instead of
2006 prepare_for_testing.
2007 (top level): Move code that starts GDB, runs to main and creates a
2008 display to ...
2009 (restart): ... this new procedure.
2010 (top level): Move backtrace from signal handler test to ...
2011 (validate_backtrace): ... this new procedure.
2012 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2013 with_test_prefix. Always restart GDB.
2014 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2015 with_test_prefix. Always restart GDB. No need to delete
2016 breakpoints after the test.
2017 (test_skip_handler): Remove prefix parameter.
2018 (skip_over_handler, breakpoint_to_handler)
2019 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2020 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2021 restart GDB. No need to delete breakpoints after the test.
2022 (top level): Use foreach to call the test procedures with
2023 different commands.
2024
a5b6e449
PA
20252014-10-28 Pedro Alves <palves@redhat.com>
2026
2027 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2028 instead of GNATS numbers.
2029 * gdb.base/sigbpt.exp: Likewise.
2030 * gdb.base/siginfo.exp: Likewise.
2031 * gdb.base/sigstep.exp: Likewise.
2032
e5f8a7cc
PA
20332014-10-27 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.base/sigstep.c (dummy): New global.
2036 (main): Issue a couple writes to the new global.
2037 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2038 procedures.
2039 (skip_over_handler): Use test_skip_handler.
2040 (top level): Call skip_over_handler for stepi and nexti too.
2041 (breakpoint_over_handler): Use test_skip_handler.
2042 (top level): Call breakpoint_over_handler for stepi and nexti too.
2043
763905a3
YQ
20442014-10-27 Yao Qi <yao@codesourcery.com>
2045
2046 * gdb.trace/tfile.c (adjust_function_address)
2047 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2048 function descriptor.
2049
6f259a23
DB
20502014-10-24 Don Breazeal <donb@codesourcery.com>
2051
2052 * gdb.base/foll-fork.exp (test_follow_fork,
2053 catch_fork_child_follow): Check for updated fork messages emitted
2054 from infrun.c.
2055 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2056 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2057 vfork_and_exec_child_follow_through_step): Check for updated vfork
2058 messages emitted from infrun.c.
2059
09dd9a69
PA
20602014-10-24 Pedro Alves <palves@redhat.com>
2061
2062 * gdb.base/corefile.exp: Remove references to ultrix.
2063 * gdb.base/interrupt.exp: Likewise.
2064 * gdb.base/whatis.exp: Likewise.
2065 * gdb.gdb/selftest.exp: Likewise.
2066 * gdb.threads/manythreads.exp: Likewise.
2067 * gdb.threads/print-threads.exp: Likewise.
2068 * gdb.threads/pthreads.exp:: Likewise.
2069 * gdb.threads/schedlock.exp: Likewise.
2070
3433cfa5
SC
20712014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2072
2073 * gdb.cp/non-trivial-retval.cc: Add a test case.
2074 * gdb.cp/non-trivial-retval.exp: Add a test.
2075
092f880b
YQ
20762014-10-20 Yao Qi <yao@codesourcery.com>
2077
2078 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2079 * gdb.python/py-objfile-script-gdb.py: New file.
2080 * gdb.python/py-objfile-script.exp: Update reference to
2081 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2082 of remote_download. Remove the dest file.
2083
acbdb7f3
YQ
20842014-10-20 Yao Qi <yao@codesourcery.com>
2085
2086 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2087 * gdb.base/step-line.exp: Likewise.
2088 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2089 * gdb.dwarf2/dw2-basic.exp: Likewise.
2090 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2091 * gdb.dwarf2/dw2-filename.exp: Likewise.
2092 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2093 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2094 * gdb.dwarf2/dw2-producer.exp: Likewise.
2095 * gdb.dwarf2/mac-fileno.exp: Likewise.
2096 * gdb.python/py-frame-args.exp: Likewise.
2097 * gdb.python/py-framefilter.exp: Likewise.
2098 * gdb.python/py-mi.exp: Likewise.
2099 * gdb.python/py-objfile-script.exp: Likewise
2100 * gdb.python/py-pp-integral.exp: Likewise.
2101 * gdb.python/py-pp-re-notag.exp: Likewise.
2102 * gdb.python/py-prettyprint.exp: Likewise.
2103 * gdb.python/py-section-script.exp: Likewise.
2104 * gdb.python/py-typeprint.exp: Likewise.
2105 * gdb.python/py-xmethods.exp: Likewise.
2106 * gdb.stabs/weird.exp: Likewise.
2107 * gdb.xml/tdesc-regs.exp: Likewise.
2108
bd286a29
KCY
21092014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2110
2111 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2112 (out_cu): Use addr_len for the size of addresses.
2113 (out_line): Likewise. Size DW_LNE_set_address instruction
2114 according to addr_len.
2115 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2116 (FUNC): Add START_INSNS to definition.
2117
673dc4a0
YQ
21182014-10-18 Yao Qi <yao@codesourcery.com>
2119
2120 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2121 gdb_has_argv0 return true.
2122 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2123 check [target_info exists noargs], check [gdb_has_argv0]
2124 instead.
2125 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2126 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2127 procedures.
2128
4ffbba72
DE
21292014-10-17 Doug Evans <dje@google.com>
2130
2131 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2132 event.
2133 * gdb.python/py-events.py: Add clear_objfiles event.
2134
d096d8c1
DE
21352014-10-17 Doug Evans <dje@google.com>
2136
2137 * gdb.python/py-objfile.exp: Test progspace attribute.
2138
a80db015
LM
21392014-10-17 Luis Machado <lgustavo@codesourcery.com>
2140
2141 * gdb.guile/scm-breakpoint.exp: Do not assume any
2142 directory separators when matching source file paths.
2143 * gdb.python/py-breakpoint.exp: Likewise.
2144 * gdb.reverse/break-precsave.exp: Likewise.
2145 * gdb.reverse/break-reverse.exp: Likewise.
2146 * gdb.reverse/consecutive-precsave.exp: Likewise.
2147 * gdb.reverse/finish-precsave.exp: Likewise.
2148 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2149 * gdb.reverse/finish-reverse.exp: Likewise.
2150 * gdb.reverse/i386-precsave.exp: Likewise.
2151 * gdb.reverse/i387-env-reverse.exp: Likewise.
2152 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2153 * gdb.reverse/machinestate-precsave.exp: Likewise.
2154 * gdb.reverse/machinestate.exp: Likewise.
2155 * gdb.reverse/sigall-precsave.exp: Likewise.
2156 * gdb.reverse/solib-precsave.exp: Likewise.
2157 * gdb.reverse/step-precsave.exp: Likewise.
2158 * gdb.reverse/until-precsave.exp: Likewise.
2159 * gdb.reverse/watch-precsave.exp: Likewise.
2160 * gdb.reverse/watch-reverse.exp: Likewise.
2161
b22089ab
YQ
21622014-10-17 Yao Qi <yao@codesourcery.com>
2163
2164 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2165 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2166
6c4486e6
PA
21672014-10-17 Pedro Alves <palves@redhat.com>
2168
2169 PR gdb/17471
2170 * gdb.base/bg-execution-repeat.c: New file.
2171 * gdb.base/bg-execution-repeat.exp: New file.
2172
0ff33695
PA
21732014-10-17 Pedro Alves <palves@redhat.com>
2174
2175 PR gdb/17300
2176 * gdb.base/continue-all-already-running.c: New file.
2177 * gdb.base/continue-all-already-running.exp: New file.
2178
6fdebc3d
PA
21792014-10-17 Pedro Alves <palves@redhat.com>
2180
2181 PR gdb/17472
2182 * gdb.base/annota-input-while-running.c: New file.
2183 * gdb.base/annota-input-while-running.exp: New file.
2184
32a8097b
PA
21852014-10-17 Pedro Alves <palves@redhat.com>
2186
2187 * gdb.base/callfuncs.exp: emove references to osf.
2188 * gdb.base/sigall.exp: Likewise.
2189 * gdb.gdb/selftest.exp: Likewise.
2190 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2191 * gdb.mi/non-stop.c: Likewise.
2192 * gdb.mi/pthreads.c: Likewise.
2193 * gdb.reverse/sigall-precsave.exp: Likewise.
2194 * gdb.reverse/sigall-reverse.exp: Likewise.
2195 * gdb.threads/pthreads.c: Likewise.
2196 * gdb.threads/pthreads.exp: Likewise.
2197
7a3517ff
YQ
21982014-10-17 Yao Qi <yao@codesourcery.com>
2199
2200 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2201 check 'target_info exists noargs'.
2202 (test_command_prompt_position): Likewise.
2203 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2204 Remove "set args".
2205 (progvar_simple_while_test): Likewise.
2206 (progvar_complex_if_while_test): Likewise.
2207 (if_while_breakpoint_command_test): Likewise.
2208 (infrun_breakpoint_command_test): Likewise.
2209 (breakpoint_command_test): Likewise.
2210 (watchpoint_command_test): Likewise.
2211 (bp_deleted_in_command_test): Likewise.
2212 (temporary_breakpoint_commands): Likewise.
2213
bb99c472
YQ
22142014-10-16 Yao Qi <yao@codesourcery.com>
2215
2216 * gdb.base/remotetimeout.exp: Remove noargs checking.
2217
7c16b83e
PA
22182014-10-15 Pedro Alves <palves@redhat.com>
2219
2220 PR breakpoints/9649
2221 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2222 * gdb.base/breakpoint-in-ro-region.exp
2223 (probe_target_hardware_step): New procedure.
2224 (top level): Probe hardware stepping and hardware breakpoint
2225 support. Test stepping through a read-only region, with both
2226 "breakpoint auto-hw" on and off and both "always-inserted" on and
2227 off.
2228
35a49624
IB
22292014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2230
2231 * gdb.dlang/demangle.exp: Update for demangling changes.
2232
2d1c107c
SC
22332014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2234
2235 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2236 * gdb.cp/non-trivial-retval.exp: Add new tests.
2237
778811d5
SC
22382014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2239
2240 PR c++/13403
2241 PR c++/15154
2242 * gdb.cp/non-trivial-retval.cc: New file.
2243 * gdb.cp/non-trivial-retval.exp: New file.
2244
10c5f0a8
YQ
22452014-10-15 Yao Qi <yao@codesourcery.com>
2246
2247 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2248 remote host.
2249
65d7b369
YQ
22502014-10-15 Yao Qi <yao@codesourcery.com>
2251
2252 * gdb.python/py-symbol.exp: Match file base name if host is
2253 remote, otherwise match file name with dir name.
2254 * gdb.python/py-symtab.exp: Likewise.
2255 * gdb.python/python.exp: Likewise.
2256
46dc1394
YQ
22572014-10-15 Yao Qi <yao@codesourcery.com>
2258
2259 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2260 pattern.
2261 * gdb.python/py-symtab.exp: Likewise.
2262 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2263 locationn.
2264
c40cc657
JB
22652014-10-14 Joel Brobecker <brobecker@adacore.com>
2266
2267 * gdb.ada/addr_arith: New testcase.
2268
2abf49e1
MR
22692014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2270
2271 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2272 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2273 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2274 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2275
f7088df3
SDJ
22762014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2277
2278 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2279 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2280 * gdb.arch/stap-eval-lang-ada.exp: New file.
2281
4dc06805
YQ
22822014-10-14 Yao Qi <yao@codesourcery.com>
2283
2284 * gdb.mi/mi-var-child.c (nothing1): New function.
2285 (nothing2): New function.
2286 (do_children_tests): Set function pointers by nothing1 and
2287 nothing2.
2288 * gdb.mi/mi-var-child.exp: Step over new added statements.
2289 Update test to match the new output.
2290 * gdb.mi/var-cmd.c (nothing1): New function.
2291 (nothing2): New function.
2292 (do_children_tests): Set function pointers by nothing1 and
2293 nothing2.
2294 * gdb.mi/mi-var-display.exp: Update test to match output.
2295 Step to the line specified by $line_dct_nothing.
2296 Increase the number of lines to step.
2297
46a93de2
YQ
22982014-10-14 Yao Qi <yao@codesourcery.com>
2299
2300 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2301 tests.
2302 * gdb.mi/mi2-var-child.exp: Likewise.
2303
14ea52ee
DE
23042014-10-13 Doug Evans <dje@google.com>
2305
2306 * gdb.python/py-objfile.exp: Change name of file name test.
2307
e5c6e92b
DE
23082014-10-13 Doug Evans <dje@google.com>
2309
2310 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2311 from the start of the CU.
2312
c780cc2f
JK
23132014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2314 Yao Qi <yao@codesourcery.com>
2315
2316 Fix "save breakpoints" for "catch" command.
2317 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2318 Remove -nonewline. Match also the added "main" line.
2319
99894e11
JK
23202014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2321
2322 Fix "save breakpoints" for "disable $bpnum" command.
2323 * gdb.base/save-bp.c (main): Add label.
2324 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2325
6e1ac5a3
JK
23262014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2327
2328 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2329
754dd2b0
YQ
23302014-10-11 Yao Qi <yao@codesourcery.com>
2331
2332 * gdb.server/server-kill.exp: Execute command
2333 "set remote trace-status-packet on" before "tstatus".
2334
f90183d7
YQ
23352014-10-11 Yao Qi <yao@codesourcery.com>
2336
2337 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2338 (main): Call getppid.
2339 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2340 and continue to it. Read variable "server_pid".
2341
bf40a607
YQ
23422014-10-11 Yao Qi <yao@codesourcery.com>
2343
2344 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2345
052ca370
YQ
23462014-10-11 Yao Qi <yao@codesourcery.com>
2347
2348 * gdb.threads/thread-find.exp: Don't execute command
2349 "info threads".
2350 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2351 * gdb.threads/linux-dp.exp: Don't check the condition
2352 $threads_created equals to zero.
2353
3831839c
PA
23542014-10-10 Pedro Alves <palves@redhat.com>
2355
2356 * gdb.base/bigcore.exp: Remove references to IRIX.
2357 * gdb.base/funcargs.exp: Likewise.
2358 * gdb.base/interrupt.exp: Likewise.
2359 * gdb.base/mips_pro.exp: Likewise.
2360 * gdb.base/nodebug.exp: Likewise.
2361 * gdb.base/setvar.exp: Likewise.
2362 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2363
8b9a549d
PA
23642014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2365 Pedro Alves <palves@redhat.com>
2366
2367 PR symtab/14466
2368 * gdb.base/vdso-warning.c: New file.
2369 * gdb.base/vdso-warning.exp: New file.
2370
d48ba5e8
DE
23712014-10-02 Doug Evans <dje@google.com>
2372
2373 * gdb.base/structs.c (main): Don't run forever.
2374
2278c276
PA
23752014-10-02 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2378 (top level) <stop threads 1, stop threads 2>: Use it.
2379
b57bacec
PA
23802014-10-02 Pedro Alves <palves@redhat.com>
2381
2382 * gdb.threads/break-while-running.exp (test): Add new
2383 'update_thread_list' argument. Skip "info threads" if false.
2384 (top level): Add new 'update_thread_list' axis.
2385
13fd3ff3
PA
23862014-10-02 Pedro Alves <palves@redhat.com>
2387
2388 PR breakpoints/17431
2389 * gdb.base/execl-update-breakpoints.c: New file.
2390 * gdb.base/execl-update-breakpoints.exp: New file.
2391
0fec99e8
PA
23922014-10-01 Pedro Alves <palves@redhat.com>
2393
2394 * gdb.base/breakpoint-in-ro-region.c: New file.
2395 * gdb.base/breakpoint-in-ro-region.exp: New file.
2396
2ddf4301
SM
23972014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2398
2399 * gdb.mi/mi-exit-code.exp: New file.
2400 * gdb.mi/mi-exit-code.c: New file.
2401
6a5f3f43
YQ
24022014-09-30 Yao Qi <yao@codesourcery.com>
2403
2404 * lib/prelink-support.exp (build_executable_own_libs): Error if
2405 the target isn't native.
2406
345bcc73
YQ
24072014-09-30 Yao Qi <yao@codesourcery.com>
2408
2409 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2410 false.
2411
a25a5a45
PA
24122014-09-22 Pedro Alves <palves@redhat.com>
2413
2414 * gdb.threads/break-while-running.exp: New file.
2415 * gdb.threads/break-while-running.c: New file.
2416
00ba3162
YQ
24172014-09-19 Yao Qi <yao@codesourcery.com>
2418
2419 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2420 Invoke test. Restart GDB with --readnow and invoke test again.
2421
c3b7b696
YQ
24222014-09-19 Yao Qi <yao@codesourcery.com>
2423
2424 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2425 proc set_breakpoint_on_gcd_function. Invoke
2426 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2427 invoke set_breakpoint_on_gcd_function again.
2428
2b4fd423
DE
24292014-09-18 Doug Evans <dje@google.com>
2430
2431 * gdb.dwarf2/symtab-producer.exp: New file.
2432
a5947601
SDJ
24332014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2434
2435 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2436 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2437 * gdb.base/global-var-nested-by-dso.c: Likewise.
2438 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2439
91c19059
SDJ
24402014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2441 Pedro Alves <palves@redhat.com>
2442
2443 * gdb.base/watch-bitfields.exp: Pass string other than test file
2444 name to prepare_for_testing.
2445 (watch): New procedure.
2446 (expect_watchpoint): Use with_test_prefix.
2447 (top level): Factor out tests to ...
2448 (test_watch_location, test_regular_watch): ... these new
2449 procedures, and use with_test_prefix and gdb_continue_to_end.
2450
bb9d5f81
PP
24512014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2452
2453 PR breakpoints/12526
2454 * gdb.base/watch-bitfields.exp: New file.
2455 * gdb.base/watch-bitfields.c: New file.
2456
635856f5
PA
24572014-09-16 Pedro Alves <palves@redhat.com>
2458
2459 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2460 software and hardware addresses, not software address against
2461 itself.
2462
7280ceea
PA
24632014-09-16 Pedro Alves <palves@redhat.com>
2464
2465 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2466 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2467
428b16bd
PA
24682014-09-16 Pedro Alves <palves@redhat.com>
2469
2470 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2471 files.
2472 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2473 "*-*-vxworks*" throughout.
2474 * gdb.base/break.exp: Likewise.
2475 * gdb.base/default.exp: Likewise.
2476 * gdb.base/scope.exp: Likewise.
2477 * gdb.base/sepdebug.exp: Likewise.
2478 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2479 throughout.
2480 * gdb.base/run.c: Likewise.
2481 * gdb.base/sepdebug.c: Likewise.
2482 * gdb.hp/gdb.aCC/run.c: Likewise.
2483 * gdb.reverse/until-reverse.c: Likewise.
2484 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2485
666d413c
YQ
24862014-09-16 Yao Qi <yao@codesourcery.com>
2487
2488 * boards/local-remote-host-native.exp: New file.
2489
57cbd724
DE
24902014-09-14 Doug Evans <xdje42@gmail.com>
2491
2492 * gdb.threads/queue-signal.c (thread_count): New variable.
2493 (thread_count_mutex, thread_count_condvar): New variables.
2494 (incr_thread_count, wait_all_threads_running): New functions.
2495 (main): Wait for all threads to be in their thread functions.
2496
81219e53
DE
24972014-09-13 Doug Evans <xdje42@gmail.com>
2498
2499 * gdb.threads/queue-signal.c: New file.
2500 * gdb.threads/queue-signal.exp: New file.
2501
3714cea7
DE
25022014-09-13 Doug Evans <xdje42@gmail.com>
2503
2504 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2505 be consistent with what default_gdb_init uses.
2506 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2507 the plain text of the prompt. Add some logging printfs.
2508 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2509
fa43b1d7
PA
25102014-09-12 Pedro Alves <palves@redhat.com>
2511
2512 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2513 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2514 * gdb.arch/i386-size-overlap.exp: Likewise.
2515 * gdb.arch/i386-size.exp: Likewise.
2516 * gdb.arch/i386-unwind.exp: Likewise.
2517 * gdb.base/a2-run.exp: Likewise.
2518 * gdb.base/break.exp: Likewise.
2519 * gdb.base/charset.exp: Likewise.
2520 * gdb.base/chng-syms.exp: Likewise.
2521 * gdb.base/commands.exp: Likewise.
2522 * gdb.base/dbx.exp: Likewise.
2523 * gdb.base/find.exp: Likewise.
2524 * gdb.base/funcargs.exp: Likewise.
2525 * gdb.base/jit-simple.exp: Likewise.
2526 * gdb.base/reread.exp: Likewise.
2527 * gdb.base/sepdebug.exp: Likewise.
2528 * gdb.base/step-bt.exp: Likewise.
2529 * gdb.cp/mb-inline.exp: Likewise.
2530 * gdb.cp/mb-templates.exp: Likewise.
2531 * gdb.objc/basicclass.exp: Likewise.
2532 * gdb.threads/killed.exp: Likewise.
2533
9d9bf2df
EBM
25342014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2535
2536 PR tdep/17379
2537 * gdb.arch/powerpc-stackless.S: New file.
2538 * gdb.arch/powerpc-stackless.exp: New file.
2539
1cf2f1b0
JK
25402014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2541
2542 * gdb.base/attach.c: Include unistd.h.
2543 (main): Call alarm. Add label postloop.
2544 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2545 gdb_breakpoint, gdb_continue_to_breakpoint.
2546 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2547
98880d46
PA
25482014-09-11 Pedro Alves <palves@redhat.com>
2549
2550 PR gdb/17347
2551 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2552 * gdb.base/attach.exp (test_command_line_attach_run): New
2553 procedure.
2554 (top level): Call it.
2555
4c92ff2c
PA
25562014-09-11 Pedro Alves <palves@redhat.com>
2557
2558 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2559 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2560 (do_command_attach_tests): Use spawn_wait_for_attach.
2561 * gdb.base/solib-overlap.exp: Likewise.
2562 * gdb.multi/multi-attach.exp: Likewise.
2563 * gdb.python/py-prompt.exp: Likewise.
2564 * gdb.python/py-sync-interp.exp: Likewise.
2565 * gdb.server/ext-attach.exp: Likewise.
2566
3adc1a7d
GKB
25672014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2568
2569 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2570 command in testcase. Simplify testcase.
2571
96334934
JB
25722014-09-10 Joel Brobecker <brobecker@adacore.com>
2573
2574 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2575
eb479039
JB
25762014-09-10 Joel Brobecker <brobecker@adacore.com>
2577
2578 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2579
deede10c
JB
25802014-09-10 Joel Brobecker <brobecker@adacore.com>
2581
2582 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2583
7828a5f5
JB
25842014-09-10 Joel Brobecker <brobecker@adacore.com>
2585
2586 * gdb.dwarf2/dynarr-ptr.c: New file.
2587 * gdb.dwarf2/dynarr-ptr.exp: New file.
2588
33aeebcf
MR
25892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2590
2591 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2592 of 30 rather than hardcoding 120 for a slow test case. Take the
2593 `gdb,timeout' target setting into account for this calculation.
2594 Don't extend the timeout for the test cases that don't need it.
2595
7b415901
MR
25962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2597
2598 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2599 a factor of 2 for a slow test case. Take the `gdb,timeout'
2600 target setting into account for this calculation.
2601 * gdb.reverse/until-precsave.exp: Increase the timeout by
2602 a factor of 15 and 3 respectively rather than adding 120
2603 for a pair of slow test cases. Take the `gdb,timeout'
2604 target setting into account for this calculation.
2605
4a40f85a
MR
26062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2607
2608 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2609 timeout, don't pass one down to gdb_expect.
2610 (gdb_expect): Rework timeout selection.
2611
09635af7
MR
26122014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2613
2614 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2615 exception on timeout.
2616 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2617 (gdbserver_start_extended): Catch any `gdbserver_start' error
2618 exceptions.
2619 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2620 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2621 `gdbserver_gdb_load' error exceptions.
2622
2bdd10b7
MR
26232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2624
2625 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2626 120 on waiting for the TCP socket to open.
2627
316935f0
DE
26282014-09-09 Doug Evans <xdje42@gmail.com>
2629
2630 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2631 _caller_matches, _any_caller_is, _any_caller_matches.
2632
83740597
DE
26332014-09-09 Doug Evans <xdje42@gmail.com>
2634
2635 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2636
4c122fc3
YQ
26372014-09-09 Yao Qi <yao@codesourcery.com>
2638
2639 * gdb.mi/mi-var-display.exp: Set print symbol off.
2640
a9f116cb
GKB
26412014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2642
2643 PR gdb/17035
2644 * gdb.base/commands.exp: Add tests to verify user-defined
2645 commands with empty bodies.
2646 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2647 python commands in `show user command`.
2648 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2649 scheme commands in `show user command`.
2650
c75bd3a2
JK
26512014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2652
2653 PR python/17355
2654 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2655 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2656 * gdb.python/py-framefilter-invalidarg.exp: New file.
2657 * gdb.python/py-framefilter-invalidarg.py: New file.
2658
faa42425
DE
26592014-09-06 Doug Evans <xdje42@gmail.com>
2660
2661 PR 15276
2662 * gdb.python/py-caller-is.c: New file.
2663 * gdb.python/py-caller-is.exp: New file.
2664
474ca4f6
SDJ
26652014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2666
2667 PR gdb/17235
2668 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2669 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2670
eb0b0463
SDJ
26712014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2672
2673 PR fortran/17237
2674 * gdb.fortran/print-formatted.exp: New file.
2675 * gdb.fortran/print-formatted.f90: Likewise.
2676
5f3b99cf
SS
26772014-09-03 Sasha Smundak <asmundak@google.com>
2678
2679 * gdb.python/py-frame.exp: Test Frame.read_register.
2680
7d793aa9
SDJ
26812014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2682
2683 PR python/16699
2684 * gdb.python/py-completion.exp: New file.
2685 * gdb.python/py-completion.py: Likewise.
2686
fb0576e9
DE
26872014-08-28 Doug Evans <dje@google.com>
2688
2689 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2690 eax,etc. are live with values set by gdb and thus the compiler can't
2691 use them.
2692 * gdb.arch/i386-pseudo.c (main): Ditto.
2693
ee92b0dd
DE
26942014-08-27 Doug Evans <dje@google.com>
2695
2696 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2697
6649db35
DE
26982014-08-25 Doug Evans <dje@google.com>
2699
2700 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2701 (main): Ditto.
2702
564b7600
DE
27032014-08-25 Doug Evans <dje@google.com>
2704
2705 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2706
3881fb67
YQ
27072014-08-24 Yao Qi <yao@codesourcery.com>
2708
2709 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2710 symbol off.
2711 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2712
a05a36a5
DE
27132014-08-22 Doug Evans <dje@google.com>
2714
2715 PR 17276
2716 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2717 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2718 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2719
7c343b48
YQ
27202014-08-22 Yao Qi <yao@codesourcery.com>
2721
2722 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2723 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2724 * gdb.python/python.exp: Likewise. Use .py file on the host
2725 instead of the build.
2726
22fd09ae
JK
27272014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2728
2729 * gdb.threads/gcore-stale-thread.c: New file.
2730 * gdb.threads/gcore-stale-thread.exp: New file.
2731
a8454a7c
PA
27322014-08-21 Pedro Alves <palves@redhat.com>
2733
2734 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2735 * gdb.base/gcore-relro-pie.exp: Likewise.
2736 * gdb.base/gcore-relro.exp: Likewise.
2737 * gdb.base/gcore.exp: Likewise.
2738 * gdb.base/print-symbol-loading.exp: Likewise.
2739 * gdb.threads/gcore-thread.exp: Likewise.
2740 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2741
2a31c623
PA
27422014-08-20 Pedro Alves <palves@redhat.com>
2743 Jan Kratochvil <jan.kratochvil@redhat.com>
2744
2745 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2746 configure.
2747 (EXPECT): Handle READ1 being set.
2748 (all): Depend on EXTRA_RULES.
2749 (check-read1, expect-read1, read1.so, read1): New rules.
2750 * README (Testsuite Parameters): Document the READ1 make variable.
2751 (Race detection): New section.
2752 * configure: Regenerate.
2753 * configure.ac: If build==host==target, and running under a
2754 GNU/glibc system, add read1 to the extra Makefile rules.
2755 (EXTRA_RULES): AC_SUBST it.
2756 * lib/read1.c: New file.
2757
d36430db
JB
27582014-08-20 Joel Brobecker <brobecker@adacore.com>
2759
2760 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2761 the handling of variables declared as a typedef to an array
2762 which a DW_AT_data_location attribute.
2763
9a0dc9e3
PA
27642014-08-19 Andrew Burgess <aburgess@broadcom.com>
2765 Pedro Alves <palves@redhat.com>
2766
2767 PR symtab/14604
2768 PR symtab/14605
2769 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2770 gdb_test.
2771
0718a8da
PA
27722014-08-19 Pedro Alves <palves@redhat.com>
2773
2774 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2775
13b448cd
YQ
27762014-08-19 Yao Qi <yao@codesourcery.com>
2777
2778 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2779 right line.
2780
1cbf5077
DB
27812014-08-18 David Blaikie <dblaikie@gmail.com>
2782
2783 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2784
bf0fae19
JB
27852014-08-18 Joel Brobecker <brobecker@adacore.com>
2786
2787 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2788 attribute in array range.
2789
3c8c5dcc
JB
27902014-08-18 Joel Brobecker <brobecker@adacore.com>
2791
2792 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2793
e66d4446
SC
27942014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2795
2796 PR c++/17132
2797 * gdb.cp/pr17132.cc: New file.
2798 * gdb.cp/pr17132.exp: New file.
2799
940df408
SC
28002014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2801
2802 * gdb.python/py-xmethods.py (A_getarrayind)
2803 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2804 Use 'print' with function call syntax.
2805 (E_method_matcher.match): Fix tab vs space indentation mixup.
2806
ebcc6c3a
YQ
28072014-08-15 Yao Qi <yao@codesourcery.com>
2808
2809 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2810 false.
2811
775e0f04
YQ
28122014-08-15 Yao Qi <yao@codesourcery.com>
2813
2814 * gdb.cp/casts.exp: Set print symbol off.
2815 * gdb.cp/class2.exp: Likewise.
2816 * gdb.cp/overload.exp: Likewise.
2817 * gdb.cp/templates.exp: Likewise.
2818
d769e349
DE
28192014-08-11 Doug Evans <dje@google.com>
2820
2821 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2822 (test_load_shlib): Update.
2823
20c6f1e1
YQ
28242014-08-09 Yao Qi <yao@codesourcery.com>
2825
2826 * gdb.base/display.exp: Invoke is_address_zero_readable.
2827 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2828 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2829 * gdb.base/hbreak-unmapped.exp: Return if
2830 is_address_zero_readable returns true.
2831 * gdb.base/signest.exp: Likewise.
2832 * gdb.base/signull.exp: Likewise.
2833 * gdb.base/sigbpt.exp: Likewise.
2834 * gdb.guile/scm-disasm.exp: Do the test if
2835 is_address_zero_readable returns false.
2836 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2837 * gdb.python/py-arch.exp: Likewise.
2838 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2839 * lib/gdb.exp (is_address_zero_readable): New proc.
2840
5792e8e3
YQ
28412014-08-09 Yao Qi <yao@codesourcery.com>
2842
2843 PR testsuite/13443
2844 * gdb.mi/mi-var-display.exp: Make test messages unique.
2845
3cecbbbe
TT
28462014-08-04 Tom Tromey <tromey@redhat.com>
2847
2848 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2849 target 0".
2850
00b51ff5
TT
28512014-08-04 Tom Tromey <tromey@redhat.com>
2852
2853 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2854 "target_resume".
2855
6908c509
JB
28562014-08-01 Joel Brobecker <brobecker@adacore.com>
2857
2858 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2859 inner_vla_struct_object_size.
2860 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2861 as xfail.
2862
cc6563d2
PA
28632014-07-30 Pedro Alves <palves@redhat.com>
2864
2865 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2866 comment.
2867
7e09a223
YQ
28682014-07-29 Yao Qi <yao@codesourcery.com>
2869
2870 PR gdb/17206
2871 * gdb.base/until-nodebug.exp: New.
2872
7ebdbe92
DE
28732014-07-28 Doug Evans <xdje42@gmail.com>
2874
2875 PR guile/17203
2876 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2877 previously existing parameter, and previously ambiguously spelled
2878 parameter.
2879
fdb1adc6
WN
28802014-07-28 Will Newton <will.newton@linaro.org>
2881
2882 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2883
186fcde0
DE
28842014-07-26 Ludovic Courtès <ludo@gnu.org>
2885 Doug Evans <xdje42@gmail.com>
2886
2887 PR guile/17146
2888 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2889
70509625
PA
28902014-07-25 Pedro Alves <palves@redhat.com>
2891
2892 * gdb.threads/signal-command-handle-nopass.c: New file.
2893 * gdb.threads/signal-command-handle-nopass.exp: New file.
2894 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2895 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2896 * gdb.threads/signal-delivered-right-thread.c: New file.
2897 * gdb.threads/signal-delivered-right-thread.exp: New file.
2898
c3f814a1
PA
28992014-07-25 Pedro Alves <palves@redhat.com>
2900
2901 * gdb.base/double-prompt-target-event-error.exp
2902 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2903 match.
2904 (cancel_pagination_in_target_event): Rework double prompt
2905 detection.
2906 * gdb.base/paginate-after-ctrl-c-running.exp
2907 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2908 <return>' match.
2909 * gdb.base/paginate-bg-execution.exp
2910 (test_bg_execution_pagination_return)
2911 (test_bg_execution_pagination_cancel): Remove '-notransfer
2912 <return>' matches.
2913 * gdb.base/paginate-execution-startup.exp
2914 (test_fg_execution_pagination_return)
2915 (test_fg_execution_pagination_cancel): Remove '-notransfer
2916 <return>' matches.
2917 * gdb.base/paginate-inferior-exit.exp
2918 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2919 match.
2920 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2921 * lib/gdb.exp (pagination_prompt): Run text through
2922 string_to_regexp.
2923 (gdb_test_multiple): Match $pagination_prompt instead of
2924 "<return>".
2925 (string_to_regexp): Move to lib/gdb-utils.exp.
2926
e214cf6c
JK
29272014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2928
2929 * gdb.arch/amd64-entry-value-paramref.S: New file.
2930 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2931 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2932 * gdb.arch/amd64-optimout-repeat.S: New file.
2933 * gdb.arch/amd64-optimout-repeat.c: New file.
2934 * gdb.arch/amd64-optimout-repeat.exp: New file.
2935
17d0c5c8
JK
29362014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2937
2938 PR gdb/17170
2939 * gdb.base/statistics.exp: New file.
2940
b8b8facf
DE
29412014-07-17 Doug Evans <dje@google.com>
2942
74b49205 2943 PR gdb/17170
b8b8facf
DE
2944 * gdb.base/maint.exp: Update testing of per-command stats.
2945
1b5d0ab3
PA
29462014-07-16 Pedro Alves <palves@redhat.com>
2947
2948 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2949 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2950 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2951 (tfile_write_buf): New functions.
2952 (add_memory_block): Rewrite using the above.
2953 (adjust_function_address): New function.
2954 (FUNCTION_ADDRESS): New macro.
2955 (write_basic_trace_file): Remove short_x local, and use
2956 tfile_write_16. Change type of func_addr local to unsigned long
2957 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2958 here. Cast argument of add_memory_block to char pointer.
2959 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2960 (main): Remove parameters.
2961 * gdb.trace/tfile.exp: Remove nowarnings.
2962
4d974e88
SM
29632014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2964
2965 * gdb.base/debug-expr.exp: Test string evaluation with
2966 "debug expression" on.
2967
41e99568
PA
29682014-07-15 Pedro Alves <palves@redhat.com>
2969
2970 * gdb.base/reread.exp: Use clean_restart.
2971
487d9753
PL
29722014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2973
2974 * gdb.arch/avr-flash-qualifer.c: New.
2975 * gdb.arch/avr-flash-qualifer.exp: New.
2976
cc1c52ad
PA
29772014-07-14 Pedro Alves <palves@redhat.com>
2978
2979 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2980 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2981
1e973570
PA
29822014-07-14 Pedro Alves <palves@redhat.com>
2983
2984 * gdb.base/double-prompt-target-event-error.c: New file.
2985 * gdb.base/double-prompt-target-event-error.exp: New file.
2986
93d6eb10
PA
29872014-07-14 Pedro Alves <palves@redhat.com>
2988
2989 PR gdb/17072
2990 * gdb.base/paginate-inferior-exit.c: New file.
2991 * gdb.base/paginate-inferior-exit.exp: New file.
2992
0017922d
PA
29932014-07-14 Pedro Alves <palves@redhat.com>
2994
2995 PR gdb/17072
2996 * gdb.base/paginate-bg-execution.c: New file.
2997 * gdb.base/paginate-bg-execution.exp: New file.
2998
94696ad3
PA
29992014-07-14 Pedro Alves <palves@redhat.com>
3000
3001 PR gdb/17072
3002 * gdb.base/paginate-execution-startup.c: New file.
3003 * gdb.base/paginate-execution-startup.exp: New file.
3004 * lib/gdb.exp (pagination_prompt): New global.
3005 (default_gdb_spawn): New procedure, factored out from
3006 default_gdb_spawn.
3007 (default_gdb_start): Adjust to call default_gdb_spawn.
3008 (gdb_spawn): New procedure.
3009
bd293940
PA
30102014-07-14 Pedro Alves <palves@redhat.com>
3011
3012 * lib/gdb.exp (gdb_assert): New procedure.
3013 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3014
c933f875
PA
30152014-07-14 Pedro Alves <palves@redhat.com>
3016
3017 * gdb.base/execution-termios.c: New file.
3018 * gdb.base/execution-termios.exp: New file.
3019
d98b7a16
TT
30202014-07-14 Tom Tromey <tromey@redhat.com>
3021
3022 * gdb.cp/vla-cxx.cc: New file.
3023 * gdb.cp/vla-cxx.exp: New file.
3024
548740d6
TT
30252014-07-14 Tom Tromey <tromey@redhat.com>
3026
3027 * gdb.reverse/rerun-prec.c: New file.
3028 * gdb.reverse/rerun-prec.exp: New file.
3029
a25eb028
MR
30302014-07-12 Maciej W. Rozycki <macro@mips.com>
3031 Maciej W. Rozycki <macro@codesourcery.com>
3032
3033 * lib/gdb-utils.exp: New file.
3034 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3035 inline `gdb_init_command' processing.
3036 (gdb_start_cmd): Likewise.
3037 * lib/mi-support.exp (mi_run_cmd): Likewise.
3038 * README: Document `gdb_init_command' and `gdb_init_commands'.
3039
218c2655
JK
30402014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3041
3042 Fix false FAIL running under a very long directory name.
3043 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3044 and "set print elements 10000". Twice.
3045
5401fde3
YQ
30462014-07-11 Yao Qi <yao@codesourcery.com>
3047
3048 * gdb.base/exprs.exp: "set print symbol off".
3049
e76126e8
PA
30502014-07-11 Pedro Alves <palves@redhat.com>
3051
3052 * gdb.threads/kill.c: New file.
3053 * gdb.threads/kill.exp: New file.
3054
2d6f0de6
YQ
30552014-07-10 Yao Qi <yao@codesourcery.com>
3056
3057 * gdb.trace/tfile.c (write_basic_trace_file)
3058 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3059 address written to trace file.
3060
7180e04a
PA
30612014-07-09 Pedro Alves <palves@redhat.com>
3062
3063 * gdb.base/attach-wait-input.exp: New file.
3064 * gdb.base/attach-wait-input.c: New file.
3065
9a9a7608
AB
30662014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3067
3068 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3069 setting up test structures.
3070 (main): Call new test function.
3071 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3072 test function, continue into test function and walk test
3073 structures.
3074
161ac41e
YQ
30752014-07-02 Yao Qi <yao@codesourcery.com>
3076
3077 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3078 'bar_start' at the beginning of functions 'foo' and 'bar'
3079 respectively.
3080 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3081 instead of 'foo' and 'bar'.
3082
1f267ae3
MM
30832014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3084
3085 * gdb.btrace/segv.exp: New.
3086 * gdb.btrace/segv.c: New.
3087
2b239efb
LM
30882014-07-02 Luis Machado <lgustavo@codesourcery.com>
3089
3090 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3091 instruction.
3092
cf363f18
MW
30932014-06-30 Mark Wielaard <mjw@redhat.com>
3094
3095 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3096 vulture, vilify, villar): New volatile array constants.
3097 (vindictive, vegetation): New const volatile array constants.
3098 * gdb.base/volatile.exp: Test volatile and const volatile array
3099 types.
3100
aebf9d24
AA
31012014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3102
3103 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3104 target lacks support for awatch, rwatch, or hbreak.
3105
b67a2c6f
YQ
31062014-06-27 Yao Qi <yao@codesourcery.com>
3107
3108 * gdb.multi/dummy-frame-restore.exp: New.
3109 * gdb.multi/dummy-frame-restore.c: New.
3110
aef92902
MM
31112014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3112
3113 * gdb.btrace/gcore.exp: New.
3114
8e9db26e
PA
31152014-06-23 Pedro Alves <palves@redhat.com>
3116
3117 * gdb.base/watchpoint-reuse-slot.c: New file.
3118 * gdb.base/watchpoint-reuse-slot.exp: New file.
3119
70afc5b7
SC
31202014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3121
3122 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3123 progspace's filename in 'info', 'enable' and 'disable' command
3124 tests.
3125
b972bd9c
JK
31262014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3127
3128 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3129 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3130 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3131
125f8a3d
GB
31322014-06-20 Gary Benson <gbenson@redhat.com>
3133
3134 * gdb.arch/i386-avx.exp: Fix include file location.
3135 * gdb.arch/i386-sse.exp: Likewise.
3136
3ed9baed
IB
31372014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3138
3139 * gdb.dlang/expression.exp: New file.
3140
034f788c
PA
31412014-06-19 Pedro Alves <palves@redhat.com>
3142
3143 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3144 out from ...
3145 (top level): ... here. Iterate running tests under different
3146 scheduler-locking settings.
3147
45371d0c
LM
31482014-06-18 Luis Machado <lgustavo@codesourcery.com>
3149
3150 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3151 to DW_FORM_addr and use non-zero addresses.
3152
5d376983
SC
31532014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3154
3155 PR gdb/17017
3156 * gdb.python/py-xmethods.cc: Add global function call counters and
3157 increment them in their respective functions. Remove "cout"
3158 statements.
3159 * gdb.python/py-xmethods.exp: Make tests check the global function
3160 call counters instead of depending on inferior IO.
3161
a1aa2221
LM
31622014-06-18 Don Breazeal <donb@codesourcery.com>
3163
3164 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3165 Deleted procedure.
3166 (explicit_fork_parent_follow): Deleted procedure.
3167 (explicit_fork_child_follow): Deleted procedure.
3168 (test_follow_fork): New procedure.
3169 (do_fork_tests): Replace calls to deleted procedures with
3170 calls to test_follow_fork and reset GDB for subsequent
3171 procedure calls.
3172
0fc05997
YQ
31732014-06-17 Yao Qi <yao@codesourcery.com>
3174
3175 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3176 CP1252.
3177
70795c52
LM
31782014-06-17 Luis Machado <lgustavo@codesourcery.com>
3179
3180 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3181 Initialize ptr and S explicitly.
3182 (skip_type_update_when_not_use_rtti_test): Likewise.
3183
6be47f0c
KS
31842014-06-16 Keith Seitz <keiths@redhat.com>
3185
3186 PR mi/15863
3187 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3188 the inferior is started.
3189
d03de421
PA
31902014-06-16 Pedro Alves <palves@redhat.com>
3191
3192 * gdb.base/break-main-file-remove-fail.c: New file.
3193 * gdb.base/break-main-file-remove-fail.exp: New file.
3194 * gdb.base/break-unload-file.exp: Use build_executable instead of
3195 prepare_for_testing.
3196 (test_break): New parameter "initial_load". Handle it.
3197 (top level): Add initial_load cmdline/file axis.
3198
f9579b99
TT
31992014-06-12 Tom Tromey <tromey@redhat.com>
3200
3201 * gdb.base/completion.exp: Don't use directory name in test.
3202
3657956b
GB
32032014-06-09 Gary Benson <gbenson@redhat.com>
3204
3205 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3206 separate the always-available ANSI-standard signals from the
3207 signals that require checking.
3208 (main): Likewise.
3209 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3210 Likewise.
3211 (main): Likewise.
3212
4186eb54
KS
32132014-06-07 Keith Seitz <keiths@redhat.com>
3214
3215 Revert:
3216 PR c++/16253
3217 * gdb.cp/var-tag.cc: New file.
3218 * gdb.cp/var-tag.exp: New file.
3219 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3220 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3221 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3222 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3223
25326a28 32242014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3225
3226 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3227
829155c9
PA
32282014-06-06 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3231 in target debug output instead of looking at RSP packets,
3232 disabling the test on any target that uses hardware stepping.
3233 Update comments.
3234
61c8d22e
PA
32352014-06-06 Pedro Alves <palves@redhat.com>
3236
3237 * gdb.base/break-unload-file.exp: Fix typo.
3238
d9a47287
YQ
32392014-06-06 Yao Qi <yao@codesourcery.com>
3240
3241 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3242 from "jit_function" to "^jit_function".
3243
e5e01dbf
YQ
32442014-06-06 Yao Qi <yao@codesourcery.com>
3245
3246 * gdb.base/async.c (foo): Add one statement.
3247 * gdb.base/async.exp: Get the next instruction address and
3248 match the output of "nexti" by instruction address. Match
3249 the hex address in the output of "finish".
3250
73ba372c
GB
32512014-06-06 Gary Benson <gbenson@redhat.com>
3252
3253 * gdb.base/call-signals.c: Remove preprocessor conditionals
3254 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3255 SIGSEGV and SIGTERM.
3256 * gdb.base/sigall.c: Likewise.
3257 * gdb.base/unwindonsignal.c: Likewise.
3258 * gdb.reverse/sigall-reverse.c: Likewise.
3259
831517df
YQ
32602014-06-06 Yao Qi <yao@codesourcery.com>
3261
3262 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3263 readable, skip the test.
3264
b8b91e98
YQ
32652014-06-06 Yao Qi <yao@codesourcery.com>
3266
3267 * gdb.threads/staticthreads.c (thread_function): Move the line
3268 setting breakpoint on forward.
3269 * gdb.threads/staticthreads.exp: Update comments.
3270
fb934770
LC
32712014-06-05 Ludovic Courtès <ludo@gnu.org>
3272
3273 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3274 "history-append! type error".
3275
6ef284bd
SM
32762014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3277
3278 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3279 erroneous dprintf expected input.
3280
a872e241
DE
32812014-06-04 Doug Evans <xdje42@gmail.com>
3282
3283 * gdb.guile/scm-generics.exp: Delete.
3284
16f691fb
DE
32852014-06-04 Doug Evans <xdje42@gmail.com>
3286
3287 * gdb.guile/scm-breakpoint.exp: Update.
3288 Add tests for breakpoint registration.
3289
012370f6
TT
32902014-06-04 Tom Tromey <tromey@redhat.com>
3291
3292 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3293 VLA-in-union.
3294 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3295 inner_vla_struct, vla_union types. Initialize objects of those
3296 types and compute their sizes.
3297
9f5a4cef
HZ
32982014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3299 Hui Zhu <hui@codesourcery.com>
3300
3301 * gdb.base/fileio.exp: Add test for shell not available as well as
3302 available.
3303 * gdb.base/fileio.c (test_system): Check for shell twice.
3304
90a45c4d
YQ
33052014-06-04 Yao Qi <yao@codesourcery.com>
3306
3307 * gdb.base/auto-connect-native-target.exp: Remove redundant
3308 space from the regexp pattern.
3309
70017e41
YQ
33102014-06-04 Yao Qi <yao@codesourcery.com>
3311
3312 * gdb.base/default.exp: Replace "child" with "native" in
3313 regexp pattern.
3314
883964a7
SC
33152014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3316
3317 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3318 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3319 * gdb.python/py-xmethods.py: Python script supporting the
3320 new testcase and tests.
3321
ef370185
JB
33222014-06-03 Joel Brobecker <brobecker@adacore.com>
3323 Pedro Alves <palves@redhat.com>
3324
3325 PR breakpoints/17000
3326 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3327 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3328
1e2ccb61
BM
33292014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3330
3331 * gdb.base/subst.exp: Add tests to verify partial path matching
3332 output.
3333
c6ec5ab2
PA
33342014-06-03 Pedro Alves <palves@redhat.com>
3335
3336 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3337 target that doesn't use software single-stepping.
3338
835c559f
PA
33392014-06-03 Pedro Alves <palves@redhat.com>
3340
3341 PR breakpoints/17000
3342 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3343 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3344
06eb1586
DE
33452014-06-02 Doug Evans <xdje42@gmail.com>
3346
3347 * gdb.guile/scm-parameter.exp: New file.
3348
e698b8c4
DE
33492014-06-02 Doug Evans <xdje42@gmail.com>
3350
3351 * gdb.guile/scm-cmd.c: New file.
3352 * gdb.guile/scm-cmd.exp: New file.
3353
ded03782
DE
33542014-06-02 Doug Evans <xdje42@gmail.com>
3355
3356 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3357 pretty-printer lookup.
3358 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3359 (make-pp_s-printer): Call it.
3360 (make-pretty-printer-from-dict): New function.
3361 (lookup-pretty-printer-maker-from-dict): New function.
3362 (*pretty-printer*): Simplify.
3363 (make-objfile-pp_s-printer): New function.
3364 (install-objfile-pretty-printers!): New function.
3365 (make-progspace-pp_s-printer): New function.
3366 (install-progspace-pretty-printers!): New function.
3367 * gdb.guile/scm-progspace.c: New file.
3368 * gdb.guile/scm-progspace.exp: New file.
3369
41fac0cf
PA
33702014-06-02 Pedro Alves <palves@redhat.com>
3371
3372 * gdb.base/dprintf-bp-same-addr.c: New file.
3373 * gdb.base/dprintf-bp-same-addr.exp: New file.
3374
96ae5695
EBM
33752014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3376
3377 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3378 * gdb.arch/powerpc-power.s: Likewise.
3379
da02b3a8
JB
33802014-06-02 Joel Brobecker <brobecker@adacore.com>
3381
3382 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3383
c72b2e7b
YQ
33842014-06-01 Yao Qi <yao@codesourcery.com>
3385
3386 * gdb.base/watchpoint.exp (test_watch_location): Check null
3387 pointer can be dereferenced. If not, do the test, otherwise
3388 skip it.
3389
53e8a631
AB
33902014-05-30 Andrew Burgess <aburgess@broadcom.com>
3391
3392 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3393 results.
3394 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3395
938f0e2f
AB
33962014-05-30 Andrew Burgess <aburgess@broadcom.com>
3397
3398 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3399 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3400 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3401 * gdb.arch/amd64-invalid-stack-top.c: New file.
3402 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3403
9ba6657a
PA
34042014-05-30 Pedro Alves <palves@redhat.com>
3405
3406 PR breakpoints/17000
3407 * gdb.base/sss-bp-on-user-bp.c: New file.
3408 * gdb.base/sss-bp-on-user-bp.exp: New file.
3409
522c09bf
DB
34102014-05-30 David Blaikie <dblaikie@gmail.com>
3411
3412 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3413 gnu_inline semantics via attribute.
3414 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3415 source explicitly specifies the required semantics.
3416
bf4ef81e
MR
34172014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3418
3419 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3420
329ea579
PA
34212014-05-29 Pedro Alves <palves@redhat.com>
3422 Tom Tromey <tromey@redhat.com>
3423
3424 * gdb.base/async-shell.exp: Don't enable target-async.
3425 * gdb.base/async.exp
3426 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3427 parameter. Adjust.
3428 (top level): Don't test with "target-async".
3429 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3430 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3431 * gdb.base/inferior-died.exp: Don't enable target-async.
3432 * gdb.base/interrupt-noterm.exp: Likewise.
3433 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3434 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3435 * gdb.mi/mi-nonstop.exp: Likewise.
3436 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3437 * gdb.mi/mi-nsintrall.exp: Likewise.
3438 * gdb.mi/mi-nsmoribund.exp: Likewise.
3439 * gdb.mi/mi-nsthrexec.exp: Likewise.
3440 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3441 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3442 * gdb.python/py-evsignal.exp: Don't enable target-async.
3443 * gdb.python/py-evthreads.exp: Likewise.
3444 * gdb.python/py-prompt.exp: Likewise.
3445 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3446 * gdb.server/solib-list.exp: Don't enable target-async.
3447 * gdb.threads/thread-specific-bp.exp: Likewise.
3448 * lib/mi-support.exp: Adjust to use mi-async.
3449
fd664c91
PA
34502014-05-29 Pedro Alves <palves@redhat.com>
3451
3452 PR gdb/13860
3453 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3454 reason, even in sync mode.
3455
251bde03
PA
34562014-05-29 Pedro Alves <palves@redhat.com>
3457 Hui Zhu <hui@codesourcery.com>
3458
3459 PR PR15693
3460 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3461 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3462 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3463 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3464
7f3c0343
JB
34652014-05-28 Joel Brobecker <brobecker@adacore.com>
3466
3467 * config/monitor.exp (gdb_target_monitor): Replace use of
3468 "set remotebaud" by "set serial baud".
3469
b2715b27
AW
34702014-05-26 Andy Wingo <wingo@igalia.com>
3471
3472 * gdb.guile/scm-breakpoint.exp:
3473 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3474 properties instead of gdb-object-properties.
3475
498a4489
YQ
34762014-05-26 Yao Qi <yao@codesourcery.com>
3477
3478 * gdb.server/no-thread-db.exp: Specify source file name
3479 explicitly when setting a breakpoint.
3480
589fdceb
MM
34812014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3482
3483 * gdb.btrace/vdso.c: New.
3484 * gdb.btrace/vdso.exp: New.
3485
e9089e05
MM
34862014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3487
3488 * gdb.base/gcore.exp (capture_command_output): Move ...
3489 * lib/gdb.exp (capture_command_output): ... here.
3490
67b5c0c1
MM
34912014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3492
3493 * gdb.btrace/data.exp: Test memory access during btrace replay.
3494
a2199296
SM
34952014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3496
3497 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3498
17b2616c
PA
34992014-05-21 Pedro Alves <palves@redhat.com>
3500
3501 PR gdb/13860
3502 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3503 (top level): Test that output related to execution commands is
3504 sent to the console with CLI commands, but not with MI commands.
3505 Test that breakpoint events are always mirrored to the console.
3506 Also expect the new source line to be output after a "next" in
3507 async mode too. Make it a pass/fail test.
3508 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3509 output.
3510 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3511
5166082f
PA
35122014-05-21 Pedro Alves <palves@redhat.com>
3513
3514 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3515 Use them to test variations of "list" after reaching a breakpoint.
3516 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3517 Test "list" with listsize 10 after reaching a breakpoint.
3518 * gdb.python/python.exp (decode_line current location line
3519 number): Adjust expected line number.
3520
2f25d70f
SM
35212014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3522
3523 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3524 behavior for $args, pass it directly to "run".
3525
ff604a67
MR
35262014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3527
3528 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3529 30000 to 65536.
3530
6a3cb8e8
PA
35312014-05-21 Pedro Alves <palves@redhat.com>
3532
3533 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3534 auto-connect-native-target off".
3535 * gdb.base/auto-connect-native-target.c: New file.
3536 * gdb.base/auto-connect-native-target.exp: New file.
3537
4ebfc96e
PA
35382014-05-21 Pedro Alves <palves@redhat.com>
3539
3540 * gdb.base/default.exp: Test "target native" instead of "target
3541 child".
3542
36d46afb
MW
35432014-05-21 Mark Wielaard <mjw@redhat.com>
3544
3545 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3546
5876f503
JK
35472014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3548
3549 Fix TLS access for -static -pthread.
3550 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3551 <HAVE_TLS> (thread_function, main): Initialize it.
3552 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3553 Add clean_restart.
3554 <$have_tls != "">: Check TLSVAR.
3555
0256a6ac
PA
35562014-05-21 Pedro Alves <palves@redhat.com>
3557
3558 * gdb.base/dcache-line-read-error.c: New.
3559 * gdb.base/dcache-line-read-error.exp: New.
3560
936d2992
PA
35612014-05-20 Pedro Alves <palves@redhat.com>
3562
3563 * gdb.base/compare-sections.c: New file.
3564 * gdb.base/compare-sections.exp: New file.
3565
802e8e6d
PA
35662014-05-20 Pedro Alves <palves@redhat.com>
3567
3568 * gdb.base/break-idempotent.c: New file.
3569 * gdb.base/break-idempotent.exp: New file.
3570
e59fa00f
MM
35712014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3572
3573 * gdb.btrace/nohist.exp: New.
3574
8b696e31
YQ
35752014-05-20 Yao Qi <yao@codesourcery.com>
3576
3577 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3578 gdb.reverse directory and gdb_reverse_timeout exists in board
3579 setting.
3580 * README: Document gdb_reverse_timeout.
3581
73c9764f
YQ
35822014-05-20 Yao Qi <yao@codesourcery.com>
3583
3584 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3585 'test_file_name'. Treat args as a string instead of a list.
3586 (gdb_init): Rename argument 'args' by 'test_file_name'.
3587
f1f4348a
JK
35882014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3589
3590 * gdb.arch/powerpc-power.exp: New file.
3591 * gdb.arch/powerpc-power.s: New file.
3592
0dbe70ce
DE
35932014-05-16 Doug Evans <dje@google.com>
3594
3595 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3596 * gdb.base/completion.exp: Check that all expected files exist
3597 before doing file completion.
0dbe70ce 3598
8d551b02
DE
35992014-05-16 Doug Evans <dje@google.com>
3600
3601 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3602 Update.
3603 (do_syscall_tests_without_xml): Update.
3604
73eb7709
PA
36052014-05-16 Pedro Alves <palves@redhat.com>
3606
3607 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3608 instead of "unknown output after running".
3609
3fae92fc
YQ
36102014-05-16 Yao Qi <yao@codesourcery.com>
3611
3612 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3613 file1.txt from host at the end.
3614 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3615
c2b2ccc5
DE
36162014-05-15 Doug Evans <dje@google.com>
3617
3618 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3619 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3620 loading file. Add test for TU lookup.
3621
8c217a4b
SM
36222014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3623
3624 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3625 calling "-exec-arguments" or "set args" before running the
3626 inferior.
3627
3deb39c6
SM
36282014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3629
3630 * lib/mi-support.exp (mi_expect_stop): Expect message for
3631 inferiors that exit with non-zero exit code.
3632
71a79f8c
YQ
36332014-05-14 Yao Qi <yao@codesourcery.com>
3634
3635 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3636 match absolute path on remote host.
3637 (test_file_list_exec_source_files): Remove "/" from the
3638 pattern.
3639
f23fcd46
YQ
36402014-05-14 Yao Qi <yao@codesourcery.com>
3641
3642 * boards/local-remote-host-notty.exp (${board}_file): New
3643 proc.
3644
9404b58f
KM
36452014-05-07 Kyle McMartin <kyle@redhat.com>
3646
3647 Pushed by Joel Brobecker <brobecker@adacore.com>.
3648 * gdb.arch/aarch64-atomic-inst.c: New file.
3649 * gdb.arch/aarch64-atomic-inst.exp: New file.
3650
5e45f04c
YQ
36512014-05-07 Yao Qi <yao@codesourcery.com>
3652
3653 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3654 in current context" too.
3655
c888a17d
KS
36562014-05-05 Keith Seitz <keiths@redhat.com>
3657
3658 * gdb.linespec/ls-dollar.exp: Add test for linespec
3659 file:convenience_variable.
3660
290a839c
YQ
36612014-05-05 Yao Qi <yao@codesourcery.com>
3662
3663 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3664 traceframes into tfile and ctf trace files. Read data from
3665 trace file and test collected data.
3666 (gdb_collect_locals_test): Likewise.
3667 (gdb_unavailable_registers_test): Likewise.
3668 (gdb_unavailable_floats): Likewise.
3669 (gdb_collect_globals_test): Likewise.
3670 (top-level): Append "ctf" to trace_file_targets if GDB
3671 supports.
3672
b5262cd0
YQ
36732014-05-05 Yao Qi <yao@codesourcery.com>
3674
3675 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3676 code to ...
3677 (gdb_collect_args_test_1): ... it. New proc.
3678 (gdb_collect_locals_test): Move some code to ...
3679 (gdb_collect_locals_test_1): ... it. New proc.
3680 (gdb_unavailable_registers_test): Move some code to ...
3681 (gdb_unavailable_registers_test_1): ... it. New proc.
3682 (gdb_unavailable_floats): Move some code to ...
3683 (gdb_unavailable_floats_1): ... it. New proc.
3684
30a1e6cc
SDJ
36852014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3686
3687 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3688 probes to test for bitness recognition.
3689 * gdb.arch/amd64-stap-optional-prefix.exp
3690 (test_probe_value_without_reg): New procedure.
3691 Add code to test for different kinds of bitness.
3692
f33da99a
SDJ
36932014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3694
3695 PR breakpoints/16889
3696 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3697 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3698
5b80f00d
PA
36992014-05-01 Pedro Alves <palves@redhat.com>
3700
3701 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3702 gdb_file_cmd if no file is specified.
3703 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3704 last_loaded_file to set the remote exec-file.
3705
f8c2a73c
PA
37062014-05-01 Pedro Alves <palves@redhat.com>
3707
3708 * boards/local-remote-host.exp: New file.
3709
be6e8ac7
PA
37102014-05-01 Pedro Alves <palves@redhat.com>
3711
3712 * boards/local-remote-host.exp: Rename to ...
3713 * boards/local-remote-host-notty.exp: ... this.
3714
cac0dc8f
JB
37152014-04-28 Joel Brobecker <brobecker@adacore.com>
3716
3717 * gdb.ada/dyn_arrayidx: New testcase.
3718
9730e6cc
YQ
37192014-04-26 Yao Qi <yao@codesourcery.com>
3720
3721 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3722 and compute the length of function main. Save it in
3723 $main_length.
3724 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3725 (top-level): Use gdb_compile to compile objects into
3726 executable and restart GDB. Remove invocation to
3727 prepare_for_testing.
3728
7ae1a6a6
PA
37292014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3730 Pedro Alves <palves@redhat.com>
3731
3732 PR server/16255
3733 * gdb.multi/multi-attach.c: New file.
3734 * gdb.multi/multi-attach.exp: New file.
3735
4082afcc
PA
37362014-04-25 Pedro Alves <palves@redhat.com>
3737
3738 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3739 user.
3740 (top level): Test that "set remote conditional-breakpoints-packet
3741 off" works as intended.
3742 * gdb.base/dprintf.exp: Test that "set remote
3743 breakpoint-commands-packet off" works as intended.
3744 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3745 New function.
3746 (top level): Call it.
3747 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3748 remote fast-tracepoints-packet off" works as intended.
3749 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3750 * lib/gdb.exp (gdb_is_target_remote): ... here.
3751
2abc3f8d
DB
37522014-04-24 David Blaikie <dblaikie@gmail.com>
3753
3754 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3755 ensure clang would not discard them.
3756 * gdb.base/gdbvars.c: Ditto.
3757 * gdb.base/memattr.c: Ditto.
3758 * gdb.base/whatis.c: Ditto.
3759 * gdb.python/py-prettyprint.c: Ditto.
3760 * gdb.trace/actions.c: Ditto.
3761 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3762 ensure clang would not discard it.
3763
bfd39632
DB
37642014-04-24 David Blaikie <dblaikie@gmail.com>
3765
3766 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3767 clang to emit the full definition of type required by the test
3768 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3769
22842ff6
DB
37702014-04-24 David Blaikie <dblaikie@gmail.com>
3771
3772 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3773 coax Clang into emitting the definition of the type.
3774 * gdb.cp/pr10728-x.h (y): Ditto.
3775 * gdb.cp/pr10728-y.cc (y): Ditto.
3776
c2e827ad
DB
37772014-04-24 David Blaikie <dblaikie@gmail.com>
3778
3779 * gdb.base/label.exp: XFAIL label related tests under Clang.
3780 * gdb.cp/cplabel.exp: Ditto.
3781 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3782 under Clang those using labels.
3783
4c2d33e7
YQ
37842014-04-25 Yao Qi <yao@codesourcery.com>
3785
3786 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3787 double_label.
3788 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3789 partial_label and double_label.
3790
56083b99
DB
37912014-04-24 David Blaikie <dblaikie@gmail.com>
3792
3793 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3794
25d4e99d
DB
37952014-04-24 David Blaikie <dblaikie@gmail.com>
3796
3797 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3798 of the function to work across GCC and Clang.
3799 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3800 pointer types (const void ** const V void **).
3801
01f9f808
MS
38022014-04-24 Michael Sturm <michael.sturm@mintel.com>
3803 Walfred Tedeschi <walfred.tedeschi@intel.com>
3804
3805 * Makefile.in (EXECUTABLES): Added i386-avx512.
3806 * gdb.arch/i386-avx512.c: New file.
3807 * gdb.arch/i386-avx512.exp: Likewise.
3808
4b48d439
KS
38092014-04-23 Keith Seitz <keiths@redhat.com>
3810
3811 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3812 (mi_make_breakpoint_table): New procedure.
3813 (mi_create_breakpoint): Use mi_make_breakpoint
3814 and return the result.
3815 (mi_make_breakpoint): New procedure.
3816 (mi_build_kv_pairs): New procedure.
3817
3818 * gdb.mi/mi-break.exp: Remove unused globals,
3819 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3820 All callers updated.
3821 * gdb.mi/mi-dprintf.exp: Use variable to track command
3822 number.
3823 Update all callers of mi_create_breakpoint and use
3824 mi_make_breakpoint_table.
3825 Remove any unused global variables.
3826 * gdb.mi/mi-nonstop.exp: Likewise.
3827 * gdb.mi/mi-nsintrall.exp: Likewise.
3828 * gdb.mi/mi-nsmoribund.exp: Likewise.
3829 * gdb.mi/mi-nsthrexec.exp: Likewise.
3830 * gdb.mi/mi-reverse.exp: Likewise.
3831 * gdb.mi/mi-simplerun.exp: Likewise.
3832 * gdb.mi/mi-stepn.exp: Likewise.
3833 * gdb.mi/mi-syn-frame.exp: Likewise.
3834 * gdb.mi/mi-until.exp: Likewise.
3835 * gdb.mi/mi-var-cp.exp: Likewise.
3836 * gdb.mi/mi-var-display.exp: Likewise.
3837 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3838 * gdb.mi/mi2-var-child.exp: Likewise.
3839 * gdb.mi/mi-vla-c99.exp: Likewise.
3840 * lib/mi-support.exp: Likewise.
3841
3842 From Ian Lance Taylor <iant@cygnus.com>:
3843 * lib/gdb.exp (parse_args): New procedure.
3844
08351840
PA
38452014-04-23 Pedro Alves <palves@redhat.com>
3846
3847 * gdb.base/break-unload-file.c: New file.
3848 * gdb.base/break-unload-file.exp: New file.
3849 * gdb.base/sym-file-lib.c (baz): New function.
3850 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3851 field.
3852 (load): Store the segment's mapped size.
3853 (unload): New function.
3854 (unload_shlib): New function.
3855 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3856 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3857 set a breakpoint at baz, and call it.
3858 * gdb.base/sym-file.exp: New tests for stale breakpoint
3859 instructions.
3860
076855f9
PA
38612014-04-23 Pedro Alves <palves@redhat.com>
3862
3863 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3864 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3865 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3866 * gdb.base/hbreak-unmapped.c: New file.
3867 * gdb.base/hbreak-unmapped.exp: New file.
3868 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3869 * lib/gdb.exp (gdb_is_target_remote): ... here.
3870
483805cf
PA
38712014-04-22 Pedro Alves <palves@redhat.com>
3872
3873 * gdb.base/consecutive-step-over.c: New file.
3874 * gdb.base/consecutive-step-over.exp: New file.
3875
06d97543
PA
38762014-04-22 Pedro Alves <palves@redhat.com>
3877
3878 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3879 instead of send_gdb/gdb_expect.
3880
b4429ea2
YQ
38812014-04-22 Yao Qi <yao@codesourcery.com>
3882
3883 * lib/trace-support.exp (generate_tracefile): New procedure.
3884 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3885 return 0.
3886 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3887 if generate_tracefile returns 1.
3888
51d48146
PA
38892014-04-18 Tom Tromey <palves@redhat.com>
3890 Pedro alves <tromey@redhat.com>
3891
3892 PR backtrace/15558
3893 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3894 with a backtrace limit.
3895 * gdb.python/py-frame-inline.exp: Test running to an inline
3896 function with a backtrace limit, and printing the newest frame.
3897 * gdb.python/py-frame-inline.c (main): Call f.
3898
bd1dce5f
MS
38992014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3900
3901 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3902
40d1a503
MS
39032014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3904
3905 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3906 Drop prefix from unsupported source file path.
3907
389b98f7
YQ
39082014-04-17 Yao Qi <yao@codesourcery.com>
3909
3910 * lib/gdb.exp (with_target_charset): New proc.
3911 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3912 with_target_charset.
3913 (test_print_strings): Likewise.
3914 (test_repeat_bytes): Likewise.
3915 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3916 for some tests.
3917
22869d73
KS
39182014-04-16 Keith Seitz <keiths@redhat.com>
3919
3920 PR gdb/15827
3921 * gdb.dwarf2/corrupt.c: New file.
3922 * gdb.dwarf2/corrupt.exp: New file.
3923
c4f87ca6
KS
39242014-04-16 Keith Seitz <keiths@redhat.com>
3925
3926 PR c++/16597
3927 * gdb.cp/namelessclass.cc: New file.
3928 * gdb.cp/namelessclass.exp: New file.
3929 * gdb.cp/namelessclass.S: New file.
3930
ab19de87
DE
39312014-04-16 Doug Evans <dje@google.com>
3932
3933 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3934 Add comment.
3935 (gdbserver_default_get_comm_port): New function.
3936 (gdbserver_start): Check if board file provided
3937 "gdbserver,get_comm_port" and use it if so.
3938 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3939 (gdb,socketport): Set to "stdio".
3940 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3941 (stdio_gdbserver_template): Delete.
3942 (${board}_get_remote_address): Update.
3943 (${board}_build_remote_cmd): Delete.
3944 (${board}_get_comm_port): New function.
3945 (${board}_spawn): Update.
3946 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3947 Delete.
3948 (${board}_get_remote_address): Update.
3949 (${board}_get_comm_port): New function.
3950
fc98a809
AB
39512014-04-16 Andrew Burgess <aburgess@broadcom.com>
3952
3953 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3954 appearing in any order.
3955
87fd9e6e
DE
39562014-04-15 Doug Evans <dje@google.com>
3957
3958 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3959 uninitialized value of "description".
3960
099fc3ea
KS
39612014-04-15 Keith Seitz <keiths@redhat.com>
3962
3963 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3964 Remove unused globals.
3965 (test_running_the_program): Likewise.
3966 (test_controlled_execution): Likewise.
3967 (test_controlling_breakpoints): Likewise.
3968 (test_program_termination): Likewise.
3969
5da151d4
KS
39702014-04-15 Keith Seitz <keiths@redhat.com>
3971
3972 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3973 unused globals.
3974 (test_rbreak_creation_and_listing): Likewise.
3975 (test_ignore_count): Likewise.
3976 (test_error): Likewise.
3977
35e5d2f0
PA
39782014-04-15 Pedro Alves <palves@redhat.com>
3979
3980 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3981 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3982 sym-file-loader.c.
3983 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3984 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3985 to sym-file-loader.c.
3986 (struct library): Forward declare.
3987 (load_shlib, lookup_function): Change prototypes.
3988 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3989 (translate_offset): Remove declarations.
3990 (get_text_addr): New declaration.
3991 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3992 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3993 sym-file-loader.h.
3994 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3995 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3996 here from sym-file-loader.h.
3997 (struct library): New structure.
3998 (load_shlib, lookup_function): Change prototypes and adjust to
3999 work with a struct library.
4000 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4001 (translate_offset): Make static.
4002 (get_text_addr): New function.
4003 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4004
eb4c1710
PA
40052014-04-15 Pedro Alves <palves@redhat.com>
4006
4007 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4008
2d1baf52
PA
40092014-04-15 Pedro Alves <palves@redhat.com>
4010
4011 * gdb.base/sym-file-loader.c: Include <limits.h>.
4012 (SELF_LINK): New define.
4013 (get_origin): New function.
4014 (load_shlib): Use it.
4015 * gdb.base/sym-file.exp: Don't early return if the target is
4016 remote. Use runto_main, and issue fail is that fails. Use
4017 gdb_load_shlibs.
4018 (shlib_name): Delete.
4019 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4020
7dd6df01
PA
40212014-04-15 Pedro Alves <palves@redhat.com>
4022
4023 * gdb.base/sym-file.exp: Remove regex characters from test
4024 message. Don't refer to breakpoint numbers in test messages.
4025
b50c8614
KS
40262014-04-14 Keith Seitz <keiths@redhat.com>
4027
4028 PR c++/16253
4029 * gdb.cp/var-tag.cc: New file.
4030 * gdb.cp/var-tag.exp: New file.
4031 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4032 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4033 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4034 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4035
3d567982
TT
40362014-04-14 Tom Tromey <tromey@redhat.com>
4037
4038 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4039 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4040 type.
4041 * gdb.cp/enum-class.exp: New file.
4042 * gdb.cp/enum-class.cc: New file.
4043
0626fc76
TT
40442014-04-14 Tom Tromey <tromey@redhat.com>
4045
4046 * gdb.dwarf2/enum-type.exp: New file.
4047
dca325b3
SA
40482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4049
4050 * gdb.mi/mi-vla-c99.exp: New file.
4051 * gdb.mi/vla.c: New file.
4052
5854b38a
SA
40532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4054
4055 * gdb.base/vla-datatypes.c: New file.
4056 * gdb.base/vla-datatypes.exp: New file.
4057
463bb957
SA
40582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4059
4060 * gdb.base/vla-ptr.c: New file.
4061 * gdb.base/vla-ptr.exp: New file.
4062
3dd170be
SA
40632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4064
4065 * gdb.dwarf2/count.exp: New file.
4066
5ecaaa66
SA
40672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4068
4069 * gdb.base/vla-sideeffect.c: New file.
4070 * gdb.base/vla-sideeffect.exp: New file.
4071
41f1ada5
DB
40722014-04-14 David Blaikie <dblaikie@gmail.com>
4073
4074 * gdb.mi/non-stop.c: Add return value for non-void function return
4075 statement.
4076 * gdb.threads/staticthreads.c: Ditto.
4077
0be03e84
DE
40782014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4079 Doug Evans <xdje42@gmail.com>
4080
4081 * gdb.guile/scm-value.c: Improve test case.
4082 * gdb.guile/scm-value.exp: Add new test.
4083
f180a1fb
DB
40842014-04-11 David Blaikie <dblaikie@gmail.com>
4085
4086 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4087 override Clang's default.
4088
6b662e19
JB
40892014-04-11 Joel Brobecker <brobecker@adacore.com>
4090
4091 Revert the following changes (regressions):
4092
4093 * gdb.base/vla-sideeffect.c: New file.
4094 * gdb.base/vla-sideeffect.exp: New file.
4095
4096 * gdb.dwarf2/count.exp: New file.
4097
4098 * gdb.base/vla-multi.c: New file.
4099 * gdb.base/vla-multi.exp: New file.
4100
4101 * gdb.base/vla-ptr.c: New file.
4102 * gdb.base/vla-ptr.exp: New file.
4103
4104 * gdb.base/vla-datatypes.c: New file.
4105 * gdb.base/vla-datatypes.exp: New file.
4106
4107 * gdb.mi/mi-vla-c99.exp: New file.
4108 * gdb.mi/vla.c: New file.
4109
245a5f0b
KS
41102014-04-11 Keith Seitz <keiths@redhat.com>
4111
4112 PR c++/16675
4113 * gdb.cp/cpsizeof.exp: New file.
4114 * gdb.cp/cpsizeof.cc: New file.
4115
58a84dcf
SA
41162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4117
191a8a90
JB
4118 * gdb.mi/mi-vla-c99.exp: New file.
4119 * gdb.mi/vla.c: New file.
58a84dcf 4120
c8655f75
SA
41212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4122
4123 * gdb.base/vla-datatypes.c: New file.
4124 * gdb.base/vla-datatypes.exp: New file.
4125
024e13b4
SA
41262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4127
4128 * gdb.base/vla-ptr.c: New file.
4129 * gdb.base/vla-ptr.exp: New file.
4130
1a237e0e
SA
41312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4132
4133 * gdb.base/vla-multi.c: New file.
4134 * gdb.base/vla-multi.exp: New file.
4135
504f3432
SA
41362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4137
4138 * gdb.dwarf2/count.exp: New file.
4139
3bce8237
SA
41402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4141
191a8a90
JB
4142 * gdb.base/vla-sideeffect.c: New file.
4143 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4144
322f9c21
YQ
41452014-04-11 Yao Qi <yao@codesourcery.com>
4146
4147 * gdb.base/completion.exp: Check file exists before running tests
4148 on file completion.
4149
d708bcd1
PA
41502014-04-10 Pedro Alves <palves@redhat.com>
4151
4152 * gdb.base/cond-eval-mode.c: New file.
4153 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4154 prepare_for_testing to build the new file. Check result of
4155 runto_main.
4156 (test_break, test_watch): New procedures.
4157 (top level): Use them.
4158
ae1d2761
PM
41592014-04-08 Pierre Muller <muller@sourceware.org>
4160
4161 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4162 Ctrl-V use for mingw hosts.
4163
7af389b8
SC
41642014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4165
4166 * gdb.python/py-value.c: Improve test case.
4167 * gdb.python/py-value.exp: Add new test.
4168
5e703181
DE
41692014-04-07 David Blaikie <dblaikie@gmail.com>
4170
4171 * lib/compiler.c: Identify the clang compiler.
4172 * lib/compiler.cc: Ditto.
4173
9810b410
YQ
41742014-04-03 Yao Qi <yao@codesourcery.com>
4175
4176 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4177
98d1b8dc
AB
41782014-04-01 Anton Blanchard <anton@samba.org>
4179
4180 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4181 messages unique.
4182
3114cea1
AB
41832014-04-01 Anton Blanchard <anton@samba.org>
4184
4185 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4186 prepare_for_testing.
4187
62f7182c
AB
41882014-04-01 Anton Blanchard <anton@samba.org>
4189
4190 * gdb.arch/ppc64-atomic-inst.c: Remove.
4191 * gdb.arch/ppc64-atomic-inst.S: New file.
4192 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4193
770e7fc7
DE
41942014-03-31 Doug Evans <dje@google.com>
4195
4196 * gdb.base/print-symbol-loading-lib.c: New file.
4197 * gdb.base/print-symbol-loading-main.c: New file.
4198 * gdb.base/print-symbol-loading.exp: New file.
4199
46e2bafa
YQ
42002014-03-31 Yao Qi <yao@codesourcery.com>
4201
4202 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4203
8776cfe9
JB
42042014-03-28 Joel Brobecker <brobecker@adacore.com>
4205
4206 * gdb.ada/mi_dyn_arr: New testcase.
4207
5d1ef361
DE
42082014-03-27 Doug Evans <dje@google.com>
4209
4210 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4211
b5bee914
YQ
42122014-03-27 Yao Qi <yao@codesourcery.com>
4213
4214 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4215 if target is nios2-*-*.
4216
0d4d0e77
YQ
42172014-03-26 Yao Qi <yao@codesourcery.com>
4218
4219 * lib/gdb.exp (readline_is_used): New proc.
4220 * gdb.base/completion.exp: Move tests on command complete up.
4221 Skip the rest of tests if readline is not used.
4222 * gdb.ada/complete.exp: Skp the test if readline is not
4223 used.
4224 * gdb.base/filesym.exp: Likewise.
4225 * gdb.base/macscp.exp: Likewise.
4226 * gdb.base/readline-ask.exp: Likewise.
4227 * gdb.base/readline.exp: Likewise.
4228 * gdb.python/py-cmd.exp: Likewise.
4229 * gdb.trace/tfile.exp: Likewise.
4230
29361eee
YQ
42312014-03-26 Yao Qi <yao@codesourcery.com>
4232
4233 * gdb.base/macscp.exp: Fix code format issues.
4234
bc9a5525
UW
42352014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4236
4237 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4238 * gdb.asm/powerpc64le.inc: New file.
4239
d3839ede
PA
42402014-03-25 Pedro Alves <palves@redhat.com>
4241 Doug Evans <dje@google.com>
4242
4243 * gdb.base/source-execution.c: New file.
4244 * gdb.base/source-execution.exp: New file.
4245 * gdb.base/source-execution.gdb: New file.
4246
01672a57
DE
42472014-03-24 Doug Evans <dje@google.com>
4248
4249 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4250 using fission.
4251
88bbeca9
HZ
42522014-03-24 Hui Zhu <hui@codesourcery.com>
4253 Pedro Alves <palves@redhat.com>
4254
4255 PR breakpoints/16101
4256 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4257 test pass/fail messages. Detect missing support for dprintf when
4258 breakpoints are actually inserted.
4259 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4260 breakpoints are actually inserted.
4261 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4262 fails.
4263
d2348791
JK
42642014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4265
4266 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4267
feef67ab
DE
42682014-03-22 Doug Evans <xdje42@gmail.com>
4269
4270 * gdb.python/python.exp (python not supported): Verify multi-line
4271 python command issues an error.
25d743f9 4272 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4273 guile command issues an error.
feef67ab 4274
ecebef6a
MR
42752014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4276
4277 * gdb.threads/thread-specific.exp: Handle the lack of usable
4278 $this_breakpoint and $this_thread.
4279
ccdd1909
HZ
42802014-03-21 Hui Zhu <hui@codesourcery.com>
4281
4282 * gdb.base/attach.exp (do_command_attach_tests): New.
4283
beb460e8
PA
42842014-03-20 Tom Tromey <tromey@redhat.com>
4285 Pedro Alves <palves@redhat.com>
4286
4287 PR cli/15718
4288 * gdb.base/condbreak-call-false.c: New file.
4289 * gdb.base/condbreak-call-false.exp: New file.
4290
40acf43a
PA
42912014-03-20 Pedro Alves <palves@redhat.com>
4292
4293 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4294 Delete.
4295 (block_signals, unblock_signals): Delete.
4296 (child_function_2, main): Remove references to deleted variable
4297 and functions.
4298
9f5e1e02
PA
42992014-03-20 Pedro Alves <palves@redhat.com>
4300
4301 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4302 Use pthread_kill to signal thread 2.
4303 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4304 Adjust to make the test send itself a signal rather than using the
4305 host's "kill" command.
4306
99619bea
PA
43072014-03-20 Pedro Alves <palves@redhat.com>
4308
4309 * gdb.threads/multiple-step-overs.c: New file.
4310 * gdb.threads/multiple-step-overs.exp: New file.
4311 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4312 Adjust expected infrun debug output.
4313
2adfaa28
PA
43142014-03-20 Pedro Alves <palves@redhat.com>
4315
4316 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4317 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4318
31e77af2
PA
43192014-03-20 Pedro Alves <palves@redhat.com>
4320
4321 PR breakpoints/7143
4322 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4323 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4324 of gdb_test_multiple.
4325 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4326 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4327
b9f437de
PA
43282014-03-20 Pedro Alves <palves@redhat.com>
4329
4330 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4331 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4332
05adc73e
PA
43332014-03-19 Pedro Alves <palves@redhat.com>
4334
4335 * gdb.base/async.exp: Remove early return.
4336
6048b950
PA
43372014-03-19 Pedro Alves <palves@redhat.com>
4338
4339 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4340
8bcfb00a
PA
43412014-03-19 Pedro Alves <palves@redhat.com>
4342
4343 * gdb.base/async.exp (test_background): Expect \r\n after
4344 "completed." in the fail pattern.
4345
884e37dc
PA
43462014-03-19 Pedro Alves <palves@redhat.com>
4347
4348 * gdb.base/async.exp (test_background): New procedure.
4349 Use it for all background execution command tests.
4350
148e57e2
PA
43512014-03-19 Pedro Alves <palves@redhat.com>
4352
4353 * gdb.base/async.exp: Use prepare_for_testing.
4354
f48088c7
PA
43552014-03-19 Pedro Alves <palves@redhat.com>
4356
4357 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4358 the same line.
4359
e2f6c966
PA
43602014-03-19 Pedro Alves <palves@redhat.com>
4361
4362 * gdb.base/async.c (main): Add "jump here" and "until here" line
4363 marker comments.
4364 * gdb.base/async.exp (jump_here): New global.
4365 (jump& test): Use it.
4366 (until_here): New global.
4367 (until& test): Use it.
4368
c30568d4
PA
43692014-03-19 Pedro Alves <palves@redhat.com>
4370
4371 * gdb.base/async.exp: Don't frob gdb_protocol.
4372
0172b6a7
DE
43732014-03-18 Doug Evans <xdje42@gmail.com>
4374
4375 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4376 Fix spelling of exec-done-display.
4377
06c868a8
JK
43782014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4379
4380 PR gdb/15358
4381 * gdb.base/gdb-sigterm.c: New file.
4382 * gdb.base/gdb-sigterm.exp: New file.
4383
0c7e1a46
PA
43842014-03-18 Pedro Alves <palves@redhat.com>
4385
4386 PR gdb/13860
4387 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4388 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4389 solib-event.
4390
f7c77d93
JB
43912014-03-17 Joel Brobecker <brobecker@adacore.com>
4392
4393 * gdb.ada/pckd_arr_ren: New testcase.
4394
5a1e8c7a
DE
43952014-03-13 Doug Evans <xdje42@gmail.com>
4396
4397 PR guile/16612
4398 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4399 collect after discarding symbols.
4400
350e1a76
DE
44012014-03-13 Ludovic Courtès <ludo@gnu.org>
4402 Doug Evans <xdje42@gmail.com>
4403
4404 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4405 to history survives a gc.
4406
a69900ae
PA
44072014-03-13 Pedro Alves <palves@redhat.com>
4408
4409 * gdb.base/default.exp: Don't test "target procfs".
4410
5db9f0bd
PA
44112014-03-13 Pedro Alves <palves@redhat.com>
4412
4413 * gdb.base/default.exp: Update "target child" and "target procfs"
4414 tests to not expect "Unix".
4415
b3ccfe11
TT
44162014-03-12 Tom Tromey <tromey@redhat.com>
4417
4418 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4419 New procs. Add target-async tests.
4420 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4421 Add target-async tests.
4422
646f4417
AA
44232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4424
4425 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4426 'func_start' and 'func_end' for the beginning and end of the
4427 function code, respectively.
4428 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4429 'func_end' instead of 'func' and 'main'.
4430
288c211f
AA
44312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4432
4433 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4434 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4435 generate the debug info assembler source.
4436
e0c0f156
AA
44372014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4438
4439 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4440 * gdb.dwarf2/arr-subrange.exp: Likewise.
4441 * gdb.dwarf2/dwz.exp: Likewise.
4442 * gdb.dwarf2/method-ptr.exp: Likewise.
4443 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4444 * gdb.dwarf2/subrange.exp: Likewise.
4445 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4446 * gdb.dwarf2/implptrpiece.exp: Likewise.
4447 * gdb.dwarf2/nostaticblock.exp: Likewise.
4448
0e5c4555
AA
44492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4450
4451 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4452 directory to absolute path name arguments.
4453
5ec18f2b
JG
44542014-03-10 Joel Brobecker <brobecker@adacore.com>
4455
4456 * gdb.ada/tagged_access: New testcase.
4457
847fc4f2
MM
44582014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4459
4460 * gdb.btrace/data.exp: Update expected output.
4461
cc3da688
YQ
44622014-03-06 Yao Qi <yao@codesourcery.com>
4463
4464 * gdb.trace/pr16508.exp: New file.
4465
0f26cec1
PA
44662014-03-05 Pedro Alves <palves@redhat.com>
4467
4468 PR gdb/16575
4469 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4470 procedure.
4471 (top level): Adjust to use it. Add tests that exercise breakpoint
4472 interaction with the code-cache.
4473
7a5a839f
LC
44742014-02-26 Ludovic Courtès <ludo@gnu.org>
4475
4476 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4477 test for 'history-append!'.
4478
31aa7e4e
JB
44792014-02-26 Joel Brobecker <brobecker@adacore.com>
4480
4481 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4482 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4483 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4484 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4485 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4486 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4487
1b588015
JB
44882014-02-26 Joel Brobecker <brobecker@adacore.com>
4489
4490 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4491 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4492 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4493
55426c9d
JB
44942014-02-26 Joel Brobecker <brobecker@adacore.com>
4495
4496 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4497
dc53a7ad
JB
44982014-02-26 Joel Brobecker <brobecker@adacore.com>
4499
4500 * gdb.dwarf2/arr-stride.c: New file.
4501 * gdb.dwarf2/arr-stride.exp: New file.
4502
12ab52e9
PA
45032014-02-26 Pedro Alves <palves@redhat.com>
4504
4505 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4506 that won't ever trigger. Make sure that GDB reports the correct
4507 breakpoint that caused the stop.
4508
849c862e
JK
45092014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4510
4511 PR gdb/16626
4512 * gdb.base/auto-load-script: New file.
4513 * gdb.base/auto-load.c: New file.
4514 * gdb.base/auto-load.exp: New file.
4515
71b7d793
JK
4516 PR gdb/16626
4517 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4518
e2f0d509
JK
45192014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4520
4521 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4522 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4523
50cc37c8
DE
45242014-02-24 Doug Evans <dje@google.com>
4525
4526 * lib/gdb.exp (run_on_host): Log error output if program fails.
4527
ea4758f2
PA
45282014-02-21 Pedro Alves <palves@redhat.com>
4529
4530 * gdb.threads/step-after-sr-lock.c: Rename to ...
4531 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4532 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4533 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4534 ... this.
4535
d7b30f67
SDJ
45362014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4537
4538 PR tdep/16397
4539 * gdb.arch/amd64-stap-special-operands.exp: New file.
4540 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4541 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4542 * gdb.arch/amd64-stap-triplet.S: Likewise.
4543 * gdb.arch/amd64-stap-triplet.c: Likewise.
4544
83deb43f
JB
45452014-02-20 Joel Brobecker <brobecker@adacore.com>
4546
4547 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4548 in .section pseudo-op.
4549
adde2bff
DE
45502014-02-20 lin zuojian <manjian2006@gmail.com>
4551 Joel Brobecker <brobecker@adacore.com>
4552 Doug Evans <xdje42@gmail.com>
4553
4554 PR symtab/16581
4555 * gdb.dwarf2/dw2-icycle.S: New file.
4556 * gdb.dwarf2/dw2-icycle.c: New file.
4557 * gdb.dwarf2/dw2-icycle.exp: New file.
4558
f7bd0f78
SC
45592014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4560
4561 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4562 operations on gdb.Value objects.
4563 * gdb.python/py-value-cc.exp: Add new test to test operations on
4564 gdb.Value objects.
4565
c17ef0d5
DE
45662014-02-18 Doug Evans <dje@google.com>
4567
4568 * Makefile.in (TESTS): New variable.
4569 (expanded_tests, expanded_tests_or_none): New variables
4570 (check-single): Pass $(expanded_tests_or_none) to runtest.
4571 (check-parallel): Only run tests in $(TESTS) if non-empty.
4572 (check/no-matching-tests-found): New rule.
4573 * README: Document TESTS makefile variable.
4574
5dd3176f
DE
45752014-02-18 Doug Evans <dje@google.com>
4576
4577 * Makefile.in (check-parallel): rm -rf outputs temp.
4578
0b10be4f
JK
45792014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4580
4581 Fix "ERROR: no fileid for" in the testsuite.
4582 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4583
85f224e7
DE
45842014-02-12 Doug Evans <dje@google.com>
4585
4586 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4587 (MISCELLANEOUS): New variable.
4588 (clean): rm -rf $(MISCELLANEOUS).
4589 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4590 dwp live in the same directory as symlinks, with each symlink pointed
4591 to a differently named file in a different directory.
4592
149b30ff
DE
45932014-02-11 Doug Evans <dje@google.com>
4594
4595 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4596 of Tcl file commands.
4597
1dfdac32
MK
45982014-02-10 Mark Kettenis <kettenis@gnu.org>
4599
4600 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4601 "kill -SIGUSR1 -1".
4602
aa4fb036
JB
46032014-02-10 Joel Brobecker <brobecker@adacore.com>
4604
4605 * gdb.ada/tick_length_array_enum_idx: New testcase.
4606
ed3ef339
DE
46072014-02-10 Doug Evans <xdje42@gmail.com>
4608
4609 * configure.ac (AC_OUTPUT): Add gdb.guile.
4610 * configure: Regenerate.
4611 * lib/gdb-guile.exp: New file.
4612 * lib/gdb.exp (get_target_charset): New function.
4613 * gdb.base/help.exp: Update expected output from "apropos apropos".
4614 * gdb.guile/Makefile.in: New file.
4615 * gdb.guile/guile.exp: New file.
4616 * gdb.guile/scm-arch.c: New file.
4617 * gdb.guile/scm-arch.exp: New file.
4618 * gdb.guile/scm-block.c: New file.
4619 * gdb.guile/scm-block.exp: New file.
4620 * gdb.guile/scm-breakpoint.c: New file.
4621 * gdb.guile/scm-breakpoint.exp: New file.
4622 * gdb.guile/scm-disasm.c: New file.
4623 * gdb.guile/scm-disasm.exp: New file.
4624 * gdb.guile/scm-equal.c: New file.
4625 * gdb.guile/scm-equal.exp: New file.
4626 * gdb.guile/scm-error.exp: New file.
4627 * gdb.guile/scm-error.scm: New file.
4628 * gdb.guile/scm-frame-args.c: New file.
4629 * gdb.guile/scm-frame-args.exp: New file.
4630 * gdb.guile/scm-frame-args.scm: New file.
4631 * gdb.guile/scm-frame-inline.c: New file.
4632 * gdb.guile/scm-frame-inline.exp: New file.
4633 * gdb.guile/scm-frame.c: New file.
4634 * gdb.guile/scm-frame.exp: New file.
4635 * gdb.guile/scm-generics.exp: New file.
4636 * gdb.guile/scm-gsmob.exp: New file.
4637 * gdb.guile/scm-iterator.c: New file.
4638 * gdb.guile/scm-iterator.exp: New file.
4639 * gdb.guile/scm-math.c: New file.
4640 * gdb.guile/scm-math.exp: New file.
4641 * gdb.guile/scm-objfile-script-gdb.in: New file.
4642 * gdb.guile/scm-objfile-script.c: New file.
4643 * gdb.guile/scm-objfile-script.exp: New file.
4644 * gdb.guile/scm-objfile.c: New file.
4645 * gdb.guile/scm-objfile.exp: New file.
4646 * gdb.guile/scm-ports.exp: New file.
4647 * gdb.guile/scm-pretty-print.c: New file.
4648 * gdb.guile/scm-pretty-print.exp: New file.
4649 * gdb.guile/scm-pretty-print.scm: New file.
4650 * gdb.guile/scm-section-script.c: New file.
4651 * gdb.guile/scm-section-script.exp: New file.
4652 * gdb.guile/scm-section-script.scm: New file.
4653 * gdb.guile/scm-symbol.c: New file.
4654 * gdb.guile/scm-symbol.exp: New file.
4655 * gdb.guile/scm-symtab-2.c: New file.
4656 * gdb.guile/scm-symtab.c: New file.
4657 * gdb.guile/scm-symtab.exp: New file.
4658 * gdb.guile/scm-type.c: New file.
4659 * gdb.guile/scm-type.exp: New file.
4660 * gdb.guile/scm-value-cc.cc: New file.
4661 * gdb.guile/scm-value-cc.exp: New file.
4662 * gdb.guile/scm-value.c: New file.
4663 * gdb.guile/scm-value.exp: New file.
4664 * gdb.guile/source2.scm: New file.
4665 * gdb.guile/types-module.cc: New file.
4666 * gdb.guile/types-module.exp: New file.
4667
7026a7c1
YQ
46682014-02-10 Yao Qi <yao@codesourcery.com>
4669
4670 PR testsuite/16543
4671 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4672 * configure: Regenerated.
4673 * Makefile.in: New file.
4674
6c466447
AS
46752014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4676
4677 * gdb.python/py-framefilter.exp: Fix typo.
4678
6e854735
YQ
46792014-02-08 Yao Qi <yao@codesourcery.com>
4680
4681 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4682 that no =breakpoint-modified is emitted when breakpoints are
4683 modified through MI commands.
4684
d137e6dc
PA
46852014-02-07 Pedro Alves <pedro@codesourcery.com>
4686 Pedro Alves <palves@redhat.com>
4687
4688 * gdb.threads/step-after-sr-lock.c: New file.
4689 * gdb.threads/step-after-sr-lock.exp: New file.
4690
b5ee5a50
PA
46912014-02-07 Pedro Alves <palves@redhat.com>
4692
4693 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4694
3c77faf3
JK
46952014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4696
4697 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4698 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4699
6dddc817
DE
47002014-02-06 Doug Evans <xdje42@gmail.com>
4701
4702 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4703 output.
4704
4705 * gdb.gdb/python-interrupts.exp: New file.
4706
de7b2893
YQ
47072014-02-05 Yao Qi <yao@codesourcery.com>
4708
4709 * gdb.trace/report.exp (use_collected_data): Test the output
4710 of "info threads" and "info inferiors".
4711
66d032ac
YQ
47122014-02-05 Yao Qi <yao@codesourcery.com>
4713
4714 Revert this patch:
4715
4716 2013-05-24 Yao Qi <yao@codesourcery.com>
4717
4718 * gdb.trace/tfile.exp: Test inferior and thread.
4719
591a12a1
UW
47202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4721
4722 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4723 on a function.
4724 * gdb.base/step-bt.c: Call hello via function pointer to make
4725 sure its first instruction is executed on powerpc64le-linux.
4726
0ff3e01f
UW
47272014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4728
4729 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4730
084ee545
UW
47312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4732
4733 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4734 of the test patterns for use on little-endian systems.
4735
6ed14ff3
UW
47362014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4737
4738 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4739 (decimal_vector): Fix for little-endian.
4740
401e27fd
JM
47412014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4742
4743 * gdb.arch/sparc-sysstep.exp: New file.
4744 * gdb.arch/sparc-sysstep.c: Likewise.
4745
4746 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4747
8b924729
EBM
47482014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4749
4750 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4751
fb151210
JB
47522014-01-23 Tom Tromey <tromey@redhat.com>
4753
4754 * gdb.ada/array_char_idx: New testcase.
4755
0740f8d8
TT
47562014-01-23 Tom Tromey <tromey@redhat.com>
4757
4758 PR python/16487:
4759 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4760 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4761 classes.
4762
21909fa1
TT
47632014-01-23 Tom Tromey <tromey@redhat.com>
4764
4765 PR python/16491:
4766 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4767 string from an inferior frame.
4768 * gdb.python/py-framefilter-mi.exp: Update.
4769
87ce2a04
DE
47702014-01-22 Doug Evans <dje@google.com>
4771
4772 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4773
237b092b
AA
47742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4775
4776 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4777
d674a709
AA
47782014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4779
4780 * gdb.trace/entry-values.exp: Remove excess space character from
4781 regex patterns. Handle s390 call instruction.
4782
20fa3390
AA
47832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4784
4785 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4786 define "*_start" label. Make "name" static.
4787 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4788 ${name} by references to ${name}_start.
4789
78466714
AA
47902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4791
4792 * gdb.base/info-macros.exp: Remove "debug" from the compile
4793 options.
4794
ec9f644a
IB
47952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4796
4797 * gdb.dlang/demangle.exp: New file.
4798
94b1b47e
IB
47992014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4800
4801 * gdb.dlang/primitive-types.exp: New file.
4802
7f420862
IB
48032014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4804
4805 * configure.ac: Create gdb.dlang/Makefile.
4806 * configure: Regenerate.
4807 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4808 * gdb.dlang/Makefile.in: New file.
4809 * lib/d-support.exp: New file.
4810 * lib/gdb.exp (skip_d_tests): New proc.
4811
52834460
MM
48122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4813
4814 * gdb.btrace/delta.exp: Check reverse stepi.
4815 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4816 * gdb.btrace/finish.exp: New.
4817 * gdb.btrace/next.exp: New.
4818 * gdb.btrace/nexti.exp: New.
4819 * gdb.btrace/record_goto.c: Add comments.
4820 * gdb.btrace/step.exp: New.
4821 * gdb.btrace/stepi.exp: New.
4822 * gdb.btrace/multi-thread-step.c: New.
4823 * gdb.btrace/multi-thread-step.exp: New.
4824 * gdb.btrace/rn-dl-bind.c: New.
4825 * gdb.btrace/rn-dl-bind.exp: New.
4826 * gdb.btrace/data.c: New.
4827 * gdb.btrace/data.exp: New.
4828 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4829
6e07b1d2
MM
48302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4831
4832 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4833 * gdb.btrace/exception.exp: Update.
4834 * gdb.btrace/instruction_history.exp: Update.
4835 * gdb.btrace/record_goto.exp: Update.
4836 * gdb.btrace/tailcall.exp: Update.
4837 * gdb.btrace/unknown_functions.exp: Update.
4838 * gdb.btrace/delta.exp: New.
4839
0b722aec
MM
48402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4841
4842 * gdb.btrace/record_goto.exp: Add backtrace test.
4843 * gdb.btrace/tailcall.exp: Add backtrace test.
4844
066ce621
MM
48452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4846
4847 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4848 * gdb.btrace/record_goto.c: New.
4849 * gdb.btrace/record_goto.exp: New.
4850 * gdb.btrace/x86-record_goto.S: New.
4851
0688d04e
MM
48522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4853
4854 * gdb.btrace/function_call_history.exp: Update tests.
4855 * gdb.btrace/instruction_history.exp: Update tests.
4856
8710b709
MM
48572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4858
4859 * gdb.btrace/function_call_history.exp: Fix expected field
4860 order for "record function-call-history".
4861 Add new tests for "record function-call-history /c".
4862 * gdb.btrace/exception.cc: New.
4863 * gdb.btrace/exception.exp: New.
4864 * gdb.btrace/tailcall.exp: New.
4865 * gdb.btrace/x86-tailcall.S: New.
4866 * gdb.btrace/x86-tailcall.c: New.
4867 * gdb.btrace/unknown_functions.c: New.
4868 * gdb.btrace/unknown_functions.exp: New.
4869 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4870
5de9129b
MM
48712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4872
4873 * gdb.btrace/instruction_history.exp: Update.
4874 * gdb.btrace/function_call_history.exp: Update.
4875
23a7fe75
MM
48762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4877
4878 * gdb.btrace/function_call_history.exp: Fix expected function
4879 trace.
4880 * gdb.btrace/instruction_history.exp: Initialize traced.
4881 Remove traced_functions.
4882
724c7dd8
MM
48832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4884
4885 * gdb.btrace/function_call_history.exp: Update
4886 * gdb.btrace/instruction_history.exp: Update.
4887
6d78d93b
MM
48882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4889
4890 * gdb.btrace/enable.exp: Update expected text.
4891
93a360cc
OJ
48922014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4893
4894 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4895 bytes.
4896
3772b53f
MR
48972014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4898
4899 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4900
596662fa
OJ
49012014-01-15 Omair Javaid <omair.javaid@linaro.org>
4902
4903 * lib/gdb.exp (supports_process_record): Return true for
4904 arm*-linux*. (supports_reverse): Likewise.
4905
b5b08fb4
SC
49062014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4907
4908 PR python/15464
4909 PR python/16113
4910 * gdb.python/py-type.c: Enhance test case.
4911 * gdb.python/py-value-cc.cc: Likewise
4912 * gdb.python/py-type.exp: Add new tests.
4913 * gdb.python/py-value-cc.exp: Likewise
4914
52d7fb13
AA
49152014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4916 Pedro Alves <palves@redhat.com>
4917
4918 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4919 Make "name" extern.
4920 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4921 references to ${name}_start by references to ${name}.
4922
a2cd8cfe
JB
49232014-01-10 Joel Brobecker <brobecker@adacore.com>
4924
4925 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4926
4e23fced
JB
49272014-01-10 Joel Brobecker <brobecker@adacore.com>
4928
4929 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4930
c6a9e42c
PA
49312014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4932 Pedro Alves <palves@redhat.com>
4933
4934 * gdb.mi/mi-info-os.exp: Connect to the target with
4935 mi_gdb_target_load.
4936
b7ea362b
PA
49372014-01-08 Pedro Alves <palves@redhat.com>
4938
4939 * gdb.threads/reconnect-signal.c: New file.
4940 * gdb.threads/reconnect-signal.exp: New file.
4941
5e3f4fab
EBM
49422014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4943
4944 * gdb.base/source-dir.exp: New file.
4945
79301218
JB
49462014-01-07 Joel Brobecker <brobecker@adacore.com>
4947
4948 * gdb.ada/mi_interface: New testcase.
4949
8e355c5d
JB
49502014-01-07 Joel Brobecker <brobecker@adacore.com>
4951
4952 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4953 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4954 gdb.ada/pp-rec-component/pck.ads: New files.
4955
c0d48811
JB
49562014-01-07 Joel Brobecker <brobecker@adacore.com>
4957
4958 * gdb.python/py-pp-integral.c: New file.
4959 * gdb.python/py-pp-integral.py: New file.
4960 * gdb.python/py-pp-integral.exp: New file.
4961
17b609c3 4962For older changes see ChangeLog-1993-2013.
c906108c 4963\f
8d8cb839
EZ
4964;; Local Variables:
4965;; mode: change-log
4966;; left-margin: 8
4967;; fill-column: 74
4968;; version-control: never
4969;; End:
902f2ccb 4970
32d0add0 4971 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4972 Copying and distribution of this file, with or without modification,
4973 are permitted provided the copyright notice and this notice are preserved.
This page took 3.338992 seconds and 4 git commands to generate.