]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Make it easier to debug non-stop-fair-events.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
d136eff5
PA
12015-09-16 Pedro Alves <palves@redhat.com>
2
3 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
4 (enable_debug): New procedures.
5 (test): Use them. Bail out if waiting for threads fails.
6 (top level): Bail out if a test fails.
7
991f019c
YQ
82015-09-16 Yao Qi <yao.qi@linaro.org>
9
10 * gdb.asm/asm-source.exp: Set asm-arch for
11 aarch64*-*-* target.
12 * gdb.asm/aarch64.inc: New file.
13
bfca584f
PMR
142015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15
16 * gdb.ada/array_of_variable_length.exp: New testcase.
17 * gdb.ada/array_of_variable_length/foo.adb: New file.
18 * gdb.ada/array_of_variable_length/pck.adb: New file.
19 * gdb.ada/array_of_variable_length/pck.ads: New file.
20
b326e587
DE
212015-09-15 Doug Evans <dje@google.com>
22
23 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
24 of function static local variable.
25
5382cfab
PW
262015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
27
28 * gdb.threads/tls-so_extern.exp: New test file.
29 * gdb.threads/tls-so_extern.c: New test file.
30 * gdb.threads/tls-so_extern_main.c: New test file.
31
141c5cc4
JK
322015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
33
34 * gdb.opt/solib-intra-step-lib.c: New file.
35 * gdb.opt/solib-intra-step-main.c: New file.
36 * gdb.opt/solib-intra-step.exp: New file.
37
d15dcecd
PA
382015-09-15 Pedro Alves <palves@redhat.com>
39
40 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
41 gdb_continue_to_breakpoint instead of gdb_test_multiple.
42
4c2f2a79
PA
432015-09-14 Pedro Alves <palves@redhat.com>
44
45 * gdb.base/hook-stop-continue.c: Delete.
46 * gdb.base/hook-stop-continue.exp: Delete.
47 * gdb.base/hook-stop-frame.c: Delete.
48 * gdb.base/hook-stop-frame.exp: Delete.
49 * gdb.base/hook-stop.c: New file.
50 * gdb.base/hook-stop.exp: New file.
51
919e6dbe
PMR
522015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
53
54 * gdb.ada/access_to_packed_array.exp: New testcase.
55 * gdb.ada/access_to_packed_array/foo.adb: New file.
56 * gdb.ada/access_to_packed_array/pack.adb: New file.
57 * gdb.ada/access_to_packed_array/pack.ads: New file.
58
157280a4
MM
592015-09-14 Markus Metzger <markus.t.metzger@intel.com>
60
61 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
62 buffer size test.
63
2fd33e94
DB
642015-09-11 Don Breazeal <donb@codesourcery.com>
65
66 * gdb.base/foll-exec.c: Add copyright header. Fix
67 formatting issues.
68 * gdb.base/foll-exec.exp (zap_session): Delete proc.
69 (do_exec_tests): Use clean_restart in place of zap_session,
70 and for test initialization. Fix formatting issues. Use
71 fail in place of perror.
72 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
73 an expect statement to match an expression with output from
74 the program under debug.
75 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
76 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
77 * gdb.threads/non-ldr-exc-2.exp: Likewise.
78 * gdb.threads/non-ldr-exc-3.exp: Likewise.
79 * gdb.threads/non-ldr-exc-4.exp: Likewise.
80
e70b6e8e
DE
812015-09-09 Doug Evans <dje@google.com>
82
83 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
84
7a551a51
DE
852015-09-09 Doug Evans <dje@google.com>
86
87 * gdb.base/pie-execl.exp: Fix result test of build_executable.
88
4c666f84
DE
892015-09-09 Doug Evans <dje@google.com>
90
91 * gdb.base/savedregs.exp: Fix typo.
92
243a9253
PA
932015-09-09 Pedro Alves <palves@redhat.com>
94
95 * gdb.mi/mi-cli.exp: Add CLI finish tests.
96
c0fa8fbd
SL
972015-09-08 Sandra Loosemore <sandra@codesourcery.com>
98
99 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
100 command actually switches threads. Give up on remaining
101 tests if target fails to stop at breakpoint.
102
cd7c1778
PMR
1032015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
104
105 * gdb.ada/funcall_char.exp: New testcase.
106 * gdb.ada/funcall_char/foo.adb: New file.
107
dc5c8746
PMR
1082015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
109
110 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
111 expected outputs. Add two testcases for completing ambiguous
112 functions.
113 * gdb.ada/complete/aux_pck.adb: New file.
114 * gdb.ada/complete/aux_pck.ads: New file.
115 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
116 Ambiguous_Func functions.
117 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
118 * gdb.ada/complete/pck.adb: Likewise.
119
4e83a1e7
UW
1202015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
121
122 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
123 failures to run the test program under GDB.
124
8ce74153
LM
1252015-08-26 Luis Machado <lgustavo@codesourcery.com>
126
127 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
128 to C.
129
e9756d52
PP
1302015-08-26 Patrick Palka <patrick@parcs.ath.cx>
131
132 * gdb.base/run-after-attach.exp: New test file.
133 * gdb.base/run-after-attach.c: New test file.
134
8d37573b
DB
1352015-08-26 Don Breazeal <donb@codesourcery.com>
136
137 * gdb.base/foll-exec-2.c: New test program.
138 * gdb.base/foll-exec-2.exp: New test.
139
63e43d3a
PMR
1402015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
141
142 * gdb.base/nested-subp1.exp: New file.
143 * gdb.base/nested-subp1.c: New file.
144 * gdb.base/nested-subp2.exp: New file.
145 * gdb.base/nested-subp2.c: New file.
146 * gdb.base/nested-subp3.exp: New file.
147 * gdb.base/nested-subp3.c: New file.
148
3d40fbb5
PA
1492015-08-24 Pedro Alves <palves@redhat.com>
150
151 * gdb.server/connect-without-multi-process.c: New file.
152 * gdb.server/connect-without-multi-process.exp: New file.
153
4422ac93
LM
1542015-08-24 Luis Machado <lgustavo@codesourcery.com>
155
156 * gdb.opt/inline-markers.c: Make z int.
157
91dddb86
LM
1582015-08-24 Luis Machado <lgustavo@codesourcery.com>
159
160 * gdb.opt/inline-markers.c: Make z volatile.
161
a48847ee
LM
1622015-08-24 Luis Machado <lgustavo@codesourcery.com>
163
164 * gdb.opt/inline-bt.c: New volatile global z.
165 * gdb.opt/inline-cmds.c: Likewise.
166 * gdb.opt/inline-locals.c: Likewise.
167 * gdb.opt/inline-markers.c: New extern global z.
168 (marker): Use z.
169 (inline_fn): Likewise.
170
0ebbc52b
PA
1712015-08-24 Pedro Alves <palves@redhat.com>
172
173 * config/m32r-stub.exp: Remove file.
174 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
175 * gdb.base/call-rt-st.exp: Likewise.
176 * gdb.base/call-strs.exp: Likewise.
177 * gdb.base/default.exp: Remove references to h8300-*-hms and
178 *-*-udi*.
179 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
180
77c365df
AA
1812015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
182
183 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
184 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
185 and "return" use KFAIL when GDB can not read/write the vector
186 return value.
187
4313b8c0
GB
1882015-08-21 Gary Benson <gbenson@redhat.com>
189
190 * gdb.trace/pending.exp: Cope with remote transfer warnings.
191
0e433b32
PA
1922015-08-20 Pedro Alves <palves@redhat.com>
193
194 * gdb.server/solib-list.exp: No longer expect an interior stop in
195 non-stop mode.
196
221e1a37
PA
1972015-08-20 Pedro Alves <palves@redhat.com>
198
199 * gdb.server/connect-stopped-target.c: New file.
200 * gdb.server/connect-stopped-target.exp: New file.
201
40e3ad0e
PA
2022015-08-20 Pedro Alves <palves@redhat.com>
203
204 * gdb.dwarf2/comp-unit-lang.exp: New file.
205 * gdb.dwarf2/comp-unit-lang.c: New file.
206
af39b327
PMR
2072015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
208
209 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
210 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
211
7d45c7c3
KB
2122015-08-19 Kevin Buettner <kevinb@redhat.com>
213
214 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
215 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
216
4d6cceb4
DE
2172015-08-18 Doug Evans <dje@google.com>
218 Adrian Sendroiu <adrian.sendroiu@freescale.com>
219
220 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
221 skip_python_tests. New arg prompt_regexp.
222 (skip_python_tests): New function.
223 * lib/mi-support.exp (mi_skip_python_tests): New function.
224 * gdb.python/py-mi-objfile-gdb.py: New file.
225 * gdb.python/py-mi-objfile.c: New file.
226 * gdb.python/py-mi-objfile.exp: New file.
227
ad89c2aa
KS
2282015-08-17 Keith Seitz <keiths@redhat.com>
229
230 * gdb.linespec/explicit.exp: Move strace test from here ...
231 * gdb.trace/strace.exp: ... to here.
232
e3ae3c43
PP
2332015-08-15 Patrick Palka <patrick@parcs.ath.cx>
234
235 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
236 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
237
604b2636
DE
2382015-08-14 Doug Evans <xdje42@gmail.com>
239
240 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
241 inferior before selecting a new file.
242
6ff0ba5f
DE
2432015-08-14 Doug Evans <xdje42@gmail.com>
244
245 * gdb.mi/mi-disassemble.exp: Update.
246 * gdb.base/disasm-optim.S: New file.
247 * gdb.base/disasm-optim.c: New file.
248 * gdb.base/disasm-optim.h: New file.
249 * gdb.base/disasm-optim.exp: New file.
250
9ca98f92
KS
2512015-08-14 Keith Seitz <keiths@redhat.com>
252
253 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
254 "evaluated-by".
255
52bbc560
JB
2562015-08-13 Joel Brobecker <brobecker@adacore.com>
257
258 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
259
5d8c3ed3
PMR
2602015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
261
262 * gdb.ada/fun_renaming.exp: New testcase.
263 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
264 * gdb.ada/fun_renaming/pack.adb: New file.
265 * gdb.ada/fun_renaming/pack.ads: New file.
266
ea8812bc
KS
2672015-08-12 Keith Seitz <keiths@redhat.com>
268
269 * gdb.base/dso2dso.exp: Pass basename of source file in call to
270 gdb_get_line_number.
271
4dafcdeb
JB
2722015-08-12 Joel Brobecker <brobecker@adacore.com>
273
274 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
275 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
276 gdb.base/dso2dso.exp: New files.
277
5ba32597
SDJ
2782015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
279 Pedro Alves <palves@redhat.com>
280 Keith Seitz <keiths@redhat.com>
281
282 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
283 GDBFLAGS.
284
b6dafabf
PP
2852015-08-12 Patrick Palka <patrick@parcs.ath.cx>
286
287 * gdb.base/gdbhistsize-history.exp
288 (test_histsize_history_setting): Use save_vars.
289 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
290 Use save_vars.
291 (test_no_truncation_of_unlimited_history_file): Use save_vars.
292 * gdb.base/readline.exp: Use save_vars.
293
abe8e607
PP
2942015-08-12 Patrick Palka <patrick@parcs.ath.cx>
295
296 * lib/gdb.exp (save_vars): New proc.
297
629500fa
KS
2982015-08-11 Keith Seitz <keiths@redhat.com>
299
300 * gdb.base/help.exp: Update help_breakpoint_text.
301
eb8c4e2e
KS
3022015-08-11 Keith Seitz <keiths@redhat.com>
303
304 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
305 (at toplevel): Call test_explicit_breakpoints.
306 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
307 breakpoints.
308 * lib/mi-support.exp (mi_make_breakpoint): Add support for
309 breakpoint conditions, "-cond".
310
87f0e720
KS
3112015-08-11 Keith Seitz <keiths@redhat.com>
312
313 * gdb.linespec/3explicit.c: New file.
314 * gdb.linespec/cpexplicit.cc: New file.
315 * gdb.linespec/cpexplicit.exp: New file.
316 * gdb.linespec/explicit.c: New file.
317 * gdb.linespec/explicit.exp: New file.
318 * gdb.linespec/explicit2.c: New file.
319 * gdb.linespec/ls-errs.exp: Add explicit location tests.
320 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
321 before using in the matching pattern.
322 Clarify that `prefix' is a regular expression.
323
f00aae0f
KS
3242015-08-11 Keith Seitz <keiths@redhat.com>
325
326 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
327 test.
328 Add tests for missing ",FMT" and ",".
329
e27852be
DE
3302015-08-10 Doug Evans <dje@google.com>
331 Keith Seitz <keiths@redhat.com>
332
333 PR gdb/17960
334 * gdb.base/completion.exp: Add location completer tests.
335
7f03bd92
PA
3362015-08-07 Pedro Alves <palves@redhat.com>
337
338 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
339 tests here.
340 (top level): Run do_test with and without displaced stepping.
341
3fc8eb30
PA
3422015-08-07 Pedro Alves <palves@redhat.com>
343
344 * gdb.base/valgrind-disp-step.c: New file.
345 * gdb.base/valgrind-disp-step.exp: New file.
346
d4569d7b
PA
3472015-08-07 Pedro Alves <palves@redhat.com>
348
349 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
350 Delete function.
351 (main): Add alarm. Run an infinite loop instead of calling
352 wait_threads.
353 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
354 comment.
355 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
356 Delete function.
357 (main): Add alarm. Run an infinite loop instead of calling
358 wait_threads.
359 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
360 comment.
361
e1316e60
PA
3622015-08-07 Pedro Alves <palves@redhat.com>
363
364 * gdb.base/checkpoint-ns.exp: New file.
365 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
366 standard_testfile.
367
da8c46d2
MM
3682015-08-07 Markus Metzger <markus.t.metzger@intel.com>
369
370 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
371 * gdb.btrace/instruction_history.exp: Update.
372 * gdb.btrace/tsx.exp: New.
373 * gdb.btrace/tsx.c: New.
374
de1c2c52
PA
3752015-08-06 Pedro Alves <palves@redhat.com>
376
377 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
378 increase timeout.
379 * gdb.reverse/until-precsave.exp: Bump timeouts.
380
782e0bf4
PA
3812015-08-06 Pedro Alves <palves@redhat.com>
382
383 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
384
83e97ed0
PA
3852015-08-06 Pedro Alves <palves@redhat.com>
386
387 PR gdb/18749
388 * gdb.threads/process-dies-while-handling-bp.c: New file.
389 * gdb.threads/process-dies-while-handling-bp.exp: New file.
390
863d01bd
PA
3912015-08-06 Pedro Alves <palves@redhat.com>
392
393 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
394 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
395
0a39bb32
PA
3962015-08-05 Pedro Alves <palves@redhat.com>
397
398 * gdb.threads/next-while-other-thread-longjmps.c: New file.
399 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
400
ee2d2b10
SL
4012015-08-03 Sandra Loosemore <sandra@codesourcery.com>
402
403 * gdb.base/bp-permanent.exp: Report test as unsupported if
404 the target cannot stop at the permanent breakpoint.
405
4e1bdb00
DE
4062015-08-03 Doug Evans <dje@google.com>
407
408 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
409 10000.
410
3d338901
DE
4112015-08-03 Doug Evans <dje@google.com>
412
413 * Makefile.in (workers/%.worker, build-perf): New rule.
414 (GDB_PERFTEST_MODE): New variable.
415 (check-perf): Use it.
416 (clean): Clean up gdb.perf parallel build subdirs.
417 * lib/build-piece.exp: New file.
418 * lib/gdb.exp (make_gdb_parallel_path): New function
419 (standard_output_file, standard_temp_file): Call it.
420 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
421 of $GDB_PARALLEL.
422 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
423
af061d3e
DE
4242015-08-03 Doug Evans <dje@google.com>
425
8e1afc81 426 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
427 (LOG_FILE_NAME): New global.
428 (TextReporter.__init__): Initialize self.txt_sum.
429 (TextReporter.report): Add support for multiple data-points.
430 Move report to perftest.sum, put raw data in perftest.log.
431 (TextReporter.start): Open sum and log files.
432 (TextReporter.end): Close sum and log files.
8e1afc81
DE
433 * gdb.perf/lib/perftest/testresult.py
434 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 435
2c8c5d37
PA
4362015-07-31 Pedro Alves <palves@redhat.com>
437
438 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
439 Use spawn_id_get_pid. Wait for spawn id after eof. Use
440 kill_wait_spawned_process instead of explicit "kill -9".
441 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
442 returning a spawn id instead of a pid. Use spawn_id_get_pid and
443 kill_wait_spawned_process.
444 * gdb.base/attach-twice.exp: Likewise.
445 * gdb.base/attach.exp: Likewise.
446 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
447 gdb_test_multiple.
448 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
449 returning a spawn id instead of a pid. Use spawn_id_get_pid and
450 kill_wait_spawned_process.
451 * gdb.base/valgrind-infcall.exp: Likewise.
452 * gdb.multi/multi-attach.exp: Likewise.
453 * gdb.python/py-prompt.exp: Likewise.
454 * gdb.python/py-sync-interp.exp: Likewise.
455 * gdb.server/ext-attach.exp: Likewise.
456 * gdb.threads/attach-into-signal.exp (corefunc): Use
457 spawn_wait_for_attach, spawn_id_get_pid and
458 kill_wait_spawned_process.
459 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
460 spawn_wait_for_attach returning a spawn id instead of a pid. Use
461 spawn_id_get_pid and kill_wait_spawned_process.
462 * gdb.threads/attach-stopped.exp (corefunc): Use
463 spawn_wait_for_attach, spawn_id_get_pid and
464 kill_wait_spawned_process.
465 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
466 Use spawn_id_get_pid. Wait for spawn id after eof. Use
467 kill_wait_spawned_process instead of explicit "kill -9".
468 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
469 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
470 (spawn_wait_for_attach): Use spawn instead of exec to spawn
471 processes. Don't map cygwin/windows pids here. Now returns a
472 spawn id list.
473
032a0fca
SL
4742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
475
476 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
477 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
478 correct patch.
479
61a934ca
SL
4802015-07-30 Sandra Loosemore <sandra@codesourcery.com>
481
482 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
483
4bc4d428
SL
4842015-07-30 Sandra Loosemore <sandra@codesourcery.com>
485
486 Reapply:
487 2014-05-21 Mark Wielaard <mjw@redhat.com>
488
489 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
490
998d452a
PA
4912015-07-30 Pedro Alves <palves@redhat.com>
492
493 * linux-low.c (handle_extended_wait): Set the child's last
494 reported status to TARGET_WAITKIND_STOPPED.
495
69dde7dc
PA
4962015-07-30 Pedro Alves <palves@redhat.com>
497
498 PR threads/18600
499 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
500 only shows inferior 1.
501
4dd63d48
PA
5022015-07-30 Simon Marchi <simon.marchi@ericsson.com>
503 Pedro Alves <palves@redhat.com>
504
505 PR threads/18600
506 * gdb.threads/fork-plus-threads.c: New file.
507 * gdb.threads/fork-plus-threads.exp: New file.
508
d618e4c5
PP
5092015-07-29 Patrick Palka <patrick@parcs.ath.cx>
510
511 * gdb.base/batch-preserve-term-settings.exp
512 (test_terminal_settings_preserved_after_cli_exit): Use
513 send_quit_command.
514
1eef6428
PA
5152015-07-29 Pedro Alves <palves@redhat.com>
516 Don Breazeal <donb@codesourcery.com>
517
518 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
519 output from both inferior_spawn_id and gdb_spawn_id.
520
7da5b897
SDJ
5212015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
522
523 * gdb.threads/attach-into-signal.exp (corefunc): Use
524 with_test_prefix on nested loops, uniquefying the test messages.
525
dac804df
SDJ
5262015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
527
528 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
529 commit.
530
06265e53
PP
5312015-07-29 Patrick Palka <patrick@parcs.ath.cx>
532
533 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
534 New proc.
535 (test_terminal_settings_preserved_after_sigterm): New test.
536
18206ca3
PP
5372015-07-29 Patrick Palka <patrick@parcs.ath.cx>
538
539 * gdb.base/batch-preserve-term-settings.exp
540 (test_terminal_settings_preserved_after_cli_exit): New test.
541
90074d11
PP
5422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
543
544 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
545 manipulation of saved_gdbflags.
546 (test_terminal_settings_preserved): Remove global declaration of
547 the unused variable pagination_prompt. Remove manipulation of
548 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
549 GDBFLAGS.
550
eb1a7902
PA
5512015-07-29 Pedro Alves <palves@redhat.com>
552
553 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
554
8b75dd3b
PA
5552015-07-29 Pedro Alves <palves@redhat.com>
556
557 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
558 at the top.
559
dedad4e3
PA
5602015-07-29 Pedro Alves <palves@redhat.com>
561
562 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
563 (main): Call gdb_unbuffer_output.
564 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
565 (main): Call gdb_unbuffer_output.
566 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
567 (main): Call gdb_unbuffer_output.
568 * gdb.base/call-strs.exp: Adjust to step over the
569 gdb_unbuffer_output call.
570 * gdb.base/catch-gdb-caused-signals.c: Include
571 "../lib/unbuffer_output.c".
572 (main): Call gdb_unbuffer_output.
573 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
574 (main): Call gdb_unbuffer_output.
575 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
576 (main): Call gdb_unbuffer_output.
577 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
578 (main): Call gdb_unbuffer_output.
579 * gdb.base/shlib-call.exp: Adjust to step over the
580 gdb_unbuffer_output call.
581 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
582 (main): Call gdb_unbuffer_output.
583 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
584 (main): Call gdb_unbuffer_output.
585 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
586 (main): Rename to ...
587 (test): ... this.
588 (main): Reimplement.
589 * gdb.base/varargs.exp: Run to test instead of to main.
590 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
591 (main): Call gdb_unbuffer_output.
592
58789a91
PA
5932015-07-29 Pedro Alves <palves@redhat.com>
594
595 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
596 factore out from mi_continue_dprintf. For call-style dprintfs,
597 expect dprintf output out of $inferior_spawn_id.
598 (mi_continue_dprintf): Use mi_expect_dprintf.
599 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
600 (main): Call gdb_unbuffer_output.
601
e8376742
PA
6022015-07-29 Pedro Alves <palves@redhat.com>
603
604 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
605 (default_mi_gdb_start): Set inferior_spawn_id instead of
606 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
607 gdb_spawn_id.
608 (mi_gdb_test): Always expect inferior output from both
609 $inferior_spawn_id and $gdb_spawn_id.
610
08280010
PA
6112015-07-29 Pedro Alves <palves@redhat.com>
612
613 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
614 send_inferior and $inferior_spawn_id.
615
4d30e432
PA
6162015-07-29 Pedro Alves <palves@redhat.com>
617
618 * gdb.gdb/complaints.exp (test_initial_complaints)
619 (test_serial_complaints, test_short_complaints): Use
620 gdb_test_stdio.
621 (test_empty_complaint): Handle $inferior_spawn_id !=
622 $gdb_spawn_id.
623
0d30a335
PA
6242015-07-29 Pedro Alves <palves@redhat.com>
625
626 * gdb.base/varargs.exp: Use gdb_test_stdio.
627
39413b29
PA
6282015-07-29 Pedro Alves <palves@redhat.com>
629
630 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
631
7cb000a9
PA
6322015-07-29 Pedro Alves <palves@redhat.com>
633
634 * gdb.base/ending-run.exp: Use gdb_test_stdio.
635
d7b8ac82
PA
6362015-07-29 Pedro Alves <palves@redhat.com>
637
638 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
639 parameter into two new parameters, "inf_result" and "gdb_result".
640 Expect inferior output and gdb output from $inferior_spawn_id and
641 $gdb_spawn_id, respectively. Adjust all callers.
642
789c3a0c
PA
6432015-07-29 Pedro Alves <palves@redhat.com>
644
645 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
646 of gdb_test_sequence.
647
77e760c3
PA
6482015-07-29 Pedro Alves <palves@redhat.com>
649
650 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
651 (saw_spurious_output): Expect inferior output from
652 $inferior_spawn_id. Use gdb_test_stdio.
653
8396d2cd
PA
6542015-07-29 Pedro Alves <palves@redhat.com>
655
656 * gdb.base/dprintf.exp: Use standard_testfile. Change
657 prepare_for_testing call.
658 (srcfile): Don't set.
659 (restart): New procedure.
660 (test_dprintf): New procecure, use to continue over dprintfs.
661 (test_call, test_agent): New procedures, tests moved here.
662 Restart gdb and recreate dprintfs. Adjust expected output.
663
2051d61f
PA
6642015-07-29 Pedro Alves <palves@redhat.com>
665
666 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
667
452397af
PA
6682015-07-29 Pedro Alves <palves@redhat.com>
669
670 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
671
8aed9555
PA
6722015-07-29 Pedro Alves <palves@redhat.com>
673
674 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
675 gdb_test_stdio.
676
188a61b4
PA
6772015-07-29 Pedro Alves <palves@redhat.com>
678
679 * lib/gdb.exp (gdb_test_stdio): New procedure.
680
12264a45
PA
6812015-07-29 Pedro Alves <palves@redhat.com>
682
683 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
684
23ffc893
PA
6852015-07-29 Pedro Alves <palves@redhat.com>
686
687 * gdb.base/call-signal-resume.exp: Remove check for
688 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
689 * gdb.base/unwindonsignal.exp: Likewise.
690 * gdb.base/call-signals.c (gen_signal): Remove printf call.
691 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
692
65566918
PA
6932015-07-29 Pedro Alves <palves@redhat.com>
694
695 * gdb.base/siginfo-addr.c (pass): New function.
696 (handler): Call it iff si_addr is correct.
697 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
698 Set a breakpoint at "pass" and continue to it.
699
d60a9221
SDJ
7002015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
701
702 * gdb.python/py-objfile.exp: Make some tests have unique names.
703 * gdb.python/py-pp-registration.exp: Likewise.
704
bde40b8f
PA
7052015-07-28 Pedro Alves <palves@redhat.com>
706
707 * gdb.server/server-exec-info.exp: Issue a "disconnect".
708
13e1dec8
SM
7092015-07-27 Simon Marchi <simon.marchi@ericsson.com>
710
711 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
712
da33c9a7
SM
7132015-07-27 Simon Marchi <simon.marchi@ericsson.com>
714
715 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
716
077836f7
PP
7172015-07-27 Patrick Palka <patrick@parcs.ath.cx>
718
719 * gdb.base/gdb-sigterm-2.exp: New test.
720
b8cc7b2e
DE
7212015-07-25 Doug Evans <xdje42@gmail.com>
722
723 Revert:
724 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
725 (workers/%.worker, build-perf): New rule.
726 (GDB_PERFTEST_MODE): New variable.
727 (check-perf): Use it.
728 (clean): Clean up gdb.perf parallel build subdirs.
729 * lib/build-piece.exp: New file.
730 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
731 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
732 name.
733 (standard_temp_file): Ditto.
734 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
735 of $GDB_PARALLEL.
736
c8bd4544
DE
7372015-07-24 Doug Evans <dje@google.com>
738
739 * gdb.perf/lib/perftest/utils.py: New file.
740 * gdb.perf/gm-hello.cc: New file.
741 * gdb.perf/gm-pervasive-typedef.cc: New file.
742 * gdb.perf/gm-pervasive-typedef.h: New file.
743 * gdb.perf/gm-std.cc: New file.
744 * gdb.perf/gm-std.h: New file.
745 * gdb.perf/gm-use-cerr.cc: New file.
746 * gdb.perf/gm-utils.h: New file.
747 * gdb.perf/gmonster-null-lookup.py: New file.
748 * gdb.perf/gmonster-pervasive-typedef.py: New file.
749 * gdb.perf/gmonster-print-cerr.py: New file.
750 * gdb.perf/gmonster-ptype-string.py: New file.
751 * gdb.perf/gmonster-runto-main.py: New file.
752 * gdb.perf/gmonster-select-file.py: New file.
753 * gdb.perf/gmonster1-null-lookup.exp: New file.
754 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
755 * gdb.perf/gmonster1-print-cerr.exp: New file.
756 * gdb.perf/gmonster1-ptype-string.exp: New file.
757 * gdb.perf/gmonster1-runto-main.exp: New file.
758 * gdb.perf/gmonster1-select-file.exp: New file.
759 * gdb.perf/gmonster1.cc: New file.
760 * gdb.perf/gmonster1.exp: New file.
761 * gdb.perf/gmonster2-null-lookup.exp: New file.
762 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
763 * gdb.perf/gmonster2-print-cerr.exp: New file.
764 * gdb.perf/gmonster2-ptype-string.exp: New file.
765 * gdb.perf/gmonster2-runto-main.exp: New file.
766 * gdb.perf/gmonster2-select-file.exp: New file.
767 * gdb.perf/gmonster2.cc: New file.
768 * gdb.perf/gmonster2.exp: New file.
769
6eab34f3
DE
7702015-07-24 Doug Evans <dje@google.com>
771
772 * gdb.perf/README: New file.
773 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
774 * lib/gen-perf-test.exp: New file.
775
63738bfd
DE
7762015-07-24 Doug Evans <dje@google.com>
777
778 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
779 (PerfTest::startup): New function.
780 (PerfTest::run): Return result of calling body.
781 (PerfTest::assemble): Rewrite.
782 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
783 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
784 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
785 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
786 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
787
7b606f95
DE
7882015-07-24 Doug Evans <dje@google.com>
789
790 * lib/gdb.exp (clean_restart): Make executable optional.
791
a97b16b8
DE
7922015-07-24 Doug Evans <dje@google.com>
793
794 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
795 compiler_info references.
796 * gdb.cp/temargs.exp: Ditto.
797 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
798 (get_compiler_info): Early exit if already computed. Set compiler_info
799 to "unknown" if there was a problem.
800 (test_compiler_info): Add function comment. Call get_compiler_info.
801
35baa57f
DE
8022015-07-24 Doug Evans <dje@google.com>
803
804 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
805 (workers/%.worker, build-perf): New rule.
806 (GDB_PERFTEST_MODE): New variable.
807 (check-perf): Use it.
808 (clean): Clean up gdb.perf parallel build subdirs.
809 * lib/build-piece.exp: New file.
810 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
811 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
812 name.
813 (standard_temp_file): Ditto.
814 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
815 of $GDB_PARALLEL.
816
6ebea266
DE
8172015-07-24 Doug Evans <dje@google.com>
818
819 * lib/future.exp (gdb_default_target_compile): New option
820 "early_flags".
821 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
822 --as-needed.
823
1e76a7e9
SDJ
8242015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
825
826 * gdb.base/catch-syscall.exp: Call gdb_exit before
827 gdb_skip_xml_test.
828
5068630a
PA
8292015-07-24 Pedro Alves <palves@redhat.com>
830
831 * gdb.python/py-events.exp: Accept output between the stop event
832 and the prompt.
833 * gdb.python/py-evsignal.exp: Likewise.
834 * gdb.python/py-evthreads.exp: Likewise.
835
77598427
PA
8362015-07-24 Pedro Alves <palves@redhat.com>
837
838 PR gdb/18717
839 * gdb.threads/non-ldr-exit.c: New file.
840 * gdb.threads/non-ldr-exit.exp: New file.
841
11e6c98f
YQ
8422015-07-24 Yao Qi <yao.qi@linaro.org>
843
844 * gdb.server/ext-wrapper.exp: Test --wrapper option when
845 restarting process.
846
51aee833
YQ
8472015-07-24 Yao Qi <yao.qi@linaro.org>
848
849 * gdb.server/ext-restart.exp: New file.
850
8cfe207c
YQ
8512015-07-24 Yao Qi <yao.qi@linaro.org>
852
853 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
854 argument options.
855 * gdb.server/ext-wrapper.exp: New file.
856
cc12ce38
DE
8572015-07-23 Doug Evans <dje@google.com>
858
859 * gdb.dwarf2/dw2-dummy-cu.S: New file.
860 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
861
d0d84780
PMR
8622015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
863
864 * gdb.ada/var_arr_typedef.exp: New testcase.
865 * gdb.ada/var_arr_typedef/pack.adb: New file.
866 * gdb.ada/var_arr_typedef/pack.ads: New file.
867 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
868
8b558f79
JB
8692015-07-20 Joel Brobecker <brobecker@adacore.com>
870
871 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
872
775a3298
JK
8732015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
874
875 * gdb.arch/i386-biarch-core.exp: Replace istarget
876 by "complete set gnutarget". Remove expectation for the "core-file"
877 command.
878
db1ff28b
JK
8792015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
880
881 Revert the previous commit:
882 Tests for validate symbol file using build-id.
883
0a94970d
JK
8842015-07-15 Aleksandar Ristovski <aristovski@qnx.com
885
886 Tests for validate symbol file using build-id.
887 * gdb.base/solib-mismatch-lib.c: New file.
888 * gdb.base/solib-mismatch-libmod.c: New file.
889 * gdb.base/solib-mismatch.c: New file.
890 * gdb.base/solib-mismatch.exp: New file.
891
03346981
SL
8922015-07-15 Sandra Loosemore <sandra@codesourcery.com>
893
894 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
895 nios2-*-linux*.
896 * gdb.base/sigbpt.exp (stepi_out): Likewise.
897 * gdb.base/siginfo.exp: Likewise.
898 * gdb.base/sigstep.exp (advance, advancei): Likewise.
899
42422cc7
PL
9002015-07-15 Pierre Langlois <pierre.langlois@arm.com>
901
902 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
903 Move it to ...
904 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
905 ... here.
906 * gdb.trace/range-stepping.exp: Check that the target supports
907 range stepping.
908
cfa68bae
JK
9092015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
910
911 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
912
8ffdba26
PA
9132015-07-14 Pedro Alves <palves@redhat.com>
914
915 * gdb.base/killed-outside.exp: New file.
916 * gdb.base/killed-outside.c: New file.
917
218a5a11
JK
9182015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
919
920 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
921 (n at main): New.
922 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
923
e03ed3c6
AA
9242015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
925
926 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
927 infcall tests instead of setting up for KFAIL.
928
485668e5
MM
9292015-07-10 Markus Metzger <markus.t.metzger@intel.com>
930
931 * gdb.btrace/record_goto-step.exp: New.
932
08464196
JK
9332015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
934
935 PR compile/18484
936 * gdb.compile/compile.c (struct struct_type): Add volatile to
937 selffield's type.
938 * gdb.compile/compile.exp
939 (compile code struct_object.selffield = &struct_object): Skip further
940 struct_object tests if this one xfails.
941
bcf5c1d9
RC
9422015-07-08 Robert O'Callahan <robert@ocallahan.org>
943
944 PR exp/18617
945 * gdb.trace/ax.exp: Add test.
946
4931af25
YQ
9472015-07-07 Yao Qi <yao.qi@linaro.org>
948
949 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
950 instead of istarget "aarch64*-*-*".
951 * gdb.arch/aarch64-fp.exp: Likewise.
952 * gdb.base/float.exp: Likewise.
953 * gdb.reverse/aarch64.exp: Likewise.
954 * lib/gdb.exp (is_aarch64_target): New proc.
955
9fcf688e
YQ
9562015-07-07 Yao Qi <yao.qi@linaro.org>
957
958 * lib/gdb.exp (is_aarch32_target): New proc.
959 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
960 instead of "istarget "arm*-*-*"".
961 * gdb.arch/arm-disp-step.exp: Likewise.
962 * gdb.arch/thumb-bx-pc.exp: Likewise.
963 * gdb.arch/thumb-prologue.exp: Likewise.
964 * gdb.arch/thumb-singlestep.exp: Likewise.
965 * gdb.base/disp-step-syscall.exp: Likewise.
966 * gdb.base/float.exp: Likewise.
967
fbd8d50d
YQ
9682015-07-07 Yao Qi <yao.qi@linaro.org>
969
970 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
971 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
972
71be1fdc
YQ
9732015-07-07 Yao Qi <yao.qi@linaro.org>
974
975 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
976 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
977 if it exists.
978 * gdb.multi/multi-arch.exp: Likewise.
979
3e221d36
SM
9802015-07-07 Simon Marchi <simon.marchi@ericsson.com>
981
982 * gdb.python/py-lazy-string.exp: Add missing parentheses to
983 print.
984
d441430b
YQ
9852015-07-07 Yao Qi <yao.qi@linaro.org>
986
987 * gdb.arch/thumb-singlestep.exp: Do one more single step.
988
06f810bd
MG
9892015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
990
991 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
992 '[' and ']' characters.
993
5e61e7c0
IB
9942015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
995
996 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
997
28bf096c
PA
9982015-06-29 Pedro Alves <palves@redhat.com>
999
1000 PR threads/18127
1001 * gdb.threads/hand-call-new-thread.c: New file.
1002 * gdb.threads/hand-call-new-thread.c: New file.
1003
ee93cd5e
KS
10042015-06-26 Keith Seitz <keiths@redhat.com>
1005 Doug Evans <dje@google.com>
1006
1007 PR 16253
1008 * gdb.cp/var-tag-2.cc: New file.
1009 * gdb.cp/var-tag-3.cc: New file.
1010 * gdb.cp/var-tag-4.cc: New file.
1011 * gdb.cp/var-tag.cc: New file.
1012 * gdb.cp/var-tag.exp: New file.
1013
fc637f04
PP
10142015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1015
1016 * gdb.base/history-duplicates.exp: New test.
1017
2e52ae68
PP
10182015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1019
1020 * gdb.base/completion.exp: Test the completion of the "focus"
1021 command.
1022
6e22494e
JK
10232015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1024
1025 * gdb.arch/amd64-prologue-skip.S: New file.
1026 * gdb.arch/amd64-prologue-skip.exp: New file.
1027
bf7b9cd9
SM
10282015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1029
1030 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1031 is_address_zero_readable check.
1032
201e8dfd
PB
10332015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1034
1035 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1036 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1037
5cd867b4
YQ
10382015-06-24 Yao Qi <yao.qi@linaro.org>
1039
1040 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1041 linux targets.
1042
4d7be007
YQ
10432015-06-24 Yao Qi <yao.qi@linaro.org>
1044
1045 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1046 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1047 * gdb.base/siginfo-thread.exp: Likewise.
1048
07fcd301
YQ
10492015-06-22 Yao Qi <yao.qi@linaro.org>
1050
1051 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1052
52042a00
YQ
10532015-06-22 Yao Qi <yao.qi@linaro.org>
1054
1055 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1056 aarch64*-*-*.
1057 (skip_hw_watchpoint_tests): Likewise.
1058
74bd41ce
PP
10592015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1060
1061 * gdb.base/gdbinit-history.exp: Test the interaction between
1062 setting GDBHISTSIZE and setting the history size via .gdbinit.
1063
bc460514
PP
10642015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1065
1066 PR gdb/16999
1067 * gdb.base/gdbhistsize-history.exp: New test.
1068
b58c513b
PP
10692015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1070
1071 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1072 with GDBHISTSIZE.
1073 * gdb.base/readline.exp: Likewise.
1074
92046791
YQ
10752015-06-17 Yao Qi <yao.qi@linaro.org>
1076
1077 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1078 line.
1079
2093d2d3
PP
10802015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1081
1082 * gdb.base/gdbinit-history.exp: Add test case to check that
1083 an unlimited history file does not get truncated on exit.
1084
e6c693af
AA
10852015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1086
1087 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1088 (VECTOR): New macro. Use it...
1089 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1090 ...for these typedefs.
1091 (int8, char1, int1, double1): New typedefs.
1092 (struct just_int2, struct two_int2): New structures.
1093 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1094 (add_structvecs, add_singlevecs): New functions.
1095 (main): Call add_some_intvecs twice.
1096 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1097 the compile and exit upon failure. Try compiling for the "native"
1098 architecture. Test inferior function calls with vector arguments
1099 and vector return value handling with "finish" and "return".
1100
c74f7d1c
JT
11012015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1102
1103 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1104 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1105 PE file.
1106 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1107
98aa42ee
AT
11082015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1109
1110 PR breakpoints/16465
1111 * gdb.mi/mi-dprintf-pending.c: New file.
1112 * gdb.mi/mi-dprintf-pending.exp: New test.
1113 * gdb.mi/mi-dprintf-pendshr.c: New file.
1114
7d73c23c 11152015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1116 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1117
1118 * gdb.arch/i386-mpx-map.c: New file.
1119 * gdb.arch/i386-mpx-map.exp: New File.
1120
11212015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1122
1123 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1124 * gdb.arch/i386-mpx.exp: Indentation fixed.
1125
11262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1127
1128 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1129 function and improved indentation.
1130 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1131 gdb_test_multiple. Added additional tests to skip the test.
1132
11332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1134
1135 * gdb.arch/i386-avx512.c: Change path in include file.
1136 * gdb.arch/i386-avx512.exp: Change include dir path
1137 compilation flag.
1138 * gdb.arch/i386-mpx.c: Change path in include file.
1139 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1140 flag.
1141
d5eba19a
JK
11422015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1143
1144 * gdb.compile/compile-print.exp (compile print *vararray@3)
1145 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1146
7f361056
JK
11472015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1148
1149 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1150 (do not keep jit in memory): ... this.
1151 (expect 5): Change it to ...
1152 (expect no 5): ... this.
1153
3b462ec2
SM
11542015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1155
1156 PR gdb/15564
1157 * gdb.mi/mi-detach.exp: New file.
1158
e0619de6
JK
11592015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1160
1161 PR symtab/18392
1162 * gdb.arch/amd64-tailcall-self.S: New file.
1163 * gdb.arch/amd64-tailcall-self.c: New file.
1164 * gdb.arch/amd64-tailcall-self.exp: New file.
1165
e970cb34
DB
11662015-05-28 Don Breazeal <donb@codesourcery.com>
1167
1168 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1169 tests for remote targets by checking is_target_gdbserver.
1170
b2e2f908
DE
11712015-05-27 Doug Evans <dje@google.com>
1172
1173 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1174 * gdb.dwarf2/opaque-type-lookup.c: New file.
1175 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1176
82c7be31
DE
11772015-05-26 Doug Evans <dje@google.com>
1178
1179 * gdb.cp/iostream.cc: New file.
1180 * gdb.cp/iostream.exp: New file.
1181
b4f54984
DE
11822015-05-26 Doug Evans <dje@google.com>
1183
1184 * gdb.dwarf2/dw2-op-call.exp: Update.
1185 * gdb.dwarf2/dw4-sig-types.exp: Update.
1186 * gdb.dwarf2/implptr.exp: Update.
1187 * gdb.mi/mi-cmd-param-changed.exp: Update.
1188
4ea6efe9
DE
11892015-05-26 Doug Evans <dje@google.com>
1190
1191 * gdb.python/py-lazy-string.c: New file.
1192 * gdb.python/py-lazy-string.exp: New file.
1193 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1194 (main): Update. Add estring3.
1195 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1196 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1197
f6bb7db3
YQ
11982015-05-26 Omair Javaid <omair.javaid@linaro.org>
1199 Yao Qi <yao.qi@linaro.org>
1200
1201 * gdb.reverse/aarch64.c: New.
1202 * gdb.reverse/aarch64.exp: New.
1203
a81bfbd0
OJ
12042015-05-26 Omair Javaid <omair.javaid@linaro.org>
1205
1206 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1207 (supports_reverse): Likewise.
1208
158bf1b4
PP
12092015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1210
1211 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1212 Use with_test_prefix.
1213
a0145030
AB
12142015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1215
1216 * gdb.base/completion.exp: Add test for completion of layout
1217 names.
1218
ebe3b578
AB
12192015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1220
1221 * lib/gdb.exp (skip_tui_tests): New proc.
1222 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1223
84204ed7
PA
12242015-05-19 Pedro Alves <palves@redhat.com>
1225
1226 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1227 Save the whole env array instead of just HOME. Unset HISTSIZE in
1228 the environment while testing. Restore whole environment
1229 afterwards.
1230
37442ce1
DE
12312015-05-16 Doug Evans <xdje42@gmail.com>
1232
1233 * gdb.guile/scm-ports.c: New file.
1234 * gdb.guile/scm-ports.exp: Add memory port tests.
1235
36de76f9
JK
12362015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1237
1238 * gdb.compile/compile-print.c: New file.
1239 * gdb.compile/compile-print.exp: New file.
1240
3a9558c4
JK
12412015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1242
1243 * gdb.compile/compile-ops.exp: Cast param to void.
1244 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1245 (compile code struct_object.selffield = &struct_object): Add xfail.
1246
aa715135
JG
12472015-05-15 Joel Brobecker <brobecker@adacore.com>
1248
1249 * gdb.ada/arr_enum_with_gap: New testcase.
1250
931e5bc3
JG
12512015-05-15 Joel Brobecker <brobecker@adacore.com>
1252
1253 * gdb.ada/byte_packed_arr: New testcase.
1254
9cd4d857
JB
12552015-05-15 Joel Brobecker <brobecker@adacore.com>
1256
1257 * gdb.ada/pckd_neg: New testcase.
1258
ebfd00d2
PP
12592015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1260
1261 PR gdb/17820
1262 * gdb.base/gdbinit-history.exp: New test.
1263 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1264 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1265
4c082a81
SC
12662015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1267
1268 * gdb.python/py-xmethods.cc: Enhance test case.
1269 * gdb.python/py-xmethods.exp: New tests.
1270 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1271 function.
1272 (B_indexoper): Likewise.
1273 (global_dm_list) : Add new xmethod worker functions.
1274
f7797074
SDJ
12752015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1276
1277 * gdb.base/coredump-filter.exp: Correctly unset
1278 "coredump_var_addr" array.
1279
a4674e4e
PA
12802015-05-08 Pedro Alves <palves@redhat.com>
1281
1282 * gdb.server/non-existing-program.exp: Unset spawn_id.
1283
df2eb078
SC
12842015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1285
1286 PR python/18291
1287 * gdb.python/py-xmethods.exp: Add tests.
1288
422349a3
YQ
12892015-05-08 Yao Qi <yao.qi@linaro.org>
1290
1291 PR gdb/18208
1292 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1293 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1294 function set_coredump_filter, and remove remote_exec call.
1295 Remove argument ipid. Callers update.
1296 (top level): Don't get inferior's PID.
1297
63fc80ce
AA
12982015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1299
1300 * gdb.base/watch_thread_num.exp: Skip test on targets without
1301 access watchpoints.
1302
80ad801e
PA
13032015-05-06 Pedro Alves <palves@redhat.com>
1304
1305 PR server/18081
1306 * gdb.server/non-existing-program.exp: New file.
1307
0fa7fe50
JB
13082015-05-05 Joel Brobecker <brobecker@adacore.com>
1309
1310 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1311
3ea89b92
PMR
13122015-05-05 Joel Brobecker <brobecker@adacore.com>
1313
1314 * gdb.ada/out_of_line_in_inlined: New testcase.
1315
87b8eff0
JB
13162015-05-05 Joel Brobecker <brobecker@adacore.com>
1317
1318 * gdb.ada/var_rec_arr: New testcase.
1319
5fccc635
YQ
13202015-04-30 Yao Qi <yao.qi@linaro.org>
1321
1322 * gdb.base/break-idempotent.exp: If
1323 skip_hw_watchpoint_multi_tests returns true, skip the tests
1324 on "rwatch" and "awatch".
1325
42d38f42
YQ
13262015-04-30 Yao Qi <yao.qi@linaro.org>
1327
1328 * gdb.base/relativedebug.exp: Invoke gdb command
1329 "info sharedlibrary", and if libc.so doesn't have debug info,
1330 skip the test.
1331
2ce1cdbf
DE
13322015-04-29 Doug Evans <dje@google.com>
1333
1334 * gdb.python/py-xmethods.exp: Add ptype tests.
1335 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1336 get_result_type method.
1337
f24a38c5
LM
13382015-04-29 Luis Machado <lgustavo@codesourcery.com>
1339
1340 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1341 the target does not support hardware watchpoints.
1342
ecbf2b3c
LM
13432015-04-29 Luis Machado <lgustavo@codesourcery.com>
1344
1345 * gdb.base/break-always.exp: Abort testing if writing to memory
1346 causes an error.
1347
34f5f757
DE
13482015-04-28 Doug Evans <dje@google.com>
1349
1350 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1351 * gdb.python/py-pp-registration.exp: ... here. New file.
1352 * gdb.python/py-pp-registration.c: New file.
1353 * gdb.python/py-pp-registration.py: New file.
1354
69b4374a
DE
13552015-04-28 Doug Evans <dje@google.com>
1356
1357 * gdb.python/py-bad-printers.c: New file.
1358 * gdb.python/py-bad-printers.py: New file.
1359 * gdb.python/py-bad-printers.exp: New file.
1360
59fb7612
SS
13612015-04-28 Sasha Smundak <asmundak@google.com>
1362
1363 * gdb.python/py-type.exp: New test.
1364
2631b16a
AW
13652015-04-28 Andy Wingo <wingo@igalia.com>
1366
1367 * gdb.python/py-parameter.exp:
1368 * gdb.guile/scm-parameter.exp: Escape the path that we are
1369 matching against, as it might contain characters that are special
1370 to regular expressions.
1371
460efde1
JB
13722015-04-27 Joel Brobecker <brobecker@adacore.com>
1373
1374 * gdb.ada/rec_comp: New testcase.
1375
2d369d8e
SDJ
13762015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1377
1378 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1379 before using it.
1380
cf75d6c3
AB
13812015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1382
1383 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1384 new tests for verilog output.
1385
8dbe7ca5
YQ
13862015-04-24 Yao Qi <yao.qi@linaro.org>
1387
1388 * boards/remote-gdbserver-on-localhost.exp: New file.
1389
4ef9fb2f
PA
13902015-04-23 Pedro Alves <palves@redhat.com>
1391
1392 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1393 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1394 "end of file", remove $inferior_spawn_id from the indirect list.
1395
0a803169
PA
13962015-04-23 Pedro Alves <palves@redhat.com>
1397
1398 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1399
749ef8f8
PA
14002015-04-23 Pedro Alves <palves@redhat.com>
1401
1402 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1403 on $any_spawn_id instead of only on $gdb_spawn_id.
1404
8aae4344
PM
14052015-04-21 Pierre Muller <muller@sourceware.org>
1406
1407 PR pascal/17815
1408 * lib/pascal.exp (gpc_compile): Add new option "class".
1409 (fpc_compile): Likewise.
1410 * gdb.pascal/case-insensitive-symbols.pas: New file.
1411 * gdb.pascal/case-insensitive-symbols.exp: New file.
1412
1586c8fb
GB
14132015-04-20 Gary Benson <gbenson@redhat.com>
1414
1415 * gdb.base/attach.exp: Fix three extended remote failures.
1416
1b6e6f5c
GB
14172015-04-17 Gary Benson <gbenson@redhat.com>
1418
1419 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1420 the main executable over the remote protocol.
1421
e797481d
PA
14222015-04-16 Pedro Alves <palves@redhat.com>
1423
1424 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1425 a new gdbserver if gdbserver_reconnect_p is set.
1426
1ca99c42
PA
14272015-04-16 Pedro Alves <palves@redhat.com>
1428
1429 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1430 is set, don't exit gdbserver.
1431
af9fd6f8
AA
14322015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1433
1434 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1435 appropriate .insn, such that an older assembler can be used.
1436 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1437 the z/Architecture instruction set on 31-bit targets as well.
1438
04ff1e61
AA
14392015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1440
1441 * gdb.go/handcall.exp: Remove all logic related to the first
1442 breakpoint and rely on go_runto_main instead.
1443 * gdb.go/strings.exp: Likewise.
1444 * gdb.go/unsafe.exp: Likewise.
1445 * gdb.go/hello.exp: Likewise. Also rename the remaining
1446 breakpoint marker to "breakpoint 1".
1447 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1448 * gdb.go/strings.go: Likewise.
1449 * gdb.go/unsafe.go: Likewise.
1450 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1451 "set breakpoint 2 here" and rename the remaining breakpoint marker
1452 to "breakpoint 1".
1453
40d2f8d6
SM
14542015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1455
1456 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1457 if itertools.imap is not present.
1458 * gdb.python/py-objfile.exp: Add parentheses.
1459 * gdb.python/py-type.exp: Same.
1460 * gdb.python/py-unwind-maint.py: Same.
1461
8cbc97c6
YQ
14622015-04-15 Yao Qi <yao.qi@linaro.org>
1463
1464 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1465 of ":$ptr_size" and set its form explicitly.
1466
45fd756c
YQ
14672015-04-15 Pedro Alves <palves@redhat.com>
1468 Yao Qi <yao.qi@linaro.org>
1469
1470 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1471 timeout by factor of 4.
1472 (test_regular_watch): Likewise.
1473 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1474 * gdb.reverse/sigall-reverse.exp: Likewise.
1475 * gdb.reverse/until-precsave.exp: Likewise.
1476 * lib/gdb.exp (with_timeout_factor): New proc.
1477 (gdb_expect): Move some code to ...
1478 (get_largest_timeout): ... here. New procedure.
1479
9e811bc3
LM
14802015-04-14 Luis Machado <lgustavo@codesourcery.com>
1481
1482 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1483
0ff6fcb2
LM
14842015-04-13 Luis Machado <lgustavo@codesourcery.com>
1485
1486 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1487 to write to the .text section.
1488
7578d5f7
LM
14892015-04-13 Luis Machado <lgustavo@codesourcery.com>
1490
1491 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1492 Handle the case of targets that do not provide PID information.
1493
2efe15c4
YQ
14942015-04-13 Yao Qi <yao.qi@linaro.org>
1495
1496 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1497 and use expect instead of gdb_expect.
1498
8cd8f2f8
SDJ
14992015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1500
1501 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1502 "coredump_var_addr" to avoid naming conflict with other testcases.
1503
9ee41772
PA
15042015-04-10 Pedro Alves <palves@redhat.com>
1505
1506 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1507 gdb_test_sequence and gdb_assert.
1508
07473109
PA
15092015-04-10 Pedro Alves <palves@redhat.com>
1510
1511 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1512 test messages that don't include the breakpoint address.
1513
de3db44c
YQ
15142015-04-10 Yao Qi <yao.qi@linaro.org>
1515
1516 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1517 false for some offset and width combinations which aren't
1518 supported by linux kernel.
1519
c79d856c
PA
15202015-04-10 Pedro Alves <palves@redhat.com>
1521
1522 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1523 procedure, factored out from ...
1524 (top level): ... here. Add "set displaced-stepping" testing axis.
1525 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1526 parameter "displaced". Use it.
1527 (top level): Use foreach and add "set displaced-stepping" testing
1528 axis.
1529
ebc90b50
PA
15302015-04-10 Pedro Alves <palves@redhat.com>
1531
1532 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1533 Remove comment.
1534 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1535 both the address of the instruction that triggers the watchpoint
1536 and the address of the instruction immediately after, and use
1537 those addresses for the test. Fix comment.
1538
8f572e5c
PA
15392015-04-10 Pedro Alves <palves@redhat.com>
1540
1541 * gdb.base/sigstep.exp (breakpoint_to_handler)
1542 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1543 Test "backtrace" in handler.
1544 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1545 (top level): Add new "displaced" test axis to
1546 breakpoint_to_handler, breakpoint_to_handler_entry and
1547 breakpoint_over_handler.
1548
8d707a12
PA
15492015-04-10 Pedro Alves <palves@redhat.com>
1550
1551 PR gdb/18216
1552 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1553
ef713951
YQ
15542015-04-10 Yao Qi <yao.qi@linaro.org>
1555
1556 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1557 (test_add_rn_pc): New function.
1558 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1559 (top level): Invoke test_add_rn_pc.
1560
906d60cf
PA
15612015-04-10 Pedro Alves <palves@redhat.com>
1562
1563 PR gdb/13858
1564 * gdb.base/step-over-no-symbols.exp: New file.
1565
f2983cc3
AW
15662015-04-09 Andy Wingo <wingo@igalia.com>
1567
1568 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1569 after the Python tests.
1570
6d62641c
SDJ
15712015-04-08 Keith Seitz <keiths@redhat.com>
1572
1573 PR python/16699
1574 * gdb.python/py-completion.exp: New tests for completion.
1575 * gdb.python/py-completion.py (CompleteLimit1): New class.
1576 (CompleteLimit2): Likewise.
1577 (CompleteLimit3): Likewise.
1578 (CompleteLimit4): Likewise.
1579 (CompleteLimit5): Likewise.
1580 (CompleteLimit6): Likewise.
1581 (CompleteLimit7): Likewise.
1582
f3770638
PA
15832015-04-08 Pedro Alves <palves@redhat.com>
1584
1585 PR gdb/18214
1586 PR gdb/18216
1587 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1588 function.
1589 (main): Install it as SIGUSR1 handler.
1590 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1591 parameter. Always use "setup" as prefix. Toggle "set
1592 displaced-stepping" off/on depending on global. Don't switch to
1593 thread 1 here.
1594 (top level): Add displaced stepping "off/on" test axis. Update
1595 "setup" calls. Wrap each subtest with with_test_prefix. Test
1596 continuing with a queued signal in each thread.
1597
4496bed7
PA
15982015-04-08 Pedro Alves <palves@redhat.com>
1599
1600 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1601 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1602 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1603 Return early if running to main fails.
1604 * gdb.trace/while-stepping.exp: Likewise.
1605
b97fde92
PA
16062015-04-07 Pedro Alves <palves@redhat.com>
1607
1608 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1609 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1610 interact with inferior program.
1611
f71c18e7
PA
16122015-04-07 Pedro Alves <palves@redhat.com>
1613
1614 * lib/gdb.exp (inferior_spawn_id): New global.
1615 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1616 spawn id after processing the user code.
1617 (default_gdb_start): Set inferior_spawn_id.
1618 (send_inferior): New procedure.
1619 * lib/gdbserver-support.exp (gdbserver_start): Set
1620 inferior_spawn_id.
1621 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1622
6423214f
PA
16232015-04-07 Pedro Alves <palves@redhat.com>
1624
1625 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1626 * lib/gdbserver-support.exp (gdbserver_start): Make
1627 $server_spawn_id global.
1628 (gdbserver_start): Don't wait for gdbserver's spawn id with
1629 expect_background.
1630 (close_gdbserver): New procedure.
1631 (gdb_exit): Rename the default version and reimplement.
1632
71c0ee8c
PA
16332015-04-07 Pedro Alves <palves@redhat.com>
1634
72f4393d 1635 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1636 append the substituted item, not the original item.
1637
203bc29b
PA
16382015-04-07 Pedro Alves <palves@redhat.com>
1639
1640 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1641 gdb_expect.
1642
508a3ddf
PA
16432015-04-07 Pedro Alves <palves@redhat.com>
1644
1645 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1646 output appearing once only.
1647
9f6dbe2b
PA
16482015-04-07 Pedro Alves <palves@redhat.com>
1649
1650 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1651 that doesn't expect anything. Return early if running to main
1652 fails.
1653
337532fa
YQ
16542015-04-07 Yao Qi <yao.qi@linaro.org>
1655
1656 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1657 (child_function): Call alarm.
1658 (main): Move call to alarm into the loop.
1659 * gdb.threads/non-stop-fair-events.exp: Build program with
1660 -DTIMEOUT=$timeout.
1661
01b622d4
DE
16622015-04-06 Doug Evans <xdje42@gmail.com>
1663
1664 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1665 Fix dest parameter to board_info.
1666 (fpc_compile): Ditto.
1667 (gdb_compile_pascal): Rename dest arg to destfile.
1668
961f4160
PMR
16692015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1670
1671 * gdb.ada/funcall_ref.exp: New file.
1672 * gdb.ada/funcall_ref/foo.adb: New file.
1673
cafda597
YQ
16742015-04-02 Yao Qi <yao.qi@linaro.org>
1675
1676 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1677 is remote.
1678
fed040c6
GB
16792015-04-02 Gary Benson <gbenson@redhat.com>
1680
1681 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1682
d11916aa
SS
16832015-04-01 Sasha Smundak <asmundak@google.com>
1684
1685 * gdb.python/py-unwind-maint.c: New file.
1686 * gdb.python/py-unwind-maint.exp: New test.
1687 * gdb.python/py-unwind-maint.py: New file.
1688 * gdb.python/py-unwind.c: New file.
1689 * gdb.python/py-unwind.exp: New test.
1690 * gdb.python/py-unwind.py: New test.
1691
a1471180
PA
16922015-04-01 Pedro Alves <palves@redhat.com>
1693
1694 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1695 to fail instead of non-existent $test.
1696
0bbeccb1
PA
16972015-04-01 Pedro Alves <palves@redhat.com>
1698
1699 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1700 GDBFLAGS if not empty.
1701
3c724c8c
PMR
17022015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1703
1704 * gdb.ada/complete.exp: Remove "multi_line".
1705 * gdb.ada/info_exc.exp: Remove "multi_line".
1706 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1707 * gdb.ada/ptype_field.exp: Remove "multi_line".
1708 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1709 * gdb.ada/tagged.exp: Remove "multi_line".
1710 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1711 [multi_line ...]
1712 * gdb.btrace/delta.exp: Likewise.
1713 * gdb.btrace/exception.exp: Likewise.
1714 * gdb.btrace/function_call_history.exp: Likewise.
1715 * gdb.btrace/instruction_history.exp: Likewise.
1716 * gdb.btrace/nohist.exp: Likewise.
1717 * gdb.btrace/record_goto.exp: Likewise.
1718 * gdb.btrace/segv.exp: Likewise.
1719 * gdb.btrace/stepi.exp: Likewise.
1720 * gdb.btrace/tailcall.exp: Likewise.
1721 * gdb.btrace/unknown_functions.exp: Likewise.
1722 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1723 * lib/gdb.exp: Add the "multi_line" helper.
1724
4eec2deb
PA
17252015-04-01 Pedro Alves <palves@redhat.com>
1726
1727 * gdb.threads/tid-reuse.c: New file.
1728 * gdb.threads/tid-reuse.exp: New file.
1729
df8411da
SDJ
17302015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1731
1732 PR corefiles/16092
1733 * gdb.base/coredump-filter.c: New file.
1734 * gdb.base/coredump-filter.exp: Likewise.
1735
6ef37366
PM
17362015-03-27 Petr Machata <pmachata@redhat.com>
1737
1738 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1739 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1740 (Dwarf::assemble): Initialize them.
1741 (Dwarf::lines): New function.
1742
7ec911b0
JT
17432015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1744
1745 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1746 SYMBOL_PREFIX for x86_64-*-cygwin.
1747
ff908ebf
AW
17482015-03-26 Andy Wingo <wingo@igalia.com>
1749
1750 PR symtab/18148
1751 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1752 const_value but not a location.
1753 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1754 location defined in non-main CUs are visible.
1755
6d5f0679
YQ
17562015-03-26 Yao Qi <yao.qi@linaro.org>
1757
1758 PR testsuite/18139
1759 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1760 Add a line number entry for the same line.
1761 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1762 Add a line number entry for the same line.
1763
2898689b
YQ
17642015-03-26 Yao Qi <yao.qi@linaro.org>
1765
1766 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1767 .int 0.
1768 (func): Likewise. Add .Lfunc_1 label.
1769 Use .Lfunc_1 label.
1770 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1771 .int 0.
1772 (func): Likewise.
1773 Use .Lfunc_1 label.
1774
85180498
YQ
17752015-03-26 Yao Qi <yao.qi@linaro.org>
1776
1777 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1778 Call gdb_compile instead to compile each .s files without debug
1779 information.
1780
8aa08a8d
YQ
17812015-03-26 Yao Qi <yao.qi@linaro.org>
1782
1783 * gdb.base/savedregs.exp (process_saved_regs): Make
1784 "Saved registers:" optional in the pattern.
1785
66849923
MM
17862015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1787
1788 * gdb.btrace/next.exp: Merged into step.exp.
1789 * gdb.btrace/finish.exp: Merged into step.exp.
1790 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1791 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1792 "record goto" and checking the exact replay position.
1793 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1794 check for "Recording format" in "info record" output.
1795 * gdb.btrace/record_goto.exp: Choose test file based on target.
1796 * gdb.btrace/x86-record_goto.S: Renamed into ...
1797 * gdb.btrace/x86_64-record_goto.S: ... this.
1798 * gdb.btrace/i686-record_goto.S: New.
1799 * gdb.btrace/x86-tailcall.S: Renamed into ...
1800 * gdb.btrace/x86_64-tailcall.S: ... this.
1801 * gdb.btrace/i686-tailcall.S: New.
1802 * gdb.btrace/x86-tailcall.c: Renamed into ...
1803 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1804 separate statements. Update test.
1805 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1806 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1807 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1808 * gdb.btrace/tailcall.exp: Choose test file based on target.
1809 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1810
11cc1b74
MM
18112015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1812
1813 * gdb.btrace/exception.exp: Increase BTS buffer size.
1814
a25d8bf9
PA
18152015-03-24 Pedro Alves <palves@redhat.com>
1816
1817 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1818
856e7dd6
PA
18192015-03-24 Pedro Alves <palves@redhat.com>
1820
1821 * gdb.threads/schedlock.exp (test_step): No longer expect that
1822 "set scheduler-locking step" with "next" over a function call runs
1823 threads unlocked.
1824
ad235a41
AT
18252015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1826
1827 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1828
15630549
AT
18292015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1830
1831 PR breakpoints/16466
1832 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1833 * gdb.mi/mi-pending.c (thread_func): New function.
1834 (int main): Add threading support required.
1835 * gdb.mi/mi-pending.exp: Add tests for this issue.
1836 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1837 (pendfunc2): Remove stdio dependency.
1838 * gdb.mi/mi-pendshr2.c: New file.
1839
693dca06
KS
18402015-03-23 Keith Seitz <keiths@redhat.com>
1841
1842 * gdb.linespec/keywords.c: New file.
1843 * gdb.linespec/keywords.exp: New file.
1844
7e993ebf
KS
18452015-03-23 Keith Seitz <keiths@redhat.com>
1846
1847 PR gdb/18021
1848 * gdb.dwarf2/staticvirtual.exp: New test.
1849
bc23328c
JK
18502015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1851
1852 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1853 * README: Remove HP-UX and gdb.hp.
1854 (configuration):
1855 * configure: Regenerate.
1856 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1857 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1858 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1859 gdb.hp/gdb.defects/Makefile.
1860 * gdb.hp/Makefile.in: File deleted.
1861 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1862 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1863 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1864 * gdb.hp/gdb.aCC/run.c: File deleted.
1865 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1866 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1867 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1868 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1869 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1870 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1871 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1872 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1873 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1874 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1875 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1876 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1877 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1878 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1879 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1880 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1881 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1882 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1883 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1884 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1885 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1886 * gdb.hp/gdb.compat/average.c: File deleted.
1887 * gdb.hp/gdb.compat/sum.c: File deleted.
1888 * gdb.hp/gdb.compat/xdb.c: File deleted.
1889 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1890 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1891 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1892 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1893 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1894 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1895 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1896 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1897 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1898 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1899 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1900 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1901 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1902 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1903 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1904 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1905 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1906 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1907 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1908 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1909 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1910 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1911 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1912 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1913 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1914 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1915 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1916 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1917 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1918 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1919 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1920 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1921 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1922 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1923 * gdb.hp/tools/odump: File deleted.
1924
8bf3b159
PA
19252015-03-19 Pedro Alves <palves@redhat.com>
1926
1927 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1928 (saw_thread_3): New globals.
1929 (top level): Increment them when an event for the corresponding
1930 thread is seen.
1931 (no thread starvation): New test.
1932
eb54c8bf
PA
19332015-03-19 Pedro Alves <palves@redhat.com>
1934
1935 * gdb.threads/continue-pending-status.c: New file.
1936 * gdb.threads/continue-pending-status.exp: New file.
1937
32d2e5d6
PA
19382015-03-18 Pedro Alves <palves@redhat.com>
1939
1940 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1941 Use gdb_is_target_remote instead of is_remote. Use
1942 gdb_test_multiple instead of gdb_expect. Exit early if
1943 gdb_test_multiple hits its internal matches. Tighten stepi tests
1944 expected output. Fail on exit with any signal, instead of just
1945 SIGILL.
1946
f68f11b7
YQ
19472015-03-18 Yao Qi <yao.qi@linaro.org>
1948
1949 PR tdep/18107
1950 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1951 variable.
1952 * gdb.base/catch-syscall.exp: Don't skip it on
1953 aarch64*-*-linux* target. Remove elements in all_syscalls.
1954 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1955 target.
1956 (setup_all_syscalls): New proc.
1957
ca5fd19b
YQ
19582015-03-16 Yao Qi <yao.qi@linaro.org>
1959
1960 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1961 (top level): Skip tests if valid_addr_p returns false for
1962 $cmd1 or $cmd2.
1963
85642ba0
AW
19642015-03-11 Andy Wingo <wingo@igalia.com>
1965
1966 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1967
e03f9645
YQ
19682015-03-11 Yao Qi <yao.qi@linaro.org>
1969
1970 * gdb.base/catch-syscall.exp: Fix typo in comments.
1971
5d0962b2
YQ
19722015-03-11 Yao Qi <yao.qi@linaro.org>
1973
1974 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1975
b2df3cef
PA
19762015-03-09 Pedro Alves <palves@redhat.com>
1977
1978 * dg-extract-results.py: Delete.
1979
ef878e53
PA
19802015-03-09 Pedro Alves <palves@redhat.com>
1981
1982 Merge dg-extract-results.sh from GCC upstream (r218843).
1983
1984 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1985 * dg-extract-results.sh: Use --text with grep to avoid issues with
1986 binary files. Fall back to cat -v, if that doesn't work.
1987
9494d219
PA
19882015-03-05 Pedro Alves <palves@redhat.com>
1989
1990 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1991
a8d9763a
SM
19922015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1993
1994 * lib/mi-support.exp (mi_expect_interrupt): Accept
1995 alternative event for when in all-stop mode.
1996
be9957b8
PA
19972015-03-04 Pedro Alves <palves@redhat.com>
1998
1999 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2000
d57be0f4 20012015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2002
2003 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2004
c214c7cf
AA
20052015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2006
2007 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2008 regexps for GDB's current line display, accept a hex address
2009 preceding the line number.
2010
6d74a497
AA
20112015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2012
2013 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2014 the 'arch1' variable for "s390*-linux*" targets.
2015
511aee7c
PA
20162015-03-04 Pedro Alves <palves@redhat.com>
2017
2018 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2019 (main): Pass missing retval argument to pthread_join call.
2020
95e50b27
PA
20212015-03-02 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2024 (top level): Call do_test with non-stop as well.
2025
28054d69
PA
20262015-03-02 Pedro Alves <palves@redhat.com>
2027
2028 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2029 -1.
2030
4fa5d7b4
AA
20312015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2032
2033 * gdb.arch/s390-vregs.exp: New test.
2034 * gdb.arch/s390-vregs.S: New file.
2035
97c18565
PA
20362015-02-27 Pedro Alves <palves@redhat.com>
2037
2038 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2039 call to catch_command_errors.
2040 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2041 catch_command_errors.
2042
a37bfa30
PA
20432015-02-27 Pedro Alves <palves@redhat.com>
2044
2045 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2046 "true" for boolean result.
2047 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2048 prototype of main.
2049
6f98576f
PA
20502015-02-27 Pedro Alves <palves@redhat.com>
2051
2052 * lib/unbuffer_output.c: New file.
2053 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2054 (main): Call gdb_unbuffer_output.
2055
eba5ab56
YQ
20562015-02-27 Yao Qi <yao.qi@linaro.org>
2057
2058 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2059 target.
2060
0def5aaa
DE
20612015-02-26 Doug Evans <dje@google.com>
2062
2063 * gdb.cp/class2.cc (Dbase, D): New classes.
2064 (main): New local delta.
2065 * gdb.cp/class2.exp: Test printing delta.
2066 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2067 (dynbar): New global.
2068 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2069
081a1c2c
JK
20702015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2071
2072 * gdb.compile/compile-ifunc.c: New file.
2073 * gdb.compile/compile-ifunc.exp: New file.
2074
2f41223f
AT
20752015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2076
2077 * gdb.base/structs.exp: Check for correct struct on finish.
2078
03eddd80
YQ
20792015-02-26 Yao Qi <yao.qi@linaro.org>
2080
2081 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2082 is zero.
2083
80c57053
JK
20842015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2085
2086 * gdb.arch/cordic.ko.bz2: New file.
2087 * gdb.arch/cordic.ko.debug.bz2: New file.
2088 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2089
21613c12
YQ
20902015-02-25 Yao Qi <yao.qi@linaro.org>
2091
2092 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2093 aarch64*-*-* target.
2094
d8b901ed
PA
20952015-02-23 Pedro Alves <palves@redhat.com>
2096
2097 * lib/gdb.exp (delete_breakpoints): Rewrite using
2098 gdb_test_multiple.
2099
e5b85ead
PA
21002015-02-23 Pedro Alves <palves@redhat.com>
2101
2102 * gdb.base/info-os.c: Include stdlib.h.
2103
85c3a371
DE
21042015-02-22 Doug Evans <xdje42@gmail.com>
2105
2106 PR symtab/17855
2107 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2108 is read after symbols have been re-read.
2109 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2110 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2111
96553a0c
DE
21122015-02-21 Doug Evans <dje@google.com>
2113
2114 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2115
97a0c697
JK
21162015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2117
2118 PR corefiles/17808
2119 * gdb.arch/i386-biarch-core.core.bz2: New file.
2120 * gdb.arch/i386-biarch-core.exp: New file.
2121
a47cd6e9
PA
21222015-02-21 Pedro Alves <palves@redhat.com>
2123
2124 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2125 runto_main fails.
2126
c5facdc4
PA
21272015-02-20 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2130 info probes.
2131
2db9a427
PA
21322015-02-20 Pedro Alves <palves@redhat.com>
2133
2134 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2135
60fb7e9e
PA
21362015-02-20 Pedro Alves <palves@redhat.com>
2137
2138 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2139 clean_restart before gdb_target_supports_trace.
2140
5c5019c2
PA
21412015-02-20 Pedro Alves <palves@redhat.com>
2142
2143 PR threads/18006
2144 * gdb.threads/clone-thread_db.c: New file.
2145 * gdb.threads/clone-thread_db.exp: New file.
2146
c9587f88
AT
21472015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2148
2149 PR breakpoints/16812
2150 * gdb.base/catch-gdb-caused-signals.c: New file.
2151 * gdb.base/catch-gdb-caused-signals.exp: New file.
2152
f6a88844
JM
21532015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2154
2155 * configure: Regenerated.
2156 * configure.ac: Use GDB_AC_TRANSFORM.
2157 * aclocal.m4: sinclude ../transform.m4.
2158
497c491b
JM
21592015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2160
2161 * lib/dtrace.exp: New file.
2162 * gdb.base/dtrace-probe.exp: Likewise.
2163 * gdb.base/dtrace-probe.d: Likewise.
2164 * gdb.base/dtrace-probe.c: Likewise.
2165 * lib/pdtrace.in: Likewise.
2166 * configure.ac: Output variables with the transformed names of
2167 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2168 * configure: Regenerated.
2169
03e98035
JM
21702015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2171
2172 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2173 expected message when trying to access $_probe_* convenience
2174 variables while not on a probe.
2175
63cc30e9
JK
21762015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2177
2178 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2179
0703599a
PA
21802015-02-11 Pedro Alves <pedro@codesourcery.com>
2181
2182 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2183 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2184
7e60a48e
DE
21852015-02-10 Doug Evans <xdje42@gmail.com>
2186
2187 * lib/gdb.exp (gdb_load): Always return a result.
2188
01b088bc
PA
21892015-02-10 Pedro Alves <palves@redhat.com>
2190
2191 * gdb.threads/signal-sigtrap.c: New file.
2192 * gdb.threads/signal-sigtrap.exp: New file.
2193
b05ec7a5
AT
21942015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2195
2196 * gdb.trace/no-attach-trace.c: New file.
2197 * gdb.trace/no-attach-trace.exp: New file.
2198
a2c2acaf
MW
21992015-02-09 Mark Wielaard <mjw@redhat.com>
2200
2201 * gdb.dwarf2/atomic.c: New file.
2202 * gdb.dwarf2/atomic-type.exp: Likewise.
2203
31fd9caa
MM
22042015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2205
2206 * gdb.btrace/buffer-size.exp: Update "info record" output.
2207 * gdb.btrace/delta.exp: Update "info record" output.
2208 * gdb.btrace/enable.exp: Update "info record" output.
2209 * gdb.btrace/finish.exp: Update "info record" output.
2210 * gdb.btrace/instruction_history.exp: Update "info record" output.
2211 * gdb.btrace/next.exp: Update "info record" output.
2212 * gdb.btrace/nexti.exp: Update "info record" output.
2213 * gdb.btrace/step.exp: Update "info record" output.
2214 * gdb.btrace/stepi.exp: Update "info record" output.
2215 * gdb.btrace/nohist.exp: Update "info record" output.
2216
d33501a5
MM
22172015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2218
2219 * gdb.btrace/buffer-size: New.
2220
f4abbc16
MM
22212015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2222
2223 * gdb.btrace/delta.exp: Update "info record" output.
2224 * gdb.btrace/enable.exp: Update "info record" output.
2225 * gdb.btrace/finish.exp: Update "info record" output.
2226 * gdb.btrace/instruction_history.exp: Update "info record" output.
2227 * gdb.btrace/next.exp: Update "info record" output.
2228 * gdb.btrace/nexti.exp: Update "info record" output.
2229 * gdb.btrace/step.exp: Update "info record" output.
2230 * gdb.btrace/stepi.exp: Update "info record" output.
2231 * gdb.btrace/nohist.exp: Update "info record" output.
2232
b9d61307
SM
22332015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2234
2235 PR gdb/15678
2236 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2237
e584fdbc
PA
22382015-02-06 Pedro Alves <palves@redhat.com>
2239
2240 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2241 macro.
2242 (seconds_left, again): New globals.
2243 (main): Wait seconds_left in a 1-second sleep loop instead of
2244 sleeping 180 seconds. If 'again' is set, reset the seconds
2245 counter.
2246 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2247 'again' in the inferior before detaching. Print the seconds left.
2248 (options): New global.
2249 (top level): Build program with -DTIMEOUT=$timeout.
2250
77f41761
PA
22512015-02-06 Pedro Alves <palves@redhat.com>
2252
2253 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2254 determine how many seconds to pass to 'alarm'.
2255 * gdb.base/gdb-sigterm.exp (top level): Build program with
2256 -DTIMEOUT=$timeout.
2257 (do_test): Return success/failure indication. Add more verbose
2258 logging. Don't fail if 200 single steps are seen. Instead, fail
2259 when the test times out.
2260 (passes): New global.
2261 (top level): Break the testing loop if testing fails on any
2262 iteration. Use gdb_assert.
2263
b9394193
DB
22642015-02-04 Don Breazeal <donb@codesourcery.com>
2265
2266 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2267 and initialize them.
2268 (ipc_cleanup): New function.
2269 (main): Don't declare shmid, semid, and msqid. Add a call to
2270 atexit so that we call ipc_cleanup on exit.
2271
42d9e528
PA
22722015-02-04 Pedro Alves <palves@redhat.com>
2273
2274 * boards/native-extended-gdbserver.exp: Remove any target variant
2275 specifications from the board name before clearing the isremote
2276 flag from board_info.
2277
ae6ae975
DE
22782015-01-31 Doug Evans <xdje42@gmail.com>
2279
2280 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2281
cfb069a8
GB
22822015-01-31 Gary Benson <gbenson@redhat.com>
2283
2284 * gdb.base/completion.exp: Disable completion limiting for
2285 existing tests. Add new tests to check completion limiting.
2286 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2287
5dd31d79
DE
22882015-01-31 Doug Evans <xdje42@gmail.com>
2289
2290 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2291
9f050062
DE
22922015-01-31 Doug Evans <xdje42@gmail.com>
2293
2294 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2295 entries. Duplicate file section script entries.
2296 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2297 inlined entries. Add test for safe-path rejection.
2298 * gdb.python/py-section-script.c: Add duplicate inlined section script
2299 entries. Duplicate file section script entries.
2300 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2301 inlined entries. Add test for safe-path rejection.
2302
df25ebbd
JB
23032015-01-29 Joel Brobecker <brobecker@adacore.com>
2304
2305 * gdb.ada/disc_arr_bound: New testcase.
2306
4a0ca9ec
JB
23072015-01-29 Joel Brobecker <brobecker@adacore.com>
2308
2309 * gdb.ada/mi_var_array: New testcase.
2310
3a8b707a
DE
23112015-01-27 Doug Evans <dje@google.com>
2312
2313 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2314 Add test for objfile.filename, objfile.username after objfile
2315 has been unloaded.
2316
f8313f6e
JB
23172015-01-26 Joel Brobecker <brobecker@adacore.com>
2318
2319 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2320 the second test to print the name attribute of value
2321 returned by the call to gdb.lookup_type, and adjust
2322 the expected output accordingly.
2323
37bc665e
MW
23242015-01-25 Mark Wielaard <mjw@redhat.com>
2325
2326 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2327 * gdb.base/disp-step-fork.c: Include unistd.h.
2328 * gdb.base/siginfo-obj.c: Include stdio.h.
2329 * gdb.base/siginfo-thread.c: Likewise.
2330 * gdb.mi/non-stop.c: Include unistd.h.
2331 * gdb.mi/nsthrexec.c: Include stdio.h.
2332 * gdb.mi/pthreads.c: Include unistd.h.
2333 * gdb.modula2/unbounded1.c (main): Declare returns int.
2334 * gdb.reverse/consecutive-reverse.c: Likewise.
2335 * gdb.threads/create-fail.c: Include unistd.h.
2336 * gdb.threads/killed.c: Likewise.
2337 * gdb.threads/linux-dp.c: Likewise.
2338 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2339 * gdb.threads/non-ldr-exc-2.c: Likewise.
2340 * gdb.threads/non-ldr-exc-3.c: Likewise.
2341 * gdb.threads/non-ldr-exc-4.c: Likewise.
2342 * gdb.threads/pthreads.c: Include unistd.h.
2343 (main): Declare returns int.
2344 * gdb.threads/tls-main.c (foo): New declaration.
2345 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2346
f7e5394d
SM
23472015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2348
2349 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2350 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2351
743649fd
MW
23522015-01-15 Mark Wielaard <mjw@redhat.com>
2353
2354 * gdb.base/noreturn-return.c: New file.
2355 * gdb.base/noreturn-return.exp: New file.
2356 * gdb.base/noreturn-finish.c: New file.
2357 * gdb.base/noreturn-finish.exp: New file.
2358
198297aa
PA
23592015-01-23 Pedro Alves <palves@redhat.com>
2360
2361 * gdb.threads/continue-pending-after-query.c: New file.
2362 * gdb.threads/continue-pending-after-query.exp: New file.
2363
717cf30c
AG
23642015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2365 Simon Marchi <simon.marchi@ericsson.com>
2366
2367 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2368 * gdb.base/valgrind-db-attach.exp: Same.
2369 * gdb.base/valgrind-infcall.exp: Same.
2370 * lib/mi-support.exp (default_mi_gdb_start): Same.
2371 * lib/prompt.exp (default_prompt_gdb_start): Same.
2372 * lib/gdb.exp (default_gdb_spawn): Same.
2373 (gdb_interact): New.
2374
2375
4b62a76e
JK
23762015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2377
2378 * gdb.compile/compile.exp (pointer to jit function): New test.
2379
b4cdae6f
WW
23802015-01-17 Wei-cheng Wang <cole945@gmail.com>
2381
2382 * lib/gdb.exp (supports_process_record): Return true for
2383 powerpc*-*-linux*.
2384 (supports_reverse): Likewise.
2385
d221e7ef
DB
23862015-01-15 Don Breazeal <donb@codesourcery.com>
2387
2388 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2389 instead of checking whether the target board is remote and
2390 use spawn_wait_for_attach instead of exec/sleep.
2391 * gdb.base/attach-twice.exp: Likewise.
2392
bafffb51
JB
23932015-01-15 Joel Brobecker <brobecker@adacore.com>
2394
2395 * gdb.ada/var_arr_attrs: New testcase.
2396
5589af0e
PA
23972015-01-14 Pedro Alves <palves@redhat.com>
2398 Joel Brobecker <brobecker@adacore.com>
2399
2400 PR gdb/17525
2401 * gdb.base/bp-cmds-execution-x-script.c: New file.
2402 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2403 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2404
6c400b59
PA
24052015-01-14 Pedro Alves <palves@redhat.com>
2406
2407 PR cli/17828
2408 * gdb.base/batch-preserve-term-settings.c: New file.
2409 * gdb.base/batch-preserve-term-settings.exp: New file.
2410
e02c96a7
DE
24112015-01-13 Doug Evans <dje@google.com>
2412
2413 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2414 binary.
2415
576fd14c
JB
24162015-01-13 Joel Brobecker <brobecker@adacore.com>
2417
2418 * Makefile.in (clean mostlyclean): Do not delete *.py.
2419
04dccad0
JB
24202015-01-13 Joel Brobecker <brobecker@adacore.com>
2421
2422 * gdb.python/py-lookup-type.exp: New file.
2423
3d230f71
PA
24242015-01-12 Pedro Alves <palves@redhat.com>
2425
2426 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2427 restore GDBFLAGS before returning.
2428
7e67715d
JK
24292015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2430
2431 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2432 is_amd64_regs_target and is_x86_like_target.
2433
f2e0d4b4
DE
24342015-01-11 Doug Evans <xdje42@gmail.com>
2435
2436 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2437 is given without an explicit form.
2438 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2439 attributes.
2440 * gdb.dwarf/corrupt.exp: Ditto.
2441 * gdb.dwarf2/enum-type.exp: Ditto.
2442 * gdb.trace/entry-values.exp: Ditto.
2443 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2444
439250fb
DE
24452015-01-11 Doug Evans <xdje42@gmail.com>
2446
2447 PR gdb/15830
2448 * gdb.base/maint.exp: Remove references to "maint demangle".
2449 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2450 Add tests for explicitly specifying language to demangle.
2451 * gdb.dlang/demangle.exp: Ditto.
2452
ede9f622
PA
24532015-01-09 Pedro Alves <palves@redhat.com>
2454
2455 * gdb.threads/non-stop-fair-events.c: New file.
2456 * gdb.threads/non-stop-fair-events.exp: New file.
2457
a7b796db
PA
24582015-01-09 Pedro Alves <palves@redhat.com>
2459
2460 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2461 the global scope. Set a breakpoint after all threads are started
2462 rather than stepping over two source lines. Expect the prompt.
2463 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2464 global.
2465 (NUM): Now 15.
2466 (main): Use threads_started_barrier to wait for all threads to
2467 start. Main thread no longer calls thread_function. Exit after
2468 180 seconds.
2469 (loop): New function.
2470 (thread_function): Wait on threads_started_barrier barrier. Call
2471 'loop' at each iteration.
2472 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2473 threads have started, instead of hardcoding number of "next"
2474 steps. Use an access watchpoint instead of a write watchpoint.
2475
9665ffdd
PA
24762015-01-09 Pedro Alves <palves@redhat.com>
2477
2478 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2479 (thread_func): Wait on barrier.
2480 (main): Wait for all threads to start before stopping GDB.
2481 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2482 global.
2483 (thread1_func, thread2_func): Wait on barrier.
2484 (main): Wait for all threads to start before stopping GDB.
2485 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2486 New global.
2487 (thread1_func, thread2_func): Wait on barrier.
2488 (main): Wait for all threads to start before stopping GDB.
2489
c945a99f
PA
24902015-01-09 Pedro Alves <palves@redhat.com>
2491
2492 * gdb.threads/attach-many-short-lived-threads.c: New file.
2493 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2494
c1a747c1
PA
24952014-01-09 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2498 instead of to thread 2.
2499 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2500 Add barrier around each pthread_create call instead of around all
2501 calls.
2502 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2503 Set a break on thread_function and have the child threads hit it
2504 one at at a time.
2505
60b3033e
PA
25062015-01-09 Pedro Alves <palves@redhat.com>
2507
2508 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2509 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2510 false.
2511 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2512 checking whether the target board is remote.
2513 * gdb.multi/multi-attach.exp: Likewise.
2514 * gdb.python/py-sync-interp.exp: Likewise.
2515 * gdb.server/ext-attach.exp: Likewise.
2516 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2517 tests that need to attach, instead of checking whether the target
2518 board is remote at the top of the file.
2519
acc018ac
YQ
25202015-01-08 Yao Qi <yao@codesourcery.com>
2521
2522 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2523
50a18af8
JK
25242015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2525
2526 Fix testcase compilation.
2527 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2528
8503d6e1
JB
25292015-01-06 Joel Brobecker <brobecker@adacore.com>
2530
2531 * gdb.python/py-type.exp: Add a couple test about empty
2532 array creation, and negative-length array creation.
2533
cc73dbcc
DE
25342015-01-02 Doug Evans <xdje42@gmail.com>
2535
2536 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2537
0300bbc7
DE
25382015-01-02 Doug Evans <dje@google.com>
2539
2540 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2541
9d85a0ec
YQ
25422014-12-29 Yao Qi <yao@codesourcery.com>
2543
2544 * gdb.trace/entry-values.exp: Update comments. Rename variable
2545 bar_call_foo to returned_from_foo.
2546
87186c6a
MMN
25472014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2548
2549 PR gdb/17394
2550 * gdb.linespec/break-asm-file.c: New file.
2551 * gdb.linespec/break-asm-file.exp: New file.
2552 * gdb.linespec/break-asm-file0.s: New file.
2553 * gdb.linespec/break-asm-file1.s: New file.
2554
1bab7383
YQ
25552014-12-18 Nigel Stephens <nigel@mips.com>
2556 Maciej W. Rozycki <macro@codesourcery.com>
2557
2558 * gdb.base/float.exp: Handle the new output from "info float" on
2559 MIPS targets.
2560
1bc1068a
JK
25612014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2562
2563 Fix MinGW compilation.
2564 * gdb.compile/compile-ops.exp: Update untested message if
2565 !skip_compile_feature_tests.
2566 * gdb.compile/compile-setjmp.exp: Likewise.
2567 * gdb.compile/compile-tls.exp: Likewise.
2568 * gdb.compile/compile.exp: Likewise.
2569 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2570 supported on this host".
2571
b6615d10
DE
25722014-12-16 Doug Evans <xdje42@gmail.com>
2573
2574 * boards/stabs.exp: New file.
2575
25dda427
AA
25762014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2577
2578 * gdb.base/completion.exp: Adjust to format changes of "maint
2579 print user-registers".
2580
bf330350
CU
25812014-12-16 Catalin Udma <catalin.udma@freescale.com>
2582
2583 PR server/17457
2584 * gdb.arch/aarch64-fp.c: New file.
2585 * gdb.arch/aarch64-fp.exp: New file.
2586
395cf596
SDJ
25872014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2588
2589 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2590 r210637, r210913, r211666, r215400, r215817).
2591
2592 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2593 * dg-extract-results.py: New file.
2594 * dg-extract-results.sh: Use it if the environment seems
2595 suitable.
2596
2597 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2598
2599 * dg-extract-results.py (parse_run): Handle warnings that
2600 are printed before a test harness is run.
2601
2602 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2603
2604 * dg-extract-results.py (Named): Remove __cmp__ method.
2605 (output_variation): Use a key to sort variation.harnesses.
2606
2607 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2608
2609 * dg-extract-results.py: For Python 3, force sys.stdout to
2610 handle surrogate escape sequences.
2611 (safe_open): New function.
2612 (output_segment, main): Use it.
2613
2614 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2615
2616 * dg-extract-results.py (Prog.result_re): Include options
2617 in test name.
2618
2619 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2620
2621 * dg-extract-results.py (output_variation): Always sort if
2622 do_sum.
2623
e882ef3c
SM
26242014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2625
2626 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2627 as long as we get pagination notifications.
2628
4992aa20
JM
26292014-12-15 Jason Merrill <jason@redhat.com>
2630
2631 * Makefile.in (check-gdb.%): Restore.
2632 * README: Mention it.
2633
c1b5a1a6
JB
26342014-12-13 Joel Brobecker <brobecker@adacore.com>
2635
2636 * gdb.ada/str_uninit: New testcase.
2637
5537b577
JK
26382014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2639
2640 PR symtab/17642
2641 * gdb.base/vla-stub-define.c: New file.
2642 * gdb.base/vla-stub.c: New file.
2643 * gdb.base/vla-stub.exp: New file.
2644
bb2ec1b3
TT
26452014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2646 Jan Kratochvil <jan.kratochvil@redhat.com>
2647 Tom Tromey <tromey@redhat.com>
2648
2649 * configure.ac: Add gdb.compile/.
2650 * configure: Regenerate.
2651 * gdb.compile/Makefile.in: New file.
2652 * gdb.compile/compile-ops.exp: New file.
2653 * gdb.compile/compile-ops.c: New file.
2654 * gdb.compile/compile-tls.c: New file.
2655 * gdb.compile/compile-tls.exp: New file.
2656 * gdb.compile/compile-constvar.S: New file.
2657 * gdb.compile/compile-constvar.c: New file.
2658 * gdb.compile/compile-mod.c: New file.
2659 * gdb.compile/compile-nodebug.c: New file.
2660 * gdb.compile/compile-setjmp-mod.c: New file.
2661 * gdb.compile/compile-setjmp.c: New file.
2662 * gdb.compile/compile-setjmp.exp: New file.
2663 * gdb.compile/compile-shlib.c: New file.
2664 * gdb.compile/compile.c: New file.
2665 * gdb.compile/compile.exp: New file.
2666 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2667
4ff709eb
TT
26682014-12-12 Tom Tromey <tromey@redhat.com>
2669
2670 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2671 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2672
6dddd6a5
DE
26732014-12-12 Doug Evans <dje@google.com>
2674
2675 * lib/gdb-python.exp (get_python_valueof): New function.
2676 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2677
71c24708
AA
26782014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2679
2680 * gdb.base/completion.exp: Add test for completion of "info
2681 registers ".
2682
3e29f34a
MR
26832014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2684
2685 * gdb.base/func-ptrs.c: New file.
2686 * gdb.base/func-ptrs.exp: New file.
2687
fc126975
SM
26882014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2689
2690 PR breakpoints/17012
2691 * gdb.base/dprintf-detach.c: New file.
2692 * gdb.base/dprintf-detach.exp: New file.
2693
0a46d518
SM
26942014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2695
2696 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2697 * lib/gdb.exp (target_is_gdbserver): New procedure.
2698
a0be3e44
DE
26992014-12-08 Doug Evans <dje@google.com>
2700
2701 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2702
df1b803a
YQ
27032014-12-05 Yao Qi <yao@codesourcery.com>
2704
2705 * gdb.guile/scm-error.exp: Remove the third argument to
2706 gdb_remote_download.
2707 * gdb.guile/scm-frame-args.exp: Likewise.
2708 * gdb.guile/scm-section-script.exp: Likewise.
2709
ddb9f679
YQ
27102014-12-05 Yao Qi <yao@codesourcery.com>
2711
2712 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2713
86e4ed39
DE
27142014-12-04 Doug Evans <dje@google.com>
2715
2716 * gdb.python/py-objfile.exp: Add tests for
2717 objfile.add_separate_debug_file.
2718
7c50a931
DE
27192014-12-04 Doug Evans <dje@google.com>
2720
2721 * lib/gdb.exp (get_build_id): New function.
2722 (build_id_debug_filename_get): Rewrite to use it.
2723 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2724
621661e3
MR
27252014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2726
2727 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2728 `method(long)', not just 0x0.
2729 * gdb.cp/nsalias.exp: Align code labels to 4.
2730 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2731 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2732 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2733 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2734 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2735 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2736
29f0c3b7
DE
27372014-12-02 Doug Evans <dje@google.com>
2738
e1e061e7 2739 PR symtab/17602
29f0c3b7 2740 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2741 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2742 * gdb.cp/anon-ns.exp: Update.
2743
162078c8
NB
27442014-12-02 Nick Bull <nicholaspbull@gmail.com>
2745
2746 * gdb.python/py-events.py (inferior_call_handler): New.
2747 (register_changed_handler, memory_changed_handler): New.
2748 (test_events.invoke): Register new handlers.
2749 * gdb.python/py-events.exp: Add tests for inferior call,
2750 memory_changed and register_changed events.
2751
fdb09caf
AA
27522014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2753
2754 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2755 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2756 if the linker doesn't understand this.
2757
55cfb2c4
SM
27582014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2759
2760 * gdb.python/python.exp: Change expected reply to help().
2761
9e8cd6df
YQ
27622014-12-01 Yao Qi <yao@codesourcery.com>
2763
2764 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2765 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2766 * configure: Re-generated.
2767
6c659fc2
SC
27682014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2769
2770 * gdb.cp/chained-calls.cc: New file.
2771 * gdb.cp/chained-calls.exp: New file.
2772 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2773
d7fc3181
SM
27742014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2775
2776 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2777 * gdb.dwarf2/symtab-producer.exp: Same.
2778 * gdb.gdb/python-interrupts.exp: Same.
2779 * gdb.gdb/python-selftest.exp: Same.
2780 * gdb.python/py-linetable.exp: Same.
2781 * gdb.python/py-type.exp: Same.
2782 * gdb.python/py-value-cc.exp: Same.
2783 * gdb.python/py-value.exp: Same.
2784
10e79639
YQ
27852014-11-28 Yao Qi <yao@codesourcery.com>
2786
2787 * gdb.base/break-probes.exp: Match library name prefixed with
2788 sysroot.
2789
f28a0564
SM
27902014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2791
2792 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2793 test expected output. Add parentheses for the call to print.
2794 Remove L suffix from integers.
2795
3fe1ce1d
DE
27962014-11-26 Doug Evans <dje@google.com>
2797
2798 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2799
84429e27
YQ
28002014-11-22 Yao Qi <yao@codesourcery.com>
2801
2802 * gdb.trace/entry-values.c: Remove asms.
2803 (foo): Add foo_label.
2804 (bar): Add bar_label.
2805 * gdb.trace/entry-values.exp: Remove code computing foo's
2806 length and bar's length.
2807 (Dwarf::assemble): Invoke function_range for bar and use
2808 MACRO_AT_func for foo.
2809
26741859
YQ
28102014-11-22 Yao Qi <yao@codesourcery.com>
2811
2812 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2813 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2814 Use .Lgcc43_procstart instead of gcc43.
2815
45e44d27
JB
28162014-11-21 Joel Brobecker <brobecker@adacore.com>
2817
2818 * gdb.ada/n_arr_bound: New testcase.
2819
458c8db8
SDJ
28202014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2821
2822 PR breakpoints/10737
2823 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2824 test_catch_syscall_multi_arch.
2825 (test_catch_syscall_multi_arch): New function.
2826
43f3e411
DE
28272014-11-20 Doug Evans <xdje42@gmail.com>
2828
2829 * gdb.base/maint.exp: Update expected output.
2830
0d7b2549
AA
28312014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2832
2833 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2834 4-byte instruction on S390.
2835
8908fca5
JB
28362014-11-19 Joel Brobecker <brobecker@adacore.com>
2837
2838 * gdb.ada/arr_arr: New testcase.
2839
4a46959e
JB
28402014-11-19 Joel Brobecker <brobecker@adacore.com>
2841
2842 * gdb.ada/pkd_arr_elem: New Testcase.
2843
470e2f4e
LM
28442014-11-18 Luis Machado <lgustavo@codesourcery.com>
2845
2846 * gdb.reverse/break-precsave: Expect completion message for
2847 core file reads.
2848 * gdb.reverse/consecutive-precsave.exp: Likewise.
2849 * gdb.reverse/finish-precsave.exp: Likewise.
2850 * gdb.reverse/i386-precsave.exp: Likewise.
2851 * gdb.reverse/machinestate-precsave.exp: Likewise.
2852 * gdb.reverse/sigall-precsave.exp: Likewise.
2853 * gdb.reverse/solib-precsave.exp: Likewise.
2854 * gdb.reverse/step-precsave.exp: Likewise.
2855 * gdb.reverse/until-precsave.exp: Likewise.
2856 * gdb.reverse/watch-precsave.exp: Likewise.
2857
a267f3ad
AA
28582014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2859
2860 * gdb.base/bp-permanent.c: Include unistd.h.
2861 * gdb.python/py-framefilter-mi.c (main): Add return type.
2862 * gdb.python/py-framefilter.c (main): Likewise.
2863 * gdb.trace/actions-changed.c (main): Likewise.
2864
12084a9a
AA
28652014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2866
2867 * gdb.mi/until.c: Add eye-catchers.
2868 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2869 line numbers.
2870
dc7e1a77
AA
28712014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2872
2873 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2874 function header variants in break1.c.
2875 * gdb.base/ena-dis-br.exp: Likewise.
2876 * gdb.base/hbreak2.exp: Likewise.
2877 * gdb.reverse/until-precsave.exp: Drop references to removed
2878 non-prototype function header variants in ur1.c.
2879 * gdb.reverse/until-reverse.exp: Likewise.
2880
41c77605
PM
28812014-11-17 Petr Machata <pmachata@redhat.com>
2882
2883 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2884 ${_cu_offset_size} bytes abbrev offset.
2885
34248c3a
DE
28862014-11-15 Doug Evans <xdje42@gmail.com>
2887
2888 PR symtab/17559
2889 * gdb.base/line-symtabs.exp: New file.
2890 * gdb.base/line-symtabs.c: New file.
2891 * gdb.base/line-symtabs.h: New file.
2892
646da059
YQ
28932014-11-14 Yao Qi <yao@codesourcery.com>
2894
2895 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2896 (func): Add label func_label.
2897 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2898 Replace low_pc and high_pc with MACRO_AT_range.
2899 Replace name, low_pc and high_pc with MACRO_AT_func.
2900
9301ebe6
YQ
29012014-11-14 Yao Qi <yao@codesourcery.com>
2902
2903 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2904 Replace name, low_pc and high_pc with MACRO_AT_func.
2905
f166b542
YQ
29062014-11-14 Yao Qi <yao@codesourcery.com>
2907
2908 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2909 produce debug information.
2910 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2911
0f6e71e3
YQ
29122014-11-14 Yao Qi <yao@codesourcery.com>
2913
2914 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2915 object and get function length.
2916 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2917 with MACRO_AT_func.
2918 (top-level): Replace gdb_compile and clean_restart with
2919 prepare_for_testing.
2920 * gdb.dwarf2/main.c (main): Add label main_label.
2921
876c4df9
YQ
29222014-11-14 Yao Qi <yao@codesourcery.com>
2923
2924 * lib/dwarf.exp (function_range): New procedure.
2925 (Dwarf::_handle_macro_at_func): New procedure.
2926 (Dwarf::_handle_macro_at_range): New procedure.
2927 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2928
02ad9cf1
YQ
29292014-11-14 Yao Qi <yao@codesourcery.com>
2930
2931 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2932 (_handle_attribute): New procedure.
2933
a59add0c
AA
29342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2935
2936 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2937 * gdb.base/call-sc.c (zed): Likewise.
2938 * gdb.base/checkpoint.c (main): Likewise.
2939 * gdb.base/dump.c (main): Likewise.
2940 * gdb.base/gcore.c (main): Likewise.
2941 * gdb.base/huge.c (main): Likewise.
2942 * gdb.base/multi-forks.c (main): Likewise.
2943 * gdb.base/pr10179-a.c (main): Likewise.
2944 * gdb.base/savedregs.c (main): Likewise.
2945 * gdb.base/sigaltstack.c (main): Likewise.
2946 * gdb.base/siginfo.c (main): Likewise.
2947 * gdb.base/structs.c (zed): Likewise.
2948 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2949 * gdb.mi/mi-syn-frame.c (main): Likewise.
2950 * gdb.mi/until.c (foo, main): Likewise.
2951 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2952 * gdb.base/solib-weak.c (foo): Declare.
2953 * gdb.base/attach-twice.c: Include stdio.h.
2954 * gdb.base/weaklib1.c: Likewise.
2955 * gdb.base/weaklib2.c: Likewise.
2956 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2957 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2958 unistd.h.
2959 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2960 * gdb.mi/mi-exit-code.c: Likewise.
2961 * gdb.base/break-interp-lib.c: Include string.h.
2962 * gdb.base/coremaker.c: Likewise.
2963 * gdb.base/testenv.c: Likewise.
2964 * gdb.python/py-finish-breakpoint.c: Likewise.
2965 * gdb.base/inferior-died.c: Include sys/wait.h.
2966 * gdb.base/fileio.c: Include time.h.
2967 * gdb.base/async-shell.c: Include unistd.h.
2968 * gdb.base/dprintf-non-stop.c: Likewise.
2969 * gdb.base/info-os.c: Likewise.
2970 * gdb.mi/mi-console.c: Likewise.
2971 * gdb.mi/watch-nonstop.c: Likewise.
2972 * gdb.python/py-events.c: Likewise.
2973 * gdb.base/async.c (baz): Move up before its invocation.
2974 * gdb.base/code_elim2.c (my_global_func): Likewise.
2975 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2976 * gdb.base/advance.c (func2): Likewise.
2977
3b5d5997
AA
29782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2979
2980 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2981 variant.
2982 * gdb.base/annota3.c: Likewise.
2983 * gdb.base/async.c: Likewise.
2984 * gdb.base/average.c: Likewise.
2985 * gdb.base/call-ar-st.c: Likewise.
2986 * gdb.base/call-rt-st.c: Likewise.
2987 * gdb.base/call-sc.c: Likewise.
2988 * gdb.base/call-strs.c: Likewise.
2989 * gdb.base/ending-run.c: Likewise.
2990 * gdb.base/execd-prog.c: Likewise.
2991 * gdb.base/exprs.c: Likewise.
2992 * gdb.base/foll-exec.c: Likewise.
2993 * gdb.base/foll-fork.c: Likewise.
2994 * gdb.base/foll-vfork.c: Likewise.
2995 * gdb.base/funcargs.c: Likewise.
2996 * gdb.base/gcore.c: Likewise.
2997 * gdb.base/jump.c: Likewise.
2998 * gdb.base/langs0.c: Likewise.
2999 * gdb.base/langs1.c: Likewise.
3000 * gdb.base/langs2.c: Likewise.
3001 * gdb.base/mips_pro.c: Likewise.
3002 * gdb.base/nodebug.c: Likewise.
3003 * gdb.base/opaque0.c: Likewise.
3004 * gdb.base/opaque1.c: Likewise.
3005 * gdb.base/recurse.c: Likewise.
3006 * gdb.base/run.c: Likewise.
3007 * gdb.base/scope0.c: Likewise.
3008 * gdb.base/scope1.c: Likewise.
3009 * gdb.base/setshow.c: Likewise.
3010 * gdb.base/setvar.c: Likewise.
3011 * gdb.base/shmain.c: Likewise.
3012 * gdb.base/shr1.c: Likewise.
3013 * gdb.base/shr2.c: Likewise.
3014 * gdb.base/sigall.c: Likewise.
3015 * gdb.base/signals.c: Likewise.
3016 * gdb.base/so-indr-cl.c: Likewise.
3017 * gdb.base/solib2.c: Likewise.
3018 * gdb.base/structs.c: Likewise.
3019 * gdb.base/sum.c: Likewise.
3020 * gdb.base/vforked-prog.c: Likewise.
3021 * gdb.base/watchpoint.c: Likewise.
3022 * gdb.reverse/shr2.c: Likewise.
3023 * gdb.reverse/until-reverse.c: Likewise.
3024 * gdb.reverse/ur1.c: Likewise.
3025 * gdb.reverse/watch-reverse.c: Likewise.
3026
066a77c5
AA
30272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3028
3029 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3030 variant.
3031 * gdb.base/sepdebug.exp: Drop references to removed code.
3032
4f204ea5
AA
30332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3034
3035 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3036 variant. Preserve original line numbering.
3037 * gdb.base/list1.c: Likewise.
3038
3b377a3a
AA
30392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3040
3041 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3042 variant.
3043 * gdb.base/break1.c: Likewise.
3044 * gdb.base/break.exp: Drop references to removed code.
3045
e444df73
AA
30462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3047
3048 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3049 variant.
3050
8008f2a7
AA
30512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3052
3053 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3054
a5a06887
AA
30552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3056
3057 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3058 logic into perform_all_tests() and invoke it with and without
3059 function header prototypes.
3060 (do_function_calls): Remove conditional XFAIL for PR 5318.
3061 (rerun_and_prepare): Remove duplicate code.
3062 (perform_all_tests): New. Main logic moved here.
3063
44dba9b9
AA
30642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3065
3066 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3067 code guarded by #ifdef NO_PROTOTYPES.
3068 (t_double_many_args): Likewise.
3069 (DEF_FUNC_MANY_ARGS_1): Likewise.
3070 (DEF_FUNC_VALUES_1): Likewise.
3071 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3072 guarded by #ifdef PROTOTYPES.
3073
d1fbcd56
AA
30742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3075
3076 * gdb.mi/mi-console.c: Add eye-catcher.
3077 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3078 instead of literal line number.
3079
b0e59b8f
AA
30802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3081
3082 * gdb.base/shr2.c: Add eye-catcher.
3083 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3084 line number.
3085
78f98cca
AA
30862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3087
3088 * gdb.base/jump.c: Add eye-catchers.
3089 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3090 numbers.
3091
58fa2af0
AA
30922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3093
3094 * gdb.base/execd-prog.c: Add eye-catchers.
3095 * gdb.base/foll-exec.c: Likewise.
3096 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3097 line numbers.
3098
04e5059b
AA
30992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3100
3101 * gdb.base/ending-run.c: Add eye-catchers.
3102 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3103 literal line numbers.
3104
dbfdb174
AA
31052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3106
3107 * gdb.base/call-rt-st.c: Add eye-catchers.
3108 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3109 literal line numbers.
3110
888a2ade
AA
31112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3112
3113 * gdb.base/call-ar-st.c: Add eye-catchers.
3114 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3115 literal line numbers.
3116
6acc2dde
AA
31172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3118
3119 * gdb.base/average.c: Add eye-catchers.
3120 * gdb.base/sum.c: Likewise.
3121 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3122 regexps dynamically.
3123
9ecfcd1d
AA
31242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3125
3126 * gdb.base/solib1.c: Add eye-catchers.
3127 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3128 literal line numbers.
3129
78708b7c
PA
31302014-11-12 Pedro Alves <palves@redhat.com>
3131
3132 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3133 leader has exited.
3134
af48d08f
PA
31352014-11-12 Pedro Alves <palves@redhat.com>
3136
3137 * gdb.arch/i386-bp_permanent.c: New file.
3138 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3139 (srcfile): Set to i386-bp_permanent.c.
3140 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3141 that stepi does not execute the 'leave' instruction, instead of
3142 testing it does execute.
3143 * gdb.base/bp-permanent.c: New file.
3144 * gdb.base/bp-permanent.exp: New file.
3145
af3768e9
DE
31462014-11-10 Doug Evans <xdje42@gmail.com>
3147
3148 PR symtab/17564
3149 * gdb.base/symtab-search-order.exp: New file.
3150 * gdb.base/symtab-search-order.c: New file.
3151 * gdb.base/symtab-search-order-1.c: New file.
3152 * gdb.base/symtab-search-order-shlib-1.c: New file.
3153
9de00a4a
PA
31542014-11-07 Pedro Alves <palves@redhat.com>
3155
3156 PR gdb/17511
3157 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3158 i?86-*-linux*.
3159
e0f52461
SC
31602014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3161
3162 PR c++/17494
3163 * gdb.cp/pr17494.cc: New file.
3164 * gdb.cp/pr17494.exp: New file.
3165
6ce8c980
YQ
31662014-11-02 Yao Qi <yao@codesourcery.com>
3167
3168 * gdb.python/python.exp: Get working directory and match the
3169 output of "set extended-prompt \\w " with it.
3170
02be9a71
DE
31712014-10-30 Doug Evans <dje@google.com>
3172
3173 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3174 in objfiles.
3175 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3176 in progspaces.
3177
3bdff46b
LM
31782014-10-30 Janis Johnson <janisjo@codesourcery.com>
3179
3180 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3181 * gdb.base/realname-expand.exp: Likewise.
3182 * gdb.linespec/macro-relative.exp: Likewise.
3183
ab917dfb
PA
31842014-10-29 Pedro Alves <palves@redhat.com>
3185
3186 PR gdb/17408
3187 * gdb.threads/schedlock.c (some_function): New function.
3188 (call_function): New global.
3189 (MAYBE_CALL_SOME_FUNCTION): New macro.
3190 (thread_function): Call it.
3191 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3192 and use it instead of a global counter. Adjust all callers.
3193 (get_current_thread): Use "find current thread" for test message
3194 here rather than having all callers pass down the same string.
3195 (goto_loop): New procedure, factored out from ...
3196 (my_continue): ... this.
3197 (step_ten_loops): Change parameter from test message to command to
3198 use. Adjust.
3199 (list_count): Delete global.
3200 (check_result): New procedure, factored out from duplicate top
3201 level code.
3202 (continue tests): Wrap in with_test_prefix.
3203 (test_step): New procedure, factored out from duplicate top level
3204 code.
3205 (top level): Test "step" in combination with all scheduler-locking
3206 modes. Test "next" in combination with all scheduler-locking
3207 modes, and in combination with stepping over a function call or
3208 not.
3209 * gdb.threads/next-bp-other-thread.c: New file.
3210 * gdb.threads/next-bp-other-thread.exp: New file.
3211
d3d4baed
PA
32122014-10-29 Pedro Alves <palves@redhat.com>
3213
3214 PR python/17372
3215 * gdb.python/python.exp: Test a multi-line command that spawns
3216 interactive Python.
3217 * gdb.base/multi-line-starts-subshell.exp: New file.
3218
563e8d85
YQ
32192014-10-29 Yao Qi <yao@codesourcery.com>
3220
3221 * gdb.base/fileio.exp: Make directories on host.
3222
0ea4d52e
YQ
32232014-10-29 Yao Qi <yao@codesourcery.com>
3224
3225 * gdb.base/fileio.c (test_write): Close the file.
3226
7f5ef605
PA
32272014-10-28 Pedro Alves <palves@redhat.com>
3228
3229 PR gdb/12623
3230 * gdb.base/sigstep.c (no_handler): New global.
3231 (main): If 'no_handler is true, set the signal handlers to
3232 SIG_IGN.
3233 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3234 with_sw_watch and no_handler parameters. Handle them.
3235 (top level) <stepping over handler when stopped at a breakpoint
3236 test>: Add a test axis for testing with a software watchpoint, and
3237 another for testing with the signal handler set to SIG_IGN.
3238 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3239 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3240
abbdbd03
PA
32412014-10-28 Pedro Alves <palves@redhat.com>
3242
3243 PR gdb/17511
3244 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3245 * gdb.base/sigstep.exp (other_handler_location): New global.
3246 (advance): Support stepping into the signal handler, and running
3247 commands while in the handler.
3248 (in_handler_map): New global.
3249 (top level): In the advance test, add combinations for getting
3250 into the handler with stepping commands, and for running commands
3251 in the handler. Add comment descripting the advancei tests.
3252
1df4399f
PA
32532014-10-28 Pedro Alves <palves@redhat.com>
3254
3255 * gdb.base/sigstep.exp: Use build_executable instead of
3256 prepare_for_testing.
3257 (top level): Move code that starts GDB, runs to main and creates a
3258 display to ...
3259 (restart): ... this new procedure.
3260 (top level): Move backtrace from signal handler test to ...
3261 (validate_backtrace): ... this new procedure.
3262 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3263 with_test_prefix. Always restart GDB.
3264 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3265 with_test_prefix. Always restart GDB. No need to delete
3266 breakpoints after the test.
3267 (test_skip_handler): Remove prefix parameter.
3268 (skip_over_handler, breakpoint_to_handler)
3269 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3270 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3271 restart GDB. No need to delete breakpoints after the test.
3272 (top level): Use foreach to call the test procedures with
3273 different commands.
3274
a5b6e449
PA
32752014-10-28 Pedro Alves <palves@redhat.com>
3276
3277 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3278 instead of GNATS numbers.
3279 * gdb.base/sigbpt.exp: Likewise.
3280 * gdb.base/siginfo.exp: Likewise.
3281 * gdb.base/sigstep.exp: Likewise.
3282
e5f8a7cc
PA
32832014-10-27 Pedro Alves <palves@redhat.com>
3284
3285 * gdb.base/sigstep.c (dummy): New global.
3286 (main): Issue a couple writes to the new global.
3287 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3288 procedures.
3289 (skip_over_handler): Use test_skip_handler.
3290 (top level): Call skip_over_handler for stepi and nexti too.
3291 (breakpoint_over_handler): Use test_skip_handler.
3292 (top level): Call breakpoint_over_handler for stepi and nexti too.
3293
763905a3
YQ
32942014-10-27 Yao Qi <yao@codesourcery.com>
3295
3296 * gdb.trace/tfile.c (adjust_function_address)
3297 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3298 function descriptor.
3299
6f259a23
DB
33002014-10-24 Don Breazeal <donb@codesourcery.com>
3301
3302 * gdb.base/foll-fork.exp (test_follow_fork,
3303 catch_fork_child_follow): Check for updated fork messages emitted
3304 from infrun.c.
3305 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3306 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3307 vfork_and_exec_child_follow_through_step): Check for updated vfork
3308 messages emitted from infrun.c.
3309
09dd9a69
PA
33102014-10-24 Pedro Alves <palves@redhat.com>
3311
3312 * gdb.base/corefile.exp: Remove references to ultrix.
3313 * gdb.base/interrupt.exp: Likewise.
3314 * gdb.base/whatis.exp: Likewise.
3315 * gdb.gdb/selftest.exp: Likewise.
3316 * gdb.threads/manythreads.exp: Likewise.
3317 * gdb.threads/print-threads.exp: Likewise.
3318 * gdb.threads/pthreads.exp:: Likewise.
3319 * gdb.threads/schedlock.exp: Likewise.
3320
3433cfa5
SC
33212014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3322
3323 * gdb.cp/non-trivial-retval.cc: Add a test case.
3324 * gdb.cp/non-trivial-retval.exp: Add a test.
3325
092f880b
YQ
33262014-10-20 Yao Qi <yao@codesourcery.com>
3327
3328 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3329 * gdb.python/py-objfile-script-gdb.py: New file.
3330 * gdb.python/py-objfile-script.exp: Update reference to
3331 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3332 of remote_download. Remove the dest file.
3333
acbdb7f3
YQ
33342014-10-20 Yao Qi <yao@codesourcery.com>
3335
3336 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3337 * gdb.base/step-line.exp: Likewise.
3338 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3339 * gdb.dwarf2/dw2-basic.exp: Likewise.
3340 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3341 * gdb.dwarf2/dw2-filename.exp: Likewise.
3342 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3343 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3344 * gdb.dwarf2/dw2-producer.exp: Likewise.
3345 * gdb.dwarf2/mac-fileno.exp: Likewise.
3346 * gdb.python/py-frame-args.exp: Likewise.
3347 * gdb.python/py-framefilter.exp: Likewise.
3348 * gdb.python/py-mi.exp: Likewise.
3349 * gdb.python/py-objfile-script.exp: Likewise
3350 * gdb.python/py-pp-integral.exp: Likewise.
3351 * gdb.python/py-pp-re-notag.exp: Likewise.
3352 * gdb.python/py-prettyprint.exp: Likewise.
3353 * gdb.python/py-section-script.exp: Likewise.
3354 * gdb.python/py-typeprint.exp: Likewise.
3355 * gdb.python/py-xmethods.exp: Likewise.
3356 * gdb.stabs/weird.exp: Likewise.
3357 * gdb.xml/tdesc-regs.exp: Likewise.
3358
bd286a29
KCY
33592014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3360
3361 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3362 (out_cu): Use addr_len for the size of addresses.
3363 (out_line): Likewise. Size DW_LNE_set_address instruction
3364 according to addr_len.
3365 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3366 (FUNC): Add START_INSNS to definition.
3367
673dc4a0
YQ
33682014-10-18 Yao Qi <yao@codesourcery.com>
3369
3370 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3371 gdb_has_argv0 return true.
3372 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3373 check [target_info exists noargs], check [gdb_has_argv0]
3374 instead.
3375 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3376 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3377 procedures.
3378
4ffbba72
DE
33792014-10-17 Doug Evans <dje@google.com>
3380
3381 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3382 event.
3383 * gdb.python/py-events.py: Add clear_objfiles event.
3384
d096d8c1
DE
33852014-10-17 Doug Evans <dje@google.com>
3386
3387 * gdb.python/py-objfile.exp: Test progspace attribute.
3388
a80db015
LM
33892014-10-17 Luis Machado <lgustavo@codesourcery.com>
3390
3391 * gdb.guile/scm-breakpoint.exp: Do not assume any
3392 directory separators when matching source file paths.
3393 * gdb.python/py-breakpoint.exp: Likewise.
3394 * gdb.reverse/break-precsave.exp: Likewise.
3395 * gdb.reverse/break-reverse.exp: Likewise.
3396 * gdb.reverse/consecutive-precsave.exp: Likewise.
3397 * gdb.reverse/finish-precsave.exp: Likewise.
3398 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3399 * gdb.reverse/finish-reverse.exp: Likewise.
3400 * gdb.reverse/i386-precsave.exp: Likewise.
3401 * gdb.reverse/i387-env-reverse.exp: Likewise.
3402 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3403 * gdb.reverse/machinestate-precsave.exp: Likewise.
3404 * gdb.reverse/machinestate.exp: Likewise.
3405 * gdb.reverse/sigall-precsave.exp: Likewise.
3406 * gdb.reverse/solib-precsave.exp: Likewise.
3407 * gdb.reverse/step-precsave.exp: Likewise.
3408 * gdb.reverse/until-precsave.exp: Likewise.
3409 * gdb.reverse/watch-precsave.exp: Likewise.
3410 * gdb.reverse/watch-reverse.exp: Likewise.
3411
b22089ab
YQ
34122014-10-17 Yao Qi <yao@codesourcery.com>
3413
3414 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3415 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3416
6c4486e6
PA
34172014-10-17 Pedro Alves <palves@redhat.com>
3418
3419 PR gdb/17471
3420 * gdb.base/bg-execution-repeat.c: New file.
3421 * gdb.base/bg-execution-repeat.exp: New file.
3422
0ff33695
PA
34232014-10-17 Pedro Alves <palves@redhat.com>
3424
3425 PR gdb/17300
3426 * gdb.base/continue-all-already-running.c: New file.
3427 * gdb.base/continue-all-already-running.exp: New file.
3428
6fdebc3d
PA
34292014-10-17 Pedro Alves <palves@redhat.com>
3430
3431 PR gdb/17472
3432 * gdb.base/annota-input-while-running.c: New file.
3433 * gdb.base/annota-input-while-running.exp: New file.
3434
32a8097b
PA
34352014-10-17 Pedro Alves <palves@redhat.com>
3436
3437 * gdb.base/callfuncs.exp: emove references to osf.
3438 * gdb.base/sigall.exp: Likewise.
3439 * gdb.gdb/selftest.exp: Likewise.
3440 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3441 * gdb.mi/non-stop.c: Likewise.
3442 * gdb.mi/pthreads.c: Likewise.
3443 * gdb.reverse/sigall-precsave.exp: Likewise.
3444 * gdb.reverse/sigall-reverse.exp: Likewise.
3445 * gdb.threads/pthreads.c: Likewise.
3446 * gdb.threads/pthreads.exp: Likewise.
3447
7a3517ff
YQ
34482014-10-17 Yao Qi <yao@codesourcery.com>
3449
3450 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3451 check 'target_info exists noargs'.
3452 (test_command_prompt_position): Likewise.
3453 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3454 Remove "set args".
3455 (progvar_simple_while_test): Likewise.
3456 (progvar_complex_if_while_test): Likewise.
3457 (if_while_breakpoint_command_test): Likewise.
3458 (infrun_breakpoint_command_test): Likewise.
3459 (breakpoint_command_test): Likewise.
3460 (watchpoint_command_test): Likewise.
3461 (bp_deleted_in_command_test): Likewise.
3462 (temporary_breakpoint_commands): Likewise.
3463
bb99c472
YQ
34642014-10-16 Yao Qi <yao@codesourcery.com>
3465
3466 * gdb.base/remotetimeout.exp: Remove noargs checking.
3467
7c16b83e
PA
34682014-10-15 Pedro Alves <palves@redhat.com>
3469
3470 PR breakpoints/9649
3471 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3472 * gdb.base/breakpoint-in-ro-region.exp
3473 (probe_target_hardware_step): New procedure.
3474 (top level): Probe hardware stepping and hardware breakpoint
3475 support. Test stepping through a read-only region, with both
3476 "breakpoint auto-hw" on and off and both "always-inserted" on and
3477 off.
3478
35a49624
IB
34792014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3480
3481 * gdb.dlang/demangle.exp: Update for demangling changes.
3482
2d1c107c
SC
34832014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3484
3485 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3486 * gdb.cp/non-trivial-retval.exp: Add new tests.
3487
778811d5
SC
34882014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3489
3490 PR c++/13403
3491 PR c++/15154
3492 * gdb.cp/non-trivial-retval.cc: New file.
3493 * gdb.cp/non-trivial-retval.exp: New file.
3494
10c5f0a8
YQ
34952014-10-15 Yao Qi <yao@codesourcery.com>
3496
3497 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3498 remote host.
3499
65d7b369
YQ
35002014-10-15 Yao Qi <yao@codesourcery.com>
3501
3502 * gdb.python/py-symbol.exp: Match file base name if host is
3503 remote, otherwise match file name with dir name.
3504 * gdb.python/py-symtab.exp: Likewise.
3505 * gdb.python/python.exp: Likewise.
3506
46dc1394
YQ
35072014-10-15 Yao Qi <yao@codesourcery.com>
3508
3509 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3510 pattern.
3511 * gdb.python/py-symtab.exp: Likewise.
3512 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3513 locationn.
3514
c40cc657
JB
35152014-10-14 Joel Brobecker <brobecker@adacore.com>
3516
3517 * gdb.ada/addr_arith: New testcase.
3518
2abf49e1
MR
35192014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3520
3521 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3522 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3523 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3524 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3525
f7088df3
SDJ
35262014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3527
3528 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3529 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3530 * gdb.arch/stap-eval-lang-ada.exp: New file.
3531
4dc06805
YQ
35322014-10-14 Yao Qi <yao@codesourcery.com>
3533
3534 * gdb.mi/mi-var-child.c (nothing1): New function.
3535 (nothing2): New function.
3536 (do_children_tests): Set function pointers by nothing1 and
3537 nothing2.
3538 * gdb.mi/mi-var-child.exp: Step over new added statements.
3539 Update test to match the new output.
3540 * gdb.mi/var-cmd.c (nothing1): New function.
3541 (nothing2): New function.
3542 (do_children_tests): Set function pointers by nothing1 and
3543 nothing2.
3544 * gdb.mi/mi-var-display.exp: Update test to match output.
3545 Step to the line specified by $line_dct_nothing.
3546 Increase the number of lines to step.
3547
46a93de2
YQ
35482014-10-14 Yao Qi <yao@codesourcery.com>
3549
3550 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3551 tests.
3552 * gdb.mi/mi2-var-child.exp: Likewise.
3553
14ea52ee
DE
35542014-10-13 Doug Evans <dje@google.com>
3555
3556 * gdb.python/py-objfile.exp: Change name of file name test.
3557
e5c6e92b
DE
35582014-10-13 Doug Evans <dje@google.com>
3559
3560 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3561 from the start of the CU.
3562
c780cc2f
JK
35632014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3564 Yao Qi <yao@codesourcery.com>
3565
3566 Fix "save breakpoints" for "catch" command.
3567 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3568 Remove -nonewline. Match also the added "main" line.
3569
99894e11
JK
35702014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3571
3572 Fix "save breakpoints" for "disable $bpnum" command.
3573 * gdb.base/save-bp.c (main): Add label.
3574 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3575
6e1ac5a3
JK
35762014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3577
3578 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3579
754dd2b0
YQ
35802014-10-11 Yao Qi <yao@codesourcery.com>
3581
3582 * gdb.server/server-kill.exp: Execute command
3583 "set remote trace-status-packet on" before "tstatus".
3584
f90183d7
YQ
35852014-10-11 Yao Qi <yao@codesourcery.com>
3586
3587 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3588 (main): Call getppid.
3589 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3590 and continue to it. Read variable "server_pid".
3591
bf40a607
YQ
35922014-10-11 Yao Qi <yao@codesourcery.com>
3593
3594 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3595
052ca370
YQ
35962014-10-11 Yao Qi <yao@codesourcery.com>
3597
3598 * gdb.threads/thread-find.exp: Don't execute command
3599 "info threads".
3600 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3601 * gdb.threads/linux-dp.exp: Don't check the condition
3602 $threads_created equals to zero.
3603
3831839c
PA
36042014-10-10 Pedro Alves <palves@redhat.com>
3605
3606 * gdb.base/bigcore.exp: Remove references to IRIX.
3607 * gdb.base/funcargs.exp: Likewise.
3608 * gdb.base/interrupt.exp: Likewise.
3609 * gdb.base/mips_pro.exp: Likewise.
3610 * gdb.base/nodebug.exp: Likewise.
3611 * gdb.base/setvar.exp: Likewise.
3612 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3613
8b9a549d
PA
36142014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3615 Pedro Alves <palves@redhat.com>
3616
3617 PR symtab/14466
3618 * gdb.base/vdso-warning.c: New file.
3619 * gdb.base/vdso-warning.exp: New file.
3620
d48ba5e8
DE
36212014-10-02 Doug Evans <dje@google.com>
3622
3623 * gdb.base/structs.c (main): Don't run forever.
3624
2278c276
PA
36252014-10-02 Pedro Alves <palves@redhat.com>
3626
3627 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3628 (top level) <stop threads 1, stop threads 2>: Use it.
3629
b57bacec
PA
36302014-10-02 Pedro Alves <palves@redhat.com>
3631
3632 * gdb.threads/break-while-running.exp (test): Add new
3633 'update_thread_list' argument. Skip "info threads" if false.
3634 (top level): Add new 'update_thread_list' axis.
3635
13fd3ff3
PA
36362014-10-02 Pedro Alves <palves@redhat.com>
3637
3638 PR breakpoints/17431
3639 * gdb.base/execl-update-breakpoints.c: New file.
3640 * gdb.base/execl-update-breakpoints.exp: New file.
3641
0fec99e8
PA
36422014-10-01 Pedro Alves <palves@redhat.com>
3643
3644 * gdb.base/breakpoint-in-ro-region.c: New file.
3645 * gdb.base/breakpoint-in-ro-region.exp: New file.
3646
2ddf4301
SM
36472014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3648
3649 * gdb.mi/mi-exit-code.exp: New file.
3650 * gdb.mi/mi-exit-code.c: New file.
3651
6a5f3f43
YQ
36522014-09-30 Yao Qi <yao@codesourcery.com>
3653
3654 * lib/prelink-support.exp (build_executable_own_libs): Error if
3655 the target isn't native.
3656
345bcc73
YQ
36572014-09-30 Yao Qi <yao@codesourcery.com>
3658
3659 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3660 false.
3661
a25a5a45
PA
36622014-09-22 Pedro Alves <palves@redhat.com>
3663
3664 * gdb.threads/break-while-running.exp: New file.
3665 * gdb.threads/break-while-running.c: New file.
3666
00ba3162
YQ
36672014-09-19 Yao Qi <yao@codesourcery.com>
3668
3669 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3670 Invoke test. Restart GDB with --readnow and invoke test again.
3671
c3b7b696
YQ
36722014-09-19 Yao Qi <yao@codesourcery.com>
3673
3674 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3675 proc set_breakpoint_on_gcd_function. Invoke
3676 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3677 invoke set_breakpoint_on_gcd_function again.
3678
2b4fd423
DE
36792014-09-18 Doug Evans <dje@google.com>
3680
3681 * gdb.dwarf2/symtab-producer.exp: New file.
3682
a5947601
SDJ
36832014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3684
3685 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3686 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3687 * gdb.base/global-var-nested-by-dso.c: Likewise.
3688 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3689
91c19059
SDJ
36902014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3691 Pedro Alves <palves@redhat.com>
3692
3693 * gdb.base/watch-bitfields.exp: Pass string other than test file
3694 name to prepare_for_testing.
3695 (watch): New procedure.
3696 (expect_watchpoint): Use with_test_prefix.
3697 (top level): Factor out tests to ...
3698 (test_watch_location, test_regular_watch): ... these new
3699 procedures, and use with_test_prefix and gdb_continue_to_end.
3700
bb9d5f81
PP
37012014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3702
3703 PR breakpoints/12526
3704 * gdb.base/watch-bitfields.exp: New file.
3705 * gdb.base/watch-bitfields.c: New file.
3706
635856f5
PA
37072014-09-16 Pedro Alves <palves@redhat.com>
3708
3709 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3710 software and hardware addresses, not software address against
3711 itself.
3712
7280ceea
PA
37132014-09-16 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3716 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3717
428b16bd
PA
37182014-09-16 Pedro Alves <palves@redhat.com>
3719
3720 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3721 files.
3722 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3723 "*-*-vxworks*" throughout.
3724 * gdb.base/break.exp: Likewise.
3725 * gdb.base/default.exp: Likewise.
3726 * gdb.base/scope.exp: Likewise.
3727 * gdb.base/sepdebug.exp: Likewise.
3728 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3729 throughout.
3730 * gdb.base/run.c: Likewise.
3731 * gdb.base/sepdebug.c: Likewise.
3732 * gdb.hp/gdb.aCC/run.c: Likewise.
3733 * gdb.reverse/until-reverse.c: Likewise.
3734 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3735
666d413c
YQ
37362014-09-16 Yao Qi <yao@codesourcery.com>
3737
3738 * boards/local-remote-host-native.exp: New file.
3739
57cbd724
DE
37402014-09-14 Doug Evans <xdje42@gmail.com>
3741
3742 * gdb.threads/queue-signal.c (thread_count): New variable.
3743 (thread_count_mutex, thread_count_condvar): New variables.
3744 (incr_thread_count, wait_all_threads_running): New functions.
3745 (main): Wait for all threads to be in their thread functions.
3746
81219e53
DE
37472014-09-13 Doug Evans <xdje42@gmail.com>
3748
3749 * gdb.threads/queue-signal.c: New file.
3750 * gdb.threads/queue-signal.exp: New file.
3751
3714cea7
DE
37522014-09-13 Doug Evans <xdje42@gmail.com>
3753
3754 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3755 be consistent with what default_gdb_init uses.
3756 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3757 the plain text of the prompt. Add some logging printfs.
3758 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3759
fa43b1d7
PA
37602014-09-12 Pedro Alves <palves@redhat.com>
3761
3762 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3763 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3764 * gdb.arch/i386-size-overlap.exp: Likewise.
3765 * gdb.arch/i386-size.exp: Likewise.
3766 * gdb.arch/i386-unwind.exp: Likewise.
3767 * gdb.base/a2-run.exp: Likewise.
3768 * gdb.base/break.exp: Likewise.
3769 * gdb.base/charset.exp: Likewise.
3770 * gdb.base/chng-syms.exp: Likewise.
3771 * gdb.base/commands.exp: Likewise.
3772 * gdb.base/dbx.exp: Likewise.
3773 * gdb.base/find.exp: Likewise.
3774 * gdb.base/funcargs.exp: Likewise.
3775 * gdb.base/jit-simple.exp: Likewise.
3776 * gdb.base/reread.exp: Likewise.
3777 * gdb.base/sepdebug.exp: Likewise.
3778 * gdb.base/step-bt.exp: Likewise.
3779 * gdb.cp/mb-inline.exp: Likewise.
3780 * gdb.cp/mb-templates.exp: Likewise.
3781 * gdb.objc/basicclass.exp: Likewise.
3782 * gdb.threads/killed.exp: Likewise.
3783
9d9bf2df
EBM
37842014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3785
3786 PR tdep/17379
3787 * gdb.arch/powerpc-stackless.S: New file.
3788 * gdb.arch/powerpc-stackless.exp: New file.
3789
1cf2f1b0
JK
37902014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3791
3792 * gdb.base/attach.c: Include unistd.h.
3793 (main): Call alarm. Add label postloop.
3794 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3795 gdb_breakpoint, gdb_continue_to_breakpoint.
3796 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3797
98880d46
PA
37982014-09-11 Pedro Alves <palves@redhat.com>
3799
3800 PR gdb/17347
3801 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3802 * gdb.base/attach.exp (test_command_line_attach_run): New
3803 procedure.
3804 (top level): Call it.
3805
4c92ff2c
PA
38062014-09-11 Pedro Alves <palves@redhat.com>
3807
3808 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3809 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3810 (do_command_attach_tests): Use spawn_wait_for_attach.
3811 * gdb.base/solib-overlap.exp: Likewise.
3812 * gdb.multi/multi-attach.exp: Likewise.
3813 * gdb.python/py-prompt.exp: Likewise.
3814 * gdb.python/py-sync-interp.exp: Likewise.
3815 * gdb.server/ext-attach.exp: Likewise.
3816
3adc1a7d
GKB
38172014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3818
3819 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3820 command in testcase. Simplify testcase.
3821
96334934
JB
38222014-09-10 Joel Brobecker <brobecker@adacore.com>
3823
3824 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3825
eb479039
JB
38262014-09-10 Joel Brobecker <brobecker@adacore.com>
3827
3828 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3829
deede10c
JB
38302014-09-10 Joel Brobecker <brobecker@adacore.com>
3831
3832 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3833
7828a5f5
JB
38342014-09-10 Joel Brobecker <brobecker@adacore.com>
3835
3836 * gdb.dwarf2/dynarr-ptr.c: New file.
3837 * gdb.dwarf2/dynarr-ptr.exp: New file.
3838
33aeebcf
MR
38392014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3840
3841 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3842 of 30 rather than hardcoding 120 for a slow test case. Take the
3843 `gdb,timeout' target setting into account for this calculation.
3844 Don't extend the timeout for the test cases that don't need it.
3845
7b415901
MR
38462014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3847
3848 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3849 a factor of 2 for a slow test case. Take the `gdb,timeout'
3850 target setting into account for this calculation.
3851 * gdb.reverse/until-precsave.exp: Increase the timeout by
3852 a factor of 15 and 3 respectively rather than adding 120
3853 for a pair of slow test cases. Take the `gdb,timeout'
3854 target setting into account for this calculation.
3855
4a40f85a
MR
38562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3857
3858 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3859 timeout, don't pass one down to gdb_expect.
3860 (gdb_expect): Rework timeout selection.
3861
09635af7
MR
38622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3863
3864 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3865 exception on timeout.
3866 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3867 (gdbserver_start_extended): Catch any `gdbserver_start' error
3868 exceptions.
3869 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3870 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3871 `gdbserver_gdb_load' error exceptions.
3872
2bdd10b7
MR
38732014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3874
3875 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3876 120 on waiting for the TCP socket to open.
3877
316935f0
DE
38782014-09-09 Doug Evans <xdje42@gmail.com>
3879
3880 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3881 _caller_matches, _any_caller_is, _any_caller_matches.
3882
83740597
DE
38832014-09-09 Doug Evans <xdje42@gmail.com>
3884
3885 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3886
4c122fc3
YQ
38872014-09-09 Yao Qi <yao@codesourcery.com>
3888
3889 * gdb.mi/mi-var-display.exp: Set print symbol off.
3890
a9f116cb
GKB
38912014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3892
3893 PR gdb/17035
3894 * gdb.base/commands.exp: Add tests to verify user-defined
3895 commands with empty bodies.
3896 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3897 python commands in `show user command`.
3898 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3899 scheme commands in `show user command`.
3900
c75bd3a2
JK
39012014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3902
3903 PR python/17355
3904 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3905 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3906 * gdb.python/py-framefilter-invalidarg.exp: New file.
3907 * gdb.python/py-framefilter-invalidarg.py: New file.
3908
faa42425
DE
39092014-09-06 Doug Evans <xdje42@gmail.com>
3910
3911 PR 15276
3912 * gdb.python/py-caller-is.c: New file.
3913 * gdb.python/py-caller-is.exp: New file.
3914
474ca4f6
SDJ
39152014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3916
3917 PR gdb/17235
3918 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3919 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3920
eb0b0463
SDJ
39212014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3922
3923 PR fortran/17237
3924 * gdb.fortran/print-formatted.exp: New file.
3925 * gdb.fortran/print-formatted.f90: Likewise.
3926
5f3b99cf
SS
39272014-09-03 Sasha Smundak <asmundak@google.com>
3928
3929 * gdb.python/py-frame.exp: Test Frame.read_register.
3930
7d793aa9
SDJ
39312014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3932
3933 PR python/16699
3934 * gdb.python/py-completion.exp: New file.
3935 * gdb.python/py-completion.py: Likewise.
3936
fb0576e9
DE
39372014-08-28 Doug Evans <dje@google.com>
3938
3939 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3940 eax,etc. are live with values set by gdb and thus the compiler can't
3941 use them.
3942 * gdb.arch/i386-pseudo.c (main): Ditto.
3943
ee92b0dd
DE
39442014-08-27 Doug Evans <dje@google.com>
3945
3946 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3947
6649db35
DE
39482014-08-25 Doug Evans <dje@google.com>
3949
3950 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3951 (main): Ditto.
3952
564b7600
DE
39532014-08-25 Doug Evans <dje@google.com>
3954
3955 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3956
3881fb67
YQ
39572014-08-24 Yao Qi <yao@codesourcery.com>
3958
3959 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3960 symbol off.
3961 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3962
a05a36a5
DE
39632014-08-22 Doug Evans <dje@google.com>
3964
3965 PR 17276
3966 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3967 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3968 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3969
7c343b48
YQ
39702014-08-22 Yao Qi <yao@codesourcery.com>
3971
3972 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3973 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3974 * gdb.python/python.exp: Likewise. Use .py file on the host
3975 instead of the build.
3976
22fd09ae
JK
39772014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3978
3979 * gdb.threads/gcore-stale-thread.c: New file.
3980 * gdb.threads/gcore-stale-thread.exp: New file.
3981
a8454a7c
PA
39822014-08-21 Pedro Alves <palves@redhat.com>
3983
3984 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3985 * gdb.base/gcore-relro-pie.exp: Likewise.
3986 * gdb.base/gcore-relro.exp: Likewise.
3987 * gdb.base/gcore.exp: Likewise.
3988 * gdb.base/print-symbol-loading.exp: Likewise.
3989 * gdb.threads/gcore-thread.exp: Likewise.
3990 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3991
2a31c623
PA
39922014-08-20 Pedro Alves <palves@redhat.com>
3993 Jan Kratochvil <jan.kratochvil@redhat.com>
3994
3995 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3996 configure.
3997 (EXPECT): Handle READ1 being set.
3998 (all): Depend on EXTRA_RULES.
3999 (check-read1, expect-read1, read1.so, read1): New rules.
4000 * README (Testsuite Parameters): Document the READ1 make variable.
4001 (Race detection): New section.
4002 * configure: Regenerate.
4003 * configure.ac: If build==host==target, and running under a
4004 GNU/glibc system, add read1 to the extra Makefile rules.
4005 (EXTRA_RULES): AC_SUBST it.
4006 * lib/read1.c: New file.
4007
d36430db
JB
40082014-08-20 Joel Brobecker <brobecker@adacore.com>
4009
4010 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4011 the handling of variables declared as a typedef to an array
4012 which a DW_AT_data_location attribute.
4013
9a0dc9e3
PA
40142014-08-19 Andrew Burgess <aburgess@broadcom.com>
4015 Pedro Alves <palves@redhat.com>
4016
4017 PR symtab/14604
4018 PR symtab/14605
4019 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4020 gdb_test.
4021
0718a8da
PA
40222014-08-19 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4025
13b448cd
YQ
40262014-08-19 Yao Qi <yao@codesourcery.com>
4027
4028 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4029 right line.
4030
1cbf5077
DB
40312014-08-18 David Blaikie <dblaikie@gmail.com>
4032
4033 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4034
bf0fae19
JB
40352014-08-18 Joel Brobecker <brobecker@adacore.com>
4036
4037 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4038 attribute in array range.
4039
3c8c5dcc
JB
40402014-08-18 Joel Brobecker <brobecker@adacore.com>
4041
4042 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4043
e66d4446
SC
40442014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4045
4046 PR c++/17132
4047 * gdb.cp/pr17132.cc: New file.
4048 * gdb.cp/pr17132.exp: New file.
4049
940df408
SC
40502014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4051
4052 * gdb.python/py-xmethods.py (A_getarrayind)
4053 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4054 Use 'print' with function call syntax.
4055 (E_method_matcher.match): Fix tab vs space indentation mixup.
4056
ebcc6c3a
YQ
40572014-08-15 Yao Qi <yao@codesourcery.com>
4058
4059 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4060 false.
4061
775e0f04
YQ
40622014-08-15 Yao Qi <yao@codesourcery.com>
4063
4064 * gdb.cp/casts.exp: Set print symbol off.
4065 * gdb.cp/class2.exp: Likewise.
4066 * gdb.cp/overload.exp: Likewise.
4067 * gdb.cp/templates.exp: Likewise.
4068
d769e349
DE
40692014-08-11 Doug Evans <dje@google.com>
4070
4071 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4072 (test_load_shlib): Update.
4073
20c6f1e1
YQ
40742014-08-09 Yao Qi <yao@codesourcery.com>
4075
4076 * gdb.base/display.exp: Invoke is_address_zero_readable.
4077 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4078 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4079 * gdb.base/hbreak-unmapped.exp: Return if
4080 is_address_zero_readable returns true.
4081 * gdb.base/signest.exp: Likewise.
4082 * gdb.base/signull.exp: Likewise.
4083 * gdb.base/sigbpt.exp: Likewise.
4084 * gdb.guile/scm-disasm.exp: Do the test if
4085 is_address_zero_readable returns false.
4086 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4087 * gdb.python/py-arch.exp: Likewise.
4088 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4089 * lib/gdb.exp (is_address_zero_readable): New proc.
4090
5792e8e3
YQ
40912014-08-09 Yao Qi <yao@codesourcery.com>
4092
4093 PR testsuite/13443
4094 * gdb.mi/mi-var-display.exp: Make test messages unique.
4095
3cecbbbe
TT
40962014-08-04 Tom Tromey <tromey@redhat.com>
4097
4098 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4099 target 0".
4100
00b51ff5
TT
41012014-08-04 Tom Tromey <tromey@redhat.com>
4102
4103 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4104 "target_resume".
4105
6908c509
JB
41062014-08-01 Joel Brobecker <brobecker@adacore.com>
4107
4108 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4109 inner_vla_struct_object_size.
4110 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4111 as xfail.
4112
cc6563d2
PA
41132014-07-30 Pedro Alves <palves@redhat.com>
4114
4115 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4116 comment.
4117
7e09a223
YQ
41182014-07-29 Yao Qi <yao@codesourcery.com>
4119
4120 PR gdb/17206
4121 * gdb.base/until-nodebug.exp: New.
4122
7ebdbe92
DE
41232014-07-28 Doug Evans <xdje42@gmail.com>
4124
4125 PR guile/17203
4126 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4127 previously existing parameter, and previously ambiguously spelled
4128 parameter.
4129
fdb1adc6
WN
41302014-07-28 Will Newton <will.newton@linaro.org>
4131
4132 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4133
186fcde0
DE
41342014-07-26 Ludovic Courtès <ludo@gnu.org>
4135 Doug Evans <xdje42@gmail.com>
4136
4137 PR guile/17146
4138 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4139
70509625
PA
41402014-07-25 Pedro Alves <palves@redhat.com>
4141
4142 * gdb.threads/signal-command-handle-nopass.c: New file.
4143 * gdb.threads/signal-command-handle-nopass.exp: New file.
4144 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4145 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4146 * gdb.threads/signal-delivered-right-thread.c: New file.
4147 * gdb.threads/signal-delivered-right-thread.exp: New file.
4148
c3f814a1
PA
41492014-07-25 Pedro Alves <palves@redhat.com>
4150
4151 * gdb.base/double-prompt-target-event-error.exp
4152 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4153 match.
4154 (cancel_pagination_in_target_event): Rework double prompt
4155 detection.
4156 * gdb.base/paginate-after-ctrl-c-running.exp
4157 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4158 <return>' match.
4159 * gdb.base/paginate-bg-execution.exp
4160 (test_bg_execution_pagination_return)
4161 (test_bg_execution_pagination_cancel): Remove '-notransfer
4162 <return>' matches.
4163 * gdb.base/paginate-execution-startup.exp
4164 (test_fg_execution_pagination_return)
4165 (test_fg_execution_pagination_cancel): Remove '-notransfer
4166 <return>' matches.
4167 * gdb.base/paginate-inferior-exit.exp
4168 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4169 match.
4170 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4171 * lib/gdb.exp (pagination_prompt): Run text through
4172 string_to_regexp.
4173 (gdb_test_multiple): Match $pagination_prompt instead of
4174 "<return>".
4175 (string_to_regexp): Move to lib/gdb-utils.exp.
4176
e214cf6c
JK
41772014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4178
4179 * gdb.arch/amd64-entry-value-paramref.S: New file.
4180 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4181 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4182 * gdb.arch/amd64-optimout-repeat.S: New file.
4183 * gdb.arch/amd64-optimout-repeat.c: New file.
4184 * gdb.arch/amd64-optimout-repeat.exp: New file.
4185
17d0c5c8
JK
41862014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4187
4188 PR gdb/17170
4189 * gdb.base/statistics.exp: New file.
4190
b8b8facf
DE
41912014-07-17 Doug Evans <dje@google.com>
4192
74b49205 4193 PR gdb/17170
b8b8facf
DE
4194 * gdb.base/maint.exp: Update testing of per-command stats.
4195
1b5d0ab3
PA
41962014-07-16 Pedro Alves <palves@redhat.com>
4197
4198 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4199 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4200 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4201 (tfile_write_buf): New functions.
4202 (add_memory_block): Rewrite using the above.
4203 (adjust_function_address): New function.
4204 (FUNCTION_ADDRESS): New macro.
4205 (write_basic_trace_file): Remove short_x local, and use
4206 tfile_write_16. Change type of func_addr local to unsigned long
4207 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4208 here. Cast argument of add_memory_block to char pointer.
4209 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4210 (main): Remove parameters.
4211 * gdb.trace/tfile.exp: Remove nowarnings.
4212
4d974e88
SM
42132014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4214
4215 * gdb.base/debug-expr.exp: Test string evaluation with
4216 "debug expression" on.
4217
41e99568
PA
42182014-07-15 Pedro Alves <palves@redhat.com>
4219
4220 * gdb.base/reread.exp: Use clean_restart.
4221
487d9753
PL
42222014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4223
4224 * gdb.arch/avr-flash-qualifer.c: New.
4225 * gdb.arch/avr-flash-qualifer.exp: New.
4226
cc1c52ad
PA
42272014-07-14 Pedro Alves <palves@redhat.com>
4228
4229 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4230 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4231
1e973570
PA
42322014-07-14 Pedro Alves <palves@redhat.com>
4233
4234 * gdb.base/double-prompt-target-event-error.c: New file.
4235 * gdb.base/double-prompt-target-event-error.exp: New file.
4236
93d6eb10
PA
42372014-07-14 Pedro Alves <palves@redhat.com>
4238
4239 PR gdb/17072
4240 * gdb.base/paginate-inferior-exit.c: New file.
4241 * gdb.base/paginate-inferior-exit.exp: New file.
4242
0017922d
PA
42432014-07-14 Pedro Alves <palves@redhat.com>
4244
4245 PR gdb/17072
4246 * gdb.base/paginate-bg-execution.c: New file.
4247 * gdb.base/paginate-bg-execution.exp: New file.
4248
94696ad3
PA
42492014-07-14 Pedro Alves <palves@redhat.com>
4250
4251 PR gdb/17072
4252 * gdb.base/paginate-execution-startup.c: New file.
4253 * gdb.base/paginate-execution-startup.exp: New file.
4254 * lib/gdb.exp (pagination_prompt): New global.
4255 (default_gdb_spawn): New procedure, factored out from
4256 default_gdb_spawn.
4257 (default_gdb_start): Adjust to call default_gdb_spawn.
4258 (gdb_spawn): New procedure.
4259
bd293940
PA
42602014-07-14 Pedro Alves <palves@redhat.com>
4261
4262 * lib/gdb.exp (gdb_assert): New procedure.
4263 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4264
c933f875
PA
42652014-07-14 Pedro Alves <palves@redhat.com>
4266
4267 * gdb.base/execution-termios.c: New file.
4268 * gdb.base/execution-termios.exp: New file.
4269
d98b7a16
TT
42702014-07-14 Tom Tromey <tromey@redhat.com>
4271
4272 * gdb.cp/vla-cxx.cc: New file.
4273 * gdb.cp/vla-cxx.exp: New file.
4274
548740d6
TT
42752014-07-14 Tom Tromey <tromey@redhat.com>
4276
4277 * gdb.reverse/rerun-prec.c: New file.
4278 * gdb.reverse/rerun-prec.exp: New file.
4279
a25eb028
MR
42802014-07-12 Maciej W. Rozycki <macro@mips.com>
4281 Maciej W. Rozycki <macro@codesourcery.com>
4282
4283 * lib/gdb-utils.exp: New file.
4284 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4285 inline `gdb_init_command' processing.
4286 (gdb_start_cmd): Likewise.
4287 * lib/mi-support.exp (mi_run_cmd): Likewise.
4288 * README: Document `gdb_init_command' and `gdb_init_commands'.
4289
218c2655
JK
42902014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4291
4292 Fix false FAIL running under a very long directory name.
4293 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4294 and "set print elements 10000". Twice.
4295
5401fde3
YQ
42962014-07-11 Yao Qi <yao@codesourcery.com>
4297
4298 * gdb.base/exprs.exp: "set print symbol off".
4299
e76126e8
PA
43002014-07-11 Pedro Alves <palves@redhat.com>
4301
4302 * gdb.threads/kill.c: New file.
4303 * gdb.threads/kill.exp: New file.
4304
2d6f0de6
YQ
43052014-07-10 Yao Qi <yao@codesourcery.com>
4306
4307 * gdb.trace/tfile.c (write_basic_trace_file)
4308 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4309 address written to trace file.
4310
7180e04a
PA
43112014-07-09 Pedro Alves <palves@redhat.com>
4312
4313 * gdb.base/attach-wait-input.exp: New file.
4314 * gdb.base/attach-wait-input.c: New file.
4315
9a9a7608
AB
43162014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4317
4318 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4319 setting up test structures.
4320 (main): Call new test function.
4321 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4322 test function, continue into test function and walk test
4323 structures.
4324
161ac41e
YQ
43252014-07-02 Yao Qi <yao@codesourcery.com>
4326
4327 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4328 'bar_start' at the beginning of functions 'foo' and 'bar'
4329 respectively.
4330 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4331 instead of 'foo' and 'bar'.
4332
1f267ae3
MM
43332014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4334
4335 * gdb.btrace/segv.exp: New.
4336 * gdb.btrace/segv.c: New.
4337
2b239efb
LM
43382014-07-02 Luis Machado <lgustavo@codesourcery.com>
4339
4340 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4341 instruction.
4342
cf363f18
MW
43432014-06-30 Mark Wielaard <mjw@redhat.com>
4344
4345 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4346 vulture, vilify, villar): New volatile array constants.
4347 (vindictive, vegetation): New const volatile array constants.
4348 * gdb.base/volatile.exp: Test volatile and const volatile array
4349 types.
4350
aebf9d24
AA
43512014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4352
4353 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4354 target lacks support for awatch, rwatch, or hbreak.
4355
b67a2c6f
YQ
43562014-06-27 Yao Qi <yao@codesourcery.com>
4357
4358 * gdb.multi/dummy-frame-restore.exp: New.
4359 * gdb.multi/dummy-frame-restore.c: New.
4360
aef92902
MM
43612014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4362
4363 * gdb.btrace/gcore.exp: New.
4364
8e9db26e
PA
43652014-06-23 Pedro Alves <palves@redhat.com>
4366
4367 * gdb.base/watchpoint-reuse-slot.c: New file.
4368 * gdb.base/watchpoint-reuse-slot.exp: New file.
4369
70afc5b7
SC
43702014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4371
4372 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4373 progspace's filename in 'info', 'enable' and 'disable' command
4374 tests.
4375
b972bd9c
JK
43762014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4377
4378 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4379 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4380 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4381
125f8a3d
GB
43822014-06-20 Gary Benson <gbenson@redhat.com>
4383
4384 * gdb.arch/i386-avx.exp: Fix include file location.
4385 * gdb.arch/i386-sse.exp: Likewise.
4386
3ed9baed
IB
43872014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4388
4389 * gdb.dlang/expression.exp: New file.
4390
034f788c
PA
43912014-06-19 Pedro Alves <palves@redhat.com>
4392
4393 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4394 out from ...
4395 (top level): ... here. Iterate running tests under different
4396 scheduler-locking settings.
4397
45371d0c
LM
43982014-06-18 Luis Machado <lgustavo@codesourcery.com>
4399
4400 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4401 to DW_FORM_addr and use non-zero addresses.
4402
5d376983
SC
44032014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4404
4405 PR gdb/17017
4406 * gdb.python/py-xmethods.cc: Add global function call counters and
4407 increment them in their respective functions. Remove "cout"
4408 statements.
4409 * gdb.python/py-xmethods.exp: Make tests check the global function
4410 call counters instead of depending on inferior IO.
4411
a1aa2221
LM
44122014-06-18 Don Breazeal <donb@codesourcery.com>
4413
4414 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4415 Deleted procedure.
4416 (explicit_fork_parent_follow): Deleted procedure.
4417 (explicit_fork_child_follow): Deleted procedure.
4418 (test_follow_fork): New procedure.
4419 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4420 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4421 procedure calls.
4422
0fc05997
YQ
44232014-06-17 Yao Qi <yao@codesourcery.com>
4424
4425 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4426 CP1252.
4427
70795c52
LM
44282014-06-17 Luis Machado <lgustavo@codesourcery.com>
4429
4430 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4431 Initialize ptr and S explicitly.
4432 (skip_type_update_when_not_use_rtti_test): Likewise.
4433
6be47f0c
KS
44342014-06-16 Keith Seitz <keiths@redhat.com>
4435
4436 PR mi/15863
4437 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4438 the inferior is started.
4439
d03de421
PA
44402014-06-16 Pedro Alves <palves@redhat.com>
4441
4442 * gdb.base/break-main-file-remove-fail.c: New file.
4443 * gdb.base/break-main-file-remove-fail.exp: New file.
4444 * gdb.base/break-unload-file.exp: Use build_executable instead of
4445 prepare_for_testing.
4446 (test_break): New parameter "initial_load". Handle it.
4447 (top level): Add initial_load cmdline/file axis.
4448
f9579b99
TT
44492014-06-12 Tom Tromey <tromey@redhat.com>
4450
4451 * gdb.base/completion.exp: Don't use directory name in test.
4452
3657956b
GB
44532014-06-09 Gary Benson <gbenson@redhat.com>
4454
4455 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4456 separate the always-available ANSI-standard signals from the
4457 signals that require checking.
4458 (main): Likewise.
4459 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4460 Likewise.
4461 (main): Likewise.
4462
4186eb54
KS
44632014-06-07 Keith Seitz <keiths@redhat.com>
4464
4465 Revert:
4466 PR c++/16253
4467 * gdb.cp/var-tag.cc: New file.
4468 * gdb.cp/var-tag.exp: New file.
4469 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4470 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4471 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4472 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4473
25326a28 44742014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4475
4476 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4477
829155c9
PA
44782014-06-06 Pedro Alves <palves@redhat.com>
4479
4480 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4481 in target debug output instead of looking at RSP packets,
4482 disabling the test on any target that uses hardware stepping.
4483 Update comments.
4484
61c8d22e
PA
44852014-06-06 Pedro Alves <palves@redhat.com>
4486
4487 * gdb.base/break-unload-file.exp: Fix typo.
4488
d9a47287
YQ
44892014-06-06 Yao Qi <yao@codesourcery.com>
4490
4491 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4492 from "jit_function" to "^jit_function".
4493
e5e01dbf
YQ
44942014-06-06 Yao Qi <yao@codesourcery.com>
4495
4496 * gdb.base/async.c (foo): Add one statement.
4497 * gdb.base/async.exp: Get the next instruction address and
4498 match the output of "nexti" by instruction address. Match
4499 the hex address in the output of "finish".
4500
73ba372c
GB
45012014-06-06 Gary Benson <gbenson@redhat.com>
4502
4503 * gdb.base/call-signals.c: Remove preprocessor conditionals
4504 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4505 SIGSEGV and SIGTERM.
4506 * gdb.base/sigall.c: Likewise.
4507 * gdb.base/unwindonsignal.c: Likewise.
4508 * gdb.reverse/sigall-reverse.c: Likewise.
4509
831517df
YQ
45102014-06-06 Yao Qi <yao@codesourcery.com>
4511
4512 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4513 readable, skip the test.
4514
b8b91e98
YQ
45152014-06-06 Yao Qi <yao@codesourcery.com>
4516
4517 * gdb.threads/staticthreads.c (thread_function): Move the line
4518 setting breakpoint on forward.
4519 * gdb.threads/staticthreads.exp: Update comments.
4520
fb934770
LC
45212014-06-05 Ludovic Courtès <ludo@gnu.org>
4522
4523 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4524 "history-append! type error".
4525
6ef284bd
SM
45262014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4527
4528 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4529 erroneous dprintf expected input.
4530
a872e241
DE
45312014-06-04 Doug Evans <xdje42@gmail.com>
4532
4533 * gdb.guile/scm-generics.exp: Delete.
4534
16f691fb
DE
45352014-06-04 Doug Evans <xdje42@gmail.com>
4536
4537 * gdb.guile/scm-breakpoint.exp: Update.
4538 Add tests for breakpoint registration.
4539
012370f6
TT
45402014-06-04 Tom Tromey <tromey@redhat.com>
4541
4542 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4543 VLA-in-union.
4544 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4545 inner_vla_struct, vla_union types. Initialize objects of those
4546 types and compute their sizes.
4547
9f5a4cef
HZ
45482014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4549 Hui Zhu <hui@codesourcery.com>
4550
4551 * gdb.base/fileio.exp: Add test for shell not available as well as
4552 available.
4553 * gdb.base/fileio.c (test_system): Check for shell twice.
4554
90a45c4d
YQ
45552014-06-04 Yao Qi <yao@codesourcery.com>
4556
4557 * gdb.base/auto-connect-native-target.exp: Remove redundant
4558 space from the regexp pattern.
4559
70017e41
YQ
45602014-06-04 Yao Qi <yao@codesourcery.com>
4561
4562 * gdb.base/default.exp: Replace "child" with "native" in
4563 regexp pattern.
4564
883964a7
SC
45652014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4566
4567 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4568 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4569 * gdb.python/py-xmethods.py: Python script supporting the
4570 new testcase and tests.
4571
ef370185
JB
45722014-06-03 Joel Brobecker <brobecker@adacore.com>
4573 Pedro Alves <palves@redhat.com>
4574
4575 PR breakpoints/17000
4576 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4577 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4578
1e2ccb61
BM
45792014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4580
4581 * gdb.base/subst.exp: Add tests to verify partial path matching
4582 output.
4583
c6ec5ab2
PA
45842014-06-03 Pedro Alves <palves@redhat.com>
4585
4586 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4587 target that doesn't use software single-stepping.
4588
835c559f
PA
45892014-06-03 Pedro Alves <palves@redhat.com>
4590
4591 PR breakpoints/17000
4592 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4593 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4594
06eb1586
DE
45952014-06-02 Doug Evans <xdje42@gmail.com>
4596
4597 * gdb.guile/scm-parameter.exp: New file.
4598
e698b8c4
DE
45992014-06-02 Doug Evans <xdje42@gmail.com>
4600
4601 * gdb.guile/scm-cmd.c: New file.
4602 * gdb.guile/scm-cmd.exp: New file.
4603
ded03782
DE
46042014-06-02 Doug Evans <xdje42@gmail.com>
4605
4606 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4607 pretty-printer lookup.
4608 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4609 (make-pp_s-printer): Call it.
4610 (make-pretty-printer-from-dict): New function.
4611 (lookup-pretty-printer-maker-from-dict): New function.
4612 (*pretty-printer*): Simplify.
4613 (make-objfile-pp_s-printer): New function.
4614 (install-objfile-pretty-printers!): New function.
4615 (make-progspace-pp_s-printer): New function.
4616 (install-progspace-pretty-printers!): New function.
4617 * gdb.guile/scm-progspace.c: New file.
4618 * gdb.guile/scm-progspace.exp: New file.
4619
41fac0cf
PA
46202014-06-02 Pedro Alves <palves@redhat.com>
4621
4622 * gdb.base/dprintf-bp-same-addr.c: New file.
4623 * gdb.base/dprintf-bp-same-addr.exp: New file.
4624
96ae5695
EBM
46252014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4626
4627 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4628 * gdb.arch/powerpc-power.s: Likewise.
4629
da02b3a8
JB
46302014-06-02 Joel Brobecker <brobecker@adacore.com>
4631
4632 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4633
c72b2e7b
YQ
46342014-06-01 Yao Qi <yao@codesourcery.com>
4635
4636 * gdb.base/watchpoint.exp (test_watch_location): Check null
4637 pointer can be dereferenced. If not, do the test, otherwise
4638 skip it.
4639
53e8a631
AB
46402014-05-30 Andrew Burgess <aburgess@broadcom.com>
4641
4642 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4643 results.
4644 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4645
938f0e2f
AB
46462014-05-30 Andrew Burgess <aburgess@broadcom.com>
4647
4648 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4649 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4650 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4651 * gdb.arch/amd64-invalid-stack-top.c: New file.
4652 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4653
9ba6657a
PA
46542014-05-30 Pedro Alves <palves@redhat.com>
4655
4656 PR breakpoints/17000
4657 * gdb.base/sss-bp-on-user-bp.c: New file.
4658 * gdb.base/sss-bp-on-user-bp.exp: New file.
4659
522c09bf
DB
46602014-05-30 David Blaikie <dblaikie@gmail.com>
4661
4662 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4663 gnu_inline semantics via attribute.
4664 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4665 source explicitly specifies the required semantics.
4666
bf4ef81e
MR
46672014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4668
4669 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4670
329ea579
PA
46712014-05-29 Pedro Alves <palves@redhat.com>
4672 Tom Tromey <tromey@redhat.com>
4673
4674 * gdb.base/async-shell.exp: Don't enable target-async.
4675 * gdb.base/async.exp
4676 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4677 parameter. Adjust.
4678 (top level): Don't test with "target-async".
4679 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4680 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4681 * gdb.base/inferior-died.exp: Don't enable target-async.
4682 * gdb.base/interrupt-noterm.exp: Likewise.
4683 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4684 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4685 * gdb.mi/mi-nonstop.exp: Likewise.
4686 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4687 * gdb.mi/mi-nsintrall.exp: Likewise.
4688 * gdb.mi/mi-nsmoribund.exp: Likewise.
4689 * gdb.mi/mi-nsthrexec.exp: Likewise.
4690 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4691 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4692 * gdb.python/py-evsignal.exp: Don't enable target-async.
4693 * gdb.python/py-evthreads.exp: Likewise.
4694 * gdb.python/py-prompt.exp: Likewise.
4695 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4696 * gdb.server/solib-list.exp: Don't enable target-async.
4697 * gdb.threads/thread-specific-bp.exp: Likewise.
4698 * lib/mi-support.exp: Adjust to use mi-async.
4699
fd664c91
PA
47002014-05-29 Pedro Alves <palves@redhat.com>
4701
4702 PR gdb/13860
4703 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4704 reason, even in sync mode.
4705
251bde03
PA
47062014-05-29 Pedro Alves <palves@redhat.com>
4707 Hui Zhu <hui@codesourcery.com>
4708
4709 PR PR15693
4710 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4711 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4712 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4713 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4714
7f3c0343
JB
47152014-05-28 Joel Brobecker <brobecker@adacore.com>
4716
4717 * config/monitor.exp (gdb_target_monitor): Replace use of
4718 "set remotebaud" by "set serial baud".
4719
b2715b27
AW
47202014-05-26 Andy Wingo <wingo@igalia.com>
4721
4722 * gdb.guile/scm-breakpoint.exp:
4723 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4724 properties instead of gdb-object-properties.
4725
498a4489
YQ
47262014-05-26 Yao Qi <yao@codesourcery.com>
4727
4728 * gdb.server/no-thread-db.exp: Specify source file name
4729 explicitly when setting a breakpoint.
4730
589fdceb
MM
47312014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4732
4733 * gdb.btrace/vdso.c: New.
4734 * gdb.btrace/vdso.exp: New.
4735
e9089e05
MM
47362014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4737
4738 * gdb.base/gcore.exp (capture_command_output): Move ...
4739 * lib/gdb.exp (capture_command_output): ... here.
4740
67b5c0c1
MM
47412014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4742
4743 * gdb.btrace/data.exp: Test memory access during btrace replay.
4744
a2199296
SM
47452014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4746
4747 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4748
17b2616c
PA
47492014-05-21 Pedro Alves <palves@redhat.com>
4750
4751 PR gdb/13860
4752 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4753 (top level): Test that output related to execution commands is
4754 sent to the console with CLI commands, but not with MI commands.
4755 Test that breakpoint events are always mirrored to the console.
4756 Also expect the new source line to be output after a "next" in
4757 async mode too. Make it a pass/fail test.
4758 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4759 output.
4760 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4761
5166082f
PA
47622014-05-21 Pedro Alves <palves@redhat.com>
4763
4764 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4765 Use them to test variations of "list" after reaching a breakpoint.
4766 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4767 Test "list" with listsize 10 after reaching a breakpoint.
4768 * gdb.python/python.exp (decode_line current location line
4769 number): Adjust expected line number.
4770
2f25d70f
SM
47712014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4772
4773 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4774 behavior for $args, pass it directly to "run".
4775
ff604a67
MR
47762014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4777
4778 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4779 30000 to 65536.
4780
6a3cb8e8
PA
47812014-05-21 Pedro Alves <palves@redhat.com>
4782
4783 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4784 auto-connect-native-target off".
4785 * gdb.base/auto-connect-native-target.c: New file.
4786 * gdb.base/auto-connect-native-target.exp: New file.
4787
4ebfc96e
PA
47882014-05-21 Pedro Alves <palves@redhat.com>
4789
4790 * gdb.base/default.exp: Test "target native" instead of "target
4791 child".
4792
36d46afb
MW
47932014-05-21 Mark Wielaard <mjw@redhat.com>
4794
4795 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4796
5876f503
JK
47972014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4798
4799 Fix TLS access for -static -pthread.
4800 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4801 <HAVE_TLS> (thread_function, main): Initialize it.
4802 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4803 Add clean_restart.
4804 <$have_tls != "">: Check TLSVAR.
4805
0256a6ac
PA
48062014-05-21 Pedro Alves <palves@redhat.com>
4807
4808 * gdb.base/dcache-line-read-error.c: New.
4809 * gdb.base/dcache-line-read-error.exp: New.
4810
936d2992
PA
48112014-05-20 Pedro Alves <palves@redhat.com>
4812
4813 * gdb.base/compare-sections.c: New file.
4814 * gdb.base/compare-sections.exp: New file.
4815
802e8e6d
PA
48162014-05-20 Pedro Alves <palves@redhat.com>
4817
4818 * gdb.base/break-idempotent.c: New file.
4819 * gdb.base/break-idempotent.exp: New file.
4820
e59fa00f
MM
48212014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4822
4823 * gdb.btrace/nohist.exp: New.
4824
8b696e31
YQ
48252014-05-20 Yao Qi <yao@codesourcery.com>
4826
4827 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4828 gdb.reverse directory and gdb_reverse_timeout exists in board
4829 setting.
4830 * README: Document gdb_reverse_timeout.
4831
73c9764f
YQ
48322014-05-20 Yao Qi <yao@codesourcery.com>
4833
4834 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4835 'test_file_name'. Treat args as a string instead of a list.
4836 (gdb_init): Rename argument 'args' by 'test_file_name'.
4837
f1f4348a
JK
48382014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4839
4840 * gdb.arch/powerpc-power.exp: New file.
4841 * gdb.arch/powerpc-power.s: New file.
4842
0dbe70ce
DE
48432014-05-16 Doug Evans <dje@google.com>
4844
4845 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4846 * gdb.base/completion.exp: Check that all expected files exist
4847 before doing file completion.
0dbe70ce 4848
8d551b02
DE
48492014-05-16 Doug Evans <dje@google.com>
4850
4851 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4852 Update.
4853 (do_syscall_tests_without_xml): Update.
4854
73eb7709
PA
48552014-05-16 Pedro Alves <palves@redhat.com>
4856
4857 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4858 instead of "unknown output after running".
4859
3fae92fc
YQ
48602014-05-16 Yao Qi <yao@codesourcery.com>
4861
4862 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4863 file1.txt from host at the end.
4864 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4865
c2b2ccc5
DE
48662014-05-15 Doug Evans <dje@google.com>
4867
4868 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4869 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4870 loading file. Add test for TU lookup.
4871
8c217a4b
SM
48722014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4873
4874 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4875 calling "-exec-arguments" or "set args" before running the
4876 inferior.
4877
3deb39c6
SM
48782014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4879
4880 * lib/mi-support.exp (mi_expect_stop): Expect message for
4881 inferiors that exit with non-zero exit code.
4882
71a79f8c
YQ
48832014-05-14 Yao Qi <yao@codesourcery.com>
4884
4885 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4886 match absolute path on remote host.
4887 (test_file_list_exec_source_files): Remove "/" from the
4888 pattern.
4889
f23fcd46
YQ
48902014-05-14 Yao Qi <yao@codesourcery.com>
4891
4892 * boards/local-remote-host-notty.exp (${board}_file): New
4893 proc.
4894
9404b58f
KM
48952014-05-07 Kyle McMartin <kyle@redhat.com>
4896
4897 Pushed by Joel Brobecker <brobecker@adacore.com>.
4898 * gdb.arch/aarch64-atomic-inst.c: New file.
4899 * gdb.arch/aarch64-atomic-inst.exp: New file.
4900
5e45f04c
YQ
49012014-05-07 Yao Qi <yao@codesourcery.com>
4902
4903 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4904 in current context" too.
4905
c888a17d
KS
49062014-05-05 Keith Seitz <keiths@redhat.com>
4907
4908 * gdb.linespec/ls-dollar.exp: Add test for linespec
4909 file:convenience_variable.
4910
290a839c
YQ
49112014-05-05 Yao Qi <yao@codesourcery.com>
4912
4913 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4914 traceframes into tfile and ctf trace files. Read data from
4915 trace file and test collected data.
4916 (gdb_collect_locals_test): Likewise.
4917 (gdb_unavailable_registers_test): Likewise.
4918 (gdb_unavailable_floats): Likewise.
4919 (gdb_collect_globals_test): Likewise.
4920 (top-level): Append "ctf" to trace_file_targets if GDB
4921 supports.
4922
b5262cd0
YQ
49232014-05-05 Yao Qi <yao@codesourcery.com>
4924
4925 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4926 code to ...
4927 (gdb_collect_args_test_1): ... it. New proc.
4928 (gdb_collect_locals_test): Move some code to ...
4929 (gdb_collect_locals_test_1): ... it. New proc.
4930 (gdb_unavailable_registers_test): Move some code to ...
4931 (gdb_unavailable_registers_test_1): ... it. New proc.
4932 (gdb_unavailable_floats): Move some code to ...
4933 (gdb_unavailable_floats_1): ... it. New proc.
4934
30a1e6cc
SDJ
49352014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4936
4937 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4938 probes to test for bitness recognition.
4939 * gdb.arch/amd64-stap-optional-prefix.exp
4940 (test_probe_value_without_reg): New procedure.
4941 Add code to test for different kinds of bitness.
4942
f33da99a
SDJ
49432014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4944
4945 PR breakpoints/16889
4946 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4947 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4948
5b80f00d
PA
49492014-05-01 Pedro Alves <palves@redhat.com>
4950
4951 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4952 gdb_file_cmd if no file is specified.
4953 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4954 last_loaded_file to set the remote exec-file.
4955
f8c2a73c
PA
49562014-05-01 Pedro Alves <palves@redhat.com>
4957
4958 * boards/local-remote-host.exp: New file.
4959
be6e8ac7
PA
49602014-05-01 Pedro Alves <palves@redhat.com>
4961
4962 * boards/local-remote-host.exp: Rename to ...
4963 * boards/local-remote-host-notty.exp: ... this.
4964
cac0dc8f
JB
49652014-04-28 Joel Brobecker <brobecker@adacore.com>
4966
4967 * gdb.ada/dyn_arrayidx: New testcase.
4968
9730e6cc
YQ
49692014-04-26 Yao Qi <yao@codesourcery.com>
4970
4971 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4972 and compute the length of function main. Save it in
4973 $main_length.
4974 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4975 (top-level): Use gdb_compile to compile objects into
4976 executable and restart GDB. Remove invocation to
4977 prepare_for_testing.
4978
7ae1a6a6
PA
49792014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4980 Pedro Alves <palves@redhat.com>
4981
4982 PR server/16255
4983 * gdb.multi/multi-attach.c: New file.
4984 * gdb.multi/multi-attach.exp: New file.
4985
4082afcc
PA
49862014-04-25 Pedro Alves <palves@redhat.com>
4987
4988 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4989 user.
4990 (top level): Test that "set remote conditional-breakpoints-packet
4991 off" works as intended.
4992 * gdb.base/dprintf.exp: Test that "set remote
4993 breakpoint-commands-packet off" works as intended.
4994 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4995 New function.
4996 (top level): Call it.
4997 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4998 remote fast-tracepoints-packet off" works as intended.
4999 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5000 * lib/gdb.exp (gdb_is_target_remote): ... here.
5001
2abc3f8d
DB
50022014-04-24 David Blaikie <dblaikie@gmail.com>
5003
5004 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5005 ensure clang would not discard them.
5006 * gdb.base/gdbvars.c: Ditto.
5007 * gdb.base/memattr.c: Ditto.
5008 * gdb.base/whatis.c: Ditto.
5009 * gdb.python/py-prettyprint.c: Ditto.
5010 * gdb.trace/actions.c: Ditto.
5011 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5012 ensure clang would not discard it.
5013
bfd39632
DB
50142014-04-24 David Blaikie <dblaikie@gmail.com>
5015
5016 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5017 clang to emit the full definition of type required by the test
5018 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5019
22842ff6
DB
50202014-04-24 David Blaikie <dblaikie@gmail.com>
5021
5022 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5023 coax Clang into emitting the definition of the type.
5024 * gdb.cp/pr10728-x.h (y): Ditto.
5025 * gdb.cp/pr10728-y.cc (y): Ditto.
5026
c2e827ad
DB
50272014-04-24 David Blaikie <dblaikie@gmail.com>
5028
5029 * gdb.base/label.exp: XFAIL label related tests under Clang.
5030 * gdb.cp/cplabel.exp: Ditto.
5031 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5032 under Clang those using labels.
5033
4c2d33e7
YQ
50342014-04-25 Yao Qi <yao@codesourcery.com>
5035
5036 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5037 double_label.
5038 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5039 partial_label and double_label.
5040
56083b99
DB
50412014-04-24 David Blaikie <dblaikie@gmail.com>
5042
5043 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5044
25d4e99d
DB
50452014-04-24 David Blaikie <dblaikie@gmail.com>
5046
5047 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5048 of the function to work across GCC and Clang.
5049 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5050 pointer types (const void ** const V void **).
5051
01f9f808
MS
50522014-04-24 Michael Sturm <michael.sturm@mintel.com>
5053 Walfred Tedeschi <walfred.tedeschi@intel.com>
5054
5055 * Makefile.in (EXECUTABLES): Added i386-avx512.
5056 * gdb.arch/i386-avx512.c: New file.
5057 * gdb.arch/i386-avx512.exp: Likewise.
5058
4b48d439
KS
50592014-04-23 Keith Seitz <keiths@redhat.com>
5060
5061 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5062 (mi_make_breakpoint_table): New procedure.
5063 (mi_create_breakpoint): Use mi_make_breakpoint
5064 and return the result.
5065 (mi_make_breakpoint): New procedure.
5066 (mi_build_kv_pairs): New procedure.
5067
5068 * gdb.mi/mi-break.exp: Remove unused globals,
5069 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5070 All callers updated.
5071 * gdb.mi/mi-dprintf.exp: Use variable to track command
5072 number.
5073 Update all callers of mi_create_breakpoint and use
5074 mi_make_breakpoint_table.
5075 Remove any unused global variables.
5076 * gdb.mi/mi-nonstop.exp: Likewise.
5077 * gdb.mi/mi-nsintrall.exp: Likewise.
5078 * gdb.mi/mi-nsmoribund.exp: Likewise.
5079 * gdb.mi/mi-nsthrexec.exp: Likewise.
5080 * gdb.mi/mi-reverse.exp: Likewise.
5081 * gdb.mi/mi-simplerun.exp: Likewise.
5082 * gdb.mi/mi-stepn.exp: Likewise.
5083 * gdb.mi/mi-syn-frame.exp: Likewise.
5084 * gdb.mi/mi-until.exp: Likewise.
5085 * gdb.mi/mi-var-cp.exp: Likewise.
5086 * gdb.mi/mi-var-display.exp: Likewise.
5087 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5088 * gdb.mi/mi2-var-child.exp: Likewise.
5089 * gdb.mi/mi-vla-c99.exp: Likewise.
5090 * lib/mi-support.exp: Likewise.
5091
5092 From Ian Lance Taylor <iant@cygnus.com>:
5093 * lib/gdb.exp (parse_args): New procedure.
5094
08351840
PA
50952014-04-23 Pedro Alves <palves@redhat.com>
5096
5097 * gdb.base/break-unload-file.c: New file.
5098 * gdb.base/break-unload-file.exp: New file.
5099 * gdb.base/sym-file-lib.c (baz): New function.
5100 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5101 field.
5102 (load): Store the segment's mapped size.
5103 (unload): New function.
5104 (unload_shlib): New function.
5105 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5106 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5107 set a breakpoint at baz, and call it.
5108 * gdb.base/sym-file.exp: New tests for stale breakpoint
5109 instructions.
5110
076855f9
PA
51112014-04-23 Pedro Alves <palves@redhat.com>
5112
5113 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5114 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5115 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5116 * gdb.base/hbreak-unmapped.c: New file.
5117 * gdb.base/hbreak-unmapped.exp: New file.
5118 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5119 * lib/gdb.exp (gdb_is_target_remote): ... here.
5120
483805cf
PA
51212014-04-22 Pedro Alves <palves@redhat.com>
5122
5123 * gdb.base/consecutive-step-over.c: New file.
5124 * gdb.base/consecutive-step-over.exp: New file.
5125
06d97543
PA
51262014-04-22 Pedro Alves <palves@redhat.com>
5127
5128 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5129 instead of send_gdb/gdb_expect.
5130
b4429ea2
YQ
51312014-04-22 Yao Qi <yao@codesourcery.com>
5132
5133 * lib/trace-support.exp (generate_tracefile): New procedure.
5134 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5135 return 0.
5136 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5137 if generate_tracefile returns 1.
5138
51d48146
PA
51392014-04-18 Tom Tromey <palves@redhat.com>
5140 Pedro alves <tromey@redhat.com>
5141
5142 PR backtrace/15558
5143 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5144 with a backtrace limit.
5145 * gdb.python/py-frame-inline.exp: Test running to an inline
5146 function with a backtrace limit, and printing the newest frame.
5147 * gdb.python/py-frame-inline.c (main): Call f.
5148
bd1dce5f
MS
51492014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5150
5151 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5152
40d1a503
MS
51532014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5154
5155 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5156 Drop prefix from unsupported source file path.
5157
389b98f7
YQ
51582014-04-17 Yao Qi <yao@codesourcery.com>
5159
5160 * lib/gdb.exp (with_target_charset): New proc.
5161 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5162 with_target_charset.
5163 (test_print_strings): Likewise.
5164 (test_repeat_bytes): Likewise.
5165 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5166 for some tests.
5167
22869d73
KS
51682014-04-16 Keith Seitz <keiths@redhat.com>
5169
5170 PR gdb/15827
5171 * gdb.dwarf2/corrupt.c: New file.
5172 * gdb.dwarf2/corrupt.exp: New file.
5173
c4f87ca6
KS
51742014-04-16 Keith Seitz <keiths@redhat.com>
5175
5176 PR c++/16597
5177 * gdb.cp/namelessclass.cc: New file.
5178 * gdb.cp/namelessclass.exp: New file.
5179 * gdb.cp/namelessclass.S: New file.
5180
ab19de87
DE
51812014-04-16 Doug Evans <dje@google.com>
5182
5183 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5184 Add comment.
5185 (gdbserver_default_get_comm_port): New function.
5186 (gdbserver_start): Check if board file provided
5187 "gdbserver,get_comm_port" and use it if so.
5188 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5189 (gdb,socketport): Set to "stdio".
5190 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5191 (stdio_gdbserver_template): Delete.
5192 (${board}_get_remote_address): Update.
5193 (${board}_build_remote_cmd): Delete.
5194 (${board}_get_comm_port): New function.
5195 (${board}_spawn): Update.
5196 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5197 Delete.
5198 (${board}_get_remote_address): Update.
5199 (${board}_get_comm_port): New function.
5200
fc98a809
AB
52012014-04-16 Andrew Burgess <aburgess@broadcom.com>
5202
5203 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5204 appearing in any order.
5205
87fd9e6e
DE
52062014-04-15 Doug Evans <dje@google.com>
5207
5208 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5209 uninitialized value of "description".
5210
099fc3ea
KS
52112014-04-15 Keith Seitz <keiths@redhat.com>
5212
5213 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5214 Remove unused globals.
5215 (test_running_the_program): Likewise.
5216 (test_controlled_execution): Likewise.
5217 (test_controlling_breakpoints): Likewise.
5218 (test_program_termination): Likewise.
5219
5da151d4
KS
52202014-04-15 Keith Seitz <keiths@redhat.com>
5221
5222 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5223 unused globals.
5224 (test_rbreak_creation_and_listing): Likewise.
5225 (test_ignore_count): Likewise.
5226 (test_error): Likewise.
5227
35e5d2f0
PA
52282014-04-15 Pedro Alves <palves@redhat.com>
5229
5230 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5231 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5232 sym-file-loader.c.
5233 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5234 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5235 to sym-file-loader.c.
5236 (struct library): Forward declare.
5237 (load_shlib, lookup_function): Change prototypes.
5238 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5239 (translate_offset): Remove declarations.
5240 (get_text_addr): New declaration.
5241 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5242 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5243 sym-file-loader.h.
5244 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5245 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5246 here from sym-file-loader.h.
5247 (struct library): New structure.
5248 (load_shlib, lookup_function): Change prototypes and adjust to
5249 work with a struct library.
5250 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5251 (translate_offset): Make static.
5252 (get_text_addr): New function.
5253 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5254
eb4c1710
PA
52552014-04-15 Pedro Alves <palves@redhat.com>
5256
5257 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5258
2d1baf52
PA
52592014-04-15 Pedro Alves <palves@redhat.com>
5260
5261 * gdb.base/sym-file-loader.c: Include <limits.h>.
5262 (SELF_LINK): New define.
5263 (get_origin): New function.
5264 (load_shlib): Use it.
5265 * gdb.base/sym-file.exp: Don't early return if the target is
5266 remote. Use runto_main, and issue fail is that fails. Use
5267 gdb_load_shlibs.
5268 (shlib_name): Delete.
5269 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5270
7dd6df01
PA
52712014-04-15 Pedro Alves <palves@redhat.com>
5272
5273 * gdb.base/sym-file.exp: Remove regex characters from test
5274 message. Don't refer to breakpoint numbers in test messages.
5275
b50c8614
KS
52762014-04-14 Keith Seitz <keiths@redhat.com>
5277
5278 PR c++/16253
5279 * gdb.cp/var-tag.cc: New file.
5280 * gdb.cp/var-tag.exp: New file.
5281 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5282 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5283 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5284 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5285
3d567982
TT
52862014-04-14 Tom Tromey <tromey@redhat.com>
5287
5288 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5289 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5290 type.
5291 * gdb.cp/enum-class.exp: New file.
5292 * gdb.cp/enum-class.cc: New file.
5293
0626fc76
TT
52942014-04-14 Tom Tromey <tromey@redhat.com>
5295
5296 * gdb.dwarf2/enum-type.exp: New file.
5297
dca325b3
SA
52982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5299
5300 * gdb.mi/mi-vla-c99.exp: New file.
5301 * gdb.mi/vla.c: New file.
5302
5854b38a
SA
53032014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5304
5305 * gdb.base/vla-datatypes.c: New file.
5306 * gdb.base/vla-datatypes.exp: New file.
5307
463bb957
SA
53082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5309
5310 * gdb.base/vla-ptr.c: New file.
5311 * gdb.base/vla-ptr.exp: New file.
5312
3dd170be
SA
53132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5314
5315 * gdb.dwarf2/count.exp: New file.
5316
5ecaaa66
SA
53172014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5318
5319 * gdb.base/vla-sideeffect.c: New file.
5320 * gdb.base/vla-sideeffect.exp: New file.
5321
41f1ada5
DB
53222014-04-14 David Blaikie <dblaikie@gmail.com>
5323
5324 * gdb.mi/non-stop.c: Add return value for non-void function return
5325 statement.
5326 * gdb.threads/staticthreads.c: Ditto.
5327
0be03e84
DE
53282014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5329 Doug Evans <xdje42@gmail.com>
5330
5331 * gdb.guile/scm-value.c: Improve test case.
5332 * gdb.guile/scm-value.exp: Add new test.
5333
f180a1fb
DB
53342014-04-11 David Blaikie <dblaikie@gmail.com>
5335
5336 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5337 override Clang's default.
5338
6b662e19
JB
53392014-04-11 Joel Brobecker <brobecker@adacore.com>
5340
5341 Revert the following changes (regressions):
5342
5343 * gdb.base/vla-sideeffect.c: New file.
5344 * gdb.base/vla-sideeffect.exp: New file.
5345
5346 * gdb.dwarf2/count.exp: New file.
5347
5348 * gdb.base/vla-multi.c: New file.
5349 * gdb.base/vla-multi.exp: New file.
5350
5351 * gdb.base/vla-ptr.c: New file.
5352 * gdb.base/vla-ptr.exp: New file.
5353
5354 * gdb.base/vla-datatypes.c: New file.
5355 * gdb.base/vla-datatypes.exp: New file.
5356
5357 * gdb.mi/mi-vla-c99.exp: New file.
5358 * gdb.mi/vla.c: New file.
5359
245a5f0b
KS
53602014-04-11 Keith Seitz <keiths@redhat.com>
5361
5362 PR c++/16675
5363 * gdb.cp/cpsizeof.exp: New file.
5364 * gdb.cp/cpsizeof.cc: New file.
5365
58a84dcf
SA
53662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5367
191a8a90
JB
5368 * gdb.mi/mi-vla-c99.exp: New file.
5369 * gdb.mi/vla.c: New file.
58a84dcf 5370
c8655f75
SA
53712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5372
5373 * gdb.base/vla-datatypes.c: New file.
5374 * gdb.base/vla-datatypes.exp: New file.
5375
024e13b4
SA
53762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5377
5378 * gdb.base/vla-ptr.c: New file.
5379 * gdb.base/vla-ptr.exp: New file.
5380
1a237e0e
SA
53812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5382
5383 * gdb.base/vla-multi.c: New file.
5384 * gdb.base/vla-multi.exp: New file.
5385
504f3432
SA
53862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5387
5388 * gdb.dwarf2/count.exp: New file.
5389
3bce8237
SA
53902014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5391
191a8a90
JB
5392 * gdb.base/vla-sideeffect.c: New file.
5393 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5394
322f9c21
YQ
53952014-04-11 Yao Qi <yao@codesourcery.com>
5396
5397 * gdb.base/completion.exp: Check file exists before running tests
5398 on file completion.
5399
d708bcd1
PA
54002014-04-10 Pedro Alves <palves@redhat.com>
5401
5402 * gdb.base/cond-eval-mode.c: New file.
5403 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5404 prepare_for_testing to build the new file. Check result of
5405 runto_main.
5406 (test_break, test_watch): New procedures.
5407 (top level): Use them.
5408
ae1d2761
PM
54092014-04-08 Pierre Muller <muller@sourceware.org>
5410
5411 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5412 Ctrl-V use for mingw hosts.
5413
7af389b8
SC
54142014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5415
5416 * gdb.python/py-value.c: Improve test case.
5417 * gdb.python/py-value.exp: Add new test.
5418
5e703181
DE
54192014-04-07 David Blaikie <dblaikie@gmail.com>
5420
5421 * lib/compiler.c: Identify the clang compiler.
5422 * lib/compiler.cc: Ditto.
5423
9810b410
YQ
54242014-04-03 Yao Qi <yao@codesourcery.com>
5425
5426 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5427
98d1b8dc
AB
54282014-04-01 Anton Blanchard <anton@samba.org>
5429
5430 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5431 messages unique.
5432
3114cea1
AB
54332014-04-01 Anton Blanchard <anton@samba.org>
5434
5435 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5436 prepare_for_testing.
5437
62f7182c
AB
54382014-04-01 Anton Blanchard <anton@samba.org>
5439
5440 * gdb.arch/ppc64-atomic-inst.c: Remove.
5441 * gdb.arch/ppc64-atomic-inst.S: New file.
5442 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5443
770e7fc7
DE
54442014-03-31 Doug Evans <dje@google.com>
5445
5446 * gdb.base/print-symbol-loading-lib.c: New file.
5447 * gdb.base/print-symbol-loading-main.c: New file.
5448 * gdb.base/print-symbol-loading.exp: New file.
5449
46e2bafa
YQ
54502014-03-31 Yao Qi <yao@codesourcery.com>
5451
5452 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5453
8776cfe9
JB
54542014-03-28 Joel Brobecker <brobecker@adacore.com>
5455
5456 * gdb.ada/mi_dyn_arr: New testcase.
5457
5d1ef361
DE
54582014-03-27 Doug Evans <dje@google.com>
5459
5460 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5461
b5bee914
YQ
54622014-03-27 Yao Qi <yao@codesourcery.com>
5463
5464 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5465 if target is nios2-*-*.
5466
0d4d0e77
YQ
54672014-03-26 Yao Qi <yao@codesourcery.com>
5468
5469 * lib/gdb.exp (readline_is_used): New proc.
5470 * gdb.base/completion.exp: Move tests on command complete up.
5471 Skip the rest of tests if readline is not used.
5472 * gdb.ada/complete.exp: Skp the test if readline is not
5473 used.
5474 * gdb.base/filesym.exp: Likewise.
5475 * gdb.base/macscp.exp: Likewise.
5476 * gdb.base/readline-ask.exp: Likewise.
5477 * gdb.base/readline.exp: Likewise.
5478 * gdb.python/py-cmd.exp: Likewise.
5479 * gdb.trace/tfile.exp: Likewise.
5480
29361eee
YQ
54812014-03-26 Yao Qi <yao@codesourcery.com>
5482
5483 * gdb.base/macscp.exp: Fix code format issues.
5484
bc9a5525
UW
54852014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5486
5487 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5488 * gdb.asm/powerpc64le.inc: New file.
5489
d3839ede
PA
54902014-03-25 Pedro Alves <palves@redhat.com>
5491 Doug Evans <dje@google.com>
5492
5493 * gdb.base/source-execution.c: New file.
5494 * gdb.base/source-execution.exp: New file.
5495 * gdb.base/source-execution.gdb: New file.
5496
01672a57
DE
54972014-03-24 Doug Evans <dje@google.com>
5498
5499 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5500 using fission.
5501
88bbeca9
HZ
55022014-03-24 Hui Zhu <hui@codesourcery.com>
5503 Pedro Alves <palves@redhat.com>
5504
5505 PR breakpoints/16101
5506 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5507 test pass/fail messages. Detect missing support for dprintf when
5508 breakpoints are actually inserted.
5509 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5510 breakpoints are actually inserted.
5511 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5512 fails.
5513
d2348791
JK
55142014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5515
5516 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5517
feef67ab
DE
55182014-03-22 Doug Evans <xdje42@gmail.com>
5519
5520 * gdb.python/python.exp (python not supported): Verify multi-line
5521 python command issues an error.
25d743f9 5522 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5523 guile command issues an error.
feef67ab 5524
ecebef6a
MR
55252014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5526
5527 * gdb.threads/thread-specific.exp: Handle the lack of usable
5528 $this_breakpoint and $this_thread.
5529
ccdd1909
HZ
55302014-03-21 Hui Zhu <hui@codesourcery.com>
5531
5532 * gdb.base/attach.exp (do_command_attach_tests): New.
5533
beb460e8
PA
55342014-03-20 Tom Tromey <tromey@redhat.com>
5535 Pedro Alves <palves@redhat.com>
5536
5537 PR cli/15718
5538 * gdb.base/condbreak-call-false.c: New file.
5539 * gdb.base/condbreak-call-false.exp: New file.
5540
40acf43a
PA
55412014-03-20 Pedro Alves <palves@redhat.com>
5542
5543 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5544 Delete.
5545 (block_signals, unblock_signals): Delete.
5546 (child_function_2, main): Remove references to deleted variable
5547 and functions.
5548
9f5e1e02
PA
55492014-03-20 Pedro Alves <palves@redhat.com>
5550
5551 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5552 Use pthread_kill to signal thread 2.
5553 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5554 Adjust to make the test send itself a signal rather than using the
5555 host's "kill" command.
5556
99619bea
PA
55572014-03-20 Pedro Alves <palves@redhat.com>
5558
5559 * gdb.threads/multiple-step-overs.c: New file.
5560 * gdb.threads/multiple-step-overs.exp: New file.
5561 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5562 Adjust expected infrun debug output.
5563
2adfaa28
PA
55642014-03-20 Pedro Alves <palves@redhat.com>
5565
5566 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5567 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5568
31e77af2
PA
55692014-03-20 Pedro Alves <palves@redhat.com>
5570
5571 PR breakpoints/7143
5572 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5573 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5574 of gdb_test_multiple.
5575 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5576 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5577
b9f437de
PA
55782014-03-20 Pedro Alves <palves@redhat.com>
5579
5580 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5581 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5582
05adc73e
PA
55832014-03-19 Pedro Alves <palves@redhat.com>
5584
5585 * gdb.base/async.exp: Remove early return.
5586
6048b950
PA
55872014-03-19 Pedro Alves <palves@redhat.com>
5588
5589 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5590
8bcfb00a
PA
55912014-03-19 Pedro Alves <palves@redhat.com>
5592
5593 * gdb.base/async.exp (test_background): Expect \r\n after
5594 "completed." in the fail pattern.
5595
884e37dc
PA
55962014-03-19 Pedro Alves <palves@redhat.com>
5597
5598 * gdb.base/async.exp (test_background): New procedure.
5599 Use it for all background execution command tests.
5600
148e57e2
PA
56012014-03-19 Pedro Alves <palves@redhat.com>
5602
5603 * gdb.base/async.exp: Use prepare_for_testing.
5604
f48088c7
PA
56052014-03-19 Pedro Alves <palves@redhat.com>
5606
5607 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5608 the same line.
5609
e2f6c966
PA
56102014-03-19 Pedro Alves <palves@redhat.com>
5611
5612 * gdb.base/async.c (main): Add "jump here" and "until here" line
5613 marker comments.
5614 * gdb.base/async.exp (jump_here): New global.
5615 (jump& test): Use it.
5616 (until_here): New global.
5617 (until& test): Use it.
5618
c30568d4
PA
56192014-03-19 Pedro Alves <palves@redhat.com>
5620
5621 * gdb.base/async.exp: Don't frob gdb_protocol.
5622
0172b6a7
DE
56232014-03-18 Doug Evans <xdje42@gmail.com>
5624
5625 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5626 Fix spelling of exec-done-display.
5627
06c868a8
JK
56282014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5629
5630 PR gdb/15358
5631 * gdb.base/gdb-sigterm.c: New file.
5632 * gdb.base/gdb-sigterm.exp: New file.
5633
0c7e1a46
PA
56342014-03-18 Pedro Alves <palves@redhat.com>
5635
5636 PR gdb/13860
5637 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5638 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5639 solib-event.
5640
f7c77d93
JB
56412014-03-17 Joel Brobecker <brobecker@adacore.com>
5642
5643 * gdb.ada/pckd_arr_ren: New testcase.
5644
5a1e8c7a
DE
56452014-03-13 Doug Evans <xdje42@gmail.com>
5646
5647 PR guile/16612
5648 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5649 collect after discarding symbols.
5650
350e1a76
DE
56512014-03-13 Ludovic Courtès <ludo@gnu.org>
5652 Doug Evans <xdje42@gmail.com>
5653
5654 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5655 to history survives a gc.
5656
a69900ae
PA
56572014-03-13 Pedro Alves <palves@redhat.com>
5658
5659 * gdb.base/default.exp: Don't test "target procfs".
5660
5db9f0bd
PA
56612014-03-13 Pedro Alves <palves@redhat.com>
5662
5663 * gdb.base/default.exp: Update "target child" and "target procfs"
5664 tests to not expect "Unix".
5665
b3ccfe11
TT
56662014-03-12 Tom Tromey <tromey@redhat.com>
5667
5668 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5669 New procs. Add target-async tests.
5670 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5671 Add target-async tests.
5672
646f4417
AA
56732014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5674
5675 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5676 'func_start' and 'func_end' for the beginning and end of the
5677 function code, respectively.
5678 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5679 'func_end' instead of 'func' and 'main'.
5680
288c211f
AA
56812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5682
5683 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5684 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5685 generate the debug info assembler source.
5686
e0c0f156
AA
56872014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5688
5689 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5690 * gdb.dwarf2/arr-subrange.exp: Likewise.
5691 * gdb.dwarf2/dwz.exp: Likewise.
5692 * gdb.dwarf2/method-ptr.exp: Likewise.
5693 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5694 * gdb.dwarf2/subrange.exp: Likewise.
5695 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5696 * gdb.dwarf2/implptrpiece.exp: Likewise.
5697 * gdb.dwarf2/nostaticblock.exp: Likewise.
5698
0e5c4555
AA
56992014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5700
5701 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5702 directory to absolute path name arguments.
5703
5ec18f2b
JG
57042014-03-10 Joel Brobecker <brobecker@adacore.com>
5705
5706 * gdb.ada/tagged_access: New testcase.
5707
847fc4f2
MM
57082014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5709
5710 * gdb.btrace/data.exp: Update expected output.
5711
cc3da688
YQ
57122014-03-06 Yao Qi <yao@codesourcery.com>
5713
5714 * gdb.trace/pr16508.exp: New file.
5715
0f26cec1
PA
57162014-03-05 Pedro Alves <palves@redhat.com>
5717
5718 PR gdb/16575
5719 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5720 procedure.
5721 (top level): Adjust to use it. Add tests that exercise breakpoint
5722 interaction with the code-cache.
5723
7a5a839f
LC
57242014-02-26 Ludovic Courtès <ludo@gnu.org>
5725
5726 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5727 test for 'history-append!'.
5728
31aa7e4e
JB
57292014-02-26 Joel Brobecker <brobecker@adacore.com>
5730
5731 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5732 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5733 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5734 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5735 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5736 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5737
1b588015
JB
57382014-02-26 Joel Brobecker <brobecker@adacore.com>
5739
5740 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5741 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5742 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5743
55426c9d
JB
57442014-02-26 Joel Brobecker <brobecker@adacore.com>
5745
5746 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5747
dc53a7ad
JB
57482014-02-26 Joel Brobecker <brobecker@adacore.com>
5749
5750 * gdb.dwarf2/arr-stride.c: New file.
5751 * gdb.dwarf2/arr-stride.exp: New file.
5752
12ab52e9
PA
57532014-02-26 Pedro Alves <palves@redhat.com>
5754
5755 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5756 that won't ever trigger. Make sure that GDB reports the correct
5757 breakpoint that caused the stop.
5758
849c862e
JK
57592014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5760
5761 PR gdb/16626
5762 * gdb.base/auto-load-script: New file.
5763 * gdb.base/auto-load.c: New file.
5764 * gdb.base/auto-load.exp: New file.
5765
71b7d793
JK
5766 PR gdb/16626
5767 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5768
e2f0d509
JK
57692014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5770
5771 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5772 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5773
50cc37c8
DE
57742014-02-24 Doug Evans <dje@google.com>
5775
5776 * lib/gdb.exp (run_on_host): Log error output if program fails.
5777
ea4758f2
PA
57782014-02-21 Pedro Alves <palves@redhat.com>
5779
5780 * gdb.threads/step-after-sr-lock.c: Rename to ...
5781 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5782 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5783 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5784 ... this.
5785
d7b30f67
SDJ
57862014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5787
5788 PR tdep/16397
5789 * gdb.arch/amd64-stap-special-operands.exp: New file.
5790 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5791 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5792 * gdb.arch/amd64-stap-triplet.S: Likewise.
5793 * gdb.arch/amd64-stap-triplet.c: Likewise.
5794
83deb43f
JB
57952014-02-20 Joel Brobecker <brobecker@adacore.com>
5796
5797 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5798 in .section pseudo-op.
5799
adde2bff
DE
58002014-02-20 lin zuojian <manjian2006@gmail.com>
5801 Joel Brobecker <brobecker@adacore.com>
5802 Doug Evans <xdje42@gmail.com>
5803
5804 PR symtab/16581
5805 * gdb.dwarf2/dw2-icycle.S: New file.
5806 * gdb.dwarf2/dw2-icycle.c: New file.
5807 * gdb.dwarf2/dw2-icycle.exp: New file.
5808
f7bd0f78
SC
58092014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5810
5811 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5812 operations on gdb.Value objects.
5813 * gdb.python/py-value-cc.exp: Add new test to test operations on
5814 gdb.Value objects.
5815
c17ef0d5
DE
58162014-02-18 Doug Evans <dje@google.com>
5817
5818 * Makefile.in (TESTS): New variable.
5819 (expanded_tests, expanded_tests_or_none): New variables
5820 (check-single): Pass $(expanded_tests_or_none) to runtest.
5821 (check-parallel): Only run tests in $(TESTS) if non-empty.
5822 (check/no-matching-tests-found): New rule.
5823 * README: Document TESTS makefile variable.
5824
5dd3176f
DE
58252014-02-18 Doug Evans <dje@google.com>
5826
5827 * Makefile.in (check-parallel): rm -rf outputs temp.
5828
0b10be4f
JK
58292014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5830
5831 Fix "ERROR: no fileid for" in the testsuite.
5832 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5833
85f224e7
DE
58342014-02-12 Doug Evans <dje@google.com>
5835
5836 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5837 (MISCELLANEOUS): New variable.
5838 (clean): rm -rf $(MISCELLANEOUS).
5839 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5840 dwp live in the same directory as symlinks, with each symlink pointed
5841 to a differently named file in a different directory.
5842
149b30ff
DE
58432014-02-11 Doug Evans <dje@google.com>
5844
5845 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5846 of Tcl file commands.
5847
1dfdac32
MK
58482014-02-10 Mark Kettenis <kettenis@gnu.org>
5849
5850 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5851 "kill -SIGUSR1 -1".
5852
aa4fb036
JB
58532014-02-10 Joel Brobecker <brobecker@adacore.com>
5854
5855 * gdb.ada/tick_length_array_enum_idx: New testcase.
5856
ed3ef339
DE
58572014-02-10 Doug Evans <xdje42@gmail.com>
5858
5859 * configure.ac (AC_OUTPUT): Add gdb.guile.
5860 * configure: Regenerate.
5861 * lib/gdb-guile.exp: New file.
5862 * lib/gdb.exp (get_target_charset): New function.
5863 * gdb.base/help.exp: Update expected output from "apropos apropos".
5864 * gdb.guile/Makefile.in: New file.
5865 * gdb.guile/guile.exp: New file.
5866 * gdb.guile/scm-arch.c: New file.
5867 * gdb.guile/scm-arch.exp: New file.
5868 * gdb.guile/scm-block.c: New file.
5869 * gdb.guile/scm-block.exp: New file.
5870 * gdb.guile/scm-breakpoint.c: New file.
5871 * gdb.guile/scm-breakpoint.exp: New file.
5872 * gdb.guile/scm-disasm.c: New file.
5873 * gdb.guile/scm-disasm.exp: New file.
5874 * gdb.guile/scm-equal.c: New file.
5875 * gdb.guile/scm-equal.exp: New file.
5876 * gdb.guile/scm-error.exp: New file.
5877 * gdb.guile/scm-error.scm: New file.
5878 * gdb.guile/scm-frame-args.c: New file.
5879 * gdb.guile/scm-frame-args.exp: New file.
5880 * gdb.guile/scm-frame-args.scm: New file.
5881 * gdb.guile/scm-frame-inline.c: New file.
5882 * gdb.guile/scm-frame-inline.exp: New file.
5883 * gdb.guile/scm-frame.c: New file.
5884 * gdb.guile/scm-frame.exp: New file.
5885 * gdb.guile/scm-generics.exp: New file.
5886 * gdb.guile/scm-gsmob.exp: New file.
5887 * gdb.guile/scm-iterator.c: New file.
5888 * gdb.guile/scm-iterator.exp: New file.
5889 * gdb.guile/scm-math.c: New file.
5890 * gdb.guile/scm-math.exp: New file.
5891 * gdb.guile/scm-objfile-script-gdb.in: New file.
5892 * gdb.guile/scm-objfile-script.c: New file.
5893 * gdb.guile/scm-objfile-script.exp: New file.
5894 * gdb.guile/scm-objfile.c: New file.
5895 * gdb.guile/scm-objfile.exp: New file.
5896 * gdb.guile/scm-ports.exp: New file.
5897 * gdb.guile/scm-pretty-print.c: New file.
5898 * gdb.guile/scm-pretty-print.exp: New file.
5899 * gdb.guile/scm-pretty-print.scm: New file.
5900 * gdb.guile/scm-section-script.c: New file.
5901 * gdb.guile/scm-section-script.exp: New file.
5902 * gdb.guile/scm-section-script.scm: New file.
5903 * gdb.guile/scm-symbol.c: New file.
5904 * gdb.guile/scm-symbol.exp: New file.
5905 * gdb.guile/scm-symtab-2.c: New file.
5906 * gdb.guile/scm-symtab.c: New file.
5907 * gdb.guile/scm-symtab.exp: New file.
5908 * gdb.guile/scm-type.c: New file.
5909 * gdb.guile/scm-type.exp: New file.
5910 * gdb.guile/scm-value-cc.cc: New file.
5911 * gdb.guile/scm-value-cc.exp: New file.
5912 * gdb.guile/scm-value.c: New file.
5913 * gdb.guile/scm-value.exp: New file.
5914 * gdb.guile/source2.scm: New file.
5915 * gdb.guile/types-module.cc: New file.
5916 * gdb.guile/types-module.exp: New file.
5917
7026a7c1
YQ
59182014-02-10 Yao Qi <yao@codesourcery.com>
5919
5920 PR testsuite/16543
5921 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5922 * configure: Regenerated.
5923 * Makefile.in: New file.
5924
6c466447
AS
59252014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5926
5927 * gdb.python/py-framefilter.exp: Fix typo.
5928
6e854735
YQ
59292014-02-08 Yao Qi <yao@codesourcery.com>
5930
5931 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5932 that no =breakpoint-modified is emitted when breakpoints are
5933 modified through MI commands.
5934
d137e6dc
PA
59352014-02-07 Pedro Alves <pedro@codesourcery.com>
5936 Pedro Alves <palves@redhat.com>
5937
5938 * gdb.threads/step-after-sr-lock.c: New file.
5939 * gdb.threads/step-after-sr-lock.exp: New file.
5940
b5ee5a50
PA
59412014-02-07 Pedro Alves <palves@redhat.com>
5942
5943 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5944
3c77faf3
JK
59452014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5946
5947 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5948 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5949
6dddc817
DE
59502014-02-06 Doug Evans <xdje42@gmail.com>
5951
5952 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5953 output.
5954
5955 * gdb.gdb/python-interrupts.exp: New file.
5956
de7b2893
YQ
59572014-02-05 Yao Qi <yao@codesourcery.com>
5958
5959 * gdb.trace/report.exp (use_collected_data): Test the output
5960 of "info threads" and "info inferiors".
5961
66d032ac
YQ
59622014-02-05 Yao Qi <yao@codesourcery.com>
5963
5964 Revert this patch:
5965
5966 2013-05-24 Yao Qi <yao@codesourcery.com>
5967
5968 * gdb.trace/tfile.exp: Test inferior and thread.
5969
591a12a1
UW
59702014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5971
5972 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5973 on a function.
5974 * gdb.base/step-bt.c: Call hello via function pointer to make
5975 sure its first instruction is executed on powerpc64le-linux.
5976
0ff3e01f
UW
59772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5978
5979 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5980
084ee545
UW
59812014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5982
5983 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5984 of the test patterns for use on little-endian systems.
5985
6ed14ff3
UW
59862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5987
5988 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5989 (decimal_vector): Fix for little-endian.
5990
401e27fd
JM
59912014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5992
5993 * gdb.arch/sparc-sysstep.exp: New file.
5994 * gdb.arch/sparc-sysstep.c: Likewise.
5995
5996 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5997
8b924729
EBM
59982014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5999
6000 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6001
fb151210
JB
60022014-01-23 Tom Tromey <tromey@redhat.com>
6003
6004 * gdb.ada/array_char_idx: New testcase.
6005
0740f8d8
TT
60062014-01-23 Tom Tromey <tromey@redhat.com>
6007
6008 PR python/16487:
6009 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6010 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6011 classes.
6012
21909fa1
TT
60132014-01-23 Tom Tromey <tromey@redhat.com>
6014
6015 PR python/16491:
6016 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6017 string from an inferior frame.
6018 * gdb.python/py-framefilter-mi.exp: Update.
6019
87ce2a04
DE
60202014-01-22 Doug Evans <dje@google.com>
6021
6022 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6023
237b092b
AA
60242014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6025
6026 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6027
d674a709
AA
60282014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6029
6030 * gdb.trace/entry-values.exp: Remove excess space character from
6031 regex patterns. Handle s390 call instruction.
6032
20fa3390
AA
60332014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6034
6035 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6036 define "*_start" label. Make "name" static.
6037 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6038 ${name} by references to ${name}_start.
6039
78466714
AA
60402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6041
6042 * gdb.base/info-macros.exp: Remove "debug" from the compile
6043 options.
6044
ec9f644a
IB
60452014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6046
6047 * gdb.dlang/demangle.exp: New file.
6048
94b1b47e
IB
60492014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6050
6051 * gdb.dlang/primitive-types.exp: New file.
6052
7f420862
IB
60532014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6054
6055 * configure.ac: Create gdb.dlang/Makefile.
6056 * configure: Regenerate.
6057 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6058 * gdb.dlang/Makefile.in: New file.
6059 * lib/d-support.exp: New file.
6060 * lib/gdb.exp (skip_d_tests): New proc.
6061
52834460
MM
60622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6063
6064 * gdb.btrace/delta.exp: Check reverse stepi.
6065 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6066 * gdb.btrace/finish.exp: New.
6067 * gdb.btrace/next.exp: New.
6068 * gdb.btrace/nexti.exp: New.
6069 * gdb.btrace/record_goto.c: Add comments.
6070 * gdb.btrace/step.exp: New.
6071 * gdb.btrace/stepi.exp: New.
6072 * gdb.btrace/multi-thread-step.c: New.
6073 * gdb.btrace/multi-thread-step.exp: New.
6074 * gdb.btrace/rn-dl-bind.c: New.
6075 * gdb.btrace/rn-dl-bind.exp: New.
6076 * gdb.btrace/data.c: New.
6077 * gdb.btrace/data.exp: New.
6078 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6079
6e07b1d2
MM
60802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6081
6082 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6083 * gdb.btrace/exception.exp: Update.
6084 * gdb.btrace/instruction_history.exp: Update.
6085 * gdb.btrace/record_goto.exp: Update.
6086 * gdb.btrace/tailcall.exp: Update.
6087 * gdb.btrace/unknown_functions.exp: Update.
6088 * gdb.btrace/delta.exp: New.
6089
0b722aec
MM
60902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6091
6092 * gdb.btrace/record_goto.exp: Add backtrace test.
6093 * gdb.btrace/tailcall.exp: Add backtrace test.
6094
066ce621
MM
60952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6096
6097 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6098 * gdb.btrace/record_goto.c: New.
6099 * gdb.btrace/record_goto.exp: New.
6100 * gdb.btrace/x86-record_goto.S: New.
6101
0688d04e
MM
61022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6103
6104 * gdb.btrace/function_call_history.exp: Update tests.
6105 * gdb.btrace/instruction_history.exp: Update tests.
6106
8710b709
MM
61072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6108
6109 * gdb.btrace/function_call_history.exp: Fix expected field
6110 order for "record function-call-history".
6111 Add new tests for "record function-call-history /c".
6112 * gdb.btrace/exception.cc: New.
6113 * gdb.btrace/exception.exp: New.
6114 * gdb.btrace/tailcall.exp: New.
6115 * gdb.btrace/x86-tailcall.S: New.
6116 * gdb.btrace/x86-tailcall.c: New.
6117 * gdb.btrace/unknown_functions.c: New.
6118 * gdb.btrace/unknown_functions.exp: New.
6119 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6120
5de9129b
MM
61212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6122
6123 * gdb.btrace/instruction_history.exp: Update.
6124 * gdb.btrace/function_call_history.exp: Update.
6125
23a7fe75
MM
61262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6127
6128 * gdb.btrace/function_call_history.exp: Fix expected function
6129 trace.
6130 * gdb.btrace/instruction_history.exp: Initialize traced.
6131 Remove traced_functions.
6132
724c7dd8
MM
61332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6134
6135 * gdb.btrace/function_call_history.exp: Update
6136 * gdb.btrace/instruction_history.exp: Update.
6137
6d78d93b
MM
61382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6139
6140 * gdb.btrace/enable.exp: Update expected text.
6141
93a360cc
OJ
61422014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6143
6144 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6145 bytes.
6146
3772b53f
MR
61472014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6148
6149 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6150
596662fa
OJ
61512014-01-15 Omair Javaid <omair.javaid@linaro.org>
6152
6153 * lib/gdb.exp (supports_process_record): Return true for
6154 arm*-linux*. (supports_reverse): Likewise.
6155
b5b08fb4
SC
61562014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6157
6158 PR python/15464
6159 PR python/16113
6160 * gdb.python/py-type.c: Enhance test case.
6161 * gdb.python/py-value-cc.cc: Likewise
6162 * gdb.python/py-type.exp: Add new tests.
6163 * gdb.python/py-value-cc.exp: Likewise
6164
52d7fb13
AA
61652014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6166 Pedro Alves <palves@redhat.com>
6167
6168 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6169 Make "name" extern.
6170 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6171 references to ${name}_start by references to ${name}.
6172
a2cd8cfe
JB
61732014-01-10 Joel Brobecker <brobecker@adacore.com>
6174
6175 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6176
4e23fced
JB
61772014-01-10 Joel Brobecker <brobecker@adacore.com>
6178
6179 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6180
c6a9e42c
PA
61812014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6182 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6185 mi_gdb_target_load.
c6a9e42c 6186
b7ea362b
PA
61872014-01-08 Pedro Alves <palves@redhat.com>
6188
6189 * gdb.threads/reconnect-signal.c: New file.
6190 * gdb.threads/reconnect-signal.exp: New file.
6191
5e3f4fab
EBM
61922014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6193
6194 * gdb.base/source-dir.exp: New file.
6195
79301218
JB
61962014-01-07 Joel Brobecker <brobecker@adacore.com>
6197
6198 * gdb.ada/mi_interface: New testcase.
6199
8e355c5d
JB
62002014-01-07 Joel Brobecker <brobecker@adacore.com>
6201
6202 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6203 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6204 gdb.ada/pp-rec-component/pck.ads: New files.
6205
c0d48811
JB
62062014-01-07 Joel Brobecker <brobecker@adacore.com>
6207
6208 * gdb.python/py-pp-integral.c: New file.
6209 * gdb.python/py-pp-integral.py: New file.
6210 * gdb.python/py-pp-integral.exp: New file.
6211
17b609c3 6212For older changes see ChangeLog-1993-2013.
c906108c 6213\f
8d8cb839
EZ
6214;; Local Variables:
6215;; mode: change-log
6216;; left-margin: 8
6217;; fill-column: 74
6218;; version-control: never
6219;; End:
902f2ccb 6220
32d0add0 6221 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6222 Copying and distribution of this file, with or without modification,
6223 are permitted provided the copyright notice and this notice are preserved.