Fix compile time warnings generated when compiling with clang.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
06da0f77
PL
12015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2
3 * gdb.trace/ftrace-lock.c: New file.
4 * gdb.trace/ftrace-lock.exp: New file.
5
4f51c22a
PL
62015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7
8 * gdb.arch/insn-reloc.c: New file.
9 * gdb.arch/ftrace-insn-reloc.exp: New file.
10
7041adf4
PL
112015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12
13 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14 instruction.
15 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17 * gdb.trace/range-stepping.c: Likewise.
18 * gdb.trace/trace-break.c: Likewise.
19 * gdb.trace/trace-mt.c (thread_function): Likewise.
20 * gdb.trace/ftrace.c (marker): Likewise.
21 * gdb.trace/trace-condition.c (marker): Likewise.
22 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
23 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
24 is_aarch64_target.
25
015d2e7e
DE
262015-09-18 Doug Evans <xdje42@gmail.com>
27
28 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
29 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
30
26b188a2
SL
312015-09-18 Sandra Loosemore <sandra@codesourcery.com>
32
33 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
34 the breakpoint.
35
79dc332b
SL
362015-09-18 Sandra Loosemore <sandra@codesourcery.com>
37
38 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
39 the pending breakpoint. Remove timeout override for "Run till
40 MI pending breakpoint on pendfunc3 on thread 2" test.
41
f57929f2
SL
422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
43
44 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
45 filename pattern.
46
3f469b17
SL
472015-09-18 Sandra Loosemore <sandra@codesourcery.com>
48
49 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
50 in breakpoint filename pattern.
51
515b89b3
SL
522015-09-18 Sandra Loosemore <sandra@codesourcery.com>
53
7800dbe4
SL
54 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
55
562015-09-18 Sandra Loosemore <sandra@codesourcery.com>
57
515b89b3
SL
58 * gdb.linespec/explicit.exp: Check for readline support for
59 tab-completion tests. Fix obvious typo.
60
d2939ba2
MM
612015-09-18 Markus Metzger <markus.t.metzger@intel.com>
62
63 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
64 and replay.
65
cbb55fa7
MM
662015-09-18 Markus Metzger <markus.t.metzger@intel.com>
67
68 * gdb.btrace/non-stop.c: New.
69 * gdb.btrace/non-stop.exp: New.
70
43691ca1
PL
712015-09-17 Pierre Langlois <pierre.langlois@arm.com>
72 Yao Qi <yao.qi@linaro.org>
73
74 * gdb.trace/trace-condition.c: New file.
75 * gdb.trace/trace-condition.exp: New file.
76
d78908cf
WW
772015-09-16 Wei-cheng Wang <cole945@gmail.com>
78
79 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
80 for testing bytecode compilation.
81
1ed415e2
PA
822015-09-16 Pedro Alves <palves@redhat.com>
83 Sandra Loosemore <sandra@codesourcery.com>
84
85 * gdb.threads/non-stop-fair-events.c (timeout): New global.
86 (SECONDS): Redefine.
87 (main): Call pthread_kill and alarm early.
88 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
89 support.
90 (test): If the target can't hardware step and doesn't support
91 displaced stepping, increase the timeout.
92
d136eff5
PA
932015-09-16 Pedro Alves <palves@redhat.com>
94
95 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
96 (enable_debug): New procedures.
97 (test): Use them. Bail out if waiting for threads fails.
98 (top level): Bail out if a test fails.
99
991f019c
YQ
1002015-09-16 Yao Qi <yao.qi@linaro.org>
101
102 * gdb.asm/asm-source.exp: Set asm-arch for
103 aarch64*-*-* target.
104 * gdb.asm/aarch64.inc: New file.
105
bfca584f
PMR
1062015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
107
108 * gdb.ada/array_of_variable_length.exp: New testcase.
109 * gdb.ada/array_of_variable_length/foo.adb: New file.
110 * gdb.ada/array_of_variable_length/pck.adb: New file.
111 * gdb.ada/array_of_variable_length/pck.ads: New file.
112
b326e587
DE
1132015-09-15 Doug Evans <dje@google.com>
114
115 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
116 of function static local variable.
117
5382cfab
PW
1182015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
119
120 * gdb.threads/tls-so_extern.exp: New test file.
121 * gdb.threads/tls-so_extern.c: New test file.
122 * gdb.threads/tls-so_extern_main.c: New test file.
123
141c5cc4
JK
1242015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
125
126 * gdb.opt/solib-intra-step-lib.c: New file.
127 * gdb.opt/solib-intra-step-main.c: New file.
128 * gdb.opt/solib-intra-step.exp: New file.
129
d15dcecd
PA
1302015-09-15 Pedro Alves <palves@redhat.com>
131
132 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
133 gdb_continue_to_breakpoint instead of gdb_test_multiple.
134
4c2f2a79
PA
1352015-09-14 Pedro Alves <palves@redhat.com>
136
137 * gdb.base/hook-stop-continue.c: Delete.
138 * gdb.base/hook-stop-continue.exp: Delete.
139 * gdb.base/hook-stop-frame.c: Delete.
140 * gdb.base/hook-stop-frame.exp: Delete.
141 * gdb.base/hook-stop.c: New file.
142 * gdb.base/hook-stop.exp: New file.
143
919e6dbe
PMR
1442015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
145
146 * gdb.ada/access_to_packed_array.exp: New testcase.
147 * gdb.ada/access_to_packed_array/foo.adb: New file.
148 * gdb.ada/access_to_packed_array/pack.adb: New file.
149 * gdb.ada/access_to_packed_array/pack.ads: New file.
150
157280a4
MM
1512015-09-14 Markus Metzger <markus.t.metzger@intel.com>
152
153 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
154 buffer size test.
155
2fd33e94
DB
1562015-09-11 Don Breazeal <donb@codesourcery.com>
157
158 * gdb.base/foll-exec.c: Add copyright header. Fix
159 formatting issues.
160 * gdb.base/foll-exec.exp (zap_session): Delete proc.
161 (do_exec_tests): Use clean_restart in place of zap_session,
162 and for test initialization. Fix formatting issues. Use
163 fail in place of perror.
164 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
165 an expect statement to match an expression with output from
166 the program under debug.
167 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
168 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
169 * gdb.threads/non-ldr-exc-2.exp: Likewise.
170 * gdb.threads/non-ldr-exc-3.exp: Likewise.
171 * gdb.threads/non-ldr-exc-4.exp: Likewise.
172
e70b6e8e
DE
1732015-09-09 Doug Evans <dje@google.com>
174
175 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
176
7a551a51
DE
1772015-09-09 Doug Evans <dje@google.com>
178
179 * gdb.base/pie-execl.exp: Fix result test of build_executable.
180
4c666f84
DE
1812015-09-09 Doug Evans <dje@google.com>
182
183 * gdb.base/savedregs.exp: Fix typo.
184
243a9253
PA
1852015-09-09 Pedro Alves <palves@redhat.com>
186
187 * gdb.mi/mi-cli.exp: Add CLI finish tests.
188
c0fa8fbd
SL
1892015-09-08 Sandra Loosemore <sandra@codesourcery.com>
190
191 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
192 command actually switches threads. Give up on remaining
193 tests if target fails to stop at breakpoint.
194
cd7c1778
PMR
1952015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
196
197 * gdb.ada/funcall_char.exp: New testcase.
198 * gdb.ada/funcall_char/foo.adb: New file.
199
dc5c8746
PMR
2002015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
201
202 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
203 expected outputs. Add two testcases for completing ambiguous
204 functions.
205 * gdb.ada/complete/aux_pck.adb: New file.
206 * gdb.ada/complete/aux_pck.ads: New file.
207 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
208 Ambiguous_Func functions.
209 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
210 * gdb.ada/complete/pck.adb: Likewise.
211
4e83a1e7
UW
2122015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
213
214 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
215 failures to run the test program under GDB.
216
8ce74153
LM
2172015-08-26 Luis Machado <lgustavo@codesourcery.com>
218
219 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
220 to C.
221
e9756d52
PP
2222015-08-26 Patrick Palka <patrick@parcs.ath.cx>
223
224 * gdb.base/run-after-attach.exp: New test file.
225 * gdb.base/run-after-attach.c: New test file.
226
8d37573b
DB
2272015-08-26 Don Breazeal <donb@codesourcery.com>
228
229 * gdb.base/foll-exec-2.c: New test program.
230 * gdb.base/foll-exec-2.exp: New test.
231
63e43d3a
PMR
2322015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
233
234 * gdb.base/nested-subp1.exp: New file.
235 * gdb.base/nested-subp1.c: New file.
236 * gdb.base/nested-subp2.exp: New file.
237 * gdb.base/nested-subp2.c: New file.
238 * gdb.base/nested-subp3.exp: New file.
239 * gdb.base/nested-subp3.c: New file.
240
3d40fbb5
PA
2412015-08-24 Pedro Alves <palves@redhat.com>
242
243 * gdb.server/connect-without-multi-process.c: New file.
244 * gdb.server/connect-without-multi-process.exp: New file.
245
4422ac93
LM
2462015-08-24 Luis Machado <lgustavo@codesourcery.com>
247
248 * gdb.opt/inline-markers.c: Make z int.
249
91dddb86
LM
2502015-08-24 Luis Machado <lgustavo@codesourcery.com>
251
252 * gdb.opt/inline-markers.c: Make z volatile.
253
a48847ee
LM
2542015-08-24 Luis Machado <lgustavo@codesourcery.com>
255
256 * gdb.opt/inline-bt.c: New volatile global z.
257 * gdb.opt/inline-cmds.c: Likewise.
258 * gdb.opt/inline-locals.c: Likewise.
259 * gdb.opt/inline-markers.c: New extern global z.
260 (marker): Use z.
261 (inline_fn): Likewise.
262
0ebbc52b
PA
2632015-08-24 Pedro Alves <palves@redhat.com>
264
265 * config/m32r-stub.exp: Remove file.
266 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
267 * gdb.base/call-rt-st.exp: Likewise.
268 * gdb.base/call-strs.exp: Likewise.
269 * gdb.base/default.exp: Remove references to h8300-*-hms and
270 *-*-udi*.
271 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
272
77c365df
AA
2732015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
274
275 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
276 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
277 and "return" use KFAIL when GDB can not read/write the vector
278 return value.
279
4313b8c0
GB
2802015-08-21 Gary Benson <gbenson@redhat.com>
281
282 * gdb.trace/pending.exp: Cope with remote transfer warnings.
283
0e433b32
PA
2842015-08-20 Pedro Alves <palves@redhat.com>
285
286 * gdb.server/solib-list.exp: No longer expect an interior stop in
287 non-stop mode.
288
221e1a37
PA
2892015-08-20 Pedro Alves <palves@redhat.com>
290
291 * gdb.server/connect-stopped-target.c: New file.
292 * gdb.server/connect-stopped-target.exp: New file.
293
40e3ad0e
PA
2942015-08-20 Pedro Alves <palves@redhat.com>
295
296 * gdb.dwarf2/comp-unit-lang.exp: New file.
297 * gdb.dwarf2/comp-unit-lang.c: New file.
298
af39b327
PMR
2992015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
300
301 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
302 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
303
7d45c7c3
KB
3042015-08-19 Kevin Buettner <kevinb@redhat.com>
305
306 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
307 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
308
4d6cceb4
DE
3092015-08-18 Doug Evans <dje@google.com>
310 Adrian Sendroiu <adrian.sendroiu@freescale.com>
311
312 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
313 skip_python_tests. New arg prompt_regexp.
314 (skip_python_tests): New function.
315 * lib/mi-support.exp (mi_skip_python_tests): New function.
316 * gdb.python/py-mi-objfile-gdb.py: New file.
317 * gdb.python/py-mi-objfile.c: New file.
318 * gdb.python/py-mi-objfile.exp: New file.
319
ad89c2aa
KS
3202015-08-17 Keith Seitz <keiths@redhat.com>
321
322 * gdb.linespec/explicit.exp: Move strace test from here ...
323 * gdb.trace/strace.exp: ... to here.
324
e3ae3c43
PP
3252015-08-15 Patrick Palka <patrick@parcs.ath.cx>
326
327 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
328 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
329
604b2636
DE
3302015-08-14 Doug Evans <xdje42@gmail.com>
331
332 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
333 inferior before selecting a new file.
334
6ff0ba5f
DE
3352015-08-14 Doug Evans <xdje42@gmail.com>
336
337 * gdb.mi/mi-disassemble.exp: Update.
338 * gdb.base/disasm-optim.S: New file.
339 * gdb.base/disasm-optim.c: New file.
340 * gdb.base/disasm-optim.h: New file.
341 * gdb.base/disasm-optim.exp: New file.
342
9ca98f92
KS
3432015-08-14 Keith Seitz <keiths@redhat.com>
344
345 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
346 "evaluated-by".
347
52bbc560
JB
3482015-08-13 Joel Brobecker <brobecker@adacore.com>
349
350 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
351
5d8c3ed3
PMR
3522015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
353
354 * gdb.ada/fun_renaming.exp: New testcase.
355 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
356 * gdb.ada/fun_renaming/pack.adb: New file.
357 * gdb.ada/fun_renaming/pack.ads: New file.
358
ea8812bc
KS
3592015-08-12 Keith Seitz <keiths@redhat.com>
360
361 * gdb.base/dso2dso.exp: Pass basename of source file in call to
362 gdb_get_line_number.
363
4dafcdeb
JB
3642015-08-12 Joel Brobecker <brobecker@adacore.com>
365
366 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
367 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
368 gdb.base/dso2dso.exp: New files.
369
5ba32597
SDJ
3702015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
371 Pedro Alves <palves@redhat.com>
372 Keith Seitz <keiths@redhat.com>
373
374 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
375 GDBFLAGS.
376
b6dafabf
PP
3772015-08-12 Patrick Palka <patrick@parcs.ath.cx>
378
379 * gdb.base/gdbhistsize-history.exp
380 (test_histsize_history_setting): Use save_vars.
381 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
382 Use save_vars.
383 (test_no_truncation_of_unlimited_history_file): Use save_vars.
384 * gdb.base/readline.exp: Use save_vars.
385
abe8e607
PP
3862015-08-12 Patrick Palka <patrick@parcs.ath.cx>
387
388 * lib/gdb.exp (save_vars): New proc.
389
629500fa
KS
3902015-08-11 Keith Seitz <keiths@redhat.com>
391
392 * gdb.base/help.exp: Update help_breakpoint_text.
393
eb8c4e2e
KS
3942015-08-11 Keith Seitz <keiths@redhat.com>
395
396 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
397 (at toplevel): Call test_explicit_breakpoints.
398 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
399 breakpoints.
400 * lib/mi-support.exp (mi_make_breakpoint): Add support for
401 breakpoint conditions, "-cond".
402
87f0e720
KS
4032015-08-11 Keith Seitz <keiths@redhat.com>
404
405 * gdb.linespec/3explicit.c: New file.
406 * gdb.linespec/cpexplicit.cc: New file.
407 * gdb.linespec/cpexplicit.exp: New file.
408 * gdb.linespec/explicit.c: New file.
409 * gdb.linespec/explicit.exp: New file.
410 * gdb.linespec/explicit2.c: New file.
411 * gdb.linespec/ls-errs.exp: Add explicit location tests.
412 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
413 before using in the matching pattern.
414 Clarify that `prefix' is a regular expression.
415
f00aae0f
KS
4162015-08-11 Keith Seitz <keiths@redhat.com>
417
418 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
419 test.
420 Add tests for missing ",FMT" and ",".
421
e27852be
DE
4222015-08-10 Doug Evans <dje@google.com>
423 Keith Seitz <keiths@redhat.com>
424
425 PR gdb/17960
426 * gdb.base/completion.exp: Add location completer tests.
427
7f03bd92
PA
4282015-08-07 Pedro Alves <palves@redhat.com>
429
430 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
431 tests here.
432 (top level): Run do_test with and without displaced stepping.
433
3fc8eb30
PA
4342015-08-07 Pedro Alves <palves@redhat.com>
435
436 * gdb.base/valgrind-disp-step.c: New file.
437 * gdb.base/valgrind-disp-step.exp: New file.
438
d4569d7b
PA
4392015-08-07 Pedro Alves <palves@redhat.com>
440
441 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
442 Delete function.
443 (main): Add alarm. Run an infinite loop instead of calling
444 wait_threads.
445 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
446 comment.
447 * gdb.threads/step-over-trips-on-watchpoint.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-trips-on-watchpoint.exp (do_test): Change
452 comment.
453
e1316e60
PA
4542015-08-07 Pedro Alves <palves@redhat.com>
455
456 * gdb.base/checkpoint-ns.exp: New file.
457 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
458 standard_testfile.
459
da8c46d2
MM
4602015-08-07 Markus Metzger <markus.t.metzger@intel.com>
461
462 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
463 * gdb.btrace/instruction_history.exp: Update.
464 * gdb.btrace/tsx.exp: New.
465 * gdb.btrace/tsx.c: New.
466
de1c2c52
PA
4672015-08-06 Pedro Alves <palves@redhat.com>
468
469 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
470 increase timeout.
471 * gdb.reverse/until-precsave.exp: Bump timeouts.
472
782e0bf4
PA
4732015-08-06 Pedro Alves <palves@redhat.com>
474
475 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
476
83e97ed0
PA
4772015-08-06 Pedro Alves <palves@redhat.com>
478
479 PR gdb/18749
480 * gdb.threads/process-dies-while-handling-bp.c: New file.
481 * gdb.threads/process-dies-while-handling-bp.exp: New file.
482
863d01bd
PA
4832015-08-06 Pedro Alves <palves@redhat.com>
484
485 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
486 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
487
0a39bb32
PA
4882015-08-05 Pedro Alves <palves@redhat.com>
489
490 * gdb.threads/next-while-other-thread-longjmps.c: New file.
491 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
492
ee2d2b10
SL
4932015-08-03 Sandra Loosemore <sandra@codesourcery.com>
494
495 * gdb.base/bp-permanent.exp: Report test as unsupported if
496 the target cannot stop at the permanent breakpoint.
497
4e1bdb00
DE
4982015-08-03 Doug Evans <dje@google.com>
499
500 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
501 10000.
502
3d338901
DE
5032015-08-03 Doug Evans <dje@google.com>
504
505 * Makefile.in (workers/%.worker, build-perf): New rule.
506 (GDB_PERFTEST_MODE): New variable.
507 (check-perf): Use it.
508 (clean): Clean up gdb.perf parallel build subdirs.
509 * lib/build-piece.exp: New file.
510 * lib/gdb.exp (make_gdb_parallel_path): New function
511 (standard_output_file, standard_temp_file): Call it.
512 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
513 of $GDB_PARALLEL.
514 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
515
af061d3e
DE
5162015-08-03 Doug Evans <dje@google.com>
517
8e1afc81 518 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
519 (LOG_FILE_NAME): New global.
520 (TextReporter.__init__): Initialize self.txt_sum.
521 (TextReporter.report): Add support for multiple data-points.
522 Move report to perftest.sum, put raw data in perftest.log.
523 (TextReporter.start): Open sum and log files.
524 (TextReporter.end): Close sum and log files.
8e1afc81
DE
525 * gdb.perf/lib/perftest/testresult.py
526 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 527
2c8c5d37
PA
5282015-07-31 Pedro Alves <palves@redhat.com>
529
530 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
531 Use spawn_id_get_pid. Wait for spawn id after eof. Use
532 kill_wait_spawned_process instead of explicit "kill -9".
533 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
534 returning a spawn id instead of a pid. Use spawn_id_get_pid and
535 kill_wait_spawned_process.
536 * gdb.base/attach-twice.exp: Likewise.
537 * gdb.base/attach.exp: Likewise.
538 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
539 gdb_test_multiple.
540 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
541 returning a spawn id instead of a pid. Use spawn_id_get_pid and
542 kill_wait_spawned_process.
543 * gdb.base/valgrind-infcall.exp: Likewise.
544 * gdb.multi/multi-attach.exp: Likewise.
545 * gdb.python/py-prompt.exp: Likewise.
546 * gdb.python/py-sync-interp.exp: Likewise.
547 * gdb.server/ext-attach.exp: Likewise.
548 * gdb.threads/attach-into-signal.exp (corefunc): Use
549 spawn_wait_for_attach, spawn_id_get_pid and
550 kill_wait_spawned_process.
551 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
552 spawn_wait_for_attach returning a spawn id instead of a pid. Use
553 spawn_id_get_pid and kill_wait_spawned_process.
554 * gdb.threads/attach-stopped.exp (corefunc): Use
555 spawn_wait_for_attach, spawn_id_get_pid and
556 kill_wait_spawned_process.
557 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
558 Use spawn_id_get_pid. Wait for spawn id after eof. Use
559 kill_wait_spawned_process instead of explicit "kill -9".
560 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
561 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
562 (spawn_wait_for_attach): Use spawn instead of exec to spawn
563 processes. Don't map cygwin/windows pids here. Now returns a
564 spawn id list.
565
032a0fca
SL
5662015-07-30 Sandra Loosemore <sandra@codesourcery.com>
567
568 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
569 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
570 correct patch.
571
61a934ca
SL
5722015-07-30 Sandra Loosemore <sandra@codesourcery.com>
573
574 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
575
4bc4d428
SL
5762015-07-30 Sandra Loosemore <sandra@codesourcery.com>
577
578 Reapply:
579 2014-05-21 Mark Wielaard <mjw@redhat.com>
580
581 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
582
998d452a
PA
5832015-07-30 Pedro Alves <palves@redhat.com>
584
585 * linux-low.c (handle_extended_wait): Set the child's last
586 reported status to TARGET_WAITKIND_STOPPED.
587
69dde7dc
PA
5882015-07-30 Pedro Alves <palves@redhat.com>
589
590 PR threads/18600
591 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
592 only shows inferior 1.
593
4dd63d48
PA
5942015-07-30 Simon Marchi <simon.marchi@ericsson.com>
595 Pedro Alves <palves@redhat.com>
596
597 PR threads/18600
598 * gdb.threads/fork-plus-threads.c: New file.
599 * gdb.threads/fork-plus-threads.exp: New file.
600
d618e4c5
PP
6012015-07-29 Patrick Palka <patrick@parcs.ath.cx>
602
603 * gdb.base/batch-preserve-term-settings.exp
604 (test_terminal_settings_preserved_after_cli_exit): Use
605 send_quit_command.
606
1eef6428
PA
6072015-07-29 Pedro Alves <palves@redhat.com>
608 Don Breazeal <donb@codesourcery.com>
609
610 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
611 output from both inferior_spawn_id and gdb_spawn_id.
612
7da5b897
SDJ
6132015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
614
615 * gdb.threads/attach-into-signal.exp (corefunc): Use
616 with_test_prefix on nested loops, uniquefying the test messages.
617
dac804df
SDJ
6182015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
619
620 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
621 commit.
622
06265e53
PP
6232015-07-29 Patrick Palka <patrick@parcs.ath.cx>
624
625 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
626 New proc.
627 (test_terminal_settings_preserved_after_sigterm): New test.
628
18206ca3
PP
6292015-07-29 Patrick Palka <patrick@parcs.ath.cx>
630
631 * gdb.base/batch-preserve-term-settings.exp
632 (test_terminal_settings_preserved_after_cli_exit): New test.
633
90074d11
PP
6342015-07-29 Patrick Palka <patrick@parcs.ath.cx>
635
636 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
637 manipulation of saved_gdbflags.
638 (test_terminal_settings_preserved): Remove global declaration of
639 the unused variable pagination_prompt. Remove manipulation of
640 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
641 GDBFLAGS.
642
eb1a7902
PA
6432015-07-29 Pedro Alves <palves@redhat.com>
644
645 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
646
8b75dd3b
PA
6472015-07-29 Pedro Alves <palves@redhat.com>
648
649 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
650 at the top.
651
dedad4e3
PA
6522015-07-29 Pedro Alves <palves@redhat.com>
653
654 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
655 (main): Call gdb_unbuffer_output.
656 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
657 (main): Call gdb_unbuffer_output.
658 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
659 (main): Call gdb_unbuffer_output.
660 * gdb.base/call-strs.exp: Adjust to step over the
661 gdb_unbuffer_output call.
662 * gdb.base/catch-gdb-caused-signals.c: Include
663 "../lib/unbuffer_output.c".
664 (main): Call gdb_unbuffer_output.
665 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
666 (main): Call gdb_unbuffer_output.
667 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
668 (main): Call gdb_unbuffer_output.
669 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
670 (main): Call gdb_unbuffer_output.
671 * gdb.base/shlib-call.exp: Adjust to step over the
672 gdb_unbuffer_output call.
673 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
674 (main): Call gdb_unbuffer_output.
675 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
676 (main): Call gdb_unbuffer_output.
677 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
678 (main): Rename to ...
679 (test): ... this.
680 (main): Reimplement.
681 * gdb.base/varargs.exp: Run to test instead of to main.
682 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
683 (main): Call gdb_unbuffer_output.
684
58789a91
PA
6852015-07-29 Pedro Alves <palves@redhat.com>
686
687 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
688 factore out from mi_continue_dprintf. For call-style dprintfs,
689 expect dprintf output out of $inferior_spawn_id.
690 (mi_continue_dprintf): Use mi_expect_dprintf.
691 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
692 (main): Call gdb_unbuffer_output.
693
e8376742
PA
6942015-07-29 Pedro Alves <palves@redhat.com>
695
696 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
697 (default_mi_gdb_start): Set inferior_spawn_id instead of
698 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
699 gdb_spawn_id.
700 (mi_gdb_test): Always expect inferior output from both
701 $inferior_spawn_id and $gdb_spawn_id.
702
08280010
PA
7032015-07-29 Pedro Alves <palves@redhat.com>
704
705 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
706 send_inferior and $inferior_spawn_id.
707
4d30e432
PA
7082015-07-29 Pedro Alves <palves@redhat.com>
709
710 * gdb.gdb/complaints.exp (test_initial_complaints)
711 (test_serial_complaints, test_short_complaints): Use
712 gdb_test_stdio.
713 (test_empty_complaint): Handle $inferior_spawn_id !=
714 $gdb_spawn_id.
715
0d30a335
PA
7162015-07-29 Pedro Alves <palves@redhat.com>
717
718 * gdb.base/varargs.exp: Use gdb_test_stdio.
719
39413b29
PA
7202015-07-29 Pedro Alves <palves@redhat.com>
721
722 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
723
7cb000a9
PA
7242015-07-29 Pedro Alves <palves@redhat.com>
725
726 * gdb.base/ending-run.exp: Use gdb_test_stdio.
727
d7b8ac82
PA
7282015-07-29 Pedro Alves <palves@redhat.com>
729
730 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
731 parameter into two new parameters, "inf_result" and "gdb_result".
732 Expect inferior output and gdb output from $inferior_spawn_id and
733 $gdb_spawn_id, respectively. Adjust all callers.
734
789c3a0c
PA
7352015-07-29 Pedro Alves <palves@redhat.com>
736
737 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
738 of gdb_test_sequence.
739
77e760c3
PA
7402015-07-29 Pedro Alves <palves@redhat.com>
741
742 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
743 (saw_spurious_output): Expect inferior output from
744 $inferior_spawn_id. Use gdb_test_stdio.
745
8396d2cd
PA
7462015-07-29 Pedro Alves <palves@redhat.com>
747
748 * gdb.base/dprintf.exp: Use standard_testfile. Change
749 prepare_for_testing call.
750 (srcfile): Don't set.
751 (restart): New procedure.
752 (test_dprintf): New procecure, use to continue over dprintfs.
753 (test_call, test_agent): New procedures, tests moved here.
754 Restart gdb and recreate dprintfs. Adjust expected output.
755
2051d61f
PA
7562015-07-29 Pedro Alves <palves@redhat.com>
757
758 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
759
452397af
PA
7602015-07-29 Pedro Alves <palves@redhat.com>
761
762 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
763
8aed9555
PA
7642015-07-29 Pedro Alves <palves@redhat.com>
765
766 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
767 gdb_test_stdio.
768
188a61b4
PA
7692015-07-29 Pedro Alves <palves@redhat.com>
770
771 * lib/gdb.exp (gdb_test_stdio): New procedure.
772
12264a45
PA
7732015-07-29 Pedro Alves <palves@redhat.com>
774
775 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
776
23ffc893
PA
7772015-07-29 Pedro Alves <palves@redhat.com>
778
779 * gdb.base/call-signal-resume.exp: Remove check for
780 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
781 * gdb.base/unwindonsignal.exp: Likewise.
782 * gdb.base/call-signals.c (gen_signal): Remove printf call.
783 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
784
65566918
PA
7852015-07-29 Pedro Alves <palves@redhat.com>
786
787 * gdb.base/siginfo-addr.c (pass): New function.
788 (handler): Call it iff si_addr is correct.
789 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
790 Set a breakpoint at "pass" and continue to it.
791
d60a9221
SDJ
7922015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
793
794 * gdb.python/py-objfile.exp: Make some tests have unique names.
795 * gdb.python/py-pp-registration.exp: Likewise.
796
bde40b8f
PA
7972015-07-28 Pedro Alves <palves@redhat.com>
798
799 * gdb.server/server-exec-info.exp: Issue a "disconnect".
800
13e1dec8
SM
8012015-07-27 Simon Marchi <simon.marchi@ericsson.com>
802
803 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
804
da33c9a7
SM
8052015-07-27 Simon Marchi <simon.marchi@ericsson.com>
806
807 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
808
077836f7
PP
8092015-07-27 Patrick Palka <patrick@parcs.ath.cx>
810
811 * gdb.base/gdb-sigterm-2.exp: New test.
812
b8cc7b2e
DE
8132015-07-25 Doug Evans <xdje42@gmail.com>
814
815 Revert:
816 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
817 (workers/%.worker, build-perf): New rule.
818 (GDB_PERFTEST_MODE): New variable.
819 (check-perf): Use it.
820 (clean): Clean up gdb.perf parallel build subdirs.
821 * lib/build-piece.exp: New file.
822 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
823 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
824 name.
825 (standard_temp_file): Ditto.
826 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
827 of $GDB_PARALLEL.
828
c8bd4544
DE
8292015-07-24 Doug Evans <dje@google.com>
830
831 * gdb.perf/lib/perftest/utils.py: New file.
832 * gdb.perf/gm-hello.cc: New file.
833 * gdb.perf/gm-pervasive-typedef.cc: New file.
834 * gdb.perf/gm-pervasive-typedef.h: New file.
835 * gdb.perf/gm-std.cc: New file.
836 * gdb.perf/gm-std.h: New file.
837 * gdb.perf/gm-use-cerr.cc: New file.
838 * gdb.perf/gm-utils.h: New file.
839 * gdb.perf/gmonster-null-lookup.py: New file.
840 * gdb.perf/gmonster-pervasive-typedef.py: New file.
841 * gdb.perf/gmonster-print-cerr.py: New file.
842 * gdb.perf/gmonster-ptype-string.py: New file.
843 * gdb.perf/gmonster-runto-main.py: New file.
844 * gdb.perf/gmonster-select-file.py: New file.
845 * gdb.perf/gmonster1-null-lookup.exp: New file.
846 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
847 * gdb.perf/gmonster1-print-cerr.exp: New file.
848 * gdb.perf/gmonster1-ptype-string.exp: New file.
849 * gdb.perf/gmonster1-runto-main.exp: New file.
850 * gdb.perf/gmonster1-select-file.exp: New file.
851 * gdb.perf/gmonster1.cc: New file.
852 * gdb.perf/gmonster1.exp: New file.
853 * gdb.perf/gmonster2-null-lookup.exp: New file.
854 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
855 * gdb.perf/gmonster2-print-cerr.exp: New file.
856 * gdb.perf/gmonster2-ptype-string.exp: New file.
857 * gdb.perf/gmonster2-runto-main.exp: New file.
858 * gdb.perf/gmonster2-select-file.exp: New file.
859 * gdb.perf/gmonster2.cc: New file.
860 * gdb.perf/gmonster2.exp: New file.
861
6eab34f3
DE
8622015-07-24 Doug Evans <dje@google.com>
863
864 * gdb.perf/README: New file.
865 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
866 * lib/gen-perf-test.exp: New file.
867
63738bfd
DE
8682015-07-24 Doug Evans <dje@google.com>
869
870 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
871 (PerfTest::startup): New function.
872 (PerfTest::run): Return result of calling body.
873 (PerfTest::assemble): Rewrite.
874 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
875 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
876 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
877 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
878 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
879
7b606f95
DE
8802015-07-24 Doug Evans <dje@google.com>
881
882 * lib/gdb.exp (clean_restart): Make executable optional.
883
a97b16b8
DE
8842015-07-24 Doug Evans <dje@google.com>
885
886 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
887 compiler_info references.
888 * gdb.cp/temargs.exp: Ditto.
889 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
890 (get_compiler_info): Early exit if already computed. Set compiler_info
891 to "unknown" if there was a problem.
892 (test_compiler_info): Add function comment. Call get_compiler_info.
893
35baa57f
DE
8942015-07-24 Doug Evans <dje@google.com>
895
896 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
897 (workers/%.worker, build-perf): New rule.
898 (GDB_PERFTEST_MODE): New variable.
899 (check-perf): Use it.
900 (clean): Clean up gdb.perf parallel build subdirs.
901 * lib/build-piece.exp: New file.
902 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
903 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
904 name.
905 (standard_temp_file): Ditto.
906 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
907 of $GDB_PARALLEL.
908
6ebea266
DE
9092015-07-24 Doug Evans <dje@google.com>
910
911 * lib/future.exp (gdb_default_target_compile): New option
912 "early_flags".
913 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
914 --as-needed.
915
1e76a7e9
SDJ
9162015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
917
918 * gdb.base/catch-syscall.exp: Call gdb_exit before
919 gdb_skip_xml_test.
920
5068630a
PA
9212015-07-24 Pedro Alves <palves@redhat.com>
922
923 * gdb.python/py-events.exp: Accept output between the stop event
924 and the prompt.
925 * gdb.python/py-evsignal.exp: Likewise.
926 * gdb.python/py-evthreads.exp: Likewise.
927
77598427
PA
9282015-07-24 Pedro Alves <palves@redhat.com>
929
930 PR gdb/18717
931 * gdb.threads/non-ldr-exit.c: New file.
932 * gdb.threads/non-ldr-exit.exp: New file.
933
11e6c98f
YQ
9342015-07-24 Yao Qi <yao.qi@linaro.org>
935
936 * gdb.server/ext-wrapper.exp: Test --wrapper option when
937 restarting process.
938
51aee833
YQ
9392015-07-24 Yao Qi <yao.qi@linaro.org>
940
941 * gdb.server/ext-restart.exp: New file.
942
8cfe207c
YQ
9432015-07-24 Yao Qi <yao.qi@linaro.org>
944
945 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
946 argument options.
947 * gdb.server/ext-wrapper.exp: New file.
948
cc12ce38
DE
9492015-07-23 Doug Evans <dje@google.com>
950
951 * gdb.dwarf2/dw2-dummy-cu.S: New file.
952 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
953
d0d84780
PMR
9542015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
955
956 * gdb.ada/var_arr_typedef.exp: New testcase.
957 * gdb.ada/var_arr_typedef/pack.adb: New file.
958 * gdb.ada/var_arr_typedef/pack.ads: New file.
959 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
960
8b558f79
JB
9612015-07-20 Joel Brobecker <brobecker@adacore.com>
962
963 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
964
775a3298
JK
9652015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
966
967 * gdb.arch/i386-biarch-core.exp: Replace istarget
968 by "complete set gnutarget". Remove expectation for the "core-file"
969 command.
970
db1ff28b
JK
9712015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
972
973 Revert the previous commit:
974 Tests for validate symbol file using build-id.
975
0a94970d
JK
9762015-07-15 Aleksandar Ristovski <aristovski@qnx.com
977
978 Tests for validate symbol file using build-id.
979 * gdb.base/solib-mismatch-lib.c: New file.
980 * gdb.base/solib-mismatch-libmod.c: New file.
981 * gdb.base/solib-mismatch.c: New file.
982 * gdb.base/solib-mismatch.exp: New file.
983
03346981
SL
9842015-07-15 Sandra Loosemore <sandra@codesourcery.com>
985
986 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
987 nios2-*-linux*.
988 * gdb.base/sigbpt.exp (stepi_out): Likewise.
989 * gdb.base/siginfo.exp: Likewise.
990 * gdb.base/sigstep.exp (advance, advancei): Likewise.
991
42422cc7
PL
9922015-07-15 Pierre Langlois <pierre.langlois@arm.com>
993
994 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
995 Move it to ...
996 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
997 ... here.
998 * gdb.trace/range-stepping.exp: Check that the target supports
999 range stepping.
1000
cfa68bae
JK
10012015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1002
1003 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1004
8ffdba26
PA
10052015-07-14 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.base/killed-outside.exp: New file.
1008 * gdb.base/killed-outside.c: New file.
1009
218a5a11
JK
10102015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1011
1012 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1013 (n at main): New.
1014 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1015
e03ed3c6
AA
10162015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1017
1018 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1019 infcall tests instead of setting up for KFAIL.
1020
485668e5
MM
10212015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1022
1023 * gdb.btrace/record_goto-step.exp: New.
1024
08464196
JK
10252015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1026
1027 PR compile/18484
1028 * gdb.compile/compile.c (struct struct_type): Add volatile to
1029 selffield's type.
1030 * gdb.compile/compile.exp
1031 (compile code struct_object.selffield = &struct_object): Skip further
1032 struct_object tests if this one xfails.
1033
bcf5c1d9
RC
10342015-07-08 Robert O'Callahan <robert@ocallahan.org>
1035
1036 PR exp/18617
1037 * gdb.trace/ax.exp: Add test.
1038
4931af25
YQ
10392015-07-07 Yao Qi <yao.qi@linaro.org>
1040
1041 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1042 instead of istarget "aarch64*-*-*".
1043 * gdb.arch/aarch64-fp.exp: Likewise.
1044 * gdb.base/float.exp: Likewise.
1045 * gdb.reverse/aarch64.exp: Likewise.
1046 * lib/gdb.exp (is_aarch64_target): New proc.
1047
9fcf688e
YQ
10482015-07-07 Yao Qi <yao.qi@linaro.org>
1049
1050 * lib/gdb.exp (is_aarch32_target): New proc.
1051 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1052 instead of "istarget "arm*-*-*"".
1053 * gdb.arch/arm-disp-step.exp: Likewise.
1054 * gdb.arch/thumb-bx-pc.exp: Likewise.
1055 * gdb.arch/thumb-prologue.exp: Likewise.
1056 * gdb.arch/thumb-singlestep.exp: Likewise.
1057 * gdb.base/disp-step-syscall.exp: Likewise.
1058 * gdb.base/float.exp: Likewise.
1059
fbd8d50d
YQ
10602015-07-07 Yao Qi <yao.qi@linaro.org>
1061
1062 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1063 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1064
71be1fdc
YQ
10652015-07-07 Yao Qi <yao.qi@linaro.org>
1066
1067 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1068 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1069 if it exists.
1070 * gdb.multi/multi-arch.exp: Likewise.
1071
3e221d36
SM
10722015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1073
1074 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1075 print.
1076
d441430b
YQ
10772015-07-07 Yao Qi <yao.qi@linaro.org>
1078
1079 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1080
06f810bd
MG
10812015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1082
1083 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1084 '[' and ']' characters.
1085
5e61e7c0
IB
10862015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1087
1088 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1089
28bf096c
PA
10902015-06-29 Pedro Alves <palves@redhat.com>
1091
1092 PR threads/18127
1093 * gdb.threads/hand-call-new-thread.c: New file.
1094 * gdb.threads/hand-call-new-thread.c: New file.
1095
ee93cd5e
KS
10962015-06-26 Keith Seitz <keiths@redhat.com>
1097 Doug Evans <dje@google.com>
1098
1099 PR 16253
1100 * gdb.cp/var-tag-2.cc: New file.
1101 * gdb.cp/var-tag-3.cc: New file.
1102 * gdb.cp/var-tag-4.cc: New file.
1103 * gdb.cp/var-tag.cc: New file.
1104 * gdb.cp/var-tag.exp: New file.
1105
fc637f04
PP
11062015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1107
1108 * gdb.base/history-duplicates.exp: New test.
1109
2e52ae68
PP
11102015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1111
1112 * gdb.base/completion.exp: Test the completion of the "focus"
1113 command.
1114
6e22494e
JK
11152015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1116
1117 * gdb.arch/amd64-prologue-skip.S: New file.
1118 * gdb.arch/amd64-prologue-skip.exp: New file.
1119
bf7b9cd9
SM
11202015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1121
1122 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1123 is_address_zero_readable check.
1124
201e8dfd
PB
11252015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1126
1127 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1128 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1129
5cd867b4
YQ
11302015-06-24 Yao Qi <yao.qi@linaro.org>
1131
1132 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1133 linux targets.
1134
4d7be007
YQ
11352015-06-24 Yao Qi <yao.qi@linaro.org>
1136
1137 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1138 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1139 * gdb.base/siginfo-thread.exp: Likewise.
1140
07fcd301
YQ
11412015-06-22 Yao Qi <yao.qi@linaro.org>
1142
1143 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1144
52042a00
YQ
11452015-06-22 Yao Qi <yao.qi@linaro.org>
1146
1147 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1148 aarch64*-*-*.
1149 (skip_hw_watchpoint_tests): Likewise.
1150
74bd41ce
PP
11512015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1152
1153 * gdb.base/gdbinit-history.exp: Test the interaction between
1154 setting GDBHISTSIZE and setting the history size via .gdbinit.
1155
bc460514
PP
11562015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1157
1158 PR gdb/16999
1159 * gdb.base/gdbhistsize-history.exp: New test.
1160
b58c513b
PP
11612015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1162
1163 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1164 with GDBHISTSIZE.
1165 * gdb.base/readline.exp: Likewise.
1166
92046791
YQ
11672015-06-17 Yao Qi <yao.qi@linaro.org>
1168
1169 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1170 line.
1171
2093d2d3
PP
11722015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1173
1174 * gdb.base/gdbinit-history.exp: Add test case to check that
1175 an unlimited history file does not get truncated on exit.
1176
e6c693af
AA
11772015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1178
1179 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1180 (VECTOR): New macro. Use it...
1181 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1182 ...for these typedefs.
1183 (int8, char1, int1, double1): New typedefs.
1184 (struct just_int2, struct two_int2): New structures.
1185 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1186 (add_structvecs, add_singlevecs): New functions.
1187 (main): Call add_some_intvecs twice.
1188 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1189 the compile and exit upon failure. Try compiling for the "native"
1190 architecture. Test inferior function calls with vector arguments
1191 and vector return value handling with "finish" and "return".
1192
c74f7d1c
JT
11932015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1194
1195 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1196 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1197 PE file.
1198 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1199
98aa42ee
AT
12002015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1201
1202 PR breakpoints/16465
1203 * gdb.mi/mi-dprintf-pending.c: New file.
1204 * gdb.mi/mi-dprintf-pending.exp: New test.
1205 * gdb.mi/mi-dprintf-pendshr.c: New file.
1206
7d73c23c 12072015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1208 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1209
1210 * gdb.arch/i386-mpx-map.c: New file.
1211 * gdb.arch/i386-mpx-map.exp: New File.
1212
12132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1214
1215 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1216 * gdb.arch/i386-mpx.exp: Indentation fixed.
1217
12182015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1219
1220 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1221 function and improved indentation.
1222 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1223 gdb_test_multiple. Added additional tests to skip the test.
1224
12252015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1226
1227 * gdb.arch/i386-avx512.c: Change path in include file.
1228 * gdb.arch/i386-avx512.exp: Change include dir path
1229 compilation flag.
1230 * gdb.arch/i386-mpx.c: Change path in include file.
1231 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1232 flag.
1233
d5eba19a
JK
12342015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1235
1236 * gdb.compile/compile-print.exp (compile print *vararray@3)
1237 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1238
7f361056
JK
12392015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1240
1241 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1242 (do not keep jit in memory): ... this.
1243 (expect 5): Change it to ...
1244 (expect no 5): ... this.
1245
3b462ec2
SM
12462015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1247
1248 PR gdb/15564
1249 * gdb.mi/mi-detach.exp: New file.
1250
e0619de6
JK
12512015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1252
1253 PR symtab/18392
1254 * gdb.arch/amd64-tailcall-self.S: New file.
1255 * gdb.arch/amd64-tailcall-self.c: New file.
1256 * gdb.arch/amd64-tailcall-self.exp: New file.
1257
e970cb34
DB
12582015-05-28 Don Breazeal <donb@codesourcery.com>
1259
1260 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1261 tests for remote targets by checking is_target_gdbserver.
1262
b2e2f908
DE
12632015-05-27 Doug Evans <dje@google.com>
1264
1265 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1266 * gdb.dwarf2/opaque-type-lookup.c: New file.
1267 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1268
82c7be31
DE
12692015-05-26 Doug Evans <dje@google.com>
1270
1271 * gdb.cp/iostream.cc: New file.
1272 * gdb.cp/iostream.exp: New file.
1273
b4f54984
DE
12742015-05-26 Doug Evans <dje@google.com>
1275
1276 * gdb.dwarf2/dw2-op-call.exp: Update.
1277 * gdb.dwarf2/dw4-sig-types.exp: Update.
1278 * gdb.dwarf2/implptr.exp: Update.
1279 * gdb.mi/mi-cmd-param-changed.exp: Update.
1280
4ea6efe9
DE
12812015-05-26 Doug Evans <dje@google.com>
1282
1283 * gdb.python/py-lazy-string.c: New file.
1284 * gdb.python/py-lazy-string.exp: New file.
1285 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1286 (main): Update. Add estring3.
1287 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1288 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1289
f6bb7db3
YQ
12902015-05-26 Omair Javaid <omair.javaid@linaro.org>
1291 Yao Qi <yao.qi@linaro.org>
1292
1293 * gdb.reverse/aarch64.c: New.
1294 * gdb.reverse/aarch64.exp: New.
1295
a81bfbd0
OJ
12962015-05-26 Omair Javaid <omair.javaid@linaro.org>
1297
1298 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1299 (supports_reverse): Likewise.
1300
158bf1b4
PP
13012015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1302
1303 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1304 Use with_test_prefix.
1305
a0145030
AB
13062015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1307
1308 * gdb.base/completion.exp: Add test for completion of layout
1309 names.
1310
ebe3b578
AB
13112015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1312
1313 * lib/gdb.exp (skip_tui_tests): New proc.
1314 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1315
84204ed7
PA
13162015-05-19 Pedro Alves <palves@redhat.com>
1317
1318 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1319 Save the whole env array instead of just HOME. Unset HISTSIZE in
1320 the environment while testing. Restore whole environment
1321 afterwards.
1322
37442ce1
DE
13232015-05-16 Doug Evans <xdje42@gmail.com>
1324
1325 * gdb.guile/scm-ports.c: New file.
1326 * gdb.guile/scm-ports.exp: Add memory port tests.
1327
36de76f9
JK
13282015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1329
1330 * gdb.compile/compile-print.c: New file.
1331 * gdb.compile/compile-print.exp: New file.
1332
3a9558c4
JK
13332015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1334
1335 * gdb.compile/compile-ops.exp: Cast param to void.
1336 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1337 (compile code struct_object.selffield = &struct_object): Add xfail.
1338
aa715135
JG
13392015-05-15 Joel Brobecker <brobecker@adacore.com>
1340
1341 * gdb.ada/arr_enum_with_gap: New testcase.
1342
931e5bc3
JG
13432015-05-15 Joel Brobecker <brobecker@adacore.com>
1344
1345 * gdb.ada/byte_packed_arr: New testcase.
1346
9cd4d857
JB
13472015-05-15 Joel Brobecker <brobecker@adacore.com>
1348
1349 * gdb.ada/pckd_neg: New testcase.
1350
ebfd00d2
PP
13512015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1352
1353 PR gdb/17820
1354 * gdb.base/gdbinit-history.exp: New test.
1355 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1356 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1357
4c082a81
SC
13582015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1359
1360 * gdb.python/py-xmethods.cc: Enhance test case.
1361 * gdb.python/py-xmethods.exp: New tests.
1362 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1363 function.
1364 (B_indexoper): Likewise.
1365 (global_dm_list) : Add new xmethod worker functions.
1366
f7797074
SDJ
13672015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1368
1369 * gdb.base/coredump-filter.exp: Correctly unset
1370 "coredump_var_addr" array.
1371
a4674e4e
PA
13722015-05-08 Pedro Alves <palves@redhat.com>
1373
1374 * gdb.server/non-existing-program.exp: Unset spawn_id.
1375
df2eb078
SC
13762015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1377
1378 PR python/18291
1379 * gdb.python/py-xmethods.exp: Add tests.
1380
422349a3
YQ
13812015-05-08 Yao Qi <yao.qi@linaro.org>
1382
1383 PR gdb/18208
1384 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1385 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1386 function set_coredump_filter, and remove remote_exec call.
1387 Remove argument ipid. Callers update.
1388 (top level): Don't get inferior's PID.
1389
63fc80ce
AA
13902015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1391
1392 * gdb.base/watch_thread_num.exp: Skip test on targets without
1393 access watchpoints.
1394
80ad801e
PA
13952015-05-06 Pedro Alves <palves@redhat.com>
1396
1397 PR server/18081
1398 * gdb.server/non-existing-program.exp: New file.
1399
0fa7fe50
JB
14002015-05-05 Joel Brobecker <brobecker@adacore.com>
1401
1402 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1403
3ea89b92
PMR
14042015-05-05 Joel Brobecker <brobecker@adacore.com>
1405
1406 * gdb.ada/out_of_line_in_inlined: New testcase.
1407
87b8eff0
JB
14082015-05-05 Joel Brobecker <brobecker@adacore.com>
1409
1410 * gdb.ada/var_rec_arr: New testcase.
1411
5fccc635
YQ
14122015-04-30 Yao Qi <yao.qi@linaro.org>
1413
1414 * gdb.base/break-idempotent.exp: If
1415 skip_hw_watchpoint_multi_tests returns true, skip the tests
1416 on "rwatch" and "awatch".
1417
42d38f42
YQ
14182015-04-30 Yao Qi <yao.qi@linaro.org>
1419
1420 * gdb.base/relativedebug.exp: Invoke gdb command
1421 "info sharedlibrary", and if libc.so doesn't have debug info,
1422 skip the test.
1423
2ce1cdbf
DE
14242015-04-29 Doug Evans <dje@google.com>
1425
1426 * gdb.python/py-xmethods.exp: Add ptype tests.
1427 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1428 get_result_type method.
1429
f24a38c5
LM
14302015-04-29 Luis Machado <lgustavo@codesourcery.com>
1431
1432 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1433 the target does not support hardware watchpoints.
1434
ecbf2b3c
LM
14352015-04-29 Luis Machado <lgustavo@codesourcery.com>
1436
1437 * gdb.base/break-always.exp: Abort testing if writing to memory
1438 causes an error.
1439
34f5f757
DE
14402015-04-28 Doug Evans <dje@google.com>
1441
1442 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1443 * gdb.python/py-pp-registration.exp: ... here. New file.
1444 * gdb.python/py-pp-registration.c: New file.
1445 * gdb.python/py-pp-registration.py: New file.
1446
69b4374a
DE
14472015-04-28 Doug Evans <dje@google.com>
1448
1449 * gdb.python/py-bad-printers.c: New file.
1450 * gdb.python/py-bad-printers.py: New file.
1451 * gdb.python/py-bad-printers.exp: New file.
1452
59fb7612
SS
14532015-04-28 Sasha Smundak <asmundak@google.com>
1454
1455 * gdb.python/py-type.exp: New test.
1456
2631b16a
AW
14572015-04-28 Andy Wingo <wingo@igalia.com>
1458
1459 * gdb.python/py-parameter.exp:
1460 * gdb.guile/scm-parameter.exp: Escape the path that we are
1461 matching against, as it might contain characters that are special
1462 to regular expressions.
1463
460efde1
JB
14642015-04-27 Joel Brobecker <brobecker@adacore.com>
1465
1466 * gdb.ada/rec_comp: New testcase.
1467
2d369d8e
SDJ
14682015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1469
1470 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1471 before using it.
1472
cf75d6c3
AB
14732015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1474
1475 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1476 new tests for verilog output.
1477
8dbe7ca5
YQ
14782015-04-24 Yao Qi <yao.qi@linaro.org>
1479
1480 * boards/remote-gdbserver-on-localhost.exp: New file.
1481
4ef9fb2f
PA
14822015-04-23 Pedro Alves <palves@redhat.com>
1483
1484 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1485 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1486 "end of file", remove $inferior_spawn_id from the indirect list.
1487
0a803169
PA
14882015-04-23 Pedro Alves <palves@redhat.com>
1489
1490 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1491
749ef8f8
PA
14922015-04-23 Pedro Alves <palves@redhat.com>
1493
1494 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1495 on $any_spawn_id instead of only on $gdb_spawn_id.
1496
8aae4344
PM
14972015-04-21 Pierre Muller <muller@sourceware.org>
1498
1499 PR pascal/17815
1500 * lib/pascal.exp (gpc_compile): Add new option "class".
1501 (fpc_compile): Likewise.
1502 * gdb.pascal/case-insensitive-symbols.pas: New file.
1503 * gdb.pascal/case-insensitive-symbols.exp: New file.
1504
1586c8fb
GB
15052015-04-20 Gary Benson <gbenson@redhat.com>
1506
1507 * gdb.base/attach.exp: Fix three extended remote failures.
1508
1b6e6f5c
GB
15092015-04-17 Gary Benson <gbenson@redhat.com>
1510
1511 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1512 the main executable over the remote protocol.
1513
e797481d
PA
15142015-04-16 Pedro Alves <palves@redhat.com>
1515
1516 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1517 a new gdbserver if gdbserver_reconnect_p is set.
1518
1ca99c42
PA
15192015-04-16 Pedro Alves <palves@redhat.com>
1520
1521 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1522 is set, don't exit gdbserver.
1523
af9fd6f8
AA
15242015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1525
1526 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1527 appropriate .insn, such that an older assembler can be used.
1528 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1529 the z/Architecture instruction set on 31-bit targets as well.
1530
04ff1e61
AA
15312015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1532
1533 * gdb.go/handcall.exp: Remove all logic related to the first
1534 breakpoint and rely on go_runto_main instead.
1535 * gdb.go/strings.exp: Likewise.
1536 * gdb.go/unsafe.exp: Likewise.
1537 * gdb.go/hello.exp: Likewise. Also rename the remaining
1538 breakpoint marker to "breakpoint 1".
1539 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1540 * gdb.go/strings.go: Likewise.
1541 * gdb.go/unsafe.go: Likewise.
1542 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1543 "set breakpoint 2 here" and rename the remaining breakpoint marker
1544 to "breakpoint 1".
1545
40d2f8d6
SM
15462015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1547
1548 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1549 if itertools.imap is not present.
1550 * gdb.python/py-objfile.exp: Add parentheses.
1551 * gdb.python/py-type.exp: Same.
1552 * gdb.python/py-unwind-maint.py: Same.
1553
8cbc97c6
YQ
15542015-04-15 Yao Qi <yao.qi@linaro.org>
1555
1556 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1557 of ":$ptr_size" and set its form explicitly.
1558
45fd756c
YQ
15592015-04-15 Pedro Alves <palves@redhat.com>
1560 Yao Qi <yao.qi@linaro.org>
1561
1562 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1563 timeout by factor of 4.
1564 (test_regular_watch): Likewise.
1565 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1566 * gdb.reverse/sigall-reverse.exp: Likewise.
1567 * gdb.reverse/until-precsave.exp: Likewise.
1568 * lib/gdb.exp (with_timeout_factor): New proc.
1569 (gdb_expect): Move some code to ...
1570 (get_largest_timeout): ... here. New procedure.
1571
9e811bc3
LM
15722015-04-14 Luis Machado <lgustavo@codesourcery.com>
1573
1574 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1575
0ff6fcb2
LM
15762015-04-13 Luis Machado <lgustavo@codesourcery.com>
1577
1578 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1579 to write to the .text section.
1580
7578d5f7
LM
15812015-04-13 Luis Machado <lgustavo@codesourcery.com>
1582
1583 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1584 Handle the case of targets that do not provide PID information.
1585
2efe15c4
YQ
15862015-04-13 Yao Qi <yao.qi@linaro.org>
1587
1588 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1589 and use expect instead of gdb_expect.
1590
8cd8f2f8
SDJ
15912015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1592
1593 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1594 "coredump_var_addr" to avoid naming conflict with other testcases.
1595
9ee41772
PA
15962015-04-10 Pedro Alves <palves@redhat.com>
1597
1598 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1599 gdb_test_sequence and gdb_assert.
1600
07473109
PA
16012015-04-10 Pedro Alves <palves@redhat.com>
1602
1603 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1604 test messages that don't include the breakpoint address.
1605
de3db44c
YQ
16062015-04-10 Yao Qi <yao.qi@linaro.org>
1607
1608 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1609 false for some offset and width combinations which aren't
1610 supported by linux kernel.
1611
c79d856c
PA
16122015-04-10 Pedro Alves <palves@redhat.com>
1613
1614 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1615 procedure, factored out from ...
1616 (top level): ... here. Add "set displaced-stepping" testing axis.
1617 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1618 parameter "displaced". Use it.
1619 (top level): Use foreach and add "set displaced-stepping" testing
1620 axis.
1621
ebc90b50
PA
16222015-04-10 Pedro Alves <palves@redhat.com>
1623
1624 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1625 Remove comment.
1626 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1627 both the address of the instruction that triggers the watchpoint
1628 and the address of the instruction immediately after, and use
1629 those addresses for the test. Fix comment.
1630
8f572e5c
PA
16312015-04-10 Pedro Alves <palves@redhat.com>
1632
1633 * gdb.base/sigstep.exp (breakpoint_to_handler)
1634 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1635 Test "backtrace" in handler.
1636 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1637 (top level): Add new "displaced" test axis to
1638 breakpoint_to_handler, breakpoint_to_handler_entry and
1639 breakpoint_over_handler.
1640
8d707a12
PA
16412015-04-10 Pedro Alves <palves@redhat.com>
1642
1643 PR gdb/18216
1644 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1645
ef713951
YQ
16462015-04-10 Yao Qi <yao.qi@linaro.org>
1647
1648 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1649 (test_add_rn_pc): New function.
1650 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1651 (top level): Invoke test_add_rn_pc.
1652
906d60cf
PA
16532015-04-10 Pedro Alves <palves@redhat.com>
1654
1655 PR gdb/13858
1656 * gdb.base/step-over-no-symbols.exp: New file.
1657
f2983cc3
AW
16582015-04-09 Andy Wingo <wingo@igalia.com>
1659
1660 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1661 after the Python tests.
1662
6d62641c
SDJ
16632015-04-08 Keith Seitz <keiths@redhat.com>
1664
1665 PR python/16699
1666 * gdb.python/py-completion.exp: New tests for completion.
1667 * gdb.python/py-completion.py (CompleteLimit1): New class.
1668 (CompleteLimit2): Likewise.
1669 (CompleteLimit3): Likewise.
1670 (CompleteLimit4): Likewise.
1671 (CompleteLimit5): Likewise.
1672 (CompleteLimit6): Likewise.
1673 (CompleteLimit7): Likewise.
1674
f3770638
PA
16752015-04-08 Pedro Alves <palves@redhat.com>
1676
1677 PR gdb/18214
1678 PR gdb/18216
1679 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1680 function.
1681 (main): Install it as SIGUSR1 handler.
1682 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1683 parameter. Always use "setup" as prefix. Toggle "set
1684 displaced-stepping" off/on depending on global. Don't switch to
1685 thread 1 here.
1686 (top level): Add displaced stepping "off/on" test axis. Update
1687 "setup" calls. Wrap each subtest with with_test_prefix. Test
1688 continuing with a queued signal in each thread.
1689
4496bed7
PA
16902015-04-08 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1693 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1694 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1695 Return early if running to main fails.
1696 * gdb.trace/while-stepping.exp: Likewise.
1697
b97fde92
PA
16982015-04-07 Pedro Alves <palves@redhat.com>
1699
1700 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1701 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1702 interact with inferior program.
1703
f71c18e7
PA
17042015-04-07 Pedro Alves <palves@redhat.com>
1705
1706 * lib/gdb.exp (inferior_spawn_id): New global.
1707 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1708 spawn id after processing the user code.
1709 (default_gdb_start): Set inferior_spawn_id.
1710 (send_inferior): New procedure.
1711 * lib/gdbserver-support.exp (gdbserver_start): Set
1712 inferior_spawn_id.
1713 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1714
6423214f
PA
17152015-04-07 Pedro Alves <palves@redhat.com>
1716
1717 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1718 * lib/gdbserver-support.exp (gdbserver_start): Make
1719 $server_spawn_id global.
1720 (gdbserver_start): Don't wait for gdbserver's spawn id with
1721 expect_background.
1722 (close_gdbserver): New procedure.
1723 (gdb_exit): Rename the default version and reimplement.
1724
71c0ee8c
PA
17252015-04-07 Pedro Alves <palves@redhat.com>
1726
72f4393d 1727 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1728 append the substituted item, not the original item.
1729
203bc29b
PA
17302015-04-07 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1733 gdb_expect.
1734
508a3ddf
PA
17352015-04-07 Pedro Alves <palves@redhat.com>
1736
1737 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1738 output appearing once only.
1739
9f6dbe2b
PA
17402015-04-07 Pedro Alves <palves@redhat.com>
1741
1742 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1743 that doesn't expect anything. Return early if running to main
1744 fails.
1745
337532fa
YQ
17462015-04-07 Yao Qi <yao.qi@linaro.org>
1747
1748 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1749 (child_function): Call alarm.
1750 (main): Move call to alarm into the loop.
1751 * gdb.threads/non-stop-fair-events.exp: Build program with
1752 -DTIMEOUT=$timeout.
1753
01b622d4
DE
17542015-04-06 Doug Evans <xdje42@gmail.com>
1755
1756 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1757 Fix dest parameter to board_info.
1758 (fpc_compile): Ditto.
1759 (gdb_compile_pascal): Rename dest arg to destfile.
1760
961f4160
PMR
17612015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1762
1763 * gdb.ada/funcall_ref.exp: New file.
1764 * gdb.ada/funcall_ref/foo.adb: New file.
1765
cafda597
YQ
17662015-04-02 Yao Qi <yao.qi@linaro.org>
1767
1768 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1769 is remote.
1770
fed040c6
GB
17712015-04-02 Gary Benson <gbenson@redhat.com>
1772
1773 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1774
d11916aa
SS
17752015-04-01 Sasha Smundak <asmundak@google.com>
1776
1777 * gdb.python/py-unwind-maint.c: New file.
1778 * gdb.python/py-unwind-maint.exp: New test.
1779 * gdb.python/py-unwind-maint.py: New file.
1780 * gdb.python/py-unwind.c: New file.
1781 * gdb.python/py-unwind.exp: New test.
1782 * gdb.python/py-unwind.py: New test.
1783
a1471180
PA
17842015-04-01 Pedro Alves <palves@redhat.com>
1785
1786 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1787 to fail instead of non-existent $test.
1788
0bbeccb1
PA
17892015-04-01 Pedro Alves <palves@redhat.com>
1790
1791 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1792 GDBFLAGS if not empty.
1793
3c724c8c
PMR
17942015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1795
1796 * gdb.ada/complete.exp: Remove "multi_line".
1797 * gdb.ada/info_exc.exp: Remove "multi_line".
1798 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1799 * gdb.ada/ptype_field.exp: Remove "multi_line".
1800 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1801 * gdb.ada/tagged.exp: Remove "multi_line".
1802 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1803 [multi_line ...]
1804 * gdb.btrace/delta.exp: Likewise.
1805 * gdb.btrace/exception.exp: Likewise.
1806 * gdb.btrace/function_call_history.exp: Likewise.
1807 * gdb.btrace/instruction_history.exp: Likewise.
1808 * gdb.btrace/nohist.exp: Likewise.
1809 * gdb.btrace/record_goto.exp: Likewise.
1810 * gdb.btrace/segv.exp: Likewise.
1811 * gdb.btrace/stepi.exp: Likewise.
1812 * gdb.btrace/tailcall.exp: Likewise.
1813 * gdb.btrace/unknown_functions.exp: Likewise.
1814 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1815 * lib/gdb.exp: Add the "multi_line" helper.
1816
4eec2deb
PA
18172015-04-01 Pedro Alves <palves@redhat.com>
1818
1819 * gdb.threads/tid-reuse.c: New file.
1820 * gdb.threads/tid-reuse.exp: New file.
1821
df8411da
SDJ
18222015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1823
1824 PR corefiles/16092
1825 * gdb.base/coredump-filter.c: New file.
1826 * gdb.base/coredump-filter.exp: Likewise.
1827
6ef37366
PM
18282015-03-27 Petr Machata <pmachata@redhat.com>
1829
1830 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1831 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1832 (Dwarf::assemble): Initialize them.
1833 (Dwarf::lines): New function.
1834
7ec911b0
JT
18352015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1836
1837 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1838 SYMBOL_PREFIX for x86_64-*-cygwin.
1839
ff908ebf
AW
18402015-03-26 Andy Wingo <wingo@igalia.com>
1841
1842 PR symtab/18148
1843 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1844 const_value but not a location.
1845 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1846 location defined in non-main CUs are visible.
1847
6d5f0679
YQ
18482015-03-26 Yao Qi <yao.qi@linaro.org>
1849
1850 PR testsuite/18139
1851 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1852 Add a line number entry for the same line.
1853 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1854 Add a line number entry for the same line.
1855
2898689b
YQ
18562015-03-26 Yao Qi <yao.qi@linaro.org>
1857
1858 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1859 .int 0.
1860 (func): Likewise. Add .Lfunc_1 label.
1861 Use .Lfunc_1 label.
1862 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1863 .int 0.
1864 (func): Likewise.
1865 Use .Lfunc_1 label.
1866
85180498
YQ
18672015-03-26 Yao Qi <yao.qi@linaro.org>
1868
1869 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1870 Call gdb_compile instead to compile each .s files without debug
1871 information.
1872
8aa08a8d
YQ
18732015-03-26 Yao Qi <yao.qi@linaro.org>
1874
1875 * gdb.base/savedregs.exp (process_saved_regs): Make
1876 "Saved registers:" optional in the pattern.
1877
66849923
MM
18782015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1879
1880 * gdb.btrace/next.exp: Merged into step.exp.
1881 * gdb.btrace/finish.exp: Merged into step.exp.
1882 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1883 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1884 "record goto" and checking the exact replay position.
1885 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1886 check for "Recording format" in "info record" output.
1887 * gdb.btrace/record_goto.exp: Choose test file based on target.
1888 * gdb.btrace/x86-record_goto.S: Renamed into ...
1889 * gdb.btrace/x86_64-record_goto.S: ... this.
1890 * gdb.btrace/i686-record_goto.S: New.
1891 * gdb.btrace/x86-tailcall.S: Renamed into ...
1892 * gdb.btrace/x86_64-tailcall.S: ... this.
1893 * gdb.btrace/i686-tailcall.S: New.
1894 * gdb.btrace/x86-tailcall.c: Renamed into ...
1895 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1896 separate statements. Update test.
1897 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1898 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1899 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1900 * gdb.btrace/tailcall.exp: Choose test file based on target.
1901 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1902
11cc1b74
MM
19032015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1904
1905 * gdb.btrace/exception.exp: Increase BTS buffer size.
1906
a25d8bf9
PA
19072015-03-24 Pedro Alves <palves@redhat.com>
1908
1909 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1910
856e7dd6
PA
19112015-03-24 Pedro Alves <palves@redhat.com>
1912
1913 * gdb.threads/schedlock.exp (test_step): No longer expect that
1914 "set scheduler-locking step" with "next" over a function call runs
1915 threads unlocked.
1916
ad235a41
AT
19172015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1918
1919 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1920
15630549
AT
19212015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1922
1923 PR breakpoints/16466
1924 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1925 * gdb.mi/mi-pending.c (thread_func): New function.
1926 (int main): Add threading support required.
1927 * gdb.mi/mi-pending.exp: Add tests for this issue.
1928 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1929 (pendfunc2): Remove stdio dependency.
1930 * gdb.mi/mi-pendshr2.c: New file.
1931
693dca06
KS
19322015-03-23 Keith Seitz <keiths@redhat.com>
1933
1934 * gdb.linespec/keywords.c: New file.
1935 * gdb.linespec/keywords.exp: New file.
1936
7e993ebf
KS
19372015-03-23 Keith Seitz <keiths@redhat.com>
1938
1939 PR gdb/18021
1940 * gdb.dwarf2/staticvirtual.exp: New test.
1941
bc23328c
JK
19422015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1943
1944 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1945 * README: Remove HP-UX and gdb.hp.
1946 (configuration):
1947 * configure: Regenerate.
1948 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1949 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1950 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1951 gdb.hp/gdb.defects/Makefile.
1952 * gdb.hp/Makefile.in: File deleted.
1953 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1954 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1955 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1956 * gdb.hp/gdb.aCC/run.c: File deleted.
1957 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1958 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1959 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1960 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1961 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1962 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1963 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1964 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1965 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1966 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1967 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1968 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1969 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1970 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1971 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1972 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1973 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1974 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1975 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1976 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1977 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1978 * gdb.hp/gdb.compat/average.c: File deleted.
1979 * gdb.hp/gdb.compat/sum.c: File deleted.
1980 * gdb.hp/gdb.compat/xdb.c: File deleted.
1981 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1982 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1983 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1984 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1985 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1986 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1987 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1988 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1989 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1990 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1991 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1992 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1993 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1994 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1995 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1996 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1997 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1998 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1999 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2000 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2001 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2002 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2003 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2004 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2005 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2006 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2007 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2008 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2009 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2010 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2011 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2012 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2013 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2014 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2015 * gdb.hp/tools/odump: File deleted.
2016
8bf3b159
PA
20172015-03-19 Pedro Alves <palves@redhat.com>
2018
2019 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2020 (saw_thread_3): New globals.
2021 (top level): Increment them when an event for the corresponding
2022 thread is seen.
2023 (no thread starvation): New test.
2024
eb54c8bf
PA
20252015-03-19 Pedro Alves <palves@redhat.com>
2026
2027 * gdb.threads/continue-pending-status.c: New file.
2028 * gdb.threads/continue-pending-status.exp: New file.
2029
32d2e5d6
PA
20302015-03-18 Pedro Alves <palves@redhat.com>
2031
2032 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2033 Use gdb_is_target_remote instead of is_remote. Use
2034 gdb_test_multiple instead of gdb_expect. Exit early if
2035 gdb_test_multiple hits its internal matches. Tighten stepi tests
2036 expected output. Fail on exit with any signal, instead of just
2037 SIGILL.
2038
f68f11b7
YQ
20392015-03-18 Yao Qi <yao.qi@linaro.org>
2040
2041 PR tdep/18107
2042 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2043 variable.
2044 * gdb.base/catch-syscall.exp: Don't skip it on
2045 aarch64*-*-linux* target. Remove elements in all_syscalls.
2046 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2047 target.
2048 (setup_all_syscalls): New proc.
2049
ca5fd19b
YQ
20502015-03-16 Yao Qi <yao.qi@linaro.org>
2051
2052 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2053 (top level): Skip tests if valid_addr_p returns false for
2054 $cmd1 or $cmd2.
2055
85642ba0
AW
20562015-03-11 Andy Wingo <wingo@igalia.com>
2057
2058 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2059
e03f9645
YQ
20602015-03-11 Yao Qi <yao.qi@linaro.org>
2061
2062 * gdb.base/catch-syscall.exp: Fix typo in comments.
2063
5d0962b2
YQ
20642015-03-11 Yao Qi <yao.qi@linaro.org>
2065
2066 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2067
b2df3cef
PA
20682015-03-09 Pedro Alves <palves@redhat.com>
2069
2070 * dg-extract-results.py: Delete.
2071
ef878e53
PA
20722015-03-09 Pedro Alves <palves@redhat.com>
2073
2074 Merge dg-extract-results.sh from GCC upstream (r218843).
2075
2076 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2077 * dg-extract-results.sh: Use --text with grep to avoid issues with
2078 binary files. Fall back to cat -v, if that doesn't work.
2079
9494d219
PA
20802015-03-05 Pedro Alves <palves@redhat.com>
2081
2082 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2083
a8d9763a
SM
20842015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2085
2086 * lib/mi-support.exp (mi_expect_interrupt): Accept
2087 alternative event for when in all-stop mode.
2088
be9957b8
PA
20892015-03-04 Pedro Alves <palves@redhat.com>
2090
2091 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2092
d57be0f4 20932015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2094
2095 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2096
c214c7cf
AA
20972015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2098
2099 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2100 regexps for GDB's current line display, accept a hex address
2101 preceding the line number.
2102
6d74a497
AA
21032015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2104
2105 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2106 the 'arch1' variable for "s390*-linux*" targets.
2107
511aee7c
PA
21082015-03-04 Pedro Alves <palves@redhat.com>
2109
2110 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2111 (main): Pass missing retval argument to pthread_join call.
2112
95e50b27
PA
21132015-03-02 Pedro Alves <palves@redhat.com>
2114
2115 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2116 (top level): Call do_test with non-stop as well.
2117
28054d69
PA
21182015-03-02 Pedro Alves <palves@redhat.com>
2119
2120 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2121 -1.
2122
4fa5d7b4
AA
21232015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2124
2125 * gdb.arch/s390-vregs.exp: New test.
2126 * gdb.arch/s390-vregs.S: New file.
2127
97c18565
PA
21282015-02-27 Pedro Alves <palves@redhat.com>
2129
2130 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2131 call to catch_command_errors.
2132 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2133 catch_command_errors.
2134
a37bfa30
PA
21352015-02-27 Pedro Alves <palves@redhat.com>
2136
2137 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2138 "true" for boolean result.
2139 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2140 prototype of main.
2141
6f98576f
PA
21422015-02-27 Pedro Alves <palves@redhat.com>
2143
2144 * lib/unbuffer_output.c: New file.
2145 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2146 (main): Call gdb_unbuffer_output.
2147
eba5ab56
YQ
21482015-02-27 Yao Qi <yao.qi@linaro.org>
2149
2150 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2151 target.
2152
0def5aaa
DE
21532015-02-26 Doug Evans <dje@google.com>
2154
2155 * gdb.cp/class2.cc (Dbase, D): New classes.
2156 (main): New local delta.
2157 * gdb.cp/class2.exp: Test printing delta.
2158 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2159 (dynbar): New global.
2160 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2161
081a1c2c
JK
21622015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2163
2164 * gdb.compile/compile-ifunc.c: New file.
2165 * gdb.compile/compile-ifunc.exp: New file.
2166
2f41223f
AT
21672015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2168
2169 * gdb.base/structs.exp: Check for correct struct on finish.
2170
03eddd80
YQ
21712015-02-26 Yao Qi <yao.qi@linaro.org>
2172
2173 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2174 is zero.
2175
80c57053
JK
21762015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2177
2178 * gdb.arch/cordic.ko.bz2: New file.
2179 * gdb.arch/cordic.ko.debug.bz2: New file.
2180 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2181
21613c12
YQ
21822015-02-25 Yao Qi <yao.qi@linaro.org>
2183
2184 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2185 aarch64*-*-* target.
2186
d8b901ed
PA
21872015-02-23 Pedro Alves <palves@redhat.com>
2188
2189 * lib/gdb.exp (delete_breakpoints): Rewrite using
2190 gdb_test_multiple.
2191
e5b85ead
PA
21922015-02-23 Pedro Alves <palves@redhat.com>
2193
2194 * gdb.base/info-os.c: Include stdlib.h.
2195
85c3a371
DE
21962015-02-22 Doug Evans <xdje42@gmail.com>
2197
2198 PR symtab/17855
2199 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2200 is read after symbols have been re-read.
2201 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2202 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2203
96553a0c
DE
22042015-02-21 Doug Evans <dje@google.com>
2205
2206 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2207
97a0c697
JK
22082015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2209
2210 PR corefiles/17808
2211 * gdb.arch/i386-biarch-core.core.bz2: New file.
2212 * gdb.arch/i386-biarch-core.exp: New file.
2213
a47cd6e9
PA
22142015-02-21 Pedro Alves <palves@redhat.com>
2215
2216 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2217 runto_main fails.
2218
c5facdc4
PA
22192015-02-20 Pedro Alves <palves@redhat.com>
2220
2221 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2222 info probes.
2223
2db9a427
PA
22242015-02-20 Pedro Alves <palves@redhat.com>
2225
2226 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2227
60fb7e9e
PA
22282015-02-20 Pedro Alves <palves@redhat.com>
2229
2230 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2231 clean_restart before gdb_target_supports_trace.
2232
5c5019c2
PA
22332015-02-20 Pedro Alves <palves@redhat.com>
2234
2235 PR threads/18006
2236 * gdb.threads/clone-thread_db.c: New file.
2237 * gdb.threads/clone-thread_db.exp: New file.
2238
c9587f88
AT
22392015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2240
2241 PR breakpoints/16812
2242 * gdb.base/catch-gdb-caused-signals.c: New file.
2243 * gdb.base/catch-gdb-caused-signals.exp: New file.
2244
f6a88844
JM
22452015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2246
2247 * configure: Regenerated.
2248 * configure.ac: Use GDB_AC_TRANSFORM.
2249 * aclocal.m4: sinclude ../transform.m4.
2250
497c491b
JM
22512015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2252
2253 * lib/dtrace.exp: New file.
2254 * gdb.base/dtrace-probe.exp: Likewise.
2255 * gdb.base/dtrace-probe.d: Likewise.
2256 * gdb.base/dtrace-probe.c: Likewise.
2257 * lib/pdtrace.in: Likewise.
2258 * configure.ac: Output variables with the transformed names of
2259 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2260 * configure: Regenerated.
2261
03e98035
JM
22622015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2263
2264 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2265 expected message when trying to access $_probe_* convenience
2266 variables while not on a probe.
2267
63cc30e9
JK
22682015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2269
2270 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2271
0703599a
PA
22722015-02-11 Pedro Alves <pedro@codesourcery.com>
2273
2274 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2275 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2276
7e60a48e
DE
22772015-02-10 Doug Evans <xdje42@gmail.com>
2278
2279 * lib/gdb.exp (gdb_load): Always return a result.
2280
01b088bc
PA
22812015-02-10 Pedro Alves <palves@redhat.com>
2282
2283 * gdb.threads/signal-sigtrap.c: New file.
2284 * gdb.threads/signal-sigtrap.exp: New file.
2285
b05ec7a5
AT
22862015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2287
2288 * gdb.trace/no-attach-trace.c: New file.
2289 * gdb.trace/no-attach-trace.exp: New file.
2290
a2c2acaf
MW
22912015-02-09 Mark Wielaard <mjw@redhat.com>
2292
2293 * gdb.dwarf2/atomic.c: New file.
2294 * gdb.dwarf2/atomic-type.exp: Likewise.
2295
31fd9caa
MM
22962015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2297
2298 * gdb.btrace/buffer-size.exp: Update "info record" output.
2299 * gdb.btrace/delta.exp: Update "info record" output.
2300 * gdb.btrace/enable.exp: Update "info record" output.
2301 * gdb.btrace/finish.exp: Update "info record" output.
2302 * gdb.btrace/instruction_history.exp: Update "info record" output.
2303 * gdb.btrace/next.exp: Update "info record" output.
2304 * gdb.btrace/nexti.exp: Update "info record" output.
2305 * gdb.btrace/step.exp: Update "info record" output.
2306 * gdb.btrace/stepi.exp: Update "info record" output.
2307 * gdb.btrace/nohist.exp: Update "info record" output.
2308
d33501a5
MM
23092015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2310
2311 * gdb.btrace/buffer-size: New.
2312
f4abbc16
MM
23132015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2314
2315 * gdb.btrace/delta.exp: Update "info record" output.
2316 * gdb.btrace/enable.exp: Update "info record" output.
2317 * gdb.btrace/finish.exp: Update "info record" output.
2318 * gdb.btrace/instruction_history.exp: Update "info record" output.
2319 * gdb.btrace/next.exp: Update "info record" output.
2320 * gdb.btrace/nexti.exp: Update "info record" output.
2321 * gdb.btrace/step.exp: Update "info record" output.
2322 * gdb.btrace/stepi.exp: Update "info record" output.
2323 * gdb.btrace/nohist.exp: Update "info record" output.
2324
b9d61307
SM
23252015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2326
2327 PR gdb/15678
2328 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2329
e584fdbc
PA
23302015-02-06 Pedro Alves <palves@redhat.com>
2331
2332 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2333 macro.
2334 (seconds_left, again): New globals.
2335 (main): Wait seconds_left in a 1-second sleep loop instead of
2336 sleeping 180 seconds. If 'again' is set, reset the seconds
2337 counter.
2338 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2339 'again' in the inferior before detaching. Print the seconds left.
2340 (options): New global.
2341 (top level): Build program with -DTIMEOUT=$timeout.
2342
77f41761
PA
23432015-02-06 Pedro Alves <palves@redhat.com>
2344
2345 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2346 determine how many seconds to pass to 'alarm'.
2347 * gdb.base/gdb-sigterm.exp (top level): Build program with
2348 -DTIMEOUT=$timeout.
2349 (do_test): Return success/failure indication. Add more verbose
2350 logging. Don't fail if 200 single steps are seen. Instead, fail
2351 when the test times out.
2352 (passes): New global.
2353 (top level): Break the testing loop if testing fails on any
2354 iteration. Use gdb_assert.
2355
b9394193
DB
23562015-02-04 Don Breazeal <donb@codesourcery.com>
2357
2358 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2359 and initialize them.
2360 (ipc_cleanup): New function.
2361 (main): Don't declare shmid, semid, and msqid. Add a call to
2362 atexit so that we call ipc_cleanup on exit.
2363
42d9e528
PA
23642015-02-04 Pedro Alves <palves@redhat.com>
2365
2366 * boards/native-extended-gdbserver.exp: Remove any target variant
2367 specifications from the board name before clearing the isremote
2368 flag from board_info.
2369
ae6ae975
DE
23702015-01-31 Doug Evans <xdje42@gmail.com>
2371
2372 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2373
cfb069a8
GB
23742015-01-31 Gary Benson <gbenson@redhat.com>
2375
2376 * gdb.base/completion.exp: Disable completion limiting for
2377 existing tests. Add new tests to check completion limiting.
2378 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2379
5dd31d79
DE
23802015-01-31 Doug Evans <xdje42@gmail.com>
2381
2382 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2383
9f050062
DE
23842015-01-31 Doug Evans <xdje42@gmail.com>
2385
2386 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2387 entries. Duplicate file section script entries.
2388 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2389 inlined entries. Add test for safe-path rejection.
2390 * gdb.python/py-section-script.c: Add duplicate inlined section script
2391 entries. Duplicate file section script entries.
2392 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2393 inlined entries. Add test for safe-path rejection.
2394
df25ebbd
JB
23952015-01-29 Joel Brobecker <brobecker@adacore.com>
2396
2397 * gdb.ada/disc_arr_bound: New testcase.
2398
4a0ca9ec
JB
23992015-01-29 Joel Brobecker <brobecker@adacore.com>
2400
2401 * gdb.ada/mi_var_array: New testcase.
2402
3a8b707a
DE
24032015-01-27 Doug Evans <dje@google.com>
2404
2405 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2406 Add test for objfile.filename, objfile.username after objfile
2407 has been unloaded.
2408
f8313f6e
JB
24092015-01-26 Joel Brobecker <brobecker@adacore.com>
2410
2411 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2412 the second test to print the name attribute of value
2413 returned by the call to gdb.lookup_type, and adjust
2414 the expected output accordingly.
2415
37bc665e
MW
24162015-01-25 Mark Wielaard <mjw@redhat.com>
2417
2418 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2419 * gdb.base/disp-step-fork.c: Include unistd.h.
2420 * gdb.base/siginfo-obj.c: Include stdio.h.
2421 * gdb.base/siginfo-thread.c: Likewise.
2422 * gdb.mi/non-stop.c: Include unistd.h.
2423 * gdb.mi/nsthrexec.c: Include stdio.h.
2424 * gdb.mi/pthreads.c: Include unistd.h.
2425 * gdb.modula2/unbounded1.c (main): Declare returns int.
2426 * gdb.reverse/consecutive-reverse.c: Likewise.
2427 * gdb.threads/create-fail.c: Include unistd.h.
2428 * gdb.threads/killed.c: Likewise.
2429 * gdb.threads/linux-dp.c: Likewise.
2430 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2431 * gdb.threads/non-ldr-exc-2.c: Likewise.
2432 * gdb.threads/non-ldr-exc-3.c: Likewise.
2433 * gdb.threads/non-ldr-exc-4.c: Likewise.
2434 * gdb.threads/pthreads.c: Include unistd.h.
2435 (main): Declare returns int.
2436 * gdb.threads/tls-main.c (foo): New declaration.
2437 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2438
f7e5394d
SM
24392015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2440
2441 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2442 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2443
743649fd
MW
24442015-01-15 Mark Wielaard <mjw@redhat.com>
2445
2446 * gdb.base/noreturn-return.c: New file.
2447 * gdb.base/noreturn-return.exp: New file.
2448 * gdb.base/noreturn-finish.c: New file.
2449 * gdb.base/noreturn-finish.exp: New file.
2450
198297aa
PA
24512015-01-23 Pedro Alves <palves@redhat.com>
2452
2453 * gdb.threads/continue-pending-after-query.c: New file.
2454 * gdb.threads/continue-pending-after-query.exp: New file.
2455
717cf30c
AG
24562015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2457 Simon Marchi <simon.marchi@ericsson.com>
2458
2459 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2460 * gdb.base/valgrind-db-attach.exp: Same.
2461 * gdb.base/valgrind-infcall.exp: Same.
2462 * lib/mi-support.exp (default_mi_gdb_start): Same.
2463 * lib/prompt.exp (default_prompt_gdb_start): Same.
2464 * lib/gdb.exp (default_gdb_spawn): Same.
2465 (gdb_interact): New.
2466
2467
4b62a76e
JK
24682015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2469
2470 * gdb.compile/compile.exp (pointer to jit function): New test.
2471
b4cdae6f
WW
24722015-01-17 Wei-cheng Wang <cole945@gmail.com>
2473
2474 * lib/gdb.exp (supports_process_record): Return true for
2475 powerpc*-*-linux*.
2476 (supports_reverse): Likewise.
2477
d221e7ef
DB
24782015-01-15 Don Breazeal <donb@codesourcery.com>
2479
2480 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2481 instead of checking whether the target board is remote and
2482 use spawn_wait_for_attach instead of exec/sleep.
2483 * gdb.base/attach-twice.exp: Likewise.
2484
bafffb51
JB
24852015-01-15 Joel Brobecker <brobecker@adacore.com>
2486
2487 * gdb.ada/var_arr_attrs: New testcase.
2488
5589af0e
PA
24892015-01-14 Pedro Alves <palves@redhat.com>
2490 Joel Brobecker <brobecker@adacore.com>
2491
2492 PR gdb/17525
2493 * gdb.base/bp-cmds-execution-x-script.c: New file.
2494 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2495 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2496
6c400b59
PA
24972015-01-14 Pedro Alves <palves@redhat.com>
2498
2499 PR cli/17828
2500 * gdb.base/batch-preserve-term-settings.c: New file.
2501 * gdb.base/batch-preserve-term-settings.exp: New file.
2502
e02c96a7
DE
25032015-01-13 Doug Evans <dje@google.com>
2504
2505 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2506 binary.
2507
576fd14c
JB
25082015-01-13 Joel Brobecker <brobecker@adacore.com>
2509
2510 * Makefile.in (clean mostlyclean): Do not delete *.py.
2511
04dccad0
JB
25122015-01-13 Joel Brobecker <brobecker@adacore.com>
2513
2514 * gdb.python/py-lookup-type.exp: New file.
2515
3d230f71
PA
25162015-01-12 Pedro Alves <palves@redhat.com>
2517
2518 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2519 restore GDBFLAGS before returning.
2520
7e67715d
JK
25212015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2522
2523 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2524 is_amd64_regs_target and is_x86_like_target.
2525
f2e0d4b4
DE
25262015-01-11 Doug Evans <xdje42@gmail.com>
2527
2528 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2529 is given without an explicit form.
2530 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2531 attributes.
2532 * gdb.dwarf/corrupt.exp: Ditto.
2533 * gdb.dwarf2/enum-type.exp: Ditto.
2534 * gdb.trace/entry-values.exp: Ditto.
2535 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2536
439250fb
DE
25372015-01-11 Doug Evans <xdje42@gmail.com>
2538
2539 PR gdb/15830
2540 * gdb.base/maint.exp: Remove references to "maint demangle".
2541 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2542 Add tests for explicitly specifying language to demangle.
2543 * gdb.dlang/demangle.exp: Ditto.
2544
ede9f622
PA
25452015-01-09 Pedro Alves <palves@redhat.com>
2546
2547 * gdb.threads/non-stop-fair-events.c: New file.
2548 * gdb.threads/non-stop-fair-events.exp: New file.
2549
a7b796db
PA
25502015-01-09 Pedro Alves <palves@redhat.com>
2551
2552 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2553 the global scope. Set a breakpoint after all threads are started
2554 rather than stepping over two source lines. Expect the prompt.
2555 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2556 global.
2557 (NUM): Now 15.
2558 (main): Use threads_started_barrier to wait for all threads to
2559 start. Main thread no longer calls thread_function. Exit after
2560 180 seconds.
2561 (loop): New function.
2562 (thread_function): Wait on threads_started_barrier barrier. Call
2563 'loop' at each iteration.
2564 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2565 threads have started, instead of hardcoding number of "next"
2566 steps. Use an access watchpoint instead of a write watchpoint.
2567
9665ffdd
PA
25682015-01-09 Pedro Alves <palves@redhat.com>
2569
2570 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2571 (thread_func): Wait on barrier.
2572 (main): Wait for all threads to start before stopping GDB.
2573 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2574 global.
2575 (thread1_func, thread2_func): Wait on barrier.
2576 (main): Wait for all threads to start before stopping GDB.
2577 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2578 New global.
2579 (thread1_func, thread2_func): Wait on barrier.
2580 (main): Wait for all threads to start before stopping GDB.
2581
c945a99f
PA
25822015-01-09 Pedro Alves <palves@redhat.com>
2583
2584 * gdb.threads/attach-many-short-lived-threads.c: New file.
2585 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2586
c1a747c1
PA
25872014-01-09 Pedro Alves <palves@redhat.com>
2588
2589 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2590 instead of to thread 2.
2591 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2592 Add barrier around each pthread_create call instead of around all
2593 calls.
2594 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2595 Set a break on thread_function and have the child threads hit it
2596 one at at a time.
2597
60b3033e
PA
25982015-01-09 Pedro Alves <palves@redhat.com>
2599
2600 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2601 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2602 false.
2603 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2604 checking whether the target board is remote.
2605 * gdb.multi/multi-attach.exp: Likewise.
2606 * gdb.python/py-sync-interp.exp: Likewise.
2607 * gdb.server/ext-attach.exp: Likewise.
2608 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2609 tests that need to attach, instead of checking whether the target
2610 board is remote at the top of the file.
2611
acc018ac
YQ
26122015-01-08 Yao Qi <yao@codesourcery.com>
2613
2614 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2615
50a18af8
JK
26162015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2617
2618 Fix testcase compilation.
2619 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2620
8503d6e1
JB
26212015-01-06 Joel Brobecker <brobecker@adacore.com>
2622
2623 * gdb.python/py-type.exp: Add a couple test about empty
2624 array creation, and negative-length array creation.
2625
cc73dbcc
DE
26262015-01-02 Doug Evans <xdje42@gmail.com>
2627
2628 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2629
0300bbc7
DE
26302015-01-02 Doug Evans <dje@google.com>
2631
2632 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2633
9d85a0ec
YQ
26342014-12-29 Yao Qi <yao@codesourcery.com>
2635
2636 * gdb.trace/entry-values.exp: Update comments. Rename variable
2637 bar_call_foo to returned_from_foo.
2638
87186c6a
MMN
26392014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2640
2641 PR gdb/17394
2642 * gdb.linespec/break-asm-file.c: New file.
2643 * gdb.linespec/break-asm-file.exp: New file.
2644 * gdb.linespec/break-asm-file0.s: New file.
2645 * gdb.linespec/break-asm-file1.s: New file.
2646
1bab7383
YQ
26472014-12-18 Nigel Stephens <nigel@mips.com>
2648 Maciej W. Rozycki <macro@codesourcery.com>
2649
2650 * gdb.base/float.exp: Handle the new output from "info float" on
2651 MIPS targets.
2652
1bc1068a
JK
26532014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2654
2655 Fix MinGW compilation.
2656 * gdb.compile/compile-ops.exp: Update untested message if
2657 !skip_compile_feature_tests.
2658 * gdb.compile/compile-setjmp.exp: Likewise.
2659 * gdb.compile/compile-tls.exp: Likewise.
2660 * gdb.compile/compile.exp: Likewise.
2661 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2662 supported on this host".
2663
b6615d10
DE
26642014-12-16 Doug Evans <xdje42@gmail.com>
2665
2666 * boards/stabs.exp: New file.
2667
25dda427
AA
26682014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2669
2670 * gdb.base/completion.exp: Adjust to format changes of "maint
2671 print user-registers".
2672
bf330350
CU
26732014-12-16 Catalin Udma <catalin.udma@freescale.com>
2674
2675 PR server/17457
2676 * gdb.arch/aarch64-fp.c: New file.
2677 * gdb.arch/aarch64-fp.exp: New file.
2678
395cf596
SDJ
26792014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2680
2681 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2682 r210637, r210913, r211666, r215400, r215817).
2683
2684 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2685 * dg-extract-results.py: New file.
2686 * dg-extract-results.sh: Use it if the environment seems
2687 suitable.
2688
2689 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2690
2691 * dg-extract-results.py (parse_run): Handle warnings that
2692 are printed before a test harness is run.
2693
2694 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2695
2696 * dg-extract-results.py (Named): Remove __cmp__ method.
2697 (output_variation): Use a key to sort variation.harnesses.
2698
2699 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2700
2701 * dg-extract-results.py: For Python 3, force sys.stdout to
2702 handle surrogate escape sequences.
2703 (safe_open): New function.
2704 (output_segment, main): Use it.
2705
2706 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2707
2708 * dg-extract-results.py (Prog.result_re): Include options
2709 in test name.
2710
2711 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2712
2713 * dg-extract-results.py (output_variation): Always sort if
2714 do_sum.
2715
e882ef3c
SM
27162014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2717
2718 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2719 as long as we get pagination notifications.
2720
4992aa20
JM
27212014-12-15 Jason Merrill <jason@redhat.com>
2722
2723 * Makefile.in (check-gdb.%): Restore.
2724 * README: Mention it.
2725
c1b5a1a6
JB
27262014-12-13 Joel Brobecker <brobecker@adacore.com>
2727
2728 * gdb.ada/str_uninit: New testcase.
2729
5537b577
JK
27302014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2731
2732 PR symtab/17642
2733 * gdb.base/vla-stub-define.c: New file.
2734 * gdb.base/vla-stub.c: New file.
2735 * gdb.base/vla-stub.exp: New file.
2736
bb2ec1b3
TT
27372014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2738 Jan Kratochvil <jan.kratochvil@redhat.com>
2739 Tom Tromey <tromey@redhat.com>
2740
2741 * configure.ac: Add gdb.compile/.
2742 * configure: Regenerate.
2743 * gdb.compile/Makefile.in: New file.
2744 * gdb.compile/compile-ops.exp: New file.
2745 * gdb.compile/compile-ops.c: New file.
2746 * gdb.compile/compile-tls.c: New file.
2747 * gdb.compile/compile-tls.exp: New file.
2748 * gdb.compile/compile-constvar.S: New file.
2749 * gdb.compile/compile-constvar.c: New file.
2750 * gdb.compile/compile-mod.c: New file.
2751 * gdb.compile/compile-nodebug.c: New file.
2752 * gdb.compile/compile-setjmp-mod.c: New file.
2753 * gdb.compile/compile-setjmp.c: New file.
2754 * gdb.compile/compile-setjmp.exp: New file.
2755 * gdb.compile/compile-shlib.c: New file.
2756 * gdb.compile/compile.c: New file.
2757 * gdb.compile/compile.exp: New file.
2758 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2759
4ff709eb
TT
27602014-12-12 Tom Tromey <tromey@redhat.com>
2761
2762 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2763 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2764
6dddd6a5
DE
27652014-12-12 Doug Evans <dje@google.com>
2766
2767 * lib/gdb-python.exp (get_python_valueof): New function.
2768 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2769
71c24708
AA
27702014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2771
2772 * gdb.base/completion.exp: Add test for completion of "info
2773 registers ".
2774
3e29f34a
MR
27752014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2776
2777 * gdb.base/func-ptrs.c: New file.
2778 * gdb.base/func-ptrs.exp: New file.
2779
fc126975
SM
27802014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2781
2782 PR breakpoints/17012
2783 * gdb.base/dprintf-detach.c: New file.
2784 * gdb.base/dprintf-detach.exp: New file.
2785
0a46d518
SM
27862014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2787
2788 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2789 * lib/gdb.exp (target_is_gdbserver): New procedure.
2790
a0be3e44
DE
27912014-12-08 Doug Evans <dje@google.com>
2792
2793 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2794
df1b803a
YQ
27952014-12-05 Yao Qi <yao@codesourcery.com>
2796
2797 * gdb.guile/scm-error.exp: Remove the third argument to
2798 gdb_remote_download.
2799 * gdb.guile/scm-frame-args.exp: Likewise.
2800 * gdb.guile/scm-section-script.exp: Likewise.
2801
ddb9f679
YQ
28022014-12-05 Yao Qi <yao@codesourcery.com>
2803
2804 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2805
86e4ed39
DE
28062014-12-04 Doug Evans <dje@google.com>
2807
2808 * gdb.python/py-objfile.exp: Add tests for
2809 objfile.add_separate_debug_file.
2810
7c50a931
DE
28112014-12-04 Doug Evans <dje@google.com>
2812
2813 * lib/gdb.exp (get_build_id): New function.
2814 (build_id_debug_filename_get): Rewrite to use it.
2815 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2816
621661e3
MR
28172014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2818
2819 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2820 `method(long)', not just 0x0.
2821 * gdb.cp/nsalias.exp: Align code labels to 4.
2822 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2823 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2824 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2825 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2826 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2827 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2828
29f0c3b7
DE
28292014-12-02 Doug Evans <dje@google.com>
2830
e1e061e7 2831 PR symtab/17602
29f0c3b7 2832 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2833 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2834 * gdb.cp/anon-ns.exp: Update.
2835
162078c8
NB
28362014-12-02 Nick Bull <nicholaspbull@gmail.com>
2837
2838 * gdb.python/py-events.py (inferior_call_handler): New.
2839 (register_changed_handler, memory_changed_handler): New.
2840 (test_events.invoke): Register new handlers.
2841 * gdb.python/py-events.exp: Add tests for inferior call,
2842 memory_changed and register_changed events.
2843
fdb09caf
AA
28442014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2845
2846 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2847 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2848 if the linker doesn't understand this.
2849
55cfb2c4
SM
28502014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2851
2852 * gdb.python/python.exp: Change expected reply to help().
2853
9e8cd6df
YQ
28542014-12-01 Yao Qi <yao@codesourcery.com>
2855
2856 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2857 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2858 * configure: Re-generated.
2859
6c659fc2
SC
28602014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2861
2862 * gdb.cp/chained-calls.cc: New file.
2863 * gdb.cp/chained-calls.exp: New file.
2864 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2865
d7fc3181
SM
28662014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2867
2868 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2869 * gdb.dwarf2/symtab-producer.exp: Same.
2870 * gdb.gdb/python-interrupts.exp: Same.
2871 * gdb.gdb/python-selftest.exp: Same.
2872 * gdb.python/py-linetable.exp: Same.
2873 * gdb.python/py-type.exp: Same.
2874 * gdb.python/py-value-cc.exp: Same.
2875 * gdb.python/py-value.exp: Same.
2876
10e79639
YQ
28772014-11-28 Yao Qi <yao@codesourcery.com>
2878
2879 * gdb.base/break-probes.exp: Match library name prefixed with
2880 sysroot.
2881
f28a0564
SM
28822014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2883
2884 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2885 test expected output. Add parentheses for the call to print.
2886 Remove L suffix from integers.
2887
3fe1ce1d
DE
28882014-11-26 Doug Evans <dje@google.com>
2889
2890 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2891
84429e27
YQ
28922014-11-22 Yao Qi <yao@codesourcery.com>
2893
2894 * gdb.trace/entry-values.c: Remove asms.
2895 (foo): Add foo_label.
2896 (bar): Add bar_label.
2897 * gdb.trace/entry-values.exp: Remove code computing foo's
2898 length and bar's length.
2899 (Dwarf::assemble): Invoke function_range for bar and use
2900 MACRO_AT_func for foo.
2901
26741859
YQ
29022014-11-22 Yao Qi <yao@codesourcery.com>
2903
2904 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2905 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2906 Use .Lgcc43_procstart instead of gcc43.
2907
45e44d27
JB
29082014-11-21 Joel Brobecker <brobecker@adacore.com>
2909
2910 * gdb.ada/n_arr_bound: New testcase.
2911
458c8db8
SDJ
29122014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2913
2914 PR breakpoints/10737
2915 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2916 test_catch_syscall_multi_arch.
2917 (test_catch_syscall_multi_arch): New function.
2918
43f3e411
DE
29192014-11-20 Doug Evans <xdje42@gmail.com>
2920
2921 * gdb.base/maint.exp: Update expected output.
2922
0d7b2549
AA
29232014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2924
2925 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2926 4-byte instruction on S390.
2927
8908fca5
JB
29282014-11-19 Joel Brobecker <brobecker@adacore.com>
2929
2930 * gdb.ada/arr_arr: New testcase.
2931
4a46959e
JB
29322014-11-19 Joel Brobecker <brobecker@adacore.com>
2933
2934 * gdb.ada/pkd_arr_elem: New Testcase.
2935
470e2f4e
LM
29362014-11-18 Luis Machado <lgustavo@codesourcery.com>
2937
2938 * gdb.reverse/break-precsave: Expect completion message for
2939 core file reads.
2940 * gdb.reverse/consecutive-precsave.exp: Likewise.
2941 * gdb.reverse/finish-precsave.exp: Likewise.
2942 * gdb.reverse/i386-precsave.exp: Likewise.
2943 * gdb.reverse/machinestate-precsave.exp: Likewise.
2944 * gdb.reverse/sigall-precsave.exp: Likewise.
2945 * gdb.reverse/solib-precsave.exp: Likewise.
2946 * gdb.reverse/step-precsave.exp: Likewise.
2947 * gdb.reverse/until-precsave.exp: Likewise.
2948 * gdb.reverse/watch-precsave.exp: Likewise.
2949
a267f3ad
AA
29502014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2951
2952 * gdb.base/bp-permanent.c: Include unistd.h.
2953 * gdb.python/py-framefilter-mi.c (main): Add return type.
2954 * gdb.python/py-framefilter.c (main): Likewise.
2955 * gdb.trace/actions-changed.c (main): Likewise.
2956
12084a9a
AA
29572014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2958
2959 * gdb.mi/until.c: Add eye-catchers.
2960 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2961 line numbers.
2962
dc7e1a77
AA
29632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2964
2965 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2966 function header variants in break1.c.
2967 * gdb.base/ena-dis-br.exp: Likewise.
2968 * gdb.base/hbreak2.exp: Likewise.
2969 * gdb.reverse/until-precsave.exp: Drop references to removed
2970 non-prototype function header variants in ur1.c.
2971 * gdb.reverse/until-reverse.exp: Likewise.
2972
41c77605
PM
29732014-11-17 Petr Machata <pmachata@redhat.com>
2974
2975 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2976 ${_cu_offset_size} bytes abbrev offset.
2977
34248c3a
DE
29782014-11-15 Doug Evans <xdje42@gmail.com>
2979
2980 PR symtab/17559
2981 * gdb.base/line-symtabs.exp: New file.
2982 * gdb.base/line-symtabs.c: New file.
2983 * gdb.base/line-symtabs.h: New file.
2984
646da059
YQ
29852014-11-14 Yao Qi <yao@codesourcery.com>
2986
2987 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2988 (func): Add label func_label.
2989 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2990 Replace low_pc and high_pc with MACRO_AT_range.
2991 Replace name, low_pc and high_pc with MACRO_AT_func.
2992
9301ebe6
YQ
29932014-11-14 Yao Qi <yao@codesourcery.com>
2994
2995 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2996 Replace name, low_pc and high_pc with MACRO_AT_func.
2997
f166b542
YQ
29982014-11-14 Yao Qi <yao@codesourcery.com>
2999
3000 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3001 produce debug information.
3002 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3003
0f6e71e3
YQ
30042014-11-14 Yao Qi <yao@codesourcery.com>
3005
3006 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3007 object and get function length.
3008 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3009 with MACRO_AT_func.
3010 (top-level): Replace gdb_compile and clean_restart with
3011 prepare_for_testing.
3012 * gdb.dwarf2/main.c (main): Add label main_label.
3013
876c4df9
YQ
30142014-11-14 Yao Qi <yao@codesourcery.com>
3015
3016 * lib/dwarf.exp (function_range): New procedure.
3017 (Dwarf::_handle_macro_at_func): New procedure.
3018 (Dwarf::_handle_macro_at_range): New procedure.
3019 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3020
02ad9cf1
YQ
30212014-11-14 Yao Qi <yao@codesourcery.com>
3022
3023 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3024 (_handle_attribute): New procedure.
3025
a59add0c
AA
30262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3027
3028 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3029 * gdb.base/call-sc.c (zed): Likewise.
3030 * gdb.base/checkpoint.c (main): Likewise.
3031 * gdb.base/dump.c (main): Likewise.
3032 * gdb.base/gcore.c (main): Likewise.
3033 * gdb.base/huge.c (main): Likewise.
3034 * gdb.base/multi-forks.c (main): Likewise.
3035 * gdb.base/pr10179-a.c (main): Likewise.
3036 * gdb.base/savedregs.c (main): Likewise.
3037 * gdb.base/sigaltstack.c (main): Likewise.
3038 * gdb.base/siginfo.c (main): Likewise.
3039 * gdb.base/structs.c (zed): Likewise.
3040 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3041 * gdb.mi/mi-syn-frame.c (main): Likewise.
3042 * gdb.mi/until.c (foo, main): Likewise.
3043 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3044 * gdb.base/solib-weak.c (foo): Declare.
3045 * gdb.base/attach-twice.c: Include stdio.h.
3046 * gdb.base/weaklib1.c: Likewise.
3047 * gdb.base/weaklib2.c: Likewise.
3048 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3049 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3050 unistd.h.
3051 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3052 * gdb.mi/mi-exit-code.c: Likewise.
3053 * gdb.base/break-interp-lib.c: Include string.h.
3054 * gdb.base/coremaker.c: Likewise.
3055 * gdb.base/testenv.c: Likewise.
3056 * gdb.python/py-finish-breakpoint.c: Likewise.
3057 * gdb.base/inferior-died.c: Include sys/wait.h.
3058 * gdb.base/fileio.c: Include time.h.
3059 * gdb.base/async-shell.c: Include unistd.h.
3060 * gdb.base/dprintf-non-stop.c: Likewise.
3061 * gdb.base/info-os.c: Likewise.
3062 * gdb.mi/mi-console.c: Likewise.
3063 * gdb.mi/watch-nonstop.c: Likewise.
3064 * gdb.python/py-events.c: Likewise.
3065 * gdb.base/async.c (baz): Move up before its invocation.
3066 * gdb.base/code_elim2.c (my_global_func): Likewise.
3067 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3068 * gdb.base/advance.c (func2): Likewise.
3069
3b5d5997
AA
30702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3071
3072 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3073 variant.
3074 * gdb.base/annota3.c: Likewise.
3075 * gdb.base/async.c: Likewise.
3076 * gdb.base/average.c: Likewise.
3077 * gdb.base/call-ar-st.c: Likewise.
3078 * gdb.base/call-rt-st.c: Likewise.
3079 * gdb.base/call-sc.c: Likewise.
3080 * gdb.base/call-strs.c: Likewise.
3081 * gdb.base/ending-run.c: Likewise.
3082 * gdb.base/execd-prog.c: Likewise.
3083 * gdb.base/exprs.c: Likewise.
3084 * gdb.base/foll-exec.c: Likewise.
3085 * gdb.base/foll-fork.c: Likewise.
3086 * gdb.base/foll-vfork.c: Likewise.
3087 * gdb.base/funcargs.c: Likewise.
3088 * gdb.base/gcore.c: Likewise.
3089 * gdb.base/jump.c: Likewise.
3090 * gdb.base/langs0.c: Likewise.
3091 * gdb.base/langs1.c: Likewise.
3092 * gdb.base/langs2.c: Likewise.
3093 * gdb.base/mips_pro.c: Likewise.
3094 * gdb.base/nodebug.c: Likewise.
3095 * gdb.base/opaque0.c: Likewise.
3096 * gdb.base/opaque1.c: Likewise.
3097 * gdb.base/recurse.c: Likewise.
3098 * gdb.base/run.c: Likewise.
3099 * gdb.base/scope0.c: Likewise.
3100 * gdb.base/scope1.c: Likewise.
3101 * gdb.base/setshow.c: Likewise.
3102 * gdb.base/setvar.c: Likewise.
3103 * gdb.base/shmain.c: Likewise.
3104 * gdb.base/shr1.c: Likewise.
3105 * gdb.base/shr2.c: Likewise.
3106 * gdb.base/sigall.c: Likewise.
3107 * gdb.base/signals.c: Likewise.
3108 * gdb.base/so-indr-cl.c: Likewise.
3109 * gdb.base/solib2.c: Likewise.
3110 * gdb.base/structs.c: Likewise.
3111 * gdb.base/sum.c: Likewise.
3112 * gdb.base/vforked-prog.c: Likewise.
3113 * gdb.base/watchpoint.c: Likewise.
3114 * gdb.reverse/shr2.c: Likewise.
3115 * gdb.reverse/until-reverse.c: Likewise.
3116 * gdb.reverse/ur1.c: Likewise.
3117 * gdb.reverse/watch-reverse.c: Likewise.
3118
066a77c5
AA
31192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3120
3121 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3122 variant.
3123 * gdb.base/sepdebug.exp: Drop references to removed code.
3124
4f204ea5
AA
31252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3126
3127 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3128 variant. Preserve original line numbering.
3129 * gdb.base/list1.c: Likewise.
3130
3b377a3a
AA
31312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3132
3133 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3134 variant.
3135 * gdb.base/break1.c: Likewise.
3136 * gdb.base/break.exp: Drop references to removed code.
3137
e444df73
AA
31382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3139
3140 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3141 variant.
3142
8008f2a7
AA
31432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3144
3145 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3146
a5a06887
AA
31472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3148
3149 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3150 logic into perform_all_tests() and invoke it with and without
3151 function header prototypes.
3152 (do_function_calls): Remove conditional XFAIL for PR 5318.
3153 (rerun_and_prepare): Remove duplicate code.
3154 (perform_all_tests): New. Main logic moved here.
3155
44dba9b9
AA
31562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3157
3158 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3159 code guarded by #ifdef NO_PROTOTYPES.
3160 (t_double_many_args): Likewise.
3161 (DEF_FUNC_MANY_ARGS_1): Likewise.
3162 (DEF_FUNC_VALUES_1): Likewise.
3163 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3164 guarded by #ifdef PROTOTYPES.
3165
d1fbcd56
AA
31662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3167
3168 * gdb.mi/mi-console.c: Add eye-catcher.
3169 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3170 instead of literal line number.
3171
b0e59b8f
AA
31722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3173
3174 * gdb.base/shr2.c: Add eye-catcher.
3175 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3176 line number.
3177
78f98cca
AA
31782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3179
3180 * gdb.base/jump.c: Add eye-catchers.
3181 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3182 numbers.
3183
58fa2af0
AA
31842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3185
3186 * gdb.base/execd-prog.c: Add eye-catchers.
3187 * gdb.base/foll-exec.c: Likewise.
3188 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3189 line numbers.
3190
04e5059b
AA
31912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3192
3193 * gdb.base/ending-run.c: Add eye-catchers.
3194 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3195 literal line numbers.
3196
dbfdb174
AA
31972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3198
3199 * gdb.base/call-rt-st.c: Add eye-catchers.
3200 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3201 literal line numbers.
3202
888a2ade
AA
32032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3204
3205 * gdb.base/call-ar-st.c: Add eye-catchers.
3206 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3207 literal line numbers.
3208
6acc2dde
AA
32092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3210
3211 * gdb.base/average.c: Add eye-catchers.
3212 * gdb.base/sum.c: Likewise.
3213 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3214 regexps dynamically.
3215
9ecfcd1d
AA
32162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3217
3218 * gdb.base/solib1.c: Add eye-catchers.
3219 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3220 literal line numbers.
3221
78708b7c
PA
32222014-11-12 Pedro Alves <palves@redhat.com>
3223
3224 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3225 leader has exited.
3226
af48d08f
PA
32272014-11-12 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.arch/i386-bp_permanent.c: New file.
3230 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3231 (srcfile): Set to i386-bp_permanent.c.
3232 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3233 that stepi does not execute the 'leave' instruction, instead of
3234 testing it does execute.
3235 * gdb.base/bp-permanent.c: New file.
3236 * gdb.base/bp-permanent.exp: New file.
3237
af3768e9
DE
32382014-11-10 Doug Evans <xdje42@gmail.com>
3239
3240 PR symtab/17564
3241 * gdb.base/symtab-search-order.exp: New file.
3242 * gdb.base/symtab-search-order.c: New file.
3243 * gdb.base/symtab-search-order-1.c: New file.
3244 * gdb.base/symtab-search-order-shlib-1.c: New file.
3245
9de00a4a
PA
32462014-11-07 Pedro Alves <palves@redhat.com>
3247
3248 PR gdb/17511
3249 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3250 i?86-*-linux*.
3251
e0f52461
SC
32522014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3253
3254 PR c++/17494
3255 * gdb.cp/pr17494.cc: New file.
3256 * gdb.cp/pr17494.exp: New file.
3257
6ce8c980
YQ
32582014-11-02 Yao Qi <yao@codesourcery.com>
3259
3260 * gdb.python/python.exp: Get working directory and match the
3261 output of "set extended-prompt \\w " with it.
3262
02be9a71
DE
32632014-10-30 Doug Evans <dje@google.com>
3264
3265 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3266 in objfiles.
3267 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3268 in progspaces.
3269
3bdff46b
LM
32702014-10-30 Janis Johnson <janisjo@codesourcery.com>
3271
3272 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3273 * gdb.base/realname-expand.exp: Likewise.
3274 * gdb.linespec/macro-relative.exp: Likewise.
3275
ab917dfb
PA
32762014-10-29 Pedro Alves <palves@redhat.com>
3277
3278 PR gdb/17408
3279 * gdb.threads/schedlock.c (some_function): New function.
3280 (call_function): New global.
3281 (MAYBE_CALL_SOME_FUNCTION): New macro.
3282 (thread_function): Call it.
3283 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3284 and use it instead of a global counter. Adjust all callers.
3285 (get_current_thread): Use "find current thread" for test message
3286 here rather than having all callers pass down the same string.
3287 (goto_loop): New procedure, factored out from ...
3288 (my_continue): ... this.
3289 (step_ten_loops): Change parameter from test message to command to
3290 use. Adjust.
3291 (list_count): Delete global.
3292 (check_result): New procedure, factored out from duplicate top
3293 level code.
3294 (continue tests): Wrap in with_test_prefix.
3295 (test_step): New procedure, factored out from duplicate top level
3296 code.
3297 (top level): Test "step" in combination with all scheduler-locking
3298 modes. Test "next" in combination with all scheduler-locking
3299 modes, and in combination with stepping over a function call or
3300 not.
3301 * gdb.threads/next-bp-other-thread.c: New file.
3302 * gdb.threads/next-bp-other-thread.exp: New file.
3303
d3d4baed
PA
33042014-10-29 Pedro Alves <palves@redhat.com>
3305
3306 PR python/17372
3307 * gdb.python/python.exp: Test a multi-line command that spawns
3308 interactive Python.
3309 * gdb.base/multi-line-starts-subshell.exp: New file.
3310
563e8d85
YQ
33112014-10-29 Yao Qi <yao@codesourcery.com>
3312
3313 * gdb.base/fileio.exp: Make directories on host.
3314
0ea4d52e
YQ
33152014-10-29 Yao Qi <yao@codesourcery.com>
3316
3317 * gdb.base/fileio.c (test_write): Close the file.
3318
7f5ef605
PA
33192014-10-28 Pedro Alves <palves@redhat.com>
3320
3321 PR gdb/12623
3322 * gdb.base/sigstep.c (no_handler): New global.
3323 (main): If 'no_handler is true, set the signal handlers to
3324 SIG_IGN.
3325 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3326 with_sw_watch and no_handler parameters. Handle them.
3327 (top level) <stepping over handler when stopped at a breakpoint
3328 test>: Add a test axis for testing with a software watchpoint, and
3329 another for testing with the signal handler set to SIG_IGN.
3330 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3331 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3332
abbdbd03
PA
33332014-10-28 Pedro Alves <palves@redhat.com>
3334
3335 PR gdb/17511
3336 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3337 * gdb.base/sigstep.exp (other_handler_location): New global.
3338 (advance): Support stepping into the signal handler, and running
3339 commands while in the handler.
3340 (in_handler_map): New global.
3341 (top level): In the advance test, add combinations for getting
3342 into the handler with stepping commands, and for running commands
3343 in the handler. Add comment descripting the advancei tests.
3344
1df4399f
PA
33452014-10-28 Pedro Alves <palves@redhat.com>
3346
3347 * gdb.base/sigstep.exp: Use build_executable instead of
3348 prepare_for_testing.
3349 (top level): Move code that starts GDB, runs to main and creates a
3350 display to ...
3351 (restart): ... this new procedure.
3352 (top level): Move backtrace from signal handler test to ...
3353 (validate_backtrace): ... this new procedure.
3354 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3355 with_test_prefix. Always restart GDB.
3356 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3357 with_test_prefix. Always restart GDB. No need to delete
3358 breakpoints after the test.
3359 (test_skip_handler): Remove prefix parameter.
3360 (skip_over_handler, breakpoint_to_handler)
3361 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3362 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3363 restart GDB. No need to delete breakpoints after the test.
3364 (top level): Use foreach to call the test procedures with
3365 different commands.
3366
a5b6e449
PA
33672014-10-28 Pedro Alves <palves@redhat.com>
3368
3369 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3370 instead of GNATS numbers.
3371 * gdb.base/sigbpt.exp: Likewise.
3372 * gdb.base/siginfo.exp: Likewise.
3373 * gdb.base/sigstep.exp: Likewise.
3374
e5f8a7cc
PA
33752014-10-27 Pedro Alves <palves@redhat.com>
3376
3377 * gdb.base/sigstep.c (dummy): New global.
3378 (main): Issue a couple writes to the new global.
3379 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3380 procedures.
3381 (skip_over_handler): Use test_skip_handler.
3382 (top level): Call skip_over_handler for stepi and nexti too.
3383 (breakpoint_over_handler): Use test_skip_handler.
3384 (top level): Call breakpoint_over_handler for stepi and nexti too.
3385
763905a3
YQ
33862014-10-27 Yao Qi <yao@codesourcery.com>
3387
3388 * gdb.trace/tfile.c (adjust_function_address)
3389 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3390 function descriptor.
3391
6f259a23
DB
33922014-10-24 Don Breazeal <donb@codesourcery.com>
3393
3394 * gdb.base/foll-fork.exp (test_follow_fork,
3395 catch_fork_child_follow): Check for updated fork messages emitted
3396 from infrun.c.
3397 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3398 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3399 vfork_and_exec_child_follow_through_step): Check for updated vfork
3400 messages emitted from infrun.c.
3401
09dd9a69
PA
34022014-10-24 Pedro Alves <palves@redhat.com>
3403
3404 * gdb.base/corefile.exp: Remove references to ultrix.
3405 * gdb.base/interrupt.exp: Likewise.
3406 * gdb.base/whatis.exp: Likewise.
3407 * gdb.gdb/selftest.exp: Likewise.
3408 * gdb.threads/manythreads.exp: Likewise.
3409 * gdb.threads/print-threads.exp: Likewise.
3410 * gdb.threads/pthreads.exp:: Likewise.
3411 * gdb.threads/schedlock.exp: Likewise.
3412
3433cfa5
SC
34132014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3414
3415 * gdb.cp/non-trivial-retval.cc: Add a test case.
3416 * gdb.cp/non-trivial-retval.exp: Add a test.
3417
092f880b
YQ
34182014-10-20 Yao Qi <yao@codesourcery.com>
3419
3420 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3421 * gdb.python/py-objfile-script-gdb.py: New file.
3422 * gdb.python/py-objfile-script.exp: Update reference to
3423 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3424 of remote_download. Remove the dest file.
3425
acbdb7f3
YQ
34262014-10-20 Yao Qi <yao@codesourcery.com>
3427
3428 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3429 * gdb.base/step-line.exp: Likewise.
3430 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3431 * gdb.dwarf2/dw2-basic.exp: Likewise.
3432 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3433 * gdb.dwarf2/dw2-filename.exp: Likewise.
3434 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3435 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3436 * gdb.dwarf2/dw2-producer.exp: Likewise.
3437 * gdb.dwarf2/mac-fileno.exp: Likewise.
3438 * gdb.python/py-frame-args.exp: Likewise.
3439 * gdb.python/py-framefilter.exp: Likewise.
3440 * gdb.python/py-mi.exp: Likewise.
3441 * gdb.python/py-objfile-script.exp: Likewise
3442 * gdb.python/py-pp-integral.exp: Likewise.
3443 * gdb.python/py-pp-re-notag.exp: Likewise.
3444 * gdb.python/py-prettyprint.exp: Likewise.
3445 * gdb.python/py-section-script.exp: Likewise.
3446 * gdb.python/py-typeprint.exp: Likewise.
3447 * gdb.python/py-xmethods.exp: Likewise.
3448 * gdb.stabs/weird.exp: Likewise.
3449 * gdb.xml/tdesc-regs.exp: Likewise.
3450
bd286a29
KCY
34512014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3452
3453 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3454 (out_cu): Use addr_len for the size of addresses.
3455 (out_line): Likewise. Size DW_LNE_set_address instruction
3456 according to addr_len.
3457 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3458 (FUNC): Add START_INSNS to definition.
3459
673dc4a0
YQ
34602014-10-18 Yao Qi <yao@codesourcery.com>
3461
3462 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3463 gdb_has_argv0 return true.
3464 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3465 check [target_info exists noargs], check [gdb_has_argv0]
3466 instead.
3467 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3468 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3469 procedures.
3470
4ffbba72
DE
34712014-10-17 Doug Evans <dje@google.com>
3472
3473 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3474 event.
3475 * gdb.python/py-events.py: Add clear_objfiles event.
3476
d096d8c1
DE
34772014-10-17 Doug Evans <dje@google.com>
3478
3479 * gdb.python/py-objfile.exp: Test progspace attribute.
3480
a80db015
LM
34812014-10-17 Luis Machado <lgustavo@codesourcery.com>
3482
3483 * gdb.guile/scm-breakpoint.exp: Do not assume any
3484 directory separators when matching source file paths.
3485 * gdb.python/py-breakpoint.exp: Likewise.
3486 * gdb.reverse/break-precsave.exp: Likewise.
3487 * gdb.reverse/break-reverse.exp: Likewise.
3488 * gdb.reverse/consecutive-precsave.exp: Likewise.
3489 * gdb.reverse/finish-precsave.exp: Likewise.
3490 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3491 * gdb.reverse/finish-reverse.exp: Likewise.
3492 * gdb.reverse/i386-precsave.exp: Likewise.
3493 * gdb.reverse/i387-env-reverse.exp: Likewise.
3494 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3495 * gdb.reverse/machinestate-precsave.exp: Likewise.
3496 * gdb.reverse/machinestate.exp: Likewise.
3497 * gdb.reverse/sigall-precsave.exp: Likewise.
3498 * gdb.reverse/solib-precsave.exp: Likewise.
3499 * gdb.reverse/step-precsave.exp: Likewise.
3500 * gdb.reverse/until-precsave.exp: Likewise.
3501 * gdb.reverse/watch-precsave.exp: Likewise.
3502 * gdb.reverse/watch-reverse.exp: Likewise.
3503
b22089ab
YQ
35042014-10-17 Yao Qi <yao@codesourcery.com>
3505
3506 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3507 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3508
6c4486e6
PA
35092014-10-17 Pedro Alves <palves@redhat.com>
3510
3511 PR gdb/17471
3512 * gdb.base/bg-execution-repeat.c: New file.
3513 * gdb.base/bg-execution-repeat.exp: New file.
3514
0ff33695
PA
35152014-10-17 Pedro Alves <palves@redhat.com>
3516
3517 PR gdb/17300
3518 * gdb.base/continue-all-already-running.c: New file.
3519 * gdb.base/continue-all-already-running.exp: New file.
3520
6fdebc3d
PA
35212014-10-17 Pedro Alves <palves@redhat.com>
3522
3523 PR gdb/17472
3524 * gdb.base/annota-input-while-running.c: New file.
3525 * gdb.base/annota-input-while-running.exp: New file.
3526
32a8097b
PA
35272014-10-17 Pedro Alves <palves@redhat.com>
3528
3529 * gdb.base/callfuncs.exp: emove references to osf.
3530 * gdb.base/sigall.exp: Likewise.
3531 * gdb.gdb/selftest.exp: Likewise.
3532 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3533 * gdb.mi/non-stop.c: Likewise.
3534 * gdb.mi/pthreads.c: Likewise.
3535 * gdb.reverse/sigall-precsave.exp: Likewise.
3536 * gdb.reverse/sigall-reverse.exp: Likewise.
3537 * gdb.threads/pthreads.c: Likewise.
3538 * gdb.threads/pthreads.exp: Likewise.
3539
7a3517ff
YQ
35402014-10-17 Yao Qi <yao@codesourcery.com>
3541
3542 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3543 check 'target_info exists noargs'.
3544 (test_command_prompt_position): Likewise.
3545 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3546 Remove "set args".
3547 (progvar_simple_while_test): Likewise.
3548 (progvar_complex_if_while_test): Likewise.
3549 (if_while_breakpoint_command_test): Likewise.
3550 (infrun_breakpoint_command_test): Likewise.
3551 (breakpoint_command_test): Likewise.
3552 (watchpoint_command_test): Likewise.
3553 (bp_deleted_in_command_test): Likewise.
3554 (temporary_breakpoint_commands): Likewise.
3555
bb99c472
YQ
35562014-10-16 Yao Qi <yao@codesourcery.com>
3557
3558 * gdb.base/remotetimeout.exp: Remove noargs checking.
3559
7c16b83e
PA
35602014-10-15 Pedro Alves <palves@redhat.com>
3561
3562 PR breakpoints/9649
3563 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3564 * gdb.base/breakpoint-in-ro-region.exp
3565 (probe_target_hardware_step): New procedure.
3566 (top level): Probe hardware stepping and hardware breakpoint
3567 support. Test stepping through a read-only region, with both
3568 "breakpoint auto-hw" on and off and both "always-inserted" on and
3569 off.
3570
35a49624
IB
35712014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3572
3573 * gdb.dlang/demangle.exp: Update for demangling changes.
3574
2d1c107c
SC
35752014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3576
3577 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3578 * gdb.cp/non-trivial-retval.exp: Add new tests.
3579
778811d5
SC
35802014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3581
3582 PR c++/13403
3583 PR c++/15154
3584 * gdb.cp/non-trivial-retval.cc: New file.
3585 * gdb.cp/non-trivial-retval.exp: New file.
3586
10c5f0a8
YQ
35872014-10-15 Yao Qi <yao@codesourcery.com>
3588
3589 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3590 remote host.
3591
65d7b369
YQ
35922014-10-15 Yao Qi <yao@codesourcery.com>
3593
3594 * gdb.python/py-symbol.exp: Match file base name if host is
3595 remote, otherwise match file name with dir name.
3596 * gdb.python/py-symtab.exp: Likewise.
3597 * gdb.python/python.exp: Likewise.
3598
46dc1394
YQ
35992014-10-15 Yao Qi <yao@codesourcery.com>
3600
3601 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3602 pattern.
3603 * gdb.python/py-symtab.exp: Likewise.
3604 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3605 locationn.
3606
c40cc657
JB
36072014-10-14 Joel Brobecker <brobecker@adacore.com>
3608
3609 * gdb.ada/addr_arith: New testcase.
3610
2abf49e1
MR
36112014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3612
3613 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3614 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3615 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3616 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3617
f7088df3
SDJ
36182014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3619
3620 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3621 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3622 * gdb.arch/stap-eval-lang-ada.exp: New file.
3623
4dc06805
YQ
36242014-10-14 Yao Qi <yao@codesourcery.com>
3625
3626 * gdb.mi/mi-var-child.c (nothing1): New function.
3627 (nothing2): New function.
3628 (do_children_tests): Set function pointers by nothing1 and
3629 nothing2.
3630 * gdb.mi/mi-var-child.exp: Step over new added statements.
3631 Update test to match the new output.
3632 * gdb.mi/var-cmd.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-display.exp: Update test to match output.
3637 Step to the line specified by $line_dct_nothing.
3638 Increase the number of lines to step.
3639
46a93de2
YQ
36402014-10-14 Yao Qi <yao@codesourcery.com>
3641
3642 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3643 tests.
3644 * gdb.mi/mi2-var-child.exp: Likewise.
3645
14ea52ee
DE
36462014-10-13 Doug Evans <dje@google.com>
3647
3648 * gdb.python/py-objfile.exp: Change name of file name test.
3649
e5c6e92b
DE
36502014-10-13 Doug Evans <dje@google.com>
3651
3652 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3653 from the start of the CU.
3654
c780cc2f
JK
36552014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3656 Yao Qi <yao@codesourcery.com>
3657
3658 Fix "save breakpoints" for "catch" command.
3659 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3660 Remove -nonewline. Match also the added "main" line.
3661
99894e11
JK
36622014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3663
3664 Fix "save breakpoints" for "disable $bpnum" command.
3665 * gdb.base/save-bp.c (main): Add label.
3666 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3667
6e1ac5a3
JK
36682014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3669
3670 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3671
754dd2b0
YQ
36722014-10-11 Yao Qi <yao@codesourcery.com>
3673
3674 * gdb.server/server-kill.exp: Execute command
3675 "set remote trace-status-packet on" before "tstatus".
3676
f90183d7
YQ
36772014-10-11 Yao Qi <yao@codesourcery.com>
3678
3679 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3680 (main): Call getppid.
3681 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3682 and continue to it. Read variable "server_pid".
3683
bf40a607
YQ
36842014-10-11 Yao Qi <yao@codesourcery.com>
3685
3686 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3687
052ca370
YQ
36882014-10-11 Yao Qi <yao@codesourcery.com>
3689
3690 * gdb.threads/thread-find.exp: Don't execute command
3691 "info threads".
3692 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3693 * gdb.threads/linux-dp.exp: Don't check the condition
3694 $threads_created equals to zero.
3695
3831839c
PA
36962014-10-10 Pedro Alves <palves@redhat.com>
3697
3698 * gdb.base/bigcore.exp: Remove references to IRIX.
3699 * gdb.base/funcargs.exp: Likewise.
3700 * gdb.base/interrupt.exp: Likewise.
3701 * gdb.base/mips_pro.exp: Likewise.
3702 * gdb.base/nodebug.exp: Likewise.
3703 * gdb.base/setvar.exp: Likewise.
3704 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3705
8b9a549d
PA
37062014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3707 Pedro Alves <palves@redhat.com>
3708
3709 PR symtab/14466
3710 * gdb.base/vdso-warning.c: New file.
3711 * gdb.base/vdso-warning.exp: New file.
3712
d48ba5e8
DE
37132014-10-02 Doug Evans <dje@google.com>
3714
3715 * gdb.base/structs.c (main): Don't run forever.
3716
2278c276
PA
37172014-10-02 Pedro Alves <palves@redhat.com>
3718
3719 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3720 (top level) <stop threads 1, stop threads 2>: Use it.
3721
b57bacec
PA
37222014-10-02 Pedro Alves <palves@redhat.com>
3723
3724 * gdb.threads/break-while-running.exp (test): Add new
3725 'update_thread_list' argument. Skip "info threads" if false.
3726 (top level): Add new 'update_thread_list' axis.
3727
13fd3ff3
PA
37282014-10-02 Pedro Alves <palves@redhat.com>
3729
3730 PR breakpoints/17431
3731 * gdb.base/execl-update-breakpoints.c: New file.
3732 * gdb.base/execl-update-breakpoints.exp: New file.
3733
0fec99e8
PA
37342014-10-01 Pedro Alves <palves@redhat.com>
3735
3736 * gdb.base/breakpoint-in-ro-region.c: New file.
3737 * gdb.base/breakpoint-in-ro-region.exp: New file.
3738
2ddf4301
SM
37392014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3740
3741 * gdb.mi/mi-exit-code.exp: New file.
3742 * gdb.mi/mi-exit-code.c: New file.
3743
6a5f3f43
YQ
37442014-09-30 Yao Qi <yao@codesourcery.com>
3745
3746 * lib/prelink-support.exp (build_executable_own_libs): Error if
3747 the target isn't native.
3748
345bcc73
YQ
37492014-09-30 Yao Qi <yao@codesourcery.com>
3750
3751 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3752 false.
3753
a25a5a45
PA
37542014-09-22 Pedro Alves <palves@redhat.com>
3755
3756 * gdb.threads/break-while-running.exp: New file.
3757 * gdb.threads/break-while-running.c: New file.
3758
00ba3162
YQ
37592014-09-19 Yao Qi <yao@codesourcery.com>
3760
3761 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3762 Invoke test. Restart GDB with --readnow and invoke test again.
3763
c3b7b696
YQ
37642014-09-19 Yao Qi <yao@codesourcery.com>
3765
3766 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3767 proc set_breakpoint_on_gcd_function. Invoke
3768 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3769 invoke set_breakpoint_on_gcd_function again.
3770
2b4fd423
DE
37712014-09-18 Doug Evans <dje@google.com>
3772
3773 * gdb.dwarf2/symtab-producer.exp: New file.
3774
a5947601
SDJ
37752014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3776
3777 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3778 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3779 * gdb.base/global-var-nested-by-dso.c: Likewise.
3780 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3781
91c19059
SDJ
37822014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3783 Pedro Alves <palves@redhat.com>
3784
3785 * gdb.base/watch-bitfields.exp: Pass string other than test file
3786 name to prepare_for_testing.
3787 (watch): New procedure.
3788 (expect_watchpoint): Use with_test_prefix.
3789 (top level): Factor out tests to ...
3790 (test_watch_location, test_regular_watch): ... these new
3791 procedures, and use with_test_prefix and gdb_continue_to_end.
3792
bb9d5f81
PP
37932014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3794
3795 PR breakpoints/12526
3796 * gdb.base/watch-bitfields.exp: New file.
3797 * gdb.base/watch-bitfields.c: New file.
3798
635856f5
PA
37992014-09-16 Pedro Alves <palves@redhat.com>
3800
3801 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3802 software and hardware addresses, not software address against
3803 itself.
3804
7280ceea
PA
38052014-09-16 Pedro Alves <palves@redhat.com>
3806
3807 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3808 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3809
428b16bd
PA
38102014-09-16 Pedro Alves <palves@redhat.com>
3811
3812 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3813 files.
3814 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3815 "*-*-vxworks*" throughout.
3816 * gdb.base/break.exp: Likewise.
3817 * gdb.base/default.exp: Likewise.
3818 * gdb.base/scope.exp: Likewise.
3819 * gdb.base/sepdebug.exp: Likewise.
3820 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3821 throughout.
3822 * gdb.base/run.c: Likewise.
3823 * gdb.base/sepdebug.c: Likewise.
3824 * gdb.hp/gdb.aCC/run.c: Likewise.
3825 * gdb.reverse/until-reverse.c: Likewise.
3826 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3827
666d413c
YQ
38282014-09-16 Yao Qi <yao@codesourcery.com>
3829
3830 * boards/local-remote-host-native.exp: New file.
3831
57cbd724
DE
38322014-09-14 Doug Evans <xdje42@gmail.com>
3833
3834 * gdb.threads/queue-signal.c (thread_count): New variable.
3835 (thread_count_mutex, thread_count_condvar): New variables.
3836 (incr_thread_count, wait_all_threads_running): New functions.
3837 (main): Wait for all threads to be in their thread functions.
3838
81219e53
DE
38392014-09-13 Doug Evans <xdje42@gmail.com>
3840
3841 * gdb.threads/queue-signal.c: New file.
3842 * gdb.threads/queue-signal.exp: New file.
3843
3714cea7
DE
38442014-09-13 Doug Evans <xdje42@gmail.com>
3845
3846 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3847 be consistent with what default_gdb_init uses.
3848 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3849 the plain text of the prompt. Add some logging printfs.
3850 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3851
fa43b1d7
PA
38522014-09-12 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3855 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3856 * gdb.arch/i386-size-overlap.exp: Likewise.
3857 * gdb.arch/i386-size.exp: Likewise.
3858 * gdb.arch/i386-unwind.exp: Likewise.
3859 * gdb.base/a2-run.exp: Likewise.
3860 * gdb.base/break.exp: Likewise.
3861 * gdb.base/charset.exp: Likewise.
3862 * gdb.base/chng-syms.exp: Likewise.
3863 * gdb.base/commands.exp: Likewise.
3864 * gdb.base/dbx.exp: Likewise.
3865 * gdb.base/find.exp: Likewise.
3866 * gdb.base/funcargs.exp: Likewise.
3867 * gdb.base/jit-simple.exp: Likewise.
3868 * gdb.base/reread.exp: Likewise.
3869 * gdb.base/sepdebug.exp: Likewise.
3870 * gdb.base/step-bt.exp: Likewise.
3871 * gdb.cp/mb-inline.exp: Likewise.
3872 * gdb.cp/mb-templates.exp: Likewise.
3873 * gdb.objc/basicclass.exp: Likewise.
3874 * gdb.threads/killed.exp: Likewise.
3875
9d9bf2df
EBM
38762014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3877
3878 PR tdep/17379
3879 * gdb.arch/powerpc-stackless.S: New file.
3880 * gdb.arch/powerpc-stackless.exp: New file.
3881
1cf2f1b0
JK
38822014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3883
3884 * gdb.base/attach.c: Include unistd.h.
3885 (main): Call alarm. Add label postloop.
3886 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3887 gdb_breakpoint, gdb_continue_to_breakpoint.
3888 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3889
98880d46
PA
38902014-09-11 Pedro Alves <palves@redhat.com>
3891
3892 PR gdb/17347
3893 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3894 * gdb.base/attach.exp (test_command_line_attach_run): New
3895 procedure.
3896 (top level): Call it.
3897
4c92ff2c
PA
38982014-09-11 Pedro Alves <palves@redhat.com>
3899
3900 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3901 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3902 (do_command_attach_tests): Use spawn_wait_for_attach.
3903 * gdb.base/solib-overlap.exp: Likewise.
3904 * gdb.multi/multi-attach.exp: Likewise.
3905 * gdb.python/py-prompt.exp: Likewise.
3906 * gdb.python/py-sync-interp.exp: Likewise.
3907 * gdb.server/ext-attach.exp: Likewise.
3908
3adc1a7d
GKB
39092014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3910
3911 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3912 command in testcase. Simplify testcase.
3913
96334934
JB
39142014-09-10 Joel Brobecker <brobecker@adacore.com>
3915
3916 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3917
eb479039
JB
39182014-09-10 Joel Brobecker <brobecker@adacore.com>
3919
3920 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3921
deede10c
JB
39222014-09-10 Joel Brobecker <brobecker@adacore.com>
3923
3924 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3925
7828a5f5
JB
39262014-09-10 Joel Brobecker <brobecker@adacore.com>
3927
3928 * gdb.dwarf2/dynarr-ptr.c: New file.
3929 * gdb.dwarf2/dynarr-ptr.exp: New file.
3930
33aeebcf
MR
39312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3932
3933 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3934 of 30 rather than hardcoding 120 for a slow test case. Take the
3935 `gdb,timeout' target setting into account for this calculation.
3936 Don't extend the timeout for the test cases that don't need it.
3937
7b415901
MR
39382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3939
3940 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3941 a factor of 2 for a slow test case. Take the `gdb,timeout'
3942 target setting into account for this calculation.
3943 * gdb.reverse/until-precsave.exp: Increase the timeout by
3944 a factor of 15 and 3 respectively rather than adding 120
3945 for a pair of slow test cases. Take the `gdb,timeout'
3946 target setting into account for this calculation.
3947
4a40f85a
MR
39482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3949
3950 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3951 timeout, don't pass one down to gdb_expect.
3952 (gdb_expect): Rework timeout selection.
3953
09635af7
MR
39542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3955
3956 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3957 exception on timeout.
3958 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3959 (gdbserver_start_extended): Catch any `gdbserver_start' error
3960 exceptions.
3961 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3962 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3963 `gdbserver_gdb_load' error exceptions.
3964
2bdd10b7
MR
39652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3966
3967 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3968 120 on waiting for the TCP socket to open.
3969
316935f0
DE
39702014-09-09 Doug Evans <xdje42@gmail.com>
3971
3972 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3973 _caller_matches, _any_caller_is, _any_caller_matches.
3974
83740597
DE
39752014-09-09 Doug Evans <xdje42@gmail.com>
3976
3977 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3978
4c122fc3
YQ
39792014-09-09 Yao Qi <yao@codesourcery.com>
3980
3981 * gdb.mi/mi-var-display.exp: Set print symbol off.
3982
a9f116cb
GKB
39832014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3984
3985 PR gdb/17035
3986 * gdb.base/commands.exp: Add tests to verify user-defined
3987 commands with empty bodies.
3988 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3989 python commands in `show user command`.
3990 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3991 scheme commands in `show user command`.
3992
c75bd3a2
JK
39932014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3994
3995 PR python/17355
3996 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3997 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3998 * gdb.python/py-framefilter-invalidarg.exp: New file.
3999 * gdb.python/py-framefilter-invalidarg.py: New file.
4000
faa42425
DE
40012014-09-06 Doug Evans <xdje42@gmail.com>
4002
4003 PR 15276
4004 * gdb.python/py-caller-is.c: New file.
4005 * gdb.python/py-caller-is.exp: New file.
4006
474ca4f6
SDJ
40072014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4008
4009 PR gdb/17235
4010 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4011 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4012
eb0b0463
SDJ
40132014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4014
4015 PR fortran/17237
4016 * gdb.fortran/print-formatted.exp: New file.
4017 * gdb.fortran/print-formatted.f90: Likewise.
4018
5f3b99cf
SS
40192014-09-03 Sasha Smundak <asmundak@google.com>
4020
4021 * gdb.python/py-frame.exp: Test Frame.read_register.
4022
7d793aa9
SDJ
40232014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4024
4025 PR python/16699
4026 * gdb.python/py-completion.exp: New file.
4027 * gdb.python/py-completion.py: Likewise.
4028
fb0576e9
DE
40292014-08-28 Doug Evans <dje@google.com>
4030
4031 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4032 eax,etc. are live with values set by gdb and thus the compiler can't
4033 use them.
4034 * gdb.arch/i386-pseudo.c (main): Ditto.
4035
ee92b0dd
DE
40362014-08-27 Doug Evans <dje@google.com>
4037
4038 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4039
6649db35
DE
40402014-08-25 Doug Evans <dje@google.com>
4041
4042 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4043 (main): Ditto.
4044
564b7600
DE
40452014-08-25 Doug Evans <dje@google.com>
4046
4047 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4048
3881fb67
YQ
40492014-08-24 Yao Qi <yao@codesourcery.com>
4050
4051 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4052 symbol off.
4053 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4054
a05a36a5
DE
40552014-08-22 Doug Evans <dje@google.com>
4056
4057 PR 17276
4058 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4059 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4060 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4061
7c343b48
YQ
40622014-08-22 Yao Qi <yao@codesourcery.com>
4063
4064 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4065 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4066 * gdb.python/python.exp: Likewise. Use .py file on the host
4067 instead of the build.
4068
22fd09ae
JK
40692014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4070
4071 * gdb.threads/gcore-stale-thread.c: New file.
4072 * gdb.threads/gcore-stale-thread.exp: New file.
4073
a8454a7c
PA
40742014-08-21 Pedro Alves <palves@redhat.com>
4075
4076 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4077 * gdb.base/gcore-relro-pie.exp: Likewise.
4078 * gdb.base/gcore-relro.exp: Likewise.
4079 * gdb.base/gcore.exp: Likewise.
4080 * gdb.base/print-symbol-loading.exp: Likewise.
4081 * gdb.threads/gcore-thread.exp: Likewise.
4082 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4083
2a31c623
PA
40842014-08-20 Pedro Alves <palves@redhat.com>
4085 Jan Kratochvil <jan.kratochvil@redhat.com>
4086
4087 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4088 configure.
4089 (EXPECT): Handle READ1 being set.
4090 (all): Depend on EXTRA_RULES.
4091 (check-read1, expect-read1, read1.so, read1): New rules.
4092 * README (Testsuite Parameters): Document the READ1 make variable.
4093 (Race detection): New section.
4094 * configure: Regenerate.
4095 * configure.ac: If build==host==target, and running under a
4096 GNU/glibc system, add read1 to the extra Makefile rules.
4097 (EXTRA_RULES): AC_SUBST it.
4098 * lib/read1.c: New file.
4099
d36430db
JB
41002014-08-20 Joel Brobecker <brobecker@adacore.com>
4101
4102 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4103 the handling of variables declared as a typedef to an array
4104 which a DW_AT_data_location attribute.
4105
9a0dc9e3
PA
41062014-08-19 Andrew Burgess <aburgess@broadcom.com>
4107 Pedro Alves <palves@redhat.com>
4108
4109 PR symtab/14604
4110 PR symtab/14605
4111 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4112 gdb_test.
4113
0718a8da
PA
41142014-08-19 Pedro Alves <palves@redhat.com>
4115
4116 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4117
13b448cd
YQ
41182014-08-19 Yao Qi <yao@codesourcery.com>
4119
4120 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4121 right line.
4122
1cbf5077
DB
41232014-08-18 David Blaikie <dblaikie@gmail.com>
4124
4125 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4126
bf0fae19
JB
41272014-08-18 Joel Brobecker <brobecker@adacore.com>
4128
4129 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4130 attribute in array range.
4131
3c8c5dcc
JB
41322014-08-18 Joel Brobecker <brobecker@adacore.com>
4133
4134 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4135
e66d4446
SC
41362014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4137
4138 PR c++/17132
4139 * gdb.cp/pr17132.cc: New file.
4140 * gdb.cp/pr17132.exp: New file.
4141
940df408
SC
41422014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4143
4144 * gdb.python/py-xmethods.py (A_getarrayind)
4145 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4146 Use 'print' with function call syntax.
4147 (E_method_matcher.match): Fix tab vs space indentation mixup.
4148
ebcc6c3a
YQ
41492014-08-15 Yao Qi <yao@codesourcery.com>
4150
4151 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4152 false.
4153
775e0f04
YQ
41542014-08-15 Yao Qi <yao@codesourcery.com>
4155
4156 * gdb.cp/casts.exp: Set print symbol off.
4157 * gdb.cp/class2.exp: Likewise.
4158 * gdb.cp/overload.exp: Likewise.
4159 * gdb.cp/templates.exp: Likewise.
4160
d769e349
DE
41612014-08-11 Doug Evans <dje@google.com>
4162
4163 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4164 (test_load_shlib): Update.
4165
20c6f1e1
YQ
41662014-08-09 Yao Qi <yao@codesourcery.com>
4167
4168 * gdb.base/display.exp: Invoke is_address_zero_readable.
4169 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4170 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4171 * gdb.base/hbreak-unmapped.exp: Return if
4172 is_address_zero_readable returns true.
4173 * gdb.base/signest.exp: Likewise.
4174 * gdb.base/signull.exp: Likewise.
4175 * gdb.base/sigbpt.exp: Likewise.
4176 * gdb.guile/scm-disasm.exp: Do the test if
4177 is_address_zero_readable returns false.
4178 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4179 * gdb.python/py-arch.exp: Likewise.
4180 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4181 * lib/gdb.exp (is_address_zero_readable): New proc.
4182
5792e8e3
YQ
41832014-08-09 Yao Qi <yao@codesourcery.com>
4184
4185 PR testsuite/13443
4186 * gdb.mi/mi-var-display.exp: Make test messages unique.
4187
3cecbbbe
TT
41882014-08-04 Tom Tromey <tromey@redhat.com>
4189
4190 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4191 target 0".
4192
00b51ff5
TT
41932014-08-04 Tom Tromey <tromey@redhat.com>
4194
4195 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4196 "target_resume".
4197
6908c509
JB
41982014-08-01 Joel Brobecker <brobecker@adacore.com>
4199
4200 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4201 inner_vla_struct_object_size.
4202 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4203 as xfail.
4204
cc6563d2
PA
42052014-07-30 Pedro Alves <palves@redhat.com>
4206
4207 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4208 comment.
4209
7e09a223
YQ
42102014-07-29 Yao Qi <yao@codesourcery.com>
4211
4212 PR gdb/17206
4213 * gdb.base/until-nodebug.exp: New.
4214
7ebdbe92
DE
42152014-07-28 Doug Evans <xdje42@gmail.com>
4216
4217 PR guile/17203
4218 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4219 previously existing parameter, and previously ambiguously spelled
4220 parameter.
4221
fdb1adc6
WN
42222014-07-28 Will Newton <will.newton@linaro.org>
4223
4224 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4225
186fcde0
DE
42262014-07-26 Ludovic Courtès <ludo@gnu.org>
4227 Doug Evans <xdje42@gmail.com>
4228
4229 PR guile/17146
4230 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4231
70509625
PA
42322014-07-25 Pedro Alves <palves@redhat.com>
4233
4234 * gdb.threads/signal-command-handle-nopass.c: New file.
4235 * gdb.threads/signal-command-handle-nopass.exp: New file.
4236 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4237 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4238 * gdb.threads/signal-delivered-right-thread.c: New file.
4239 * gdb.threads/signal-delivered-right-thread.exp: New file.
4240
c3f814a1
PA
42412014-07-25 Pedro Alves <palves@redhat.com>
4242
4243 * gdb.base/double-prompt-target-event-error.exp
4244 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4245 match.
4246 (cancel_pagination_in_target_event): Rework double prompt
4247 detection.
4248 * gdb.base/paginate-after-ctrl-c-running.exp
4249 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4250 <return>' match.
4251 * gdb.base/paginate-bg-execution.exp
4252 (test_bg_execution_pagination_return)
4253 (test_bg_execution_pagination_cancel): Remove '-notransfer
4254 <return>' matches.
4255 * gdb.base/paginate-execution-startup.exp
4256 (test_fg_execution_pagination_return)
4257 (test_fg_execution_pagination_cancel): Remove '-notransfer
4258 <return>' matches.
4259 * gdb.base/paginate-inferior-exit.exp
4260 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4261 match.
4262 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4263 * lib/gdb.exp (pagination_prompt): Run text through
4264 string_to_regexp.
4265 (gdb_test_multiple): Match $pagination_prompt instead of
4266 "<return>".
4267 (string_to_regexp): Move to lib/gdb-utils.exp.
4268
e214cf6c
JK
42692014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4270
4271 * gdb.arch/amd64-entry-value-paramref.S: New file.
4272 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4273 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4274 * gdb.arch/amd64-optimout-repeat.S: New file.
4275 * gdb.arch/amd64-optimout-repeat.c: New file.
4276 * gdb.arch/amd64-optimout-repeat.exp: New file.
4277
17d0c5c8
JK
42782014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4279
4280 PR gdb/17170
4281 * gdb.base/statistics.exp: New file.
4282
b8b8facf
DE
42832014-07-17 Doug Evans <dje@google.com>
4284
74b49205 4285 PR gdb/17170
b8b8facf
DE
4286 * gdb.base/maint.exp: Update testing of per-command stats.
4287
1b5d0ab3
PA
42882014-07-16 Pedro Alves <palves@redhat.com>
4289
4290 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4291 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4292 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4293 (tfile_write_buf): New functions.
4294 (add_memory_block): Rewrite using the above.
4295 (adjust_function_address): New function.
4296 (FUNCTION_ADDRESS): New macro.
4297 (write_basic_trace_file): Remove short_x local, and use
4298 tfile_write_16. Change type of func_addr local to unsigned long
4299 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4300 here. Cast argument of add_memory_block to char pointer.
4301 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4302 (main): Remove parameters.
4303 * gdb.trace/tfile.exp: Remove nowarnings.
4304
4d974e88
SM
43052014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4306
4307 * gdb.base/debug-expr.exp: Test string evaluation with
4308 "debug expression" on.
4309
41e99568
PA
43102014-07-15 Pedro Alves <palves@redhat.com>
4311
4312 * gdb.base/reread.exp: Use clean_restart.
4313
487d9753
PL
43142014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4315
4316 * gdb.arch/avr-flash-qualifer.c: New.
4317 * gdb.arch/avr-flash-qualifer.exp: New.
4318
cc1c52ad
PA
43192014-07-14 Pedro Alves <palves@redhat.com>
4320
4321 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4322 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4323
1e973570
PA
43242014-07-14 Pedro Alves <palves@redhat.com>
4325
4326 * gdb.base/double-prompt-target-event-error.c: New file.
4327 * gdb.base/double-prompt-target-event-error.exp: New file.
4328
93d6eb10
PA
43292014-07-14 Pedro Alves <palves@redhat.com>
4330
4331 PR gdb/17072
4332 * gdb.base/paginate-inferior-exit.c: New file.
4333 * gdb.base/paginate-inferior-exit.exp: New file.
4334
0017922d
PA
43352014-07-14 Pedro Alves <palves@redhat.com>
4336
4337 PR gdb/17072
4338 * gdb.base/paginate-bg-execution.c: New file.
4339 * gdb.base/paginate-bg-execution.exp: New file.
4340
94696ad3
PA
43412014-07-14 Pedro Alves <palves@redhat.com>
4342
4343 PR gdb/17072
4344 * gdb.base/paginate-execution-startup.c: New file.
4345 * gdb.base/paginate-execution-startup.exp: New file.
4346 * lib/gdb.exp (pagination_prompt): New global.
4347 (default_gdb_spawn): New procedure, factored out from
4348 default_gdb_spawn.
4349 (default_gdb_start): Adjust to call default_gdb_spawn.
4350 (gdb_spawn): New procedure.
4351
bd293940
PA
43522014-07-14 Pedro Alves <palves@redhat.com>
4353
4354 * lib/gdb.exp (gdb_assert): New procedure.
4355 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4356
c933f875
PA
43572014-07-14 Pedro Alves <palves@redhat.com>
4358
4359 * gdb.base/execution-termios.c: New file.
4360 * gdb.base/execution-termios.exp: New file.
4361
d98b7a16
TT
43622014-07-14 Tom Tromey <tromey@redhat.com>
4363
4364 * gdb.cp/vla-cxx.cc: New file.
4365 * gdb.cp/vla-cxx.exp: New file.
4366
548740d6
TT
43672014-07-14 Tom Tromey <tromey@redhat.com>
4368
4369 * gdb.reverse/rerun-prec.c: New file.
4370 * gdb.reverse/rerun-prec.exp: New file.
4371
a25eb028
MR
43722014-07-12 Maciej W. Rozycki <macro@mips.com>
4373 Maciej W. Rozycki <macro@codesourcery.com>
4374
4375 * lib/gdb-utils.exp: New file.
4376 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4377 inline `gdb_init_command' processing.
4378 (gdb_start_cmd): Likewise.
4379 * lib/mi-support.exp (mi_run_cmd): Likewise.
4380 * README: Document `gdb_init_command' and `gdb_init_commands'.
4381
218c2655
JK
43822014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4383
4384 Fix false FAIL running under a very long directory name.
4385 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4386 and "set print elements 10000". Twice.
4387
5401fde3
YQ
43882014-07-11 Yao Qi <yao@codesourcery.com>
4389
4390 * gdb.base/exprs.exp: "set print symbol off".
4391
e76126e8
PA
43922014-07-11 Pedro Alves <palves@redhat.com>
4393
4394 * gdb.threads/kill.c: New file.
4395 * gdb.threads/kill.exp: New file.
4396
2d6f0de6
YQ
43972014-07-10 Yao Qi <yao@codesourcery.com>
4398
4399 * gdb.trace/tfile.c (write_basic_trace_file)
4400 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4401 address written to trace file.
4402
7180e04a
PA
44032014-07-09 Pedro Alves <palves@redhat.com>
4404
4405 * gdb.base/attach-wait-input.exp: New file.
4406 * gdb.base/attach-wait-input.c: New file.
4407
9a9a7608
AB
44082014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4409
4410 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4411 setting up test structures.
4412 (main): Call new test function.
4413 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4414 test function, continue into test function and walk test
4415 structures.
4416
161ac41e
YQ
44172014-07-02 Yao Qi <yao@codesourcery.com>
4418
4419 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4420 'bar_start' at the beginning of functions 'foo' and 'bar'
4421 respectively.
4422 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4423 instead of 'foo' and 'bar'.
4424
1f267ae3
MM
44252014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4426
4427 * gdb.btrace/segv.exp: New.
4428 * gdb.btrace/segv.c: New.
4429
2b239efb
LM
44302014-07-02 Luis Machado <lgustavo@codesourcery.com>
4431
4432 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4433 instruction.
4434
cf363f18
MW
44352014-06-30 Mark Wielaard <mjw@redhat.com>
4436
4437 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4438 vulture, vilify, villar): New volatile array constants.
4439 (vindictive, vegetation): New const volatile array constants.
4440 * gdb.base/volatile.exp: Test volatile and const volatile array
4441 types.
4442
aebf9d24
AA
44432014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4444
4445 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4446 target lacks support for awatch, rwatch, or hbreak.
4447
b67a2c6f
YQ
44482014-06-27 Yao Qi <yao@codesourcery.com>
4449
4450 * gdb.multi/dummy-frame-restore.exp: New.
4451 * gdb.multi/dummy-frame-restore.c: New.
4452
aef92902
MM
44532014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4454
4455 * gdb.btrace/gcore.exp: New.
4456
8e9db26e
PA
44572014-06-23 Pedro Alves <palves@redhat.com>
4458
4459 * gdb.base/watchpoint-reuse-slot.c: New file.
4460 * gdb.base/watchpoint-reuse-slot.exp: New file.
4461
70afc5b7
SC
44622014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4463
4464 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4465 progspace's filename in 'info', 'enable' and 'disable' command
4466 tests.
4467
b972bd9c
JK
44682014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4469
4470 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4471 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4472 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4473
125f8a3d
GB
44742014-06-20 Gary Benson <gbenson@redhat.com>
4475
4476 * gdb.arch/i386-avx.exp: Fix include file location.
4477 * gdb.arch/i386-sse.exp: Likewise.
4478
3ed9baed
IB
44792014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4480
4481 * gdb.dlang/expression.exp: New file.
4482
034f788c
PA
44832014-06-19 Pedro Alves <palves@redhat.com>
4484
4485 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4486 out from ...
4487 (top level): ... here. Iterate running tests under different
4488 scheduler-locking settings.
4489
45371d0c
LM
44902014-06-18 Luis Machado <lgustavo@codesourcery.com>
4491
4492 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4493 to DW_FORM_addr and use non-zero addresses.
4494
5d376983
SC
44952014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4496
4497 PR gdb/17017
4498 * gdb.python/py-xmethods.cc: Add global function call counters and
4499 increment them in their respective functions. Remove "cout"
4500 statements.
4501 * gdb.python/py-xmethods.exp: Make tests check the global function
4502 call counters instead of depending on inferior IO.
4503
a1aa2221
LM
45042014-06-18 Don Breazeal <donb@codesourcery.com>
4505
4506 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4507 Deleted procedure.
4508 (explicit_fork_parent_follow): Deleted procedure.
4509 (explicit_fork_child_follow): Deleted procedure.
4510 (test_follow_fork): New procedure.
4511 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4512 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4513 procedure calls.
4514
0fc05997
YQ
45152014-06-17 Yao Qi <yao@codesourcery.com>
4516
4517 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4518 CP1252.
4519
70795c52
LM
45202014-06-17 Luis Machado <lgustavo@codesourcery.com>
4521
4522 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4523 Initialize ptr and S explicitly.
4524 (skip_type_update_when_not_use_rtti_test): Likewise.
4525
6be47f0c
KS
45262014-06-16 Keith Seitz <keiths@redhat.com>
4527
4528 PR mi/15863
4529 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4530 the inferior is started.
4531
d03de421
PA
45322014-06-16 Pedro Alves <palves@redhat.com>
4533
4534 * gdb.base/break-main-file-remove-fail.c: New file.
4535 * gdb.base/break-main-file-remove-fail.exp: New file.
4536 * gdb.base/break-unload-file.exp: Use build_executable instead of
4537 prepare_for_testing.
4538 (test_break): New parameter "initial_load". Handle it.
4539 (top level): Add initial_load cmdline/file axis.
4540
f9579b99
TT
45412014-06-12 Tom Tromey <tromey@redhat.com>
4542
4543 * gdb.base/completion.exp: Don't use directory name in test.
4544
3657956b
GB
45452014-06-09 Gary Benson <gbenson@redhat.com>
4546
4547 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4548 separate the always-available ANSI-standard signals from the
4549 signals that require checking.
4550 (main): Likewise.
4551 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4552 Likewise.
4553 (main): Likewise.
4554
4186eb54
KS
45552014-06-07 Keith Seitz <keiths@redhat.com>
4556
4557 Revert:
4558 PR c++/16253
4559 * gdb.cp/var-tag.cc: New file.
4560 * gdb.cp/var-tag.exp: New file.
4561 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4562 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4563 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4564 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4565
25326a28 45662014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4567
4568 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4569
829155c9
PA
45702014-06-06 Pedro Alves <palves@redhat.com>
4571
4572 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4573 in target debug output instead of looking at RSP packets,
4574 disabling the test on any target that uses hardware stepping.
4575 Update comments.
4576
61c8d22e
PA
45772014-06-06 Pedro Alves <palves@redhat.com>
4578
4579 * gdb.base/break-unload-file.exp: Fix typo.
4580
d9a47287
YQ
45812014-06-06 Yao Qi <yao@codesourcery.com>
4582
4583 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4584 from "jit_function" to "^jit_function".
4585
e5e01dbf
YQ
45862014-06-06 Yao Qi <yao@codesourcery.com>
4587
4588 * gdb.base/async.c (foo): Add one statement.
4589 * gdb.base/async.exp: Get the next instruction address and
4590 match the output of "nexti" by instruction address. Match
4591 the hex address in the output of "finish".
4592
73ba372c
GB
45932014-06-06 Gary Benson <gbenson@redhat.com>
4594
4595 * gdb.base/call-signals.c: Remove preprocessor conditionals
4596 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4597 SIGSEGV and SIGTERM.
4598 * gdb.base/sigall.c: Likewise.
4599 * gdb.base/unwindonsignal.c: Likewise.
4600 * gdb.reverse/sigall-reverse.c: Likewise.
4601
831517df
YQ
46022014-06-06 Yao Qi <yao@codesourcery.com>
4603
4604 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4605 readable, skip the test.
4606
b8b91e98
YQ
46072014-06-06 Yao Qi <yao@codesourcery.com>
4608
4609 * gdb.threads/staticthreads.c (thread_function): Move the line
4610 setting breakpoint on forward.
4611 * gdb.threads/staticthreads.exp: Update comments.
4612
fb934770
LC
46132014-06-05 Ludovic Courtès <ludo@gnu.org>
4614
4615 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4616 "history-append! type error".
4617
6ef284bd
SM
46182014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4619
4620 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4621 erroneous dprintf expected input.
4622
a872e241
DE
46232014-06-04 Doug Evans <xdje42@gmail.com>
4624
4625 * gdb.guile/scm-generics.exp: Delete.
4626
16f691fb
DE
46272014-06-04 Doug Evans <xdje42@gmail.com>
4628
4629 * gdb.guile/scm-breakpoint.exp: Update.
4630 Add tests for breakpoint registration.
4631
012370f6
TT
46322014-06-04 Tom Tromey <tromey@redhat.com>
4633
4634 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4635 VLA-in-union.
4636 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4637 inner_vla_struct, vla_union types. Initialize objects of those
4638 types and compute their sizes.
4639
9f5a4cef
HZ
46402014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4641 Hui Zhu <hui@codesourcery.com>
4642
4643 * gdb.base/fileio.exp: Add test for shell not available as well as
4644 available.
4645 * gdb.base/fileio.c (test_system): Check for shell twice.
4646
90a45c4d
YQ
46472014-06-04 Yao Qi <yao@codesourcery.com>
4648
4649 * gdb.base/auto-connect-native-target.exp: Remove redundant
4650 space from the regexp pattern.
4651
70017e41
YQ
46522014-06-04 Yao Qi <yao@codesourcery.com>
4653
4654 * gdb.base/default.exp: Replace "child" with "native" in
4655 regexp pattern.
4656
883964a7
SC
46572014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4658
4659 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4660 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4661 * gdb.python/py-xmethods.py: Python script supporting the
4662 new testcase and tests.
4663
ef370185
JB
46642014-06-03 Joel Brobecker <brobecker@adacore.com>
4665 Pedro Alves <palves@redhat.com>
4666
4667 PR breakpoints/17000
4668 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4669 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4670
1e2ccb61
BM
46712014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4672
4673 * gdb.base/subst.exp: Add tests to verify partial path matching
4674 output.
4675
c6ec5ab2
PA
46762014-06-03 Pedro Alves <palves@redhat.com>
4677
4678 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4679 target that doesn't use software single-stepping.
4680
835c559f
PA
46812014-06-03 Pedro Alves <palves@redhat.com>
4682
4683 PR breakpoints/17000
4684 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4685 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4686
06eb1586
DE
46872014-06-02 Doug Evans <xdje42@gmail.com>
4688
4689 * gdb.guile/scm-parameter.exp: New file.
4690
e698b8c4
DE
46912014-06-02 Doug Evans <xdje42@gmail.com>
4692
4693 * gdb.guile/scm-cmd.c: New file.
4694 * gdb.guile/scm-cmd.exp: New file.
4695
ded03782
DE
46962014-06-02 Doug Evans <xdje42@gmail.com>
4697
4698 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4699 pretty-printer lookup.
4700 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4701 (make-pp_s-printer): Call it.
4702 (make-pretty-printer-from-dict): New function.
4703 (lookup-pretty-printer-maker-from-dict): New function.
4704 (*pretty-printer*): Simplify.
4705 (make-objfile-pp_s-printer): New function.
4706 (install-objfile-pretty-printers!): New function.
4707 (make-progspace-pp_s-printer): New function.
4708 (install-progspace-pretty-printers!): New function.
4709 * gdb.guile/scm-progspace.c: New file.
4710 * gdb.guile/scm-progspace.exp: New file.
4711
41fac0cf
PA
47122014-06-02 Pedro Alves <palves@redhat.com>
4713
4714 * gdb.base/dprintf-bp-same-addr.c: New file.
4715 * gdb.base/dprintf-bp-same-addr.exp: New file.
4716
96ae5695
EBM
47172014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4718
4719 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4720 * gdb.arch/powerpc-power.s: Likewise.
4721
da02b3a8
JB
47222014-06-02 Joel Brobecker <brobecker@adacore.com>
4723
4724 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4725
c72b2e7b
YQ
47262014-06-01 Yao Qi <yao@codesourcery.com>
4727
4728 * gdb.base/watchpoint.exp (test_watch_location): Check null
4729 pointer can be dereferenced. If not, do the test, otherwise
4730 skip it.
4731
53e8a631
AB
47322014-05-30 Andrew Burgess <aburgess@broadcom.com>
4733
4734 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4735 results.
4736 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4737
938f0e2f
AB
47382014-05-30 Andrew Burgess <aburgess@broadcom.com>
4739
4740 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4741 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4742 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4743 * gdb.arch/amd64-invalid-stack-top.c: New file.
4744 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4745
9ba6657a
PA
47462014-05-30 Pedro Alves <palves@redhat.com>
4747
4748 PR breakpoints/17000
4749 * gdb.base/sss-bp-on-user-bp.c: New file.
4750 * gdb.base/sss-bp-on-user-bp.exp: New file.
4751
522c09bf
DB
47522014-05-30 David Blaikie <dblaikie@gmail.com>
4753
4754 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4755 gnu_inline semantics via attribute.
4756 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4757 source explicitly specifies the required semantics.
4758
bf4ef81e
MR
47592014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4760
4761 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4762
329ea579
PA
47632014-05-29 Pedro Alves <palves@redhat.com>
4764 Tom Tromey <tromey@redhat.com>
4765
4766 * gdb.base/async-shell.exp: Don't enable target-async.
4767 * gdb.base/async.exp
4768 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4769 parameter. Adjust.
4770 (top level): Don't test with "target-async".
4771 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4772 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4773 * gdb.base/inferior-died.exp: Don't enable target-async.
4774 * gdb.base/interrupt-noterm.exp: Likewise.
4775 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4776 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4777 * gdb.mi/mi-nonstop.exp: Likewise.
4778 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4779 * gdb.mi/mi-nsintrall.exp: Likewise.
4780 * gdb.mi/mi-nsmoribund.exp: Likewise.
4781 * gdb.mi/mi-nsthrexec.exp: Likewise.
4782 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4783 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4784 * gdb.python/py-evsignal.exp: Don't enable target-async.
4785 * gdb.python/py-evthreads.exp: Likewise.
4786 * gdb.python/py-prompt.exp: Likewise.
4787 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4788 * gdb.server/solib-list.exp: Don't enable target-async.
4789 * gdb.threads/thread-specific-bp.exp: Likewise.
4790 * lib/mi-support.exp: Adjust to use mi-async.
4791
fd664c91
PA
47922014-05-29 Pedro Alves <palves@redhat.com>
4793
4794 PR gdb/13860
4795 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4796 reason, even in sync mode.
4797
251bde03
PA
47982014-05-29 Pedro Alves <palves@redhat.com>
4799 Hui Zhu <hui@codesourcery.com>
4800
4801 PR PR15693
4802 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4803 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4804 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4805 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4806
7f3c0343
JB
48072014-05-28 Joel Brobecker <brobecker@adacore.com>
4808
4809 * config/monitor.exp (gdb_target_monitor): Replace use of
4810 "set remotebaud" by "set serial baud".
4811
b2715b27
AW
48122014-05-26 Andy Wingo <wingo@igalia.com>
4813
4814 * gdb.guile/scm-breakpoint.exp:
4815 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4816 properties instead of gdb-object-properties.
4817
498a4489
YQ
48182014-05-26 Yao Qi <yao@codesourcery.com>
4819
4820 * gdb.server/no-thread-db.exp: Specify source file name
4821 explicitly when setting a breakpoint.
4822
589fdceb
MM
48232014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4824
4825 * gdb.btrace/vdso.c: New.
4826 * gdb.btrace/vdso.exp: New.
4827
e9089e05
MM
48282014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4829
4830 * gdb.base/gcore.exp (capture_command_output): Move ...
4831 * lib/gdb.exp (capture_command_output): ... here.
4832
67b5c0c1
MM
48332014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4834
4835 * gdb.btrace/data.exp: Test memory access during btrace replay.
4836
a2199296
SM
48372014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4838
4839 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4840
17b2616c
PA
48412014-05-21 Pedro Alves <palves@redhat.com>
4842
4843 PR gdb/13860
4844 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4845 (top level): Test that output related to execution commands is
4846 sent to the console with CLI commands, but not with MI commands.
4847 Test that breakpoint events are always mirrored to the console.
4848 Also expect the new source line to be output after a "next" in
4849 async mode too. Make it a pass/fail test.
4850 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4851 output.
4852 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4853
5166082f
PA
48542014-05-21 Pedro Alves <palves@redhat.com>
4855
4856 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4857 Use them to test variations of "list" after reaching a breakpoint.
4858 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4859 Test "list" with listsize 10 after reaching a breakpoint.
4860 * gdb.python/python.exp (decode_line current location line
4861 number): Adjust expected line number.
4862
2f25d70f
SM
48632014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4864
4865 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4866 behavior for $args, pass it directly to "run".
4867
ff604a67
MR
48682014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4869
4870 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4871 30000 to 65536.
4872
6a3cb8e8
PA
48732014-05-21 Pedro Alves <palves@redhat.com>
4874
4875 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4876 auto-connect-native-target off".
4877 * gdb.base/auto-connect-native-target.c: New file.
4878 * gdb.base/auto-connect-native-target.exp: New file.
4879
4ebfc96e
PA
48802014-05-21 Pedro Alves <palves@redhat.com>
4881
4882 * gdb.base/default.exp: Test "target native" instead of "target
4883 child".
4884
36d46afb
MW
48852014-05-21 Mark Wielaard <mjw@redhat.com>
4886
4887 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4888
5876f503
JK
48892014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4890
4891 Fix TLS access for -static -pthread.
4892 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4893 <HAVE_TLS> (thread_function, main): Initialize it.
4894 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4895 Add clean_restart.
4896 <$have_tls != "">: Check TLSVAR.
4897
0256a6ac
PA
48982014-05-21 Pedro Alves <palves@redhat.com>
4899
4900 * gdb.base/dcache-line-read-error.c: New.
4901 * gdb.base/dcache-line-read-error.exp: New.
4902
936d2992
PA
49032014-05-20 Pedro Alves <palves@redhat.com>
4904
4905 * gdb.base/compare-sections.c: New file.
4906 * gdb.base/compare-sections.exp: New file.
4907
802e8e6d
PA
49082014-05-20 Pedro Alves <palves@redhat.com>
4909
4910 * gdb.base/break-idempotent.c: New file.
4911 * gdb.base/break-idempotent.exp: New file.
4912
e59fa00f
MM
49132014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4914
4915 * gdb.btrace/nohist.exp: New.
4916
8b696e31
YQ
49172014-05-20 Yao Qi <yao@codesourcery.com>
4918
4919 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4920 gdb.reverse directory and gdb_reverse_timeout exists in board
4921 setting.
4922 * README: Document gdb_reverse_timeout.
4923
73c9764f
YQ
49242014-05-20 Yao Qi <yao@codesourcery.com>
4925
4926 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4927 'test_file_name'. Treat args as a string instead of a list.
4928 (gdb_init): Rename argument 'args' by 'test_file_name'.
4929
f1f4348a
JK
49302014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4931
4932 * gdb.arch/powerpc-power.exp: New file.
4933 * gdb.arch/powerpc-power.s: New file.
4934
0dbe70ce
DE
49352014-05-16 Doug Evans <dje@google.com>
4936
4937 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4938 * gdb.base/completion.exp: Check that all expected files exist
4939 before doing file completion.
0dbe70ce 4940
8d551b02
DE
49412014-05-16 Doug Evans <dje@google.com>
4942
4943 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4944 Update.
4945 (do_syscall_tests_without_xml): Update.
4946
73eb7709
PA
49472014-05-16 Pedro Alves <palves@redhat.com>
4948
4949 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4950 instead of "unknown output after running".
4951
3fae92fc
YQ
49522014-05-16 Yao Qi <yao@codesourcery.com>
4953
4954 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4955 file1.txt from host at the end.
4956 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4957
c2b2ccc5
DE
49582014-05-15 Doug Evans <dje@google.com>
4959
4960 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4961 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4962 loading file. Add test for TU lookup.
4963
8c217a4b
SM
49642014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4965
4966 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4967 calling "-exec-arguments" or "set args" before running the
4968 inferior.
4969
3deb39c6
SM
49702014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4971
4972 * lib/mi-support.exp (mi_expect_stop): Expect message for
4973 inferiors that exit with non-zero exit code.
4974
71a79f8c
YQ
49752014-05-14 Yao Qi <yao@codesourcery.com>
4976
4977 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4978 match absolute path on remote host.
4979 (test_file_list_exec_source_files): Remove "/" from the
4980 pattern.
4981
f23fcd46
YQ
49822014-05-14 Yao Qi <yao@codesourcery.com>
4983
4984 * boards/local-remote-host-notty.exp (${board}_file): New
4985 proc.
4986
9404b58f
KM
49872014-05-07 Kyle McMartin <kyle@redhat.com>
4988
4989 Pushed by Joel Brobecker <brobecker@adacore.com>.
4990 * gdb.arch/aarch64-atomic-inst.c: New file.
4991 * gdb.arch/aarch64-atomic-inst.exp: New file.
4992
5e45f04c
YQ
49932014-05-07 Yao Qi <yao@codesourcery.com>
4994
4995 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4996 in current context" too.
4997
c888a17d
KS
49982014-05-05 Keith Seitz <keiths@redhat.com>
4999
5000 * gdb.linespec/ls-dollar.exp: Add test for linespec
5001 file:convenience_variable.
5002
290a839c
YQ
50032014-05-05 Yao Qi <yao@codesourcery.com>
5004
5005 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5006 traceframes into tfile and ctf trace files. Read data from
5007 trace file and test collected data.
5008 (gdb_collect_locals_test): Likewise.
5009 (gdb_unavailable_registers_test): Likewise.
5010 (gdb_unavailable_floats): Likewise.
5011 (gdb_collect_globals_test): Likewise.
5012 (top-level): Append "ctf" to trace_file_targets if GDB
5013 supports.
5014
b5262cd0
YQ
50152014-05-05 Yao Qi <yao@codesourcery.com>
5016
5017 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5018 code to ...
5019 (gdb_collect_args_test_1): ... it. New proc.
5020 (gdb_collect_locals_test): Move some code to ...
5021 (gdb_collect_locals_test_1): ... it. New proc.
5022 (gdb_unavailable_registers_test): Move some code to ...
5023 (gdb_unavailable_registers_test_1): ... it. New proc.
5024 (gdb_unavailable_floats): Move some code to ...
5025 (gdb_unavailable_floats_1): ... it. New proc.
5026
30a1e6cc
SDJ
50272014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5028
5029 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5030 probes to test for bitness recognition.
5031 * gdb.arch/amd64-stap-optional-prefix.exp
5032 (test_probe_value_without_reg): New procedure.
5033 Add code to test for different kinds of bitness.
5034
f33da99a
SDJ
50352014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5036
5037 PR breakpoints/16889
5038 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5039 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5040
5b80f00d
PA
50412014-05-01 Pedro Alves <palves@redhat.com>
5042
5043 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5044 gdb_file_cmd if no file is specified.
5045 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5046 last_loaded_file to set the remote exec-file.
5047
f8c2a73c
PA
50482014-05-01 Pedro Alves <palves@redhat.com>
5049
5050 * boards/local-remote-host.exp: New file.
5051
be6e8ac7
PA
50522014-05-01 Pedro Alves <palves@redhat.com>
5053
5054 * boards/local-remote-host.exp: Rename to ...
5055 * boards/local-remote-host-notty.exp: ... this.
5056
cac0dc8f
JB
50572014-04-28 Joel Brobecker <brobecker@adacore.com>
5058
5059 * gdb.ada/dyn_arrayidx: New testcase.
5060
9730e6cc
YQ
50612014-04-26 Yao Qi <yao@codesourcery.com>
5062
5063 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5064 and compute the length of function main. Save it in
5065 $main_length.
5066 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5067 (top-level): Use gdb_compile to compile objects into
5068 executable and restart GDB. Remove invocation to
5069 prepare_for_testing.
5070
7ae1a6a6
PA
50712014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5072 Pedro Alves <palves@redhat.com>
5073
5074 PR server/16255
5075 * gdb.multi/multi-attach.c: New file.
5076 * gdb.multi/multi-attach.exp: New file.
5077
4082afcc
PA
50782014-04-25 Pedro Alves <palves@redhat.com>
5079
5080 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5081 user.
5082 (top level): Test that "set remote conditional-breakpoints-packet
5083 off" works as intended.
5084 * gdb.base/dprintf.exp: Test that "set remote
5085 breakpoint-commands-packet off" works as intended.
5086 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5087 New function.
5088 (top level): Call it.
5089 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5090 remote fast-tracepoints-packet off" works as intended.
5091 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5092 * lib/gdb.exp (gdb_is_target_remote): ... here.
5093
2abc3f8d
DB
50942014-04-24 David Blaikie <dblaikie@gmail.com>
5095
5096 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5097 ensure clang would not discard them.
5098 * gdb.base/gdbvars.c: Ditto.
5099 * gdb.base/memattr.c: Ditto.
5100 * gdb.base/whatis.c: Ditto.
5101 * gdb.python/py-prettyprint.c: Ditto.
5102 * gdb.trace/actions.c: Ditto.
5103 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5104 ensure clang would not discard it.
5105
bfd39632
DB
51062014-04-24 David Blaikie <dblaikie@gmail.com>
5107
5108 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5109 clang to emit the full definition of type required by the test
5110 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5111
22842ff6
DB
51122014-04-24 David Blaikie <dblaikie@gmail.com>
5113
5114 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5115 coax Clang into emitting the definition of the type.
5116 * gdb.cp/pr10728-x.h (y): Ditto.
5117 * gdb.cp/pr10728-y.cc (y): Ditto.
5118
c2e827ad
DB
51192014-04-24 David Blaikie <dblaikie@gmail.com>
5120
5121 * gdb.base/label.exp: XFAIL label related tests under Clang.
5122 * gdb.cp/cplabel.exp: Ditto.
5123 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5124 under Clang those using labels.
5125
4c2d33e7
YQ
51262014-04-25 Yao Qi <yao@codesourcery.com>
5127
5128 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5129 double_label.
5130 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5131 partial_label and double_label.
5132
56083b99
DB
51332014-04-24 David Blaikie <dblaikie@gmail.com>
5134
5135 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5136
25d4e99d
DB
51372014-04-24 David Blaikie <dblaikie@gmail.com>
5138
5139 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5140 of the function to work across GCC and Clang.
5141 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5142 pointer types (const void ** const V void **).
5143
01f9f808
MS
51442014-04-24 Michael Sturm <michael.sturm@mintel.com>
5145 Walfred Tedeschi <walfred.tedeschi@intel.com>
5146
5147 * Makefile.in (EXECUTABLES): Added i386-avx512.
5148 * gdb.arch/i386-avx512.c: New file.
5149 * gdb.arch/i386-avx512.exp: Likewise.
5150
4b48d439
KS
51512014-04-23 Keith Seitz <keiths@redhat.com>
5152
5153 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5154 (mi_make_breakpoint_table): New procedure.
5155 (mi_create_breakpoint): Use mi_make_breakpoint
5156 and return the result.
5157 (mi_make_breakpoint): New procedure.
5158 (mi_build_kv_pairs): New procedure.
5159
5160 * gdb.mi/mi-break.exp: Remove unused globals,
5161 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5162 All callers updated.
5163 * gdb.mi/mi-dprintf.exp: Use variable to track command
5164 number.
5165 Update all callers of mi_create_breakpoint and use
5166 mi_make_breakpoint_table.
5167 Remove any unused global variables.
5168 * gdb.mi/mi-nonstop.exp: Likewise.
5169 * gdb.mi/mi-nsintrall.exp: Likewise.
5170 * gdb.mi/mi-nsmoribund.exp: Likewise.
5171 * gdb.mi/mi-nsthrexec.exp: Likewise.
5172 * gdb.mi/mi-reverse.exp: Likewise.
5173 * gdb.mi/mi-simplerun.exp: Likewise.
5174 * gdb.mi/mi-stepn.exp: Likewise.
5175 * gdb.mi/mi-syn-frame.exp: Likewise.
5176 * gdb.mi/mi-until.exp: Likewise.
5177 * gdb.mi/mi-var-cp.exp: Likewise.
5178 * gdb.mi/mi-var-display.exp: Likewise.
5179 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5180 * gdb.mi/mi2-var-child.exp: Likewise.
5181 * gdb.mi/mi-vla-c99.exp: Likewise.
5182 * lib/mi-support.exp: Likewise.
5183
5184 From Ian Lance Taylor <iant@cygnus.com>:
5185 * lib/gdb.exp (parse_args): New procedure.
5186
08351840
PA
51872014-04-23 Pedro Alves <palves@redhat.com>
5188
5189 * gdb.base/break-unload-file.c: New file.
5190 * gdb.base/break-unload-file.exp: New file.
5191 * gdb.base/sym-file-lib.c (baz): New function.
5192 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5193 field.
5194 (load): Store the segment's mapped size.
5195 (unload): New function.
5196 (unload_shlib): New function.
5197 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5198 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5199 set a breakpoint at baz, and call it.
5200 * gdb.base/sym-file.exp: New tests for stale breakpoint
5201 instructions.
5202
076855f9
PA
52032014-04-23 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5206 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5207 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5208 * gdb.base/hbreak-unmapped.c: New file.
5209 * gdb.base/hbreak-unmapped.exp: New file.
5210 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5211 * lib/gdb.exp (gdb_is_target_remote): ... here.
5212
483805cf
PA
52132014-04-22 Pedro Alves <palves@redhat.com>
5214
5215 * gdb.base/consecutive-step-over.c: New file.
5216 * gdb.base/consecutive-step-over.exp: New file.
5217
06d97543
PA
52182014-04-22 Pedro Alves <palves@redhat.com>
5219
5220 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5221 instead of send_gdb/gdb_expect.
5222
b4429ea2
YQ
52232014-04-22 Yao Qi <yao@codesourcery.com>
5224
5225 * lib/trace-support.exp (generate_tracefile): New procedure.
5226 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5227 return 0.
5228 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5229 if generate_tracefile returns 1.
5230
51d48146
PA
52312014-04-18 Tom Tromey <palves@redhat.com>
5232 Pedro alves <tromey@redhat.com>
5233
5234 PR backtrace/15558
5235 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5236 with a backtrace limit.
5237 * gdb.python/py-frame-inline.exp: Test running to an inline
5238 function with a backtrace limit, and printing the newest frame.
5239 * gdb.python/py-frame-inline.c (main): Call f.
5240
bd1dce5f
MS
52412014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5242
5243 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5244
40d1a503
MS
52452014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5246
5247 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5248 Drop prefix from unsupported source file path.
5249
389b98f7
YQ
52502014-04-17 Yao Qi <yao@codesourcery.com>
5251
5252 * lib/gdb.exp (with_target_charset): New proc.
5253 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5254 with_target_charset.
5255 (test_print_strings): Likewise.
5256 (test_repeat_bytes): Likewise.
5257 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5258 for some tests.
5259
22869d73
KS
52602014-04-16 Keith Seitz <keiths@redhat.com>
5261
5262 PR gdb/15827
5263 * gdb.dwarf2/corrupt.c: New file.
5264 * gdb.dwarf2/corrupt.exp: New file.
5265
c4f87ca6
KS
52662014-04-16 Keith Seitz <keiths@redhat.com>
5267
5268 PR c++/16597
5269 * gdb.cp/namelessclass.cc: New file.
5270 * gdb.cp/namelessclass.exp: New file.
5271 * gdb.cp/namelessclass.S: New file.
5272
ab19de87
DE
52732014-04-16 Doug Evans <dje@google.com>
5274
5275 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5276 Add comment.
5277 (gdbserver_default_get_comm_port): New function.
5278 (gdbserver_start): Check if board file provided
5279 "gdbserver,get_comm_port" and use it if so.
5280 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5281 (gdb,socketport): Set to "stdio".
5282 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5283 (stdio_gdbserver_template): Delete.
5284 (${board}_get_remote_address): Update.
5285 (${board}_build_remote_cmd): Delete.
5286 (${board}_get_comm_port): New function.
5287 (${board}_spawn): Update.
5288 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5289 Delete.
5290 (${board}_get_remote_address): Update.
5291 (${board}_get_comm_port): New function.
5292
fc98a809
AB
52932014-04-16 Andrew Burgess <aburgess@broadcom.com>
5294
5295 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5296 appearing in any order.
5297
87fd9e6e
DE
52982014-04-15 Doug Evans <dje@google.com>
5299
5300 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5301 uninitialized value of "description".
5302
099fc3ea
KS
53032014-04-15 Keith Seitz <keiths@redhat.com>
5304
5305 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5306 Remove unused globals.
5307 (test_running_the_program): Likewise.
5308 (test_controlled_execution): Likewise.
5309 (test_controlling_breakpoints): Likewise.
5310 (test_program_termination): Likewise.
5311
5da151d4
KS
53122014-04-15 Keith Seitz <keiths@redhat.com>
5313
5314 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5315 unused globals.
5316 (test_rbreak_creation_and_listing): Likewise.
5317 (test_ignore_count): Likewise.
5318 (test_error): Likewise.
5319
35e5d2f0
PA
53202014-04-15 Pedro Alves <palves@redhat.com>
5321
5322 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5323 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5324 sym-file-loader.c.
5325 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5326 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5327 to sym-file-loader.c.
5328 (struct library): Forward declare.
5329 (load_shlib, lookup_function): Change prototypes.
5330 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5331 (translate_offset): Remove declarations.
5332 (get_text_addr): New declaration.
5333 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5334 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5335 sym-file-loader.h.
5336 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5337 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5338 here from sym-file-loader.h.
5339 (struct library): New structure.
5340 (load_shlib, lookup_function): Change prototypes and adjust to
5341 work with a struct library.
5342 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5343 (translate_offset): Make static.
5344 (get_text_addr): New function.
5345 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5346
eb4c1710
PA
53472014-04-15 Pedro Alves <palves@redhat.com>
5348
5349 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5350
2d1baf52
PA
53512014-04-15 Pedro Alves <palves@redhat.com>
5352
5353 * gdb.base/sym-file-loader.c: Include <limits.h>.
5354 (SELF_LINK): New define.
5355 (get_origin): New function.
5356 (load_shlib): Use it.
5357 * gdb.base/sym-file.exp: Don't early return if the target is
5358 remote. Use runto_main, and issue fail is that fails. Use
5359 gdb_load_shlibs.
5360 (shlib_name): Delete.
5361 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5362
7dd6df01
PA
53632014-04-15 Pedro Alves <palves@redhat.com>
5364
5365 * gdb.base/sym-file.exp: Remove regex characters from test
5366 message. Don't refer to breakpoint numbers in test messages.
5367
b50c8614
KS
53682014-04-14 Keith Seitz <keiths@redhat.com>
5369
5370 PR c++/16253
5371 * gdb.cp/var-tag.cc: New file.
5372 * gdb.cp/var-tag.exp: New file.
5373 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5374 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5375 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5376 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5377
3d567982
TT
53782014-04-14 Tom Tromey <tromey@redhat.com>
5379
5380 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5381 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5382 type.
5383 * gdb.cp/enum-class.exp: New file.
5384 * gdb.cp/enum-class.cc: New file.
5385
0626fc76
TT
53862014-04-14 Tom Tromey <tromey@redhat.com>
5387
5388 * gdb.dwarf2/enum-type.exp: New file.
5389
dca325b3
SA
53902014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5391
5392 * gdb.mi/mi-vla-c99.exp: New file.
5393 * gdb.mi/vla.c: New file.
5394
5854b38a
SA
53952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5396
5397 * gdb.base/vla-datatypes.c: New file.
5398 * gdb.base/vla-datatypes.exp: New file.
5399
463bb957
SA
54002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5401
5402 * gdb.base/vla-ptr.c: New file.
5403 * gdb.base/vla-ptr.exp: New file.
5404
3dd170be
SA
54052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5406
5407 * gdb.dwarf2/count.exp: New file.
5408
5ecaaa66
SA
54092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5410
5411 * gdb.base/vla-sideeffect.c: New file.
5412 * gdb.base/vla-sideeffect.exp: New file.
5413
41f1ada5
DB
54142014-04-14 David Blaikie <dblaikie@gmail.com>
5415
5416 * gdb.mi/non-stop.c: Add return value for non-void function return
5417 statement.
5418 * gdb.threads/staticthreads.c: Ditto.
5419
0be03e84
DE
54202014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5421 Doug Evans <xdje42@gmail.com>
5422
5423 * gdb.guile/scm-value.c: Improve test case.
5424 * gdb.guile/scm-value.exp: Add new test.
5425
f180a1fb
DB
54262014-04-11 David Blaikie <dblaikie@gmail.com>
5427
5428 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5429 override Clang's default.
5430
6b662e19
JB
54312014-04-11 Joel Brobecker <brobecker@adacore.com>
5432
5433 Revert the following changes (regressions):
5434
5435 * gdb.base/vla-sideeffect.c: New file.
5436 * gdb.base/vla-sideeffect.exp: New file.
5437
5438 * gdb.dwarf2/count.exp: New file.
5439
5440 * gdb.base/vla-multi.c: New file.
5441 * gdb.base/vla-multi.exp: New file.
5442
5443 * gdb.base/vla-ptr.c: New file.
5444 * gdb.base/vla-ptr.exp: New file.
5445
5446 * gdb.base/vla-datatypes.c: New file.
5447 * gdb.base/vla-datatypes.exp: New file.
5448
5449 * gdb.mi/mi-vla-c99.exp: New file.
5450 * gdb.mi/vla.c: New file.
5451
245a5f0b
KS
54522014-04-11 Keith Seitz <keiths@redhat.com>
5453
5454 PR c++/16675
5455 * gdb.cp/cpsizeof.exp: New file.
5456 * gdb.cp/cpsizeof.cc: New file.
5457
58a84dcf
SA
54582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5459
191a8a90
JB
5460 * gdb.mi/mi-vla-c99.exp: New file.
5461 * gdb.mi/vla.c: New file.
58a84dcf 5462
c8655f75
SA
54632014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5464
5465 * gdb.base/vla-datatypes.c: New file.
5466 * gdb.base/vla-datatypes.exp: New file.
5467
024e13b4
SA
54682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5469
5470 * gdb.base/vla-ptr.c: New file.
5471 * gdb.base/vla-ptr.exp: New file.
5472
1a237e0e
SA
54732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5474
5475 * gdb.base/vla-multi.c: New file.
5476 * gdb.base/vla-multi.exp: New file.
5477
504f3432
SA
54782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5479
5480 * gdb.dwarf2/count.exp: New file.
5481
3bce8237
SA
54822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5483
191a8a90
JB
5484 * gdb.base/vla-sideeffect.c: New file.
5485 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5486
322f9c21
YQ
54872014-04-11 Yao Qi <yao@codesourcery.com>
5488
5489 * gdb.base/completion.exp: Check file exists before running tests
5490 on file completion.
5491
d708bcd1
PA
54922014-04-10 Pedro Alves <palves@redhat.com>
5493
5494 * gdb.base/cond-eval-mode.c: New file.
5495 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5496 prepare_for_testing to build the new file. Check result of
5497 runto_main.
5498 (test_break, test_watch): New procedures.
5499 (top level): Use them.
5500
ae1d2761
PM
55012014-04-08 Pierre Muller <muller@sourceware.org>
5502
5503 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5504 Ctrl-V use for mingw hosts.
5505
7af389b8
SC
55062014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5507
5508 * gdb.python/py-value.c: Improve test case.
5509 * gdb.python/py-value.exp: Add new test.
5510
5e703181
DE
55112014-04-07 David Blaikie <dblaikie@gmail.com>
5512
5513 * lib/compiler.c: Identify the clang compiler.
5514 * lib/compiler.cc: Ditto.
5515
9810b410
YQ
55162014-04-03 Yao Qi <yao@codesourcery.com>
5517
5518 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5519
98d1b8dc
AB
55202014-04-01 Anton Blanchard <anton@samba.org>
5521
5522 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5523 messages unique.
5524
3114cea1
AB
55252014-04-01 Anton Blanchard <anton@samba.org>
5526
5527 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5528 prepare_for_testing.
5529
62f7182c
AB
55302014-04-01 Anton Blanchard <anton@samba.org>
5531
5532 * gdb.arch/ppc64-atomic-inst.c: Remove.
5533 * gdb.arch/ppc64-atomic-inst.S: New file.
5534 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5535
770e7fc7
DE
55362014-03-31 Doug Evans <dje@google.com>
5537
5538 * gdb.base/print-symbol-loading-lib.c: New file.
5539 * gdb.base/print-symbol-loading-main.c: New file.
5540 * gdb.base/print-symbol-loading.exp: New file.
5541
46e2bafa
YQ
55422014-03-31 Yao Qi <yao@codesourcery.com>
5543
5544 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5545
8776cfe9
JB
55462014-03-28 Joel Brobecker <brobecker@adacore.com>
5547
5548 * gdb.ada/mi_dyn_arr: New testcase.
5549
5d1ef361
DE
55502014-03-27 Doug Evans <dje@google.com>
5551
5552 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5553
b5bee914
YQ
55542014-03-27 Yao Qi <yao@codesourcery.com>
5555
5556 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5557 if target is nios2-*-*.
5558
0d4d0e77
YQ
55592014-03-26 Yao Qi <yao@codesourcery.com>
5560
5561 * lib/gdb.exp (readline_is_used): New proc.
5562 * gdb.base/completion.exp: Move tests on command complete up.
5563 Skip the rest of tests if readline is not used.
5564 * gdb.ada/complete.exp: Skp the test if readline is not
5565 used.
5566 * gdb.base/filesym.exp: Likewise.
5567 * gdb.base/macscp.exp: Likewise.
5568 * gdb.base/readline-ask.exp: Likewise.
5569 * gdb.base/readline.exp: Likewise.
5570 * gdb.python/py-cmd.exp: Likewise.
5571 * gdb.trace/tfile.exp: Likewise.
5572
29361eee
YQ
55732014-03-26 Yao Qi <yao@codesourcery.com>
5574
5575 * gdb.base/macscp.exp: Fix code format issues.
5576
bc9a5525
UW
55772014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5578
5579 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5580 * gdb.asm/powerpc64le.inc: New file.
5581
d3839ede
PA
55822014-03-25 Pedro Alves <palves@redhat.com>
5583 Doug Evans <dje@google.com>
5584
5585 * gdb.base/source-execution.c: New file.
5586 * gdb.base/source-execution.exp: New file.
5587 * gdb.base/source-execution.gdb: New file.
5588
01672a57
DE
55892014-03-24 Doug Evans <dje@google.com>
5590
5591 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5592 using fission.
5593
88bbeca9
HZ
55942014-03-24 Hui Zhu <hui@codesourcery.com>
5595 Pedro Alves <palves@redhat.com>
5596
5597 PR breakpoints/16101
5598 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5599 test pass/fail messages. Detect missing support for dprintf when
5600 breakpoints are actually inserted.
5601 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5602 breakpoints are actually inserted.
5603 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5604 fails.
5605
d2348791
JK
56062014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5607
5608 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5609
feef67ab
DE
56102014-03-22 Doug Evans <xdje42@gmail.com>
5611
5612 * gdb.python/python.exp (python not supported): Verify multi-line
5613 python command issues an error.
25d743f9 5614 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5615 guile command issues an error.
feef67ab 5616
ecebef6a
MR
56172014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5618
5619 * gdb.threads/thread-specific.exp: Handle the lack of usable
5620 $this_breakpoint and $this_thread.
5621
ccdd1909
HZ
56222014-03-21 Hui Zhu <hui@codesourcery.com>
5623
5624 * gdb.base/attach.exp (do_command_attach_tests): New.
5625
beb460e8
PA
56262014-03-20 Tom Tromey <tromey@redhat.com>
5627 Pedro Alves <palves@redhat.com>
5628
5629 PR cli/15718
5630 * gdb.base/condbreak-call-false.c: New file.
5631 * gdb.base/condbreak-call-false.exp: New file.
5632
40acf43a
PA
56332014-03-20 Pedro Alves <palves@redhat.com>
5634
5635 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5636 Delete.
5637 (block_signals, unblock_signals): Delete.
5638 (child_function_2, main): Remove references to deleted variable
5639 and functions.
5640
9f5e1e02
PA
56412014-03-20 Pedro Alves <palves@redhat.com>
5642
5643 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5644 Use pthread_kill to signal thread 2.
5645 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5646 Adjust to make the test send itself a signal rather than using the
5647 host's "kill" command.
5648
99619bea
PA
56492014-03-20 Pedro Alves <palves@redhat.com>
5650
5651 * gdb.threads/multiple-step-overs.c: New file.
5652 * gdb.threads/multiple-step-overs.exp: New file.
5653 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5654 Adjust expected infrun debug output.
5655
2adfaa28
PA
56562014-03-20 Pedro Alves <palves@redhat.com>
5657
5658 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5659 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5660
31e77af2
PA
56612014-03-20 Pedro Alves <palves@redhat.com>
5662
5663 PR breakpoints/7143
5664 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5665 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5666 of gdb_test_multiple.
5667 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5668 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5669
b9f437de
PA
56702014-03-20 Pedro Alves <palves@redhat.com>
5671
5672 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5673 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5674
05adc73e
PA
56752014-03-19 Pedro Alves <palves@redhat.com>
5676
5677 * gdb.base/async.exp: Remove early return.
5678
6048b950
PA
56792014-03-19 Pedro Alves <palves@redhat.com>
5680
5681 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5682
8bcfb00a
PA
56832014-03-19 Pedro Alves <palves@redhat.com>
5684
5685 * gdb.base/async.exp (test_background): Expect \r\n after
5686 "completed." in the fail pattern.
5687
884e37dc
PA
56882014-03-19 Pedro Alves <palves@redhat.com>
5689
5690 * gdb.base/async.exp (test_background): New procedure.
5691 Use it for all background execution command tests.
5692
148e57e2
PA
56932014-03-19 Pedro Alves <palves@redhat.com>
5694
5695 * gdb.base/async.exp: Use prepare_for_testing.
5696
f48088c7
PA
56972014-03-19 Pedro Alves <palves@redhat.com>
5698
5699 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5700 the same line.
5701
e2f6c966
PA
57022014-03-19 Pedro Alves <palves@redhat.com>
5703
5704 * gdb.base/async.c (main): Add "jump here" and "until here" line
5705 marker comments.
5706 * gdb.base/async.exp (jump_here): New global.
5707 (jump& test): Use it.
5708 (until_here): New global.
5709 (until& test): Use it.
5710
c30568d4
PA
57112014-03-19 Pedro Alves <palves@redhat.com>
5712
5713 * gdb.base/async.exp: Don't frob gdb_protocol.
5714
0172b6a7
DE
57152014-03-18 Doug Evans <xdje42@gmail.com>
5716
5717 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5718 Fix spelling of exec-done-display.
5719
06c868a8
JK
57202014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5721
5722 PR gdb/15358
5723 * gdb.base/gdb-sigterm.c: New file.
5724 * gdb.base/gdb-sigterm.exp: New file.
5725
0c7e1a46
PA
57262014-03-18 Pedro Alves <palves@redhat.com>
5727
5728 PR gdb/13860
5729 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5730 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5731 solib-event.
5732
f7c77d93
JB
57332014-03-17 Joel Brobecker <brobecker@adacore.com>
5734
5735 * gdb.ada/pckd_arr_ren: New testcase.
5736
5a1e8c7a
DE
57372014-03-13 Doug Evans <xdje42@gmail.com>
5738
5739 PR guile/16612
5740 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5741 collect after discarding symbols.
5742
350e1a76
DE
57432014-03-13 Ludovic Courtès <ludo@gnu.org>
5744 Doug Evans <xdje42@gmail.com>
5745
5746 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5747 to history survives a gc.
5748
a69900ae
PA
57492014-03-13 Pedro Alves <palves@redhat.com>
5750
5751 * gdb.base/default.exp: Don't test "target procfs".
5752
5db9f0bd
PA
57532014-03-13 Pedro Alves <palves@redhat.com>
5754
5755 * gdb.base/default.exp: Update "target child" and "target procfs"
5756 tests to not expect "Unix".
5757
b3ccfe11
TT
57582014-03-12 Tom Tromey <tromey@redhat.com>
5759
5760 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5761 New procs. Add target-async tests.
5762 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5763 Add target-async tests.
5764
646f4417
AA
57652014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5766
5767 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5768 'func_start' and 'func_end' for the beginning and end of the
5769 function code, respectively.
5770 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5771 'func_end' instead of 'func' and 'main'.
5772
288c211f
AA
57732014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5774
5775 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5776 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5777 generate the debug info assembler source.
5778
e0c0f156
AA
57792014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5780
5781 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5782 * gdb.dwarf2/arr-subrange.exp: Likewise.
5783 * gdb.dwarf2/dwz.exp: Likewise.
5784 * gdb.dwarf2/method-ptr.exp: Likewise.
5785 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5786 * gdb.dwarf2/subrange.exp: Likewise.
5787 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5788 * gdb.dwarf2/implptrpiece.exp: Likewise.
5789 * gdb.dwarf2/nostaticblock.exp: Likewise.
5790
0e5c4555
AA
57912014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5792
5793 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5794 directory to absolute path name arguments.
5795
5ec18f2b
JG
57962014-03-10 Joel Brobecker <brobecker@adacore.com>
5797
5798 * gdb.ada/tagged_access: New testcase.
5799
847fc4f2
MM
58002014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5801
5802 * gdb.btrace/data.exp: Update expected output.
5803
cc3da688
YQ
58042014-03-06 Yao Qi <yao@codesourcery.com>
5805
5806 * gdb.trace/pr16508.exp: New file.
5807
0f26cec1
PA
58082014-03-05 Pedro Alves <palves@redhat.com>
5809
5810 PR gdb/16575
5811 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5812 procedure.
5813 (top level): Adjust to use it. Add tests that exercise breakpoint
5814 interaction with the code-cache.
5815
7a5a839f
LC
58162014-02-26 Ludovic Courtès <ludo@gnu.org>
5817
5818 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5819 test for 'history-append!'.
5820
31aa7e4e
JB
58212014-02-26 Joel Brobecker <brobecker@adacore.com>
5822
5823 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5824 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5825 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5826 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5827 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5828 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5829
1b588015
JB
58302014-02-26 Joel Brobecker <brobecker@adacore.com>
5831
5832 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5833 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5834 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5835
55426c9d
JB
58362014-02-26 Joel Brobecker <brobecker@adacore.com>
5837
5838 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5839
dc53a7ad
JB
58402014-02-26 Joel Brobecker <brobecker@adacore.com>
5841
5842 * gdb.dwarf2/arr-stride.c: New file.
5843 * gdb.dwarf2/arr-stride.exp: New file.
5844
12ab52e9
PA
58452014-02-26 Pedro Alves <palves@redhat.com>
5846
5847 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5848 that won't ever trigger. Make sure that GDB reports the correct
5849 breakpoint that caused the stop.
5850
849c862e
JK
58512014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5852
5853 PR gdb/16626
5854 * gdb.base/auto-load-script: New file.
5855 * gdb.base/auto-load.c: New file.
5856 * gdb.base/auto-load.exp: New file.
5857
71b7d793
JK
5858 PR gdb/16626
5859 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5860
e2f0d509
JK
58612014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5862
5863 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5864 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5865
50cc37c8
DE
58662014-02-24 Doug Evans <dje@google.com>
5867
5868 * lib/gdb.exp (run_on_host): Log error output if program fails.
5869
ea4758f2
PA
58702014-02-21 Pedro Alves <palves@redhat.com>
5871
5872 * gdb.threads/step-after-sr-lock.c: Rename to ...
5873 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5874 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5875 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5876 ... this.
5877
d7b30f67
SDJ
58782014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5879
5880 PR tdep/16397
5881 * gdb.arch/amd64-stap-special-operands.exp: New file.
5882 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5883 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5884 * gdb.arch/amd64-stap-triplet.S: Likewise.
5885 * gdb.arch/amd64-stap-triplet.c: Likewise.
5886
83deb43f
JB
58872014-02-20 Joel Brobecker <brobecker@adacore.com>
5888
5889 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5890 in .section pseudo-op.
5891
adde2bff
DE
58922014-02-20 lin zuojian <manjian2006@gmail.com>
5893 Joel Brobecker <brobecker@adacore.com>
5894 Doug Evans <xdje42@gmail.com>
5895
5896 PR symtab/16581
5897 * gdb.dwarf2/dw2-icycle.S: New file.
5898 * gdb.dwarf2/dw2-icycle.c: New file.
5899 * gdb.dwarf2/dw2-icycle.exp: New file.
5900
f7bd0f78
SC
59012014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5902
5903 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5904 operations on gdb.Value objects.
5905 * gdb.python/py-value-cc.exp: Add new test to test operations on
5906 gdb.Value objects.
5907
c17ef0d5
DE
59082014-02-18 Doug Evans <dje@google.com>
5909
5910 * Makefile.in (TESTS): New variable.
5911 (expanded_tests, expanded_tests_or_none): New variables
5912 (check-single): Pass $(expanded_tests_or_none) to runtest.
5913 (check-parallel): Only run tests in $(TESTS) if non-empty.
5914 (check/no-matching-tests-found): New rule.
5915 * README: Document TESTS makefile variable.
5916
5dd3176f
DE
59172014-02-18 Doug Evans <dje@google.com>
5918
5919 * Makefile.in (check-parallel): rm -rf outputs temp.
5920
0b10be4f
JK
59212014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5922
5923 Fix "ERROR: no fileid for" in the testsuite.
5924 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5925
85f224e7
DE
59262014-02-12 Doug Evans <dje@google.com>
5927
5928 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5929 (MISCELLANEOUS): New variable.
5930 (clean): rm -rf $(MISCELLANEOUS).
5931 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5932 dwp live in the same directory as symlinks, with each symlink pointed
5933 to a differently named file in a different directory.
5934
149b30ff
DE
59352014-02-11 Doug Evans <dje@google.com>
5936
5937 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5938 of Tcl file commands.
5939
1dfdac32
MK
59402014-02-10 Mark Kettenis <kettenis@gnu.org>
5941
5942 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5943 "kill -SIGUSR1 -1".
5944
aa4fb036
JB
59452014-02-10 Joel Brobecker <brobecker@adacore.com>
5946
5947 * gdb.ada/tick_length_array_enum_idx: New testcase.
5948
ed3ef339
DE
59492014-02-10 Doug Evans <xdje42@gmail.com>
5950
5951 * configure.ac (AC_OUTPUT): Add gdb.guile.
5952 * configure: Regenerate.
5953 * lib/gdb-guile.exp: New file.
5954 * lib/gdb.exp (get_target_charset): New function.
5955 * gdb.base/help.exp: Update expected output from "apropos apropos".
5956 * gdb.guile/Makefile.in: New file.
5957 * gdb.guile/guile.exp: New file.
5958 * gdb.guile/scm-arch.c: New file.
5959 * gdb.guile/scm-arch.exp: New file.
5960 * gdb.guile/scm-block.c: New file.
5961 * gdb.guile/scm-block.exp: New file.
5962 * gdb.guile/scm-breakpoint.c: New file.
5963 * gdb.guile/scm-breakpoint.exp: New file.
5964 * gdb.guile/scm-disasm.c: New file.
5965 * gdb.guile/scm-disasm.exp: New file.
5966 * gdb.guile/scm-equal.c: New file.
5967 * gdb.guile/scm-equal.exp: New file.
5968 * gdb.guile/scm-error.exp: New file.
5969 * gdb.guile/scm-error.scm: New file.
5970 * gdb.guile/scm-frame-args.c: New file.
5971 * gdb.guile/scm-frame-args.exp: New file.
5972 * gdb.guile/scm-frame-args.scm: New file.
5973 * gdb.guile/scm-frame-inline.c: New file.
5974 * gdb.guile/scm-frame-inline.exp: New file.
5975 * gdb.guile/scm-frame.c: New file.
5976 * gdb.guile/scm-frame.exp: New file.
5977 * gdb.guile/scm-generics.exp: New file.
5978 * gdb.guile/scm-gsmob.exp: New file.
5979 * gdb.guile/scm-iterator.c: New file.
5980 * gdb.guile/scm-iterator.exp: New file.
5981 * gdb.guile/scm-math.c: New file.
5982 * gdb.guile/scm-math.exp: New file.
5983 * gdb.guile/scm-objfile-script-gdb.in: New file.
5984 * gdb.guile/scm-objfile-script.c: New file.
5985 * gdb.guile/scm-objfile-script.exp: New file.
5986 * gdb.guile/scm-objfile.c: New file.
5987 * gdb.guile/scm-objfile.exp: New file.
5988 * gdb.guile/scm-ports.exp: New file.
5989 * gdb.guile/scm-pretty-print.c: New file.
5990 * gdb.guile/scm-pretty-print.exp: New file.
5991 * gdb.guile/scm-pretty-print.scm: New file.
5992 * gdb.guile/scm-section-script.c: New file.
5993 * gdb.guile/scm-section-script.exp: New file.
5994 * gdb.guile/scm-section-script.scm: New file.
5995 * gdb.guile/scm-symbol.c: New file.
5996 * gdb.guile/scm-symbol.exp: New file.
5997 * gdb.guile/scm-symtab-2.c: New file.
5998 * gdb.guile/scm-symtab.c: New file.
5999 * gdb.guile/scm-symtab.exp: New file.
6000 * gdb.guile/scm-type.c: New file.
6001 * gdb.guile/scm-type.exp: New file.
6002 * gdb.guile/scm-value-cc.cc: New file.
6003 * gdb.guile/scm-value-cc.exp: New file.
6004 * gdb.guile/scm-value.c: New file.
6005 * gdb.guile/scm-value.exp: New file.
6006 * gdb.guile/source2.scm: New file.
6007 * gdb.guile/types-module.cc: New file.
6008 * gdb.guile/types-module.exp: New file.
6009
7026a7c1
YQ
60102014-02-10 Yao Qi <yao@codesourcery.com>
6011
6012 PR testsuite/16543
6013 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6014 * configure: Regenerated.
6015 * Makefile.in: New file.
6016
6c466447
AS
60172014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6018
6019 * gdb.python/py-framefilter.exp: Fix typo.
6020
6e854735
YQ
60212014-02-08 Yao Qi <yao@codesourcery.com>
6022
6023 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6024 that no =breakpoint-modified is emitted when breakpoints are
6025 modified through MI commands.
6026
d137e6dc
PA
60272014-02-07 Pedro Alves <pedro@codesourcery.com>
6028 Pedro Alves <palves@redhat.com>
6029
6030 * gdb.threads/step-after-sr-lock.c: New file.
6031 * gdb.threads/step-after-sr-lock.exp: New file.
6032
b5ee5a50
PA
60332014-02-07 Pedro Alves <palves@redhat.com>
6034
6035 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6036
3c77faf3
JK
60372014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6038
6039 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6040 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6041
6dddc817
DE
60422014-02-06 Doug Evans <xdje42@gmail.com>
6043
6044 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6045 output.
6046
6047 * gdb.gdb/python-interrupts.exp: New file.
6048
de7b2893
YQ
60492014-02-05 Yao Qi <yao@codesourcery.com>
6050
6051 * gdb.trace/report.exp (use_collected_data): Test the output
6052 of "info threads" and "info inferiors".
6053
66d032ac
YQ
60542014-02-05 Yao Qi <yao@codesourcery.com>
6055
6056 Revert this patch:
6057
6058 2013-05-24 Yao Qi <yao@codesourcery.com>
6059
6060 * gdb.trace/tfile.exp: Test inferior and thread.
6061
591a12a1
UW
60622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6063
6064 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6065 on a function.
6066 * gdb.base/step-bt.c: Call hello via function pointer to make
6067 sure its first instruction is executed on powerpc64le-linux.
6068
0ff3e01f
UW
60692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6070
6071 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6072
084ee545
UW
60732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6074
6075 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6076 of the test patterns for use on little-endian systems.
6077
6ed14ff3
UW
60782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6079
6080 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6081 (decimal_vector): Fix for little-endian.
6082
401e27fd
JM
60832014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6084
6085 * gdb.arch/sparc-sysstep.exp: New file.
6086 * gdb.arch/sparc-sysstep.c: Likewise.
6087
6088 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6089
8b924729
EBM
60902014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6091
6092 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6093
fb151210
JB
60942014-01-23 Tom Tromey <tromey@redhat.com>
6095
6096 * gdb.ada/array_char_idx: New testcase.
6097
0740f8d8
TT
60982014-01-23 Tom Tromey <tromey@redhat.com>
6099
6100 PR python/16487:
6101 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6102 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6103 classes.
6104
21909fa1
TT
61052014-01-23 Tom Tromey <tromey@redhat.com>
6106
6107 PR python/16491:
6108 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6109 string from an inferior frame.
6110 * gdb.python/py-framefilter-mi.exp: Update.
6111
87ce2a04
DE
61122014-01-22 Doug Evans <dje@google.com>
6113
6114 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6115
237b092b
AA
61162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6117
6118 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6119
d674a709
AA
61202014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6121
6122 * gdb.trace/entry-values.exp: Remove excess space character from
6123 regex patterns. Handle s390 call instruction.
6124
20fa3390
AA
61252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6126
6127 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6128 define "*_start" label. Make "name" static.
6129 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6130 ${name} by references to ${name}_start.
6131
78466714
AA
61322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6133
6134 * gdb.base/info-macros.exp: Remove "debug" from the compile
6135 options.
6136
ec9f644a
IB
61372014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6138
6139 * gdb.dlang/demangle.exp: New file.
6140
94b1b47e
IB
61412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6142
6143 * gdb.dlang/primitive-types.exp: New file.
6144
7f420862
IB
61452014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6146
6147 * configure.ac: Create gdb.dlang/Makefile.
6148 * configure: Regenerate.
6149 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6150 * gdb.dlang/Makefile.in: New file.
6151 * lib/d-support.exp: New file.
6152 * lib/gdb.exp (skip_d_tests): New proc.
6153
52834460
MM
61542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6155
6156 * gdb.btrace/delta.exp: Check reverse stepi.
6157 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6158 * gdb.btrace/finish.exp: New.
6159 * gdb.btrace/next.exp: New.
6160 * gdb.btrace/nexti.exp: New.
6161 * gdb.btrace/record_goto.c: Add comments.
6162 * gdb.btrace/step.exp: New.
6163 * gdb.btrace/stepi.exp: New.
6164 * gdb.btrace/multi-thread-step.c: New.
6165 * gdb.btrace/multi-thread-step.exp: New.
6166 * gdb.btrace/rn-dl-bind.c: New.
6167 * gdb.btrace/rn-dl-bind.exp: New.
6168 * gdb.btrace/data.c: New.
6169 * gdb.btrace/data.exp: New.
6170 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6171
6e07b1d2
MM
61722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6173
6174 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6175 * gdb.btrace/exception.exp: Update.
6176 * gdb.btrace/instruction_history.exp: Update.
6177 * gdb.btrace/record_goto.exp: Update.
6178 * gdb.btrace/tailcall.exp: Update.
6179 * gdb.btrace/unknown_functions.exp: Update.
6180 * gdb.btrace/delta.exp: New.
6181
0b722aec
MM
61822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6183
6184 * gdb.btrace/record_goto.exp: Add backtrace test.
6185 * gdb.btrace/tailcall.exp: Add backtrace test.
6186
066ce621
MM
61872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6188
6189 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6190 * gdb.btrace/record_goto.c: New.
6191 * gdb.btrace/record_goto.exp: New.
6192 * gdb.btrace/x86-record_goto.S: New.
6193
0688d04e
MM
61942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6195
6196 * gdb.btrace/function_call_history.exp: Update tests.
6197 * gdb.btrace/instruction_history.exp: Update tests.
6198
8710b709
MM
61992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6200
6201 * gdb.btrace/function_call_history.exp: Fix expected field
6202 order for "record function-call-history".
6203 Add new tests for "record function-call-history /c".
6204 * gdb.btrace/exception.cc: New.
6205 * gdb.btrace/exception.exp: New.
6206 * gdb.btrace/tailcall.exp: New.
6207 * gdb.btrace/x86-tailcall.S: New.
6208 * gdb.btrace/x86-tailcall.c: New.
6209 * gdb.btrace/unknown_functions.c: New.
6210 * gdb.btrace/unknown_functions.exp: New.
6211 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6212
5de9129b
MM
62132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6214
6215 * gdb.btrace/instruction_history.exp: Update.
6216 * gdb.btrace/function_call_history.exp: Update.
6217
23a7fe75
MM
62182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6219
6220 * gdb.btrace/function_call_history.exp: Fix expected function
6221 trace.
6222 * gdb.btrace/instruction_history.exp: Initialize traced.
6223 Remove traced_functions.
6224
724c7dd8
MM
62252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6226
6227 * gdb.btrace/function_call_history.exp: Update
6228 * gdb.btrace/instruction_history.exp: Update.
6229
6d78d93b
MM
62302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6231
6232 * gdb.btrace/enable.exp: Update expected text.
6233
93a360cc
OJ
62342014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6235
6236 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6237 bytes.
6238
3772b53f
MR
62392014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6240
6241 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6242
596662fa
OJ
62432014-01-15 Omair Javaid <omair.javaid@linaro.org>
6244
6245 * lib/gdb.exp (supports_process_record): Return true for
6246 arm*-linux*. (supports_reverse): Likewise.
6247
b5b08fb4
SC
62482014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6249
6250 PR python/15464
6251 PR python/16113
6252 * gdb.python/py-type.c: Enhance test case.
6253 * gdb.python/py-value-cc.cc: Likewise
6254 * gdb.python/py-type.exp: Add new tests.
6255 * gdb.python/py-value-cc.exp: Likewise
6256
52d7fb13
AA
62572014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6258 Pedro Alves <palves@redhat.com>
6259
6260 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6261 Make "name" extern.
6262 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6263 references to ${name}_start by references to ${name}.
6264
a2cd8cfe
JB
62652014-01-10 Joel Brobecker <brobecker@adacore.com>
6266
6267 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6268
4e23fced
JB
62692014-01-10 Joel Brobecker <brobecker@adacore.com>
6270
6271 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6272
c6a9e42c
PA
62732014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6274 Pedro Alves <palves@redhat.com>
6275
6276 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6277 mi_gdb_target_load.
c6a9e42c 6278
b7ea362b
PA
62792014-01-08 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.threads/reconnect-signal.c: New file.
6282 * gdb.threads/reconnect-signal.exp: New file.
6283
5e3f4fab
EBM
62842014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6285
6286 * gdb.base/source-dir.exp: New file.
6287
79301218
JB
62882014-01-07 Joel Brobecker <brobecker@adacore.com>
6289
6290 * gdb.ada/mi_interface: New testcase.
6291
8e355c5d
JB
62922014-01-07 Joel Brobecker <brobecker@adacore.com>
6293
6294 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6295 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6296 gdb.ada/pp-rec-component/pck.ads: New files.
6297
c0d48811
JB
62982014-01-07 Joel Brobecker <brobecker@adacore.com>
6299
6300 * gdb.python/py-pp-integral.c: New file.
6301 * gdb.python/py-pp-integral.py: New file.
6302 * gdb.python/py-pp-integral.exp: New file.
6303
17b609c3 6304For older changes see ChangeLog-1993-2013.
c906108c 6305\f
8d8cb839
EZ
6306;; Local Variables:
6307;; mode: change-log
6308;; left-margin: 8
6309;; fill-column: 74
6310;; version-control: never
6311;; End:
902f2ccb 6312
32d0add0 6313 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6314 Copying and distribution of this file, with or without modification,
6315 are permitted provided the copyright notice and this notice are preserved.
This page took 2.357862 seconds and 4 git commands to generate.