]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[Ada] Fix handling of array renamings
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e6c2c623
PMR
12015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2
3 * gdb.ada/array_ptr_renaming.exp: New testcase.
4 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5 * gdb.ada/array_ptr_renaming/pack.ads: New file.
6
06da0f77
PL
72015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8
9 * gdb.trace/ftrace-lock.c: New file.
10 * gdb.trace/ftrace-lock.exp: New file.
11
4f51c22a
PL
122015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13
14 * gdb.arch/insn-reloc.c: New file.
15 * gdb.arch/ftrace-insn-reloc.exp: New file.
16
7041adf4
PL
172015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18
19 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
20 instruction.
21 * gdb.trace/pendshr1.c (pendfunc): Likewise.
22 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
23 * gdb.trace/range-stepping.c: Likewise.
24 * gdb.trace/trace-break.c: Likewise.
25 * gdb.trace/trace-mt.c (thread_function): Likewise.
26 * gdb.trace/ftrace.c (marker): Likewise.
27 * gdb.trace/trace-condition.c (marker): Likewise.
28 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
29 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
30 is_aarch64_target.
31
015d2e7e
DE
322015-09-18 Doug Evans <xdje42@gmail.com>
33
34 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
35 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
36
26b188a2
SL
372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
38
39 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
40 the breakpoint.
41
79dc332b
SL
422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
43
44 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
45 the pending breakpoint. Remove timeout override for "Run till
46 MI pending breakpoint on pendfunc3 on thread 2" test.
47
f57929f2
SL
482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
49
50 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
51 filename pattern.
52
3f469b17
SL
532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
54
55 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
56 in breakpoint filename pattern.
57
515b89b3
SL
582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
59
7800dbe4
SL
60 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
61
622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
63
515b89b3
SL
64 * gdb.linespec/explicit.exp: Check for readline support for
65 tab-completion tests. Fix obvious typo.
66
d2939ba2
MM
672015-09-18 Markus Metzger <markus.t.metzger@intel.com>
68
69 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
70 and replay.
71
cbb55fa7
MM
722015-09-18 Markus Metzger <markus.t.metzger@intel.com>
73
74 * gdb.btrace/non-stop.c: New.
75 * gdb.btrace/non-stop.exp: New.
76
43691ca1
PL
772015-09-17 Pierre Langlois <pierre.langlois@arm.com>
78 Yao Qi <yao.qi@linaro.org>
79
80 * gdb.trace/trace-condition.c: New file.
81 * gdb.trace/trace-condition.exp: New file.
82
d78908cf
WW
832015-09-16 Wei-cheng Wang <cole945@gmail.com>
84
85 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
86 for testing bytecode compilation.
87
1ed415e2
PA
882015-09-16 Pedro Alves <palves@redhat.com>
89 Sandra Loosemore <sandra@codesourcery.com>
90
91 * gdb.threads/non-stop-fair-events.c (timeout): New global.
92 (SECONDS): Redefine.
93 (main): Call pthread_kill and alarm early.
94 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
95 support.
96 (test): If the target can't hardware step and doesn't support
97 displaced stepping, increase the timeout.
98
d136eff5
PA
992015-09-16 Pedro Alves <palves@redhat.com>
100
101 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
102 (enable_debug): New procedures.
103 (test): Use them. Bail out if waiting for threads fails.
104 (top level): Bail out if a test fails.
105
991f019c
YQ
1062015-09-16 Yao Qi <yao.qi@linaro.org>
107
108 * gdb.asm/asm-source.exp: Set asm-arch for
109 aarch64*-*-* target.
110 * gdb.asm/aarch64.inc: New file.
111
bfca584f
PMR
1122015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
113
114 * gdb.ada/array_of_variable_length.exp: New testcase.
115 * gdb.ada/array_of_variable_length/foo.adb: New file.
116 * gdb.ada/array_of_variable_length/pck.adb: New file.
117 * gdb.ada/array_of_variable_length/pck.ads: New file.
118
b326e587
DE
1192015-09-15 Doug Evans <dje@google.com>
120
121 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
122 of function static local variable.
123
5382cfab
PW
1242015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
125
126 * gdb.threads/tls-so_extern.exp: New test file.
127 * gdb.threads/tls-so_extern.c: New test file.
128 * gdb.threads/tls-so_extern_main.c: New test file.
129
141c5cc4
JK
1302015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
131
132 * gdb.opt/solib-intra-step-lib.c: New file.
133 * gdb.opt/solib-intra-step-main.c: New file.
134 * gdb.opt/solib-intra-step.exp: New file.
135
d15dcecd
PA
1362015-09-15 Pedro Alves <palves@redhat.com>
137
138 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
139 gdb_continue_to_breakpoint instead of gdb_test_multiple.
140
4c2f2a79
PA
1412015-09-14 Pedro Alves <palves@redhat.com>
142
143 * gdb.base/hook-stop-continue.c: Delete.
144 * gdb.base/hook-stop-continue.exp: Delete.
145 * gdb.base/hook-stop-frame.c: Delete.
146 * gdb.base/hook-stop-frame.exp: Delete.
147 * gdb.base/hook-stop.c: New file.
148 * gdb.base/hook-stop.exp: New file.
149
919e6dbe
PMR
1502015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
151
152 * gdb.ada/access_to_packed_array.exp: New testcase.
153 * gdb.ada/access_to_packed_array/foo.adb: New file.
154 * gdb.ada/access_to_packed_array/pack.adb: New file.
155 * gdb.ada/access_to_packed_array/pack.ads: New file.
156
157280a4
MM
1572015-09-14 Markus Metzger <markus.t.metzger@intel.com>
158
159 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
160 buffer size test.
161
2fd33e94
DB
1622015-09-11 Don Breazeal <donb@codesourcery.com>
163
164 * gdb.base/foll-exec.c: Add copyright header. Fix
165 formatting issues.
166 * gdb.base/foll-exec.exp (zap_session): Delete proc.
167 (do_exec_tests): Use clean_restart in place of zap_session,
168 and for test initialization. Fix formatting issues. Use
169 fail in place of perror.
170 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
171 an expect statement to match an expression with output from
172 the program under debug.
173 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
174 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
175 * gdb.threads/non-ldr-exc-2.exp: Likewise.
176 * gdb.threads/non-ldr-exc-3.exp: Likewise.
177 * gdb.threads/non-ldr-exc-4.exp: Likewise.
178
e70b6e8e
DE
1792015-09-09 Doug Evans <dje@google.com>
180
181 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
182
7a551a51
DE
1832015-09-09 Doug Evans <dje@google.com>
184
185 * gdb.base/pie-execl.exp: Fix result test of build_executable.
186
4c666f84
DE
1872015-09-09 Doug Evans <dje@google.com>
188
189 * gdb.base/savedregs.exp: Fix typo.
190
243a9253
PA
1912015-09-09 Pedro Alves <palves@redhat.com>
192
193 * gdb.mi/mi-cli.exp: Add CLI finish tests.
194
c0fa8fbd
SL
1952015-09-08 Sandra Loosemore <sandra@codesourcery.com>
196
197 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
198 command actually switches threads. Give up on remaining
199 tests if target fails to stop at breakpoint.
200
cd7c1778
PMR
2012015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
202
203 * gdb.ada/funcall_char.exp: New testcase.
204 * gdb.ada/funcall_char/foo.adb: New file.
205
dc5c8746
PMR
2062015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
207
208 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
209 expected outputs. Add two testcases for completing ambiguous
210 functions.
211 * gdb.ada/complete/aux_pck.adb: New file.
212 * gdb.ada/complete/aux_pck.ads: New file.
213 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
214 Ambiguous_Func functions.
215 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
216 * gdb.ada/complete/pck.adb: Likewise.
217
4e83a1e7
UW
2182015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
219
220 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
221 failures to run the test program under GDB.
222
8ce74153
LM
2232015-08-26 Luis Machado <lgustavo@codesourcery.com>
224
225 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
226 to C.
227
e9756d52
PP
2282015-08-26 Patrick Palka <patrick@parcs.ath.cx>
229
230 * gdb.base/run-after-attach.exp: New test file.
231 * gdb.base/run-after-attach.c: New test file.
232
8d37573b
DB
2332015-08-26 Don Breazeal <donb@codesourcery.com>
234
235 * gdb.base/foll-exec-2.c: New test program.
236 * gdb.base/foll-exec-2.exp: New test.
237
63e43d3a
PMR
2382015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
239
240 * gdb.base/nested-subp1.exp: New file.
241 * gdb.base/nested-subp1.c: New file.
242 * gdb.base/nested-subp2.exp: New file.
243 * gdb.base/nested-subp2.c: New file.
244 * gdb.base/nested-subp3.exp: New file.
245 * gdb.base/nested-subp3.c: New file.
246
3d40fbb5
PA
2472015-08-24 Pedro Alves <palves@redhat.com>
248
249 * gdb.server/connect-without-multi-process.c: New file.
250 * gdb.server/connect-without-multi-process.exp: New file.
251
4422ac93
LM
2522015-08-24 Luis Machado <lgustavo@codesourcery.com>
253
254 * gdb.opt/inline-markers.c: Make z int.
255
91dddb86
LM
2562015-08-24 Luis Machado <lgustavo@codesourcery.com>
257
258 * gdb.opt/inline-markers.c: Make z volatile.
259
a48847ee
LM
2602015-08-24 Luis Machado <lgustavo@codesourcery.com>
261
262 * gdb.opt/inline-bt.c: New volatile global z.
263 * gdb.opt/inline-cmds.c: Likewise.
264 * gdb.opt/inline-locals.c: Likewise.
265 * gdb.opt/inline-markers.c: New extern global z.
266 (marker): Use z.
267 (inline_fn): Likewise.
268
0ebbc52b
PA
2692015-08-24 Pedro Alves <palves@redhat.com>
270
271 * config/m32r-stub.exp: Remove file.
272 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
273 * gdb.base/call-rt-st.exp: Likewise.
274 * gdb.base/call-strs.exp: Likewise.
275 * gdb.base/default.exp: Remove references to h8300-*-hms and
276 *-*-udi*.
277 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
278
77c365df
AA
2792015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
280
281 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
282 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
283 and "return" use KFAIL when GDB can not read/write the vector
284 return value.
285
4313b8c0
GB
2862015-08-21 Gary Benson <gbenson@redhat.com>
287
288 * gdb.trace/pending.exp: Cope with remote transfer warnings.
289
0e433b32
PA
2902015-08-20 Pedro Alves <palves@redhat.com>
291
292 * gdb.server/solib-list.exp: No longer expect an interior stop in
293 non-stop mode.
294
221e1a37
PA
2952015-08-20 Pedro Alves <palves@redhat.com>
296
297 * gdb.server/connect-stopped-target.c: New file.
298 * gdb.server/connect-stopped-target.exp: New file.
299
40e3ad0e
PA
3002015-08-20 Pedro Alves <palves@redhat.com>
301
302 * gdb.dwarf2/comp-unit-lang.exp: New file.
303 * gdb.dwarf2/comp-unit-lang.c: New file.
304
af39b327
PMR
3052015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
306
307 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
308 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
309
7d45c7c3
KB
3102015-08-19 Kevin Buettner <kevinb@redhat.com>
311
312 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
313 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
314
4d6cceb4
DE
3152015-08-18 Doug Evans <dje@google.com>
316 Adrian Sendroiu <adrian.sendroiu@freescale.com>
317
318 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
319 skip_python_tests. New arg prompt_regexp.
320 (skip_python_tests): New function.
321 * lib/mi-support.exp (mi_skip_python_tests): New function.
322 * gdb.python/py-mi-objfile-gdb.py: New file.
323 * gdb.python/py-mi-objfile.c: New file.
324 * gdb.python/py-mi-objfile.exp: New file.
325
ad89c2aa
KS
3262015-08-17 Keith Seitz <keiths@redhat.com>
327
328 * gdb.linespec/explicit.exp: Move strace test from here ...
329 * gdb.trace/strace.exp: ... to here.
330
e3ae3c43
PP
3312015-08-15 Patrick Palka <patrick@parcs.ath.cx>
332
333 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
334 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
335
604b2636
DE
3362015-08-14 Doug Evans <xdje42@gmail.com>
337
338 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
339 inferior before selecting a new file.
340
6ff0ba5f
DE
3412015-08-14 Doug Evans <xdje42@gmail.com>
342
343 * gdb.mi/mi-disassemble.exp: Update.
344 * gdb.base/disasm-optim.S: New file.
345 * gdb.base/disasm-optim.c: New file.
346 * gdb.base/disasm-optim.h: New file.
347 * gdb.base/disasm-optim.exp: New file.
348
9ca98f92
KS
3492015-08-14 Keith Seitz <keiths@redhat.com>
350
351 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
352 "evaluated-by".
353
52bbc560
JB
3542015-08-13 Joel Brobecker <brobecker@adacore.com>
355
356 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
357
5d8c3ed3
PMR
3582015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
359
360 * gdb.ada/fun_renaming.exp: New testcase.
361 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
362 * gdb.ada/fun_renaming/pack.adb: New file.
363 * gdb.ada/fun_renaming/pack.ads: New file.
364
ea8812bc
KS
3652015-08-12 Keith Seitz <keiths@redhat.com>
366
367 * gdb.base/dso2dso.exp: Pass basename of source file in call to
368 gdb_get_line_number.
369
4dafcdeb
JB
3702015-08-12 Joel Brobecker <brobecker@adacore.com>
371
372 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
373 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
374 gdb.base/dso2dso.exp: New files.
375
5ba32597
SDJ
3762015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
377 Pedro Alves <palves@redhat.com>
378 Keith Seitz <keiths@redhat.com>
379
380 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
381 GDBFLAGS.
382
b6dafabf
PP
3832015-08-12 Patrick Palka <patrick@parcs.ath.cx>
384
385 * gdb.base/gdbhistsize-history.exp
386 (test_histsize_history_setting): Use save_vars.
387 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
388 Use save_vars.
389 (test_no_truncation_of_unlimited_history_file): Use save_vars.
390 * gdb.base/readline.exp: Use save_vars.
391
abe8e607
PP
3922015-08-12 Patrick Palka <patrick@parcs.ath.cx>
393
394 * lib/gdb.exp (save_vars): New proc.
395
629500fa
KS
3962015-08-11 Keith Seitz <keiths@redhat.com>
397
398 * gdb.base/help.exp: Update help_breakpoint_text.
399
eb8c4e2e
KS
4002015-08-11 Keith Seitz <keiths@redhat.com>
401
402 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
403 (at toplevel): Call test_explicit_breakpoints.
404 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
405 breakpoints.
406 * lib/mi-support.exp (mi_make_breakpoint): Add support for
407 breakpoint conditions, "-cond".
408
87f0e720
KS
4092015-08-11 Keith Seitz <keiths@redhat.com>
410
411 * gdb.linespec/3explicit.c: New file.
412 * gdb.linespec/cpexplicit.cc: New file.
413 * gdb.linespec/cpexplicit.exp: New file.
414 * gdb.linespec/explicit.c: New file.
415 * gdb.linespec/explicit.exp: New file.
416 * gdb.linespec/explicit2.c: New file.
417 * gdb.linespec/ls-errs.exp: Add explicit location tests.
418 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
419 before using in the matching pattern.
420 Clarify that `prefix' is a regular expression.
421
f00aae0f
KS
4222015-08-11 Keith Seitz <keiths@redhat.com>
423
424 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
425 test.
426 Add tests for missing ",FMT" and ",".
427
e27852be
DE
4282015-08-10 Doug Evans <dje@google.com>
429 Keith Seitz <keiths@redhat.com>
430
431 PR gdb/17960
432 * gdb.base/completion.exp: Add location completer tests.
433
7f03bd92
PA
4342015-08-07 Pedro Alves <palves@redhat.com>
435
436 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
437 tests here.
438 (top level): Run do_test with and without displaced stepping.
439
3fc8eb30
PA
4402015-08-07 Pedro Alves <palves@redhat.com>
441
442 * gdb.base/valgrind-disp-step.c: New file.
443 * gdb.base/valgrind-disp-step.exp: New file.
444
d4569d7b
PA
4452015-08-07 Pedro Alves <palves@redhat.com>
446
447 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
448 Delete function.
449 (main): Add alarm. Run an infinite loop instead of calling
450 wait_threads.
451 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
452 comment.
453 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
454 Delete function.
455 (main): Add alarm. Run an infinite loop instead of calling
456 wait_threads.
457 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
458 comment.
459
e1316e60
PA
4602015-08-07 Pedro Alves <palves@redhat.com>
461
462 * gdb.base/checkpoint-ns.exp: New file.
463 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
464 standard_testfile.
465
da8c46d2
MM
4662015-08-07 Markus Metzger <markus.t.metzger@intel.com>
467
468 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
469 * gdb.btrace/instruction_history.exp: Update.
470 * gdb.btrace/tsx.exp: New.
471 * gdb.btrace/tsx.c: New.
472
de1c2c52
PA
4732015-08-06 Pedro Alves <palves@redhat.com>
474
475 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
476 increase timeout.
477 * gdb.reverse/until-precsave.exp: Bump timeouts.
478
782e0bf4
PA
4792015-08-06 Pedro Alves <palves@redhat.com>
480
481 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
482
83e97ed0
PA
4832015-08-06 Pedro Alves <palves@redhat.com>
484
485 PR gdb/18749
486 * gdb.threads/process-dies-while-handling-bp.c: New file.
487 * gdb.threads/process-dies-while-handling-bp.exp: New file.
488
863d01bd
PA
4892015-08-06 Pedro Alves <palves@redhat.com>
490
491 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
492 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
493
0a39bb32
PA
4942015-08-05 Pedro Alves <palves@redhat.com>
495
496 * gdb.threads/next-while-other-thread-longjmps.c: New file.
497 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
498
ee2d2b10
SL
4992015-08-03 Sandra Loosemore <sandra@codesourcery.com>
500
501 * gdb.base/bp-permanent.exp: Report test as unsupported if
502 the target cannot stop at the permanent breakpoint.
503
4e1bdb00
DE
5042015-08-03 Doug Evans <dje@google.com>
505
506 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
507 10000.
508
3d338901
DE
5092015-08-03 Doug Evans <dje@google.com>
510
511 * Makefile.in (workers/%.worker, build-perf): New rule.
512 (GDB_PERFTEST_MODE): New variable.
513 (check-perf): Use it.
514 (clean): Clean up gdb.perf parallel build subdirs.
515 * lib/build-piece.exp: New file.
516 * lib/gdb.exp (make_gdb_parallel_path): New function
517 (standard_output_file, standard_temp_file): Call it.
518 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
519 of $GDB_PARALLEL.
520 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
521
af061d3e
DE
5222015-08-03 Doug Evans <dje@google.com>
523
8e1afc81 524 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
525 (LOG_FILE_NAME): New global.
526 (TextReporter.__init__): Initialize self.txt_sum.
527 (TextReporter.report): Add support for multiple data-points.
528 Move report to perftest.sum, put raw data in perftest.log.
529 (TextReporter.start): Open sum and log files.
530 (TextReporter.end): Close sum and log files.
8e1afc81
DE
531 * gdb.perf/lib/perftest/testresult.py
532 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 533
2c8c5d37
PA
5342015-07-31 Pedro Alves <palves@redhat.com>
535
536 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
537 Use spawn_id_get_pid. Wait for spawn id after eof. Use
538 kill_wait_spawned_process instead of explicit "kill -9".
539 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
540 returning a spawn id instead of a pid. Use spawn_id_get_pid and
541 kill_wait_spawned_process.
542 * gdb.base/attach-twice.exp: Likewise.
543 * gdb.base/attach.exp: Likewise.
544 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
545 gdb_test_multiple.
546 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
547 returning a spawn id instead of a pid. Use spawn_id_get_pid and
548 kill_wait_spawned_process.
549 * gdb.base/valgrind-infcall.exp: Likewise.
550 * gdb.multi/multi-attach.exp: Likewise.
551 * gdb.python/py-prompt.exp: Likewise.
552 * gdb.python/py-sync-interp.exp: Likewise.
553 * gdb.server/ext-attach.exp: Likewise.
554 * gdb.threads/attach-into-signal.exp (corefunc): Use
555 spawn_wait_for_attach, spawn_id_get_pid and
556 kill_wait_spawned_process.
557 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
558 spawn_wait_for_attach returning a spawn id instead of a pid. Use
559 spawn_id_get_pid and kill_wait_spawned_process.
560 * gdb.threads/attach-stopped.exp (corefunc): Use
561 spawn_wait_for_attach, spawn_id_get_pid and
562 kill_wait_spawned_process.
563 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
564 Use spawn_id_get_pid. Wait for spawn id after eof. Use
565 kill_wait_spawned_process instead of explicit "kill -9".
566 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
567 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
568 (spawn_wait_for_attach): Use spawn instead of exec to spawn
569 processes. Don't map cygwin/windows pids here. Now returns a
570 spawn id list.
571
032a0fca
SL
5722015-07-30 Sandra Loosemore <sandra@codesourcery.com>
573
574 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
575 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
576 correct patch.
577
61a934ca
SL
5782015-07-30 Sandra Loosemore <sandra@codesourcery.com>
579
580 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
581
4bc4d428
SL
5822015-07-30 Sandra Loosemore <sandra@codesourcery.com>
583
584 Reapply:
585 2014-05-21 Mark Wielaard <mjw@redhat.com>
586
587 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
588
998d452a
PA
5892015-07-30 Pedro Alves <palves@redhat.com>
590
591 * linux-low.c (handle_extended_wait): Set the child's last
592 reported status to TARGET_WAITKIND_STOPPED.
593
69dde7dc
PA
5942015-07-30 Pedro Alves <palves@redhat.com>
595
596 PR threads/18600
597 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
598 only shows inferior 1.
599
4dd63d48
PA
6002015-07-30 Simon Marchi <simon.marchi@ericsson.com>
601 Pedro Alves <palves@redhat.com>
602
603 PR threads/18600
604 * gdb.threads/fork-plus-threads.c: New file.
605 * gdb.threads/fork-plus-threads.exp: New file.
606
d618e4c5
PP
6072015-07-29 Patrick Palka <patrick@parcs.ath.cx>
608
609 * gdb.base/batch-preserve-term-settings.exp
610 (test_terminal_settings_preserved_after_cli_exit): Use
611 send_quit_command.
612
1eef6428
PA
6132015-07-29 Pedro Alves <palves@redhat.com>
614 Don Breazeal <donb@codesourcery.com>
615
616 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
617 output from both inferior_spawn_id and gdb_spawn_id.
618
7da5b897
SDJ
6192015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
620
621 * gdb.threads/attach-into-signal.exp (corefunc): Use
622 with_test_prefix on nested loops, uniquefying the test messages.
623
dac804df
SDJ
6242015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
625
626 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
627 commit.
628
06265e53
PP
6292015-07-29 Patrick Palka <patrick@parcs.ath.cx>
630
631 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
632 New proc.
633 (test_terminal_settings_preserved_after_sigterm): New test.
634
18206ca3
PP
6352015-07-29 Patrick Palka <patrick@parcs.ath.cx>
636
637 * gdb.base/batch-preserve-term-settings.exp
638 (test_terminal_settings_preserved_after_cli_exit): New test.
639
90074d11
PP
6402015-07-29 Patrick Palka <patrick@parcs.ath.cx>
641
642 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
643 manipulation of saved_gdbflags.
644 (test_terminal_settings_preserved): Remove global declaration of
645 the unused variable pagination_prompt. Remove manipulation of
646 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
647 GDBFLAGS.
648
eb1a7902
PA
6492015-07-29 Pedro Alves <palves@redhat.com>
650
651 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
652
8b75dd3b
PA
6532015-07-29 Pedro Alves <palves@redhat.com>
654
655 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
656 at the top.
657
dedad4e3
PA
6582015-07-29 Pedro Alves <palves@redhat.com>
659
660 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
661 (main): Call gdb_unbuffer_output.
662 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
663 (main): Call gdb_unbuffer_output.
664 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
665 (main): Call gdb_unbuffer_output.
666 * gdb.base/call-strs.exp: Adjust to step over the
667 gdb_unbuffer_output call.
668 * gdb.base/catch-gdb-caused-signals.c: Include
669 "../lib/unbuffer_output.c".
670 (main): Call gdb_unbuffer_output.
671 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
672 (main): Call gdb_unbuffer_output.
673 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
674 (main): Call gdb_unbuffer_output.
675 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
676 (main): Call gdb_unbuffer_output.
677 * gdb.base/shlib-call.exp: Adjust to step over the
678 gdb_unbuffer_output call.
679 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
680 (main): Call gdb_unbuffer_output.
681 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
682 (main): Call gdb_unbuffer_output.
683 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
684 (main): Rename to ...
685 (test): ... this.
686 (main): Reimplement.
687 * gdb.base/varargs.exp: Run to test instead of to main.
688 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
689 (main): Call gdb_unbuffer_output.
690
58789a91
PA
6912015-07-29 Pedro Alves <palves@redhat.com>
692
693 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
694 factore out from mi_continue_dprintf. For call-style dprintfs,
695 expect dprintf output out of $inferior_spawn_id.
696 (mi_continue_dprintf): Use mi_expect_dprintf.
697 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
698 (main): Call gdb_unbuffer_output.
699
e8376742
PA
7002015-07-29 Pedro Alves <palves@redhat.com>
701
702 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
703 (default_mi_gdb_start): Set inferior_spawn_id instead of
704 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
705 gdb_spawn_id.
706 (mi_gdb_test): Always expect inferior output from both
707 $inferior_spawn_id and $gdb_spawn_id.
708
08280010
PA
7092015-07-29 Pedro Alves <palves@redhat.com>
710
711 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
712 send_inferior and $inferior_spawn_id.
713
4d30e432
PA
7142015-07-29 Pedro Alves <palves@redhat.com>
715
716 * gdb.gdb/complaints.exp (test_initial_complaints)
717 (test_serial_complaints, test_short_complaints): Use
718 gdb_test_stdio.
719 (test_empty_complaint): Handle $inferior_spawn_id !=
720 $gdb_spawn_id.
721
0d30a335
PA
7222015-07-29 Pedro Alves <palves@redhat.com>
723
724 * gdb.base/varargs.exp: Use gdb_test_stdio.
725
39413b29
PA
7262015-07-29 Pedro Alves <palves@redhat.com>
727
728 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
729
7cb000a9
PA
7302015-07-29 Pedro Alves <palves@redhat.com>
731
732 * gdb.base/ending-run.exp: Use gdb_test_stdio.
733
d7b8ac82
PA
7342015-07-29 Pedro Alves <palves@redhat.com>
735
736 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
737 parameter into two new parameters, "inf_result" and "gdb_result".
738 Expect inferior output and gdb output from $inferior_spawn_id and
739 $gdb_spawn_id, respectively. Adjust all callers.
740
789c3a0c
PA
7412015-07-29 Pedro Alves <palves@redhat.com>
742
743 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
744 of gdb_test_sequence.
745
77e760c3
PA
7462015-07-29 Pedro Alves <palves@redhat.com>
747
748 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
749 (saw_spurious_output): Expect inferior output from
750 $inferior_spawn_id. Use gdb_test_stdio.
751
8396d2cd
PA
7522015-07-29 Pedro Alves <palves@redhat.com>
753
754 * gdb.base/dprintf.exp: Use standard_testfile. Change
755 prepare_for_testing call.
756 (srcfile): Don't set.
757 (restart): New procedure.
758 (test_dprintf): New procecure, use to continue over dprintfs.
759 (test_call, test_agent): New procedures, tests moved here.
760 Restart gdb and recreate dprintfs. Adjust expected output.
761
2051d61f
PA
7622015-07-29 Pedro Alves <palves@redhat.com>
763
764 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
765
452397af
PA
7662015-07-29 Pedro Alves <palves@redhat.com>
767
768 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
769
8aed9555
PA
7702015-07-29 Pedro Alves <palves@redhat.com>
771
772 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
773 gdb_test_stdio.
774
188a61b4
PA
7752015-07-29 Pedro Alves <palves@redhat.com>
776
777 * lib/gdb.exp (gdb_test_stdio): New procedure.
778
12264a45
PA
7792015-07-29 Pedro Alves <palves@redhat.com>
780
781 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
782
23ffc893
PA
7832015-07-29 Pedro Alves <palves@redhat.com>
784
785 * gdb.base/call-signal-resume.exp: Remove check for
786 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
787 * gdb.base/unwindonsignal.exp: Likewise.
788 * gdb.base/call-signals.c (gen_signal): Remove printf call.
789 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
790
65566918
PA
7912015-07-29 Pedro Alves <palves@redhat.com>
792
793 * gdb.base/siginfo-addr.c (pass): New function.
794 (handler): Call it iff si_addr is correct.
795 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
796 Set a breakpoint at "pass" and continue to it.
797
d60a9221
SDJ
7982015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
799
800 * gdb.python/py-objfile.exp: Make some tests have unique names.
801 * gdb.python/py-pp-registration.exp: Likewise.
802
bde40b8f
PA
8032015-07-28 Pedro Alves <palves@redhat.com>
804
805 * gdb.server/server-exec-info.exp: Issue a "disconnect".
806
13e1dec8
SM
8072015-07-27 Simon Marchi <simon.marchi@ericsson.com>
808
809 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
810
da33c9a7
SM
8112015-07-27 Simon Marchi <simon.marchi@ericsson.com>
812
813 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
814
077836f7
PP
8152015-07-27 Patrick Palka <patrick@parcs.ath.cx>
816
817 * gdb.base/gdb-sigterm-2.exp: New test.
818
b8cc7b2e
DE
8192015-07-25 Doug Evans <xdje42@gmail.com>
820
821 Revert:
822 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
823 (workers/%.worker, build-perf): New rule.
824 (GDB_PERFTEST_MODE): New variable.
825 (check-perf): Use it.
826 (clean): Clean up gdb.perf parallel build subdirs.
827 * lib/build-piece.exp: New file.
828 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
829 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
830 name.
831 (standard_temp_file): Ditto.
832 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
833 of $GDB_PARALLEL.
834
c8bd4544
DE
8352015-07-24 Doug Evans <dje@google.com>
836
837 * gdb.perf/lib/perftest/utils.py: New file.
838 * gdb.perf/gm-hello.cc: New file.
839 * gdb.perf/gm-pervasive-typedef.cc: New file.
840 * gdb.perf/gm-pervasive-typedef.h: New file.
841 * gdb.perf/gm-std.cc: New file.
842 * gdb.perf/gm-std.h: New file.
843 * gdb.perf/gm-use-cerr.cc: New file.
844 * gdb.perf/gm-utils.h: New file.
845 * gdb.perf/gmonster-null-lookup.py: New file.
846 * gdb.perf/gmonster-pervasive-typedef.py: New file.
847 * gdb.perf/gmonster-print-cerr.py: New file.
848 * gdb.perf/gmonster-ptype-string.py: New file.
849 * gdb.perf/gmonster-runto-main.py: New file.
850 * gdb.perf/gmonster-select-file.py: New file.
851 * gdb.perf/gmonster1-null-lookup.exp: New file.
852 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
853 * gdb.perf/gmonster1-print-cerr.exp: New file.
854 * gdb.perf/gmonster1-ptype-string.exp: New file.
855 * gdb.perf/gmonster1-runto-main.exp: New file.
856 * gdb.perf/gmonster1-select-file.exp: New file.
857 * gdb.perf/gmonster1.cc: New file.
858 * gdb.perf/gmonster1.exp: New file.
859 * gdb.perf/gmonster2-null-lookup.exp: New file.
860 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
861 * gdb.perf/gmonster2-print-cerr.exp: New file.
862 * gdb.perf/gmonster2-ptype-string.exp: New file.
863 * gdb.perf/gmonster2-runto-main.exp: New file.
864 * gdb.perf/gmonster2-select-file.exp: New file.
865 * gdb.perf/gmonster2.cc: New file.
866 * gdb.perf/gmonster2.exp: New file.
867
6eab34f3
DE
8682015-07-24 Doug Evans <dje@google.com>
869
870 * gdb.perf/README: New file.
871 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
872 * lib/gen-perf-test.exp: New file.
873
63738bfd
DE
8742015-07-24 Doug Evans <dje@google.com>
875
876 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
877 (PerfTest::startup): New function.
878 (PerfTest::run): Return result of calling body.
879 (PerfTest::assemble): Rewrite.
880 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
881 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
882 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
883 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
884 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
885
7b606f95
DE
8862015-07-24 Doug Evans <dje@google.com>
887
888 * lib/gdb.exp (clean_restart): Make executable optional.
889
a97b16b8
DE
8902015-07-24 Doug Evans <dje@google.com>
891
892 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
893 compiler_info references.
894 * gdb.cp/temargs.exp: Ditto.
895 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
896 (get_compiler_info): Early exit if already computed. Set compiler_info
897 to "unknown" if there was a problem.
898 (test_compiler_info): Add function comment. Call get_compiler_info.
899
35baa57f
DE
9002015-07-24 Doug Evans <dje@google.com>
901
902 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
903 (workers/%.worker, build-perf): New rule.
904 (GDB_PERFTEST_MODE): New variable.
905 (check-perf): Use it.
906 (clean): Clean up gdb.perf parallel build subdirs.
907 * lib/build-piece.exp: New file.
908 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
909 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
910 name.
911 (standard_temp_file): Ditto.
912 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
913 of $GDB_PARALLEL.
914
6ebea266
DE
9152015-07-24 Doug Evans <dje@google.com>
916
917 * lib/future.exp (gdb_default_target_compile): New option
918 "early_flags".
919 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
920 --as-needed.
921
1e76a7e9
SDJ
9222015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
923
924 * gdb.base/catch-syscall.exp: Call gdb_exit before
925 gdb_skip_xml_test.
926
5068630a
PA
9272015-07-24 Pedro Alves <palves@redhat.com>
928
929 * gdb.python/py-events.exp: Accept output between the stop event
930 and the prompt.
931 * gdb.python/py-evsignal.exp: Likewise.
932 * gdb.python/py-evthreads.exp: Likewise.
933
77598427
PA
9342015-07-24 Pedro Alves <palves@redhat.com>
935
936 PR gdb/18717
937 * gdb.threads/non-ldr-exit.c: New file.
938 * gdb.threads/non-ldr-exit.exp: New file.
939
11e6c98f
YQ
9402015-07-24 Yao Qi <yao.qi@linaro.org>
941
942 * gdb.server/ext-wrapper.exp: Test --wrapper option when
943 restarting process.
944
51aee833
YQ
9452015-07-24 Yao Qi <yao.qi@linaro.org>
946
947 * gdb.server/ext-restart.exp: New file.
948
8cfe207c
YQ
9492015-07-24 Yao Qi <yao.qi@linaro.org>
950
951 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
952 argument options.
953 * gdb.server/ext-wrapper.exp: New file.
954
cc12ce38
DE
9552015-07-23 Doug Evans <dje@google.com>
956
957 * gdb.dwarf2/dw2-dummy-cu.S: New file.
958 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
959
d0d84780
PMR
9602015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
961
962 * gdb.ada/var_arr_typedef.exp: New testcase.
963 * gdb.ada/var_arr_typedef/pack.adb: New file.
964 * gdb.ada/var_arr_typedef/pack.ads: New file.
965 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
966
8b558f79
JB
9672015-07-20 Joel Brobecker <brobecker@adacore.com>
968
969 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
970
775a3298
JK
9712015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
972
973 * gdb.arch/i386-biarch-core.exp: Replace istarget
974 by "complete set gnutarget". Remove expectation for the "core-file"
975 command.
976
db1ff28b
JK
9772015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
978
979 Revert the previous commit:
980 Tests for validate symbol file using build-id.
981
0a94970d
JK
9822015-07-15 Aleksandar Ristovski <aristovski@qnx.com
983
984 Tests for validate symbol file using build-id.
985 * gdb.base/solib-mismatch-lib.c: New file.
986 * gdb.base/solib-mismatch-libmod.c: New file.
987 * gdb.base/solib-mismatch.c: New file.
988 * gdb.base/solib-mismatch.exp: New file.
989
03346981
SL
9902015-07-15 Sandra Loosemore <sandra@codesourcery.com>
991
992 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
993 nios2-*-linux*.
994 * gdb.base/sigbpt.exp (stepi_out): Likewise.
995 * gdb.base/siginfo.exp: Likewise.
996 * gdb.base/sigstep.exp (advance, advancei): Likewise.
997
42422cc7
PL
9982015-07-15 Pierre Langlois <pierre.langlois@arm.com>
999
1000 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1001 Move it to ...
1002 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1003 ... here.
1004 * gdb.trace/range-stepping.exp: Check that the target supports
1005 range stepping.
1006
cfa68bae
JK
10072015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1008
1009 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1010
8ffdba26
PA
10112015-07-14 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/killed-outside.exp: New file.
1014 * gdb.base/killed-outside.c: New file.
1015
218a5a11
JK
10162015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1017
1018 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1019 (n at main): New.
1020 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1021
e03ed3c6
AA
10222015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1023
1024 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1025 infcall tests instead of setting up for KFAIL.
1026
485668e5
MM
10272015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1028
1029 * gdb.btrace/record_goto-step.exp: New.
1030
08464196
JK
10312015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1032
1033 PR compile/18484
1034 * gdb.compile/compile.c (struct struct_type): Add volatile to
1035 selffield's type.
1036 * gdb.compile/compile.exp
1037 (compile code struct_object.selffield = &struct_object): Skip further
1038 struct_object tests if this one xfails.
1039
bcf5c1d9
RC
10402015-07-08 Robert O'Callahan <robert@ocallahan.org>
1041
1042 PR exp/18617
1043 * gdb.trace/ax.exp: Add test.
1044
4931af25
YQ
10452015-07-07 Yao Qi <yao.qi@linaro.org>
1046
1047 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1048 instead of istarget "aarch64*-*-*".
1049 * gdb.arch/aarch64-fp.exp: Likewise.
1050 * gdb.base/float.exp: Likewise.
1051 * gdb.reverse/aarch64.exp: Likewise.
1052 * lib/gdb.exp (is_aarch64_target): New proc.
1053
9fcf688e
YQ
10542015-07-07 Yao Qi <yao.qi@linaro.org>
1055
1056 * lib/gdb.exp (is_aarch32_target): New proc.
1057 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1058 instead of "istarget "arm*-*-*"".
1059 * gdb.arch/arm-disp-step.exp: Likewise.
1060 * gdb.arch/thumb-bx-pc.exp: Likewise.
1061 * gdb.arch/thumb-prologue.exp: Likewise.
1062 * gdb.arch/thumb-singlestep.exp: Likewise.
1063 * gdb.base/disp-step-syscall.exp: Likewise.
1064 * gdb.base/float.exp: Likewise.
1065
fbd8d50d
YQ
10662015-07-07 Yao Qi <yao.qi@linaro.org>
1067
1068 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1069 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1070
71be1fdc
YQ
10712015-07-07 Yao Qi <yao.qi@linaro.org>
1072
1073 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1074 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1075 if it exists.
1076 * gdb.multi/multi-arch.exp: Likewise.
1077
3e221d36
SM
10782015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1079
1080 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1081 print.
1082
d441430b
YQ
10832015-07-07 Yao Qi <yao.qi@linaro.org>
1084
1085 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1086
06f810bd
MG
10872015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1088
1089 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1090 '[' and ']' characters.
1091
5e61e7c0
IB
10922015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1093
1094 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1095
28bf096c
PA
10962015-06-29 Pedro Alves <palves@redhat.com>
1097
1098 PR threads/18127
1099 * gdb.threads/hand-call-new-thread.c: New file.
1100 * gdb.threads/hand-call-new-thread.c: New file.
1101
ee93cd5e
KS
11022015-06-26 Keith Seitz <keiths@redhat.com>
1103 Doug Evans <dje@google.com>
1104
1105 PR 16253
1106 * gdb.cp/var-tag-2.cc: New file.
1107 * gdb.cp/var-tag-3.cc: New file.
1108 * gdb.cp/var-tag-4.cc: New file.
1109 * gdb.cp/var-tag.cc: New file.
1110 * gdb.cp/var-tag.exp: New file.
1111
fc637f04
PP
11122015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1113
1114 * gdb.base/history-duplicates.exp: New test.
1115
2e52ae68
PP
11162015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1117
1118 * gdb.base/completion.exp: Test the completion of the "focus"
1119 command.
1120
6e22494e
JK
11212015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1122
1123 * gdb.arch/amd64-prologue-skip.S: New file.
1124 * gdb.arch/amd64-prologue-skip.exp: New file.
1125
bf7b9cd9
SM
11262015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1127
1128 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1129 is_address_zero_readable check.
1130
201e8dfd
PB
11312015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1132
1133 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1134 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1135
5cd867b4
YQ
11362015-06-24 Yao Qi <yao.qi@linaro.org>
1137
1138 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1139 linux targets.
1140
4d7be007
YQ
11412015-06-24 Yao Qi <yao.qi@linaro.org>
1142
1143 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1144 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1145 * gdb.base/siginfo-thread.exp: Likewise.
1146
07fcd301
YQ
11472015-06-22 Yao Qi <yao.qi@linaro.org>
1148
1149 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1150
52042a00
YQ
11512015-06-22 Yao Qi <yao.qi@linaro.org>
1152
1153 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1154 aarch64*-*-*.
1155 (skip_hw_watchpoint_tests): Likewise.
1156
74bd41ce
PP
11572015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1158
1159 * gdb.base/gdbinit-history.exp: Test the interaction between
1160 setting GDBHISTSIZE and setting the history size via .gdbinit.
1161
bc460514
PP
11622015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1163
1164 PR gdb/16999
1165 * gdb.base/gdbhistsize-history.exp: New test.
1166
b58c513b
PP
11672015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1168
1169 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1170 with GDBHISTSIZE.
1171 * gdb.base/readline.exp: Likewise.
1172
92046791
YQ
11732015-06-17 Yao Qi <yao.qi@linaro.org>
1174
1175 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1176 line.
1177
2093d2d3
PP
11782015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1179
1180 * gdb.base/gdbinit-history.exp: Add test case to check that
1181 an unlimited history file does not get truncated on exit.
1182
e6c693af
AA
11832015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1184
1185 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1186 (VECTOR): New macro. Use it...
1187 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1188 ...for these typedefs.
1189 (int8, char1, int1, double1): New typedefs.
1190 (struct just_int2, struct two_int2): New structures.
1191 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1192 (add_structvecs, add_singlevecs): New functions.
1193 (main): Call add_some_intvecs twice.
1194 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1195 the compile and exit upon failure. Try compiling for the "native"
1196 architecture. Test inferior function calls with vector arguments
1197 and vector return value handling with "finish" and "return".
1198
c74f7d1c
JT
11992015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1200
1201 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1202 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1203 PE file.
1204 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1205
98aa42ee
AT
12062015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1207
1208 PR breakpoints/16465
1209 * gdb.mi/mi-dprintf-pending.c: New file.
1210 * gdb.mi/mi-dprintf-pending.exp: New test.
1211 * gdb.mi/mi-dprintf-pendshr.c: New file.
1212
7d73c23c 12132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1214 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1215
1216 * gdb.arch/i386-mpx-map.c: New file.
1217 * gdb.arch/i386-mpx-map.exp: New File.
1218
12192015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1220
1221 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1222 * gdb.arch/i386-mpx.exp: Indentation fixed.
1223
12242015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1225
1226 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1227 function and improved indentation.
1228 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1229 gdb_test_multiple. Added additional tests to skip the test.
1230
12312015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1232
1233 * gdb.arch/i386-avx512.c: Change path in include file.
1234 * gdb.arch/i386-avx512.exp: Change include dir path
1235 compilation flag.
1236 * gdb.arch/i386-mpx.c: Change path in include file.
1237 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1238 flag.
1239
d5eba19a
JK
12402015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1241
1242 * gdb.compile/compile-print.exp (compile print *vararray@3)
1243 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1244
7f361056
JK
12452015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1246
1247 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1248 (do not keep jit in memory): ... this.
1249 (expect 5): Change it to ...
1250 (expect no 5): ... this.
1251
3b462ec2
SM
12522015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1253
1254 PR gdb/15564
1255 * gdb.mi/mi-detach.exp: New file.
1256
e0619de6
JK
12572015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1258
1259 PR symtab/18392
1260 * gdb.arch/amd64-tailcall-self.S: New file.
1261 * gdb.arch/amd64-tailcall-self.c: New file.
1262 * gdb.arch/amd64-tailcall-self.exp: New file.
1263
e970cb34
DB
12642015-05-28 Don Breazeal <donb@codesourcery.com>
1265
1266 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1267 tests for remote targets by checking is_target_gdbserver.
1268
b2e2f908
DE
12692015-05-27 Doug Evans <dje@google.com>
1270
1271 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1272 * gdb.dwarf2/opaque-type-lookup.c: New file.
1273 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1274
82c7be31
DE
12752015-05-26 Doug Evans <dje@google.com>
1276
1277 * gdb.cp/iostream.cc: New file.
1278 * gdb.cp/iostream.exp: New file.
1279
b4f54984
DE
12802015-05-26 Doug Evans <dje@google.com>
1281
1282 * gdb.dwarf2/dw2-op-call.exp: Update.
1283 * gdb.dwarf2/dw4-sig-types.exp: Update.
1284 * gdb.dwarf2/implptr.exp: Update.
1285 * gdb.mi/mi-cmd-param-changed.exp: Update.
1286
4ea6efe9
DE
12872015-05-26 Doug Evans <dje@google.com>
1288
1289 * gdb.python/py-lazy-string.c: New file.
1290 * gdb.python/py-lazy-string.exp: New file.
1291 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1292 (main): Update. Add estring3.
1293 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1294 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1295
f6bb7db3
YQ
12962015-05-26 Omair Javaid <omair.javaid@linaro.org>
1297 Yao Qi <yao.qi@linaro.org>
1298
1299 * gdb.reverse/aarch64.c: New.
1300 * gdb.reverse/aarch64.exp: New.
1301
a81bfbd0
OJ
13022015-05-26 Omair Javaid <omair.javaid@linaro.org>
1303
1304 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1305 (supports_reverse): Likewise.
1306
158bf1b4
PP
13072015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1308
1309 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1310 Use with_test_prefix.
1311
a0145030
AB
13122015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1313
1314 * gdb.base/completion.exp: Add test for completion of layout
1315 names.
1316
ebe3b578
AB
13172015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1318
1319 * lib/gdb.exp (skip_tui_tests): New proc.
1320 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1321
84204ed7
PA
13222015-05-19 Pedro Alves <palves@redhat.com>
1323
1324 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1325 Save the whole env array instead of just HOME. Unset HISTSIZE in
1326 the environment while testing. Restore whole environment
1327 afterwards.
1328
37442ce1
DE
13292015-05-16 Doug Evans <xdje42@gmail.com>
1330
1331 * gdb.guile/scm-ports.c: New file.
1332 * gdb.guile/scm-ports.exp: Add memory port tests.
1333
36de76f9
JK
13342015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1335
1336 * gdb.compile/compile-print.c: New file.
1337 * gdb.compile/compile-print.exp: New file.
1338
3a9558c4
JK
13392015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1340
1341 * gdb.compile/compile-ops.exp: Cast param to void.
1342 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1343 (compile code struct_object.selffield = &struct_object): Add xfail.
1344
aa715135
JG
13452015-05-15 Joel Brobecker <brobecker@adacore.com>
1346
1347 * gdb.ada/arr_enum_with_gap: New testcase.
1348
931e5bc3
JG
13492015-05-15 Joel Brobecker <brobecker@adacore.com>
1350
1351 * gdb.ada/byte_packed_arr: New testcase.
1352
9cd4d857
JB
13532015-05-15 Joel Brobecker <brobecker@adacore.com>
1354
1355 * gdb.ada/pckd_neg: New testcase.
1356
ebfd00d2
PP
13572015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1358
1359 PR gdb/17820
1360 * gdb.base/gdbinit-history.exp: New test.
1361 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1362 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1363
4c082a81
SC
13642015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1365
1366 * gdb.python/py-xmethods.cc: Enhance test case.
1367 * gdb.python/py-xmethods.exp: New tests.
1368 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1369 function.
1370 (B_indexoper): Likewise.
1371 (global_dm_list) : Add new xmethod worker functions.
1372
f7797074
SDJ
13732015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1374
1375 * gdb.base/coredump-filter.exp: Correctly unset
1376 "coredump_var_addr" array.
1377
a4674e4e
PA
13782015-05-08 Pedro Alves <palves@redhat.com>
1379
1380 * gdb.server/non-existing-program.exp: Unset spawn_id.
1381
df2eb078
SC
13822015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1383
1384 PR python/18291
1385 * gdb.python/py-xmethods.exp: Add tests.
1386
422349a3
YQ
13872015-05-08 Yao Qi <yao.qi@linaro.org>
1388
1389 PR gdb/18208
1390 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1391 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1392 function set_coredump_filter, and remove remote_exec call.
1393 Remove argument ipid. Callers update.
1394 (top level): Don't get inferior's PID.
1395
63fc80ce
AA
13962015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1397
1398 * gdb.base/watch_thread_num.exp: Skip test on targets without
1399 access watchpoints.
1400
80ad801e
PA
14012015-05-06 Pedro Alves <palves@redhat.com>
1402
1403 PR server/18081
1404 * gdb.server/non-existing-program.exp: New file.
1405
0fa7fe50
JB
14062015-05-05 Joel Brobecker <brobecker@adacore.com>
1407
1408 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1409
3ea89b92
PMR
14102015-05-05 Joel Brobecker <brobecker@adacore.com>
1411
1412 * gdb.ada/out_of_line_in_inlined: New testcase.
1413
87b8eff0
JB
14142015-05-05 Joel Brobecker <brobecker@adacore.com>
1415
1416 * gdb.ada/var_rec_arr: New testcase.
1417
5fccc635
YQ
14182015-04-30 Yao Qi <yao.qi@linaro.org>
1419
1420 * gdb.base/break-idempotent.exp: If
1421 skip_hw_watchpoint_multi_tests returns true, skip the tests
1422 on "rwatch" and "awatch".
1423
42d38f42
YQ
14242015-04-30 Yao Qi <yao.qi@linaro.org>
1425
1426 * gdb.base/relativedebug.exp: Invoke gdb command
1427 "info sharedlibrary", and if libc.so doesn't have debug info,
1428 skip the test.
1429
2ce1cdbf
DE
14302015-04-29 Doug Evans <dje@google.com>
1431
1432 * gdb.python/py-xmethods.exp: Add ptype tests.
1433 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1434 get_result_type method.
1435
f24a38c5
LM
14362015-04-29 Luis Machado <lgustavo@codesourcery.com>
1437
1438 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1439 the target does not support hardware watchpoints.
1440
ecbf2b3c
LM
14412015-04-29 Luis Machado <lgustavo@codesourcery.com>
1442
1443 * gdb.base/break-always.exp: Abort testing if writing to memory
1444 causes an error.
1445
34f5f757
DE
14462015-04-28 Doug Evans <dje@google.com>
1447
1448 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1449 * gdb.python/py-pp-registration.exp: ... here. New file.
1450 * gdb.python/py-pp-registration.c: New file.
1451 * gdb.python/py-pp-registration.py: New file.
1452
69b4374a
DE
14532015-04-28 Doug Evans <dje@google.com>
1454
1455 * gdb.python/py-bad-printers.c: New file.
1456 * gdb.python/py-bad-printers.py: New file.
1457 * gdb.python/py-bad-printers.exp: New file.
1458
59fb7612
SS
14592015-04-28 Sasha Smundak <asmundak@google.com>
1460
1461 * gdb.python/py-type.exp: New test.
1462
2631b16a
AW
14632015-04-28 Andy Wingo <wingo@igalia.com>
1464
1465 * gdb.python/py-parameter.exp:
1466 * gdb.guile/scm-parameter.exp: Escape the path that we are
1467 matching against, as it might contain characters that are special
1468 to regular expressions.
1469
460efde1
JB
14702015-04-27 Joel Brobecker <brobecker@adacore.com>
1471
1472 * gdb.ada/rec_comp: New testcase.
1473
2d369d8e
SDJ
14742015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1475
1476 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1477 before using it.
1478
cf75d6c3
AB
14792015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1482 new tests for verilog output.
1483
8dbe7ca5
YQ
14842015-04-24 Yao Qi <yao.qi@linaro.org>
1485
1486 * boards/remote-gdbserver-on-localhost.exp: New file.
1487
4ef9fb2f
PA
14882015-04-23 Pedro Alves <palves@redhat.com>
1489
1490 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1491 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1492 "end of file", remove $inferior_spawn_id from the indirect list.
1493
0a803169
PA
14942015-04-23 Pedro Alves <palves@redhat.com>
1495
1496 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1497
749ef8f8
PA
14982015-04-23 Pedro Alves <palves@redhat.com>
1499
1500 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1501 on $any_spawn_id instead of only on $gdb_spawn_id.
1502
8aae4344
PM
15032015-04-21 Pierre Muller <muller@sourceware.org>
1504
1505 PR pascal/17815
1506 * lib/pascal.exp (gpc_compile): Add new option "class".
1507 (fpc_compile): Likewise.
1508 * gdb.pascal/case-insensitive-symbols.pas: New file.
1509 * gdb.pascal/case-insensitive-symbols.exp: New file.
1510
1586c8fb
GB
15112015-04-20 Gary Benson <gbenson@redhat.com>
1512
1513 * gdb.base/attach.exp: Fix three extended remote failures.
1514
1b6e6f5c
GB
15152015-04-17 Gary Benson <gbenson@redhat.com>
1516
1517 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1518 the main executable over the remote protocol.
1519
e797481d
PA
15202015-04-16 Pedro Alves <palves@redhat.com>
1521
1522 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1523 a new gdbserver if gdbserver_reconnect_p is set.
1524
1ca99c42
PA
15252015-04-16 Pedro Alves <palves@redhat.com>
1526
1527 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1528 is set, don't exit gdbserver.
1529
af9fd6f8
AA
15302015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1531
1532 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1533 appropriate .insn, such that an older assembler can be used.
1534 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1535 the z/Architecture instruction set on 31-bit targets as well.
1536
04ff1e61
AA
15372015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1538
1539 * gdb.go/handcall.exp: Remove all logic related to the first
1540 breakpoint and rely on go_runto_main instead.
1541 * gdb.go/strings.exp: Likewise.
1542 * gdb.go/unsafe.exp: Likewise.
1543 * gdb.go/hello.exp: Likewise. Also rename the remaining
1544 breakpoint marker to "breakpoint 1".
1545 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1546 * gdb.go/strings.go: Likewise.
1547 * gdb.go/unsafe.go: Likewise.
1548 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1549 "set breakpoint 2 here" and rename the remaining breakpoint marker
1550 to "breakpoint 1".
1551
40d2f8d6
SM
15522015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1553
1554 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1555 if itertools.imap is not present.
1556 * gdb.python/py-objfile.exp: Add parentheses.
1557 * gdb.python/py-type.exp: Same.
1558 * gdb.python/py-unwind-maint.py: Same.
1559
8cbc97c6
YQ
15602015-04-15 Yao Qi <yao.qi@linaro.org>
1561
1562 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1563 of ":$ptr_size" and set its form explicitly.
1564
45fd756c
YQ
15652015-04-15 Pedro Alves <palves@redhat.com>
1566 Yao Qi <yao.qi@linaro.org>
1567
1568 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1569 timeout by factor of 4.
1570 (test_regular_watch): Likewise.
1571 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1572 * gdb.reverse/sigall-reverse.exp: Likewise.
1573 * gdb.reverse/until-precsave.exp: Likewise.
1574 * lib/gdb.exp (with_timeout_factor): New proc.
1575 (gdb_expect): Move some code to ...
1576 (get_largest_timeout): ... here. New procedure.
1577
9e811bc3
LM
15782015-04-14 Luis Machado <lgustavo@codesourcery.com>
1579
1580 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1581
0ff6fcb2
LM
15822015-04-13 Luis Machado <lgustavo@codesourcery.com>
1583
1584 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1585 to write to the .text section.
1586
7578d5f7
LM
15872015-04-13 Luis Machado <lgustavo@codesourcery.com>
1588
1589 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1590 Handle the case of targets that do not provide PID information.
1591
2efe15c4
YQ
15922015-04-13 Yao Qi <yao.qi@linaro.org>
1593
1594 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1595 and use expect instead of gdb_expect.
1596
8cd8f2f8
SDJ
15972015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1598
1599 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1600 "coredump_var_addr" to avoid naming conflict with other testcases.
1601
9ee41772
PA
16022015-04-10 Pedro Alves <palves@redhat.com>
1603
1604 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1605 gdb_test_sequence and gdb_assert.
1606
07473109
PA
16072015-04-10 Pedro Alves <palves@redhat.com>
1608
1609 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1610 test messages that don't include the breakpoint address.
1611
de3db44c
YQ
16122015-04-10 Yao Qi <yao.qi@linaro.org>
1613
1614 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1615 false for some offset and width combinations which aren't
1616 supported by linux kernel.
1617
c79d856c
PA
16182015-04-10 Pedro Alves <palves@redhat.com>
1619
1620 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1621 procedure, factored out from ...
1622 (top level): ... here. Add "set displaced-stepping" testing axis.
1623 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1624 parameter "displaced". Use it.
1625 (top level): Use foreach and add "set displaced-stepping" testing
1626 axis.
1627
ebc90b50
PA
16282015-04-10 Pedro Alves <palves@redhat.com>
1629
1630 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1631 Remove comment.
1632 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1633 both the address of the instruction that triggers the watchpoint
1634 and the address of the instruction immediately after, and use
1635 those addresses for the test. Fix comment.
1636
8f572e5c
PA
16372015-04-10 Pedro Alves <palves@redhat.com>
1638
1639 * gdb.base/sigstep.exp (breakpoint_to_handler)
1640 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1641 Test "backtrace" in handler.
1642 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1643 (top level): Add new "displaced" test axis to
1644 breakpoint_to_handler, breakpoint_to_handler_entry and
1645 breakpoint_over_handler.
1646
8d707a12
PA
16472015-04-10 Pedro Alves <palves@redhat.com>
1648
1649 PR gdb/18216
1650 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1651
ef713951
YQ
16522015-04-10 Yao Qi <yao.qi@linaro.org>
1653
1654 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1655 (test_add_rn_pc): New function.
1656 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1657 (top level): Invoke test_add_rn_pc.
1658
906d60cf
PA
16592015-04-10 Pedro Alves <palves@redhat.com>
1660
1661 PR gdb/13858
1662 * gdb.base/step-over-no-symbols.exp: New file.
1663
f2983cc3
AW
16642015-04-09 Andy Wingo <wingo@igalia.com>
1665
1666 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1667 after the Python tests.
1668
6d62641c
SDJ
16692015-04-08 Keith Seitz <keiths@redhat.com>
1670
1671 PR python/16699
1672 * gdb.python/py-completion.exp: New tests for completion.
1673 * gdb.python/py-completion.py (CompleteLimit1): New class.
1674 (CompleteLimit2): Likewise.
1675 (CompleteLimit3): Likewise.
1676 (CompleteLimit4): Likewise.
1677 (CompleteLimit5): Likewise.
1678 (CompleteLimit6): Likewise.
1679 (CompleteLimit7): Likewise.
1680
f3770638
PA
16812015-04-08 Pedro Alves <palves@redhat.com>
1682
1683 PR gdb/18214
1684 PR gdb/18216
1685 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1686 function.
1687 (main): Install it as SIGUSR1 handler.
1688 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1689 parameter. Always use "setup" as prefix. Toggle "set
1690 displaced-stepping" off/on depending on global. Don't switch to
1691 thread 1 here.
1692 (top level): Add displaced stepping "off/on" test axis. Update
1693 "setup" calls. Wrap each subtest with with_test_prefix. Test
1694 continuing with a queued signal in each thread.
1695
4496bed7
PA
16962015-04-08 Pedro Alves <palves@redhat.com>
1697
1698 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1699 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1700 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1701 Return early if running to main fails.
1702 * gdb.trace/while-stepping.exp: Likewise.
1703
b97fde92
PA
17042015-04-07 Pedro Alves <palves@redhat.com>
1705
1706 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1707 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1708 interact with inferior program.
1709
f71c18e7
PA
17102015-04-07 Pedro Alves <palves@redhat.com>
1711
1712 * lib/gdb.exp (inferior_spawn_id): New global.
1713 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1714 spawn id after processing the user code.
1715 (default_gdb_start): Set inferior_spawn_id.
1716 (send_inferior): New procedure.
1717 * lib/gdbserver-support.exp (gdbserver_start): Set
1718 inferior_spawn_id.
1719 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1720
6423214f
PA
17212015-04-07 Pedro Alves <palves@redhat.com>
1722
1723 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1724 * lib/gdbserver-support.exp (gdbserver_start): Make
1725 $server_spawn_id global.
1726 (gdbserver_start): Don't wait for gdbserver's spawn id with
1727 expect_background.
1728 (close_gdbserver): New procedure.
1729 (gdb_exit): Rename the default version and reimplement.
1730
71c0ee8c
PA
17312015-04-07 Pedro Alves <palves@redhat.com>
1732
72f4393d 1733 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1734 append the substituted item, not the original item.
1735
203bc29b
PA
17362015-04-07 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1739 gdb_expect.
1740
508a3ddf
PA
17412015-04-07 Pedro Alves <palves@redhat.com>
1742
1743 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1744 output appearing once only.
1745
9f6dbe2b
PA
17462015-04-07 Pedro Alves <palves@redhat.com>
1747
1748 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1749 that doesn't expect anything. Return early if running to main
1750 fails.
1751
337532fa
YQ
17522015-04-07 Yao Qi <yao.qi@linaro.org>
1753
1754 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1755 (child_function): Call alarm.
1756 (main): Move call to alarm into the loop.
1757 * gdb.threads/non-stop-fair-events.exp: Build program with
1758 -DTIMEOUT=$timeout.
1759
01b622d4
DE
17602015-04-06 Doug Evans <xdje42@gmail.com>
1761
1762 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1763 Fix dest parameter to board_info.
1764 (fpc_compile): Ditto.
1765 (gdb_compile_pascal): Rename dest arg to destfile.
1766
961f4160
PMR
17672015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1768
1769 * gdb.ada/funcall_ref.exp: New file.
1770 * gdb.ada/funcall_ref/foo.adb: New file.
1771
cafda597
YQ
17722015-04-02 Yao Qi <yao.qi@linaro.org>
1773
1774 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1775 is remote.
1776
fed040c6
GB
17772015-04-02 Gary Benson <gbenson@redhat.com>
1778
1779 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1780
d11916aa
SS
17812015-04-01 Sasha Smundak <asmundak@google.com>
1782
1783 * gdb.python/py-unwind-maint.c: New file.
1784 * gdb.python/py-unwind-maint.exp: New test.
1785 * gdb.python/py-unwind-maint.py: New file.
1786 * gdb.python/py-unwind.c: New file.
1787 * gdb.python/py-unwind.exp: New test.
1788 * gdb.python/py-unwind.py: New test.
1789
a1471180
PA
17902015-04-01 Pedro Alves <palves@redhat.com>
1791
1792 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1793 to fail instead of non-existent $test.
1794
0bbeccb1
PA
17952015-04-01 Pedro Alves <palves@redhat.com>
1796
1797 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1798 GDBFLAGS if not empty.
1799
3c724c8c
PMR
18002015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1801
1802 * gdb.ada/complete.exp: Remove "multi_line".
1803 * gdb.ada/info_exc.exp: Remove "multi_line".
1804 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1805 * gdb.ada/ptype_field.exp: Remove "multi_line".
1806 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1807 * gdb.ada/tagged.exp: Remove "multi_line".
1808 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1809 [multi_line ...]
1810 * gdb.btrace/delta.exp: Likewise.
1811 * gdb.btrace/exception.exp: Likewise.
1812 * gdb.btrace/function_call_history.exp: Likewise.
1813 * gdb.btrace/instruction_history.exp: Likewise.
1814 * gdb.btrace/nohist.exp: Likewise.
1815 * gdb.btrace/record_goto.exp: Likewise.
1816 * gdb.btrace/segv.exp: Likewise.
1817 * gdb.btrace/stepi.exp: Likewise.
1818 * gdb.btrace/tailcall.exp: Likewise.
1819 * gdb.btrace/unknown_functions.exp: Likewise.
1820 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1821 * lib/gdb.exp: Add the "multi_line" helper.
1822
4eec2deb
PA
18232015-04-01 Pedro Alves <palves@redhat.com>
1824
1825 * gdb.threads/tid-reuse.c: New file.
1826 * gdb.threads/tid-reuse.exp: New file.
1827
df8411da
SDJ
18282015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1829
1830 PR corefiles/16092
1831 * gdb.base/coredump-filter.c: New file.
1832 * gdb.base/coredump-filter.exp: Likewise.
1833
6ef37366
PM
18342015-03-27 Petr Machata <pmachata@redhat.com>
1835
1836 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1837 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1838 (Dwarf::assemble): Initialize them.
1839 (Dwarf::lines): New function.
1840
7ec911b0
JT
18412015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1842
1843 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1844 SYMBOL_PREFIX for x86_64-*-cygwin.
1845
ff908ebf
AW
18462015-03-26 Andy Wingo <wingo@igalia.com>
1847
1848 PR symtab/18148
1849 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1850 const_value but not a location.
1851 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1852 location defined in non-main CUs are visible.
1853
6d5f0679
YQ
18542015-03-26 Yao Qi <yao.qi@linaro.org>
1855
1856 PR testsuite/18139
1857 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1858 Add a line number entry for the same line.
1859 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1860 Add a line number entry for the same line.
1861
2898689b
YQ
18622015-03-26 Yao Qi <yao.qi@linaro.org>
1863
1864 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1865 .int 0.
1866 (func): Likewise. Add .Lfunc_1 label.
1867 Use .Lfunc_1 label.
1868 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1869 .int 0.
1870 (func): Likewise.
1871 Use .Lfunc_1 label.
1872
85180498
YQ
18732015-03-26 Yao Qi <yao.qi@linaro.org>
1874
1875 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1876 Call gdb_compile instead to compile each .s files without debug
1877 information.
1878
8aa08a8d
YQ
18792015-03-26 Yao Qi <yao.qi@linaro.org>
1880
1881 * gdb.base/savedregs.exp (process_saved_regs): Make
1882 "Saved registers:" optional in the pattern.
1883
66849923
MM
18842015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1885
1886 * gdb.btrace/next.exp: Merged into step.exp.
1887 * gdb.btrace/finish.exp: Merged into step.exp.
1888 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1889 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1890 "record goto" and checking the exact replay position.
1891 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1892 check for "Recording format" in "info record" output.
1893 * gdb.btrace/record_goto.exp: Choose test file based on target.
1894 * gdb.btrace/x86-record_goto.S: Renamed into ...
1895 * gdb.btrace/x86_64-record_goto.S: ... this.
1896 * gdb.btrace/i686-record_goto.S: New.
1897 * gdb.btrace/x86-tailcall.S: Renamed into ...
1898 * gdb.btrace/x86_64-tailcall.S: ... this.
1899 * gdb.btrace/i686-tailcall.S: New.
1900 * gdb.btrace/x86-tailcall.c: Renamed into ...
1901 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1902 separate statements. Update test.
1903 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1904 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1905 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1906 * gdb.btrace/tailcall.exp: Choose test file based on target.
1907 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1908
11cc1b74
MM
19092015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1910
1911 * gdb.btrace/exception.exp: Increase BTS buffer size.
1912
a25d8bf9
PA
19132015-03-24 Pedro Alves <palves@redhat.com>
1914
1915 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1916
856e7dd6
PA
19172015-03-24 Pedro Alves <palves@redhat.com>
1918
1919 * gdb.threads/schedlock.exp (test_step): No longer expect that
1920 "set scheduler-locking step" with "next" over a function call runs
1921 threads unlocked.
1922
ad235a41
AT
19232015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1924
1925 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1926
15630549
AT
19272015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1928
1929 PR breakpoints/16466
1930 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1931 * gdb.mi/mi-pending.c (thread_func): New function.
1932 (int main): Add threading support required.
1933 * gdb.mi/mi-pending.exp: Add tests for this issue.
1934 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1935 (pendfunc2): Remove stdio dependency.
1936 * gdb.mi/mi-pendshr2.c: New file.
1937
693dca06
KS
19382015-03-23 Keith Seitz <keiths@redhat.com>
1939
1940 * gdb.linespec/keywords.c: New file.
1941 * gdb.linespec/keywords.exp: New file.
1942
7e993ebf
KS
19432015-03-23 Keith Seitz <keiths@redhat.com>
1944
1945 PR gdb/18021
1946 * gdb.dwarf2/staticvirtual.exp: New test.
1947
bc23328c
JK
19482015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1949
1950 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1951 * README: Remove HP-UX and gdb.hp.
1952 (configuration):
1953 * configure: Regenerate.
1954 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1955 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1956 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1957 gdb.hp/gdb.defects/Makefile.
1958 * gdb.hp/Makefile.in: File deleted.
1959 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1960 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1961 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1962 * gdb.hp/gdb.aCC/run.c: File deleted.
1963 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1964 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1965 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1966 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1967 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1968 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1969 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1970 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1971 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1972 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1973 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1974 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1975 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1976 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1977 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1978 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1979 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1980 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1981 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1982 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1983 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1984 * gdb.hp/gdb.compat/average.c: File deleted.
1985 * gdb.hp/gdb.compat/sum.c: File deleted.
1986 * gdb.hp/gdb.compat/xdb.c: File deleted.
1987 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1988 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1989 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1990 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1991 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1992 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1993 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1994 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1995 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1996 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1997 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1998 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1999 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2000 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2001 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2002 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2003 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2004 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2005 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2006 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2007 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2008 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2009 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2010 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2011 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2012 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2013 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2014 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2015 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2016 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2017 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2018 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2019 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2020 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2021 * gdb.hp/tools/odump: File deleted.
2022
8bf3b159
PA
20232015-03-19 Pedro Alves <palves@redhat.com>
2024
2025 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2026 (saw_thread_3): New globals.
2027 (top level): Increment them when an event for the corresponding
2028 thread is seen.
2029 (no thread starvation): New test.
2030
eb54c8bf
PA
20312015-03-19 Pedro Alves <palves@redhat.com>
2032
2033 * gdb.threads/continue-pending-status.c: New file.
2034 * gdb.threads/continue-pending-status.exp: New file.
2035
32d2e5d6
PA
20362015-03-18 Pedro Alves <palves@redhat.com>
2037
2038 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2039 Use gdb_is_target_remote instead of is_remote. Use
2040 gdb_test_multiple instead of gdb_expect. Exit early if
2041 gdb_test_multiple hits its internal matches. Tighten stepi tests
2042 expected output. Fail on exit with any signal, instead of just
2043 SIGILL.
2044
f68f11b7
YQ
20452015-03-18 Yao Qi <yao.qi@linaro.org>
2046
2047 PR tdep/18107
2048 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2049 variable.
2050 * gdb.base/catch-syscall.exp: Don't skip it on
2051 aarch64*-*-linux* target. Remove elements in all_syscalls.
2052 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2053 target.
2054 (setup_all_syscalls): New proc.
2055
ca5fd19b
YQ
20562015-03-16 Yao Qi <yao.qi@linaro.org>
2057
2058 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2059 (top level): Skip tests if valid_addr_p returns false for
2060 $cmd1 or $cmd2.
2061
85642ba0
AW
20622015-03-11 Andy Wingo <wingo@igalia.com>
2063
2064 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2065
e03f9645
YQ
20662015-03-11 Yao Qi <yao.qi@linaro.org>
2067
2068 * gdb.base/catch-syscall.exp: Fix typo in comments.
2069
5d0962b2
YQ
20702015-03-11 Yao Qi <yao.qi@linaro.org>
2071
2072 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2073
b2df3cef
PA
20742015-03-09 Pedro Alves <palves@redhat.com>
2075
2076 * dg-extract-results.py: Delete.
2077
ef878e53
PA
20782015-03-09 Pedro Alves <palves@redhat.com>
2079
2080 Merge dg-extract-results.sh from GCC upstream (r218843).
2081
2082 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2083 * dg-extract-results.sh: Use --text with grep to avoid issues with
2084 binary files. Fall back to cat -v, if that doesn't work.
2085
9494d219
PA
20862015-03-05 Pedro Alves <palves@redhat.com>
2087
2088 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2089
a8d9763a
SM
20902015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2091
2092 * lib/mi-support.exp (mi_expect_interrupt): Accept
2093 alternative event for when in all-stop mode.
2094
be9957b8
PA
20952015-03-04 Pedro Alves <palves@redhat.com>
2096
2097 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2098
d57be0f4 20992015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2100
2101 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2102
c214c7cf
AA
21032015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2104
2105 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2106 regexps for GDB's current line display, accept a hex address
2107 preceding the line number.
2108
6d74a497
AA
21092015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2110
2111 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2112 the 'arch1' variable for "s390*-linux*" targets.
2113
511aee7c
PA
21142015-03-04 Pedro Alves <palves@redhat.com>
2115
2116 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2117 (main): Pass missing retval argument to pthread_join call.
2118
95e50b27
PA
21192015-03-02 Pedro Alves <palves@redhat.com>
2120
2121 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2122 (top level): Call do_test with non-stop as well.
2123
28054d69
PA
21242015-03-02 Pedro Alves <palves@redhat.com>
2125
2126 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2127 -1.
2128
4fa5d7b4
AA
21292015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2130
2131 * gdb.arch/s390-vregs.exp: New test.
2132 * gdb.arch/s390-vregs.S: New file.
2133
97c18565
PA
21342015-02-27 Pedro Alves <palves@redhat.com>
2135
2136 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2137 call to catch_command_errors.
2138 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2139 catch_command_errors.
2140
a37bfa30
PA
21412015-02-27 Pedro Alves <palves@redhat.com>
2142
2143 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2144 "true" for boolean result.
2145 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2146 prototype of main.
2147
6f98576f
PA
21482015-02-27 Pedro Alves <palves@redhat.com>
2149
2150 * lib/unbuffer_output.c: New file.
2151 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2152 (main): Call gdb_unbuffer_output.
2153
eba5ab56
YQ
21542015-02-27 Yao Qi <yao.qi@linaro.org>
2155
2156 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2157 target.
2158
0def5aaa
DE
21592015-02-26 Doug Evans <dje@google.com>
2160
2161 * gdb.cp/class2.cc (Dbase, D): New classes.
2162 (main): New local delta.
2163 * gdb.cp/class2.exp: Test printing delta.
2164 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2165 (dynbar): New global.
2166 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2167
081a1c2c
JK
21682015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2169
2170 * gdb.compile/compile-ifunc.c: New file.
2171 * gdb.compile/compile-ifunc.exp: New file.
2172
2f41223f
AT
21732015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2174
2175 * gdb.base/structs.exp: Check for correct struct on finish.
2176
03eddd80
YQ
21772015-02-26 Yao Qi <yao.qi@linaro.org>
2178
2179 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2180 is zero.
2181
80c57053
JK
21822015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2183
2184 * gdb.arch/cordic.ko.bz2: New file.
2185 * gdb.arch/cordic.ko.debug.bz2: New file.
2186 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2187
21613c12
YQ
21882015-02-25 Yao Qi <yao.qi@linaro.org>
2189
2190 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2191 aarch64*-*-* target.
2192
d8b901ed
PA
21932015-02-23 Pedro Alves <palves@redhat.com>
2194
2195 * lib/gdb.exp (delete_breakpoints): Rewrite using
2196 gdb_test_multiple.
2197
e5b85ead
PA
21982015-02-23 Pedro Alves <palves@redhat.com>
2199
2200 * gdb.base/info-os.c: Include stdlib.h.
2201
85c3a371
DE
22022015-02-22 Doug Evans <xdje42@gmail.com>
2203
2204 PR symtab/17855
2205 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2206 is read after symbols have been re-read.
2207 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2208 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2209
96553a0c
DE
22102015-02-21 Doug Evans <dje@google.com>
2211
2212 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2213
97a0c697
JK
22142015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2215
2216 PR corefiles/17808
2217 * gdb.arch/i386-biarch-core.core.bz2: New file.
2218 * gdb.arch/i386-biarch-core.exp: New file.
2219
a47cd6e9
PA
22202015-02-21 Pedro Alves <palves@redhat.com>
2221
2222 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2223 runto_main fails.
2224
c5facdc4
PA
22252015-02-20 Pedro Alves <palves@redhat.com>
2226
2227 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2228 info probes.
2229
2db9a427
PA
22302015-02-20 Pedro Alves <palves@redhat.com>
2231
2232 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2233
60fb7e9e
PA
22342015-02-20 Pedro Alves <palves@redhat.com>
2235
2236 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2237 clean_restart before gdb_target_supports_trace.
2238
5c5019c2
PA
22392015-02-20 Pedro Alves <palves@redhat.com>
2240
2241 PR threads/18006
2242 * gdb.threads/clone-thread_db.c: New file.
2243 * gdb.threads/clone-thread_db.exp: New file.
2244
c9587f88
AT
22452015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2246
2247 PR breakpoints/16812
2248 * gdb.base/catch-gdb-caused-signals.c: New file.
2249 * gdb.base/catch-gdb-caused-signals.exp: New file.
2250
f6a88844
JM
22512015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2252
2253 * configure: Regenerated.
2254 * configure.ac: Use GDB_AC_TRANSFORM.
2255 * aclocal.m4: sinclude ../transform.m4.
2256
497c491b
JM
22572015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2258
2259 * lib/dtrace.exp: New file.
2260 * gdb.base/dtrace-probe.exp: Likewise.
2261 * gdb.base/dtrace-probe.d: Likewise.
2262 * gdb.base/dtrace-probe.c: Likewise.
2263 * lib/pdtrace.in: Likewise.
2264 * configure.ac: Output variables with the transformed names of
2265 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2266 * configure: Regenerated.
2267
03e98035
JM
22682015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2269
2270 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2271 expected message when trying to access $_probe_* convenience
2272 variables while not on a probe.
2273
63cc30e9
JK
22742015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2275
2276 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2277
0703599a
PA
22782015-02-11 Pedro Alves <pedro@codesourcery.com>
2279
2280 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2281 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2282
7e60a48e
DE
22832015-02-10 Doug Evans <xdje42@gmail.com>
2284
2285 * lib/gdb.exp (gdb_load): Always return a result.
2286
01b088bc
PA
22872015-02-10 Pedro Alves <palves@redhat.com>
2288
2289 * gdb.threads/signal-sigtrap.c: New file.
2290 * gdb.threads/signal-sigtrap.exp: New file.
2291
b05ec7a5
AT
22922015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2293
2294 * gdb.trace/no-attach-trace.c: New file.
2295 * gdb.trace/no-attach-trace.exp: New file.
2296
a2c2acaf
MW
22972015-02-09 Mark Wielaard <mjw@redhat.com>
2298
2299 * gdb.dwarf2/atomic.c: New file.
2300 * gdb.dwarf2/atomic-type.exp: Likewise.
2301
31fd9caa
MM
23022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2303
2304 * gdb.btrace/buffer-size.exp: Update "info record" output.
2305 * gdb.btrace/delta.exp: Update "info record" output.
2306 * gdb.btrace/enable.exp: Update "info record" output.
2307 * gdb.btrace/finish.exp: Update "info record" output.
2308 * gdb.btrace/instruction_history.exp: Update "info record" output.
2309 * gdb.btrace/next.exp: Update "info record" output.
2310 * gdb.btrace/nexti.exp: Update "info record" output.
2311 * gdb.btrace/step.exp: Update "info record" output.
2312 * gdb.btrace/stepi.exp: Update "info record" output.
2313 * gdb.btrace/nohist.exp: Update "info record" output.
2314
d33501a5
MM
23152015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2316
2317 * gdb.btrace/buffer-size: New.
2318
f4abbc16
MM
23192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2320
2321 * gdb.btrace/delta.exp: Update "info record" output.
2322 * gdb.btrace/enable.exp: Update "info record" output.
2323 * gdb.btrace/finish.exp: Update "info record" output.
2324 * gdb.btrace/instruction_history.exp: Update "info record" output.
2325 * gdb.btrace/next.exp: Update "info record" output.
2326 * gdb.btrace/nexti.exp: Update "info record" output.
2327 * gdb.btrace/step.exp: Update "info record" output.
2328 * gdb.btrace/stepi.exp: Update "info record" output.
2329 * gdb.btrace/nohist.exp: Update "info record" output.
2330
b9d61307
SM
23312015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2332
2333 PR gdb/15678
2334 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2335
e584fdbc
PA
23362015-02-06 Pedro Alves <palves@redhat.com>
2337
2338 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2339 macro.
2340 (seconds_left, again): New globals.
2341 (main): Wait seconds_left in a 1-second sleep loop instead of
2342 sleeping 180 seconds. If 'again' is set, reset the seconds
2343 counter.
2344 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2345 'again' in the inferior before detaching. Print the seconds left.
2346 (options): New global.
2347 (top level): Build program with -DTIMEOUT=$timeout.
2348
77f41761
PA
23492015-02-06 Pedro Alves <palves@redhat.com>
2350
2351 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2352 determine how many seconds to pass to 'alarm'.
2353 * gdb.base/gdb-sigterm.exp (top level): Build program with
2354 -DTIMEOUT=$timeout.
2355 (do_test): Return success/failure indication. Add more verbose
2356 logging. Don't fail if 200 single steps are seen. Instead, fail
2357 when the test times out.
2358 (passes): New global.
2359 (top level): Break the testing loop if testing fails on any
2360 iteration. Use gdb_assert.
2361
b9394193
DB
23622015-02-04 Don Breazeal <donb@codesourcery.com>
2363
2364 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2365 and initialize them.
2366 (ipc_cleanup): New function.
2367 (main): Don't declare shmid, semid, and msqid. Add a call to
2368 atexit so that we call ipc_cleanup on exit.
2369
42d9e528
PA
23702015-02-04 Pedro Alves <palves@redhat.com>
2371
2372 * boards/native-extended-gdbserver.exp: Remove any target variant
2373 specifications from the board name before clearing the isremote
2374 flag from board_info.
2375
ae6ae975
DE
23762015-01-31 Doug Evans <xdje42@gmail.com>
2377
2378 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2379
cfb069a8
GB
23802015-01-31 Gary Benson <gbenson@redhat.com>
2381
2382 * gdb.base/completion.exp: Disable completion limiting for
2383 existing tests. Add new tests to check completion limiting.
2384 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2385
5dd31d79
DE
23862015-01-31 Doug Evans <xdje42@gmail.com>
2387
2388 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2389
9f050062
DE
23902015-01-31 Doug Evans <xdje42@gmail.com>
2391
2392 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2393 entries. Duplicate file section script entries.
2394 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2395 inlined entries. Add test for safe-path rejection.
2396 * gdb.python/py-section-script.c: Add duplicate inlined section script
2397 entries. Duplicate file section script entries.
2398 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2399 inlined entries. Add test for safe-path rejection.
2400
df25ebbd
JB
24012015-01-29 Joel Brobecker <brobecker@adacore.com>
2402
2403 * gdb.ada/disc_arr_bound: New testcase.
2404
4a0ca9ec
JB
24052015-01-29 Joel Brobecker <brobecker@adacore.com>
2406
2407 * gdb.ada/mi_var_array: New testcase.
2408
3a8b707a
DE
24092015-01-27 Doug Evans <dje@google.com>
2410
2411 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2412 Add test for objfile.filename, objfile.username after objfile
2413 has been unloaded.
2414
f8313f6e
JB
24152015-01-26 Joel Brobecker <brobecker@adacore.com>
2416
2417 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2418 the second test to print the name attribute of value
2419 returned by the call to gdb.lookup_type, and adjust
2420 the expected output accordingly.
2421
37bc665e
MW
24222015-01-25 Mark Wielaard <mjw@redhat.com>
2423
2424 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2425 * gdb.base/disp-step-fork.c: Include unistd.h.
2426 * gdb.base/siginfo-obj.c: Include stdio.h.
2427 * gdb.base/siginfo-thread.c: Likewise.
2428 * gdb.mi/non-stop.c: Include unistd.h.
2429 * gdb.mi/nsthrexec.c: Include stdio.h.
2430 * gdb.mi/pthreads.c: Include unistd.h.
2431 * gdb.modula2/unbounded1.c (main): Declare returns int.
2432 * gdb.reverse/consecutive-reverse.c: Likewise.
2433 * gdb.threads/create-fail.c: Include unistd.h.
2434 * gdb.threads/killed.c: Likewise.
2435 * gdb.threads/linux-dp.c: Likewise.
2436 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2437 * gdb.threads/non-ldr-exc-2.c: Likewise.
2438 * gdb.threads/non-ldr-exc-3.c: Likewise.
2439 * gdb.threads/non-ldr-exc-4.c: Likewise.
2440 * gdb.threads/pthreads.c: Include unistd.h.
2441 (main): Declare returns int.
2442 * gdb.threads/tls-main.c (foo): New declaration.
2443 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2444
f7e5394d
SM
24452015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2446
2447 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2448 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2449
743649fd
MW
24502015-01-15 Mark Wielaard <mjw@redhat.com>
2451
2452 * gdb.base/noreturn-return.c: New file.
2453 * gdb.base/noreturn-return.exp: New file.
2454 * gdb.base/noreturn-finish.c: New file.
2455 * gdb.base/noreturn-finish.exp: New file.
2456
198297aa
PA
24572015-01-23 Pedro Alves <palves@redhat.com>
2458
2459 * gdb.threads/continue-pending-after-query.c: New file.
2460 * gdb.threads/continue-pending-after-query.exp: New file.
2461
717cf30c
AG
24622015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2463 Simon Marchi <simon.marchi@ericsson.com>
2464
2465 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2466 * gdb.base/valgrind-db-attach.exp: Same.
2467 * gdb.base/valgrind-infcall.exp: Same.
2468 * lib/mi-support.exp (default_mi_gdb_start): Same.
2469 * lib/prompt.exp (default_prompt_gdb_start): Same.
2470 * lib/gdb.exp (default_gdb_spawn): Same.
2471 (gdb_interact): New.
2472
2473
4b62a76e
JK
24742015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2475
2476 * gdb.compile/compile.exp (pointer to jit function): New test.
2477
b4cdae6f
WW
24782015-01-17 Wei-cheng Wang <cole945@gmail.com>
2479
2480 * lib/gdb.exp (supports_process_record): Return true for
2481 powerpc*-*-linux*.
2482 (supports_reverse): Likewise.
2483
d221e7ef
DB
24842015-01-15 Don Breazeal <donb@codesourcery.com>
2485
2486 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2487 instead of checking whether the target board is remote and
2488 use spawn_wait_for_attach instead of exec/sleep.
2489 * gdb.base/attach-twice.exp: Likewise.
2490
bafffb51
JB
24912015-01-15 Joel Brobecker <brobecker@adacore.com>
2492
2493 * gdb.ada/var_arr_attrs: New testcase.
2494
5589af0e
PA
24952015-01-14 Pedro Alves <palves@redhat.com>
2496 Joel Brobecker <brobecker@adacore.com>
2497
2498 PR gdb/17525
2499 * gdb.base/bp-cmds-execution-x-script.c: New file.
2500 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2501 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2502
6c400b59
PA
25032015-01-14 Pedro Alves <palves@redhat.com>
2504
2505 PR cli/17828
2506 * gdb.base/batch-preserve-term-settings.c: New file.
2507 * gdb.base/batch-preserve-term-settings.exp: New file.
2508
e02c96a7
DE
25092015-01-13 Doug Evans <dje@google.com>
2510
2511 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2512 binary.
2513
576fd14c
JB
25142015-01-13 Joel Brobecker <brobecker@adacore.com>
2515
2516 * Makefile.in (clean mostlyclean): Do not delete *.py.
2517
04dccad0
JB
25182015-01-13 Joel Brobecker <brobecker@adacore.com>
2519
2520 * gdb.python/py-lookup-type.exp: New file.
2521
3d230f71
PA
25222015-01-12 Pedro Alves <palves@redhat.com>
2523
2524 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2525 restore GDBFLAGS before returning.
2526
7e67715d
JK
25272015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2528
2529 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2530 is_amd64_regs_target and is_x86_like_target.
2531
f2e0d4b4
DE
25322015-01-11 Doug Evans <xdje42@gmail.com>
2533
2534 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2535 is given without an explicit form.
2536 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2537 attributes.
2538 * gdb.dwarf/corrupt.exp: Ditto.
2539 * gdb.dwarf2/enum-type.exp: Ditto.
2540 * gdb.trace/entry-values.exp: Ditto.
2541 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2542
439250fb
DE
25432015-01-11 Doug Evans <xdje42@gmail.com>
2544
2545 PR gdb/15830
2546 * gdb.base/maint.exp: Remove references to "maint demangle".
2547 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2548 Add tests for explicitly specifying language to demangle.
2549 * gdb.dlang/demangle.exp: Ditto.
2550
ede9f622
PA
25512015-01-09 Pedro Alves <palves@redhat.com>
2552
2553 * gdb.threads/non-stop-fair-events.c: New file.
2554 * gdb.threads/non-stop-fair-events.exp: New file.
2555
a7b796db
PA
25562015-01-09 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2559 the global scope. Set a breakpoint after all threads are started
2560 rather than stepping over two source lines. Expect the prompt.
2561 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2562 global.
2563 (NUM): Now 15.
2564 (main): Use threads_started_barrier to wait for all threads to
2565 start. Main thread no longer calls thread_function. Exit after
2566 180 seconds.
2567 (loop): New function.
2568 (thread_function): Wait on threads_started_barrier barrier. Call
2569 'loop' at each iteration.
2570 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2571 threads have started, instead of hardcoding number of "next"
2572 steps. Use an access watchpoint instead of a write watchpoint.
2573
9665ffdd
PA
25742015-01-09 Pedro Alves <palves@redhat.com>
2575
2576 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2577 (thread_func): Wait on barrier.
2578 (main): Wait for all threads to start before stopping GDB.
2579 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2580 global.
2581 (thread1_func, thread2_func): Wait on barrier.
2582 (main): Wait for all threads to start before stopping GDB.
2583 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2584 New global.
2585 (thread1_func, thread2_func): Wait on barrier.
2586 (main): Wait for all threads to start before stopping GDB.
2587
c945a99f
PA
25882015-01-09 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.threads/attach-many-short-lived-threads.c: New file.
2591 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2592
c1a747c1
PA
25932014-01-09 Pedro Alves <palves@redhat.com>
2594
2595 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2596 instead of to thread 2.
2597 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2598 Add barrier around each pthread_create call instead of around all
2599 calls.
2600 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2601 Set a break on thread_function and have the child threads hit it
2602 one at at a time.
2603
60b3033e
PA
26042015-01-09 Pedro Alves <palves@redhat.com>
2605
2606 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2607 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2608 false.
2609 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2610 checking whether the target board is remote.
2611 * gdb.multi/multi-attach.exp: Likewise.
2612 * gdb.python/py-sync-interp.exp: Likewise.
2613 * gdb.server/ext-attach.exp: Likewise.
2614 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2615 tests that need to attach, instead of checking whether the target
2616 board is remote at the top of the file.
2617
acc018ac
YQ
26182015-01-08 Yao Qi <yao@codesourcery.com>
2619
2620 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2621
50a18af8
JK
26222015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2623
2624 Fix testcase compilation.
2625 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2626
8503d6e1
JB
26272015-01-06 Joel Brobecker <brobecker@adacore.com>
2628
2629 * gdb.python/py-type.exp: Add a couple test about empty
2630 array creation, and negative-length array creation.
2631
cc73dbcc
DE
26322015-01-02 Doug Evans <xdje42@gmail.com>
2633
2634 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2635
0300bbc7
DE
26362015-01-02 Doug Evans <dje@google.com>
2637
2638 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2639
9d85a0ec
YQ
26402014-12-29 Yao Qi <yao@codesourcery.com>
2641
2642 * gdb.trace/entry-values.exp: Update comments. Rename variable
2643 bar_call_foo to returned_from_foo.
2644
87186c6a
MMN
26452014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2646
2647 PR gdb/17394
2648 * gdb.linespec/break-asm-file.c: New file.
2649 * gdb.linespec/break-asm-file.exp: New file.
2650 * gdb.linespec/break-asm-file0.s: New file.
2651 * gdb.linespec/break-asm-file1.s: New file.
2652
1bab7383
YQ
26532014-12-18 Nigel Stephens <nigel@mips.com>
2654 Maciej W. Rozycki <macro@codesourcery.com>
2655
2656 * gdb.base/float.exp: Handle the new output from "info float" on
2657 MIPS targets.
2658
1bc1068a
JK
26592014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2660
2661 Fix MinGW compilation.
2662 * gdb.compile/compile-ops.exp: Update untested message if
2663 !skip_compile_feature_tests.
2664 * gdb.compile/compile-setjmp.exp: Likewise.
2665 * gdb.compile/compile-tls.exp: Likewise.
2666 * gdb.compile/compile.exp: Likewise.
2667 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2668 supported on this host".
2669
b6615d10
DE
26702014-12-16 Doug Evans <xdje42@gmail.com>
2671
2672 * boards/stabs.exp: New file.
2673
25dda427
AA
26742014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2675
2676 * gdb.base/completion.exp: Adjust to format changes of "maint
2677 print user-registers".
2678
bf330350
CU
26792014-12-16 Catalin Udma <catalin.udma@freescale.com>
2680
2681 PR server/17457
2682 * gdb.arch/aarch64-fp.c: New file.
2683 * gdb.arch/aarch64-fp.exp: New file.
2684
395cf596
SDJ
26852014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2686
2687 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2688 r210637, r210913, r211666, r215400, r215817).
2689
2690 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2691 * dg-extract-results.py: New file.
2692 * dg-extract-results.sh: Use it if the environment seems
2693 suitable.
2694
2695 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2696
2697 * dg-extract-results.py (parse_run): Handle warnings that
2698 are printed before a test harness is run.
2699
2700 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2701
2702 * dg-extract-results.py (Named): Remove __cmp__ method.
2703 (output_variation): Use a key to sort variation.harnesses.
2704
2705 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2706
2707 * dg-extract-results.py: For Python 3, force sys.stdout to
2708 handle surrogate escape sequences.
2709 (safe_open): New function.
2710 (output_segment, main): Use it.
2711
2712 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2713
2714 * dg-extract-results.py (Prog.result_re): Include options
2715 in test name.
2716
2717 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2718
2719 * dg-extract-results.py (output_variation): Always sort if
2720 do_sum.
2721
e882ef3c
SM
27222014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2723
2724 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2725 as long as we get pagination notifications.
2726
4992aa20
JM
27272014-12-15 Jason Merrill <jason@redhat.com>
2728
2729 * Makefile.in (check-gdb.%): Restore.
2730 * README: Mention it.
2731
c1b5a1a6
JB
27322014-12-13 Joel Brobecker <brobecker@adacore.com>
2733
2734 * gdb.ada/str_uninit: New testcase.
2735
5537b577
JK
27362014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2737
2738 PR symtab/17642
2739 * gdb.base/vla-stub-define.c: New file.
2740 * gdb.base/vla-stub.c: New file.
2741 * gdb.base/vla-stub.exp: New file.
2742
bb2ec1b3
TT
27432014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2744 Jan Kratochvil <jan.kratochvil@redhat.com>
2745 Tom Tromey <tromey@redhat.com>
2746
2747 * configure.ac: Add gdb.compile/.
2748 * configure: Regenerate.
2749 * gdb.compile/Makefile.in: New file.
2750 * gdb.compile/compile-ops.exp: New file.
2751 * gdb.compile/compile-ops.c: New file.
2752 * gdb.compile/compile-tls.c: New file.
2753 * gdb.compile/compile-tls.exp: New file.
2754 * gdb.compile/compile-constvar.S: New file.
2755 * gdb.compile/compile-constvar.c: New file.
2756 * gdb.compile/compile-mod.c: New file.
2757 * gdb.compile/compile-nodebug.c: New file.
2758 * gdb.compile/compile-setjmp-mod.c: New file.
2759 * gdb.compile/compile-setjmp.c: New file.
2760 * gdb.compile/compile-setjmp.exp: New file.
2761 * gdb.compile/compile-shlib.c: New file.
2762 * gdb.compile/compile.c: New file.
2763 * gdb.compile/compile.exp: New file.
2764 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2765
4ff709eb
TT
27662014-12-12 Tom Tromey <tromey@redhat.com>
2767
2768 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2769 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2770
6dddd6a5
DE
27712014-12-12 Doug Evans <dje@google.com>
2772
2773 * lib/gdb-python.exp (get_python_valueof): New function.
2774 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2775
71c24708
AA
27762014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2777
2778 * gdb.base/completion.exp: Add test for completion of "info
2779 registers ".
2780
3e29f34a
MR
27812014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2782
2783 * gdb.base/func-ptrs.c: New file.
2784 * gdb.base/func-ptrs.exp: New file.
2785
fc126975
SM
27862014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2787
2788 PR breakpoints/17012
2789 * gdb.base/dprintf-detach.c: New file.
2790 * gdb.base/dprintf-detach.exp: New file.
2791
0a46d518
SM
27922014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2793
2794 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2795 * lib/gdb.exp (target_is_gdbserver): New procedure.
2796
a0be3e44
DE
27972014-12-08 Doug Evans <dje@google.com>
2798
2799 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2800
df1b803a
YQ
28012014-12-05 Yao Qi <yao@codesourcery.com>
2802
2803 * gdb.guile/scm-error.exp: Remove the third argument to
2804 gdb_remote_download.
2805 * gdb.guile/scm-frame-args.exp: Likewise.
2806 * gdb.guile/scm-section-script.exp: Likewise.
2807
ddb9f679
YQ
28082014-12-05 Yao Qi <yao@codesourcery.com>
2809
2810 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2811
86e4ed39
DE
28122014-12-04 Doug Evans <dje@google.com>
2813
2814 * gdb.python/py-objfile.exp: Add tests for
2815 objfile.add_separate_debug_file.
2816
7c50a931
DE
28172014-12-04 Doug Evans <dje@google.com>
2818
2819 * lib/gdb.exp (get_build_id): New function.
2820 (build_id_debug_filename_get): Rewrite to use it.
2821 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2822
621661e3
MR
28232014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2824
2825 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2826 `method(long)', not just 0x0.
2827 * gdb.cp/nsalias.exp: Align code labels to 4.
2828 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2829 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2830 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2831 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2832 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2833 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2834
29f0c3b7
DE
28352014-12-02 Doug Evans <dje@google.com>
2836
e1e061e7 2837 PR symtab/17602
29f0c3b7 2838 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2839 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2840 * gdb.cp/anon-ns.exp: Update.
2841
162078c8
NB
28422014-12-02 Nick Bull <nicholaspbull@gmail.com>
2843
2844 * gdb.python/py-events.py (inferior_call_handler): New.
2845 (register_changed_handler, memory_changed_handler): New.
2846 (test_events.invoke): Register new handlers.
2847 * gdb.python/py-events.exp: Add tests for inferior call,
2848 memory_changed and register_changed events.
2849
fdb09caf
AA
28502014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2851
2852 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2853 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2854 if the linker doesn't understand this.
2855
55cfb2c4
SM
28562014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2857
2858 * gdb.python/python.exp: Change expected reply to help().
2859
9e8cd6df
YQ
28602014-12-01 Yao Qi <yao@codesourcery.com>
2861
2862 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2863 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2864 * configure: Re-generated.
2865
6c659fc2
SC
28662014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2867
2868 * gdb.cp/chained-calls.cc: New file.
2869 * gdb.cp/chained-calls.exp: New file.
2870 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2871
d7fc3181
SM
28722014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2873
2874 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2875 * gdb.dwarf2/symtab-producer.exp: Same.
2876 * gdb.gdb/python-interrupts.exp: Same.
2877 * gdb.gdb/python-selftest.exp: Same.
2878 * gdb.python/py-linetable.exp: Same.
2879 * gdb.python/py-type.exp: Same.
2880 * gdb.python/py-value-cc.exp: Same.
2881 * gdb.python/py-value.exp: Same.
2882
10e79639
YQ
28832014-11-28 Yao Qi <yao@codesourcery.com>
2884
2885 * gdb.base/break-probes.exp: Match library name prefixed with
2886 sysroot.
2887
f28a0564
SM
28882014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2889
2890 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2891 test expected output. Add parentheses for the call to print.
2892 Remove L suffix from integers.
2893
3fe1ce1d
DE
28942014-11-26 Doug Evans <dje@google.com>
2895
2896 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2897
84429e27
YQ
28982014-11-22 Yao Qi <yao@codesourcery.com>
2899
2900 * gdb.trace/entry-values.c: Remove asms.
2901 (foo): Add foo_label.
2902 (bar): Add bar_label.
2903 * gdb.trace/entry-values.exp: Remove code computing foo's
2904 length and bar's length.
2905 (Dwarf::assemble): Invoke function_range for bar and use
2906 MACRO_AT_func for foo.
2907
26741859
YQ
29082014-11-22 Yao Qi <yao@codesourcery.com>
2909
2910 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2911 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2912 Use .Lgcc43_procstart instead of gcc43.
2913
45e44d27
JB
29142014-11-21 Joel Brobecker <brobecker@adacore.com>
2915
2916 * gdb.ada/n_arr_bound: New testcase.
2917
458c8db8
SDJ
29182014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2919
2920 PR breakpoints/10737
2921 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2922 test_catch_syscall_multi_arch.
2923 (test_catch_syscall_multi_arch): New function.
2924
43f3e411
DE
29252014-11-20 Doug Evans <xdje42@gmail.com>
2926
2927 * gdb.base/maint.exp: Update expected output.
2928
0d7b2549
AA
29292014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2930
2931 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2932 4-byte instruction on S390.
2933
8908fca5
JB
29342014-11-19 Joel Brobecker <brobecker@adacore.com>
2935
2936 * gdb.ada/arr_arr: New testcase.
2937
4a46959e
JB
29382014-11-19 Joel Brobecker <brobecker@adacore.com>
2939
2940 * gdb.ada/pkd_arr_elem: New Testcase.
2941
470e2f4e
LM
29422014-11-18 Luis Machado <lgustavo@codesourcery.com>
2943
2944 * gdb.reverse/break-precsave: Expect completion message for
2945 core file reads.
2946 * gdb.reverse/consecutive-precsave.exp: Likewise.
2947 * gdb.reverse/finish-precsave.exp: Likewise.
2948 * gdb.reverse/i386-precsave.exp: Likewise.
2949 * gdb.reverse/machinestate-precsave.exp: Likewise.
2950 * gdb.reverse/sigall-precsave.exp: Likewise.
2951 * gdb.reverse/solib-precsave.exp: Likewise.
2952 * gdb.reverse/step-precsave.exp: Likewise.
2953 * gdb.reverse/until-precsave.exp: Likewise.
2954 * gdb.reverse/watch-precsave.exp: Likewise.
2955
a267f3ad
AA
29562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2957
2958 * gdb.base/bp-permanent.c: Include unistd.h.
2959 * gdb.python/py-framefilter-mi.c (main): Add return type.
2960 * gdb.python/py-framefilter.c (main): Likewise.
2961 * gdb.trace/actions-changed.c (main): Likewise.
2962
12084a9a
AA
29632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2964
2965 * gdb.mi/until.c: Add eye-catchers.
2966 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2967 line numbers.
2968
dc7e1a77
AA
29692014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2970
2971 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2972 function header variants in break1.c.
2973 * gdb.base/ena-dis-br.exp: Likewise.
2974 * gdb.base/hbreak2.exp: Likewise.
2975 * gdb.reverse/until-precsave.exp: Drop references to removed
2976 non-prototype function header variants in ur1.c.
2977 * gdb.reverse/until-reverse.exp: Likewise.
2978
41c77605
PM
29792014-11-17 Petr Machata <pmachata@redhat.com>
2980
2981 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2982 ${_cu_offset_size} bytes abbrev offset.
2983
34248c3a
DE
29842014-11-15 Doug Evans <xdje42@gmail.com>
2985
2986 PR symtab/17559
2987 * gdb.base/line-symtabs.exp: New file.
2988 * gdb.base/line-symtabs.c: New file.
2989 * gdb.base/line-symtabs.h: New file.
2990
646da059
YQ
29912014-11-14 Yao Qi <yao@codesourcery.com>
2992
2993 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2994 (func): Add label func_label.
2995 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2996 Replace low_pc and high_pc with MACRO_AT_range.
2997 Replace name, low_pc and high_pc with MACRO_AT_func.
2998
9301ebe6
YQ
29992014-11-14 Yao Qi <yao@codesourcery.com>
3000
3001 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3002 Replace name, low_pc and high_pc with MACRO_AT_func.
3003
f166b542
YQ
30042014-11-14 Yao Qi <yao@codesourcery.com>
3005
3006 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3007 produce debug information.
3008 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3009
0f6e71e3
YQ
30102014-11-14 Yao Qi <yao@codesourcery.com>
3011
3012 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3013 object and get function length.
3014 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3015 with MACRO_AT_func.
3016 (top-level): Replace gdb_compile and clean_restart with
3017 prepare_for_testing.
3018 * gdb.dwarf2/main.c (main): Add label main_label.
3019
876c4df9
YQ
30202014-11-14 Yao Qi <yao@codesourcery.com>
3021
3022 * lib/dwarf.exp (function_range): New procedure.
3023 (Dwarf::_handle_macro_at_func): New procedure.
3024 (Dwarf::_handle_macro_at_range): New procedure.
3025 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3026
02ad9cf1
YQ
30272014-11-14 Yao Qi <yao@codesourcery.com>
3028
3029 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3030 (_handle_attribute): New procedure.
3031
a59add0c
AA
30322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3033
3034 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3035 * gdb.base/call-sc.c (zed): Likewise.
3036 * gdb.base/checkpoint.c (main): Likewise.
3037 * gdb.base/dump.c (main): Likewise.
3038 * gdb.base/gcore.c (main): Likewise.
3039 * gdb.base/huge.c (main): Likewise.
3040 * gdb.base/multi-forks.c (main): Likewise.
3041 * gdb.base/pr10179-a.c (main): Likewise.
3042 * gdb.base/savedregs.c (main): Likewise.
3043 * gdb.base/sigaltstack.c (main): Likewise.
3044 * gdb.base/siginfo.c (main): Likewise.
3045 * gdb.base/structs.c (zed): Likewise.
3046 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3047 * gdb.mi/mi-syn-frame.c (main): Likewise.
3048 * gdb.mi/until.c (foo, main): Likewise.
3049 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3050 * gdb.base/solib-weak.c (foo): Declare.
3051 * gdb.base/attach-twice.c: Include stdio.h.
3052 * gdb.base/weaklib1.c: Likewise.
3053 * gdb.base/weaklib2.c: Likewise.
3054 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3055 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3056 unistd.h.
3057 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3058 * gdb.mi/mi-exit-code.c: Likewise.
3059 * gdb.base/break-interp-lib.c: Include string.h.
3060 * gdb.base/coremaker.c: Likewise.
3061 * gdb.base/testenv.c: Likewise.
3062 * gdb.python/py-finish-breakpoint.c: Likewise.
3063 * gdb.base/inferior-died.c: Include sys/wait.h.
3064 * gdb.base/fileio.c: Include time.h.
3065 * gdb.base/async-shell.c: Include unistd.h.
3066 * gdb.base/dprintf-non-stop.c: Likewise.
3067 * gdb.base/info-os.c: Likewise.
3068 * gdb.mi/mi-console.c: Likewise.
3069 * gdb.mi/watch-nonstop.c: Likewise.
3070 * gdb.python/py-events.c: Likewise.
3071 * gdb.base/async.c (baz): Move up before its invocation.
3072 * gdb.base/code_elim2.c (my_global_func): Likewise.
3073 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3074 * gdb.base/advance.c (func2): Likewise.
3075
3b5d5997
AA
30762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3077
3078 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3079 variant.
3080 * gdb.base/annota3.c: Likewise.
3081 * gdb.base/async.c: Likewise.
3082 * gdb.base/average.c: Likewise.
3083 * gdb.base/call-ar-st.c: Likewise.
3084 * gdb.base/call-rt-st.c: Likewise.
3085 * gdb.base/call-sc.c: Likewise.
3086 * gdb.base/call-strs.c: Likewise.
3087 * gdb.base/ending-run.c: Likewise.
3088 * gdb.base/execd-prog.c: Likewise.
3089 * gdb.base/exprs.c: Likewise.
3090 * gdb.base/foll-exec.c: Likewise.
3091 * gdb.base/foll-fork.c: Likewise.
3092 * gdb.base/foll-vfork.c: Likewise.
3093 * gdb.base/funcargs.c: Likewise.
3094 * gdb.base/gcore.c: Likewise.
3095 * gdb.base/jump.c: Likewise.
3096 * gdb.base/langs0.c: Likewise.
3097 * gdb.base/langs1.c: Likewise.
3098 * gdb.base/langs2.c: Likewise.
3099 * gdb.base/mips_pro.c: Likewise.
3100 * gdb.base/nodebug.c: Likewise.
3101 * gdb.base/opaque0.c: Likewise.
3102 * gdb.base/opaque1.c: Likewise.
3103 * gdb.base/recurse.c: Likewise.
3104 * gdb.base/run.c: Likewise.
3105 * gdb.base/scope0.c: Likewise.
3106 * gdb.base/scope1.c: Likewise.
3107 * gdb.base/setshow.c: Likewise.
3108 * gdb.base/setvar.c: Likewise.
3109 * gdb.base/shmain.c: Likewise.
3110 * gdb.base/shr1.c: Likewise.
3111 * gdb.base/shr2.c: Likewise.
3112 * gdb.base/sigall.c: Likewise.
3113 * gdb.base/signals.c: Likewise.
3114 * gdb.base/so-indr-cl.c: Likewise.
3115 * gdb.base/solib2.c: Likewise.
3116 * gdb.base/structs.c: Likewise.
3117 * gdb.base/sum.c: Likewise.
3118 * gdb.base/vforked-prog.c: Likewise.
3119 * gdb.base/watchpoint.c: Likewise.
3120 * gdb.reverse/shr2.c: Likewise.
3121 * gdb.reverse/until-reverse.c: Likewise.
3122 * gdb.reverse/ur1.c: Likewise.
3123 * gdb.reverse/watch-reverse.c: Likewise.
3124
066a77c5
AA
31252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3126
3127 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3128 variant.
3129 * gdb.base/sepdebug.exp: Drop references to removed code.
3130
4f204ea5
AA
31312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3132
3133 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3134 variant. Preserve original line numbering.
3135 * gdb.base/list1.c: Likewise.
3136
3b377a3a
AA
31372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3138
3139 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3140 variant.
3141 * gdb.base/break1.c: Likewise.
3142 * gdb.base/break.exp: Drop references to removed code.
3143
e444df73
AA
31442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3145
3146 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3147 variant.
3148
8008f2a7
AA
31492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3150
3151 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3152
a5a06887
AA
31532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3154
3155 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3156 logic into perform_all_tests() and invoke it with and without
3157 function header prototypes.
3158 (do_function_calls): Remove conditional XFAIL for PR 5318.
3159 (rerun_and_prepare): Remove duplicate code.
3160 (perform_all_tests): New. Main logic moved here.
3161
44dba9b9
AA
31622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3163
3164 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3165 code guarded by #ifdef NO_PROTOTYPES.
3166 (t_double_many_args): Likewise.
3167 (DEF_FUNC_MANY_ARGS_1): Likewise.
3168 (DEF_FUNC_VALUES_1): Likewise.
3169 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3170 guarded by #ifdef PROTOTYPES.
3171
d1fbcd56
AA
31722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3173
3174 * gdb.mi/mi-console.c: Add eye-catcher.
3175 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3176 instead of literal line number.
3177
b0e59b8f
AA
31782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3179
3180 * gdb.base/shr2.c: Add eye-catcher.
3181 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3182 line number.
3183
78f98cca
AA
31842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3185
3186 * gdb.base/jump.c: Add eye-catchers.
3187 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3188 numbers.
3189
58fa2af0
AA
31902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3191
3192 * gdb.base/execd-prog.c: Add eye-catchers.
3193 * gdb.base/foll-exec.c: Likewise.
3194 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3195 line numbers.
3196
04e5059b
AA
31972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3198
3199 * gdb.base/ending-run.c: Add eye-catchers.
3200 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3201 literal line numbers.
3202
dbfdb174
AA
32032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3204
3205 * gdb.base/call-rt-st.c: Add eye-catchers.
3206 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3207 literal line numbers.
3208
888a2ade
AA
32092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3210
3211 * gdb.base/call-ar-st.c: Add eye-catchers.
3212 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3213 literal line numbers.
3214
6acc2dde
AA
32152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3216
3217 * gdb.base/average.c: Add eye-catchers.
3218 * gdb.base/sum.c: Likewise.
3219 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3220 regexps dynamically.
3221
9ecfcd1d
AA
32222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3223
3224 * gdb.base/solib1.c: Add eye-catchers.
3225 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3226 literal line numbers.
3227
78708b7c
PA
32282014-11-12 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3231 leader has exited.
3232
af48d08f
PA
32332014-11-12 Pedro Alves <palves@redhat.com>
3234
3235 * gdb.arch/i386-bp_permanent.c: New file.
3236 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3237 (srcfile): Set to i386-bp_permanent.c.
3238 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3239 that stepi does not execute the 'leave' instruction, instead of
3240 testing it does execute.
3241 * gdb.base/bp-permanent.c: New file.
3242 * gdb.base/bp-permanent.exp: New file.
3243
af3768e9
DE
32442014-11-10 Doug Evans <xdje42@gmail.com>
3245
3246 PR symtab/17564
3247 * gdb.base/symtab-search-order.exp: New file.
3248 * gdb.base/symtab-search-order.c: New file.
3249 * gdb.base/symtab-search-order-1.c: New file.
3250 * gdb.base/symtab-search-order-shlib-1.c: New file.
3251
9de00a4a
PA
32522014-11-07 Pedro Alves <palves@redhat.com>
3253
3254 PR gdb/17511
3255 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3256 i?86-*-linux*.
3257
e0f52461
SC
32582014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3259
3260 PR c++/17494
3261 * gdb.cp/pr17494.cc: New file.
3262 * gdb.cp/pr17494.exp: New file.
3263
6ce8c980
YQ
32642014-11-02 Yao Qi <yao@codesourcery.com>
3265
3266 * gdb.python/python.exp: Get working directory and match the
3267 output of "set extended-prompt \\w " with it.
3268
02be9a71
DE
32692014-10-30 Doug Evans <dje@google.com>
3270
3271 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3272 in objfiles.
3273 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3274 in progspaces.
3275
3bdff46b
LM
32762014-10-30 Janis Johnson <janisjo@codesourcery.com>
3277
3278 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3279 * gdb.base/realname-expand.exp: Likewise.
3280 * gdb.linespec/macro-relative.exp: Likewise.
3281
ab917dfb
PA
32822014-10-29 Pedro Alves <palves@redhat.com>
3283
3284 PR gdb/17408
3285 * gdb.threads/schedlock.c (some_function): New function.
3286 (call_function): New global.
3287 (MAYBE_CALL_SOME_FUNCTION): New macro.
3288 (thread_function): Call it.
3289 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3290 and use it instead of a global counter. Adjust all callers.
3291 (get_current_thread): Use "find current thread" for test message
3292 here rather than having all callers pass down the same string.
3293 (goto_loop): New procedure, factored out from ...
3294 (my_continue): ... this.
3295 (step_ten_loops): Change parameter from test message to command to
3296 use. Adjust.
3297 (list_count): Delete global.
3298 (check_result): New procedure, factored out from duplicate top
3299 level code.
3300 (continue tests): Wrap in with_test_prefix.
3301 (test_step): New procedure, factored out from duplicate top level
3302 code.
3303 (top level): Test "step" in combination with all scheduler-locking
3304 modes. Test "next" in combination with all scheduler-locking
3305 modes, and in combination with stepping over a function call or
3306 not.
3307 * gdb.threads/next-bp-other-thread.c: New file.
3308 * gdb.threads/next-bp-other-thread.exp: New file.
3309
d3d4baed
PA
33102014-10-29 Pedro Alves <palves@redhat.com>
3311
3312 PR python/17372
3313 * gdb.python/python.exp: Test a multi-line command that spawns
3314 interactive Python.
3315 * gdb.base/multi-line-starts-subshell.exp: New file.
3316
563e8d85
YQ
33172014-10-29 Yao Qi <yao@codesourcery.com>
3318
3319 * gdb.base/fileio.exp: Make directories on host.
3320
0ea4d52e
YQ
33212014-10-29 Yao Qi <yao@codesourcery.com>
3322
3323 * gdb.base/fileio.c (test_write): Close the file.
3324
7f5ef605
PA
33252014-10-28 Pedro Alves <palves@redhat.com>
3326
3327 PR gdb/12623
3328 * gdb.base/sigstep.c (no_handler): New global.
3329 (main): If 'no_handler is true, set the signal handlers to
3330 SIG_IGN.
3331 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3332 with_sw_watch and no_handler parameters. Handle them.
3333 (top level) <stepping over handler when stopped at a breakpoint
3334 test>: Add a test axis for testing with a software watchpoint, and
3335 another for testing with the signal handler set to SIG_IGN.
3336 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3337 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3338
abbdbd03
PA
33392014-10-28 Pedro Alves <palves@redhat.com>
3340
3341 PR gdb/17511
3342 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3343 * gdb.base/sigstep.exp (other_handler_location): New global.
3344 (advance): Support stepping into the signal handler, and running
3345 commands while in the handler.
3346 (in_handler_map): New global.
3347 (top level): In the advance test, add combinations for getting
3348 into the handler with stepping commands, and for running commands
3349 in the handler. Add comment descripting the advancei tests.
3350
1df4399f
PA
33512014-10-28 Pedro Alves <palves@redhat.com>
3352
3353 * gdb.base/sigstep.exp: Use build_executable instead of
3354 prepare_for_testing.
3355 (top level): Move code that starts GDB, runs to main and creates a
3356 display to ...
3357 (restart): ... this new procedure.
3358 (top level): Move backtrace from signal handler test to ...
3359 (validate_backtrace): ... this new procedure.
3360 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3361 with_test_prefix. Always restart GDB.
3362 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3363 with_test_prefix. Always restart GDB. No need to delete
3364 breakpoints after the test.
3365 (test_skip_handler): Remove prefix parameter.
3366 (skip_over_handler, breakpoint_to_handler)
3367 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3368 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3369 restart GDB. No need to delete breakpoints after the test.
3370 (top level): Use foreach to call the test procedures with
3371 different commands.
3372
a5b6e449
PA
33732014-10-28 Pedro Alves <palves@redhat.com>
3374
3375 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3376 instead of GNATS numbers.
3377 * gdb.base/sigbpt.exp: Likewise.
3378 * gdb.base/siginfo.exp: Likewise.
3379 * gdb.base/sigstep.exp: Likewise.
3380
e5f8a7cc
PA
33812014-10-27 Pedro Alves <palves@redhat.com>
3382
3383 * gdb.base/sigstep.c (dummy): New global.
3384 (main): Issue a couple writes to the new global.
3385 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3386 procedures.
3387 (skip_over_handler): Use test_skip_handler.
3388 (top level): Call skip_over_handler for stepi and nexti too.
3389 (breakpoint_over_handler): Use test_skip_handler.
3390 (top level): Call breakpoint_over_handler for stepi and nexti too.
3391
763905a3
YQ
33922014-10-27 Yao Qi <yao@codesourcery.com>
3393
3394 * gdb.trace/tfile.c (adjust_function_address)
3395 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3396 function descriptor.
3397
6f259a23
DB
33982014-10-24 Don Breazeal <donb@codesourcery.com>
3399
3400 * gdb.base/foll-fork.exp (test_follow_fork,
3401 catch_fork_child_follow): Check for updated fork messages emitted
3402 from infrun.c.
3403 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3404 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3405 vfork_and_exec_child_follow_through_step): Check for updated vfork
3406 messages emitted from infrun.c.
3407
09dd9a69
PA
34082014-10-24 Pedro Alves <palves@redhat.com>
3409
3410 * gdb.base/corefile.exp: Remove references to ultrix.
3411 * gdb.base/interrupt.exp: Likewise.
3412 * gdb.base/whatis.exp: Likewise.
3413 * gdb.gdb/selftest.exp: Likewise.
3414 * gdb.threads/manythreads.exp: Likewise.
3415 * gdb.threads/print-threads.exp: Likewise.
3416 * gdb.threads/pthreads.exp:: Likewise.
3417 * gdb.threads/schedlock.exp: Likewise.
3418
3433cfa5
SC
34192014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3420
3421 * gdb.cp/non-trivial-retval.cc: Add a test case.
3422 * gdb.cp/non-trivial-retval.exp: Add a test.
3423
092f880b
YQ
34242014-10-20 Yao Qi <yao@codesourcery.com>
3425
3426 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3427 * gdb.python/py-objfile-script-gdb.py: New file.
3428 * gdb.python/py-objfile-script.exp: Update reference to
3429 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3430 of remote_download. Remove the dest file.
3431
acbdb7f3
YQ
34322014-10-20 Yao Qi <yao@codesourcery.com>
3433
3434 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3435 * gdb.base/step-line.exp: Likewise.
3436 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3437 * gdb.dwarf2/dw2-basic.exp: Likewise.
3438 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3439 * gdb.dwarf2/dw2-filename.exp: Likewise.
3440 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3441 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3442 * gdb.dwarf2/dw2-producer.exp: Likewise.
3443 * gdb.dwarf2/mac-fileno.exp: Likewise.
3444 * gdb.python/py-frame-args.exp: Likewise.
3445 * gdb.python/py-framefilter.exp: Likewise.
3446 * gdb.python/py-mi.exp: Likewise.
3447 * gdb.python/py-objfile-script.exp: Likewise
3448 * gdb.python/py-pp-integral.exp: Likewise.
3449 * gdb.python/py-pp-re-notag.exp: Likewise.
3450 * gdb.python/py-prettyprint.exp: Likewise.
3451 * gdb.python/py-section-script.exp: Likewise.
3452 * gdb.python/py-typeprint.exp: Likewise.
3453 * gdb.python/py-xmethods.exp: Likewise.
3454 * gdb.stabs/weird.exp: Likewise.
3455 * gdb.xml/tdesc-regs.exp: Likewise.
3456
bd286a29
KCY
34572014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3458
3459 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3460 (out_cu): Use addr_len for the size of addresses.
3461 (out_line): Likewise. Size DW_LNE_set_address instruction
3462 according to addr_len.
3463 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3464 (FUNC): Add START_INSNS to definition.
3465
673dc4a0
YQ
34662014-10-18 Yao Qi <yao@codesourcery.com>
3467
3468 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3469 gdb_has_argv0 return true.
3470 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3471 check [target_info exists noargs], check [gdb_has_argv0]
3472 instead.
3473 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3474 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3475 procedures.
3476
4ffbba72
DE
34772014-10-17 Doug Evans <dje@google.com>
3478
3479 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3480 event.
3481 * gdb.python/py-events.py: Add clear_objfiles event.
3482
d096d8c1
DE
34832014-10-17 Doug Evans <dje@google.com>
3484
3485 * gdb.python/py-objfile.exp: Test progspace attribute.
3486
a80db015
LM
34872014-10-17 Luis Machado <lgustavo@codesourcery.com>
3488
3489 * gdb.guile/scm-breakpoint.exp: Do not assume any
3490 directory separators when matching source file paths.
3491 * gdb.python/py-breakpoint.exp: Likewise.
3492 * gdb.reverse/break-precsave.exp: Likewise.
3493 * gdb.reverse/break-reverse.exp: Likewise.
3494 * gdb.reverse/consecutive-precsave.exp: Likewise.
3495 * gdb.reverse/finish-precsave.exp: Likewise.
3496 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3497 * gdb.reverse/finish-reverse.exp: Likewise.
3498 * gdb.reverse/i386-precsave.exp: Likewise.
3499 * gdb.reverse/i387-env-reverse.exp: Likewise.
3500 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3501 * gdb.reverse/machinestate-precsave.exp: Likewise.
3502 * gdb.reverse/machinestate.exp: Likewise.
3503 * gdb.reverse/sigall-precsave.exp: Likewise.
3504 * gdb.reverse/solib-precsave.exp: Likewise.
3505 * gdb.reverse/step-precsave.exp: Likewise.
3506 * gdb.reverse/until-precsave.exp: Likewise.
3507 * gdb.reverse/watch-precsave.exp: Likewise.
3508 * gdb.reverse/watch-reverse.exp: Likewise.
3509
b22089ab
YQ
35102014-10-17 Yao Qi <yao@codesourcery.com>
3511
3512 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3513 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3514
6c4486e6
PA
35152014-10-17 Pedro Alves <palves@redhat.com>
3516
3517 PR gdb/17471
3518 * gdb.base/bg-execution-repeat.c: New file.
3519 * gdb.base/bg-execution-repeat.exp: New file.
3520
0ff33695
PA
35212014-10-17 Pedro Alves <palves@redhat.com>
3522
3523 PR gdb/17300
3524 * gdb.base/continue-all-already-running.c: New file.
3525 * gdb.base/continue-all-already-running.exp: New file.
3526
6fdebc3d
PA
35272014-10-17 Pedro Alves <palves@redhat.com>
3528
3529 PR gdb/17472
3530 * gdb.base/annota-input-while-running.c: New file.
3531 * gdb.base/annota-input-while-running.exp: New file.
3532
32a8097b
PA
35332014-10-17 Pedro Alves <palves@redhat.com>
3534
3535 * gdb.base/callfuncs.exp: emove references to osf.
3536 * gdb.base/sigall.exp: Likewise.
3537 * gdb.gdb/selftest.exp: Likewise.
3538 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3539 * gdb.mi/non-stop.c: Likewise.
3540 * gdb.mi/pthreads.c: Likewise.
3541 * gdb.reverse/sigall-precsave.exp: Likewise.
3542 * gdb.reverse/sigall-reverse.exp: Likewise.
3543 * gdb.threads/pthreads.c: Likewise.
3544 * gdb.threads/pthreads.exp: Likewise.
3545
7a3517ff
YQ
35462014-10-17 Yao Qi <yao@codesourcery.com>
3547
3548 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3549 check 'target_info exists noargs'.
3550 (test_command_prompt_position): Likewise.
3551 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3552 Remove "set args".
3553 (progvar_simple_while_test): Likewise.
3554 (progvar_complex_if_while_test): Likewise.
3555 (if_while_breakpoint_command_test): Likewise.
3556 (infrun_breakpoint_command_test): Likewise.
3557 (breakpoint_command_test): Likewise.
3558 (watchpoint_command_test): Likewise.
3559 (bp_deleted_in_command_test): Likewise.
3560 (temporary_breakpoint_commands): Likewise.
3561
bb99c472
YQ
35622014-10-16 Yao Qi <yao@codesourcery.com>
3563
3564 * gdb.base/remotetimeout.exp: Remove noargs checking.
3565
7c16b83e
PA
35662014-10-15 Pedro Alves <palves@redhat.com>
3567
3568 PR breakpoints/9649
3569 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3570 * gdb.base/breakpoint-in-ro-region.exp
3571 (probe_target_hardware_step): New procedure.
3572 (top level): Probe hardware stepping and hardware breakpoint
3573 support. Test stepping through a read-only region, with both
3574 "breakpoint auto-hw" on and off and both "always-inserted" on and
3575 off.
3576
35a49624
IB
35772014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3578
3579 * gdb.dlang/demangle.exp: Update for demangling changes.
3580
2d1c107c
SC
35812014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3582
3583 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3584 * gdb.cp/non-trivial-retval.exp: Add new tests.
3585
778811d5
SC
35862014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3587
3588 PR c++/13403
3589 PR c++/15154
3590 * gdb.cp/non-trivial-retval.cc: New file.
3591 * gdb.cp/non-trivial-retval.exp: New file.
3592
10c5f0a8
YQ
35932014-10-15 Yao Qi <yao@codesourcery.com>
3594
3595 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3596 remote host.
3597
65d7b369
YQ
35982014-10-15 Yao Qi <yao@codesourcery.com>
3599
3600 * gdb.python/py-symbol.exp: Match file base name if host is
3601 remote, otherwise match file name with dir name.
3602 * gdb.python/py-symtab.exp: Likewise.
3603 * gdb.python/python.exp: Likewise.
3604
46dc1394
YQ
36052014-10-15 Yao Qi <yao@codesourcery.com>
3606
3607 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3608 pattern.
3609 * gdb.python/py-symtab.exp: Likewise.
3610 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3611 locationn.
3612
c40cc657
JB
36132014-10-14 Joel Brobecker <brobecker@adacore.com>
3614
3615 * gdb.ada/addr_arith: New testcase.
3616
2abf49e1
MR
36172014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3618
3619 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3620 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3621 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3622 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3623
f7088df3
SDJ
36242014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3625
3626 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3627 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3628 * gdb.arch/stap-eval-lang-ada.exp: New file.
3629
4dc06805
YQ
36302014-10-14 Yao Qi <yao@codesourcery.com>
3631
3632 * gdb.mi/mi-var-child.c (nothing1): New function.
3633 (nothing2): New function.
3634 (do_children_tests): Set function pointers by nothing1 and
3635 nothing2.
3636 * gdb.mi/mi-var-child.exp: Step over new added statements.
3637 Update test to match the new output.
3638 * gdb.mi/var-cmd.c (nothing1): New function.
3639 (nothing2): New function.
3640 (do_children_tests): Set function pointers by nothing1 and
3641 nothing2.
3642 * gdb.mi/mi-var-display.exp: Update test to match output.
3643 Step to the line specified by $line_dct_nothing.
3644 Increase the number of lines to step.
3645
46a93de2
YQ
36462014-10-14 Yao Qi <yao@codesourcery.com>
3647
3648 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3649 tests.
3650 * gdb.mi/mi2-var-child.exp: Likewise.
3651
14ea52ee
DE
36522014-10-13 Doug Evans <dje@google.com>
3653
3654 * gdb.python/py-objfile.exp: Change name of file name test.
3655
e5c6e92b
DE
36562014-10-13 Doug Evans <dje@google.com>
3657
3658 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3659 from the start of the CU.
3660
c780cc2f
JK
36612014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3662 Yao Qi <yao@codesourcery.com>
3663
3664 Fix "save breakpoints" for "catch" command.
3665 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3666 Remove -nonewline. Match also the added "main" line.
3667
99894e11
JK
36682014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3669
3670 Fix "save breakpoints" for "disable $bpnum" command.
3671 * gdb.base/save-bp.c (main): Add label.
3672 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3673
6e1ac5a3
JK
36742014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3675
3676 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3677
754dd2b0
YQ
36782014-10-11 Yao Qi <yao@codesourcery.com>
3679
3680 * gdb.server/server-kill.exp: Execute command
3681 "set remote trace-status-packet on" before "tstatus".
3682
f90183d7
YQ
36832014-10-11 Yao Qi <yao@codesourcery.com>
3684
3685 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3686 (main): Call getppid.
3687 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3688 and continue to it. Read variable "server_pid".
3689
bf40a607
YQ
36902014-10-11 Yao Qi <yao@codesourcery.com>
3691
3692 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3693
052ca370
YQ
36942014-10-11 Yao Qi <yao@codesourcery.com>
3695
3696 * gdb.threads/thread-find.exp: Don't execute command
3697 "info threads".
3698 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3699 * gdb.threads/linux-dp.exp: Don't check the condition
3700 $threads_created equals to zero.
3701
3831839c
PA
37022014-10-10 Pedro Alves <palves@redhat.com>
3703
3704 * gdb.base/bigcore.exp: Remove references to IRIX.
3705 * gdb.base/funcargs.exp: Likewise.
3706 * gdb.base/interrupt.exp: Likewise.
3707 * gdb.base/mips_pro.exp: Likewise.
3708 * gdb.base/nodebug.exp: Likewise.
3709 * gdb.base/setvar.exp: Likewise.
3710 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3711
8b9a549d
PA
37122014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3713 Pedro Alves <palves@redhat.com>
3714
3715 PR symtab/14466
3716 * gdb.base/vdso-warning.c: New file.
3717 * gdb.base/vdso-warning.exp: New file.
3718
d48ba5e8
DE
37192014-10-02 Doug Evans <dje@google.com>
3720
3721 * gdb.base/structs.c (main): Don't run forever.
3722
2278c276
PA
37232014-10-02 Pedro Alves <palves@redhat.com>
3724
3725 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3726 (top level) <stop threads 1, stop threads 2>: Use it.
3727
b57bacec
PA
37282014-10-02 Pedro Alves <palves@redhat.com>
3729
3730 * gdb.threads/break-while-running.exp (test): Add new
3731 'update_thread_list' argument. Skip "info threads" if false.
3732 (top level): Add new 'update_thread_list' axis.
3733
13fd3ff3
PA
37342014-10-02 Pedro Alves <palves@redhat.com>
3735
3736 PR breakpoints/17431
3737 * gdb.base/execl-update-breakpoints.c: New file.
3738 * gdb.base/execl-update-breakpoints.exp: New file.
3739
0fec99e8
PA
37402014-10-01 Pedro Alves <palves@redhat.com>
3741
3742 * gdb.base/breakpoint-in-ro-region.c: New file.
3743 * gdb.base/breakpoint-in-ro-region.exp: New file.
3744
2ddf4301
SM
37452014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3746
3747 * gdb.mi/mi-exit-code.exp: New file.
3748 * gdb.mi/mi-exit-code.c: New file.
3749
6a5f3f43
YQ
37502014-09-30 Yao Qi <yao@codesourcery.com>
3751
3752 * lib/prelink-support.exp (build_executable_own_libs): Error if
3753 the target isn't native.
3754
345bcc73
YQ
37552014-09-30 Yao Qi <yao@codesourcery.com>
3756
3757 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3758 false.
3759
a25a5a45
PA
37602014-09-22 Pedro Alves <palves@redhat.com>
3761
3762 * gdb.threads/break-while-running.exp: New file.
3763 * gdb.threads/break-while-running.c: New file.
3764
00ba3162
YQ
37652014-09-19 Yao Qi <yao@codesourcery.com>
3766
3767 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3768 Invoke test. Restart GDB with --readnow and invoke test again.
3769
c3b7b696
YQ
37702014-09-19 Yao Qi <yao@codesourcery.com>
3771
3772 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3773 proc set_breakpoint_on_gcd_function. Invoke
3774 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3775 invoke set_breakpoint_on_gcd_function again.
3776
2b4fd423
DE
37772014-09-18 Doug Evans <dje@google.com>
3778
3779 * gdb.dwarf2/symtab-producer.exp: New file.
3780
a5947601
SDJ
37812014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3782
3783 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3784 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3785 * gdb.base/global-var-nested-by-dso.c: Likewise.
3786 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3787
91c19059
SDJ
37882014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3789 Pedro Alves <palves@redhat.com>
3790
3791 * gdb.base/watch-bitfields.exp: Pass string other than test file
3792 name to prepare_for_testing.
3793 (watch): New procedure.
3794 (expect_watchpoint): Use with_test_prefix.
3795 (top level): Factor out tests to ...
3796 (test_watch_location, test_regular_watch): ... these new
3797 procedures, and use with_test_prefix and gdb_continue_to_end.
3798
bb9d5f81
PP
37992014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3800
3801 PR breakpoints/12526
3802 * gdb.base/watch-bitfields.exp: New file.
3803 * gdb.base/watch-bitfields.c: New file.
3804
635856f5
PA
38052014-09-16 Pedro Alves <palves@redhat.com>
3806
3807 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3808 software and hardware addresses, not software address against
3809 itself.
3810
7280ceea
PA
38112014-09-16 Pedro Alves <palves@redhat.com>
3812
3813 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3814 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3815
428b16bd
PA
38162014-09-16 Pedro Alves <palves@redhat.com>
3817
3818 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3819 files.
3820 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3821 "*-*-vxworks*" throughout.
3822 * gdb.base/break.exp: Likewise.
3823 * gdb.base/default.exp: Likewise.
3824 * gdb.base/scope.exp: Likewise.
3825 * gdb.base/sepdebug.exp: Likewise.
3826 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3827 throughout.
3828 * gdb.base/run.c: Likewise.
3829 * gdb.base/sepdebug.c: Likewise.
3830 * gdb.hp/gdb.aCC/run.c: Likewise.
3831 * gdb.reverse/until-reverse.c: Likewise.
3832 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3833
666d413c
YQ
38342014-09-16 Yao Qi <yao@codesourcery.com>
3835
3836 * boards/local-remote-host-native.exp: New file.
3837
57cbd724
DE
38382014-09-14 Doug Evans <xdje42@gmail.com>
3839
3840 * gdb.threads/queue-signal.c (thread_count): New variable.
3841 (thread_count_mutex, thread_count_condvar): New variables.
3842 (incr_thread_count, wait_all_threads_running): New functions.
3843 (main): Wait for all threads to be in their thread functions.
3844
81219e53
DE
38452014-09-13 Doug Evans <xdje42@gmail.com>
3846
3847 * gdb.threads/queue-signal.c: New file.
3848 * gdb.threads/queue-signal.exp: New file.
3849
3714cea7
DE
38502014-09-13 Doug Evans <xdje42@gmail.com>
3851
3852 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3853 be consistent with what default_gdb_init uses.
3854 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3855 the plain text of the prompt. Add some logging printfs.
3856 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3857
fa43b1d7
PA
38582014-09-12 Pedro Alves <palves@redhat.com>
3859
3860 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3861 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3862 * gdb.arch/i386-size-overlap.exp: Likewise.
3863 * gdb.arch/i386-size.exp: Likewise.
3864 * gdb.arch/i386-unwind.exp: Likewise.
3865 * gdb.base/a2-run.exp: Likewise.
3866 * gdb.base/break.exp: Likewise.
3867 * gdb.base/charset.exp: Likewise.
3868 * gdb.base/chng-syms.exp: Likewise.
3869 * gdb.base/commands.exp: Likewise.
3870 * gdb.base/dbx.exp: Likewise.
3871 * gdb.base/find.exp: Likewise.
3872 * gdb.base/funcargs.exp: Likewise.
3873 * gdb.base/jit-simple.exp: Likewise.
3874 * gdb.base/reread.exp: Likewise.
3875 * gdb.base/sepdebug.exp: Likewise.
3876 * gdb.base/step-bt.exp: Likewise.
3877 * gdb.cp/mb-inline.exp: Likewise.
3878 * gdb.cp/mb-templates.exp: Likewise.
3879 * gdb.objc/basicclass.exp: Likewise.
3880 * gdb.threads/killed.exp: Likewise.
3881
9d9bf2df
EBM
38822014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3883
3884 PR tdep/17379
3885 * gdb.arch/powerpc-stackless.S: New file.
3886 * gdb.arch/powerpc-stackless.exp: New file.
3887
1cf2f1b0
JK
38882014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3889
3890 * gdb.base/attach.c: Include unistd.h.
3891 (main): Call alarm. Add label postloop.
3892 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3893 gdb_breakpoint, gdb_continue_to_breakpoint.
3894 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3895
98880d46
PA
38962014-09-11 Pedro Alves <palves@redhat.com>
3897
3898 PR gdb/17347
3899 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3900 * gdb.base/attach.exp (test_command_line_attach_run): New
3901 procedure.
3902 (top level): Call it.
3903
4c92ff2c
PA
39042014-09-11 Pedro Alves <palves@redhat.com>
3905
3906 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3907 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3908 (do_command_attach_tests): Use spawn_wait_for_attach.
3909 * gdb.base/solib-overlap.exp: Likewise.
3910 * gdb.multi/multi-attach.exp: Likewise.
3911 * gdb.python/py-prompt.exp: Likewise.
3912 * gdb.python/py-sync-interp.exp: Likewise.
3913 * gdb.server/ext-attach.exp: Likewise.
3914
3adc1a7d
GKB
39152014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3916
3917 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3918 command in testcase. Simplify testcase.
3919
96334934
JB
39202014-09-10 Joel Brobecker <brobecker@adacore.com>
3921
3922 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3923
eb479039
JB
39242014-09-10 Joel Brobecker <brobecker@adacore.com>
3925
3926 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3927
deede10c
JB
39282014-09-10 Joel Brobecker <brobecker@adacore.com>
3929
3930 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3931
7828a5f5
JB
39322014-09-10 Joel Brobecker <brobecker@adacore.com>
3933
3934 * gdb.dwarf2/dynarr-ptr.c: New file.
3935 * gdb.dwarf2/dynarr-ptr.exp: New file.
3936
33aeebcf
MR
39372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3938
3939 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3940 of 30 rather than hardcoding 120 for a slow test case. Take the
3941 `gdb,timeout' target setting into account for this calculation.
3942 Don't extend the timeout for the test cases that don't need it.
3943
7b415901
MR
39442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3945
3946 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3947 a factor of 2 for a slow test case. Take the `gdb,timeout'
3948 target setting into account for this calculation.
3949 * gdb.reverse/until-precsave.exp: Increase the timeout by
3950 a factor of 15 and 3 respectively rather than adding 120
3951 for a pair of slow test cases. Take the `gdb,timeout'
3952 target setting into account for this calculation.
3953
4a40f85a
MR
39542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3955
3956 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3957 timeout, don't pass one down to gdb_expect.
3958 (gdb_expect): Rework timeout selection.
3959
09635af7
MR
39602014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3961
3962 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3963 exception on timeout.
3964 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3965 (gdbserver_start_extended): Catch any `gdbserver_start' error
3966 exceptions.
3967 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3968 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3969 `gdbserver_gdb_load' error exceptions.
3970
2bdd10b7
MR
39712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3972
3973 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3974 120 on waiting for the TCP socket to open.
3975
316935f0
DE
39762014-09-09 Doug Evans <xdje42@gmail.com>
3977
3978 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3979 _caller_matches, _any_caller_is, _any_caller_matches.
3980
83740597
DE
39812014-09-09 Doug Evans <xdje42@gmail.com>
3982
3983 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3984
4c122fc3
YQ
39852014-09-09 Yao Qi <yao@codesourcery.com>
3986
3987 * gdb.mi/mi-var-display.exp: Set print symbol off.
3988
a9f116cb
GKB
39892014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3990
3991 PR gdb/17035
3992 * gdb.base/commands.exp: Add tests to verify user-defined
3993 commands with empty bodies.
3994 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3995 python commands in `show user command`.
3996 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3997 scheme commands in `show user command`.
3998
c75bd3a2
JK
39992014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4000
4001 PR python/17355
4002 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4003 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4004 * gdb.python/py-framefilter-invalidarg.exp: New file.
4005 * gdb.python/py-framefilter-invalidarg.py: New file.
4006
faa42425
DE
40072014-09-06 Doug Evans <xdje42@gmail.com>
4008
4009 PR 15276
4010 * gdb.python/py-caller-is.c: New file.
4011 * gdb.python/py-caller-is.exp: New file.
4012
474ca4f6
SDJ
40132014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4014
4015 PR gdb/17235
4016 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4017 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4018
eb0b0463
SDJ
40192014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4020
4021 PR fortran/17237
4022 * gdb.fortran/print-formatted.exp: New file.
4023 * gdb.fortran/print-formatted.f90: Likewise.
4024
5f3b99cf
SS
40252014-09-03 Sasha Smundak <asmundak@google.com>
4026
4027 * gdb.python/py-frame.exp: Test Frame.read_register.
4028
7d793aa9
SDJ
40292014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4030
4031 PR python/16699
4032 * gdb.python/py-completion.exp: New file.
4033 * gdb.python/py-completion.py: Likewise.
4034
fb0576e9
DE
40352014-08-28 Doug Evans <dje@google.com>
4036
4037 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4038 eax,etc. are live with values set by gdb and thus the compiler can't
4039 use them.
4040 * gdb.arch/i386-pseudo.c (main): Ditto.
4041
ee92b0dd
DE
40422014-08-27 Doug Evans <dje@google.com>
4043
4044 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4045
6649db35
DE
40462014-08-25 Doug Evans <dje@google.com>
4047
4048 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4049 (main): Ditto.
4050
564b7600
DE
40512014-08-25 Doug Evans <dje@google.com>
4052
4053 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4054
3881fb67
YQ
40552014-08-24 Yao Qi <yao@codesourcery.com>
4056
4057 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4058 symbol off.
4059 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4060
a05a36a5
DE
40612014-08-22 Doug Evans <dje@google.com>
4062
4063 PR 17276
4064 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4065 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4066 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4067
7c343b48
YQ
40682014-08-22 Yao Qi <yao@codesourcery.com>
4069
4070 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4071 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4072 * gdb.python/python.exp: Likewise. Use .py file on the host
4073 instead of the build.
4074
22fd09ae
JK
40752014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4076
4077 * gdb.threads/gcore-stale-thread.c: New file.
4078 * gdb.threads/gcore-stale-thread.exp: New file.
4079
a8454a7c
PA
40802014-08-21 Pedro Alves <palves@redhat.com>
4081
4082 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4083 * gdb.base/gcore-relro-pie.exp: Likewise.
4084 * gdb.base/gcore-relro.exp: Likewise.
4085 * gdb.base/gcore.exp: Likewise.
4086 * gdb.base/print-symbol-loading.exp: Likewise.
4087 * gdb.threads/gcore-thread.exp: Likewise.
4088 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4089
2a31c623
PA
40902014-08-20 Pedro Alves <palves@redhat.com>
4091 Jan Kratochvil <jan.kratochvil@redhat.com>
4092
4093 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4094 configure.
4095 (EXPECT): Handle READ1 being set.
4096 (all): Depend on EXTRA_RULES.
4097 (check-read1, expect-read1, read1.so, read1): New rules.
4098 * README (Testsuite Parameters): Document the READ1 make variable.
4099 (Race detection): New section.
4100 * configure: Regenerate.
4101 * configure.ac: If build==host==target, and running under a
4102 GNU/glibc system, add read1 to the extra Makefile rules.
4103 (EXTRA_RULES): AC_SUBST it.
4104 * lib/read1.c: New file.
4105
d36430db
JB
41062014-08-20 Joel Brobecker <brobecker@adacore.com>
4107
4108 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4109 the handling of variables declared as a typedef to an array
4110 which a DW_AT_data_location attribute.
4111
9a0dc9e3
PA
41122014-08-19 Andrew Burgess <aburgess@broadcom.com>
4113 Pedro Alves <palves@redhat.com>
4114
4115 PR symtab/14604
4116 PR symtab/14605
4117 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4118 gdb_test.
4119
0718a8da
PA
41202014-08-19 Pedro Alves <palves@redhat.com>
4121
4122 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4123
13b448cd
YQ
41242014-08-19 Yao Qi <yao@codesourcery.com>
4125
4126 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4127 right line.
4128
1cbf5077
DB
41292014-08-18 David Blaikie <dblaikie@gmail.com>
4130
4131 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4132
bf0fae19
JB
41332014-08-18 Joel Brobecker <brobecker@adacore.com>
4134
4135 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4136 attribute in array range.
4137
3c8c5dcc
JB
41382014-08-18 Joel Brobecker <brobecker@adacore.com>
4139
4140 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4141
e66d4446
SC
41422014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4143
4144 PR c++/17132
4145 * gdb.cp/pr17132.cc: New file.
4146 * gdb.cp/pr17132.exp: New file.
4147
940df408
SC
41482014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4149
4150 * gdb.python/py-xmethods.py (A_getarrayind)
4151 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4152 Use 'print' with function call syntax.
4153 (E_method_matcher.match): Fix tab vs space indentation mixup.
4154
ebcc6c3a
YQ
41552014-08-15 Yao Qi <yao@codesourcery.com>
4156
4157 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4158 false.
4159
775e0f04
YQ
41602014-08-15 Yao Qi <yao@codesourcery.com>
4161
4162 * gdb.cp/casts.exp: Set print symbol off.
4163 * gdb.cp/class2.exp: Likewise.
4164 * gdb.cp/overload.exp: Likewise.
4165 * gdb.cp/templates.exp: Likewise.
4166
d769e349
DE
41672014-08-11 Doug Evans <dje@google.com>
4168
4169 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4170 (test_load_shlib): Update.
4171
20c6f1e1
YQ
41722014-08-09 Yao Qi <yao@codesourcery.com>
4173
4174 * gdb.base/display.exp: Invoke is_address_zero_readable.
4175 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4176 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4177 * gdb.base/hbreak-unmapped.exp: Return if
4178 is_address_zero_readable returns true.
4179 * gdb.base/signest.exp: Likewise.
4180 * gdb.base/signull.exp: Likewise.
4181 * gdb.base/sigbpt.exp: Likewise.
4182 * gdb.guile/scm-disasm.exp: Do the test if
4183 is_address_zero_readable returns false.
4184 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4185 * gdb.python/py-arch.exp: Likewise.
4186 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4187 * lib/gdb.exp (is_address_zero_readable): New proc.
4188
5792e8e3
YQ
41892014-08-09 Yao Qi <yao@codesourcery.com>
4190
4191 PR testsuite/13443
4192 * gdb.mi/mi-var-display.exp: Make test messages unique.
4193
3cecbbbe
TT
41942014-08-04 Tom Tromey <tromey@redhat.com>
4195
4196 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4197 target 0".
4198
00b51ff5
TT
41992014-08-04 Tom Tromey <tromey@redhat.com>
4200
4201 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4202 "target_resume".
4203
6908c509
JB
42042014-08-01 Joel Brobecker <brobecker@adacore.com>
4205
4206 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4207 inner_vla_struct_object_size.
4208 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4209 as xfail.
4210
cc6563d2
PA
42112014-07-30 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4214 comment.
4215
7e09a223
YQ
42162014-07-29 Yao Qi <yao@codesourcery.com>
4217
4218 PR gdb/17206
4219 * gdb.base/until-nodebug.exp: New.
4220
7ebdbe92
DE
42212014-07-28 Doug Evans <xdje42@gmail.com>
4222
4223 PR guile/17203
4224 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4225 previously existing parameter, and previously ambiguously spelled
4226 parameter.
4227
fdb1adc6
WN
42282014-07-28 Will Newton <will.newton@linaro.org>
4229
4230 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4231
186fcde0
DE
42322014-07-26 Ludovic Courtès <ludo@gnu.org>
4233 Doug Evans <xdje42@gmail.com>
4234
4235 PR guile/17146
4236 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4237
70509625
PA
42382014-07-25 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.threads/signal-command-handle-nopass.c: New file.
4241 * gdb.threads/signal-command-handle-nopass.exp: New file.
4242 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4243 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4244 * gdb.threads/signal-delivered-right-thread.c: New file.
4245 * gdb.threads/signal-delivered-right-thread.exp: New file.
4246
c3f814a1
PA
42472014-07-25 Pedro Alves <palves@redhat.com>
4248
4249 * gdb.base/double-prompt-target-event-error.exp
4250 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4251 match.
4252 (cancel_pagination_in_target_event): Rework double prompt
4253 detection.
4254 * gdb.base/paginate-after-ctrl-c-running.exp
4255 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4256 <return>' match.
4257 * gdb.base/paginate-bg-execution.exp
4258 (test_bg_execution_pagination_return)
4259 (test_bg_execution_pagination_cancel): Remove '-notransfer
4260 <return>' matches.
4261 * gdb.base/paginate-execution-startup.exp
4262 (test_fg_execution_pagination_return)
4263 (test_fg_execution_pagination_cancel): Remove '-notransfer
4264 <return>' matches.
4265 * gdb.base/paginate-inferior-exit.exp
4266 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4267 match.
4268 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4269 * lib/gdb.exp (pagination_prompt): Run text through
4270 string_to_regexp.
4271 (gdb_test_multiple): Match $pagination_prompt instead of
4272 "<return>".
4273 (string_to_regexp): Move to lib/gdb-utils.exp.
4274
e214cf6c
JK
42752014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4276
4277 * gdb.arch/amd64-entry-value-paramref.S: New file.
4278 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4279 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4280 * gdb.arch/amd64-optimout-repeat.S: New file.
4281 * gdb.arch/amd64-optimout-repeat.c: New file.
4282 * gdb.arch/amd64-optimout-repeat.exp: New file.
4283
17d0c5c8
JK
42842014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4285
4286 PR gdb/17170
4287 * gdb.base/statistics.exp: New file.
4288
b8b8facf
DE
42892014-07-17 Doug Evans <dje@google.com>
4290
74b49205 4291 PR gdb/17170
b8b8facf
DE
4292 * gdb.base/maint.exp: Update testing of per-command stats.
4293
1b5d0ab3
PA
42942014-07-16 Pedro Alves <palves@redhat.com>
4295
4296 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4297 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4298 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4299 (tfile_write_buf): New functions.
4300 (add_memory_block): Rewrite using the above.
4301 (adjust_function_address): New function.
4302 (FUNCTION_ADDRESS): New macro.
4303 (write_basic_trace_file): Remove short_x local, and use
4304 tfile_write_16. Change type of func_addr local to unsigned long
4305 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4306 here. Cast argument of add_memory_block to char pointer.
4307 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4308 (main): Remove parameters.
4309 * gdb.trace/tfile.exp: Remove nowarnings.
4310
4d974e88
SM
43112014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4312
4313 * gdb.base/debug-expr.exp: Test string evaluation with
4314 "debug expression" on.
4315
41e99568
PA
43162014-07-15 Pedro Alves <palves@redhat.com>
4317
4318 * gdb.base/reread.exp: Use clean_restart.
4319
487d9753
PL
43202014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4321
4322 * gdb.arch/avr-flash-qualifer.c: New.
4323 * gdb.arch/avr-flash-qualifer.exp: New.
4324
cc1c52ad
PA
43252014-07-14 Pedro Alves <palves@redhat.com>
4326
4327 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4328 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4329
1e973570
PA
43302014-07-14 Pedro Alves <palves@redhat.com>
4331
4332 * gdb.base/double-prompt-target-event-error.c: New file.
4333 * gdb.base/double-prompt-target-event-error.exp: New file.
4334
93d6eb10
PA
43352014-07-14 Pedro Alves <palves@redhat.com>
4336
4337 PR gdb/17072
4338 * gdb.base/paginate-inferior-exit.c: New file.
4339 * gdb.base/paginate-inferior-exit.exp: New file.
4340
0017922d
PA
43412014-07-14 Pedro Alves <palves@redhat.com>
4342
4343 PR gdb/17072
4344 * gdb.base/paginate-bg-execution.c: New file.
4345 * gdb.base/paginate-bg-execution.exp: New file.
4346
94696ad3
PA
43472014-07-14 Pedro Alves <palves@redhat.com>
4348
4349 PR gdb/17072
4350 * gdb.base/paginate-execution-startup.c: New file.
4351 * gdb.base/paginate-execution-startup.exp: New file.
4352 * lib/gdb.exp (pagination_prompt): New global.
4353 (default_gdb_spawn): New procedure, factored out from
4354 default_gdb_spawn.
4355 (default_gdb_start): Adjust to call default_gdb_spawn.
4356 (gdb_spawn): New procedure.
4357
bd293940
PA
43582014-07-14 Pedro Alves <palves@redhat.com>
4359
4360 * lib/gdb.exp (gdb_assert): New procedure.
4361 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4362
c933f875
PA
43632014-07-14 Pedro Alves <palves@redhat.com>
4364
4365 * gdb.base/execution-termios.c: New file.
4366 * gdb.base/execution-termios.exp: New file.
4367
d98b7a16
TT
43682014-07-14 Tom Tromey <tromey@redhat.com>
4369
4370 * gdb.cp/vla-cxx.cc: New file.
4371 * gdb.cp/vla-cxx.exp: New file.
4372
548740d6
TT
43732014-07-14 Tom Tromey <tromey@redhat.com>
4374
4375 * gdb.reverse/rerun-prec.c: New file.
4376 * gdb.reverse/rerun-prec.exp: New file.
4377
a25eb028
MR
43782014-07-12 Maciej W. Rozycki <macro@mips.com>
4379 Maciej W. Rozycki <macro@codesourcery.com>
4380
4381 * lib/gdb-utils.exp: New file.
4382 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4383 inline `gdb_init_command' processing.
4384 (gdb_start_cmd): Likewise.
4385 * lib/mi-support.exp (mi_run_cmd): Likewise.
4386 * README: Document `gdb_init_command' and `gdb_init_commands'.
4387
218c2655
JK
43882014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4389
4390 Fix false FAIL running under a very long directory name.
4391 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4392 and "set print elements 10000". Twice.
4393
5401fde3
YQ
43942014-07-11 Yao Qi <yao@codesourcery.com>
4395
4396 * gdb.base/exprs.exp: "set print symbol off".
4397
e76126e8
PA
43982014-07-11 Pedro Alves <palves@redhat.com>
4399
4400 * gdb.threads/kill.c: New file.
4401 * gdb.threads/kill.exp: New file.
4402
2d6f0de6
YQ
44032014-07-10 Yao Qi <yao@codesourcery.com>
4404
4405 * gdb.trace/tfile.c (write_basic_trace_file)
4406 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4407 address written to trace file.
4408
7180e04a
PA
44092014-07-09 Pedro Alves <palves@redhat.com>
4410
4411 * gdb.base/attach-wait-input.exp: New file.
4412 * gdb.base/attach-wait-input.c: New file.
4413
9a9a7608
AB
44142014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4415
4416 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4417 setting up test structures.
4418 (main): Call new test function.
4419 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4420 test function, continue into test function and walk test
4421 structures.
4422
161ac41e
YQ
44232014-07-02 Yao Qi <yao@codesourcery.com>
4424
4425 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4426 'bar_start' at the beginning of functions 'foo' and 'bar'
4427 respectively.
4428 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4429 instead of 'foo' and 'bar'.
4430
1f267ae3
MM
44312014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4432
4433 * gdb.btrace/segv.exp: New.
4434 * gdb.btrace/segv.c: New.
4435
2b239efb
LM
44362014-07-02 Luis Machado <lgustavo@codesourcery.com>
4437
4438 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4439 instruction.
4440
cf363f18
MW
44412014-06-30 Mark Wielaard <mjw@redhat.com>
4442
4443 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4444 vulture, vilify, villar): New volatile array constants.
4445 (vindictive, vegetation): New const volatile array constants.
4446 * gdb.base/volatile.exp: Test volatile and const volatile array
4447 types.
4448
aebf9d24
AA
44492014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4450
4451 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4452 target lacks support for awatch, rwatch, or hbreak.
4453
b67a2c6f
YQ
44542014-06-27 Yao Qi <yao@codesourcery.com>
4455
4456 * gdb.multi/dummy-frame-restore.exp: New.
4457 * gdb.multi/dummy-frame-restore.c: New.
4458
aef92902
MM
44592014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4460
4461 * gdb.btrace/gcore.exp: New.
4462
8e9db26e
PA
44632014-06-23 Pedro Alves <palves@redhat.com>
4464
4465 * gdb.base/watchpoint-reuse-slot.c: New file.
4466 * gdb.base/watchpoint-reuse-slot.exp: New file.
4467
70afc5b7
SC
44682014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4469
4470 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4471 progspace's filename in 'info', 'enable' and 'disable' command
4472 tests.
4473
b972bd9c
JK
44742014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4475
4476 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4477 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4478 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4479
125f8a3d
GB
44802014-06-20 Gary Benson <gbenson@redhat.com>
4481
4482 * gdb.arch/i386-avx.exp: Fix include file location.
4483 * gdb.arch/i386-sse.exp: Likewise.
4484
3ed9baed
IB
44852014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4486
4487 * gdb.dlang/expression.exp: New file.
4488
034f788c
PA
44892014-06-19 Pedro Alves <palves@redhat.com>
4490
4491 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4492 out from ...
4493 (top level): ... here. Iterate running tests under different
4494 scheduler-locking settings.
4495
45371d0c
LM
44962014-06-18 Luis Machado <lgustavo@codesourcery.com>
4497
4498 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4499 to DW_FORM_addr and use non-zero addresses.
4500
5d376983
SC
45012014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4502
4503 PR gdb/17017
4504 * gdb.python/py-xmethods.cc: Add global function call counters and
4505 increment them in their respective functions. Remove "cout"
4506 statements.
4507 * gdb.python/py-xmethods.exp: Make tests check the global function
4508 call counters instead of depending on inferior IO.
4509
a1aa2221
LM
45102014-06-18 Don Breazeal <donb@codesourcery.com>
4511
4512 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4513 Deleted procedure.
4514 (explicit_fork_parent_follow): Deleted procedure.
4515 (explicit_fork_child_follow): Deleted procedure.
4516 (test_follow_fork): New procedure.
4517 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4518 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4519 procedure calls.
4520
0fc05997
YQ
45212014-06-17 Yao Qi <yao@codesourcery.com>
4522
4523 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4524 CP1252.
4525
70795c52
LM
45262014-06-17 Luis Machado <lgustavo@codesourcery.com>
4527
4528 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4529 Initialize ptr and S explicitly.
4530 (skip_type_update_when_not_use_rtti_test): Likewise.
4531
6be47f0c
KS
45322014-06-16 Keith Seitz <keiths@redhat.com>
4533
4534 PR mi/15863
4535 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4536 the inferior is started.
4537
d03de421
PA
45382014-06-16 Pedro Alves <palves@redhat.com>
4539
4540 * gdb.base/break-main-file-remove-fail.c: New file.
4541 * gdb.base/break-main-file-remove-fail.exp: New file.
4542 * gdb.base/break-unload-file.exp: Use build_executable instead of
4543 prepare_for_testing.
4544 (test_break): New parameter "initial_load". Handle it.
4545 (top level): Add initial_load cmdline/file axis.
4546
f9579b99
TT
45472014-06-12 Tom Tromey <tromey@redhat.com>
4548
4549 * gdb.base/completion.exp: Don't use directory name in test.
4550
3657956b
GB
45512014-06-09 Gary Benson <gbenson@redhat.com>
4552
4553 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4554 separate the always-available ANSI-standard signals from the
4555 signals that require checking.
4556 (main): Likewise.
4557 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4558 Likewise.
4559 (main): Likewise.
4560
4186eb54
KS
45612014-06-07 Keith Seitz <keiths@redhat.com>
4562
4563 Revert:
4564 PR c++/16253
4565 * gdb.cp/var-tag.cc: New file.
4566 * gdb.cp/var-tag.exp: New file.
4567 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4568 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4569 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4570 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4571
25326a28 45722014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4573
4574 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4575
829155c9
PA
45762014-06-06 Pedro Alves <palves@redhat.com>
4577
4578 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4579 in target debug output instead of looking at RSP packets,
4580 disabling the test on any target that uses hardware stepping.
4581 Update comments.
4582
61c8d22e
PA
45832014-06-06 Pedro Alves <palves@redhat.com>
4584
4585 * gdb.base/break-unload-file.exp: Fix typo.
4586
d9a47287
YQ
45872014-06-06 Yao Qi <yao@codesourcery.com>
4588
4589 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4590 from "jit_function" to "^jit_function".
4591
e5e01dbf
YQ
45922014-06-06 Yao Qi <yao@codesourcery.com>
4593
4594 * gdb.base/async.c (foo): Add one statement.
4595 * gdb.base/async.exp: Get the next instruction address and
4596 match the output of "nexti" by instruction address. Match
4597 the hex address in the output of "finish".
4598
73ba372c
GB
45992014-06-06 Gary Benson <gbenson@redhat.com>
4600
4601 * gdb.base/call-signals.c: Remove preprocessor conditionals
4602 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4603 SIGSEGV and SIGTERM.
4604 * gdb.base/sigall.c: Likewise.
4605 * gdb.base/unwindonsignal.c: Likewise.
4606 * gdb.reverse/sigall-reverse.c: Likewise.
4607
831517df
YQ
46082014-06-06 Yao Qi <yao@codesourcery.com>
4609
4610 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4611 readable, skip the test.
4612
b8b91e98
YQ
46132014-06-06 Yao Qi <yao@codesourcery.com>
4614
4615 * gdb.threads/staticthreads.c (thread_function): Move the line
4616 setting breakpoint on forward.
4617 * gdb.threads/staticthreads.exp: Update comments.
4618
fb934770
LC
46192014-06-05 Ludovic Courtès <ludo@gnu.org>
4620
4621 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4622 "history-append! type error".
4623
6ef284bd
SM
46242014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4625
4626 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4627 erroneous dprintf expected input.
4628
a872e241
DE
46292014-06-04 Doug Evans <xdje42@gmail.com>
4630
4631 * gdb.guile/scm-generics.exp: Delete.
4632
16f691fb
DE
46332014-06-04 Doug Evans <xdje42@gmail.com>
4634
4635 * gdb.guile/scm-breakpoint.exp: Update.
4636 Add tests for breakpoint registration.
4637
012370f6
TT
46382014-06-04 Tom Tromey <tromey@redhat.com>
4639
4640 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4641 VLA-in-union.
4642 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4643 inner_vla_struct, vla_union types. Initialize objects of those
4644 types and compute their sizes.
4645
9f5a4cef
HZ
46462014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4647 Hui Zhu <hui@codesourcery.com>
4648
4649 * gdb.base/fileio.exp: Add test for shell not available as well as
4650 available.
4651 * gdb.base/fileio.c (test_system): Check for shell twice.
4652
90a45c4d
YQ
46532014-06-04 Yao Qi <yao@codesourcery.com>
4654
4655 * gdb.base/auto-connect-native-target.exp: Remove redundant
4656 space from the regexp pattern.
4657
70017e41
YQ
46582014-06-04 Yao Qi <yao@codesourcery.com>
4659
4660 * gdb.base/default.exp: Replace "child" with "native" in
4661 regexp pattern.
4662
883964a7
SC
46632014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4664
4665 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4666 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4667 * gdb.python/py-xmethods.py: Python script supporting the
4668 new testcase and tests.
4669
ef370185
JB
46702014-06-03 Joel Brobecker <brobecker@adacore.com>
4671 Pedro Alves <palves@redhat.com>
4672
4673 PR breakpoints/17000
4674 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4675 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4676
1e2ccb61
BM
46772014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4678
4679 * gdb.base/subst.exp: Add tests to verify partial path matching
4680 output.
4681
c6ec5ab2
PA
46822014-06-03 Pedro Alves <palves@redhat.com>
4683
4684 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4685 target that doesn't use software single-stepping.
4686
835c559f
PA
46872014-06-03 Pedro Alves <palves@redhat.com>
4688
4689 PR breakpoints/17000
4690 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4691 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4692
06eb1586
DE
46932014-06-02 Doug Evans <xdje42@gmail.com>
4694
4695 * gdb.guile/scm-parameter.exp: New file.
4696
e698b8c4
DE
46972014-06-02 Doug Evans <xdje42@gmail.com>
4698
4699 * gdb.guile/scm-cmd.c: New file.
4700 * gdb.guile/scm-cmd.exp: New file.
4701
ded03782
DE
47022014-06-02 Doug Evans <xdje42@gmail.com>
4703
4704 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4705 pretty-printer lookup.
4706 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4707 (make-pp_s-printer): Call it.
4708 (make-pretty-printer-from-dict): New function.
4709 (lookup-pretty-printer-maker-from-dict): New function.
4710 (*pretty-printer*): Simplify.
4711 (make-objfile-pp_s-printer): New function.
4712 (install-objfile-pretty-printers!): New function.
4713 (make-progspace-pp_s-printer): New function.
4714 (install-progspace-pretty-printers!): New function.
4715 * gdb.guile/scm-progspace.c: New file.
4716 * gdb.guile/scm-progspace.exp: New file.
4717
41fac0cf
PA
47182014-06-02 Pedro Alves <palves@redhat.com>
4719
4720 * gdb.base/dprintf-bp-same-addr.c: New file.
4721 * gdb.base/dprintf-bp-same-addr.exp: New file.
4722
96ae5695
EBM
47232014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4724
4725 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4726 * gdb.arch/powerpc-power.s: Likewise.
4727
da02b3a8
JB
47282014-06-02 Joel Brobecker <brobecker@adacore.com>
4729
4730 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4731
c72b2e7b
YQ
47322014-06-01 Yao Qi <yao@codesourcery.com>
4733
4734 * gdb.base/watchpoint.exp (test_watch_location): Check null
4735 pointer can be dereferenced. If not, do the test, otherwise
4736 skip it.
4737
53e8a631
AB
47382014-05-30 Andrew Burgess <aburgess@broadcom.com>
4739
4740 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4741 results.
4742 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4743
938f0e2f
AB
47442014-05-30 Andrew Burgess <aburgess@broadcom.com>
4745
4746 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4747 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4748 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4749 * gdb.arch/amd64-invalid-stack-top.c: New file.
4750 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4751
9ba6657a
PA
47522014-05-30 Pedro Alves <palves@redhat.com>
4753
4754 PR breakpoints/17000
4755 * gdb.base/sss-bp-on-user-bp.c: New file.
4756 * gdb.base/sss-bp-on-user-bp.exp: New file.
4757
522c09bf
DB
47582014-05-30 David Blaikie <dblaikie@gmail.com>
4759
4760 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4761 gnu_inline semantics via attribute.
4762 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4763 source explicitly specifies the required semantics.
4764
bf4ef81e
MR
47652014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4766
4767 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4768
329ea579
PA
47692014-05-29 Pedro Alves <palves@redhat.com>
4770 Tom Tromey <tromey@redhat.com>
4771
4772 * gdb.base/async-shell.exp: Don't enable target-async.
4773 * gdb.base/async.exp
4774 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4775 parameter. Adjust.
4776 (top level): Don't test with "target-async".
4777 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4778 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4779 * gdb.base/inferior-died.exp: Don't enable target-async.
4780 * gdb.base/interrupt-noterm.exp: Likewise.
4781 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4782 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4783 * gdb.mi/mi-nonstop.exp: Likewise.
4784 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4785 * gdb.mi/mi-nsintrall.exp: Likewise.
4786 * gdb.mi/mi-nsmoribund.exp: Likewise.
4787 * gdb.mi/mi-nsthrexec.exp: Likewise.
4788 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4789 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4790 * gdb.python/py-evsignal.exp: Don't enable target-async.
4791 * gdb.python/py-evthreads.exp: Likewise.
4792 * gdb.python/py-prompt.exp: Likewise.
4793 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4794 * gdb.server/solib-list.exp: Don't enable target-async.
4795 * gdb.threads/thread-specific-bp.exp: Likewise.
4796 * lib/mi-support.exp: Adjust to use mi-async.
4797
fd664c91
PA
47982014-05-29 Pedro Alves <palves@redhat.com>
4799
4800 PR gdb/13860
4801 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4802 reason, even in sync mode.
4803
251bde03
PA
48042014-05-29 Pedro Alves <palves@redhat.com>
4805 Hui Zhu <hui@codesourcery.com>
4806
4807 PR PR15693
4808 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4809 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4810 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4811 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4812
7f3c0343
JB
48132014-05-28 Joel Brobecker <brobecker@adacore.com>
4814
4815 * config/monitor.exp (gdb_target_monitor): Replace use of
4816 "set remotebaud" by "set serial baud".
4817
b2715b27
AW
48182014-05-26 Andy Wingo <wingo@igalia.com>
4819
4820 * gdb.guile/scm-breakpoint.exp:
4821 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4822 properties instead of gdb-object-properties.
4823
498a4489
YQ
48242014-05-26 Yao Qi <yao@codesourcery.com>
4825
4826 * gdb.server/no-thread-db.exp: Specify source file name
4827 explicitly when setting a breakpoint.
4828
589fdceb
MM
48292014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4830
4831 * gdb.btrace/vdso.c: New.
4832 * gdb.btrace/vdso.exp: New.
4833
e9089e05
MM
48342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4835
4836 * gdb.base/gcore.exp (capture_command_output): Move ...
4837 * lib/gdb.exp (capture_command_output): ... here.
4838
67b5c0c1
MM
48392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4840
4841 * gdb.btrace/data.exp: Test memory access during btrace replay.
4842
a2199296
SM
48432014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4844
4845 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4846
17b2616c
PA
48472014-05-21 Pedro Alves <palves@redhat.com>
4848
4849 PR gdb/13860
4850 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4851 (top level): Test that output related to execution commands is
4852 sent to the console with CLI commands, but not with MI commands.
4853 Test that breakpoint events are always mirrored to the console.
4854 Also expect the new source line to be output after a "next" in
4855 async mode too. Make it a pass/fail test.
4856 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4857 output.
4858 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4859
5166082f
PA
48602014-05-21 Pedro Alves <palves@redhat.com>
4861
4862 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4863 Use them to test variations of "list" after reaching a breakpoint.
4864 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4865 Test "list" with listsize 10 after reaching a breakpoint.
4866 * gdb.python/python.exp (decode_line current location line
4867 number): Adjust expected line number.
4868
2f25d70f
SM
48692014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4870
4871 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4872 behavior for $args, pass it directly to "run".
4873
ff604a67
MR
48742014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4875
4876 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4877 30000 to 65536.
4878
6a3cb8e8
PA
48792014-05-21 Pedro Alves <palves@redhat.com>
4880
4881 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4882 auto-connect-native-target off".
4883 * gdb.base/auto-connect-native-target.c: New file.
4884 * gdb.base/auto-connect-native-target.exp: New file.
4885
4ebfc96e
PA
48862014-05-21 Pedro Alves <palves@redhat.com>
4887
4888 * gdb.base/default.exp: Test "target native" instead of "target
4889 child".
4890
36d46afb
MW
48912014-05-21 Mark Wielaard <mjw@redhat.com>
4892
4893 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4894
5876f503
JK
48952014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4896
4897 Fix TLS access for -static -pthread.
4898 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4899 <HAVE_TLS> (thread_function, main): Initialize it.
4900 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4901 Add clean_restart.
4902 <$have_tls != "">: Check TLSVAR.
4903
0256a6ac
PA
49042014-05-21 Pedro Alves <palves@redhat.com>
4905
4906 * gdb.base/dcache-line-read-error.c: New.
4907 * gdb.base/dcache-line-read-error.exp: New.
4908
936d2992
PA
49092014-05-20 Pedro Alves <palves@redhat.com>
4910
4911 * gdb.base/compare-sections.c: New file.
4912 * gdb.base/compare-sections.exp: New file.
4913
802e8e6d
PA
49142014-05-20 Pedro Alves <palves@redhat.com>
4915
4916 * gdb.base/break-idempotent.c: New file.
4917 * gdb.base/break-idempotent.exp: New file.
4918
e59fa00f
MM
49192014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4920
4921 * gdb.btrace/nohist.exp: New.
4922
8b696e31
YQ
49232014-05-20 Yao Qi <yao@codesourcery.com>
4924
4925 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4926 gdb.reverse directory and gdb_reverse_timeout exists in board
4927 setting.
4928 * README: Document gdb_reverse_timeout.
4929
73c9764f
YQ
49302014-05-20 Yao Qi <yao@codesourcery.com>
4931
4932 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4933 'test_file_name'. Treat args as a string instead of a list.
4934 (gdb_init): Rename argument 'args' by 'test_file_name'.
4935
f1f4348a
JK
49362014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4937
4938 * gdb.arch/powerpc-power.exp: New file.
4939 * gdb.arch/powerpc-power.s: New file.
4940
0dbe70ce
DE
49412014-05-16 Doug Evans <dje@google.com>
4942
4943 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4944 * gdb.base/completion.exp: Check that all expected files exist
4945 before doing file completion.
0dbe70ce 4946
8d551b02
DE
49472014-05-16 Doug Evans <dje@google.com>
4948
4949 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4950 Update.
4951 (do_syscall_tests_without_xml): Update.
4952
73eb7709
PA
49532014-05-16 Pedro Alves <palves@redhat.com>
4954
4955 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4956 instead of "unknown output after running".
4957
3fae92fc
YQ
49582014-05-16 Yao Qi <yao@codesourcery.com>
4959
4960 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4961 file1.txt from host at the end.
4962 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4963
c2b2ccc5
DE
49642014-05-15 Doug Evans <dje@google.com>
4965
4966 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4967 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4968 loading file. Add test for TU lookup.
4969
8c217a4b
SM
49702014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4971
4972 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4973 calling "-exec-arguments" or "set args" before running the
4974 inferior.
4975
3deb39c6
SM
49762014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4977
4978 * lib/mi-support.exp (mi_expect_stop): Expect message for
4979 inferiors that exit with non-zero exit code.
4980
71a79f8c
YQ
49812014-05-14 Yao Qi <yao@codesourcery.com>
4982
4983 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4984 match absolute path on remote host.
4985 (test_file_list_exec_source_files): Remove "/" from the
4986 pattern.
4987
f23fcd46
YQ
49882014-05-14 Yao Qi <yao@codesourcery.com>
4989
4990 * boards/local-remote-host-notty.exp (${board}_file): New
4991 proc.
4992
9404b58f
KM
49932014-05-07 Kyle McMartin <kyle@redhat.com>
4994
4995 Pushed by Joel Brobecker <brobecker@adacore.com>.
4996 * gdb.arch/aarch64-atomic-inst.c: New file.
4997 * gdb.arch/aarch64-atomic-inst.exp: New file.
4998
5e45f04c
YQ
49992014-05-07 Yao Qi <yao@codesourcery.com>
5000
5001 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5002 in current context" too.
5003
c888a17d
KS
50042014-05-05 Keith Seitz <keiths@redhat.com>
5005
5006 * gdb.linespec/ls-dollar.exp: Add test for linespec
5007 file:convenience_variable.
5008
290a839c
YQ
50092014-05-05 Yao Qi <yao@codesourcery.com>
5010
5011 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5012 traceframes into tfile and ctf trace files. Read data from
5013 trace file and test collected data.
5014 (gdb_collect_locals_test): Likewise.
5015 (gdb_unavailable_registers_test): Likewise.
5016 (gdb_unavailable_floats): Likewise.
5017 (gdb_collect_globals_test): Likewise.
5018 (top-level): Append "ctf" to trace_file_targets if GDB
5019 supports.
5020
b5262cd0
YQ
50212014-05-05 Yao Qi <yao@codesourcery.com>
5022
5023 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5024 code to ...
5025 (gdb_collect_args_test_1): ... it. New proc.
5026 (gdb_collect_locals_test): Move some code to ...
5027 (gdb_collect_locals_test_1): ... it. New proc.
5028 (gdb_unavailable_registers_test): Move some code to ...
5029 (gdb_unavailable_registers_test_1): ... it. New proc.
5030 (gdb_unavailable_floats): Move some code to ...
5031 (gdb_unavailable_floats_1): ... it. New proc.
5032
30a1e6cc
SDJ
50332014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5034
5035 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5036 probes to test for bitness recognition.
5037 * gdb.arch/amd64-stap-optional-prefix.exp
5038 (test_probe_value_without_reg): New procedure.
5039 Add code to test for different kinds of bitness.
5040
f33da99a
SDJ
50412014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5042
5043 PR breakpoints/16889
5044 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5045 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5046
5b80f00d
PA
50472014-05-01 Pedro Alves <palves@redhat.com>
5048
5049 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5050 gdb_file_cmd if no file is specified.
5051 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5052 last_loaded_file to set the remote exec-file.
5053
f8c2a73c
PA
50542014-05-01 Pedro Alves <palves@redhat.com>
5055
5056 * boards/local-remote-host.exp: New file.
5057
be6e8ac7
PA
50582014-05-01 Pedro Alves <palves@redhat.com>
5059
5060 * boards/local-remote-host.exp: Rename to ...
5061 * boards/local-remote-host-notty.exp: ... this.
5062
cac0dc8f
JB
50632014-04-28 Joel Brobecker <brobecker@adacore.com>
5064
5065 * gdb.ada/dyn_arrayidx: New testcase.
5066
9730e6cc
YQ
50672014-04-26 Yao Qi <yao@codesourcery.com>
5068
5069 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5070 and compute the length of function main. Save it in
5071 $main_length.
5072 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5073 (top-level): Use gdb_compile to compile objects into
5074 executable and restart GDB. Remove invocation to
5075 prepare_for_testing.
5076
7ae1a6a6
PA
50772014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5078 Pedro Alves <palves@redhat.com>
5079
5080 PR server/16255
5081 * gdb.multi/multi-attach.c: New file.
5082 * gdb.multi/multi-attach.exp: New file.
5083
4082afcc
PA
50842014-04-25 Pedro Alves <palves@redhat.com>
5085
5086 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5087 user.
5088 (top level): Test that "set remote conditional-breakpoints-packet
5089 off" works as intended.
5090 * gdb.base/dprintf.exp: Test that "set remote
5091 breakpoint-commands-packet off" works as intended.
5092 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5093 New function.
5094 (top level): Call it.
5095 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5096 remote fast-tracepoints-packet off" works as intended.
5097 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5098 * lib/gdb.exp (gdb_is_target_remote): ... here.
5099
2abc3f8d
DB
51002014-04-24 David Blaikie <dblaikie@gmail.com>
5101
5102 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5103 ensure clang would not discard them.
5104 * gdb.base/gdbvars.c: Ditto.
5105 * gdb.base/memattr.c: Ditto.
5106 * gdb.base/whatis.c: Ditto.
5107 * gdb.python/py-prettyprint.c: Ditto.
5108 * gdb.trace/actions.c: Ditto.
5109 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5110 ensure clang would not discard it.
5111
bfd39632
DB
51122014-04-24 David Blaikie <dblaikie@gmail.com>
5113
5114 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5115 clang to emit the full definition of type required by the test
5116 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5117
22842ff6
DB
51182014-04-24 David Blaikie <dblaikie@gmail.com>
5119
5120 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5121 coax Clang into emitting the definition of the type.
5122 * gdb.cp/pr10728-x.h (y): Ditto.
5123 * gdb.cp/pr10728-y.cc (y): Ditto.
5124
c2e827ad
DB
51252014-04-24 David Blaikie <dblaikie@gmail.com>
5126
5127 * gdb.base/label.exp: XFAIL label related tests under Clang.
5128 * gdb.cp/cplabel.exp: Ditto.
5129 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5130 under Clang those using labels.
5131
4c2d33e7
YQ
51322014-04-25 Yao Qi <yao@codesourcery.com>
5133
5134 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5135 double_label.
5136 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5137 partial_label and double_label.
5138
56083b99
DB
51392014-04-24 David Blaikie <dblaikie@gmail.com>
5140
5141 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5142
25d4e99d
DB
51432014-04-24 David Blaikie <dblaikie@gmail.com>
5144
5145 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5146 of the function to work across GCC and Clang.
5147 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5148 pointer types (const void ** const V void **).
5149
01f9f808
MS
51502014-04-24 Michael Sturm <michael.sturm@mintel.com>
5151 Walfred Tedeschi <walfred.tedeschi@intel.com>
5152
5153 * Makefile.in (EXECUTABLES): Added i386-avx512.
5154 * gdb.arch/i386-avx512.c: New file.
5155 * gdb.arch/i386-avx512.exp: Likewise.
5156
4b48d439
KS
51572014-04-23 Keith Seitz <keiths@redhat.com>
5158
5159 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5160 (mi_make_breakpoint_table): New procedure.
5161 (mi_create_breakpoint): Use mi_make_breakpoint
5162 and return the result.
5163 (mi_make_breakpoint): New procedure.
5164 (mi_build_kv_pairs): New procedure.
5165
5166 * gdb.mi/mi-break.exp: Remove unused globals,
5167 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5168 All callers updated.
5169 * gdb.mi/mi-dprintf.exp: Use variable to track command
5170 number.
5171 Update all callers of mi_create_breakpoint and use
5172 mi_make_breakpoint_table.
5173 Remove any unused global variables.
5174 * gdb.mi/mi-nonstop.exp: Likewise.
5175 * gdb.mi/mi-nsintrall.exp: Likewise.
5176 * gdb.mi/mi-nsmoribund.exp: Likewise.
5177 * gdb.mi/mi-nsthrexec.exp: Likewise.
5178 * gdb.mi/mi-reverse.exp: Likewise.
5179 * gdb.mi/mi-simplerun.exp: Likewise.
5180 * gdb.mi/mi-stepn.exp: Likewise.
5181 * gdb.mi/mi-syn-frame.exp: Likewise.
5182 * gdb.mi/mi-until.exp: Likewise.
5183 * gdb.mi/mi-var-cp.exp: Likewise.
5184 * gdb.mi/mi-var-display.exp: Likewise.
5185 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5186 * gdb.mi/mi2-var-child.exp: Likewise.
5187 * gdb.mi/mi-vla-c99.exp: Likewise.
5188 * lib/mi-support.exp: Likewise.
5189
5190 From Ian Lance Taylor <iant@cygnus.com>:
5191 * lib/gdb.exp (parse_args): New procedure.
5192
08351840
PA
51932014-04-23 Pedro Alves <palves@redhat.com>
5194
5195 * gdb.base/break-unload-file.c: New file.
5196 * gdb.base/break-unload-file.exp: New file.
5197 * gdb.base/sym-file-lib.c (baz): New function.
5198 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5199 field.
5200 (load): Store the segment's mapped size.
5201 (unload): New function.
5202 (unload_shlib): New function.
5203 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5204 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5205 set a breakpoint at baz, and call it.
5206 * gdb.base/sym-file.exp: New tests for stale breakpoint
5207 instructions.
5208
076855f9
PA
52092014-04-23 Pedro Alves <palves@redhat.com>
5210
5211 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5212 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5213 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5214 * gdb.base/hbreak-unmapped.c: New file.
5215 * gdb.base/hbreak-unmapped.exp: New file.
5216 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5217 * lib/gdb.exp (gdb_is_target_remote): ... here.
5218
483805cf
PA
52192014-04-22 Pedro Alves <palves@redhat.com>
5220
5221 * gdb.base/consecutive-step-over.c: New file.
5222 * gdb.base/consecutive-step-over.exp: New file.
5223
06d97543
PA
52242014-04-22 Pedro Alves <palves@redhat.com>
5225
5226 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5227 instead of send_gdb/gdb_expect.
5228
b4429ea2
YQ
52292014-04-22 Yao Qi <yao@codesourcery.com>
5230
5231 * lib/trace-support.exp (generate_tracefile): New procedure.
5232 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5233 return 0.
5234 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5235 if generate_tracefile returns 1.
5236
51d48146
PA
52372014-04-18 Tom Tromey <palves@redhat.com>
5238 Pedro alves <tromey@redhat.com>
5239
5240 PR backtrace/15558
5241 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5242 with a backtrace limit.
5243 * gdb.python/py-frame-inline.exp: Test running to an inline
5244 function with a backtrace limit, and printing the newest frame.
5245 * gdb.python/py-frame-inline.c (main): Call f.
5246
bd1dce5f
MS
52472014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5248
5249 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5250
40d1a503
MS
52512014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5252
5253 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5254 Drop prefix from unsupported source file path.
5255
389b98f7
YQ
52562014-04-17 Yao Qi <yao@codesourcery.com>
5257
5258 * lib/gdb.exp (with_target_charset): New proc.
5259 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5260 with_target_charset.
5261 (test_print_strings): Likewise.
5262 (test_repeat_bytes): Likewise.
5263 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5264 for some tests.
5265
22869d73
KS
52662014-04-16 Keith Seitz <keiths@redhat.com>
5267
5268 PR gdb/15827
5269 * gdb.dwarf2/corrupt.c: New file.
5270 * gdb.dwarf2/corrupt.exp: New file.
5271
c4f87ca6
KS
52722014-04-16 Keith Seitz <keiths@redhat.com>
5273
5274 PR c++/16597
5275 * gdb.cp/namelessclass.cc: New file.
5276 * gdb.cp/namelessclass.exp: New file.
5277 * gdb.cp/namelessclass.S: New file.
5278
ab19de87
DE
52792014-04-16 Doug Evans <dje@google.com>
5280
5281 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5282 Add comment.
5283 (gdbserver_default_get_comm_port): New function.
5284 (gdbserver_start): Check if board file provided
5285 "gdbserver,get_comm_port" and use it if so.
5286 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5287 (gdb,socketport): Set to "stdio".
5288 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5289 (stdio_gdbserver_template): Delete.
5290 (${board}_get_remote_address): Update.
5291 (${board}_build_remote_cmd): Delete.
5292 (${board}_get_comm_port): New function.
5293 (${board}_spawn): Update.
5294 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5295 Delete.
5296 (${board}_get_remote_address): Update.
5297 (${board}_get_comm_port): New function.
5298
fc98a809
AB
52992014-04-16 Andrew Burgess <aburgess@broadcom.com>
5300
5301 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5302 appearing in any order.
5303
87fd9e6e
DE
53042014-04-15 Doug Evans <dje@google.com>
5305
5306 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5307 uninitialized value of "description".
5308
099fc3ea
KS
53092014-04-15 Keith Seitz <keiths@redhat.com>
5310
5311 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5312 Remove unused globals.
5313 (test_running_the_program): Likewise.
5314 (test_controlled_execution): Likewise.
5315 (test_controlling_breakpoints): Likewise.
5316 (test_program_termination): Likewise.
5317
5da151d4
KS
53182014-04-15 Keith Seitz <keiths@redhat.com>
5319
5320 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5321 unused globals.
5322 (test_rbreak_creation_and_listing): Likewise.
5323 (test_ignore_count): Likewise.
5324 (test_error): Likewise.
5325
35e5d2f0
PA
53262014-04-15 Pedro Alves <palves@redhat.com>
5327
5328 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5329 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5330 sym-file-loader.c.
5331 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5332 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5333 to sym-file-loader.c.
5334 (struct library): Forward declare.
5335 (load_shlib, lookup_function): Change prototypes.
5336 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5337 (translate_offset): Remove declarations.
5338 (get_text_addr): New declaration.
5339 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5340 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5341 sym-file-loader.h.
5342 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5343 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5344 here from sym-file-loader.h.
5345 (struct library): New structure.
5346 (load_shlib, lookup_function): Change prototypes and adjust to
5347 work with a struct library.
5348 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5349 (translate_offset): Make static.
5350 (get_text_addr): New function.
5351 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5352
eb4c1710
PA
53532014-04-15 Pedro Alves <palves@redhat.com>
5354
5355 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5356
2d1baf52
PA
53572014-04-15 Pedro Alves <palves@redhat.com>
5358
5359 * gdb.base/sym-file-loader.c: Include <limits.h>.
5360 (SELF_LINK): New define.
5361 (get_origin): New function.
5362 (load_shlib): Use it.
5363 * gdb.base/sym-file.exp: Don't early return if the target is
5364 remote. Use runto_main, and issue fail is that fails. Use
5365 gdb_load_shlibs.
5366 (shlib_name): Delete.
5367 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5368
7dd6df01
PA
53692014-04-15 Pedro Alves <palves@redhat.com>
5370
5371 * gdb.base/sym-file.exp: Remove regex characters from test
5372 message. Don't refer to breakpoint numbers in test messages.
5373
b50c8614
KS
53742014-04-14 Keith Seitz <keiths@redhat.com>
5375
5376 PR c++/16253
5377 * gdb.cp/var-tag.cc: New file.
5378 * gdb.cp/var-tag.exp: New file.
5379 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5380 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5381 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5382 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5383
3d567982
TT
53842014-04-14 Tom Tromey <tromey@redhat.com>
5385
5386 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5387 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5388 type.
5389 * gdb.cp/enum-class.exp: New file.
5390 * gdb.cp/enum-class.cc: New file.
5391
0626fc76
TT
53922014-04-14 Tom Tromey <tromey@redhat.com>
5393
5394 * gdb.dwarf2/enum-type.exp: New file.
5395
dca325b3
SA
53962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5397
5398 * gdb.mi/mi-vla-c99.exp: New file.
5399 * gdb.mi/vla.c: New file.
5400
5854b38a
SA
54012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5402
5403 * gdb.base/vla-datatypes.c: New file.
5404 * gdb.base/vla-datatypes.exp: New file.
5405
463bb957
SA
54062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5407
5408 * gdb.base/vla-ptr.c: New file.
5409 * gdb.base/vla-ptr.exp: New file.
5410
3dd170be
SA
54112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5412
5413 * gdb.dwarf2/count.exp: New file.
5414
5ecaaa66
SA
54152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5416
5417 * gdb.base/vla-sideeffect.c: New file.
5418 * gdb.base/vla-sideeffect.exp: New file.
5419
41f1ada5
DB
54202014-04-14 David Blaikie <dblaikie@gmail.com>
5421
5422 * gdb.mi/non-stop.c: Add return value for non-void function return
5423 statement.
5424 * gdb.threads/staticthreads.c: Ditto.
5425
0be03e84
DE
54262014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5427 Doug Evans <xdje42@gmail.com>
5428
5429 * gdb.guile/scm-value.c: Improve test case.
5430 * gdb.guile/scm-value.exp: Add new test.
5431
f180a1fb
DB
54322014-04-11 David Blaikie <dblaikie@gmail.com>
5433
5434 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5435 override Clang's default.
5436
6b662e19
JB
54372014-04-11 Joel Brobecker <brobecker@adacore.com>
5438
5439 Revert the following changes (regressions):
5440
5441 * gdb.base/vla-sideeffect.c: New file.
5442 * gdb.base/vla-sideeffect.exp: New file.
5443
5444 * gdb.dwarf2/count.exp: New file.
5445
5446 * gdb.base/vla-multi.c: New file.
5447 * gdb.base/vla-multi.exp: New file.
5448
5449 * gdb.base/vla-ptr.c: New file.
5450 * gdb.base/vla-ptr.exp: New file.
5451
5452 * gdb.base/vla-datatypes.c: New file.
5453 * gdb.base/vla-datatypes.exp: New file.
5454
5455 * gdb.mi/mi-vla-c99.exp: New file.
5456 * gdb.mi/vla.c: New file.
5457
245a5f0b
KS
54582014-04-11 Keith Seitz <keiths@redhat.com>
5459
5460 PR c++/16675
5461 * gdb.cp/cpsizeof.exp: New file.
5462 * gdb.cp/cpsizeof.cc: New file.
5463
58a84dcf
SA
54642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5465
191a8a90
JB
5466 * gdb.mi/mi-vla-c99.exp: New file.
5467 * gdb.mi/vla.c: New file.
58a84dcf 5468
c8655f75
SA
54692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5470
5471 * gdb.base/vla-datatypes.c: New file.
5472 * gdb.base/vla-datatypes.exp: New file.
5473
024e13b4
SA
54742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5475
5476 * gdb.base/vla-ptr.c: New file.
5477 * gdb.base/vla-ptr.exp: New file.
5478
1a237e0e
SA
54792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5480
5481 * gdb.base/vla-multi.c: New file.
5482 * gdb.base/vla-multi.exp: New file.
5483
504f3432
SA
54842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5485
5486 * gdb.dwarf2/count.exp: New file.
5487
3bce8237
SA
54882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5489
191a8a90
JB
5490 * gdb.base/vla-sideeffect.c: New file.
5491 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5492
322f9c21
YQ
54932014-04-11 Yao Qi <yao@codesourcery.com>
5494
5495 * gdb.base/completion.exp: Check file exists before running tests
5496 on file completion.
5497
d708bcd1
PA
54982014-04-10 Pedro Alves <palves@redhat.com>
5499
5500 * gdb.base/cond-eval-mode.c: New file.
5501 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5502 prepare_for_testing to build the new file. Check result of
5503 runto_main.
5504 (test_break, test_watch): New procedures.
5505 (top level): Use them.
5506
ae1d2761
PM
55072014-04-08 Pierre Muller <muller@sourceware.org>
5508
5509 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5510 Ctrl-V use for mingw hosts.
5511
7af389b8
SC
55122014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5513
5514 * gdb.python/py-value.c: Improve test case.
5515 * gdb.python/py-value.exp: Add new test.
5516
5e703181
DE
55172014-04-07 David Blaikie <dblaikie@gmail.com>
5518
5519 * lib/compiler.c: Identify the clang compiler.
5520 * lib/compiler.cc: Ditto.
5521
9810b410
YQ
55222014-04-03 Yao Qi <yao@codesourcery.com>
5523
5524 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5525
98d1b8dc
AB
55262014-04-01 Anton Blanchard <anton@samba.org>
5527
5528 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5529 messages unique.
5530
3114cea1
AB
55312014-04-01 Anton Blanchard <anton@samba.org>
5532
5533 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5534 prepare_for_testing.
5535
62f7182c
AB
55362014-04-01 Anton Blanchard <anton@samba.org>
5537
5538 * gdb.arch/ppc64-atomic-inst.c: Remove.
5539 * gdb.arch/ppc64-atomic-inst.S: New file.
5540 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5541
770e7fc7
DE
55422014-03-31 Doug Evans <dje@google.com>
5543
5544 * gdb.base/print-symbol-loading-lib.c: New file.
5545 * gdb.base/print-symbol-loading-main.c: New file.
5546 * gdb.base/print-symbol-loading.exp: New file.
5547
46e2bafa
YQ
55482014-03-31 Yao Qi <yao@codesourcery.com>
5549
5550 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5551
8776cfe9
JB
55522014-03-28 Joel Brobecker <brobecker@adacore.com>
5553
5554 * gdb.ada/mi_dyn_arr: New testcase.
5555
5d1ef361
DE
55562014-03-27 Doug Evans <dje@google.com>
5557
5558 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5559
b5bee914
YQ
55602014-03-27 Yao Qi <yao@codesourcery.com>
5561
5562 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5563 if target is nios2-*-*.
5564
0d4d0e77
YQ
55652014-03-26 Yao Qi <yao@codesourcery.com>
5566
5567 * lib/gdb.exp (readline_is_used): New proc.
5568 * gdb.base/completion.exp: Move tests on command complete up.
5569 Skip the rest of tests if readline is not used.
5570 * gdb.ada/complete.exp: Skp the test if readline is not
5571 used.
5572 * gdb.base/filesym.exp: Likewise.
5573 * gdb.base/macscp.exp: Likewise.
5574 * gdb.base/readline-ask.exp: Likewise.
5575 * gdb.base/readline.exp: Likewise.
5576 * gdb.python/py-cmd.exp: Likewise.
5577 * gdb.trace/tfile.exp: Likewise.
5578
29361eee
YQ
55792014-03-26 Yao Qi <yao@codesourcery.com>
5580
5581 * gdb.base/macscp.exp: Fix code format issues.
5582
bc9a5525
UW
55832014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5584
5585 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5586 * gdb.asm/powerpc64le.inc: New file.
5587
d3839ede
PA
55882014-03-25 Pedro Alves <palves@redhat.com>
5589 Doug Evans <dje@google.com>
5590
5591 * gdb.base/source-execution.c: New file.
5592 * gdb.base/source-execution.exp: New file.
5593 * gdb.base/source-execution.gdb: New file.
5594
01672a57
DE
55952014-03-24 Doug Evans <dje@google.com>
5596
5597 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5598 using fission.
5599
88bbeca9
HZ
56002014-03-24 Hui Zhu <hui@codesourcery.com>
5601 Pedro Alves <palves@redhat.com>
5602
5603 PR breakpoints/16101
5604 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5605 test pass/fail messages. Detect missing support for dprintf when
5606 breakpoints are actually inserted.
5607 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5608 breakpoints are actually inserted.
5609 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5610 fails.
5611
d2348791
JK
56122014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5613
5614 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5615
feef67ab
DE
56162014-03-22 Doug Evans <xdje42@gmail.com>
5617
5618 * gdb.python/python.exp (python not supported): Verify multi-line
5619 python command issues an error.
25d743f9 5620 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5621 guile command issues an error.
feef67ab 5622
ecebef6a
MR
56232014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5624
5625 * gdb.threads/thread-specific.exp: Handle the lack of usable
5626 $this_breakpoint and $this_thread.
5627
ccdd1909
HZ
56282014-03-21 Hui Zhu <hui@codesourcery.com>
5629
5630 * gdb.base/attach.exp (do_command_attach_tests): New.
5631
beb460e8
PA
56322014-03-20 Tom Tromey <tromey@redhat.com>
5633 Pedro Alves <palves@redhat.com>
5634
5635 PR cli/15718
5636 * gdb.base/condbreak-call-false.c: New file.
5637 * gdb.base/condbreak-call-false.exp: New file.
5638
40acf43a
PA
56392014-03-20 Pedro Alves <palves@redhat.com>
5640
5641 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5642 Delete.
5643 (block_signals, unblock_signals): Delete.
5644 (child_function_2, main): Remove references to deleted variable
5645 and functions.
5646
9f5e1e02
PA
56472014-03-20 Pedro Alves <palves@redhat.com>
5648
5649 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5650 Use pthread_kill to signal thread 2.
5651 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5652 Adjust to make the test send itself a signal rather than using the
5653 host's "kill" command.
5654
99619bea
PA
56552014-03-20 Pedro Alves <palves@redhat.com>
5656
5657 * gdb.threads/multiple-step-overs.c: New file.
5658 * gdb.threads/multiple-step-overs.exp: New file.
5659 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5660 Adjust expected infrun debug output.
5661
2adfaa28
PA
56622014-03-20 Pedro Alves <palves@redhat.com>
5663
5664 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5665 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5666
31e77af2
PA
56672014-03-20 Pedro Alves <palves@redhat.com>
5668
5669 PR breakpoints/7143
5670 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5671 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5672 of gdb_test_multiple.
5673 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5674 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5675
b9f437de
PA
56762014-03-20 Pedro Alves <palves@redhat.com>
5677
5678 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5679 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5680
05adc73e
PA
56812014-03-19 Pedro Alves <palves@redhat.com>
5682
5683 * gdb.base/async.exp: Remove early return.
5684
6048b950
PA
56852014-03-19 Pedro Alves <palves@redhat.com>
5686
5687 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5688
8bcfb00a
PA
56892014-03-19 Pedro Alves <palves@redhat.com>
5690
5691 * gdb.base/async.exp (test_background): Expect \r\n after
5692 "completed." in the fail pattern.
5693
884e37dc
PA
56942014-03-19 Pedro Alves <palves@redhat.com>
5695
5696 * gdb.base/async.exp (test_background): New procedure.
5697 Use it for all background execution command tests.
5698
148e57e2
PA
56992014-03-19 Pedro Alves <palves@redhat.com>
5700
5701 * gdb.base/async.exp: Use prepare_for_testing.
5702
f48088c7
PA
57032014-03-19 Pedro Alves <palves@redhat.com>
5704
5705 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5706 the same line.
5707
e2f6c966
PA
57082014-03-19 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.base/async.c (main): Add "jump here" and "until here" line
5711 marker comments.
5712 * gdb.base/async.exp (jump_here): New global.
5713 (jump& test): Use it.
5714 (until_here): New global.
5715 (until& test): Use it.
5716
c30568d4
PA
57172014-03-19 Pedro Alves <palves@redhat.com>
5718
5719 * gdb.base/async.exp: Don't frob gdb_protocol.
5720
0172b6a7
DE
57212014-03-18 Doug Evans <xdje42@gmail.com>
5722
5723 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5724 Fix spelling of exec-done-display.
5725
06c868a8
JK
57262014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5727
5728 PR gdb/15358
5729 * gdb.base/gdb-sigterm.c: New file.
5730 * gdb.base/gdb-sigterm.exp: New file.
5731
0c7e1a46
PA
57322014-03-18 Pedro Alves <palves@redhat.com>
5733
5734 PR gdb/13860
5735 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5736 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5737 solib-event.
5738
f7c77d93
JB
57392014-03-17 Joel Brobecker <brobecker@adacore.com>
5740
5741 * gdb.ada/pckd_arr_ren: New testcase.
5742
5a1e8c7a
DE
57432014-03-13 Doug Evans <xdje42@gmail.com>
5744
5745 PR guile/16612
5746 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5747 collect after discarding symbols.
5748
350e1a76
DE
57492014-03-13 Ludovic Courtès <ludo@gnu.org>
5750 Doug Evans <xdje42@gmail.com>
5751
5752 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5753 to history survives a gc.
5754
a69900ae
PA
57552014-03-13 Pedro Alves <palves@redhat.com>
5756
5757 * gdb.base/default.exp: Don't test "target procfs".
5758
5db9f0bd
PA
57592014-03-13 Pedro Alves <palves@redhat.com>
5760
5761 * gdb.base/default.exp: Update "target child" and "target procfs"
5762 tests to not expect "Unix".
5763
b3ccfe11
TT
57642014-03-12 Tom Tromey <tromey@redhat.com>
5765
5766 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5767 New procs. Add target-async tests.
5768 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5769 Add target-async tests.
5770
646f4417
AA
57712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5772
5773 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5774 'func_start' and 'func_end' for the beginning and end of the
5775 function code, respectively.
5776 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5777 'func_end' instead of 'func' and 'main'.
5778
288c211f
AA
57792014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5780
5781 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5782 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5783 generate the debug info assembler source.
5784
e0c0f156
AA
57852014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5786
5787 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5788 * gdb.dwarf2/arr-subrange.exp: Likewise.
5789 * gdb.dwarf2/dwz.exp: Likewise.
5790 * gdb.dwarf2/method-ptr.exp: Likewise.
5791 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5792 * gdb.dwarf2/subrange.exp: Likewise.
5793 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5794 * gdb.dwarf2/implptrpiece.exp: Likewise.
5795 * gdb.dwarf2/nostaticblock.exp: Likewise.
5796
0e5c4555
AA
57972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5798
5799 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5800 directory to absolute path name arguments.
5801
5ec18f2b
JG
58022014-03-10 Joel Brobecker <brobecker@adacore.com>
5803
5804 * gdb.ada/tagged_access: New testcase.
5805
847fc4f2
MM
58062014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5807
5808 * gdb.btrace/data.exp: Update expected output.
5809
cc3da688
YQ
58102014-03-06 Yao Qi <yao@codesourcery.com>
5811
5812 * gdb.trace/pr16508.exp: New file.
5813
0f26cec1
PA
58142014-03-05 Pedro Alves <palves@redhat.com>
5815
5816 PR gdb/16575
5817 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5818 procedure.
5819 (top level): Adjust to use it. Add tests that exercise breakpoint
5820 interaction with the code-cache.
5821
7a5a839f
LC
58222014-02-26 Ludovic Courtès <ludo@gnu.org>
5823
5824 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5825 test for 'history-append!'.
5826
31aa7e4e
JB
58272014-02-26 Joel Brobecker <brobecker@adacore.com>
5828
5829 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5830 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5831 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5832 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5833 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5834 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5835
1b588015
JB
58362014-02-26 Joel Brobecker <brobecker@adacore.com>
5837
5838 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5839 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5840 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5841
55426c9d
JB
58422014-02-26 Joel Brobecker <brobecker@adacore.com>
5843
5844 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5845
dc53a7ad
JB
58462014-02-26 Joel Brobecker <brobecker@adacore.com>
5847
5848 * gdb.dwarf2/arr-stride.c: New file.
5849 * gdb.dwarf2/arr-stride.exp: New file.
5850
12ab52e9
PA
58512014-02-26 Pedro Alves <palves@redhat.com>
5852
5853 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5854 that won't ever trigger. Make sure that GDB reports the correct
5855 breakpoint that caused the stop.
5856
849c862e
JK
58572014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5858
5859 PR gdb/16626
5860 * gdb.base/auto-load-script: New file.
5861 * gdb.base/auto-load.c: New file.
5862 * gdb.base/auto-load.exp: New file.
5863
71b7d793
JK
5864 PR gdb/16626
5865 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5866
e2f0d509
JK
58672014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5868
5869 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5870 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5871
50cc37c8
DE
58722014-02-24 Doug Evans <dje@google.com>
5873
5874 * lib/gdb.exp (run_on_host): Log error output if program fails.
5875
ea4758f2
PA
58762014-02-21 Pedro Alves <palves@redhat.com>
5877
5878 * gdb.threads/step-after-sr-lock.c: Rename to ...
5879 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5880 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5881 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5882 ... this.
5883
d7b30f67
SDJ
58842014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5885
5886 PR tdep/16397
5887 * gdb.arch/amd64-stap-special-operands.exp: New file.
5888 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5889 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5890 * gdb.arch/amd64-stap-triplet.S: Likewise.
5891 * gdb.arch/amd64-stap-triplet.c: Likewise.
5892
83deb43f
JB
58932014-02-20 Joel Brobecker <brobecker@adacore.com>
5894
5895 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5896 in .section pseudo-op.
5897
adde2bff
DE
58982014-02-20 lin zuojian <manjian2006@gmail.com>
5899 Joel Brobecker <brobecker@adacore.com>
5900 Doug Evans <xdje42@gmail.com>
5901
5902 PR symtab/16581
5903 * gdb.dwarf2/dw2-icycle.S: New file.
5904 * gdb.dwarf2/dw2-icycle.c: New file.
5905 * gdb.dwarf2/dw2-icycle.exp: New file.
5906
f7bd0f78
SC
59072014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5908
5909 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5910 operations on gdb.Value objects.
5911 * gdb.python/py-value-cc.exp: Add new test to test operations on
5912 gdb.Value objects.
5913
c17ef0d5
DE
59142014-02-18 Doug Evans <dje@google.com>
5915
5916 * Makefile.in (TESTS): New variable.
5917 (expanded_tests, expanded_tests_or_none): New variables
5918 (check-single): Pass $(expanded_tests_or_none) to runtest.
5919 (check-parallel): Only run tests in $(TESTS) if non-empty.
5920 (check/no-matching-tests-found): New rule.
5921 * README: Document TESTS makefile variable.
5922
5dd3176f
DE
59232014-02-18 Doug Evans <dje@google.com>
5924
5925 * Makefile.in (check-parallel): rm -rf outputs temp.
5926
0b10be4f
JK
59272014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5928
5929 Fix "ERROR: no fileid for" in the testsuite.
5930 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5931
85f224e7
DE
59322014-02-12 Doug Evans <dje@google.com>
5933
5934 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5935 (MISCELLANEOUS): New variable.
5936 (clean): rm -rf $(MISCELLANEOUS).
5937 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5938 dwp live in the same directory as symlinks, with each symlink pointed
5939 to a differently named file in a different directory.
5940
149b30ff
DE
59412014-02-11 Doug Evans <dje@google.com>
5942
5943 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5944 of Tcl file commands.
5945
1dfdac32
MK
59462014-02-10 Mark Kettenis <kettenis@gnu.org>
5947
5948 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5949 "kill -SIGUSR1 -1".
5950
aa4fb036
JB
59512014-02-10 Joel Brobecker <brobecker@adacore.com>
5952
5953 * gdb.ada/tick_length_array_enum_idx: New testcase.
5954
ed3ef339
DE
59552014-02-10 Doug Evans <xdje42@gmail.com>
5956
5957 * configure.ac (AC_OUTPUT): Add gdb.guile.
5958 * configure: Regenerate.
5959 * lib/gdb-guile.exp: New file.
5960 * lib/gdb.exp (get_target_charset): New function.
5961 * gdb.base/help.exp: Update expected output from "apropos apropos".
5962 * gdb.guile/Makefile.in: New file.
5963 * gdb.guile/guile.exp: New file.
5964 * gdb.guile/scm-arch.c: New file.
5965 * gdb.guile/scm-arch.exp: New file.
5966 * gdb.guile/scm-block.c: New file.
5967 * gdb.guile/scm-block.exp: New file.
5968 * gdb.guile/scm-breakpoint.c: New file.
5969 * gdb.guile/scm-breakpoint.exp: New file.
5970 * gdb.guile/scm-disasm.c: New file.
5971 * gdb.guile/scm-disasm.exp: New file.
5972 * gdb.guile/scm-equal.c: New file.
5973 * gdb.guile/scm-equal.exp: New file.
5974 * gdb.guile/scm-error.exp: New file.
5975 * gdb.guile/scm-error.scm: New file.
5976 * gdb.guile/scm-frame-args.c: New file.
5977 * gdb.guile/scm-frame-args.exp: New file.
5978 * gdb.guile/scm-frame-args.scm: New file.
5979 * gdb.guile/scm-frame-inline.c: New file.
5980 * gdb.guile/scm-frame-inline.exp: New file.
5981 * gdb.guile/scm-frame.c: New file.
5982 * gdb.guile/scm-frame.exp: New file.
5983 * gdb.guile/scm-generics.exp: New file.
5984 * gdb.guile/scm-gsmob.exp: New file.
5985 * gdb.guile/scm-iterator.c: New file.
5986 * gdb.guile/scm-iterator.exp: New file.
5987 * gdb.guile/scm-math.c: New file.
5988 * gdb.guile/scm-math.exp: New file.
5989 * gdb.guile/scm-objfile-script-gdb.in: New file.
5990 * gdb.guile/scm-objfile-script.c: New file.
5991 * gdb.guile/scm-objfile-script.exp: New file.
5992 * gdb.guile/scm-objfile.c: New file.
5993 * gdb.guile/scm-objfile.exp: New file.
5994 * gdb.guile/scm-ports.exp: New file.
5995 * gdb.guile/scm-pretty-print.c: New file.
5996 * gdb.guile/scm-pretty-print.exp: New file.
5997 * gdb.guile/scm-pretty-print.scm: New file.
5998 * gdb.guile/scm-section-script.c: New file.
5999 * gdb.guile/scm-section-script.exp: New file.
6000 * gdb.guile/scm-section-script.scm: New file.
6001 * gdb.guile/scm-symbol.c: New file.
6002 * gdb.guile/scm-symbol.exp: New file.
6003 * gdb.guile/scm-symtab-2.c: New file.
6004 * gdb.guile/scm-symtab.c: New file.
6005 * gdb.guile/scm-symtab.exp: New file.
6006 * gdb.guile/scm-type.c: New file.
6007 * gdb.guile/scm-type.exp: New file.
6008 * gdb.guile/scm-value-cc.cc: New file.
6009 * gdb.guile/scm-value-cc.exp: New file.
6010 * gdb.guile/scm-value.c: New file.
6011 * gdb.guile/scm-value.exp: New file.
6012 * gdb.guile/source2.scm: New file.
6013 * gdb.guile/types-module.cc: New file.
6014 * gdb.guile/types-module.exp: New file.
6015
7026a7c1
YQ
60162014-02-10 Yao Qi <yao@codesourcery.com>
6017
6018 PR testsuite/16543
6019 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6020 * configure: Regenerated.
6021 * Makefile.in: New file.
6022
6c466447
AS
60232014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6024
6025 * gdb.python/py-framefilter.exp: Fix typo.
6026
6e854735
YQ
60272014-02-08 Yao Qi <yao@codesourcery.com>
6028
6029 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6030 that no =breakpoint-modified is emitted when breakpoints are
6031 modified through MI commands.
6032
d137e6dc
PA
60332014-02-07 Pedro Alves <pedro@codesourcery.com>
6034 Pedro Alves <palves@redhat.com>
6035
6036 * gdb.threads/step-after-sr-lock.c: New file.
6037 * gdb.threads/step-after-sr-lock.exp: New file.
6038
b5ee5a50
PA
60392014-02-07 Pedro Alves <palves@redhat.com>
6040
6041 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6042
3c77faf3
JK
60432014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6044
6045 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6046 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6047
6dddc817
DE
60482014-02-06 Doug Evans <xdje42@gmail.com>
6049
6050 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6051 output.
6052
6053 * gdb.gdb/python-interrupts.exp: New file.
6054
de7b2893
YQ
60552014-02-05 Yao Qi <yao@codesourcery.com>
6056
6057 * gdb.trace/report.exp (use_collected_data): Test the output
6058 of "info threads" and "info inferiors".
6059
66d032ac
YQ
60602014-02-05 Yao Qi <yao@codesourcery.com>
6061
6062 Revert this patch:
6063
6064 2013-05-24 Yao Qi <yao@codesourcery.com>
6065
6066 * gdb.trace/tfile.exp: Test inferior and thread.
6067
591a12a1
UW
60682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6069
6070 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6071 on a function.
6072 * gdb.base/step-bt.c: Call hello via function pointer to make
6073 sure its first instruction is executed on powerpc64le-linux.
6074
0ff3e01f
UW
60752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6076
6077 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6078
084ee545
UW
60792014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6080
6081 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6082 of the test patterns for use on little-endian systems.
6083
6ed14ff3
UW
60842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6085
6086 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6087 (decimal_vector): Fix for little-endian.
6088
401e27fd
JM
60892014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6090
6091 * gdb.arch/sparc-sysstep.exp: New file.
6092 * gdb.arch/sparc-sysstep.c: Likewise.
6093
6094 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6095
8b924729
EBM
60962014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6097
6098 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6099
fb151210
JB
61002014-01-23 Tom Tromey <tromey@redhat.com>
6101
6102 * gdb.ada/array_char_idx: New testcase.
6103
0740f8d8
TT
61042014-01-23 Tom Tromey <tromey@redhat.com>
6105
6106 PR python/16487:
6107 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6108 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6109 classes.
6110
21909fa1
TT
61112014-01-23 Tom Tromey <tromey@redhat.com>
6112
6113 PR python/16491:
6114 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6115 string from an inferior frame.
6116 * gdb.python/py-framefilter-mi.exp: Update.
6117
87ce2a04
DE
61182014-01-22 Doug Evans <dje@google.com>
6119
6120 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6121
237b092b
AA
61222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6123
6124 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6125
d674a709
AA
61262014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6127
6128 * gdb.trace/entry-values.exp: Remove excess space character from
6129 regex patterns. Handle s390 call instruction.
6130
20fa3390
AA
61312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6132
6133 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6134 define "*_start" label. Make "name" static.
6135 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6136 ${name} by references to ${name}_start.
6137
78466714
AA
61382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6139
6140 * gdb.base/info-macros.exp: Remove "debug" from the compile
6141 options.
6142
ec9f644a
IB
61432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6144
6145 * gdb.dlang/demangle.exp: New file.
6146
94b1b47e
IB
61472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6148
6149 * gdb.dlang/primitive-types.exp: New file.
6150
7f420862
IB
61512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6152
6153 * configure.ac: Create gdb.dlang/Makefile.
6154 * configure: Regenerate.
6155 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6156 * gdb.dlang/Makefile.in: New file.
6157 * lib/d-support.exp: New file.
6158 * lib/gdb.exp (skip_d_tests): New proc.
6159
52834460
MM
61602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6161
6162 * gdb.btrace/delta.exp: Check reverse stepi.
6163 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6164 * gdb.btrace/finish.exp: New.
6165 * gdb.btrace/next.exp: New.
6166 * gdb.btrace/nexti.exp: New.
6167 * gdb.btrace/record_goto.c: Add comments.
6168 * gdb.btrace/step.exp: New.
6169 * gdb.btrace/stepi.exp: New.
6170 * gdb.btrace/multi-thread-step.c: New.
6171 * gdb.btrace/multi-thread-step.exp: New.
6172 * gdb.btrace/rn-dl-bind.c: New.
6173 * gdb.btrace/rn-dl-bind.exp: New.
6174 * gdb.btrace/data.c: New.
6175 * gdb.btrace/data.exp: New.
6176 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6177
6e07b1d2
MM
61782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6179
6180 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6181 * gdb.btrace/exception.exp: Update.
6182 * gdb.btrace/instruction_history.exp: Update.
6183 * gdb.btrace/record_goto.exp: Update.
6184 * gdb.btrace/tailcall.exp: Update.
6185 * gdb.btrace/unknown_functions.exp: Update.
6186 * gdb.btrace/delta.exp: New.
6187
0b722aec
MM
61882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6189
6190 * gdb.btrace/record_goto.exp: Add backtrace test.
6191 * gdb.btrace/tailcall.exp: Add backtrace test.
6192
066ce621
MM
61932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6194
6195 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6196 * gdb.btrace/record_goto.c: New.
6197 * gdb.btrace/record_goto.exp: New.
6198 * gdb.btrace/x86-record_goto.S: New.
6199
0688d04e
MM
62002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6201
6202 * gdb.btrace/function_call_history.exp: Update tests.
6203 * gdb.btrace/instruction_history.exp: Update tests.
6204
8710b709
MM
62052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6206
6207 * gdb.btrace/function_call_history.exp: Fix expected field
6208 order for "record function-call-history".
6209 Add new tests for "record function-call-history /c".
6210 * gdb.btrace/exception.cc: New.
6211 * gdb.btrace/exception.exp: New.
6212 * gdb.btrace/tailcall.exp: New.
6213 * gdb.btrace/x86-tailcall.S: New.
6214 * gdb.btrace/x86-tailcall.c: New.
6215 * gdb.btrace/unknown_functions.c: New.
6216 * gdb.btrace/unknown_functions.exp: New.
6217 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6218
5de9129b
MM
62192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6220
6221 * gdb.btrace/instruction_history.exp: Update.
6222 * gdb.btrace/function_call_history.exp: Update.
6223
23a7fe75
MM
62242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6225
6226 * gdb.btrace/function_call_history.exp: Fix expected function
6227 trace.
6228 * gdb.btrace/instruction_history.exp: Initialize traced.
6229 Remove traced_functions.
6230
724c7dd8
MM
62312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6232
6233 * gdb.btrace/function_call_history.exp: Update
6234 * gdb.btrace/instruction_history.exp: Update.
6235
6d78d93b
MM
62362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6237
6238 * gdb.btrace/enable.exp: Update expected text.
6239
93a360cc
OJ
62402014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6241
6242 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6243 bytes.
6244
3772b53f
MR
62452014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6246
6247 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6248
596662fa
OJ
62492014-01-15 Omair Javaid <omair.javaid@linaro.org>
6250
6251 * lib/gdb.exp (supports_process_record): Return true for
6252 arm*-linux*. (supports_reverse): Likewise.
6253
b5b08fb4
SC
62542014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6255
6256 PR python/15464
6257 PR python/16113
6258 * gdb.python/py-type.c: Enhance test case.
6259 * gdb.python/py-value-cc.cc: Likewise
6260 * gdb.python/py-type.exp: Add new tests.
6261 * gdb.python/py-value-cc.exp: Likewise
6262
52d7fb13
AA
62632014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6264 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6267 Make "name" extern.
6268 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6269 references to ${name}_start by references to ${name}.
6270
a2cd8cfe
JB
62712014-01-10 Joel Brobecker <brobecker@adacore.com>
6272
6273 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6274
4e23fced
JB
62752014-01-10 Joel Brobecker <brobecker@adacore.com>
6276
6277 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6278
c6a9e42c
PA
62792014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6280 Pedro Alves <palves@redhat.com>
6281
6282 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6283 mi_gdb_target_load.
c6a9e42c 6284
b7ea362b
PA
62852014-01-08 Pedro Alves <palves@redhat.com>
6286
6287 * gdb.threads/reconnect-signal.c: New file.
6288 * gdb.threads/reconnect-signal.exp: New file.
6289
5e3f4fab
EBM
62902014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6291
6292 * gdb.base/source-dir.exp: New file.
6293
79301218
JB
62942014-01-07 Joel Brobecker <brobecker@adacore.com>
6295
6296 * gdb.ada/mi_interface: New testcase.
6297
8e355c5d
JB
62982014-01-07 Joel Brobecker <brobecker@adacore.com>
6299
6300 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6301 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6302 gdb.ada/pp-rec-component/pck.ads: New files.
6303
c0d48811
JB
63042014-01-07 Joel Brobecker <brobecker@adacore.com>
6305
6306 * gdb.python/py-pp-integral.c: New file.
6307 * gdb.python/py-pp-integral.py: New file.
6308 * gdb.python/py-pp-integral.exp: New file.
6309
17b609c3 6310For older changes see ChangeLog-1993-2013.
c906108c 6311\f
8d8cb839
EZ
6312;; Local Variables:
6313;; mode: change-log
6314;; left-margin: 8
6315;; fill-column: 74
6316;; version-control: never
6317;; End:
902f2ccb 6318
32d0add0 6319 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6320 Copying and distribution of this file, with or without modification,
6321 are permitted provided the copyright notice and this notice are preserved.