]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
80ad801e
PA
12015-05-06 Pedro Alves <palves@redhat.com>
2
3 PR server/18081
4 * gdb.server/non-existing-program.exp: New file.
5
0fa7fe50
JB
62015-05-05 Joel Brobecker <brobecker@adacore.com>
7
8 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9
3ea89b92
PMR
102015-05-05 Joel Brobecker <brobecker@adacore.com>
11
12 * gdb.ada/out_of_line_in_inlined: New testcase.
13
87b8eff0
JB
142015-05-05 Joel Brobecker <brobecker@adacore.com>
15
16 * gdb.ada/var_rec_arr: New testcase.
17
5fccc635
YQ
182015-04-30 Yao Qi <yao.qi@linaro.org>
19
20 * gdb.base/break-idempotent.exp: If
21 skip_hw_watchpoint_multi_tests returns true, skip the tests
22 on "rwatch" and "awatch".
23
42d38f42
YQ
242015-04-30 Yao Qi <yao.qi@linaro.org>
25
26 * gdb.base/relativedebug.exp: Invoke gdb command
27 "info sharedlibrary", and if libc.so doesn't have debug info,
28 skip the test.
29
2ce1cdbf
DE
302015-04-29 Doug Evans <dje@google.com>
31
32 * gdb.python/py-xmethods.exp: Add ptype tests.
33 * gdb.python/py-xmethods.py (E_method_char_worker): Add
34 get_result_type method.
35
f24a38c5
LM
362015-04-29 Luis Machado <lgustavo@codesourcery.com>
37
38 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
39 the target does not support hardware watchpoints.
40
ecbf2b3c
LM
412015-04-29 Luis Machado <lgustavo@codesourcery.com>
42
43 * gdb.base/break-always.exp: Abort testing if writing to memory
44 causes an error.
45
34f5f757
DE
462015-04-28 Doug Evans <dje@google.com>
47
48 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
49 * gdb.python/py-pp-registration.exp: ... here. New file.
50 * gdb.python/py-pp-registration.c: New file.
51 * gdb.python/py-pp-registration.py: New file.
52
69b4374a
DE
532015-04-28 Doug Evans <dje@google.com>
54
55 * gdb.python/py-bad-printers.c: New file.
56 * gdb.python/py-bad-printers.py: New file.
57 * gdb.python/py-bad-printers.exp: New file.
58
59fb7612
SS
592015-04-28 Sasha Smundak <asmundak@google.com>
60
61 * gdb.python/py-type.exp: New test.
62
2631b16a
AW
632015-04-28 Andy Wingo <wingo@igalia.com>
64
65 * gdb.python/py-parameter.exp:
66 * gdb.guile/scm-parameter.exp: Escape the path that we are
67 matching against, as it might contain characters that are special
68 to regular expressions.
69
460efde1
JB
702015-04-27 Joel Brobecker <brobecker@adacore.com>
71
72 * gdb.ada/rec_comp: New testcase.
73
2d369d8e
SDJ
742015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
75
76 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
77 before using it.
78
cf75d6c3
AB
792015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
80
81 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
82 new tests for verilog output.
83
8dbe7ca5
YQ
842015-04-24 Yao Qi <yao.qi@linaro.org>
85
86 * boards/remote-gdbserver-on-localhost.exp: New file.
87
4ef9fb2f
PA
882015-04-23 Pedro Alves <palves@redhat.com>
89
90 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
91 $inferior_spawn_id instead of $inferior_spawn_id directly. On
92 "end of file", remove $inferior_spawn_id from the indirect list.
93
0a803169
PA
942015-04-23 Pedro Alves <palves@redhat.com>
95
96 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
97
749ef8f8
PA
982015-04-23 Pedro Alves <palves@redhat.com>
99
100 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
101 on $any_spawn_id instead of only on $gdb_spawn_id.
102
8aae4344
PM
1032015-04-21 Pierre Muller <muller@sourceware.org>
104
105 PR pascal/17815
106 * lib/pascal.exp (gpc_compile): Add new option "class".
107 (fpc_compile): Likewise.
108 * gdb.pascal/case-insensitive-symbols.pas: New file.
109 * gdb.pascal/case-insensitive-symbols.exp: New file.
110
1586c8fb
GB
1112015-04-20 Gary Benson <gbenson@redhat.com>
112
113 * gdb.base/attach.exp: Fix three extended remote failures.
114
1b6e6f5c
GB
1152015-04-17 Gary Benson <gbenson@redhat.com>
116
117 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
118 the main executable over the remote protocol.
119
e797481d
PA
1202015-04-16 Pedro Alves <palves@redhat.com>
121
122 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
123 a new gdbserver if gdbserver_reconnect_p is set.
124
1ca99c42
PA
1252015-04-16 Pedro Alves <palves@redhat.com>
126
127 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
128 is set, don't exit gdbserver.
129
af9fd6f8
AA
1302015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
131
132 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
133 appropriate .insn, such that an older assembler can be used.
134 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
135 the z/Architecture instruction set on 31-bit targets as well.
136
04ff1e61
AA
1372015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
138
139 * gdb.go/handcall.exp: Remove all logic related to the first
140 breakpoint and rely on go_runto_main instead.
141 * gdb.go/strings.exp: Likewise.
142 * gdb.go/unsafe.exp: Likewise.
143 * gdb.go/hello.exp: Likewise. Also rename the remaining
144 breakpoint marker to "breakpoint 1".
145 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
146 * gdb.go/strings.go: Likewise.
147 * gdb.go/unsafe.go: Likewise.
148 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
149 "set breakpoint 2 here" and rename the remaining breakpoint marker
150 to "breakpoint 1".
151
40d2f8d6
SM
1522015-04-15 Simon Marchi <simon.marchi@ericsson.com>
153
154 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
155 if itertools.imap is not present.
156 * gdb.python/py-objfile.exp: Add parentheses.
157 * gdb.python/py-type.exp: Same.
158 * gdb.python/py-unwind-maint.py: Same.
159
8cbc97c6
YQ
1602015-04-15 Yao Qi <yao.qi@linaro.org>
161
162 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
163 of ":$ptr_size" and set its form explicitly.
164
45fd756c
YQ
1652015-04-15 Pedro Alves <palves@redhat.com>
166 Yao Qi <yao.qi@linaro.org>
167
168 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
169 timeout by factor of 4.
170 (test_regular_watch): Likewise.
171 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
172 * gdb.reverse/sigall-reverse.exp: Likewise.
173 * gdb.reverse/until-precsave.exp: Likewise.
174 * lib/gdb.exp (with_timeout_factor): New proc.
175 (gdb_expect): Move some code to ...
176 (get_largest_timeout): ... here. New procedure.
177
9e811bc3
LM
1782015-04-14 Luis Machado <lgustavo@codesourcery.com>
179
180 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
181
0ff6fcb2
LM
1822015-04-13 Luis Machado <lgustavo@codesourcery.com>
183
184 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
185 to write to the .text section.
186
7578d5f7
LM
1872015-04-13 Luis Machado <lgustavo@codesourcery.com>
188
189 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
190 Handle the case of targets that do not provide PID information.
191
2efe15c4
YQ
1922015-04-13 Yao Qi <yao.qi@linaro.org>
193
194 * lib/gdbserver-support.exp (gdb_exit): Catch exception
195 and use expect instead of gdb_expect.
196
8cd8f2f8
SDJ
1972015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
198
199 * gdb.base/coredump-filter.exp: Rename variable "addr" to
200 "coredump_var_addr" to avoid naming conflict with other testcases.
201
9ee41772
PA
2022015-04-10 Pedro Alves <palves@redhat.com>
203
204 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
205 gdb_test_sequence and gdb_assert.
206
07473109
PA
2072015-04-10 Pedro Alves <palves@redhat.com>
208
209 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
210 test messages that don't include the breakpoint address.
211
de3db44c
YQ
2122015-04-10 Yao Qi <yao.qi@linaro.org>
213
214 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
215 false for some offset and width combinations which aren't
216 supported by linux kernel.
217
c79d856c
PA
2182015-04-10 Pedro Alves <palves@redhat.com>
219
220 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
221 procedure, factored out from ...
222 (top level): ... here. Add "set displaced-stepping" testing axis.
223 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
224 parameter "displaced". Use it.
225 (top level): Use foreach and add "set displaced-stepping" testing
226 axis.
227
ebc90b50
PA
2282015-04-10 Pedro Alves <palves@redhat.com>
229
230 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
231 Remove comment.
232 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
233 both the address of the instruction that triggers the watchpoint
234 and the address of the instruction immediately after, and use
235 those addresses for the test. Fix comment.
236
8f572e5c
PA
2372015-04-10 Pedro Alves <palves@redhat.com>
238
239 * gdb.base/sigstep.exp (breakpoint_to_handler)
240 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
241 Test "backtrace" in handler.
242 (breakpoint_over_handler): New parameter 'displaced'. Use it.
243 (top level): Add new "displaced" test axis to
244 breakpoint_to_handler, breakpoint_to_handler_entry and
245 breakpoint_over_handler.
246
8d707a12
PA
2472015-04-10 Pedro Alves <palves@redhat.com>
248
249 PR gdb/18216
250 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
251
ef713951
YQ
2522015-04-10 Yao Qi <yao.qi@linaro.org>
253
254 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
255 (test_add_rn_pc): New function.
256 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
257 (top level): Invoke test_add_rn_pc.
258
906d60cf
PA
2592015-04-10 Pedro Alves <palves@redhat.com>
260
261 PR gdb/13858
262 * gdb.base/step-over-no-symbols.exp: New file.
263
f2983cc3
AW
2642015-04-09 Andy Wingo <wingo@igalia.com>
265
266 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
267 after the Python tests.
268
6d62641c
SDJ
2692015-04-08 Keith Seitz <keiths@redhat.com>
270
271 PR python/16699
272 * gdb.python/py-completion.exp: New tests for completion.
273 * gdb.python/py-completion.py (CompleteLimit1): New class.
274 (CompleteLimit2): Likewise.
275 (CompleteLimit3): Likewise.
276 (CompleteLimit4): Likewise.
277 (CompleteLimit5): Likewise.
278 (CompleteLimit6): Likewise.
279 (CompleteLimit7): Likewise.
280
f3770638
PA
2812015-04-08 Pedro Alves <palves@redhat.com>
282
283 PR gdb/18214
284 PR gdb/18216
285 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
286 function.
287 (main): Install it as SIGUSR1 handler.
288 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
289 parameter. Always use "setup" as prefix. Toggle "set
290 displaced-stepping" off/on depending on global. Don't switch to
291 thread 1 here.
292 (top level): Add displaced stepping "off/on" test axis. Update
293 "setup" calls. Wrap each subtest with with_test_prefix. Test
294 continuing with a queued signal in each thread.
295
4496bed7
PA
2962015-04-08 Pedro Alves <palves@redhat.com>
297
298 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
299 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
300 gdb_breakpoint instead of gdb_test that doesn't expect anything.
301 Return early if running to main fails.
302 * gdb.trace/while-stepping.exp: Likewise.
303
b97fde92
PA
3042015-04-07 Pedro Alves <palves@redhat.com>
305
306 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
307 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
308 interact with inferior program.
309
f71c18e7
PA
3102015-04-07 Pedro Alves <palves@redhat.com>
311
312 * lib/gdb.exp (inferior_spawn_id): New global.
313 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
314 spawn id after processing the user code.
315 (default_gdb_start): Set inferior_spawn_id.
316 (send_inferior): New procedure.
317 * lib/gdbserver-support.exp (gdbserver_start): Set
318 inferior_spawn_id.
319 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
320
6423214f
PA
3212015-04-07 Pedro Alves <palves@redhat.com>
322
323 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
324 * lib/gdbserver-support.exp (gdbserver_start): Make
325 $server_spawn_id global.
326 (gdbserver_start): Don't wait for gdbserver's spawn id with
327 expect_background.
328 (close_gdbserver): New procedure.
329 (gdb_exit): Rename the default version and reimplement.
330
71c0ee8c
PA
3312015-04-07 Pedro Alves <palves@redhat.com>
332
333 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
334 append the substituted item, not the original item.
335
203bc29b
PA
3362015-04-07 Pedro Alves <palves@redhat.com>
337
338 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
339 gdb_expect.
340
508a3ddf
PA
3412015-04-07 Pedro Alves <palves@redhat.com>
342
343 * gdb.base/interrupt.exp: Don't handle the case of the inferior
344 output appearing once only.
345
9f6dbe2b
PA
3462015-04-07 Pedro Alves <palves@redhat.com>
347
348 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
349 that doesn't expect anything. Return early if running to main
350 fails.
351
337532fa
YQ
3522015-04-07 Yao Qi <yao.qi@linaro.org>
353
354 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
355 (child_function): Call alarm.
356 (main): Move call to alarm into the loop.
357 * gdb.threads/non-stop-fair-events.exp: Build program with
358 -DTIMEOUT=$timeout.
359
01b622d4
DE
3602015-04-06 Doug Evans <xdje42@gmail.com>
361
362 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
363 Fix dest parameter to board_info.
364 (fpc_compile): Ditto.
365 (gdb_compile_pascal): Rename dest arg to destfile.
366
961f4160
PMR
3672015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
368
369 * gdb.ada/funcall_ref.exp: New file.
370 * gdb.ada/funcall_ref/foo.adb: New file.
371
cafda597
YQ
3722015-04-02 Yao Qi <yao.qi@linaro.org>
373
374 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
375 is remote.
376
fed040c6
GB
3772015-04-02 Gary Benson <gbenson@redhat.com>
378
379 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
380
d11916aa
SS
3812015-04-01 Sasha Smundak <asmundak@google.com>
382
383 * gdb.python/py-unwind-maint.c: New file.
384 * gdb.python/py-unwind-maint.exp: New test.
385 * gdb.python/py-unwind-maint.py: New file.
386 * gdb.python/py-unwind.c: New file.
387 * gdb.python/py-unwind.exp: New test.
388 * gdb.python/py-unwind.py: New test.
389
a1471180
PA
3902015-04-01 Pedro Alves <palves@redhat.com>
391
392 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
393 to fail instead of non-existent $test.
394
0bbeccb1
PA
3952015-04-01 Pedro Alves <palves@redhat.com>
396
397 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
398 GDBFLAGS if not empty.
399
3c724c8c
PMR
4002015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
401
402 * gdb.ada/complete.exp: Remove "multi_line".
403 * gdb.ada/info_exc.exp: Remove "multi_line".
404 * gdb.ada/packed_tagged.exp: Remove "multi_line".
405 * gdb.ada/ptype_field.exp: Remove "multi_line".
406 * gdb.ada/sym_print_name.exp: Remove "multi_line".
407 * gdb.ada/tagged.exp: Remove "multi_line".
408 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
409 [multi_line ...]
410 * gdb.btrace/delta.exp: Likewise.
411 * gdb.btrace/exception.exp: Likewise.
412 * gdb.btrace/function_call_history.exp: Likewise.
413 * gdb.btrace/instruction_history.exp: Likewise.
414 * gdb.btrace/nohist.exp: Likewise.
415 * gdb.btrace/record_goto.exp: Likewise.
416 * gdb.btrace/segv.exp: Likewise.
417 * gdb.btrace/stepi.exp: Likewise.
418 * gdb.btrace/tailcall.exp: Likewise.
419 * gdb.btrace/unknown_functions.exp: Likewise.
420 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
421 * lib/gdb.exp: Add the "multi_line" helper.
422
4eec2deb
PA
4232015-04-01 Pedro Alves <palves@redhat.com>
424
425 * gdb.threads/tid-reuse.c: New file.
426 * gdb.threads/tid-reuse.exp: New file.
427
df8411da
SDJ
4282015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
429
430 PR corefiles/16092
431 * gdb.base/coredump-filter.c: New file.
432 * gdb.base/coredump-filter.exp: Likewise.
433
6ef37366
PM
4342015-03-27 Petr Machata <pmachata@redhat.com>
435
436 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
437 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
438 (Dwarf::assemble): Initialize them.
439 (Dwarf::lines): New function.
440
7ec911b0
JT
4412015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
442
443 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
444 SYMBOL_PREFIX for x86_64-*-cygwin.
445
ff908ebf
AW
4462015-03-26 Andy Wingo <wingo@igalia.com>
447
448 PR symtab/18148
449 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
450 const_value but not a location.
451 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
452 location defined in non-main CUs are visible.
453
6d5f0679
YQ
4542015-03-26 Yao Qi <yao.qi@linaro.org>
455
456 PR testsuite/18139
457 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
458 Add a line number entry for the same line.
459 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
460 Add a line number entry for the same line.
461
2898689b
YQ
4622015-03-26 Yao Qi <yao.qi@linaro.org>
463
464 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
465 .int 0.
466 (func): Likewise. Add .Lfunc_1 label.
467 Use .Lfunc_1 label.
468 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
469 .int 0.
470 (func): Likewise.
471 Use .Lfunc_1 label.
472
85180498
YQ
4732015-03-26 Yao Qi <yao.qi@linaro.org>
474
475 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
476 Call gdb_compile instead to compile each .s files without debug
477 information.
478
8aa08a8d
YQ
4792015-03-26 Yao Qi <yao.qi@linaro.org>
480
481 * gdb.base/savedregs.exp (process_saved_regs): Make
482 "Saved registers:" optional in the pattern.
483
66849923
MM
4842015-03-25 Markus Metzger <markus.t.metzger@intel.com>
485
486 * gdb.btrace/next.exp: Merged into step.exp.
487 * gdb.btrace/finish.exp: Merged into step.exp.
488 * gdb.btrace/nexti.exp: Merged into stepi.exp.
489 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
490 "record goto" and checking the exact replay position.
491 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
492 check for "Recording format" in "info record" output.
493 * gdb.btrace/record_goto.exp: Choose test file based on target.
494 * gdb.btrace/x86-record_goto.S: Renamed into ...
495 * gdb.btrace/x86_64-record_goto.S: ... this.
496 * gdb.btrace/i686-record_goto.S: New.
497 * gdb.btrace/x86-tailcall.S: Renamed into ...
498 * gdb.btrace/x86_64-tailcall.S: ... this.
499 * gdb.btrace/i686-tailcall.S: New.
500 * gdb.btrace/x86-tailcall.c: Renamed into ...
501 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
502 separate statements. Update test.
503 * gdb.btrace/delta.exp: Use record_goto.c as test file.
504 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
505 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
506 * gdb.btrace/tailcall.exp: Choose test file based on target.
507 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
508
11cc1b74
MM
5092015-03-25 Markus Metzger <markus.t.metzger@intel.com>
510
511 * gdb.btrace/exception.exp: Increase BTS buffer size.
512
a25d8bf9
PA
5132015-03-24 Pedro Alves <palves@redhat.com>
514
515 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
516
856e7dd6
PA
5172015-03-24 Pedro Alves <palves@redhat.com>
518
519 * gdb.threads/schedlock.exp (test_step): No longer expect that
520 "set scheduler-locking step" with "next" over a function call runs
521 threads unlocked.
522
ad235a41
AT
5232015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
524
525 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
526
15630549
AT
5272015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
528
529 PR breakpoints/16466
530 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
531 * gdb.mi/mi-pending.c (thread_func): New function.
532 (int main): Add threading support required.
533 * gdb.mi/mi-pending.exp: Add tests for this issue.
534 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
535 (pendfunc2): Remove stdio dependency.
536 * gdb.mi/mi-pendshr2.c: New file.
537
693dca06
KS
5382015-03-23 Keith Seitz <keiths@redhat.com>
539
540 * gdb.linespec/keywords.c: New file.
541 * gdb.linespec/keywords.exp: New file.
542
7e993ebf
KS
5432015-03-23 Keith Seitz <keiths@redhat.com>
544
545 PR gdb/18021
546 * gdb.dwarf2/staticvirtual.exp: New test.
547
bc23328c
JK
5482015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
549
550 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
551 * README: Remove HP-UX and gdb.hp.
552 (configuration):
553 * configure: Regenerate.
554 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
555 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
556 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
557 gdb.hp/gdb.defects/Makefile.
558 * gdb.hp/Makefile.in: File deleted.
559 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
560 * gdb.hp/gdb.aCC/optimize.c: File deleted.
561 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
562 * gdb.hp/gdb.aCC/run.c: File deleted.
563 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
564 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
565 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
566 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
567 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
568 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
569 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
570 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
571 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
572 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
573 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
574 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
575 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
576 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
577 * gdb.hp/gdb.base-hp/reg.s: File deleted.
578 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
579 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
580 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
581 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
582 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
583 * gdb.hp/gdb.compat/Makefile.in: File deleted.
584 * gdb.hp/gdb.compat/average.c: File deleted.
585 * gdb.hp/gdb.compat/sum.c: File deleted.
586 * gdb.hp/gdb.compat/xdb.c: File deleted.
587 * gdb.hp/gdb.compat/xdb0.c: File deleted.
588 * gdb.hp/gdb.compat/xdb0.h: File deleted.
589 * gdb.hp/gdb.compat/xdb1.c: File deleted.
590 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
591 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
592 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
593 * gdb.hp/gdb.defects/Makefile.in: File deleted.
594 * gdb.hp/gdb.defects/bs14602.c: File deleted.
595 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
596 * gdb.hp/gdb.defects/solib-d.c: File deleted.
597 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
598 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
599 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
600 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
601 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
602 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
603 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
604 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
605 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
606 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
607 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
608 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
609 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
610 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
611 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
612 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
613 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
614 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
615 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
616 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
617 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
618 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
619 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
620 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
621 * gdb.hp/tools/odump: File deleted.
622
8bf3b159
PA
6232015-03-19 Pedro Alves <palves@redhat.com>
624
625 * gdb.threads/continue-pending-status.exp (saw_thread_2)
626 (saw_thread_3): New globals.
627 (top level): Increment them when an event for the corresponding
628 thread is seen.
629 (no thread starvation): New test.
630
eb54c8bf
PA
6312015-03-19 Pedro Alves <palves@redhat.com>
632
633 * gdb.threads/continue-pending-status.c: New file.
634 * gdb.threads/continue-pending-status.exp: New file.
635
32d2e5d6
PA
6362015-03-18 Pedro Alves <palves@redhat.com>
637
638 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
639 Use gdb_is_target_remote instead of is_remote. Use
640 gdb_test_multiple instead of gdb_expect. Exit early if
641 gdb_test_multiple hits its internal matches. Tighten stepi tests
642 expected output. Fail on exit with any signal, instead of just
643 SIGILL.
644
f68f11b7
YQ
6452015-03-18 Yao Qi <yao.qi@linaro.org>
646
647 PR tdep/18107
648 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
649 variable.
650 * gdb.base/catch-syscall.exp: Don't skip it on
651 aarch64*-*-linux* target. Remove elements in all_syscalls.
652 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
653 target.
654 (setup_all_syscalls): New proc.
655
ca5fd19b
YQ
6562015-03-16 Yao Qi <yao.qi@linaro.org>
657
658 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
659 (top level): Skip tests if valid_addr_p returns false for
660 $cmd1 or $cmd2.
661
85642ba0
AW
6622015-03-11 Andy Wingo <wingo@igalia.com>
663
664 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
665
e03f9645
YQ
6662015-03-11 Yao Qi <yao.qi@linaro.org>
667
668 * gdb.base/catch-syscall.exp: Fix typo in comments.
669
5d0962b2
YQ
6702015-03-11 Yao Qi <yao.qi@linaro.org>
671
672 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
673
b2df3cef
PA
6742015-03-09 Pedro Alves <palves@redhat.com>
675
676 * dg-extract-results.py: Delete.
677
ef878e53
PA
6782015-03-09 Pedro Alves <palves@redhat.com>
679
680 Merge dg-extract-results.sh from GCC upstream (r218843).
681
682 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
683 * dg-extract-results.sh: Use --text with grep to avoid issues with
684 binary files. Fall back to cat -v, if that doesn't work.
685
9494d219
PA
6862015-03-05 Pedro Alves <palves@redhat.com>
687
688 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
689
a8d9763a
SM
6902015-03-04 Simon Marchi <simon.marchi@ericsson.com>
691
692 * lib/mi-support.exp (mi_expect_interrupt): Accept
693 alternative event for when in all-stop mode.
694
be9957b8
PA
6952015-03-04 Pedro Alves <palves@redhat.com>
696
697 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
698
d57be0f4 6992015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
700
701 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
702
c214c7cf
AA
7032015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
704
705 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
706 regexps for GDB's current line display, accept a hex address
707 preceding the line number.
708
6d74a497
AA
7092015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
710
711 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
712 the 'arch1' variable for "s390*-linux*" targets.
713
511aee7c
PA
7142015-03-04 Pedro Alves <palves@redhat.com>
715
716 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
717 (main): Pass missing retval argument to pthread_join call.
718
95e50b27
PA
7192015-03-02 Pedro Alves <palves@redhat.com>
720
721 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
722 (top level): Call do_test with non-stop as well.
723
28054d69
PA
7242015-03-02 Pedro Alves <palves@redhat.com>
725
726 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
727 -1.
728
4fa5d7b4
AA
7292015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
730
731 * gdb.arch/s390-vregs.exp: New test.
732 * gdb.arch/s390-vregs.S: New file.
733
97c18565
PA
7342015-02-27 Pedro Alves <palves@redhat.com>
735
736 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
737 call to catch_command_errors.
738 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
739 catch_command_errors.
740
a37bfa30
PA
7412015-02-27 Pedro Alves <palves@redhat.com>
742
743 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
744 "true" for boolean result.
745 * gdb.gdb/selftest.exp (test_with_self): Also accept full
746 prototype of main.
747
6f98576f
PA
7482015-02-27 Pedro Alves <palves@redhat.com>
749
750 * lib/unbuffer_output.c: New file.
751 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
752 (main): Call gdb_unbuffer_output.
753
eba5ab56
YQ
7542015-02-27 Yao Qi <yao.qi@linaro.org>
755
756 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
757 target.
758
0def5aaa
DE
7592015-02-26 Doug Evans <dje@google.com>
760
761 * gdb.cp/class2.cc (Dbase, D): New classes.
762 (main): New local delta.
763 * gdb.cp/class2.exp: Test printing delta.
764 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
765 (dynbar): New global.
766 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
767
081a1c2c
JK
7682015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
769
770 * gdb.compile/compile-ifunc.c: New file.
771 * gdb.compile/compile-ifunc.exp: New file.
772
2f41223f
AT
7732015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
774
775 * gdb.base/structs.exp: Check for correct struct on finish.
776
03eddd80
YQ
7772015-02-26 Yao Qi <yao.qi@linaro.org>
778
779 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
780 is zero.
781
80c57053
JK
7822015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
783
784 * gdb.arch/cordic.ko.bz2: New file.
785 * gdb.arch/cordic.ko.debug.bz2: New file.
786 * gdb.arch/ppc64-symtab-cordic.exp: New file.
787
21613c12
YQ
7882015-02-25 Yao Qi <yao.qi@linaro.org>
789
790 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
791 aarch64*-*-* target.
792
d8b901ed
PA
7932015-02-23 Pedro Alves <palves@redhat.com>
794
795 * lib/gdb.exp (delete_breakpoints): Rewrite using
796 gdb_test_multiple.
797
e5b85ead
PA
7982015-02-23 Pedro Alves <palves@redhat.com>
799
800 * gdb.base/info-os.c: Include stdlib.h.
801
85c3a371
DE
8022015-02-22 Doug Evans <xdje42@gmail.com>
803
804 PR symtab/17855
805 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
806 is read after symbols have been re-read.
807 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
808 * gdb.ada/exec_changed/second.adb (Second): Ditto.
809
96553a0c
DE
8102015-02-21 Doug Evans <dje@google.com>
811
812 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
813
97a0c697
JK
8142015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
815
816 PR corefiles/17808
817 * gdb.arch/i386-biarch-core.core.bz2: New file.
818 * gdb.arch/i386-biarch-core.exp: New file.
819
a47cd6e9
PA
8202015-02-21 Pedro Alves <palves@redhat.com>
821
822 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
823 runto_main fails.
824
c5facdc4
PA
8252015-02-20 Pedro Alves <palves@redhat.com>
826
827 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
828 info probes.
829
2db9a427
PA
8302015-02-20 Pedro Alves <palves@redhat.com>
831
832 * gdb.threads/multi-create-ns-info-thr.exp: New file.
833
60fb7e9e
PA
8342015-02-20 Pedro Alves <palves@redhat.com>
835
836 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
837 clean_restart before gdb_target_supports_trace.
838
5c5019c2
PA
8392015-02-20 Pedro Alves <palves@redhat.com>
840
841 PR threads/18006
842 * gdb.threads/clone-thread_db.c: New file.
843 * gdb.threads/clone-thread_db.exp: New file.
844
c9587f88
AT
8452015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
846
847 PR breakpoints/16812
848 * gdb.base/catch-gdb-caused-signals.c: New file.
849 * gdb.base/catch-gdb-caused-signals.exp: New file.
850
f6a88844
JM
8512015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
852
853 * configure: Regenerated.
854 * configure.ac: Use GDB_AC_TRANSFORM.
855 * aclocal.m4: sinclude ../transform.m4.
856
497c491b
JM
8572015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
858
859 * lib/dtrace.exp: New file.
860 * gdb.base/dtrace-probe.exp: Likewise.
861 * gdb.base/dtrace-probe.d: Likewise.
862 * gdb.base/dtrace-probe.c: Likewise.
863 * lib/pdtrace.in: Likewise.
864 * configure.ac: Output variables with the transformed names of
865 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
866 * configure: Regenerated.
867
03e98035
JM
8682015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
869
870 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
871 expected message when trying to access $_probe_* convenience
872 variables while not on a probe.
873
63cc30e9
JK
8742015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
875
876 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
877
0703599a
PA
8782015-02-11 Pedro Alves <pedro@codesourcery.com>
879
880 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
881 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
882
7e60a48e
DE
8832015-02-10 Doug Evans <xdje42@gmail.com>
884
885 * lib/gdb.exp (gdb_load): Always return a result.
886
01b088bc
PA
8872015-02-10 Pedro Alves <palves@redhat.com>
888
889 * gdb.threads/signal-sigtrap.c: New file.
890 * gdb.threads/signal-sigtrap.exp: New file.
891
b05ec7a5
AT
8922015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
893
894 * gdb.trace/no-attach-trace.c: New file.
895 * gdb.trace/no-attach-trace.exp: New file.
896
a2c2acaf
MW
8972015-02-09 Mark Wielaard <mjw@redhat.com>
898
899 * gdb.dwarf2/atomic.c: New file.
900 * gdb.dwarf2/atomic-type.exp: Likewise.
901
31fd9caa
MM
9022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
903
904 * gdb.btrace/buffer-size.exp: Update "info record" output.
905 * gdb.btrace/delta.exp: Update "info record" output.
906 * gdb.btrace/enable.exp: Update "info record" output.
907 * gdb.btrace/finish.exp: Update "info record" output.
908 * gdb.btrace/instruction_history.exp: Update "info record" output.
909 * gdb.btrace/next.exp: Update "info record" output.
910 * gdb.btrace/nexti.exp: Update "info record" output.
911 * gdb.btrace/step.exp: Update "info record" output.
912 * gdb.btrace/stepi.exp: Update "info record" output.
913 * gdb.btrace/nohist.exp: Update "info record" output.
914
d33501a5
MM
9152015-02-09 Markus Metzger <markus.t.metzger@intel.com>
916
917 * gdb.btrace/buffer-size: New.
918
f4abbc16
MM
9192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
920
921 * gdb.btrace/delta.exp: Update "info record" output.
922 * gdb.btrace/enable.exp: Update "info record" output.
923 * gdb.btrace/finish.exp: Update "info record" output.
924 * gdb.btrace/instruction_history.exp: Update "info record" output.
925 * gdb.btrace/next.exp: Update "info record" output.
926 * gdb.btrace/nexti.exp: Update "info record" output.
927 * gdb.btrace/step.exp: Update "info record" output.
928 * gdb.btrace/stepi.exp: Update "info record" output.
929 * gdb.btrace/nohist.exp: Update "info record" output.
930
b9d61307
SM
9312015-02-06 Simon Marchi <simon.marchi@ericsson.com>
932
933 PR gdb/15678
934 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
935
e584fdbc
PA
9362015-02-06 Pedro Alves <palves@redhat.com>
937
938 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
939 macro.
940 (seconds_left, again): New globals.
941 (main): Wait seconds_left in a 1-second sleep loop instead of
942 sleeping 180 seconds. If 'again' is set, reset the seconds
943 counter.
944 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
945 'again' in the inferior before detaching. Print the seconds left.
946 (options): New global.
947 (top level): Build program with -DTIMEOUT=$timeout.
948
77f41761
PA
9492015-02-06 Pedro Alves <palves@redhat.com>
950
951 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
952 determine how many seconds to pass to 'alarm'.
953 * gdb.base/gdb-sigterm.exp (top level): Build program with
954 -DTIMEOUT=$timeout.
955 (do_test): Return success/failure indication. Add more verbose
956 logging. Don't fail if 200 single steps are seen. Instead, fail
957 when the test times out.
958 (passes): New global.
959 (top level): Break the testing loop if testing fails on any
960 iteration. Use gdb_assert.
961
b9394193
DB
9622015-02-04 Don Breazeal <donb@codesourcery.com>
963
964 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
965 and initialize them.
966 (ipc_cleanup): New function.
967 (main): Don't declare shmid, semid, and msqid. Add a call to
968 atexit so that we call ipc_cleanup on exit.
969
42d9e528
PA
9702015-02-04 Pedro Alves <palves@redhat.com>
971
972 * boards/native-extended-gdbserver.exp: Remove any target variant
973 specifications from the board name before clearing the isremote
974 flag from board_info.
975
ae6ae975
DE
9762015-01-31 Doug Evans <xdje42@gmail.com>
977
978 * gdb.base/maint.exp <maint print type argc>: Update expected output.
979
cfb069a8
GB
9802015-01-31 Gary Benson <gbenson@redhat.com>
981
982 * gdb.base/completion.exp: Disable completion limiting for
983 existing tests. Add new tests to check completion limiting.
984 * gdb.linespec/ls-errs.exp: Disable completion limiting.
985
5dd31d79
DE
9862015-01-31 Doug Evans <xdje42@gmail.com>
987
988 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
989
9f050062
DE
9902015-01-31 Doug Evans <xdje42@gmail.com>
991
992 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
993 entries. Duplicate file section script entries.
994 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
995 inlined entries. Add test for safe-path rejection.
996 * gdb.python/py-section-script.c: Add duplicate inlined section script
997 entries. Duplicate file section script entries.
998 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
999 inlined entries. Add test for safe-path rejection.
1000
df25ebbd
JB
10012015-01-29 Joel Brobecker <brobecker@adacore.com>
1002
1003 * gdb.ada/disc_arr_bound: New testcase.
1004
4a0ca9ec
JB
10052015-01-29 Joel Brobecker <brobecker@adacore.com>
1006
1007 * gdb.ada/mi_var_array: New testcase.
1008
3a8b707a
DE
10092015-01-27 Doug Evans <dje@google.com>
1010
1011 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1012 Add test for objfile.filename, objfile.username after objfile
1013 has been unloaded.
1014
f8313f6e
JB
10152015-01-26 Joel Brobecker <brobecker@adacore.com>
1016
1017 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1018 the second test to print the name attribute of value
1019 returned by the call to gdb.lookup_type, and adjust
1020 the expected output accordingly.
1021
37bc665e
MW
10222015-01-25 Mark Wielaard <mjw@redhat.com>
1023
1024 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1025 * gdb.base/disp-step-fork.c: Include unistd.h.
1026 * gdb.base/siginfo-obj.c: Include stdio.h.
1027 * gdb.base/siginfo-thread.c: Likewise.
1028 * gdb.mi/non-stop.c: Include unistd.h.
1029 * gdb.mi/nsthrexec.c: Include stdio.h.
1030 * gdb.mi/pthreads.c: Include unistd.h.
1031 * gdb.modula2/unbounded1.c (main): Declare returns int.
1032 * gdb.reverse/consecutive-reverse.c: Likewise.
1033 * gdb.threads/create-fail.c: Include unistd.h.
1034 * gdb.threads/killed.c: Likewise.
1035 * gdb.threads/linux-dp.c: Likewise.
1036 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1037 * gdb.threads/non-ldr-exc-2.c: Likewise.
1038 * gdb.threads/non-ldr-exc-3.c: Likewise.
1039 * gdb.threads/non-ldr-exc-4.c: Likewise.
1040 * gdb.threads/pthreads.c: Include unistd.h.
1041 (main): Declare returns int.
1042 * gdb.threads/tls-main.c (foo): New declaration.
1043 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1044
f7e5394d
SM
10452015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1046
1047 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1048 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1049
743649fd
MW
10502015-01-15 Mark Wielaard <mjw@redhat.com>
1051
1052 * gdb.base/noreturn-return.c: New file.
1053 * gdb.base/noreturn-return.exp: New file.
1054 * gdb.base/noreturn-finish.c: New file.
1055 * gdb.base/noreturn-finish.exp: New file.
1056
198297aa
PA
10572015-01-23 Pedro Alves <palves@redhat.com>
1058
1059 * gdb.threads/continue-pending-after-query.c: New file.
1060 * gdb.threads/continue-pending-after-query.exp: New file.
1061
717cf30c
AG
10622015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1063 Simon Marchi <simon.marchi@ericsson.com>
1064
1065 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1066 * gdb.base/valgrind-db-attach.exp: Same.
1067 * gdb.base/valgrind-infcall.exp: Same.
1068 * lib/mi-support.exp (default_mi_gdb_start): Same.
1069 * lib/prompt.exp (default_prompt_gdb_start): Same.
1070 * lib/gdb.exp (default_gdb_spawn): Same.
1071 (gdb_interact): New.
1072
1073
4b62a76e
JK
10742015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1075
1076 * gdb.compile/compile.exp (pointer to jit function): New test.
1077
b4cdae6f
WW
10782015-01-17 Wei-cheng Wang <cole945@gmail.com>
1079
1080 * lib/gdb.exp (supports_process_record): Return true for
1081 powerpc*-*-linux*.
1082 (supports_reverse): Likewise.
1083
d221e7ef
DB
10842015-01-15 Don Breazeal <donb@codesourcery.com>
1085
1086 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1087 instead of checking whether the target board is remote and
1088 use spawn_wait_for_attach instead of exec/sleep.
1089 * gdb.base/attach-twice.exp: Likewise.
1090
bafffb51
JB
10912015-01-15 Joel Brobecker <brobecker@adacore.com>
1092
1093 * gdb.ada/var_arr_attrs: New testcase.
1094
5589af0e
PA
10952015-01-14 Pedro Alves <palves@redhat.com>
1096 Joel Brobecker <brobecker@adacore.com>
1097
1098 PR gdb/17525
1099 * gdb.base/bp-cmds-execution-x-script.c: New file.
1100 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1101 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1102
6c400b59
PA
11032015-01-14 Pedro Alves <palves@redhat.com>
1104
1105 PR cli/17828
1106 * gdb.base/batch-preserve-term-settings.c: New file.
1107 * gdb.base/batch-preserve-term-settings.exp: New file.
1108
e02c96a7
DE
11092015-01-13 Doug Evans <dje@google.com>
1110
1111 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1112 binary.
1113
576fd14c
JB
11142015-01-13 Joel Brobecker <brobecker@adacore.com>
1115
1116 * Makefile.in (clean mostlyclean): Do not delete *.py.
1117
04dccad0
JB
11182015-01-13 Joel Brobecker <brobecker@adacore.com>
1119
1120 * gdb.python/py-lookup-type.exp: New file.
1121
3d230f71
PA
11222015-01-12 Pedro Alves <palves@redhat.com>
1123
1124 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1125 restore GDBFLAGS before returning.
1126
7e67715d
JK
11272015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1128
1129 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1130 is_amd64_regs_target and is_x86_like_target.
1131
f2e0d4b4
DE
11322015-01-11 Doug Evans <xdje42@gmail.com>
1133
1134 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1135 is given without an explicit form.
1136 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1137 attributes.
1138 * gdb.dwarf/corrupt.exp: Ditto.
1139 * gdb.dwarf2/enum-type.exp: Ditto.
1140 * gdb.trace/entry-values.exp: Ditto.
1141 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1142
439250fb
DE
11432015-01-11 Doug Evans <xdje42@gmail.com>
1144
1145 PR gdb/15830
1146 * gdb.base/maint.exp: Remove references to "maint demangle".
1147 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1148 Add tests for explicitly specifying language to demangle.
1149 * gdb.dlang/demangle.exp: Ditto.
1150
ede9f622
PA
11512015-01-09 Pedro Alves <palves@redhat.com>
1152
1153 * gdb.threads/non-stop-fair-events.c: New file.
1154 * gdb.threads/non-stop-fair-events.exp: New file.
1155
a7b796db
PA
11562015-01-09 Pedro Alves <palves@redhat.com>
1157
1158 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1159 the global scope. Set a breakpoint after all threads are started
1160 rather than stepping over two source lines. Expect the prompt.
1161 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1162 global.
1163 (NUM): Now 15.
1164 (main): Use threads_started_barrier to wait for all threads to
1165 start. Main thread no longer calls thread_function. Exit after
1166 180 seconds.
1167 (loop): New function.
1168 (thread_function): Wait on threads_started_barrier barrier. Call
1169 'loop' at each iteration.
1170 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1171 threads have started, instead of hardcoding number of "next"
1172 steps. Use an access watchpoint instead of a write watchpoint.
1173
9665ffdd
PA
11742015-01-09 Pedro Alves <palves@redhat.com>
1175
1176 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1177 (thread_func): Wait on barrier.
1178 (main): Wait for all threads to start before stopping GDB.
1179 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1180 global.
1181 (thread1_func, thread2_func): Wait on barrier.
1182 (main): Wait for all threads to start before stopping GDB.
1183 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1184 New global.
1185 (thread1_func, thread2_func): Wait on barrier.
1186 (main): Wait for all threads to start before stopping GDB.
1187
c945a99f
PA
11882015-01-09 Pedro Alves <palves@redhat.com>
1189
1190 * gdb.threads/attach-many-short-lived-threads.c: New file.
1191 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1192
c1a747c1
PA
11932014-01-09 Pedro Alves <palves@redhat.com>
1194
1195 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1196 instead of to thread 2.
1197 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1198 Add barrier around each pthread_create call instead of around all
1199 calls.
1200 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1201 Set a break on thread_function and have the child threads hit it
1202 one at at a time.
1203
60b3033e
PA
12042015-01-09 Pedro Alves <palves@redhat.com>
1205
1206 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1207 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1208 false.
1209 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1210 checking whether the target board is remote.
1211 * gdb.multi/multi-attach.exp: Likewise.
1212 * gdb.python/py-sync-interp.exp: Likewise.
1213 * gdb.server/ext-attach.exp: Likewise.
1214 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1215 tests that need to attach, instead of checking whether the target
1216 board is remote at the top of the file.
1217
acc018ac
YQ
12182015-01-08 Yao Qi <yao@codesourcery.com>
1219
1220 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1221
50a18af8
JK
12222015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1223
1224 Fix testcase compilation.
1225 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1226
8503d6e1
JB
12272015-01-06 Joel Brobecker <brobecker@adacore.com>
1228
1229 * gdb.python/py-type.exp: Add a couple test about empty
1230 array creation, and negative-length array creation.
1231
cc73dbcc
DE
12322015-01-02 Doug Evans <xdje42@gmail.com>
1233
1234 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1235
0300bbc7
DE
12362015-01-02 Doug Evans <dje@google.com>
1237
1238 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1239
9d85a0ec
YQ
12402014-12-29 Yao Qi <yao@codesourcery.com>
1241
1242 * gdb.trace/entry-values.exp: Update comments. Rename variable
1243 bar_call_foo to returned_from_foo.
1244
87186c6a
MMN
12452014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1246
1247 PR gdb/17394
1248 * gdb.linespec/break-asm-file.c: New file.
1249 * gdb.linespec/break-asm-file.exp: New file.
1250 * gdb.linespec/break-asm-file0.s: New file.
1251 * gdb.linespec/break-asm-file1.s: New file.
1252
1bab7383
YQ
12532014-12-18 Nigel Stephens <nigel@mips.com>
1254 Maciej W. Rozycki <macro@codesourcery.com>
1255
1256 * gdb.base/float.exp: Handle the new output from "info float" on
1257 MIPS targets.
1258
1bc1068a
JK
12592014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1260
1261 Fix MinGW compilation.
1262 * gdb.compile/compile-ops.exp: Update untested message if
1263 !skip_compile_feature_tests.
1264 * gdb.compile/compile-setjmp.exp: Likewise.
1265 * gdb.compile/compile-tls.exp: Likewise.
1266 * gdb.compile/compile.exp: Likewise.
1267 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1268 supported on this host".
1269
b6615d10
DE
12702014-12-16 Doug Evans <xdje42@gmail.com>
1271
1272 * boards/stabs.exp: New file.
1273
25dda427
AA
12742014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1275
1276 * gdb.base/completion.exp: Adjust to format changes of "maint
1277 print user-registers".
1278
bf330350
CU
12792014-12-16 Catalin Udma <catalin.udma@freescale.com>
1280
1281 PR server/17457
1282 * gdb.arch/aarch64-fp.c: New file.
1283 * gdb.arch/aarch64-fp.exp: New file.
1284
395cf596
SDJ
12852014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1286
1287 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1288 r210637, r210913, r211666, r215400, r215817).
1289
1290 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1291 * dg-extract-results.py: New file.
1292 * dg-extract-results.sh: Use it if the environment seems
1293 suitable.
1294
1295 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1296
1297 * dg-extract-results.py (parse_run): Handle warnings that
1298 are printed before a test harness is run.
1299
1300 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1301
1302 * dg-extract-results.py (Named): Remove __cmp__ method.
1303 (output_variation): Use a key to sort variation.harnesses.
1304
1305 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1306
1307 * dg-extract-results.py: For Python 3, force sys.stdout to
1308 handle surrogate escape sequences.
1309 (safe_open): New function.
1310 (output_segment, main): Use it.
1311
1312 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1313
1314 * dg-extract-results.py (Prog.result_re): Include options
1315 in test name.
1316
1317 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1318
1319 * dg-extract-results.py (output_variation): Always sort if
1320 do_sum.
1321
e882ef3c
SM
13222014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1323
1324 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1325 as long as we get pagination notifications.
1326
4992aa20
JM
13272014-12-15 Jason Merrill <jason@redhat.com>
1328
1329 * Makefile.in (check-gdb.%): Restore.
1330 * README: Mention it.
1331
c1b5a1a6
JB
13322014-12-13 Joel Brobecker <brobecker@adacore.com>
1333
1334 * gdb.ada/str_uninit: New testcase.
1335
5537b577
JK
13362014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1337
1338 PR symtab/17642
1339 * gdb.base/vla-stub-define.c: New file.
1340 * gdb.base/vla-stub.c: New file.
1341 * gdb.base/vla-stub.exp: New file.
1342
bb2ec1b3
TT
13432014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1344 Jan Kratochvil <jan.kratochvil@redhat.com>
1345 Tom Tromey <tromey@redhat.com>
1346
1347 * configure.ac: Add gdb.compile/.
1348 * configure: Regenerate.
1349 * gdb.compile/Makefile.in: New file.
1350 * gdb.compile/compile-ops.exp: New file.
1351 * gdb.compile/compile-ops.c: New file.
1352 * gdb.compile/compile-tls.c: New file.
1353 * gdb.compile/compile-tls.exp: New file.
1354 * gdb.compile/compile-constvar.S: New file.
1355 * gdb.compile/compile-constvar.c: New file.
1356 * gdb.compile/compile-mod.c: New file.
1357 * gdb.compile/compile-nodebug.c: New file.
1358 * gdb.compile/compile-setjmp-mod.c: New file.
1359 * gdb.compile/compile-setjmp.c: New file.
1360 * gdb.compile/compile-setjmp.exp: New file.
1361 * gdb.compile/compile-shlib.c: New file.
1362 * gdb.compile/compile.c: New file.
1363 * gdb.compile/compile.exp: New file.
1364 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1365
4ff709eb
TT
13662014-12-12 Tom Tromey <tromey@redhat.com>
1367
1368 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1369 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1370
6dddd6a5
DE
13712014-12-12 Doug Evans <dje@google.com>
1372
1373 * lib/gdb-python.exp (get_python_valueof): New function.
1374 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1375
71c24708
AA
13762014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1377
1378 * gdb.base/completion.exp: Add test for completion of "info
1379 registers ".
1380
3e29f34a
MR
13812014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1382
1383 * gdb.base/func-ptrs.c: New file.
1384 * gdb.base/func-ptrs.exp: New file.
1385
fc126975
SM
13862014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1387
1388 PR breakpoints/17012
1389 * gdb.base/dprintf-detach.c: New file.
1390 * gdb.base/dprintf-detach.exp: New file.
1391
0a46d518
SM
13922014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1393
1394 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1395 * lib/gdb.exp (target_is_gdbserver): New procedure.
1396
a0be3e44
DE
13972014-12-08 Doug Evans <dje@google.com>
1398
1399 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1400
df1b803a
YQ
14012014-12-05 Yao Qi <yao@codesourcery.com>
1402
1403 * gdb.guile/scm-error.exp: Remove the third argument to
1404 gdb_remote_download.
1405 * gdb.guile/scm-frame-args.exp: Likewise.
1406 * gdb.guile/scm-section-script.exp: Likewise.
1407
ddb9f679
YQ
14082014-12-05 Yao Qi <yao@codesourcery.com>
1409
1410 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1411
86e4ed39
DE
14122014-12-04 Doug Evans <dje@google.com>
1413
1414 * gdb.python/py-objfile.exp: Add tests for
1415 objfile.add_separate_debug_file.
1416
7c50a931
DE
14172014-12-04 Doug Evans <dje@google.com>
1418
1419 * lib/gdb.exp (get_build_id): New function.
1420 (build_id_debug_filename_get): Rewrite to use it.
1421 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1422
621661e3
MR
14232014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1424
1425 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1426 `method(long)', not just 0x0.
1427 * gdb.cp/nsalias.exp: Align code labels to 4.
1428 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1429 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1430 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1431 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1432 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1433 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1434
29f0c3b7
DE
14352014-12-02 Doug Evans <dje@google.com>
1436
e1e061e7 1437 PR symtab/17602
29f0c3b7 1438 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1439 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1440 * gdb.cp/anon-ns.exp: Update.
1441
162078c8
NB
14422014-12-02 Nick Bull <nicholaspbull@gmail.com>
1443
1444 * gdb.python/py-events.py (inferior_call_handler): New.
1445 (register_changed_handler, memory_changed_handler): New.
1446 (test_events.invoke): Register new handlers.
1447 * gdb.python/py-events.exp: Add tests for inferior call,
1448 memory_changed and register_changed events.
1449
fdb09caf
AA
14502014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1451
1452 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1453 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1454 if the linker doesn't understand this.
1455
55cfb2c4
SM
14562014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1457
1458 * gdb.python/python.exp: Change expected reply to help().
1459
9e8cd6df
YQ
14602014-12-01 Yao Qi <yao@codesourcery.com>
1461
1462 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1463 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1464 * configure: Re-generated.
1465
6c659fc2
SC
14662014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1467
1468 * gdb.cp/chained-calls.cc: New file.
1469 * gdb.cp/chained-calls.exp: New file.
1470 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1471
d7fc3181
SM
14722014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1473
1474 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1475 * gdb.dwarf2/symtab-producer.exp: Same.
1476 * gdb.gdb/python-interrupts.exp: Same.
1477 * gdb.gdb/python-selftest.exp: Same.
1478 * gdb.python/py-linetable.exp: Same.
1479 * gdb.python/py-type.exp: Same.
1480 * gdb.python/py-value-cc.exp: Same.
1481 * gdb.python/py-value.exp: Same.
1482
10e79639
YQ
14832014-11-28 Yao Qi <yao@codesourcery.com>
1484
1485 * gdb.base/break-probes.exp: Match library name prefixed with
1486 sysroot.
1487
f28a0564
SM
14882014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1489
1490 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1491 test expected output. Add parentheses for the call to print.
1492 Remove L suffix from integers.
1493
3fe1ce1d
DE
14942014-11-26 Doug Evans <dje@google.com>
1495
1496 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1497
84429e27
YQ
14982014-11-22 Yao Qi <yao@codesourcery.com>
1499
1500 * gdb.trace/entry-values.c: Remove asms.
1501 (foo): Add foo_label.
1502 (bar): Add bar_label.
1503 * gdb.trace/entry-values.exp: Remove code computing foo's
1504 length and bar's length.
1505 (Dwarf::assemble): Invoke function_range for bar and use
1506 MACRO_AT_func for foo.
1507
26741859
YQ
15082014-11-22 Yao Qi <yao@codesourcery.com>
1509
1510 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1511 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1512 Use .Lgcc43_procstart instead of gcc43.
1513
45e44d27
JB
15142014-11-21 Joel Brobecker <brobecker@adacore.com>
1515
1516 * gdb.ada/n_arr_bound: New testcase.
1517
458c8db8
SDJ
15182014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1519
1520 PR breakpoints/10737
1521 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1522 test_catch_syscall_multi_arch.
1523 (test_catch_syscall_multi_arch): New function.
1524
43f3e411
DE
15252014-11-20 Doug Evans <xdje42@gmail.com>
1526
1527 * gdb.base/maint.exp: Update expected output.
1528
0d7b2549
AA
15292014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1530
1531 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1532 4-byte instruction on S390.
1533
8908fca5
JB
15342014-11-19 Joel Brobecker <brobecker@adacore.com>
1535
1536 * gdb.ada/arr_arr: New testcase.
1537
4a46959e
JB
15382014-11-19 Joel Brobecker <brobecker@adacore.com>
1539
1540 * gdb.ada/pkd_arr_elem: New Testcase.
1541
470e2f4e
LM
15422014-11-18 Luis Machado <lgustavo@codesourcery.com>
1543
1544 * gdb.reverse/break-precsave: Expect completion message for
1545 core file reads.
1546 * gdb.reverse/consecutive-precsave.exp: Likewise.
1547 * gdb.reverse/finish-precsave.exp: Likewise.
1548 * gdb.reverse/i386-precsave.exp: Likewise.
1549 * gdb.reverse/machinestate-precsave.exp: Likewise.
1550 * gdb.reverse/sigall-precsave.exp: Likewise.
1551 * gdb.reverse/solib-precsave.exp: Likewise.
1552 * gdb.reverse/step-precsave.exp: Likewise.
1553 * gdb.reverse/until-precsave.exp: Likewise.
1554 * gdb.reverse/watch-precsave.exp: Likewise.
1555
a267f3ad
AA
15562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1557
1558 * gdb.base/bp-permanent.c: Include unistd.h.
1559 * gdb.python/py-framefilter-mi.c (main): Add return type.
1560 * gdb.python/py-framefilter.c (main): Likewise.
1561 * gdb.trace/actions-changed.c (main): Likewise.
1562
12084a9a
AA
15632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1564
1565 * gdb.mi/until.c: Add eye-catchers.
1566 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1567 line numbers.
1568
dc7e1a77
AA
15692014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1570
1571 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1572 function header variants in break1.c.
1573 * gdb.base/ena-dis-br.exp: Likewise.
1574 * gdb.base/hbreak2.exp: Likewise.
1575 * gdb.reverse/until-precsave.exp: Drop references to removed
1576 non-prototype function header variants in ur1.c.
1577 * gdb.reverse/until-reverse.exp: Likewise.
1578
41c77605
PM
15792014-11-17 Petr Machata <pmachata@redhat.com>
1580
1581 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1582 ${_cu_offset_size} bytes abbrev offset.
1583
34248c3a
DE
15842014-11-15 Doug Evans <xdje42@gmail.com>
1585
1586 PR symtab/17559
1587 * gdb.base/line-symtabs.exp: New file.
1588 * gdb.base/line-symtabs.c: New file.
1589 * gdb.base/line-symtabs.h: New file.
1590
646da059
YQ
15912014-11-14 Yao Qi <yao@codesourcery.com>
1592
1593 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1594 (func): Add label func_label.
1595 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1596 Replace low_pc and high_pc with MACRO_AT_range.
1597 Replace name, low_pc and high_pc with MACRO_AT_func.
1598
9301ebe6
YQ
15992014-11-14 Yao Qi <yao@codesourcery.com>
1600
1601 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1602 Replace name, low_pc and high_pc with MACRO_AT_func.
1603
f166b542
YQ
16042014-11-14 Yao Qi <yao@codesourcery.com>
1605
1606 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1607 produce debug information.
1608 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1609
0f6e71e3
YQ
16102014-11-14 Yao Qi <yao@codesourcery.com>
1611
1612 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1613 object and get function length.
1614 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1615 with MACRO_AT_func.
1616 (top-level): Replace gdb_compile and clean_restart with
1617 prepare_for_testing.
1618 * gdb.dwarf2/main.c (main): Add label main_label.
1619
876c4df9
YQ
16202014-11-14 Yao Qi <yao@codesourcery.com>
1621
1622 * lib/dwarf.exp (function_range): New procedure.
1623 (Dwarf::_handle_macro_at_func): New procedure.
1624 (Dwarf::_handle_macro_at_range): New procedure.
1625 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1626
02ad9cf1
YQ
16272014-11-14 Yao Qi <yao@codesourcery.com>
1628
1629 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1630 (_handle_attribute): New procedure.
1631
a59add0c
AA
16322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1633
1634 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1635 * gdb.base/call-sc.c (zed): Likewise.
1636 * gdb.base/checkpoint.c (main): Likewise.
1637 * gdb.base/dump.c (main): Likewise.
1638 * gdb.base/gcore.c (main): Likewise.
1639 * gdb.base/huge.c (main): Likewise.
1640 * gdb.base/multi-forks.c (main): Likewise.
1641 * gdb.base/pr10179-a.c (main): Likewise.
1642 * gdb.base/savedregs.c (main): Likewise.
1643 * gdb.base/sigaltstack.c (main): Likewise.
1644 * gdb.base/siginfo.c (main): Likewise.
1645 * gdb.base/structs.c (zed): Likewise.
1646 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1647 * gdb.mi/mi-syn-frame.c (main): Likewise.
1648 * gdb.mi/until.c (foo, main): Likewise.
1649 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1650 * gdb.base/solib-weak.c (foo): Declare.
1651 * gdb.base/attach-twice.c: Include stdio.h.
1652 * gdb.base/weaklib1.c: Likewise.
1653 * gdb.base/weaklib2.c: Likewise.
1654 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1655 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1656 unistd.h.
1657 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1658 * gdb.mi/mi-exit-code.c: Likewise.
1659 * gdb.base/break-interp-lib.c: Include string.h.
1660 * gdb.base/coremaker.c: Likewise.
1661 * gdb.base/testenv.c: Likewise.
1662 * gdb.python/py-finish-breakpoint.c: Likewise.
1663 * gdb.base/inferior-died.c: Include sys/wait.h.
1664 * gdb.base/fileio.c: Include time.h.
1665 * gdb.base/async-shell.c: Include unistd.h.
1666 * gdb.base/dprintf-non-stop.c: Likewise.
1667 * gdb.base/info-os.c: Likewise.
1668 * gdb.mi/mi-console.c: Likewise.
1669 * gdb.mi/watch-nonstop.c: Likewise.
1670 * gdb.python/py-events.c: Likewise.
1671 * gdb.base/async.c (baz): Move up before its invocation.
1672 * gdb.base/code_elim2.c (my_global_func): Likewise.
1673 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1674 * gdb.base/advance.c (func2): Likewise.
1675
3b5d5997
AA
16762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1677
1678 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1679 variant.
1680 * gdb.base/annota3.c: Likewise.
1681 * gdb.base/async.c: Likewise.
1682 * gdb.base/average.c: Likewise.
1683 * gdb.base/call-ar-st.c: Likewise.
1684 * gdb.base/call-rt-st.c: Likewise.
1685 * gdb.base/call-sc.c: Likewise.
1686 * gdb.base/call-strs.c: Likewise.
1687 * gdb.base/ending-run.c: Likewise.
1688 * gdb.base/execd-prog.c: Likewise.
1689 * gdb.base/exprs.c: Likewise.
1690 * gdb.base/foll-exec.c: Likewise.
1691 * gdb.base/foll-fork.c: Likewise.
1692 * gdb.base/foll-vfork.c: Likewise.
1693 * gdb.base/funcargs.c: Likewise.
1694 * gdb.base/gcore.c: Likewise.
1695 * gdb.base/jump.c: Likewise.
1696 * gdb.base/langs0.c: Likewise.
1697 * gdb.base/langs1.c: Likewise.
1698 * gdb.base/langs2.c: Likewise.
1699 * gdb.base/mips_pro.c: Likewise.
1700 * gdb.base/nodebug.c: Likewise.
1701 * gdb.base/opaque0.c: Likewise.
1702 * gdb.base/opaque1.c: Likewise.
1703 * gdb.base/recurse.c: Likewise.
1704 * gdb.base/run.c: Likewise.
1705 * gdb.base/scope0.c: Likewise.
1706 * gdb.base/scope1.c: Likewise.
1707 * gdb.base/setshow.c: Likewise.
1708 * gdb.base/setvar.c: Likewise.
1709 * gdb.base/shmain.c: Likewise.
1710 * gdb.base/shr1.c: Likewise.
1711 * gdb.base/shr2.c: Likewise.
1712 * gdb.base/sigall.c: Likewise.
1713 * gdb.base/signals.c: Likewise.
1714 * gdb.base/so-indr-cl.c: Likewise.
1715 * gdb.base/solib2.c: Likewise.
1716 * gdb.base/structs.c: Likewise.
1717 * gdb.base/sum.c: Likewise.
1718 * gdb.base/vforked-prog.c: Likewise.
1719 * gdb.base/watchpoint.c: Likewise.
1720 * gdb.reverse/shr2.c: Likewise.
1721 * gdb.reverse/until-reverse.c: Likewise.
1722 * gdb.reverse/ur1.c: Likewise.
1723 * gdb.reverse/watch-reverse.c: Likewise.
1724
066a77c5
AA
17252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1726
1727 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1728 variant.
1729 * gdb.base/sepdebug.exp: Drop references to removed code.
1730
4f204ea5
AA
17312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1732
1733 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1734 variant. Preserve original line numbering.
1735 * gdb.base/list1.c: Likewise.
1736
3b377a3a
AA
17372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1738
1739 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1740 variant.
1741 * gdb.base/break1.c: Likewise.
1742 * gdb.base/break.exp: Drop references to removed code.
1743
e444df73
AA
17442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1745
1746 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1747 variant.
1748
8008f2a7
AA
17492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1750
1751 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1752
a5a06887
AA
17532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1754
1755 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1756 logic into perform_all_tests() and invoke it with and without
1757 function header prototypes.
1758 (do_function_calls): Remove conditional XFAIL for PR 5318.
1759 (rerun_and_prepare): Remove duplicate code.
1760 (perform_all_tests): New. Main logic moved here.
1761
44dba9b9
AA
17622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1763
1764 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1765 code guarded by #ifdef NO_PROTOTYPES.
1766 (t_double_many_args): Likewise.
1767 (DEF_FUNC_MANY_ARGS_1): Likewise.
1768 (DEF_FUNC_VALUES_1): Likewise.
1769 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1770 guarded by #ifdef PROTOTYPES.
1771
d1fbcd56
AA
17722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1773
1774 * gdb.mi/mi-console.c: Add eye-catcher.
1775 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1776 instead of literal line number.
1777
b0e59b8f
AA
17782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1779
1780 * gdb.base/shr2.c: Add eye-catcher.
1781 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1782 line number.
1783
78f98cca
AA
17842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1785
1786 * gdb.base/jump.c: Add eye-catchers.
1787 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1788 numbers.
1789
58fa2af0
AA
17902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1791
1792 * gdb.base/execd-prog.c: Add eye-catchers.
1793 * gdb.base/foll-exec.c: Likewise.
1794 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1795 line numbers.
1796
04e5059b
AA
17972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1798
1799 * gdb.base/ending-run.c: Add eye-catchers.
1800 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1801 literal line numbers.
1802
dbfdb174
AA
18032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1804
1805 * gdb.base/call-rt-st.c: Add eye-catchers.
1806 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1807 literal line numbers.
1808
888a2ade
AA
18092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1810
1811 * gdb.base/call-ar-st.c: Add eye-catchers.
1812 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1813 literal line numbers.
1814
6acc2dde
AA
18152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1816
1817 * gdb.base/average.c: Add eye-catchers.
1818 * gdb.base/sum.c: Likewise.
1819 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1820 regexps dynamically.
1821
9ecfcd1d
AA
18222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1823
1824 * gdb.base/solib1.c: Add eye-catchers.
1825 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1826 literal line numbers.
1827
78708b7c
PA
18282014-11-12 Pedro Alves <palves@redhat.com>
1829
1830 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1831 leader has exited.
1832
af48d08f
PA
18332014-11-12 Pedro Alves <palves@redhat.com>
1834
1835 * gdb.arch/i386-bp_permanent.c: New file.
1836 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1837 (srcfile): Set to i386-bp_permanent.c.
1838 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1839 that stepi does not execute the 'leave' instruction, instead of
1840 testing it does execute.
1841 * gdb.base/bp-permanent.c: New file.
1842 * gdb.base/bp-permanent.exp: New file.
1843
af3768e9
DE
18442014-11-10 Doug Evans <xdje42@gmail.com>
1845
1846 PR symtab/17564
1847 * gdb.base/symtab-search-order.exp: New file.
1848 * gdb.base/symtab-search-order.c: New file.
1849 * gdb.base/symtab-search-order-1.c: New file.
1850 * gdb.base/symtab-search-order-shlib-1.c: New file.
1851
9de00a4a
PA
18522014-11-07 Pedro Alves <palves@redhat.com>
1853
1854 PR gdb/17511
1855 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1856 i?86-*-linux*.
1857
e0f52461
SC
18582014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1859
1860 PR c++/17494
1861 * gdb.cp/pr17494.cc: New file.
1862 * gdb.cp/pr17494.exp: New file.
1863
6ce8c980
YQ
18642014-11-02 Yao Qi <yao@codesourcery.com>
1865
1866 * gdb.python/python.exp: Get working directory and match the
1867 output of "set extended-prompt \\w " with it.
1868
02be9a71
DE
18692014-10-30 Doug Evans <dje@google.com>
1870
1871 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1872 in objfiles.
1873 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1874 in progspaces.
1875
3bdff46b
LM
18762014-10-30 Janis Johnson <janisjo@codesourcery.com>
1877
1878 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1879 * gdb.base/realname-expand.exp: Likewise.
1880 * gdb.linespec/macro-relative.exp: Likewise.
1881
ab917dfb
PA
18822014-10-29 Pedro Alves <palves@redhat.com>
1883
1884 PR gdb/17408
1885 * gdb.threads/schedlock.c (some_function): New function.
1886 (call_function): New global.
1887 (MAYBE_CALL_SOME_FUNCTION): New macro.
1888 (thread_function): Call it.
1889 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1890 and use it instead of a global counter. Adjust all callers.
1891 (get_current_thread): Use "find current thread" for test message
1892 here rather than having all callers pass down the same string.
1893 (goto_loop): New procedure, factored out from ...
1894 (my_continue): ... this.
1895 (step_ten_loops): Change parameter from test message to command to
1896 use. Adjust.
1897 (list_count): Delete global.
1898 (check_result): New procedure, factored out from duplicate top
1899 level code.
1900 (continue tests): Wrap in with_test_prefix.
1901 (test_step): New procedure, factored out from duplicate top level
1902 code.
1903 (top level): Test "step" in combination with all scheduler-locking
1904 modes. Test "next" in combination with all scheduler-locking
1905 modes, and in combination with stepping over a function call or
1906 not.
1907 * gdb.threads/next-bp-other-thread.c: New file.
1908 * gdb.threads/next-bp-other-thread.exp: New file.
1909
d3d4baed
PA
19102014-10-29 Pedro Alves <palves@redhat.com>
1911
1912 PR python/17372
1913 * gdb.python/python.exp: Test a multi-line command that spawns
1914 interactive Python.
1915 * gdb.base/multi-line-starts-subshell.exp: New file.
1916
563e8d85
YQ
19172014-10-29 Yao Qi <yao@codesourcery.com>
1918
1919 * gdb.base/fileio.exp: Make directories on host.
1920
0ea4d52e
YQ
19212014-10-29 Yao Qi <yao@codesourcery.com>
1922
1923 * gdb.base/fileio.c (test_write): Close the file.
1924
7f5ef605
PA
19252014-10-28 Pedro Alves <palves@redhat.com>
1926
1927 PR gdb/12623
1928 * gdb.base/sigstep.c (no_handler): New global.
1929 (main): If 'no_handler is true, set the signal handlers to
1930 SIG_IGN.
1931 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1932 with_sw_watch and no_handler parameters. Handle them.
1933 (top level) <stepping over handler when stopped at a breakpoint
1934 test>: Add a test axis for testing with a software watchpoint, and
1935 another for testing with the signal handler set to SIG_IGN.
1936 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1937 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1938
abbdbd03
PA
19392014-10-28 Pedro Alves <palves@redhat.com>
1940
1941 PR gdb/17511
1942 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1943 * gdb.base/sigstep.exp (other_handler_location): New global.
1944 (advance): Support stepping into the signal handler, and running
1945 commands while in the handler.
1946 (in_handler_map): New global.
1947 (top level): In the advance test, add combinations for getting
1948 into the handler with stepping commands, and for running commands
1949 in the handler. Add comment descripting the advancei tests.
1950
1df4399f
PA
19512014-10-28 Pedro Alves <palves@redhat.com>
1952
1953 * gdb.base/sigstep.exp: Use build_executable instead of
1954 prepare_for_testing.
1955 (top level): Move code that starts GDB, runs to main and creates a
1956 display to ...
1957 (restart): ... this new procedure.
1958 (top level): Move backtrace from signal handler test to ...
1959 (validate_backtrace): ... this new procedure.
1960 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1961 with_test_prefix. Always restart GDB.
1962 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1963 with_test_prefix. Always restart GDB. No need to delete
1964 breakpoints after the test.
1965 (test_skip_handler): Remove prefix parameter.
1966 (skip_over_handler, breakpoint_to_handler)
1967 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1968 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1969 restart GDB. No need to delete breakpoints after the test.
1970 (top level): Use foreach to call the test procedures with
1971 different commands.
1972
a5b6e449
PA
19732014-10-28 Pedro Alves <palves@redhat.com>
1974
1975 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1976 instead of GNATS numbers.
1977 * gdb.base/sigbpt.exp: Likewise.
1978 * gdb.base/siginfo.exp: Likewise.
1979 * gdb.base/sigstep.exp: Likewise.
1980
e5f8a7cc
PA
19812014-10-27 Pedro Alves <palves@redhat.com>
1982
1983 * gdb.base/sigstep.c (dummy): New global.
1984 (main): Issue a couple writes to the new global.
1985 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1986 procedures.
1987 (skip_over_handler): Use test_skip_handler.
1988 (top level): Call skip_over_handler for stepi and nexti too.
1989 (breakpoint_over_handler): Use test_skip_handler.
1990 (top level): Call breakpoint_over_handler for stepi and nexti too.
1991
763905a3
YQ
19922014-10-27 Yao Qi <yao@codesourcery.com>
1993
1994 * gdb.trace/tfile.c (adjust_function_address)
1995 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1996 function descriptor.
1997
6f259a23
DB
19982014-10-24 Don Breazeal <donb@codesourcery.com>
1999
2000 * gdb.base/foll-fork.exp (test_follow_fork,
2001 catch_fork_child_follow): Check for updated fork messages emitted
2002 from infrun.c.
2003 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2004 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2005 vfork_and_exec_child_follow_through_step): Check for updated vfork
2006 messages emitted from infrun.c.
2007
09dd9a69
PA
20082014-10-24 Pedro Alves <palves@redhat.com>
2009
2010 * gdb.base/corefile.exp: Remove references to ultrix.
2011 * gdb.base/interrupt.exp: Likewise.
2012 * gdb.base/whatis.exp: Likewise.
2013 * gdb.gdb/selftest.exp: Likewise.
2014 * gdb.threads/manythreads.exp: Likewise.
2015 * gdb.threads/print-threads.exp: Likewise.
2016 * gdb.threads/pthreads.exp:: Likewise.
2017 * gdb.threads/schedlock.exp: Likewise.
2018
3433cfa5
SC
20192014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2020
2021 * gdb.cp/non-trivial-retval.cc: Add a test case.
2022 * gdb.cp/non-trivial-retval.exp: Add a test.
2023
092f880b
YQ
20242014-10-20 Yao Qi <yao@codesourcery.com>
2025
2026 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2027 * gdb.python/py-objfile-script-gdb.py: New file.
2028 * gdb.python/py-objfile-script.exp: Update reference to
2029 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2030 of remote_download. Remove the dest file.
2031
acbdb7f3
YQ
20322014-10-20 Yao Qi <yao@codesourcery.com>
2033
2034 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2035 * gdb.base/step-line.exp: Likewise.
2036 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2037 * gdb.dwarf2/dw2-basic.exp: Likewise.
2038 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2039 * gdb.dwarf2/dw2-filename.exp: Likewise.
2040 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2041 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2042 * gdb.dwarf2/dw2-producer.exp: Likewise.
2043 * gdb.dwarf2/mac-fileno.exp: Likewise.
2044 * gdb.python/py-frame-args.exp: Likewise.
2045 * gdb.python/py-framefilter.exp: Likewise.
2046 * gdb.python/py-mi.exp: Likewise.
2047 * gdb.python/py-objfile-script.exp: Likewise
2048 * gdb.python/py-pp-integral.exp: Likewise.
2049 * gdb.python/py-pp-re-notag.exp: Likewise.
2050 * gdb.python/py-prettyprint.exp: Likewise.
2051 * gdb.python/py-section-script.exp: Likewise.
2052 * gdb.python/py-typeprint.exp: Likewise.
2053 * gdb.python/py-xmethods.exp: Likewise.
2054 * gdb.stabs/weird.exp: Likewise.
2055 * gdb.xml/tdesc-regs.exp: Likewise.
2056
bd286a29
KCY
20572014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2058
2059 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2060 (out_cu): Use addr_len for the size of addresses.
2061 (out_line): Likewise. Size DW_LNE_set_address instruction
2062 according to addr_len.
2063 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2064 (FUNC): Add START_INSNS to definition.
2065
673dc4a0
YQ
20662014-10-18 Yao Qi <yao@codesourcery.com>
2067
2068 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2069 gdb_has_argv0 return true.
2070 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2071 check [target_info exists noargs], check [gdb_has_argv0]
2072 instead.
2073 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2074 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2075 procedures.
2076
4ffbba72
DE
20772014-10-17 Doug Evans <dje@google.com>
2078
2079 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2080 event.
2081 * gdb.python/py-events.py: Add clear_objfiles event.
2082
d096d8c1
DE
20832014-10-17 Doug Evans <dje@google.com>
2084
2085 * gdb.python/py-objfile.exp: Test progspace attribute.
2086
a80db015
LM
20872014-10-17 Luis Machado <lgustavo@codesourcery.com>
2088
2089 * gdb.guile/scm-breakpoint.exp: Do not assume any
2090 directory separators when matching source file paths.
2091 * gdb.python/py-breakpoint.exp: Likewise.
2092 * gdb.reverse/break-precsave.exp: Likewise.
2093 * gdb.reverse/break-reverse.exp: Likewise.
2094 * gdb.reverse/consecutive-precsave.exp: Likewise.
2095 * gdb.reverse/finish-precsave.exp: Likewise.
2096 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2097 * gdb.reverse/finish-reverse.exp: Likewise.
2098 * gdb.reverse/i386-precsave.exp: Likewise.
2099 * gdb.reverse/i387-env-reverse.exp: Likewise.
2100 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2101 * gdb.reverse/machinestate-precsave.exp: Likewise.
2102 * gdb.reverse/machinestate.exp: Likewise.
2103 * gdb.reverse/sigall-precsave.exp: Likewise.
2104 * gdb.reverse/solib-precsave.exp: Likewise.
2105 * gdb.reverse/step-precsave.exp: Likewise.
2106 * gdb.reverse/until-precsave.exp: Likewise.
2107 * gdb.reverse/watch-precsave.exp: Likewise.
2108 * gdb.reverse/watch-reverse.exp: Likewise.
2109
b22089ab
YQ
21102014-10-17 Yao Qi <yao@codesourcery.com>
2111
2112 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2113 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2114
6c4486e6
PA
21152014-10-17 Pedro Alves <palves@redhat.com>
2116
2117 PR gdb/17471
2118 * gdb.base/bg-execution-repeat.c: New file.
2119 * gdb.base/bg-execution-repeat.exp: New file.
2120
0ff33695
PA
21212014-10-17 Pedro Alves <palves@redhat.com>
2122
2123 PR gdb/17300
2124 * gdb.base/continue-all-already-running.c: New file.
2125 * gdb.base/continue-all-already-running.exp: New file.
2126
6fdebc3d
PA
21272014-10-17 Pedro Alves <palves@redhat.com>
2128
2129 PR gdb/17472
2130 * gdb.base/annota-input-while-running.c: New file.
2131 * gdb.base/annota-input-while-running.exp: New file.
2132
32a8097b
PA
21332014-10-17 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.base/callfuncs.exp: emove references to osf.
2136 * gdb.base/sigall.exp: Likewise.
2137 * gdb.gdb/selftest.exp: Likewise.
2138 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2139 * gdb.mi/non-stop.c: Likewise.
2140 * gdb.mi/pthreads.c: Likewise.
2141 * gdb.reverse/sigall-precsave.exp: Likewise.
2142 * gdb.reverse/sigall-reverse.exp: Likewise.
2143 * gdb.threads/pthreads.c: Likewise.
2144 * gdb.threads/pthreads.exp: Likewise.
2145
7a3517ff
YQ
21462014-10-17 Yao Qi <yao@codesourcery.com>
2147
2148 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2149 check 'target_info exists noargs'.
2150 (test_command_prompt_position): Likewise.
2151 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2152 Remove "set args".
2153 (progvar_simple_while_test): Likewise.
2154 (progvar_complex_if_while_test): Likewise.
2155 (if_while_breakpoint_command_test): Likewise.
2156 (infrun_breakpoint_command_test): Likewise.
2157 (breakpoint_command_test): Likewise.
2158 (watchpoint_command_test): Likewise.
2159 (bp_deleted_in_command_test): Likewise.
2160 (temporary_breakpoint_commands): Likewise.
2161
bb99c472
YQ
21622014-10-16 Yao Qi <yao@codesourcery.com>
2163
2164 * gdb.base/remotetimeout.exp: Remove noargs checking.
2165
7c16b83e
PA
21662014-10-15 Pedro Alves <palves@redhat.com>
2167
2168 PR breakpoints/9649
2169 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2170 * gdb.base/breakpoint-in-ro-region.exp
2171 (probe_target_hardware_step): New procedure.
2172 (top level): Probe hardware stepping and hardware breakpoint
2173 support. Test stepping through a read-only region, with both
2174 "breakpoint auto-hw" on and off and both "always-inserted" on and
2175 off.
2176
35a49624
IB
21772014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2178
2179 * gdb.dlang/demangle.exp: Update for demangling changes.
2180
2d1c107c
SC
21812014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2182
2183 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2184 * gdb.cp/non-trivial-retval.exp: Add new tests.
2185
778811d5
SC
21862014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2187
2188 PR c++/13403
2189 PR c++/15154
2190 * gdb.cp/non-trivial-retval.cc: New file.
2191 * gdb.cp/non-trivial-retval.exp: New file.
2192
10c5f0a8
YQ
21932014-10-15 Yao Qi <yao@codesourcery.com>
2194
2195 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2196 remote host.
2197
65d7b369
YQ
21982014-10-15 Yao Qi <yao@codesourcery.com>
2199
2200 * gdb.python/py-symbol.exp: Match file base name if host is
2201 remote, otherwise match file name with dir name.
2202 * gdb.python/py-symtab.exp: Likewise.
2203 * gdb.python/python.exp: Likewise.
2204
46dc1394
YQ
22052014-10-15 Yao Qi <yao@codesourcery.com>
2206
2207 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2208 pattern.
2209 * gdb.python/py-symtab.exp: Likewise.
2210 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2211 locationn.
2212
c40cc657
JB
22132014-10-14 Joel Brobecker <brobecker@adacore.com>
2214
2215 * gdb.ada/addr_arith: New testcase.
2216
2abf49e1
MR
22172014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2218
2219 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2220 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2221 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2222 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2223
f7088df3
SDJ
22242014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2225
2226 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2227 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2228 * gdb.arch/stap-eval-lang-ada.exp: New file.
2229
4dc06805
YQ
22302014-10-14 Yao Qi <yao@codesourcery.com>
2231
2232 * gdb.mi/mi-var-child.c (nothing1): New function.
2233 (nothing2): New function.
2234 (do_children_tests): Set function pointers by nothing1 and
2235 nothing2.
2236 * gdb.mi/mi-var-child.exp: Step over new added statements.
2237 Update test to match the new output.
2238 * gdb.mi/var-cmd.c (nothing1): New function.
2239 (nothing2): New function.
2240 (do_children_tests): Set function pointers by nothing1 and
2241 nothing2.
2242 * gdb.mi/mi-var-display.exp: Update test to match output.
2243 Step to the line specified by $line_dct_nothing.
2244 Increase the number of lines to step.
2245
46a93de2
YQ
22462014-10-14 Yao Qi <yao@codesourcery.com>
2247
2248 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2249 tests.
2250 * gdb.mi/mi2-var-child.exp: Likewise.
2251
14ea52ee
DE
22522014-10-13 Doug Evans <dje@google.com>
2253
2254 * gdb.python/py-objfile.exp: Change name of file name test.
2255
e5c6e92b
DE
22562014-10-13 Doug Evans <dje@google.com>
2257
2258 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2259 from the start of the CU.
2260
c780cc2f
JK
22612014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2262 Yao Qi <yao@codesourcery.com>
2263
2264 Fix "save breakpoints" for "catch" command.
2265 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2266 Remove -nonewline. Match also the added "main" line.
2267
99894e11
JK
22682014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2269
2270 Fix "save breakpoints" for "disable $bpnum" command.
2271 * gdb.base/save-bp.c (main): Add label.
2272 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2273
6e1ac5a3
JK
22742014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2275
2276 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2277
754dd2b0
YQ
22782014-10-11 Yao Qi <yao@codesourcery.com>
2279
2280 * gdb.server/server-kill.exp: Execute command
2281 "set remote trace-status-packet on" before "tstatus".
2282
f90183d7
YQ
22832014-10-11 Yao Qi <yao@codesourcery.com>
2284
2285 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2286 (main): Call getppid.
2287 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2288 and continue to it. Read variable "server_pid".
2289
bf40a607
YQ
22902014-10-11 Yao Qi <yao@codesourcery.com>
2291
2292 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2293
052ca370
YQ
22942014-10-11 Yao Qi <yao@codesourcery.com>
2295
2296 * gdb.threads/thread-find.exp: Don't execute command
2297 "info threads".
2298 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2299 * gdb.threads/linux-dp.exp: Don't check the condition
2300 $threads_created equals to zero.
2301
3831839c
PA
23022014-10-10 Pedro Alves <palves@redhat.com>
2303
2304 * gdb.base/bigcore.exp: Remove references to IRIX.
2305 * gdb.base/funcargs.exp: Likewise.
2306 * gdb.base/interrupt.exp: Likewise.
2307 * gdb.base/mips_pro.exp: Likewise.
2308 * gdb.base/nodebug.exp: Likewise.
2309 * gdb.base/setvar.exp: Likewise.
2310 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2311
8b9a549d
PA
23122014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2313 Pedro Alves <palves@redhat.com>
2314
2315 PR symtab/14466
2316 * gdb.base/vdso-warning.c: New file.
2317 * gdb.base/vdso-warning.exp: New file.
2318
d48ba5e8
DE
23192014-10-02 Doug Evans <dje@google.com>
2320
2321 * gdb.base/structs.c (main): Don't run forever.
2322
2278c276
PA
23232014-10-02 Pedro Alves <palves@redhat.com>
2324
2325 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2326 (top level) <stop threads 1, stop threads 2>: Use it.
2327
b57bacec
PA
23282014-10-02 Pedro Alves <palves@redhat.com>
2329
2330 * gdb.threads/break-while-running.exp (test): Add new
2331 'update_thread_list' argument. Skip "info threads" if false.
2332 (top level): Add new 'update_thread_list' axis.
2333
13fd3ff3
PA
23342014-10-02 Pedro Alves <palves@redhat.com>
2335
2336 PR breakpoints/17431
2337 * gdb.base/execl-update-breakpoints.c: New file.
2338 * gdb.base/execl-update-breakpoints.exp: New file.
2339
0fec99e8
PA
23402014-10-01 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.base/breakpoint-in-ro-region.c: New file.
2343 * gdb.base/breakpoint-in-ro-region.exp: New file.
2344
2ddf4301
SM
23452014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2346
2347 * gdb.mi/mi-exit-code.exp: New file.
2348 * gdb.mi/mi-exit-code.c: New file.
2349
6a5f3f43
YQ
23502014-09-30 Yao Qi <yao@codesourcery.com>
2351
2352 * lib/prelink-support.exp (build_executable_own_libs): Error if
2353 the target isn't native.
2354
345bcc73
YQ
23552014-09-30 Yao Qi <yao@codesourcery.com>
2356
2357 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2358 false.
2359
a25a5a45
PA
23602014-09-22 Pedro Alves <palves@redhat.com>
2361
2362 * gdb.threads/break-while-running.exp: New file.
2363 * gdb.threads/break-while-running.c: New file.
2364
00ba3162
YQ
23652014-09-19 Yao Qi <yao@codesourcery.com>
2366
2367 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2368 Invoke test. Restart GDB with --readnow and invoke test again.
2369
c3b7b696
YQ
23702014-09-19 Yao Qi <yao@codesourcery.com>
2371
2372 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2373 proc set_breakpoint_on_gcd_function. Invoke
2374 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2375 invoke set_breakpoint_on_gcd_function again.
2376
2b4fd423
DE
23772014-09-18 Doug Evans <dje@google.com>
2378
2379 * gdb.dwarf2/symtab-producer.exp: New file.
2380
a5947601
SDJ
23812014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2382
2383 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2384 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2385 * gdb.base/global-var-nested-by-dso.c: Likewise.
2386 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2387
91c19059
SDJ
23882014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2389 Pedro Alves <palves@redhat.com>
2390
2391 * gdb.base/watch-bitfields.exp: Pass string other than test file
2392 name to prepare_for_testing.
2393 (watch): New procedure.
2394 (expect_watchpoint): Use with_test_prefix.
2395 (top level): Factor out tests to ...
2396 (test_watch_location, test_regular_watch): ... these new
2397 procedures, and use with_test_prefix and gdb_continue_to_end.
2398
bb9d5f81
PP
23992014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2400
2401 PR breakpoints/12526
2402 * gdb.base/watch-bitfields.exp: New file.
2403 * gdb.base/watch-bitfields.c: New file.
2404
635856f5
PA
24052014-09-16 Pedro Alves <palves@redhat.com>
2406
2407 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2408 software and hardware addresses, not software address against
2409 itself.
2410
7280ceea
PA
24112014-09-16 Pedro Alves <palves@redhat.com>
2412
2413 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2414 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2415
428b16bd
PA
24162014-09-16 Pedro Alves <palves@redhat.com>
2417
2418 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2419 files.
2420 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2421 "*-*-vxworks*" throughout.
2422 * gdb.base/break.exp: Likewise.
2423 * gdb.base/default.exp: Likewise.
2424 * gdb.base/scope.exp: Likewise.
2425 * gdb.base/sepdebug.exp: Likewise.
2426 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2427 throughout.
2428 * gdb.base/run.c: Likewise.
2429 * gdb.base/sepdebug.c: Likewise.
2430 * gdb.hp/gdb.aCC/run.c: Likewise.
2431 * gdb.reverse/until-reverse.c: Likewise.
2432 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2433
666d413c
YQ
24342014-09-16 Yao Qi <yao@codesourcery.com>
2435
2436 * boards/local-remote-host-native.exp: New file.
2437
57cbd724
DE
24382014-09-14 Doug Evans <xdje42@gmail.com>
2439
2440 * gdb.threads/queue-signal.c (thread_count): New variable.
2441 (thread_count_mutex, thread_count_condvar): New variables.
2442 (incr_thread_count, wait_all_threads_running): New functions.
2443 (main): Wait for all threads to be in their thread functions.
2444
81219e53
DE
24452014-09-13 Doug Evans <xdje42@gmail.com>
2446
2447 * gdb.threads/queue-signal.c: New file.
2448 * gdb.threads/queue-signal.exp: New file.
2449
3714cea7
DE
24502014-09-13 Doug Evans <xdje42@gmail.com>
2451
2452 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2453 be consistent with what default_gdb_init uses.
2454 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2455 the plain text of the prompt. Add some logging printfs.
2456 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2457
fa43b1d7
PA
24582014-09-12 Pedro Alves <palves@redhat.com>
2459
2460 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2461 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2462 * gdb.arch/i386-size-overlap.exp: Likewise.
2463 * gdb.arch/i386-size.exp: Likewise.
2464 * gdb.arch/i386-unwind.exp: Likewise.
2465 * gdb.base/a2-run.exp: Likewise.
2466 * gdb.base/break.exp: Likewise.
2467 * gdb.base/charset.exp: Likewise.
2468 * gdb.base/chng-syms.exp: Likewise.
2469 * gdb.base/commands.exp: Likewise.
2470 * gdb.base/dbx.exp: Likewise.
2471 * gdb.base/find.exp: Likewise.
2472 * gdb.base/funcargs.exp: Likewise.
2473 * gdb.base/jit-simple.exp: Likewise.
2474 * gdb.base/reread.exp: Likewise.
2475 * gdb.base/sepdebug.exp: Likewise.
2476 * gdb.base/step-bt.exp: Likewise.
2477 * gdb.cp/mb-inline.exp: Likewise.
2478 * gdb.cp/mb-templates.exp: Likewise.
2479 * gdb.objc/basicclass.exp: Likewise.
2480 * gdb.threads/killed.exp: Likewise.
2481
9d9bf2df
EBM
24822014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2483
2484 PR tdep/17379
2485 * gdb.arch/powerpc-stackless.S: New file.
2486 * gdb.arch/powerpc-stackless.exp: New file.
2487
1cf2f1b0
JK
24882014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2489
2490 * gdb.base/attach.c: Include unistd.h.
2491 (main): Call alarm. Add label postloop.
2492 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2493 gdb_breakpoint, gdb_continue_to_breakpoint.
2494 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2495
98880d46
PA
24962014-09-11 Pedro Alves <palves@redhat.com>
2497
2498 PR gdb/17347
2499 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2500 * gdb.base/attach.exp (test_command_line_attach_run): New
2501 procedure.
2502 (top level): Call it.
2503
4c92ff2c
PA
25042014-09-11 Pedro Alves <palves@redhat.com>
2505
2506 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2507 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2508 (do_command_attach_tests): Use spawn_wait_for_attach.
2509 * gdb.base/solib-overlap.exp: Likewise.
2510 * gdb.multi/multi-attach.exp: Likewise.
2511 * gdb.python/py-prompt.exp: Likewise.
2512 * gdb.python/py-sync-interp.exp: Likewise.
2513 * gdb.server/ext-attach.exp: Likewise.
2514
3adc1a7d
GKB
25152014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2516
2517 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2518 command in testcase. Simplify testcase.
2519
96334934
JB
25202014-09-10 Joel Brobecker <brobecker@adacore.com>
2521
2522 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2523
eb479039
JB
25242014-09-10 Joel Brobecker <brobecker@adacore.com>
2525
2526 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2527
deede10c
JB
25282014-09-10 Joel Brobecker <brobecker@adacore.com>
2529
2530 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2531
7828a5f5
JB
25322014-09-10 Joel Brobecker <brobecker@adacore.com>
2533
2534 * gdb.dwarf2/dynarr-ptr.c: New file.
2535 * gdb.dwarf2/dynarr-ptr.exp: New file.
2536
33aeebcf
MR
25372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2538
2539 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2540 of 30 rather than hardcoding 120 for a slow test case. Take the
2541 `gdb,timeout' target setting into account for this calculation.
2542 Don't extend the timeout for the test cases that don't need it.
2543
7b415901
MR
25442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2545
2546 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2547 a factor of 2 for a slow test case. Take the `gdb,timeout'
2548 target setting into account for this calculation.
2549 * gdb.reverse/until-precsave.exp: Increase the timeout by
2550 a factor of 15 and 3 respectively rather than adding 120
2551 for a pair of slow test cases. Take the `gdb,timeout'
2552 target setting into account for this calculation.
2553
4a40f85a
MR
25542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2555
2556 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2557 timeout, don't pass one down to gdb_expect.
2558 (gdb_expect): Rework timeout selection.
2559
09635af7
MR
25602014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2561
2562 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2563 exception on timeout.
2564 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2565 (gdbserver_start_extended): Catch any `gdbserver_start' error
2566 exceptions.
2567 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2568 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2569 `gdbserver_gdb_load' error exceptions.
2570
2bdd10b7
MR
25712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2572
2573 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2574 120 on waiting for the TCP socket to open.
2575
316935f0
DE
25762014-09-09 Doug Evans <xdje42@gmail.com>
2577
2578 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2579 _caller_matches, _any_caller_is, _any_caller_matches.
2580
83740597
DE
25812014-09-09 Doug Evans <xdje42@gmail.com>
2582
2583 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2584
4c122fc3
YQ
25852014-09-09 Yao Qi <yao@codesourcery.com>
2586
2587 * gdb.mi/mi-var-display.exp: Set print symbol off.
2588
a9f116cb
GKB
25892014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2590
2591 PR gdb/17035
2592 * gdb.base/commands.exp: Add tests to verify user-defined
2593 commands with empty bodies.
2594 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2595 python commands in `show user command`.
2596 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2597 scheme commands in `show user command`.
2598
c75bd3a2
JK
25992014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2600
2601 PR python/17355
2602 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2603 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2604 * gdb.python/py-framefilter-invalidarg.exp: New file.
2605 * gdb.python/py-framefilter-invalidarg.py: New file.
2606
faa42425
DE
26072014-09-06 Doug Evans <xdje42@gmail.com>
2608
2609 PR 15276
2610 * gdb.python/py-caller-is.c: New file.
2611 * gdb.python/py-caller-is.exp: New file.
2612
474ca4f6
SDJ
26132014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2614
2615 PR gdb/17235
2616 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2617 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2618
eb0b0463
SDJ
26192014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2620
2621 PR fortran/17237
2622 * gdb.fortran/print-formatted.exp: New file.
2623 * gdb.fortran/print-formatted.f90: Likewise.
2624
5f3b99cf
SS
26252014-09-03 Sasha Smundak <asmundak@google.com>
2626
2627 * gdb.python/py-frame.exp: Test Frame.read_register.
2628
7d793aa9
SDJ
26292014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2630
2631 PR python/16699
2632 * gdb.python/py-completion.exp: New file.
2633 * gdb.python/py-completion.py: Likewise.
2634
fb0576e9
DE
26352014-08-28 Doug Evans <dje@google.com>
2636
2637 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2638 eax,etc. are live with values set by gdb and thus the compiler can't
2639 use them.
2640 * gdb.arch/i386-pseudo.c (main): Ditto.
2641
ee92b0dd
DE
26422014-08-27 Doug Evans <dje@google.com>
2643
2644 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2645
6649db35
DE
26462014-08-25 Doug Evans <dje@google.com>
2647
2648 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2649 (main): Ditto.
2650
564b7600
DE
26512014-08-25 Doug Evans <dje@google.com>
2652
2653 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2654
3881fb67
YQ
26552014-08-24 Yao Qi <yao@codesourcery.com>
2656
2657 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2658 symbol off.
2659 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2660
a05a36a5
DE
26612014-08-22 Doug Evans <dje@google.com>
2662
2663 PR 17276
2664 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2665 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2666 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2667
7c343b48
YQ
26682014-08-22 Yao Qi <yao@codesourcery.com>
2669
2670 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2671 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2672 * gdb.python/python.exp: Likewise. Use .py file on the host
2673 instead of the build.
2674
22fd09ae
JK
26752014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2676
2677 * gdb.threads/gcore-stale-thread.c: New file.
2678 * gdb.threads/gcore-stale-thread.exp: New file.
2679
a8454a7c
PA
26802014-08-21 Pedro Alves <palves@redhat.com>
2681
2682 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2683 * gdb.base/gcore-relro-pie.exp: Likewise.
2684 * gdb.base/gcore-relro.exp: Likewise.
2685 * gdb.base/gcore.exp: Likewise.
2686 * gdb.base/print-symbol-loading.exp: Likewise.
2687 * gdb.threads/gcore-thread.exp: Likewise.
2688 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2689
2a31c623
PA
26902014-08-20 Pedro Alves <palves@redhat.com>
2691 Jan Kratochvil <jan.kratochvil@redhat.com>
2692
2693 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2694 configure.
2695 (EXPECT): Handle READ1 being set.
2696 (all): Depend on EXTRA_RULES.
2697 (check-read1, expect-read1, read1.so, read1): New rules.
2698 * README (Testsuite Parameters): Document the READ1 make variable.
2699 (Race detection): New section.
2700 * configure: Regenerate.
2701 * configure.ac: If build==host==target, and running under a
2702 GNU/glibc system, add read1 to the extra Makefile rules.
2703 (EXTRA_RULES): AC_SUBST it.
2704 * lib/read1.c: New file.
2705
d36430db
JB
27062014-08-20 Joel Brobecker <brobecker@adacore.com>
2707
2708 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2709 the handling of variables declared as a typedef to an array
2710 which a DW_AT_data_location attribute.
2711
9a0dc9e3
PA
27122014-08-19 Andrew Burgess <aburgess@broadcom.com>
2713 Pedro Alves <palves@redhat.com>
2714
2715 PR symtab/14604
2716 PR symtab/14605
2717 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2718 gdb_test.
2719
0718a8da
PA
27202014-08-19 Pedro Alves <palves@redhat.com>
2721
2722 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2723
13b448cd
YQ
27242014-08-19 Yao Qi <yao@codesourcery.com>
2725
2726 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2727 right line.
2728
1cbf5077
DB
27292014-08-18 David Blaikie <dblaikie@gmail.com>
2730
2731 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2732
bf0fae19
JB
27332014-08-18 Joel Brobecker <brobecker@adacore.com>
2734
2735 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2736 attribute in array range.
2737
3c8c5dcc
JB
27382014-08-18 Joel Brobecker <brobecker@adacore.com>
2739
2740 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2741
e66d4446
SC
27422014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2743
2744 PR c++/17132
2745 * gdb.cp/pr17132.cc: New file.
2746 * gdb.cp/pr17132.exp: New file.
2747
940df408
SC
27482014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2749
2750 * gdb.python/py-xmethods.py (A_getarrayind)
2751 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2752 Use 'print' with function call syntax.
2753 (E_method_matcher.match): Fix tab vs space indentation mixup.
2754
ebcc6c3a
YQ
27552014-08-15 Yao Qi <yao@codesourcery.com>
2756
2757 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2758 false.
2759
775e0f04
YQ
27602014-08-15 Yao Qi <yao@codesourcery.com>
2761
2762 * gdb.cp/casts.exp: Set print symbol off.
2763 * gdb.cp/class2.exp: Likewise.
2764 * gdb.cp/overload.exp: Likewise.
2765 * gdb.cp/templates.exp: Likewise.
2766
d769e349
DE
27672014-08-11 Doug Evans <dje@google.com>
2768
2769 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2770 (test_load_shlib): Update.
2771
20c6f1e1
YQ
27722014-08-09 Yao Qi <yao@codesourcery.com>
2773
2774 * gdb.base/display.exp: Invoke is_address_zero_readable.
2775 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2776 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2777 * gdb.base/hbreak-unmapped.exp: Return if
2778 is_address_zero_readable returns true.
2779 * gdb.base/signest.exp: Likewise.
2780 * gdb.base/signull.exp: Likewise.
2781 * gdb.base/sigbpt.exp: Likewise.
2782 * gdb.guile/scm-disasm.exp: Do the test if
2783 is_address_zero_readable returns false.
2784 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2785 * gdb.python/py-arch.exp: Likewise.
2786 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2787 * lib/gdb.exp (is_address_zero_readable): New proc.
2788
5792e8e3
YQ
27892014-08-09 Yao Qi <yao@codesourcery.com>
2790
2791 PR testsuite/13443
2792 * gdb.mi/mi-var-display.exp: Make test messages unique.
2793
3cecbbbe
TT
27942014-08-04 Tom Tromey <tromey@redhat.com>
2795
2796 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2797 target 0".
2798
00b51ff5
TT
27992014-08-04 Tom Tromey <tromey@redhat.com>
2800
2801 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2802 "target_resume".
2803
6908c509
JB
28042014-08-01 Joel Brobecker <brobecker@adacore.com>
2805
2806 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2807 inner_vla_struct_object_size.
2808 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2809 as xfail.
2810
cc6563d2
PA
28112014-07-30 Pedro Alves <palves@redhat.com>
2812
2813 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2814 comment.
2815
7e09a223
YQ
28162014-07-29 Yao Qi <yao@codesourcery.com>
2817
2818 PR gdb/17206
2819 * gdb.base/until-nodebug.exp: New.
2820
7ebdbe92
DE
28212014-07-28 Doug Evans <xdje42@gmail.com>
2822
2823 PR guile/17203
2824 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2825 previously existing parameter, and previously ambiguously spelled
2826 parameter.
2827
fdb1adc6
WN
28282014-07-28 Will Newton <will.newton@linaro.org>
2829
2830 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2831
186fcde0
DE
28322014-07-26 Ludovic Courtès <ludo@gnu.org>
2833 Doug Evans <xdje42@gmail.com>
2834
2835 PR guile/17146
2836 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2837
70509625
PA
28382014-07-25 Pedro Alves <palves@redhat.com>
2839
2840 * gdb.threads/signal-command-handle-nopass.c: New file.
2841 * gdb.threads/signal-command-handle-nopass.exp: New file.
2842 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2843 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2844 * gdb.threads/signal-delivered-right-thread.c: New file.
2845 * gdb.threads/signal-delivered-right-thread.exp: New file.
2846
c3f814a1
PA
28472014-07-25 Pedro Alves <palves@redhat.com>
2848
2849 * gdb.base/double-prompt-target-event-error.exp
2850 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2851 match.
2852 (cancel_pagination_in_target_event): Rework double prompt
2853 detection.
2854 * gdb.base/paginate-after-ctrl-c-running.exp
2855 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2856 <return>' match.
2857 * gdb.base/paginate-bg-execution.exp
2858 (test_bg_execution_pagination_return)
2859 (test_bg_execution_pagination_cancel): Remove '-notransfer
2860 <return>' matches.
2861 * gdb.base/paginate-execution-startup.exp
2862 (test_fg_execution_pagination_return)
2863 (test_fg_execution_pagination_cancel): Remove '-notransfer
2864 <return>' matches.
2865 * gdb.base/paginate-inferior-exit.exp
2866 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2867 match.
2868 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2869 * lib/gdb.exp (pagination_prompt): Run text through
2870 string_to_regexp.
2871 (gdb_test_multiple): Match $pagination_prompt instead of
2872 "<return>".
2873 (string_to_regexp): Move to lib/gdb-utils.exp.
2874
e214cf6c
JK
28752014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2876
2877 * gdb.arch/amd64-entry-value-paramref.S: New file.
2878 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2879 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2880 * gdb.arch/amd64-optimout-repeat.S: New file.
2881 * gdb.arch/amd64-optimout-repeat.c: New file.
2882 * gdb.arch/amd64-optimout-repeat.exp: New file.
2883
17d0c5c8
JK
28842014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2885
2886 PR gdb/17170
2887 * gdb.base/statistics.exp: New file.
2888
b8b8facf
DE
28892014-07-17 Doug Evans <dje@google.com>
2890
74b49205 2891 PR gdb/17170
b8b8facf
DE
2892 * gdb.base/maint.exp: Update testing of per-command stats.
2893
1b5d0ab3
PA
28942014-07-16 Pedro Alves <palves@redhat.com>
2895
2896 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2897 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2898 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2899 (tfile_write_buf): New functions.
2900 (add_memory_block): Rewrite using the above.
2901 (adjust_function_address): New function.
2902 (FUNCTION_ADDRESS): New macro.
2903 (write_basic_trace_file): Remove short_x local, and use
2904 tfile_write_16. Change type of func_addr local to unsigned long
2905 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2906 here. Cast argument of add_memory_block to char pointer.
2907 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2908 (main): Remove parameters.
2909 * gdb.trace/tfile.exp: Remove nowarnings.
2910
4d974e88
SM
29112014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2912
2913 * gdb.base/debug-expr.exp: Test string evaluation with
2914 "debug expression" on.
2915
41e99568
PA
29162014-07-15 Pedro Alves <palves@redhat.com>
2917
2918 * gdb.base/reread.exp: Use clean_restart.
2919
487d9753
PL
29202014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2921
2922 * gdb.arch/avr-flash-qualifer.c: New.
2923 * gdb.arch/avr-flash-qualifer.exp: New.
2924
cc1c52ad
PA
29252014-07-14 Pedro Alves <palves@redhat.com>
2926
2927 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2928 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2929
1e973570
PA
29302014-07-14 Pedro Alves <palves@redhat.com>
2931
2932 * gdb.base/double-prompt-target-event-error.c: New file.
2933 * gdb.base/double-prompt-target-event-error.exp: New file.
2934
93d6eb10
PA
29352014-07-14 Pedro Alves <palves@redhat.com>
2936
2937 PR gdb/17072
2938 * gdb.base/paginate-inferior-exit.c: New file.
2939 * gdb.base/paginate-inferior-exit.exp: New file.
2940
0017922d
PA
29412014-07-14 Pedro Alves <palves@redhat.com>
2942
2943 PR gdb/17072
2944 * gdb.base/paginate-bg-execution.c: New file.
2945 * gdb.base/paginate-bg-execution.exp: New file.
2946
94696ad3
PA
29472014-07-14 Pedro Alves <palves@redhat.com>
2948
2949 PR gdb/17072
2950 * gdb.base/paginate-execution-startup.c: New file.
2951 * gdb.base/paginate-execution-startup.exp: New file.
2952 * lib/gdb.exp (pagination_prompt): New global.
2953 (default_gdb_spawn): New procedure, factored out from
2954 default_gdb_spawn.
2955 (default_gdb_start): Adjust to call default_gdb_spawn.
2956 (gdb_spawn): New procedure.
2957
bd293940
PA
29582014-07-14 Pedro Alves <palves@redhat.com>
2959
2960 * lib/gdb.exp (gdb_assert): New procedure.
2961 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2962
c933f875
PA
29632014-07-14 Pedro Alves <palves@redhat.com>
2964
2965 * gdb.base/execution-termios.c: New file.
2966 * gdb.base/execution-termios.exp: New file.
2967
d98b7a16
TT
29682014-07-14 Tom Tromey <tromey@redhat.com>
2969
2970 * gdb.cp/vla-cxx.cc: New file.
2971 * gdb.cp/vla-cxx.exp: New file.
2972
548740d6
TT
29732014-07-14 Tom Tromey <tromey@redhat.com>
2974
2975 * gdb.reverse/rerun-prec.c: New file.
2976 * gdb.reverse/rerun-prec.exp: New file.
2977
a25eb028
MR
29782014-07-12 Maciej W. Rozycki <macro@mips.com>
2979 Maciej W. Rozycki <macro@codesourcery.com>
2980
2981 * lib/gdb-utils.exp: New file.
2982 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2983 inline `gdb_init_command' processing.
2984 (gdb_start_cmd): Likewise.
2985 * lib/mi-support.exp (mi_run_cmd): Likewise.
2986 * README: Document `gdb_init_command' and `gdb_init_commands'.
2987
218c2655
JK
29882014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2989
2990 Fix false FAIL running under a very long directory name.
2991 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2992 and "set print elements 10000". Twice.
2993
5401fde3
YQ
29942014-07-11 Yao Qi <yao@codesourcery.com>
2995
2996 * gdb.base/exprs.exp: "set print symbol off".
2997
e76126e8
PA
29982014-07-11 Pedro Alves <palves@redhat.com>
2999
3000 * gdb.threads/kill.c: New file.
3001 * gdb.threads/kill.exp: New file.
3002
2d6f0de6
YQ
30032014-07-10 Yao Qi <yao@codesourcery.com>
3004
3005 * gdb.trace/tfile.c (write_basic_trace_file)
3006 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3007 address written to trace file.
3008
7180e04a
PA
30092014-07-09 Pedro Alves <palves@redhat.com>
3010
3011 * gdb.base/attach-wait-input.exp: New file.
3012 * gdb.base/attach-wait-input.c: New file.
3013
9a9a7608
AB
30142014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3015
3016 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3017 setting up test structures.
3018 (main): Call new test function.
3019 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3020 test function, continue into test function and walk test
3021 structures.
3022
161ac41e
YQ
30232014-07-02 Yao Qi <yao@codesourcery.com>
3024
3025 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3026 'bar_start' at the beginning of functions 'foo' and 'bar'
3027 respectively.
3028 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3029 instead of 'foo' and 'bar'.
3030
1f267ae3
MM
30312014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3032
3033 * gdb.btrace/segv.exp: New.
3034 * gdb.btrace/segv.c: New.
3035
2b239efb
LM
30362014-07-02 Luis Machado <lgustavo@codesourcery.com>
3037
3038 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3039 instruction.
3040
cf363f18
MW
30412014-06-30 Mark Wielaard <mjw@redhat.com>
3042
3043 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3044 vulture, vilify, villar): New volatile array constants.
3045 (vindictive, vegetation): New const volatile array constants.
3046 * gdb.base/volatile.exp: Test volatile and const volatile array
3047 types.
3048
aebf9d24
AA
30492014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3050
3051 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3052 target lacks support for awatch, rwatch, or hbreak.
3053
b67a2c6f
YQ
30542014-06-27 Yao Qi <yao@codesourcery.com>
3055
3056 * gdb.multi/dummy-frame-restore.exp: New.
3057 * gdb.multi/dummy-frame-restore.c: New.
3058
aef92902
MM
30592014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3060
3061 * gdb.btrace/gcore.exp: New.
3062
8e9db26e
PA
30632014-06-23 Pedro Alves <palves@redhat.com>
3064
3065 * gdb.base/watchpoint-reuse-slot.c: New file.
3066 * gdb.base/watchpoint-reuse-slot.exp: New file.
3067
70afc5b7
SC
30682014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3069
3070 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3071 progspace's filename in 'info', 'enable' and 'disable' command
3072 tests.
3073
b972bd9c
JK
30742014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3075
3076 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3077 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3078 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3079
125f8a3d
GB
30802014-06-20 Gary Benson <gbenson@redhat.com>
3081
3082 * gdb.arch/i386-avx.exp: Fix include file location.
3083 * gdb.arch/i386-sse.exp: Likewise.
3084
3ed9baed
IB
30852014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3086
3087 * gdb.dlang/expression.exp: New file.
3088
034f788c
PA
30892014-06-19 Pedro Alves <palves@redhat.com>
3090
3091 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3092 out from ...
3093 (top level): ... here. Iterate running tests under different
3094 scheduler-locking settings.
3095
45371d0c
LM
30962014-06-18 Luis Machado <lgustavo@codesourcery.com>
3097
3098 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3099 to DW_FORM_addr and use non-zero addresses.
3100
5d376983
SC
31012014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3102
3103 PR gdb/17017
3104 * gdb.python/py-xmethods.cc: Add global function call counters and
3105 increment them in their respective functions. Remove "cout"
3106 statements.
3107 * gdb.python/py-xmethods.exp: Make tests check the global function
3108 call counters instead of depending on inferior IO.
3109
a1aa2221
LM
31102014-06-18 Don Breazeal <donb@codesourcery.com>
3111
3112 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3113 Deleted procedure.
3114 (explicit_fork_parent_follow): Deleted procedure.
3115 (explicit_fork_child_follow): Deleted procedure.
3116 (test_follow_fork): New procedure.
3117 (do_fork_tests): Replace calls to deleted procedures with
3118 calls to test_follow_fork and reset GDB for subsequent
3119 procedure calls.
3120
0fc05997
YQ
31212014-06-17 Yao Qi <yao@codesourcery.com>
3122
3123 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3124 CP1252.
3125
70795c52
LM
31262014-06-17 Luis Machado <lgustavo@codesourcery.com>
3127
3128 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3129 Initialize ptr and S explicitly.
3130 (skip_type_update_when_not_use_rtti_test): Likewise.
3131
6be47f0c
KS
31322014-06-16 Keith Seitz <keiths@redhat.com>
3133
3134 PR mi/15863
3135 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3136 the inferior is started.
3137
d03de421
PA
31382014-06-16 Pedro Alves <palves@redhat.com>
3139
3140 * gdb.base/break-main-file-remove-fail.c: New file.
3141 * gdb.base/break-main-file-remove-fail.exp: New file.
3142 * gdb.base/break-unload-file.exp: Use build_executable instead of
3143 prepare_for_testing.
3144 (test_break): New parameter "initial_load". Handle it.
3145 (top level): Add initial_load cmdline/file axis.
3146
f9579b99
TT
31472014-06-12 Tom Tromey <tromey@redhat.com>
3148
3149 * gdb.base/completion.exp: Don't use directory name in test.
3150
3657956b
GB
31512014-06-09 Gary Benson <gbenson@redhat.com>
3152
3153 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3154 separate the always-available ANSI-standard signals from the
3155 signals that require checking.
3156 (main): Likewise.
3157 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3158 Likewise.
3159 (main): Likewise.
3160
4186eb54
KS
31612014-06-07 Keith Seitz <keiths@redhat.com>
3162
3163 Revert:
3164 PR c++/16253
3165 * gdb.cp/var-tag.cc: New file.
3166 * gdb.cp/var-tag.exp: New file.
3167 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3168 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3169 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3170 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3171
25326a28 31722014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3173
3174 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3175
829155c9
PA
31762014-06-06 Pedro Alves <palves@redhat.com>
3177
3178 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3179 in target debug output instead of looking at RSP packets,
3180 disabling the test on any target that uses hardware stepping.
3181 Update comments.
3182
61c8d22e
PA
31832014-06-06 Pedro Alves <palves@redhat.com>
3184
3185 * gdb.base/break-unload-file.exp: Fix typo.
3186
d9a47287
YQ
31872014-06-06 Yao Qi <yao@codesourcery.com>
3188
3189 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3190 from "jit_function" to "^jit_function".
3191
e5e01dbf
YQ
31922014-06-06 Yao Qi <yao@codesourcery.com>
3193
3194 * gdb.base/async.c (foo): Add one statement.
3195 * gdb.base/async.exp: Get the next instruction address and
3196 match the output of "nexti" by instruction address. Match
3197 the hex address in the output of "finish".
3198
73ba372c
GB
31992014-06-06 Gary Benson <gbenson@redhat.com>
3200
3201 * gdb.base/call-signals.c: Remove preprocessor conditionals
3202 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3203 SIGSEGV and SIGTERM.
3204 * gdb.base/sigall.c: Likewise.
3205 * gdb.base/unwindonsignal.c: Likewise.
3206 * gdb.reverse/sigall-reverse.c: Likewise.
3207
831517df
YQ
32082014-06-06 Yao Qi <yao@codesourcery.com>
3209
3210 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3211 readable, skip the test.
3212
b8b91e98
YQ
32132014-06-06 Yao Qi <yao@codesourcery.com>
3214
3215 * gdb.threads/staticthreads.c (thread_function): Move the line
3216 setting breakpoint on forward.
3217 * gdb.threads/staticthreads.exp: Update comments.
3218
fb934770
LC
32192014-06-05 Ludovic Courtès <ludo@gnu.org>
3220
3221 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3222 "history-append! type error".
3223
6ef284bd
SM
32242014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3225
3226 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3227 erroneous dprintf expected input.
3228
a872e241
DE
32292014-06-04 Doug Evans <xdje42@gmail.com>
3230
3231 * gdb.guile/scm-generics.exp: Delete.
3232
16f691fb
DE
32332014-06-04 Doug Evans <xdje42@gmail.com>
3234
3235 * gdb.guile/scm-breakpoint.exp: Update.
3236 Add tests for breakpoint registration.
3237
012370f6
TT
32382014-06-04 Tom Tromey <tromey@redhat.com>
3239
3240 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3241 VLA-in-union.
3242 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3243 inner_vla_struct, vla_union types. Initialize objects of those
3244 types and compute their sizes.
3245
9f5a4cef
HZ
32462014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3247 Hui Zhu <hui@codesourcery.com>
3248
3249 * gdb.base/fileio.exp: Add test for shell not available as well as
3250 available.
3251 * gdb.base/fileio.c (test_system): Check for shell twice.
3252
90a45c4d
YQ
32532014-06-04 Yao Qi <yao@codesourcery.com>
3254
3255 * gdb.base/auto-connect-native-target.exp: Remove redundant
3256 space from the regexp pattern.
3257
70017e41
YQ
32582014-06-04 Yao Qi <yao@codesourcery.com>
3259
3260 * gdb.base/default.exp: Replace "child" with "native" in
3261 regexp pattern.
3262
883964a7
SC
32632014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3264
3265 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3266 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3267 * gdb.python/py-xmethods.py: Python script supporting the
3268 new testcase and tests.
3269
ef370185
JB
32702014-06-03 Joel Brobecker <brobecker@adacore.com>
3271 Pedro Alves <palves@redhat.com>
3272
3273 PR breakpoints/17000
3274 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3275 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3276
1e2ccb61
BM
32772014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3278
3279 * gdb.base/subst.exp: Add tests to verify partial path matching
3280 output.
3281
c6ec5ab2
PA
32822014-06-03 Pedro Alves <palves@redhat.com>
3283
3284 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3285 target that doesn't use software single-stepping.
3286
835c559f
PA
32872014-06-03 Pedro Alves <palves@redhat.com>
3288
3289 PR breakpoints/17000
3290 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3291 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3292
06eb1586
DE
32932014-06-02 Doug Evans <xdje42@gmail.com>
3294
3295 * gdb.guile/scm-parameter.exp: New file.
3296
e698b8c4
DE
32972014-06-02 Doug Evans <xdje42@gmail.com>
3298
3299 * gdb.guile/scm-cmd.c: New file.
3300 * gdb.guile/scm-cmd.exp: New file.
3301
ded03782
DE
33022014-06-02 Doug Evans <xdje42@gmail.com>
3303
3304 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3305 pretty-printer lookup.
3306 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3307 (make-pp_s-printer): Call it.
3308 (make-pretty-printer-from-dict): New function.
3309 (lookup-pretty-printer-maker-from-dict): New function.
3310 (*pretty-printer*): Simplify.
3311 (make-objfile-pp_s-printer): New function.
3312 (install-objfile-pretty-printers!): New function.
3313 (make-progspace-pp_s-printer): New function.
3314 (install-progspace-pretty-printers!): New function.
3315 * gdb.guile/scm-progspace.c: New file.
3316 * gdb.guile/scm-progspace.exp: New file.
3317
41fac0cf
PA
33182014-06-02 Pedro Alves <palves@redhat.com>
3319
3320 * gdb.base/dprintf-bp-same-addr.c: New file.
3321 * gdb.base/dprintf-bp-same-addr.exp: New file.
3322
96ae5695
EBM
33232014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3324
3325 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3326 * gdb.arch/powerpc-power.s: Likewise.
3327
da02b3a8
JB
33282014-06-02 Joel Brobecker <brobecker@adacore.com>
3329
3330 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3331
c72b2e7b
YQ
33322014-06-01 Yao Qi <yao@codesourcery.com>
3333
3334 * gdb.base/watchpoint.exp (test_watch_location): Check null
3335 pointer can be dereferenced. If not, do the test, otherwise
3336 skip it.
3337
53e8a631
AB
33382014-05-30 Andrew Burgess <aburgess@broadcom.com>
3339
3340 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3341 results.
3342 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3343
938f0e2f
AB
33442014-05-30 Andrew Burgess <aburgess@broadcom.com>
3345
3346 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3347 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3348 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3349 * gdb.arch/amd64-invalid-stack-top.c: New file.
3350 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3351
9ba6657a
PA
33522014-05-30 Pedro Alves <palves@redhat.com>
3353
3354 PR breakpoints/17000
3355 * gdb.base/sss-bp-on-user-bp.c: New file.
3356 * gdb.base/sss-bp-on-user-bp.exp: New file.
3357
522c09bf
DB
33582014-05-30 David Blaikie <dblaikie@gmail.com>
3359
3360 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3361 gnu_inline semantics via attribute.
3362 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3363 source explicitly specifies the required semantics.
3364
bf4ef81e
MR
33652014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3366
3367 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3368
329ea579
PA
33692014-05-29 Pedro Alves <palves@redhat.com>
3370 Tom Tromey <tromey@redhat.com>
3371
3372 * gdb.base/async-shell.exp: Don't enable target-async.
3373 * gdb.base/async.exp
3374 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3375 parameter. Adjust.
3376 (top level): Don't test with "target-async".
3377 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3378 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3379 * gdb.base/inferior-died.exp: Don't enable target-async.
3380 * gdb.base/interrupt-noterm.exp: Likewise.
3381 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3382 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3383 * gdb.mi/mi-nonstop.exp: Likewise.
3384 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3385 * gdb.mi/mi-nsintrall.exp: Likewise.
3386 * gdb.mi/mi-nsmoribund.exp: Likewise.
3387 * gdb.mi/mi-nsthrexec.exp: Likewise.
3388 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3389 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3390 * gdb.python/py-evsignal.exp: Don't enable target-async.
3391 * gdb.python/py-evthreads.exp: Likewise.
3392 * gdb.python/py-prompt.exp: Likewise.
3393 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3394 * gdb.server/solib-list.exp: Don't enable target-async.
3395 * gdb.threads/thread-specific-bp.exp: Likewise.
3396 * lib/mi-support.exp: Adjust to use mi-async.
3397
fd664c91
PA
33982014-05-29 Pedro Alves <palves@redhat.com>
3399
3400 PR gdb/13860
3401 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3402 reason, even in sync mode.
3403
251bde03
PA
34042014-05-29 Pedro Alves <palves@redhat.com>
3405 Hui Zhu <hui@codesourcery.com>
3406
3407 PR PR15693
3408 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3409 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3410 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3411 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3412
7f3c0343
JB
34132014-05-28 Joel Brobecker <brobecker@adacore.com>
3414
3415 * config/monitor.exp (gdb_target_monitor): Replace use of
3416 "set remotebaud" by "set serial baud".
3417
b2715b27
AW
34182014-05-26 Andy Wingo <wingo@igalia.com>
3419
3420 * gdb.guile/scm-breakpoint.exp:
3421 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3422 properties instead of gdb-object-properties.
3423
498a4489
YQ
34242014-05-26 Yao Qi <yao@codesourcery.com>
3425
3426 * gdb.server/no-thread-db.exp: Specify source file name
3427 explicitly when setting a breakpoint.
3428
589fdceb
MM
34292014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3430
3431 * gdb.btrace/vdso.c: New.
3432 * gdb.btrace/vdso.exp: New.
3433
e9089e05
MM
34342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3435
3436 * gdb.base/gcore.exp (capture_command_output): Move ...
3437 * lib/gdb.exp (capture_command_output): ... here.
3438
67b5c0c1
MM
34392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3440
3441 * gdb.btrace/data.exp: Test memory access during btrace replay.
3442
a2199296
SM
34432014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3444
3445 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3446
17b2616c
PA
34472014-05-21 Pedro Alves <palves@redhat.com>
3448
3449 PR gdb/13860
3450 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3451 (top level): Test that output related to execution commands is
3452 sent to the console with CLI commands, but not with MI commands.
3453 Test that breakpoint events are always mirrored to the console.
3454 Also expect the new source line to be output after a "next" in
3455 async mode too. Make it a pass/fail test.
3456 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3457 output.
3458 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3459
5166082f
PA
34602014-05-21 Pedro Alves <palves@redhat.com>
3461
3462 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3463 Use them to test variations of "list" after reaching a breakpoint.
3464 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3465 Test "list" with listsize 10 after reaching a breakpoint.
3466 * gdb.python/python.exp (decode_line current location line
3467 number): Adjust expected line number.
3468
2f25d70f
SM
34692014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3470
3471 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3472 behavior for $args, pass it directly to "run".
3473
ff604a67
MR
34742014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3475
3476 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3477 30000 to 65536.
3478
6a3cb8e8
PA
34792014-05-21 Pedro Alves <palves@redhat.com>
3480
3481 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3482 auto-connect-native-target off".
3483 * gdb.base/auto-connect-native-target.c: New file.
3484 * gdb.base/auto-connect-native-target.exp: New file.
3485
4ebfc96e
PA
34862014-05-21 Pedro Alves <palves@redhat.com>
3487
3488 * gdb.base/default.exp: Test "target native" instead of "target
3489 child".
3490
36d46afb
MW
34912014-05-21 Mark Wielaard <mjw@redhat.com>
3492
3493 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3494
5876f503
JK
34952014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3496
3497 Fix TLS access for -static -pthread.
3498 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3499 <HAVE_TLS> (thread_function, main): Initialize it.
3500 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3501 Add clean_restart.
3502 <$have_tls != "">: Check TLSVAR.
3503
0256a6ac
PA
35042014-05-21 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/dcache-line-read-error.c: New.
3507 * gdb.base/dcache-line-read-error.exp: New.
3508
936d2992
PA
35092014-05-20 Pedro Alves <palves@redhat.com>
3510
3511 * gdb.base/compare-sections.c: New file.
3512 * gdb.base/compare-sections.exp: New file.
3513
802e8e6d
PA
35142014-05-20 Pedro Alves <palves@redhat.com>
3515
3516 * gdb.base/break-idempotent.c: New file.
3517 * gdb.base/break-idempotent.exp: New file.
3518
e59fa00f
MM
35192014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3520
3521 * gdb.btrace/nohist.exp: New.
3522
8b696e31
YQ
35232014-05-20 Yao Qi <yao@codesourcery.com>
3524
3525 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3526 gdb.reverse directory and gdb_reverse_timeout exists in board
3527 setting.
3528 * README: Document gdb_reverse_timeout.
3529
73c9764f
YQ
35302014-05-20 Yao Qi <yao@codesourcery.com>
3531
3532 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3533 'test_file_name'. Treat args as a string instead of a list.
3534 (gdb_init): Rename argument 'args' by 'test_file_name'.
3535
f1f4348a
JK
35362014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3537
3538 * gdb.arch/powerpc-power.exp: New file.
3539 * gdb.arch/powerpc-power.s: New file.
3540
0dbe70ce
DE
35412014-05-16 Doug Evans <dje@google.com>
3542
3543 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3544 * gdb.base/completion.exp: Check that all expected files exist
3545 before doing file completion.
0dbe70ce 3546
8d551b02
DE
35472014-05-16 Doug Evans <dje@google.com>
3548
3549 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3550 Update.
3551 (do_syscall_tests_without_xml): Update.
3552
73eb7709
PA
35532014-05-16 Pedro Alves <palves@redhat.com>
3554
3555 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3556 instead of "unknown output after running".
3557
3fae92fc
YQ
35582014-05-16 Yao Qi <yao@codesourcery.com>
3559
3560 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3561 file1.txt from host at the end.
3562 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3563
c2b2ccc5
DE
35642014-05-15 Doug Evans <dje@google.com>
3565
3566 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3567 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3568 loading file. Add test for TU lookup.
3569
8c217a4b
SM
35702014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3571
3572 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3573 calling "-exec-arguments" or "set args" before running the
3574 inferior.
3575
3deb39c6
SM
35762014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3577
3578 * lib/mi-support.exp (mi_expect_stop): Expect message for
3579 inferiors that exit with non-zero exit code.
3580
71a79f8c
YQ
35812014-05-14 Yao Qi <yao@codesourcery.com>
3582
3583 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3584 match absolute path on remote host.
3585 (test_file_list_exec_source_files): Remove "/" from the
3586 pattern.
3587
f23fcd46
YQ
35882014-05-14 Yao Qi <yao@codesourcery.com>
3589
3590 * boards/local-remote-host-notty.exp (${board}_file): New
3591 proc.
3592
9404b58f
KM
35932014-05-07 Kyle McMartin <kyle@redhat.com>
3594
3595 Pushed by Joel Brobecker <brobecker@adacore.com>.
3596 * gdb.arch/aarch64-atomic-inst.c: New file.
3597 * gdb.arch/aarch64-atomic-inst.exp: New file.
3598
5e45f04c
YQ
35992014-05-07 Yao Qi <yao@codesourcery.com>
3600
3601 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3602 in current context" too.
3603
c888a17d
KS
36042014-05-05 Keith Seitz <keiths@redhat.com>
3605
3606 * gdb.linespec/ls-dollar.exp: Add test for linespec
3607 file:convenience_variable.
3608
290a839c
YQ
36092014-05-05 Yao Qi <yao@codesourcery.com>
3610
3611 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3612 traceframes into tfile and ctf trace files. Read data from
3613 trace file and test collected data.
3614 (gdb_collect_locals_test): Likewise.
3615 (gdb_unavailable_registers_test): Likewise.
3616 (gdb_unavailable_floats): Likewise.
3617 (gdb_collect_globals_test): Likewise.
3618 (top-level): Append "ctf" to trace_file_targets if GDB
3619 supports.
3620
b5262cd0
YQ
36212014-05-05 Yao Qi <yao@codesourcery.com>
3622
3623 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3624 code to ...
3625 (gdb_collect_args_test_1): ... it. New proc.
3626 (gdb_collect_locals_test): Move some code to ...
3627 (gdb_collect_locals_test_1): ... it. New proc.
3628 (gdb_unavailable_registers_test): Move some code to ...
3629 (gdb_unavailable_registers_test_1): ... it. New proc.
3630 (gdb_unavailable_floats): Move some code to ...
3631 (gdb_unavailable_floats_1): ... it. New proc.
3632
30a1e6cc
SDJ
36332014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3634
3635 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3636 probes to test for bitness recognition.
3637 * gdb.arch/amd64-stap-optional-prefix.exp
3638 (test_probe_value_without_reg): New procedure.
3639 Add code to test for different kinds of bitness.
3640
f33da99a
SDJ
36412014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3642
3643 PR breakpoints/16889
3644 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3645 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3646
5b80f00d
PA
36472014-05-01 Pedro Alves <palves@redhat.com>
3648
3649 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3650 gdb_file_cmd if no file is specified.
3651 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3652 last_loaded_file to set the remote exec-file.
3653
f8c2a73c
PA
36542014-05-01 Pedro Alves <palves@redhat.com>
3655
3656 * boards/local-remote-host.exp: New file.
3657
be6e8ac7
PA
36582014-05-01 Pedro Alves <palves@redhat.com>
3659
3660 * boards/local-remote-host.exp: Rename to ...
3661 * boards/local-remote-host-notty.exp: ... this.
3662
cac0dc8f
JB
36632014-04-28 Joel Brobecker <brobecker@adacore.com>
3664
3665 * gdb.ada/dyn_arrayidx: New testcase.
3666
9730e6cc
YQ
36672014-04-26 Yao Qi <yao@codesourcery.com>
3668
3669 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3670 and compute the length of function main. Save it in
3671 $main_length.
3672 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3673 (top-level): Use gdb_compile to compile objects into
3674 executable and restart GDB. Remove invocation to
3675 prepare_for_testing.
3676
7ae1a6a6
PA
36772014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3678 Pedro Alves <palves@redhat.com>
3679
3680 PR server/16255
3681 * gdb.multi/multi-attach.c: New file.
3682 * gdb.multi/multi-attach.exp: New file.
3683
4082afcc
PA
36842014-04-25 Pedro Alves <palves@redhat.com>
3685
3686 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3687 user.
3688 (top level): Test that "set remote conditional-breakpoints-packet
3689 off" works as intended.
3690 * gdb.base/dprintf.exp: Test that "set remote
3691 breakpoint-commands-packet off" works as intended.
3692 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3693 New function.
3694 (top level): Call it.
3695 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3696 remote fast-tracepoints-packet off" works as intended.
3697 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3698 * lib/gdb.exp (gdb_is_target_remote): ... here.
3699
2abc3f8d
DB
37002014-04-24 David Blaikie <dblaikie@gmail.com>
3701
3702 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3703 ensure clang would not discard them.
3704 * gdb.base/gdbvars.c: Ditto.
3705 * gdb.base/memattr.c: Ditto.
3706 * gdb.base/whatis.c: Ditto.
3707 * gdb.python/py-prettyprint.c: Ditto.
3708 * gdb.trace/actions.c: Ditto.
3709 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3710 ensure clang would not discard it.
3711
bfd39632
DB
37122014-04-24 David Blaikie <dblaikie@gmail.com>
3713
3714 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3715 clang to emit the full definition of type required by the test
3716 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3717
22842ff6
DB
37182014-04-24 David Blaikie <dblaikie@gmail.com>
3719
3720 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3721 coax Clang into emitting the definition of the type.
3722 * gdb.cp/pr10728-x.h (y): Ditto.
3723 * gdb.cp/pr10728-y.cc (y): Ditto.
3724
c2e827ad
DB
37252014-04-24 David Blaikie <dblaikie@gmail.com>
3726
3727 * gdb.base/label.exp: XFAIL label related tests under Clang.
3728 * gdb.cp/cplabel.exp: Ditto.
3729 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3730 under Clang those using labels.
3731
4c2d33e7
YQ
37322014-04-25 Yao Qi <yao@codesourcery.com>
3733
3734 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3735 double_label.
3736 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3737 partial_label and double_label.
3738
56083b99
DB
37392014-04-24 David Blaikie <dblaikie@gmail.com>
3740
3741 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3742
25d4e99d
DB
37432014-04-24 David Blaikie <dblaikie@gmail.com>
3744
3745 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3746 of the function to work across GCC and Clang.
3747 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3748 pointer types (const void ** const V void **).
3749
01f9f808
MS
37502014-04-24 Michael Sturm <michael.sturm@mintel.com>
3751 Walfred Tedeschi <walfred.tedeschi@intel.com>
3752
3753 * Makefile.in (EXECUTABLES): Added i386-avx512.
3754 * gdb.arch/i386-avx512.c: New file.
3755 * gdb.arch/i386-avx512.exp: Likewise.
3756
4b48d439
KS
37572014-04-23 Keith Seitz <keiths@redhat.com>
3758
3759 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3760 (mi_make_breakpoint_table): New procedure.
3761 (mi_create_breakpoint): Use mi_make_breakpoint
3762 and return the result.
3763 (mi_make_breakpoint): New procedure.
3764 (mi_build_kv_pairs): New procedure.
3765
3766 * gdb.mi/mi-break.exp: Remove unused globals,
3767 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3768 All callers updated.
3769 * gdb.mi/mi-dprintf.exp: Use variable to track command
3770 number.
3771 Update all callers of mi_create_breakpoint and use
3772 mi_make_breakpoint_table.
3773 Remove any unused global variables.
3774 * gdb.mi/mi-nonstop.exp: Likewise.
3775 * gdb.mi/mi-nsintrall.exp: Likewise.
3776 * gdb.mi/mi-nsmoribund.exp: Likewise.
3777 * gdb.mi/mi-nsthrexec.exp: Likewise.
3778 * gdb.mi/mi-reverse.exp: Likewise.
3779 * gdb.mi/mi-simplerun.exp: Likewise.
3780 * gdb.mi/mi-stepn.exp: Likewise.
3781 * gdb.mi/mi-syn-frame.exp: Likewise.
3782 * gdb.mi/mi-until.exp: Likewise.
3783 * gdb.mi/mi-var-cp.exp: Likewise.
3784 * gdb.mi/mi-var-display.exp: Likewise.
3785 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3786 * gdb.mi/mi2-var-child.exp: Likewise.
3787 * gdb.mi/mi-vla-c99.exp: Likewise.
3788 * lib/mi-support.exp: Likewise.
3789
3790 From Ian Lance Taylor <iant@cygnus.com>:
3791 * lib/gdb.exp (parse_args): New procedure.
3792
08351840
PA
37932014-04-23 Pedro Alves <palves@redhat.com>
3794
3795 * gdb.base/break-unload-file.c: New file.
3796 * gdb.base/break-unload-file.exp: New file.
3797 * gdb.base/sym-file-lib.c (baz): New function.
3798 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3799 field.
3800 (load): Store the segment's mapped size.
3801 (unload): New function.
3802 (unload_shlib): New function.
3803 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3804 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3805 set a breakpoint at baz, and call it.
3806 * gdb.base/sym-file.exp: New tests for stale breakpoint
3807 instructions.
3808
076855f9
PA
38092014-04-23 Pedro Alves <palves@redhat.com>
3810
3811 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3812 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3813 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3814 * gdb.base/hbreak-unmapped.c: New file.
3815 * gdb.base/hbreak-unmapped.exp: New file.
3816 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3817 * lib/gdb.exp (gdb_is_target_remote): ... here.
3818
483805cf
PA
38192014-04-22 Pedro Alves <palves@redhat.com>
3820
3821 * gdb.base/consecutive-step-over.c: New file.
3822 * gdb.base/consecutive-step-over.exp: New file.
3823
06d97543
PA
38242014-04-22 Pedro Alves <palves@redhat.com>
3825
3826 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3827 instead of send_gdb/gdb_expect.
3828
b4429ea2
YQ
38292014-04-22 Yao Qi <yao@codesourcery.com>
3830
3831 * lib/trace-support.exp (generate_tracefile): New procedure.
3832 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3833 return 0.
3834 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3835 if generate_tracefile returns 1.
3836
51d48146
PA
38372014-04-18 Tom Tromey <palves@redhat.com>
3838 Pedro alves <tromey@redhat.com>
3839
3840 PR backtrace/15558
3841 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3842 with a backtrace limit.
3843 * gdb.python/py-frame-inline.exp: Test running to an inline
3844 function with a backtrace limit, and printing the newest frame.
3845 * gdb.python/py-frame-inline.c (main): Call f.
3846
bd1dce5f
MS
38472014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3848
3849 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3850
40d1a503
MS
38512014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3852
3853 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3854 Drop prefix from unsupported source file path.
3855
389b98f7
YQ
38562014-04-17 Yao Qi <yao@codesourcery.com>
3857
3858 * lib/gdb.exp (with_target_charset): New proc.
3859 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3860 with_target_charset.
3861 (test_print_strings): Likewise.
3862 (test_repeat_bytes): Likewise.
3863 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3864 for some tests.
3865
22869d73
KS
38662014-04-16 Keith Seitz <keiths@redhat.com>
3867
3868 PR gdb/15827
3869 * gdb.dwarf2/corrupt.c: New file.
3870 * gdb.dwarf2/corrupt.exp: New file.
3871
c4f87ca6
KS
38722014-04-16 Keith Seitz <keiths@redhat.com>
3873
3874 PR c++/16597
3875 * gdb.cp/namelessclass.cc: New file.
3876 * gdb.cp/namelessclass.exp: New file.
3877 * gdb.cp/namelessclass.S: New file.
3878
ab19de87
DE
38792014-04-16 Doug Evans <dje@google.com>
3880
3881 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3882 Add comment.
3883 (gdbserver_default_get_comm_port): New function.
3884 (gdbserver_start): Check if board file provided
3885 "gdbserver,get_comm_port" and use it if so.
3886 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3887 (gdb,socketport): Set to "stdio".
3888 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3889 (stdio_gdbserver_template): Delete.
3890 (${board}_get_remote_address): Update.
3891 (${board}_build_remote_cmd): Delete.
3892 (${board}_get_comm_port): New function.
3893 (${board}_spawn): Update.
3894 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3895 Delete.
3896 (${board}_get_remote_address): Update.
3897 (${board}_get_comm_port): New function.
3898
fc98a809
AB
38992014-04-16 Andrew Burgess <aburgess@broadcom.com>
3900
3901 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3902 appearing in any order.
3903
87fd9e6e
DE
39042014-04-15 Doug Evans <dje@google.com>
3905
3906 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3907 uninitialized value of "description".
3908
099fc3ea
KS
39092014-04-15 Keith Seitz <keiths@redhat.com>
3910
3911 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3912 Remove unused globals.
3913 (test_running_the_program): Likewise.
3914 (test_controlled_execution): Likewise.
3915 (test_controlling_breakpoints): Likewise.
3916 (test_program_termination): Likewise.
3917
5da151d4
KS
39182014-04-15 Keith Seitz <keiths@redhat.com>
3919
3920 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3921 unused globals.
3922 (test_rbreak_creation_and_listing): Likewise.
3923 (test_ignore_count): Likewise.
3924 (test_error): Likewise.
3925
35e5d2f0
PA
39262014-04-15 Pedro Alves <palves@redhat.com>
3927
3928 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3929 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3930 sym-file-loader.c.
3931 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3932 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3933 to sym-file-loader.c.
3934 (struct library): Forward declare.
3935 (load_shlib, lookup_function): Change prototypes.
3936 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3937 (translate_offset): Remove declarations.
3938 (get_text_addr): New declaration.
3939 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3940 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3941 sym-file-loader.h.
3942 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3943 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3944 here from sym-file-loader.h.
3945 (struct library): New structure.
3946 (load_shlib, lookup_function): Change prototypes and adjust to
3947 work with a struct library.
3948 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3949 (translate_offset): Make static.
3950 (get_text_addr): New function.
3951 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3952
eb4c1710
PA
39532014-04-15 Pedro Alves <palves@redhat.com>
3954
3955 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3956
2d1baf52
PA
39572014-04-15 Pedro Alves <palves@redhat.com>
3958
3959 * gdb.base/sym-file-loader.c: Include <limits.h>.
3960 (SELF_LINK): New define.
3961 (get_origin): New function.
3962 (load_shlib): Use it.
3963 * gdb.base/sym-file.exp: Don't early return if the target is
3964 remote. Use runto_main, and issue fail is that fails. Use
3965 gdb_load_shlibs.
3966 (shlib_name): Delete.
3967 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3968
7dd6df01
PA
39692014-04-15 Pedro Alves <palves@redhat.com>
3970
3971 * gdb.base/sym-file.exp: Remove regex characters from test
3972 message. Don't refer to breakpoint numbers in test messages.
3973
b50c8614
KS
39742014-04-14 Keith Seitz <keiths@redhat.com>
3975
3976 PR c++/16253
3977 * gdb.cp/var-tag.cc: New file.
3978 * gdb.cp/var-tag.exp: New file.
3979 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3980 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3981 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3982 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3983
3d567982
TT
39842014-04-14 Tom Tromey <tromey@redhat.com>
3985
3986 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3987 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3988 type.
3989 * gdb.cp/enum-class.exp: New file.
3990 * gdb.cp/enum-class.cc: New file.
3991
0626fc76
TT
39922014-04-14 Tom Tromey <tromey@redhat.com>
3993
3994 * gdb.dwarf2/enum-type.exp: New file.
3995
dca325b3
SA
39962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3997
3998 * gdb.mi/mi-vla-c99.exp: New file.
3999 * gdb.mi/vla.c: New file.
4000
5854b38a
SA
40012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4002
4003 * gdb.base/vla-datatypes.c: New file.
4004 * gdb.base/vla-datatypes.exp: New file.
4005
463bb957
SA
40062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4007
4008 * gdb.base/vla-ptr.c: New file.
4009 * gdb.base/vla-ptr.exp: New file.
4010
3dd170be
SA
40112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4012
4013 * gdb.dwarf2/count.exp: New file.
4014
5ecaaa66
SA
40152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4016
4017 * gdb.base/vla-sideeffect.c: New file.
4018 * gdb.base/vla-sideeffect.exp: New file.
4019
41f1ada5
DB
40202014-04-14 David Blaikie <dblaikie@gmail.com>
4021
4022 * gdb.mi/non-stop.c: Add return value for non-void function return
4023 statement.
4024 * gdb.threads/staticthreads.c: Ditto.
4025
0be03e84
DE
40262014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4027 Doug Evans <xdje42@gmail.com>
4028
4029 * gdb.guile/scm-value.c: Improve test case.
4030 * gdb.guile/scm-value.exp: Add new test.
4031
f180a1fb
DB
40322014-04-11 David Blaikie <dblaikie@gmail.com>
4033
4034 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4035 override Clang's default.
4036
6b662e19
JB
40372014-04-11 Joel Brobecker <brobecker@adacore.com>
4038
4039 Revert the following changes (regressions):
4040
4041 * gdb.base/vla-sideeffect.c: New file.
4042 * gdb.base/vla-sideeffect.exp: New file.
4043
4044 * gdb.dwarf2/count.exp: New file.
4045
4046 * gdb.base/vla-multi.c: New file.
4047 * gdb.base/vla-multi.exp: New file.
4048
4049 * gdb.base/vla-ptr.c: New file.
4050 * gdb.base/vla-ptr.exp: New file.
4051
4052 * gdb.base/vla-datatypes.c: New file.
4053 * gdb.base/vla-datatypes.exp: New file.
4054
4055 * gdb.mi/mi-vla-c99.exp: New file.
4056 * gdb.mi/vla.c: New file.
4057
245a5f0b
KS
40582014-04-11 Keith Seitz <keiths@redhat.com>
4059
4060 PR c++/16675
4061 * gdb.cp/cpsizeof.exp: New file.
4062 * gdb.cp/cpsizeof.cc: New file.
4063
58a84dcf
SA
40642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4065
191a8a90
JB
4066 * gdb.mi/mi-vla-c99.exp: New file.
4067 * gdb.mi/vla.c: New file.
58a84dcf 4068
c8655f75
SA
40692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4070
4071 * gdb.base/vla-datatypes.c: New file.
4072 * gdb.base/vla-datatypes.exp: New file.
4073
024e13b4
SA
40742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4075
4076 * gdb.base/vla-ptr.c: New file.
4077 * gdb.base/vla-ptr.exp: New file.
4078
1a237e0e
SA
40792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4080
4081 * gdb.base/vla-multi.c: New file.
4082 * gdb.base/vla-multi.exp: New file.
4083
504f3432
SA
40842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4085
4086 * gdb.dwarf2/count.exp: New file.
4087
3bce8237
SA
40882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4089
191a8a90
JB
4090 * gdb.base/vla-sideeffect.c: New file.
4091 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4092
322f9c21
YQ
40932014-04-11 Yao Qi <yao@codesourcery.com>
4094
4095 * gdb.base/completion.exp: Check file exists before running tests
4096 on file completion.
4097
d708bcd1
PA
40982014-04-10 Pedro Alves <palves@redhat.com>
4099
4100 * gdb.base/cond-eval-mode.c: New file.
4101 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4102 prepare_for_testing to build the new file. Check result of
4103 runto_main.
4104 (test_break, test_watch): New procedures.
4105 (top level): Use them.
4106
ae1d2761
PM
41072014-04-08 Pierre Muller <muller@sourceware.org>
4108
4109 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4110 Ctrl-V use for mingw hosts.
4111
7af389b8
SC
41122014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4113
4114 * gdb.python/py-value.c: Improve test case.
4115 * gdb.python/py-value.exp: Add new test.
4116
5e703181
DE
41172014-04-07 David Blaikie <dblaikie@gmail.com>
4118
4119 * lib/compiler.c: Identify the clang compiler.
4120 * lib/compiler.cc: Ditto.
4121
9810b410
YQ
41222014-04-03 Yao Qi <yao@codesourcery.com>
4123
4124 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4125
98d1b8dc
AB
41262014-04-01 Anton Blanchard <anton@samba.org>
4127
4128 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4129 messages unique.
4130
3114cea1
AB
41312014-04-01 Anton Blanchard <anton@samba.org>
4132
4133 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4134 prepare_for_testing.
4135
62f7182c
AB
41362014-04-01 Anton Blanchard <anton@samba.org>
4137
4138 * gdb.arch/ppc64-atomic-inst.c: Remove.
4139 * gdb.arch/ppc64-atomic-inst.S: New file.
4140 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4141
770e7fc7
DE
41422014-03-31 Doug Evans <dje@google.com>
4143
4144 * gdb.base/print-symbol-loading-lib.c: New file.
4145 * gdb.base/print-symbol-loading-main.c: New file.
4146 * gdb.base/print-symbol-loading.exp: New file.
4147
46e2bafa
YQ
41482014-03-31 Yao Qi <yao@codesourcery.com>
4149
4150 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4151
8776cfe9
JB
41522014-03-28 Joel Brobecker <brobecker@adacore.com>
4153
4154 * gdb.ada/mi_dyn_arr: New testcase.
4155
5d1ef361
DE
41562014-03-27 Doug Evans <dje@google.com>
4157
4158 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4159
b5bee914
YQ
41602014-03-27 Yao Qi <yao@codesourcery.com>
4161
4162 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4163 if target is nios2-*-*.
4164
0d4d0e77
YQ
41652014-03-26 Yao Qi <yao@codesourcery.com>
4166
4167 * lib/gdb.exp (readline_is_used): New proc.
4168 * gdb.base/completion.exp: Move tests on command complete up.
4169 Skip the rest of tests if readline is not used.
4170 * gdb.ada/complete.exp: Skp the test if readline is not
4171 used.
4172 * gdb.base/filesym.exp: Likewise.
4173 * gdb.base/macscp.exp: Likewise.
4174 * gdb.base/readline-ask.exp: Likewise.
4175 * gdb.base/readline.exp: Likewise.
4176 * gdb.python/py-cmd.exp: Likewise.
4177 * gdb.trace/tfile.exp: Likewise.
4178
29361eee
YQ
41792014-03-26 Yao Qi <yao@codesourcery.com>
4180
4181 * gdb.base/macscp.exp: Fix code format issues.
4182
bc9a5525
UW
41832014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4184
4185 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4186 * gdb.asm/powerpc64le.inc: New file.
4187
d3839ede
PA
41882014-03-25 Pedro Alves <palves@redhat.com>
4189 Doug Evans <dje@google.com>
4190
4191 * gdb.base/source-execution.c: New file.
4192 * gdb.base/source-execution.exp: New file.
4193 * gdb.base/source-execution.gdb: New file.
4194
01672a57
DE
41952014-03-24 Doug Evans <dje@google.com>
4196
4197 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4198 using fission.
4199
88bbeca9
HZ
42002014-03-24 Hui Zhu <hui@codesourcery.com>
4201 Pedro Alves <palves@redhat.com>
4202
4203 PR breakpoints/16101
4204 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4205 test pass/fail messages. Detect missing support for dprintf when
4206 breakpoints are actually inserted.
4207 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4208 breakpoints are actually inserted.
4209 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4210 fails.
4211
d2348791
JK
42122014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4213
4214 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4215
feef67ab
DE
42162014-03-22 Doug Evans <xdje42@gmail.com>
4217
4218 * gdb.python/python.exp (python not supported): Verify multi-line
4219 python command issues an error.
25d743f9 4220 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4221 guile command issues an error.
feef67ab 4222
ecebef6a
MR
42232014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4224
4225 * gdb.threads/thread-specific.exp: Handle the lack of usable
4226 $this_breakpoint and $this_thread.
4227
ccdd1909
HZ
42282014-03-21 Hui Zhu <hui@codesourcery.com>
4229
4230 * gdb.base/attach.exp (do_command_attach_tests): New.
4231
beb460e8
PA
42322014-03-20 Tom Tromey <tromey@redhat.com>
4233 Pedro Alves <palves@redhat.com>
4234
4235 PR cli/15718
4236 * gdb.base/condbreak-call-false.c: New file.
4237 * gdb.base/condbreak-call-false.exp: New file.
4238
40acf43a
PA
42392014-03-20 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4242 Delete.
4243 (block_signals, unblock_signals): Delete.
4244 (child_function_2, main): Remove references to deleted variable
4245 and functions.
4246
9f5e1e02
PA
42472014-03-20 Pedro Alves <palves@redhat.com>
4248
4249 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4250 Use pthread_kill to signal thread 2.
4251 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4252 Adjust to make the test send itself a signal rather than using the
4253 host's "kill" command.
4254
99619bea
PA
42552014-03-20 Pedro Alves <palves@redhat.com>
4256
4257 * gdb.threads/multiple-step-overs.c: New file.
4258 * gdb.threads/multiple-step-overs.exp: New file.
4259 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4260 Adjust expected infrun debug output.
4261
2adfaa28
PA
42622014-03-20 Pedro Alves <palves@redhat.com>
4263
4264 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4265 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4266
31e77af2
PA
42672014-03-20 Pedro Alves <palves@redhat.com>
4268
4269 PR breakpoints/7143
4270 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4271 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4272 of gdb_test_multiple.
4273 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4274 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4275
b9f437de
PA
42762014-03-20 Pedro Alves <palves@redhat.com>
4277
4278 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4279 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4280
05adc73e
PA
42812014-03-19 Pedro Alves <palves@redhat.com>
4282
4283 * gdb.base/async.exp: Remove early return.
4284
6048b950
PA
42852014-03-19 Pedro Alves <palves@redhat.com>
4286
4287 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4288
8bcfb00a
PA
42892014-03-19 Pedro Alves <palves@redhat.com>
4290
4291 * gdb.base/async.exp (test_background): Expect \r\n after
4292 "completed." in the fail pattern.
4293
884e37dc
PA
42942014-03-19 Pedro Alves <palves@redhat.com>
4295
4296 * gdb.base/async.exp (test_background): New procedure.
4297 Use it for all background execution command tests.
4298
148e57e2
PA
42992014-03-19 Pedro Alves <palves@redhat.com>
4300
4301 * gdb.base/async.exp: Use prepare_for_testing.
4302
f48088c7
PA
43032014-03-19 Pedro Alves <palves@redhat.com>
4304
4305 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4306 the same line.
4307
e2f6c966
PA
43082014-03-19 Pedro Alves <palves@redhat.com>
4309
4310 * gdb.base/async.c (main): Add "jump here" and "until here" line
4311 marker comments.
4312 * gdb.base/async.exp (jump_here): New global.
4313 (jump& test): Use it.
4314 (until_here): New global.
4315 (until& test): Use it.
4316
c30568d4
PA
43172014-03-19 Pedro Alves <palves@redhat.com>
4318
4319 * gdb.base/async.exp: Don't frob gdb_protocol.
4320
0172b6a7
DE
43212014-03-18 Doug Evans <xdje42@gmail.com>
4322
4323 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4324 Fix spelling of exec-done-display.
4325
06c868a8
JK
43262014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4327
4328 PR gdb/15358
4329 * gdb.base/gdb-sigterm.c: New file.
4330 * gdb.base/gdb-sigterm.exp: New file.
4331
0c7e1a46
PA
43322014-03-18 Pedro Alves <palves@redhat.com>
4333
4334 PR gdb/13860
4335 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4336 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4337 solib-event.
4338
f7c77d93
JB
43392014-03-17 Joel Brobecker <brobecker@adacore.com>
4340
4341 * gdb.ada/pckd_arr_ren: New testcase.
4342
5a1e8c7a
DE
43432014-03-13 Doug Evans <xdje42@gmail.com>
4344
4345 PR guile/16612
4346 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4347 collect after discarding symbols.
4348
350e1a76
DE
43492014-03-13 Ludovic Courtès <ludo@gnu.org>
4350 Doug Evans <xdje42@gmail.com>
4351
4352 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4353 to history survives a gc.
4354
a69900ae
PA
43552014-03-13 Pedro Alves <palves@redhat.com>
4356
4357 * gdb.base/default.exp: Don't test "target procfs".
4358
5db9f0bd
PA
43592014-03-13 Pedro Alves <palves@redhat.com>
4360
4361 * gdb.base/default.exp: Update "target child" and "target procfs"
4362 tests to not expect "Unix".
4363
b3ccfe11
TT
43642014-03-12 Tom Tromey <tromey@redhat.com>
4365
4366 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4367 New procs. Add target-async tests.
4368 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4369 Add target-async tests.
4370
646f4417
AA
43712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4372
4373 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4374 'func_start' and 'func_end' for the beginning and end of the
4375 function code, respectively.
4376 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4377 'func_end' instead of 'func' and 'main'.
4378
288c211f
AA
43792014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4380
4381 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4382 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4383 generate the debug info assembler source.
4384
e0c0f156
AA
43852014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4386
4387 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4388 * gdb.dwarf2/arr-subrange.exp: Likewise.
4389 * gdb.dwarf2/dwz.exp: Likewise.
4390 * gdb.dwarf2/method-ptr.exp: Likewise.
4391 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4392 * gdb.dwarf2/subrange.exp: Likewise.
4393 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4394 * gdb.dwarf2/implptrpiece.exp: Likewise.
4395 * gdb.dwarf2/nostaticblock.exp: Likewise.
4396
0e5c4555
AA
43972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4398
4399 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4400 directory to absolute path name arguments.
4401
5ec18f2b
JG
44022014-03-10 Joel Brobecker <brobecker@adacore.com>
4403
4404 * gdb.ada/tagged_access: New testcase.
4405
847fc4f2
MM
44062014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4407
4408 * gdb.btrace/data.exp: Update expected output.
4409
cc3da688
YQ
44102014-03-06 Yao Qi <yao@codesourcery.com>
4411
4412 * gdb.trace/pr16508.exp: New file.
4413
0f26cec1
PA
44142014-03-05 Pedro Alves <palves@redhat.com>
4415
4416 PR gdb/16575
4417 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4418 procedure.
4419 (top level): Adjust to use it. Add tests that exercise breakpoint
4420 interaction with the code-cache.
4421
7a5a839f
LC
44222014-02-26 Ludovic Courtès <ludo@gnu.org>
4423
4424 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4425 test for 'history-append!'.
4426
31aa7e4e
JB
44272014-02-26 Joel Brobecker <brobecker@adacore.com>
4428
4429 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4430 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4431 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4432 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4433 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4434 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4435
1b588015
JB
44362014-02-26 Joel Brobecker <brobecker@adacore.com>
4437
4438 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4439 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4440 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4441
55426c9d
JB
44422014-02-26 Joel Brobecker <brobecker@adacore.com>
4443
4444 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4445
dc53a7ad
JB
44462014-02-26 Joel Brobecker <brobecker@adacore.com>
4447
4448 * gdb.dwarf2/arr-stride.c: New file.
4449 * gdb.dwarf2/arr-stride.exp: New file.
4450
12ab52e9
PA
44512014-02-26 Pedro Alves <palves@redhat.com>
4452
4453 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4454 that won't ever trigger. Make sure that GDB reports the correct
4455 breakpoint that caused the stop.
4456
849c862e
JK
44572014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4458
4459 PR gdb/16626
4460 * gdb.base/auto-load-script: New file.
4461 * gdb.base/auto-load.c: New file.
4462 * gdb.base/auto-load.exp: New file.
4463
71b7d793
JK
4464 PR gdb/16626
4465 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4466
e2f0d509
JK
44672014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4468
4469 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4470 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4471
50cc37c8
DE
44722014-02-24 Doug Evans <dje@google.com>
4473
4474 * lib/gdb.exp (run_on_host): Log error output if program fails.
4475
ea4758f2
PA
44762014-02-21 Pedro Alves <palves@redhat.com>
4477
4478 * gdb.threads/step-after-sr-lock.c: Rename to ...
4479 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4480 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4481 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4482 ... this.
4483
d7b30f67
SDJ
44842014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4485
4486 PR tdep/16397
4487 * gdb.arch/amd64-stap-special-operands.exp: New file.
4488 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4489 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4490 * gdb.arch/amd64-stap-triplet.S: Likewise.
4491 * gdb.arch/amd64-stap-triplet.c: Likewise.
4492
83deb43f
JB
44932014-02-20 Joel Brobecker <brobecker@adacore.com>
4494
4495 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4496 in .section pseudo-op.
4497
adde2bff
DE
44982014-02-20 lin zuojian <manjian2006@gmail.com>
4499 Joel Brobecker <brobecker@adacore.com>
4500 Doug Evans <xdje42@gmail.com>
4501
4502 PR symtab/16581
4503 * gdb.dwarf2/dw2-icycle.S: New file.
4504 * gdb.dwarf2/dw2-icycle.c: New file.
4505 * gdb.dwarf2/dw2-icycle.exp: New file.
4506
f7bd0f78
SC
45072014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4508
4509 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4510 operations on gdb.Value objects.
4511 * gdb.python/py-value-cc.exp: Add new test to test operations on
4512 gdb.Value objects.
4513
c17ef0d5
DE
45142014-02-18 Doug Evans <dje@google.com>
4515
4516 * Makefile.in (TESTS): New variable.
4517 (expanded_tests, expanded_tests_or_none): New variables
4518 (check-single): Pass $(expanded_tests_or_none) to runtest.
4519 (check-parallel): Only run tests in $(TESTS) if non-empty.
4520 (check/no-matching-tests-found): New rule.
4521 * README: Document TESTS makefile variable.
4522
5dd3176f
DE
45232014-02-18 Doug Evans <dje@google.com>
4524
4525 * Makefile.in (check-parallel): rm -rf outputs temp.
4526
0b10be4f
JK
45272014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4528
4529 Fix "ERROR: no fileid for" in the testsuite.
4530 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4531
85f224e7
DE
45322014-02-12 Doug Evans <dje@google.com>
4533
4534 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4535 (MISCELLANEOUS): New variable.
4536 (clean): rm -rf $(MISCELLANEOUS).
4537 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4538 dwp live in the same directory as symlinks, with each symlink pointed
4539 to a differently named file in a different directory.
4540
149b30ff
DE
45412014-02-11 Doug Evans <dje@google.com>
4542
4543 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4544 of Tcl file commands.
4545
1dfdac32
MK
45462014-02-10 Mark Kettenis <kettenis@gnu.org>
4547
4548 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4549 "kill -SIGUSR1 -1".
4550
aa4fb036
JB
45512014-02-10 Joel Brobecker <brobecker@adacore.com>
4552
4553 * gdb.ada/tick_length_array_enum_idx: New testcase.
4554
ed3ef339
DE
45552014-02-10 Doug Evans <xdje42@gmail.com>
4556
4557 * configure.ac (AC_OUTPUT): Add gdb.guile.
4558 * configure: Regenerate.
4559 * lib/gdb-guile.exp: New file.
4560 * lib/gdb.exp (get_target_charset): New function.
4561 * gdb.base/help.exp: Update expected output from "apropos apropos".
4562 * gdb.guile/Makefile.in: New file.
4563 * gdb.guile/guile.exp: New file.
4564 * gdb.guile/scm-arch.c: New file.
4565 * gdb.guile/scm-arch.exp: New file.
4566 * gdb.guile/scm-block.c: New file.
4567 * gdb.guile/scm-block.exp: New file.
4568 * gdb.guile/scm-breakpoint.c: New file.
4569 * gdb.guile/scm-breakpoint.exp: New file.
4570 * gdb.guile/scm-disasm.c: New file.
4571 * gdb.guile/scm-disasm.exp: New file.
4572 * gdb.guile/scm-equal.c: New file.
4573 * gdb.guile/scm-equal.exp: New file.
4574 * gdb.guile/scm-error.exp: New file.
4575 * gdb.guile/scm-error.scm: New file.
4576 * gdb.guile/scm-frame-args.c: New file.
4577 * gdb.guile/scm-frame-args.exp: New file.
4578 * gdb.guile/scm-frame-args.scm: New file.
4579 * gdb.guile/scm-frame-inline.c: New file.
4580 * gdb.guile/scm-frame-inline.exp: New file.
4581 * gdb.guile/scm-frame.c: New file.
4582 * gdb.guile/scm-frame.exp: New file.
4583 * gdb.guile/scm-generics.exp: New file.
4584 * gdb.guile/scm-gsmob.exp: New file.
4585 * gdb.guile/scm-iterator.c: New file.
4586 * gdb.guile/scm-iterator.exp: New file.
4587 * gdb.guile/scm-math.c: New file.
4588 * gdb.guile/scm-math.exp: New file.
4589 * gdb.guile/scm-objfile-script-gdb.in: New file.
4590 * gdb.guile/scm-objfile-script.c: New file.
4591 * gdb.guile/scm-objfile-script.exp: New file.
4592 * gdb.guile/scm-objfile.c: New file.
4593 * gdb.guile/scm-objfile.exp: New file.
4594 * gdb.guile/scm-ports.exp: New file.
4595 * gdb.guile/scm-pretty-print.c: New file.
4596 * gdb.guile/scm-pretty-print.exp: New file.
4597 * gdb.guile/scm-pretty-print.scm: New file.
4598 * gdb.guile/scm-section-script.c: New file.
4599 * gdb.guile/scm-section-script.exp: New file.
4600 * gdb.guile/scm-section-script.scm: New file.
4601 * gdb.guile/scm-symbol.c: New file.
4602 * gdb.guile/scm-symbol.exp: New file.
4603 * gdb.guile/scm-symtab-2.c: New file.
4604 * gdb.guile/scm-symtab.c: New file.
4605 * gdb.guile/scm-symtab.exp: New file.
4606 * gdb.guile/scm-type.c: New file.
4607 * gdb.guile/scm-type.exp: New file.
4608 * gdb.guile/scm-value-cc.cc: New file.
4609 * gdb.guile/scm-value-cc.exp: New file.
4610 * gdb.guile/scm-value.c: New file.
4611 * gdb.guile/scm-value.exp: New file.
4612 * gdb.guile/source2.scm: New file.
4613 * gdb.guile/types-module.cc: New file.
4614 * gdb.guile/types-module.exp: New file.
4615
7026a7c1
YQ
46162014-02-10 Yao Qi <yao@codesourcery.com>
4617
4618 PR testsuite/16543
4619 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4620 * configure: Regenerated.
4621 * Makefile.in: New file.
4622
6c466447
AS
46232014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4624
4625 * gdb.python/py-framefilter.exp: Fix typo.
4626
6e854735
YQ
46272014-02-08 Yao Qi <yao@codesourcery.com>
4628
4629 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4630 that no =breakpoint-modified is emitted when breakpoints are
4631 modified through MI commands.
4632
d137e6dc
PA
46332014-02-07 Pedro Alves <pedro@codesourcery.com>
4634 Pedro Alves <palves@redhat.com>
4635
4636 * gdb.threads/step-after-sr-lock.c: New file.
4637 * gdb.threads/step-after-sr-lock.exp: New file.
4638
b5ee5a50
PA
46392014-02-07 Pedro Alves <palves@redhat.com>
4640
4641 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4642
3c77faf3
JK
46432014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4644
4645 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4646 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4647
6dddc817
DE
46482014-02-06 Doug Evans <xdje42@gmail.com>
4649
4650 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4651 output.
4652
4653 * gdb.gdb/python-interrupts.exp: New file.
4654
de7b2893
YQ
46552014-02-05 Yao Qi <yao@codesourcery.com>
4656
4657 * gdb.trace/report.exp (use_collected_data): Test the output
4658 of "info threads" and "info inferiors".
4659
66d032ac
YQ
46602014-02-05 Yao Qi <yao@codesourcery.com>
4661
4662 Revert this patch:
4663
4664 2013-05-24 Yao Qi <yao@codesourcery.com>
4665
4666 * gdb.trace/tfile.exp: Test inferior and thread.
4667
591a12a1
UW
46682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4669
4670 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4671 on a function.
4672 * gdb.base/step-bt.c: Call hello via function pointer to make
4673 sure its first instruction is executed on powerpc64le-linux.
4674
0ff3e01f
UW
46752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4676
4677 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4678
084ee545
UW
46792014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4680
4681 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4682 of the test patterns for use on little-endian systems.
4683
6ed14ff3
UW
46842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4685
4686 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4687 (decimal_vector): Fix for little-endian.
4688
401e27fd
JM
46892014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4690
4691 * gdb.arch/sparc-sysstep.exp: New file.
4692 * gdb.arch/sparc-sysstep.c: Likewise.
4693
4694 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4695
8b924729
EBM
46962014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4697
4698 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4699
fb151210
JB
47002014-01-23 Tom Tromey <tromey@redhat.com>
4701
4702 * gdb.ada/array_char_idx: New testcase.
4703
0740f8d8
TT
47042014-01-23 Tom Tromey <tromey@redhat.com>
4705
4706 PR python/16487:
4707 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4708 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4709 classes.
4710
21909fa1
TT
47112014-01-23 Tom Tromey <tromey@redhat.com>
4712
4713 PR python/16491:
4714 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4715 string from an inferior frame.
4716 * gdb.python/py-framefilter-mi.exp: Update.
4717
87ce2a04
DE
47182014-01-22 Doug Evans <dje@google.com>
4719
4720 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4721
237b092b
AA
47222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4723
4724 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4725
d674a709
AA
47262014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4727
4728 * gdb.trace/entry-values.exp: Remove excess space character from
4729 regex patterns. Handle s390 call instruction.
4730
20fa3390
AA
47312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4732
4733 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4734 define "*_start" label. Make "name" static.
4735 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4736 ${name} by references to ${name}_start.
4737
78466714
AA
47382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4739
4740 * gdb.base/info-macros.exp: Remove "debug" from the compile
4741 options.
4742
ec9f644a
IB
47432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4744
4745 * gdb.dlang/demangle.exp: New file.
4746
94b1b47e
IB
47472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4748
4749 * gdb.dlang/primitive-types.exp: New file.
4750
7f420862
IB
47512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4752
4753 * configure.ac: Create gdb.dlang/Makefile.
4754 * configure: Regenerate.
4755 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4756 * gdb.dlang/Makefile.in: New file.
4757 * lib/d-support.exp: New file.
4758 * lib/gdb.exp (skip_d_tests): New proc.
4759
52834460
MM
47602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4761
4762 * gdb.btrace/delta.exp: Check reverse stepi.
4763 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4764 * gdb.btrace/finish.exp: New.
4765 * gdb.btrace/next.exp: New.
4766 * gdb.btrace/nexti.exp: New.
4767 * gdb.btrace/record_goto.c: Add comments.
4768 * gdb.btrace/step.exp: New.
4769 * gdb.btrace/stepi.exp: New.
4770 * gdb.btrace/multi-thread-step.c: New.
4771 * gdb.btrace/multi-thread-step.exp: New.
4772 * gdb.btrace/rn-dl-bind.c: New.
4773 * gdb.btrace/rn-dl-bind.exp: New.
4774 * gdb.btrace/data.c: New.
4775 * gdb.btrace/data.exp: New.
4776 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4777
6e07b1d2
MM
47782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4779
4780 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4781 * gdb.btrace/exception.exp: Update.
4782 * gdb.btrace/instruction_history.exp: Update.
4783 * gdb.btrace/record_goto.exp: Update.
4784 * gdb.btrace/tailcall.exp: Update.
4785 * gdb.btrace/unknown_functions.exp: Update.
4786 * gdb.btrace/delta.exp: New.
4787
0b722aec
MM
47882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4789
4790 * gdb.btrace/record_goto.exp: Add backtrace test.
4791 * gdb.btrace/tailcall.exp: Add backtrace test.
4792
066ce621
MM
47932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4794
4795 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4796 * gdb.btrace/record_goto.c: New.
4797 * gdb.btrace/record_goto.exp: New.
4798 * gdb.btrace/x86-record_goto.S: New.
4799
0688d04e
MM
48002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4801
4802 * gdb.btrace/function_call_history.exp: Update tests.
4803 * gdb.btrace/instruction_history.exp: Update tests.
4804
8710b709
MM
48052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4806
4807 * gdb.btrace/function_call_history.exp: Fix expected field
4808 order for "record function-call-history".
4809 Add new tests for "record function-call-history /c".
4810 * gdb.btrace/exception.cc: New.
4811 * gdb.btrace/exception.exp: New.
4812 * gdb.btrace/tailcall.exp: New.
4813 * gdb.btrace/x86-tailcall.S: New.
4814 * gdb.btrace/x86-tailcall.c: New.
4815 * gdb.btrace/unknown_functions.c: New.
4816 * gdb.btrace/unknown_functions.exp: New.
4817 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4818
5de9129b
MM
48192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4820
4821 * gdb.btrace/instruction_history.exp: Update.
4822 * gdb.btrace/function_call_history.exp: Update.
4823
23a7fe75
MM
48242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4825
4826 * gdb.btrace/function_call_history.exp: Fix expected function
4827 trace.
4828 * gdb.btrace/instruction_history.exp: Initialize traced.
4829 Remove traced_functions.
4830
724c7dd8
MM
48312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4832
4833 * gdb.btrace/function_call_history.exp: Update
4834 * gdb.btrace/instruction_history.exp: Update.
4835
6d78d93b
MM
48362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4837
4838 * gdb.btrace/enable.exp: Update expected text.
4839
93a360cc
OJ
48402014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4841
4842 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4843 bytes.
4844
3772b53f
MR
48452014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4846
4847 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4848
596662fa
OJ
48492014-01-15 Omair Javaid <omair.javaid@linaro.org>
4850
4851 * lib/gdb.exp (supports_process_record): Return true for
4852 arm*-linux*. (supports_reverse): Likewise.
4853
b5b08fb4
SC
48542014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4855
4856 PR python/15464
4857 PR python/16113
4858 * gdb.python/py-type.c: Enhance test case.
4859 * gdb.python/py-value-cc.cc: Likewise
4860 * gdb.python/py-type.exp: Add new tests.
4861 * gdb.python/py-value-cc.exp: Likewise
4862
52d7fb13
AA
48632014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4864 Pedro Alves <palves@redhat.com>
4865
4866 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4867 Make "name" extern.
4868 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4869 references to ${name}_start by references to ${name}.
4870
a2cd8cfe
JB
48712014-01-10 Joel Brobecker <brobecker@adacore.com>
4872
4873 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4874
4e23fced
JB
48752014-01-10 Joel Brobecker <brobecker@adacore.com>
4876
4877 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4878
c6a9e42c
PA
48792014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4880 Pedro Alves <palves@redhat.com>
4881
4882 * gdb.mi/mi-info-os.exp: Connect to the target with
4883 mi_gdb_target_load.
4884
b7ea362b
PA
48852014-01-08 Pedro Alves <palves@redhat.com>
4886
4887 * gdb.threads/reconnect-signal.c: New file.
4888 * gdb.threads/reconnect-signal.exp: New file.
4889
5e3f4fab
EBM
48902014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4891
4892 * gdb.base/source-dir.exp: New file.
4893
79301218
JB
48942014-01-07 Joel Brobecker <brobecker@adacore.com>
4895
4896 * gdb.ada/mi_interface: New testcase.
4897
8e355c5d
JB
48982014-01-07 Joel Brobecker <brobecker@adacore.com>
4899
4900 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4901 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4902 gdb.ada/pp-rec-component/pck.ads: New files.
4903
c0d48811
JB
49042014-01-07 Joel Brobecker <brobecker@adacore.com>
4905
4906 * gdb.python/py-pp-integral.c: New file.
4907 * gdb.python/py-pp-integral.py: New file.
4908 * gdb.python/py-pp-integral.exp: New file.
4909
17b609c3 4910For older changes see ChangeLog-1993-2013.
c906108c 4911\f
8d8cb839
EZ
4912;; Local Variables:
4913;; mode: change-log
4914;; left-margin: 8
4915;; fill-column: 74
4916;; version-control: never
4917;; End:
902f2ccb 4918
32d0add0 4919 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4920 Copying and distribution of this file, with or without modification,
4921 are permitted provided the copyright notice and this notice are preserved.