]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8d37573b
DB
12015-08-26 Don Breazeal <donb@codesourcery.com>
2
3 * gdb.base/foll-exec-2.c: New test program.
4 * gdb.base/foll-exec-2.exp: New test.
5
63e43d3a
PMR
62015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7
8 * gdb.base/nested-subp1.exp: New file.
9 * gdb.base/nested-subp1.c: New file.
10 * gdb.base/nested-subp2.exp: New file.
11 * gdb.base/nested-subp2.c: New file.
12 * gdb.base/nested-subp3.exp: New file.
13 * gdb.base/nested-subp3.c: New file.
14
3d40fbb5
PA
152015-08-24 Pedro Alves <palves@redhat.com>
16
17 * gdb.server/connect-without-multi-process.c: New file.
18 * gdb.server/connect-without-multi-process.exp: New file.
19
4422ac93
LM
202015-08-24 Luis Machado <lgustavo@codesourcery.com>
21
22 * gdb.opt/inline-markers.c: Make z int.
23
91dddb86
LM
242015-08-24 Luis Machado <lgustavo@codesourcery.com>
25
26 * gdb.opt/inline-markers.c: Make z volatile.
27
a48847ee
LM
282015-08-24 Luis Machado <lgustavo@codesourcery.com>
29
30 * gdb.opt/inline-bt.c: New volatile global z.
31 * gdb.opt/inline-cmds.c: Likewise.
32 * gdb.opt/inline-locals.c: Likewise.
33 * gdb.opt/inline-markers.c: New extern global z.
34 (marker): Use z.
35 (inline_fn): Likewise.
36
0ebbc52b
PA
372015-08-24 Pedro Alves <palves@redhat.com>
38
39 * config/m32r-stub.exp: Remove file.
40 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
41 * gdb.base/call-rt-st.exp: Likewise.
42 * gdb.base/call-strs.exp: Likewise.
43 * gdb.base/default.exp: Remove references to h8300-*-hms and
44 *-*-udi*.
45 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
46
77c365df
AA
472015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
48
49 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
50 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
51 and "return" use KFAIL when GDB can not read/write the vector
52 return value.
53
4313b8c0
GB
542015-08-21 Gary Benson <gbenson@redhat.com>
55
56 * gdb.trace/pending.exp: Cope with remote transfer warnings.
57
0e433b32
PA
582015-08-20 Pedro Alves <palves@redhat.com>
59
60 * gdb.server/solib-list.exp: No longer expect an interior stop in
61 non-stop mode.
62
221e1a37
PA
632015-08-20 Pedro Alves <palves@redhat.com>
64
65 * gdb.server/connect-stopped-target.c: New file.
66 * gdb.server/connect-stopped-target.exp: New file.
67
40e3ad0e
PA
682015-08-20 Pedro Alves <palves@redhat.com>
69
70 * gdb.dwarf2/comp-unit-lang.exp: New file.
71 * gdb.dwarf2/comp-unit-lang.c: New file.
72
af39b327
PMR
732015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
74
75 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
76 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
77
7d45c7c3
KB
782015-08-19 Kevin Buettner <kevinb@redhat.com>
79
80 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
81 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
82
4d6cceb4
DE
832015-08-18 Doug Evans <dje@google.com>
84 Adrian Sendroiu <adrian.sendroiu@freescale.com>
85
86 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
87 skip_python_tests. New arg prompt_regexp.
88 (skip_python_tests): New function.
89 * lib/mi-support.exp (mi_skip_python_tests): New function.
90 * gdb.python/py-mi-objfile-gdb.py: New file.
91 * gdb.python/py-mi-objfile.c: New file.
92 * gdb.python/py-mi-objfile.exp: New file.
93
ad89c2aa
KS
942015-08-17 Keith Seitz <keiths@redhat.com>
95
96 * gdb.linespec/explicit.exp: Move strace test from here ...
97 * gdb.trace/strace.exp: ... to here.
98
e3ae3c43
PP
992015-08-15 Patrick Palka <patrick@parcs.ath.cx>
100
101 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
102 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
103
604b2636
DE
1042015-08-14 Doug Evans <xdje42@gmail.com>
105
106 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
107 inferior before selecting a new file.
108
6ff0ba5f
DE
1092015-08-14 Doug Evans <xdje42@gmail.com>
110
111 * gdb.mi/mi-disassemble.exp: Update.
112 * gdb.base/disasm-optim.S: New file.
113 * gdb.base/disasm-optim.c: New file.
114 * gdb.base/disasm-optim.h: New file.
115 * gdb.base/disasm-optim.exp: New file.
116
9ca98f92
KS
1172015-08-14 Keith Seitz <keiths@redhat.com>
118
119 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
120 "evaluated-by".
121
52bbc560
JB
1222015-08-13 Joel Brobecker <brobecker@adacore.com>
123
124 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
125
5d8c3ed3
PMR
1262015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
127
128 * gdb.ada/fun_renaming.exp: New testcase.
129 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
130 * gdb.ada/fun_renaming/pack.adb: New file.
131 * gdb.ada/fun_renaming/pack.ads: New file.
132
ea8812bc
KS
1332015-08-12 Keith Seitz <keiths@redhat.com>
134
135 * gdb.base/dso2dso.exp: Pass basename of source file in call to
136 gdb_get_line_number.
137
4dafcdeb
JB
1382015-08-12 Joel Brobecker <brobecker@adacore.com>
139
140 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
141 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
142 gdb.base/dso2dso.exp: New files.
143
5ba32597
SDJ
1442015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
145 Pedro Alves <palves@redhat.com>
146 Keith Seitz <keiths@redhat.com>
147
148 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
149 GDBFLAGS.
150
b6dafabf
PP
1512015-08-12 Patrick Palka <patrick@parcs.ath.cx>
152
153 * gdb.base/gdbhistsize-history.exp
154 (test_histsize_history_setting): Use save_vars.
155 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
156 Use save_vars.
157 (test_no_truncation_of_unlimited_history_file): Use save_vars.
158 * gdb.base/readline.exp: Use save_vars.
159
abe8e607
PP
1602015-08-12 Patrick Palka <patrick@parcs.ath.cx>
161
162 * lib/gdb.exp (save_vars): New proc.
163
629500fa
KS
1642015-08-11 Keith Seitz <keiths@redhat.com>
165
166 * gdb.base/help.exp: Update help_breakpoint_text.
167
eb8c4e2e
KS
1682015-08-11 Keith Seitz <keiths@redhat.com>
169
170 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
171 (at toplevel): Call test_explicit_breakpoints.
172 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
173 breakpoints.
174 * lib/mi-support.exp (mi_make_breakpoint): Add support for
175 breakpoint conditions, "-cond".
176
87f0e720
KS
1772015-08-11 Keith Seitz <keiths@redhat.com>
178
179 * gdb.linespec/3explicit.c: New file.
180 * gdb.linespec/cpexplicit.cc: New file.
181 * gdb.linespec/cpexplicit.exp: New file.
182 * gdb.linespec/explicit.c: New file.
183 * gdb.linespec/explicit.exp: New file.
184 * gdb.linespec/explicit2.c: New file.
185 * gdb.linespec/ls-errs.exp: Add explicit location tests.
186 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
187 before using in the matching pattern.
188 Clarify that `prefix' is a regular expression.
189
f00aae0f
KS
1902015-08-11 Keith Seitz <keiths@redhat.com>
191
192 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
193 test.
194 Add tests for missing ",FMT" and ",".
195
e27852be
DE
1962015-08-10 Doug Evans <dje@google.com>
197 Keith Seitz <keiths@redhat.com>
198
199 PR gdb/17960
200 * gdb.base/completion.exp: Add location completer tests.
201
7f03bd92
PA
2022015-08-07 Pedro Alves <palves@redhat.com>
203
204 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
205 tests here.
206 (top level): Run do_test with and without displaced stepping.
207
3fc8eb30
PA
2082015-08-07 Pedro Alves <palves@redhat.com>
209
210 * gdb.base/valgrind-disp-step.c: New file.
211 * gdb.base/valgrind-disp-step.exp: New file.
212
d4569d7b
PA
2132015-08-07 Pedro Alves <palves@redhat.com>
214
215 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
216 Delete function.
217 (main): Add alarm. Run an infinite loop instead of calling
218 wait_threads.
219 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
220 comment.
221 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
222 Delete function.
223 (main): Add alarm. Run an infinite loop instead of calling
224 wait_threads.
225 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
226 comment.
227
e1316e60
PA
2282015-08-07 Pedro Alves <palves@redhat.com>
229
230 * gdb.base/checkpoint-ns.exp: New file.
231 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
232 standard_testfile.
233
da8c46d2
MM
2342015-08-07 Markus Metzger <markus.t.metzger@intel.com>
235
236 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
237 * gdb.btrace/instruction_history.exp: Update.
238 * gdb.btrace/tsx.exp: New.
239 * gdb.btrace/tsx.c: New.
240
de1c2c52
PA
2412015-08-06 Pedro Alves <palves@redhat.com>
242
243 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
244 increase timeout.
245 * gdb.reverse/until-precsave.exp: Bump timeouts.
246
782e0bf4
PA
2472015-08-06 Pedro Alves <palves@redhat.com>
248
249 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
250
83e97ed0
PA
2512015-08-06 Pedro Alves <palves@redhat.com>
252
253 PR gdb/18749
254 * gdb.threads/process-dies-while-handling-bp.c: New file.
255 * gdb.threads/process-dies-while-handling-bp.exp: New file.
256
863d01bd
PA
2572015-08-06 Pedro Alves <palves@redhat.com>
258
259 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
260 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
261
0a39bb32
PA
2622015-08-05 Pedro Alves <palves@redhat.com>
263
264 * gdb.threads/next-while-other-thread-longjmps.c: New file.
265 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
266
ee2d2b10
SL
2672015-08-03 Sandra Loosemore <sandra@codesourcery.com>
268
269 * gdb.base/bp-permanent.exp: Report test as unsupported if
270 the target cannot stop at the permanent breakpoint.
271
4e1bdb00
DE
2722015-08-03 Doug Evans <dje@google.com>
273
274 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
275 10000.
276
3d338901
DE
2772015-08-03 Doug Evans <dje@google.com>
278
279 * Makefile.in (workers/%.worker, build-perf): New rule.
280 (GDB_PERFTEST_MODE): New variable.
281 (check-perf): Use it.
282 (clean): Clean up gdb.perf parallel build subdirs.
283 * lib/build-piece.exp: New file.
284 * lib/gdb.exp (make_gdb_parallel_path): New function
285 (standard_output_file, standard_temp_file): Call it.
286 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
287 of $GDB_PARALLEL.
288 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
289
af061d3e
DE
2902015-08-03 Doug Evans <dje@google.com>
291
8e1afc81 292 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
293 (LOG_FILE_NAME): New global.
294 (TextReporter.__init__): Initialize self.txt_sum.
295 (TextReporter.report): Add support for multiple data-points.
296 Move report to perftest.sum, put raw data in perftest.log.
297 (TextReporter.start): Open sum and log files.
298 (TextReporter.end): Close sum and log files.
8e1afc81
DE
299 * gdb.perf/lib/perftest/testresult.py
300 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 301
2c8c5d37
PA
3022015-07-31 Pedro Alves <palves@redhat.com>
303
304 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
305 Use spawn_id_get_pid. Wait for spawn id after eof. Use
306 kill_wait_spawned_process instead of explicit "kill -9".
307 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
308 returning a spawn id instead of a pid. Use spawn_id_get_pid and
309 kill_wait_spawned_process.
310 * gdb.base/attach-twice.exp: Likewise.
311 * gdb.base/attach.exp: Likewise.
312 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
313 gdb_test_multiple.
314 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
315 returning a spawn id instead of a pid. Use spawn_id_get_pid and
316 kill_wait_spawned_process.
317 * gdb.base/valgrind-infcall.exp: Likewise.
318 * gdb.multi/multi-attach.exp: Likewise.
319 * gdb.python/py-prompt.exp: Likewise.
320 * gdb.python/py-sync-interp.exp: Likewise.
321 * gdb.server/ext-attach.exp: Likewise.
322 * gdb.threads/attach-into-signal.exp (corefunc): Use
323 spawn_wait_for_attach, spawn_id_get_pid and
324 kill_wait_spawned_process.
325 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
326 spawn_wait_for_attach returning a spawn id instead of a pid. Use
327 spawn_id_get_pid and kill_wait_spawned_process.
328 * gdb.threads/attach-stopped.exp (corefunc): Use
329 spawn_wait_for_attach, spawn_id_get_pid and
330 kill_wait_spawned_process.
331 * gdb.base/break-interp.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 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
335 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
336 (spawn_wait_for_attach): Use spawn instead of exec to spawn
337 processes. Don't map cygwin/windows pids here. Now returns a
338 spawn id list.
339
032a0fca
SL
3402015-07-30 Sandra Loosemore <sandra@codesourcery.com>
341
342 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
343 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
344 correct patch.
345
61a934ca
SL
3462015-07-30 Sandra Loosemore <sandra@codesourcery.com>
347
348 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
349
4bc4d428
SL
3502015-07-30 Sandra Loosemore <sandra@codesourcery.com>
351
352 Reapply:
353 2014-05-21 Mark Wielaard <mjw@redhat.com>
354
355 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
356
998d452a
PA
3572015-07-30 Pedro Alves <palves@redhat.com>
358
359 * linux-low.c (handle_extended_wait): Set the child's last
360 reported status to TARGET_WAITKIND_STOPPED.
361
69dde7dc
PA
3622015-07-30 Pedro Alves <palves@redhat.com>
363
364 PR threads/18600
365 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
366 only shows inferior 1.
367
4dd63d48
PA
3682015-07-30 Simon Marchi <simon.marchi@ericsson.com>
369 Pedro Alves <palves@redhat.com>
370
371 PR threads/18600
372 * gdb.threads/fork-plus-threads.c: New file.
373 * gdb.threads/fork-plus-threads.exp: New file.
374
d618e4c5
PP
3752015-07-29 Patrick Palka <patrick@parcs.ath.cx>
376
377 * gdb.base/batch-preserve-term-settings.exp
378 (test_terminal_settings_preserved_after_cli_exit): Use
379 send_quit_command.
380
1eef6428
PA
3812015-07-29 Pedro Alves <palves@redhat.com>
382 Don Breazeal <donb@codesourcery.com>
383
384 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
385 output from both inferior_spawn_id and gdb_spawn_id.
386
7da5b897
SDJ
3872015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
388
389 * gdb.threads/attach-into-signal.exp (corefunc): Use
390 with_test_prefix on nested loops, uniquefying the test messages.
391
dac804df
SDJ
3922015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
393
394 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
395 commit.
396
06265e53
PP
3972015-07-29 Patrick Palka <patrick@parcs.ath.cx>
398
399 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
400 New proc.
401 (test_terminal_settings_preserved_after_sigterm): New test.
402
18206ca3
PP
4032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
404
405 * gdb.base/batch-preserve-term-settings.exp
406 (test_terminal_settings_preserved_after_cli_exit): New test.
407
90074d11
PP
4082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
409
410 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
411 manipulation of saved_gdbflags.
412 (test_terminal_settings_preserved): Remove global declaration of
413 the unused variable pagination_prompt. Remove manipulation of
414 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
415 GDBFLAGS.
416
eb1a7902
PA
4172015-07-29 Pedro Alves <palves@redhat.com>
418
419 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
420
8b75dd3b
PA
4212015-07-29 Pedro Alves <palves@redhat.com>
422
423 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
424 at the top.
425
dedad4e3
PA
4262015-07-29 Pedro Alves <palves@redhat.com>
427
428 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
429 (main): Call gdb_unbuffer_output.
430 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
431 (main): Call gdb_unbuffer_output.
432 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
433 (main): Call gdb_unbuffer_output.
434 * gdb.base/call-strs.exp: Adjust to step over the
435 gdb_unbuffer_output call.
436 * gdb.base/catch-gdb-caused-signals.c: Include
437 "../lib/unbuffer_output.c".
438 (main): Call gdb_unbuffer_output.
439 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
440 (main): Call gdb_unbuffer_output.
441 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
442 (main): Call gdb_unbuffer_output.
443 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
444 (main): Call gdb_unbuffer_output.
445 * gdb.base/shlib-call.exp: Adjust to step over the
446 gdb_unbuffer_output call.
447 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
448 (main): Call gdb_unbuffer_output.
449 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
450 (main): Call gdb_unbuffer_output.
451 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
452 (main): Rename to ...
453 (test): ... this.
454 (main): Reimplement.
455 * gdb.base/varargs.exp: Run to test instead of to main.
456 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
457 (main): Call gdb_unbuffer_output.
458
58789a91
PA
4592015-07-29 Pedro Alves <palves@redhat.com>
460
461 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
462 factore out from mi_continue_dprintf. For call-style dprintfs,
463 expect dprintf output out of $inferior_spawn_id.
464 (mi_continue_dprintf): Use mi_expect_dprintf.
465 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
466 (main): Call gdb_unbuffer_output.
467
e8376742
PA
4682015-07-29 Pedro Alves <palves@redhat.com>
469
470 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
471 (default_mi_gdb_start): Set inferior_spawn_id instead of
472 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
473 gdb_spawn_id.
474 (mi_gdb_test): Always expect inferior output from both
475 $inferior_spawn_id and $gdb_spawn_id.
476
08280010
PA
4772015-07-29 Pedro Alves <palves@redhat.com>
478
479 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
480 send_inferior and $inferior_spawn_id.
481
4d30e432
PA
4822015-07-29 Pedro Alves <palves@redhat.com>
483
484 * gdb.gdb/complaints.exp (test_initial_complaints)
485 (test_serial_complaints, test_short_complaints): Use
486 gdb_test_stdio.
487 (test_empty_complaint): Handle $inferior_spawn_id !=
488 $gdb_spawn_id.
489
0d30a335
PA
4902015-07-29 Pedro Alves <palves@redhat.com>
491
492 * gdb.base/varargs.exp: Use gdb_test_stdio.
493
39413b29
PA
4942015-07-29 Pedro Alves <palves@redhat.com>
495
496 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
497
7cb000a9
PA
4982015-07-29 Pedro Alves <palves@redhat.com>
499
500 * gdb.base/ending-run.exp: Use gdb_test_stdio.
501
d7b8ac82
PA
5022015-07-29 Pedro Alves <palves@redhat.com>
503
504 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
505 parameter into two new parameters, "inf_result" and "gdb_result".
506 Expect inferior output and gdb output from $inferior_spawn_id and
507 $gdb_spawn_id, respectively. Adjust all callers.
508
789c3a0c
PA
5092015-07-29 Pedro Alves <palves@redhat.com>
510
511 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
512 of gdb_test_sequence.
513
77e760c3
PA
5142015-07-29 Pedro Alves <palves@redhat.com>
515
516 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
517 (saw_spurious_output): Expect inferior output from
518 $inferior_spawn_id. Use gdb_test_stdio.
519
8396d2cd
PA
5202015-07-29 Pedro Alves <palves@redhat.com>
521
522 * gdb.base/dprintf.exp: Use standard_testfile. Change
523 prepare_for_testing call.
524 (srcfile): Don't set.
525 (restart): New procedure.
526 (test_dprintf): New procecure, use to continue over dprintfs.
527 (test_call, test_agent): New procedures, tests moved here.
528 Restart gdb and recreate dprintfs. Adjust expected output.
529
2051d61f
PA
5302015-07-29 Pedro Alves <palves@redhat.com>
531
532 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
533
452397af
PA
5342015-07-29 Pedro Alves <palves@redhat.com>
535
536 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
537
8aed9555
PA
5382015-07-29 Pedro Alves <palves@redhat.com>
539
540 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
541 gdb_test_stdio.
542
188a61b4
PA
5432015-07-29 Pedro Alves <palves@redhat.com>
544
545 * lib/gdb.exp (gdb_test_stdio): New procedure.
546
12264a45
PA
5472015-07-29 Pedro Alves <palves@redhat.com>
548
549 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
550
23ffc893
PA
5512015-07-29 Pedro Alves <palves@redhat.com>
552
553 * gdb.base/call-signal-resume.exp: Remove check for
554 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
555 * gdb.base/unwindonsignal.exp: Likewise.
556 * gdb.base/call-signals.c (gen_signal): Remove printf call.
557 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
558
65566918
PA
5592015-07-29 Pedro Alves <palves@redhat.com>
560
561 * gdb.base/siginfo-addr.c (pass): New function.
562 (handler): Call it iff si_addr is correct.
563 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
564 Set a breakpoint at "pass" and continue to it.
565
d60a9221
SDJ
5662015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
567
568 * gdb.python/py-objfile.exp: Make some tests have unique names.
569 * gdb.python/py-pp-registration.exp: Likewise.
570
bde40b8f
PA
5712015-07-28 Pedro Alves <palves@redhat.com>
572
573 * gdb.server/server-exec-info.exp: Issue a "disconnect".
574
13e1dec8
SM
5752015-07-27 Simon Marchi <simon.marchi@ericsson.com>
576
577 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
578
da33c9a7
SM
5792015-07-27 Simon Marchi <simon.marchi@ericsson.com>
580
581 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
582
077836f7
PP
5832015-07-27 Patrick Palka <patrick@parcs.ath.cx>
584
585 * gdb.base/gdb-sigterm-2.exp: New test.
586
b8cc7b2e
DE
5872015-07-25 Doug Evans <xdje42@gmail.com>
588
589 Revert:
590 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
591 (workers/%.worker, build-perf): New rule.
592 (GDB_PERFTEST_MODE): New variable.
593 (check-perf): Use it.
594 (clean): Clean up gdb.perf parallel build subdirs.
595 * lib/build-piece.exp: New file.
596 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
597 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
598 name.
599 (standard_temp_file): Ditto.
600 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
601 of $GDB_PARALLEL.
602
c8bd4544
DE
6032015-07-24 Doug Evans <dje@google.com>
604
605 * gdb.perf/lib/perftest/utils.py: New file.
606 * gdb.perf/gm-hello.cc: New file.
607 * gdb.perf/gm-pervasive-typedef.cc: New file.
608 * gdb.perf/gm-pervasive-typedef.h: New file.
609 * gdb.perf/gm-std.cc: New file.
610 * gdb.perf/gm-std.h: New file.
611 * gdb.perf/gm-use-cerr.cc: New file.
612 * gdb.perf/gm-utils.h: New file.
613 * gdb.perf/gmonster-null-lookup.py: New file.
614 * gdb.perf/gmonster-pervasive-typedef.py: New file.
615 * gdb.perf/gmonster-print-cerr.py: New file.
616 * gdb.perf/gmonster-ptype-string.py: New file.
617 * gdb.perf/gmonster-runto-main.py: New file.
618 * gdb.perf/gmonster-select-file.py: New file.
619 * gdb.perf/gmonster1-null-lookup.exp: New file.
620 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
621 * gdb.perf/gmonster1-print-cerr.exp: New file.
622 * gdb.perf/gmonster1-ptype-string.exp: New file.
623 * gdb.perf/gmonster1-runto-main.exp: New file.
624 * gdb.perf/gmonster1-select-file.exp: New file.
625 * gdb.perf/gmonster1.cc: New file.
626 * gdb.perf/gmonster1.exp: New file.
627 * gdb.perf/gmonster2-null-lookup.exp: New file.
628 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
629 * gdb.perf/gmonster2-print-cerr.exp: New file.
630 * gdb.perf/gmonster2-ptype-string.exp: New file.
631 * gdb.perf/gmonster2-runto-main.exp: New file.
632 * gdb.perf/gmonster2-select-file.exp: New file.
633 * gdb.perf/gmonster2.cc: New file.
634 * gdb.perf/gmonster2.exp: New file.
635
6eab34f3
DE
6362015-07-24 Doug Evans <dje@google.com>
637
638 * gdb.perf/README: New file.
639 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
640 * lib/gen-perf-test.exp: New file.
641
63738bfd
DE
6422015-07-24 Doug Evans <dje@google.com>
643
644 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
645 (PerfTest::startup): New function.
646 (PerfTest::run): Return result of calling body.
647 (PerfTest::assemble): Rewrite.
648 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
649 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
650 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
651 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
652 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
653
7b606f95
DE
6542015-07-24 Doug Evans <dje@google.com>
655
656 * lib/gdb.exp (clean_restart): Make executable optional.
657
a97b16b8
DE
6582015-07-24 Doug Evans <dje@google.com>
659
660 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
661 compiler_info references.
662 * gdb.cp/temargs.exp: Ditto.
663 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
664 (get_compiler_info): Early exit if already computed. Set compiler_info
665 to "unknown" if there was a problem.
666 (test_compiler_info): Add function comment. Call get_compiler_info.
667
35baa57f
DE
6682015-07-24 Doug Evans <dje@google.com>
669
670 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
671 (workers/%.worker, build-perf): New rule.
672 (GDB_PERFTEST_MODE): New variable.
673 (check-perf): Use it.
674 (clean): Clean up gdb.perf parallel build subdirs.
675 * lib/build-piece.exp: New file.
676 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
677 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
678 name.
679 (standard_temp_file): Ditto.
680 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
681 of $GDB_PARALLEL.
682
6ebea266
DE
6832015-07-24 Doug Evans <dje@google.com>
684
685 * lib/future.exp (gdb_default_target_compile): New option
686 "early_flags".
687 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
688 --as-needed.
689
1e76a7e9
SDJ
6902015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
691
692 * gdb.base/catch-syscall.exp: Call gdb_exit before
693 gdb_skip_xml_test.
694
5068630a
PA
6952015-07-24 Pedro Alves <palves@redhat.com>
696
697 * gdb.python/py-events.exp: Accept output between the stop event
698 and the prompt.
699 * gdb.python/py-evsignal.exp: Likewise.
700 * gdb.python/py-evthreads.exp: Likewise.
701
77598427
PA
7022015-07-24 Pedro Alves <palves@redhat.com>
703
704 PR gdb/18717
705 * gdb.threads/non-ldr-exit.c: New file.
706 * gdb.threads/non-ldr-exit.exp: New file.
707
11e6c98f
YQ
7082015-07-24 Yao Qi <yao.qi@linaro.org>
709
710 * gdb.server/ext-wrapper.exp: Test --wrapper option when
711 restarting process.
712
51aee833
YQ
7132015-07-24 Yao Qi <yao.qi@linaro.org>
714
715 * gdb.server/ext-restart.exp: New file.
716
8cfe207c
YQ
7172015-07-24 Yao Qi <yao.qi@linaro.org>
718
719 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
720 argument options.
721 * gdb.server/ext-wrapper.exp: New file.
722
cc12ce38
DE
7232015-07-23 Doug Evans <dje@google.com>
724
725 * gdb.dwarf2/dw2-dummy-cu.S: New file.
726 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
727
d0d84780
PMR
7282015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
729
730 * gdb.ada/var_arr_typedef.exp: New testcase.
731 * gdb.ada/var_arr_typedef/pack.adb: New file.
732 * gdb.ada/var_arr_typedef/pack.ads: New file.
733 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
734
8b558f79
JB
7352015-07-20 Joel Brobecker <brobecker@adacore.com>
736
737 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
738
775a3298
JK
7392015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
740
741 * gdb.arch/i386-biarch-core.exp: Replace istarget
742 by "complete set gnutarget". Remove expectation for the "core-file"
743 command.
744
db1ff28b
JK
7452015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
746
747 Revert the previous commit:
748 Tests for validate symbol file using build-id.
749
0a94970d
JK
7502015-07-15 Aleksandar Ristovski <aristovski@qnx.com
751
752 Tests for validate symbol file using build-id.
753 * gdb.base/solib-mismatch-lib.c: New file.
754 * gdb.base/solib-mismatch-libmod.c: New file.
755 * gdb.base/solib-mismatch.c: New file.
756 * gdb.base/solib-mismatch.exp: New file.
757
03346981
SL
7582015-07-15 Sandra Loosemore <sandra@codesourcery.com>
759
760 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
761 nios2-*-linux*.
762 * gdb.base/sigbpt.exp (stepi_out): Likewise.
763 * gdb.base/siginfo.exp: Likewise.
764 * gdb.base/sigstep.exp (advance, advancei): Likewise.
765
42422cc7
PL
7662015-07-15 Pierre Langlois <pierre.langlois@arm.com>
767
768 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
769 Move it to ...
770 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
771 ... here.
772 * gdb.trace/range-stepping.exp: Check that the target supports
773 range stepping.
774
cfa68bae
JK
7752015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
776
777 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
778
8ffdba26
PA
7792015-07-14 Pedro Alves <palves@redhat.com>
780
781 * gdb.base/killed-outside.exp: New file.
782 * gdb.base/killed-outside.c: New file.
783
218a5a11
JK
7842015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
785
786 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
787 (n at main): New.
788 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
789
e03ed3c6
AA
7902015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
791
792 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
793 infcall tests instead of setting up for KFAIL.
794
485668e5
MM
7952015-07-10 Markus Metzger <markus.t.metzger@intel.com>
796
797 * gdb.btrace/record_goto-step.exp: New.
798
08464196
JK
7992015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
800
801 PR compile/18484
802 * gdb.compile/compile.c (struct struct_type): Add volatile to
803 selffield's type.
804 * gdb.compile/compile.exp
805 (compile code struct_object.selffield = &struct_object): Skip further
806 struct_object tests if this one xfails.
807
bcf5c1d9
RC
8082015-07-08 Robert O'Callahan <robert@ocallahan.org>
809
810 PR exp/18617
811 * gdb.trace/ax.exp: Add test.
812
4931af25
YQ
8132015-07-07 Yao Qi <yao.qi@linaro.org>
814
815 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
816 instead of istarget "aarch64*-*-*".
817 * gdb.arch/aarch64-fp.exp: Likewise.
818 * gdb.base/float.exp: Likewise.
819 * gdb.reverse/aarch64.exp: Likewise.
820 * lib/gdb.exp (is_aarch64_target): New proc.
821
9fcf688e
YQ
8222015-07-07 Yao Qi <yao.qi@linaro.org>
823
824 * lib/gdb.exp (is_aarch32_target): New proc.
825 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
826 instead of "istarget "arm*-*-*"".
827 * gdb.arch/arm-disp-step.exp: Likewise.
828 * gdb.arch/thumb-bx-pc.exp: Likewise.
829 * gdb.arch/thumb-prologue.exp: Likewise.
830 * gdb.arch/thumb-singlestep.exp: Likewise.
831 * gdb.base/disp-step-syscall.exp: Likewise.
832 * gdb.base/float.exp: Likewise.
833
fbd8d50d
YQ
8342015-07-07 Yao Qi <yao.qi@linaro.org>
835
836 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
837 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
838
71be1fdc
YQ
8392015-07-07 Yao Qi <yao.qi@linaro.org>
840
841 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
842 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
843 if it exists.
844 * gdb.multi/multi-arch.exp: Likewise.
845
3e221d36
SM
8462015-07-07 Simon Marchi <simon.marchi@ericsson.com>
847
848 * gdb.python/py-lazy-string.exp: Add missing parentheses to
849 print.
850
d441430b
YQ
8512015-07-07 Yao Qi <yao.qi@linaro.org>
852
853 * gdb.arch/thumb-singlestep.exp: Do one more single step.
854
06f810bd
MG
8552015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
856
857 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
858 '[' and ']' characters.
859
5e61e7c0
IB
8602015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
861
862 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
863
28bf096c
PA
8642015-06-29 Pedro Alves <palves@redhat.com>
865
866 PR threads/18127
867 * gdb.threads/hand-call-new-thread.c: New file.
868 * gdb.threads/hand-call-new-thread.c: New file.
869
ee93cd5e
KS
8702015-06-26 Keith Seitz <keiths@redhat.com>
871 Doug Evans <dje@google.com>
872
873 PR 16253
874 * gdb.cp/var-tag-2.cc: New file.
875 * gdb.cp/var-tag-3.cc: New file.
876 * gdb.cp/var-tag-4.cc: New file.
877 * gdb.cp/var-tag.cc: New file.
878 * gdb.cp/var-tag.exp: New file.
879
fc637f04
PP
8802015-06-26 Patrick Palka <patrick@parcs.ath.cx>
881
882 * gdb.base/history-duplicates.exp: New test.
883
2e52ae68
PP
8842015-06-26 Patrick Palka <patrick@parcs.ath.cx>
885
886 * gdb.base/completion.exp: Test the completion of the "focus"
887 command.
888
6e22494e
JK
8892015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
890
891 * gdb.arch/amd64-prologue-skip.S: New file.
892 * gdb.arch/amd64-prologue-skip.exp: New file.
893
bf7b9cd9
SM
8942015-06-25 Simon Marchi <simon.marchi@ericsson.com>
895
896 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
897 is_address_zero_readable check.
898
201e8dfd
PB
8992015-06-24 Peter Bergner <bergner@vnet.ibm.com>
900
901 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
902 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
903
5cd867b4
YQ
9042015-06-24 Yao Qi <yao.qi@linaro.org>
905
906 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
907 linux targets.
908
4d7be007
YQ
9092015-06-24 Yao Qi <yao.qi@linaro.org>
910
911 * lib/gdb.exp (supports_get_siginfo_type): New proc.
912 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
913 * gdb.base/siginfo-thread.exp: Likewise.
914
07fcd301
YQ
9152015-06-22 Yao Qi <yao.qi@linaro.org>
916
917 * boards/remote-gdbserver-on-localhost.exp: Add comments.
918
52042a00
YQ
9192015-06-22 Yao Qi <yao.qi@linaro.org>
920
921 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
922 aarch64*-*-*.
923 (skip_hw_watchpoint_tests): Likewise.
924
74bd41ce
PP
9252015-06-18 Patrick Palka <patrick@parcs.ath.cx>
926
927 * gdb.base/gdbinit-history.exp: Test the interaction between
928 setting GDBHISTSIZE and setting the history size via .gdbinit.
929
bc460514
PP
9302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
931
932 PR gdb/16999
933 * gdb.base/gdbhistsize-history.exp: New test.
934
b58c513b
PP
9352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
936
937 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
938 with GDBHISTSIZE.
939 * gdb.base/readline.exp: Likewise.
940
92046791
YQ
9412015-06-17 Yao Qi <yao.qi@linaro.org>
942
943 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
944 line.
945
2093d2d3
PP
9462015-06-17 Patrick Palka <patrick@parcs.ath.cx>
947
948 * gdb.base/gdbinit-history.exp: Add test case to check that
949 an unlimited history file does not get truncated on exit.
950
e6c693af
AA
9512015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
952
953 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
954 (VECTOR): New macro. Use it...
955 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
956 ...for these typedefs.
957 (int8, char1, int1, double1): New typedefs.
958 (struct just_int2, struct two_int2): New structures.
959 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
960 (add_structvecs, add_singlevecs): New functions.
961 (main): Call add_some_intvecs twice.
962 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
963 the compile and exit upon failure. Try compiling for the "native"
964 architecture. Test inferior function calls with vector arguments
965 and vector return value handling with "finish" and "return".
966
c74f7d1c
JT
9672015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
968
969 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
970 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
971 PE file.
972 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
973
98aa42ee
AT
9742015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
975
976 PR breakpoints/16465
977 * gdb.mi/mi-dprintf-pending.c: New file.
978 * gdb.mi/mi-dprintf-pending.exp: New test.
979 * gdb.mi/mi-dprintf-pendshr.c: New file.
980
7d73c23c 9812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 982 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
983
984 * gdb.arch/i386-mpx-map.c: New file.
985 * gdb.arch/i386-mpx-map.exp: New File.
986
9872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
988
989 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
990 * gdb.arch/i386-mpx.exp: Indentation fixed.
991
9922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
993
994 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
995 function and improved indentation.
996 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
997 gdb_test_multiple. Added additional tests to skip the test.
998
9992015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1000
1001 * gdb.arch/i386-avx512.c: Change path in include file.
1002 * gdb.arch/i386-avx512.exp: Change include dir path
1003 compilation flag.
1004 * gdb.arch/i386-mpx.c: Change path in include file.
1005 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1006 flag.
1007
d5eba19a
JK
10082015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1009
1010 * gdb.compile/compile-print.exp (compile print *vararray@3)
1011 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1012
7f361056
JK
10132015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1014
1015 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1016 (do not keep jit in memory): ... this.
1017 (expect 5): Change it to ...
1018 (expect no 5): ... this.
1019
3b462ec2
SM
10202015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1021
1022 PR gdb/15564
1023 * gdb.mi/mi-detach.exp: New file.
1024
e0619de6
JK
10252015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1026
1027 PR symtab/18392
1028 * gdb.arch/amd64-tailcall-self.S: New file.
1029 * gdb.arch/amd64-tailcall-self.c: New file.
1030 * gdb.arch/amd64-tailcall-self.exp: New file.
1031
e970cb34
DB
10322015-05-28 Don Breazeal <donb@codesourcery.com>
1033
1034 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1035 tests for remote targets by checking is_target_gdbserver.
1036
b2e2f908
DE
10372015-05-27 Doug Evans <dje@google.com>
1038
1039 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1040 * gdb.dwarf2/opaque-type-lookup.c: New file.
1041 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1042
82c7be31
DE
10432015-05-26 Doug Evans <dje@google.com>
1044
1045 * gdb.cp/iostream.cc: New file.
1046 * gdb.cp/iostream.exp: New file.
1047
b4f54984
DE
10482015-05-26 Doug Evans <dje@google.com>
1049
1050 * gdb.dwarf2/dw2-op-call.exp: Update.
1051 * gdb.dwarf2/dw4-sig-types.exp: Update.
1052 * gdb.dwarf2/implptr.exp: Update.
1053 * gdb.mi/mi-cmd-param-changed.exp: Update.
1054
4ea6efe9
DE
10552015-05-26 Doug Evans <dje@google.com>
1056
1057 * gdb.python/py-lazy-string.c: New file.
1058 * gdb.python/py-lazy-string.exp: New file.
1059 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1060 (main): Update. Add estring3.
1061 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1062 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1063
f6bb7db3
YQ
10642015-05-26 Omair Javaid <omair.javaid@linaro.org>
1065 Yao Qi <yao.qi@linaro.org>
1066
1067 * gdb.reverse/aarch64.c: New.
1068 * gdb.reverse/aarch64.exp: New.
1069
a81bfbd0
OJ
10702015-05-26 Omair Javaid <omair.javaid@linaro.org>
1071
1072 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1073 (supports_reverse): Likewise.
1074
158bf1b4
PP
10752015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1076
1077 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1078 Use with_test_prefix.
1079
a0145030
AB
10802015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1081
1082 * gdb.base/completion.exp: Add test for completion of layout
1083 names.
1084
ebe3b578
AB
10852015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1086
1087 * lib/gdb.exp (skip_tui_tests): New proc.
1088 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1089
84204ed7
PA
10902015-05-19 Pedro Alves <palves@redhat.com>
1091
1092 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1093 Save the whole env array instead of just HOME. Unset HISTSIZE in
1094 the environment while testing. Restore whole environment
1095 afterwards.
1096
37442ce1
DE
10972015-05-16 Doug Evans <xdje42@gmail.com>
1098
1099 * gdb.guile/scm-ports.c: New file.
1100 * gdb.guile/scm-ports.exp: Add memory port tests.
1101
36de76f9
JK
11022015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1103
1104 * gdb.compile/compile-print.c: New file.
1105 * gdb.compile/compile-print.exp: New file.
1106
3a9558c4
JK
11072015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1108
1109 * gdb.compile/compile-ops.exp: Cast param to void.
1110 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1111 (compile code struct_object.selffield = &struct_object): Add xfail.
1112
aa715135
JG
11132015-05-15 Joel Brobecker <brobecker@adacore.com>
1114
1115 * gdb.ada/arr_enum_with_gap: New testcase.
1116
931e5bc3
JG
11172015-05-15 Joel Brobecker <brobecker@adacore.com>
1118
1119 * gdb.ada/byte_packed_arr: New testcase.
1120
9cd4d857
JB
11212015-05-15 Joel Brobecker <brobecker@adacore.com>
1122
1123 * gdb.ada/pckd_neg: New testcase.
1124
ebfd00d2
PP
11252015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1126
1127 PR gdb/17820
1128 * gdb.base/gdbinit-history.exp: New test.
1129 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1130 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1131
4c082a81
SC
11322015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1133
1134 * gdb.python/py-xmethods.cc: Enhance test case.
1135 * gdb.python/py-xmethods.exp: New tests.
1136 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1137 function.
1138 (B_indexoper): Likewise.
1139 (global_dm_list) : Add new xmethod worker functions.
1140
f7797074
SDJ
11412015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1142
1143 * gdb.base/coredump-filter.exp: Correctly unset
1144 "coredump_var_addr" array.
1145
a4674e4e
PA
11462015-05-08 Pedro Alves <palves@redhat.com>
1147
1148 * gdb.server/non-existing-program.exp: Unset spawn_id.
1149
df2eb078
SC
11502015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1151
1152 PR python/18291
1153 * gdb.python/py-xmethods.exp: Add tests.
1154
422349a3
YQ
11552015-05-08 Yao Qi <yao.qi@linaro.org>
1156
1157 PR gdb/18208
1158 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1159 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1160 function set_coredump_filter, and remove remote_exec call.
1161 Remove argument ipid. Callers update.
1162 (top level): Don't get inferior's PID.
1163
63fc80ce
AA
11642015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1165
1166 * gdb.base/watch_thread_num.exp: Skip test on targets without
1167 access watchpoints.
1168
80ad801e
PA
11692015-05-06 Pedro Alves <palves@redhat.com>
1170
1171 PR server/18081
1172 * gdb.server/non-existing-program.exp: New file.
1173
0fa7fe50
JB
11742015-05-05 Joel Brobecker <brobecker@adacore.com>
1175
1176 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1177
3ea89b92
PMR
11782015-05-05 Joel Brobecker <brobecker@adacore.com>
1179
1180 * gdb.ada/out_of_line_in_inlined: New testcase.
1181
87b8eff0
JB
11822015-05-05 Joel Brobecker <brobecker@adacore.com>
1183
1184 * gdb.ada/var_rec_arr: New testcase.
1185
5fccc635
YQ
11862015-04-30 Yao Qi <yao.qi@linaro.org>
1187
1188 * gdb.base/break-idempotent.exp: If
1189 skip_hw_watchpoint_multi_tests returns true, skip the tests
1190 on "rwatch" and "awatch".
1191
42d38f42
YQ
11922015-04-30 Yao Qi <yao.qi@linaro.org>
1193
1194 * gdb.base/relativedebug.exp: Invoke gdb command
1195 "info sharedlibrary", and if libc.so doesn't have debug info,
1196 skip the test.
1197
2ce1cdbf
DE
11982015-04-29 Doug Evans <dje@google.com>
1199
1200 * gdb.python/py-xmethods.exp: Add ptype tests.
1201 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1202 get_result_type method.
1203
f24a38c5
LM
12042015-04-29 Luis Machado <lgustavo@codesourcery.com>
1205
1206 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1207 the target does not support hardware watchpoints.
1208
ecbf2b3c
LM
12092015-04-29 Luis Machado <lgustavo@codesourcery.com>
1210
1211 * gdb.base/break-always.exp: Abort testing if writing to memory
1212 causes an error.
1213
34f5f757
DE
12142015-04-28 Doug Evans <dje@google.com>
1215
1216 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1217 * gdb.python/py-pp-registration.exp: ... here. New file.
1218 * gdb.python/py-pp-registration.c: New file.
1219 * gdb.python/py-pp-registration.py: New file.
1220
69b4374a
DE
12212015-04-28 Doug Evans <dje@google.com>
1222
1223 * gdb.python/py-bad-printers.c: New file.
1224 * gdb.python/py-bad-printers.py: New file.
1225 * gdb.python/py-bad-printers.exp: New file.
1226
59fb7612
SS
12272015-04-28 Sasha Smundak <asmundak@google.com>
1228
1229 * gdb.python/py-type.exp: New test.
1230
2631b16a
AW
12312015-04-28 Andy Wingo <wingo@igalia.com>
1232
1233 * gdb.python/py-parameter.exp:
1234 * gdb.guile/scm-parameter.exp: Escape the path that we are
1235 matching against, as it might contain characters that are special
1236 to regular expressions.
1237
460efde1
JB
12382015-04-27 Joel Brobecker <brobecker@adacore.com>
1239
1240 * gdb.ada/rec_comp: New testcase.
1241
2d369d8e
SDJ
12422015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1243
1244 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1245 before using it.
1246
cf75d6c3
AB
12472015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1248
1249 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1250 new tests for verilog output.
1251
8dbe7ca5
YQ
12522015-04-24 Yao Qi <yao.qi@linaro.org>
1253
1254 * boards/remote-gdbserver-on-localhost.exp: New file.
1255
4ef9fb2f
PA
12562015-04-23 Pedro Alves <palves@redhat.com>
1257
1258 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1259 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1260 "end of file", remove $inferior_spawn_id from the indirect list.
1261
0a803169
PA
12622015-04-23 Pedro Alves <palves@redhat.com>
1263
1264 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1265
749ef8f8
PA
12662015-04-23 Pedro Alves <palves@redhat.com>
1267
1268 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1269 on $any_spawn_id instead of only on $gdb_spawn_id.
1270
8aae4344
PM
12712015-04-21 Pierre Muller <muller@sourceware.org>
1272
1273 PR pascal/17815
1274 * lib/pascal.exp (gpc_compile): Add new option "class".
1275 (fpc_compile): Likewise.
1276 * gdb.pascal/case-insensitive-symbols.pas: New file.
1277 * gdb.pascal/case-insensitive-symbols.exp: New file.
1278
1586c8fb
GB
12792015-04-20 Gary Benson <gbenson@redhat.com>
1280
1281 * gdb.base/attach.exp: Fix three extended remote failures.
1282
1b6e6f5c
GB
12832015-04-17 Gary Benson <gbenson@redhat.com>
1284
1285 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1286 the main executable over the remote protocol.
1287
e797481d
PA
12882015-04-16 Pedro Alves <palves@redhat.com>
1289
1290 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1291 a new gdbserver if gdbserver_reconnect_p is set.
1292
1ca99c42
PA
12932015-04-16 Pedro Alves <palves@redhat.com>
1294
1295 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1296 is set, don't exit gdbserver.
1297
af9fd6f8
AA
12982015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1299
1300 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1301 appropriate .insn, such that an older assembler can be used.
1302 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1303 the z/Architecture instruction set on 31-bit targets as well.
1304
04ff1e61
AA
13052015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1306
1307 * gdb.go/handcall.exp: Remove all logic related to the first
1308 breakpoint and rely on go_runto_main instead.
1309 * gdb.go/strings.exp: Likewise.
1310 * gdb.go/unsafe.exp: Likewise.
1311 * gdb.go/hello.exp: Likewise. Also rename the remaining
1312 breakpoint marker to "breakpoint 1".
1313 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1314 * gdb.go/strings.go: Likewise.
1315 * gdb.go/unsafe.go: Likewise.
1316 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1317 "set breakpoint 2 here" and rename the remaining breakpoint marker
1318 to "breakpoint 1".
1319
40d2f8d6
SM
13202015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1321
1322 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1323 if itertools.imap is not present.
1324 * gdb.python/py-objfile.exp: Add parentheses.
1325 * gdb.python/py-type.exp: Same.
1326 * gdb.python/py-unwind-maint.py: Same.
1327
8cbc97c6
YQ
13282015-04-15 Yao Qi <yao.qi@linaro.org>
1329
1330 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1331 of ":$ptr_size" and set its form explicitly.
1332
45fd756c
YQ
13332015-04-15 Pedro Alves <palves@redhat.com>
1334 Yao Qi <yao.qi@linaro.org>
1335
1336 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1337 timeout by factor of 4.
1338 (test_regular_watch): Likewise.
1339 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1340 * gdb.reverse/sigall-reverse.exp: Likewise.
1341 * gdb.reverse/until-precsave.exp: Likewise.
1342 * lib/gdb.exp (with_timeout_factor): New proc.
1343 (gdb_expect): Move some code to ...
1344 (get_largest_timeout): ... here. New procedure.
1345
9e811bc3
LM
13462015-04-14 Luis Machado <lgustavo@codesourcery.com>
1347
1348 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1349
0ff6fcb2
LM
13502015-04-13 Luis Machado <lgustavo@codesourcery.com>
1351
1352 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1353 to write to the .text section.
1354
7578d5f7
LM
13552015-04-13 Luis Machado <lgustavo@codesourcery.com>
1356
1357 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1358 Handle the case of targets that do not provide PID information.
1359
2efe15c4
YQ
13602015-04-13 Yao Qi <yao.qi@linaro.org>
1361
1362 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1363 and use expect instead of gdb_expect.
1364
8cd8f2f8
SDJ
13652015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1366
1367 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1368 "coredump_var_addr" to avoid naming conflict with other testcases.
1369
9ee41772
PA
13702015-04-10 Pedro Alves <palves@redhat.com>
1371
1372 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1373 gdb_test_sequence and gdb_assert.
1374
07473109
PA
13752015-04-10 Pedro Alves <palves@redhat.com>
1376
1377 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1378 test messages that don't include the breakpoint address.
1379
de3db44c
YQ
13802015-04-10 Yao Qi <yao.qi@linaro.org>
1381
1382 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1383 false for some offset and width combinations which aren't
1384 supported by linux kernel.
1385
c79d856c
PA
13862015-04-10 Pedro Alves <palves@redhat.com>
1387
1388 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1389 procedure, factored out from ...
1390 (top level): ... here. Add "set displaced-stepping" testing axis.
1391 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1392 parameter "displaced". Use it.
1393 (top level): Use foreach and add "set displaced-stepping" testing
1394 axis.
1395
ebc90b50
PA
13962015-04-10 Pedro Alves <palves@redhat.com>
1397
1398 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1399 Remove comment.
1400 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1401 both the address of the instruction that triggers the watchpoint
1402 and the address of the instruction immediately after, and use
1403 those addresses for the test. Fix comment.
1404
8f572e5c
PA
14052015-04-10 Pedro Alves <palves@redhat.com>
1406
1407 * gdb.base/sigstep.exp (breakpoint_to_handler)
1408 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1409 Test "backtrace" in handler.
1410 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1411 (top level): Add new "displaced" test axis to
1412 breakpoint_to_handler, breakpoint_to_handler_entry and
1413 breakpoint_over_handler.
1414
8d707a12
PA
14152015-04-10 Pedro Alves <palves@redhat.com>
1416
1417 PR gdb/18216
1418 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1419
ef713951
YQ
14202015-04-10 Yao Qi <yao.qi@linaro.org>
1421
1422 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1423 (test_add_rn_pc): New function.
1424 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1425 (top level): Invoke test_add_rn_pc.
1426
906d60cf
PA
14272015-04-10 Pedro Alves <palves@redhat.com>
1428
1429 PR gdb/13858
1430 * gdb.base/step-over-no-symbols.exp: New file.
1431
f2983cc3
AW
14322015-04-09 Andy Wingo <wingo@igalia.com>
1433
1434 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1435 after the Python tests.
1436
6d62641c
SDJ
14372015-04-08 Keith Seitz <keiths@redhat.com>
1438
1439 PR python/16699
1440 * gdb.python/py-completion.exp: New tests for completion.
1441 * gdb.python/py-completion.py (CompleteLimit1): New class.
1442 (CompleteLimit2): Likewise.
1443 (CompleteLimit3): Likewise.
1444 (CompleteLimit4): Likewise.
1445 (CompleteLimit5): Likewise.
1446 (CompleteLimit6): Likewise.
1447 (CompleteLimit7): Likewise.
1448
f3770638
PA
14492015-04-08 Pedro Alves <palves@redhat.com>
1450
1451 PR gdb/18214
1452 PR gdb/18216
1453 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1454 function.
1455 (main): Install it as SIGUSR1 handler.
1456 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1457 parameter. Always use "setup" as prefix. Toggle "set
1458 displaced-stepping" off/on depending on global. Don't switch to
1459 thread 1 here.
1460 (top level): Add displaced stepping "off/on" test axis. Update
1461 "setup" calls. Wrap each subtest with with_test_prefix. Test
1462 continuing with a queued signal in each thread.
1463
4496bed7
PA
14642015-04-08 Pedro Alves <palves@redhat.com>
1465
1466 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1467 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1468 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1469 Return early if running to main fails.
1470 * gdb.trace/while-stepping.exp: Likewise.
1471
b97fde92
PA
14722015-04-07 Pedro Alves <palves@redhat.com>
1473
1474 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1475 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1476 interact with inferior program.
1477
f71c18e7
PA
14782015-04-07 Pedro Alves <palves@redhat.com>
1479
1480 * lib/gdb.exp (inferior_spawn_id): New global.
1481 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1482 spawn id after processing the user code.
1483 (default_gdb_start): Set inferior_spawn_id.
1484 (send_inferior): New procedure.
1485 * lib/gdbserver-support.exp (gdbserver_start): Set
1486 inferior_spawn_id.
1487 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1488
6423214f
PA
14892015-04-07 Pedro Alves <palves@redhat.com>
1490
1491 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1492 * lib/gdbserver-support.exp (gdbserver_start): Make
1493 $server_spawn_id global.
1494 (gdbserver_start): Don't wait for gdbserver's spawn id with
1495 expect_background.
1496 (close_gdbserver): New procedure.
1497 (gdb_exit): Rename the default version and reimplement.
1498
71c0ee8c
PA
14992015-04-07 Pedro Alves <palves@redhat.com>
1500
72f4393d 1501 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1502 append the substituted item, not the original item.
1503
203bc29b
PA
15042015-04-07 Pedro Alves <palves@redhat.com>
1505
1506 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1507 gdb_expect.
1508
508a3ddf
PA
15092015-04-07 Pedro Alves <palves@redhat.com>
1510
1511 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1512 output appearing once only.
1513
9f6dbe2b
PA
15142015-04-07 Pedro Alves <palves@redhat.com>
1515
1516 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1517 that doesn't expect anything. Return early if running to main
1518 fails.
1519
337532fa
YQ
15202015-04-07 Yao Qi <yao.qi@linaro.org>
1521
1522 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1523 (child_function): Call alarm.
1524 (main): Move call to alarm into the loop.
1525 * gdb.threads/non-stop-fair-events.exp: Build program with
1526 -DTIMEOUT=$timeout.
1527
01b622d4
DE
15282015-04-06 Doug Evans <xdje42@gmail.com>
1529
1530 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1531 Fix dest parameter to board_info.
1532 (fpc_compile): Ditto.
1533 (gdb_compile_pascal): Rename dest arg to destfile.
1534
961f4160
PMR
15352015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1536
1537 * gdb.ada/funcall_ref.exp: New file.
1538 * gdb.ada/funcall_ref/foo.adb: New file.
1539
cafda597
YQ
15402015-04-02 Yao Qi <yao.qi@linaro.org>
1541
1542 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1543 is remote.
1544
fed040c6
GB
15452015-04-02 Gary Benson <gbenson@redhat.com>
1546
1547 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1548
d11916aa
SS
15492015-04-01 Sasha Smundak <asmundak@google.com>
1550
1551 * gdb.python/py-unwind-maint.c: New file.
1552 * gdb.python/py-unwind-maint.exp: New test.
1553 * gdb.python/py-unwind-maint.py: New file.
1554 * gdb.python/py-unwind.c: New file.
1555 * gdb.python/py-unwind.exp: New test.
1556 * gdb.python/py-unwind.py: New test.
1557
a1471180
PA
15582015-04-01 Pedro Alves <palves@redhat.com>
1559
1560 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1561 to fail instead of non-existent $test.
1562
0bbeccb1
PA
15632015-04-01 Pedro Alves <palves@redhat.com>
1564
1565 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1566 GDBFLAGS if not empty.
1567
3c724c8c
PMR
15682015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1569
1570 * gdb.ada/complete.exp: Remove "multi_line".
1571 * gdb.ada/info_exc.exp: Remove "multi_line".
1572 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1573 * gdb.ada/ptype_field.exp: Remove "multi_line".
1574 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1575 * gdb.ada/tagged.exp: Remove "multi_line".
1576 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1577 [multi_line ...]
1578 * gdb.btrace/delta.exp: Likewise.
1579 * gdb.btrace/exception.exp: Likewise.
1580 * gdb.btrace/function_call_history.exp: Likewise.
1581 * gdb.btrace/instruction_history.exp: Likewise.
1582 * gdb.btrace/nohist.exp: Likewise.
1583 * gdb.btrace/record_goto.exp: Likewise.
1584 * gdb.btrace/segv.exp: Likewise.
1585 * gdb.btrace/stepi.exp: Likewise.
1586 * gdb.btrace/tailcall.exp: Likewise.
1587 * gdb.btrace/unknown_functions.exp: Likewise.
1588 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1589 * lib/gdb.exp: Add the "multi_line" helper.
1590
4eec2deb
PA
15912015-04-01 Pedro Alves <palves@redhat.com>
1592
1593 * gdb.threads/tid-reuse.c: New file.
1594 * gdb.threads/tid-reuse.exp: New file.
1595
df8411da
SDJ
15962015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1597
1598 PR corefiles/16092
1599 * gdb.base/coredump-filter.c: New file.
1600 * gdb.base/coredump-filter.exp: Likewise.
1601
6ef37366
PM
16022015-03-27 Petr Machata <pmachata@redhat.com>
1603
1604 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1605 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1606 (Dwarf::assemble): Initialize them.
1607 (Dwarf::lines): New function.
1608
7ec911b0
JT
16092015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1610
1611 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1612 SYMBOL_PREFIX for x86_64-*-cygwin.
1613
ff908ebf
AW
16142015-03-26 Andy Wingo <wingo@igalia.com>
1615
1616 PR symtab/18148
1617 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1618 const_value but not a location.
1619 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1620 location defined in non-main CUs are visible.
1621
6d5f0679
YQ
16222015-03-26 Yao Qi <yao.qi@linaro.org>
1623
1624 PR testsuite/18139
1625 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1626 Add a line number entry for the same line.
1627 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1628 Add a line number entry for the same line.
1629
2898689b
YQ
16302015-03-26 Yao Qi <yao.qi@linaro.org>
1631
1632 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1633 .int 0.
1634 (func): Likewise. Add .Lfunc_1 label.
1635 Use .Lfunc_1 label.
1636 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1637 .int 0.
1638 (func): Likewise.
1639 Use .Lfunc_1 label.
1640
85180498
YQ
16412015-03-26 Yao Qi <yao.qi@linaro.org>
1642
1643 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1644 Call gdb_compile instead to compile each .s files without debug
1645 information.
1646
8aa08a8d
YQ
16472015-03-26 Yao Qi <yao.qi@linaro.org>
1648
1649 * gdb.base/savedregs.exp (process_saved_regs): Make
1650 "Saved registers:" optional in the pattern.
1651
66849923
MM
16522015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1653
1654 * gdb.btrace/next.exp: Merged into step.exp.
1655 * gdb.btrace/finish.exp: Merged into step.exp.
1656 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1657 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1658 "record goto" and checking the exact replay position.
1659 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1660 check for "Recording format" in "info record" output.
1661 * gdb.btrace/record_goto.exp: Choose test file based on target.
1662 * gdb.btrace/x86-record_goto.S: Renamed into ...
1663 * gdb.btrace/x86_64-record_goto.S: ... this.
1664 * gdb.btrace/i686-record_goto.S: New.
1665 * gdb.btrace/x86-tailcall.S: Renamed into ...
1666 * gdb.btrace/x86_64-tailcall.S: ... this.
1667 * gdb.btrace/i686-tailcall.S: New.
1668 * gdb.btrace/x86-tailcall.c: Renamed into ...
1669 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1670 separate statements. Update test.
1671 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1672 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1673 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1674 * gdb.btrace/tailcall.exp: Choose test file based on target.
1675 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1676
11cc1b74
MM
16772015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1678
1679 * gdb.btrace/exception.exp: Increase BTS buffer size.
1680
a25d8bf9
PA
16812015-03-24 Pedro Alves <palves@redhat.com>
1682
1683 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1684
856e7dd6
PA
16852015-03-24 Pedro Alves <palves@redhat.com>
1686
1687 * gdb.threads/schedlock.exp (test_step): No longer expect that
1688 "set scheduler-locking step" with "next" over a function call runs
1689 threads unlocked.
1690
ad235a41
AT
16912015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1692
1693 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1694
15630549
AT
16952015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1696
1697 PR breakpoints/16466
1698 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1699 * gdb.mi/mi-pending.c (thread_func): New function.
1700 (int main): Add threading support required.
1701 * gdb.mi/mi-pending.exp: Add tests for this issue.
1702 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1703 (pendfunc2): Remove stdio dependency.
1704 * gdb.mi/mi-pendshr2.c: New file.
1705
693dca06
KS
17062015-03-23 Keith Seitz <keiths@redhat.com>
1707
1708 * gdb.linespec/keywords.c: New file.
1709 * gdb.linespec/keywords.exp: New file.
1710
7e993ebf
KS
17112015-03-23 Keith Seitz <keiths@redhat.com>
1712
1713 PR gdb/18021
1714 * gdb.dwarf2/staticvirtual.exp: New test.
1715
bc23328c
JK
17162015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1717
1718 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1719 * README: Remove HP-UX and gdb.hp.
1720 (configuration):
1721 * configure: Regenerate.
1722 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1723 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1724 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1725 gdb.hp/gdb.defects/Makefile.
1726 * gdb.hp/Makefile.in: File deleted.
1727 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1728 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1729 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1730 * gdb.hp/gdb.aCC/run.c: File deleted.
1731 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1732 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1733 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1734 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1735 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1736 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1737 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1738 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1739 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1740 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1741 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1742 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1743 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1744 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1745 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1746 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1747 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1748 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1749 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1750 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1751 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1752 * gdb.hp/gdb.compat/average.c: File deleted.
1753 * gdb.hp/gdb.compat/sum.c: File deleted.
1754 * gdb.hp/gdb.compat/xdb.c: File deleted.
1755 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1756 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1757 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1758 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1759 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1760 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1761 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1762 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1763 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1764 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1765 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1766 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1767 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1768 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1769 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1770 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1771 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1772 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1773 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1774 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1775 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1776 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1777 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1778 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1779 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1780 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1781 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1782 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1783 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1784 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1785 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1786 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1787 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1788 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1789 * gdb.hp/tools/odump: File deleted.
1790
8bf3b159
PA
17912015-03-19 Pedro Alves <palves@redhat.com>
1792
1793 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1794 (saw_thread_3): New globals.
1795 (top level): Increment them when an event for the corresponding
1796 thread is seen.
1797 (no thread starvation): New test.
1798
eb54c8bf
PA
17992015-03-19 Pedro Alves <palves@redhat.com>
1800
1801 * gdb.threads/continue-pending-status.c: New file.
1802 * gdb.threads/continue-pending-status.exp: New file.
1803
32d2e5d6
PA
18042015-03-18 Pedro Alves <palves@redhat.com>
1805
1806 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1807 Use gdb_is_target_remote instead of is_remote. Use
1808 gdb_test_multiple instead of gdb_expect. Exit early if
1809 gdb_test_multiple hits its internal matches. Tighten stepi tests
1810 expected output. Fail on exit with any signal, instead of just
1811 SIGILL.
1812
f68f11b7
YQ
18132015-03-18 Yao Qi <yao.qi@linaro.org>
1814
1815 PR tdep/18107
1816 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1817 variable.
1818 * gdb.base/catch-syscall.exp: Don't skip it on
1819 aarch64*-*-linux* target. Remove elements in all_syscalls.
1820 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1821 target.
1822 (setup_all_syscalls): New proc.
1823
ca5fd19b
YQ
18242015-03-16 Yao Qi <yao.qi@linaro.org>
1825
1826 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1827 (top level): Skip tests if valid_addr_p returns false for
1828 $cmd1 or $cmd2.
1829
85642ba0
AW
18302015-03-11 Andy Wingo <wingo@igalia.com>
1831
1832 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1833
e03f9645
YQ
18342015-03-11 Yao Qi <yao.qi@linaro.org>
1835
1836 * gdb.base/catch-syscall.exp: Fix typo in comments.
1837
5d0962b2
YQ
18382015-03-11 Yao Qi <yao.qi@linaro.org>
1839
1840 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1841
b2df3cef
PA
18422015-03-09 Pedro Alves <palves@redhat.com>
1843
1844 * dg-extract-results.py: Delete.
1845
ef878e53
PA
18462015-03-09 Pedro Alves <palves@redhat.com>
1847
1848 Merge dg-extract-results.sh from GCC upstream (r218843).
1849
1850 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1851 * dg-extract-results.sh: Use --text with grep to avoid issues with
1852 binary files. Fall back to cat -v, if that doesn't work.
1853
9494d219
PA
18542015-03-05 Pedro Alves <palves@redhat.com>
1855
1856 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1857
a8d9763a
SM
18582015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1859
1860 * lib/mi-support.exp (mi_expect_interrupt): Accept
1861 alternative event for when in all-stop mode.
1862
be9957b8
PA
18632015-03-04 Pedro Alves <palves@redhat.com>
1864
1865 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1866
d57be0f4 18672015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1868
1869 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1870
c214c7cf
AA
18712015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1872
1873 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1874 regexps for GDB's current line display, accept a hex address
1875 preceding the line number.
1876
6d74a497
AA
18772015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1878
1879 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1880 the 'arch1' variable for "s390*-linux*" targets.
1881
511aee7c
PA
18822015-03-04 Pedro Alves <palves@redhat.com>
1883
1884 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1885 (main): Pass missing retval argument to pthread_join call.
1886
95e50b27
PA
18872015-03-02 Pedro Alves <palves@redhat.com>
1888
1889 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1890 (top level): Call do_test with non-stop as well.
1891
28054d69
PA
18922015-03-02 Pedro Alves <palves@redhat.com>
1893
1894 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1895 -1.
1896
4fa5d7b4
AA
18972015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1898
1899 * gdb.arch/s390-vregs.exp: New test.
1900 * gdb.arch/s390-vregs.S: New file.
1901
97c18565
PA
19022015-02-27 Pedro Alves <palves@redhat.com>
1903
1904 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1905 call to catch_command_errors.
1906 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1907 catch_command_errors.
1908
a37bfa30
PA
19092015-02-27 Pedro Alves <palves@redhat.com>
1910
1911 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1912 "true" for boolean result.
1913 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1914 prototype of main.
1915
6f98576f
PA
19162015-02-27 Pedro Alves <palves@redhat.com>
1917
1918 * lib/unbuffer_output.c: New file.
1919 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1920 (main): Call gdb_unbuffer_output.
1921
eba5ab56
YQ
19222015-02-27 Yao Qi <yao.qi@linaro.org>
1923
1924 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1925 target.
1926
0def5aaa
DE
19272015-02-26 Doug Evans <dje@google.com>
1928
1929 * gdb.cp/class2.cc (Dbase, D): New classes.
1930 (main): New local delta.
1931 * gdb.cp/class2.exp: Test printing delta.
1932 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1933 (dynbar): New global.
1934 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1935
081a1c2c
JK
19362015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1937
1938 * gdb.compile/compile-ifunc.c: New file.
1939 * gdb.compile/compile-ifunc.exp: New file.
1940
2f41223f
AT
19412015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1942
1943 * gdb.base/structs.exp: Check for correct struct on finish.
1944
03eddd80
YQ
19452015-02-26 Yao Qi <yao.qi@linaro.org>
1946
1947 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1948 is zero.
1949
80c57053
JK
19502015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1951
1952 * gdb.arch/cordic.ko.bz2: New file.
1953 * gdb.arch/cordic.ko.debug.bz2: New file.
1954 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1955
21613c12
YQ
19562015-02-25 Yao Qi <yao.qi@linaro.org>
1957
1958 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1959 aarch64*-*-* target.
1960
d8b901ed
PA
19612015-02-23 Pedro Alves <palves@redhat.com>
1962
1963 * lib/gdb.exp (delete_breakpoints): Rewrite using
1964 gdb_test_multiple.
1965
e5b85ead
PA
19662015-02-23 Pedro Alves <palves@redhat.com>
1967
1968 * gdb.base/info-os.c: Include stdlib.h.
1969
85c3a371
DE
19702015-02-22 Doug Evans <xdje42@gmail.com>
1971
1972 PR symtab/17855
1973 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1974 is read after symbols have been re-read.
1975 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1976 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1977
96553a0c
DE
19782015-02-21 Doug Evans <dje@google.com>
1979
1980 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1981
97a0c697
JK
19822015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1983
1984 PR corefiles/17808
1985 * gdb.arch/i386-biarch-core.core.bz2: New file.
1986 * gdb.arch/i386-biarch-core.exp: New file.
1987
a47cd6e9
PA
19882015-02-21 Pedro Alves <palves@redhat.com>
1989
1990 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1991 runto_main fails.
1992
c5facdc4
PA
19932015-02-20 Pedro Alves <palves@redhat.com>
1994
1995 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1996 info probes.
1997
2db9a427
PA
19982015-02-20 Pedro Alves <palves@redhat.com>
1999
2000 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2001
60fb7e9e
PA
20022015-02-20 Pedro Alves <palves@redhat.com>
2003
2004 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2005 clean_restart before gdb_target_supports_trace.
2006
5c5019c2
PA
20072015-02-20 Pedro Alves <palves@redhat.com>
2008
2009 PR threads/18006
2010 * gdb.threads/clone-thread_db.c: New file.
2011 * gdb.threads/clone-thread_db.exp: New file.
2012
c9587f88
AT
20132015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2014
2015 PR breakpoints/16812
2016 * gdb.base/catch-gdb-caused-signals.c: New file.
2017 * gdb.base/catch-gdb-caused-signals.exp: New file.
2018
f6a88844
JM
20192015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2020
2021 * configure: Regenerated.
2022 * configure.ac: Use GDB_AC_TRANSFORM.
2023 * aclocal.m4: sinclude ../transform.m4.
2024
497c491b
JM
20252015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2026
2027 * lib/dtrace.exp: New file.
2028 * gdb.base/dtrace-probe.exp: Likewise.
2029 * gdb.base/dtrace-probe.d: Likewise.
2030 * gdb.base/dtrace-probe.c: Likewise.
2031 * lib/pdtrace.in: Likewise.
2032 * configure.ac: Output variables with the transformed names of
2033 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2034 * configure: Regenerated.
2035
03e98035
JM
20362015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2037
2038 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2039 expected message when trying to access $_probe_* convenience
2040 variables while not on a probe.
2041
63cc30e9
JK
20422015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2043
2044 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2045
0703599a
PA
20462015-02-11 Pedro Alves <pedro@codesourcery.com>
2047
2048 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2049 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2050
7e60a48e
DE
20512015-02-10 Doug Evans <xdje42@gmail.com>
2052
2053 * lib/gdb.exp (gdb_load): Always return a result.
2054
01b088bc
PA
20552015-02-10 Pedro Alves <palves@redhat.com>
2056
2057 * gdb.threads/signal-sigtrap.c: New file.
2058 * gdb.threads/signal-sigtrap.exp: New file.
2059
b05ec7a5
AT
20602015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2061
2062 * gdb.trace/no-attach-trace.c: New file.
2063 * gdb.trace/no-attach-trace.exp: New file.
2064
a2c2acaf
MW
20652015-02-09 Mark Wielaard <mjw@redhat.com>
2066
2067 * gdb.dwarf2/atomic.c: New file.
2068 * gdb.dwarf2/atomic-type.exp: Likewise.
2069
31fd9caa
MM
20702015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2071
2072 * gdb.btrace/buffer-size.exp: Update "info record" output.
2073 * gdb.btrace/delta.exp: Update "info record" output.
2074 * gdb.btrace/enable.exp: Update "info record" output.
2075 * gdb.btrace/finish.exp: Update "info record" output.
2076 * gdb.btrace/instruction_history.exp: Update "info record" output.
2077 * gdb.btrace/next.exp: Update "info record" output.
2078 * gdb.btrace/nexti.exp: Update "info record" output.
2079 * gdb.btrace/step.exp: Update "info record" output.
2080 * gdb.btrace/stepi.exp: Update "info record" output.
2081 * gdb.btrace/nohist.exp: Update "info record" output.
2082
d33501a5
MM
20832015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2084
2085 * gdb.btrace/buffer-size: New.
2086
f4abbc16
MM
20872015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2088
2089 * gdb.btrace/delta.exp: Update "info record" output.
2090 * gdb.btrace/enable.exp: Update "info record" output.
2091 * gdb.btrace/finish.exp: Update "info record" output.
2092 * gdb.btrace/instruction_history.exp: Update "info record" output.
2093 * gdb.btrace/next.exp: Update "info record" output.
2094 * gdb.btrace/nexti.exp: Update "info record" output.
2095 * gdb.btrace/step.exp: Update "info record" output.
2096 * gdb.btrace/stepi.exp: Update "info record" output.
2097 * gdb.btrace/nohist.exp: Update "info record" output.
2098
b9d61307
SM
20992015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2100
2101 PR gdb/15678
2102 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2103
e584fdbc
PA
21042015-02-06 Pedro Alves <palves@redhat.com>
2105
2106 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2107 macro.
2108 (seconds_left, again): New globals.
2109 (main): Wait seconds_left in a 1-second sleep loop instead of
2110 sleeping 180 seconds. If 'again' is set, reset the seconds
2111 counter.
2112 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2113 'again' in the inferior before detaching. Print the seconds left.
2114 (options): New global.
2115 (top level): Build program with -DTIMEOUT=$timeout.
2116
77f41761
PA
21172015-02-06 Pedro Alves <palves@redhat.com>
2118
2119 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2120 determine how many seconds to pass to 'alarm'.
2121 * gdb.base/gdb-sigterm.exp (top level): Build program with
2122 -DTIMEOUT=$timeout.
2123 (do_test): Return success/failure indication. Add more verbose
2124 logging. Don't fail if 200 single steps are seen. Instead, fail
2125 when the test times out.
2126 (passes): New global.
2127 (top level): Break the testing loop if testing fails on any
2128 iteration. Use gdb_assert.
2129
b9394193
DB
21302015-02-04 Don Breazeal <donb@codesourcery.com>
2131
2132 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2133 and initialize them.
2134 (ipc_cleanup): New function.
2135 (main): Don't declare shmid, semid, and msqid. Add a call to
2136 atexit so that we call ipc_cleanup on exit.
2137
42d9e528
PA
21382015-02-04 Pedro Alves <palves@redhat.com>
2139
2140 * boards/native-extended-gdbserver.exp: Remove any target variant
2141 specifications from the board name before clearing the isremote
2142 flag from board_info.
2143
ae6ae975
DE
21442015-01-31 Doug Evans <xdje42@gmail.com>
2145
2146 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2147
cfb069a8
GB
21482015-01-31 Gary Benson <gbenson@redhat.com>
2149
2150 * gdb.base/completion.exp: Disable completion limiting for
2151 existing tests. Add new tests to check completion limiting.
2152 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2153
5dd31d79
DE
21542015-01-31 Doug Evans <xdje42@gmail.com>
2155
2156 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2157
9f050062
DE
21582015-01-31 Doug Evans <xdje42@gmail.com>
2159
2160 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2161 entries. Duplicate file section script entries.
2162 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2163 inlined entries. Add test for safe-path rejection.
2164 * gdb.python/py-section-script.c: Add duplicate inlined section script
2165 entries. Duplicate file section script entries.
2166 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2167 inlined entries. Add test for safe-path rejection.
2168
df25ebbd
JB
21692015-01-29 Joel Brobecker <brobecker@adacore.com>
2170
2171 * gdb.ada/disc_arr_bound: New testcase.
2172
4a0ca9ec
JB
21732015-01-29 Joel Brobecker <brobecker@adacore.com>
2174
2175 * gdb.ada/mi_var_array: New testcase.
2176
3a8b707a
DE
21772015-01-27 Doug Evans <dje@google.com>
2178
2179 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2180 Add test for objfile.filename, objfile.username after objfile
2181 has been unloaded.
2182
f8313f6e
JB
21832015-01-26 Joel Brobecker <brobecker@adacore.com>
2184
2185 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2186 the second test to print the name attribute of value
2187 returned by the call to gdb.lookup_type, and adjust
2188 the expected output accordingly.
2189
37bc665e
MW
21902015-01-25 Mark Wielaard <mjw@redhat.com>
2191
2192 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2193 * gdb.base/disp-step-fork.c: Include unistd.h.
2194 * gdb.base/siginfo-obj.c: Include stdio.h.
2195 * gdb.base/siginfo-thread.c: Likewise.
2196 * gdb.mi/non-stop.c: Include unistd.h.
2197 * gdb.mi/nsthrexec.c: Include stdio.h.
2198 * gdb.mi/pthreads.c: Include unistd.h.
2199 * gdb.modula2/unbounded1.c (main): Declare returns int.
2200 * gdb.reverse/consecutive-reverse.c: Likewise.
2201 * gdb.threads/create-fail.c: Include unistd.h.
2202 * gdb.threads/killed.c: Likewise.
2203 * gdb.threads/linux-dp.c: Likewise.
2204 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2205 * gdb.threads/non-ldr-exc-2.c: Likewise.
2206 * gdb.threads/non-ldr-exc-3.c: Likewise.
2207 * gdb.threads/non-ldr-exc-4.c: Likewise.
2208 * gdb.threads/pthreads.c: Include unistd.h.
2209 (main): Declare returns int.
2210 * gdb.threads/tls-main.c (foo): New declaration.
2211 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2212
f7e5394d
SM
22132015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2214
2215 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2216 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2217
743649fd
MW
22182015-01-15 Mark Wielaard <mjw@redhat.com>
2219
2220 * gdb.base/noreturn-return.c: New file.
2221 * gdb.base/noreturn-return.exp: New file.
2222 * gdb.base/noreturn-finish.c: New file.
2223 * gdb.base/noreturn-finish.exp: New file.
2224
198297aa
PA
22252015-01-23 Pedro Alves <palves@redhat.com>
2226
2227 * gdb.threads/continue-pending-after-query.c: New file.
2228 * gdb.threads/continue-pending-after-query.exp: New file.
2229
717cf30c
AG
22302015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2231 Simon Marchi <simon.marchi@ericsson.com>
2232
2233 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2234 * gdb.base/valgrind-db-attach.exp: Same.
2235 * gdb.base/valgrind-infcall.exp: Same.
2236 * lib/mi-support.exp (default_mi_gdb_start): Same.
2237 * lib/prompt.exp (default_prompt_gdb_start): Same.
2238 * lib/gdb.exp (default_gdb_spawn): Same.
2239 (gdb_interact): New.
2240
2241
4b62a76e
JK
22422015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2243
2244 * gdb.compile/compile.exp (pointer to jit function): New test.
2245
b4cdae6f
WW
22462015-01-17 Wei-cheng Wang <cole945@gmail.com>
2247
2248 * lib/gdb.exp (supports_process_record): Return true for
2249 powerpc*-*-linux*.
2250 (supports_reverse): Likewise.
2251
d221e7ef
DB
22522015-01-15 Don Breazeal <donb@codesourcery.com>
2253
2254 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2255 instead of checking whether the target board is remote and
2256 use spawn_wait_for_attach instead of exec/sleep.
2257 * gdb.base/attach-twice.exp: Likewise.
2258
bafffb51
JB
22592015-01-15 Joel Brobecker <brobecker@adacore.com>
2260
2261 * gdb.ada/var_arr_attrs: New testcase.
2262
5589af0e
PA
22632015-01-14 Pedro Alves <palves@redhat.com>
2264 Joel Brobecker <brobecker@adacore.com>
2265
2266 PR gdb/17525
2267 * gdb.base/bp-cmds-execution-x-script.c: New file.
2268 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2269 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2270
6c400b59
PA
22712015-01-14 Pedro Alves <palves@redhat.com>
2272
2273 PR cli/17828
2274 * gdb.base/batch-preserve-term-settings.c: New file.
2275 * gdb.base/batch-preserve-term-settings.exp: New file.
2276
e02c96a7
DE
22772015-01-13 Doug Evans <dje@google.com>
2278
2279 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2280 binary.
2281
576fd14c
JB
22822015-01-13 Joel Brobecker <brobecker@adacore.com>
2283
2284 * Makefile.in (clean mostlyclean): Do not delete *.py.
2285
04dccad0
JB
22862015-01-13 Joel Brobecker <brobecker@adacore.com>
2287
2288 * gdb.python/py-lookup-type.exp: New file.
2289
3d230f71
PA
22902015-01-12 Pedro Alves <palves@redhat.com>
2291
2292 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2293 restore GDBFLAGS before returning.
2294
7e67715d
JK
22952015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2296
2297 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2298 is_amd64_regs_target and is_x86_like_target.
2299
f2e0d4b4
DE
23002015-01-11 Doug Evans <xdje42@gmail.com>
2301
2302 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2303 is given without an explicit form.
2304 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2305 attributes.
2306 * gdb.dwarf/corrupt.exp: Ditto.
2307 * gdb.dwarf2/enum-type.exp: Ditto.
2308 * gdb.trace/entry-values.exp: Ditto.
2309 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2310
439250fb
DE
23112015-01-11 Doug Evans <xdje42@gmail.com>
2312
2313 PR gdb/15830
2314 * gdb.base/maint.exp: Remove references to "maint demangle".
2315 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2316 Add tests for explicitly specifying language to demangle.
2317 * gdb.dlang/demangle.exp: Ditto.
2318
ede9f622
PA
23192015-01-09 Pedro Alves <palves@redhat.com>
2320
2321 * gdb.threads/non-stop-fair-events.c: New file.
2322 * gdb.threads/non-stop-fair-events.exp: New file.
2323
a7b796db
PA
23242015-01-09 Pedro Alves <palves@redhat.com>
2325
2326 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2327 the global scope. Set a breakpoint after all threads are started
2328 rather than stepping over two source lines. Expect the prompt.
2329 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2330 global.
2331 (NUM): Now 15.
2332 (main): Use threads_started_barrier to wait for all threads to
2333 start. Main thread no longer calls thread_function. Exit after
2334 180 seconds.
2335 (loop): New function.
2336 (thread_function): Wait on threads_started_barrier barrier. Call
2337 'loop' at each iteration.
2338 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2339 threads have started, instead of hardcoding number of "next"
2340 steps. Use an access watchpoint instead of a write watchpoint.
2341
9665ffdd
PA
23422015-01-09 Pedro Alves <palves@redhat.com>
2343
2344 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2345 (thread_func): Wait on barrier.
2346 (main): Wait for all threads to start before stopping GDB.
2347 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2348 global.
2349 (thread1_func, thread2_func): Wait on barrier.
2350 (main): Wait for all threads to start before stopping GDB.
2351 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2352 New global.
2353 (thread1_func, thread2_func): Wait on barrier.
2354 (main): Wait for all threads to start before stopping GDB.
2355
c945a99f
PA
23562015-01-09 Pedro Alves <palves@redhat.com>
2357
2358 * gdb.threads/attach-many-short-lived-threads.c: New file.
2359 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2360
c1a747c1
PA
23612014-01-09 Pedro Alves <palves@redhat.com>
2362
2363 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2364 instead of to thread 2.
2365 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2366 Add barrier around each pthread_create call instead of around all
2367 calls.
2368 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2369 Set a break on thread_function and have the child threads hit it
2370 one at at a time.
2371
60b3033e
PA
23722015-01-09 Pedro Alves <palves@redhat.com>
2373
2374 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2375 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2376 false.
2377 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2378 checking whether the target board is remote.
2379 * gdb.multi/multi-attach.exp: Likewise.
2380 * gdb.python/py-sync-interp.exp: Likewise.
2381 * gdb.server/ext-attach.exp: Likewise.
2382 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2383 tests that need to attach, instead of checking whether the target
2384 board is remote at the top of the file.
2385
acc018ac
YQ
23862015-01-08 Yao Qi <yao@codesourcery.com>
2387
2388 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2389
50a18af8
JK
23902015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2391
2392 Fix testcase compilation.
2393 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2394
8503d6e1
JB
23952015-01-06 Joel Brobecker <brobecker@adacore.com>
2396
2397 * gdb.python/py-type.exp: Add a couple test about empty
2398 array creation, and negative-length array creation.
2399
cc73dbcc
DE
24002015-01-02 Doug Evans <xdje42@gmail.com>
2401
2402 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2403
0300bbc7
DE
24042015-01-02 Doug Evans <dje@google.com>
2405
2406 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2407
9d85a0ec
YQ
24082014-12-29 Yao Qi <yao@codesourcery.com>
2409
2410 * gdb.trace/entry-values.exp: Update comments. Rename variable
2411 bar_call_foo to returned_from_foo.
2412
87186c6a
MMN
24132014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2414
2415 PR gdb/17394
2416 * gdb.linespec/break-asm-file.c: New file.
2417 * gdb.linespec/break-asm-file.exp: New file.
2418 * gdb.linespec/break-asm-file0.s: New file.
2419 * gdb.linespec/break-asm-file1.s: New file.
2420
1bab7383
YQ
24212014-12-18 Nigel Stephens <nigel@mips.com>
2422 Maciej W. Rozycki <macro@codesourcery.com>
2423
2424 * gdb.base/float.exp: Handle the new output from "info float" on
2425 MIPS targets.
2426
1bc1068a
JK
24272014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2428
2429 Fix MinGW compilation.
2430 * gdb.compile/compile-ops.exp: Update untested message if
2431 !skip_compile_feature_tests.
2432 * gdb.compile/compile-setjmp.exp: Likewise.
2433 * gdb.compile/compile-tls.exp: Likewise.
2434 * gdb.compile/compile.exp: Likewise.
2435 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2436 supported on this host".
2437
b6615d10
DE
24382014-12-16 Doug Evans <xdje42@gmail.com>
2439
2440 * boards/stabs.exp: New file.
2441
25dda427
AA
24422014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2443
2444 * gdb.base/completion.exp: Adjust to format changes of "maint
2445 print user-registers".
2446
bf330350
CU
24472014-12-16 Catalin Udma <catalin.udma@freescale.com>
2448
2449 PR server/17457
2450 * gdb.arch/aarch64-fp.c: New file.
2451 * gdb.arch/aarch64-fp.exp: New file.
2452
395cf596
SDJ
24532014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2454
2455 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2456 r210637, r210913, r211666, r215400, r215817).
2457
2458 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2459 * dg-extract-results.py: New file.
2460 * dg-extract-results.sh: Use it if the environment seems
2461 suitable.
2462
2463 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2464
2465 * dg-extract-results.py (parse_run): Handle warnings that
2466 are printed before a test harness is run.
2467
2468 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2469
2470 * dg-extract-results.py (Named): Remove __cmp__ method.
2471 (output_variation): Use a key to sort variation.harnesses.
2472
2473 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2474
2475 * dg-extract-results.py: For Python 3, force sys.stdout to
2476 handle surrogate escape sequences.
2477 (safe_open): New function.
2478 (output_segment, main): Use it.
2479
2480 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2481
2482 * dg-extract-results.py (Prog.result_re): Include options
2483 in test name.
2484
2485 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2486
2487 * dg-extract-results.py (output_variation): Always sort if
2488 do_sum.
2489
e882ef3c
SM
24902014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2491
2492 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2493 as long as we get pagination notifications.
2494
4992aa20
JM
24952014-12-15 Jason Merrill <jason@redhat.com>
2496
2497 * Makefile.in (check-gdb.%): Restore.
2498 * README: Mention it.
2499
c1b5a1a6
JB
25002014-12-13 Joel Brobecker <brobecker@adacore.com>
2501
2502 * gdb.ada/str_uninit: New testcase.
2503
5537b577
JK
25042014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2505
2506 PR symtab/17642
2507 * gdb.base/vla-stub-define.c: New file.
2508 * gdb.base/vla-stub.c: New file.
2509 * gdb.base/vla-stub.exp: New file.
2510
bb2ec1b3
TT
25112014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2512 Jan Kratochvil <jan.kratochvil@redhat.com>
2513 Tom Tromey <tromey@redhat.com>
2514
2515 * configure.ac: Add gdb.compile/.
2516 * configure: Regenerate.
2517 * gdb.compile/Makefile.in: New file.
2518 * gdb.compile/compile-ops.exp: New file.
2519 * gdb.compile/compile-ops.c: New file.
2520 * gdb.compile/compile-tls.c: New file.
2521 * gdb.compile/compile-tls.exp: New file.
2522 * gdb.compile/compile-constvar.S: New file.
2523 * gdb.compile/compile-constvar.c: New file.
2524 * gdb.compile/compile-mod.c: New file.
2525 * gdb.compile/compile-nodebug.c: New file.
2526 * gdb.compile/compile-setjmp-mod.c: New file.
2527 * gdb.compile/compile-setjmp.c: New file.
2528 * gdb.compile/compile-setjmp.exp: New file.
2529 * gdb.compile/compile-shlib.c: New file.
2530 * gdb.compile/compile.c: New file.
2531 * gdb.compile/compile.exp: New file.
2532 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2533
4ff709eb
TT
25342014-12-12 Tom Tromey <tromey@redhat.com>
2535
2536 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2537 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2538
6dddd6a5
DE
25392014-12-12 Doug Evans <dje@google.com>
2540
2541 * lib/gdb-python.exp (get_python_valueof): New function.
2542 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2543
71c24708
AA
25442014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2545
2546 * gdb.base/completion.exp: Add test for completion of "info
2547 registers ".
2548
3e29f34a
MR
25492014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2550
2551 * gdb.base/func-ptrs.c: New file.
2552 * gdb.base/func-ptrs.exp: New file.
2553
fc126975
SM
25542014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2555
2556 PR breakpoints/17012
2557 * gdb.base/dprintf-detach.c: New file.
2558 * gdb.base/dprintf-detach.exp: New file.
2559
0a46d518
SM
25602014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2561
2562 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2563 * lib/gdb.exp (target_is_gdbserver): New procedure.
2564
a0be3e44
DE
25652014-12-08 Doug Evans <dje@google.com>
2566
2567 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2568
df1b803a
YQ
25692014-12-05 Yao Qi <yao@codesourcery.com>
2570
2571 * gdb.guile/scm-error.exp: Remove the third argument to
2572 gdb_remote_download.
2573 * gdb.guile/scm-frame-args.exp: Likewise.
2574 * gdb.guile/scm-section-script.exp: Likewise.
2575
ddb9f679
YQ
25762014-12-05 Yao Qi <yao@codesourcery.com>
2577
2578 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2579
86e4ed39
DE
25802014-12-04 Doug Evans <dje@google.com>
2581
2582 * gdb.python/py-objfile.exp: Add tests for
2583 objfile.add_separate_debug_file.
2584
7c50a931
DE
25852014-12-04 Doug Evans <dje@google.com>
2586
2587 * lib/gdb.exp (get_build_id): New function.
2588 (build_id_debug_filename_get): Rewrite to use it.
2589 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2590
621661e3
MR
25912014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2592
2593 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2594 `method(long)', not just 0x0.
2595 * gdb.cp/nsalias.exp: Align code labels to 4.
2596 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2597 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2598 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2599 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2600 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2601 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2602
29f0c3b7
DE
26032014-12-02 Doug Evans <dje@google.com>
2604
e1e061e7 2605 PR symtab/17602
29f0c3b7 2606 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2607 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2608 * gdb.cp/anon-ns.exp: Update.
2609
162078c8
NB
26102014-12-02 Nick Bull <nicholaspbull@gmail.com>
2611
2612 * gdb.python/py-events.py (inferior_call_handler): New.
2613 (register_changed_handler, memory_changed_handler): New.
2614 (test_events.invoke): Register new handlers.
2615 * gdb.python/py-events.exp: Add tests for inferior call,
2616 memory_changed and register_changed events.
2617
fdb09caf
AA
26182014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2619
2620 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2621 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2622 if the linker doesn't understand this.
2623
55cfb2c4
SM
26242014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2625
2626 * gdb.python/python.exp: Change expected reply to help().
2627
9e8cd6df
YQ
26282014-12-01 Yao Qi <yao@codesourcery.com>
2629
2630 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2631 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2632 * configure: Re-generated.
2633
6c659fc2
SC
26342014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2635
2636 * gdb.cp/chained-calls.cc: New file.
2637 * gdb.cp/chained-calls.exp: New file.
2638 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2639
d7fc3181
SM
26402014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2641
2642 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2643 * gdb.dwarf2/symtab-producer.exp: Same.
2644 * gdb.gdb/python-interrupts.exp: Same.
2645 * gdb.gdb/python-selftest.exp: Same.
2646 * gdb.python/py-linetable.exp: Same.
2647 * gdb.python/py-type.exp: Same.
2648 * gdb.python/py-value-cc.exp: Same.
2649 * gdb.python/py-value.exp: Same.
2650
10e79639
YQ
26512014-11-28 Yao Qi <yao@codesourcery.com>
2652
2653 * gdb.base/break-probes.exp: Match library name prefixed with
2654 sysroot.
2655
f28a0564
SM
26562014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2657
2658 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2659 test expected output. Add parentheses for the call to print.
2660 Remove L suffix from integers.
2661
3fe1ce1d
DE
26622014-11-26 Doug Evans <dje@google.com>
2663
2664 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2665
84429e27
YQ
26662014-11-22 Yao Qi <yao@codesourcery.com>
2667
2668 * gdb.trace/entry-values.c: Remove asms.
2669 (foo): Add foo_label.
2670 (bar): Add bar_label.
2671 * gdb.trace/entry-values.exp: Remove code computing foo's
2672 length and bar's length.
2673 (Dwarf::assemble): Invoke function_range for bar and use
2674 MACRO_AT_func for foo.
2675
26741859
YQ
26762014-11-22 Yao Qi <yao@codesourcery.com>
2677
2678 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2679 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2680 Use .Lgcc43_procstart instead of gcc43.
2681
45e44d27
JB
26822014-11-21 Joel Brobecker <brobecker@adacore.com>
2683
2684 * gdb.ada/n_arr_bound: New testcase.
2685
458c8db8
SDJ
26862014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2687
2688 PR breakpoints/10737
2689 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2690 test_catch_syscall_multi_arch.
2691 (test_catch_syscall_multi_arch): New function.
2692
43f3e411
DE
26932014-11-20 Doug Evans <xdje42@gmail.com>
2694
2695 * gdb.base/maint.exp: Update expected output.
2696
0d7b2549
AA
26972014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2698
2699 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2700 4-byte instruction on S390.
2701
8908fca5
JB
27022014-11-19 Joel Brobecker <brobecker@adacore.com>
2703
2704 * gdb.ada/arr_arr: New testcase.
2705
4a46959e
JB
27062014-11-19 Joel Brobecker <brobecker@adacore.com>
2707
2708 * gdb.ada/pkd_arr_elem: New Testcase.
2709
470e2f4e
LM
27102014-11-18 Luis Machado <lgustavo@codesourcery.com>
2711
2712 * gdb.reverse/break-precsave: Expect completion message for
2713 core file reads.
2714 * gdb.reverse/consecutive-precsave.exp: Likewise.
2715 * gdb.reverse/finish-precsave.exp: Likewise.
2716 * gdb.reverse/i386-precsave.exp: Likewise.
2717 * gdb.reverse/machinestate-precsave.exp: Likewise.
2718 * gdb.reverse/sigall-precsave.exp: Likewise.
2719 * gdb.reverse/solib-precsave.exp: Likewise.
2720 * gdb.reverse/step-precsave.exp: Likewise.
2721 * gdb.reverse/until-precsave.exp: Likewise.
2722 * gdb.reverse/watch-precsave.exp: Likewise.
2723
a267f3ad
AA
27242014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2725
2726 * gdb.base/bp-permanent.c: Include unistd.h.
2727 * gdb.python/py-framefilter-mi.c (main): Add return type.
2728 * gdb.python/py-framefilter.c (main): Likewise.
2729 * gdb.trace/actions-changed.c (main): Likewise.
2730
12084a9a
AA
27312014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2732
2733 * gdb.mi/until.c: Add eye-catchers.
2734 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2735 line numbers.
2736
dc7e1a77
AA
27372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2738
2739 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2740 function header variants in break1.c.
2741 * gdb.base/ena-dis-br.exp: Likewise.
2742 * gdb.base/hbreak2.exp: Likewise.
2743 * gdb.reverse/until-precsave.exp: Drop references to removed
2744 non-prototype function header variants in ur1.c.
2745 * gdb.reverse/until-reverse.exp: Likewise.
2746
41c77605
PM
27472014-11-17 Petr Machata <pmachata@redhat.com>
2748
2749 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2750 ${_cu_offset_size} bytes abbrev offset.
2751
34248c3a
DE
27522014-11-15 Doug Evans <xdje42@gmail.com>
2753
2754 PR symtab/17559
2755 * gdb.base/line-symtabs.exp: New file.
2756 * gdb.base/line-symtabs.c: New file.
2757 * gdb.base/line-symtabs.h: New file.
2758
646da059
YQ
27592014-11-14 Yao Qi <yao@codesourcery.com>
2760
2761 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2762 (func): Add label func_label.
2763 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2764 Replace low_pc and high_pc with MACRO_AT_range.
2765 Replace name, low_pc and high_pc with MACRO_AT_func.
2766
9301ebe6
YQ
27672014-11-14 Yao Qi <yao@codesourcery.com>
2768
2769 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2770 Replace name, low_pc and high_pc with MACRO_AT_func.
2771
f166b542
YQ
27722014-11-14 Yao Qi <yao@codesourcery.com>
2773
2774 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2775 produce debug information.
2776 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2777
0f6e71e3
YQ
27782014-11-14 Yao Qi <yao@codesourcery.com>
2779
2780 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2781 object and get function length.
2782 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2783 with MACRO_AT_func.
2784 (top-level): Replace gdb_compile and clean_restart with
2785 prepare_for_testing.
2786 * gdb.dwarf2/main.c (main): Add label main_label.
2787
876c4df9
YQ
27882014-11-14 Yao Qi <yao@codesourcery.com>
2789
2790 * lib/dwarf.exp (function_range): New procedure.
2791 (Dwarf::_handle_macro_at_func): New procedure.
2792 (Dwarf::_handle_macro_at_range): New procedure.
2793 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2794
02ad9cf1
YQ
27952014-11-14 Yao Qi <yao@codesourcery.com>
2796
2797 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2798 (_handle_attribute): New procedure.
2799
a59add0c
AA
28002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2801
2802 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2803 * gdb.base/call-sc.c (zed): Likewise.
2804 * gdb.base/checkpoint.c (main): Likewise.
2805 * gdb.base/dump.c (main): Likewise.
2806 * gdb.base/gcore.c (main): Likewise.
2807 * gdb.base/huge.c (main): Likewise.
2808 * gdb.base/multi-forks.c (main): Likewise.
2809 * gdb.base/pr10179-a.c (main): Likewise.
2810 * gdb.base/savedregs.c (main): Likewise.
2811 * gdb.base/sigaltstack.c (main): Likewise.
2812 * gdb.base/siginfo.c (main): Likewise.
2813 * gdb.base/structs.c (zed): Likewise.
2814 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2815 * gdb.mi/mi-syn-frame.c (main): Likewise.
2816 * gdb.mi/until.c (foo, main): Likewise.
2817 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2818 * gdb.base/solib-weak.c (foo): Declare.
2819 * gdb.base/attach-twice.c: Include stdio.h.
2820 * gdb.base/weaklib1.c: Likewise.
2821 * gdb.base/weaklib2.c: Likewise.
2822 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2823 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2824 unistd.h.
2825 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2826 * gdb.mi/mi-exit-code.c: Likewise.
2827 * gdb.base/break-interp-lib.c: Include string.h.
2828 * gdb.base/coremaker.c: Likewise.
2829 * gdb.base/testenv.c: Likewise.
2830 * gdb.python/py-finish-breakpoint.c: Likewise.
2831 * gdb.base/inferior-died.c: Include sys/wait.h.
2832 * gdb.base/fileio.c: Include time.h.
2833 * gdb.base/async-shell.c: Include unistd.h.
2834 * gdb.base/dprintf-non-stop.c: Likewise.
2835 * gdb.base/info-os.c: Likewise.
2836 * gdb.mi/mi-console.c: Likewise.
2837 * gdb.mi/watch-nonstop.c: Likewise.
2838 * gdb.python/py-events.c: Likewise.
2839 * gdb.base/async.c (baz): Move up before its invocation.
2840 * gdb.base/code_elim2.c (my_global_func): Likewise.
2841 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2842 * gdb.base/advance.c (func2): Likewise.
2843
3b5d5997
AA
28442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2845
2846 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2847 variant.
2848 * gdb.base/annota3.c: Likewise.
2849 * gdb.base/async.c: Likewise.
2850 * gdb.base/average.c: Likewise.
2851 * gdb.base/call-ar-st.c: Likewise.
2852 * gdb.base/call-rt-st.c: Likewise.
2853 * gdb.base/call-sc.c: Likewise.
2854 * gdb.base/call-strs.c: Likewise.
2855 * gdb.base/ending-run.c: Likewise.
2856 * gdb.base/execd-prog.c: Likewise.
2857 * gdb.base/exprs.c: Likewise.
2858 * gdb.base/foll-exec.c: Likewise.
2859 * gdb.base/foll-fork.c: Likewise.
2860 * gdb.base/foll-vfork.c: Likewise.
2861 * gdb.base/funcargs.c: Likewise.
2862 * gdb.base/gcore.c: Likewise.
2863 * gdb.base/jump.c: Likewise.
2864 * gdb.base/langs0.c: Likewise.
2865 * gdb.base/langs1.c: Likewise.
2866 * gdb.base/langs2.c: Likewise.
2867 * gdb.base/mips_pro.c: Likewise.
2868 * gdb.base/nodebug.c: Likewise.
2869 * gdb.base/opaque0.c: Likewise.
2870 * gdb.base/opaque1.c: Likewise.
2871 * gdb.base/recurse.c: Likewise.
2872 * gdb.base/run.c: Likewise.
2873 * gdb.base/scope0.c: Likewise.
2874 * gdb.base/scope1.c: Likewise.
2875 * gdb.base/setshow.c: Likewise.
2876 * gdb.base/setvar.c: Likewise.
2877 * gdb.base/shmain.c: Likewise.
2878 * gdb.base/shr1.c: Likewise.
2879 * gdb.base/shr2.c: Likewise.
2880 * gdb.base/sigall.c: Likewise.
2881 * gdb.base/signals.c: Likewise.
2882 * gdb.base/so-indr-cl.c: Likewise.
2883 * gdb.base/solib2.c: Likewise.
2884 * gdb.base/structs.c: Likewise.
2885 * gdb.base/sum.c: Likewise.
2886 * gdb.base/vforked-prog.c: Likewise.
2887 * gdb.base/watchpoint.c: Likewise.
2888 * gdb.reverse/shr2.c: Likewise.
2889 * gdb.reverse/until-reverse.c: Likewise.
2890 * gdb.reverse/ur1.c: Likewise.
2891 * gdb.reverse/watch-reverse.c: Likewise.
2892
066a77c5
AA
28932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2894
2895 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2896 variant.
2897 * gdb.base/sepdebug.exp: Drop references to removed code.
2898
4f204ea5
AA
28992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2900
2901 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2902 variant. Preserve original line numbering.
2903 * gdb.base/list1.c: Likewise.
2904
3b377a3a
AA
29052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2906
2907 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2908 variant.
2909 * gdb.base/break1.c: Likewise.
2910 * gdb.base/break.exp: Drop references to removed code.
2911
e444df73
AA
29122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2913
2914 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2915 variant.
2916
8008f2a7
AA
29172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2918
2919 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2920
a5a06887
AA
29212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2922
2923 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2924 logic into perform_all_tests() and invoke it with and without
2925 function header prototypes.
2926 (do_function_calls): Remove conditional XFAIL for PR 5318.
2927 (rerun_and_prepare): Remove duplicate code.
2928 (perform_all_tests): New. Main logic moved here.
2929
44dba9b9
AA
29302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2931
2932 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2933 code guarded by #ifdef NO_PROTOTYPES.
2934 (t_double_many_args): Likewise.
2935 (DEF_FUNC_MANY_ARGS_1): Likewise.
2936 (DEF_FUNC_VALUES_1): Likewise.
2937 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2938 guarded by #ifdef PROTOTYPES.
2939
d1fbcd56
AA
29402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2941
2942 * gdb.mi/mi-console.c: Add eye-catcher.
2943 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2944 instead of literal line number.
2945
b0e59b8f
AA
29462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2947
2948 * gdb.base/shr2.c: Add eye-catcher.
2949 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2950 line number.
2951
78f98cca
AA
29522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2953
2954 * gdb.base/jump.c: Add eye-catchers.
2955 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2956 numbers.
2957
58fa2af0
AA
29582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2959
2960 * gdb.base/execd-prog.c: Add eye-catchers.
2961 * gdb.base/foll-exec.c: Likewise.
2962 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2963 line numbers.
2964
04e5059b
AA
29652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2966
2967 * gdb.base/ending-run.c: Add eye-catchers.
2968 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2969 literal line numbers.
2970
dbfdb174
AA
29712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2972
2973 * gdb.base/call-rt-st.c: Add eye-catchers.
2974 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2975 literal line numbers.
2976
888a2ade
AA
29772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2978
2979 * gdb.base/call-ar-st.c: Add eye-catchers.
2980 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2981 literal line numbers.
2982
6acc2dde
AA
29832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2984
2985 * gdb.base/average.c: Add eye-catchers.
2986 * gdb.base/sum.c: Likewise.
2987 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2988 regexps dynamically.
2989
9ecfcd1d
AA
29902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2991
2992 * gdb.base/solib1.c: Add eye-catchers.
2993 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2994 literal line numbers.
2995
78708b7c
PA
29962014-11-12 Pedro Alves <palves@redhat.com>
2997
2998 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2999 leader has exited.
3000
af48d08f
PA
30012014-11-12 Pedro Alves <palves@redhat.com>
3002
3003 * gdb.arch/i386-bp_permanent.c: New file.
3004 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3005 (srcfile): Set to i386-bp_permanent.c.
3006 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3007 that stepi does not execute the 'leave' instruction, instead of
3008 testing it does execute.
3009 * gdb.base/bp-permanent.c: New file.
3010 * gdb.base/bp-permanent.exp: New file.
3011
af3768e9
DE
30122014-11-10 Doug Evans <xdje42@gmail.com>
3013
3014 PR symtab/17564
3015 * gdb.base/symtab-search-order.exp: New file.
3016 * gdb.base/symtab-search-order.c: New file.
3017 * gdb.base/symtab-search-order-1.c: New file.
3018 * gdb.base/symtab-search-order-shlib-1.c: New file.
3019
9de00a4a
PA
30202014-11-07 Pedro Alves <palves@redhat.com>
3021
3022 PR gdb/17511
3023 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3024 i?86-*-linux*.
3025
e0f52461
SC
30262014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3027
3028 PR c++/17494
3029 * gdb.cp/pr17494.cc: New file.
3030 * gdb.cp/pr17494.exp: New file.
3031
6ce8c980
YQ
30322014-11-02 Yao Qi <yao@codesourcery.com>
3033
3034 * gdb.python/python.exp: Get working directory and match the
3035 output of "set extended-prompt \\w " with it.
3036
02be9a71
DE
30372014-10-30 Doug Evans <dje@google.com>
3038
3039 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3040 in objfiles.
3041 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3042 in progspaces.
3043
3bdff46b
LM
30442014-10-30 Janis Johnson <janisjo@codesourcery.com>
3045
3046 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3047 * gdb.base/realname-expand.exp: Likewise.
3048 * gdb.linespec/macro-relative.exp: Likewise.
3049
ab917dfb
PA
30502014-10-29 Pedro Alves <palves@redhat.com>
3051
3052 PR gdb/17408
3053 * gdb.threads/schedlock.c (some_function): New function.
3054 (call_function): New global.
3055 (MAYBE_CALL_SOME_FUNCTION): New macro.
3056 (thread_function): Call it.
3057 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3058 and use it instead of a global counter. Adjust all callers.
3059 (get_current_thread): Use "find current thread" for test message
3060 here rather than having all callers pass down the same string.
3061 (goto_loop): New procedure, factored out from ...
3062 (my_continue): ... this.
3063 (step_ten_loops): Change parameter from test message to command to
3064 use. Adjust.
3065 (list_count): Delete global.
3066 (check_result): New procedure, factored out from duplicate top
3067 level code.
3068 (continue tests): Wrap in with_test_prefix.
3069 (test_step): New procedure, factored out from duplicate top level
3070 code.
3071 (top level): Test "step" in combination with all scheduler-locking
3072 modes. Test "next" in combination with all scheduler-locking
3073 modes, and in combination with stepping over a function call or
3074 not.
3075 * gdb.threads/next-bp-other-thread.c: New file.
3076 * gdb.threads/next-bp-other-thread.exp: New file.
3077
d3d4baed
PA
30782014-10-29 Pedro Alves <palves@redhat.com>
3079
3080 PR python/17372
3081 * gdb.python/python.exp: Test a multi-line command that spawns
3082 interactive Python.
3083 * gdb.base/multi-line-starts-subshell.exp: New file.
3084
563e8d85
YQ
30852014-10-29 Yao Qi <yao@codesourcery.com>
3086
3087 * gdb.base/fileio.exp: Make directories on host.
3088
0ea4d52e
YQ
30892014-10-29 Yao Qi <yao@codesourcery.com>
3090
3091 * gdb.base/fileio.c (test_write): Close the file.
3092
7f5ef605
PA
30932014-10-28 Pedro Alves <palves@redhat.com>
3094
3095 PR gdb/12623
3096 * gdb.base/sigstep.c (no_handler): New global.
3097 (main): If 'no_handler is true, set the signal handlers to
3098 SIG_IGN.
3099 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3100 with_sw_watch and no_handler parameters. Handle them.
3101 (top level) <stepping over handler when stopped at a breakpoint
3102 test>: Add a test axis for testing with a software watchpoint, and
3103 another for testing with the signal handler set to SIG_IGN.
3104 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3105 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3106
abbdbd03
PA
31072014-10-28 Pedro Alves <palves@redhat.com>
3108
3109 PR gdb/17511
3110 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3111 * gdb.base/sigstep.exp (other_handler_location): New global.
3112 (advance): Support stepping into the signal handler, and running
3113 commands while in the handler.
3114 (in_handler_map): New global.
3115 (top level): In the advance test, add combinations for getting
3116 into the handler with stepping commands, and for running commands
3117 in the handler. Add comment descripting the advancei tests.
3118
1df4399f
PA
31192014-10-28 Pedro Alves <palves@redhat.com>
3120
3121 * gdb.base/sigstep.exp: Use build_executable instead of
3122 prepare_for_testing.
3123 (top level): Move code that starts GDB, runs to main and creates a
3124 display to ...
3125 (restart): ... this new procedure.
3126 (top level): Move backtrace from signal handler test to ...
3127 (validate_backtrace): ... this new procedure.
3128 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3129 with_test_prefix. Always restart GDB.
3130 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3131 with_test_prefix. Always restart GDB. No need to delete
3132 breakpoints after the test.
3133 (test_skip_handler): Remove prefix parameter.
3134 (skip_over_handler, breakpoint_to_handler)
3135 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3136 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3137 restart GDB. No need to delete breakpoints after the test.
3138 (top level): Use foreach to call the test procedures with
3139 different commands.
3140
a5b6e449
PA
31412014-10-28 Pedro Alves <palves@redhat.com>
3142
3143 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3144 instead of GNATS numbers.
3145 * gdb.base/sigbpt.exp: Likewise.
3146 * gdb.base/siginfo.exp: Likewise.
3147 * gdb.base/sigstep.exp: Likewise.
3148
e5f8a7cc
PA
31492014-10-27 Pedro Alves <palves@redhat.com>
3150
3151 * gdb.base/sigstep.c (dummy): New global.
3152 (main): Issue a couple writes to the new global.
3153 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3154 procedures.
3155 (skip_over_handler): Use test_skip_handler.
3156 (top level): Call skip_over_handler for stepi and nexti too.
3157 (breakpoint_over_handler): Use test_skip_handler.
3158 (top level): Call breakpoint_over_handler for stepi and nexti too.
3159
763905a3
YQ
31602014-10-27 Yao Qi <yao@codesourcery.com>
3161
3162 * gdb.trace/tfile.c (adjust_function_address)
3163 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3164 function descriptor.
3165
6f259a23
DB
31662014-10-24 Don Breazeal <donb@codesourcery.com>
3167
3168 * gdb.base/foll-fork.exp (test_follow_fork,
3169 catch_fork_child_follow): Check for updated fork messages emitted
3170 from infrun.c.
3171 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3172 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3173 vfork_and_exec_child_follow_through_step): Check for updated vfork
3174 messages emitted from infrun.c.
3175
09dd9a69
PA
31762014-10-24 Pedro Alves <palves@redhat.com>
3177
3178 * gdb.base/corefile.exp: Remove references to ultrix.
3179 * gdb.base/interrupt.exp: Likewise.
3180 * gdb.base/whatis.exp: Likewise.
3181 * gdb.gdb/selftest.exp: Likewise.
3182 * gdb.threads/manythreads.exp: Likewise.
3183 * gdb.threads/print-threads.exp: Likewise.
3184 * gdb.threads/pthreads.exp:: Likewise.
3185 * gdb.threads/schedlock.exp: Likewise.
3186
3433cfa5
SC
31872014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3188
3189 * gdb.cp/non-trivial-retval.cc: Add a test case.
3190 * gdb.cp/non-trivial-retval.exp: Add a test.
3191
092f880b
YQ
31922014-10-20 Yao Qi <yao@codesourcery.com>
3193
3194 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3195 * gdb.python/py-objfile-script-gdb.py: New file.
3196 * gdb.python/py-objfile-script.exp: Update reference to
3197 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3198 of remote_download. Remove the dest file.
3199
acbdb7f3
YQ
32002014-10-20 Yao Qi <yao@codesourcery.com>
3201
3202 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3203 * gdb.base/step-line.exp: Likewise.
3204 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3205 * gdb.dwarf2/dw2-basic.exp: Likewise.
3206 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3207 * gdb.dwarf2/dw2-filename.exp: Likewise.
3208 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3209 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3210 * gdb.dwarf2/dw2-producer.exp: Likewise.
3211 * gdb.dwarf2/mac-fileno.exp: Likewise.
3212 * gdb.python/py-frame-args.exp: Likewise.
3213 * gdb.python/py-framefilter.exp: Likewise.
3214 * gdb.python/py-mi.exp: Likewise.
3215 * gdb.python/py-objfile-script.exp: Likewise
3216 * gdb.python/py-pp-integral.exp: Likewise.
3217 * gdb.python/py-pp-re-notag.exp: Likewise.
3218 * gdb.python/py-prettyprint.exp: Likewise.
3219 * gdb.python/py-section-script.exp: Likewise.
3220 * gdb.python/py-typeprint.exp: Likewise.
3221 * gdb.python/py-xmethods.exp: Likewise.
3222 * gdb.stabs/weird.exp: Likewise.
3223 * gdb.xml/tdesc-regs.exp: Likewise.
3224
bd286a29
KCY
32252014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3226
3227 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3228 (out_cu): Use addr_len for the size of addresses.
3229 (out_line): Likewise. Size DW_LNE_set_address instruction
3230 according to addr_len.
3231 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3232 (FUNC): Add START_INSNS to definition.
3233
673dc4a0
YQ
32342014-10-18 Yao Qi <yao@codesourcery.com>
3235
3236 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3237 gdb_has_argv0 return true.
3238 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3239 check [target_info exists noargs], check [gdb_has_argv0]
3240 instead.
3241 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3242 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3243 procedures.
3244
4ffbba72
DE
32452014-10-17 Doug Evans <dje@google.com>
3246
3247 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3248 event.
3249 * gdb.python/py-events.py: Add clear_objfiles event.
3250
d096d8c1
DE
32512014-10-17 Doug Evans <dje@google.com>
3252
3253 * gdb.python/py-objfile.exp: Test progspace attribute.
3254
a80db015
LM
32552014-10-17 Luis Machado <lgustavo@codesourcery.com>
3256
3257 * gdb.guile/scm-breakpoint.exp: Do not assume any
3258 directory separators when matching source file paths.
3259 * gdb.python/py-breakpoint.exp: Likewise.
3260 * gdb.reverse/break-precsave.exp: Likewise.
3261 * gdb.reverse/break-reverse.exp: Likewise.
3262 * gdb.reverse/consecutive-precsave.exp: Likewise.
3263 * gdb.reverse/finish-precsave.exp: Likewise.
3264 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3265 * gdb.reverse/finish-reverse.exp: Likewise.
3266 * gdb.reverse/i386-precsave.exp: Likewise.
3267 * gdb.reverse/i387-env-reverse.exp: Likewise.
3268 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3269 * gdb.reverse/machinestate-precsave.exp: Likewise.
3270 * gdb.reverse/machinestate.exp: Likewise.
3271 * gdb.reverse/sigall-precsave.exp: Likewise.
3272 * gdb.reverse/solib-precsave.exp: Likewise.
3273 * gdb.reverse/step-precsave.exp: Likewise.
3274 * gdb.reverse/until-precsave.exp: Likewise.
3275 * gdb.reverse/watch-precsave.exp: Likewise.
3276 * gdb.reverse/watch-reverse.exp: Likewise.
3277
b22089ab
YQ
32782014-10-17 Yao Qi <yao@codesourcery.com>
3279
3280 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3281 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3282
6c4486e6
PA
32832014-10-17 Pedro Alves <palves@redhat.com>
3284
3285 PR gdb/17471
3286 * gdb.base/bg-execution-repeat.c: New file.
3287 * gdb.base/bg-execution-repeat.exp: New file.
3288
0ff33695
PA
32892014-10-17 Pedro Alves <palves@redhat.com>
3290
3291 PR gdb/17300
3292 * gdb.base/continue-all-already-running.c: New file.
3293 * gdb.base/continue-all-already-running.exp: New file.
3294
6fdebc3d
PA
32952014-10-17 Pedro Alves <palves@redhat.com>
3296
3297 PR gdb/17472
3298 * gdb.base/annota-input-while-running.c: New file.
3299 * gdb.base/annota-input-while-running.exp: New file.
3300
32a8097b
PA
33012014-10-17 Pedro Alves <palves@redhat.com>
3302
3303 * gdb.base/callfuncs.exp: emove references to osf.
3304 * gdb.base/sigall.exp: Likewise.
3305 * gdb.gdb/selftest.exp: Likewise.
3306 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3307 * gdb.mi/non-stop.c: Likewise.
3308 * gdb.mi/pthreads.c: Likewise.
3309 * gdb.reverse/sigall-precsave.exp: Likewise.
3310 * gdb.reverse/sigall-reverse.exp: Likewise.
3311 * gdb.threads/pthreads.c: Likewise.
3312 * gdb.threads/pthreads.exp: Likewise.
3313
7a3517ff
YQ
33142014-10-17 Yao Qi <yao@codesourcery.com>
3315
3316 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3317 check 'target_info exists noargs'.
3318 (test_command_prompt_position): Likewise.
3319 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3320 Remove "set args".
3321 (progvar_simple_while_test): Likewise.
3322 (progvar_complex_if_while_test): Likewise.
3323 (if_while_breakpoint_command_test): Likewise.
3324 (infrun_breakpoint_command_test): Likewise.
3325 (breakpoint_command_test): Likewise.
3326 (watchpoint_command_test): Likewise.
3327 (bp_deleted_in_command_test): Likewise.
3328 (temporary_breakpoint_commands): Likewise.
3329
bb99c472
YQ
33302014-10-16 Yao Qi <yao@codesourcery.com>
3331
3332 * gdb.base/remotetimeout.exp: Remove noargs checking.
3333
7c16b83e
PA
33342014-10-15 Pedro Alves <palves@redhat.com>
3335
3336 PR breakpoints/9649
3337 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3338 * gdb.base/breakpoint-in-ro-region.exp
3339 (probe_target_hardware_step): New procedure.
3340 (top level): Probe hardware stepping and hardware breakpoint
3341 support. Test stepping through a read-only region, with both
3342 "breakpoint auto-hw" on and off and both "always-inserted" on and
3343 off.
3344
35a49624
IB
33452014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3346
3347 * gdb.dlang/demangle.exp: Update for demangling changes.
3348
2d1c107c
SC
33492014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3350
3351 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3352 * gdb.cp/non-trivial-retval.exp: Add new tests.
3353
778811d5
SC
33542014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3355
3356 PR c++/13403
3357 PR c++/15154
3358 * gdb.cp/non-trivial-retval.cc: New file.
3359 * gdb.cp/non-trivial-retval.exp: New file.
3360
10c5f0a8
YQ
33612014-10-15 Yao Qi <yao@codesourcery.com>
3362
3363 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3364 remote host.
3365
65d7b369
YQ
33662014-10-15 Yao Qi <yao@codesourcery.com>
3367
3368 * gdb.python/py-symbol.exp: Match file base name if host is
3369 remote, otherwise match file name with dir name.
3370 * gdb.python/py-symtab.exp: Likewise.
3371 * gdb.python/python.exp: Likewise.
3372
46dc1394
YQ
33732014-10-15 Yao Qi <yao@codesourcery.com>
3374
3375 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3376 pattern.
3377 * gdb.python/py-symtab.exp: Likewise.
3378 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3379 locationn.
3380
c40cc657
JB
33812014-10-14 Joel Brobecker <brobecker@adacore.com>
3382
3383 * gdb.ada/addr_arith: New testcase.
3384
2abf49e1
MR
33852014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3386
3387 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3388 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3389 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3390 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3391
f7088df3
SDJ
33922014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3393
3394 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3395 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3396 * gdb.arch/stap-eval-lang-ada.exp: New file.
3397
4dc06805
YQ
33982014-10-14 Yao Qi <yao@codesourcery.com>
3399
3400 * gdb.mi/mi-var-child.c (nothing1): New function.
3401 (nothing2): New function.
3402 (do_children_tests): Set function pointers by nothing1 and
3403 nothing2.
3404 * gdb.mi/mi-var-child.exp: Step over new added statements.
3405 Update test to match the new output.
3406 * gdb.mi/var-cmd.c (nothing1): New function.
3407 (nothing2): New function.
3408 (do_children_tests): Set function pointers by nothing1 and
3409 nothing2.
3410 * gdb.mi/mi-var-display.exp: Update test to match output.
3411 Step to the line specified by $line_dct_nothing.
3412 Increase the number of lines to step.
3413
46a93de2
YQ
34142014-10-14 Yao Qi <yao@codesourcery.com>
3415
3416 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3417 tests.
3418 * gdb.mi/mi2-var-child.exp: Likewise.
3419
14ea52ee
DE
34202014-10-13 Doug Evans <dje@google.com>
3421
3422 * gdb.python/py-objfile.exp: Change name of file name test.
3423
e5c6e92b
DE
34242014-10-13 Doug Evans <dje@google.com>
3425
3426 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3427 from the start of the CU.
3428
c780cc2f
JK
34292014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3430 Yao Qi <yao@codesourcery.com>
3431
3432 Fix "save breakpoints" for "catch" command.
3433 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3434 Remove -nonewline. Match also the added "main" line.
3435
99894e11
JK
34362014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3437
3438 Fix "save breakpoints" for "disable $bpnum" command.
3439 * gdb.base/save-bp.c (main): Add label.
3440 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3441
6e1ac5a3
JK
34422014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3443
3444 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3445
754dd2b0
YQ
34462014-10-11 Yao Qi <yao@codesourcery.com>
3447
3448 * gdb.server/server-kill.exp: Execute command
3449 "set remote trace-status-packet on" before "tstatus".
3450
f90183d7
YQ
34512014-10-11 Yao Qi <yao@codesourcery.com>
3452
3453 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3454 (main): Call getppid.
3455 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3456 and continue to it. Read variable "server_pid".
3457
bf40a607
YQ
34582014-10-11 Yao Qi <yao@codesourcery.com>
3459
3460 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3461
052ca370
YQ
34622014-10-11 Yao Qi <yao@codesourcery.com>
3463
3464 * gdb.threads/thread-find.exp: Don't execute command
3465 "info threads".
3466 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3467 * gdb.threads/linux-dp.exp: Don't check the condition
3468 $threads_created equals to zero.
3469
3831839c
PA
34702014-10-10 Pedro Alves <palves@redhat.com>
3471
3472 * gdb.base/bigcore.exp: Remove references to IRIX.
3473 * gdb.base/funcargs.exp: Likewise.
3474 * gdb.base/interrupt.exp: Likewise.
3475 * gdb.base/mips_pro.exp: Likewise.
3476 * gdb.base/nodebug.exp: Likewise.
3477 * gdb.base/setvar.exp: Likewise.
3478 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3479
8b9a549d
PA
34802014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3481 Pedro Alves <palves@redhat.com>
3482
3483 PR symtab/14466
3484 * gdb.base/vdso-warning.c: New file.
3485 * gdb.base/vdso-warning.exp: New file.
3486
d48ba5e8
DE
34872014-10-02 Doug Evans <dje@google.com>
3488
3489 * gdb.base/structs.c (main): Don't run forever.
3490
2278c276
PA
34912014-10-02 Pedro Alves <palves@redhat.com>
3492
3493 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3494 (top level) <stop threads 1, stop threads 2>: Use it.
3495
b57bacec
PA
34962014-10-02 Pedro Alves <palves@redhat.com>
3497
3498 * gdb.threads/break-while-running.exp (test): Add new
3499 'update_thread_list' argument. Skip "info threads" if false.
3500 (top level): Add new 'update_thread_list' axis.
3501
13fd3ff3
PA
35022014-10-02 Pedro Alves <palves@redhat.com>
3503
3504 PR breakpoints/17431
3505 * gdb.base/execl-update-breakpoints.c: New file.
3506 * gdb.base/execl-update-breakpoints.exp: New file.
3507
0fec99e8
PA
35082014-10-01 Pedro Alves <palves@redhat.com>
3509
3510 * gdb.base/breakpoint-in-ro-region.c: New file.
3511 * gdb.base/breakpoint-in-ro-region.exp: New file.
3512
2ddf4301
SM
35132014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3514
3515 * gdb.mi/mi-exit-code.exp: New file.
3516 * gdb.mi/mi-exit-code.c: New file.
3517
6a5f3f43
YQ
35182014-09-30 Yao Qi <yao@codesourcery.com>
3519
3520 * lib/prelink-support.exp (build_executable_own_libs): Error if
3521 the target isn't native.
3522
345bcc73
YQ
35232014-09-30 Yao Qi <yao@codesourcery.com>
3524
3525 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3526 false.
3527
a25a5a45
PA
35282014-09-22 Pedro Alves <palves@redhat.com>
3529
3530 * gdb.threads/break-while-running.exp: New file.
3531 * gdb.threads/break-while-running.c: New file.
3532
00ba3162
YQ
35332014-09-19 Yao Qi <yao@codesourcery.com>
3534
3535 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3536 Invoke test. Restart GDB with --readnow and invoke test again.
3537
c3b7b696
YQ
35382014-09-19 Yao Qi <yao@codesourcery.com>
3539
3540 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3541 proc set_breakpoint_on_gcd_function. Invoke
3542 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3543 invoke set_breakpoint_on_gcd_function again.
3544
2b4fd423
DE
35452014-09-18 Doug Evans <dje@google.com>
3546
3547 * gdb.dwarf2/symtab-producer.exp: New file.
3548
a5947601
SDJ
35492014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3550
3551 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3552 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3553 * gdb.base/global-var-nested-by-dso.c: Likewise.
3554 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3555
91c19059
SDJ
35562014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3557 Pedro Alves <palves@redhat.com>
3558
3559 * gdb.base/watch-bitfields.exp: Pass string other than test file
3560 name to prepare_for_testing.
3561 (watch): New procedure.
3562 (expect_watchpoint): Use with_test_prefix.
3563 (top level): Factor out tests to ...
3564 (test_watch_location, test_regular_watch): ... these new
3565 procedures, and use with_test_prefix and gdb_continue_to_end.
3566
bb9d5f81
PP
35672014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3568
3569 PR breakpoints/12526
3570 * gdb.base/watch-bitfields.exp: New file.
3571 * gdb.base/watch-bitfields.c: New file.
3572
635856f5
PA
35732014-09-16 Pedro Alves <palves@redhat.com>
3574
3575 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3576 software and hardware addresses, not software address against
3577 itself.
3578
7280ceea
PA
35792014-09-16 Pedro Alves <palves@redhat.com>
3580
3581 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3582 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3583
428b16bd
PA
35842014-09-16 Pedro Alves <palves@redhat.com>
3585
3586 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3587 files.
3588 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3589 "*-*-vxworks*" throughout.
3590 * gdb.base/break.exp: Likewise.
3591 * gdb.base/default.exp: Likewise.
3592 * gdb.base/scope.exp: Likewise.
3593 * gdb.base/sepdebug.exp: Likewise.
3594 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3595 throughout.
3596 * gdb.base/run.c: Likewise.
3597 * gdb.base/sepdebug.c: Likewise.
3598 * gdb.hp/gdb.aCC/run.c: Likewise.
3599 * gdb.reverse/until-reverse.c: Likewise.
3600 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3601
666d413c
YQ
36022014-09-16 Yao Qi <yao@codesourcery.com>
3603
3604 * boards/local-remote-host-native.exp: New file.
3605
57cbd724
DE
36062014-09-14 Doug Evans <xdje42@gmail.com>
3607
3608 * gdb.threads/queue-signal.c (thread_count): New variable.
3609 (thread_count_mutex, thread_count_condvar): New variables.
3610 (incr_thread_count, wait_all_threads_running): New functions.
3611 (main): Wait for all threads to be in their thread functions.
3612
81219e53
DE
36132014-09-13 Doug Evans <xdje42@gmail.com>
3614
3615 * gdb.threads/queue-signal.c: New file.
3616 * gdb.threads/queue-signal.exp: New file.
3617
3714cea7
DE
36182014-09-13 Doug Evans <xdje42@gmail.com>
3619
3620 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3621 be consistent with what default_gdb_init uses.
3622 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3623 the plain text of the prompt. Add some logging printfs.
3624 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3625
fa43b1d7
PA
36262014-09-12 Pedro Alves <palves@redhat.com>
3627
3628 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3629 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3630 * gdb.arch/i386-size-overlap.exp: Likewise.
3631 * gdb.arch/i386-size.exp: Likewise.
3632 * gdb.arch/i386-unwind.exp: Likewise.
3633 * gdb.base/a2-run.exp: Likewise.
3634 * gdb.base/break.exp: Likewise.
3635 * gdb.base/charset.exp: Likewise.
3636 * gdb.base/chng-syms.exp: Likewise.
3637 * gdb.base/commands.exp: Likewise.
3638 * gdb.base/dbx.exp: Likewise.
3639 * gdb.base/find.exp: Likewise.
3640 * gdb.base/funcargs.exp: Likewise.
3641 * gdb.base/jit-simple.exp: Likewise.
3642 * gdb.base/reread.exp: Likewise.
3643 * gdb.base/sepdebug.exp: Likewise.
3644 * gdb.base/step-bt.exp: Likewise.
3645 * gdb.cp/mb-inline.exp: Likewise.
3646 * gdb.cp/mb-templates.exp: Likewise.
3647 * gdb.objc/basicclass.exp: Likewise.
3648 * gdb.threads/killed.exp: Likewise.
3649
9d9bf2df
EBM
36502014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3651
3652 PR tdep/17379
3653 * gdb.arch/powerpc-stackless.S: New file.
3654 * gdb.arch/powerpc-stackless.exp: New file.
3655
1cf2f1b0
JK
36562014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3657
3658 * gdb.base/attach.c: Include unistd.h.
3659 (main): Call alarm. Add label postloop.
3660 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3661 gdb_breakpoint, gdb_continue_to_breakpoint.
3662 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3663
98880d46
PA
36642014-09-11 Pedro Alves <palves@redhat.com>
3665
3666 PR gdb/17347
3667 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3668 * gdb.base/attach.exp (test_command_line_attach_run): New
3669 procedure.
3670 (top level): Call it.
3671
4c92ff2c
PA
36722014-09-11 Pedro Alves <palves@redhat.com>
3673
3674 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3675 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3676 (do_command_attach_tests): Use spawn_wait_for_attach.
3677 * gdb.base/solib-overlap.exp: Likewise.
3678 * gdb.multi/multi-attach.exp: Likewise.
3679 * gdb.python/py-prompt.exp: Likewise.
3680 * gdb.python/py-sync-interp.exp: Likewise.
3681 * gdb.server/ext-attach.exp: Likewise.
3682
3adc1a7d
GKB
36832014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3684
3685 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3686 command in testcase. Simplify testcase.
3687
96334934
JB
36882014-09-10 Joel Brobecker <brobecker@adacore.com>
3689
3690 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3691
eb479039
JB
36922014-09-10 Joel Brobecker <brobecker@adacore.com>
3693
3694 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3695
deede10c
JB
36962014-09-10 Joel Brobecker <brobecker@adacore.com>
3697
3698 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3699
7828a5f5
JB
37002014-09-10 Joel Brobecker <brobecker@adacore.com>
3701
3702 * gdb.dwarf2/dynarr-ptr.c: New file.
3703 * gdb.dwarf2/dynarr-ptr.exp: New file.
3704
33aeebcf
MR
37052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3706
3707 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3708 of 30 rather than hardcoding 120 for a slow test case. Take the
3709 `gdb,timeout' target setting into account for this calculation.
3710 Don't extend the timeout for the test cases that don't need it.
3711
7b415901
MR
37122014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3713
3714 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3715 a factor of 2 for a slow test case. Take the `gdb,timeout'
3716 target setting into account for this calculation.
3717 * gdb.reverse/until-precsave.exp: Increase the timeout by
3718 a factor of 15 and 3 respectively rather than adding 120
3719 for a pair of slow test cases. Take the `gdb,timeout'
3720 target setting into account for this calculation.
3721
4a40f85a
MR
37222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3723
3724 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3725 timeout, don't pass one down to gdb_expect.
3726 (gdb_expect): Rework timeout selection.
3727
09635af7
MR
37282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3729
3730 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3731 exception on timeout.
3732 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3733 (gdbserver_start_extended): Catch any `gdbserver_start' error
3734 exceptions.
3735 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3736 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3737 `gdbserver_gdb_load' error exceptions.
3738
2bdd10b7
MR
37392014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3740
3741 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3742 120 on waiting for the TCP socket to open.
3743
316935f0
DE
37442014-09-09 Doug Evans <xdje42@gmail.com>
3745
3746 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3747 _caller_matches, _any_caller_is, _any_caller_matches.
3748
83740597
DE
37492014-09-09 Doug Evans <xdje42@gmail.com>
3750
3751 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3752
4c122fc3
YQ
37532014-09-09 Yao Qi <yao@codesourcery.com>
3754
3755 * gdb.mi/mi-var-display.exp: Set print symbol off.
3756
a9f116cb
GKB
37572014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3758
3759 PR gdb/17035
3760 * gdb.base/commands.exp: Add tests to verify user-defined
3761 commands with empty bodies.
3762 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3763 python commands in `show user command`.
3764 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3765 scheme commands in `show user command`.
3766
c75bd3a2
JK
37672014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3768
3769 PR python/17355
3770 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3771 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3772 * gdb.python/py-framefilter-invalidarg.exp: New file.
3773 * gdb.python/py-framefilter-invalidarg.py: New file.
3774
faa42425
DE
37752014-09-06 Doug Evans <xdje42@gmail.com>
3776
3777 PR 15276
3778 * gdb.python/py-caller-is.c: New file.
3779 * gdb.python/py-caller-is.exp: New file.
3780
474ca4f6
SDJ
37812014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3782
3783 PR gdb/17235
3784 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3785 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3786
eb0b0463
SDJ
37872014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3788
3789 PR fortran/17237
3790 * gdb.fortran/print-formatted.exp: New file.
3791 * gdb.fortran/print-formatted.f90: Likewise.
3792
5f3b99cf
SS
37932014-09-03 Sasha Smundak <asmundak@google.com>
3794
3795 * gdb.python/py-frame.exp: Test Frame.read_register.
3796
7d793aa9
SDJ
37972014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3798
3799 PR python/16699
3800 * gdb.python/py-completion.exp: New file.
3801 * gdb.python/py-completion.py: Likewise.
3802
fb0576e9
DE
38032014-08-28 Doug Evans <dje@google.com>
3804
3805 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3806 eax,etc. are live with values set by gdb and thus the compiler can't
3807 use them.
3808 * gdb.arch/i386-pseudo.c (main): Ditto.
3809
ee92b0dd
DE
38102014-08-27 Doug Evans <dje@google.com>
3811
3812 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3813
6649db35
DE
38142014-08-25 Doug Evans <dje@google.com>
3815
3816 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3817 (main): Ditto.
3818
564b7600
DE
38192014-08-25 Doug Evans <dje@google.com>
3820
3821 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3822
3881fb67
YQ
38232014-08-24 Yao Qi <yao@codesourcery.com>
3824
3825 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3826 symbol off.
3827 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3828
a05a36a5
DE
38292014-08-22 Doug Evans <dje@google.com>
3830
3831 PR 17276
3832 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3833 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3834 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3835
7c343b48
YQ
38362014-08-22 Yao Qi <yao@codesourcery.com>
3837
3838 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3839 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3840 * gdb.python/python.exp: Likewise. Use .py file on the host
3841 instead of the build.
3842
22fd09ae
JK
38432014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3844
3845 * gdb.threads/gcore-stale-thread.c: New file.
3846 * gdb.threads/gcore-stale-thread.exp: New file.
3847
a8454a7c
PA
38482014-08-21 Pedro Alves <palves@redhat.com>
3849
3850 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3851 * gdb.base/gcore-relro-pie.exp: Likewise.
3852 * gdb.base/gcore-relro.exp: Likewise.
3853 * gdb.base/gcore.exp: Likewise.
3854 * gdb.base/print-symbol-loading.exp: Likewise.
3855 * gdb.threads/gcore-thread.exp: Likewise.
3856 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3857
2a31c623
PA
38582014-08-20 Pedro Alves <palves@redhat.com>
3859 Jan Kratochvil <jan.kratochvil@redhat.com>
3860
3861 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3862 configure.
3863 (EXPECT): Handle READ1 being set.
3864 (all): Depend on EXTRA_RULES.
3865 (check-read1, expect-read1, read1.so, read1): New rules.
3866 * README (Testsuite Parameters): Document the READ1 make variable.
3867 (Race detection): New section.
3868 * configure: Regenerate.
3869 * configure.ac: If build==host==target, and running under a
3870 GNU/glibc system, add read1 to the extra Makefile rules.
3871 (EXTRA_RULES): AC_SUBST it.
3872 * lib/read1.c: New file.
3873
d36430db
JB
38742014-08-20 Joel Brobecker <brobecker@adacore.com>
3875
3876 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3877 the handling of variables declared as a typedef to an array
3878 which a DW_AT_data_location attribute.
3879
9a0dc9e3
PA
38802014-08-19 Andrew Burgess <aburgess@broadcom.com>
3881 Pedro Alves <palves@redhat.com>
3882
3883 PR symtab/14604
3884 PR symtab/14605
3885 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3886 gdb_test.
3887
0718a8da
PA
38882014-08-19 Pedro Alves <palves@redhat.com>
3889
3890 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3891
13b448cd
YQ
38922014-08-19 Yao Qi <yao@codesourcery.com>
3893
3894 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3895 right line.
3896
1cbf5077
DB
38972014-08-18 David Blaikie <dblaikie@gmail.com>
3898
3899 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3900
bf0fae19
JB
39012014-08-18 Joel Brobecker <brobecker@adacore.com>
3902
3903 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3904 attribute in array range.
3905
3c8c5dcc
JB
39062014-08-18 Joel Brobecker <brobecker@adacore.com>
3907
3908 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3909
e66d4446
SC
39102014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3911
3912 PR c++/17132
3913 * gdb.cp/pr17132.cc: New file.
3914 * gdb.cp/pr17132.exp: New file.
3915
940df408
SC
39162014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3917
3918 * gdb.python/py-xmethods.py (A_getarrayind)
3919 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3920 Use 'print' with function call syntax.
3921 (E_method_matcher.match): Fix tab vs space indentation mixup.
3922
ebcc6c3a
YQ
39232014-08-15 Yao Qi <yao@codesourcery.com>
3924
3925 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3926 false.
3927
775e0f04
YQ
39282014-08-15 Yao Qi <yao@codesourcery.com>
3929
3930 * gdb.cp/casts.exp: Set print symbol off.
3931 * gdb.cp/class2.exp: Likewise.
3932 * gdb.cp/overload.exp: Likewise.
3933 * gdb.cp/templates.exp: Likewise.
3934
d769e349
DE
39352014-08-11 Doug Evans <dje@google.com>
3936
3937 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3938 (test_load_shlib): Update.
3939
20c6f1e1
YQ
39402014-08-09 Yao Qi <yao@codesourcery.com>
3941
3942 * gdb.base/display.exp: Invoke is_address_zero_readable.
3943 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3944 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3945 * gdb.base/hbreak-unmapped.exp: Return if
3946 is_address_zero_readable returns true.
3947 * gdb.base/signest.exp: Likewise.
3948 * gdb.base/signull.exp: Likewise.
3949 * gdb.base/sigbpt.exp: Likewise.
3950 * gdb.guile/scm-disasm.exp: Do the test if
3951 is_address_zero_readable returns false.
3952 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3953 * gdb.python/py-arch.exp: Likewise.
3954 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3955 * lib/gdb.exp (is_address_zero_readable): New proc.
3956
5792e8e3
YQ
39572014-08-09 Yao Qi <yao@codesourcery.com>
3958
3959 PR testsuite/13443
3960 * gdb.mi/mi-var-display.exp: Make test messages unique.
3961
3cecbbbe
TT
39622014-08-04 Tom Tromey <tromey@redhat.com>
3963
3964 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3965 target 0".
3966
00b51ff5
TT
39672014-08-04 Tom Tromey <tromey@redhat.com>
3968
3969 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3970 "target_resume".
3971
6908c509
JB
39722014-08-01 Joel Brobecker <brobecker@adacore.com>
3973
3974 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3975 inner_vla_struct_object_size.
3976 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3977 as xfail.
3978
cc6563d2
PA
39792014-07-30 Pedro Alves <palves@redhat.com>
3980
3981 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3982 comment.
3983
7e09a223
YQ
39842014-07-29 Yao Qi <yao@codesourcery.com>
3985
3986 PR gdb/17206
3987 * gdb.base/until-nodebug.exp: New.
3988
7ebdbe92
DE
39892014-07-28 Doug Evans <xdje42@gmail.com>
3990
3991 PR guile/17203
3992 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3993 previously existing parameter, and previously ambiguously spelled
3994 parameter.
3995
fdb1adc6
WN
39962014-07-28 Will Newton <will.newton@linaro.org>
3997
3998 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3999
186fcde0
DE
40002014-07-26 Ludovic Courtès <ludo@gnu.org>
4001 Doug Evans <xdje42@gmail.com>
4002
4003 PR guile/17146
4004 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4005
70509625
PA
40062014-07-25 Pedro Alves <palves@redhat.com>
4007
4008 * gdb.threads/signal-command-handle-nopass.c: New file.
4009 * gdb.threads/signal-command-handle-nopass.exp: New file.
4010 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4011 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4012 * gdb.threads/signal-delivered-right-thread.c: New file.
4013 * gdb.threads/signal-delivered-right-thread.exp: New file.
4014
c3f814a1
PA
40152014-07-25 Pedro Alves <palves@redhat.com>
4016
4017 * gdb.base/double-prompt-target-event-error.exp
4018 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4019 match.
4020 (cancel_pagination_in_target_event): Rework double prompt
4021 detection.
4022 * gdb.base/paginate-after-ctrl-c-running.exp
4023 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4024 <return>' match.
4025 * gdb.base/paginate-bg-execution.exp
4026 (test_bg_execution_pagination_return)
4027 (test_bg_execution_pagination_cancel): Remove '-notransfer
4028 <return>' matches.
4029 * gdb.base/paginate-execution-startup.exp
4030 (test_fg_execution_pagination_return)
4031 (test_fg_execution_pagination_cancel): Remove '-notransfer
4032 <return>' matches.
4033 * gdb.base/paginate-inferior-exit.exp
4034 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4035 match.
4036 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4037 * lib/gdb.exp (pagination_prompt): Run text through
4038 string_to_regexp.
4039 (gdb_test_multiple): Match $pagination_prompt instead of
4040 "<return>".
4041 (string_to_regexp): Move to lib/gdb-utils.exp.
4042
e214cf6c
JK
40432014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4044
4045 * gdb.arch/amd64-entry-value-paramref.S: New file.
4046 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4047 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4048 * gdb.arch/amd64-optimout-repeat.S: New file.
4049 * gdb.arch/amd64-optimout-repeat.c: New file.
4050 * gdb.arch/amd64-optimout-repeat.exp: New file.
4051
17d0c5c8
JK
40522014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4053
4054 PR gdb/17170
4055 * gdb.base/statistics.exp: New file.
4056
b8b8facf
DE
40572014-07-17 Doug Evans <dje@google.com>
4058
74b49205 4059 PR gdb/17170
b8b8facf
DE
4060 * gdb.base/maint.exp: Update testing of per-command stats.
4061
1b5d0ab3
PA
40622014-07-16 Pedro Alves <palves@redhat.com>
4063
4064 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4065 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4066 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4067 (tfile_write_buf): New functions.
4068 (add_memory_block): Rewrite using the above.
4069 (adjust_function_address): New function.
4070 (FUNCTION_ADDRESS): New macro.
4071 (write_basic_trace_file): Remove short_x local, and use
4072 tfile_write_16. Change type of func_addr local to unsigned long
4073 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4074 here. Cast argument of add_memory_block to char pointer.
4075 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4076 (main): Remove parameters.
4077 * gdb.trace/tfile.exp: Remove nowarnings.
4078
4d974e88
SM
40792014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4080
4081 * gdb.base/debug-expr.exp: Test string evaluation with
4082 "debug expression" on.
4083
41e99568
PA
40842014-07-15 Pedro Alves <palves@redhat.com>
4085
4086 * gdb.base/reread.exp: Use clean_restart.
4087
487d9753
PL
40882014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4089
4090 * gdb.arch/avr-flash-qualifer.c: New.
4091 * gdb.arch/avr-flash-qualifer.exp: New.
4092
cc1c52ad
PA
40932014-07-14 Pedro Alves <palves@redhat.com>
4094
4095 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4096 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4097
1e973570
PA
40982014-07-14 Pedro Alves <palves@redhat.com>
4099
4100 * gdb.base/double-prompt-target-event-error.c: New file.
4101 * gdb.base/double-prompt-target-event-error.exp: New file.
4102
93d6eb10
PA
41032014-07-14 Pedro Alves <palves@redhat.com>
4104
4105 PR gdb/17072
4106 * gdb.base/paginate-inferior-exit.c: New file.
4107 * gdb.base/paginate-inferior-exit.exp: New file.
4108
0017922d
PA
41092014-07-14 Pedro Alves <palves@redhat.com>
4110
4111 PR gdb/17072
4112 * gdb.base/paginate-bg-execution.c: New file.
4113 * gdb.base/paginate-bg-execution.exp: New file.
4114
94696ad3
PA
41152014-07-14 Pedro Alves <palves@redhat.com>
4116
4117 PR gdb/17072
4118 * gdb.base/paginate-execution-startup.c: New file.
4119 * gdb.base/paginate-execution-startup.exp: New file.
4120 * lib/gdb.exp (pagination_prompt): New global.
4121 (default_gdb_spawn): New procedure, factored out from
4122 default_gdb_spawn.
4123 (default_gdb_start): Adjust to call default_gdb_spawn.
4124 (gdb_spawn): New procedure.
4125
bd293940
PA
41262014-07-14 Pedro Alves <palves@redhat.com>
4127
4128 * lib/gdb.exp (gdb_assert): New procedure.
4129 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4130
c933f875
PA
41312014-07-14 Pedro Alves <palves@redhat.com>
4132
4133 * gdb.base/execution-termios.c: New file.
4134 * gdb.base/execution-termios.exp: New file.
4135
d98b7a16
TT
41362014-07-14 Tom Tromey <tromey@redhat.com>
4137
4138 * gdb.cp/vla-cxx.cc: New file.
4139 * gdb.cp/vla-cxx.exp: New file.
4140
548740d6
TT
41412014-07-14 Tom Tromey <tromey@redhat.com>
4142
4143 * gdb.reverse/rerun-prec.c: New file.
4144 * gdb.reverse/rerun-prec.exp: New file.
4145
a25eb028
MR
41462014-07-12 Maciej W. Rozycki <macro@mips.com>
4147 Maciej W. Rozycki <macro@codesourcery.com>
4148
4149 * lib/gdb-utils.exp: New file.
4150 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4151 inline `gdb_init_command' processing.
4152 (gdb_start_cmd): Likewise.
4153 * lib/mi-support.exp (mi_run_cmd): Likewise.
4154 * README: Document `gdb_init_command' and `gdb_init_commands'.
4155
218c2655
JK
41562014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4157
4158 Fix false FAIL running under a very long directory name.
4159 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4160 and "set print elements 10000". Twice.
4161
5401fde3
YQ
41622014-07-11 Yao Qi <yao@codesourcery.com>
4163
4164 * gdb.base/exprs.exp: "set print symbol off".
4165
e76126e8
PA
41662014-07-11 Pedro Alves <palves@redhat.com>
4167
4168 * gdb.threads/kill.c: New file.
4169 * gdb.threads/kill.exp: New file.
4170
2d6f0de6
YQ
41712014-07-10 Yao Qi <yao@codesourcery.com>
4172
4173 * gdb.trace/tfile.c (write_basic_trace_file)
4174 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4175 address written to trace file.
4176
7180e04a
PA
41772014-07-09 Pedro Alves <palves@redhat.com>
4178
4179 * gdb.base/attach-wait-input.exp: New file.
4180 * gdb.base/attach-wait-input.c: New file.
4181
9a9a7608
AB
41822014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4183
4184 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4185 setting up test structures.
4186 (main): Call new test function.
4187 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4188 test function, continue into test function and walk test
4189 structures.
4190
161ac41e
YQ
41912014-07-02 Yao Qi <yao@codesourcery.com>
4192
4193 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4194 'bar_start' at the beginning of functions 'foo' and 'bar'
4195 respectively.
4196 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4197 instead of 'foo' and 'bar'.
4198
1f267ae3
MM
41992014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4200
4201 * gdb.btrace/segv.exp: New.
4202 * gdb.btrace/segv.c: New.
4203
2b239efb
LM
42042014-07-02 Luis Machado <lgustavo@codesourcery.com>
4205
4206 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4207 instruction.
4208
cf363f18
MW
42092014-06-30 Mark Wielaard <mjw@redhat.com>
4210
4211 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4212 vulture, vilify, villar): New volatile array constants.
4213 (vindictive, vegetation): New const volatile array constants.
4214 * gdb.base/volatile.exp: Test volatile and const volatile array
4215 types.
4216
aebf9d24
AA
42172014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4218
4219 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4220 target lacks support for awatch, rwatch, or hbreak.
4221
b67a2c6f
YQ
42222014-06-27 Yao Qi <yao@codesourcery.com>
4223
4224 * gdb.multi/dummy-frame-restore.exp: New.
4225 * gdb.multi/dummy-frame-restore.c: New.
4226
aef92902
MM
42272014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4228
4229 * gdb.btrace/gcore.exp: New.
4230
8e9db26e
PA
42312014-06-23 Pedro Alves <palves@redhat.com>
4232
4233 * gdb.base/watchpoint-reuse-slot.c: New file.
4234 * gdb.base/watchpoint-reuse-slot.exp: New file.
4235
70afc5b7
SC
42362014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4237
4238 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4239 progspace's filename in 'info', 'enable' and 'disable' command
4240 tests.
4241
b972bd9c
JK
42422014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4243
4244 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4245 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4246 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4247
125f8a3d
GB
42482014-06-20 Gary Benson <gbenson@redhat.com>
4249
4250 * gdb.arch/i386-avx.exp: Fix include file location.
4251 * gdb.arch/i386-sse.exp: Likewise.
4252
3ed9baed
IB
42532014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4254
4255 * gdb.dlang/expression.exp: New file.
4256
034f788c
PA
42572014-06-19 Pedro Alves <palves@redhat.com>
4258
4259 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4260 out from ...
4261 (top level): ... here. Iterate running tests under different
4262 scheduler-locking settings.
4263
45371d0c
LM
42642014-06-18 Luis Machado <lgustavo@codesourcery.com>
4265
4266 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4267 to DW_FORM_addr and use non-zero addresses.
4268
5d376983
SC
42692014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4270
4271 PR gdb/17017
4272 * gdb.python/py-xmethods.cc: Add global function call counters and
4273 increment them in their respective functions. Remove "cout"
4274 statements.
4275 * gdb.python/py-xmethods.exp: Make tests check the global function
4276 call counters instead of depending on inferior IO.
4277
a1aa2221
LM
42782014-06-18 Don Breazeal <donb@codesourcery.com>
4279
4280 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4281 Deleted procedure.
4282 (explicit_fork_parent_follow): Deleted procedure.
4283 (explicit_fork_child_follow): Deleted procedure.
4284 (test_follow_fork): New procedure.
4285 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4286 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4287 procedure calls.
4288
0fc05997
YQ
42892014-06-17 Yao Qi <yao@codesourcery.com>
4290
4291 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4292 CP1252.
4293
70795c52
LM
42942014-06-17 Luis Machado <lgustavo@codesourcery.com>
4295
4296 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4297 Initialize ptr and S explicitly.
4298 (skip_type_update_when_not_use_rtti_test): Likewise.
4299
6be47f0c
KS
43002014-06-16 Keith Seitz <keiths@redhat.com>
4301
4302 PR mi/15863
4303 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4304 the inferior is started.
4305
d03de421
PA
43062014-06-16 Pedro Alves <palves@redhat.com>
4307
4308 * gdb.base/break-main-file-remove-fail.c: New file.
4309 * gdb.base/break-main-file-remove-fail.exp: New file.
4310 * gdb.base/break-unload-file.exp: Use build_executable instead of
4311 prepare_for_testing.
4312 (test_break): New parameter "initial_load". Handle it.
4313 (top level): Add initial_load cmdline/file axis.
4314
f9579b99
TT
43152014-06-12 Tom Tromey <tromey@redhat.com>
4316
4317 * gdb.base/completion.exp: Don't use directory name in test.
4318
3657956b
GB
43192014-06-09 Gary Benson <gbenson@redhat.com>
4320
4321 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4322 separate the always-available ANSI-standard signals from the
4323 signals that require checking.
4324 (main): Likewise.
4325 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4326 Likewise.
4327 (main): Likewise.
4328
4186eb54
KS
43292014-06-07 Keith Seitz <keiths@redhat.com>
4330
4331 Revert:
4332 PR c++/16253
4333 * gdb.cp/var-tag.cc: New file.
4334 * gdb.cp/var-tag.exp: New file.
4335 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4336 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4337 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4338 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4339
25326a28 43402014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4341
4342 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4343
829155c9
PA
43442014-06-06 Pedro Alves <palves@redhat.com>
4345
4346 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4347 in target debug output instead of looking at RSP packets,
4348 disabling the test on any target that uses hardware stepping.
4349 Update comments.
4350
61c8d22e
PA
43512014-06-06 Pedro Alves <palves@redhat.com>
4352
4353 * gdb.base/break-unload-file.exp: Fix typo.
4354
d9a47287
YQ
43552014-06-06 Yao Qi <yao@codesourcery.com>
4356
4357 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4358 from "jit_function" to "^jit_function".
4359
e5e01dbf
YQ
43602014-06-06 Yao Qi <yao@codesourcery.com>
4361
4362 * gdb.base/async.c (foo): Add one statement.
4363 * gdb.base/async.exp: Get the next instruction address and
4364 match the output of "nexti" by instruction address. Match
4365 the hex address in the output of "finish".
4366
73ba372c
GB
43672014-06-06 Gary Benson <gbenson@redhat.com>
4368
4369 * gdb.base/call-signals.c: Remove preprocessor conditionals
4370 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4371 SIGSEGV and SIGTERM.
4372 * gdb.base/sigall.c: Likewise.
4373 * gdb.base/unwindonsignal.c: Likewise.
4374 * gdb.reverse/sigall-reverse.c: Likewise.
4375
831517df
YQ
43762014-06-06 Yao Qi <yao@codesourcery.com>
4377
4378 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4379 readable, skip the test.
4380
b8b91e98
YQ
43812014-06-06 Yao Qi <yao@codesourcery.com>
4382
4383 * gdb.threads/staticthreads.c (thread_function): Move the line
4384 setting breakpoint on forward.
4385 * gdb.threads/staticthreads.exp: Update comments.
4386
fb934770
LC
43872014-06-05 Ludovic Courtès <ludo@gnu.org>
4388
4389 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4390 "history-append! type error".
4391
6ef284bd
SM
43922014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4393
4394 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4395 erroneous dprintf expected input.
4396
a872e241
DE
43972014-06-04 Doug Evans <xdje42@gmail.com>
4398
4399 * gdb.guile/scm-generics.exp: Delete.
4400
16f691fb
DE
44012014-06-04 Doug Evans <xdje42@gmail.com>
4402
4403 * gdb.guile/scm-breakpoint.exp: Update.
4404 Add tests for breakpoint registration.
4405
012370f6
TT
44062014-06-04 Tom Tromey <tromey@redhat.com>
4407
4408 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4409 VLA-in-union.
4410 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4411 inner_vla_struct, vla_union types. Initialize objects of those
4412 types and compute their sizes.
4413
9f5a4cef
HZ
44142014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4415 Hui Zhu <hui@codesourcery.com>
4416
4417 * gdb.base/fileio.exp: Add test for shell not available as well as
4418 available.
4419 * gdb.base/fileio.c (test_system): Check for shell twice.
4420
90a45c4d
YQ
44212014-06-04 Yao Qi <yao@codesourcery.com>
4422
4423 * gdb.base/auto-connect-native-target.exp: Remove redundant
4424 space from the regexp pattern.
4425
70017e41
YQ
44262014-06-04 Yao Qi <yao@codesourcery.com>
4427
4428 * gdb.base/default.exp: Replace "child" with "native" in
4429 regexp pattern.
4430
883964a7
SC
44312014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4432
4433 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4434 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4435 * gdb.python/py-xmethods.py: Python script supporting the
4436 new testcase and tests.
4437
ef370185
JB
44382014-06-03 Joel Brobecker <brobecker@adacore.com>
4439 Pedro Alves <palves@redhat.com>
4440
4441 PR breakpoints/17000
4442 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4443 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4444
1e2ccb61
BM
44452014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4446
4447 * gdb.base/subst.exp: Add tests to verify partial path matching
4448 output.
4449
c6ec5ab2
PA
44502014-06-03 Pedro Alves <palves@redhat.com>
4451
4452 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4453 target that doesn't use software single-stepping.
4454
835c559f
PA
44552014-06-03 Pedro Alves <palves@redhat.com>
4456
4457 PR breakpoints/17000
4458 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4459 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4460
06eb1586
DE
44612014-06-02 Doug Evans <xdje42@gmail.com>
4462
4463 * gdb.guile/scm-parameter.exp: New file.
4464
e698b8c4
DE
44652014-06-02 Doug Evans <xdje42@gmail.com>
4466
4467 * gdb.guile/scm-cmd.c: New file.
4468 * gdb.guile/scm-cmd.exp: New file.
4469
ded03782
DE
44702014-06-02 Doug Evans <xdje42@gmail.com>
4471
4472 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4473 pretty-printer lookup.
4474 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4475 (make-pp_s-printer): Call it.
4476 (make-pretty-printer-from-dict): New function.
4477 (lookup-pretty-printer-maker-from-dict): New function.
4478 (*pretty-printer*): Simplify.
4479 (make-objfile-pp_s-printer): New function.
4480 (install-objfile-pretty-printers!): New function.
4481 (make-progspace-pp_s-printer): New function.
4482 (install-progspace-pretty-printers!): New function.
4483 * gdb.guile/scm-progspace.c: New file.
4484 * gdb.guile/scm-progspace.exp: New file.
4485
41fac0cf
PA
44862014-06-02 Pedro Alves <palves@redhat.com>
4487
4488 * gdb.base/dprintf-bp-same-addr.c: New file.
4489 * gdb.base/dprintf-bp-same-addr.exp: New file.
4490
96ae5695
EBM
44912014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4492
4493 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4494 * gdb.arch/powerpc-power.s: Likewise.
4495
da02b3a8
JB
44962014-06-02 Joel Brobecker <brobecker@adacore.com>
4497
4498 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4499
c72b2e7b
YQ
45002014-06-01 Yao Qi <yao@codesourcery.com>
4501
4502 * gdb.base/watchpoint.exp (test_watch_location): Check null
4503 pointer can be dereferenced. If not, do the test, otherwise
4504 skip it.
4505
53e8a631
AB
45062014-05-30 Andrew Burgess <aburgess@broadcom.com>
4507
4508 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4509 results.
4510 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4511
938f0e2f
AB
45122014-05-30 Andrew Burgess <aburgess@broadcom.com>
4513
4514 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4515 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4516 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4517 * gdb.arch/amd64-invalid-stack-top.c: New file.
4518 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4519
9ba6657a
PA
45202014-05-30 Pedro Alves <palves@redhat.com>
4521
4522 PR breakpoints/17000
4523 * gdb.base/sss-bp-on-user-bp.c: New file.
4524 * gdb.base/sss-bp-on-user-bp.exp: New file.
4525
522c09bf
DB
45262014-05-30 David Blaikie <dblaikie@gmail.com>
4527
4528 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4529 gnu_inline semantics via attribute.
4530 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4531 source explicitly specifies the required semantics.
4532
bf4ef81e
MR
45332014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4534
4535 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4536
329ea579
PA
45372014-05-29 Pedro Alves <palves@redhat.com>
4538 Tom Tromey <tromey@redhat.com>
4539
4540 * gdb.base/async-shell.exp: Don't enable target-async.
4541 * gdb.base/async.exp
4542 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4543 parameter. Adjust.
4544 (top level): Don't test with "target-async".
4545 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4546 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4547 * gdb.base/inferior-died.exp: Don't enable target-async.
4548 * gdb.base/interrupt-noterm.exp: Likewise.
4549 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4550 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4551 * gdb.mi/mi-nonstop.exp: Likewise.
4552 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4553 * gdb.mi/mi-nsintrall.exp: Likewise.
4554 * gdb.mi/mi-nsmoribund.exp: Likewise.
4555 * gdb.mi/mi-nsthrexec.exp: Likewise.
4556 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4557 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4558 * gdb.python/py-evsignal.exp: Don't enable target-async.
4559 * gdb.python/py-evthreads.exp: Likewise.
4560 * gdb.python/py-prompt.exp: Likewise.
4561 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4562 * gdb.server/solib-list.exp: Don't enable target-async.
4563 * gdb.threads/thread-specific-bp.exp: Likewise.
4564 * lib/mi-support.exp: Adjust to use mi-async.
4565
fd664c91
PA
45662014-05-29 Pedro Alves <palves@redhat.com>
4567
4568 PR gdb/13860
4569 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4570 reason, even in sync mode.
4571
251bde03
PA
45722014-05-29 Pedro Alves <palves@redhat.com>
4573 Hui Zhu <hui@codesourcery.com>
4574
4575 PR PR15693
4576 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4577 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4578 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4579 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4580
7f3c0343
JB
45812014-05-28 Joel Brobecker <brobecker@adacore.com>
4582
4583 * config/monitor.exp (gdb_target_monitor): Replace use of
4584 "set remotebaud" by "set serial baud".
4585
b2715b27
AW
45862014-05-26 Andy Wingo <wingo@igalia.com>
4587
4588 * gdb.guile/scm-breakpoint.exp:
4589 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4590 properties instead of gdb-object-properties.
4591
498a4489
YQ
45922014-05-26 Yao Qi <yao@codesourcery.com>
4593
4594 * gdb.server/no-thread-db.exp: Specify source file name
4595 explicitly when setting a breakpoint.
4596
589fdceb
MM
45972014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4598
4599 * gdb.btrace/vdso.c: New.
4600 * gdb.btrace/vdso.exp: New.
4601
e9089e05
MM
46022014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4603
4604 * gdb.base/gcore.exp (capture_command_output): Move ...
4605 * lib/gdb.exp (capture_command_output): ... here.
4606
67b5c0c1
MM
46072014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4608
4609 * gdb.btrace/data.exp: Test memory access during btrace replay.
4610
a2199296
SM
46112014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4612
4613 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4614
17b2616c
PA
46152014-05-21 Pedro Alves <palves@redhat.com>
4616
4617 PR gdb/13860
4618 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4619 (top level): Test that output related to execution commands is
4620 sent to the console with CLI commands, but not with MI commands.
4621 Test that breakpoint events are always mirrored to the console.
4622 Also expect the new source line to be output after a "next" in
4623 async mode too. Make it a pass/fail test.
4624 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4625 output.
4626 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4627
5166082f
PA
46282014-05-21 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4631 Use them to test variations of "list" after reaching a breakpoint.
4632 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4633 Test "list" with listsize 10 after reaching a breakpoint.
4634 * gdb.python/python.exp (decode_line current location line
4635 number): Adjust expected line number.
4636
2f25d70f
SM
46372014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4638
4639 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4640 behavior for $args, pass it directly to "run".
4641
ff604a67
MR
46422014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4643
4644 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4645 30000 to 65536.
4646
6a3cb8e8
PA
46472014-05-21 Pedro Alves <palves@redhat.com>
4648
4649 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4650 auto-connect-native-target off".
4651 * gdb.base/auto-connect-native-target.c: New file.
4652 * gdb.base/auto-connect-native-target.exp: New file.
4653
4ebfc96e
PA
46542014-05-21 Pedro Alves <palves@redhat.com>
4655
4656 * gdb.base/default.exp: Test "target native" instead of "target
4657 child".
4658
36d46afb
MW
46592014-05-21 Mark Wielaard <mjw@redhat.com>
4660
4661 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4662
5876f503
JK
46632014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4664
4665 Fix TLS access for -static -pthread.
4666 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4667 <HAVE_TLS> (thread_function, main): Initialize it.
4668 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4669 Add clean_restart.
4670 <$have_tls != "">: Check TLSVAR.
4671
0256a6ac
PA
46722014-05-21 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.base/dcache-line-read-error.c: New.
4675 * gdb.base/dcache-line-read-error.exp: New.
4676
936d2992
PA
46772014-05-20 Pedro Alves <palves@redhat.com>
4678
4679 * gdb.base/compare-sections.c: New file.
4680 * gdb.base/compare-sections.exp: New file.
4681
802e8e6d
PA
46822014-05-20 Pedro Alves <palves@redhat.com>
4683
4684 * gdb.base/break-idempotent.c: New file.
4685 * gdb.base/break-idempotent.exp: New file.
4686
e59fa00f
MM
46872014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4688
4689 * gdb.btrace/nohist.exp: New.
4690
8b696e31
YQ
46912014-05-20 Yao Qi <yao@codesourcery.com>
4692
4693 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4694 gdb.reverse directory and gdb_reverse_timeout exists in board
4695 setting.
4696 * README: Document gdb_reverse_timeout.
4697
73c9764f
YQ
46982014-05-20 Yao Qi <yao@codesourcery.com>
4699
4700 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4701 'test_file_name'. Treat args as a string instead of a list.
4702 (gdb_init): Rename argument 'args' by 'test_file_name'.
4703
f1f4348a
JK
47042014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4705
4706 * gdb.arch/powerpc-power.exp: New file.
4707 * gdb.arch/powerpc-power.s: New file.
4708
0dbe70ce
DE
47092014-05-16 Doug Evans <dje@google.com>
4710
4711 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4712 * gdb.base/completion.exp: Check that all expected files exist
4713 before doing file completion.
0dbe70ce 4714
8d551b02
DE
47152014-05-16 Doug Evans <dje@google.com>
4716
4717 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4718 Update.
4719 (do_syscall_tests_without_xml): Update.
4720
73eb7709
PA
47212014-05-16 Pedro Alves <palves@redhat.com>
4722
4723 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4724 instead of "unknown output after running".
4725
3fae92fc
YQ
47262014-05-16 Yao Qi <yao@codesourcery.com>
4727
4728 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4729 file1.txt from host at the end.
4730 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4731
c2b2ccc5
DE
47322014-05-15 Doug Evans <dje@google.com>
4733
4734 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4735 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4736 loading file. Add test for TU lookup.
4737
8c217a4b
SM
47382014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4739
4740 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4741 calling "-exec-arguments" or "set args" before running the
4742 inferior.
4743
3deb39c6
SM
47442014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4745
4746 * lib/mi-support.exp (mi_expect_stop): Expect message for
4747 inferiors that exit with non-zero exit code.
4748
71a79f8c
YQ
47492014-05-14 Yao Qi <yao@codesourcery.com>
4750
4751 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4752 match absolute path on remote host.
4753 (test_file_list_exec_source_files): Remove "/" from the
4754 pattern.
4755
f23fcd46
YQ
47562014-05-14 Yao Qi <yao@codesourcery.com>
4757
4758 * boards/local-remote-host-notty.exp (${board}_file): New
4759 proc.
4760
9404b58f
KM
47612014-05-07 Kyle McMartin <kyle@redhat.com>
4762
4763 Pushed by Joel Brobecker <brobecker@adacore.com>.
4764 * gdb.arch/aarch64-atomic-inst.c: New file.
4765 * gdb.arch/aarch64-atomic-inst.exp: New file.
4766
5e45f04c
YQ
47672014-05-07 Yao Qi <yao@codesourcery.com>
4768
4769 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4770 in current context" too.
4771
c888a17d
KS
47722014-05-05 Keith Seitz <keiths@redhat.com>
4773
4774 * gdb.linespec/ls-dollar.exp: Add test for linespec
4775 file:convenience_variable.
4776
290a839c
YQ
47772014-05-05 Yao Qi <yao@codesourcery.com>
4778
4779 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4780 traceframes into tfile and ctf trace files. Read data from
4781 trace file and test collected data.
4782 (gdb_collect_locals_test): Likewise.
4783 (gdb_unavailable_registers_test): Likewise.
4784 (gdb_unavailable_floats): Likewise.
4785 (gdb_collect_globals_test): Likewise.
4786 (top-level): Append "ctf" to trace_file_targets if GDB
4787 supports.
4788
b5262cd0
YQ
47892014-05-05 Yao Qi <yao@codesourcery.com>
4790
4791 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4792 code to ...
4793 (gdb_collect_args_test_1): ... it. New proc.
4794 (gdb_collect_locals_test): Move some code to ...
4795 (gdb_collect_locals_test_1): ... it. New proc.
4796 (gdb_unavailable_registers_test): Move some code to ...
4797 (gdb_unavailable_registers_test_1): ... it. New proc.
4798 (gdb_unavailable_floats): Move some code to ...
4799 (gdb_unavailable_floats_1): ... it. New proc.
4800
30a1e6cc
SDJ
48012014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4802
4803 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4804 probes to test for bitness recognition.
4805 * gdb.arch/amd64-stap-optional-prefix.exp
4806 (test_probe_value_without_reg): New procedure.
4807 Add code to test for different kinds of bitness.
4808
f33da99a
SDJ
48092014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4810
4811 PR breakpoints/16889
4812 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4813 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4814
5b80f00d
PA
48152014-05-01 Pedro Alves <palves@redhat.com>
4816
4817 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4818 gdb_file_cmd if no file is specified.
4819 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4820 last_loaded_file to set the remote exec-file.
4821
f8c2a73c
PA
48222014-05-01 Pedro Alves <palves@redhat.com>
4823
4824 * boards/local-remote-host.exp: New file.
4825
be6e8ac7
PA
48262014-05-01 Pedro Alves <palves@redhat.com>
4827
4828 * boards/local-remote-host.exp: Rename to ...
4829 * boards/local-remote-host-notty.exp: ... this.
4830
cac0dc8f
JB
48312014-04-28 Joel Brobecker <brobecker@adacore.com>
4832
4833 * gdb.ada/dyn_arrayidx: New testcase.
4834
9730e6cc
YQ
48352014-04-26 Yao Qi <yao@codesourcery.com>
4836
4837 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4838 and compute the length of function main. Save it in
4839 $main_length.
4840 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4841 (top-level): Use gdb_compile to compile objects into
4842 executable and restart GDB. Remove invocation to
4843 prepare_for_testing.
4844
7ae1a6a6
PA
48452014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4846 Pedro Alves <palves@redhat.com>
4847
4848 PR server/16255
4849 * gdb.multi/multi-attach.c: New file.
4850 * gdb.multi/multi-attach.exp: New file.
4851
4082afcc
PA
48522014-04-25 Pedro Alves <palves@redhat.com>
4853
4854 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4855 user.
4856 (top level): Test that "set remote conditional-breakpoints-packet
4857 off" works as intended.
4858 * gdb.base/dprintf.exp: Test that "set remote
4859 breakpoint-commands-packet off" works as intended.
4860 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4861 New function.
4862 (top level): Call it.
4863 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4864 remote fast-tracepoints-packet off" works as intended.
4865 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4866 * lib/gdb.exp (gdb_is_target_remote): ... here.
4867
2abc3f8d
DB
48682014-04-24 David Blaikie <dblaikie@gmail.com>
4869
4870 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4871 ensure clang would not discard them.
4872 * gdb.base/gdbvars.c: Ditto.
4873 * gdb.base/memattr.c: Ditto.
4874 * gdb.base/whatis.c: Ditto.
4875 * gdb.python/py-prettyprint.c: Ditto.
4876 * gdb.trace/actions.c: Ditto.
4877 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4878 ensure clang would not discard it.
4879
bfd39632
DB
48802014-04-24 David Blaikie <dblaikie@gmail.com>
4881
4882 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4883 clang to emit the full definition of type required by the test
4884 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4885
22842ff6
DB
48862014-04-24 David Blaikie <dblaikie@gmail.com>
4887
4888 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4889 coax Clang into emitting the definition of the type.
4890 * gdb.cp/pr10728-x.h (y): Ditto.
4891 * gdb.cp/pr10728-y.cc (y): Ditto.
4892
c2e827ad
DB
48932014-04-24 David Blaikie <dblaikie@gmail.com>
4894
4895 * gdb.base/label.exp: XFAIL label related tests under Clang.
4896 * gdb.cp/cplabel.exp: Ditto.
4897 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4898 under Clang those using labels.
4899
4c2d33e7
YQ
49002014-04-25 Yao Qi <yao@codesourcery.com>
4901
4902 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4903 double_label.
4904 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4905 partial_label and double_label.
4906
56083b99
DB
49072014-04-24 David Blaikie <dblaikie@gmail.com>
4908
4909 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4910
25d4e99d
DB
49112014-04-24 David Blaikie <dblaikie@gmail.com>
4912
4913 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4914 of the function to work across GCC and Clang.
4915 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4916 pointer types (const void ** const V void **).
4917
01f9f808
MS
49182014-04-24 Michael Sturm <michael.sturm@mintel.com>
4919 Walfred Tedeschi <walfred.tedeschi@intel.com>
4920
4921 * Makefile.in (EXECUTABLES): Added i386-avx512.
4922 * gdb.arch/i386-avx512.c: New file.
4923 * gdb.arch/i386-avx512.exp: Likewise.
4924
4b48d439
KS
49252014-04-23 Keith Seitz <keiths@redhat.com>
4926
4927 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4928 (mi_make_breakpoint_table): New procedure.
4929 (mi_create_breakpoint): Use mi_make_breakpoint
4930 and return the result.
4931 (mi_make_breakpoint): New procedure.
4932 (mi_build_kv_pairs): New procedure.
4933
4934 * gdb.mi/mi-break.exp: Remove unused globals,
4935 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4936 All callers updated.
4937 * gdb.mi/mi-dprintf.exp: Use variable to track command
4938 number.
4939 Update all callers of mi_create_breakpoint and use
4940 mi_make_breakpoint_table.
4941 Remove any unused global variables.
4942 * gdb.mi/mi-nonstop.exp: Likewise.
4943 * gdb.mi/mi-nsintrall.exp: Likewise.
4944 * gdb.mi/mi-nsmoribund.exp: Likewise.
4945 * gdb.mi/mi-nsthrexec.exp: Likewise.
4946 * gdb.mi/mi-reverse.exp: Likewise.
4947 * gdb.mi/mi-simplerun.exp: Likewise.
4948 * gdb.mi/mi-stepn.exp: Likewise.
4949 * gdb.mi/mi-syn-frame.exp: Likewise.
4950 * gdb.mi/mi-until.exp: Likewise.
4951 * gdb.mi/mi-var-cp.exp: Likewise.
4952 * gdb.mi/mi-var-display.exp: Likewise.
4953 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4954 * gdb.mi/mi2-var-child.exp: Likewise.
4955 * gdb.mi/mi-vla-c99.exp: Likewise.
4956 * lib/mi-support.exp: Likewise.
4957
4958 From Ian Lance Taylor <iant@cygnus.com>:
4959 * lib/gdb.exp (parse_args): New procedure.
4960
08351840
PA
49612014-04-23 Pedro Alves <palves@redhat.com>
4962
4963 * gdb.base/break-unload-file.c: New file.
4964 * gdb.base/break-unload-file.exp: New file.
4965 * gdb.base/sym-file-lib.c (baz): New function.
4966 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4967 field.
4968 (load): Store the segment's mapped size.
4969 (unload): New function.
4970 (unload_shlib): New function.
4971 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4972 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4973 set a breakpoint at baz, and call it.
4974 * gdb.base/sym-file.exp: New tests for stale breakpoint
4975 instructions.
4976
076855f9
PA
49772014-04-23 Pedro Alves <palves@redhat.com>
4978
4979 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4980 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4981 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4982 * gdb.base/hbreak-unmapped.c: New file.
4983 * gdb.base/hbreak-unmapped.exp: New file.
4984 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4985 * lib/gdb.exp (gdb_is_target_remote): ... here.
4986
483805cf
PA
49872014-04-22 Pedro Alves <palves@redhat.com>
4988
4989 * gdb.base/consecutive-step-over.c: New file.
4990 * gdb.base/consecutive-step-over.exp: New file.
4991
06d97543
PA
49922014-04-22 Pedro Alves <palves@redhat.com>
4993
4994 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4995 instead of send_gdb/gdb_expect.
4996
b4429ea2
YQ
49972014-04-22 Yao Qi <yao@codesourcery.com>
4998
4999 * lib/trace-support.exp (generate_tracefile): New procedure.
5000 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5001 return 0.
5002 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5003 if generate_tracefile returns 1.
5004
51d48146
PA
50052014-04-18 Tom Tromey <palves@redhat.com>
5006 Pedro alves <tromey@redhat.com>
5007
5008 PR backtrace/15558
5009 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5010 with a backtrace limit.
5011 * gdb.python/py-frame-inline.exp: Test running to an inline
5012 function with a backtrace limit, and printing the newest frame.
5013 * gdb.python/py-frame-inline.c (main): Call f.
5014
bd1dce5f
MS
50152014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5016
5017 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5018
40d1a503
MS
50192014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5020
5021 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5022 Drop prefix from unsupported source file path.
5023
389b98f7
YQ
50242014-04-17 Yao Qi <yao@codesourcery.com>
5025
5026 * lib/gdb.exp (with_target_charset): New proc.
5027 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5028 with_target_charset.
5029 (test_print_strings): Likewise.
5030 (test_repeat_bytes): Likewise.
5031 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5032 for some tests.
5033
22869d73
KS
50342014-04-16 Keith Seitz <keiths@redhat.com>
5035
5036 PR gdb/15827
5037 * gdb.dwarf2/corrupt.c: New file.
5038 * gdb.dwarf2/corrupt.exp: New file.
5039
c4f87ca6
KS
50402014-04-16 Keith Seitz <keiths@redhat.com>
5041
5042 PR c++/16597
5043 * gdb.cp/namelessclass.cc: New file.
5044 * gdb.cp/namelessclass.exp: New file.
5045 * gdb.cp/namelessclass.S: New file.
5046
ab19de87
DE
50472014-04-16 Doug Evans <dje@google.com>
5048
5049 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5050 Add comment.
5051 (gdbserver_default_get_comm_port): New function.
5052 (gdbserver_start): Check if board file provided
5053 "gdbserver,get_comm_port" and use it if so.
5054 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5055 (gdb,socketport): Set to "stdio".
5056 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5057 (stdio_gdbserver_template): Delete.
5058 (${board}_get_remote_address): Update.
5059 (${board}_build_remote_cmd): Delete.
5060 (${board}_get_comm_port): New function.
5061 (${board}_spawn): Update.
5062 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5063 Delete.
5064 (${board}_get_remote_address): Update.
5065 (${board}_get_comm_port): New function.
5066
fc98a809
AB
50672014-04-16 Andrew Burgess <aburgess@broadcom.com>
5068
5069 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5070 appearing in any order.
5071
87fd9e6e
DE
50722014-04-15 Doug Evans <dje@google.com>
5073
5074 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5075 uninitialized value of "description".
5076
099fc3ea
KS
50772014-04-15 Keith Seitz <keiths@redhat.com>
5078
5079 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5080 Remove unused globals.
5081 (test_running_the_program): Likewise.
5082 (test_controlled_execution): Likewise.
5083 (test_controlling_breakpoints): Likewise.
5084 (test_program_termination): Likewise.
5085
5da151d4
KS
50862014-04-15 Keith Seitz <keiths@redhat.com>
5087
5088 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5089 unused globals.
5090 (test_rbreak_creation_and_listing): Likewise.
5091 (test_ignore_count): Likewise.
5092 (test_error): Likewise.
5093
35e5d2f0
PA
50942014-04-15 Pedro Alves <palves@redhat.com>
5095
5096 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5097 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5098 sym-file-loader.c.
5099 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5100 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5101 to sym-file-loader.c.
5102 (struct library): Forward declare.
5103 (load_shlib, lookup_function): Change prototypes.
5104 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5105 (translate_offset): Remove declarations.
5106 (get_text_addr): New declaration.
5107 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5108 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5109 sym-file-loader.h.
5110 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5111 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5112 here from sym-file-loader.h.
5113 (struct library): New structure.
5114 (load_shlib, lookup_function): Change prototypes and adjust to
5115 work with a struct library.
5116 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5117 (translate_offset): Make static.
5118 (get_text_addr): New function.
5119 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5120
eb4c1710
PA
51212014-04-15 Pedro Alves <palves@redhat.com>
5122
5123 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5124
2d1baf52
PA
51252014-04-15 Pedro Alves <palves@redhat.com>
5126
5127 * gdb.base/sym-file-loader.c: Include <limits.h>.
5128 (SELF_LINK): New define.
5129 (get_origin): New function.
5130 (load_shlib): Use it.
5131 * gdb.base/sym-file.exp: Don't early return if the target is
5132 remote. Use runto_main, and issue fail is that fails. Use
5133 gdb_load_shlibs.
5134 (shlib_name): Delete.
5135 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5136
7dd6df01
PA
51372014-04-15 Pedro Alves <palves@redhat.com>
5138
5139 * gdb.base/sym-file.exp: Remove regex characters from test
5140 message. Don't refer to breakpoint numbers in test messages.
5141
b50c8614
KS
51422014-04-14 Keith Seitz <keiths@redhat.com>
5143
5144 PR c++/16253
5145 * gdb.cp/var-tag.cc: New file.
5146 * gdb.cp/var-tag.exp: New file.
5147 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5148 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5149 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5150 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5151
3d567982
TT
51522014-04-14 Tom Tromey <tromey@redhat.com>
5153
5154 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5155 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5156 type.
5157 * gdb.cp/enum-class.exp: New file.
5158 * gdb.cp/enum-class.cc: New file.
5159
0626fc76
TT
51602014-04-14 Tom Tromey <tromey@redhat.com>
5161
5162 * gdb.dwarf2/enum-type.exp: New file.
5163
dca325b3
SA
51642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5165
5166 * gdb.mi/mi-vla-c99.exp: New file.
5167 * gdb.mi/vla.c: New file.
5168
5854b38a
SA
51692014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5170
5171 * gdb.base/vla-datatypes.c: New file.
5172 * gdb.base/vla-datatypes.exp: New file.
5173
463bb957
SA
51742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5175
5176 * gdb.base/vla-ptr.c: New file.
5177 * gdb.base/vla-ptr.exp: New file.
5178
3dd170be
SA
51792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5180
5181 * gdb.dwarf2/count.exp: New file.
5182
5ecaaa66
SA
51832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5184
5185 * gdb.base/vla-sideeffect.c: New file.
5186 * gdb.base/vla-sideeffect.exp: New file.
5187
41f1ada5
DB
51882014-04-14 David Blaikie <dblaikie@gmail.com>
5189
5190 * gdb.mi/non-stop.c: Add return value for non-void function return
5191 statement.
5192 * gdb.threads/staticthreads.c: Ditto.
5193
0be03e84
DE
51942014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5195 Doug Evans <xdje42@gmail.com>
5196
5197 * gdb.guile/scm-value.c: Improve test case.
5198 * gdb.guile/scm-value.exp: Add new test.
5199
f180a1fb
DB
52002014-04-11 David Blaikie <dblaikie@gmail.com>
5201
5202 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5203 override Clang's default.
5204
6b662e19
JB
52052014-04-11 Joel Brobecker <brobecker@adacore.com>
5206
5207 Revert the following changes (regressions):
5208
5209 * gdb.base/vla-sideeffect.c: New file.
5210 * gdb.base/vla-sideeffect.exp: New file.
5211
5212 * gdb.dwarf2/count.exp: New file.
5213
5214 * gdb.base/vla-multi.c: New file.
5215 * gdb.base/vla-multi.exp: New file.
5216
5217 * gdb.base/vla-ptr.c: New file.
5218 * gdb.base/vla-ptr.exp: New file.
5219
5220 * gdb.base/vla-datatypes.c: New file.
5221 * gdb.base/vla-datatypes.exp: New file.
5222
5223 * gdb.mi/mi-vla-c99.exp: New file.
5224 * gdb.mi/vla.c: New file.
5225
245a5f0b
KS
52262014-04-11 Keith Seitz <keiths@redhat.com>
5227
5228 PR c++/16675
5229 * gdb.cp/cpsizeof.exp: New file.
5230 * gdb.cp/cpsizeof.cc: New file.
5231
58a84dcf
SA
52322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5233
191a8a90
JB
5234 * gdb.mi/mi-vla-c99.exp: New file.
5235 * gdb.mi/vla.c: New file.
58a84dcf 5236
c8655f75
SA
52372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5238
5239 * gdb.base/vla-datatypes.c: New file.
5240 * gdb.base/vla-datatypes.exp: New file.
5241
024e13b4
SA
52422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5243
5244 * gdb.base/vla-ptr.c: New file.
5245 * gdb.base/vla-ptr.exp: New file.
5246
1a237e0e
SA
52472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5248
5249 * gdb.base/vla-multi.c: New file.
5250 * gdb.base/vla-multi.exp: New file.
5251
504f3432
SA
52522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5253
5254 * gdb.dwarf2/count.exp: New file.
5255
3bce8237
SA
52562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5257
191a8a90
JB
5258 * gdb.base/vla-sideeffect.c: New file.
5259 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5260
322f9c21
YQ
52612014-04-11 Yao Qi <yao@codesourcery.com>
5262
5263 * gdb.base/completion.exp: Check file exists before running tests
5264 on file completion.
5265
d708bcd1
PA
52662014-04-10 Pedro Alves <palves@redhat.com>
5267
5268 * gdb.base/cond-eval-mode.c: New file.
5269 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5270 prepare_for_testing to build the new file. Check result of
5271 runto_main.
5272 (test_break, test_watch): New procedures.
5273 (top level): Use them.
5274
ae1d2761
PM
52752014-04-08 Pierre Muller <muller@sourceware.org>
5276
5277 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5278 Ctrl-V use for mingw hosts.
5279
7af389b8
SC
52802014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5281
5282 * gdb.python/py-value.c: Improve test case.
5283 * gdb.python/py-value.exp: Add new test.
5284
5e703181
DE
52852014-04-07 David Blaikie <dblaikie@gmail.com>
5286
5287 * lib/compiler.c: Identify the clang compiler.
5288 * lib/compiler.cc: Ditto.
5289
9810b410
YQ
52902014-04-03 Yao Qi <yao@codesourcery.com>
5291
5292 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5293
98d1b8dc
AB
52942014-04-01 Anton Blanchard <anton@samba.org>
5295
5296 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5297 messages unique.
5298
3114cea1
AB
52992014-04-01 Anton Blanchard <anton@samba.org>
5300
5301 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5302 prepare_for_testing.
5303
62f7182c
AB
53042014-04-01 Anton Blanchard <anton@samba.org>
5305
5306 * gdb.arch/ppc64-atomic-inst.c: Remove.
5307 * gdb.arch/ppc64-atomic-inst.S: New file.
5308 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5309
770e7fc7
DE
53102014-03-31 Doug Evans <dje@google.com>
5311
5312 * gdb.base/print-symbol-loading-lib.c: New file.
5313 * gdb.base/print-symbol-loading-main.c: New file.
5314 * gdb.base/print-symbol-loading.exp: New file.
5315
46e2bafa
YQ
53162014-03-31 Yao Qi <yao@codesourcery.com>
5317
5318 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5319
8776cfe9
JB
53202014-03-28 Joel Brobecker <brobecker@adacore.com>
5321
5322 * gdb.ada/mi_dyn_arr: New testcase.
5323
5d1ef361
DE
53242014-03-27 Doug Evans <dje@google.com>
5325
5326 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5327
b5bee914
YQ
53282014-03-27 Yao Qi <yao@codesourcery.com>
5329
5330 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5331 if target is nios2-*-*.
5332
0d4d0e77
YQ
53332014-03-26 Yao Qi <yao@codesourcery.com>
5334
5335 * lib/gdb.exp (readline_is_used): New proc.
5336 * gdb.base/completion.exp: Move tests on command complete up.
5337 Skip the rest of tests if readline is not used.
5338 * gdb.ada/complete.exp: Skp the test if readline is not
5339 used.
5340 * gdb.base/filesym.exp: Likewise.
5341 * gdb.base/macscp.exp: Likewise.
5342 * gdb.base/readline-ask.exp: Likewise.
5343 * gdb.base/readline.exp: Likewise.
5344 * gdb.python/py-cmd.exp: Likewise.
5345 * gdb.trace/tfile.exp: Likewise.
5346
29361eee
YQ
53472014-03-26 Yao Qi <yao@codesourcery.com>
5348
5349 * gdb.base/macscp.exp: Fix code format issues.
5350
bc9a5525
UW
53512014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5352
5353 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5354 * gdb.asm/powerpc64le.inc: New file.
5355
d3839ede
PA
53562014-03-25 Pedro Alves <palves@redhat.com>
5357 Doug Evans <dje@google.com>
5358
5359 * gdb.base/source-execution.c: New file.
5360 * gdb.base/source-execution.exp: New file.
5361 * gdb.base/source-execution.gdb: New file.
5362
01672a57
DE
53632014-03-24 Doug Evans <dje@google.com>
5364
5365 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5366 using fission.
5367
88bbeca9
HZ
53682014-03-24 Hui Zhu <hui@codesourcery.com>
5369 Pedro Alves <palves@redhat.com>
5370
5371 PR breakpoints/16101
5372 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5373 test pass/fail messages. Detect missing support for dprintf when
5374 breakpoints are actually inserted.
5375 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5376 breakpoints are actually inserted.
5377 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5378 fails.
5379
d2348791
JK
53802014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5381
5382 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5383
feef67ab
DE
53842014-03-22 Doug Evans <xdje42@gmail.com>
5385
5386 * gdb.python/python.exp (python not supported): Verify multi-line
5387 python command issues an error.
25d743f9 5388 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5389 guile command issues an error.
feef67ab 5390
ecebef6a
MR
53912014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5392
5393 * gdb.threads/thread-specific.exp: Handle the lack of usable
5394 $this_breakpoint and $this_thread.
5395
ccdd1909
HZ
53962014-03-21 Hui Zhu <hui@codesourcery.com>
5397
5398 * gdb.base/attach.exp (do_command_attach_tests): New.
5399
beb460e8
PA
54002014-03-20 Tom Tromey <tromey@redhat.com>
5401 Pedro Alves <palves@redhat.com>
5402
5403 PR cli/15718
5404 * gdb.base/condbreak-call-false.c: New file.
5405 * gdb.base/condbreak-call-false.exp: New file.
5406
40acf43a
PA
54072014-03-20 Pedro Alves <palves@redhat.com>
5408
5409 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5410 Delete.
5411 (block_signals, unblock_signals): Delete.
5412 (child_function_2, main): Remove references to deleted variable
5413 and functions.
5414
9f5e1e02
PA
54152014-03-20 Pedro Alves <palves@redhat.com>
5416
5417 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5418 Use pthread_kill to signal thread 2.
5419 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5420 Adjust to make the test send itself a signal rather than using the
5421 host's "kill" command.
5422
99619bea
PA
54232014-03-20 Pedro Alves <palves@redhat.com>
5424
5425 * gdb.threads/multiple-step-overs.c: New file.
5426 * gdb.threads/multiple-step-overs.exp: New file.
5427 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5428 Adjust expected infrun debug output.
5429
2adfaa28
PA
54302014-03-20 Pedro Alves <palves@redhat.com>
5431
5432 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5433 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5434
31e77af2
PA
54352014-03-20 Pedro Alves <palves@redhat.com>
5436
5437 PR breakpoints/7143
5438 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5439 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5440 of gdb_test_multiple.
5441 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5442 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5443
b9f437de
PA
54442014-03-20 Pedro Alves <palves@redhat.com>
5445
5446 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5447 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5448
05adc73e
PA
54492014-03-19 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.base/async.exp: Remove early return.
5452
6048b950
PA
54532014-03-19 Pedro Alves <palves@redhat.com>
5454
5455 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5456
8bcfb00a
PA
54572014-03-19 Pedro Alves <palves@redhat.com>
5458
5459 * gdb.base/async.exp (test_background): Expect \r\n after
5460 "completed." in the fail pattern.
5461
884e37dc
PA
54622014-03-19 Pedro Alves <palves@redhat.com>
5463
5464 * gdb.base/async.exp (test_background): New procedure.
5465 Use it for all background execution command tests.
5466
148e57e2
PA
54672014-03-19 Pedro Alves <palves@redhat.com>
5468
5469 * gdb.base/async.exp: Use prepare_for_testing.
5470
f48088c7
PA
54712014-03-19 Pedro Alves <palves@redhat.com>
5472
5473 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5474 the same line.
5475
e2f6c966
PA
54762014-03-19 Pedro Alves <palves@redhat.com>
5477
5478 * gdb.base/async.c (main): Add "jump here" and "until here" line
5479 marker comments.
5480 * gdb.base/async.exp (jump_here): New global.
5481 (jump& test): Use it.
5482 (until_here): New global.
5483 (until& test): Use it.
5484
c30568d4
PA
54852014-03-19 Pedro Alves <palves@redhat.com>
5486
5487 * gdb.base/async.exp: Don't frob gdb_protocol.
5488
0172b6a7
DE
54892014-03-18 Doug Evans <xdje42@gmail.com>
5490
5491 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5492 Fix spelling of exec-done-display.
5493
06c868a8
JK
54942014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5495
5496 PR gdb/15358
5497 * gdb.base/gdb-sigterm.c: New file.
5498 * gdb.base/gdb-sigterm.exp: New file.
5499
0c7e1a46
PA
55002014-03-18 Pedro Alves <palves@redhat.com>
5501
5502 PR gdb/13860
5503 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5504 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5505 solib-event.
5506
f7c77d93
JB
55072014-03-17 Joel Brobecker <brobecker@adacore.com>
5508
5509 * gdb.ada/pckd_arr_ren: New testcase.
5510
5a1e8c7a
DE
55112014-03-13 Doug Evans <xdje42@gmail.com>
5512
5513 PR guile/16612
5514 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5515 collect after discarding symbols.
5516
350e1a76
DE
55172014-03-13 Ludovic Courtès <ludo@gnu.org>
5518 Doug Evans <xdje42@gmail.com>
5519
5520 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5521 to history survives a gc.
5522
a69900ae
PA
55232014-03-13 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.base/default.exp: Don't test "target procfs".
5526
5db9f0bd
PA
55272014-03-13 Pedro Alves <palves@redhat.com>
5528
5529 * gdb.base/default.exp: Update "target child" and "target procfs"
5530 tests to not expect "Unix".
5531
b3ccfe11
TT
55322014-03-12 Tom Tromey <tromey@redhat.com>
5533
5534 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5535 New procs. Add target-async tests.
5536 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5537 Add target-async tests.
5538
646f4417
AA
55392014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5540
5541 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5542 'func_start' and 'func_end' for the beginning and end of the
5543 function code, respectively.
5544 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5545 'func_end' instead of 'func' and 'main'.
5546
288c211f
AA
55472014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5548
5549 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5550 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5551 generate the debug info assembler source.
5552
e0c0f156
AA
55532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5554
5555 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5556 * gdb.dwarf2/arr-subrange.exp: Likewise.
5557 * gdb.dwarf2/dwz.exp: Likewise.
5558 * gdb.dwarf2/method-ptr.exp: Likewise.
5559 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5560 * gdb.dwarf2/subrange.exp: Likewise.
5561 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5562 * gdb.dwarf2/implptrpiece.exp: Likewise.
5563 * gdb.dwarf2/nostaticblock.exp: Likewise.
5564
0e5c4555
AA
55652014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5566
5567 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5568 directory to absolute path name arguments.
5569
5ec18f2b
JG
55702014-03-10 Joel Brobecker <brobecker@adacore.com>
5571
5572 * gdb.ada/tagged_access: New testcase.
5573
847fc4f2
MM
55742014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5575
5576 * gdb.btrace/data.exp: Update expected output.
5577
cc3da688
YQ
55782014-03-06 Yao Qi <yao@codesourcery.com>
5579
5580 * gdb.trace/pr16508.exp: New file.
5581
0f26cec1
PA
55822014-03-05 Pedro Alves <palves@redhat.com>
5583
5584 PR gdb/16575
5585 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5586 procedure.
5587 (top level): Adjust to use it. Add tests that exercise breakpoint
5588 interaction with the code-cache.
5589
7a5a839f
LC
55902014-02-26 Ludovic Courtès <ludo@gnu.org>
5591
5592 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5593 test for 'history-append!'.
5594
31aa7e4e
JB
55952014-02-26 Joel Brobecker <brobecker@adacore.com>
5596
5597 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5598 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5599 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5600 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5601 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5602 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5603
1b588015
JB
56042014-02-26 Joel Brobecker <brobecker@adacore.com>
5605
5606 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5607 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5608 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5609
55426c9d
JB
56102014-02-26 Joel Brobecker <brobecker@adacore.com>
5611
5612 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5613
dc53a7ad
JB
56142014-02-26 Joel Brobecker <brobecker@adacore.com>
5615
5616 * gdb.dwarf2/arr-stride.c: New file.
5617 * gdb.dwarf2/arr-stride.exp: New file.
5618
12ab52e9
PA
56192014-02-26 Pedro Alves <palves@redhat.com>
5620
5621 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5622 that won't ever trigger. Make sure that GDB reports the correct
5623 breakpoint that caused the stop.
5624
849c862e
JK
56252014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5626
5627 PR gdb/16626
5628 * gdb.base/auto-load-script: New file.
5629 * gdb.base/auto-load.c: New file.
5630 * gdb.base/auto-load.exp: New file.
5631
71b7d793
JK
5632 PR gdb/16626
5633 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5634
e2f0d509
JK
56352014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5636
5637 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5638 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5639
50cc37c8
DE
56402014-02-24 Doug Evans <dje@google.com>
5641
5642 * lib/gdb.exp (run_on_host): Log error output if program fails.
5643
ea4758f2
PA
56442014-02-21 Pedro Alves <palves@redhat.com>
5645
5646 * gdb.threads/step-after-sr-lock.c: Rename to ...
5647 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5648 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5649 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5650 ... this.
5651
d7b30f67
SDJ
56522014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5653
5654 PR tdep/16397
5655 * gdb.arch/amd64-stap-special-operands.exp: New file.
5656 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5657 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5658 * gdb.arch/amd64-stap-triplet.S: Likewise.
5659 * gdb.arch/amd64-stap-triplet.c: Likewise.
5660
83deb43f
JB
56612014-02-20 Joel Brobecker <brobecker@adacore.com>
5662
5663 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5664 in .section pseudo-op.
5665
adde2bff
DE
56662014-02-20 lin zuojian <manjian2006@gmail.com>
5667 Joel Brobecker <brobecker@adacore.com>
5668 Doug Evans <xdje42@gmail.com>
5669
5670 PR symtab/16581
5671 * gdb.dwarf2/dw2-icycle.S: New file.
5672 * gdb.dwarf2/dw2-icycle.c: New file.
5673 * gdb.dwarf2/dw2-icycle.exp: New file.
5674
f7bd0f78
SC
56752014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5676
5677 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5678 operations on gdb.Value objects.
5679 * gdb.python/py-value-cc.exp: Add new test to test operations on
5680 gdb.Value objects.
5681
c17ef0d5
DE
56822014-02-18 Doug Evans <dje@google.com>
5683
5684 * Makefile.in (TESTS): New variable.
5685 (expanded_tests, expanded_tests_or_none): New variables
5686 (check-single): Pass $(expanded_tests_or_none) to runtest.
5687 (check-parallel): Only run tests in $(TESTS) if non-empty.
5688 (check/no-matching-tests-found): New rule.
5689 * README: Document TESTS makefile variable.
5690
5dd3176f
DE
56912014-02-18 Doug Evans <dje@google.com>
5692
5693 * Makefile.in (check-parallel): rm -rf outputs temp.
5694
0b10be4f
JK
56952014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5696
5697 Fix "ERROR: no fileid for" in the testsuite.
5698 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5699
85f224e7
DE
57002014-02-12 Doug Evans <dje@google.com>
5701
5702 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5703 (MISCELLANEOUS): New variable.
5704 (clean): rm -rf $(MISCELLANEOUS).
5705 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5706 dwp live in the same directory as symlinks, with each symlink pointed
5707 to a differently named file in a different directory.
5708
149b30ff
DE
57092014-02-11 Doug Evans <dje@google.com>
5710
5711 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5712 of Tcl file commands.
5713
1dfdac32
MK
57142014-02-10 Mark Kettenis <kettenis@gnu.org>
5715
5716 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5717 "kill -SIGUSR1 -1".
5718
aa4fb036
JB
57192014-02-10 Joel Brobecker <brobecker@adacore.com>
5720
5721 * gdb.ada/tick_length_array_enum_idx: New testcase.
5722
ed3ef339
DE
57232014-02-10 Doug Evans <xdje42@gmail.com>
5724
5725 * configure.ac (AC_OUTPUT): Add gdb.guile.
5726 * configure: Regenerate.
5727 * lib/gdb-guile.exp: New file.
5728 * lib/gdb.exp (get_target_charset): New function.
5729 * gdb.base/help.exp: Update expected output from "apropos apropos".
5730 * gdb.guile/Makefile.in: New file.
5731 * gdb.guile/guile.exp: New file.
5732 * gdb.guile/scm-arch.c: New file.
5733 * gdb.guile/scm-arch.exp: New file.
5734 * gdb.guile/scm-block.c: New file.
5735 * gdb.guile/scm-block.exp: New file.
5736 * gdb.guile/scm-breakpoint.c: New file.
5737 * gdb.guile/scm-breakpoint.exp: New file.
5738 * gdb.guile/scm-disasm.c: New file.
5739 * gdb.guile/scm-disasm.exp: New file.
5740 * gdb.guile/scm-equal.c: New file.
5741 * gdb.guile/scm-equal.exp: New file.
5742 * gdb.guile/scm-error.exp: New file.
5743 * gdb.guile/scm-error.scm: New file.
5744 * gdb.guile/scm-frame-args.c: New file.
5745 * gdb.guile/scm-frame-args.exp: New file.
5746 * gdb.guile/scm-frame-args.scm: New file.
5747 * gdb.guile/scm-frame-inline.c: New file.
5748 * gdb.guile/scm-frame-inline.exp: New file.
5749 * gdb.guile/scm-frame.c: New file.
5750 * gdb.guile/scm-frame.exp: New file.
5751 * gdb.guile/scm-generics.exp: New file.
5752 * gdb.guile/scm-gsmob.exp: New file.
5753 * gdb.guile/scm-iterator.c: New file.
5754 * gdb.guile/scm-iterator.exp: New file.
5755 * gdb.guile/scm-math.c: New file.
5756 * gdb.guile/scm-math.exp: New file.
5757 * gdb.guile/scm-objfile-script-gdb.in: New file.
5758 * gdb.guile/scm-objfile-script.c: New file.
5759 * gdb.guile/scm-objfile-script.exp: New file.
5760 * gdb.guile/scm-objfile.c: New file.
5761 * gdb.guile/scm-objfile.exp: New file.
5762 * gdb.guile/scm-ports.exp: New file.
5763 * gdb.guile/scm-pretty-print.c: New file.
5764 * gdb.guile/scm-pretty-print.exp: New file.
5765 * gdb.guile/scm-pretty-print.scm: New file.
5766 * gdb.guile/scm-section-script.c: New file.
5767 * gdb.guile/scm-section-script.exp: New file.
5768 * gdb.guile/scm-section-script.scm: New file.
5769 * gdb.guile/scm-symbol.c: New file.
5770 * gdb.guile/scm-symbol.exp: New file.
5771 * gdb.guile/scm-symtab-2.c: New file.
5772 * gdb.guile/scm-symtab.c: New file.
5773 * gdb.guile/scm-symtab.exp: New file.
5774 * gdb.guile/scm-type.c: New file.
5775 * gdb.guile/scm-type.exp: New file.
5776 * gdb.guile/scm-value-cc.cc: New file.
5777 * gdb.guile/scm-value-cc.exp: New file.
5778 * gdb.guile/scm-value.c: New file.
5779 * gdb.guile/scm-value.exp: New file.
5780 * gdb.guile/source2.scm: New file.
5781 * gdb.guile/types-module.cc: New file.
5782 * gdb.guile/types-module.exp: New file.
5783
7026a7c1
YQ
57842014-02-10 Yao Qi <yao@codesourcery.com>
5785
5786 PR testsuite/16543
5787 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5788 * configure: Regenerated.
5789 * Makefile.in: New file.
5790
6c466447
AS
57912014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5792
5793 * gdb.python/py-framefilter.exp: Fix typo.
5794
6e854735
YQ
57952014-02-08 Yao Qi <yao@codesourcery.com>
5796
5797 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5798 that no =breakpoint-modified is emitted when breakpoints are
5799 modified through MI commands.
5800
d137e6dc
PA
58012014-02-07 Pedro Alves <pedro@codesourcery.com>
5802 Pedro Alves <palves@redhat.com>
5803
5804 * gdb.threads/step-after-sr-lock.c: New file.
5805 * gdb.threads/step-after-sr-lock.exp: New file.
5806
b5ee5a50
PA
58072014-02-07 Pedro Alves <palves@redhat.com>
5808
5809 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5810
3c77faf3
JK
58112014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5812
5813 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5814 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5815
6dddc817
DE
58162014-02-06 Doug Evans <xdje42@gmail.com>
5817
5818 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5819 output.
5820
5821 * gdb.gdb/python-interrupts.exp: New file.
5822
de7b2893
YQ
58232014-02-05 Yao Qi <yao@codesourcery.com>
5824
5825 * gdb.trace/report.exp (use_collected_data): Test the output
5826 of "info threads" and "info inferiors".
5827
66d032ac
YQ
58282014-02-05 Yao Qi <yao@codesourcery.com>
5829
5830 Revert this patch:
5831
5832 2013-05-24 Yao Qi <yao@codesourcery.com>
5833
5834 * gdb.trace/tfile.exp: Test inferior and thread.
5835
591a12a1
UW
58362014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5837
5838 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5839 on a function.
5840 * gdb.base/step-bt.c: Call hello via function pointer to make
5841 sure its first instruction is executed on powerpc64le-linux.
5842
0ff3e01f
UW
58432014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5844
5845 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5846
084ee545
UW
58472014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5848
5849 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5850 of the test patterns for use on little-endian systems.
5851
6ed14ff3
UW
58522014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5853
5854 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5855 (decimal_vector): Fix for little-endian.
5856
401e27fd
JM
58572014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5858
5859 * gdb.arch/sparc-sysstep.exp: New file.
5860 * gdb.arch/sparc-sysstep.c: Likewise.
5861
5862 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5863
8b924729
EBM
58642014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5865
5866 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5867
fb151210
JB
58682014-01-23 Tom Tromey <tromey@redhat.com>
5869
5870 * gdb.ada/array_char_idx: New testcase.
5871
0740f8d8
TT
58722014-01-23 Tom Tromey <tromey@redhat.com>
5873
5874 PR python/16487:
5875 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5876 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5877 classes.
5878
21909fa1
TT
58792014-01-23 Tom Tromey <tromey@redhat.com>
5880
5881 PR python/16491:
5882 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5883 string from an inferior frame.
5884 * gdb.python/py-framefilter-mi.exp: Update.
5885
87ce2a04
DE
58862014-01-22 Doug Evans <dje@google.com>
5887
5888 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5889
237b092b
AA
58902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5891
5892 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5893
d674a709
AA
58942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5895
5896 * gdb.trace/entry-values.exp: Remove excess space character from
5897 regex patterns. Handle s390 call instruction.
5898
20fa3390
AA
58992014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5900
5901 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5902 define "*_start" label. Make "name" static.
5903 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5904 ${name} by references to ${name}_start.
5905
78466714
AA
59062014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5907
5908 * gdb.base/info-macros.exp: Remove "debug" from the compile
5909 options.
5910
ec9f644a
IB
59112014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5912
5913 * gdb.dlang/demangle.exp: New file.
5914
94b1b47e
IB
59152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5916
5917 * gdb.dlang/primitive-types.exp: New file.
5918
7f420862
IB
59192014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5920
5921 * configure.ac: Create gdb.dlang/Makefile.
5922 * configure: Regenerate.
5923 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5924 * gdb.dlang/Makefile.in: New file.
5925 * lib/d-support.exp: New file.
5926 * lib/gdb.exp (skip_d_tests): New proc.
5927
52834460
MM
59282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5929
5930 * gdb.btrace/delta.exp: Check reverse stepi.
5931 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5932 * gdb.btrace/finish.exp: New.
5933 * gdb.btrace/next.exp: New.
5934 * gdb.btrace/nexti.exp: New.
5935 * gdb.btrace/record_goto.c: Add comments.
5936 * gdb.btrace/step.exp: New.
5937 * gdb.btrace/stepi.exp: New.
5938 * gdb.btrace/multi-thread-step.c: New.
5939 * gdb.btrace/multi-thread-step.exp: New.
5940 * gdb.btrace/rn-dl-bind.c: New.
5941 * gdb.btrace/rn-dl-bind.exp: New.
5942 * gdb.btrace/data.c: New.
5943 * gdb.btrace/data.exp: New.
5944 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5945
6e07b1d2
MM
59462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5947
5948 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5949 * gdb.btrace/exception.exp: Update.
5950 * gdb.btrace/instruction_history.exp: Update.
5951 * gdb.btrace/record_goto.exp: Update.
5952 * gdb.btrace/tailcall.exp: Update.
5953 * gdb.btrace/unknown_functions.exp: Update.
5954 * gdb.btrace/delta.exp: New.
5955
0b722aec
MM
59562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5957
5958 * gdb.btrace/record_goto.exp: Add backtrace test.
5959 * gdb.btrace/tailcall.exp: Add backtrace test.
5960
066ce621
MM
59612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5962
5963 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5964 * gdb.btrace/record_goto.c: New.
5965 * gdb.btrace/record_goto.exp: New.
5966 * gdb.btrace/x86-record_goto.S: New.
5967
0688d04e
MM
59682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5969
5970 * gdb.btrace/function_call_history.exp: Update tests.
5971 * gdb.btrace/instruction_history.exp: Update tests.
5972
8710b709
MM
59732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5974
5975 * gdb.btrace/function_call_history.exp: Fix expected field
5976 order for "record function-call-history".
5977 Add new tests for "record function-call-history /c".
5978 * gdb.btrace/exception.cc: New.
5979 * gdb.btrace/exception.exp: New.
5980 * gdb.btrace/tailcall.exp: New.
5981 * gdb.btrace/x86-tailcall.S: New.
5982 * gdb.btrace/x86-tailcall.c: New.
5983 * gdb.btrace/unknown_functions.c: New.
5984 * gdb.btrace/unknown_functions.exp: New.
5985 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5986
5de9129b
MM
59872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5988
5989 * gdb.btrace/instruction_history.exp: Update.
5990 * gdb.btrace/function_call_history.exp: Update.
5991
23a7fe75
MM
59922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5993
5994 * gdb.btrace/function_call_history.exp: Fix expected function
5995 trace.
5996 * gdb.btrace/instruction_history.exp: Initialize traced.
5997 Remove traced_functions.
5998
724c7dd8
MM
59992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6000
6001 * gdb.btrace/function_call_history.exp: Update
6002 * gdb.btrace/instruction_history.exp: Update.
6003
6d78d93b
MM
60042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6005
6006 * gdb.btrace/enable.exp: Update expected text.
6007
93a360cc
OJ
60082014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6009
6010 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6011 bytes.
6012
3772b53f
MR
60132014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6014
6015 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6016
596662fa
OJ
60172014-01-15 Omair Javaid <omair.javaid@linaro.org>
6018
6019 * lib/gdb.exp (supports_process_record): Return true for
6020 arm*-linux*. (supports_reverse): Likewise.
6021
b5b08fb4
SC
60222014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6023
6024 PR python/15464
6025 PR python/16113
6026 * gdb.python/py-type.c: Enhance test case.
6027 * gdb.python/py-value-cc.cc: Likewise
6028 * gdb.python/py-type.exp: Add new tests.
6029 * gdb.python/py-value-cc.exp: Likewise
6030
52d7fb13
AA
60312014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6032 Pedro Alves <palves@redhat.com>
6033
6034 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6035 Make "name" extern.
6036 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6037 references to ${name}_start by references to ${name}.
6038
a2cd8cfe
JB
60392014-01-10 Joel Brobecker <brobecker@adacore.com>
6040
6041 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6042
4e23fced
JB
60432014-01-10 Joel Brobecker <brobecker@adacore.com>
6044
6045 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6046
c6a9e42c
PA
60472014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6048 Pedro Alves <palves@redhat.com>
6049
6050 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6051 mi_gdb_target_load.
c6a9e42c 6052
b7ea362b
PA
60532014-01-08 Pedro Alves <palves@redhat.com>
6054
6055 * gdb.threads/reconnect-signal.c: New file.
6056 * gdb.threads/reconnect-signal.exp: New file.
6057
5e3f4fab
EBM
60582014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6059
6060 * gdb.base/source-dir.exp: New file.
6061
79301218
JB
60622014-01-07 Joel Brobecker <brobecker@adacore.com>
6063
6064 * gdb.ada/mi_interface: New testcase.
6065
8e355c5d
JB
60662014-01-07 Joel Brobecker <brobecker@adacore.com>
6067
6068 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6069 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6070 gdb.ada/pp-rec-component/pck.ads: New files.
6071
c0d48811
JB
60722014-01-07 Joel Brobecker <brobecker@adacore.com>
6073
6074 * gdb.python/py-pp-integral.c: New file.
6075 * gdb.python/py-pp-integral.py: New file.
6076 * gdb.python/py-pp-integral.exp: New file.
6077
17b609c3 6078For older changes see ChangeLog-1993-2013.
c906108c 6079\f
8d8cb839
EZ
6080;; Local Variables:
6081;; mode: change-log
6082;; left-margin: 8
6083;; fill-column: 74
6084;; version-control: never
6085;; End:
902f2ccb 6086
32d0add0 6087 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6088 Copying and distribution of this file, with or without modification,
6089 are permitted provided the copyright notice and this notice are preserved.