gdb: Add completer for layout command.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
a0145030
AB
12015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.base/completion.exp: Add test for completion of layout
4 names.
5
ebe3b578
AB
62015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * lib/gdb.exp (skip_tui_tests): New proc.
9 * gdb.base/tui-layout.exp: Check skip_tui_tests.
10
84204ed7
PA
112015-05-19 Pedro Alves <palves@redhat.com>
12
13 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14 Save the whole env array instead of just HOME. Unset HISTSIZE in
15 the environment while testing. Restore whole environment
16 afterwards.
17
37442ce1
DE
182015-05-16 Doug Evans <xdje42@gmail.com>
19
20 * gdb.guile/scm-ports.c: New file.
21 * gdb.guile/scm-ports.exp: Add memory port tests.
22
36de76f9
JK
232015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24
25 * gdb.compile/compile-print.c: New file.
26 * gdb.compile/compile-print.exp: New file.
27
3a9558c4
JK
282015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29
30 * gdb.compile/compile-ops.exp: Cast param to void.
31 * gdb.compile/compile.exp: Complete type for _gdb_expr.
32 (compile code struct_object.selffield = &struct_object): Add xfail.
33
aa715135
JG
342015-05-15 Joel Brobecker <brobecker@adacore.com>
35
36 * gdb.ada/arr_enum_with_gap: New testcase.
37
931e5bc3
JG
382015-05-15 Joel Brobecker <brobecker@adacore.com>
39
40 * gdb.ada/byte_packed_arr: New testcase.
41
9cd4d857
JB
422015-05-15 Joel Brobecker <brobecker@adacore.com>
43
44 * gdb.ada/pckd_neg: New testcase.
45
ebfd00d2
PP
462015-05-13 Patrick Palka <patrick@parcs.ath.cx>
47
48 PR gdb/17820
49 * gdb.base/gdbinit-history.exp: New test.
50 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
51 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
52
4c082a81
SC
532015-05-09 Siva Chandra Reddy <sivachandra@google.com>
54
55 * gdb.python/py-xmethods.cc: Enhance test case.
56 * gdb.python/py-xmethods.exp: New tests.
57 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
58 function.
59 (B_indexoper): Likewise.
60 (global_dm_list) : Add new xmethod worker functions.
61
f7797074
SDJ
622015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
63
64 * gdb.base/coredump-filter.exp: Correctly unset
65 "coredump_var_addr" array.
66
a4674e4e
PA
672015-05-08 Pedro Alves <palves@redhat.com>
68
69 * gdb.server/non-existing-program.exp: Unset spawn_id.
70
df2eb078
SC
712015-05-08 Siva Chandra Reddy <sivachandra@google.com>
72
73 PR python/18291
74 * gdb.python/py-xmethods.exp: Add tests.
75
422349a3
YQ
762015-05-08 Yao Qi <yao.qi@linaro.org>
77
78 PR gdb/18208
79 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
80 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
81 function set_coredump_filter, and remove remote_exec call.
82 Remove argument ipid. Callers update.
83 (top level): Don't get inferior's PID.
84
63fc80ce
AA
852015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
86
87 * gdb.base/watch_thread_num.exp: Skip test on targets without
88 access watchpoints.
89
80ad801e
PA
902015-05-06 Pedro Alves <palves@redhat.com>
91
92 PR server/18081
93 * gdb.server/non-existing-program.exp: New file.
94
0fa7fe50
JB
952015-05-05 Joel Brobecker <brobecker@adacore.com>
96
97 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
98
3ea89b92
PMR
992015-05-05 Joel Brobecker <brobecker@adacore.com>
100
101 * gdb.ada/out_of_line_in_inlined: New testcase.
102
87b8eff0
JB
1032015-05-05 Joel Brobecker <brobecker@adacore.com>
104
105 * gdb.ada/var_rec_arr: New testcase.
106
5fccc635
YQ
1072015-04-30 Yao Qi <yao.qi@linaro.org>
108
109 * gdb.base/break-idempotent.exp: If
110 skip_hw_watchpoint_multi_tests returns true, skip the tests
111 on "rwatch" and "awatch".
112
42d38f42
YQ
1132015-04-30 Yao Qi <yao.qi@linaro.org>
114
115 * gdb.base/relativedebug.exp: Invoke gdb command
116 "info sharedlibrary", and if libc.so doesn't have debug info,
117 skip the test.
118
2ce1cdbf
DE
1192015-04-29 Doug Evans <dje@google.com>
120
121 * gdb.python/py-xmethods.exp: Add ptype tests.
122 * gdb.python/py-xmethods.py (E_method_char_worker): Add
123 get_result_type method.
124
f24a38c5
LM
1252015-04-29 Luis Machado <lgustavo@codesourcery.com>
126
127 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
128 the target does not support hardware watchpoints.
129
ecbf2b3c
LM
1302015-04-29 Luis Machado <lgustavo@codesourcery.com>
131
132 * gdb.base/break-always.exp: Abort testing if writing to memory
133 causes an error.
134
34f5f757
DE
1352015-04-28 Doug Evans <dje@google.com>
136
137 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
138 * gdb.python/py-pp-registration.exp: ... here. New file.
139 * gdb.python/py-pp-registration.c: New file.
140 * gdb.python/py-pp-registration.py: New file.
141
69b4374a
DE
1422015-04-28 Doug Evans <dje@google.com>
143
144 * gdb.python/py-bad-printers.c: New file.
145 * gdb.python/py-bad-printers.py: New file.
146 * gdb.python/py-bad-printers.exp: New file.
147
59fb7612
SS
1482015-04-28 Sasha Smundak <asmundak@google.com>
149
150 * gdb.python/py-type.exp: New test.
151
2631b16a
AW
1522015-04-28 Andy Wingo <wingo@igalia.com>
153
154 * gdb.python/py-parameter.exp:
155 * gdb.guile/scm-parameter.exp: Escape the path that we are
156 matching against, as it might contain characters that are special
157 to regular expressions.
158
460efde1
JB
1592015-04-27 Joel Brobecker <brobecker@adacore.com>
160
161 * gdb.ada/rec_comp: New testcase.
162
2d369d8e
SDJ
1632015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
164
165 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
166 before using it.
167
cf75d6c3
AB
1682015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
169
170 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
171 new tests for verilog output.
172
8dbe7ca5
YQ
1732015-04-24 Yao Qi <yao.qi@linaro.org>
174
175 * boards/remote-gdbserver-on-localhost.exp: New file.
176
4ef9fb2f
PA
1772015-04-23 Pedro Alves <palves@redhat.com>
178
179 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
180 $inferior_spawn_id instead of $inferior_spawn_id directly. On
181 "end of file", remove $inferior_spawn_id from the indirect list.
182
0a803169
PA
1832015-04-23 Pedro Alves <palves@redhat.com>
184
185 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
186
749ef8f8
PA
1872015-04-23 Pedro Alves <palves@redhat.com>
188
189 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
190 on $any_spawn_id instead of only on $gdb_spawn_id.
191
8aae4344
PM
1922015-04-21 Pierre Muller <muller@sourceware.org>
193
194 PR pascal/17815
195 * lib/pascal.exp (gpc_compile): Add new option "class".
196 (fpc_compile): Likewise.
197 * gdb.pascal/case-insensitive-symbols.pas: New file.
198 * gdb.pascal/case-insensitive-symbols.exp: New file.
199
1586c8fb
GB
2002015-04-20 Gary Benson <gbenson@redhat.com>
201
202 * gdb.base/attach.exp: Fix three extended remote failures.
203
1b6e6f5c
GB
2042015-04-17 Gary Benson <gbenson@redhat.com>
205
206 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
207 the main executable over the remote protocol.
208
e797481d
PA
2092015-04-16 Pedro Alves <palves@redhat.com>
210
211 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
212 a new gdbserver if gdbserver_reconnect_p is set.
213
1ca99c42
PA
2142015-04-16 Pedro Alves <palves@redhat.com>
215
216 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
217 is set, don't exit gdbserver.
218
af9fd6f8
AA
2192015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
220
221 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
222 appropriate .insn, such that an older assembler can be used.
223 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
224 the z/Architecture instruction set on 31-bit targets as well.
225
04ff1e61
AA
2262015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
227
228 * gdb.go/handcall.exp: Remove all logic related to the first
229 breakpoint and rely on go_runto_main instead.
230 * gdb.go/strings.exp: Likewise.
231 * gdb.go/unsafe.exp: Likewise.
232 * gdb.go/hello.exp: Likewise. Also rename the remaining
233 breakpoint marker to "breakpoint 1".
234 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
235 * gdb.go/strings.go: Likewise.
236 * gdb.go/unsafe.go: Likewise.
237 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
238 "set breakpoint 2 here" and rename the remaining breakpoint marker
239 to "breakpoint 1".
240
40d2f8d6
SM
2412015-04-15 Simon Marchi <simon.marchi@ericsson.com>
242
243 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
244 if itertools.imap is not present.
245 * gdb.python/py-objfile.exp: Add parentheses.
246 * gdb.python/py-type.exp: Same.
247 * gdb.python/py-unwind-maint.py: Same.
248
8cbc97c6
YQ
2492015-04-15 Yao Qi <yao.qi@linaro.org>
250
251 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
252 of ":$ptr_size" and set its form explicitly.
253
45fd756c
YQ
2542015-04-15 Pedro Alves <palves@redhat.com>
255 Yao Qi <yao.qi@linaro.org>
256
257 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
258 timeout by factor of 4.
259 (test_regular_watch): Likewise.
260 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
261 * gdb.reverse/sigall-reverse.exp: Likewise.
262 * gdb.reverse/until-precsave.exp: Likewise.
263 * lib/gdb.exp (with_timeout_factor): New proc.
264 (gdb_expect): Move some code to ...
265 (get_largest_timeout): ... here. New procedure.
266
9e811bc3
LM
2672015-04-14 Luis Machado <lgustavo@codesourcery.com>
268
269 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
270
0ff6fcb2
LM
2712015-04-13 Luis Machado <lgustavo@codesourcery.com>
272
273 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
274 to write to the .text section.
275
7578d5f7
LM
2762015-04-13 Luis Machado <lgustavo@codesourcery.com>
277
278 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
279 Handle the case of targets that do not provide PID information.
280
2efe15c4
YQ
2812015-04-13 Yao Qi <yao.qi@linaro.org>
282
283 * lib/gdbserver-support.exp (gdb_exit): Catch exception
284 and use expect instead of gdb_expect.
285
8cd8f2f8
SDJ
2862015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
287
288 * gdb.base/coredump-filter.exp: Rename variable "addr" to
289 "coredump_var_addr" to avoid naming conflict with other testcases.
290
9ee41772
PA
2912015-04-10 Pedro Alves <palves@redhat.com>
292
293 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
294 gdb_test_sequence and gdb_assert.
295
07473109
PA
2962015-04-10 Pedro Alves <palves@redhat.com>
297
298 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
299 test messages that don't include the breakpoint address.
300
de3db44c
YQ
3012015-04-10 Yao Qi <yao.qi@linaro.org>
302
303 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
304 false for some offset and width combinations which aren't
305 supported by linux kernel.
306
c79d856c
PA
3072015-04-10 Pedro Alves <palves@redhat.com>
308
309 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
310 procedure, factored out from ...
311 (top level): ... here. Add "set displaced-stepping" testing axis.
312 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
313 parameter "displaced". Use it.
314 (top level): Use foreach and add "set displaced-stepping" testing
315 axis.
316
ebc90b50
PA
3172015-04-10 Pedro Alves <palves@redhat.com>
318
319 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
320 Remove comment.
321 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
322 both the address of the instruction that triggers the watchpoint
323 and the address of the instruction immediately after, and use
324 those addresses for the test. Fix comment.
325
8f572e5c
PA
3262015-04-10 Pedro Alves <palves@redhat.com>
327
328 * gdb.base/sigstep.exp (breakpoint_to_handler)
329 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
330 Test "backtrace" in handler.
331 (breakpoint_over_handler): New parameter 'displaced'. Use it.
332 (top level): Add new "displaced" test axis to
333 breakpoint_to_handler, breakpoint_to_handler_entry and
334 breakpoint_over_handler.
335
8d707a12
PA
3362015-04-10 Pedro Alves <palves@redhat.com>
337
338 PR gdb/18216
339 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
340
ef713951
YQ
3412015-04-10 Yao Qi <yao.qi@linaro.org>
342
343 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
344 (test_add_rn_pc): New function.
345 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
346 (top level): Invoke test_add_rn_pc.
347
906d60cf
PA
3482015-04-10 Pedro Alves <palves@redhat.com>
349
350 PR gdb/13858
351 * gdb.base/step-over-no-symbols.exp: New file.
352
f2983cc3
AW
3532015-04-09 Andy Wingo <wingo@igalia.com>
354
355 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
356 after the Python tests.
357
6d62641c
SDJ
3582015-04-08 Keith Seitz <keiths@redhat.com>
359
360 PR python/16699
361 * gdb.python/py-completion.exp: New tests for completion.
362 * gdb.python/py-completion.py (CompleteLimit1): New class.
363 (CompleteLimit2): Likewise.
364 (CompleteLimit3): Likewise.
365 (CompleteLimit4): Likewise.
366 (CompleteLimit5): Likewise.
367 (CompleteLimit6): Likewise.
368 (CompleteLimit7): Likewise.
369
f3770638
PA
3702015-04-08 Pedro Alves <palves@redhat.com>
371
372 PR gdb/18214
373 PR gdb/18216
374 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
375 function.
376 (main): Install it as SIGUSR1 handler.
377 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
378 parameter. Always use "setup" as prefix. Toggle "set
379 displaced-stepping" off/on depending on global. Don't switch to
380 thread 1 here.
381 (top level): Add displaced stepping "off/on" test axis. Update
382 "setup" calls. Wrap each subtest with with_test_prefix. Test
383 continuing with a queued signal in each thread.
384
4496bed7
PA
3852015-04-08 Pedro Alves <palves@redhat.com>
386
387 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
388 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
389 gdb_breakpoint instead of gdb_test that doesn't expect anything.
390 Return early if running to main fails.
391 * gdb.trace/while-stepping.exp: Likewise.
392
b97fde92
PA
3932015-04-07 Pedro Alves <palves@redhat.com>
394
395 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
396 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
397 interact with inferior program.
398
f71c18e7
PA
3992015-04-07 Pedro Alves <palves@redhat.com>
400
401 * lib/gdb.exp (inferior_spawn_id): New global.
402 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
403 spawn id after processing the user code.
404 (default_gdb_start): Set inferior_spawn_id.
405 (send_inferior): New procedure.
406 * lib/gdbserver-support.exp (gdbserver_start): Set
407 inferior_spawn_id.
408 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
409
6423214f
PA
4102015-04-07 Pedro Alves <palves@redhat.com>
411
412 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
413 * lib/gdbserver-support.exp (gdbserver_start): Make
414 $server_spawn_id global.
415 (gdbserver_start): Don't wait for gdbserver's spawn id with
416 expect_background.
417 (close_gdbserver): New procedure.
418 (gdb_exit): Rename the default version and reimplement.
419
71c0ee8c
PA
4202015-04-07 Pedro Alves <palves@redhat.com>
421
422 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
423 append the substituted item, not the original item.
424
203bc29b
PA
4252015-04-07 Pedro Alves <palves@redhat.com>
426
427 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
428 gdb_expect.
429
508a3ddf
PA
4302015-04-07 Pedro Alves <palves@redhat.com>
431
432 * gdb.base/interrupt.exp: Don't handle the case of the inferior
433 output appearing once only.
434
9f6dbe2b
PA
4352015-04-07 Pedro Alves <palves@redhat.com>
436
437 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
438 that doesn't expect anything. Return early if running to main
439 fails.
440
337532fa
YQ
4412015-04-07 Yao Qi <yao.qi@linaro.org>
442
443 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
444 (child_function): Call alarm.
445 (main): Move call to alarm into the loop.
446 * gdb.threads/non-stop-fair-events.exp: Build program with
447 -DTIMEOUT=$timeout.
448
01b622d4
DE
4492015-04-06 Doug Evans <xdje42@gmail.com>
450
451 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
452 Fix dest parameter to board_info.
453 (fpc_compile): Ditto.
454 (gdb_compile_pascal): Rename dest arg to destfile.
455
961f4160
PMR
4562015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
457
458 * gdb.ada/funcall_ref.exp: New file.
459 * gdb.ada/funcall_ref/foo.adb: New file.
460
cafda597
YQ
4612015-04-02 Yao Qi <yao.qi@linaro.org>
462
463 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
464 is remote.
465
fed040c6
GB
4662015-04-02 Gary Benson <gbenson@redhat.com>
467
468 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
469
d11916aa
SS
4702015-04-01 Sasha Smundak <asmundak@google.com>
471
472 * gdb.python/py-unwind-maint.c: New file.
473 * gdb.python/py-unwind-maint.exp: New test.
474 * gdb.python/py-unwind-maint.py: New file.
475 * gdb.python/py-unwind.c: New file.
476 * gdb.python/py-unwind.exp: New test.
477 * gdb.python/py-unwind.py: New test.
478
a1471180
PA
4792015-04-01 Pedro Alves <palves@redhat.com>
480
481 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
482 to fail instead of non-existent $test.
483
0bbeccb1
PA
4842015-04-01 Pedro Alves <palves@redhat.com>
485
486 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
487 GDBFLAGS if not empty.
488
3c724c8c
PMR
4892015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
490
491 * gdb.ada/complete.exp: Remove "multi_line".
492 * gdb.ada/info_exc.exp: Remove "multi_line".
493 * gdb.ada/packed_tagged.exp: Remove "multi_line".
494 * gdb.ada/ptype_field.exp: Remove "multi_line".
495 * gdb.ada/sym_print_name.exp: Remove "multi_line".
496 * gdb.ada/tagged.exp: Remove "multi_line".
497 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
498 [multi_line ...]
499 * gdb.btrace/delta.exp: Likewise.
500 * gdb.btrace/exception.exp: Likewise.
501 * gdb.btrace/function_call_history.exp: Likewise.
502 * gdb.btrace/instruction_history.exp: Likewise.
503 * gdb.btrace/nohist.exp: Likewise.
504 * gdb.btrace/record_goto.exp: Likewise.
505 * gdb.btrace/segv.exp: Likewise.
506 * gdb.btrace/stepi.exp: Likewise.
507 * gdb.btrace/tailcall.exp: Likewise.
508 * gdb.btrace/unknown_functions.exp: Likewise.
509 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
510 * lib/gdb.exp: Add the "multi_line" helper.
511
4eec2deb
PA
5122015-04-01 Pedro Alves <palves@redhat.com>
513
514 * gdb.threads/tid-reuse.c: New file.
515 * gdb.threads/tid-reuse.exp: New file.
516
df8411da
SDJ
5172015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
518
519 PR corefiles/16092
520 * gdb.base/coredump-filter.c: New file.
521 * gdb.base/coredump-filter.exp: Likewise.
522
6ef37366
PM
5232015-03-27 Petr Machata <pmachata@redhat.com>
524
525 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
526 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
527 (Dwarf::assemble): Initialize them.
528 (Dwarf::lines): New function.
529
7ec911b0
JT
5302015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
531
532 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
533 SYMBOL_PREFIX for x86_64-*-cygwin.
534
ff908ebf
AW
5352015-03-26 Andy Wingo <wingo@igalia.com>
536
537 PR symtab/18148
538 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
539 const_value but not a location.
540 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
541 location defined in non-main CUs are visible.
542
6d5f0679
YQ
5432015-03-26 Yao Qi <yao.qi@linaro.org>
544
545 PR testsuite/18139
546 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
547 Add a line number entry for the same line.
548 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
549 Add a line number entry for the same line.
550
2898689b
YQ
5512015-03-26 Yao Qi <yao.qi@linaro.org>
552
553 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
554 .int 0.
555 (func): Likewise. Add .Lfunc_1 label.
556 Use .Lfunc_1 label.
557 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
558 .int 0.
559 (func): Likewise.
560 Use .Lfunc_1 label.
561
85180498
YQ
5622015-03-26 Yao Qi <yao.qi@linaro.org>
563
564 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
565 Call gdb_compile instead to compile each .s files without debug
566 information.
567
8aa08a8d
YQ
5682015-03-26 Yao Qi <yao.qi@linaro.org>
569
570 * gdb.base/savedregs.exp (process_saved_regs): Make
571 "Saved registers:" optional in the pattern.
572
66849923
MM
5732015-03-25 Markus Metzger <markus.t.metzger@intel.com>
574
575 * gdb.btrace/next.exp: Merged into step.exp.
576 * gdb.btrace/finish.exp: Merged into step.exp.
577 * gdb.btrace/nexti.exp: Merged into stepi.exp.
578 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
579 "record goto" and checking the exact replay position.
580 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
581 check for "Recording format" in "info record" output.
582 * gdb.btrace/record_goto.exp: Choose test file based on target.
583 * gdb.btrace/x86-record_goto.S: Renamed into ...
584 * gdb.btrace/x86_64-record_goto.S: ... this.
585 * gdb.btrace/i686-record_goto.S: New.
586 * gdb.btrace/x86-tailcall.S: Renamed into ...
587 * gdb.btrace/x86_64-tailcall.S: ... this.
588 * gdb.btrace/i686-tailcall.S: New.
589 * gdb.btrace/x86-tailcall.c: Renamed into ...
590 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
591 separate statements. Update test.
592 * gdb.btrace/delta.exp: Use record_goto.c as test file.
593 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
594 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
595 * gdb.btrace/tailcall.exp: Choose test file based on target.
596 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
597
11cc1b74
MM
5982015-03-25 Markus Metzger <markus.t.metzger@intel.com>
599
600 * gdb.btrace/exception.exp: Increase BTS buffer size.
601
a25d8bf9
PA
6022015-03-24 Pedro Alves <palves@redhat.com>
603
604 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
605
856e7dd6
PA
6062015-03-24 Pedro Alves <palves@redhat.com>
607
608 * gdb.threads/schedlock.exp (test_step): No longer expect that
609 "set scheduler-locking step" with "next" over a function call runs
610 threads unlocked.
611
ad235a41
AT
6122015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
613
614 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
615
15630549
AT
6162015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
617
618 PR breakpoints/16466
619 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
620 * gdb.mi/mi-pending.c (thread_func): New function.
621 (int main): Add threading support required.
622 * gdb.mi/mi-pending.exp: Add tests for this issue.
623 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
624 (pendfunc2): Remove stdio dependency.
625 * gdb.mi/mi-pendshr2.c: New file.
626
693dca06
KS
6272015-03-23 Keith Seitz <keiths@redhat.com>
628
629 * gdb.linespec/keywords.c: New file.
630 * gdb.linespec/keywords.exp: New file.
631
7e993ebf
KS
6322015-03-23 Keith Seitz <keiths@redhat.com>
633
634 PR gdb/18021
635 * gdb.dwarf2/staticvirtual.exp: New test.
636
bc23328c
JK
6372015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
638
639 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
640 * README: Remove HP-UX and gdb.hp.
641 (configuration):
642 * configure: Regenerate.
643 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
644 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
645 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
646 gdb.hp/gdb.defects/Makefile.
647 * gdb.hp/Makefile.in: File deleted.
648 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
649 * gdb.hp/gdb.aCC/optimize.c: File deleted.
650 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
651 * gdb.hp/gdb.aCC/run.c: File deleted.
652 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
653 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
654 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
655 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
656 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
657 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
658 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
659 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
660 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
661 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
662 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
663 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
664 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
665 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
666 * gdb.hp/gdb.base-hp/reg.s: File deleted.
667 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
668 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
669 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
670 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
671 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
672 * gdb.hp/gdb.compat/Makefile.in: File deleted.
673 * gdb.hp/gdb.compat/average.c: File deleted.
674 * gdb.hp/gdb.compat/sum.c: File deleted.
675 * gdb.hp/gdb.compat/xdb.c: File deleted.
676 * gdb.hp/gdb.compat/xdb0.c: File deleted.
677 * gdb.hp/gdb.compat/xdb0.h: File deleted.
678 * gdb.hp/gdb.compat/xdb1.c: File deleted.
679 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
680 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
681 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
682 * gdb.hp/gdb.defects/Makefile.in: File deleted.
683 * gdb.hp/gdb.defects/bs14602.c: File deleted.
684 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
685 * gdb.hp/gdb.defects/solib-d.c: File deleted.
686 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
687 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
688 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
689 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
690 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
691 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
692 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
693 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
694 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
695 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
696 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
697 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
698 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
699 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
700 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
701 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
702 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
703 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
704 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
705 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
706 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
707 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
708 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
709 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
710 * gdb.hp/tools/odump: File deleted.
711
8bf3b159
PA
7122015-03-19 Pedro Alves <palves@redhat.com>
713
714 * gdb.threads/continue-pending-status.exp (saw_thread_2)
715 (saw_thread_3): New globals.
716 (top level): Increment them when an event for the corresponding
717 thread is seen.
718 (no thread starvation): New test.
719
eb54c8bf
PA
7202015-03-19 Pedro Alves <palves@redhat.com>
721
722 * gdb.threads/continue-pending-status.c: New file.
723 * gdb.threads/continue-pending-status.exp: New file.
724
32d2e5d6
PA
7252015-03-18 Pedro Alves <palves@redhat.com>
726
727 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
728 Use gdb_is_target_remote instead of is_remote. Use
729 gdb_test_multiple instead of gdb_expect. Exit early if
730 gdb_test_multiple hits its internal matches. Tighten stepi tests
731 expected output. Fail on exit with any signal, instead of just
732 SIGILL.
733
f68f11b7
YQ
7342015-03-18 Yao Qi <yao.qi@linaro.org>
735
736 PR tdep/18107
737 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
738 variable.
739 * gdb.base/catch-syscall.exp: Don't skip it on
740 aarch64*-*-linux* target. Remove elements in all_syscalls.
741 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
742 target.
743 (setup_all_syscalls): New proc.
744
ca5fd19b
YQ
7452015-03-16 Yao Qi <yao.qi@linaro.org>
746
747 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
748 (top level): Skip tests if valid_addr_p returns false for
749 $cmd1 or $cmd2.
750
85642ba0
AW
7512015-03-11 Andy Wingo <wingo@igalia.com>
752
753 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
754
e03f9645
YQ
7552015-03-11 Yao Qi <yao.qi@linaro.org>
756
757 * gdb.base/catch-syscall.exp: Fix typo in comments.
758
5d0962b2
YQ
7592015-03-11 Yao Qi <yao.qi@linaro.org>
760
761 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
762
b2df3cef
PA
7632015-03-09 Pedro Alves <palves@redhat.com>
764
765 * dg-extract-results.py: Delete.
766
ef878e53
PA
7672015-03-09 Pedro Alves <palves@redhat.com>
768
769 Merge dg-extract-results.sh from GCC upstream (r218843).
770
771 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
772 * dg-extract-results.sh: Use --text with grep to avoid issues with
773 binary files. Fall back to cat -v, if that doesn't work.
774
9494d219
PA
7752015-03-05 Pedro Alves <palves@redhat.com>
776
777 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
778
a8d9763a
SM
7792015-03-04 Simon Marchi <simon.marchi@ericsson.com>
780
781 * lib/mi-support.exp (mi_expect_interrupt): Accept
782 alternative event for when in all-stop mode.
783
be9957b8
PA
7842015-03-04 Pedro Alves <palves@redhat.com>
785
786 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
787
d57be0f4 7882015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
789
790 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
791
c214c7cf
AA
7922015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
793
794 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
795 regexps for GDB's current line display, accept a hex address
796 preceding the line number.
797
6d74a497
AA
7982015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
799
800 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
801 the 'arch1' variable for "s390*-linux*" targets.
802
511aee7c
PA
8032015-03-04 Pedro Alves <palves@redhat.com>
804
805 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
806 (main): Pass missing retval argument to pthread_join call.
807
95e50b27
PA
8082015-03-02 Pedro Alves <palves@redhat.com>
809
810 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
811 (top level): Call do_test with non-stop as well.
812
28054d69
PA
8132015-03-02 Pedro Alves <palves@redhat.com>
814
815 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
816 -1.
817
4fa5d7b4
AA
8182015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
819
820 * gdb.arch/s390-vregs.exp: New test.
821 * gdb.arch/s390-vregs.S: New file.
822
97c18565
PA
8232015-02-27 Pedro Alves <palves@redhat.com>
824
825 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
826 call to catch_command_errors.
827 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
828 catch_command_errors.
829
a37bfa30
PA
8302015-02-27 Pedro Alves <palves@redhat.com>
831
832 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
833 "true" for boolean result.
834 * gdb.gdb/selftest.exp (test_with_self): Also accept full
835 prototype of main.
836
6f98576f
PA
8372015-02-27 Pedro Alves <palves@redhat.com>
838
839 * lib/unbuffer_output.c: New file.
840 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
841 (main): Call gdb_unbuffer_output.
842
eba5ab56
YQ
8432015-02-27 Yao Qi <yao.qi@linaro.org>
844
845 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
846 target.
847
0def5aaa
DE
8482015-02-26 Doug Evans <dje@google.com>
849
850 * gdb.cp/class2.cc (Dbase, D): New classes.
851 (main): New local delta.
852 * gdb.cp/class2.exp: Test printing delta.
853 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
854 (dynbar): New global.
855 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
856
081a1c2c
JK
8572015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 * gdb.compile/compile-ifunc.c: New file.
860 * gdb.compile/compile-ifunc.exp: New file.
861
2f41223f
AT
8622015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
863
864 * gdb.base/structs.exp: Check for correct struct on finish.
865
03eddd80
YQ
8662015-02-26 Yao Qi <yao.qi@linaro.org>
867
868 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
869 is zero.
870
80c57053
JK
8712015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
872
873 * gdb.arch/cordic.ko.bz2: New file.
874 * gdb.arch/cordic.ko.debug.bz2: New file.
875 * gdb.arch/ppc64-symtab-cordic.exp: New file.
876
21613c12
YQ
8772015-02-25 Yao Qi <yao.qi@linaro.org>
878
879 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
880 aarch64*-*-* target.
881
d8b901ed
PA
8822015-02-23 Pedro Alves <palves@redhat.com>
883
884 * lib/gdb.exp (delete_breakpoints): Rewrite using
885 gdb_test_multiple.
886
e5b85ead
PA
8872015-02-23 Pedro Alves <palves@redhat.com>
888
889 * gdb.base/info-os.c: Include stdlib.h.
890
85c3a371
DE
8912015-02-22 Doug Evans <xdje42@gmail.com>
892
893 PR symtab/17855
894 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
895 is read after symbols have been re-read.
896 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
897 * gdb.ada/exec_changed/second.adb (Second): Ditto.
898
96553a0c
DE
8992015-02-21 Doug Evans <dje@google.com>
900
901 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
902
97a0c697
JK
9032015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
904
905 PR corefiles/17808
906 * gdb.arch/i386-biarch-core.core.bz2: New file.
907 * gdb.arch/i386-biarch-core.exp: New file.
908
a47cd6e9
PA
9092015-02-21 Pedro Alves <palves@redhat.com>
910
911 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
912 runto_main fails.
913
c5facdc4
PA
9142015-02-20 Pedro Alves <palves@redhat.com>
915
916 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
917 info probes.
918
2db9a427
PA
9192015-02-20 Pedro Alves <palves@redhat.com>
920
921 * gdb.threads/multi-create-ns-info-thr.exp: New file.
922
60fb7e9e
PA
9232015-02-20 Pedro Alves <palves@redhat.com>
924
925 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
926 clean_restart before gdb_target_supports_trace.
927
5c5019c2
PA
9282015-02-20 Pedro Alves <palves@redhat.com>
929
930 PR threads/18006
931 * gdb.threads/clone-thread_db.c: New file.
932 * gdb.threads/clone-thread_db.exp: New file.
933
c9587f88
AT
9342015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
935
936 PR breakpoints/16812
937 * gdb.base/catch-gdb-caused-signals.c: New file.
938 * gdb.base/catch-gdb-caused-signals.exp: New file.
939
f6a88844
JM
9402015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
941
942 * configure: Regenerated.
943 * configure.ac: Use GDB_AC_TRANSFORM.
944 * aclocal.m4: sinclude ../transform.m4.
945
497c491b
JM
9462015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
947
948 * lib/dtrace.exp: New file.
949 * gdb.base/dtrace-probe.exp: Likewise.
950 * gdb.base/dtrace-probe.d: Likewise.
951 * gdb.base/dtrace-probe.c: Likewise.
952 * lib/pdtrace.in: Likewise.
953 * configure.ac: Output variables with the transformed names of
954 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
955 * configure: Regenerated.
956
03e98035
JM
9572015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
958
959 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
960 expected message when trying to access $_probe_* convenience
961 variables while not on a probe.
962
63cc30e9
JK
9632015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
964
965 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
966
0703599a
PA
9672015-02-11 Pedro Alves <pedro@codesourcery.com>
968
969 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
970 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
971
7e60a48e
DE
9722015-02-10 Doug Evans <xdje42@gmail.com>
973
974 * lib/gdb.exp (gdb_load): Always return a result.
975
01b088bc
PA
9762015-02-10 Pedro Alves <palves@redhat.com>
977
978 * gdb.threads/signal-sigtrap.c: New file.
979 * gdb.threads/signal-sigtrap.exp: New file.
980
b05ec7a5
AT
9812015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
982
983 * gdb.trace/no-attach-trace.c: New file.
984 * gdb.trace/no-attach-trace.exp: New file.
985
a2c2acaf
MW
9862015-02-09 Mark Wielaard <mjw@redhat.com>
987
988 * gdb.dwarf2/atomic.c: New file.
989 * gdb.dwarf2/atomic-type.exp: Likewise.
990
31fd9caa
MM
9912015-02-09 Markus Metzger <markus.t.metzger@intel.com>
992
993 * gdb.btrace/buffer-size.exp: Update "info record" output.
994 * gdb.btrace/delta.exp: Update "info record" output.
995 * gdb.btrace/enable.exp: Update "info record" output.
996 * gdb.btrace/finish.exp: Update "info record" output.
997 * gdb.btrace/instruction_history.exp: Update "info record" output.
998 * gdb.btrace/next.exp: Update "info record" output.
999 * gdb.btrace/nexti.exp: Update "info record" output.
1000 * gdb.btrace/step.exp: Update "info record" output.
1001 * gdb.btrace/stepi.exp: Update "info record" output.
1002 * gdb.btrace/nohist.exp: Update "info record" output.
1003
d33501a5
MM
10042015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1005
1006 * gdb.btrace/buffer-size: New.
1007
f4abbc16
MM
10082015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1009
1010 * gdb.btrace/delta.exp: Update "info record" output.
1011 * gdb.btrace/enable.exp: Update "info record" output.
1012 * gdb.btrace/finish.exp: Update "info record" output.
1013 * gdb.btrace/instruction_history.exp: Update "info record" output.
1014 * gdb.btrace/next.exp: Update "info record" output.
1015 * gdb.btrace/nexti.exp: Update "info record" output.
1016 * gdb.btrace/step.exp: Update "info record" output.
1017 * gdb.btrace/stepi.exp: Update "info record" output.
1018 * gdb.btrace/nohist.exp: Update "info record" output.
1019
b9d61307
SM
10202015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1021
1022 PR gdb/15678
1023 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1024
e584fdbc
PA
10252015-02-06 Pedro Alves <palves@redhat.com>
1026
1027 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1028 macro.
1029 (seconds_left, again): New globals.
1030 (main): Wait seconds_left in a 1-second sleep loop instead of
1031 sleeping 180 seconds. If 'again' is set, reset the seconds
1032 counter.
1033 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1034 'again' in the inferior before detaching. Print the seconds left.
1035 (options): New global.
1036 (top level): Build program with -DTIMEOUT=$timeout.
1037
77f41761
PA
10382015-02-06 Pedro Alves <palves@redhat.com>
1039
1040 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1041 determine how many seconds to pass to 'alarm'.
1042 * gdb.base/gdb-sigterm.exp (top level): Build program with
1043 -DTIMEOUT=$timeout.
1044 (do_test): Return success/failure indication. Add more verbose
1045 logging. Don't fail if 200 single steps are seen. Instead, fail
1046 when the test times out.
1047 (passes): New global.
1048 (top level): Break the testing loop if testing fails on any
1049 iteration. Use gdb_assert.
1050
b9394193
DB
10512015-02-04 Don Breazeal <donb@codesourcery.com>
1052
1053 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1054 and initialize them.
1055 (ipc_cleanup): New function.
1056 (main): Don't declare shmid, semid, and msqid. Add a call to
1057 atexit so that we call ipc_cleanup on exit.
1058
42d9e528
PA
10592015-02-04 Pedro Alves <palves@redhat.com>
1060
1061 * boards/native-extended-gdbserver.exp: Remove any target variant
1062 specifications from the board name before clearing the isremote
1063 flag from board_info.
1064
ae6ae975
DE
10652015-01-31 Doug Evans <xdje42@gmail.com>
1066
1067 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1068
cfb069a8
GB
10692015-01-31 Gary Benson <gbenson@redhat.com>
1070
1071 * gdb.base/completion.exp: Disable completion limiting for
1072 existing tests. Add new tests to check completion limiting.
1073 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1074
5dd31d79
DE
10752015-01-31 Doug Evans <xdje42@gmail.com>
1076
1077 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1078
9f050062
DE
10792015-01-31 Doug Evans <xdje42@gmail.com>
1080
1081 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1082 entries. Duplicate file section script entries.
1083 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1084 inlined entries. Add test for safe-path rejection.
1085 * gdb.python/py-section-script.c: Add duplicate inlined section script
1086 entries. Duplicate file section script entries.
1087 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1088 inlined entries. Add test for safe-path rejection.
1089
df25ebbd
JB
10902015-01-29 Joel Brobecker <brobecker@adacore.com>
1091
1092 * gdb.ada/disc_arr_bound: New testcase.
1093
4a0ca9ec
JB
10942015-01-29 Joel Brobecker <brobecker@adacore.com>
1095
1096 * gdb.ada/mi_var_array: New testcase.
1097
3a8b707a
DE
10982015-01-27 Doug Evans <dje@google.com>
1099
1100 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1101 Add test for objfile.filename, objfile.username after objfile
1102 has been unloaded.
1103
f8313f6e
JB
11042015-01-26 Joel Brobecker <brobecker@adacore.com>
1105
1106 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1107 the second test to print the name attribute of value
1108 returned by the call to gdb.lookup_type, and adjust
1109 the expected output accordingly.
1110
37bc665e
MW
11112015-01-25 Mark Wielaard <mjw@redhat.com>
1112
1113 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1114 * gdb.base/disp-step-fork.c: Include unistd.h.
1115 * gdb.base/siginfo-obj.c: Include stdio.h.
1116 * gdb.base/siginfo-thread.c: Likewise.
1117 * gdb.mi/non-stop.c: Include unistd.h.
1118 * gdb.mi/nsthrexec.c: Include stdio.h.
1119 * gdb.mi/pthreads.c: Include unistd.h.
1120 * gdb.modula2/unbounded1.c (main): Declare returns int.
1121 * gdb.reverse/consecutive-reverse.c: Likewise.
1122 * gdb.threads/create-fail.c: Include unistd.h.
1123 * gdb.threads/killed.c: Likewise.
1124 * gdb.threads/linux-dp.c: Likewise.
1125 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1126 * gdb.threads/non-ldr-exc-2.c: Likewise.
1127 * gdb.threads/non-ldr-exc-3.c: Likewise.
1128 * gdb.threads/non-ldr-exc-4.c: Likewise.
1129 * gdb.threads/pthreads.c: Include unistd.h.
1130 (main): Declare returns int.
1131 * gdb.threads/tls-main.c (foo): New declaration.
1132 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1133
f7e5394d
SM
11342015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1135
1136 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1137 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1138
743649fd
MW
11392015-01-15 Mark Wielaard <mjw@redhat.com>
1140
1141 * gdb.base/noreturn-return.c: New file.
1142 * gdb.base/noreturn-return.exp: New file.
1143 * gdb.base/noreturn-finish.c: New file.
1144 * gdb.base/noreturn-finish.exp: New file.
1145
198297aa
PA
11462015-01-23 Pedro Alves <palves@redhat.com>
1147
1148 * gdb.threads/continue-pending-after-query.c: New file.
1149 * gdb.threads/continue-pending-after-query.exp: New file.
1150
717cf30c
AG
11512015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1152 Simon Marchi <simon.marchi@ericsson.com>
1153
1154 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1155 * gdb.base/valgrind-db-attach.exp: Same.
1156 * gdb.base/valgrind-infcall.exp: Same.
1157 * lib/mi-support.exp (default_mi_gdb_start): Same.
1158 * lib/prompt.exp (default_prompt_gdb_start): Same.
1159 * lib/gdb.exp (default_gdb_spawn): Same.
1160 (gdb_interact): New.
1161
1162
4b62a76e
JK
11632015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1164
1165 * gdb.compile/compile.exp (pointer to jit function): New test.
1166
b4cdae6f
WW
11672015-01-17 Wei-cheng Wang <cole945@gmail.com>
1168
1169 * lib/gdb.exp (supports_process_record): Return true for
1170 powerpc*-*-linux*.
1171 (supports_reverse): Likewise.
1172
d221e7ef
DB
11732015-01-15 Don Breazeal <donb@codesourcery.com>
1174
1175 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1176 instead of checking whether the target board is remote and
1177 use spawn_wait_for_attach instead of exec/sleep.
1178 * gdb.base/attach-twice.exp: Likewise.
1179
bafffb51
JB
11802015-01-15 Joel Brobecker <brobecker@adacore.com>
1181
1182 * gdb.ada/var_arr_attrs: New testcase.
1183
5589af0e
PA
11842015-01-14 Pedro Alves <palves@redhat.com>
1185 Joel Brobecker <brobecker@adacore.com>
1186
1187 PR gdb/17525
1188 * gdb.base/bp-cmds-execution-x-script.c: New file.
1189 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1190 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1191
6c400b59
PA
11922015-01-14 Pedro Alves <palves@redhat.com>
1193
1194 PR cli/17828
1195 * gdb.base/batch-preserve-term-settings.c: New file.
1196 * gdb.base/batch-preserve-term-settings.exp: New file.
1197
e02c96a7
DE
11982015-01-13 Doug Evans <dje@google.com>
1199
1200 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1201 binary.
1202
576fd14c
JB
12032015-01-13 Joel Brobecker <brobecker@adacore.com>
1204
1205 * Makefile.in (clean mostlyclean): Do not delete *.py.
1206
04dccad0
JB
12072015-01-13 Joel Brobecker <brobecker@adacore.com>
1208
1209 * gdb.python/py-lookup-type.exp: New file.
1210
3d230f71
PA
12112015-01-12 Pedro Alves <palves@redhat.com>
1212
1213 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1214 restore GDBFLAGS before returning.
1215
7e67715d
JK
12162015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1217
1218 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1219 is_amd64_regs_target and is_x86_like_target.
1220
f2e0d4b4
DE
12212015-01-11 Doug Evans <xdje42@gmail.com>
1222
1223 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1224 is given without an explicit form.
1225 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1226 attributes.
1227 * gdb.dwarf/corrupt.exp: Ditto.
1228 * gdb.dwarf2/enum-type.exp: Ditto.
1229 * gdb.trace/entry-values.exp: Ditto.
1230 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1231
439250fb
DE
12322015-01-11 Doug Evans <xdje42@gmail.com>
1233
1234 PR gdb/15830
1235 * gdb.base/maint.exp: Remove references to "maint demangle".
1236 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1237 Add tests for explicitly specifying language to demangle.
1238 * gdb.dlang/demangle.exp: Ditto.
1239
ede9f622
PA
12402015-01-09 Pedro Alves <palves@redhat.com>
1241
1242 * gdb.threads/non-stop-fair-events.c: New file.
1243 * gdb.threads/non-stop-fair-events.exp: New file.
1244
a7b796db
PA
12452015-01-09 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1248 the global scope. Set a breakpoint after all threads are started
1249 rather than stepping over two source lines. Expect the prompt.
1250 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1251 global.
1252 (NUM): Now 15.
1253 (main): Use threads_started_barrier to wait for all threads to
1254 start. Main thread no longer calls thread_function. Exit after
1255 180 seconds.
1256 (loop): New function.
1257 (thread_function): Wait on threads_started_barrier barrier. Call
1258 'loop' at each iteration.
1259 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1260 threads have started, instead of hardcoding number of "next"
1261 steps. Use an access watchpoint instead of a write watchpoint.
1262
9665ffdd
PA
12632015-01-09 Pedro Alves <palves@redhat.com>
1264
1265 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1266 (thread_func): Wait on barrier.
1267 (main): Wait for all threads to start before stopping GDB.
1268 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1269 global.
1270 (thread1_func, thread2_func): Wait on barrier.
1271 (main): Wait for all threads to start before stopping GDB.
1272 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1273 New global.
1274 (thread1_func, thread2_func): Wait on barrier.
1275 (main): Wait for all threads to start before stopping GDB.
1276
c945a99f
PA
12772015-01-09 Pedro Alves <palves@redhat.com>
1278
1279 * gdb.threads/attach-many-short-lived-threads.c: New file.
1280 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1281
c1a747c1
PA
12822014-01-09 Pedro Alves <palves@redhat.com>
1283
1284 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1285 instead of to thread 2.
1286 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1287 Add barrier around each pthread_create call instead of around all
1288 calls.
1289 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1290 Set a break on thread_function and have the child threads hit it
1291 one at at a time.
1292
60b3033e
PA
12932015-01-09 Pedro Alves <palves@redhat.com>
1294
1295 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1296 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1297 false.
1298 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1299 checking whether the target board is remote.
1300 * gdb.multi/multi-attach.exp: Likewise.
1301 * gdb.python/py-sync-interp.exp: Likewise.
1302 * gdb.server/ext-attach.exp: Likewise.
1303 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1304 tests that need to attach, instead of checking whether the target
1305 board is remote at the top of the file.
1306
acc018ac
YQ
13072015-01-08 Yao Qi <yao@codesourcery.com>
1308
1309 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1310
50a18af8
JK
13112015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1312
1313 Fix testcase compilation.
1314 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1315
8503d6e1
JB
13162015-01-06 Joel Brobecker <brobecker@adacore.com>
1317
1318 * gdb.python/py-type.exp: Add a couple test about empty
1319 array creation, and negative-length array creation.
1320
cc73dbcc
DE
13212015-01-02 Doug Evans <xdje42@gmail.com>
1322
1323 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1324
0300bbc7
DE
13252015-01-02 Doug Evans <dje@google.com>
1326
1327 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1328
9d85a0ec
YQ
13292014-12-29 Yao Qi <yao@codesourcery.com>
1330
1331 * gdb.trace/entry-values.exp: Update comments. Rename variable
1332 bar_call_foo to returned_from_foo.
1333
87186c6a
MMN
13342014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1335
1336 PR gdb/17394
1337 * gdb.linespec/break-asm-file.c: New file.
1338 * gdb.linespec/break-asm-file.exp: New file.
1339 * gdb.linespec/break-asm-file0.s: New file.
1340 * gdb.linespec/break-asm-file1.s: New file.
1341
1bab7383
YQ
13422014-12-18 Nigel Stephens <nigel@mips.com>
1343 Maciej W. Rozycki <macro@codesourcery.com>
1344
1345 * gdb.base/float.exp: Handle the new output from "info float" on
1346 MIPS targets.
1347
1bc1068a
JK
13482014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1349
1350 Fix MinGW compilation.
1351 * gdb.compile/compile-ops.exp: Update untested message if
1352 !skip_compile_feature_tests.
1353 * gdb.compile/compile-setjmp.exp: Likewise.
1354 * gdb.compile/compile-tls.exp: Likewise.
1355 * gdb.compile/compile.exp: Likewise.
1356 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1357 supported on this host".
1358
b6615d10
DE
13592014-12-16 Doug Evans <xdje42@gmail.com>
1360
1361 * boards/stabs.exp: New file.
1362
25dda427
AA
13632014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1364
1365 * gdb.base/completion.exp: Adjust to format changes of "maint
1366 print user-registers".
1367
bf330350
CU
13682014-12-16 Catalin Udma <catalin.udma@freescale.com>
1369
1370 PR server/17457
1371 * gdb.arch/aarch64-fp.c: New file.
1372 * gdb.arch/aarch64-fp.exp: New file.
1373
395cf596
SDJ
13742014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1375
1376 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1377 r210637, r210913, r211666, r215400, r215817).
1378
1379 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1380 * dg-extract-results.py: New file.
1381 * dg-extract-results.sh: Use it if the environment seems
1382 suitable.
1383
1384 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1385
1386 * dg-extract-results.py (parse_run): Handle warnings that
1387 are printed before a test harness is run.
1388
1389 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1390
1391 * dg-extract-results.py (Named): Remove __cmp__ method.
1392 (output_variation): Use a key to sort variation.harnesses.
1393
1394 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1395
1396 * dg-extract-results.py: For Python 3, force sys.stdout to
1397 handle surrogate escape sequences.
1398 (safe_open): New function.
1399 (output_segment, main): Use it.
1400
1401 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1402
1403 * dg-extract-results.py (Prog.result_re): Include options
1404 in test name.
1405
1406 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1407
1408 * dg-extract-results.py (output_variation): Always sort if
1409 do_sum.
1410
e882ef3c
SM
14112014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1412
1413 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1414 as long as we get pagination notifications.
1415
4992aa20
JM
14162014-12-15 Jason Merrill <jason@redhat.com>
1417
1418 * Makefile.in (check-gdb.%): Restore.
1419 * README: Mention it.
1420
c1b5a1a6
JB
14212014-12-13 Joel Brobecker <brobecker@adacore.com>
1422
1423 * gdb.ada/str_uninit: New testcase.
1424
5537b577
JK
14252014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1426
1427 PR symtab/17642
1428 * gdb.base/vla-stub-define.c: New file.
1429 * gdb.base/vla-stub.c: New file.
1430 * gdb.base/vla-stub.exp: New file.
1431
bb2ec1b3
TT
14322014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1433 Jan Kratochvil <jan.kratochvil@redhat.com>
1434 Tom Tromey <tromey@redhat.com>
1435
1436 * configure.ac: Add gdb.compile/.
1437 * configure: Regenerate.
1438 * gdb.compile/Makefile.in: New file.
1439 * gdb.compile/compile-ops.exp: New file.
1440 * gdb.compile/compile-ops.c: New file.
1441 * gdb.compile/compile-tls.c: New file.
1442 * gdb.compile/compile-tls.exp: New file.
1443 * gdb.compile/compile-constvar.S: New file.
1444 * gdb.compile/compile-constvar.c: New file.
1445 * gdb.compile/compile-mod.c: New file.
1446 * gdb.compile/compile-nodebug.c: New file.
1447 * gdb.compile/compile-setjmp-mod.c: New file.
1448 * gdb.compile/compile-setjmp.c: New file.
1449 * gdb.compile/compile-setjmp.exp: New file.
1450 * gdb.compile/compile-shlib.c: New file.
1451 * gdb.compile/compile.c: New file.
1452 * gdb.compile/compile.exp: New file.
1453 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1454
4ff709eb
TT
14552014-12-12 Tom Tromey <tromey@redhat.com>
1456
1457 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1458 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1459
6dddd6a5
DE
14602014-12-12 Doug Evans <dje@google.com>
1461
1462 * lib/gdb-python.exp (get_python_valueof): New function.
1463 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1464
71c24708
AA
14652014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1466
1467 * gdb.base/completion.exp: Add test for completion of "info
1468 registers ".
1469
3e29f34a
MR
14702014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1471
1472 * gdb.base/func-ptrs.c: New file.
1473 * gdb.base/func-ptrs.exp: New file.
1474
fc126975
SM
14752014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1476
1477 PR breakpoints/17012
1478 * gdb.base/dprintf-detach.c: New file.
1479 * gdb.base/dprintf-detach.exp: New file.
1480
0a46d518
SM
14812014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1482
1483 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1484 * lib/gdb.exp (target_is_gdbserver): New procedure.
1485
a0be3e44
DE
14862014-12-08 Doug Evans <dje@google.com>
1487
1488 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1489
df1b803a
YQ
14902014-12-05 Yao Qi <yao@codesourcery.com>
1491
1492 * gdb.guile/scm-error.exp: Remove the third argument to
1493 gdb_remote_download.
1494 * gdb.guile/scm-frame-args.exp: Likewise.
1495 * gdb.guile/scm-section-script.exp: Likewise.
1496
ddb9f679
YQ
14972014-12-05 Yao Qi <yao@codesourcery.com>
1498
1499 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1500
86e4ed39
DE
15012014-12-04 Doug Evans <dje@google.com>
1502
1503 * gdb.python/py-objfile.exp: Add tests for
1504 objfile.add_separate_debug_file.
1505
7c50a931
DE
15062014-12-04 Doug Evans <dje@google.com>
1507
1508 * lib/gdb.exp (get_build_id): New function.
1509 (build_id_debug_filename_get): Rewrite to use it.
1510 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1511
621661e3
MR
15122014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1513
1514 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1515 `method(long)', not just 0x0.
1516 * gdb.cp/nsalias.exp: Align code labels to 4.
1517 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1518 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1519 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1520 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1521 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1522 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1523
29f0c3b7
DE
15242014-12-02 Doug Evans <dje@google.com>
1525
e1e061e7 1526 PR symtab/17602
29f0c3b7 1527 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1528 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1529 * gdb.cp/anon-ns.exp: Update.
1530
162078c8
NB
15312014-12-02 Nick Bull <nicholaspbull@gmail.com>
1532
1533 * gdb.python/py-events.py (inferior_call_handler): New.
1534 (register_changed_handler, memory_changed_handler): New.
1535 (test_events.invoke): Register new handlers.
1536 * gdb.python/py-events.exp: Add tests for inferior call,
1537 memory_changed and register_changed events.
1538
fdb09caf
AA
15392014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1540
1541 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1542 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1543 if the linker doesn't understand this.
1544
55cfb2c4
SM
15452014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1546
1547 * gdb.python/python.exp: Change expected reply to help().
1548
9e8cd6df
YQ
15492014-12-01 Yao Qi <yao@codesourcery.com>
1550
1551 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1552 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1553 * configure: Re-generated.
1554
6c659fc2
SC
15552014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1556
1557 * gdb.cp/chained-calls.cc: New file.
1558 * gdb.cp/chained-calls.exp: New file.
1559 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1560
d7fc3181
SM
15612014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1562
1563 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1564 * gdb.dwarf2/symtab-producer.exp: Same.
1565 * gdb.gdb/python-interrupts.exp: Same.
1566 * gdb.gdb/python-selftest.exp: Same.
1567 * gdb.python/py-linetable.exp: Same.
1568 * gdb.python/py-type.exp: Same.
1569 * gdb.python/py-value-cc.exp: Same.
1570 * gdb.python/py-value.exp: Same.
1571
10e79639
YQ
15722014-11-28 Yao Qi <yao@codesourcery.com>
1573
1574 * gdb.base/break-probes.exp: Match library name prefixed with
1575 sysroot.
1576
f28a0564
SM
15772014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1578
1579 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1580 test expected output. Add parentheses for the call to print.
1581 Remove L suffix from integers.
1582
3fe1ce1d
DE
15832014-11-26 Doug Evans <dje@google.com>
1584
1585 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1586
84429e27
YQ
15872014-11-22 Yao Qi <yao@codesourcery.com>
1588
1589 * gdb.trace/entry-values.c: Remove asms.
1590 (foo): Add foo_label.
1591 (bar): Add bar_label.
1592 * gdb.trace/entry-values.exp: Remove code computing foo's
1593 length and bar's length.
1594 (Dwarf::assemble): Invoke function_range for bar and use
1595 MACRO_AT_func for foo.
1596
26741859
YQ
15972014-11-22 Yao Qi <yao@codesourcery.com>
1598
1599 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1600 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1601 Use .Lgcc43_procstart instead of gcc43.
1602
45e44d27
JB
16032014-11-21 Joel Brobecker <brobecker@adacore.com>
1604
1605 * gdb.ada/n_arr_bound: New testcase.
1606
458c8db8
SDJ
16072014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1608
1609 PR breakpoints/10737
1610 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1611 test_catch_syscall_multi_arch.
1612 (test_catch_syscall_multi_arch): New function.
1613
43f3e411
DE
16142014-11-20 Doug Evans <xdje42@gmail.com>
1615
1616 * gdb.base/maint.exp: Update expected output.
1617
0d7b2549
AA
16182014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1619
1620 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1621 4-byte instruction on S390.
1622
8908fca5
JB
16232014-11-19 Joel Brobecker <brobecker@adacore.com>
1624
1625 * gdb.ada/arr_arr: New testcase.
1626
4a46959e
JB
16272014-11-19 Joel Brobecker <brobecker@adacore.com>
1628
1629 * gdb.ada/pkd_arr_elem: New Testcase.
1630
470e2f4e
LM
16312014-11-18 Luis Machado <lgustavo@codesourcery.com>
1632
1633 * gdb.reverse/break-precsave: Expect completion message for
1634 core file reads.
1635 * gdb.reverse/consecutive-precsave.exp: Likewise.
1636 * gdb.reverse/finish-precsave.exp: Likewise.
1637 * gdb.reverse/i386-precsave.exp: Likewise.
1638 * gdb.reverse/machinestate-precsave.exp: Likewise.
1639 * gdb.reverse/sigall-precsave.exp: Likewise.
1640 * gdb.reverse/solib-precsave.exp: Likewise.
1641 * gdb.reverse/step-precsave.exp: Likewise.
1642 * gdb.reverse/until-precsave.exp: Likewise.
1643 * gdb.reverse/watch-precsave.exp: Likewise.
1644
a267f3ad
AA
16452014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1646
1647 * gdb.base/bp-permanent.c: Include unistd.h.
1648 * gdb.python/py-framefilter-mi.c (main): Add return type.
1649 * gdb.python/py-framefilter.c (main): Likewise.
1650 * gdb.trace/actions-changed.c (main): Likewise.
1651
12084a9a
AA
16522014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1653
1654 * gdb.mi/until.c: Add eye-catchers.
1655 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1656 line numbers.
1657
dc7e1a77
AA
16582014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1659
1660 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1661 function header variants in break1.c.
1662 * gdb.base/ena-dis-br.exp: Likewise.
1663 * gdb.base/hbreak2.exp: Likewise.
1664 * gdb.reverse/until-precsave.exp: Drop references to removed
1665 non-prototype function header variants in ur1.c.
1666 * gdb.reverse/until-reverse.exp: Likewise.
1667
41c77605
PM
16682014-11-17 Petr Machata <pmachata@redhat.com>
1669
1670 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1671 ${_cu_offset_size} bytes abbrev offset.
1672
34248c3a
DE
16732014-11-15 Doug Evans <xdje42@gmail.com>
1674
1675 PR symtab/17559
1676 * gdb.base/line-symtabs.exp: New file.
1677 * gdb.base/line-symtabs.c: New file.
1678 * gdb.base/line-symtabs.h: New file.
1679
646da059
YQ
16802014-11-14 Yao Qi <yao@codesourcery.com>
1681
1682 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1683 (func): Add label func_label.
1684 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1685 Replace low_pc and high_pc with MACRO_AT_range.
1686 Replace name, low_pc and high_pc with MACRO_AT_func.
1687
9301ebe6
YQ
16882014-11-14 Yao Qi <yao@codesourcery.com>
1689
1690 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1691 Replace name, low_pc and high_pc with MACRO_AT_func.
1692
f166b542
YQ
16932014-11-14 Yao Qi <yao@codesourcery.com>
1694
1695 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1696 produce debug information.
1697 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1698
0f6e71e3
YQ
16992014-11-14 Yao Qi <yao@codesourcery.com>
1700
1701 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1702 object and get function length.
1703 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1704 with MACRO_AT_func.
1705 (top-level): Replace gdb_compile and clean_restart with
1706 prepare_for_testing.
1707 * gdb.dwarf2/main.c (main): Add label main_label.
1708
876c4df9
YQ
17092014-11-14 Yao Qi <yao@codesourcery.com>
1710
1711 * lib/dwarf.exp (function_range): New procedure.
1712 (Dwarf::_handle_macro_at_func): New procedure.
1713 (Dwarf::_handle_macro_at_range): New procedure.
1714 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1715
02ad9cf1
YQ
17162014-11-14 Yao Qi <yao@codesourcery.com>
1717
1718 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1719 (_handle_attribute): New procedure.
1720
a59add0c
AA
17212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1722
1723 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1724 * gdb.base/call-sc.c (zed): Likewise.
1725 * gdb.base/checkpoint.c (main): Likewise.
1726 * gdb.base/dump.c (main): Likewise.
1727 * gdb.base/gcore.c (main): Likewise.
1728 * gdb.base/huge.c (main): Likewise.
1729 * gdb.base/multi-forks.c (main): Likewise.
1730 * gdb.base/pr10179-a.c (main): Likewise.
1731 * gdb.base/savedregs.c (main): Likewise.
1732 * gdb.base/sigaltstack.c (main): Likewise.
1733 * gdb.base/siginfo.c (main): Likewise.
1734 * gdb.base/structs.c (zed): Likewise.
1735 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1736 * gdb.mi/mi-syn-frame.c (main): Likewise.
1737 * gdb.mi/until.c (foo, main): Likewise.
1738 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1739 * gdb.base/solib-weak.c (foo): Declare.
1740 * gdb.base/attach-twice.c: Include stdio.h.
1741 * gdb.base/weaklib1.c: Likewise.
1742 * gdb.base/weaklib2.c: Likewise.
1743 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1744 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1745 unistd.h.
1746 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1747 * gdb.mi/mi-exit-code.c: Likewise.
1748 * gdb.base/break-interp-lib.c: Include string.h.
1749 * gdb.base/coremaker.c: Likewise.
1750 * gdb.base/testenv.c: Likewise.
1751 * gdb.python/py-finish-breakpoint.c: Likewise.
1752 * gdb.base/inferior-died.c: Include sys/wait.h.
1753 * gdb.base/fileio.c: Include time.h.
1754 * gdb.base/async-shell.c: Include unistd.h.
1755 * gdb.base/dprintf-non-stop.c: Likewise.
1756 * gdb.base/info-os.c: Likewise.
1757 * gdb.mi/mi-console.c: Likewise.
1758 * gdb.mi/watch-nonstop.c: Likewise.
1759 * gdb.python/py-events.c: Likewise.
1760 * gdb.base/async.c (baz): Move up before its invocation.
1761 * gdb.base/code_elim2.c (my_global_func): Likewise.
1762 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1763 * gdb.base/advance.c (func2): Likewise.
1764
3b5d5997
AA
17652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1766
1767 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1768 variant.
1769 * gdb.base/annota3.c: Likewise.
1770 * gdb.base/async.c: Likewise.
1771 * gdb.base/average.c: Likewise.
1772 * gdb.base/call-ar-st.c: Likewise.
1773 * gdb.base/call-rt-st.c: Likewise.
1774 * gdb.base/call-sc.c: Likewise.
1775 * gdb.base/call-strs.c: Likewise.
1776 * gdb.base/ending-run.c: Likewise.
1777 * gdb.base/execd-prog.c: Likewise.
1778 * gdb.base/exprs.c: Likewise.
1779 * gdb.base/foll-exec.c: Likewise.
1780 * gdb.base/foll-fork.c: Likewise.
1781 * gdb.base/foll-vfork.c: Likewise.
1782 * gdb.base/funcargs.c: Likewise.
1783 * gdb.base/gcore.c: Likewise.
1784 * gdb.base/jump.c: Likewise.
1785 * gdb.base/langs0.c: Likewise.
1786 * gdb.base/langs1.c: Likewise.
1787 * gdb.base/langs2.c: Likewise.
1788 * gdb.base/mips_pro.c: Likewise.
1789 * gdb.base/nodebug.c: Likewise.
1790 * gdb.base/opaque0.c: Likewise.
1791 * gdb.base/opaque1.c: Likewise.
1792 * gdb.base/recurse.c: Likewise.
1793 * gdb.base/run.c: Likewise.
1794 * gdb.base/scope0.c: Likewise.
1795 * gdb.base/scope1.c: Likewise.
1796 * gdb.base/setshow.c: Likewise.
1797 * gdb.base/setvar.c: Likewise.
1798 * gdb.base/shmain.c: Likewise.
1799 * gdb.base/shr1.c: Likewise.
1800 * gdb.base/shr2.c: Likewise.
1801 * gdb.base/sigall.c: Likewise.
1802 * gdb.base/signals.c: Likewise.
1803 * gdb.base/so-indr-cl.c: Likewise.
1804 * gdb.base/solib2.c: Likewise.
1805 * gdb.base/structs.c: Likewise.
1806 * gdb.base/sum.c: Likewise.
1807 * gdb.base/vforked-prog.c: Likewise.
1808 * gdb.base/watchpoint.c: Likewise.
1809 * gdb.reverse/shr2.c: Likewise.
1810 * gdb.reverse/until-reverse.c: Likewise.
1811 * gdb.reverse/ur1.c: Likewise.
1812 * gdb.reverse/watch-reverse.c: Likewise.
1813
066a77c5
AA
18142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1815
1816 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1817 variant.
1818 * gdb.base/sepdebug.exp: Drop references to removed code.
1819
4f204ea5
AA
18202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1821
1822 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1823 variant. Preserve original line numbering.
1824 * gdb.base/list1.c: Likewise.
1825
3b377a3a
AA
18262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1827
1828 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1829 variant.
1830 * gdb.base/break1.c: Likewise.
1831 * gdb.base/break.exp: Drop references to removed code.
1832
e444df73
AA
18332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1834
1835 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1836 variant.
1837
8008f2a7
AA
18382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1839
1840 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1841
a5a06887
AA
18422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1843
1844 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1845 logic into perform_all_tests() and invoke it with and without
1846 function header prototypes.
1847 (do_function_calls): Remove conditional XFAIL for PR 5318.
1848 (rerun_and_prepare): Remove duplicate code.
1849 (perform_all_tests): New. Main logic moved here.
1850
44dba9b9
AA
18512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1852
1853 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1854 code guarded by #ifdef NO_PROTOTYPES.
1855 (t_double_many_args): Likewise.
1856 (DEF_FUNC_MANY_ARGS_1): Likewise.
1857 (DEF_FUNC_VALUES_1): Likewise.
1858 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1859 guarded by #ifdef PROTOTYPES.
1860
d1fbcd56
AA
18612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1862
1863 * gdb.mi/mi-console.c: Add eye-catcher.
1864 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1865 instead of literal line number.
1866
b0e59b8f
AA
18672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1868
1869 * gdb.base/shr2.c: Add eye-catcher.
1870 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1871 line number.
1872
78f98cca
AA
18732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1874
1875 * gdb.base/jump.c: Add eye-catchers.
1876 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1877 numbers.
1878
58fa2af0
AA
18792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1880
1881 * gdb.base/execd-prog.c: Add eye-catchers.
1882 * gdb.base/foll-exec.c: Likewise.
1883 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1884 line numbers.
1885
04e5059b
AA
18862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1887
1888 * gdb.base/ending-run.c: Add eye-catchers.
1889 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1890 literal line numbers.
1891
dbfdb174
AA
18922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1893
1894 * gdb.base/call-rt-st.c: Add eye-catchers.
1895 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1896 literal line numbers.
1897
888a2ade
AA
18982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1899
1900 * gdb.base/call-ar-st.c: Add eye-catchers.
1901 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1902 literal line numbers.
1903
6acc2dde
AA
19042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1905
1906 * gdb.base/average.c: Add eye-catchers.
1907 * gdb.base/sum.c: Likewise.
1908 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1909 regexps dynamically.
1910
9ecfcd1d
AA
19112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1912
1913 * gdb.base/solib1.c: Add eye-catchers.
1914 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1915 literal line numbers.
1916
78708b7c
PA
19172014-11-12 Pedro Alves <palves@redhat.com>
1918
1919 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1920 leader has exited.
1921
af48d08f
PA
19222014-11-12 Pedro Alves <palves@redhat.com>
1923
1924 * gdb.arch/i386-bp_permanent.c: New file.
1925 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1926 (srcfile): Set to i386-bp_permanent.c.
1927 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1928 that stepi does not execute the 'leave' instruction, instead of
1929 testing it does execute.
1930 * gdb.base/bp-permanent.c: New file.
1931 * gdb.base/bp-permanent.exp: New file.
1932
af3768e9
DE
19332014-11-10 Doug Evans <xdje42@gmail.com>
1934
1935 PR symtab/17564
1936 * gdb.base/symtab-search-order.exp: New file.
1937 * gdb.base/symtab-search-order.c: New file.
1938 * gdb.base/symtab-search-order-1.c: New file.
1939 * gdb.base/symtab-search-order-shlib-1.c: New file.
1940
9de00a4a
PA
19412014-11-07 Pedro Alves <palves@redhat.com>
1942
1943 PR gdb/17511
1944 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1945 i?86-*-linux*.
1946
e0f52461
SC
19472014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1948
1949 PR c++/17494
1950 * gdb.cp/pr17494.cc: New file.
1951 * gdb.cp/pr17494.exp: New file.
1952
6ce8c980
YQ
19532014-11-02 Yao Qi <yao@codesourcery.com>
1954
1955 * gdb.python/python.exp: Get working directory and match the
1956 output of "set extended-prompt \\w " with it.
1957
02be9a71
DE
19582014-10-30 Doug Evans <dje@google.com>
1959
1960 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1961 in objfiles.
1962 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1963 in progspaces.
1964
3bdff46b
LM
19652014-10-30 Janis Johnson <janisjo@codesourcery.com>
1966
1967 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1968 * gdb.base/realname-expand.exp: Likewise.
1969 * gdb.linespec/macro-relative.exp: Likewise.
1970
ab917dfb
PA
19712014-10-29 Pedro Alves <palves@redhat.com>
1972
1973 PR gdb/17408
1974 * gdb.threads/schedlock.c (some_function): New function.
1975 (call_function): New global.
1976 (MAYBE_CALL_SOME_FUNCTION): New macro.
1977 (thread_function): Call it.
1978 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1979 and use it instead of a global counter. Adjust all callers.
1980 (get_current_thread): Use "find current thread" for test message
1981 here rather than having all callers pass down the same string.
1982 (goto_loop): New procedure, factored out from ...
1983 (my_continue): ... this.
1984 (step_ten_loops): Change parameter from test message to command to
1985 use. Adjust.
1986 (list_count): Delete global.
1987 (check_result): New procedure, factored out from duplicate top
1988 level code.
1989 (continue tests): Wrap in with_test_prefix.
1990 (test_step): New procedure, factored out from duplicate top level
1991 code.
1992 (top level): Test "step" in combination with all scheduler-locking
1993 modes. Test "next" in combination with all scheduler-locking
1994 modes, and in combination with stepping over a function call or
1995 not.
1996 * gdb.threads/next-bp-other-thread.c: New file.
1997 * gdb.threads/next-bp-other-thread.exp: New file.
1998
d3d4baed
PA
19992014-10-29 Pedro Alves <palves@redhat.com>
2000
2001 PR python/17372
2002 * gdb.python/python.exp: Test a multi-line command that spawns
2003 interactive Python.
2004 * gdb.base/multi-line-starts-subshell.exp: New file.
2005
563e8d85
YQ
20062014-10-29 Yao Qi <yao@codesourcery.com>
2007
2008 * gdb.base/fileio.exp: Make directories on host.
2009
0ea4d52e
YQ
20102014-10-29 Yao Qi <yao@codesourcery.com>
2011
2012 * gdb.base/fileio.c (test_write): Close the file.
2013
7f5ef605
PA
20142014-10-28 Pedro Alves <palves@redhat.com>
2015
2016 PR gdb/12623
2017 * gdb.base/sigstep.c (no_handler): New global.
2018 (main): If 'no_handler is true, set the signal handlers to
2019 SIG_IGN.
2020 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2021 with_sw_watch and no_handler parameters. Handle them.
2022 (top level) <stepping over handler when stopped at a breakpoint
2023 test>: Add a test axis for testing with a software watchpoint, and
2024 another for testing with the signal handler set to SIG_IGN.
2025 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2026 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2027
abbdbd03
PA
20282014-10-28 Pedro Alves <palves@redhat.com>
2029
2030 PR gdb/17511
2031 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2032 * gdb.base/sigstep.exp (other_handler_location): New global.
2033 (advance): Support stepping into the signal handler, and running
2034 commands while in the handler.
2035 (in_handler_map): New global.
2036 (top level): In the advance test, add combinations for getting
2037 into the handler with stepping commands, and for running commands
2038 in the handler. Add comment descripting the advancei tests.
2039
1df4399f
PA
20402014-10-28 Pedro Alves <palves@redhat.com>
2041
2042 * gdb.base/sigstep.exp: Use build_executable instead of
2043 prepare_for_testing.
2044 (top level): Move code that starts GDB, runs to main and creates a
2045 display to ...
2046 (restart): ... this new procedure.
2047 (top level): Move backtrace from signal handler test to ...
2048 (validate_backtrace): ... this new procedure.
2049 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2050 with_test_prefix. Always restart GDB.
2051 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2052 with_test_prefix. Always restart GDB. No need to delete
2053 breakpoints after the test.
2054 (test_skip_handler): Remove prefix parameter.
2055 (skip_over_handler, breakpoint_to_handler)
2056 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2057 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2058 restart GDB. No need to delete breakpoints after the test.
2059 (top level): Use foreach to call the test procedures with
2060 different commands.
2061
a5b6e449
PA
20622014-10-28 Pedro Alves <palves@redhat.com>
2063
2064 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2065 instead of GNATS numbers.
2066 * gdb.base/sigbpt.exp: Likewise.
2067 * gdb.base/siginfo.exp: Likewise.
2068 * gdb.base/sigstep.exp: Likewise.
2069
e5f8a7cc
PA
20702014-10-27 Pedro Alves <palves@redhat.com>
2071
2072 * gdb.base/sigstep.c (dummy): New global.
2073 (main): Issue a couple writes to the new global.
2074 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2075 procedures.
2076 (skip_over_handler): Use test_skip_handler.
2077 (top level): Call skip_over_handler for stepi and nexti too.
2078 (breakpoint_over_handler): Use test_skip_handler.
2079 (top level): Call breakpoint_over_handler for stepi and nexti too.
2080
763905a3
YQ
20812014-10-27 Yao Qi <yao@codesourcery.com>
2082
2083 * gdb.trace/tfile.c (adjust_function_address)
2084 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2085 function descriptor.
2086
6f259a23
DB
20872014-10-24 Don Breazeal <donb@codesourcery.com>
2088
2089 * gdb.base/foll-fork.exp (test_follow_fork,
2090 catch_fork_child_follow): Check for updated fork messages emitted
2091 from infrun.c.
2092 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2093 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2094 vfork_and_exec_child_follow_through_step): Check for updated vfork
2095 messages emitted from infrun.c.
2096
09dd9a69
PA
20972014-10-24 Pedro Alves <palves@redhat.com>
2098
2099 * gdb.base/corefile.exp: Remove references to ultrix.
2100 * gdb.base/interrupt.exp: Likewise.
2101 * gdb.base/whatis.exp: Likewise.
2102 * gdb.gdb/selftest.exp: Likewise.
2103 * gdb.threads/manythreads.exp: Likewise.
2104 * gdb.threads/print-threads.exp: Likewise.
2105 * gdb.threads/pthreads.exp:: Likewise.
2106 * gdb.threads/schedlock.exp: Likewise.
2107
3433cfa5
SC
21082014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2109
2110 * gdb.cp/non-trivial-retval.cc: Add a test case.
2111 * gdb.cp/non-trivial-retval.exp: Add a test.
2112
092f880b
YQ
21132014-10-20 Yao Qi <yao@codesourcery.com>
2114
2115 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2116 * gdb.python/py-objfile-script-gdb.py: New file.
2117 * gdb.python/py-objfile-script.exp: Update reference to
2118 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2119 of remote_download. Remove the dest file.
2120
acbdb7f3
YQ
21212014-10-20 Yao Qi <yao@codesourcery.com>
2122
2123 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2124 * gdb.base/step-line.exp: Likewise.
2125 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2126 * gdb.dwarf2/dw2-basic.exp: Likewise.
2127 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2128 * gdb.dwarf2/dw2-filename.exp: Likewise.
2129 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2130 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2131 * gdb.dwarf2/dw2-producer.exp: Likewise.
2132 * gdb.dwarf2/mac-fileno.exp: Likewise.
2133 * gdb.python/py-frame-args.exp: Likewise.
2134 * gdb.python/py-framefilter.exp: Likewise.
2135 * gdb.python/py-mi.exp: Likewise.
2136 * gdb.python/py-objfile-script.exp: Likewise
2137 * gdb.python/py-pp-integral.exp: Likewise.
2138 * gdb.python/py-pp-re-notag.exp: Likewise.
2139 * gdb.python/py-prettyprint.exp: Likewise.
2140 * gdb.python/py-section-script.exp: Likewise.
2141 * gdb.python/py-typeprint.exp: Likewise.
2142 * gdb.python/py-xmethods.exp: Likewise.
2143 * gdb.stabs/weird.exp: Likewise.
2144 * gdb.xml/tdesc-regs.exp: Likewise.
2145
bd286a29
KCY
21462014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2147
2148 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2149 (out_cu): Use addr_len for the size of addresses.
2150 (out_line): Likewise. Size DW_LNE_set_address instruction
2151 according to addr_len.
2152 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2153 (FUNC): Add START_INSNS to definition.
2154
673dc4a0
YQ
21552014-10-18 Yao Qi <yao@codesourcery.com>
2156
2157 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2158 gdb_has_argv0 return true.
2159 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2160 check [target_info exists noargs], check [gdb_has_argv0]
2161 instead.
2162 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2163 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2164 procedures.
2165
4ffbba72
DE
21662014-10-17 Doug Evans <dje@google.com>
2167
2168 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2169 event.
2170 * gdb.python/py-events.py: Add clear_objfiles event.
2171
d096d8c1
DE
21722014-10-17 Doug Evans <dje@google.com>
2173
2174 * gdb.python/py-objfile.exp: Test progspace attribute.
2175
a80db015
LM
21762014-10-17 Luis Machado <lgustavo@codesourcery.com>
2177
2178 * gdb.guile/scm-breakpoint.exp: Do not assume any
2179 directory separators when matching source file paths.
2180 * gdb.python/py-breakpoint.exp: Likewise.
2181 * gdb.reverse/break-precsave.exp: Likewise.
2182 * gdb.reverse/break-reverse.exp: Likewise.
2183 * gdb.reverse/consecutive-precsave.exp: Likewise.
2184 * gdb.reverse/finish-precsave.exp: Likewise.
2185 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2186 * gdb.reverse/finish-reverse.exp: Likewise.
2187 * gdb.reverse/i386-precsave.exp: Likewise.
2188 * gdb.reverse/i387-env-reverse.exp: Likewise.
2189 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2190 * gdb.reverse/machinestate-precsave.exp: Likewise.
2191 * gdb.reverse/machinestate.exp: Likewise.
2192 * gdb.reverse/sigall-precsave.exp: Likewise.
2193 * gdb.reverse/solib-precsave.exp: Likewise.
2194 * gdb.reverse/step-precsave.exp: Likewise.
2195 * gdb.reverse/until-precsave.exp: Likewise.
2196 * gdb.reverse/watch-precsave.exp: Likewise.
2197 * gdb.reverse/watch-reverse.exp: Likewise.
2198
b22089ab
YQ
21992014-10-17 Yao Qi <yao@codesourcery.com>
2200
2201 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2202 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2203
6c4486e6
PA
22042014-10-17 Pedro Alves <palves@redhat.com>
2205
2206 PR gdb/17471
2207 * gdb.base/bg-execution-repeat.c: New file.
2208 * gdb.base/bg-execution-repeat.exp: New file.
2209
0ff33695
PA
22102014-10-17 Pedro Alves <palves@redhat.com>
2211
2212 PR gdb/17300
2213 * gdb.base/continue-all-already-running.c: New file.
2214 * gdb.base/continue-all-already-running.exp: New file.
2215
6fdebc3d
PA
22162014-10-17 Pedro Alves <palves@redhat.com>
2217
2218 PR gdb/17472
2219 * gdb.base/annota-input-while-running.c: New file.
2220 * gdb.base/annota-input-while-running.exp: New file.
2221
32a8097b
PA
22222014-10-17 Pedro Alves <palves@redhat.com>
2223
2224 * gdb.base/callfuncs.exp: emove references to osf.
2225 * gdb.base/sigall.exp: Likewise.
2226 * gdb.gdb/selftest.exp: Likewise.
2227 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2228 * gdb.mi/non-stop.c: Likewise.
2229 * gdb.mi/pthreads.c: Likewise.
2230 * gdb.reverse/sigall-precsave.exp: Likewise.
2231 * gdb.reverse/sigall-reverse.exp: Likewise.
2232 * gdb.threads/pthreads.c: Likewise.
2233 * gdb.threads/pthreads.exp: Likewise.
2234
7a3517ff
YQ
22352014-10-17 Yao Qi <yao@codesourcery.com>
2236
2237 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2238 check 'target_info exists noargs'.
2239 (test_command_prompt_position): Likewise.
2240 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2241 Remove "set args".
2242 (progvar_simple_while_test): Likewise.
2243 (progvar_complex_if_while_test): Likewise.
2244 (if_while_breakpoint_command_test): Likewise.
2245 (infrun_breakpoint_command_test): Likewise.
2246 (breakpoint_command_test): Likewise.
2247 (watchpoint_command_test): Likewise.
2248 (bp_deleted_in_command_test): Likewise.
2249 (temporary_breakpoint_commands): Likewise.
2250
bb99c472
YQ
22512014-10-16 Yao Qi <yao@codesourcery.com>
2252
2253 * gdb.base/remotetimeout.exp: Remove noargs checking.
2254
7c16b83e
PA
22552014-10-15 Pedro Alves <palves@redhat.com>
2256
2257 PR breakpoints/9649
2258 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2259 * gdb.base/breakpoint-in-ro-region.exp
2260 (probe_target_hardware_step): New procedure.
2261 (top level): Probe hardware stepping and hardware breakpoint
2262 support. Test stepping through a read-only region, with both
2263 "breakpoint auto-hw" on and off and both "always-inserted" on and
2264 off.
2265
35a49624
IB
22662014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2267
2268 * gdb.dlang/demangle.exp: Update for demangling changes.
2269
2d1c107c
SC
22702014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2271
2272 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2273 * gdb.cp/non-trivial-retval.exp: Add new tests.
2274
778811d5
SC
22752014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2276
2277 PR c++/13403
2278 PR c++/15154
2279 * gdb.cp/non-trivial-retval.cc: New file.
2280 * gdb.cp/non-trivial-retval.exp: New file.
2281
10c5f0a8
YQ
22822014-10-15 Yao Qi <yao@codesourcery.com>
2283
2284 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2285 remote host.
2286
65d7b369
YQ
22872014-10-15 Yao Qi <yao@codesourcery.com>
2288
2289 * gdb.python/py-symbol.exp: Match file base name if host is
2290 remote, otherwise match file name with dir name.
2291 * gdb.python/py-symtab.exp: Likewise.
2292 * gdb.python/python.exp: Likewise.
2293
46dc1394
YQ
22942014-10-15 Yao Qi <yao@codesourcery.com>
2295
2296 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2297 pattern.
2298 * gdb.python/py-symtab.exp: Likewise.
2299 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2300 locationn.
2301
c40cc657
JB
23022014-10-14 Joel Brobecker <brobecker@adacore.com>
2303
2304 * gdb.ada/addr_arith: New testcase.
2305
2abf49e1
MR
23062014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2307
2308 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2309 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2310 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2311 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2312
f7088df3
SDJ
23132014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2314
2315 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2316 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2317 * gdb.arch/stap-eval-lang-ada.exp: New file.
2318
4dc06805
YQ
23192014-10-14 Yao Qi <yao@codesourcery.com>
2320
2321 * gdb.mi/mi-var-child.c (nothing1): New function.
2322 (nothing2): New function.
2323 (do_children_tests): Set function pointers by nothing1 and
2324 nothing2.
2325 * gdb.mi/mi-var-child.exp: Step over new added statements.
2326 Update test to match the new output.
2327 * gdb.mi/var-cmd.c (nothing1): New function.
2328 (nothing2): New function.
2329 (do_children_tests): Set function pointers by nothing1 and
2330 nothing2.
2331 * gdb.mi/mi-var-display.exp: Update test to match output.
2332 Step to the line specified by $line_dct_nothing.
2333 Increase the number of lines to step.
2334
46a93de2
YQ
23352014-10-14 Yao Qi <yao@codesourcery.com>
2336
2337 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2338 tests.
2339 * gdb.mi/mi2-var-child.exp: Likewise.
2340
14ea52ee
DE
23412014-10-13 Doug Evans <dje@google.com>
2342
2343 * gdb.python/py-objfile.exp: Change name of file name test.
2344
e5c6e92b
DE
23452014-10-13 Doug Evans <dje@google.com>
2346
2347 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2348 from the start of the CU.
2349
c780cc2f
JK
23502014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2351 Yao Qi <yao@codesourcery.com>
2352
2353 Fix "save breakpoints" for "catch" command.
2354 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2355 Remove -nonewline. Match also the added "main" line.
2356
99894e11
JK
23572014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2358
2359 Fix "save breakpoints" for "disable $bpnum" command.
2360 * gdb.base/save-bp.c (main): Add label.
2361 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2362
6e1ac5a3
JK
23632014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2364
2365 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2366
754dd2b0
YQ
23672014-10-11 Yao Qi <yao@codesourcery.com>
2368
2369 * gdb.server/server-kill.exp: Execute command
2370 "set remote trace-status-packet on" before "tstatus".
2371
f90183d7
YQ
23722014-10-11 Yao Qi <yao@codesourcery.com>
2373
2374 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2375 (main): Call getppid.
2376 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2377 and continue to it. Read variable "server_pid".
2378
bf40a607
YQ
23792014-10-11 Yao Qi <yao@codesourcery.com>
2380
2381 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2382
052ca370
YQ
23832014-10-11 Yao Qi <yao@codesourcery.com>
2384
2385 * gdb.threads/thread-find.exp: Don't execute command
2386 "info threads".
2387 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2388 * gdb.threads/linux-dp.exp: Don't check the condition
2389 $threads_created equals to zero.
2390
3831839c
PA
23912014-10-10 Pedro Alves <palves@redhat.com>
2392
2393 * gdb.base/bigcore.exp: Remove references to IRIX.
2394 * gdb.base/funcargs.exp: Likewise.
2395 * gdb.base/interrupt.exp: Likewise.
2396 * gdb.base/mips_pro.exp: Likewise.
2397 * gdb.base/nodebug.exp: Likewise.
2398 * gdb.base/setvar.exp: Likewise.
2399 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2400
8b9a549d
PA
24012014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2402 Pedro Alves <palves@redhat.com>
2403
2404 PR symtab/14466
2405 * gdb.base/vdso-warning.c: New file.
2406 * gdb.base/vdso-warning.exp: New file.
2407
d48ba5e8
DE
24082014-10-02 Doug Evans <dje@google.com>
2409
2410 * gdb.base/structs.c (main): Don't run forever.
2411
2278c276
PA
24122014-10-02 Pedro Alves <palves@redhat.com>
2413
2414 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2415 (top level) <stop threads 1, stop threads 2>: Use it.
2416
b57bacec
PA
24172014-10-02 Pedro Alves <palves@redhat.com>
2418
2419 * gdb.threads/break-while-running.exp (test): Add new
2420 'update_thread_list' argument. Skip "info threads" if false.
2421 (top level): Add new 'update_thread_list' axis.
2422
13fd3ff3
PA
24232014-10-02 Pedro Alves <palves@redhat.com>
2424
2425 PR breakpoints/17431
2426 * gdb.base/execl-update-breakpoints.c: New file.
2427 * gdb.base/execl-update-breakpoints.exp: New file.
2428
0fec99e8
PA
24292014-10-01 Pedro Alves <palves@redhat.com>
2430
2431 * gdb.base/breakpoint-in-ro-region.c: New file.
2432 * gdb.base/breakpoint-in-ro-region.exp: New file.
2433
2ddf4301
SM
24342014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2435
2436 * gdb.mi/mi-exit-code.exp: New file.
2437 * gdb.mi/mi-exit-code.c: New file.
2438
6a5f3f43
YQ
24392014-09-30 Yao Qi <yao@codesourcery.com>
2440
2441 * lib/prelink-support.exp (build_executable_own_libs): Error if
2442 the target isn't native.
2443
345bcc73
YQ
24442014-09-30 Yao Qi <yao@codesourcery.com>
2445
2446 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2447 false.
2448
a25a5a45
PA
24492014-09-22 Pedro Alves <palves@redhat.com>
2450
2451 * gdb.threads/break-while-running.exp: New file.
2452 * gdb.threads/break-while-running.c: New file.
2453
00ba3162
YQ
24542014-09-19 Yao Qi <yao@codesourcery.com>
2455
2456 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2457 Invoke test. Restart GDB with --readnow and invoke test again.
2458
c3b7b696
YQ
24592014-09-19 Yao Qi <yao@codesourcery.com>
2460
2461 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2462 proc set_breakpoint_on_gcd_function. Invoke
2463 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2464 invoke set_breakpoint_on_gcd_function again.
2465
2b4fd423
DE
24662014-09-18 Doug Evans <dje@google.com>
2467
2468 * gdb.dwarf2/symtab-producer.exp: New file.
2469
a5947601
SDJ
24702014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2471
2472 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2473 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2474 * gdb.base/global-var-nested-by-dso.c: Likewise.
2475 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2476
91c19059
SDJ
24772014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2478 Pedro Alves <palves@redhat.com>
2479
2480 * gdb.base/watch-bitfields.exp: Pass string other than test file
2481 name to prepare_for_testing.
2482 (watch): New procedure.
2483 (expect_watchpoint): Use with_test_prefix.
2484 (top level): Factor out tests to ...
2485 (test_watch_location, test_regular_watch): ... these new
2486 procedures, and use with_test_prefix and gdb_continue_to_end.
2487
bb9d5f81
PP
24882014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2489
2490 PR breakpoints/12526
2491 * gdb.base/watch-bitfields.exp: New file.
2492 * gdb.base/watch-bitfields.c: New file.
2493
635856f5
PA
24942014-09-16 Pedro Alves <palves@redhat.com>
2495
2496 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2497 software and hardware addresses, not software address against
2498 itself.
2499
7280ceea
PA
25002014-09-16 Pedro Alves <palves@redhat.com>
2501
2502 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2503 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2504
428b16bd
PA
25052014-09-16 Pedro Alves <palves@redhat.com>
2506
2507 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2508 files.
2509 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2510 "*-*-vxworks*" throughout.
2511 * gdb.base/break.exp: Likewise.
2512 * gdb.base/default.exp: Likewise.
2513 * gdb.base/scope.exp: Likewise.
2514 * gdb.base/sepdebug.exp: Likewise.
2515 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2516 throughout.
2517 * gdb.base/run.c: Likewise.
2518 * gdb.base/sepdebug.c: Likewise.
2519 * gdb.hp/gdb.aCC/run.c: Likewise.
2520 * gdb.reverse/until-reverse.c: Likewise.
2521 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2522
666d413c
YQ
25232014-09-16 Yao Qi <yao@codesourcery.com>
2524
2525 * boards/local-remote-host-native.exp: New file.
2526
57cbd724
DE
25272014-09-14 Doug Evans <xdje42@gmail.com>
2528
2529 * gdb.threads/queue-signal.c (thread_count): New variable.
2530 (thread_count_mutex, thread_count_condvar): New variables.
2531 (incr_thread_count, wait_all_threads_running): New functions.
2532 (main): Wait for all threads to be in their thread functions.
2533
81219e53
DE
25342014-09-13 Doug Evans <xdje42@gmail.com>
2535
2536 * gdb.threads/queue-signal.c: New file.
2537 * gdb.threads/queue-signal.exp: New file.
2538
3714cea7
DE
25392014-09-13 Doug Evans <xdje42@gmail.com>
2540
2541 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2542 be consistent with what default_gdb_init uses.
2543 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2544 the plain text of the prompt. Add some logging printfs.
2545 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2546
fa43b1d7
PA
25472014-09-12 Pedro Alves <palves@redhat.com>
2548
2549 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2550 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2551 * gdb.arch/i386-size-overlap.exp: Likewise.
2552 * gdb.arch/i386-size.exp: Likewise.
2553 * gdb.arch/i386-unwind.exp: Likewise.
2554 * gdb.base/a2-run.exp: Likewise.
2555 * gdb.base/break.exp: Likewise.
2556 * gdb.base/charset.exp: Likewise.
2557 * gdb.base/chng-syms.exp: Likewise.
2558 * gdb.base/commands.exp: Likewise.
2559 * gdb.base/dbx.exp: Likewise.
2560 * gdb.base/find.exp: Likewise.
2561 * gdb.base/funcargs.exp: Likewise.
2562 * gdb.base/jit-simple.exp: Likewise.
2563 * gdb.base/reread.exp: Likewise.
2564 * gdb.base/sepdebug.exp: Likewise.
2565 * gdb.base/step-bt.exp: Likewise.
2566 * gdb.cp/mb-inline.exp: Likewise.
2567 * gdb.cp/mb-templates.exp: Likewise.
2568 * gdb.objc/basicclass.exp: Likewise.
2569 * gdb.threads/killed.exp: Likewise.
2570
9d9bf2df
EBM
25712014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2572
2573 PR tdep/17379
2574 * gdb.arch/powerpc-stackless.S: New file.
2575 * gdb.arch/powerpc-stackless.exp: New file.
2576
1cf2f1b0
JK
25772014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2578
2579 * gdb.base/attach.c: Include unistd.h.
2580 (main): Call alarm. Add label postloop.
2581 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2582 gdb_breakpoint, gdb_continue_to_breakpoint.
2583 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2584
98880d46
PA
25852014-09-11 Pedro Alves <palves@redhat.com>
2586
2587 PR gdb/17347
2588 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2589 * gdb.base/attach.exp (test_command_line_attach_run): New
2590 procedure.
2591 (top level): Call it.
2592
4c92ff2c
PA
25932014-09-11 Pedro Alves <palves@redhat.com>
2594
2595 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2596 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2597 (do_command_attach_tests): Use spawn_wait_for_attach.
2598 * gdb.base/solib-overlap.exp: Likewise.
2599 * gdb.multi/multi-attach.exp: Likewise.
2600 * gdb.python/py-prompt.exp: Likewise.
2601 * gdb.python/py-sync-interp.exp: Likewise.
2602 * gdb.server/ext-attach.exp: Likewise.
2603
3adc1a7d
GKB
26042014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2605
2606 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2607 command in testcase. Simplify testcase.
2608
96334934
JB
26092014-09-10 Joel Brobecker <brobecker@adacore.com>
2610
2611 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2612
eb479039
JB
26132014-09-10 Joel Brobecker <brobecker@adacore.com>
2614
2615 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2616
deede10c
JB
26172014-09-10 Joel Brobecker <brobecker@adacore.com>
2618
2619 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2620
7828a5f5
JB
26212014-09-10 Joel Brobecker <brobecker@adacore.com>
2622
2623 * gdb.dwarf2/dynarr-ptr.c: New file.
2624 * gdb.dwarf2/dynarr-ptr.exp: New file.
2625
33aeebcf
MR
26262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2627
2628 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2629 of 30 rather than hardcoding 120 for a slow test case. Take the
2630 `gdb,timeout' target setting into account for this calculation.
2631 Don't extend the timeout for the test cases that don't need it.
2632
7b415901
MR
26332014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2634
2635 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2636 a factor of 2 for a slow test case. Take the `gdb,timeout'
2637 target setting into account for this calculation.
2638 * gdb.reverse/until-precsave.exp: Increase the timeout by
2639 a factor of 15 and 3 respectively rather than adding 120
2640 for a pair of slow test cases. Take the `gdb,timeout'
2641 target setting into account for this calculation.
2642
4a40f85a
MR
26432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2644
2645 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2646 timeout, don't pass one down to gdb_expect.
2647 (gdb_expect): Rework timeout selection.
2648
09635af7
MR
26492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2650
2651 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2652 exception on timeout.
2653 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2654 (gdbserver_start_extended): Catch any `gdbserver_start' error
2655 exceptions.
2656 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2657 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2658 `gdbserver_gdb_load' error exceptions.
2659
2bdd10b7
MR
26602014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2661
2662 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2663 120 on waiting for the TCP socket to open.
2664
316935f0
DE
26652014-09-09 Doug Evans <xdje42@gmail.com>
2666
2667 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2668 _caller_matches, _any_caller_is, _any_caller_matches.
2669
83740597
DE
26702014-09-09 Doug Evans <xdje42@gmail.com>
2671
2672 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2673
4c122fc3
YQ
26742014-09-09 Yao Qi <yao@codesourcery.com>
2675
2676 * gdb.mi/mi-var-display.exp: Set print symbol off.
2677
a9f116cb
GKB
26782014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2679
2680 PR gdb/17035
2681 * gdb.base/commands.exp: Add tests to verify user-defined
2682 commands with empty bodies.
2683 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2684 python commands in `show user command`.
2685 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2686 scheme commands in `show user command`.
2687
c75bd3a2
JK
26882014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2689
2690 PR python/17355
2691 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2692 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2693 * gdb.python/py-framefilter-invalidarg.exp: New file.
2694 * gdb.python/py-framefilter-invalidarg.py: New file.
2695
faa42425
DE
26962014-09-06 Doug Evans <xdje42@gmail.com>
2697
2698 PR 15276
2699 * gdb.python/py-caller-is.c: New file.
2700 * gdb.python/py-caller-is.exp: New file.
2701
474ca4f6
SDJ
27022014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2703
2704 PR gdb/17235
2705 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2706 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2707
eb0b0463
SDJ
27082014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2709
2710 PR fortran/17237
2711 * gdb.fortran/print-formatted.exp: New file.
2712 * gdb.fortran/print-formatted.f90: Likewise.
2713
5f3b99cf
SS
27142014-09-03 Sasha Smundak <asmundak@google.com>
2715
2716 * gdb.python/py-frame.exp: Test Frame.read_register.
2717
7d793aa9
SDJ
27182014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2719
2720 PR python/16699
2721 * gdb.python/py-completion.exp: New file.
2722 * gdb.python/py-completion.py: Likewise.
2723
fb0576e9
DE
27242014-08-28 Doug Evans <dje@google.com>
2725
2726 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2727 eax,etc. are live with values set by gdb and thus the compiler can't
2728 use them.
2729 * gdb.arch/i386-pseudo.c (main): Ditto.
2730
ee92b0dd
DE
27312014-08-27 Doug Evans <dje@google.com>
2732
2733 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2734
6649db35
DE
27352014-08-25 Doug Evans <dje@google.com>
2736
2737 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2738 (main): Ditto.
2739
564b7600
DE
27402014-08-25 Doug Evans <dje@google.com>
2741
2742 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2743
3881fb67
YQ
27442014-08-24 Yao Qi <yao@codesourcery.com>
2745
2746 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2747 symbol off.
2748 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2749
a05a36a5
DE
27502014-08-22 Doug Evans <dje@google.com>
2751
2752 PR 17276
2753 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2754 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2755 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2756
7c343b48
YQ
27572014-08-22 Yao Qi <yao@codesourcery.com>
2758
2759 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2760 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2761 * gdb.python/python.exp: Likewise. Use .py file on the host
2762 instead of the build.
2763
22fd09ae
JK
27642014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2765
2766 * gdb.threads/gcore-stale-thread.c: New file.
2767 * gdb.threads/gcore-stale-thread.exp: New file.
2768
a8454a7c
PA
27692014-08-21 Pedro Alves <palves@redhat.com>
2770
2771 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2772 * gdb.base/gcore-relro-pie.exp: Likewise.
2773 * gdb.base/gcore-relro.exp: Likewise.
2774 * gdb.base/gcore.exp: Likewise.
2775 * gdb.base/print-symbol-loading.exp: Likewise.
2776 * gdb.threads/gcore-thread.exp: Likewise.
2777 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2778
2a31c623
PA
27792014-08-20 Pedro Alves <palves@redhat.com>
2780 Jan Kratochvil <jan.kratochvil@redhat.com>
2781
2782 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2783 configure.
2784 (EXPECT): Handle READ1 being set.
2785 (all): Depend on EXTRA_RULES.
2786 (check-read1, expect-read1, read1.so, read1): New rules.
2787 * README (Testsuite Parameters): Document the READ1 make variable.
2788 (Race detection): New section.
2789 * configure: Regenerate.
2790 * configure.ac: If build==host==target, and running under a
2791 GNU/glibc system, add read1 to the extra Makefile rules.
2792 (EXTRA_RULES): AC_SUBST it.
2793 * lib/read1.c: New file.
2794
d36430db
JB
27952014-08-20 Joel Brobecker <brobecker@adacore.com>
2796
2797 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2798 the handling of variables declared as a typedef to an array
2799 which a DW_AT_data_location attribute.
2800
9a0dc9e3
PA
28012014-08-19 Andrew Burgess <aburgess@broadcom.com>
2802 Pedro Alves <palves@redhat.com>
2803
2804 PR symtab/14604
2805 PR symtab/14605
2806 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2807 gdb_test.
2808
0718a8da
PA
28092014-08-19 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2812
13b448cd
YQ
28132014-08-19 Yao Qi <yao@codesourcery.com>
2814
2815 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2816 right line.
2817
1cbf5077
DB
28182014-08-18 David Blaikie <dblaikie@gmail.com>
2819
2820 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2821
bf0fae19
JB
28222014-08-18 Joel Brobecker <brobecker@adacore.com>
2823
2824 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2825 attribute in array range.
2826
3c8c5dcc
JB
28272014-08-18 Joel Brobecker <brobecker@adacore.com>
2828
2829 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2830
e66d4446
SC
28312014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2832
2833 PR c++/17132
2834 * gdb.cp/pr17132.cc: New file.
2835 * gdb.cp/pr17132.exp: New file.
2836
940df408
SC
28372014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2838
2839 * gdb.python/py-xmethods.py (A_getarrayind)
2840 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2841 Use 'print' with function call syntax.
2842 (E_method_matcher.match): Fix tab vs space indentation mixup.
2843
ebcc6c3a
YQ
28442014-08-15 Yao Qi <yao@codesourcery.com>
2845
2846 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2847 false.
2848
775e0f04
YQ
28492014-08-15 Yao Qi <yao@codesourcery.com>
2850
2851 * gdb.cp/casts.exp: Set print symbol off.
2852 * gdb.cp/class2.exp: Likewise.
2853 * gdb.cp/overload.exp: Likewise.
2854 * gdb.cp/templates.exp: Likewise.
2855
d769e349
DE
28562014-08-11 Doug Evans <dje@google.com>
2857
2858 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2859 (test_load_shlib): Update.
2860
20c6f1e1
YQ
28612014-08-09 Yao Qi <yao@codesourcery.com>
2862
2863 * gdb.base/display.exp: Invoke is_address_zero_readable.
2864 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2865 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2866 * gdb.base/hbreak-unmapped.exp: Return if
2867 is_address_zero_readable returns true.
2868 * gdb.base/signest.exp: Likewise.
2869 * gdb.base/signull.exp: Likewise.
2870 * gdb.base/sigbpt.exp: Likewise.
2871 * gdb.guile/scm-disasm.exp: Do the test if
2872 is_address_zero_readable returns false.
2873 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2874 * gdb.python/py-arch.exp: Likewise.
2875 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2876 * lib/gdb.exp (is_address_zero_readable): New proc.
2877
5792e8e3
YQ
28782014-08-09 Yao Qi <yao@codesourcery.com>
2879
2880 PR testsuite/13443
2881 * gdb.mi/mi-var-display.exp: Make test messages unique.
2882
3cecbbbe
TT
28832014-08-04 Tom Tromey <tromey@redhat.com>
2884
2885 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2886 target 0".
2887
00b51ff5
TT
28882014-08-04 Tom Tromey <tromey@redhat.com>
2889
2890 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2891 "target_resume".
2892
6908c509
JB
28932014-08-01 Joel Brobecker <brobecker@adacore.com>
2894
2895 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2896 inner_vla_struct_object_size.
2897 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2898 as xfail.
2899
cc6563d2
PA
29002014-07-30 Pedro Alves <palves@redhat.com>
2901
2902 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2903 comment.
2904
7e09a223
YQ
29052014-07-29 Yao Qi <yao@codesourcery.com>
2906
2907 PR gdb/17206
2908 * gdb.base/until-nodebug.exp: New.
2909
7ebdbe92
DE
29102014-07-28 Doug Evans <xdje42@gmail.com>
2911
2912 PR guile/17203
2913 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2914 previously existing parameter, and previously ambiguously spelled
2915 parameter.
2916
fdb1adc6
WN
29172014-07-28 Will Newton <will.newton@linaro.org>
2918
2919 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2920
186fcde0
DE
29212014-07-26 Ludovic Courtès <ludo@gnu.org>
2922 Doug Evans <xdje42@gmail.com>
2923
2924 PR guile/17146
2925 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2926
70509625
PA
29272014-07-25 Pedro Alves <palves@redhat.com>
2928
2929 * gdb.threads/signal-command-handle-nopass.c: New file.
2930 * gdb.threads/signal-command-handle-nopass.exp: New file.
2931 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2932 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2933 * gdb.threads/signal-delivered-right-thread.c: New file.
2934 * gdb.threads/signal-delivered-right-thread.exp: New file.
2935
c3f814a1
PA
29362014-07-25 Pedro Alves <palves@redhat.com>
2937
2938 * gdb.base/double-prompt-target-event-error.exp
2939 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2940 match.
2941 (cancel_pagination_in_target_event): Rework double prompt
2942 detection.
2943 * gdb.base/paginate-after-ctrl-c-running.exp
2944 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2945 <return>' match.
2946 * gdb.base/paginate-bg-execution.exp
2947 (test_bg_execution_pagination_return)
2948 (test_bg_execution_pagination_cancel): Remove '-notransfer
2949 <return>' matches.
2950 * gdb.base/paginate-execution-startup.exp
2951 (test_fg_execution_pagination_return)
2952 (test_fg_execution_pagination_cancel): Remove '-notransfer
2953 <return>' matches.
2954 * gdb.base/paginate-inferior-exit.exp
2955 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2956 match.
2957 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2958 * lib/gdb.exp (pagination_prompt): Run text through
2959 string_to_regexp.
2960 (gdb_test_multiple): Match $pagination_prompt instead of
2961 "<return>".
2962 (string_to_regexp): Move to lib/gdb-utils.exp.
2963
e214cf6c
JK
29642014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2965
2966 * gdb.arch/amd64-entry-value-paramref.S: New file.
2967 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2968 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2969 * gdb.arch/amd64-optimout-repeat.S: New file.
2970 * gdb.arch/amd64-optimout-repeat.c: New file.
2971 * gdb.arch/amd64-optimout-repeat.exp: New file.
2972
17d0c5c8
JK
29732014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2974
2975 PR gdb/17170
2976 * gdb.base/statistics.exp: New file.
2977
b8b8facf
DE
29782014-07-17 Doug Evans <dje@google.com>
2979
74b49205 2980 PR gdb/17170
b8b8facf
DE
2981 * gdb.base/maint.exp: Update testing of per-command stats.
2982
1b5d0ab3
PA
29832014-07-16 Pedro Alves <palves@redhat.com>
2984
2985 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2986 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2987 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2988 (tfile_write_buf): New functions.
2989 (add_memory_block): Rewrite using the above.
2990 (adjust_function_address): New function.
2991 (FUNCTION_ADDRESS): New macro.
2992 (write_basic_trace_file): Remove short_x local, and use
2993 tfile_write_16. Change type of func_addr local to unsigned long
2994 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2995 here. Cast argument of add_memory_block to char pointer.
2996 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2997 (main): Remove parameters.
2998 * gdb.trace/tfile.exp: Remove nowarnings.
2999
4d974e88
SM
30002014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3001
3002 * gdb.base/debug-expr.exp: Test string evaluation with
3003 "debug expression" on.
3004
41e99568
PA
30052014-07-15 Pedro Alves <palves@redhat.com>
3006
3007 * gdb.base/reread.exp: Use clean_restart.
3008
487d9753
PL
30092014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3010
3011 * gdb.arch/avr-flash-qualifer.c: New.
3012 * gdb.arch/avr-flash-qualifer.exp: New.
3013
cc1c52ad
PA
30142014-07-14 Pedro Alves <palves@redhat.com>
3015
3016 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3017 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3018
1e973570
PA
30192014-07-14 Pedro Alves <palves@redhat.com>
3020
3021 * gdb.base/double-prompt-target-event-error.c: New file.
3022 * gdb.base/double-prompt-target-event-error.exp: New file.
3023
93d6eb10
PA
30242014-07-14 Pedro Alves <palves@redhat.com>
3025
3026 PR gdb/17072
3027 * gdb.base/paginate-inferior-exit.c: New file.
3028 * gdb.base/paginate-inferior-exit.exp: New file.
3029
0017922d
PA
30302014-07-14 Pedro Alves <palves@redhat.com>
3031
3032 PR gdb/17072
3033 * gdb.base/paginate-bg-execution.c: New file.
3034 * gdb.base/paginate-bg-execution.exp: New file.
3035
94696ad3
PA
30362014-07-14 Pedro Alves <palves@redhat.com>
3037
3038 PR gdb/17072
3039 * gdb.base/paginate-execution-startup.c: New file.
3040 * gdb.base/paginate-execution-startup.exp: New file.
3041 * lib/gdb.exp (pagination_prompt): New global.
3042 (default_gdb_spawn): New procedure, factored out from
3043 default_gdb_spawn.
3044 (default_gdb_start): Adjust to call default_gdb_spawn.
3045 (gdb_spawn): New procedure.
3046
bd293940
PA
30472014-07-14 Pedro Alves <palves@redhat.com>
3048
3049 * lib/gdb.exp (gdb_assert): New procedure.
3050 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3051
c933f875
PA
30522014-07-14 Pedro Alves <palves@redhat.com>
3053
3054 * gdb.base/execution-termios.c: New file.
3055 * gdb.base/execution-termios.exp: New file.
3056
d98b7a16
TT
30572014-07-14 Tom Tromey <tromey@redhat.com>
3058
3059 * gdb.cp/vla-cxx.cc: New file.
3060 * gdb.cp/vla-cxx.exp: New file.
3061
548740d6
TT
30622014-07-14 Tom Tromey <tromey@redhat.com>
3063
3064 * gdb.reverse/rerun-prec.c: New file.
3065 * gdb.reverse/rerun-prec.exp: New file.
3066
a25eb028
MR
30672014-07-12 Maciej W. Rozycki <macro@mips.com>
3068 Maciej W. Rozycki <macro@codesourcery.com>
3069
3070 * lib/gdb-utils.exp: New file.
3071 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3072 inline `gdb_init_command' processing.
3073 (gdb_start_cmd): Likewise.
3074 * lib/mi-support.exp (mi_run_cmd): Likewise.
3075 * README: Document `gdb_init_command' and `gdb_init_commands'.
3076
218c2655
JK
30772014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3078
3079 Fix false FAIL running under a very long directory name.
3080 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3081 and "set print elements 10000". Twice.
3082
5401fde3
YQ
30832014-07-11 Yao Qi <yao@codesourcery.com>
3084
3085 * gdb.base/exprs.exp: "set print symbol off".
3086
e76126e8
PA
30872014-07-11 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.threads/kill.c: New file.
3090 * gdb.threads/kill.exp: New file.
3091
2d6f0de6
YQ
30922014-07-10 Yao Qi <yao@codesourcery.com>
3093
3094 * gdb.trace/tfile.c (write_basic_trace_file)
3095 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3096 address written to trace file.
3097
7180e04a
PA
30982014-07-09 Pedro Alves <palves@redhat.com>
3099
3100 * gdb.base/attach-wait-input.exp: New file.
3101 * gdb.base/attach-wait-input.c: New file.
3102
9a9a7608
AB
31032014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3104
3105 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3106 setting up test structures.
3107 (main): Call new test function.
3108 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3109 test function, continue into test function and walk test
3110 structures.
3111
161ac41e
YQ
31122014-07-02 Yao Qi <yao@codesourcery.com>
3113
3114 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3115 'bar_start' at the beginning of functions 'foo' and 'bar'
3116 respectively.
3117 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3118 instead of 'foo' and 'bar'.
3119
1f267ae3
MM
31202014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3121
3122 * gdb.btrace/segv.exp: New.
3123 * gdb.btrace/segv.c: New.
3124
2b239efb
LM
31252014-07-02 Luis Machado <lgustavo@codesourcery.com>
3126
3127 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3128 instruction.
3129
cf363f18
MW
31302014-06-30 Mark Wielaard <mjw@redhat.com>
3131
3132 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3133 vulture, vilify, villar): New volatile array constants.
3134 (vindictive, vegetation): New const volatile array constants.
3135 * gdb.base/volatile.exp: Test volatile and const volatile array
3136 types.
3137
aebf9d24
AA
31382014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3139
3140 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3141 target lacks support for awatch, rwatch, or hbreak.
3142
b67a2c6f
YQ
31432014-06-27 Yao Qi <yao@codesourcery.com>
3144
3145 * gdb.multi/dummy-frame-restore.exp: New.
3146 * gdb.multi/dummy-frame-restore.c: New.
3147
aef92902
MM
31482014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3149
3150 * gdb.btrace/gcore.exp: New.
3151
8e9db26e
PA
31522014-06-23 Pedro Alves <palves@redhat.com>
3153
3154 * gdb.base/watchpoint-reuse-slot.c: New file.
3155 * gdb.base/watchpoint-reuse-slot.exp: New file.
3156
70afc5b7
SC
31572014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3158
3159 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3160 progspace's filename in 'info', 'enable' and 'disable' command
3161 tests.
3162
b972bd9c
JK
31632014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3164
3165 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3166 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3167 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3168
125f8a3d
GB
31692014-06-20 Gary Benson <gbenson@redhat.com>
3170
3171 * gdb.arch/i386-avx.exp: Fix include file location.
3172 * gdb.arch/i386-sse.exp: Likewise.
3173
3ed9baed
IB
31742014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3175
3176 * gdb.dlang/expression.exp: New file.
3177
034f788c
PA
31782014-06-19 Pedro Alves <palves@redhat.com>
3179
3180 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3181 out from ...
3182 (top level): ... here. Iterate running tests under different
3183 scheduler-locking settings.
3184
45371d0c
LM
31852014-06-18 Luis Machado <lgustavo@codesourcery.com>
3186
3187 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3188 to DW_FORM_addr and use non-zero addresses.
3189
5d376983
SC
31902014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3191
3192 PR gdb/17017
3193 * gdb.python/py-xmethods.cc: Add global function call counters and
3194 increment them in their respective functions. Remove "cout"
3195 statements.
3196 * gdb.python/py-xmethods.exp: Make tests check the global function
3197 call counters instead of depending on inferior IO.
3198
a1aa2221
LM
31992014-06-18 Don Breazeal <donb@codesourcery.com>
3200
3201 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3202 Deleted procedure.
3203 (explicit_fork_parent_follow): Deleted procedure.
3204 (explicit_fork_child_follow): Deleted procedure.
3205 (test_follow_fork): New procedure.
3206 (do_fork_tests): Replace calls to deleted procedures with
3207 calls to test_follow_fork and reset GDB for subsequent
3208 procedure calls.
3209
0fc05997
YQ
32102014-06-17 Yao Qi <yao@codesourcery.com>
3211
3212 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3213 CP1252.
3214
70795c52
LM
32152014-06-17 Luis Machado <lgustavo@codesourcery.com>
3216
3217 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3218 Initialize ptr and S explicitly.
3219 (skip_type_update_when_not_use_rtti_test): Likewise.
3220
6be47f0c
KS
32212014-06-16 Keith Seitz <keiths@redhat.com>
3222
3223 PR mi/15863
3224 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3225 the inferior is started.
3226
d03de421
PA
32272014-06-16 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.base/break-main-file-remove-fail.c: New file.
3230 * gdb.base/break-main-file-remove-fail.exp: New file.
3231 * gdb.base/break-unload-file.exp: Use build_executable instead of
3232 prepare_for_testing.
3233 (test_break): New parameter "initial_load". Handle it.
3234 (top level): Add initial_load cmdline/file axis.
3235
f9579b99
TT
32362014-06-12 Tom Tromey <tromey@redhat.com>
3237
3238 * gdb.base/completion.exp: Don't use directory name in test.
3239
3657956b
GB
32402014-06-09 Gary Benson <gbenson@redhat.com>
3241
3242 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3243 separate the always-available ANSI-standard signals from the
3244 signals that require checking.
3245 (main): Likewise.
3246 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3247 Likewise.
3248 (main): Likewise.
3249
4186eb54
KS
32502014-06-07 Keith Seitz <keiths@redhat.com>
3251
3252 Revert:
3253 PR c++/16253
3254 * gdb.cp/var-tag.cc: New file.
3255 * gdb.cp/var-tag.exp: New file.
3256 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3257 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3258 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3259 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3260
25326a28 32612014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3262
3263 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3264
829155c9
PA
32652014-06-06 Pedro Alves <palves@redhat.com>
3266
3267 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3268 in target debug output instead of looking at RSP packets,
3269 disabling the test on any target that uses hardware stepping.
3270 Update comments.
3271
61c8d22e
PA
32722014-06-06 Pedro Alves <palves@redhat.com>
3273
3274 * gdb.base/break-unload-file.exp: Fix typo.
3275
d9a47287
YQ
32762014-06-06 Yao Qi <yao@codesourcery.com>
3277
3278 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3279 from "jit_function" to "^jit_function".
3280
e5e01dbf
YQ
32812014-06-06 Yao Qi <yao@codesourcery.com>
3282
3283 * gdb.base/async.c (foo): Add one statement.
3284 * gdb.base/async.exp: Get the next instruction address and
3285 match the output of "nexti" by instruction address. Match
3286 the hex address in the output of "finish".
3287
73ba372c
GB
32882014-06-06 Gary Benson <gbenson@redhat.com>
3289
3290 * gdb.base/call-signals.c: Remove preprocessor conditionals
3291 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3292 SIGSEGV and SIGTERM.
3293 * gdb.base/sigall.c: Likewise.
3294 * gdb.base/unwindonsignal.c: Likewise.
3295 * gdb.reverse/sigall-reverse.c: Likewise.
3296
831517df
YQ
32972014-06-06 Yao Qi <yao@codesourcery.com>
3298
3299 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3300 readable, skip the test.
3301
b8b91e98
YQ
33022014-06-06 Yao Qi <yao@codesourcery.com>
3303
3304 * gdb.threads/staticthreads.c (thread_function): Move the line
3305 setting breakpoint on forward.
3306 * gdb.threads/staticthreads.exp: Update comments.
3307
fb934770
LC
33082014-06-05 Ludovic Courtès <ludo@gnu.org>
3309
3310 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3311 "history-append! type error".
3312
6ef284bd
SM
33132014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3314
3315 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3316 erroneous dprintf expected input.
3317
a872e241
DE
33182014-06-04 Doug Evans <xdje42@gmail.com>
3319
3320 * gdb.guile/scm-generics.exp: Delete.
3321
16f691fb
DE
33222014-06-04 Doug Evans <xdje42@gmail.com>
3323
3324 * gdb.guile/scm-breakpoint.exp: Update.
3325 Add tests for breakpoint registration.
3326
012370f6
TT
33272014-06-04 Tom Tromey <tromey@redhat.com>
3328
3329 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3330 VLA-in-union.
3331 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3332 inner_vla_struct, vla_union types. Initialize objects of those
3333 types and compute their sizes.
3334
9f5a4cef
HZ
33352014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3336 Hui Zhu <hui@codesourcery.com>
3337
3338 * gdb.base/fileio.exp: Add test for shell not available as well as
3339 available.
3340 * gdb.base/fileio.c (test_system): Check for shell twice.
3341
90a45c4d
YQ
33422014-06-04 Yao Qi <yao@codesourcery.com>
3343
3344 * gdb.base/auto-connect-native-target.exp: Remove redundant
3345 space from the regexp pattern.
3346
70017e41
YQ
33472014-06-04 Yao Qi <yao@codesourcery.com>
3348
3349 * gdb.base/default.exp: Replace "child" with "native" in
3350 regexp pattern.
3351
883964a7
SC
33522014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3353
3354 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3355 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3356 * gdb.python/py-xmethods.py: Python script supporting the
3357 new testcase and tests.
3358
ef370185
JB
33592014-06-03 Joel Brobecker <brobecker@adacore.com>
3360 Pedro Alves <palves@redhat.com>
3361
3362 PR breakpoints/17000
3363 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3364 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3365
1e2ccb61
BM
33662014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3367
3368 * gdb.base/subst.exp: Add tests to verify partial path matching
3369 output.
3370
c6ec5ab2
PA
33712014-06-03 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3374 target that doesn't use software single-stepping.
3375
835c559f
PA
33762014-06-03 Pedro Alves <palves@redhat.com>
3377
3378 PR breakpoints/17000
3379 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3380 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3381
06eb1586
DE
33822014-06-02 Doug Evans <xdje42@gmail.com>
3383
3384 * gdb.guile/scm-parameter.exp: New file.
3385
e698b8c4
DE
33862014-06-02 Doug Evans <xdje42@gmail.com>
3387
3388 * gdb.guile/scm-cmd.c: New file.
3389 * gdb.guile/scm-cmd.exp: New file.
3390
ded03782
DE
33912014-06-02 Doug Evans <xdje42@gmail.com>
3392
3393 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3394 pretty-printer lookup.
3395 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3396 (make-pp_s-printer): Call it.
3397 (make-pretty-printer-from-dict): New function.
3398 (lookup-pretty-printer-maker-from-dict): New function.
3399 (*pretty-printer*): Simplify.
3400 (make-objfile-pp_s-printer): New function.
3401 (install-objfile-pretty-printers!): New function.
3402 (make-progspace-pp_s-printer): New function.
3403 (install-progspace-pretty-printers!): New function.
3404 * gdb.guile/scm-progspace.c: New file.
3405 * gdb.guile/scm-progspace.exp: New file.
3406
41fac0cf
PA
34072014-06-02 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.base/dprintf-bp-same-addr.c: New file.
3410 * gdb.base/dprintf-bp-same-addr.exp: New file.
3411
96ae5695
EBM
34122014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3413
3414 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3415 * gdb.arch/powerpc-power.s: Likewise.
3416
da02b3a8
JB
34172014-06-02 Joel Brobecker <brobecker@adacore.com>
3418
3419 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3420
c72b2e7b
YQ
34212014-06-01 Yao Qi <yao@codesourcery.com>
3422
3423 * gdb.base/watchpoint.exp (test_watch_location): Check null
3424 pointer can be dereferenced. If not, do the test, otherwise
3425 skip it.
3426
53e8a631
AB
34272014-05-30 Andrew Burgess <aburgess@broadcom.com>
3428
3429 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3430 results.
3431 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3432
938f0e2f
AB
34332014-05-30 Andrew Burgess <aburgess@broadcom.com>
3434
3435 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3436 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3437 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3438 * gdb.arch/amd64-invalid-stack-top.c: New file.
3439 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3440
9ba6657a
PA
34412014-05-30 Pedro Alves <palves@redhat.com>
3442
3443 PR breakpoints/17000
3444 * gdb.base/sss-bp-on-user-bp.c: New file.
3445 * gdb.base/sss-bp-on-user-bp.exp: New file.
3446
522c09bf
DB
34472014-05-30 David Blaikie <dblaikie@gmail.com>
3448
3449 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3450 gnu_inline semantics via attribute.
3451 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3452 source explicitly specifies the required semantics.
3453
bf4ef81e
MR
34542014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3455
3456 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3457
329ea579
PA
34582014-05-29 Pedro Alves <palves@redhat.com>
3459 Tom Tromey <tromey@redhat.com>
3460
3461 * gdb.base/async-shell.exp: Don't enable target-async.
3462 * gdb.base/async.exp
3463 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3464 parameter. Adjust.
3465 (top level): Don't test with "target-async".
3466 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3467 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3468 * gdb.base/inferior-died.exp: Don't enable target-async.
3469 * gdb.base/interrupt-noterm.exp: Likewise.
3470 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3471 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3472 * gdb.mi/mi-nonstop.exp: Likewise.
3473 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3474 * gdb.mi/mi-nsintrall.exp: Likewise.
3475 * gdb.mi/mi-nsmoribund.exp: Likewise.
3476 * gdb.mi/mi-nsthrexec.exp: Likewise.
3477 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3478 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3479 * gdb.python/py-evsignal.exp: Don't enable target-async.
3480 * gdb.python/py-evthreads.exp: Likewise.
3481 * gdb.python/py-prompt.exp: Likewise.
3482 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3483 * gdb.server/solib-list.exp: Don't enable target-async.
3484 * gdb.threads/thread-specific-bp.exp: Likewise.
3485 * lib/mi-support.exp: Adjust to use mi-async.
3486
fd664c91
PA
34872014-05-29 Pedro Alves <palves@redhat.com>
3488
3489 PR gdb/13860
3490 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3491 reason, even in sync mode.
3492
251bde03
PA
34932014-05-29 Pedro Alves <palves@redhat.com>
3494 Hui Zhu <hui@codesourcery.com>
3495
3496 PR PR15693
3497 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3498 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3499 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3500 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3501
7f3c0343
JB
35022014-05-28 Joel Brobecker <brobecker@adacore.com>
3503
3504 * config/monitor.exp (gdb_target_monitor): Replace use of
3505 "set remotebaud" by "set serial baud".
3506
b2715b27
AW
35072014-05-26 Andy Wingo <wingo@igalia.com>
3508
3509 * gdb.guile/scm-breakpoint.exp:
3510 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3511 properties instead of gdb-object-properties.
3512
498a4489
YQ
35132014-05-26 Yao Qi <yao@codesourcery.com>
3514
3515 * gdb.server/no-thread-db.exp: Specify source file name
3516 explicitly when setting a breakpoint.
3517
589fdceb
MM
35182014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3519
3520 * gdb.btrace/vdso.c: New.
3521 * gdb.btrace/vdso.exp: New.
3522
e9089e05
MM
35232014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3524
3525 * gdb.base/gcore.exp (capture_command_output): Move ...
3526 * lib/gdb.exp (capture_command_output): ... here.
3527
67b5c0c1
MM
35282014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3529
3530 * gdb.btrace/data.exp: Test memory access during btrace replay.
3531
a2199296
SM
35322014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3533
3534 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3535
17b2616c
PA
35362014-05-21 Pedro Alves <palves@redhat.com>
3537
3538 PR gdb/13860
3539 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3540 (top level): Test that output related to execution commands is
3541 sent to the console with CLI commands, but not with MI commands.
3542 Test that breakpoint events are always mirrored to the console.
3543 Also expect the new source line to be output after a "next" in
3544 async mode too. Make it a pass/fail test.
3545 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3546 output.
3547 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3548
5166082f
PA
35492014-05-21 Pedro Alves <palves@redhat.com>
3550
3551 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3552 Use them to test variations of "list" after reaching a breakpoint.
3553 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3554 Test "list" with listsize 10 after reaching a breakpoint.
3555 * gdb.python/python.exp (decode_line current location line
3556 number): Adjust expected line number.
3557
2f25d70f
SM
35582014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3559
3560 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3561 behavior for $args, pass it directly to "run".
3562
ff604a67
MR
35632014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3564
3565 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3566 30000 to 65536.
3567
6a3cb8e8
PA
35682014-05-21 Pedro Alves <palves@redhat.com>
3569
3570 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3571 auto-connect-native-target off".
3572 * gdb.base/auto-connect-native-target.c: New file.
3573 * gdb.base/auto-connect-native-target.exp: New file.
3574
4ebfc96e
PA
35752014-05-21 Pedro Alves <palves@redhat.com>
3576
3577 * gdb.base/default.exp: Test "target native" instead of "target
3578 child".
3579
36d46afb
MW
35802014-05-21 Mark Wielaard <mjw@redhat.com>
3581
3582 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3583
5876f503
JK
35842014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3585
3586 Fix TLS access for -static -pthread.
3587 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3588 <HAVE_TLS> (thread_function, main): Initialize it.
3589 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3590 Add clean_restart.
3591 <$have_tls != "">: Check TLSVAR.
3592
0256a6ac
PA
35932014-05-21 Pedro Alves <palves@redhat.com>
3594
3595 * gdb.base/dcache-line-read-error.c: New.
3596 * gdb.base/dcache-line-read-error.exp: New.
3597
936d2992
PA
35982014-05-20 Pedro Alves <palves@redhat.com>
3599
3600 * gdb.base/compare-sections.c: New file.
3601 * gdb.base/compare-sections.exp: New file.
3602
802e8e6d
PA
36032014-05-20 Pedro Alves <palves@redhat.com>
3604
3605 * gdb.base/break-idempotent.c: New file.
3606 * gdb.base/break-idempotent.exp: New file.
3607
e59fa00f
MM
36082014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3609
3610 * gdb.btrace/nohist.exp: New.
3611
8b696e31
YQ
36122014-05-20 Yao Qi <yao@codesourcery.com>
3613
3614 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3615 gdb.reverse directory and gdb_reverse_timeout exists in board
3616 setting.
3617 * README: Document gdb_reverse_timeout.
3618
73c9764f
YQ
36192014-05-20 Yao Qi <yao@codesourcery.com>
3620
3621 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3622 'test_file_name'. Treat args as a string instead of a list.
3623 (gdb_init): Rename argument 'args' by 'test_file_name'.
3624
f1f4348a
JK
36252014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3626
3627 * gdb.arch/powerpc-power.exp: New file.
3628 * gdb.arch/powerpc-power.s: New file.
3629
0dbe70ce
DE
36302014-05-16 Doug Evans <dje@google.com>
3631
3632 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3633 * gdb.base/completion.exp: Check that all expected files exist
3634 before doing file completion.
0dbe70ce 3635
8d551b02
DE
36362014-05-16 Doug Evans <dje@google.com>
3637
3638 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3639 Update.
3640 (do_syscall_tests_without_xml): Update.
3641
73eb7709
PA
36422014-05-16 Pedro Alves <palves@redhat.com>
3643
3644 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3645 instead of "unknown output after running".
3646
3fae92fc
YQ
36472014-05-16 Yao Qi <yao@codesourcery.com>
3648
3649 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3650 file1.txt from host at the end.
3651 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3652
c2b2ccc5
DE
36532014-05-15 Doug Evans <dje@google.com>
3654
3655 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3656 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3657 loading file. Add test for TU lookup.
3658
8c217a4b
SM
36592014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3660
3661 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3662 calling "-exec-arguments" or "set args" before running the
3663 inferior.
3664
3deb39c6
SM
36652014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3666
3667 * lib/mi-support.exp (mi_expect_stop): Expect message for
3668 inferiors that exit with non-zero exit code.
3669
71a79f8c
YQ
36702014-05-14 Yao Qi <yao@codesourcery.com>
3671
3672 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3673 match absolute path on remote host.
3674 (test_file_list_exec_source_files): Remove "/" from the
3675 pattern.
3676
f23fcd46
YQ
36772014-05-14 Yao Qi <yao@codesourcery.com>
3678
3679 * boards/local-remote-host-notty.exp (${board}_file): New
3680 proc.
3681
9404b58f
KM
36822014-05-07 Kyle McMartin <kyle@redhat.com>
3683
3684 Pushed by Joel Brobecker <brobecker@adacore.com>.
3685 * gdb.arch/aarch64-atomic-inst.c: New file.
3686 * gdb.arch/aarch64-atomic-inst.exp: New file.
3687
5e45f04c
YQ
36882014-05-07 Yao Qi <yao@codesourcery.com>
3689
3690 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3691 in current context" too.
3692
c888a17d
KS
36932014-05-05 Keith Seitz <keiths@redhat.com>
3694
3695 * gdb.linespec/ls-dollar.exp: Add test for linespec
3696 file:convenience_variable.
3697
290a839c
YQ
36982014-05-05 Yao Qi <yao@codesourcery.com>
3699
3700 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3701 traceframes into tfile and ctf trace files. Read data from
3702 trace file and test collected data.
3703 (gdb_collect_locals_test): Likewise.
3704 (gdb_unavailable_registers_test): Likewise.
3705 (gdb_unavailable_floats): Likewise.
3706 (gdb_collect_globals_test): Likewise.
3707 (top-level): Append "ctf" to trace_file_targets if GDB
3708 supports.
3709
b5262cd0
YQ
37102014-05-05 Yao Qi <yao@codesourcery.com>
3711
3712 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3713 code to ...
3714 (gdb_collect_args_test_1): ... it. New proc.
3715 (gdb_collect_locals_test): Move some code to ...
3716 (gdb_collect_locals_test_1): ... it. New proc.
3717 (gdb_unavailable_registers_test): Move some code to ...
3718 (gdb_unavailable_registers_test_1): ... it. New proc.
3719 (gdb_unavailable_floats): Move some code to ...
3720 (gdb_unavailable_floats_1): ... it. New proc.
3721
30a1e6cc
SDJ
37222014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3723
3724 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3725 probes to test for bitness recognition.
3726 * gdb.arch/amd64-stap-optional-prefix.exp
3727 (test_probe_value_without_reg): New procedure.
3728 Add code to test for different kinds of bitness.
3729
f33da99a
SDJ
37302014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3731
3732 PR breakpoints/16889
3733 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3734 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3735
5b80f00d
PA
37362014-05-01 Pedro Alves <palves@redhat.com>
3737
3738 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3739 gdb_file_cmd if no file is specified.
3740 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3741 last_loaded_file to set the remote exec-file.
3742
f8c2a73c
PA
37432014-05-01 Pedro Alves <palves@redhat.com>
3744
3745 * boards/local-remote-host.exp: New file.
3746
be6e8ac7
PA
37472014-05-01 Pedro Alves <palves@redhat.com>
3748
3749 * boards/local-remote-host.exp: Rename to ...
3750 * boards/local-remote-host-notty.exp: ... this.
3751
cac0dc8f
JB
37522014-04-28 Joel Brobecker <brobecker@adacore.com>
3753
3754 * gdb.ada/dyn_arrayidx: New testcase.
3755
9730e6cc
YQ
37562014-04-26 Yao Qi <yao@codesourcery.com>
3757
3758 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3759 and compute the length of function main. Save it in
3760 $main_length.
3761 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3762 (top-level): Use gdb_compile to compile objects into
3763 executable and restart GDB. Remove invocation to
3764 prepare_for_testing.
3765
7ae1a6a6
PA
37662014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3767 Pedro Alves <palves@redhat.com>
3768
3769 PR server/16255
3770 * gdb.multi/multi-attach.c: New file.
3771 * gdb.multi/multi-attach.exp: New file.
3772
4082afcc
PA
37732014-04-25 Pedro Alves <palves@redhat.com>
3774
3775 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3776 user.
3777 (top level): Test that "set remote conditional-breakpoints-packet
3778 off" works as intended.
3779 * gdb.base/dprintf.exp: Test that "set remote
3780 breakpoint-commands-packet off" works as intended.
3781 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3782 New function.
3783 (top level): Call it.
3784 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3785 remote fast-tracepoints-packet off" works as intended.
3786 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3787 * lib/gdb.exp (gdb_is_target_remote): ... here.
3788
2abc3f8d
DB
37892014-04-24 David Blaikie <dblaikie@gmail.com>
3790
3791 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3792 ensure clang would not discard them.
3793 * gdb.base/gdbvars.c: Ditto.
3794 * gdb.base/memattr.c: Ditto.
3795 * gdb.base/whatis.c: Ditto.
3796 * gdb.python/py-prettyprint.c: Ditto.
3797 * gdb.trace/actions.c: Ditto.
3798 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3799 ensure clang would not discard it.
3800
bfd39632
DB
38012014-04-24 David Blaikie <dblaikie@gmail.com>
3802
3803 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3804 clang to emit the full definition of type required by the test
3805 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3806
22842ff6
DB
38072014-04-24 David Blaikie <dblaikie@gmail.com>
3808
3809 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3810 coax Clang into emitting the definition of the type.
3811 * gdb.cp/pr10728-x.h (y): Ditto.
3812 * gdb.cp/pr10728-y.cc (y): Ditto.
3813
c2e827ad
DB
38142014-04-24 David Blaikie <dblaikie@gmail.com>
3815
3816 * gdb.base/label.exp: XFAIL label related tests under Clang.
3817 * gdb.cp/cplabel.exp: Ditto.
3818 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3819 under Clang those using labels.
3820
4c2d33e7
YQ
38212014-04-25 Yao Qi <yao@codesourcery.com>
3822
3823 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3824 double_label.
3825 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3826 partial_label and double_label.
3827
56083b99
DB
38282014-04-24 David Blaikie <dblaikie@gmail.com>
3829
3830 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3831
25d4e99d
DB
38322014-04-24 David Blaikie <dblaikie@gmail.com>
3833
3834 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3835 of the function to work across GCC and Clang.
3836 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3837 pointer types (const void ** const V void **).
3838
01f9f808
MS
38392014-04-24 Michael Sturm <michael.sturm@mintel.com>
3840 Walfred Tedeschi <walfred.tedeschi@intel.com>
3841
3842 * Makefile.in (EXECUTABLES): Added i386-avx512.
3843 * gdb.arch/i386-avx512.c: New file.
3844 * gdb.arch/i386-avx512.exp: Likewise.
3845
4b48d439
KS
38462014-04-23 Keith Seitz <keiths@redhat.com>
3847
3848 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3849 (mi_make_breakpoint_table): New procedure.
3850 (mi_create_breakpoint): Use mi_make_breakpoint
3851 and return the result.
3852 (mi_make_breakpoint): New procedure.
3853 (mi_build_kv_pairs): New procedure.
3854
3855 * gdb.mi/mi-break.exp: Remove unused globals,
3856 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3857 All callers updated.
3858 * gdb.mi/mi-dprintf.exp: Use variable to track command
3859 number.
3860 Update all callers of mi_create_breakpoint and use
3861 mi_make_breakpoint_table.
3862 Remove any unused global variables.
3863 * gdb.mi/mi-nonstop.exp: Likewise.
3864 * gdb.mi/mi-nsintrall.exp: Likewise.
3865 * gdb.mi/mi-nsmoribund.exp: Likewise.
3866 * gdb.mi/mi-nsthrexec.exp: Likewise.
3867 * gdb.mi/mi-reverse.exp: Likewise.
3868 * gdb.mi/mi-simplerun.exp: Likewise.
3869 * gdb.mi/mi-stepn.exp: Likewise.
3870 * gdb.mi/mi-syn-frame.exp: Likewise.
3871 * gdb.mi/mi-until.exp: Likewise.
3872 * gdb.mi/mi-var-cp.exp: Likewise.
3873 * gdb.mi/mi-var-display.exp: Likewise.
3874 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3875 * gdb.mi/mi2-var-child.exp: Likewise.
3876 * gdb.mi/mi-vla-c99.exp: Likewise.
3877 * lib/mi-support.exp: Likewise.
3878
3879 From Ian Lance Taylor <iant@cygnus.com>:
3880 * lib/gdb.exp (parse_args): New procedure.
3881
08351840
PA
38822014-04-23 Pedro Alves <palves@redhat.com>
3883
3884 * gdb.base/break-unload-file.c: New file.
3885 * gdb.base/break-unload-file.exp: New file.
3886 * gdb.base/sym-file-lib.c (baz): New function.
3887 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3888 field.
3889 (load): Store the segment's mapped size.
3890 (unload): New function.
3891 (unload_shlib): New function.
3892 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3893 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3894 set a breakpoint at baz, and call it.
3895 * gdb.base/sym-file.exp: New tests for stale breakpoint
3896 instructions.
3897
076855f9
PA
38982014-04-23 Pedro Alves <palves@redhat.com>
3899
3900 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3901 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3902 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3903 * gdb.base/hbreak-unmapped.c: New file.
3904 * gdb.base/hbreak-unmapped.exp: New file.
3905 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3906 * lib/gdb.exp (gdb_is_target_remote): ... here.
3907
483805cf
PA
39082014-04-22 Pedro Alves <palves@redhat.com>
3909
3910 * gdb.base/consecutive-step-over.c: New file.
3911 * gdb.base/consecutive-step-over.exp: New file.
3912
06d97543
PA
39132014-04-22 Pedro Alves <palves@redhat.com>
3914
3915 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3916 instead of send_gdb/gdb_expect.
3917
b4429ea2
YQ
39182014-04-22 Yao Qi <yao@codesourcery.com>
3919
3920 * lib/trace-support.exp (generate_tracefile): New procedure.
3921 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3922 return 0.
3923 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3924 if generate_tracefile returns 1.
3925
51d48146
PA
39262014-04-18 Tom Tromey <palves@redhat.com>
3927 Pedro alves <tromey@redhat.com>
3928
3929 PR backtrace/15558
3930 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3931 with a backtrace limit.
3932 * gdb.python/py-frame-inline.exp: Test running to an inline
3933 function with a backtrace limit, and printing the newest frame.
3934 * gdb.python/py-frame-inline.c (main): Call f.
3935
bd1dce5f
MS
39362014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3937
3938 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3939
40d1a503
MS
39402014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3941
3942 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3943 Drop prefix from unsupported source file path.
3944
389b98f7
YQ
39452014-04-17 Yao Qi <yao@codesourcery.com>
3946
3947 * lib/gdb.exp (with_target_charset): New proc.
3948 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3949 with_target_charset.
3950 (test_print_strings): Likewise.
3951 (test_repeat_bytes): Likewise.
3952 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3953 for some tests.
3954
22869d73
KS
39552014-04-16 Keith Seitz <keiths@redhat.com>
3956
3957 PR gdb/15827
3958 * gdb.dwarf2/corrupt.c: New file.
3959 * gdb.dwarf2/corrupt.exp: New file.
3960
c4f87ca6
KS
39612014-04-16 Keith Seitz <keiths@redhat.com>
3962
3963 PR c++/16597
3964 * gdb.cp/namelessclass.cc: New file.
3965 * gdb.cp/namelessclass.exp: New file.
3966 * gdb.cp/namelessclass.S: New file.
3967
ab19de87
DE
39682014-04-16 Doug Evans <dje@google.com>
3969
3970 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3971 Add comment.
3972 (gdbserver_default_get_comm_port): New function.
3973 (gdbserver_start): Check if board file provided
3974 "gdbserver,get_comm_port" and use it if so.
3975 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3976 (gdb,socketport): Set to "stdio".
3977 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3978 (stdio_gdbserver_template): Delete.
3979 (${board}_get_remote_address): Update.
3980 (${board}_build_remote_cmd): Delete.
3981 (${board}_get_comm_port): New function.
3982 (${board}_spawn): Update.
3983 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3984 Delete.
3985 (${board}_get_remote_address): Update.
3986 (${board}_get_comm_port): New function.
3987
fc98a809
AB
39882014-04-16 Andrew Burgess <aburgess@broadcom.com>
3989
3990 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3991 appearing in any order.
3992
87fd9e6e
DE
39932014-04-15 Doug Evans <dje@google.com>
3994
3995 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3996 uninitialized value of "description".
3997
099fc3ea
KS
39982014-04-15 Keith Seitz <keiths@redhat.com>
3999
4000 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4001 Remove unused globals.
4002 (test_running_the_program): Likewise.
4003 (test_controlled_execution): Likewise.
4004 (test_controlling_breakpoints): Likewise.
4005 (test_program_termination): Likewise.
4006
5da151d4
KS
40072014-04-15 Keith Seitz <keiths@redhat.com>
4008
4009 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4010 unused globals.
4011 (test_rbreak_creation_and_listing): Likewise.
4012 (test_ignore_count): Likewise.
4013 (test_error): Likewise.
4014
35e5d2f0
PA
40152014-04-15 Pedro Alves <palves@redhat.com>
4016
4017 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4018 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4019 sym-file-loader.c.
4020 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4021 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4022 to sym-file-loader.c.
4023 (struct library): Forward declare.
4024 (load_shlib, lookup_function): Change prototypes.
4025 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4026 (translate_offset): Remove declarations.
4027 (get_text_addr): New declaration.
4028 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4029 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4030 sym-file-loader.h.
4031 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4032 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4033 here from sym-file-loader.h.
4034 (struct library): New structure.
4035 (load_shlib, lookup_function): Change prototypes and adjust to
4036 work with a struct library.
4037 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4038 (translate_offset): Make static.
4039 (get_text_addr): New function.
4040 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4041
eb4c1710
PA
40422014-04-15 Pedro Alves <palves@redhat.com>
4043
4044 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4045
2d1baf52
PA
40462014-04-15 Pedro Alves <palves@redhat.com>
4047
4048 * gdb.base/sym-file-loader.c: Include <limits.h>.
4049 (SELF_LINK): New define.
4050 (get_origin): New function.
4051 (load_shlib): Use it.
4052 * gdb.base/sym-file.exp: Don't early return if the target is
4053 remote. Use runto_main, and issue fail is that fails. Use
4054 gdb_load_shlibs.
4055 (shlib_name): Delete.
4056 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4057
7dd6df01
PA
40582014-04-15 Pedro Alves <palves@redhat.com>
4059
4060 * gdb.base/sym-file.exp: Remove regex characters from test
4061 message. Don't refer to breakpoint numbers in test messages.
4062
b50c8614
KS
40632014-04-14 Keith Seitz <keiths@redhat.com>
4064
4065 PR c++/16253
4066 * gdb.cp/var-tag.cc: New file.
4067 * gdb.cp/var-tag.exp: New file.
4068 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4069 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4070 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4071 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4072
3d567982
TT
40732014-04-14 Tom Tromey <tromey@redhat.com>
4074
4075 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4076 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4077 type.
4078 * gdb.cp/enum-class.exp: New file.
4079 * gdb.cp/enum-class.cc: New file.
4080
0626fc76
TT
40812014-04-14 Tom Tromey <tromey@redhat.com>
4082
4083 * gdb.dwarf2/enum-type.exp: New file.
4084
dca325b3
SA
40852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4086
4087 * gdb.mi/mi-vla-c99.exp: New file.
4088 * gdb.mi/vla.c: New file.
4089
5854b38a
SA
40902014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4091
4092 * gdb.base/vla-datatypes.c: New file.
4093 * gdb.base/vla-datatypes.exp: New file.
4094
463bb957
SA
40952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4096
4097 * gdb.base/vla-ptr.c: New file.
4098 * gdb.base/vla-ptr.exp: New file.
4099
3dd170be
SA
41002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4101
4102 * gdb.dwarf2/count.exp: New file.
4103
5ecaaa66
SA
41042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4105
4106 * gdb.base/vla-sideeffect.c: New file.
4107 * gdb.base/vla-sideeffect.exp: New file.
4108
41f1ada5
DB
41092014-04-14 David Blaikie <dblaikie@gmail.com>
4110
4111 * gdb.mi/non-stop.c: Add return value for non-void function return
4112 statement.
4113 * gdb.threads/staticthreads.c: Ditto.
4114
0be03e84
DE
41152014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4116 Doug Evans <xdje42@gmail.com>
4117
4118 * gdb.guile/scm-value.c: Improve test case.
4119 * gdb.guile/scm-value.exp: Add new test.
4120
f180a1fb
DB
41212014-04-11 David Blaikie <dblaikie@gmail.com>
4122
4123 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4124 override Clang's default.
4125
6b662e19
JB
41262014-04-11 Joel Brobecker <brobecker@adacore.com>
4127
4128 Revert the following changes (regressions):
4129
4130 * gdb.base/vla-sideeffect.c: New file.
4131 * gdb.base/vla-sideeffect.exp: New file.
4132
4133 * gdb.dwarf2/count.exp: New file.
4134
4135 * gdb.base/vla-multi.c: New file.
4136 * gdb.base/vla-multi.exp: New file.
4137
4138 * gdb.base/vla-ptr.c: New file.
4139 * gdb.base/vla-ptr.exp: New file.
4140
4141 * gdb.base/vla-datatypes.c: New file.
4142 * gdb.base/vla-datatypes.exp: New file.
4143
4144 * gdb.mi/mi-vla-c99.exp: New file.
4145 * gdb.mi/vla.c: New file.
4146
245a5f0b
KS
41472014-04-11 Keith Seitz <keiths@redhat.com>
4148
4149 PR c++/16675
4150 * gdb.cp/cpsizeof.exp: New file.
4151 * gdb.cp/cpsizeof.cc: New file.
4152
58a84dcf
SA
41532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4154
191a8a90
JB
4155 * gdb.mi/mi-vla-c99.exp: New file.
4156 * gdb.mi/vla.c: New file.
58a84dcf 4157
c8655f75
SA
41582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4159
4160 * gdb.base/vla-datatypes.c: New file.
4161 * gdb.base/vla-datatypes.exp: New file.
4162
024e13b4
SA
41632014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4164
4165 * gdb.base/vla-ptr.c: New file.
4166 * gdb.base/vla-ptr.exp: New file.
4167
1a237e0e
SA
41682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4169
4170 * gdb.base/vla-multi.c: New file.
4171 * gdb.base/vla-multi.exp: New file.
4172
504f3432
SA
41732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4174
4175 * gdb.dwarf2/count.exp: New file.
4176
3bce8237
SA
41772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4178
191a8a90
JB
4179 * gdb.base/vla-sideeffect.c: New file.
4180 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4181
322f9c21
YQ
41822014-04-11 Yao Qi <yao@codesourcery.com>
4183
4184 * gdb.base/completion.exp: Check file exists before running tests
4185 on file completion.
4186
d708bcd1
PA
41872014-04-10 Pedro Alves <palves@redhat.com>
4188
4189 * gdb.base/cond-eval-mode.c: New file.
4190 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4191 prepare_for_testing to build the new file. Check result of
4192 runto_main.
4193 (test_break, test_watch): New procedures.
4194 (top level): Use them.
4195
ae1d2761
PM
41962014-04-08 Pierre Muller <muller@sourceware.org>
4197
4198 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4199 Ctrl-V use for mingw hosts.
4200
7af389b8
SC
42012014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4202
4203 * gdb.python/py-value.c: Improve test case.
4204 * gdb.python/py-value.exp: Add new test.
4205
5e703181
DE
42062014-04-07 David Blaikie <dblaikie@gmail.com>
4207
4208 * lib/compiler.c: Identify the clang compiler.
4209 * lib/compiler.cc: Ditto.
4210
9810b410
YQ
42112014-04-03 Yao Qi <yao@codesourcery.com>
4212
4213 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4214
98d1b8dc
AB
42152014-04-01 Anton Blanchard <anton@samba.org>
4216
4217 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4218 messages unique.
4219
3114cea1
AB
42202014-04-01 Anton Blanchard <anton@samba.org>
4221
4222 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4223 prepare_for_testing.
4224
62f7182c
AB
42252014-04-01 Anton Blanchard <anton@samba.org>
4226
4227 * gdb.arch/ppc64-atomic-inst.c: Remove.
4228 * gdb.arch/ppc64-atomic-inst.S: New file.
4229 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4230
770e7fc7
DE
42312014-03-31 Doug Evans <dje@google.com>
4232
4233 * gdb.base/print-symbol-loading-lib.c: New file.
4234 * gdb.base/print-symbol-loading-main.c: New file.
4235 * gdb.base/print-symbol-loading.exp: New file.
4236
46e2bafa
YQ
42372014-03-31 Yao Qi <yao@codesourcery.com>
4238
4239 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4240
8776cfe9
JB
42412014-03-28 Joel Brobecker <brobecker@adacore.com>
4242
4243 * gdb.ada/mi_dyn_arr: New testcase.
4244
5d1ef361
DE
42452014-03-27 Doug Evans <dje@google.com>
4246
4247 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4248
b5bee914
YQ
42492014-03-27 Yao Qi <yao@codesourcery.com>
4250
4251 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4252 if target is nios2-*-*.
4253
0d4d0e77
YQ
42542014-03-26 Yao Qi <yao@codesourcery.com>
4255
4256 * lib/gdb.exp (readline_is_used): New proc.
4257 * gdb.base/completion.exp: Move tests on command complete up.
4258 Skip the rest of tests if readline is not used.
4259 * gdb.ada/complete.exp: Skp the test if readline is not
4260 used.
4261 * gdb.base/filesym.exp: Likewise.
4262 * gdb.base/macscp.exp: Likewise.
4263 * gdb.base/readline-ask.exp: Likewise.
4264 * gdb.base/readline.exp: Likewise.
4265 * gdb.python/py-cmd.exp: Likewise.
4266 * gdb.trace/tfile.exp: Likewise.
4267
29361eee
YQ
42682014-03-26 Yao Qi <yao@codesourcery.com>
4269
4270 * gdb.base/macscp.exp: Fix code format issues.
4271
bc9a5525
UW
42722014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4273
4274 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4275 * gdb.asm/powerpc64le.inc: New file.
4276
d3839ede
PA
42772014-03-25 Pedro Alves <palves@redhat.com>
4278 Doug Evans <dje@google.com>
4279
4280 * gdb.base/source-execution.c: New file.
4281 * gdb.base/source-execution.exp: New file.
4282 * gdb.base/source-execution.gdb: New file.
4283
01672a57
DE
42842014-03-24 Doug Evans <dje@google.com>
4285
4286 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4287 using fission.
4288
88bbeca9
HZ
42892014-03-24 Hui Zhu <hui@codesourcery.com>
4290 Pedro Alves <palves@redhat.com>
4291
4292 PR breakpoints/16101
4293 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4294 test pass/fail messages. Detect missing support for dprintf when
4295 breakpoints are actually inserted.
4296 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4297 breakpoints are actually inserted.
4298 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4299 fails.
4300
d2348791
JK
43012014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4302
4303 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4304
feef67ab
DE
43052014-03-22 Doug Evans <xdje42@gmail.com>
4306
4307 * gdb.python/python.exp (python not supported): Verify multi-line
4308 python command issues an error.
25d743f9 4309 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4310 guile command issues an error.
feef67ab 4311
ecebef6a
MR
43122014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4313
4314 * gdb.threads/thread-specific.exp: Handle the lack of usable
4315 $this_breakpoint and $this_thread.
4316
ccdd1909
HZ
43172014-03-21 Hui Zhu <hui@codesourcery.com>
4318
4319 * gdb.base/attach.exp (do_command_attach_tests): New.
4320
beb460e8
PA
43212014-03-20 Tom Tromey <tromey@redhat.com>
4322 Pedro Alves <palves@redhat.com>
4323
4324 PR cli/15718
4325 * gdb.base/condbreak-call-false.c: New file.
4326 * gdb.base/condbreak-call-false.exp: New file.
4327
40acf43a
PA
43282014-03-20 Pedro Alves <palves@redhat.com>
4329
4330 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4331 Delete.
4332 (block_signals, unblock_signals): Delete.
4333 (child_function_2, main): Remove references to deleted variable
4334 and functions.
4335
9f5e1e02
PA
43362014-03-20 Pedro Alves <palves@redhat.com>
4337
4338 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4339 Use pthread_kill to signal thread 2.
4340 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4341 Adjust to make the test send itself a signal rather than using the
4342 host's "kill" command.
4343
99619bea
PA
43442014-03-20 Pedro Alves <palves@redhat.com>
4345
4346 * gdb.threads/multiple-step-overs.c: New file.
4347 * gdb.threads/multiple-step-overs.exp: New file.
4348 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4349 Adjust expected infrun debug output.
4350
2adfaa28
PA
43512014-03-20 Pedro Alves <palves@redhat.com>
4352
4353 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4354 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4355
31e77af2
PA
43562014-03-20 Pedro Alves <palves@redhat.com>
4357
4358 PR breakpoints/7143
4359 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4360 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4361 of gdb_test_multiple.
4362 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4363 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4364
b9f437de
PA
43652014-03-20 Pedro Alves <palves@redhat.com>
4366
4367 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4368 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4369
05adc73e
PA
43702014-03-19 Pedro Alves <palves@redhat.com>
4371
4372 * gdb.base/async.exp: Remove early return.
4373
6048b950
PA
43742014-03-19 Pedro Alves <palves@redhat.com>
4375
4376 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4377
8bcfb00a
PA
43782014-03-19 Pedro Alves <palves@redhat.com>
4379
4380 * gdb.base/async.exp (test_background): Expect \r\n after
4381 "completed." in the fail pattern.
4382
884e37dc
PA
43832014-03-19 Pedro Alves <palves@redhat.com>
4384
4385 * gdb.base/async.exp (test_background): New procedure.
4386 Use it for all background execution command tests.
4387
148e57e2
PA
43882014-03-19 Pedro Alves <palves@redhat.com>
4389
4390 * gdb.base/async.exp: Use prepare_for_testing.
4391
f48088c7
PA
43922014-03-19 Pedro Alves <palves@redhat.com>
4393
4394 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4395 the same line.
4396
e2f6c966
PA
43972014-03-19 Pedro Alves <palves@redhat.com>
4398
4399 * gdb.base/async.c (main): Add "jump here" and "until here" line
4400 marker comments.
4401 * gdb.base/async.exp (jump_here): New global.
4402 (jump& test): Use it.
4403 (until_here): New global.
4404 (until& test): Use it.
4405
c30568d4
PA
44062014-03-19 Pedro Alves <palves@redhat.com>
4407
4408 * gdb.base/async.exp: Don't frob gdb_protocol.
4409
0172b6a7
DE
44102014-03-18 Doug Evans <xdje42@gmail.com>
4411
4412 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4413 Fix spelling of exec-done-display.
4414
06c868a8
JK
44152014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4416
4417 PR gdb/15358
4418 * gdb.base/gdb-sigterm.c: New file.
4419 * gdb.base/gdb-sigterm.exp: New file.
4420
0c7e1a46
PA
44212014-03-18 Pedro Alves <palves@redhat.com>
4422
4423 PR gdb/13860
4424 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4425 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4426 solib-event.
4427
f7c77d93
JB
44282014-03-17 Joel Brobecker <brobecker@adacore.com>
4429
4430 * gdb.ada/pckd_arr_ren: New testcase.
4431
5a1e8c7a
DE
44322014-03-13 Doug Evans <xdje42@gmail.com>
4433
4434 PR guile/16612
4435 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4436 collect after discarding symbols.
4437
350e1a76
DE
44382014-03-13 Ludovic Courtès <ludo@gnu.org>
4439 Doug Evans <xdje42@gmail.com>
4440
4441 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4442 to history survives a gc.
4443
a69900ae
PA
44442014-03-13 Pedro Alves <palves@redhat.com>
4445
4446 * gdb.base/default.exp: Don't test "target procfs".
4447
5db9f0bd
PA
44482014-03-13 Pedro Alves <palves@redhat.com>
4449
4450 * gdb.base/default.exp: Update "target child" and "target procfs"
4451 tests to not expect "Unix".
4452
b3ccfe11
TT
44532014-03-12 Tom Tromey <tromey@redhat.com>
4454
4455 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4456 New procs. Add target-async tests.
4457 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4458 Add target-async tests.
4459
646f4417
AA
44602014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4461
4462 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4463 'func_start' and 'func_end' for the beginning and end of the
4464 function code, respectively.
4465 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4466 'func_end' instead of 'func' and 'main'.
4467
288c211f
AA
44682014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4469
4470 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4471 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4472 generate the debug info assembler source.
4473
e0c0f156
AA
44742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4475
4476 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4477 * gdb.dwarf2/arr-subrange.exp: Likewise.
4478 * gdb.dwarf2/dwz.exp: Likewise.
4479 * gdb.dwarf2/method-ptr.exp: Likewise.
4480 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4481 * gdb.dwarf2/subrange.exp: Likewise.
4482 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4483 * gdb.dwarf2/implptrpiece.exp: Likewise.
4484 * gdb.dwarf2/nostaticblock.exp: Likewise.
4485
0e5c4555
AA
44862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4487
4488 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4489 directory to absolute path name arguments.
4490
5ec18f2b
JG
44912014-03-10 Joel Brobecker <brobecker@adacore.com>
4492
4493 * gdb.ada/tagged_access: New testcase.
4494
847fc4f2
MM
44952014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4496
4497 * gdb.btrace/data.exp: Update expected output.
4498
cc3da688
YQ
44992014-03-06 Yao Qi <yao@codesourcery.com>
4500
4501 * gdb.trace/pr16508.exp: New file.
4502
0f26cec1
PA
45032014-03-05 Pedro Alves <palves@redhat.com>
4504
4505 PR gdb/16575
4506 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4507 procedure.
4508 (top level): Adjust to use it. Add tests that exercise breakpoint
4509 interaction with the code-cache.
4510
7a5a839f
LC
45112014-02-26 Ludovic Courtès <ludo@gnu.org>
4512
4513 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4514 test for 'history-append!'.
4515
31aa7e4e
JB
45162014-02-26 Joel Brobecker <brobecker@adacore.com>
4517
4518 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4519 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4520 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4521 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4522 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4523 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4524
1b588015
JB
45252014-02-26 Joel Brobecker <brobecker@adacore.com>
4526
4527 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4528 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4529 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4530
55426c9d
JB
45312014-02-26 Joel Brobecker <brobecker@adacore.com>
4532
4533 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4534
dc53a7ad
JB
45352014-02-26 Joel Brobecker <brobecker@adacore.com>
4536
4537 * gdb.dwarf2/arr-stride.c: New file.
4538 * gdb.dwarf2/arr-stride.exp: New file.
4539
12ab52e9
PA
45402014-02-26 Pedro Alves <palves@redhat.com>
4541
4542 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4543 that won't ever trigger. Make sure that GDB reports the correct
4544 breakpoint that caused the stop.
4545
849c862e
JK
45462014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4547
4548 PR gdb/16626
4549 * gdb.base/auto-load-script: New file.
4550 * gdb.base/auto-load.c: New file.
4551 * gdb.base/auto-load.exp: New file.
4552
71b7d793
JK
4553 PR gdb/16626
4554 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4555
e2f0d509
JK
45562014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4557
4558 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4559 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4560
50cc37c8
DE
45612014-02-24 Doug Evans <dje@google.com>
4562
4563 * lib/gdb.exp (run_on_host): Log error output if program fails.
4564
ea4758f2
PA
45652014-02-21 Pedro Alves <palves@redhat.com>
4566
4567 * gdb.threads/step-after-sr-lock.c: Rename to ...
4568 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4569 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4570 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4571 ... this.
4572
d7b30f67
SDJ
45732014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4574
4575 PR tdep/16397
4576 * gdb.arch/amd64-stap-special-operands.exp: New file.
4577 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4578 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4579 * gdb.arch/amd64-stap-triplet.S: Likewise.
4580 * gdb.arch/amd64-stap-triplet.c: Likewise.
4581
83deb43f
JB
45822014-02-20 Joel Brobecker <brobecker@adacore.com>
4583
4584 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4585 in .section pseudo-op.
4586
adde2bff
DE
45872014-02-20 lin zuojian <manjian2006@gmail.com>
4588 Joel Brobecker <brobecker@adacore.com>
4589 Doug Evans <xdje42@gmail.com>
4590
4591 PR symtab/16581
4592 * gdb.dwarf2/dw2-icycle.S: New file.
4593 * gdb.dwarf2/dw2-icycle.c: New file.
4594 * gdb.dwarf2/dw2-icycle.exp: New file.
4595
f7bd0f78
SC
45962014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4597
4598 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4599 operations on gdb.Value objects.
4600 * gdb.python/py-value-cc.exp: Add new test to test operations on
4601 gdb.Value objects.
4602
c17ef0d5
DE
46032014-02-18 Doug Evans <dje@google.com>
4604
4605 * Makefile.in (TESTS): New variable.
4606 (expanded_tests, expanded_tests_or_none): New variables
4607 (check-single): Pass $(expanded_tests_or_none) to runtest.
4608 (check-parallel): Only run tests in $(TESTS) if non-empty.
4609 (check/no-matching-tests-found): New rule.
4610 * README: Document TESTS makefile variable.
4611
5dd3176f
DE
46122014-02-18 Doug Evans <dje@google.com>
4613
4614 * Makefile.in (check-parallel): rm -rf outputs temp.
4615
0b10be4f
JK
46162014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4617
4618 Fix "ERROR: no fileid for" in the testsuite.
4619 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4620
85f224e7
DE
46212014-02-12 Doug Evans <dje@google.com>
4622
4623 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4624 (MISCELLANEOUS): New variable.
4625 (clean): rm -rf $(MISCELLANEOUS).
4626 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4627 dwp live in the same directory as symlinks, with each symlink pointed
4628 to a differently named file in a different directory.
4629
149b30ff
DE
46302014-02-11 Doug Evans <dje@google.com>
4631
4632 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4633 of Tcl file commands.
4634
1dfdac32
MK
46352014-02-10 Mark Kettenis <kettenis@gnu.org>
4636
4637 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4638 "kill -SIGUSR1 -1".
4639
aa4fb036
JB
46402014-02-10 Joel Brobecker <brobecker@adacore.com>
4641
4642 * gdb.ada/tick_length_array_enum_idx: New testcase.
4643
ed3ef339
DE
46442014-02-10 Doug Evans <xdje42@gmail.com>
4645
4646 * configure.ac (AC_OUTPUT): Add gdb.guile.
4647 * configure: Regenerate.
4648 * lib/gdb-guile.exp: New file.
4649 * lib/gdb.exp (get_target_charset): New function.
4650 * gdb.base/help.exp: Update expected output from "apropos apropos".
4651 * gdb.guile/Makefile.in: New file.
4652 * gdb.guile/guile.exp: New file.
4653 * gdb.guile/scm-arch.c: New file.
4654 * gdb.guile/scm-arch.exp: New file.
4655 * gdb.guile/scm-block.c: New file.
4656 * gdb.guile/scm-block.exp: New file.
4657 * gdb.guile/scm-breakpoint.c: New file.
4658 * gdb.guile/scm-breakpoint.exp: New file.
4659 * gdb.guile/scm-disasm.c: New file.
4660 * gdb.guile/scm-disasm.exp: New file.
4661 * gdb.guile/scm-equal.c: New file.
4662 * gdb.guile/scm-equal.exp: New file.
4663 * gdb.guile/scm-error.exp: New file.
4664 * gdb.guile/scm-error.scm: New file.
4665 * gdb.guile/scm-frame-args.c: New file.
4666 * gdb.guile/scm-frame-args.exp: New file.
4667 * gdb.guile/scm-frame-args.scm: New file.
4668 * gdb.guile/scm-frame-inline.c: New file.
4669 * gdb.guile/scm-frame-inline.exp: New file.
4670 * gdb.guile/scm-frame.c: New file.
4671 * gdb.guile/scm-frame.exp: New file.
4672 * gdb.guile/scm-generics.exp: New file.
4673 * gdb.guile/scm-gsmob.exp: New file.
4674 * gdb.guile/scm-iterator.c: New file.
4675 * gdb.guile/scm-iterator.exp: New file.
4676 * gdb.guile/scm-math.c: New file.
4677 * gdb.guile/scm-math.exp: New file.
4678 * gdb.guile/scm-objfile-script-gdb.in: New file.
4679 * gdb.guile/scm-objfile-script.c: New file.
4680 * gdb.guile/scm-objfile-script.exp: New file.
4681 * gdb.guile/scm-objfile.c: New file.
4682 * gdb.guile/scm-objfile.exp: New file.
4683 * gdb.guile/scm-ports.exp: New file.
4684 * gdb.guile/scm-pretty-print.c: New file.
4685 * gdb.guile/scm-pretty-print.exp: New file.
4686 * gdb.guile/scm-pretty-print.scm: New file.
4687 * gdb.guile/scm-section-script.c: New file.
4688 * gdb.guile/scm-section-script.exp: New file.
4689 * gdb.guile/scm-section-script.scm: New file.
4690 * gdb.guile/scm-symbol.c: New file.
4691 * gdb.guile/scm-symbol.exp: New file.
4692 * gdb.guile/scm-symtab-2.c: New file.
4693 * gdb.guile/scm-symtab.c: New file.
4694 * gdb.guile/scm-symtab.exp: New file.
4695 * gdb.guile/scm-type.c: New file.
4696 * gdb.guile/scm-type.exp: New file.
4697 * gdb.guile/scm-value-cc.cc: New file.
4698 * gdb.guile/scm-value-cc.exp: New file.
4699 * gdb.guile/scm-value.c: New file.
4700 * gdb.guile/scm-value.exp: New file.
4701 * gdb.guile/source2.scm: New file.
4702 * gdb.guile/types-module.cc: New file.
4703 * gdb.guile/types-module.exp: New file.
4704
7026a7c1
YQ
47052014-02-10 Yao Qi <yao@codesourcery.com>
4706
4707 PR testsuite/16543
4708 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4709 * configure: Regenerated.
4710 * Makefile.in: New file.
4711
6c466447
AS
47122014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4713
4714 * gdb.python/py-framefilter.exp: Fix typo.
4715
6e854735
YQ
47162014-02-08 Yao Qi <yao@codesourcery.com>
4717
4718 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4719 that no =breakpoint-modified is emitted when breakpoints are
4720 modified through MI commands.
4721
d137e6dc
PA
47222014-02-07 Pedro Alves <pedro@codesourcery.com>
4723 Pedro Alves <palves@redhat.com>
4724
4725 * gdb.threads/step-after-sr-lock.c: New file.
4726 * gdb.threads/step-after-sr-lock.exp: New file.
4727
b5ee5a50
PA
47282014-02-07 Pedro Alves <palves@redhat.com>
4729
4730 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4731
3c77faf3
JK
47322014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4733
4734 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4735 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4736
6dddc817
DE
47372014-02-06 Doug Evans <xdje42@gmail.com>
4738
4739 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4740 output.
4741
4742 * gdb.gdb/python-interrupts.exp: New file.
4743
de7b2893
YQ
47442014-02-05 Yao Qi <yao@codesourcery.com>
4745
4746 * gdb.trace/report.exp (use_collected_data): Test the output
4747 of "info threads" and "info inferiors".
4748
66d032ac
YQ
47492014-02-05 Yao Qi <yao@codesourcery.com>
4750
4751 Revert this patch:
4752
4753 2013-05-24 Yao Qi <yao@codesourcery.com>
4754
4755 * gdb.trace/tfile.exp: Test inferior and thread.
4756
591a12a1
UW
47572014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4758
4759 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4760 on a function.
4761 * gdb.base/step-bt.c: Call hello via function pointer to make
4762 sure its first instruction is executed on powerpc64le-linux.
4763
0ff3e01f
UW
47642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4765
4766 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4767
084ee545
UW
47682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4769
4770 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4771 of the test patterns for use on little-endian systems.
4772
6ed14ff3
UW
47732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4774
4775 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4776 (decimal_vector): Fix for little-endian.
4777
401e27fd
JM
47782014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4779
4780 * gdb.arch/sparc-sysstep.exp: New file.
4781 * gdb.arch/sparc-sysstep.c: Likewise.
4782
4783 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4784
8b924729
EBM
47852014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4786
4787 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4788
fb151210
JB
47892014-01-23 Tom Tromey <tromey@redhat.com>
4790
4791 * gdb.ada/array_char_idx: New testcase.
4792
0740f8d8
TT
47932014-01-23 Tom Tromey <tromey@redhat.com>
4794
4795 PR python/16487:
4796 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4797 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4798 classes.
4799
21909fa1
TT
48002014-01-23 Tom Tromey <tromey@redhat.com>
4801
4802 PR python/16491:
4803 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4804 string from an inferior frame.
4805 * gdb.python/py-framefilter-mi.exp: Update.
4806
87ce2a04
DE
48072014-01-22 Doug Evans <dje@google.com>
4808
4809 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4810
237b092b
AA
48112014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4812
4813 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4814
d674a709
AA
48152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4816
4817 * gdb.trace/entry-values.exp: Remove excess space character from
4818 regex patterns. Handle s390 call instruction.
4819
20fa3390
AA
48202014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4821
4822 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4823 define "*_start" label. Make "name" static.
4824 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4825 ${name} by references to ${name}_start.
4826
78466714
AA
48272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4828
4829 * gdb.base/info-macros.exp: Remove "debug" from the compile
4830 options.
4831
ec9f644a
IB
48322014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4833
4834 * gdb.dlang/demangle.exp: New file.
4835
94b1b47e
IB
48362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4837
4838 * gdb.dlang/primitive-types.exp: New file.
4839
7f420862
IB
48402014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4841
4842 * configure.ac: Create gdb.dlang/Makefile.
4843 * configure: Regenerate.
4844 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4845 * gdb.dlang/Makefile.in: New file.
4846 * lib/d-support.exp: New file.
4847 * lib/gdb.exp (skip_d_tests): New proc.
4848
52834460
MM
48492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4850
4851 * gdb.btrace/delta.exp: Check reverse stepi.
4852 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4853 * gdb.btrace/finish.exp: New.
4854 * gdb.btrace/next.exp: New.
4855 * gdb.btrace/nexti.exp: New.
4856 * gdb.btrace/record_goto.c: Add comments.
4857 * gdb.btrace/step.exp: New.
4858 * gdb.btrace/stepi.exp: New.
4859 * gdb.btrace/multi-thread-step.c: New.
4860 * gdb.btrace/multi-thread-step.exp: New.
4861 * gdb.btrace/rn-dl-bind.c: New.
4862 * gdb.btrace/rn-dl-bind.exp: New.
4863 * gdb.btrace/data.c: New.
4864 * gdb.btrace/data.exp: New.
4865 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4866
6e07b1d2
MM
48672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4868
4869 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4870 * gdb.btrace/exception.exp: Update.
4871 * gdb.btrace/instruction_history.exp: Update.
4872 * gdb.btrace/record_goto.exp: Update.
4873 * gdb.btrace/tailcall.exp: Update.
4874 * gdb.btrace/unknown_functions.exp: Update.
4875 * gdb.btrace/delta.exp: New.
4876
0b722aec
MM
48772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4878
4879 * gdb.btrace/record_goto.exp: Add backtrace test.
4880 * gdb.btrace/tailcall.exp: Add backtrace test.
4881
066ce621
MM
48822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4883
4884 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4885 * gdb.btrace/record_goto.c: New.
4886 * gdb.btrace/record_goto.exp: New.
4887 * gdb.btrace/x86-record_goto.S: New.
4888
0688d04e
MM
48892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4890
4891 * gdb.btrace/function_call_history.exp: Update tests.
4892 * gdb.btrace/instruction_history.exp: Update tests.
4893
8710b709
MM
48942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4895
4896 * gdb.btrace/function_call_history.exp: Fix expected field
4897 order for "record function-call-history".
4898 Add new tests for "record function-call-history /c".
4899 * gdb.btrace/exception.cc: New.
4900 * gdb.btrace/exception.exp: New.
4901 * gdb.btrace/tailcall.exp: New.
4902 * gdb.btrace/x86-tailcall.S: New.
4903 * gdb.btrace/x86-tailcall.c: New.
4904 * gdb.btrace/unknown_functions.c: New.
4905 * gdb.btrace/unknown_functions.exp: New.
4906 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4907
5de9129b
MM
49082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4909
4910 * gdb.btrace/instruction_history.exp: Update.
4911 * gdb.btrace/function_call_history.exp: Update.
4912
23a7fe75
MM
49132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4914
4915 * gdb.btrace/function_call_history.exp: Fix expected function
4916 trace.
4917 * gdb.btrace/instruction_history.exp: Initialize traced.
4918 Remove traced_functions.
4919
724c7dd8
MM
49202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4921
4922 * gdb.btrace/function_call_history.exp: Update
4923 * gdb.btrace/instruction_history.exp: Update.
4924
6d78d93b
MM
49252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4926
4927 * gdb.btrace/enable.exp: Update expected text.
4928
93a360cc
OJ
49292014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4930
4931 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4932 bytes.
4933
3772b53f
MR
49342014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4935
4936 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4937
596662fa
OJ
49382014-01-15 Omair Javaid <omair.javaid@linaro.org>
4939
4940 * lib/gdb.exp (supports_process_record): Return true for
4941 arm*-linux*. (supports_reverse): Likewise.
4942
b5b08fb4
SC
49432014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4944
4945 PR python/15464
4946 PR python/16113
4947 * gdb.python/py-type.c: Enhance test case.
4948 * gdb.python/py-value-cc.cc: Likewise
4949 * gdb.python/py-type.exp: Add new tests.
4950 * gdb.python/py-value-cc.exp: Likewise
4951
52d7fb13
AA
49522014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4953 Pedro Alves <palves@redhat.com>
4954
4955 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4956 Make "name" extern.
4957 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4958 references to ${name}_start by references to ${name}.
4959
a2cd8cfe
JB
49602014-01-10 Joel Brobecker <brobecker@adacore.com>
4961
4962 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4963
4e23fced
JB
49642014-01-10 Joel Brobecker <brobecker@adacore.com>
4965
4966 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4967
c6a9e42c
PA
49682014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4969 Pedro Alves <palves@redhat.com>
4970
4971 * gdb.mi/mi-info-os.exp: Connect to the target with
4972 mi_gdb_target_load.
4973
b7ea362b
PA
49742014-01-08 Pedro Alves <palves@redhat.com>
4975
4976 * gdb.threads/reconnect-signal.c: New file.
4977 * gdb.threads/reconnect-signal.exp: New file.
4978
5e3f4fab
EBM
49792014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4980
4981 * gdb.base/source-dir.exp: New file.
4982
79301218
JB
49832014-01-07 Joel Brobecker <brobecker@adacore.com>
4984
4985 * gdb.ada/mi_interface: New testcase.
4986
8e355c5d
JB
49872014-01-07 Joel Brobecker <brobecker@adacore.com>
4988
4989 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4990 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4991 gdb.ada/pp-rec-component/pck.ads: New files.
4992
c0d48811
JB
49932014-01-07 Joel Brobecker <brobecker@adacore.com>
4994
4995 * gdb.python/py-pp-integral.c: New file.
4996 * gdb.python/py-pp-integral.py: New file.
4997 * gdb.python/py-pp-integral.exp: New file.
4998
17b609c3 4999For older changes see ChangeLog-1993-2013.
c906108c 5000\f
8d8cb839
EZ
5001;; Local Variables:
5002;; mode: change-log
5003;; left-margin: 8
5004;; fill-column: 74
5005;; version-control: never
5006;; End:
902f2ccb 5007
32d0add0 5008 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5009 Copying and distribution of this file, with or without modification,
5010 are permitted provided the copyright notice and this notice are preserved.
This page took 3.021877 seconds and 4 git commands to generate.