Enable fast tracepoint tests
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
7041adf4
PL
12015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2
3 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
4 instruction.
5 * gdb.trace/pendshr1.c (pendfunc): Likewise.
6 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7 * gdb.trace/range-stepping.c: Likewise.
8 * gdb.trace/trace-break.c: Likewise.
9 * gdb.trace/trace-mt.c (thread_function): Likewise.
10 * gdb.trace/ftrace.c (marker): Likewise.
11 * gdb.trace/trace-condition.c (marker): Likewise.
12 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14 is_aarch64_target.
15
015d2e7e
DE
162015-09-18 Doug Evans <xdje42@gmail.com>
17
18 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
19 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
20
26b188a2
SL
212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
22
23 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
24 the breakpoint.
25
79dc332b
SL
262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
27
28 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
29 the pending breakpoint. Remove timeout override for "Run till
30 MI pending breakpoint on pendfunc3 on thread 2" test.
31
f57929f2
SL
322015-09-18 Sandra Loosemore <sandra@codesourcery.com>
33
34 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
35 filename pattern.
36
3f469b17
SL
372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
38
39 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
40 in breakpoint filename pattern.
41
515b89b3
SL
422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
43
7800dbe4
SL
44 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
45
462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
47
515b89b3
SL
48 * gdb.linespec/explicit.exp: Check for readline support for
49 tab-completion tests. Fix obvious typo.
50
d2939ba2
MM
512015-09-18 Markus Metzger <markus.t.metzger@intel.com>
52
53 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
54 and replay.
55
cbb55fa7
MM
562015-09-18 Markus Metzger <markus.t.metzger@intel.com>
57
58 * gdb.btrace/non-stop.c: New.
59 * gdb.btrace/non-stop.exp: New.
60
43691ca1
PL
612015-09-17 Pierre Langlois <pierre.langlois@arm.com>
62 Yao Qi <yao.qi@linaro.org>
63
64 * gdb.trace/trace-condition.c: New file.
65 * gdb.trace/trace-condition.exp: New file.
66
d78908cf
WW
672015-09-16 Wei-cheng Wang <cole945@gmail.com>
68
69 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
70 for testing bytecode compilation.
71
1ed415e2
PA
722015-09-16 Pedro Alves <palves@redhat.com>
73 Sandra Loosemore <sandra@codesourcery.com>
74
75 * gdb.threads/non-stop-fair-events.c (timeout): New global.
76 (SECONDS): Redefine.
77 (main): Call pthread_kill and alarm early.
78 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
79 support.
80 (test): If the target can't hardware step and doesn't support
81 displaced stepping, increase the timeout.
82
d136eff5
PA
832015-09-16 Pedro Alves <palves@redhat.com>
84
85 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
86 (enable_debug): New procedures.
87 (test): Use them. Bail out if waiting for threads fails.
88 (top level): Bail out if a test fails.
89
991f019c
YQ
902015-09-16 Yao Qi <yao.qi@linaro.org>
91
92 * gdb.asm/asm-source.exp: Set asm-arch for
93 aarch64*-*-* target.
94 * gdb.asm/aarch64.inc: New file.
95
bfca584f
PMR
962015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
97
98 * gdb.ada/array_of_variable_length.exp: New testcase.
99 * gdb.ada/array_of_variable_length/foo.adb: New file.
100 * gdb.ada/array_of_variable_length/pck.adb: New file.
101 * gdb.ada/array_of_variable_length/pck.ads: New file.
102
b326e587
DE
1032015-09-15 Doug Evans <dje@google.com>
104
105 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
106 of function static local variable.
107
5382cfab
PW
1082015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
109
110 * gdb.threads/tls-so_extern.exp: New test file.
111 * gdb.threads/tls-so_extern.c: New test file.
112 * gdb.threads/tls-so_extern_main.c: New test file.
113
141c5cc4
JK
1142015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
115
116 * gdb.opt/solib-intra-step-lib.c: New file.
117 * gdb.opt/solib-intra-step-main.c: New file.
118 * gdb.opt/solib-intra-step.exp: New file.
119
d15dcecd
PA
1202015-09-15 Pedro Alves <palves@redhat.com>
121
122 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
123 gdb_continue_to_breakpoint instead of gdb_test_multiple.
124
4c2f2a79
PA
1252015-09-14 Pedro Alves <palves@redhat.com>
126
127 * gdb.base/hook-stop-continue.c: Delete.
128 * gdb.base/hook-stop-continue.exp: Delete.
129 * gdb.base/hook-stop-frame.c: Delete.
130 * gdb.base/hook-stop-frame.exp: Delete.
131 * gdb.base/hook-stop.c: New file.
132 * gdb.base/hook-stop.exp: New file.
133
919e6dbe
PMR
1342015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
135
136 * gdb.ada/access_to_packed_array.exp: New testcase.
137 * gdb.ada/access_to_packed_array/foo.adb: New file.
138 * gdb.ada/access_to_packed_array/pack.adb: New file.
139 * gdb.ada/access_to_packed_array/pack.ads: New file.
140
157280a4
MM
1412015-09-14 Markus Metzger <markus.t.metzger@intel.com>
142
143 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
144 buffer size test.
145
2fd33e94
DB
1462015-09-11 Don Breazeal <donb@codesourcery.com>
147
148 * gdb.base/foll-exec.c: Add copyright header. Fix
149 formatting issues.
150 * gdb.base/foll-exec.exp (zap_session): Delete proc.
151 (do_exec_tests): Use clean_restart in place of zap_session,
152 and for test initialization. Fix formatting issues. Use
153 fail in place of perror.
154 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
155 an expect statement to match an expression with output from
156 the program under debug.
157 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
158 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
159 * gdb.threads/non-ldr-exc-2.exp: Likewise.
160 * gdb.threads/non-ldr-exc-3.exp: Likewise.
161 * gdb.threads/non-ldr-exc-4.exp: Likewise.
162
e70b6e8e
DE
1632015-09-09 Doug Evans <dje@google.com>
164
165 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
166
7a551a51
DE
1672015-09-09 Doug Evans <dje@google.com>
168
169 * gdb.base/pie-execl.exp: Fix result test of build_executable.
170
4c666f84
DE
1712015-09-09 Doug Evans <dje@google.com>
172
173 * gdb.base/savedregs.exp: Fix typo.
174
243a9253
PA
1752015-09-09 Pedro Alves <palves@redhat.com>
176
177 * gdb.mi/mi-cli.exp: Add CLI finish tests.
178
c0fa8fbd
SL
1792015-09-08 Sandra Loosemore <sandra@codesourcery.com>
180
181 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
182 command actually switches threads. Give up on remaining
183 tests if target fails to stop at breakpoint.
184
cd7c1778
PMR
1852015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
186
187 * gdb.ada/funcall_char.exp: New testcase.
188 * gdb.ada/funcall_char/foo.adb: New file.
189
dc5c8746
PMR
1902015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
191
192 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
193 expected outputs. Add two testcases for completing ambiguous
194 functions.
195 * gdb.ada/complete/aux_pck.adb: New file.
196 * gdb.ada/complete/aux_pck.ads: New file.
197 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
198 Ambiguous_Func functions.
199 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
200 * gdb.ada/complete/pck.adb: Likewise.
201
4e83a1e7
UW
2022015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
203
204 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
205 failures to run the test program under GDB.
206
8ce74153
LM
2072015-08-26 Luis Machado <lgustavo@codesourcery.com>
208
209 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
210 to C.
211
e9756d52
PP
2122015-08-26 Patrick Palka <patrick@parcs.ath.cx>
213
214 * gdb.base/run-after-attach.exp: New test file.
215 * gdb.base/run-after-attach.c: New test file.
216
8d37573b
DB
2172015-08-26 Don Breazeal <donb@codesourcery.com>
218
219 * gdb.base/foll-exec-2.c: New test program.
220 * gdb.base/foll-exec-2.exp: New test.
221
63e43d3a
PMR
2222015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
223
224 * gdb.base/nested-subp1.exp: New file.
225 * gdb.base/nested-subp1.c: New file.
226 * gdb.base/nested-subp2.exp: New file.
227 * gdb.base/nested-subp2.c: New file.
228 * gdb.base/nested-subp3.exp: New file.
229 * gdb.base/nested-subp3.c: New file.
230
3d40fbb5
PA
2312015-08-24 Pedro Alves <palves@redhat.com>
232
233 * gdb.server/connect-without-multi-process.c: New file.
234 * gdb.server/connect-without-multi-process.exp: New file.
235
4422ac93
LM
2362015-08-24 Luis Machado <lgustavo@codesourcery.com>
237
238 * gdb.opt/inline-markers.c: Make z int.
239
91dddb86
LM
2402015-08-24 Luis Machado <lgustavo@codesourcery.com>
241
242 * gdb.opt/inline-markers.c: Make z volatile.
243
a48847ee
LM
2442015-08-24 Luis Machado <lgustavo@codesourcery.com>
245
246 * gdb.opt/inline-bt.c: New volatile global z.
247 * gdb.opt/inline-cmds.c: Likewise.
248 * gdb.opt/inline-locals.c: Likewise.
249 * gdb.opt/inline-markers.c: New extern global z.
250 (marker): Use z.
251 (inline_fn): Likewise.
252
0ebbc52b
PA
2532015-08-24 Pedro Alves <palves@redhat.com>
254
255 * config/m32r-stub.exp: Remove file.
256 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
257 * gdb.base/call-rt-st.exp: Likewise.
258 * gdb.base/call-strs.exp: Likewise.
259 * gdb.base/default.exp: Remove references to h8300-*-hms and
260 *-*-udi*.
261 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
262
77c365df
AA
2632015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
264
265 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
266 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
267 and "return" use KFAIL when GDB can not read/write the vector
268 return value.
269
4313b8c0
GB
2702015-08-21 Gary Benson <gbenson@redhat.com>
271
272 * gdb.trace/pending.exp: Cope with remote transfer warnings.
273
0e433b32
PA
2742015-08-20 Pedro Alves <palves@redhat.com>
275
276 * gdb.server/solib-list.exp: No longer expect an interior stop in
277 non-stop mode.
278
221e1a37
PA
2792015-08-20 Pedro Alves <palves@redhat.com>
280
281 * gdb.server/connect-stopped-target.c: New file.
282 * gdb.server/connect-stopped-target.exp: New file.
283
40e3ad0e
PA
2842015-08-20 Pedro Alves <palves@redhat.com>
285
286 * gdb.dwarf2/comp-unit-lang.exp: New file.
287 * gdb.dwarf2/comp-unit-lang.c: New file.
288
af39b327
PMR
2892015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
290
291 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
292 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
293
7d45c7c3
KB
2942015-08-19 Kevin Buettner <kevinb@redhat.com>
295
296 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
297 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
298
4d6cceb4
DE
2992015-08-18 Doug Evans <dje@google.com>
300 Adrian Sendroiu <adrian.sendroiu@freescale.com>
301
302 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
303 skip_python_tests. New arg prompt_regexp.
304 (skip_python_tests): New function.
305 * lib/mi-support.exp (mi_skip_python_tests): New function.
306 * gdb.python/py-mi-objfile-gdb.py: New file.
307 * gdb.python/py-mi-objfile.c: New file.
308 * gdb.python/py-mi-objfile.exp: New file.
309
ad89c2aa
KS
3102015-08-17 Keith Seitz <keiths@redhat.com>
311
312 * gdb.linespec/explicit.exp: Move strace test from here ...
313 * gdb.trace/strace.exp: ... to here.
314
e3ae3c43
PP
3152015-08-15 Patrick Palka <patrick@parcs.ath.cx>
316
317 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
318 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
319
604b2636
DE
3202015-08-14 Doug Evans <xdje42@gmail.com>
321
322 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
323 inferior before selecting a new file.
324
6ff0ba5f
DE
3252015-08-14 Doug Evans <xdje42@gmail.com>
326
327 * gdb.mi/mi-disassemble.exp: Update.
328 * gdb.base/disasm-optim.S: New file.
329 * gdb.base/disasm-optim.c: New file.
330 * gdb.base/disasm-optim.h: New file.
331 * gdb.base/disasm-optim.exp: New file.
332
9ca98f92
KS
3332015-08-14 Keith Seitz <keiths@redhat.com>
334
335 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
336 "evaluated-by".
337
52bbc560
JB
3382015-08-13 Joel Brobecker <brobecker@adacore.com>
339
340 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
341
5d8c3ed3
PMR
3422015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
343
344 * gdb.ada/fun_renaming.exp: New testcase.
345 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
346 * gdb.ada/fun_renaming/pack.adb: New file.
347 * gdb.ada/fun_renaming/pack.ads: New file.
348
ea8812bc
KS
3492015-08-12 Keith Seitz <keiths@redhat.com>
350
351 * gdb.base/dso2dso.exp: Pass basename of source file in call to
352 gdb_get_line_number.
353
4dafcdeb
JB
3542015-08-12 Joel Brobecker <brobecker@adacore.com>
355
356 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
357 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
358 gdb.base/dso2dso.exp: New files.
359
5ba32597
SDJ
3602015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
361 Pedro Alves <palves@redhat.com>
362 Keith Seitz <keiths@redhat.com>
363
364 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
365 GDBFLAGS.
366
b6dafabf
PP
3672015-08-12 Patrick Palka <patrick@parcs.ath.cx>
368
369 * gdb.base/gdbhistsize-history.exp
370 (test_histsize_history_setting): Use save_vars.
371 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
372 Use save_vars.
373 (test_no_truncation_of_unlimited_history_file): Use save_vars.
374 * gdb.base/readline.exp: Use save_vars.
375
abe8e607
PP
3762015-08-12 Patrick Palka <patrick@parcs.ath.cx>
377
378 * lib/gdb.exp (save_vars): New proc.
379
629500fa
KS
3802015-08-11 Keith Seitz <keiths@redhat.com>
381
382 * gdb.base/help.exp: Update help_breakpoint_text.
383
eb8c4e2e
KS
3842015-08-11 Keith Seitz <keiths@redhat.com>
385
386 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
387 (at toplevel): Call test_explicit_breakpoints.
388 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
389 breakpoints.
390 * lib/mi-support.exp (mi_make_breakpoint): Add support for
391 breakpoint conditions, "-cond".
392
87f0e720
KS
3932015-08-11 Keith Seitz <keiths@redhat.com>
394
395 * gdb.linespec/3explicit.c: New file.
396 * gdb.linespec/cpexplicit.cc: New file.
397 * gdb.linespec/cpexplicit.exp: New file.
398 * gdb.linespec/explicit.c: New file.
399 * gdb.linespec/explicit.exp: New file.
400 * gdb.linespec/explicit2.c: New file.
401 * gdb.linespec/ls-errs.exp: Add explicit location tests.
402 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
403 before using in the matching pattern.
404 Clarify that `prefix' is a regular expression.
405
f00aae0f
KS
4062015-08-11 Keith Seitz <keiths@redhat.com>
407
408 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
409 test.
410 Add tests for missing ",FMT" and ",".
411
e27852be
DE
4122015-08-10 Doug Evans <dje@google.com>
413 Keith Seitz <keiths@redhat.com>
414
415 PR gdb/17960
416 * gdb.base/completion.exp: Add location completer tests.
417
7f03bd92
PA
4182015-08-07 Pedro Alves <palves@redhat.com>
419
420 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
421 tests here.
422 (top level): Run do_test with and without displaced stepping.
423
3fc8eb30
PA
4242015-08-07 Pedro Alves <palves@redhat.com>
425
426 * gdb.base/valgrind-disp-step.c: New file.
427 * gdb.base/valgrind-disp-step.exp: New file.
428
d4569d7b
PA
4292015-08-07 Pedro Alves <palves@redhat.com>
430
431 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
432 Delete function.
433 (main): Add alarm. Run an infinite loop instead of calling
434 wait_threads.
435 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
436 comment.
437 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
438 Delete function.
439 (main): Add alarm. Run an infinite loop instead of calling
440 wait_threads.
441 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
442 comment.
443
e1316e60
PA
4442015-08-07 Pedro Alves <palves@redhat.com>
445
446 * gdb.base/checkpoint-ns.exp: New file.
447 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
448 standard_testfile.
449
da8c46d2
MM
4502015-08-07 Markus Metzger <markus.t.metzger@intel.com>
451
452 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
453 * gdb.btrace/instruction_history.exp: Update.
454 * gdb.btrace/tsx.exp: New.
455 * gdb.btrace/tsx.c: New.
456
de1c2c52
PA
4572015-08-06 Pedro Alves <palves@redhat.com>
458
459 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
460 increase timeout.
461 * gdb.reverse/until-precsave.exp: Bump timeouts.
462
782e0bf4
PA
4632015-08-06 Pedro Alves <palves@redhat.com>
464
465 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
466
83e97ed0
PA
4672015-08-06 Pedro Alves <palves@redhat.com>
468
469 PR gdb/18749
470 * gdb.threads/process-dies-while-handling-bp.c: New file.
471 * gdb.threads/process-dies-while-handling-bp.exp: New file.
472
863d01bd
PA
4732015-08-06 Pedro Alves <palves@redhat.com>
474
475 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
476 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
477
0a39bb32
PA
4782015-08-05 Pedro Alves <palves@redhat.com>
479
480 * gdb.threads/next-while-other-thread-longjmps.c: New file.
481 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
482
ee2d2b10
SL
4832015-08-03 Sandra Loosemore <sandra@codesourcery.com>
484
485 * gdb.base/bp-permanent.exp: Report test as unsupported if
486 the target cannot stop at the permanent breakpoint.
487
4e1bdb00
DE
4882015-08-03 Doug Evans <dje@google.com>
489
490 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
491 10000.
492
3d338901
DE
4932015-08-03 Doug Evans <dje@google.com>
494
495 * Makefile.in (workers/%.worker, build-perf): New rule.
496 (GDB_PERFTEST_MODE): New variable.
497 (check-perf): Use it.
498 (clean): Clean up gdb.perf parallel build subdirs.
499 * lib/build-piece.exp: New file.
500 * lib/gdb.exp (make_gdb_parallel_path): New function
501 (standard_output_file, standard_temp_file): Call it.
502 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
503 of $GDB_PARALLEL.
504 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
505
af061d3e
DE
5062015-08-03 Doug Evans <dje@google.com>
507
8e1afc81 508 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
509 (LOG_FILE_NAME): New global.
510 (TextReporter.__init__): Initialize self.txt_sum.
511 (TextReporter.report): Add support for multiple data-points.
512 Move report to perftest.sum, put raw data in perftest.log.
513 (TextReporter.start): Open sum and log files.
514 (TextReporter.end): Close sum and log files.
8e1afc81
DE
515 * gdb.perf/lib/perftest/testresult.py
516 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 517
2c8c5d37
PA
5182015-07-31 Pedro Alves <palves@redhat.com>
519
520 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
521 Use spawn_id_get_pid. Wait for spawn id after eof. Use
522 kill_wait_spawned_process instead of explicit "kill -9".
523 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
524 returning a spawn id instead of a pid. Use spawn_id_get_pid and
525 kill_wait_spawned_process.
526 * gdb.base/attach-twice.exp: Likewise.
527 * gdb.base/attach.exp: Likewise.
528 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
529 gdb_test_multiple.
530 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
531 returning a spawn id instead of a pid. Use spawn_id_get_pid and
532 kill_wait_spawned_process.
533 * gdb.base/valgrind-infcall.exp: Likewise.
534 * gdb.multi/multi-attach.exp: Likewise.
535 * gdb.python/py-prompt.exp: Likewise.
536 * gdb.python/py-sync-interp.exp: Likewise.
537 * gdb.server/ext-attach.exp: Likewise.
538 * gdb.threads/attach-into-signal.exp (corefunc): Use
539 spawn_wait_for_attach, spawn_id_get_pid and
540 kill_wait_spawned_process.
541 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
542 spawn_wait_for_attach returning a spawn id instead of a pid. Use
543 spawn_id_get_pid and kill_wait_spawned_process.
544 * gdb.threads/attach-stopped.exp (corefunc): Use
545 spawn_wait_for_attach, spawn_id_get_pid and
546 kill_wait_spawned_process.
547 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
548 Use spawn_id_get_pid. Wait for spawn id after eof. Use
549 kill_wait_spawned_process instead of explicit "kill -9".
550 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
551 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
552 (spawn_wait_for_attach): Use spawn instead of exec to spawn
553 processes. Don't map cygwin/windows pids here. Now returns a
554 spawn id list.
555
032a0fca
SL
5562015-07-30 Sandra Loosemore <sandra@codesourcery.com>
557
558 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
559 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
560 correct patch.
561
61a934ca
SL
5622015-07-30 Sandra Loosemore <sandra@codesourcery.com>
563
564 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
565
4bc4d428
SL
5662015-07-30 Sandra Loosemore <sandra@codesourcery.com>
567
568 Reapply:
569 2014-05-21 Mark Wielaard <mjw@redhat.com>
570
571 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
572
998d452a
PA
5732015-07-30 Pedro Alves <palves@redhat.com>
574
575 * linux-low.c (handle_extended_wait): Set the child's last
576 reported status to TARGET_WAITKIND_STOPPED.
577
69dde7dc
PA
5782015-07-30 Pedro Alves <palves@redhat.com>
579
580 PR threads/18600
581 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
582 only shows inferior 1.
583
4dd63d48
PA
5842015-07-30 Simon Marchi <simon.marchi@ericsson.com>
585 Pedro Alves <palves@redhat.com>
586
587 PR threads/18600
588 * gdb.threads/fork-plus-threads.c: New file.
589 * gdb.threads/fork-plus-threads.exp: New file.
590
d618e4c5
PP
5912015-07-29 Patrick Palka <patrick@parcs.ath.cx>
592
593 * gdb.base/batch-preserve-term-settings.exp
594 (test_terminal_settings_preserved_after_cli_exit): Use
595 send_quit_command.
596
1eef6428
PA
5972015-07-29 Pedro Alves <palves@redhat.com>
598 Don Breazeal <donb@codesourcery.com>
599
600 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
601 output from both inferior_spawn_id and gdb_spawn_id.
602
7da5b897
SDJ
6032015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
604
605 * gdb.threads/attach-into-signal.exp (corefunc): Use
606 with_test_prefix on nested loops, uniquefying the test messages.
607
dac804df
SDJ
6082015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
609
610 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
611 commit.
612
06265e53
PP
6132015-07-29 Patrick Palka <patrick@parcs.ath.cx>
614
615 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
616 New proc.
617 (test_terminal_settings_preserved_after_sigterm): New test.
618
18206ca3
PP
6192015-07-29 Patrick Palka <patrick@parcs.ath.cx>
620
621 * gdb.base/batch-preserve-term-settings.exp
622 (test_terminal_settings_preserved_after_cli_exit): New test.
623
90074d11
PP
6242015-07-29 Patrick Palka <patrick@parcs.ath.cx>
625
626 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
627 manipulation of saved_gdbflags.
628 (test_terminal_settings_preserved): Remove global declaration of
629 the unused variable pagination_prompt. Remove manipulation of
630 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
631 GDBFLAGS.
632
eb1a7902
PA
6332015-07-29 Pedro Alves <palves@redhat.com>
634
635 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
636
8b75dd3b
PA
6372015-07-29 Pedro Alves <palves@redhat.com>
638
639 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
640 at the top.
641
dedad4e3
PA
6422015-07-29 Pedro Alves <palves@redhat.com>
643
644 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
645 (main): Call gdb_unbuffer_output.
646 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
647 (main): Call gdb_unbuffer_output.
648 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
649 (main): Call gdb_unbuffer_output.
650 * gdb.base/call-strs.exp: Adjust to step over the
651 gdb_unbuffer_output call.
652 * gdb.base/catch-gdb-caused-signals.c: Include
653 "../lib/unbuffer_output.c".
654 (main): Call gdb_unbuffer_output.
655 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
656 (main): Call gdb_unbuffer_output.
657 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
658 (main): Call gdb_unbuffer_output.
659 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
660 (main): Call gdb_unbuffer_output.
661 * gdb.base/shlib-call.exp: Adjust to step over the
662 gdb_unbuffer_output call.
663 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
664 (main): Call gdb_unbuffer_output.
665 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
666 (main): Call gdb_unbuffer_output.
667 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
668 (main): Rename to ...
669 (test): ... this.
670 (main): Reimplement.
671 * gdb.base/varargs.exp: Run to test instead of to main.
672 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
673 (main): Call gdb_unbuffer_output.
674
58789a91
PA
6752015-07-29 Pedro Alves <palves@redhat.com>
676
677 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
678 factore out from mi_continue_dprintf. For call-style dprintfs,
679 expect dprintf output out of $inferior_spawn_id.
680 (mi_continue_dprintf): Use mi_expect_dprintf.
681 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
682 (main): Call gdb_unbuffer_output.
683
e8376742
PA
6842015-07-29 Pedro Alves <palves@redhat.com>
685
686 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
687 (default_mi_gdb_start): Set inferior_spawn_id instead of
688 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
689 gdb_spawn_id.
690 (mi_gdb_test): Always expect inferior output from both
691 $inferior_spawn_id and $gdb_spawn_id.
692
08280010
PA
6932015-07-29 Pedro Alves <palves@redhat.com>
694
695 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
696 send_inferior and $inferior_spawn_id.
697
4d30e432
PA
6982015-07-29 Pedro Alves <palves@redhat.com>
699
700 * gdb.gdb/complaints.exp (test_initial_complaints)
701 (test_serial_complaints, test_short_complaints): Use
702 gdb_test_stdio.
703 (test_empty_complaint): Handle $inferior_spawn_id !=
704 $gdb_spawn_id.
705
0d30a335
PA
7062015-07-29 Pedro Alves <palves@redhat.com>
707
708 * gdb.base/varargs.exp: Use gdb_test_stdio.
709
39413b29
PA
7102015-07-29 Pedro Alves <palves@redhat.com>
711
712 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
713
7cb000a9
PA
7142015-07-29 Pedro Alves <palves@redhat.com>
715
716 * gdb.base/ending-run.exp: Use gdb_test_stdio.
717
d7b8ac82
PA
7182015-07-29 Pedro Alves <palves@redhat.com>
719
720 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
721 parameter into two new parameters, "inf_result" and "gdb_result".
722 Expect inferior output and gdb output from $inferior_spawn_id and
723 $gdb_spawn_id, respectively. Adjust all callers.
724
789c3a0c
PA
7252015-07-29 Pedro Alves <palves@redhat.com>
726
727 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
728 of gdb_test_sequence.
729
77e760c3
PA
7302015-07-29 Pedro Alves <palves@redhat.com>
731
732 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
733 (saw_spurious_output): Expect inferior output from
734 $inferior_spawn_id. Use gdb_test_stdio.
735
8396d2cd
PA
7362015-07-29 Pedro Alves <palves@redhat.com>
737
738 * gdb.base/dprintf.exp: Use standard_testfile. Change
739 prepare_for_testing call.
740 (srcfile): Don't set.
741 (restart): New procedure.
742 (test_dprintf): New procecure, use to continue over dprintfs.
743 (test_call, test_agent): New procedures, tests moved here.
744 Restart gdb and recreate dprintfs. Adjust expected output.
745
2051d61f
PA
7462015-07-29 Pedro Alves <palves@redhat.com>
747
748 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
749
452397af
PA
7502015-07-29 Pedro Alves <palves@redhat.com>
751
752 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
753
8aed9555
PA
7542015-07-29 Pedro Alves <palves@redhat.com>
755
756 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
757 gdb_test_stdio.
758
188a61b4
PA
7592015-07-29 Pedro Alves <palves@redhat.com>
760
761 * lib/gdb.exp (gdb_test_stdio): New procedure.
762
12264a45
PA
7632015-07-29 Pedro Alves <palves@redhat.com>
764
765 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
766
23ffc893
PA
7672015-07-29 Pedro Alves <palves@redhat.com>
768
769 * gdb.base/call-signal-resume.exp: Remove check for
770 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
771 * gdb.base/unwindonsignal.exp: Likewise.
772 * gdb.base/call-signals.c (gen_signal): Remove printf call.
773 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
774
65566918
PA
7752015-07-29 Pedro Alves <palves@redhat.com>
776
777 * gdb.base/siginfo-addr.c (pass): New function.
778 (handler): Call it iff si_addr is correct.
779 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
780 Set a breakpoint at "pass" and continue to it.
781
d60a9221
SDJ
7822015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
783
784 * gdb.python/py-objfile.exp: Make some tests have unique names.
785 * gdb.python/py-pp-registration.exp: Likewise.
786
bde40b8f
PA
7872015-07-28 Pedro Alves <palves@redhat.com>
788
789 * gdb.server/server-exec-info.exp: Issue a "disconnect".
790
13e1dec8
SM
7912015-07-27 Simon Marchi <simon.marchi@ericsson.com>
792
793 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
794
da33c9a7
SM
7952015-07-27 Simon Marchi <simon.marchi@ericsson.com>
796
797 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
798
077836f7
PP
7992015-07-27 Patrick Palka <patrick@parcs.ath.cx>
800
801 * gdb.base/gdb-sigterm-2.exp: New test.
802
b8cc7b2e
DE
8032015-07-25 Doug Evans <xdje42@gmail.com>
804
805 Revert:
806 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
807 (workers/%.worker, build-perf): New rule.
808 (GDB_PERFTEST_MODE): New variable.
809 (check-perf): Use it.
810 (clean): Clean up gdb.perf parallel build subdirs.
811 * lib/build-piece.exp: New file.
812 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
813 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
814 name.
815 (standard_temp_file): Ditto.
816 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
817 of $GDB_PARALLEL.
818
c8bd4544
DE
8192015-07-24 Doug Evans <dje@google.com>
820
821 * gdb.perf/lib/perftest/utils.py: New file.
822 * gdb.perf/gm-hello.cc: New file.
823 * gdb.perf/gm-pervasive-typedef.cc: New file.
824 * gdb.perf/gm-pervasive-typedef.h: New file.
825 * gdb.perf/gm-std.cc: New file.
826 * gdb.perf/gm-std.h: New file.
827 * gdb.perf/gm-use-cerr.cc: New file.
828 * gdb.perf/gm-utils.h: New file.
829 * gdb.perf/gmonster-null-lookup.py: New file.
830 * gdb.perf/gmonster-pervasive-typedef.py: New file.
831 * gdb.perf/gmonster-print-cerr.py: New file.
832 * gdb.perf/gmonster-ptype-string.py: New file.
833 * gdb.perf/gmonster-runto-main.py: New file.
834 * gdb.perf/gmonster-select-file.py: New file.
835 * gdb.perf/gmonster1-null-lookup.exp: New file.
836 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
837 * gdb.perf/gmonster1-print-cerr.exp: New file.
838 * gdb.perf/gmonster1-ptype-string.exp: New file.
839 * gdb.perf/gmonster1-runto-main.exp: New file.
840 * gdb.perf/gmonster1-select-file.exp: New file.
841 * gdb.perf/gmonster1.cc: New file.
842 * gdb.perf/gmonster1.exp: New file.
843 * gdb.perf/gmonster2-null-lookup.exp: New file.
844 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
845 * gdb.perf/gmonster2-print-cerr.exp: New file.
846 * gdb.perf/gmonster2-ptype-string.exp: New file.
847 * gdb.perf/gmonster2-runto-main.exp: New file.
848 * gdb.perf/gmonster2-select-file.exp: New file.
849 * gdb.perf/gmonster2.cc: New file.
850 * gdb.perf/gmonster2.exp: New file.
851
6eab34f3
DE
8522015-07-24 Doug Evans <dje@google.com>
853
854 * gdb.perf/README: New file.
855 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
856 * lib/gen-perf-test.exp: New file.
857
63738bfd
DE
8582015-07-24 Doug Evans <dje@google.com>
859
860 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
861 (PerfTest::startup): New function.
862 (PerfTest::run): Return result of calling body.
863 (PerfTest::assemble): Rewrite.
864 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
865 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
866 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
867 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
868 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
869
7b606f95
DE
8702015-07-24 Doug Evans <dje@google.com>
871
872 * lib/gdb.exp (clean_restart): Make executable optional.
873
a97b16b8
DE
8742015-07-24 Doug Evans <dje@google.com>
875
876 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
877 compiler_info references.
878 * gdb.cp/temargs.exp: Ditto.
879 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
880 (get_compiler_info): Early exit if already computed. Set compiler_info
881 to "unknown" if there was a problem.
882 (test_compiler_info): Add function comment. Call get_compiler_info.
883
35baa57f
DE
8842015-07-24 Doug Evans <dje@google.com>
885
886 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
887 (workers/%.worker, build-perf): New rule.
888 (GDB_PERFTEST_MODE): New variable.
889 (check-perf): Use it.
890 (clean): Clean up gdb.perf parallel build subdirs.
891 * lib/build-piece.exp: New file.
892 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
893 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
894 name.
895 (standard_temp_file): Ditto.
896 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
897 of $GDB_PARALLEL.
898
6ebea266
DE
8992015-07-24 Doug Evans <dje@google.com>
900
901 * lib/future.exp (gdb_default_target_compile): New option
902 "early_flags".
903 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
904 --as-needed.
905
1e76a7e9
SDJ
9062015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
907
908 * gdb.base/catch-syscall.exp: Call gdb_exit before
909 gdb_skip_xml_test.
910
5068630a
PA
9112015-07-24 Pedro Alves <palves@redhat.com>
912
913 * gdb.python/py-events.exp: Accept output between the stop event
914 and the prompt.
915 * gdb.python/py-evsignal.exp: Likewise.
916 * gdb.python/py-evthreads.exp: Likewise.
917
77598427
PA
9182015-07-24 Pedro Alves <palves@redhat.com>
919
920 PR gdb/18717
921 * gdb.threads/non-ldr-exit.c: New file.
922 * gdb.threads/non-ldr-exit.exp: New file.
923
11e6c98f
YQ
9242015-07-24 Yao Qi <yao.qi@linaro.org>
925
926 * gdb.server/ext-wrapper.exp: Test --wrapper option when
927 restarting process.
928
51aee833
YQ
9292015-07-24 Yao Qi <yao.qi@linaro.org>
930
931 * gdb.server/ext-restart.exp: New file.
932
8cfe207c
YQ
9332015-07-24 Yao Qi <yao.qi@linaro.org>
934
935 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
936 argument options.
937 * gdb.server/ext-wrapper.exp: New file.
938
cc12ce38
DE
9392015-07-23 Doug Evans <dje@google.com>
940
941 * gdb.dwarf2/dw2-dummy-cu.S: New file.
942 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
943
d0d84780
PMR
9442015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
945
946 * gdb.ada/var_arr_typedef.exp: New testcase.
947 * gdb.ada/var_arr_typedef/pack.adb: New file.
948 * gdb.ada/var_arr_typedef/pack.ads: New file.
949 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
950
8b558f79
JB
9512015-07-20 Joel Brobecker <brobecker@adacore.com>
952
953 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
954
775a3298
JK
9552015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
956
957 * gdb.arch/i386-biarch-core.exp: Replace istarget
958 by "complete set gnutarget". Remove expectation for the "core-file"
959 command.
960
db1ff28b
JK
9612015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
962
963 Revert the previous commit:
964 Tests for validate symbol file using build-id.
965
0a94970d
JK
9662015-07-15 Aleksandar Ristovski <aristovski@qnx.com
967
968 Tests for validate symbol file using build-id.
969 * gdb.base/solib-mismatch-lib.c: New file.
970 * gdb.base/solib-mismatch-libmod.c: New file.
971 * gdb.base/solib-mismatch.c: New file.
972 * gdb.base/solib-mismatch.exp: New file.
973
03346981
SL
9742015-07-15 Sandra Loosemore <sandra@codesourcery.com>
975
976 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
977 nios2-*-linux*.
978 * gdb.base/sigbpt.exp (stepi_out): Likewise.
979 * gdb.base/siginfo.exp: Likewise.
980 * gdb.base/sigstep.exp (advance, advancei): Likewise.
981
42422cc7
PL
9822015-07-15 Pierre Langlois <pierre.langlois@arm.com>
983
984 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
985 Move it to ...
986 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
987 ... here.
988 * gdb.trace/range-stepping.exp: Check that the target supports
989 range stepping.
990
cfa68bae
JK
9912015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
992
993 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
994
8ffdba26
PA
9952015-07-14 Pedro Alves <palves@redhat.com>
996
997 * gdb.base/killed-outside.exp: New file.
998 * gdb.base/killed-outside.c: New file.
999
218a5a11
JK
10002015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1001
1002 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1003 (n at main): New.
1004 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1005
e03ed3c6
AA
10062015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1007
1008 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1009 infcall tests instead of setting up for KFAIL.
1010
485668e5
MM
10112015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1012
1013 * gdb.btrace/record_goto-step.exp: New.
1014
08464196
JK
10152015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1016
1017 PR compile/18484
1018 * gdb.compile/compile.c (struct struct_type): Add volatile to
1019 selffield's type.
1020 * gdb.compile/compile.exp
1021 (compile code struct_object.selffield = &struct_object): Skip further
1022 struct_object tests if this one xfails.
1023
bcf5c1d9
RC
10242015-07-08 Robert O'Callahan <robert@ocallahan.org>
1025
1026 PR exp/18617
1027 * gdb.trace/ax.exp: Add test.
1028
4931af25
YQ
10292015-07-07 Yao Qi <yao.qi@linaro.org>
1030
1031 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1032 instead of istarget "aarch64*-*-*".
1033 * gdb.arch/aarch64-fp.exp: Likewise.
1034 * gdb.base/float.exp: Likewise.
1035 * gdb.reverse/aarch64.exp: Likewise.
1036 * lib/gdb.exp (is_aarch64_target): New proc.
1037
9fcf688e
YQ
10382015-07-07 Yao Qi <yao.qi@linaro.org>
1039
1040 * lib/gdb.exp (is_aarch32_target): New proc.
1041 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1042 instead of "istarget "arm*-*-*"".
1043 * gdb.arch/arm-disp-step.exp: Likewise.
1044 * gdb.arch/thumb-bx-pc.exp: Likewise.
1045 * gdb.arch/thumb-prologue.exp: Likewise.
1046 * gdb.arch/thumb-singlestep.exp: Likewise.
1047 * gdb.base/disp-step-syscall.exp: Likewise.
1048 * gdb.base/float.exp: Likewise.
1049
fbd8d50d
YQ
10502015-07-07 Yao Qi <yao.qi@linaro.org>
1051
1052 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1053 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1054
71be1fdc
YQ
10552015-07-07 Yao Qi <yao.qi@linaro.org>
1056
1057 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1058 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1059 if it exists.
1060 * gdb.multi/multi-arch.exp: Likewise.
1061
3e221d36
SM
10622015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1063
1064 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1065 print.
1066
d441430b
YQ
10672015-07-07 Yao Qi <yao.qi@linaro.org>
1068
1069 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1070
06f810bd
MG
10712015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1072
1073 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1074 '[' and ']' characters.
1075
5e61e7c0
IB
10762015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1077
1078 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1079
28bf096c
PA
10802015-06-29 Pedro Alves <palves@redhat.com>
1081
1082 PR threads/18127
1083 * gdb.threads/hand-call-new-thread.c: New file.
1084 * gdb.threads/hand-call-new-thread.c: New file.
1085
ee93cd5e
KS
10862015-06-26 Keith Seitz <keiths@redhat.com>
1087 Doug Evans <dje@google.com>
1088
1089 PR 16253
1090 * gdb.cp/var-tag-2.cc: New file.
1091 * gdb.cp/var-tag-3.cc: New file.
1092 * gdb.cp/var-tag-4.cc: New file.
1093 * gdb.cp/var-tag.cc: New file.
1094 * gdb.cp/var-tag.exp: New file.
1095
fc637f04
PP
10962015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1097
1098 * gdb.base/history-duplicates.exp: New test.
1099
2e52ae68
PP
11002015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1101
1102 * gdb.base/completion.exp: Test the completion of the "focus"
1103 command.
1104
6e22494e
JK
11052015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1106
1107 * gdb.arch/amd64-prologue-skip.S: New file.
1108 * gdb.arch/amd64-prologue-skip.exp: New file.
1109
bf7b9cd9
SM
11102015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1111
1112 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1113 is_address_zero_readable check.
1114
201e8dfd
PB
11152015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1116
1117 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1118 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1119
5cd867b4
YQ
11202015-06-24 Yao Qi <yao.qi@linaro.org>
1121
1122 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1123 linux targets.
1124
4d7be007
YQ
11252015-06-24 Yao Qi <yao.qi@linaro.org>
1126
1127 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1128 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1129 * gdb.base/siginfo-thread.exp: Likewise.
1130
07fcd301
YQ
11312015-06-22 Yao Qi <yao.qi@linaro.org>
1132
1133 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1134
52042a00
YQ
11352015-06-22 Yao Qi <yao.qi@linaro.org>
1136
1137 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1138 aarch64*-*-*.
1139 (skip_hw_watchpoint_tests): Likewise.
1140
74bd41ce
PP
11412015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1142
1143 * gdb.base/gdbinit-history.exp: Test the interaction between
1144 setting GDBHISTSIZE and setting the history size via .gdbinit.
1145
bc460514
PP
11462015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1147
1148 PR gdb/16999
1149 * gdb.base/gdbhistsize-history.exp: New test.
1150
b58c513b
PP
11512015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1152
1153 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1154 with GDBHISTSIZE.
1155 * gdb.base/readline.exp: Likewise.
1156
92046791
YQ
11572015-06-17 Yao Qi <yao.qi@linaro.org>
1158
1159 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1160 line.
1161
2093d2d3
PP
11622015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1163
1164 * gdb.base/gdbinit-history.exp: Add test case to check that
1165 an unlimited history file does not get truncated on exit.
1166
e6c693af
AA
11672015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1168
1169 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1170 (VECTOR): New macro. Use it...
1171 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1172 ...for these typedefs.
1173 (int8, char1, int1, double1): New typedefs.
1174 (struct just_int2, struct two_int2): New structures.
1175 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1176 (add_structvecs, add_singlevecs): New functions.
1177 (main): Call add_some_intvecs twice.
1178 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1179 the compile and exit upon failure. Try compiling for the "native"
1180 architecture. Test inferior function calls with vector arguments
1181 and vector return value handling with "finish" and "return".
1182
c74f7d1c
JT
11832015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1184
1185 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1186 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1187 PE file.
1188 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1189
98aa42ee
AT
11902015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1191
1192 PR breakpoints/16465
1193 * gdb.mi/mi-dprintf-pending.c: New file.
1194 * gdb.mi/mi-dprintf-pending.exp: New test.
1195 * gdb.mi/mi-dprintf-pendshr.c: New file.
1196
7d73c23c 11972015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1198 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1199
1200 * gdb.arch/i386-mpx-map.c: New file.
1201 * gdb.arch/i386-mpx-map.exp: New File.
1202
12032015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1204
1205 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1206 * gdb.arch/i386-mpx.exp: Indentation fixed.
1207
12082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1209
1210 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1211 function and improved indentation.
1212 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1213 gdb_test_multiple. Added additional tests to skip the test.
1214
12152015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1216
1217 * gdb.arch/i386-avx512.c: Change path in include file.
1218 * gdb.arch/i386-avx512.exp: Change include dir path
1219 compilation flag.
1220 * gdb.arch/i386-mpx.c: Change path in include file.
1221 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1222 flag.
1223
d5eba19a
JK
12242015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1225
1226 * gdb.compile/compile-print.exp (compile print *vararray@3)
1227 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1228
7f361056
JK
12292015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1230
1231 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1232 (do not keep jit in memory): ... this.
1233 (expect 5): Change it to ...
1234 (expect no 5): ... this.
1235
3b462ec2
SM
12362015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1237
1238 PR gdb/15564
1239 * gdb.mi/mi-detach.exp: New file.
1240
e0619de6
JK
12412015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1242
1243 PR symtab/18392
1244 * gdb.arch/amd64-tailcall-self.S: New file.
1245 * gdb.arch/amd64-tailcall-self.c: New file.
1246 * gdb.arch/amd64-tailcall-self.exp: New file.
1247
e970cb34
DB
12482015-05-28 Don Breazeal <donb@codesourcery.com>
1249
1250 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1251 tests for remote targets by checking is_target_gdbserver.
1252
b2e2f908
DE
12532015-05-27 Doug Evans <dje@google.com>
1254
1255 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1256 * gdb.dwarf2/opaque-type-lookup.c: New file.
1257 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1258
82c7be31
DE
12592015-05-26 Doug Evans <dje@google.com>
1260
1261 * gdb.cp/iostream.cc: New file.
1262 * gdb.cp/iostream.exp: New file.
1263
b4f54984
DE
12642015-05-26 Doug Evans <dje@google.com>
1265
1266 * gdb.dwarf2/dw2-op-call.exp: Update.
1267 * gdb.dwarf2/dw4-sig-types.exp: Update.
1268 * gdb.dwarf2/implptr.exp: Update.
1269 * gdb.mi/mi-cmd-param-changed.exp: Update.
1270
4ea6efe9
DE
12712015-05-26 Doug Evans <dje@google.com>
1272
1273 * gdb.python/py-lazy-string.c: New file.
1274 * gdb.python/py-lazy-string.exp: New file.
1275 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1276 (main): Update. Add estring3.
1277 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1278 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1279
f6bb7db3
YQ
12802015-05-26 Omair Javaid <omair.javaid@linaro.org>
1281 Yao Qi <yao.qi@linaro.org>
1282
1283 * gdb.reverse/aarch64.c: New.
1284 * gdb.reverse/aarch64.exp: New.
1285
a81bfbd0
OJ
12862015-05-26 Omair Javaid <omair.javaid@linaro.org>
1287
1288 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1289 (supports_reverse): Likewise.
1290
158bf1b4
PP
12912015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1292
1293 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1294 Use with_test_prefix.
1295
a0145030
AB
12962015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1297
1298 * gdb.base/completion.exp: Add test for completion of layout
1299 names.
1300
ebe3b578
AB
13012015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1302
1303 * lib/gdb.exp (skip_tui_tests): New proc.
1304 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1305
84204ed7
PA
13062015-05-19 Pedro Alves <palves@redhat.com>
1307
1308 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1309 Save the whole env array instead of just HOME. Unset HISTSIZE in
1310 the environment while testing. Restore whole environment
1311 afterwards.
1312
37442ce1
DE
13132015-05-16 Doug Evans <xdje42@gmail.com>
1314
1315 * gdb.guile/scm-ports.c: New file.
1316 * gdb.guile/scm-ports.exp: Add memory port tests.
1317
36de76f9
JK
13182015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1319
1320 * gdb.compile/compile-print.c: New file.
1321 * gdb.compile/compile-print.exp: New file.
1322
3a9558c4
JK
13232015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1324
1325 * gdb.compile/compile-ops.exp: Cast param to void.
1326 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1327 (compile code struct_object.selffield = &struct_object): Add xfail.
1328
aa715135
JG
13292015-05-15 Joel Brobecker <brobecker@adacore.com>
1330
1331 * gdb.ada/arr_enum_with_gap: New testcase.
1332
931e5bc3
JG
13332015-05-15 Joel Brobecker <brobecker@adacore.com>
1334
1335 * gdb.ada/byte_packed_arr: New testcase.
1336
9cd4d857
JB
13372015-05-15 Joel Brobecker <brobecker@adacore.com>
1338
1339 * gdb.ada/pckd_neg: New testcase.
1340
ebfd00d2
PP
13412015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1342
1343 PR gdb/17820
1344 * gdb.base/gdbinit-history.exp: New test.
1345 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1346 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1347
4c082a81
SC
13482015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1349
1350 * gdb.python/py-xmethods.cc: Enhance test case.
1351 * gdb.python/py-xmethods.exp: New tests.
1352 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1353 function.
1354 (B_indexoper): Likewise.
1355 (global_dm_list) : Add new xmethod worker functions.
1356
f7797074
SDJ
13572015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1358
1359 * gdb.base/coredump-filter.exp: Correctly unset
1360 "coredump_var_addr" array.
1361
a4674e4e
PA
13622015-05-08 Pedro Alves <palves@redhat.com>
1363
1364 * gdb.server/non-existing-program.exp: Unset spawn_id.
1365
df2eb078
SC
13662015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1367
1368 PR python/18291
1369 * gdb.python/py-xmethods.exp: Add tests.
1370
422349a3
YQ
13712015-05-08 Yao Qi <yao.qi@linaro.org>
1372
1373 PR gdb/18208
1374 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1375 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1376 function set_coredump_filter, and remove remote_exec call.
1377 Remove argument ipid. Callers update.
1378 (top level): Don't get inferior's PID.
1379
63fc80ce
AA
13802015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1381
1382 * gdb.base/watch_thread_num.exp: Skip test on targets without
1383 access watchpoints.
1384
80ad801e
PA
13852015-05-06 Pedro Alves <palves@redhat.com>
1386
1387 PR server/18081
1388 * gdb.server/non-existing-program.exp: New file.
1389
0fa7fe50
JB
13902015-05-05 Joel Brobecker <brobecker@adacore.com>
1391
1392 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1393
3ea89b92
PMR
13942015-05-05 Joel Brobecker <brobecker@adacore.com>
1395
1396 * gdb.ada/out_of_line_in_inlined: New testcase.
1397
87b8eff0
JB
13982015-05-05 Joel Brobecker <brobecker@adacore.com>
1399
1400 * gdb.ada/var_rec_arr: New testcase.
1401
5fccc635
YQ
14022015-04-30 Yao Qi <yao.qi@linaro.org>
1403
1404 * gdb.base/break-idempotent.exp: If
1405 skip_hw_watchpoint_multi_tests returns true, skip the tests
1406 on "rwatch" and "awatch".
1407
42d38f42
YQ
14082015-04-30 Yao Qi <yao.qi@linaro.org>
1409
1410 * gdb.base/relativedebug.exp: Invoke gdb command
1411 "info sharedlibrary", and if libc.so doesn't have debug info,
1412 skip the test.
1413
2ce1cdbf
DE
14142015-04-29 Doug Evans <dje@google.com>
1415
1416 * gdb.python/py-xmethods.exp: Add ptype tests.
1417 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1418 get_result_type method.
1419
f24a38c5
LM
14202015-04-29 Luis Machado <lgustavo@codesourcery.com>
1421
1422 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1423 the target does not support hardware watchpoints.
1424
ecbf2b3c
LM
14252015-04-29 Luis Machado <lgustavo@codesourcery.com>
1426
1427 * gdb.base/break-always.exp: Abort testing if writing to memory
1428 causes an error.
1429
34f5f757
DE
14302015-04-28 Doug Evans <dje@google.com>
1431
1432 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1433 * gdb.python/py-pp-registration.exp: ... here. New file.
1434 * gdb.python/py-pp-registration.c: New file.
1435 * gdb.python/py-pp-registration.py: New file.
1436
69b4374a
DE
14372015-04-28 Doug Evans <dje@google.com>
1438
1439 * gdb.python/py-bad-printers.c: New file.
1440 * gdb.python/py-bad-printers.py: New file.
1441 * gdb.python/py-bad-printers.exp: New file.
1442
59fb7612
SS
14432015-04-28 Sasha Smundak <asmundak@google.com>
1444
1445 * gdb.python/py-type.exp: New test.
1446
2631b16a
AW
14472015-04-28 Andy Wingo <wingo@igalia.com>
1448
1449 * gdb.python/py-parameter.exp:
1450 * gdb.guile/scm-parameter.exp: Escape the path that we are
1451 matching against, as it might contain characters that are special
1452 to regular expressions.
1453
460efde1
JB
14542015-04-27 Joel Brobecker <brobecker@adacore.com>
1455
1456 * gdb.ada/rec_comp: New testcase.
1457
2d369d8e
SDJ
14582015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1459
1460 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1461 before using it.
1462
cf75d6c3
AB
14632015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1464
1465 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1466 new tests for verilog output.
1467
8dbe7ca5
YQ
14682015-04-24 Yao Qi <yao.qi@linaro.org>
1469
1470 * boards/remote-gdbserver-on-localhost.exp: New file.
1471
4ef9fb2f
PA
14722015-04-23 Pedro Alves <palves@redhat.com>
1473
1474 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1475 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1476 "end of file", remove $inferior_spawn_id from the indirect list.
1477
0a803169
PA
14782015-04-23 Pedro Alves <palves@redhat.com>
1479
1480 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1481
749ef8f8
PA
14822015-04-23 Pedro Alves <palves@redhat.com>
1483
1484 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1485 on $any_spawn_id instead of only on $gdb_spawn_id.
1486
8aae4344
PM
14872015-04-21 Pierre Muller <muller@sourceware.org>
1488
1489 PR pascal/17815
1490 * lib/pascal.exp (gpc_compile): Add new option "class".
1491 (fpc_compile): Likewise.
1492 * gdb.pascal/case-insensitive-symbols.pas: New file.
1493 * gdb.pascal/case-insensitive-symbols.exp: New file.
1494
1586c8fb
GB
14952015-04-20 Gary Benson <gbenson@redhat.com>
1496
1497 * gdb.base/attach.exp: Fix three extended remote failures.
1498
1b6e6f5c
GB
14992015-04-17 Gary Benson <gbenson@redhat.com>
1500
1501 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1502 the main executable over the remote protocol.
1503
e797481d
PA
15042015-04-16 Pedro Alves <palves@redhat.com>
1505
1506 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1507 a new gdbserver if gdbserver_reconnect_p is set.
1508
1ca99c42
PA
15092015-04-16 Pedro Alves <palves@redhat.com>
1510
1511 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1512 is set, don't exit gdbserver.
1513
af9fd6f8
AA
15142015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1515
1516 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1517 appropriate .insn, such that an older assembler can be used.
1518 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1519 the z/Architecture instruction set on 31-bit targets as well.
1520
04ff1e61
AA
15212015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1522
1523 * gdb.go/handcall.exp: Remove all logic related to the first
1524 breakpoint and rely on go_runto_main instead.
1525 * gdb.go/strings.exp: Likewise.
1526 * gdb.go/unsafe.exp: Likewise.
1527 * gdb.go/hello.exp: Likewise. Also rename the remaining
1528 breakpoint marker to "breakpoint 1".
1529 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1530 * gdb.go/strings.go: Likewise.
1531 * gdb.go/unsafe.go: Likewise.
1532 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1533 "set breakpoint 2 here" and rename the remaining breakpoint marker
1534 to "breakpoint 1".
1535
40d2f8d6
SM
15362015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1537
1538 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1539 if itertools.imap is not present.
1540 * gdb.python/py-objfile.exp: Add parentheses.
1541 * gdb.python/py-type.exp: Same.
1542 * gdb.python/py-unwind-maint.py: Same.
1543
8cbc97c6
YQ
15442015-04-15 Yao Qi <yao.qi@linaro.org>
1545
1546 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1547 of ":$ptr_size" and set its form explicitly.
1548
45fd756c
YQ
15492015-04-15 Pedro Alves <palves@redhat.com>
1550 Yao Qi <yao.qi@linaro.org>
1551
1552 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1553 timeout by factor of 4.
1554 (test_regular_watch): Likewise.
1555 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1556 * gdb.reverse/sigall-reverse.exp: Likewise.
1557 * gdb.reverse/until-precsave.exp: Likewise.
1558 * lib/gdb.exp (with_timeout_factor): New proc.
1559 (gdb_expect): Move some code to ...
1560 (get_largest_timeout): ... here. New procedure.
1561
9e811bc3
LM
15622015-04-14 Luis Machado <lgustavo@codesourcery.com>
1563
1564 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1565
0ff6fcb2
LM
15662015-04-13 Luis Machado <lgustavo@codesourcery.com>
1567
1568 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1569 to write to the .text section.
1570
7578d5f7
LM
15712015-04-13 Luis Machado <lgustavo@codesourcery.com>
1572
1573 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1574 Handle the case of targets that do not provide PID information.
1575
2efe15c4
YQ
15762015-04-13 Yao Qi <yao.qi@linaro.org>
1577
1578 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1579 and use expect instead of gdb_expect.
1580
8cd8f2f8
SDJ
15812015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1582
1583 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1584 "coredump_var_addr" to avoid naming conflict with other testcases.
1585
9ee41772
PA
15862015-04-10 Pedro Alves <palves@redhat.com>
1587
1588 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1589 gdb_test_sequence and gdb_assert.
1590
07473109
PA
15912015-04-10 Pedro Alves <palves@redhat.com>
1592
1593 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1594 test messages that don't include the breakpoint address.
1595
de3db44c
YQ
15962015-04-10 Yao Qi <yao.qi@linaro.org>
1597
1598 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1599 false for some offset and width combinations which aren't
1600 supported by linux kernel.
1601
c79d856c
PA
16022015-04-10 Pedro Alves <palves@redhat.com>
1603
1604 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1605 procedure, factored out from ...
1606 (top level): ... here. Add "set displaced-stepping" testing axis.
1607 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1608 parameter "displaced". Use it.
1609 (top level): Use foreach and add "set displaced-stepping" testing
1610 axis.
1611
ebc90b50
PA
16122015-04-10 Pedro Alves <palves@redhat.com>
1613
1614 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1615 Remove comment.
1616 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1617 both the address of the instruction that triggers the watchpoint
1618 and the address of the instruction immediately after, and use
1619 those addresses for the test. Fix comment.
1620
8f572e5c
PA
16212015-04-10 Pedro Alves <palves@redhat.com>
1622
1623 * gdb.base/sigstep.exp (breakpoint_to_handler)
1624 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1625 Test "backtrace" in handler.
1626 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1627 (top level): Add new "displaced" test axis to
1628 breakpoint_to_handler, breakpoint_to_handler_entry and
1629 breakpoint_over_handler.
1630
8d707a12
PA
16312015-04-10 Pedro Alves <palves@redhat.com>
1632
1633 PR gdb/18216
1634 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1635
ef713951
YQ
16362015-04-10 Yao Qi <yao.qi@linaro.org>
1637
1638 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1639 (test_add_rn_pc): New function.
1640 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1641 (top level): Invoke test_add_rn_pc.
1642
906d60cf
PA
16432015-04-10 Pedro Alves <palves@redhat.com>
1644
1645 PR gdb/13858
1646 * gdb.base/step-over-no-symbols.exp: New file.
1647
f2983cc3
AW
16482015-04-09 Andy Wingo <wingo@igalia.com>
1649
1650 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1651 after the Python tests.
1652
6d62641c
SDJ
16532015-04-08 Keith Seitz <keiths@redhat.com>
1654
1655 PR python/16699
1656 * gdb.python/py-completion.exp: New tests for completion.
1657 * gdb.python/py-completion.py (CompleteLimit1): New class.
1658 (CompleteLimit2): Likewise.
1659 (CompleteLimit3): Likewise.
1660 (CompleteLimit4): Likewise.
1661 (CompleteLimit5): Likewise.
1662 (CompleteLimit6): Likewise.
1663 (CompleteLimit7): Likewise.
1664
f3770638
PA
16652015-04-08 Pedro Alves <palves@redhat.com>
1666
1667 PR gdb/18214
1668 PR gdb/18216
1669 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1670 function.
1671 (main): Install it as SIGUSR1 handler.
1672 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1673 parameter. Always use "setup" as prefix. Toggle "set
1674 displaced-stepping" off/on depending on global. Don't switch to
1675 thread 1 here.
1676 (top level): Add displaced stepping "off/on" test axis. Update
1677 "setup" calls. Wrap each subtest with with_test_prefix. Test
1678 continuing with a queued signal in each thread.
1679
4496bed7
PA
16802015-04-08 Pedro Alves <palves@redhat.com>
1681
1682 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1683 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1684 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1685 Return early if running to main fails.
1686 * gdb.trace/while-stepping.exp: Likewise.
1687
b97fde92
PA
16882015-04-07 Pedro Alves <palves@redhat.com>
1689
1690 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1691 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1692 interact with inferior program.
1693
f71c18e7
PA
16942015-04-07 Pedro Alves <palves@redhat.com>
1695
1696 * lib/gdb.exp (inferior_spawn_id): New global.
1697 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1698 spawn id after processing the user code.
1699 (default_gdb_start): Set inferior_spawn_id.
1700 (send_inferior): New procedure.
1701 * lib/gdbserver-support.exp (gdbserver_start): Set
1702 inferior_spawn_id.
1703 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1704
6423214f
PA
17052015-04-07 Pedro Alves <palves@redhat.com>
1706
1707 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1708 * lib/gdbserver-support.exp (gdbserver_start): Make
1709 $server_spawn_id global.
1710 (gdbserver_start): Don't wait for gdbserver's spawn id with
1711 expect_background.
1712 (close_gdbserver): New procedure.
1713 (gdb_exit): Rename the default version and reimplement.
1714
71c0ee8c
PA
17152015-04-07 Pedro Alves <palves@redhat.com>
1716
72f4393d 1717 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1718 append the substituted item, not the original item.
1719
203bc29b
PA
17202015-04-07 Pedro Alves <palves@redhat.com>
1721
1722 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1723 gdb_expect.
1724
508a3ddf
PA
17252015-04-07 Pedro Alves <palves@redhat.com>
1726
1727 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1728 output appearing once only.
1729
9f6dbe2b
PA
17302015-04-07 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1733 that doesn't expect anything. Return early if running to main
1734 fails.
1735
337532fa
YQ
17362015-04-07 Yao Qi <yao.qi@linaro.org>
1737
1738 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1739 (child_function): Call alarm.
1740 (main): Move call to alarm into the loop.
1741 * gdb.threads/non-stop-fair-events.exp: Build program with
1742 -DTIMEOUT=$timeout.
1743
01b622d4
DE
17442015-04-06 Doug Evans <xdje42@gmail.com>
1745
1746 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1747 Fix dest parameter to board_info.
1748 (fpc_compile): Ditto.
1749 (gdb_compile_pascal): Rename dest arg to destfile.
1750
961f4160
PMR
17512015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1752
1753 * gdb.ada/funcall_ref.exp: New file.
1754 * gdb.ada/funcall_ref/foo.adb: New file.
1755
cafda597
YQ
17562015-04-02 Yao Qi <yao.qi@linaro.org>
1757
1758 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1759 is remote.
1760
fed040c6
GB
17612015-04-02 Gary Benson <gbenson@redhat.com>
1762
1763 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1764
d11916aa
SS
17652015-04-01 Sasha Smundak <asmundak@google.com>
1766
1767 * gdb.python/py-unwind-maint.c: New file.
1768 * gdb.python/py-unwind-maint.exp: New test.
1769 * gdb.python/py-unwind-maint.py: New file.
1770 * gdb.python/py-unwind.c: New file.
1771 * gdb.python/py-unwind.exp: New test.
1772 * gdb.python/py-unwind.py: New test.
1773
a1471180
PA
17742015-04-01 Pedro Alves <palves@redhat.com>
1775
1776 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1777 to fail instead of non-existent $test.
1778
0bbeccb1
PA
17792015-04-01 Pedro Alves <palves@redhat.com>
1780
1781 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1782 GDBFLAGS if not empty.
1783
3c724c8c
PMR
17842015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1785
1786 * gdb.ada/complete.exp: Remove "multi_line".
1787 * gdb.ada/info_exc.exp: Remove "multi_line".
1788 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1789 * gdb.ada/ptype_field.exp: Remove "multi_line".
1790 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1791 * gdb.ada/tagged.exp: Remove "multi_line".
1792 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1793 [multi_line ...]
1794 * gdb.btrace/delta.exp: Likewise.
1795 * gdb.btrace/exception.exp: Likewise.
1796 * gdb.btrace/function_call_history.exp: Likewise.
1797 * gdb.btrace/instruction_history.exp: Likewise.
1798 * gdb.btrace/nohist.exp: Likewise.
1799 * gdb.btrace/record_goto.exp: Likewise.
1800 * gdb.btrace/segv.exp: Likewise.
1801 * gdb.btrace/stepi.exp: Likewise.
1802 * gdb.btrace/tailcall.exp: Likewise.
1803 * gdb.btrace/unknown_functions.exp: Likewise.
1804 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1805 * lib/gdb.exp: Add the "multi_line" helper.
1806
4eec2deb
PA
18072015-04-01 Pedro Alves <palves@redhat.com>
1808
1809 * gdb.threads/tid-reuse.c: New file.
1810 * gdb.threads/tid-reuse.exp: New file.
1811
df8411da
SDJ
18122015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1813
1814 PR corefiles/16092
1815 * gdb.base/coredump-filter.c: New file.
1816 * gdb.base/coredump-filter.exp: Likewise.
1817
6ef37366
PM
18182015-03-27 Petr Machata <pmachata@redhat.com>
1819
1820 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1821 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1822 (Dwarf::assemble): Initialize them.
1823 (Dwarf::lines): New function.
1824
7ec911b0
JT
18252015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1826
1827 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1828 SYMBOL_PREFIX for x86_64-*-cygwin.
1829
ff908ebf
AW
18302015-03-26 Andy Wingo <wingo@igalia.com>
1831
1832 PR symtab/18148
1833 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1834 const_value but not a location.
1835 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1836 location defined in non-main CUs are visible.
1837
6d5f0679
YQ
18382015-03-26 Yao Qi <yao.qi@linaro.org>
1839
1840 PR testsuite/18139
1841 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1842 Add a line number entry for the same line.
1843 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1844 Add a line number entry for the same line.
1845
2898689b
YQ
18462015-03-26 Yao Qi <yao.qi@linaro.org>
1847
1848 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1849 .int 0.
1850 (func): Likewise. Add .Lfunc_1 label.
1851 Use .Lfunc_1 label.
1852 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1853 .int 0.
1854 (func): Likewise.
1855 Use .Lfunc_1 label.
1856
85180498
YQ
18572015-03-26 Yao Qi <yao.qi@linaro.org>
1858
1859 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1860 Call gdb_compile instead to compile each .s files without debug
1861 information.
1862
8aa08a8d
YQ
18632015-03-26 Yao Qi <yao.qi@linaro.org>
1864
1865 * gdb.base/savedregs.exp (process_saved_regs): Make
1866 "Saved registers:" optional in the pattern.
1867
66849923
MM
18682015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1869
1870 * gdb.btrace/next.exp: Merged into step.exp.
1871 * gdb.btrace/finish.exp: Merged into step.exp.
1872 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1873 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1874 "record goto" and checking the exact replay position.
1875 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1876 check for "Recording format" in "info record" output.
1877 * gdb.btrace/record_goto.exp: Choose test file based on target.
1878 * gdb.btrace/x86-record_goto.S: Renamed into ...
1879 * gdb.btrace/x86_64-record_goto.S: ... this.
1880 * gdb.btrace/i686-record_goto.S: New.
1881 * gdb.btrace/x86-tailcall.S: Renamed into ...
1882 * gdb.btrace/x86_64-tailcall.S: ... this.
1883 * gdb.btrace/i686-tailcall.S: New.
1884 * gdb.btrace/x86-tailcall.c: Renamed into ...
1885 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1886 separate statements. Update test.
1887 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1888 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1889 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1890 * gdb.btrace/tailcall.exp: Choose test file based on target.
1891 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1892
11cc1b74
MM
18932015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1894
1895 * gdb.btrace/exception.exp: Increase BTS buffer size.
1896
a25d8bf9
PA
18972015-03-24 Pedro Alves <palves@redhat.com>
1898
1899 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1900
856e7dd6
PA
19012015-03-24 Pedro Alves <palves@redhat.com>
1902
1903 * gdb.threads/schedlock.exp (test_step): No longer expect that
1904 "set scheduler-locking step" with "next" over a function call runs
1905 threads unlocked.
1906
ad235a41
AT
19072015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1908
1909 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1910
15630549
AT
19112015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1912
1913 PR breakpoints/16466
1914 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1915 * gdb.mi/mi-pending.c (thread_func): New function.
1916 (int main): Add threading support required.
1917 * gdb.mi/mi-pending.exp: Add tests for this issue.
1918 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1919 (pendfunc2): Remove stdio dependency.
1920 * gdb.mi/mi-pendshr2.c: New file.
1921
693dca06
KS
19222015-03-23 Keith Seitz <keiths@redhat.com>
1923
1924 * gdb.linespec/keywords.c: New file.
1925 * gdb.linespec/keywords.exp: New file.
1926
7e993ebf
KS
19272015-03-23 Keith Seitz <keiths@redhat.com>
1928
1929 PR gdb/18021
1930 * gdb.dwarf2/staticvirtual.exp: New test.
1931
bc23328c
JK
19322015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1933
1934 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1935 * README: Remove HP-UX and gdb.hp.
1936 (configuration):
1937 * configure: Regenerate.
1938 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1939 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1940 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1941 gdb.hp/gdb.defects/Makefile.
1942 * gdb.hp/Makefile.in: File deleted.
1943 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1944 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1945 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1946 * gdb.hp/gdb.aCC/run.c: File deleted.
1947 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1948 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1949 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1950 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1951 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1952 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1953 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1954 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1955 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1956 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1957 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1958 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1959 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1960 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1961 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1962 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1963 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1964 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1965 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1966 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1967 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1968 * gdb.hp/gdb.compat/average.c: File deleted.
1969 * gdb.hp/gdb.compat/sum.c: File deleted.
1970 * gdb.hp/gdb.compat/xdb.c: File deleted.
1971 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1972 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1973 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1974 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1975 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1976 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1977 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1978 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1979 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1980 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1981 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1982 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1983 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1984 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1985 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1986 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1987 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1988 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1989 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1990 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1991 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1992 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1993 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1994 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1995 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1996 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1997 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1998 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1999 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2000 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2001 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2002 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2003 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2004 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2005 * gdb.hp/tools/odump: File deleted.
2006
8bf3b159
PA
20072015-03-19 Pedro Alves <palves@redhat.com>
2008
2009 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2010 (saw_thread_3): New globals.
2011 (top level): Increment them when an event for the corresponding
2012 thread is seen.
2013 (no thread starvation): New test.
2014
eb54c8bf
PA
20152015-03-19 Pedro Alves <palves@redhat.com>
2016
2017 * gdb.threads/continue-pending-status.c: New file.
2018 * gdb.threads/continue-pending-status.exp: New file.
2019
32d2e5d6
PA
20202015-03-18 Pedro Alves <palves@redhat.com>
2021
2022 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2023 Use gdb_is_target_remote instead of is_remote. Use
2024 gdb_test_multiple instead of gdb_expect. Exit early if
2025 gdb_test_multiple hits its internal matches. Tighten stepi tests
2026 expected output. Fail on exit with any signal, instead of just
2027 SIGILL.
2028
f68f11b7
YQ
20292015-03-18 Yao Qi <yao.qi@linaro.org>
2030
2031 PR tdep/18107
2032 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2033 variable.
2034 * gdb.base/catch-syscall.exp: Don't skip it on
2035 aarch64*-*-linux* target. Remove elements in all_syscalls.
2036 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2037 target.
2038 (setup_all_syscalls): New proc.
2039
ca5fd19b
YQ
20402015-03-16 Yao Qi <yao.qi@linaro.org>
2041
2042 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2043 (top level): Skip tests if valid_addr_p returns false for
2044 $cmd1 or $cmd2.
2045
85642ba0
AW
20462015-03-11 Andy Wingo <wingo@igalia.com>
2047
2048 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2049
e03f9645
YQ
20502015-03-11 Yao Qi <yao.qi@linaro.org>
2051
2052 * gdb.base/catch-syscall.exp: Fix typo in comments.
2053
5d0962b2
YQ
20542015-03-11 Yao Qi <yao.qi@linaro.org>
2055
2056 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2057
b2df3cef
PA
20582015-03-09 Pedro Alves <palves@redhat.com>
2059
2060 * dg-extract-results.py: Delete.
2061
ef878e53
PA
20622015-03-09 Pedro Alves <palves@redhat.com>
2063
2064 Merge dg-extract-results.sh from GCC upstream (r218843).
2065
2066 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2067 * dg-extract-results.sh: Use --text with grep to avoid issues with
2068 binary files. Fall back to cat -v, if that doesn't work.
2069
9494d219
PA
20702015-03-05 Pedro Alves <palves@redhat.com>
2071
2072 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2073
a8d9763a
SM
20742015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2075
2076 * lib/mi-support.exp (mi_expect_interrupt): Accept
2077 alternative event for when in all-stop mode.
2078
be9957b8
PA
20792015-03-04 Pedro Alves <palves@redhat.com>
2080
2081 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2082
d57be0f4 20832015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2084
2085 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2086
c214c7cf
AA
20872015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2088
2089 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2090 regexps for GDB's current line display, accept a hex address
2091 preceding the line number.
2092
6d74a497
AA
20932015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2094
2095 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2096 the 'arch1' variable for "s390*-linux*" targets.
2097
511aee7c
PA
20982015-03-04 Pedro Alves <palves@redhat.com>
2099
2100 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2101 (main): Pass missing retval argument to pthread_join call.
2102
95e50b27
PA
21032015-03-02 Pedro Alves <palves@redhat.com>
2104
2105 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2106 (top level): Call do_test with non-stop as well.
2107
28054d69
PA
21082015-03-02 Pedro Alves <palves@redhat.com>
2109
2110 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2111 -1.
2112
4fa5d7b4
AA
21132015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2114
2115 * gdb.arch/s390-vregs.exp: New test.
2116 * gdb.arch/s390-vregs.S: New file.
2117
97c18565
PA
21182015-02-27 Pedro Alves <palves@redhat.com>
2119
2120 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2121 call to catch_command_errors.
2122 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2123 catch_command_errors.
2124
a37bfa30
PA
21252015-02-27 Pedro Alves <palves@redhat.com>
2126
2127 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2128 "true" for boolean result.
2129 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2130 prototype of main.
2131
6f98576f
PA
21322015-02-27 Pedro Alves <palves@redhat.com>
2133
2134 * lib/unbuffer_output.c: New file.
2135 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2136 (main): Call gdb_unbuffer_output.
2137
eba5ab56
YQ
21382015-02-27 Yao Qi <yao.qi@linaro.org>
2139
2140 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2141 target.
2142
0def5aaa
DE
21432015-02-26 Doug Evans <dje@google.com>
2144
2145 * gdb.cp/class2.cc (Dbase, D): New classes.
2146 (main): New local delta.
2147 * gdb.cp/class2.exp: Test printing delta.
2148 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2149 (dynbar): New global.
2150 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2151
081a1c2c
JK
21522015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2153
2154 * gdb.compile/compile-ifunc.c: New file.
2155 * gdb.compile/compile-ifunc.exp: New file.
2156
2f41223f
AT
21572015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2158
2159 * gdb.base/structs.exp: Check for correct struct on finish.
2160
03eddd80
YQ
21612015-02-26 Yao Qi <yao.qi@linaro.org>
2162
2163 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2164 is zero.
2165
80c57053
JK
21662015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2167
2168 * gdb.arch/cordic.ko.bz2: New file.
2169 * gdb.arch/cordic.ko.debug.bz2: New file.
2170 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2171
21613c12
YQ
21722015-02-25 Yao Qi <yao.qi@linaro.org>
2173
2174 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2175 aarch64*-*-* target.
2176
d8b901ed
PA
21772015-02-23 Pedro Alves <palves@redhat.com>
2178
2179 * lib/gdb.exp (delete_breakpoints): Rewrite using
2180 gdb_test_multiple.
2181
e5b85ead
PA
21822015-02-23 Pedro Alves <palves@redhat.com>
2183
2184 * gdb.base/info-os.c: Include stdlib.h.
2185
85c3a371
DE
21862015-02-22 Doug Evans <xdje42@gmail.com>
2187
2188 PR symtab/17855
2189 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2190 is read after symbols have been re-read.
2191 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2192 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2193
96553a0c
DE
21942015-02-21 Doug Evans <dje@google.com>
2195
2196 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2197
97a0c697
JK
21982015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2199
2200 PR corefiles/17808
2201 * gdb.arch/i386-biarch-core.core.bz2: New file.
2202 * gdb.arch/i386-biarch-core.exp: New file.
2203
a47cd6e9
PA
22042015-02-21 Pedro Alves <palves@redhat.com>
2205
2206 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2207 runto_main fails.
2208
c5facdc4
PA
22092015-02-20 Pedro Alves <palves@redhat.com>
2210
2211 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2212 info probes.
2213
2db9a427
PA
22142015-02-20 Pedro Alves <palves@redhat.com>
2215
2216 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2217
60fb7e9e
PA
22182015-02-20 Pedro Alves <palves@redhat.com>
2219
2220 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2221 clean_restart before gdb_target_supports_trace.
2222
5c5019c2
PA
22232015-02-20 Pedro Alves <palves@redhat.com>
2224
2225 PR threads/18006
2226 * gdb.threads/clone-thread_db.c: New file.
2227 * gdb.threads/clone-thread_db.exp: New file.
2228
c9587f88
AT
22292015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2230
2231 PR breakpoints/16812
2232 * gdb.base/catch-gdb-caused-signals.c: New file.
2233 * gdb.base/catch-gdb-caused-signals.exp: New file.
2234
f6a88844
JM
22352015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2236
2237 * configure: Regenerated.
2238 * configure.ac: Use GDB_AC_TRANSFORM.
2239 * aclocal.m4: sinclude ../transform.m4.
2240
497c491b
JM
22412015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2242
2243 * lib/dtrace.exp: New file.
2244 * gdb.base/dtrace-probe.exp: Likewise.
2245 * gdb.base/dtrace-probe.d: Likewise.
2246 * gdb.base/dtrace-probe.c: Likewise.
2247 * lib/pdtrace.in: Likewise.
2248 * configure.ac: Output variables with the transformed names of
2249 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2250 * configure: Regenerated.
2251
03e98035
JM
22522015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2253
2254 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2255 expected message when trying to access $_probe_* convenience
2256 variables while not on a probe.
2257
63cc30e9
JK
22582015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2259
2260 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2261
0703599a
PA
22622015-02-11 Pedro Alves <pedro@codesourcery.com>
2263
2264 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2265 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2266
7e60a48e
DE
22672015-02-10 Doug Evans <xdje42@gmail.com>
2268
2269 * lib/gdb.exp (gdb_load): Always return a result.
2270
01b088bc
PA
22712015-02-10 Pedro Alves <palves@redhat.com>
2272
2273 * gdb.threads/signal-sigtrap.c: New file.
2274 * gdb.threads/signal-sigtrap.exp: New file.
2275
b05ec7a5
AT
22762015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2277
2278 * gdb.trace/no-attach-trace.c: New file.
2279 * gdb.trace/no-attach-trace.exp: New file.
2280
a2c2acaf
MW
22812015-02-09 Mark Wielaard <mjw@redhat.com>
2282
2283 * gdb.dwarf2/atomic.c: New file.
2284 * gdb.dwarf2/atomic-type.exp: Likewise.
2285
31fd9caa
MM
22862015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2287
2288 * gdb.btrace/buffer-size.exp: Update "info record" output.
2289 * gdb.btrace/delta.exp: Update "info record" output.
2290 * gdb.btrace/enable.exp: Update "info record" output.
2291 * gdb.btrace/finish.exp: Update "info record" output.
2292 * gdb.btrace/instruction_history.exp: Update "info record" output.
2293 * gdb.btrace/next.exp: Update "info record" output.
2294 * gdb.btrace/nexti.exp: Update "info record" output.
2295 * gdb.btrace/step.exp: Update "info record" output.
2296 * gdb.btrace/stepi.exp: Update "info record" output.
2297 * gdb.btrace/nohist.exp: Update "info record" output.
2298
d33501a5
MM
22992015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2300
2301 * gdb.btrace/buffer-size: New.
2302
f4abbc16
MM
23032015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2304
2305 * gdb.btrace/delta.exp: Update "info record" output.
2306 * gdb.btrace/enable.exp: Update "info record" output.
2307 * gdb.btrace/finish.exp: Update "info record" output.
2308 * gdb.btrace/instruction_history.exp: Update "info record" output.
2309 * gdb.btrace/next.exp: Update "info record" output.
2310 * gdb.btrace/nexti.exp: Update "info record" output.
2311 * gdb.btrace/step.exp: Update "info record" output.
2312 * gdb.btrace/stepi.exp: Update "info record" output.
2313 * gdb.btrace/nohist.exp: Update "info record" output.
2314
b9d61307
SM
23152015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2316
2317 PR gdb/15678
2318 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2319
e584fdbc
PA
23202015-02-06 Pedro Alves <palves@redhat.com>
2321
2322 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2323 macro.
2324 (seconds_left, again): New globals.
2325 (main): Wait seconds_left in a 1-second sleep loop instead of
2326 sleeping 180 seconds. If 'again' is set, reset the seconds
2327 counter.
2328 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2329 'again' in the inferior before detaching. Print the seconds left.
2330 (options): New global.
2331 (top level): Build program with -DTIMEOUT=$timeout.
2332
77f41761
PA
23332015-02-06 Pedro Alves <palves@redhat.com>
2334
2335 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2336 determine how many seconds to pass to 'alarm'.
2337 * gdb.base/gdb-sigterm.exp (top level): Build program with
2338 -DTIMEOUT=$timeout.
2339 (do_test): Return success/failure indication. Add more verbose
2340 logging. Don't fail if 200 single steps are seen. Instead, fail
2341 when the test times out.
2342 (passes): New global.
2343 (top level): Break the testing loop if testing fails on any
2344 iteration. Use gdb_assert.
2345
b9394193
DB
23462015-02-04 Don Breazeal <donb@codesourcery.com>
2347
2348 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2349 and initialize them.
2350 (ipc_cleanup): New function.
2351 (main): Don't declare shmid, semid, and msqid. Add a call to
2352 atexit so that we call ipc_cleanup on exit.
2353
42d9e528
PA
23542015-02-04 Pedro Alves <palves@redhat.com>
2355
2356 * boards/native-extended-gdbserver.exp: Remove any target variant
2357 specifications from the board name before clearing the isremote
2358 flag from board_info.
2359
ae6ae975
DE
23602015-01-31 Doug Evans <xdje42@gmail.com>
2361
2362 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2363
cfb069a8
GB
23642015-01-31 Gary Benson <gbenson@redhat.com>
2365
2366 * gdb.base/completion.exp: Disable completion limiting for
2367 existing tests. Add new tests to check completion limiting.
2368 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2369
5dd31d79
DE
23702015-01-31 Doug Evans <xdje42@gmail.com>
2371
2372 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2373
9f050062
DE
23742015-01-31 Doug Evans <xdje42@gmail.com>
2375
2376 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2377 entries. Duplicate file section script entries.
2378 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2379 inlined entries. Add test for safe-path rejection.
2380 * gdb.python/py-section-script.c: Add duplicate inlined section script
2381 entries. Duplicate file section script entries.
2382 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2383 inlined entries. Add test for safe-path rejection.
2384
df25ebbd
JB
23852015-01-29 Joel Brobecker <brobecker@adacore.com>
2386
2387 * gdb.ada/disc_arr_bound: New testcase.
2388
4a0ca9ec
JB
23892015-01-29 Joel Brobecker <brobecker@adacore.com>
2390
2391 * gdb.ada/mi_var_array: New testcase.
2392
3a8b707a
DE
23932015-01-27 Doug Evans <dje@google.com>
2394
2395 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2396 Add test for objfile.filename, objfile.username after objfile
2397 has been unloaded.
2398
f8313f6e
JB
23992015-01-26 Joel Brobecker <brobecker@adacore.com>
2400
2401 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2402 the second test to print the name attribute of value
2403 returned by the call to gdb.lookup_type, and adjust
2404 the expected output accordingly.
2405
37bc665e
MW
24062015-01-25 Mark Wielaard <mjw@redhat.com>
2407
2408 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2409 * gdb.base/disp-step-fork.c: Include unistd.h.
2410 * gdb.base/siginfo-obj.c: Include stdio.h.
2411 * gdb.base/siginfo-thread.c: Likewise.
2412 * gdb.mi/non-stop.c: Include unistd.h.
2413 * gdb.mi/nsthrexec.c: Include stdio.h.
2414 * gdb.mi/pthreads.c: Include unistd.h.
2415 * gdb.modula2/unbounded1.c (main): Declare returns int.
2416 * gdb.reverse/consecutive-reverse.c: Likewise.
2417 * gdb.threads/create-fail.c: Include unistd.h.
2418 * gdb.threads/killed.c: Likewise.
2419 * gdb.threads/linux-dp.c: Likewise.
2420 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2421 * gdb.threads/non-ldr-exc-2.c: Likewise.
2422 * gdb.threads/non-ldr-exc-3.c: Likewise.
2423 * gdb.threads/non-ldr-exc-4.c: Likewise.
2424 * gdb.threads/pthreads.c: Include unistd.h.
2425 (main): Declare returns int.
2426 * gdb.threads/tls-main.c (foo): New declaration.
2427 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2428
f7e5394d
SM
24292015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2430
2431 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2432 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2433
743649fd
MW
24342015-01-15 Mark Wielaard <mjw@redhat.com>
2435
2436 * gdb.base/noreturn-return.c: New file.
2437 * gdb.base/noreturn-return.exp: New file.
2438 * gdb.base/noreturn-finish.c: New file.
2439 * gdb.base/noreturn-finish.exp: New file.
2440
198297aa
PA
24412015-01-23 Pedro Alves <palves@redhat.com>
2442
2443 * gdb.threads/continue-pending-after-query.c: New file.
2444 * gdb.threads/continue-pending-after-query.exp: New file.
2445
717cf30c
AG
24462015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2447 Simon Marchi <simon.marchi@ericsson.com>
2448
2449 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2450 * gdb.base/valgrind-db-attach.exp: Same.
2451 * gdb.base/valgrind-infcall.exp: Same.
2452 * lib/mi-support.exp (default_mi_gdb_start): Same.
2453 * lib/prompt.exp (default_prompt_gdb_start): Same.
2454 * lib/gdb.exp (default_gdb_spawn): Same.
2455 (gdb_interact): New.
2456
2457
4b62a76e
JK
24582015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2459
2460 * gdb.compile/compile.exp (pointer to jit function): New test.
2461
b4cdae6f
WW
24622015-01-17 Wei-cheng Wang <cole945@gmail.com>
2463
2464 * lib/gdb.exp (supports_process_record): Return true for
2465 powerpc*-*-linux*.
2466 (supports_reverse): Likewise.
2467
d221e7ef
DB
24682015-01-15 Don Breazeal <donb@codesourcery.com>
2469
2470 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2471 instead of checking whether the target board is remote and
2472 use spawn_wait_for_attach instead of exec/sleep.
2473 * gdb.base/attach-twice.exp: Likewise.
2474
bafffb51
JB
24752015-01-15 Joel Brobecker <brobecker@adacore.com>
2476
2477 * gdb.ada/var_arr_attrs: New testcase.
2478
5589af0e
PA
24792015-01-14 Pedro Alves <palves@redhat.com>
2480 Joel Brobecker <brobecker@adacore.com>
2481
2482 PR gdb/17525
2483 * gdb.base/bp-cmds-execution-x-script.c: New file.
2484 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2485 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2486
6c400b59
PA
24872015-01-14 Pedro Alves <palves@redhat.com>
2488
2489 PR cli/17828
2490 * gdb.base/batch-preserve-term-settings.c: New file.
2491 * gdb.base/batch-preserve-term-settings.exp: New file.
2492
e02c96a7
DE
24932015-01-13 Doug Evans <dje@google.com>
2494
2495 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2496 binary.
2497
576fd14c
JB
24982015-01-13 Joel Brobecker <brobecker@adacore.com>
2499
2500 * Makefile.in (clean mostlyclean): Do not delete *.py.
2501
04dccad0
JB
25022015-01-13 Joel Brobecker <brobecker@adacore.com>
2503
2504 * gdb.python/py-lookup-type.exp: New file.
2505
3d230f71
PA
25062015-01-12 Pedro Alves <palves@redhat.com>
2507
2508 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2509 restore GDBFLAGS before returning.
2510
7e67715d
JK
25112015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2512
2513 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2514 is_amd64_regs_target and is_x86_like_target.
2515
f2e0d4b4
DE
25162015-01-11 Doug Evans <xdje42@gmail.com>
2517
2518 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2519 is given without an explicit form.
2520 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2521 attributes.
2522 * gdb.dwarf/corrupt.exp: Ditto.
2523 * gdb.dwarf2/enum-type.exp: Ditto.
2524 * gdb.trace/entry-values.exp: Ditto.
2525 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2526
439250fb
DE
25272015-01-11 Doug Evans <xdje42@gmail.com>
2528
2529 PR gdb/15830
2530 * gdb.base/maint.exp: Remove references to "maint demangle".
2531 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2532 Add tests for explicitly specifying language to demangle.
2533 * gdb.dlang/demangle.exp: Ditto.
2534
ede9f622
PA
25352015-01-09 Pedro Alves <palves@redhat.com>
2536
2537 * gdb.threads/non-stop-fair-events.c: New file.
2538 * gdb.threads/non-stop-fair-events.exp: New file.
2539
a7b796db
PA
25402015-01-09 Pedro Alves <palves@redhat.com>
2541
2542 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2543 the global scope. Set a breakpoint after all threads are started
2544 rather than stepping over two source lines. Expect the prompt.
2545 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2546 global.
2547 (NUM): Now 15.
2548 (main): Use threads_started_barrier to wait for all threads to
2549 start. Main thread no longer calls thread_function. Exit after
2550 180 seconds.
2551 (loop): New function.
2552 (thread_function): Wait on threads_started_barrier barrier. Call
2553 'loop' at each iteration.
2554 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2555 threads have started, instead of hardcoding number of "next"
2556 steps. Use an access watchpoint instead of a write watchpoint.
2557
9665ffdd
PA
25582015-01-09 Pedro Alves <palves@redhat.com>
2559
2560 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2561 (thread_func): Wait on barrier.
2562 (main): Wait for all threads to start before stopping GDB.
2563 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2564 global.
2565 (thread1_func, thread2_func): Wait on barrier.
2566 (main): Wait for all threads to start before stopping GDB.
2567 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2568 New global.
2569 (thread1_func, thread2_func): Wait on barrier.
2570 (main): Wait for all threads to start before stopping GDB.
2571
c945a99f
PA
25722015-01-09 Pedro Alves <palves@redhat.com>
2573
2574 * gdb.threads/attach-many-short-lived-threads.c: New file.
2575 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2576
c1a747c1
PA
25772014-01-09 Pedro Alves <palves@redhat.com>
2578
2579 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2580 instead of to thread 2.
2581 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2582 Add barrier around each pthread_create call instead of around all
2583 calls.
2584 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2585 Set a break on thread_function and have the child threads hit it
2586 one at at a time.
2587
60b3033e
PA
25882015-01-09 Pedro Alves <palves@redhat.com>
2589
2590 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2591 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2592 false.
2593 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2594 checking whether the target board is remote.
2595 * gdb.multi/multi-attach.exp: Likewise.
2596 * gdb.python/py-sync-interp.exp: Likewise.
2597 * gdb.server/ext-attach.exp: Likewise.
2598 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2599 tests that need to attach, instead of checking whether the target
2600 board is remote at the top of the file.
2601
acc018ac
YQ
26022015-01-08 Yao Qi <yao@codesourcery.com>
2603
2604 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2605
50a18af8
JK
26062015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2607
2608 Fix testcase compilation.
2609 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2610
8503d6e1
JB
26112015-01-06 Joel Brobecker <brobecker@adacore.com>
2612
2613 * gdb.python/py-type.exp: Add a couple test about empty
2614 array creation, and negative-length array creation.
2615
cc73dbcc
DE
26162015-01-02 Doug Evans <xdje42@gmail.com>
2617
2618 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2619
0300bbc7
DE
26202015-01-02 Doug Evans <dje@google.com>
2621
2622 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2623
9d85a0ec
YQ
26242014-12-29 Yao Qi <yao@codesourcery.com>
2625
2626 * gdb.trace/entry-values.exp: Update comments. Rename variable
2627 bar_call_foo to returned_from_foo.
2628
87186c6a
MMN
26292014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2630
2631 PR gdb/17394
2632 * gdb.linespec/break-asm-file.c: New file.
2633 * gdb.linespec/break-asm-file.exp: New file.
2634 * gdb.linespec/break-asm-file0.s: New file.
2635 * gdb.linespec/break-asm-file1.s: New file.
2636
1bab7383
YQ
26372014-12-18 Nigel Stephens <nigel@mips.com>
2638 Maciej W. Rozycki <macro@codesourcery.com>
2639
2640 * gdb.base/float.exp: Handle the new output from "info float" on
2641 MIPS targets.
2642
1bc1068a
JK
26432014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2644
2645 Fix MinGW compilation.
2646 * gdb.compile/compile-ops.exp: Update untested message if
2647 !skip_compile_feature_tests.
2648 * gdb.compile/compile-setjmp.exp: Likewise.
2649 * gdb.compile/compile-tls.exp: Likewise.
2650 * gdb.compile/compile.exp: Likewise.
2651 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2652 supported on this host".
2653
b6615d10
DE
26542014-12-16 Doug Evans <xdje42@gmail.com>
2655
2656 * boards/stabs.exp: New file.
2657
25dda427
AA
26582014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2659
2660 * gdb.base/completion.exp: Adjust to format changes of "maint
2661 print user-registers".
2662
bf330350
CU
26632014-12-16 Catalin Udma <catalin.udma@freescale.com>
2664
2665 PR server/17457
2666 * gdb.arch/aarch64-fp.c: New file.
2667 * gdb.arch/aarch64-fp.exp: New file.
2668
395cf596
SDJ
26692014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2670
2671 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2672 r210637, r210913, r211666, r215400, r215817).
2673
2674 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2675 * dg-extract-results.py: New file.
2676 * dg-extract-results.sh: Use it if the environment seems
2677 suitable.
2678
2679 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2680
2681 * dg-extract-results.py (parse_run): Handle warnings that
2682 are printed before a test harness is run.
2683
2684 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2685
2686 * dg-extract-results.py (Named): Remove __cmp__ method.
2687 (output_variation): Use a key to sort variation.harnesses.
2688
2689 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2690
2691 * dg-extract-results.py: For Python 3, force sys.stdout to
2692 handle surrogate escape sequences.
2693 (safe_open): New function.
2694 (output_segment, main): Use it.
2695
2696 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2697
2698 * dg-extract-results.py (Prog.result_re): Include options
2699 in test name.
2700
2701 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2702
2703 * dg-extract-results.py (output_variation): Always sort if
2704 do_sum.
2705
e882ef3c
SM
27062014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2707
2708 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2709 as long as we get pagination notifications.
2710
4992aa20
JM
27112014-12-15 Jason Merrill <jason@redhat.com>
2712
2713 * Makefile.in (check-gdb.%): Restore.
2714 * README: Mention it.
2715
c1b5a1a6
JB
27162014-12-13 Joel Brobecker <brobecker@adacore.com>
2717
2718 * gdb.ada/str_uninit: New testcase.
2719
5537b577
JK
27202014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2721
2722 PR symtab/17642
2723 * gdb.base/vla-stub-define.c: New file.
2724 * gdb.base/vla-stub.c: New file.
2725 * gdb.base/vla-stub.exp: New file.
2726
bb2ec1b3
TT
27272014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2728 Jan Kratochvil <jan.kratochvil@redhat.com>
2729 Tom Tromey <tromey@redhat.com>
2730
2731 * configure.ac: Add gdb.compile/.
2732 * configure: Regenerate.
2733 * gdb.compile/Makefile.in: New file.
2734 * gdb.compile/compile-ops.exp: New file.
2735 * gdb.compile/compile-ops.c: New file.
2736 * gdb.compile/compile-tls.c: New file.
2737 * gdb.compile/compile-tls.exp: New file.
2738 * gdb.compile/compile-constvar.S: New file.
2739 * gdb.compile/compile-constvar.c: New file.
2740 * gdb.compile/compile-mod.c: New file.
2741 * gdb.compile/compile-nodebug.c: New file.
2742 * gdb.compile/compile-setjmp-mod.c: New file.
2743 * gdb.compile/compile-setjmp.c: New file.
2744 * gdb.compile/compile-setjmp.exp: New file.
2745 * gdb.compile/compile-shlib.c: New file.
2746 * gdb.compile/compile.c: New file.
2747 * gdb.compile/compile.exp: New file.
2748 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2749
4ff709eb
TT
27502014-12-12 Tom Tromey <tromey@redhat.com>
2751
2752 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2753 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2754
6dddd6a5
DE
27552014-12-12 Doug Evans <dje@google.com>
2756
2757 * lib/gdb-python.exp (get_python_valueof): New function.
2758 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2759
71c24708
AA
27602014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2761
2762 * gdb.base/completion.exp: Add test for completion of "info
2763 registers ".
2764
3e29f34a
MR
27652014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2766
2767 * gdb.base/func-ptrs.c: New file.
2768 * gdb.base/func-ptrs.exp: New file.
2769
fc126975
SM
27702014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2771
2772 PR breakpoints/17012
2773 * gdb.base/dprintf-detach.c: New file.
2774 * gdb.base/dprintf-detach.exp: New file.
2775
0a46d518
SM
27762014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2777
2778 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2779 * lib/gdb.exp (target_is_gdbserver): New procedure.
2780
a0be3e44
DE
27812014-12-08 Doug Evans <dje@google.com>
2782
2783 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2784
df1b803a
YQ
27852014-12-05 Yao Qi <yao@codesourcery.com>
2786
2787 * gdb.guile/scm-error.exp: Remove the third argument to
2788 gdb_remote_download.
2789 * gdb.guile/scm-frame-args.exp: Likewise.
2790 * gdb.guile/scm-section-script.exp: Likewise.
2791
ddb9f679
YQ
27922014-12-05 Yao Qi <yao@codesourcery.com>
2793
2794 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2795
86e4ed39
DE
27962014-12-04 Doug Evans <dje@google.com>
2797
2798 * gdb.python/py-objfile.exp: Add tests for
2799 objfile.add_separate_debug_file.
2800
7c50a931
DE
28012014-12-04 Doug Evans <dje@google.com>
2802
2803 * lib/gdb.exp (get_build_id): New function.
2804 (build_id_debug_filename_get): Rewrite to use it.
2805 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2806
621661e3
MR
28072014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2808
2809 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2810 `method(long)', not just 0x0.
2811 * gdb.cp/nsalias.exp: Align code labels to 4.
2812 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2813 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2814 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2815 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2816 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2817 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2818
29f0c3b7
DE
28192014-12-02 Doug Evans <dje@google.com>
2820
e1e061e7 2821 PR symtab/17602
29f0c3b7 2822 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2823 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2824 * gdb.cp/anon-ns.exp: Update.
2825
162078c8
NB
28262014-12-02 Nick Bull <nicholaspbull@gmail.com>
2827
2828 * gdb.python/py-events.py (inferior_call_handler): New.
2829 (register_changed_handler, memory_changed_handler): New.
2830 (test_events.invoke): Register new handlers.
2831 * gdb.python/py-events.exp: Add tests for inferior call,
2832 memory_changed and register_changed events.
2833
fdb09caf
AA
28342014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2835
2836 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2837 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2838 if the linker doesn't understand this.
2839
55cfb2c4
SM
28402014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2841
2842 * gdb.python/python.exp: Change expected reply to help().
2843
9e8cd6df
YQ
28442014-12-01 Yao Qi <yao@codesourcery.com>
2845
2846 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2847 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2848 * configure: Re-generated.
2849
6c659fc2
SC
28502014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2851
2852 * gdb.cp/chained-calls.cc: New file.
2853 * gdb.cp/chained-calls.exp: New file.
2854 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2855
d7fc3181
SM
28562014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2857
2858 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2859 * gdb.dwarf2/symtab-producer.exp: Same.
2860 * gdb.gdb/python-interrupts.exp: Same.
2861 * gdb.gdb/python-selftest.exp: Same.
2862 * gdb.python/py-linetable.exp: Same.
2863 * gdb.python/py-type.exp: Same.
2864 * gdb.python/py-value-cc.exp: Same.
2865 * gdb.python/py-value.exp: Same.
2866
10e79639
YQ
28672014-11-28 Yao Qi <yao@codesourcery.com>
2868
2869 * gdb.base/break-probes.exp: Match library name prefixed with
2870 sysroot.
2871
f28a0564
SM
28722014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2873
2874 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2875 test expected output. Add parentheses for the call to print.
2876 Remove L suffix from integers.
2877
3fe1ce1d
DE
28782014-11-26 Doug Evans <dje@google.com>
2879
2880 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2881
84429e27
YQ
28822014-11-22 Yao Qi <yao@codesourcery.com>
2883
2884 * gdb.trace/entry-values.c: Remove asms.
2885 (foo): Add foo_label.
2886 (bar): Add bar_label.
2887 * gdb.trace/entry-values.exp: Remove code computing foo's
2888 length and bar's length.
2889 (Dwarf::assemble): Invoke function_range for bar and use
2890 MACRO_AT_func for foo.
2891
26741859
YQ
28922014-11-22 Yao Qi <yao@codesourcery.com>
2893
2894 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2895 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2896 Use .Lgcc43_procstart instead of gcc43.
2897
45e44d27
JB
28982014-11-21 Joel Brobecker <brobecker@adacore.com>
2899
2900 * gdb.ada/n_arr_bound: New testcase.
2901
458c8db8
SDJ
29022014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2903
2904 PR breakpoints/10737
2905 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2906 test_catch_syscall_multi_arch.
2907 (test_catch_syscall_multi_arch): New function.
2908
43f3e411
DE
29092014-11-20 Doug Evans <xdje42@gmail.com>
2910
2911 * gdb.base/maint.exp: Update expected output.
2912
0d7b2549
AA
29132014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2914
2915 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2916 4-byte instruction on S390.
2917
8908fca5
JB
29182014-11-19 Joel Brobecker <brobecker@adacore.com>
2919
2920 * gdb.ada/arr_arr: New testcase.
2921
4a46959e
JB
29222014-11-19 Joel Brobecker <brobecker@adacore.com>
2923
2924 * gdb.ada/pkd_arr_elem: New Testcase.
2925
470e2f4e
LM
29262014-11-18 Luis Machado <lgustavo@codesourcery.com>
2927
2928 * gdb.reverse/break-precsave: Expect completion message for
2929 core file reads.
2930 * gdb.reverse/consecutive-precsave.exp: Likewise.
2931 * gdb.reverse/finish-precsave.exp: Likewise.
2932 * gdb.reverse/i386-precsave.exp: Likewise.
2933 * gdb.reverse/machinestate-precsave.exp: Likewise.
2934 * gdb.reverse/sigall-precsave.exp: Likewise.
2935 * gdb.reverse/solib-precsave.exp: Likewise.
2936 * gdb.reverse/step-precsave.exp: Likewise.
2937 * gdb.reverse/until-precsave.exp: Likewise.
2938 * gdb.reverse/watch-precsave.exp: Likewise.
2939
a267f3ad
AA
29402014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2941
2942 * gdb.base/bp-permanent.c: Include unistd.h.
2943 * gdb.python/py-framefilter-mi.c (main): Add return type.
2944 * gdb.python/py-framefilter.c (main): Likewise.
2945 * gdb.trace/actions-changed.c (main): Likewise.
2946
12084a9a
AA
29472014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2948
2949 * gdb.mi/until.c: Add eye-catchers.
2950 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2951 line numbers.
2952
dc7e1a77
AA
29532014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2954
2955 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2956 function header variants in break1.c.
2957 * gdb.base/ena-dis-br.exp: Likewise.
2958 * gdb.base/hbreak2.exp: Likewise.
2959 * gdb.reverse/until-precsave.exp: Drop references to removed
2960 non-prototype function header variants in ur1.c.
2961 * gdb.reverse/until-reverse.exp: Likewise.
2962
41c77605
PM
29632014-11-17 Petr Machata <pmachata@redhat.com>
2964
2965 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2966 ${_cu_offset_size} bytes abbrev offset.
2967
34248c3a
DE
29682014-11-15 Doug Evans <xdje42@gmail.com>
2969
2970 PR symtab/17559
2971 * gdb.base/line-symtabs.exp: New file.
2972 * gdb.base/line-symtabs.c: New file.
2973 * gdb.base/line-symtabs.h: New file.
2974
646da059
YQ
29752014-11-14 Yao Qi <yao@codesourcery.com>
2976
2977 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2978 (func): Add label func_label.
2979 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2980 Replace low_pc and high_pc with MACRO_AT_range.
2981 Replace name, low_pc and high_pc with MACRO_AT_func.
2982
9301ebe6
YQ
29832014-11-14 Yao Qi <yao@codesourcery.com>
2984
2985 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2986 Replace name, low_pc and high_pc with MACRO_AT_func.
2987
f166b542
YQ
29882014-11-14 Yao Qi <yao@codesourcery.com>
2989
2990 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2991 produce debug information.
2992 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2993
0f6e71e3
YQ
29942014-11-14 Yao Qi <yao@codesourcery.com>
2995
2996 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2997 object and get function length.
2998 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2999 with MACRO_AT_func.
3000 (top-level): Replace gdb_compile and clean_restart with
3001 prepare_for_testing.
3002 * gdb.dwarf2/main.c (main): Add label main_label.
3003
876c4df9
YQ
30042014-11-14 Yao Qi <yao@codesourcery.com>
3005
3006 * lib/dwarf.exp (function_range): New procedure.
3007 (Dwarf::_handle_macro_at_func): New procedure.
3008 (Dwarf::_handle_macro_at_range): New procedure.
3009 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3010
02ad9cf1
YQ
30112014-11-14 Yao Qi <yao@codesourcery.com>
3012
3013 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3014 (_handle_attribute): New procedure.
3015
a59add0c
AA
30162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3017
3018 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3019 * gdb.base/call-sc.c (zed): Likewise.
3020 * gdb.base/checkpoint.c (main): Likewise.
3021 * gdb.base/dump.c (main): Likewise.
3022 * gdb.base/gcore.c (main): Likewise.
3023 * gdb.base/huge.c (main): Likewise.
3024 * gdb.base/multi-forks.c (main): Likewise.
3025 * gdb.base/pr10179-a.c (main): Likewise.
3026 * gdb.base/savedregs.c (main): Likewise.
3027 * gdb.base/sigaltstack.c (main): Likewise.
3028 * gdb.base/siginfo.c (main): Likewise.
3029 * gdb.base/structs.c (zed): Likewise.
3030 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3031 * gdb.mi/mi-syn-frame.c (main): Likewise.
3032 * gdb.mi/until.c (foo, main): Likewise.
3033 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3034 * gdb.base/solib-weak.c (foo): Declare.
3035 * gdb.base/attach-twice.c: Include stdio.h.
3036 * gdb.base/weaklib1.c: Likewise.
3037 * gdb.base/weaklib2.c: Likewise.
3038 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3039 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3040 unistd.h.
3041 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3042 * gdb.mi/mi-exit-code.c: Likewise.
3043 * gdb.base/break-interp-lib.c: Include string.h.
3044 * gdb.base/coremaker.c: Likewise.
3045 * gdb.base/testenv.c: Likewise.
3046 * gdb.python/py-finish-breakpoint.c: Likewise.
3047 * gdb.base/inferior-died.c: Include sys/wait.h.
3048 * gdb.base/fileio.c: Include time.h.
3049 * gdb.base/async-shell.c: Include unistd.h.
3050 * gdb.base/dprintf-non-stop.c: Likewise.
3051 * gdb.base/info-os.c: Likewise.
3052 * gdb.mi/mi-console.c: Likewise.
3053 * gdb.mi/watch-nonstop.c: Likewise.
3054 * gdb.python/py-events.c: Likewise.
3055 * gdb.base/async.c (baz): Move up before its invocation.
3056 * gdb.base/code_elim2.c (my_global_func): Likewise.
3057 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3058 * gdb.base/advance.c (func2): Likewise.
3059
3b5d5997
AA
30602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3061
3062 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3063 variant.
3064 * gdb.base/annota3.c: Likewise.
3065 * gdb.base/async.c: Likewise.
3066 * gdb.base/average.c: Likewise.
3067 * gdb.base/call-ar-st.c: Likewise.
3068 * gdb.base/call-rt-st.c: Likewise.
3069 * gdb.base/call-sc.c: Likewise.
3070 * gdb.base/call-strs.c: Likewise.
3071 * gdb.base/ending-run.c: Likewise.
3072 * gdb.base/execd-prog.c: Likewise.
3073 * gdb.base/exprs.c: Likewise.
3074 * gdb.base/foll-exec.c: Likewise.
3075 * gdb.base/foll-fork.c: Likewise.
3076 * gdb.base/foll-vfork.c: Likewise.
3077 * gdb.base/funcargs.c: Likewise.
3078 * gdb.base/gcore.c: Likewise.
3079 * gdb.base/jump.c: Likewise.
3080 * gdb.base/langs0.c: Likewise.
3081 * gdb.base/langs1.c: Likewise.
3082 * gdb.base/langs2.c: Likewise.
3083 * gdb.base/mips_pro.c: Likewise.
3084 * gdb.base/nodebug.c: Likewise.
3085 * gdb.base/opaque0.c: Likewise.
3086 * gdb.base/opaque1.c: Likewise.
3087 * gdb.base/recurse.c: Likewise.
3088 * gdb.base/run.c: Likewise.
3089 * gdb.base/scope0.c: Likewise.
3090 * gdb.base/scope1.c: Likewise.
3091 * gdb.base/setshow.c: Likewise.
3092 * gdb.base/setvar.c: Likewise.
3093 * gdb.base/shmain.c: Likewise.
3094 * gdb.base/shr1.c: Likewise.
3095 * gdb.base/shr2.c: Likewise.
3096 * gdb.base/sigall.c: Likewise.
3097 * gdb.base/signals.c: Likewise.
3098 * gdb.base/so-indr-cl.c: Likewise.
3099 * gdb.base/solib2.c: Likewise.
3100 * gdb.base/structs.c: Likewise.
3101 * gdb.base/sum.c: Likewise.
3102 * gdb.base/vforked-prog.c: Likewise.
3103 * gdb.base/watchpoint.c: Likewise.
3104 * gdb.reverse/shr2.c: Likewise.
3105 * gdb.reverse/until-reverse.c: Likewise.
3106 * gdb.reverse/ur1.c: Likewise.
3107 * gdb.reverse/watch-reverse.c: Likewise.
3108
066a77c5
AA
31092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3110
3111 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3112 variant.
3113 * gdb.base/sepdebug.exp: Drop references to removed code.
3114
4f204ea5
AA
31152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3116
3117 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3118 variant. Preserve original line numbering.
3119 * gdb.base/list1.c: Likewise.
3120
3b377a3a
AA
31212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3122
3123 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3124 variant.
3125 * gdb.base/break1.c: Likewise.
3126 * gdb.base/break.exp: Drop references to removed code.
3127
e444df73
AA
31282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3129
3130 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3131 variant.
3132
8008f2a7
AA
31332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3134
3135 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3136
a5a06887
AA
31372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3138
3139 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3140 logic into perform_all_tests() and invoke it with and without
3141 function header prototypes.
3142 (do_function_calls): Remove conditional XFAIL for PR 5318.
3143 (rerun_and_prepare): Remove duplicate code.
3144 (perform_all_tests): New. Main logic moved here.
3145
44dba9b9
AA
31462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3147
3148 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3149 code guarded by #ifdef NO_PROTOTYPES.
3150 (t_double_many_args): Likewise.
3151 (DEF_FUNC_MANY_ARGS_1): Likewise.
3152 (DEF_FUNC_VALUES_1): Likewise.
3153 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3154 guarded by #ifdef PROTOTYPES.
3155
d1fbcd56
AA
31562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3157
3158 * gdb.mi/mi-console.c: Add eye-catcher.
3159 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3160 instead of literal line number.
3161
b0e59b8f
AA
31622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3163
3164 * gdb.base/shr2.c: Add eye-catcher.
3165 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3166 line number.
3167
78f98cca
AA
31682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3169
3170 * gdb.base/jump.c: Add eye-catchers.
3171 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3172 numbers.
3173
58fa2af0
AA
31742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3175
3176 * gdb.base/execd-prog.c: Add eye-catchers.
3177 * gdb.base/foll-exec.c: Likewise.
3178 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3179 line numbers.
3180
04e5059b
AA
31812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3182
3183 * gdb.base/ending-run.c: Add eye-catchers.
3184 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3185 literal line numbers.
3186
dbfdb174
AA
31872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3188
3189 * gdb.base/call-rt-st.c: Add eye-catchers.
3190 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3191 literal line numbers.
3192
888a2ade
AA
31932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3194
3195 * gdb.base/call-ar-st.c: Add eye-catchers.
3196 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3197 literal line numbers.
3198
6acc2dde
AA
31992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3200
3201 * gdb.base/average.c: Add eye-catchers.
3202 * gdb.base/sum.c: Likewise.
3203 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3204 regexps dynamically.
3205
9ecfcd1d
AA
32062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3207
3208 * gdb.base/solib1.c: Add eye-catchers.
3209 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3210 literal line numbers.
3211
78708b7c
PA
32122014-11-12 Pedro Alves <palves@redhat.com>
3213
3214 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3215 leader has exited.
3216
af48d08f
PA
32172014-11-12 Pedro Alves <palves@redhat.com>
3218
3219 * gdb.arch/i386-bp_permanent.c: New file.
3220 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3221 (srcfile): Set to i386-bp_permanent.c.
3222 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3223 that stepi does not execute the 'leave' instruction, instead of
3224 testing it does execute.
3225 * gdb.base/bp-permanent.c: New file.
3226 * gdb.base/bp-permanent.exp: New file.
3227
af3768e9
DE
32282014-11-10 Doug Evans <xdje42@gmail.com>
3229
3230 PR symtab/17564
3231 * gdb.base/symtab-search-order.exp: New file.
3232 * gdb.base/symtab-search-order.c: New file.
3233 * gdb.base/symtab-search-order-1.c: New file.
3234 * gdb.base/symtab-search-order-shlib-1.c: New file.
3235
9de00a4a
PA
32362014-11-07 Pedro Alves <palves@redhat.com>
3237
3238 PR gdb/17511
3239 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3240 i?86-*-linux*.
3241
e0f52461
SC
32422014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3243
3244 PR c++/17494
3245 * gdb.cp/pr17494.cc: New file.
3246 * gdb.cp/pr17494.exp: New file.
3247
6ce8c980
YQ
32482014-11-02 Yao Qi <yao@codesourcery.com>
3249
3250 * gdb.python/python.exp: Get working directory and match the
3251 output of "set extended-prompt \\w " with it.
3252
02be9a71
DE
32532014-10-30 Doug Evans <dje@google.com>
3254
3255 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3256 in objfiles.
3257 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3258 in progspaces.
3259
3bdff46b
LM
32602014-10-30 Janis Johnson <janisjo@codesourcery.com>
3261
3262 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3263 * gdb.base/realname-expand.exp: Likewise.
3264 * gdb.linespec/macro-relative.exp: Likewise.
3265
ab917dfb
PA
32662014-10-29 Pedro Alves <palves@redhat.com>
3267
3268 PR gdb/17408
3269 * gdb.threads/schedlock.c (some_function): New function.
3270 (call_function): New global.
3271 (MAYBE_CALL_SOME_FUNCTION): New macro.
3272 (thread_function): Call it.
3273 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3274 and use it instead of a global counter. Adjust all callers.
3275 (get_current_thread): Use "find current thread" for test message
3276 here rather than having all callers pass down the same string.
3277 (goto_loop): New procedure, factored out from ...
3278 (my_continue): ... this.
3279 (step_ten_loops): Change parameter from test message to command to
3280 use. Adjust.
3281 (list_count): Delete global.
3282 (check_result): New procedure, factored out from duplicate top
3283 level code.
3284 (continue tests): Wrap in with_test_prefix.
3285 (test_step): New procedure, factored out from duplicate top level
3286 code.
3287 (top level): Test "step" in combination with all scheduler-locking
3288 modes. Test "next" in combination with all scheduler-locking
3289 modes, and in combination with stepping over a function call or
3290 not.
3291 * gdb.threads/next-bp-other-thread.c: New file.
3292 * gdb.threads/next-bp-other-thread.exp: New file.
3293
d3d4baed
PA
32942014-10-29 Pedro Alves <palves@redhat.com>
3295
3296 PR python/17372
3297 * gdb.python/python.exp: Test a multi-line command that spawns
3298 interactive Python.
3299 * gdb.base/multi-line-starts-subshell.exp: New file.
3300
563e8d85
YQ
33012014-10-29 Yao Qi <yao@codesourcery.com>
3302
3303 * gdb.base/fileio.exp: Make directories on host.
3304
0ea4d52e
YQ
33052014-10-29 Yao Qi <yao@codesourcery.com>
3306
3307 * gdb.base/fileio.c (test_write): Close the file.
3308
7f5ef605
PA
33092014-10-28 Pedro Alves <palves@redhat.com>
3310
3311 PR gdb/12623
3312 * gdb.base/sigstep.c (no_handler): New global.
3313 (main): If 'no_handler is true, set the signal handlers to
3314 SIG_IGN.
3315 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3316 with_sw_watch and no_handler parameters. Handle them.
3317 (top level) <stepping over handler when stopped at a breakpoint
3318 test>: Add a test axis for testing with a software watchpoint, and
3319 another for testing with the signal handler set to SIG_IGN.
3320 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3321 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3322
abbdbd03
PA
33232014-10-28 Pedro Alves <palves@redhat.com>
3324
3325 PR gdb/17511
3326 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3327 * gdb.base/sigstep.exp (other_handler_location): New global.
3328 (advance): Support stepping into the signal handler, and running
3329 commands while in the handler.
3330 (in_handler_map): New global.
3331 (top level): In the advance test, add combinations for getting
3332 into the handler with stepping commands, and for running commands
3333 in the handler. Add comment descripting the advancei tests.
3334
1df4399f
PA
33352014-10-28 Pedro Alves <palves@redhat.com>
3336
3337 * gdb.base/sigstep.exp: Use build_executable instead of
3338 prepare_for_testing.
3339 (top level): Move code that starts GDB, runs to main and creates a
3340 display to ...
3341 (restart): ... this new procedure.
3342 (top level): Move backtrace from signal handler test to ...
3343 (validate_backtrace): ... this new procedure.
3344 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3345 with_test_prefix. Always restart GDB.
3346 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3347 with_test_prefix. Always restart GDB. No need to delete
3348 breakpoints after the test.
3349 (test_skip_handler): Remove prefix parameter.
3350 (skip_over_handler, breakpoint_to_handler)
3351 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3352 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3353 restart GDB. No need to delete breakpoints after the test.
3354 (top level): Use foreach to call the test procedures with
3355 different commands.
3356
a5b6e449
PA
33572014-10-28 Pedro Alves <palves@redhat.com>
3358
3359 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3360 instead of GNATS numbers.
3361 * gdb.base/sigbpt.exp: Likewise.
3362 * gdb.base/siginfo.exp: Likewise.
3363 * gdb.base/sigstep.exp: Likewise.
3364
e5f8a7cc
PA
33652014-10-27 Pedro Alves <palves@redhat.com>
3366
3367 * gdb.base/sigstep.c (dummy): New global.
3368 (main): Issue a couple writes to the new global.
3369 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3370 procedures.
3371 (skip_over_handler): Use test_skip_handler.
3372 (top level): Call skip_over_handler for stepi and nexti too.
3373 (breakpoint_over_handler): Use test_skip_handler.
3374 (top level): Call breakpoint_over_handler for stepi and nexti too.
3375
763905a3
YQ
33762014-10-27 Yao Qi <yao@codesourcery.com>
3377
3378 * gdb.trace/tfile.c (adjust_function_address)
3379 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3380 function descriptor.
3381
6f259a23
DB
33822014-10-24 Don Breazeal <donb@codesourcery.com>
3383
3384 * gdb.base/foll-fork.exp (test_follow_fork,
3385 catch_fork_child_follow): Check for updated fork messages emitted
3386 from infrun.c.
3387 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3388 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3389 vfork_and_exec_child_follow_through_step): Check for updated vfork
3390 messages emitted from infrun.c.
3391
09dd9a69
PA
33922014-10-24 Pedro Alves <palves@redhat.com>
3393
3394 * gdb.base/corefile.exp: Remove references to ultrix.
3395 * gdb.base/interrupt.exp: Likewise.
3396 * gdb.base/whatis.exp: Likewise.
3397 * gdb.gdb/selftest.exp: Likewise.
3398 * gdb.threads/manythreads.exp: Likewise.
3399 * gdb.threads/print-threads.exp: Likewise.
3400 * gdb.threads/pthreads.exp:: Likewise.
3401 * gdb.threads/schedlock.exp: Likewise.
3402
3433cfa5
SC
34032014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3404
3405 * gdb.cp/non-trivial-retval.cc: Add a test case.
3406 * gdb.cp/non-trivial-retval.exp: Add a test.
3407
092f880b
YQ
34082014-10-20 Yao Qi <yao@codesourcery.com>
3409
3410 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3411 * gdb.python/py-objfile-script-gdb.py: New file.
3412 * gdb.python/py-objfile-script.exp: Update reference to
3413 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3414 of remote_download. Remove the dest file.
3415
acbdb7f3
YQ
34162014-10-20 Yao Qi <yao@codesourcery.com>
3417
3418 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3419 * gdb.base/step-line.exp: Likewise.
3420 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3421 * gdb.dwarf2/dw2-basic.exp: Likewise.
3422 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3423 * gdb.dwarf2/dw2-filename.exp: Likewise.
3424 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3425 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3426 * gdb.dwarf2/dw2-producer.exp: Likewise.
3427 * gdb.dwarf2/mac-fileno.exp: Likewise.
3428 * gdb.python/py-frame-args.exp: Likewise.
3429 * gdb.python/py-framefilter.exp: Likewise.
3430 * gdb.python/py-mi.exp: Likewise.
3431 * gdb.python/py-objfile-script.exp: Likewise
3432 * gdb.python/py-pp-integral.exp: Likewise.
3433 * gdb.python/py-pp-re-notag.exp: Likewise.
3434 * gdb.python/py-prettyprint.exp: Likewise.
3435 * gdb.python/py-section-script.exp: Likewise.
3436 * gdb.python/py-typeprint.exp: Likewise.
3437 * gdb.python/py-xmethods.exp: Likewise.
3438 * gdb.stabs/weird.exp: Likewise.
3439 * gdb.xml/tdesc-regs.exp: Likewise.
3440
bd286a29
KCY
34412014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3442
3443 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3444 (out_cu): Use addr_len for the size of addresses.
3445 (out_line): Likewise. Size DW_LNE_set_address instruction
3446 according to addr_len.
3447 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3448 (FUNC): Add START_INSNS to definition.
3449
673dc4a0
YQ
34502014-10-18 Yao Qi <yao@codesourcery.com>
3451
3452 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3453 gdb_has_argv0 return true.
3454 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3455 check [target_info exists noargs], check [gdb_has_argv0]
3456 instead.
3457 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3458 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3459 procedures.
3460
4ffbba72
DE
34612014-10-17 Doug Evans <dje@google.com>
3462
3463 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3464 event.
3465 * gdb.python/py-events.py: Add clear_objfiles event.
3466
d096d8c1
DE
34672014-10-17 Doug Evans <dje@google.com>
3468
3469 * gdb.python/py-objfile.exp: Test progspace attribute.
3470
a80db015
LM
34712014-10-17 Luis Machado <lgustavo@codesourcery.com>
3472
3473 * gdb.guile/scm-breakpoint.exp: Do not assume any
3474 directory separators when matching source file paths.
3475 * gdb.python/py-breakpoint.exp: Likewise.
3476 * gdb.reverse/break-precsave.exp: Likewise.
3477 * gdb.reverse/break-reverse.exp: Likewise.
3478 * gdb.reverse/consecutive-precsave.exp: Likewise.
3479 * gdb.reverse/finish-precsave.exp: Likewise.
3480 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3481 * gdb.reverse/finish-reverse.exp: Likewise.
3482 * gdb.reverse/i386-precsave.exp: Likewise.
3483 * gdb.reverse/i387-env-reverse.exp: Likewise.
3484 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3485 * gdb.reverse/machinestate-precsave.exp: Likewise.
3486 * gdb.reverse/machinestate.exp: Likewise.
3487 * gdb.reverse/sigall-precsave.exp: Likewise.
3488 * gdb.reverse/solib-precsave.exp: Likewise.
3489 * gdb.reverse/step-precsave.exp: Likewise.
3490 * gdb.reverse/until-precsave.exp: Likewise.
3491 * gdb.reverse/watch-precsave.exp: Likewise.
3492 * gdb.reverse/watch-reverse.exp: Likewise.
3493
b22089ab
YQ
34942014-10-17 Yao Qi <yao@codesourcery.com>
3495
3496 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3497 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3498
6c4486e6
PA
34992014-10-17 Pedro Alves <palves@redhat.com>
3500
3501 PR gdb/17471
3502 * gdb.base/bg-execution-repeat.c: New file.
3503 * gdb.base/bg-execution-repeat.exp: New file.
3504
0ff33695
PA
35052014-10-17 Pedro Alves <palves@redhat.com>
3506
3507 PR gdb/17300
3508 * gdb.base/continue-all-already-running.c: New file.
3509 * gdb.base/continue-all-already-running.exp: New file.
3510
6fdebc3d
PA
35112014-10-17 Pedro Alves <palves@redhat.com>
3512
3513 PR gdb/17472
3514 * gdb.base/annota-input-while-running.c: New file.
3515 * gdb.base/annota-input-while-running.exp: New file.
3516
32a8097b
PA
35172014-10-17 Pedro Alves <palves@redhat.com>
3518
3519 * gdb.base/callfuncs.exp: emove references to osf.
3520 * gdb.base/sigall.exp: Likewise.
3521 * gdb.gdb/selftest.exp: Likewise.
3522 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3523 * gdb.mi/non-stop.c: Likewise.
3524 * gdb.mi/pthreads.c: Likewise.
3525 * gdb.reverse/sigall-precsave.exp: Likewise.
3526 * gdb.reverse/sigall-reverse.exp: Likewise.
3527 * gdb.threads/pthreads.c: Likewise.
3528 * gdb.threads/pthreads.exp: Likewise.
3529
7a3517ff
YQ
35302014-10-17 Yao Qi <yao@codesourcery.com>
3531
3532 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3533 check 'target_info exists noargs'.
3534 (test_command_prompt_position): Likewise.
3535 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3536 Remove "set args".
3537 (progvar_simple_while_test): Likewise.
3538 (progvar_complex_if_while_test): Likewise.
3539 (if_while_breakpoint_command_test): Likewise.
3540 (infrun_breakpoint_command_test): Likewise.
3541 (breakpoint_command_test): Likewise.
3542 (watchpoint_command_test): Likewise.
3543 (bp_deleted_in_command_test): Likewise.
3544 (temporary_breakpoint_commands): Likewise.
3545
bb99c472
YQ
35462014-10-16 Yao Qi <yao@codesourcery.com>
3547
3548 * gdb.base/remotetimeout.exp: Remove noargs checking.
3549
7c16b83e
PA
35502014-10-15 Pedro Alves <palves@redhat.com>
3551
3552 PR breakpoints/9649
3553 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3554 * gdb.base/breakpoint-in-ro-region.exp
3555 (probe_target_hardware_step): New procedure.
3556 (top level): Probe hardware stepping and hardware breakpoint
3557 support. Test stepping through a read-only region, with both
3558 "breakpoint auto-hw" on and off and both "always-inserted" on and
3559 off.
3560
35a49624
IB
35612014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3562
3563 * gdb.dlang/demangle.exp: Update for demangling changes.
3564
2d1c107c
SC
35652014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3566
3567 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3568 * gdb.cp/non-trivial-retval.exp: Add new tests.
3569
778811d5
SC
35702014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3571
3572 PR c++/13403
3573 PR c++/15154
3574 * gdb.cp/non-trivial-retval.cc: New file.
3575 * gdb.cp/non-trivial-retval.exp: New file.
3576
10c5f0a8
YQ
35772014-10-15 Yao Qi <yao@codesourcery.com>
3578
3579 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3580 remote host.
3581
65d7b369
YQ
35822014-10-15 Yao Qi <yao@codesourcery.com>
3583
3584 * gdb.python/py-symbol.exp: Match file base name if host is
3585 remote, otherwise match file name with dir name.
3586 * gdb.python/py-symtab.exp: Likewise.
3587 * gdb.python/python.exp: Likewise.
3588
46dc1394
YQ
35892014-10-15 Yao Qi <yao@codesourcery.com>
3590
3591 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3592 pattern.
3593 * gdb.python/py-symtab.exp: Likewise.
3594 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3595 locationn.
3596
c40cc657
JB
35972014-10-14 Joel Brobecker <brobecker@adacore.com>
3598
3599 * gdb.ada/addr_arith: New testcase.
3600
2abf49e1
MR
36012014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3602
3603 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3604 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3605 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3606 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3607
f7088df3
SDJ
36082014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3609
3610 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3611 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3612 * gdb.arch/stap-eval-lang-ada.exp: New file.
3613
4dc06805
YQ
36142014-10-14 Yao Qi <yao@codesourcery.com>
3615
3616 * gdb.mi/mi-var-child.c (nothing1): New function.
3617 (nothing2): New function.
3618 (do_children_tests): Set function pointers by nothing1 and
3619 nothing2.
3620 * gdb.mi/mi-var-child.exp: Step over new added statements.
3621 Update test to match the new output.
3622 * gdb.mi/var-cmd.c (nothing1): New function.
3623 (nothing2): New function.
3624 (do_children_tests): Set function pointers by nothing1 and
3625 nothing2.
3626 * gdb.mi/mi-var-display.exp: Update test to match output.
3627 Step to the line specified by $line_dct_nothing.
3628 Increase the number of lines to step.
3629
46a93de2
YQ
36302014-10-14 Yao Qi <yao@codesourcery.com>
3631
3632 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3633 tests.
3634 * gdb.mi/mi2-var-child.exp: Likewise.
3635
14ea52ee
DE
36362014-10-13 Doug Evans <dje@google.com>
3637
3638 * gdb.python/py-objfile.exp: Change name of file name test.
3639
e5c6e92b
DE
36402014-10-13 Doug Evans <dje@google.com>
3641
3642 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3643 from the start of the CU.
3644
c780cc2f
JK
36452014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3646 Yao Qi <yao@codesourcery.com>
3647
3648 Fix "save breakpoints" for "catch" command.
3649 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3650 Remove -nonewline. Match also the added "main" line.
3651
99894e11
JK
36522014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3653
3654 Fix "save breakpoints" for "disable $bpnum" command.
3655 * gdb.base/save-bp.c (main): Add label.
3656 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3657
6e1ac5a3
JK
36582014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3659
3660 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3661
754dd2b0
YQ
36622014-10-11 Yao Qi <yao@codesourcery.com>
3663
3664 * gdb.server/server-kill.exp: Execute command
3665 "set remote trace-status-packet on" before "tstatus".
3666
f90183d7
YQ
36672014-10-11 Yao Qi <yao@codesourcery.com>
3668
3669 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3670 (main): Call getppid.
3671 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3672 and continue to it. Read variable "server_pid".
3673
bf40a607
YQ
36742014-10-11 Yao Qi <yao@codesourcery.com>
3675
3676 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3677
052ca370
YQ
36782014-10-11 Yao Qi <yao@codesourcery.com>
3679
3680 * gdb.threads/thread-find.exp: Don't execute command
3681 "info threads".
3682 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3683 * gdb.threads/linux-dp.exp: Don't check the condition
3684 $threads_created equals to zero.
3685
3831839c
PA
36862014-10-10 Pedro Alves <palves@redhat.com>
3687
3688 * gdb.base/bigcore.exp: Remove references to IRIX.
3689 * gdb.base/funcargs.exp: Likewise.
3690 * gdb.base/interrupt.exp: Likewise.
3691 * gdb.base/mips_pro.exp: Likewise.
3692 * gdb.base/nodebug.exp: Likewise.
3693 * gdb.base/setvar.exp: Likewise.
3694 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3695
8b9a549d
PA
36962014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3697 Pedro Alves <palves@redhat.com>
3698
3699 PR symtab/14466
3700 * gdb.base/vdso-warning.c: New file.
3701 * gdb.base/vdso-warning.exp: New file.
3702
d48ba5e8
DE
37032014-10-02 Doug Evans <dje@google.com>
3704
3705 * gdb.base/structs.c (main): Don't run forever.
3706
2278c276
PA
37072014-10-02 Pedro Alves <palves@redhat.com>
3708
3709 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3710 (top level) <stop threads 1, stop threads 2>: Use it.
3711
b57bacec
PA
37122014-10-02 Pedro Alves <palves@redhat.com>
3713
3714 * gdb.threads/break-while-running.exp (test): Add new
3715 'update_thread_list' argument. Skip "info threads" if false.
3716 (top level): Add new 'update_thread_list' axis.
3717
13fd3ff3
PA
37182014-10-02 Pedro Alves <palves@redhat.com>
3719
3720 PR breakpoints/17431
3721 * gdb.base/execl-update-breakpoints.c: New file.
3722 * gdb.base/execl-update-breakpoints.exp: New file.
3723
0fec99e8
PA
37242014-10-01 Pedro Alves <palves@redhat.com>
3725
3726 * gdb.base/breakpoint-in-ro-region.c: New file.
3727 * gdb.base/breakpoint-in-ro-region.exp: New file.
3728
2ddf4301
SM
37292014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3730
3731 * gdb.mi/mi-exit-code.exp: New file.
3732 * gdb.mi/mi-exit-code.c: New file.
3733
6a5f3f43
YQ
37342014-09-30 Yao Qi <yao@codesourcery.com>
3735
3736 * lib/prelink-support.exp (build_executable_own_libs): Error if
3737 the target isn't native.
3738
345bcc73
YQ
37392014-09-30 Yao Qi <yao@codesourcery.com>
3740
3741 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3742 false.
3743
a25a5a45
PA
37442014-09-22 Pedro Alves <palves@redhat.com>
3745
3746 * gdb.threads/break-while-running.exp: New file.
3747 * gdb.threads/break-while-running.c: New file.
3748
00ba3162
YQ
37492014-09-19 Yao Qi <yao@codesourcery.com>
3750
3751 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3752 Invoke test. Restart GDB with --readnow and invoke test again.
3753
c3b7b696
YQ
37542014-09-19 Yao Qi <yao@codesourcery.com>
3755
3756 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3757 proc set_breakpoint_on_gcd_function. Invoke
3758 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3759 invoke set_breakpoint_on_gcd_function again.
3760
2b4fd423
DE
37612014-09-18 Doug Evans <dje@google.com>
3762
3763 * gdb.dwarf2/symtab-producer.exp: New file.
3764
a5947601
SDJ
37652014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3766
3767 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3768 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3769 * gdb.base/global-var-nested-by-dso.c: Likewise.
3770 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3771
91c19059
SDJ
37722014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3773 Pedro Alves <palves@redhat.com>
3774
3775 * gdb.base/watch-bitfields.exp: Pass string other than test file
3776 name to prepare_for_testing.
3777 (watch): New procedure.
3778 (expect_watchpoint): Use with_test_prefix.
3779 (top level): Factor out tests to ...
3780 (test_watch_location, test_regular_watch): ... these new
3781 procedures, and use with_test_prefix and gdb_continue_to_end.
3782
bb9d5f81
PP
37832014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3784
3785 PR breakpoints/12526
3786 * gdb.base/watch-bitfields.exp: New file.
3787 * gdb.base/watch-bitfields.c: New file.
3788
635856f5
PA
37892014-09-16 Pedro Alves <palves@redhat.com>
3790
3791 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3792 software and hardware addresses, not software address against
3793 itself.
3794
7280ceea
PA
37952014-09-16 Pedro Alves <palves@redhat.com>
3796
3797 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3798 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3799
428b16bd
PA
38002014-09-16 Pedro Alves <palves@redhat.com>
3801
3802 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3803 files.
3804 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3805 "*-*-vxworks*" throughout.
3806 * gdb.base/break.exp: Likewise.
3807 * gdb.base/default.exp: Likewise.
3808 * gdb.base/scope.exp: Likewise.
3809 * gdb.base/sepdebug.exp: Likewise.
3810 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3811 throughout.
3812 * gdb.base/run.c: Likewise.
3813 * gdb.base/sepdebug.c: Likewise.
3814 * gdb.hp/gdb.aCC/run.c: Likewise.
3815 * gdb.reverse/until-reverse.c: Likewise.
3816 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3817
666d413c
YQ
38182014-09-16 Yao Qi <yao@codesourcery.com>
3819
3820 * boards/local-remote-host-native.exp: New file.
3821
57cbd724
DE
38222014-09-14 Doug Evans <xdje42@gmail.com>
3823
3824 * gdb.threads/queue-signal.c (thread_count): New variable.
3825 (thread_count_mutex, thread_count_condvar): New variables.
3826 (incr_thread_count, wait_all_threads_running): New functions.
3827 (main): Wait for all threads to be in their thread functions.
3828
81219e53
DE
38292014-09-13 Doug Evans <xdje42@gmail.com>
3830
3831 * gdb.threads/queue-signal.c: New file.
3832 * gdb.threads/queue-signal.exp: New file.
3833
3714cea7
DE
38342014-09-13 Doug Evans <xdje42@gmail.com>
3835
3836 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3837 be consistent with what default_gdb_init uses.
3838 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3839 the plain text of the prompt. Add some logging printfs.
3840 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3841
fa43b1d7
PA
38422014-09-12 Pedro Alves <palves@redhat.com>
3843
3844 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3845 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3846 * gdb.arch/i386-size-overlap.exp: Likewise.
3847 * gdb.arch/i386-size.exp: Likewise.
3848 * gdb.arch/i386-unwind.exp: Likewise.
3849 * gdb.base/a2-run.exp: Likewise.
3850 * gdb.base/break.exp: Likewise.
3851 * gdb.base/charset.exp: Likewise.
3852 * gdb.base/chng-syms.exp: Likewise.
3853 * gdb.base/commands.exp: Likewise.
3854 * gdb.base/dbx.exp: Likewise.
3855 * gdb.base/find.exp: Likewise.
3856 * gdb.base/funcargs.exp: Likewise.
3857 * gdb.base/jit-simple.exp: Likewise.
3858 * gdb.base/reread.exp: Likewise.
3859 * gdb.base/sepdebug.exp: Likewise.
3860 * gdb.base/step-bt.exp: Likewise.
3861 * gdb.cp/mb-inline.exp: Likewise.
3862 * gdb.cp/mb-templates.exp: Likewise.
3863 * gdb.objc/basicclass.exp: Likewise.
3864 * gdb.threads/killed.exp: Likewise.
3865
9d9bf2df
EBM
38662014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3867
3868 PR tdep/17379
3869 * gdb.arch/powerpc-stackless.S: New file.
3870 * gdb.arch/powerpc-stackless.exp: New file.
3871
1cf2f1b0
JK
38722014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3873
3874 * gdb.base/attach.c: Include unistd.h.
3875 (main): Call alarm. Add label postloop.
3876 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3877 gdb_breakpoint, gdb_continue_to_breakpoint.
3878 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3879
98880d46
PA
38802014-09-11 Pedro Alves <palves@redhat.com>
3881
3882 PR gdb/17347
3883 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3884 * gdb.base/attach.exp (test_command_line_attach_run): New
3885 procedure.
3886 (top level): Call it.
3887
4c92ff2c
PA
38882014-09-11 Pedro Alves <palves@redhat.com>
3889
3890 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3891 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3892 (do_command_attach_tests): Use spawn_wait_for_attach.
3893 * gdb.base/solib-overlap.exp: Likewise.
3894 * gdb.multi/multi-attach.exp: Likewise.
3895 * gdb.python/py-prompt.exp: Likewise.
3896 * gdb.python/py-sync-interp.exp: Likewise.
3897 * gdb.server/ext-attach.exp: Likewise.
3898
3adc1a7d
GKB
38992014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3900
3901 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3902 command in testcase. Simplify testcase.
3903
96334934
JB
39042014-09-10 Joel Brobecker <brobecker@adacore.com>
3905
3906 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3907
eb479039
JB
39082014-09-10 Joel Brobecker <brobecker@adacore.com>
3909
3910 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3911
deede10c
JB
39122014-09-10 Joel Brobecker <brobecker@adacore.com>
3913
3914 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3915
7828a5f5
JB
39162014-09-10 Joel Brobecker <brobecker@adacore.com>
3917
3918 * gdb.dwarf2/dynarr-ptr.c: New file.
3919 * gdb.dwarf2/dynarr-ptr.exp: New file.
3920
33aeebcf
MR
39212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3922
3923 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3924 of 30 rather than hardcoding 120 for a slow test case. Take the
3925 `gdb,timeout' target setting into account for this calculation.
3926 Don't extend the timeout for the test cases that don't need it.
3927
7b415901
MR
39282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3929
3930 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3931 a factor of 2 for a slow test case. Take the `gdb,timeout'
3932 target setting into account for this calculation.
3933 * gdb.reverse/until-precsave.exp: Increase the timeout by
3934 a factor of 15 and 3 respectively rather than adding 120
3935 for a pair of slow test cases. Take the `gdb,timeout'
3936 target setting into account for this calculation.
3937
4a40f85a
MR
39382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3939
3940 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3941 timeout, don't pass one down to gdb_expect.
3942 (gdb_expect): Rework timeout selection.
3943
09635af7
MR
39442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3945
3946 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3947 exception on timeout.
3948 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3949 (gdbserver_start_extended): Catch any `gdbserver_start' error
3950 exceptions.
3951 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3952 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3953 `gdbserver_gdb_load' error exceptions.
3954
2bdd10b7
MR
39552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3956
3957 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3958 120 on waiting for the TCP socket to open.
3959
316935f0
DE
39602014-09-09 Doug Evans <xdje42@gmail.com>
3961
3962 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3963 _caller_matches, _any_caller_is, _any_caller_matches.
3964
83740597
DE
39652014-09-09 Doug Evans <xdje42@gmail.com>
3966
3967 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3968
4c122fc3
YQ
39692014-09-09 Yao Qi <yao@codesourcery.com>
3970
3971 * gdb.mi/mi-var-display.exp: Set print symbol off.
3972
a9f116cb
GKB
39732014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3974
3975 PR gdb/17035
3976 * gdb.base/commands.exp: Add tests to verify user-defined
3977 commands with empty bodies.
3978 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3979 python commands in `show user command`.
3980 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3981 scheme commands in `show user command`.
3982
c75bd3a2
JK
39832014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3984
3985 PR python/17355
3986 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3987 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3988 * gdb.python/py-framefilter-invalidarg.exp: New file.
3989 * gdb.python/py-framefilter-invalidarg.py: New file.
3990
faa42425
DE
39912014-09-06 Doug Evans <xdje42@gmail.com>
3992
3993 PR 15276
3994 * gdb.python/py-caller-is.c: New file.
3995 * gdb.python/py-caller-is.exp: New file.
3996
474ca4f6
SDJ
39972014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3998
3999 PR gdb/17235
4000 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4001 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4002
eb0b0463
SDJ
40032014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4004
4005 PR fortran/17237
4006 * gdb.fortran/print-formatted.exp: New file.
4007 * gdb.fortran/print-formatted.f90: Likewise.
4008
5f3b99cf
SS
40092014-09-03 Sasha Smundak <asmundak@google.com>
4010
4011 * gdb.python/py-frame.exp: Test Frame.read_register.
4012
7d793aa9
SDJ
40132014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4014
4015 PR python/16699
4016 * gdb.python/py-completion.exp: New file.
4017 * gdb.python/py-completion.py: Likewise.
4018
fb0576e9
DE
40192014-08-28 Doug Evans <dje@google.com>
4020
4021 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4022 eax,etc. are live with values set by gdb and thus the compiler can't
4023 use them.
4024 * gdb.arch/i386-pseudo.c (main): Ditto.
4025
ee92b0dd
DE
40262014-08-27 Doug Evans <dje@google.com>
4027
4028 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4029
6649db35
DE
40302014-08-25 Doug Evans <dje@google.com>
4031
4032 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4033 (main): Ditto.
4034
564b7600
DE
40352014-08-25 Doug Evans <dje@google.com>
4036
4037 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4038
3881fb67
YQ
40392014-08-24 Yao Qi <yao@codesourcery.com>
4040
4041 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4042 symbol off.
4043 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4044
a05a36a5
DE
40452014-08-22 Doug Evans <dje@google.com>
4046
4047 PR 17276
4048 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4049 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4050 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4051
7c343b48
YQ
40522014-08-22 Yao Qi <yao@codesourcery.com>
4053
4054 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4055 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4056 * gdb.python/python.exp: Likewise. Use .py file on the host
4057 instead of the build.
4058
22fd09ae
JK
40592014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4060
4061 * gdb.threads/gcore-stale-thread.c: New file.
4062 * gdb.threads/gcore-stale-thread.exp: New file.
4063
a8454a7c
PA
40642014-08-21 Pedro Alves <palves@redhat.com>
4065
4066 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4067 * gdb.base/gcore-relro-pie.exp: Likewise.
4068 * gdb.base/gcore-relro.exp: Likewise.
4069 * gdb.base/gcore.exp: Likewise.
4070 * gdb.base/print-symbol-loading.exp: Likewise.
4071 * gdb.threads/gcore-thread.exp: Likewise.
4072 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4073
2a31c623
PA
40742014-08-20 Pedro Alves <palves@redhat.com>
4075 Jan Kratochvil <jan.kratochvil@redhat.com>
4076
4077 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4078 configure.
4079 (EXPECT): Handle READ1 being set.
4080 (all): Depend on EXTRA_RULES.
4081 (check-read1, expect-read1, read1.so, read1): New rules.
4082 * README (Testsuite Parameters): Document the READ1 make variable.
4083 (Race detection): New section.
4084 * configure: Regenerate.
4085 * configure.ac: If build==host==target, and running under a
4086 GNU/glibc system, add read1 to the extra Makefile rules.
4087 (EXTRA_RULES): AC_SUBST it.
4088 * lib/read1.c: New file.
4089
d36430db
JB
40902014-08-20 Joel Brobecker <brobecker@adacore.com>
4091
4092 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4093 the handling of variables declared as a typedef to an array
4094 which a DW_AT_data_location attribute.
4095
9a0dc9e3
PA
40962014-08-19 Andrew Burgess <aburgess@broadcom.com>
4097 Pedro Alves <palves@redhat.com>
4098
4099 PR symtab/14604
4100 PR symtab/14605
4101 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4102 gdb_test.
4103
0718a8da
PA
41042014-08-19 Pedro Alves <palves@redhat.com>
4105
4106 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4107
13b448cd
YQ
41082014-08-19 Yao Qi <yao@codesourcery.com>
4109
4110 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4111 right line.
4112
1cbf5077
DB
41132014-08-18 David Blaikie <dblaikie@gmail.com>
4114
4115 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4116
bf0fae19
JB
41172014-08-18 Joel Brobecker <brobecker@adacore.com>
4118
4119 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4120 attribute in array range.
4121
3c8c5dcc
JB
41222014-08-18 Joel Brobecker <brobecker@adacore.com>
4123
4124 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4125
e66d4446
SC
41262014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4127
4128 PR c++/17132
4129 * gdb.cp/pr17132.cc: New file.
4130 * gdb.cp/pr17132.exp: New file.
4131
940df408
SC
41322014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4133
4134 * gdb.python/py-xmethods.py (A_getarrayind)
4135 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4136 Use 'print' with function call syntax.
4137 (E_method_matcher.match): Fix tab vs space indentation mixup.
4138
ebcc6c3a
YQ
41392014-08-15 Yao Qi <yao@codesourcery.com>
4140
4141 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4142 false.
4143
775e0f04
YQ
41442014-08-15 Yao Qi <yao@codesourcery.com>
4145
4146 * gdb.cp/casts.exp: Set print symbol off.
4147 * gdb.cp/class2.exp: Likewise.
4148 * gdb.cp/overload.exp: Likewise.
4149 * gdb.cp/templates.exp: Likewise.
4150
d769e349
DE
41512014-08-11 Doug Evans <dje@google.com>
4152
4153 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4154 (test_load_shlib): Update.
4155
20c6f1e1
YQ
41562014-08-09 Yao Qi <yao@codesourcery.com>
4157
4158 * gdb.base/display.exp: Invoke is_address_zero_readable.
4159 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4160 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4161 * gdb.base/hbreak-unmapped.exp: Return if
4162 is_address_zero_readable returns true.
4163 * gdb.base/signest.exp: Likewise.
4164 * gdb.base/signull.exp: Likewise.
4165 * gdb.base/sigbpt.exp: Likewise.
4166 * gdb.guile/scm-disasm.exp: Do the test if
4167 is_address_zero_readable returns false.
4168 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4169 * gdb.python/py-arch.exp: Likewise.
4170 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4171 * lib/gdb.exp (is_address_zero_readable): New proc.
4172
5792e8e3
YQ
41732014-08-09 Yao Qi <yao@codesourcery.com>
4174
4175 PR testsuite/13443
4176 * gdb.mi/mi-var-display.exp: Make test messages unique.
4177
3cecbbbe
TT
41782014-08-04 Tom Tromey <tromey@redhat.com>
4179
4180 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4181 target 0".
4182
00b51ff5
TT
41832014-08-04 Tom Tromey <tromey@redhat.com>
4184
4185 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4186 "target_resume".
4187
6908c509
JB
41882014-08-01 Joel Brobecker <brobecker@adacore.com>
4189
4190 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4191 inner_vla_struct_object_size.
4192 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4193 as xfail.
4194
cc6563d2
PA
41952014-07-30 Pedro Alves <palves@redhat.com>
4196
4197 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4198 comment.
4199
7e09a223
YQ
42002014-07-29 Yao Qi <yao@codesourcery.com>
4201
4202 PR gdb/17206
4203 * gdb.base/until-nodebug.exp: New.
4204
7ebdbe92
DE
42052014-07-28 Doug Evans <xdje42@gmail.com>
4206
4207 PR guile/17203
4208 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4209 previously existing parameter, and previously ambiguously spelled
4210 parameter.
4211
fdb1adc6
WN
42122014-07-28 Will Newton <will.newton@linaro.org>
4213
4214 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4215
186fcde0
DE
42162014-07-26 Ludovic Courtès <ludo@gnu.org>
4217 Doug Evans <xdje42@gmail.com>
4218
4219 PR guile/17146
4220 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4221
70509625
PA
42222014-07-25 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.threads/signal-command-handle-nopass.c: New file.
4225 * gdb.threads/signal-command-handle-nopass.exp: New file.
4226 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4227 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4228 * gdb.threads/signal-delivered-right-thread.c: New file.
4229 * gdb.threads/signal-delivered-right-thread.exp: New file.
4230
c3f814a1
PA
42312014-07-25 Pedro Alves <palves@redhat.com>
4232
4233 * gdb.base/double-prompt-target-event-error.exp
4234 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4235 match.
4236 (cancel_pagination_in_target_event): Rework double prompt
4237 detection.
4238 * gdb.base/paginate-after-ctrl-c-running.exp
4239 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4240 <return>' match.
4241 * gdb.base/paginate-bg-execution.exp
4242 (test_bg_execution_pagination_return)
4243 (test_bg_execution_pagination_cancel): Remove '-notransfer
4244 <return>' matches.
4245 * gdb.base/paginate-execution-startup.exp
4246 (test_fg_execution_pagination_return)
4247 (test_fg_execution_pagination_cancel): Remove '-notransfer
4248 <return>' matches.
4249 * gdb.base/paginate-inferior-exit.exp
4250 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4251 match.
4252 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4253 * lib/gdb.exp (pagination_prompt): Run text through
4254 string_to_regexp.
4255 (gdb_test_multiple): Match $pagination_prompt instead of
4256 "<return>".
4257 (string_to_regexp): Move to lib/gdb-utils.exp.
4258
e214cf6c
JK
42592014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4260
4261 * gdb.arch/amd64-entry-value-paramref.S: New file.
4262 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4263 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4264 * gdb.arch/amd64-optimout-repeat.S: New file.
4265 * gdb.arch/amd64-optimout-repeat.c: New file.
4266 * gdb.arch/amd64-optimout-repeat.exp: New file.
4267
17d0c5c8
JK
42682014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4269
4270 PR gdb/17170
4271 * gdb.base/statistics.exp: New file.
4272
b8b8facf
DE
42732014-07-17 Doug Evans <dje@google.com>
4274
74b49205 4275 PR gdb/17170
b8b8facf
DE
4276 * gdb.base/maint.exp: Update testing of per-command stats.
4277
1b5d0ab3
PA
42782014-07-16 Pedro Alves <palves@redhat.com>
4279
4280 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4281 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4282 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4283 (tfile_write_buf): New functions.
4284 (add_memory_block): Rewrite using the above.
4285 (adjust_function_address): New function.
4286 (FUNCTION_ADDRESS): New macro.
4287 (write_basic_trace_file): Remove short_x local, and use
4288 tfile_write_16. Change type of func_addr local to unsigned long
4289 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4290 here. Cast argument of add_memory_block to char pointer.
4291 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4292 (main): Remove parameters.
4293 * gdb.trace/tfile.exp: Remove nowarnings.
4294
4d974e88
SM
42952014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4296
4297 * gdb.base/debug-expr.exp: Test string evaluation with
4298 "debug expression" on.
4299
41e99568
PA
43002014-07-15 Pedro Alves <palves@redhat.com>
4301
4302 * gdb.base/reread.exp: Use clean_restart.
4303
487d9753
PL
43042014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4305
4306 * gdb.arch/avr-flash-qualifer.c: New.
4307 * gdb.arch/avr-flash-qualifer.exp: New.
4308
cc1c52ad
PA
43092014-07-14 Pedro Alves <palves@redhat.com>
4310
4311 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4312 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4313
1e973570
PA
43142014-07-14 Pedro Alves <palves@redhat.com>
4315
4316 * gdb.base/double-prompt-target-event-error.c: New file.
4317 * gdb.base/double-prompt-target-event-error.exp: New file.
4318
93d6eb10
PA
43192014-07-14 Pedro Alves <palves@redhat.com>
4320
4321 PR gdb/17072
4322 * gdb.base/paginate-inferior-exit.c: New file.
4323 * gdb.base/paginate-inferior-exit.exp: New file.
4324
0017922d
PA
43252014-07-14 Pedro Alves <palves@redhat.com>
4326
4327 PR gdb/17072
4328 * gdb.base/paginate-bg-execution.c: New file.
4329 * gdb.base/paginate-bg-execution.exp: New file.
4330
94696ad3
PA
43312014-07-14 Pedro Alves <palves@redhat.com>
4332
4333 PR gdb/17072
4334 * gdb.base/paginate-execution-startup.c: New file.
4335 * gdb.base/paginate-execution-startup.exp: New file.
4336 * lib/gdb.exp (pagination_prompt): New global.
4337 (default_gdb_spawn): New procedure, factored out from
4338 default_gdb_spawn.
4339 (default_gdb_start): Adjust to call default_gdb_spawn.
4340 (gdb_spawn): New procedure.
4341
bd293940
PA
43422014-07-14 Pedro Alves <palves@redhat.com>
4343
4344 * lib/gdb.exp (gdb_assert): New procedure.
4345 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4346
c933f875
PA
43472014-07-14 Pedro Alves <palves@redhat.com>
4348
4349 * gdb.base/execution-termios.c: New file.
4350 * gdb.base/execution-termios.exp: New file.
4351
d98b7a16
TT
43522014-07-14 Tom Tromey <tromey@redhat.com>
4353
4354 * gdb.cp/vla-cxx.cc: New file.
4355 * gdb.cp/vla-cxx.exp: New file.
4356
548740d6
TT
43572014-07-14 Tom Tromey <tromey@redhat.com>
4358
4359 * gdb.reverse/rerun-prec.c: New file.
4360 * gdb.reverse/rerun-prec.exp: New file.
4361
a25eb028
MR
43622014-07-12 Maciej W. Rozycki <macro@mips.com>
4363 Maciej W. Rozycki <macro@codesourcery.com>
4364
4365 * lib/gdb-utils.exp: New file.
4366 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4367 inline `gdb_init_command' processing.
4368 (gdb_start_cmd): Likewise.
4369 * lib/mi-support.exp (mi_run_cmd): Likewise.
4370 * README: Document `gdb_init_command' and `gdb_init_commands'.
4371
218c2655
JK
43722014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4373
4374 Fix false FAIL running under a very long directory name.
4375 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4376 and "set print elements 10000". Twice.
4377
5401fde3
YQ
43782014-07-11 Yao Qi <yao@codesourcery.com>
4379
4380 * gdb.base/exprs.exp: "set print symbol off".
4381
e76126e8
PA
43822014-07-11 Pedro Alves <palves@redhat.com>
4383
4384 * gdb.threads/kill.c: New file.
4385 * gdb.threads/kill.exp: New file.
4386
2d6f0de6
YQ
43872014-07-10 Yao Qi <yao@codesourcery.com>
4388
4389 * gdb.trace/tfile.c (write_basic_trace_file)
4390 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4391 address written to trace file.
4392
7180e04a
PA
43932014-07-09 Pedro Alves <palves@redhat.com>
4394
4395 * gdb.base/attach-wait-input.exp: New file.
4396 * gdb.base/attach-wait-input.c: New file.
4397
9a9a7608
AB
43982014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4399
4400 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4401 setting up test structures.
4402 (main): Call new test function.
4403 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4404 test function, continue into test function and walk test
4405 structures.
4406
161ac41e
YQ
44072014-07-02 Yao Qi <yao@codesourcery.com>
4408
4409 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4410 'bar_start' at the beginning of functions 'foo' and 'bar'
4411 respectively.
4412 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4413 instead of 'foo' and 'bar'.
4414
1f267ae3
MM
44152014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4416
4417 * gdb.btrace/segv.exp: New.
4418 * gdb.btrace/segv.c: New.
4419
2b239efb
LM
44202014-07-02 Luis Machado <lgustavo@codesourcery.com>
4421
4422 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4423 instruction.
4424
cf363f18
MW
44252014-06-30 Mark Wielaard <mjw@redhat.com>
4426
4427 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4428 vulture, vilify, villar): New volatile array constants.
4429 (vindictive, vegetation): New const volatile array constants.
4430 * gdb.base/volatile.exp: Test volatile and const volatile array
4431 types.
4432
aebf9d24
AA
44332014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4434
4435 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4436 target lacks support for awatch, rwatch, or hbreak.
4437
b67a2c6f
YQ
44382014-06-27 Yao Qi <yao@codesourcery.com>
4439
4440 * gdb.multi/dummy-frame-restore.exp: New.
4441 * gdb.multi/dummy-frame-restore.c: New.
4442
aef92902
MM
44432014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4444
4445 * gdb.btrace/gcore.exp: New.
4446
8e9db26e
PA
44472014-06-23 Pedro Alves <palves@redhat.com>
4448
4449 * gdb.base/watchpoint-reuse-slot.c: New file.
4450 * gdb.base/watchpoint-reuse-slot.exp: New file.
4451
70afc5b7
SC
44522014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4453
4454 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4455 progspace's filename in 'info', 'enable' and 'disable' command
4456 tests.
4457
b972bd9c
JK
44582014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4459
4460 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4461 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4462 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4463
125f8a3d
GB
44642014-06-20 Gary Benson <gbenson@redhat.com>
4465
4466 * gdb.arch/i386-avx.exp: Fix include file location.
4467 * gdb.arch/i386-sse.exp: Likewise.
4468
3ed9baed
IB
44692014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4470
4471 * gdb.dlang/expression.exp: New file.
4472
034f788c
PA
44732014-06-19 Pedro Alves <palves@redhat.com>
4474
4475 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4476 out from ...
4477 (top level): ... here. Iterate running tests under different
4478 scheduler-locking settings.
4479
45371d0c
LM
44802014-06-18 Luis Machado <lgustavo@codesourcery.com>
4481
4482 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4483 to DW_FORM_addr and use non-zero addresses.
4484
5d376983
SC
44852014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4486
4487 PR gdb/17017
4488 * gdb.python/py-xmethods.cc: Add global function call counters and
4489 increment them in their respective functions. Remove "cout"
4490 statements.
4491 * gdb.python/py-xmethods.exp: Make tests check the global function
4492 call counters instead of depending on inferior IO.
4493
a1aa2221
LM
44942014-06-18 Don Breazeal <donb@codesourcery.com>
4495
4496 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4497 Deleted procedure.
4498 (explicit_fork_parent_follow): Deleted procedure.
4499 (explicit_fork_child_follow): Deleted procedure.
4500 (test_follow_fork): New procedure.
4501 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4502 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4503 procedure calls.
4504
0fc05997
YQ
45052014-06-17 Yao Qi <yao@codesourcery.com>
4506
4507 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4508 CP1252.
4509
70795c52
LM
45102014-06-17 Luis Machado <lgustavo@codesourcery.com>
4511
4512 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4513 Initialize ptr and S explicitly.
4514 (skip_type_update_when_not_use_rtti_test): Likewise.
4515
6be47f0c
KS
45162014-06-16 Keith Seitz <keiths@redhat.com>
4517
4518 PR mi/15863
4519 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4520 the inferior is started.
4521
d03de421
PA
45222014-06-16 Pedro Alves <palves@redhat.com>
4523
4524 * gdb.base/break-main-file-remove-fail.c: New file.
4525 * gdb.base/break-main-file-remove-fail.exp: New file.
4526 * gdb.base/break-unload-file.exp: Use build_executable instead of
4527 prepare_for_testing.
4528 (test_break): New parameter "initial_load". Handle it.
4529 (top level): Add initial_load cmdline/file axis.
4530
f9579b99
TT
45312014-06-12 Tom Tromey <tromey@redhat.com>
4532
4533 * gdb.base/completion.exp: Don't use directory name in test.
4534
3657956b
GB
45352014-06-09 Gary Benson <gbenson@redhat.com>
4536
4537 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4538 separate the always-available ANSI-standard signals from the
4539 signals that require checking.
4540 (main): Likewise.
4541 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4542 Likewise.
4543 (main): Likewise.
4544
4186eb54
KS
45452014-06-07 Keith Seitz <keiths@redhat.com>
4546
4547 Revert:
4548 PR c++/16253
4549 * gdb.cp/var-tag.cc: New file.
4550 * gdb.cp/var-tag.exp: New file.
4551 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4552 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4553 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4554 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4555
25326a28 45562014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4557
4558 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4559
829155c9
PA
45602014-06-06 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4563 in target debug output instead of looking at RSP packets,
4564 disabling the test on any target that uses hardware stepping.
4565 Update comments.
4566
61c8d22e
PA
45672014-06-06 Pedro Alves <palves@redhat.com>
4568
4569 * gdb.base/break-unload-file.exp: Fix typo.
4570
d9a47287
YQ
45712014-06-06 Yao Qi <yao@codesourcery.com>
4572
4573 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4574 from "jit_function" to "^jit_function".
4575
e5e01dbf
YQ
45762014-06-06 Yao Qi <yao@codesourcery.com>
4577
4578 * gdb.base/async.c (foo): Add one statement.
4579 * gdb.base/async.exp: Get the next instruction address and
4580 match the output of "nexti" by instruction address. Match
4581 the hex address in the output of "finish".
4582
73ba372c
GB
45832014-06-06 Gary Benson <gbenson@redhat.com>
4584
4585 * gdb.base/call-signals.c: Remove preprocessor conditionals
4586 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4587 SIGSEGV and SIGTERM.
4588 * gdb.base/sigall.c: Likewise.
4589 * gdb.base/unwindonsignal.c: Likewise.
4590 * gdb.reverse/sigall-reverse.c: Likewise.
4591
831517df
YQ
45922014-06-06 Yao Qi <yao@codesourcery.com>
4593
4594 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4595 readable, skip the test.
4596
b8b91e98
YQ
45972014-06-06 Yao Qi <yao@codesourcery.com>
4598
4599 * gdb.threads/staticthreads.c (thread_function): Move the line
4600 setting breakpoint on forward.
4601 * gdb.threads/staticthreads.exp: Update comments.
4602
fb934770
LC
46032014-06-05 Ludovic Courtès <ludo@gnu.org>
4604
4605 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4606 "history-append! type error".
4607
6ef284bd
SM
46082014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4609
4610 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4611 erroneous dprintf expected input.
4612
a872e241
DE
46132014-06-04 Doug Evans <xdje42@gmail.com>
4614
4615 * gdb.guile/scm-generics.exp: Delete.
4616
16f691fb
DE
46172014-06-04 Doug Evans <xdje42@gmail.com>
4618
4619 * gdb.guile/scm-breakpoint.exp: Update.
4620 Add tests for breakpoint registration.
4621
012370f6
TT
46222014-06-04 Tom Tromey <tromey@redhat.com>
4623
4624 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4625 VLA-in-union.
4626 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4627 inner_vla_struct, vla_union types. Initialize objects of those
4628 types and compute their sizes.
4629
9f5a4cef
HZ
46302014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4631 Hui Zhu <hui@codesourcery.com>
4632
4633 * gdb.base/fileio.exp: Add test for shell not available as well as
4634 available.
4635 * gdb.base/fileio.c (test_system): Check for shell twice.
4636
90a45c4d
YQ
46372014-06-04 Yao Qi <yao@codesourcery.com>
4638
4639 * gdb.base/auto-connect-native-target.exp: Remove redundant
4640 space from the regexp pattern.
4641
70017e41
YQ
46422014-06-04 Yao Qi <yao@codesourcery.com>
4643
4644 * gdb.base/default.exp: Replace "child" with "native" in
4645 regexp pattern.
4646
883964a7
SC
46472014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4648
4649 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4650 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4651 * gdb.python/py-xmethods.py: Python script supporting the
4652 new testcase and tests.
4653
ef370185
JB
46542014-06-03 Joel Brobecker <brobecker@adacore.com>
4655 Pedro Alves <palves@redhat.com>
4656
4657 PR breakpoints/17000
4658 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4659 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4660
1e2ccb61
BM
46612014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4662
4663 * gdb.base/subst.exp: Add tests to verify partial path matching
4664 output.
4665
c6ec5ab2
PA
46662014-06-03 Pedro Alves <palves@redhat.com>
4667
4668 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4669 target that doesn't use software single-stepping.
4670
835c559f
PA
46712014-06-03 Pedro Alves <palves@redhat.com>
4672
4673 PR breakpoints/17000
4674 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4675 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4676
06eb1586
DE
46772014-06-02 Doug Evans <xdje42@gmail.com>
4678
4679 * gdb.guile/scm-parameter.exp: New file.
4680
e698b8c4
DE
46812014-06-02 Doug Evans <xdje42@gmail.com>
4682
4683 * gdb.guile/scm-cmd.c: New file.
4684 * gdb.guile/scm-cmd.exp: New file.
4685
ded03782
DE
46862014-06-02 Doug Evans <xdje42@gmail.com>
4687
4688 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4689 pretty-printer lookup.
4690 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4691 (make-pp_s-printer): Call it.
4692 (make-pretty-printer-from-dict): New function.
4693 (lookup-pretty-printer-maker-from-dict): New function.
4694 (*pretty-printer*): Simplify.
4695 (make-objfile-pp_s-printer): New function.
4696 (install-objfile-pretty-printers!): New function.
4697 (make-progspace-pp_s-printer): New function.
4698 (install-progspace-pretty-printers!): New function.
4699 * gdb.guile/scm-progspace.c: New file.
4700 * gdb.guile/scm-progspace.exp: New file.
4701
41fac0cf
PA
47022014-06-02 Pedro Alves <palves@redhat.com>
4703
4704 * gdb.base/dprintf-bp-same-addr.c: New file.
4705 * gdb.base/dprintf-bp-same-addr.exp: New file.
4706
96ae5695
EBM
47072014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4708
4709 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4710 * gdb.arch/powerpc-power.s: Likewise.
4711
da02b3a8
JB
47122014-06-02 Joel Brobecker <brobecker@adacore.com>
4713
4714 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4715
c72b2e7b
YQ
47162014-06-01 Yao Qi <yao@codesourcery.com>
4717
4718 * gdb.base/watchpoint.exp (test_watch_location): Check null
4719 pointer can be dereferenced. If not, do the test, otherwise
4720 skip it.
4721
53e8a631
AB
47222014-05-30 Andrew Burgess <aburgess@broadcom.com>
4723
4724 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4725 results.
4726 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4727
938f0e2f
AB
47282014-05-30 Andrew Burgess <aburgess@broadcom.com>
4729
4730 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4731 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4732 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4733 * gdb.arch/amd64-invalid-stack-top.c: New file.
4734 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4735
9ba6657a
PA
47362014-05-30 Pedro Alves <palves@redhat.com>
4737
4738 PR breakpoints/17000
4739 * gdb.base/sss-bp-on-user-bp.c: New file.
4740 * gdb.base/sss-bp-on-user-bp.exp: New file.
4741
522c09bf
DB
47422014-05-30 David Blaikie <dblaikie@gmail.com>
4743
4744 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4745 gnu_inline semantics via attribute.
4746 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4747 source explicitly specifies the required semantics.
4748
bf4ef81e
MR
47492014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4750
4751 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4752
329ea579
PA
47532014-05-29 Pedro Alves <palves@redhat.com>
4754 Tom Tromey <tromey@redhat.com>
4755
4756 * gdb.base/async-shell.exp: Don't enable target-async.
4757 * gdb.base/async.exp
4758 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4759 parameter. Adjust.
4760 (top level): Don't test with "target-async".
4761 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4762 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4763 * gdb.base/inferior-died.exp: Don't enable target-async.
4764 * gdb.base/interrupt-noterm.exp: Likewise.
4765 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4766 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4767 * gdb.mi/mi-nonstop.exp: Likewise.
4768 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4769 * gdb.mi/mi-nsintrall.exp: Likewise.
4770 * gdb.mi/mi-nsmoribund.exp: Likewise.
4771 * gdb.mi/mi-nsthrexec.exp: Likewise.
4772 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4773 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4774 * gdb.python/py-evsignal.exp: Don't enable target-async.
4775 * gdb.python/py-evthreads.exp: Likewise.
4776 * gdb.python/py-prompt.exp: Likewise.
4777 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4778 * gdb.server/solib-list.exp: Don't enable target-async.
4779 * gdb.threads/thread-specific-bp.exp: Likewise.
4780 * lib/mi-support.exp: Adjust to use mi-async.
4781
fd664c91
PA
47822014-05-29 Pedro Alves <palves@redhat.com>
4783
4784 PR gdb/13860
4785 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4786 reason, even in sync mode.
4787
251bde03
PA
47882014-05-29 Pedro Alves <palves@redhat.com>
4789 Hui Zhu <hui@codesourcery.com>
4790
4791 PR PR15693
4792 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4793 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4794 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4795 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4796
7f3c0343
JB
47972014-05-28 Joel Brobecker <brobecker@adacore.com>
4798
4799 * config/monitor.exp (gdb_target_monitor): Replace use of
4800 "set remotebaud" by "set serial baud".
4801
b2715b27
AW
48022014-05-26 Andy Wingo <wingo@igalia.com>
4803
4804 * gdb.guile/scm-breakpoint.exp:
4805 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4806 properties instead of gdb-object-properties.
4807
498a4489
YQ
48082014-05-26 Yao Qi <yao@codesourcery.com>
4809
4810 * gdb.server/no-thread-db.exp: Specify source file name
4811 explicitly when setting a breakpoint.
4812
589fdceb
MM
48132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4814
4815 * gdb.btrace/vdso.c: New.
4816 * gdb.btrace/vdso.exp: New.
4817
e9089e05
MM
48182014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4819
4820 * gdb.base/gcore.exp (capture_command_output): Move ...
4821 * lib/gdb.exp (capture_command_output): ... here.
4822
67b5c0c1
MM
48232014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4824
4825 * gdb.btrace/data.exp: Test memory access during btrace replay.
4826
a2199296
SM
48272014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4828
4829 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4830
17b2616c
PA
48312014-05-21 Pedro Alves <palves@redhat.com>
4832
4833 PR gdb/13860
4834 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4835 (top level): Test that output related to execution commands is
4836 sent to the console with CLI commands, but not with MI commands.
4837 Test that breakpoint events are always mirrored to the console.
4838 Also expect the new source line to be output after a "next" in
4839 async mode too. Make it a pass/fail test.
4840 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4841 output.
4842 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4843
5166082f
PA
48442014-05-21 Pedro Alves <palves@redhat.com>
4845
4846 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4847 Use them to test variations of "list" after reaching a breakpoint.
4848 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4849 Test "list" with listsize 10 after reaching a breakpoint.
4850 * gdb.python/python.exp (decode_line current location line
4851 number): Adjust expected line number.
4852
2f25d70f
SM
48532014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4854
4855 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4856 behavior for $args, pass it directly to "run".
4857
ff604a67
MR
48582014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4859
4860 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4861 30000 to 65536.
4862
6a3cb8e8
PA
48632014-05-21 Pedro Alves <palves@redhat.com>
4864
4865 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4866 auto-connect-native-target off".
4867 * gdb.base/auto-connect-native-target.c: New file.
4868 * gdb.base/auto-connect-native-target.exp: New file.
4869
4ebfc96e
PA
48702014-05-21 Pedro Alves <palves@redhat.com>
4871
4872 * gdb.base/default.exp: Test "target native" instead of "target
4873 child".
4874
36d46afb
MW
48752014-05-21 Mark Wielaard <mjw@redhat.com>
4876
4877 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4878
5876f503
JK
48792014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4880
4881 Fix TLS access for -static -pthread.
4882 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4883 <HAVE_TLS> (thread_function, main): Initialize it.
4884 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4885 Add clean_restart.
4886 <$have_tls != "">: Check TLSVAR.
4887
0256a6ac
PA
48882014-05-21 Pedro Alves <palves@redhat.com>
4889
4890 * gdb.base/dcache-line-read-error.c: New.
4891 * gdb.base/dcache-line-read-error.exp: New.
4892
936d2992
PA
48932014-05-20 Pedro Alves <palves@redhat.com>
4894
4895 * gdb.base/compare-sections.c: New file.
4896 * gdb.base/compare-sections.exp: New file.
4897
802e8e6d
PA
48982014-05-20 Pedro Alves <palves@redhat.com>
4899
4900 * gdb.base/break-idempotent.c: New file.
4901 * gdb.base/break-idempotent.exp: New file.
4902
e59fa00f
MM
49032014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4904
4905 * gdb.btrace/nohist.exp: New.
4906
8b696e31
YQ
49072014-05-20 Yao Qi <yao@codesourcery.com>
4908
4909 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4910 gdb.reverse directory and gdb_reverse_timeout exists in board
4911 setting.
4912 * README: Document gdb_reverse_timeout.
4913
73c9764f
YQ
49142014-05-20 Yao Qi <yao@codesourcery.com>
4915
4916 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4917 'test_file_name'. Treat args as a string instead of a list.
4918 (gdb_init): Rename argument 'args' by 'test_file_name'.
4919
f1f4348a
JK
49202014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4921
4922 * gdb.arch/powerpc-power.exp: New file.
4923 * gdb.arch/powerpc-power.s: New file.
4924
0dbe70ce
DE
49252014-05-16 Doug Evans <dje@google.com>
4926
4927 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4928 * gdb.base/completion.exp: Check that all expected files exist
4929 before doing file completion.
0dbe70ce 4930
8d551b02
DE
49312014-05-16 Doug Evans <dje@google.com>
4932
4933 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4934 Update.
4935 (do_syscall_tests_without_xml): Update.
4936
73eb7709
PA
49372014-05-16 Pedro Alves <palves@redhat.com>
4938
4939 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4940 instead of "unknown output after running".
4941
3fae92fc
YQ
49422014-05-16 Yao Qi <yao@codesourcery.com>
4943
4944 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4945 file1.txt from host at the end.
4946 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4947
c2b2ccc5
DE
49482014-05-15 Doug Evans <dje@google.com>
4949
4950 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4951 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4952 loading file. Add test for TU lookup.
4953
8c217a4b
SM
49542014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4955
4956 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4957 calling "-exec-arguments" or "set args" before running the
4958 inferior.
4959
3deb39c6
SM
49602014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4961
4962 * lib/mi-support.exp (mi_expect_stop): Expect message for
4963 inferiors that exit with non-zero exit code.
4964
71a79f8c
YQ
49652014-05-14 Yao Qi <yao@codesourcery.com>
4966
4967 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4968 match absolute path on remote host.
4969 (test_file_list_exec_source_files): Remove "/" from the
4970 pattern.
4971
f23fcd46
YQ
49722014-05-14 Yao Qi <yao@codesourcery.com>
4973
4974 * boards/local-remote-host-notty.exp (${board}_file): New
4975 proc.
4976
9404b58f
KM
49772014-05-07 Kyle McMartin <kyle@redhat.com>
4978
4979 Pushed by Joel Brobecker <brobecker@adacore.com>.
4980 * gdb.arch/aarch64-atomic-inst.c: New file.
4981 * gdb.arch/aarch64-atomic-inst.exp: New file.
4982
5e45f04c
YQ
49832014-05-07 Yao Qi <yao@codesourcery.com>
4984
4985 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4986 in current context" too.
4987
c888a17d
KS
49882014-05-05 Keith Seitz <keiths@redhat.com>
4989
4990 * gdb.linespec/ls-dollar.exp: Add test for linespec
4991 file:convenience_variable.
4992
290a839c
YQ
49932014-05-05 Yao Qi <yao@codesourcery.com>
4994
4995 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4996 traceframes into tfile and ctf trace files. Read data from
4997 trace file and test collected data.
4998 (gdb_collect_locals_test): Likewise.
4999 (gdb_unavailable_registers_test): Likewise.
5000 (gdb_unavailable_floats): Likewise.
5001 (gdb_collect_globals_test): Likewise.
5002 (top-level): Append "ctf" to trace_file_targets if GDB
5003 supports.
5004
b5262cd0
YQ
50052014-05-05 Yao Qi <yao@codesourcery.com>
5006
5007 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5008 code to ...
5009 (gdb_collect_args_test_1): ... it. New proc.
5010 (gdb_collect_locals_test): Move some code to ...
5011 (gdb_collect_locals_test_1): ... it. New proc.
5012 (gdb_unavailable_registers_test): Move some code to ...
5013 (gdb_unavailable_registers_test_1): ... it. New proc.
5014 (gdb_unavailable_floats): Move some code to ...
5015 (gdb_unavailable_floats_1): ... it. New proc.
5016
30a1e6cc
SDJ
50172014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5018
5019 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5020 probes to test for bitness recognition.
5021 * gdb.arch/amd64-stap-optional-prefix.exp
5022 (test_probe_value_without_reg): New procedure.
5023 Add code to test for different kinds of bitness.
5024
f33da99a
SDJ
50252014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5026
5027 PR breakpoints/16889
5028 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5029 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5030
5b80f00d
PA
50312014-05-01 Pedro Alves <palves@redhat.com>
5032
5033 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5034 gdb_file_cmd if no file is specified.
5035 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5036 last_loaded_file to set the remote exec-file.
5037
f8c2a73c
PA
50382014-05-01 Pedro Alves <palves@redhat.com>
5039
5040 * boards/local-remote-host.exp: New file.
5041
be6e8ac7
PA
50422014-05-01 Pedro Alves <palves@redhat.com>
5043
5044 * boards/local-remote-host.exp: Rename to ...
5045 * boards/local-remote-host-notty.exp: ... this.
5046
cac0dc8f
JB
50472014-04-28 Joel Brobecker <brobecker@adacore.com>
5048
5049 * gdb.ada/dyn_arrayidx: New testcase.
5050
9730e6cc
YQ
50512014-04-26 Yao Qi <yao@codesourcery.com>
5052
5053 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5054 and compute the length of function main. Save it in
5055 $main_length.
5056 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5057 (top-level): Use gdb_compile to compile objects into
5058 executable and restart GDB. Remove invocation to
5059 prepare_for_testing.
5060
7ae1a6a6
PA
50612014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5062 Pedro Alves <palves@redhat.com>
5063
5064 PR server/16255
5065 * gdb.multi/multi-attach.c: New file.
5066 * gdb.multi/multi-attach.exp: New file.
5067
4082afcc
PA
50682014-04-25 Pedro Alves <palves@redhat.com>
5069
5070 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5071 user.
5072 (top level): Test that "set remote conditional-breakpoints-packet
5073 off" works as intended.
5074 * gdb.base/dprintf.exp: Test that "set remote
5075 breakpoint-commands-packet off" works as intended.
5076 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5077 New function.
5078 (top level): Call it.
5079 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5080 remote fast-tracepoints-packet off" works as intended.
5081 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5082 * lib/gdb.exp (gdb_is_target_remote): ... here.
5083
2abc3f8d
DB
50842014-04-24 David Blaikie <dblaikie@gmail.com>
5085
5086 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5087 ensure clang would not discard them.
5088 * gdb.base/gdbvars.c: Ditto.
5089 * gdb.base/memattr.c: Ditto.
5090 * gdb.base/whatis.c: Ditto.
5091 * gdb.python/py-prettyprint.c: Ditto.
5092 * gdb.trace/actions.c: Ditto.
5093 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5094 ensure clang would not discard it.
5095
bfd39632
DB
50962014-04-24 David Blaikie <dblaikie@gmail.com>
5097
5098 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5099 clang to emit the full definition of type required by the test
5100 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5101
22842ff6
DB
51022014-04-24 David Blaikie <dblaikie@gmail.com>
5103
5104 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5105 coax Clang into emitting the definition of the type.
5106 * gdb.cp/pr10728-x.h (y): Ditto.
5107 * gdb.cp/pr10728-y.cc (y): Ditto.
5108
c2e827ad
DB
51092014-04-24 David Blaikie <dblaikie@gmail.com>
5110
5111 * gdb.base/label.exp: XFAIL label related tests under Clang.
5112 * gdb.cp/cplabel.exp: Ditto.
5113 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5114 under Clang those using labels.
5115
4c2d33e7
YQ
51162014-04-25 Yao Qi <yao@codesourcery.com>
5117
5118 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5119 double_label.
5120 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5121 partial_label and double_label.
5122
56083b99
DB
51232014-04-24 David Blaikie <dblaikie@gmail.com>
5124
5125 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5126
25d4e99d
DB
51272014-04-24 David Blaikie <dblaikie@gmail.com>
5128
5129 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5130 of the function to work across GCC and Clang.
5131 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5132 pointer types (const void ** const V void **).
5133
01f9f808
MS
51342014-04-24 Michael Sturm <michael.sturm@mintel.com>
5135 Walfred Tedeschi <walfred.tedeschi@intel.com>
5136
5137 * Makefile.in (EXECUTABLES): Added i386-avx512.
5138 * gdb.arch/i386-avx512.c: New file.
5139 * gdb.arch/i386-avx512.exp: Likewise.
5140
4b48d439
KS
51412014-04-23 Keith Seitz <keiths@redhat.com>
5142
5143 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5144 (mi_make_breakpoint_table): New procedure.
5145 (mi_create_breakpoint): Use mi_make_breakpoint
5146 and return the result.
5147 (mi_make_breakpoint): New procedure.
5148 (mi_build_kv_pairs): New procedure.
5149
5150 * gdb.mi/mi-break.exp: Remove unused globals,
5151 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5152 All callers updated.
5153 * gdb.mi/mi-dprintf.exp: Use variable to track command
5154 number.
5155 Update all callers of mi_create_breakpoint and use
5156 mi_make_breakpoint_table.
5157 Remove any unused global variables.
5158 * gdb.mi/mi-nonstop.exp: Likewise.
5159 * gdb.mi/mi-nsintrall.exp: Likewise.
5160 * gdb.mi/mi-nsmoribund.exp: Likewise.
5161 * gdb.mi/mi-nsthrexec.exp: Likewise.
5162 * gdb.mi/mi-reverse.exp: Likewise.
5163 * gdb.mi/mi-simplerun.exp: Likewise.
5164 * gdb.mi/mi-stepn.exp: Likewise.
5165 * gdb.mi/mi-syn-frame.exp: Likewise.
5166 * gdb.mi/mi-until.exp: Likewise.
5167 * gdb.mi/mi-var-cp.exp: Likewise.
5168 * gdb.mi/mi-var-display.exp: Likewise.
5169 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5170 * gdb.mi/mi2-var-child.exp: Likewise.
5171 * gdb.mi/mi-vla-c99.exp: Likewise.
5172 * lib/mi-support.exp: Likewise.
5173
5174 From Ian Lance Taylor <iant@cygnus.com>:
5175 * lib/gdb.exp (parse_args): New procedure.
5176
08351840
PA
51772014-04-23 Pedro Alves <palves@redhat.com>
5178
5179 * gdb.base/break-unload-file.c: New file.
5180 * gdb.base/break-unload-file.exp: New file.
5181 * gdb.base/sym-file-lib.c (baz): New function.
5182 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5183 field.
5184 (load): Store the segment's mapped size.
5185 (unload): New function.
5186 (unload_shlib): New function.
5187 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5188 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5189 set a breakpoint at baz, and call it.
5190 * gdb.base/sym-file.exp: New tests for stale breakpoint
5191 instructions.
5192
076855f9
PA
51932014-04-23 Pedro Alves <palves@redhat.com>
5194
5195 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5196 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5197 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5198 * gdb.base/hbreak-unmapped.c: New file.
5199 * gdb.base/hbreak-unmapped.exp: New file.
5200 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5201 * lib/gdb.exp (gdb_is_target_remote): ... here.
5202
483805cf
PA
52032014-04-22 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.base/consecutive-step-over.c: New file.
5206 * gdb.base/consecutive-step-over.exp: New file.
5207
06d97543
PA
52082014-04-22 Pedro Alves <palves@redhat.com>
5209
5210 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5211 instead of send_gdb/gdb_expect.
5212
b4429ea2
YQ
52132014-04-22 Yao Qi <yao@codesourcery.com>
5214
5215 * lib/trace-support.exp (generate_tracefile): New procedure.
5216 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5217 return 0.
5218 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5219 if generate_tracefile returns 1.
5220
51d48146
PA
52212014-04-18 Tom Tromey <palves@redhat.com>
5222 Pedro alves <tromey@redhat.com>
5223
5224 PR backtrace/15558
5225 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5226 with a backtrace limit.
5227 * gdb.python/py-frame-inline.exp: Test running to an inline
5228 function with a backtrace limit, and printing the newest frame.
5229 * gdb.python/py-frame-inline.c (main): Call f.
5230
bd1dce5f
MS
52312014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5232
5233 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5234
40d1a503
MS
52352014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5236
5237 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5238 Drop prefix from unsupported source file path.
5239
389b98f7
YQ
52402014-04-17 Yao Qi <yao@codesourcery.com>
5241
5242 * lib/gdb.exp (with_target_charset): New proc.
5243 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5244 with_target_charset.
5245 (test_print_strings): Likewise.
5246 (test_repeat_bytes): Likewise.
5247 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5248 for some tests.
5249
22869d73
KS
52502014-04-16 Keith Seitz <keiths@redhat.com>
5251
5252 PR gdb/15827
5253 * gdb.dwarf2/corrupt.c: New file.
5254 * gdb.dwarf2/corrupt.exp: New file.
5255
c4f87ca6
KS
52562014-04-16 Keith Seitz <keiths@redhat.com>
5257
5258 PR c++/16597
5259 * gdb.cp/namelessclass.cc: New file.
5260 * gdb.cp/namelessclass.exp: New file.
5261 * gdb.cp/namelessclass.S: New file.
5262
ab19de87
DE
52632014-04-16 Doug Evans <dje@google.com>
5264
5265 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5266 Add comment.
5267 (gdbserver_default_get_comm_port): New function.
5268 (gdbserver_start): Check if board file provided
5269 "gdbserver,get_comm_port" and use it if so.
5270 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5271 (gdb,socketport): Set to "stdio".
5272 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5273 (stdio_gdbserver_template): Delete.
5274 (${board}_get_remote_address): Update.
5275 (${board}_build_remote_cmd): Delete.
5276 (${board}_get_comm_port): New function.
5277 (${board}_spawn): Update.
5278 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5279 Delete.
5280 (${board}_get_remote_address): Update.
5281 (${board}_get_comm_port): New function.
5282
fc98a809
AB
52832014-04-16 Andrew Burgess <aburgess@broadcom.com>
5284
5285 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5286 appearing in any order.
5287
87fd9e6e
DE
52882014-04-15 Doug Evans <dje@google.com>
5289
5290 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5291 uninitialized value of "description".
5292
099fc3ea
KS
52932014-04-15 Keith Seitz <keiths@redhat.com>
5294
5295 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5296 Remove unused globals.
5297 (test_running_the_program): Likewise.
5298 (test_controlled_execution): Likewise.
5299 (test_controlling_breakpoints): Likewise.
5300 (test_program_termination): Likewise.
5301
5da151d4
KS
53022014-04-15 Keith Seitz <keiths@redhat.com>
5303
5304 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5305 unused globals.
5306 (test_rbreak_creation_and_listing): Likewise.
5307 (test_ignore_count): Likewise.
5308 (test_error): Likewise.
5309
35e5d2f0
PA
53102014-04-15 Pedro Alves <palves@redhat.com>
5311
5312 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5313 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5314 sym-file-loader.c.
5315 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5316 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5317 to sym-file-loader.c.
5318 (struct library): Forward declare.
5319 (load_shlib, lookup_function): Change prototypes.
5320 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5321 (translate_offset): Remove declarations.
5322 (get_text_addr): New declaration.
5323 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5324 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5325 sym-file-loader.h.
5326 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5327 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5328 here from sym-file-loader.h.
5329 (struct library): New structure.
5330 (load_shlib, lookup_function): Change prototypes and adjust to
5331 work with a struct library.
5332 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5333 (translate_offset): Make static.
5334 (get_text_addr): New function.
5335 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5336
eb4c1710
PA
53372014-04-15 Pedro Alves <palves@redhat.com>
5338
5339 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5340
2d1baf52
PA
53412014-04-15 Pedro Alves <palves@redhat.com>
5342
5343 * gdb.base/sym-file-loader.c: Include <limits.h>.
5344 (SELF_LINK): New define.
5345 (get_origin): New function.
5346 (load_shlib): Use it.
5347 * gdb.base/sym-file.exp: Don't early return if the target is
5348 remote. Use runto_main, and issue fail is that fails. Use
5349 gdb_load_shlibs.
5350 (shlib_name): Delete.
5351 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5352
7dd6df01
PA
53532014-04-15 Pedro Alves <palves@redhat.com>
5354
5355 * gdb.base/sym-file.exp: Remove regex characters from test
5356 message. Don't refer to breakpoint numbers in test messages.
5357
b50c8614
KS
53582014-04-14 Keith Seitz <keiths@redhat.com>
5359
5360 PR c++/16253
5361 * gdb.cp/var-tag.cc: New file.
5362 * gdb.cp/var-tag.exp: New file.
5363 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5364 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5365 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5366 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5367
3d567982
TT
53682014-04-14 Tom Tromey <tromey@redhat.com>
5369
5370 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5371 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5372 type.
5373 * gdb.cp/enum-class.exp: New file.
5374 * gdb.cp/enum-class.cc: New file.
5375
0626fc76
TT
53762014-04-14 Tom Tromey <tromey@redhat.com>
5377
5378 * gdb.dwarf2/enum-type.exp: New file.
5379
dca325b3
SA
53802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5381
5382 * gdb.mi/mi-vla-c99.exp: New file.
5383 * gdb.mi/vla.c: New file.
5384
5854b38a
SA
53852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5386
5387 * gdb.base/vla-datatypes.c: New file.
5388 * gdb.base/vla-datatypes.exp: New file.
5389
463bb957
SA
53902014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5391
5392 * gdb.base/vla-ptr.c: New file.
5393 * gdb.base/vla-ptr.exp: New file.
5394
3dd170be
SA
53952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5396
5397 * gdb.dwarf2/count.exp: New file.
5398
5ecaaa66
SA
53992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5400
5401 * gdb.base/vla-sideeffect.c: New file.
5402 * gdb.base/vla-sideeffect.exp: New file.
5403
41f1ada5
DB
54042014-04-14 David Blaikie <dblaikie@gmail.com>
5405
5406 * gdb.mi/non-stop.c: Add return value for non-void function return
5407 statement.
5408 * gdb.threads/staticthreads.c: Ditto.
5409
0be03e84
DE
54102014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5411 Doug Evans <xdje42@gmail.com>
5412
5413 * gdb.guile/scm-value.c: Improve test case.
5414 * gdb.guile/scm-value.exp: Add new test.
5415
f180a1fb
DB
54162014-04-11 David Blaikie <dblaikie@gmail.com>
5417
5418 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5419 override Clang's default.
5420
6b662e19
JB
54212014-04-11 Joel Brobecker <brobecker@adacore.com>
5422
5423 Revert the following changes (regressions):
5424
5425 * gdb.base/vla-sideeffect.c: New file.
5426 * gdb.base/vla-sideeffect.exp: New file.
5427
5428 * gdb.dwarf2/count.exp: New file.
5429
5430 * gdb.base/vla-multi.c: New file.
5431 * gdb.base/vla-multi.exp: New file.
5432
5433 * gdb.base/vla-ptr.c: New file.
5434 * gdb.base/vla-ptr.exp: New file.
5435
5436 * gdb.base/vla-datatypes.c: New file.
5437 * gdb.base/vla-datatypes.exp: New file.
5438
5439 * gdb.mi/mi-vla-c99.exp: New file.
5440 * gdb.mi/vla.c: New file.
5441
245a5f0b
KS
54422014-04-11 Keith Seitz <keiths@redhat.com>
5443
5444 PR c++/16675
5445 * gdb.cp/cpsizeof.exp: New file.
5446 * gdb.cp/cpsizeof.cc: New file.
5447
58a84dcf
SA
54482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5449
191a8a90
JB
5450 * gdb.mi/mi-vla-c99.exp: New file.
5451 * gdb.mi/vla.c: New file.
58a84dcf 5452
c8655f75
SA
54532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5454
5455 * gdb.base/vla-datatypes.c: New file.
5456 * gdb.base/vla-datatypes.exp: New file.
5457
024e13b4
SA
54582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5459
5460 * gdb.base/vla-ptr.c: New file.
5461 * gdb.base/vla-ptr.exp: New file.
5462
1a237e0e
SA
54632014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5464
5465 * gdb.base/vla-multi.c: New file.
5466 * gdb.base/vla-multi.exp: New file.
5467
504f3432
SA
54682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5469
5470 * gdb.dwarf2/count.exp: New file.
5471
3bce8237
SA
54722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5473
191a8a90
JB
5474 * gdb.base/vla-sideeffect.c: New file.
5475 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5476
322f9c21
YQ
54772014-04-11 Yao Qi <yao@codesourcery.com>
5478
5479 * gdb.base/completion.exp: Check file exists before running tests
5480 on file completion.
5481
d708bcd1
PA
54822014-04-10 Pedro Alves <palves@redhat.com>
5483
5484 * gdb.base/cond-eval-mode.c: New file.
5485 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5486 prepare_for_testing to build the new file. Check result of
5487 runto_main.
5488 (test_break, test_watch): New procedures.
5489 (top level): Use them.
5490
ae1d2761
PM
54912014-04-08 Pierre Muller <muller@sourceware.org>
5492
5493 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5494 Ctrl-V use for mingw hosts.
5495
7af389b8
SC
54962014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5497
5498 * gdb.python/py-value.c: Improve test case.
5499 * gdb.python/py-value.exp: Add new test.
5500
5e703181
DE
55012014-04-07 David Blaikie <dblaikie@gmail.com>
5502
5503 * lib/compiler.c: Identify the clang compiler.
5504 * lib/compiler.cc: Ditto.
5505
9810b410
YQ
55062014-04-03 Yao Qi <yao@codesourcery.com>
5507
5508 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5509
98d1b8dc
AB
55102014-04-01 Anton Blanchard <anton@samba.org>
5511
5512 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5513 messages unique.
5514
3114cea1
AB
55152014-04-01 Anton Blanchard <anton@samba.org>
5516
5517 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5518 prepare_for_testing.
5519
62f7182c
AB
55202014-04-01 Anton Blanchard <anton@samba.org>
5521
5522 * gdb.arch/ppc64-atomic-inst.c: Remove.
5523 * gdb.arch/ppc64-atomic-inst.S: New file.
5524 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5525
770e7fc7
DE
55262014-03-31 Doug Evans <dje@google.com>
5527
5528 * gdb.base/print-symbol-loading-lib.c: New file.
5529 * gdb.base/print-symbol-loading-main.c: New file.
5530 * gdb.base/print-symbol-loading.exp: New file.
5531
46e2bafa
YQ
55322014-03-31 Yao Qi <yao@codesourcery.com>
5533
5534 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5535
8776cfe9
JB
55362014-03-28 Joel Brobecker <brobecker@adacore.com>
5537
5538 * gdb.ada/mi_dyn_arr: New testcase.
5539
5d1ef361
DE
55402014-03-27 Doug Evans <dje@google.com>
5541
5542 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5543
b5bee914
YQ
55442014-03-27 Yao Qi <yao@codesourcery.com>
5545
5546 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5547 if target is nios2-*-*.
5548
0d4d0e77
YQ
55492014-03-26 Yao Qi <yao@codesourcery.com>
5550
5551 * lib/gdb.exp (readline_is_used): New proc.
5552 * gdb.base/completion.exp: Move tests on command complete up.
5553 Skip the rest of tests if readline is not used.
5554 * gdb.ada/complete.exp: Skp the test if readline is not
5555 used.
5556 * gdb.base/filesym.exp: Likewise.
5557 * gdb.base/macscp.exp: Likewise.
5558 * gdb.base/readline-ask.exp: Likewise.
5559 * gdb.base/readline.exp: Likewise.
5560 * gdb.python/py-cmd.exp: Likewise.
5561 * gdb.trace/tfile.exp: Likewise.
5562
29361eee
YQ
55632014-03-26 Yao Qi <yao@codesourcery.com>
5564
5565 * gdb.base/macscp.exp: Fix code format issues.
5566
bc9a5525
UW
55672014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5568
5569 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5570 * gdb.asm/powerpc64le.inc: New file.
5571
d3839ede
PA
55722014-03-25 Pedro Alves <palves@redhat.com>
5573 Doug Evans <dje@google.com>
5574
5575 * gdb.base/source-execution.c: New file.
5576 * gdb.base/source-execution.exp: New file.
5577 * gdb.base/source-execution.gdb: New file.
5578
01672a57
DE
55792014-03-24 Doug Evans <dje@google.com>
5580
5581 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5582 using fission.
5583
88bbeca9
HZ
55842014-03-24 Hui Zhu <hui@codesourcery.com>
5585 Pedro Alves <palves@redhat.com>
5586
5587 PR breakpoints/16101
5588 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5589 test pass/fail messages. Detect missing support for dprintf when
5590 breakpoints are actually inserted.
5591 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5592 breakpoints are actually inserted.
5593 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5594 fails.
5595
d2348791
JK
55962014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5597
5598 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5599
feef67ab
DE
56002014-03-22 Doug Evans <xdje42@gmail.com>
5601
5602 * gdb.python/python.exp (python not supported): Verify multi-line
5603 python command issues an error.
25d743f9 5604 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5605 guile command issues an error.
feef67ab 5606
ecebef6a
MR
56072014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5608
5609 * gdb.threads/thread-specific.exp: Handle the lack of usable
5610 $this_breakpoint and $this_thread.
5611
ccdd1909
HZ
56122014-03-21 Hui Zhu <hui@codesourcery.com>
5613
5614 * gdb.base/attach.exp (do_command_attach_tests): New.
5615
beb460e8
PA
56162014-03-20 Tom Tromey <tromey@redhat.com>
5617 Pedro Alves <palves@redhat.com>
5618
5619 PR cli/15718
5620 * gdb.base/condbreak-call-false.c: New file.
5621 * gdb.base/condbreak-call-false.exp: New file.
5622
40acf43a
PA
56232014-03-20 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5626 Delete.
5627 (block_signals, unblock_signals): Delete.
5628 (child_function_2, main): Remove references to deleted variable
5629 and functions.
5630
9f5e1e02
PA
56312014-03-20 Pedro Alves <palves@redhat.com>
5632
5633 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5634 Use pthread_kill to signal thread 2.
5635 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5636 Adjust to make the test send itself a signal rather than using the
5637 host's "kill" command.
5638
99619bea
PA
56392014-03-20 Pedro Alves <palves@redhat.com>
5640
5641 * gdb.threads/multiple-step-overs.c: New file.
5642 * gdb.threads/multiple-step-overs.exp: New file.
5643 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5644 Adjust expected infrun debug output.
5645
2adfaa28
PA
56462014-03-20 Pedro Alves <palves@redhat.com>
5647
5648 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5649 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5650
31e77af2
PA
56512014-03-20 Pedro Alves <palves@redhat.com>
5652
5653 PR breakpoints/7143
5654 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5655 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5656 of gdb_test_multiple.
5657 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5658 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5659
b9f437de
PA
56602014-03-20 Pedro Alves <palves@redhat.com>
5661
5662 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5663 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5664
05adc73e
PA
56652014-03-19 Pedro Alves <palves@redhat.com>
5666
5667 * gdb.base/async.exp: Remove early return.
5668
6048b950
PA
56692014-03-19 Pedro Alves <palves@redhat.com>
5670
5671 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5672
8bcfb00a
PA
56732014-03-19 Pedro Alves <palves@redhat.com>
5674
5675 * gdb.base/async.exp (test_background): Expect \r\n after
5676 "completed." in the fail pattern.
5677
884e37dc
PA
56782014-03-19 Pedro Alves <palves@redhat.com>
5679
5680 * gdb.base/async.exp (test_background): New procedure.
5681 Use it for all background execution command tests.
5682
148e57e2
PA
56832014-03-19 Pedro Alves <palves@redhat.com>
5684
5685 * gdb.base/async.exp: Use prepare_for_testing.
5686
f48088c7
PA
56872014-03-19 Pedro Alves <palves@redhat.com>
5688
5689 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5690 the same line.
5691
e2f6c966
PA
56922014-03-19 Pedro Alves <palves@redhat.com>
5693
5694 * gdb.base/async.c (main): Add "jump here" and "until here" line
5695 marker comments.
5696 * gdb.base/async.exp (jump_here): New global.
5697 (jump& test): Use it.
5698 (until_here): New global.
5699 (until& test): Use it.
5700
c30568d4
PA
57012014-03-19 Pedro Alves <palves@redhat.com>
5702
5703 * gdb.base/async.exp: Don't frob gdb_protocol.
5704
0172b6a7
DE
57052014-03-18 Doug Evans <xdje42@gmail.com>
5706
5707 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5708 Fix spelling of exec-done-display.
5709
06c868a8
JK
57102014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5711
5712 PR gdb/15358
5713 * gdb.base/gdb-sigterm.c: New file.
5714 * gdb.base/gdb-sigterm.exp: New file.
5715
0c7e1a46
PA
57162014-03-18 Pedro Alves <palves@redhat.com>
5717
5718 PR gdb/13860
5719 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5720 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5721 solib-event.
5722
f7c77d93
JB
57232014-03-17 Joel Brobecker <brobecker@adacore.com>
5724
5725 * gdb.ada/pckd_arr_ren: New testcase.
5726
5a1e8c7a
DE
57272014-03-13 Doug Evans <xdje42@gmail.com>
5728
5729 PR guile/16612
5730 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5731 collect after discarding symbols.
5732
350e1a76
DE
57332014-03-13 Ludovic Courtès <ludo@gnu.org>
5734 Doug Evans <xdje42@gmail.com>
5735
5736 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5737 to history survives a gc.
5738
a69900ae
PA
57392014-03-13 Pedro Alves <palves@redhat.com>
5740
5741 * gdb.base/default.exp: Don't test "target procfs".
5742
5db9f0bd
PA
57432014-03-13 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.base/default.exp: Update "target child" and "target procfs"
5746 tests to not expect "Unix".
5747
b3ccfe11
TT
57482014-03-12 Tom Tromey <tromey@redhat.com>
5749
5750 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5751 New procs. Add target-async tests.
5752 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5753 Add target-async tests.
5754
646f4417
AA
57552014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5756
5757 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5758 'func_start' and 'func_end' for the beginning and end of the
5759 function code, respectively.
5760 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5761 'func_end' instead of 'func' and 'main'.
5762
288c211f
AA
57632014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5764
5765 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5766 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5767 generate the debug info assembler source.
5768
e0c0f156
AA
57692014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5770
5771 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5772 * gdb.dwarf2/arr-subrange.exp: Likewise.
5773 * gdb.dwarf2/dwz.exp: Likewise.
5774 * gdb.dwarf2/method-ptr.exp: Likewise.
5775 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5776 * gdb.dwarf2/subrange.exp: Likewise.
5777 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5778 * gdb.dwarf2/implptrpiece.exp: Likewise.
5779 * gdb.dwarf2/nostaticblock.exp: Likewise.
5780
0e5c4555
AA
57812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5782
5783 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5784 directory to absolute path name arguments.
5785
5ec18f2b
JG
57862014-03-10 Joel Brobecker <brobecker@adacore.com>
5787
5788 * gdb.ada/tagged_access: New testcase.
5789
847fc4f2
MM
57902014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5791
5792 * gdb.btrace/data.exp: Update expected output.
5793
cc3da688
YQ
57942014-03-06 Yao Qi <yao@codesourcery.com>
5795
5796 * gdb.trace/pr16508.exp: New file.
5797
0f26cec1
PA
57982014-03-05 Pedro Alves <palves@redhat.com>
5799
5800 PR gdb/16575
5801 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5802 procedure.
5803 (top level): Adjust to use it. Add tests that exercise breakpoint
5804 interaction with the code-cache.
5805
7a5a839f
LC
58062014-02-26 Ludovic Courtès <ludo@gnu.org>
5807
5808 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5809 test for 'history-append!'.
5810
31aa7e4e
JB
58112014-02-26 Joel Brobecker <brobecker@adacore.com>
5812
5813 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5814 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5815 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5816 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5817 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5818 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5819
1b588015
JB
58202014-02-26 Joel Brobecker <brobecker@adacore.com>
5821
5822 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5823 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5824 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5825
55426c9d
JB
58262014-02-26 Joel Brobecker <brobecker@adacore.com>
5827
5828 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5829
dc53a7ad
JB
58302014-02-26 Joel Brobecker <brobecker@adacore.com>
5831
5832 * gdb.dwarf2/arr-stride.c: New file.
5833 * gdb.dwarf2/arr-stride.exp: New file.
5834
12ab52e9
PA
58352014-02-26 Pedro Alves <palves@redhat.com>
5836
5837 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5838 that won't ever trigger. Make sure that GDB reports the correct
5839 breakpoint that caused the stop.
5840
849c862e
JK
58412014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5842
5843 PR gdb/16626
5844 * gdb.base/auto-load-script: New file.
5845 * gdb.base/auto-load.c: New file.
5846 * gdb.base/auto-load.exp: New file.
5847
71b7d793
JK
5848 PR gdb/16626
5849 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5850
e2f0d509
JK
58512014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5852
5853 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5854 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5855
50cc37c8
DE
58562014-02-24 Doug Evans <dje@google.com>
5857
5858 * lib/gdb.exp (run_on_host): Log error output if program fails.
5859
ea4758f2
PA
58602014-02-21 Pedro Alves <palves@redhat.com>
5861
5862 * gdb.threads/step-after-sr-lock.c: Rename to ...
5863 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5864 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5865 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5866 ... this.
5867
d7b30f67
SDJ
58682014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5869
5870 PR tdep/16397
5871 * gdb.arch/amd64-stap-special-operands.exp: New file.
5872 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5873 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5874 * gdb.arch/amd64-stap-triplet.S: Likewise.
5875 * gdb.arch/amd64-stap-triplet.c: Likewise.
5876
83deb43f
JB
58772014-02-20 Joel Brobecker <brobecker@adacore.com>
5878
5879 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5880 in .section pseudo-op.
5881
adde2bff
DE
58822014-02-20 lin zuojian <manjian2006@gmail.com>
5883 Joel Brobecker <brobecker@adacore.com>
5884 Doug Evans <xdje42@gmail.com>
5885
5886 PR symtab/16581
5887 * gdb.dwarf2/dw2-icycle.S: New file.
5888 * gdb.dwarf2/dw2-icycle.c: New file.
5889 * gdb.dwarf2/dw2-icycle.exp: New file.
5890
f7bd0f78
SC
58912014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5892
5893 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5894 operations on gdb.Value objects.
5895 * gdb.python/py-value-cc.exp: Add new test to test operations on
5896 gdb.Value objects.
5897
c17ef0d5
DE
58982014-02-18 Doug Evans <dje@google.com>
5899
5900 * Makefile.in (TESTS): New variable.
5901 (expanded_tests, expanded_tests_or_none): New variables
5902 (check-single): Pass $(expanded_tests_or_none) to runtest.
5903 (check-parallel): Only run tests in $(TESTS) if non-empty.
5904 (check/no-matching-tests-found): New rule.
5905 * README: Document TESTS makefile variable.
5906
5dd3176f
DE
59072014-02-18 Doug Evans <dje@google.com>
5908
5909 * Makefile.in (check-parallel): rm -rf outputs temp.
5910
0b10be4f
JK
59112014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5912
5913 Fix "ERROR: no fileid for" in the testsuite.
5914 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5915
85f224e7
DE
59162014-02-12 Doug Evans <dje@google.com>
5917
5918 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5919 (MISCELLANEOUS): New variable.
5920 (clean): rm -rf $(MISCELLANEOUS).
5921 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5922 dwp live in the same directory as symlinks, with each symlink pointed
5923 to a differently named file in a different directory.
5924
149b30ff
DE
59252014-02-11 Doug Evans <dje@google.com>
5926
5927 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5928 of Tcl file commands.
5929
1dfdac32
MK
59302014-02-10 Mark Kettenis <kettenis@gnu.org>
5931
5932 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5933 "kill -SIGUSR1 -1".
5934
aa4fb036
JB
59352014-02-10 Joel Brobecker <brobecker@adacore.com>
5936
5937 * gdb.ada/tick_length_array_enum_idx: New testcase.
5938
ed3ef339
DE
59392014-02-10 Doug Evans <xdje42@gmail.com>
5940
5941 * configure.ac (AC_OUTPUT): Add gdb.guile.
5942 * configure: Regenerate.
5943 * lib/gdb-guile.exp: New file.
5944 * lib/gdb.exp (get_target_charset): New function.
5945 * gdb.base/help.exp: Update expected output from "apropos apropos".
5946 * gdb.guile/Makefile.in: New file.
5947 * gdb.guile/guile.exp: New file.
5948 * gdb.guile/scm-arch.c: New file.
5949 * gdb.guile/scm-arch.exp: New file.
5950 * gdb.guile/scm-block.c: New file.
5951 * gdb.guile/scm-block.exp: New file.
5952 * gdb.guile/scm-breakpoint.c: New file.
5953 * gdb.guile/scm-breakpoint.exp: New file.
5954 * gdb.guile/scm-disasm.c: New file.
5955 * gdb.guile/scm-disasm.exp: New file.
5956 * gdb.guile/scm-equal.c: New file.
5957 * gdb.guile/scm-equal.exp: New file.
5958 * gdb.guile/scm-error.exp: New file.
5959 * gdb.guile/scm-error.scm: New file.
5960 * gdb.guile/scm-frame-args.c: New file.
5961 * gdb.guile/scm-frame-args.exp: New file.
5962 * gdb.guile/scm-frame-args.scm: New file.
5963 * gdb.guile/scm-frame-inline.c: New file.
5964 * gdb.guile/scm-frame-inline.exp: New file.
5965 * gdb.guile/scm-frame.c: New file.
5966 * gdb.guile/scm-frame.exp: New file.
5967 * gdb.guile/scm-generics.exp: New file.
5968 * gdb.guile/scm-gsmob.exp: New file.
5969 * gdb.guile/scm-iterator.c: New file.
5970 * gdb.guile/scm-iterator.exp: New file.
5971 * gdb.guile/scm-math.c: New file.
5972 * gdb.guile/scm-math.exp: New file.
5973 * gdb.guile/scm-objfile-script-gdb.in: New file.
5974 * gdb.guile/scm-objfile-script.c: New file.
5975 * gdb.guile/scm-objfile-script.exp: New file.
5976 * gdb.guile/scm-objfile.c: New file.
5977 * gdb.guile/scm-objfile.exp: New file.
5978 * gdb.guile/scm-ports.exp: New file.
5979 * gdb.guile/scm-pretty-print.c: New file.
5980 * gdb.guile/scm-pretty-print.exp: New file.
5981 * gdb.guile/scm-pretty-print.scm: New file.
5982 * gdb.guile/scm-section-script.c: New file.
5983 * gdb.guile/scm-section-script.exp: New file.
5984 * gdb.guile/scm-section-script.scm: New file.
5985 * gdb.guile/scm-symbol.c: New file.
5986 * gdb.guile/scm-symbol.exp: New file.
5987 * gdb.guile/scm-symtab-2.c: New file.
5988 * gdb.guile/scm-symtab.c: New file.
5989 * gdb.guile/scm-symtab.exp: New file.
5990 * gdb.guile/scm-type.c: New file.
5991 * gdb.guile/scm-type.exp: New file.
5992 * gdb.guile/scm-value-cc.cc: New file.
5993 * gdb.guile/scm-value-cc.exp: New file.
5994 * gdb.guile/scm-value.c: New file.
5995 * gdb.guile/scm-value.exp: New file.
5996 * gdb.guile/source2.scm: New file.
5997 * gdb.guile/types-module.cc: New file.
5998 * gdb.guile/types-module.exp: New file.
5999
7026a7c1
YQ
60002014-02-10 Yao Qi <yao@codesourcery.com>
6001
6002 PR testsuite/16543
6003 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6004 * configure: Regenerated.
6005 * Makefile.in: New file.
6006
6c466447
AS
60072014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6008
6009 * gdb.python/py-framefilter.exp: Fix typo.
6010
6e854735
YQ
60112014-02-08 Yao Qi <yao@codesourcery.com>
6012
6013 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6014 that no =breakpoint-modified is emitted when breakpoints are
6015 modified through MI commands.
6016
d137e6dc
PA
60172014-02-07 Pedro Alves <pedro@codesourcery.com>
6018 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.threads/step-after-sr-lock.c: New file.
6021 * gdb.threads/step-after-sr-lock.exp: New file.
6022
b5ee5a50
PA
60232014-02-07 Pedro Alves <palves@redhat.com>
6024
6025 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6026
3c77faf3
JK
60272014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6028
6029 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6030 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6031
6dddc817
DE
60322014-02-06 Doug Evans <xdje42@gmail.com>
6033
6034 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6035 output.
6036
6037 * gdb.gdb/python-interrupts.exp: New file.
6038
de7b2893
YQ
60392014-02-05 Yao Qi <yao@codesourcery.com>
6040
6041 * gdb.trace/report.exp (use_collected_data): Test the output
6042 of "info threads" and "info inferiors".
6043
66d032ac
YQ
60442014-02-05 Yao Qi <yao@codesourcery.com>
6045
6046 Revert this patch:
6047
6048 2013-05-24 Yao Qi <yao@codesourcery.com>
6049
6050 * gdb.trace/tfile.exp: Test inferior and thread.
6051
591a12a1
UW
60522014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6053
6054 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6055 on a function.
6056 * gdb.base/step-bt.c: Call hello via function pointer to make
6057 sure its first instruction is executed on powerpc64le-linux.
6058
0ff3e01f
UW
60592014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6060
6061 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6062
084ee545
UW
60632014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6064
6065 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6066 of the test patterns for use on little-endian systems.
6067
6ed14ff3
UW
60682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6069
6070 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6071 (decimal_vector): Fix for little-endian.
6072
401e27fd
JM
60732014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6074
6075 * gdb.arch/sparc-sysstep.exp: New file.
6076 * gdb.arch/sparc-sysstep.c: Likewise.
6077
6078 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6079
8b924729
EBM
60802014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6081
6082 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6083
fb151210
JB
60842014-01-23 Tom Tromey <tromey@redhat.com>
6085
6086 * gdb.ada/array_char_idx: New testcase.
6087
0740f8d8
TT
60882014-01-23 Tom Tromey <tromey@redhat.com>
6089
6090 PR python/16487:
6091 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6092 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6093 classes.
6094
21909fa1
TT
60952014-01-23 Tom Tromey <tromey@redhat.com>
6096
6097 PR python/16491:
6098 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6099 string from an inferior frame.
6100 * gdb.python/py-framefilter-mi.exp: Update.
6101
87ce2a04
DE
61022014-01-22 Doug Evans <dje@google.com>
6103
6104 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6105
237b092b
AA
61062014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6107
6108 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6109
d674a709
AA
61102014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6111
6112 * gdb.trace/entry-values.exp: Remove excess space character from
6113 regex patterns. Handle s390 call instruction.
6114
20fa3390
AA
61152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6116
6117 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6118 define "*_start" label. Make "name" static.
6119 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6120 ${name} by references to ${name}_start.
6121
78466714
AA
61222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6123
6124 * gdb.base/info-macros.exp: Remove "debug" from the compile
6125 options.
6126
ec9f644a
IB
61272014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6128
6129 * gdb.dlang/demangle.exp: New file.
6130
94b1b47e
IB
61312014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6132
6133 * gdb.dlang/primitive-types.exp: New file.
6134
7f420862
IB
61352014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6136
6137 * configure.ac: Create gdb.dlang/Makefile.
6138 * configure: Regenerate.
6139 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6140 * gdb.dlang/Makefile.in: New file.
6141 * lib/d-support.exp: New file.
6142 * lib/gdb.exp (skip_d_tests): New proc.
6143
52834460
MM
61442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6145
6146 * gdb.btrace/delta.exp: Check reverse stepi.
6147 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6148 * gdb.btrace/finish.exp: New.
6149 * gdb.btrace/next.exp: New.
6150 * gdb.btrace/nexti.exp: New.
6151 * gdb.btrace/record_goto.c: Add comments.
6152 * gdb.btrace/step.exp: New.
6153 * gdb.btrace/stepi.exp: New.
6154 * gdb.btrace/multi-thread-step.c: New.
6155 * gdb.btrace/multi-thread-step.exp: New.
6156 * gdb.btrace/rn-dl-bind.c: New.
6157 * gdb.btrace/rn-dl-bind.exp: New.
6158 * gdb.btrace/data.c: New.
6159 * gdb.btrace/data.exp: New.
6160 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6161
6e07b1d2
MM
61622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6163
6164 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6165 * gdb.btrace/exception.exp: Update.
6166 * gdb.btrace/instruction_history.exp: Update.
6167 * gdb.btrace/record_goto.exp: Update.
6168 * gdb.btrace/tailcall.exp: Update.
6169 * gdb.btrace/unknown_functions.exp: Update.
6170 * gdb.btrace/delta.exp: New.
6171
0b722aec
MM
61722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6173
6174 * gdb.btrace/record_goto.exp: Add backtrace test.
6175 * gdb.btrace/tailcall.exp: Add backtrace test.
6176
066ce621
MM
61772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6178
6179 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6180 * gdb.btrace/record_goto.c: New.
6181 * gdb.btrace/record_goto.exp: New.
6182 * gdb.btrace/x86-record_goto.S: New.
6183
0688d04e
MM
61842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6185
6186 * gdb.btrace/function_call_history.exp: Update tests.
6187 * gdb.btrace/instruction_history.exp: Update tests.
6188
8710b709
MM
61892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6190
6191 * gdb.btrace/function_call_history.exp: Fix expected field
6192 order for "record function-call-history".
6193 Add new tests for "record function-call-history /c".
6194 * gdb.btrace/exception.cc: New.
6195 * gdb.btrace/exception.exp: New.
6196 * gdb.btrace/tailcall.exp: New.
6197 * gdb.btrace/x86-tailcall.S: New.
6198 * gdb.btrace/x86-tailcall.c: New.
6199 * gdb.btrace/unknown_functions.c: New.
6200 * gdb.btrace/unknown_functions.exp: New.
6201 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6202
5de9129b
MM
62032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6204
6205 * gdb.btrace/instruction_history.exp: Update.
6206 * gdb.btrace/function_call_history.exp: Update.
6207
23a7fe75
MM
62082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6209
6210 * gdb.btrace/function_call_history.exp: Fix expected function
6211 trace.
6212 * gdb.btrace/instruction_history.exp: Initialize traced.
6213 Remove traced_functions.
6214
724c7dd8
MM
62152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6216
6217 * gdb.btrace/function_call_history.exp: Update
6218 * gdb.btrace/instruction_history.exp: Update.
6219
6d78d93b
MM
62202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6221
6222 * gdb.btrace/enable.exp: Update expected text.
6223
93a360cc
OJ
62242014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6225
6226 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6227 bytes.
6228
3772b53f
MR
62292014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6230
6231 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6232
596662fa
OJ
62332014-01-15 Omair Javaid <omair.javaid@linaro.org>
6234
6235 * lib/gdb.exp (supports_process_record): Return true for
6236 arm*-linux*. (supports_reverse): Likewise.
6237
b5b08fb4
SC
62382014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6239
6240 PR python/15464
6241 PR python/16113
6242 * gdb.python/py-type.c: Enhance test case.
6243 * gdb.python/py-value-cc.cc: Likewise
6244 * gdb.python/py-type.exp: Add new tests.
6245 * gdb.python/py-value-cc.exp: Likewise
6246
52d7fb13
AA
62472014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6248 Pedro Alves <palves@redhat.com>
6249
6250 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6251 Make "name" extern.
6252 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6253 references to ${name}_start by references to ${name}.
6254
a2cd8cfe
JB
62552014-01-10 Joel Brobecker <brobecker@adacore.com>
6256
6257 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6258
4e23fced
JB
62592014-01-10 Joel Brobecker <brobecker@adacore.com>
6260
6261 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6262
c6a9e42c
PA
62632014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6264 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6267 mi_gdb_target_load.
c6a9e42c 6268
b7ea362b
PA
62692014-01-08 Pedro Alves <palves@redhat.com>
6270
6271 * gdb.threads/reconnect-signal.c: New file.
6272 * gdb.threads/reconnect-signal.exp: New file.
6273
5e3f4fab
EBM
62742014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6275
6276 * gdb.base/source-dir.exp: New file.
6277
79301218
JB
62782014-01-07 Joel Brobecker <brobecker@adacore.com>
6279
6280 * gdb.ada/mi_interface: New testcase.
6281
8e355c5d
JB
62822014-01-07 Joel Brobecker <brobecker@adacore.com>
6283
6284 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6285 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6286 gdb.ada/pp-rec-component/pck.ads: New files.
6287
c0d48811
JB
62882014-01-07 Joel Brobecker <brobecker@adacore.com>
6289
6290 * gdb.python/py-pp-integral.c: New file.
6291 * gdb.python/py-pp-integral.py: New file.
6292 * gdb.python/py-pp-integral.exp: New file.
6293
17b609c3 6294For older changes see ChangeLog-1993-2013.
c906108c 6295\f
8d8cb839
EZ
6296;; Local Variables:
6297;; mode: change-log
6298;; left-margin: 8
6299;; fill-column: 74
6300;; version-control: never
6301;; End:
902f2ccb 6302
32d0add0 6303 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6304 Copying and distribution of this file, with or without modification,
6305 are permitted provided the copyright notice and this notice are preserved.
This page took 4.134061 seconds and 4 git commands to generate.