]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add -mshared option to x86 ELF assembler
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ebfd00d2
PP
12015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2
3 PR gdb/17820
4 * gdb.base/gdbinit-history.exp: New test.
5 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
7
4c082a81
SC
82015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9
10 * gdb.python/py-xmethods.cc: Enhance test case.
11 * gdb.python/py-xmethods.exp: New tests.
12 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13 function.
14 (B_indexoper): Likewise.
15 (global_dm_list) : Add new xmethod worker functions.
16
f7797074
SDJ
172015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18
19 * gdb.base/coredump-filter.exp: Correctly unset
20 "coredump_var_addr" array.
21
a4674e4e
PA
222015-05-08 Pedro Alves <palves@redhat.com>
23
24 * gdb.server/non-existing-program.exp: Unset spawn_id.
25
df2eb078
SC
262015-05-08 Siva Chandra Reddy <sivachandra@google.com>
27
28 PR python/18291
29 * gdb.python/py-xmethods.exp: Add tests.
30
422349a3
YQ
312015-05-08 Yao Qi <yao.qi@linaro.org>
32
33 PR gdb/18208
34 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
35 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
36 function set_coredump_filter, and remove remote_exec call.
37 Remove argument ipid. Callers update.
38 (top level): Don't get inferior's PID.
39
63fc80ce
AA
402015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
41
42 * gdb.base/watch_thread_num.exp: Skip test on targets without
43 access watchpoints.
44
80ad801e
PA
452015-05-06 Pedro Alves <palves@redhat.com>
46
47 PR server/18081
48 * gdb.server/non-existing-program.exp: New file.
49
0fa7fe50
JB
502015-05-05 Joel Brobecker <brobecker@adacore.com>
51
52 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
53
3ea89b92
PMR
542015-05-05 Joel Brobecker <brobecker@adacore.com>
55
56 * gdb.ada/out_of_line_in_inlined: New testcase.
57
87b8eff0
JB
582015-05-05 Joel Brobecker <brobecker@adacore.com>
59
60 * gdb.ada/var_rec_arr: New testcase.
61
5fccc635
YQ
622015-04-30 Yao Qi <yao.qi@linaro.org>
63
64 * gdb.base/break-idempotent.exp: If
65 skip_hw_watchpoint_multi_tests returns true, skip the tests
66 on "rwatch" and "awatch".
67
42d38f42
YQ
682015-04-30 Yao Qi <yao.qi@linaro.org>
69
70 * gdb.base/relativedebug.exp: Invoke gdb command
71 "info sharedlibrary", and if libc.so doesn't have debug info,
72 skip the test.
73
2ce1cdbf
DE
742015-04-29 Doug Evans <dje@google.com>
75
76 * gdb.python/py-xmethods.exp: Add ptype tests.
77 * gdb.python/py-xmethods.py (E_method_char_worker): Add
78 get_result_type method.
79
f24a38c5
LM
802015-04-29 Luis Machado <lgustavo@codesourcery.com>
81
82 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
83 the target does not support hardware watchpoints.
84
ecbf2b3c
LM
852015-04-29 Luis Machado <lgustavo@codesourcery.com>
86
87 * gdb.base/break-always.exp: Abort testing if writing to memory
88 causes an error.
89
34f5f757
DE
902015-04-28 Doug Evans <dje@google.com>
91
92 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
93 * gdb.python/py-pp-registration.exp: ... here. New file.
94 * gdb.python/py-pp-registration.c: New file.
95 * gdb.python/py-pp-registration.py: New file.
96
69b4374a
DE
972015-04-28 Doug Evans <dje@google.com>
98
99 * gdb.python/py-bad-printers.c: New file.
100 * gdb.python/py-bad-printers.py: New file.
101 * gdb.python/py-bad-printers.exp: New file.
102
59fb7612
SS
1032015-04-28 Sasha Smundak <asmundak@google.com>
104
105 * gdb.python/py-type.exp: New test.
106
2631b16a
AW
1072015-04-28 Andy Wingo <wingo@igalia.com>
108
109 * gdb.python/py-parameter.exp:
110 * gdb.guile/scm-parameter.exp: Escape the path that we are
111 matching against, as it might contain characters that are special
112 to regular expressions.
113
460efde1
JB
1142015-04-27 Joel Brobecker <brobecker@adacore.com>
115
116 * gdb.ada/rec_comp: New testcase.
117
2d369d8e
SDJ
1182015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
119
120 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
121 before using it.
122
cf75d6c3
AB
1232015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
124
125 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
126 new tests for verilog output.
127
8dbe7ca5
YQ
1282015-04-24 Yao Qi <yao.qi@linaro.org>
129
130 * boards/remote-gdbserver-on-localhost.exp: New file.
131
4ef9fb2f
PA
1322015-04-23 Pedro Alves <palves@redhat.com>
133
134 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
135 $inferior_spawn_id instead of $inferior_spawn_id directly. On
136 "end of file", remove $inferior_spawn_id from the indirect list.
137
0a803169
PA
1382015-04-23 Pedro Alves <palves@redhat.com>
139
140 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
141
749ef8f8
PA
1422015-04-23 Pedro Alves <palves@redhat.com>
143
144 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
145 on $any_spawn_id instead of only on $gdb_spawn_id.
146
8aae4344
PM
1472015-04-21 Pierre Muller <muller@sourceware.org>
148
149 PR pascal/17815
150 * lib/pascal.exp (gpc_compile): Add new option "class".
151 (fpc_compile): Likewise.
152 * gdb.pascal/case-insensitive-symbols.pas: New file.
153 * gdb.pascal/case-insensitive-symbols.exp: New file.
154
1586c8fb
GB
1552015-04-20 Gary Benson <gbenson@redhat.com>
156
157 * gdb.base/attach.exp: Fix three extended remote failures.
158
1b6e6f5c
GB
1592015-04-17 Gary Benson <gbenson@redhat.com>
160
161 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
162 the main executable over the remote protocol.
163
e797481d
PA
1642015-04-16 Pedro Alves <palves@redhat.com>
165
166 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
167 a new gdbserver if gdbserver_reconnect_p is set.
168
1ca99c42
PA
1692015-04-16 Pedro Alves <palves@redhat.com>
170
171 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
172 is set, don't exit gdbserver.
173
af9fd6f8
AA
1742015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
175
176 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
177 appropriate .insn, such that an older assembler can be used.
178 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
179 the z/Architecture instruction set on 31-bit targets as well.
180
04ff1e61
AA
1812015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
182
183 * gdb.go/handcall.exp: Remove all logic related to the first
184 breakpoint and rely on go_runto_main instead.
185 * gdb.go/strings.exp: Likewise.
186 * gdb.go/unsafe.exp: Likewise.
187 * gdb.go/hello.exp: Likewise. Also rename the remaining
188 breakpoint marker to "breakpoint 1".
189 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
190 * gdb.go/strings.go: Likewise.
191 * gdb.go/unsafe.go: Likewise.
192 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
193 "set breakpoint 2 here" and rename the remaining breakpoint marker
194 to "breakpoint 1".
195
40d2f8d6
SM
1962015-04-15 Simon Marchi <simon.marchi@ericsson.com>
197
198 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
199 if itertools.imap is not present.
200 * gdb.python/py-objfile.exp: Add parentheses.
201 * gdb.python/py-type.exp: Same.
202 * gdb.python/py-unwind-maint.py: Same.
203
8cbc97c6
YQ
2042015-04-15 Yao Qi <yao.qi@linaro.org>
205
206 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
207 of ":$ptr_size" and set its form explicitly.
208
45fd756c
YQ
2092015-04-15 Pedro Alves <palves@redhat.com>
210 Yao Qi <yao.qi@linaro.org>
211
212 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
213 timeout by factor of 4.
214 (test_regular_watch): Likewise.
215 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
216 * gdb.reverse/sigall-reverse.exp: Likewise.
217 * gdb.reverse/until-precsave.exp: Likewise.
218 * lib/gdb.exp (with_timeout_factor): New proc.
219 (gdb_expect): Move some code to ...
220 (get_largest_timeout): ... here. New procedure.
221
9e811bc3
LM
2222015-04-14 Luis Machado <lgustavo@codesourcery.com>
223
224 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
225
0ff6fcb2
LM
2262015-04-13 Luis Machado <lgustavo@codesourcery.com>
227
228 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
229 to write to the .text section.
230
7578d5f7
LM
2312015-04-13 Luis Machado <lgustavo@codesourcery.com>
232
233 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
234 Handle the case of targets that do not provide PID information.
235
2efe15c4
YQ
2362015-04-13 Yao Qi <yao.qi@linaro.org>
237
238 * lib/gdbserver-support.exp (gdb_exit): Catch exception
239 and use expect instead of gdb_expect.
240
8cd8f2f8
SDJ
2412015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
242
243 * gdb.base/coredump-filter.exp: Rename variable "addr" to
244 "coredump_var_addr" to avoid naming conflict with other testcases.
245
9ee41772
PA
2462015-04-10 Pedro Alves <palves@redhat.com>
247
248 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
249 gdb_test_sequence and gdb_assert.
250
07473109
PA
2512015-04-10 Pedro Alves <palves@redhat.com>
252
253 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
254 test messages that don't include the breakpoint address.
255
de3db44c
YQ
2562015-04-10 Yao Qi <yao.qi@linaro.org>
257
258 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
259 false for some offset and width combinations which aren't
260 supported by linux kernel.
261
c79d856c
PA
2622015-04-10 Pedro Alves <palves@redhat.com>
263
264 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
265 procedure, factored out from ...
266 (top level): ... here. Add "set displaced-stepping" testing axis.
267 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
268 parameter "displaced". Use it.
269 (top level): Use foreach and add "set displaced-stepping" testing
270 axis.
271
ebc90b50
PA
2722015-04-10 Pedro Alves <palves@redhat.com>
273
274 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
275 Remove comment.
276 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
277 both the address of the instruction that triggers the watchpoint
278 and the address of the instruction immediately after, and use
279 those addresses for the test. Fix comment.
280
8f572e5c
PA
2812015-04-10 Pedro Alves <palves@redhat.com>
282
283 * gdb.base/sigstep.exp (breakpoint_to_handler)
284 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
285 Test "backtrace" in handler.
286 (breakpoint_over_handler): New parameter 'displaced'. Use it.
287 (top level): Add new "displaced" test axis to
288 breakpoint_to_handler, breakpoint_to_handler_entry and
289 breakpoint_over_handler.
290
8d707a12
PA
2912015-04-10 Pedro Alves <palves@redhat.com>
292
293 PR gdb/18216
294 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
295
ef713951
YQ
2962015-04-10 Yao Qi <yao.qi@linaro.org>
297
298 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
299 (test_add_rn_pc): New function.
300 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
301 (top level): Invoke test_add_rn_pc.
302
906d60cf
PA
3032015-04-10 Pedro Alves <palves@redhat.com>
304
305 PR gdb/13858
306 * gdb.base/step-over-no-symbols.exp: New file.
307
f2983cc3
AW
3082015-04-09 Andy Wingo <wingo@igalia.com>
309
310 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
311 after the Python tests.
312
6d62641c
SDJ
3132015-04-08 Keith Seitz <keiths@redhat.com>
314
315 PR python/16699
316 * gdb.python/py-completion.exp: New tests for completion.
317 * gdb.python/py-completion.py (CompleteLimit1): New class.
318 (CompleteLimit2): Likewise.
319 (CompleteLimit3): Likewise.
320 (CompleteLimit4): Likewise.
321 (CompleteLimit5): Likewise.
322 (CompleteLimit6): Likewise.
323 (CompleteLimit7): Likewise.
324
f3770638
PA
3252015-04-08 Pedro Alves <palves@redhat.com>
326
327 PR gdb/18214
328 PR gdb/18216
329 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
330 function.
331 (main): Install it as SIGUSR1 handler.
332 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
333 parameter. Always use "setup" as prefix. Toggle "set
334 displaced-stepping" off/on depending on global. Don't switch to
335 thread 1 here.
336 (top level): Add displaced stepping "off/on" test axis. Update
337 "setup" calls. Wrap each subtest with with_test_prefix. Test
338 continuing with a queued signal in each thread.
339
4496bed7
PA
3402015-04-08 Pedro Alves <palves@redhat.com>
341
342 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
343 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
344 gdb_breakpoint instead of gdb_test that doesn't expect anything.
345 Return early if running to main fails.
346 * gdb.trace/while-stepping.exp: Likewise.
347
b97fde92
PA
3482015-04-07 Pedro Alves <palves@redhat.com>
349
350 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
351 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
352 interact with inferior program.
353
f71c18e7
PA
3542015-04-07 Pedro Alves <palves@redhat.com>
355
356 * lib/gdb.exp (inferior_spawn_id): New global.
357 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
358 spawn id after processing the user code.
359 (default_gdb_start): Set inferior_spawn_id.
360 (send_inferior): New procedure.
361 * lib/gdbserver-support.exp (gdbserver_start): Set
362 inferior_spawn_id.
363 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
364
6423214f
PA
3652015-04-07 Pedro Alves <palves@redhat.com>
366
367 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
368 * lib/gdbserver-support.exp (gdbserver_start): Make
369 $server_spawn_id global.
370 (gdbserver_start): Don't wait for gdbserver's spawn id with
371 expect_background.
372 (close_gdbserver): New procedure.
373 (gdb_exit): Rename the default version and reimplement.
374
71c0ee8c
PA
3752015-04-07 Pedro Alves <palves@redhat.com>
376
377 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
378 append the substituted item, not the original item.
379
203bc29b
PA
3802015-04-07 Pedro Alves <palves@redhat.com>
381
382 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
383 gdb_expect.
384
508a3ddf
PA
3852015-04-07 Pedro Alves <palves@redhat.com>
386
387 * gdb.base/interrupt.exp: Don't handle the case of the inferior
388 output appearing once only.
389
9f6dbe2b
PA
3902015-04-07 Pedro Alves <palves@redhat.com>
391
392 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
393 that doesn't expect anything. Return early if running to main
394 fails.
395
337532fa
YQ
3962015-04-07 Yao Qi <yao.qi@linaro.org>
397
398 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
399 (child_function): Call alarm.
400 (main): Move call to alarm into the loop.
401 * gdb.threads/non-stop-fair-events.exp: Build program with
402 -DTIMEOUT=$timeout.
403
01b622d4
DE
4042015-04-06 Doug Evans <xdje42@gmail.com>
405
406 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
407 Fix dest parameter to board_info.
408 (fpc_compile): Ditto.
409 (gdb_compile_pascal): Rename dest arg to destfile.
410
961f4160
PMR
4112015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
412
413 * gdb.ada/funcall_ref.exp: New file.
414 * gdb.ada/funcall_ref/foo.adb: New file.
415
cafda597
YQ
4162015-04-02 Yao Qi <yao.qi@linaro.org>
417
418 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
419 is remote.
420
fed040c6
GB
4212015-04-02 Gary Benson <gbenson@redhat.com>
422
423 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
424
d11916aa
SS
4252015-04-01 Sasha Smundak <asmundak@google.com>
426
427 * gdb.python/py-unwind-maint.c: New file.
428 * gdb.python/py-unwind-maint.exp: New test.
429 * gdb.python/py-unwind-maint.py: New file.
430 * gdb.python/py-unwind.c: New file.
431 * gdb.python/py-unwind.exp: New test.
432 * gdb.python/py-unwind.py: New test.
433
a1471180
PA
4342015-04-01 Pedro Alves <palves@redhat.com>
435
436 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
437 to fail instead of non-existent $test.
438
0bbeccb1
PA
4392015-04-01 Pedro Alves <palves@redhat.com>
440
441 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
442 GDBFLAGS if not empty.
443
3c724c8c
PMR
4442015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
445
446 * gdb.ada/complete.exp: Remove "multi_line".
447 * gdb.ada/info_exc.exp: Remove "multi_line".
448 * gdb.ada/packed_tagged.exp: Remove "multi_line".
449 * gdb.ada/ptype_field.exp: Remove "multi_line".
450 * gdb.ada/sym_print_name.exp: Remove "multi_line".
451 * gdb.ada/tagged.exp: Remove "multi_line".
452 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
453 [multi_line ...]
454 * gdb.btrace/delta.exp: Likewise.
455 * gdb.btrace/exception.exp: Likewise.
456 * gdb.btrace/function_call_history.exp: Likewise.
457 * gdb.btrace/instruction_history.exp: Likewise.
458 * gdb.btrace/nohist.exp: Likewise.
459 * gdb.btrace/record_goto.exp: Likewise.
460 * gdb.btrace/segv.exp: Likewise.
461 * gdb.btrace/stepi.exp: Likewise.
462 * gdb.btrace/tailcall.exp: Likewise.
463 * gdb.btrace/unknown_functions.exp: Likewise.
464 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
465 * lib/gdb.exp: Add the "multi_line" helper.
466
4eec2deb
PA
4672015-04-01 Pedro Alves <palves@redhat.com>
468
469 * gdb.threads/tid-reuse.c: New file.
470 * gdb.threads/tid-reuse.exp: New file.
471
df8411da
SDJ
4722015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
473
474 PR corefiles/16092
475 * gdb.base/coredump-filter.c: New file.
476 * gdb.base/coredump-filter.exp: Likewise.
477
6ef37366
PM
4782015-03-27 Petr Machata <pmachata@redhat.com>
479
480 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
481 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
482 (Dwarf::assemble): Initialize them.
483 (Dwarf::lines): New function.
484
7ec911b0
JT
4852015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
486
487 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
488 SYMBOL_PREFIX for x86_64-*-cygwin.
489
ff908ebf
AW
4902015-03-26 Andy Wingo <wingo@igalia.com>
491
492 PR symtab/18148
493 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
494 const_value but not a location.
495 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
496 location defined in non-main CUs are visible.
497
6d5f0679
YQ
4982015-03-26 Yao Qi <yao.qi@linaro.org>
499
500 PR testsuite/18139
501 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
502 Add a line number entry for the same line.
503 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
504 Add a line number entry for the same line.
505
2898689b
YQ
5062015-03-26 Yao Qi <yao.qi@linaro.org>
507
508 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
509 .int 0.
510 (func): Likewise. Add .Lfunc_1 label.
511 Use .Lfunc_1 label.
512 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
513 .int 0.
514 (func): Likewise.
515 Use .Lfunc_1 label.
516
85180498
YQ
5172015-03-26 Yao Qi <yao.qi@linaro.org>
518
519 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
520 Call gdb_compile instead to compile each .s files without debug
521 information.
522
8aa08a8d
YQ
5232015-03-26 Yao Qi <yao.qi@linaro.org>
524
525 * gdb.base/savedregs.exp (process_saved_regs): Make
526 "Saved registers:" optional in the pattern.
527
66849923
MM
5282015-03-25 Markus Metzger <markus.t.metzger@intel.com>
529
530 * gdb.btrace/next.exp: Merged into step.exp.
531 * gdb.btrace/finish.exp: Merged into step.exp.
532 * gdb.btrace/nexti.exp: Merged into stepi.exp.
533 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
534 "record goto" and checking the exact replay position.
535 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
536 check for "Recording format" in "info record" output.
537 * gdb.btrace/record_goto.exp: Choose test file based on target.
538 * gdb.btrace/x86-record_goto.S: Renamed into ...
539 * gdb.btrace/x86_64-record_goto.S: ... this.
540 * gdb.btrace/i686-record_goto.S: New.
541 * gdb.btrace/x86-tailcall.S: Renamed into ...
542 * gdb.btrace/x86_64-tailcall.S: ... this.
543 * gdb.btrace/i686-tailcall.S: New.
544 * gdb.btrace/x86-tailcall.c: Renamed into ...
545 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
546 separate statements. Update test.
547 * gdb.btrace/delta.exp: Use record_goto.c as test file.
548 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
549 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
550 * gdb.btrace/tailcall.exp: Choose test file based on target.
551 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
552
11cc1b74
MM
5532015-03-25 Markus Metzger <markus.t.metzger@intel.com>
554
555 * gdb.btrace/exception.exp: Increase BTS buffer size.
556
a25d8bf9
PA
5572015-03-24 Pedro Alves <palves@redhat.com>
558
559 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
560
856e7dd6
PA
5612015-03-24 Pedro Alves <palves@redhat.com>
562
563 * gdb.threads/schedlock.exp (test_step): No longer expect that
564 "set scheduler-locking step" with "next" over a function call runs
565 threads unlocked.
566
ad235a41
AT
5672015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
568
569 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
570
15630549
AT
5712015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
572
573 PR breakpoints/16466
574 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
575 * gdb.mi/mi-pending.c (thread_func): New function.
576 (int main): Add threading support required.
577 * gdb.mi/mi-pending.exp: Add tests for this issue.
578 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
579 (pendfunc2): Remove stdio dependency.
580 * gdb.mi/mi-pendshr2.c: New file.
581
693dca06
KS
5822015-03-23 Keith Seitz <keiths@redhat.com>
583
584 * gdb.linespec/keywords.c: New file.
585 * gdb.linespec/keywords.exp: New file.
586
7e993ebf
KS
5872015-03-23 Keith Seitz <keiths@redhat.com>
588
589 PR gdb/18021
590 * gdb.dwarf2/staticvirtual.exp: New test.
591
bc23328c
JK
5922015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
593
594 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
595 * README: Remove HP-UX and gdb.hp.
596 (configuration):
597 * configure: Regenerate.
598 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
599 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
600 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
601 gdb.hp/gdb.defects/Makefile.
602 * gdb.hp/Makefile.in: File deleted.
603 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
604 * gdb.hp/gdb.aCC/optimize.c: File deleted.
605 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
606 * gdb.hp/gdb.aCC/run.c: File deleted.
607 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
608 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
609 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
610 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
611 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
612 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
613 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
614 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
615 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
616 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
617 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
618 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
619 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
620 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
621 * gdb.hp/gdb.base-hp/reg.s: File deleted.
622 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
623 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
624 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
625 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
626 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
627 * gdb.hp/gdb.compat/Makefile.in: File deleted.
628 * gdb.hp/gdb.compat/average.c: File deleted.
629 * gdb.hp/gdb.compat/sum.c: File deleted.
630 * gdb.hp/gdb.compat/xdb.c: File deleted.
631 * gdb.hp/gdb.compat/xdb0.c: File deleted.
632 * gdb.hp/gdb.compat/xdb0.h: File deleted.
633 * gdb.hp/gdb.compat/xdb1.c: File deleted.
634 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
635 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
636 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
637 * gdb.hp/gdb.defects/Makefile.in: File deleted.
638 * gdb.hp/gdb.defects/bs14602.c: File deleted.
639 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
640 * gdb.hp/gdb.defects/solib-d.c: File deleted.
641 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
642 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
643 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
644 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
645 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
646 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
647 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
648 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
649 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
650 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
651 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
652 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
653 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
654 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
655 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
656 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
657 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
658 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
659 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
660 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
661 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
662 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
663 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
664 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
665 * gdb.hp/tools/odump: File deleted.
666
8bf3b159
PA
6672015-03-19 Pedro Alves <palves@redhat.com>
668
669 * gdb.threads/continue-pending-status.exp (saw_thread_2)
670 (saw_thread_3): New globals.
671 (top level): Increment them when an event for the corresponding
672 thread is seen.
673 (no thread starvation): New test.
674
eb54c8bf
PA
6752015-03-19 Pedro Alves <palves@redhat.com>
676
677 * gdb.threads/continue-pending-status.c: New file.
678 * gdb.threads/continue-pending-status.exp: New file.
679
32d2e5d6
PA
6802015-03-18 Pedro Alves <palves@redhat.com>
681
682 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
683 Use gdb_is_target_remote instead of is_remote. Use
684 gdb_test_multiple instead of gdb_expect. Exit early if
685 gdb_test_multiple hits its internal matches. Tighten stepi tests
686 expected output. Fail on exit with any signal, instead of just
687 SIGILL.
688
f68f11b7
YQ
6892015-03-18 Yao Qi <yao.qi@linaro.org>
690
691 PR tdep/18107
692 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
693 variable.
694 * gdb.base/catch-syscall.exp: Don't skip it on
695 aarch64*-*-linux* target. Remove elements in all_syscalls.
696 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
697 target.
698 (setup_all_syscalls): New proc.
699
ca5fd19b
YQ
7002015-03-16 Yao Qi <yao.qi@linaro.org>
701
702 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
703 (top level): Skip tests if valid_addr_p returns false for
704 $cmd1 or $cmd2.
705
85642ba0
AW
7062015-03-11 Andy Wingo <wingo@igalia.com>
707
708 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
709
e03f9645
YQ
7102015-03-11 Yao Qi <yao.qi@linaro.org>
711
712 * gdb.base/catch-syscall.exp: Fix typo in comments.
713
5d0962b2
YQ
7142015-03-11 Yao Qi <yao.qi@linaro.org>
715
716 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
717
b2df3cef
PA
7182015-03-09 Pedro Alves <palves@redhat.com>
719
720 * dg-extract-results.py: Delete.
721
ef878e53
PA
7222015-03-09 Pedro Alves <palves@redhat.com>
723
724 Merge dg-extract-results.sh from GCC upstream (r218843).
725
726 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
727 * dg-extract-results.sh: Use --text with grep to avoid issues with
728 binary files. Fall back to cat -v, if that doesn't work.
729
9494d219
PA
7302015-03-05 Pedro Alves <palves@redhat.com>
731
732 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
733
a8d9763a
SM
7342015-03-04 Simon Marchi <simon.marchi@ericsson.com>
735
736 * lib/mi-support.exp (mi_expect_interrupt): Accept
737 alternative event for when in all-stop mode.
738
be9957b8
PA
7392015-03-04 Pedro Alves <palves@redhat.com>
740
741 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
742
d57be0f4 7432015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
744
745 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
746
c214c7cf
AA
7472015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
748
749 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
750 regexps for GDB's current line display, accept a hex address
751 preceding the line number.
752
6d74a497
AA
7532015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
754
755 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
756 the 'arch1' variable for "s390*-linux*" targets.
757
511aee7c
PA
7582015-03-04 Pedro Alves <palves@redhat.com>
759
760 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
761 (main): Pass missing retval argument to pthread_join call.
762
95e50b27
PA
7632015-03-02 Pedro Alves <palves@redhat.com>
764
765 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
766 (top level): Call do_test with non-stop as well.
767
28054d69
PA
7682015-03-02 Pedro Alves <palves@redhat.com>
769
770 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
771 -1.
772
4fa5d7b4
AA
7732015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
774
775 * gdb.arch/s390-vregs.exp: New test.
776 * gdb.arch/s390-vregs.S: New file.
777
97c18565
PA
7782015-02-27 Pedro Alves <palves@redhat.com>
779
780 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
781 call to catch_command_errors.
782 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
783 catch_command_errors.
784
a37bfa30
PA
7852015-02-27 Pedro Alves <palves@redhat.com>
786
787 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
788 "true" for boolean result.
789 * gdb.gdb/selftest.exp (test_with_self): Also accept full
790 prototype of main.
791
6f98576f
PA
7922015-02-27 Pedro Alves <palves@redhat.com>
793
794 * lib/unbuffer_output.c: New file.
795 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
796 (main): Call gdb_unbuffer_output.
797
eba5ab56
YQ
7982015-02-27 Yao Qi <yao.qi@linaro.org>
799
800 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
801 target.
802
0def5aaa
DE
8032015-02-26 Doug Evans <dje@google.com>
804
805 * gdb.cp/class2.cc (Dbase, D): New classes.
806 (main): New local delta.
807 * gdb.cp/class2.exp: Test printing delta.
808 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
809 (dynbar): New global.
810 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
811
081a1c2c
JK
8122015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
813
814 * gdb.compile/compile-ifunc.c: New file.
815 * gdb.compile/compile-ifunc.exp: New file.
816
2f41223f
AT
8172015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
818
819 * gdb.base/structs.exp: Check for correct struct on finish.
820
03eddd80
YQ
8212015-02-26 Yao Qi <yao.qi@linaro.org>
822
823 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
824 is zero.
825
80c57053
JK
8262015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
827
828 * gdb.arch/cordic.ko.bz2: New file.
829 * gdb.arch/cordic.ko.debug.bz2: New file.
830 * gdb.arch/ppc64-symtab-cordic.exp: New file.
831
21613c12
YQ
8322015-02-25 Yao Qi <yao.qi@linaro.org>
833
834 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
835 aarch64*-*-* target.
836
d8b901ed
PA
8372015-02-23 Pedro Alves <palves@redhat.com>
838
839 * lib/gdb.exp (delete_breakpoints): Rewrite using
840 gdb_test_multiple.
841
e5b85ead
PA
8422015-02-23 Pedro Alves <palves@redhat.com>
843
844 * gdb.base/info-os.c: Include stdlib.h.
845
85c3a371
DE
8462015-02-22 Doug Evans <xdje42@gmail.com>
847
848 PR symtab/17855
849 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
850 is read after symbols have been re-read.
851 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
852 * gdb.ada/exec_changed/second.adb (Second): Ditto.
853
96553a0c
DE
8542015-02-21 Doug Evans <dje@google.com>
855
856 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
857
97a0c697
JK
8582015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
859
860 PR corefiles/17808
861 * gdb.arch/i386-biarch-core.core.bz2: New file.
862 * gdb.arch/i386-biarch-core.exp: New file.
863
a47cd6e9
PA
8642015-02-21 Pedro Alves <palves@redhat.com>
865
866 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
867 runto_main fails.
868
c5facdc4
PA
8692015-02-20 Pedro Alves <palves@redhat.com>
870
871 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
872 info probes.
873
2db9a427
PA
8742015-02-20 Pedro Alves <palves@redhat.com>
875
876 * gdb.threads/multi-create-ns-info-thr.exp: New file.
877
60fb7e9e
PA
8782015-02-20 Pedro Alves <palves@redhat.com>
879
880 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
881 clean_restart before gdb_target_supports_trace.
882
5c5019c2
PA
8832015-02-20 Pedro Alves <palves@redhat.com>
884
885 PR threads/18006
886 * gdb.threads/clone-thread_db.c: New file.
887 * gdb.threads/clone-thread_db.exp: New file.
888
c9587f88
AT
8892015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
890
891 PR breakpoints/16812
892 * gdb.base/catch-gdb-caused-signals.c: New file.
893 * gdb.base/catch-gdb-caused-signals.exp: New file.
894
f6a88844
JM
8952015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
896
897 * configure: Regenerated.
898 * configure.ac: Use GDB_AC_TRANSFORM.
899 * aclocal.m4: sinclude ../transform.m4.
900
497c491b
JM
9012015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
902
903 * lib/dtrace.exp: New file.
904 * gdb.base/dtrace-probe.exp: Likewise.
905 * gdb.base/dtrace-probe.d: Likewise.
906 * gdb.base/dtrace-probe.c: Likewise.
907 * lib/pdtrace.in: Likewise.
908 * configure.ac: Output variables with the transformed names of
909 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
910 * configure: Regenerated.
911
03e98035
JM
9122015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
913
914 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
915 expected message when trying to access $_probe_* convenience
916 variables while not on a probe.
917
63cc30e9
JK
9182015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
919
920 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
921
0703599a
PA
9222015-02-11 Pedro Alves <pedro@codesourcery.com>
923
924 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
925 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
926
7e60a48e
DE
9272015-02-10 Doug Evans <xdje42@gmail.com>
928
929 * lib/gdb.exp (gdb_load): Always return a result.
930
01b088bc
PA
9312015-02-10 Pedro Alves <palves@redhat.com>
932
933 * gdb.threads/signal-sigtrap.c: New file.
934 * gdb.threads/signal-sigtrap.exp: New file.
935
b05ec7a5
AT
9362015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
937
938 * gdb.trace/no-attach-trace.c: New file.
939 * gdb.trace/no-attach-trace.exp: New file.
940
a2c2acaf
MW
9412015-02-09 Mark Wielaard <mjw@redhat.com>
942
943 * gdb.dwarf2/atomic.c: New file.
944 * gdb.dwarf2/atomic-type.exp: Likewise.
945
31fd9caa
MM
9462015-02-09 Markus Metzger <markus.t.metzger@intel.com>
947
948 * gdb.btrace/buffer-size.exp: Update "info record" output.
949 * gdb.btrace/delta.exp: Update "info record" output.
950 * gdb.btrace/enable.exp: Update "info record" output.
951 * gdb.btrace/finish.exp: Update "info record" output.
952 * gdb.btrace/instruction_history.exp: Update "info record" output.
953 * gdb.btrace/next.exp: Update "info record" output.
954 * gdb.btrace/nexti.exp: Update "info record" output.
955 * gdb.btrace/step.exp: Update "info record" output.
956 * gdb.btrace/stepi.exp: Update "info record" output.
957 * gdb.btrace/nohist.exp: Update "info record" output.
958
d33501a5
MM
9592015-02-09 Markus Metzger <markus.t.metzger@intel.com>
960
961 * gdb.btrace/buffer-size: New.
962
f4abbc16
MM
9632015-02-09 Markus Metzger <markus.t.metzger@intel.com>
964
965 * gdb.btrace/delta.exp: Update "info record" output.
966 * gdb.btrace/enable.exp: Update "info record" output.
967 * gdb.btrace/finish.exp: Update "info record" output.
968 * gdb.btrace/instruction_history.exp: Update "info record" output.
969 * gdb.btrace/next.exp: Update "info record" output.
970 * gdb.btrace/nexti.exp: Update "info record" output.
971 * gdb.btrace/step.exp: Update "info record" output.
972 * gdb.btrace/stepi.exp: Update "info record" output.
973 * gdb.btrace/nohist.exp: Update "info record" output.
974
b9d61307
SM
9752015-02-06 Simon Marchi <simon.marchi@ericsson.com>
976
977 PR gdb/15678
978 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
979
e584fdbc
PA
9802015-02-06 Pedro Alves <palves@redhat.com>
981
982 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
983 macro.
984 (seconds_left, again): New globals.
985 (main): Wait seconds_left in a 1-second sleep loop instead of
986 sleeping 180 seconds. If 'again' is set, reset the seconds
987 counter.
988 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
989 'again' in the inferior before detaching. Print the seconds left.
990 (options): New global.
991 (top level): Build program with -DTIMEOUT=$timeout.
992
77f41761
PA
9932015-02-06 Pedro Alves <palves@redhat.com>
994
995 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
996 determine how many seconds to pass to 'alarm'.
997 * gdb.base/gdb-sigterm.exp (top level): Build program with
998 -DTIMEOUT=$timeout.
999 (do_test): Return success/failure indication. Add more verbose
1000 logging. Don't fail if 200 single steps are seen. Instead, fail
1001 when the test times out.
1002 (passes): New global.
1003 (top level): Break the testing loop if testing fails on any
1004 iteration. Use gdb_assert.
1005
b9394193
DB
10062015-02-04 Don Breazeal <donb@codesourcery.com>
1007
1008 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1009 and initialize them.
1010 (ipc_cleanup): New function.
1011 (main): Don't declare shmid, semid, and msqid. Add a call to
1012 atexit so that we call ipc_cleanup on exit.
1013
42d9e528
PA
10142015-02-04 Pedro Alves <palves@redhat.com>
1015
1016 * boards/native-extended-gdbserver.exp: Remove any target variant
1017 specifications from the board name before clearing the isremote
1018 flag from board_info.
1019
ae6ae975
DE
10202015-01-31 Doug Evans <xdje42@gmail.com>
1021
1022 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1023
cfb069a8
GB
10242015-01-31 Gary Benson <gbenson@redhat.com>
1025
1026 * gdb.base/completion.exp: Disable completion limiting for
1027 existing tests. Add new tests to check completion limiting.
1028 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1029
5dd31d79
DE
10302015-01-31 Doug Evans <xdje42@gmail.com>
1031
1032 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1033
9f050062
DE
10342015-01-31 Doug Evans <xdje42@gmail.com>
1035
1036 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1037 entries. Duplicate file section script entries.
1038 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1039 inlined entries. Add test for safe-path rejection.
1040 * gdb.python/py-section-script.c: Add duplicate inlined section script
1041 entries. Duplicate file section script entries.
1042 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1043 inlined entries. Add test for safe-path rejection.
1044
df25ebbd
JB
10452015-01-29 Joel Brobecker <brobecker@adacore.com>
1046
1047 * gdb.ada/disc_arr_bound: New testcase.
1048
4a0ca9ec
JB
10492015-01-29 Joel Brobecker <brobecker@adacore.com>
1050
1051 * gdb.ada/mi_var_array: New testcase.
1052
3a8b707a
DE
10532015-01-27 Doug Evans <dje@google.com>
1054
1055 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1056 Add test for objfile.filename, objfile.username after objfile
1057 has been unloaded.
1058
f8313f6e
JB
10592015-01-26 Joel Brobecker <brobecker@adacore.com>
1060
1061 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1062 the second test to print the name attribute of value
1063 returned by the call to gdb.lookup_type, and adjust
1064 the expected output accordingly.
1065
37bc665e
MW
10662015-01-25 Mark Wielaard <mjw@redhat.com>
1067
1068 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1069 * gdb.base/disp-step-fork.c: Include unistd.h.
1070 * gdb.base/siginfo-obj.c: Include stdio.h.
1071 * gdb.base/siginfo-thread.c: Likewise.
1072 * gdb.mi/non-stop.c: Include unistd.h.
1073 * gdb.mi/nsthrexec.c: Include stdio.h.
1074 * gdb.mi/pthreads.c: Include unistd.h.
1075 * gdb.modula2/unbounded1.c (main): Declare returns int.
1076 * gdb.reverse/consecutive-reverse.c: Likewise.
1077 * gdb.threads/create-fail.c: Include unistd.h.
1078 * gdb.threads/killed.c: Likewise.
1079 * gdb.threads/linux-dp.c: Likewise.
1080 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1081 * gdb.threads/non-ldr-exc-2.c: Likewise.
1082 * gdb.threads/non-ldr-exc-3.c: Likewise.
1083 * gdb.threads/non-ldr-exc-4.c: Likewise.
1084 * gdb.threads/pthreads.c: Include unistd.h.
1085 (main): Declare returns int.
1086 * gdb.threads/tls-main.c (foo): New declaration.
1087 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1088
f7e5394d
SM
10892015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1090
1091 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1092 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1093
743649fd
MW
10942015-01-15 Mark Wielaard <mjw@redhat.com>
1095
1096 * gdb.base/noreturn-return.c: New file.
1097 * gdb.base/noreturn-return.exp: New file.
1098 * gdb.base/noreturn-finish.c: New file.
1099 * gdb.base/noreturn-finish.exp: New file.
1100
198297aa
PA
11012015-01-23 Pedro Alves <palves@redhat.com>
1102
1103 * gdb.threads/continue-pending-after-query.c: New file.
1104 * gdb.threads/continue-pending-after-query.exp: New file.
1105
717cf30c
AG
11062015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1107 Simon Marchi <simon.marchi@ericsson.com>
1108
1109 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1110 * gdb.base/valgrind-db-attach.exp: Same.
1111 * gdb.base/valgrind-infcall.exp: Same.
1112 * lib/mi-support.exp (default_mi_gdb_start): Same.
1113 * lib/prompt.exp (default_prompt_gdb_start): Same.
1114 * lib/gdb.exp (default_gdb_spawn): Same.
1115 (gdb_interact): New.
1116
1117
4b62a76e
JK
11182015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1119
1120 * gdb.compile/compile.exp (pointer to jit function): New test.
1121
b4cdae6f
WW
11222015-01-17 Wei-cheng Wang <cole945@gmail.com>
1123
1124 * lib/gdb.exp (supports_process_record): Return true for
1125 powerpc*-*-linux*.
1126 (supports_reverse): Likewise.
1127
d221e7ef
DB
11282015-01-15 Don Breazeal <donb@codesourcery.com>
1129
1130 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1131 instead of checking whether the target board is remote and
1132 use spawn_wait_for_attach instead of exec/sleep.
1133 * gdb.base/attach-twice.exp: Likewise.
1134
bafffb51
JB
11352015-01-15 Joel Brobecker <brobecker@adacore.com>
1136
1137 * gdb.ada/var_arr_attrs: New testcase.
1138
5589af0e
PA
11392015-01-14 Pedro Alves <palves@redhat.com>
1140 Joel Brobecker <brobecker@adacore.com>
1141
1142 PR gdb/17525
1143 * gdb.base/bp-cmds-execution-x-script.c: New file.
1144 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1145 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1146
6c400b59
PA
11472015-01-14 Pedro Alves <palves@redhat.com>
1148
1149 PR cli/17828
1150 * gdb.base/batch-preserve-term-settings.c: New file.
1151 * gdb.base/batch-preserve-term-settings.exp: New file.
1152
e02c96a7
DE
11532015-01-13 Doug Evans <dje@google.com>
1154
1155 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1156 binary.
1157
576fd14c
JB
11582015-01-13 Joel Brobecker <brobecker@adacore.com>
1159
1160 * Makefile.in (clean mostlyclean): Do not delete *.py.
1161
04dccad0
JB
11622015-01-13 Joel Brobecker <brobecker@adacore.com>
1163
1164 * gdb.python/py-lookup-type.exp: New file.
1165
3d230f71
PA
11662015-01-12 Pedro Alves <palves@redhat.com>
1167
1168 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1169 restore GDBFLAGS before returning.
1170
7e67715d
JK
11712015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1172
1173 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1174 is_amd64_regs_target and is_x86_like_target.
1175
f2e0d4b4
DE
11762015-01-11 Doug Evans <xdje42@gmail.com>
1177
1178 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1179 is given without an explicit form.
1180 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1181 attributes.
1182 * gdb.dwarf/corrupt.exp: Ditto.
1183 * gdb.dwarf2/enum-type.exp: Ditto.
1184 * gdb.trace/entry-values.exp: Ditto.
1185 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1186
439250fb
DE
11872015-01-11 Doug Evans <xdje42@gmail.com>
1188
1189 PR gdb/15830
1190 * gdb.base/maint.exp: Remove references to "maint demangle".
1191 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1192 Add tests for explicitly specifying language to demangle.
1193 * gdb.dlang/demangle.exp: Ditto.
1194
ede9f622
PA
11952015-01-09 Pedro Alves <palves@redhat.com>
1196
1197 * gdb.threads/non-stop-fair-events.c: New file.
1198 * gdb.threads/non-stop-fair-events.exp: New file.
1199
a7b796db
PA
12002015-01-09 Pedro Alves <palves@redhat.com>
1201
1202 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1203 the global scope. Set a breakpoint after all threads are started
1204 rather than stepping over two source lines. Expect the prompt.
1205 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1206 global.
1207 (NUM): Now 15.
1208 (main): Use threads_started_barrier to wait for all threads to
1209 start. Main thread no longer calls thread_function. Exit after
1210 180 seconds.
1211 (loop): New function.
1212 (thread_function): Wait on threads_started_barrier barrier. Call
1213 'loop' at each iteration.
1214 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1215 threads have started, instead of hardcoding number of "next"
1216 steps. Use an access watchpoint instead of a write watchpoint.
1217
9665ffdd
PA
12182015-01-09 Pedro Alves <palves@redhat.com>
1219
1220 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1221 (thread_func): Wait on barrier.
1222 (main): Wait for all threads to start before stopping GDB.
1223 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1224 global.
1225 (thread1_func, thread2_func): Wait on barrier.
1226 (main): Wait for all threads to start before stopping GDB.
1227 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1228 New global.
1229 (thread1_func, thread2_func): Wait on barrier.
1230 (main): Wait for all threads to start before stopping GDB.
1231
c945a99f
PA
12322015-01-09 Pedro Alves <palves@redhat.com>
1233
1234 * gdb.threads/attach-many-short-lived-threads.c: New file.
1235 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1236
c1a747c1
PA
12372014-01-09 Pedro Alves <palves@redhat.com>
1238
1239 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1240 instead of to thread 2.
1241 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1242 Add barrier around each pthread_create call instead of around all
1243 calls.
1244 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1245 Set a break on thread_function and have the child threads hit it
1246 one at at a time.
1247
60b3033e
PA
12482015-01-09 Pedro Alves <palves@redhat.com>
1249
1250 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1251 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1252 false.
1253 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1254 checking whether the target board is remote.
1255 * gdb.multi/multi-attach.exp: Likewise.
1256 * gdb.python/py-sync-interp.exp: Likewise.
1257 * gdb.server/ext-attach.exp: Likewise.
1258 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1259 tests that need to attach, instead of checking whether the target
1260 board is remote at the top of the file.
1261
acc018ac
YQ
12622015-01-08 Yao Qi <yao@codesourcery.com>
1263
1264 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1265
50a18af8
JK
12662015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1267
1268 Fix testcase compilation.
1269 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1270
8503d6e1
JB
12712015-01-06 Joel Brobecker <brobecker@adacore.com>
1272
1273 * gdb.python/py-type.exp: Add a couple test about empty
1274 array creation, and negative-length array creation.
1275
cc73dbcc
DE
12762015-01-02 Doug Evans <xdje42@gmail.com>
1277
1278 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1279
0300bbc7
DE
12802015-01-02 Doug Evans <dje@google.com>
1281
1282 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1283
9d85a0ec
YQ
12842014-12-29 Yao Qi <yao@codesourcery.com>
1285
1286 * gdb.trace/entry-values.exp: Update comments. Rename variable
1287 bar_call_foo to returned_from_foo.
1288
87186c6a
MMN
12892014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1290
1291 PR gdb/17394
1292 * gdb.linespec/break-asm-file.c: New file.
1293 * gdb.linespec/break-asm-file.exp: New file.
1294 * gdb.linespec/break-asm-file0.s: New file.
1295 * gdb.linespec/break-asm-file1.s: New file.
1296
1bab7383
YQ
12972014-12-18 Nigel Stephens <nigel@mips.com>
1298 Maciej W. Rozycki <macro@codesourcery.com>
1299
1300 * gdb.base/float.exp: Handle the new output from "info float" on
1301 MIPS targets.
1302
1bc1068a
JK
13032014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1304
1305 Fix MinGW compilation.
1306 * gdb.compile/compile-ops.exp: Update untested message if
1307 !skip_compile_feature_tests.
1308 * gdb.compile/compile-setjmp.exp: Likewise.
1309 * gdb.compile/compile-tls.exp: Likewise.
1310 * gdb.compile/compile.exp: Likewise.
1311 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1312 supported on this host".
1313
b6615d10
DE
13142014-12-16 Doug Evans <xdje42@gmail.com>
1315
1316 * boards/stabs.exp: New file.
1317
25dda427
AA
13182014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1319
1320 * gdb.base/completion.exp: Adjust to format changes of "maint
1321 print user-registers".
1322
bf330350
CU
13232014-12-16 Catalin Udma <catalin.udma@freescale.com>
1324
1325 PR server/17457
1326 * gdb.arch/aarch64-fp.c: New file.
1327 * gdb.arch/aarch64-fp.exp: New file.
1328
395cf596
SDJ
13292014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1330
1331 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1332 r210637, r210913, r211666, r215400, r215817).
1333
1334 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1335 * dg-extract-results.py: New file.
1336 * dg-extract-results.sh: Use it if the environment seems
1337 suitable.
1338
1339 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1340
1341 * dg-extract-results.py (parse_run): Handle warnings that
1342 are printed before a test harness is run.
1343
1344 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1345
1346 * dg-extract-results.py (Named): Remove __cmp__ method.
1347 (output_variation): Use a key to sort variation.harnesses.
1348
1349 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1350
1351 * dg-extract-results.py: For Python 3, force sys.stdout to
1352 handle surrogate escape sequences.
1353 (safe_open): New function.
1354 (output_segment, main): Use it.
1355
1356 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1357
1358 * dg-extract-results.py (Prog.result_re): Include options
1359 in test name.
1360
1361 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1362
1363 * dg-extract-results.py (output_variation): Always sort if
1364 do_sum.
1365
e882ef3c
SM
13662014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1367
1368 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1369 as long as we get pagination notifications.
1370
4992aa20
JM
13712014-12-15 Jason Merrill <jason@redhat.com>
1372
1373 * Makefile.in (check-gdb.%): Restore.
1374 * README: Mention it.
1375
c1b5a1a6
JB
13762014-12-13 Joel Brobecker <brobecker@adacore.com>
1377
1378 * gdb.ada/str_uninit: New testcase.
1379
5537b577
JK
13802014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1381
1382 PR symtab/17642
1383 * gdb.base/vla-stub-define.c: New file.
1384 * gdb.base/vla-stub.c: New file.
1385 * gdb.base/vla-stub.exp: New file.
1386
bb2ec1b3
TT
13872014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1388 Jan Kratochvil <jan.kratochvil@redhat.com>
1389 Tom Tromey <tromey@redhat.com>
1390
1391 * configure.ac: Add gdb.compile/.
1392 * configure: Regenerate.
1393 * gdb.compile/Makefile.in: New file.
1394 * gdb.compile/compile-ops.exp: New file.
1395 * gdb.compile/compile-ops.c: New file.
1396 * gdb.compile/compile-tls.c: New file.
1397 * gdb.compile/compile-tls.exp: New file.
1398 * gdb.compile/compile-constvar.S: New file.
1399 * gdb.compile/compile-constvar.c: New file.
1400 * gdb.compile/compile-mod.c: New file.
1401 * gdb.compile/compile-nodebug.c: New file.
1402 * gdb.compile/compile-setjmp-mod.c: New file.
1403 * gdb.compile/compile-setjmp.c: New file.
1404 * gdb.compile/compile-setjmp.exp: New file.
1405 * gdb.compile/compile-shlib.c: New file.
1406 * gdb.compile/compile.c: New file.
1407 * gdb.compile/compile.exp: New file.
1408 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1409
4ff709eb
TT
14102014-12-12 Tom Tromey <tromey@redhat.com>
1411
1412 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1413 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1414
6dddd6a5
DE
14152014-12-12 Doug Evans <dje@google.com>
1416
1417 * lib/gdb-python.exp (get_python_valueof): New function.
1418 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1419
71c24708
AA
14202014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1421
1422 * gdb.base/completion.exp: Add test for completion of "info
1423 registers ".
1424
3e29f34a
MR
14252014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1426
1427 * gdb.base/func-ptrs.c: New file.
1428 * gdb.base/func-ptrs.exp: New file.
1429
fc126975
SM
14302014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1431
1432 PR breakpoints/17012
1433 * gdb.base/dprintf-detach.c: New file.
1434 * gdb.base/dprintf-detach.exp: New file.
1435
0a46d518
SM
14362014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1437
1438 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1439 * lib/gdb.exp (target_is_gdbserver): New procedure.
1440
a0be3e44
DE
14412014-12-08 Doug Evans <dje@google.com>
1442
1443 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1444
df1b803a
YQ
14452014-12-05 Yao Qi <yao@codesourcery.com>
1446
1447 * gdb.guile/scm-error.exp: Remove the third argument to
1448 gdb_remote_download.
1449 * gdb.guile/scm-frame-args.exp: Likewise.
1450 * gdb.guile/scm-section-script.exp: Likewise.
1451
ddb9f679
YQ
14522014-12-05 Yao Qi <yao@codesourcery.com>
1453
1454 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1455
86e4ed39
DE
14562014-12-04 Doug Evans <dje@google.com>
1457
1458 * gdb.python/py-objfile.exp: Add tests for
1459 objfile.add_separate_debug_file.
1460
7c50a931
DE
14612014-12-04 Doug Evans <dje@google.com>
1462
1463 * lib/gdb.exp (get_build_id): New function.
1464 (build_id_debug_filename_get): Rewrite to use it.
1465 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1466
621661e3
MR
14672014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1468
1469 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1470 `method(long)', not just 0x0.
1471 * gdb.cp/nsalias.exp: Align code labels to 4.
1472 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1473 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1474 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1475 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1476 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1477 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1478
29f0c3b7
DE
14792014-12-02 Doug Evans <dje@google.com>
1480
e1e061e7 1481 PR symtab/17602
29f0c3b7 1482 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1483 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1484 * gdb.cp/anon-ns.exp: Update.
1485
162078c8
NB
14862014-12-02 Nick Bull <nicholaspbull@gmail.com>
1487
1488 * gdb.python/py-events.py (inferior_call_handler): New.
1489 (register_changed_handler, memory_changed_handler): New.
1490 (test_events.invoke): Register new handlers.
1491 * gdb.python/py-events.exp: Add tests for inferior call,
1492 memory_changed and register_changed events.
1493
fdb09caf
AA
14942014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1495
1496 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1497 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1498 if the linker doesn't understand this.
1499
55cfb2c4
SM
15002014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1501
1502 * gdb.python/python.exp: Change expected reply to help().
1503
9e8cd6df
YQ
15042014-12-01 Yao Qi <yao@codesourcery.com>
1505
1506 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1507 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1508 * configure: Re-generated.
1509
6c659fc2
SC
15102014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1511
1512 * gdb.cp/chained-calls.cc: New file.
1513 * gdb.cp/chained-calls.exp: New file.
1514 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1515
d7fc3181
SM
15162014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1517
1518 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1519 * gdb.dwarf2/symtab-producer.exp: Same.
1520 * gdb.gdb/python-interrupts.exp: Same.
1521 * gdb.gdb/python-selftest.exp: Same.
1522 * gdb.python/py-linetable.exp: Same.
1523 * gdb.python/py-type.exp: Same.
1524 * gdb.python/py-value-cc.exp: Same.
1525 * gdb.python/py-value.exp: Same.
1526
10e79639
YQ
15272014-11-28 Yao Qi <yao@codesourcery.com>
1528
1529 * gdb.base/break-probes.exp: Match library name prefixed with
1530 sysroot.
1531
f28a0564
SM
15322014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1533
1534 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1535 test expected output. Add parentheses for the call to print.
1536 Remove L suffix from integers.
1537
3fe1ce1d
DE
15382014-11-26 Doug Evans <dje@google.com>
1539
1540 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1541
84429e27
YQ
15422014-11-22 Yao Qi <yao@codesourcery.com>
1543
1544 * gdb.trace/entry-values.c: Remove asms.
1545 (foo): Add foo_label.
1546 (bar): Add bar_label.
1547 * gdb.trace/entry-values.exp: Remove code computing foo's
1548 length and bar's length.
1549 (Dwarf::assemble): Invoke function_range for bar and use
1550 MACRO_AT_func for foo.
1551
26741859
YQ
15522014-11-22 Yao Qi <yao@codesourcery.com>
1553
1554 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1555 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1556 Use .Lgcc43_procstart instead of gcc43.
1557
45e44d27
JB
15582014-11-21 Joel Brobecker <brobecker@adacore.com>
1559
1560 * gdb.ada/n_arr_bound: New testcase.
1561
458c8db8
SDJ
15622014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1563
1564 PR breakpoints/10737
1565 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1566 test_catch_syscall_multi_arch.
1567 (test_catch_syscall_multi_arch): New function.
1568
43f3e411
DE
15692014-11-20 Doug Evans <xdje42@gmail.com>
1570
1571 * gdb.base/maint.exp: Update expected output.
1572
0d7b2549
AA
15732014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1574
1575 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1576 4-byte instruction on S390.
1577
8908fca5
JB
15782014-11-19 Joel Brobecker <brobecker@adacore.com>
1579
1580 * gdb.ada/arr_arr: New testcase.
1581
4a46959e
JB
15822014-11-19 Joel Brobecker <brobecker@adacore.com>
1583
1584 * gdb.ada/pkd_arr_elem: New Testcase.
1585
470e2f4e
LM
15862014-11-18 Luis Machado <lgustavo@codesourcery.com>
1587
1588 * gdb.reverse/break-precsave: Expect completion message for
1589 core file reads.
1590 * gdb.reverse/consecutive-precsave.exp: Likewise.
1591 * gdb.reverse/finish-precsave.exp: Likewise.
1592 * gdb.reverse/i386-precsave.exp: Likewise.
1593 * gdb.reverse/machinestate-precsave.exp: Likewise.
1594 * gdb.reverse/sigall-precsave.exp: Likewise.
1595 * gdb.reverse/solib-precsave.exp: Likewise.
1596 * gdb.reverse/step-precsave.exp: Likewise.
1597 * gdb.reverse/until-precsave.exp: Likewise.
1598 * gdb.reverse/watch-precsave.exp: Likewise.
1599
a267f3ad
AA
16002014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1601
1602 * gdb.base/bp-permanent.c: Include unistd.h.
1603 * gdb.python/py-framefilter-mi.c (main): Add return type.
1604 * gdb.python/py-framefilter.c (main): Likewise.
1605 * gdb.trace/actions-changed.c (main): Likewise.
1606
12084a9a
AA
16072014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1608
1609 * gdb.mi/until.c: Add eye-catchers.
1610 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1611 line numbers.
1612
dc7e1a77
AA
16132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1614
1615 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1616 function header variants in break1.c.
1617 * gdb.base/ena-dis-br.exp: Likewise.
1618 * gdb.base/hbreak2.exp: Likewise.
1619 * gdb.reverse/until-precsave.exp: Drop references to removed
1620 non-prototype function header variants in ur1.c.
1621 * gdb.reverse/until-reverse.exp: Likewise.
1622
41c77605
PM
16232014-11-17 Petr Machata <pmachata@redhat.com>
1624
1625 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1626 ${_cu_offset_size} bytes abbrev offset.
1627
34248c3a
DE
16282014-11-15 Doug Evans <xdje42@gmail.com>
1629
1630 PR symtab/17559
1631 * gdb.base/line-symtabs.exp: New file.
1632 * gdb.base/line-symtabs.c: New file.
1633 * gdb.base/line-symtabs.h: New file.
1634
646da059
YQ
16352014-11-14 Yao Qi <yao@codesourcery.com>
1636
1637 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1638 (func): Add label func_label.
1639 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1640 Replace low_pc and high_pc with MACRO_AT_range.
1641 Replace name, low_pc and high_pc with MACRO_AT_func.
1642
9301ebe6
YQ
16432014-11-14 Yao Qi <yao@codesourcery.com>
1644
1645 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1646 Replace name, low_pc and high_pc with MACRO_AT_func.
1647
f166b542
YQ
16482014-11-14 Yao Qi <yao@codesourcery.com>
1649
1650 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1651 produce debug information.
1652 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1653
0f6e71e3
YQ
16542014-11-14 Yao Qi <yao@codesourcery.com>
1655
1656 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1657 object and get function length.
1658 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1659 with MACRO_AT_func.
1660 (top-level): Replace gdb_compile and clean_restart with
1661 prepare_for_testing.
1662 * gdb.dwarf2/main.c (main): Add label main_label.
1663
876c4df9
YQ
16642014-11-14 Yao Qi <yao@codesourcery.com>
1665
1666 * lib/dwarf.exp (function_range): New procedure.
1667 (Dwarf::_handle_macro_at_func): New procedure.
1668 (Dwarf::_handle_macro_at_range): New procedure.
1669 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1670
02ad9cf1
YQ
16712014-11-14 Yao Qi <yao@codesourcery.com>
1672
1673 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1674 (_handle_attribute): New procedure.
1675
a59add0c
AA
16762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1677
1678 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1679 * gdb.base/call-sc.c (zed): Likewise.
1680 * gdb.base/checkpoint.c (main): Likewise.
1681 * gdb.base/dump.c (main): Likewise.
1682 * gdb.base/gcore.c (main): Likewise.
1683 * gdb.base/huge.c (main): Likewise.
1684 * gdb.base/multi-forks.c (main): Likewise.
1685 * gdb.base/pr10179-a.c (main): Likewise.
1686 * gdb.base/savedregs.c (main): Likewise.
1687 * gdb.base/sigaltstack.c (main): Likewise.
1688 * gdb.base/siginfo.c (main): Likewise.
1689 * gdb.base/structs.c (zed): Likewise.
1690 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1691 * gdb.mi/mi-syn-frame.c (main): Likewise.
1692 * gdb.mi/until.c (foo, main): Likewise.
1693 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1694 * gdb.base/solib-weak.c (foo): Declare.
1695 * gdb.base/attach-twice.c: Include stdio.h.
1696 * gdb.base/weaklib1.c: Likewise.
1697 * gdb.base/weaklib2.c: Likewise.
1698 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1699 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1700 unistd.h.
1701 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1702 * gdb.mi/mi-exit-code.c: Likewise.
1703 * gdb.base/break-interp-lib.c: Include string.h.
1704 * gdb.base/coremaker.c: Likewise.
1705 * gdb.base/testenv.c: Likewise.
1706 * gdb.python/py-finish-breakpoint.c: Likewise.
1707 * gdb.base/inferior-died.c: Include sys/wait.h.
1708 * gdb.base/fileio.c: Include time.h.
1709 * gdb.base/async-shell.c: Include unistd.h.
1710 * gdb.base/dprintf-non-stop.c: Likewise.
1711 * gdb.base/info-os.c: Likewise.
1712 * gdb.mi/mi-console.c: Likewise.
1713 * gdb.mi/watch-nonstop.c: Likewise.
1714 * gdb.python/py-events.c: Likewise.
1715 * gdb.base/async.c (baz): Move up before its invocation.
1716 * gdb.base/code_elim2.c (my_global_func): Likewise.
1717 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1718 * gdb.base/advance.c (func2): Likewise.
1719
3b5d5997
AA
17202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1721
1722 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1723 variant.
1724 * gdb.base/annota3.c: Likewise.
1725 * gdb.base/async.c: Likewise.
1726 * gdb.base/average.c: Likewise.
1727 * gdb.base/call-ar-st.c: Likewise.
1728 * gdb.base/call-rt-st.c: Likewise.
1729 * gdb.base/call-sc.c: Likewise.
1730 * gdb.base/call-strs.c: Likewise.
1731 * gdb.base/ending-run.c: Likewise.
1732 * gdb.base/execd-prog.c: Likewise.
1733 * gdb.base/exprs.c: Likewise.
1734 * gdb.base/foll-exec.c: Likewise.
1735 * gdb.base/foll-fork.c: Likewise.
1736 * gdb.base/foll-vfork.c: Likewise.
1737 * gdb.base/funcargs.c: Likewise.
1738 * gdb.base/gcore.c: Likewise.
1739 * gdb.base/jump.c: Likewise.
1740 * gdb.base/langs0.c: Likewise.
1741 * gdb.base/langs1.c: Likewise.
1742 * gdb.base/langs2.c: Likewise.
1743 * gdb.base/mips_pro.c: Likewise.
1744 * gdb.base/nodebug.c: Likewise.
1745 * gdb.base/opaque0.c: Likewise.
1746 * gdb.base/opaque1.c: Likewise.
1747 * gdb.base/recurse.c: Likewise.
1748 * gdb.base/run.c: Likewise.
1749 * gdb.base/scope0.c: Likewise.
1750 * gdb.base/scope1.c: Likewise.
1751 * gdb.base/setshow.c: Likewise.
1752 * gdb.base/setvar.c: Likewise.
1753 * gdb.base/shmain.c: Likewise.
1754 * gdb.base/shr1.c: Likewise.
1755 * gdb.base/shr2.c: Likewise.
1756 * gdb.base/sigall.c: Likewise.
1757 * gdb.base/signals.c: Likewise.
1758 * gdb.base/so-indr-cl.c: Likewise.
1759 * gdb.base/solib2.c: Likewise.
1760 * gdb.base/structs.c: Likewise.
1761 * gdb.base/sum.c: Likewise.
1762 * gdb.base/vforked-prog.c: Likewise.
1763 * gdb.base/watchpoint.c: Likewise.
1764 * gdb.reverse/shr2.c: Likewise.
1765 * gdb.reverse/until-reverse.c: Likewise.
1766 * gdb.reverse/ur1.c: Likewise.
1767 * gdb.reverse/watch-reverse.c: Likewise.
1768
066a77c5
AA
17692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1770
1771 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1772 variant.
1773 * gdb.base/sepdebug.exp: Drop references to removed code.
1774
4f204ea5
AA
17752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1776
1777 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1778 variant. Preserve original line numbering.
1779 * gdb.base/list1.c: Likewise.
1780
3b377a3a
AA
17812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1782
1783 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1784 variant.
1785 * gdb.base/break1.c: Likewise.
1786 * gdb.base/break.exp: Drop references to removed code.
1787
e444df73
AA
17882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1789
1790 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1791 variant.
1792
8008f2a7
AA
17932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1794
1795 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1796
a5a06887
AA
17972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1798
1799 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1800 logic into perform_all_tests() and invoke it with and without
1801 function header prototypes.
1802 (do_function_calls): Remove conditional XFAIL for PR 5318.
1803 (rerun_and_prepare): Remove duplicate code.
1804 (perform_all_tests): New. Main logic moved here.
1805
44dba9b9
AA
18062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1807
1808 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1809 code guarded by #ifdef NO_PROTOTYPES.
1810 (t_double_many_args): Likewise.
1811 (DEF_FUNC_MANY_ARGS_1): Likewise.
1812 (DEF_FUNC_VALUES_1): Likewise.
1813 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1814 guarded by #ifdef PROTOTYPES.
1815
d1fbcd56
AA
18162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1817
1818 * gdb.mi/mi-console.c: Add eye-catcher.
1819 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1820 instead of literal line number.
1821
b0e59b8f
AA
18222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1823
1824 * gdb.base/shr2.c: Add eye-catcher.
1825 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1826 line number.
1827
78f98cca
AA
18282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1829
1830 * gdb.base/jump.c: Add eye-catchers.
1831 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1832 numbers.
1833
58fa2af0
AA
18342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1835
1836 * gdb.base/execd-prog.c: Add eye-catchers.
1837 * gdb.base/foll-exec.c: Likewise.
1838 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1839 line numbers.
1840
04e5059b
AA
18412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1842
1843 * gdb.base/ending-run.c: Add eye-catchers.
1844 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1845 literal line numbers.
1846
dbfdb174
AA
18472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1848
1849 * gdb.base/call-rt-st.c: Add eye-catchers.
1850 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1851 literal line numbers.
1852
888a2ade
AA
18532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1854
1855 * gdb.base/call-ar-st.c: Add eye-catchers.
1856 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1857 literal line numbers.
1858
6acc2dde
AA
18592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1860
1861 * gdb.base/average.c: Add eye-catchers.
1862 * gdb.base/sum.c: Likewise.
1863 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1864 regexps dynamically.
1865
9ecfcd1d
AA
18662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1867
1868 * gdb.base/solib1.c: Add eye-catchers.
1869 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1870 literal line numbers.
1871
78708b7c
PA
18722014-11-12 Pedro Alves <palves@redhat.com>
1873
1874 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1875 leader has exited.
1876
af48d08f
PA
18772014-11-12 Pedro Alves <palves@redhat.com>
1878
1879 * gdb.arch/i386-bp_permanent.c: New file.
1880 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1881 (srcfile): Set to i386-bp_permanent.c.
1882 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1883 that stepi does not execute the 'leave' instruction, instead of
1884 testing it does execute.
1885 * gdb.base/bp-permanent.c: New file.
1886 * gdb.base/bp-permanent.exp: New file.
1887
af3768e9
DE
18882014-11-10 Doug Evans <xdje42@gmail.com>
1889
1890 PR symtab/17564
1891 * gdb.base/symtab-search-order.exp: New file.
1892 * gdb.base/symtab-search-order.c: New file.
1893 * gdb.base/symtab-search-order-1.c: New file.
1894 * gdb.base/symtab-search-order-shlib-1.c: New file.
1895
9de00a4a
PA
18962014-11-07 Pedro Alves <palves@redhat.com>
1897
1898 PR gdb/17511
1899 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1900 i?86-*-linux*.
1901
e0f52461
SC
19022014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1903
1904 PR c++/17494
1905 * gdb.cp/pr17494.cc: New file.
1906 * gdb.cp/pr17494.exp: New file.
1907
6ce8c980
YQ
19082014-11-02 Yao Qi <yao@codesourcery.com>
1909
1910 * gdb.python/python.exp: Get working directory and match the
1911 output of "set extended-prompt \\w " with it.
1912
02be9a71
DE
19132014-10-30 Doug Evans <dje@google.com>
1914
1915 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1916 in objfiles.
1917 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1918 in progspaces.
1919
3bdff46b
LM
19202014-10-30 Janis Johnson <janisjo@codesourcery.com>
1921
1922 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1923 * gdb.base/realname-expand.exp: Likewise.
1924 * gdb.linespec/macro-relative.exp: Likewise.
1925
ab917dfb
PA
19262014-10-29 Pedro Alves <palves@redhat.com>
1927
1928 PR gdb/17408
1929 * gdb.threads/schedlock.c (some_function): New function.
1930 (call_function): New global.
1931 (MAYBE_CALL_SOME_FUNCTION): New macro.
1932 (thread_function): Call it.
1933 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1934 and use it instead of a global counter. Adjust all callers.
1935 (get_current_thread): Use "find current thread" for test message
1936 here rather than having all callers pass down the same string.
1937 (goto_loop): New procedure, factored out from ...
1938 (my_continue): ... this.
1939 (step_ten_loops): Change parameter from test message to command to
1940 use. Adjust.
1941 (list_count): Delete global.
1942 (check_result): New procedure, factored out from duplicate top
1943 level code.
1944 (continue tests): Wrap in with_test_prefix.
1945 (test_step): New procedure, factored out from duplicate top level
1946 code.
1947 (top level): Test "step" in combination with all scheduler-locking
1948 modes. Test "next" in combination with all scheduler-locking
1949 modes, and in combination with stepping over a function call or
1950 not.
1951 * gdb.threads/next-bp-other-thread.c: New file.
1952 * gdb.threads/next-bp-other-thread.exp: New file.
1953
d3d4baed
PA
19542014-10-29 Pedro Alves <palves@redhat.com>
1955
1956 PR python/17372
1957 * gdb.python/python.exp: Test a multi-line command that spawns
1958 interactive Python.
1959 * gdb.base/multi-line-starts-subshell.exp: New file.
1960
563e8d85
YQ
19612014-10-29 Yao Qi <yao@codesourcery.com>
1962
1963 * gdb.base/fileio.exp: Make directories on host.
1964
0ea4d52e
YQ
19652014-10-29 Yao Qi <yao@codesourcery.com>
1966
1967 * gdb.base/fileio.c (test_write): Close the file.
1968
7f5ef605
PA
19692014-10-28 Pedro Alves <palves@redhat.com>
1970
1971 PR gdb/12623
1972 * gdb.base/sigstep.c (no_handler): New global.
1973 (main): If 'no_handler is true, set the signal handlers to
1974 SIG_IGN.
1975 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1976 with_sw_watch and no_handler parameters. Handle them.
1977 (top level) <stepping over handler when stopped at a breakpoint
1978 test>: Add a test axis for testing with a software watchpoint, and
1979 another for testing with the signal handler set to SIG_IGN.
1980 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1981 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1982
abbdbd03
PA
19832014-10-28 Pedro Alves <palves@redhat.com>
1984
1985 PR gdb/17511
1986 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1987 * gdb.base/sigstep.exp (other_handler_location): New global.
1988 (advance): Support stepping into the signal handler, and running
1989 commands while in the handler.
1990 (in_handler_map): New global.
1991 (top level): In the advance test, add combinations for getting
1992 into the handler with stepping commands, and for running commands
1993 in the handler. Add comment descripting the advancei tests.
1994
1df4399f
PA
19952014-10-28 Pedro Alves <palves@redhat.com>
1996
1997 * gdb.base/sigstep.exp: Use build_executable instead of
1998 prepare_for_testing.
1999 (top level): Move code that starts GDB, runs to main and creates a
2000 display to ...
2001 (restart): ... this new procedure.
2002 (top level): Move backtrace from signal handler test to ...
2003 (validate_backtrace): ... this new procedure.
2004 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2005 with_test_prefix. Always restart GDB.
2006 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2007 with_test_prefix. Always restart GDB. No need to delete
2008 breakpoints after the test.
2009 (test_skip_handler): Remove prefix parameter.
2010 (skip_over_handler, breakpoint_to_handler)
2011 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2012 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2013 restart GDB. No need to delete breakpoints after the test.
2014 (top level): Use foreach to call the test procedures with
2015 different commands.
2016
a5b6e449
PA
20172014-10-28 Pedro Alves <palves@redhat.com>
2018
2019 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2020 instead of GNATS numbers.
2021 * gdb.base/sigbpt.exp: Likewise.
2022 * gdb.base/siginfo.exp: Likewise.
2023 * gdb.base/sigstep.exp: Likewise.
2024
e5f8a7cc
PA
20252014-10-27 Pedro Alves <palves@redhat.com>
2026
2027 * gdb.base/sigstep.c (dummy): New global.
2028 (main): Issue a couple writes to the new global.
2029 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2030 procedures.
2031 (skip_over_handler): Use test_skip_handler.
2032 (top level): Call skip_over_handler for stepi and nexti too.
2033 (breakpoint_over_handler): Use test_skip_handler.
2034 (top level): Call breakpoint_over_handler for stepi and nexti too.
2035
763905a3
YQ
20362014-10-27 Yao Qi <yao@codesourcery.com>
2037
2038 * gdb.trace/tfile.c (adjust_function_address)
2039 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2040 function descriptor.
2041
6f259a23
DB
20422014-10-24 Don Breazeal <donb@codesourcery.com>
2043
2044 * gdb.base/foll-fork.exp (test_follow_fork,
2045 catch_fork_child_follow): Check for updated fork messages emitted
2046 from infrun.c.
2047 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2048 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2049 vfork_and_exec_child_follow_through_step): Check for updated vfork
2050 messages emitted from infrun.c.
2051
09dd9a69
PA
20522014-10-24 Pedro Alves <palves@redhat.com>
2053
2054 * gdb.base/corefile.exp: Remove references to ultrix.
2055 * gdb.base/interrupt.exp: Likewise.
2056 * gdb.base/whatis.exp: Likewise.
2057 * gdb.gdb/selftest.exp: Likewise.
2058 * gdb.threads/manythreads.exp: Likewise.
2059 * gdb.threads/print-threads.exp: Likewise.
2060 * gdb.threads/pthreads.exp:: Likewise.
2061 * gdb.threads/schedlock.exp: Likewise.
2062
3433cfa5
SC
20632014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2064
2065 * gdb.cp/non-trivial-retval.cc: Add a test case.
2066 * gdb.cp/non-trivial-retval.exp: Add a test.
2067
092f880b
YQ
20682014-10-20 Yao Qi <yao@codesourcery.com>
2069
2070 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2071 * gdb.python/py-objfile-script-gdb.py: New file.
2072 * gdb.python/py-objfile-script.exp: Update reference to
2073 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2074 of remote_download. Remove the dest file.
2075
acbdb7f3
YQ
20762014-10-20 Yao Qi <yao@codesourcery.com>
2077
2078 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2079 * gdb.base/step-line.exp: Likewise.
2080 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2081 * gdb.dwarf2/dw2-basic.exp: Likewise.
2082 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2083 * gdb.dwarf2/dw2-filename.exp: Likewise.
2084 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2085 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2086 * gdb.dwarf2/dw2-producer.exp: Likewise.
2087 * gdb.dwarf2/mac-fileno.exp: Likewise.
2088 * gdb.python/py-frame-args.exp: Likewise.
2089 * gdb.python/py-framefilter.exp: Likewise.
2090 * gdb.python/py-mi.exp: Likewise.
2091 * gdb.python/py-objfile-script.exp: Likewise
2092 * gdb.python/py-pp-integral.exp: Likewise.
2093 * gdb.python/py-pp-re-notag.exp: Likewise.
2094 * gdb.python/py-prettyprint.exp: Likewise.
2095 * gdb.python/py-section-script.exp: Likewise.
2096 * gdb.python/py-typeprint.exp: Likewise.
2097 * gdb.python/py-xmethods.exp: Likewise.
2098 * gdb.stabs/weird.exp: Likewise.
2099 * gdb.xml/tdesc-regs.exp: Likewise.
2100
bd286a29
KCY
21012014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2102
2103 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2104 (out_cu): Use addr_len for the size of addresses.
2105 (out_line): Likewise. Size DW_LNE_set_address instruction
2106 according to addr_len.
2107 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2108 (FUNC): Add START_INSNS to definition.
2109
673dc4a0
YQ
21102014-10-18 Yao Qi <yao@codesourcery.com>
2111
2112 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2113 gdb_has_argv0 return true.
2114 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2115 check [target_info exists noargs], check [gdb_has_argv0]
2116 instead.
2117 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2118 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2119 procedures.
2120
4ffbba72
DE
21212014-10-17 Doug Evans <dje@google.com>
2122
2123 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2124 event.
2125 * gdb.python/py-events.py: Add clear_objfiles event.
2126
d096d8c1
DE
21272014-10-17 Doug Evans <dje@google.com>
2128
2129 * gdb.python/py-objfile.exp: Test progspace attribute.
2130
a80db015
LM
21312014-10-17 Luis Machado <lgustavo@codesourcery.com>
2132
2133 * gdb.guile/scm-breakpoint.exp: Do not assume any
2134 directory separators when matching source file paths.
2135 * gdb.python/py-breakpoint.exp: Likewise.
2136 * gdb.reverse/break-precsave.exp: Likewise.
2137 * gdb.reverse/break-reverse.exp: Likewise.
2138 * gdb.reverse/consecutive-precsave.exp: Likewise.
2139 * gdb.reverse/finish-precsave.exp: Likewise.
2140 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2141 * gdb.reverse/finish-reverse.exp: Likewise.
2142 * gdb.reverse/i386-precsave.exp: Likewise.
2143 * gdb.reverse/i387-env-reverse.exp: Likewise.
2144 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2145 * gdb.reverse/machinestate-precsave.exp: Likewise.
2146 * gdb.reverse/machinestate.exp: Likewise.
2147 * gdb.reverse/sigall-precsave.exp: Likewise.
2148 * gdb.reverse/solib-precsave.exp: Likewise.
2149 * gdb.reverse/step-precsave.exp: Likewise.
2150 * gdb.reverse/until-precsave.exp: Likewise.
2151 * gdb.reverse/watch-precsave.exp: Likewise.
2152 * gdb.reverse/watch-reverse.exp: Likewise.
2153
b22089ab
YQ
21542014-10-17 Yao Qi <yao@codesourcery.com>
2155
2156 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2157 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2158
6c4486e6
PA
21592014-10-17 Pedro Alves <palves@redhat.com>
2160
2161 PR gdb/17471
2162 * gdb.base/bg-execution-repeat.c: New file.
2163 * gdb.base/bg-execution-repeat.exp: New file.
2164
0ff33695
PA
21652014-10-17 Pedro Alves <palves@redhat.com>
2166
2167 PR gdb/17300
2168 * gdb.base/continue-all-already-running.c: New file.
2169 * gdb.base/continue-all-already-running.exp: New file.
2170
6fdebc3d
PA
21712014-10-17 Pedro Alves <palves@redhat.com>
2172
2173 PR gdb/17472
2174 * gdb.base/annota-input-while-running.c: New file.
2175 * gdb.base/annota-input-while-running.exp: New file.
2176
32a8097b
PA
21772014-10-17 Pedro Alves <palves@redhat.com>
2178
2179 * gdb.base/callfuncs.exp: emove references to osf.
2180 * gdb.base/sigall.exp: Likewise.
2181 * gdb.gdb/selftest.exp: Likewise.
2182 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2183 * gdb.mi/non-stop.c: Likewise.
2184 * gdb.mi/pthreads.c: Likewise.
2185 * gdb.reverse/sigall-precsave.exp: Likewise.
2186 * gdb.reverse/sigall-reverse.exp: Likewise.
2187 * gdb.threads/pthreads.c: Likewise.
2188 * gdb.threads/pthreads.exp: Likewise.
2189
7a3517ff
YQ
21902014-10-17 Yao Qi <yao@codesourcery.com>
2191
2192 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2193 check 'target_info exists noargs'.
2194 (test_command_prompt_position): Likewise.
2195 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2196 Remove "set args".
2197 (progvar_simple_while_test): Likewise.
2198 (progvar_complex_if_while_test): Likewise.
2199 (if_while_breakpoint_command_test): Likewise.
2200 (infrun_breakpoint_command_test): Likewise.
2201 (breakpoint_command_test): Likewise.
2202 (watchpoint_command_test): Likewise.
2203 (bp_deleted_in_command_test): Likewise.
2204 (temporary_breakpoint_commands): Likewise.
2205
bb99c472
YQ
22062014-10-16 Yao Qi <yao@codesourcery.com>
2207
2208 * gdb.base/remotetimeout.exp: Remove noargs checking.
2209
7c16b83e
PA
22102014-10-15 Pedro Alves <palves@redhat.com>
2211
2212 PR breakpoints/9649
2213 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2214 * gdb.base/breakpoint-in-ro-region.exp
2215 (probe_target_hardware_step): New procedure.
2216 (top level): Probe hardware stepping and hardware breakpoint
2217 support. Test stepping through a read-only region, with both
2218 "breakpoint auto-hw" on and off and both "always-inserted" on and
2219 off.
2220
35a49624
IB
22212014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2222
2223 * gdb.dlang/demangle.exp: Update for demangling changes.
2224
2d1c107c
SC
22252014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2226
2227 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2228 * gdb.cp/non-trivial-retval.exp: Add new tests.
2229
778811d5
SC
22302014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2231
2232 PR c++/13403
2233 PR c++/15154
2234 * gdb.cp/non-trivial-retval.cc: New file.
2235 * gdb.cp/non-trivial-retval.exp: New file.
2236
10c5f0a8
YQ
22372014-10-15 Yao Qi <yao@codesourcery.com>
2238
2239 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2240 remote host.
2241
65d7b369
YQ
22422014-10-15 Yao Qi <yao@codesourcery.com>
2243
2244 * gdb.python/py-symbol.exp: Match file base name if host is
2245 remote, otherwise match file name with dir name.
2246 * gdb.python/py-symtab.exp: Likewise.
2247 * gdb.python/python.exp: Likewise.
2248
46dc1394
YQ
22492014-10-15 Yao Qi <yao@codesourcery.com>
2250
2251 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2252 pattern.
2253 * gdb.python/py-symtab.exp: Likewise.
2254 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2255 locationn.
2256
c40cc657
JB
22572014-10-14 Joel Brobecker <brobecker@adacore.com>
2258
2259 * gdb.ada/addr_arith: New testcase.
2260
2abf49e1
MR
22612014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2262
2263 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2264 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2265 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2266 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2267
f7088df3
SDJ
22682014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2269
2270 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2271 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2272 * gdb.arch/stap-eval-lang-ada.exp: New file.
2273
4dc06805
YQ
22742014-10-14 Yao Qi <yao@codesourcery.com>
2275
2276 * gdb.mi/mi-var-child.c (nothing1): New function.
2277 (nothing2): New function.
2278 (do_children_tests): Set function pointers by nothing1 and
2279 nothing2.
2280 * gdb.mi/mi-var-child.exp: Step over new added statements.
2281 Update test to match the new output.
2282 * gdb.mi/var-cmd.c (nothing1): New function.
2283 (nothing2): New function.
2284 (do_children_tests): Set function pointers by nothing1 and
2285 nothing2.
2286 * gdb.mi/mi-var-display.exp: Update test to match output.
2287 Step to the line specified by $line_dct_nothing.
2288 Increase the number of lines to step.
2289
46a93de2
YQ
22902014-10-14 Yao Qi <yao@codesourcery.com>
2291
2292 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2293 tests.
2294 * gdb.mi/mi2-var-child.exp: Likewise.
2295
14ea52ee
DE
22962014-10-13 Doug Evans <dje@google.com>
2297
2298 * gdb.python/py-objfile.exp: Change name of file name test.
2299
e5c6e92b
DE
23002014-10-13 Doug Evans <dje@google.com>
2301
2302 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2303 from the start of the CU.
2304
c780cc2f
JK
23052014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2306 Yao Qi <yao@codesourcery.com>
2307
2308 Fix "save breakpoints" for "catch" command.
2309 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2310 Remove -nonewline. Match also the added "main" line.
2311
99894e11
JK
23122014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2313
2314 Fix "save breakpoints" for "disable $bpnum" command.
2315 * gdb.base/save-bp.c (main): Add label.
2316 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2317
6e1ac5a3
JK
23182014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2319
2320 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2321
754dd2b0
YQ
23222014-10-11 Yao Qi <yao@codesourcery.com>
2323
2324 * gdb.server/server-kill.exp: Execute command
2325 "set remote trace-status-packet on" before "tstatus".
2326
f90183d7
YQ
23272014-10-11 Yao Qi <yao@codesourcery.com>
2328
2329 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2330 (main): Call getppid.
2331 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2332 and continue to it. Read variable "server_pid".
2333
bf40a607
YQ
23342014-10-11 Yao Qi <yao@codesourcery.com>
2335
2336 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2337
052ca370
YQ
23382014-10-11 Yao Qi <yao@codesourcery.com>
2339
2340 * gdb.threads/thread-find.exp: Don't execute command
2341 "info threads".
2342 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2343 * gdb.threads/linux-dp.exp: Don't check the condition
2344 $threads_created equals to zero.
2345
3831839c
PA
23462014-10-10 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.base/bigcore.exp: Remove references to IRIX.
2349 * gdb.base/funcargs.exp: Likewise.
2350 * gdb.base/interrupt.exp: Likewise.
2351 * gdb.base/mips_pro.exp: Likewise.
2352 * gdb.base/nodebug.exp: Likewise.
2353 * gdb.base/setvar.exp: Likewise.
2354 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2355
8b9a549d
PA
23562014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2357 Pedro Alves <palves@redhat.com>
2358
2359 PR symtab/14466
2360 * gdb.base/vdso-warning.c: New file.
2361 * gdb.base/vdso-warning.exp: New file.
2362
d48ba5e8
DE
23632014-10-02 Doug Evans <dje@google.com>
2364
2365 * gdb.base/structs.c (main): Don't run forever.
2366
2278c276
PA
23672014-10-02 Pedro Alves <palves@redhat.com>
2368
2369 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2370 (top level) <stop threads 1, stop threads 2>: Use it.
2371
b57bacec
PA
23722014-10-02 Pedro Alves <palves@redhat.com>
2373
2374 * gdb.threads/break-while-running.exp (test): Add new
2375 'update_thread_list' argument. Skip "info threads" if false.
2376 (top level): Add new 'update_thread_list' axis.
2377
13fd3ff3
PA
23782014-10-02 Pedro Alves <palves@redhat.com>
2379
2380 PR breakpoints/17431
2381 * gdb.base/execl-update-breakpoints.c: New file.
2382 * gdb.base/execl-update-breakpoints.exp: New file.
2383
0fec99e8
PA
23842014-10-01 Pedro Alves <palves@redhat.com>
2385
2386 * gdb.base/breakpoint-in-ro-region.c: New file.
2387 * gdb.base/breakpoint-in-ro-region.exp: New file.
2388
2ddf4301
SM
23892014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2390
2391 * gdb.mi/mi-exit-code.exp: New file.
2392 * gdb.mi/mi-exit-code.c: New file.
2393
6a5f3f43
YQ
23942014-09-30 Yao Qi <yao@codesourcery.com>
2395
2396 * lib/prelink-support.exp (build_executable_own_libs): Error if
2397 the target isn't native.
2398
345bcc73
YQ
23992014-09-30 Yao Qi <yao@codesourcery.com>
2400
2401 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2402 false.
2403
a25a5a45
PA
24042014-09-22 Pedro Alves <palves@redhat.com>
2405
2406 * gdb.threads/break-while-running.exp: New file.
2407 * gdb.threads/break-while-running.c: New file.
2408
00ba3162
YQ
24092014-09-19 Yao Qi <yao@codesourcery.com>
2410
2411 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2412 Invoke test. Restart GDB with --readnow and invoke test again.
2413
c3b7b696
YQ
24142014-09-19 Yao Qi <yao@codesourcery.com>
2415
2416 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2417 proc set_breakpoint_on_gcd_function. Invoke
2418 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2419 invoke set_breakpoint_on_gcd_function again.
2420
2b4fd423
DE
24212014-09-18 Doug Evans <dje@google.com>
2422
2423 * gdb.dwarf2/symtab-producer.exp: New file.
2424
a5947601
SDJ
24252014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2426
2427 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2428 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2429 * gdb.base/global-var-nested-by-dso.c: Likewise.
2430 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2431
91c19059
SDJ
24322014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2433 Pedro Alves <palves@redhat.com>
2434
2435 * gdb.base/watch-bitfields.exp: Pass string other than test file
2436 name to prepare_for_testing.
2437 (watch): New procedure.
2438 (expect_watchpoint): Use with_test_prefix.
2439 (top level): Factor out tests to ...
2440 (test_watch_location, test_regular_watch): ... these new
2441 procedures, and use with_test_prefix and gdb_continue_to_end.
2442
bb9d5f81
PP
24432014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2444
2445 PR breakpoints/12526
2446 * gdb.base/watch-bitfields.exp: New file.
2447 * gdb.base/watch-bitfields.c: New file.
2448
635856f5
PA
24492014-09-16 Pedro Alves <palves@redhat.com>
2450
2451 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2452 software and hardware addresses, not software address against
2453 itself.
2454
7280ceea
PA
24552014-09-16 Pedro Alves <palves@redhat.com>
2456
2457 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2458 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2459
428b16bd
PA
24602014-09-16 Pedro Alves <palves@redhat.com>
2461
2462 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2463 files.
2464 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2465 "*-*-vxworks*" throughout.
2466 * gdb.base/break.exp: Likewise.
2467 * gdb.base/default.exp: Likewise.
2468 * gdb.base/scope.exp: Likewise.
2469 * gdb.base/sepdebug.exp: Likewise.
2470 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2471 throughout.
2472 * gdb.base/run.c: Likewise.
2473 * gdb.base/sepdebug.c: Likewise.
2474 * gdb.hp/gdb.aCC/run.c: Likewise.
2475 * gdb.reverse/until-reverse.c: Likewise.
2476 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2477
666d413c
YQ
24782014-09-16 Yao Qi <yao@codesourcery.com>
2479
2480 * boards/local-remote-host-native.exp: New file.
2481
57cbd724
DE
24822014-09-14 Doug Evans <xdje42@gmail.com>
2483
2484 * gdb.threads/queue-signal.c (thread_count): New variable.
2485 (thread_count_mutex, thread_count_condvar): New variables.
2486 (incr_thread_count, wait_all_threads_running): New functions.
2487 (main): Wait for all threads to be in their thread functions.
2488
81219e53
DE
24892014-09-13 Doug Evans <xdje42@gmail.com>
2490
2491 * gdb.threads/queue-signal.c: New file.
2492 * gdb.threads/queue-signal.exp: New file.
2493
3714cea7
DE
24942014-09-13 Doug Evans <xdje42@gmail.com>
2495
2496 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2497 be consistent with what default_gdb_init uses.
2498 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2499 the plain text of the prompt. Add some logging printfs.
2500 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2501
fa43b1d7
PA
25022014-09-12 Pedro Alves <palves@redhat.com>
2503
2504 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2505 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2506 * gdb.arch/i386-size-overlap.exp: Likewise.
2507 * gdb.arch/i386-size.exp: Likewise.
2508 * gdb.arch/i386-unwind.exp: Likewise.
2509 * gdb.base/a2-run.exp: Likewise.
2510 * gdb.base/break.exp: Likewise.
2511 * gdb.base/charset.exp: Likewise.
2512 * gdb.base/chng-syms.exp: Likewise.
2513 * gdb.base/commands.exp: Likewise.
2514 * gdb.base/dbx.exp: Likewise.
2515 * gdb.base/find.exp: Likewise.
2516 * gdb.base/funcargs.exp: Likewise.
2517 * gdb.base/jit-simple.exp: Likewise.
2518 * gdb.base/reread.exp: Likewise.
2519 * gdb.base/sepdebug.exp: Likewise.
2520 * gdb.base/step-bt.exp: Likewise.
2521 * gdb.cp/mb-inline.exp: Likewise.
2522 * gdb.cp/mb-templates.exp: Likewise.
2523 * gdb.objc/basicclass.exp: Likewise.
2524 * gdb.threads/killed.exp: Likewise.
2525
9d9bf2df
EBM
25262014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2527
2528 PR tdep/17379
2529 * gdb.arch/powerpc-stackless.S: New file.
2530 * gdb.arch/powerpc-stackless.exp: New file.
2531
1cf2f1b0
JK
25322014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2533
2534 * gdb.base/attach.c: Include unistd.h.
2535 (main): Call alarm. Add label postloop.
2536 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2537 gdb_breakpoint, gdb_continue_to_breakpoint.
2538 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2539
98880d46
PA
25402014-09-11 Pedro Alves <palves@redhat.com>
2541
2542 PR gdb/17347
2543 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2544 * gdb.base/attach.exp (test_command_line_attach_run): New
2545 procedure.
2546 (top level): Call it.
2547
4c92ff2c
PA
25482014-09-11 Pedro Alves <palves@redhat.com>
2549
2550 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2551 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2552 (do_command_attach_tests): Use spawn_wait_for_attach.
2553 * gdb.base/solib-overlap.exp: Likewise.
2554 * gdb.multi/multi-attach.exp: Likewise.
2555 * gdb.python/py-prompt.exp: Likewise.
2556 * gdb.python/py-sync-interp.exp: Likewise.
2557 * gdb.server/ext-attach.exp: Likewise.
2558
3adc1a7d
GKB
25592014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2560
2561 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2562 command in testcase. Simplify testcase.
2563
96334934
JB
25642014-09-10 Joel Brobecker <brobecker@adacore.com>
2565
2566 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2567
eb479039
JB
25682014-09-10 Joel Brobecker <brobecker@adacore.com>
2569
2570 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2571
deede10c
JB
25722014-09-10 Joel Brobecker <brobecker@adacore.com>
2573
2574 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2575
7828a5f5
JB
25762014-09-10 Joel Brobecker <brobecker@adacore.com>
2577
2578 * gdb.dwarf2/dynarr-ptr.c: New file.
2579 * gdb.dwarf2/dynarr-ptr.exp: New file.
2580
33aeebcf
MR
25812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2582
2583 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2584 of 30 rather than hardcoding 120 for a slow test case. Take the
2585 `gdb,timeout' target setting into account for this calculation.
2586 Don't extend the timeout for the test cases that don't need it.
2587
7b415901
MR
25882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2589
2590 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2591 a factor of 2 for a slow test case. Take the `gdb,timeout'
2592 target setting into account for this calculation.
2593 * gdb.reverse/until-precsave.exp: Increase the timeout by
2594 a factor of 15 and 3 respectively rather than adding 120
2595 for a pair of slow test cases. Take the `gdb,timeout'
2596 target setting into account for this calculation.
2597
4a40f85a
MR
25982014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2599
2600 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2601 timeout, don't pass one down to gdb_expect.
2602 (gdb_expect): Rework timeout selection.
2603
09635af7
MR
26042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2605
2606 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2607 exception on timeout.
2608 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2609 (gdbserver_start_extended): Catch any `gdbserver_start' error
2610 exceptions.
2611 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2612 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2613 `gdbserver_gdb_load' error exceptions.
2614
2bdd10b7
MR
26152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2616
2617 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2618 120 on waiting for the TCP socket to open.
2619
316935f0
DE
26202014-09-09 Doug Evans <xdje42@gmail.com>
2621
2622 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2623 _caller_matches, _any_caller_is, _any_caller_matches.
2624
83740597
DE
26252014-09-09 Doug Evans <xdje42@gmail.com>
2626
2627 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2628
4c122fc3
YQ
26292014-09-09 Yao Qi <yao@codesourcery.com>
2630
2631 * gdb.mi/mi-var-display.exp: Set print symbol off.
2632
a9f116cb
GKB
26332014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2634
2635 PR gdb/17035
2636 * gdb.base/commands.exp: Add tests to verify user-defined
2637 commands with empty bodies.
2638 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2639 python commands in `show user command`.
2640 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2641 scheme commands in `show user command`.
2642
c75bd3a2
JK
26432014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2644
2645 PR python/17355
2646 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2647 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2648 * gdb.python/py-framefilter-invalidarg.exp: New file.
2649 * gdb.python/py-framefilter-invalidarg.py: New file.
2650
faa42425
DE
26512014-09-06 Doug Evans <xdje42@gmail.com>
2652
2653 PR 15276
2654 * gdb.python/py-caller-is.c: New file.
2655 * gdb.python/py-caller-is.exp: New file.
2656
474ca4f6
SDJ
26572014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2658
2659 PR gdb/17235
2660 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2661 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2662
eb0b0463
SDJ
26632014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2664
2665 PR fortran/17237
2666 * gdb.fortran/print-formatted.exp: New file.
2667 * gdb.fortran/print-formatted.f90: Likewise.
2668
5f3b99cf
SS
26692014-09-03 Sasha Smundak <asmundak@google.com>
2670
2671 * gdb.python/py-frame.exp: Test Frame.read_register.
2672
7d793aa9
SDJ
26732014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2674
2675 PR python/16699
2676 * gdb.python/py-completion.exp: New file.
2677 * gdb.python/py-completion.py: Likewise.
2678
fb0576e9
DE
26792014-08-28 Doug Evans <dje@google.com>
2680
2681 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2682 eax,etc. are live with values set by gdb and thus the compiler can't
2683 use them.
2684 * gdb.arch/i386-pseudo.c (main): Ditto.
2685
ee92b0dd
DE
26862014-08-27 Doug Evans <dje@google.com>
2687
2688 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2689
6649db35
DE
26902014-08-25 Doug Evans <dje@google.com>
2691
2692 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2693 (main): Ditto.
2694
564b7600
DE
26952014-08-25 Doug Evans <dje@google.com>
2696
2697 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2698
3881fb67
YQ
26992014-08-24 Yao Qi <yao@codesourcery.com>
2700
2701 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2702 symbol off.
2703 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2704
a05a36a5
DE
27052014-08-22 Doug Evans <dje@google.com>
2706
2707 PR 17276
2708 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2709 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2710 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2711
7c343b48
YQ
27122014-08-22 Yao Qi <yao@codesourcery.com>
2713
2714 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2715 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2716 * gdb.python/python.exp: Likewise. Use .py file on the host
2717 instead of the build.
2718
22fd09ae
JK
27192014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2720
2721 * gdb.threads/gcore-stale-thread.c: New file.
2722 * gdb.threads/gcore-stale-thread.exp: New file.
2723
a8454a7c
PA
27242014-08-21 Pedro Alves <palves@redhat.com>
2725
2726 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2727 * gdb.base/gcore-relro-pie.exp: Likewise.
2728 * gdb.base/gcore-relro.exp: Likewise.
2729 * gdb.base/gcore.exp: Likewise.
2730 * gdb.base/print-symbol-loading.exp: Likewise.
2731 * gdb.threads/gcore-thread.exp: Likewise.
2732 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2733
2a31c623
PA
27342014-08-20 Pedro Alves <palves@redhat.com>
2735 Jan Kratochvil <jan.kratochvil@redhat.com>
2736
2737 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2738 configure.
2739 (EXPECT): Handle READ1 being set.
2740 (all): Depend on EXTRA_RULES.
2741 (check-read1, expect-read1, read1.so, read1): New rules.
2742 * README (Testsuite Parameters): Document the READ1 make variable.
2743 (Race detection): New section.
2744 * configure: Regenerate.
2745 * configure.ac: If build==host==target, and running under a
2746 GNU/glibc system, add read1 to the extra Makefile rules.
2747 (EXTRA_RULES): AC_SUBST it.
2748 * lib/read1.c: New file.
2749
d36430db
JB
27502014-08-20 Joel Brobecker <brobecker@adacore.com>
2751
2752 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2753 the handling of variables declared as a typedef to an array
2754 which a DW_AT_data_location attribute.
2755
9a0dc9e3
PA
27562014-08-19 Andrew Burgess <aburgess@broadcom.com>
2757 Pedro Alves <palves@redhat.com>
2758
2759 PR symtab/14604
2760 PR symtab/14605
2761 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2762 gdb_test.
2763
0718a8da
PA
27642014-08-19 Pedro Alves <palves@redhat.com>
2765
2766 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2767
13b448cd
YQ
27682014-08-19 Yao Qi <yao@codesourcery.com>
2769
2770 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2771 right line.
2772
1cbf5077
DB
27732014-08-18 David Blaikie <dblaikie@gmail.com>
2774
2775 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2776
bf0fae19
JB
27772014-08-18 Joel Brobecker <brobecker@adacore.com>
2778
2779 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2780 attribute in array range.
2781
3c8c5dcc
JB
27822014-08-18 Joel Brobecker <brobecker@adacore.com>
2783
2784 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2785
e66d4446
SC
27862014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2787
2788 PR c++/17132
2789 * gdb.cp/pr17132.cc: New file.
2790 * gdb.cp/pr17132.exp: New file.
2791
940df408
SC
27922014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2793
2794 * gdb.python/py-xmethods.py (A_getarrayind)
2795 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2796 Use 'print' with function call syntax.
2797 (E_method_matcher.match): Fix tab vs space indentation mixup.
2798
ebcc6c3a
YQ
27992014-08-15 Yao Qi <yao@codesourcery.com>
2800
2801 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2802 false.
2803
775e0f04
YQ
28042014-08-15 Yao Qi <yao@codesourcery.com>
2805
2806 * gdb.cp/casts.exp: Set print symbol off.
2807 * gdb.cp/class2.exp: Likewise.
2808 * gdb.cp/overload.exp: Likewise.
2809 * gdb.cp/templates.exp: Likewise.
2810
d769e349
DE
28112014-08-11 Doug Evans <dje@google.com>
2812
2813 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2814 (test_load_shlib): Update.
2815
20c6f1e1
YQ
28162014-08-09 Yao Qi <yao@codesourcery.com>
2817
2818 * gdb.base/display.exp: Invoke is_address_zero_readable.
2819 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2820 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2821 * gdb.base/hbreak-unmapped.exp: Return if
2822 is_address_zero_readable returns true.
2823 * gdb.base/signest.exp: Likewise.
2824 * gdb.base/signull.exp: Likewise.
2825 * gdb.base/sigbpt.exp: Likewise.
2826 * gdb.guile/scm-disasm.exp: Do the test if
2827 is_address_zero_readable returns false.
2828 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2829 * gdb.python/py-arch.exp: Likewise.
2830 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2831 * lib/gdb.exp (is_address_zero_readable): New proc.
2832
5792e8e3
YQ
28332014-08-09 Yao Qi <yao@codesourcery.com>
2834
2835 PR testsuite/13443
2836 * gdb.mi/mi-var-display.exp: Make test messages unique.
2837
3cecbbbe
TT
28382014-08-04 Tom Tromey <tromey@redhat.com>
2839
2840 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2841 target 0".
2842
00b51ff5
TT
28432014-08-04 Tom Tromey <tromey@redhat.com>
2844
2845 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2846 "target_resume".
2847
6908c509
JB
28482014-08-01 Joel Brobecker <brobecker@adacore.com>
2849
2850 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2851 inner_vla_struct_object_size.
2852 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2853 as xfail.
2854
cc6563d2
PA
28552014-07-30 Pedro Alves <palves@redhat.com>
2856
2857 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2858 comment.
2859
7e09a223
YQ
28602014-07-29 Yao Qi <yao@codesourcery.com>
2861
2862 PR gdb/17206
2863 * gdb.base/until-nodebug.exp: New.
2864
7ebdbe92
DE
28652014-07-28 Doug Evans <xdje42@gmail.com>
2866
2867 PR guile/17203
2868 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2869 previously existing parameter, and previously ambiguously spelled
2870 parameter.
2871
fdb1adc6
WN
28722014-07-28 Will Newton <will.newton@linaro.org>
2873
2874 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2875
186fcde0
DE
28762014-07-26 Ludovic Courtès <ludo@gnu.org>
2877 Doug Evans <xdje42@gmail.com>
2878
2879 PR guile/17146
2880 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2881
70509625
PA
28822014-07-25 Pedro Alves <palves@redhat.com>
2883
2884 * gdb.threads/signal-command-handle-nopass.c: New file.
2885 * gdb.threads/signal-command-handle-nopass.exp: New file.
2886 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2887 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2888 * gdb.threads/signal-delivered-right-thread.c: New file.
2889 * gdb.threads/signal-delivered-right-thread.exp: New file.
2890
c3f814a1
PA
28912014-07-25 Pedro Alves <palves@redhat.com>
2892
2893 * gdb.base/double-prompt-target-event-error.exp
2894 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2895 match.
2896 (cancel_pagination_in_target_event): Rework double prompt
2897 detection.
2898 * gdb.base/paginate-after-ctrl-c-running.exp
2899 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2900 <return>' match.
2901 * gdb.base/paginate-bg-execution.exp
2902 (test_bg_execution_pagination_return)
2903 (test_bg_execution_pagination_cancel): Remove '-notransfer
2904 <return>' matches.
2905 * gdb.base/paginate-execution-startup.exp
2906 (test_fg_execution_pagination_return)
2907 (test_fg_execution_pagination_cancel): Remove '-notransfer
2908 <return>' matches.
2909 * gdb.base/paginate-inferior-exit.exp
2910 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2911 match.
2912 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2913 * lib/gdb.exp (pagination_prompt): Run text through
2914 string_to_regexp.
2915 (gdb_test_multiple): Match $pagination_prompt instead of
2916 "<return>".
2917 (string_to_regexp): Move to lib/gdb-utils.exp.
2918
e214cf6c
JK
29192014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2920
2921 * gdb.arch/amd64-entry-value-paramref.S: New file.
2922 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2923 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2924 * gdb.arch/amd64-optimout-repeat.S: New file.
2925 * gdb.arch/amd64-optimout-repeat.c: New file.
2926 * gdb.arch/amd64-optimout-repeat.exp: New file.
2927
17d0c5c8
JK
29282014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2929
2930 PR gdb/17170
2931 * gdb.base/statistics.exp: New file.
2932
b8b8facf
DE
29332014-07-17 Doug Evans <dje@google.com>
2934
74b49205 2935 PR gdb/17170
b8b8facf
DE
2936 * gdb.base/maint.exp: Update testing of per-command stats.
2937
1b5d0ab3
PA
29382014-07-16 Pedro Alves <palves@redhat.com>
2939
2940 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2941 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2942 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2943 (tfile_write_buf): New functions.
2944 (add_memory_block): Rewrite using the above.
2945 (adjust_function_address): New function.
2946 (FUNCTION_ADDRESS): New macro.
2947 (write_basic_trace_file): Remove short_x local, and use
2948 tfile_write_16. Change type of func_addr local to unsigned long
2949 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2950 here. Cast argument of add_memory_block to char pointer.
2951 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2952 (main): Remove parameters.
2953 * gdb.trace/tfile.exp: Remove nowarnings.
2954
4d974e88
SM
29552014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2956
2957 * gdb.base/debug-expr.exp: Test string evaluation with
2958 "debug expression" on.
2959
41e99568
PA
29602014-07-15 Pedro Alves <palves@redhat.com>
2961
2962 * gdb.base/reread.exp: Use clean_restart.
2963
487d9753
PL
29642014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2965
2966 * gdb.arch/avr-flash-qualifer.c: New.
2967 * gdb.arch/avr-flash-qualifer.exp: New.
2968
cc1c52ad
PA
29692014-07-14 Pedro Alves <palves@redhat.com>
2970
2971 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2972 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2973
1e973570
PA
29742014-07-14 Pedro Alves <palves@redhat.com>
2975
2976 * gdb.base/double-prompt-target-event-error.c: New file.
2977 * gdb.base/double-prompt-target-event-error.exp: New file.
2978
93d6eb10
PA
29792014-07-14 Pedro Alves <palves@redhat.com>
2980
2981 PR gdb/17072
2982 * gdb.base/paginate-inferior-exit.c: New file.
2983 * gdb.base/paginate-inferior-exit.exp: New file.
2984
0017922d
PA
29852014-07-14 Pedro Alves <palves@redhat.com>
2986
2987 PR gdb/17072
2988 * gdb.base/paginate-bg-execution.c: New file.
2989 * gdb.base/paginate-bg-execution.exp: New file.
2990
94696ad3
PA
29912014-07-14 Pedro Alves <palves@redhat.com>
2992
2993 PR gdb/17072
2994 * gdb.base/paginate-execution-startup.c: New file.
2995 * gdb.base/paginate-execution-startup.exp: New file.
2996 * lib/gdb.exp (pagination_prompt): New global.
2997 (default_gdb_spawn): New procedure, factored out from
2998 default_gdb_spawn.
2999 (default_gdb_start): Adjust to call default_gdb_spawn.
3000 (gdb_spawn): New procedure.
3001
bd293940
PA
30022014-07-14 Pedro Alves <palves@redhat.com>
3003
3004 * lib/gdb.exp (gdb_assert): New procedure.
3005 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3006
c933f875
PA
30072014-07-14 Pedro Alves <palves@redhat.com>
3008
3009 * gdb.base/execution-termios.c: New file.
3010 * gdb.base/execution-termios.exp: New file.
3011
d98b7a16
TT
30122014-07-14 Tom Tromey <tromey@redhat.com>
3013
3014 * gdb.cp/vla-cxx.cc: New file.
3015 * gdb.cp/vla-cxx.exp: New file.
3016
548740d6
TT
30172014-07-14 Tom Tromey <tromey@redhat.com>
3018
3019 * gdb.reverse/rerun-prec.c: New file.
3020 * gdb.reverse/rerun-prec.exp: New file.
3021
a25eb028
MR
30222014-07-12 Maciej W. Rozycki <macro@mips.com>
3023 Maciej W. Rozycki <macro@codesourcery.com>
3024
3025 * lib/gdb-utils.exp: New file.
3026 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3027 inline `gdb_init_command' processing.
3028 (gdb_start_cmd): Likewise.
3029 * lib/mi-support.exp (mi_run_cmd): Likewise.
3030 * README: Document `gdb_init_command' and `gdb_init_commands'.
3031
218c2655
JK
30322014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3033
3034 Fix false FAIL running under a very long directory name.
3035 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3036 and "set print elements 10000". Twice.
3037
5401fde3
YQ
30382014-07-11 Yao Qi <yao@codesourcery.com>
3039
3040 * gdb.base/exprs.exp: "set print symbol off".
3041
e76126e8
PA
30422014-07-11 Pedro Alves <palves@redhat.com>
3043
3044 * gdb.threads/kill.c: New file.
3045 * gdb.threads/kill.exp: New file.
3046
2d6f0de6
YQ
30472014-07-10 Yao Qi <yao@codesourcery.com>
3048
3049 * gdb.trace/tfile.c (write_basic_trace_file)
3050 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3051 address written to trace file.
3052
7180e04a
PA
30532014-07-09 Pedro Alves <palves@redhat.com>
3054
3055 * gdb.base/attach-wait-input.exp: New file.
3056 * gdb.base/attach-wait-input.c: New file.
3057
9a9a7608
AB
30582014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3059
3060 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3061 setting up test structures.
3062 (main): Call new test function.
3063 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3064 test function, continue into test function and walk test
3065 structures.
3066
161ac41e
YQ
30672014-07-02 Yao Qi <yao@codesourcery.com>
3068
3069 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3070 'bar_start' at the beginning of functions 'foo' and 'bar'
3071 respectively.
3072 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3073 instead of 'foo' and 'bar'.
3074
1f267ae3
MM
30752014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3076
3077 * gdb.btrace/segv.exp: New.
3078 * gdb.btrace/segv.c: New.
3079
2b239efb
LM
30802014-07-02 Luis Machado <lgustavo@codesourcery.com>
3081
3082 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3083 instruction.
3084
cf363f18
MW
30852014-06-30 Mark Wielaard <mjw@redhat.com>
3086
3087 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3088 vulture, vilify, villar): New volatile array constants.
3089 (vindictive, vegetation): New const volatile array constants.
3090 * gdb.base/volatile.exp: Test volatile and const volatile array
3091 types.
3092
aebf9d24
AA
30932014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3094
3095 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3096 target lacks support for awatch, rwatch, or hbreak.
3097
b67a2c6f
YQ
30982014-06-27 Yao Qi <yao@codesourcery.com>
3099
3100 * gdb.multi/dummy-frame-restore.exp: New.
3101 * gdb.multi/dummy-frame-restore.c: New.
3102
aef92902
MM
31032014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3104
3105 * gdb.btrace/gcore.exp: New.
3106
8e9db26e
PA
31072014-06-23 Pedro Alves <palves@redhat.com>
3108
3109 * gdb.base/watchpoint-reuse-slot.c: New file.
3110 * gdb.base/watchpoint-reuse-slot.exp: New file.
3111
70afc5b7
SC
31122014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3113
3114 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3115 progspace's filename in 'info', 'enable' and 'disable' command
3116 tests.
3117
b972bd9c
JK
31182014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3119
3120 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3121 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3122 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3123
125f8a3d
GB
31242014-06-20 Gary Benson <gbenson@redhat.com>
3125
3126 * gdb.arch/i386-avx.exp: Fix include file location.
3127 * gdb.arch/i386-sse.exp: Likewise.
3128
3ed9baed
IB
31292014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3130
3131 * gdb.dlang/expression.exp: New file.
3132
034f788c
PA
31332014-06-19 Pedro Alves <palves@redhat.com>
3134
3135 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3136 out from ...
3137 (top level): ... here. Iterate running tests under different
3138 scheduler-locking settings.
3139
45371d0c
LM
31402014-06-18 Luis Machado <lgustavo@codesourcery.com>
3141
3142 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3143 to DW_FORM_addr and use non-zero addresses.
3144
5d376983
SC
31452014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3146
3147 PR gdb/17017
3148 * gdb.python/py-xmethods.cc: Add global function call counters and
3149 increment them in their respective functions. Remove "cout"
3150 statements.
3151 * gdb.python/py-xmethods.exp: Make tests check the global function
3152 call counters instead of depending on inferior IO.
3153
a1aa2221
LM
31542014-06-18 Don Breazeal <donb@codesourcery.com>
3155
3156 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3157 Deleted procedure.
3158 (explicit_fork_parent_follow): Deleted procedure.
3159 (explicit_fork_child_follow): Deleted procedure.
3160 (test_follow_fork): New procedure.
3161 (do_fork_tests): Replace calls to deleted procedures with
3162 calls to test_follow_fork and reset GDB for subsequent
3163 procedure calls.
3164
0fc05997
YQ
31652014-06-17 Yao Qi <yao@codesourcery.com>
3166
3167 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3168 CP1252.
3169
70795c52
LM
31702014-06-17 Luis Machado <lgustavo@codesourcery.com>
3171
3172 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3173 Initialize ptr and S explicitly.
3174 (skip_type_update_when_not_use_rtti_test): Likewise.
3175
6be47f0c
KS
31762014-06-16 Keith Seitz <keiths@redhat.com>
3177
3178 PR mi/15863
3179 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3180 the inferior is started.
3181
d03de421
PA
31822014-06-16 Pedro Alves <palves@redhat.com>
3183
3184 * gdb.base/break-main-file-remove-fail.c: New file.
3185 * gdb.base/break-main-file-remove-fail.exp: New file.
3186 * gdb.base/break-unload-file.exp: Use build_executable instead of
3187 prepare_for_testing.
3188 (test_break): New parameter "initial_load". Handle it.
3189 (top level): Add initial_load cmdline/file axis.
3190
f9579b99
TT
31912014-06-12 Tom Tromey <tromey@redhat.com>
3192
3193 * gdb.base/completion.exp: Don't use directory name in test.
3194
3657956b
GB
31952014-06-09 Gary Benson <gbenson@redhat.com>
3196
3197 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3198 separate the always-available ANSI-standard signals from the
3199 signals that require checking.
3200 (main): Likewise.
3201 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3202 Likewise.
3203 (main): Likewise.
3204
4186eb54
KS
32052014-06-07 Keith Seitz <keiths@redhat.com>
3206
3207 Revert:
3208 PR c++/16253
3209 * gdb.cp/var-tag.cc: New file.
3210 * gdb.cp/var-tag.exp: New file.
3211 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3212 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3213 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3214 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3215
25326a28 32162014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3217
3218 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3219
829155c9
PA
32202014-06-06 Pedro Alves <palves@redhat.com>
3221
3222 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3223 in target debug output instead of looking at RSP packets,
3224 disabling the test on any target that uses hardware stepping.
3225 Update comments.
3226
61c8d22e
PA
32272014-06-06 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.base/break-unload-file.exp: Fix typo.
3230
d9a47287
YQ
32312014-06-06 Yao Qi <yao@codesourcery.com>
3232
3233 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3234 from "jit_function" to "^jit_function".
3235
e5e01dbf
YQ
32362014-06-06 Yao Qi <yao@codesourcery.com>
3237
3238 * gdb.base/async.c (foo): Add one statement.
3239 * gdb.base/async.exp: Get the next instruction address and
3240 match the output of "nexti" by instruction address. Match
3241 the hex address in the output of "finish".
3242
73ba372c
GB
32432014-06-06 Gary Benson <gbenson@redhat.com>
3244
3245 * gdb.base/call-signals.c: Remove preprocessor conditionals
3246 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3247 SIGSEGV and SIGTERM.
3248 * gdb.base/sigall.c: Likewise.
3249 * gdb.base/unwindonsignal.c: Likewise.
3250 * gdb.reverse/sigall-reverse.c: Likewise.
3251
831517df
YQ
32522014-06-06 Yao Qi <yao@codesourcery.com>
3253
3254 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3255 readable, skip the test.
3256
b8b91e98
YQ
32572014-06-06 Yao Qi <yao@codesourcery.com>
3258
3259 * gdb.threads/staticthreads.c (thread_function): Move the line
3260 setting breakpoint on forward.
3261 * gdb.threads/staticthreads.exp: Update comments.
3262
fb934770
LC
32632014-06-05 Ludovic Courtès <ludo@gnu.org>
3264
3265 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3266 "history-append! type error".
3267
6ef284bd
SM
32682014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3269
3270 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3271 erroneous dprintf expected input.
3272
a872e241
DE
32732014-06-04 Doug Evans <xdje42@gmail.com>
3274
3275 * gdb.guile/scm-generics.exp: Delete.
3276
16f691fb
DE
32772014-06-04 Doug Evans <xdje42@gmail.com>
3278
3279 * gdb.guile/scm-breakpoint.exp: Update.
3280 Add tests for breakpoint registration.
3281
012370f6
TT
32822014-06-04 Tom Tromey <tromey@redhat.com>
3283
3284 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3285 VLA-in-union.
3286 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3287 inner_vla_struct, vla_union types. Initialize objects of those
3288 types and compute their sizes.
3289
9f5a4cef
HZ
32902014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3291 Hui Zhu <hui@codesourcery.com>
3292
3293 * gdb.base/fileio.exp: Add test for shell not available as well as
3294 available.
3295 * gdb.base/fileio.c (test_system): Check for shell twice.
3296
90a45c4d
YQ
32972014-06-04 Yao Qi <yao@codesourcery.com>
3298
3299 * gdb.base/auto-connect-native-target.exp: Remove redundant
3300 space from the regexp pattern.
3301
70017e41
YQ
33022014-06-04 Yao Qi <yao@codesourcery.com>
3303
3304 * gdb.base/default.exp: Replace "child" with "native" in
3305 regexp pattern.
3306
883964a7
SC
33072014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3308
3309 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3310 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3311 * gdb.python/py-xmethods.py: Python script supporting the
3312 new testcase and tests.
3313
ef370185
JB
33142014-06-03 Joel Brobecker <brobecker@adacore.com>
3315 Pedro Alves <palves@redhat.com>
3316
3317 PR breakpoints/17000
3318 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3319 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3320
1e2ccb61
BM
33212014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3322
3323 * gdb.base/subst.exp: Add tests to verify partial path matching
3324 output.
3325
c6ec5ab2
PA
33262014-06-03 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3329 target that doesn't use software single-stepping.
3330
835c559f
PA
33312014-06-03 Pedro Alves <palves@redhat.com>
3332
3333 PR breakpoints/17000
3334 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3335 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3336
06eb1586
DE
33372014-06-02 Doug Evans <xdje42@gmail.com>
3338
3339 * gdb.guile/scm-parameter.exp: New file.
3340
e698b8c4
DE
33412014-06-02 Doug Evans <xdje42@gmail.com>
3342
3343 * gdb.guile/scm-cmd.c: New file.
3344 * gdb.guile/scm-cmd.exp: New file.
3345
ded03782
DE
33462014-06-02 Doug Evans <xdje42@gmail.com>
3347
3348 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3349 pretty-printer lookup.
3350 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3351 (make-pp_s-printer): Call it.
3352 (make-pretty-printer-from-dict): New function.
3353 (lookup-pretty-printer-maker-from-dict): New function.
3354 (*pretty-printer*): Simplify.
3355 (make-objfile-pp_s-printer): New function.
3356 (install-objfile-pretty-printers!): New function.
3357 (make-progspace-pp_s-printer): New function.
3358 (install-progspace-pretty-printers!): New function.
3359 * gdb.guile/scm-progspace.c: New file.
3360 * gdb.guile/scm-progspace.exp: New file.
3361
41fac0cf
PA
33622014-06-02 Pedro Alves <palves@redhat.com>
3363
3364 * gdb.base/dprintf-bp-same-addr.c: New file.
3365 * gdb.base/dprintf-bp-same-addr.exp: New file.
3366
96ae5695
EBM
33672014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3368
3369 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3370 * gdb.arch/powerpc-power.s: Likewise.
3371
da02b3a8
JB
33722014-06-02 Joel Brobecker <brobecker@adacore.com>
3373
3374 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3375
c72b2e7b
YQ
33762014-06-01 Yao Qi <yao@codesourcery.com>
3377
3378 * gdb.base/watchpoint.exp (test_watch_location): Check null
3379 pointer can be dereferenced. If not, do the test, otherwise
3380 skip it.
3381
53e8a631
AB
33822014-05-30 Andrew Burgess <aburgess@broadcom.com>
3383
3384 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3385 results.
3386 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3387
938f0e2f
AB
33882014-05-30 Andrew Burgess <aburgess@broadcom.com>
3389
3390 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3391 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3392 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3393 * gdb.arch/amd64-invalid-stack-top.c: New file.
3394 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3395
9ba6657a
PA
33962014-05-30 Pedro Alves <palves@redhat.com>
3397
3398 PR breakpoints/17000
3399 * gdb.base/sss-bp-on-user-bp.c: New file.
3400 * gdb.base/sss-bp-on-user-bp.exp: New file.
3401
522c09bf
DB
34022014-05-30 David Blaikie <dblaikie@gmail.com>
3403
3404 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3405 gnu_inline semantics via attribute.
3406 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3407 source explicitly specifies the required semantics.
3408
bf4ef81e
MR
34092014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3410
3411 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3412
329ea579
PA
34132014-05-29 Pedro Alves <palves@redhat.com>
3414 Tom Tromey <tromey@redhat.com>
3415
3416 * gdb.base/async-shell.exp: Don't enable target-async.
3417 * gdb.base/async.exp
3418 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3419 parameter. Adjust.
3420 (top level): Don't test with "target-async".
3421 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3422 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3423 * gdb.base/inferior-died.exp: Don't enable target-async.
3424 * gdb.base/interrupt-noterm.exp: Likewise.
3425 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3426 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3427 * gdb.mi/mi-nonstop.exp: Likewise.
3428 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3429 * gdb.mi/mi-nsintrall.exp: Likewise.
3430 * gdb.mi/mi-nsmoribund.exp: Likewise.
3431 * gdb.mi/mi-nsthrexec.exp: Likewise.
3432 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3433 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3434 * gdb.python/py-evsignal.exp: Don't enable target-async.
3435 * gdb.python/py-evthreads.exp: Likewise.
3436 * gdb.python/py-prompt.exp: Likewise.
3437 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3438 * gdb.server/solib-list.exp: Don't enable target-async.
3439 * gdb.threads/thread-specific-bp.exp: Likewise.
3440 * lib/mi-support.exp: Adjust to use mi-async.
3441
fd664c91
PA
34422014-05-29 Pedro Alves <palves@redhat.com>
3443
3444 PR gdb/13860
3445 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3446 reason, even in sync mode.
3447
251bde03
PA
34482014-05-29 Pedro Alves <palves@redhat.com>
3449 Hui Zhu <hui@codesourcery.com>
3450
3451 PR PR15693
3452 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3453 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3454 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3455 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3456
7f3c0343
JB
34572014-05-28 Joel Brobecker <brobecker@adacore.com>
3458
3459 * config/monitor.exp (gdb_target_monitor): Replace use of
3460 "set remotebaud" by "set serial baud".
3461
b2715b27
AW
34622014-05-26 Andy Wingo <wingo@igalia.com>
3463
3464 * gdb.guile/scm-breakpoint.exp:
3465 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3466 properties instead of gdb-object-properties.
3467
498a4489
YQ
34682014-05-26 Yao Qi <yao@codesourcery.com>
3469
3470 * gdb.server/no-thread-db.exp: Specify source file name
3471 explicitly when setting a breakpoint.
3472
589fdceb
MM
34732014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3474
3475 * gdb.btrace/vdso.c: New.
3476 * gdb.btrace/vdso.exp: New.
3477
e9089e05
MM
34782014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3479
3480 * gdb.base/gcore.exp (capture_command_output): Move ...
3481 * lib/gdb.exp (capture_command_output): ... here.
3482
67b5c0c1
MM
34832014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3484
3485 * gdb.btrace/data.exp: Test memory access during btrace replay.
3486
a2199296
SM
34872014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3488
3489 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3490
17b2616c
PA
34912014-05-21 Pedro Alves <palves@redhat.com>
3492
3493 PR gdb/13860
3494 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3495 (top level): Test that output related to execution commands is
3496 sent to the console with CLI commands, but not with MI commands.
3497 Test that breakpoint events are always mirrored to the console.
3498 Also expect the new source line to be output after a "next" in
3499 async mode too. Make it a pass/fail test.
3500 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3501 output.
3502 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3503
5166082f
PA
35042014-05-21 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3507 Use them to test variations of "list" after reaching a breakpoint.
3508 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3509 Test "list" with listsize 10 after reaching a breakpoint.
3510 * gdb.python/python.exp (decode_line current location line
3511 number): Adjust expected line number.
3512
2f25d70f
SM
35132014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3514
3515 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3516 behavior for $args, pass it directly to "run".
3517
ff604a67
MR
35182014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3519
3520 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3521 30000 to 65536.
3522
6a3cb8e8
PA
35232014-05-21 Pedro Alves <palves@redhat.com>
3524
3525 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3526 auto-connect-native-target off".
3527 * gdb.base/auto-connect-native-target.c: New file.
3528 * gdb.base/auto-connect-native-target.exp: New file.
3529
4ebfc96e
PA
35302014-05-21 Pedro Alves <palves@redhat.com>
3531
3532 * gdb.base/default.exp: Test "target native" instead of "target
3533 child".
3534
36d46afb
MW
35352014-05-21 Mark Wielaard <mjw@redhat.com>
3536
3537 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3538
5876f503
JK
35392014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3540
3541 Fix TLS access for -static -pthread.
3542 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3543 <HAVE_TLS> (thread_function, main): Initialize it.
3544 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3545 Add clean_restart.
3546 <$have_tls != "">: Check TLSVAR.
3547
0256a6ac
PA
35482014-05-21 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.base/dcache-line-read-error.c: New.
3551 * gdb.base/dcache-line-read-error.exp: New.
3552
936d2992
PA
35532014-05-20 Pedro Alves <palves@redhat.com>
3554
3555 * gdb.base/compare-sections.c: New file.
3556 * gdb.base/compare-sections.exp: New file.
3557
802e8e6d
PA
35582014-05-20 Pedro Alves <palves@redhat.com>
3559
3560 * gdb.base/break-idempotent.c: New file.
3561 * gdb.base/break-idempotent.exp: New file.
3562
e59fa00f
MM
35632014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3564
3565 * gdb.btrace/nohist.exp: New.
3566
8b696e31
YQ
35672014-05-20 Yao Qi <yao@codesourcery.com>
3568
3569 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3570 gdb.reverse directory and gdb_reverse_timeout exists in board
3571 setting.
3572 * README: Document gdb_reverse_timeout.
3573
73c9764f
YQ
35742014-05-20 Yao Qi <yao@codesourcery.com>
3575
3576 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3577 'test_file_name'. Treat args as a string instead of a list.
3578 (gdb_init): Rename argument 'args' by 'test_file_name'.
3579
f1f4348a
JK
35802014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3581
3582 * gdb.arch/powerpc-power.exp: New file.
3583 * gdb.arch/powerpc-power.s: New file.
3584
0dbe70ce
DE
35852014-05-16 Doug Evans <dje@google.com>
3586
3587 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3588 * gdb.base/completion.exp: Check that all expected files exist
3589 before doing file completion.
0dbe70ce 3590
8d551b02
DE
35912014-05-16 Doug Evans <dje@google.com>
3592
3593 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3594 Update.
3595 (do_syscall_tests_without_xml): Update.
3596
73eb7709
PA
35972014-05-16 Pedro Alves <palves@redhat.com>
3598
3599 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3600 instead of "unknown output after running".
3601
3fae92fc
YQ
36022014-05-16 Yao Qi <yao@codesourcery.com>
3603
3604 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3605 file1.txt from host at the end.
3606 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3607
c2b2ccc5
DE
36082014-05-15 Doug Evans <dje@google.com>
3609
3610 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3611 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3612 loading file. Add test for TU lookup.
3613
8c217a4b
SM
36142014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3615
3616 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3617 calling "-exec-arguments" or "set args" before running the
3618 inferior.
3619
3deb39c6
SM
36202014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3621
3622 * lib/mi-support.exp (mi_expect_stop): Expect message for
3623 inferiors that exit with non-zero exit code.
3624
71a79f8c
YQ
36252014-05-14 Yao Qi <yao@codesourcery.com>
3626
3627 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3628 match absolute path on remote host.
3629 (test_file_list_exec_source_files): Remove "/" from the
3630 pattern.
3631
f23fcd46
YQ
36322014-05-14 Yao Qi <yao@codesourcery.com>
3633
3634 * boards/local-remote-host-notty.exp (${board}_file): New
3635 proc.
3636
9404b58f
KM
36372014-05-07 Kyle McMartin <kyle@redhat.com>
3638
3639 Pushed by Joel Brobecker <brobecker@adacore.com>.
3640 * gdb.arch/aarch64-atomic-inst.c: New file.
3641 * gdb.arch/aarch64-atomic-inst.exp: New file.
3642
5e45f04c
YQ
36432014-05-07 Yao Qi <yao@codesourcery.com>
3644
3645 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3646 in current context" too.
3647
c888a17d
KS
36482014-05-05 Keith Seitz <keiths@redhat.com>
3649
3650 * gdb.linespec/ls-dollar.exp: Add test for linespec
3651 file:convenience_variable.
3652
290a839c
YQ
36532014-05-05 Yao Qi <yao@codesourcery.com>
3654
3655 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3656 traceframes into tfile and ctf trace files. Read data from
3657 trace file and test collected data.
3658 (gdb_collect_locals_test): Likewise.
3659 (gdb_unavailable_registers_test): Likewise.
3660 (gdb_unavailable_floats): Likewise.
3661 (gdb_collect_globals_test): Likewise.
3662 (top-level): Append "ctf" to trace_file_targets if GDB
3663 supports.
3664
b5262cd0
YQ
36652014-05-05 Yao Qi <yao@codesourcery.com>
3666
3667 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3668 code to ...
3669 (gdb_collect_args_test_1): ... it. New proc.
3670 (gdb_collect_locals_test): Move some code to ...
3671 (gdb_collect_locals_test_1): ... it. New proc.
3672 (gdb_unavailable_registers_test): Move some code to ...
3673 (gdb_unavailable_registers_test_1): ... it. New proc.
3674 (gdb_unavailable_floats): Move some code to ...
3675 (gdb_unavailable_floats_1): ... it. New proc.
3676
30a1e6cc
SDJ
36772014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3678
3679 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3680 probes to test for bitness recognition.
3681 * gdb.arch/amd64-stap-optional-prefix.exp
3682 (test_probe_value_without_reg): New procedure.
3683 Add code to test for different kinds of bitness.
3684
f33da99a
SDJ
36852014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3686
3687 PR breakpoints/16889
3688 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3689 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3690
5b80f00d
PA
36912014-05-01 Pedro Alves <palves@redhat.com>
3692
3693 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3694 gdb_file_cmd if no file is specified.
3695 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3696 last_loaded_file to set the remote exec-file.
3697
f8c2a73c
PA
36982014-05-01 Pedro Alves <palves@redhat.com>
3699
3700 * boards/local-remote-host.exp: New file.
3701
be6e8ac7
PA
37022014-05-01 Pedro Alves <palves@redhat.com>
3703
3704 * boards/local-remote-host.exp: Rename to ...
3705 * boards/local-remote-host-notty.exp: ... this.
3706
cac0dc8f
JB
37072014-04-28 Joel Brobecker <brobecker@adacore.com>
3708
3709 * gdb.ada/dyn_arrayidx: New testcase.
3710
9730e6cc
YQ
37112014-04-26 Yao Qi <yao@codesourcery.com>
3712
3713 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3714 and compute the length of function main. Save it in
3715 $main_length.
3716 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3717 (top-level): Use gdb_compile to compile objects into
3718 executable and restart GDB. Remove invocation to
3719 prepare_for_testing.
3720
7ae1a6a6
PA
37212014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3722 Pedro Alves <palves@redhat.com>
3723
3724 PR server/16255
3725 * gdb.multi/multi-attach.c: New file.
3726 * gdb.multi/multi-attach.exp: New file.
3727
4082afcc
PA
37282014-04-25 Pedro Alves <palves@redhat.com>
3729
3730 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3731 user.
3732 (top level): Test that "set remote conditional-breakpoints-packet
3733 off" works as intended.
3734 * gdb.base/dprintf.exp: Test that "set remote
3735 breakpoint-commands-packet off" works as intended.
3736 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3737 New function.
3738 (top level): Call it.
3739 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3740 remote fast-tracepoints-packet off" works as intended.
3741 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3742 * lib/gdb.exp (gdb_is_target_remote): ... here.
3743
2abc3f8d
DB
37442014-04-24 David Blaikie <dblaikie@gmail.com>
3745
3746 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3747 ensure clang would not discard them.
3748 * gdb.base/gdbvars.c: Ditto.
3749 * gdb.base/memattr.c: Ditto.
3750 * gdb.base/whatis.c: Ditto.
3751 * gdb.python/py-prettyprint.c: Ditto.
3752 * gdb.trace/actions.c: Ditto.
3753 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3754 ensure clang would not discard it.
3755
bfd39632
DB
37562014-04-24 David Blaikie <dblaikie@gmail.com>
3757
3758 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3759 clang to emit the full definition of type required by the test
3760 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3761
22842ff6
DB
37622014-04-24 David Blaikie <dblaikie@gmail.com>
3763
3764 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3765 coax Clang into emitting the definition of the type.
3766 * gdb.cp/pr10728-x.h (y): Ditto.
3767 * gdb.cp/pr10728-y.cc (y): Ditto.
3768
c2e827ad
DB
37692014-04-24 David Blaikie <dblaikie@gmail.com>
3770
3771 * gdb.base/label.exp: XFAIL label related tests under Clang.
3772 * gdb.cp/cplabel.exp: Ditto.
3773 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3774 under Clang those using labels.
3775
4c2d33e7
YQ
37762014-04-25 Yao Qi <yao@codesourcery.com>
3777
3778 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3779 double_label.
3780 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3781 partial_label and double_label.
3782
56083b99
DB
37832014-04-24 David Blaikie <dblaikie@gmail.com>
3784
3785 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3786
25d4e99d
DB
37872014-04-24 David Blaikie <dblaikie@gmail.com>
3788
3789 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3790 of the function to work across GCC and Clang.
3791 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3792 pointer types (const void ** const V void **).
3793
01f9f808
MS
37942014-04-24 Michael Sturm <michael.sturm@mintel.com>
3795 Walfred Tedeschi <walfred.tedeschi@intel.com>
3796
3797 * Makefile.in (EXECUTABLES): Added i386-avx512.
3798 * gdb.arch/i386-avx512.c: New file.
3799 * gdb.arch/i386-avx512.exp: Likewise.
3800
4b48d439
KS
38012014-04-23 Keith Seitz <keiths@redhat.com>
3802
3803 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3804 (mi_make_breakpoint_table): New procedure.
3805 (mi_create_breakpoint): Use mi_make_breakpoint
3806 and return the result.
3807 (mi_make_breakpoint): New procedure.
3808 (mi_build_kv_pairs): New procedure.
3809
3810 * gdb.mi/mi-break.exp: Remove unused globals,
3811 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3812 All callers updated.
3813 * gdb.mi/mi-dprintf.exp: Use variable to track command
3814 number.
3815 Update all callers of mi_create_breakpoint and use
3816 mi_make_breakpoint_table.
3817 Remove any unused global variables.
3818 * gdb.mi/mi-nonstop.exp: Likewise.
3819 * gdb.mi/mi-nsintrall.exp: Likewise.
3820 * gdb.mi/mi-nsmoribund.exp: Likewise.
3821 * gdb.mi/mi-nsthrexec.exp: Likewise.
3822 * gdb.mi/mi-reverse.exp: Likewise.
3823 * gdb.mi/mi-simplerun.exp: Likewise.
3824 * gdb.mi/mi-stepn.exp: Likewise.
3825 * gdb.mi/mi-syn-frame.exp: Likewise.
3826 * gdb.mi/mi-until.exp: Likewise.
3827 * gdb.mi/mi-var-cp.exp: Likewise.
3828 * gdb.mi/mi-var-display.exp: Likewise.
3829 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3830 * gdb.mi/mi2-var-child.exp: Likewise.
3831 * gdb.mi/mi-vla-c99.exp: Likewise.
3832 * lib/mi-support.exp: Likewise.
3833
3834 From Ian Lance Taylor <iant@cygnus.com>:
3835 * lib/gdb.exp (parse_args): New procedure.
3836
08351840
PA
38372014-04-23 Pedro Alves <palves@redhat.com>
3838
3839 * gdb.base/break-unload-file.c: New file.
3840 * gdb.base/break-unload-file.exp: New file.
3841 * gdb.base/sym-file-lib.c (baz): New function.
3842 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3843 field.
3844 (load): Store the segment's mapped size.
3845 (unload): New function.
3846 (unload_shlib): New function.
3847 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3848 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3849 set a breakpoint at baz, and call it.
3850 * gdb.base/sym-file.exp: New tests for stale breakpoint
3851 instructions.
3852
076855f9
PA
38532014-04-23 Pedro Alves <palves@redhat.com>
3854
3855 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3856 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3857 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3858 * gdb.base/hbreak-unmapped.c: New file.
3859 * gdb.base/hbreak-unmapped.exp: New file.
3860 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3861 * lib/gdb.exp (gdb_is_target_remote): ... here.
3862
483805cf
PA
38632014-04-22 Pedro Alves <palves@redhat.com>
3864
3865 * gdb.base/consecutive-step-over.c: New file.
3866 * gdb.base/consecutive-step-over.exp: New file.
3867
06d97543
PA
38682014-04-22 Pedro Alves <palves@redhat.com>
3869
3870 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3871 instead of send_gdb/gdb_expect.
3872
b4429ea2
YQ
38732014-04-22 Yao Qi <yao@codesourcery.com>
3874
3875 * lib/trace-support.exp (generate_tracefile): New procedure.
3876 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3877 return 0.
3878 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3879 if generate_tracefile returns 1.
3880
51d48146
PA
38812014-04-18 Tom Tromey <palves@redhat.com>
3882 Pedro alves <tromey@redhat.com>
3883
3884 PR backtrace/15558
3885 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3886 with a backtrace limit.
3887 * gdb.python/py-frame-inline.exp: Test running to an inline
3888 function with a backtrace limit, and printing the newest frame.
3889 * gdb.python/py-frame-inline.c (main): Call f.
3890
bd1dce5f
MS
38912014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3892
3893 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3894
40d1a503
MS
38952014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3896
3897 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3898 Drop prefix from unsupported source file path.
3899
389b98f7
YQ
39002014-04-17 Yao Qi <yao@codesourcery.com>
3901
3902 * lib/gdb.exp (with_target_charset): New proc.
3903 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3904 with_target_charset.
3905 (test_print_strings): Likewise.
3906 (test_repeat_bytes): Likewise.
3907 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3908 for some tests.
3909
22869d73
KS
39102014-04-16 Keith Seitz <keiths@redhat.com>
3911
3912 PR gdb/15827
3913 * gdb.dwarf2/corrupt.c: New file.
3914 * gdb.dwarf2/corrupt.exp: New file.
3915
c4f87ca6
KS
39162014-04-16 Keith Seitz <keiths@redhat.com>
3917
3918 PR c++/16597
3919 * gdb.cp/namelessclass.cc: New file.
3920 * gdb.cp/namelessclass.exp: New file.
3921 * gdb.cp/namelessclass.S: New file.
3922
ab19de87
DE
39232014-04-16 Doug Evans <dje@google.com>
3924
3925 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3926 Add comment.
3927 (gdbserver_default_get_comm_port): New function.
3928 (gdbserver_start): Check if board file provided
3929 "gdbserver,get_comm_port" and use it if so.
3930 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3931 (gdb,socketport): Set to "stdio".
3932 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3933 (stdio_gdbserver_template): Delete.
3934 (${board}_get_remote_address): Update.
3935 (${board}_build_remote_cmd): Delete.
3936 (${board}_get_comm_port): New function.
3937 (${board}_spawn): Update.
3938 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3939 Delete.
3940 (${board}_get_remote_address): Update.
3941 (${board}_get_comm_port): New function.
3942
fc98a809
AB
39432014-04-16 Andrew Burgess <aburgess@broadcom.com>
3944
3945 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3946 appearing in any order.
3947
87fd9e6e
DE
39482014-04-15 Doug Evans <dje@google.com>
3949
3950 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3951 uninitialized value of "description".
3952
099fc3ea
KS
39532014-04-15 Keith Seitz <keiths@redhat.com>
3954
3955 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3956 Remove unused globals.
3957 (test_running_the_program): Likewise.
3958 (test_controlled_execution): Likewise.
3959 (test_controlling_breakpoints): Likewise.
3960 (test_program_termination): Likewise.
3961
5da151d4
KS
39622014-04-15 Keith Seitz <keiths@redhat.com>
3963
3964 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3965 unused globals.
3966 (test_rbreak_creation_and_listing): Likewise.
3967 (test_ignore_count): Likewise.
3968 (test_error): Likewise.
3969
35e5d2f0
PA
39702014-04-15 Pedro Alves <palves@redhat.com>
3971
3972 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3973 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3974 sym-file-loader.c.
3975 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3976 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3977 to sym-file-loader.c.
3978 (struct library): Forward declare.
3979 (load_shlib, lookup_function): Change prototypes.
3980 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3981 (translate_offset): Remove declarations.
3982 (get_text_addr): New declaration.
3983 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3984 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3985 sym-file-loader.h.
3986 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3987 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3988 here from sym-file-loader.h.
3989 (struct library): New structure.
3990 (load_shlib, lookup_function): Change prototypes and adjust to
3991 work with a struct library.
3992 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3993 (translate_offset): Make static.
3994 (get_text_addr): New function.
3995 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3996
eb4c1710
PA
39972014-04-15 Pedro Alves <palves@redhat.com>
3998
3999 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4000
2d1baf52
PA
40012014-04-15 Pedro Alves <palves@redhat.com>
4002
4003 * gdb.base/sym-file-loader.c: Include <limits.h>.
4004 (SELF_LINK): New define.
4005 (get_origin): New function.
4006 (load_shlib): Use it.
4007 * gdb.base/sym-file.exp: Don't early return if the target is
4008 remote. Use runto_main, and issue fail is that fails. Use
4009 gdb_load_shlibs.
4010 (shlib_name): Delete.
4011 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4012
7dd6df01
PA
40132014-04-15 Pedro Alves <palves@redhat.com>
4014
4015 * gdb.base/sym-file.exp: Remove regex characters from test
4016 message. Don't refer to breakpoint numbers in test messages.
4017
b50c8614
KS
40182014-04-14 Keith Seitz <keiths@redhat.com>
4019
4020 PR c++/16253
4021 * gdb.cp/var-tag.cc: New file.
4022 * gdb.cp/var-tag.exp: New file.
4023 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4024 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4025 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4026 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4027
3d567982
TT
40282014-04-14 Tom Tromey <tromey@redhat.com>
4029
4030 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4031 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4032 type.
4033 * gdb.cp/enum-class.exp: New file.
4034 * gdb.cp/enum-class.cc: New file.
4035
0626fc76
TT
40362014-04-14 Tom Tromey <tromey@redhat.com>
4037
4038 * gdb.dwarf2/enum-type.exp: New file.
4039
dca325b3
SA
40402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4041
4042 * gdb.mi/mi-vla-c99.exp: New file.
4043 * gdb.mi/vla.c: New file.
4044
5854b38a
SA
40452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4046
4047 * gdb.base/vla-datatypes.c: New file.
4048 * gdb.base/vla-datatypes.exp: New file.
4049
463bb957
SA
40502014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4051
4052 * gdb.base/vla-ptr.c: New file.
4053 * gdb.base/vla-ptr.exp: New file.
4054
3dd170be
SA
40552014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4056
4057 * gdb.dwarf2/count.exp: New file.
4058
5ecaaa66
SA
40592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4060
4061 * gdb.base/vla-sideeffect.c: New file.
4062 * gdb.base/vla-sideeffect.exp: New file.
4063
41f1ada5
DB
40642014-04-14 David Blaikie <dblaikie@gmail.com>
4065
4066 * gdb.mi/non-stop.c: Add return value for non-void function return
4067 statement.
4068 * gdb.threads/staticthreads.c: Ditto.
4069
0be03e84
DE
40702014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4071 Doug Evans <xdje42@gmail.com>
4072
4073 * gdb.guile/scm-value.c: Improve test case.
4074 * gdb.guile/scm-value.exp: Add new test.
4075
f180a1fb
DB
40762014-04-11 David Blaikie <dblaikie@gmail.com>
4077
4078 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4079 override Clang's default.
4080
6b662e19
JB
40812014-04-11 Joel Brobecker <brobecker@adacore.com>
4082
4083 Revert the following changes (regressions):
4084
4085 * gdb.base/vla-sideeffect.c: New file.
4086 * gdb.base/vla-sideeffect.exp: New file.
4087
4088 * gdb.dwarf2/count.exp: New file.
4089
4090 * gdb.base/vla-multi.c: New file.
4091 * gdb.base/vla-multi.exp: New file.
4092
4093 * gdb.base/vla-ptr.c: New file.
4094 * gdb.base/vla-ptr.exp: New file.
4095
4096 * gdb.base/vla-datatypes.c: New file.
4097 * gdb.base/vla-datatypes.exp: New file.
4098
4099 * gdb.mi/mi-vla-c99.exp: New file.
4100 * gdb.mi/vla.c: New file.
4101
245a5f0b
KS
41022014-04-11 Keith Seitz <keiths@redhat.com>
4103
4104 PR c++/16675
4105 * gdb.cp/cpsizeof.exp: New file.
4106 * gdb.cp/cpsizeof.cc: New file.
4107
58a84dcf
SA
41082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4109
191a8a90
JB
4110 * gdb.mi/mi-vla-c99.exp: New file.
4111 * gdb.mi/vla.c: New file.
58a84dcf 4112
c8655f75
SA
41132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4114
4115 * gdb.base/vla-datatypes.c: New file.
4116 * gdb.base/vla-datatypes.exp: New file.
4117
024e13b4
SA
41182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4119
4120 * gdb.base/vla-ptr.c: New file.
4121 * gdb.base/vla-ptr.exp: New file.
4122
1a237e0e
SA
41232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4124
4125 * gdb.base/vla-multi.c: New file.
4126 * gdb.base/vla-multi.exp: New file.
4127
504f3432
SA
41282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4129
4130 * gdb.dwarf2/count.exp: New file.
4131
3bce8237
SA
41322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4133
191a8a90
JB
4134 * gdb.base/vla-sideeffect.c: New file.
4135 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4136
322f9c21
YQ
41372014-04-11 Yao Qi <yao@codesourcery.com>
4138
4139 * gdb.base/completion.exp: Check file exists before running tests
4140 on file completion.
4141
d708bcd1
PA
41422014-04-10 Pedro Alves <palves@redhat.com>
4143
4144 * gdb.base/cond-eval-mode.c: New file.
4145 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4146 prepare_for_testing to build the new file. Check result of
4147 runto_main.
4148 (test_break, test_watch): New procedures.
4149 (top level): Use them.
4150
ae1d2761
PM
41512014-04-08 Pierre Muller <muller@sourceware.org>
4152
4153 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4154 Ctrl-V use for mingw hosts.
4155
7af389b8
SC
41562014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4157
4158 * gdb.python/py-value.c: Improve test case.
4159 * gdb.python/py-value.exp: Add new test.
4160
5e703181
DE
41612014-04-07 David Blaikie <dblaikie@gmail.com>
4162
4163 * lib/compiler.c: Identify the clang compiler.
4164 * lib/compiler.cc: Ditto.
4165
9810b410
YQ
41662014-04-03 Yao Qi <yao@codesourcery.com>
4167
4168 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4169
98d1b8dc
AB
41702014-04-01 Anton Blanchard <anton@samba.org>
4171
4172 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4173 messages unique.
4174
3114cea1
AB
41752014-04-01 Anton Blanchard <anton@samba.org>
4176
4177 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4178 prepare_for_testing.
4179
62f7182c
AB
41802014-04-01 Anton Blanchard <anton@samba.org>
4181
4182 * gdb.arch/ppc64-atomic-inst.c: Remove.
4183 * gdb.arch/ppc64-atomic-inst.S: New file.
4184 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4185
770e7fc7
DE
41862014-03-31 Doug Evans <dje@google.com>
4187
4188 * gdb.base/print-symbol-loading-lib.c: New file.
4189 * gdb.base/print-symbol-loading-main.c: New file.
4190 * gdb.base/print-symbol-loading.exp: New file.
4191
46e2bafa
YQ
41922014-03-31 Yao Qi <yao@codesourcery.com>
4193
4194 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4195
8776cfe9
JB
41962014-03-28 Joel Brobecker <brobecker@adacore.com>
4197
4198 * gdb.ada/mi_dyn_arr: New testcase.
4199
5d1ef361
DE
42002014-03-27 Doug Evans <dje@google.com>
4201
4202 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4203
b5bee914
YQ
42042014-03-27 Yao Qi <yao@codesourcery.com>
4205
4206 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4207 if target is nios2-*-*.
4208
0d4d0e77
YQ
42092014-03-26 Yao Qi <yao@codesourcery.com>
4210
4211 * lib/gdb.exp (readline_is_used): New proc.
4212 * gdb.base/completion.exp: Move tests on command complete up.
4213 Skip the rest of tests if readline is not used.
4214 * gdb.ada/complete.exp: Skp the test if readline is not
4215 used.
4216 * gdb.base/filesym.exp: Likewise.
4217 * gdb.base/macscp.exp: Likewise.
4218 * gdb.base/readline-ask.exp: Likewise.
4219 * gdb.base/readline.exp: Likewise.
4220 * gdb.python/py-cmd.exp: Likewise.
4221 * gdb.trace/tfile.exp: Likewise.
4222
29361eee
YQ
42232014-03-26 Yao Qi <yao@codesourcery.com>
4224
4225 * gdb.base/macscp.exp: Fix code format issues.
4226
bc9a5525
UW
42272014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4228
4229 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4230 * gdb.asm/powerpc64le.inc: New file.
4231
d3839ede
PA
42322014-03-25 Pedro Alves <palves@redhat.com>
4233 Doug Evans <dje@google.com>
4234
4235 * gdb.base/source-execution.c: New file.
4236 * gdb.base/source-execution.exp: New file.
4237 * gdb.base/source-execution.gdb: New file.
4238
01672a57
DE
42392014-03-24 Doug Evans <dje@google.com>
4240
4241 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4242 using fission.
4243
88bbeca9
HZ
42442014-03-24 Hui Zhu <hui@codesourcery.com>
4245 Pedro Alves <palves@redhat.com>
4246
4247 PR breakpoints/16101
4248 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4249 test pass/fail messages. Detect missing support for dprintf when
4250 breakpoints are actually inserted.
4251 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4252 breakpoints are actually inserted.
4253 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4254 fails.
4255
d2348791
JK
42562014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4257
4258 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4259
feef67ab
DE
42602014-03-22 Doug Evans <xdje42@gmail.com>
4261
4262 * gdb.python/python.exp (python not supported): Verify multi-line
4263 python command issues an error.
25d743f9 4264 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4265 guile command issues an error.
feef67ab 4266
ecebef6a
MR
42672014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4268
4269 * gdb.threads/thread-specific.exp: Handle the lack of usable
4270 $this_breakpoint and $this_thread.
4271
ccdd1909
HZ
42722014-03-21 Hui Zhu <hui@codesourcery.com>
4273
4274 * gdb.base/attach.exp (do_command_attach_tests): New.
4275
beb460e8
PA
42762014-03-20 Tom Tromey <tromey@redhat.com>
4277 Pedro Alves <palves@redhat.com>
4278
4279 PR cli/15718
4280 * gdb.base/condbreak-call-false.c: New file.
4281 * gdb.base/condbreak-call-false.exp: New file.
4282
40acf43a
PA
42832014-03-20 Pedro Alves <palves@redhat.com>
4284
4285 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4286 Delete.
4287 (block_signals, unblock_signals): Delete.
4288 (child_function_2, main): Remove references to deleted variable
4289 and functions.
4290
9f5e1e02
PA
42912014-03-20 Pedro Alves <palves@redhat.com>
4292
4293 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4294 Use pthread_kill to signal thread 2.
4295 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4296 Adjust to make the test send itself a signal rather than using the
4297 host's "kill" command.
4298
99619bea
PA
42992014-03-20 Pedro Alves <palves@redhat.com>
4300
4301 * gdb.threads/multiple-step-overs.c: New file.
4302 * gdb.threads/multiple-step-overs.exp: New file.
4303 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4304 Adjust expected infrun debug output.
4305
2adfaa28
PA
43062014-03-20 Pedro Alves <palves@redhat.com>
4307
4308 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4309 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4310
31e77af2
PA
43112014-03-20 Pedro Alves <palves@redhat.com>
4312
4313 PR breakpoints/7143
4314 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4315 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4316 of gdb_test_multiple.
4317 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4318 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4319
b9f437de
PA
43202014-03-20 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4323 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4324
05adc73e
PA
43252014-03-19 Pedro Alves <palves@redhat.com>
4326
4327 * gdb.base/async.exp: Remove early return.
4328
6048b950
PA
43292014-03-19 Pedro Alves <palves@redhat.com>
4330
4331 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4332
8bcfb00a
PA
43332014-03-19 Pedro Alves <palves@redhat.com>
4334
4335 * gdb.base/async.exp (test_background): Expect \r\n after
4336 "completed." in the fail pattern.
4337
884e37dc
PA
43382014-03-19 Pedro Alves <palves@redhat.com>
4339
4340 * gdb.base/async.exp (test_background): New procedure.
4341 Use it for all background execution command tests.
4342
148e57e2
PA
43432014-03-19 Pedro Alves <palves@redhat.com>
4344
4345 * gdb.base/async.exp: Use prepare_for_testing.
4346
f48088c7
PA
43472014-03-19 Pedro Alves <palves@redhat.com>
4348
4349 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4350 the same line.
4351
e2f6c966
PA
43522014-03-19 Pedro Alves <palves@redhat.com>
4353
4354 * gdb.base/async.c (main): Add "jump here" and "until here" line
4355 marker comments.
4356 * gdb.base/async.exp (jump_here): New global.
4357 (jump& test): Use it.
4358 (until_here): New global.
4359 (until& test): Use it.
4360
c30568d4
PA
43612014-03-19 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.base/async.exp: Don't frob gdb_protocol.
4364
0172b6a7
DE
43652014-03-18 Doug Evans <xdje42@gmail.com>
4366
4367 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4368 Fix spelling of exec-done-display.
4369
06c868a8
JK
43702014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4371
4372 PR gdb/15358
4373 * gdb.base/gdb-sigterm.c: New file.
4374 * gdb.base/gdb-sigterm.exp: New file.
4375
0c7e1a46
PA
43762014-03-18 Pedro Alves <palves@redhat.com>
4377
4378 PR gdb/13860
4379 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4380 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4381 solib-event.
4382
f7c77d93
JB
43832014-03-17 Joel Brobecker <brobecker@adacore.com>
4384
4385 * gdb.ada/pckd_arr_ren: New testcase.
4386
5a1e8c7a
DE
43872014-03-13 Doug Evans <xdje42@gmail.com>
4388
4389 PR guile/16612
4390 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4391 collect after discarding symbols.
4392
350e1a76
DE
43932014-03-13 Ludovic Courtès <ludo@gnu.org>
4394 Doug Evans <xdje42@gmail.com>
4395
4396 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4397 to history survives a gc.
4398
a69900ae
PA
43992014-03-13 Pedro Alves <palves@redhat.com>
4400
4401 * gdb.base/default.exp: Don't test "target procfs".
4402
5db9f0bd
PA
44032014-03-13 Pedro Alves <palves@redhat.com>
4404
4405 * gdb.base/default.exp: Update "target child" and "target procfs"
4406 tests to not expect "Unix".
4407
b3ccfe11
TT
44082014-03-12 Tom Tromey <tromey@redhat.com>
4409
4410 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4411 New procs. Add target-async tests.
4412 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4413 Add target-async tests.
4414
646f4417
AA
44152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4416
4417 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4418 'func_start' and 'func_end' for the beginning and end of the
4419 function code, respectively.
4420 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4421 'func_end' instead of 'func' and 'main'.
4422
288c211f
AA
44232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4424
4425 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4426 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4427 generate the debug info assembler source.
4428
e0c0f156
AA
44292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4430
4431 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4432 * gdb.dwarf2/arr-subrange.exp: Likewise.
4433 * gdb.dwarf2/dwz.exp: Likewise.
4434 * gdb.dwarf2/method-ptr.exp: Likewise.
4435 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4436 * gdb.dwarf2/subrange.exp: Likewise.
4437 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4438 * gdb.dwarf2/implptrpiece.exp: Likewise.
4439 * gdb.dwarf2/nostaticblock.exp: Likewise.
4440
0e5c4555
AA
44412014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4442
4443 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4444 directory to absolute path name arguments.
4445
5ec18f2b
JG
44462014-03-10 Joel Brobecker <brobecker@adacore.com>
4447
4448 * gdb.ada/tagged_access: New testcase.
4449
847fc4f2
MM
44502014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4451
4452 * gdb.btrace/data.exp: Update expected output.
4453
cc3da688
YQ
44542014-03-06 Yao Qi <yao@codesourcery.com>
4455
4456 * gdb.trace/pr16508.exp: New file.
4457
0f26cec1
PA
44582014-03-05 Pedro Alves <palves@redhat.com>
4459
4460 PR gdb/16575
4461 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4462 procedure.
4463 (top level): Adjust to use it. Add tests that exercise breakpoint
4464 interaction with the code-cache.
4465
7a5a839f
LC
44662014-02-26 Ludovic Courtès <ludo@gnu.org>
4467
4468 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4469 test for 'history-append!'.
4470
31aa7e4e
JB
44712014-02-26 Joel Brobecker <brobecker@adacore.com>
4472
4473 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4474 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4475 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4476 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4477 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4478 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4479
1b588015
JB
44802014-02-26 Joel Brobecker <brobecker@adacore.com>
4481
4482 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4483 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4484 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4485
55426c9d
JB
44862014-02-26 Joel Brobecker <brobecker@adacore.com>
4487
4488 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4489
dc53a7ad
JB
44902014-02-26 Joel Brobecker <brobecker@adacore.com>
4491
4492 * gdb.dwarf2/arr-stride.c: New file.
4493 * gdb.dwarf2/arr-stride.exp: New file.
4494
12ab52e9
PA
44952014-02-26 Pedro Alves <palves@redhat.com>
4496
4497 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4498 that won't ever trigger. Make sure that GDB reports the correct
4499 breakpoint that caused the stop.
4500
849c862e
JK
45012014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4502
4503 PR gdb/16626
4504 * gdb.base/auto-load-script: New file.
4505 * gdb.base/auto-load.c: New file.
4506 * gdb.base/auto-load.exp: New file.
4507
71b7d793
JK
4508 PR gdb/16626
4509 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4510
e2f0d509
JK
45112014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4512
4513 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4514 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4515
50cc37c8
DE
45162014-02-24 Doug Evans <dje@google.com>
4517
4518 * lib/gdb.exp (run_on_host): Log error output if program fails.
4519
ea4758f2
PA
45202014-02-21 Pedro Alves <palves@redhat.com>
4521
4522 * gdb.threads/step-after-sr-lock.c: Rename to ...
4523 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4524 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4525 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4526 ... this.
4527
d7b30f67
SDJ
45282014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4529
4530 PR tdep/16397
4531 * gdb.arch/amd64-stap-special-operands.exp: New file.
4532 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4533 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4534 * gdb.arch/amd64-stap-triplet.S: Likewise.
4535 * gdb.arch/amd64-stap-triplet.c: Likewise.
4536
83deb43f
JB
45372014-02-20 Joel Brobecker <brobecker@adacore.com>
4538
4539 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4540 in .section pseudo-op.
4541
adde2bff
DE
45422014-02-20 lin zuojian <manjian2006@gmail.com>
4543 Joel Brobecker <brobecker@adacore.com>
4544 Doug Evans <xdje42@gmail.com>
4545
4546 PR symtab/16581
4547 * gdb.dwarf2/dw2-icycle.S: New file.
4548 * gdb.dwarf2/dw2-icycle.c: New file.
4549 * gdb.dwarf2/dw2-icycle.exp: New file.
4550
f7bd0f78
SC
45512014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4552
4553 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4554 operations on gdb.Value objects.
4555 * gdb.python/py-value-cc.exp: Add new test to test operations on
4556 gdb.Value objects.
4557
c17ef0d5
DE
45582014-02-18 Doug Evans <dje@google.com>
4559
4560 * Makefile.in (TESTS): New variable.
4561 (expanded_tests, expanded_tests_or_none): New variables
4562 (check-single): Pass $(expanded_tests_or_none) to runtest.
4563 (check-parallel): Only run tests in $(TESTS) if non-empty.
4564 (check/no-matching-tests-found): New rule.
4565 * README: Document TESTS makefile variable.
4566
5dd3176f
DE
45672014-02-18 Doug Evans <dje@google.com>
4568
4569 * Makefile.in (check-parallel): rm -rf outputs temp.
4570
0b10be4f
JK
45712014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4572
4573 Fix "ERROR: no fileid for" in the testsuite.
4574 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4575
85f224e7
DE
45762014-02-12 Doug Evans <dje@google.com>
4577
4578 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4579 (MISCELLANEOUS): New variable.
4580 (clean): rm -rf $(MISCELLANEOUS).
4581 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4582 dwp live in the same directory as symlinks, with each symlink pointed
4583 to a differently named file in a different directory.
4584
149b30ff
DE
45852014-02-11 Doug Evans <dje@google.com>
4586
4587 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4588 of Tcl file commands.
4589
1dfdac32
MK
45902014-02-10 Mark Kettenis <kettenis@gnu.org>
4591
4592 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4593 "kill -SIGUSR1 -1".
4594
aa4fb036
JB
45952014-02-10 Joel Brobecker <brobecker@adacore.com>
4596
4597 * gdb.ada/tick_length_array_enum_idx: New testcase.
4598
ed3ef339
DE
45992014-02-10 Doug Evans <xdje42@gmail.com>
4600
4601 * configure.ac (AC_OUTPUT): Add gdb.guile.
4602 * configure: Regenerate.
4603 * lib/gdb-guile.exp: New file.
4604 * lib/gdb.exp (get_target_charset): New function.
4605 * gdb.base/help.exp: Update expected output from "apropos apropos".
4606 * gdb.guile/Makefile.in: New file.
4607 * gdb.guile/guile.exp: New file.
4608 * gdb.guile/scm-arch.c: New file.
4609 * gdb.guile/scm-arch.exp: New file.
4610 * gdb.guile/scm-block.c: New file.
4611 * gdb.guile/scm-block.exp: New file.
4612 * gdb.guile/scm-breakpoint.c: New file.
4613 * gdb.guile/scm-breakpoint.exp: New file.
4614 * gdb.guile/scm-disasm.c: New file.
4615 * gdb.guile/scm-disasm.exp: New file.
4616 * gdb.guile/scm-equal.c: New file.
4617 * gdb.guile/scm-equal.exp: New file.
4618 * gdb.guile/scm-error.exp: New file.
4619 * gdb.guile/scm-error.scm: New file.
4620 * gdb.guile/scm-frame-args.c: New file.
4621 * gdb.guile/scm-frame-args.exp: New file.
4622 * gdb.guile/scm-frame-args.scm: New file.
4623 * gdb.guile/scm-frame-inline.c: New file.
4624 * gdb.guile/scm-frame-inline.exp: New file.
4625 * gdb.guile/scm-frame.c: New file.
4626 * gdb.guile/scm-frame.exp: New file.
4627 * gdb.guile/scm-generics.exp: New file.
4628 * gdb.guile/scm-gsmob.exp: New file.
4629 * gdb.guile/scm-iterator.c: New file.
4630 * gdb.guile/scm-iterator.exp: New file.
4631 * gdb.guile/scm-math.c: New file.
4632 * gdb.guile/scm-math.exp: New file.
4633 * gdb.guile/scm-objfile-script-gdb.in: New file.
4634 * gdb.guile/scm-objfile-script.c: New file.
4635 * gdb.guile/scm-objfile-script.exp: New file.
4636 * gdb.guile/scm-objfile.c: New file.
4637 * gdb.guile/scm-objfile.exp: New file.
4638 * gdb.guile/scm-ports.exp: New file.
4639 * gdb.guile/scm-pretty-print.c: New file.
4640 * gdb.guile/scm-pretty-print.exp: New file.
4641 * gdb.guile/scm-pretty-print.scm: New file.
4642 * gdb.guile/scm-section-script.c: New file.
4643 * gdb.guile/scm-section-script.exp: New file.
4644 * gdb.guile/scm-section-script.scm: New file.
4645 * gdb.guile/scm-symbol.c: New file.
4646 * gdb.guile/scm-symbol.exp: New file.
4647 * gdb.guile/scm-symtab-2.c: New file.
4648 * gdb.guile/scm-symtab.c: New file.
4649 * gdb.guile/scm-symtab.exp: New file.
4650 * gdb.guile/scm-type.c: New file.
4651 * gdb.guile/scm-type.exp: New file.
4652 * gdb.guile/scm-value-cc.cc: New file.
4653 * gdb.guile/scm-value-cc.exp: New file.
4654 * gdb.guile/scm-value.c: New file.
4655 * gdb.guile/scm-value.exp: New file.
4656 * gdb.guile/source2.scm: New file.
4657 * gdb.guile/types-module.cc: New file.
4658 * gdb.guile/types-module.exp: New file.
4659
7026a7c1
YQ
46602014-02-10 Yao Qi <yao@codesourcery.com>
4661
4662 PR testsuite/16543
4663 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4664 * configure: Regenerated.
4665 * Makefile.in: New file.
4666
6c466447
AS
46672014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4668
4669 * gdb.python/py-framefilter.exp: Fix typo.
4670
6e854735
YQ
46712014-02-08 Yao Qi <yao@codesourcery.com>
4672
4673 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4674 that no =breakpoint-modified is emitted when breakpoints are
4675 modified through MI commands.
4676
d137e6dc
PA
46772014-02-07 Pedro Alves <pedro@codesourcery.com>
4678 Pedro Alves <palves@redhat.com>
4679
4680 * gdb.threads/step-after-sr-lock.c: New file.
4681 * gdb.threads/step-after-sr-lock.exp: New file.
4682
b5ee5a50
PA
46832014-02-07 Pedro Alves <palves@redhat.com>
4684
4685 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4686
3c77faf3
JK
46872014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4688
4689 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4690 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4691
6dddc817
DE
46922014-02-06 Doug Evans <xdje42@gmail.com>
4693
4694 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4695 output.
4696
4697 * gdb.gdb/python-interrupts.exp: New file.
4698
de7b2893
YQ
46992014-02-05 Yao Qi <yao@codesourcery.com>
4700
4701 * gdb.trace/report.exp (use_collected_data): Test the output
4702 of "info threads" and "info inferiors".
4703
66d032ac
YQ
47042014-02-05 Yao Qi <yao@codesourcery.com>
4705
4706 Revert this patch:
4707
4708 2013-05-24 Yao Qi <yao@codesourcery.com>
4709
4710 * gdb.trace/tfile.exp: Test inferior and thread.
4711
591a12a1
UW
47122014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4713
4714 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4715 on a function.
4716 * gdb.base/step-bt.c: Call hello via function pointer to make
4717 sure its first instruction is executed on powerpc64le-linux.
4718
0ff3e01f
UW
47192014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4720
4721 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4722
084ee545
UW
47232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4724
4725 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4726 of the test patterns for use on little-endian systems.
4727
6ed14ff3
UW
47282014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4729
4730 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4731 (decimal_vector): Fix for little-endian.
4732
401e27fd
JM
47332014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4734
4735 * gdb.arch/sparc-sysstep.exp: New file.
4736 * gdb.arch/sparc-sysstep.c: Likewise.
4737
4738 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4739
8b924729
EBM
47402014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4741
4742 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4743
fb151210
JB
47442014-01-23 Tom Tromey <tromey@redhat.com>
4745
4746 * gdb.ada/array_char_idx: New testcase.
4747
0740f8d8
TT
47482014-01-23 Tom Tromey <tromey@redhat.com>
4749
4750 PR python/16487:
4751 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4752 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4753 classes.
4754
21909fa1
TT
47552014-01-23 Tom Tromey <tromey@redhat.com>
4756
4757 PR python/16491:
4758 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4759 string from an inferior frame.
4760 * gdb.python/py-framefilter-mi.exp: Update.
4761
87ce2a04
DE
47622014-01-22 Doug Evans <dje@google.com>
4763
4764 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4765
237b092b
AA
47662014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4767
4768 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4769
d674a709
AA
47702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4771
4772 * gdb.trace/entry-values.exp: Remove excess space character from
4773 regex patterns. Handle s390 call instruction.
4774
20fa3390
AA
47752014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4776
4777 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4778 define "*_start" label. Make "name" static.
4779 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4780 ${name} by references to ${name}_start.
4781
78466714
AA
47822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4783
4784 * gdb.base/info-macros.exp: Remove "debug" from the compile
4785 options.
4786
ec9f644a
IB
47872014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4788
4789 * gdb.dlang/demangle.exp: New file.
4790
94b1b47e
IB
47912014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4792
4793 * gdb.dlang/primitive-types.exp: New file.
4794
7f420862
IB
47952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4796
4797 * configure.ac: Create gdb.dlang/Makefile.
4798 * configure: Regenerate.
4799 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4800 * gdb.dlang/Makefile.in: New file.
4801 * lib/d-support.exp: New file.
4802 * lib/gdb.exp (skip_d_tests): New proc.
4803
52834460
MM
48042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4805
4806 * gdb.btrace/delta.exp: Check reverse stepi.
4807 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4808 * gdb.btrace/finish.exp: New.
4809 * gdb.btrace/next.exp: New.
4810 * gdb.btrace/nexti.exp: New.
4811 * gdb.btrace/record_goto.c: Add comments.
4812 * gdb.btrace/step.exp: New.
4813 * gdb.btrace/stepi.exp: New.
4814 * gdb.btrace/multi-thread-step.c: New.
4815 * gdb.btrace/multi-thread-step.exp: New.
4816 * gdb.btrace/rn-dl-bind.c: New.
4817 * gdb.btrace/rn-dl-bind.exp: New.
4818 * gdb.btrace/data.c: New.
4819 * gdb.btrace/data.exp: New.
4820 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4821
6e07b1d2
MM
48222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4823
4824 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4825 * gdb.btrace/exception.exp: Update.
4826 * gdb.btrace/instruction_history.exp: Update.
4827 * gdb.btrace/record_goto.exp: Update.
4828 * gdb.btrace/tailcall.exp: Update.
4829 * gdb.btrace/unknown_functions.exp: Update.
4830 * gdb.btrace/delta.exp: New.
4831
0b722aec
MM
48322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4833
4834 * gdb.btrace/record_goto.exp: Add backtrace test.
4835 * gdb.btrace/tailcall.exp: Add backtrace test.
4836
066ce621
MM
48372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4838
4839 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4840 * gdb.btrace/record_goto.c: New.
4841 * gdb.btrace/record_goto.exp: New.
4842 * gdb.btrace/x86-record_goto.S: New.
4843
0688d04e
MM
48442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4845
4846 * gdb.btrace/function_call_history.exp: Update tests.
4847 * gdb.btrace/instruction_history.exp: Update tests.
4848
8710b709
MM
48492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4850
4851 * gdb.btrace/function_call_history.exp: Fix expected field
4852 order for "record function-call-history".
4853 Add new tests for "record function-call-history /c".
4854 * gdb.btrace/exception.cc: New.
4855 * gdb.btrace/exception.exp: New.
4856 * gdb.btrace/tailcall.exp: New.
4857 * gdb.btrace/x86-tailcall.S: New.
4858 * gdb.btrace/x86-tailcall.c: New.
4859 * gdb.btrace/unknown_functions.c: New.
4860 * gdb.btrace/unknown_functions.exp: New.
4861 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4862
5de9129b
MM
48632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4864
4865 * gdb.btrace/instruction_history.exp: Update.
4866 * gdb.btrace/function_call_history.exp: Update.
4867
23a7fe75
MM
48682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4869
4870 * gdb.btrace/function_call_history.exp: Fix expected function
4871 trace.
4872 * gdb.btrace/instruction_history.exp: Initialize traced.
4873 Remove traced_functions.
4874
724c7dd8
MM
48752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4876
4877 * gdb.btrace/function_call_history.exp: Update
4878 * gdb.btrace/instruction_history.exp: Update.
4879
6d78d93b
MM
48802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4881
4882 * gdb.btrace/enable.exp: Update expected text.
4883
93a360cc
OJ
48842014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4885
4886 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4887 bytes.
4888
3772b53f
MR
48892014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4890
4891 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4892
596662fa
OJ
48932014-01-15 Omair Javaid <omair.javaid@linaro.org>
4894
4895 * lib/gdb.exp (supports_process_record): Return true for
4896 arm*-linux*. (supports_reverse): Likewise.
4897
b5b08fb4
SC
48982014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4899
4900 PR python/15464
4901 PR python/16113
4902 * gdb.python/py-type.c: Enhance test case.
4903 * gdb.python/py-value-cc.cc: Likewise
4904 * gdb.python/py-type.exp: Add new tests.
4905 * gdb.python/py-value-cc.exp: Likewise
4906
52d7fb13
AA
49072014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4908 Pedro Alves <palves@redhat.com>
4909
4910 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4911 Make "name" extern.
4912 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4913 references to ${name}_start by references to ${name}.
4914
a2cd8cfe
JB
49152014-01-10 Joel Brobecker <brobecker@adacore.com>
4916
4917 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4918
4e23fced
JB
49192014-01-10 Joel Brobecker <brobecker@adacore.com>
4920
4921 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4922
c6a9e42c
PA
49232014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4924 Pedro Alves <palves@redhat.com>
4925
4926 * gdb.mi/mi-info-os.exp: Connect to the target with
4927 mi_gdb_target_load.
4928
b7ea362b
PA
49292014-01-08 Pedro Alves <palves@redhat.com>
4930
4931 * gdb.threads/reconnect-signal.c: New file.
4932 * gdb.threads/reconnect-signal.exp: New file.
4933
5e3f4fab
EBM
49342014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4935
4936 * gdb.base/source-dir.exp: New file.
4937
79301218
JB
49382014-01-07 Joel Brobecker <brobecker@adacore.com>
4939
4940 * gdb.ada/mi_interface: New testcase.
4941
8e355c5d
JB
49422014-01-07 Joel Brobecker <brobecker@adacore.com>
4943
4944 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4945 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4946 gdb.ada/pp-rec-component/pck.ads: New files.
4947
c0d48811
JB
49482014-01-07 Joel Brobecker <brobecker@adacore.com>
4949
4950 * gdb.python/py-pp-integral.c: New file.
4951 * gdb.python/py-pp-integral.py: New file.
4952 * gdb.python/py-pp-integral.exp: New file.
4953
17b609c3 4954For older changes see ChangeLog-1993-2013.
c906108c 4955\f
8d8cb839
EZ
4956;; Local Variables:
4957;; mode: change-log
4958;; left-margin: 8
4959;; fill-column: 74
4960;; version-control: never
4961;; End:
902f2ccb 4962
32d0add0 4963 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4964 Copying and distribution of this file, with or without modification,
4965 are permitted provided the copyright notice and this notice are preserved.