]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix gdbserver_reconnect_p handling
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
1ca99c42
PA
12015-04-16 Pedro Alves <palves@redhat.com>
2
3 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4 is set, don't exit gdbserver.
5
af9fd6f8
AA
62015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7
8 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9 appropriate .insn, such that an older assembler can be used.
10 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11 the z/Architecture instruction set on 31-bit targets as well.
12
04ff1e61
AA
132015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14
15 * gdb.go/handcall.exp: Remove all logic related to the first
16 breakpoint and rely on go_runto_main instead.
17 * gdb.go/strings.exp: Likewise.
18 * gdb.go/unsafe.exp: Likewise.
19 * gdb.go/hello.exp: Likewise. Also rename the remaining
20 breakpoint marker to "breakpoint 1".
21 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
22 * gdb.go/strings.go: Likewise.
23 * gdb.go/unsafe.go: Likewise.
24 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
25 "set breakpoint 2 here" and rename the remaining breakpoint marker
26 to "breakpoint 1".
27
40d2f8d6
SM
282015-04-15 Simon Marchi <simon.marchi@ericsson.com>
29
30 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
31 if itertools.imap is not present.
32 * gdb.python/py-objfile.exp: Add parentheses.
33 * gdb.python/py-type.exp: Same.
34 * gdb.python/py-unwind-maint.py: Same.
35
8cbc97c6
YQ
362015-04-15 Yao Qi <yao.qi@linaro.org>
37
38 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
39 of ":$ptr_size" and set its form explicitly.
40
45fd756c
YQ
412015-04-15 Pedro Alves <palves@redhat.com>
42 Yao Qi <yao.qi@linaro.org>
43
44 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
45 timeout by factor of 4.
46 (test_regular_watch): Likewise.
47 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
48 * gdb.reverse/sigall-reverse.exp: Likewise.
49 * gdb.reverse/until-precsave.exp: Likewise.
50 * lib/gdb.exp (with_timeout_factor): New proc.
51 (gdb_expect): Move some code to ...
52 (get_largest_timeout): ... here. New procedure.
53
9e811bc3
LM
542015-04-14 Luis Machado <lgustavo@codesourcery.com>
55
56 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
57
0ff6fcb2
LM
582015-04-13 Luis Machado <lgustavo@codesourcery.com>
59
60 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
61 to write to the .text section.
62
7578d5f7
LM
632015-04-13 Luis Machado <lgustavo@codesourcery.com>
64
65 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
66 Handle the case of targets that do not provide PID information.
67
2efe15c4
YQ
682015-04-13 Yao Qi <yao.qi@linaro.org>
69
70 * lib/gdbserver-support.exp (gdb_exit): Catch exception
71 and use expect instead of gdb_expect.
72
8cd8f2f8
SDJ
732015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
74
75 * gdb.base/coredump-filter.exp: Rename variable "addr" to
76 "coredump_var_addr" to avoid naming conflict with other testcases.
77
9ee41772
PA
782015-04-10 Pedro Alves <palves@redhat.com>
79
80 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
81 gdb_test_sequence and gdb_assert.
82
07473109
PA
832015-04-10 Pedro Alves <palves@redhat.com>
84
85 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
86 test messages that don't include the breakpoint address.
87
de3db44c
YQ
882015-04-10 Yao Qi <yao.qi@linaro.org>
89
90 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
91 false for some offset and width combinations which aren't
92 supported by linux kernel.
93
c79d856c
PA
942015-04-10 Pedro Alves <palves@redhat.com>
95
96 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
97 procedure, factored out from ...
98 (top level): ... here. Add "set displaced-stepping" testing axis.
99 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
100 parameter "displaced". Use it.
101 (top level): Use foreach and add "set displaced-stepping" testing
102 axis.
103
ebc90b50
PA
1042015-04-10 Pedro Alves <palves@redhat.com>
105
106 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
107 Remove comment.
108 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
109 both the address of the instruction that triggers the watchpoint
110 and the address of the instruction immediately after, and use
111 those addresses for the test. Fix comment.
112
8f572e5c
PA
1132015-04-10 Pedro Alves <palves@redhat.com>
114
115 * gdb.base/sigstep.exp (breakpoint_to_handler)
116 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
117 Test "backtrace" in handler.
118 (breakpoint_over_handler): New parameter 'displaced'. Use it.
119 (top level): Add new "displaced" test axis to
120 breakpoint_to_handler, breakpoint_to_handler_entry and
121 breakpoint_over_handler.
122
8d707a12
PA
1232015-04-10 Pedro Alves <palves@redhat.com>
124
125 PR gdb/18216
126 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
127
ef713951
YQ
1282015-04-10 Yao Qi <yao.qi@linaro.org>
129
130 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
131 (test_add_rn_pc): New function.
132 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
133 (top level): Invoke test_add_rn_pc.
134
906d60cf
PA
1352015-04-10 Pedro Alves <palves@redhat.com>
136
137 PR gdb/13858
138 * gdb.base/step-over-no-symbols.exp: New file.
139
f2983cc3
AW
1402015-04-09 Andy Wingo <wingo@igalia.com>
141
142 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
143 after the Python tests.
144
6d62641c
SDJ
1452015-04-08 Keith Seitz <keiths@redhat.com>
146
147 PR python/16699
148 * gdb.python/py-completion.exp: New tests for completion.
149 * gdb.python/py-completion.py (CompleteLimit1): New class.
150 (CompleteLimit2): Likewise.
151 (CompleteLimit3): Likewise.
152 (CompleteLimit4): Likewise.
153 (CompleteLimit5): Likewise.
154 (CompleteLimit6): Likewise.
155 (CompleteLimit7): Likewise.
156
f3770638
PA
1572015-04-08 Pedro Alves <palves@redhat.com>
158
159 PR gdb/18214
160 PR gdb/18216
161 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
162 function.
163 (main): Install it as SIGUSR1 handler.
164 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
165 parameter. Always use "setup" as prefix. Toggle "set
166 displaced-stepping" off/on depending on global. Don't switch to
167 thread 1 here.
168 (top level): Add displaced stepping "off/on" test axis. Update
169 "setup" calls. Wrap each subtest with with_test_prefix. Test
170 continuing with a queued signal in each thread.
171
4496bed7
PA
1722015-04-08 Pedro Alves <palves@redhat.com>
173
174 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
175 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
176 gdb_breakpoint instead of gdb_test that doesn't expect anything.
177 Return early if running to main fails.
178 * gdb.trace/while-stepping.exp: Likewise.
179
b97fde92
PA
1802015-04-07 Pedro Alves <palves@redhat.com>
181
182 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
183 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
184 interact with inferior program.
185
f71c18e7
PA
1862015-04-07 Pedro Alves <palves@redhat.com>
187
188 * lib/gdb.exp (inferior_spawn_id): New global.
189 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
190 spawn id after processing the user code.
191 (default_gdb_start): Set inferior_spawn_id.
192 (send_inferior): New procedure.
193 * lib/gdbserver-support.exp (gdbserver_start): Set
194 inferior_spawn_id.
195 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
196
6423214f
PA
1972015-04-07 Pedro Alves <palves@redhat.com>
198
199 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
200 * lib/gdbserver-support.exp (gdbserver_start): Make
201 $server_spawn_id global.
202 (gdbserver_start): Don't wait for gdbserver's spawn id with
203 expect_background.
204 (close_gdbserver): New procedure.
205 (gdb_exit): Rename the default version and reimplement.
206
71c0ee8c
PA
2072015-04-07 Pedro Alves <palves@redhat.com>
208
209 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
210 append the substituted item, not the original item.
211
203bc29b
PA
2122015-04-07 Pedro Alves <palves@redhat.com>
213
214 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
215 gdb_expect.
216
508a3ddf
PA
2172015-04-07 Pedro Alves <palves@redhat.com>
218
219 * gdb.base/interrupt.exp: Don't handle the case of the inferior
220 output appearing once only.
221
9f6dbe2b
PA
2222015-04-07 Pedro Alves <palves@redhat.com>
223
224 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
225 that doesn't expect anything. Return early if running to main
226 fails.
227
337532fa
YQ
2282015-04-07 Yao Qi <yao.qi@linaro.org>
229
230 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
231 (child_function): Call alarm.
232 (main): Move call to alarm into the loop.
233 * gdb.threads/non-stop-fair-events.exp: Build program with
234 -DTIMEOUT=$timeout.
235
01b622d4
DE
2362015-04-06 Doug Evans <xdje42@gmail.com>
237
238 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
239 Fix dest parameter to board_info.
240 (fpc_compile): Ditto.
241 (gdb_compile_pascal): Rename dest arg to destfile.
242
961f4160
PMR
2432015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
244
245 * gdb.ada/funcall_ref.exp: New file.
246 * gdb.ada/funcall_ref/foo.adb: New file.
247
cafda597
YQ
2482015-04-02 Yao Qi <yao.qi@linaro.org>
249
250 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
251 is remote.
252
fed040c6
GB
2532015-04-02 Gary Benson <gbenson@redhat.com>
254
255 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
256
d11916aa
SS
2572015-04-01 Sasha Smundak <asmundak@google.com>
258
259 * gdb.python/py-unwind-maint.c: New file.
260 * gdb.python/py-unwind-maint.exp: New test.
261 * gdb.python/py-unwind-maint.py: New file.
262 * gdb.python/py-unwind.c: New file.
263 * gdb.python/py-unwind.exp: New test.
264 * gdb.python/py-unwind.py: New test.
265
a1471180
PA
2662015-04-01 Pedro Alves <palves@redhat.com>
267
268 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
269 to fail instead of non-existent $test.
270
0bbeccb1
PA
2712015-04-01 Pedro Alves <palves@redhat.com>
272
273 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
274 GDBFLAGS if not empty.
275
3c724c8c
PMR
2762015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
277
278 * gdb.ada/complete.exp: Remove "multi_line".
279 * gdb.ada/info_exc.exp: Remove "multi_line".
280 * gdb.ada/packed_tagged.exp: Remove "multi_line".
281 * gdb.ada/ptype_field.exp: Remove "multi_line".
282 * gdb.ada/sym_print_name.exp: Remove "multi_line".
283 * gdb.ada/tagged.exp: Remove "multi_line".
284 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
285 [multi_line ...]
286 * gdb.btrace/delta.exp: Likewise.
287 * gdb.btrace/exception.exp: Likewise.
288 * gdb.btrace/function_call_history.exp: Likewise.
289 * gdb.btrace/instruction_history.exp: Likewise.
290 * gdb.btrace/nohist.exp: Likewise.
291 * gdb.btrace/record_goto.exp: Likewise.
292 * gdb.btrace/segv.exp: Likewise.
293 * gdb.btrace/stepi.exp: Likewise.
294 * gdb.btrace/tailcall.exp: Likewise.
295 * gdb.btrace/unknown_functions.exp: Likewise.
296 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
297 * lib/gdb.exp: Add the "multi_line" helper.
298
4eec2deb
PA
2992015-04-01 Pedro Alves <palves@redhat.com>
300
301 * gdb.threads/tid-reuse.c: New file.
302 * gdb.threads/tid-reuse.exp: New file.
303
df8411da
SDJ
3042015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
305
306 PR corefiles/16092
307 * gdb.base/coredump-filter.c: New file.
308 * gdb.base/coredump-filter.exp: Likewise.
309
6ef37366
PM
3102015-03-27 Petr Machata <pmachata@redhat.com>
311
312 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
313 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
314 (Dwarf::assemble): Initialize them.
315 (Dwarf::lines): New function.
316
7ec911b0
JT
3172015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
318
319 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
320 SYMBOL_PREFIX for x86_64-*-cygwin.
321
ff908ebf
AW
3222015-03-26 Andy Wingo <wingo@igalia.com>
323
324 PR symtab/18148
325 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
326 const_value but not a location.
327 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
328 location defined in non-main CUs are visible.
329
6d5f0679
YQ
3302015-03-26 Yao Qi <yao.qi@linaro.org>
331
332 PR testsuite/18139
333 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
334 Add a line number entry for the same line.
335 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
336 Add a line number entry for the same line.
337
2898689b
YQ
3382015-03-26 Yao Qi <yao.qi@linaro.org>
339
340 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
341 .int 0.
342 (func): Likewise. Add .Lfunc_1 label.
343 Use .Lfunc_1 label.
344 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
345 .int 0.
346 (func): Likewise.
347 Use .Lfunc_1 label.
348
85180498
YQ
3492015-03-26 Yao Qi <yao.qi@linaro.org>
350
351 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
352 Call gdb_compile instead to compile each .s files without debug
353 information.
354
8aa08a8d
YQ
3552015-03-26 Yao Qi <yao.qi@linaro.org>
356
357 * gdb.base/savedregs.exp (process_saved_regs): Make
358 "Saved registers:" optional in the pattern.
359
66849923
MM
3602015-03-25 Markus Metzger <markus.t.metzger@intel.com>
361
362 * gdb.btrace/next.exp: Merged into step.exp.
363 * gdb.btrace/finish.exp: Merged into step.exp.
364 * gdb.btrace/nexti.exp: Merged into stepi.exp.
365 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
366 "record goto" and checking the exact replay position.
367 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
368 check for "Recording format" in "info record" output.
369 * gdb.btrace/record_goto.exp: Choose test file based on target.
370 * gdb.btrace/x86-record_goto.S: Renamed into ...
371 * gdb.btrace/x86_64-record_goto.S: ... this.
372 * gdb.btrace/i686-record_goto.S: New.
373 * gdb.btrace/x86-tailcall.S: Renamed into ...
374 * gdb.btrace/x86_64-tailcall.S: ... this.
375 * gdb.btrace/i686-tailcall.S: New.
376 * gdb.btrace/x86-tailcall.c: Renamed into ...
377 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
378 separate statements. Update test.
379 * gdb.btrace/delta.exp: Use record_goto.c as test file.
380 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
381 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
382 * gdb.btrace/tailcall.exp: Choose test file based on target.
383 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
384
11cc1b74
MM
3852015-03-25 Markus Metzger <markus.t.metzger@intel.com>
386
387 * gdb.btrace/exception.exp: Increase BTS buffer size.
388
a25d8bf9
PA
3892015-03-24 Pedro Alves <palves@redhat.com>
390
391 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
392
856e7dd6
PA
3932015-03-24 Pedro Alves <palves@redhat.com>
394
395 * gdb.threads/schedlock.exp (test_step): No longer expect that
396 "set scheduler-locking step" with "next" over a function call runs
397 threads unlocked.
398
ad235a41
AT
3992015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
400
401 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
402
15630549
AT
4032015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
404
405 PR breakpoints/16466
406 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
407 * gdb.mi/mi-pending.c (thread_func): New function.
408 (int main): Add threading support required.
409 * gdb.mi/mi-pending.exp: Add tests for this issue.
410 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
411 (pendfunc2): Remove stdio dependency.
412 * gdb.mi/mi-pendshr2.c: New file.
413
693dca06
KS
4142015-03-23 Keith Seitz <keiths@redhat.com>
415
416 * gdb.linespec/keywords.c: New file.
417 * gdb.linespec/keywords.exp: New file.
418
7e993ebf
KS
4192015-03-23 Keith Seitz <keiths@redhat.com>
420
421 PR gdb/18021
422 * gdb.dwarf2/staticvirtual.exp: New test.
423
bc23328c
JK
4242015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
425
426 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
427 * README: Remove HP-UX and gdb.hp.
428 (configuration):
429 * configure: Regenerate.
430 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
431 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
432 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
433 gdb.hp/gdb.defects/Makefile.
434 * gdb.hp/Makefile.in: File deleted.
435 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
436 * gdb.hp/gdb.aCC/optimize.c: File deleted.
437 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
438 * gdb.hp/gdb.aCC/run.c: File deleted.
439 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
440 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
441 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
442 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
443 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
444 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
445 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
446 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
447 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
448 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
449 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
450 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
451 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
452 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
453 * gdb.hp/gdb.base-hp/reg.s: File deleted.
454 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
455 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
456 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
457 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
458 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
459 * gdb.hp/gdb.compat/Makefile.in: File deleted.
460 * gdb.hp/gdb.compat/average.c: File deleted.
461 * gdb.hp/gdb.compat/sum.c: File deleted.
462 * gdb.hp/gdb.compat/xdb.c: File deleted.
463 * gdb.hp/gdb.compat/xdb0.c: File deleted.
464 * gdb.hp/gdb.compat/xdb0.h: File deleted.
465 * gdb.hp/gdb.compat/xdb1.c: File deleted.
466 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
467 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
468 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
469 * gdb.hp/gdb.defects/Makefile.in: File deleted.
470 * gdb.hp/gdb.defects/bs14602.c: File deleted.
471 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
472 * gdb.hp/gdb.defects/solib-d.c: File deleted.
473 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
474 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
475 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
476 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
477 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
478 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
479 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
480 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
481 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
482 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
483 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
484 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
485 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
486 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
487 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
488 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
489 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
490 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
491 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
492 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
493 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
494 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
495 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
496 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
497 * gdb.hp/tools/odump: File deleted.
498
8bf3b159
PA
4992015-03-19 Pedro Alves <palves@redhat.com>
500
501 * gdb.threads/continue-pending-status.exp (saw_thread_2)
502 (saw_thread_3): New globals.
503 (top level): Increment them when an event for the corresponding
504 thread is seen.
505 (no thread starvation): New test.
506
eb54c8bf
PA
5072015-03-19 Pedro Alves <palves@redhat.com>
508
509 * gdb.threads/continue-pending-status.c: New file.
510 * gdb.threads/continue-pending-status.exp: New file.
511
32d2e5d6
PA
5122015-03-18 Pedro Alves <palves@redhat.com>
513
514 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
515 Use gdb_is_target_remote instead of is_remote. Use
516 gdb_test_multiple instead of gdb_expect. Exit early if
517 gdb_test_multiple hits its internal matches. Tighten stepi tests
518 expected output. Fail on exit with any signal, instead of just
519 SIGILL.
520
f68f11b7
YQ
5212015-03-18 Yao Qi <yao.qi@linaro.org>
522
523 PR tdep/18107
524 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
525 variable.
526 * gdb.base/catch-syscall.exp: Don't skip it on
527 aarch64*-*-linux* target. Remove elements in all_syscalls.
528 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
529 target.
530 (setup_all_syscalls): New proc.
531
ca5fd19b
YQ
5322015-03-16 Yao Qi <yao.qi@linaro.org>
533
534 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
535 (top level): Skip tests if valid_addr_p returns false for
536 $cmd1 or $cmd2.
537
85642ba0
AW
5382015-03-11 Andy Wingo <wingo@igalia.com>
539
540 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
541
e03f9645
YQ
5422015-03-11 Yao Qi <yao.qi@linaro.org>
543
544 * gdb.base/catch-syscall.exp: Fix typo in comments.
545
5d0962b2
YQ
5462015-03-11 Yao Qi <yao.qi@linaro.org>
547
548 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
549
b2df3cef
PA
5502015-03-09 Pedro Alves <palves@redhat.com>
551
552 * dg-extract-results.py: Delete.
553
ef878e53
PA
5542015-03-09 Pedro Alves <palves@redhat.com>
555
556 Merge dg-extract-results.sh from GCC upstream (r218843).
557
558 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
559 * dg-extract-results.sh: Use --text with grep to avoid issues with
560 binary files. Fall back to cat -v, if that doesn't work.
561
9494d219
PA
5622015-03-05 Pedro Alves <palves@redhat.com>
563
564 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
565
a8d9763a
SM
5662015-03-04 Simon Marchi <simon.marchi@ericsson.com>
567
568 * lib/mi-support.exp (mi_expect_interrupt): Accept
569 alternative event for when in all-stop mode.
570
be9957b8
PA
5712015-03-04 Pedro Alves <palves@redhat.com>
572
573 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
574
d57be0f4 5752015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
576
577 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
578
c214c7cf
AA
5792015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
580
581 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
582 regexps for GDB's current line display, accept a hex address
583 preceding the line number.
584
6d74a497
AA
5852015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
586
587 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
588 the 'arch1' variable for "s390*-linux*" targets.
589
511aee7c
PA
5902015-03-04 Pedro Alves <palves@redhat.com>
591
592 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
593 (main): Pass missing retval argument to pthread_join call.
594
95e50b27
PA
5952015-03-02 Pedro Alves <palves@redhat.com>
596
597 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
598 (top level): Call do_test with non-stop as well.
599
28054d69
PA
6002015-03-02 Pedro Alves <palves@redhat.com>
601
602 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
603 -1.
604
4fa5d7b4
AA
6052015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
606
607 * gdb.arch/s390-vregs.exp: New test.
608 * gdb.arch/s390-vregs.S: New file.
609
97c18565
PA
6102015-02-27 Pedro Alves <palves@redhat.com>
611
612 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
613 call to catch_command_errors.
614 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
615 catch_command_errors.
616
a37bfa30
PA
6172015-02-27 Pedro Alves <palves@redhat.com>
618
619 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
620 "true" for boolean result.
621 * gdb.gdb/selftest.exp (test_with_self): Also accept full
622 prototype of main.
623
6f98576f
PA
6242015-02-27 Pedro Alves <palves@redhat.com>
625
626 * lib/unbuffer_output.c: New file.
627 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
628 (main): Call gdb_unbuffer_output.
629
eba5ab56
YQ
6302015-02-27 Yao Qi <yao.qi@linaro.org>
631
632 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
633 target.
634
0def5aaa
DE
6352015-02-26 Doug Evans <dje@google.com>
636
637 * gdb.cp/class2.cc (Dbase, D): New classes.
638 (main): New local delta.
639 * gdb.cp/class2.exp: Test printing delta.
640 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
641 (dynbar): New global.
642 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
643
081a1c2c
JK
6442015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
645
646 * gdb.compile/compile-ifunc.c: New file.
647 * gdb.compile/compile-ifunc.exp: New file.
648
2f41223f
AT
6492015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
650
651 * gdb.base/structs.exp: Check for correct struct on finish.
652
03eddd80
YQ
6532015-02-26 Yao Qi <yao.qi@linaro.org>
654
655 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
656 is zero.
657
80c57053
JK
6582015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
659
660 * gdb.arch/cordic.ko.bz2: New file.
661 * gdb.arch/cordic.ko.debug.bz2: New file.
662 * gdb.arch/ppc64-symtab-cordic.exp: New file.
663
21613c12
YQ
6642015-02-25 Yao Qi <yao.qi@linaro.org>
665
666 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
667 aarch64*-*-* target.
668
d8b901ed
PA
6692015-02-23 Pedro Alves <palves@redhat.com>
670
671 * lib/gdb.exp (delete_breakpoints): Rewrite using
672 gdb_test_multiple.
673
e5b85ead
PA
6742015-02-23 Pedro Alves <palves@redhat.com>
675
676 * gdb.base/info-os.c: Include stdlib.h.
677
85c3a371
DE
6782015-02-22 Doug Evans <xdje42@gmail.com>
679
680 PR symtab/17855
681 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
682 is read after symbols have been re-read.
683 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
684 * gdb.ada/exec_changed/second.adb (Second): Ditto.
685
96553a0c
DE
6862015-02-21 Doug Evans <dje@google.com>
687
688 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
689
97a0c697
JK
6902015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
691
692 PR corefiles/17808
693 * gdb.arch/i386-biarch-core.core.bz2: New file.
694 * gdb.arch/i386-biarch-core.exp: New file.
695
a47cd6e9
PA
6962015-02-21 Pedro Alves <palves@redhat.com>
697
698 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
699 runto_main fails.
700
c5facdc4
PA
7012015-02-20 Pedro Alves <palves@redhat.com>
702
703 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
704 info probes.
705
2db9a427
PA
7062015-02-20 Pedro Alves <palves@redhat.com>
707
708 * gdb.threads/multi-create-ns-info-thr.exp: New file.
709
60fb7e9e
PA
7102015-02-20 Pedro Alves <palves@redhat.com>
711
712 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
713 clean_restart before gdb_target_supports_trace.
714
5c5019c2
PA
7152015-02-20 Pedro Alves <palves@redhat.com>
716
717 PR threads/18006
718 * gdb.threads/clone-thread_db.c: New file.
719 * gdb.threads/clone-thread_db.exp: New file.
720
c9587f88
AT
7212015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
722
723 PR breakpoints/16812
724 * gdb.base/catch-gdb-caused-signals.c: New file.
725 * gdb.base/catch-gdb-caused-signals.exp: New file.
726
f6a88844
JM
7272015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
728
729 * configure: Regenerated.
730 * configure.ac: Use GDB_AC_TRANSFORM.
731 * aclocal.m4: sinclude ../transform.m4.
732
497c491b
JM
7332015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
734
735 * lib/dtrace.exp: New file.
736 * gdb.base/dtrace-probe.exp: Likewise.
737 * gdb.base/dtrace-probe.d: Likewise.
738 * gdb.base/dtrace-probe.c: Likewise.
739 * lib/pdtrace.in: Likewise.
740 * configure.ac: Output variables with the transformed names of
741 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
742 * configure: Regenerated.
743
03e98035
JM
7442015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
745
746 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
747 expected message when trying to access $_probe_* convenience
748 variables while not on a probe.
749
63cc30e9
JK
7502015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
753
0703599a
PA
7542015-02-11 Pedro Alves <pedro@codesourcery.com>
755
756 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
757 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
758
7e60a48e
DE
7592015-02-10 Doug Evans <xdje42@gmail.com>
760
761 * lib/gdb.exp (gdb_load): Always return a result.
762
01b088bc
PA
7632015-02-10 Pedro Alves <palves@redhat.com>
764
765 * gdb.threads/signal-sigtrap.c: New file.
766 * gdb.threads/signal-sigtrap.exp: New file.
767
b05ec7a5
AT
7682015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
769
770 * gdb.trace/no-attach-trace.c: New file.
771 * gdb.trace/no-attach-trace.exp: New file.
772
a2c2acaf
MW
7732015-02-09 Mark Wielaard <mjw@redhat.com>
774
775 * gdb.dwarf2/atomic.c: New file.
776 * gdb.dwarf2/atomic-type.exp: Likewise.
777
31fd9caa
MM
7782015-02-09 Markus Metzger <markus.t.metzger@intel.com>
779
780 * gdb.btrace/buffer-size.exp: Update "info record" output.
781 * gdb.btrace/delta.exp: Update "info record" output.
782 * gdb.btrace/enable.exp: Update "info record" output.
783 * gdb.btrace/finish.exp: Update "info record" output.
784 * gdb.btrace/instruction_history.exp: Update "info record" output.
785 * gdb.btrace/next.exp: Update "info record" output.
786 * gdb.btrace/nexti.exp: Update "info record" output.
787 * gdb.btrace/step.exp: Update "info record" output.
788 * gdb.btrace/stepi.exp: Update "info record" output.
789 * gdb.btrace/nohist.exp: Update "info record" output.
790
d33501a5
MM
7912015-02-09 Markus Metzger <markus.t.metzger@intel.com>
792
793 * gdb.btrace/buffer-size: New.
794
f4abbc16
MM
7952015-02-09 Markus Metzger <markus.t.metzger@intel.com>
796
797 * gdb.btrace/delta.exp: Update "info record" output.
798 * gdb.btrace/enable.exp: Update "info record" output.
799 * gdb.btrace/finish.exp: Update "info record" output.
800 * gdb.btrace/instruction_history.exp: Update "info record" output.
801 * gdb.btrace/next.exp: Update "info record" output.
802 * gdb.btrace/nexti.exp: Update "info record" output.
803 * gdb.btrace/step.exp: Update "info record" output.
804 * gdb.btrace/stepi.exp: Update "info record" output.
805 * gdb.btrace/nohist.exp: Update "info record" output.
806
b9d61307
SM
8072015-02-06 Simon Marchi <simon.marchi@ericsson.com>
808
809 PR gdb/15678
810 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
811
e584fdbc
PA
8122015-02-06 Pedro Alves <palves@redhat.com>
813
814 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
815 macro.
816 (seconds_left, again): New globals.
817 (main): Wait seconds_left in a 1-second sleep loop instead of
818 sleeping 180 seconds. If 'again' is set, reset the seconds
819 counter.
820 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
821 'again' in the inferior before detaching. Print the seconds left.
822 (options): New global.
823 (top level): Build program with -DTIMEOUT=$timeout.
824
77f41761
PA
8252015-02-06 Pedro Alves <palves@redhat.com>
826
827 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
828 determine how many seconds to pass to 'alarm'.
829 * gdb.base/gdb-sigterm.exp (top level): Build program with
830 -DTIMEOUT=$timeout.
831 (do_test): Return success/failure indication. Add more verbose
832 logging. Don't fail if 200 single steps are seen. Instead, fail
833 when the test times out.
834 (passes): New global.
835 (top level): Break the testing loop if testing fails on any
836 iteration. Use gdb_assert.
837
b9394193
DB
8382015-02-04 Don Breazeal <donb@codesourcery.com>
839
840 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
841 and initialize them.
842 (ipc_cleanup): New function.
843 (main): Don't declare shmid, semid, and msqid. Add a call to
844 atexit so that we call ipc_cleanup on exit.
845
42d9e528
PA
8462015-02-04 Pedro Alves <palves@redhat.com>
847
848 * boards/native-extended-gdbserver.exp: Remove any target variant
849 specifications from the board name before clearing the isremote
850 flag from board_info.
851
ae6ae975
DE
8522015-01-31 Doug Evans <xdje42@gmail.com>
853
854 * gdb.base/maint.exp <maint print type argc>: Update expected output.
855
cfb069a8
GB
8562015-01-31 Gary Benson <gbenson@redhat.com>
857
858 * gdb.base/completion.exp: Disable completion limiting for
859 existing tests. Add new tests to check completion limiting.
860 * gdb.linespec/ls-errs.exp: Disable completion limiting.
861
5dd31d79
DE
8622015-01-31 Doug Evans <xdje42@gmail.com>
863
864 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
865
9f050062
DE
8662015-01-31 Doug Evans <xdje42@gmail.com>
867
868 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
869 entries. Duplicate file section script entries.
870 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
871 inlined entries. Add test for safe-path rejection.
872 * gdb.python/py-section-script.c: Add duplicate inlined section script
873 entries. Duplicate file section script entries.
874 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
875 inlined entries. Add test for safe-path rejection.
876
df25ebbd
JB
8772015-01-29 Joel Brobecker <brobecker@adacore.com>
878
879 * gdb.ada/disc_arr_bound: New testcase.
880
4a0ca9ec
JB
8812015-01-29 Joel Brobecker <brobecker@adacore.com>
882
883 * gdb.ada/mi_var_array: New testcase.
884
3a8b707a
DE
8852015-01-27 Doug Evans <dje@google.com>
886
887 * gdb.python/py-objfile.exp: Add tests for objfile.username.
888 Add test for objfile.filename, objfile.username after objfile
889 has been unloaded.
890
f8313f6e
JB
8912015-01-26 Joel Brobecker <brobecker@adacore.com>
892
893 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
894 the second test to print the name attribute of value
895 returned by the call to gdb.lookup_type, and adjust
896 the expected output accordingly.
897
37bc665e
MW
8982015-01-25 Mark Wielaard <mjw@redhat.com>
899
900 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
901 * gdb.base/disp-step-fork.c: Include unistd.h.
902 * gdb.base/siginfo-obj.c: Include stdio.h.
903 * gdb.base/siginfo-thread.c: Likewise.
904 * gdb.mi/non-stop.c: Include unistd.h.
905 * gdb.mi/nsthrexec.c: Include stdio.h.
906 * gdb.mi/pthreads.c: Include unistd.h.
907 * gdb.modula2/unbounded1.c (main): Declare returns int.
908 * gdb.reverse/consecutive-reverse.c: Likewise.
909 * gdb.threads/create-fail.c: Include unistd.h.
910 * gdb.threads/killed.c: Likewise.
911 * gdb.threads/linux-dp.c: Likewise.
912 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
913 * gdb.threads/non-ldr-exc-2.c: Likewise.
914 * gdb.threads/non-ldr-exc-3.c: Likewise.
915 * gdb.threads/non-ldr-exc-4.c: Likewise.
916 * gdb.threads/pthreads.c: Include unistd.h.
917 (main): Declare returns int.
918 * gdb.threads/tls-main.c (foo): New declaration.
919 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
920
f7e5394d
SM
9212015-01-23 Simon Marchi <simon.marchi@ericsson.com>
922
923 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
924 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
925
743649fd
MW
9262015-01-15 Mark Wielaard <mjw@redhat.com>
927
928 * gdb.base/noreturn-return.c: New file.
929 * gdb.base/noreturn-return.exp: New file.
930 * gdb.base/noreturn-finish.c: New file.
931 * gdb.base/noreturn-finish.exp: New file.
932
198297aa
PA
9332015-01-23 Pedro Alves <palves@redhat.com>
934
935 * gdb.threads/continue-pending-after-query.c: New file.
936 * gdb.threads/continue-pending-after-query.exp: New file.
937
717cf30c
AG
9382015-01-22 Anders Granlund <anders.granlund@ericsson.com>
939 Simon Marchi <simon.marchi@ericsson.com>
940
941 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
942 * gdb.base/valgrind-db-attach.exp: Same.
943 * gdb.base/valgrind-infcall.exp: Same.
944 * lib/mi-support.exp (default_mi_gdb_start): Same.
945 * lib/prompt.exp (default_prompt_gdb_start): Same.
946 * lib/gdb.exp (default_gdb_spawn): Same.
947 (gdb_interact): New.
948
949
4b62a76e
JK
9502015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
951
952 * gdb.compile/compile.exp (pointer to jit function): New test.
953
b4cdae6f
WW
9542015-01-17 Wei-cheng Wang <cole945@gmail.com>
955
956 * lib/gdb.exp (supports_process_record): Return true for
957 powerpc*-*-linux*.
958 (supports_reverse): Likewise.
959
d221e7ef
DB
9602015-01-15 Don Breazeal <donb@codesourcery.com>
961
962 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
963 instead of checking whether the target board is remote and
964 use spawn_wait_for_attach instead of exec/sleep.
965 * gdb.base/attach-twice.exp: Likewise.
966
bafffb51
JB
9672015-01-15 Joel Brobecker <brobecker@adacore.com>
968
969 * gdb.ada/var_arr_attrs: New testcase.
970
5589af0e
PA
9712015-01-14 Pedro Alves <palves@redhat.com>
972 Joel Brobecker <brobecker@adacore.com>
973
974 PR gdb/17525
975 * gdb.base/bp-cmds-execution-x-script.c: New file.
976 * gdb.base/bp-cmds-execution-x-script.exp: New file.
977 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
978
6c400b59
PA
9792015-01-14 Pedro Alves <palves@redhat.com>
980
981 PR cli/17828
982 * gdb.base/batch-preserve-term-settings.c: New file.
983 * gdb.base/batch-preserve-term-settings.exp: New file.
984
e02c96a7
DE
9852015-01-13 Doug Evans <dje@google.com>
986
987 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
988 binary.
989
576fd14c
JB
9902015-01-13 Joel Brobecker <brobecker@adacore.com>
991
992 * Makefile.in (clean mostlyclean): Do not delete *.py.
993
04dccad0
JB
9942015-01-13 Joel Brobecker <brobecker@adacore.com>
995
996 * gdb.python/py-lookup-type.exp: New file.
997
3d230f71
PA
9982015-01-12 Pedro Alves <palves@redhat.com>
999
1000 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1001 restore GDBFLAGS before returning.
1002
7e67715d
JK
10032015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1004
1005 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1006 is_amd64_regs_target and is_x86_like_target.
1007
f2e0d4b4
DE
10082015-01-11 Doug Evans <xdje42@gmail.com>
1009
1010 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1011 is given without an explicit form.
1012 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1013 attributes.
1014 * gdb.dwarf/corrupt.exp: Ditto.
1015 * gdb.dwarf2/enum-type.exp: Ditto.
1016 * gdb.trace/entry-values.exp: Ditto.
1017 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1018
439250fb
DE
10192015-01-11 Doug Evans <xdje42@gmail.com>
1020
1021 PR gdb/15830
1022 * gdb.base/maint.exp: Remove references to "maint demangle".
1023 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1024 Add tests for explicitly specifying language to demangle.
1025 * gdb.dlang/demangle.exp: Ditto.
1026
ede9f622
PA
10272015-01-09 Pedro Alves <palves@redhat.com>
1028
1029 * gdb.threads/non-stop-fair-events.c: New file.
1030 * gdb.threads/non-stop-fair-events.exp: New file.
1031
a7b796db
PA
10322015-01-09 Pedro Alves <palves@redhat.com>
1033
1034 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1035 the global scope. Set a breakpoint after all threads are started
1036 rather than stepping over two source lines. Expect the prompt.
1037 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1038 global.
1039 (NUM): Now 15.
1040 (main): Use threads_started_barrier to wait for all threads to
1041 start. Main thread no longer calls thread_function. Exit after
1042 180 seconds.
1043 (loop): New function.
1044 (thread_function): Wait on threads_started_barrier barrier. Call
1045 'loop' at each iteration.
1046 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1047 threads have started, instead of hardcoding number of "next"
1048 steps. Use an access watchpoint instead of a write watchpoint.
1049
9665ffdd
PA
10502015-01-09 Pedro Alves <palves@redhat.com>
1051
1052 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1053 (thread_func): Wait on barrier.
1054 (main): Wait for all threads to start before stopping GDB.
1055 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1056 global.
1057 (thread1_func, thread2_func): Wait on barrier.
1058 (main): Wait for all threads to start before stopping GDB.
1059 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1060 New global.
1061 (thread1_func, thread2_func): Wait on barrier.
1062 (main): Wait for all threads to start before stopping GDB.
1063
c945a99f
PA
10642015-01-09 Pedro Alves <palves@redhat.com>
1065
1066 * gdb.threads/attach-many-short-lived-threads.c: New file.
1067 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1068
c1a747c1
PA
10692014-01-09 Pedro Alves <palves@redhat.com>
1070
1071 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1072 instead of to thread 2.
1073 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1074 Add barrier around each pthread_create call instead of around all
1075 calls.
1076 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1077 Set a break on thread_function and have the child threads hit it
1078 one at at a time.
1079
60b3033e
PA
10802015-01-09 Pedro Alves <palves@redhat.com>
1081
1082 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1083 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1084 false.
1085 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1086 checking whether the target board is remote.
1087 * gdb.multi/multi-attach.exp: Likewise.
1088 * gdb.python/py-sync-interp.exp: Likewise.
1089 * gdb.server/ext-attach.exp: Likewise.
1090 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1091 tests that need to attach, instead of checking whether the target
1092 board is remote at the top of the file.
1093
acc018ac
YQ
10942015-01-08 Yao Qi <yao@codesourcery.com>
1095
1096 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1097
50a18af8
JK
10982015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1099
1100 Fix testcase compilation.
1101 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1102
8503d6e1
JB
11032015-01-06 Joel Brobecker <brobecker@adacore.com>
1104
1105 * gdb.python/py-type.exp: Add a couple test about empty
1106 array creation, and negative-length array creation.
1107
cc73dbcc
DE
11082015-01-02 Doug Evans <xdje42@gmail.com>
1109
1110 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1111
0300bbc7
DE
11122015-01-02 Doug Evans <dje@google.com>
1113
1114 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1115
9d85a0ec
YQ
11162014-12-29 Yao Qi <yao@codesourcery.com>
1117
1118 * gdb.trace/entry-values.exp: Update comments. Rename variable
1119 bar_call_foo to returned_from_foo.
1120
87186c6a
MMN
11212014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1122
1123 PR gdb/17394
1124 * gdb.linespec/break-asm-file.c: New file.
1125 * gdb.linespec/break-asm-file.exp: New file.
1126 * gdb.linespec/break-asm-file0.s: New file.
1127 * gdb.linespec/break-asm-file1.s: New file.
1128
1bab7383
YQ
11292014-12-18 Nigel Stephens <nigel@mips.com>
1130 Maciej W. Rozycki <macro@codesourcery.com>
1131
1132 * gdb.base/float.exp: Handle the new output from "info float" on
1133 MIPS targets.
1134
1bc1068a
JK
11352014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1136
1137 Fix MinGW compilation.
1138 * gdb.compile/compile-ops.exp: Update untested message if
1139 !skip_compile_feature_tests.
1140 * gdb.compile/compile-setjmp.exp: Likewise.
1141 * gdb.compile/compile-tls.exp: Likewise.
1142 * gdb.compile/compile.exp: Likewise.
1143 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1144 supported on this host".
1145
b6615d10
DE
11462014-12-16 Doug Evans <xdje42@gmail.com>
1147
1148 * boards/stabs.exp: New file.
1149
25dda427
AA
11502014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1151
1152 * gdb.base/completion.exp: Adjust to format changes of "maint
1153 print user-registers".
1154
bf330350
CU
11552014-12-16 Catalin Udma <catalin.udma@freescale.com>
1156
1157 PR server/17457
1158 * gdb.arch/aarch64-fp.c: New file.
1159 * gdb.arch/aarch64-fp.exp: New file.
1160
395cf596
SDJ
11612014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1162
1163 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1164 r210637, r210913, r211666, r215400, r215817).
1165
1166 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1167 * dg-extract-results.py: New file.
1168 * dg-extract-results.sh: Use it if the environment seems
1169 suitable.
1170
1171 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1172
1173 * dg-extract-results.py (parse_run): Handle warnings that
1174 are printed before a test harness is run.
1175
1176 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1177
1178 * dg-extract-results.py (Named): Remove __cmp__ method.
1179 (output_variation): Use a key to sort variation.harnesses.
1180
1181 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1182
1183 * dg-extract-results.py: For Python 3, force sys.stdout to
1184 handle surrogate escape sequences.
1185 (safe_open): New function.
1186 (output_segment, main): Use it.
1187
1188 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1189
1190 * dg-extract-results.py (Prog.result_re): Include options
1191 in test name.
1192
1193 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1194
1195 * dg-extract-results.py (output_variation): Always sort if
1196 do_sum.
1197
e882ef3c
SM
11982014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1199
1200 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1201 as long as we get pagination notifications.
1202
4992aa20
JM
12032014-12-15 Jason Merrill <jason@redhat.com>
1204
1205 * Makefile.in (check-gdb.%): Restore.
1206 * README: Mention it.
1207
c1b5a1a6
JB
12082014-12-13 Joel Brobecker <brobecker@adacore.com>
1209
1210 * gdb.ada/str_uninit: New testcase.
1211
5537b577
JK
12122014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1213
1214 PR symtab/17642
1215 * gdb.base/vla-stub-define.c: New file.
1216 * gdb.base/vla-stub.c: New file.
1217 * gdb.base/vla-stub.exp: New file.
1218
bb2ec1b3
TT
12192014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1220 Jan Kratochvil <jan.kratochvil@redhat.com>
1221 Tom Tromey <tromey@redhat.com>
1222
1223 * configure.ac: Add gdb.compile/.
1224 * configure: Regenerate.
1225 * gdb.compile/Makefile.in: New file.
1226 * gdb.compile/compile-ops.exp: New file.
1227 * gdb.compile/compile-ops.c: New file.
1228 * gdb.compile/compile-tls.c: New file.
1229 * gdb.compile/compile-tls.exp: New file.
1230 * gdb.compile/compile-constvar.S: New file.
1231 * gdb.compile/compile-constvar.c: New file.
1232 * gdb.compile/compile-mod.c: New file.
1233 * gdb.compile/compile-nodebug.c: New file.
1234 * gdb.compile/compile-setjmp-mod.c: New file.
1235 * gdb.compile/compile-setjmp.c: New file.
1236 * gdb.compile/compile-setjmp.exp: New file.
1237 * gdb.compile/compile-shlib.c: New file.
1238 * gdb.compile/compile.c: New file.
1239 * gdb.compile/compile.exp: New file.
1240 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1241
4ff709eb
TT
12422014-12-12 Tom Tromey <tromey@redhat.com>
1243
1244 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1245 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1246
6dddd6a5
DE
12472014-12-12 Doug Evans <dje@google.com>
1248
1249 * lib/gdb-python.exp (get_python_valueof): New function.
1250 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1251
71c24708
AA
12522014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1253
1254 * gdb.base/completion.exp: Add test for completion of "info
1255 registers ".
1256
3e29f34a
MR
12572014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1258
1259 * gdb.base/func-ptrs.c: New file.
1260 * gdb.base/func-ptrs.exp: New file.
1261
fc126975
SM
12622014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1263
1264 PR breakpoints/17012
1265 * gdb.base/dprintf-detach.c: New file.
1266 * gdb.base/dprintf-detach.exp: New file.
1267
0a46d518
SM
12682014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1269
1270 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1271 * lib/gdb.exp (target_is_gdbserver): New procedure.
1272
a0be3e44
DE
12732014-12-08 Doug Evans <dje@google.com>
1274
1275 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1276
df1b803a
YQ
12772014-12-05 Yao Qi <yao@codesourcery.com>
1278
1279 * gdb.guile/scm-error.exp: Remove the third argument to
1280 gdb_remote_download.
1281 * gdb.guile/scm-frame-args.exp: Likewise.
1282 * gdb.guile/scm-section-script.exp: Likewise.
1283
ddb9f679
YQ
12842014-12-05 Yao Qi <yao@codesourcery.com>
1285
1286 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1287
86e4ed39
DE
12882014-12-04 Doug Evans <dje@google.com>
1289
1290 * gdb.python/py-objfile.exp: Add tests for
1291 objfile.add_separate_debug_file.
1292
7c50a931
DE
12932014-12-04 Doug Evans <dje@google.com>
1294
1295 * lib/gdb.exp (get_build_id): New function.
1296 (build_id_debug_filename_get): Rewrite to use it.
1297 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1298
621661e3
MR
12992014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1300
1301 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1302 `method(long)', not just 0x0.
1303 * gdb.cp/nsalias.exp: Align code labels to 4.
1304 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1305 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1306 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1307 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1308 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1309 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1310
29f0c3b7
DE
13112014-12-02 Doug Evans <dje@google.com>
1312
e1e061e7 1313 PR symtab/17602
29f0c3b7 1314 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1315 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1316 * gdb.cp/anon-ns.exp: Update.
1317
162078c8
NB
13182014-12-02 Nick Bull <nicholaspbull@gmail.com>
1319
1320 * gdb.python/py-events.py (inferior_call_handler): New.
1321 (register_changed_handler, memory_changed_handler): New.
1322 (test_events.invoke): Register new handlers.
1323 * gdb.python/py-events.exp: Add tests for inferior call,
1324 memory_changed and register_changed events.
1325
fdb09caf
AA
13262014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1327
1328 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1329 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1330 if the linker doesn't understand this.
1331
55cfb2c4
SM
13322014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1333
1334 * gdb.python/python.exp: Change expected reply to help().
1335
9e8cd6df
YQ
13362014-12-01 Yao Qi <yao@codesourcery.com>
1337
1338 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1339 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1340 * configure: Re-generated.
1341
6c659fc2
SC
13422014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1343
1344 * gdb.cp/chained-calls.cc: New file.
1345 * gdb.cp/chained-calls.exp: New file.
1346 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1347
d7fc3181
SM
13482014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1349
1350 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1351 * gdb.dwarf2/symtab-producer.exp: Same.
1352 * gdb.gdb/python-interrupts.exp: Same.
1353 * gdb.gdb/python-selftest.exp: Same.
1354 * gdb.python/py-linetable.exp: Same.
1355 * gdb.python/py-type.exp: Same.
1356 * gdb.python/py-value-cc.exp: Same.
1357 * gdb.python/py-value.exp: Same.
1358
10e79639
YQ
13592014-11-28 Yao Qi <yao@codesourcery.com>
1360
1361 * gdb.base/break-probes.exp: Match library name prefixed with
1362 sysroot.
1363
f28a0564
SM
13642014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1365
1366 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1367 test expected output. Add parentheses for the call to print.
1368 Remove L suffix from integers.
1369
3fe1ce1d
DE
13702014-11-26 Doug Evans <dje@google.com>
1371
1372 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1373
84429e27
YQ
13742014-11-22 Yao Qi <yao@codesourcery.com>
1375
1376 * gdb.trace/entry-values.c: Remove asms.
1377 (foo): Add foo_label.
1378 (bar): Add bar_label.
1379 * gdb.trace/entry-values.exp: Remove code computing foo's
1380 length and bar's length.
1381 (Dwarf::assemble): Invoke function_range for bar and use
1382 MACRO_AT_func for foo.
1383
26741859
YQ
13842014-11-22 Yao Qi <yao@codesourcery.com>
1385
1386 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1387 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1388 Use .Lgcc43_procstart instead of gcc43.
1389
45e44d27
JB
13902014-11-21 Joel Brobecker <brobecker@adacore.com>
1391
1392 * gdb.ada/n_arr_bound: New testcase.
1393
458c8db8
SDJ
13942014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1395
1396 PR breakpoints/10737
1397 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1398 test_catch_syscall_multi_arch.
1399 (test_catch_syscall_multi_arch): New function.
1400
43f3e411
DE
14012014-11-20 Doug Evans <xdje42@gmail.com>
1402
1403 * gdb.base/maint.exp: Update expected output.
1404
0d7b2549
AA
14052014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1406
1407 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1408 4-byte instruction on S390.
1409
8908fca5
JB
14102014-11-19 Joel Brobecker <brobecker@adacore.com>
1411
1412 * gdb.ada/arr_arr: New testcase.
1413
4a46959e
JB
14142014-11-19 Joel Brobecker <brobecker@adacore.com>
1415
1416 * gdb.ada/pkd_arr_elem: New Testcase.
1417
470e2f4e
LM
14182014-11-18 Luis Machado <lgustavo@codesourcery.com>
1419
1420 * gdb.reverse/break-precsave: Expect completion message for
1421 core file reads.
1422 * gdb.reverse/consecutive-precsave.exp: Likewise.
1423 * gdb.reverse/finish-precsave.exp: Likewise.
1424 * gdb.reverse/i386-precsave.exp: Likewise.
1425 * gdb.reverse/machinestate-precsave.exp: Likewise.
1426 * gdb.reverse/sigall-precsave.exp: Likewise.
1427 * gdb.reverse/solib-precsave.exp: Likewise.
1428 * gdb.reverse/step-precsave.exp: Likewise.
1429 * gdb.reverse/until-precsave.exp: Likewise.
1430 * gdb.reverse/watch-precsave.exp: Likewise.
1431
a267f3ad
AA
14322014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1433
1434 * gdb.base/bp-permanent.c: Include unistd.h.
1435 * gdb.python/py-framefilter-mi.c (main): Add return type.
1436 * gdb.python/py-framefilter.c (main): Likewise.
1437 * gdb.trace/actions-changed.c (main): Likewise.
1438
12084a9a
AA
14392014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1440
1441 * gdb.mi/until.c: Add eye-catchers.
1442 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1443 line numbers.
1444
dc7e1a77
AA
14452014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1446
1447 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1448 function header variants in break1.c.
1449 * gdb.base/ena-dis-br.exp: Likewise.
1450 * gdb.base/hbreak2.exp: Likewise.
1451 * gdb.reverse/until-precsave.exp: Drop references to removed
1452 non-prototype function header variants in ur1.c.
1453 * gdb.reverse/until-reverse.exp: Likewise.
1454
41c77605
PM
14552014-11-17 Petr Machata <pmachata@redhat.com>
1456
1457 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1458 ${_cu_offset_size} bytes abbrev offset.
1459
34248c3a
DE
14602014-11-15 Doug Evans <xdje42@gmail.com>
1461
1462 PR symtab/17559
1463 * gdb.base/line-symtabs.exp: New file.
1464 * gdb.base/line-symtabs.c: New file.
1465 * gdb.base/line-symtabs.h: New file.
1466
646da059
YQ
14672014-11-14 Yao Qi <yao@codesourcery.com>
1468
1469 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1470 (func): Add label func_label.
1471 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1472 Replace low_pc and high_pc with MACRO_AT_range.
1473 Replace name, low_pc and high_pc with MACRO_AT_func.
1474
9301ebe6
YQ
14752014-11-14 Yao Qi <yao@codesourcery.com>
1476
1477 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1478 Replace name, low_pc and high_pc with MACRO_AT_func.
1479
f166b542
YQ
14802014-11-14 Yao Qi <yao@codesourcery.com>
1481
1482 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1483 produce debug information.
1484 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1485
0f6e71e3
YQ
14862014-11-14 Yao Qi <yao@codesourcery.com>
1487
1488 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1489 object and get function length.
1490 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1491 with MACRO_AT_func.
1492 (top-level): Replace gdb_compile and clean_restart with
1493 prepare_for_testing.
1494 * gdb.dwarf2/main.c (main): Add label main_label.
1495
876c4df9
YQ
14962014-11-14 Yao Qi <yao@codesourcery.com>
1497
1498 * lib/dwarf.exp (function_range): New procedure.
1499 (Dwarf::_handle_macro_at_func): New procedure.
1500 (Dwarf::_handle_macro_at_range): New procedure.
1501 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1502
02ad9cf1
YQ
15032014-11-14 Yao Qi <yao@codesourcery.com>
1504
1505 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1506 (_handle_attribute): New procedure.
1507
a59add0c
AA
15082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1509
1510 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1511 * gdb.base/call-sc.c (zed): Likewise.
1512 * gdb.base/checkpoint.c (main): Likewise.
1513 * gdb.base/dump.c (main): Likewise.
1514 * gdb.base/gcore.c (main): Likewise.
1515 * gdb.base/huge.c (main): Likewise.
1516 * gdb.base/multi-forks.c (main): Likewise.
1517 * gdb.base/pr10179-a.c (main): Likewise.
1518 * gdb.base/savedregs.c (main): Likewise.
1519 * gdb.base/sigaltstack.c (main): Likewise.
1520 * gdb.base/siginfo.c (main): Likewise.
1521 * gdb.base/structs.c (zed): Likewise.
1522 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1523 * gdb.mi/mi-syn-frame.c (main): Likewise.
1524 * gdb.mi/until.c (foo, main): Likewise.
1525 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1526 * gdb.base/solib-weak.c (foo): Declare.
1527 * gdb.base/attach-twice.c: Include stdio.h.
1528 * gdb.base/weaklib1.c: Likewise.
1529 * gdb.base/weaklib2.c: Likewise.
1530 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1531 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1532 unistd.h.
1533 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1534 * gdb.mi/mi-exit-code.c: Likewise.
1535 * gdb.base/break-interp-lib.c: Include string.h.
1536 * gdb.base/coremaker.c: Likewise.
1537 * gdb.base/testenv.c: Likewise.
1538 * gdb.python/py-finish-breakpoint.c: Likewise.
1539 * gdb.base/inferior-died.c: Include sys/wait.h.
1540 * gdb.base/fileio.c: Include time.h.
1541 * gdb.base/async-shell.c: Include unistd.h.
1542 * gdb.base/dprintf-non-stop.c: Likewise.
1543 * gdb.base/info-os.c: Likewise.
1544 * gdb.mi/mi-console.c: Likewise.
1545 * gdb.mi/watch-nonstop.c: Likewise.
1546 * gdb.python/py-events.c: Likewise.
1547 * gdb.base/async.c (baz): Move up before its invocation.
1548 * gdb.base/code_elim2.c (my_global_func): Likewise.
1549 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1550 * gdb.base/advance.c (func2): Likewise.
1551
3b5d5997
AA
15522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1553
1554 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1555 variant.
1556 * gdb.base/annota3.c: Likewise.
1557 * gdb.base/async.c: Likewise.
1558 * gdb.base/average.c: Likewise.
1559 * gdb.base/call-ar-st.c: Likewise.
1560 * gdb.base/call-rt-st.c: Likewise.
1561 * gdb.base/call-sc.c: Likewise.
1562 * gdb.base/call-strs.c: Likewise.
1563 * gdb.base/ending-run.c: Likewise.
1564 * gdb.base/execd-prog.c: Likewise.
1565 * gdb.base/exprs.c: Likewise.
1566 * gdb.base/foll-exec.c: Likewise.
1567 * gdb.base/foll-fork.c: Likewise.
1568 * gdb.base/foll-vfork.c: Likewise.
1569 * gdb.base/funcargs.c: Likewise.
1570 * gdb.base/gcore.c: Likewise.
1571 * gdb.base/jump.c: Likewise.
1572 * gdb.base/langs0.c: Likewise.
1573 * gdb.base/langs1.c: Likewise.
1574 * gdb.base/langs2.c: Likewise.
1575 * gdb.base/mips_pro.c: Likewise.
1576 * gdb.base/nodebug.c: Likewise.
1577 * gdb.base/opaque0.c: Likewise.
1578 * gdb.base/opaque1.c: Likewise.
1579 * gdb.base/recurse.c: Likewise.
1580 * gdb.base/run.c: Likewise.
1581 * gdb.base/scope0.c: Likewise.
1582 * gdb.base/scope1.c: Likewise.
1583 * gdb.base/setshow.c: Likewise.
1584 * gdb.base/setvar.c: Likewise.
1585 * gdb.base/shmain.c: Likewise.
1586 * gdb.base/shr1.c: Likewise.
1587 * gdb.base/shr2.c: Likewise.
1588 * gdb.base/sigall.c: Likewise.
1589 * gdb.base/signals.c: Likewise.
1590 * gdb.base/so-indr-cl.c: Likewise.
1591 * gdb.base/solib2.c: Likewise.
1592 * gdb.base/structs.c: Likewise.
1593 * gdb.base/sum.c: Likewise.
1594 * gdb.base/vforked-prog.c: Likewise.
1595 * gdb.base/watchpoint.c: Likewise.
1596 * gdb.reverse/shr2.c: Likewise.
1597 * gdb.reverse/until-reverse.c: Likewise.
1598 * gdb.reverse/ur1.c: Likewise.
1599 * gdb.reverse/watch-reverse.c: Likewise.
1600
066a77c5
AA
16012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1602
1603 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1604 variant.
1605 * gdb.base/sepdebug.exp: Drop references to removed code.
1606
4f204ea5
AA
16072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1608
1609 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1610 variant. Preserve original line numbering.
1611 * gdb.base/list1.c: Likewise.
1612
3b377a3a
AA
16132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1614
1615 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1616 variant.
1617 * gdb.base/break1.c: Likewise.
1618 * gdb.base/break.exp: Drop references to removed code.
1619
e444df73
AA
16202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1621
1622 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1623 variant.
1624
8008f2a7
AA
16252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1626
1627 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1628
a5a06887
AA
16292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1630
1631 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1632 logic into perform_all_tests() and invoke it with and without
1633 function header prototypes.
1634 (do_function_calls): Remove conditional XFAIL for PR 5318.
1635 (rerun_and_prepare): Remove duplicate code.
1636 (perform_all_tests): New. Main logic moved here.
1637
44dba9b9
AA
16382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1639
1640 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1641 code guarded by #ifdef NO_PROTOTYPES.
1642 (t_double_many_args): Likewise.
1643 (DEF_FUNC_MANY_ARGS_1): Likewise.
1644 (DEF_FUNC_VALUES_1): Likewise.
1645 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1646 guarded by #ifdef PROTOTYPES.
1647
d1fbcd56
AA
16482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1649
1650 * gdb.mi/mi-console.c: Add eye-catcher.
1651 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1652 instead of literal line number.
1653
b0e59b8f
AA
16542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1655
1656 * gdb.base/shr2.c: Add eye-catcher.
1657 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1658 line number.
1659
78f98cca
AA
16602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1661
1662 * gdb.base/jump.c: Add eye-catchers.
1663 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1664 numbers.
1665
58fa2af0
AA
16662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1667
1668 * gdb.base/execd-prog.c: Add eye-catchers.
1669 * gdb.base/foll-exec.c: Likewise.
1670 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1671 line numbers.
1672
04e5059b
AA
16732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1674
1675 * gdb.base/ending-run.c: Add eye-catchers.
1676 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1677 literal line numbers.
1678
dbfdb174
AA
16792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1680
1681 * gdb.base/call-rt-st.c: Add eye-catchers.
1682 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1683 literal line numbers.
1684
888a2ade
AA
16852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1686
1687 * gdb.base/call-ar-st.c: Add eye-catchers.
1688 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1689 literal line numbers.
1690
6acc2dde
AA
16912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1692
1693 * gdb.base/average.c: Add eye-catchers.
1694 * gdb.base/sum.c: Likewise.
1695 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1696 regexps dynamically.
1697
9ecfcd1d
AA
16982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1699
1700 * gdb.base/solib1.c: Add eye-catchers.
1701 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1702 literal line numbers.
1703
78708b7c
PA
17042014-11-12 Pedro Alves <palves@redhat.com>
1705
1706 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1707 leader has exited.
1708
af48d08f
PA
17092014-11-12 Pedro Alves <palves@redhat.com>
1710
1711 * gdb.arch/i386-bp_permanent.c: New file.
1712 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1713 (srcfile): Set to i386-bp_permanent.c.
1714 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1715 that stepi does not execute the 'leave' instruction, instead of
1716 testing it does execute.
1717 * gdb.base/bp-permanent.c: New file.
1718 * gdb.base/bp-permanent.exp: New file.
1719
af3768e9
DE
17202014-11-10 Doug Evans <xdje42@gmail.com>
1721
1722 PR symtab/17564
1723 * gdb.base/symtab-search-order.exp: New file.
1724 * gdb.base/symtab-search-order.c: New file.
1725 * gdb.base/symtab-search-order-1.c: New file.
1726 * gdb.base/symtab-search-order-shlib-1.c: New file.
1727
9de00a4a
PA
17282014-11-07 Pedro Alves <palves@redhat.com>
1729
1730 PR gdb/17511
1731 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1732 i?86-*-linux*.
1733
e0f52461
SC
17342014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1735
1736 PR c++/17494
1737 * gdb.cp/pr17494.cc: New file.
1738 * gdb.cp/pr17494.exp: New file.
1739
6ce8c980
YQ
17402014-11-02 Yao Qi <yao@codesourcery.com>
1741
1742 * gdb.python/python.exp: Get working directory and match the
1743 output of "set extended-prompt \\w " with it.
1744
02be9a71
DE
17452014-10-30 Doug Evans <dje@google.com>
1746
1747 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1748 in objfiles.
1749 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1750 in progspaces.
1751
3bdff46b
LM
17522014-10-30 Janis Johnson <janisjo@codesourcery.com>
1753
1754 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1755 * gdb.base/realname-expand.exp: Likewise.
1756 * gdb.linespec/macro-relative.exp: Likewise.
1757
ab917dfb
PA
17582014-10-29 Pedro Alves <palves@redhat.com>
1759
1760 PR gdb/17408
1761 * gdb.threads/schedlock.c (some_function): New function.
1762 (call_function): New global.
1763 (MAYBE_CALL_SOME_FUNCTION): New macro.
1764 (thread_function): Call it.
1765 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1766 and use it instead of a global counter. Adjust all callers.
1767 (get_current_thread): Use "find current thread" for test message
1768 here rather than having all callers pass down the same string.
1769 (goto_loop): New procedure, factored out from ...
1770 (my_continue): ... this.
1771 (step_ten_loops): Change parameter from test message to command to
1772 use. Adjust.
1773 (list_count): Delete global.
1774 (check_result): New procedure, factored out from duplicate top
1775 level code.
1776 (continue tests): Wrap in with_test_prefix.
1777 (test_step): New procedure, factored out from duplicate top level
1778 code.
1779 (top level): Test "step" in combination with all scheduler-locking
1780 modes. Test "next" in combination with all scheduler-locking
1781 modes, and in combination with stepping over a function call or
1782 not.
1783 * gdb.threads/next-bp-other-thread.c: New file.
1784 * gdb.threads/next-bp-other-thread.exp: New file.
1785
d3d4baed
PA
17862014-10-29 Pedro Alves <palves@redhat.com>
1787
1788 PR python/17372
1789 * gdb.python/python.exp: Test a multi-line command that spawns
1790 interactive Python.
1791 * gdb.base/multi-line-starts-subshell.exp: New file.
1792
563e8d85
YQ
17932014-10-29 Yao Qi <yao@codesourcery.com>
1794
1795 * gdb.base/fileio.exp: Make directories on host.
1796
0ea4d52e
YQ
17972014-10-29 Yao Qi <yao@codesourcery.com>
1798
1799 * gdb.base/fileio.c (test_write): Close the file.
1800
7f5ef605
PA
18012014-10-28 Pedro Alves <palves@redhat.com>
1802
1803 PR gdb/12623
1804 * gdb.base/sigstep.c (no_handler): New global.
1805 (main): If 'no_handler is true, set the signal handlers to
1806 SIG_IGN.
1807 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1808 with_sw_watch and no_handler parameters. Handle them.
1809 (top level) <stepping over handler when stopped at a breakpoint
1810 test>: Add a test axis for testing with a software watchpoint, and
1811 another for testing with the signal handler set to SIG_IGN.
1812 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1813 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1814
abbdbd03
PA
18152014-10-28 Pedro Alves <palves@redhat.com>
1816
1817 PR gdb/17511
1818 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1819 * gdb.base/sigstep.exp (other_handler_location): New global.
1820 (advance): Support stepping into the signal handler, and running
1821 commands while in the handler.
1822 (in_handler_map): New global.
1823 (top level): In the advance test, add combinations for getting
1824 into the handler with stepping commands, and for running commands
1825 in the handler. Add comment descripting the advancei tests.
1826
1df4399f
PA
18272014-10-28 Pedro Alves <palves@redhat.com>
1828
1829 * gdb.base/sigstep.exp: Use build_executable instead of
1830 prepare_for_testing.
1831 (top level): Move code that starts GDB, runs to main and creates a
1832 display to ...
1833 (restart): ... this new procedure.
1834 (top level): Move backtrace from signal handler test to ...
1835 (validate_backtrace): ... this new procedure.
1836 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1837 with_test_prefix. Always restart GDB.
1838 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1839 with_test_prefix. Always restart GDB. No need to delete
1840 breakpoints after the test.
1841 (test_skip_handler): Remove prefix parameter.
1842 (skip_over_handler, breakpoint_to_handler)
1843 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1844 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1845 restart GDB. No need to delete breakpoints after the test.
1846 (top level): Use foreach to call the test procedures with
1847 different commands.
1848
a5b6e449
PA
18492014-10-28 Pedro Alves <palves@redhat.com>
1850
1851 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1852 instead of GNATS numbers.
1853 * gdb.base/sigbpt.exp: Likewise.
1854 * gdb.base/siginfo.exp: Likewise.
1855 * gdb.base/sigstep.exp: Likewise.
1856
e5f8a7cc
PA
18572014-10-27 Pedro Alves <palves@redhat.com>
1858
1859 * gdb.base/sigstep.c (dummy): New global.
1860 (main): Issue a couple writes to the new global.
1861 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1862 procedures.
1863 (skip_over_handler): Use test_skip_handler.
1864 (top level): Call skip_over_handler for stepi and nexti too.
1865 (breakpoint_over_handler): Use test_skip_handler.
1866 (top level): Call breakpoint_over_handler for stepi and nexti too.
1867
763905a3
YQ
18682014-10-27 Yao Qi <yao@codesourcery.com>
1869
1870 * gdb.trace/tfile.c (adjust_function_address)
1871 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1872 function descriptor.
1873
6f259a23
DB
18742014-10-24 Don Breazeal <donb@codesourcery.com>
1875
1876 * gdb.base/foll-fork.exp (test_follow_fork,
1877 catch_fork_child_follow): Check for updated fork messages emitted
1878 from infrun.c.
1879 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1880 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1881 vfork_and_exec_child_follow_through_step): Check for updated vfork
1882 messages emitted from infrun.c.
1883
09dd9a69
PA
18842014-10-24 Pedro Alves <palves@redhat.com>
1885
1886 * gdb.base/corefile.exp: Remove references to ultrix.
1887 * gdb.base/interrupt.exp: Likewise.
1888 * gdb.base/whatis.exp: Likewise.
1889 * gdb.gdb/selftest.exp: Likewise.
1890 * gdb.threads/manythreads.exp: Likewise.
1891 * gdb.threads/print-threads.exp: Likewise.
1892 * gdb.threads/pthreads.exp:: Likewise.
1893 * gdb.threads/schedlock.exp: Likewise.
1894
3433cfa5
SC
18952014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1896
1897 * gdb.cp/non-trivial-retval.cc: Add a test case.
1898 * gdb.cp/non-trivial-retval.exp: Add a test.
1899
092f880b
YQ
19002014-10-20 Yao Qi <yao@codesourcery.com>
1901
1902 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1903 * gdb.python/py-objfile-script-gdb.py: New file.
1904 * gdb.python/py-objfile-script.exp: Update reference to
1905 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1906 of remote_download. Remove the dest file.
1907
acbdb7f3
YQ
19082014-10-20 Yao Qi <yao@codesourcery.com>
1909
1910 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1911 * gdb.base/step-line.exp: Likewise.
1912 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1913 * gdb.dwarf2/dw2-basic.exp: Likewise.
1914 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1915 * gdb.dwarf2/dw2-filename.exp: Likewise.
1916 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1917 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1918 * gdb.dwarf2/dw2-producer.exp: Likewise.
1919 * gdb.dwarf2/mac-fileno.exp: Likewise.
1920 * gdb.python/py-frame-args.exp: Likewise.
1921 * gdb.python/py-framefilter.exp: Likewise.
1922 * gdb.python/py-mi.exp: Likewise.
1923 * gdb.python/py-objfile-script.exp: Likewise
1924 * gdb.python/py-pp-integral.exp: Likewise.
1925 * gdb.python/py-pp-re-notag.exp: Likewise.
1926 * gdb.python/py-prettyprint.exp: Likewise.
1927 * gdb.python/py-section-script.exp: Likewise.
1928 * gdb.python/py-typeprint.exp: Likewise.
1929 * gdb.python/py-xmethods.exp: Likewise.
1930 * gdb.stabs/weird.exp: Likewise.
1931 * gdb.xml/tdesc-regs.exp: Likewise.
1932
bd286a29
KCY
19332014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1934
1935 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1936 (out_cu): Use addr_len for the size of addresses.
1937 (out_line): Likewise. Size DW_LNE_set_address instruction
1938 according to addr_len.
1939 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1940 (FUNC): Add START_INSNS to definition.
1941
673dc4a0
YQ
19422014-10-18 Yao Qi <yao@codesourcery.com>
1943
1944 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1945 gdb_has_argv0 return true.
1946 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1947 check [target_info exists noargs], check [gdb_has_argv0]
1948 instead.
1949 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1950 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1951 procedures.
1952
4ffbba72
DE
19532014-10-17 Doug Evans <dje@google.com>
1954
1955 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1956 event.
1957 * gdb.python/py-events.py: Add clear_objfiles event.
1958
d096d8c1
DE
19592014-10-17 Doug Evans <dje@google.com>
1960
1961 * gdb.python/py-objfile.exp: Test progspace attribute.
1962
a80db015
LM
19632014-10-17 Luis Machado <lgustavo@codesourcery.com>
1964
1965 * gdb.guile/scm-breakpoint.exp: Do not assume any
1966 directory separators when matching source file paths.
1967 * gdb.python/py-breakpoint.exp: Likewise.
1968 * gdb.reverse/break-precsave.exp: Likewise.
1969 * gdb.reverse/break-reverse.exp: Likewise.
1970 * gdb.reverse/consecutive-precsave.exp: Likewise.
1971 * gdb.reverse/finish-precsave.exp: Likewise.
1972 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1973 * gdb.reverse/finish-reverse.exp: Likewise.
1974 * gdb.reverse/i386-precsave.exp: Likewise.
1975 * gdb.reverse/i387-env-reverse.exp: Likewise.
1976 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1977 * gdb.reverse/machinestate-precsave.exp: Likewise.
1978 * gdb.reverse/machinestate.exp: Likewise.
1979 * gdb.reverse/sigall-precsave.exp: Likewise.
1980 * gdb.reverse/solib-precsave.exp: Likewise.
1981 * gdb.reverse/step-precsave.exp: Likewise.
1982 * gdb.reverse/until-precsave.exp: Likewise.
1983 * gdb.reverse/watch-precsave.exp: Likewise.
1984 * gdb.reverse/watch-reverse.exp: Likewise.
1985
b22089ab
YQ
19862014-10-17 Yao Qi <yao@codesourcery.com>
1987
1988 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1989 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1990
6c4486e6
PA
19912014-10-17 Pedro Alves <palves@redhat.com>
1992
1993 PR gdb/17471
1994 * gdb.base/bg-execution-repeat.c: New file.
1995 * gdb.base/bg-execution-repeat.exp: New file.
1996
0ff33695
PA
19972014-10-17 Pedro Alves <palves@redhat.com>
1998
1999 PR gdb/17300
2000 * gdb.base/continue-all-already-running.c: New file.
2001 * gdb.base/continue-all-already-running.exp: New file.
2002
6fdebc3d
PA
20032014-10-17 Pedro Alves <palves@redhat.com>
2004
2005 PR gdb/17472
2006 * gdb.base/annota-input-while-running.c: New file.
2007 * gdb.base/annota-input-while-running.exp: New file.
2008
32a8097b
PA
20092014-10-17 Pedro Alves <palves@redhat.com>
2010
2011 * gdb.base/callfuncs.exp: emove references to osf.
2012 * gdb.base/sigall.exp: Likewise.
2013 * gdb.gdb/selftest.exp: Likewise.
2014 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2015 * gdb.mi/non-stop.c: Likewise.
2016 * gdb.mi/pthreads.c: Likewise.
2017 * gdb.reverse/sigall-precsave.exp: Likewise.
2018 * gdb.reverse/sigall-reverse.exp: Likewise.
2019 * gdb.threads/pthreads.c: Likewise.
2020 * gdb.threads/pthreads.exp: Likewise.
2021
7a3517ff
YQ
20222014-10-17 Yao Qi <yao@codesourcery.com>
2023
2024 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2025 check 'target_info exists noargs'.
2026 (test_command_prompt_position): Likewise.
2027 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2028 Remove "set args".
2029 (progvar_simple_while_test): Likewise.
2030 (progvar_complex_if_while_test): Likewise.
2031 (if_while_breakpoint_command_test): Likewise.
2032 (infrun_breakpoint_command_test): Likewise.
2033 (breakpoint_command_test): Likewise.
2034 (watchpoint_command_test): Likewise.
2035 (bp_deleted_in_command_test): Likewise.
2036 (temporary_breakpoint_commands): Likewise.
2037
bb99c472
YQ
20382014-10-16 Yao Qi <yao@codesourcery.com>
2039
2040 * gdb.base/remotetimeout.exp: Remove noargs checking.
2041
7c16b83e
PA
20422014-10-15 Pedro Alves <palves@redhat.com>
2043
2044 PR breakpoints/9649
2045 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2046 * gdb.base/breakpoint-in-ro-region.exp
2047 (probe_target_hardware_step): New procedure.
2048 (top level): Probe hardware stepping and hardware breakpoint
2049 support. Test stepping through a read-only region, with both
2050 "breakpoint auto-hw" on and off and both "always-inserted" on and
2051 off.
2052
35a49624
IB
20532014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2054
2055 * gdb.dlang/demangle.exp: Update for demangling changes.
2056
2d1c107c
SC
20572014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2058
2059 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2060 * gdb.cp/non-trivial-retval.exp: Add new tests.
2061
778811d5
SC
20622014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2063
2064 PR c++/13403
2065 PR c++/15154
2066 * gdb.cp/non-trivial-retval.cc: New file.
2067 * gdb.cp/non-trivial-retval.exp: New file.
2068
10c5f0a8
YQ
20692014-10-15 Yao Qi <yao@codesourcery.com>
2070
2071 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2072 remote host.
2073
65d7b369
YQ
20742014-10-15 Yao Qi <yao@codesourcery.com>
2075
2076 * gdb.python/py-symbol.exp: Match file base name if host is
2077 remote, otherwise match file name with dir name.
2078 * gdb.python/py-symtab.exp: Likewise.
2079 * gdb.python/python.exp: Likewise.
2080
46dc1394
YQ
20812014-10-15 Yao Qi <yao@codesourcery.com>
2082
2083 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2084 pattern.
2085 * gdb.python/py-symtab.exp: Likewise.
2086 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2087 locationn.
2088
c40cc657
JB
20892014-10-14 Joel Brobecker <brobecker@adacore.com>
2090
2091 * gdb.ada/addr_arith: New testcase.
2092
2abf49e1
MR
20932014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2094
2095 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2096 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2097 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2098 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2099
f7088df3
SDJ
21002014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2101
2102 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2103 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2104 * gdb.arch/stap-eval-lang-ada.exp: New file.
2105
4dc06805
YQ
21062014-10-14 Yao Qi <yao@codesourcery.com>
2107
2108 * gdb.mi/mi-var-child.c (nothing1): New function.
2109 (nothing2): New function.
2110 (do_children_tests): Set function pointers by nothing1 and
2111 nothing2.
2112 * gdb.mi/mi-var-child.exp: Step over new added statements.
2113 Update test to match the new output.
2114 * gdb.mi/var-cmd.c (nothing1): New function.
2115 (nothing2): New function.
2116 (do_children_tests): Set function pointers by nothing1 and
2117 nothing2.
2118 * gdb.mi/mi-var-display.exp: Update test to match output.
2119 Step to the line specified by $line_dct_nothing.
2120 Increase the number of lines to step.
2121
46a93de2
YQ
21222014-10-14 Yao Qi <yao@codesourcery.com>
2123
2124 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2125 tests.
2126 * gdb.mi/mi2-var-child.exp: Likewise.
2127
14ea52ee
DE
21282014-10-13 Doug Evans <dje@google.com>
2129
2130 * gdb.python/py-objfile.exp: Change name of file name test.
2131
e5c6e92b
DE
21322014-10-13 Doug Evans <dje@google.com>
2133
2134 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2135 from the start of the CU.
2136
c780cc2f
JK
21372014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2138 Yao Qi <yao@codesourcery.com>
2139
2140 Fix "save breakpoints" for "catch" command.
2141 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2142 Remove -nonewline. Match also the added "main" line.
2143
99894e11
JK
21442014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2145
2146 Fix "save breakpoints" for "disable $bpnum" command.
2147 * gdb.base/save-bp.c (main): Add label.
2148 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2149
6e1ac5a3
JK
21502014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2151
2152 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2153
754dd2b0
YQ
21542014-10-11 Yao Qi <yao@codesourcery.com>
2155
2156 * gdb.server/server-kill.exp: Execute command
2157 "set remote trace-status-packet on" before "tstatus".
2158
f90183d7
YQ
21592014-10-11 Yao Qi <yao@codesourcery.com>
2160
2161 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2162 (main): Call getppid.
2163 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2164 and continue to it. Read variable "server_pid".
2165
bf40a607
YQ
21662014-10-11 Yao Qi <yao@codesourcery.com>
2167
2168 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2169
052ca370
YQ
21702014-10-11 Yao Qi <yao@codesourcery.com>
2171
2172 * gdb.threads/thread-find.exp: Don't execute command
2173 "info threads".
2174 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2175 * gdb.threads/linux-dp.exp: Don't check the condition
2176 $threads_created equals to zero.
2177
3831839c
PA
21782014-10-10 Pedro Alves <palves@redhat.com>
2179
2180 * gdb.base/bigcore.exp: Remove references to IRIX.
2181 * gdb.base/funcargs.exp: Likewise.
2182 * gdb.base/interrupt.exp: Likewise.
2183 * gdb.base/mips_pro.exp: Likewise.
2184 * gdb.base/nodebug.exp: Likewise.
2185 * gdb.base/setvar.exp: Likewise.
2186 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2187
8b9a549d
PA
21882014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2189 Pedro Alves <palves@redhat.com>
2190
2191 PR symtab/14466
2192 * gdb.base/vdso-warning.c: New file.
2193 * gdb.base/vdso-warning.exp: New file.
2194
d48ba5e8
DE
21952014-10-02 Doug Evans <dje@google.com>
2196
2197 * gdb.base/structs.c (main): Don't run forever.
2198
2278c276
PA
21992014-10-02 Pedro Alves <palves@redhat.com>
2200
2201 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2202 (top level) <stop threads 1, stop threads 2>: Use it.
2203
b57bacec
PA
22042014-10-02 Pedro Alves <palves@redhat.com>
2205
2206 * gdb.threads/break-while-running.exp (test): Add new
2207 'update_thread_list' argument. Skip "info threads" if false.
2208 (top level): Add new 'update_thread_list' axis.
2209
13fd3ff3
PA
22102014-10-02 Pedro Alves <palves@redhat.com>
2211
2212 PR breakpoints/17431
2213 * gdb.base/execl-update-breakpoints.c: New file.
2214 * gdb.base/execl-update-breakpoints.exp: New file.
2215
0fec99e8
PA
22162014-10-01 Pedro Alves <palves@redhat.com>
2217
2218 * gdb.base/breakpoint-in-ro-region.c: New file.
2219 * gdb.base/breakpoint-in-ro-region.exp: New file.
2220
2ddf4301
SM
22212014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2222
2223 * gdb.mi/mi-exit-code.exp: New file.
2224 * gdb.mi/mi-exit-code.c: New file.
2225
6a5f3f43
YQ
22262014-09-30 Yao Qi <yao@codesourcery.com>
2227
2228 * lib/prelink-support.exp (build_executable_own_libs): Error if
2229 the target isn't native.
2230
345bcc73
YQ
22312014-09-30 Yao Qi <yao@codesourcery.com>
2232
2233 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2234 false.
2235
a25a5a45
PA
22362014-09-22 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.threads/break-while-running.exp: New file.
2239 * gdb.threads/break-while-running.c: New file.
2240
00ba3162
YQ
22412014-09-19 Yao Qi <yao@codesourcery.com>
2242
2243 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2244 Invoke test. Restart GDB with --readnow and invoke test again.
2245
c3b7b696
YQ
22462014-09-19 Yao Qi <yao@codesourcery.com>
2247
2248 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2249 proc set_breakpoint_on_gcd_function. Invoke
2250 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2251 invoke set_breakpoint_on_gcd_function again.
2252
2b4fd423
DE
22532014-09-18 Doug Evans <dje@google.com>
2254
2255 * gdb.dwarf2/symtab-producer.exp: New file.
2256
a5947601
SDJ
22572014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2258
2259 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2260 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2261 * gdb.base/global-var-nested-by-dso.c: Likewise.
2262 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2263
91c19059
SDJ
22642014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2265 Pedro Alves <palves@redhat.com>
2266
2267 * gdb.base/watch-bitfields.exp: Pass string other than test file
2268 name to prepare_for_testing.
2269 (watch): New procedure.
2270 (expect_watchpoint): Use with_test_prefix.
2271 (top level): Factor out tests to ...
2272 (test_watch_location, test_regular_watch): ... these new
2273 procedures, and use with_test_prefix and gdb_continue_to_end.
2274
bb9d5f81
PP
22752014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2276
2277 PR breakpoints/12526
2278 * gdb.base/watch-bitfields.exp: New file.
2279 * gdb.base/watch-bitfields.c: New file.
2280
635856f5
PA
22812014-09-16 Pedro Alves <palves@redhat.com>
2282
2283 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2284 software and hardware addresses, not software address against
2285 itself.
2286
7280ceea
PA
22872014-09-16 Pedro Alves <palves@redhat.com>
2288
2289 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2290 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2291
428b16bd
PA
22922014-09-16 Pedro Alves <palves@redhat.com>
2293
2294 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2295 files.
2296 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2297 "*-*-vxworks*" throughout.
2298 * gdb.base/break.exp: Likewise.
2299 * gdb.base/default.exp: Likewise.
2300 * gdb.base/scope.exp: Likewise.
2301 * gdb.base/sepdebug.exp: Likewise.
2302 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2303 throughout.
2304 * gdb.base/run.c: Likewise.
2305 * gdb.base/sepdebug.c: Likewise.
2306 * gdb.hp/gdb.aCC/run.c: Likewise.
2307 * gdb.reverse/until-reverse.c: Likewise.
2308 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2309
666d413c
YQ
23102014-09-16 Yao Qi <yao@codesourcery.com>
2311
2312 * boards/local-remote-host-native.exp: New file.
2313
57cbd724
DE
23142014-09-14 Doug Evans <xdje42@gmail.com>
2315
2316 * gdb.threads/queue-signal.c (thread_count): New variable.
2317 (thread_count_mutex, thread_count_condvar): New variables.
2318 (incr_thread_count, wait_all_threads_running): New functions.
2319 (main): Wait for all threads to be in their thread functions.
2320
81219e53
DE
23212014-09-13 Doug Evans <xdje42@gmail.com>
2322
2323 * gdb.threads/queue-signal.c: New file.
2324 * gdb.threads/queue-signal.exp: New file.
2325
3714cea7
DE
23262014-09-13 Doug Evans <xdje42@gmail.com>
2327
2328 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2329 be consistent with what default_gdb_init uses.
2330 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2331 the plain text of the prompt. Add some logging printfs.
2332 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2333
fa43b1d7
PA
23342014-09-12 Pedro Alves <palves@redhat.com>
2335
2336 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2337 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2338 * gdb.arch/i386-size-overlap.exp: Likewise.
2339 * gdb.arch/i386-size.exp: Likewise.
2340 * gdb.arch/i386-unwind.exp: Likewise.
2341 * gdb.base/a2-run.exp: Likewise.
2342 * gdb.base/break.exp: Likewise.
2343 * gdb.base/charset.exp: Likewise.
2344 * gdb.base/chng-syms.exp: Likewise.
2345 * gdb.base/commands.exp: Likewise.
2346 * gdb.base/dbx.exp: Likewise.
2347 * gdb.base/find.exp: Likewise.
2348 * gdb.base/funcargs.exp: Likewise.
2349 * gdb.base/jit-simple.exp: Likewise.
2350 * gdb.base/reread.exp: Likewise.
2351 * gdb.base/sepdebug.exp: Likewise.
2352 * gdb.base/step-bt.exp: Likewise.
2353 * gdb.cp/mb-inline.exp: Likewise.
2354 * gdb.cp/mb-templates.exp: Likewise.
2355 * gdb.objc/basicclass.exp: Likewise.
2356 * gdb.threads/killed.exp: Likewise.
2357
9d9bf2df
EBM
23582014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2359
2360 PR tdep/17379
2361 * gdb.arch/powerpc-stackless.S: New file.
2362 * gdb.arch/powerpc-stackless.exp: New file.
2363
1cf2f1b0
JK
23642014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2365
2366 * gdb.base/attach.c: Include unistd.h.
2367 (main): Call alarm. Add label postloop.
2368 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2369 gdb_breakpoint, gdb_continue_to_breakpoint.
2370 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2371
98880d46
PA
23722014-09-11 Pedro Alves <palves@redhat.com>
2373
2374 PR gdb/17347
2375 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2376 * gdb.base/attach.exp (test_command_line_attach_run): New
2377 procedure.
2378 (top level): Call it.
2379
4c92ff2c
PA
23802014-09-11 Pedro Alves <palves@redhat.com>
2381
2382 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2383 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2384 (do_command_attach_tests): Use spawn_wait_for_attach.
2385 * gdb.base/solib-overlap.exp: Likewise.
2386 * gdb.multi/multi-attach.exp: Likewise.
2387 * gdb.python/py-prompt.exp: Likewise.
2388 * gdb.python/py-sync-interp.exp: Likewise.
2389 * gdb.server/ext-attach.exp: Likewise.
2390
3adc1a7d
GKB
23912014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2392
2393 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2394 command in testcase. Simplify testcase.
2395
96334934
JB
23962014-09-10 Joel Brobecker <brobecker@adacore.com>
2397
2398 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2399
eb479039
JB
24002014-09-10 Joel Brobecker <brobecker@adacore.com>
2401
2402 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2403
deede10c
JB
24042014-09-10 Joel Brobecker <brobecker@adacore.com>
2405
2406 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2407
7828a5f5
JB
24082014-09-10 Joel Brobecker <brobecker@adacore.com>
2409
2410 * gdb.dwarf2/dynarr-ptr.c: New file.
2411 * gdb.dwarf2/dynarr-ptr.exp: New file.
2412
33aeebcf
MR
24132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2414
2415 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2416 of 30 rather than hardcoding 120 for a slow test case. Take the
2417 `gdb,timeout' target setting into account for this calculation.
2418 Don't extend the timeout for the test cases that don't need it.
2419
7b415901
MR
24202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2421
2422 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2423 a factor of 2 for a slow test case. Take the `gdb,timeout'
2424 target setting into account for this calculation.
2425 * gdb.reverse/until-precsave.exp: Increase the timeout by
2426 a factor of 15 and 3 respectively rather than adding 120
2427 for a pair of slow test cases. Take the `gdb,timeout'
2428 target setting into account for this calculation.
2429
4a40f85a
MR
24302014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2431
2432 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2433 timeout, don't pass one down to gdb_expect.
2434 (gdb_expect): Rework timeout selection.
2435
09635af7
MR
24362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2437
2438 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2439 exception on timeout.
2440 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2441 (gdbserver_start_extended): Catch any `gdbserver_start' error
2442 exceptions.
2443 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2444 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2445 `gdbserver_gdb_load' error exceptions.
2446
2bdd10b7
MR
24472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2448
2449 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2450 120 on waiting for the TCP socket to open.
2451
316935f0
DE
24522014-09-09 Doug Evans <xdje42@gmail.com>
2453
2454 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2455 _caller_matches, _any_caller_is, _any_caller_matches.
2456
83740597
DE
24572014-09-09 Doug Evans <xdje42@gmail.com>
2458
2459 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2460
4c122fc3
YQ
24612014-09-09 Yao Qi <yao@codesourcery.com>
2462
2463 * gdb.mi/mi-var-display.exp: Set print symbol off.
2464
a9f116cb
GKB
24652014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2466
2467 PR gdb/17035
2468 * gdb.base/commands.exp: Add tests to verify user-defined
2469 commands with empty bodies.
2470 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2471 python commands in `show user command`.
2472 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2473 scheme commands in `show user command`.
2474
c75bd3a2
JK
24752014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2476
2477 PR python/17355
2478 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2479 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2480 * gdb.python/py-framefilter-invalidarg.exp: New file.
2481 * gdb.python/py-framefilter-invalidarg.py: New file.
2482
faa42425
DE
24832014-09-06 Doug Evans <xdje42@gmail.com>
2484
2485 PR 15276
2486 * gdb.python/py-caller-is.c: New file.
2487 * gdb.python/py-caller-is.exp: New file.
2488
474ca4f6
SDJ
24892014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2490
2491 PR gdb/17235
2492 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2493 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2494
eb0b0463
SDJ
24952014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2496
2497 PR fortran/17237
2498 * gdb.fortran/print-formatted.exp: New file.
2499 * gdb.fortran/print-formatted.f90: Likewise.
2500
5f3b99cf
SS
25012014-09-03 Sasha Smundak <asmundak@google.com>
2502
2503 * gdb.python/py-frame.exp: Test Frame.read_register.
2504
7d793aa9
SDJ
25052014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2506
2507 PR python/16699
2508 * gdb.python/py-completion.exp: New file.
2509 * gdb.python/py-completion.py: Likewise.
2510
fb0576e9
DE
25112014-08-28 Doug Evans <dje@google.com>
2512
2513 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2514 eax,etc. are live with values set by gdb and thus the compiler can't
2515 use them.
2516 * gdb.arch/i386-pseudo.c (main): Ditto.
2517
ee92b0dd
DE
25182014-08-27 Doug Evans <dje@google.com>
2519
2520 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2521
6649db35
DE
25222014-08-25 Doug Evans <dje@google.com>
2523
2524 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2525 (main): Ditto.
2526
564b7600
DE
25272014-08-25 Doug Evans <dje@google.com>
2528
2529 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2530
3881fb67
YQ
25312014-08-24 Yao Qi <yao@codesourcery.com>
2532
2533 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2534 symbol off.
2535 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2536
a05a36a5
DE
25372014-08-22 Doug Evans <dje@google.com>
2538
2539 PR 17276
2540 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2541 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2542 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2543
7c343b48
YQ
25442014-08-22 Yao Qi <yao@codesourcery.com>
2545
2546 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2547 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2548 * gdb.python/python.exp: Likewise. Use .py file on the host
2549 instead of the build.
2550
22fd09ae
JK
25512014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2552
2553 * gdb.threads/gcore-stale-thread.c: New file.
2554 * gdb.threads/gcore-stale-thread.exp: New file.
2555
a8454a7c
PA
25562014-08-21 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2559 * gdb.base/gcore-relro-pie.exp: Likewise.
2560 * gdb.base/gcore-relro.exp: Likewise.
2561 * gdb.base/gcore.exp: Likewise.
2562 * gdb.base/print-symbol-loading.exp: Likewise.
2563 * gdb.threads/gcore-thread.exp: Likewise.
2564 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2565
2a31c623
PA
25662014-08-20 Pedro Alves <palves@redhat.com>
2567 Jan Kratochvil <jan.kratochvil@redhat.com>
2568
2569 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2570 configure.
2571 (EXPECT): Handle READ1 being set.
2572 (all): Depend on EXTRA_RULES.
2573 (check-read1, expect-read1, read1.so, read1): New rules.
2574 * README (Testsuite Parameters): Document the READ1 make variable.
2575 (Race detection): New section.
2576 * configure: Regenerate.
2577 * configure.ac: If build==host==target, and running under a
2578 GNU/glibc system, add read1 to the extra Makefile rules.
2579 (EXTRA_RULES): AC_SUBST it.
2580 * lib/read1.c: New file.
2581
d36430db
JB
25822014-08-20 Joel Brobecker <brobecker@adacore.com>
2583
2584 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2585 the handling of variables declared as a typedef to an array
2586 which a DW_AT_data_location attribute.
2587
9a0dc9e3
PA
25882014-08-19 Andrew Burgess <aburgess@broadcom.com>
2589 Pedro Alves <palves@redhat.com>
2590
2591 PR symtab/14604
2592 PR symtab/14605
2593 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2594 gdb_test.
2595
0718a8da
PA
25962014-08-19 Pedro Alves <palves@redhat.com>
2597
2598 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2599
13b448cd
YQ
26002014-08-19 Yao Qi <yao@codesourcery.com>
2601
2602 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2603 right line.
2604
1cbf5077
DB
26052014-08-18 David Blaikie <dblaikie@gmail.com>
2606
2607 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2608
bf0fae19
JB
26092014-08-18 Joel Brobecker <brobecker@adacore.com>
2610
2611 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2612 attribute in array range.
2613
3c8c5dcc
JB
26142014-08-18 Joel Brobecker <brobecker@adacore.com>
2615
2616 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2617
e66d4446
SC
26182014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2619
2620 PR c++/17132
2621 * gdb.cp/pr17132.cc: New file.
2622 * gdb.cp/pr17132.exp: New file.
2623
940df408
SC
26242014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2625
2626 * gdb.python/py-xmethods.py (A_getarrayind)
2627 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2628 Use 'print' with function call syntax.
2629 (E_method_matcher.match): Fix tab vs space indentation mixup.
2630
ebcc6c3a
YQ
26312014-08-15 Yao Qi <yao@codesourcery.com>
2632
2633 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2634 false.
2635
775e0f04
YQ
26362014-08-15 Yao Qi <yao@codesourcery.com>
2637
2638 * gdb.cp/casts.exp: Set print symbol off.
2639 * gdb.cp/class2.exp: Likewise.
2640 * gdb.cp/overload.exp: Likewise.
2641 * gdb.cp/templates.exp: Likewise.
2642
d769e349
DE
26432014-08-11 Doug Evans <dje@google.com>
2644
2645 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2646 (test_load_shlib): Update.
2647
20c6f1e1
YQ
26482014-08-09 Yao Qi <yao@codesourcery.com>
2649
2650 * gdb.base/display.exp: Invoke is_address_zero_readable.
2651 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2652 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2653 * gdb.base/hbreak-unmapped.exp: Return if
2654 is_address_zero_readable returns true.
2655 * gdb.base/signest.exp: Likewise.
2656 * gdb.base/signull.exp: Likewise.
2657 * gdb.base/sigbpt.exp: Likewise.
2658 * gdb.guile/scm-disasm.exp: Do the test if
2659 is_address_zero_readable returns false.
2660 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2661 * gdb.python/py-arch.exp: Likewise.
2662 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2663 * lib/gdb.exp (is_address_zero_readable): New proc.
2664
5792e8e3
YQ
26652014-08-09 Yao Qi <yao@codesourcery.com>
2666
2667 PR testsuite/13443
2668 * gdb.mi/mi-var-display.exp: Make test messages unique.
2669
3cecbbbe
TT
26702014-08-04 Tom Tromey <tromey@redhat.com>
2671
2672 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2673 target 0".
2674
00b51ff5
TT
26752014-08-04 Tom Tromey <tromey@redhat.com>
2676
2677 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2678 "target_resume".
2679
6908c509
JB
26802014-08-01 Joel Brobecker <brobecker@adacore.com>
2681
2682 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2683 inner_vla_struct_object_size.
2684 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2685 as xfail.
2686
cc6563d2
PA
26872014-07-30 Pedro Alves <palves@redhat.com>
2688
2689 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2690 comment.
2691
7e09a223
YQ
26922014-07-29 Yao Qi <yao@codesourcery.com>
2693
2694 PR gdb/17206
2695 * gdb.base/until-nodebug.exp: New.
2696
7ebdbe92
DE
26972014-07-28 Doug Evans <xdje42@gmail.com>
2698
2699 PR guile/17203
2700 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2701 previously existing parameter, and previously ambiguously spelled
2702 parameter.
2703
fdb1adc6
WN
27042014-07-28 Will Newton <will.newton@linaro.org>
2705
2706 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2707
186fcde0
DE
27082014-07-26 Ludovic Courtès <ludo@gnu.org>
2709 Doug Evans <xdje42@gmail.com>
2710
2711 PR guile/17146
2712 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2713
70509625
PA
27142014-07-25 Pedro Alves <palves@redhat.com>
2715
2716 * gdb.threads/signal-command-handle-nopass.c: New file.
2717 * gdb.threads/signal-command-handle-nopass.exp: New file.
2718 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2719 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2720 * gdb.threads/signal-delivered-right-thread.c: New file.
2721 * gdb.threads/signal-delivered-right-thread.exp: New file.
2722
c3f814a1
PA
27232014-07-25 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.base/double-prompt-target-event-error.exp
2726 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2727 match.
2728 (cancel_pagination_in_target_event): Rework double prompt
2729 detection.
2730 * gdb.base/paginate-after-ctrl-c-running.exp
2731 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2732 <return>' match.
2733 * gdb.base/paginate-bg-execution.exp
2734 (test_bg_execution_pagination_return)
2735 (test_bg_execution_pagination_cancel): Remove '-notransfer
2736 <return>' matches.
2737 * gdb.base/paginate-execution-startup.exp
2738 (test_fg_execution_pagination_return)
2739 (test_fg_execution_pagination_cancel): Remove '-notransfer
2740 <return>' matches.
2741 * gdb.base/paginate-inferior-exit.exp
2742 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2743 match.
2744 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2745 * lib/gdb.exp (pagination_prompt): Run text through
2746 string_to_regexp.
2747 (gdb_test_multiple): Match $pagination_prompt instead of
2748 "<return>".
2749 (string_to_regexp): Move to lib/gdb-utils.exp.
2750
e214cf6c
JK
27512014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2752
2753 * gdb.arch/amd64-entry-value-paramref.S: New file.
2754 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2755 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2756 * gdb.arch/amd64-optimout-repeat.S: New file.
2757 * gdb.arch/amd64-optimout-repeat.c: New file.
2758 * gdb.arch/amd64-optimout-repeat.exp: New file.
2759
17d0c5c8
JK
27602014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2761
2762 PR gdb/17170
2763 * gdb.base/statistics.exp: New file.
2764
b8b8facf
DE
27652014-07-17 Doug Evans <dje@google.com>
2766
74b49205 2767 PR gdb/17170
b8b8facf
DE
2768 * gdb.base/maint.exp: Update testing of per-command stats.
2769
1b5d0ab3
PA
27702014-07-16 Pedro Alves <palves@redhat.com>
2771
2772 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2773 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2774 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2775 (tfile_write_buf): New functions.
2776 (add_memory_block): Rewrite using the above.
2777 (adjust_function_address): New function.
2778 (FUNCTION_ADDRESS): New macro.
2779 (write_basic_trace_file): Remove short_x local, and use
2780 tfile_write_16. Change type of func_addr local to unsigned long
2781 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2782 here. Cast argument of add_memory_block to char pointer.
2783 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2784 (main): Remove parameters.
2785 * gdb.trace/tfile.exp: Remove nowarnings.
2786
4d974e88
SM
27872014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2788
2789 * gdb.base/debug-expr.exp: Test string evaluation with
2790 "debug expression" on.
2791
41e99568
PA
27922014-07-15 Pedro Alves <palves@redhat.com>
2793
2794 * gdb.base/reread.exp: Use clean_restart.
2795
487d9753
PL
27962014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2797
2798 * gdb.arch/avr-flash-qualifer.c: New.
2799 * gdb.arch/avr-flash-qualifer.exp: New.
2800
cc1c52ad
PA
28012014-07-14 Pedro Alves <palves@redhat.com>
2802
2803 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2804 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2805
1e973570
PA
28062014-07-14 Pedro Alves <palves@redhat.com>
2807
2808 * gdb.base/double-prompt-target-event-error.c: New file.
2809 * gdb.base/double-prompt-target-event-error.exp: New file.
2810
93d6eb10
PA
28112014-07-14 Pedro Alves <palves@redhat.com>
2812
2813 PR gdb/17072
2814 * gdb.base/paginate-inferior-exit.c: New file.
2815 * gdb.base/paginate-inferior-exit.exp: New file.
2816
0017922d
PA
28172014-07-14 Pedro Alves <palves@redhat.com>
2818
2819 PR gdb/17072
2820 * gdb.base/paginate-bg-execution.c: New file.
2821 * gdb.base/paginate-bg-execution.exp: New file.
2822
94696ad3
PA
28232014-07-14 Pedro Alves <palves@redhat.com>
2824
2825 PR gdb/17072
2826 * gdb.base/paginate-execution-startup.c: New file.
2827 * gdb.base/paginate-execution-startup.exp: New file.
2828 * lib/gdb.exp (pagination_prompt): New global.
2829 (default_gdb_spawn): New procedure, factored out from
2830 default_gdb_spawn.
2831 (default_gdb_start): Adjust to call default_gdb_spawn.
2832 (gdb_spawn): New procedure.
2833
bd293940
PA
28342014-07-14 Pedro Alves <palves@redhat.com>
2835
2836 * lib/gdb.exp (gdb_assert): New procedure.
2837 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2838
c933f875
PA
28392014-07-14 Pedro Alves <palves@redhat.com>
2840
2841 * gdb.base/execution-termios.c: New file.
2842 * gdb.base/execution-termios.exp: New file.
2843
d98b7a16
TT
28442014-07-14 Tom Tromey <tromey@redhat.com>
2845
2846 * gdb.cp/vla-cxx.cc: New file.
2847 * gdb.cp/vla-cxx.exp: New file.
2848
548740d6
TT
28492014-07-14 Tom Tromey <tromey@redhat.com>
2850
2851 * gdb.reverse/rerun-prec.c: New file.
2852 * gdb.reverse/rerun-prec.exp: New file.
2853
a25eb028
MR
28542014-07-12 Maciej W. Rozycki <macro@mips.com>
2855 Maciej W. Rozycki <macro@codesourcery.com>
2856
2857 * lib/gdb-utils.exp: New file.
2858 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2859 inline `gdb_init_command' processing.
2860 (gdb_start_cmd): Likewise.
2861 * lib/mi-support.exp (mi_run_cmd): Likewise.
2862 * README: Document `gdb_init_command' and `gdb_init_commands'.
2863
218c2655
JK
28642014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2865
2866 Fix false FAIL running under a very long directory name.
2867 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2868 and "set print elements 10000". Twice.
2869
5401fde3
YQ
28702014-07-11 Yao Qi <yao@codesourcery.com>
2871
2872 * gdb.base/exprs.exp: "set print symbol off".
2873
e76126e8
PA
28742014-07-11 Pedro Alves <palves@redhat.com>
2875
2876 * gdb.threads/kill.c: New file.
2877 * gdb.threads/kill.exp: New file.
2878
2d6f0de6
YQ
28792014-07-10 Yao Qi <yao@codesourcery.com>
2880
2881 * gdb.trace/tfile.c (write_basic_trace_file)
2882 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2883 address written to trace file.
2884
7180e04a
PA
28852014-07-09 Pedro Alves <palves@redhat.com>
2886
2887 * gdb.base/attach-wait-input.exp: New file.
2888 * gdb.base/attach-wait-input.c: New file.
2889
9a9a7608
AB
28902014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2891
2892 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2893 setting up test structures.
2894 (main): Call new test function.
2895 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2896 test function, continue into test function and walk test
2897 structures.
2898
161ac41e
YQ
28992014-07-02 Yao Qi <yao@codesourcery.com>
2900
2901 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2902 'bar_start' at the beginning of functions 'foo' and 'bar'
2903 respectively.
2904 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2905 instead of 'foo' and 'bar'.
2906
1f267ae3
MM
29072014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2908
2909 * gdb.btrace/segv.exp: New.
2910 * gdb.btrace/segv.c: New.
2911
2b239efb
LM
29122014-07-02 Luis Machado <lgustavo@codesourcery.com>
2913
2914 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2915 instruction.
2916
cf363f18
MW
29172014-06-30 Mark Wielaard <mjw@redhat.com>
2918
2919 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2920 vulture, vilify, villar): New volatile array constants.
2921 (vindictive, vegetation): New const volatile array constants.
2922 * gdb.base/volatile.exp: Test volatile and const volatile array
2923 types.
2924
aebf9d24
AA
29252014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2926
2927 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2928 target lacks support for awatch, rwatch, or hbreak.
2929
b67a2c6f
YQ
29302014-06-27 Yao Qi <yao@codesourcery.com>
2931
2932 * gdb.multi/dummy-frame-restore.exp: New.
2933 * gdb.multi/dummy-frame-restore.c: New.
2934
aef92902
MM
29352014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2936
2937 * gdb.btrace/gcore.exp: New.
2938
8e9db26e
PA
29392014-06-23 Pedro Alves <palves@redhat.com>
2940
2941 * gdb.base/watchpoint-reuse-slot.c: New file.
2942 * gdb.base/watchpoint-reuse-slot.exp: New file.
2943
70afc5b7
SC
29442014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2945
2946 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2947 progspace's filename in 'info', 'enable' and 'disable' command
2948 tests.
2949
b972bd9c
JK
29502014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2951
2952 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2953 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2954 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2955
125f8a3d
GB
29562014-06-20 Gary Benson <gbenson@redhat.com>
2957
2958 * gdb.arch/i386-avx.exp: Fix include file location.
2959 * gdb.arch/i386-sse.exp: Likewise.
2960
3ed9baed
IB
29612014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2962
2963 * gdb.dlang/expression.exp: New file.
2964
034f788c
PA
29652014-06-19 Pedro Alves <palves@redhat.com>
2966
2967 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2968 out from ...
2969 (top level): ... here. Iterate running tests under different
2970 scheduler-locking settings.
2971
45371d0c
LM
29722014-06-18 Luis Machado <lgustavo@codesourcery.com>
2973
2974 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2975 to DW_FORM_addr and use non-zero addresses.
2976
5d376983
SC
29772014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2978
2979 PR gdb/17017
2980 * gdb.python/py-xmethods.cc: Add global function call counters and
2981 increment them in their respective functions. Remove "cout"
2982 statements.
2983 * gdb.python/py-xmethods.exp: Make tests check the global function
2984 call counters instead of depending on inferior IO.
2985
a1aa2221
LM
29862014-06-18 Don Breazeal <donb@codesourcery.com>
2987
2988 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2989 Deleted procedure.
2990 (explicit_fork_parent_follow): Deleted procedure.
2991 (explicit_fork_child_follow): Deleted procedure.
2992 (test_follow_fork): New procedure.
2993 (do_fork_tests): Replace calls to deleted procedures with
2994 calls to test_follow_fork and reset GDB for subsequent
2995 procedure calls.
2996
0fc05997
YQ
29972014-06-17 Yao Qi <yao@codesourcery.com>
2998
2999 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3000 CP1252.
3001
70795c52
LM
30022014-06-17 Luis Machado <lgustavo@codesourcery.com>
3003
3004 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3005 Initialize ptr and S explicitly.
3006 (skip_type_update_when_not_use_rtti_test): Likewise.
3007
6be47f0c
KS
30082014-06-16 Keith Seitz <keiths@redhat.com>
3009
3010 PR mi/15863
3011 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3012 the inferior is started.
3013
d03de421
PA
30142014-06-16 Pedro Alves <palves@redhat.com>
3015
3016 * gdb.base/break-main-file-remove-fail.c: New file.
3017 * gdb.base/break-main-file-remove-fail.exp: New file.
3018 * gdb.base/break-unload-file.exp: Use build_executable instead of
3019 prepare_for_testing.
3020 (test_break): New parameter "initial_load". Handle it.
3021 (top level): Add initial_load cmdline/file axis.
3022
f9579b99
TT
30232014-06-12 Tom Tromey <tromey@redhat.com>
3024
3025 * gdb.base/completion.exp: Don't use directory name in test.
3026
3657956b
GB
30272014-06-09 Gary Benson <gbenson@redhat.com>
3028
3029 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3030 separate the always-available ANSI-standard signals from the
3031 signals that require checking.
3032 (main): Likewise.
3033 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3034 Likewise.
3035 (main): Likewise.
3036
4186eb54
KS
30372014-06-07 Keith Seitz <keiths@redhat.com>
3038
3039 Revert:
3040 PR c++/16253
3041 * gdb.cp/var-tag.cc: New file.
3042 * gdb.cp/var-tag.exp: New file.
3043 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3044 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3045 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3046 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3047
25326a28 30482014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3049
3050 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3051
829155c9
PA
30522014-06-06 Pedro Alves <palves@redhat.com>
3053
3054 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3055 in target debug output instead of looking at RSP packets,
3056 disabling the test on any target that uses hardware stepping.
3057 Update comments.
3058
61c8d22e
PA
30592014-06-06 Pedro Alves <palves@redhat.com>
3060
3061 * gdb.base/break-unload-file.exp: Fix typo.
3062
d9a47287
YQ
30632014-06-06 Yao Qi <yao@codesourcery.com>
3064
3065 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3066 from "jit_function" to "^jit_function".
3067
e5e01dbf
YQ
30682014-06-06 Yao Qi <yao@codesourcery.com>
3069
3070 * gdb.base/async.c (foo): Add one statement.
3071 * gdb.base/async.exp: Get the next instruction address and
3072 match the output of "nexti" by instruction address. Match
3073 the hex address in the output of "finish".
3074
73ba372c
GB
30752014-06-06 Gary Benson <gbenson@redhat.com>
3076
3077 * gdb.base/call-signals.c: Remove preprocessor conditionals
3078 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3079 SIGSEGV and SIGTERM.
3080 * gdb.base/sigall.c: Likewise.
3081 * gdb.base/unwindonsignal.c: Likewise.
3082 * gdb.reverse/sigall-reverse.c: Likewise.
3083
831517df
YQ
30842014-06-06 Yao Qi <yao@codesourcery.com>
3085
3086 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3087 readable, skip the test.
3088
b8b91e98
YQ
30892014-06-06 Yao Qi <yao@codesourcery.com>
3090
3091 * gdb.threads/staticthreads.c (thread_function): Move the line
3092 setting breakpoint on forward.
3093 * gdb.threads/staticthreads.exp: Update comments.
3094
fb934770
LC
30952014-06-05 Ludovic Courtès <ludo@gnu.org>
3096
3097 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3098 "history-append! type error".
3099
6ef284bd
SM
31002014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3101
3102 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3103 erroneous dprintf expected input.
3104
a872e241
DE
31052014-06-04 Doug Evans <xdje42@gmail.com>
3106
3107 * gdb.guile/scm-generics.exp: Delete.
3108
16f691fb
DE
31092014-06-04 Doug Evans <xdje42@gmail.com>
3110
3111 * gdb.guile/scm-breakpoint.exp: Update.
3112 Add tests for breakpoint registration.
3113
012370f6
TT
31142014-06-04 Tom Tromey <tromey@redhat.com>
3115
3116 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3117 VLA-in-union.
3118 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3119 inner_vla_struct, vla_union types. Initialize objects of those
3120 types and compute their sizes.
3121
9f5a4cef
HZ
31222014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3123 Hui Zhu <hui@codesourcery.com>
3124
3125 * gdb.base/fileio.exp: Add test for shell not available as well as
3126 available.
3127 * gdb.base/fileio.c (test_system): Check for shell twice.
3128
90a45c4d
YQ
31292014-06-04 Yao Qi <yao@codesourcery.com>
3130
3131 * gdb.base/auto-connect-native-target.exp: Remove redundant
3132 space from the regexp pattern.
3133
70017e41
YQ
31342014-06-04 Yao Qi <yao@codesourcery.com>
3135
3136 * gdb.base/default.exp: Replace "child" with "native" in
3137 regexp pattern.
3138
883964a7
SC
31392014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3140
3141 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3142 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3143 * gdb.python/py-xmethods.py: Python script supporting the
3144 new testcase and tests.
3145
ef370185
JB
31462014-06-03 Joel Brobecker <brobecker@adacore.com>
3147 Pedro Alves <palves@redhat.com>
3148
3149 PR breakpoints/17000
3150 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3151 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3152
1e2ccb61
BM
31532014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3154
3155 * gdb.base/subst.exp: Add tests to verify partial path matching
3156 output.
3157
c6ec5ab2
PA
31582014-06-03 Pedro Alves <palves@redhat.com>
3159
3160 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3161 target that doesn't use software single-stepping.
3162
835c559f
PA
31632014-06-03 Pedro Alves <palves@redhat.com>
3164
3165 PR breakpoints/17000
3166 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3167 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3168
06eb1586
DE
31692014-06-02 Doug Evans <xdje42@gmail.com>
3170
3171 * gdb.guile/scm-parameter.exp: New file.
3172
e698b8c4
DE
31732014-06-02 Doug Evans <xdje42@gmail.com>
3174
3175 * gdb.guile/scm-cmd.c: New file.
3176 * gdb.guile/scm-cmd.exp: New file.
3177
ded03782
DE
31782014-06-02 Doug Evans <xdje42@gmail.com>
3179
3180 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3181 pretty-printer lookup.
3182 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3183 (make-pp_s-printer): Call it.
3184 (make-pretty-printer-from-dict): New function.
3185 (lookup-pretty-printer-maker-from-dict): New function.
3186 (*pretty-printer*): Simplify.
3187 (make-objfile-pp_s-printer): New function.
3188 (install-objfile-pretty-printers!): New function.
3189 (make-progspace-pp_s-printer): New function.
3190 (install-progspace-pretty-printers!): New function.
3191 * gdb.guile/scm-progspace.c: New file.
3192 * gdb.guile/scm-progspace.exp: New file.
3193
41fac0cf
PA
31942014-06-02 Pedro Alves <palves@redhat.com>
3195
3196 * gdb.base/dprintf-bp-same-addr.c: New file.
3197 * gdb.base/dprintf-bp-same-addr.exp: New file.
3198
96ae5695
EBM
31992014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3200
3201 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3202 * gdb.arch/powerpc-power.s: Likewise.
3203
da02b3a8
JB
32042014-06-02 Joel Brobecker <brobecker@adacore.com>
3205
3206 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3207
c72b2e7b
YQ
32082014-06-01 Yao Qi <yao@codesourcery.com>
3209
3210 * gdb.base/watchpoint.exp (test_watch_location): Check null
3211 pointer can be dereferenced. If not, do the test, otherwise
3212 skip it.
3213
53e8a631
AB
32142014-05-30 Andrew Burgess <aburgess@broadcom.com>
3215
3216 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3217 results.
3218 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3219
938f0e2f
AB
32202014-05-30 Andrew Burgess <aburgess@broadcom.com>
3221
3222 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3223 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3224 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3225 * gdb.arch/amd64-invalid-stack-top.c: New file.
3226 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3227
9ba6657a
PA
32282014-05-30 Pedro Alves <palves@redhat.com>
3229
3230 PR breakpoints/17000
3231 * gdb.base/sss-bp-on-user-bp.c: New file.
3232 * gdb.base/sss-bp-on-user-bp.exp: New file.
3233
522c09bf
DB
32342014-05-30 David Blaikie <dblaikie@gmail.com>
3235
3236 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3237 gnu_inline semantics via attribute.
3238 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3239 source explicitly specifies the required semantics.
3240
bf4ef81e
MR
32412014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3242
3243 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3244
329ea579
PA
32452014-05-29 Pedro Alves <palves@redhat.com>
3246 Tom Tromey <tromey@redhat.com>
3247
3248 * gdb.base/async-shell.exp: Don't enable target-async.
3249 * gdb.base/async.exp
3250 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3251 parameter. Adjust.
3252 (top level): Don't test with "target-async".
3253 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3254 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3255 * gdb.base/inferior-died.exp: Don't enable target-async.
3256 * gdb.base/interrupt-noterm.exp: Likewise.
3257 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3258 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3259 * gdb.mi/mi-nonstop.exp: Likewise.
3260 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3261 * gdb.mi/mi-nsintrall.exp: Likewise.
3262 * gdb.mi/mi-nsmoribund.exp: Likewise.
3263 * gdb.mi/mi-nsthrexec.exp: Likewise.
3264 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3265 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3266 * gdb.python/py-evsignal.exp: Don't enable target-async.
3267 * gdb.python/py-evthreads.exp: Likewise.
3268 * gdb.python/py-prompt.exp: Likewise.
3269 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3270 * gdb.server/solib-list.exp: Don't enable target-async.
3271 * gdb.threads/thread-specific-bp.exp: Likewise.
3272 * lib/mi-support.exp: Adjust to use mi-async.
3273
fd664c91
PA
32742014-05-29 Pedro Alves <palves@redhat.com>
3275
3276 PR gdb/13860
3277 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3278 reason, even in sync mode.
3279
251bde03
PA
32802014-05-29 Pedro Alves <palves@redhat.com>
3281 Hui Zhu <hui@codesourcery.com>
3282
3283 PR PR15693
3284 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3285 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3286 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3287 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3288
7f3c0343
JB
32892014-05-28 Joel Brobecker <brobecker@adacore.com>
3290
3291 * config/monitor.exp (gdb_target_monitor): Replace use of
3292 "set remotebaud" by "set serial baud".
3293
b2715b27
AW
32942014-05-26 Andy Wingo <wingo@igalia.com>
3295
3296 * gdb.guile/scm-breakpoint.exp:
3297 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3298 properties instead of gdb-object-properties.
3299
498a4489
YQ
33002014-05-26 Yao Qi <yao@codesourcery.com>
3301
3302 * gdb.server/no-thread-db.exp: Specify source file name
3303 explicitly when setting a breakpoint.
3304
589fdceb
MM
33052014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3306
3307 * gdb.btrace/vdso.c: New.
3308 * gdb.btrace/vdso.exp: New.
3309
e9089e05
MM
33102014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3311
3312 * gdb.base/gcore.exp (capture_command_output): Move ...
3313 * lib/gdb.exp (capture_command_output): ... here.
3314
67b5c0c1
MM
33152014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3316
3317 * gdb.btrace/data.exp: Test memory access during btrace replay.
3318
a2199296
SM
33192014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3320
3321 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3322
17b2616c
PA
33232014-05-21 Pedro Alves <palves@redhat.com>
3324
3325 PR gdb/13860
3326 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3327 (top level): Test that output related to execution commands is
3328 sent to the console with CLI commands, but not with MI commands.
3329 Test that breakpoint events are always mirrored to the console.
3330 Also expect the new source line to be output after a "next" in
3331 async mode too. Make it a pass/fail test.
3332 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3333 output.
3334 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3335
5166082f
PA
33362014-05-21 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3339 Use them to test variations of "list" after reaching a breakpoint.
3340 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3341 Test "list" with listsize 10 after reaching a breakpoint.
3342 * gdb.python/python.exp (decode_line current location line
3343 number): Adjust expected line number.
3344
2f25d70f
SM
33452014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3346
3347 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3348 behavior for $args, pass it directly to "run".
3349
ff604a67
MR
33502014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3351
3352 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3353 30000 to 65536.
3354
6a3cb8e8
PA
33552014-05-21 Pedro Alves <palves@redhat.com>
3356
3357 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3358 auto-connect-native-target off".
3359 * gdb.base/auto-connect-native-target.c: New file.
3360 * gdb.base/auto-connect-native-target.exp: New file.
3361
4ebfc96e
PA
33622014-05-21 Pedro Alves <palves@redhat.com>
3363
3364 * gdb.base/default.exp: Test "target native" instead of "target
3365 child".
3366
36d46afb
MW
33672014-05-21 Mark Wielaard <mjw@redhat.com>
3368
3369 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3370
5876f503
JK
33712014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3372
3373 Fix TLS access for -static -pthread.
3374 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3375 <HAVE_TLS> (thread_function, main): Initialize it.
3376 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3377 Add clean_restart.
3378 <$have_tls != "">: Check TLSVAR.
3379
0256a6ac
PA
33802014-05-21 Pedro Alves <palves@redhat.com>
3381
3382 * gdb.base/dcache-line-read-error.c: New.
3383 * gdb.base/dcache-line-read-error.exp: New.
3384
936d2992
PA
33852014-05-20 Pedro Alves <palves@redhat.com>
3386
3387 * gdb.base/compare-sections.c: New file.
3388 * gdb.base/compare-sections.exp: New file.
3389
802e8e6d
PA
33902014-05-20 Pedro Alves <palves@redhat.com>
3391
3392 * gdb.base/break-idempotent.c: New file.
3393 * gdb.base/break-idempotent.exp: New file.
3394
e59fa00f
MM
33952014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3396
3397 * gdb.btrace/nohist.exp: New.
3398
8b696e31
YQ
33992014-05-20 Yao Qi <yao@codesourcery.com>
3400
3401 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3402 gdb.reverse directory and gdb_reverse_timeout exists in board
3403 setting.
3404 * README: Document gdb_reverse_timeout.
3405
73c9764f
YQ
34062014-05-20 Yao Qi <yao@codesourcery.com>
3407
3408 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3409 'test_file_name'. Treat args as a string instead of a list.
3410 (gdb_init): Rename argument 'args' by 'test_file_name'.
3411
f1f4348a
JK
34122014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3413
3414 * gdb.arch/powerpc-power.exp: New file.
3415 * gdb.arch/powerpc-power.s: New file.
3416
0dbe70ce
DE
34172014-05-16 Doug Evans <dje@google.com>
3418
3419 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3420 * gdb.base/completion.exp: Check that all expected files exist
3421 before doing file completion.
0dbe70ce 3422
8d551b02
DE
34232014-05-16 Doug Evans <dje@google.com>
3424
3425 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3426 Update.
3427 (do_syscall_tests_without_xml): Update.
3428
73eb7709
PA
34292014-05-16 Pedro Alves <palves@redhat.com>
3430
3431 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3432 instead of "unknown output after running".
3433
3fae92fc
YQ
34342014-05-16 Yao Qi <yao@codesourcery.com>
3435
3436 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3437 file1.txt from host at the end.
3438 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3439
c2b2ccc5
DE
34402014-05-15 Doug Evans <dje@google.com>
3441
3442 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3443 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3444 loading file. Add test for TU lookup.
3445
8c217a4b
SM
34462014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3447
3448 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3449 calling "-exec-arguments" or "set args" before running the
3450 inferior.
3451
3deb39c6
SM
34522014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3453
3454 * lib/mi-support.exp (mi_expect_stop): Expect message for
3455 inferiors that exit with non-zero exit code.
3456
71a79f8c
YQ
34572014-05-14 Yao Qi <yao@codesourcery.com>
3458
3459 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3460 match absolute path on remote host.
3461 (test_file_list_exec_source_files): Remove "/" from the
3462 pattern.
3463
f23fcd46
YQ
34642014-05-14 Yao Qi <yao@codesourcery.com>
3465
3466 * boards/local-remote-host-notty.exp (${board}_file): New
3467 proc.
3468
9404b58f
KM
34692014-05-07 Kyle McMartin <kyle@redhat.com>
3470
3471 Pushed by Joel Brobecker <brobecker@adacore.com>.
3472 * gdb.arch/aarch64-atomic-inst.c: New file.
3473 * gdb.arch/aarch64-atomic-inst.exp: New file.
3474
5e45f04c
YQ
34752014-05-07 Yao Qi <yao@codesourcery.com>
3476
3477 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3478 in current context" too.
3479
c888a17d
KS
34802014-05-05 Keith Seitz <keiths@redhat.com>
3481
3482 * gdb.linespec/ls-dollar.exp: Add test for linespec
3483 file:convenience_variable.
3484
290a839c
YQ
34852014-05-05 Yao Qi <yao@codesourcery.com>
3486
3487 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3488 traceframes into tfile and ctf trace files. Read data from
3489 trace file and test collected data.
3490 (gdb_collect_locals_test): Likewise.
3491 (gdb_unavailable_registers_test): Likewise.
3492 (gdb_unavailable_floats): Likewise.
3493 (gdb_collect_globals_test): Likewise.
3494 (top-level): Append "ctf" to trace_file_targets if GDB
3495 supports.
3496
b5262cd0
YQ
34972014-05-05 Yao Qi <yao@codesourcery.com>
3498
3499 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3500 code to ...
3501 (gdb_collect_args_test_1): ... it. New proc.
3502 (gdb_collect_locals_test): Move some code to ...
3503 (gdb_collect_locals_test_1): ... it. New proc.
3504 (gdb_unavailable_registers_test): Move some code to ...
3505 (gdb_unavailable_registers_test_1): ... it. New proc.
3506 (gdb_unavailable_floats): Move some code to ...
3507 (gdb_unavailable_floats_1): ... it. New proc.
3508
30a1e6cc
SDJ
35092014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3510
3511 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3512 probes to test for bitness recognition.
3513 * gdb.arch/amd64-stap-optional-prefix.exp
3514 (test_probe_value_without_reg): New procedure.
3515 Add code to test for different kinds of bitness.
3516
f33da99a
SDJ
35172014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3518
3519 PR breakpoints/16889
3520 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3521 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3522
5b80f00d
PA
35232014-05-01 Pedro Alves <palves@redhat.com>
3524
3525 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3526 gdb_file_cmd if no file is specified.
3527 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3528 last_loaded_file to set the remote exec-file.
3529
f8c2a73c
PA
35302014-05-01 Pedro Alves <palves@redhat.com>
3531
3532 * boards/local-remote-host.exp: New file.
3533
be6e8ac7
PA
35342014-05-01 Pedro Alves <palves@redhat.com>
3535
3536 * boards/local-remote-host.exp: Rename to ...
3537 * boards/local-remote-host-notty.exp: ... this.
3538
cac0dc8f
JB
35392014-04-28 Joel Brobecker <brobecker@adacore.com>
3540
3541 * gdb.ada/dyn_arrayidx: New testcase.
3542
9730e6cc
YQ
35432014-04-26 Yao Qi <yao@codesourcery.com>
3544
3545 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3546 and compute the length of function main. Save it in
3547 $main_length.
3548 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3549 (top-level): Use gdb_compile to compile objects into
3550 executable and restart GDB. Remove invocation to
3551 prepare_for_testing.
3552
7ae1a6a6
PA
35532014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3554 Pedro Alves <palves@redhat.com>
3555
3556 PR server/16255
3557 * gdb.multi/multi-attach.c: New file.
3558 * gdb.multi/multi-attach.exp: New file.
3559
4082afcc
PA
35602014-04-25 Pedro Alves <palves@redhat.com>
3561
3562 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3563 user.
3564 (top level): Test that "set remote conditional-breakpoints-packet
3565 off" works as intended.
3566 * gdb.base/dprintf.exp: Test that "set remote
3567 breakpoint-commands-packet off" works as intended.
3568 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3569 New function.
3570 (top level): Call it.
3571 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3572 remote fast-tracepoints-packet off" works as intended.
3573 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3574 * lib/gdb.exp (gdb_is_target_remote): ... here.
3575
2abc3f8d
DB
35762014-04-24 David Blaikie <dblaikie@gmail.com>
3577
3578 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3579 ensure clang would not discard them.
3580 * gdb.base/gdbvars.c: Ditto.
3581 * gdb.base/memattr.c: Ditto.
3582 * gdb.base/whatis.c: Ditto.
3583 * gdb.python/py-prettyprint.c: Ditto.
3584 * gdb.trace/actions.c: Ditto.
3585 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3586 ensure clang would not discard it.
3587
bfd39632
DB
35882014-04-24 David Blaikie <dblaikie@gmail.com>
3589
3590 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3591 clang to emit the full definition of type required by the test
3592 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3593
22842ff6
DB
35942014-04-24 David Blaikie <dblaikie@gmail.com>
3595
3596 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3597 coax Clang into emitting the definition of the type.
3598 * gdb.cp/pr10728-x.h (y): Ditto.
3599 * gdb.cp/pr10728-y.cc (y): Ditto.
3600
c2e827ad
DB
36012014-04-24 David Blaikie <dblaikie@gmail.com>
3602
3603 * gdb.base/label.exp: XFAIL label related tests under Clang.
3604 * gdb.cp/cplabel.exp: Ditto.
3605 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3606 under Clang those using labels.
3607
4c2d33e7
YQ
36082014-04-25 Yao Qi <yao@codesourcery.com>
3609
3610 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3611 double_label.
3612 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3613 partial_label and double_label.
3614
56083b99
DB
36152014-04-24 David Blaikie <dblaikie@gmail.com>
3616
3617 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3618
25d4e99d
DB
36192014-04-24 David Blaikie <dblaikie@gmail.com>
3620
3621 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3622 of the function to work across GCC and Clang.
3623 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3624 pointer types (const void ** const V void **).
3625
01f9f808
MS
36262014-04-24 Michael Sturm <michael.sturm@mintel.com>
3627 Walfred Tedeschi <walfred.tedeschi@intel.com>
3628
3629 * Makefile.in (EXECUTABLES): Added i386-avx512.
3630 * gdb.arch/i386-avx512.c: New file.
3631 * gdb.arch/i386-avx512.exp: Likewise.
3632
4b48d439
KS
36332014-04-23 Keith Seitz <keiths@redhat.com>
3634
3635 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3636 (mi_make_breakpoint_table): New procedure.
3637 (mi_create_breakpoint): Use mi_make_breakpoint
3638 and return the result.
3639 (mi_make_breakpoint): New procedure.
3640 (mi_build_kv_pairs): New procedure.
3641
3642 * gdb.mi/mi-break.exp: Remove unused globals,
3643 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3644 All callers updated.
3645 * gdb.mi/mi-dprintf.exp: Use variable to track command
3646 number.
3647 Update all callers of mi_create_breakpoint and use
3648 mi_make_breakpoint_table.
3649 Remove any unused global variables.
3650 * gdb.mi/mi-nonstop.exp: Likewise.
3651 * gdb.mi/mi-nsintrall.exp: Likewise.
3652 * gdb.mi/mi-nsmoribund.exp: Likewise.
3653 * gdb.mi/mi-nsthrexec.exp: Likewise.
3654 * gdb.mi/mi-reverse.exp: Likewise.
3655 * gdb.mi/mi-simplerun.exp: Likewise.
3656 * gdb.mi/mi-stepn.exp: Likewise.
3657 * gdb.mi/mi-syn-frame.exp: Likewise.
3658 * gdb.mi/mi-until.exp: Likewise.
3659 * gdb.mi/mi-var-cp.exp: Likewise.
3660 * gdb.mi/mi-var-display.exp: Likewise.
3661 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3662 * gdb.mi/mi2-var-child.exp: Likewise.
3663 * gdb.mi/mi-vla-c99.exp: Likewise.
3664 * lib/mi-support.exp: Likewise.
3665
3666 From Ian Lance Taylor <iant@cygnus.com>:
3667 * lib/gdb.exp (parse_args): New procedure.
3668
08351840
PA
36692014-04-23 Pedro Alves <palves@redhat.com>
3670
3671 * gdb.base/break-unload-file.c: New file.
3672 * gdb.base/break-unload-file.exp: New file.
3673 * gdb.base/sym-file-lib.c (baz): New function.
3674 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3675 field.
3676 (load): Store the segment's mapped size.
3677 (unload): New function.
3678 (unload_shlib): New function.
3679 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3680 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3681 set a breakpoint at baz, and call it.
3682 * gdb.base/sym-file.exp: New tests for stale breakpoint
3683 instructions.
3684
076855f9
PA
36852014-04-23 Pedro Alves <palves@redhat.com>
3686
3687 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3688 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3689 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3690 * gdb.base/hbreak-unmapped.c: New file.
3691 * gdb.base/hbreak-unmapped.exp: New file.
3692 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3693 * lib/gdb.exp (gdb_is_target_remote): ... here.
3694
483805cf
PA
36952014-04-22 Pedro Alves <palves@redhat.com>
3696
3697 * gdb.base/consecutive-step-over.c: New file.
3698 * gdb.base/consecutive-step-over.exp: New file.
3699
06d97543
PA
37002014-04-22 Pedro Alves <palves@redhat.com>
3701
3702 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3703 instead of send_gdb/gdb_expect.
3704
b4429ea2
YQ
37052014-04-22 Yao Qi <yao@codesourcery.com>
3706
3707 * lib/trace-support.exp (generate_tracefile): New procedure.
3708 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3709 return 0.
3710 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3711 if generate_tracefile returns 1.
3712
51d48146
PA
37132014-04-18 Tom Tromey <palves@redhat.com>
3714 Pedro alves <tromey@redhat.com>
3715
3716 PR backtrace/15558
3717 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3718 with a backtrace limit.
3719 * gdb.python/py-frame-inline.exp: Test running to an inline
3720 function with a backtrace limit, and printing the newest frame.
3721 * gdb.python/py-frame-inline.c (main): Call f.
3722
bd1dce5f
MS
37232014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3724
3725 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3726
40d1a503
MS
37272014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3728
3729 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3730 Drop prefix from unsupported source file path.
3731
389b98f7
YQ
37322014-04-17 Yao Qi <yao@codesourcery.com>
3733
3734 * lib/gdb.exp (with_target_charset): New proc.
3735 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3736 with_target_charset.
3737 (test_print_strings): Likewise.
3738 (test_repeat_bytes): Likewise.
3739 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3740 for some tests.
3741
22869d73
KS
37422014-04-16 Keith Seitz <keiths@redhat.com>
3743
3744 PR gdb/15827
3745 * gdb.dwarf2/corrupt.c: New file.
3746 * gdb.dwarf2/corrupt.exp: New file.
3747
c4f87ca6
KS
37482014-04-16 Keith Seitz <keiths@redhat.com>
3749
3750 PR c++/16597
3751 * gdb.cp/namelessclass.cc: New file.
3752 * gdb.cp/namelessclass.exp: New file.
3753 * gdb.cp/namelessclass.S: New file.
3754
ab19de87
DE
37552014-04-16 Doug Evans <dje@google.com>
3756
3757 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3758 Add comment.
3759 (gdbserver_default_get_comm_port): New function.
3760 (gdbserver_start): Check if board file provided
3761 "gdbserver,get_comm_port" and use it if so.
3762 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3763 (gdb,socketport): Set to "stdio".
3764 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3765 (stdio_gdbserver_template): Delete.
3766 (${board}_get_remote_address): Update.
3767 (${board}_build_remote_cmd): Delete.
3768 (${board}_get_comm_port): New function.
3769 (${board}_spawn): Update.
3770 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3771 Delete.
3772 (${board}_get_remote_address): Update.
3773 (${board}_get_comm_port): New function.
3774
fc98a809
AB
37752014-04-16 Andrew Burgess <aburgess@broadcom.com>
3776
3777 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3778 appearing in any order.
3779
87fd9e6e
DE
37802014-04-15 Doug Evans <dje@google.com>
3781
3782 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3783 uninitialized value of "description".
3784
099fc3ea
KS
37852014-04-15 Keith Seitz <keiths@redhat.com>
3786
3787 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3788 Remove unused globals.
3789 (test_running_the_program): Likewise.
3790 (test_controlled_execution): Likewise.
3791 (test_controlling_breakpoints): Likewise.
3792 (test_program_termination): Likewise.
3793
5da151d4
KS
37942014-04-15 Keith Seitz <keiths@redhat.com>
3795
3796 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3797 unused globals.
3798 (test_rbreak_creation_and_listing): Likewise.
3799 (test_ignore_count): Likewise.
3800 (test_error): Likewise.
3801
35e5d2f0
PA
38022014-04-15 Pedro Alves <palves@redhat.com>
3803
3804 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3805 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3806 sym-file-loader.c.
3807 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3808 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3809 to sym-file-loader.c.
3810 (struct library): Forward declare.
3811 (load_shlib, lookup_function): Change prototypes.
3812 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3813 (translate_offset): Remove declarations.
3814 (get_text_addr): New declaration.
3815 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3816 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3817 sym-file-loader.h.
3818 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3819 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3820 here from sym-file-loader.h.
3821 (struct library): New structure.
3822 (load_shlib, lookup_function): Change prototypes and adjust to
3823 work with a struct library.
3824 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3825 (translate_offset): Make static.
3826 (get_text_addr): New function.
3827 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3828
eb4c1710
PA
38292014-04-15 Pedro Alves <palves@redhat.com>
3830
3831 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3832
2d1baf52
PA
38332014-04-15 Pedro Alves <palves@redhat.com>
3834
3835 * gdb.base/sym-file-loader.c: Include <limits.h>.
3836 (SELF_LINK): New define.
3837 (get_origin): New function.
3838 (load_shlib): Use it.
3839 * gdb.base/sym-file.exp: Don't early return if the target is
3840 remote. Use runto_main, and issue fail is that fails. Use
3841 gdb_load_shlibs.
3842 (shlib_name): Delete.
3843 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3844
7dd6df01
PA
38452014-04-15 Pedro Alves <palves@redhat.com>
3846
3847 * gdb.base/sym-file.exp: Remove regex characters from test
3848 message. Don't refer to breakpoint numbers in test messages.
3849
b50c8614
KS
38502014-04-14 Keith Seitz <keiths@redhat.com>
3851
3852 PR c++/16253
3853 * gdb.cp/var-tag.cc: New file.
3854 * gdb.cp/var-tag.exp: New file.
3855 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3856 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3857 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3858 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3859
3d567982
TT
38602014-04-14 Tom Tromey <tromey@redhat.com>
3861
3862 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3863 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3864 type.
3865 * gdb.cp/enum-class.exp: New file.
3866 * gdb.cp/enum-class.cc: New file.
3867
0626fc76
TT
38682014-04-14 Tom Tromey <tromey@redhat.com>
3869
3870 * gdb.dwarf2/enum-type.exp: New file.
3871
dca325b3
SA
38722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3873
3874 * gdb.mi/mi-vla-c99.exp: New file.
3875 * gdb.mi/vla.c: New file.
3876
5854b38a
SA
38772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3878
3879 * gdb.base/vla-datatypes.c: New file.
3880 * gdb.base/vla-datatypes.exp: New file.
3881
463bb957
SA
38822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3883
3884 * gdb.base/vla-ptr.c: New file.
3885 * gdb.base/vla-ptr.exp: New file.
3886
3dd170be
SA
38872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3888
3889 * gdb.dwarf2/count.exp: New file.
3890
5ecaaa66
SA
38912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3892
3893 * gdb.base/vla-sideeffect.c: New file.
3894 * gdb.base/vla-sideeffect.exp: New file.
3895
41f1ada5
DB
38962014-04-14 David Blaikie <dblaikie@gmail.com>
3897
3898 * gdb.mi/non-stop.c: Add return value for non-void function return
3899 statement.
3900 * gdb.threads/staticthreads.c: Ditto.
3901
0be03e84
DE
39022014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3903 Doug Evans <xdje42@gmail.com>
3904
3905 * gdb.guile/scm-value.c: Improve test case.
3906 * gdb.guile/scm-value.exp: Add new test.
3907
f180a1fb
DB
39082014-04-11 David Blaikie <dblaikie@gmail.com>
3909
3910 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3911 override Clang's default.
3912
6b662e19
JB
39132014-04-11 Joel Brobecker <brobecker@adacore.com>
3914
3915 Revert the following changes (regressions):
3916
3917 * gdb.base/vla-sideeffect.c: New file.
3918 * gdb.base/vla-sideeffect.exp: New file.
3919
3920 * gdb.dwarf2/count.exp: New file.
3921
3922 * gdb.base/vla-multi.c: New file.
3923 * gdb.base/vla-multi.exp: New file.
3924
3925 * gdb.base/vla-ptr.c: New file.
3926 * gdb.base/vla-ptr.exp: New file.
3927
3928 * gdb.base/vla-datatypes.c: New file.
3929 * gdb.base/vla-datatypes.exp: New file.
3930
3931 * gdb.mi/mi-vla-c99.exp: New file.
3932 * gdb.mi/vla.c: New file.
3933
245a5f0b
KS
39342014-04-11 Keith Seitz <keiths@redhat.com>
3935
3936 PR c++/16675
3937 * gdb.cp/cpsizeof.exp: New file.
3938 * gdb.cp/cpsizeof.cc: New file.
3939
58a84dcf
SA
39402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3941
191a8a90
JB
3942 * gdb.mi/mi-vla-c99.exp: New file.
3943 * gdb.mi/vla.c: New file.
58a84dcf 3944
c8655f75
SA
39452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3946
3947 * gdb.base/vla-datatypes.c: New file.
3948 * gdb.base/vla-datatypes.exp: New file.
3949
024e13b4
SA
39502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3951
3952 * gdb.base/vla-ptr.c: New file.
3953 * gdb.base/vla-ptr.exp: New file.
3954
1a237e0e
SA
39552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3956
3957 * gdb.base/vla-multi.c: New file.
3958 * gdb.base/vla-multi.exp: New file.
3959
504f3432
SA
39602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3961
3962 * gdb.dwarf2/count.exp: New file.
3963
3bce8237
SA
39642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3965
191a8a90
JB
3966 * gdb.base/vla-sideeffect.c: New file.
3967 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 3968
322f9c21
YQ
39692014-04-11 Yao Qi <yao@codesourcery.com>
3970
3971 * gdb.base/completion.exp: Check file exists before running tests
3972 on file completion.
3973
d708bcd1
PA
39742014-04-10 Pedro Alves <palves@redhat.com>
3975
3976 * gdb.base/cond-eval-mode.c: New file.
3977 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3978 prepare_for_testing to build the new file. Check result of
3979 runto_main.
3980 (test_break, test_watch): New procedures.
3981 (top level): Use them.
3982
ae1d2761
PM
39832014-04-08 Pierre Muller <muller@sourceware.org>
3984
3985 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3986 Ctrl-V use for mingw hosts.
3987
7af389b8
SC
39882014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3989
3990 * gdb.python/py-value.c: Improve test case.
3991 * gdb.python/py-value.exp: Add new test.
3992
5e703181
DE
39932014-04-07 David Blaikie <dblaikie@gmail.com>
3994
3995 * lib/compiler.c: Identify the clang compiler.
3996 * lib/compiler.cc: Ditto.
3997
9810b410
YQ
39982014-04-03 Yao Qi <yao@codesourcery.com>
3999
4000 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4001
98d1b8dc
AB
40022014-04-01 Anton Blanchard <anton@samba.org>
4003
4004 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4005 messages unique.
4006
3114cea1
AB
40072014-04-01 Anton Blanchard <anton@samba.org>
4008
4009 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4010 prepare_for_testing.
4011
62f7182c
AB
40122014-04-01 Anton Blanchard <anton@samba.org>
4013
4014 * gdb.arch/ppc64-atomic-inst.c: Remove.
4015 * gdb.arch/ppc64-atomic-inst.S: New file.
4016 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4017
770e7fc7
DE
40182014-03-31 Doug Evans <dje@google.com>
4019
4020 * gdb.base/print-symbol-loading-lib.c: New file.
4021 * gdb.base/print-symbol-loading-main.c: New file.
4022 * gdb.base/print-symbol-loading.exp: New file.
4023
46e2bafa
YQ
40242014-03-31 Yao Qi <yao@codesourcery.com>
4025
4026 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4027
8776cfe9
JB
40282014-03-28 Joel Brobecker <brobecker@adacore.com>
4029
4030 * gdb.ada/mi_dyn_arr: New testcase.
4031
5d1ef361
DE
40322014-03-27 Doug Evans <dje@google.com>
4033
4034 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4035
b5bee914
YQ
40362014-03-27 Yao Qi <yao@codesourcery.com>
4037
4038 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4039 if target is nios2-*-*.
4040
0d4d0e77
YQ
40412014-03-26 Yao Qi <yao@codesourcery.com>
4042
4043 * lib/gdb.exp (readline_is_used): New proc.
4044 * gdb.base/completion.exp: Move tests on command complete up.
4045 Skip the rest of tests if readline is not used.
4046 * gdb.ada/complete.exp: Skp the test if readline is not
4047 used.
4048 * gdb.base/filesym.exp: Likewise.
4049 * gdb.base/macscp.exp: Likewise.
4050 * gdb.base/readline-ask.exp: Likewise.
4051 * gdb.base/readline.exp: Likewise.
4052 * gdb.python/py-cmd.exp: Likewise.
4053 * gdb.trace/tfile.exp: Likewise.
4054
29361eee
YQ
40552014-03-26 Yao Qi <yao@codesourcery.com>
4056
4057 * gdb.base/macscp.exp: Fix code format issues.
4058
bc9a5525
UW
40592014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4060
4061 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4062 * gdb.asm/powerpc64le.inc: New file.
4063
d3839ede
PA
40642014-03-25 Pedro Alves <palves@redhat.com>
4065 Doug Evans <dje@google.com>
4066
4067 * gdb.base/source-execution.c: New file.
4068 * gdb.base/source-execution.exp: New file.
4069 * gdb.base/source-execution.gdb: New file.
4070
01672a57
DE
40712014-03-24 Doug Evans <dje@google.com>
4072
4073 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4074 using fission.
4075
88bbeca9
HZ
40762014-03-24 Hui Zhu <hui@codesourcery.com>
4077 Pedro Alves <palves@redhat.com>
4078
4079 PR breakpoints/16101
4080 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4081 test pass/fail messages. Detect missing support for dprintf when
4082 breakpoints are actually inserted.
4083 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4084 breakpoints are actually inserted.
4085 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4086 fails.
4087
d2348791
JK
40882014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4089
4090 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4091
feef67ab
DE
40922014-03-22 Doug Evans <xdje42@gmail.com>
4093
4094 * gdb.python/python.exp (python not supported): Verify multi-line
4095 python command issues an error.
25d743f9 4096 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4097 guile command issues an error.
feef67ab 4098
ecebef6a
MR
40992014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4100
4101 * gdb.threads/thread-specific.exp: Handle the lack of usable
4102 $this_breakpoint and $this_thread.
4103
ccdd1909
HZ
41042014-03-21 Hui Zhu <hui@codesourcery.com>
4105
4106 * gdb.base/attach.exp (do_command_attach_tests): New.
4107
beb460e8
PA
41082014-03-20 Tom Tromey <tromey@redhat.com>
4109 Pedro Alves <palves@redhat.com>
4110
4111 PR cli/15718
4112 * gdb.base/condbreak-call-false.c: New file.
4113 * gdb.base/condbreak-call-false.exp: New file.
4114
40acf43a
PA
41152014-03-20 Pedro Alves <palves@redhat.com>
4116
4117 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4118 Delete.
4119 (block_signals, unblock_signals): Delete.
4120 (child_function_2, main): Remove references to deleted variable
4121 and functions.
4122
9f5e1e02
PA
41232014-03-20 Pedro Alves <palves@redhat.com>
4124
4125 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4126 Use pthread_kill to signal thread 2.
4127 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4128 Adjust to make the test send itself a signal rather than using the
4129 host's "kill" command.
4130
99619bea
PA
41312014-03-20 Pedro Alves <palves@redhat.com>
4132
4133 * gdb.threads/multiple-step-overs.c: New file.
4134 * gdb.threads/multiple-step-overs.exp: New file.
4135 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4136 Adjust expected infrun debug output.
4137
2adfaa28
PA
41382014-03-20 Pedro Alves <palves@redhat.com>
4139
4140 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4141 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4142
31e77af2
PA
41432014-03-20 Pedro Alves <palves@redhat.com>
4144
4145 PR breakpoints/7143
4146 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4147 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4148 of gdb_test_multiple.
4149 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4150 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4151
b9f437de
PA
41522014-03-20 Pedro Alves <palves@redhat.com>
4153
4154 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4155 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4156
05adc73e
PA
41572014-03-19 Pedro Alves <palves@redhat.com>
4158
4159 * gdb.base/async.exp: Remove early return.
4160
6048b950
PA
41612014-03-19 Pedro Alves <palves@redhat.com>
4162
4163 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4164
8bcfb00a
PA
41652014-03-19 Pedro Alves <palves@redhat.com>
4166
4167 * gdb.base/async.exp (test_background): Expect \r\n after
4168 "completed." in the fail pattern.
4169
884e37dc
PA
41702014-03-19 Pedro Alves <palves@redhat.com>
4171
4172 * gdb.base/async.exp (test_background): New procedure.
4173 Use it for all background execution command tests.
4174
148e57e2
PA
41752014-03-19 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.base/async.exp: Use prepare_for_testing.
4178
f48088c7
PA
41792014-03-19 Pedro Alves <palves@redhat.com>
4180
4181 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4182 the same line.
4183
e2f6c966
PA
41842014-03-19 Pedro Alves <palves@redhat.com>
4185
4186 * gdb.base/async.c (main): Add "jump here" and "until here" line
4187 marker comments.
4188 * gdb.base/async.exp (jump_here): New global.
4189 (jump& test): Use it.
4190 (until_here): New global.
4191 (until& test): Use it.
4192
c30568d4
PA
41932014-03-19 Pedro Alves <palves@redhat.com>
4194
4195 * gdb.base/async.exp: Don't frob gdb_protocol.
4196
0172b6a7
DE
41972014-03-18 Doug Evans <xdje42@gmail.com>
4198
4199 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4200 Fix spelling of exec-done-display.
4201
06c868a8
JK
42022014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4203
4204 PR gdb/15358
4205 * gdb.base/gdb-sigterm.c: New file.
4206 * gdb.base/gdb-sigterm.exp: New file.
4207
0c7e1a46
PA
42082014-03-18 Pedro Alves <palves@redhat.com>
4209
4210 PR gdb/13860
4211 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4212 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4213 solib-event.
4214
f7c77d93
JB
42152014-03-17 Joel Brobecker <brobecker@adacore.com>
4216
4217 * gdb.ada/pckd_arr_ren: New testcase.
4218
5a1e8c7a
DE
42192014-03-13 Doug Evans <xdje42@gmail.com>
4220
4221 PR guile/16612
4222 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4223 collect after discarding symbols.
4224
350e1a76
DE
42252014-03-13 Ludovic Courtès <ludo@gnu.org>
4226 Doug Evans <xdje42@gmail.com>
4227
4228 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4229 to history survives a gc.
4230
a69900ae
PA
42312014-03-13 Pedro Alves <palves@redhat.com>
4232
4233 * gdb.base/default.exp: Don't test "target procfs".
4234
5db9f0bd
PA
42352014-03-13 Pedro Alves <palves@redhat.com>
4236
4237 * gdb.base/default.exp: Update "target child" and "target procfs"
4238 tests to not expect "Unix".
4239
b3ccfe11
TT
42402014-03-12 Tom Tromey <tromey@redhat.com>
4241
4242 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4243 New procs. Add target-async tests.
4244 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4245 Add target-async tests.
4246
646f4417
AA
42472014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4248
4249 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4250 'func_start' and 'func_end' for the beginning and end of the
4251 function code, respectively.
4252 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4253 'func_end' instead of 'func' and 'main'.
4254
288c211f
AA
42552014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4256
4257 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4258 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4259 generate the debug info assembler source.
4260
e0c0f156
AA
42612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4262
4263 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4264 * gdb.dwarf2/arr-subrange.exp: Likewise.
4265 * gdb.dwarf2/dwz.exp: Likewise.
4266 * gdb.dwarf2/method-ptr.exp: Likewise.
4267 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4268 * gdb.dwarf2/subrange.exp: Likewise.
4269 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4270 * gdb.dwarf2/implptrpiece.exp: Likewise.
4271 * gdb.dwarf2/nostaticblock.exp: Likewise.
4272
0e5c4555
AA
42732014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4274
4275 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4276 directory to absolute path name arguments.
4277
5ec18f2b
JG
42782014-03-10 Joel Brobecker <brobecker@adacore.com>
4279
4280 * gdb.ada/tagged_access: New testcase.
4281
847fc4f2
MM
42822014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4283
4284 * gdb.btrace/data.exp: Update expected output.
4285
cc3da688
YQ
42862014-03-06 Yao Qi <yao@codesourcery.com>
4287
4288 * gdb.trace/pr16508.exp: New file.
4289
0f26cec1
PA
42902014-03-05 Pedro Alves <palves@redhat.com>
4291
4292 PR gdb/16575
4293 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4294 procedure.
4295 (top level): Adjust to use it. Add tests that exercise breakpoint
4296 interaction with the code-cache.
4297
7a5a839f
LC
42982014-02-26 Ludovic Courtès <ludo@gnu.org>
4299
4300 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4301 test for 'history-append!'.
4302
31aa7e4e
JB
43032014-02-26 Joel Brobecker <brobecker@adacore.com>
4304
4305 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4306 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4307 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4308 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4309 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4310 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4311
1b588015
JB
43122014-02-26 Joel Brobecker <brobecker@adacore.com>
4313
4314 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4315 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4316 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4317
55426c9d
JB
43182014-02-26 Joel Brobecker <brobecker@adacore.com>
4319
4320 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4321
dc53a7ad
JB
43222014-02-26 Joel Brobecker <brobecker@adacore.com>
4323
4324 * gdb.dwarf2/arr-stride.c: New file.
4325 * gdb.dwarf2/arr-stride.exp: New file.
4326
12ab52e9
PA
43272014-02-26 Pedro Alves <palves@redhat.com>
4328
4329 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4330 that won't ever trigger. Make sure that GDB reports the correct
4331 breakpoint that caused the stop.
4332
849c862e
JK
43332014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4334
4335 PR gdb/16626
4336 * gdb.base/auto-load-script: New file.
4337 * gdb.base/auto-load.c: New file.
4338 * gdb.base/auto-load.exp: New file.
4339
71b7d793
JK
4340 PR gdb/16626
4341 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4342
e2f0d509
JK
43432014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4344
4345 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4346 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4347
50cc37c8
DE
43482014-02-24 Doug Evans <dje@google.com>
4349
4350 * lib/gdb.exp (run_on_host): Log error output if program fails.
4351
ea4758f2
PA
43522014-02-21 Pedro Alves <palves@redhat.com>
4353
4354 * gdb.threads/step-after-sr-lock.c: Rename to ...
4355 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4356 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4357 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4358 ... this.
4359
d7b30f67
SDJ
43602014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4361
4362 PR tdep/16397
4363 * gdb.arch/amd64-stap-special-operands.exp: New file.
4364 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4365 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4366 * gdb.arch/amd64-stap-triplet.S: Likewise.
4367 * gdb.arch/amd64-stap-triplet.c: Likewise.
4368
83deb43f
JB
43692014-02-20 Joel Brobecker <brobecker@adacore.com>
4370
4371 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4372 in .section pseudo-op.
4373
adde2bff
DE
43742014-02-20 lin zuojian <manjian2006@gmail.com>
4375 Joel Brobecker <brobecker@adacore.com>
4376 Doug Evans <xdje42@gmail.com>
4377
4378 PR symtab/16581
4379 * gdb.dwarf2/dw2-icycle.S: New file.
4380 * gdb.dwarf2/dw2-icycle.c: New file.
4381 * gdb.dwarf2/dw2-icycle.exp: New file.
4382
f7bd0f78
SC
43832014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4384
4385 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4386 operations on gdb.Value objects.
4387 * gdb.python/py-value-cc.exp: Add new test to test operations on
4388 gdb.Value objects.
4389
c17ef0d5
DE
43902014-02-18 Doug Evans <dje@google.com>
4391
4392 * Makefile.in (TESTS): New variable.
4393 (expanded_tests, expanded_tests_or_none): New variables
4394 (check-single): Pass $(expanded_tests_or_none) to runtest.
4395 (check-parallel): Only run tests in $(TESTS) if non-empty.
4396 (check/no-matching-tests-found): New rule.
4397 * README: Document TESTS makefile variable.
4398
5dd3176f
DE
43992014-02-18 Doug Evans <dje@google.com>
4400
4401 * Makefile.in (check-parallel): rm -rf outputs temp.
4402
0b10be4f
JK
44032014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4404
4405 Fix "ERROR: no fileid for" in the testsuite.
4406 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4407
85f224e7
DE
44082014-02-12 Doug Evans <dje@google.com>
4409
4410 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4411 (MISCELLANEOUS): New variable.
4412 (clean): rm -rf $(MISCELLANEOUS).
4413 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4414 dwp live in the same directory as symlinks, with each symlink pointed
4415 to a differently named file in a different directory.
4416
149b30ff
DE
44172014-02-11 Doug Evans <dje@google.com>
4418
4419 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4420 of Tcl file commands.
4421
1dfdac32
MK
44222014-02-10 Mark Kettenis <kettenis@gnu.org>
4423
4424 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4425 "kill -SIGUSR1 -1".
4426
aa4fb036
JB
44272014-02-10 Joel Brobecker <brobecker@adacore.com>
4428
4429 * gdb.ada/tick_length_array_enum_idx: New testcase.
4430
ed3ef339
DE
44312014-02-10 Doug Evans <xdje42@gmail.com>
4432
4433 * configure.ac (AC_OUTPUT): Add gdb.guile.
4434 * configure: Regenerate.
4435 * lib/gdb-guile.exp: New file.
4436 * lib/gdb.exp (get_target_charset): New function.
4437 * gdb.base/help.exp: Update expected output from "apropos apropos".
4438 * gdb.guile/Makefile.in: New file.
4439 * gdb.guile/guile.exp: New file.
4440 * gdb.guile/scm-arch.c: New file.
4441 * gdb.guile/scm-arch.exp: New file.
4442 * gdb.guile/scm-block.c: New file.
4443 * gdb.guile/scm-block.exp: New file.
4444 * gdb.guile/scm-breakpoint.c: New file.
4445 * gdb.guile/scm-breakpoint.exp: New file.
4446 * gdb.guile/scm-disasm.c: New file.
4447 * gdb.guile/scm-disasm.exp: New file.
4448 * gdb.guile/scm-equal.c: New file.
4449 * gdb.guile/scm-equal.exp: New file.
4450 * gdb.guile/scm-error.exp: New file.
4451 * gdb.guile/scm-error.scm: New file.
4452 * gdb.guile/scm-frame-args.c: New file.
4453 * gdb.guile/scm-frame-args.exp: New file.
4454 * gdb.guile/scm-frame-args.scm: New file.
4455 * gdb.guile/scm-frame-inline.c: New file.
4456 * gdb.guile/scm-frame-inline.exp: New file.
4457 * gdb.guile/scm-frame.c: New file.
4458 * gdb.guile/scm-frame.exp: New file.
4459 * gdb.guile/scm-generics.exp: New file.
4460 * gdb.guile/scm-gsmob.exp: New file.
4461 * gdb.guile/scm-iterator.c: New file.
4462 * gdb.guile/scm-iterator.exp: New file.
4463 * gdb.guile/scm-math.c: New file.
4464 * gdb.guile/scm-math.exp: New file.
4465 * gdb.guile/scm-objfile-script-gdb.in: New file.
4466 * gdb.guile/scm-objfile-script.c: New file.
4467 * gdb.guile/scm-objfile-script.exp: New file.
4468 * gdb.guile/scm-objfile.c: New file.
4469 * gdb.guile/scm-objfile.exp: New file.
4470 * gdb.guile/scm-ports.exp: New file.
4471 * gdb.guile/scm-pretty-print.c: New file.
4472 * gdb.guile/scm-pretty-print.exp: New file.
4473 * gdb.guile/scm-pretty-print.scm: New file.
4474 * gdb.guile/scm-section-script.c: New file.
4475 * gdb.guile/scm-section-script.exp: New file.
4476 * gdb.guile/scm-section-script.scm: New file.
4477 * gdb.guile/scm-symbol.c: New file.
4478 * gdb.guile/scm-symbol.exp: New file.
4479 * gdb.guile/scm-symtab-2.c: New file.
4480 * gdb.guile/scm-symtab.c: New file.
4481 * gdb.guile/scm-symtab.exp: New file.
4482 * gdb.guile/scm-type.c: New file.
4483 * gdb.guile/scm-type.exp: New file.
4484 * gdb.guile/scm-value-cc.cc: New file.
4485 * gdb.guile/scm-value-cc.exp: New file.
4486 * gdb.guile/scm-value.c: New file.
4487 * gdb.guile/scm-value.exp: New file.
4488 * gdb.guile/source2.scm: New file.
4489 * gdb.guile/types-module.cc: New file.
4490 * gdb.guile/types-module.exp: New file.
4491
7026a7c1
YQ
44922014-02-10 Yao Qi <yao@codesourcery.com>
4493
4494 PR testsuite/16543
4495 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4496 * configure: Regenerated.
4497 * Makefile.in: New file.
4498
6c466447
AS
44992014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4500
4501 * gdb.python/py-framefilter.exp: Fix typo.
4502
6e854735
YQ
45032014-02-08 Yao Qi <yao@codesourcery.com>
4504
4505 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4506 that no =breakpoint-modified is emitted when breakpoints are
4507 modified through MI commands.
4508
d137e6dc
PA
45092014-02-07 Pedro Alves <pedro@codesourcery.com>
4510 Pedro Alves <palves@redhat.com>
4511
4512 * gdb.threads/step-after-sr-lock.c: New file.
4513 * gdb.threads/step-after-sr-lock.exp: New file.
4514
b5ee5a50
PA
45152014-02-07 Pedro Alves <palves@redhat.com>
4516
4517 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4518
3c77faf3
JK
45192014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4520
4521 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4522 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4523
6dddc817
DE
45242014-02-06 Doug Evans <xdje42@gmail.com>
4525
4526 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4527 output.
4528
4529 * gdb.gdb/python-interrupts.exp: New file.
4530
de7b2893
YQ
45312014-02-05 Yao Qi <yao@codesourcery.com>
4532
4533 * gdb.trace/report.exp (use_collected_data): Test the output
4534 of "info threads" and "info inferiors".
4535
66d032ac
YQ
45362014-02-05 Yao Qi <yao@codesourcery.com>
4537
4538 Revert this patch:
4539
4540 2013-05-24 Yao Qi <yao@codesourcery.com>
4541
4542 * gdb.trace/tfile.exp: Test inferior and thread.
4543
591a12a1
UW
45442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4545
4546 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4547 on a function.
4548 * gdb.base/step-bt.c: Call hello via function pointer to make
4549 sure its first instruction is executed on powerpc64le-linux.
4550
0ff3e01f
UW
45512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4552
4553 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4554
084ee545
UW
45552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4556
4557 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4558 of the test patterns for use on little-endian systems.
4559
6ed14ff3
UW
45602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4561
4562 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4563 (decimal_vector): Fix for little-endian.
4564
401e27fd
JM
45652014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4566
4567 * gdb.arch/sparc-sysstep.exp: New file.
4568 * gdb.arch/sparc-sysstep.c: Likewise.
4569
4570 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4571
8b924729
EBM
45722014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4573
4574 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4575
fb151210
JB
45762014-01-23 Tom Tromey <tromey@redhat.com>
4577
4578 * gdb.ada/array_char_idx: New testcase.
4579
0740f8d8
TT
45802014-01-23 Tom Tromey <tromey@redhat.com>
4581
4582 PR python/16487:
4583 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4584 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4585 classes.
4586
21909fa1
TT
45872014-01-23 Tom Tromey <tromey@redhat.com>
4588
4589 PR python/16491:
4590 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4591 string from an inferior frame.
4592 * gdb.python/py-framefilter-mi.exp: Update.
4593
87ce2a04
DE
45942014-01-22 Doug Evans <dje@google.com>
4595
4596 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4597
237b092b
AA
45982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4599
4600 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4601
d674a709
AA
46022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4603
4604 * gdb.trace/entry-values.exp: Remove excess space character from
4605 regex patterns. Handle s390 call instruction.
4606
20fa3390
AA
46072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4608
4609 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4610 define "*_start" label. Make "name" static.
4611 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4612 ${name} by references to ${name}_start.
4613
78466714
AA
46142014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4615
4616 * gdb.base/info-macros.exp: Remove "debug" from the compile
4617 options.
4618
ec9f644a
IB
46192014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4620
4621 * gdb.dlang/demangle.exp: New file.
4622
94b1b47e
IB
46232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4624
4625 * gdb.dlang/primitive-types.exp: New file.
4626
7f420862
IB
46272014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4628
4629 * configure.ac: Create gdb.dlang/Makefile.
4630 * configure: Regenerate.
4631 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4632 * gdb.dlang/Makefile.in: New file.
4633 * lib/d-support.exp: New file.
4634 * lib/gdb.exp (skip_d_tests): New proc.
4635
52834460
MM
46362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4637
4638 * gdb.btrace/delta.exp: Check reverse stepi.
4639 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4640 * gdb.btrace/finish.exp: New.
4641 * gdb.btrace/next.exp: New.
4642 * gdb.btrace/nexti.exp: New.
4643 * gdb.btrace/record_goto.c: Add comments.
4644 * gdb.btrace/step.exp: New.
4645 * gdb.btrace/stepi.exp: New.
4646 * gdb.btrace/multi-thread-step.c: New.
4647 * gdb.btrace/multi-thread-step.exp: New.
4648 * gdb.btrace/rn-dl-bind.c: New.
4649 * gdb.btrace/rn-dl-bind.exp: New.
4650 * gdb.btrace/data.c: New.
4651 * gdb.btrace/data.exp: New.
4652 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4653
6e07b1d2
MM
46542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4655
4656 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4657 * gdb.btrace/exception.exp: Update.
4658 * gdb.btrace/instruction_history.exp: Update.
4659 * gdb.btrace/record_goto.exp: Update.
4660 * gdb.btrace/tailcall.exp: Update.
4661 * gdb.btrace/unknown_functions.exp: Update.
4662 * gdb.btrace/delta.exp: New.
4663
0b722aec
MM
46642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4665
4666 * gdb.btrace/record_goto.exp: Add backtrace test.
4667 * gdb.btrace/tailcall.exp: Add backtrace test.
4668
066ce621
MM
46692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4670
4671 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4672 * gdb.btrace/record_goto.c: New.
4673 * gdb.btrace/record_goto.exp: New.
4674 * gdb.btrace/x86-record_goto.S: New.
4675
0688d04e
MM
46762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4677
4678 * gdb.btrace/function_call_history.exp: Update tests.
4679 * gdb.btrace/instruction_history.exp: Update tests.
4680
8710b709
MM
46812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4682
4683 * gdb.btrace/function_call_history.exp: Fix expected field
4684 order for "record function-call-history".
4685 Add new tests for "record function-call-history /c".
4686 * gdb.btrace/exception.cc: New.
4687 * gdb.btrace/exception.exp: New.
4688 * gdb.btrace/tailcall.exp: New.
4689 * gdb.btrace/x86-tailcall.S: New.
4690 * gdb.btrace/x86-tailcall.c: New.
4691 * gdb.btrace/unknown_functions.c: New.
4692 * gdb.btrace/unknown_functions.exp: New.
4693 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4694
5de9129b
MM
46952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4696
4697 * gdb.btrace/instruction_history.exp: Update.
4698 * gdb.btrace/function_call_history.exp: Update.
4699
23a7fe75
MM
47002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4701
4702 * gdb.btrace/function_call_history.exp: Fix expected function
4703 trace.
4704 * gdb.btrace/instruction_history.exp: Initialize traced.
4705 Remove traced_functions.
4706
724c7dd8
MM
47072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4708
4709 * gdb.btrace/function_call_history.exp: Update
4710 * gdb.btrace/instruction_history.exp: Update.
4711
6d78d93b
MM
47122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4713
4714 * gdb.btrace/enable.exp: Update expected text.
4715
93a360cc
OJ
47162014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4717
4718 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4719 bytes.
4720
3772b53f
MR
47212014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4722
4723 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4724
596662fa
OJ
47252014-01-15 Omair Javaid <omair.javaid@linaro.org>
4726
4727 * lib/gdb.exp (supports_process_record): Return true for
4728 arm*-linux*. (supports_reverse): Likewise.
4729
b5b08fb4
SC
47302014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4731
4732 PR python/15464
4733 PR python/16113
4734 * gdb.python/py-type.c: Enhance test case.
4735 * gdb.python/py-value-cc.cc: Likewise
4736 * gdb.python/py-type.exp: Add new tests.
4737 * gdb.python/py-value-cc.exp: Likewise
4738
52d7fb13
AA
47392014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4740 Pedro Alves <palves@redhat.com>
4741
4742 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4743 Make "name" extern.
4744 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4745 references to ${name}_start by references to ${name}.
4746
a2cd8cfe
JB
47472014-01-10 Joel Brobecker <brobecker@adacore.com>
4748
4749 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4750
4e23fced
JB
47512014-01-10 Joel Brobecker <brobecker@adacore.com>
4752
4753 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4754
c6a9e42c
PA
47552014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4756 Pedro Alves <palves@redhat.com>
4757
4758 * gdb.mi/mi-info-os.exp: Connect to the target with
4759 mi_gdb_target_load.
4760
b7ea362b
PA
47612014-01-08 Pedro Alves <palves@redhat.com>
4762
4763 * gdb.threads/reconnect-signal.c: New file.
4764 * gdb.threads/reconnect-signal.exp: New file.
4765
5e3f4fab
EBM
47662014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4767
4768 * gdb.base/source-dir.exp: New file.
4769
79301218
JB
47702014-01-07 Joel Brobecker <brobecker@adacore.com>
4771
4772 * gdb.ada/mi_interface: New testcase.
4773
8e355c5d
JB
47742014-01-07 Joel Brobecker <brobecker@adacore.com>
4775
4776 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4777 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4778 gdb.ada/pp-rec-component/pck.ads: New files.
4779
c0d48811
JB
47802014-01-07 Joel Brobecker <brobecker@adacore.com>
4781
4782 * gdb.python/py-pp-integral.c: New file.
4783 * gdb.python/py-pp-integral.py: New file.
4784 * gdb.python/py-pp-integral.exp: New file.
4785
17b609c3 4786For older changes see ChangeLog-1993-2013.
c906108c 4787\f
8d8cb839
EZ
4788;; Local Variables:
4789;; mode: change-log
4790;; left-margin: 8
4791;; fill-column: 74
4792;; version-control: never
4793;; End:
902f2ccb 4794
32d0add0 4795 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4796 Copying and distribution of this file, with or without modification,
4797 are permitted provided the copyright notice and this notice are preserved.