]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
xtensa: generate PLT entries for call0 ABI
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5382cfab
PW
12015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2
3 * gdb.threads/tls-so_extern.exp: New test file.
4 * gdb.threads/tls-so_extern.c: New test file.
5 * gdb.threads/tls-so_extern_main.c: New test file.
6
141c5cc4
JK
72015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8
9 * gdb.opt/solib-intra-step-lib.c: New file.
10 * gdb.opt/solib-intra-step-main.c: New file.
11 * gdb.opt/solib-intra-step.exp: New file.
12
d15dcecd
PA
132015-09-15 Pedro Alves <palves@redhat.com>
14
15 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17
4c2f2a79
PA
182015-09-14 Pedro Alves <palves@redhat.com>
19
20 * gdb.base/hook-stop-continue.c: Delete.
21 * gdb.base/hook-stop-continue.exp: Delete.
22 * gdb.base/hook-stop-frame.c: Delete.
23 * gdb.base/hook-stop-frame.exp: Delete.
24 * gdb.base/hook-stop.c: New file.
25 * gdb.base/hook-stop.exp: New file.
26
919e6dbe
PMR
272015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
28
29 * gdb.ada/access_to_packed_array.exp: New testcase.
30 * gdb.ada/access_to_packed_array/foo.adb: New file.
31 * gdb.ada/access_to_packed_array/pack.adb: New file.
32 * gdb.ada/access_to_packed_array/pack.ads: New file.
33
157280a4
MM
342015-09-14 Markus Metzger <markus.t.metzger@intel.com>
35
36 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
37 buffer size test.
38
2fd33e94
DB
392015-09-11 Don Breazeal <donb@codesourcery.com>
40
41 * gdb.base/foll-exec.c: Add copyright header. Fix
42 formatting issues.
43 * gdb.base/foll-exec.exp (zap_session): Delete proc.
44 (do_exec_tests): Use clean_restart in place of zap_session,
45 and for test initialization. Fix formatting issues. Use
46 fail in place of perror.
47 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
48 an expect statement to match an expression with output from
49 the program under debug.
50 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
51 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
52 * gdb.threads/non-ldr-exc-2.exp: Likewise.
53 * gdb.threads/non-ldr-exc-3.exp: Likewise.
54 * gdb.threads/non-ldr-exc-4.exp: Likewise.
55
e70b6e8e
DE
562015-09-09 Doug Evans <dje@google.com>
57
58 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
59
7a551a51
DE
602015-09-09 Doug Evans <dje@google.com>
61
62 * gdb.base/pie-execl.exp: Fix result test of build_executable.
63
4c666f84
DE
642015-09-09 Doug Evans <dje@google.com>
65
66 * gdb.base/savedregs.exp: Fix typo.
67
243a9253
PA
682015-09-09 Pedro Alves <palves@redhat.com>
69
70 * gdb.mi/mi-cli.exp: Add CLI finish tests.
71
c0fa8fbd
SL
722015-09-08 Sandra Loosemore <sandra@codesourcery.com>
73
74 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
75 command actually switches threads. Give up on remaining
76 tests if target fails to stop at breakpoint.
77
cd7c1778
PMR
782015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
79
80 * gdb.ada/funcall_char.exp: New testcase.
81 * gdb.ada/funcall_char/foo.adb: New file.
82
dc5c8746
PMR
832015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
84
85 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
86 expected outputs. Add two testcases for completing ambiguous
87 functions.
88 * gdb.ada/complete/aux_pck.adb: New file.
89 * gdb.ada/complete/aux_pck.ads: New file.
90 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
91 Ambiguous_Func functions.
92 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
93 * gdb.ada/complete/pck.adb: Likewise.
94
4e83a1e7
UW
952015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
96
97 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
98 failures to run the test program under GDB.
99
8ce74153
LM
1002015-08-26 Luis Machado <lgustavo@codesourcery.com>
101
102 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
103 to C.
104
e9756d52
PP
1052015-08-26 Patrick Palka <patrick@parcs.ath.cx>
106
107 * gdb.base/run-after-attach.exp: New test file.
108 * gdb.base/run-after-attach.c: New test file.
109
8d37573b
DB
1102015-08-26 Don Breazeal <donb@codesourcery.com>
111
112 * gdb.base/foll-exec-2.c: New test program.
113 * gdb.base/foll-exec-2.exp: New test.
114
63e43d3a
PMR
1152015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
116
117 * gdb.base/nested-subp1.exp: New file.
118 * gdb.base/nested-subp1.c: New file.
119 * gdb.base/nested-subp2.exp: New file.
120 * gdb.base/nested-subp2.c: New file.
121 * gdb.base/nested-subp3.exp: New file.
122 * gdb.base/nested-subp3.c: New file.
123
3d40fbb5
PA
1242015-08-24 Pedro Alves <palves@redhat.com>
125
126 * gdb.server/connect-without-multi-process.c: New file.
127 * gdb.server/connect-without-multi-process.exp: New file.
128
4422ac93
LM
1292015-08-24 Luis Machado <lgustavo@codesourcery.com>
130
131 * gdb.opt/inline-markers.c: Make z int.
132
91dddb86
LM
1332015-08-24 Luis Machado <lgustavo@codesourcery.com>
134
135 * gdb.opt/inline-markers.c: Make z volatile.
136
a48847ee
LM
1372015-08-24 Luis Machado <lgustavo@codesourcery.com>
138
139 * gdb.opt/inline-bt.c: New volatile global z.
140 * gdb.opt/inline-cmds.c: Likewise.
141 * gdb.opt/inline-locals.c: Likewise.
142 * gdb.opt/inline-markers.c: New extern global z.
143 (marker): Use z.
144 (inline_fn): Likewise.
145
0ebbc52b
PA
1462015-08-24 Pedro Alves <palves@redhat.com>
147
148 * config/m32r-stub.exp: Remove file.
149 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
150 * gdb.base/call-rt-st.exp: Likewise.
151 * gdb.base/call-strs.exp: Likewise.
152 * gdb.base/default.exp: Remove references to h8300-*-hms and
153 *-*-udi*.
154 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
155
77c365df
AA
1562015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
157
158 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
159 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
160 and "return" use KFAIL when GDB can not read/write the vector
161 return value.
162
4313b8c0
GB
1632015-08-21 Gary Benson <gbenson@redhat.com>
164
165 * gdb.trace/pending.exp: Cope with remote transfer warnings.
166
0e433b32
PA
1672015-08-20 Pedro Alves <palves@redhat.com>
168
169 * gdb.server/solib-list.exp: No longer expect an interior stop in
170 non-stop mode.
171
221e1a37
PA
1722015-08-20 Pedro Alves <palves@redhat.com>
173
174 * gdb.server/connect-stopped-target.c: New file.
175 * gdb.server/connect-stopped-target.exp: New file.
176
40e3ad0e
PA
1772015-08-20 Pedro Alves <palves@redhat.com>
178
179 * gdb.dwarf2/comp-unit-lang.exp: New file.
180 * gdb.dwarf2/comp-unit-lang.c: New file.
181
af39b327
PMR
1822015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
183
184 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
185 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
186
7d45c7c3
KB
1872015-08-19 Kevin Buettner <kevinb@redhat.com>
188
189 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
190 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
191
4d6cceb4
DE
1922015-08-18 Doug Evans <dje@google.com>
193 Adrian Sendroiu <adrian.sendroiu@freescale.com>
194
195 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
196 skip_python_tests. New arg prompt_regexp.
197 (skip_python_tests): New function.
198 * lib/mi-support.exp (mi_skip_python_tests): New function.
199 * gdb.python/py-mi-objfile-gdb.py: New file.
200 * gdb.python/py-mi-objfile.c: New file.
201 * gdb.python/py-mi-objfile.exp: New file.
202
ad89c2aa
KS
2032015-08-17 Keith Seitz <keiths@redhat.com>
204
205 * gdb.linespec/explicit.exp: Move strace test from here ...
206 * gdb.trace/strace.exp: ... to here.
207
e3ae3c43
PP
2082015-08-15 Patrick Palka <patrick@parcs.ath.cx>
209
210 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
211 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
212
604b2636
DE
2132015-08-14 Doug Evans <xdje42@gmail.com>
214
215 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
216 inferior before selecting a new file.
217
6ff0ba5f
DE
2182015-08-14 Doug Evans <xdje42@gmail.com>
219
220 * gdb.mi/mi-disassemble.exp: Update.
221 * gdb.base/disasm-optim.S: New file.
222 * gdb.base/disasm-optim.c: New file.
223 * gdb.base/disasm-optim.h: New file.
224 * gdb.base/disasm-optim.exp: New file.
225
9ca98f92
KS
2262015-08-14 Keith Seitz <keiths@redhat.com>
227
228 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
229 "evaluated-by".
230
52bbc560
JB
2312015-08-13 Joel Brobecker <brobecker@adacore.com>
232
233 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
234
5d8c3ed3
PMR
2352015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
236
237 * gdb.ada/fun_renaming.exp: New testcase.
238 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
239 * gdb.ada/fun_renaming/pack.adb: New file.
240 * gdb.ada/fun_renaming/pack.ads: New file.
241
ea8812bc
KS
2422015-08-12 Keith Seitz <keiths@redhat.com>
243
244 * gdb.base/dso2dso.exp: Pass basename of source file in call to
245 gdb_get_line_number.
246
4dafcdeb
JB
2472015-08-12 Joel Brobecker <brobecker@adacore.com>
248
249 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
250 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
251 gdb.base/dso2dso.exp: New files.
252
5ba32597
SDJ
2532015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
254 Pedro Alves <palves@redhat.com>
255 Keith Seitz <keiths@redhat.com>
256
257 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
258 GDBFLAGS.
259
b6dafabf
PP
2602015-08-12 Patrick Palka <patrick@parcs.ath.cx>
261
262 * gdb.base/gdbhistsize-history.exp
263 (test_histsize_history_setting): Use save_vars.
264 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
265 Use save_vars.
266 (test_no_truncation_of_unlimited_history_file): Use save_vars.
267 * gdb.base/readline.exp: Use save_vars.
268
abe8e607
PP
2692015-08-12 Patrick Palka <patrick@parcs.ath.cx>
270
271 * lib/gdb.exp (save_vars): New proc.
272
629500fa
KS
2732015-08-11 Keith Seitz <keiths@redhat.com>
274
275 * gdb.base/help.exp: Update help_breakpoint_text.
276
eb8c4e2e
KS
2772015-08-11 Keith Seitz <keiths@redhat.com>
278
279 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
280 (at toplevel): Call test_explicit_breakpoints.
281 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
282 breakpoints.
283 * lib/mi-support.exp (mi_make_breakpoint): Add support for
284 breakpoint conditions, "-cond".
285
87f0e720
KS
2862015-08-11 Keith Seitz <keiths@redhat.com>
287
288 * gdb.linespec/3explicit.c: New file.
289 * gdb.linespec/cpexplicit.cc: New file.
290 * gdb.linespec/cpexplicit.exp: New file.
291 * gdb.linespec/explicit.c: New file.
292 * gdb.linespec/explicit.exp: New file.
293 * gdb.linespec/explicit2.c: New file.
294 * gdb.linespec/ls-errs.exp: Add explicit location tests.
295 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
296 before using in the matching pattern.
297 Clarify that `prefix' is a regular expression.
298
f00aae0f
KS
2992015-08-11 Keith Seitz <keiths@redhat.com>
300
301 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
302 test.
303 Add tests for missing ",FMT" and ",".
304
e27852be
DE
3052015-08-10 Doug Evans <dje@google.com>
306 Keith Seitz <keiths@redhat.com>
307
308 PR gdb/17960
309 * gdb.base/completion.exp: Add location completer tests.
310
7f03bd92
PA
3112015-08-07 Pedro Alves <palves@redhat.com>
312
313 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
314 tests here.
315 (top level): Run do_test with and without displaced stepping.
316
3fc8eb30
PA
3172015-08-07 Pedro Alves <palves@redhat.com>
318
319 * gdb.base/valgrind-disp-step.c: New file.
320 * gdb.base/valgrind-disp-step.exp: New file.
321
d4569d7b
PA
3222015-08-07 Pedro Alves <palves@redhat.com>
323
324 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
325 Delete function.
326 (main): Add alarm. Run an infinite loop instead of calling
327 wait_threads.
328 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
329 comment.
330 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
331 Delete function.
332 (main): Add alarm. Run an infinite loop instead of calling
333 wait_threads.
334 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
335 comment.
336
e1316e60
PA
3372015-08-07 Pedro Alves <palves@redhat.com>
338
339 * gdb.base/checkpoint-ns.exp: New file.
340 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
341 standard_testfile.
342
da8c46d2
MM
3432015-08-07 Markus Metzger <markus.t.metzger@intel.com>
344
345 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
346 * gdb.btrace/instruction_history.exp: Update.
347 * gdb.btrace/tsx.exp: New.
348 * gdb.btrace/tsx.c: New.
349
de1c2c52
PA
3502015-08-06 Pedro Alves <palves@redhat.com>
351
352 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
353 increase timeout.
354 * gdb.reverse/until-precsave.exp: Bump timeouts.
355
782e0bf4
PA
3562015-08-06 Pedro Alves <palves@redhat.com>
357
358 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
359
83e97ed0
PA
3602015-08-06 Pedro Alves <palves@redhat.com>
361
362 PR gdb/18749
363 * gdb.threads/process-dies-while-handling-bp.c: New file.
364 * gdb.threads/process-dies-while-handling-bp.exp: New file.
365
863d01bd
PA
3662015-08-06 Pedro Alves <palves@redhat.com>
367
368 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
369 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
370
0a39bb32
PA
3712015-08-05 Pedro Alves <palves@redhat.com>
372
373 * gdb.threads/next-while-other-thread-longjmps.c: New file.
374 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
375
ee2d2b10
SL
3762015-08-03 Sandra Loosemore <sandra@codesourcery.com>
377
378 * gdb.base/bp-permanent.exp: Report test as unsupported if
379 the target cannot stop at the permanent breakpoint.
380
4e1bdb00
DE
3812015-08-03 Doug Evans <dje@google.com>
382
383 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
384 10000.
385
3d338901
DE
3862015-08-03 Doug Evans <dje@google.com>
387
388 * Makefile.in (workers/%.worker, build-perf): New rule.
389 (GDB_PERFTEST_MODE): New variable.
390 (check-perf): Use it.
391 (clean): Clean up gdb.perf parallel build subdirs.
392 * lib/build-piece.exp: New file.
393 * lib/gdb.exp (make_gdb_parallel_path): New function
394 (standard_output_file, standard_temp_file): Call it.
395 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
396 of $GDB_PARALLEL.
397 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
398
af061d3e
DE
3992015-08-03 Doug Evans <dje@google.com>
400
8e1afc81 401 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
402 (LOG_FILE_NAME): New global.
403 (TextReporter.__init__): Initialize self.txt_sum.
404 (TextReporter.report): Add support for multiple data-points.
405 Move report to perftest.sum, put raw data in perftest.log.
406 (TextReporter.start): Open sum and log files.
407 (TextReporter.end): Close sum and log files.
8e1afc81
DE
408 * gdb.perf/lib/perftest/testresult.py
409 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 410
2c8c5d37
PA
4112015-07-31 Pedro Alves <palves@redhat.com>
412
413 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
414 Use spawn_id_get_pid. Wait for spawn id after eof. Use
415 kill_wait_spawned_process instead of explicit "kill -9".
416 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
417 returning a spawn id instead of a pid. Use spawn_id_get_pid and
418 kill_wait_spawned_process.
419 * gdb.base/attach-twice.exp: Likewise.
420 * gdb.base/attach.exp: Likewise.
421 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
422 gdb_test_multiple.
423 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
424 returning a spawn id instead of a pid. Use spawn_id_get_pid and
425 kill_wait_spawned_process.
426 * gdb.base/valgrind-infcall.exp: Likewise.
427 * gdb.multi/multi-attach.exp: Likewise.
428 * gdb.python/py-prompt.exp: Likewise.
429 * gdb.python/py-sync-interp.exp: Likewise.
430 * gdb.server/ext-attach.exp: Likewise.
431 * gdb.threads/attach-into-signal.exp (corefunc): Use
432 spawn_wait_for_attach, spawn_id_get_pid and
433 kill_wait_spawned_process.
434 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
435 spawn_wait_for_attach returning a spawn id instead of a pid. Use
436 spawn_id_get_pid and kill_wait_spawned_process.
437 * gdb.threads/attach-stopped.exp (corefunc): Use
438 spawn_wait_for_attach, spawn_id_get_pid and
439 kill_wait_spawned_process.
440 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
441 Use spawn_id_get_pid. Wait for spawn id after eof. Use
442 kill_wait_spawned_process instead of explicit "kill -9".
443 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
444 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
445 (spawn_wait_for_attach): Use spawn instead of exec to spawn
446 processes. Don't map cygwin/windows pids here. Now returns a
447 spawn id list.
448
032a0fca
SL
4492015-07-30 Sandra Loosemore <sandra@codesourcery.com>
450
451 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
452 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
453 correct patch.
454
61a934ca
SL
4552015-07-30 Sandra Loosemore <sandra@codesourcery.com>
456
457 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
458
4bc4d428
SL
4592015-07-30 Sandra Loosemore <sandra@codesourcery.com>
460
461 Reapply:
462 2014-05-21 Mark Wielaard <mjw@redhat.com>
463
464 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
465
998d452a
PA
4662015-07-30 Pedro Alves <palves@redhat.com>
467
468 * linux-low.c (handle_extended_wait): Set the child's last
469 reported status to TARGET_WAITKIND_STOPPED.
470
69dde7dc
PA
4712015-07-30 Pedro Alves <palves@redhat.com>
472
473 PR threads/18600
474 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
475 only shows inferior 1.
476
4dd63d48
PA
4772015-07-30 Simon Marchi <simon.marchi@ericsson.com>
478 Pedro Alves <palves@redhat.com>
479
480 PR threads/18600
481 * gdb.threads/fork-plus-threads.c: New file.
482 * gdb.threads/fork-plus-threads.exp: New file.
483
d618e4c5
PP
4842015-07-29 Patrick Palka <patrick@parcs.ath.cx>
485
486 * gdb.base/batch-preserve-term-settings.exp
487 (test_terminal_settings_preserved_after_cli_exit): Use
488 send_quit_command.
489
1eef6428
PA
4902015-07-29 Pedro Alves <palves@redhat.com>
491 Don Breazeal <donb@codesourcery.com>
492
493 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
494 output from both inferior_spawn_id and gdb_spawn_id.
495
7da5b897
SDJ
4962015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
497
498 * gdb.threads/attach-into-signal.exp (corefunc): Use
499 with_test_prefix on nested loops, uniquefying the test messages.
500
dac804df
SDJ
5012015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
502
503 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
504 commit.
505
06265e53
PP
5062015-07-29 Patrick Palka <patrick@parcs.ath.cx>
507
508 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
509 New proc.
510 (test_terminal_settings_preserved_after_sigterm): New test.
511
18206ca3
PP
5122015-07-29 Patrick Palka <patrick@parcs.ath.cx>
513
514 * gdb.base/batch-preserve-term-settings.exp
515 (test_terminal_settings_preserved_after_cli_exit): New test.
516
90074d11
PP
5172015-07-29 Patrick Palka <patrick@parcs.ath.cx>
518
519 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
520 manipulation of saved_gdbflags.
521 (test_terminal_settings_preserved): Remove global declaration of
522 the unused variable pagination_prompt. Remove manipulation of
523 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
524 GDBFLAGS.
525
eb1a7902
PA
5262015-07-29 Pedro Alves <palves@redhat.com>
527
528 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
529
8b75dd3b
PA
5302015-07-29 Pedro Alves <palves@redhat.com>
531
532 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
533 at the top.
534
dedad4e3
PA
5352015-07-29 Pedro Alves <palves@redhat.com>
536
537 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
538 (main): Call gdb_unbuffer_output.
539 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
540 (main): Call gdb_unbuffer_output.
541 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
542 (main): Call gdb_unbuffer_output.
543 * gdb.base/call-strs.exp: Adjust to step over the
544 gdb_unbuffer_output call.
545 * gdb.base/catch-gdb-caused-signals.c: Include
546 "../lib/unbuffer_output.c".
547 (main): Call gdb_unbuffer_output.
548 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
549 (main): Call gdb_unbuffer_output.
550 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
551 (main): Call gdb_unbuffer_output.
552 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
553 (main): Call gdb_unbuffer_output.
554 * gdb.base/shlib-call.exp: Adjust to step over the
555 gdb_unbuffer_output call.
556 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
557 (main): Call gdb_unbuffer_output.
558 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
559 (main): Call gdb_unbuffer_output.
560 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
561 (main): Rename to ...
562 (test): ... this.
563 (main): Reimplement.
564 * gdb.base/varargs.exp: Run to test instead of to main.
565 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
566 (main): Call gdb_unbuffer_output.
567
58789a91
PA
5682015-07-29 Pedro Alves <palves@redhat.com>
569
570 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
571 factore out from mi_continue_dprintf. For call-style dprintfs,
572 expect dprintf output out of $inferior_spawn_id.
573 (mi_continue_dprintf): Use mi_expect_dprintf.
574 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
575 (main): Call gdb_unbuffer_output.
576
e8376742
PA
5772015-07-29 Pedro Alves <palves@redhat.com>
578
579 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
580 (default_mi_gdb_start): Set inferior_spawn_id instead of
581 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
582 gdb_spawn_id.
583 (mi_gdb_test): Always expect inferior output from both
584 $inferior_spawn_id and $gdb_spawn_id.
585
08280010
PA
5862015-07-29 Pedro Alves <palves@redhat.com>
587
588 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
589 send_inferior and $inferior_spawn_id.
590
4d30e432
PA
5912015-07-29 Pedro Alves <palves@redhat.com>
592
593 * gdb.gdb/complaints.exp (test_initial_complaints)
594 (test_serial_complaints, test_short_complaints): Use
595 gdb_test_stdio.
596 (test_empty_complaint): Handle $inferior_spawn_id !=
597 $gdb_spawn_id.
598
0d30a335
PA
5992015-07-29 Pedro Alves <palves@redhat.com>
600
601 * gdb.base/varargs.exp: Use gdb_test_stdio.
602
39413b29
PA
6032015-07-29 Pedro Alves <palves@redhat.com>
604
605 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
606
7cb000a9
PA
6072015-07-29 Pedro Alves <palves@redhat.com>
608
609 * gdb.base/ending-run.exp: Use gdb_test_stdio.
610
d7b8ac82
PA
6112015-07-29 Pedro Alves <palves@redhat.com>
612
613 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
614 parameter into two new parameters, "inf_result" and "gdb_result".
615 Expect inferior output and gdb output from $inferior_spawn_id and
616 $gdb_spawn_id, respectively. Adjust all callers.
617
789c3a0c
PA
6182015-07-29 Pedro Alves <palves@redhat.com>
619
620 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
621 of gdb_test_sequence.
622
77e760c3
PA
6232015-07-29 Pedro Alves <palves@redhat.com>
624
625 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
626 (saw_spurious_output): Expect inferior output from
627 $inferior_spawn_id. Use gdb_test_stdio.
628
8396d2cd
PA
6292015-07-29 Pedro Alves <palves@redhat.com>
630
631 * gdb.base/dprintf.exp: Use standard_testfile. Change
632 prepare_for_testing call.
633 (srcfile): Don't set.
634 (restart): New procedure.
635 (test_dprintf): New procecure, use to continue over dprintfs.
636 (test_call, test_agent): New procedures, tests moved here.
637 Restart gdb and recreate dprintfs. Adjust expected output.
638
2051d61f
PA
6392015-07-29 Pedro Alves <palves@redhat.com>
640
641 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
642
452397af
PA
6432015-07-29 Pedro Alves <palves@redhat.com>
644
645 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
646
8aed9555
PA
6472015-07-29 Pedro Alves <palves@redhat.com>
648
649 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
650 gdb_test_stdio.
651
188a61b4
PA
6522015-07-29 Pedro Alves <palves@redhat.com>
653
654 * lib/gdb.exp (gdb_test_stdio): New procedure.
655
12264a45
PA
6562015-07-29 Pedro Alves <palves@redhat.com>
657
658 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
659
23ffc893
PA
6602015-07-29 Pedro Alves <palves@redhat.com>
661
662 * gdb.base/call-signal-resume.exp: Remove check for
663 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
664 * gdb.base/unwindonsignal.exp: Likewise.
665 * gdb.base/call-signals.c (gen_signal): Remove printf call.
666 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
667
65566918
PA
6682015-07-29 Pedro Alves <palves@redhat.com>
669
670 * gdb.base/siginfo-addr.c (pass): New function.
671 (handler): Call it iff si_addr is correct.
672 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
673 Set a breakpoint at "pass" and continue to it.
674
d60a9221
SDJ
6752015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
676
677 * gdb.python/py-objfile.exp: Make some tests have unique names.
678 * gdb.python/py-pp-registration.exp: Likewise.
679
bde40b8f
PA
6802015-07-28 Pedro Alves <palves@redhat.com>
681
682 * gdb.server/server-exec-info.exp: Issue a "disconnect".
683
13e1dec8
SM
6842015-07-27 Simon Marchi <simon.marchi@ericsson.com>
685
686 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
687
da33c9a7
SM
6882015-07-27 Simon Marchi <simon.marchi@ericsson.com>
689
690 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
691
077836f7
PP
6922015-07-27 Patrick Palka <patrick@parcs.ath.cx>
693
694 * gdb.base/gdb-sigterm-2.exp: New test.
695
b8cc7b2e
DE
6962015-07-25 Doug Evans <xdje42@gmail.com>
697
698 Revert:
699 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
700 (workers/%.worker, build-perf): New rule.
701 (GDB_PERFTEST_MODE): New variable.
702 (check-perf): Use it.
703 (clean): Clean up gdb.perf parallel build subdirs.
704 * lib/build-piece.exp: New file.
705 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
706 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
707 name.
708 (standard_temp_file): Ditto.
709 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
710 of $GDB_PARALLEL.
711
c8bd4544
DE
7122015-07-24 Doug Evans <dje@google.com>
713
714 * gdb.perf/lib/perftest/utils.py: New file.
715 * gdb.perf/gm-hello.cc: New file.
716 * gdb.perf/gm-pervasive-typedef.cc: New file.
717 * gdb.perf/gm-pervasive-typedef.h: New file.
718 * gdb.perf/gm-std.cc: New file.
719 * gdb.perf/gm-std.h: New file.
720 * gdb.perf/gm-use-cerr.cc: New file.
721 * gdb.perf/gm-utils.h: New file.
722 * gdb.perf/gmonster-null-lookup.py: New file.
723 * gdb.perf/gmonster-pervasive-typedef.py: New file.
724 * gdb.perf/gmonster-print-cerr.py: New file.
725 * gdb.perf/gmonster-ptype-string.py: New file.
726 * gdb.perf/gmonster-runto-main.py: New file.
727 * gdb.perf/gmonster-select-file.py: New file.
728 * gdb.perf/gmonster1-null-lookup.exp: New file.
729 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
730 * gdb.perf/gmonster1-print-cerr.exp: New file.
731 * gdb.perf/gmonster1-ptype-string.exp: New file.
732 * gdb.perf/gmonster1-runto-main.exp: New file.
733 * gdb.perf/gmonster1-select-file.exp: New file.
734 * gdb.perf/gmonster1.cc: New file.
735 * gdb.perf/gmonster1.exp: New file.
736 * gdb.perf/gmonster2-null-lookup.exp: New file.
737 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
738 * gdb.perf/gmonster2-print-cerr.exp: New file.
739 * gdb.perf/gmonster2-ptype-string.exp: New file.
740 * gdb.perf/gmonster2-runto-main.exp: New file.
741 * gdb.perf/gmonster2-select-file.exp: New file.
742 * gdb.perf/gmonster2.cc: New file.
743 * gdb.perf/gmonster2.exp: New file.
744
6eab34f3
DE
7452015-07-24 Doug Evans <dje@google.com>
746
747 * gdb.perf/README: New file.
748 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
749 * lib/gen-perf-test.exp: New file.
750
63738bfd
DE
7512015-07-24 Doug Evans <dje@google.com>
752
753 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
754 (PerfTest::startup): New function.
755 (PerfTest::run): Return result of calling body.
756 (PerfTest::assemble): Rewrite.
757 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
758 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
759 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
760 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
761 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
762
7b606f95
DE
7632015-07-24 Doug Evans <dje@google.com>
764
765 * lib/gdb.exp (clean_restart): Make executable optional.
766
a97b16b8
DE
7672015-07-24 Doug Evans <dje@google.com>
768
769 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
770 compiler_info references.
771 * gdb.cp/temargs.exp: Ditto.
772 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
773 (get_compiler_info): Early exit if already computed. Set compiler_info
774 to "unknown" if there was a problem.
775 (test_compiler_info): Add function comment. Call get_compiler_info.
776
35baa57f
DE
7772015-07-24 Doug Evans <dje@google.com>
778
779 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
780 (workers/%.worker, build-perf): New rule.
781 (GDB_PERFTEST_MODE): New variable.
782 (check-perf): Use it.
783 (clean): Clean up gdb.perf parallel build subdirs.
784 * lib/build-piece.exp: New file.
785 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
786 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
787 name.
788 (standard_temp_file): Ditto.
789 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
790 of $GDB_PARALLEL.
791
6ebea266
DE
7922015-07-24 Doug Evans <dje@google.com>
793
794 * lib/future.exp (gdb_default_target_compile): New option
795 "early_flags".
796 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
797 --as-needed.
798
1e76a7e9
SDJ
7992015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
800
801 * gdb.base/catch-syscall.exp: Call gdb_exit before
802 gdb_skip_xml_test.
803
5068630a
PA
8042015-07-24 Pedro Alves <palves@redhat.com>
805
806 * gdb.python/py-events.exp: Accept output between the stop event
807 and the prompt.
808 * gdb.python/py-evsignal.exp: Likewise.
809 * gdb.python/py-evthreads.exp: Likewise.
810
77598427
PA
8112015-07-24 Pedro Alves <palves@redhat.com>
812
813 PR gdb/18717
814 * gdb.threads/non-ldr-exit.c: New file.
815 * gdb.threads/non-ldr-exit.exp: New file.
816
11e6c98f
YQ
8172015-07-24 Yao Qi <yao.qi@linaro.org>
818
819 * gdb.server/ext-wrapper.exp: Test --wrapper option when
820 restarting process.
821
51aee833
YQ
8222015-07-24 Yao Qi <yao.qi@linaro.org>
823
824 * gdb.server/ext-restart.exp: New file.
825
8cfe207c
YQ
8262015-07-24 Yao Qi <yao.qi@linaro.org>
827
828 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
829 argument options.
830 * gdb.server/ext-wrapper.exp: New file.
831
cc12ce38
DE
8322015-07-23 Doug Evans <dje@google.com>
833
834 * gdb.dwarf2/dw2-dummy-cu.S: New file.
835 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
836
d0d84780
PMR
8372015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
838
839 * gdb.ada/var_arr_typedef.exp: New testcase.
840 * gdb.ada/var_arr_typedef/pack.adb: New file.
841 * gdb.ada/var_arr_typedef/pack.ads: New file.
842 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
843
8b558f79
JB
8442015-07-20 Joel Brobecker <brobecker@adacore.com>
845
846 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
847
775a3298
JK
8482015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
849
850 * gdb.arch/i386-biarch-core.exp: Replace istarget
851 by "complete set gnutarget". Remove expectation for the "core-file"
852 command.
853
db1ff28b
JK
8542015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
855
856 Revert the previous commit:
857 Tests for validate symbol file using build-id.
858
0a94970d
JK
8592015-07-15 Aleksandar Ristovski <aristovski@qnx.com
860
861 Tests for validate symbol file using build-id.
862 * gdb.base/solib-mismatch-lib.c: New file.
863 * gdb.base/solib-mismatch-libmod.c: New file.
864 * gdb.base/solib-mismatch.c: New file.
865 * gdb.base/solib-mismatch.exp: New file.
866
03346981
SL
8672015-07-15 Sandra Loosemore <sandra@codesourcery.com>
868
869 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
870 nios2-*-linux*.
871 * gdb.base/sigbpt.exp (stepi_out): Likewise.
872 * gdb.base/siginfo.exp: Likewise.
873 * gdb.base/sigstep.exp (advance, advancei): Likewise.
874
42422cc7
PL
8752015-07-15 Pierre Langlois <pierre.langlois@arm.com>
876
877 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
878 Move it to ...
879 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
880 ... here.
881 * gdb.trace/range-stepping.exp: Check that the target supports
882 range stepping.
883
cfa68bae
JK
8842015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
885
886 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
887
8ffdba26
PA
8882015-07-14 Pedro Alves <palves@redhat.com>
889
890 * gdb.base/killed-outside.exp: New file.
891 * gdb.base/killed-outside.c: New file.
892
218a5a11
JK
8932015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
894
895 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
896 (n at main): New.
897 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
898
e03ed3c6
AA
8992015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
900
901 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
902 infcall tests instead of setting up for KFAIL.
903
485668e5
MM
9042015-07-10 Markus Metzger <markus.t.metzger@intel.com>
905
906 * gdb.btrace/record_goto-step.exp: New.
907
08464196
JK
9082015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
909
910 PR compile/18484
911 * gdb.compile/compile.c (struct struct_type): Add volatile to
912 selffield's type.
913 * gdb.compile/compile.exp
914 (compile code struct_object.selffield = &struct_object): Skip further
915 struct_object tests if this one xfails.
916
bcf5c1d9
RC
9172015-07-08 Robert O'Callahan <robert@ocallahan.org>
918
919 PR exp/18617
920 * gdb.trace/ax.exp: Add test.
921
4931af25
YQ
9222015-07-07 Yao Qi <yao.qi@linaro.org>
923
924 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
925 instead of istarget "aarch64*-*-*".
926 * gdb.arch/aarch64-fp.exp: Likewise.
927 * gdb.base/float.exp: Likewise.
928 * gdb.reverse/aarch64.exp: Likewise.
929 * lib/gdb.exp (is_aarch64_target): New proc.
930
9fcf688e
YQ
9312015-07-07 Yao Qi <yao.qi@linaro.org>
932
933 * lib/gdb.exp (is_aarch32_target): New proc.
934 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
935 instead of "istarget "arm*-*-*"".
936 * gdb.arch/arm-disp-step.exp: Likewise.
937 * gdb.arch/thumb-bx-pc.exp: Likewise.
938 * gdb.arch/thumb-prologue.exp: Likewise.
939 * gdb.arch/thumb-singlestep.exp: Likewise.
940 * gdb.base/disp-step-syscall.exp: Likewise.
941 * gdb.base/float.exp: Likewise.
942
fbd8d50d
YQ
9432015-07-07 Yao Qi <yao.qi@linaro.org>
944
945 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
946 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
947
71be1fdc
YQ
9482015-07-07 Yao Qi <yao.qi@linaro.org>
949
950 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
951 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
952 if it exists.
953 * gdb.multi/multi-arch.exp: Likewise.
954
3e221d36
SM
9552015-07-07 Simon Marchi <simon.marchi@ericsson.com>
956
957 * gdb.python/py-lazy-string.exp: Add missing parentheses to
958 print.
959
d441430b
YQ
9602015-07-07 Yao Qi <yao.qi@linaro.org>
961
962 * gdb.arch/thumb-singlestep.exp: Do one more single step.
963
06f810bd
MG
9642015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
965
966 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
967 '[' and ']' characters.
968
5e61e7c0
IB
9692015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
970
971 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
972
28bf096c
PA
9732015-06-29 Pedro Alves <palves@redhat.com>
974
975 PR threads/18127
976 * gdb.threads/hand-call-new-thread.c: New file.
977 * gdb.threads/hand-call-new-thread.c: New file.
978
ee93cd5e
KS
9792015-06-26 Keith Seitz <keiths@redhat.com>
980 Doug Evans <dje@google.com>
981
982 PR 16253
983 * gdb.cp/var-tag-2.cc: New file.
984 * gdb.cp/var-tag-3.cc: New file.
985 * gdb.cp/var-tag-4.cc: New file.
986 * gdb.cp/var-tag.cc: New file.
987 * gdb.cp/var-tag.exp: New file.
988
fc637f04
PP
9892015-06-26 Patrick Palka <patrick@parcs.ath.cx>
990
991 * gdb.base/history-duplicates.exp: New test.
992
2e52ae68
PP
9932015-06-26 Patrick Palka <patrick@parcs.ath.cx>
994
995 * gdb.base/completion.exp: Test the completion of the "focus"
996 command.
997
6e22494e
JK
9982015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
999
1000 * gdb.arch/amd64-prologue-skip.S: New file.
1001 * gdb.arch/amd64-prologue-skip.exp: New file.
1002
bf7b9cd9
SM
10032015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1004
1005 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1006 is_address_zero_readable check.
1007
201e8dfd
PB
10082015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1009
1010 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1011 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1012
5cd867b4
YQ
10132015-06-24 Yao Qi <yao.qi@linaro.org>
1014
1015 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1016 linux targets.
1017
4d7be007
YQ
10182015-06-24 Yao Qi <yao.qi@linaro.org>
1019
1020 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1021 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1022 * gdb.base/siginfo-thread.exp: Likewise.
1023
07fcd301
YQ
10242015-06-22 Yao Qi <yao.qi@linaro.org>
1025
1026 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1027
52042a00
YQ
10282015-06-22 Yao Qi <yao.qi@linaro.org>
1029
1030 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1031 aarch64*-*-*.
1032 (skip_hw_watchpoint_tests): Likewise.
1033
74bd41ce
PP
10342015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1035
1036 * gdb.base/gdbinit-history.exp: Test the interaction between
1037 setting GDBHISTSIZE and setting the history size via .gdbinit.
1038
bc460514
PP
10392015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1040
1041 PR gdb/16999
1042 * gdb.base/gdbhistsize-history.exp: New test.
1043
b58c513b
PP
10442015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1045
1046 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1047 with GDBHISTSIZE.
1048 * gdb.base/readline.exp: Likewise.
1049
92046791
YQ
10502015-06-17 Yao Qi <yao.qi@linaro.org>
1051
1052 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1053 line.
1054
2093d2d3
PP
10552015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1056
1057 * gdb.base/gdbinit-history.exp: Add test case to check that
1058 an unlimited history file does not get truncated on exit.
1059
e6c693af
AA
10602015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1061
1062 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1063 (VECTOR): New macro. Use it...
1064 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1065 ...for these typedefs.
1066 (int8, char1, int1, double1): New typedefs.
1067 (struct just_int2, struct two_int2): New structures.
1068 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1069 (add_structvecs, add_singlevecs): New functions.
1070 (main): Call add_some_intvecs twice.
1071 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1072 the compile and exit upon failure. Try compiling for the "native"
1073 architecture. Test inferior function calls with vector arguments
1074 and vector return value handling with "finish" and "return".
1075
c74f7d1c
JT
10762015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1077
1078 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1079 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1080 PE file.
1081 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1082
98aa42ee
AT
10832015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1084
1085 PR breakpoints/16465
1086 * gdb.mi/mi-dprintf-pending.c: New file.
1087 * gdb.mi/mi-dprintf-pending.exp: New test.
1088 * gdb.mi/mi-dprintf-pendshr.c: New file.
1089
7d73c23c 10902015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1091 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1092
1093 * gdb.arch/i386-mpx-map.c: New file.
1094 * gdb.arch/i386-mpx-map.exp: New File.
1095
10962015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1097
1098 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1099 * gdb.arch/i386-mpx.exp: Indentation fixed.
1100
11012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1102
1103 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1104 function and improved indentation.
1105 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1106 gdb_test_multiple. Added additional tests to skip the test.
1107
11082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1109
1110 * gdb.arch/i386-avx512.c: Change path in include file.
1111 * gdb.arch/i386-avx512.exp: Change include dir path
1112 compilation flag.
1113 * gdb.arch/i386-mpx.c: Change path in include file.
1114 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1115 flag.
1116
d5eba19a
JK
11172015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1118
1119 * gdb.compile/compile-print.exp (compile print *vararray@3)
1120 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1121
7f361056
JK
11222015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1123
1124 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1125 (do not keep jit in memory): ... this.
1126 (expect 5): Change it to ...
1127 (expect no 5): ... this.
1128
3b462ec2
SM
11292015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1130
1131 PR gdb/15564
1132 * gdb.mi/mi-detach.exp: New file.
1133
e0619de6
JK
11342015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1135
1136 PR symtab/18392
1137 * gdb.arch/amd64-tailcall-self.S: New file.
1138 * gdb.arch/amd64-tailcall-self.c: New file.
1139 * gdb.arch/amd64-tailcall-self.exp: New file.
1140
e970cb34
DB
11412015-05-28 Don Breazeal <donb@codesourcery.com>
1142
1143 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1144 tests for remote targets by checking is_target_gdbserver.
1145
b2e2f908
DE
11462015-05-27 Doug Evans <dje@google.com>
1147
1148 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1149 * gdb.dwarf2/opaque-type-lookup.c: New file.
1150 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1151
82c7be31
DE
11522015-05-26 Doug Evans <dje@google.com>
1153
1154 * gdb.cp/iostream.cc: New file.
1155 * gdb.cp/iostream.exp: New file.
1156
b4f54984
DE
11572015-05-26 Doug Evans <dje@google.com>
1158
1159 * gdb.dwarf2/dw2-op-call.exp: Update.
1160 * gdb.dwarf2/dw4-sig-types.exp: Update.
1161 * gdb.dwarf2/implptr.exp: Update.
1162 * gdb.mi/mi-cmd-param-changed.exp: Update.
1163
4ea6efe9
DE
11642015-05-26 Doug Evans <dje@google.com>
1165
1166 * gdb.python/py-lazy-string.c: New file.
1167 * gdb.python/py-lazy-string.exp: New file.
1168 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1169 (main): Update. Add estring3.
1170 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1171 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1172
f6bb7db3
YQ
11732015-05-26 Omair Javaid <omair.javaid@linaro.org>
1174 Yao Qi <yao.qi@linaro.org>
1175
1176 * gdb.reverse/aarch64.c: New.
1177 * gdb.reverse/aarch64.exp: New.
1178
a81bfbd0
OJ
11792015-05-26 Omair Javaid <omair.javaid@linaro.org>
1180
1181 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1182 (supports_reverse): Likewise.
1183
158bf1b4
PP
11842015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1185
1186 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1187 Use with_test_prefix.
1188
a0145030
AB
11892015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1190
1191 * gdb.base/completion.exp: Add test for completion of layout
1192 names.
1193
ebe3b578
AB
11942015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1195
1196 * lib/gdb.exp (skip_tui_tests): New proc.
1197 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1198
84204ed7
PA
11992015-05-19 Pedro Alves <palves@redhat.com>
1200
1201 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1202 Save the whole env array instead of just HOME. Unset HISTSIZE in
1203 the environment while testing. Restore whole environment
1204 afterwards.
1205
37442ce1
DE
12062015-05-16 Doug Evans <xdje42@gmail.com>
1207
1208 * gdb.guile/scm-ports.c: New file.
1209 * gdb.guile/scm-ports.exp: Add memory port tests.
1210
36de76f9
JK
12112015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1212
1213 * gdb.compile/compile-print.c: New file.
1214 * gdb.compile/compile-print.exp: New file.
1215
3a9558c4
JK
12162015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1217
1218 * gdb.compile/compile-ops.exp: Cast param to void.
1219 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1220 (compile code struct_object.selffield = &struct_object): Add xfail.
1221
aa715135
JG
12222015-05-15 Joel Brobecker <brobecker@adacore.com>
1223
1224 * gdb.ada/arr_enum_with_gap: New testcase.
1225
931e5bc3
JG
12262015-05-15 Joel Brobecker <brobecker@adacore.com>
1227
1228 * gdb.ada/byte_packed_arr: New testcase.
1229
9cd4d857
JB
12302015-05-15 Joel Brobecker <brobecker@adacore.com>
1231
1232 * gdb.ada/pckd_neg: New testcase.
1233
ebfd00d2
PP
12342015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1235
1236 PR gdb/17820
1237 * gdb.base/gdbinit-history.exp: New test.
1238 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1239 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1240
4c082a81
SC
12412015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1242
1243 * gdb.python/py-xmethods.cc: Enhance test case.
1244 * gdb.python/py-xmethods.exp: New tests.
1245 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1246 function.
1247 (B_indexoper): Likewise.
1248 (global_dm_list) : Add new xmethod worker functions.
1249
f7797074
SDJ
12502015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1251
1252 * gdb.base/coredump-filter.exp: Correctly unset
1253 "coredump_var_addr" array.
1254
a4674e4e
PA
12552015-05-08 Pedro Alves <palves@redhat.com>
1256
1257 * gdb.server/non-existing-program.exp: Unset spawn_id.
1258
df2eb078
SC
12592015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1260
1261 PR python/18291
1262 * gdb.python/py-xmethods.exp: Add tests.
1263
422349a3
YQ
12642015-05-08 Yao Qi <yao.qi@linaro.org>
1265
1266 PR gdb/18208
1267 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1268 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1269 function set_coredump_filter, and remove remote_exec call.
1270 Remove argument ipid. Callers update.
1271 (top level): Don't get inferior's PID.
1272
63fc80ce
AA
12732015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1274
1275 * gdb.base/watch_thread_num.exp: Skip test on targets without
1276 access watchpoints.
1277
80ad801e
PA
12782015-05-06 Pedro Alves <palves@redhat.com>
1279
1280 PR server/18081
1281 * gdb.server/non-existing-program.exp: New file.
1282
0fa7fe50
JB
12832015-05-05 Joel Brobecker <brobecker@adacore.com>
1284
1285 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1286
3ea89b92
PMR
12872015-05-05 Joel Brobecker <brobecker@adacore.com>
1288
1289 * gdb.ada/out_of_line_in_inlined: New testcase.
1290
87b8eff0
JB
12912015-05-05 Joel Brobecker <brobecker@adacore.com>
1292
1293 * gdb.ada/var_rec_arr: New testcase.
1294
5fccc635
YQ
12952015-04-30 Yao Qi <yao.qi@linaro.org>
1296
1297 * gdb.base/break-idempotent.exp: If
1298 skip_hw_watchpoint_multi_tests returns true, skip the tests
1299 on "rwatch" and "awatch".
1300
42d38f42
YQ
13012015-04-30 Yao Qi <yao.qi@linaro.org>
1302
1303 * gdb.base/relativedebug.exp: Invoke gdb command
1304 "info sharedlibrary", and if libc.so doesn't have debug info,
1305 skip the test.
1306
2ce1cdbf
DE
13072015-04-29 Doug Evans <dje@google.com>
1308
1309 * gdb.python/py-xmethods.exp: Add ptype tests.
1310 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1311 get_result_type method.
1312
f24a38c5
LM
13132015-04-29 Luis Machado <lgustavo@codesourcery.com>
1314
1315 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1316 the target does not support hardware watchpoints.
1317
ecbf2b3c
LM
13182015-04-29 Luis Machado <lgustavo@codesourcery.com>
1319
1320 * gdb.base/break-always.exp: Abort testing if writing to memory
1321 causes an error.
1322
34f5f757
DE
13232015-04-28 Doug Evans <dje@google.com>
1324
1325 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1326 * gdb.python/py-pp-registration.exp: ... here. New file.
1327 * gdb.python/py-pp-registration.c: New file.
1328 * gdb.python/py-pp-registration.py: New file.
1329
69b4374a
DE
13302015-04-28 Doug Evans <dje@google.com>
1331
1332 * gdb.python/py-bad-printers.c: New file.
1333 * gdb.python/py-bad-printers.py: New file.
1334 * gdb.python/py-bad-printers.exp: New file.
1335
59fb7612
SS
13362015-04-28 Sasha Smundak <asmundak@google.com>
1337
1338 * gdb.python/py-type.exp: New test.
1339
2631b16a
AW
13402015-04-28 Andy Wingo <wingo@igalia.com>
1341
1342 * gdb.python/py-parameter.exp:
1343 * gdb.guile/scm-parameter.exp: Escape the path that we are
1344 matching against, as it might contain characters that are special
1345 to regular expressions.
1346
460efde1
JB
13472015-04-27 Joel Brobecker <brobecker@adacore.com>
1348
1349 * gdb.ada/rec_comp: New testcase.
1350
2d369d8e
SDJ
13512015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1352
1353 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1354 before using it.
1355
cf75d6c3
AB
13562015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1357
1358 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1359 new tests for verilog output.
1360
8dbe7ca5
YQ
13612015-04-24 Yao Qi <yao.qi@linaro.org>
1362
1363 * boards/remote-gdbserver-on-localhost.exp: New file.
1364
4ef9fb2f
PA
13652015-04-23 Pedro Alves <palves@redhat.com>
1366
1367 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1368 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1369 "end of file", remove $inferior_spawn_id from the indirect list.
1370
0a803169
PA
13712015-04-23 Pedro Alves <palves@redhat.com>
1372
1373 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1374
749ef8f8
PA
13752015-04-23 Pedro Alves <palves@redhat.com>
1376
1377 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1378 on $any_spawn_id instead of only on $gdb_spawn_id.
1379
8aae4344
PM
13802015-04-21 Pierre Muller <muller@sourceware.org>
1381
1382 PR pascal/17815
1383 * lib/pascal.exp (gpc_compile): Add new option "class".
1384 (fpc_compile): Likewise.
1385 * gdb.pascal/case-insensitive-symbols.pas: New file.
1386 * gdb.pascal/case-insensitive-symbols.exp: New file.
1387
1586c8fb
GB
13882015-04-20 Gary Benson <gbenson@redhat.com>
1389
1390 * gdb.base/attach.exp: Fix three extended remote failures.
1391
1b6e6f5c
GB
13922015-04-17 Gary Benson <gbenson@redhat.com>
1393
1394 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1395 the main executable over the remote protocol.
1396
e797481d
PA
13972015-04-16 Pedro Alves <palves@redhat.com>
1398
1399 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1400 a new gdbserver if gdbserver_reconnect_p is set.
1401
1ca99c42
PA
14022015-04-16 Pedro Alves <palves@redhat.com>
1403
1404 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1405 is set, don't exit gdbserver.
1406
af9fd6f8
AA
14072015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1408
1409 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1410 appropriate .insn, such that an older assembler can be used.
1411 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1412 the z/Architecture instruction set on 31-bit targets as well.
1413
04ff1e61
AA
14142015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1415
1416 * gdb.go/handcall.exp: Remove all logic related to the first
1417 breakpoint and rely on go_runto_main instead.
1418 * gdb.go/strings.exp: Likewise.
1419 * gdb.go/unsafe.exp: Likewise.
1420 * gdb.go/hello.exp: Likewise. Also rename the remaining
1421 breakpoint marker to "breakpoint 1".
1422 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1423 * gdb.go/strings.go: Likewise.
1424 * gdb.go/unsafe.go: Likewise.
1425 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1426 "set breakpoint 2 here" and rename the remaining breakpoint marker
1427 to "breakpoint 1".
1428
40d2f8d6
SM
14292015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1430
1431 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1432 if itertools.imap is not present.
1433 * gdb.python/py-objfile.exp: Add parentheses.
1434 * gdb.python/py-type.exp: Same.
1435 * gdb.python/py-unwind-maint.py: Same.
1436
8cbc97c6
YQ
14372015-04-15 Yao Qi <yao.qi@linaro.org>
1438
1439 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1440 of ":$ptr_size" and set its form explicitly.
1441
45fd756c
YQ
14422015-04-15 Pedro Alves <palves@redhat.com>
1443 Yao Qi <yao.qi@linaro.org>
1444
1445 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1446 timeout by factor of 4.
1447 (test_regular_watch): Likewise.
1448 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1449 * gdb.reverse/sigall-reverse.exp: Likewise.
1450 * gdb.reverse/until-precsave.exp: Likewise.
1451 * lib/gdb.exp (with_timeout_factor): New proc.
1452 (gdb_expect): Move some code to ...
1453 (get_largest_timeout): ... here. New procedure.
1454
9e811bc3
LM
14552015-04-14 Luis Machado <lgustavo@codesourcery.com>
1456
1457 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1458
0ff6fcb2
LM
14592015-04-13 Luis Machado <lgustavo@codesourcery.com>
1460
1461 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1462 to write to the .text section.
1463
7578d5f7
LM
14642015-04-13 Luis Machado <lgustavo@codesourcery.com>
1465
1466 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1467 Handle the case of targets that do not provide PID information.
1468
2efe15c4
YQ
14692015-04-13 Yao Qi <yao.qi@linaro.org>
1470
1471 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1472 and use expect instead of gdb_expect.
1473
8cd8f2f8
SDJ
14742015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1475
1476 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1477 "coredump_var_addr" to avoid naming conflict with other testcases.
1478
9ee41772
PA
14792015-04-10 Pedro Alves <palves@redhat.com>
1480
1481 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1482 gdb_test_sequence and gdb_assert.
1483
07473109
PA
14842015-04-10 Pedro Alves <palves@redhat.com>
1485
1486 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1487 test messages that don't include the breakpoint address.
1488
de3db44c
YQ
14892015-04-10 Yao Qi <yao.qi@linaro.org>
1490
1491 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1492 false for some offset and width combinations which aren't
1493 supported by linux kernel.
1494
c79d856c
PA
14952015-04-10 Pedro Alves <palves@redhat.com>
1496
1497 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1498 procedure, factored out from ...
1499 (top level): ... here. Add "set displaced-stepping" testing axis.
1500 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1501 parameter "displaced". Use it.
1502 (top level): Use foreach and add "set displaced-stepping" testing
1503 axis.
1504
ebc90b50
PA
15052015-04-10 Pedro Alves <palves@redhat.com>
1506
1507 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1508 Remove comment.
1509 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1510 both the address of the instruction that triggers the watchpoint
1511 and the address of the instruction immediately after, and use
1512 those addresses for the test. Fix comment.
1513
8f572e5c
PA
15142015-04-10 Pedro Alves <palves@redhat.com>
1515
1516 * gdb.base/sigstep.exp (breakpoint_to_handler)
1517 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1518 Test "backtrace" in handler.
1519 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1520 (top level): Add new "displaced" test axis to
1521 breakpoint_to_handler, breakpoint_to_handler_entry and
1522 breakpoint_over_handler.
1523
8d707a12
PA
15242015-04-10 Pedro Alves <palves@redhat.com>
1525
1526 PR gdb/18216
1527 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1528
ef713951
YQ
15292015-04-10 Yao Qi <yao.qi@linaro.org>
1530
1531 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1532 (test_add_rn_pc): New function.
1533 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1534 (top level): Invoke test_add_rn_pc.
1535
906d60cf
PA
15362015-04-10 Pedro Alves <palves@redhat.com>
1537
1538 PR gdb/13858
1539 * gdb.base/step-over-no-symbols.exp: New file.
1540
f2983cc3
AW
15412015-04-09 Andy Wingo <wingo@igalia.com>
1542
1543 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1544 after the Python tests.
1545
6d62641c
SDJ
15462015-04-08 Keith Seitz <keiths@redhat.com>
1547
1548 PR python/16699
1549 * gdb.python/py-completion.exp: New tests for completion.
1550 * gdb.python/py-completion.py (CompleteLimit1): New class.
1551 (CompleteLimit2): Likewise.
1552 (CompleteLimit3): Likewise.
1553 (CompleteLimit4): Likewise.
1554 (CompleteLimit5): Likewise.
1555 (CompleteLimit6): Likewise.
1556 (CompleteLimit7): Likewise.
1557
f3770638
PA
15582015-04-08 Pedro Alves <palves@redhat.com>
1559
1560 PR gdb/18214
1561 PR gdb/18216
1562 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1563 function.
1564 (main): Install it as SIGUSR1 handler.
1565 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1566 parameter. Always use "setup" as prefix. Toggle "set
1567 displaced-stepping" off/on depending on global. Don't switch to
1568 thread 1 here.
1569 (top level): Add displaced stepping "off/on" test axis. Update
1570 "setup" calls. Wrap each subtest with with_test_prefix. Test
1571 continuing with a queued signal in each thread.
1572
4496bed7
PA
15732015-04-08 Pedro Alves <palves@redhat.com>
1574
1575 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1576 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1577 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1578 Return early if running to main fails.
1579 * gdb.trace/while-stepping.exp: Likewise.
1580
b97fde92
PA
15812015-04-07 Pedro Alves <palves@redhat.com>
1582
1583 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1584 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1585 interact with inferior program.
1586
f71c18e7
PA
15872015-04-07 Pedro Alves <palves@redhat.com>
1588
1589 * lib/gdb.exp (inferior_spawn_id): New global.
1590 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1591 spawn id after processing the user code.
1592 (default_gdb_start): Set inferior_spawn_id.
1593 (send_inferior): New procedure.
1594 * lib/gdbserver-support.exp (gdbserver_start): Set
1595 inferior_spawn_id.
1596 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1597
6423214f
PA
15982015-04-07 Pedro Alves <palves@redhat.com>
1599
1600 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1601 * lib/gdbserver-support.exp (gdbserver_start): Make
1602 $server_spawn_id global.
1603 (gdbserver_start): Don't wait for gdbserver's spawn id with
1604 expect_background.
1605 (close_gdbserver): New procedure.
1606 (gdb_exit): Rename the default version and reimplement.
1607
71c0ee8c
PA
16082015-04-07 Pedro Alves <palves@redhat.com>
1609
72f4393d 1610 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1611 append the substituted item, not the original item.
1612
203bc29b
PA
16132015-04-07 Pedro Alves <palves@redhat.com>
1614
1615 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1616 gdb_expect.
1617
508a3ddf
PA
16182015-04-07 Pedro Alves <palves@redhat.com>
1619
1620 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1621 output appearing once only.
1622
9f6dbe2b
PA
16232015-04-07 Pedro Alves <palves@redhat.com>
1624
1625 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1626 that doesn't expect anything. Return early if running to main
1627 fails.
1628
337532fa
YQ
16292015-04-07 Yao Qi <yao.qi@linaro.org>
1630
1631 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1632 (child_function): Call alarm.
1633 (main): Move call to alarm into the loop.
1634 * gdb.threads/non-stop-fair-events.exp: Build program with
1635 -DTIMEOUT=$timeout.
1636
01b622d4
DE
16372015-04-06 Doug Evans <xdje42@gmail.com>
1638
1639 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1640 Fix dest parameter to board_info.
1641 (fpc_compile): Ditto.
1642 (gdb_compile_pascal): Rename dest arg to destfile.
1643
961f4160
PMR
16442015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1645
1646 * gdb.ada/funcall_ref.exp: New file.
1647 * gdb.ada/funcall_ref/foo.adb: New file.
1648
cafda597
YQ
16492015-04-02 Yao Qi <yao.qi@linaro.org>
1650
1651 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1652 is remote.
1653
fed040c6
GB
16542015-04-02 Gary Benson <gbenson@redhat.com>
1655
1656 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1657
d11916aa
SS
16582015-04-01 Sasha Smundak <asmundak@google.com>
1659
1660 * gdb.python/py-unwind-maint.c: New file.
1661 * gdb.python/py-unwind-maint.exp: New test.
1662 * gdb.python/py-unwind-maint.py: New file.
1663 * gdb.python/py-unwind.c: New file.
1664 * gdb.python/py-unwind.exp: New test.
1665 * gdb.python/py-unwind.py: New test.
1666
a1471180
PA
16672015-04-01 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1670 to fail instead of non-existent $test.
1671
0bbeccb1
PA
16722015-04-01 Pedro Alves <palves@redhat.com>
1673
1674 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1675 GDBFLAGS if not empty.
1676
3c724c8c
PMR
16772015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1678
1679 * gdb.ada/complete.exp: Remove "multi_line".
1680 * gdb.ada/info_exc.exp: Remove "multi_line".
1681 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1682 * gdb.ada/ptype_field.exp: Remove "multi_line".
1683 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1684 * gdb.ada/tagged.exp: Remove "multi_line".
1685 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1686 [multi_line ...]
1687 * gdb.btrace/delta.exp: Likewise.
1688 * gdb.btrace/exception.exp: Likewise.
1689 * gdb.btrace/function_call_history.exp: Likewise.
1690 * gdb.btrace/instruction_history.exp: Likewise.
1691 * gdb.btrace/nohist.exp: Likewise.
1692 * gdb.btrace/record_goto.exp: Likewise.
1693 * gdb.btrace/segv.exp: Likewise.
1694 * gdb.btrace/stepi.exp: Likewise.
1695 * gdb.btrace/tailcall.exp: Likewise.
1696 * gdb.btrace/unknown_functions.exp: Likewise.
1697 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1698 * lib/gdb.exp: Add the "multi_line" helper.
1699
4eec2deb
PA
17002015-04-01 Pedro Alves <palves@redhat.com>
1701
1702 * gdb.threads/tid-reuse.c: New file.
1703 * gdb.threads/tid-reuse.exp: New file.
1704
df8411da
SDJ
17052015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1706
1707 PR corefiles/16092
1708 * gdb.base/coredump-filter.c: New file.
1709 * gdb.base/coredump-filter.exp: Likewise.
1710
6ef37366
PM
17112015-03-27 Petr Machata <pmachata@redhat.com>
1712
1713 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1714 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1715 (Dwarf::assemble): Initialize them.
1716 (Dwarf::lines): New function.
1717
7ec911b0
JT
17182015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1719
1720 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1721 SYMBOL_PREFIX for x86_64-*-cygwin.
1722
ff908ebf
AW
17232015-03-26 Andy Wingo <wingo@igalia.com>
1724
1725 PR symtab/18148
1726 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1727 const_value but not a location.
1728 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1729 location defined in non-main CUs are visible.
1730
6d5f0679
YQ
17312015-03-26 Yao Qi <yao.qi@linaro.org>
1732
1733 PR testsuite/18139
1734 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1735 Add a line number entry for the same line.
1736 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1737 Add a line number entry for the same line.
1738
2898689b
YQ
17392015-03-26 Yao Qi <yao.qi@linaro.org>
1740
1741 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1742 .int 0.
1743 (func): Likewise. Add .Lfunc_1 label.
1744 Use .Lfunc_1 label.
1745 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1746 .int 0.
1747 (func): Likewise.
1748 Use .Lfunc_1 label.
1749
85180498
YQ
17502015-03-26 Yao Qi <yao.qi@linaro.org>
1751
1752 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1753 Call gdb_compile instead to compile each .s files without debug
1754 information.
1755
8aa08a8d
YQ
17562015-03-26 Yao Qi <yao.qi@linaro.org>
1757
1758 * gdb.base/savedregs.exp (process_saved_regs): Make
1759 "Saved registers:" optional in the pattern.
1760
66849923
MM
17612015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1762
1763 * gdb.btrace/next.exp: Merged into step.exp.
1764 * gdb.btrace/finish.exp: Merged into step.exp.
1765 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1766 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1767 "record goto" and checking the exact replay position.
1768 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1769 check for "Recording format" in "info record" output.
1770 * gdb.btrace/record_goto.exp: Choose test file based on target.
1771 * gdb.btrace/x86-record_goto.S: Renamed into ...
1772 * gdb.btrace/x86_64-record_goto.S: ... this.
1773 * gdb.btrace/i686-record_goto.S: New.
1774 * gdb.btrace/x86-tailcall.S: Renamed into ...
1775 * gdb.btrace/x86_64-tailcall.S: ... this.
1776 * gdb.btrace/i686-tailcall.S: New.
1777 * gdb.btrace/x86-tailcall.c: Renamed into ...
1778 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1779 separate statements. Update test.
1780 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1781 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1782 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1783 * gdb.btrace/tailcall.exp: Choose test file based on target.
1784 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1785
11cc1b74
MM
17862015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1787
1788 * gdb.btrace/exception.exp: Increase BTS buffer size.
1789
a25d8bf9
PA
17902015-03-24 Pedro Alves <palves@redhat.com>
1791
1792 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1793
856e7dd6
PA
17942015-03-24 Pedro Alves <palves@redhat.com>
1795
1796 * gdb.threads/schedlock.exp (test_step): No longer expect that
1797 "set scheduler-locking step" with "next" over a function call runs
1798 threads unlocked.
1799
ad235a41
AT
18002015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1801
1802 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1803
15630549
AT
18042015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1805
1806 PR breakpoints/16466
1807 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1808 * gdb.mi/mi-pending.c (thread_func): New function.
1809 (int main): Add threading support required.
1810 * gdb.mi/mi-pending.exp: Add tests for this issue.
1811 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1812 (pendfunc2): Remove stdio dependency.
1813 * gdb.mi/mi-pendshr2.c: New file.
1814
693dca06
KS
18152015-03-23 Keith Seitz <keiths@redhat.com>
1816
1817 * gdb.linespec/keywords.c: New file.
1818 * gdb.linespec/keywords.exp: New file.
1819
7e993ebf
KS
18202015-03-23 Keith Seitz <keiths@redhat.com>
1821
1822 PR gdb/18021
1823 * gdb.dwarf2/staticvirtual.exp: New test.
1824
bc23328c
JK
18252015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1826
1827 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1828 * README: Remove HP-UX and gdb.hp.
1829 (configuration):
1830 * configure: Regenerate.
1831 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1832 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1833 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1834 gdb.hp/gdb.defects/Makefile.
1835 * gdb.hp/Makefile.in: File deleted.
1836 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1837 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1838 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1839 * gdb.hp/gdb.aCC/run.c: File deleted.
1840 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1841 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1842 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1843 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1844 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1845 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1846 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1847 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1848 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1849 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1850 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1851 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1852 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1853 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1854 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1855 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1856 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1857 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1858 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1859 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1860 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1861 * gdb.hp/gdb.compat/average.c: File deleted.
1862 * gdb.hp/gdb.compat/sum.c: File deleted.
1863 * gdb.hp/gdb.compat/xdb.c: File deleted.
1864 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1865 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1866 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1867 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1868 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1869 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1870 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1871 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1872 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1873 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1874 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1875 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1876 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1877 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1878 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1879 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1880 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1881 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1882 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1883 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1884 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1885 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1886 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1887 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1888 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1889 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1890 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1891 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1892 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1893 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1894 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1895 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1896 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1897 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1898 * gdb.hp/tools/odump: File deleted.
1899
8bf3b159
PA
19002015-03-19 Pedro Alves <palves@redhat.com>
1901
1902 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1903 (saw_thread_3): New globals.
1904 (top level): Increment them when an event for the corresponding
1905 thread is seen.
1906 (no thread starvation): New test.
1907
eb54c8bf
PA
19082015-03-19 Pedro Alves <palves@redhat.com>
1909
1910 * gdb.threads/continue-pending-status.c: New file.
1911 * gdb.threads/continue-pending-status.exp: New file.
1912
32d2e5d6
PA
19132015-03-18 Pedro Alves <palves@redhat.com>
1914
1915 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1916 Use gdb_is_target_remote instead of is_remote. Use
1917 gdb_test_multiple instead of gdb_expect. Exit early if
1918 gdb_test_multiple hits its internal matches. Tighten stepi tests
1919 expected output. Fail on exit with any signal, instead of just
1920 SIGILL.
1921
f68f11b7
YQ
19222015-03-18 Yao Qi <yao.qi@linaro.org>
1923
1924 PR tdep/18107
1925 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1926 variable.
1927 * gdb.base/catch-syscall.exp: Don't skip it on
1928 aarch64*-*-linux* target. Remove elements in all_syscalls.
1929 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1930 target.
1931 (setup_all_syscalls): New proc.
1932
ca5fd19b
YQ
19332015-03-16 Yao Qi <yao.qi@linaro.org>
1934
1935 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1936 (top level): Skip tests if valid_addr_p returns false for
1937 $cmd1 or $cmd2.
1938
85642ba0
AW
19392015-03-11 Andy Wingo <wingo@igalia.com>
1940
1941 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1942
e03f9645
YQ
19432015-03-11 Yao Qi <yao.qi@linaro.org>
1944
1945 * gdb.base/catch-syscall.exp: Fix typo in comments.
1946
5d0962b2
YQ
19472015-03-11 Yao Qi <yao.qi@linaro.org>
1948
1949 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1950
b2df3cef
PA
19512015-03-09 Pedro Alves <palves@redhat.com>
1952
1953 * dg-extract-results.py: Delete.
1954
ef878e53
PA
19552015-03-09 Pedro Alves <palves@redhat.com>
1956
1957 Merge dg-extract-results.sh from GCC upstream (r218843).
1958
1959 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1960 * dg-extract-results.sh: Use --text with grep to avoid issues with
1961 binary files. Fall back to cat -v, if that doesn't work.
1962
9494d219
PA
19632015-03-05 Pedro Alves <palves@redhat.com>
1964
1965 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1966
a8d9763a
SM
19672015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1968
1969 * lib/mi-support.exp (mi_expect_interrupt): Accept
1970 alternative event for when in all-stop mode.
1971
be9957b8
PA
19722015-03-04 Pedro Alves <palves@redhat.com>
1973
1974 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1975
d57be0f4 19762015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1977
1978 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1979
c214c7cf
AA
19802015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1981
1982 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1983 regexps for GDB's current line display, accept a hex address
1984 preceding the line number.
1985
6d74a497
AA
19862015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1987
1988 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1989 the 'arch1' variable for "s390*-linux*" targets.
1990
511aee7c
PA
19912015-03-04 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1994 (main): Pass missing retval argument to pthread_join call.
1995
95e50b27
PA
19962015-03-02 Pedro Alves <palves@redhat.com>
1997
1998 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1999 (top level): Call do_test with non-stop as well.
2000
28054d69
PA
20012015-03-02 Pedro Alves <palves@redhat.com>
2002
2003 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2004 -1.
2005
4fa5d7b4
AA
20062015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2007
2008 * gdb.arch/s390-vregs.exp: New test.
2009 * gdb.arch/s390-vregs.S: New file.
2010
97c18565
PA
20112015-02-27 Pedro Alves <palves@redhat.com>
2012
2013 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2014 call to catch_command_errors.
2015 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2016 catch_command_errors.
2017
a37bfa30
PA
20182015-02-27 Pedro Alves <palves@redhat.com>
2019
2020 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2021 "true" for boolean result.
2022 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2023 prototype of main.
2024
6f98576f
PA
20252015-02-27 Pedro Alves <palves@redhat.com>
2026
2027 * lib/unbuffer_output.c: New file.
2028 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2029 (main): Call gdb_unbuffer_output.
2030
eba5ab56
YQ
20312015-02-27 Yao Qi <yao.qi@linaro.org>
2032
2033 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2034 target.
2035
0def5aaa
DE
20362015-02-26 Doug Evans <dje@google.com>
2037
2038 * gdb.cp/class2.cc (Dbase, D): New classes.
2039 (main): New local delta.
2040 * gdb.cp/class2.exp: Test printing delta.
2041 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2042 (dynbar): New global.
2043 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2044
081a1c2c
JK
20452015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2046
2047 * gdb.compile/compile-ifunc.c: New file.
2048 * gdb.compile/compile-ifunc.exp: New file.
2049
2f41223f
AT
20502015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2051
2052 * gdb.base/structs.exp: Check for correct struct on finish.
2053
03eddd80
YQ
20542015-02-26 Yao Qi <yao.qi@linaro.org>
2055
2056 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2057 is zero.
2058
80c57053
JK
20592015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2060
2061 * gdb.arch/cordic.ko.bz2: New file.
2062 * gdb.arch/cordic.ko.debug.bz2: New file.
2063 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2064
21613c12
YQ
20652015-02-25 Yao Qi <yao.qi@linaro.org>
2066
2067 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2068 aarch64*-*-* target.
2069
d8b901ed
PA
20702015-02-23 Pedro Alves <palves@redhat.com>
2071
2072 * lib/gdb.exp (delete_breakpoints): Rewrite using
2073 gdb_test_multiple.
2074
e5b85ead
PA
20752015-02-23 Pedro Alves <palves@redhat.com>
2076
2077 * gdb.base/info-os.c: Include stdlib.h.
2078
85c3a371
DE
20792015-02-22 Doug Evans <xdje42@gmail.com>
2080
2081 PR symtab/17855
2082 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2083 is read after symbols have been re-read.
2084 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2085 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2086
96553a0c
DE
20872015-02-21 Doug Evans <dje@google.com>
2088
2089 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2090
97a0c697
JK
20912015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2092
2093 PR corefiles/17808
2094 * gdb.arch/i386-biarch-core.core.bz2: New file.
2095 * gdb.arch/i386-biarch-core.exp: New file.
2096
a47cd6e9
PA
20972015-02-21 Pedro Alves <palves@redhat.com>
2098
2099 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2100 runto_main fails.
2101
c5facdc4
PA
21022015-02-20 Pedro Alves <palves@redhat.com>
2103
2104 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2105 info probes.
2106
2db9a427
PA
21072015-02-20 Pedro Alves <palves@redhat.com>
2108
2109 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2110
60fb7e9e
PA
21112015-02-20 Pedro Alves <palves@redhat.com>
2112
2113 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2114 clean_restart before gdb_target_supports_trace.
2115
5c5019c2
PA
21162015-02-20 Pedro Alves <palves@redhat.com>
2117
2118 PR threads/18006
2119 * gdb.threads/clone-thread_db.c: New file.
2120 * gdb.threads/clone-thread_db.exp: New file.
2121
c9587f88
AT
21222015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2123
2124 PR breakpoints/16812
2125 * gdb.base/catch-gdb-caused-signals.c: New file.
2126 * gdb.base/catch-gdb-caused-signals.exp: New file.
2127
f6a88844
JM
21282015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2129
2130 * configure: Regenerated.
2131 * configure.ac: Use GDB_AC_TRANSFORM.
2132 * aclocal.m4: sinclude ../transform.m4.
2133
497c491b
JM
21342015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2135
2136 * lib/dtrace.exp: New file.
2137 * gdb.base/dtrace-probe.exp: Likewise.
2138 * gdb.base/dtrace-probe.d: Likewise.
2139 * gdb.base/dtrace-probe.c: Likewise.
2140 * lib/pdtrace.in: Likewise.
2141 * configure.ac: Output variables with the transformed names of
2142 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2143 * configure: Regenerated.
2144
03e98035
JM
21452015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2146
2147 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2148 expected message when trying to access $_probe_* convenience
2149 variables while not on a probe.
2150
63cc30e9
JK
21512015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2152
2153 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2154
0703599a
PA
21552015-02-11 Pedro Alves <pedro@codesourcery.com>
2156
2157 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2158 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2159
7e60a48e
DE
21602015-02-10 Doug Evans <xdje42@gmail.com>
2161
2162 * lib/gdb.exp (gdb_load): Always return a result.
2163
01b088bc
PA
21642015-02-10 Pedro Alves <palves@redhat.com>
2165
2166 * gdb.threads/signal-sigtrap.c: New file.
2167 * gdb.threads/signal-sigtrap.exp: New file.
2168
b05ec7a5
AT
21692015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2170
2171 * gdb.trace/no-attach-trace.c: New file.
2172 * gdb.trace/no-attach-trace.exp: New file.
2173
a2c2acaf
MW
21742015-02-09 Mark Wielaard <mjw@redhat.com>
2175
2176 * gdb.dwarf2/atomic.c: New file.
2177 * gdb.dwarf2/atomic-type.exp: Likewise.
2178
31fd9caa
MM
21792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2180
2181 * gdb.btrace/buffer-size.exp: Update "info record" output.
2182 * gdb.btrace/delta.exp: Update "info record" output.
2183 * gdb.btrace/enable.exp: Update "info record" output.
2184 * gdb.btrace/finish.exp: Update "info record" output.
2185 * gdb.btrace/instruction_history.exp: Update "info record" output.
2186 * gdb.btrace/next.exp: Update "info record" output.
2187 * gdb.btrace/nexti.exp: Update "info record" output.
2188 * gdb.btrace/step.exp: Update "info record" output.
2189 * gdb.btrace/stepi.exp: Update "info record" output.
2190 * gdb.btrace/nohist.exp: Update "info record" output.
2191
d33501a5
MM
21922015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2193
2194 * gdb.btrace/buffer-size: New.
2195
f4abbc16
MM
21962015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2197
2198 * gdb.btrace/delta.exp: Update "info record" output.
2199 * gdb.btrace/enable.exp: Update "info record" output.
2200 * gdb.btrace/finish.exp: Update "info record" output.
2201 * gdb.btrace/instruction_history.exp: Update "info record" output.
2202 * gdb.btrace/next.exp: Update "info record" output.
2203 * gdb.btrace/nexti.exp: Update "info record" output.
2204 * gdb.btrace/step.exp: Update "info record" output.
2205 * gdb.btrace/stepi.exp: Update "info record" output.
2206 * gdb.btrace/nohist.exp: Update "info record" output.
2207
b9d61307
SM
22082015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2209
2210 PR gdb/15678
2211 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2212
e584fdbc
PA
22132015-02-06 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2216 macro.
2217 (seconds_left, again): New globals.
2218 (main): Wait seconds_left in a 1-second sleep loop instead of
2219 sleeping 180 seconds. If 'again' is set, reset the seconds
2220 counter.
2221 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2222 'again' in the inferior before detaching. Print the seconds left.
2223 (options): New global.
2224 (top level): Build program with -DTIMEOUT=$timeout.
2225
77f41761
PA
22262015-02-06 Pedro Alves <palves@redhat.com>
2227
2228 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2229 determine how many seconds to pass to 'alarm'.
2230 * gdb.base/gdb-sigterm.exp (top level): Build program with
2231 -DTIMEOUT=$timeout.
2232 (do_test): Return success/failure indication. Add more verbose
2233 logging. Don't fail if 200 single steps are seen. Instead, fail
2234 when the test times out.
2235 (passes): New global.
2236 (top level): Break the testing loop if testing fails on any
2237 iteration. Use gdb_assert.
2238
b9394193
DB
22392015-02-04 Don Breazeal <donb@codesourcery.com>
2240
2241 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2242 and initialize them.
2243 (ipc_cleanup): New function.
2244 (main): Don't declare shmid, semid, and msqid. Add a call to
2245 atexit so that we call ipc_cleanup on exit.
2246
42d9e528
PA
22472015-02-04 Pedro Alves <palves@redhat.com>
2248
2249 * boards/native-extended-gdbserver.exp: Remove any target variant
2250 specifications from the board name before clearing the isremote
2251 flag from board_info.
2252
ae6ae975
DE
22532015-01-31 Doug Evans <xdje42@gmail.com>
2254
2255 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2256
cfb069a8
GB
22572015-01-31 Gary Benson <gbenson@redhat.com>
2258
2259 * gdb.base/completion.exp: Disable completion limiting for
2260 existing tests. Add new tests to check completion limiting.
2261 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2262
5dd31d79
DE
22632015-01-31 Doug Evans <xdje42@gmail.com>
2264
2265 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2266
9f050062
DE
22672015-01-31 Doug Evans <xdje42@gmail.com>
2268
2269 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2270 entries. Duplicate file section script entries.
2271 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2272 inlined entries. Add test for safe-path rejection.
2273 * gdb.python/py-section-script.c: Add duplicate inlined section script
2274 entries. Duplicate file section script entries.
2275 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2276 inlined entries. Add test for safe-path rejection.
2277
df25ebbd
JB
22782015-01-29 Joel Brobecker <brobecker@adacore.com>
2279
2280 * gdb.ada/disc_arr_bound: New testcase.
2281
4a0ca9ec
JB
22822015-01-29 Joel Brobecker <brobecker@adacore.com>
2283
2284 * gdb.ada/mi_var_array: New testcase.
2285
3a8b707a
DE
22862015-01-27 Doug Evans <dje@google.com>
2287
2288 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2289 Add test for objfile.filename, objfile.username after objfile
2290 has been unloaded.
2291
f8313f6e
JB
22922015-01-26 Joel Brobecker <brobecker@adacore.com>
2293
2294 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2295 the second test to print the name attribute of value
2296 returned by the call to gdb.lookup_type, and adjust
2297 the expected output accordingly.
2298
37bc665e
MW
22992015-01-25 Mark Wielaard <mjw@redhat.com>
2300
2301 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2302 * gdb.base/disp-step-fork.c: Include unistd.h.
2303 * gdb.base/siginfo-obj.c: Include stdio.h.
2304 * gdb.base/siginfo-thread.c: Likewise.
2305 * gdb.mi/non-stop.c: Include unistd.h.
2306 * gdb.mi/nsthrexec.c: Include stdio.h.
2307 * gdb.mi/pthreads.c: Include unistd.h.
2308 * gdb.modula2/unbounded1.c (main): Declare returns int.
2309 * gdb.reverse/consecutive-reverse.c: Likewise.
2310 * gdb.threads/create-fail.c: Include unistd.h.
2311 * gdb.threads/killed.c: Likewise.
2312 * gdb.threads/linux-dp.c: Likewise.
2313 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2314 * gdb.threads/non-ldr-exc-2.c: Likewise.
2315 * gdb.threads/non-ldr-exc-3.c: Likewise.
2316 * gdb.threads/non-ldr-exc-4.c: Likewise.
2317 * gdb.threads/pthreads.c: Include unistd.h.
2318 (main): Declare returns int.
2319 * gdb.threads/tls-main.c (foo): New declaration.
2320 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2321
f7e5394d
SM
23222015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2323
2324 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2325 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2326
743649fd
MW
23272015-01-15 Mark Wielaard <mjw@redhat.com>
2328
2329 * gdb.base/noreturn-return.c: New file.
2330 * gdb.base/noreturn-return.exp: New file.
2331 * gdb.base/noreturn-finish.c: New file.
2332 * gdb.base/noreturn-finish.exp: New file.
2333
198297aa
PA
23342015-01-23 Pedro Alves <palves@redhat.com>
2335
2336 * gdb.threads/continue-pending-after-query.c: New file.
2337 * gdb.threads/continue-pending-after-query.exp: New file.
2338
717cf30c
AG
23392015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2340 Simon Marchi <simon.marchi@ericsson.com>
2341
2342 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2343 * gdb.base/valgrind-db-attach.exp: Same.
2344 * gdb.base/valgrind-infcall.exp: Same.
2345 * lib/mi-support.exp (default_mi_gdb_start): Same.
2346 * lib/prompt.exp (default_prompt_gdb_start): Same.
2347 * lib/gdb.exp (default_gdb_spawn): Same.
2348 (gdb_interact): New.
2349
2350
4b62a76e
JK
23512015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2352
2353 * gdb.compile/compile.exp (pointer to jit function): New test.
2354
b4cdae6f
WW
23552015-01-17 Wei-cheng Wang <cole945@gmail.com>
2356
2357 * lib/gdb.exp (supports_process_record): Return true for
2358 powerpc*-*-linux*.
2359 (supports_reverse): Likewise.
2360
d221e7ef
DB
23612015-01-15 Don Breazeal <donb@codesourcery.com>
2362
2363 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2364 instead of checking whether the target board is remote and
2365 use spawn_wait_for_attach instead of exec/sleep.
2366 * gdb.base/attach-twice.exp: Likewise.
2367
bafffb51
JB
23682015-01-15 Joel Brobecker <brobecker@adacore.com>
2369
2370 * gdb.ada/var_arr_attrs: New testcase.
2371
5589af0e
PA
23722015-01-14 Pedro Alves <palves@redhat.com>
2373 Joel Brobecker <brobecker@adacore.com>
2374
2375 PR gdb/17525
2376 * gdb.base/bp-cmds-execution-x-script.c: New file.
2377 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2378 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2379
6c400b59
PA
23802015-01-14 Pedro Alves <palves@redhat.com>
2381
2382 PR cli/17828
2383 * gdb.base/batch-preserve-term-settings.c: New file.
2384 * gdb.base/batch-preserve-term-settings.exp: New file.
2385
e02c96a7
DE
23862015-01-13 Doug Evans <dje@google.com>
2387
2388 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2389 binary.
2390
576fd14c
JB
23912015-01-13 Joel Brobecker <brobecker@adacore.com>
2392
2393 * Makefile.in (clean mostlyclean): Do not delete *.py.
2394
04dccad0
JB
23952015-01-13 Joel Brobecker <brobecker@adacore.com>
2396
2397 * gdb.python/py-lookup-type.exp: New file.
2398
3d230f71
PA
23992015-01-12 Pedro Alves <palves@redhat.com>
2400
2401 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2402 restore GDBFLAGS before returning.
2403
7e67715d
JK
24042015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2405
2406 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2407 is_amd64_regs_target and is_x86_like_target.
2408
f2e0d4b4
DE
24092015-01-11 Doug Evans <xdje42@gmail.com>
2410
2411 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2412 is given without an explicit form.
2413 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2414 attributes.
2415 * gdb.dwarf/corrupt.exp: Ditto.
2416 * gdb.dwarf2/enum-type.exp: Ditto.
2417 * gdb.trace/entry-values.exp: Ditto.
2418 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2419
439250fb
DE
24202015-01-11 Doug Evans <xdje42@gmail.com>
2421
2422 PR gdb/15830
2423 * gdb.base/maint.exp: Remove references to "maint demangle".
2424 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2425 Add tests for explicitly specifying language to demangle.
2426 * gdb.dlang/demangle.exp: Ditto.
2427
ede9f622
PA
24282015-01-09 Pedro Alves <palves@redhat.com>
2429
2430 * gdb.threads/non-stop-fair-events.c: New file.
2431 * gdb.threads/non-stop-fair-events.exp: New file.
2432
a7b796db
PA
24332015-01-09 Pedro Alves <palves@redhat.com>
2434
2435 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2436 the global scope. Set a breakpoint after all threads are started
2437 rather than stepping over two source lines. Expect the prompt.
2438 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2439 global.
2440 (NUM): Now 15.
2441 (main): Use threads_started_barrier to wait for all threads to
2442 start. Main thread no longer calls thread_function. Exit after
2443 180 seconds.
2444 (loop): New function.
2445 (thread_function): Wait on threads_started_barrier barrier. Call
2446 'loop' at each iteration.
2447 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2448 threads have started, instead of hardcoding number of "next"
2449 steps. Use an access watchpoint instead of a write watchpoint.
2450
9665ffdd
PA
24512015-01-09 Pedro Alves <palves@redhat.com>
2452
2453 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2454 (thread_func): Wait on barrier.
2455 (main): Wait for all threads to start before stopping GDB.
2456 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2457 global.
2458 (thread1_func, thread2_func): Wait on barrier.
2459 (main): Wait for all threads to start before stopping GDB.
2460 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2461 New global.
2462 (thread1_func, thread2_func): Wait on barrier.
2463 (main): Wait for all threads to start before stopping GDB.
2464
c945a99f
PA
24652015-01-09 Pedro Alves <palves@redhat.com>
2466
2467 * gdb.threads/attach-many-short-lived-threads.c: New file.
2468 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2469
c1a747c1
PA
24702014-01-09 Pedro Alves <palves@redhat.com>
2471
2472 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2473 instead of to thread 2.
2474 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2475 Add barrier around each pthread_create call instead of around all
2476 calls.
2477 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2478 Set a break on thread_function and have the child threads hit it
2479 one at at a time.
2480
60b3033e
PA
24812015-01-09 Pedro Alves <palves@redhat.com>
2482
2483 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2484 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2485 false.
2486 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2487 checking whether the target board is remote.
2488 * gdb.multi/multi-attach.exp: Likewise.
2489 * gdb.python/py-sync-interp.exp: Likewise.
2490 * gdb.server/ext-attach.exp: Likewise.
2491 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2492 tests that need to attach, instead of checking whether the target
2493 board is remote at the top of the file.
2494
acc018ac
YQ
24952015-01-08 Yao Qi <yao@codesourcery.com>
2496
2497 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2498
50a18af8
JK
24992015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2500
2501 Fix testcase compilation.
2502 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2503
8503d6e1
JB
25042015-01-06 Joel Brobecker <brobecker@adacore.com>
2505
2506 * gdb.python/py-type.exp: Add a couple test about empty
2507 array creation, and negative-length array creation.
2508
cc73dbcc
DE
25092015-01-02 Doug Evans <xdje42@gmail.com>
2510
2511 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2512
0300bbc7
DE
25132015-01-02 Doug Evans <dje@google.com>
2514
2515 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2516
9d85a0ec
YQ
25172014-12-29 Yao Qi <yao@codesourcery.com>
2518
2519 * gdb.trace/entry-values.exp: Update comments. Rename variable
2520 bar_call_foo to returned_from_foo.
2521
87186c6a
MMN
25222014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2523
2524 PR gdb/17394
2525 * gdb.linespec/break-asm-file.c: New file.
2526 * gdb.linespec/break-asm-file.exp: New file.
2527 * gdb.linespec/break-asm-file0.s: New file.
2528 * gdb.linespec/break-asm-file1.s: New file.
2529
1bab7383
YQ
25302014-12-18 Nigel Stephens <nigel@mips.com>
2531 Maciej W. Rozycki <macro@codesourcery.com>
2532
2533 * gdb.base/float.exp: Handle the new output from "info float" on
2534 MIPS targets.
2535
1bc1068a
JK
25362014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2537
2538 Fix MinGW compilation.
2539 * gdb.compile/compile-ops.exp: Update untested message if
2540 !skip_compile_feature_tests.
2541 * gdb.compile/compile-setjmp.exp: Likewise.
2542 * gdb.compile/compile-tls.exp: Likewise.
2543 * gdb.compile/compile.exp: Likewise.
2544 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2545 supported on this host".
2546
b6615d10
DE
25472014-12-16 Doug Evans <xdje42@gmail.com>
2548
2549 * boards/stabs.exp: New file.
2550
25dda427
AA
25512014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2552
2553 * gdb.base/completion.exp: Adjust to format changes of "maint
2554 print user-registers".
2555
bf330350
CU
25562014-12-16 Catalin Udma <catalin.udma@freescale.com>
2557
2558 PR server/17457
2559 * gdb.arch/aarch64-fp.c: New file.
2560 * gdb.arch/aarch64-fp.exp: New file.
2561
395cf596
SDJ
25622014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2563
2564 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2565 r210637, r210913, r211666, r215400, r215817).
2566
2567 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2568 * dg-extract-results.py: New file.
2569 * dg-extract-results.sh: Use it if the environment seems
2570 suitable.
2571
2572 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2573
2574 * dg-extract-results.py (parse_run): Handle warnings that
2575 are printed before a test harness is run.
2576
2577 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2578
2579 * dg-extract-results.py (Named): Remove __cmp__ method.
2580 (output_variation): Use a key to sort variation.harnesses.
2581
2582 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2583
2584 * dg-extract-results.py: For Python 3, force sys.stdout to
2585 handle surrogate escape sequences.
2586 (safe_open): New function.
2587 (output_segment, main): Use it.
2588
2589 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2590
2591 * dg-extract-results.py (Prog.result_re): Include options
2592 in test name.
2593
2594 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2595
2596 * dg-extract-results.py (output_variation): Always sort if
2597 do_sum.
2598
e882ef3c
SM
25992014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2600
2601 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2602 as long as we get pagination notifications.
2603
4992aa20
JM
26042014-12-15 Jason Merrill <jason@redhat.com>
2605
2606 * Makefile.in (check-gdb.%): Restore.
2607 * README: Mention it.
2608
c1b5a1a6
JB
26092014-12-13 Joel Brobecker <brobecker@adacore.com>
2610
2611 * gdb.ada/str_uninit: New testcase.
2612
5537b577
JK
26132014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2614
2615 PR symtab/17642
2616 * gdb.base/vla-stub-define.c: New file.
2617 * gdb.base/vla-stub.c: New file.
2618 * gdb.base/vla-stub.exp: New file.
2619
bb2ec1b3
TT
26202014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2621 Jan Kratochvil <jan.kratochvil@redhat.com>
2622 Tom Tromey <tromey@redhat.com>
2623
2624 * configure.ac: Add gdb.compile/.
2625 * configure: Regenerate.
2626 * gdb.compile/Makefile.in: New file.
2627 * gdb.compile/compile-ops.exp: New file.
2628 * gdb.compile/compile-ops.c: New file.
2629 * gdb.compile/compile-tls.c: New file.
2630 * gdb.compile/compile-tls.exp: New file.
2631 * gdb.compile/compile-constvar.S: New file.
2632 * gdb.compile/compile-constvar.c: New file.
2633 * gdb.compile/compile-mod.c: New file.
2634 * gdb.compile/compile-nodebug.c: New file.
2635 * gdb.compile/compile-setjmp-mod.c: New file.
2636 * gdb.compile/compile-setjmp.c: New file.
2637 * gdb.compile/compile-setjmp.exp: New file.
2638 * gdb.compile/compile-shlib.c: New file.
2639 * gdb.compile/compile.c: New file.
2640 * gdb.compile/compile.exp: New file.
2641 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2642
4ff709eb
TT
26432014-12-12 Tom Tromey <tromey@redhat.com>
2644
2645 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2646 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2647
6dddd6a5
DE
26482014-12-12 Doug Evans <dje@google.com>
2649
2650 * lib/gdb-python.exp (get_python_valueof): New function.
2651 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2652
71c24708
AA
26532014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2654
2655 * gdb.base/completion.exp: Add test for completion of "info
2656 registers ".
2657
3e29f34a
MR
26582014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2659
2660 * gdb.base/func-ptrs.c: New file.
2661 * gdb.base/func-ptrs.exp: New file.
2662
fc126975
SM
26632014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2664
2665 PR breakpoints/17012
2666 * gdb.base/dprintf-detach.c: New file.
2667 * gdb.base/dprintf-detach.exp: New file.
2668
0a46d518
SM
26692014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2670
2671 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2672 * lib/gdb.exp (target_is_gdbserver): New procedure.
2673
a0be3e44
DE
26742014-12-08 Doug Evans <dje@google.com>
2675
2676 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2677
df1b803a
YQ
26782014-12-05 Yao Qi <yao@codesourcery.com>
2679
2680 * gdb.guile/scm-error.exp: Remove the third argument to
2681 gdb_remote_download.
2682 * gdb.guile/scm-frame-args.exp: Likewise.
2683 * gdb.guile/scm-section-script.exp: Likewise.
2684
ddb9f679
YQ
26852014-12-05 Yao Qi <yao@codesourcery.com>
2686
2687 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2688
86e4ed39
DE
26892014-12-04 Doug Evans <dje@google.com>
2690
2691 * gdb.python/py-objfile.exp: Add tests for
2692 objfile.add_separate_debug_file.
2693
7c50a931
DE
26942014-12-04 Doug Evans <dje@google.com>
2695
2696 * lib/gdb.exp (get_build_id): New function.
2697 (build_id_debug_filename_get): Rewrite to use it.
2698 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2699
621661e3
MR
27002014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2701
2702 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2703 `method(long)', not just 0x0.
2704 * gdb.cp/nsalias.exp: Align code labels to 4.
2705 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2706 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2707 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2708 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2709 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2710 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2711
29f0c3b7
DE
27122014-12-02 Doug Evans <dje@google.com>
2713
e1e061e7 2714 PR symtab/17602
29f0c3b7 2715 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2716 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2717 * gdb.cp/anon-ns.exp: Update.
2718
162078c8
NB
27192014-12-02 Nick Bull <nicholaspbull@gmail.com>
2720
2721 * gdb.python/py-events.py (inferior_call_handler): New.
2722 (register_changed_handler, memory_changed_handler): New.
2723 (test_events.invoke): Register new handlers.
2724 * gdb.python/py-events.exp: Add tests for inferior call,
2725 memory_changed and register_changed events.
2726
fdb09caf
AA
27272014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2728
2729 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2730 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2731 if the linker doesn't understand this.
2732
55cfb2c4
SM
27332014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2734
2735 * gdb.python/python.exp: Change expected reply to help().
2736
9e8cd6df
YQ
27372014-12-01 Yao Qi <yao@codesourcery.com>
2738
2739 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2740 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2741 * configure: Re-generated.
2742
6c659fc2
SC
27432014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2744
2745 * gdb.cp/chained-calls.cc: New file.
2746 * gdb.cp/chained-calls.exp: New file.
2747 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2748
d7fc3181
SM
27492014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2750
2751 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2752 * gdb.dwarf2/symtab-producer.exp: Same.
2753 * gdb.gdb/python-interrupts.exp: Same.
2754 * gdb.gdb/python-selftest.exp: Same.
2755 * gdb.python/py-linetable.exp: Same.
2756 * gdb.python/py-type.exp: Same.
2757 * gdb.python/py-value-cc.exp: Same.
2758 * gdb.python/py-value.exp: Same.
2759
10e79639
YQ
27602014-11-28 Yao Qi <yao@codesourcery.com>
2761
2762 * gdb.base/break-probes.exp: Match library name prefixed with
2763 sysroot.
2764
f28a0564
SM
27652014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2766
2767 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2768 test expected output. Add parentheses for the call to print.
2769 Remove L suffix from integers.
2770
3fe1ce1d
DE
27712014-11-26 Doug Evans <dje@google.com>
2772
2773 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2774
84429e27
YQ
27752014-11-22 Yao Qi <yao@codesourcery.com>
2776
2777 * gdb.trace/entry-values.c: Remove asms.
2778 (foo): Add foo_label.
2779 (bar): Add bar_label.
2780 * gdb.trace/entry-values.exp: Remove code computing foo's
2781 length and bar's length.
2782 (Dwarf::assemble): Invoke function_range for bar and use
2783 MACRO_AT_func for foo.
2784
26741859
YQ
27852014-11-22 Yao Qi <yao@codesourcery.com>
2786
2787 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2788 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2789 Use .Lgcc43_procstart instead of gcc43.
2790
45e44d27
JB
27912014-11-21 Joel Brobecker <brobecker@adacore.com>
2792
2793 * gdb.ada/n_arr_bound: New testcase.
2794
458c8db8
SDJ
27952014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2796
2797 PR breakpoints/10737
2798 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2799 test_catch_syscall_multi_arch.
2800 (test_catch_syscall_multi_arch): New function.
2801
43f3e411
DE
28022014-11-20 Doug Evans <xdje42@gmail.com>
2803
2804 * gdb.base/maint.exp: Update expected output.
2805
0d7b2549
AA
28062014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2807
2808 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2809 4-byte instruction on S390.
2810
8908fca5
JB
28112014-11-19 Joel Brobecker <brobecker@adacore.com>
2812
2813 * gdb.ada/arr_arr: New testcase.
2814
4a46959e
JB
28152014-11-19 Joel Brobecker <brobecker@adacore.com>
2816
2817 * gdb.ada/pkd_arr_elem: New Testcase.
2818
470e2f4e
LM
28192014-11-18 Luis Machado <lgustavo@codesourcery.com>
2820
2821 * gdb.reverse/break-precsave: Expect completion message for
2822 core file reads.
2823 * gdb.reverse/consecutive-precsave.exp: Likewise.
2824 * gdb.reverse/finish-precsave.exp: Likewise.
2825 * gdb.reverse/i386-precsave.exp: Likewise.
2826 * gdb.reverse/machinestate-precsave.exp: Likewise.
2827 * gdb.reverse/sigall-precsave.exp: Likewise.
2828 * gdb.reverse/solib-precsave.exp: Likewise.
2829 * gdb.reverse/step-precsave.exp: Likewise.
2830 * gdb.reverse/until-precsave.exp: Likewise.
2831 * gdb.reverse/watch-precsave.exp: Likewise.
2832
a267f3ad
AA
28332014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2834
2835 * gdb.base/bp-permanent.c: Include unistd.h.
2836 * gdb.python/py-framefilter-mi.c (main): Add return type.
2837 * gdb.python/py-framefilter.c (main): Likewise.
2838 * gdb.trace/actions-changed.c (main): Likewise.
2839
12084a9a
AA
28402014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2841
2842 * gdb.mi/until.c: Add eye-catchers.
2843 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2844 line numbers.
2845
dc7e1a77
AA
28462014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2847
2848 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2849 function header variants in break1.c.
2850 * gdb.base/ena-dis-br.exp: Likewise.
2851 * gdb.base/hbreak2.exp: Likewise.
2852 * gdb.reverse/until-precsave.exp: Drop references to removed
2853 non-prototype function header variants in ur1.c.
2854 * gdb.reverse/until-reverse.exp: Likewise.
2855
41c77605
PM
28562014-11-17 Petr Machata <pmachata@redhat.com>
2857
2858 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2859 ${_cu_offset_size} bytes abbrev offset.
2860
34248c3a
DE
28612014-11-15 Doug Evans <xdje42@gmail.com>
2862
2863 PR symtab/17559
2864 * gdb.base/line-symtabs.exp: New file.
2865 * gdb.base/line-symtabs.c: New file.
2866 * gdb.base/line-symtabs.h: New file.
2867
646da059
YQ
28682014-11-14 Yao Qi <yao@codesourcery.com>
2869
2870 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2871 (func): Add label func_label.
2872 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2873 Replace low_pc and high_pc with MACRO_AT_range.
2874 Replace name, low_pc and high_pc with MACRO_AT_func.
2875
9301ebe6
YQ
28762014-11-14 Yao Qi <yao@codesourcery.com>
2877
2878 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2879 Replace name, low_pc and high_pc with MACRO_AT_func.
2880
f166b542
YQ
28812014-11-14 Yao Qi <yao@codesourcery.com>
2882
2883 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2884 produce debug information.
2885 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2886
0f6e71e3
YQ
28872014-11-14 Yao Qi <yao@codesourcery.com>
2888
2889 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2890 object and get function length.
2891 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2892 with MACRO_AT_func.
2893 (top-level): Replace gdb_compile and clean_restart with
2894 prepare_for_testing.
2895 * gdb.dwarf2/main.c (main): Add label main_label.
2896
876c4df9
YQ
28972014-11-14 Yao Qi <yao@codesourcery.com>
2898
2899 * lib/dwarf.exp (function_range): New procedure.
2900 (Dwarf::_handle_macro_at_func): New procedure.
2901 (Dwarf::_handle_macro_at_range): New procedure.
2902 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2903
02ad9cf1
YQ
29042014-11-14 Yao Qi <yao@codesourcery.com>
2905
2906 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2907 (_handle_attribute): New procedure.
2908
a59add0c
AA
29092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2910
2911 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2912 * gdb.base/call-sc.c (zed): Likewise.
2913 * gdb.base/checkpoint.c (main): Likewise.
2914 * gdb.base/dump.c (main): Likewise.
2915 * gdb.base/gcore.c (main): Likewise.
2916 * gdb.base/huge.c (main): Likewise.
2917 * gdb.base/multi-forks.c (main): Likewise.
2918 * gdb.base/pr10179-a.c (main): Likewise.
2919 * gdb.base/savedregs.c (main): Likewise.
2920 * gdb.base/sigaltstack.c (main): Likewise.
2921 * gdb.base/siginfo.c (main): Likewise.
2922 * gdb.base/structs.c (zed): Likewise.
2923 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2924 * gdb.mi/mi-syn-frame.c (main): Likewise.
2925 * gdb.mi/until.c (foo, main): Likewise.
2926 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2927 * gdb.base/solib-weak.c (foo): Declare.
2928 * gdb.base/attach-twice.c: Include stdio.h.
2929 * gdb.base/weaklib1.c: Likewise.
2930 * gdb.base/weaklib2.c: Likewise.
2931 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2932 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2933 unistd.h.
2934 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2935 * gdb.mi/mi-exit-code.c: Likewise.
2936 * gdb.base/break-interp-lib.c: Include string.h.
2937 * gdb.base/coremaker.c: Likewise.
2938 * gdb.base/testenv.c: Likewise.
2939 * gdb.python/py-finish-breakpoint.c: Likewise.
2940 * gdb.base/inferior-died.c: Include sys/wait.h.
2941 * gdb.base/fileio.c: Include time.h.
2942 * gdb.base/async-shell.c: Include unistd.h.
2943 * gdb.base/dprintf-non-stop.c: Likewise.
2944 * gdb.base/info-os.c: Likewise.
2945 * gdb.mi/mi-console.c: Likewise.
2946 * gdb.mi/watch-nonstop.c: Likewise.
2947 * gdb.python/py-events.c: Likewise.
2948 * gdb.base/async.c (baz): Move up before its invocation.
2949 * gdb.base/code_elim2.c (my_global_func): Likewise.
2950 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2951 * gdb.base/advance.c (func2): Likewise.
2952
3b5d5997
AA
29532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2954
2955 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2956 variant.
2957 * gdb.base/annota3.c: Likewise.
2958 * gdb.base/async.c: Likewise.
2959 * gdb.base/average.c: Likewise.
2960 * gdb.base/call-ar-st.c: Likewise.
2961 * gdb.base/call-rt-st.c: Likewise.
2962 * gdb.base/call-sc.c: Likewise.
2963 * gdb.base/call-strs.c: Likewise.
2964 * gdb.base/ending-run.c: Likewise.
2965 * gdb.base/execd-prog.c: Likewise.
2966 * gdb.base/exprs.c: Likewise.
2967 * gdb.base/foll-exec.c: Likewise.
2968 * gdb.base/foll-fork.c: Likewise.
2969 * gdb.base/foll-vfork.c: Likewise.
2970 * gdb.base/funcargs.c: Likewise.
2971 * gdb.base/gcore.c: Likewise.
2972 * gdb.base/jump.c: Likewise.
2973 * gdb.base/langs0.c: Likewise.
2974 * gdb.base/langs1.c: Likewise.
2975 * gdb.base/langs2.c: Likewise.
2976 * gdb.base/mips_pro.c: Likewise.
2977 * gdb.base/nodebug.c: Likewise.
2978 * gdb.base/opaque0.c: Likewise.
2979 * gdb.base/opaque1.c: Likewise.
2980 * gdb.base/recurse.c: Likewise.
2981 * gdb.base/run.c: Likewise.
2982 * gdb.base/scope0.c: Likewise.
2983 * gdb.base/scope1.c: Likewise.
2984 * gdb.base/setshow.c: Likewise.
2985 * gdb.base/setvar.c: Likewise.
2986 * gdb.base/shmain.c: Likewise.
2987 * gdb.base/shr1.c: Likewise.
2988 * gdb.base/shr2.c: Likewise.
2989 * gdb.base/sigall.c: Likewise.
2990 * gdb.base/signals.c: Likewise.
2991 * gdb.base/so-indr-cl.c: Likewise.
2992 * gdb.base/solib2.c: Likewise.
2993 * gdb.base/structs.c: Likewise.
2994 * gdb.base/sum.c: Likewise.
2995 * gdb.base/vforked-prog.c: Likewise.
2996 * gdb.base/watchpoint.c: Likewise.
2997 * gdb.reverse/shr2.c: Likewise.
2998 * gdb.reverse/until-reverse.c: Likewise.
2999 * gdb.reverse/ur1.c: Likewise.
3000 * gdb.reverse/watch-reverse.c: Likewise.
3001
066a77c5
AA
30022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3003
3004 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3005 variant.
3006 * gdb.base/sepdebug.exp: Drop references to removed code.
3007
4f204ea5
AA
30082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3009
3010 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3011 variant. Preserve original line numbering.
3012 * gdb.base/list1.c: Likewise.
3013
3b377a3a
AA
30142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3015
3016 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3017 variant.
3018 * gdb.base/break1.c: Likewise.
3019 * gdb.base/break.exp: Drop references to removed code.
3020
e444df73
AA
30212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3022
3023 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3024 variant.
3025
8008f2a7
AA
30262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3027
3028 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3029
a5a06887
AA
30302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3031
3032 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3033 logic into perform_all_tests() and invoke it with and without
3034 function header prototypes.
3035 (do_function_calls): Remove conditional XFAIL for PR 5318.
3036 (rerun_and_prepare): Remove duplicate code.
3037 (perform_all_tests): New. Main logic moved here.
3038
44dba9b9
AA
30392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3040
3041 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3042 code guarded by #ifdef NO_PROTOTYPES.
3043 (t_double_many_args): Likewise.
3044 (DEF_FUNC_MANY_ARGS_1): Likewise.
3045 (DEF_FUNC_VALUES_1): Likewise.
3046 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3047 guarded by #ifdef PROTOTYPES.
3048
d1fbcd56
AA
30492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3050
3051 * gdb.mi/mi-console.c: Add eye-catcher.
3052 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3053 instead of literal line number.
3054
b0e59b8f
AA
30552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3056
3057 * gdb.base/shr2.c: Add eye-catcher.
3058 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3059 line number.
3060
78f98cca
AA
30612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3062
3063 * gdb.base/jump.c: Add eye-catchers.
3064 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3065 numbers.
3066
58fa2af0
AA
30672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3068
3069 * gdb.base/execd-prog.c: Add eye-catchers.
3070 * gdb.base/foll-exec.c: Likewise.
3071 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3072 line numbers.
3073
04e5059b
AA
30742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3075
3076 * gdb.base/ending-run.c: Add eye-catchers.
3077 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3078 literal line numbers.
3079
dbfdb174
AA
30802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3081
3082 * gdb.base/call-rt-st.c: Add eye-catchers.
3083 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3084 literal line numbers.
3085
888a2ade
AA
30862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3087
3088 * gdb.base/call-ar-st.c: Add eye-catchers.
3089 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3090 literal line numbers.
3091
6acc2dde
AA
30922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3093
3094 * gdb.base/average.c: Add eye-catchers.
3095 * gdb.base/sum.c: Likewise.
3096 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3097 regexps dynamically.
3098
9ecfcd1d
AA
30992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3100
3101 * gdb.base/solib1.c: Add eye-catchers.
3102 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3103 literal line numbers.
3104
78708b7c
PA
31052014-11-12 Pedro Alves <palves@redhat.com>
3106
3107 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3108 leader has exited.
3109
af48d08f
PA
31102014-11-12 Pedro Alves <palves@redhat.com>
3111
3112 * gdb.arch/i386-bp_permanent.c: New file.
3113 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3114 (srcfile): Set to i386-bp_permanent.c.
3115 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3116 that stepi does not execute the 'leave' instruction, instead of
3117 testing it does execute.
3118 * gdb.base/bp-permanent.c: New file.
3119 * gdb.base/bp-permanent.exp: New file.
3120
af3768e9
DE
31212014-11-10 Doug Evans <xdje42@gmail.com>
3122
3123 PR symtab/17564
3124 * gdb.base/symtab-search-order.exp: New file.
3125 * gdb.base/symtab-search-order.c: New file.
3126 * gdb.base/symtab-search-order-1.c: New file.
3127 * gdb.base/symtab-search-order-shlib-1.c: New file.
3128
9de00a4a
PA
31292014-11-07 Pedro Alves <palves@redhat.com>
3130
3131 PR gdb/17511
3132 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3133 i?86-*-linux*.
3134
e0f52461
SC
31352014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3136
3137 PR c++/17494
3138 * gdb.cp/pr17494.cc: New file.
3139 * gdb.cp/pr17494.exp: New file.
3140
6ce8c980
YQ
31412014-11-02 Yao Qi <yao@codesourcery.com>
3142
3143 * gdb.python/python.exp: Get working directory and match the
3144 output of "set extended-prompt \\w " with it.
3145
02be9a71
DE
31462014-10-30 Doug Evans <dje@google.com>
3147
3148 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3149 in objfiles.
3150 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3151 in progspaces.
3152
3bdff46b
LM
31532014-10-30 Janis Johnson <janisjo@codesourcery.com>
3154
3155 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3156 * gdb.base/realname-expand.exp: Likewise.
3157 * gdb.linespec/macro-relative.exp: Likewise.
3158
ab917dfb
PA
31592014-10-29 Pedro Alves <palves@redhat.com>
3160
3161 PR gdb/17408
3162 * gdb.threads/schedlock.c (some_function): New function.
3163 (call_function): New global.
3164 (MAYBE_CALL_SOME_FUNCTION): New macro.
3165 (thread_function): Call it.
3166 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3167 and use it instead of a global counter. Adjust all callers.
3168 (get_current_thread): Use "find current thread" for test message
3169 here rather than having all callers pass down the same string.
3170 (goto_loop): New procedure, factored out from ...
3171 (my_continue): ... this.
3172 (step_ten_loops): Change parameter from test message to command to
3173 use. Adjust.
3174 (list_count): Delete global.
3175 (check_result): New procedure, factored out from duplicate top
3176 level code.
3177 (continue tests): Wrap in with_test_prefix.
3178 (test_step): New procedure, factored out from duplicate top level
3179 code.
3180 (top level): Test "step" in combination with all scheduler-locking
3181 modes. Test "next" in combination with all scheduler-locking
3182 modes, and in combination with stepping over a function call or
3183 not.
3184 * gdb.threads/next-bp-other-thread.c: New file.
3185 * gdb.threads/next-bp-other-thread.exp: New file.
3186
d3d4baed
PA
31872014-10-29 Pedro Alves <palves@redhat.com>
3188
3189 PR python/17372
3190 * gdb.python/python.exp: Test a multi-line command that spawns
3191 interactive Python.
3192 * gdb.base/multi-line-starts-subshell.exp: New file.
3193
563e8d85
YQ
31942014-10-29 Yao Qi <yao@codesourcery.com>
3195
3196 * gdb.base/fileio.exp: Make directories on host.
3197
0ea4d52e
YQ
31982014-10-29 Yao Qi <yao@codesourcery.com>
3199
3200 * gdb.base/fileio.c (test_write): Close the file.
3201
7f5ef605
PA
32022014-10-28 Pedro Alves <palves@redhat.com>
3203
3204 PR gdb/12623
3205 * gdb.base/sigstep.c (no_handler): New global.
3206 (main): If 'no_handler is true, set the signal handlers to
3207 SIG_IGN.
3208 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3209 with_sw_watch and no_handler parameters. Handle them.
3210 (top level) <stepping over handler when stopped at a breakpoint
3211 test>: Add a test axis for testing with a software watchpoint, and
3212 another for testing with the signal handler set to SIG_IGN.
3213 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3214 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3215
abbdbd03
PA
32162014-10-28 Pedro Alves <palves@redhat.com>
3217
3218 PR gdb/17511
3219 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3220 * gdb.base/sigstep.exp (other_handler_location): New global.
3221 (advance): Support stepping into the signal handler, and running
3222 commands while in the handler.
3223 (in_handler_map): New global.
3224 (top level): In the advance test, add combinations for getting
3225 into the handler with stepping commands, and for running commands
3226 in the handler. Add comment descripting the advancei tests.
3227
1df4399f
PA
32282014-10-28 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.base/sigstep.exp: Use build_executable instead of
3231 prepare_for_testing.
3232 (top level): Move code that starts GDB, runs to main and creates a
3233 display to ...
3234 (restart): ... this new procedure.
3235 (top level): Move backtrace from signal handler test to ...
3236 (validate_backtrace): ... this new procedure.
3237 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3238 with_test_prefix. Always restart GDB.
3239 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3240 with_test_prefix. Always restart GDB. No need to delete
3241 breakpoints after the test.
3242 (test_skip_handler): Remove prefix parameter.
3243 (skip_over_handler, breakpoint_to_handler)
3244 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3245 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3246 restart GDB. No need to delete breakpoints after the test.
3247 (top level): Use foreach to call the test procedures with
3248 different commands.
3249
a5b6e449
PA
32502014-10-28 Pedro Alves <palves@redhat.com>
3251
3252 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3253 instead of GNATS numbers.
3254 * gdb.base/sigbpt.exp: Likewise.
3255 * gdb.base/siginfo.exp: Likewise.
3256 * gdb.base/sigstep.exp: Likewise.
3257
e5f8a7cc
PA
32582014-10-27 Pedro Alves <palves@redhat.com>
3259
3260 * gdb.base/sigstep.c (dummy): New global.
3261 (main): Issue a couple writes to the new global.
3262 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3263 procedures.
3264 (skip_over_handler): Use test_skip_handler.
3265 (top level): Call skip_over_handler for stepi and nexti too.
3266 (breakpoint_over_handler): Use test_skip_handler.
3267 (top level): Call breakpoint_over_handler for stepi and nexti too.
3268
763905a3
YQ
32692014-10-27 Yao Qi <yao@codesourcery.com>
3270
3271 * gdb.trace/tfile.c (adjust_function_address)
3272 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3273 function descriptor.
3274
6f259a23
DB
32752014-10-24 Don Breazeal <donb@codesourcery.com>
3276
3277 * gdb.base/foll-fork.exp (test_follow_fork,
3278 catch_fork_child_follow): Check for updated fork messages emitted
3279 from infrun.c.
3280 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3281 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3282 vfork_and_exec_child_follow_through_step): Check for updated vfork
3283 messages emitted from infrun.c.
3284
09dd9a69
PA
32852014-10-24 Pedro Alves <palves@redhat.com>
3286
3287 * gdb.base/corefile.exp: Remove references to ultrix.
3288 * gdb.base/interrupt.exp: Likewise.
3289 * gdb.base/whatis.exp: Likewise.
3290 * gdb.gdb/selftest.exp: Likewise.
3291 * gdb.threads/manythreads.exp: Likewise.
3292 * gdb.threads/print-threads.exp: Likewise.
3293 * gdb.threads/pthreads.exp:: Likewise.
3294 * gdb.threads/schedlock.exp: Likewise.
3295
3433cfa5
SC
32962014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3297
3298 * gdb.cp/non-trivial-retval.cc: Add a test case.
3299 * gdb.cp/non-trivial-retval.exp: Add a test.
3300
092f880b
YQ
33012014-10-20 Yao Qi <yao@codesourcery.com>
3302
3303 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3304 * gdb.python/py-objfile-script-gdb.py: New file.
3305 * gdb.python/py-objfile-script.exp: Update reference to
3306 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3307 of remote_download. Remove the dest file.
3308
acbdb7f3
YQ
33092014-10-20 Yao Qi <yao@codesourcery.com>
3310
3311 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3312 * gdb.base/step-line.exp: Likewise.
3313 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3314 * gdb.dwarf2/dw2-basic.exp: Likewise.
3315 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3316 * gdb.dwarf2/dw2-filename.exp: Likewise.
3317 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3318 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3319 * gdb.dwarf2/dw2-producer.exp: Likewise.
3320 * gdb.dwarf2/mac-fileno.exp: Likewise.
3321 * gdb.python/py-frame-args.exp: Likewise.
3322 * gdb.python/py-framefilter.exp: Likewise.
3323 * gdb.python/py-mi.exp: Likewise.
3324 * gdb.python/py-objfile-script.exp: Likewise
3325 * gdb.python/py-pp-integral.exp: Likewise.
3326 * gdb.python/py-pp-re-notag.exp: Likewise.
3327 * gdb.python/py-prettyprint.exp: Likewise.
3328 * gdb.python/py-section-script.exp: Likewise.
3329 * gdb.python/py-typeprint.exp: Likewise.
3330 * gdb.python/py-xmethods.exp: Likewise.
3331 * gdb.stabs/weird.exp: Likewise.
3332 * gdb.xml/tdesc-regs.exp: Likewise.
3333
bd286a29
KCY
33342014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3335
3336 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3337 (out_cu): Use addr_len for the size of addresses.
3338 (out_line): Likewise. Size DW_LNE_set_address instruction
3339 according to addr_len.
3340 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3341 (FUNC): Add START_INSNS to definition.
3342
673dc4a0
YQ
33432014-10-18 Yao Qi <yao@codesourcery.com>
3344
3345 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3346 gdb_has_argv0 return true.
3347 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3348 check [target_info exists noargs], check [gdb_has_argv0]
3349 instead.
3350 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3351 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3352 procedures.
3353
4ffbba72
DE
33542014-10-17 Doug Evans <dje@google.com>
3355
3356 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3357 event.
3358 * gdb.python/py-events.py: Add clear_objfiles event.
3359
d096d8c1
DE
33602014-10-17 Doug Evans <dje@google.com>
3361
3362 * gdb.python/py-objfile.exp: Test progspace attribute.
3363
a80db015
LM
33642014-10-17 Luis Machado <lgustavo@codesourcery.com>
3365
3366 * gdb.guile/scm-breakpoint.exp: Do not assume any
3367 directory separators when matching source file paths.
3368 * gdb.python/py-breakpoint.exp: Likewise.
3369 * gdb.reverse/break-precsave.exp: Likewise.
3370 * gdb.reverse/break-reverse.exp: Likewise.
3371 * gdb.reverse/consecutive-precsave.exp: Likewise.
3372 * gdb.reverse/finish-precsave.exp: Likewise.
3373 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3374 * gdb.reverse/finish-reverse.exp: Likewise.
3375 * gdb.reverse/i386-precsave.exp: Likewise.
3376 * gdb.reverse/i387-env-reverse.exp: Likewise.
3377 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3378 * gdb.reverse/machinestate-precsave.exp: Likewise.
3379 * gdb.reverse/machinestate.exp: Likewise.
3380 * gdb.reverse/sigall-precsave.exp: Likewise.
3381 * gdb.reverse/solib-precsave.exp: Likewise.
3382 * gdb.reverse/step-precsave.exp: Likewise.
3383 * gdb.reverse/until-precsave.exp: Likewise.
3384 * gdb.reverse/watch-precsave.exp: Likewise.
3385 * gdb.reverse/watch-reverse.exp: Likewise.
3386
b22089ab
YQ
33872014-10-17 Yao Qi <yao@codesourcery.com>
3388
3389 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3390 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3391
6c4486e6
PA
33922014-10-17 Pedro Alves <palves@redhat.com>
3393
3394 PR gdb/17471
3395 * gdb.base/bg-execution-repeat.c: New file.
3396 * gdb.base/bg-execution-repeat.exp: New file.
3397
0ff33695
PA
33982014-10-17 Pedro Alves <palves@redhat.com>
3399
3400 PR gdb/17300
3401 * gdb.base/continue-all-already-running.c: New file.
3402 * gdb.base/continue-all-already-running.exp: New file.
3403
6fdebc3d
PA
34042014-10-17 Pedro Alves <palves@redhat.com>
3405
3406 PR gdb/17472
3407 * gdb.base/annota-input-while-running.c: New file.
3408 * gdb.base/annota-input-while-running.exp: New file.
3409
32a8097b
PA
34102014-10-17 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.base/callfuncs.exp: emove references to osf.
3413 * gdb.base/sigall.exp: Likewise.
3414 * gdb.gdb/selftest.exp: Likewise.
3415 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3416 * gdb.mi/non-stop.c: Likewise.
3417 * gdb.mi/pthreads.c: Likewise.
3418 * gdb.reverse/sigall-precsave.exp: Likewise.
3419 * gdb.reverse/sigall-reverse.exp: Likewise.
3420 * gdb.threads/pthreads.c: Likewise.
3421 * gdb.threads/pthreads.exp: Likewise.
3422
7a3517ff
YQ
34232014-10-17 Yao Qi <yao@codesourcery.com>
3424
3425 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3426 check 'target_info exists noargs'.
3427 (test_command_prompt_position): Likewise.
3428 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3429 Remove "set args".
3430 (progvar_simple_while_test): Likewise.
3431 (progvar_complex_if_while_test): Likewise.
3432 (if_while_breakpoint_command_test): Likewise.
3433 (infrun_breakpoint_command_test): Likewise.
3434 (breakpoint_command_test): Likewise.
3435 (watchpoint_command_test): Likewise.
3436 (bp_deleted_in_command_test): Likewise.
3437 (temporary_breakpoint_commands): Likewise.
3438
bb99c472
YQ
34392014-10-16 Yao Qi <yao@codesourcery.com>
3440
3441 * gdb.base/remotetimeout.exp: Remove noargs checking.
3442
7c16b83e
PA
34432014-10-15 Pedro Alves <palves@redhat.com>
3444
3445 PR breakpoints/9649
3446 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3447 * gdb.base/breakpoint-in-ro-region.exp
3448 (probe_target_hardware_step): New procedure.
3449 (top level): Probe hardware stepping and hardware breakpoint
3450 support. Test stepping through a read-only region, with both
3451 "breakpoint auto-hw" on and off and both "always-inserted" on and
3452 off.
3453
35a49624
IB
34542014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3455
3456 * gdb.dlang/demangle.exp: Update for demangling changes.
3457
2d1c107c
SC
34582014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3459
3460 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3461 * gdb.cp/non-trivial-retval.exp: Add new tests.
3462
778811d5
SC
34632014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3464
3465 PR c++/13403
3466 PR c++/15154
3467 * gdb.cp/non-trivial-retval.cc: New file.
3468 * gdb.cp/non-trivial-retval.exp: New file.
3469
10c5f0a8
YQ
34702014-10-15 Yao Qi <yao@codesourcery.com>
3471
3472 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3473 remote host.
3474
65d7b369
YQ
34752014-10-15 Yao Qi <yao@codesourcery.com>
3476
3477 * gdb.python/py-symbol.exp: Match file base name if host is
3478 remote, otherwise match file name with dir name.
3479 * gdb.python/py-symtab.exp: Likewise.
3480 * gdb.python/python.exp: Likewise.
3481
46dc1394
YQ
34822014-10-15 Yao Qi <yao@codesourcery.com>
3483
3484 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3485 pattern.
3486 * gdb.python/py-symtab.exp: Likewise.
3487 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3488 locationn.
3489
c40cc657
JB
34902014-10-14 Joel Brobecker <brobecker@adacore.com>
3491
3492 * gdb.ada/addr_arith: New testcase.
3493
2abf49e1
MR
34942014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3495
3496 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3497 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3498 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3499 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3500
f7088df3
SDJ
35012014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3502
3503 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3504 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3505 * gdb.arch/stap-eval-lang-ada.exp: New file.
3506
4dc06805
YQ
35072014-10-14 Yao Qi <yao@codesourcery.com>
3508
3509 * gdb.mi/mi-var-child.c (nothing1): New function.
3510 (nothing2): New function.
3511 (do_children_tests): Set function pointers by nothing1 and
3512 nothing2.
3513 * gdb.mi/mi-var-child.exp: Step over new added statements.
3514 Update test to match the new output.
3515 * gdb.mi/var-cmd.c (nothing1): New function.
3516 (nothing2): New function.
3517 (do_children_tests): Set function pointers by nothing1 and
3518 nothing2.
3519 * gdb.mi/mi-var-display.exp: Update test to match output.
3520 Step to the line specified by $line_dct_nothing.
3521 Increase the number of lines to step.
3522
46a93de2
YQ
35232014-10-14 Yao Qi <yao@codesourcery.com>
3524
3525 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3526 tests.
3527 * gdb.mi/mi2-var-child.exp: Likewise.
3528
14ea52ee
DE
35292014-10-13 Doug Evans <dje@google.com>
3530
3531 * gdb.python/py-objfile.exp: Change name of file name test.
3532
e5c6e92b
DE
35332014-10-13 Doug Evans <dje@google.com>
3534
3535 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3536 from the start of the CU.
3537
c780cc2f
JK
35382014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3539 Yao Qi <yao@codesourcery.com>
3540
3541 Fix "save breakpoints" for "catch" command.
3542 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3543 Remove -nonewline. Match also the added "main" line.
3544
99894e11
JK
35452014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3546
3547 Fix "save breakpoints" for "disable $bpnum" command.
3548 * gdb.base/save-bp.c (main): Add label.
3549 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3550
6e1ac5a3
JK
35512014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3552
3553 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3554
754dd2b0
YQ
35552014-10-11 Yao Qi <yao@codesourcery.com>
3556
3557 * gdb.server/server-kill.exp: Execute command
3558 "set remote trace-status-packet on" before "tstatus".
3559
f90183d7
YQ
35602014-10-11 Yao Qi <yao@codesourcery.com>
3561
3562 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3563 (main): Call getppid.
3564 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3565 and continue to it. Read variable "server_pid".
3566
bf40a607
YQ
35672014-10-11 Yao Qi <yao@codesourcery.com>
3568
3569 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3570
052ca370
YQ
35712014-10-11 Yao Qi <yao@codesourcery.com>
3572
3573 * gdb.threads/thread-find.exp: Don't execute command
3574 "info threads".
3575 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3576 * gdb.threads/linux-dp.exp: Don't check the condition
3577 $threads_created equals to zero.
3578
3831839c
PA
35792014-10-10 Pedro Alves <palves@redhat.com>
3580
3581 * gdb.base/bigcore.exp: Remove references to IRIX.
3582 * gdb.base/funcargs.exp: Likewise.
3583 * gdb.base/interrupt.exp: Likewise.
3584 * gdb.base/mips_pro.exp: Likewise.
3585 * gdb.base/nodebug.exp: Likewise.
3586 * gdb.base/setvar.exp: Likewise.
3587 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3588
8b9a549d
PA
35892014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3590 Pedro Alves <palves@redhat.com>
3591
3592 PR symtab/14466
3593 * gdb.base/vdso-warning.c: New file.
3594 * gdb.base/vdso-warning.exp: New file.
3595
d48ba5e8
DE
35962014-10-02 Doug Evans <dje@google.com>
3597
3598 * gdb.base/structs.c (main): Don't run forever.
3599
2278c276
PA
36002014-10-02 Pedro Alves <palves@redhat.com>
3601
3602 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3603 (top level) <stop threads 1, stop threads 2>: Use it.
3604
b57bacec
PA
36052014-10-02 Pedro Alves <palves@redhat.com>
3606
3607 * gdb.threads/break-while-running.exp (test): Add new
3608 'update_thread_list' argument. Skip "info threads" if false.
3609 (top level): Add new 'update_thread_list' axis.
3610
13fd3ff3
PA
36112014-10-02 Pedro Alves <palves@redhat.com>
3612
3613 PR breakpoints/17431
3614 * gdb.base/execl-update-breakpoints.c: New file.
3615 * gdb.base/execl-update-breakpoints.exp: New file.
3616
0fec99e8
PA
36172014-10-01 Pedro Alves <palves@redhat.com>
3618
3619 * gdb.base/breakpoint-in-ro-region.c: New file.
3620 * gdb.base/breakpoint-in-ro-region.exp: New file.
3621
2ddf4301
SM
36222014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3623
3624 * gdb.mi/mi-exit-code.exp: New file.
3625 * gdb.mi/mi-exit-code.c: New file.
3626
6a5f3f43
YQ
36272014-09-30 Yao Qi <yao@codesourcery.com>
3628
3629 * lib/prelink-support.exp (build_executable_own_libs): Error if
3630 the target isn't native.
3631
345bcc73
YQ
36322014-09-30 Yao Qi <yao@codesourcery.com>
3633
3634 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3635 false.
3636
a25a5a45
PA
36372014-09-22 Pedro Alves <palves@redhat.com>
3638
3639 * gdb.threads/break-while-running.exp: New file.
3640 * gdb.threads/break-while-running.c: New file.
3641
00ba3162
YQ
36422014-09-19 Yao Qi <yao@codesourcery.com>
3643
3644 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3645 Invoke test. Restart GDB with --readnow and invoke test again.
3646
c3b7b696
YQ
36472014-09-19 Yao Qi <yao@codesourcery.com>
3648
3649 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3650 proc set_breakpoint_on_gcd_function. Invoke
3651 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3652 invoke set_breakpoint_on_gcd_function again.
3653
2b4fd423
DE
36542014-09-18 Doug Evans <dje@google.com>
3655
3656 * gdb.dwarf2/symtab-producer.exp: New file.
3657
a5947601
SDJ
36582014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3659
3660 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3661 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3662 * gdb.base/global-var-nested-by-dso.c: Likewise.
3663 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3664
91c19059
SDJ
36652014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3666 Pedro Alves <palves@redhat.com>
3667
3668 * gdb.base/watch-bitfields.exp: Pass string other than test file
3669 name to prepare_for_testing.
3670 (watch): New procedure.
3671 (expect_watchpoint): Use with_test_prefix.
3672 (top level): Factor out tests to ...
3673 (test_watch_location, test_regular_watch): ... these new
3674 procedures, and use with_test_prefix and gdb_continue_to_end.
3675
bb9d5f81
PP
36762014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3677
3678 PR breakpoints/12526
3679 * gdb.base/watch-bitfields.exp: New file.
3680 * gdb.base/watch-bitfields.c: New file.
3681
635856f5
PA
36822014-09-16 Pedro Alves <palves@redhat.com>
3683
3684 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3685 software and hardware addresses, not software address against
3686 itself.
3687
7280ceea
PA
36882014-09-16 Pedro Alves <palves@redhat.com>
3689
3690 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3691 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3692
428b16bd
PA
36932014-09-16 Pedro Alves <palves@redhat.com>
3694
3695 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3696 files.
3697 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3698 "*-*-vxworks*" throughout.
3699 * gdb.base/break.exp: Likewise.
3700 * gdb.base/default.exp: Likewise.
3701 * gdb.base/scope.exp: Likewise.
3702 * gdb.base/sepdebug.exp: Likewise.
3703 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3704 throughout.
3705 * gdb.base/run.c: Likewise.
3706 * gdb.base/sepdebug.c: Likewise.
3707 * gdb.hp/gdb.aCC/run.c: Likewise.
3708 * gdb.reverse/until-reverse.c: Likewise.
3709 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3710
666d413c
YQ
37112014-09-16 Yao Qi <yao@codesourcery.com>
3712
3713 * boards/local-remote-host-native.exp: New file.
3714
57cbd724
DE
37152014-09-14 Doug Evans <xdje42@gmail.com>
3716
3717 * gdb.threads/queue-signal.c (thread_count): New variable.
3718 (thread_count_mutex, thread_count_condvar): New variables.
3719 (incr_thread_count, wait_all_threads_running): New functions.
3720 (main): Wait for all threads to be in their thread functions.
3721
81219e53
DE
37222014-09-13 Doug Evans <xdje42@gmail.com>
3723
3724 * gdb.threads/queue-signal.c: New file.
3725 * gdb.threads/queue-signal.exp: New file.
3726
3714cea7
DE
37272014-09-13 Doug Evans <xdje42@gmail.com>
3728
3729 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3730 be consistent with what default_gdb_init uses.
3731 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3732 the plain text of the prompt. Add some logging printfs.
3733 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3734
fa43b1d7
PA
37352014-09-12 Pedro Alves <palves@redhat.com>
3736
3737 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3738 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3739 * gdb.arch/i386-size-overlap.exp: Likewise.
3740 * gdb.arch/i386-size.exp: Likewise.
3741 * gdb.arch/i386-unwind.exp: Likewise.
3742 * gdb.base/a2-run.exp: Likewise.
3743 * gdb.base/break.exp: Likewise.
3744 * gdb.base/charset.exp: Likewise.
3745 * gdb.base/chng-syms.exp: Likewise.
3746 * gdb.base/commands.exp: Likewise.
3747 * gdb.base/dbx.exp: Likewise.
3748 * gdb.base/find.exp: Likewise.
3749 * gdb.base/funcargs.exp: Likewise.
3750 * gdb.base/jit-simple.exp: Likewise.
3751 * gdb.base/reread.exp: Likewise.
3752 * gdb.base/sepdebug.exp: Likewise.
3753 * gdb.base/step-bt.exp: Likewise.
3754 * gdb.cp/mb-inline.exp: Likewise.
3755 * gdb.cp/mb-templates.exp: Likewise.
3756 * gdb.objc/basicclass.exp: Likewise.
3757 * gdb.threads/killed.exp: Likewise.
3758
9d9bf2df
EBM
37592014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3760
3761 PR tdep/17379
3762 * gdb.arch/powerpc-stackless.S: New file.
3763 * gdb.arch/powerpc-stackless.exp: New file.
3764
1cf2f1b0
JK
37652014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3766
3767 * gdb.base/attach.c: Include unistd.h.
3768 (main): Call alarm. Add label postloop.
3769 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3770 gdb_breakpoint, gdb_continue_to_breakpoint.
3771 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3772
98880d46
PA
37732014-09-11 Pedro Alves <palves@redhat.com>
3774
3775 PR gdb/17347
3776 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3777 * gdb.base/attach.exp (test_command_line_attach_run): New
3778 procedure.
3779 (top level): Call it.
3780
4c92ff2c
PA
37812014-09-11 Pedro Alves <palves@redhat.com>
3782
3783 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3784 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3785 (do_command_attach_tests): Use spawn_wait_for_attach.
3786 * gdb.base/solib-overlap.exp: Likewise.
3787 * gdb.multi/multi-attach.exp: Likewise.
3788 * gdb.python/py-prompt.exp: Likewise.
3789 * gdb.python/py-sync-interp.exp: Likewise.
3790 * gdb.server/ext-attach.exp: Likewise.
3791
3adc1a7d
GKB
37922014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3793
3794 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3795 command in testcase. Simplify testcase.
3796
96334934
JB
37972014-09-10 Joel Brobecker <brobecker@adacore.com>
3798
3799 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3800
eb479039
JB
38012014-09-10 Joel Brobecker <brobecker@adacore.com>
3802
3803 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3804
deede10c
JB
38052014-09-10 Joel Brobecker <brobecker@adacore.com>
3806
3807 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3808
7828a5f5
JB
38092014-09-10 Joel Brobecker <brobecker@adacore.com>
3810
3811 * gdb.dwarf2/dynarr-ptr.c: New file.
3812 * gdb.dwarf2/dynarr-ptr.exp: New file.
3813
33aeebcf
MR
38142014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3815
3816 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3817 of 30 rather than hardcoding 120 for a slow test case. Take the
3818 `gdb,timeout' target setting into account for this calculation.
3819 Don't extend the timeout for the test cases that don't need it.
3820
7b415901
MR
38212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3822
3823 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3824 a factor of 2 for a slow test case. Take the `gdb,timeout'
3825 target setting into account for this calculation.
3826 * gdb.reverse/until-precsave.exp: Increase the timeout by
3827 a factor of 15 and 3 respectively rather than adding 120
3828 for a pair of slow test cases. Take the `gdb,timeout'
3829 target setting into account for this calculation.
3830
4a40f85a
MR
38312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3832
3833 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3834 timeout, don't pass one down to gdb_expect.
3835 (gdb_expect): Rework timeout selection.
3836
09635af7
MR
38372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3838
3839 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3840 exception on timeout.
3841 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3842 (gdbserver_start_extended): Catch any `gdbserver_start' error
3843 exceptions.
3844 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3845 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3846 `gdbserver_gdb_load' error exceptions.
3847
2bdd10b7
MR
38482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3849
3850 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3851 120 on waiting for the TCP socket to open.
3852
316935f0
DE
38532014-09-09 Doug Evans <xdje42@gmail.com>
3854
3855 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3856 _caller_matches, _any_caller_is, _any_caller_matches.
3857
83740597
DE
38582014-09-09 Doug Evans <xdje42@gmail.com>
3859
3860 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3861
4c122fc3
YQ
38622014-09-09 Yao Qi <yao@codesourcery.com>
3863
3864 * gdb.mi/mi-var-display.exp: Set print symbol off.
3865
a9f116cb
GKB
38662014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3867
3868 PR gdb/17035
3869 * gdb.base/commands.exp: Add tests to verify user-defined
3870 commands with empty bodies.
3871 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3872 python commands in `show user command`.
3873 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3874 scheme commands in `show user command`.
3875
c75bd3a2
JK
38762014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3877
3878 PR python/17355
3879 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3880 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3881 * gdb.python/py-framefilter-invalidarg.exp: New file.
3882 * gdb.python/py-framefilter-invalidarg.py: New file.
3883
faa42425
DE
38842014-09-06 Doug Evans <xdje42@gmail.com>
3885
3886 PR 15276
3887 * gdb.python/py-caller-is.c: New file.
3888 * gdb.python/py-caller-is.exp: New file.
3889
474ca4f6
SDJ
38902014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3891
3892 PR gdb/17235
3893 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3894 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3895
eb0b0463
SDJ
38962014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3897
3898 PR fortran/17237
3899 * gdb.fortran/print-formatted.exp: New file.
3900 * gdb.fortran/print-formatted.f90: Likewise.
3901
5f3b99cf
SS
39022014-09-03 Sasha Smundak <asmundak@google.com>
3903
3904 * gdb.python/py-frame.exp: Test Frame.read_register.
3905
7d793aa9
SDJ
39062014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3907
3908 PR python/16699
3909 * gdb.python/py-completion.exp: New file.
3910 * gdb.python/py-completion.py: Likewise.
3911
fb0576e9
DE
39122014-08-28 Doug Evans <dje@google.com>
3913
3914 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3915 eax,etc. are live with values set by gdb and thus the compiler can't
3916 use them.
3917 * gdb.arch/i386-pseudo.c (main): Ditto.
3918
ee92b0dd
DE
39192014-08-27 Doug Evans <dje@google.com>
3920
3921 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3922
6649db35
DE
39232014-08-25 Doug Evans <dje@google.com>
3924
3925 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3926 (main): Ditto.
3927
564b7600
DE
39282014-08-25 Doug Evans <dje@google.com>
3929
3930 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3931
3881fb67
YQ
39322014-08-24 Yao Qi <yao@codesourcery.com>
3933
3934 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3935 symbol off.
3936 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3937
a05a36a5
DE
39382014-08-22 Doug Evans <dje@google.com>
3939
3940 PR 17276
3941 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3942 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3943 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3944
7c343b48
YQ
39452014-08-22 Yao Qi <yao@codesourcery.com>
3946
3947 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3948 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3949 * gdb.python/python.exp: Likewise. Use .py file on the host
3950 instead of the build.
3951
22fd09ae
JK
39522014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 * gdb.threads/gcore-stale-thread.c: New file.
3955 * gdb.threads/gcore-stale-thread.exp: New file.
3956
a8454a7c
PA
39572014-08-21 Pedro Alves <palves@redhat.com>
3958
3959 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3960 * gdb.base/gcore-relro-pie.exp: Likewise.
3961 * gdb.base/gcore-relro.exp: Likewise.
3962 * gdb.base/gcore.exp: Likewise.
3963 * gdb.base/print-symbol-loading.exp: Likewise.
3964 * gdb.threads/gcore-thread.exp: Likewise.
3965 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3966
2a31c623
PA
39672014-08-20 Pedro Alves <palves@redhat.com>
3968 Jan Kratochvil <jan.kratochvil@redhat.com>
3969
3970 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3971 configure.
3972 (EXPECT): Handle READ1 being set.
3973 (all): Depend on EXTRA_RULES.
3974 (check-read1, expect-read1, read1.so, read1): New rules.
3975 * README (Testsuite Parameters): Document the READ1 make variable.
3976 (Race detection): New section.
3977 * configure: Regenerate.
3978 * configure.ac: If build==host==target, and running under a
3979 GNU/glibc system, add read1 to the extra Makefile rules.
3980 (EXTRA_RULES): AC_SUBST it.
3981 * lib/read1.c: New file.
3982
d36430db
JB
39832014-08-20 Joel Brobecker <brobecker@adacore.com>
3984
3985 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3986 the handling of variables declared as a typedef to an array
3987 which a DW_AT_data_location attribute.
3988
9a0dc9e3
PA
39892014-08-19 Andrew Burgess <aburgess@broadcom.com>
3990 Pedro Alves <palves@redhat.com>
3991
3992 PR symtab/14604
3993 PR symtab/14605
3994 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3995 gdb_test.
3996
0718a8da
PA
39972014-08-19 Pedro Alves <palves@redhat.com>
3998
3999 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4000
13b448cd
YQ
40012014-08-19 Yao Qi <yao@codesourcery.com>
4002
4003 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4004 right line.
4005
1cbf5077
DB
40062014-08-18 David Blaikie <dblaikie@gmail.com>
4007
4008 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4009
bf0fae19
JB
40102014-08-18 Joel Brobecker <brobecker@adacore.com>
4011
4012 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4013 attribute in array range.
4014
3c8c5dcc
JB
40152014-08-18 Joel Brobecker <brobecker@adacore.com>
4016
4017 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4018
e66d4446
SC
40192014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4020
4021 PR c++/17132
4022 * gdb.cp/pr17132.cc: New file.
4023 * gdb.cp/pr17132.exp: New file.
4024
940df408
SC
40252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4026
4027 * gdb.python/py-xmethods.py (A_getarrayind)
4028 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4029 Use 'print' with function call syntax.
4030 (E_method_matcher.match): Fix tab vs space indentation mixup.
4031
ebcc6c3a
YQ
40322014-08-15 Yao Qi <yao@codesourcery.com>
4033
4034 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4035 false.
4036
775e0f04
YQ
40372014-08-15 Yao Qi <yao@codesourcery.com>
4038
4039 * gdb.cp/casts.exp: Set print symbol off.
4040 * gdb.cp/class2.exp: Likewise.
4041 * gdb.cp/overload.exp: Likewise.
4042 * gdb.cp/templates.exp: Likewise.
4043
d769e349
DE
40442014-08-11 Doug Evans <dje@google.com>
4045
4046 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4047 (test_load_shlib): Update.
4048
20c6f1e1
YQ
40492014-08-09 Yao Qi <yao@codesourcery.com>
4050
4051 * gdb.base/display.exp: Invoke is_address_zero_readable.
4052 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4053 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4054 * gdb.base/hbreak-unmapped.exp: Return if
4055 is_address_zero_readable returns true.
4056 * gdb.base/signest.exp: Likewise.
4057 * gdb.base/signull.exp: Likewise.
4058 * gdb.base/sigbpt.exp: Likewise.
4059 * gdb.guile/scm-disasm.exp: Do the test if
4060 is_address_zero_readable returns false.
4061 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4062 * gdb.python/py-arch.exp: Likewise.
4063 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4064 * lib/gdb.exp (is_address_zero_readable): New proc.
4065
5792e8e3
YQ
40662014-08-09 Yao Qi <yao@codesourcery.com>
4067
4068 PR testsuite/13443
4069 * gdb.mi/mi-var-display.exp: Make test messages unique.
4070
3cecbbbe
TT
40712014-08-04 Tom Tromey <tromey@redhat.com>
4072
4073 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4074 target 0".
4075
00b51ff5
TT
40762014-08-04 Tom Tromey <tromey@redhat.com>
4077
4078 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4079 "target_resume".
4080
6908c509
JB
40812014-08-01 Joel Brobecker <brobecker@adacore.com>
4082
4083 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4084 inner_vla_struct_object_size.
4085 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4086 as xfail.
4087
cc6563d2
PA
40882014-07-30 Pedro Alves <palves@redhat.com>
4089
4090 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4091 comment.
4092
7e09a223
YQ
40932014-07-29 Yao Qi <yao@codesourcery.com>
4094
4095 PR gdb/17206
4096 * gdb.base/until-nodebug.exp: New.
4097
7ebdbe92
DE
40982014-07-28 Doug Evans <xdje42@gmail.com>
4099
4100 PR guile/17203
4101 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4102 previously existing parameter, and previously ambiguously spelled
4103 parameter.
4104
fdb1adc6
WN
41052014-07-28 Will Newton <will.newton@linaro.org>
4106
4107 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4108
186fcde0
DE
41092014-07-26 Ludovic Courtès <ludo@gnu.org>
4110 Doug Evans <xdje42@gmail.com>
4111
4112 PR guile/17146
4113 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4114
70509625
PA
41152014-07-25 Pedro Alves <palves@redhat.com>
4116
4117 * gdb.threads/signal-command-handle-nopass.c: New file.
4118 * gdb.threads/signal-command-handle-nopass.exp: New file.
4119 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4120 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4121 * gdb.threads/signal-delivered-right-thread.c: New file.
4122 * gdb.threads/signal-delivered-right-thread.exp: New file.
4123
c3f814a1
PA
41242014-07-25 Pedro Alves <palves@redhat.com>
4125
4126 * gdb.base/double-prompt-target-event-error.exp
4127 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4128 match.
4129 (cancel_pagination_in_target_event): Rework double prompt
4130 detection.
4131 * gdb.base/paginate-after-ctrl-c-running.exp
4132 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4133 <return>' match.
4134 * gdb.base/paginate-bg-execution.exp
4135 (test_bg_execution_pagination_return)
4136 (test_bg_execution_pagination_cancel): Remove '-notransfer
4137 <return>' matches.
4138 * gdb.base/paginate-execution-startup.exp
4139 (test_fg_execution_pagination_return)
4140 (test_fg_execution_pagination_cancel): Remove '-notransfer
4141 <return>' matches.
4142 * gdb.base/paginate-inferior-exit.exp
4143 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4144 match.
4145 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4146 * lib/gdb.exp (pagination_prompt): Run text through
4147 string_to_regexp.
4148 (gdb_test_multiple): Match $pagination_prompt instead of
4149 "<return>".
4150 (string_to_regexp): Move to lib/gdb-utils.exp.
4151
e214cf6c
JK
41522014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4153
4154 * gdb.arch/amd64-entry-value-paramref.S: New file.
4155 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4156 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4157 * gdb.arch/amd64-optimout-repeat.S: New file.
4158 * gdb.arch/amd64-optimout-repeat.c: New file.
4159 * gdb.arch/amd64-optimout-repeat.exp: New file.
4160
17d0c5c8
JK
41612014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4162
4163 PR gdb/17170
4164 * gdb.base/statistics.exp: New file.
4165
b8b8facf
DE
41662014-07-17 Doug Evans <dje@google.com>
4167
74b49205 4168 PR gdb/17170
b8b8facf
DE
4169 * gdb.base/maint.exp: Update testing of per-command stats.
4170
1b5d0ab3
PA
41712014-07-16 Pedro Alves <palves@redhat.com>
4172
4173 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4174 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4175 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4176 (tfile_write_buf): New functions.
4177 (add_memory_block): Rewrite using the above.
4178 (adjust_function_address): New function.
4179 (FUNCTION_ADDRESS): New macro.
4180 (write_basic_trace_file): Remove short_x local, and use
4181 tfile_write_16. Change type of func_addr local to unsigned long
4182 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4183 here. Cast argument of add_memory_block to char pointer.
4184 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4185 (main): Remove parameters.
4186 * gdb.trace/tfile.exp: Remove nowarnings.
4187
4d974e88
SM
41882014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4189
4190 * gdb.base/debug-expr.exp: Test string evaluation with
4191 "debug expression" on.
4192
41e99568
PA
41932014-07-15 Pedro Alves <palves@redhat.com>
4194
4195 * gdb.base/reread.exp: Use clean_restart.
4196
487d9753
PL
41972014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4198
4199 * gdb.arch/avr-flash-qualifer.c: New.
4200 * gdb.arch/avr-flash-qualifer.exp: New.
4201
cc1c52ad
PA
42022014-07-14 Pedro Alves <palves@redhat.com>
4203
4204 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4205 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4206
1e973570
PA
42072014-07-14 Pedro Alves <palves@redhat.com>
4208
4209 * gdb.base/double-prompt-target-event-error.c: New file.
4210 * gdb.base/double-prompt-target-event-error.exp: New file.
4211
93d6eb10
PA
42122014-07-14 Pedro Alves <palves@redhat.com>
4213
4214 PR gdb/17072
4215 * gdb.base/paginate-inferior-exit.c: New file.
4216 * gdb.base/paginate-inferior-exit.exp: New file.
4217
0017922d
PA
42182014-07-14 Pedro Alves <palves@redhat.com>
4219
4220 PR gdb/17072
4221 * gdb.base/paginate-bg-execution.c: New file.
4222 * gdb.base/paginate-bg-execution.exp: New file.
4223
94696ad3
PA
42242014-07-14 Pedro Alves <palves@redhat.com>
4225
4226 PR gdb/17072
4227 * gdb.base/paginate-execution-startup.c: New file.
4228 * gdb.base/paginate-execution-startup.exp: New file.
4229 * lib/gdb.exp (pagination_prompt): New global.
4230 (default_gdb_spawn): New procedure, factored out from
4231 default_gdb_spawn.
4232 (default_gdb_start): Adjust to call default_gdb_spawn.
4233 (gdb_spawn): New procedure.
4234
bd293940
PA
42352014-07-14 Pedro Alves <palves@redhat.com>
4236
4237 * lib/gdb.exp (gdb_assert): New procedure.
4238 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4239
c933f875
PA
42402014-07-14 Pedro Alves <palves@redhat.com>
4241
4242 * gdb.base/execution-termios.c: New file.
4243 * gdb.base/execution-termios.exp: New file.
4244
d98b7a16
TT
42452014-07-14 Tom Tromey <tromey@redhat.com>
4246
4247 * gdb.cp/vla-cxx.cc: New file.
4248 * gdb.cp/vla-cxx.exp: New file.
4249
548740d6
TT
42502014-07-14 Tom Tromey <tromey@redhat.com>
4251
4252 * gdb.reverse/rerun-prec.c: New file.
4253 * gdb.reverse/rerun-prec.exp: New file.
4254
a25eb028
MR
42552014-07-12 Maciej W. Rozycki <macro@mips.com>
4256 Maciej W. Rozycki <macro@codesourcery.com>
4257
4258 * lib/gdb-utils.exp: New file.
4259 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4260 inline `gdb_init_command' processing.
4261 (gdb_start_cmd): Likewise.
4262 * lib/mi-support.exp (mi_run_cmd): Likewise.
4263 * README: Document `gdb_init_command' and `gdb_init_commands'.
4264
218c2655
JK
42652014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4266
4267 Fix false FAIL running under a very long directory name.
4268 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4269 and "set print elements 10000". Twice.
4270
5401fde3
YQ
42712014-07-11 Yao Qi <yao@codesourcery.com>
4272
4273 * gdb.base/exprs.exp: "set print symbol off".
4274
e76126e8
PA
42752014-07-11 Pedro Alves <palves@redhat.com>
4276
4277 * gdb.threads/kill.c: New file.
4278 * gdb.threads/kill.exp: New file.
4279
2d6f0de6
YQ
42802014-07-10 Yao Qi <yao@codesourcery.com>
4281
4282 * gdb.trace/tfile.c (write_basic_trace_file)
4283 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4284 address written to trace file.
4285
7180e04a
PA
42862014-07-09 Pedro Alves <palves@redhat.com>
4287
4288 * gdb.base/attach-wait-input.exp: New file.
4289 * gdb.base/attach-wait-input.c: New file.
4290
9a9a7608
AB
42912014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4292
4293 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4294 setting up test structures.
4295 (main): Call new test function.
4296 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4297 test function, continue into test function and walk test
4298 structures.
4299
161ac41e
YQ
43002014-07-02 Yao Qi <yao@codesourcery.com>
4301
4302 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4303 'bar_start' at the beginning of functions 'foo' and 'bar'
4304 respectively.
4305 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4306 instead of 'foo' and 'bar'.
4307
1f267ae3
MM
43082014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4309
4310 * gdb.btrace/segv.exp: New.
4311 * gdb.btrace/segv.c: New.
4312
2b239efb
LM
43132014-07-02 Luis Machado <lgustavo@codesourcery.com>
4314
4315 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4316 instruction.
4317
cf363f18
MW
43182014-06-30 Mark Wielaard <mjw@redhat.com>
4319
4320 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4321 vulture, vilify, villar): New volatile array constants.
4322 (vindictive, vegetation): New const volatile array constants.
4323 * gdb.base/volatile.exp: Test volatile and const volatile array
4324 types.
4325
aebf9d24
AA
43262014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4327
4328 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4329 target lacks support for awatch, rwatch, or hbreak.
4330
b67a2c6f
YQ
43312014-06-27 Yao Qi <yao@codesourcery.com>
4332
4333 * gdb.multi/dummy-frame-restore.exp: New.
4334 * gdb.multi/dummy-frame-restore.c: New.
4335
aef92902
MM
43362014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4337
4338 * gdb.btrace/gcore.exp: New.
4339
8e9db26e
PA
43402014-06-23 Pedro Alves <palves@redhat.com>
4341
4342 * gdb.base/watchpoint-reuse-slot.c: New file.
4343 * gdb.base/watchpoint-reuse-slot.exp: New file.
4344
70afc5b7
SC
43452014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4346
4347 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4348 progspace's filename in 'info', 'enable' and 'disable' command
4349 tests.
4350
b972bd9c
JK
43512014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4352
4353 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4354 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4355 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4356
125f8a3d
GB
43572014-06-20 Gary Benson <gbenson@redhat.com>
4358
4359 * gdb.arch/i386-avx.exp: Fix include file location.
4360 * gdb.arch/i386-sse.exp: Likewise.
4361
3ed9baed
IB
43622014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4363
4364 * gdb.dlang/expression.exp: New file.
4365
034f788c
PA
43662014-06-19 Pedro Alves <palves@redhat.com>
4367
4368 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4369 out from ...
4370 (top level): ... here. Iterate running tests under different
4371 scheduler-locking settings.
4372
45371d0c
LM
43732014-06-18 Luis Machado <lgustavo@codesourcery.com>
4374
4375 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4376 to DW_FORM_addr and use non-zero addresses.
4377
5d376983
SC
43782014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4379
4380 PR gdb/17017
4381 * gdb.python/py-xmethods.cc: Add global function call counters and
4382 increment them in their respective functions. Remove "cout"
4383 statements.
4384 * gdb.python/py-xmethods.exp: Make tests check the global function
4385 call counters instead of depending on inferior IO.
4386
a1aa2221
LM
43872014-06-18 Don Breazeal <donb@codesourcery.com>
4388
4389 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4390 Deleted procedure.
4391 (explicit_fork_parent_follow): Deleted procedure.
4392 (explicit_fork_child_follow): Deleted procedure.
4393 (test_follow_fork): New procedure.
4394 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4395 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4396 procedure calls.
4397
0fc05997
YQ
43982014-06-17 Yao Qi <yao@codesourcery.com>
4399
4400 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4401 CP1252.
4402
70795c52
LM
44032014-06-17 Luis Machado <lgustavo@codesourcery.com>
4404
4405 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4406 Initialize ptr and S explicitly.
4407 (skip_type_update_when_not_use_rtti_test): Likewise.
4408
6be47f0c
KS
44092014-06-16 Keith Seitz <keiths@redhat.com>
4410
4411 PR mi/15863
4412 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4413 the inferior is started.
4414
d03de421
PA
44152014-06-16 Pedro Alves <palves@redhat.com>
4416
4417 * gdb.base/break-main-file-remove-fail.c: New file.
4418 * gdb.base/break-main-file-remove-fail.exp: New file.
4419 * gdb.base/break-unload-file.exp: Use build_executable instead of
4420 prepare_for_testing.
4421 (test_break): New parameter "initial_load". Handle it.
4422 (top level): Add initial_load cmdline/file axis.
4423
f9579b99
TT
44242014-06-12 Tom Tromey <tromey@redhat.com>
4425
4426 * gdb.base/completion.exp: Don't use directory name in test.
4427
3657956b
GB
44282014-06-09 Gary Benson <gbenson@redhat.com>
4429
4430 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4431 separate the always-available ANSI-standard signals from the
4432 signals that require checking.
4433 (main): Likewise.
4434 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4435 Likewise.
4436 (main): Likewise.
4437
4186eb54
KS
44382014-06-07 Keith Seitz <keiths@redhat.com>
4439
4440 Revert:
4441 PR c++/16253
4442 * gdb.cp/var-tag.cc: New file.
4443 * gdb.cp/var-tag.exp: New file.
4444 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4445 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4446 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4447 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4448
25326a28 44492014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4450
4451 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4452
829155c9
PA
44532014-06-06 Pedro Alves <palves@redhat.com>
4454
4455 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4456 in target debug output instead of looking at RSP packets,
4457 disabling the test on any target that uses hardware stepping.
4458 Update comments.
4459
61c8d22e
PA
44602014-06-06 Pedro Alves <palves@redhat.com>
4461
4462 * gdb.base/break-unload-file.exp: Fix typo.
4463
d9a47287
YQ
44642014-06-06 Yao Qi <yao@codesourcery.com>
4465
4466 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4467 from "jit_function" to "^jit_function".
4468
e5e01dbf
YQ
44692014-06-06 Yao Qi <yao@codesourcery.com>
4470
4471 * gdb.base/async.c (foo): Add one statement.
4472 * gdb.base/async.exp: Get the next instruction address and
4473 match the output of "nexti" by instruction address. Match
4474 the hex address in the output of "finish".
4475
73ba372c
GB
44762014-06-06 Gary Benson <gbenson@redhat.com>
4477
4478 * gdb.base/call-signals.c: Remove preprocessor conditionals
4479 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4480 SIGSEGV and SIGTERM.
4481 * gdb.base/sigall.c: Likewise.
4482 * gdb.base/unwindonsignal.c: Likewise.
4483 * gdb.reverse/sigall-reverse.c: Likewise.
4484
831517df
YQ
44852014-06-06 Yao Qi <yao@codesourcery.com>
4486
4487 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4488 readable, skip the test.
4489
b8b91e98
YQ
44902014-06-06 Yao Qi <yao@codesourcery.com>
4491
4492 * gdb.threads/staticthreads.c (thread_function): Move the line
4493 setting breakpoint on forward.
4494 * gdb.threads/staticthreads.exp: Update comments.
4495
fb934770
LC
44962014-06-05 Ludovic Courtès <ludo@gnu.org>
4497
4498 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4499 "history-append! type error".
4500
6ef284bd
SM
45012014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4502
4503 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4504 erroneous dprintf expected input.
4505
a872e241
DE
45062014-06-04 Doug Evans <xdje42@gmail.com>
4507
4508 * gdb.guile/scm-generics.exp: Delete.
4509
16f691fb
DE
45102014-06-04 Doug Evans <xdje42@gmail.com>
4511
4512 * gdb.guile/scm-breakpoint.exp: Update.
4513 Add tests for breakpoint registration.
4514
012370f6
TT
45152014-06-04 Tom Tromey <tromey@redhat.com>
4516
4517 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4518 VLA-in-union.
4519 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4520 inner_vla_struct, vla_union types. Initialize objects of those
4521 types and compute their sizes.
4522
9f5a4cef
HZ
45232014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4524 Hui Zhu <hui@codesourcery.com>
4525
4526 * gdb.base/fileio.exp: Add test for shell not available as well as
4527 available.
4528 * gdb.base/fileio.c (test_system): Check for shell twice.
4529
90a45c4d
YQ
45302014-06-04 Yao Qi <yao@codesourcery.com>
4531
4532 * gdb.base/auto-connect-native-target.exp: Remove redundant
4533 space from the regexp pattern.
4534
70017e41
YQ
45352014-06-04 Yao Qi <yao@codesourcery.com>
4536
4537 * gdb.base/default.exp: Replace "child" with "native" in
4538 regexp pattern.
4539
883964a7
SC
45402014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4541
4542 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4543 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4544 * gdb.python/py-xmethods.py: Python script supporting the
4545 new testcase and tests.
4546
ef370185
JB
45472014-06-03 Joel Brobecker <brobecker@adacore.com>
4548 Pedro Alves <palves@redhat.com>
4549
4550 PR breakpoints/17000
4551 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4552 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4553
1e2ccb61
BM
45542014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4555
4556 * gdb.base/subst.exp: Add tests to verify partial path matching
4557 output.
4558
c6ec5ab2
PA
45592014-06-03 Pedro Alves <palves@redhat.com>
4560
4561 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4562 target that doesn't use software single-stepping.
4563
835c559f
PA
45642014-06-03 Pedro Alves <palves@redhat.com>
4565
4566 PR breakpoints/17000
4567 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4568 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4569
06eb1586
DE
45702014-06-02 Doug Evans <xdje42@gmail.com>
4571
4572 * gdb.guile/scm-parameter.exp: New file.
4573
e698b8c4
DE
45742014-06-02 Doug Evans <xdje42@gmail.com>
4575
4576 * gdb.guile/scm-cmd.c: New file.
4577 * gdb.guile/scm-cmd.exp: New file.
4578
ded03782
DE
45792014-06-02 Doug Evans <xdje42@gmail.com>
4580
4581 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4582 pretty-printer lookup.
4583 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4584 (make-pp_s-printer): Call it.
4585 (make-pretty-printer-from-dict): New function.
4586 (lookup-pretty-printer-maker-from-dict): New function.
4587 (*pretty-printer*): Simplify.
4588 (make-objfile-pp_s-printer): New function.
4589 (install-objfile-pretty-printers!): New function.
4590 (make-progspace-pp_s-printer): New function.
4591 (install-progspace-pretty-printers!): New function.
4592 * gdb.guile/scm-progspace.c: New file.
4593 * gdb.guile/scm-progspace.exp: New file.
4594
41fac0cf
PA
45952014-06-02 Pedro Alves <palves@redhat.com>
4596
4597 * gdb.base/dprintf-bp-same-addr.c: New file.
4598 * gdb.base/dprintf-bp-same-addr.exp: New file.
4599
96ae5695
EBM
46002014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4601
4602 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4603 * gdb.arch/powerpc-power.s: Likewise.
4604
da02b3a8
JB
46052014-06-02 Joel Brobecker <brobecker@adacore.com>
4606
4607 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4608
c72b2e7b
YQ
46092014-06-01 Yao Qi <yao@codesourcery.com>
4610
4611 * gdb.base/watchpoint.exp (test_watch_location): Check null
4612 pointer can be dereferenced. If not, do the test, otherwise
4613 skip it.
4614
53e8a631
AB
46152014-05-30 Andrew Burgess <aburgess@broadcom.com>
4616
4617 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4618 results.
4619 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4620
938f0e2f
AB
46212014-05-30 Andrew Burgess <aburgess@broadcom.com>
4622
4623 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4624 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4625 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4626 * gdb.arch/amd64-invalid-stack-top.c: New file.
4627 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4628
9ba6657a
PA
46292014-05-30 Pedro Alves <palves@redhat.com>
4630
4631 PR breakpoints/17000
4632 * gdb.base/sss-bp-on-user-bp.c: New file.
4633 * gdb.base/sss-bp-on-user-bp.exp: New file.
4634
522c09bf
DB
46352014-05-30 David Blaikie <dblaikie@gmail.com>
4636
4637 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4638 gnu_inline semantics via attribute.
4639 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4640 source explicitly specifies the required semantics.
4641
bf4ef81e
MR
46422014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4643
4644 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4645
329ea579
PA
46462014-05-29 Pedro Alves <palves@redhat.com>
4647 Tom Tromey <tromey@redhat.com>
4648
4649 * gdb.base/async-shell.exp: Don't enable target-async.
4650 * gdb.base/async.exp
4651 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4652 parameter. Adjust.
4653 (top level): Don't test with "target-async".
4654 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4655 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4656 * gdb.base/inferior-died.exp: Don't enable target-async.
4657 * gdb.base/interrupt-noterm.exp: Likewise.
4658 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4659 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4660 * gdb.mi/mi-nonstop.exp: Likewise.
4661 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4662 * gdb.mi/mi-nsintrall.exp: Likewise.
4663 * gdb.mi/mi-nsmoribund.exp: Likewise.
4664 * gdb.mi/mi-nsthrexec.exp: Likewise.
4665 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4666 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4667 * gdb.python/py-evsignal.exp: Don't enable target-async.
4668 * gdb.python/py-evthreads.exp: Likewise.
4669 * gdb.python/py-prompt.exp: Likewise.
4670 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4671 * gdb.server/solib-list.exp: Don't enable target-async.
4672 * gdb.threads/thread-specific-bp.exp: Likewise.
4673 * lib/mi-support.exp: Adjust to use mi-async.
4674
fd664c91
PA
46752014-05-29 Pedro Alves <palves@redhat.com>
4676
4677 PR gdb/13860
4678 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4679 reason, even in sync mode.
4680
251bde03
PA
46812014-05-29 Pedro Alves <palves@redhat.com>
4682 Hui Zhu <hui@codesourcery.com>
4683
4684 PR PR15693
4685 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4686 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4687 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4688 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4689
7f3c0343
JB
46902014-05-28 Joel Brobecker <brobecker@adacore.com>
4691
4692 * config/monitor.exp (gdb_target_monitor): Replace use of
4693 "set remotebaud" by "set serial baud".
4694
b2715b27
AW
46952014-05-26 Andy Wingo <wingo@igalia.com>
4696
4697 * gdb.guile/scm-breakpoint.exp:
4698 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4699 properties instead of gdb-object-properties.
4700
498a4489
YQ
47012014-05-26 Yao Qi <yao@codesourcery.com>
4702
4703 * gdb.server/no-thread-db.exp: Specify source file name
4704 explicitly when setting a breakpoint.
4705
589fdceb
MM
47062014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4707
4708 * gdb.btrace/vdso.c: New.
4709 * gdb.btrace/vdso.exp: New.
4710
e9089e05
MM
47112014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4712
4713 * gdb.base/gcore.exp (capture_command_output): Move ...
4714 * lib/gdb.exp (capture_command_output): ... here.
4715
67b5c0c1
MM
47162014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4717
4718 * gdb.btrace/data.exp: Test memory access during btrace replay.
4719
a2199296
SM
47202014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4721
4722 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4723
17b2616c
PA
47242014-05-21 Pedro Alves <palves@redhat.com>
4725
4726 PR gdb/13860
4727 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4728 (top level): Test that output related to execution commands is
4729 sent to the console with CLI commands, but not with MI commands.
4730 Test that breakpoint events are always mirrored to the console.
4731 Also expect the new source line to be output after a "next" in
4732 async mode too. Make it a pass/fail test.
4733 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4734 output.
4735 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4736
5166082f
PA
47372014-05-21 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4740 Use them to test variations of "list" after reaching a breakpoint.
4741 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4742 Test "list" with listsize 10 after reaching a breakpoint.
4743 * gdb.python/python.exp (decode_line current location line
4744 number): Adjust expected line number.
4745
2f25d70f
SM
47462014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4747
4748 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4749 behavior for $args, pass it directly to "run".
4750
ff604a67
MR
47512014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4752
4753 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4754 30000 to 65536.
4755
6a3cb8e8
PA
47562014-05-21 Pedro Alves <palves@redhat.com>
4757
4758 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4759 auto-connect-native-target off".
4760 * gdb.base/auto-connect-native-target.c: New file.
4761 * gdb.base/auto-connect-native-target.exp: New file.
4762
4ebfc96e
PA
47632014-05-21 Pedro Alves <palves@redhat.com>
4764
4765 * gdb.base/default.exp: Test "target native" instead of "target
4766 child".
4767
36d46afb
MW
47682014-05-21 Mark Wielaard <mjw@redhat.com>
4769
4770 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4771
5876f503
JK
47722014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4773
4774 Fix TLS access for -static -pthread.
4775 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4776 <HAVE_TLS> (thread_function, main): Initialize it.
4777 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4778 Add clean_restart.
4779 <$have_tls != "">: Check TLSVAR.
4780
0256a6ac
PA
47812014-05-21 Pedro Alves <palves@redhat.com>
4782
4783 * gdb.base/dcache-line-read-error.c: New.
4784 * gdb.base/dcache-line-read-error.exp: New.
4785
936d2992
PA
47862014-05-20 Pedro Alves <palves@redhat.com>
4787
4788 * gdb.base/compare-sections.c: New file.
4789 * gdb.base/compare-sections.exp: New file.
4790
802e8e6d
PA
47912014-05-20 Pedro Alves <palves@redhat.com>
4792
4793 * gdb.base/break-idempotent.c: New file.
4794 * gdb.base/break-idempotent.exp: New file.
4795
e59fa00f
MM
47962014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4797
4798 * gdb.btrace/nohist.exp: New.
4799
8b696e31
YQ
48002014-05-20 Yao Qi <yao@codesourcery.com>
4801
4802 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4803 gdb.reverse directory and gdb_reverse_timeout exists in board
4804 setting.
4805 * README: Document gdb_reverse_timeout.
4806
73c9764f
YQ
48072014-05-20 Yao Qi <yao@codesourcery.com>
4808
4809 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4810 'test_file_name'. Treat args as a string instead of a list.
4811 (gdb_init): Rename argument 'args' by 'test_file_name'.
4812
f1f4348a
JK
48132014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4814
4815 * gdb.arch/powerpc-power.exp: New file.
4816 * gdb.arch/powerpc-power.s: New file.
4817
0dbe70ce
DE
48182014-05-16 Doug Evans <dje@google.com>
4819
4820 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4821 * gdb.base/completion.exp: Check that all expected files exist
4822 before doing file completion.
0dbe70ce 4823
8d551b02
DE
48242014-05-16 Doug Evans <dje@google.com>
4825
4826 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4827 Update.
4828 (do_syscall_tests_without_xml): Update.
4829
73eb7709
PA
48302014-05-16 Pedro Alves <palves@redhat.com>
4831
4832 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4833 instead of "unknown output after running".
4834
3fae92fc
YQ
48352014-05-16 Yao Qi <yao@codesourcery.com>
4836
4837 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4838 file1.txt from host at the end.
4839 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4840
c2b2ccc5
DE
48412014-05-15 Doug Evans <dje@google.com>
4842
4843 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4844 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4845 loading file. Add test for TU lookup.
4846
8c217a4b
SM
48472014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4848
4849 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4850 calling "-exec-arguments" or "set args" before running the
4851 inferior.
4852
3deb39c6
SM
48532014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4854
4855 * lib/mi-support.exp (mi_expect_stop): Expect message for
4856 inferiors that exit with non-zero exit code.
4857
71a79f8c
YQ
48582014-05-14 Yao Qi <yao@codesourcery.com>
4859
4860 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4861 match absolute path on remote host.
4862 (test_file_list_exec_source_files): Remove "/" from the
4863 pattern.
4864
f23fcd46
YQ
48652014-05-14 Yao Qi <yao@codesourcery.com>
4866
4867 * boards/local-remote-host-notty.exp (${board}_file): New
4868 proc.
4869
9404b58f
KM
48702014-05-07 Kyle McMartin <kyle@redhat.com>
4871
4872 Pushed by Joel Brobecker <brobecker@adacore.com>.
4873 * gdb.arch/aarch64-atomic-inst.c: New file.
4874 * gdb.arch/aarch64-atomic-inst.exp: New file.
4875
5e45f04c
YQ
48762014-05-07 Yao Qi <yao@codesourcery.com>
4877
4878 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4879 in current context" too.
4880
c888a17d
KS
48812014-05-05 Keith Seitz <keiths@redhat.com>
4882
4883 * gdb.linespec/ls-dollar.exp: Add test for linespec
4884 file:convenience_variable.
4885
290a839c
YQ
48862014-05-05 Yao Qi <yao@codesourcery.com>
4887
4888 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4889 traceframes into tfile and ctf trace files. Read data from
4890 trace file and test collected data.
4891 (gdb_collect_locals_test): Likewise.
4892 (gdb_unavailable_registers_test): Likewise.
4893 (gdb_unavailable_floats): Likewise.
4894 (gdb_collect_globals_test): Likewise.
4895 (top-level): Append "ctf" to trace_file_targets if GDB
4896 supports.
4897
b5262cd0
YQ
48982014-05-05 Yao Qi <yao@codesourcery.com>
4899
4900 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4901 code to ...
4902 (gdb_collect_args_test_1): ... it. New proc.
4903 (gdb_collect_locals_test): Move some code to ...
4904 (gdb_collect_locals_test_1): ... it. New proc.
4905 (gdb_unavailable_registers_test): Move some code to ...
4906 (gdb_unavailable_registers_test_1): ... it. New proc.
4907 (gdb_unavailable_floats): Move some code to ...
4908 (gdb_unavailable_floats_1): ... it. New proc.
4909
30a1e6cc
SDJ
49102014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4911
4912 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4913 probes to test for bitness recognition.
4914 * gdb.arch/amd64-stap-optional-prefix.exp
4915 (test_probe_value_without_reg): New procedure.
4916 Add code to test for different kinds of bitness.
4917
f33da99a
SDJ
49182014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4919
4920 PR breakpoints/16889
4921 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4922 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4923
5b80f00d
PA
49242014-05-01 Pedro Alves <palves@redhat.com>
4925
4926 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4927 gdb_file_cmd if no file is specified.
4928 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4929 last_loaded_file to set the remote exec-file.
4930
f8c2a73c
PA
49312014-05-01 Pedro Alves <palves@redhat.com>
4932
4933 * boards/local-remote-host.exp: New file.
4934
be6e8ac7
PA
49352014-05-01 Pedro Alves <palves@redhat.com>
4936
4937 * boards/local-remote-host.exp: Rename to ...
4938 * boards/local-remote-host-notty.exp: ... this.
4939
cac0dc8f
JB
49402014-04-28 Joel Brobecker <brobecker@adacore.com>
4941
4942 * gdb.ada/dyn_arrayidx: New testcase.
4943
9730e6cc
YQ
49442014-04-26 Yao Qi <yao@codesourcery.com>
4945
4946 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4947 and compute the length of function main. Save it in
4948 $main_length.
4949 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4950 (top-level): Use gdb_compile to compile objects into
4951 executable and restart GDB. Remove invocation to
4952 prepare_for_testing.
4953
7ae1a6a6
PA
49542014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4955 Pedro Alves <palves@redhat.com>
4956
4957 PR server/16255
4958 * gdb.multi/multi-attach.c: New file.
4959 * gdb.multi/multi-attach.exp: New file.
4960
4082afcc
PA
49612014-04-25 Pedro Alves <palves@redhat.com>
4962
4963 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4964 user.
4965 (top level): Test that "set remote conditional-breakpoints-packet
4966 off" works as intended.
4967 * gdb.base/dprintf.exp: Test that "set remote
4968 breakpoint-commands-packet off" works as intended.
4969 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4970 New function.
4971 (top level): Call it.
4972 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4973 remote fast-tracepoints-packet off" works as intended.
4974 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4975 * lib/gdb.exp (gdb_is_target_remote): ... here.
4976
2abc3f8d
DB
49772014-04-24 David Blaikie <dblaikie@gmail.com>
4978
4979 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4980 ensure clang would not discard them.
4981 * gdb.base/gdbvars.c: Ditto.
4982 * gdb.base/memattr.c: Ditto.
4983 * gdb.base/whatis.c: Ditto.
4984 * gdb.python/py-prettyprint.c: Ditto.
4985 * gdb.trace/actions.c: Ditto.
4986 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4987 ensure clang would not discard it.
4988
bfd39632
DB
49892014-04-24 David Blaikie <dblaikie@gmail.com>
4990
4991 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4992 clang to emit the full definition of type required by the test
4993 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4994
22842ff6
DB
49952014-04-24 David Blaikie <dblaikie@gmail.com>
4996
4997 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4998 coax Clang into emitting the definition of the type.
4999 * gdb.cp/pr10728-x.h (y): Ditto.
5000 * gdb.cp/pr10728-y.cc (y): Ditto.
5001
c2e827ad
DB
50022014-04-24 David Blaikie <dblaikie@gmail.com>
5003
5004 * gdb.base/label.exp: XFAIL label related tests under Clang.
5005 * gdb.cp/cplabel.exp: Ditto.
5006 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5007 under Clang those using labels.
5008
4c2d33e7
YQ
50092014-04-25 Yao Qi <yao@codesourcery.com>
5010
5011 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5012 double_label.
5013 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5014 partial_label and double_label.
5015
56083b99
DB
50162014-04-24 David Blaikie <dblaikie@gmail.com>
5017
5018 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5019
25d4e99d
DB
50202014-04-24 David Blaikie <dblaikie@gmail.com>
5021
5022 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5023 of the function to work across GCC and Clang.
5024 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5025 pointer types (const void ** const V void **).
5026
01f9f808
MS
50272014-04-24 Michael Sturm <michael.sturm@mintel.com>
5028 Walfred Tedeschi <walfred.tedeschi@intel.com>
5029
5030 * Makefile.in (EXECUTABLES): Added i386-avx512.
5031 * gdb.arch/i386-avx512.c: New file.
5032 * gdb.arch/i386-avx512.exp: Likewise.
5033
4b48d439
KS
50342014-04-23 Keith Seitz <keiths@redhat.com>
5035
5036 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5037 (mi_make_breakpoint_table): New procedure.
5038 (mi_create_breakpoint): Use mi_make_breakpoint
5039 and return the result.
5040 (mi_make_breakpoint): New procedure.
5041 (mi_build_kv_pairs): New procedure.
5042
5043 * gdb.mi/mi-break.exp: Remove unused globals,
5044 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5045 All callers updated.
5046 * gdb.mi/mi-dprintf.exp: Use variable to track command
5047 number.
5048 Update all callers of mi_create_breakpoint and use
5049 mi_make_breakpoint_table.
5050 Remove any unused global variables.
5051 * gdb.mi/mi-nonstop.exp: Likewise.
5052 * gdb.mi/mi-nsintrall.exp: Likewise.
5053 * gdb.mi/mi-nsmoribund.exp: Likewise.
5054 * gdb.mi/mi-nsthrexec.exp: Likewise.
5055 * gdb.mi/mi-reverse.exp: Likewise.
5056 * gdb.mi/mi-simplerun.exp: Likewise.
5057 * gdb.mi/mi-stepn.exp: Likewise.
5058 * gdb.mi/mi-syn-frame.exp: Likewise.
5059 * gdb.mi/mi-until.exp: Likewise.
5060 * gdb.mi/mi-var-cp.exp: Likewise.
5061 * gdb.mi/mi-var-display.exp: Likewise.
5062 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5063 * gdb.mi/mi2-var-child.exp: Likewise.
5064 * gdb.mi/mi-vla-c99.exp: Likewise.
5065 * lib/mi-support.exp: Likewise.
5066
5067 From Ian Lance Taylor <iant@cygnus.com>:
5068 * lib/gdb.exp (parse_args): New procedure.
5069
08351840
PA
50702014-04-23 Pedro Alves <palves@redhat.com>
5071
5072 * gdb.base/break-unload-file.c: New file.
5073 * gdb.base/break-unload-file.exp: New file.
5074 * gdb.base/sym-file-lib.c (baz): New function.
5075 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5076 field.
5077 (load): Store the segment's mapped size.
5078 (unload): New function.
5079 (unload_shlib): New function.
5080 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5081 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5082 set a breakpoint at baz, and call it.
5083 * gdb.base/sym-file.exp: New tests for stale breakpoint
5084 instructions.
5085
076855f9
PA
50862014-04-23 Pedro Alves <palves@redhat.com>
5087
5088 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5089 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5090 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5091 * gdb.base/hbreak-unmapped.c: New file.
5092 * gdb.base/hbreak-unmapped.exp: New file.
5093 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5094 * lib/gdb.exp (gdb_is_target_remote): ... here.
5095
483805cf
PA
50962014-04-22 Pedro Alves <palves@redhat.com>
5097
5098 * gdb.base/consecutive-step-over.c: New file.
5099 * gdb.base/consecutive-step-over.exp: New file.
5100
06d97543
PA
51012014-04-22 Pedro Alves <palves@redhat.com>
5102
5103 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5104 instead of send_gdb/gdb_expect.
5105
b4429ea2
YQ
51062014-04-22 Yao Qi <yao@codesourcery.com>
5107
5108 * lib/trace-support.exp (generate_tracefile): New procedure.
5109 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5110 return 0.
5111 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5112 if generate_tracefile returns 1.
5113
51d48146
PA
51142014-04-18 Tom Tromey <palves@redhat.com>
5115 Pedro alves <tromey@redhat.com>
5116
5117 PR backtrace/15558
5118 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5119 with a backtrace limit.
5120 * gdb.python/py-frame-inline.exp: Test running to an inline
5121 function with a backtrace limit, and printing the newest frame.
5122 * gdb.python/py-frame-inline.c (main): Call f.
5123
bd1dce5f
MS
51242014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5125
5126 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5127
40d1a503
MS
51282014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5129
5130 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5131 Drop prefix from unsupported source file path.
5132
389b98f7
YQ
51332014-04-17 Yao Qi <yao@codesourcery.com>
5134
5135 * lib/gdb.exp (with_target_charset): New proc.
5136 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5137 with_target_charset.
5138 (test_print_strings): Likewise.
5139 (test_repeat_bytes): Likewise.
5140 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5141 for some tests.
5142
22869d73
KS
51432014-04-16 Keith Seitz <keiths@redhat.com>
5144
5145 PR gdb/15827
5146 * gdb.dwarf2/corrupt.c: New file.
5147 * gdb.dwarf2/corrupt.exp: New file.
5148
c4f87ca6
KS
51492014-04-16 Keith Seitz <keiths@redhat.com>
5150
5151 PR c++/16597
5152 * gdb.cp/namelessclass.cc: New file.
5153 * gdb.cp/namelessclass.exp: New file.
5154 * gdb.cp/namelessclass.S: New file.
5155
ab19de87
DE
51562014-04-16 Doug Evans <dje@google.com>
5157
5158 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5159 Add comment.
5160 (gdbserver_default_get_comm_port): New function.
5161 (gdbserver_start): Check if board file provided
5162 "gdbserver,get_comm_port" and use it if so.
5163 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5164 (gdb,socketport): Set to "stdio".
5165 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5166 (stdio_gdbserver_template): Delete.
5167 (${board}_get_remote_address): Update.
5168 (${board}_build_remote_cmd): Delete.
5169 (${board}_get_comm_port): New function.
5170 (${board}_spawn): Update.
5171 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5172 Delete.
5173 (${board}_get_remote_address): Update.
5174 (${board}_get_comm_port): New function.
5175
fc98a809
AB
51762014-04-16 Andrew Burgess <aburgess@broadcom.com>
5177
5178 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5179 appearing in any order.
5180
87fd9e6e
DE
51812014-04-15 Doug Evans <dje@google.com>
5182
5183 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5184 uninitialized value of "description".
5185
099fc3ea
KS
51862014-04-15 Keith Seitz <keiths@redhat.com>
5187
5188 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5189 Remove unused globals.
5190 (test_running_the_program): Likewise.
5191 (test_controlled_execution): Likewise.
5192 (test_controlling_breakpoints): Likewise.
5193 (test_program_termination): Likewise.
5194
5da151d4
KS
51952014-04-15 Keith Seitz <keiths@redhat.com>
5196
5197 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5198 unused globals.
5199 (test_rbreak_creation_and_listing): Likewise.
5200 (test_ignore_count): Likewise.
5201 (test_error): Likewise.
5202
35e5d2f0
PA
52032014-04-15 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5206 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5207 sym-file-loader.c.
5208 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5209 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5210 to sym-file-loader.c.
5211 (struct library): Forward declare.
5212 (load_shlib, lookup_function): Change prototypes.
5213 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5214 (translate_offset): Remove declarations.
5215 (get_text_addr): New declaration.
5216 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5217 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5218 sym-file-loader.h.
5219 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5220 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5221 here from sym-file-loader.h.
5222 (struct library): New structure.
5223 (load_shlib, lookup_function): Change prototypes and adjust to
5224 work with a struct library.
5225 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5226 (translate_offset): Make static.
5227 (get_text_addr): New function.
5228 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5229
eb4c1710
PA
52302014-04-15 Pedro Alves <palves@redhat.com>
5231
5232 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5233
2d1baf52
PA
52342014-04-15 Pedro Alves <palves@redhat.com>
5235
5236 * gdb.base/sym-file-loader.c: Include <limits.h>.
5237 (SELF_LINK): New define.
5238 (get_origin): New function.
5239 (load_shlib): Use it.
5240 * gdb.base/sym-file.exp: Don't early return if the target is
5241 remote. Use runto_main, and issue fail is that fails. Use
5242 gdb_load_shlibs.
5243 (shlib_name): Delete.
5244 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5245
7dd6df01
PA
52462014-04-15 Pedro Alves <palves@redhat.com>
5247
5248 * gdb.base/sym-file.exp: Remove regex characters from test
5249 message. Don't refer to breakpoint numbers in test messages.
5250
b50c8614
KS
52512014-04-14 Keith Seitz <keiths@redhat.com>
5252
5253 PR c++/16253
5254 * gdb.cp/var-tag.cc: New file.
5255 * gdb.cp/var-tag.exp: New file.
5256 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5257 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5258 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5259 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5260
3d567982
TT
52612014-04-14 Tom Tromey <tromey@redhat.com>
5262
5263 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5264 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5265 type.
5266 * gdb.cp/enum-class.exp: New file.
5267 * gdb.cp/enum-class.cc: New file.
5268
0626fc76
TT
52692014-04-14 Tom Tromey <tromey@redhat.com>
5270
5271 * gdb.dwarf2/enum-type.exp: New file.
5272
dca325b3
SA
52732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5274
5275 * gdb.mi/mi-vla-c99.exp: New file.
5276 * gdb.mi/vla.c: New file.
5277
5854b38a
SA
52782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5279
5280 * gdb.base/vla-datatypes.c: New file.
5281 * gdb.base/vla-datatypes.exp: New file.
5282
463bb957
SA
52832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5284
5285 * gdb.base/vla-ptr.c: New file.
5286 * gdb.base/vla-ptr.exp: New file.
5287
3dd170be
SA
52882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5289
5290 * gdb.dwarf2/count.exp: New file.
5291
5ecaaa66
SA
52922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5293
5294 * gdb.base/vla-sideeffect.c: New file.
5295 * gdb.base/vla-sideeffect.exp: New file.
5296
41f1ada5
DB
52972014-04-14 David Blaikie <dblaikie@gmail.com>
5298
5299 * gdb.mi/non-stop.c: Add return value for non-void function return
5300 statement.
5301 * gdb.threads/staticthreads.c: Ditto.
5302
0be03e84
DE
53032014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5304 Doug Evans <xdje42@gmail.com>
5305
5306 * gdb.guile/scm-value.c: Improve test case.
5307 * gdb.guile/scm-value.exp: Add new test.
5308
f180a1fb
DB
53092014-04-11 David Blaikie <dblaikie@gmail.com>
5310
5311 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5312 override Clang's default.
5313
6b662e19
JB
53142014-04-11 Joel Brobecker <brobecker@adacore.com>
5315
5316 Revert the following changes (regressions):
5317
5318 * gdb.base/vla-sideeffect.c: New file.
5319 * gdb.base/vla-sideeffect.exp: New file.
5320
5321 * gdb.dwarf2/count.exp: New file.
5322
5323 * gdb.base/vla-multi.c: New file.
5324 * gdb.base/vla-multi.exp: New file.
5325
5326 * gdb.base/vla-ptr.c: New file.
5327 * gdb.base/vla-ptr.exp: New file.
5328
5329 * gdb.base/vla-datatypes.c: New file.
5330 * gdb.base/vla-datatypes.exp: New file.
5331
5332 * gdb.mi/mi-vla-c99.exp: New file.
5333 * gdb.mi/vla.c: New file.
5334
245a5f0b
KS
53352014-04-11 Keith Seitz <keiths@redhat.com>
5336
5337 PR c++/16675
5338 * gdb.cp/cpsizeof.exp: New file.
5339 * gdb.cp/cpsizeof.cc: New file.
5340
58a84dcf
SA
53412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5342
191a8a90
JB
5343 * gdb.mi/mi-vla-c99.exp: New file.
5344 * gdb.mi/vla.c: New file.
58a84dcf 5345
c8655f75
SA
53462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5347
5348 * gdb.base/vla-datatypes.c: New file.
5349 * gdb.base/vla-datatypes.exp: New file.
5350
024e13b4
SA
53512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5352
5353 * gdb.base/vla-ptr.c: New file.
5354 * gdb.base/vla-ptr.exp: New file.
5355
1a237e0e
SA
53562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5357
5358 * gdb.base/vla-multi.c: New file.
5359 * gdb.base/vla-multi.exp: New file.
5360
504f3432
SA
53612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5362
5363 * gdb.dwarf2/count.exp: New file.
5364
3bce8237
SA
53652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5366
191a8a90
JB
5367 * gdb.base/vla-sideeffect.c: New file.
5368 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5369
322f9c21
YQ
53702014-04-11 Yao Qi <yao@codesourcery.com>
5371
5372 * gdb.base/completion.exp: Check file exists before running tests
5373 on file completion.
5374
d708bcd1
PA
53752014-04-10 Pedro Alves <palves@redhat.com>
5376
5377 * gdb.base/cond-eval-mode.c: New file.
5378 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5379 prepare_for_testing to build the new file. Check result of
5380 runto_main.
5381 (test_break, test_watch): New procedures.
5382 (top level): Use them.
5383
ae1d2761
PM
53842014-04-08 Pierre Muller <muller@sourceware.org>
5385
5386 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5387 Ctrl-V use for mingw hosts.
5388
7af389b8
SC
53892014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5390
5391 * gdb.python/py-value.c: Improve test case.
5392 * gdb.python/py-value.exp: Add new test.
5393
5e703181
DE
53942014-04-07 David Blaikie <dblaikie@gmail.com>
5395
5396 * lib/compiler.c: Identify the clang compiler.
5397 * lib/compiler.cc: Ditto.
5398
9810b410
YQ
53992014-04-03 Yao Qi <yao@codesourcery.com>
5400
5401 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5402
98d1b8dc
AB
54032014-04-01 Anton Blanchard <anton@samba.org>
5404
5405 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5406 messages unique.
5407
3114cea1
AB
54082014-04-01 Anton Blanchard <anton@samba.org>
5409
5410 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5411 prepare_for_testing.
5412
62f7182c
AB
54132014-04-01 Anton Blanchard <anton@samba.org>
5414
5415 * gdb.arch/ppc64-atomic-inst.c: Remove.
5416 * gdb.arch/ppc64-atomic-inst.S: New file.
5417 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5418
770e7fc7
DE
54192014-03-31 Doug Evans <dje@google.com>
5420
5421 * gdb.base/print-symbol-loading-lib.c: New file.
5422 * gdb.base/print-symbol-loading-main.c: New file.
5423 * gdb.base/print-symbol-loading.exp: New file.
5424
46e2bafa
YQ
54252014-03-31 Yao Qi <yao@codesourcery.com>
5426
5427 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5428
8776cfe9
JB
54292014-03-28 Joel Brobecker <brobecker@adacore.com>
5430
5431 * gdb.ada/mi_dyn_arr: New testcase.
5432
5d1ef361
DE
54332014-03-27 Doug Evans <dje@google.com>
5434
5435 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5436
b5bee914
YQ
54372014-03-27 Yao Qi <yao@codesourcery.com>
5438
5439 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5440 if target is nios2-*-*.
5441
0d4d0e77
YQ
54422014-03-26 Yao Qi <yao@codesourcery.com>
5443
5444 * lib/gdb.exp (readline_is_used): New proc.
5445 * gdb.base/completion.exp: Move tests on command complete up.
5446 Skip the rest of tests if readline is not used.
5447 * gdb.ada/complete.exp: Skp the test if readline is not
5448 used.
5449 * gdb.base/filesym.exp: Likewise.
5450 * gdb.base/macscp.exp: Likewise.
5451 * gdb.base/readline-ask.exp: Likewise.
5452 * gdb.base/readline.exp: Likewise.
5453 * gdb.python/py-cmd.exp: Likewise.
5454 * gdb.trace/tfile.exp: Likewise.
5455
29361eee
YQ
54562014-03-26 Yao Qi <yao@codesourcery.com>
5457
5458 * gdb.base/macscp.exp: Fix code format issues.
5459
bc9a5525
UW
54602014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5461
5462 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5463 * gdb.asm/powerpc64le.inc: New file.
5464
d3839ede
PA
54652014-03-25 Pedro Alves <palves@redhat.com>
5466 Doug Evans <dje@google.com>
5467
5468 * gdb.base/source-execution.c: New file.
5469 * gdb.base/source-execution.exp: New file.
5470 * gdb.base/source-execution.gdb: New file.
5471
01672a57
DE
54722014-03-24 Doug Evans <dje@google.com>
5473
5474 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5475 using fission.
5476
88bbeca9
HZ
54772014-03-24 Hui Zhu <hui@codesourcery.com>
5478 Pedro Alves <palves@redhat.com>
5479
5480 PR breakpoints/16101
5481 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5482 test pass/fail messages. Detect missing support for dprintf when
5483 breakpoints are actually inserted.
5484 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5485 breakpoints are actually inserted.
5486 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5487 fails.
5488
d2348791
JK
54892014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5490
5491 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5492
feef67ab
DE
54932014-03-22 Doug Evans <xdje42@gmail.com>
5494
5495 * gdb.python/python.exp (python not supported): Verify multi-line
5496 python command issues an error.
25d743f9 5497 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5498 guile command issues an error.
feef67ab 5499
ecebef6a
MR
55002014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5501
5502 * gdb.threads/thread-specific.exp: Handle the lack of usable
5503 $this_breakpoint and $this_thread.
5504
ccdd1909
HZ
55052014-03-21 Hui Zhu <hui@codesourcery.com>
5506
5507 * gdb.base/attach.exp (do_command_attach_tests): New.
5508
beb460e8
PA
55092014-03-20 Tom Tromey <tromey@redhat.com>
5510 Pedro Alves <palves@redhat.com>
5511
5512 PR cli/15718
5513 * gdb.base/condbreak-call-false.c: New file.
5514 * gdb.base/condbreak-call-false.exp: New file.
5515
40acf43a
PA
55162014-03-20 Pedro Alves <palves@redhat.com>
5517
5518 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5519 Delete.
5520 (block_signals, unblock_signals): Delete.
5521 (child_function_2, main): Remove references to deleted variable
5522 and functions.
5523
9f5e1e02
PA
55242014-03-20 Pedro Alves <palves@redhat.com>
5525
5526 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5527 Use pthread_kill to signal thread 2.
5528 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5529 Adjust to make the test send itself a signal rather than using the
5530 host's "kill" command.
5531
99619bea
PA
55322014-03-20 Pedro Alves <palves@redhat.com>
5533
5534 * gdb.threads/multiple-step-overs.c: New file.
5535 * gdb.threads/multiple-step-overs.exp: New file.
5536 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5537 Adjust expected infrun debug output.
5538
2adfaa28
PA
55392014-03-20 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5542 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5543
31e77af2
PA
55442014-03-20 Pedro Alves <palves@redhat.com>
5545
5546 PR breakpoints/7143
5547 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5548 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5549 of gdb_test_multiple.
5550 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5551 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5552
b9f437de
PA
55532014-03-20 Pedro Alves <palves@redhat.com>
5554
5555 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5556 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5557
05adc73e
PA
55582014-03-19 Pedro Alves <palves@redhat.com>
5559
5560 * gdb.base/async.exp: Remove early return.
5561
6048b950
PA
55622014-03-19 Pedro Alves <palves@redhat.com>
5563
5564 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5565
8bcfb00a
PA
55662014-03-19 Pedro Alves <palves@redhat.com>
5567
5568 * gdb.base/async.exp (test_background): Expect \r\n after
5569 "completed." in the fail pattern.
5570
884e37dc
PA
55712014-03-19 Pedro Alves <palves@redhat.com>
5572
5573 * gdb.base/async.exp (test_background): New procedure.
5574 Use it for all background execution command tests.
5575
148e57e2
PA
55762014-03-19 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.base/async.exp: Use prepare_for_testing.
5579
f48088c7
PA
55802014-03-19 Pedro Alves <palves@redhat.com>
5581
5582 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5583 the same line.
5584
e2f6c966
PA
55852014-03-19 Pedro Alves <palves@redhat.com>
5586
5587 * gdb.base/async.c (main): Add "jump here" and "until here" line
5588 marker comments.
5589 * gdb.base/async.exp (jump_here): New global.
5590 (jump& test): Use it.
5591 (until_here): New global.
5592 (until& test): Use it.
5593
c30568d4
PA
55942014-03-19 Pedro Alves <palves@redhat.com>
5595
5596 * gdb.base/async.exp: Don't frob gdb_protocol.
5597
0172b6a7
DE
55982014-03-18 Doug Evans <xdje42@gmail.com>
5599
5600 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5601 Fix spelling of exec-done-display.
5602
06c868a8
JK
56032014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5604
5605 PR gdb/15358
5606 * gdb.base/gdb-sigterm.c: New file.
5607 * gdb.base/gdb-sigterm.exp: New file.
5608
0c7e1a46
PA
56092014-03-18 Pedro Alves <palves@redhat.com>
5610
5611 PR gdb/13860
5612 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5613 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5614 solib-event.
5615
f7c77d93
JB
56162014-03-17 Joel Brobecker <brobecker@adacore.com>
5617
5618 * gdb.ada/pckd_arr_ren: New testcase.
5619
5a1e8c7a
DE
56202014-03-13 Doug Evans <xdje42@gmail.com>
5621
5622 PR guile/16612
5623 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5624 collect after discarding symbols.
5625
350e1a76
DE
56262014-03-13 Ludovic Courtès <ludo@gnu.org>
5627 Doug Evans <xdje42@gmail.com>
5628
5629 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5630 to history survives a gc.
5631
a69900ae
PA
56322014-03-13 Pedro Alves <palves@redhat.com>
5633
5634 * gdb.base/default.exp: Don't test "target procfs".
5635
5db9f0bd
PA
56362014-03-13 Pedro Alves <palves@redhat.com>
5637
5638 * gdb.base/default.exp: Update "target child" and "target procfs"
5639 tests to not expect "Unix".
5640
b3ccfe11
TT
56412014-03-12 Tom Tromey <tromey@redhat.com>
5642
5643 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5644 New procs. Add target-async tests.
5645 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5646 Add target-async tests.
5647
646f4417
AA
56482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5649
5650 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5651 'func_start' and 'func_end' for the beginning and end of the
5652 function code, respectively.
5653 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5654 'func_end' instead of 'func' and 'main'.
5655
288c211f
AA
56562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5657
5658 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5659 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5660 generate the debug info assembler source.
5661
e0c0f156
AA
56622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5663
5664 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5665 * gdb.dwarf2/arr-subrange.exp: Likewise.
5666 * gdb.dwarf2/dwz.exp: Likewise.
5667 * gdb.dwarf2/method-ptr.exp: Likewise.
5668 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5669 * gdb.dwarf2/subrange.exp: Likewise.
5670 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5671 * gdb.dwarf2/implptrpiece.exp: Likewise.
5672 * gdb.dwarf2/nostaticblock.exp: Likewise.
5673
0e5c4555
AA
56742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5675
5676 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5677 directory to absolute path name arguments.
5678
5ec18f2b
JG
56792014-03-10 Joel Brobecker <brobecker@adacore.com>
5680
5681 * gdb.ada/tagged_access: New testcase.
5682
847fc4f2
MM
56832014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5684
5685 * gdb.btrace/data.exp: Update expected output.
5686
cc3da688
YQ
56872014-03-06 Yao Qi <yao@codesourcery.com>
5688
5689 * gdb.trace/pr16508.exp: New file.
5690
0f26cec1
PA
56912014-03-05 Pedro Alves <palves@redhat.com>
5692
5693 PR gdb/16575
5694 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5695 procedure.
5696 (top level): Adjust to use it. Add tests that exercise breakpoint
5697 interaction with the code-cache.
5698
7a5a839f
LC
56992014-02-26 Ludovic Courtès <ludo@gnu.org>
5700
5701 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5702 test for 'history-append!'.
5703
31aa7e4e
JB
57042014-02-26 Joel Brobecker <brobecker@adacore.com>
5705
5706 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5707 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5708 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5709 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5710 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5711 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5712
1b588015
JB
57132014-02-26 Joel Brobecker <brobecker@adacore.com>
5714
5715 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5716 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5717 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5718
55426c9d
JB
57192014-02-26 Joel Brobecker <brobecker@adacore.com>
5720
5721 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5722
dc53a7ad
JB
57232014-02-26 Joel Brobecker <brobecker@adacore.com>
5724
5725 * gdb.dwarf2/arr-stride.c: New file.
5726 * gdb.dwarf2/arr-stride.exp: New file.
5727
12ab52e9
PA
57282014-02-26 Pedro Alves <palves@redhat.com>
5729
5730 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5731 that won't ever trigger. Make sure that GDB reports the correct
5732 breakpoint that caused the stop.
5733
849c862e
JK
57342014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5735
5736 PR gdb/16626
5737 * gdb.base/auto-load-script: New file.
5738 * gdb.base/auto-load.c: New file.
5739 * gdb.base/auto-load.exp: New file.
5740
71b7d793
JK
5741 PR gdb/16626
5742 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5743
e2f0d509
JK
57442014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5745
5746 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5747 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5748
50cc37c8
DE
57492014-02-24 Doug Evans <dje@google.com>
5750
5751 * lib/gdb.exp (run_on_host): Log error output if program fails.
5752
ea4758f2
PA
57532014-02-21 Pedro Alves <palves@redhat.com>
5754
5755 * gdb.threads/step-after-sr-lock.c: Rename to ...
5756 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5757 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5758 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5759 ... this.
5760
d7b30f67
SDJ
57612014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5762
5763 PR tdep/16397
5764 * gdb.arch/amd64-stap-special-operands.exp: New file.
5765 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5766 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5767 * gdb.arch/amd64-stap-triplet.S: Likewise.
5768 * gdb.arch/amd64-stap-triplet.c: Likewise.
5769
83deb43f
JB
57702014-02-20 Joel Brobecker <brobecker@adacore.com>
5771
5772 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5773 in .section pseudo-op.
5774
adde2bff
DE
57752014-02-20 lin zuojian <manjian2006@gmail.com>
5776 Joel Brobecker <brobecker@adacore.com>
5777 Doug Evans <xdje42@gmail.com>
5778
5779 PR symtab/16581
5780 * gdb.dwarf2/dw2-icycle.S: New file.
5781 * gdb.dwarf2/dw2-icycle.c: New file.
5782 * gdb.dwarf2/dw2-icycle.exp: New file.
5783
f7bd0f78
SC
57842014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5785
5786 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5787 operations on gdb.Value objects.
5788 * gdb.python/py-value-cc.exp: Add new test to test operations on
5789 gdb.Value objects.
5790
c17ef0d5
DE
57912014-02-18 Doug Evans <dje@google.com>
5792
5793 * Makefile.in (TESTS): New variable.
5794 (expanded_tests, expanded_tests_or_none): New variables
5795 (check-single): Pass $(expanded_tests_or_none) to runtest.
5796 (check-parallel): Only run tests in $(TESTS) if non-empty.
5797 (check/no-matching-tests-found): New rule.
5798 * README: Document TESTS makefile variable.
5799
5dd3176f
DE
58002014-02-18 Doug Evans <dje@google.com>
5801
5802 * Makefile.in (check-parallel): rm -rf outputs temp.
5803
0b10be4f
JK
58042014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5805
5806 Fix "ERROR: no fileid for" in the testsuite.
5807 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5808
85f224e7
DE
58092014-02-12 Doug Evans <dje@google.com>
5810
5811 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5812 (MISCELLANEOUS): New variable.
5813 (clean): rm -rf $(MISCELLANEOUS).
5814 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5815 dwp live in the same directory as symlinks, with each symlink pointed
5816 to a differently named file in a different directory.
5817
149b30ff
DE
58182014-02-11 Doug Evans <dje@google.com>
5819
5820 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5821 of Tcl file commands.
5822
1dfdac32
MK
58232014-02-10 Mark Kettenis <kettenis@gnu.org>
5824
5825 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5826 "kill -SIGUSR1 -1".
5827
aa4fb036
JB
58282014-02-10 Joel Brobecker <brobecker@adacore.com>
5829
5830 * gdb.ada/tick_length_array_enum_idx: New testcase.
5831
ed3ef339
DE
58322014-02-10 Doug Evans <xdje42@gmail.com>
5833
5834 * configure.ac (AC_OUTPUT): Add gdb.guile.
5835 * configure: Regenerate.
5836 * lib/gdb-guile.exp: New file.
5837 * lib/gdb.exp (get_target_charset): New function.
5838 * gdb.base/help.exp: Update expected output from "apropos apropos".
5839 * gdb.guile/Makefile.in: New file.
5840 * gdb.guile/guile.exp: New file.
5841 * gdb.guile/scm-arch.c: New file.
5842 * gdb.guile/scm-arch.exp: New file.
5843 * gdb.guile/scm-block.c: New file.
5844 * gdb.guile/scm-block.exp: New file.
5845 * gdb.guile/scm-breakpoint.c: New file.
5846 * gdb.guile/scm-breakpoint.exp: New file.
5847 * gdb.guile/scm-disasm.c: New file.
5848 * gdb.guile/scm-disasm.exp: New file.
5849 * gdb.guile/scm-equal.c: New file.
5850 * gdb.guile/scm-equal.exp: New file.
5851 * gdb.guile/scm-error.exp: New file.
5852 * gdb.guile/scm-error.scm: New file.
5853 * gdb.guile/scm-frame-args.c: New file.
5854 * gdb.guile/scm-frame-args.exp: New file.
5855 * gdb.guile/scm-frame-args.scm: New file.
5856 * gdb.guile/scm-frame-inline.c: New file.
5857 * gdb.guile/scm-frame-inline.exp: New file.
5858 * gdb.guile/scm-frame.c: New file.
5859 * gdb.guile/scm-frame.exp: New file.
5860 * gdb.guile/scm-generics.exp: New file.
5861 * gdb.guile/scm-gsmob.exp: New file.
5862 * gdb.guile/scm-iterator.c: New file.
5863 * gdb.guile/scm-iterator.exp: New file.
5864 * gdb.guile/scm-math.c: New file.
5865 * gdb.guile/scm-math.exp: New file.
5866 * gdb.guile/scm-objfile-script-gdb.in: New file.
5867 * gdb.guile/scm-objfile-script.c: New file.
5868 * gdb.guile/scm-objfile-script.exp: New file.
5869 * gdb.guile/scm-objfile.c: New file.
5870 * gdb.guile/scm-objfile.exp: New file.
5871 * gdb.guile/scm-ports.exp: New file.
5872 * gdb.guile/scm-pretty-print.c: New file.
5873 * gdb.guile/scm-pretty-print.exp: New file.
5874 * gdb.guile/scm-pretty-print.scm: New file.
5875 * gdb.guile/scm-section-script.c: New file.
5876 * gdb.guile/scm-section-script.exp: New file.
5877 * gdb.guile/scm-section-script.scm: New file.
5878 * gdb.guile/scm-symbol.c: New file.
5879 * gdb.guile/scm-symbol.exp: New file.
5880 * gdb.guile/scm-symtab-2.c: New file.
5881 * gdb.guile/scm-symtab.c: New file.
5882 * gdb.guile/scm-symtab.exp: New file.
5883 * gdb.guile/scm-type.c: New file.
5884 * gdb.guile/scm-type.exp: New file.
5885 * gdb.guile/scm-value-cc.cc: New file.
5886 * gdb.guile/scm-value-cc.exp: New file.
5887 * gdb.guile/scm-value.c: New file.
5888 * gdb.guile/scm-value.exp: New file.
5889 * gdb.guile/source2.scm: New file.
5890 * gdb.guile/types-module.cc: New file.
5891 * gdb.guile/types-module.exp: New file.
5892
7026a7c1
YQ
58932014-02-10 Yao Qi <yao@codesourcery.com>
5894
5895 PR testsuite/16543
5896 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5897 * configure: Regenerated.
5898 * Makefile.in: New file.
5899
6c466447
AS
59002014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5901
5902 * gdb.python/py-framefilter.exp: Fix typo.
5903
6e854735
YQ
59042014-02-08 Yao Qi <yao@codesourcery.com>
5905
5906 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5907 that no =breakpoint-modified is emitted when breakpoints are
5908 modified through MI commands.
5909
d137e6dc
PA
59102014-02-07 Pedro Alves <pedro@codesourcery.com>
5911 Pedro Alves <palves@redhat.com>
5912
5913 * gdb.threads/step-after-sr-lock.c: New file.
5914 * gdb.threads/step-after-sr-lock.exp: New file.
5915
b5ee5a50
PA
59162014-02-07 Pedro Alves <palves@redhat.com>
5917
5918 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5919
3c77faf3
JK
59202014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5921
5922 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5923 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5924
6dddc817
DE
59252014-02-06 Doug Evans <xdje42@gmail.com>
5926
5927 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5928 output.
5929
5930 * gdb.gdb/python-interrupts.exp: New file.
5931
de7b2893
YQ
59322014-02-05 Yao Qi <yao@codesourcery.com>
5933
5934 * gdb.trace/report.exp (use_collected_data): Test the output
5935 of "info threads" and "info inferiors".
5936
66d032ac
YQ
59372014-02-05 Yao Qi <yao@codesourcery.com>
5938
5939 Revert this patch:
5940
5941 2013-05-24 Yao Qi <yao@codesourcery.com>
5942
5943 * gdb.trace/tfile.exp: Test inferior and thread.
5944
591a12a1
UW
59452014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5946
5947 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5948 on a function.
5949 * gdb.base/step-bt.c: Call hello via function pointer to make
5950 sure its first instruction is executed on powerpc64le-linux.
5951
0ff3e01f
UW
59522014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5953
5954 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5955
084ee545
UW
59562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5957
5958 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5959 of the test patterns for use on little-endian systems.
5960
6ed14ff3
UW
59612014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5962
5963 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5964 (decimal_vector): Fix for little-endian.
5965
401e27fd
JM
59662014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5967
5968 * gdb.arch/sparc-sysstep.exp: New file.
5969 * gdb.arch/sparc-sysstep.c: Likewise.
5970
5971 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5972
8b924729
EBM
59732014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5974
5975 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5976
fb151210
JB
59772014-01-23 Tom Tromey <tromey@redhat.com>
5978
5979 * gdb.ada/array_char_idx: New testcase.
5980
0740f8d8
TT
59812014-01-23 Tom Tromey <tromey@redhat.com>
5982
5983 PR python/16487:
5984 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5985 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5986 classes.
5987
21909fa1
TT
59882014-01-23 Tom Tromey <tromey@redhat.com>
5989
5990 PR python/16491:
5991 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5992 string from an inferior frame.
5993 * gdb.python/py-framefilter-mi.exp: Update.
5994
87ce2a04
DE
59952014-01-22 Doug Evans <dje@google.com>
5996
5997 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5998
237b092b
AA
59992014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6000
6001 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6002
d674a709
AA
60032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6004
6005 * gdb.trace/entry-values.exp: Remove excess space character from
6006 regex patterns. Handle s390 call instruction.
6007
20fa3390
AA
60082014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6009
6010 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6011 define "*_start" label. Make "name" static.
6012 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6013 ${name} by references to ${name}_start.
6014
78466714
AA
60152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6016
6017 * gdb.base/info-macros.exp: Remove "debug" from the compile
6018 options.
6019
ec9f644a
IB
60202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6021
6022 * gdb.dlang/demangle.exp: New file.
6023
94b1b47e
IB
60242014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6025
6026 * gdb.dlang/primitive-types.exp: New file.
6027
7f420862
IB
60282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6029
6030 * configure.ac: Create gdb.dlang/Makefile.
6031 * configure: Regenerate.
6032 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6033 * gdb.dlang/Makefile.in: New file.
6034 * lib/d-support.exp: New file.
6035 * lib/gdb.exp (skip_d_tests): New proc.
6036
52834460
MM
60372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6038
6039 * gdb.btrace/delta.exp: Check reverse stepi.
6040 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6041 * gdb.btrace/finish.exp: New.
6042 * gdb.btrace/next.exp: New.
6043 * gdb.btrace/nexti.exp: New.
6044 * gdb.btrace/record_goto.c: Add comments.
6045 * gdb.btrace/step.exp: New.
6046 * gdb.btrace/stepi.exp: New.
6047 * gdb.btrace/multi-thread-step.c: New.
6048 * gdb.btrace/multi-thread-step.exp: New.
6049 * gdb.btrace/rn-dl-bind.c: New.
6050 * gdb.btrace/rn-dl-bind.exp: New.
6051 * gdb.btrace/data.c: New.
6052 * gdb.btrace/data.exp: New.
6053 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6054
6e07b1d2
MM
60552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6056
6057 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6058 * gdb.btrace/exception.exp: Update.
6059 * gdb.btrace/instruction_history.exp: Update.
6060 * gdb.btrace/record_goto.exp: Update.
6061 * gdb.btrace/tailcall.exp: Update.
6062 * gdb.btrace/unknown_functions.exp: Update.
6063 * gdb.btrace/delta.exp: New.
6064
0b722aec
MM
60652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6066
6067 * gdb.btrace/record_goto.exp: Add backtrace test.
6068 * gdb.btrace/tailcall.exp: Add backtrace test.
6069
066ce621
MM
60702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6071
6072 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6073 * gdb.btrace/record_goto.c: New.
6074 * gdb.btrace/record_goto.exp: New.
6075 * gdb.btrace/x86-record_goto.S: New.
6076
0688d04e
MM
60772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6078
6079 * gdb.btrace/function_call_history.exp: Update tests.
6080 * gdb.btrace/instruction_history.exp: Update tests.
6081
8710b709
MM
60822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6083
6084 * gdb.btrace/function_call_history.exp: Fix expected field
6085 order for "record function-call-history".
6086 Add new tests for "record function-call-history /c".
6087 * gdb.btrace/exception.cc: New.
6088 * gdb.btrace/exception.exp: New.
6089 * gdb.btrace/tailcall.exp: New.
6090 * gdb.btrace/x86-tailcall.S: New.
6091 * gdb.btrace/x86-tailcall.c: New.
6092 * gdb.btrace/unknown_functions.c: New.
6093 * gdb.btrace/unknown_functions.exp: New.
6094 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6095
5de9129b
MM
60962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6097
6098 * gdb.btrace/instruction_history.exp: Update.
6099 * gdb.btrace/function_call_history.exp: Update.
6100
23a7fe75
MM
61012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6102
6103 * gdb.btrace/function_call_history.exp: Fix expected function
6104 trace.
6105 * gdb.btrace/instruction_history.exp: Initialize traced.
6106 Remove traced_functions.
6107
724c7dd8
MM
61082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6109
6110 * gdb.btrace/function_call_history.exp: Update
6111 * gdb.btrace/instruction_history.exp: Update.
6112
6d78d93b
MM
61132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6114
6115 * gdb.btrace/enable.exp: Update expected text.
6116
93a360cc
OJ
61172014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6118
6119 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6120 bytes.
6121
3772b53f
MR
61222014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6123
6124 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6125
596662fa
OJ
61262014-01-15 Omair Javaid <omair.javaid@linaro.org>
6127
6128 * lib/gdb.exp (supports_process_record): Return true for
6129 arm*-linux*. (supports_reverse): Likewise.
6130
b5b08fb4
SC
61312014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6132
6133 PR python/15464
6134 PR python/16113
6135 * gdb.python/py-type.c: Enhance test case.
6136 * gdb.python/py-value-cc.cc: Likewise
6137 * gdb.python/py-type.exp: Add new tests.
6138 * gdb.python/py-value-cc.exp: Likewise
6139
52d7fb13
AA
61402014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6141 Pedro Alves <palves@redhat.com>
6142
6143 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6144 Make "name" extern.
6145 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6146 references to ${name}_start by references to ${name}.
6147
a2cd8cfe
JB
61482014-01-10 Joel Brobecker <brobecker@adacore.com>
6149
6150 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6151
4e23fced
JB
61522014-01-10 Joel Brobecker <brobecker@adacore.com>
6153
6154 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6155
c6a9e42c
PA
61562014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6157 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6160 mi_gdb_target_load.
c6a9e42c 6161
b7ea362b
PA
61622014-01-08 Pedro Alves <palves@redhat.com>
6163
6164 * gdb.threads/reconnect-signal.c: New file.
6165 * gdb.threads/reconnect-signal.exp: New file.
6166
5e3f4fab
EBM
61672014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6168
6169 * gdb.base/source-dir.exp: New file.
6170
79301218
JB
61712014-01-07 Joel Brobecker <brobecker@adacore.com>
6172
6173 * gdb.ada/mi_interface: New testcase.
6174
8e355c5d
JB
61752014-01-07 Joel Brobecker <brobecker@adacore.com>
6176
6177 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6178 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6179 gdb.ada/pp-rec-component/pck.ads: New files.
6180
c0d48811
JB
61812014-01-07 Joel Brobecker <brobecker@adacore.com>
6182
6183 * gdb.python/py-pp-integral.c: New file.
6184 * gdb.python/py-pp-integral.py: New file.
6185 * gdb.python/py-pp-integral.exp: New file.
6186
17b609c3 6187For older changes see ChangeLog-1993-2013.
c906108c 6188\f
8d8cb839
EZ
6189;; Local Variables:
6190;; mode: change-log
6191;; left-margin: 8
6192;; fill-column: 74
6193;; version-control: never
6194;; End:
902f2ccb 6195
32d0add0 6196 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6197 Copying and distribution of this file, with or without modification,
6198 are permitted provided the copyright notice and this notice are preserved.