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