]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
cf75d6c3
AB
12015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4 new tests for verilog output.
5
8dbe7ca5
YQ
62015-04-24 Yao Qi <yao.qi@linaro.org>
7
8 * boards/remote-gdbserver-on-localhost.exp: New file.
9
4ef9fb2f
PA
102015-04-23 Pedro Alves <palves@redhat.com>
11
12 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14 "end of file", remove $inferior_spawn_id from the indirect list.
15
0a803169
PA
162015-04-23 Pedro Alves <palves@redhat.com>
17
18 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19
749ef8f8
PA
202015-04-23 Pedro Alves <palves@redhat.com>
21
22 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
23 on $any_spawn_id instead of only on $gdb_spawn_id.
24
8aae4344
PM
252015-04-21 Pierre Muller <muller@sourceware.org>
26
27 PR pascal/17815
28 * lib/pascal.exp (gpc_compile): Add new option "class".
29 (fpc_compile): Likewise.
30 * gdb.pascal/case-insensitive-symbols.pas: New file.
31 * gdb.pascal/case-insensitive-symbols.exp: New file.
32
1586c8fb
GB
332015-04-20 Gary Benson <gbenson@redhat.com>
34
35 * gdb.base/attach.exp: Fix three extended remote failures.
36
1b6e6f5c
GB
372015-04-17 Gary Benson <gbenson@redhat.com>
38
39 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
40 the main executable over the remote protocol.
41
e797481d
PA
422015-04-16 Pedro Alves <palves@redhat.com>
43
44 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
45 a new gdbserver if gdbserver_reconnect_p is set.
46
1ca99c42
PA
472015-04-16 Pedro Alves <palves@redhat.com>
48
49 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
50 is set, don't exit gdbserver.
51
af9fd6f8
AA
522015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
53
54 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
55 appropriate .insn, such that an older assembler can be used.
56 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
57 the z/Architecture instruction set on 31-bit targets as well.
58
04ff1e61
AA
592015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
60
61 * gdb.go/handcall.exp: Remove all logic related to the first
62 breakpoint and rely on go_runto_main instead.
63 * gdb.go/strings.exp: Likewise.
64 * gdb.go/unsafe.exp: Likewise.
65 * gdb.go/hello.exp: Likewise. Also rename the remaining
66 breakpoint marker to "breakpoint 1".
67 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
68 * gdb.go/strings.go: Likewise.
69 * gdb.go/unsafe.go: Likewise.
70 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
71 "set breakpoint 2 here" and rename the remaining breakpoint marker
72 to "breakpoint 1".
73
40d2f8d6
SM
742015-04-15 Simon Marchi <simon.marchi@ericsson.com>
75
76 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
77 if itertools.imap is not present.
78 * gdb.python/py-objfile.exp: Add parentheses.
79 * gdb.python/py-type.exp: Same.
80 * gdb.python/py-unwind-maint.py: Same.
81
8cbc97c6
YQ
822015-04-15 Yao Qi <yao.qi@linaro.org>
83
84 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
85 of ":$ptr_size" and set its form explicitly.
86
45fd756c
YQ
872015-04-15 Pedro Alves <palves@redhat.com>
88 Yao Qi <yao.qi@linaro.org>
89
90 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
91 timeout by factor of 4.
92 (test_regular_watch): Likewise.
93 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
94 * gdb.reverse/sigall-reverse.exp: Likewise.
95 * gdb.reverse/until-precsave.exp: Likewise.
96 * lib/gdb.exp (with_timeout_factor): New proc.
97 (gdb_expect): Move some code to ...
98 (get_largest_timeout): ... here. New procedure.
99
9e811bc3
LM
1002015-04-14 Luis Machado <lgustavo@codesourcery.com>
101
102 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
103
0ff6fcb2
LM
1042015-04-13 Luis Machado <lgustavo@codesourcery.com>
105
106 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
107 to write to the .text section.
108
7578d5f7
LM
1092015-04-13 Luis Machado <lgustavo@codesourcery.com>
110
111 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
112 Handle the case of targets that do not provide PID information.
113
2efe15c4
YQ
1142015-04-13 Yao Qi <yao.qi@linaro.org>
115
116 * lib/gdbserver-support.exp (gdb_exit): Catch exception
117 and use expect instead of gdb_expect.
118
8cd8f2f8
SDJ
1192015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
120
121 * gdb.base/coredump-filter.exp: Rename variable "addr" to
122 "coredump_var_addr" to avoid naming conflict with other testcases.
123
9ee41772
PA
1242015-04-10 Pedro Alves <palves@redhat.com>
125
126 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
127 gdb_test_sequence and gdb_assert.
128
07473109
PA
1292015-04-10 Pedro Alves <palves@redhat.com>
130
131 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
132 test messages that don't include the breakpoint address.
133
de3db44c
YQ
1342015-04-10 Yao Qi <yao.qi@linaro.org>
135
136 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
137 false for some offset and width combinations which aren't
138 supported by linux kernel.
139
c79d856c
PA
1402015-04-10 Pedro Alves <palves@redhat.com>
141
142 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
143 procedure, factored out from ...
144 (top level): ... here. Add "set displaced-stepping" testing axis.
145 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
146 parameter "displaced". Use it.
147 (top level): Use foreach and add "set displaced-stepping" testing
148 axis.
149
ebc90b50
PA
1502015-04-10 Pedro Alves <palves@redhat.com>
151
152 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
153 Remove comment.
154 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
155 both the address of the instruction that triggers the watchpoint
156 and the address of the instruction immediately after, and use
157 those addresses for the test. Fix comment.
158
8f572e5c
PA
1592015-04-10 Pedro Alves <palves@redhat.com>
160
161 * gdb.base/sigstep.exp (breakpoint_to_handler)
162 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
163 Test "backtrace" in handler.
164 (breakpoint_over_handler): New parameter 'displaced'. Use it.
165 (top level): Add new "displaced" test axis to
166 breakpoint_to_handler, breakpoint_to_handler_entry and
167 breakpoint_over_handler.
168
8d707a12
PA
1692015-04-10 Pedro Alves <palves@redhat.com>
170
171 PR gdb/18216
172 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
173
ef713951
YQ
1742015-04-10 Yao Qi <yao.qi@linaro.org>
175
176 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
177 (test_add_rn_pc): New function.
178 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
179 (top level): Invoke test_add_rn_pc.
180
906d60cf
PA
1812015-04-10 Pedro Alves <palves@redhat.com>
182
183 PR gdb/13858
184 * gdb.base/step-over-no-symbols.exp: New file.
185
f2983cc3
AW
1862015-04-09 Andy Wingo <wingo@igalia.com>
187
188 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
189 after the Python tests.
190
6d62641c
SDJ
1912015-04-08 Keith Seitz <keiths@redhat.com>
192
193 PR python/16699
194 * gdb.python/py-completion.exp: New tests for completion.
195 * gdb.python/py-completion.py (CompleteLimit1): New class.
196 (CompleteLimit2): Likewise.
197 (CompleteLimit3): Likewise.
198 (CompleteLimit4): Likewise.
199 (CompleteLimit5): Likewise.
200 (CompleteLimit6): Likewise.
201 (CompleteLimit7): Likewise.
202
f3770638
PA
2032015-04-08 Pedro Alves <palves@redhat.com>
204
205 PR gdb/18214
206 PR gdb/18216
207 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
208 function.
209 (main): Install it as SIGUSR1 handler.
210 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
211 parameter. Always use "setup" as prefix. Toggle "set
212 displaced-stepping" off/on depending on global. Don't switch to
213 thread 1 here.
214 (top level): Add displaced stepping "off/on" test axis. Update
215 "setup" calls. Wrap each subtest with with_test_prefix. Test
216 continuing with a queued signal in each thread.
217
4496bed7
PA
2182015-04-08 Pedro Alves <palves@redhat.com>
219
220 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
221 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
222 gdb_breakpoint instead of gdb_test that doesn't expect anything.
223 Return early if running to main fails.
224 * gdb.trace/while-stepping.exp: Likewise.
225
b97fde92
PA
2262015-04-07 Pedro Alves <palves@redhat.com>
227
228 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
229 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
230 interact with inferior program.
231
f71c18e7
PA
2322015-04-07 Pedro Alves <palves@redhat.com>
233
234 * lib/gdb.exp (inferior_spawn_id): New global.
235 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
236 spawn id after processing the user code.
237 (default_gdb_start): Set inferior_spawn_id.
238 (send_inferior): New procedure.
239 * lib/gdbserver-support.exp (gdbserver_start): Set
240 inferior_spawn_id.
241 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
242
6423214f
PA
2432015-04-07 Pedro Alves <palves@redhat.com>
244
245 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
246 * lib/gdbserver-support.exp (gdbserver_start): Make
247 $server_spawn_id global.
248 (gdbserver_start): Don't wait for gdbserver's spawn id with
249 expect_background.
250 (close_gdbserver): New procedure.
251 (gdb_exit): Rename the default version and reimplement.
252
71c0ee8c
PA
2532015-04-07 Pedro Alves <palves@redhat.com>
254
255 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
256 append the substituted item, not the original item.
257
203bc29b
PA
2582015-04-07 Pedro Alves <palves@redhat.com>
259
260 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
261 gdb_expect.
262
508a3ddf
PA
2632015-04-07 Pedro Alves <palves@redhat.com>
264
265 * gdb.base/interrupt.exp: Don't handle the case of the inferior
266 output appearing once only.
267
9f6dbe2b
PA
2682015-04-07 Pedro Alves <palves@redhat.com>
269
270 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
271 that doesn't expect anything. Return early if running to main
272 fails.
273
337532fa
YQ
2742015-04-07 Yao Qi <yao.qi@linaro.org>
275
276 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
277 (child_function): Call alarm.
278 (main): Move call to alarm into the loop.
279 * gdb.threads/non-stop-fair-events.exp: Build program with
280 -DTIMEOUT=$timeout.
281
01b622d4
DE
2822015-04-06 Doug Evans <xdje42@gmail.com>
283
284 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
285 Fix dest parameter to board_info.
286 (fpc_compile): Ditto.
287 (gdb_compile_pascal): Rename dest arg to destfile.
288
961f4160
PMR
2892015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
290
291 * gdb.ada/funcall_ref.exp: New file.
292 * gdb.ada/funcall_ref/foo.adb: New file.
293
cafda597
YQ
2942015-04-02 Yao Qi <yao.qi@linaro.org>
295
296 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
297 is remote.
298
fed040c6
GB
2992015-04-02 Gary Benson <gbenson@redhat.com>
300
301 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
302
d11916aa
SS
3032015-04-01 Sasha Smundak <asmundak@google.com>
304
305 * gdb.python/py-unwind-maint.c: New file.
306 * gdb.python/py-unwind-maint.exp: New test.
307 * gdb.python/py-unwind-maint.py: New file.
308 * gdb.python/py-unwind.c: New file.
309 * gdb.python/py-unwind.exp: New test.
310 * gdb.python/py-unwind.py: New test.
311
a1471180
PA
3122015-04-01 Pedro Alves <palves@redhat.com>
313
314 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
315 to fail instead of non-existent $test.
316
0bbeccb1
PA
3172015-04-01 Pedro Alves <palves@redhat.com>
318
319 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
320 GDBFLAGS if not empty.
321
3c724c8c
PMR
3222015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
323
324 * gdb.ada/complete.exp: Remove "multi_line".
325 * gdb.ada/info_exc.exp: Remove "multi_line".
326 * gdb.ada/packed_tagged.exp: Remove "multi_line".
327 * gdb.ada/ptype_field.exp: Remove "multi_line".
328 * gdb.ada/sym_print_name.exp: Remove "multi_line".
329 * gdb.ada/tagged.exp: Remove "multi_line".
330 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
331 [multi_line ...]
332 * gdb.btrace/delta.exp: Likewise.
333 * gdb.btrace/exception.exp: Likewise.
334 * gdb.btrace/function_call_history.exp: Likewise.
335 * gdb.btrace/instruction_history.exp: Likewise.
336 * gdb.btrace/nohist.exp: Likewise.
337 * gdb.btrace/record_goto.exp: Likewise.
338 * gdb.btrace/segv.exp: Likewise.
339 * gdb.btrace/stepi.exp: Likewise.
340 * gdb.btrace/tailcall.exp: Likewise.
341 * gdb.btrace/unknown_functions.exp: Likewise.
342 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
343 * lib/gdb.exp: Add the "multi_line" helper.
344
4eec2deb
PA
3452015-04-01 Pedro Alves <palves@redhat.com>
346
347 * gdb.threads/tid-reuse.c: New file.
348 * gdb.threads/tid-reuse.exp: New file.
349
df8411da
SDJ
3502015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
351
352 PR corefiles/16092
353 * gdb.base/coredump-filter.c: New file.
354 * gdb.base/coredump-filter.exp: Likewise.
355
6ef37366
PM
3562015-03-27 Petr Machata <pmachata@redhat.com>
357
358 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
359 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
360 (Dwarf::assemble): Initialize them.
361 (Dwarf::lines): New function.
362
7ec911b0
JT
3632015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
364
365 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
366 SYMBOL_PREFIX for x86_64-*-cygwin.
367
ff908ebf
AW
3682015-03-26 Andy Wingo <wingo@igalia.com>
369
370 PR symtab/18148
371 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
372 const_value but not a location.
373 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
374 location defined in non-main CUs are visible.
375
6d5f0679
YQ
3762015-03-26 Yao Qi <yao.qi@linaro.org>
377
378 PR testsuite/18139
379 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
380 Add a line number entry for the same line.
381 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
382 Add a line number entry for the same line.
383
2898689b
YQ
3842015-03-26 Yao Qi <yao.qi@linaro.org>
385
386 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
387 .int 0.
388 (func): Likewise. Add .Lfunc_1 label.
389 Use .Lfunc_1 label.
390 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
391 .int 0.
392 (func): Likewise.
393 Use .Lfunc_1 label.
394
85180498
YQ
3952015-03-26 Yao Qi <yao.qi@linaro.org>
396
397 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
398 Call gdb_compile instead to compile each .s files without debug
399 information.
400
8aa08a8d
YQ
4012015-03-26 Yao Qi <yao.qi@linaro.org>
402
403 * gdb.base/savedregs.exp (process_saved_regs): Make
404 "Saved registers:" optional in the pattern.
405
66849923
MM
4062015-03-25 Markus Metzger <markus.t.metzger@intel.com>
407
408 * gdb.btrace/next.exp: Merged into step.exp.
409 * gdb.btrace/finish.exp: Merged into step.exp.
410 * gdb.btrace/nexti.exp: Merged into stepi.exp.
411 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
412 "record goto" and checking the exact replay position.
413 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
414 check for "Recording format" in "info record" output.
415 * gdb.btrace/record_goto.exp: Choose test file based on target.
416 * gdb.btrace/x86-record_goto.S: Renamed into ...
417 * gdb.btrace/x86_64-record_goto.S: ... this.
418 * gdb.btrace/i686-record_goto.S: New.
419 * gdb.btrace/x86-tailcall.S: Renamed into ...
420 * gdb.btrace/x86_64-tailcall.S: ... this.
421 * gdb.btrace/i686-tailcall.S: New.
422 * gdb.btrace/x86-tailcall.c: Renamed into ...
423 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
424 separate statements. Update test.
425 * gdb.btrace/delta.exp: Use record_goto.c as test file.
426 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
427 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
428 * gdb.btrace/tailcall.exp: Choose test file based on target.
429 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
430
11cc1b74
MM
4312015-03-25 Markus Metzger <markus.t.metzger@intel.com>
432
433 * gdb.btrace/exception.exp: Increase BTS buffer size.
434
a25d8bf9
PA
4352015-03-24 Pedro Alves <palves@redhat.com>
436
437 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
438
856e7dd6
PA
4392015-03-24 Pedro Alves <palves@redhat.com>
440
441 * gdb.threads/schedlock.exp (test_step): No longer expect that
442 "set scheduler-locking step" with "next" over a function call runs
443 threads unlocked.
444
ad235a41
AT
4452015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
446
447 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
448
15630549
AT
4492015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
450
451 PR breakpoints/16466
452 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
453 * gdb.mi/mi-pending.c (thread_func): New function.
454 (int main): Add threading support required.
455 * gdb.mi/mi-pending.exp: Add tests for this issue.
456 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
457 (pendfunc2): Remove stdio dependency.
458 * gdb.mi/mi-pendshr2.c: New file.
459
693dca06
KS
4602015-03-23 Keith Seitz <keiths@redhat.com>
461
462 * gdb.linespec/keywords.c: New file.
463 * gdb.linespec/keywords.exp: New file.
464
7e993ebf
KS
4652015-03-23 Keith Seitz <keiths@redhat.com>
466
467 PR gdb/18021
468 * gdb.dwarf2/staticvirtual.exp: New test.
469
bc23328c
JK
4702015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
471
472 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
473 * README: Remove HP-UX and gdb.hp.
474 (configuration):
475 * configure: Regenerate.
476 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
477 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
478 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
479 gdb.hp/gdb.defects/Makefile.
480 * gdb.hp/Makefile.in: File deleted.
481 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
482 * gdb.hp/gdb.aCC/optimize.c: File deleted.
483 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
484 * gdb.hp/gdb.aCC/run.c: File deleted.
485 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
486 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
487 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
488 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
489 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
490 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
491 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
492 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
493 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
494 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
495 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
496 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
497 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
498 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
499 * gdb.hp/gdb.base-hp/reg.s: File deleted.
500 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
501 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
502 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
503 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
504 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
505 * gdb.hp/gdb.compat/Makefile.in: File deleted.
506 * gdb.hp/gdb.compat/average.c: File deleted.
507 * gdb.hp/gdb.compat/sum.c: File deleted.
508 * gdb.hp/gdb.compat/xdb.c: File deleted.
509 * gdb.hp/gdb.compat/xdb0.c: File deleted.
510 * gdb.hp/gdb.compat/xdb0.h: File deleted.
511 * gdb.hp/gdb.compat/xdb1.c: File deleted.
512 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
513 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
514 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
515 * gdb.hp/gdb.defects/Makefile.in: File deleted.
516 * gdb.hp/gdb.defects/bs14602.c: File deleted.
517 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
518 * gdb.hp/gdb.defects/solib-d.c: File deleted.
519 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
520 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
521 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
522 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
523 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
524 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
525 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
526 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
527 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
528 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
529 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
530 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
531 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
532 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
533 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
534 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
535 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
536 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
537 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
538 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
539 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
540 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
541 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
542 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
543 * gdb.hp/tools/odump: File deleted.
544
8bf3b159
PA
5452015-03-19 Pedro Alves <palves@redhat.com>
546
547 * gdb.threads/continue-pending-status.exp (saw_thread_2)
548 (saw_thread_3): New globals.
549 (top level): Increment them when an event for the corresponding
550 thread is seen.
551 (no thread starvation): New test.
552
eb54c8bf
PA
5532015-03-19 Pedro Alves <palves@redhat.com>
554
555 * gdb.threads/continue-pending-status.c: New file.
556 * gdb.threads/continue-pending-status.exp: New file.
557
32d2e5d6
PA
5582015-03-18 Pedro Alves <palves@redhat.com>
559
560 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
561 Use gdb_is_target_remote instead of is_remote. Use
562 gdb_test_multiple instead of gdb_expect. Exit early if
563 gdb_test_multiple hits its internal matches. Tighten stepi tests
564 expected output. Fail on exit with any signal, instead of just
565 SIGILL.
566
f68f11b7
YQ
5672015-03-18 Yao Qi <yao.qi@linaro.org>
568
569 PR tdep/18107
570 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
571 variable.
572 * gdb.base/catch-syscall.exp: Don't skip it on
573 aarch64*-*-linux* target. Remove elements in all_syscalls.
574 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
575 target.
576 (setup_all_syscalls): New proc.
577
ca5fd19b
YQ
5782015-03-16 Yao Qi <yao.qi@linaro.org>
579
580 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
581 (top level): Skip tests if valid_addr_p returns false for
582 $cmd1 or $cmd2.
583
85642ba0
AW
5842015-03-11 Andy Wingo <wingo@igalia.com>
585
586 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
587
e03f9645
YQ
5882015-03-11 Yao Qi <yao.qi@linaro.org>
589
590 * gdb.base/catch-syscall.exp: Fix typo in comments.
591
5d0962b2
YQ
5922015-03-11 Yao Qi <yao.qi@linaro.org>
593
594 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
595
b2df3cef
PA
5962015-03-09 Pedro Alves <palves@redhat.com>
597
598 * dg-extract-results.py: Delete.
599
ef878e53
PA
6002015-03-09 Pedro Alves <palves@redhat.com>
601
602 Merge dg-extract-results.sh from GCC upstream (r218843).
603
604 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
605 * dg-extract-results.sh: Use --text with grep to avoid issues with
606 binary files. Fall back to cat -v, if that doesn't work.
607
9494d219
PA
6082015-03-05 Pedro Alves <palves@redhat.com>
609
610 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
611
a8d9763a
SM
6122015-03-04 Simon Marchi <simon.marchi@ericsson.com>
613
614 * lib/mi-support.exp (mi_expect_interrupt): Accept
615 alternative event for when in all-stop mode.
616
be9957b8
PA
6172015-03-04 Pedro Alves <palves@redhat.com>
618
619 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
620
d57be0f4 6212015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
622
623 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
624
c214c7cf
AA
6252015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
626
627 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
628 regexps for GDB's current line display, accept a hex address
629 preceding the line number.
630
6d74a497
AA
6312015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
632
633 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
634 the 'arch1' variable for "s390*-linux*" targets.
635
511aee7c
PA
6362015-03-04 Pedro Alves <palves@redhat.com>
637
638 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
639 (main): Pass missing retval argument to pthread_join call.
640
95e50b27
PA
6412015-03-02 Pedro Alves <palves@redhat.com>
642
643 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
644 (top level): Call do_test with non-stop as well.
645
28054d69
PA
6462015-03-02 Pedro Alves <palves@redhat.com>
647
648 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
649 -1.
650
4fa5d7b4
AA
6512015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
652
653 * gdb.arch/s390-vregs.exp: New test.
654 * gdb.arch/s390-vregs.S: New file.
655
97c18565
PA
6562015-02-27 Pedro Alves <palves@redhat.com>
657
658 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
659 call to catch_command_errors.
660 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
661 catch_command_errors.
662
a37bfa30
PA
6632015-02-27 Pedro Alves <palves@redhat.com>
664
665 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
666 "true" for boolean result.
667 * gdb.gdb/selftest.exp (test_with_self): Also accept full
668 prototype of main.
669
6f98576f
PA
6702015-02-27 Pedro Alves <palves@redhat.com>
671
672 * lib/unbuffer_output.c: New file.
673 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
674 (main): Call gdb_unbuffer_output.
675
eba5ab56
YQ
6762015-02-27 Yao Qi <yao.qi@linaro.org>
677
678 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
679 target.
680
0def5aaa
DE
6812015-02-26 Doug Evans <dje@google.com>
682
683 * gdb.cp/class2.cc (Dbase, D): New classes.
684 (main): New local delta.
685 * gdb.cp/class2.exp: Test printing delta.
686 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
687 (dynbar): New global.
688 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
689
081a1c2c
JK
6902015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
691
692 * gdb.compile/compile-ifunc.c: New file.
693 * gdb.compile/compile-ifunc.exp: New file.
694
2f41223f
AT
6952015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
696
697 * gdb.base/structs.exp: Check for correct struct on finish.
698
03eddd80
YQ
6992015-02-26 Yao Qi <yao.qi@linaro.org>
700
701 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
702 is zero.
703
80c57053
JK
7042015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
705
706 * gdb.arch/cordic.ko.bz2: New file.
707 * gdb.arch/cordic.ko.debug.bz2: New file.
708 * gdb.arch/ppc64-symtab-cordic.exp: New file.
709
21613c12
YQ
7102015-02-25 Yao Qi <yao.qi@linaro.org>
711
712 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
713 aarch64*-*-* target.
714
d8b901ed
PA
7152015-02-23 Pedro Alves <palves@redhat.com>
716
717 * lib/gdb.exp (delete_breakpoints): Rewrite using
718 gdb_test_multiple.
719
e5b85ead
PA
7202015-02-23 Pedro Alves <palves@redhat.com>
721
722 * gdb.base/info-os.c: Include stdlib.h.
723
85c3a371
DE
7242015-02-22 Doug Evans <xdje42@gmail.com>
725
726 PR symtab/17855
727 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
728 is read after symbols have been re-read.
729 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
730 * gdb.ada/exec_changed/second.adb (Second): Ditto.
731
96553a0c
DE
7322015-02-21 Doug Evans <dje@google.com>
733
734 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
735
97a0c697
JK
7362015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
737
738 PR corefiles/17808
739 * gdb.arch/i386-biarch-core.core.bz2: New file.
740 * gdb.arch/i386-biarch-core.exp: New file.
741
a47cd6e9
PA
7422015-02-21 Pedro Alves <palves@redhat.com>
743
744 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
745 runto_main fails.
746
c5facdc4
PA
7472015-02-20 Pedro Alves <palves@redhat.com>
748
749 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
750 info probes.
751
2db9a427
PA
7522015-02-20 Pedro Alves <palves@redhat.com>
753
754 * gdb.threads/multi-create-ns-info-thr.exp: New file.
755
60fb7e9e
PA
7562015-02-20 Pedro Alves <palves@redhat.com>
757
758 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
759 clean_restart before gdb_target_supports_trace.
760
5c5019c2
PA
7612015-02-20 Pedro Alves <palves@redhat.com>
762
763 PR threads/18006
764 * gdb.threads/clone-thread_db.c: New file.
765 * gdb.threads/clone-thread_db.exp: New file.
766
c9587f88
AT
7672015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
768
769 PR breakpoints/16812
770 * gdb.base/catch-gdb-caused-signals.c: New file.
771 * gdb.base/catch-gdb-caused-signals.exp: New file.
772
f6a88844
JM
7732015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
774
775 * configure: Regenerated.
776 * configure.ac: Use GDB_AC_TRANSFORM.
777 * aclocal.m4: sinclude ../transform.m4.
778
497c491b
JM
7792015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
780
781 * lib/dtrace.exp: New file.
782 * gdb.base/dtrace-probe.exp: Likewise.
783 * gdb.base/dtrace-probe.d: Likewise.
784 * gdb.base/dtrace-probe.c: Likewise.
785 * lib/pdtrace.in: Likewise.
786 * configure.ac: Output variables with the transformed names of
787 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
788 * configure: Regenerated.
789
03e98035
JM
7902015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
791
792 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
793 expected message when trying to access $_probe_* convenience
794 variables while not on a probe.
795
63cc30e9
JK
7962015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
797
798 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
799
0703599a
PA
8002015-02-11 Pedro Alves <pedro@codesourcery.com>
801
802 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
803 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
804
7e60a48e
DE
8052015-02-10 Doug Evans <xdje42@gmail.com>
806
807 * lib/gdb.exp (gdb_load): Always return a result.
808
01b088bc
PA
8092015-02-10 Pedro Alves <palves@redhat.com>
810
811 * gdb.threads/signal-sigtrap.c: New file.
812 * gdb.threads/signal-sigtrap.exp: New file.
813
b05ec7a5
AT
8142015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
815
816 * gdb.trace/no-attach-trace.c: New file.
817 * gdb.trace/no-attach-trace.exp: New file.
818
a2c2acaf
MW
8192015-02-09 Mark Wielaard <mjw@redhat.com>
820
821 * gdb.dwarf2/atomic.c: New file.
822 * gdb.dwarf2/atomic-type.exp: Likewise.
823
31fd9caa
MM
8242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
825
826 * gdb.btrace/buffer-size.exp: Update "info record" output.
827 * gdb.btrace/delta.exp: Update "info record" output.
828 * gdb.btrace/enable.exp: Update "info record" output.
829 * gdb.btrace/finish.exp: Update "info record" output.
830 * gdb.btrace/instruction_history.exp: Update "info record" output.
831 * gdb.btrace/next.exp: Update "info record" output.
832 * gdb.btrace/nexti.exp: Update "info record" output.
833 * gdb.btrace/step.exp: Update "info record" output.
834 * gdb.btrace/stepi.exp: Update "info record" output.
835 * gdb.btrace/nohist.exp: Update "info record" output.
836
d33501a5
MM
8372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
838
839 * gdb.btrace/buffer-size: New.
840
f4abbc16
MM
8412015-02-09 Markus Metzger <markus.t.metzger@intel.com>
842
843 * gdb.btrace/delta.exp: Update "info record" output.
844 * gdb.btrace/enable.exp: Update "info record" output.
845 * gdb.btrace/finish.exp: Update "info record" output.
846 * gdb.btrace/instruction_history.exp: Update "info record" output.
847 * gdb.btrace/next.exp: Update "info record" output.
848 * gdb.btrace/nexti.exp: Update "info record" output.
849 * gdb.btrace/step.exp: Update "info record" output.
850 * gdb.btrace/stepi.exp: Update "info record" output.
851 * gdb.btrace/nohist.exp: Update "info record" output.
852
b9d61307
SM
8532015-02-06 Simon Marchi <simon.marchi@ericsson.com>
854
855 PR gdb/15678
856 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
857
e584fdbc
PA
8582015-02-06 Pedro Alves <palves@redhat.com>
859
860 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
861 macro.
862 (seconds_left, again): New globals.
863 (main): Wait seconds_left in a 1-second sleep loop instead of
864 sleeping 180 seconds. If 'again' is set, reset the seconds
865 counter.
866 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
867 'again' in the inferior before detaching. Print the seconds left.
868 (options): New global.
869 (top level): Build program with -DTIMEOUT=$timeout.
870
77f41761
PA
8712015-02-06 Pedro Alves <palves@redhat.com>
872
873 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
874 determine how many seconds to pass to 'alarm'.
875 * gdb.base/gdb-sigterm.exp (top level): Build program with
876 -DTIMEOUT=$timeout.
877 (do_test): Return success/failure indication. Add more verbose
878 logging. Don't fail if 200 single steps are seen. Instead, fail
879 when the test times out.
880 (passes): New global.
881 (top level): Break the testing loop if testing fails on any
882 iteration. Use gdb_assert.
883
b9394193
DB
8842015-02-04 Don Breazeal <donb@codesourcery.com>
885
886 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
887 and initialize them.
888 (ipc_cleanup): New function.
889 (main): Don't declare shmid, semid, and msqid. Add a call to
890 atexit so that we call ipc_cleanup on exit.
891
42d9e528
PA
8922015-02-04 Pedro Alves <palves@redhat.com>
893
894 * boards/native-extended-gdbserver.exp: Remove any target variant
895 specifications from the board name before clearing the isremote
896 flag from board_info.
897
ae6ae975
DE
8982015-01-31 Doug Evans <xdje42@gmail.com>
899
900 * gdb.base/maint.exp <maint print type argc>: Update expected output.
901
cfb069a8
GB
9022015-01-31 Gary Benson <gbenson@redhat.com>
903
904 * gdb.base/completion.exp: Disable completion limiting for
905 existing tests. Add new tests to check completion limiting.
906 * gdb.linespec/ls-errs.exp: Disable completion limiting.
907
5dd31d79
DE
9082015-01-31 Doug Evans <xdje42@gmail.com>
909
910 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
911
9f050062
DE
9122015-01-31 Doug Evans <xdje42@gmail.com>
913
914 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
915 entries. Duplicate file section script entries.
916 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
917 inlined entries. Add test for safe-path rejection.
918 * gdb.python/py-section-script.c: Add duplicate inlined section script
919 entries. Duplicate file section script entries.
920 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
921 inlined entries. Add test for safe-path rejection.
922
df25ebbd
JB
9232015-01-29 Joel Brobecker <brobecker@adacore.com>
924
925 * gdb.ada/disc_arr_bound: New testcase.
926
4a0ca9ec
JB
9272015-01-29 Joel Brobecker <brobecker@adacore.com>
928
929 * gdb.ada/mi_var_array: New testcase.
930
3a8b707a
DE
9312015-01-27 Doug Evans <dje@google.com>
932
933 * gdb.python/py-objfile.exp: Add tests for objfile.username.
934 Add test for objfile.filename, objfile.username after objfile
935 has been unloaded.
936
f8313f6e
JB
9372015-01-26 Joel Brobecker <brobecker@adacore.com>
938
939 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
940 the second test to print the name attribute of value
941 returned by the call to gdb.lookup_type, and adjust
942 the expected output accordingly.
943
37bc665e
MW
9442015-01-25 Mark Wielaard <mjw@redhat.com>
945
946 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
947 * gdb.base/disp-step-fork.c: Include unistd.h.
948 * gdb.base/siginfo-obj.c: Include stdio.h.
949 * gdb.base/siginfo-thread.c: Likewise.
950 * gdb.mi/non-stop.c: Include unistd.h.
951 * gdb.mi/nsthrexec.c: Include stdio.h.
952 * gdb.mi/pthreads.c: Include unistd.h.
953 * gdb.modula2/unbounded1.c (main): Declare returns int.
954 * gdb.reverse/consecutive-reverse.c: Likewise.
955 * gdb.threads/create-fail.c: Include unistd.h.
956 * gdb.threads/killed.c: Likewise.
957 * gdb.threads/linux-dp.c: Likewise.
958 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
959 * gdb.threads/non-ldr-exc-2.c: Likewise.
960 * gdb.threads/non-ldr-exc-3.c: Likewise.
961 * gdb.threads/non-ldr-exc-4.c: Likewise.
962 * gdb.threads/pthreads.c: Include unistd.h.
963 (main): Declare returns int.
964 * gdb.threads/tls-main.c (foo): New declaration.
965 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
966
f7e5394d
SM
9672015-01-23 Simon Marchi <simon.marchi@ericsson.com>
968
969 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
970 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
971
743649fd
MW
9722015-01-15 Mark Wielaard <mjw@redhat.com>
973
974 * gdb.base/noreturn-return.c: New file.
975 * gdb.base/noreturn-return.exp: New file.
976 * gdb.base/noreturn-finish.c: New file.
977 * gdb.base/noreturn-finish.exp: New file.
978
198297aa
PA
9792015-01-23 Pedro Alves <palves@redhat.com>
980
981 * gdb.threads/continue-pending-after-query.c: New file.
982 * gdb.threads/continue-pending-after-query.exp: New file.
983
717cf30c
AG
9842015-01-22 Anders Granlund <anders.granlund@ericsson.com>
985 Simon Marchi <simon.marchi@ericsson.com>
986
987 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
988 * gdb.base/valgrind-db-attach.exp: Same.
989 * gdb.base/valgrind-infcall.exp: Same.
990 * lib/mi-support.exp (default_mi_gdb_start): Same.
991 * lib/prompt.exp (default_prompt_gdb_start): Same.
992 * lib/gdb.exp (default_gdb_spawn): Same.
993 (gdb_interact): New.
994
995
4b62a76e
JK
9962015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
997
998 * gdb.compile/compile.exp (pointer to jit function): New test.
999
b4cdae6f
WW
10002015-01-17 Wei-cheng Wang <cole945@gmail.com>
1001
1002 * lib/gdb.exp (supports_process_record): Return true for
1003 powerpc*-*-linux*.
1004 (supports_reverse): Likewise.
1005
d221e7ef
DB
10062015-01-15 Don Breazeal <donb@codesourcery.com>
1007
1008 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1009 instead of checking whether the target board is remote and
1010 use spawn_wait_for_attach instead of exec/sleep.
1011 * gdb.base/attach-twice.exp: Likewise.
1012
bafffb51
JB
10132015-01-15 Joel Brobecker <brobecker@adacore.com>
1014
1015 * gdb.ada/var_arr_attrs: New testcase.
1016
5589af0e
PA
10172015-01-14 Pedro Alves <palves@redhat.com>
1018 Joel Brobecker <brobecker@adacore.com>
1019
1020 PR gdb/17525
1021 * gdb.base/bp-cmds-execution-x-script.c: New file.
1022 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1023 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1024
6c400b59
PA
10252015-01-14 Pedro Alves <palves@redhat.com>
1026
1027 PR cli/17828
1028 * gdb.base/batch-preserve-term-settings.c: New file.
1029 * gdb.base/batch-preserve-term-settings.exp: New file.
1030
e02c96a7
DE
10312015-01-13 Doug Evans <dje@google.com>
1032
1033 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1034 binary.
1035
576fd14c
JB
10362015-01-13 Joel Brobecker <brobecker@adacore.com>
1037
1038 * Makefile.in (clean mostlyclean): Do not delete *.py.
1039
04dccad0
JB
10402015-01-13 Joel Brobecker <brobecker@adacore.com>
1041
1042 * gdb.python/py-lookup-type.exp: New file.
1043
3d230f71
PA
10442015-01-12 Pedro Alves <palves@redhat.com>
1045
1046 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1047 restore GDBFLAGS before returning.
1048
7e67715d
JK
10492015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1050
1051 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1052 is_amd64_regs_target and is_x86_like_target.
1053
f2e0d4b4
DE
10542015-01-11 Doug Evans <xdje42@gmail.com>
1055
1056 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1057 is given without an explicit form.
1058 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1059 attributes.
1060 * gdb.dwarf/corrupt.exp: Ditto.
1061 * gdb.dwarf2/enum-type.exp: Ditto.
1062 * gdb.trace/entry-values.exp: Ditto.
1063 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1064
439250fb
DE
10652015-01-11 Doug Evans <xdje42@gmail.com>
1066
1067 PR gdb/15830
1068 * gdb.base/maint.exp: Remove references to "maint demangle".
1069 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1070 Add tests for explicitly specifying language to demangle.
1071 * gdb.dlang/demangle.exp: Ditto.
1072
ede9f622
PA
10732015-01-09 Pedro Alves <palves@redhat.com>
1074
1075 * gdb.threads/non-stop-fair-events.c: New file.
1076 * gdb.threads/non-stop-fair-events.exp: New file.
1077
a7b796db
PA
10782015-01-09 Pedro Alves <palves@redhat.com>
1079
1080 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1081 the global scope. Set a breakpoint after all threads are started
1082 rather than stepping over two source lines. Expect the prompt.
1083 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1084 global.
1085 (NUM): Now 15.
1086 (main): Use threads_started_barrier to wait for all threads to
1087 start. Main thread no longer calls thread_function. Exit after
1088 180 seconds.
1089 (loop): New function.
1090 (thread_function): Wait on threads_started_barrier barrier. Call
1091 'loop' at each iteration.
1092 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1093 threads have started, instead of hardcoding number of "next"
1094 steps. Use an access watchpoint instead of a write watchpoint.
1095
9665ffdd
PA
10962015-01-09 Pedro Alves <palves@redhat.com>
1097
1098 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1099 (thread_func): Wait on barrier.
1100 (main): Wait for all threads to start before stopping GDB.
1101 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1102 global.
1103 (thread1_func, thread2_func): Wait on barrier.
1104 (main): Wait for all threads to start before stopping GDB.
1105 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1106 New global.
1107 (thread1_func, thread2_func): Wait on barrier.
1108 (main): Wait for all threads to start before stopping GDB.
1109
c945a99f
PA
11102015-01-09 Pedro Alves <palves@redhat.com>
1111
1112 * gdb.threads/attach-many-short-lived-threads.c: New file.
1113 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1114
c1a747c1
PA
11152014-01-09 Pedro Alves <palves@redhat.com>
1116
1117 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1118 instead of to thread 2.
1119 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1120 Add barrier around each pthread_create call instead of around all
1121 calls.
1122 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1123 Set a break on thread_function and have the child threads hit it
1124 one at at a time.
1125
60b3033e
PA
11262015-01-09 Pedro Alves <palves@redhat.com>
1127
1128 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1129 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1130 false.
1131 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1132 checking whether the target board is remote.
1133 * gdb.multi/multi-attach.exp: Likewise.
1134 * gdb.python/py-sync-interp.exp: Likewise.
1135 * gdb.server/ext-attach.exp: Likewise.
1136 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1137 tests that need to attach, instead of checking whether the target
1138 board is remote at the top of the file.
1139
acc018ac
YQ
11402015-01-08 Yao Qi <yao@codesourcery.com>
1141
1142 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1143
50a18af8
JK
11442015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1145
1146 Fix testcase compilation.
1147 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1148
8503d6e1
JB
11492015-01-06 Joel Brobecker <brobecker@adacore.com>
1150
1151 * gdb.python/py-type.exp: Add a couple test about empty
1152 array creation, and negative-length array creation.
1153
cc73dbcc
DE
11542015-01-02 Doug Evans <xdje42@gmail.com>
1155
1156 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1157
0300bbc7
DE
11582015-01-02 Doug Evans <dje@google.com>
1159
1160 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1161
9d85a0ec
YQ
11622014-12-29 Yao Qi <yao@codesourcery.com>
1163
1164 * gdb.trace/entry-values.exp: Update comments. Rename variable
1165 bar_call_foo to returned_from_foo.
1166
87186c6a
MMN
11672014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1168
1169 PR gdb/17394
1170 * gdb.linespec/break-asm-file.c: New file.
1171 * gdb.linespec/break-asm-file.exp: New file.
1172 * gdb.linespec/break-asm-file0.s: New file.
1173 * gdb.linespec/break-asm-file1.s: New file.
1174
1bab7383
YQ
11752014-12-18 Nigel Stephens <nigel@mips.com>
1176 Maciej W. Rozycki <macro@codesourcery.com>
1177
1178 * gdb.base/float.exp: Handle the new output from "info float" on
1179 MIPS targets.
1180
1bc1068a
JK
11812014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1182
1183 Fix MinGW compilation.
1184 * gdb.compile/compile-ops.exp: Update untested message if
1185 !skip_compile_feature_tests.
1186 * gdb.compile/compile-setjmp.exp: Likewise.
1187 * gdb.compile/compile-tls.exp: Likewise.
1188 * gdb.compile/compile.exp: Likewise.
1189 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1190 supported on this host".
1191
b6615d10
DE
11922014-12-16 Doug Evans <xdje42@gmail.com>
1193
1194 * boards/stabs.exp: New file.
1195
25dda427
AA
11962014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1197
1198 * gdb.base/completion.exp: Adjust to format changes of "maint
1199 print user-registers".
1200
bf330350
CU
12012014-12-16 Catalin Udma <catalin.udma@freescale.com>
1202
1203 PR server/17457
1204 * gdb.arch/aarch64-fp.c: New file.
1205 * gdb.arch/aarch64-fp.exp: New file.
1206
395cf596
SDJ
12072014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1208
1209 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1210 r210637, r210913, r211666, r215400, r215817).
1211
1212 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1213 * dg-extract-results.py: New file.
1214 * dg-extract-results.sh: Use it if the environment seems
1215 suitable.
1216
1217 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1218
1219 * dg-extract-results.py (parse_run): Handle warnings that
1220 are printed before a test harness is run.
1221
1222 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1223
1224 * dg-extract-results.py (Named): Remove __cmp__ method.
1225 (output_variation): Use a key to sort variation.harnesses.
1226
1227 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1228
1229 * dg-extract-results.py: For Python 3, force sys.stdout to
1230 handle surrogate escape sequences.
1231 (safe_open): New function.
1232 (output_segment, main): Use it.
1233
1234 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1235
1236 * dg-extract-results.py (Prog.result_re): Include options
1237 in test name.
1238
1239 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1240
1241 * dg-extract-results.py (output_variation): Always sort if
1242 do_sum.
1243
e882ef3c
SM
12442014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1245
1246 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1247 as long as we get pagination notifications.
1248
4992aa20
JM
12492014-12-15 Jason Merrill <jason@redhat.com>
1250
1251 * Makefile.in (check-gdb.%): Restore.
1252 * README: Mention it.
1253
c1b5a1a6
JB
12542014-12-13 Joel Brobecker <brobecker@adacore.com>
1255
1256 * gdb.ada/str_uninit: New testcase.
1257
5537b577
JK
12582014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1259
1260 PR symtab/17642
1261 * gdb.base/vla-stub-define.c: New file.
1262 * gdb.base/vla-stub.c: New file.
1263 * gdb.base/vla-stub.exp: New file.
1264
bb2ec1b3
TT
12652014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1266 Jan Kratochvil <jan.kratochvil@redhat.com>
1267 Tom Tromey <tromey@redhat.com>
1268
1269 * configure.ac: Add gdb.compile/.
1270 * configure: Regenerate.
1271 * gdb.compile/Makefile.in: New file.
1272 * gdb.compile/compile-ops.exp: New file.
1273 * gdb.compile/compile-ops.c: New file.
1274 * gdb.compile/compile-tls.c: New file.
1275 * gdb.compile/compile-tls.exp: New file.
1276 * gdb.compile/compile-constvar.S: New file.
1277 * gdb.compile/compile-constvar.c: New file.
1278 * gdb.compile/compile-mod.c: New file.
1279 * gdb.compile/compile-nodebug.c: New file.
1280 * gdb.compile/compile-setjmp-mod.c: New file.
1281 * gdb.compile/compile-setjmp.c: New file.
1282 * gdb.compile/compile-setjmp.exp: New file.
1283 * gdb.compile/compile-shlib.c: New file.
1284 * gdb.compile/compile.c: New file.
1285 * gdb.compile/compile.exp: New file.
1286 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1287
4ff709eb
TT
12882014-12-12 Tom Tromey <tromey@redhat.com>
1289
1290 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1291 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1292
6dddd6a5
DE
12932014-12-12 Doug Evans <dje@google.com>
1294
1295 * lib/gdb-python.exp (get_python_valueof): New function.
1296 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1297
71c24708
AA
12982014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1299
1300 * gdb.base/completion.exp: Add test for completion of "info
1301 registers ".
1302
3e29f34a
MR
13032014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1304
1305 * gdb.base/func-ptrs.c: New file.
1306 * gdb.base/func-ptrs.exp: New file.
1307
fc126975
SM
13082014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1309
1310 PR breakpoints/17012
1311 * gdb.base/dprintf-detach.c: New file.
1312 * gdb.base/dprintf-detach.exp: New file.
1313
0a46d518
SM
13142014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1315
1316 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1317 * lib/gdb.exp (target_is_gdbserver): New procedure.
1318
a0be3e44
DE
13192014-12-08 Doug Evans <dje@google.com>
1320
1321 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1322
df1b803a
YQ
13232014-12-05 Yao Qi <yao@codesourcery.com>
1324
1325 * gdb.guile/scm-error.exp: Remove the third argument to
1326 gdb_remote_download.
1327 * gdb.guile/scm-frame-args.exp: Likewise.
1328 * gdb.guile/scm-section-script.exp: Likewise.
1329
ddb9f679
YQ
13302014-12-05 Yao Qi <yao@codesourcery.com>
1331
1332 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1333
86e4ed39
DE
13342014-12-04 Doug Evans <dje@google.com>
1335
1336 * gdb.python/py-objfile.exp: Add tests for
1337 objfile.add_separate_debug_file.
1338
7c50a931
DE
13392014-12-04 Doug Evans <dje@google.com>
1340
1341 * lib/gdb.exp (get_build_id): New function.
1342 (build_id_debug_filename_get): Rewrite to use it.
1343 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1344
621661e3
MR
13452014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1346
1347 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1348 `method(long)', not just 0x0.
1349 * gdb.cp/nsalias.exp: Align code labels to 4.
1350 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1351 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1352 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1353 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1354 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1355 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1356
29f0c3b7
DE
13572014-12-02 Doug Evans <dje@google.com>
1358
e1e061e7 1359 PR symtab/17602
29f0c3b7 1360 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1361 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1362 * gdb.cp/anon-ns.exp: Update.
1363
162078c8
NB
13642014-12-02 Nick Bull <nicholaspbull@gmail.com>
1365
1366 * gdb.python/py-events.py (inferior_call_handler): New.
1367 (register_changed_handler, memory_changed_handler): New.
1368 (test_events.invoke): Register new handlers.
1369 * gdb.python/py-events.exp: Add tests for inferior call,
1370 memory_changed and register_changed events.
1371
fdb09caf
AA
13722014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1373
1374 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1375 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1376 if the linker doesn't understand this.
1377
55cfb2c4
SM
13782014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1379
1380 * gdb.python/python.exp: Change expected reply to help().
1381
9e8cd6df
YQ
13822014-12-01 Yao Qi <yao@codesourcery.com>
1383
1384 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1385 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1386 * configure: Re-generated.
1387
6c659fc2
SC
13882014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1389
1390 * gdb.cp/chained-calls.cc: New file.
1391 * gdb.cp/chained-calls.exp: New file.
1392 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1393
d7fc3181
SM
13942014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1395
1396 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1397 * gdb.dwarf2/symtab-producer.exp: Same.
1398 * gdb.gdb/python-interrupts.exp: Same.
1399 * gdb.gdb/python-selftest.exp: Same.
1400 * gdb.python/py-linetable.exp: Same.
1401 * gdb.python/py-type.exp: Same.
1402 * gdb.python/py-value-cc.exp: Same.
1403 * gdb.python/py-value.exp: Same.
1404
10e79639
YQ
14052014-11-28 Yao Qi <yao@codesourcery.com>
1406
1407 * gdb.base/break-probes.exp: Match library name prefixed with
1408 sysroot.
1409
f28a0564
SM
14102014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1411
1412 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1413 test expected output. Add parentheses for the call to print.
1414 Remove L suffix from integers.
1415
3fe1ce1d
DE
14162014-11-26 Doug Evans <dje@google.com>
1417
1418 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1419
84429e27
YQ
14202014-11-22 Yao Qi <yao@codesourcery.com>
1421
1422 * gdb.trace/entry-values.c: Remove asms.
1423 (foo): Add foo_label.
1424 (bar): Add bar_label.
1425 * gdb.trace/entry-values.exp: Remove code computing foo's
1426 length and bar's length.
1427 (Dwarf::assemble): Invoke function_range for bar and use
1428 MACRO_AT_func for foo.
1429
26741859
YQ
14302014-11-22 Yao Qi <yao@codesourcery.com>
1431
1432 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1433 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1434 Use .Lgcc43_procstart instead of gcc43.
1435
45e44d27
JB
14362014-11-21 Joel Brobecker <brobecker@adacore.com>
1437
1438 * gdb.ada/n_arr_bound: New testcase.
1439
458c8db8
SDJ
14402014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1441
1442 PR breakpoints/10737
1443 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1444 test_catch_syscall_multi_arch.
1445 (test_catch_syscall_multi_arch): New function.
1446
43f3e411
DE
14472014-11-20 Doug Evans <xdje42@gmail.com>
1448
1449 * gdb.base/maint.exp: Update expected output.
1450
0d7b2549
AA
14512014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1452
1453 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1454 4-byte instruction on S390.
1455
8908fca5
JB
14562014-11-19 Joel Brobecker <brobecker@adacore.com>
1457
1458 * gdb.ada/arr_arr: New testcase.
1459
4a46959e
JB
14602014-11-19 Joel Brobecker <brobecker@adacore.com>
1461
1462 * gdb.ada/pkd_arr_elem: New Testcase.
1463
470e2f4e
LM
14642014-11-18 Luis Machado <lgustavo@codesourcery.com>
1465
1466 * gdb.reverse/break-precsave: Expect completion message for
1467 core file reads.
1468 * gdb.reverse/consecutive-precsave.exp: Likewise.
1469 * gdb.reverse/finish-precsave.exp: Likewise.
1470 * gdb.reverse/i386-precsave.exp: Likewise.
1471 * gdb.reverse/machinestate-precsave.exp: Likewise.
1472 * gdb.reverse/sigall-precsave.exp: Likewise.
1473 * gdb.reverse/solib-precsave.exp: Likewise.
1474 * gdb.reverse/step-precsave.exp: Likewise.
1475 * gdb.reverse/until-precsave.exp: Likewise.
1476 * gdb.reverse/watch-precsave.exp: Likewise.
1477
a267f3ad
AA
14782014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1479
1480 * gdb.base/bp-permanent.c: Include unistd.h.
1481 * gdb.python/py-framefilter-mi.c (main): Add return type.
1482 * gdb.python/py-framefilter.c (main): Likewise.
1483 * gdb.trace/actions-changed.c (main): Likewise.
1484
12084a9a
AA
14852014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1486
1487 * gdb.mi/until.c: Add eye-catchers.
1488 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1489 line numbers.
1490
dc7e1a77
AA
14912014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1492
1493 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1494 function header variants in break1.c.
1495 * gdb.base/ena-dis-br.exp: Likewise.
1496 * gdb.base/hbreak2.exp: Likewise.
1497 * gdb.reverse/until-precsave.exp: Drop references to removed
1498 non-prototype function header variants in ur1.c.
1499 * gdb.reverse/until-reverse.exp: Likewise.
1500
41c77605
PM
15012014-11-17 Petr Machata <pmachata@redhat.com>
1502
1503 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1504 ${_cu_offset_size} bytes abbrev offset.
1505
34248c3a
DE
15062014-11-15 Doug Evans <xdje42@gmail.com>
1507
1508 PR symtab/17559
1509 * gdb.base/line-symtabs.exp: New file.
1510 * gdb.base/line-symtabs.c: New file.
1511 * gdb.base/line-symtabs.h: New file.
1512
646da059
YQ
15132014-11-14 Yao Qi <yao@codesourcery.com>
1514
1515 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1516 (func): Add label func_label.
1517 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1518 Replace low_pc and high_pc with MACRO_AT_range.
1519 Replace name, low_pc and high_pc with MACRO_AT_func.
1520
9301ebe6
YQ
15212014-11-14 Yao Qi <yao@codesourcery.com>
1522
1523 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1524 Replace name, low_pc and high_pc with MACRO_AT_func.
1525
f166b542
YQ
15262014-11-14 Yao Qi <yao@codesourcery.com>
1527
1528 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1529 produce debug information.
1530 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1531
0f6e71e3
YQ
15322014-11-14 Yao Qi <yao@codesourcery.com>
1533
1534 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1535 object and get function length.
1536 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1537 with MACRO_AT_func.
1538 (top-level): Replace gdb_compile and clean_restart with
1539 prepare_for_testing.
1540 * gdb.dwarf2/main.c (main): Add label main_label.
1541
876c4df9
YQ
15422014-11-14 Yao Qi <yao@codesourcery.com>
1543
1544 * lib/dwarf.exp (function_range): New procedure.
1545 (Dwarf::_handle_macro_at_func): New procedure.
1546 (Dwarf::_handle_macro_at_range): New procedure.
1547 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1548
02ad9cf1
YQ
15492014-11-14 Yao Qi <yao@codesourcery.com>
1550
1551 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1552 (_handle_attribute): New procedure.
1553
a59add0c
AA
15542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1555
1556 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1557 * gdb.base/call-sc.c (zed): Likewise.
1558 * gdb.base/checkpoint.c (main): Likewise.
1559 * gdb.base/dump.c (main): Likewise.
1560 * gdb.base/gcore.c (main): Likewise.
1561 * gdb.base/huge.c (main): Likewise.
1562 * gdb.base/multi-forks.c (main): Likewise.
1563 * gdb.base/pr10179-a.c (main): Likewise.
1564 * gdb.base/savedregs.c (main): Likewise.
1565 * gdb.base/sigaltstack.c (main): Likewise.
1566 * gdb.base/siginfo.c (main): Likewise.
1567 * gdb.base/structs.c (zed): Likewise.
1568 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1569 * gdb.mi/mi-syn-frame.c (main): Likewise.
1570 * gdb.mi/until.c (foo, main): Likewise.
1571 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1572 * gdb.base/solib-weak.c (foo): Declare.
1573 * gdb.base/attach-twice.c: Include stdio.h.
1574 * gdb.base/weaklib1.c: Likewise.
1575 * gdb.base/weaklib2.c: Likewise.
1576 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1577 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1578 unistd.h.
1579 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1580 * gdb.mi/mi-exit-code.c: Likewise.
1581 * gdb.base/break-interp-lib.c: Include string.h.
1582 * gdb.base/coremaker.c: Likewise.
1583 * gdb.base/testenv.c: Likewise.
1584 * gdb.python/py-finish-breakpoint.c: Likewise.
1585 * gdb.base/inferior-died.c: Include sys/wait.h.
1586 * gdb.base/fileio.c: Include time.h.
1587 * gdb.base/async-shell.c: Include unistd.h.
1588 * gdb.base/dprintf-non-stop.c: Likewise.
1589 * gdb.base/info-os.c: Likewise.
1590 * gdb.mi/mi-console.c: Likewise.
1591 * gdb.mi/watch-nonstop.c: Likewise.
1592 * gdb.python/py-events.c: Likewise.
1593 * gdb.base/async.c (baz): Move up before its invocation.
1594 * gdb.base/code_elim2.c (my_global_func): Likewise.
1595 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1596 * gdb.base/advance.c (func2): Likewise.
1597
3b5d5997
AA
15982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1599
1600 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1601 variant.
1602 * gdb.base/annota3.c: Likewise.
1603 * gdb.base/async.c: Likewise.
1604 * gdb.base/average.c: Likewise.
1605 * gdb.base/call-ar-st.c: Likewise.
1606 * gdb.base/call-rt-st.c: Likewise.
1607 * gdb.base/call-sc.c: Likewise.
1608 * gdb.base/call-strs.c: Likewise.
1609 * gdb.base/ending-run.c: Likewise.
1610 * gdb.base/execd-prog.c: Likewise.
1611 * gdb.base/exprs.c: Likewise.
1612 * gdb.base/foll-exec.c: Likewise.
1613 * gdb.base/foll-fork.c: Likewise.
1614 * gdb.base/foll-vfork.c: Likewise.
1615 * gdb.base/funcargs.c: Likewise.
1616 * gdb.base/gcore.c: Likewise.
1617 * gdb.base/jump.c: Likewise.
1618 * gdb.base/langs0.c: Likewise.
1619 * gdb.base/langs1.c: Likewise.
1620 * gdb.base/langs2.c: Likewise.
1621 * gdb.base/mips_pro.c: Likewise.
1622 * gdb.base/nodebug.c: Likewise.
1623 * gdb.base/opaque0.c: Likewise.
1624 * gdb.base/opaque1.c: Likewise.
1625 * gdb.base/recurse.c: Likewise.
1626 * gdb.base/run.c: Likewise.
1627 * gdb.base/scope0.c: Likewise.
1628 * gdb.base/scope1.c: Likewise.
1629 * gdb.base/setshow.c: Likewise.
1630 * gdb.base/setvar.c: Likewise.
1631 * gdb.base/shmain.c: Likewise.
1632 * gdb.base/shr1.c: Likewise.
1633 * gdb.base/shr2.c: Likewise.
1634 * gdb.base/sigall.c: Likewise.
1635 * gdb.base/signals.c: Likewise.
1636 * gdb.base/so-indr-cl.c: Likewise.
1637 * gdb.base/solib2.c: Likewise.
1638 * gdb.base/structs.c: Likewise.
1639 * gdb.base/sum.c: Likewise.
1640 * gdb.base/vforked-prog.c: Likewise.
1641 * gdb.base/watchpoint.c: Likewise.
1642 * gdb.reverse/shr2.c: Likewise.
1643 * gdb.reverse/until-reverse.c: Likewise.
1644 * gdb.reverse/ur1.c: Likewise.
1645 * gdb.reverse/watch-reverse.c: Likewise.
1646
066a77c5
AA
16472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1648
1649 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1650 variant.
1651 * gdb.base/sepdebug.exp: Drop references to removed code.
1652
4f204ea5
AA
16532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1654
1655 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1656 variant. Preserve original line numbering.
1657 * gdb.base/list1.c: Likewise.
1658
3b377a3a
AA
16592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1660
1661 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1662 variant.
1663 * gdb.base/break1.c: Likewise.
1664 * gdb.base/break.exp: Drop references to removed code.
1665
e444df73
AA
16662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1667
1668 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1669 variant.
1670
8008f2a7
AA
16712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1672
1673 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1674
a5a06887
AA
16752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1676
1677 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1678 logic into perform_all_tests() and invoke it with and without
1679 function header prototypes.
1680 (do_function_calls): Remove conditional XFAIL for PR 5318.
1681 (rerun_and_prepare): Remove duplicate code.
1682 (perform_all_tests): New. Main logic moved here.
1683
44dba9b9
AA
16842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1685
1686 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1687 code guarded by #ifdef NO_PROTOTYPES.
1688 (t_double_many_args): Likewise.
1689 (DEF_FUNC_MANY_ARGS_1): Likewise.
1690 (DEF_FUNC_VALUES_1): Likewise.
1691 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1692 guarded by #ifdef PROTOTYPES.
1693
d1fbcd56
AA
16942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1695
1696 * gdb.mi/mi-console.c: Add eye-catcher.
1697 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1698 instead of literal line number.
1699
b0e59b8f
AA
17002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1701
1702 * gdb.base/shr2.c: Add eye-catcher.
1703 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1704 line number.
1705
78f98cca
AA
17062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1707
1708 * gdb.base/jump.c: Add eye-catchers.
1709 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1710 numbers.
1711
58fa2af0
AA
17122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1713
1714 * gdb.base/execd-prog.c: Add eye-catchers.
1715 * gdb.base/foll-exec.c: Likewise.
1716 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1717 line numbers.
1718
04e5059b
AA
17192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1720
1721 * gdb.base/ending-run.c: Add eye-catchers.
1722 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1723 literal line numbers.
1724
dbfdb174
AA
17252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1726
1727 * gdb.base/call-rt-st.c: Add eye-catchers.
1728 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1729 literal line numbers.
1730
888a2ade
AA
17312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1732
1733 * gdb.base/call-ar-st.c: Add eye-catchers.
1734 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1735 literal line numbers.
1736
6acc2dde
AA
17372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1738
1739 * gdb.base/average.c: Add eye-catchers.
1740 * gdb.base/sum.c: Likewise.
1741 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1742 regexps dynamically.
1743
9ecfcd1d
AA
17442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1745
1746 * gdb.base/solib1.c: Add eye-catchers.
1747 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1748 literal line numbers.
1749
78708b7c
PA
17502014-11-12 Pedro Alves <palves@redhat.com>
1751
1752 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1753 leader has exited.
1754
af48d08f
PA
17552014-11-12 Pedro Alves <palves@redhat.com>
1756
1757 * gdb.arch/i386-bp_permanent.c: New file.
1758 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1759 (srcfile): Set to i386-bp_permanent.c.
1760 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1761 that stepi does not execute the 'leave' instruction, instead of
1762 testing it does execute.
1763 * gdb.base/bp-permanent.c: New file.
1764 * gdb.base/bp-permanent.exp: New file.
1765
af3768e9
DE
17662014-11-10 Doug Evans <xdje42@gmail.com>
1767
1768 PR symtab/17564
1769 * gdb.base/symtab-search-order.exp: New file.
1770 * gdb.base/symtab-search-order.c: New file.
1771 * gdb.base/symtab-search-order-1.c: New file.
1772 * gdb.base/symtab-search-order-shlib-1.c: New file.
1773
9de00a4a
PA
17742014-11-07 Pedro Alves <palves@redhat.com>
1775
1776 PR gdb/17511
1777 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1778 i?86-*-linux*.
1779
e0f52461
SC
17802014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1781
1782 PR c++/17494
1783 * gdb.cp/pr17494.cc: New file.
1784 * gdb.cp/pr17494.exp: New file.
1785
6ce8c980
YQ
17862014-11-02 Yao Qi <yao@codesourcery.com>
1787
1788 * gdb.python/python.exp: Get working directory and match the
1789 output of "set extended-prompt \\w " with it.
1790
02be9a71
DE
17912014-10-30 Doug Evans <dje@google.com>
1792
1793 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1794 in objfiles.
1795 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1796 in progspaces.
1797
3bdff46b
LM
17982014-10-30 Janis Johnson <janisjo@codesourcery.com>
1799
1800 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1801 * gdb.base/realname-expand.exp: Likewise.
1802 * gdb.linespec/macro-relative.exp: Likewise.
1803
ab917dfb
PA
18042014-10-29 Pedro Alves <palves@redhat.com>
1805
1806 PR gdb/17408
1807 * gdb.threads/schedlock.c (some_function): New function.
1808 (call_function): New global.
1809 (MAYBE_CALL_SOME_FUNCTION): New macro.
1810 (thread_function): Call it.
1811 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1812 and use it instead of a global counter. Adjust all callers.
1813 (get_current_thread): Use "find current thread" for test message
1814 here rather than having all callers pass down the same string.
1815 (goto_loop): New procedure, factored out from ...
1816 (my_continue): ... this.
1817 (step_ten_loops): Change parameter from test message to command to
1818 use. Adjust.
1819 (list_count): Delete global.
1820 (check_result): New procedure, factored out from duplicate top
1821 level code.
1822 (continue tests): Wrap in with_test_prefix.
1823 (test_step): New procedure, factored out from duplicate top level
1824 code.
1825 (top level): Test "step" in combination with all scheduler-locking
1826 modes. Test "next" in combination with all scheduler-locking
1827 modes, and in combination with stepping over a function call or
1828 not.
1829 * gdb.threads/next-bp-other-thread.c: New file.
1830 * gdb.threads/next-bp-other-thread.exp: New file.
1831
d3d4baed
PA
18322014-10-29 Pedro Alves <palves@redhat.com>
1833
1834 PR python/17372
1835 * gdb.python/python.exp: Test a multi-line command that spawns
1836 interactive Python.
1837 * gdb.base/multi-line-starts-subshell.exp: New file.
1838
563e8d85
YQ
18392014-10-29 Yao Qi <yao@codesourcery.com>
1840
1841 * gdb.base/fileio.exp: Make directories on host.
1842
0ea4d52e
YQ
18432014-10-29 Yao Qi <yao@codesourcery.com>
1844
1845 * gdb.base/fileio.c (test_write): Close the file.
1846
7f5ef605
PA
18472014-10-28 Pedro Alves <palves@redhat.com>
1848
1849 PR gdb/12623
1850 * gdb.base/sigstep.c (no_handler): New global.
1851 (main): If 'no_handler is true, set the signal handlers to
1852 SIG_IGN.
1853 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1854 with_sw_watch and no_handler parameters. Handle them.
1855 (top level) <stepping over handler when stopped at a breakpoint
1856 test>: Add a test axis for testing with a software watchpoint, and
1857 another for testing with the signal handler set to SIG_IGN.
1858 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1859 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1860
abbdbd03
PA
18612014-10-28 Pedro Alves <palves@redhat.com>
1862
1863 PR gdb/17511
1864 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1865 * gdb.base/sigstep.exp (other_handler_location): New global.
1866 (advance): Support stepping into the signal handler, and running
1867 commands while in the handler.
1868 (in_handler_map): New global.
1869 (top level): In the advance test, add combinations for getting
1870 into the handler with stepping commands, and for running commands
1871 in the handler. Add comment descripting the advancei tests.
1872
1df4399f
PA
18732014-10-28 Pedro Alves <palves@redhat.com>
1874
1875 * gdb.base/sigstep.exp: Use build_executable instead of
1876 prepare_for_testing.
1877 (top level): Move code that starts GDB, runs to main and creates a
1878 display to ...
1879 (restart): ... this new procedure.
1880 (top level): Move backtrace from signal handler test to ...
1881 (validate_backtrace): ... this new procedure.
1882 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1883 with_test_prefix. Always restart GDB.
1884 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1885 with_test_prefix. Always restart GDB. No need to delete
1886 breakpoints after the test.
1887 (test_skip_handler): Remove prefix parameter.
1888 (skip_over_handler, breakpoint_to_handler)
1889 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1890 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1891 restart GDB. No need to delete breakpoints after the test.
1892 (top level): Use foreach to call the test procedures with
1893 different commands.
1894
a5b6e449
PA
18952014-10-28 Pedro Alves <palves@redhat.com>
1896
1897 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1898 instead of GNATS numbers.
1899 * gdb.base/sigbpt.exp: Likewise.
1900 * gdb.base/siginfo.exp: Likewise.
1901 * gdb.base/sigstep.exp: Likewise.
1902
e5f8a7cc
PA
19032014-10-27 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.base/sigstep.c (dummy): New global.
1906 (main): Issue a couple writes to the new global.
1907 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1908 procedures.
1909 (skip_over_handler): Use test_skip_handler.
1910 (top level): Call skip_over_handler for stepi and nexti too.
1911 (breakpoint_over_handler): Use test_skip_handler.
1912 (top level): Call breakpoint_over_handler for stepi and nexti too.
1913
763905a3
YQ
19142014-10-27 Yao Qi <yao@codesourcery.com>
1915
1916 * gdb.trace/tfile.c (adjust_function_address)
1917 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1918 function descriptor.
1919
6f259a23
DB
19202014-10-24 Don Breazeal <donb@codesourcery.com>
1921
1922 * gdb.base/foll-fork.exp (test_follow_fork,
1923 catch_fork_child_follow): Check for updated fork messages emitted
1924 from infrun.c.
1925 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1926 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1927 vfork_and_exec_child_follow_through_step): Check for updated vfork
1928 messages emitted from infrun.c.
1929
09dd9a69
PA
19302014-10-24 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.base/corefile.exp: Remove references to ultrix.
1933 * gdb.base/interrupt.exp: Likewise.
1934 * gdb.base/whatis.exp: Likewise.
1935 * gdb.gdb/selftest.exp: Likewise.
1936 * gdb.threads/manythreads.exp: Likewise.
1937 * gdb.threads/print-threads.exp: Likewise.
1938 * gdb.threads/pthreads.exp:: Likewise.
1939 * gdb.threads/schedlock.exp: Likewise.
1940
3433cfa5
SC
19412014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1942
1943 * gdb.cp/non-trivial-retval.cc: Add a test case.
1944 * gdb.cp/non-trivial-retval.exp: Add a test.
1945
092f880b
YQ
19462014-10-20 Yao Qi <yao@codesourcery.com>
1947
1948 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1949 * gdb.python/py-objfile-script-gdb.py: New file.
1950 * gdb.python/py-objfile-script.exp: Update reference to
1951 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1952 of remote_download. Remove the dest file.
1953
acbdb7f3
YQ
19542014-10-20 Yao Qi <yao@codesourcery.com>
1955
1956 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1957 * gdb.base/step-line.exp: Likewise.
1958 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1959 * gdb.dwarf2/dw2-basic.exp: Likewise.
1960 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1961 * gdb.dwarf2/dw2-filename.exp: Likewise.
1962 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1963 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1964 * gdb.dwarf2/dw2-producer.exp: Likewise.
1965 * gdb.dwarf2/mac-fileno.exp: Likewise.
1966 * gdb.python/py-frame-args.exp: Likewise.
1967 * gdb.python/py-framefilter.exp: Likewise.
1968 * gdb.python/py-mi.exp: Likewise.
1969 * gdb.python/py-objfile-script.exp: Likewise
1970 * gdb.python/py-pp-integral.exp: Likewise.
1971 * gdb.python/py-pp-re-notag.exp: Likewise.
1972 * gdb.python/py-prettyprint.exp: Likewise.
1973 * gdb.python/py-section-script.exp: Likewise.
1974 * gdb.python/py-typeprint.exp: Likewise.
1975 * gdb.python/py-xmethods.exp: Likewise.
1976 * gdb.stabs/weird.exp: Likewise.
1977 * gdb.xml/tdesc-regs.exp: Likewise.
1978
bd286a29
KCY
19792014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1980
1981 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1982 (out_cu): Use addr_len for the size of addresses.
1983 (out_line): Likewise. Size DW_LNE_set_address instruction
1984 according to addr_len.
1985 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1986 (FUNC): Add START_INSNS to definition.
1987
673dc4a0
YQ
19882014-10-18 Yao Qi <yao@codesourcery.com>
1989
1990 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1991 gdb_has_argv0 return true.
1992 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1993 check [target_info exists noargs], check [gdb_has_argv0]
1994 instead.
1995 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1996 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1997 procedures.
1998
4ffbba72
DE
19992014-10-17 Doug Evans <dje@google.com>
2000
2001 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2002 event.
2003 * gdb.python/py-events.py: Add clear_objfiles event.
2004
d096d8c1
DE
20052014-10-17 Doug Evans <dje@google.com>
2006
2007 * gdb.python/py-objfile.exp: Test progspace attribute.
2008
a80db015
LM
20092014-10-17 Luis Machado <lgustavo@codesourcery.com>
2010
2011 * gdb.guile/scm-breakpoint.exp: Do not assume any
2012 directory separators when matching source file paths.
2013 * gdb.python/py-breakpoint.exp: Likewise.
2014 * gdb.reverse/break-precsave.exp: Likewise.
2015 * gdb.reverse/break-reverse.exp: Likewise.
2016 * gdb.reverse/consecutive-precsave.exp: Likewise.
2017 * gdb.reverse/finish-precsave.exp: Likewise.
2018 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2019 * gdb.reverse/finish-reverse.exp: Likewise.
2020 * gdb.reverse/i386-precsave.exp: Likewise.
2021 * gdb.reverse/i387-env-reverse.exp: Likewise.
2022 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2023 * gdb.reverse/machinestate-precsave.exp: Likewise.
2024 * gdb.reverse/machinestate.exp: Likewise.
2025 * gdb.reverse/sigall-precsave.exp: Likewise.
2026 * gdb.reverse/solib-precsave.exp: Likewise.
2027 * gdb.reverse/step-precsave.exp: Likewise.
2028 * gdb.reverse/until-precsave.exp: Likewise.
2029 * gdb.reverse/watch-precsave.exp: Likewise.
2030 * gdb.reverse/watch-reverse.exp: Likewise.
2031
b22089ab
YQ
20322014-10-17 Yao Qi <yao@codesourcery.com>
2033
2034 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2035 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2036
6c4486e6
PA
20372014-10-17 Pedro Alves <palves@redhat.com>
2038
2039 PR gdb/17471
2040 * gdb.base/bg-execution-repeat.c: New file.
2041 * gdb.base/bg-execution-repeat.exp: New file.
2042
0ff33695
PA
20432014-10-17 Pedro Alves <palves@redhat.com>
2044
2045 PR gdb/17300
2046 * gdb.base/continue-all-already-running.c: New file.
2047 * gdb.base/continue-all-already-running.exp: New file.
2048
6fdebc3d
PA
20492014-10-17 Pedro Alves <palves@redhat.com>
2050
2051 PR gdb/17472
2052 * gdb.base/annota-input-while-running.c: New file.
2053 * gdb.base/annota-input-while-running.exp: New file.
2054
32a8097b
PA
20552014-10-17 Pedro Alves <palves@redhat.com>
2056
2057 * gdb.base/callfuncs.exp: emove references to osf.
2058 * gdb.base/sigall.exp: Likewise.
2059 * gdb.gdb/selftest.exp: Likewise.
2060 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2061 * gdb.mi/non-stop.c: Likewise.
2062 * gdb.mi/pthreads.c: Likewise.
2063 * gdb.reverse/sigall-precsave.exp: Likewise.
2064 * gdb.reverse/sigall-reverse.exp: Likewise.
2065 * gdb.threads/pthreads.c: Likewise.
2066 * gdb.threads/pthreads.exp: Likewise.
2067
7a3517ff
YQ
20682014-10-17 Yao Qi <yao@codesourcery.com>
2069
2070 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2071 check 'target_info exists noargs'.
2072 (test_command_prompt_position): Likewise.
2073 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2074 Remove "set args".
2075 (progvar_simple_while_test): Likewise.
2076 (progvar_complex_if_while_test): Likewise.
2077 (if_while_breakpoint_command_test): Likewise.
2078 (infrun_breakpoint_command_test): Likewise.
2079 (breakpoint_command_test): Likewise.
2080 (watchpoint_command_test): Likewise.
2081 (bp_deleted_in_command_test): Likewise.
2082 (temporary_breakpoint_commands): Likewise.
2083
bb99c472
YQ
20842014-10-16 Yao Qi <yao@codesourcery.com>
2085
2086 * gdb.base/remotetimeout.exp: Remove noargs checking.
2087
7c16b83e
PA
20882014-10-15 Pedro Alves <palves@redhat.com>
2089
2090 PR breakpoints/9649
2091 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2092 * gdb.base/breakpoint-in-ro-region.exp
2093 (probe_target_hardware_step): New procedure.
2094 (top level): Probe hardware stepping and hardware breakpoint
2095 support. Test stepping through a read-only region, with both
2096 "breakpoint auto-hw" on and off and both "always-inserted" on and
2097 off.
2098
35a49624
IB
20992014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2100
2101 * gdb.dlang/demangle.exp: Update for demangling changes.
2102
2d1c107c
SC
21032014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2104
2105 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2106 * gdb.cp/non-trivial-retval.exp: Add new tests.
2107
778811d5
SC
21082014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2109
2110 PR c++/13403
2111 PR c++/15154
2112 * gdb.cp/non-trivial-retval.cc: New file.
2113 * gdb.cp/non-trivial-retval.exp: New file.
2114
10c5f0a8
YQ
21152014-10-15 Yao Qi <yao@codesourcery.com>
2116
2117 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2118 remote host.
2119
65d7b369
YQ
21202014-10-15 Yao Qi <yao@codesourcery.com>
2121
2122 * gdb.python/py-symbol.exp: Match file base name if host is
2123 remote, otherwise match file name with dir name.
2124 * gdb.python/py-symtab.exp: Likewise.
2125 * gdb.python/python.exp: Likewise.
2126
46dc1394
YQ
21272014-10-15 Yao Qi <yao@codesourcery.com>
2128
2129 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2130 pattern.
2131 * gdb.python/py-symtab.exp: Likewise.
2132 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2133 locationn.
2134
c40cc657
JB
21352014-10-14 Joel Brobecker <brobecker@adacore.com>
2136
2137 * gdb.ada/addr_arith: New testcase.
2138
2abf49e1
MR
21392014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2140
2141 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2142 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2143 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2144 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2145
f7088df3
SDJ
21462014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2147
2148 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2149 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2150 * gdb.arch/stap-eval-lang-ada.exp: New file.
2151
4dc06805
YQ
21522014-10-14 Yao Qi <yao@codesourcery.com>
2153
2154 * gdb.mi/mi-var-child.c (nothing1): New function.
2155 (nothing2): New function.
2156 (do_children_tests): Set function pointers by nothing1 and
2157 nothing2.
2158 * gdb.mi/mi-var-child.exp: Step over new added statements.
2159 Update test to match the new output.
2160 * gdb.mi/var-cmd.c (nothing1): New function.
2161 (nothing2): New function.
2162 (do_children_tests): Set function pointers by nothing1 and
2163 nothing2.
2164 * gdb.mi/mi-var-display.exp: Update test to match output.
2165 Step to the line specified by $line_dct_nothing.
2166 Increase the number of lines to step.
2167
46a93de2
YQ
21682014-10-14 Yao Qi <yao@codesourcery.com>
2169
2170 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2171 tests.
2172 * gdb.mi/mi2-var-child.exp: Likewise.
2173
14ea52ee
DE
21742014-10-13 Doug Evans <dje@google.com>
2175
2176 * gdb.python/py-objfile.exp: Change name of file name test.
2177
e5c6e92b
DE
21782014-10-13 Doug Evans <dje@google.com>
2179
2180 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2181 from the start of the CU.
2182
c780cc2f
JK
21832014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2184 Yao Qi <yao@codesourcery.com>
2185
2186 Fix "save breakpoints" for "catch" command.
2187 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2188 Remove -nonewline. Match also the added "main" line.
2189
99894e11
JK
21902014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2191
2192 Fix "save breakpoints" for "disable $bpnum" command.
2193 * gdb.base/save-bp.c (main): Add label.
2194 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2195
6e1ac5a3
JK
21962014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2197
2198 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2199
754dd2b0
YQ
22002014-10-11 Yao Qi <yao@codesourcery.com>
2201
2202 * gdb.server/server-kill.exp: Execute command
2203 "set remote trace-status-packet on" before "tstatus".
2204
f90183d7
YQ
22052014-10-11 Yao Qi <yao@codesourcery.com>
2206
2207 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2208 (main): Call getppid.
2209 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2210 and continue to it. Read variable "server_pid".
2211
bf40a607
YQ
22122014-10-11 Yao Qi <yao@codesourcery.com>
2213
2214 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2215
052ca370
YQ
22162014-10-11 Yao Qi <yao@codesourcery.com>
2217
2218 * gdb.threads/thread-find.exp: Don't execute command
2219 "info threads".
2220 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2221 * gdb.threads/linux-dp.exp: Don't check the condition
2222 $threads_created equals to zero.
2223
3831839c
PA
22242014-10-10 Pedro Alves <palves@redhat.com>
2225
2226 * gdb.base/bigcore.exp: Remove references to IRIX.
2227 * gdb.base/funcargs.exp: Likewise.
2228 * gdb.base/interrupt.exp: Likewise.
2229 * gdb.base/mips_pro.exp: Likewise.
2230 * gdb.base/nodebug.exp: Likewise.
2231 * gdb.base/setvar.exp: Likewise.
2232 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2233
8b9a549d
PA
22342014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2235 Pedro Alves <palves@redhat.com>
2236
2237 PR symtab/14466
2238 * gdb.base/vdso-warning.c: New file.
2239 * gdb.base/vdso-warning.exp: New file.
2240
d48ba5e8
DE
22412014-10-02 Doug Evans <dje@google.com>
2242
2243 * gdb.base/structs.c (main): Don't run forever.
2244
2278c276
PA
22452014-10-02 Pedro Alves <palves@redhat.com>
2246
2247 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2248 (top level) <stop threads 1, stop threads 2>: Use it.
2249
b57bacec
PA
22502014-10-02 Pedro Alves <palves@redhat.com>
2251
2252 * gdb.threads/break-while-running.exp (test): Add new
2253 'update_thread_list' argument. Skip "info threads" if false.
2254 (top level): Add new 'update_thread_list' axis.
2255
13fd3ff3
PA
22562014-10-02 Pedro Alves <palves@redhat.com>
2257
2258 PR breakpoints/17431
2259 * gdb.base/execl-update-breakpoints.c: New file.
2260 * gdb.base/execl-update-breakpoints.exp: New file.
2261
0fec99e8
PA
22622014-10-01 Pedro Alves <palves@redhat.com>
2263
2264 * gdb.base/breakpoint-in-ro-region.c: New file.
2265 * gdb.base/breakpoint-in-ro-region.exp: New file.
2266
2ddf4301
SM
22672014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2268
2269 * gdb.mi/mi-exit-code.exp: New file.
2270 * gdb.mi/mi-exit-code.c: New file.
2271
6a5f3f43
YQ
22722014-09-30 Yao Qi <yao@codesourcery.com>
2273
2274 * lib/prelink-support.exp (build_executable_own_libs): Error if
2275 the target isn't native.
2276
345bcc73
YQ
22772014-09-30 Yao Qi <yao@codesourcery.com>
2278
2279 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2280 false.
2281
a25a5a45
PA
22822014-09-22 Pedro Alves <palves@redhat.com>
2283
2284 * gdb.threads/break-while-running.exp: New file.
2285 * gdb.threads/break-while-running.c: New file.
2286
00ba3162
YQ
22872014-09-19 Yao Qi <yao@codesourcery.com>
2288
2289 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2290 Invoke test. Restart GDB with --readnow and invoke test again.
2291
c3b7b696
YQ
22922014-09-19 Yao Qi <yao@codesourcery.com>
2293
2294 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2295 proc set_breakpoint_on_gcd_function. Invoke
2296 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2297 invoke set_breakpoint_on_gcd_function again.
2298
2b4fd423
DE
22992014-09-18 Doug Evans <dje@google.com>
2300
2301 * gdb.dwarf2/symtab-producer.exp: New file.
2302
a5947601
SDJ
23032014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2304
2305 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2306 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2307 * gdb.base/global-var-nested-by-dso.c: Likewise.
2308 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2309
91c19059
SDJ
23102014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2311 Pedro Alves <palves@redhat.com>
2312
2313 * gdb.base/watch-bitfields.exp: Pass string other than test file
2314 name to prepare_for_testing.
2315 (watch): New procedure.
2316 (expect_watchpoint): Use with_test_prefix.
2317 (top level): Factor out tests to ...
2318 (test_watch_location, test_regular_watch): ... these new
2319 procedures, and use with_test_prefix and gdb_continue_to_end.
2320
bb9d5f81
PP
23212014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2322
2323 PR breakpoints/12526
2324 * gdb.base/watch-bitfields.exp: New file.
2325 * gdb.base/watch-bitfields.c: New file.
2326
635856f5
PA
23272014-09-16 Pedro Alves <palves@redhat.com>
2328
2329 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2330 software and hardware addresses, not software address against
2331 itself.
2332
7280ceea
PA
23332014-09-16 Pedro Alves <palves@redhat.com>
2334
2335 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2336 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2337
428b16bd
PA
23382014-09-16 Pedro Alves <palves@redhat.com>
2339
2340 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2341 files.
2342 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2343 "*-*-vxworks*" throughout.
2344 * gdb.base/break.exp: Likewise.
2345 * gdb.base/default.exp: Likewise.
2346 * gdb.base/scope.exp: Likewise.
2347 * gdb.base/sepdebug.exp: Likewise.
2348 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2349 throughout.
2350 * gdb.base/run.c: Likewise.
2351 * gdb.base/sepdebug.c: Likewise.
2352 * gdb.hp/gdb.aCC/run.c: Likewise.
2353 * gdb.reverse/until-reverse.c: Likewise.
2354 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2355
666d413c
YQ
23562014-09-16 Yao Qi <yao@codesourcery.com>
2357
2358 * boards/local-remote-host-native.exp: New file.
2359
57cbd724
DE
23602014-09-14 Doug Evans <xdje42@gmail.com>
2361
2362 * gdb.threads/queue-signal.c (thread_count): New variable.
2363 (thread_count_mutex, thread_count_condvar): New variables.
2364 (incr_thread_count, wait_all_threads_running): New functions.
2365 (main): Wait for all threads to be in their thread functions.
2366
81219e53
DE
23672014-09-13 Doug Evans <xdje42@gmail.com>
2368
2369 * gdb.threads/queue-signal.c: New file.
2370 * gdb.threads/queue-signal.exp: New file.
2371
3714cea7
DE
23722014-09-13 Doug Evans <xdje42@gmail.com>
2373
2374 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2375 be consistent with what default_gdb_init uses.
2376 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2377 the plain text of the prompt. Add some logging printfs.
2378 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2379
fa43b1d7
PA
23802014-09-12 Pedro Alves <palves@redhat.com>
2381
2382 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2383 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2384 * gdb.arch/i386-size-overlap.exp: Likewise.
2385 * gdb.arch/i386-size.exp: Likewise.
2386 * gdb.arch/i386-unwind.exp: Likewise.
2387 * gdb.base/a2-run.exp: Likewise.
2388 * gdb.base/break.exp: Likewise.
2389 * gdb.base/charset.exp: Likewise.
2390 * gdb.base/chng-syms.exp: Likewise.
2391 * gdb.base/commands.exp: Likewise.
2392 * gdb.base/dbx.exp: Likewise.
2393 * gdb.base/find.exp: Likewise.
2394 * gdb.base/funcargs.exp: Likewise.
2395 * gdb.base/jit-simple.exp: Likewise.
2396 * gdb.base/reread.exp: Likewise.
2397 * gdb.base/sepdebug.exp: Likewise.
2398 * gdb.base/step-bt.exp: Likewise.
2399 * gdb.cp/mb-inline.exp: Likewise.
2400 * gdb.cp/mb-templates.exp: Likewise.
2401 * gdb.objc/basicclass.exp: Likewise.
2402 * gdb.threads/killed.exp: Likewise.
2403
9d9bf2df
EBM
24042014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2405
2406 PR tdep/17379
2407 * gdb.arch/powerpc-stackless.S: New file.
2408 * gdb.arch/powerpc-stackless.exp: New file.
2409
1cf2f1b0
JK
24102014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2411
2412 * gdb.base/attach.c: Include unistd.h.
2413 (main): Call alarm. Add label postloop.
2414 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2415 gdb_breakpoint, gdb_continue_to_breakpoint.
2416 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2417
98880d46
PA
24182014-09-11 Pedro Alves <palves@redhat.com>
2419
2420 PR gdb/17347
2421 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2422 * gdb.base/attach.exp (test_command_line_attach_run): New
2423 procedure.
2424 (top level): Call it.
2425
4c92ff2c
PA
24262014-09-11 Pedro Alves <palves@redhat.com>
2427
2428 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2429 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2430 (do_command_attach_tests): Use spawn_wait_for_attach.
2431 * gdb.base/solib-overlap.exp: Likewise.
2432 * gdb.multi/multi-attach.exp: Likewise.
2433 * gdb.python/py-prompt.exp: Likewise.
2434 * gdb.python/py-sync-interp.exp: Likewise.
2435 * gdb.server/ext-attach.exp: Likewise.
2436
3adc1a7d
GKB
24372014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2438
2439 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2440 command in testcase. Simplify testcase.
2441
96334934
JB
24422014-09-10 Joel Brobecker <brobecker@adacore.com>
2443
2444 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2445
eb479039
JB
24462014-09-10 Joel Brobecker <brobecker@adacore.com>
2447
2448 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2449
deede10c
JB
24502014-09-10 Joel Brobecker <brobecker@adacore.com>
2451
2452 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2453
7828a5f5
JB
24542014-09-10 Joel Brobecker <brobecker@adacore.com>
2455
2456 * gdb.dwarf2/dynarr-ptr.c: New file.
2457 * gdb.dwarf2/dynarr-ptr.exp: New file.
2458
33aeebcf
MR
24592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2460
2461 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2462 of 30 rather than hardcoding 120 for a slow test case. Take the
2463 `gdb,timeout' target setting into account for this calculation.
2464 Don't extend the timeout for the test cases that don't need it.
2465
7b415901
MR
24662014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2467
2468 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2469 a factor of 2 for a slow test case. Take the `gdb,timeout'
2470 target setting into account for this calculation.
2471 * gdb.reverse/until-precsave.exp: Increase the timeout by
2472 a factor of 15 and 3 respectively rather than adding 120
2473 for a pair of slow test cases. Take the `gdb,timeout'
2474 target setting into account for this calculation.
2475
4a40f85a
MR
24762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2477
2478 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2479 timeout, don't pass one down to gdb_expect.
2480 (gdb_expect): Rework timeout selection.
2481
09635af7
MR
24822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2483
2484 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2485 exception on timeout.
2486 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2487 (gdbserver_start_extended): Catch any `gdbserver_start' error
2488 exceptions.
2489 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2490 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2491 `gdbserver_gdb_load' error exceptions.
2492
2bdd10b7
MR
24932014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2494
2495 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2496 120 on waiting for the TCP socket to open.
2497
316935f0
DE
24982014-09-09 Doug Evans <xdje42@gmail.com>
2499
2500 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2501 _caller_matches, _any_caller_is, _any_caller_matches.
2502
83740597
DE
25032014-09-09 Doug Evans <xdje42@gmail.com>
2504
2505 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2506
4c122fc3
YQ
25072014-09-09 Yao Qi <yao@codesourcery.com>
2508
2509 * gdb.mi/mi-var-display.exp: Set print symbol off.
2510
a9f116cb
GKB
25112014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2512
2513 PR gdb/17035
2514 * gdb.base/commands.exp: Add tests to verify user-defined
2515 commands with empty bodies.
2516 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2517 python commands in `show user command`.
2518 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2519 scheme commands in `show user command`.
2520
c75bd3a2
JK
25212014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2522
2523 PR python/17355
2524 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2525 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2526 * gdb.python/py-framefilter-invalidarg.exp: New file.
2527 * gdb.python/py-framefilter-invalidarg.py: New file.
2528
faa42425
DE
25292014-09-06 Doug Evans <xdje42@gmail.com>
2530
2531 PR 15276
2532 * gdb.python/py-caller-is.c: New file.
2533 * gdb.python/py-caller-is.exp: New file.
2534
474ca4f6
SDJ
25352014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2536
2537 PR gdb/17235
2538 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2539 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2540
eb0b0463
SDJ
25412014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2542
2543 PR fortran/17237
2544 * gdb.fortran/print-formatted.exp: New file.
2545 * gdb.fortran/print-formatted.f90: Likewise.
2546
5f3b99cf
SS
25472014-09-03 Sasha Smundak <asmundak@google.com>
2548
2549 * gdb.python/py-frame.exp: Test Frame.read_register.
2550
7d793aa9
SDJ
25512014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2552
2553 PR python/16699
2554 * gdb.python/py-completion.exp: New file.
2555 * gdb.python/py-completion.py: Likewise.
2556
fb0576e9
DE
25572014-08-28 Doug Evans <dje@google.com>
2558
2559 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2560 eax,etc. are live with values set by gdb and thus the compiler can't
2561 use them.
2562 * gdb.arch/i386-pseudo.c (main): Ditto.
2563
ee92b0dd
DE
25642014-08-27 Doug Evans <dje@google.com>
2565
2566 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2567
6649db35
DE
25682014-08-25 Doug Evans <dje@google.com>
2569
2570 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2571 (main): Ditto.
2572
564b7600
DE
25732014-08-25 Doug Evans <dje@google.com>
2574
2575 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2576
3881fb67
YQ
25772014-08-24 Yao Qi <yao@codesourcery.com>
2578
2579 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2580 symbol off.
2581 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2582
a05a36a5
DE
25832014-08-22 Doug Evans <dje@google.com>
2584
2585 PR 17276
2586 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2587 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2588 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2589
7c343b48
YQ
25902014-08-22 Yao Qi <yao@codesourcery.com>
2591
2592 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2593 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2594 * gdb.python/python.exp: Likewise. Use .py file on the host
2595 instead of the build.
2596
22fd09ae
JK
25972014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2598
2599 * gdb.threads/gcore-stale-thread.c: New file.
2600 * gdb.threads/gcore-stale-thread.exp: New file.
2601
a8454a7c
PA
26022014-08-21 Pedro Alves <palves@redhat.com>
2603
2604 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2605 * gdb.base/gcore-relro-pie.exp: Likewise.
2606 * gdb.base/gcore-relro.exp: Likewise.
2607 * gdb.base/gcore.exp: Likewise.
2608 * gdb.base/print-symbol-loading.exp: Likewise.
2609 * gdb.threads/gcore-thread.exp: Likewise.
2610 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2611
2a31c623
PA
26122014-08-20 Pedro Alves <palves@redhat.com>
2613 Jan Kratochvil <jan.kratochvil@redhat.com>
2614
2615 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2616 configure.
2617 (EXPECT): Handle READ1 being set.
2618 (all): Depend on EXTRA_RULES.
2619 (check-read1, expect-read1, read1.so, read1): New rules.
2620 * README (Testsuite Parameters): Document the READ1 make variable.
2621 (Race detection): New section.
2622 * configure: Regenerate.
2623 * configure.ac: If build==host==target, and running under a
2624 GNU/glibc system, add read1 to the extra Makefile rules.
2625 (EXTRA_RULES): AC_SUBST it.
2626 * lib/read1.c: New file.
2627
d36430db
JB
26282014-08-20 Joel Brobecker <brobecker@adacore.com>
2629
2630 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2631 the handling of variables declared as a typedef to an array
2632 which a DW_AT_data_location attribute.
2633
9a0dc9e3
PA
26342014-08-19 Andrew Burgess <aburgess@broadcom.com>
2635 Pedro Alves <palves@redhat.com>
2636
2637 PR symtab/14604
2638 PR symtab/14605
2639 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2640 gdb_test.
2641
0718a8da
PA
26422014-08-19 Pedro Alves <palves@redhat.com>
2643
2644 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2645
13b448cd
YQ
26462014-08-19 Yao Qi <yao@codesourcery.com>
2647
2648 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2649 right line.
2650
1cbf5077
DB
26512014-08-18 David Blaikie <dblaikie@gmail.com>
2652
2653 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2654
bf0fae19
JB
26552014-08-18 Joel Brobecker <brobecker@adacore.com>
2656
2657 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2658 attribute in array range.
2659
3c8c5dcc
JB
26602014-08-18 Joel Brobecker <brobecker@adacore.com>
2661
2662 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2663
e66d4446
SC
26642014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2665
2666 PR c++/17132
2667 * gdb.cp/pr17132.cc: New file.
2668 * gdb.cp/pr17132.exp: New file.
2669
940df408
SC
26702014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2671
2672 * gdb.python/py-xmethods.py (A_getarrayind)
2673 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2674 Use 'print' with function call syntax.
2675 (E_method_matcher.match): Fix tab vs space indentation mixup.
2676
ebcc6c3a
YQ
26772014-08-15 Yao Qi <yao@codesourcery.com>
2678
2679 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2680 false.
2681
775e0f04
YQ
26822014-08-15 Yao Qi <yao@codesourcery.com>
2683
2684 * gdb.cp/casts.exp: Set print symbol off.
2685 * gdb.cp/class2.exp: Likewise.
2686 * gdb.cp/overload.exp: Likewise.
2687 * gdb.cp/templates.exp: Likewise.
2688
d769e349
DE
26892014-08-11 Doug Evans <dje@google.com>
2690
2691 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2692 (test_load_shlib): Update.
2693
20c6f1e1
YQ
26942014-08-09 Yao Qi <yao@codesourcery.com>
2695
2696 * gdb.base/display.exp: Invoke is_address_zero_readable.
2697 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2698 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2699 * gdb.base/hbreak-unmapped.exp: Return if
2700 is_address_zero_readable returns true.
2701 * gdb.base/signest.exp: Likewise.
2702 * gdb.base/signull.exp: Likewise.
2703 * gdb.base/sigbpt.exp: Likewise.
2704 * gdb.guile/scm-disasm.exp: Do the test if
2705 is_address_zero_readable returns false.
2706 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2707 * gdb.python/py-arch.exp: Likewise.
2708 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2709 * lib/gdb.exp (is_address_zero_readable): New proc.
2710
5792e8e3
YQ
27112014-08-09 Yao Qi <yao@codesourcery.com>
2712
2713 PR testsuite/13443
2714 * gdb.mi/mi-var-display.exp: Make test messages unique.
2715
3cecbbbe
TT
27162014-08-04 Tom Tromey <tromey@redhat.com>
2717
2718 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2719 target 0".
2720
00b51ff5
TT
27212014-08-04 Tom Tromey <tromey@redhat.com>
2722
2723 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2724 "target_resume".
2725
6908c509
JB
27262014-08-01 Joel Brobecker <brobecker@adacore.com>
2727
2728 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2729 inner_vla_struct_object_size.
2730 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2731 as xfail.
2732
cc6563d2
PA
27332014-07-30 Pedro Alves <palves@redhat.com>
2734
2735 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2736 comment.
2737
7e09a223
YQ
27382014-07-29 Yao Qi <yao@codesourcery.com>
2739
2740 PR gdb/17206
2741 * gdb.base/until-nodebug.exp: New.
2742
7ebdbe92
DE
27432014-07-28 Doug Evans <xdje42@gmail.com>
2744
2745 PR guile/17203
2746 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2747 previously existing parameter, and previously ambiguously spelled
2748 parameter.
2749
fdb1adc6
WN
27502014-07-28 Will Newton <will.newton@linaro.org>
2751
2752 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2753
186fcde0
DE
27542014-07-26 Ludovic Courtès <ludo@gnu.org>
2755 Doug Evans <xdje42@gmail.com>
2756
2757 PR guile/17146
2758 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2759
70509625
PA
27602014-07-25 Pedro Alves <palves@redhat.com>
2761
2762 * gdb.threads/signal-command-handle-nopass.c: New file.
2763 * gdb.threads/signal-command-handle-nopass.exp: New file.
2764 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2765 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2766 * gdb.threads/signal-delivered-right-thread.c: New file.
2767 * gdb.threads/signal-delivered-right-thread.exp: New file.
2768
c3f814a1
PA
27692014-07-25 Pedro Alves <palves@redhat.com>
2770
2771 * gdb.base/double-prompt-target-event-error.exp
2772 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2773 match.
2774 (cancel_pagination_in_target_event): Rework double prompt
2775 detection.
2776 * gdb.base/paginate-after-ctrl-c-running.exp
2777 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2778 <return>' match.
2779 * gdb.base/paginate-bg-execution.exp
2780 (test_bg_execution_pagination_return)
2781 (test_bg_execution_pagination_cancel): Remove '-notransfer
2782 <return>' matches.
2783 * gdb.base/paginate-execution-startup.exp
2784 (test_fg_execution_pagination_return)
2785 (test_fg_execution_pagination_cancel): Remove '-notransfer
2786 <return>' matches.
2787 * gdb.base/paginate-inferior-exit.exp
2788 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2789 match.
2790 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2791 * lib/gdb.exp (pagination_prompt): Run text through
2792 string_to_regexp.
2793 (gdb_test_multiple): Match $pagination_prompt instead of
2794 "<return>".
2795 (string_to_regexp): Move to lib/gdb-utils.exp.
2796
e214cf6c
JK
27972014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2798
2799 * gdb.arch/amd64-entry-value-paramref.S: New file.
2800 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2801 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2802 * gdb.arch/amd64-optimout-repeat.S: New file.
2803 * gdb.arch/amd64-optimout-repeat.c: New file.
2804 * gdb.arch/amd64-optimout-repeat.exp: New file.
2805
17d0c5c8
JK
28062014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2807
2808 PR gdb/17170
2809 * gdb.base/statistics.exp: New file.
2810
b8b8facf
DE
28112014-07-17 Doug Evans <dje@google.com>
2812
74b49205 2813 PR gdb/17170
b8b8facf
DE
2814 * gdb.base/maint.exp: Update testing of per-command stats.
2815
1b5d0ab3
PA
28162014-07-16 Pedro Alves <palves@redhat.com>
2817
2818 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2819 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2820 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2821 (tfile_write_buf): New functions.
2822 (add_memory_block): Rewrite using the above.
2823 (adjust_function_address): New function.
2824 (FUNCTION_ADDRESS): New macro.
2825 (write_basic_trace_file): Remove short_x local, and use
2826 tfile_write_16. Change type of func_addr local to unsigned long
2827 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2828 here. Cast argument of add_memory_block to char pointer.
2829 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2830 (main): Remove parameters.
2831 * gdb.trace/tfile.exp: Remove nowarnings.
2832
4d974e88
SM
28332014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2834
2835 * gdb.base/debug-expr.exp: Test string evaluation with
2836 "debug expression" on.
2837
41e99568
PA
28382014-07-15 Pedro Alves <palves@redhat.com>
2839
2840 * gdb.base/reread.exp: Use clean_restart.
2841
487d9753
PL
28422014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2843
2844 * gdb.arch/avr-flash-qualifer.c: New.
2845 * gdb.arch/avr-flash-qualifer.exp: New.
2846
cc1c52ad
PA
28472014-07-14 Pedro Alves <palves@redhat.com>
2848
2849 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2850 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2851
1e973570
PA
28522014-07-14 Pedro Alves <palves@redhat.com>
2853
2854 * gdb.base/double-prompt-target-event-error.c: New file.
2855 * gdb.base/double-prompt-target-event-error.exp: New file.
2856
93d6eb10
PA
28572014-07-14 Pedro Alves <palves@redhat.com>
2858
2859 PR gdb/17072
2860 * gdb.base/paginate-inferior-exit.c: New file.
2861 * gdb.base/paginate-inferior-exit.exp: New file.
2862
0017922d
PA
28632014-07-14 Pedro Alves <palves@redhat.com>
2864
2865 PR gdb/17072
2866 * gdb.base/paginate-bg-execution.c: New file.
2867 * gdb.base/paginate-bg-execution.exp: New file.
2868
94696ad3
PA
28692014-07-14 Pedro Alves <palves@redhat.com>
2870
2871 PR gdb/17072
2872 * gdb.base/paginate-execution-startup.c: New file.
2873 * gdb.base/paginate-execution-startup.exp: New file.
2874 * lib/gdb.exp (pagination_prompt): New global.
2875 (default_gdb_spawn): New procedure, factored out from
2876 default_gdb_spawn.
2877 (default_gdb_start): Adjust to call default_gdb_spawn.
2878 (gdb_spawn): New procedure.
2879
bd293940
PA
28802014-07-14 Pedro Alves <palves@redhat.com>
2881
2882 * lib/gdb.exp (gdb_assert): New procedure.
2883 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2884
c933f875
PA
28852014-07-14 Pedro Alves <palves@redhat.com>
2886
2887 * gdb.base/execution-termios.c: New file.
2888 * gdb.base/execution-termios.exp: New file.
2889
d98b7a16
TT
28902014-07-14 Tom Tromey <tromey@redhat.com>
2891
2892 * gdb.cp/vla-cxx.cc: New file.
2893 * gdb.cp/vla-cxx.exp: New file.
2894
548740d6
TT
28952014-07-14 Tom Tromey <tromey@redhat.com>
2896
2897 * gdb.reverse/rerun-prec.c: New file.
2898 * gdb.reverse/rerun-prec.exp: New file.
2899
a25eb028
MR
29002014-07-12 Maciej W. Rozycki <macro@mips.com>
2901 Maciej W. Rozycki <macro@codesourcery.com>
2902
2903 * lib/gdb-utils.exp: New file.
2904 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2905 inline `gdb_init_command' processing.
2906 (gdb_start_cmd): Likewise.
2907 * lib/mi-support.exp (mi_run_cmd): Likewise.
2908 * README: Document `gdb_init_command' and `gdb_init_commands'.
2909
218c2655
JK
29102014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2911
2912 Fix false FAIL running under a very long directory name.
2913 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2914 and "set print elements 10000". Twice.
2915
5401fde3
YQ
29162014-07-11 Yao Qi <yao@codesourcery.com>
2917
2918 * gdb.base/exprs.exp: "set print symbol off".
2919
e76126e8
PA
29202014-07-11 Pedro Alves <palves@redhat.com>
2921
2922 * gdb.threads/kill.c: New file.
2923 * gdb.threads/kill.exp: New file.
2924
2d6f0de6
YQ
29252014-07-10 Yao Qi <yao@codesourcery.com>
2926
2927 * gdb.trace/tfile.c (write_basic_trace_file)
2928 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2929 address written to trace file.
2930
7180e04a
PA
29312014-07-09 Pedro Alves <palves@redhat.com>
2932
2933 * gdb.base/attach-wait-input.exp: New file.
2934 * gdb.base/attach-wait-input.c: New file.
2935
9a9a7608
AB
29362014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2937
2938 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2939 setting up test structures.
2940 (main): Call new test function.
2941 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2942 test function, continue into test function and walk test
2943 structures.
2944
161ac41e
YQ
29452014-07-02 Yao Qi <yao@codesourcery.com>
2946
2947 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2948 'bar_start' at the beginning of functions 'foo' and 'bar'
2949 respectively.
2950 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2951 instead of 'foo' and 'bar'.
2952
1f267ae3
MM
29532014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2954
2955 * gdb.btrace/segv.exp: New.
2956 * gdb.btrace/segv.c: New.
2957
2b239efb
LM
29582014-07-02 Luis Machado <lgustavo@codesourcery.com>
2959
2960 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2961 instruction.
2962
cf363f18
MW
29632014-06-30 Mark Wielaard <mjw@redhat.com>
2964
2965 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2966 vulture, vilify, villar): New volatile array constants.
2967 (vindictive, vegetation): New const volatile array constants.
2968 * gdb.base/volatile.exp: Test volatile and const volatile array
2969 types.
2970
aebf9d24
AA
29712014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2972
2973 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2974 target lacks support for awatch, rwatch, or hbreak.
2975
b67a2c6f
YQ
29762014-06-27 Yao Qi <yao@codesourcery.com>
2977
2978 * gdb.multi/dummy-frame-restore.exp: New.
2979 * gdb.multi/dummy-frame-restore.c: New.
2980
aef92902
MM
29812014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2982
2983 * gdb.btrace/gcore.exp: New.
2984
8e9db26e
PA
29852014-06-23 Pedro Alves <palves@redhat.com>
2986
2987 * gdb.base/watchpoint-reuse-slot.c: New file.
2988 * gdb.base/watchpoint-reuse-slot.exp: New file.
2989
70afc5b7
SC
29902014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2991
2992 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2993 progspace's filename in 'info', 'enable' and 'disable' command
2994 tests.
2995
b972bd9c
JK
29962014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2997
2998 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2999 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3000 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3001
125f8a3d
GB
30022014-06-20 Gary Benson <gbenson@redhat.com>
3003
3004 * gdb.arch/i386-avx.exp: Fix include file location.
3005 * gdb.arch/i386-sse.exp: Likewise.
3006
3ed9baed
IB
30072014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3008
3009 * gdb.dlang/expression.exp: New file.
3010
034f788c
PA
30112014-06-19 Pedro Alves <palves@redhat.com>
3012
3013 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3014 out from ...
3015 (top level): ... here. Iterate running tests under different
3016 scheduler-locking settings.
3017
45371d0c
LM
30182014-06-18 Luis Machado <lgustavo@codesourcery.com>
3019
3020 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3021 to DW_FORM_addr and use non-zero addresses.
3022
5d376983
SC
30232014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3024
3025 PR gdb/17017
3026 * gdb.python/py-xmethods.cc: Add global function call counters and
3027 increment them in their respective functions. Remove "cout"
3028 statements.
3029 * gdb.python/py-xmethods.exp: Make tests check the global function
3030 call counters instead of depending on inferior IO.
3031
a1aa2221
LM
30322014-06-18 Don Breazeal <donb@codesourcery.com>
3033
3034 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3035 Deleted procedure.
3036 (explicit_fork_parent_follow): Deleted procedure.
3037 (explicit_fork_child_follow): Deleted procedure.
3038 (test_follow_fork): New procedure.
3039 (do_fork_tests): Replace calls to deleted procedures with
3040 calls to test_follow_fork and reset GDB for subsequent
3041 procedure calls.
3042
0fc05997
YQ
30432014-06-17 Yao Qi <yao@codesourcery.com>
3044
3045 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3046 CP1252.
3047
70795c52
LM
30482014-06-17 Luis Machado <lgustavo@codesourcery.com>
3049
3050 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3051 Initialize ptr and S explicitly.
3052 (skip_type_update_when_not_use_rtti_test): Likewise.
3053
6be47f0c
KS
30542014-06-16 Keith Seitz <keiths@redhat.com>
3055
3056 PR mi/15863
3057 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3058 the inferior is started.
3059
d03de421
PA
30602014-06-16 Pedro Alves <palves@redhat.com>
3061
3062 * gdb.base/break-main-file-remove-fail.c: New file.
3063 * gdb.base/break-main-file-remove-fail.exp: New file.
3064 * gdb.base/break-unload-file.exp: Use build_executable instead of
3065 prepare_for_testing.
3066 (test_break): New parameter "initial_load". Handle it.
3067 (top level): Add initial_load cmdline/file axis.
3068
f9579b99
TT
30692014-06-12 Tom Tromey <tromey@redhat.com>
3070
3071 * gdb.base/completion.exp: Don't use directory name in test.
3072
3657956b
GB
30732014-06-09 Gary Benson <gbenson@redhat.com>
3074
3075 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3076 separate the always-available ANSI-standard signals from the
3077 signals that require checking.
3078 (main): Likewise.
3079 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3080 Likewise.
3081 (main): Likewise.
3082
4186eb54
KS
30832014-06-07 Keith Seitz <keiths@redhat.com>
3084
3085 Revert:
3086 PR c++/16253
3087 * gdb.cp/var-tag.cc: New file.
3088 * gdb.cp/var-tag.exp: New file.
3089 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3090 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3091 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3092 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3093
25326a28 30942014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3095
3096 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3097
829155c9
PA
30982014-06-06 Pedro Alves <palves@redhat.com>
3099
3100 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3101 in target debug output instead of looking at RSP packets,
3102 disabling the test on any target that uses hardware stepping.
3103 Update comments.
3104
61c8d22e
PA
31052014-06-06 Pedro Alves <palves@redhat.com>
3106
3107 * gdb.base/break-unload-file.exp: Fix typo.
3108
d9a47287
YQ
31092014-06-06 Yao Qi <yao@codesourcery.com>
3110
3111 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3112 from "jit_function" to "^jit_function".
3113
e5e01dbf
YQ
31142014-06-06 Yao Qi <yao@codesourcery.com>
3115
3116 * gdb.base/async.c (foo): Add one statement.
3117 * gdb.base/async.exp: Get the next instruction address and
3118 match the output of "nexti" by instruction address. Match
3119 the hex address in the output of "finish".
3120
73ba372c
GB
31212014-06-06 Gary Benson <gbenson@redhat.com>
3122
3123 * gdb.base/call-signals.c: Remove preprocessor conditionals
3124 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3125 SIGSEGV and SIGTERM.
3126 * gdb.base/sigall.c: Likewise.
3127 * gdb.base/unwindonsignal.c: Likewise.
3128 * gdb.reverse/sigall-reverse.c: Likewise.
3129
831517df
YQ
31302014-06-06 Yao Qi <yao@codesourcery.com>
3131
3132 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3133 readable, skip the test.
3134
b8b91e98
YQ
31352014-06-06 Yao Qi <yao@codesourcery.com>
3136
3137 * gdb.threads/staticthreads.c (thread_function): Move the line
3138 setting breakpoint on forward.
3139 * gdb.threads/staticthreads.exp: Update comments.
3140
fb934770
LC
31412014-06-05 Ludovic Courtès <ludo@gnu.org>
3142
3143 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3144 "history-append! type error".
3145
6ef284bd
SM
31462014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3147
3148 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3149 erroneous dprintf expected input.
3150
a872e241
DE
31512014-06-04 Doug Evans <xdje42@gmail.com>
3152
3153 * gdb.guile/scm-generics.exp: Delete.
3154
16f691fb
DE
31552014-06-04 Doug Evans <xdje42@gmail.com>
3156
3157 * gdb.guile/scm-breakpoint.exp: Update.
3158 Add tests for breakpoint registration.
3159
012370f6
TT
31602014-06-04 Tom Tromey <tromey@redhat.com>
3161
3162 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3163 VLA-in-union.
3164 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3165 inner_vla_struct, vla_union types. Initialize objects of those
3166 types and compute their sizes.
3167
9f5a4cef
HZ
31682014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3169 Hui Zhu <hui@codesourcery.com>
3170
3171 * gdb.base/fileio.exp: Add test for shell not available as well as
3172 available.
3173 * gdb.base/fileio.c (test_system): Check for shell twice.
3174
90a45c4d
YQ
31752014-06-04 Yao Qi <yao@codesourcery.com>
3176
3177 * gdb.base/auto-connect-native-target.exp: Remove redundant
3178 space from the regexp pattern.
3179
70017e41
YQ
31802014-06-04 Yao Qi <yao@codesourcery.com>
3181
3182 * gdb.base/default.exp: Replace "child" with "native" in
3183 regexp pattern.
3184
883964a7
SC
31852014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3186
3187 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3188 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3189 * gdb.python/py-xmethods.py: Python script supporting the
3190 new testcase and tests.
3191
ef370185
JB
31922014-06-03 Joel Brobecker <brobecker@adacore.com>
3193 Pedro Alves <palves@redhat.com>
3194
3195 PR breakpoints/17000
3196 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3197 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3198
1e2ccb61
BM
31992014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3200
3201 * gdb.base/subst.exp: Add tests to verify partial path matching
3202 output.
3203
c6ec5ab2
PA
32042014-06-03 Pedro Alves <palves@redhat.com>
3205
3206 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3207 target that doesn't use software single-stepping.
3208
835c559f
PA
32092014-06-03 Pedro Alves <palves@redhat.com>
3210
3211 PR breakpoints/17000
3212 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3213 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3214
06eb1586
DE
32152014-06-02 Doug Evans <xdje42@gmail.com>
3216
3217 * gdb.guile/scm-parameter.exp: New file.
3218
e698b8c4
DE
32192014-06-02 Doug Evans <xdje42@gmail.com>
3220
3221 * gdb.guile/scm-cmd.c: New file.
3222 * gdb.guile/scm-cmd.exp: New file.
3223
ded03782
DE
32242014-06-02 Doug Evans <xdje42@gmail.com>
3225
3226 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3227 pretty-printer lookup.
3228 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3229 (make-pp_s-printer): Call it.
3230 (make-pretty-printer-from-dict): New function.
3231 (lookup-pretty-printer-maker-from-dict): New function.
3232 (*pretty-printer*): Simplify.
3233 (make-objfile-pp_s-printer): New function.
3234 (install-objfile-pretty-printers!): New function.
3235 (make-progspace-pp_s-printer): New function.
3236 (install-progspace-pretty-printers!): New function.
3237 * gdb.guile/scm-progspace.c: New file.
3238 * gdb.guile/scm-progspace.exp: New file.
3239
41fac0cf
PA
32402014-06-02 Pedro Alves <palves@redhat.com>
3241
3242 * gdb.base/dprintf-bp-same-addr.c: New file.
3243 * gdb.base/dprintf-bp-same-addr.exp: New file.
3244
96ae5695
EBM
32452014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3246
3247 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3248 * gdb.arch/powerpc-power.s: Likewise.
3249
da02b3a8
JB
32502014-06-02 Joel Brobecker <brobecker@adacore.com>
3251
3252 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3253
c72b2e7b
YQ
32542014-06-01 Yao Qi <yao@codesourcery.com>
3255
3256 * gdb.base/watchpoint.exp (test_watch_location): Check null
3257 pointer can be dereferenced. If not, do the test, otherwise
3258 skip it.
3259
53e8a631
AB
32602014-05-30 Andrew Burgess <aburgess@broadcom.com>
3261
3262 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3263 results.
3264 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3265
938f0e2f
AB
32662014-05-30 Andrew Burgess <aburgess@broadcom.com>
3267
3268 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3269 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3270 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3271 * gdb.arch/amd64-invalid-stack-top.c: New file.
3272 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3273
9ba6657a
PA
32742014-05-30 Pedro Alves <palves@redhat.com>
3275
3276 PR breakpoints/17000
3277 * gdb.base/sss-bp-on-user-bp.c: New file.
3278 * gdb.base/sss-bp-on-user-bp.exp: New file.
3279
522c09bf
DB
32802014-05-30 David Blaikie <dblaikie@gmail.com>
3281
3282 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3283 gnu_inline semantics via attribute.
3284 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3285 source explicitly specifies the required semantics.
3286
bf4ef81e
MR
32872014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3288
3289 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3290
329ea579
PA
32912014-05-29 Pedro Alves <palves@redhat.com>
3292 Tom Tromey <tromey@redhat.com>
3293
3294 * gdb.base/async-shell.exp: Don't enable target-async.
3295 * gdb.base/async.exp
3296 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3297 parameter. Adjust.
3298 (top level): Don't test with "target-async".
3299 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3300 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3301 * gdb.base/inferior-died.exp: Don't enable target-async.
3302 * gdb.base/interrupt-noterm.exp: Likewise.
3303 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3304 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3305 * gdb.mi/mi-nonstop.exp: Likewise.
3306 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3307 * gdb.mi/mi-nsintrall.exp: Likewise.
3308 * gdb.mi/mi-nsmoribund.exp: Likewise.
3309 * gdb.mi/mi-nsthrexec.exp: Likewise.
3310 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3311 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3312 * gdb.python/py-evsignal.exp: Don't enable target-async.
3313 * gdb.python/py-evthreads.exp: Likewise.
3314 * gdb.python/py-prompt.exp: Likewise.
3315 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3316 * gdb.server/solib-list.exp: Don't enable target-async.
3317 * gdb.threads/thread-specific-bp.exp: Likewise.
3318 * lib/mi-support.exp: Adjust to use mi-async.
3319
fd664c91
PA
33202014-05-29 Pedro Alves <palves@redhat.com>
3321
3322 PR gdb/13860
3323 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3324 reason, even in sync mode.
3325
251bde03
PA
33262014-05-29 Pedro Alves <palves@redhat.com>
3327 Hui Zhu <hui@codesourcery.com>
3328
3329 PR PR15693
3330 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3331 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3332 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3333 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3334
7f3c0343
JB
33352014-05-28 Joel Brobecker <brobecker@adacore.com>
3336
3337 * config/monitor.exp (gdb_target_monitor): Replace use of
3338 "set remotebaud" by "set serial baud".
3339
b2715b27
AW
33402014-05-26 Andy Wingo <wingo@igalia.com>
3341
3342 * gdb.guile/scm-breakpoint.exp:
3343 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3344 properties instead of gdb-object-properties.
3345
498a4489
YQ
33462014-05-26 Yao Qi <yao@codesourcery.com>
3347
3348 * gdb.server/no-thread-db.exp: Specify source file name
3349 explicitly when setting a breakpoint.
3350
589fdceb
MM
33512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3352
3353 * gdb.btrace/vdso.c: New.
3354 * gdb.btrace/vdso.exp: New.
3355
e9089e05
MM
33562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3357
3358 * gdb.base/gcore.exp (capture_command_output): Move ...
3359 * lib/gdb.exp (capture_command_output): ... here.
3360
67b5c0c1
MM
33612014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3362
3363 * gdb.btrace/data.exp: Test memory access during btrace replay.
3364
a2199296
SM
33652014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3366
3367 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3368
17b2616c
PA
33692014-05-21 Pedro Alves <palves@redhat.com>
3370
3371 PR gdb/13860
3372 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3373 (top level): Test that output related to execution commands is
3374 sent to the console with CLI commands, but not with MI commands.
3375 Test that breakpoint events are always mirrored to the console.
3376 Also expect the new source line to be output after a "next" in
3377 async mode too. Make it a pass/fail test.
3378 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3379 output.
3380 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3381
5166082f
PA
33822014-05-21 Pedro Alves <palves@redhat.com>
3383
3384 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3385 Use them to test variations of "list" after reaching a breakpoint.
3386 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3387 Test "list" with listsize 10 after reaching a breakpoint.
3388 * gdb.python/python.exp (decode_line current location line
3389 number): Adjust expected line number.
3390
2f25d70f
SM
33912014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3392
3393 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3394 behavior for $args, pass it directly to "run".
3395
ff604a67
MR
33962014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3397
3398 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3399 30000 to 65536.
3400
6a3cb8e8
PA
34012014-05-21 Pedro Alves <palves@redhat.com>
3402
3403 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3404 auto-connect-native-target off".
3405 * gdb.base/auto-connect-native-target.c: New file.
3406 * gdb.base/auto-connect-native-target.exp: New file.
3407
4ebfc96e
PA
34082014-05-21 Pedro Alves <palves@redhat.com>
3409
3410 * gdb.base/default.exp: Test "target native" instead of "target
3411 child".
3412
36d46afb
MW
34132014-05-21 Mark Wielaard <mjw@redhat.com>
3414
3415 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3416
5876f503
JK
34172014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3418
3419 Fix TLS access for -static -pthread.
3420 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3421 <HAVE_TLS> (thread_function, main): Initialize it.
3422 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3423 Add clean_restart.
3424 <$have_tls != "">: Check TLSVAR.
3425
0256a6ac
PA
34262014-05-21 Pedro Alves <palves@redhat.com>
3427
3428 * gdb.base/dcache-line-read-error.c: New.
3429 * gdb.base/dcache-line-read-error.exp: New.
3430
936d2992
PA
34312014-05-20 Pedro Alves <palves@redhat.com>
3432
3433 * gdb.base/compare-sections.c: New file.
3434 * gdb.base/compare-sections.exp: New file.
3435
802e8e6d
PA
34362014-05-20 Pedro Alves <palves@redhat.com>
3437
3438 * gdb.base/break-idempotent.c: New file.
3439 * gdb.base/break-idempotent.exp: New file.
3440
e59fa00f
MM
34412014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3442
3443 * gdb.btrace/nohist.exp: New.
3444
8b696e31
YQ
34452014-05-20 Yao Qi <yao@codesourcery.com>
3446
3447 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3448 gdb.reverse directory and gdb_reverse_timeout exists in board
3449 setting.
3450 * README: Document gdb_reverse_timeout.
3451
73c9764f
YQ
34522014-05-20 Yao Qi <yao@codesourcery.com>
3453
3454 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3455 'test_file_name'. Treat args as a string instead of a list.
3456 (gdb_init): Rename argument 'args' by 'test_file_name'.
3457
f1f4348a
JK
34582014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3459
3460 * gdb.arch/powerpc-power.exp: New file.
3461 * gdb.arch/powerpc-power.s: New file.
3462
0dbe70ce
DE
34632014-05-16 Doug Evans <dje@google.com>
3464
3465 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3466 * gdb.base/completion.exp: Check that all expected files exist
3467 before doing file completion.
0dbe70ce 3468
8d551b02
DE
34692014-05-16 Doug Evans <dje@google.com>
3470
3471 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3472 Update.
3473 (do_syscall_tests_without_xml): Update.
3474
73eb7709
PA
34752014-05-16 Pedro Alves <palves@redhat.com>
3476
3477 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3478 instead of "unknown output after running".
3479
3fae92fc
YQ
34802014-05-16 Yao Qi <yao@codesourcery.com>
3481
3482 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3483 file1.txt from host at the end.
3484 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3485
c2b2ccc5
DE
34862014-05-15 Doug Evans <dje@google.com>
3487
3488 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3489 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3490 loading file. Add test for TU lookup.
3491
8c217a4b
SM
34922014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3493
3494 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3495 calling "-exec-arguments" or "set args" before running the
3496 inferior.
3497
3deb39c6
SM
34982014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3499
3500 * lib/mi-support.exp (mi_expect_stop): Expect message for
3501 inferiors that exit with non-zero exit code.
3502
71a79f8c
YQ
35032014-05-14 Yao Qi <yao@codesourcery.com>
3504
3505 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3506 match absolute path on remote host.
3507 (test_file_list_exec_source_files): Remove "/" from the
3508 pattern.
3509
f23fcd46
YQ
35102014-05-14 Yao Qi <yao@codesourcery.com>
3511
3512 * boards/local-remote-host-notty.exp (${board}_file): New
3513 proc.
3514
9404b58f
KM
35152014-05-07 Kyle McMartin <kyle@redhat.com>
3516
3517 Pushed by Joel Brobecker <brobecker@adacore.com>.
3518 * gdb.arch/aarch64-atomic-inst.c: New file.
3519 * gdb.arch/aarch64-atomic-inst.exp: New file.
3520
5e45f04c
YQ
35212014-05-07 Yao Qi <yao@codesourcery.com>
3522
3523 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3524 in current context" too.
3525
c888a17d
KS
35262014-05-05 Keith Seitz <keiths@redhat.com>
3527
3528 * gdb.linespec/ls-dollar.exp: Add test for linespec
3529 file:convenience_variable.
3530
290a839c
YQ
35312014-05-05 Yao Qi <yao@codesourcery.com>
3532
3533 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3534 traceframes into tfile and ctf trace files. Read data from
3535 trace file and test collected data.
3536 (gdb_collect_locals_test): Likewise.
3537 (gdb_unavailable_registers_test): Likewise.
3538 (gdb_unavailable_floats): Likewise.
3539 (gdb_collect_globals_test): Likewise.
3540 (top-level): Append "ctf" to trace_file_targets if GDB
3541 supports.
3542
b5262cd0
YQ
35432014-05-05 Yao Qi <yao@codesourcery.com>
3544
3545 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3546 code to ...
3547 (gdb_collect_args_test_1): ... it. New proc.
3548 (gdb_collect_locals_test): Move some code to ...
3549 (gdb_collect_locals_test_1): ... it. New proc.
3550 (gdb_unavailable_registers_test): Move some code to ...
3551 (gdb_unavailable_registers_test_1): ... it. New proc.
3552 (gdb_unavailable_floats): Move some code to ...
3553 (gdb_unavailable_floats_1): ... it. New proc.
3554
30a1e6cc
SDJ
35552014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3556
3557 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3558 probes to test for bitness recognition.
3559 * gdb.arch/amd64-stap-optional-prefix.exp
3560 (test_probe_value_without_reg): New procedure.
3561 Add code to test for different kinds of bitness.
3562
f33da99a
SDJ
35632014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3564
3565 PR breakpoints/16889
3566 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3567 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3568
5b80f00d
PA
35692014-05-01 Pedro Alves <palves@redhat.com>
3570
3571 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3572 gdb_file_cmd if no file is specified.
3573 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3574 last_loaded_file to set the remote exec-file.
3575
f8c2a73c
PA
35762014-05-01 Pedro Alves <palves@redhat.com>
3577
3578 * boards/local-remote-host.exp: New file.
3579
be6e8ac7
PA
35802014-05-01 Pedro Alves <palves@redhat.com>
3581
3582 * boards/local-remote-host.exp: Rename to ...
3583 * boards/local-remote-host-notty.exp: ... this.
3584
cac0dc8f
JB
35852014-04-28 Joel Brobecker <brobecker@adacore.com>
3586
3587 * gdb.ada/dyn_arrayidx: New testcase.
3588
9730e6cc
YQ
35892014-04-26 Yao Qi <yao@codesourcery.com>
3590
3591 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3592 and compute the length of function main. Save it in
3593 $main_length.
3594 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3595 (top-level): Use gdb_compile to compile objects into
3596 executable and restart GDB. Remove invocation to
3597 prepare_for_testing.
3598
7ae1a6a6
PA
35992014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3600 Pedro Alves <palves@redhat.com>
3601
3602 PR server/16255
3603 * gdb.multi/multi-attach.c: New file.
3604 * gdb.multi/multi-attach.exp: New file.
3605
4082afcc
PA
36062014-04-25 Pedro Alves <palves@redhat.com>
3607
3608 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3609 user.
3610 (top level): Test that "set remote conditional-breakpoints-packet
3611 off" works as intended.
3612 * gdb.base/dprintf.exp: Test that "set remote
3613 breakpoint-commands-packet off" works as intended.
3614 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3615 New function.
3616 (top level): Call it.
3617 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3618 remote fast-tracepoints-packet off" works as intended.
3619 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3620 * lib/gdb.exp (gdb_is_target_remote): ... here.
3621
2abc3f8d
DB
36222014-04-24 David Blaikie <dblaikie@gmail.com>
3623
3624 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3625 ensure clang would not discard them.
3626 * gdb.base/gdbvars.c: Ditto.
3627 * gdb.base/memattr.c: Ditto.
3628 * gdb.base/whatis.c: Ditto.
3629 * gdb.python/py-prettyprint.c: Ditto.
3630 * gdb.trace/actions.c: Ditto.
3631 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3632 ensure clang would not discard it.
3633
bfd39632
DB
36342014-04-24 David Blaikie <dblaikie@gmail.com>
3635
3636 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3637 clang to emit the full definition of type required by the test
3638 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3639
22842ff6
DB
36402014-04-24 David Blaikie <dblaikie@gmail.com>
3641
3642 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3643 coax Clang into emitting the definition of the type.
3644 * gdb.cp/pr10728-x.h (y): Ditto.
3645 * gdb.cp/pr10728-y.cc (y): Ditto.
3646
c2e827ad
DB
36472014-04-24 David Blaikie <dblaikie@gmail.com>
3648
3649 * gdb.base/label.exp: XFAIL label related tests under Clang.
3650 * gdb.cp/cplabel.exp: Ditto.
3651 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3652 under Clang those using labels.
3653
4c2d33e7
YQ
36542014-04-25 Yao Qi <yao@codesourcery.com>
3655
3656 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3657 double_label.
3658 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3659 partial_label and double_label.
3660
56083b99
DB
36612014-04-24 David Blaikie <dblaikie@gmail.com>
3662
3663 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3664
25d4e99d
DB
36652014-04-24 David Blaikie <dblaikie@gmail.com>
3666
3667 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3668 of the function to work across GCC and Clang.
3669 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3670 pointer types (const void ** const V void **).
3671
01f9f808
MS
36722014-04-24 Michael Sturm <michael.sturm@mintel.com>
3673 Walfred Tedeschi <walfred.tedeschi@intel.com>
3674
3675 * Makefile.in (EXECUTABLES): Added i386-avx512.
3676 * gdb.arch/i386-avx512.c: New file.
3677 * gdb.arch/i386-avx512.exp: Likewise.
3678
4b48d439
KS
36792014-04-23 Keith Seitz <keiths@redhat.com>
3680
3681 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3682 (mi_make_breakpoint_table): New procedure.
3683 (mi_create_breakpoint): Use mi_make_breakpoint
3684 and return the result.
3685 (mi_make_breakpoint): New procedure.
3686 (mi_build_kv_pairs): New procedure.
3687
3688 * gdb.mi/mi-break.exp: Remove unused globals,
3689 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3690 All callers updated.
3691 * gdb.mi/mi-dprintf.exp: Use variable to track command
3692 number.
3693 Update all callers of mi_create_breakpoint and use
3694 mi_make_breakpoint_table.
3695 Remove any unused global variables.
3696 * gdb.mi/mi-nonstop.exp: Likewise.
3697 * gdb.mi/mi-nsintrall.exp: Likewise.
3698 * gdb.mi/mi-nsmoribund.exp: Likewise.
3699 * gdb.mi/mi-nsthrexec.exp: Likewise.
3700 * gdb.mi/mi-reverse.exp: Likewise.
3701 * gdb.mi/mi-simplerun.exp: Likewise.
3702 * gdb.mi/mi-stepn.exp: Likewise.
3703 * gdb.mi/mi-syn-frame.exp: Likewise.
3704 * gdb.mi/mi-until.exp: Likewise.
3705 * gdb.mi/mi-var-cp.exp: Likewise.
3706 * gdb.mi/mi-var-display.exp: Likewise.
3707 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3708 * gdb.mi/mi2-var-child.exp: Likewise.
3709 * gdb.mi/mi-vla-c99.exp: Likewise.
3710 * lib/mi-support.exp: Likewise.
3711
3712 From Ian Lance Taylor <iant@cygnus.com>:
3713 * lib/gdb.exp (parse_args): New procedure.
3714
08351840
PA
37152014-04-23 Pedro Alves <palves@redhat.com>
3716
3717 * gdb.base/break-unload-file.c: New file.
3718 * gdb.base/break-unload-file.exp: New file.
3719 * gdb.base/sym-file-lib.c (baz): New function.
3720 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3721 field.
3722 (load): Store the segment's mapped size.
3723 (unload): New function.
3724 (unload_shlib): New function.
3725 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3726 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3727 set a breakpoint at baz, and call it.
3728 * gdb.base/sym-file.exp: New tests for stale breakpoint
3729 instructions.
3730
076855f9
PA
37312014-04-23 Pedro Alves <palves@redhat.com>
3732
3733 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3734 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3735 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3736 * gdb.base/hbreak-unmapped.c: New file.
3737 * gdb.base/hbreak-unmapped.exp: New file.
3738 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3739 * lib/gdb.exp (gdb_is_target_remote): ... here.
3740
483805cf
PA
37412014-04-22 Pedro Alves <palves@redhat.com>
3742
3743 * gdb.base/consecutive-step-over.c: New file.
3744 * gdb.base/consecutive-step-over.exp: New file.
3745
06d97543
PA
37462014-04-22 Pedro Alves <palves@redhat.com>
3747
3748 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3749 instead of send_gdb/gdb_expect.
3750
b4429ea2
YQ
37512014-04-22 Yao Qi <yao@codesourcery.com>
3752
3753 * lib/trace-support.exp (generate_tracefile): New procedure.
3754 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3755 return 0.
3756 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3757 if generate_tracefile returns 1.
3758
51d48146
PA
37592014-04-18 Tom Tromey <palves@redhat.com>
3760 Pedro alves <tromey@redhat.com>
3761
3762 PR backtrace/15558
3763 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3764 with a backtrace limit.
3765 * gdb.python/py-frame-inline.exp: Test running to an inline
3766 function with a backtrace limit, and printing the newest frame.
3767 * gdb.python/py-frame-inline.c (main): Call f.
3768
bd1dce5f
MS
37692014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3770
3771 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3772
40d1a503
MS
37732014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3774
3775 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3776 Drop prefix from unsupported source file path.
3777
389b98f7
YQ
37782014-04-17 Yao Qi <yao@codesourcery.com>
3779
3780 * lib/gdb.exp (with_target_charset): New proc.
3781 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3782 with_target_charset.
3783 (test_print_strings): Likewise.
3784 (test_repeat_bytes): Likewise.
3785 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3786 for some tests.
3787
22869d73
KS
37882014-04-16 Keith Seitz <keiths@redhat.com>
3789
3790 PR gdb/15827
3791 * gdb.dwarf2/corrupt.c: New file.
3792 * gdb.dwarf2/corrupt.exp: New file.
3793
c4f87ca6
KS
37942014-04-16 Keith Seitz <keiths@redhat.com>
3795
3796 PR c++/16597
3797 * gdb.cp/namelessclass.cc: New file.
3798 * gdb.cp/namelessclass.exp: New file.
3799 * gdb.cp/namelessclass.S: New file.
3800
ab19de87
DE
38012014-04-16 Doug Evans <dje@google.com>
3802
3803 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3804 Add comment.
3805 (gdbserver_default_get_comm_port): New function.
3806 (gdbserver_start): Check if board file provided
3807 "gdbserver,get_comm_port" and use it if so.
3808 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3809 (gdb,socketport): Set to "stdio".
3810 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3811 (stdio_gdbserver_template): Delete.
3812 (${board}_get_remote_address): Update.
3813 (${board}_build_remote_cmd): Delete.
3814 (${board}_get_comm_port): New function.
3815 (${board}_spawn): Update.
3816 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3817 Delete.
3818 (${board}_get_remote_address): Update.
3819 (${board}_get_comm_port): New function.
3820
fc98a809
AB
38212014-04-16 Andrew Burgess <aburgess@broadcom.com>
3822
3823 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3824 appearing in any order.
3825
87fd9e6e
DE
38262014-04-15 Doug Evans <dje@google.com>
3827
3828 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3829 uninitialized value of "description".
3830
099fc3ea
KS
38312014-04-15 Keith Seitz <keiths@redhat.com>
3832
3833 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3834 Remove unused globals.
3835 (test_running_the_program): Likewise.
3836 (test_controlled_execution): Likewise.
3837 (test_controlling_breakpoints): Likewise.
3838 (test_program_termination): Likewise.
3839
5da151d4
KS
38402014-04-15 Keith Seitz <keiths@redhat.com>
3841
3842 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3843 unused globals.
3844 (test_rbreak_creation_and_listing): Likewise.
3845 (test_ignore_count): Likewise.
3846 (test_error): Likewise.
3847
35e5d2f0
PA
38482014-04-15 Pedro Alves <palves@redhat.com>
3849
3850 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3851 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3852 sym-file-loader.c.
3853 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3854 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3855 to sym-file-loader.c.
3856 (struct library): Forward declare.
3857 (load_shlib, lookup_function): Change prototypes.
3858 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3859 (translate_offset): Remove declarations.
3860 (get_text_addr): New declaration.
3861 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3862 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3863 sym-file-loader.h.
3864 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3865 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3866 here from sym-file-loader.h.
3867 (struct library): New structure.
3868 (load_shlib, lookup_function): Change prototypes and adjust to
3869 work with a struct library.
3870 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3871 (translate_offset): Make static.
3872 (get_text_addr): New function.
3873 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3874
eb4c1710
PA
38752014-04-15 Pedro Alves <palves@redhat.com>
3876
3877 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3878
2d1baf52
PA
38792014-04-15 Pedro Alves <palves@redhat.com>
3880
3881 * gdb.base/sym-file-loader.c: Include <limits.h>.
3882 (SELF_LINK): New define.
3883 (get_origin): New function.
3884 (load_shlib): Use it.
3885 * gdb.base/sym-file.exp: Don't early return if the target is
3886 remote. Use runto_main, and issue fail is that fails. Use
3887 gdb_load_shlibs.
3888 (shlib_name): Delete.
3889 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3890
7dd6df01
PA
38912014-04-15 Pedro Alves <palves@redhat.com>
3892
3893 * gdb.base/sym-file.exp: Remove regex characters from test
3894 message. Don't refer to breakpoint numbers in test messages.
3895
b50c8614
KS
38962014-04-14 Keith Seitz <keiths@redhat.com>
3897
3898 PR c++/16253
3899 * gdb.cp/var-tag.cc: New file.
3900 * gdb.cp/var-tag.exp: New file.
3901 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3902 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3903 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3904 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3905
3d567982
TT
39062014-04-14 Tom Tromey <tromey@redhat.com>
3907
3908 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3909 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3910 type.
3911 * gdb.cp/enum-class.exp: New file.
3912 * gdb.cp/enum-class.cc: New file.
3913
0626fc76
TT
39142014-04-14 Tom Tromey <tromey@redhat.com>
3915
3916 * gdb.dwarf2/enum-type.exp: New file.
3917
dca325b3
SA
39182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3919
3920 * gdb.mi/mi-vla-c99.exp: New file.
3921 * gdb.mi/vla.c: New file.
3922
5854b38a
SA
39232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3924
3925 * gdb.base/vla-datatypes.c: New file.
3926 * gdb.base/vla-datatypes.exp: New file.
3927
463bb957
SA
39282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3929
3930 * gdb.base/vla-ptr.c: New file.
3931 * gdb.base/vla-ptr.exp: New file.
3932
3dd170be
SA
39332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3934
3935 * gdb.dwarf2/count.exp: New file.
3936
5ecaaa66
SA
39372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3938
3939 * gdb.base/vla-sideeffect.c: New file.
3940 * gdb.base/vla-sideeffect.exp: New file.
3941
41f1ada5
DB
39422014-04-14 David Blaikie <dblaikie@gmail.com>
3943
3944 * gdb.mi/non-stop.c: Add return value for non-void function return
3945 statement.
3946 * gdb.threads/staticthreads.c: Ditto.
3947
0be03e84
DE
39482014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3949 Doug Evans <xdje42@gmail.com>
3950
3951 * gdb.guile/scm-value.c: Improve test case.
3952 * gdb.guile/scm-value.exp: Add new test.
3953
f180a1fb
DB
39542014-04-11 David Blaikie <dblaikie@gmail.com>
3955
3956 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3957 override Clang's default.
3958
6b662e19
JB
39592014-04-11 Joel Brobecker <brobecker@adacore.com>
3960
3961 Revert the following changes (regressions):
3962
3963 * gdb.base/vla-sideeffect.c: New file.
3964 * gdb.base/vla-sideeffect.exp: New file.
3965
3966 * gdb.dwarf2/count.exp: New file.
3967
3968 * gdb.base/vla-multi.c: New file.
3969 * gdb.base/vla-multi.exp: New file.
3970
3971 * gdb.base/vla-ptr.c: New file.
3972 * gdb.base/vla-ptr.exp: New file.
3973
3974 * gdb.base/vla-datatypes.c: New file.
3975 * gdb.base/vla-datatypes.exp: New file.
3976
3977 * gdb.mi/mi-vla-c99.exp: New file.
3978 * gdb.mi/vla.c: New file.
3979
245a5f0b
KS
39802014-04-11 Keith Seitz <keiths@redhat.com>
3981
3982 PR c++/16675
3983 * gdb.cp/cpsizeof.exp: New file.
3984 * gdb.cp/cpsizeof.cc: New file.
3985
58a84dcf
SA
39862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3987
191a8a90
JB
3988 * gdb.mi/mi-vla-c99.exp: New file.
3989 * gdb.mi/vla.c: New file.
58a84dcf 3990
c8655f75
SA
39912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3992
3993 * gdb.base/vla-datatypes.c: New file.
3994 * gdb.base/vla-datatypes.exp: New file.
3995
024e13b4
SA
39962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3997
3998 * gdb.base/vla-ptr.c: New file.
3999 * gdb.base/vla-ptr.exp: New file.
4000
1a237e0e
SA
40012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4002
4003 * gdb.base/vla-multi.c: New file.
4004 * gdb.base/vla-multi.exp: New file.
4005
504f3432
SA
40062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4007
4008 * gdb.dwarf2/count.exp: New file.
4009
3bce8237
SA
40102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4011
191a8a90
JB
4012 * gdb.base/vla-sideeffect.c: New file.
4013 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4014
322f9c21
YQ
40152014-04-11 Yao Qi <yao@codesourcery.com>
4016
4017 * gdb.base/completion.exp: Check file exists before running tests
4018 on file completion.
4019
d708bcd1
PA
40202014-04-10 Pedro Alves <palves@redhat.com>
4021
4022 * gdb.base/cond-eval-mode.c: New file.
4023 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4024 prepare_for_testing to build the new file. Check result of
4025 runto_main.
4026 (test_break, test_watch): New procedures.
4027 (top level): Use them.
4028
ae1d2761
PM
40292014-04-08 Pierre Muller <muller@sourceware.org>
4030
4031 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4032 Ctrl-V use for mingw hosts.
4033
7af389b8
SC
40342014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4035
4036 * gdb.python/py-value.c: Improve test case.
4037 * gdb.python/py-value.exp: Add new test.
4038
5e703181
DE
40392014-04-07 David Blaikie <dblaikie@gmail.com>
4040
4041 * lib/compiler.c: Identify the clang compiler.
4042 * lib/compiler.cc: Ditto.
4043
9810b410
YQ
40442014-04-03 Yao Qi <yao@codesourcery.com>
4045
4046 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4047
98d1b8dc
AB
40482014-04-01 Anton Blanchard <anton@samba.org>
4049
4050 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4051 messages unique.
4052
3114cea1
AB
40532014-04-01 Anton Blanchard <anton@samba.org>
4054
4055 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4056 prepare_for_testing.
4057
62f7182c
AB
40582014-04-01 Anton Blanchard <anton@samba.org>
4059
4060 * gdb.arch/ppc64-atomic-inst.c: Remove.
4061 * gdb.arch/ppc64-atomic-inst.S: New file.
4062 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4063
770e7fc7
DE
40642014-03-31 Doug Evans <dje@google.com>
4065
4066 * gdb.base/print-symbol-loading-lib.c: New file.
4067 * gdb.base/print-symbol-loading-main.c: New file.
4068 * gdb.base/print-symbol-loading.exp: New file.
4069
46e2bafa
YQ
40702014-03-31 Yao Qi <yao@codesourcery.com>
4071
4072 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4073
8776cfe9
JB
40742014-03-28 Joel Brobecker <brobecker@adacore.com>
4075
4076 * gdb.ada/mi_dyn_arr: New testcase.
4077
5d1ef361
DE
40782014-03-27 Doug Evans <dje@google.com>
4079
4080 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4081
b5bee914
YQ
40822014-03-27 Yao Qi <yao@codesourcery.com>
4083
4084 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4085 if target is nios2-*-*.
4086
0d4d0e77
YQ
40872014-03-26 Yao Qi <yao@codesourcery.com>
4088
4089 * lib/gdb.exp (readline_is_used): New proc.
4090 * gdb.base/completion.exp: Move tests on command complete up.
4091 Skip the rest of tests if readline is not used.
4092 * gdb.ada/complete.exp: Skp the test if readline is not
4093 used.
4094 * gdb.base/filesym.exp: Likewise.
4095 * gdb.base/macscp.exp: Likewise.
4096 * gdb.base/readline-ask.exp: Likewise.
4097 * gdb.base/readline.exp: Likewise.
4098 * gdb.python/py-cmd.exp: Likewise.
4099 * gdb.trace/tfile.exp: Likewise.
4100
29361eee
YQ
41012014-03-26 Yao Qi <yao@codesourcery.com>
4102
4103 * gdb.base/macscp.exp: Fix code format issues.
4104
bc9a5525
UW
41052014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4106
4107 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4108 * gdb.asm/powerpc64le.inc: New file.
4109
d3839ede
PA
41102014-03-25 Pedro Alves <palves@redhat.com>
4111 Doug Evans <dje@google.com>
4112
4113 * gdb.base/source-execution.c: New file.
4114 * gdb.base/source-execution.exp: New file.
4115 * gdb.base/source-execution.gdb: New file.
4116
01672a57
DE
41172014-03-24 Doug Evans <dje@google.com>
4118
4119 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4120 using fission.
4121
88bbeca9
HZ
41222014-03-24 Hui Zhu <hui@codesourcery.com>
4123 Pedro Alves <palves@redhat.com>
4124
4125 PR breakpoints/16101
4126 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4127 test pass/fail messages. Detect missing support for dprintf when
4128 breakpoints are actually inserted.
4129 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4130 breakpoints are actually inserted.
4131 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4132 fails.
4133
d2348791
JK
41342014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4135
4136 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4137
feef67ab
DE
41382014-03-22 Doug Evans <xdje42@gmail.com>
4139
4140 * gdb.python/python.exp (python not supported): Verify multi-line
4141 python command issues an error.
25d743f9 4142 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4143 guile command issues an error.
feef67ab 4144
ecebef6a
MR
41452014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4146
4147 * gdb.threads/thread-specific.exp: Handle the lack of usable
4148 $this_breakpoint and $this_thread.
4149
ccdd1909
HZ
41502014-03-21 Hui Zhu <hui@codesourcery.com>
4151
4152 * gdb.base/attach.exp (do_command_attach_tests): New.
4153
beb460e8
PA
41542014-03-20 Tom Tromey <tromey@redhat.com>
4155 Pedro Alves <palves@redhat.com>
4156
4157 PR cli/15718
4158 * gdb.base/condbreak-call-false.c: New file.
4159 * gdb.base/condbreak-call-false.exp: New file.
4160
40acf43a
PA
41612014-03-20 Pedro Alves <palves@redhat.com>
4162
4163 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4164 Delete.
4165 (block_signals, unblock_signals): Delete.
4166 (child_function_2, main): Remove references to deleted variable
4167 and functions.
4168
9f5e1e02
PA
41692014-03-20 Pedro Alves <palves@redhat.com>
4170
4171 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4172 Use pthread_kill to signal thread 2.
4173 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4174 Adjust to make the test send itself a signal rather than using the
4175 host's "kill" command.
4176
99619bea
PA
41772014-03-20 Pedro Alves <palves@redhat.com>
4178
4179 * gdb.threads/multiple-step-overs.c: New file.
4180 * gdb.threads/multiple-step-overs.exp: New file.
4181 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4182 Adjust expected infrun debug output.
4183
2adfaa28
PA
41842014-03-20 Pedro Alves <palves@redhat.com>
4185
4186 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4187 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4188
31e77af2
PA
41892014-03-20 Pedro Alves <palves@redhat.com>
4190
4191 PR breakpoints/7143
4192 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4193 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4194 of gdb_test_multiple.
4195 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4196 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4197
b9f437de
PA
41982014-03-20 Pedro Alves <palves@redhat.com>
4199
4200 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4201 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4202
05adc73e
PA
42032014-03-19 Pedro Alves <palves@redhat.com>
4204
4205 * gdb.base/async.exp: Remove early return.
4206
6048b950
PA
42072014-03-19 Pedro Alves <palves@redhat.com>
4208
4209 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4210
8bcfb00a
PA
42112014-03-19 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.base/async.exp (test_background): Expect \r\n after
4214 "completed." in the fail pattern.
4215
884e37dc
PA
42162014-03-19 Pedro Alves <palves@redhat.com>
4217
4218 * gdb.base/async.exp (test_background): New procedure.
4219 Use it for all background execution command tests.
4220
148e57e2
PA
42212014-03-19 Pedro Alves <palves@redhat.com>
4222
4223 * gdb.base/async.exp: Use prepare_for_testing.
4224
f48088c7
PA
42252014-03-19 Pedro Alves <palves@redhat.com>
4226
4227 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4228 the same line.
4229
e2f6c966
PA
42302014-03-19 Pedro Alves <palves@redhat.com>
4231
4232 * gdb.base/async.c (main): Add "jump here" and "until here" line
4233 marker comments.
4234 * gdb.base/async.exp (jump_here): New global.
4235 (jump& test): Use it.
4236 (until_here): New global.
4237 (until& test): Use it.
4238
c30568d4
PA
42392014-03-19 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.base/async.exp: Don't frob gdb_protocol.
4242
0172b6a7
DE
42432014-03-18 Doug Evans <xdje42@gmail.com>
4244
4245 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4246 Fix spelling of exec-done-display.
4247
06c868a8
JK
42482014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4249
4250 PR gdb/15358
4251 * gdb.base/gdb-sigterm.c: New file.
4252 * gdb.base/gdb-sigterm.exp: New file.
4253
0c7e1a46
PA
42542014-03-18 Pedro Alves <palves@redhat.com>
4255
4256 PR gdb/13860
4257 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4258 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4259 solib-event.
4260
f7c77d93
JB
42612014-03-17 Joel Brobecker <brobecker@adacore.com>
4262
4263 * gdb.ada/pckd_arr_ren: New testcase.
4264
5a1e8c7a
DE
42652014-03-13 Doug Evans <xdje42@gmail.com>
4266
4267 PR guile/16612
4268 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4269 collect after discarding symbols.
4270
350e1a76
DE
42712014-03-13 Ludovic Courtès <ludo@gnu.org>
4272 Doug Evans <xdje42@gmail.com>
4273
4274 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4275 to history survives a gc.
4276
a69900ae
PA
42772014-03-13 Pedro Alves <palves@redhat.com>
4278
4279 * gdb.base/default.exp: Don't test "target procfs".
4280
5db9f0bd
PA
42812014-03-13 Pedro Alves <palves@redhat.com>
4282
4283 * gdb.base/default.exp: Update "target child" and "target procfs"
4284 tests to not expect "Unix".
4285
b3ccfe11
TT
42862014-03-12 Tom Tromey <tromey@redhat.com>
4287
4288 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4289 New procs. Add target-async tests.
4290 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4291 Add target-async tests.
4292
646f4417
AA
42932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4294
4295 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4296 'func_start' and 'func_end' for the beginning and end of the
4297 function code, respectively.
4298 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4299 'func_end' instead of 'func' and 'main'.
4300
288c211f
AA
43012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4302
4303 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4304 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4305 generate the debug info assembler source.
4306
e0c0f156
AA
43072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4308
4309 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4310 * gdb.dwarf2/arr-subrange.exp: Likewise.
4311 * gdb.dwarf2/dwz.exp: Likewise.
4312 * gdb.dwarf2/method-ptr.exp: Likewise.
4313 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4314 * gdb.dwarf2/subrange.exp: Likewise.
4315 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4316 * gdb.dwarf2/implptrpiece.exp: Likewise.
4317 * gdb.dwarf2/nostaticblock.exp: Likewise.
4318
0e5c4555
AA
43192014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4320
4321 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4322 directory to absolute path name arguments.
4323
5ec18f2b
JG
43242014-03-10 Joel Brobecker <brobecker@adacore.com>
4325
4326 * gdb.ada/tagged_access: New testcase.
4327
847fc4f2
MM
43282014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4329
4330 * gdb.btrace/data.exp: Update expected output.
4331
cc3da688
YQ
43322014-03-06 Yao Qi <yao@codesourcery.com>
4333
4334 * gdb.trace/pr16508.exp: New file.
4335
0f26cec1
PA
43362014-03-05 Pedro Alves <palves@redhat.com>
4337
4338 PR gdb/16575
4339 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4340 procedure.
4341 (top level): Adjust to use it. Add tests that exercise breakpoint
4342 interaction with the code-cache.
4343
7a5a839f
LC
43442014-02-26 Ludovic Courtès <ludo@gnu.org>
4345
4346 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4347 test for 'history-append!'.
4348
31aa7e4e
JB
43492014-02-26 Joel Brobecker <brobecker@adacore.com>
4350
4351 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4352 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4353 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4354 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4355 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4356 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4357
1b588015
JB
43582014-02-26 Joel Brobecker <brobecker@adacore.com>
4359
4360 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4361 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4362 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4363
55426c9d
JB
43642014-02-26 Joel Brobecker <brobecker@adacore.com>
4365
4366 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4367
dc53a7ad
JB
43682014-02-26 Joel Brobecker <brobecker@adacore.com>
4369
4370 * gdb.dwarf2/arr-stride.c: New file.
4371 * gdb.dwarf2/arr-stride.exp: New file.
4372
12ab52e9
PA
43732014-02-26 Pedro Alves <palves@redhat.com>
4374
4375 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4376 that won't ever trigger. Make sure that GDB reports the correct
4377 breakpoint that caused the stop.
4378
849c862e
JK
43792014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4380
4381 PR gdb/16626
4382 * gdb.base/auto-load-script: New file.
4383 * gdb.base/auto-load.c: New file.
4384 * gdb.base/auto-load.exp: New file.
4385
71b7d793
JK
4386 PR gdb/16626
4387 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4388
e2f0d509
JK
43892014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4390
4391 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4392 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4393
50cc37c8
DE
43942014-02-24 Doug Evans <dje@google.com>
4395
4396 * lib/gdb.exp (run_on_host): Log error output if program fails.
4397
ea4758f2
PA
43982014-02-21 Pedro Alves <palves@redhat.com>
4399
4400 * gdb.threads/step-after-sr-lock.c: Rename to ...
4401 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4402 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4403 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4404 ... this.
4405
d7b30f67
SDJ
44062014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4407
4408 PR tdep/16397
4409 * gdb.arch/amd64-stap-special-operands.exp: New file.
4410 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4411 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4412 * gdb.arch/amd64-stap-triplet.S: Likewise.
4413 * gdb.arch/amd64-stap-triplet.c: Likewise.
4414
83deb43f
JB
44152014-02-20 Joel Brobecker <brobecker@adacore.com>
4416
4417 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4418 in .section pseudo-op.
4419
adde2bff
DE
44202014-02-20 lin zuojian <manjian2006@gmail.com>
4421 Joel Brobecker <brobecker@adacore.com>
4422 Doug Evans <xdje42@gmail.com>
4423
4424 PR symtab/16581
4425 * gdb.dwarf2/dw2-icycle.S: New file.
4426 * gdb.dwarf2/dw2-icycle.c: New file.
4427 * gdb.dwarf2/dw2-icycle.exp: New file.
4428
f7bd0f78
SC
44292014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4430
4431 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4432 operations on gdb.Value objects.
4433 * gdb.python/py-value-cc.exp: Add new test to test operations on
4434 gdb.Value objects.
4435
c17ef0d5
DE
44362014-02-18 Doug Evans <dje@google.com>
4437
4438 * Makefile.in (TESTS): New variable.
4439 (expanded_tests, expanded_tests_or_none): New variables
4440 (check-single): Pass $(expanded_tests_or_none) to runtest.
4441 (check-parallel): Only run tests in $(TESTS) if non-empty.
4442 (check/no-matching-tests-found): New rule.
4443 * README: Document TESTS makefile variable.
4444
5dd3176f
DE
44452014-02-18 Doug Evans <dje@google.com>
4446
4447 * Makefile.in (check-parallel): rm -rf outputs temp.
4448
0b10be4f
JK
44492014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4450
4451 Fix "ERROR: no fileid for" in the testsuite.
4452 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4453
85f224e7
DE
44542014-02-12 Doug Evans <dje@google.com>
4455
4456 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4457 (MISCELLANEOUS): New variable.
4458 (clean): rm -rf $(MISCELLANEOUS).
4459 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4460 dwp live in the same directory as symlinks, with each symlink pointed
4461 to a differently named file in a different directory.
4462
149b30ff
DE
44632014-02-11 Doug Evans <dje@google.com>
4464
4465 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4466 of Tcl file commands.
4467
1dfdac32
MK
44682014-02-10 Mark Kettenis <kettenis@gnu.org>
4469
4470 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4471 "kill -SIGUSR1 -1".
4472
aa4fb036
JB
44732014-02-10 Joel Brobecker <brobecker@adacore.com>
4474
4475 * gdb.ada/tick_length_array_enum_idx: New testcase.
4476
ed3ef339
DE
44772014-02-10 Doug Evans <xdje42@gmail.com>
4478
4479 * configure.ac (AC_OUTPUT): Add gdb.guile.
4480 * configure: Regenerate.
4481 * lib/gdb-guile.exp: New file.
4482 * lib/gdb.exp (get_target_charset): New function.
4483 * gdb.base/help.exp: Update expected output from "apropos apropos".
4484 * gdb.guile/Makefile.in: New file.
4485 * gdb.guile/guile.exp: New file.
4486 * gdb.guile/scm-arch.c: New file.
4487 * gdb.guile/scm-arch.exp: New file.
4488 * gdb.guile/scm-block.c: New file.
4489 * gdb.guile/scm-block.exp: New file.
4490 * gdb.guile/scm-breakpoint.c: New file.
4491 * gdb.guile/scm-breakpoint.exp: New file.
4492 * gdb.guile/scm-disasm.c: New file.
4493 * gdb.guile/scm-disasm.exp: New file.
4494 * gdb.guile/scm-equal.c: New file.
4495 * gdb.guile/scm-equal.exp: New file.
4496 * gdb.guile/scm-error.exp: New file.
4497 * gdb.guile/scm-error.scm: New file.
4498 * gdb.guile/scm-frame-args.c: New file.
4499 * gdb.guile/scm-frame-args.exp: New file.
4500 * gdb.guile/scm-frame-args.scm: New file.
4501 * gdb.guile/scm-frame-inline.c: New file.
4502 * gdb.guile/scm-frame-inline.exp: New file.
4503 * gdb.guile/scm-frame.c: New file.
4504 * gdb.guile/scm-frame.exp: New file.
4505 * gdb.guile/scm-generics.exp: New file.
4506 * gdb.guile/scm-gsmob.exp: New file.
4507 * gdb.guile/scm-iterator.c: New file.
4508 * gdb.guile/scm-iterator.exp: New file.
4509 * gdb.guile/scm-math.c: New file.
4510 * gdb.guile/scm-math.exp: New file.
4511 * gdb.guile/scm-objfile-script-gdb.in: New file.
4512 * gdb.guile/scm-objfile-script.c: New file.
4513 * gdb.guile/scm-objfile-script.exp: New file.
4514 * gdb.guile/scm-objfile.c: New file.
4515 * gdb.guile/scm-objfile.exp: New file.
4516 * gdb.guile/scm-ports.exp: New file.
4517 * gdb.guile/scm-pretty-print.c: New file.
4518 * gdb.guile/scm-pretty-print.exp: New file.
4519 * gdb.guile/scm-pretty-print.scm: New file.
4520 * gdb.guile/scm-section-script.c: New file.
4521 * gdb.guile/scm-section-script.exp: New file.
4522 * gdb.guile/scm-section-script.scm: New file.
4523 * gdb.guile/scm-symbol.c: New file.
4524 * gdb.guile/scm-symbol.exp: New file.
4525 * gdb.guile/scm-symtab-2.c: New file.
4526 * gdb.guile/scm-symtab.c: New file.
4527 * gdb.guile/scm-symtab.exp: New file.
4528 * gdb.guile/scm-type.c: New file.
4529 * gdb.guile/scm-type.exp: New file.
4530 * gdb.guile/scm-value-cc.cc: New file.
4531 * gdb.guile/scm-value-cc.exp: New file.
4532 * gdb.guile/scm-value.c: New file.
4533 * gdb.guile/scm-value.exp: New file.
4534 * gdb.guile/source2.scm: New file.
4535 * gdb.guile/types-module.cc: New file.
4536 * gdb.guile/types-module.exp: New file.
4537
7026a7c1
YQ
45382014-02-10 Yao Qi <yao@codesourcery.com>
4539
4540 PR testsuite/16543
4541 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4542 * configure: Regenerated.
4543 * Makefile.in: New file.
4544
6c466447
AS
45452014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4546
4547 * gdb.python/py-framefilter.exp: Fix typo.
4548
6e854735
YQ
45492014-02-08 Yao Qi <yao@codesourcery.com>
4550
4551 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4552 that no =breakpoint-modified is emitted when breakpoints are
4553 modified through MI commands.
4554
d137e6dc
PA
45552014-02-07 Pedro Alves <pedro@codesourcery.com>
4556 Pedro Alves <palves@redhat.com>
4557
4558 * gdb.threads/step-after-sr-lock.c: New file.
4559 * gdb.threads/step-after-sr-lock.exp: New file.
4560
b5ee5a50
PA
45612014-02-07 Pedro Alves <palves@redhat.com>
4562
4563 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4564
3c77faf3
JK
45652014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4566
4567 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4568 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4569
6dddc817
DE
45702014-02-06 Doug Evans <xdje42@gmail.com>
4571
4572 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4573 output.
4574
4575 * gdb.gdb/python-interrupts.exp: New file.
4576
de7b2893
YQ
45772014-02-05 Yao Qi <yao@codesourcery.com>
4578
4579 * gdb.trace/report.exp (use_collected_data): Test the output
4580 of "info threads" and "info inferiors".
4581
66d032ac
YQ
45822014-02-05 Yao Qi <yao@codesourcery.com>
4583
4584 Revert this patch:
4585
4586 2013-05-24 Yao Qi <yao@codesourcery.com>
4587
4588 * gdb.trace/tfile.exp: Test inferior and thread.
4589
591a12a1
UW
45902014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4591
4592 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4593 on a function.
4594 * gdb.base/step-bt.c: Call hello via function pointer to make
4595 sure its first instruction is executed on powerpc64le-linux.
4596
0ff3e01f
UW
45972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4598
4599 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4600
084ee545
UW
46012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4602
4603 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4604 of the test patterns for use on little-endian systems.
4605
6ed14ff3
UW
46062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4607
4608 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4609 (decimal_vector): Fix for little-endian.
4610
401e27fd
JM
46112014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4612
4613 * gdb.arch/sparc-sysstep.exp: New file.
4614 * gdb.arch/sparc-sysstep.c: Likewise.
4615
4616 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4617
8b924729
EBM
46182014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4619
4620 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4621
fb151210
JB
46222014-01-23 Tom Tromey <tromey@redhat.com>
4623
4624 * gdb.ada/array_char_idx: New testcase.
4625
0740f8d8
TT
46262014-01-23 Tom Tromey <tromey@redhat.com>
4627
4628 PR python/16487:
4629 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4630 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4631 classes.
4632
21909fa1
TT
46332014-01-23 Tom Tromey <tromey@redhat.com>
4634
4635 PR python/16491:
4636 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4637 string from an inferior frame.
4638 * gdb.python/py-framefilter-mi.exp: Update.
4639
87ce2a04
DE
46402014-01-22 Doug Evans <dje@google.com>
4641
4642 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4643
237b092b
AA
46442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4645
4646 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4647
d674a709
AA
46482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4649
4650 * gdb.trace/entry-values.exp: Remove excess space character from
4651 regex patterns. Handle s390 call instruction.
4652
20fa3390
AA
46532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4654
4655 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4656 define "*_start" label. Make "name" static.
4657 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4658 ${name} by references to ${name}_start.
4659
78466714
AA
46602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4661
4662 * gdb.base/info-macros.exp: Remove "debug" from the compile
4663 options.
4664
ec9f644a
IB
46652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4666
4667 * gdb.dlang/demangle.exp: New file.
4668
94b1b47e
IB
46692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4670
4671 * gdb.dlang/primitive-types.exp: New file.
4672
7f420862
IB
46732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4674
4675 * configure.ac: Create gdb.dlang/Makefile.
4676 * configure: Regenerate.
4677 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4678 * gdb.dlang/Makefile.in: New file.
4679 * lib/d-support.exp: New file.
4680 * lib/gdb.exp (skip_d_tests): New proc.
4681
52834460
MM
46822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4683
4684 * gdb.btrace/delta.exp: Check reverse stepi.
4685 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4686 * gdb.btrace/finish.exp: New.
4687 * gdb.btrace/next.exp: New.
4688 * gdb.btrace/nexti.exp: New.
4689 * gdb.btrace/record_goto.c: Add comments.
4690 * gdb.btrace/step.exp: New.
4691 * gdb.btrace/stepi.exp: New.
4692 * gdb.btrace/multi-thread-step.c: New.
4693 * gdb.btrace/multi-thread-step.exp: New.
4694 * gdb.btrace/rn-dl-bind.c: New.
4695 * gdb.btrace/rn-dl-bind.exp: New.
4696 * gdb.btrace/data.c: New.
4697 * gdb.btrace/data.exp: New.
4698 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4699
6e07b1d2
MM
47002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4701
4702 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4703 * gdb.btrace/exception.exp: Update.
4704 * gdb.btrace/instruction_history.exp: Update.
4705 * gdb.btrace/record_goto.exp: Update.
4706 * gdb.btrace/tailcall.exp: Update.
4707 * gdb.btrace/unknown_functions.exp: Update.
4708 * gdb.btrace/delta.exp: New.
4709
0b722aec
MM
47102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4711
4712 * gdb.btrace/record_goto.exp: Add backtrace test.
4713 * gdb.btrace/tailcall.exp: Add backtrace test.
4714
066ce621
MM
47152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4716
4717 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4718 * gdb.btrace/record_goto.c: New.
4719 * gdb.btrace/record_goto.exp: New.
4720 * gdb.btrace/x86-record_goto.S: New.
4721
0688d04e
MM
47222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4723
4724 * gdb.btrace/function_call_history.exp: Update tests.
4725 * gdb.btrace/instruction_history.exp: Update tests.
4726
8710b709
MM
47272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4728
4729 * gdb.btrace/function_call_history.exp: Fix expected field
4730 order for "record function-call-history".
4731 Add new tests for "record function-call-history /c".
4732 * gdb.btrace/exception.cc: New.
4733 * gdb.btrace/exception.exp: New.
4734 * gdb.btrace/tailcall.exp: New.
4735 * gdb.btrace/x86-tailcall.S: New.
4736 * gdb.btrace/x86-tailcall.c: New.
4737 * gdb.btrace/unknown_functions.c: New.
4738 * gdb.btrace/unknown_functions.exp: New.
4739 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4740
5de9129b
MM
47412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4742
4743 * gdb.btrace/instruction_history.exp: Update.
4744 * gdb.btrace/function_call_history.exp: Update.
4745
23a7fe75
MM
47462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4747
4748 * gdb.btrace/function_call_history.exp: Fix expected function
4749 trace.
4750 * gdb.btrace/instruction_history.exp: Initialize traced.
4751 Remove traced_functions.
4752
724c7dd8
MM
47532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4754
4755 * gdb.btrace/function_call_history.exp: Update
4756 * gdb.btrace/instruction_history.exp: Update.
4757
6d78d93b
MM
47582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4759
4760 * gdb.btrace/enable.exp: Update expected text.
4761
93a360cc
OJ
47622014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4763
4764 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4765 bytes.
4766
3772b53f
MR
47672014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4768
4769 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4770
596662fa
OJ
47712014-01-15 Omair Javaid <omair.javaid@linaro.org>
4772
4773 * lib/gdb.exp (supports_process_record): Return true for
4774 arm*-linux*. (supports_reverse): Likewise.
4775
b5b08fb4
SC
47762014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4777
4778 PR python/15464
4779 PR python/16113
4780 * gdb.python/py-type.c: Enhance test case.
4781 * gdb.python/py-value-cc.cc: Likewise
4782 * gdb.python/py-type.exp: Add new tests.
4783 * gdb.python/py-value-cc.exp: Likewise
4784
52d7fb13
AA
47852014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4786 Pedro Alves <palves@redhat.com>
4787
4788 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4789 Make "name" extern.
4790 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4791 references to ${name}_start by references to ${name}.
4792
a2cd8cfe
JB
47932014-01-10 Joel Brobecker <brobecker@adacore.com>
4794
4795 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4796
4e23fced
JB
47972014-01-10 Joel Brobecker <brobecker@adacore.com>
4798
4799 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4800
c6a9e42c
PA
48012014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4802 Pedro Alves <palves@redhat.com>
4803
4804 * gdb.mi/mi-info-os.exp: Connect to the target with
4805 mi_gdb_target_load.
4806
b7ea362b
PA
48072014-01-08 Pedro Alves <palves@redhat.com>
4808
4809 * gdb.threads/reconnect-signal.c: New file.
4810 * gdb.threads/reconnect-signal.exp: New file.
4811
5e3f4fab
EBM
48122014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4813
4814 * gdb.base/source-dir.exp: New file.
4815
79301218
JB
48162014-01-07 Joel Brobecker <brobecker@adacore.com>
4817
4818 * gdb.ada/mi_interface: New testcase.
4819
8e355c5d
JB
48202014-01-07 Joel Brobecker <brobecker@adacore.com>
4821
4822 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4823 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4824 gdb.ada/pp-rec-component/pck.ads: New files.
4825
c0d48811
JB
48262014-01-07 Joel Brobecker <brobecker@adacore.com>
4827
4828 * gdb.python/py-pp-integral.c: New file.
4829 * gdb.python/py-pp-integral.py: New file.
4830 * gdb.python/py-pp-integral.exp: New file.
4831
17b609c3 4832For older changes see ChangeLog-1993-2013.
c906108c 4833\f
8d8cb839
EZ
4834;; Local Variables:
4835;; mode: change-log
4836;; left-margin: 8
4837;; fill-column: 74
4838;; version-control: never
4839;; End:
902f2ccb 4840
32d0add0 4841 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4842 Copying and distribution of this file, with or without modification,
4843 are permitted provided the copyright notice and this notice are preserved.