]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
libiberty/mkstemps.c: Include <time.h> if <sys/time.h> not available.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
a4674e4e
PA
12015-05-08 Pedro Alves <palves@redhat.com>
2
3 * gdb.server/non-existing-program.exp: Unset spawn_id.
4
df2eb078
SC
52015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6
7 PR python/18291
8 * gdb.python/py-xmethods.exp: Add tests.
9
422349a3
YQ
102015-05-08 Yao Qi <yao.qi@linaro.org>
11
12 PR gdb/18208
13 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15 function set_coredump_filter, and remove remote_exec call.
16 Remove argument ipid. Callers update.
17 (top level): Don't get inferior's PID.
18
63fc80ce
AA
192015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
20
21 * gdb.base/watch_thread_num.exp: Skip test on targets without
22 access watchpoints.
23
80ad801e
PA
242015-05-06 Pedro Alves <palves@redhat.com>
25
26 PR server/18081
27 * gdb.server/non-existing-program.exp: New file.
28
0fa7fe50
JB
292015-05-05 Joel Brobecker <brobecker@adacore.com>
30
31 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
32
3ea89b92
PMR
332015-05-05 Joel Brobecker <brobecker@adacore.com>
34
35 * gdb.ada/out_of_line_in_inlined: New testcase.
36
87b8eff0
JB
372015-05-05 Joel Brobecker <brobecker@adacore.com>
38
39 * gdb.ada/var_rec_arr: New testcase.
40
5fccc635
YQ
412015-04-30 Yao Qi <yao.qi@linaro.org>
42
43 * gdb.base/break-idempotent.exp: If
44 skip_hw_watchpoint_multi_tests returns true, skip the tests
45 on "rwatch" and "awatch".
46
42d38f42
YQ
472015-04-30 Yao Qi <yao.qi@linaro.org>
48
49 * gdb.base/relativedebug.exp: Invoke gdb command
50 "info sharedlibrary", and if libc.so doesn't have debug info,
51 skip the test.
52
2ce1cdbf
DE
532015-04-29 Doug Evans <dje@google.com>
54
55 * gdb.python/py-xmethods.exp: Add ptype tests.
56 * gdb.python/py-xmethods.py (E_method_char_worker): Add
57 get_result_type method.
58
f24a38c5
LM
592015-04-29 Luis Machado <lgustavo@codesourcery.com>
60
61 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
62 the target does not support hardware watchpoints.
63
ecbf2b3c
LM
642015-04-29 Luis Machado <lgustavo@codesourcery.com>
65
66 * gdb.base/break-always.exp: Abort testing if writing to memory
67 causes an error.
68
34f5f757
DE
692015-04-28 Doug Evans <dje@google.com>
70
71 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
72 * gdb.python/py-pp-registration.exp: ... here. New file.
73 * gdb.python/py-pp-registration.c: New file.
74 * gdb.python/py-pp-registration.py: New file.
75
69b4374a
DE
762015-04-28 Doug Evans <dje@google.com>
77
78 * gdb.python/py-bad-printers.c: New file.
79 * gdb.python/py-bad-printers.py: New file.
80 * gdb.python/py-bad-printers.exp: New file.
81
59fb7612
SS
822015-04-28 Sasha Smundak <asmundak@google.com>
83
84 * gdb.python/py-type.exp: New test.
85
2631b16a
AW
862015-04-28 Andy Wingo <wingo@igalia.com>
87
88 * gdb.python/py-parameter.exp:
89 * gdb.guile/scm-parameter.exp: Escape the path that we are
90 matching against, as it might contain characters that are special
91 to regular expressions.
92
460efde1
JB
932015-04-27 Joel Brobecker <brobecker@adacore.com>
94
95 * gdb.ada/rec_comp: New testcase.
96
2d369d8e
SDJ
972015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
98
99 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
100 before using it.
101
cf75d6c3
AB
1022015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
103
104 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
105 new tests for verilog output.
106
8dbe7ca5
YQ
1072015-04-24 Yao Qi <yao.qi@linaro.org>
108
109 * boards/remote-gdbserver-on-localhost.exp: New file.
110
4ef9fb2f
PA
1112015-04-23 Pedro Alves <palves@redhat.com>
112
113 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
114 $inferior_spawn_id instead of $inferior_spawn_id directly. On
115 "end of file", remove $inferior_spawn_id from the indirect list.
116
0a803169
PA
1172015-04-23 Pedro Alves <palves@redhat.com>
118
119 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
120
749ef8f8
PA
1212015-04-23 Pedro Alves <palves@redhat.com>
122
123 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
124 on $any_spawn_id instead of only on $gdb_spawn_id.
125
8aae4344
PM
1262015-04-21 Pierre Muller <muller@sourceware.org>
127
128 PR pascal/17815
129 * lib/pascal.exp (gpc_compile): Add new option "class".
130 (fpc_compile): Likewise.
131 * gdb.pascal/case-insensitive-symbols.pas: New file.
132 * gdb.pascal/case-insensitive-symbols.exp: New file.
133
1586c8fb
GB
1342015-04-20 Gary Benson <gbenson@redhat.com>
135
136 * gdb.base/attach.exp: Fix three extended remote failures.
137
1b6e6f5c
GB
1382015-04-17 Gary Benson <gbenson@redhat.com>
139
140 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
141 the main executable over the remote protocol.
142
e797481d
PA
1432015-04-16 Pedro Alves <palves@redhat.com>
144
145 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
146 a new gdbserver if gdbserver_reconnect_p is set.
147
1ca99c42
PA
1482015-04-16 Pedro Alves <palves@redhat.com>
149
150 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
151 is set, don't exit gdbserver.
152
af9fd6f8
AA
1532015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
154
155 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
156 appropriate .insn, such that an older assembler can be used.
157 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
158 the z/Architecture instruction set on 31-bit targets as well.
159
04ff1e61
AA
1602015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
161
162 * gdb.go/handcall.exp: Remove all logic related to the first
163 breakpoint and rely on go_runto_main instead.
164 * gdb.go/strings.exp: Likewise.
165 * gdb.go/unsafe.exp: Likewise.
166 * gdb.go/hello.exp: Likewise. Also rename the remaining
167 breakpoint marker to "breakpoint 1".
168 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
169 * gdb.go/strings.go: Likewise.
170 * gdb.go/unsafe.go: Likewise.
171 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
172 "set breakpoint 2 here" and rename the remaining breakpoint marker
173 to "breakpoint 1".
174
40d2f8d6
SM
1752015-04-15 Simon Marchi <simon.marchi@ericsson.com>
176
177 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
178 if itertools.imap is not present.
179 * gdb.python/py-objfile.exp: Add parentheses.
180 * gdb.python/py-type.exp: Same.
181 * gdb.python/py-unwind-maint.py: Same.
182
8cbc97c6
YQ
1832015-04-15 Yao Qi <yao.qi@linaro.org>
184
185 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
186 of ":$ptr_size" and set its form explicitly.
187
45fd756c
YQ
1882015-04-15 Pedro Alves <palves@redhat.com>
189 Yao Qi <yao.qi@linaro.org>
190
191 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
192 timeout by factor of 4.
193 (test_regular_watch): Likewise.
194 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
195 * gdb.reverse/sigall-reverse.exp: Likewise.
196 * gdb.reverse/until-precsave.exp: Likewise.
197 * lib/gdb.exp (with_timeout_factor): New proc.
198 (gdb_expect): Move some code to ...
199 (get_largest_timeout): ... here. New procedure.
200
9e811bc3
LM
2012015-04-14 Luis Machado <lgustavo@codesourcery.com>
202
203 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
204
0ff6fcb2
LM
2052015-04-13 Luis Machado <lgustavo@codesourcery.com>
206
207 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
208 to write to the .text section.
209
7578d5f7
LM
2102015-04-13 Luis Machado <lgustavo@codesourcery.com>
211
212 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
213 Handle the case of targets that do not provide PID information.
214
2efe15c4
YQ
2152015-04-13 Yao Qi <yao.qi@linaro.org>
216
217 * lib/gdbserver-support.exp (gdb_exit): Catch exception
218 and use expect instead of gdb_expect.
219
8cd8f2f8
SDJ
2202015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
221
222 * gdb.base/coredump-filter.exp: Rename variable "addr" to
223 "coredump_var_addr" to avoid naming conflict with other testcases.
224
9ee41772
PA
2252015-04-10 Pedro Alves <palves@redhat.com>
226
227 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
228 gdb_test_sequence and gdb_assert.
229
07473109
PA
2302015-04-10 Pedro Alves <palves@redhat.com>
231
232 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
233 test messages that don't include the breakpoint address.
234
de3db44c
YQ
2352015-04-10 Yao Qi <yao.qi@linaro.org>
236
237 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
238 false for some offset and width combinations which aren't
239 supported by linux kernel.
240
c79d856c
PA
2412015-04-10 Pedro Alves <palves@redhat.com>
242
243 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
244 procedure, factored out from ...
245 (top level): ... here. Add "set displaced-stepping" testing axis.
246 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
247 parameter "displaced". Use it.
248 (top level): Use foreach and add "set displaced-stepping" testing
249 axis.
250
ebc90b50
PA
2512015-04-10 Pedro Alves <palves@redhat.com>
252
253 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
254 Remove comment.
255 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
256 both the address of the instruction that triggers the watchpoint
257 and the address of the instruction immediately after, and use
258 those addresses for the test. Fix comment.
259
8f572e5c
PA
2602015-04-10 Pedro Alves <palves@redhat.com>
261
262 * gdb.base/sigstep.exp (breakpoint_to_handler)
263 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
264 Test "backtrace" in handler.
265 (breakpoint_over_handler): New parameter 'displaced'. Use it.
266 (top level): Add new "displaced" test axis to
267 breakpoint_to_handler, breakpoint_to_handler_entry and
268 breakpoint_over_handler.
269
8d707a12
PA
2702015-04-10 Pedro Alves <palves@redhat.com>
271
272 PR gdb/18216
273 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
274
ef713951
YQ
2752015-04-10 Yao Qi <yao.qi@linaro.org>
276
277 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
278 (test_add_rn_pc): New function.
279 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
280 (top level): Invoke test_add_rn_pc.
281
906d60cf
PA
2822015-04-10 Pedro Alves <palves@redhat.com>
283
284 PR gdb/13858
285 * gdb.base/step-over-no-symbols.exp: New file.
286
f2983cc3
AW
2872015-04-09 Andy Wingo <wingo@igalia.com>
288
289 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
290 after the Python tests.
291
6d62641c
SDJ
2922015-04-08 Keith Seitz <keiths@redhat.com>
293
294 PR python/16699
295 * gdb.python/py-completion.exp: New tests for completion.
296 * gdb.python/py-completion.py (CompleteLimit1): New class.
297 (CompleteLimit2): Likewise.
298 (CompleteLimit3): Likewise.
299 (CompleteLimit4): Likewise.
300 (CompleteLimit5): Likewise.
301 (CompleteLimit6): Likewise.
302 (CompleteLimit7): Likewise.
303
f3770638
PA
3042015-04-08 Pedro Alves <palves@redhat.com>
305
306 PR gdb/18214
307 PR gdb/18216
308 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
309 function.
310 (main): Install it as SIGUSR1 handler.
311 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
312 parameter. Always use "setup" as prefix. Toggle "set
313 displaced-stepping" off/on depending on global. Don't switch to
314 thread 1 here.
315 (top level): Add displaced stepping "off/on" test axis. Update
316 "setup" calls. Wrap each subtest with with_test_prefix. Test
317 continuing with a queued signal in each thread.
318
4496bed7
PA
3192015-04-08 Pedro Alves <palves@redhat.com>
320
321 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
322 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
323 gdb_breakpoint instead of gdb_test that doesn't expect anything.
324 Return early if running to main fails.
325 * gdb.trace/while-stepping.exp: Likewise.
326
b97fde92
PA
3272015-04-07 Pedro Alves <palves@redhat.com>
328
329 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
330 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
331 interact with inferior program.
332
f71c18e7
PA
3332015-04-07 Pedro Alves <palves@redhat.com>
334
335 * lib/gdb.exp (inferior_spawn_id): New global.
336 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
337 spawn id after processing the user code.
338 (default_gdb_start): Set inferior_spawn_id.
339 (send_inferior): New procedure.
340 * lib/gdbserver-support.exp (gdbserver_start): Set
341 inferior_spawn_id.
342 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
343
6423214f
PA
3442015-04-07 Pedro Alves <palves@redhat.com>
345
346 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
347 * lib/gdbserver-support.exp (gdbserver_start): Make
348 $server_spawn_id global.
349 (gdbserver_start): Don't wait for gdbserver's spawn id with
350 expect_background.
351 (close_gdbserver): New procedure.
352 (gdb_exit): Rename the default version and reimplement.
353
71c0ee8c
PA
3542015-04-07 Pedro Alves <palves@redhat.com>
355
356 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
357 append the substituted item, not the original item.
358
203bc29b
PA
3592015-04-07 Pedro Alves <palves@redhat.com>
360
361 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
362 gdb_expect.
363
508a3ddf
PA
3642015-04-07 Pedro Alves <palves@redhat.com>
365
366 * gdb.base/interrupt.exp: Don't handle the case of the inferior
367 output appearing once only.
368
9f6dbe2b
PA
3692015-04-07 Pedro Alves <palves@redhat.com>
370
371 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
372 that doesn't expect anything. Return early if running to main
373 fails.
374
337532fa
YQ
3752015-04-07 Yao Qi <yao.qi@linaro.org>
376
377 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
378 (child_function): Call alarm.
379 (main): Move call to alarm into the loop.
380 * gdb.threads/non-stop-fair-events.exp: Build program with
381 -DTIMEOUT=$timeout.
382
01b622d4
DE
3832015-04-06 Doug Evans <xdje42@gmail.com>
384
385 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
386 Fix dest parameter to board_info.
387 (fpc_compile): Ditto.
388 (gdb_compile_pascal): Rename dest arg to destfile.
389
961f4160
PMR
3902015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
391
392 * gdb.ada/funcall_ref.exp: New file.
393 * gdb.ada/funcall_ref/foo.adb: New file.
394
cafda597
YQ
3952015-04-02 Yao Qi <yao.qi@linaro.org>
396
397 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
398 is remote.
399
fed040c6
GB
4002015-04-02 Gary Benson <gbenson@redhat.com>
401
402 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
403
d11916aa
SS
4042015-04-01 Sasha Smundak <asmundak@google.com>
405
406 * gdb.python/py-unwind-maint.c: New file.
407 * gdb.python/py-unwind-maint.exp: New test.
408 * gdb.python/py-unwind-maint.py: New file.
409 * gdb.python/py-unwind.c: New file.
410 * gdb.python/py-unwind.exp: New test.
411 * gdb.python/py-unwind.py: New test.
412
a1471180
PA
4132015-04-01 Pedro Alves <palves@redhat.com>
414
415 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
416 to fail instead of non-existent $test.
417
0bbeccb1
PA
4182015-04-01 Pedro Alves <palves@redhat.com>
419
420 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
421 GDBFLAGS if not empty.
422
3c724c8c
PMR
4232015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
424
425 * gdb.ada/complete.exp: Remove "multi_line".
426 * gdb.ada/info_exc.exp: Remove "multi_line".
427 * gdb.ada/packed_tagged.exp: Remove "multi_line".
428 * gdb.ada/ptype_field.exp: Remove "multi_line".
429 * gdb.ada/sym_print_name.exp: Remove "multi_line".
430 * gdb.ada/tagged.exp: Remove "multi_line".
431 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
432 [multi_line ...]
433 * gdb.btrace/delta.exp: Likewise.
434 * gdb.btrace/exception.exp: Likewise.
435 * gdb.btrace/function_call_history.exp: Likewise.
436 * gdb.btrace/instruction_history.exp: Likewise.
437 * gdb.btrace/nohist.exp: Likewise.
438 * gdb.btrace/record_goto.exp: Likewise.
439 * gdb.btrace/segv.exp: Likewise.
440 * gdb.btrace/stepi.exp: Likewise.
441 * gdb.btrace/tailcall.exp: Likewise.
442 * gdb.btrace/unknown_functions.exp: Likewise.
443 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
444 * lib/gdb.exp: Add the "multi_line" helper.
445
4eec2deb
PA
4462015-04-01 Pedro Alves <palves@redhat.com>
447
448 * gdb.threads/tid-reuse.c: New file.
449 * gdb.threads/tid-reuse.exp: New file.
450
df8411da
SDJ
4512015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
452
453 PR corefiles/16092
454 * gdb.base/coredump-filter.c: New file.
455 * gdb.base/coredump-filter.exp: Likewise.
456
6ef37366
PM
4572015-03-27 Petr Machata <pmachata@redhat.com>
458
459 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
460 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
461 (Dwarf::assemble): Initialize them.
462 (Dwarf::lines): New function.
463
7ec911b0
JT
4642015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
465
466 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
467 SYMBOL_PREFIX for x86_64-*-cygwin.
468
ff908ebf
AW
4692015-03-26 Andy Wingo <wingo@igalia.com>
470
471 PR symtab/18148
472 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
473 const_value but not a location.
474 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
475 location defined in non-main CUs are visible.
476
6d5f0679
YQ
4772015-03-26 Yao Qi <yao.qi@linaro.org>
478
479 PR testsuite/18139
480 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
481 Add a line number entry for the same line.
482 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
483 Add a line number entry for the same line.
484
2898689b
YQ
4852015-03-26 Yao Qi <yao.qi@linaro.org>
486
487 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
488 .int 0.
489 (func): Likewise. Add .Lfunc_1 label.
490 Use .Lfunc_1 label.
491 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
492 .int 0.
493 (func): Likewise.
494 Use .Lfunc_1 label.
495
85180498
YQ
4962015-03-26 Yao Qi <yao.qi@linaro.org>
497
498 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
499 Call gdb_compile instead to compile each .s files without debug
500 information.
501
8aa08a8d
YQ
5022015-03-26 Yao Qi <yao.qi@linaro.org>
503
504 * gdb.base/savedregs.exp (process_saved_regs): Make
505 "Saved registers:" optional in the pattern.
506
66849923
MM
5072015-03-25 Markus Metzger <markus.t.metzger@intel.com>
508
509 * gdb.btrace/next.exp: Merged into step.exp.
510 * gdb.btrace/finish.exp: Merged into step.exp.
511 * gdb.btrace/nexti.exp: Merged into stepi.exp.
512 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
513 "record goto" and checking the exact replay position.
514 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
515 check for "Recording format" in "info record" output.
516 * gdb.btrace/record_goto.exp: Choose test file based on target.
517 * gdb.btrace/x86-record_goto.S: Renamed into ...
518 * gdb.btrace/x86_64-record_goto.S: ... this.
519 * gdb.btrace/i686-record_goto.S: New.
520 * gdb.btrace/x86-tailcall.S: Renamed into ...
521 * gdb.btrace/x86_64-tailcall.S: ... this.
522 * gdb.btrace/i686-tailcall.S: New.
523 * gdb.btrace/x86-tailcall.c: Renamed into ...
524 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
525 separate statements. Update test.
526 * gdb.btrace/delta.exp: Use record_goto.c as test file.
527 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
528 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
529 * gdb.btrace/tailcall.exp: Choose test file based on target.
530 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
531
11cc1b74
MM
5322015-03-25 Markus Metzger <markus.t.metzger@intel.com>
533
534 * gdb.btrace/exception.exp: Increase BTS buffer size.
535
a25d8bf9
PA
5362015-03-24 Pedro Alves <palves@redhat.com>
537
538 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
539
856e7dd6
PA
5402015-03-24 Pedro Alves <palves@redhat.com>
541
542 * gdb.threads/schedlock.exp (test_step): No longer expect that
543 "set scheduler-locking step" with "next" over a function call runs
544 threads unlocked.
545
ad235a41
AT
5462015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
547
548 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
549
15630549
AT
5502015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
551
552 PR breakpoints/16466
553 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
554 * gdb.mi/mi-pending.c (thread_func): New function.
555 (int main): Add threading support required.
556 * gdb.mi/mi-pending.exp: Add tests for this issue.
557 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
558 (pendfunc2): Remove stdio dependency.
559 * gdb.mi/mi-pendshr2.c: New file.
560
693dca06
KS
5612015-03-23 Keith Seitz <keiths@redhat.com>
562
563 * gdb.linespec/keywords.c: New file.
564 * gdb.linespec/keywords.exp: New file.
565
7e993ebf
KS
5662015-03-23 Keith Seitz <keiths@redhat.com>
567
568 PR gdb/18021
569 * gdb.dwarf2/staticvirtual.exp: New test.
570
bc23328c
JK
5712015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
572
573 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
574 * README: Remove HP-UX and gdb.hp.
575 (configuration):
576 * configure: Regenerate.
577 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
578 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
579 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
580 gdb.hp/gdb.defects/Makefile.
581 * gdb.hp/Makefile.in: File deleted.
582 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
583 * gdb.hp/gdb.aCC/optimize.c: File deleted.
584 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
585 * gdb.hp/gdb.aCC/run.c: File deleted.
586 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
587 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
588 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
589 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
590 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
591 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
592 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
593 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
594 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
595 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
596 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
597 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
598 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
599 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
600 * gdb.hp/gdb.base-hp/reg.s: File deleted.
601 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
602 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
603 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
604 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
605 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
606 * gdb.hp/gdb.compat/Makefile.in: File deleted.
607 * gdb.hp/gdb.compat/average.c: File deleted.
608 * gdb.hp/gdb.compat/sum.c: File deleted.
609 * gdb.hp/gdb.compat/xdb.c: File deleted.
610 * gdb.hp/gdb.compat/xdb0.c: File deleted.
611 * gdb.hp/gdb.compat/xdb0.h: File deleted.
612 * gdb.hp/gdb.compat/xdb1.c: File deleted.
613 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
614 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
615 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
616 * gdb.hp/gdb.defects/Makefile.in: File deleted.
617 * gdb.hp/gdb.defects/bs14602.c: File deleted.
618 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
619 * gdb.hp/gdb.defects/solib-d.c: File deleted.
620 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
621 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
622 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
623 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
624 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
625 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
626 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
627 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
628 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
629 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
630 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
631 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
632 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
633 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
634 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
635 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
636 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
637 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
638 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
639 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
640 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
641 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
642 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
643 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
644 * gdb.hp/tools/odump: File deleted.
645
8bf3b159
PA
6462015-03-19 Pedro Alves <palves@redhat.com>
647
648 * gdb.threads/continue-pending-status.exp (saw_thread_2)
649 (saw_thread_3): New globals.
650 (top level): Increment them when an event for the corresponding
651 thread is seen.
652 (no thread starvation): New test.
653
eb54c8bf
PA
6542015-03-19 Pedro Alves <palves@redhat.com>
655
656 * gdb.threads/continue-pending-status.c: New file.
657 * gdb.threads/continue-pending-status.exp: New file.
658
32d2e5d6
PA
6592015-03-18 Pedro Alves <palves@redhat.com>
660
661 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
662 Use gdb_is_target_remote instead of is_remote. Use
663 gdb_test_multiple instead of gdb_expect. Exit early if
664 gdb_test_multiple hits its internal matches. Tighten stepi tests
665 expected output. Fail on exit with any signal, instead of just
666 SIGILL.
667
f68f11b7
YQ
6682015-03-18 Yao Qi <yao.qi@linaro.org>
669
670 PR tdep/18107
671 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
672 variable.
673 * gdb.base/catch-syscall.exp: Don't skip it on
674 aarch64*-*-linux* target. Remove elements in all_syscalls.
675 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
676 target.
677 (setup_all_syscalls): New proc.
678
ca5fd19b
YQ
6792015-03-16 Yao Qi <yao.qi@linaro.org>
680
681 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
682 (top level): Skip tests if valid_addr_p returns false for
683 $cmd1 or $cmd2.
684
85642ba0
AW
6852015-03-11 Andy Wingo <wingo@igalia.com>
686
687 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
688
e03f9645
YQ
6892015-03-11 Yao Qi <yao.qi@linaro.org>
690
691 * gdb.base/catch-syscall.exp: Fix typo in comments.
692
5d0962b2
YQ
6932015-03-11 Yao Qi <yao.qi@linaro.org>
694
695 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
696
b2df3cef
PA
6972015-03-09 Pedro Alves <palves@redhat.com>
698
699 * dg-extract-results.py: Delete.
700
ef878e53
PA
7012015-03-09 Pedro Alves <palves@redhat.com>
702
703 Merge dg-extract-results.sh from GCC upstream (r218843).
704
705 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
706 * dg-extract-results.sh: Use --text with grep to avoid issues with
707 binary files. Fall back to cat -v, if that doesn't work.
708
9494d219
PA
7092015-03-05 Pedro Alves <palves@redhat.com>
710
711 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
712
a8d9763a
SM
7132015-03-04 Simon Marchi <simon.marchi@ericsson.com>
714
715 * lib/mi-support.exp (mi_expect_interrupt): Accept
716 alternative event for when in all-stop mode.
717
be9957b8
PA
7182015-03-04 Pedro Alves <palves@redhat.com>
719
720 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
721
d57be0f4 7222015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
723
724 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
725
c214c7cf
AA
7262015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
727
728 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
729 regexps for GDB's current line display, accept a hex address
730 preceding the line number.
731
6d74a497
AA
7322015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
733
734 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
735 the 'arch1' variable for "s390*-linux*" targets.
736
511aee7c
PA
7372015-03-04 Pedro Alves <palves@redhat.com>
738
739 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
740 (main): Pass missing retval argument to pthread_join call.
741
95e50b27
PA
7422015-03-02 Pedro Alves <palves@redhat.com>
743
744 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
745 (top level): Call do_test with non-stop as well.
746
28054d69
PA
7472015-03-02 Pedro Alves <palves@redhat.com>
748
749 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
750 -1.
751
4fa5d7b4
AA
7522015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
753
754 * gdb.arch/s390-vregs.exp: New test.
755 * gdb.arch/s390-vregs.S: New file.
756
97c18565
PA
7572015-02-27 Pedro Alves <palves@redhat.com>
758
759 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
760 call to catch_command_errors.
761 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
762 catch_command_errors.
763
a37bfa30
PA
7642015-02-27 Pedro Alves <palves@redhat.com>
765
766 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
767 "true" for boolean result.
768 * gdb.gdb/selftest.exp (test_with_self): Also accept full
769 prototype of main.
770
6f98576f
PA
7712015-02-27 Pedro Alves <palves@redhat.com>
772
773 * lib/unbuffer_output.c: New file.
774 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
775 (main): Call gdb_unbuffer_output.
776
eba5ab56
YQ
7772015-02-27 Yao Qi <yao.qi@linaro.org>
778
779 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
780 target.
781
0def5aaa
DE
7822015-02-26 Doug Evans <dje@google.com>
783
784 * gdb.cp/class2.cc (Dbase, D): New classes.
785 (main): New local delta.
786 * gdb.cp/class2.exp: Test printing delta.
787 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
788 (dynbar): New global.
789 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
790
081a1c2c
JK
7912015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
792
793 * gdb.compile/compile-ifunc.c: New file.
794 * gdb.compile/compile-ifunc.exp: New file.
795
2f41223f
AT
7962015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
797
798 * gdb.base/structs.exp: Check for correct struct on finish.
799
03eddd80
YQ
8002015-02-26 Yao Qi <yao.qi@linaro.org>
801
802 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
803 is zero.
804
80c57053
JK
8052015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
806
807 * gdb.arch/cordic.ko.bz2: New file.
808 * gdb.arch/cordic.ko.debug.bz2: New file.
809 * gdb.arch/ppc64-symtab-cordic.exp: New file.
810
21613c12
YQ
8112015-02-25 Yao Qi <yao.qi@linaro.org>
812
813 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
814 aarch64*-*-* target.
815
d8b901ed
PA
8162015-02-23 Pedro Alves <palves@redhat.com>
817
818 * lib/gdb.exp (delete_breakpoints): Rewrite using
819 gdb_test_multiple.
820
e5b85ead
PA
8212015-02-23 Pedro Alves <palves@redhat.com>
822
823 * gdb.base/info-os.c: Include stdlib.h.
824
85c3a371
DE
8252015-02-22 Doug Evans <xdje42@gmail.com>
826
827 PR symtab/17855
828 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
829 is read after symbols have been re-read.
830 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
831 * gdb.ada/exec_changed/second.adb (Second): Ditto.
832
96553a0c
DE
8332015-02-21 Doug Evans <dje@google.com>
834
835 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
836
97a0c697
JK
8372015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
838
839 PR corefiles/17808
840 * gdb.arch/i386-biarch-core.core.bz2: New file.
841 * gdb.arch/i386-biarch-core.exp: New file.
842
a47cd6e9
PA
8432015-02-21 Pedro Alves <palves@redhat.com>
844
845 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
846 runto_main fails.
847
c5facdc4
PA
8482015-02-20 Pedro Alves <palves@redhat.com>
849
850 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
851 info probes.
852
2db9a427
PA
8532015-02-20 Pedro Alves <palves@redhat.com>
854
855 * gdb.threads/multi-create-ns-info-thr.exp: New file.
856
60fb7e9e
PA
8572015-02-20 Pedro Alves <palves@redhat.com>
858
859 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
860 clean_restart before gdb_target_supports_trace.
861
5c5019c2
PA
8622015-02-20 Pedro Alves <palves@redhat.com>
863
864 PR threads/18006
865 * gdb.threads/clone-thread_db.c: New file.
866 * gdb.threads/clone-thread_db.exp: New file.
867
c9587f88
AT
8682015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
869
870 PR breakpoints/16812
871 * gdb.base/catch-gdb-caused-signals.c: New file.
872 * gdb.base/catch-gdb-caused-signals.exp: New file.
873
f6a88844
JM
8742015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
875
876 * configure: Regenerated.
877 * configure.ac: Use GDB_AC_TRANSFORM.
878 * aclocal.m4: sinclude ../transform.m4.
879
497c491b
JM
8802015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
881
882 * lib/dtrace.exp: New file.
883 * gdb.base/dtrace-probe.exp: Likewise.
884 * gdb.base/dtrace-probe.d: Likewise.
885 * gdb.base/dtrace-probe.c: Likewise.
886 * lib/pdtrace.in: Likewise.
887 * configure.ac: Output variables with the transformed names of
888 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
889 * configure: Regenerated.
890
03e98035
JM
8912015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
892
893 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
894 expected message when trying to access $_probe_* convenience
895 variables while not on a probe.
896
63cc30e9
JK
8972015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
898
899 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
900
0703599a
PA
9012015-02-11 Pedro Alves <pedro@codesourcery.com>
902
903 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
904 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
905
7e60a48e
DE
9062015-02-10 Doug Evans <xdje42@gmail.com>
907
908 * lib/gdb.exp (gdb_load): Always return a result.
909
01b088bc
PA
9102015-02-10 Pedro Alves <palves@redhat.com>
911
912 * gdb.threads/signal-sigtrap.c: New file.
913 * gdb.threads/signal-sigtrap.exp: New file.
914
b05ec7a5
AT
9152015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
916
917 * gdb.trace/no-attach-trace.c: New file.
918 * gdb.trace/no-attach-trace.exp: New file.
919
a2c2acaf
MW
9202015-02-09 Mark Wielaard <mjw@redhat.com>
921
922 * gdb.dwarf2/atomic.c: New file.
923 * gdb.dwarf2/atomic-type.exp: Likewise.
924
31fd9caa
MM
9252015-02-09 Markus Metzger <markus.t.metzger@intel.com>
926
927 * gdb.btrace/buffer-size.exp: Update "info record" output.
928 * gdb.btrace/delta.exp: Update "info record" output.
929 * gdb.btrace/enable.exp: Update "info record" output.
930 * gdb.btrace/finish.exp: Update "info record" output.
931 * gdb.btrace/instruction_history.exp: Update "info record" output.
932 * gdb.btrace/next.exp: Update "info record" output.
933 * gdb.btrace/nexti.exp: Update "info record" output.
934 * gdb.btrace/step.exp: Update "info record" output.
935 * gdb.btrace/stepi.exp: Update "info record" output.
936 * gdb.btrace/nohist.exp: Update "info record" output.
937
d33501a5
MM
9382015-02-09 Markus Metzger <markus.t.metzger@intel.com>
939
940 * gdb.btrace/buffer-size: New.
941
f4abbc16
MM
9422015-02-09 Markus Metzger <markus.t.metzger@intel.com>
943
944 * gdb.btrace/delta.exp: Update "info record" output.
945 * gdb.btrace/enable.exp: Update "info record" output.
946 * gdb.btrace/finish.exp: Update "info record" output.
947 * gdb.btrace/instruction_history.exp: Update "info record" output.
948 * gdb.btrace/next.exp: Update "info record" output.
949 * gdb.btrace/nexti.exp: Update "info record" output.
950 * gdb.btrace/step.exp: Update "info record" output.
951 * gdb.btrace/stepi.exp: Update "info record" output.
952 * gdb.btrace/nohist.exp: Update "info record" output.
953
b9d61307
SM
9542015-02-06 Simon Marchi <simon.marchi@ericsson.com>
955
956 PR gdb/15678
957 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
958
e584fdbc
PA
9592015-02-06 Pedro Alves <palves@redhat.com>
960
961 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
962 macro.
963 (seconds_left, again): New globals.
964 (main): Wait seconds_left in a 1-second sleep loop instead of
965 sleeping 180 seconds. If 'again' is set, reset the seconds
966 counter.
967 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
968 'again' in the inferior before detaching. Print the seconds left.
969 (options): New global.
970 (top level): Build program with -DTIMEOUT=$timeout.
971
77f41761
PA
9722015-02-06 Pedro Alves <palves@redhat.com>
973
974 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
975 determine how many seconds to pass to 'alarm'.
976 * gdb.base/gdb-sigterm.exp (top level): Build program with
977 -DTIMEOUT=$timeout.
978 (do_test): Return success/failure indication. Add more verbose
979 logging. Don't fail if 200 single steps are seen. Instead, fail
980 when the test times out.
981 (passes): New global.
982 (top level): Break the testing loop if testing fails on any
983 iteration. Use gdb_assert.
984
b9394193
DB
9852015-02-04 Don Breazeal <donb@codesourcery.com>
986
987 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
988 and initialize them.
989 (ipc_cleanup): New function.
990 (main): Don't declare shmid, semid, and msqid. Add a call to
991 atexit so that we call ipc_cleanup on exit.
992
42d9e528
PA
9932015-02-04 Pedro Alves <palves@redhat.com>
994
995 * boards/native-extended-gdbserver.exp: Remove any target variant
996 specifications from the board name before clearing the isremote
997 flag from board_info.
998
ae6ae975
DE
9992015-01-31 Doug Evans <xdje42@gmail.com>
1000
1001 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1002
cfb069a8
GB
10032015-01-31 Gary Benson <gbenson@redhat.com>
1004
1005 * gdb.base/completion.exp: Disable completion limiting for
1006 existing tests. Add new tests to check completion limiting.
1007 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1008
5dd31d79
DE
10092015-01-31 Doug Evans <xdje42@gmail.com>
1010
1011 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1012
9f050062
DE
10132015-01-31 Doug Evans <xdje42@gmail.com>
1014
1015 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1016 entries. Duplicate file section script entries.
1017 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1018 inlined entries. Add test for safe-path rejection.
1019 * gdb.python/py-section-script.c: Add duplicate inlined section script
1020 entries. Duplicate file section script entries.
1021 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1022 inlined entries. Add test for safe-path rejection.
1023
df25ebbd
JB
10242015-01-29 Joel Brobecker <brobecker@adacore.com>
1025
1026 * gdb.ada/disc_arr_bound: New testcase.
1027
4a0ca9ec
JB
10282015-01-29 Joel Brobecker <brobecker@adacore.com>
1029
1030 * gdb.ada/mi_var_array: New testcase.
1031
3a8b707a
DE
10322015-01-27 Doug Evans <dje@google.com>
1033
1034 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1035 Add test for objfile.filename, objfile.username after objfile
1036 has been unloaded.
1037
f8313f6e
JB
10382015-01-26 Joel Brobecker <brobecker@adacore.com>
1039
1040 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1041 the second test to print the name attribute of value
1042 returned by the call to gdb.lookup_type, and adjust
1043 the expected output accordingly.
1044
37bc665e
MW
10452015-01-25 Mark Wielaard <mjw@redhat.com>
1046
1047 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1048 * gdb.base/disp-step-fork.c: Include unistd.h.
1049 * gdb.base/siginfo-obj.c: Include stdio.h.
1050 * gdb.base/siginfo-thread.c: Likewise.
1051 * gdb.mi/non-stop.c: Include unistd.h.
1052 * gdb.mi/nsthrexec.c: Include stdio.h.
1053 * gdb.mi/pthreads.c: Include unistd.h.
1054 * gdb.modula2/unbounded1.c (main): Declare returns int.
1055 * gdb.reverse/consecutive-reverse.c: Likewise.
1056 * gdb.threads/create-fail.c: Include unistd.h.
1057 * gdb.threads/killed.c: Likewise.
1058 * gdb.threads/linux-dp.c: Likewise.
1059 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1060 * gdb.threads/non-ldr-exc-2.c: Likewise.
1061 * gdb.threads/non-ldr-exc-3.c: Likewise.
1062 * gdb.threads/non-ldr-exc-4.c: Likewise.
1063 * gdb.threads/pthreads.c: Include unistd.h.
1064 (main): Declare returns int.
1065 * gdb.threads/tls-main.c (foo): New declaration.
1066 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1067
f7e5394d
SM
10682015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1069
1070 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1071 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1072
743649fd
MW
10732015-01-15 Mark Wielaard <mjw@redhat.com>
1074
1075 * gdb.base/noreturn-return.c: New file.
1076 * gdb.base/noreturn-return.exp: New file.
1077 * gdb.base/noreturn-finish.c: New file.
1078 * gdb.base/noreturn-finish.exp: New file.
1079
198297aa
PA
10802015-01-23 Pedro Alves <palves@redhat.com>
1081
1082 * gdb.threads/continue-pending-after-query.c: New file.
1083 * gdb.threads/continue-pending-after-query.exp: New file.
1084
717cf30c
AG
10852015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1086 Simon Marchi <simon.marchi@ericsson.com>
1087
1088 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1089 * gdb.base/valgrind-db-attach.exp: Same.
1090 * gdb.base/valgrind-infcall.exp: Same.
1091 * lib/mi-support.exp (default_mi_gdb_start): Same.
1092 * lib/prompt.exp (default_prompt_gdb_start): Same.
1093 * lib/gdb.exp (default_gdb_spawn): Same.
1094 (gdb_interact): New.
1095
1096
4b62a76e
JK
10972015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1098
1099 * gdb.compile/compile.exp (pointer to jit function): New test.
1100
b4cdae6f
WW
11012015-01-17 Wei-cheng Wang <cole945@gmail.com>
1102
1103 * lib/gdb.exp (supports_process_record): Return true for
1104 powerpc*-*-linux*.
1105 (supports_reverse): Likewise.
1106
d221e7ef
DB
11072015-01-15 Don Breazeal <donb@codesourcery.com>
1108
1109 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1110 instead of checking whether the target board is remote and
1111 use spawn_wait_for_attach instead of exec/sleep.
1112 * gdb.base/attach-twice.exp: Likewise.
1113
bafffb51
JB
11142015-01-15 Joel Brobecker <brobecker@adacore.com>
1115
1116 * gdb.ada/var_arr_attrs: New testcase.
1117
5589af0e
PA
11182015-01-14 Pedro Alves <palves@redhat.com>
1119 Joel Brobecker <brobecker@adacore.com>
1120
1121 PR gdb/17525
1122 * gdb.base/bp-cmds-execution-x-script.c: New file.
1123 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1124 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1125
6c400b59
PA
11262015-01-14 Pedro Alves <palves@redhat.com>
1127
1128 PR cli/17828
1129 * gdb.base/batch-preserve-term-settings.c: New file.
1130 * gdb.base/batch-preserve-term-settings.exp: New file.
1131
e02c96a7
DE
11322015-01-13 Doug Evans <dje@google.com>
1133
1134 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1135 binary.
1136
576fd14c
JB
11372015-01-13 Joel Brobecker <brobecker@adacore.com>
1138
1139 * Makefile.in (clean mostlyclean): Do not delete *.py.
1140
04dccad0
JB
11412015-01-13 Joel Brobecker <brobecker@adacore.com>
1142
1143 * gdb.python/py-lookup-type.exp: New file.
1144
3d230f71
PA
11452015-01-12 Pedro Alves <palves@redhat.com>
1146
1147 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1148 restore GDBFLAGS before returning.
1149
7e67715d
JK
11502015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1151
1152 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1153 is_amd64_regs_target and is_x86_like_target.
1154
f2e0d4b4
DE
11552015-01-11 Doug Evans <xdje42@gmail.com>
1156
1157 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1158 is given without an explicit form.
1159 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1160 attributes.
1161 * gdb.dwarf/corrupt.exp: Ditto.
1162 * gdb.dwarf2/enum-type.exp: Ditto.
1163 * gdb.trace/entry-values.exp: Ditto.
1164 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1165
439250fb
DE
11662015-01-11 Doug Evans <xdje42@gmail.com>
1167
1168 PR gdb/15830
1169 * gdb.base/maint.exp: Remove references to "maint demangle".
1170 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1171 Add tests for explicitly specifying language to demangle.
1172 * gdb.dlang/demangle.exp: Ditto.
1173
ede9f622
PA
11742015-01-09 Pedro Alves <palves@redhat.com>
1175
1176 * gdb.threads/non-stop-fair-events.c: New file.
1177 * gdb.threads/non-stop-fair-events.exp: New file.
1178
a7b796db
PA
11792015-01-09 Pedro Alves <palves@redhat.com>
1180
1181 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1182 the global scope. Set a breakpoint after all threads are started
1183 rather than stepping over two source lines. Expect the prompt.
1184 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1185 global.
1186 (NUM): Now 15.
1187 (main): Use threads_started_barrier to wait for all threads to
1188 start. Main thread no longer calls thread_function. Exit after
1189 180 seconds.
1190 (loop): New function.
1191 (thread_function): Wait on threads_started_barrier barrier. Call
1192 'loop' at each iteration.
1193 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1194 threads have started, instead of hardcoding number of "next"
1195 steps. Use an access watchpoint instead of a write watchpoint.
1196
9665ffdd
PA
11972015-01-09 Pedro Alves <palves@redhat.com>
1198
1199 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1200 (thread_func): Wait on barrier.
1201 (main): Wait for all threads to start before stopping GDB.
1202 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1203 global.
1204 (thread1_func, thread2_func): Wait on barrier.
1205 (main): Wait for all threads to start before stopping GDB.
1206 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1207 New global.
1208 (thread1_func, thread2_func): Wait on barrier.
1209 (main): Wait for all threads to start before stopping GDB.
1210
c945a99f
PA
12112015-01-09 Pedro Alves <palves@redhat.com>
1212
1213 * gdb.threads/attach-many-short-lived-threads.c: New file.
1214 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1215
c1a747c1
PA
12162014-01-09 Pedro Alves <palves@redhat.com>
1217
1218 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1219 instead of to thread 2.
1220 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1221 Add barrier around each pthread_create call instead of around all
1222 calls.
1223 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1224 Set a break on thread_function and have the child threads hit it
1225 one at at a time.
1226
60b3033e
PA
12272015-01-09 Pedro Alves <palves@redhat.com>
1228
1229 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1230 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1231 false.
1232 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1233 checking whether the target board is remote.
1234 * gdb.multi/multi-attach.exp: Likewise.
1235 * gdb.python/py-sync-interp.exp: Likewise.
1236 * gdb.server/ext-attach.exp: Likewise.
1237 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1238 tests that need to attach, instead of checking whether the target
1239 board is remote at the top of the file.
1240
acc018ac
YQ
12412015-01-08 Yao Qi <yao@codesourcery.com>
1242
1243 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1244
50a18af8
JK
12452015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1246
1247 Fix testcase compilation.
1248 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1249
8503d6e1
JB
12502015-01-06 Joel Brobecker <brobecker@adacore.com>
1251
1252 * gdb.python/py-type.exp: Add a couple test about empty
1253 array creation, and negative-length array creation.
1254
cc73dbcc
DE
12552015-01-02 Doug Evans <xdje42@gmail.com>
1256
1257 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1258
0300bbc7
DE
12592015-01-02 Doug Evans <dje@google.com>
1260
1261 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1262
9d85a0ec
YQ
12632014-12-29 Yao Qi <yao@codesourcery.com>
1264
1265 * gdb.trace/entry-values.exp: Update comments. Rename variable
1266 bar_call_foo to returned_from_foo.
1267
87186c6a
MMN
12682014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1269
1270 PR gdb/17394
1271 * gdb.linespec/break-asm-file.c: New file.
1272 * gdb.linespec/break-asm-file.exp: New file.
1273 * gdb.linespec/break-asm-file0.s: New file.
1274 * gdb.linespec/break-asm-file1.s: New file.
1275
1bab7383
YQ
12762014-12-18 Nigel Stephens <nigel@mips.com>
1277 Maciej W. Rozycki <macro@codesourcery.com>
1278
1279 * gdb.base/float.exp: Handle the new output from "info float" on
1280 MIPS targets.
1281
1bc1068a
JK
12822014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1283
1284 Fix MinGW compilation.
1285 * gdb.compile/compile-ops.exp: Update untested message if
1286 !skip_compile_feature_tests.
1287 * gdb.compile/compile-setjmp.exp: Likewise.
1288 * gdb.compile/compile-tls.exp: Likewise.
1289 * gdb.compile/compile.exp: Likewise.
1290 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1291 supported on this host".
1292
b6615d10
DE
12932014-12-16 Doug Evans <xdje42@gmail.com>
1294
1295 * boards/stabs.exp: New file.
1296
25dda427
AA
12972014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1298
1299 * gdb.base/completion.exp: Adjust to format changes of "maint
1300 print user-registers".
1301
bf330350
CU
13022014-12-16 Catalin Udma <catalin.udma@freescale.com>
1303
1304 PR server/17457
1305 * gdb.arch/aarch64-fp.c: New file.
1306 * gdb.arch/aarch64-fp.exp: New file.
1307
395cf596
SDJ
13082014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1309
1310 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1311 r210637, r210913, r211666, r215400, r215817).
1312
1313 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1314 * dg-extract-results.py: New file.
1315 * dg-extract-results.sh: Use it if the environment seems
1316 suitable.
1317
1318 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1319
1320 * dg-extract-results.py (parse_run): Handle warnings that
1321 are printed before a test harness is run.
1322
1323 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1324
1325 * dg-extract-results.py (Named): Remove __cmp__ method.
1326 (output_variation): Use a key to sort variation.harnesses.
1327
1328 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1329
1330 * dg-extract-results.py: For Python 3, force sys.stdout to
1331 handle surrogate escape sequences.
1332 (safe_open): New function.
1333 (output_segment, main): Use it.
1334
1335 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1336
1337 * dg-extract-results.py (Prog.result_re): Include options
1338 in test name.
1339
1340 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1341
1342 * dg-extract-results.py (output_variation): Always sort if
1343 do_sum.
1344
e882ef3c
SM
13452014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1346
1347 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1348 as long as we get pagination notifications.
1349
4992aa20
JM
13502014-12-15 Jason Merrill <jason@redhat.com>
1351
1352 * Makefile.in (check-gdb.%): Restore.
1353 * README: Mention it.
1354
c1b5a1a6
JB
13552014-12-13 Joel Brobecker <brobecker@adacore.com>
1356
1357 * gdb.ada/str_uninit: New testcase.
1358
5537b577
JK
13592014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1360
1361 PR symtab/17642
1362 * gdb.base/vla-stub-define.c: New file.
1363 * gdb.base/vla-stub.c: New file.
1364 * gdb.base/vla-stub.exp: New file.
1365
bb2ec1b3
TT
13662014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1367 Jan Kratochvil <jan.kratochvil@redhat.com>
1368 Tom Tromey <tromey@redhat.com>
1369
1370 * configure.ac: Add gdb.compile/.
1371 * configure: Regenerate.
1372 * gdb.compile/Makefile.in: New file.
1373 * gdb.compile/compile-ops.exp: New file.
1374 * gdb.compile/compile-ops.c: New file.
1375 * gdb.compile/compile-tls.c: New file.
1376 * gdb.compile/compile-tls.exp: New file.
1377 * gdb.compile/compile-constvar.S: New file.
1378 * gdb.compile/compile-constvar.c: New file.
1379 * gdb.compile/compile-mod.c: New file.
1380 * gdb.compile/compile-nodebug.c: New file.
1381 * gdb.compile/compile-setjmp-mod.c: New file.
1382 * gdb.compile/compile-setjmp.c: New file.
1383 * gdb.compile/compile-setjmp.exp: New file.
1384 * gdb.compile/compile-shlib.c: New file.
1385 * gdb.compile/compile.c: New file.
1386 * gdb.compile/compile.exp: New file.
1387 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1388
4ff709eb
TT
13892014-12-12 Tom Tromey <tromey@redhat.com>
1390
1391 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1392 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1393
6dddd6a5
DE
13942014-12-12 Doug Evans <dje@google.com>
1395
1396 * lib/gdb-python.exp (get_python_valueof): New function.
1397 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1398
71c24708
AA
13992014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1400
1401 * gdb.base/completion.exp: Add test for completion of "info
1402 registers ".
1403
3e29f34a
MR
14042014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1405
1406 * gdb.base/func-ptrs.c: New file.
1407 * gdb.base/func-ptrs.exp: New file.
1408
fc126975
SM
14092014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1410
1411 PR breakpoints/17012
1412 * gdb.base/dprintf-detach.c: New file.
1413 * gdb.base/dprintf-detach.exp: New file.
1414
0a46d518
SM
14152014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1416
1417 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1418 * lib/gdb.exp (target_is_gdbserver): New procedure.
1419
a0be3e44
DE
14202014-12-08 Doug Evans <dje@google.com>
1421
1422 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1423
df1b803a
YQ
14242014-12-05 Yao Qi <yao@codesourcery.com>
1425
1426 * gdb.guile/scm-error.exp: Remove the third argument to
1427 gdb_remote_download.
1428 * gdb.guile/scm-frame-args.exp: Likewise.
1429 * gdb.guile/scm-section-script.exp: Likewise.
1430
ddb9f679
YQ
14312014-12-05 Yao Qi <yao@codesourcery.com>
1432
1433 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1434
86e4ed39
DE
14352014-12-04 Doug Evans <dje@google.com>
1436
1437 * gdb.python/py-objfile.exp: Add tests for
1438 objfile.add_separate_debug_file.
1439
7c50a931
DE
14402014-12-04 Doug Evans <dje@google.com>
1441
1442 * lib/gdb.exp (get_build_id): New function.
1443 (build_id_debug_filename_get): Rewrite to use it.
1444 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1445
621661e3
MR
14462014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1447
1448 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1449 `method(long)', not just 0x0.
1450 * gdb.cp/nsalias.exp: Align code labels to 4.
1451 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1452 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1453 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1454 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1455 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1456 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1457
29f0c3b7
DE
14582014-12-02 Doug Evans <dje@google.com>
1459
e1e061e7 1460 PR symtab/17602
29f0c3b7 1461 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1462 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1463 * gdb.cp/anon-ns.exp: Update.
1464
162078c8
NB
14652014-12-02 Nick Bull <nicholaspbull@gmail.com>
1466
1467 * gdb.python/py-events.py (inferior_call_handler): New.
1468 (register_changed_handler, memory_changed_handler): New.
1469 (test_events.invoke): Register new handlers.
1470 * gdb.python/py-events.exp: Add tests for inferior call,
1471 memory_changed and register_changed events.
1472
fdb09caf
AA
14732014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1474
1475 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1476 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1477 if the linker doesn't understand this.
1478
55cfb2c4
SM
14792014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1480
1481 * gdb.python/python.exp: Change expected reply to help().
1482
9e8cd6df
YQ
14832014-12-01 Yao Qi <yao@codesourcery.com>
1484
1485 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1486 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1487 * configure: Re-generated.
1488
6c659fc2
SC
14892014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1490
1491 * gdb.cp/chained-calls.cc: New file.
1492 * gdb.cp/chained-calls.exp: New file.
1493 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1494
d7fc3181
SM
14952014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1496
1497 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1498 * gdb.dwarf2/symtab-producer.exp: Same.
1499 * gdb.gdb/python-interrupts.exp: Same.
1500 * gdb.gdb/python-selftest.exp: Same.
1501 * gdb.python/py-linetable.exp: Same.
1502 * gdb.python/py-type.exp: Same.
1503 * gdb.python/py-value-cc.exp: Same.
1504 * gdb.python/py-value.exp: Same.
1505
10e79639
YQ
15062014-11-28 Yao Qi <yao@codesourcery.com>
1507
1508 * gdb.base/break-probes.exp: Match library name prefixed with
1509 sysroot.
1510
f28a0564
SM
15112014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1512
1513 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1514 test expected output. Add parentheses for the call to print.
1515 Remove L suffix from integers.
1516
3fe1ce1d
DE
15172014-11-26 Doug Evans <dje@google.com>
1518
1519 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1520
84429e27
YQ
15212014-11-22 Yao Qi <yao@codesourcery.com>
1522
1523 * gdb.trace/entry-values.c: Remove asms.
1524 (foo): Add foo_label.
1525 (bar): Add bar_label.
1526 * gdb.trace/entry-values.exp: Remove code computing foo's
1527 length and bar's length.
1528 (Dwarf::assemble): Invoke function_range for bar and use
1529 MACRO_AT_func for foo.
1530
26741859
YQ
15312014-11-22 Yao Qi <yao@codesourcery.com>
1532
1533 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1534 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1535 Use .Lgcc43_procstart instead of gcc43.
1536
45e44d27
JB
15372014-11-21 Joel Brobecker <brobecker@adacore.com>
1538
1539 * gdb.ada/n_arr_bound: New testcase.
1540
458c8db8
SDJ
15412014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1542
1543 PR breakpoints/10737
1544 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1545 test_catch_syscall_multi_arch.
1546 (test_catch_syscall_multi_arch): New function.
1547
43f3e411
DE
15482014-11-20 Doug Evans <xdje42@gmail.com>
1549
1550 * gdb.base/maint.exp: Update expected output.
1551
0d7b2549
AA
15522014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1553
1554 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1555 4-byte instruction on S390.
1556
8908fca5
JB
15572014-11-19 Joel Brobecker <brobecker@adacore.com>
1558
1559 * gdb.ada/arr_arr: New testcase.
1560
4a46959e
JB
15612014-11-19 Joel Brobecker <brobecker@adacore.com>
1562
1563 * gdb.ada/pkd_arr_elem: New Testcase.
1564
470e2f4e
LM
15652014-11-18 Luis Machado <lgustavo@codesourcery.com>
1566
1567 * gdb.reverse/break-precsave: Expect completion message for
1568 core file reads.
1569 * gdb.reverse/consecutive-precsave.exp: Likewise.
1570 * gdb.reverse/finish-precsave.exp: Likewise.
1571 * gdb.reverse/i386-precsave.exp: Likewise.
1572 * gdb.reverse/machinestate-precsave.exp: Likewise.
1573 * gdb.reverse/sigall-precsave.exp: Likewise.
1574 * gdb.reverse/solib-precsave.exp: Likewise.
1575 * gdb.reverse/step-precsave.exp: Likewise.
1576 * gdb.reverse/until-precsave.exp: Likewise.
1577 * gdb.reverse/watch-precsave.exp: Likewise.
1578
a267f3ad
AA
15792014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1580
1581 * gdb.base/bp-permanent.c: Include unistd.h.
1582 * gdb.python/py-framefilter-mi.c (main): Add return type.
1583 * gdb.python/py-framefilter.c (main): Likewise.
1584 * gdb.trace/actions-changed.c (main): Likewise.
1585
12084a9a
AA
15862014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1587
1588 * gdb.mi/until.c: Add eye-catchers.
1589 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1590 line numbers.
1591
dc7e1a77
AA
15922014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1593
1594 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1595 function header variants in break1.c.
1596 * gdb.base/ena-dis-br.exp: Likewise.
1597 * gdb.base/hbreak2.exp: Likewise.
1598 * gdb.reverse/until-precsave.exp: Drop references to removed
1599 non-prototype function header variants in ur1.c.
1600 * gdb.reverse/until-reverse.exp: Likewise.
1601
41c77605
PM
16022014-11-17 Petr Machata <pmachata@redhat.com>
1603
1604 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1605 ${_cu_offset_size} bytes abbrev offset.
1606
34248c3a
DE
16072014-11-15 Doug Evans <xdje42@gmail.com>
1608
1609 PR symtab/17559
1610 * gdb.base/line-symtabs.exp: New file.
1611 * gdb.base/line-symtabs.c: New file.
1612 * gdb.base/line-symtabs.h: New file.
1613
646da059
YQ
16142014-11-14 Yao Qi <yao@codesourcery.com>
1615
1616 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1617 (func): Add label func_label.
1618 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1619 Replace low_pc and high_pc with MACRO_AT_range.
1620 Replace name, low_pc and high_pc with MACRO_AT_func.
1621
9301ebe6
YQ
16222014-11-14 Yao Qi <yao@codesourcery.com>
1623
1624 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1625 Replace name, low_pc and high_pc with MACRO_AT_func.
1626
f166b542
YQ
16272014-11-14 Yao Qi <yao@codesourcery.com>
1628
1629 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1630 produce debug information.
1631 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1632
0f6e71e3
YQ
16332014-11-14 Yao Qi <yao@codesourcery.com>
1634
1635 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1636 object and get function length.
1637 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1638 with MACRO_AT_func.
1639 (top-level): Replace gdb_compile and clean_restart with
1640 prepare_for_testing.
1641 * gdb.dwarf2/main.c (main): Add label main_label.
1642
876c4df9
YQ
16432014-11-14 Yao Qi <yao@codesourcery.com>
1644
1645 * lib/dwarf.exp (function_range): New procedure.
1646 (Dwarf::_handle_macro_at_func): New procedure.
1647 (Dwarf::_handle_macro_at_range): New procedure.
1648 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1649
02ad9cf1
YQ
16502014-11-14 Yao Qi <yao@codesourcery.com>
1651
1652 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1653 (_handle_attribute): New procedure.
1654
a59add0c
AA
16552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1656
1657 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1658 * gdb.base/call-sc.c (zed): Likewise.
1659 * gdb.base/checkpoint.c (main): Likewise.
1660 * gdb.base/dump.c (main): Likewise.
1661 * gdb.base/gcore.c (main): Likewise.
1662 * gdb.base/huge.c (main): Likewise.
1663 * gdb.base/multi-forks.c (main): Likewise.
1664 * gdb.base/pr10179-a.c (main): Likewise.
1665 * gdb.base/savedregs.c (main): Likewise.
1666 * gdb.base/sigaltstack.c (main): Likewise.
1667 * gdb.base/siginfo.c (main): Likewise.
1668 * gdb.base/structs.c (zed): Likewise.
1669 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1670 * gdb.mi/mi-syn-frame.c (main): Likewise.
1671 * gdb.mi/until.c (foo, main): Likewise.
1672 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1673 * gdb.base/solib-weak.c (foo): Declare.
1674 * gdb.base/attach-twice.c: Include stdio.h.
1675 * gdb.base/weaklib1.c: Likewise.
1676 * gdb.base/weaklib2.c: Likewise.
1677 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1678 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1679 unistd.h.
1680 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1681 * gdb.mi/mi-exit-code.c: Likewise.
1682 * gdb.base/break-interp-lib.c: Include string.h.
1683 * gdb.base/coremaker.c: Likewise.
1684 * gdb.base/testenv.c: Likewise.
1685 * gdb.python/py-finish-breakpoint.c: Likewise.
1686 * gdb.base/inferior-died.c: Include sys/wait.h.
1687 * gdb.base/fileio.c: Include time.h.
1688 * gdb.base/async-shell.c: Include unistd.h.
1689 * gdb.base/dprintf-non-stop.c: Likewise.
1690 * gdb.base/info-os.c: Likewise.
1691 * gdb.mi/mi-console.c: Likewise.
1692 * gdb.mi/watch-nonstop.c: Likewise.
1693 * gdb.python/py-events.c: Likewise.
1694 * gdb.base/async.c (baz): Move up before its invocation.
1695 * gdb.base/code_elim2.c (my_global_func): Likewise.
1696 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1697 * gdb.base/advance.c (func2): Likewise.
1698
3b5d5997
AA
16992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1700
1701 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1702 variant.
1703 * gdb.base/annota3.c: Likewise.
1704 * gdb.base/async.c: Likewise.
1705 * gdb.base/average.c: Likewise.
1706 * gdb.base/call-ar-st.c: Likewise.
1707 * gdb.base/call-rt-st.c: Likewise.
1708 * gdb.base/call-sc.c: Likewise.
1709 * gdb.base/call-strs.c: Likewise.
1710 * gdb.base/ending-run.c: Likewise.
1711 * gdb.base/execd-prog.c: Likewise.
1712 * gdb.base/exprs.c: Likewise.
1713 * gdb.base/foll-exec.c: Likewise.
1714 * gdb.base/foll-fork.c: Likewise.
1715 * gdb.base/foll-vfork.c: Likewise.
1716 * gdb.base/funcargs.c: Likewise.
1717 * gdb.base/gcore.c: Likewise.
1718 * gdb.base/jump.c: Likewise.
1719 * gdb.base/langs0.c: Likewise.
1720 * gdb.base/langs1.c: Likewise.
1721 * gdb.base/langs2.c: Likewise.
1722 * gdb.base/mips_pro.c: Likewise.
1723 * gdb.base/nodebug.c: Likewise.
1724 * gdb.base/opaque0.c: Likewise.
1725 * gdb.base/opaque1.c: Likewise.
1726 * gdb.base/recurse.c: Likewise.
1727 * gdb.base/run.c: Likewise.
1728 * gdb.base/scope0.c: Likewise.
1729 * gdb.base/scope1.c: Likewise.
1730 * gdb.base/setshow.c: Likewise.
1731 * gdb.base/setvar.c: Likewise.
1732 * gdb.base/shmain.c: Likewise.
1733 * gdb.base/shr1.c: Likewise.
1734 * gdb.base/shr2.c: Likewise.
1735 * gdb.base/sigall.c: Likewise.
1736 * gdb.base/signals.c: Likewise.
1737 * gdb.base/so-indr-cl.c: Likewise.
1738 * gdb.base/solib2.c: Likewise.
1739 * gdb.base/structs.c: Likewise.
1740 * gdb.base/sum.c: Likewise.
1741 * gdb.base/vforked-prog.c: Likewise.
1742 * gdb.base/watchpoint.c: Likewise.
1743 * gdb.reverse/shr2.c: Likewise.
1744 * gdb.reverse/until-reverse.c: Likewise.
1745 * gdb.reverse/ur1.c: Likewise.
1746 * gdb.reverse/watch-reverse.c: Likewise.
1747
066a77c5
AA
17482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1749
1750 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1751 variant.
1752 * gdb.base/sepdebug.exp: Drop references to removed code.
1753
4f204ea5
AA
17542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1755
1756 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1757 variant. Preserve original line numbering.
1758 * gdb.base/list1.c: Likewise.
1759
3b377a3a
AA
17602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1761
1762 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1763 variant.
1764 * gdb.base/break1.c: Likewise.
1765 * gdb.base/break.exp: Drop references to removed code.
1766
e444df73
AA
17672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1768
1769 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1770 variant.
1771
8008f2a7
AA
17722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1773
1774 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1775
a5a06887
AA
17762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1777
1778 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1779 logic into perform_all_tests() and invoke it with and without
1780 function header prototypes.
1781 (do_function_calls): Remove conditional XFAIL for PR 5318.
1782 (rerun_and_prepare): Remove duplicate code.
1783 (perform_all_tests): New. Main logic moved here.
1784
44dba9b9
AA
17852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1786
1787 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1788 code guarded by #ifdef NO_PROTOTYPES.
1789 (t_double_many_args): Likewise.
1790 (DEF_FUNC_MANY_ARGS_1): Likewise.
1791 (DEF_FUNC_VALUES_1): Likewise.
1792 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1793 guarded by #ifdef PROTOTYPES.
1794
d1fbcd56
AA
17952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1796
1797 * gdb.mi/mi-console.c: Add eye-catcher.
1798 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1799 instead of literal line number.
1800
b0e59b8f
AA
18012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1802
1803 * gdb.base/shr2.c: Add eye-catcher.
1804 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1805 line number.
1806
78f98cca
AA
18072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1808
1809 * gdb.base/jump.c: Add eye-catchers.
1810 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1811 numbers.
1812
58fa2af0
AA
18132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1814
1815 * gdb.base/execd-prog.c: Add eye-catchers.
1816 * gdb.base/foll-exec.c: Likewise.
1817 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1818 line numbers.
1819
04e5059b
AA
18202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1821
1822 * gdb.base/ending-run.c: Add eye-catchers.
1823 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1824 literal line numbers.
1825
dbfdb174
AA
18262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1827
1828 * gdb.base/call-rt-st.c: Add eye-catchers.
1829 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1830 literal line numbers.
1831
888a2ade
AA
18322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1833
1834 * gdb.base/call-ar-st.c: Add eye-catchers.
1835 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1836 literal line numbers.
1837
6acc2dde
AA
18382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1839
1840 * gdb.base/average.c: Add eye-catchers.
1841 * gdb.base/sum.c: Likewise.
1842 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1843 regexps dynamically.
1844
9ecfcd1d
AA
18452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1846
1847 * gdb.base/solib1.c: Add eye-catchers.
1848 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1849 literal line numbers.
1850
78708b7c
PA
18512014-11-12 Pedro Alves <palves@redhat.com>
1852
1853 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1854 leader has exited.
1855
af48d08f
PA
18562014-11-12 Pedro Alves <palves@redhat.com>
1857
1858 * gdb.arch/i386-bp_permanent.c: New file.
1859 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1860 (srcfile): Set to i386-bp_permanent.c.
1861 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1862 that stepi does not execute the 'leave' instruction, instead of
1863 testing it does execute.
1864 * gdb.base/bp-permanent.c: New file.
1865 * gdb.base/bp-permanent.exp: New file.
1866
af3768e9
DE
18672014-11-10 Doug Evans <xdje42@gmail.com>
1868
1869 PR symtab/17564
1870 * gdb.base/symtab-search-order.exp: New file.
1871 * gdb.base/symtab-search-order.c: New file.
1872 * gdb.base/symtab-search-order-1.c: New file.
1873 * gdb.base/symtab-search-order-shlib-1.c: New file.
1874
9de00a4a
PA
18752014-11-07 Pedro Alves <palves@redhat.com>
1876
1877 PR gdb/17511
1878 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1879 i?86-*-linux*.
1880
e0f52461
SC
18812014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1882
1883 PR c++/17494
1884 * gdb.cp/pr17494.cc: New file.
1885 * gdb.cp/pr17494.exp: New file.
1886
6ce8c980
YQ
18872014-11-02 Yao Qi <yao@codesourcery.com>
1888
1889 * gdb.python/python.exp: Get working directory and match the
1890 output of "set extended-prompt \\w " with it.
1891
02be9a71
DE
18922014-10-30 Doug Evans <dje@google.com>
1893
1894 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1895 in objfiles.
1896 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1897 in progspaces.
1898
3bdff46b
LM
18992014-10-30 Janis Johnson <janisjo@codesourcery.com>
1900
1901 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1902 * gdb.base/realname-expand.exp: Likewise.
1903 * gdb.linespec/macro-relative.exp: Likewise.
1904
ab917dfb
PA
19052014-10-29 Pedro Alves <palves@redhat.com>
1906
1907 PR gdb/17408
1908 * gdb.threads/schedlock.c (some_function): New function.
1909 (call_function): New global.
1910 (MAYBE_CALL_SOME_FUNCTION): New macro.
1911 (thread_function): Call it.
1912 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1913 and use it instead of a global counter. Adjust all callers.
1914 (get_current_thread): Use "find current thread" for test message
1915 here rather than having all callers pass down the same string.
1916 (goto_loop): New procedure, factored out from ...
1917 (my_continue): ... this.
1918 (step_ten_loops): Change parameter from test message to command to
1919 use. Adjust.
1920 (list_count): Delete global.
1921 (check_result): New procedure, factored out from duplicate top
1922 level code.
1923 (continue tests): Wrap in with_test_prefix.
1924 (test_step): New procedure, factored out from duplicate top level
1925 code.
1926 (top level): Test "step" in combination with all scheduler-locking
1927 modes. Test "next" in combination with all scheduler-locking
1928 modes, and in combination with stepping over a function call or
1929 not.
1930 * gdb.threads/next-bp-other-thread.c: New file.
1931 * gdb.threads/next-bp-other-thread.exp: New file.
1932
d3d4baed
PA
19332014-10-29 Pedro Alves <palves@redhat.com>
1934
1935 PR python/17372
1936 * gdb.python/python.exp: Test a multi-line command that spawns
1937 interactive Python.
1938 * gdb.base/multi-line-starts-subshell.exp: New file.
1939
563e8d85
YQ
19402014-10-29 Yao Qi <yao@codesourcery.com>
1941
1942 * gdb.base/fileio.exp: Make directories on host.
1943
0ea4d52e
YQ
19442014-10-29 Yao Qi <yao@codesourcery.com>
1945
1946 * gdb.base/fileio.c (test_write): Close the file.
1947
7f5ef605
PA
19482014-10-28 Pedro Alves <palves@redhat.com>
1949
1950 PR gdb/12623
1951 * gdb.base/sigstep.c (no_handler): New global.
1952 (main): If 'no_handler is true, set the signal handlers to
1953 SIG_IGN.
1954 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1955 with_sw_watch and no_handler parameters. Handle them.
1956 (top level) <stepping over handler when stopped at a breakpoint
1957 test>: Add a test axis for testing with a software watchpoint, and
1958 another for testing with the signal handler set to SIG_IGN.
1959 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1960 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1961
abbdbd03
PA
19622014-10-28 Pedro Alves <palves@redhat.com>
1963
1964 PR gdb/17511
1965 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1966 * gdb.base/sigstep.exp (other_handler_location): New global.
1967 (advance): Support stepping into the signal handler, and running
1968 commands while in the handler.
1969 (in_handler_map): New global.
1970 (top level): In the advance test, add combinations for getting
1971 into the handler with stepping commands, and for running commands
1972 in the handler. Add comment descripting the advancei tests.
1973
1df4399f
PA
19742014-10-28 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.base/sigstep.exp: Use build_executable instead of
1977 prepare_for_testing.
1978 (top level): Move code that starts GDB, runs to main and creates a
1979 display to ...
1980 (restart): ... this new procedure.
1981 (top level): Move backtrace from signal handler test to ...
1982 (validate_backtrace): ... this new procedure.
1983 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1984 with_test_prefix. Always restart GDB.
1985 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1986 with_test_prefix. Always restart GDB. No need to delete
1987 breakpoints after the test.
1988 (test_skip_handler): Remove prefix parameter.
1989 (skip_over_handler, breakpoint_to_handler)
1990 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1991 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1992 restart GDB. No need to delete breakpoints after the test.
1993 (top level): Use foreach to call the test procedures with
1994 different commands.
1995
a5b6e449
PA
19962014-10-28 Pedro Alves <palves@redhat.com>
1997
1998 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1999 instead of GNATS numbers.
2000 * gdb.base/sigbpt.exp: Likewise.
2001 * gdb.base/siginfo.exp: Likewise.
2002 * gdb.base/sigstep.exp: Likewise.
2003
e5f8a7cc
PA
20042014-10-27 Pedro Alves <palves@redhat.com>
2005
2006 * gdb.base/sigstep.c (dummy): New global.
2007 (main): Issue a couple writes to the new global.
2008 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2009 procedures.
2010 (skip_over_handler): Use test_skip_handler.
2011 (top level): Call skip_over_handler for stepi and nexti too.
2012 (breakpoint_over_handler): Use test_skip_handler.
2013 (top level): Call breakpoint_over_handler for stepi and nexti too.
2014
763905a3
YQ
20152014-10-27 Yao Qi <yao@codesourcery.com>
2016
2017 * gdb.trace/tfile.c (adjust_function_address)
2018 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2019 function descriptor.
2020
6f259a23
DB
20212014-10-24 Don Breazeal <donb@codesourcery.com>
2022
2023 * gdb.base/foll-fork.exp (test_follow_fork,
2024 catch_fork_child_follow): Check for updated fork messages emitted
2025 from infrun.c.
2026 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2027 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2028 vfork_and_exec_child_follow_through_step): Check for updated vfork
2029 messages emitted from infrun.c.
2030
09dd9a69
PA
20312014-10-24 Pedro Alves <palves@redhat.com>
2032
2033 * gdb.base/corefile.exp: Remove references to ultrix.
2034 * gdb.base/interrupt.exp: Likewise.
2035 * gdb.base/whatis.exp: Likewise.
2036 * gdb.gdb/selftest.exp: Likewise.
2037 * gdb.threads/manythreads.exp: Likewise.
2038 * gdb.threads/print-threads.exp: Likewise.
2039 * gdb.threads/pthreads.exp:: Likewise.
2040 * gdb.threads/schedlock.exp: Likewise.
2041
3433cfa5
SC
20422014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2043
2044 * gdb.cp/non-trivial-retval.cc: Add a test case.
2045 * gdb.cp/non-trivial-retval.exp: Add a test.
2046
092f880b
YQ
20472014-10-20 Yao Qi <yao@codesourcery.com>
2048
2049 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2050 * gdb.python/py-objfile-script-gdb.py: New file.
2051 * gdb.python/py-objfile-script.exp: Update reference to
2052 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2053 of remote_download. Remove the dest file.
2054
acbdb7f3
YQ
20552014-10-20 Yao Qi <yao@codesourcery.com>
2056
2057 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2058 * gdb.base/step-line.exp: Likewise.
2059 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2060 * gdb.dwarf2/dw2-basic.exp: Likewise.
2061 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2062 * gdb.dwarf2/dw2-filename.exp: Likewise.
2063 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2064 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2065 * gdb.dwarf2/dw2-producer.exp: Likewise.
2066 * gdb.dwarf2/mac-fileno.exp: Likewise.
2067 * gdb.python/py-frame-args.exp: Likewise.
2068 * gdb.python/py-framefilter.exp: Likewise.
2069 * gdb.python/py-mi.exp: Likewise.
2070 * gdb.python/py-objfile-script.exp: Likewise
2071 * gdb.python/py-pp-integral.exp: Likewise.
2072 * gdb.python/py-pp-re-notag.exp: Likewise.
2073 * gdb.python/py-prettyprint.exp: Likewise.
2074 * gdb.python/py-section-script.exp: Likewise.
2075 * gdb.python/py-typeprint.exp: Likewise.
2076 * gdb.python/py-xmethods.exp: Likewise.
2077 * gdb.stabs/weird.exp: Likewise.
2078 * gdb.xml/tdesc-regs.exp: Likewise.
2079
bd286a29
KCY
20802014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2081
2082 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2083 (out_cu): Use addr_len for the size of addresses.
2084 (out_line): Likewise. Size DW_LNE_set_address instruction
2085 according to addr_len.
2086 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2087 (FUNC): Add START_INSNS to definition.
2088
673dc4a0
YQ
20892014-10-18 Yao Qi <yao@codesourcery.com>
2090
2091 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2092 gdb_has_argv0 return true.
2093 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2094 check [target_info exists noargs], check [gdb_has_argv0]
2095 instead.
2096 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2097 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2098 procedures.
2099
4ffbba72
DE
21002014-10-17 Doug Evans <dje@google.com>
2101
2102 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2103 event.
2104 * gdb.python/py-events.py: Add clear_objfiles event.
2105
d096d8c1
DE
21062014-10-17 Doug Evans <dje@google.com>
2107
2108 * gdb.python/py-objfile.exp: Test progspace attribute.
2109
a80db015
LM
21102014-10-17 Luis Machado <lgustavo@codesourcery.com>
2111
2112 * gdb.guile/scm-breakpoint.exp: Do not assume any
2113 directory separators when matching source file paths.
2114 * gdb.python/py-breakpoint.exp: Likewise.
2115 * gdb.reverse/break-precsave.exp: Likewise.
2116 * gdb.reverse/break-reverse.exp: Likewise.
2117 * gdb.reverse/consecutive-precsave.exp: Likewise.
2118 * gdb.reverse/finish-precsave.exp: Likewise.
2119 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2120 * gdb.reverse/finish-reverse.exp: Likewise.
2121 * gdb.reverse/i386-precsave.exp: Likewise.
2122 * gdb.reverse/i387-env-reverse.exp: Likewise.
2123 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2124 * gdb.reverse/machinestate-precsave.exp: Likewise.
2125 * gdb.reverse/machinestate.exp: Likewise.
2126 * gdb.reverse/sigall-precsave.exp: Likewise.
2127 * gdb.reverse/solib-precsave.exp: Likewise.
2128 * gdb.reverse/step-precsave.exp: Likewise.
2129 * gdb.reverse/until-precsave.exp: Likewise.
2130 * gdb.reverse/watch-precsave.exp: Likewise.
2131 * gdb.reverse/watch-reverse.exp: Likewise.
2132
b22089ab
YQ
21332014-10-17 Yao Qi <yao@codesourcery.com>
2134
2135 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2136 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2137
6c4486e6
PA
21382014-10-17 Pedro Alves <palves@redhat.com>
2139
2140 PR gdb/17471
2141 * gdb.base/bg-execution-repeat.c: New file.
2142 * gdb.base/bg-execution-repeat.exp: New file.
2143
0ff33695
PA
21442014-10-17 Pedro Alves <palves@redhat.com>
2145
2146 PR gdb/17300
2147 * gdb.base/continue-all-already-running.c: New file.
2148 * gdb.base/continue-all-already-running.exp: New file.
2149
6fdebc3d
PA
21502014-10-17 Pedro Alves <palves@redhat.com>
2151
2152 PR gdb/17472
2153 * gdb.base/annota-input-while-running.c: New file.
2154 * gdb.base/annota-input-while-running.exp: New file.
2155
32a8097b
PA
21562014-10-17 Pedro Alves <palves@redhat.com>
2157
2158 * gdb.base/callfuncs.exp: emove references to osf.
2159 * gdb.base/sigall.exp: Likewise.
2160 * gdb.gdb/selftest.exp: Likewise.
2161 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2162 * gdb.mi/non-stop.c: Likewise.
2163 * gdb.mi/pthreads.c: Likewise.
2164 * gdb.reverse/sigall-precsave.exp: Likewise.
2165 * gdb.reverse/sigall-reverse.exp: Likewise.
2166 * gdb.threads/pthreads.c: Likewise.
2167 * gdb.threads/pthreads.exp: Likewise.
2168
7a3517ff
YQ
21692014-10-17 Yao Qi <yao@codesourcery.com>
2170
2171 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2172 check 'target_info exists noargs'.
2173 (test_command_prompt_position): Likewise.
2174 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2175 Remove "set args".
2176 (progvar_simple_while_test): Likewise.
2177 (progvar_complex_if_while_test): Likewise.
2178 (if_while_breakpoint_command_test): Likewise.
2179 (infrun_breakpoint_command_test): Likewise.
2180 (breakpoint_command_test): Likewise.
2181 (watchpoint_command_test): Likewise.
2182 (bp_deleted_in_command_test): Likewise.
2183 (temporary_breakpoint_commands): Likewise.
2184
bb99c472
YQ
21852014-10-16 Yao Qi <yao@codesourcery.com>
2186
2187 * gdb.base/remotetimeout.exp: Remove noargs checking.
2188
7c16b83e
PA
21892014-10-15 Pedro Alves <palves@redhat.com>
2190
2191 PR breakpoints/9649
2192 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2193 * gdb.base/breakpoint-in-ro-region.exp
2194 (probe_target_hardware_step): New procedure.
2195 (top level): Probe hardware stepping and hardware breakpoint
2196 support. Test stepping through a read-only region, with both
2197 "breakpoint auto-hw" on and off and both "always-inserted" on and
2198 off.
2199
35a49624
IB
22002014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2201
2202 * gdb.dlang/demangle.exp: Update for demangling changes.
2203
2d1c107c
SC
22042014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2205
2206 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2207 * gdb.cp/non-trivial-retval.exp: Add new tests.
2208
778811d5
SC
22092014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2210
2211 PR c++/13403
2212 PR c++/15154
2213 * gdb.cp/non-trivial-retval.cc: New file.
2214 * gdb.cp/non-trivial-retval.exp: New file.
2215
10c5f0a8
YQ
22162014-10-15 Yao Qi <yao@codesourcery.com>
2217
2218 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2219 remote host.
2220
65d7b369
YQ
22212014-10-15 Yao Qi <yao@codesourcery.com>
2222
2223 * gdb.python/py-symbol.exp: Match file base name if host is
2224 remote, otherwise match file name with dir name.
2225 * gdb.python/py-symtab.exp: Likewise.
2226 * gdb.python/python.exp: Likewise.
2227
46dc1394
YQ
22282014-10-15 Yao Qi <yao@codesourcery.com>
2229
2230 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2231 pattern.
2232 * gdb.python/py-symtab.exp: Likewise.
2233 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2234 locationn.
2235
c40cc657
JB
22362014-10-14 Joel Brobecker <brobecker@adacore.com>
2237
2238 * gdb.ada/addr_arith: New testcase.
2239
2abf49e1
MR
22402014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2241
2242 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2243 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2244 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2245 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2246
f7088df3
SDJ
22472014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2248
2249 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2250 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2251 * gdb.arch/stap-eval-lang-ada.exp: New file.
2252
4dc06805
YQ
22532014-10-14 Yao Qi <yao@codesourcery.com>
2254
2255 * gdb.mi/mi-var-child.c (nothing1): New function.
2256 (nothing2): New function.
2257 (do_children_tests): Set function pointers by nothing1 and
2258 nothing2.
2259 * gdb.mi/mi-var-child.exp: Step over new added statements.
2260 Update test to match the new output.
2261 * gdb.mi/var-cmd.c (nothing1): New function.
2262 (nothing2): New function.
2263 (do_children_tests): Set function pointers by nothing1 and
2264 nothing2.
2265 * gdb.mi/mi-var-display.exp: Update test to match output.
2266 Step to the line specified by $line_dct_nothing.
2267 Increase the number of lines to step.
2268
46a93de2
YQ
22692014-10-14 Yao Qi <yao@codesourcery.com>
2270
2271 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2272 tests.
2273 * gdb.mi/mi2-var-child.exp: Likewise.
2274
14ea52ee
DE
22752014-10-13 Doug Evans <dje@google.com>
2276
2277 * gdb.python/py-objfile.exp: Change name of file name test.
2278
e5c6e92b
DE
22792014-10-13 Doug Evans <dje@google.com>
2280
2281 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2282 from the start of the CU.
2283
c780cc2f
JK
22842014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2285 Yao Qi <yao@codesourcery.com>
2286
2287 Fix "save breakpoints" for "catch" command.
2288 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2289 Remove -nonewline. Match also the added "main" line.
2290
99894e11
JK
22912014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2292
2293 Fix "save breakpoints" for "disable $bpnum" command.
2294 * gdb.base/save-bp.c (main): Add label.
2295 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2296
6e1ac5a3
JK
22972014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2298
2299 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2300
754dd2b0
YQ
23012014-10-11 Yao Qi <yao@codesourcery.com>
2302
2303 * gdb.server/server-kill.exp: Execute command
2304 "set remote trace-status-packet on" before "tstatus".
2305
f90183d7
YQ
23062014-10-11 Yao Qi <yao@codesourcery.com>
2307
2308 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2309 (main): Call getppid.
2310 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2311 and continue to it. Read variable "server_pid".
2312
bf40a607
YQ
23132014-10-11 Yao Qi <yao@codesourcery.com>
2314
2315 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2316
052ca370
YQ
23172014-10-11 Yao Qi <yao@codesourcery.com>
2318
2319 * gdb.threads/thread-find.exp: Don't execute command
2320 "info threads".
2321 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2322 * gdb.threads/linux-dp.exp: Don't check the condition
2323 $threads_created equals to zero.
2324
3831839c
PA
23252014-10-10 Pedro Alves <palves@redhat.com>
2326
2327 * gdb.base/bigcore.exp: Remove references to IRIX.
2328 * gdb.base/funcargs.exp: Likewise.
2329 * gdb.base/interrupt.exp: Likewise.
2330 * gdb.base/mips_pro.exp: Likewise.
2331 * gdb.base/nodebug.exp: Likewise.
2332 * gdb.base/setvar.exp: Likewise.
2333 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2334
8b9a549d
PA
23352014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2336 Pedro Alves <palves@redhat.com>
2337
2338 PR symtab/14466
2339 * gdb.base/vdso-warning.c: New file.
2340 * gdb.base/vdso-warning.exp: New file.
2341
d48ba5e8
DE
23422014-10-02 Doug Evans <dje@google.com>
2343
2344 * gdb.base/structs.c (main): Don't run forever.
2345
2278c276
PA
23462014-10-02 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2349 (top level) <stop threads 1, stop threads 2>: Use it.
2350
b57bacec
PA
23512014-10-02 Pedro Alves <palves@redhat.com>
2352
2353 * gdb.threads/break-while-running.exp (test): Add new
2354 'update_thread_list' argument. Skip "info threads" if false.
2355 (top level): Add new 'update_thread_list' axis.
2356
13fd3ff3
PA
23572014-10-02 Pedro Alves <palves@redhat.com>
2358
2359 PR breakpoints/17431
2360 * gdb.base/execl-update-breakpoints.c: New file.
2361 * gdb.base/execl-update-breakpoints.exp: New file.
2362
0fec99e8
PA
23632014-10-01 Pedro Alves <palves@redhat.com>
2364
2365 * gdb.base/breakpoint-in-ro-region.c: New file.
2366 * gdb.base/breakpoint-in-ro-region.exp: New file.
2367
2ddf4301
SM
23682014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2369
2370 * gdb.mi/mi-exit-code.exp: New file.
2371 * gdb.mi/mi-exit-code.c: New file.
2372
6a5f3f43
YQ
23732014-09-30 Yao Qi <yao@codesourcery.com>
2374
2375 * lib/prelink-support.exp (build_executable_own_libs): Error if
2376 the target isn't native.
2377
345bcc73
YQ
23782014-09-30 Yao Qi <yao@codesourcery.com>
2379
2380 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2381 false.
2382
a25a5a45
PA
23832014-09-22 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.threads/break-while-running.exp: New file.
2386 * gdb.threads/break-while-running.c: New file.
2387
00ba3162
YQ
23882014-09-19 Yao Qi <yao@codesourcery.com>
2389
2390 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2391 Invoke test. Restart GDB with --readnow and invoke test again.
2392
c3b7b696
YQ
23932014-09-19 Yao Qi <yao@codesourcery.com>
2394
2395 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2396 proc set_breakpoint_on_gcd_function. Invoke
2397 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2398 invoke set_breakpoint_on_gcd_function again.
2399
2b4fd423
DE
24002014-09-18 Doug Evans <dje@google.com>
2401
2402 * gdb.dwarf2/symtab-producer.exp: New file.
2403
a5947601
SDJ
24042014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2405
2406 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2407 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2408 * gdb.base/global-var-nested-by-dso.c: Likewise.
2409 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2410
91c19059
SDJ
24112014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2412 Pedro Alves <palves@redhat.com>
2413
2414 * gdb.base/watch-bitfields.exp: Pass string other than test file
2415 name to prepare_for_testing.
2416 (watch): New procedure.
2417 (expect_watchpoint): Use with_test_prefix.
2418 (top level): Factor out tests to ...
2419 (test_watch_location, test_regular_watch): ... these new
2420 procedures, and use with_test_prefix and gdb_continue_to_end.
2421
bb9d5f81
PP
24222014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2423
2424 PR breakpoints/12526
2425 * gdb.base/watch-bitfields.exp: New file.
2426 * gdb.base/watch-bitfields.c: New file.
2427
635856f5
PA
24282014-09-16 Pedro Alves <palves@redhat.com>
2429
2430 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2431 software and hardware addresses, not software address against
2432 itself.
2433
7280ceea
PA
24342014-09-16 Pedro Alves <palves@redhat.com>
2435
2436 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2437 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2438
428b16bd
PA
24392014-09-16 Pedro Alves <palves@redhat.com>
2440
2441 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2442 files.
2443 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2444 "*-*-vxworks*" throughout.
2445 * gdb.base/break.exp: Likewise.
2446 * gdb.base/default.exp: Likewise.
2447 * gdb.base/scope.exp: Likewise.
2448 * gdb.base/sepdebug.exp: Likewise.
2449 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2450 throughout.
2451 * gdb.base/run.c: Likewise.
2452 * gdb.base/sepdebug.c: Likewise.
2453 * gdb.hp/gdb.aCC/run.c: Likewise.
2454 * gdb.reverse/until-reverse.c: Likewise.
2455 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2456
666d413c
YQ
24572014-09-16 Yao Qi <yao@codesourcery.com>
2458
2459 * boards/local-remote-host-native.exp: New file.
2460
57cbd724
DE
24612014-09-14 Doug Evans <xdje42@gmail.com>
2462
2463 * gdb.threads/queue-signal.c (thread_count): New variable.
2464 (thread_count_mutex, thread_count_condvar): New variables.
2465 (incr_thread_count, wait_all_threads_running): New functions.
2466 (main): Wait for all threads to be in their thread functions.
2467
81219e53
DE
24682014-09-13 Doug Evans <xdje42@gmail.com>
2469
2470 * gdb.threads/queue-signal.c: New file.
2471 * gdb.threads/queue-signal.exp: New file.
2472
3714cea7
DE
24732014-09-13 Doug Evans <xdje42@gmail.com>
2474
2475 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2476 be consistent with what default_gdb_init uses.
2477 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2478 the plain text of the prompt. Add some logging printfs.
2479 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2480
fa43b1d7
PA
24812014-09-12 Pedro Alves <palves@redhat.com>
2482
2483 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2484 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2485 * gdb.arch/i386-size-overlap.exp: Likewise.
2486 * gdb.arch/i386-size.exp: Likewise.
2487 * gdb.arch/i386-unwind.exp: Likewise.
2488 * gdb.base/a2-run.exp: Likewise.
2489 * gdb.base/break.exp: Likewise.
2490 * gdb.base/charset.exp: Likewise.
2491 * gdb.base/chng-syms.exp: Likewise.
2492 * gdb.base/commands.exp: Likewise.
2493 * gdb.base/dbx.exp: Likewise.
2494 * gdb.base/find.exp: Likewise.
2495 * gdb.base/funcargs.exp: Likewise.
2496 * gdb.base/jit-simple.exp: Likewise.
2497 * gdb.base/reread.exp: Likewise.
2498 * gdb.base/sepdebug.exp: Likewise.
2499 * gdb.base/step-bt.exp: Likewise.
2500 * gdb.cp/mb-inline.exp: Likewise.
2501 * gdb.cp/mb-templates.exp: Likewise.
2502 * gdb.objc/basicclass.exp: Likewise.
2503 * gdb.threads/killed.exp: Likewise.
2504
9d9bf2df
EBM
25052014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2506
2507 PR tdep/17379
2508 * gdb.arch/powerpc-stackless.S: New file.
2509 * gdb.arch/powerpc-stackless.exp: New file.
2510
1cf2f1b0
JK
25112014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2512
2513 * gdb.base/attach.c: Include unistd.h.
2514 (main): Call alarm. Add label postloop.
2515 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2516 gdb_breakpoint, gdb_continue_to_breakpoint.
2517 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2518
98880d46
PA
25192014-09-11 Pedro Alves <palves@redhat.com>
2520
2521 PR gdb/17347
2522 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2523 * gdb.base/attach.exp (test_command_line_attach_run): New
2524 procedure.
2525 (top level): Call it.
2526
4c92ff2c
PA
25272014-09-11 Pedro Alves <palves@redhat.com>
2528
2529 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2530 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2531 (do_command_attach_tests): Use spawn_wait_for_attach.
2532 * gdb.base/solib-overlap.exp: Likewise.
2533 * gdb.multi/multi-attach.exp: Likewise.
2534 * gdb.python/py-prompt.exp: Likewise.
2535 * gdb.python/py-sync-interp.exp: Likewise.
2536 * gdb.server/ext-attach.exp: Likewise.
2537
3adc1a7d
GKB
25382014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2539
2540 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2541 command in testcase. Simplify testcase.
2542
96334934
JB
25432014-09-10 Joel Brobecker <brobecker@adacore.com>
2544
2545 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2546
eb479039
JB
25472014-09-10 Joel Brobecker <brobecker@adacore.com>
2548
2549 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2550
deede10c
JB
25512014-09-10 Joel Brobecker <brobecker@adacore.com>
2552
2553 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2554
7828a5f5
JB
25552014-09-10 Joel Brobecker <brobecker@adacore.com>
2556
2557 * gdb.dwarf2/dynarr-ptr.c: New file.
2558 * gdb.dwarf2/dynarr-ptr.exp: New file.
2559
33aeebcf
MR
25602014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2561
2562 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2563 of 30 rather than hardcoding 120 for a slow test case. Take the
2564 `gdb,timeout' target setting into account for this calculation.
2565 Don't extend the timeout for the test cases that don't need it.
2566
7b415901
MR
25672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2568
2569 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2570 a factor of 2 for a slow test case. Take the `gdb,timeout'
2571 target setting into account for this calculation.
2572 * gdb.reverse/until-precsave.exp: Increase the timeout by
2573 a factor of 15 and 3 respectively rather than adding 120
2574 for a pair of slow test cases. Take the `gdb,timeout'
2575 target setting into account for this calculation.
2576
4a40f85a
MR
25772014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2578
2579 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2580 timeout, don't pass one down to gdb_expect.
2581 (gdb_expect): Rework timeout selection.
2582
09635af7
MR
25832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2584
2585 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2586 exception on timeout.
2587 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2588 (gdbserver_start_extended): Catch any `gdbserver_start' error
2589 exceptions.
2590 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2591 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2592 `gdbserver_gdb_load' error exceptions.
2593
2bdd10b7
MR
25942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2595
2596 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2597 120 on waiting for the TCP socket to open.
2598
316935f0
DE
25992014-09-09 Doug Evans <xdje42@gmail.com>
2600
2601 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2602 _caller_matches, _any_caller_is, _any_caller_matches.
2603
83740597
DE
26042014-09-09 Doug Evans <xdje42@gmail.com>
2605
2606 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2607
4c122fc3
YQ
26082014-09-09 Yao Qi <yao@codesourcery.com>
2609
2610 * gdb.mi/mi-var-display.exp: Set print symbol off.
2611
a9f116cb
GKB
26122014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2613
2614 PR gdb/17035
2615 * gdb.base/commands.exp: Add tests to verify user-defined
2616 commands with empty bodies.
2617 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2618 python commands in `show user command`.
2619 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2620 scheme commands in `show user command`.
2621
c75bd3a2
JK
26222014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2623
2624 PR python/17355
2625 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2626 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2627 * gdb.python/py-framefilter-invalidarg.exp: New file.
2628 * gdb.python/py-framefilter-invalidarg.py: New file.
2629
faa42425
DE
26302014-09-06 Doug Evans <xdje42@gmail.com>
2631
2632 PR 15276
2633 * gdb.python/py-caller-is.c: New file.
2634 * gdb.python/py-caller-is.exp: New file.
2635
474ca4f6
SDJ
26362014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2637
2638 PR gdb/17235
2639 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2640 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2641
eb0b0463
SDJ
26422014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2643
2644 PR fortran/17237
2645 * gdb.fortran/print-formatted.exp: New file.
2646 * gdb.fortran/print-formatted.f90: Likewise.
2647
5f3b99cf
SS
26482014-09-03 Sasha Smundak <asmundak@google.com>
2649
2650 * gdb.python/py-frame.exp: Test Frame.read_register.
2651
7d793aa9
SDJ
26522014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2653
2654 PR python/16699
2655 * gdb.python/py-completion.exp: New file.
2656 * gdb.python/py-completion.py: Likewise.
2657
fb0576e9
DE
26582014-08-28 Doug Evans <dje@google.com>
2659
2660 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2661 eax,etc. are live with values set by gdb and thus the compiler can't
2662 use them.
2663 * gdb.arch/i386-pseudo.c (main): Ditto.
2664
ee92b0dd
DE
26652014-08-27 Doug Evans <dje@google.com>
2666
2667 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2668
6649db35
DE
26692014-08-25 Doug Evans <dje@google.com>
2670
2671 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2672 (main): Ditto.
2673
564b7600
DE
26742014-08-25 Doug Evans <dje@google.com>
2675
2676 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2677
3881fb67
YQ
26782014-08-24 Yao Qi <yao@codesourcery.com>
2679
2680 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2681 symbol off.
2682 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2683
a05a36a5
DE
26842014-08-22 Doug Evans <dje@google.com>
2685
2686 PR 17276
2687 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2688 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2689 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2690
7c343b48
YQ
26912014-08-22 Yao Qi <yao@codesourcery.com>
2692
2693 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2694 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2695 * gdb.python/python.exp: Likewise. Use .py file on the host
2696 instead of the build.
2697
22fd09ae
JK
26982014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2699
2700 * gdb.threads/gcore-stale-thread.c: New file.
2701 * gdb.threads/gcore-stale-thread.exp: New file.
2702
a8454a7c
PA
27032014-08-21 Pedro Alves <palves@redhat.com>
2704
2705 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2706 * gdb.base/gcore-relro-pie.exp: Likewise.
2707 * gdb.base/gcore-relro.exp: Likewise.
2708 * gdb.base/gcore.exp: Likewise.
2709 * gdb.base/print-symbol-loading.exp: Likewise.
2710 * gdb.threads/gcore-thread.exp: Likewise.
2711 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2712
2a31c623
PA
27132014-08-20 Pedro Alves <palves@redhat.com>
2714 Jan Kratochvil <jan.kratochvil@redhat.com>
2715
2716 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2717 configure.
2718 (EXPECT): Handle READ1 being set.
2719 (all): Depend on EXTRA_RULES.
2720 (check-read1, expect-read1, read1.so, read1): New rules.
2721 * README (Testsuite Parameters): Document the READ1 make variable.
2722 (Race detection): New section.
2723 * configure: Regenerate.
2724 * configure.ac: If build==host==target, and running under a
2725 GNU/glibc system, add read1 to the extra Makefile rules.
2726 (EXTRA_RULES): AC_SUBST it.
2727 * lib/read1.c: New file.
2728
d36430db
JB
27292014-08-20 Joel Brobecker <brobecker@adacore.com>
2730
2731 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2732 the handling of variables declared as a typedef to an array
2733 which a DW_AT_data_location attribute.
2734
9a0dc9e3
PA
27352014-08-19 Andrew Burgess <aburgess@broadcom.com>
2736 Pedro Alves <palves@redhat.com>
2737
2738 PR symtab/14604
2739 PR symtab/14605
2740 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2741 gdb_test.
2742
0718a8da
PA
27432014-08-19 Pedro Alves <palves@redhat.com>
2744
2745 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2746
13b448cd
YQ
27472014-08-19 Yao Qi <yao@codesourcery.com>
2748
2749 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2750 right line.
2751
1cbf5077
DB
27522014-08-18 David Blaikie <dblaikie@gmail.com>
2753
2754 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2755
bf0fae19
JB
27562014-08-18 Joel Brobecker <brobecker@adacore.com>
2757
2758 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2759 attribute in array range.
2760
3c8c5dcc
JB
27612014-08-18 Joel Brobecker <brobecker@adacore.com>
2762
2763 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2764
e66d4446
SC
27652014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2766
2767 PR c++/17132
2768 * gdb.cp/pr17132.cc: New file.
2769 * gdb.cp/pr17132.exp: New file.
2770
940df408
SC
27712014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2772
2773 * gdb.python/py-xmethods.py (A_getarrayind)
2774 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2775 Use 'print' with function call syntax.
2776 (E_method_matcher.match): Fix tab vs space indentation mixup.
2777
ebcc6c3a
YQ
27782014-08-15 Yao Qi <yao@codesourcery.com>
2779
2780 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2781 false.
2782
775e0f04
YQ
27832014-08-15 Yao Qi <yao@codesourcery.com>
2784
2785 * gdb.cp/casts.exp: Set print symbol off.
2786 * gdb.cp/class2.exp: Likewise.
2787 * gdb.cp/overload.exp: Likewise.
2788 * gdb.cp/templates.exp: Likewise.
2789
d769e349
DE
27902014-08-11 Doug Evans <dje@google.com>
2791
2792 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2793 (test_load_shlib): Update.
2794
20c6f1e1
YQ
27952014-08-09 Yao Qi <yao@codesourcery.com>
2796
2797 * gdb.base/display.exp: Invoke is_address_zero_readable.
2798 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2799 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2800 * gdb.base/hbreak-unmapped.exp: Return if
2801 is_address_zero_readable returns true.
2802 * gdb.base/signest.exp: Likewise.
2803 * gdb.base/signull.exp: Likewise.
2804 * gdb.base/sigbpt.exp: Likewise.
2805 * gdb.guile/scm-disasm.exp: Do the test if
2806 is_address_zero_readable returns false.
2807 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2808 * gdb.python/py-arch.exp: Likewise.
2809 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2810 * lib/gdb.exp (is_address_zero_readable): New proc.
2811
5792e8e3
YQ
28122014-08-09 Yao Qi <yao@codesourcery.com>
2813
2814 PR testsuite/13443
2815 * gdb.mi/mi-var-display.exp: Make test messages unique.
2816
3cecbbbe
TT
28172014-08-04 Tom Tromey <tromey@redhat.com>
2818
2819 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2820 target 0".
2821
00b51ff5
TT
28222014-08-04 Tom Tromey <tromey@redhat.com>
2823
2824 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2825 "target_resume".
2826
6908c509
JB
28272014-08-01 Joel Brobecker <brobecker@adacore.com>
2828
2829 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2830 inner_vla_struct_object_size.
2831 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2832 as xfail.
2833
cc6563d2
PA
28342014-07-30 Pedro Alves <palves@redhat.com>
2835
2836 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2837 comment.
2838
7e09a223
YQ
28392014-07-29 Yao Qi <yao@codesourcery.com>
2840
2841 PR gdb/17206
2842 * gdb.base/until-nodebug.exp: New.
2843
7ebdbe92
DE
28442014-07-28 Doug Evans <xdje42@gmail.com>
2845
2846 PR guile/17203
2847 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2848 previously existing parameter, and previously ambiguously spelled
2849 parameter.
2850
fdb1adc6
WN
28512014-07-28 Will Newton <will.newton@linaro.org>
2852
2853 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2854
186fcde0
DE
28552014-07-26 Ludovic Courtès <ludo@gnu.org>
2856 Doug Evans <xdje42@gmail.com>
2857
2858 PR guile/17146
2859 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2860
70509625
PA
28612014-07-25 Pedro Alves <palves@redhat.com>
2862
2863 * gdb.threads/signal-command-handle-nopass.c: New file.
2864 * gdb.threads/signal-command-handle-nopass.exp: New file.
2865 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2866 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2867 * gdb.threads/signal-delivered-right-thread.c: New file.
2868 * gdb.threads/signal-delivered-right-thread.exp: New file.
2869
c3f814a1
PA
28702014-07-25 Pedro Alves <palves@redhat.com>
2871
2872 * gdb.base/double-prompt-target-event-error.exp
2873 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2874 match.
2875 (cancel_pagination_in_target_event): Rework double prompt
2876 detection.
2877 * gdb.base/paginate-after-ctrl-c-running.exp
2878 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2879 <return>' match.
2880 * gdb.base/paginate-bg-execution.exp
2881 (test_bg_execution_pagination_return)
2882 (test_bg_execution_pagination_cancel): Remove '-notransfer
2883 <return>' matches.
2884 * gdb.base/paginate-execution-startup.exp
2885 (test_fg_execution_pagination_return)
2886 (test_fg_execution_pagination_cancel): Remove '-notransfer
2887 <return>' matches.
2888 * gdb.base/paginate-inferior-exit.exp
2889 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2890 match.
2891 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2892 * lib/gdb.exp (pagination_prompt): Run text through
2893 string_to_regexp.
2894 (gdb_test_multiple): Match $pagination_prompt instead of
2895 "<return>".
2896 (string_to_regexp): Move to lib/gdb-utils.exp.
2897
e214cf6c
JK
28982014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2899
2900 * gdb.arch/amd64-entry-value-paramref.S: New file.
2901 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2902 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2903 * gdb.arch/amd64-optimout-repeat.S: New file.
2904 * gdb.arch/amd64-optimout-repeat.c: New file.
2905 * gdb.arch/amd64-optimout-repeat.exp: New file.
2906
17d0c5c8
JK
29072014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2908
2909 PR gdb/17170
2910 * gdb.base/statistics.exp: New file.
2911
b8b8facf
DE
29122014-07-17 Doug Evans <dje@google.com>
2913
74b49205 2914 PR gdb/17170
b8b8facf
DE
2915 * gdb.base/maint.exp: Update testing of per-command stats.
2916
1b5d0ab3
PA
29172014-07-16 Pedro Alves <palves@redhat.com>
2918
2919 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2920 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2921 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2922 (tfile_write_buf): New functions.
2923 (add_memory_block): Rewrite using the above.
2924 (adjust_function_address): New function.
2925 (FUNCTION_ADDRESS): New macro.
2926 (write_basic_trace_file): Remove short_x local, and use
2927 tfile_write_16. Change type of func_addr local to unsigned long
2928 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2929 here. Cast argument of add_memory_block to char pointer.
2930 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2931 (main): Remove parameters.
2932 * gdb.trace/tfile.exp: Remove nowarnings.
2933
4d974e88
SM
29342014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2935
2936 * gdb.base/debug-expr.exp: Test string evaluation with
2937 "debug expression" on.
2938
41e99568
PA
29392014-07-15 Pedro Alves <palves@redhat.com>
2940
2941 * gdb.base/reread.exp: Use clean_restart.
2942
487d9753
PL
29432014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2944
2945 * gdb.arch/avr-flash-qualifer.c: New.
2946 * gdb.arch/avr-flash-qualifer.exp: New.
2947
cc1c52ad
PA
29482014-07-14 Pedro Alves <palves@redhat.com>
2949
2950 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2951 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2952
1e973570
PA
29532014-07-14 Pedro Alves <palves@redhat.com>
2954
2955 * gdb.base/double-prompt-target-event-error.c: New file.
2956 * gdb.base/double-prompt-target-event-error.exp: New file.
2957
93d6eb10
PA
29582014-07-14 Pedro Alves <palves@redhat.com>
2959
2960 PR gdb/17072
2961 * gdb.base/paginate-inferior-exit.c: New file.
2962 * gdb.base/paginate-inferior-exit.exp: New file.
2963
0017922d
PA
29642014-07-14 Pedro Alves <palves@redhat.com>
2965
2966 PR gdb/17072
2967 * gdb.base/paginate-bg-execution.c: New file.
2968 * gdb.base/paginate-bg-execution.exp: New file.
2969
94696ad3
PA
29702014-07-14 Pedro Alves <palves@redhat.com>
2971
2972 PR gdb/17072
2973 * gdb.base/paginate-execution-startup.c: New file.
2974 * gdb.base/paginate-execution-startup.exp: New file.
2975 * lib/gdb.exp (pagination_prompt): New global.
2976 (default_gdb_spawn): New procedure, factored out from
2977 default_gdb_spawn.
2978 (default_gdb_start): Adjust to call default_gdb_spawn.
2979 (gdb_spawn): New procedure.
2980
bd293940
PA
29812014-07-14 Pedro Alves <palves@redhat.com>
2982
2983 * lib/gdb.exp (gdb_assert): New procedure.
2984 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2985
c933f875
PA
29862014-07-14 Pedro Alves <palves@redhat.com>
2987
2988 * gdb.base/execution-termios.c: New file.
2989 * gdb.base/execution-termios.exp: New file.
2990
d98b7a16
TT
29912014-07-14 Tom Tromey <tromey@redhat.com>
2992
2993 * gdb.cp/vla-cxx.cc: New file.
2994 * gdb.cp/vla-cxx.exp: New file.
2995
548740d6
TT
29962014-07-14 Tom Tromey <tromey@redhat.com>
2997
2998 * gdb.reverse/rerun-prec.c: New file.
2999 * gdb.reverse/rerun-prec.exp: New file.
3000
a25eb028
MR
30012014-07-12 Maciej W. Rozycki <macro@mips.com>
3002 Maciej W. Rozycki <macro@codesourcery.com>
3003
3004 * lib/gdb-utils.exp: New file.
3005 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3006 inline `gdb_init_command' processing.
3007 (gdb_start_cmd): Likewise.
3008 * lib/mi-support.exp (mi_run_cmd): Likewise.
3009 * README: Document `gdb_init_command' and `gdb_init_commands'.
3010
218c2655
JK
30112014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3012
3013 Fix false FAIL running under a very long directory name.
3014 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3015 and "set print elements 10000". Twice.
3016
5401fde3
YQ
30172014-07-11 Yao Qi <yao@codesourcery.com>
3018
3019 * gdb.base/exprs.exp: "set print symbol off".
3020
e76126e8
PA
30212014-07-11 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.threads/kill.c: New file.
3024 * gdb.threads/kill.exp: New file.
3025
2d6f0de6
YQ
30262014-07-10 Yao Qi <yao@codesourcery.com>
3027
3028 * gdb.trace/tfile.c (write_basic_trace_file)
3029 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3030 address written to trace file.
3031
7180e04a
PA
30322014-07-09 Pedro Alves <palves@redhat.com>
3033
3034 * gdb.base/attach-wait-input.exp: New file.
3035 * gdb.base/attach-wait-input.c: New file.
3036
9a9a7608
AB
30372014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3038
3039 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3040 setting up test structures.
3041 (main): Call new test function.
3042 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3043 test function, continue into test function and walk test
3044 structures.
3045
161ac41e
YQ
30462014-07-02 Yao Qi <yao@codesourcery.com>
3047
3048 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3049 'bar_start' at the beginning of functions 'foo' and 'bar'
3050 respectively.
3051 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3052 instead of 'foo' and 'bar'.
3053
1f267ae3
MM
30542014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3055
3056 * gdb.btrace/segv.exp: New.
3057 * gdb.btrace/segv.c: New.
3058
2b239efb
LM
30592014-07-02 Luis Machado <lgustavo@codesourcery.com>
3060
3061 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3062 instruction.
3063
cf363f18
MW
30642014-06-30 Mark Wielaard <mjw@redhat.com>
3065
3066 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3067 vulture, vilify, villar): New volatile array constants.
3068 (vindictive, vegetation): New const volatile array constants.
3069 * gdb.base/volatile.exp: Test volatile and const volatile array
3070 types.
3071
aebf9d24
AA
30722014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3073
3074 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3075 target lacks support for awatch, rwatch, or hbreak.
3076
b67a2c6f
YQ
30772014-06-27 Yao Qi <yao@codesourcery.com>
3078
3079 * gdb.multi/dummy-frame-restore.exp: New.
3080 * gdb.multi/dummy-frame-restore.c: New.
3081
aef92902
MM
30822014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3083
3084 * gdb.btrace/gcore.exp: New.
3085
8e9db26e
PA
30862014-06-23 Pedro Alves <palves@redhat.com>
3087
3088 * gdb.base/watchpoint-reuse-slot.c: New file.
3089 * gdb.base/watchpoint-reuse-slot.exp: New file.
3090
70afc5b7
SC
30912014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3092
3093 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3094 progspace's filename in 'info', 'enable' and 'disable' command
3095 tests.
3096
b972bd9c
JK
30972014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3098
3099 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3100 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3101 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3102
125f8a3d
GB
31032014-06-20 Gary Benson <gbenson@redhat.com>
3104
3105 * gdb.arch/i386-avx.exp: Fix include file location.
3106 * gdb.arch/i386-sse.exp: Likewise.
3107
3ed9baed
IB
31082014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3109
3110 * gdb.dlang/expression.exp: New file.
3111
034f788c
PA
31122014-06-19 Pedro Alves <palves@redhat.com>
3113
3114 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3115 out from ...
3116 (top level): ... here. Iterate running tests under different
3117 scheduler-locking settings.
3118
45371d0c
LM
31192014-06-18 Luis Machado <lgustavo@codesourcery.com>
3120
3121 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3122 to DW_FORM_addr and use non-zero addresses.
3123
5d376983
SC
31242014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3125
3126 PR gdb/17017
3127 * gdb.python/py-xmethods.cc: Add global function call counters and
3128 increment them in their respective functions. Remove "cout"
3129 statements.
3130 * gdb.python/py-xmethods.exp: Make tests check the global function
3131 call counters instead of depending on inferior IO.
3132
a1aa2221
LM
31332014-06-18 Don Breazeal <donb@codesourcery.com>
3134
3135 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3136 Deleted procedure.
3137 (explicit_fork_parent_follow): Deleted procedure.
3138 (explicit_fork_child_follow): Deleted procedure.
3139 (test_follow_fork): New procedure.
3140 (do_fork_tests): Replace calls to deleted procedures with
3141 calls to test_follow_fork and reset GDB for subsequent
3142 procedure calls.
3143
0fc05997
YQ
31442014-06-17 Yao Qi <yao@codesourcery.com>
3145
3146 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3147 CP1252.
3148
70795c52
LM
31492014-06-17 Luis Machado <lgustavo@codesourcery.com>
3150
3151 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3152 Initialize ptr and S explicitly.
3153 (skip_type_update_when_not_use_rtti_test): Likewise.
3154
6be47f0c
KS
31552014-06-16 Keith Seitz <keiths@redhat.com>
3156
3157 PR mi/15863
3158 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3159 the inferior is started.
3160
d03de421
PA
31612014-06-16 Pedro Alves <palves@redhat.com>
3162
3163 * gdb.base/break-main-file-remove-fail.c: New file.
3164 * gdb.base/break-main-file-remove-fail.exp: New file.
3165 * gdb.base/break-unload-file.exp: Use build_executable instead of
3166 prepare_for_testing.
3167 (test_break): New parameter "initial_load". Handle it.
3168 (top level): Add initial_load cmdline/file axis.
3169
f9579b99
TT
31702014-06-12 Tom Tromey <tromey@redhat.com>
3171
3172 * gdb.base/completion.exp: Don't use directory name in test.
3173
3657956b
GB
31742014-06-09 Gary Benson <gbenson@redhat.com>
3175
3176 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3177 separate the always-available ANSI-standard signals from the
3178 signals that require checking.
3179 (main): Likewise.
3180 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3181 Likewise.
3182 (main): Likewise.
3183
4186eb54
KS
31842014-06-07 Keith Seitz <keiths@redhat.com>
3185
3186 Revert:
3187 PR c++/16253
3188 * gdb.cp/var-tag.cc: New file.
3189 * gdb.cp/var-tag.exp: New file.
3190 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3191 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3192 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3193 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3194
25326a28 31952014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3196
3197 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3198
829155c9
PA
31992014-06-06 Pedro Alves <palves@redhat.com>
3200
3201 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3202 in target debug output instead of looking at RSP packets,
3203 disabling the test on any target that uses hardware stepping.
3204 Update comments.
3205
61c8d22e
PA
32062014-06-06 Pedro Alves <palves@redhat.com>
3207
3208 * gdb.base/break-unload-file.exp: Fix typo.
3209
d9a47287
YQ
32102014-06-06 Yao Qi <yao@codesourcery.com>
3211
3212 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3213 from "jit_function" to "^jit_function".
3214
e5e01dbf
YQ
32152014-06-06 Yao Qi <yao@codesourcery.com>
3216
3217 * gdb.base/async.c (foo): Add one statement.
3218 * gdb.base/async.exp: Get the next instruction address and
3219 match the output of "nexti" by instruction address. Match
3220 the hex address in the output of "finish".
3221
73ba372c
GB
32222014-06-06 Gary Benson <gbenson@redhat.com>
3223
3224 * gdb.base/call-signals.c: Remove preprocessor conditionals
3225 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3226 SIGSEGV and SIGTERM.
3227 * gdb.base/sigall.c: Likewise.
3228 * gdb.base/unwindonsignal.c: Likewise.
3229 * gdb.reverse/sigall-reverse.c: Likewise.
3230
831517df
YQ
32312014-06-06 Yao Qi <yao@codesourcery.com>
3232
3233 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3234 readable, skip the test.
3235
b8b91e98
YQ
32362014-06-06 Yao Qi <yao@codesourcery.com>
3237
3238 * gdb.threads/staticthreads.c (thread_function): Move the line
3239 setting breakpoint on forward.
3240 * gdb.threads/staticthreads.exp: Update comments.
3241
fb934770
LC
32422014-06-05 Ludovic Courtès <ludo@gnu.org>
3243
3244 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3245 "history-append! type error".
3246
6ef284bd
SM
32472014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3248
3249 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3250 erroneous dprintf expected input.
3251
a872e241
DE
32522014-06-04 Doug Evans <xdje42@gmail.com>
3253
3254 * gdb.guile/scm-generics.exp: Delete.
3255
16f691fb
DE
32562014-06-04 Doug Evans <xdje42@gmail.com>
3257
3258 * gdb.guile/scm-breakpoint.exp: Update.
3259 Add tests for breakpoint registration.
3260
012370f6
TT
32612014-06-04 Tom Tromey <tromey@redhat.com>
3262
3263 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3264 VLA-in-union.
3265 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3266 inner_vla_struct, vla_union types. Initialize objects of those
3267 types and compute their sizes.
3268
9f5a4cef
HZ
32692014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3270 Hui Zhu <hui@codesourcery.com>
3271
3272 * gdb.base/fileio.exp: Add test for shell not available as well as
3273 available.
3274 * gdb.base/fileio.c (test_system): Check for shell twice.
3275
90a45c4d
YQ
32762014-06-04 Yao Qi <yao@codesourcery.com>
3277
3278 * gdb.base/auto-connect-native-target.exp: Remove redundant
3279 space from the regexp pattern.
3280
70017e41
YQ
32812014-06-04 Yao Qi <yao@codesourcery.com>
3282
3283 * gdb.base/default.exp: Replace "child" with "native" in
3284 regexp pattern.
3285
883964a7
SC
32862014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3287
3288 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3289 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3290 * gdb.python/py-xmethods.py: Python script supporting the
3291 new testcase and tests.
3292
ef370185
JB
32932014-06-03 Joel Brobecker <brobecker@adacore.com>
3294 Pedro Alves <palves@redhat.com>
3295
3296 PR breakpoints/17000
3297 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3298 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3299
1e2ccb61
BM
33002014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3301
3302 * gdb.base/subst.exp: Add tests to verify partial path matching
3303 output.
3304
c6ec5ab2
PA
33052014-06-03 Pedro Alves <palves@redhat.com>
3306
3307 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3308 target that doesn't use software single-stepping.
3309
835c559f
PA
33102014-06-03 Pedro Alves <palves@redhat.com>
3311
3312 PR breakpoints/17000
3313 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3314 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3315
06eb1586
DE
33162014-06-02 Doug Evans <xdje42@gmail.com>
3317
3318 * gdb.guile/scm-parameter.exp: New file.
3319
e698b8c4
DE
33202014-06-02 Doug Evans <xdje42@gmail.com>
3321
3322 * gdb.guile/scm-cmd.c: New file.
3323 * gdb.guile/scm-cmd.exp: New file.
3324
ded03782
DE
33252014-06-02 Doug Evans <xdje42@gmail.com>
3326
3327 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3328 pretty-printer lookup.
3329 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3330 (make-pp_s-printer): Call it.
3331 (make-pretty-printer-from-dict): New function.
3332 (lookup-pretty-printer-maker-from-dict): New function.
3333 (*pretty-printer*): Simplify.
3334 (make-objfile-pp_s-printer): New function.
3335 (install-objfile-pretty-printers!): New function.
3336 (make-progspace-pp_s-printer): New function.
3337 (install-progspace-pretty-printers!): New function.
3338 * gdb.guile/scm-progspace.c: New file.
3339 * gdb.guile/scm-progspace.exp: New file.
3340
41fac0cf
PA
33412014-06-02 Pedro Alves <palves@redhat.com>
3342
3343 * gdb.base/dprintf-bp-same-addr.c: New file.
3344 * gdb.base/dprintf-bp-same-addr.exp: New file.
3345
96ae5695
EBM
33462014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3347
3348 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3349 * gdb.arch/powerpc-power.s: Likewise.
3350
da02b3a8
JB
33512014-06-02 Joel Brobecker <brobecker@adacore.com>
3352
3353 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3354
c72b2e7b
YQ
33552014-06-01 Yao Qi <yao@codesourcery.com>
3356
3357 * gdb.base/watchpoint.exp (test_watch_location): Check null
3358 pointer can be dereferenced. If not, do the test, otherwise
3359 skip it.
3360
53e8a631
AB
33612014-05-30 Andrew Burgess <aburgess@broadcom.com>
3362
3363 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3364 results.
3365 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3366
938f0e2f
AB
33672014-05-30 Andrew Burgess <aburgess@broadcom.com>
3368
3369 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3370 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3371 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3372 * gdb.arch/amd64-invalid-stack-top.c: New file.
3373 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3374
9ba6657a
PA
33752014-05-30 Pedro Alves <palves@redhat.com>
3376
3377 PR breakpoints/17000
3378 * gdb.base/sss-bp-on-user-bp.c: New file.
3379 * gdb.base/sss-bp-on-user-bp.exp: New file.
3380
522c09bf
DB
33812014-05-30 David Blaikie <dblaikie@gmail.com>
3382
3383 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3384 gnu_inline semantics via attribute.
3385 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3386 source explicitly specifies the required semantics.
3387
bf4ef81e
MR
33882014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3389
3390 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3391
329ea579
PA
33922014-05-29 Pedro Alves <palves@redhat.com>
3393 Tom Tromey <tromey@redhat.com>
3394
3395 * gdb.base/async-shell.exp: Don't enable target-async.
3396 * gdb.base/async.exp
3397 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3398 parameter. Adjust.
3399 (top level): Don't test with "target-async".
3400 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3401 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3402 * gdb.base/inferior-died.exp: Don't enable target-async.
3403 * gdb.base/interrupt-noterm.exp: Likewise.
3404 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3405 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3406 * gdb.mi/mi-nonstop.exp: Likewise.
3407 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3408 * gdb.mi/mi-nsintrall.exp: Likewise.
3409 * gdb.mi/mi-nsmoribund.exp: Likewise.
3410 * gdb.mi/mi-nsthrexec.exp: Likewise.
3411 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3412 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3413 * gdb.python/py-evsignal.exp: Don't enable target-async.
3414 * gdb.python/py-evthreads.exp: Likewise.
3415 * gdb.python/py-prompt.exp: Likewise.
3416 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3417 * gdb.server/solib-list.exp: Don't enable target-async.
3418 * gdb.threads/thread-specific-bp.exp: Likewise.
3419 * lib/mi-support.exp: Adjust to use mi-async.
3420
fd664c91
PA
34212014-05-29 Pedro Alves <palves@redhat.com>
3422
3423 PR gdb/13860
3424 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3425 reason, even in sync mode.
3426
251bde03
PA
34272014-05-29 Pedro Alves <palves@redhat.com>
3428 Hui Zhu <hui@codesourcery.com>
3429
3430 PR PR15693
3431 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3432 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3433 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3434 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3435
7f3c0343
JB
34362014-05-28 Joel Brobecker <brobecker@adacore.com>
3437
3438 * config/monitor.exp (gdb_target_monitor): Replace use of
3439 "set remotebaud" by "set serial baud".
3440
b2715b27
AW
34412014-05-26 Andy Wingo <wingo@igalia.com>
3442
3443 * gdb.guile/scm-breakpoint.exp:
3444 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3445 properties instead of gdb-object-properties.
3446
498a4489
YQ
34472014-05-26 Yao Qi <yao@codesourcery.com>
3448
3449 * gdb.server/no-thread-db.exp: Specify source file name
3450 explicitly when setting a breakpoint.
3451
589fdceb
MM
34522014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3453
3454 * gdb.btrace/vdso.c: New.
3455 * gdb.btrace/vdso.exp: New.
3456
e9089e05
MM
34572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3458
3459 * gdb.base/gcore.exp (capture_command_output): Move ...
3460 * lib/gdb.exp (capture_command_output): ... here.
3461
67b5c0c1
MM
34622014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3463
3464 * gdb.btrace/data.exp: Test memory access during btrace replay.
3465
a2199296
SM
34662014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3467
3468 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3469
17b2616c
PA
34702014-05-21 Pedro Alves <palves@redhat.com>
3471
3472 PR gdb/13860
3473 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3474 (top level): Test that output related to execution commands is
3475 sent to the console with CLI commands, but not with MI commands.
3476 Test that breakpoint events are always mirrored to the console.
3477 Also expect the new source line to be output after a "next" in
3478 async mode too. Make it a pass/fail test.
3479 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3480 output.
3481 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3482
5166082f
PA
34832014-05-21 Pedro Alves <palves@redhat.com>
3484
3485 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3486 Use them to test variations of "list" after reaching a breakpoint.
3487 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3488 Test "list" with listsize 10 after reaching a breakpoint.
3489 * gdb.python/python.exp (decode_line current location line
3490 number): Adjust expected line number.
3491
2f25d70f
SM
34922014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3493
3494 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3495 behavior for $args, pass it directly to "run".
3496
ff604a67
MR
34972014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3498
3499 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3500 30000 to 65536.
3501
6a3cb8e8
PA
35022014-05-21 Pedro Alves <palves@redhat.com>
3503
3504 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3505 auto-connect-native-target off".
3506 * gdb.base/auto-connect-native-target.c: New file.
3507 * gdb.base/auto-connect-native-target.exp: New file.
3508
4ebfc96e
PA
35092014-05-21 Pedro Alves <palves@redhat.com>
3510
3511 * gdb.base/default.exp: Test "target native" instead of "target
3512 child".
3513
36d46afb
MW
35142014-05-21 Mark Wielaard <mjw@redhat.com>
3515
3516 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3517
5876f503
JK
35182014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3519
3520 Fix TLS access for -static -pthread.
3521 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3522 <HAVE_TLS> (thread_function, main): Initialize it.
3523 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3524 Add clean_restart.
3525 <$have_tls != "">: Check TLSVAR.
3526
0256a6ac
PA
35272014-05-21 Pedro Alves <palves@redhat.com>
3528
3529 * gdb.base/dcache-line-read-error.c: New.
3530 * gdb.base/dcache-line-read-error.exp: New.
3531
936d2992
PA
35322014-05-20 Pedro Alves <palves@redhat.com>
3533
3534 * gdb.base/compare-sections.c: New file.
3535 * gdb.base/compare-sections.exp: New file.
3536
802e8e6d
PA
35372014-05-20 Pedro Alves <palves@redhat.com>
3538
3539 * gdb.base/break-idempotent.c: New file.
3540 * gdb.base/break-idempotent.exp: New file.
3541
e59fa00f
MM
35422014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3543
3544 * gdb.btrace/nohist.exp: New.
3545
8b696e31
YQ
35462014-05-20 Yao Qi <yao@codesourcery.com>
3547
3548 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3549 gdb.reverse directory and gdb_reverse_timeout exists in board
3550 setting.
3551 * README: Document gdb_reverse_timeout.
3552
73c9764f
YQ
35532014-05-20 Yao Qi <yao@codesourcery.com>
3554
3555 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3556 'test_file_name'. Treat args as a string instead of a list.
3557 (gdb_init): Rename argument 'args' by 'test_file_name'.
3558
f1f4348a
JK
35592014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3560
3561 * gdb.arch/powerpc-power.exp: New file.
3562 * gdb.arch/powerpc-power.s: New file.
3563
0dbe70ce
DE
35642014-05-16 Doug Evans <dje@google.com>
3565
3566 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3567 * gdb.base/completion.exp: Check that all expected files exist
3568 before doing file completion.
0dbe70ce 3569
8d551b02
DE
35702014-05-16 Doug Evans <dje@google.com>
3571
3572 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3573 Update.
3574 (do_syscall_tests_without_xml): Update.
3575
73eb7709
PA
35762014-05-16 Pedro Alves <palves@redhat.com>
3577
3578 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3579 instead of "unknown output after running".
3580
3fae92fc
YQ
35812014-05-16 Yao Qi <yao@codesourcery.com>
3582
3583 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3584 file1.txt from host at the end.
3585 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3586
c2b2ccc5
DE
35872014-05-15 Doug Evans <dje@google.com>
3588
3589 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3590 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3591 loading file. Add test for TU lookup.
3592
8c217a4b
SM
35932014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3594
3595 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3596 calling "-exec-arguments" or "set args" before running the
3597 inferior.
3598
3deb39c6
SM
35992014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3600
3601 * lib/mi-support.exp (mi_expect_stop): Expect message for
3602 inferiors that exit with non-zero exit code.
3603
71a79f8c
YQ
36042014-05-14 Yao Qi <yao@codesourcery.com>
3605
3606 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3607 match absolute path on remote host.
3608 (test_file_list_exec_source_files): Remove "/" from the
3609 pattern.
3610
f23fcd46
YQ
36112014-05-14 Yao Qi <yao@codesourcery.com>
3612
3613 * boards/local-remote-host-notty.exp (${board}_file): New
3614 proc.
3615
9404b58f
KM
36162014-05-07 Kyle McMartin <kyle@redhat.com>
3617
3618 Pushed by Joel Brobecker <brobecker@adacore.com>.
3619 * gdb.arch/aarch64-atomic-inst.c: New file.
3620 * gdb.arch/aarch64-atomic-inst.exp: New file.
3621
5e45f04c
YQ
36222014-05-07 Yao Qi <yao@codesourcery.com>
3623
3624 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3625 in current context" too.
3626
c888a17d
KS
36272014-05-05 Keith Seitz <keiths@redhat.com>
3628
3629 * gdb.linespec/ls-dollar.exp: Add test for linespec
3630 file:convenience_variable.
3631
290a839c
YQ
36322014-05-05 Yao Qi <yao@codesourcery.com>
3633
3634 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3635 traceframes into tfile and ctf trace files. Read data from
3636 trace file and test collected data.
3637 (gdb_collect_locals_test): Likewise.
3638 (gdb_unavailable_registers_test): Likewise.
3639 (gdb_unavailable_floats): Likewise.
3640 (gdb_collect_globals_test): Likewise.
3641 (top-level): Append "ctf" to trace_file_targets if GDB
3642 supports.
3643
b5262cd0
YQ
36442014-05-05 Yao Qi <yao@codesourcery.com>
3645
3646 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3647 code to ...
3648 (gdb_collect_args_test_1): ... it. New proc.
3649 (gdb_collect_locals_test): Move some code to ...
3650 (gdb_collect_locals_test_1): ... it. New proc.
3651 (gdb_unavailable_registers_test): Move some code to ...
3652 (gdb_unavailable_registers_test_1): ... it. New proc.
3653 (gdb_unavailable_floats): Move some code to ...
3654 (gdb_unavailable_floats_1): ... it. New proc.
3655
30a1e6cc
SDJ
36562014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3657
3658 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3659 probes to test for bitness recognition.
3660 * gdb.arch/amd64-stap-optional-prefix.exp
3661 (test_probe_value_without_reg): New procedure.
3662 Add code to test for different kinds of bitness.
3663
f33da99a
SDJ
36642014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3665
3666 PR breakpoints/16889
3667 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3668 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3669
5b80f00d
PA
36702014-05-01 Pedro Alves <palves@redhat.com>
3671
3672 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3673 gdb_file_cmd if no file is specified.
3674 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3675 last_loaded_file to set the remote exec-file.
3676
f8c2a73c
PA
36772014-05-01 Pedro Alves <palves@redhat.com>
3678
3679 * boards/local-remote-host.exp: New file.
3680
be6e8ac7
PA
36812014-05-01 Pedro Alves <palves@redhat.com>
3682
3683 * boards/local-remote-host.exp: Rename to ...
3684 * boards/local-remote-host-notty.exp: ... this.
3685
cac0dc8f
JB
36862014-04-28 Joel Brobecker <brobecker@adacore.com>
3687
3688 * gdb.ada/dyn_arrayidx: New testcase.
3689
9730e6cc
YQ
36902014-04-26 Yao Qi <yao@codesourcery.com>
3691
3692 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3693 and compute the length of function main. Save it in
3694 $main_length.
3695 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3696 (top-level): Use gdb_compile to compile objects into
3697 executable and restart GDB. Remove invocation to
3698 prepare_for_testing.
3699
7ae1a6a6
PA
37002014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3701 Pedro Alves <palves@redhat.com>
3702
3703 PR server/16255
3704 * gdb.multi/multi-attach.c: New file.
3705 * gdb.multi/multi-attach.exp: New file.
3706
4082afcc
PA
37072014-04-25 Pedro Alves <palves@redhat.com>
3708
3709 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3710 user.
3711 (top level): Test that "set remote conditional-breakpoints-packet
3712 off" works as intended.
3713 * gdb.base/dprintf.exp: Test that "set remote
3714 breakpoint-commands-packet off" works as intended.
3715 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3716 New function.
3717 (top level): Call it.
3718 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3719 remote fast-tracepoints-packet off" works as intended.
3720 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3721 * lib/gdb.exp (gdb_is_target_remote): ... here.
3722
2abc3f8d
DB
37232014-04-24 David Blaikie <dblaikie@gmail.com>
3724
3725 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3726 ensure clang would not discard them.
3727 * gdb.base/gdbvars.c: Ditto.
3728 * gdb.base/memattr.c: Ditto.
3729 * gdb.base/whatis.c: Ditto.
3730 * gdb.python/py-prettyprint.c: Ditto.
3731 * gdb.trace/actions.c: Ditto.
3732 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3733 ensure clang would not discard it.
3734
bfd39632
DB
37352014-04-24 David Blaikie <dblaikie@gmail.com>
3736
3737 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3738 clang to emit the full definition of type required by the test
3739 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3740
22842ff6
DB
37412014-04-24 David Blaikie <dblaikie@gmail.com>
3742
3743 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3744 coax Clang into emitting the definition of the type.
3745 * gdb.cp/pr10728-x.h (y): Ditto.
3746 * gdb.cp/pr10728-y.cc (y): Ditto.
3747
c2e827ad
DB
37482014-04-24 David Blaikie <dblaikie@gmail.com>
3749
3750 * gdb.base/label.exp: XFAIL label related tests under Clang.
3751 * gdb.cp/cplabel.exp: Ditto.
3752 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3753 under Clang those using labels.
3754
4c2d33e7
YQ
37552014-04-25 Yao Qi <yao@codesourcery.com>
3756
3757 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3758 double_label.
3759 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3760 partial_label and double_label.
3761
56083b99
DB
37622014-04-24 David Blaikie <dblaikie@gmail.com>
3763
3764 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3765
25d4e99d
DB
37662014-04-24 David Blaikie <dblaikie@gmail.com>
3767
3768 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3769 of the function to work across GCC and Clang.
3770 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3771 pointer types (const void ** const V void **).
3772
01f9f808
MS
37732014-04-24 Michael Sturm <michael.sturm@mintel.com>
3774 Walfred Tedeschi <walfred.tedeschi@intel.com>
3775
3776 * Makefile.in (EXECUTABLES): Added i386-avx512.
3777 * gdb.arch/i386-avx512.c: New file.
3778 * gdb.arch/i386-avx512.exp: Likewise.
3779
4b48d439
KS
37802014-04-23 Keith Seitz <keiths@redhat.com>
3781
3782 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3783 (mi_make_breakpoint_table): New procedure.
3784 (mi_create_breakpoint): Use mi_make_breakpoint
3785 and return the result.
3786 (mi_make_breakpoint): New procedure.
3787 (mi_build_kv_pairs): New procedure.
3788
3789 * gdb.mi/mi-break.exp: Remove unused globals,
3790 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3791 All callers updated.
3792 * gdb.mi/mi-dprintf.exp: Use variable to track command
3793 number.
3794 Update all callers of mi_create_breakpoint and use
3795 mi_make_breakpoint_table.
3796 Remove any unused global variables.
3797 * gdb.mi/mi-nonstop.exp: Likewise.
3798 * gdb.mi/mi-nsintrall.exp: Likewise.
3799 * gdb.mi/mi-nsmoribund.exp: Likewise.
3800 * gdb.mi/mi-nsthrexec.exp: Likewise.
3801 * gdb.mi/mi-reverse.exp: Likewise.
3802 * gdb.mi/mi-simplerun.exp: Likewise.
3803 * gdb.mi/mi-stepn.exp: Likewise.
3804 * gdb.mi/mi-syn-frame.exp: Likewise.
3805 * gdb.mi/mi-until.exp: Likewise.
3806 * gdb.mi/mi-var-cp.exp: Likewise.
3807 * gdb.mi/mi-var-display.exp: Likewise.
3808 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3809 * gdb.mi/mi2-var-child.exp: Likewise.
3810 * gdb.mi/mi-vla-c99.exp: Likewise.
3811 * lib/mi-support.exp: Likewise.
3812
3813 From Ian Lance Taylor <iant@cygnus.com>:
3814 * lib/gdb.exp (parse_args): New procedure.
3815
08351840
PA
38162014-04-23 Pedro Alves <palves@redhat.com>
3817
3818 * gdb.base/break-unload-file.c: New file.
3819 * gdb.base/break-unload-file.exp: New file.
3820 * gdb.base/sym-file-lib.c (baz): New function.
3821 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3822 field.
3823 (load): Store the segment's mapped size.
3824 (unload): New function.
3825 (unload_shlib): New function.
3826 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3827 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3828 set a breakpoint at baz, and call it.
3829 * gdb.base/sym-file.exp: New tests for stale breakpoint
3830 instructions.
3831
076855f9
PA
38322014-04-23 Pedro Alves <palves@redhat.com>
3833
3834 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3835 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3836 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3837 * gdb.base/hbreak-unmapped.c: New file.
3838 * gdb.base/hbreak-unmapped.exp: New file.
3839 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3840 * lib/gdb.exp (gdb_is_target_remote): ... here.
3841
483805cf
PA
38422014-04-22 Pedro Alves <palves@redhat.com>
3843
3844 * gdb.base/consecutive-step-over.c: New file.
3845 * gdb.base/consecutive-step-over.exp: New file.
3846
06d97543
PA
38472014-04-22 Pedro Alves <palves@redhat.com>
3848
3849 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3850 instead of send_gdb/gdb_expect.
3851
b4429ea2
YQ
38522014-04-22 Yao Qi <yao@codesourcery.com>
3853
3854 * lib/trace-support.exp (generate_tracefile): New procedure.
3855 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3856 return 0.
3857 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3858 if generate_tracefile returns 1.
3859
51d48146
PA
38602014-04-18 Tom Tromey <palves@redhat.com>
3861 Pedro alves <tromey@redhat.com>
3862
3863 PR backtrace/15558
3864 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3865 with a backtrace limit.
3866 * gdb.python/py-frame-inline.exp: Test running to an inline
3867 function with a backtrace limit, and printing the newest frame.
3868 * gdb.python/py-frame-inline.c (main): Call f.
3869
bd1dce5f
MS
38702014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3871
3872 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3873
40d1a503
MS
38742014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3875
3876 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3877 Drop prefix from unsupported source file path.
3878
389b98f7
YQ
38792014-04-17 Yao Qi <yao@codesourcery.com>
3880
3881 * lib/gdb.exp (with_target_charset): New proc.
3882 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3883 with_target_charset.
3884 (test_print_strings): Likewise.
3885 (test_repeat_bytes): Likewise.
3886 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3887 for some tests.
3888
22869d73
KS
38892014-04-16 Keith Seitz <keiths@redhat.com>
3890
3891 PR gdb/15827
3892 * gdb.dwarf2/corrupt.c: New file.
3893 * gdb.dwarf2/corrupt.exp: New file.
3894
c4f87ca6
KS
38952014-04-16 Keith Seitz <keiths@redhat.com>
3896
3897 PR c++/16597
3898 * gdb.cp/namelessclass.cc: New file.
3899 * gdb.cp/namelessclass.exp: New file.
3900 * gdb.cp/namelessclass.S: New file.
3901
ab19de87
DE
39022014-04-16 Doug Evans <dje@google.com>
3903
3904 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3905 Add comment.
3906 (gdbserver_default_get_comm_port): New function.
3907 (gdbserver_start): Check if board file provided
3908 "gdbserver,get_comm_port" and use it if so.
3909 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3910 (gdb,socketport): Set to "stdio".
3911 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3912 (stdio_gdbserver_template): Delete.
3913 (${board}_get_remote_address): Update.
3914 (${board}_build_remote_cmd): Delete.
3915 (${board}_get_comm_port): New function.
3916 (${board}_spawn): Update.
3917 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3918 Delete.
3919 (${board}_get_remote_address): Update.
3920 (${board}_get_comm_port): New function.
3921
fc98a809
AB
39222014-04-16 Andrew Burgess <aburgess@broadcom.com>
3923
3924 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3925 appearing in any order.
3926
87fd9e6e
DE
39272014-04-15 Doug Evans <dje@google.com>
3928
3929 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3930 uninitialized value of "description".
3931
099fc3ea
KS
39322014-04-15 Keith Seitz <keiths@redhat.com>
3933
3934 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3935 Remove unused globals.
3936 (test_running_the_program): Likewise.
3937 (test_controlled_execution): Likewise.
3938 (test_controlling_breakpoints): Likewise.
3939 (test_program_termination): Likewise.
3940
5da151d4
KS
39412014-04-15 Keith Seitz <keiths@redhat.com>
3942
3943 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3944 unused globals.
3945 (test_rbreak_creation_and_listing): Likewise.
3946 (test_ignore_count): Likewise.
3947 (test_error): Likewise.
3948
35e5d2f0
PA
39492014-04-15 Pedro Alves <palves@redhat.com>
3950
3951 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3952 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3953 sym-file-loader.c.
3954 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3955 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3956 to sym-file-loader.c.
3957 (struct library): Forward declare.
3958 (load_shlib, lookup_function): Change prototypes.
3959 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3960 (translate_offset): Remove declarations.
3961 (get_text_addr): New declaration.
3962 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3963 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3964 sym-file-loader.h.
3965 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3966 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3967 here from sym-file-loader.h.
3968 (struct library): New structure.
3969 (load_shlib, lookup_function): Change prototypes and adjust to
3970 work with a struct library.
3971 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3972 (translate_offset): Make static.
3973 (get_text_addr): New function.
3974 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3975
eb4c1710
PA
39762014-04-15 Pedro Alves <palves@redhat.com>
3977
3978 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3979
2d1baf52
PA
39802014-04-15 Pedro Alves <palves@redhat.com>
3981
3982 * gdb.base/sym-file-loader.c: Include <limits.h>.
3983 (SELF_LINK): New define.
3984 (get_origin): New function.
3985 (load_shlib): Use it.
3986 * gdb.base/sym-file.exp: Don't early return if the target is
3987 remote. Use runto_main, and issue fail is that fails. Use
3988 gdb_load_shlibs.
3989 (shlib_name): Delete.
3990 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3991
7dd6df01
PA
39922014-04-15 Pedro Alves <palves@redhat.com>
3993
3994 * gdb.base/sym-file.exp: Remove regex characters from test
3995 message. Don't refer to breakpoint numbers in test messages.
3996
b50c8614
KS
39972014-04-14 Keith Seitz <keiths@redhat.com>
3998
3999 PR c++/16253
4000 * gdb.cp/var-tag.cc: New file.
4001 * gdb.cp/var-tag.exp: New file.
4002 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4003 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4004 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4005 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4006
3d567982
TT
40072014-04-14 Tom Tromey <tromey@redhat.com>
4008
4009 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4010 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4011 type.
4012 * gdb.cp/enum-class.exp: New file.
4013 * gdb.cp/enum-class.cc: New file.
4014
0626fc76
TT
40152014-04-14 Tom Tromey <tromey@redhat.com>
4016
4017 * gdb.dwarf2/enum-type.exp: New file.
4018
dca325b3
SA
40192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4020
4021 * gdb.mi/mi-vla-c99.exp: New file.
4022 * gdb.mi/vla.c: New file.
4023
5854b38a
SA
40242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4025
4026 * gdb.base/vla-datatypes.c: New file.
4027 * gdb.base/vla-datatypes.exp: New file.
4028
463bb957
SA
40292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4030
4031 * gdb.base/vla-ptr.c: New file.
4032 * gdb.base/vla-ptr.exp: New file.
4033
3dd170be
SA
40342014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4035
4036 * gdb.dwarf2/count.exp: New file.
4037
5ecaaa66
SA
40382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4039
4040 * gdb.base/vla-sideeffect.c: New file.
4041 * gdb.base/vla-sideeffect.exp: New file.
4042
41f1ada5
DB
40432014-04-14 David Blaikie <dblaikie@gmail.com>
4044
4045 * gdb.mi/non-stop.c: Add return value for non-void function return
4046 statement.
4047 * gdb.threads/staticthreads.c: Ditto.
4048
0be03e84
DE
40492014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4050 Doug Evans <xdje42@gmail.com>
4051
4052 * gdb.guile/scm-value.c: Improve test case.
4053 * gdb.guile/scm-value.exp: Add new test.
4054
f180a1fb
DB
40552014-04-11 David Blaikie <dblaikie@gmail.com>
4056
4057 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4058 override Clang's default.
4059
6b662e19
JB
40602014-04-11 Joel Brobecker <brobecker@adacore.com>
4061
4062 Revert the following changes (regressions):
4063
4064 * gdb.base/vla-sideeffect.c: New file.
4065 * gdb.base/vla-sideeffect.exp: New file.
4066
4067 * gdb.dwarf2/count.exp: New file.
4068
4069 * gdb.base/vla-multi.c: New file.
4070 * gdb.base/vla-multi.exp: New file.
4071
4072 * gdb.base/vla-ptr.c: New file.
4073 * gdb.base/vla-ptr.exp: New file.
4074
4075 * gdb.base/vla-datatypes.c: New file.
4076 * gdb.base/vla-datatypes.exp: New file.
4077
4078 * gdb.mi/mi-vla-c99.exp: New file.
4079 * gdb.mi/vla.c: New file.
4080
245a5f0b
KS
40812014-04-11 Keith Seitz <keiths@redhat.com>
4082
4083 PR c++/16675
4084 * gdb.cp/cpsizeof.exp: New file.
4085 * gdb.cp/cpsizeof.cc: New file.
4086
58a84dcf
SA
40872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4088
191a8a90
JB
4089 * gdb.mi/mi-vla-c99.exp: New file.
4090 * gdb.mi/vla.c: New file.
58a84dcf 4091
c8655f75
SA
40922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4093
4094 * gdb.base/vla-datatypes.c: New file.
4095 * gdb.base/vla-datatypes.exp: New file.
4096
024e13b4
SA
40972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4098
4099 * gdb.base/vla-ptr.c: New file.
4100 * gdb.base/vla-ptr.exp: New file.
4101
1a237e0e
SA
41022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4103
4104 * gdb.base/vla-multi.c: New file.
4105 * gdb.base/vla-multi.exp: New file.
4106
504f3432
SA
41072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4108
4109 * gdb.dwarf2/count.exp: New file.
4110
3bce8237
SA
41112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4112
191a8a90
JB
4113 * gdb.base/vla-sideeffect.c: New file.
4114 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4115
322f9c21
YQ
41162014-04-11 Yao Qi <yao@codesourcery.com>
4117
4118 * gdb.base/completion.exp: Check file exists before running tests
4119 on file completion.
4120
d708bcd1
PA
41212014-04-10 Pedro Alves <palves@redhat.com>
4122
4123 * gdb.base/cond-eval-mode.c: New file.
4124 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4125 prepare_for_testing to build the new file. Check result of
4126 runto_main.
4127 (test_break, test_watch): New procedures.
4128 (top level): Use them.
4129
ae1d2761
PM
41302014-04-08 Pierre Muller <muller@sourceware.org>
4131
4132 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4133 Ctrl-V use for mingw hosts.
4134
7af389b8
SC
41352014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4136
4137 * gdb.python/py-value.c: Improve test case.
4138 * gdb.python/py-value.exp: Add new test.
4139
5e703181
DE
41402014-04-07 David Blaikie <dblaikie@gmail.com>
4141
4142 * lib/compiler.c: Identify the clang compiler.
4143 * lib/compiler.cc: Ditto.
4144
9810b410
YQ
41452014-04-03 Yao Qi <yao@codesourcery.com>
4146
4147 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4148
98d1b8dc
AB
41492014-04-01 Anton Blanchard <anton@samba.org>
4150
4151 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4152 messages unique.
4153
3114cea1
AB
41542014-04-01 Anton Blanchard <anton@samba.org>
4155
4156 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4157 prepare_for_testing.
4158
62f7182c
AB
41592014-04-01 Anton Blanchard <anton@samba.org>
4160
4161 * gdb.arch/ppc64-atomic-inst.c: Remove.
4162 * gdb.arch/ppc64-atomic-inst.S: New file.
4163 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4164
770e7fc7
DE
41652014-03-31 Doug Evans <dje@google.com>
4166
4167 * gdb.base/print-symbol-loading-lib.c: New file.
4168 * gdb.base/print-symbol-loading-main.c: New file.
4169 * gdb.base/print-symbol-loading.exp: New file.
4170
46e2bafa
YQ
41712014-03-31 Yao Qi <yao@codesourcery.com>
4172
4173 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4174
8776cfe9
JB
41752014-03-28 Joel Brobecker <brobecker@adacore.com>
4176
4177 * gdb.ada/mi_dyn_arr: New testcase.
4178
5d1ef361
DE
41792014-03-27 Doug Evans <dje@google.com>
4180
4181 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4182
b5bee914
YQ
41832014-03-27 Yao Qi <yao@codesourcery.com>
4184
4185 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4186 if target is nios2-*-*.
4187
0d4d0e77
YQ
41882014-03-26 Yao Qi <yao@codesourcery.com>
4189
4190 * lib/gdb.exp (readline_is_used): New proc.
4191 * gdb.base/completion.exp: Move tests on command complete up.
4192 Skip the rest of tests if readline is not used.
4193 * gdb.ada/complete.exp: Skp the test if readline is not
4194 used.
4195 * gdb.base/filesym.exp: Likewise.
4196 * gdb.base/macscp.exp: Likewise.
4197 * gdb.base/readline-ask.exp: Likewise.
4198 * gdb.base/readline.exp: Likewise.
4199 * gdb.python/py-cmd.exp: Likewise.
4200 * gdb.trace/tfile.exp: Likewise.
4201
29361eee
YQ
42022014-03-26 Yao Qi <yao@codesourcery.com>
4203
4204 * gdb.base/macscp.exp: Fix code format issues.
4205
bc9a5525
UW
42062014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4207
4208 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4209 * gdb.asm/powerpc64le.inc: New file.
4210
d3839ede
PA
42112014-03-25 Pedro Alves <palves@redhat.com>
4212 Doug Evans <dje@google.com>
4213
4214 * gdb.base/source-execution.c: New file.
4215 * gdb.base/source-execution.exp: New file.
4216 * gdb.base/source-execution.gdb: New file.
4217
01672a57
DE
42182014-03-24 Doug Evans <dje@google.com>
4219
4220 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4221 using fission.
4222
88bbeca9
HZ
42232014-03-24 Hui Zhu <hui@codesourcery.com>
4224 Pedro Alves <palves@redhat.com>
4225
4226 PR breakpoints/16101
4227 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4228 test pass/fail messages. Detect missing support for dprintf when
4229 breakpoints are actually inserted.
4230 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4231 breakpoints are actually inserted.
4232 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4233 fails.
4234
d2348791
JK
42352014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4236
4237 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4238
feef67ab
DE
42392014-03-22 Doug Evans <xdje42@gmail.com>
4240
4241 * gdb.python/python.exp (python not supported): Verify multi-line
4242 python command issues an error.
25d743f9 4243 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4244 guile command issues an error.
feef67ab 4245
ecebef6a
MR
42462014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4247
4248 * gdb.threads/thread-specific.exp: Handle the lack of usable
4249 $this_breakpoint and $this_thread.
4250
ccdd1909
HZ
42512014-03-21 Hui Zhu <hui@codesourcery.com>
4252
4253 * gdb.base/attach.exp (do_command_attach_tests): New.
4254
beb460e8
PA
42552014-03-20 Tom Tromey <tromey@redhat.com>
4256 Pedro Alves <palves@redhat.com>
4257
4258 PR cli/15718
4259 * gdb.base/condbreak-call-false.c: New file.
4260 * gdb.base/condbreak-call-false.exp: New file.
4261
40acf43a
PA
42622014-03-20 Pedro Alves <palves@redhat.com>
4263
4264 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4265 Delete.
4266 (block_signals, unblock_signals): Delete.
4267 (child_function_2, main): Remove references to deleted variable
4268 and functions.
4269
9f5e1e02
PA
42702014-03-20 Pedro Alves <palves@redhat.com>
4271
4272 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4273 Use pthread_kill to signal thread 2.
4274 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4275 Adjust to make the test send itself a signal rather than using the
4276 host's "kill" command.
4277
99619bea
PA
42782014-03-20 Pedro Alves <palves@redhat.com>
4279
4280 * gdb.threads/multiple-step-overs.c: New file.
4281 * gdb.threads/multiple-step-overs.exp: New file.
4282 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4283 Adjust expected infrun debug output.
4284
2adfaa28
PA
42852014-03-20 Pedro Alves <palves@redhat.com>
4286
4287 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4288 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4289
31e77af2
PA
42902014-03-20 Pedro Alves <palves@redhat.com>
4291
4292 PR breakpoints/7143
4293 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4294 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4295 of gdb_test_multiple.
4296 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4297 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4298
b9f437de
PA
42992014-03-20 Pedro Alves <palves@redhat.com>
4300
4301 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4302 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4303
05adc73e
PA
43042014-03-19 Pedro Alves <palves@redhat.com>
4305
4306 * gdb.base/async.exp: Remove early return.
4307
6048b950
PA
43082014-03-19 Pedro Alves <palves@redhat.com>
4309
4310 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4311
8bcfb00a
PA
43122014-03-19 Pedro Alves <palves@redhat.com>
4313
4314 * gdb.base/async.exp (test_background): Expect \r\n after
4315 "completed." in the fail pattern.
4316
884e37dc
PA
43172014-03-19 Pedro Alves <palves@redhat.com>
4318
4319 * gdb.base/async.exp (test_background): New procedure.
4320 Use it for all background execution command tests.
4321
148e57e2
PA
43222014-03-19 Pedro Alves <palves@redhat.com>
4323
4324 * gdb.base/async.exp: Use prepare_for_testing.
4325
f48088c7
PA
43262014-03-19 Pedro Alves <palves@redhat.com>
4327
4328 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4329 the same line.
4330
e2f6c966
PA
43312014-03-19 Pedro Alves <palves@redhat.com>
4332
4333 * gdb.base/async.c (main): Add "jump here" and "until here" line
4334 marker comments.
4335 * gdb.base/async.exp (jump_here): New global.
4336 (jump& test): Use it.
4337 (until_here): New global.
4338 (until& test): Use it.
4339
c30568d4
PA
43402014-03-19 Pedro Alves <palves@redhat.com>
4341
4342 * gdb.base/async.exp: Don't frob gdb_protocol.
4343
0172b6a7
DE
43442014-03-18 Doug Evans <xdje42@gmail.com>
4345
4346 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4347 Fix spelling of exec-done-display.
4348
06c868a8
JK
43492014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4350
4351 PR gdb/15358
4352 * gdb.base/gdb-sigterm.c: New file.
4353 * gdb.base/gdb-sigterm.exp: New file.
4354
0c7e1a46
PA
43552014-03-18 Pedro Alves <palves@redhat.com>
4356
4357 PR gdb/13860
4358 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4359 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4360 solib-event.
4361
f7c77d93
JB
43622014-03-17 Joel Brobecker <brobecker@adacore.com>
4363
4364 * gdb.ada/pckd_arr_ren: New testcase.
4365
5a1e8c7a
DE
43662014-03-13 Doug Evans <xdje42@gmail.com>
4367
4368 PR guile/16612
4369 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4370 collect after discarding symbols.
4371
350e1a76
DE
43722014-03-13 Ludovic Courtès <ludo@gnu.org>
4373 Doug Evans <xdje42@gmail.com>
4374
4375 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4376 to history survives a gc.
4377
a69900ae
PA
43782014-03-13 Pedro Alves <palves@redhat.com>
4379
4380 * gdb.base/default.exp: Don't test "target procfs".
4381
5db9f0bd
PA
43822014-03-13 Pedro Alves <palves@redhat.com>
4383
4384 * gdb.base/default.exp: Update "target child" and "target procfs"
4385 tests to not expect "Unix".
4386
b3ccfe11
TT
43872014-03-12 Tom Tromey <tromey@redhat.com>
4388
4389 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4390 New procs. Add target-async tests.
4391 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4392 Add target-async tests.
4393
646f4417
AA
43942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4395
4396 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4397 'func_start' and 'func_end' for the beginning and end of the
4398 function code, respectively.
4399 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4400 'func_end' instead of 'func' and 'main'.
4401
288c211f
AA
44022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4403
4404 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4405 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4406 generate the debug info assembler source.
4407
e0c0f156
AA
44082014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4409
4410 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4411 * gdb.dwarf2/arr-subrange.exp: Likewise.
4412 * gdb.dwarf2/dwz.exp: Likewise.
4413 * gdb.dwarf2/method-ptr.exp: Likewise.
4414 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4415 * gdb.dwarf2/subrange.exp: Likewise.
4416 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4417 * gdb.dwarf2/implptrpiece.exp: Likewise.
4418 * gdb.dwarf2/nostaticblock.exp: Likewise.
4419
0e5c4555
AA
44202014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4421
4422 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4423 directory to absolute path name arguments.
4424
5ec18f2b
JG
44252014-03-10 Joel Brobecker <brobecker@adacore.com>
4426
4427 * gdb.ada/tagged_access: New testcase.
4428
847fc4f2
MM
44292014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4430
4431 * gdb.btrace/data.exp: Update expected output.
4432
cc3da688
YQ
44332014-03-06 Yao Qi <yao@codesourcery.com>
4434
4435 * gdb.trace/pr16508.exp: New file.
4436
0f26cec1
PA
44372014-03-05 Pedro Alves <palves@redhat.com>
4438
4439 PR gdb/16575
4440 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4441 procedure.
4442 (top level): Adjust to use it. Add tests that exercise breakpoint
4443 interaction with the code-cache.
4444
7a5a839f
LC
44452014-02-26 Ludovic Courtès <ludo@gnu.org>
4446
4447 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4448 test for 'history-append!'.
4449
31aa7e4e
JB
44502014-02-26 Joel Brobecker <brobecker@adacore.com>
4451
4452 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4453 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4454 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4455 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4456 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4457 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4458
1b588015
JB
44592014-02-26 Joel Brobecker <brobecker@adacore.com>
4460
4461 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4462 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4463 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4464
55426c9d
JB
44652014-02-26 Joel Brobecker <brobecker@adacore.com>
4466
4467 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4468
dc53a7ad
JB
44692014-02-26 Joel Brobecker <brobecker@adacore.com>
4470
4471 * gdb.dwarf2/arr-stride.c: New file.
4472 * gdb.dwarf2/arr-stride.exp: New file.
4473
12ab52e9
PA
44742014-02-26 Pedro Alves <palves@redhat.com>
4475
4476 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4477 that won't ever trigger. Make sure that GDB reports the correct
4478 breakpoint that caused the stop.
4479
849c862e
JK
44802014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4481
4482 PR gdb/16626
4483 * gdb.base/auto-load-script: New file.
4484 * gdb.base/auto-load.c: New file.
4485 * gdb.base/auto-load.exp: New file.
4486
71b7d793
JK
4487 PR gdb/16626
4488 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4489
e2f0d509
JK
44902014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4491
4492 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4493 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4494
50cc37c8
DE
44952014-02-24 Doug Evans <dje@google.com>
4496
4497 * lib/gdb.exp (run_on_host): Log error output if program fails.
4498
ea4758f2
PA
44992014-02-21 Pedro Alves <palves@redhat.com>
4500
4501 * gdb.threads/step-after-sr-lock.c: Rename to ...
4502 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4503 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4504 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4505 ... this.
4506
d7b30f67
SDJ
45072014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4508
4509 PR tdep/16397
4510 * gdb.arch/amd64-stap-special-operands.exp: New file.
4511 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4512 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4513 * gdb.arch/amd64-stap-triplet.S: Likewise.
4514 * gdb.arch/amd64-stap-triplet.c: Likewise.
4515
83deb43f
JB
45162014-02-20 Joel Brobecker <brobecker@adacore.com>
4517
4518 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4519 in .section pseudo-op.
4520
adde2bff
DE
45212014-02-20 lin zuojian <manjian2006@gmail.com>
4522 Joel Brobecker <brobecker@adacore.com>
4523 Doug Evans <xdje42@gmail.com>
4524
4525 PR symtab/16581
4526 * gdb.dwarf2/dw2-icycle.S: New file.
4527 * gdb.dwarf2/dw2-icycle.c: New file.
4528 * gdb.dwarf2/dw2-icycle.exp: New file.
4529
f7bd0f78
SC
45302014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4531
4532 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4533 operations on gdb.Value objects.
4534 * gdb.python/py-value-cc.exp: Add new test to test operations on
4535 gdb.Value objects.
4536
c17ef0d5
DE
45372014-02-18 Doug Evans <dje@google.com>
4538
4539 * Makefile.in (TESTS): New variable.
4540 (expanded_tests, expanded_tests_or_none): New variables
4541 (check-single): Pass $(expanded_tests_or_none) to runtest.
4542 (check-parallel): Only run tests in $(TESTS) if non-empty.
4543 (check/no-matching-tests-found): New rule.
4544 * README: Document TESTS makefile variable.
4545
5dd3176f
DE
45462014-02-18 Doug Evans <dje@google.com>
4547
4548 * Makefile.in (check-parallel): rm -rf outputs temp.
4549
0b10be4f
JK
45502014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4551
4552 Fix "ERROR: no fileid for" in the testsuite.
4553 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4554
85f224e7
DE
45552014-02-12 Doug Evans <dje@google.com>
4556
4557 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4558 (MISCELLANEOUS): New variable.
4559 (clean): rm -rf $(MISCELLANEOUS).
4560 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4561 dwp live in the same directory as symlinks, with each symlink pointed
4562 to a differently named file in a different directory.
4563
149b30ff
DE
45642014-02-11 Doug Evans <dje@google.com>
4565
4566 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4567 of Tcl file commands.
4568
1dfdac32
MK
45692014-02-10 Mark Kettenis <kettenis@gnu.org>
4570
4571 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4572 "kill -SIGUSR1 -1".
4573
aa4fb036
JB
45742014-02-10 Joel Brobecker <brobecker@adacore.com>
4575
4576 * gdb.ada/tick_length_array_enum_idx: New testcase.
4577
ed3ef339
DE
45782014-02-10 Doug Evans <xdje42@gmail.com>
4579
4580 * configure.ac (AC_OUTPUT): Add gdb.guile.
4581 * configure: Regenerate.
4582 * lib/gdb-guile.exp: New file.
4583 * lib/gdb.exp (get_target_charset): New function.
4584 * gdb.base/help.exp: Update expected output from "apropos apropos".
4585 * gdb.guile/Makefile.in: New file.
4586 * gdb.guile/guile.exp: New file.
4587 * gdb.guile/scm-arch.c: New file.
4588 * gdb.guile/scm-arch.exp: New file.
4589 * gdb.guile/scm-block.c: New file.
4590 * gdb.guile/scm-block.exp: New file.
4591 * gdb.guile/scm-breakpoint.c: New file.
4592 * gdb.guile/scm-breakpoint.exp: New file.
4593 * gdb.guile/scm-disasm.c: New file.
4594 * gdb.guile/scm-disasm.exp: New file.
4595 * gdb.guile/scm-equal.c: New file.
4596 * gdb.guile/scm-equal.exp: New file.
4597 * gdb.guile/scm-error.exp: New file.
4598 * gdb.guile/scm-error.scm: New file.
4599 * gdb.guile/scm-frame-args.c: New file.
4600 * gdb.guile/scm-frame-args.exp: New file.
4601 * gdb.guile/scm-frame-args.scm: New file.
4602 * gdb.guile/scm-frame-inline.c: New file.
4603 * gdb.guile/scm-frame-inline.exp: New file.
4604 * gdb.guile/scm-frame.c: New file.
4605 * gdb.guile/scm-frame.exp: New file.
4606 * gdb.guile/scm-generics.exp: New file.
4607 * gdb.guile/scm-gsmob.exp: New file.
4608 * gdb.guile/scm-iterator.c: New file.
4609 * gdb.guile/scm-iterator.exp: New file.
4610 * gdb.guile/scm-math.c: New file.
4611 * gdb.guile/scm-math.exp: New file.
4612 * gdb.guile/scm-objfile-script-gdb.in: New file.
4613 * gdb.guile/scm-objfile-script.c: New file.
4614 * gdb.guile/scm-objfile-script.exp: New file.
4615 * gdb.guile/scm-objfile.c: New file.
4616 * gdb.guile/scm-objfile.exp: New file.
4617 * gdb.guile/scm-ports.exp: New file.
4618 * gdb.guile/scm-pretty-print.c: New file.
4619 * gdb.guile/scm-pretty-print.exp: New file.
4620 * gdb.guile/scm-pretty-print.scm: New file.
4621 * gdb.guile/scm-section-script.c: New file.
4622 * gdb.guile/scm-section-script.exp: New file.
4623 * gdb.guile/scm-section-script.scm: New file.
4624 * gdb.guile/scm-symbol.c: New file.
4625 * gdb.guile/scm-symbol.exp: New file.
4626 * gdb.guile/scm-symtab-2.c: New file.
4627 * gdb.guile/scm-symtab.c: New file.
4628 * gdb.guile/scm-symtab.exp: New file.
4629 * gdb.guile/scm-type.c: New file.
4630 * gdb.guile/scm-type.exp: New file.
4631 * gdb.guile/scm-value-cc.cc: New file.
4632 * gdb.guile/scm-value-cc.exp: New file.
4633 * gdb.guile/scm-value.c: New file.
4634 * gdb.guile/scm-value.exp: New file.
4635 * gdb.guile/source2.scm: New file.
4636 * gdb.guile/types-module.cc: New file.
4637 * gdb.guile/types-module.exp: New file.
4638
7026a7c1
YQ
46392014-02-10 Yao Qi <yao@codesourcery.com>
4640
4641 PR testsuite/16543
4642 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4643 * configure: Regenerated.
4644 * Makefile.in: New file.
4645
6c466447
AS
46462014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4647
4648 * gdb.python/py-framefilter.exp: Fix typo.
4649
6e854735
YQ
46502014-02-08 Yao Qi <yao@codesourcery.com>
4651
4652 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4653 that no =breakpoint-modified is emitted when breakpoints are
4654 modified through MI commands.
4655
d137e6dc
PA
46562014-02-07 Pedro Alves <pedro@codesourcery.com>
4657 Pedro Alves <palves@redhat.com>
4658
4659 * gdb.threads/step-after-sr-lock.c: New file.
4660 * gdb.threads/step-after-sr-lock.exp: New file.
4661
b5ee5a50
PA
46622014-02-07 Pedro Alves <palves@redhat.com>
4663
4664 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4665
3c77faf3
JK
46662014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4667
4668 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4669 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4670
6dddc817
DE
46712014-02-06 Doug Evans <xdje42@gmail.com>
4672
4673 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4674 output.
4675
4676 * gdb.gdb/python-interrupts.exp: New file.
4677
de7b2893
YQ
46782014-02-05 Yao Qi <yao@codesourcery.com>
4679
4680 * gdb.trace/report.exp (use_collected_data): Test the output
4681 of "info threads" and "info inferiors".
4682
66d032ac
YQ
46832014-02-05 Yao Qi <yao@codesourcery.com>
4684
4685 Revert this patch:
4686
4687 2013-05-24 Yao Qi <yao@codesourcery.com>
4688
4689 * gdb.trace/tfile.exp: Test inferior and thread.
4690
591a12a1
UW
46912014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4692
4693 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4694 on a function.
4695 * gdb.base/step-bt.c: Call hello via function pointer to make
4696 sure its first instruction is executed on powerpc64le-linux.
4697
0ff3e01f
UW
46982014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4699
4700 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4701
084ee545
UW
47022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4703
4704 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4705 of the test patterns for use on little-endian systems.
4706
6ed14ff3
UW
47072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4708
4709 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4710 (decimal_vector): Fix for little-endian.
4711
401e27fd
JM
47122014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4713
4714 * gdb.arch/sparc-sysstep.exp: New file.
4715 * gdb.arch/sparc-sysstep.c: Likewise.
4716
4717 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4718
8b924729
EBM
47192014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4720
4721 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4722
fb151210
JB
47232014-01-23 Tom Tromey <tromey@redhat.com>
4724
4725 * gdb.ada/array_char_idx: New testcase.
4726
0740f8d8
TT
47272014-01-23 Tom Tromey <tromey@redhat.com>
4728
4729 PR python/16487:
4730 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4731 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4732 classes.
4733
21909fa1
TT
47342014-01-23 Tom Tromey <tromey@redhat.com>
4735
4736 PR python/16491:
4737 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4738 string from an inferior frame.
4739 * gdb.python/py-framefilter-mi.exp: Update.
4740
87ce2a04
DE
47412014-01-22 Doug Evans <dje@google.com>
4742
4743 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4744
237b092b
AA
47452014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4746
4747 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4748
d674a709
AA
47492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4750
4751 * gdb.trace/entry-values.exp: Remove excess space character from
4752 regex patterns. Handle s390 call instruction.
4753
20fa3390
AA
47542014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4755
4756 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4757 define "*_start" label. Make "name" static.
4758 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4759 ${name} by references to ${name}_start.
4760
78466714
AA
47612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4762
4763 * gdb.base/info-macros.exp: Remove "debug" from the compile
4764 options.
4765
ec9f644a
IB
47662014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4767
4768 * gdb.dlang/demangle.exp: New file.
4769
94b1b47e
IB
47702014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4771
4772 * gdb.dlang/primitive-types.exp: New file.
4773
7f420862
IB
47742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4775
4776 * configure.ac: Create gdb.dlang/Makefile.
4777 * configure: Regenerate.
4778 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4779 * gdb.dlang/Makefile.in: New file.
4780 * lib/d-support.exp: New file.
4781 * lib/gdb.exp (skip_d_tests): New proc.
4782
52834460
MM
47832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4784
4785 * gdb.btrace/delta.exp: Check reverse stepi.
4786 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4787 * gdb.btrace/finish.exp: New.
4788 * gdb.btrace/next.exp: New.
4789 * gdb.btrace/nexti.exp: New.
4790 * gdb.btrace/record_goto.c: Add comments.
4791 * gdb.btrace/step.exp: New.
4792 * gdb.btrace/stepi.exp: New.
4793 * gdb.btrace/multi-thread-step.c: New.
4794 * gdb.btrace/multi-thread-step.exp: New.
4795 * gdb.btrace/rn-dl-bind.c: New.
4796 * gdb.btrace/rn-dl-bind.exp: New.
4797 * gdb.btrace/data.c: New.
4798 * gdb.btrace/data.exp: New.
4799 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4800
6e07b1d2
MM
48012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4802
4803 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4804 * gdb.btrace/exception.exp: Update.
4805 * gdb.btrace/instruction_history.exp: Update.
4806 * gdb.btrace/record_goto.exp: Update.
4807 * gdb.btrace/tailcall.exp: Update.
4808 * gdb.btrace/unknown_functions.exp: Update.
4809 * gdb.btrace/delta.exp: New.
4810
0b722aec
MM
48112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4812
4813 * gdb.btrace/record_goto.exp: Add backtrace test.
4814 * gdb.btrace/tailcall.exp: Add backtrace test.
4815
066ce621
MM
48162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4817
4818 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4819 * gdb.btrace/record_goto.c: New.
4820 * gdb.btrace/record_goto.exp: New.
4821 * gdb.btrace/x86-record_goto.S: New.
4822
0688d04e
MM
48232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4824
4825 * gdb.btrace/function_call_history.exp: Update tests.
4826 * gdb.btrace/instruction_history.exp: Update tests.
4827
8710b709
MM
48282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4829
4830 * gdb.btrace/function_call_history.exp: Fix expected field
4831 order for "record function-call-history".
4832 Add new tests for "record function-call-history /c".
4833 * gdb.btrace/exception.cc: New.
4834 * gdb.btrace/exception.exp: New.
4835 * gdb.btrace/tailcall.exp: New.
4836 * gdb.btrace/x86-tailcall.S: New.
4837 * gdb.btrace/x86-tailcall.c: New.
4838 * gdb.btrace/unknown_functions.c: New.
4839 * gdb.btrace/unknown_functions.exp: New.
4840 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4841
5de9129b
MM
48422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4843
4844 * gdb.btrace/instruction_history.exp: Update.
4845 * gdb.btrace/function_call_history.exp: Update.
4846
23a7fe75
MM
48472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4848
4849 * gdb.btrace/function_call_history.exp: Fix expected function
4850 trace.
4851 * gdb.btrace/instruction_history.exp: Initialize traced.
4852 Remove traced_functions.
4853
724c7dd8
MM
48542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4855
4856 * gdb.btrace/function_call_history.exp: Update
4857 * gdb.btrace/instruction_history.exp: Update.
4858
6d78d93b
MM
48592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4860
4861 * gdb.btrace/enable.exp: Update expected text.
4862
93a360cc
OJ
48632014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4864
4865 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4866 bytes.
4867
3772b53f
MR
48682014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4869
4870 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4871
596662fa
OJ
48722014-01-15 Omair Javaid <omair.javaid@linaro.org>
4873
4874 * lib/gdb.exp (supports_process_record): Return true for
4875 arm*-linux*. (supports_reverse): Likewise.
4876
b5b08fb4
SC
48772014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4878
4879 PR python/15464
4880 PR python/16113
4881 * gdb.python/py-type.c: Enhance test case.
4882 * gdb.python/py-value-cc.cc: Likewise
4883 * gdb.python/py-type.exp: Add new tests.
4884 * gdb.python/py-value-cc.exp: Likewise
4885
52d7fb13
AA
48862014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4887 Pedro Alves <palves@redhat.com>
4888
4889 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4890 Make "name" extern.
4891 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4892 references to ${name}_start by references to ${name}.
4893
a2cd8cfe
JB
48942014-01-10 Joel Brobecker <brobecker@adacore.com>
4895
4896 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4897
4e23fced
JB
48982014-01-10 Joel Brobecker <brobecker@adacore.com>
4899
4900 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4901
c6a9e42c
PA
49022014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4903 Pedro Alves <palves@redhat.com>
4904
4905 * gdb.mi/mi-info-os.exp: Connect to the target with
4906 mi_gdb_target_load.
4907
b7ea362b
PA
49082014-01-08 Pedro Alves <palves@redhat.com>
4909
4910 * gdb.threads/reconnect-signal.c: New file.
4911 * gdb.threads/reconnect-signal.exp: New file.
4912
5e3f4fab
EBM
49132014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4914
4915 * gdb.base/source-dir.exp: New file.
4916
79301218
JB
49172014-01-07 Joel Brobecker <brobecker@adacore.com>
4918
4919 * gdb.ada/mi_interface: New testcase.
4920
8e355c5d
JB
49212014-01-07 Joel Brobecker <brobecker@adacore.com>
4922
4923 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4924 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4925 gdb.ada/pp-rec-component/pck.ads: New files.
4926
c0d48811
JB
49272014-01-07 Joel Brobecker <brobecker@adacore.com>
4928
4929 * gdb.python/py-pp-integral.c: New file.
4930 * gdb.python/py-pp-integral.py: New file.
4931 * gdb.python/py-pp-integral.exp: New file.
4932
17b609c3 4933For older changes see ChangeLog-1993-2013.
c906108c 4934\f
8d8cb839
EZ
4935;; Local Variables:
4936;; mode: change-log
4937;; left-margin: 8
4938;; fill-column: 74
4939;; version-control: never
4940;; End:
902f2ccb 4941
32d0add0 4942 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4943 Copying and distribution of this file, with or without modification,
4944 are permitted provided the copyright notice and this notice are preserved.