Fix typo in desription of linker script symbols.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
dc5c8746
PMR
12015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2
3 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4 expected outputs. Add two testcases for completing ambiguous
5 functions.
6 * gdb.ada/complete/aux_pck.adb: New file.
7 * gdb.ada/complete/aux_pck.ads: New file.
8 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9 Ambiguous_Func functions.
10 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11 * gdb.ada/complete/pck.adb: Likewise.
12
4e83a1e7
UW
132015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14
15 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16 failures to run the test program under GDB.
17
8ce74153
LM
182015-08-26 Luis Machado <lgustavo@codesourcery.com>
19
20 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
21 to C.
22
e9756d52
PP
232015-08-26 Patrick Palka <patrick@parcs.ath.cx>
24
25 * gdb.base/run-after-attach.exp: New test file.
26 * gdb.base/run-after-attach.c: New test file.
27
8d37573b
DB
282015-08-26 Don Breazeal <donb@codesourcery.com>
29
30 * gdb.base/foll-exec-2.c: New test program.
31 * gdb.base/foll-exec-2.exp: New test.
32
63e43d3a
PMR
332015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
34
35 * gdb.base/nested-subp1.exp: New file.
36 * gdb.base/nested-subp1.c: New file.
37 * gdb.base/nested-subp2.exp: New file.
38 * gdb.base/nested-subp2.c: New file.
39 * gdb.base/nested-subp3.exp: New file.
40 * gdb.base/nested-subp3.c: New file.
41
3d40fbb5
PA
422015-08-24 Pedro Alves <palves@redhat.com>
43
44 * gdb.server/connect-without-multi-process.c: New file.
45 * gdb.server/connect-without-multi-process.exp: New file.
46
4422ac93
LM
472015-08-24 Luis Machado <lgustavo@codesourcery.com>
48
49 * gdb.opt/inline-markers.c: Make z int.
50
91dddb86
LM
512015-08-24 Luis Machado <lgustavo@codesourcery.com>
52
53 * gdb.opt/inline-markers.c: Make z volatile.
54
a48847ee
LM
552015-08-24 Luis Machado <lgustavo@codesourcery.com>
56
57 * gdb.opt/inline-bt.c: New volatile global z.
58 * gdb.opt/inline-cmds.c: Likewise.
59 * gdb.opt/inline-locals.c: Likewise.
60 * gdb.opt/inline-markers.c: New extern global z.
61 (marker): Use z.
62 (inline_fn): Likewise.
63
0ebbc52b
PA
642015-08-24 Pedro Alves <palves@redhat.com>
65
66 * config/m32r-stub.exp: Remove file.
67 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
68 * gdb.base/call-rt-st.exp: Likewise.
69 * gdb.base/call-strs.exp: Likewise.
70 * gdb.base/default.exp: Remove references to h8300-*-hms and
71 *-*-udi*.
72 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
73
77c365df
AA
742015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
75
76 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
77 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
78 and "return" use KFAIL when GDB can not read/write the vector
79 return value.
80
4313b8c0
GB
812015-08-21 Gary Benson <gbenson@redhat.com>
82
83 * gdb.trace/pending.exp: Cope with remote transfer warnings.
84
0e433b32
PA
852015-08-20 Pedro Alves <palves@redhat.com>
86
87 * gdb.server/solib-list.exp: No longer expect an interior stop in
88 non-stop mode.
89
221e1a37
PA
902015-08-20 Pedro Alves <palves@redhat.com>
91
92 * gdb.server/connect-stopped-target.c: New file.
93 * gdb.server/connect-stopped-target.exp: New file.
94
40e3ad0e
PA
952015-08-20 Pedro Alves <palves@redhat.com>
96
97 * gdb.dwarf2/comp-unit-lang.exp: New file.
98 * gdb.dwarf2/comp-unit-lang.c: New file.
99
af39b327
PMR
1002015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
101
102 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
103 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
104
7d45c7c3
KB
1052015-08-19 Kevin Buettner <kevinb@redhat.com>
106
107 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
108 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
109
4d6cceb4
DE
1102015-08-18 Doug Evans <dje@google.com>
111 Adrian Sendroiu <adrian.sendroiu@freescale.com>
112
113 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
114 skip_python_tests. New arg prompt_regexp.
115 (skip_python_tests): New function.
116 * lib/mi-support.exp (mi_skip_python_tests): New function.
117 * gdb.python/py-mi-objfile-gdb.py: New file.
118 * gdb.python/py-mi-objfile.c: New file.
119 * gdb.python/py-mi-objfile.exp: New file.
120
ad89c2aa
KS
1212015-08-17 Keith Seitz <keiths@redhat.com>
122
123 * gdb.linespec/explicit.exp: Move strace test from here ...
124 * gdb.trace/strace.exp: ... to here.
125
e3ae3c43
PP
1262015-08-15 Patrick Palka <patrick@parcs.ath.cx>
127
128 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
129 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
130
604b2636
DE
1312015-08-14 Doug Evans <xdje42@gmail.com>
132
133 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
134 inferior before selecting a new file.
135
6ff0ba5f
DE
1362015-08-14 Doug Evans <xdje42@gmail.com>
137
138 * gdb.mi/mi-disassemble.exp: Update.
139 * gdb.base/disasm-optim.S: New file.
140 * gdb.base/disasm-optim.c: New file.
141 * gdb.base/disasm-optim.h: New file.
142 * gdb.base/disasm-optim.exp: New file.
143
9ca98f92
KS
1442015-08-14 Keith Seitz <keiths@redhat.com>
145
146 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
147 "evaluated-by".
148
52bbc560
JB
1492015-08-13 Joel Brobecker <brobecker@adacore.com>
150
151 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
152
5d8c3ed3
PMR
1532015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
154
155 * gdb.ada/fun_renaming.exp: New testcase.
156 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
157 * gdb.ada/fun_renaming/pack.adb: New file.
158 * gdb.ada/fun_renaming/pack.ads: New file.
159
ea8812bc
KS
1602015-08-12 Keith Seitz <keiths@redhat.com>
161
162 * gdb.base/dso2dso.exp: Pass basename of source file in call to
163 gdb_get_line_number.
164
4dafcdeb
JB
1652015-08-12 Joel Brobecker <brobecker@adacore.com>
166
167 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
168 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
169 gdb.base/dso2dso.exp: New files.
170
5ba32597
SDJ
1712015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
172 Pedro Alves <palves@redhat.com>
173 Keith Seitz <keiths@redhat.com>
174
175 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
176 GDBFLAGS.
177
b6dafabf
PP
1782015-08-12 Patrick Palka <patrick@parcs.ath.cx>
179
180 * gdb.base/gdbhistsize-history.exp
181 (test_histsize_history_setting): Use save_vars.
182 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
183 Use save_vars.
184 (test_no_truncation_of_unlimited_history_file): Use save_vars.
185 * gdb.base/readline.exp: Use save_vars.
186
abe8e607
PP
1872015-08-12 Patrick Palka <patrick@parcs.ath.cx>
188
189 * lib/gdb.exp (save_vars): New proc.
190
629500fa
KS
1912015-08-11 Keith Seitz <keiths@redhat.com>
192
193 * gdb.base/help.exp: Update help_breakpoint_text.
194
eb8c4e2e
KS
1952015-08-11 Keith Seitz <keiths@redhat.com>
196
197 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
198 (at toplevel): Call test_explicit_breakpoints.
199 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
200 breakpoints.
201 * lib/mi-support.exp (mi_make_breakpoint): Add support for
202 breakpoint conditions, "-cond".
203
87f0e720
KS
2042015-08-11 Keith Seitz <keiths@redhat.com>
205
206 * gdb.linespec/3explicit.c: New file.
207 * gdb.linespec/cpexplicit.cc: New file.
208 * gdb.linespec/cpexplicit.exp: New file.
209 * gdb.linespec/explicit.c: New file.
210 * gdb.linespec/explicit.exp: New file.
211 * gdb.linespec/explicit2.c: New file.
212 * gdb.linespec/ls-errs.exp: Add explicit location tests.
213 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
214 before using in the matching pattern.
215 Clarify that `prefix' is a regular expression.
216
f00aae0f
KS
2172015-08-11 Keith Seitz <keiths@redhat.com>
218
219 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
220 test.
221 Add tests for missing ",FMT" and ",".
222
e27852be
DE
2232015-08-10 Doug Evans <dje@google.com>
224 Keith Seitz <keiths@redhat.com>
225
226 PR gdb/17960
227 * gdb.base/completion.exp: Add location completer tests.
228
7f03bd92
PA
2292015-08-07 Pedro Alves <palves@redhat.com>
230
231 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
232 tests here.
233 (top level): Run do_test with and without displaced stepping.
234
3fc8eb30
PA
2352015-08-07 Pedro Alves <palves@redhat.com>
236
237 * gdb.base/valgrind-disp-step.c: New file.
238 * gdb.base/valgrind-disp-step.exp: New file.
239
d4569d7b
PA
2402015-08-07 Pedro Alves <palves@redhat.com>
241
242 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
243 Delete function.
244 (main): Add alarm. Run an infinite loop instead of calling
245 wait_threads.
246 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
247 comment.
248 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
249 Delete function.
250 (main): Add alarm. Run an infinite loop instead of calling
251 wait_threads.
252 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
253 comment.
254
e1316e60
PA
2552015-08-07 Pedro Alves <palves@redhat.com>
256
257 * gdb.base/checkpoint-ns.exp: New file.
258 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
259 standard_testfile.
260
da8c46d2
MM
2612015-08-07 Markus Metzger <markus.t.metzger@intel.com>
262
263 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
264 * gdb.btrace/instruction_history.exp: Update.
265 * gdb.btrace/tsx.exp: New.
266 * gdb.btrace/tsx.c: New.
267
de1c2c52
PA
2682015-08-06 Pedro Alves <palves@redhat.com>
269
270 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
271 increase timeout.
272 * gdb.reverse/until-precsave.exp: Bump timeouts.
273
782e0bf4
PA
2742015-08-06 Pedro Alves <palves@redhat.com>
275
276 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
277
83e97ed0
PA
2782015-08-06 Pedro Alves <palves@redhat.com>
279
280 PR gdb/18749
281 * gdb.threads/process-dies-while-handling-bp.c: New file.
282 * gdb.threads/process-dies-while-handling-bp.exp: New file.
283
863d01bd
PA
2842015-08-06 Pedro Alves <palves@redhat.com>
285
286 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
287 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
288
0a39bb32
PA
2892015-08-05 Pedro Alves <palves@redhat.com>
290
291 * gdb.threads/next-while-other-thread-longjmps.c: New file.
292 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
293
ee2d2b10
SL
2942015-08-03 Sandra Loosemore <sandra@codesourcery.com>
295
296 * gdb.base/bp-permanent.exp: Report test as unsupported if
297 the target cannot stop at the permanent breakpoint.
298
4e1bdb00
DE
2992015-08-03 Doug Evans <dje@google.com>
300
301 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
302 10000.
303
3d338901
DE
3042015-08-03 Doug Evans <dje@google.com>
305
306 * Makefile.in (workers/%.worker, build-perf): New rule.
307 (GDB_PERFTEST_MODE): New variable.
308 (check-perf): Use it.
309 (clean): Clean up gdb.perf parallel build subdirs.
310 * lib/build-piece.exp: New file.
311 * lib/gdb.exp (make_gdb_parallel_path): New function
312 (standard_output_file, standard_temp_file): Call it.
313 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
314 of $GDB_PARALLEL.
315 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
316
af061d3e
DE
3172015-08-03 Doug Evans <dje@google.com>
318
8e1afc81 319 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
320 (LOG_FILE_NAME): New global.
321 (TextReporter.__init__): Initialize self.txt_sum.
322 (TextReporter.report): Add support for multiple data-points.
323 Move report to perftest.sum, put raw data in perftest.log.
324 (TextReporter.start): Open sum and log files.
325 (TextReporter.end): Close sum and log files.
8e1afc81
DE
326 * gdb.perf/lib/perftest/testresult.py
327 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 328
2c8c5d37
PA
3292015-07-31 Pedro Alves <palves@redhat.com>
330
331 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
332 Use spawn_id_get_pid. Wait for spawn id after eof. Use
333 kill_wait_spawned_process instead of explicit "kill -9".
334 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
335 returning a spawn id instead of a pid. Use spawn_id_get_pid and
336 kill_wait_spawned_process.
337 * gdb.base/attach-twice.exp: Likewise.
338 * gdb.base/attach.exp: Likewise.
339 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
340 gdb_test_multiple.
341 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
342 returning a spawn id instead of a pid. Use spawn_id_get_pid and
343 kill_wait_spawned_process.
344 * gdb.base/valgrind-infcall.exp: Likewise.
345 * gdb.multi/multi-attach.exp: Likewise.
346 * gdb.python/py-prompt.exp: Likewise.
347 * gdb.python/py-sync-interp.exp: Likewise.
348 * gdb.server/ext-attach.exp: Likewise.
349 * gdb.threads/attach-into-signal.exp (corefunc): Use
350 spawn_wait_for_attach, spawn_id_get_pid and
351 kill_wait_spawned_process.
352 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
353 spawn_wait_for_attach returning a spawn id instead of a pid. Use
354 spawn_id_get_pid and kill_wait_spawned_process.
355 * gdb.threads/attach-stopped.exp (corefunc): Use
356 spawn_wait_for_attach, spawn_id_get_pid and
357 kill_wait_spawned_process.
358 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
359 Use spawn_id_get_pid. Wait for spawn id after eof. Use
360 kill_wait_spawned_process instead of explicit "kill -9".
361 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
362 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
363 (spawn_wait_for_attach): Use spawn instead of exec to spawn
364 processes. Don't map cygwin/windows pids here. Now returns a
365 spawn id list.
366
032a0fca
SL
3672015-07-30 Sandra Loosemore <sandra@codesourcery.com>
368
369 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
370 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
371 correct patch.
372
61a934ca
SL
3732015-07-30 Sandra Loosemore <sandra@codesourcery.com>
374
375 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
376
4bc4d428
SL
3772015-07-30 Sandra Loosemore <sandra@codesourcery.com>
378
379 Reapply:
380 2014-05-21 Mark Wielaard <mjw@redhat.com>
381
382 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
383
998d452a
PA
3842015-07-30 Pedro Alves <palves@redhat.com>
385
386 * linux-low.c (handle_extended_wait): Set the child's last
387 reported status to TARGET_WAITKIND_STOPPED.
388
69dde7dc
PA
3892015-07-30 Pedro Alves <palves@redhat.com>
390
391 PR threads/18600
392 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
393 only shows inferior 1.
394
4dd63d48
PA
3952015-07-30 Simon Marchi <simon.marchi@ericsson.com>
396 Pedro Alves <palves@redhat.com>
397
398 PR threads/18600
399 * gdb.threads/fork-plus-threads.c: New file.
400 * gdb.threads/fork-plus-threads.exp: New file.
401
d618e4c5
PP
4022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
403
404 * gdb.base/batch-preserve-term-settings.exp
405 (test_terminal_settings_preserved_after_cli_exit): Use
406 send_quit_command.
407
1eef6428
PA
4082015-07-29 Pedro Alves <palves@redhat.com>
409 Don Breazeal <donb@codesourcery.com>
410
411 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
412 output from both inferior_spawn_id and gdb_spawn_id.
413
7da5b897
SDJ
4142015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
415
416 * gdb.threads/attach-into-signal.exp (corefunc): Use
417 with_test_prefix on nested loops, uniquefying the test messages.
418
dac804df
SDJ
4192015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
420
421 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
422 commit.
423
06265e53
PP
4242015-07-29 Patrick Palka <patrick@parcs.ath.cx>
425
426 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
427 New proc.
428 (test_terminal_settings_preserved_after_sigterm): New test.
429
18206ca3
PP
4302015-07-29 Patrick Palka <patrick@parcs.ath.cx>
431
432 * gdb.base/batch-preserve-term-settings.exp
433 (test_terminal_settings_preserved_after_cli_exit): New test.
434
90074d11
PP
4352015-07-29 Patrick Palka <patrick@parcs.ath.cx>
436
437 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
438 manipulation of saved_gdbflags.
439 (test_terminal_settings_preserved): Remove global declaration of
440 the unused variable pagination_prompt. Remove manipulation of
441 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
442 GDBFLAGS.
443
eb1a7902
PA
4442015-07-29 Pedro Alves <palves@redhat.com>
445
446 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
447
8b75dd3b
PA
4482015-07-29 Pedro Alves <palves@redhat.com>
449
450 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
451 at the top.
452
dedad4e3
PA
4532015-07-29 Pedro Alves <palves@redhat.com>
454
455 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
456 (main): Call gdb_unbuffer_output.
457 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
458 (main): Call gdb_unbuffer_output.
459 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
460 (main): Call gdb_unbuffer_output.
461 * gdb.base/call-strs.exp: Adjust to step over the
462 gdb_unbuffer_output call.
463 * gdb.base/catch-gdb-caused-signals.c: Include
464 "../lib/unbuffer_output.c".
465 (main): Call gdb_unbuffer_output.
466 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
467 (main): Call gdb_unbuffer_output.
468 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
469 (main): Call gdb_unbuffer_output.
470 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
471 (main): Call gdb_unbuffer_output.
472 * gdb.base/shlib-call.exp: Adjust to step over the
473 gdb_unbuffer_output call.
474 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
475 (main): Call gdb_unbuffer_output.
476 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
477 (main): Call gdb_unbuffer_output.
478 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
479 (main): Rename to ...
480 (test): ... this.
481 (main): Reimplement.
482 * gdb.base/varargs.exp: Run to test instead of to main.
483 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
484 (main): Call gdb_unbuffer_output.
485
58789a91
PA
4862015-07-29 Pedro Alves <palves@redhat.com>
487
488 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
489 factore out from mi_continue_dprintf. For call-style dprintfs,
490 expect dprintf output out of $inferior_spawn_id.
491 (mi_continue_dprintf): Use mi_expect_dprintf.
492 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
493 (main): Call gdb_unbuffer_output.
494
e8376742
PA
4952015-07-29 Pedro Alves <palves@redhat.com>
496
497 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
498 (default_mi_gdb_start): Set inferior_spawn_id instead of
499 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
500 gdb_spawn_id.
501 (mi_gdb_test): Always expect inferior output from both
502 $inferior_spawn_id and $gdb_spawn_id.
503
08280010
PA
5042015-07-29 Pedro Alves <palves@redhat.com>
505
506 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
507 send_inferior and $inferior_spawn_id.
508
4d30e432
PA
5092015-07-29 Pedro Alves <palves@redhat.com>
510
511 * gdb.gdb/complaints.exp (test_initial_complaints)
512 (test_serial_complaints, test_short_complaints): Use
513 gdb_test_stdio.
514 (test_empty_complaint): Handle $inferior_spawn_id !=
515 $gdb_spawn_id.
516
0d30a335
PA
5172015-07-29 Pedro Alves <palves@redhat.com>
518
519 * gdb.base/varargs.exp: Use gdb_test_stdio.
520
39413b29
PA
5212015-07-29 Pedro Alves <palves@redhat.com>
522
523 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
524
7cb000a9
PA
5252015-07-29 Pedro Alves <palves@redhat.com>
526
527 * gdb.base/ending-run.exp: Use gdb_test_stdio.
528
d7b8ac82
PA
5292015-07-29 Pedro Alves <palves@redhat.com>
530
531 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
532 parameter into two new parameters, "inf_result" and "gdb_result".
533 Expect inferior output and gdb output from $inferior_spawn_id and
534 $gdb_spawn_id, respectively. Adjust all callers.
535
789c3a0c
PA
5362015-07-29 Pedro Alves <palves@redhat.com>
537
538 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
539 of gdb_test_sequence.
540
77e760c3
PA
5412015-07-29 Pedro Alves <palves@redhat.com>
542
543 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
544 (saw_spurious_output): Expect inferior output from
545 $inferior_spawn_id. Use gdb_test_stdio.
546
8396d2cd
PA
5472015-07-29 Pedro Alves <palves@redhat.com>
548
549 * gdb.base/dprintf.exp: Use standard_testfile. Change
550 prepare_for_testing call.
551 (srcfile): Don't set.
552 (restart): New procedure.
553 (test_dprintf): New procecure, use to continue over dprintfs.
554 (test_call, test_agent): New procedures, tests moved here.
555 Restart gdb and recreate dprintfs. Adjust expected output.
556
2051d61f
PA
5572015-07-29 Pedro Alves <palves@redhat.com>
558
559 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
560
452397af
PA
5612015-07-29 Pedro Alves <palves@redhat.com>
562
563 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
564
8aed9555
PA
5652015-07-29 Pedro Alves <palves@redhat.com>
566
567 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
568 gdb_test_stdio.
569
188a61b4
PA
5702015-07-29 Pedro Alves <palves@redhat.com>
571
572 * lib/gdb.exp (gdb_test_stdio): New procedure.
573
12264a45
PA
5742015-07-29 Pedro Alves <palves@redhat.com>
575
576 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
577
23ffc893
PA
5782015-07-29 Pedro Alves <palves@redhat.com>
579
580 * gdb.base/call-signal-resume.exp: Remove check for
581 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
582 * gdb.base/unwindonsignal.exp: Likewise.
583 * gdb.base/call-signals.c (gen_signal): Remove printf call.
584 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
585
65566918
PA
5862015-07-29 Pedro Alves <palves@redhat.com>
587
588 * gdb.base/siginfo-addr.c (pass): New function.
589 (handler): Call it iff si_addr is correct.
590 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
591 Set a breakpoint at "pass" and continue to it.
592
d60a9221
SDJ
5932015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
594
595 * gdb.python/py-objfile.exp: Make some tests have unique names.
596 * gdb.python/py-pp-registration.exp: Likewise.
597
bde40b8f
PA
5982015-07-28 Pedro Alves <palves@redhat.com>
599
600 * gdb.server/server-exec-info.exp: Issue a "disconnect".
601
13e1dec8
SM
6022015-07-27 Simon Marchi <simon.marchi@ericsson.com>
603
604 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
605
da33c9a7
SM
6062015-07-27 Simon Marchi <simon.marchi@ericsson.com>
607
608 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
609
077836f7
PP
6102015-07-27 Patrick Palka <patrick@parcs.ath.cx>
611
612 * gdb.base/gdb-sigterm-2.exp: New test.
613
b8cc7b2e
DE
6142015-07-25 Doug Evans <xdje42@gmail.com>
615
616 Revert:
617 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
618 (workers/%.worker, build-perf): New rule.
619 (GDB_PERFTEST_MODE): New variable.
620 (check-perf): Use it.
621 (clean): Clean up gdb.perf parallel build subdirs.
622 * lib/build-piece.exp: New file.
623 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
624 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
625 name.
626 (standard_temp_file): Ditto.
627 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
628 of $GDB_PARALLEL.
629
c8bd4544
DE
6302015-07-24 Doug Evans <dje@google.com>
631
632 * gdb.perf/lib/perftest/utils.py: New file.
633 * gdb.perf/gm-hello.cc: New file.
634 * gdb.perf/gm-pervasive-typedef.cc: New file.
635 * gdb.perf/gm-pervasive-typedef.h: New file.
636 * gdb.perf/gm-std.cc: New file.
637 * gdb.perf/gm-std.h: New file.
638 * gdb.perf/gm-use-cerr.cc: New file.
639 * gdb.perf/gm-utils.h: New file.
640 * gdb.perf/gmonster-null-lookup.py: New file.
641 * gdb.perf/gmonster-pervasive-typedef.py: New file.
642 * gdb.perf/gmonster-print-cerr.py: New file.
643 * gdb.perf/gmonster-ptype-string.py: New file.
644 * gdb.perf/gmonster-runto-main.py: New file.
645 * gdb.perf/gmonster-select-file.py: New file.
646 * gdb.perf/gmonster1-null-lookup.exp: New file.
647 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
648 * gdb.perf/gmonster1-print-cerr.exp: New file.
649 * gdb.perf/gmonster1-ptype-string.exp: New file.
650 * gdb.perf/gmonster1-runto-main.exp: New file.
651 * gdb.perf/gmonster1-select-file.exp: New file.
652 * gdb.perf/gmonster1.cc: New file.
653 * gdb.perf/gmonster1.exp: New file.
654 * gdb.perf/gmonster2-null-lookup.exp: New file.
655 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
656 * gdb.perf/gmonster2-print-cerr.exp: New file.
657 * gdb.perf/gmonster2-ptype-string.exp: New file.
658 * gdb.perf/gmonster2-runto-main.exp: New file.
659 * gdb.perf/gmonster2-select-file.exp: New file.
660 * gdb.perf/gmonster2.cc: New file.
661 * gdb.perf/gmonster2.exp: New file.
662
6eab34f3
DE
6632015-07-24 Doug Evans <dje@google.com>
664
665 * gdb.perf/README: New file.
666 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
667 * lib/gen-perf-test.exp: New file.
668
63738bfd
DE
6692015-07-24 Doug Evans <dje@google.com>
670
671 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
672 (PerfTest::startup): New function.
673 (PerfTest::run): Return result of calling body.
674 (PerfTest::assemble): Rewrite.
675 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
676 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
677 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
678 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
679 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
680
7b606f95
DE
6812015-07-24 Doug Evans <dje@google.com>
682
683 * lib/gdb.exp (clean_restart): Make executable optional.
684
a97b16b8
DE
6852015-07-24 Doug Evans <dje@google.com>
686
687 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
688 compiler_info references.
689 * gdb.cp/temargs.exp: Ditto.
690 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
691 (get_compiler_info): Early exit if already computed. Set compiler_info
692 to "unknown" if there was a problem.
693 (test_compiler_info): Add function comment. Call get_compiler_info.
694
35baa57f
DE
6952015-07-24 Doug Evans <dje@google.com>
696
697 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
698 (workers/%.worker, build-perf): New rule.
699 (GDB_PERFTEST_MODE): New variable.
700 (check-perf): Use it.
701 (clean): Clean up gdb.perf parallel build subdirs.
702 * lib/build-piece.exp: New file.
703 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
704 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
705 name.
706 (standard_temp_file): Ditto.
707 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
708 of $GDB_PARALLEL.
709
6ebea266
DE
7102015-07-24 Doug Evans <dje@google.com>
711
712 * lib/future.exp (gdb_default_target_compile): New option
713 "early_flags".
714 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
715 --as-needed.
716
1e76a7e9
SDJ
7172015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
718
719 * gdb.base/catch-syscall.exp: Call gdb_exit before
720 gdb_skip_xml_test.
721
5068630a
PA
7222015-07-24 Pedro Alves <palves@redhat.com>
723
724 * gdb.python/py-events.exp: Accept output between the stop event
725 and the prompt.
726 * gdb.python/py-evsignal.exp: Likewise.
727 * gdb.python/py-evthreads.exp: Likewise.
728
77598427
PA
7292015-07-24 Pedro Alves <palves@redhat.com>
730
731 PR gdb/18717
732 * gdb.threads/non-ldr-exit.c: New file.
733 * gdb.threads/non-ldr-exit.exp: New file.
734
11e6c98f
YQ
7352015-07-24 Yao Qi <yao.qi@linaro.org>
736
737 * gdb.server/ext-wrapper.exp: Test --wrapper option when
738 restarting process.
739
51aee833
YQ
7402015-07-24 Yao Qi <yao.qi@linaro.org>
741
742 * gdb.server/ext-restart.exp: New file.
743
8cfe207c
YQ
7442015-07-24 Yao Qi <yao.qi@linaro.org>
745
746 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
747 argument options.
748 * gdb.server/ext-wrapper.exp: New file.
749
cc12ce38
DE
7502015-07-23 Doug Evans <dje@google.com>
751
752 * gdb.dwarf2/dw2-dummy-cu.S: New file.
753 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
754
d0d84780
PMR
7552015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
756
757 * gdb.ada/var_arr_typedef.exp: New testcase.
758 * gdb.ada/var_arr_typedef/pack.adb: New file.
759 * gdb.ada/var_arr_typedef/pack.ads: New file.
760 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
761
8b558f79
JB
7622015-07-20 Joel Brobecker <brobecker@adacore.com>
763
764 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
765
775a3298
JK
7662015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
767
768 * gdb.arch/i386-biarch-core.exp: Replace istarget
769 by "complete set gnutarget". Remove expectation for the "core-file"
770 command.
771
db1ff28b
JK
7722015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
773
774 Revert the previous commit:
775 Tests for validate symbol file using build-id.
776
0a94970d
JK
7772015-07-15 Aleksandar Ristovski <aristovski@qnx.com
778
779 Tests for validate symbol file using build-id.
780 * gdb.base/solib-mismatch-lib.c: New file.
781 * gdb.base/solib-mismatch-libmod.c: New file.
782 * gdb.base/solib-mismatch.c: New file.
783 * gdb.base/solib-mismatch.exp: New file.
784
03346981
SL
7852015-07-15 Sandra Loosemore <sandra@codesourcery.com>
786
787 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
788 nios2-*-linux*.
789 * gdb.base/sigbpt.exp (stepi_out): Likewise.
790 * gdb.base/siginfo.exp: Likewise.
791 * gdb.base/sigstep.exp (advance, advancei): Likewise.
792
42422cc7
PL
7932015-07-15 Pierre Langlois <pierre.langlois@arm.com>
794
795 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
796 Move it to ...
797 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
798 ... here.
799 * gdb.trace/range-stepping.exp: Check that the target supports
800 range stepping.
801
cfa68bae
JK
8022015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
803
804 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
805
8ffdba26
PA
8062015-07-14 Pedro Alves <palves@redhat.com>
807
808 * gdb.base/killed-outside.exp: New file.
809 * gdb.base/killed-outside.c: New file.
810
218a5a11
JK
8112015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
812
813 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
814 (n at main): New.
815 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
816
e03ed3c6
AA
8172015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
818
819 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
820 infcall tests instead of setting up for KFAIL.
821
485668e5
MM
8222015-07-10 Markus Metzger <markus.t.metzger@intel.com>
823
824 * gdb.btrace/record_goto-step.exp: New.
825
08464196
JK
8262015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
827
828 PR compile/18484
829 * gdb.compile/compile.c (struct struct_type): Add volatile to
830 selffield's type.
831 * gdb.compile/compile.exp
832 (compile code struct_object.selffield = &struct_object): Skip further
833 struct_object tests if this one xfails.
834
bcf5c1d9
RC
8352015-07-08 Robert O'Callahan <robert@ocallahan.org>
836
837 PR exp/18617
838 * gdb.trace/ax.exp: Add test.
839
4931af25
YQ
8402015-07-07 Yao Qi <yao.qi@linaro.org>
841
842 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
843 instead of istarget "aarch64*-*-*".
844 * gdb.arch/aarch64-fp.exp: Likewise.
845 * gdb.base/float.exp: Likewise.
846 * gdb.reverse/aarch64.exp: Likewise.
847 * lib/gdb.exp (is_aarch64_target): New proc.
848
9fcf688e
YQ
8492015-07-07 Yao Qi <yao.qi@linaro.org>
850
851 * lib/gdb.exp (is_aarch32_target): New proc.
852 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
853 instead of "istarget "arm*-*-*"".
854 * gdb.arch/arm-disp-step.exp: Likewise.
855 * gdb.arch/thumb-bx-pc.exp: Likewise.
856 * gdb.arch/thumb-prologue.exp: Likewise.
857 * gdb.arch/thumb-singlestep.exp: Likewise.
858 * gdb.base/disp-step-syscall.exp: Likewise.
859 * gdb.base/float.exp: Likewise.
860
fbd8d50d
YQ
8612015-07-07 Yao Qi <yao.qi@linaro.org>
862
863 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
864 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
865
71be1fdc
YQ
8662015-07-07 Yao Qi <yao.qi@linaro.org>
867
868 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
869 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
870 if it exists.
871 * gdb.multi/multi-arch.exp: Likewise.
872
3e221d36
SM
8732015-07-07 Simon Marchi <simon.marchi@ericsson.com>
874
875 * gdb.python/py-lazy-string.exp: Add missing parentheses to
876 print.
877
d441430b
YQ
8782015-07-07 Yao Qi <yao.qi@linaro.org>
879
880 * gdb.arch/thumb-singlestep.exp: Do one more single step.
881
06f810bd
MG
8822015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
883
884 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
885 '[' and ']' characters.
886
5e61e7c0
IB
8872015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
888
889 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
890
28bf096c
PA
8912015-06-29 Pedro Alves <palves@redhat.com>
892
893 PR threads/18127
894 * gdb.threads/hand-call-new-thread.c: New file.
895 * gdb.threads/hand-call-new-thread.c: New file.
896
ee93cd5e
KS
8972015-06-26 Keith Seitz <keiths@redhat.com>
898 Doug Evans <dje@google.com>
899
900 PR 16253
901 * gdb.cp/var-tag-2.cc: New file.
902 * gdb.cp/var-tag-3.cc: New file.
903 * gdb.cp/var-tag-4.cc: New file.
904 * gdb.cp/var-tag.cc: New file.
905 * gdb.cp/var-tag.exp: New file.
906
fc637f04
PP
9072015-06-26 Patrick Palka <patrick@parcs.ath.cx>
908
909 * gdb.base/history-duplicates.exp: New test.
910
2e52ae68
PP
9112015-06-26 Patrick Palka <patrick@parcs.ath.cx>
912
913 * gdb.base/completion.exp: Test the completion of the "focus"
914 command.
915
6e22494e
JK
9162015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
917
918 * gdb.arch/amd64-prologue-skip.S: New file.
919 * gdb.arch/amd64-prologue-skip.exp: New file.
920
bf7b9cd9
SM
9212015-06-25 Simon Marchi <simon.marchi@ericsson.com>
922
923 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
924 is_address_zero_readable check.
925
201e8dfd
PB
9262015-06-24 Peter Bergner <bergner@vnet.ibm.com>
927
928 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
929 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
930
5cd867b4
YQ
9312015-06-24 Yao Qi <yao.qi@linaro.org>
932
933 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
934 linux targets.
935
4d7be007
YQ
9362015-06-24 Yao Qi <yao.qi@linaro.org>
937
938 * lib/gdb.exp (supports_get_siginfo_type): New proc.
939 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
940 * gdb.base/siginfo-thread.exp: Likewise.
941
07fcd301
YQ
9422015-06-22 Yao Qi <yao.qi@linaro.org>
943
944 * boards/remote-gdbserver-on-localhost.exp: Add comments.
945
52042a00
YQ
9462015-06-22 Yao Qi <yao.qi@linaro.org>
947
948 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
949 aarch64*-*-*.
950 (skip_hw_watchpoint_tests): Likewise.
951
74bd41ce
PP
9522015-06-18 Patrick Palka <patrick@parcs.ath.cx>
953
954 * gdb.base/gdbinit-history.exp: Test the interaction between
955 setting GDBHISTSIZE and setting the history size via .gdbinit.
956
bc460514
PP
9572015-06-17 Patrick Palka <patrick@parcs.ath.cx>
958
959 PR gdb/16999
960 * gdb.base/gdbhistsize-history.exp: New test.
961
b58c513b
PP
9622015-06-17 Patrick Palka <patrick@parcs.ath.cx>
963
964 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
965 with GDBHISTSIZE.
966 * gdb.base/readline.exp: Likewise.
967
92046791
YQ
9682015-06-17 Yao Qi <yao.qi@linaro.org>
969
970 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
971 line.
972
2093d2d3
PP
9732015-06-17 Patrick Palka <patrick@parcs.ath.cx>
974
975 * gdb.base/gdbinit-history.exp: Add test case to check that
976 an unlimited history file does not get truncated on exit.
977
e6c693af
AA
9782015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
979
980 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
981 (VECTOR): New macro. Use it...
982 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
983 ...for these typedefs.
984 (int8, char1, int1, double1): New typedefs.
985 (struct just_int2, struct two_int2): New structures.
986 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
987 (add_structvecs, add_singlevecs): New functions.
988 (main): Call add_some_intvecs twice.
989 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
990 the compile and exit upon failure. Try compiling for the "native"
991 architecture. Test inferior function calls with vector arguments
992 and vector return value handling with "finish" and "return".
993
c74f7d1c
JT
9942015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
995
996 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
997 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
998 PE file.
999 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1000
98aa42ee
AT
10012015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1002
1003 PR breakpoints/16465
1004 * gdb.mi/mi-dprintf-pending.c: New file.
1005 * gdb.mi/mi-dprintf-pending.exp: New test.
1006 * gdb.mi/mi-dprintf-pendshr.c: New file.
1007
7d73c23c 10082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1009 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1010
1011 * gdb.arch/i386-mpx-map.c: New file.
1012 * gdb.arch/i386-mpx-map.exp: New File.
1013
10142015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1015
1016 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1017 * gdb.arch/i386-mpx.exp: Indentation fixed.
1018
10192015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1020
1021 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1022 function and improved indentation.
1023 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1024 gdb_test_multiple. Added additional tests to skip the test.
1025
10262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1027
1028 * gdb.arch/i386-avx512.c: Change path in include file.
1029 * gdb.arch/i386-avx512.exp: Change include dir path
1030 compilation flag.
1031 * gdb.arch/i386-mpx.c: Change path in include file.
1032 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1033 flag.
1034
d5eba19a
JK
10352015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1036
1037 * gdb.compile/compile-print.exp (compile print *vararray@3)
1038 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1039
7f361056
JK
10402015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1041
1042 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1043 (do not keep jit in memory): ... this.
1044 (expect 5): Change it to ...
1045 (expect no 5): ... this.
1046
3b462ec2
SM
10472015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1048
1049 PR gdb/15564
1050 * gdb.mi/mi-detach.exp: New file.
1051
e0619de6
JK
10522015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1053
1054 PR symtab/18392
1055 * gdb.arch/amd64-tailcall-self.S: New file.
1056 * gdb.arch/amd64-tailcall-self.c: New file.
1057 * gdb.arch/amd64-tailcall-self.exp: New file.
1058
e970cb34
DB
10592015-05-28 Don Breazeal <donb@codesourcery.com>
1060
1061 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1062 tests for remote targets by checking is_target_gdbserver.
1063
b2e2f908
DE
10642015-05-27 Doug Evans <dje@google.com>
1065
1066 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1067 * gdb.dwarf2/opaque-type-lookup.c: New file.
1068 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1069
82c7be31
DE
10702015-05-26 Doug Evans <dje@google.com>
1071
1072 * gdb.cp/iostream.cc: New file.
1073 * gdb.cp/iostream.exp: New file.
1074
b4f54984
DE
10752015-05-26 Doug Evans <dje@google.com>
1076
1077 * gdb.dwarf2/dw2-op-call.exp: Update.
1078 * gdb.dwarf2/dw4-sig-types.exp: Update.
1079 * gdb.dwarf2/implptr.exp: Update.
1080 * gdb.mi/mi-cmd-param-changed.exp: Update.
1081
4ea6efe9
DE
10822015-05-26 Doug Evans <dje@google.com>
1083
1084 * gdb.python/py-lazy-string.c: New file.
1085 * gdb.python/py-lazy-string.exp: New file.
1086 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1087 (main): Update. Add estring3.
1088 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1089 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1090
f6bb7db3
YQ
10912015-05-26 Omair Javaid <omair.javaid@linaro.org>
1092 Yao Qi <yao.qi@linaro.org>
1093
1094 * gdb.reverse/aarch64.c: New.
1095 * gdb.reverse/aarch64.exp: New.
1096
a81bfbd0
OJ
10972015-05-26 Omair Javaid <omair.javaid@linaro.org>
1098
1099 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1100 (supports_reverse): Likewise.
1101
158bf1b4
PP
11022015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1103
1104 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1105 Use with_test_prefix.
1106
a0145030
AB
11072015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1108
1109 * gdb.base/completion.exp: Add test for completion of layout
1110 names.
1111
ebe3b578
AB
11122015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1113
1114 * lib/gdb.exp (skip_tui_tests): New proc.
1115 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1116
84204ed7
PA
11172015-05-19 Pedro Alves <palves@redhat.com>
1118
1119 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1120 Save the whole env array instead of just HOME. Unset HISTSIZE in
1121 the environment while testing. Restore whole environment
1122 afterwards.
1123
37442ce1
DE
11242015-05-16 Doug Evans <xdje42@gmail.com>
1125
1126 * gdb.guile/scm-ports.c: New file.
1127 * gdb.guile/scm-ports.exp: Add memory port tests.
1128
36de76f9
JK
11292015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1130
1131 * gdb.compile/compile-print.c: New file.
1132 * gdb.compile/compile-print.exp: New file.
1133
3a9558c4
JK
11342015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1135
1136 * gdb.compile/compile-ops.exp: Cast param to void.
1137 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1138 (compile code struct_object.selffield = &struct_object): Add xfail.
1139
aa715135
JG
11402015-05-15 Joel Brobecker <brobecker@adacore.com>
1141
1142 * gdb.ada/arr_enum_with_gap: New testcase.
1143
931e5bc3
JG
11442015-05-15 Joel Brobecker <brobecker@adacore.com>
1145
1146 * gdb.ada/byte_packed_arr: New testcase.
1147
9cd4d857
JB
11482015-05-15 Joel Brobecker <brobecker@adacore.com>
1149
1150 * gdb.ada/pckd_neg: New testcase.
1151
ebfd00d2
PP
11522015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1153
1154 PR gdb/17820
1155 * gdb.base/gdbinit-history.exp: New test.
1156 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1157 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1158
4c082a81
SC
11592015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1160
1161 * gdb.python/py-xmethods.cc: Enhance test case.
1162 * gdb.python/py-xmethods.exp: New tests.
1163 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1164 function.
1165 (B_indexoper): Likewise.
1166 (global_dm_list) : Add new xmethod worker functions.
1167
f7797074
SDJ
11682015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1169
1170 * gdb.base/coredump-filter.exp: Correctly unset
1171 "coredump_var_addr" array.
1172
a4674e4e
PA
11732015-05-08 Pedro Alves <palves@redhat.com>
1174
1175 * gdb.server/non-existing-program.exp: Unset spawn_id.
1176
df2eb078
SC
11772015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1178
1179 PR python/18291
1180 * gdb.python/py-xmethods.exp: Add tests.
1181
422349a3
YQ
11822015-05-08 Yao Qi <yao.qi@linaro.org>
1183
1184 PR gdb/18208
1185 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1186 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1187 function set_coredump_filter, and remove remote_exec call.
1188 Remove argument ipid. Callers update.
1189 (top level): Don't get inferior's PID.
1190
63fc80ce
AA
11912015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1192
1193 * gdb.base/watch_thread_num.exp: Skip test on targets without
1194 access watchpoints.
1195
80ad801e
PA
11962015-05-06 Pedro Alves <palves@redhat.com>
1197
1198 PR server/18081
1199 * gdb.server/non-existing-program.exp: New file.
1200
0fa7fe50
JB
12012015-05-05 Joel Brobecker <brobecker@adacore.com>
1202
1203 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1204
3ea89b92
PMR
12052015-05-05 Joel Brobecker <brobecker@adacore.com>
1206
1207 * gdb.ada/out_of_line_in_inlined: New testcase.
1208
87b8eff0
JB
12092015-05-05 Joel Brobecker <brobecker@adacore.com>
1210
1211 * gdb.ada/var_rec_arr: New testcase.
1212
5fccc635
YQ
12132015-04-30 Yao Qi <yao.qi@linaro.org>
1214
1215 * gdb.base/break-idempotent.exp: If
1216 skip_hw_watchpoint_multi_tests returns true, skip the tests
1217 on "rwatch" and "awatch".
1218
42d38f42
YQ
12192015-04-30 Yao Qi <yao.qi@linaro.org>
1220
1221 * gdb.base/relativedebug.exp: Invoke gdb command
1222 "info sharedlibrary", and if libc.so doesn't have debug info,
1223 skip the test.
1224
2ce1cdbf
DE
12252015-04-29 Doug Evans <dje@google.com>
1226
1227 * gdb.python/py-xmethods.exp: Add ptype tests.
1228 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1229 get_result_type method.
1230
f24a38c5
LM
12312015-04-29 Luis Machado <lgustavo@codesourcery.com>
1232
1233 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1234 the target does not support hardware watchpoints.
1235
ecbf2b3c
LM
12362015-04-29 Luis Machado <lgustavo@codesourcery.com>
1237
1238 * gdb.base/break-always.exp: Abort testing if writing to memory
1239 causes an error.
1240
34f5f757
DE
12412015-04-28 Doug Evans <dje@google.com>
1242
1243 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1244 * gdb.python/py-pp-registration.exp: ... here. New file.
1245 * gdb.python/py-pp-registration.c: New file.
1246 * gdb.python/py-pp-registration.py: New file.
1247
69b4374a
DE
12482015-04-28 Doug Evans <dje@google.com>
1249
1250 * gdb.python/py-bad-printers.c: New file.
1251 * gdb.python/py-bad-printers.py: New file.
1252 * gdb.python/py-bad-printers.exp: New file.
1253
59fb7612
SS
12542015-04-28 Sasha Smundak <asmundak@google.com>
1255
1256 * gdb.python/py-type.exp: New test.
1257
2631b16a
AW
12582015-04-28 Andy Wingo <wingo@igalia.com>
1259
1260 * gdb.python/py-parameter.exp:
1261 * gdb.guile/scm-parameter.exp: Escape the path that we are
1262 matching against, as it might contain characters that are special
1263 to regular expressions.
1264
460efde1
JB
12652015-04-27 Joel Brobecker <brobecker@adacore.com>
1266
1267 * gdb.ada/rec_comp: New testcase.
1268
2d369d8e
SDJ
12692015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1270
1271 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1272 before using it.
1273
cf75d6c3
AB
12742015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1275
1276 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1277 new tests for verilog output.
1278
8dbe7ca5
YQ
12792015-04-24 Yao Qi <yao.qi@linaro.org>
1280
1281 * boards/remote-gdbserver-on-localhost.exp: New file.
1282
4ef9fb2f
PA
12832015-04-23 Pedro Alves <palves@redhat.com>
1284
1285 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1286 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1287 "end of file", remove $inferior_spawn_id from the indirect list.
1288
0a803169
PA
12892015-04-23 Pedro Alves <palves@redhat.com>
1290
1291 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1292
749ef8f8
PA
12932015-04-23 Pedro Alves <palves@redhat.com>
1294
1295 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1296 on $any_spawn_id instead of only on $gdb_spawn_id.
1297
8aae4344
PM
12982015-04-21 Pierre Muller <muller@sourceware.org>
1299
1300 PR pascal/17815
1301 * lib/pascal.exp (gpc_compile): Add new option "class".
1302 (fpc_compile): Likewise.
1303 * gdb.pascal/case-insensitive-symbols.pas: New file.
1304 * gdb.pascal/case-insensitive-symbols.exp: New file.
1305
1586c8fb
GB
13062015-04-20 Gary Benson <gbenson@redhat.com>
1307
1308 * gdb.base/attach.exp: Fix three extended remote failures.
1309
1b6e6f5c
GB
13102015-04-17 Gary Benson <gbenson@redhat.com>
1311
1312 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1313 the main executable over the remote protocol.
1314
e797481d
PA
13152015-04-16 Pedro Alves <palves@redhat.com>
1316
1317 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1318 a new gdbserver if gdbserver_reconnect_p is set.
1319
1ca99c42
PA
13202015-04-16 Pedro Alves <palves@redhat.com>
1321
1322 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1323 is set, don't exit gdbserver.
1324
af9fd6f8
AA
13252015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1326
1327 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1328 appropriate .insn, such that an older assembler can be used.
1329 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1330 the z/Architecture instruction set on 31-bit targets as well.
1331
04ff1e61
AA
13322015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1333
1334 * gdb.go/handcall.exp: Remove all logic related to the first
1335 breakpoint and rely on go_runto_main instead.
1336 * gdb.go/strings.exp: Likewise.
1337 * gdb.go/unsafe.exp: Likewise.
1338 * gdb.go/hello.exp: Likewise. Also rename the remaining
1339 breakpoint marker to "breakpoint 1".
1340 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1341 * gdb.go/strings.go: Likewise.
1342 * gdb.go/unsafe.go: Likewise.
1343 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1344 "set breakpoint 2 here" and rename the remaining breakpoint marker
1345 to "breakpoint 1".
1346
40d2f8d6
SM
13472015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1348
1349 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1350 if itertools.imap is not present.
1351 * gdb.python/py-objfile.exp: Add parentheses.
1352 * gdb.python/py-type.exp: Same.
1353 * gdb.python/py-unwind-maint.py: Same.
1354
8cbc97c6
YQ
13552015-04-15 Yao Qi <yao.qi@linaro.org>
1356
1357 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1358 of ":$ptr_size" and set its form explicitly.
1359
45fd756c
YQ
13602015-04-15 Pedro Alves <palves@redhat.com>
1361 Yao Qi <yao.qi@linaro.org>
1362
1363 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1364 timeout by factor of 4.
1365 (test_regular_watch): Likewise.
1366 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1367 * gdb.reverse/sigall-reverse.exp: Likewise.
1368 * gdb.reverse/until-precsave.exp: Likewise.
1369 * lib/gdb.exp (with_timeout_factor): New proc.
1370 (gdb_expect): Move some code to ...
1371 (get_largest_timeout): ... here. New procedure.
1372
9e811bc3
LM
13732015-04-14 Luis Machado <lgustavo@codesourcery.com>
1374
1375 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1376
0ff6fcb2
LM
13772015-04-13 Luis Machado <lgustavo@codesourcery.com>
1378
1379 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1380 to write to the .text section.
1381
7578d5f7
LM
13822015-04-13 Luis Machado <lgustavo@codesourcery.com>
1383
1384 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1385 Handle the case of targets that do not provide PID information.
1386
2efe15c4
YQ
13872015-04-13 Yao Qi <yao.qi@linaro.org>
1388
1389 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1390 and use expect instead of gdb_expect.
1391
8cd8f2f8
SDJ
13922015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1393
1394 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1395 "coredump_var_addr" to avoid naming conflict with other testcases.
1396
9ee41772
PA
13972015-04-10 Pedro Alves <palves@redhat.com>
1398
1399 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1400 gdb_test_sequence and gdb_assert.
1401
07473109
PA
14022015-04-10 Pedro Alves <palves@redhat.com>
1403
1404 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1405 test messages that don't include the breakpoint address.
1406
de3db44c
YQ
14072015-04-10 Yao Qi <yao.qi@linaro.org>
1408
1409 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1410 false for some offset and width combinations which aren't
1411 supported by linux kernel.
1412
c79d856c
PA
14132015-04-10 Pedro Alves <palves@redhat.com>
1414
1415 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1416 procedure, factored out from ...
1417 (top level): ... here. Add "set displaced-stepping" testing axis.
1418 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1419 parameter "displaced". Use it.
1420 (top level): Use foreach and add "set displaced-stepping" testing
1421 axis.
1422
ebc90b50
PA
14232015-04-10 Pedro Alves <palves@redhat.com>
1424
1425 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1426 Remove comment.
1427 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1428 both the address of the instruction that triggers the watchpoint
1429 and the address of the instruction immediately after, and use
1430 those addresses for the test. Fix comment.
1431
8f572e5c
PA
14322015-04-10 Pedro Alves <palves@redhat.com>
1433
1434 * gdb.base/sigstep.exp (breakpoint_to_handler)
1435 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1436 Test "backtrace" in handler.
1437 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1438 (top level): Add new "displaced" test axis to
1439 breakpoint_to_handler, breakpoint_to_handler_entry and
1440 breakpoint_over_handler.
1441
8d707a12
PA
14422015-04-10 Pedro Alves <palves@redhat.com>
1443
1444 PR gdb/18216
1445 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1446
ef713951
YQ
14472015-04-10 Yao Qi <yao.qi@linaro.org>
1448
1449 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1450 (test_add_rn_pc): New function.
1451 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1452 (top level): Invoke test_add_rn_pc.
1453
906d60cf
PA
14542015-04-10 Pedro Alves <palves@redhat.com>
1455
1456 PR gdb/13858
1457 * gdb.base/step-over-no-symbols.exp: New file.
1458
f2983cc3
AW
14592015-04-09 Andy Wingo <wingo@igalia.com>
1460
1461 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1462 after the Python tests.
1463
6d62641c
SDJ
14642015-04-08 Keith Seitz <keiths@redhat.com>
1465
1466 PR python/16699
1467 * gdb.python/py-completion.exp: New tests for completion.
1468 * gdb.python/py-completion.py (CompleteLimit1): New class.
1469 (CompleteLimit2): Likewise.
1470 (CompleteLimit3): Likewise.
1471 (CompleteLimit4): Likewise.
1472 (CompleteLimit5): Likewise.
1473 (CompleteLimit6): Likewise.
1474 (CompleteLimit7): Likewise.
1475
f3770638
PA
14762015-04-08 Pedro Alves <palves@redhat.com>
1477
1478 PR gdb/18214
1479 PR gdb/18216
1480 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1481 function.
1482 (main): Install it as SIGUSR1 handler.
1483 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1484 parameter. Always use "setup" as prefix. Toggle "set
1485 displaced-stepping" off/on depending on global. Don't switch to
1486 thread 1 here.
1487 (top level): Add displaced stepping "off/on" test axis. Update
1488 "setup" calls. Wrap each subtest with with_test_prefix. Test
1489 continuing with a queued signal in each thread.
1490
4496bed7
PA
14912015-04-08 Pedro Alves <palves@redhat.com>
1492
1493 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1494 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1495 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1496 Return early if running to main fails.
1497 * gdb.trace/while-stepping.exp: Likewise.
1498
b97fde92
PA
14992015-04-07 Pedro Alves <palves@redhat.com>
1500
1501 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1502 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1503 interact with inferior program.
1504
f71c18e7
PA
15052015-04-07 Pedro Alves <palves@redhat.com>
1506
1507 * lib/gdb.exp (inferior_spawn_id): New global.
1508 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1509 spawn id after processing the user code.
1510 (default_gdb_start): Set inferior_spawn_id.
1511 (send_inferior): New procedure.
1512 * lib/gdbserver-support.exp (gdbserver_start): Set
1513 inferior_spawn_id.
1514 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1515
6423214f
PA
15162015-04-07 Pedro Alves <palves@redhat.com>
1517
1518 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1519 * lib/gdbserver-support.exp (gdbserver_start): Make
1520 $server_spawn_id global.
1521 (gdbserver_start): Don't wait for gdbserver's spawn id with
1522 expect_background.
1523 (close_gdbserver): New procedure.
1524 (gdb_exit): Rename the default version and reimplement.
1525
71c0ee8c
PA
15262015-04-07 Pedro Alves <palves@redhat.com>
1527
72f4393d 1528 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1529 append the substituted item, not the original item.
1530
203bc29b
PA
15312015-04-07 Pedro Alves <palves@redhat.com>
1532
1533 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1534 gdb_expect.
1535
508a3ddf
PA
15362015-04-07 Pedro Alves <palves@redhat.com>
1537
1538 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1539 output appearing once only.
1540
9f6dbe2b
PA
15412015-04-07 Pedro Alves <palves@redhat.com>
1542
1543 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1544 that doesn't expect anything. Return early if running to main
1545 fails.
1546
337532fa
YQ
15472015-04-07 Yao Qi <yao.qi@linaro.org>
1548
1549 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1550 (child_function): Call alarm.
1551 (main): Move call to alarm into the loop.
1552 * gdb.threads/non-stop-fair-events.exp: Build program with
1553 -DTIMEOUT=$timeout.
1554
01b622d4
DE
15552015-04-06 Doug Evans <xdje42@gmail.com>
1556
1557 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1558 Fix dest parameter to board_info.
1559 (fpc_compile): Ditto.
1560 (gdb_compile_pascal): Rename dest arg to destfile.
1561
961f4160
PMR
15622015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1563
1564 * gdb.ada/funcall_ref.exp: New file.
1565 * gdb.ada/funcall_ref/foo.adb: New file.
1566
cafda597
YQ
15672015-04-02 Yao Qi <yao.qi@linaro.org>
1568
1569 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1570 is remote.
1571
fed040c6
GB
15722015-04-02 Gary Benson <gbenson@redhat.com>
1573
1574 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1575
d11916aa
SS
15762015-04-01 Sasha Smundak <asmundak@google.com>
1577
1578 * gdb.python/py-unwind-maint.c: New file.
1579 * gdb.python/py-unwind-maint.exp: New test.
1580 * gdb.python/py-unwind-maint.py: New file.
1581 * gdb.python/py-unwind.c: New file.
1582 * gdb.python/py-unwind.exp: New test.
1583 * gdb.python/py-unwind.py: New test.
1584
a1471180
PA
15852015-04-01 Pedro Alves <palves@redhat.com>
1586
1587 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1588 to fail instead of non-existent $test.
1589
0bbeccb1
PA
15902015-04-01 Pedro Alves <palves@redhat.com>
1591
1592 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1593 GDBFLAGS if not empty.
1594
3c724c8c
PMR
15952015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1596
1597 * gdb.ada/complete.exp: Remove "multi_line".
1598 * gdb.ada/info_exc.exp: Remove "multi_line".
1599 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1600 * gdb.ada/ptype_field.exp: Remove "multi_line".
1601 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1602 * gdb.ada/tagged.exp: Remove "multi_line".
1603 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1604 [multi_line ...]
1605 * gdb.btrace/delta.exp: Likewise.
1606 * gdb.btrace/exception.exp: Likewise.
1607 * gdb.btrace/function_call_history.exp: Likewise.
1608 * gdb.btrace/instruction_history.exp: Likewise.
1609 * gdb.btrace/nohist.exp: Likewise.
1610 * gdb.btrace/record_goto.exp: Likewise.
1611 * gdb.btrace/segv.exp: Likewise.
1612 * gdb.btrace/stepi.exp: Likewise.
1613 * gdb.btrace/tailcall.exp: Likewise.
1614 * gdb.btrace/unknown_functions.exp: Likewise.
1615 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1616 * lib/gdb.exp: Add the "multi_line" helper.
1617
4eec2deb
PA
16182015-04-01 Pedro Alves <palves@redhat.com>
1619
1620 * gdb.threads/tid-reuse.c: New file.
1621 * gdb.threads/tid-reuse.exp: New file.
1622
df8411da
SDJ
16232015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1624
1625 PR corefiles/16092
1626 * gdb.base/coredump-filter.c: New file.
1627 * gdb.base/coredump-filter.exp: Likewise.
1628
6ef37366
PM
16292015-03-27 Petr Machata <pmachata@redhat.com>
1630
1631 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1632 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1633 (Dwarf::assemble): Initialize them.
1634 (Dwarf::lines): New function.
1635
7ec911b0
JT
16362015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1637
1638 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1639 SYMBOL_PREFIX for x86_64-*-cygwin.
1640
ff908ebf
AW
16412015-03-26 Andy Wingo <wingo@igalia.com>
1642
1643 PR symtab/18148
1644 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1645 const_value but not a location.
1646 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1647 location defined in non-main CUs are visible.
1648
6d5f0679
YQ
16492015-03-26 Yao Qi <yao.qi@linaro.org>
1650
1651 PR testsuite/18139
1652 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1653 Add a line number entry for the same line.
1654 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1655 Add a line number entry for the same line.
1656
2898689b
YQ
16572015-03-26 Yao Qi <yao.qi@linaro.org>
1658
1659 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1660 .int 0.
1661 (func): Likewise. Add .Lfunc_1 label.
1662 Use .Lfunc_1 label.
1663 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1664 .int 0.
1665 (func): Likewise.
1666 Use .Lfunc_1 label.
1667
85180498
YQ
16682015-03-26 Yao Qi <yao.qi@linaro.org>
1669
1670 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1671 Call gdb_compile instead to compile each .s files without debug
1672 information.
1673
8aa08a8d
YQ
16742015-03-26 Yao Qi <yao.qi@linaro.org>
1675
1676 * gdb.base/savedregs.exp (process_saved_regs): Make
1677 "Saved registers:" optional in the pattern.
1678
66849923
MM
16792015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1680
1681 * gdb.btrace/next.exp: Merged into step.exp.
1682 * gdb.btrace/finish.exp: Merged into step.exp.
1683 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1684 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1685 "record goto" and checking the exact replay position.
1686 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1687 check for "Recording format" in "info record" output.
1688 * gdb.btrace/record_goto.exp: Choose test file based on target.
1689 * gdb.btrace/x86-record_goto.S: Renamed into ...
1690 * gdb.btrace/x86_64-record_goto.S: ... this.
1691 * gdb.btrace/i686-record_goto.S: New.
1692 * gdb.btrace/x86-tailcall.S: Renamed into ...
1693 * gdb.btrace/x86_64-tailcall.S: ... this.
1694 * gdb.btrace/i686-tailcall.S: New.
1695 * gdb.btrace/x86-tailcall.c: Renamed into ...
1696 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1697 separate statements. Update test.
1698 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1699 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1700 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1701 * gdb.btrace/tailcall.exp: Choose test file based on target.
1702 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1703
11cc1b74
MM
17042015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1705
1706 * gdb.btrace/exception.exp: Increase BTS buffer size.
1707
a25d8bf9
PA
17082015-03-24 Pedro Alves <palves@redhat.com>
1709
1710 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1711
856e7dd6
PA
17122015-03-24 Pedro Alves <palves@redhat.com>
1713
1714 * gdb.threads/schedlock.exp (test_step): No longer expect that
1715 "set scheduler-locking step" with "next" over a function call runs
1716 threads unlocked.
1717
ad235a41
AT
17182015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1719
1720 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1721
15630549
AT
17222015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1723
1724 PR breakpoints/16466
1725 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1726 * gdb.mi/mi-pending.c (thread_func): New function.
1727 (int main): Add threading support required.
1728 * gdb.mi/mi-pending.exp: Add tests for this issue.
1729 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1730 (pendfunc2): Remove stdio dependency.
1731 * gdb.mi/mi-pendshr2.c: New file.
1732
693dca06
KS
17332015-03-23 Keith Seitz <keiths@redhat.com>
1734
1735 * gdb.linespec/keywords.c: New file.
1736 * gdb.linespec/keywords.exp: New file.
1737
7e993ebf
KS
17382015-03-23 Keith Seitz <keiths@redhat.com>
1739
1740 PR gdb/18021
1741 * gdb.dwarf2/staticvirtual.exp: New test.
1742
bc23328c
JK
17432015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1744
1745 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1746 * README: Remove HP-UX and gdb.hp.
1747 (configuration):
1748 * configure: Regenerate.
1749 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1750 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1751 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1752 gdb.hp/gdb.defects/Makefile.
1753 * gdb.hp/Makefile.in: File deleted.
1754 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1755 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1756 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1757 * gdb.hp/gdb.aCC/run.c: File deleted.
1758 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1759 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1760 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1761 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1762 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1763 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1764 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1765 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1766 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1767 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1768 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1769 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1770 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1771 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1772 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1773 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1774 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1775 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1776 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1777 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1778 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1779 * gdb.hp/gdb.compat/average.c: File deleted.
1780 * gdb.hp/gdb.compat/sum.c: File deleted.
1781 * gdb.hp/gdb.compat/xdb.c: File deleted.
1782 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1783 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1784 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1785 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1786 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1787 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1788 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1789 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1790 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1791 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1792 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1793 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1794 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1795 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1796 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1797 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1798 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1799 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1800 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1801 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1802 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1803 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1804 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1805 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1806 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1807 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1808 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1809 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1810 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1811 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1812 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1813 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1814 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1815 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1816 * gdb.hp/tools/odump: File deleted.
1817
8bf3b159
PA
18182015-03-19 Pedro Alves <palves@redhat.com>
1819
1820 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1821 (saw_thread_3): New globals.
1822 (top level): Increment them when an event for the corresponding
1823 thread is seen.
1824 (no thread starvation): New test.
1825
eb54c8bf
PA
18262015-03-19 Pedro Alves <palves@redhat.com>
1827
1828 * gdb.threads/continue-pending-status.c: New file.
1829 * gdb.threads/continue-pending-status.exp: New file.
1830
32d2e5d6
PA
18312015-03-18 Pedro Alves <palves@redhat.com>
1832
1833 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1834 Use gdb_is_target_remote instead of is_remote. Use
1835 gdb_test_multiple instead of gdb_expect. Exit early if
1836 gdb_test_multiple hits its internal matches. Tighten stepi tests
1837 expected output. Fail on exit with any signal, instead of just
1838 SIGILL.
1839
f68f11b7
YQ
18402015-03-18 Yao Qi <yao.qi@linaro.org>
1841
1842 PR tdep/18107
1843 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1844 variable.
1845 * gdb.base/catch-syscall.exp: Don't skip it on
1846 aarch64*-*-linux* target. Remove elements in all_syscalls.
1847 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1848 target.
1849 (setup_all_syscalls): New proc.
1850
ca5fd19b
YQ
18512015-03-16 Yao Qi <yao.qi@linaro.org>
1852
1853 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1854 (top level): Skip tests if valid_addr_p returns false for
1855 $cmd1 or $cmd2.
1856
85642ba0
AW
18572015-03-11 Andy Wingo <wingo@igalia.com>
1858
1859 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1860
e03f9645
YQ
18612015-03-11 Yao Qi <yao.qi@linaro.org>
1862
1863 * gdb.base/catch-syscall.exp: Fix typo in comments.
1864
5d0962b2
YQ
18652015-03-11 Yao Qi <yao.qi@linaro.org>
1866
1867 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1868
b2df3cef
PA
18692015-03-09 Pedro Alves <palves@redhat.com>
1870
1871 * dg-extract-results.py: Delete.
1872
ef878e53
PA
18732015-03-09 Pedro Alves <palves@redhat.com>
1874
1875 Merge dg-extract-results.sh from GCC upstream (r218843).
1876
1877 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1878 * dg-extract-results.sh: Use --text with grep to avoid issues with
1879 binary files. Fall back to cat -v, if that doesn't work.
1880
9494d219
PA
18812015-03-05 Pedro Alves <palves@redhat.com>
1882
1883 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1884
a8d9763a
SM
18852015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1886
1887 * lib/mi-support.exp (mi_expect_interrupt): Accept
1888 alternative event for when in all-stop mode.
1889
be9957b8
PA
18902015-03-04 Pedro Alves <palves@redhat.com>
1891
1892 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1893
d57be0f4 18942015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1895
1896 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1897
c214c7cf
AA
18982015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1899
1900 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1901 regexps for GDB's current line display, accept a hex address
1902 preceding the line number.
1903
6d74a497
AA
19042015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1905
1906 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1907 the 'arch1' variable for "s390*-linux*" targets.
1908
511aee7c
PA
19092015-03-04 Pedro Alves <palves@redhat.com>
1910
1911 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1912 (main): Pass missing retval argument to pthread_join call.
1913
95e50b27
PA
19142015-03-02 Pedro Alves <palves@redhat.com>
1915
1916 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1917 (top level): Call do_test with non-stop as well.
1918
28054d69
PA
19192015-03-02 Pedro Alves <palves@redhat.com>
1920
1921 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1922 -1.
1923
4fa5d7b4
AA
19242015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1925
1926 * gdb.arch/s390-vregs.exp: New test.
1927 * gdb.arch/s390-vregs.S: New file.
1928
97c18565
PA
19292015-02-27 Pedro Alves <palves@redhat.com>
1930
1931 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1932 call to catch_command_errors.
1933 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1934 catch_command_errors.
1935
a37bfa30
PA
19362015-02-27 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1939 "true" for boolean result.
1940 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1941 prototype of main.
1942
6f98576f
PA
19432015-02-27 Pedro Alves <palves@redhat.com>
1944
1945 * lib/unbuffer_output.c: New file.
1946 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1947 (main): Call gdb_unbuffer_output.
1948
eba5ab56
YQ
19492015-02-27 Yao Qi <yao.qi@linaro.org>
1950
1951 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1952 target.
1953
0def5aaa
DE
19542015-02-26 Doug Evans <dje@google.com>
1955
1956 * gdb.cp/class2.cc (Dbase, D): New classes.
1957 (main): New local delta.
1958 * gdb.cp/class2.exp: Test printing delta.
1959 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1960 (dynbar): New global.
1961 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1962
081a1c2c
JK
19632015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1964
1965 * gdb.compile/compile-ifunc.c: New file.
1966 * gdb.compile/compile-ifunc.exp: New file.
1967
2f41223f
AT
19682015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1969
1970 * gdb.base/structs.exp: Check for correct struct on finish.
1971
03eddd80
YQ
19722015-02-26 Yao Qi <yao.qi@linaro.org>
1973
1974 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1975 is zero.
1976
80c57053
JK
19772015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1978
1979 * gdb.arch/cordic.ko.bz2: New file.
1980 * gdb.arch/cordic.ko.debug.bz2: New file.
1981 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1982
21613c12
YQ
19832015-02-25 Yao Qi <yao.qi@linaro.org>
1984
1985 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1986 aarch64*-*-* target.
1987
d8b901ed
PA
19882015-02-23 Pedro Alves <palves@redhat.com>
1989
1990 * lib/gdb.exp (delete_breakpoints): Rewrite using
1991 gdb_test_multiple.
1992
e5b85ead
PA
19932015-02-23 Pedro Alves <palves@redhat.com>
1994
1995 * gdb.base/info-os.c: Include stdlib.h.
1996
85c3a371
DE
19972015-02-22 Doug Evans <xdje42@gmail.com>
1998
1999 PR symtab/17855
2000 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2001 is read after symbols have been re-read.
2002 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2003 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2004
96553a0c
DE
20052015-02-21 Doug Evans <dje@google.com>
2006
2007 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2008
97a0c697
JK
20092015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2010
2011 PR corefiles/17808
2012 * gdb.arch/i386-biarch-core.core.bz2: New file.
2013 * gdb.arch/i386-biarch-core.exp: New file.
2014
a47cd6e9
PA
20152015-02-21 Pedro Alves <palves@redhat.com>
2016
2017 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2018 runto_main fails.
2019
c5facdc4
PA
20202015-02-20 Pedro Alves <palves@redhat.com>
2021
2022 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2023 info probes.
2024
2db9a427
PA
20252015-02-20 Pedro Alves <palves@redhat.com>
2026
2027 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2028
60fb7e9e
PA
20292015-02-20 Pedro Alves <palves@redhat.com>
2030
2031 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2032 clean_restart before gdb_target_supports_trace.
2033
5c5019c2
PA
20342015-02-20 Pedro Alves <palves@redhat.com>
2035
2036 PR threads/18006
2037 * gdb.threads/clone-thread_db.c: New file.
2038 * gdb.threads/clone-thread_db.exp: New file.
2039
c9587f88
AT
20402015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2041
2042 PR breakpoints/16812
2043 * gdb.base/catch-gdb-caused-signals.c: New file.
2044 * gdb.base/catch-gdb-caused-signals.exp: New file.
2045
f6a88844
JM
20462015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2047
2048 * configure: Regenerated.
2049 * configure.ac: Use GDB_AC_TRANSFORM.
2050 * aclocal.m4: sinclude ../transform.m4.
2051
497c491b
JM
20522015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2053
2054 * lib/dtrace.exp: New file.
2055 * gdb.base/dtrace-probe.exp: Likewise.
2056 * gdb.base/dtrace-probe.d: Likewise.
2057 * gdb.base/dtrace-probe.c: Likewise.
2058 * lib/pdtrace.in: Likewise.
2059 * configure.ac: Output variables with the transformed names of
2060 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2061 * configure: Regenerated.
2062
03e98035
JM
20632015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2064
2065 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2066 expected message when trying to access $_probe_* convenience
2067 variables while not on a probe.
2068
63cc30e9
JK
20692015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2070
2071 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2072
0703599a
PA
20732015-02-11 Pedro Alves <pedro@codesourcery.com>
2074
2075 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2076 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2077
7e60a48e
DE
20782015-02-10 Doug Evans <xdje42@gmail.com>
2079
2080 * lib/gdb.exp (gdb_load): Always return a result.
2081
01b088bc
PA
20822015-02-10 Pedro Alves <palves@redhat.com>
2083
2084 * gdb.threads/signal-sigtrap.c: New file.
2085 * gdb.threads/signal-sigtrap.exp: New file.
2086
b05ec7a5
AT
20872015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2088
2089 * gdb.trace/no-attach-trace.c: New file.
2090 * gdb.trace/no-attach-trace.exp: New file.
2091
a2c2acaf
MW
20922015-02-09 Mark Wielaard <mjw@redhat.com>
2093
2094 * gdb.dwarf2/atomic.c: New file.
2095 * gdb.dwarf2/atomic-type.exp: Likewise.
2096
31fd9caa
MM
20972015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2098
2099 * gdb.btrace/buffer-size.exp: Update "info record" output.
2100 * gdb.btrace/delta.exp: Update "info record" output.
2101 * gdb.btrace/enable.exp: Update "info record" output.
2102 * gdb.btrace/finish.exp: Update "info record" output.
2103 * gdb.btrace/instruction_history.exp: Update "info record" output.
2104 * gdb.btrace/next.exp: Update "info record" output.
2105 * gdb.btrace/nexti.exp: Update "info record" output.
2106 * gdb.btrace/step.exp: Update "info record" output.
2107 * gdb.btrace/stepi.exp: Update "info record" output.
2108 * gdb.btrace/nohist.exp: Update "info record" output.
2109
d33501a5
MM
21102015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2111
2112 * gdb.btrace/buffer-size: New.
2113
f4abbc16
MM
21142015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2115
2116 * gdb.btrace/delta.exp: Update "info record" output.
2117 * gdb.btrace/enable.exp: Update "info record" output.
2118 * gdb.btrace/finish.exp: Update "info record" output.
2119 * gdb.btrace/instruction_history.exp: Update "info record" output.
2120 * gdb.btrace/next.exp: Update "info record" output.
2121 * gdb.btrace/nexti.exp: Update "info record" output.
2122 * gdb.btrace/step.exp: Update "info record" output.
2123 * gdb.btrace/stepi.exp: Update "info record" output.
2124 * gdb.btrace/nohist.exp: Update "info record" output.
2125
b9d61307
SM
21262015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2127
2128 PR gdb/15678
2129 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2130
e584fdbc
PA
21312015-02-06 Pedro Alves <palves@redhat.com>
2132
2133 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2134 macro.
2135 (seconds_left, again): New globals.
2136 (main): Wait seconds_left in a 1-second sleep loop instead of
2137 sleeping 180 seconds. If 'again' is set, reset the seconds
2138 counter.
2139 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2140 'again' in the inferior before detaching. Print the seconds left.
2141 (options): New global.
2142 (top level): Build program with -DTIMEOUT=$timeout.
2143
77f41761
PA
21442015-02-06 Pedro Alves <palves@redhat.com>
2145
2146 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2147 determine how many seconds to pass to 'alarm'.
2148 * gdb.base/gdb-sigterm.exp (top level): Build program with
2149 -DTIMEOUT=$timeout.
2150 (do_test): Return success/failure indication. Add more verbose
2151 logging. Don't fail if 200 single steps are seen. Instead, fail
2152 when the test times out.
2153 (passes): New global.
2154 (top level): Break the testing loop if testing fails on any
2155 iteration. Use gdb_assert.
2156
b9394193
DB
21572015-02-04 Don Breazeal <donb@codesourcery.com>
2158
2159 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2160 and initialize them.
2161 (ipc_cleanup): New function.
2162 (main): Don't declare shmid, semid, and msqid. Add a call to
2163 atexit so that we call ipc_cleanup on exit.
2164
42d9e528
PA
21652015-02-04 Pedro Alves <palves@redhat.com>
2166
2167 * boards/native-extended-gdbserver.exp: Remove any target variant
2168 specifications from the board name before clearing the isremote
2169 flag from board_info.
2170
ae6ae975
DE
21712015-01-31 Doug Evans <xdje42@gmail.com>
2172
2173 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2174
cfb069a8
GB
21752015-01-31 Gary Benson <gbenson@redhat.com>
2176
2177 * gdb.base/completion.exp: Disable completion limiting for
2178 existing tests. Add new tests to check completion limiting.
2179 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2180
5dd31d79
DE
21812015-01-31 Doug Evans <xdje42@gmail.com>
2182
2183 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2184
9f050062
DE
21852015-01-31 Doug Evans <xdje42@gmail.com>
2186
2187 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2188 entries. Duplicate file section script entries.
2189 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2190 inlined entries. Add test for safe-path rejection.
2191 * gdb.python/py-section-script.c: Add duplicate inlined section script
2192 entries. Duplicate file section script entries.
2193 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2194 inlined entries. Add test for safe-path rejection.
2195
df25ebbd
JB
21962015-01-29 Joel Brobecker <brobecker@adacore.com>
2197
2198 * gdb.ada/disc_arr_bound: New testcase.
2199
4a0ca9ec
JB
22002015-01-29 Joel Brobecker <brobecker@adacore.com>
2201
2202 * gdb.ada/mi_var_array: New testcase.
2203
3a8b707a
DE
22042015-01-27 Doug Evans <dje@google.com>
2205
2206 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2207 Add test for objfile.filename, objfile.username after objfile
2208 has been unloaded.
2209
f8313f6e
JB
22102015-01-26 Joel Brobecker <brobecker@adacore.com>
2211
2212 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2213 the second test to print the name attribute of value
2214 returned by the call to gdb.lookup_type, and adjust
2215 the expected output accordingly.
2216
37bc665e
MW
22172015-01-25 Mark Wielaard <mjw@redhat.com>
2218
2219 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2220 * gdb.base/disp-step-fork.c: Include unistd.h.
2221 * gdb.base/siginfo-obj.c: Include stdio.h.
2222 * gdb.base/siginfo-thread.c: Likewise.
2223 * gdb.mi/non-stop.c: Include unistd.h.
2224 * gdb.mi/nsthrexec.c: Include stdio.h.
2225 * gdb.mi/pthreads.c: Include unistd.h.
2226 * gdb.modula2/unbounded1.c (main): Declare returns int.
2227 * gdb.reverse/consecutive-reverse.c: Likewise.
2228 * gdb.threads/create-fail.c: Include unistd.h.
2229 * gdb.threads/killed.c: Likewise.
2230 * gdb.threads/linux-dp.c: Likewise.
2231 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2232 * gdb.threads/non-ldr-exc-2.c: Likewise.
2233 * gdb.threads/non-ldr-exc-3.c: Likewise.
2234 * gdb.threads/non-ldr-exc-4.c: Likewise.
2235 * gdb.threads/pthreads.c: Include unistd.h.
2236 (main): Declare returns int.
2237 * gdb.threads/tls-main.c (foo): New declaration.
2238 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2239
f7e5394d
SM
22402015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2241
2242 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2243 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2244
743649fd
MW
22452015-01-15 Mark Wielaard <mjw@redhat.com>
2246
2247 * gdb.base/noreturn-return.c: New file.
2248 * gdb.base/noreturn-return.exp: New file.
2249 * gdb.base/noreturn-finish.c: New file.
2250 * gdb.base/noreturn-finish.exp: New file.
2251
198297aa
PA
22522015-01-23 Pedro Alves <palves@redhat.com>
2253
2254 * gdb.threads/continue-pending-after-query.c: New file.
2255 * gdb.threads/continue-pending-after-query.exp: New file.
2256
717cf30c
AG
22572015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2258 Simon Marchi <simon.marchi@ericsson.com>
2259
2260 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2261 * gdb.base/valgrind-db-attach.exp: Same.
2262 * gdb.base/valgrind-infcall.exp: Same.
2263 * lib/mi-support.exp (default_mi_gdb_start): Same.
2264 * lib/prompt.exp (default_prompt_gdb_start): Same.
2265 * lib/gdb.exp (default_gdb_spawn): Same.
2266 (gdb_interact): New.
2267
2268
4b62a76e
JK
22692015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2270
2271 * gdb.compile/compile.exp (pointer to jit function): New test.
2272
b4cdae6f
WW
22732015-01-17 Wei-cheng Wang <cole945@gmail.com>
2274
2275 * lib/gdb.exp (supports_process_record): Return true for
2276 powerpc*-*-linux*.
2277 (supports_reverse): Likewise.
2278
d221e7ef
DB
22792015-01-15 Don Breazeal <donb@codesourcery.com>
2280
2281 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2282 instead of checking whether the target board is remote and
2283 use spawn_wait_for_attach instead of exec/sleep.
2284 * gdb.base/attach-twice.exp: Likewise.
2285
bafffb51
JB
22862015-01-15 Joel Brobecker <brobecker@adacore.com>
2287
2288 * gdb.ada/var_arr_attrs: New testcase.
2289
5589af0e
PA
22902015-01-14 Pedro Alves <palves@redhat.com>
2291 Joel Brobecker <brobecker@adacore.com>
2292
2293 PR gdb/17525
2294 * gdb.base/bp-cmds-execution-x-script.c: New file.
2295 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2296 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2297
6c400b59
PA
22982015-01-14 Pedro Alves <palves@redhat.com>
2299
2300 PR cli/17828
2301 * gdb.base/batch-preserve-term-settings.c: New file.
2302 * gdb.base/batch-preserve-term-settings.exp: New file.
2303
e02c96a7
DE
23042015-01-13 Doug Evans <dje@google.com>
2305
2306 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2307 binary.
2308
576fd14c
JB
23092015-01-13 Joel Brobecker <brobecker@adacore.com>
2310
2311 * Makefile.in (clean mostlyclean): Do not delete *.py.
2312
04dccad0
JB
23132015-01-13 Joel Brobecker <brobecker@adacore.com>
2314
2315 * gdb.python/py-lookup-type.exp: New file.
2316
3d230f71
PA
23172015-01-12 Pedro Alves <palves@redhat.com>
2318
2319 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2320 restore GDBFLAGS before returning.
2321
7e67715d
JK
23222015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2325 is_amd64_regs_target and is_x86_like_target.
2326
f2e0d4b4
DE
23272015-01-11 Doug Evans <xdje42@gmail.com>
2328
2329 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2330 is given without an explicit form.
2331 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2332 attributes.
2333 * gdb.dwarf/corrupt.exp: Ditto.
2334 * gdb.dwarf2/enum-type.exp: Ditto.
2335 * gdb.trace/entry-values.exp: Ditto.
2336 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2337
439250fb
DE
23382015-01-11 Doug Evans <xdje42@gmail.com>
2339
2340 PR gdb/15830
2341 * gdb.base/maint.exp: Remove references to "maint demangle".
2342 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2343 Add tests for explicitly specifying language to demangle.
2344 * gdb.dlang/demangle.exp: Ditto.
2345
ede9f622
PA
23462015-01-09 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.threads/non-stop-fair-events.c: New file.
2349 * gdb.threads/non-stop-fair-events.exp: New file.
2350
a7b796db
PA
23512015-01-09 Pedro Alves <palves@redhat.com>
2352
2353 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2354 the global scope. Set a breakpoint after all threads are started
2355 rather than stepping over two source lines. Expect the prompt.
2356 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2357 global.
2358 (NUM): Now 15.
2359 (main): Use threads_started_barrier to wait for all threads to
2360 start. Main thread no longer calls thread_function. Exit after
2361 180 seconds.
2362 (loop): New function.
2363 (thread_function): Wait on threads_started_barrier barrier. Call
2364 'loop' at each iteration.
2365 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2366 threads have started, instead of hardcoding number of "next"
2367 steps. Use an access watchpoint instead of a write watchpoint.
2368
9665ffdd
PA
23692015-01-09 Pedro Alves <palves@redhat.com>
2370
2371 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2372 (thread_func): Wait on barrier.
2373 (main): Wait for all threads to start before stopping GDB.
2374 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2375 global.
2376 (thread1_func, thread2_func): Wait on barrier.
2377 (main): Wait for all threads to start before stopping GDB.
2378 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2379 New global.
2380 (thread1_func, thread2_func): Wait on barrier.
2381 (main): Wait for all threads to start before stopping GDB.
2382
c945a99f
PA
23832015-01-09 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.threads/attach-many-short-lived-threads.c: New file.
2386 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2387
c1a747c1
PA
23882014-01-09 Pedro Alves <palves@redhat.com>
2389
2390 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2391 instead of to thread 2.
2392 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2393 Add barrier around each pthread_create call instead of around all
2394 calls.
2395 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2396 Set a break on thread_function and have the child threads hit it
2397 one at at a time.
2398
60b3033e
PA
23992015-01-09 Pedro Alves <palves@redhat.com>
2400
2401 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2402 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2403 false.
2404 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2405 checking whether the target board is remote.
2406 * gdb.multi/multi-attach.exp: Likewise.
2407 * gdb.python/py-sync-interp.exp: Likewise.
2408 * gdb.server/ext-attach.exp: Likewise.
2409 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2410 tests that need to attach, instead of checking whether the target
2411 board is remote at the top of the file.
2412
acc018ac
YQ
24132015-01-08 Yao Qi <yao@codesourcery.com>
2414
2415 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2416
50a18af8
JK
24172015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2418
2419 Fix testcase compilation.
2420 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2421
8503d6e1
JB
24222015-01-06 Joel Brobecker <brobecker@adacore.com>
2423
2424 * gdb.python/py-type.exp: Add a couple test about empty
2425 array creation, and negative-length array creation.
2426
cc73dbcc
DE
24272015-01-02 Doug Evans <xdje42@gmail.com>
2428
2429 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2430
0300bbc7
DE
24312015-01-02 Doug Evans <dje@google.com>
2432
2433 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2434
9d85a0ec
YQ
24352014-12-29 Yao Qi <yao@codesourcery.com>
2436
2437 * gdb.trace/entry-values.exp: Update comments. Rename variable
2438 bar_call_foo to returned_from_foo.
2439
87186c6a
MMN
24402014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2441
2442 PR gdb/17394
2443 * gdb.linespec/break-asm-file.c: New file.
2444 * gdb.linespec/break-asm-file.exp: New file.
2445 * gdb.linespec/break-asm-file0.s: New file.
2446 * gdb.linespec/break-asm-file1.s: New file.
2447
1bab7383
YQ
24482014-12-18 Nigel Stephens <nigel@mips.com>
2449 Maciej W. Rozycki <macro@codesourcery.com>
2450
2451 * gdb.base/float.exp: Handle the new output from "info float" on
2452 MIPS targets.
2453
1bc1068a
JK
24542014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2455
2456 Fix MinGW compilation.
2457 * gdb.compile/compile-ops.exp: Update untested message if
2458 !skip_compile_feature_tests.
2459 * gdb.compile/compile-setjmp.exp: Likewise.
2460 * gdb.compile/compile-tls.exp: Likewise.
2461 * gdb.compile/compile.exp: Likewise.
2462 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2463 supported on this host".
2464
b6615d10
DE
24652014-12-16 Doug Evans <xdje42@gmail.com>
2466
2467 * boards/stabs.exp: New file.
2468
25dda427
AA
24692014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2470
2471 * gdb.base/completion.exp: Adjust to format changes of "maint
2472 print user-registers".
2473
bf330350
CU
24742014-12-16 Catalin Udma <catalin.udma@freescale.com>
2475
2476 PR server/17457
2477 * gdb.arch/aarch64-fp.c: New file.
2478 * gdb.arch/aarch64-fp.exp: New file.
2479
395cf596
SDJ
24802014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2481
2482 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2483 r210637, r210913, r211666, r215400, r215817).
2484
2485 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2486 * dg-extract-results.py: New file.
2487 * dg-extract-results.sh: Use it if the environment seems
2488 suitable.
2489
2490 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2491
2492 * dg-extract-results.py (parse_run): Handle warnings that
2493 are printed before a test harness is run.
2494
2495 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2496
2497 * dg-extract-results.py (Named): Remove __cmp__ method.
2498 (output_variation): Use a key to sort variation.harnesses.
2499
2500 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2501
2502 * dg-extract-results.py: For Python 3, force sys.stdout to
2503 handle surrogate escape sequences.
2504 (safe_open): New function.
2505 (output_segment, main): Use it.
2506
2507 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2508
2509 * dg-extract-results.py (Prog.result_re): Include options
2510 in test name.
2511
2512 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2513
2514 * dg-extract-results.py (output_variation): Always sort if
2515 do_sum.
2516
e882ef3c
SM
25172014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2518
2519 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2520 as long as we get pagination notifications.
2521
4992aa20
JM
25222014-12-15 Jason Merrill <jason@redhat.com>
2523
2524 * Makefile.in (check-gdb.%): Restore.
2525 * README: Mention it.
2526
c1b5a1a6
JB
25272014-12-13 Joel Brobecker <brobecker@adacore.com>
2528
2529 * gdb.ada/str_uninit: New testcase.
2530
5537b577
JK
25312014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2532
2533 PR symtab/17642
2534 * gdb.base/vla-stub-define.c: New file.
2535 * gdb.base/vla-stub.c: New file.
2536 * gdb.base/vla-stub.exp: New file.
2537
bb2ec1b3
TT
25382014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2539 Jan Kratochvil <jan.kratochvil@redhat.com>
2540 Tom Tromey <tromey@redhat.com>
2541
2542 * configure.ac: Add gdb.compile/.
2543 * configure: Regenerate.
2544 * gdb.compile/Makefile.in: New file.
2545 * gdb.compile/compile-ops.exp: New file.
2546 * gdb.compile/compile-ops.c: New file.
2547 * gdb.compile/compile-tls.c: New file.
2548 * gdb.compile/compile-tls.exp: New file.
2549 * gdb.compile/compile-constvar.S: New file.
2550 * gdb.compile/compile-constvar.c: New file.
2551 * gdb.compile/compile-mod.c: New file.
2552 * gdb.compile/compile-nodebug.c: New file.
2553 * gdb.compile/compile-setjmp-mod.c: New file.
2554 * gdb.compile/compile-setjmp.c: New file.
2555 * gdb.compile/compile-setjmp.exp: New file.
2556 * gdb.compile/compile-shlib.c: New file.
2557 * gdb.compile/compile.c: New file.
2558 * gdb.compile/compile.exp: New file.
2559 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2560
4ff709eb
TT
25612014-12-12 Tom Tromey <tromey@redhat.com>
2562
2563 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2564 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2565
6dddd6a5
DE
25662014-12-12 Doug Evans <dje@google.com>
2567
2568 * lib/gdb-python.exp (get_python_valueof): New function.
2569 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2570
71c24708
AA
25712014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2572
2573 * gdb.base/completion.exp: Add test for completion of "info
2574 registers ".
2575
3e29f34a
MR
25762014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2577
2578 * gdb.base/func-ptrs.c: New file.
2579 * gdb.base/func-ptrs.exp: New file.
2580
fc126975
SM
25812014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2582
2583 PR breakpoints/17012
2584 * gdb.base/dprintf-detach.c: New file.
2585 * gdb.base/dprintf-detach.exp: New file.
2586
0a46d518
SM
25872014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2588
2589 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2590 * lib/gdb.exp (target_is_gdbserver): New procedure.
2591
a0be3e44
DE
25922014-12-08 Doug Evans <dje@google.com>
2593
2594 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2595
df1b803a
YQ
25962014-12-05 Yao Qi <yao@codesourcery.com>
2597
2598 * gdb.guile/scm-error.exp: Remove the third argument to
2599 gdb_remote_download.
2600 * gdb.guile/scm-frame-args.exp: Likewise.
2601 * gdb.guile/scm-section-script.exp: Likewise.
2602
ddb9f679
YQ
26032014-12-05 Yao Qi <yao@codesourcery.com>
2604
2605 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2606
86e4ed39
DE
26072014-12-04 Doug Evans <dje@google.com>
2608
2609 * gdb.python/py-objfile.exp: Add tests for
2610 objfile.add_separate_debug_file.
2611
7c50a931
DE
26122014-12-04 Doug Evans <dje@google.com>
2613
2614 * lib/gdb.exp (get_build_id): New function.
2615 (build_id_debug_filename_get): Rewrite to use it.
2616 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2617
621661e3
MR
26182014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2619
2620 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2621 `method(long)', not just 0x0.
2622 * gdb.cp/nsalias.exp: Align code labels to 4.
2623 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2624 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2625 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2626 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2627 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2628 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2629
29f0c3b7
DE
26302014-12-02 Doug Evans <dje@google.com>
2631
e1e061e7 2632 PR symtab/17602
29f0c3b7 2633 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2634 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2635 * gdb.cp/anon-ns.exp: Update.
2636
162078c8
NB
26372014-12-02 Nick Bull <nicholaspbull@gmail.com>
2638
2639 * gdb.python/py-events.py (inferior_call_handler): New.
2640 (register_changed_handler, memory_changed_handler): New.
2641 (test_events.invoke): Register new handlers.
2642 * gdb.python/py-events.exp: Add tests for inferior call,
2643 memory_changed and register_changed events.
2644
fdb09caf
AA
26452014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2646
2647 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2648 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2649 if the linker doesn't understand this.
2650
55cfb2c4
SM
26512014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2652
2653 * gdb.python/python.exp: Change expected reply to help().
2654
9e8cd6df
YQ
26552014-12-01 Yao Qi <yao@codesourcery.com>
2656
2657 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2658 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2659 * configure: Re-generated.
2660
6c659fc2
SC
26612014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2662
2663 * gdb.cp/chained-calls.cc: New file.
2664 * gdb.cp/chained-calls.exp: New file.
2665 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2666
d7fc3181
SM
26672014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2668
2669 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2670 * gdb.dwarf2/symtab-producer.exp: Same.
2671 * gdb.gdb/python-interrupts.exp: Same.
2672 * gdb.gdb/python-selftest.exp: Same.
2673 * gdb.python/py-linetable.exp: Same.
2674 * gdb.python/py-type.exp: Same.
2675 * gdb.python/py-value-cc.exp: Same.
2676 * gdb.python/py-value.exp: Same.
2677
10e79639
YQ
26782014-11-28 Yao Qi <yao@codesourcery.com>
2679
2680 * gdb.base/break-probes.exp: Match library name prefixed with
2681 sysroot.
2682
f28a0564
SM
26832014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2684
2685 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2686 test expected output. Add parentheses for the call to print.
2687 Remove L suffix from integers.
2688
3fe1ce1d
DE
26892014-11-26 Doug Evans <dje@google.com>
2690
2691 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2692
84429e27
YQ
26932014-11-22 Yao Qi <yao@codesourcery.com>
2694
2695 * gdb.trace/entry-values.c: Remove asms.
2696 (foo): Add foo_label.
2697 (bar): Add bar_label.
2698 * gdb.trace/entry-values.exp: Remove code computing foo's
2699 length and bar's length.
2700 (Dwarf::assemble): Invoke function_range for bar and use
2701 MACRO_AT_func for foo.
2702
26741859
YQ
27032014-11-22 Yao Qi <yao@codesourcery.com>
2704
2705 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2706 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2707 Use .Lgcc43_procstart instead of gcc43.
2708
45e44d27
JB
27092014-11-21 Joel Brobecker <brobecker@adacore.com>
2710
2711 * gdb.ada/n_arr_bound: New testcase.
2712
458c8db8
SDJ
27132014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2714
2715 PR breakpoints/10737
2716 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2717 test_catch_syscall_multi_arch.
2718 (test_catch_syscall_multi_arch): New function.
2719
43f3e411
DE
27202014-11-20 Doug Evans <xdje42@gmail.com>
2721
2722 * gdb.base/maint.exp: Update expected output.
2723
0d7b2549
AA
27242014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2725
2726 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2727 4-byte instruction on S390.
2728
8908fca5
JB
27292014-11-19 Joel Brobecker <brobecker@adacore.com>
2730
2731 * gdb.ada/arr_arr: New testcase.
2732
4a46959e
JB
27332014-11-19 Joel Brobecker <brobecker@adacore.com>
2734
2735 * gdb.ada/pkd_arr_elem: New Testcase.
2736
470e2f4e
LM
27372014-11-18 Luis Machado <lgustavo@codesourcery.com>
2738
2739 * gdb.reverse/break-precsave: Expect completion message for
2740 core file reads.
2741 * gdb.reverse/consecutive-precsave.exp: Likewise.
2742 * gdb.reverse/finish-precsave.exp: Likewise.
2743 * gdb.reverse/i386-precsave.exp: Likewise.
2744 * gdb.reverse/machinestate-precsave.exp: Likewise.
2745 * gdb.reverse/sigall-precsave.exp: Likewise.
2746 * gdb.reverse/solib-precsave.exp: Likewise.
2747 * gdb.reverse/step-precsave.exp: Likewise.
2748 * gdb.reverse/until-precsave.exp: Likewise.
2749 * gdb.reverse/watch-precsave.exp: Likewise.
2750
a267f3ad
AA
27512014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2752
2753 * gdb.base/bp-permanent.c: Include unistd.h.
2754 * gdb.python/py-framefilter-mi.c (main): Add return type.
2755 * gdb.python/py-framefilter.c (main): Likewise.
2756 * gdb.trace/actions-changed.c (main): Likewise.
2757
12084a9a
AA
27582014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2759
2760 * gdb.mi/until.c: Add eye-catchers.
2761 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2762 line numbers.
2763
dc7e1a77
AA
27642014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2765
2766 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2767 function header variants in break1.c.
2768 * gdb.base/ena-dis-br.exp: Likewise.
2769 * gdb.base/hbreak2.exp: Likewise.
2770 * gdb.reverse/until-precsave.exp: Drop references to removed
2771 non-prototype function header variants in ur1.c.
2772 * gdb.reverse/until-reverse.exp: Likewise.
2773
41c77605
PM
27742014-11-17 Petr Machata <pmachata@redhat.com>
2775
2776 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2777 ${_cu_offset_size} bytes abbrev offset.
2778
34248c3a
DE
27792014-11-15 Doug Evans <xdje42@gmail.com>
2780
2781 PR symtab/17559
2782 * gdb.base/line-symtabs.exp: New file.
2783 * gdb.base/line-symtabs.c: New file.
2784 * gdb.base/line-symtabs.h: New file.
2785
646da059
YQ
27862014-11-14 Yao Qi <yao@codesourcery.com>
2787
2788 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2789 (func): Add label func_label.
2790 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2791 Replace low_pc and high_pc with MACRO_AT_range.
2792 Replace name, low_pc and high_pc with MACRO_AT_func.
2793
9301ebe6
YQ
27942014-11-14 Yao Qi <yao@codesourcery.com>
2795
2796 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2797 Replace name, low_pc and high_pc with MACRO_AT_func.
2798
f166b542
YQ
27992014-11-14 Yao Qi <yao@codesourcery.com>
2800
2801 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2802 produce debug information.
2803 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2804
0f6e71e3
YQ
28052014-11-14 Yao Qi <yao@codesourcery.com>
2806
2807 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2808 object and get function length.
2809 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2810 with MACRO_AT_func.
2811 (top-level): Replace gdb_compile and clean_restart with
2812 prepare_for_testing.
2813 * gdb.dwarf2/main.c (main): Add label main_label.
2814
876c4df9
YQ
28152014-11-14 Yao Qi <yao@codesourcery.com>
2816
2817 * lib/dwarf.exp (function_range): New procedure.
2818 (Dwarf::_handle_macro_at_func): New procedure.
2819 (Dwarf::_handle_macro_at_range): New procedure.
2820 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2821
02ad9cf1
YQ
28222014-11-14 Yao Qi <yao@codesourcery.com>
2823
2824 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2825 (_handle_attribute): New procedure.
2826
a59add0c
AA
28272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2828
2829 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2830 * gdb.base/call-sc.c (zed): Likewise.
2831 * gdb.base/checkpoint.c (main): Likewise.
2832 * gdb.base/dump.c (main): Likewise.
2833 * gdb.base/gcore.c (main): Likewise.
2834 * gdb.base/huge.c (main): Likewise.
2835 * gdb.base/multi-forks.c (main): Likewise.
2836 * gdb.base/pr10179-a.c (main): Likewise.
2837 * gdb.base/savedregs.c (main): Likewise.
2838 * gdb.base/sigaltstack.c (main): Likewise.
2839 * gdb.base/siginfo.c (main): Likewise.
2840 * gdb.base/structs.c (zed): Likewise.
2841 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2842 * gdb.mi/mi-syn-frame.c (main): Likewise.
2843 * gdb.mi/until.c (foo, main): Likewise.
2844 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2845 * gdb.base/solib-weak.c (foo): Declare.
2846 * gdb.base/attach-twice.c: Include stdio.h.
2847 * gdb.base/weaklib1.c: Likewise.
2848 * gdb.base/weaklib2.c: Likewise.
2849 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2850 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2851 unistd.h.
2852 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2853 * gdb.mi/mi-exit-code.c: Likewise.
2854 * gdb.base/break-interp-lib.c: Include string.h.
2855 * gdb.base/coremaker.c: Likewise.
2856 * gdb.base/testenv.c: Likewise.
2857 * gdb.python/py-finish-breakpoint.c: Likewise.
2858 * gdb.base/inferior-died.c: Include sys/wait.h.
2859 * gdb.base/fileio.c: Include time.h.
2860 * gdb.base/async-shell.c: Include unistd.h.
2861 * gdb.base/dprintf-non-stop.c: Likewise.
2862 * gdb.base/info-os.c: Likewise.
2863 * gdb.mi/mi-console.c: Likewise.
2864 * gdb.mi/watch-nonstop.c: Likewise.
2865 * gdb.python/py-events.c: Likewise.
2866 * gdb.base/async.c (baz): Move up before its invocation.
2867 * gdb.base/code_elim2.c (my_global_func): Likewise.
2868 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2869 * gdb.base/advance.c (func2): Likewise.
2870
3b5d5997
AA
28712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2872
2873 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2874 variant.
2875 * gdb.base/annota3.c: Likewise.
2876 * gdb.base/async.c: Likewise.
2877 * gdb.base/average.c: Likewise.
2878 * gdb.base/call-ar-st.c: Likewise.
2879 * gdb.base/call-rt-st.c: Likewise.
2880 * gdb.base/call-sc.c: Likewise.
2881 * gdb.base/call-strs.c: Likewise.
2882 * gdb.base/ending-run.c: Likewise.
2883 * gdb.base/execd-prog.c: Likewise.
2884 * gdb.base/exprs.c: Likewise.
2885 * gdb.base/foll-exec.c: Likewise.
2886 * gdb.base/foll-fork.c: Likewise.
2887 * gdb.base/foll-vfork.c: Likewise.
2888 * gdb.base/funcargs.c: Likewise.
2889 * gdb.base/gcore.c: Likewise.
2890 * gdb.base/jump.c: Likewise.
2891 * gdb.base/langs0.c: Likewise.
2892 * gdb.base/langs1.c: Likewise.
2893 * gdb.base/langs2.c: Likewise.
2894 * gdb.base/mips_pro.c: Likewise.
2895 * gdb.base/nodebug.c: Likewise.
2896 * gdb.base/opaque0.c: Likewise.
2897 * gdb.base/opaque1.c: Likewise.
2898 * gdb.base/recurse.c: Likewise.
2899 * gdb.base/run.c: Likewise.
2900 * gdb.base/scope0.c: Likewise.
2901 * gdb.base/scope1.c: Likewise.
2902 * gdb.base/setshow.c: Likewise.
2903 * gdb.base/setvar.c: Likewise.
2904 * gdb.base/shmain.c: Likewise.
2905 * gdb.base/shr1.c: Likewise.
2906 * gdb.base/shr2.c: Likewise.
2907 * gdb.base/sigall.c: Likewise.
2908 * gdb.base/signals.c: Likewise.
2909 * gdb.base/so-indr-cl.c: Likewise.
2910 * gdb.base/solib2.c: Likewise.
2911 * gdb.base/structs.c: Likewise.
2912 * gdb.base/sum.c: Likewise.
2913 * gdb.base/vforked-prog.c: Likewise.
2914 * gdb.base/watchpoint.c: Likewise.
2915 * gdb.reverse/shr2.c: Likewise.
2916 * gdb.reverse/until-reverse.c: Likewise.
2917 * gdb.reverse/ur1.c: Likewise.
2918 * gdb.reverse/watch-reverse.c: Likewise.
2919
066a77c5
AA
29202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2921
2922 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2923 variant.
2924 * gdb.base/sepdebug.exp: Drop references to removed code.
2925
4f204ea5
AA
29262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2927
2928 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2929 variant. Preserve original line numbering.
2930 * gdb.base/list1.c: Likewise.
2931
3b377a3a
AA
29322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2933
2934 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2935 variant.
2936 * gdb.base/break1.c: Likewise.
2937 * gdb.base/break.exp: Drop references to removed code.
2938
e444df73
AA
29392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2940
2941 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2942 variant.
2943
8008f2a7
AA
29442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2945
2946 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2947
a5a06887
AA
29482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2949
2950 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2951 logic into perform_all_tests() and invoke it with and without
2952 function header prototypes.
2953 (do_function_calls): Remove conditional XFAIL for PR 5318.
2954 (rerun_and_prepare): Remove duplicate code.
2955 (perform_all_tests): New. Main logic moved here.
2956
44dba9b9
AA
29572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2958
2959 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2960 code guarded by #ifdef NO_PROTOTYPES.
2961 (t_double_many_args): Likewise.
2962 (DEF_FUNC_MANY_ARGS_1): Likewise.
2963 (DEF_FUNC_VALUES_1): Likewise.
2964 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2965 guarded by #ifdef PROTOTYPES.
2966
d1fbcd56
AA
29672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2968
2969 * gdb.mi/mi-console.c: Add eye-catcher.
2970 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2971 instead of literal line number.
2972
b0e59b8f
AA
29732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2974
2975 * gdb.base/shr2.c: Add eye-catcher.
2976 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2977 line number.
2978
78f98cca
AA
29792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2980
2981 * gdb.base/jump.c: Add eye-catchers.
2982 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2983 numbers.
2984
58fa2af0
AA
29852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2986
2987 * gdb.base/execd-prog.c: Add eye-catchers.
2988 * gdb.base/foll-exec.c: Likewise.
2989 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2990 line numbers.
2991
04e5059b
AA
29922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2993
2994 * gdb.base/ending-run.c: Add eye-catchers.
2995 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2996 literal line numbers.
2997
dbfdb174
AA
29982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2999
3000 * gdb.base/call-rt-st.c: Add eye-catchers.
3001 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3002 literal line numbers.
3003
888a2ade
AA
30042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3005
3006 * gdb.base/call-ar-st.c: Add eye-catchers.
3007 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3008 literal line numbers.
3009
6acc2dde
AA
30102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3011
3012 * gdb.base/average.c: Add eye-catchers.
3013 * gdb.base/sum.c: Likewise.
3014 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3015 regexps dynamically.
3016
9ecfcd1d
AA
30172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3018
3019 * gdb.base/solib1.c: Add eye-catchers.
3020 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3021 literal line numbers.
3022
78708b7c
PA
30232014-11-12 Pedro Alves <palves@redhat.com>
3024
3025 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3026 leader has exited.
3027
af48d08f
PA
30282014-11-12 Pedro Alves <palves@redhat.com>
3029
3030 * gdb.arch/i386-bp_permanent.c: New file.
3031 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3032 (srcfile): Set to i386-bp_permanent.c.
3033 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3034 that stepi does not execute the 'leave' instruction, instead of
3035 testing it does execute.
3036 * gdb.base/bp-permanent.c: New file.
3037 * gdb.base/bp-permanent.exp: New file.
3038
af3768e9
DE
30392014-11-10 Doug Evans <xdje42@gmail.com>
3040
3041 PR symtab/17564
3042 * gdb.base/symtab-search-order.exp: New file.
3043 * gdb.base/symtab-search-order.c: New file.
3044 * gdb.base/symtab-search-order-1.c: New file.
3045 * gdb.base/symtab-search-order-shlib-1.c: New file.
3046
9de00a4a
PA
30472014-11-07 Pedro Alves <palves@redhat.com>
3048
3049 PR gdb/17511
3050 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3051 i?86-*-linux*.
3052
e0f52461
SC
30532014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3054
3055 PR c++/17494
3056 * gdb.cp/pr17494.cc: New file.
3057 * gdb.cp/pr17494.exp: New file.
3058
6ce8c980
YQ
30592014-11-02 Yao Qi <yao@codesourcery.com>
3060
3061 * gdb.python/python.exp: Get working directory and match the
3062 output of "set extended-prompt \\w " with it.
3063
02be9a71
DE
30642014-10-30 Doug Evans <dje@google.com>
3065
3066 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3067 in objfiles.
3068 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3069 in progspaces.
3070
3bdff46b
LM
30712014-10-30 Janis Johnson <janisjo@codesourcery.com>
3072
3073 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3074 * gdb.base/realname-expand.exp: Likewise.
3075 * gdb.linespec/macro-relative.exp: Likewise.
3076
ab917dfb
PA
30772014-10-29 Pedro Alves <palves@redhat.com>
3078
3079 PR gdb/17408
3080 * gdb.threads/schedlock.c (some_function): New function.
3081 (call_function): New global.
3082 (MAYBE_CALL_SOME_FUNCTION): New macro.
3083 (thread_function): Call it.
3084 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3085 and use it instead of a global counter. Adjust all callers.
3086 (get_current_thread): Use "find current thread" for test message
3087 here rather than having all callers pass down the same string.
3088 (goto_loop): New procedure, factored out from ...
3089 (my_continue): ... this.
3090 (step_ten_loops): Change parameter from test message to command to
3091 use. Adjust.
3092 (list_count): Delete global.
3093 (check_result): New procedure, factored out from duplicate top
3094 level code.
3095 (continue tests): Wrap in with_test_prefix.
3096 (test_step): New procedure, factored out from duplicate top level
3097 code.
3098 (top level): Test "step" in combination with all scheduler-locking
3099 modes. Test "next" in combination with all scheduler-locking
3100 modes, and in combination with stepping over a function call or
3101 not.
3102 * gdb.threads/next-bp-other-thread.c: New file.
3103 * gdb.threads/next-bp-other-thread.exp: New file.
3104
d3d4baed
PA
31052014-10-29 Pedro Alves <palves@redhat.com>
3106
3107 PR python/17372
3108 * gdb.python/python.exp: Test a multi-line command that spawns
3109 interactive Python.
3110 * gdb.base/multi-line-starts-subshell.exp: New file.
3111
563e8d85
YQ
31122014-10-29 Yao Qi <yao@codesourcery.com>
3113
3114 * gdb.base/fileio.exp: Make directories on host.
3115
0ea4d52e
YQ
31162014-10-29 Yao Qi <yao@codesourcery.com>
3117
3118 * gdb.base/fileio.c (test_write): Close the file.
3119
7f5ef605
PA
31202014-10-28 Pedro Alves <palves@redhat.com>
3121
3122 PR gdb/12623
3123 * gdb.base/sigstep.c (no_handler): New global.
3124 (main): If 'no_handler is true, set the signal handlers to
3125 SIG_IGN.
3126 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3127 with_sw_watch and no_handler parameters. Handle them.
3128 (top level) <stepping over handler when stopped at a breakpoint
3129 test>: Add a test axis for testing with a software watchpoint, and
3130 another for testing with the signal handler set to SIG_IGN.
3131 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3132 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3133
abbdbd03
PA
31342014-10-28 Pedro Alves <palves@redhat.com>
3135
3136 PR gdb/17511
3137 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3138 * gdb.base/sigstep.exp (other_handler_location): New global.
3139 (advance): Support stepping into the signal handler, and running
3140 commands while in the handler.
3141 (in_handler_map): New global.
3142 (top level): In the advance test, add combinations for getting
3143 into the handler with stepping commands, and for running commands
3144 in the handler. Add comment descripting the advancei tests.
3145
1df4399f
PA
31462014-10-28 Pedro Alves <palves@redhat.com>
3147
3148 * gdb.base/sigstep.exp: Use build_executable instead of
3149 prepare_for_testing.
3150 (top level): Move code that starts GDB, runs to main and creates a
3151 display to ...
3152 (restart): ... this new procedure.
3153 (top level): Move backtrace from signal handler test to ...
3154 (validate_backtrace): ... this new procedure.
3155 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3156 with_test_prefix. Always restart GDB.
3157 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3158 with_test_prefix. Always restart GDB. No need to delete
3159 breakpoints after the test.
3160 (test_skip_handler): Remove prefix parameter.
3161 (skip_over_handler, breakpoint_to_handler)
3162 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3163 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3164 restart GDB. No need to delete breakpoints after the test.
3165 (top level): Use foreach to call the test procedures with
3166 different commands.
3167
a5b6e449
PA
31682014-10-28 Pedro Alves <palves@redhat.com>
3169
3170 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3171 instead of GNATS numbers.
3172 * gdb.base/sigbpt.exp: Likewise.
3173 * gdb.base/siginfo.exp: Likewise.
3174 * gdb.base/sigstep.exp: Likewise.
3175
e5f8a7cc
PA
31762014-10-27 Pedro Alves <palves@redhat.com>
3177
3178 * gdb.base/sigstep.c (dummy): New global.
3179 (main): Issue a couple writes to the new global.
3180 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3181 procedures.
3182 (skip_over_handler): Use test_skip_handler.
3183 (top level): Call skip_over_handler for stepi and nexti too.
3184 (breakpoint_over_handler): Use test_skip_handler.
3185 (top level): Call breakpoint_over_handler for stepi and nexti too.
3186
763905a3
YQ
31872014-10-27 Yao Qi <yao@codesourcery.com>
3188
3189 * gdb.trace/tfile.c (adjust_function_address)
3190 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3191 function descriptor.
3192
6f259a23
DB
31932014-10-24 Don Breazeal <donb@codesourcery.com>
3194
3195 * gdb.base/foll-fork.exp (test_follow_fork,
3196 catch_fork_child_follow): Check for updated fork messages emitted
3197 from infrun.c.
3198 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3199 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3200 vfork_and_exec_child_follow_through_step): Check for updated vfork
3201 messages emitted from infrun.c.
3202
09dd9a69
PA
32032014-10-24 Pedro Alves <palves@redhat.com>
3204
3205 * gdb.base/corefile.exp: Remove references to ultrix.
3206 * gdb.base/interrupt.exp: Likewise.
3207 * gdb.base/whatis.exp: Likewise.
3208 * gdb.gdb/selftest.exp: Likewise.
3209 * gdb.threads/manythreads.exp: Likewise.
3210 * gdb.threads/print-threads.exp: Likewise.
3211 * gdb.threads/pthreads.exp:: Likewise.
3212 * gdb.threads/schedlock.exp: Likewise.
3213
3433cfa5
SC
32142014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3215
3216 * gdb.cp/non-trivial-retval.cc: Add a test case.
3217 * gdb.cp/non-trivial-retval.exp: Add a test.
3218
092f880b
YQ
32192014-10-20 Yao Qi <yao@codesourcery.com>
3220
3221 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3222 * gdb.python/py-objfile-script-gdb.py: New file.
3223 * gdb.python/py-objfile-script.exp: Update reference to
3224 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3225 of remote_download. Remove the dest file.
3226
acbdb7f3
YQ
32272014-10-20 Yao Qi <yao@codesourcery.com>
3228
3229 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3230 * gdb.base/step-line.exp: Likewise.
3231 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3232 * gdb.dwarf2/dw2-basic.exp: Likewise.
3233 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3234 * gdb.dwarf2/dw2-filename.exp: Likewise.
3235 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3236 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3237 * gdb.dwarf2/dw2-producer.exp: Likewise.
3238 * gdb.dwarf2/mac-fileno.exp: Likewise.
3239 * gdb.python/py-frame-args.exp: Likewise.
3240 * gdb.python/py-framefilter.exp: Likewise.
3241 * gdb.python/py-mi.exp: Likewise.
3242 * gdb.python/py-objfile-script.exp: Likewise
3243 * gdb.python/py-pp-integral.exp: Likewise.
3244 * gdb.python/py-pp-re-notag.exp: Likewise.
3245 * gdb.python/py-prettyprint.exp: Likewise.
3246 * gdb.python/py-section-script.exp: Likewise.
3247 * gdb.python/py-typeprint.exp: Likewise.
3248 * gdb.python/py-xmethods.exp: Likewise.
3249 * gdb.stabs/weird.exp: Likewise.
3250 * gdb.xml/tdesc-regs.exp: Likewise.
3251
bd286a29
KCY
32522014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3253
3254 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3255 (out_cu): Use addr_len for the size of addresses.
3256 (out_line): Likewise. Size DW_LNE_set_address instruction
3257 according to addr_len.
3258 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3259 (FUNC): Add START_INSNS to definition.
3260
673dc4a0
YQ
32612014-10-18 Yao Qi <yao@codesourcery.com>
3262
3263 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3264 gdb_has_argv0 return true.
3265 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3266 check [target_info exists noargs], check [gdb_has_argv0]
3267 instead.
3268 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3269 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3270 procedures.
3271
4ffbba72
DE
32722014-10-17 Doug Evans <dje@google.com>
3273
3274 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3275 event.
3276 * gdb.python/py-events.py: Add clear_objfiles event.
3277
d096d8c1
DE
32782014-10-17 Doug Evans <dje@google.com>
3279
3280 * gdb.python/py-objfile.exp: Test progspace attribute.
3281
a80db015
LM
32822014-10-17 Luis Machado <lgustavo@codesourcery.com>
3283
3284 * gdb.guile/scm-breakpoint.exp: Do not assume any
3285 directory separators when matching source file paths.
3286 * gdb.python/py-breakpoint.exp: Likewise.
3287 * gdb.reverse/break-precsave.exp: Likewise.
3288 * gdb.reverse/break-reverse.exp: Likewise.
3289 * gdb.reverse/consecutive-precsave.exp: Likewise.
3290 * gdb.reverse/finish-precsave.exp: Likewise.
3291 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3292 * gdb.reverse/finish-reverse.exp: Likewise.
3293 * gdb.reverse/i386-precsave.exp: Likewise.
3294 * gdb.reverse/i387-env-reverse.exp: Likewise.
3295 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3296 * gdb.reverse/machinestate-precsave.exp: Likewise.
3297 * gdb.reverse/machinestate.exp: Likewise.
3298 * gdb.reverse/sigall-precsave.exp: Likewise.
3299 * gdb.reverse/solib-precsave.exp: Likewise.
3300 * gdb.reverse/step-precsave.exp: Likewise.
3301 * gdb.reverse/until-precsave.exp: Likewise.
3302 * gdb.reverse/watch-precsave.exp: Likewise.
3303 * gdb.reverse/watch-reverse.exp: Likewise.
3304
b22089ab
YQ
33052014-10-17 Yao Qi <yao@codesourcery.com>
3306
3307 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3308 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3309
6c4486e6
PA
33102014-10-17 Pedro Alves <palves@redhat.com>
3311
3312 PR gdb/17471
3313 * gdb.base/bg-execution-repeat.c: New file.
3314 * gdb.base/bg-execution-repeat.exp: New file.
3315
0ff33695
PA
33162014-10-17 Pedro Alves <palves@redhat.com>
3317
3318 PR gdb/17300
3319 * gdb.base/continue-all-already-running.c: New file.
3320 * gdb.base/continue-all-already-running.exp: New file.
3321
6fdebc3d
PA
33222014-10-17 Pedro Alves <palves@redhat.com>
3323
3324 PR gdb/17472
3325 * gdb.base/annota-input-while-running.c: New file.
3326 * gdb.base/annota-input-while-running.exp: New file.
3327
32a8097b
PA
33282014-10-17 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.base/callfuncs.exp: emove references to osf.
3331 * gdb.base/sigall.exp: Likewise.
3332 * gdb.gdb/selftest.exp: Likewise.
3333 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3334 * gdb.mi/non-stop.c: Likewise.
3335 * gdb.mi/pthreads.c: Likewise.
3336 * gdb.reverse/sigall-precsave.exp: Likewise.
3337 * gdb.reverse/sigall-reverse.exp: Likewise.
3338 * gdb.threads/pthreads.c: Likewise.
3339 * gdb.threads/pthreads.exp: Likewise.
3340
7a3517ff
YQ
33412014-10-17 Yao Qi <yao@codesourcery.com>
3342
3343 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3344 check 'target_info exists noargs'.
3345 (test_command_prompt_position): Likewise.
3346 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3347 Remove "set args".
3348 (progvar_simple_while_test): Likewise.
3349 (progvar_complex_if_while_test): Likewise.
3350 (if_while_breakpoint_command_test): Likewise.
3351 (infrun_breakpoint_command_test): Likewise.
3352 (breakpoint_command_test): Likewise.
3353 (watchpoint_command_test): Likewise.
3354 (bp_deleted_in_command_test): Likewise.
3355 (temporary_breakpoint_commands): Likewise.
3356
bb99c472
YQ
33572014-10-16 Yao Qi <yao@codesourcery.com>
3358
3359 * gdb.base/remotetimeout.exp: Remove noargs checking.
3360
7c16b83e
PA
33612014-10-15 Pedro Alves <palves@redhat.com>
3362
3363 PR breakpoints/9649
3364 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3365 * gdb.base/breakpoint-in-ro-region.exp
3366 (probe_target_hardware_step): New procedure.
3367 (top level): Probe hardware stepping and hardware breakpoint
3368 support. Test stepping through a read-only region, with both
3369 "breakpoint auto-hw" on and off and both "always-inserted" on and
3370 off.
3371
35a49624
IB
33722014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3373
3374 * gdb.dlang/demangle.exp: Update for demangling changes.
3375
2d1c107c
SC
33762014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3377
3378 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3379 * gdb.cp/non-trivial-retval.exp: Add new tests.
3380
778811d5
SC
33812014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3382
3383 PR c++/13403
3384 PR c++/15154
3385 * gdb.cp/non-trivial-retval.cc: New file.
3386 * gdb.cp/non-trivial-retval.exp: New file.
3387
10c5f0a8
YQ
33882014-10-15 Yao Qi <yao@codesourcery.com>
3389
3390 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3391 remote host.
3392
65d7b369
YQ
33932014-10-15 Yao Qi <yao@codesourcery.com>
3394
3395 * gdb.python/py-symbol.exp: Match file base name if host is
3396 remote, otherwise match file name with dir name.
3397 * gdb.python/py-symtab.exp: Likewise.
3398 * gdb.python/python.exp: Likewise.
3399
46dc1394
YQ
34002014-10-15 Yao Qi <yao@codesourcery.com>
3401
3402 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3403 pattern.
3404 * gdb.python/py-symtab.exp: Likewise.
3405 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3406 locationn.
3407
c40cc657
JB
34082014-10-14 Joel Brobecker <brobecker@adacore.com>
3409
3410 * gdb.ada/addr_arith: New testcase.
3411
2abf49e1
MR
34122014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3413
3414 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3415 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3416 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3417 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3418
f7088df3
SDJ
34192014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3420
3421 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3422 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3423 * gdb.arch/stap-eval-lang-ada.exp: New file.
3424
4dc06805
YQ
34252014-10-14 Yao Qi <yao@codesourcery.com>
3426
3427 * gdb.mi/mi-var-child.c (nothing1): New function.
3428 (nothing2): New function.
3429 (do_children_tests): Set function pointers by nothing1 and
3430 nothing2.
3431 * gdb.mi/mi-var-child.exp: Step over new added statements.
3432 Update test to match the new output.
3433 * gdb.mi/var-cmd.c (nothing1): New function.
3434 (nothing2): New function.
3435 (do_children_tests): Set function pointers by nothing1 and
3436 nothing2.
3437 * gdb.mi/mi-var-display.exp: Update test to match output.
3438 Step to the line specified by $line_dct_nothing.
3439 Increase the number of lines to step.
3440
46a93de2
YQ
34412014-10-14 Yao Qi <yao@codesourcery.com>
3442
3443 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3444 tests.
3445 * gdb.mi/mi2-var-child.exp: Likewise.
3446
14ea52ee
DE
34472014-10-13 Doug Evans <dje@google.com>
3448
3449 * gdb.python/py-objfile.exp: Change name of file name test.
3450
e5c6e92b
DE
34512014-10-13 Doug Evans <dje@google.com>
3452
3453 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3454 from the start of the CU.
3455
c780cc2f
JK
34562014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3457 Yao Qi <yao@codesourcery.com>
3458
3459 Fix "save breakpoints" for "catch" command.
3460 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3461 Remove -nonewline. Match also the added "main" line.
3462
99894e11
JK
34632014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3464
3465 Fix "save breakpoints" for "disable $bpnum" command.
3466 * gdb.base/save-bp.c (main): Add label.
3467 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3468
6e1ac5a3
JK
34692014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3470
3471 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3472
754dd2b0
YQ
34732014-10-11 Yao Qi <yao@codesourcery.com>
3474
3475 * gdb.server/server-kill.exp: Execute command
3476 "set remote trace-status-packet on" before "tstatus".
3477
f90183d7
YQ
34782014-10-11 Yao Qi <yao@codesourcery.com>
3479
3480 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3481 (main): Call getppid.
3482 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3483 and continue to it. Read variable "server_pid".
3484
bf40a607
YQ
34852014-10-11 Yao Qi <yao@codesourcery.com>
3486
3487 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3488
052ca370
YQ
34892014-10-11 Yao Qi <yao@codesourcery.com>
3490
3491 * gdb.threads/thread-find.exp: Don't execute command
3492 "info threads".
3493 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3494 * gdb.threads/linux-dp.exp: Don't check the condition
3495 $threads_created equals to zero.
3496
3831839c
PA
34972014-10-10 Pedro Alves <palves@redhat.com>
3498
3499 * gdb.base/bigcore.exp: Remove references to IRIX.
3500 * gdb.base/funcargs.exp: Likewise.
3501 * gdb.base/interrupt.exp: Likewise.
3502 * gdb.base/mips_pro.exp: Likewise.
3503 * gdb.base/nodebug.exp: Likewise.
3504 * gdb.base/setvar.exp: Likewise.
3505 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3506
8b9a549d
PA
35072014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3508 Pedro Alves <palves@redhat.com>
3509
3510 PR symtab/14466
3511 * gdb.base/vdso-warning.c: New file.
3512 * gdb.base/vdso-warning.exp: New file.
3513
d48ba5e8
DE
35142014-10-02 Doug Evans <dje@google.com>
3515
3516 * gdb.base/structs.c (main): Don't run forever.
3517
2278c276
PA
35182014-10-02 Pedro Alves <palves@redhat.com>
3519
3520 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3521 (top level) <stop threads 1, stop threads 2>: Use it.
3522
b57bacec
PA
35232014-10-02 Pedro Alves <palves@redhat.com>
3524
3525 * gdb.threads/break-while-running.exp (test): Add new
3526 'update_thread_list' argument. Skip "info threads" if false.
3527 (top level): Add new 'update_thread_list' axis.
3528
13fd3ff3
PA
35292014-10-02 Pedro Alves <palves@redhat.com>
3530
3531 PR breakpoints/17431
3532 * gdb.base/execl-update-breakpoints.c: New file.
3533 * gdb.base/execl-update-breakpoints.exp: New file.
3534
0fec99e8
PA
35352014-10-01 Pedro Alves <palves@redhat.com>
3536
3537 * gdb.base/breakpoint-in-ro-region.c: New file.
3538 * gdb.base/breakpoint-in-ro-region.exp: New file.
3539
2ddf4301
SM
35402014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3541
3542 * gdb.mi/mi-exit-code.exp: New file.
3543 * gdb.mi/mi-exit-code.c: New file.
3544
6a5f3f43
YQ
35452014-09-30 Yao Qi <yao@codesourcery.com>
3546
3547 * lib/prelink-support.exp (build_executable_own_libs): Error if
3548 the target isn't native.
3549
345bcc73
YQ
35502014-09-30 Yao Qi <yao@codesourcery.com>
3551
3552 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3553 false.
3554
a25a5a45
PA
35552014-09-22 Pedro Alves <palves@redhat.com>
3556
3557 * gdb.threads/break-while-running.exp: New file.
3558 * gdb.threads/break-while-running.c: New file.
3559
00ba3162
YQ
35602014-09-19 Yao Qi <yao@codesourcery.com>
3561
3562 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3563 Invoke test. Restart GDB with --readnow and invoke test again.
3564
c3b7b696
YQ
35652014-09-19 Yao Qi <yao@codesourcery.com>
3566
3567 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3568 proc set_breakpoint_on_gcd_function. Invoke
3569 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3570 invoke set_breakpoint_on_gcd_function again.
3571
2b4fd423
DE
35722014-09-18 Doug Evans <dje@google.com>
3573
3574 * gdb.dwarf2/symtab-producer.exp: New file.
3575
a5947601
SDJ
35762014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3577
3578 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3579 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3580 * gdb.base/global-var-nested-by-dso.c: Likewise.
3581 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3582
91c19059
SDJ
35832014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3584 Pedro Alves <palves@redhat.com>
3585
3586 * gdb.base/watch-bitfields.exp: Pass string other than test file
3587 name to prepare_for_testing.
3588 (watch): New procedure.
3589 (expect_watchpoint): Use with_test_prefix.
3590 (top level): Factor out tests to ...
3591 (test_watch_location, test_regular_watch): ... these new
3592 procedures, and use with_test_prefix and gdb_continue_to_end.
3593
bb9d5f81
PP
35942014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3595
3596 PR breakpoints/12526
3597 * gdb.base/watch-bitfields.exp: New file.
3598 * gdb.base/watch-bitfields.c: New file.
3599
635856f5
PA
36002014-09-16 Pedro Alves <palves@redhat.com>
3601
3602 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3603 software and hardware addresses, not software address against
3604 itself.
3605
7280ceea
PA
36062014-09-16 Pedro Alves <palves@redhat.com>
3607
3608 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3609 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3610
428b16bd
PA
36112014-09-16 Pedro Alves <palves@redhat.com>
3612
3613 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3614 files.
3615 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3616 "*-*-vxworks*" throughout.
3617 * gdb.base/break.exp: Likewise.
3618 * gdb.base/default.exp: Likewise.
3619 * gdb.base/scope.exp: Likewise.
3620 * gdb.base/sepdebug.exp: Likewise.
3621 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3622 throughout.
3623 * gdb.base/run.c: Likewise.
3624 * gdb.base/sepdebug.c: Likewise.
3625 * gdb.hp/gdb.aCC/run.c: Likewise.
3626 * gdb.reverse/until-reverse.c: Likewise.
3627 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3628
666d413c
YQ
36292014-09-16 Yao Qi <yao@codesourcery.com>
3630
3631 * boards/local-remote-host-native.exp: New file.
3632
57cbd724
DE
36332014-09-14 Doug Evans <xdje42@gmail.com>
3634
3635 * gdb.threads/queue-signal.c (thread_count): New variable.
3636 (thread_count_mutex, thread_count_condvar): New variables.
3637 (incr_thread_count, wait_all_threads_running): New functions.
3638 (main): Wait for all threads to be in their thread functions.
3639
81219e53
DE
36402014-09-13 Doug Evans <xdje42@gmail.com>
3641
3642 * gdb.threads/queue-signal.c: New file.
3643 * gdb.threads/queue-signal.exp: New file.
3644
3714cea7
DE
36452014-09-13 Doug Evans <xdje42@gmail.com>
3646
3647 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3648 be consistent with what default_gdb_init uses.
3649 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3650 the plain text of the prompt. Add some logging printfs.
3651 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3652
fa43b1d7
PA
36532014-09-12 Pedro Alves <palves@redhat.com>
3654
3655 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3656 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3657 * gdb.arch/i386-size-overlap.exp: Likewise.
3658 * gdb.arch/i386-size.exp: Likewise.
3659 * gdb.arch/i386-unwind.exp: Likewise.
3660 * gdb.base/a2-run.exp: Likewise.
3661 * gdb.base/break.exp: Likewise.
3662 * gdb.base/charset.exp: Likewise.
3663 * gdb.base/chng-syms.exp: Likewise.
3664 * gdb.base/commands.exp: Likewise.
3665 * gdb.base/dbx.exp: Likewise.
3666 * gdb.base/find.exp: Likewise.
3667 * gdb.base/funcargs.exp: Likewise.
3668 * gdb.base/jit-simple.exp: Likewise.
3669 * gdb.base/reread.exp: Likewise.
3670 * gdb.base/sepdebug.exp: Likewise.
3671 * gdb.base/step-bt.exp: Likewise.
3672 * gdb.cp/mb-inline.exp: Likewise.
3673 * gdb.cp/mb-templates.exp: Likewise.
3674 * gdb.objc/basicclass.exp: Likewise.
3675 * gdb.threads/killed.exp: Likewise.
3676
9d9bf2df
EBM
36772014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3678
3679 PR tdep/17379
3680 * gdb.arch/powerpc-stackless.S: New file.
3681 * gdb.arch/powerpc-stackless.exp: New file.
3682
1cf2f1b0
JK
36832014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3684
3685 * gdb.base/attach.c: Include unistd.h.
3686 (main): Call alarm. Add label postloop.
3687 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3688 gdb_breakpoint, gdb_continue_to_breakpoint.
3689 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3690
98880d46
PA
36912014-09-11 Pedro Alves <palves@redhat.com>
3692
3693 PR gdb/17347
3694 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3695 * gdb.base/attach.exp (test_command_line_attach_run): New
3696 procedure.
3697 (top level): Call it.
3698
4c92ff2c
PA
36992014-09-11 Pedro Alves <palves@redhat.com>
3700
3701 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3702 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3703 (do_command_attach_tests): Use spawn_wait_for_attach.
3704 * gdb.base/solib-overlap.exp: Likewise.
3705 * gdb.multi/multi-attach.exp: Likewise.
3706 * gdb.python/py-prompt.exp: Likewise.
3707 * gdb.python/py-sync-interp.exp: Likewise.
3708 * gdb.server/ext-attach.exp: Likewise.
3709
3adc1a7d
GKB
37102014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3711
3712 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3713 command in testcase. Simplify testcase.
3714
96334934
JB
37152014-09-10 Joel Brobecker <brobecker@adacore.com>
3716
3717 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3718
eb479039
JB
37192014-09-10 Joel Brobecker <brobecker@adacore.com>
3720
3721 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3722
deede10c
JB
37232014-09-10 Joel Brobecker <brobecker@adacore.com>
3724
3725 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3726
7828a5f5
JB
37272014-09-10 Joel Brobecker <brobecker@adacore.com>
3728
3729 * gdb.dwarf2/dynarr-ptr.c: New file.
3730 * gdb.dwarf2/dynarr-ptr.exp: New file.
3731
33aeebcf
MR
37322014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3733
3734 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3735 of 30 rather than hardcoding 120 for a slow test case. Take the
3736 `gdb,timeout' target setting into account for this calculation.
3737 Don't extend the timeout for the test cases that don't need it.
3738
7b415901
MR
37392014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3740
3741 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3742 a factor of 2 for a slow test case. Take the `gdb,timeout'
3743 target setting into account for this calculation.
3744 * gdb.reverse/until-precsave.exp: Increase the timeout by
3745 a factor of 15 and 3 respectively rather than adding 120
3746 for a pair of slow test cases. Take the `gdb,timeout'
3747 target setting into account for this calculation.
3748
4a40f85a
MR
37492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3750
3751 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3752 timeout, don't pass one down to gdb_expect.
3753 (gdb_expect): Rework timeout selection.
3754
09635af7
MR
37552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3756
3757 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3758 exception on timeout.
3759 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3760 (gdbserver_start_extended): Catch any `gdbserver_start' error
3761 exceptions.
3762 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3763 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3764 `gdbserver_gdb_load' error exceptions.
3765
2bdd10b7
MR
37662014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3767
3768 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3769 120 on waiting for the TCP socket to open.
3770
316935f0
DE
37712014-09-09 Doug Evans <xdje42@gmail.com>
3772
3773 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3774 _caller_matches, _any_caller_is, _any_caller_matches.
3775
83740597
DE
37762014-09-09 Doug Evans <xdje42@gmail.com>
3777
3778 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3779
4c122fc3
YQ
37802014-09-09 Yao Qi <yao@codesourcery.com>
3781
3782 * gdb.mi/mi-var-display.exp: Set print symbol off.
3783
a9f116cb
GKB
37842014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3785
3786 PR gdb/17035
3787 * gdb.base/commands.exp: Add tests to verify user-defined
3788 commands with empty bodies.
3789 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3790 python commands in `show user command`.
3791 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3792 scheme commands in `show user command`.
3793
c75bd3a2
JK
37942014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3795
3796 PR python/17355
3797 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3798 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3799 * gdb.python/py-framefilter-invalidarg.exp: New file.
3800 * gdb.python/py-framefilter-invalidarg.py: New file.
3801
faa42425
DE
38022014-09-06 Doug Evans <xdje42@gmail.com>
3803
3804 PR 15276
3805 * gdb.python/py-caller-is.c: New file.
3806 * gdb.python/py-caller-is.exp: New file.
3807
474ca4f6
SDJ
38082014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3809
3810 PR gdb/17235
3811 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3812 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3813
eb0b0463
SDJ
38142014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3815
3816 PR fortran/17237
3817 * gdb.fortran/print-formatted.exp: New file.
3818 * gdb.fortran/print-formatted.f90: Likewise.
3819
5f3b99cf
SS
38202014-09-03 Sasha Smundak <asmundak@google.com>
3821
3822 * gdb.python/py-frame.exp: Test Frame.read_register.
3823
7d793aa9
SDJ
38242014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3825
3826 PR python/16699
3827 * gdb.python/py-completion.exp: New file.
3828 * gdb.python/py-completion.py: Likewise.
3829
fb0576e9
DE
38302014-08-28 Doug Evans <dje@google.com>
3831
3832 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3833 eax,etc. are live with values set by gdb and thus the compiler can't
3834 use them.
3835 * gdb.arch/i386-pseudo.c (main): Ditto.
3836
ee92b0dd
DE
38372014-08-27 Doug Evans <dje@google.com>
3838
3839 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3840
6649db35
DE
38412014-08-25 Doug Evans <dje@google.com>
3842
3843 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3844 (main): Ditto.
3845
564b7600
DE
38462014-08-25 Doug Evans <dje@google.com>
3847
3848 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3849
3881fb67
YQ
38502014-08-24 Yao Qi <yao@codesourcery.com>
3851
3852 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3853 symbol off.
3854 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3855
a05a36a5
DE
38562014-08-22 Doug Evans <dje@google.com>
3857
3858 PR 17276
3859 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3860 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3861 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3862
7c343b48
YQ
38632014-08-22 Yao Qi <yao@codesourcery.com>
3864
3865 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3866 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3867 * gdb.python/python.exp: Likewise. Use .py file on the host
3868 instead of the build.
3869
22fd09ae
JK
38702014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3871
3872 * gdb.threads/gcore-stale-thread.c: New file.
3873 * gdb.threads/gcore-stale-thread.exp: New file.
3874
a8454a7c
PA
38752014-08-21 Pedro Alves <palves@redhat.com>
3876
3877 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3878 * gdb.base/gcore-relro-pie.exp: Likewise.
3879 * gdb.base/gcore-relro.exp: Likewise.
3880 * gdb.base/gcore.exp: Likewise.
3881 * gdb.base/print-symbol-loading.exp: Likewise.
3882 * gdb.threads/gcore-thread.exp: Likewise.
3883 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3884
2a31c623
PA
38852014-08-20 Pedro Alves <palves@redhat.com>
3886 Jan Kratochvil <jan.kratochvil@redhat.com>
3887
3888 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3889 configure.
3890 (EXPECT): Handle READ1 being set.
3891 (all): Depend on EXTRA_RULES.
3892 (check-read1, expect-read1, read1.so, read1): New rules.
3893 * README (Testsuite Parameters): Document the READ1 make variable.
3894 (Race detection): New section.
3895 * configure: Regenerate.
3896 * configure.ac: If build==host==target, and running under a
3897 GNU/glibc system, add read1 to the extra Makefile rules.
3898 (EXTRA_RULES): AC_SUBST it.
3899 * lib/read1.c: New file.
3900
d36430db
JB
39012014-08-20 Joel Brobecker <brobecker@adacore.com>
3902
3903 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3904 the handling of variables declared as a typedef to an array
3905 which a DW_AT_data_location attribute.
3906
9a0dc9e3
PA
39072014-08-19 Andrew Burgess <aburgess@broadcom.com>
3908 Pedro Alves <palves@redhat.com>
3909
3910 PR symtab/14604
3911 PR symtab/14605
3912 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3913 gdb_test.
3914
0718a8da
PA
39152014-08-19 Pedro Alves <palves@redhat.com>
3916
3917 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3918
13b448cd
YQ
39192014-08-19 Yao Qi <yao@codesourcery.com>
3920
3921 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3922 right line.
3923
1cbf5077
DB
39242014-08-18 David Blaikie <dblaikie@gmail.com>
3925
3926 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3927
bf0fae19
JB
39282014-08-18 Joel Brobecker <brobecker@adacore.com>
3929
3930 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3931 attribute in array range.
3932
3c8c5dcc
JB
39332014-08-18 Joel Brobecker <brobecker@adacore.com>
3934
3935 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3936
e66d4446
SC
39372014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3938
3939 PR c++/17132
3940 * gdb.cp/pr17132.cc: New file.
3941 * gdb.cp/pr17132.exp: New file.
3942
940df408
SC
39432014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3944
3945 * gdb.python/py-xmethods.py (A_getarrayind)
3946 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3947 Use 'print' with function call syntax.
3948 (E_method_matcher.match): Fix tab vs space indentation mixup.
3949
ebcc6c3a
YQ
39502014-08-15 Yao Qi <yao@codesourcery.com>
3951
3952 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3953 false.
3954
775e0f04
YQ
39552014-08-15 Yao Qi <yao@codesourcery.com>
3956
3957 * gdb.cp/casts.exp: Set print symbol off.
3958 * gdb.cp/class2.exp: Likewise.
3959 * gdb.cp/overload.exp: Likewise.
3960 * gdb.cp/templates.exp: Likewise.
3961
d769e349
DE
39622014-08-11 Doug Evans <dje@google.com>
3963
3964 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3965 (test_load_shlib): Update.
3966
20c6f1e1
YQ
39672014-08-09 Yao Qi <yao@codesourcery.com>
3968
3969 * gdb.base/display.exp: Invoke is_address_zero_readable.
3970 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3971 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3972 * gdb.base/hbreak-unmapped.exp: Return if
3973 is_address_zero_readable returns true.
3974 * gdb.base/signest.exp: Likewise.
3975 * gdb.base/signull.exp: Likewise.
3976 * gdb.base/sigbpt.exp: Likewise.
3977 * gdb.guile/scm-disasm.exp: Do the test if
3978 is_address_zero_readable returns false.
3979 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3980 * gdb.python/py-arch.exp: Likewise.
3981 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3982 * lib/gdb.exp (is_address_zero_readable): New proc.
3983
5792e8e3
YQ
39842014-08-09 Yao Qi <yao@codesourcery.com>
3985
3986 PR testsuite/13443
3987 * gdb.mi/mi-var-display.exp: Make test messages unique.
3988
3cecbbbe
TT
39892014-08-04 Tom Tromey <tromey@redhat.com>
3990
3991 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3992 target 0".
3993
00b51ff5
TT
39942014-08-04 Tom Tromey <tromey@redhat.com>
3995
3996 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3997 "target_resume".
3998
6908c509
JB
39992014-08-01 Joel Brobecker <brobecker@adacore.com>
4000
4001 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4002 inner_vla_struct_object_size.
4003 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4004 as xfail.
4005
cc6563d2
PA
40062014-07-30 Pedro Alves <palves@redhat.com>
4007
4008 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4009 comment.
4010
7e09a223
YQ
40112014-07-29 Yao Qi <yao@codesourcery.com>
4012
4013 PR gdb/17206
4014 * gdb.base/until-nodebug.exp: New.
4015
7ebdbe92
DE
40162014-07-28 Doug Evans <xdje42@gmail.com>
4017
4018 PR guile/17203
4019 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4020 previously existing parameter, and previously ambiguously spelled
4021 parameter.
4022
fdb1adc6
WN
40232014-07-28 Will Newton <will.newton@linaro.org>
4024
4025 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4026
186fcde0
DE
40272014-07-26 Ludovic Courtès <ludo@gnu.org>
4028 Doug Evans <xdje42@gmail.com>
4029
4030 PR guile/17146
4031 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4032
70509625
PA
40332014-07-25 Pedro Alves <palves@redhat.com>
4034
4035 * gdb.threads/signal-command-handle-nopass.c: New file.
4036 * gdb.threads/signal-command-handle-nopass.exp: New file.
4037 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4038 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4039 * gdb.threads/signal-delivered-right-thread.c: New file.
4040 * gdb.threads/signal-delivered-right-thread.exp: New file.
4041
c3f814a1
PA
40422014-07-25 Pedro Alves <palves@redhat.com>
4043
4044 * gdb.base/double-prompt-target-event-error.exp
4045 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4046 match.
4047 (cancel_pagination_in_target_event): Rework double prompt
4048 detection.
4049 * gdb.base/paginate-after-ctrl-c-running.exp
4050 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4051 <return>' match.
4052 * gdb.base/paginate-bg-execution.exp
4053 (test_bg_execution_pagination_return)
4054 (test_bg_execution_pagination_cancel): Remove '-notransfer
4055 <return>' matches.
4056 * gdb.base/paginate-execution-startup.exp
4057 (test_fg_execution_pagination_return)
4058 (test_fg_execution_pagination_cancel): Remove '-notransfer
4059 <return>' matches.
4060 * gdb.base/paginate-inferior-exit.exp
4061 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4062 match.
4063 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4064 * lib/gdb.exp (pagination_prompt): Run text through
4065 string_to_regexp.
4066 (gdb_test_multiple): Match $pagination_prompt instead of
4067 "<return>".
4068 (string_to_regexp): Move to lib/gdb-utils.exp.
4069
e214cf6c
JK
40702014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4071
4072 * gdb.arch/amd64-entry-value-paramref.S: New file.
4073 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4074 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4075 * gdb.arch/amd64-optimout-repeat.S: New file.
4076 * gdb.arch/amd64-optimout-repeat.c: New file.
4077 * gdb.arch/amd64-optimout-repeat.exp: New file.
4078
17d0c5c8
JK
40792014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4080
4081 PR gdb/17170
4082 * gdb.base/statistics.exp: New file.
4083
b8b8facf
DE
40842014-07-17 Doug Evans <dje@google.com>
4085
74b49205 4086 PR gdb/17170
b8b8facf
DE
4087 * gdb.base/maint.exp: Update testing of per-command stats.
4088
1b5d0ab3
PA
40892014-07-16 Pedro Alves <palves@redhat.com>
4090
4091 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4092 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4093 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4094 (tfile_write_buf): New functions.
4095 (add_memory_block): Rewrite using the above.
4096 (adjust_function_address): New function.
4097 (FUNCTION_ADDRESS): New macro.
4098 (write_basic_trace_file): Remove short_x local, and use
4099 tfile_write_16. Change type of func_addr local to unsigned long
4100 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4101 here. Cast argument of add_memory_block to char pointer.
4102 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4103 (main): Remove parameters.
4104 * gdb.trace/tfile.exp: Remove nowarnings.
4105
4d974e88
SM
41062014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4107
4108 * gdb.base/debug-expr.exp: Test string evaluation with
4109 "debug expression" on.
4110
41e99568
PA
41112014-07-15 Pedro Alves <palves@redhat.com>
4112
4113 * gdb.base/reread.exp: Use clean_restart.
4114
487d9753
PL
41152014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4116
4117 * gdb.arch/avr-flash-qualifer.c: New.
4118 * gdb.arch/avr-flash-qualifer.exp: New.
4119
cc1c52ad
PA
41202014-07-14 Pedro Alves <palves@redhat.com>
4121
4122 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4123 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4124
1e973570
PA
41252014-07-14 Pedro Alves <palves@redhat.com>
4126
4127 * gdb.base/double-prompt-target-event-error.c: New file.
4128 * gdb.base/double-prompt-target-event-error.exp: New file.
4129
93d6eb10
PA
41302014-07-14 Pedro Alves <palves@redhat.com>
4131
4132 PR gdb/17072
4133 * gdb.base/paginate-inferior-exit.c: New file.
4134 * gdb.base/paginate-inferior-exit.exp: New file.
4135
0017922d
PA
41362014-07-14 Pedro Alves <palves@redhat.com>
4137
4138 PR gdb/17072
4139 * gdb.base/paginate-bg-execution.c: New file.
4140 * gdb.base/paginate-bg-execution.exp: New file.
4141
94696ad3
PA
41422014-07-14 Pedro Alves <palves@redhat.com>
4143
4144 PR gdb/17072
4145 * gdb.base/paginate-execution-startup.c: New file.
4146 * gdb.base/paginate-execution-startup.exp: New file.
4147 * lib/gdb.exp (pagination_prompt): New global.
4148 (default_gdb_spawn): New procedure, factored out from
4149 default_gdb_spawn.
4150 (default_gdb_start): Adjust to call default_gdb_spawn.
4151 (gdb_spawn): New procedure.
4152
bd293940
PA
41532014-07-14 Pedro Alves <palves@redhat.com>
4154
4155 * lib/gdb.exp (gdb_assert): New procedure.
4156 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4157
c933f875
PA
41582014-07-14 Pedro Alves <palves@redhat.com>
4159
4160 * gdb.base/execution-termios.c: New file.
4161 * gdb.base/execution-termios.exp: New file.
4162
d98b7a16
TT
41632014-07-14 Tom Tromey <tromey@redhat.com>
4164
4165 * gdb.cp/vla-cxx.cc: New file.
4166 * gdb.cp/vla-cxx.exp: New file.
4167
548740d6
TT
41682014-07-14 Tom Tromey <tromey@redhat.com>
4169
4170 * gdb.reverse/rerun-prec.c: New file.
4171 * gdb.reverse/rerun-prec.exp: New file.
4172
a25eb028
MR
41732014-07-12 Maciej W. Rozycki <macro@mips.com>
4174 Maciej W. Rozycki <macro@codesourcery.com>
4175
4176 * lib/gdb-utils.exp: New file.
4177 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4178 inline `gdb_init_command' processing.
4179 (gdb_start_cmd): Likewise.
4180 * lib/mi-support.exp (mi_run_cmd): Likewise.
4181 * README: Document `gdb_init_command' and `gdb_init_commands'.
4182
218c2655
JK
41832014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4184
4185 Fix false FAIL running under a very long directory name.
4186 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4187 and "set print elements 10000". Twice.
4188
5401fde3
YQ
41892014-07-11 Yao Qi <yao@codesourcery.com>
4190
4191 * gdb.base/exprs.exp: "set print symbol off".
4192
e76126e8
PA
41932014-07-11 Pedro Alves <palves@redhat.com>
4194
4195 * gdb.threads/kill.c: New file.
4196 * gdb.threads/kill.exp: New file.
4197
2d6f0de6
YQ
41982014-07-10 Yao Qi <yao@codesourcery.com>
4199
4200 * gdb.trace/tfile.c (write_basic_trace_file)
4201 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4202 address written to trace file.
4203
7180e04a
PA
42042014-07-09 Pedro Alves <palves@redhat.com>
4205
4206 * gdb.base/attach-wait-input.exp: New file.
4207 * gdb.base/attach-wait-input.c: New file.
4208
9a9a7608
AB
42092014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4210
4211 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4212 setting up test structures.
4213 (main): Call new test function.
4214 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4215 test function, continue into test function and walk test
4216 structures.
4217
161ac41e
YQ
42182014-07-02 Yao Qi <yao@codesourcery.com>
4219
4220 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4221 'bar_start' at the beginning of functions 'foo' and 'bar'
4222 respectively.
4223 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4224 instead of 'foo' and 'bar'.
4225
1f267ae3
MM
42262014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4227
4228 * gdb.btrace/segv.exp: New.
4229 * gdb.btrace/segv.c: New.
4230
2b239efb
LM
42312014-07-02 Luis Machado <lgustavo@codesourcery.com>
4232
4233 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4234 instruction.
4235
cf363f18
MW
42362014-06-30 Mark Wielaard <mjw@redhat.com>
4237
4238 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4239 vulture, vilify, villar): New volatile array constants.
4240 (vindictive, vegetation): New const volatile array constants.
4241 * gdb.base/volatile.exp: Test volatile and const volatile array
4242 types.
4243
aebf9d24
AA
42442014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4245
4246 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4247 target lacks support for awatch, rwatch, or hbreak.
4248
b67a2c6f
YQ
42492014-06-27 Yao Qi <yao@codesourcery.com>
4250
4251 * gdb.multi/dummy-frame-restore.exp: New.
4252 * gdb.multi/dummy-frame-restore.c: New.
4253
aef92902
MM
42542014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4255
4256 * gdb.btrace/gcore.exp: New.
4257
8e9db26e
PA
42582014-06-23 Pedro Alves <palves@redhat.com>
4259
4260 * gdb.base/watchpoint-reuse-slot.c: New file.
4261 * gdb.base/watchpoint-reuse-slot.exp: New file.
4262
70afc5b7
SC
42632014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4264
4265 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4266 progspace's filename in 'info', 'enable' and 'disable' command
4267 tests.
4268
b972bd9c
JK
42692014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4270
4271 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4272 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4273 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4274
125f8a3d
GB
42752014-06-20 Gary Benson <gbenson@redhat.com>
4276
4277 * gdb.arch/i386-avx.exp: Fix include file location.
4278 * gdb.arch/i386-sse.exp: Likewise.
4279
3ed9baed
IB
42802014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4281
4282 * gdb.dlang/expression.exp: New file.
4283
034f788c
PA
42842014-06-19 Pedro Alves <palves@redhat.com>
4285
4286 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4287 out from ...
4288 (top level): ... here. Iterate running tests under different
4289 scheduler-locking settings.
4290
45371d0c
LM
42912014-06-18 Luis Machado <lgustavo@codesourcery.com>
4292
4293 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4294 to DW_FORM_addr and use non-zero addresses.
4295
5d376983
SC
42962014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4297
4298 PR gdb/17017
4299 * gdb.python/py-xmethods.cc: Add global function call counters and
4300 increment them in their respective functions. Remove "cout"
4301 statements.
4302 * gdb.python/py-xmethods.exp: Make tests check the global function
4303 call counters instead of depending on inferior IO.
4304
a1aa2221
LM
43052014-06-18 Don Breazeal <donb@codesourcery.com>
4306
4307 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4308 Deleted procedure.
4309 (explicit_fork_parent_follow): Deleted procedure.
4310 (explicit_fork_child_follow): Deleted procedure.
4311 (test_follow_fork): New procedure.
4312 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4313 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4314 procedure calls.
4315
0fc05997
YQ
43162014-06-17 Yao Qi <yao@codesourcery.com>
4317
4318 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4319 CP1252.
4320
70795c52
LM
43212014-06-17 Luis Machado <lgustavo@codesourcery.com>
4322
4323 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4324 Initialize ptr and S explicitly.
4325 (skip_type_update_when_not_use_rtti_test): Likewise.
4326
6be47f0c
KS
43272014-06-16 Keith Seitz <keiths@redhat.com>
4328
4329 PR mi/15863
4330 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4331 the inferior is started.
4332
d03de421
PA
43332014-06-16 Pedro Alves <palves@redhat.com>
4334
4335 * gdb.base/break-main-file-remove-fail.c: New file.
4336 * gdb.base/break-main-file-remove-fail.exp: New file.
4337 * gdb.base/break-unload-file.exp: Use build_executable instead of
4338 prepare_for_testing.
4339 (test_break): New parameter "initial_load". Handle it.
4340 (top level): Add initial_load cmdline/file axis.
4341
f9579b99
TT
43422014-06-12 Tom Tromey <tromey@redhat.com>
4343
4344 * gdb.base/completion.exp: Don't use directory name in test.
4345
3657956b
GB
43462014-06-09 Gary Benson <gbenson@redhat.com>
4347
4348 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4349 separate the always-available ANSI-standard signals from the
4350 signals that require checking.
4351 (main): Likewise.
4352 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4353 Likewise.
4354 (main): Likewise.
4355
4186eb54
KS
43562014-06-07 Keith Seitz <keiths@redhat.com>
4357
4358 Revert:
4359 PR c++/16253
4360 * gdb.cp/var-tag.cc: New file.
4361 * gdb.cp/var-tag.exp: New file.
4362 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4363 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4364 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4365 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4366
25326a28 43672014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4368
4369 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4370
829155c9
PA
43712014-06-06 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4374 in target debug output instead of looking at RSP packets,
4375 disabling the test on any target that uses hardware stepping.
4376 Update comments.
4377
61c8d22e
PA
43782014-06-06 Pedro Alves <palves@redhat.com>
4379
4380 * gdb.base/break-unload-file.exp: Fix typo.
4381
d9a47287
YQ
43822014-06-06 Yao Qi <yao@codesourcery.com>
4383
4384 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4385 from "jit_function" to "^jit_function".
4386
e5e01dbf
YQ
43872014-06-06 Yao Qi <yao@codesourcery.com>
4388
4389 * gdb.base/async.c (foo): Add one statement.
4390 * gdb.base/async.exp: Get the next instruction address and
4391 match the output of "nexti" by instruction address. Match
4392 the hex address in the output of "finish".
4393
73ba372c
GB
43942014-06-06 Gary Benson <gbenson@redhat.com>
4395
4396 * gdb.base/call-signals.c: Remove preprocessor conditionals
4397 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4398 SIGSEGV and SIGTERM.
4399 * gdb.base/sigall.c: Likewise.
4400 * gdb.base/unwindonsignal.c: Likewise.
4401 * gdb.reverse/sigall-reverse.c: Likewise.
4402
831517df
YQ
44032014-06-06 Yao Qi <yao@codesourcery.com>
4404
4405 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4406 readable, skip the test.
4407
b8b91e98
YQ
44082014-06-06 Yao Qi <yao@codesourcery.com>
4409
4410 * gdb.threads/staticthreads.c (thread_function): Move the line
4411 setting breakpoint on forward.
4412 * gdb.threads/staticthreads.exp: Update comments.
4413
fb934770
LC
44142014-06-05 Ludovic Courtès <ludo@gnu.org>
4415
4416 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4417 "history-append! type error".
4418
6ef284bd
SM
44192014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4420
4421 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4422 erroneous dprintf expected input.
4423
a872e241
DE
44242014-06-04 Doug Evans <xdje42@gmail.com>
4425
4426 * gdb.guile/scm-generics.exp: Delete.
4427
16f691fb
DE
44282014-06-04 Doug Evans <xdje42@gmail.com>
4429
4430 * gdb.guile/scm-breakpoint.exp: Update.
4431 Add tests for breakpoint registration.
4432
012370f6
TT
44332014-06-04 Tom Tromey <tromey@redhat.com>
4434
4435 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4436 VLA-in-union.
4437 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4438 inner_vla_struct, vla_union types. Initialize objects of those
4439 types and compute their sizes.
4440
9f5a4cef
HZ
44412014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4442 Hui Zhu <hui@codesourcery.com>
4443
4444 * gdb.base/fileio.exp: Add test for shell not available as well as
4445 available.
4446 * gdb.base/fileio.c (test_system): Check for shell twice.
4447
90a45c4d
YQ
44482014-06-04 Yao Qi <yao@codesourcery.com>
4449
4450 * gdb.base/auto-connect-native-target.exp: Remove redundant
4451 space from the regexp pattern.
4452
70017e41
YQ
44532014-06-04 Yao Qi <yao@codesourcery.com>
4454
4455 * gdb.base/default.exp: Replace "child" with "native" in
4456 regexp pattern.
4457
883964a7
SC
44582014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4459
4460 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4461 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4462 * gdb.python/py-xmethods.py: Python script supporting the
4463 new testcase and tests.
4464
ef370185
JB
44652014-06-03 Joel Brobecker <brobecker@adacore.com>
4466 Pedro Alves <palves@redhat.com>
4467
4468 PR breakpoints/17000
4469 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4470 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4471
1e2ccb61
BM
44722014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4473
4474 * gdb.base/subst.exp: Add tests to verify partial path matching
4475 output.
4476
c6ec5ab2
PA
44772014-06-03 Pedro Alves <palves@redhat.com>
4478
4479 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4480 target that doesn't use software single-stepping.
4481
835c559f
PA
44822014-06-03 Pedro Alves <palves@redhat.com>
4483
4484 PR breakpoints/17000
4485 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4486 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4487
06eb1586
DE
44882014-06-02 Doug Evans <xdje42@gmail.com>
4489
4490 * gdb.guile/scm-parameter.exp: New file.
4491
e698b8c4
DE
44922014-06-02 Doug Evans <xdje42@gmail.com>
4493
4494 * gdb.guile/scm-cmd.c: New file.
4495 * gdb.guile/scm-cmd.exp: New file.
4496
ded03782
DE
44972014-06-02 Doug Evans <xdje42@gmail.com>
4498
4499 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4500 pretty-printer lookup.
4501 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4502 (make-pp_s-printer): Call it.
4503 (make-pretty-printer-from-dict): New function.
4504 (lookup-pretty-printer-maker-from-dict): New function.
4505 (*pretty-printer*): Simplify.
4506 (make-objfile-pp_s-printer): New function.
4507 (install-objfile-pretty-printers!): New function.
4508 (make-progspace-pp_s-printer): New function.
4509 (install-progspace-pretty-printers!): New function.
4510 * gdb.guile/scm-progspace.c: New file.
4511 * gdb.guile/scm-progspace.exp: New file.
4512
41fac0cf
PA
45132014-06-02 Pedro Alves <palves@redhat.com>
4514
4515 * gdb.base/dprintf-bp-same-addr.c: New file.
4516 * gdb.base/dprintf-bp-same-addr.exp: New file.
4517
96ae5695
EBM
45182014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4519
4520 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4521 * gdb.arch/powerpc-power.s: Likewise.
4522
da02b3a8
JB
45232014-06-02 Joel Brobecker <brobecker@adacore.com>
4524
4525 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4526
c72b2e7b
YQ
45272014-06-01 Yao Qi <yao@codesourcery.com>
4528
4529 * gdb.base/watchpoint.exp (test_watch_location): Check null
4530 pointer can be dereferenced. If not, do the test, otherwise
4531 skip it.
4532
53e8a631
AB
45332014-05-30 Andrew Burgess <aburgess@broadcom.com>
4534
4535 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4536 results.
4537 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4538
938f0e2f
AB
45392014-05-30 Andrew Burgess <aburgess@broadcom.com>
4540
4541 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4542 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4543 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4544 * gdb.arch/amd64-invalid-stack-top.c: New file.
4545 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4546
9ba6657a
PA
45472014-05-30 Pedro Alves <palves@redhat.com>
4548
4549 PR breakpoints/17000
4550 * gdb.base/sss-bp-on-user-bp.c: New file.
4551 * gdb.base/sss-bp-on-user-bp.exp: New file.
4552
522c09bf
DB
45532014-05-30 David Blaikie <dblaikie@gmail.com>
4554
4555 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4556 gnu_inline semantics via attribute.
4557 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4558 source explicitly specifies the required semantics.
4559
bf4ef81e
MR
45602014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4561
4562 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4563
329ea579
PA
45642014-05-29 Pedro Alves <palves@redhat.com>
4565 Tom Tromey <tromey@redhat.com>
4566
4567 * gdb.base/async-shell.exp: Don't enable target-async.
4568 * gdb.base/async.exp
4569 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4570 parameter. Adjust.
4571 (top level): Don't test with "target-async".
4572 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4573 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4574 * gdb.base/inferior-died.exp: Don't enable target-async.
4575 * gdb.base/interrupt-noterm.exp: Likewise.
4576 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4577 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4578 * gdb.mi/mi-nonstop.exp: Likewise.
4579 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4580 * gdb.mi/mi-nsintrall.exp: Likewise.
4581 * gdb.mi/mi-nsmoribund.exp: Likewise.
4582 * gdb.mi/mi-nsthrexec.exp: Likewise.
4583 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4584 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4585 * gdb.python/py-evsignal.exp: Don't enable target-async.
4586 * gdb.python/py-evthreads.exp: Likewise.
4587 * gdb.python/py-prompt.exp: Likewise.
4588 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4589 * gdb.server/solib-list.exp: Don't enable target-async.
4590 * gdb.threads/thread-specific-bp.exp: Likewise.
4591 * lib/mi-support.exp: Adjust to use mi-async.
4592
fd664c91
PA
45932014-05-29 Pedro Alves <palves@redhat.com>
4594
4595 PR gdb/13860
4596 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4597 reason, even in sync mode.
4598
251bde03
PA
45992014-05-29 Pedro Alves <palves@redhat.com>
4600 Hui Zhu <hui@codesourcery.com>
4601
4602 PR PR15693
4603 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4604 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4605 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4606 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4607
7f3c0343
JB
46082014-05-28 Joel Brobecker <brobecker@adacore.com>
4609
4610 * config/monitor.exp (gdb_target_monitor): Replace use of
4611 "set remotebaud" by "set serial baud".
4612
b2715b27
AW
46132014-05-26 Andy Wingo <wingo@igalia.com>
4614
4615 * gdb.guile/scm-breakpoint.exp:
4616 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4617 properties instead of gdb-object-properties.
4618
498a4489
YQ
46192014-05-26 Yao Qi <yao@codesourcery.com>
4620
4621 * gdb.server/no-thread-db.exp: Specify source file name
4622 explicitly when setting a breakpoint.
4623
589fdceb
MM
46242014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4625
4626 * gdb.btrace/vdso.c: New.
4627 * gdb.btrace/vdso.exp: New.
4628
e9089e05
MM
46292014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4630
4631 * gdb.base/gcore.exp (capture_command_output): Move ...
4632 * lib/gdb.exp (capture_command_output): ... here.
4633
67b5c0c1
MM
46342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4635
4636 * gdb.btrace/data.exp: Test memory access during btrace replay.
4637
a2199296
SM
46382014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4639
4640 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4641
17b2616c
PA
46422014-05-21 Pedro Alves <palves@redhat.com>
4643
4644 PR gdb/13860
4645 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4646 (top level): Test that output related to execution commands is
4647 sent to the console with CLI commands, but not with MI commands.
4648 Test that breakpoint events are always mirrored to the console.
4649 Also expect the new source line to be output after a "next" in
4650 async mode too. Make it a pass/fail test.
4651 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4652 output.
4653 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4654
5166082f
PA
46552014-05-21 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4658 Use them to test variations of "list" after reaching a breakpoint.
4659 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4660 Test "list" with listsize 10 after reaching a breakpoint.
4661 * gdb.python/python.exp (decode_line current location line
4662 number): Adjust expected line number.
4663
2f25d70f
SM
46642014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4665
4666 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4667 behavior for $args, pass it directly to "run".
4668
ff604a67
MR
46692014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4670
4671 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4672 30000 to 65536.
4673
6a3cb8e8
PA
46742014-05-21 Pedro Alves <palves@redhat.com>
4675
4676 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4677 auto-connect-native-target off".
4678 * gdb.base/auto-connect-native-target.c: New file.
4679 * gdb.base/auto-connect-native-target.exp: New file.
4680
4ebfc96e
PA
46812014-05-21 Pedro Alves <palves@redhat.com>
4682
4683 * gdb.base/default.exp: Test "target native" instead of "target
4684 child".
4685
36d46afb
MW
46862014-05-21 Mark Wielaard <mjw@redhat.com>
4687
4688 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4689
5876f503
JK
46902014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4691
4692 Fix TLS access for -static -pthread.
4693 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4694 <HAVE_TLS> (thread_function, main): Initialize it.
4695 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4696 Add clean_restart.
4697 <$have_tls != "">: Check TLSVAR.
4698
0256a6ac
PA
46992014-05-21 Pedro Alves <palves@redhat.com>
4700
4701 * gdb.base/dcache-line-read-error.c: New.
4702 * gdb.base/dcache-line-read-error.exp: New.
4703
936d2992
PA
47042014-05-20 Pedro Alves <palves@redhat.com>
4705
4706 * gdb.base/compare-sections.c: New file.
4707 * gdb.base/compare-sections.exp: New file.
4708
802e8e6d
PA
47092014-05-20 Pedro Alves <palves@redhat.com>
4710
4711 * gdb.base/break-idempotent.c: New file.
4712 * gdb.base/break-idempotent.exp: New file.
4713
e59fa00f
MM
47142014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4715
4716 * gdb.btrace/nohist.exp: New.
4717
8b696e31
YQ
47182014-05-20 Yao Qi <yao@codesourcery.com>
4719
4720 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4721 gdb.reverse directory and gdb_reverse_timeout exists in board
4722 setting.
4723 * README: Document gdb_reverse_timeout.
4724
73c9764f
YQ
47252014-05-20 Yao Qi <yao@codesourcery.com>
4726
4727 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4728 'test_file_name'. Treat args as a string instead of a list.
4729 (gdb_init): Rename argument 'args' by 'test_file_name'.
4730
f1f4348a
JK
47312014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4732
4733 * gdb.arch/powerpc-power.exp: New file.
4734 * gdb.arch/powerpc-power.s: New file.
4735
0dbe70ce
DE
47362014-05-16 Doug Evans <dje@google.com>
4737
4738 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4739 * gdb.base/completion.exp: Check that all expected files exist
4740 before doing file completion.
0dbe70ce 4741
8d551b02
DE
47422014-05-16 Doug Evans <dje@google.com>
4743
4744 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4745 Update.
4746 (do_syscall_tests_without_xml): Update.
4747
73eb7709
PA
47482014-05-16 Pedro Alves <palves@redhat.com>
4749
4750 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4751 instead of "unknown output after running".
4752
3fae92fc
YQ
47532014-05-16 Yao Qi <yao@codesourcery.com>
4754
4755 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4756 file1.txt from host at the end.
4757 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4758
c2b2ccc5
DE
47592014-05-15 Doug Evans <dje@google.com>
4760
4761 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4762 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4763 loading file. Add test for TU lookup.
4764
8c217a4b
SM
47652014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4766
4767 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4768 calling "-exec-arguments" or "set args" before running the
4769 inferior.
4770
3deb39c6
SM
47712014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4772
4773 * lib/mi-support.exp (mi_expect_stop): Expect message for
4774 inferiors that exit with non-zero exit code.
4775
71a79f8c
YQ
47762014-05-14 Yao Qi <yao@codesourcery.com>
4777
4778 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4779 match absolute path on remote host.
4780 (test_file_list_exec_source_files): Remove "/" from the
4781 pattern.
4782
f23fcd46
YQ
47832014-05-14 Yao Qi <yao@codesourcery.com>
4784
4785 * boards/local-remote-host-notty.exp (${board}_file): New
4786 proc.
4787
9404b58f
KM
47882014-05-07 Kyle McMartin <kyle@redhat.com>
4789
4790 Pushed by Joel Brobecker <brobecker@adacore.com>.
4791 * gdb.arch/aarch64-atomic-inst.c: New file.
4792 * gdb.arch/aarch64-atomic-inst.exp: New file.
4793
5e45f04c
YQ
47942014-05-07 Yao Qi <yao@codesourcery.com>
4795
4796 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4797 in current context" too.
4798
c888a17d
KS
47992014-05-05 Keith Seitz <keiths@redhat.com>
4800
4801 * gdb.linespec/ls-dollar.exp: Add test for linespec
4802 file:convenience_variable.
4803
290a839c
YQ
48042014-05-05 Yao Qi <yao@codesourcery.com>
4805
4806 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4807 traceframes into tfile and ctf trace files. Read data from
4808 trace file and test collected data.
4809 (gdb_collect_locals_test): Likewise.
4810 (gdb_unavailable_registers_test): Likewise.
4811 (gdb_unavailable_floats): Likewise.
4812 (gdb_collect_globals_test): Likewise.
4813 (top-level): Append "ctf" to trace_file_targets if GDB
4814 supports.
4815
b5262cd0
YQ
48162014-05-05 Yao Qi <yao@codesourcery.com>
4817
4818 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4819 code to ...
4820 (gdb_collect_args_test_1): ... it. New proc.
4821 (gdb_collect_locals_test): Move some code to ...
4822 (gdb_collect_locals_test_1): ... it. New proc.
4823 (gdb_unavailable_registers_test): Move some code to ...
4824 (gdb_unavailable_registers_test_1): ... it. New proc.
4825 (gdb_unavailable_floats): Move some code to ...
4826 (gdb_unavailable_floats_1): ... it. New proc.
4827
30a1e6cc
SDJ
48282014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4829
4830 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4831 probes to test for bitness recognition.
4832 * gdb.arch/amd64-stap-optional-prefix.exp
4833 (test_probe_value_without_reg): New procedure.
4834 Add code to test for different kinds of bitness.
4835
f33da99a
SDJ
48362014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4837
4838 PR breakpoints/16889
4839 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4840 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4841
5b80f00d
PA
48422014-05-01 Pedro Alves <palves@redhat.com>
4843
4844 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4845 gdb_file_cmd if no file is specified.
4846 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4847 last_loaded_file to set the remote exec-file.
4848
f8c2a73c
PA
48492014-05-01 Pedro Alves <palves@redhat.com>
4850
4851 * boards/local-remote-host.exp: New file.
4852
be6e8ac7
PA
48532014-05-01 Pedro Alves <palves@redhat.com>
4854
4855 * boards/local-remote-host.exp: Rename to ...
4856 * boards/local-remote-host-notty.exp: ... this.
4857
cac0dc8f
JB
48582014-04-28 Joel Brobecker <brobecker@adacore.com>
4859
4860 * gdb.ada/dyn_arrayidx: New testcase.
4861
9730e6cc
YQ
48622014-04-26 Yao Qi <yao@codesourcery.com>
4863
4864 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4865 and compute the length of function main. Save it in
4866 $main_length.
4867 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4868 (top-level): Use gdb_compile to compile objects into
4869 executable and restart GDB. Remove invocation to
4870 prepare_for_testing.
4871
7ae1a6a6
PA
48722014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4873 Pedro Alves <palves@redhat.com>
4874
4875 PR server/16255
4876 * gdb.multi/multi-attach.c: New file.
4877 * gdb.multi/multi-attach.exp: New file.
4878
4082afcc
PA
48792014-04-25 Pedro Alves <palves@redhat.com>
4880
4881 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4882 user.
4883 (top level): Test that "set remote conditional-breakpoints-packet
4884 off" works as intended.
4885 * gdb.base/dprintf.exp: Test that "set remote
4886 breakpoint-commands-packet off" works as intended.
4887 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4888 New function.
4889 (top level): Call it.
4890 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4891 remote fast-tracepoints-packet off" works as intended.
4892 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4893 * lib/gdb.exp (gdb_is_target_remote): ... here.
4894
2abc3f8d
DB
48952014-04-24 David Blaikie <dblaikie@gmail.com>
4896
4897 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4898 ensure clang would not discard them.
4899 * gdb.base/gdbvars.c: Ditto.
4900 * gdb.base/memattr.c: Ditto.
4901 * gdb.base/whatis.c: Ditto.
4902 * gdb.python/py-prettyprint.c: Ditto.
4903 * gdb.trace/actions.c: Ditto.
4904 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4905 ensure clang would not discard it.
4906
bfd39632
DB
49072014-04-24 David Blaikie <dblaikie@gmail.com>
4908
4909 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4910 clang to emit the full definition of type required by the test
4911 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4912
22842ff6
DB
49132014-04-24 David Blaikie <dblaikie@gmail.com>
4914
4915 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4916 coax Clang into emitting the definition of the type.
4917 * gdb.cp/pr10728-x.h (y): Ditto.
4918 * gdb.cp/pr10728-y.cc (y): Ditto.
4919
c2e827ad
DB
49202014-04-24 David Blaikie <dblaikie@gmail.com>
4921
4922 * gdb.base/label.exp: XFAIL label related tests under Clang.
4923 * gdb.cp/cplabel.exp: Ditto.
4924 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4925 under Clang those using labels.
4926
4c2d33e7
YQ
49272014-04-25 Yao Qi <yao@codesourcery.com>
4928
4929 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4930 double_label.
4931 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4932 partial_label and double_label.
4933
56083b99
DB
49342014-04-24 David Blaikie <dblaikie@gmail.com>
4935
4936 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4937
25d4e99d
DB
49382014-04-24 David Blaikie <dblaikie@gmail.com>
4939
4940 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4941 of the function to work across GCC and Clang.
4942 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4943 pointer types (const void ** const V void **).
4944
01f9f808
MS
49452014-04-24 Michael Sturm <michael.sturm@mintel.com>
4946 Walfred Tedeschi <walfred.tedeschi@intel.com>
4947
4948 * Makefile.in (EXECUTABLES): Added i386-avx512.
4949 * gdb.arch/i386-avx512.c: New file.
4950 * gdb.arch/i386-avx512.exp: Likewise.
4951
4b48d439
KS
49522014-04-23 Keith Seitz <keiths@redhat.com>
4953
4954 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4955 (mi_make_breakpoint_table): New procedure.
4956 (mi_create_breakpoint): Use mi_make_breakpoint
4957 and return the result.
4958 (mi_make_breakpoint): New procedure.
4959 (mi_build_kv_pairs): New procedure.
4960
4961 * gdb.mi/mi-break.exp: Remove unused globals,
4962 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4963 All callers updated.
4964 * gdb.mi/mi-dprintf.exp: Use variable to track command
4965 number.
4966 Update all callers of mi_create_breakpoint and use
4967 mi_make_breakpoint_table.
4968 Remove any unused global variables.
4969 * gdb.mi/mi-nonstop.exp: Likewise.
4970 * gdb.mi/mi-nsintrall.exp: Likewise.
4971 * gdb.mi/mi-nsmoribund.exp: Likewise.
4972 * gdb.mi/mi-nsthrexec.exp: Likewise.
4973 * gdb.mi/mi-reverse.exp: Likewise.
4974 * gdb.mi/mi-simplerun.exp: Likewise.
4975 * gdb.mi/mi-stepn.exp: Likewise.
4976 * gdb.mi/mi-syn-frame.exp: Likewise.
4977 * gdb.mi/mi-until.exp: Likewise.
4978 * gdb.mi/mi-var-cp.exp: Likewise.
4979 * gdb.mi/mi-var-display.exp: Likewise.
4980 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4981 * gdb.mi/mi2-var-child.exp: Likewise.
4982 * gdb.mi/mi-vla-c99.exp: Likewise.
4983 * lib/mi-support.exp: Likewise.
4984
4985 From Ian Lance Taylor <iant@cygnus.com>:
4986 * lib/gdb.exp (parse_args): New procedure.
4987
08351840
PA
49882014-04-23 Pedro Alves <palves@redhat.com>
4989
4990 * gdb.base/break-unload-file.c: New file.
4991 * gdb.base/break-unload-file.exp: New file.
4992 * gdb.base/sym-file-lib.c (baz): New function.
4993 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4994 field.
4995 (load): Store the segment's mapped size.
4996 (unload): New function.
4997 (unload_shlib): New function.
4998 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4999 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5000 set a breakpoint at baz, and call it.
5001 * gdb.base/sym-file.exp: New tests for stale breakpoint
5002 instructions.
5003
076855f9
PA
50042014-04-23 Pedro Alves <palves@redhat.com>
5005
5006 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5007 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5008 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5009 * gdb.base/hbreak-unmapped.c: New file.
5010 * gdb.base/hbreak-unmapped.exp: New file.
5011 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5012 * lib/gdb.exp (gdb_is_target_remote): ... here.
5013
483805cf
PA
50142014-04-22 Pedro Alves <palves@redhat.com>
5015
5016 * gdb.base/consecutive-step-over.c: New file.
5017 * gdb.base/consecutive-step-over.exp: New file.
5018
06d97543
PA
50192014-04-22 Pedro Alves <palves@redhat.com>
5020
5021 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5022 instead of send_gdb/gdb_expect.
5023
b4429ea2
YQ
50242014-04-22 Yao Qi <yao@codesourcery.com>
5025
5026 * lib/trace-support.exp (generate_tracefile): New procedure.
5027 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5028 return 0.
5029 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5030 if generate_tracefile returns 1.
5031
51d48146
PA
50322014-04-18 Tom Tromey <palves@redhat.com>
5033 Pedro alves <tromey@redhat.com>
5034
5035 PR backtrace/15558
5036 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5037 with a backtrace limit.
5038 * gdb.python/py-frame-inline.exp: Test running to an inline
5039 function with a backtrace limit, and printing the newest frame.
5040 * gdb.python/py-frame-inline.c (main): Call f.
5041
bd1dce5f
MS
50422014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5043
5044 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5045
40d1a503
MS
50462014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5047
5048 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5049 Drop prefix from unsupported source file path.
5050
389b98f7
YQ
50512014-04-17 Yao Qi <yao@codesourcery.com>
5052
5053 * lib/gdb.exp (with_target_charset): New proc.
5054 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5055 with_target_charset.
5056 (test_print_strings): Likewise.
5057 (test_repeat_bytes): Likewise.
5058 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5059 for some tests.
5060
22869d73
KS
50612014-04-16 Keith Seitz <keiths@redhat.com>
5062
5063 PR gdb/15827
5064 * gdb.dwarf2/corrupt.c: New file.
5065 * gdb.dwarf2/corrupt.exp: New file.
5066
c4f87ca6
KS
50672014-04-16 Keith Seitz <keiths@redhat.com>
5068
5069 PR c++/16597
5070 * gdb.cp/namelessclass.cc: New file.
5071 * gdb.cp/namelessclass.exp: New file.
5072 * gdb.cp/namelessclass.S: New file.
5073
ab19de87
DE
50742014-04-16 Doug Evans <dje@google.com>
5075
5076 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5077 Add comment.
5078 (gdbserver_default_get_comm_port): New function.
5079 (gdbserver_start): Check if board file provided
5080 "gdbserver,get_comm_port" and use it if so.
5081 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5082 (gdb,socketport): Set to "stdio".
5083 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5084 (stdio_gdbserver_template): Delete.
5085 (${board}_get_remote_address): Update.
5086 (${board}_build_remote_cmd): Delete.
5087 (${board}_get_comm_port): New function.
5088 (${board}_spawn): Update.
5089 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5090 Delete.
5091 (${board}_get_remote_address): Update.
5092 (${board}_get_comm_port): New function.
5093
fc98a809
AB
50942014-04-16 Andrew Burgess <aburgess@broadcom.com>
5095
5096 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5097 appearing in any order.
5098
87fd9e6e
DE
50992014-04-15 Doug Evans <dje@google.com>
5100
5101 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5102 uninitialized value of "description".
5103
099fc3ea
KS
51042014-04-15 Keith Seitz <keiths@redhat.com>
5105
5106 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5107 Remove unused globals.
5108 (test_running_the_program): Likewise.
5109 (test_controlled_execution): Likewise.
5110 (test_controlling_breakpoints): Likewise.
5111 (test_program_termination): Likewise.
5112
5da151d4
KS
51132014-04-15 Keith Seitz <keiths@redhat.com>
5114
5115 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5116 unused globals.
5117 (test_rbreak_creation_and_listing): Likewise.
5118 (test_ignore_count): Likewise.
5119 (test_error): Likewise.
5120
35e5d2f0
PA
51212014-04-15 Pedro Alves <palves@redhat.com>
5122
5123 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5124 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5125 sym-file-loader.c.
5126 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5127 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5128 to sym-file-loader.c.
5129 (struct library): Forward declare.
5130 (load_shlib, lookup_function): Change prototypes.
5131 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5132 (translate_offset): Remove declarations.
5133 (get_text_addr): New declaration.
5134 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5135 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5136 sym-file-loader.h.
5137 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5138 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5139 here from sym-file-loader.h.
5140 (struct library): New structure.
5141 (load_shlib, lookup_function): Change prototypes and adjust to
5142 work with a struct library.
5143 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5144 (translate_offset): Make static.
5145 (get_text_addr): New function.
5146 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5147
eb4c1710
PA
51482014-04-15 Pedro Alves <palves@redhat.com>
5149
5150 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5151
2d1baf52
PA
51522014-04-15 Pedro Alves <palves@redhat.com>
5153
5154 * gdb.base/sym-file-loader.c: Include <limits.h>.
5155 (SELF_LINK): New define.
5156 (get_origin): New function.
5157 (load_shlib): Use it.
5158 * gdb.base/sym-file.exp: Don't early return if the target is
5159 remote. Use runto_main, and issue fail is that fails. Use
5160 gdb_load_shlibs.
5161 (shlib_name): Delete.
5162 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5163
7dd6df01
PA
51642014-04-15 Pedro Alves <palves@redhat.com>
5165
5166 * gdb.base/sym-file.exp: Remove regex characters from test
5167 message. Don't refer to breakpoint numbers in test messages.
5168
b50c8614
KS
51692014-04-14 Keith Seitz <keiths@redhat.com>
5170
5171 PR c++/16253
5172 * gdb.cp/var-tag.cc: New file.
5173 * gdb.cp/var-tag.exp: New file.
5174 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5175 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5176 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5177 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5178
3d567982
TT
51792014-04-14 Tom Tromey <tromey@redhat.com>
5180
5181 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5182 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5183 type.
5184 * gdb.cp/enum-class.exp: New file.
5185 * gdb.cp/enum-class.cc: New file.
5186
0626fc76
TT
51872014-04-14 Tom Tromey <tromey@redhat.com>
5188
5189 * gdb.dwarf2/enum-type.exp: New file.
5190
dca325b3
SA
51912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5192
5193 * gdb.mi/mi-vla-c99.exp: New file.
5194 * gdb.mi/vla.c: New file.
5195
5854b38a
SA
51962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5197
5198 * gdb.base/vla-datatypes.c: New file.
5199 * gdb.base/vla-datatypes.exp: New file.
5200
463bb957
SA
52012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5202
5203 * gdb.base/vla-ptr.c: New file.
5204 * gdb.base/vla-ptr.exp: New file.
5205
3dd170be
SA
52062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5207
5208 * gdb.dwarf2/count.exp: New file.
5209
5ecaaa66
SA
52102014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5211
5212 * gdb.base/vla-sideeffect.c: New file.
5213 * gdb.base/vla-sideeffect.exp: New file.
5214
41f1ada5
DB
52152014-04-14 David Blaikie <dblaikie@gmail.com>
5216
5217 * gdb.mi/non-stop.c: Add return value for non-void function return
5218 statement.
5219 * gdb.threads/staticthreads.c: Ditto.
5220
0be03e84
DE
52212014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5222 Doug Evans <xdje42@gmail.com>
5223
5224 * gdb.guile/scm-value.c: Improve test case.
5225 * gdb.guile/scm-value.exp: Add new test.
5226
f180a1fb
DB
52272014-04-11 David Blaikie <dblaikie@gmail.com>
5228
5229 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5230 override Clang's default.
5231
6b662e19
JB
52322014-04-11 Joel Brobecker <brobecker@adacore.com>
5233
5234 Revert the following changes (regressions):
5235
5236 * gdb.base/vla-sideeffect.c: New file.
5237 * gdb.base/vla-sideeffect.exp: New file.
5238
5239 * gdb.dwarf2/count.exp: New file.
5240
5241 * gdb.base/vla-multi.c: New file.
5242 * gdb.base/vla-multi.exp: New file.
5243
5244 * gdb.base/vla-ptr.c: New file.
5245 * gdb.base/vla-ptr.exp: New file.
5246
5247 * gdb.base/vla-datatypes.c: New file.
5248 * gdb.base/vla-datatypes.exp: New file.
5249
5250 * gdb.mi/mi-vla-c99.exp: New file.
5251 * gdb.mi/vla.c: New file.
5252
245a5f0b
KS
52532014-04-11 Keith Seitz <keiths@redhat.com>
5254
5255 PR c++/16675
5256 * gdb.cp/cpsizeof.exp: New file.
5257 * gdb.cp/cpsizeof.cc: New file.
5258
58a84dcf
SA
52592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5260
191a8a90
JB
5261 * gdb.mi/mi-vla-c99.exp: New file.
5262 * gdb.mi/vla.c: New file.
58a84dcf 5263
c8655f75
SA
52642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5265
5266 * gdb.base/vla-datatypes.c: New file.
5267 * gdb.base/vla-datatypes.exp: New file.
5268
024e13b4
SA
52692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5270
5271 * gdb.base/vla-ptr.c: New file.
5272 * gdb.base/vla-ptr.exp: New file.
5273
1a237e0e
SA
52742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5275
5276 * gdb.base/vla-multi.c: New file.
5277 * gdb.base/vla-multi.exp: New file.
5278
504f3432
SA
52792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5280
5281 * gdb.dwarf2/count.exp: New file.
5282
3bce8237
SA
52832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5284
191a8a90
JB
5285 * gdb.base/vla-sideeffect.c: New file.
5286 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5287
322f9c21
YQ
52882014-04-11 Yao Qi <yao@codesourcery.com>
5289
5290 * gdb.base/completion.exp: Check file exists before running tests
5291 on file completion.
5292
d708bcd1
PA
52932014-04-10 Pedro Alves <palves@redhat.com>
5294
5295 * gdb.base/cond-eval-mode.c: New file.
5296 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5297 prepare_for_testing to build the new file. Check result of
5298 runto_main.
5299 (test_break, test_watch): New procedures.
5300 (top level): Use them.
5301
ae1d2761
PM
53022014-04-08 Pierre Muller <muller@sourceware.org>
5303
5304 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5305 Ctrl-V use for mingw hosts.
5306
7af389b8
SC
53072014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5308
5309 * gdb.python/py-value.c: Improve test case.
5310 * gdb.python/py-value.exp: Add new test.
5311
5e703181
DE
53122014-04-07 David Blaikie <dblaikie@gmail.com>
5313
5314 * lib/compiler.c: Identify the clang compiler.
5315 * lib/compiler.cc: Ditto.
5316
9810b410
YQ
53172014-04-03 Yao Qi <yao@codesourcery.com>
5318
5319 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5320
98d1b8dc
AB
53212014-04-01 Anton Blanchard <anton@samba.org>
5322
5323 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5324 messages unique.
5325
3114cea1
AB
53262014-04-01 Anton Blanchard <anton@samba.org>
5327
5328 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5329 prepare_for_testing.
5330
62f7182c
AB
53312014-04-01 Anton Blanchard <anton@samba.org>
5332
5333 * gdb.arch/ppc64-atomic-inst.c: Remove.
5334 * gdb.arch/ppc64-atomic-inst.S: New file.
5335 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5336
770e7fc7
DE
53372014-03-31 Doug Evans <dje@google.com>
5338
5339 * gdb.base/print-symbol-loading-lib.c: New file.
5340 * gdb.base/print-symbol-loading-main.c: New file.
5341 * gdb.base/print-symbol-loading.exp: New file.
5342
46e2bafa
YQ
53432014-03-31 Yao Qi <yao@codesourcery.com>
5344
5345 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5346
8776cfe9
JB
53472014-03-28 Joel Brobecker <brobecker@adacore.com>
5348
5349 * gdb.ada/mi_dyn_arr: New testcase.
5350
5d1ef361
DE
53512014-03-27 Doug Evans <dje@google.com>
5352
5353 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5354
b5bee914
YQ
53552014-03-27 Yao Qi <yao@codesourcery.com>
5356
5357 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5358 if target is nios2-*-*.
5359
0d4d0e77
YQ
53602014-03-26 Yao Qi <yao@codesourcery.com>
5361
5362 * lib/gdb.exp (readline_is_used): New proc.
5363 * gdb.base/completion.exp: Move tests on command complete up.
5364 Skip the rest of tests if readline is not used.
5365 * gdb.ada/complete.exp: Skp the test if readline is not
5366 used.
5367 * gdb.base/filesym.exp: Likewise.
5368 * gdb.base/macscp.exp: Likewise.
5369 * gdb.base/readline-ask.exp: Likewise.
5370 * gdb.base/readline.exp: Likewise.
5371 * gdb.python/py-cmd.exp: Likewise.
5372 * gdb.trace/tfile.exp: Likewise.
5373
29361eee
YQ
53742014-03-26 Yao Qi <yao@codesourcery.com>
5375
5376 * gdb.base/macscp.exp: Fix code format issues.
5377
bc9a5525
UW
53782014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5379
5380 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5381 * gdb.asm/powerpc64le.inc: New file.
5382
d3839ede
PA
53832014-03-25 Pedro Alves <palves@redhat.com>
5384 Doug Evans <dje@google.com>
5385
5386 * gdb.base/source-execution.c: New file.
5387 * gdb.base/source-execution.exp: New file.
5388 * gdb.base/source-execution.gdb: New file.
5389
01672a57
DE
53902014-03-24 Doug Evans <dje@google.com>
5391
5392 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5393 using fission.
5394
88bbeca9
HZ
53952014-03-24 Hui Zhu <hui@codesourcery.com>
5396 Pedro Alves <palves@redhat.com>
5397
5398 PR breakpoints/16101
5399 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5400 test pass/fail messages. Detect missing support for dprintf when
5401 breakpoints are actually inserted.
5402 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5403 breakpoints are actually inserted.
5404 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5405 fails.
5406
d2348791
JK
54072014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5408
5409 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5410
feef67ab
DE
54112014-03-22 Doug Evans <xdje42@gmail.com>
5412
5413 * gdb.python/python.exp (python not supported): Verify multi-line
5414 python command issues an error.
25d743f9 5415 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5416 guile command issues an error.
feef67ab 5417
ecebef6a
MR
54182014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5419
5420 * gdb.threads/thread-specific.exp: Handle the lack of usable
5421 $this_breakpoint and $this_thread.
5422
ccdd1909
HZ
54232014-03-21 Hui Zhu <hui@codesourcery.com>
5424
5425 * gdb.base/attach.exp (do_command_attach_tests): New.
5426
beb460e8
PA
54272014-03-20 Tom Tromey <tromey@redhat.com>
5428 Pedro Alves <palves@redhat.com>
5429
5430 PR cli/15718
5431 * gdb.base/condbreak-call-false.c: New file.
5432 * gdb.base/condbreak-call-false.exp: New file.
5433
40acf43a
PA
54342014-03-20 Pedro Alves <palves@redhat.com>
5435
5436 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5437 Delete.
5438 (block_signals, unblock_signals): Delete.
5439 (child_function_2, main): Remove references to deleted variable
5440 and functions.
5441
9f5e1e02
PA
54422014-03-20 Pedro Alves <palves@redhat.com>
5443
5444 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5445 Use pthread_kill to signal thread 2.
5446 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5447 Adjust to make the test send itself a signal rather than using the
5448 host's "kill" command.
5449
99619bea
PA
54502014-03-20 Pedro Alves <palves@redhat.com>
5451
5452 * gdb.threads/multiple-step-overs.c: New file.
5453 * gdb.threads/multiple-step-overs.exp: New file.
5454 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5455 Adjust expected infrun debug output.
5456
2adfaa28
PA
54572014-03-20 Pedro Alves <palves@redhat.com>
5458
5459 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5460 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5461
31e77af2
PA
54622014-03-20 Pedro Alves <palves@redhat.com>
5463
5464 PR breakpoints/7143
5465 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5466 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5467 of gdb_test_multiple.
5468 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5469 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5470
b9f437de
PA
54712014-03-20 Pedro Alves <palves@redhat.com>
5472
5473 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5474 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5475
05adc73e
PA
54762014-03-19 Pedro Alves <palves@redhat.com>
5477
5478 * gdb.base/async.exp: Remove early return.
5479
6048b950
PA
54802014-03-19 Pedro Alves <palves@redhat.com>
5481
5482 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5483
8bcfb00a
PA
54842014-03-19 Pedro Alves <palves@redhat.com>
5485
5486 * gdb.base/async.exp (test_background): Expect \r\n after
5487 "completed." in the fail pattern.
5488
884e37dc
PA
54892014-03-19 Pedro Alves <palves@redhat.com>
5490
5491 * gdb.base/async.exp (test_background): New procedure.
5492 Use it for all background execution command tests.
5493
148e57e2
PA
54942014-03-19 Pedro Alves <palves@redhat.com>
5495
5496 * gdb.base/async.exp: Use prepare_for_testing.
5497
f48088c7
PA
54982014-03-19 Pedro Alves <palves@redhat.com>
5499
5500 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5501 the same line.
5502
e2f6c966
PA
55032014-03-19 Pedro Alves <palves@redhat.com>
5504
5505 * gdb.base/async.c (main): Add "jump here" and "until here" line
5506 marker comments.
5507 * gdb.base/async.exp (jump_here): New global.
5508 (jump& test): Use it.
5509 (until_here): New global.
5510 (until& test): Use it.
5511
c30568d4
PA
55122014-03-19 Pedro Alves <palves@redhat.com>
5513
5514 * gdb.base/async.exp: Don't frob gdb_protocol.
5515
0172b6a7
DE
55162014-03-18 Doug Evans <xdje42@gmail.com>
5517
5518 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5519 Fix spelling of exec-done-display.
5520
06c868a8
JK
55212014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5522
5523 PR gdb/15358
5524 * gdb.base/gdb-sigterm.c: New file.
5525 * gdb.base/gdb-sigterm.exp: New file.
5526
0c7e1a46
PA
55272014-03-18 Pedro Alves <palves@redhat.com>
5528
5529 PR gdb/13860
5530 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5531 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5532 solib-event.
5533
f7c77d93
JB
55342014-03-17 Joel Brobecker <brobecker@adacore.com>
5535
5536 * gdb.ada/pckd_arr_ren: New testcase.
5537
5a1e8c7a
DE
55382014-03-13 Doug Evans <xdje42@gmail.com>
5539
5540 PR guile/16612
5541 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5542 collect after discarding symbols.
5543
350e1a76
DE
55442014-03-13 Ludovic Courtès <ludo@gnu.org>
5545 Doug Evans <xdje42@gmail.com>
5546
5547 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5548 to history survives a gc.
5549
a69900ae
PA
55502014-03-13 Pedro Alves <palves@redhat.com>
5551
5552 * gdb.base/default.exp: Don't test "target procfs".
5553
5db9f0bd
PA
55542014-03-13 Pedro Alves <palves@redhat.com>
5555
5556 * gdb.base/default.exp: Update "target child" and "target procfs"
5557 tests to not expect "Unix".
5558
b3ccfe11
TT
55592014-03-12 Tom Tromey <tromey@redhat.com>
5560
5561 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5562 New procs. Add target-async tests.
5563 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5564 Add target-async tests.
5565
646f4417
AA
55662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5567
5568 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5569 'func_start' and 'func_end' for the beginning and end of the
5570 function code, respectively.
5571 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5572 'func_end' instead of 'func' and 'main'.
5573
288c211f
AA
55742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5575
5576 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5577 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5578 generate the debug info assembler source.
5579
e0c0f156
AA
55802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5581
5582 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5583 * gdb.dwarf2/arr-subrange.exp: Likewise.
5584 * gdb.dwarf2/dwz.exp: Likewise.
5585 * gdb.dwarf2/method-ptr.exp: Likewise.
5586 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5587 * gdb.dwarf2/subrange.exp: Likewise.
5588 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5589 * gdb.dwarf2/implptrpiece.exp: Likewise.
5590 * gdb.dwarf2/nostaticblock.exp: Likewise.
5591
0e5c4555
AA
55922014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5593
5594 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5595 directory to absolute path name arguments.
5596
5ec18f2b
JG
55972014-03-10 Joel Brobecker <brobecker@adacore.com>
5598
5599 * gdb.ada/tagged_access: New testcase.
5600
847fc4f2
MM
56012014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5602
5603 * gdb.btrace/data.exp: Update expected output.
5604
cc3da688
YQ
56052014-03-06 Yao Qi <yao@codesourcery.com>
5606
5607 * gdb.trace/pr16508.exp: New file.
5608
0f26cec1
PA
56092014-03-05 Pedro Alves <palves@redhat.com>
5610
5611 PR gdb/16575
5612 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5613 procedure.
5614 (top level): Adjust to use it. Add tests that exercise breakpoint
5615 interaction with the code-cache.
5616
7a5a839f
LC
56172014-02-26 Ludovic Courtès <ludo@gnu.org>
5618
5619 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5620 test for 'history-append!'.
5621
31aa7e4e
JB
56222014-02-26 Joel Brobecker <brobecker@adacore.com>
5623
5624 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5625 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5626 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5627 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5628 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5629 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5630
1b588015
JB
56312014-02-26 Joel Brobecker <brobecker@adacore.com>
5632
5633 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5634 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5635 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5636
55426c9d
JB
56372014-02-26 Joel Brobecker <brobecker@adacore.com>
5638
5639 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5640
dc53a7ad
JB
56412014-02-26 Joel Brobecker <brobecker@adacore.com>
5642
5643 * gdb.dwarf2/arr-stride.c: New file.
5644 * gdb.dwarf2/arr-stride.exp: New file.
5645
12ab52e9
PA
56462014-02-26 Pedro Alves <palves@redhat.com>
5647
5648 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5649 that won't ever trigger. Make sure that GDB reports the correct
5650 breakpoint that caused the stop.
5651
849c862e
JK
56522014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5653
5654 PR gdb/16626
5655 * gdb.base/auto-load-script: New file.
5656 * gdb.base/auto-load.c: New file.
5657 * gdb.base/auto-load.exp: New file.
5658
71b7d793
JK
5659 PR gdb/16626
5660 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5661
e2f0d509
JK
56622014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5663
5664 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5665 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5666
50cc37c8
DE
56672014-02-24 Doug Evans <dje@google.com>
5668
5669 * lib/gdb.exp (run_on_host): Log error output if program fails.
5670
ea4758f2
PA
56712014-02-21 Pedro Alves <palves@redhat.com>
5672
5673 * gdb.threads/step-after-sr-lock.c: Rename to ...
5674 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5675 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5676 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5677 ... this.
5678
d7b30f67
SDJ
56792014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5680
5681 PR tdep/16397
5682 * gdb.arch/amd64-stap-special-operands.exp: New file.
5683 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5684 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5685 * gdb.arch/amd64-stap-triplet.S: Likewise.
5686 * gdb.arch/amd64-stap-triplet.c: Likewise.
5687
83deb43f
JB
56882014-02-20 Joel Brobecker <brobecker@adacore.com>
5689
5690 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5691 in .section pseudo-op.
5692
adde2bff
DE
56932014-02-20 lin zuojian <manjian2006@gmail.com>
5694 Joel Brobecker <brobecker@adacore.com>
5695 Doug Evans <xdje42@gmail.com>
5696
5697 PR symtab/16581
5698 * gdb.dwarf2/dw2-icycle.S: New file.
5699 * gdb.dwarf2/dw2-icycle.c: New file.
5700 * gdb.dwarf2/dw2-icycle.exp: New file.
5701
f7bd0f78
SC
57022014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5703
5704 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5705 operations on gdb.Value objects.
5706 * gdb.python/py-value-cc.exp: Add new test to test operations on
5707 gdb.Value objects.
5708
c17ef0d5
DE
57092014-02-18 Doug Evans <dje@google.com>
5710
5711 * Makefile.in (TESTS): New variable.
5712 (expanded_tests, expanded_tests_or_none): New variables
5713 (check-single): Pass $(expanded_tests_or_none) to runtest.
5714 (check-parallel): Only run tests in $(TESTS) if non-empty.
5715 (check/no-matching-tests-found): New rule.
5716 * README: Document TESTS makefile variable.
5717
5dd3176f
DE
57182014-02-18 Doug Evans <dje@google.com>
5719
5720 * Makefile.in (check-parallel): rm -rf outputs temp.
5721
0b10be4f
JK
57222014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5723
5724 Fix "ERROR: no fileid for" in the testsuite.
5725 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5726
85f224e7
DE
57272014-02-12 Doug Evans <dje@google.com>
5728
5729 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5730 (MISCELLANEOUS): New variable.
5731 (clean): rm -rf $(MISCELLANEOUS).
5732 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5733 dwp live in the same directory as symlinks, with each symlink pointed
5734 to a differently named file in a different directory.
5735
149b30ff
DE
57362014-02-11 Doug Evans <dje@google.com>
5737
5738 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5739 of Tcl file commands.
5740
1dfdac32
MK
57412014-02-10 Mark Kettenis <kettenis@gnu.org>
5742
5743 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5744 "kill -SIGUSR1 -1".
5745
aa4fb036
JB
57462014-02-10 Joel Brobecker <brobecker@adacore.com>
5747
5748 * gdb.ada/tick_length_array_enum_idx: New testcase.
5749
ed3ef339
DE
57502014-02-10 Doug Evans <xdje42@gmail.com>
5751
5752 * configure.ac (AC_OUTPUT): Add gdb.guile.
5753 * configure: Regenerate.
5754 * lib/gdb-guile.exp: New file.
5755 * lib/gdb.exp (get_target_charset): New function.
5756 * gdb.base/help.exp: Update expected output from "apropos apropos".
5757 * gdb.guile/Makefile.in: New file.
5758 * gdb.guile/guile.exp: New file.
5759 * gdb.guile/scm-arch.c: New file.
5760 * gdb.guile/scm-arch.exp: New file.
5761 * gdb.guile/scm-block.c: New file.
5762 * gdb.guile/scm-block.exp: New file.
5763 * gdb.guile/scm-breakpoint.c: New file.
5764 * gdb.guile/scm-breakpoint.exp: New file.
5765 * gdb.guile/scm-disasm.c: New file.
5766 * gdb.guile/scm-disasm.exp: New file.
5767 * gdb.guile/scm-equal.c: New file.
5768 * gdb.guile/scm-equal.exp: New file.
5769 * gdb.guile/scm-error.exp: New file.
5770 * gdb.guile/scm-error.scm: New file.
5771 * gdb.guile/scm-frame-args.c: New file.
5772 * gdb.guile/scm-frame-args.exp: New file.
5773 * gdb.guile/scm-frame-args.scm: New file.
5774 * gdb.guile/scm-frame-inline.c: New file.
5775 * gdb.guile/scm-frame-inline.exp: New file.
5776 * gdb.guile/scm-frame.c: New file.
5777 * gdb.guile/scm-frame.exp: New file.
5778 * gdb.guile/scm-generics.exp: New file.
5779 * gdb.guile/scm-gsmob.exp: New file.
5780 * gdb.guile/scm-iterator.c: New file.
5781 * gdb.guile/scm-iterator.exp: New file.
5782 * gdb.guile/scm-math.c: New file.
5783 * gdb.guile/scm-math.exp: New file.
5784 * gdb.guile/scm-objfile-script-gdb.in: New file.
5785 * gdb.guile/scm-objfile-script.c: New file.
5786 * gdb.guile/scm-objfile-script.exp: New file.
5787 * gdb.guile/scm-objfile.c: New file.
5788 * gdb.guile/scm-objfile.exp: New file.
5789 * gdb.guile/scm-ports.exp: New file.
5790 * gdb.guile/scm-pretty-print.c: New file.
5791 * gdb.guile/scm-pretty-print.exp: New file.
5792 * gdb.guile/scm-pretty-print.scm: New file.
5793 * gdb.guile/scm-section-script.c: New file.
5794 * gdb.guile/scm-section-script.exp: New file.
5795 * gdb.guile/scm-section-script.scm: New file.
5796 * gdb.guile/scm-symbol.c: New file.
5797 * gdb.guile/scm-symbol.exp: New file.
5798 * gdb.guile/scm-symtab-2.c: New file.
5799 * gdb.guile/scm-symtab.c: New file.
5800 * gdb.guile/scm-symtab.exp: New file.
5801 * gdb.guile/scm-type.c: New file.
5802 * gdb.guile/scm-type.exp: New file.
5803 * gdb.guile/scm-value-cc.cc: New file.
5804 * gdb.guile/scm-value-cc.exp: New file.
5805 * gdb.guile/scm-value.c: New file.
5806 * gdb.guile/scm-value.exp: New file.
5807 * gdb.guile/source2.scm: New file.
5808 * gdb.guile/types-module.cc: New file.
5809 * gdb.guile/types-module.exp: New file.
5810
7026a7c1
YQ
58112014-02-10 Yao Qi <yao@codesourcery.com>
5812
5813 PR testsuite/16543
5814 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5815 * configure: Regenerated.
5816 * Makefile.in: New file.
5817
6c466447
AS
58182014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5819
5820 * gdb.python/py-framefilter.exp: Fix typo.
5821
6e854735
YQ
58222014-02-08 Yao Qi <yao@codesourcery.com>
5823
5824 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5825 that no =breakpoint-modified is emitted when breakpoints are
5826 modified through MI commands.
5827
d137e6dc
PA
58282014-02-07 Pedro Alves <pedro@codesourcery.com>
5829 Pedro Alves <palves@redhat.com>
5830
5831 * gdb.threads/step-after-sr-lock.c: New file.
5832 * gdb.threads/step-after-sr-lock.exp: New file.
5833
b5ee5a50
PA
58342014-02-07 Pedro Alves <palves@redhat.com>
5835
5836 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5837
3c77faf3
JK
58382014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5839
5840 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5841 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5842
6dddc817
DE
58432014-02-06 Doug Evans <xdje42@gmail.com>
5844
5845 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5846 output.
5847
5848 * gdb.gdb/python-interrupts.exp: New file.
5849
de7b2893
YQ
58502014-02-05 Yao Qi <yao@codesourcery.com>
5851
5852 * gdb.trace/report.exp (use_collected_data): Test the output
5853 of "info threads" and "info inferiors".
5854
66d032ac
YQ
58552014-02-05 Yao Qi <yao@codesourcery.com>
5856
5857 Revert this patch:
5858
5859 2013-05-24 Yao Qi <yao@codesourcery.com>
5860
5861 * gdb.trace/tfile.exp: Test inferior and thread.
5862
591a12a1
UW
58632014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5864
5865 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5866 on a function.
5867 * gdb.base/step-bt.c: Call hello via function pointer to make
5868 sure its first instruction is executed on powerpc64le-linux.
5869
0ff3e01f
UW
58702014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5871
5872 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5873
084ee545
UW
58742014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5875
5876 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5877 of the test patterns for use on little-endian systems.
5878
6ed14ff3
UW
58792014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5880
5881 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5882 (decimal_vector): Fix for little-endian.
5883
401e27fd
JM
58842014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5885
5886 * gdb.arch/sparc-sysstep.exp: New file.
5887 * gdb.arch/sparc-sysstep.c: Likewise.
5888
5889 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5890
8b924729
EBM
58912014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5892
5893 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5894
fb151210
JB
58952014-01-23 Tom Tromey <tromey@redhat.com>
5896
5897 * gdb.ada/array_char_idx: New testcase.
5898
0740f8d8
TT
58992014-01-23 Tom Tromey <tromey@redhat.com>
5900
5901 PR python/16487:
5902 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5903 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5904 classes.
5905
21909fa1
TT
59062014-01-23 Tom Tromey <tromey@redhat.com>
5907
5908 PR python/16491:
5909 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5910 string from an inferior frame.
5911 * gdb.python/py-framefilter-mi.exp: Update.
5912
87ce2a04
DE
59132014-01-22 Doug Evans <dje@google.com>
5914
5915 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5916
237b092b
AA
59172014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5918
5919 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5920
d674a709
AA
59212014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5922
5923 * gdb.trace/entry-values.exp: Remove excess space character from
5924 regex patterns. Handle s390 call instruction.
5925
20fa3390
AA
59262014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5927
5928 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5929 define "*_start" label. Make "name" static.
5930 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5931 ${name} by references to ${name}_start.
5932
78466714
AA
59332014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5934
5935 * gdb.base/info-macros.exp: Remove "debug" from the compile
5936 options.
5937
ec9f644a
IB
59382014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5939
5940 * gdb.dlang/demangle.exp: New file.
5941
94b1b47e
IB
59422014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5943
5944 * gdb.dlang/primitive-types.exp: New file.
5945
7f420862
IB
59462014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5947
5948 * configure.ac: Create gdb.dlang/Makefile.
5949 * configure: Regenerate.
5950 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5951 * gdb.dlang/Makefile.in: New file.
5952 * lib/d-support.exp: New file.
5953 * lib/gdb.exp (skip_d_tests): New proc.
5954
52834460
MM
59552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5956
5957 * gdb.btrace/delta.exp: Check reverse stepi.
5958 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5959 * gdb.btrace/finish.exp: New.
5960 * gdb.btrace/next.exp: New.
5961 * gdb.btrace/nexti.exp: New.
5962 * gdb.btrace/record_goto.c: Add comments.
5963 * gdb.btrace/step.exp: New.
5964 * gdb.btrace/stepi.exp: New.
5965 * gdb.btrace/multi-thread-step.c: New.
5966 * gdb.btrace/multi-thread-step.exp: New.
5967 * gdb.btrace/rn-dl-bind.c: New.
5968 * gdb.btrace/rn-dl-bind.exp: New.
5969 * gdb.btrace/data.c: New.
5970 * gdb.btrace/data.exp: New.
5971 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5972
6e07b1d2
MM
59732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5974
5975 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5976 * gdb.btrace/exception.exp: Update.
5977 * gdb.btrace/instruction_history.exp: Update.
5978 * gdb.btrace/record_goto.exp: Update.
5979 * gdb.btrace/tailcall.exp: Update.
5980 * gdb.btrace/unknown_functions.exp: Update.
5981 * gdb.btrace/delta.exp: New.
5982
0b722aec
MM
59832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5984
5985 * gdb.btrace/record_goto.exp: Add backtrace test.
5986 * gdb.btrace/tailcall.exp: Add backtrace test.
5987
066ce621
MM
59882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5989
5990 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5991 * gdb.btrace/record_goto.c: New.
5992 * gdb.btrace/record_goto.exp: New.
5993 * gdb.btrace/x86-record_goto.S: New.
5994
0688d04e
MM
59952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5996
5997 * gdb.btrace/function_call_history.exp: Update tests.
5998 * gdb.btrace/instruction_history.exp: Update tests.
5999
8710b709
MM
60002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6001
6002 * gdb.btrace/function_call_history.exp: Fix expected field
6003 order for "record function-call-history".
6004 Add new tests for "record function-call-history /c".
6005 * gdb.btrace/exception.cc: New.
6006 * gdb.btrace/exception.exp: New.
6007 * gdb.btrace/tailcall.exp: New.
6008 * gdb.btrace/x86-tailcall.S: New.
6009 * gdb.btrace/x86-tailcall.c: New.
6010 * gdb.btrace/unknown_functions.c: New.
6011 * gdb.btrace/unknown_functions.exp: New.
6012 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6013
5de9129b
MM
60142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6015
6016 * gdb.btrace/instruction_history.exp: Update.
6017 * gdb.btrace/function_call_history.exp: Update.
6018
23a7fe75
MM
60192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6020
6021 * gdb.btrace/function_call_history.exp: Fix expected function
6022 trace.
6023 * gdb.btrace/instruction_history.exp: Initialize traced.
6024 Remove traced_functions.
6025
724c7dd8
MM
60262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6027
6028 * gdb.btrace/function_call_history.exp: Update
6029 * gdb.btrace/instruction_history.exp: Update.
6030
6d78d93b
MM
60312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6032
6033 * gdb.btrace/enable.exp: Update expected text.
6034
93a360cc
OJ
60352014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6036
6037 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6038 bytes.
6039
3772b53f
MR
60402014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6041
6042 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6043
596662fa
OJ
60442014-01-15 Omair Javaid <omair.javaid@linaro.org>
6045
6046 * lib/gdb.exp (supports_process_record): Return true for
6047 arm*-linux*. (supports_reverse): Likewise.
6048
b5b08fb4
SC
60492014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6050
6051 PR python/15464
6052 PR python/16113
6053 * gdb.python/py-type.c: Enhance test case.
6054 * gdb.python/py-value-cc.cc: Likewise
6055 * gdb.python/py-type.exp: Add new tests.
6056 * gdb.python/py-value-cc.exp: Likewise
6057
52d7fb13
AA
60582014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6059 Pedro Alves <palves@redhat.com>
6060
6061 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6062 Make "name" extern.
6063 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6064 references to ${name}_start by references to ${name}.
6065
a2cd8cfe
JB
60662014-01-10 Joel Brobecker <brobecker@adacore.com>
6067
6068 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6069
4e23fced
JB
60702014-01-10 Joel Brobecker <brobecker@adacore.com>
6071
6072 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6073
c6a9e42c
PA
60742014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6075 Pedro Alves <palves@redhat.com>
6076
6077 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6078 mi_gdb_target_load.
c6a9e42c 6079
b7ea362b
PA
60802014-01-08 Pedro Alves <palves@redhat.com>
6081
6082 * gdb.threads/reconnect-signal.c: New file.
6083 * gdb.threads/reconnect-signal.exp: New file.
6084
5e3f4fab
EBM
60852014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6086
6087 * gdb.base/source-dir.exp: New file.
6088
79301218
JB
60892014-01-07 Joel Brobecker <brobecker@adacore.com>
6090
6091 * gdb.ada/mi_interface: New testcase.
6092
8e355c5d
JB
60932014-01-07 Joel Brobecker <brobecker@adacore.com>
6094
6095 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6096 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6097 gdb.ada/pp-rec-component/pck.ads: New files.
6098
c0d48811
JB
60992014-01-07 Joel Brobecker <brobecker@adacore.com>
6100
6101 * gdb.python/py-pp-integral.c: New file.
6102 * gdb.python/py-pp-integral.py: New file.
6103 * gdb.python/py-pp-integral.exp: New file.
6104
17b609c3 6105For older changes see ChangeLog-1993-2013.
c906108c 6106\f
8d8cb839
EZ
6107;; Local Variables:
6108;; mode: change-log
6109;; left-margin: 8
6110;; fill-column: 74
6111;; version-control: never
6112;; End:
902f2ccb 6113
32d0add0 6114 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6115 Copying and distribution of this file, with or without modification,
6116 are permitted provided the copyright notice and this notice are preserved.
This page took 2.930963 seconds and 4 git commands to generate.