Generalize breakpoint pattern in gdb.mi/mi-cli.exp.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f57929f2
SL
12015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2
3 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
4 filename pattern.
5
3f469b17
SL
62015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7
8 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9 in breakpoint filename pattern.
10
515b89b3
SL
112015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12
7800dbe4
SL
13 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14
152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16
515b89b3
SL
17 * gdb.linespec/explicit.exp: Check for readline support for
18 tab-completion tests. Fix obvious typo.
19
d2939ba2
MM
202015-09-18 Markus Metzger <markus.t.metzger@intel.com>
21
22 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
23 and replay.
24
cbb55fa7
MM
252015-09-18 Markus Metzger <markus.t.metzger@intel.com>
26
27 * gdb.btrace/non-stop.c: New.
28 * gdb.btrace/non-stop.exp: New.
29
43691ca1
PL
302015-09-17 Pierre Langlois <pierre.langlois@arm.com>
31 Yao Qi <yao.qi@linaro.org>
32
33 * gdb.trace/trace-condition.c: New file.
34 * gdb.trace/trace-condition.exp: New file.
35
d78908cf
WW
362015-09-16 Wei-cheng Wang <cole945@gmail.com>
37
38 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
39 for testing bytecode compilation.
40
1ed415e2
PA
412015-09-16 Pedro Alves <palves@redhat.com>
42 Sandra Loosemore <sandra@codesourcery.com>
43
44 * gdb.threads/non-stop-fair-events.c (timeout): New global.
45 (SECONDS): Redefine.
46 (main): Call pthread_kill and alarm early.
47 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
48 support.
49 (test): If the target can't hardware step and doesn't support
50 displaced stepping, increase the timeout.
51
d136eff5
PA
522015-09-16 Pedro Alves <palves@redhat.com>
53
54 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
55 (enable_debug): New procedures.
56 (test): Use them. Bail out if waiting for threads fails.
57 (top level): Bail out if a test fails.
58
991f019c
YQ
592015-09-16 Yao Qi <yao.qi@linaro.org>
60
61 * gdb.asm/asm-source.exp: Set asm-arch for
62 aarch64*-*-* target.
63 * gdb.asm/aarch64.inc: New file.
64
bfca584f
PMR
652015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
66
67 * gdb.ada/array_of_variable_length.exp: New testcase.
68 * gdb.ada/array_of_variable_length/foo.adb: New file.
69 * gdb.ada/array_of_variable_length/pck.adb: New file.
70 * gdb.ada/array_of_variable_length/pck.ads: New file.
71
b326e587
DE
722015-09-15 Doug Evans <dje@google.com>
73
74 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
75 of function static local variable.
76
5382cfab
PW
772015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
78
79 * gdb.threads/tls-so_extern.exp: New test file.
80 * gdb.threads/tls-so_extern.c: New test file.
81 * gdb.threads/tls-so_extern_main.c: New test file.
82
141c5cc4
JK
832015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
84
85 * gdb.opt/solib-intra-step-lib.c: New file.
86 * gdb.opt/solib-intra-step-main.c: New file.
87 * gdb.opt/solib-intra-step.exp: New file.
88
d15dcecd
PA
892015-09-15 Pedro Alves <palves@redhat.com>
90
91 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
92 gdb_continue_to_breakpoint instead of gdb_test_multiple.
93
4c2f2a79
PA
942015-09-14 Pedro Alves <palves@redhat.com>
95
96 * gdb.base/hook-stop-continue.c: Delete.
97 * gdb.base/hook-stop-continue.exp: Delete.
98 * gdb.base/hook-stop-frame.c: Delete.
99 * gdb.base/hook-stop-frame.exp: Delete.
100 * gdb.base/hook-stop.c: New file.
101 * gdb.base/hook-stop.exp: New file.
102
919e6dbe
PMR
1032015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
104
105 * gdb.ada/access_to_packed_array.exp: New testcase.
106 * gdb.ada/access_to_packed_array/foo.adb: New file.
107 * gdb.ada/access_to_packed_array/pack.adb: New file.
108 * gdb.ada/access_to_packed_array/pack.ads: New file.
109
157280a4
MM
1102015-09-14 Markus Metzger <markus.t.metzger@intel.com>
111
112 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
113 buffer size test.
114
2fd33e94
DB
1152015-09-11 Don Breazeal <donb@codesourcery.com>
116
117 * gdb.base/foll-exec.c: Add copyright header. Fix
118 formatting issues.
119 * gdb.base/foll-exec.exp (zap_session): Delete proc.
120 (do_exec_tests): Use clean_restart in place of zap_session,
121 and for test initialization. Fix formatting issues. Use
122 fail in place of perror.
123 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
124 an expect statement to match an expression with output from
125 the program under debug.
126 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
127 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
128 * gdb.threads/non-ldr-exc-2.exp: Likewise.
129 * gdb.threads/non-ldr-exc-3.exp: Likewise.
130 * gdb.threads/non-ldr-exc-4.exp: Likewise.
131
e70b6e8e
DE
1322015-09-09 Doug Evans <dje@google.com>
133
134 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
135
7a551a51
DE
1362015-09-09 Doug Evans <dje@google.com>
137
138 * gdb.base/pie-execl.exp: Fix result test of build_executable.
139
4c666f84
DE
1402015-09-09 Doug Evans <dje@google.com>
141
142 * gdb.base/savedregs.exp: Fix typo.
143
243a9253
PA
1442015-09-09 Pedro Alves <palves@redhat.com>
145
146 * gdb.mi/mi-cli.exp: Add CLI finish tests.
147
c0fa8fbd
SL
1482015-09-08 Sandra Loosemore <sandra@codesourcery.com>
149
150 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
151 command actually switches threads. Give up on remaining
152 tests if target fails to stop at breakpoint.
153
cd7c1778
PMR
1542015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
155
156 * gdb.ada/funcall_char.exp: New testcase.
157 * gdb.ada/funcall_char/foo.adb: New file.
158
dc5c8746
PMR
1592015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
160
161 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
162 expected outputs. Add two testcases for completing ambiguous
163 functions.
164 * gdb.ada/complete/aux_pck.adb: New file.
165 * gdb.ada/complete/aux_pck.ads: New file.
166 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
167 Ambiguous_Func functions.
168 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
169 * gdb.ada/complete/pck.adb: Likewise.
170
4e83a1e7
UW
1712015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
172
173 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
174 failures to run the test program under GDB.
175
8ce74153
LM
1762015-08-26 Luis Machado <lgustavo@codesourcery.com>
177
178 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
179 to C.
180
e9756d52
PP
1812015-08-26 Patrick Palka <patrick@parcs.ath.cx>
182
183 * gdb.base/run-after-attach.exp: New test file.
184 * gdb.base/run-after-attach.c: New test file.
185
8d37573b
DB
1862015-08-26 Don Breazeal <donb@codesourcery.com>
187
188 * gdb.base/foll-exec-2.c: New test program.
189 * gdb.base/foll-exec-2.exp: New test.
190
63e43d3a
PMR
1912015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
192
193 * gdb.base/nested-subp1.exp: New file.
194 * gdb.base/nested-subp1.c: New file.
195 * gdb.base/nested-subp2.exp: New file.
196 * gdb.base/nested-subp2.c: New file.
197 * gdb.base/nested-subp3.exp: New file.
198 * gdb.base/nested-subp3.c: New file.
199
3d40fbb5
PA
2002015-08-24 Pedro Alves <palves@redhat.com>
201
202 * gdb.server/connect-without-multi-process.c: New file.
203 * gdb.server/connect-without-multi-process.exp: New file.
204
4422ac93
LM
2052015-08-24 Luis Machado <lgustavo@codesourcery.com>
206
207 * gdb.opt/inline-markers.c: Make z int.
208
91dddb86
LM
2092015-08-24 Luis Machado <lgustavo@codesourcery.com>
210
211 * gdb.opt/inline-markers.c: Make z volatile.
212
a48847ee
LM
2132015-08-24 Luis Machado <lgustavo@codesourcery.com>
214
215 * gdb.opt/inline-bt.c: New volatile global z.
216 * gdb.opt/inline-cmds.c: Likewise.
217 * gdb.opt/inline-locals.c: Likewise.
218 * gdb.opt/inline-markers.c: New extern global z.
219 (marker): Use z.
220 (inline_fn): Likewise.
221
0ebbc52b
PA
2222015-08-24 Pedro Alves <palves@redhat.com>
223
224 * config/m32r-stub.exp: Remove file.
225 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
226 * gdb.base/call-rt-st.exp: Likewise.
227 * gdb.base/call-strs.exp: Likewise.
228 * gdb.base/default.exp: Remove references to h8300-*-hms and
229 *-*-udi*.
230 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
231
77c365df
AA
2322015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
233
234 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
235 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
236 and "return" use KFAIL when GDB can not read/write the vector
237 return value.
238
4313b8c0
GB
2392015-08-21 Gary Benson <gbenson@redhat.com>
240
241 * gdb.trace/pending.exp: Cope with remote transfer warnings.
242
0e433b32
PA
2432015-08-20 Pedro Alves <palves@redhat.com>
244
245 * gdb.server/solib-list.exp: No longer expect an interior stop in
246 non-stop mode.
247
221e1a37
PA
2482015-08-20 Pedro Alves <palves@redhat.com>
249
250 * gdb.server/connect-stopped-target.c: New file.
251 * gdb.server/connect-stopped-target.exp: New file.
252
40e3ad0e
PA
2532015-08-20 Pedro Alves <palves@redhat.com>
254
255 * gdb.dwarf2/comp-unit-lang.exp: New file.
256 * gdb.dwarf2/comp-unit-lang.c: New file.
257
af39b327
PMR
2582015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
259
260 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
261 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
262
7d45c7c3
KB
2632015-08-19 Kevin Buettner <kevinb@redhat.com>
264
265 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
266 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
267
4d6cceb4
DE
2682015-08-18 Doug Evans <dje@google.com>
269 Adrian Sendroiu <adrian.sendroiu@freescale.com>
270
271 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
272 skip_python_tests. New arg prompt_regexp.
273 (skip_python_tests): New function.
274 * lib/mi-support.exp (mi_skip_python_tests): New function.
275 * gdb.python/py-mi-objfile-gdb.py: New file.
276 * gdb.python/py-mi-objfile.c: New file.
277 * gdb.python/py-mi-objfile.exp: New file.
278
ad89c2aa
KS
2792015-08-17 Keith Seitz <keiths@redhat.com>
280
281 * gdb.linespec/explicit.exp: Move strace test from here ...
282 * gdb.trace/strace.exp: ... to here.
283
e3ae3c43
PP
2842015-08-15 Patrick Palka <patrick@parcs.ath.cx>
285
286 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
287 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
288
604b2636
DE
2892015-08-14 Doug Evans <xdje42@gmail.com>
290
291 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
292 inferior before selecting a new file.
293
6ff0ba5f
DE
2942015-08-14 Doug Evans <xdje42@gmail.com>
295
296 * gdb.mi/mi-disassemble.exp: Update.
297 * gdb.base/disasm-optim.S: New file.
298 * gdb.base/disasm-optim.c: New file.
299 * gdb.base/disasm-optim.h: New file.
300 * gdb.base/disasm-optim.exp: New file.
301
9ca98f92
KS
3022015-08-14 Keith Seitz <keiths@redhat.com>
303
304 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
305 "evaluated-by".
306
52bbc560
JB
3072015-08-13 Joel Brobecker <brobecker@adacore.com>
308
309 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
310
5d8c3ed3
PMR
3112015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
312
313 * gdb.ada/fun_renaming.exp: New testcase.
314 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
315 * gdb.ada/fun_renaming/pack.adb: New file.
316 * gdb.ada/fun_renaming/pack.ads: New file.
317
ea8812bc
KS
3182015-08-12 Keith Seitz <keiths@redhat.com>
319
320 * gdb.base/dso2dso.exp: Pass basename of source file in call to
321 gdb_get_line_number.
322
4dafcdeb
JB
3232015-08-12 Joel Brobecker <brobecker@adacore.com>
324
325 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
326 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
327 gdb.base/dso2dso.exp: New files.
328
5ba32597
SDJ
3292015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
330 Pedro Alves <palves@redhat.com>
331 Keith Seitz <keiths@redhat.com>
332
333 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
334 GDBFLAGS.
335
b6dafabf
PP
3362015-08-12 Patrick Palka <patrick@parcs.ath.cx>
337
338 * gdb.base/gdbhistsize-history.exp
339 (test_histsize_history_setting): Use save_vars.
340 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
341 Use save_vars.
342 (test_no_truncation_of_unlimited_history_file): Use save_vars.
343 * gdb.base/readline.exp: Use save_vars.
344
abe8e607
PP
3452015-08-12 Patrick Palka <patrick@parcs.ath.cx>
346
347 * lib/gdb.exp (save_vars): New proc.
348
629500fa
KS
3492015-08-11 Keith Seitz <keiths@redhat.com>
350
351 * gdb.base/help.exp: Update help_breakpoint_text.
352
eb8c4e2e
KS
3532015-08-11 Keith Seitz <keiths@redhat.com>
354
355 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
356 (at toplevel): Call test_explicit_breakpoints.
357 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
358 breakpoints.
359 * lib/mi-support.exp (mi_make_breakpoint): Add support for
360 breakpoint conditions, "-cond".
361
87f0e720
KS
3622015-08-11 Keith Seitz <keiths@redhat.com>
363
364 * gdb.linespec/3explicit.c: New file.
365 * gdb.linespec/cpexplicit.cc: New file.
366 * gdb.linespec/cpexplicit.exp: New file.
367 * gdb.linespec/explicit.c: New file.
368 * gdb.linespec/explicit.exp: New file.
369 * gdb.linespec/explicit2.c: New file.
370 * gdb.linespec/ls-errs.exp: Add explicit location tests.
371 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
372 before using in the matching pattern.
373 Clarify that `prefix' is a regular expression.
374
f00aae0f
KS
3752015-08-11 Keith Seitz <keiths@redhat.com>
376
377 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
378 test.
379 Add tests for missing ",FMT" and ",".
380
e27852be
DE
3812015-08-10 Doug Evans <dje@google.com>
382 Keith Seitz <keiths@redhat.com>
383
384 PR gdb/17960
385 * gdb.base/completion.exp: Add location completer tests.
386
7f03bd92
PA
3872015-08-07 Pedro Alves <palves@redhat.com>
388
389 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
390 tests here.
391 (top level): Run do_test with and without displaced stepping.
392
3fc8eb30
PA
3932015-08-07 Pedro Alves <palves@redhat.com>
394
395 * gdb.base/valgrind-disp-step.c: New file.
396 * gdb.base/valgrind-disp-step.exp: New file.
397
d4569d7b
PA
3982015-08-07 Pedro Alves <palves@redhat.com>
399
400 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
401 Delete function.
402 (main): Add alarm. Run an infinite loop instead of calling
403 wait_threads.
404 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
405 comment.
406 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
407 Delete function.
408 (main): Add alarm. Run an infinite loop instead of calling
409 wait_threads.
410 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
411 comment.
412
e1316e60
PA
4132015-08-07 Pedro Alves <palves@redhat.com>
414
415 * gdb.base/checkpoint-ns.exp: New file.
416 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
417 standard_testfile.
418
da8c46d2
MM
4192015-08-07 Markus Metzger <markus.t.metzger@intel.com>
420
421 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
422 * gdb.btrace/instruction_history.exp: Update.
423 * gdb.btrace/tsx.exp: New.
424 * gdb.btrace/tsx.c: New.
425
de1c2c52
PA
4262015-08-06 Pedro Alves <palves@redhat.com>
427
428 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
429 increase timeout.
430 * gdb.reverse/until-precsave.exp: Bump timeouts.
431
782e0bf4
PA
4322015-08-06 Pedro Alves <palves@redhat.com>
433
434 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
435
83e97ed0
PA
4362015-08-06 Pedro Alves <palves@redhat.com>
437
438 PR gdb/18749
439 * gdb.threads/process-dies-while-handling-bp.c: New file.
440 * gdb.threads/process-dies-while-handling-bp.exp: New file.
441
863d01bd
PA
4422015-08-06 Pedro Alves <palves@redhat.com>
443
444 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
445 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
446
0a39bb32
PA
4472015-08-05 Pedro Alves <palves@redhat.com>
448
449 * gdb.threads/next-while-other-thread-longjmps.c: New file.
450 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
451
ee2d2b10
SL
4522015-08-03 Sandra Loosemore <sandra@codesourcery.com>
453
454 * gdb.base/bp-permanent.exp: Report test as unsupported if
455 the target cannot stop at the permanent breakpoint.
456
4e1bdb00
DE
4572015-08-03 Doug Evans <dje@google.com>
458
459 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
460 10000.
461
3d338901
DE
4622015-08-03 Doug Evans <dje@google.com>
463
464 * Makefile.in (workers/%.worker, build-perf): New rule.
465 (GDB_PERFTEST_MODE): New variable.
466 (check-perf): Use it.
467 (clean): Clean up gdb.perf parallel build subdirs.
468 * lib/build-piece.exp: New file.
469 * lib/gdb.exp (make_gdb_parallel_path): New function
470 (standard_output_file, standard_temp_file): Call it.
471 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
472 of $GDB_PARALLEL.
473 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
474
af061d3e
DE
4752015-08-03 Doug Evans <dje@google.com>
476
8e1afc81 477 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
478 (LOG_FILE_NAME): New global.
479 (TextReporter.__init__): Initialize self.txt_sum.
480 (TextReporter.report): Add support for multiple data-points.
481 Move report to perftest.sum, put raw data in perftest.log.
482 (TextReporter.start): Open sum and log files.
483 (TextReporter.end): Close sum and log files.
8e1afc81
DE
484 * gdb.perf/lib/perftest/testresult.py
485 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 486
2c8c5d37
PA
4872015-07-31 Pedro Alves <palves@redhat.com>
488
489 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
490 Use spawn_id_get_pid. Wait for spawn id after eof. Use
491 kill_wait_spawned_process instead of explicit "kill -9".
492 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
493 returning a spawn id instead of a pid. Use spawn_id_get_pid and
494 kill_wait_spawned_process.
495 * gdb.base/attach-twice.exp: Likewise.
496 * gdb.base/attach.exp: Likewise.
497 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
498 gdb_test_multiple.
499 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
500 returning a spawn id instead of a pid. Use spawn_id_get_pid and
501 kill_wait_spawned_process.
502 * gdb.base/valgrind-infcall.exp: Likewise.
503 * gdb.multi/multi-attach.exp: Likewise.
504 * gdb.python/py-prompt.exp: Likewise.
505 * gdb.python/py-sync-interp.exp: Likewise.
506 * gdb.server/ext-attach.exp: Likewise.
507 * gdb.threads/attach-into-signal.exp (corefunc): Use
508 spawn_wait_for_attach, spawn_id_get_pid and
509 kill_wait_spawned_process.
510 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
511 spawn_wait_for_attach returning a spawn id instead of a pid. Use
512 spawn_id_get_pid and kill_wait_spawned_process.
513 * gdb.threads/attach-stopped.exp (corefunc): Use
514 spawn_wait_for_attach, spawn_id_get_pid and
515 kill_wait_spawned_process.
516 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
517 Use spawn_id_get_pid. Wait for spawn id after eof. Use
518 kill_wait_spawned_process instead of explicit "kill -9".
519 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
520 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
521 (spawn_wait_for_attach): Use spawn instead of exec to spawn
522 processes. Don't map cygwin/windows pids here. Now returns a
523 spawn id list.
524
032a0fca
SL
5252015-07-30 Sandra Loosemore <sandra@codesourcery.com>
526
527 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
528 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
529 correct patch.
530
61a934ca
SL
5312015-07-30 Sandra Loosemore <sandra@codesourcery.com>
532
533 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
534
4bc4d428
SL
5352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
536
537 Reapply:
538 2014-05-21 Mark Wielaard <mjw@redhat.com>
539
540 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
541
998d452a
PA
5422015-07-30 Pedro Alves <palves@redhat.com>
543
544 * linux-low.c (handle_extended_wait): Set the child's last
545 reported status to TARGET_WAITKIND_STOPPED.
546
69dde7dc
PA
5472015-07-30 Pedro Alves <palves@redhat.com>
548
549 PR threads/18600
550 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
551 only shows inferior 1.
552
4dd63d48
PA
5532015-07-30 Simon Marchi <simon.marchi@ericsson.com>
554 Pedro Alves <palves@redhat.com>
555
556 PR threads/18600
557 * gdb.threads/fork-plus-threads.c: New file.
558 * gdb.threads/fork-plus-threads.exp: New file.
559
d618e4c5
PP
5602015-07-29 Patrick Palka <patrick@parcs.ath.cx>
561
562 * gdb.base/batch-preserve-term-settings.exp
563 (test_terminal_settings_preserved_after_cli_exit): Use
564 send_quit_command.
565
1eef6428
PA
5662015-07-29 Pedro Alves <palves@redhat.com>
567 Don Breazeal <donb@codesourcery.com>
568
569 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
570 output from both inferior_spawn_id and gdb_spawn_id.
571
7da5b897
SDJ
5722015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
573
574 * gdb.threads/attach-into-signal.exp (corefunc): Use
575 with_test_prefix on nested loops, uniquefying the test messages.
576
dac804df
SDJ
5772015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
578
579 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
580 commit.
581
06265e53
PP
5822015-07-29 Patrick Palka <patrick@parcs.ath.cx>
583
584 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
585 New proc.
586 (test_terminal_settings_preserved_after_sigterm): New test.
587
18206ca3
PP
5882015-07-29 Patrick Palka <patrick@parcs.ath.cx>
589
590 * gdb.base/batch-preserve-term-settings.exp
591 (test_terminal_settings_preserved_after_cli_exit): New test.
592
90074d11
PP
5932015-07-29 Patrick Palka <patrick@parcs.ath.cx>
594
595 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
596 manipulation of saved_gdbflags.
597 (test_terminal_settings_preserved): Remove global declaration of
598 the unused variable pagination_prompt. Remove manipulation of
599 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
600 GDBFLAGS.
601
eb1a7902
PA
6022015-07-29 Pedro Alves <palves@redhat.com>
603
604 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
605
8b75dd3b
PA
6062015-07-29 Pedro Alves <palves@redhat.com>
607
608 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
609 at the top.
610
dedad4e3
PA
6112015-07-29 Pedro Alves <palves@redhat.com>
612
613 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
614 (main): Call gdb_unbuffer_output.
615 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
616 (main): Call gdb_unbuffer_output.
617 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
618 (main): Call gdb_unbuffer_output.
619 * gdb.base/call-strs.exp: Adjust to step over the
620 gdb_unbuffer_output call.
621 * gdb.base/catch-gdb-caused-signals.c: Include
622 "../lib/unbuffer_output.c".
623 (main): Call gdb_unbuffer_output.
624 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
625 (main): Call gdb_unbuffer_output.
626 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
627 (main): Call gdb_unbuffer_output.
628 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
629 (main): Call gdb_unbuffer_output.
630 * gdb.base/shlib-call.exp: Adjust to step over the
631 gdb_unbuffer_output call.
632 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
633 (main): Call gdb_unbuffer_output.
634 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
635 (main): Call gdb_unbuffer_output.
636 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
637 (main): Rename to ...
638 (test): ... this.
639 (main): Reimplement.
640 * gdb.base/varargs.exp: Run to test instead of to main.
641 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
642 (main): Call gdb_unbuffer_output.
643
58789a91
PA
6442015-07-29 Pedro Alves <palves@redhat.com>
645
646 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
647 factore out from mi_continue_dprintf. For call-style dprintfs,
648 expect dprintf output out of $inferior_spawn_id.
649 (mi_continue_dprintf): Use mi_expect_dprintf.
650 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
651 (main): Call gdb_unbuffer_output.
652
e8376742
PA
6532015-07-29 Pedro Alves <palves@redhat.com>
654
655 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
656 (default_mi_gdb_start): Set inferior_spawn_id instead of
657 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
658 gdb_spawn_id.
659 (mi_gdb_test): Always expect inferior output from both
660 $inferior_spawn_id and $gdb_spawn_id.
661
08280010
PA
6622015-07-29 Pedro Alves <palves@redhat.com>
663
664 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
665 send_inferior and $inferior_spawn_id.
666
4d30e432
PA
6672015-07-29 Pedro Alves <palves@redhat.com>
668
669 * gdb.gdb/complaints.exp (test_initial_complaints)
670 (test_serial_complaints, test_short_complaints): Use
671 gdb_test_stdio.
672 (test_empty_complaint): Handle $inferior_spawn_id !=
673 $gdb_spawn_id.
674
0d30a335
PA
6752015-07-29 Pedro Alves <palves@redhat.com>
676
677 * gdb.base/varargs.exp: Use gdb_test_stdio.
678
39413b29
PA
6792015-07-29 Pedro Alves <palves@redhat.com>
680
681 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
682
7cb000a9
PA
6832015-07-29 Pedro Alves <palves@redhat.com>
684
685 * gdb.base/ending-run.exp: Use gdb_test_stdio.
686
d7b8ac82
PA
6872015-07-29 Pedro Alves <palves@redhat.com>
688
689 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
690 parameter into two new parameters, "inf_result" and "gdb_result".
691 Expect inferior output and gdb output from $inferior_spawn_id and
692 $gdb_spawn_id, respectively. Adjust all callers.
693
789c3a0c
PA
6942015-07-29 Pedro Alves <palves@redhat.com>
695
696 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
697 of gdb_test_sequence.
698
77e760c3
PA
6992015-07-29 Pedro Alves <palves@redhat.com>
700
701 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
702 (saw_spurious_output): Expect inferior output from
703 $inferior_spawn_id. Use gdb_test_stdio.
704
8396d2cd
PA
7052015-07-29 Pedro Alves <palves@redhat.com>
706
707 * gdb.base/dprintf.exp: Use standard_testfile. Change
708 prepare_for_testing call.
709 (srcfile): Don't set.
710 (restart): New procedure.
711 (test_dprintf): New procecure, use to continue over dprintfs.
712 (test_call, test_agent): New procedures, tests moved here.
713 Restart gdb and recreate dprintfs. Adjust expected output.
714
2051d61f
PA
7152015-07-29 Pedro Alves <palves@redhat.com>
716
717 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
718
452397af
PA
7192015-07-29 Pedro Alves <palves@redhat.com>
720
721 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
722
8aed9555
PA
7232015-07-29 Pedro Alves <palves@redhat.com>
724
725 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
726 gdb_test_stdio.
727
188a61b4
PA
7282015-07-29 Pedro Alves <palves@redhat.com>
729
730 * lib/gdb.exp (gdb_test_stdio): New procedure.
731
12264a45
PA
7322015-07-29 Pedro Alves <palves@redhat.com>
733
734 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
735
23ffc893
PA
7362015-07-29 Pedro Alves <palves@redhat.com>
737
738 * gdb.base/call-signal-resume.exp: Remove check for
739 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
740 * gdb.base/unwindonsignal.exp: Likewise.
741 * gdb.base/call-signals.c (gen_signal): Remove printf call.
742 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
743
65566918
PA
7442015-07-29 Pedro Alves <palves@redhat.com>
745
746 * gdb.base/siginfo-addr.c (pass): New function.
747 (handler): Call it iff si_addr is correct.
748 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
749 Set a breakpoint at "pass" and continue to it.
750
d60a9221
SDJ
7512015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
752
753 * gdb.python/py-objfile.exp: Make some tests have unique names.
754 * gdb.python/py-pp-registration.exp: Likewise.
755
bde40b8f
PA
7562015-07-28 Pedro Alves <palves@redhat.com>
757
758 * gdb.server/server-exec-info.exp: Issue a "disconnect".
759
13e1dec8
SM
7602015-07-27 Simon Marchi <simon.marchi@ericsson.com>
761
762 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
763
da33c9a7
SM
7642015-07-27 Simon Marchi <simon.marchi@ericsson.com>
765
766 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
767
077836f7
PP
7682015-07-27 Patrick Palka <patrick@parcs.ath.cx>
769
770 * gdb.base/gdb-sigterm-2.exp: New test.
771
b8cc7b2e
DE
7722015-07-25 Doug Evans <xdje42@gmail.com>
773
774 Revert:
775 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
776 (workers/%.worker, build-perf): New rule.
777 (GDB_PERFTEST_MODE): New variable.
778 (check-perf): Use it.
779 (clean): Clean up gdb.perf parallel build subdirs.
780 * lib/build-piece.exp: New file.
781 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
782 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
783 name.
784 (standard_temp_file): Ditto.
785 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
786 of $GDB_PARALLEL.
787
c8bd4544
DE
7882015-07-24 Doug Evans <dje@google.com>
789
790 * gdb.perf/lib/perftest/utils.py: New file.
791 * gdb.perf/gm-hello.cc: New file.
792 * gdb.perf/gm-pervasive-typedef.cc: New file.
793 * gdb.perf/gm-pervasive-typedef.h: New file.
794 * gdb.perf/gm-std.cc: New file.
795 * gdb.perf/gm-std.h: New file.
796 * gdb.perf/gm-use-cerr.cc: New file.
797 * gdb.perf/gm-utils.h: New file.
798 * gdb.perf/gmonster-null-lookup.py: New file.
799 * gdb.perf/gmonster-pervasive-typedef.py: New file.
800 * gdb.perf/gmonster-print-cerr.py: New file.
801 * gdb.perf/gmonster-ptype-string.py: New file.
802 * gdb.perf/gmonster-runto-main.py: New file.
803 * gdb.perf/gmonster-select-file.py: New file.
804 * gdb.perf/gmonster1-null-lookup.exp: New file.
805 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
806 * gdb.perf/gmonster1-print-cerr.exp: New file.
807 * gdb.perf/gmonster1-ptype-string.exp: New file.
808 * gdb.perf/gmonster1-runto-main.exp: New file.
809 * gdb.perf/gmonster1-select-file.exp: New file.
810 * gdb.perf/gmonster1.cc: New file.
811 * gdb.perf/gmonster1.exp: New file.
812 * gdb.perf/gmonster2-null-lookup.exp: New file.
813 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
814 * gdb.perf/gmonster2-print-cerr.exp: New file.
815 * gdb.perf/gmonster2-ptype-string.exp: New file.
816 * gdb.perf/gmonster2-runto-main.exp: New file.
817 * gdb.perf/gmonster2-select-file.exp: New file.
818 * gdb.perf/gmonster2.cc: New file.
819 * gdb.perf/gmonster2.exp: New file.
820
6eab34f3
DE
8212015-07-24 Doug Evans <dje@google.com>
822
823 * gdb.perf/README: New file.
824 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
825 * lib/gen-perf-test.exp: New file.
826
63738bfd
DE
8272015-07-24 Doug Evans <dje@google.com>
828
829 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
830 (PerfTest::startup): New function.
831 (PerfTest::run): Return result of calling body.
832 (PerfTest::assemble): Rewrite.
833 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
834 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
835 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
836 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
837 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
838
7b606f95
DE
8392015-07-24 Doug Evans <dje@google.com>
840
841 * lib/gdb.exp (clean_restart): Make executable optional.
842
a97b16b8
DE
8432015-07-24 Doug Evans <dje@google.com>
844
845 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
846 compiler_info references.
847 * gdb.cp/temargs.exp: Ditto.
848 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
849 (get_compiler_info): Early exit if already computed. Set compiler_info
850 to "unknown" if there was a problem.
851 (test_compiler_info): Add function comment. Call get_compiler_info.
852
35baa57f
DE
8532015-07-24 Doug Evans <dje@google.com>
854
855 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
856 (workers/%.worker, build-perf): New rule.
857 (GDB_PERFTEST_MODE): New variable.
858 (check-perf): Use it.
859 (clean): Clean up gdb.perf parallel build subdirs.
860 * lib/build-piece.exp: New file.
861 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
862 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
863 name.
864 (standard_temp_file): Ditto.
865 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
866 of $GDB_PARALLEL.
867
6ebea266
DE
8682015-07-24 Doug Evans <dje@google.com>
869
870 * lib/future.exp (gdb_default_target_compile): New option
871 "early_flags".
872 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
873 --as-needed.
874
1e76a7e9
SDJ
8752015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
876
877 * gdb.base/catch-syscall.exp: Call gdb_exit before
878 gdb_skip_xml_test.
879
5068630a
PA
8802015-07-24 Pedro Alves <palves@redhat.com>
881
882 * gdb.python/py-events.exp: Accept output between the stop event
883 and the prompt.
884 * gdb.python/py-evsignal.exp: Likewise.
885 * gdb.python/py-evthreads.exp: Likewise.
886
77598427
PA
8872015-07-24 Pedro Alves <palves@redhat.com>
888
889 PR gdb/18717
890 * gdb.threads/non-ldr-exit.c: New file.
891 * gdb.threads/non-ldr-exit.exp: New file.
892
11e6c98f
YQ
8932015-07-24 Yao Qi <yao.qi@linaro.org>
894
895 * gdb.server/ext-wrapper.exp: Test --wrapper option when
896 restarting process.
897
51aee833
YQ
8982015-07-24 Yao Qi <yao.qi@linaro.org>
899
900 * gdb.server/ext-restart.exp: New file.
901
8cfe207c
YQ
9022015-07-24 Yao Qi <yao.qi@linaro.org>
903
904 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
905 argument options.
906 * gdb.server/ext-wrapper.exp: New file.
907
cc12ce38
DE
9082015-07-23 Doug Evans <dje@google.com>
909
910 * gdb.dwarf2/dw2-dummy-cu.S: New file.
911 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
912
d0d84780
PMR
9132015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
914
915 * gdb.ada/var_arr_typedef.exp: New testcase.
916 * gdb.ada/var_arr_typedef/pack.adb: New file.
917 * gdb.ada/var_arr_typedef/pack.ads: New file.
918 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
919
8b558f79
JB
9202015-07-20 Joel Brobecker <brobecker@adacore.com>
921
922 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
923
775a3298
JK
9242015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
925
926 * gdb.arch/i386-biarch-core.exp: Replace istarget
927 by "complete set gnutarget". Remove expectation for the "core-file"
928 command.
929
db1ff28b
JK
9302015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
931
932 Revert the previous commit:
933 Tests for validate symbol file using build-id.
934
0a94970d
JK
9352015-07-15 Aleksandar Ristovski <aristovski@qnx.com
936
937 Tests for validate symbol file using build-id.
938 * gdb.base/solib-mismatch-lib.c: New file.
939 * gdb.base/solib-mismatch-libmod.c: New file.
940 * gdb.base/solib-mismatch.c: New file.
941 * gdb.base/solib-mismatch.exp: New file.
942
03346981
SL
9432015-07-15 Sandra Loosemore <sandra@codesourcery.com>
944
945 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
946 nios2-*-linux*.
947 * gdb.base/sigbpt.exp (stepi_out): Likewise.
948 * gdb.base/siginfo.exp: Likewise.
949 * gdb.base/sigstep.exp (advance, advancei): Likewise.
950
42422cc7
PL
9512015-07-15 Pierre Langlois <pierre.langlois@arm.com>
952
953 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
954 Move it to ...
955 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
956 ... here.
957 * gdb.trace/range-stepping.exp: Check that the target supports
958 range stepping.
959
cfa68bae
JK
9602015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
961
962 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
963
8ffdba26
PA
9642015-07-14 Pedro Alves <palves@redhat.com>
965
966 * gdb.base/killed-outside.exp: New file.
967 * gdb.base/killed-outside.c: New file.
968
218a5a11
JK
9692015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
970
971 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
972 (n at main): New.
973 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
974
e03ed3c6
AA
9752015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
976
977 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
978 infcall tests instead of setting up for KFAIL.
979
485668e5
MM
9802015-07-10 Markus Metzger <markus.t.metzger@intel.com>
981
982 * gdb.btrace/record_goto-step.exp: New.
983
08464196
JK
9842015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
985
986 PR compile/18484
987 * gdb.compile/compile.c (struct struct_type): Add volatile to
988 selffield's type.
989 * gdb.compile/compile.exp
990 (compile code struct_object.selffield = &struct_object): Skip further
991 struct_object tests if this one xfails.
992
bcf5c1d9
RC
9932015-07-08 Robert O'Callahan <robert@ocallahan.org>
994
995 PR exp/18617
996 * gdb.trace/ax.exp: Add test.
997
4931af25
YQ
9982015-07-07 Yao Qi <yao.qi@linaro.org>
999
1000 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1001 instead of istarget "aarch64*-*-*".
1002 * gdb.arch/aarch64-fp.exp: Likewise.
1003 * gdb.base/float.exp: Likewise.
1004 * gdb.reverse/aarch64.exp: Likewise.
1005 * lib/gdb.exp (is_aarch64_target): New proc.
1006
9fcf688e
YQ
10072015-07-07 Yao Qi <yao.qi@linaro.org>
1008
1009 * lib/gdb.exp (is_aarch32_target): New proc.
1010 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1011 instead of "istarget "arm*-*-*"".
1012 * gdb.arch/arm-disp-step.exp: Likewise.
1013 * gdb.arch/thumb-bx-pc.exp: Likewise.
1014 * gdb.arch/thumb-prologue.exp: Likewise.
1015 * gdb.arch/thumb-singlestep.exp: Likewise.
1016 * gdb.base/disp-step-syscall.exp: Likewise.
1017 * gdb.base/float.exp: Likewise.
1018
fbd8d50d
YQ
10192015-07-07 Yao Qi <yao.qi@linaro.org>
1020
1021 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1022 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1023
71be1fdc
YQ
10242015-07-07 Yao Qi <yao.qi@linaro.org>
1025
1026 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1027 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1028 if it exists.
1029 * gdb.multi/multi-arch.exp: Likewise.
1030
3e221d36
SM
10312015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1032
1033 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1034 print.
1035
d441430b
YQ
10362015-07-07 Yao Qi <yao.qi@linaro.org>
1037
1038 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1039
06f810bd
MG
10402015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1041
1042 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1043 '[' and ']' characters.
1044
5e61e7c0
IB
10452015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1046
1047 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1048
28bf096c
PA
10492015-06-29 Pedro Alves <palves@redhat.com>
1050
1051 PR threads/18127
1052 * gdb.threads/hand-call-new-thread.c: New file.
1053 * gdb.threads/hand-call-new-thread.c: New file.
1054
ee93cd5e
KS
10552015-06-26 Keith Seitz <keiths@redhat.com>
1056 Doug Evans <dje@google.com>
1057
1058 PR 16253
1059 * gdb.cp/var-tag-2.cc: New file.
1060 * gdb.cp/var-tag-3.cc: New file.
1061 * gdb.cp/var-tag-4.cc: New file.
1062 * gdb.cp/var-tag.cc: New file.
1063 * gdb.cp/var-tag.exp: New file.
1064
fc637f04
PP
10652015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1066
1067 * gdb.base/history-duplicates.exp: New test.
1068
2e52ae68
PP
10692015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1070
1071 * gdb.base/completion.exp: Test the completion of the "focus"
1072 command.
1073
6e22494e
JK
10742015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1075
1076 * gdb.arch/amd64-prologue-skip.S: New file.
1077 * gdb.arch/amd64-prologue-skip.exp: New file.
1078
bf7b9cd9
SM
10792015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1080
1081 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1082 is_address_zero_readable check.
1083
201e8dfd
PB
10842015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1085
1086 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1087 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1088
5cd867b4
YQ
10892015-06-24 Yao Qi <yao.qi@linaro.org>
1090
1091 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1092 linux targets.
1093
4d7be007
YQ
10942015-06-24 Yao Qi <yao.qi@linaro.org>
1095
1096 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1097 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1098 * gdb.base/siginfo-thread.exp: Likewise.
1099
07fcd301
YQ
11002015-06-22 Yao Qi <yao.qi@linaro.org>
1101
1102 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1103
52042a00
YQ
11042015-06-22 Yao Qi <yao.qi@linaro.org>
1105
1106 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1107 aarch64*-*-*.
1108 (skip_hw_watchpoint_tests): Likewise.
1109
74bd41ce
PP
11102015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1111
1112 * gdb.base/gdbinit-history.exp: Test the interaction between
1113 setting GDBHISTSIZE and setting the history size via .gdbinit.
1114
bc460514
PP
11152015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1116
1117 PR gdb/16999
1118 * gdb.base/gdbhistsize-history.exp: New test.
1119
b58c513b
PP
11202015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1121
1122 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
1123 with GDBHISTSIZE.
1124 * gdb.base/readline.exp: Likewise.
1125
92046791
YQ
11262015-06-17 Yao Qi <yao.qi@linaro.org>
1127
1128 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
1129 line.
1130
2093d2d3
PP
11312015-06-17 Patrick Palka <patrick@parcs.ath.cx>
1132
1133 * gdb.base/gdbinit-history.exp: Add test case to check that
1134 an unlimited history file does not get truncated on exit.
1135
e6c693af
AA
11362015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1137
1138 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
1139 (VECTOR): New macro. Use it...
1140 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
1141 ...for these typedefs.
1142 (int8, char1, int1, double1): New typedefs.
1143 (struct just_int2, struct two_int2): New structures.
1144 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
1145 (add_structvecs, add_singlevecs): New functions.
1146 (main): Call add_some_intvecs twice.
1147 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
1148 the compile and exit upon failure. Try compiling for the "native"
1149 architecture. Test inferior function calls with vector arguments
1150 and vector return value handling with "finish" and "return".
1151
c74f7d1c
JT
11522015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
1153
1154 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
1155 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
1156 PE file.
1157 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
1158
98aa42ee
AT
11592015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1160
1161 PR breakpoints/16465
1162 * gdb.mi/mi-dprintf-pending.c: New file.
1163 * gdb.mi/mi-dprintf-pending.exp: New test.
1164 * gdb.mi/mi-dprintf-pendshr.c: New file.
1165
7d73c23c 11662015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 1167 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
1168
1169 * gdb.arch/i386-mpx-map.c: New file.
1170 * gdb.arch/i386-mpx-map.exp: New File.
1171
11722015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1173
1174 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
1175 * gdb.arch/i386-mpx.exp: Indentation fixed.
1176
11772015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1178
1179 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
1180 function and improved indentation.
1181 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
1182 gdb_test_multiple. Added additional tests to skip the test.
1183
11842015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
1185
1186 * gdb.arch/i386-avx512.c: Change path in include file.
1187 * gdb.arch/i386-avx512.exp: Change include dir path
1188 compilation flag.
1189 * gdb.arch/i386-mpx.c: Change path in include file.
1190 * gdb.arch/i386-mpx.exp: Change include dir path compilation
1191 flag.
1192
d5eba19a
JK
11932015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1194
1195 * gdb.compile/compile-print.exp (compile print *vararray@3)
1196 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
1197
7f361056
JK
11982015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1199
1200 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
1201 (do not keep jit in memory): ... this.
1202 (expect 5): Change it to ...
1203 (expect no 5): ... this.
1204
3b462ec2
SM
12052015-06-02 Simon Marchi <simon.marchi@ericsson.com>
1206
1207 PR gdb/15564
1208 * gdb.mi/mi-detach.exp: New file.
1209
e0619de6
JK
12102015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1211
1212 PR symtab/18392
1213 * gdb.arch/amd64-tailcall-self.S: New file.
1214 * gdb.arch/amd64-tailcall-self.c: New file.
1215 * gdb.arch/amd64-tailcall-self.exp: New file.
1216
e970cb34
DB
12172015-05-28 Don Breazeal <donb@codesourcery.com>
1218
1219 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
1220 tests for remote targets by checking is_target_gdbserver.
1221
b2e2f908
DE
12222015-05-27 Doug Evans <dje@google.com>
1223
1224 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
1225 * gdb.dwarf2/opaque-type-lookup.c: New file.
1226 * gdb.dwarf2/opaque-type-lookup.exp: New file.
1227
82c7be31
DE
12282015-05-26 Doug Evans <dje@google.com>
1229
1230 * gdb.cp/iostream.cc: New file.
1231 * gdb.cp/iostream.exp: New file.
1232
b4f54984
DE
12332015-05-26 Doug Evans <dje@google.com>
1234
1235 * gdb.dwarf2/dw2-op-call.exp: Update.
1236 * gdb.dwarf2/dw4-sig-types.exp: Update.
1237 * gdb.dwarf2/implptr.exp: Update.
1238 * gdb.mi/mi-cmd-param-changed.exp: Update.
1239
4ea6efe9
DE
12402015-05-26 Doug Evans <dje@google.com>
1241
1242 * gdb.python/py-lazy-string.c: New file.
1243 * gdb.python/py-lazy-string.exp: New file.
1244 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
1245 (main): Update. Add estring3.
1246 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
1247 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
1248
f6bb7db3
YQ
12492015-05-26 Omair Javaid <omair.javaid@linaro.org>
1250 Yao Qi <yao.qi@linaro.org>
1251
1252 * gdb.reverse/aarch64.c: New.
1253 * gdb.reverse/aarch64.exp: New.
1254
a81bfbd0
OJ
12552015-05-26 Omair Javaid <omair.javaid@linaro.org>
1256
1257 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
1258 (supports_reverse): Likewise.
1259
158bf1b4
PP
12602015-05-22 Patrick Palka <patrick@parcs.ath.cx>
1261
1262 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1263 Use with_test_prefix.
1264
a0145030
AB
12652015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
1266
1267 * gdb.base/completion.exp: Add test for completion of layout
1268 names.
1269
ebe3b578
AB
12702015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
1271
1272 * lib/gdb.exp (skip_tui_tests): New proc.
1273 * gdb.base/tui-layout.exp: Check skip_tui_tests.
1274
84204ed7
PA
12752015-05-19 Pedro Alves <palves@redhat.com>
1276
1277 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1278 Save the whole env array instead of just HOME. Unset HISTSIZE in
1279 the environment while testing. Restore whole environment
1280 afterwards.
1281
37442ce1
DE
12822015-05-16 Doug Evans <xdje42@gmail.com>
1283
1284 * gdb.guile/scm-ports.c: New file.
1285 * gdb.guile/scm-ports.exp: Add memory port tests.
1286
36de76f9
JK
12872015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1288
1289 * gdb.compile/compile-print.c: New file.
1290 * gdb.compile/compile-print.exp: New file.
1291
3a9558c4
JK
12922015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1293
1294 * gdb.compile/compile-ops.exp: Cast param to void.
1295 * gdb.compile/compile.exp: Complete type for _gdb_expr.
1296 (compile code struct_object.selffield = &struct_object): Add xfail.
1297
aa715135
JG
12982015-05-15 Joel Brobecker <brobecker@adacore.com>
1299
1300 * gdb.ada/arr_enum_with_gap: New testcase.
1301
931e5bc3
JG
13022015-05-15 Joel Brobecker <brobecker@adacore.com>
1303
1304 * gdb.ada/byte_packed_arr: New testcase.
1305
9cd4d857
JB
13062015-05-15 Joel Brobecker <brobecker@adacore.com>
1307
1308 * gdb.ada/pckd_neg: New testcase.
1309
ebfd00d2
PP
13102015-05-13 Patrick Palka <patrick@parcs.ath.cx>
1311
1312 PR gdb/17820
1313 * gdb.base/gdbinit-history.exp: New test.
1314 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
1315 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
1316
4c082a81
SC
13172015-05-09 Siva Chandra Reddy <sivachandra@google.com>
1318
1319 * gdb.python/py-xmethods.cc: Enhance test case.
1320 * gdb.python/py-xmethods.exp: New tests.
1321 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
1322 function.
1323 (B_indexoper): Likewise.
1324 (global_dm_list) : Add new xmethod worker functions.
1325
f7797074
SDJ
13262015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
1327
1328 * gdb.base/coredump-filter.exp: Correctly unset
1329 "coredump_var_addr" array.
1330
a4674e4e
PA
13312015-05-08 Pedro Alves <palves@redhat.com>
1332
1333 * gdb.server/non-existing-program.exp: Unset spawn_id.
1334
df2eb078
SC
13352015-05-08 Siva Chandra Reddy <sivachandra@google.com>
1336
1337 PR python/18291
1338 * gdb.python/py-xmethods.exp: Add tests.
1339
422349a3
YQ
13402015-05-08 Yao Qi <yao.qi@linaro.org>
1341
1342 PR gdb/18208
1343 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
1344 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
1345 function set_coredump_filter, and remove remote_exec call.
1346 Remove argument ipid. Callers update.
1347 (top level): Don't get inferior's PID.
1348
63fc80ce
AA
13492015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1350
1351 * gdb.base/watch_thread_num.exp: Skip test on targets without
1352 access watchpoints.
1353
80ad801e
PA
13542015-05-06 Pedro Alves <palves@redhat.com>
1355
1356 PR server/18081
1357 * gdb.server/non-existing-program.exp: New file.
1358
0fa7fe50
JB
13592015-05-05 Joel Brobecker <brobecker@adacore.com>
1360
1361 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1362
3ea89b92
PMR
13632015-05-05 Joel Brobecker <brobecker@adacore.com>
1364
1365 * gdb.ada/out_of_line_in_inlined: New testcase.
1366
87b8eff0
JB
13672015-05-05 Joel Brobecker <brobecker@adacore.com>
1368
1369 * gdb.ada/var_rec_arr: New testcase.
1370
5fccc635
YQ
13712015-04-30 Yao Qi <yao.qi@linaro.org>
1372
1373 * gdb.base/break-idempotent.exp: If
1374 skip_hw_watchpoint_multi_tests returns true, skip the tests
1375 on "rwatch" and "awatch".
1376
42d38f42
YQ
13772015-04-30 Yao Qi <yao.qi@linaro.org>
1378
1379 * gdb.base/relativedebug.exp: Invoke gdb command
1380 "info sharedlibrary", and if libc.so doesn't have debug info,
1381 skip the test.
1382
2ce1cdbf
DE
13832015-04-29 Doug Evans <dje@google.com>
1384
1385 * gdb.python/py-xmethods.exp: Add ptype tests.
1386 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1387 get_result_type method.
1388
f24a38c5
LM
13892015-04-29 Luis Machado <lgustavo@codesourcery.com>
1390
1391 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1392 the target does not support hardware watchpoints.
1393
ecbf2b3c
LM
13942015-04-29 Luis Machado <lgustavo@codesourcery.com>
1395
1396 * gdb.base/break-always.exp: Abort testing if writing to memory
1397 causes an error.
1398
34f5f757
DE
13992015-04-28 Doug Evans <dje@google.com>
1400
1401 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1402 * gdb.python/py-pp-registration.exp: ... here. New file.
1403 * gdb.python/py-pp-registration.c: New file.
1404 * gdb.python/py-pp-registration.py: New file.
1405
69b4374a
DE
14062015-04-28 Doug Evans <dje@google.com>
1407
1408 * gdb.python/py-bad-printers.c: New file.
1409 * gdb.python/py-bad-printers.py: New file.
1410 * gdb.python/py-bad-printers.exp: New file.
1411
59fb7612
SS
14122015-04-28 Sasha Smundak <asmundak@google.com>
1413
1414 * gdb.python/py-type.exp: New test.
1415
2631b16a
AW
14162015-04-28 Andy Wingo <wingo@igalia.com>
1417
1418 * gdb.python/py-parameter.exp:
1419 * gdb.guile/scm-parameter.exp: Escape the path that we are
1420 matching against, as it might contain characters that are special
1421 to regular expressions.
1422
460efde1
JB
14232015-04-27 Joel Brobecker <brobecker@adacore.com>
1424
1425 * gdb.ada/rec_comp: New testcase.
1426
2d369d8e
SDJ
14272015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1428
1429 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1430 before using it.
1431
cf75d6c3
AB
14322015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1433
1434 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1435 new tests for verilog output.
1436
8dbe7ca5
YQ
14372015-04-24 Yao Qi <yao.qi@linaro.org>
1438
1439 * boards/remote-gdbserver-on-localhost.exp: New file.
1440
4ef9fb2f
PA
14412015-04-23 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1444 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1445 "end of file", remove $inferior_spawn_id from the indirect list.
1446
0a803169
PA
14472015-04-23 Pedro Alves <palves@redhat.com>
1448
1449 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1450
749ef8f8
PA
14512015-04-23 Pedro Alves <palves@redhat.com>
1452
1453 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1454 on $any_spawn_id instead of only on $gdb_spawn_id.
1455
8aae4344
PM
14562015-04-21 Pierre Muller <muller@sourceware.org>
1457
1458 PR pascal/17815
1459 * lib/pascal.exp (gpc_compile): Add new option "class".
1460 (fpc_compile): Likewise.
1461 * gdb.pascal/case-insensitive-symbols.pas: New file.
1462 * gdb.pascal/case-insensitive-symbols.exp: New file.
1463
1586c8fb
GB
14642015-04-20 Gary Benson <gbenson@redhat.com>
1465
1466 * gdb.base/attach.exp: Fix three extended remote failures.
1467
1b6e6f5c
GB
14682015-04-17 Gary Benson <gbenson@redhat.com>
1469
1470 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1471 the main executable over the remote protocol.
1472
e797481d
PA
14732015-04-16 Pedro Alves <palves@redhat.com>
1474
1475 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1476 a new gdbserver if gdbserver_reconnect_p is set.
1477
1ca99c42
PA
14782015-04-16 Pedro Alves <palves@redhat.com>
1479
1480 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1481 is set, don't exit gdbserver.
1482
af9fd6f8
AA
14832015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1484
1485 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1486 appropriate .insn, such that an older assembler can be used.
1487 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1488 the z/Architecture instruction set on 31-bit targets as well.
1489
04ff1e61
AA
14902015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1491
1492 * gdb.go/handcall.exp: Remove all logic related to the first
1493 breakpoint and rely on go_runto_main instead.
1494 * gdb.go/strings.exp: Likewise.
1495 * gdb.go/unsafe.exp: Likewise.
1496 * gdb.go/hello.exp: Likewise. Also rename the remaining
1497 breakpoint marker to "breakpoint 1".
1498 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1499 * gdb.go/strings.go: Likewise.
1500 * gdb.go/unsafe.go: Likewise.
1501 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1502 "set breakpoint 2 here" and rename the remaining breakpoint marker
1503 to "breakpoint 1".
1504
40d2f8d6
SM
15052015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1506
1507 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1508 if itertools.imap is not present.
1509 * gdb.python/py-objfile.exp: Add parentheses.
1510 * gdb.python/py-type.exp: Same.
1511 * gdb.python/py-unwind-maint.py: Same.
1512
8cbc97c6
YQ
15132015-04-15 Yao Qi <yao.qi@linaro.org>
1514
1515 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1516 of ":$ptr_size" and set its form explicitly.
1517
45fd756c
YQ
15182015-04-15 Pedro Alves <palves@redhat.com>
1519 Yao Qi <yao.qi@linaro.org>
1520
1521 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1522 timeout by factor of 4.
1523 (test_regular_watch): Likewise.
1524 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1525 * gdb.reverse/sigall-reverse.exp: Likewise.
1526 * gdb.reverse/until-precsave.exp: Likewise.
1527 * lib/gdb.exp (with_timeout_factor): New proc.
1528 (gdb_expect): Move some code to ...
1529 (get_largest_timeout): ... here. New procedure.
1530
9e811bc3
LM
15312015-04-14 Luis Machado <lgustavo@codesourcery.com>
1532
1533 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1534
0ff6fcb2
LM
15352015-04-13 Luis Machado <lgustavo@codesourcery.com>
1536
1537 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1538 to write to the .text section.
1539
7578d5f7
LM
15402015-04-13 Luis Machado <lgustavo@codesourcery.com>
1541
1542 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1543 Handle the case of targets that do not provide PID information.
1544
2efe15c4
YQ
15452015-04-13 Yao Qi <yao.qi@linaro.org>
1546
1547 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1548 and use expect instead of gdb_expect.
1549
8cd8f2f8
SDJ
15502015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1551
1552 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1553 "coredump_var_addr" to avoid naming conflict with other testcases.
1554
9ee41772
PA
15552015-04-10 Pedro Alves <palves@redhat.com>
1556
1557 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1558 gdb_test_sequence and gdb_assert.
1559
07473109
PA
15602015-04-10 Pedro Alves <palves@redhat.com>
1561
1562 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1563 test messages that don't include the breakpoint address.
1564
de3db44c
YQ
15652015-04-10 Yao Qi <yao.qi@linaro.org>
1566
1567 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1568 false for some offset and width combinations which aren't
1569 supported by linux kernel.
1570
c79d856c
PA
15712015-04-10 Pedro Alves <palves@redhat.com>
1572
1573 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1574 procedure, factored out from ...
1575 (top level): ... here. Add "set displaced-stepping" testing axis.
1576 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1577 parameter "displaced". Use it.
1578 (top level): Use foreach and add "set displaced-stepping" testing
1579 axis.
1580
ebc90b50
PA
15812015-04-10 Pedro Alves <palves@redhat.com>
1582
1583 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1584 Remove comment.
1585 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1586 both the address of the instruction that triggers the watchpoint
1587 and the address of the instruction immediately after, and use
1588 those addresses for the test. Fix comment.
1589
8f572e5c
PA
15902015-04-10 Pedro Alves <palves@redhat.com>
1591
1592 * gdb.base/sigstep.exp (breakpoint_to_handler)
1593 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1594 Test "backtrace" in handler.
1595 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1596 (top level): Add new "displaced" test axis to
1597 breakpoint_to_handler, breakpoint_to_handler_entry and
1598 breakpoint_over_handler.
1599
8d707a12
PA
16002015-04-10 Pedro Alves <palves@redhat.com>
1601
1602 PR gdb/18216
1603 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1604
ef713951
YQ
16052015-04-10 Yao Qi <yao.qi@linaro.org>
1606
1607 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1608 (test_add_rn_pc): New function.
1609 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1610 (top level): Invoke test_add_rn_pc.
1611
906d60cf
PA
16122015-04-10 Pedro Alves <palves@redhat.com>
1613
1614 PR gdb/13858
1615 * gdb.base/step-over-no-symbols.exp: New file.
1616
f2983cc3
AW
16172015-04-09 Andy Wingo <wingo@igalia.com>
1618
1619 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1620 after the Python tests.
1621
6d62641c
SDJ
16222015-04-08 Keith Seitz <keiths@redhat.com>
1623
1624 PR python/16699
1625 * gdb.python/py-completion.exp: New tests for completion.
1626 * gdb.python/py-completion.py (CompleteLimit1): New class.
1627 (CompleteLimit2): Likewise.
1628 (CompleteLimit3): Likewise.
1629 (CompleteLimit4): Likewise.
1630 (CompleteLimit5): Likewise.
1631 (CompleteLimit6): Likewise.
1632 (CompleteLimit7): Likewise.
1633
f3770638
PA
16342015-04-08 Pedro Alves <palves@redhat.com>
1635
1636 PR gdb/18214
1637 PR gdb/18216
1638 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1639 function.
1640 (main): Install it as SIGUSR1 handler.
1641 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1642 parameter. Always use "setup" as prefix. Toggle "set
1643 displaced-stepping" off/on depending on global. Don't switch to
1644 thread 1 here.
1645 (top level): Add displaced stepping "off/on" test axis. Update
1646 "setup" calls. Wrap each subtest with with_test_prefix. Test
1647 continuing with a queued signal in each thread.
1648
4496bed7
PA
16492015-04-08 Pedro Alves <palves@redhat.com>
1650
1651 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1652 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1653 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1654 Return early if running to main fails.
1655 * gdb.trace/while-stepping.exp: Likewise.
1656
b97fde92
PA
16572015-04-07 Pedro Alves <palves@redhat.com>
1658
1659 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1660 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1661 interact with inferior program.
1662
f71c18e7
PA
16632015-04-07 Pedro Alves <palves@redhat.com>
1664
1665 * lib/gdb.exp (inferior_spawn_id): New global.
1666 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1667 spawn id after processing the user code.
1668 (default_gdb_start): Set inferior_spawn_id.
1669 (send_inferior): New procedure.
1670 * lib/gdbserver-support.exp (gdbserver_start): Set
1671 inferior_spawn_id.
1672 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1673
6423214f
PA
16742015-04-07 Pedro Alves <palves@redhat.com>
1675
1676 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1677 * lib/gdbserver-support.exp (gdbserver_start): Make
1678 $server_spawn_id global.
1679 (gdbserver_start): Don't wait for gdbserver's spawn id with
1680 expect_background.
1681 (close_gdbserver): New procedure.
1682 (gdb_exit): Rename the default version and reimplement.
1683
71c0ee8c
PA
16842015-04-07 Pedro Alves <palves@redhat.com>
1685
72f4393d 1686 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1687 append the substituted item, not the original item.
1688
203bc29b
PA
16892015-04-07 Pedro Alves <palves@redhat.com>
1690
1691 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1692 gdb_expect.
1693
508a3ddf
PA
16942015-04-07 Pedro Alves <palves@redhat.com>
1695
1696 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1697 output appearing once only.
1698
9f6dbe2b
PA
16992015-04-07 Pedro Alves <palves@redhat.com>
1700
1701 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1702 that doesn't expect anything. Return early if running to main
1703 fails.
1704
337532fa
YQ
17052015-04-07 Yao Qi <yao.qi@linaro.org>
1706
1707 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1708 (child_function): Call alarm.
1709 (main): Move call to alarm into the loop.
1710 * gdb.threads/non-stop-fair-events.exp: Build program with
1711 -DTIMEOUT=$timeout.
1712
01b622d4
DE
17132015-04-06 Doug Evans <xdje42@gmail.com>
1714
1715 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1716 Fix dest parameter to board_info.
1717 (fpc_compile): Ditto.
1718 (gdb_compile_pascal): Rename dest arg to destfile.
1719
961f4160
PMR
17202015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1721
1722 * gdb.ada/funcall_ref.exp: New file.
1723 * gdb.ada/funcall_ref/foo.adb: New file.
1724
cafda597
YQ
17252015-04-02 Yao Qi <yao.qi@linaro.org>
1726
1727 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1728 is remote.
1729
fed040c6
GB
17302015-04-02 Gary Benson <gbenson@redhat.com>
1731
1732 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1733
d11916aa
SS
17342015-04-01 Sasha Smundak <asmundak@google.com>
1735
1736 * gdb.python/py-unwind-maint.c: New file.
1737 * gdb.python/py-unwind-maint.exp: New test.
1738 * gdb.python/py-unwind-maint.py: New file.
1739 * gdb.python/py-unwind.c: New file.
1740 * gdb.python/py-unwind.exp: New test.
1741 * gdb.python/py-unwind.py: New test.
1742
a1471180
PA
17432015-04-01 Pedro Alves <palves@redhat.com>
1744
1745 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1746 to fail instead of non-existent $test.
1747
0bbeccb1
PA
17482015-04-01 Pedro Alves <palves@redhat.com>
1749
1750 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1751 GDBFLAGS if not empty.
1752
3c724c8c
PMR
17532015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1754
1755 * gdb.ada/complete.exp: Remove "multi_line".
1756 * gdb.ada/info_exc.exp: Remove "multi_line".
1757 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1758 * gdb.ada/ptype_field.exp: Remove "multi_line".
1759 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1760 * gdb.ada/tagged.exp: Remove "multi_line".
1761 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1762 [multi_line ...]
1763 * gdb.btrace/delta.exp: Likewise.
1764 * gdb.btrace/exception.exp: Likewise.
1765 * gdb.btrace/function_call_history.exp: Likewise.
1766 * gdb.btrace/instruction_history.exp: Likewise.
1767 * gdb.btrace/nohist.exp: Likewise.
1768 * gdb.btrace/record_goto.exp: Likewise.
1769 * gdb.btrace/segv.exp: Likewise.
1770 * gdb.btrace/stepi.exp: Likewise.
1771 * gdb.btrace/tailcall.exp: Likewise.
1772 * gdb.btrace/unknown_functions.exp: Likewise.
1773 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1774 * lib/gdb.exp: Add the "multi_line" helper.
1775
4eec2deb
PA
17762015-04-01 Pedro Alves <palves@redhat.com>
1777
1778 * gdb.threads/tid-reuse.c: New file.
1779 * gdb.threads/tid-reuse.exp: New file.
1780
df8411da
SDJ
17812015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1782
1783 PR corefiles/16092
1784 * gdb.base/coredump-filter.c: New file.
1785 * gdb.base/coredump-filter.exp: Likewise.
1786
6ef37366
PM
17872015-03-27 Petr Machata <pmachata@redhat.com>
1788
1789 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1790 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1791 (Dwarf::assemble): Initialize them.
1792 (Dwarf::lines): New function.
1793
7ec911b0
JT
17942015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1795
1796 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1797 SYMBOL_PREFIX for x86_64-*-cygwin.
1798
ff908ebf
AW
17992015-03-26 Andy Wingo <wingo@igalia.com>
1800
1801 PR symtab/18148
1802 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1803 const_value but not a location.
1804 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1805 location defined in non-main CUs are visible.
1806
6d5f0679
YQ
18072015-03-26 Yao Qi <yao.qi@linaro.org>
1808
1809 PR testsuite/18139
1810 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1811 Add a line number entry for the same line.
1812 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1813 Add a line number entry for the same line.
1814
2898689b
YQ
18152015-03-26 Yao Qi <yao.qi@linaro.org>
1816
1817 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1818 .int 0.
1819 (func): Likewise. Add .Lfunc_1 label.
1820 Use .Lfunc_1 label.
1821 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1822 .int 0.
1823 (func): Likewise.
1824 Use .Lfunc_1 label.
1825
85180498
YQ
18262015-03-26 Yao Qi <yao.qi@linaro.org>
1827
1828 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1829 Call gdb_compile instead to compile each .s files without debug
1830 information.
1831
8aa08a8d
YQ
18322015-03-26 Yao Qi <yao.qi@linaro.org>
1833
1834 * gdb.base/savedregs.exp (process_saved_regs): Make
1835 "Saved registers:" optional in the pattern.
1836
66849923
MM
18372015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1838
1839 * gdb.btrace/next.exp: Merged into step.exp.
1840 * gdb.btrace/finish.exp: Merged into step.exp.
1841 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1842 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1843 "record goto" and checking the exact replay position.
1844 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1845 check for "Recording format" in "info record" output.
1846 * gdb.btrace/record_goto.exp: Choose test file based on target.
1847 * gdb.btrace/x86-record_goto.S: Renamed into ...
1848 * gdb.btrace/x86_64-record_goto.S: ... this.
1849 * gdb.btrace/i686-record_goto.S: New.
1850 * gdb.btrace/x86-tailcall.S: Renamed into ...
1851 * gdb.btrace/x86_64-tailcall.S: ... this.
1852 * gdb.btrace/i686-tailcall.S: New.
1853 * gdb.btrace/x86-tailcall.c: Renamed into ...
1854 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1855 separate statements. Update test.
1856 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1857 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1858 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1859 * gdb.btrace/tailcall.exp: Choose test file based on target.
1860 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1861
11cc1b74
MM
18622015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1863
1864 * gdb.btrace/exception.exp: Increase BTS buffer size.
1865
a25d8bf9
PA
18662015-03-24 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1869
856e7dd6
PA
18702015-03-24 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.threads/schedlock.exp (test_step): No longer expect that
1873 "set scheduler-locking step" with "next" over a function call runs
1874 threads unlocked.
1875
ad235a41
AT
18762015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1877
1878 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1879
15630549
AT
18802015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1881
1882 PR breakpoints/16466
1883 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1884 * gdb.mi/mi-pending.c (thread_func): New function.
1885 (int main): Add threading support required.
1886 * gdb.mi/mi-pending.exp: Add tests for this issue.
1887 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1888 (pendfunc2): Remove stdio dependency.
1889 * gdb.mi/mi-pendshr2.c: New file.
1890
693dca06
KS
18912015-03-23 Keith Seitz <keiths@redhat.com>
1892
1893 * gdb.linespec/keywords.c: New file.
1894 * gdb.linespec/keywords.exp: New file.
1895
7e993ebf
KS
18962015-03-23 Keith Seitz <keiths@redhat.com>
1897
1898 PR gdb/18021
1899 * gdb.dwarf2/staticvirtual.exp: New test.
1900
bc23328c
JK
19012015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1902
1903 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1904 * README: Remove HP-UX and gdb.hp.
1905 (configuration):
1906 * configure: Regenerate.
1907 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1908 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1909 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1910 gdb.hp/gdb.defects/Makefile.
1911 * gdb.hp/Makefile.in: File deleted.
1912 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1913 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1914 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1915 * gdb.hp/gdb.aCC/run.c: File deleted.
1916 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1917 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1918 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1919 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1920 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1921 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1922 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1923 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1924 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1925 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1926 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1927 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1928 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1929 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1930 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1931 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1932 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1933 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1934 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1935 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1936 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1937 * gdb.hp/gdb.compat/average.c: File deleted.
1938 * gdb.hp/gdb.compat/sum.c: File deleted.
1939 * gdb.hp/gdb.compat/xdb.c: File deleted.
1940 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1941 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1942 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1943 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1944 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1945 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1946 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1947 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1948 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1949 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1950 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1951 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1952 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1953 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1954 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1955 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1956 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1957 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1958 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1959 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1960 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1961 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1962 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1963 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1964 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1965 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1966 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1967 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1968 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1969 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1970 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1971 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1972 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1973 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1974 * gdb.hp/tools/odump: File deleted.
1975
8bf3b159
PA
19762015-03-19 Pedro Alves <palves@redhat.com>
1977
1978 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1979 (saw_thread_3): New globals.
1980 (top level): Increment them when an event for the corresponding
1981 thread is seen.
1982 (no thread starvation): New test.
1983
eb54c8bf
PA
19842015-03-19 Pedro Alves <palves@redhat.com>
1985
1986 * gdb.threads/continue-pending-status.c: New file.
1987 * gdb.threads/continue-pending-status.exp: New file.
1988
32d2e5d6
PA
19892015-03-18 Pedro Alves <palves@redhat.com>
1990
1991 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1992 Use gdb_is_target_remote instead of is_remote. Use
1993 gdb_test_multiple instead of gdb_expect. Exit early if
1994 gdb_test_multiple hits its internal matches. Tighten stepi tests
1995 expected output. Fail on exit with any signal, instead of just
1996 SIGILL.
1997
f68f11b7
YQ
19982015-03-18 Yao Qi <yao.qi@linaro.org>
1999
2000 PR tdep/18107
2001 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2002 variable.
2003 * gdb.base/catch-syscall.exp: Don't skip it on
2004 aarch64*-*-linux* target. Remove elements in all_syscalls.
2005 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2006 target.
2007 (setup_all_syscalls): New proc.
2008
ca5fd19b
YQ
20092015-03-16 Yao Qi <yao.qi@linaro.org>
2010
2011 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2012 (top level): Skip tests if valid_addr_p returns false for
2013 $cmd1 or $cmd2.
2014
85642ba0
AW
20152015-03-11 Andy Wingo <wingo@igalia.com>
2016
2017 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2018
e03f9645
YQ
20192015-03-11 Yao Qi <yao.qi@linaro.org>
2020
2021 * gdb.base/catch-syscall.exp: Fix typo in comments.
2022
5d0962b2
YQ
20232015-03-11 Yao Qi <yao.qi@linaro.org>
2024
2025 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2026
b2df3cef
PA
20272015-03-09 Pedro Alves <palves@redhat.com>
2028
2029 * dg-extract-results.py: Delete.
2030
ef878e53
PA
20312015-03-09 Pedro Alves <palves@redhat.com>
2032
2033 Merge dg-extract-results.sh from GCC upstream (r218843).
2034
2035 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2036 * dg-extract-results.sh: Use --text with grep to avoid issues with
2037 binary files. Fall back to cat -v, if that doesn't work.
2038
9494d219
PA
20392015-03-05 Pedro Alves <palves@redhat.com>
2040
2041 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2042
a8d9763a
SM
20432015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2044
2045 * lib/mi-support.exp (mi_expect_interrupt): Accept
2046 alternative event for when in all-stop mode.
2047
be9957b8
PA
20482015-03-04 Pedro Alves <palves@redhat.com>
2049
2050 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2051
d57be0f4 20522015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2053
2054 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2055
c214c7cf
AA
20562015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2057
2058 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2059 regexps for GDB's current line display, accept a hex address
2060 preceding the line number.
2061
6d74a497
AA
20622015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2063
2064 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2065 the 'arch1' variable for "s390*-linux*" targets.
2066
511aee7c
PA
20672015-03-04 Pedro Alves <palves@redhat.com>
2068
2069 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2070 (main): Pass missing retval argument to pthread_join call.
2071
95e50b27
PA
20722015-03-02 Pedro Alves <palves@redhat.com>
2073
2074 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2075 (top level): Call do_test with non-stop as well.
2076
28054d69
PA
20772015-03-02 Pedro Alves <palves@redhat.com>
2078
2079 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2080 -1.
2081
4fa5d7b4
AA
20822015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2083
2084 * gdb.arch/s390-vregs.exp: New test.
2085 * gdb.arch/s390-vregs.S: New file.
2086
97c18565
PA
20872015-02-27 Pedro Alves <palves@redhat.com>
2088
2089 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2090 call to catch_command_errors.
2091 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2092 catch_command_errors.
2093
a37bfa30
PA
20942015-02-27 Pedro Alves <palves@redhat.com>
2095
2096 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2097 "true" for boolean result.
2098 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2099 prototype of main.
2100
6f98576f
PA
21012015-02-27 Pedro Alves <palves@redhat.com>
2102
2103 * lib/unbuffer_output.c: New file.
2104 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2105 (main): Call gdb_unbuffer_output.
2106
eba5ab56
YQ
21072015-02-27 Yao Qi <yao.qi@linaro.org>
2108
2109 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2110 target.
2111
0def5aaa
DE
21122015-02-26 Doug Evans <dje@google.com>
2113
2114 * gdb.cp/class2.cc (Dbase, D): New classes.
2115 (main): New local delta.
2116 * gdb.cp/class2.exp: Test printing delta.
2117 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
2118 (dynbar): New global.
2119 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
2120
081a1c2c
JK
21212015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2122
2123 * gdb.compile/compile-ifunc.c: New file.
2124 * gdb.compile/compile-ifunc.exp: New file.
2125
2f41223f
AT
21262015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
2127
2128 * gdb.base/structs.exp: Check for correct struct on finish.
2129
03eddd80
YQ
21302015-02-26 Yao Qi <yao.qi@linaro.org>
2131
2132 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
2133 is zero.
2134
80c57053
JK
21352015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2136
2137 * gdb.arch/cordic.ko.bz2: New file.
2138 * gdb.arch/cordic.ko.debug.bz2: New file.
2139 * gdb.arch/ppc64-symtab-cordic.exp: New file.
2140
21613c12
YQ
21412015-02-25 Yao Qi <yao.qi@linaro.org>
2142
2143 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
2144 aarch64*-*-* target.
2145
d8b901ed
PA
21462015-02-23 Pedro Alves <palves@redhat.com>
2147
2148 * lib/gdb.exp (delete_breakpoints): Rewrite using
2149 gdb_test_multiple.
2150
e5b85ead
PA
21512015-02-23 Pedro Alves <palves@redhat.com>
2152
2153 * gdb.base/info-os.c: Include stdlib.h.
2154
85c3a371
DE
21552015-02-22 Doug Evans <xdje42@gmail.com>
2156
2157 PR symtab/17855
2158 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
2159 is read after symbols have been re-read.
2160 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
2161 * gdb.ada/exec_changed/second.adb (Second): Ditto.
2162
96553a0c
DE
21632015-02-21 Doug Evans <dje@google.com>
2164
2165 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
2166
97a0c697
JK
21672015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2168
2169 PR corefiles/17808
2170 * gdb.arch/i386-biarch-core.core.bz2: New file.
2171 * gdb.arch/i386-biarch-core.exp: New file.
2172
a47cd6e9
PA
21732015-02-21 Pedro Alves <palves@redhat.com>
2174
2175 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
2176 runto_main fails.
2177
c5facdc4
PA
21782015-02-20 Pedro Alves <palves@redhat.com>
2179
2180 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
2181 info probes.
2182
2db9a427
PA
21832015-02-20 Pedro Alves <palves@redhat.com>
2184
2185 * gdb.threads/multi-create-ns-info-thr.exp: New file.
2186
60fb7e9e
PA
21872015-02-20 Pedro Alves <palves@redhat.com>
2188
2189 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
2190 clean_restart before gdb_target_supports_trace.
2191
5c5019c2
PA
21922015-02-20 Pedro Alves <palves@redhat.com>
2193
2194 PR threads/18006
2195 * gdb.threads/clone-thread_db.c: New file.
2196 * gdb.threads/clone-thread_db.exp: New file.
2197
c9587f88
AT
21982015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
2199
2200 PR breakpoints/16812
2201 * gdb.base/catch-gdb-caused-signals.c: New file.
2202 * gdb.base/catch-gdb-caused-signals.exp: New file.
2203
f6a88844
JM
22042015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
2205
2206 * configure: Regenerated.
2207 * configure.ac: Use GDB_AC_TRANSFORM.
2208 * aclocal.m4: sinclude ../transform.m4.
2209
497c491b
JM
22102015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2211
2212 * lib/dtrace.exp: New file.
2213 * gdb.base/dtrace-probe.exp: Likewise.
2214 * gdb.base/dtrace-probe.d: Likewise.
2215 * gdb.base/dtrace-probe.c: Likewise.
2216 * lib/pdtrace.in: Likewise.
2217 * configure.ac: Output variables with the transformed names of
2218 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
2219 * configure: Regenerated.
2220
03e98035
JM
22212015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2222
2223 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
2224 expected message when trying to access $_probe_* convenience
2225 variables while not on a probe.
2226
63cc30e9
JK
22272015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2228
2229 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
2230
0703599a
PA
22312015-02-11 Pedro Alves <pedro@codesourcery.com>
2232
2233 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
2234 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
2235
7e60a48e
DE
22362015-02-10 Doug Evans <xdje42@gmail.com>
2237
2238 * lib/gdb.exp (gdb_load): Always return a result.
2239
01b088bc
PA
22402015-02-10 Pedro Alves <palves@redhat.com>
2241
2242 * gdb.threads/signal-sigtrap.c: New file.
2243 * gdb.threads/signal-sigtrap.exp: New file.
2244
b05ec7a5
AT
22452015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
2246
2247 * gdb.trace/no-attach-trace.c: New file.
2248 * gdb.trace/no-attach-trace.exp: New file.
2249
a2c2acaf
MW
22502015-02-09 Mark Wielaard <mjw@redhat.com>
2251
2252 * gdb.dwarf2/atomic.c: New file.
2253 * gdb.dwarf2/atomic-type.exp: Likewise.
2254
31fd9caa
MM
22552015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2256
2257 * gdb.btrace/buffer-size.exp: Update "info record" output.
2258 * gdb.btrace/delta.exp: Update "info record" output.
2259 * gdb.btrace/enable.exp: Update "info record" output.
2260 * gdb.btrace/finish.exp: Update "info record" output.
2261 * gdb.btrace/instruction_history.exp: Update "info record" output.
2262 * gdb.btrace/next.exp: Update "info record" output.
2263 * gdb.btrace/nexti.exp: Update "info record" output.
2264 * gdb.btrace/step.exp: Update "info record" output.
2265 * gdb.btrace/stepi.exp: Update "info record" output.
2266 * gdb.btrace/nohist.exp: Update "info record" output.
2267
d33501a5
MM
22682015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2269
2270 * gdb.btrace/buffer-size: New.
2271
f4abbc16
MM
22722015-02-09 Markus Metzger <markus.t.metzger@intel.com>
2273
2274 * gdb.btrace/delta.exp: Update "info record" output.
2275 * gdb.btrace/enable.exp: Update "info record" output.
2276 * gdb.btrace/finish.exp: Update "info record" output.
2277 * gdb.btrace/instruction_history.exp: Update "info record" output.
2278 * gdb.btrace/next.exp: Update "info record" output.
2279 * gdb.btrace/nexti.exp: Update "info record" output.
2280 * gdb.btrace/step.exp: Update "info record" output.
2281 * gdb.btrace/stepi.exp: Update "info record" output.
2282 * gdb.btrace/nohist.exp: Update "info record" output.
2283
b9d61307
SM
22842015-02-06 Simon Marchi <simon.marchi@ericsson.com>
2285
2286 PR gdb/15678
2287 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
2288
e584fdbc
PA
22892015-02-06 Pedro Alves <palves@redhat.com>
2290
2291 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
2292 macro.
2293 (seconds_left, again): New globals.
2294 (main): Wait seconds_left in a 1-second sleep loop instead of
2295 sleeping 180 seconds. If 'again' is set, reset the seconds
2296 counter.
2297 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
2298 'again' in the inferior before detaching. Print the seconds left.
2299 (options): New global.
2300 (top level): Build program with -DTIMEOUT=$timeout.
2301
77f41761
PA
23022015-02-06 Pedro Alves <palves@redhat.com>
2303
2304 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
2305 determine how many seconds to pass to 'alarm'.
2306 * gdb.base/gdb-sigterm.exp (top level): Build program with
2307 -DTIMEOUT=$timeout.
2308 (do_test): Return success/failure indication. Add more verbose
2309 logging. Don't fail if 200 single steps are seen. Instead, fail
2310 when the test times out.
2311 (passes): New global.
2312 (top level): Break the testing loop if testing fails on any
2313 iteration. Use gdb_assert.
2314
b9394193
DB
23152015-02-04 Don Breazeal <donb@codesourcery.com>
2316
2317 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
2318 and initialize them.
2319 (ipc_cleanup): New function.
2320 (main): Don't declare shmid, semid, and msqid. Add a call to
2321 atexit so that we call ipc_cleanup on exit.
2322
42d9e528
PA
23232015-02-04 Pedro Alves <palves@redhat.com>
2324
2325 * boards/native-extended-gdbserver.exp: Remove any target variant
2326 specifications from the board name before clearing the isremote
2327 flag from board_info.
2328
ae6ae975
DE
23292015-01-31 Doug Evans <xdje42@gmail.com>
2330
2331 * gdb.base/maint.exp <maint print type argc>: Update expected output.
2332
cfb069a8
GB
23332015-01-31 Gary Benson <gbenson@redhat.com>
2334
2335 * gdb.base/completion.exp: Disable completion limiting for
2336 existing tests. Add new tests to check completion limiting.
2337 * gdb.linespec/ls-errs.exp: Disable completion limiting.
2338
5dd31d79
DE
23392015-01-31 Doug Evans <xdje42@gmail.com>
2340
2341 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
2342
9f050062
DE
23432015-01-31 Doug Evans <xdje42@gmail.com>
2344
2345 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
2346 entries. Duplicate file section script entries.
2347 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2348 inlined entries. Add test for safe-path rejection.
2349 * gdb.python/py-section-script.c: Add duplicate inlined section script
2350 entries. Duplicate file section script entries.
2351 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2352 inlined entries. Add test for safe-path rejection.
2353
df25ebbd
JB
23542015-01-29 Joel Brobecker <brobecker@adacore.com>
2355
2356 * gdb.ada/disc_arr_bound: New testcase.
2357
4a0ca9ec
JB
23582015-01-29 Joel Brobecker <brobecker@adacore.com>
2359
2360 * gdb.ada/mi_var_array: New testcase.
2361
3a8b707a
DE
23622015-01-27 Doug Evans <dje@google.com>
2363
2364 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2365 Add test for objfile.filename, objfile.username after objfile
2366 has been unloaded.
2367
f8313f6e
JB
23682015-01-26 Joel Brobecker <brobecker@adacore.com>
2369
2370 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2371 the second test to print the name attribute of value
2372 returned by the call to gdb.lookup_type, and adjust
2373 the expected output accordingly.
2374
37bc665e
MW
23752015-01-25 Mark Wielaard <mjw@redhat.com>
2376
2377 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2378 * gdb.base/disp-step-fork.c: Include unistd.h.
2379 * gdb.base/siginfo-obj.c: Include stdio.h.
2380 * gdb.base/siginfo-thread.c: Likewise.
2381 * gdb.mi/non-stop.c: Include unistd.h.
2382 * gdb.mi/nsthrexec.c: Include stdio.h.
2383 * gdb.mi/pthreads.c: Include unistd.h.
2384 * gdb.modula2/unbounded1.c (main): Declare returns int.
2385 * gdb.reverse/consecutive-reverse.c: Likewise.
2386 * gdb.threads/create-fail.c: Include unistd.h.
2387 * gdb.threads/killed.c: Likewise.
2388 * gdb.threads/linux-dp.c: Likewise.
2389 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2390 * gdb.threads/non-ldr-exc-2.c: Likewise.
2391 * gdb.threads/non-ldr-exc-3.c: Likewise.
2392 * gdb.threads/non-ldr-exc-4.c: Likewise.
2393 * gdb.threads/pthreads.c: Include unistd.h.
2394 (main): Declare returns int.
2395 * gdb.threads/tls-main.c (foo): New declaration.
2396 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2397
f7e5394d
SM
23982015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2399
2400 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2401 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2402
743649fd
MW
24032015-01-15 Mark Wielaard <mjw@redhat.com>
2404
2405 * gdb.base/noreturn-return.c: New file.
2406 * gdb.base/noreturn-return.exp: New file.
2407 * gdb.base/noreturn-finish.c: New file.
2408 * gdb.base/noreturn-finish.exp: New file.
2409
198297aa
PA
24102015-01-23 Pedro Alves <palves@redhat.com>
2411
2412 * gdb.threads/continue-pending-after-query.c: New file.
2413 * gdb.threads/continue-pending-after-query.exp: New file.
2414
717cf30c
AG
24152015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2416 Simon Marchi <simon.marchi@ericsson.com>
2417
2418 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2419 * gdb.base/valgrind-db-attach.exp: Same.
2420 * gdb.base/valgrind-infcall.exp: Same.
2421 * lib/mi-support.exp (default_mi_gdb_start): Same.
2422 * lib/prompt.exp (default_prompt_gdb_start): Same.
2423 * lib/gdb.exp (default_gdb_spawn): Same.
2424 (gdb_interact): New.
2425
2426
4b62a76e
JK
24272015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2428
2429 * gdb.compile/compile.exp (pointer to jit function): New test.
2430
b4cdae6f
WW
24312015-01-17 Wei-cheng Wang <cole945@gmail.com>
2432
2433 * lib/gdb.exp (supports_process_record): Return true for
2434 powerpc*-*-linux*.
2435 (supports_reverse): Likewise.
2436
d221e7ef
DB
24372015-01-15 Don Breazeal <donb@codesourcery.com>
2438
2439 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2440 instead of checking whether the target board is remote and
2441 use spawn_wait_for_attach instead of exec/sleep.
2442 * gdb.base/attach-twice.exp: Likewise.
2443
bafffb51
JB
24442015-01-15 Joel Brobecker <brobecker@adacore.com>
2445
2446 * gdb.ada/var_arr_attrs: New testcase.
2447
5589af0e
PA
24482015-01-14 Pedro Alves <palves@redhat.com>
2449 Joel Brobecker <brobecker@adacore.com>
2450
2451 PR gdb/17525
2452 * gdb.base/bp-cmds-execution-x-script.c: New file.
2453 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2454 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2455
6c400b59
PA
24562015-01-14 Pedro Alves <palves@redhat.com>
2457
2458 PR cli/17828
2459 * gdb.base/batch-preserve-term-settings.c: New file.
2460 * gdb.base/batch-preserve-term-settings.exp: New file.
2461
e02c96a7
DE
24622015-01-13 Doug Evans <dje@google.com>
2463
2464 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2465 binary.
2466
576fd14c
JB
24672015-01-13 Joel Brobecker <brobecker@adacore.com>
2468
2469 * Makefile.in (clean mostlyclean): Do not delete *.py.
2470
04dccad0
JB
24712015-01-13 Joel Brobecker <brobecker@adacore.com>
2472
2473 * gdb.python/py-lookup-type.exp: New file.
2474
3d230f71
PA
24752015-01-12 Pedro Alves <palves@redhat.com>
2476
2477 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2478 restore GDBFLAGS before returning.
2479
7e67715d
JK
24802015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2481
2482 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2483 is_amd64_regs_target and is_x86_like_target.
2484
f2e0d4b4
DE
24852015-01-11 Doug Evans <xdje42@gmail.com>
2486
2487 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2488 is given without an explicit form.
2489 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2490 attributes.
2491 * gdb.dwarf/corrupt.exp: Ditto.
2492 * gdb.dwarf2/enum-type.exp: Ditto.
2493 * gdb.trace/entry-values.exp: Ditto.
2494 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2495
439250fb
DE
24962015-01-11 Doug Evans <xdje42@gmail.com>
2497
2498 PR gdb/15830
2499 * gdb.base/maint.exp: Remove references to "maint demangle".
2500 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2501 Add tests for explicitly specifying language to demangle.
2502 * gdb.dlang/demangle.exp: Ditto.
2503
ede9f622
PA
25042015-01-09 Pedro Alves <palves@redhat.com>
2505
2506 * gdb.threads/non-stop-fair-events.c: New file.
2507 * gdb.threads/non-stop-fair-events.exp: New file.
2508
a7b796db
PA
25092015-01-09 Pedro Alves <palves@redhat.com>
2510
2511 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2512 the global scope. Set a breakpoint after all threads are started
2513 rather than stepping over two source lines. Expect the prompt.
2514 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2515 global.
2516 (NUM): Now 15.
2517 (main): Use threads_started_barrier to wait for all threads to
2518 start. Main thread no longer calls thread_function. Exit after
2519 180 seconds.
2520 (loop): New function.
2521 (thread_function): Wait on threads_started_barrier barrier. Call
2522 'loop' at each iteration.
2523 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2524 threads have started, instead of hardcoding number of "next"
2525 steps. Use an access watchpoint instead of a write watchpoint.
2526
9665ffdd
PA
25272015-01-09 Pedro Alves <palves@redhat.com>
2528
2529 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2530 (thread_func): Wait on barrier.
2531 (main): Wait for all threads to start before stopping GDB.
2532 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2533 global.
2534 (thread1_func, thread2_func): Wait on barrier.
2535 (main): Wait for all threads to start before stopping GDB.
2536 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2537 New global.
2538 (thread1_func, thread2_func): Wait on barrier.
2539 (main): Wait for all threads to start before stopping GDB.
2540
c945a99f
PA
25412015-01-09 Pedro Alves <palves@redhat.com>
2542
2543 * gdb.threads/attach-many-short-lived-threads.c: New file.
2544 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2545
c1a747c1
PA
25462014-01-09 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2549 instead of to thread 2.
2550 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2551 Add barrier around each pthread_create call instead of around all
2552 calls.
2553 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2554 Set a break on thread_function and have the child threads hit it
2555 one at at a time.
2556
60b3033e
PA
25572015-01-09 Pedro Alves <palves@redhat.com>
2558
2559 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2560 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2561 false.
2562 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2563 checking whether the target board is remote.
2564 * gdb.multi/multi-attach.exp: Likewise.
2565 * gdb.python/py-sync-interp.exp: Likewise.
2566 * gdb.server/ext-attach.exp: Likewise.
2567 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2568 tests that need to attach, instead of checking whether the target
2569 board is remote at the top of the file.
2570
acc018ac
YQ
25712015-01-08 Yao Qi <yao@codesourcery.com>
2572
2573 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2574
50a18af8
JK
25752015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2576
2577 Fix testcase compilation.
2578 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2579
8503d6e1
JB
25802015-01-06 Joel Brobecker <brobecker@adacore.com>
2581
2582 * gdb.python/py-type.exp: Add a couple test about empty
2583 array creation, and negative-length array creation.
2584
cc73dbcc
DE
25852015-01-02 Doug Evans <xdje42@gmail.com>
2586
2587 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2588
0300bbc7
DE
25892015-01-02 Doug Evans <dje@google.com>
2590
2591 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2592
9d85a0ec
YQ
25932014-12-29 Yao Qi <yao@codesourcery.com>
2594
2595 * gdb.trace/entry-values.exp: Update comments. Rename variable
2596 bar_call_foo to returned_from_foo.
2597
87186c6a
MMN
25982014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2599
2600 PR gdb/17394
2601 * gdb.linespec/break-asm-file.c: New file.
2602 * gdb.linespec/break-asm-file.exp: New file.
2603 * gdb.linespec/break-asm-file0.s: New file.
2604 * gdb.linespec/break-asm-file1.s: New file.
2605
1bab7383
YQ
26062014-12-18 Nigel Stephens <nigel@mips.com>
2607 Maciej W. Rozycki <macro@codesourcery.com>
2608
2609 * gdb.base/float.exp: Handle the new output from "info float" on
2610 MIPS targets.
2611
1bc1068a
JK
26122014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2613
2614 Fix MinGW compilation.
2615 * gdb.compile/compile-ops.exp: Update untested message if
2616 !skip_compile_feature_tests.
2617 * gdb.compile/compile-setjmp.exp: Likewise.
2618 * gdb.compile/compile-tls.exp: Likewise.
2619 * gdb.compile/compile.exp: Likewise.
2620 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2621 supported on this host".
2622
b6615d10
DE
26232014-12-16 Doug Evans <xdje42@gmail.com>
2624
2625 * boards/stabs.exp: New file.
2626
25dda427
AA
26272014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2628
2629 * gdb.base/completion.exp: Adjust to format changes of "maint
2630 print user-registers".
2631
bf330350
CU
26322014-12-16 Catalin Udma <catalin.udma@freescale.com>
2633
2634 PR server/17457
2635 * gdb.arch/aarch64-fp.c: New file.
2636 * gdb.arch/aarch64-fp.exp: New file.
2637
395cf596
SDJ
26382014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2639
2640 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2641 r210637, r210913, r211666, r215400, r215817).
2642
2643 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2644 * dg-extract-results.py: New file.
2645 * dg-extract-results.sh: Use it if the environment seems
2646 suitable.
2647
2648 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2649
2650 * dg-extract-results.py (parse_run): Handle warnings that
2651 are printed before a test harness is run.
2652
2653 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2654
2655 * dg-extract-results.py (Named): Remove __cmp__ method.
2656 (output_variation): Use a key to sort variation.harnesses.
2657
2658 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2659
2660 * dg-extract-results.py: For Python 3, force sys.stdout to
2661 handle surrogate escape sequences.
2662 (safe_open): New function.
2663 (output_segment, main): Use it.
2664
2665 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2666
2667 * dg-extract-results.py (Prog.result_re): Include options
2668 in test name.
2669
2670 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2671
2672 * dg-extract-results.py (output_variation): Always sort if
2673 do_sum.
2674
e882ef3c
SM
26752014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2676
2677 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2678 as long as we get pagination notifications.
2679
4992aa20
JM
26802014-12-15 Jason Merrill <jason@redhat.com>
2681
2682 * Makefile.in (check-gdb.%): Restore.
2683 * README: Mention it.
2684
c1b5a1a6
JB
26852014-12-13 Joel Brobecker <brobecker@adacore.com>
2686
2687 * gdb.ada/str_uninit: New testcase.
2688
5537b577
JK
26892014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2690
2691 PR symtab/17642
2692 * gdb.base/vla-stub-define.c: New file.
2693 * gdb.base/vla-stub.c: New file.
2694 * gdb.base/vla-stub.exp: New file.
2695
bb2ec1b3
TT
26962014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2697 Jan Kratochvil <jan.kratochvil@redhat.com>
2698 Tom Tromey <tromey@redhat.com>
2699
2700 * configure.ac: Add gdb.compile/.
2701 * configure: Regenerate.
2702 * gdb.compile/Makefile.in: New file.
2703 * gdb.compile/compile-ops.exp: New file.
2704 * gdb.compile/compile-ops.c: New file.
2705 * gdb.compile/compile-tls.c: New file.
2706 * gdb.compile/compile-tls.exp: New file.
2707 * gdb.compile/compile-constvar.S: New file.
2708 * gdb.compile/compile-constvar.c: New file.
2709 * gdb.compile/compile-mod.c: New file.
2710 * gdb.compile/compile-nodebug.c: New file.
2711 * gdb.compile/compile-setjmp-mod.c: New file.
2712 * gdb.compile/compile-setjmp.c: New file.
2713 * gdb.compile/compile-setjmp.exp: New file.
2714 * gdb.compile/compile-shlib.c: New file.
2715 * gdb.compile/compile.c: New file.
2716 * gdb.compile/compile.exp: New file.
2717 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2718
4ff709eb
TT
27192014-12-12 Tom Tromey <tromey@redhat.com>
2720
2721 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2722 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2723
6dddd6a5
DE
27242014-12-12 Doug Evans <dje@google.com>
2725
2726 * lib/gdb-python.exp (get_python_valueof): New function.
2727 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2728
71c24708
AA
27292014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2730
2731 * gdb.base/completion.exp: Add test for completion of "info
2732 registers ".
2733
3e29f34a
MR
27342014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2735
2736 * gdb.base/func-ptrs.c: New file.
2737 * gdb.base/func-ptrs.exp: New file.
2738
fc126975
SM
27392014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2740
2741 PR breakpoints/17012
2742 * gdb.base/dprintf-detach.c: New file.
2743 * gdb.base/dprintf-detach.exp: New file.
2744
0a46d518
SM
27452014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2746
2747 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2748 * lib/gdb.exp (target_is_gdbserver): New procedure.
2749
a0be3e44
DE
27502014-12-08 Doug Evans <dje@google.com>
2751
2752 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2753
df1b803a
YQ
27542014-12-05 Yao Qi <yao@codesourcery.com>
2755
2756 * gdb.guile/scm-error.exp: Remove the third argument to
2757 gdb_remote_download.
2758 * gdb.guile/scm-frame-args.exp: Likewise.
2759 * gdb.guile/scm-section-script.exp: Likewise.
2760
ddb9f679
YQ
27612014-12-05 Yao Qi <yao@codesourcery.com>
2762
2763 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2764
86e4ed39
DE
27652014-12-04 Doug Evans <dje@google.com>
2766
2767 * gdb.python/py-objfile.exp: Add tests for
2768 objfile.add_separate_debug_file.
2769
7c50a931
DE
27702014-12-04 Doug Evans <dje@google.com>
2771
2772 * lib/gdb.exp (get_build_id): New function.
2773 (build_id_debug_filename_get): Rewrite to use it.
2774 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2775
621661e3
MR
27762014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2777
2778 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2779 `method(long)', not just 0x0.
2780 * gdb.cp/nsalias.exp: Align code labels to 4.
2781 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2782 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2783 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2784 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2785 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2786 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2787
29f0c3b7
DE
27882014-12-02 Doug Evans <dje@google.com>
2789
e1e061e7 2790 PR symtab/17602
29f0c3b7 2791 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2792 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2793 * gdb.cp/anon-ns.exp: Update.
2794
162078c8
NB
27952014-12-02 Nick Bull <nicholaspbull@gmail.com>
2796
2797 * gdb.python/py-events.py (inferior_call_handler): New.
2798 (register_changed_handler, memory_changed_handler): New.
2799 (test_events.invoke): Register new handlers.
2800 * gdb.python/py-events.exp: Add tests for inferior call,
2801 memory_changed and register_changed events.
2802
fdb09caf
AA
28032014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2804
2805 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2806 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2807 if the linker doesn't understand this.
2808
55cfb2c4
SM
28092014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2810
2811 * gdb.python/python.exp: Change expected reply to help().
2812
9e8cd6df
YQ
28132014-12-01 Yao Qi <yao@codesourcery.com>
2814
2815 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2816 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2817 * configure: Re-generated.
2818
6c659fc2
SC
28192014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2820
2821 * gdb.cp/chained-calls.cc: New file.
2822 * gdb.cp/chained-calls.exp: New file.
2823 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2824
d7fc3181
SM
28252014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2826
2827 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2828 * gdb.dwarf2/symtab-producer.exp: Same.
2829 * gdb.gdb/python-interrupts.exp: Same.
2830 * gdb.gdb/python-selftest.exp: Same.
2831 * gdb.python/py-linetable.exp: Same.
2832 * gdb.python/py-type.exp: Same.
2833 * gdb.python/py-value-cc.exp: Same.
2834 * gdb.python/py-value.exp: Same.
2835
10e79639
YQ
28362014-11-28 Yao Qi <yao@codesourcery.com>
2837
2838 * gdb.base/break-probes.exp: Match library name prefixed with
2839 sysroot.
2840
f28a0564
SM
28412014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2842
2843 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2844 test expected output. Add parentheses for the call to print.
2845 Remove L suffix from integers.
2846
3fe1ce1d
DE
28472014-11-26 Doug Evans <dje@google.com>
2848
2849 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2850
84429e27
YQ
28512014-11-22 Yao Qi <yao@codesourcery.com>
2852
2853 * gdb.trace/entry-values.c: Remove asms.
2854 (foo): Add foo_label.
2855 (bar): Add bar_label.
2856 * gdb.trace/entry-values.exp: Remove code computing foo's
2857 length and bar's length.
2858 (Dwarf::assemble): Invoke function_range for bar and use
2859 MACRO_AT_func for foo.
2860
26741859
YQ
28612014-11-22 Yao Qi <yao@codesourcery.com>
2862
2863 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2864 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2865 Use .Lgcc43_procstart instead of gcc43.
2866
45e44d27
JB
28672014-11-21 Joel Brobecker <brobecker@adacore.com>
2868
2869 * gdb.ada/n_arr_bound: New testcase.
2870
458c8db8
SDJ
28712014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2872
2873 PR breakpoints/10737
2874 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2875 test_catch_syscall_multi_arch.
2876 (test_catch_syscall_multi_arch): New function.
2877
43f3e411
DE
28782014-11-20 Doug Evans <xdje42@gmail.com>
2879
2880 * gdb.base/maint.exp: Update expected output.
2881
0d7b2549
AA
28822014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2883
2884 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2885 4-byte instruction on S390.
2886
8908fca5
JB
28872014-11-19 Joel Brobecker <brobecker@adacore.com>
2888
2889 * gdb.ada/arr_arr: New testcase.
2890
4a46959e
JB
28912014-11-19 Joel Brobecker <brobecker@adacore.com>
2892
2893 * gdb.ada/pkd_arr_elem: New Testcase.
2894
470e2f4e
LM
28952014-11-18 Luis Machado <lgustavo@codesourcery.com>
2896
2897 * gdb.reverse/break-precsave: Expect completion message for
2898 core file reads.
2899 * gdb.reverse/consecutive-precsave.exp: Likewise.
2900 * gdb.reverse/finish-precsave.exp: Likewise.
2901 * gdb.reverse/i386-precsave.exp: Likewise.
2902 * gdb.reverse/machinestate-precsave.exp: Likewise.
2903 * gdb.reverse/sigall-precsave.exp: Likewise.
2904 * gdb.reverse/solib-precsave.exp: Likewise.
2905 * gdb.reverse/step-precsave.exp: Likewise.
2906 * gdb.reverse/until-precsave.exp: Likewise.
2907 * gdb.reverse/watch-precsave.exp: Likewise.
2908
a267f3ad
AA
29092014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2910
2911 * gdb.base/bp-permanent.c: Include unistd.h.
2912 * gdb.python/py-framefilter-mi.c (main): Add return type.
2913 * gdb.python/py-framefilter.c (main): Likewise.
2914 * gdb.trace/actions-changed.c (main): Likewise.
2915
12084a9a
AA
29162014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2917
2918 * gdb.mi/until.c: Add eye-catchers.
2919 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2920 line numbers.
2921
dc7e1a77
AA
29222014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2923
2924 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2925 function header variants in break1.c.
2926 * gdb.base/ena-dis-br.exp: Likewise.
2927 * gdb.base/hbreak2.exp: Likewise.
2928 * gdb.reverse/until-precsave.exp: Drop references to removed
2929 non-prototype function header variants in ur1.c.
2930 * gdb.reverse/until-reverse.exp: Likewise.
2931
41c77605
PM
29322014-11-17 Petr Machata <pmachata@redhat.com>
2933
2934 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2935 ${_cu_offset_size} bytes abbrev offset.
2936
34248c3a
DE
29372014-11-15 Doug Evans <xdje42@gmail.com>
2938
2939 PR symtab/17559
2940 * gdb.base/line-symtabs.exp: New file.
2941 * gdb.base/line-symtabs.c: New file.
2942 * gdb.base/line-symtabs.h: New file.
2943
646da059
YQ
29442014-11-14 Yao Qi <yao@codesourcery.com>
2945
2946 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2947 (func): Add label func_label.
2948 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2949 Replace low_pc and high_pc with MACRO_AT_range.
2950 Replace name, low_pc and high_pc with MACRO_AT_func.
2951
9301ebe6
YQ
29522014-11-14 Yao Qi <yao@codesourcery.com>
2953
2954 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2955 Replace name, low_pc and high_pc with MACRO_AT_func.
2956
f166b542
YQ
29572014-11-14 Yao Qi <yao@codesourcery.com>
2958
2959 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2960 produce debug information.
2961 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2962
0f6e71e3
YQ
29632014-11-14 Yao Qi <yao@codesourcery.com>
2964
2965 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2966 object and get function length.
2967 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2968 with MACRO_AT_func.
2969 (top-level): Replace gdb_compile and clean_restart with
2970 prepare_for_testing.
2971 * gdb.dwarf2/main.c (main): Add label main_label.
2972
876c4df9
YQ
29732014-11-14 Yao Qi <yao@codesourcery.com>
2974
2975 * lib/dwarf.exp (function_range): New procedure.
2976 (Dwarf::_handle_macro_at_func): New procedure.
2977 (Dwarf::_handle_macro_at_range): New procedure.
2978 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2979
02ad9cf1
YQ
29802014-11-14 Yao Qi <yao@codesourcery.com>
2981
2982 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2983 (_handle_attribute): New procedure.
2984
a59add0c
AA
29852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2986
2987 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2988 * gdb.base/call-sc.c (zed): Likewise.
2989 * gdb.base/checkpoint.c (main): Likewise.
2990 * gdb.base/dump.c (main): Likewise.
2991 * gdb.base/gcore.c (main): Likewise.
2992 * gdb.base/huge.c (main): Likewise.
2993 * gdb.base/multi-forks.c (main): Likewise.
2994 * gdb.base/pr10179-a.c (main): Likewise.
2995 * gdb.base/savedregs.c (main): Likewise.
2996 * gdb.base/sigaltstack.c (main): Likewise.
2997 * gdb.base/siginfo.c (main): Likewise.
2998 * gdb.base/structs.c (zed): Likewise.
2999 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3000 * gdb.mi/mi-syn-frame.c (main): Likewise.
3001 * gdb.mi/until.c (foo, main): Likewise.
3002 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3003 * gdb.base/solib-weak.c (foo): Declare.
3004 * gdb.base/attach-twice.c: Include stdio.h.
3005 * gdb.base/weaklib1.c: Likewise.
3006 * gdb.base/weaklib2.c: Likewise.
3007 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3008 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3009 unistd.h.
3010 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3011 * gdb.mi/mi-exit-code.c: Likewise.
3012 * gdb.base/break-interp-lib.c: Include string.h.
3013 * gdb.base/coremaker.c: Likewise.
3014 * gdb.base/testenv.c: Likewise.
3015 * gdb.python/py-finish-breakpoint.c: Likewise.
3016 * gdb.base/inferior-died.c: Include sys/wait.h.
3017 * gdb.base/fileio.c: Include time.h.
3018 * gdb.base/async-shell.c: Include unistd.h.
3019 * gdb.base/dprintf-non-stop.c: Likewise.
3020 * gdb.base/info-os.c: Likewise.
3021 * gdb.mi/mi-console.c: Likewise.
3022 * gdb.mi/watch-nonstop.c: Likewise.
3023 * gdb.python/py-events.c: Likewise.
3024 * gdb.base/async.c (baz): Move up before its invocation.
3025 * gdb.base/code_elim2.c (my_global_func): Likewise.
3026 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3027 * gdb.base/advance.c (func2): Likewise.
3028
3b5d5997
AA
30292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3030
3031 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3032 variant.
3033 * gdb.base/annota3.c: Likewise.
3034 * gdb.base/async.c: Likewise.
3035 * gdb.base/average.c: Likewise.
3036 * gdb.base/call-ar-st.c: Likewise.
3037 * gdb.base/call-rt-st.c: Likewise.
3038 * gdb.base/call-sc.c: Likewise.
3039 * gdb.base/call-strs.c: Likewise.
3040 * gdb.base/ending-run.c: Likewise.
3041 * gdb.base/execd-prog.c: Likewise.
3042 * gdb.base/exprs.c: Likewise.
3043 * gdb.base/foll-exec.c: Likewise.
3044 * gdb.base/foll-fork.c: Likewise.
3045 * gdb.base/foll-vfork.c: Likewise.
3046 * gdb.base/funcargs.c: Likewise.
3047 * gdb.base/gcore.c: Likewise.
3048 * gdb.base/jump.c: Likewise.
3049 * gdb.base/langs0.c: Likewise.
3050 * gdb.base/langs1.c: Likewise.
3051 * gdb.base/langs2.c: Likewise.
3052 * gdb.base/mips_pro.c: Likewise.
3053 * gdb.base/nodebug.c: Likewise.
3054 * gdb.base/opaque0.c: Likewise.
3055 * gdb.base/opaque1.c: Likewise.
3056 * gdb.base/recurse.c: Likewise.
3057 * gdb.base/run.c: Likewise.
3058 * gdb.base/scope0.c: Likewise.
3059 * gdb.base/scope1.c: Likewise.
3060 * gdb.base/setshow.c: Likewise.
3061 * gdb.base/setvar.c: Likewise.
3062 * gdb.base/shmain.c: Likewise.
3063 * gdb.base/shr1.c: Likewise.
3064 * gdb.base/shr2.c: Likewise.
3065 * gdb.base/sigall.c: Likewise.
3066 * gdb.base/signals.c: Likewise.
3067 * gdb.base/so-indr-cl.c: Likewise.
3068 * gdb.base/solib2.c: Likewise.
3069 * gdb.base/structs.c: Likewise.
3070 * gdb.base/sum.c: Likewise.
3071 * gdb.base/vforked-prog.c: Likewise.
3072 * gdb.base/watchpoint.c: Likewise.
3073 * gdb.reverse/shr2.c: Likewise.
3074 * gdb.reverse/until-reverse.c: Likewise.
3075 * gdb.reverse/ur1.c: Likewise.
3076 * gdb.reverse/watch-reverse.c: Likewise.
3077
066a77c5
AA
30782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3079
3080 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3081 variant.
3082 * gdb.base/sepdebug.exp: Drop references to removed code.
3083
4f204ea5
AA
30842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3085
3086 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3087 variant. Preserve original line numbering.
3088 * gdb.base/list1.c: Likewise.
3089
3b377a3a
AA
30902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3091
3092 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3093 variant.
3094 * gdb.base/break1.c: Likewise.
3095 * gdb.base/break.exp: Drop references to removed code.
3096
e444df73
AA
30972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3098
3099 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3100 variant.
3101
8008f2a7
AA
31022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3103
3104 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3105
a5a06887
AA
31062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3107
3108 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3109 logic into perform_all_tests() and invoke it with and without
3110 function header prototypes.
3111 (do_function_calls): Remove conditional XFAIL for PR 5318.
3112 (rerun_and_prepare): Remove duplicate code.
3113 (perform_all_tests): New. Main logic moved here.
3114
44dba9b9
AA
31152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3116
3117 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
3118 code guarded by #ifdef NO_PROTOTYPES.
3119 (t_double_many_args): Likewise.
3120 (DEF_FUNC_MANY_ARGS_1): Likewise.
3121 (DEF_FUNC_VALUES_1): Likewise.
3122 (t_structs_ldc): Renamed from t_structs_fc in conditional code
3123 guarded by #ifdef PROTOTYPES.
3124
d1fbcd56
AA
31252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3126
3127 * gdb.mi/mi-console.c: Add eye-catcher.
3128 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
3129 instead of literal line number.
3130
b0e59b8f
AA
31312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3132
3133 * gdb.base/shr2.c: Add eye-catcher.
3134 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
3135 line number.
3136
78f98cca
AA
31372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3138
3139 * gdb.base/jump.c: Add eye-catchers.
3140 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
3141 numbers.
3142
58fa2af0
AA
31432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3144
3145 * gdb.base/execd-prog.c: Add eye-catchers.
3146 * gdb.base/foll-exec.c: Likewise.
3147 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
3148 line numbers.
3149
04e5059b
AA
31502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3151
3152 * gdb.base/ending-run.c: Add eye-catchers.
3153 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
3154 literal line numbers.
3155
dbfdb174
AA
31562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3157
3158 * gdb.base/call-rt-st.c: Add eye-catchers.
3159 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
3160 literal line numbers.
3161
888a2ade
AA
31622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3163
3164 * gdb.base/call-ar-st.c: Add eye-catchers.
3165 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
3166 literal line numbers.
3167
6acc2dde
AA
31682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3169
3170 * gdb.base/average.c: Add eye-catchers.
3171 * gdb.base/sum.c: Likewise.
3172 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
3173 regexps dynamically.
3174
9ecfcd1d
AA
31752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3176
3177 * gdb.base/solib1.c: Add eye-catchers.
3178 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
3179 literal line numbers.
3180
78708b7c
PA
31812014-11-12 Pedro Alves <palves@redhat.com>
3182
3183 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
3184 leader has exited.
3185
af48d08f
PA
31862014-11-12 Pedro Alves <palves@redhat.com>
3187
3188 * gdb.arch/i386-bp_permanent.c: New file.
3189 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
3190 (srcfile): Set to i386-bp_permanent.c.
3191 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
3192 that stepi does not execute the 'leave' instruction, instead of
3193 testing it does execute.
3194 * gdb.base/bp-permanent.c: New file.
3195 * gdb.base/bp-permanent.exp: New file.
3196
af3768e9
DE
31972014-11-10 Doug Evans <xdje42@gmail.com>
3198
3199 PR symtab/17564
3200 * gdb.base/symtab-search-order.exp: New file.
3201 * gdb.base/symtab-search-order.c: New file.
3202 * gdb.base/symtab-search-order-1.c: New file.
3203 * gdb.base/symtab-search-order-shlib-1.c: New file.
3204
9de00a4a
PA
32052014-11-07 Pedro Alves <palves@redhat.com>
3206
3207 PR gdb/17511
3208 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
3209 i?86-*-linux*.
3210
e0f52461
SC
32112014-11-03 Siva Chandra Reddy <sivachandra@google.com>
3212
3213 PR c++/17494
3214 * gdb.cp/pr17494.cc: New file.
3215 * gdb.cp/pr17494.exp: New file.
3216
6ce8c980
YQ
32172014-11-02 Yao Qi <yao@codesourcery.com>
3218
3219 * gdb.python/python.exp: Get working directory and match the
3220 output of "set extended-prompt \\w " with it.
3221
02be9a71
DE
32222014-10-30 Doug Evans <dje@google.com>
3223
3224 * gdb.python/py-objfile.exp: Add tests for setting random attributes
3225 in objfiles.
3226 * gdb.python/py-progspace.exp: Add tests for setting random attributes
3227 in progspaces.
3228
3bdff46b
LM
32292014-10-30 Janis Johnson <janisjo@codesourcery.com>
3230
3231 * gdb.base/fullpath-expand.exp: Skip for a remote host.
3232 * gdb.base/realname-expand.exp: Likewise.
3233 * gdb.linespec/macro-relative.exp: Likewise.
3234
ab917dfb
PA
32352014-10-29 Pedro Alves <palves@redhat.com>
3236
3237 PR gdb/17408
3238 * gdb.threads/schedlock.c (some_function): New function.
3239 (call_function): New global.
3240 (MAYBE_CALL_SOME_FUNCTION): New macro.
3241 (thread_function): Call it.
3242 * gdb.threads/schedlock.exp (get_args): Add description parameter,
3243 and use it instead of a global counter. Adjust all callers.
3244 (get_current_thread): Use "find current thread" for test message
3245 here rather than having all callers pass down the same string.
3246 (goto_loop): New procedure, factored out from ...
3247 (my_continue): ... this.
3248 (step_ten_loops): Change parameter from test message to command to
3249 use. Adjust.
3250 (list_count): Delete global.
3251 (check_result): New procedure, factored out from duplicate top
3252 level code.
3253 (continue tests): Wrap in with_test_prefix.
3254 (test_step): New procedure, factored out from duplicate top level
3255 code.
3256 (top level): Test "step" in combination with all scheduler-locking
3257 modes. Test "next" in combination with all scheduler-locking
3258 modes, and in combination with stepping over a function call or
3259 not.
3260 * gdb.threads/next-bp-other-thread.c: New file.
3261 * gdb.threads/next-bp-other-thread.exp: New file.
3262
d3d4baed
PA
32632014-10-29 Pedro Alves <palves@redhat.com>
3264
3265 PR python/17372
3266 * gdb.python/python.exp: Test a multi-line command that spawns
3267 interactive Python.
3268 * gdb.base/multi-line-starts-subshell.exp: New file.
3269
563e8d85
YQ
32702014-10-29 Yao Qi <yao@codesourcery.com>
3271
3272 * gdb.base/fileio.exp: Make directories on host.
3273
0ea4d52e
YQ
32742014-10-29 Yao Qi <yao@codesourcery.com>
3275
3276 * gdb.base/fileio.c (test_write): Close the file.
3277
7f5ef605
PA
32782014-10-28 Pedro Alves <palves@redhat.com>
3279
3280 PR gdb/12623
3281 * gdb.base/sigstep.c (no_handler): New global.
3282 (main): If 'no_handler is true, set the signal handlers to
3283 SIG_IGN.
3284 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
3285 with_sw_watch and no_handler parameters. Handle them.
3286 (top level) <stepping over handler when stopped at a breakpoint
3287 test>: Add a test axis for testing with a software watchpoint, and
3288 another for testing with the signal handler set to SIG_IGN.
3289 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
3290 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
3291
abbdbd03
PA
32922014-10-28 Pedro Alves <palves@redhat.com>
3293
3294 PR gdb/17511
3295 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
3296 * gdb.base/sigstep.exp (other_handler_location): New global.
3297 (advance): Support stepping into the signal handler, and running
3298 commands while in the handler.
3299 (in_handler_map): New global.
3300 (top level): In the advance test, add combinations for getting
3301 into the handler with stepping commands, and for running commands
3302 in the handler. Add comment descripting the advancei tests.
3303
1df4399f
PA
33042014-10-28 Pedro Alves <palves@redhat.com>
3305
3306 * gdb.base/sigstep.exp: Use build_executable instead of
3307 prepare_for_testing.
3308 (top level): Move code that starts GDB, runs to main and creates a
3309 display to ...
3310 (restart): ... this new procedure.
3311 (top level): Move backtrace from signal handler test to ...
3312 (validate_backtrace): ... this new procedure.
3313 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
3314 with_test_prefix. Always restart GDB.
3315 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
3316 with_test_prefix. Always restart GDB. No need to delete
3317 breakpoints after the test.
3318 (test_skip_handler): Remove prefix parameter.
3319 (skip_over_handler, breakpoint_to_handler)
3320 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
3321 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
3322 restart GDB. No need to delete breakpoints after the test.
3323 (top level): Use foreach to call the test procedures with
3324 different commands.
3325
a5b6e449
PA
33262014-10-28 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
3329 instead of GNATS numbers.
3330 * gdb.base/sigbpt.exp: Likewise.
3331 * gdb.base/siginfo.exp: Likewise.
3332 * gdb.base/sigstep.exp: Likewise.
3333
e5f8a7cc
PA
33342014-10-27 Pedro Alves <palves@redhat.com>
3335
3336 * gdb.base/sigstep.c (dummy): New global.
3337 (main): Issue a couple writes to the new global.
3338 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
3339 procedures.
3340 (skip_over_handler): Use test_skip_handler.
3341 (top level): Call skip_over_handler for stepi and nexti too.
3342 (breakpoint_over_handler): Use test_skip_handler.
3343 (top level): Call breakpoint_over_handler for stepi and nexti too.
3344
763905a3
YQ
33452014-10-27 Yao Qi <yao@codesourcery.com>
3346
3347 * gdb.trace/tfile.c (adjust_function_address)
3348 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3349 function descriptor.
3350
6f259a23
DB
33512014-10-24 Don Breazeal <donb@codesourcery.com>
3352
3353 * gdb.base/foll-fork.exp (test_follow_fork,
3354 catch_fork_child_follow): Check for updated fork messages emitted
3355 from infrun.c.
3356 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3357 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3358 vfork_and_exec_child_follow_through_step): Check for updated vfork
3359 messages emitted from infrun.c.
3360
09dd9a69
PA
33612014-10-24 Pedro Alves <palves@redhat.com>
3362
3363 * gdb.base/corefile.exp: Remove references to ultrix.
3364 * gdb.base/interrupt.exp: Likewise.
3365 * gdb.base/whatis.exp: Likewise.
3366 * gdb.gdb/selftest.exp: Likewise.
3367 * gdb.threads/manythreads.exp: Likewise.
3368 * gdb.threads/print-threads.exp: Likewise.
3369 * gdb.threads/pthreads.exp:: Likewise.
3370 * gdb.threads/schedlock.exp: Likewise.
3371
3433cfa5
SC
33722014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3373
3374 * gdb.cp/non-trivial-retval.cc: Add a test case.
3375 * gdb.cp/non-trivial-retval.exp: Add a test.
3376
092f880b
YQ
33772014-10-20 Yao Qi <yao@codesourcery.com>
3378
3379 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3380 * gdb.python/py-objfile-script-gdb.py: New file.
3381 * gdb.python/py-objfile-script.exp: Update reference to
3382 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3383 of remote_download. Remove the dest file.
3384
acbdb7f3
YQ
33852014-10-20 Yao Qi <yao@codesourcery.com>
3386
3387 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3388 * gdb.base/step-line.exp: Likewise.
3389 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3390 * gdb.dwarf2/dw2-basic.exp: Likewise.
3391 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3392 * gdb.dwarf2/dw2-filename.exp: Likewise.
3393 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3394 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3395 * gdb.dwarf2/dw2-producer.exp: Likewise.
3396 * gdb.dwarf2/mac-fileno.exp: Likewise.
3397 * gdb.python/py-frame-args.exp: Likewise.
3398 * gdb.python/py-framefilter.exp: Likewise.
3399 * gdb.python/py-mi.exp: Likewise.
3400 * gdb.python/py-objfile-script.exp: Likewise
3401 * gdb.python/py-pp-integral.exp: Likewise.
3402 * gdb.python/py-pp-re-notag.exp: Likewise.
3403 * gdb.python/py-prettyprint.exp: Likewise.
3404 * gdb.python/py-section-script.exp: Likewise.
3405 * gdb.python/py-typeprint.exp: Likewise.
3406 * gdb.python/py-xmethods.exp: Likewise.
3407 * gdb.stabs/weird.exp: Likewise.
3408 * gdb.xml/tdesc-regs.exp: Likewise.
3409
bd286a29
KCY
34102014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3411
3412 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3413 (out_cu): Use addr_len for the size of addresses.
3414 (out_line): Likewise. Size DW_LNE_set_address instruction
3415 according to addr_len.
3416 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3417 (FUNC): Add START_INSNS to definition.
3418
673dc4a0
YQ
34192014-10-18 Yao Qi <yao@codesourcery.com>
3420
3421 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3422 gdb_has_argv0 return true.
3423 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3424 check [target_info exists noargs], check [gdb_has_argv0]
3425 instead.
3426 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3427 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3428 procedures.
3429
4ffbba72
DE
34302014-10-17 Doug Evans <dje@google.com>
3431
3432 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3433 event.
3434 * gdb.python/py-events.py: Add clear_objfiles event.
3435
d096d8c1
DE
34362014-10-17 Doug Evans <dje@google.com>
3437
3438 * gdb.python/py-objfile.exp: Test progspace attribute.
3439
a80db015
LM
34402014-10-17 Luis Machado <lgustavo@codesourcery.com>
3441
3442 * gdb.guile/scm-breakpoint.exp: Do not assume any
3443 directory separators when matching source file paths.
3444 * gdb.python/py-breakpoint.exp: Likewise.
3445 * gdb.reverse/break-precsave.exp: Likewise.
3446 * gdb.reverse/break-reverse.exp: Likewise.
3447 * gdb.reverse/consecutive-precsave.exp: Likewise.
3448 * gdb.reverse/finish-precsave.exp: Likewise.
3449 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3450 * gdb.reverse/finish-reverse.exp: Likewise.
3451 * gdb.reverse/i386-precsave.exp: Likewise.
3452 * gdb.reverse/i387-env-reverse.exp: Likewise.
3453 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3454 * gdb.reverse/machinestate-precsave.exp: Likewise.
3455 * gdb.reverse/machinestate.exp: Likewise.
3456 * gdb.reverse/sigall-precsave.exp: Likewise.
3457 * gdb.reverse/solib-precsave.exp: Likewise.
3458 * gdb.reverse/step-precsave.exp: Likewise.
3459 * gdb.reverse/until-precsave.exp: Likewise.
3460 * gdb.reverse/watch-precsave.exp: Likewise.
3461 * gdb.reverse/watch-reverse.exp: Likewise.
3462
b22089ab
YQ
34632014-10-17 Yao Qi <yao@codesourcery.com>
3464
3465 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3466 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3467
6c4486e6
PA
34682014-10-17 Pedro Alves <palves@redhat.com>
3469
3470 PR gdb/17471
3471 * gdb.base/bg-execution-repeat.c: New file.
3472 * gdb.base/bg-execution-repeat.exp: New file.
3473
0ff33695
PA
34742014-10-17 Pedro Alves <palves@redhat.com>
3475
3476 PR gdb/17300
3477 * gdb.base/continue-all-already-running.c: New file.
3478 * gdb.base/continue-all-already-running.exp: New file.
3479
6fdebc3d
PA
34802014-10-17 Pedro Alves <palves@redhat.com>
3481
3482 PR gdb/17472
3483 * gdb.base/annota-input-while-running.c: New file.
3484 * gdb.base/annota-input-while-running.exp: New file.
3485
32a8097b
PA
34862014-10-17 Pedro Alves <palves@redhat.com>
3487
3488 * gdb.base/callfuncs.exp: emove references to osf.
3489 * gdb.base/sigall.exp: Likewise.
3490 * gdb.gdb/selftest.exp: Likewise.
3491 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3492 * gdb.mi/non-stop.c: Likewise.
3493 * gdb.mi/pthreads.c: Likewise.
3494 * gdb.reverse/sigall-precsave.exp: Likewise.
3495 * gdb.reverse/sigall-reverse.exp: Likewise.
3496 * gdb.threads/pthreads.c: Likewise.
3497 * gdb.threads/pthreads.exp: Likewise.
3498
7a3517ff
YQ
34992014-10-17 Yao Qi <yao@codesourcery.com>
3500
3501 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3502 check 'target_info exists noargs'.
3503 (test_command_prompt_position): Likewise.
3504 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3505 Remove "set args".
3506 (progvar_simple_while_test): Likewise.
3507 (progvar_complex_if_while_test): Likewise.
3508 (if_while_breakpoint_command_test): Likewise.
3509 (infrun_breakpoint_command_test): Likewise.
3510 (breakpoint_command_test): Likewise.
3511 (watchpoint_command_test): Likewise.
3512 (bp_deleted_in_command_test): Likewise.
3513 (temporary_breakpoint_commands): Likewise.
3514
bb99c472
YQ
35152014-10-16 Yao Qi <yao@codesourcery.com>
3516
3517 * gdb.base/remotetimeout.exp: Remove noargs checking.
3518
7c16b83e
PA
35192014-10-15 Pedro Alves <palves@redhat.com>
3520
3521 PR breakpoints/9649
3522 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3523 * gdb.base/breakpoint-in-ro-region.exp
3524 (probe_target_hardware_step): New procedure.
3525 (top level): Probe hardware stepping and hardware breakpoint
3526 support. Test stepping through a read-only region, with both
3527 "breakpoint auto-hw" on and off and both "always-inserted" on and
3528 off.
3529
35a49624
IB
35302014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3531
3532 * gdb.dlang/demangle.exp: Update for demangling changes.
3533
2d1c107c
SC
35342014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3535
3536 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3537 * gdb.cp/non-trivial-retval.exp: Add new tests.
3538
778811d5
SC
35392014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3540
3541 PR c++/13403
3542 PR c++/15154
3543 * gdb.cp/non-trivial-retval.cc: New file.
3544 * gdb.cp/non-trivial-retval.exp: New file.
3545
10c5f0a8
YQ
35462014-10-15 Yao Qi <yao@codesourcery.com>
3547
3548 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3549 remote host.
3550
65d7b369
YQ
35512014-10-15 Yao Qi <yao@codesourcery.com>
3552
3553 * gdb.python/py-symbol.exp: Match file base name if host is
3554 remote, otherwise match file name with dir name.
3555 * gdb.python/py-symtab.exp: Likewise.
3556 * gdb.python/python.exp: Likewise.
3557
46dc1394
YQ
35582014-10-15 Yao Qi <yao@codesourcery.com>
3559
3560 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3561 pattern.
3562 * gdb.python/py-symtab.exp: Likewise.
3563 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3564 locationn.
3565
c40cc657
JB
35662014-10-14 Joel Brobecker <brobecker@adacore.com>
3567
3568 * gdb.ada/addr_arith: New testcase.
3569
2abf49e1
MR
35702014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3571
3572 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3573 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3574 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3575 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3576
f7088df3
SDJ
35772014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3578
3579 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3580 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3581 * gdb.arch/stap-eval-lang-ada.exp: New file.
3582
4dc06805
YQ
35832014-10-14 Yao Qi <yao@codesourcery.com>
3584
3585 * gdb.mi/mi-var-child.c (nothing1): New function.
3586 (nothing2): New function.
3587 (do_children_tests): Set function pointers by nothing1 and
3588 nothing2.
3589 * gdb.mi/mi-var-child.exp: Step over new added statements.
3590 Update test to match the new output.
3591 * gdb.mi/var-cmd.c (nothing1): New function.
3592 (nothing2): New function.
3593 (do_children_tests): Set function pointers by nothing1 and
3594 nothing2.
3595 * gdb.mi/mi-var-display.exp: Update test to match output.
3596 Step to the line specified by $line_dct_nothing.
3597 Increase the number of lines to step.
3598
46a93de2
YQ
35992014-10-14 Yao Qi <yao@codesourcery.com>
3600
3601 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3602 tests.
3603 * gdb.mi/mi2-var-child.exp: Likewise.
3604
14ea52ee
DE
36052014-10-13 Doug Evans <dje@google.com>
3606
3607 * gdb.python/py-objfile.exp: Change name of file name test.
3608
e5c6e92b
DE
36092014-10-13 Doug Evans <dje@google.com>
3610
3611 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3612 from the start of the CU.
3613
c780cc2f
JK
36142014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3615 Yao Qi <yao@codesourcery.com>
3616
3617 Fix "save breakpoints" for "catch" command.
3618 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3619 Remove -nonewline. Match also the added "main" line.
3620
99894e11
JK
36212014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3622
3623 Fix "save breakpoints" for "disable $bpnum" command.
3624 * gdb.base/save-bp.c (main): Add label.
3625 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3626
6e1ac5a3
JK
36272014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3628
3629 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3630
754dd2b0
YQ
36312014-10-11 Yao Qi <yao@codesourcery.com>
3632
3633 * gdb.server/server-kill.exp: Execute command
3634 "set remote trace-status-packet on" before "tstatus".
3635
f90183d7
YQ
36362014-10-11 Yao Qi <yao@codesourcery.com>
3637
3638 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3639 (main): Call getppid.
3640 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3641 and continue to it. Read variable "server_pid".
3642
bf40a607
YQ
36432014-10-11 Yao Qi <yao@codesourcery.com>
3644
3645 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3646
052ca370
YQ
36472014-10-11 Yao Qi <yao@codesourcery.com>
3648
3649 * gdb.threads/thread-find.exp: Don't execute command
3650 "info threads".
3651 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3652 * gdb.threads/linux-dp.exp: Don't check the condition
3653 $threads_created equals to zero.
3654
3831839c
PA
36552014-10-10 Pedro Alves <palves@redhat.com>
3656
3657 * gdb.base/bigcore.exp: Remove references to IRIX.
3658 * gdb.base/funcargs.exp: Likewise.
3659 * gdb.base/interrupt.exp: Likewise.
3660 * gdb.base/mips_pro.exp: Likewise.
3661 * gdb.base/nodebug.exp: Likewise.
3662 * gdb.base/setvar.exp: Likewise.
3663 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3664
8b9a549d
PA
36652014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3666 Pedro Alves <palves@redhat.com>
3667
3668 PR symtab/14466
3669 * gdb.base/vdso-warning.c: New file.
3670 * gdb.base/vdso-warning.exp: New file.
3671
d48ba5e8
DE
36722014-10-02 Doug Evans <dje@google.com>
3673
3674 * gdb.base/structs.c (main): Don't run forever.
3675
2278c276
PA
36762014-10-02 Pedro Alves <palves@redhat.com>
3677
3678 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3679 (top level) <stop threads 1, stop threads 2>: Use it.
3680
b57bacec
PA
36812014-10-02 Pedro Alves <palves@redhat.com>
3682
3683 * gdb.threads/break-while-running.exp (test): Add new
3684 'update_thread_list' argument. Skip "info threads" if false.
3685 (top level): Add new 'update_thread_list' axis.
3686
13fd3ff3
PA
36872014-10-02 Pedro Alves <palves@redhat.com>
3688
3689 PR breakpoints/17431
3690 * gdb.base/execl-update-breakpoints.c: New file.
3691 * gdb.base/execl-update-breakpoints.exp: New file.
3692
0fec99e8
PA
36932014-10-01 Pedro Alves <palves@redhat.com>
3694
3695 * gdb.base/breakpoint-in-ro-region.c: New file.
3696 * gdb.base/breakpoint-in-ro-region.exp: New file.
3697
2ddf4301
SM
36982014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3699
3700 * gdb.mi/mi-exit-code.exp: New file.
3701 * gdb.mi/mi-exit-code.c: New file.
3702
6a5f3f43
YQ
37032014-09-30 Yao Qi <yao@codesourcery.com>
3704
3705 * lib/prelink-support.exp (build_executable_own_libs): Error if
3706 the target isn't native.
3707
345bcc73
YQ
37082014-09-30 Yao Qi <yao@codesourcery.com>
3709
3710 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3711 false.
3712
a25a5a45
PA
37132014-09-22 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.threads/break-while-running.exp: New file.
3716 * gdb.threads/break-while-running.c: New file.
3717
00ba3162
YQ
37182014-09-19 Yao Qi <yao@codesourcery.com>
3719
3720 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3721 Invoke test. Restart GDB with --readnow and invoke test again.
3722
c3b7b696
YQ
37232014-09-19 Yao Qi <yao@codesourcery.com>
3724
3725 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3726 proc set_breakpoint_on_gcd_function. Invoke
3727 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3728 invoke set_breakpoint_on_gcd_function again.
3729
2b4fd423
DE
37302014-09-18 Doug Evans <dje@google.com>
3731
3732 * gdb.dwarf2/symtab-producer.exp: New file.
3733
a5947601
SDJ
37342014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3735
3736 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3737 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3738 * gdb.base/global-var-nested-by-dso.c: Likewise.
3739 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3740
91c19059
SDJ
37412014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3742 Pedro Alves <palves@redhat.com>
3743
3744 * gdb.base/watch-bitfields.exp: Pass string other than test file
3745 name to prepare_for_testing.
3746 (watch): New procedure.
3747 (expect_watchpoint): Use with_test_prefix.
3748 (top level): Factor out tests to ...
3749 (test_watch_location, test_regular_watch): ... these new
3750 procedures, and use with_test_prefix and gdb_continue_to_end.
3751
bb9d5f81
PP
37522014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3753
3754 PR breakpoints/12526
3755 * gdb.base/watch-bitfields.exp: New file.
3756 * gdb.base/watch-bitfields.c: New file.
3757
635856f5
PA
37582014-09-16 Pedro Alves <palves@redhat.com>
3759
3760 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3761 software and hardware addresses, not software address against
3762 itself.
3763
7280ceea
PA
37642014-09-16 Pedro Alves <palves@redhat.com>
3765
3766 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3767 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3768
428b16bd
PA
37692014-09-16 Pedro Alves <palves@redhat.com>
3770
3771 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3772 files.
3773 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3774 "*-*-vxworks*" throughout.
3775 * gdb.base/break.exp: Likewise.
3776 * gdb.base/default.exp: Likewise.
3777 * gdb.base/scope.exp: Likewise.
3778 * gdb.base/sepdebug.exp: Likewise.
3779 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3780 throughout.
3781 * gdb.base/run.c: Likewise.
3782 * gdb.base/sepdebug.c: Likewise.
3783 * gdb.hp/gdb.aCC/run.c: Likewise.
3784 * gdb.reverse/until-reverse.c: Likewise.
3785 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3786
666d413c
YQ
37872014-09-16 Yao Qi <yao@codesourcery.com>
3788
3789 * boards/local-remote-host-native.exp: New file.
3790
57cbd724
DE
37912014-09-14 Doug Evans <xdje42@gmail.com>
3792
3793 * gdb.threads/queue-signal.c (thread_count): New variable.
3794 (thread_count_mutex, thread_count_condvar): New variables.
3795 (incr_thread_count, wait_all_threads_running): New functions.
3796 (main): Wait for all threads to be in their thread functions.
3797
81219e53
DE
37982014-09-13 Doug Evans <xdje42@gmail.com>
3799
3800 * gdb.threads/queue-signal.c: New file.
3801 * gdb.threads/queue-signal.exp: New file.
3802
3714cea7
DE
38032014-09-13 Doug Evans <xdje42@gmail.com>
3804
3805 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3806 be consistent with what default_gdb_init uses.
3807 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3808 the plain text of the prompt. Add some logging printfs.
3809 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3810
fa43b1d7
PA
38112014-09-12 Pedro Alves <palves@redhat.com>
3812
3813 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3814 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3815 * gdb.arch/i386-size-overlap.exp: Likewise.
3816 * gdb.arch/i386-size.exp: Likewise.
3817 * gdb.arch/i386-unwind.exp: Likewise.
3818 * gdb.base/a2-run.exp: Likewise.
3819 * gdb.base/break.exp: Likewise.
3820 * gdb.base/charset.exp: Likewise.
3821 * gdb.base/chng-syms.exp: Likewise.
3822 * gdb.base/commands.exp: Likewise.
3823 * gdb.base/dbx.exp: Likewise.
3824 * gdb.base/find.exp: Likewise.
3825 * gdb.base/funcargs.exp: Likewise.
3826 * gdb.base/jit-simple.exp: Likewise.
3827 * gdb.base/reread.exp: Likewise.
3828 * gdb.base/sepdebug.exp: Likewise.
3829 * gdb.base/step-bt.exp: Likewise.
3830 * gdb.cp/mb-inline.exp: Likewise.
3831 * gdb.cp/mb-templates.exp: Likewise.
3832 * gdb.objc/basicclass.exp: Likewise.
3833 * gdb.threads/killed.exp: Likewise.
3834
9d9bf2df
EBM
38352014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3836
3837 PR tdep/17379
3838 * gdb.arch/powerpc-stackless.S: New file.
3839 * gdb.arch/powerpc-stackless.exp: New file.
3840
1cf2f1b0
JK
38412014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3842
3843 * gdb.base/attach.c: Include unistd.h.
3844 (main): Call alarm. Add label postloop.
3845 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3846 gdb_breakpoint, gdb_continue_to_breakpoint.
3847 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3848
98880d46
PA
38492014-09-11 Pedro Alves <palves@redhat.com>
3850
3851 PR gdb/17347
3852 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3853 * gdb.base/attach.exp (test_command_line_attach_run): New
3854 procedure.
3855 (top level): Call it.
3856
4c92ff2c
PA
38572014-09-11 Pedro Alves <palves@redhat.com>
3858
3859 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3860 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3861 (do_command_attach_tests): Use spawn_wait_for_attach.
3862 * gdb.base/solib-overlap.exp: Likewise.
3863 * gdb.multi/multi-attach.exp: Likewise.
3864 * gdb.python/py-prompt.exp: Likewise.
3865 * gdb.python/py-sync-interp.exp: Likewise.
3866 * gdb.server/ext-attach.exp: Likewise.
3867
3adc1a7d
GKB
38682014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3869
3870 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3871 command in testcase. Simplify testcase.
3872
96334934
JB
38732014-09-10 Joel Brobecker <brobecker@adacore.com>
3874
3875 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3876
eb479039
JB
38772014-09-10 Joel Brobecker <brobecker@adacore.com>
3878
3879 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3880
deede10c
JB
38812014-09-10 Joel Brobecker <brobecker@adacore.com>
3882
3883 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3884
7828a5f5
JB
38852014-09-10 Joel Brobecker <brobecker@adacore.com>
3886
3887 * gdb.dwarf2/dynarr-ptr.c: New file.
3888 * gdb.dwarf2/dynarr-ptr.exp: New file.
3889
33aeebcf
MR
38902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3891
3892 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3893 of 30 rather than hardcoding 120 for a slow test case. Take the
3894 `gdb,timeout' target setting into account for this calculation.
3895 Don't extend the timeout for the test cases that don't need it.
3896
7b415901
MR
38972014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3898
3899 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3900 a factor of 2 for a slow test case. Take the `gdb,timeout'
3901 target setting into account for this calculation.
3902 * gdb.reverse/until-precsave.exp: Increase the timeout by
3903 a factor of 15 and 3 respectively rather than adding 120
3904 for a pair of slow test cases. Take the `gdb,timeout'
3905 target setting into account for this calculation.
3906
4a40f85a
MR
39072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3908
3909 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3910 timeout, don't pass one down to gdb_expect.
3911 (gdb_expect): Rework timeout selection.
3912
09635af7
MR
39132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3914
3915 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3916 exception on timeout.
3917 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3918 (gdbserver_start_extended): Catch any `gdbserver_start' error
3919 exceptions.
3920 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3921 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3922 `gdbserver_gdb_load' error exceptions.
3923
2bdd10b7
MR
39242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3925
3926 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3927 120 on waiting for the TCP socket to open.
3928
316935f0
DE
39292014-09-09 Doug Evans <xdje42@gmail.com>
3930
3931 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3932 _caller_matches, _any_caller_is, _any_caller_matches.
3933
83740597
DE
39342014-09-09 Doug Evans <xdje42@gmail.com>
3935
3936 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3937
4c122fc3
YQ
39382014-09-09 Yao Qi <yao@codesourcery.com>
3939
3940 * gdb.mi/mi-var-display.exp: Set print symbol off.
3941
a9f116cb
GKB
39422014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3943
3944 PR gdb/17035
3945 * gdb.base/commands.exp: Add tests to verify user-defined
3946 commands with empty bodies.
3947 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3948 python commands in `show user command`.
3949 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3950 scheme commands in `show user command`.
3951
c75bd3a2
JK
39522014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 PR python/17355
3955 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3956 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3957 * gdb.python/py-framefilter-invalidarg.exp: New file.
3958 * gdb.python/py-framefilter-invalidarg.py: New file.
3959
faa42425
DE
39602014-09-06 Doug Evans <xdje42@gmail.com>
3961
3962 PR 15276
3963 * gdb.python/py-caller-is.c: New file.
3964 * gdb.python/py-caller-is.exp: New file.
3965
474ca4f6
SDJ
39662014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3967
3968 PR gdb/17235
3969 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3970 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3971
eb0b0463
SDJ
39722014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3973
3974 PR fortran/17237
3975 * gdb.fortran/print-formatted.exp: New file.
3976 * gdb.fortran/print-formatted.f90: Likewise.
3977
5f3b99cf
SS
39782014-09-03 Sasha Smundak <asmundak@google.com>
3979
3980 * gdb.python/py-frame.exp: Test Frame.read_register.
3981
7d793aa9
SDJ
39822014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3983
3984 PR python/16699
3985 * gdb.python/py-completion.exp: New file.
3986 * gdb.python/py-completion.py: Likewise.
3987
fb0576e9
DE
39882014-08-28 Doug Evans <dje@google.com>
3989
3990 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3991 eax,etc. are live with values set by gdb and thus the compiler can't
3992 use them.
3993 * gdb.arch/i386-pseudo.c (main): Ditto.
3994
ee92b0dd
DE
39952014-08-27 Doug Evans <dje@google.com>
3996
3997 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3998
6649db35
DE
39992014-08-25 Doug Evans <dje@google.com>
4000
4001 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4002 (main): Ditto.
4003
564b7600
DE
40042014-08-25 Doug Evans <dje@google.com>
4005
4006 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4007
3881fb67
YQ
40082014-08-24 Yao Qi <yao@codesourcery.com>
4009
4010 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4011 symbol off.
4012 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4013
a05a36a5
DE
40142014-08-22 Doug Evans <dje@google.com>
4015
4016 PR 17276
4017 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4018 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4019 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4020
7c343b48
YQ
40212014-08-22 Yao Qi <yao@codesourcery.com>
4022
4023 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4024 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4025 * gdb.python/python.exp: Likewise. Use .py file on the host
4026 instead of the build.
4027
22fd09ae
JK
40282014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4029
4030 * gdb.threads/gcore-stale-thread.c: New file.
4031 * gdb.threads/gcore-stale-thread.exp: New file.
4032
a8454a7c
PA
40332014-08-21 Pedro Alves <palves@redhat.com>
4034
4035 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4036 * gdb.base/gcore-relro-pie.exp: Likewise.
4037 * gdb.base/gcore-relro.exp: Likewise.
4038 * gdb.base/gcore.exp: Likewise.
4039 * gdb.base/print-symbol-loading.exp: Likewise.
4040 * gdb.threads/gcore-thread.exp: Likewise.
4041 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4042
2a31c623
PA
40432014-08-20 Pedro Alves <palves@redhat.com>
4044 Jan Kratochvil <jan.kratochvil@redhat.com>
4045
4046 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4047 configure.
4048 (EXPECT): Handle READ1 being set.
4049 (all): Depend on EXTRA_RULES.
4050 (check-read1, expect-read1, read1.so, read1): New rules.
4051 * README (Testsuite Parameters): Document the READ1 make variable.
4052 (Race detection): New section.
4053 * configure: Regenerate.
4054 * configure.ac: If build==host==target, and running under a
4055 GNU/glibc system, add read1 to the extra Makefile rules.
4056 (EXTRA_RULES): AC_SUBST it.
4057 * lib/read1.c: New file.
4058
d36430db
JB
40592014-08-20 Joel Brobecker <brobecker@adacore.com>
4060
4061 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4062 the handling of variables declared as a typedef to an array
4063 which a DW_AT_data_location attribute.
4064
9a0dc9e3
PA
40652014-08-19 Andrew Burgess <aburgess@broadcom.com>
4066 Pedro Alves <palves@redhat.com>
4067
4068 PR symtab/14604
4069 PR symtab/14605
4070 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4071 gdb_test.
4072
0718a8da
PA
40732014-08-19 Pedro Alves <palves@redhat.com>
4074
4075 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4076
13b448cd
YQ
40772014-08-19 Yao Qi <yao@codesourcery.com>
4078
4079 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4080 right line.
4081
1cbf5077
DB
40822014-08-18 David Blaikie <dblaikie@gmail.com>
4083
4084 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4085
bf0fae19
JB
40862014-08-18 Joel Brobecker <brobecker@adacore.com>
4087
4088 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4089 attribute in array range.
4090
3c8c5dcc
JB
40912014-08-18 Joel Brobecker <brobecker@adacore.com>
4092
4093 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4094
e66d4446
SC
40952014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4096
4097 PR c++/17132
4098 * gdb.cp/pr17132.cc: New file.
4099 * gdb.cp/pr17132.exp: New file.
4100
940df408
SC
41012014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4102
4103 * gdb.python/py-xmethods.py (A_getarrayind)
4104 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4105 Use 'print' with function call syntax.
4106 (E_method_matcher.match): Fix tab vs space indentation mixup.
4107
ebcc6c3a
YQ
41082014-08-15 Yao Qi <yao@codesourcery.com>
4109
4110 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4111 false.
4112
775e0f04
YQ
41132014-08-15 Yao Qi <yao@codesourcery.com>
4114
4115 * gdb.cp/casts.exp: Set print symbol off.
4116 * gdb.cp/class2.exp: Likewise.
4117 * gdb.cp/overload.exp: Likewise.
4118 * gdb.cp/templates.exp: Likewise.
4119
d769e349
DE
41202014-08-11 Doug Evans <dje@google.com>
4121
4122 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4123 (test_load_shlib): Update.
4124
20c6f1e1
YQ
41252014-08-09 Yao Qi <yao@codesourcery.com>
4126
4127 * gdb.base/display.exp: Invoke is_address_zero_readable.
4128 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
4129 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4130 * gdb.base/hbreak-unmapped.exp: Return if
4131 is_address_zero_readable returns true.
4132 * gdb.base/signest.exp: Likewise.
4133 * gdb.base/signull.exp: Likewise.
4134 * gdb.base/sigbpt.exp: Likewise.
4135 * gdb.guile/scm-disasm.exp: Do the test if
4136 is_address_zero_readable returns false.
4137 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
4138 * gdb.python/py-arch.exp: Likewise.
4139 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
4140 * lib/gdb.exp (is_address_zero_readable): New proc.
4141
5792e8e3
YQ
41422014-08-09 Yao Qi <yao@codesourcery.com>
4143
4144 PR testsuite/13443
4145 * gdb.mi/mi-var-display.exp: Make test messages unique.
4146
3cecbbbe
TT
41472014-08-04 Tom Tromey <tromey@redhat.com>
4148
4149 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
4150 target 0".
4151
00b51ff5
TT
41522014-08-04 Tom Tromey <tromey@redhat.com>
4153
4154 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
4155 "target_resume".
4156
6908c509
JB
41572014-08-01 Joel Brobecker <brobecker@adacore.com>
4158
4159 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
4160 inner_vla_struct_object_size.
4161 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
4162 as xfail.
4163
cc6563d2
PA
41642014-07-30 Pedro Alves <palves@redhat.com>
4165
4166 * gdb.threads/signal-command-handle-nopass.exp (test): Add
4167 comment.
4168
7e09a223
YQ
41692014-07-29 Yao Qi <yao@codesourcery.com>
4170
4171 PR gdb/17206
4172 * gdb.base/until-nodebug.exp: New.
4173
7ebdbe92
DE
41742014-07-28 Doug Evans <xdje42@gmail.com>
4175
4176 PR guile/17203
4177 * gdb.guile/scm-parameter.exp: Add tests for trying to create
4178 previously existing parameter, and previously ambiguously spelled
4179 parameter.
4180
fdb1adc6
WN
41812014-07-28 Will Newton <will.newton@linaro.org>
4182
4183 * gdb.base/varargs.exp: Remove KFAILs for ARM.
4184
186fcde0
DE
41852014-07-26 Ludovic Courtès <ludo@gnu.org>
4186 Doug Evans <xdje42@gmail.com>
4187
4188 PR guile/17146
4189 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
4190
70509625
PA
41912014-07-25 Pedro Alves <palves@redhat.com>
4192
4193 * gdb.threads/signal-command-handle-nopass.c: New file.
4194 * gdb.threads/signal-command-handle-nopass.exp: New file.
4195 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
4196 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
4197 * gdb.threads/signal-delivered-right-thread.c: New file.
4198 * gdb.threads/signal-delivered-right-thread.exp: New file.
4199
c3f814a1
PA
42002014-07-25 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.base/double-prompt-target-event-error.exp
4203 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
4204 match.
4205 (cancel_pagination_in_target_event): Rework double prompt
4206 detection.
4207 * gdb.base/paginate-after-ctrl-c-running.exp
4208 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
4209 <return>' match.
4210 * gdb.base/paginate-bg-execution.exp
4211 (test_bg_execution_pagination_return)
4212 (test_bg_execution_pagination_cancel): Remove '-notransfer
4213 <return>' matches.
4214 * gdb.base/paginate-execution-startup.exp
4215 (test_fg_execution_pagination_return)
4216 (test_fg_execution_pagination_cancel): Remove '-notransfer
4217 <return>' matches.
4218 * gdb.base/paginate-inferior-exit.exp
4219 (test_paginate_inferior_exited): Remove '-notransfer <return>'
4220 match.
4221 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
4222 * lib/gdb.exp (pagination_prompt): Run text through
4223 string_to_regexp.
4224 (gdb_test_multiple): Match $pagination_prompt instead of
4225 "<return>".
4226 (string_to_regexp): Move to lib/gdb-utils.exp.
4227
e214cf6c
JK
42282014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4229
4230 * gdb.arch/amd64-entry-value-paramref.S: New file.
4231 * gdb.arch/amd64-entry-value-paramref.cc: New file.
4232 * gdb.arch/amd64-entry-value-paramref.exp: New file.
4233 * gdb.arch/amd64-optimout-repeat.S: New file.
4234 * gdb.arch/amd64-optimout-repeat.c: New file.
4235 * gdb.arch/amd64-optimout-repeat.exp: New file.
4236
17d0c5c8
JK
42372014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4238
4239 PR gdb/17170
4240 * gdb.base/statistics.exp: New file.
4241
b8b8facf
DE
42422014-07-17 Doug Evans <dje@google.com>
4243
74b49205 4244 PR gdb/17170
b8b8facf
DE
4245 * gdb.base/maint.exp: Update testing of per-command stats.
4246
1b5d0ab3
PA
42472014-07-16 Pedro Alves <palves@redhat.com>
4248
4249 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
4250 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
4251 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
4252 (tfile_write_buf): New functions.
4253 (add_memory_block): Rewrite using the above.
4254 (adjust_function_address): New function.
4255 (FUNCTION_ADDRESS): New macro.
4256 (write_basic_trace_file): Remove short_x local, and use
4257 tfile_write_16. Change type of func_addr local to unsigned long
4258 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
4259 here. Cast argument of add_memory_block to char pointer.
4260 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
4261 (main): Remove parameters.
4262 * gdb.trace/tfile.exp: Remove nowarnings.
4263
4d974e88
SM
42642014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4265
4266 * gdb.base/debug-expr.exp: Test string evaluation with
4267 "debug expression" on.
4268
41e99568
PA
42692014-07-15 Pedro Alves <palves@redhat.com>
4270
4271 * gdb.base/reread.exp: Use clean_restart.
4272
487d9753
PL
42732014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4274
4275 * gdb.arch/avr-flash-qualifer.c: New.
4276 * gdb.arch/avr-flash-qualifer.exp: New.
4277
cc1c52ad
PA
42782014-07-14 Pedro Alves <palves@redhat.com>
4279
4280 * gdb.base/paginate-after-ctrl-c-running.c: New file.
4281 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
4282
1e973570
PA
42832014-07-14 Pedro Alves <palves@redhat.com>
4284
4285 * gdb.base/double-prompt-target-event-error.c: New file.
4286 * gdb.base/double-prompt-target-event-error.exp: New file.
4287
93d6eb10
PA
42882014-07-14 Pedro Alves <palves@redhat.com>
4289
4290 PR gdb/17072
4291 * gdb.base/paginate-inferior-exit.c: New file.
4292 * gdb.base/paginate-inferior-exit.exp: New file.
4293
0017922d
PA
42942014-07-14 Pedro Alves <palves@redhat.com>
4295
4296 PR gdb/17072
4297 * gdb.base/paginate-bg-execution.c: New file.
4298 * gdb.base/paginate-bg-execution.exp: New file.
4299
94696ad3
PA
43002014-07-14 Pedro Alves <palves@redhat.com>
4301
4302 PR gdb/17072
4303 * gdb.base/paginate-execution-startup.c: New file.
4304 * gdb.base/paginate-execution-startup.exp: New file.
4305 * lib/gdb.exp (pagination_prompt): New global.
4306 (default_gdb_spawn): New procedure, factored out from
4307 default_gdb_spawn.
4308 (default_gdb_start): Adjust to call default_gdb_spawn.
4309 (gdb_spawn): New procedure.
4310
bd293940
PA
43112014-07-14 Pedro Alves <palves@redhat.com>
4312
4313 * lib/gdb.exp (gdb_assert): New procedure.
4314 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
4315
c933f875
PA
43162014-07-14 Pedro Alves <palves@redhat.com>
4317
4318 * gdb.base/execution-termios.c: New file.
4319 * gdb.base/execution-termios.exp: New file.
4320
d98b7a16
TT
43212014-07-14 Tom Tromey <tromey@redhat.com>
4322
4323 * gdb.cp/vla-cxx.cc: New file.
4324 * gdb.cp/vla-cxx.exp: New file.
4325
548740d6
TT
43262014-07-14 Tom Tromey <tromey@redhat.com>
4327
4328 * gdb.reverse/rerun-prec.c: New file.
4329 * gdb.reverse/rerun-prec.exp: New file.
4330
a25eb028
MR
43312014-07-12 Maciej W. Rozycki <macro@mips.com>
4332 Maciej W. Rozycki <macro@codesourcery.com>
4333
4334 * lib/gdb-utils.exp: New file.
4335 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
4336 inline `gdb_init_command' processing.
4337 (gdb_start_cmd): Likewise.
4338 * lib/mi-support.exp (mi_run_cmd): Likewise.
4339 * README: Document `gdb_init_command' and `gdb_init_commands'.
4340
218c2655
JK
43412014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4342
4343 Fix false FAIL running under a very long directory name.
4344 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
4345 and "set print elements 10000". Twice.
4346
5401fde3
YQ
43472014-07-11 Yao Qi <yao@codesourcery.com>
4348
4349 * gdb.base/exprs.exp: "set print symbol off".
4350
e76126e8
PA
43512014-07-11 Pedro Alves <palves@redhat.com>
4352
4353 * gdb.threads/kill.c: New file.
4354 * gdb.threads/kill.exp: New file.
4355
2d6f0de6
YQ
43562014-07-10 Yao Qi <yao@codesourcery.com>
4357
4358 * gdb.trace/tfile.c (write_basic_trace_file)
4359 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4360 address written to trace file.
4361
7180e04a
PA
43622014-07-09 Pedro Alves <palves@redhat.com>
4363
4364 * gdb.base/attach-wait-input.exp: New file.
4365 * gdb.base/attach-wait-input.c: New file.
4366
9a9a7608
AB
43672014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4368
4369 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4370 setting up test structures.
4371 (main): Call new test function.
4372 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4373 test function, continue into test function and walk test
4374 structures.
4375
161ac41e
YQ
43762014-07-02 Yao Qi <yao@codesourcery.com>
4377
4378 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4379 'bar_start' at the beginning of functions 'foo' and 'bar'
4380 respectively.
4381 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4382 instead of 'foo' and 'bar'.
4383
1f267ae3
MM
43842014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4385
4386 * gdb.btrace/segv.exp: New.
4387 * gdb.btrace/segv.c: New.
4388
2b239efb
LM
43892014-07-02 Luis Machado <lgustavo@codesourcery.com>
4390
4391 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4392 instruction.
4393
cf363f18
MW
43942014-06-30 Mark Wielaard <mjw@redhat.com>
4395
4396 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4397 vulture, vilify, villar): New volatile array constants.
4398 (vindictive, vegetation): New const volatile array constants.
4399 * gdb.base/volatile.exp: Test volatile and const volatile array
4400 types.
4401
aebf9d24
AA
44022014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4403
4404 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4405 target lacks support for awatch, rwatch, or hbreak.
4406
b67a2c6f
YQ
44072014-06-27 Yao Qi <yao@codesourcery.com>
4408
4409 * gdb.multi/dummy-frame-restore.exp: New.
4410 * gdb.multi/dummy-frame-restore.c: New.
4411
aef92902
MM
44122014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4413
4414 * gdb.btrace/gcore.exp: New.
4415
8e9db26e
PA
44162014-06-23 Pedro Alves <palves@redhat.com>
4417
4418 * gdb.base/watchpoint-reuse-slot.c: New file.
4419 * gdb.base/watchpoint-reuse-slot.exp: New file.
4420
70afc5b7
SC
44212014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4422
4423 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4424 progspace's filename in 'info', 'enable' and 'disable' command
4425 tests.
4426
b972bd9c
JK
44272014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4428
4429 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4430 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4431 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4432
125f8a3d
GB
44332014-06-20 Gary Benson <gbenson@redhat.com>
4434
4435 * gdb.arch/i386-avx.exp: Fix include file location.
4436 * gdb.arch/i386-sse.exp: Likewise.
4437
3ed9baed
IB
44382014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4439
4440 * gdb.dlang/expression.exp: New file.
4441
034f788c
PA
44422014-06-19 Pedro Alves <palves@redhat.com>
4443
4444 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4445 out from ...
4446 (top level): ... here. Iterate running tests under different
4447 scheduler-locking settings.
4448
45371d0c
LM
44492014-06-18 Luis Machado <lgustavo@codesourcery.com>
4450
4451 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4452 to DW_FORM_addr and use non-zero addresses.
4453
5d376983
SC
44542014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4455
4456 PR gdb/17017
4457 * gdb.python/py-xmethods.cc: Add global function call counters and
4458 increment them in their respective functions. Remove "cout"
4459 statements.
4460 * gdb.python/py-xmethods.exp: Make tests check the global function
4461 call counters instead of depending on inferior IO.
4462
a1aa2221
LM
44632014-06-18 Don Breazeal <donb@codesourcery.com>
4464
4465 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4466 Deleted procedure.
4467 (explicit_fork_parent_follow): Deleted procedure.
4468 (explicit_fork_child_follow): Deleted procedure.
4469 (test_follow_fork): New procedure.
4470 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4471 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4472 procedure calls.
4473
0fc05997
YQ
44742014-06-17 Yao Qi <yao@codesourcery.com>
4475
4476 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4477 CP1252.
4478
70795c52
LM
44792014-06-17 Luis Machado <lgustavo@codesourcery.com>
4480
4481 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4482 Initialize ptr and S explicitly.
4483 (skip_type_update_when_not_use_rtti_test): Likewise.
4484
6be47f0c
KS
44852014-06-16 Keith Seitz <keiths@redhat.com>
4486
4487 PR mi/15863
4488 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4489 the inferior is started.
4490
d03de421
PA
44912014-06-16 Pedro Alves <palves@redhat.com>
4492
4493 * gdb.base/break-main-file-remove-fail.c: New file.
4494 * gdb.base/break-main-file-remove-fail.exp: New file.
4495 * gdb.base/break-unload-file.exp: Use build_executable instead of
4496 prepare_for_testing.
4497 (test_break): New parameter "initial_load". Handle it.
4498 (top level): Add initial_load cmdline/file axis.
4499
f9579b99
TT
45002014-06-12 Tom Tromey <tromey@redhat.com>
4501
4502 * gdb.base/completion.exp: Don't use directory name in test.
4503
3657956b
GB
45042014-06-09 Gary Benson <gbenson@redhat.com>
4505
4506 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4507 separate the always-available ANSI-standard signals from the
4508 signals that require checking.
4509 (main): Likewise.
4510 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4511 Likewise.
4512 (main): Likewise.
4513
4186eb54
KS
45142014-06-07 Keith Seitz <keiths@redhat.com>
4515
4516 Revert:
4517 PR c++/16253
4518 * gdb.cp/var-tag.cc: New file.
4519 * gdb.cp/var-tag.exp: New file.
4520 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4521 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4522 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4523 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4524
25326a28 45252014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4526
4527 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4528
829155c9
PA
45292014-06-06 Pedro Alves <palves@redhat.com>
4530
4531 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4532 in target debug output instead of looking at RSP packets,
4533 disabling the test on any target that uses hardware stepping.
4534 Update comments.
4535
61c8d22e
PA
45362014-06-06 Pedro Alves <palves@redhat.com>
4537
4538 * gdb.base/break-unload-file.exp: Fix typo.
4539
d9a47287
YQ
45402014-06-06 Yao Qi <yao@codesourcery.com>
4541
4542 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4543 from "jit_function" to "^jit_function".
4544
e5e01dbf
YQ
45452014-06-06 Yao Qi <yao@codesourcery.com>
4546
4547 * gdb.base/async.c (foo): Add one statement.
4548 * gdb.base/async.exp: Get the next instruction address and
4549 match the output of "nexti" by instruction address. Match
4550 the hex address in the output of "finish".
4551
73ba372c
GB
45522014-06-06 Gary Benson <gbenson@redhat.com>
4553
4554 * gdb.base/call-signals.c: Remove preprocessor conditionals
4555 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4556 SIGSEGV and SIGTERM.
4557 * gdb.base/sigall.c: Likewise.
4558 * gdb.base/unwindonsignal.c: Likewise.
4559 * gdb.reverse/sigall-reverse.c: Likewise.
4560
831517df
YQ
45612014-06-06 Yao Qi <yao@codesourcery.com>
4562
4563 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4564 readable, skip the test.
4565
b8b91e98
YQ
45662014-06-06 Yao Qi <yao@codesourcery.com>
4567
4568 * gdb.threads/staticthreads.c (thread_function): Move the line
4569 setting breakpoint on forward.
4570 * gdb.threads/staticthreads.exp: Update comments.
4571
fb934770
LC
45722014-06-05 Ludovic Courtès <ludo@gnu.org>
4573
4574 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4575 "history-append! type error".
4576
6ef284bd
SM
45772014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4578
4579 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4580 erroneous dprintf expected input.
4581
a872e241
DE
45822014-06-04 Doug Evans <xdje42@gmail.com>
4583
4584 * gdb.guile/scm-generics.exp: Delete.
4585
16f691fb
DE
45862014-06-04 Doug Evans <xdje42@gmail.com>
4587
4588 * gdb.guile/scm-breakpoint.exp: Update.
4589 Add tests for breakpoint registration.
4590
012370f6
TT
45912014-06-04 Tom Tromey <tromey@redhat.com>
4592
4593 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4594 VLA-in-union.
4595 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4596 inner_vla_struct, vla_union types. Initialize objects of those
4597 types and compute their sizes.
4598
9f5a4cef
HZ
45992014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4600 Hui Zhu <hui@codesourcery.com>
4601
4602 * gdb.base/fileio.exp: Add test for shell not available as well as
4603 available.
4604 * gdb.base/fileio.c (test_system): Check for shell twice.
4605
90a45c4d
YQ
46062014-06-04 Yao Qi <yao@codesourcery.com>
4607
4608 * gdb.base/auto-connect-native-target.exp: Remove redundant
4609 space from the regexp pattern.
4610
70017e41
YQ
46112014-06-04 Yao Qi <yao@codesourcery.com>
4612
4613 * gdb.base/default.exp: Replace "child" with "native" in
4614 regexp pattern.
4615
883964a7
SC
46162014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4617
4618 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4619 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4620 * gdb.python/py-xmethods.py: Python script supporting the
4621 new testcase and tests.
4622
ef370185
JB
46232014-06-03 Joel Brobecker <brobecker@adacore.com>
4624 Pedro Alves <palves@redhat.com>
4625
4626 PR breakpoints/17000
4627 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4628 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4629
1e2ccb61
BM
46302014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4631
4632 * gdb.base/subst.exp: Add tests to verify partial path matching
4633 output.
4634
c6ec5ab2
PA
46352014-06-03 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4638 target that doesn't use software single-stepping.
4639
835c559f
PA
46402014-06-03 Pedro Alves <palves@redhat.com>
4641
4642 PR breakpoints/17000
4643 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4644 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4645
06eb1586
DE
46462014-06-02 Doug Evans <xdje42@gmail.com>
4647
4648 * gdb.guile/scm-parameter.exp: New file.
4649
e698b8c4
DE
46502014-06-02 Doug Evans <xdje42@gmail.com>
4651
4652 * gdb.guile/scm-cmd.c: New file.
4653 * gdb.guile/scm-cmd.exp: New file.
4654
ded03782
DE
46552014-06-02 Doug Evans <xdje42@gmail.com>
4656
4657 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4658 pretty-printer lookup.
4659 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4660 (make-pp_s-printer): Call it.
4661 (make-pretty-printer-from-dict): New function.
4662 (lookup-pretty-printer-maker-from-dict): New function.
4663 (*pretty-printer*): Simplify.
4664 (make-objfile-pp_s-printer): New function.
4665 (install-objfile-pretty-printers!): New function.
4666 (make-progspace-pp_s-printer): New function.
4667 (install-progspace-pretty-printers!): New function.
4668 * gdb.guile/scm-progspace.c: New file.
4669 * gdb.guile/scm-progspace.exp: New file.
4670
41fac0cf
PA
46712014-06-02 Pedro Alves <palves@redhat.com>
4672
4673 * gdb.base/dprintf-bp-same-addr.c: New file.
4674 * gdb.base/dprintf-bp-same-addr.exp: New file.
4675
96ae5695
EBM
46762014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4677
4678 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4679 * gdb.arch/powerpc-power.s: Likewise.
4680
da02b3a8
JB
46812014-06-02 Joel Brobecker <brobecker@adacore.com>
4682
4683 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4684
c72b2e7b
YQ
46852014-06-01 Yao Qi <yao@codesourcery.com>
4686
4687 * gdb.base/watchpoint.exp (test_watch_location): Check null
4688 pointer can be dereferenced. If not, do the test, otherwise
4689 skip it.
4690
53e8a631
AB
46912014-05-30 Andrew Burgess <aburgess@broadcom.com>
4692
4693 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4694 results.
4695 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4696
938f0e2f
AB
46972014-05-30 Andrew Burgess <aburgess@broadcom.com>
4698
4699 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4700 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4701 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4702 * gdb.arch/amd64-invalid-stack-top.c: New file.
4703 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4704
9ba6657a
PA
47052014-05-30 Pedro Alves <palves@redhat.com>
4706
4707 PR breakpoints/17000
4708 * gdb.base/sss-bp-on-user-bp.c: New file.
4709 * gdb.base/sss-bp-on-user-bp.exp: New file.
4710
522c09bf
DB
47112014-05-30 David Blaikie <dblaikie@gmail.com>
4712
4713 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4714 gnu_inline semantics via attribute.
4715 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4716 source explicitly specifies the required semantics.
4717
bf4ef81e
MR
47182014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4719
4720 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4721
329ea579
PA
47222014-05-29 Pedro Alves <palves@redhat.com>
4723 Tom Tromey <tromey@redhat.com>
4724
4725 * gdb.base/async-shell.exp: Don't enable target-async.
4726 * gdb.base/async.exp
4727 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4728 parameter. Adjust.
4729 (top level): Don't test with "target-async".
4730 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4731 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4732 * gdb.base/inferior-died.exp: Don't enable target-async.
4733 * gdb.base/interrupt-noterm.exp: Likewise.
4734 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4735 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4736 * gdb.mi/mi-nonstop.exp: Likewise.
4737 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4738 * gdb.mi/mi-nsintrall.exp: Likewise.
4739 * gdb.mi/mi-nsmoribund.exp: Likewise.
4740 * gdb.mi/mi-nsthrexec.exp: Likewise.
4741 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4742 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4743 * gdb.python/py-evsignal.exp: Don't enable target-async.
4744 * gdb.python/py-evthreads.exp: Likewise.
4745 * gdb.python/py-prompt.exp: Likewise.
4746 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4747 * gdb.server/solib-list.exp: Don't enable target-async.
4748 * gdb.threads/thread-specific-bp.exp: Likewise.
4749 * lib/mi-support.exp: Adjust to use mi-async.
4750
fd664c91
PA
47512014-05-29 Pedro Alves <palves@redhat.com>
4752
4753 PR gdb/13860
4754 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4755 reason, even in sync mode.
4756
251bde03
PA
47572014-05-29 Pedro Alves <palves@redhat.com>
4758 Hui Zhu <hui@codesourcery.com>
4759
4760 PR PR15693
4761 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4762 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4763 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4764 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4765
7f3c0343
JB
47662014-05-28 Joel Brobecker <brobecker@adacore.com>
4767
4768 * config/monitor.exp (gdb_target_monitor): Replace use of
4769 "set remotebaud" by "set serial baud".
4770
b2715b27
AW
47712014-05-26 Andy Wingo <wingo@igalia.com>
4772
4773 * gdb.guile/scm-breakpoint.exp:
4774 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4775 properties instead of gdb-object-properties.
4776
498a4489
YQ
47772014-05-26 Yao Qi <yao@codesourcery.com>
4778
4779 * gdb.server/no-thread-db.exp: Specify source file name
4780 explicitly when setting a breakpoint.
4781
589fdceb
MM
47822014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4783
4784 * gdb.btrace/vdso.c: New.
4785 * gdb.btrace/vdso.exp: New.
4786
e9089e05
MM
47872014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4788
4789 * gdb.base/gcore.exp (capture_command_output): Move ...
4790 * lib/gdb.exp (capture_command_output): ... here.
4791
67b5c0c1
MM
47922014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4793
4794 * gdb.btrace/data.exp: Test memory access during btrace replay.
4795
a2199296
SM
47962014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4797
4798 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4799
17b2616c
PA
48002014-05-21 Pedro Alves <palves@redhat.com>
4801
4802 PR gdb/13860
4803 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4804 (top level): Test that output related to execution commands is
4805 sent to the console with CLI commands, but not with MI commands.
4806 Test that breakpoint events are always mirrored to the console.
4807 Also expect the new source line to be output after a "next" in
4808 async mode too. Make it a pass/fail test.
4809 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4810 output.
4811 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4812
5166082f
PA
48132014-05-21 Pedro Alves <palves@redhat.com>
4814
4815 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4816 Use them to test variations of "list" after reaching a breakpoint.
4817 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4818 Test "list" with listsize 10 after reaching a breakpoint.
4819 * gdb.python/python.exp (decode_line current location line
4820 number): Adjust expected line number.
4821
2f25d70f
SM
48222014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4823
4824 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4825 behavior for $args, pass it directly to "run".
4826
ff604a67
MR
48272014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4828
4829 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4830 30000 to 65536.
4831
6a3cb8e8
PA
48322014-05-21 Pedro Alves <palves@redhat.com>
4833
4834 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4835 auto-connect-native-target off".
4836 * gdb.base/auto-connect-native-target.c: New file.
4837 * gdb.base/auto-connect-native-target.exp: New file.
4838
4ebfc96e
PA
48392014-05-21 Pedro Alves <palves@redhat.com>
4840
4841 * gdb.base/default.exp: Test "target native" instead of "target
4842 child".
4843
36d46afb
MW
48442014-05-21 Mark Wielaard <mjw@redhat.com>
4845
4846 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4847
5876f503
JK
48482014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4849
4850 Fix TLS access for -static -pthread.
4851 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4852 <HAVE_TLS> (thread_function, main): Initialize it.
4853 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4854 Add clean_restart.
4855 <$have_tls != "">: Check TLSVAR.
4856
0256a6ac
PA
48572014-05-21 Pedro Alves <palves@redhat.com>
4858
4859 * gdb.base/dcache-line-read-error.c: New.
4860 * gdb.base/dcache-line-read-error.exp: New.
4861
936d2992
PA
48622014-05-20 Pedro Alves <palves@redhat.com>
4863
4864 * gdb.base/compare-sections.c: New file.
4865 * gdb.base/compare-sections.exp: New file.
4866
802e8e6d
PA
48672014-05-20 Pedro Alves <palves@redhat.com>
4868
4869 * gdb.base/break-idempotent.c: New file.
4870 * gdb.base/break-idempotent.exp: New file.
4871
e59fa00f
MM
48722014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4873
4874 * gdb.btrace/nohist.exp: New.
4875
8b696e31
YQ
48762014-05-20 Yao Qi <yao@codesourcery.com>
4877
4878 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4879 gdb.reverse directory and gdb_reverse_timeout exists in board
4880 setting.
4881 * README: Document gdb_reverse_timeout.
4882
73c9764f
YQ
48832014-05-20 Yao Qi <yao@codesourcery.com>
4884
4885 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4886 'test_file_name'. Treat args as a string instead of a list.
4887 (gdb_init): Rename argument 'args' by 'test_file_name'.
4888
f1f4348a
JK
48892014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4890
4891 * gdb.arch/powerpc-power.exp: New file.
4892 * gdb.arch/powerpc-power.s: New file.
4893
0dbe70ce
DE
48942014-05-16 Doug Evans <dje@google.com>
4895
4896 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4897 * gdb.base/completion.exp: Check that all expected files exist
4898 before doing file completion.
0dbe70ce 4899
8d551b02
DE
49002014-05-16 Doug Evans <dje@google.com>
4901
4902 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4903 Update.
4904 (do_syscall_tests_without_xml): Update.
4905
73eb7709
PA
49062014-05-16 Pedro Alves <palves@redhat.com>
4907
4908 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4909 instead of "unknown output after running".
4910
3fae92fc
YQ
49112014-05-16 Yao Qi <yao@codesourcery.com>
4912
4913 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4914 file1.txt from host at the end.
4915 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4916
c2b2ccc5
DE
49172014-05-15 Doug Evans <dje@google.com>
4918
4919 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4920 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4921 loading file. Add test for TU lookup.
4922
8c217a4b
SM
49232014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4924
4925 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4926 calling "-exec-arguments" or "set args" before running the
4927 inferior.
4928
3deb39c6
SM
49292014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4930
4931 * lib/mi-support.exp (mi_expect_stop): Expect message for
4932 inferiors that exit with non-zero exit code.
4933
71a79f8c
YQ
49342014-05-14 Yao Qi <yao@codesourcery.com>
4935
4936 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4937 match absolute path on remote host.
4938 (test_file_list_exec_source_files): Remove "/" from the
4939 pattern.
4940
f23fcd46
YQ
49412014-05-14 Yao Qi <yao@codesourcery.com>
4942
4943 * boards/local-remote-host-notty.exp (${board}_file): New
4944 proc.
4945
9404b58f
KM
49462014-05-07 Kyle McMartin <kyle@redhat.com>
4947
4948 Pushed by Joel Brobecker <brobecker@adacore.com>.
4949 * gdb.arch/aarch64-atomic-inst.c: New file.
4950 * gdb.arch/aarch64-atomic-inst.exp: New file.
4951
5e45f04c
YQ
49522014-05-07 Yao Qi <yao@codesourcery.com>
4953
4954 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4955 in current context" too.
4956
c888a17d
KS
49572014-05-05 Keith Seitz <keiths@redhat.com>
4958
4959 * gdb.linespec/ls-dollar.exp: Add test for linespec
4960 file:convenience_variable.
4961
290a839c
YQ
49622014-05-05 Yao Qi <yao@codesourcery.com>
4963
4964 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4965 traceframes into tfile and ctf trace files. Read data from
4966 trace file and test collected data.
4967 (gdb_collect_locals_test): Likewise.
4968 (gdb_unavailable_registers_test): Likewise.
4969 (gdb_unavailable_floats): Likewise.
4970 (gdb_collect_globals_test): Likewise.
4971 (top-level): Append "ctf" to trace_file_targets if GDB
4972 supports.
4973
b5262cd0
YQ
49742014-05-05 Yao Qi <yao@codesourcery.com>
4975
4976 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4977 code to ...
4978 (gdb_collect_args_test_1): ... it. New proc.
4979 (gdb_collect_locals_test): Move some code to ...
4980 (gdb_collect_locals_test_1): ... it. New proc.
4981 (gdb_unavailable_registers_test): Move some code to ...
4982 (gdb_unavailable_registers_test_1): ... it. New proc.
4983 (gdb_unavailable_floats): Move some code to ...
4984 (gdb_unavailable_floats_1): ... it. New proc.
4985
30a1e6cc
SDJ
49862014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4987
4988 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4989 probes to test for bitness recognition.
4990 * gdb.arch/amd64-stap-optional-prefix.exp
4991 (test_probe_value_without_reg): New procedure.
4992 Add code to test for different kinds of bitness.
4993
f33da99a
SDJ
49942014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4995
4996 PR breakpoints/16889
4997 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4998 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4999
5b80f00d
PA
50002014-05-01 Pedro Alves <palves@redhat.com>
5001
5002 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5003 gdb_file_cmd if no file is specified.
5004 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5005 last_loaded_file to set the remote exec-file.
5006
f8c2a73c
PA
50072014-05-01 Pedro Alves <palves@redhat.com>
5008
5009 * boards/local-remote-host.exp: New file.
5010
be6e8ac7
PA
50112014-05-01 Pedro Alves <palves@redhat.com>
5012
5013 * boards/local-remote-host.exp: Rename to ...
5014 * boards/local-remote-host-notty.exp: ... this.
5015
cac0dc8f
JB
50162014-04-28 Joel Brobecker <brobecker@adacore.com>
5017
5018 * gdb.ada/dyn_arrayidx: New testcase.
5019
9730e6cc
YQ
50202014-04-26 Yao Qi <yao@codesourcery.com>
5021
5022 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5023 and compute the length of function main. Save it in
5024 $main_length.
5025 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5026 (top-level): Use gdb_compile to compile objects into
5027 executable and restart GDB. Remove invocation to
5028 prepare_for_testing.
5029
7ae1a6a6
PA
50302014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5031 Pedro Alves <palves@redhat.com>
5032
5033 PR server/16255
5034 * gdb.multi/multi-attach.c: New file.
5035 * gdb.multi/multi-attach.exp: New file.
5036
4082afcc
PA
50372014-04-25 Pedro Alves <palves@redhat.com>
5038
5039 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5040 user.
5041 (top level): Test that "set remote conditional-breakpoints-packet
5042 off" works as intended.
5043 * gdb.base/dprintf.exp: Test that "set remote
5044 breakpoint-commands-packet off" works as intended.
5045 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5046 New function.
5047 (top level): Call it.
5048 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5049 remote fast-tracepoints-packet off" works as intended.
5050 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5051 * lib/gdb.exp (gdb_is_target_remote): ... here.
5052
2abc3f8d
DB
50532014-04-24 David Blaikie <dblaikie@gmail.com>
5054
5055 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5056 ensure clang would not discard them.
5057 * gdb.base/gdbvars.c: Ditto.
5058 * gdb.base/memattr.c: Ditto.
5059 * gdb.base/whatis.c: Ditto.
5060 * gdb.python/py-prettyprint.c: Ditto.
5061 * gdb.trace/actions.c: Ditto.
5062 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5063 ensure clang would not discard it.
5064
bfd39632
DB
50652014-04-24 David Blaikie <dblaikie@gmail.com>
5066
5067 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5068 clang to emit the full definition of type required by the test
5069 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5070
22842ff6
DB
50712014-04-24 David Blaikie <dblaikie@gmail.com>
5072
5073 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5074 coax Clang into emitting the definition of the type.
5075 * gdb.cp/pr10728-x.h (y): Ditto.
5076 * gdb.cp/pr10728-y.cc (y): Ditto.
5077
c2e827ad
DB
50782014-04-24 David Blaikie <dblaikie@gmail.com>
5079
5080 * gdb.base/label.exp: XFAIL label related tests under Clang.
5081 * gdb.cp/cplabel.exp: Ditto.
5082 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5083 under Clang those using labels.
5084
4c2d33e7
YQ
50852014-04-25 Yao Qi <yao@codesourcery.com>
5086
5087 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5088 double_label.
5089 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5090 partial_label and double_label.
5091
56083b99
DB
50922014-04-24 David Blaikie <dblaikie@gmail.com>
5093
5094 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5095
25d4e99d
DB
50962014-04-24 David Blaikie <dblaikie@gmail.com>
5097
5098 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5099 of the function to work across GCC and Clang.
5100 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5101 pointer types (const void ** const V void **).
5102
01f9f808
MS
51032014-04-24 Michael Sturm <michael.sturm@mintel.com>
5104 Walfred Tedeschi <walfred.tedeschi@intel.com>
5105
5106 * Makefile.in (EXECUTABLES): Added i386-avx512.
5107 * gdb.arch/i386-avx512.c: New file.
5108 * gdb.arch/i386-avx512.exp: Likewise.
5109
4b48d439
KS
51102014-04-23 Keith Seitz <keiths@redhat.com>
5111
5112 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5113 (mi_make_breakpoint_table): New procedure.
5114 (mi_create_breakpoint): Use mi_make_breakpoint
5115 and return the result.
5116 (mi_make_breakpoint): New procedure.
5117 (mi_build_kv_pairs): New procedure.
5118
5119 * gdb.mi/mi-break.exp: Remove unused globals,
5120 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
5121 All callers updated.
5122 * gdb.mi/mi-dprintf.exp: Use variable to track command
5123 number.
5124 Update all callers of mi_create_breakpoint and use
5125 mi_make_breakpoint_table.
5126 Remove any unused global variables.
5127 * gdb.mi/mi-nonstop.exp: Likewise.
5128 * gdb.mi/mi-nsintrall.exp: Likewise.
5129 * gdb.mi/mi-nsmoribund.exp: Likewise.
5130 * gdb.mi/mi-nsthrexec.exp: Likewise.
5131 * gdb.mi/mi-reverse.exp: Likewise.
5132 * gdb.mi/mi-simplerun.exp: Likewise.
5133 * gdb.mi/mi-stepn.exp: Likewise.
5134 * gdb.mi/mi-syn-frame.exp: Likewise.
5135 * gdb.mi/mi-until.exp: Likewise.
5136 * gdb.mi/mi-var-cp.exp: Likewise.
5137 * gdb.mi/mi-var-display.exp: Likewise.
5138 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
5139 * gdb.mi/mi2-var-child.exp: Likewise.
5140 * gdb.mi/mi-vla-c99.exp: Likewise.
5141 * lib/mi-support.exp: Likewise.
5142
5143 From Ian Lance Taylor <iant@cygnus.com>:
5144 * lib/gdb.exp (parse_args): New procedure.
5145
08351840
PA
51462014-04-23 Pedro Alves <palves@redhat.com>
5147
5148 * gdb.base/break-unload-file.c: New file.
5149 * gdb.base/break-unload-file.exp: New file.
5150 * gdb.base/sym-file-lib.c (baz): New function.
5151 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
5152 field.
5153 (load): Store the segment's mapped size.
5154 (unload): New function.
5155 (unload_shlib): New function.
5156 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
5157 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
5158 set a breakpoint at baz, and call it.
5159 * gdb.base/sym-file.exp: New tests for stale breakpoint
5160 instructions.
5161
076855f9
PA
51622014-04-23 Pedro Alves <palves@redhat.com>
5163
5164 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
5165 * gdb.base/hbreak-in-shr-unsupported.c: New file.
5166 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
5167 * gdb.base/hbreak-unmapped.c: New file.
5168 * gdb.base/hbreak-unmapped.exp: New file.
5169 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
5170 * lib/gdb.exp (gdb_is_target_remote): ... here.
5171
483805cf
PA
51722014-04-22 Pedro Alves <palves@redhat.com>
5173
5174 * gdb.base/consecutive-step-over.c: New file.
5175 * gdb.base/consecutive-step-over.exp: New file.
5176
06d97543
PA
51772014-04-22 Pedro Alves <palves@redhat.com>
5178
5179 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
5180 instead of send_gdb/gdb_expect.
5181
b4429ea2
YQ
51822014-04-22 Yao Qi <yao@codesourcery.com>
5183
5184 * lib/trace-support.exp (generate_tracefile): New procedure.
5185 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
5186 return 0.
5187 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
5188 if generate_tracefile returns 1.
5189
51d48146
PA
51902014-04-18 Tom Tromey <palves@redhat.com>
5191 Pedro alves <tromey@redhat.com>
5192
5193 PR backtrace/15558
5194 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
5195 with a backtrace limit.
5196 * gdb.python/py-frame-inline.exp: Test running to an inline
5197 function with a backtrace limit, and printing the newest frame.
5198 * gdb.python/py-frame-inline.c (main): Call f.
5199
bd1dce5f
MS
52002014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5201
5202 * gdb.java/jnpe.exp: Drop srcdir from untested path.
5203
40d1a503
MS
52042014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
5205
5206 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
5207 Drop prefix from unsupported source file path.
5208
389b98f7
YQ
52092014-04-17 Yao Qi <yao@codesourcery.com>
5210
5211 * lib/gdb.exp (with_target_charset): New proc.
5212 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
5213 with_target_charset.
5214 (test_print_strings): Likewise.
5215 (test_repeat_bytes): Likewise.
5216 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
5217 for some tests.
5218
22869d73
KS
52192014-04-16 Keith Seitz <keiths@redhat.com>
5220
5221 PR gdb/15827
5222 * gdb.dwarf2/corrupt.c: New file.
5223 * gdb.dwarf2/corrupt.exp: New file.
5224
c4f87ca6
KS
52252014-04-16 Keith Seitz <keiths@redhat.com>
5226
5227 PR c++/16597
5228 * gdb.cp/namelessclass.cc: New file.
5229 * gdb.cp/namelessclass.exp: New file.
5230 * gdb.cp/namelessclass.S: New file.
5231
ab19de87
DE
52322014-04-16 Doug Evans <dje@google.com>
5233
5234 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
5235 Add comment.
5236 (gdbserver_default_get_comm_port): New function.
5237 (gdbserver_start): Check if board file provided
5238 "gdbserver,get_comm_port" and use it if so.
5239 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
5240 (gdb,socketport): Set to "stdio".
5241 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
5242 (stdio_gdbserver_template): Delete.
5243 (${board}_get_remote_address): Update.
5244 (${board}_build_remote_cmd): Delete.
5245 (${board}_get_comm_port): New function.
5246 (${board}_spawn): Update.
5247 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
5248 Delete.
5249 (${board}_get_remote_address): Update.
5250 (${board}_get_comm_port): New function.
5251
fc98a809
AB
52522014-04-16 Andrew Burgess <aburgess@broadcom.com>
5253
5254 * gdb.base/memattr.exp: Improve regexps to handle memory regions
5255 appearing in any order.
5256
87fd9e6e
DE
52572014-04-15 Doug Evans <dje@google.com>
5258
5259 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
5260 uninitialized value of "description".
5261
099fc3ea
KS
52622014-04-15 Keith Seitz <keiths@redhat.com>
5263
5264 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
5265 Remove unused globals.
5266 (test_running_the_program): Likewise.
5267 (test_controlled_execution): Likewise.
5268 (test_controlling_breakpoints): Likewise.
5269 (test_program_termination): Likewise.
5270
5da151d4
KS
52712014-04-15 Keith Seitz <keiths@redhat.com>
5272
5273 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
5274 unused globals.
5275 (test_rbreak_creation_and_listing): Likewise.
5276 (test_ignore_count): Likewise.
5277 (test_error): Likewise.
5278
35e5d2f0
PA
52792014-04-15 Pedro Alves <palves@redhat.com>
5280
5281 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
5282 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
5283 sym-file-loader.c.
5284 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5285 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5286 to sym-file-loader.c.
5287 (struct library): Forward declare.
5288 (load_shlib, lookup_function): Change prototypes.
5289 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5290 (translate_offset): Remove declarations.
5291 (get_text_addr): New declaration.
5292 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
5293 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
5294 sym-file-loader.h.
5295 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
5296 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
5297 here from sym-file-loader.h.
5298 (struct library): New structure.
5299 (load_shlib, lookup_function): Change prototypes and adjust to
5300 work with a struct library.
5301 (find_shstrtab, find_strtab, find_shdr, find_symtab)
5302 (translate_offset): Make static.
5303 (get_text_addr): New function.
5304 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
5305
eb4c1710
PA
53062014-04-15 Pedro Alves <palves@redhat.com>
5307
5308 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
5309
2d1baf52
PA
53102014-04-15 Pedro Alves <palves@redhat.com>
5311
5312 * gdb.base/sym-file-loader.c: Include <limits.h>.
5313 (SELF_LINK): New define.
5314 (get_origin): New function.
5315 (load_shlib): Use it.
5316 * gdb.base/sym-file.exp: Don't early return if the target is
5317 remote. Use runto_main, and issue fail is that fails. Use
5318 gdb_load_shlibs.
5319 (shlib_name): Delete.
5320 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
5321
7dd6df01
PA
53222014-04-15 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.base/sym-file.exp: Remove regex characters from test
5325 message. Don't refer to breakpoint numbers in test messages.
5326
b50c8614
KS
53272014-04-14 Keith Seitz <keiths@redhat.com>
5328
5329 PR c++/16253
5330 * gdb.cp/var-tag.cc: New file.
5331 * gdb.cp/var-tag.exp: New file.
5332 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5333 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5334 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5335 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5336
3d567982
TT
53372014-04-14 Tom Tromey <tromey@redhat.com>
5338
5339 * gdb.cp/classes.exp (test_enums): Handle underlying type.
5340 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
5341 type.
5342 * gdb.cp/enum-class.exp: New file.
5343 * gdb.cp/enum-class.cc: New file.
5344
0626fc76
TT
53452014-04-14 Tom Tromey <tromey@redhat.com>
5346
5347 * gdb.dwarf2/enum-type.exp: New file.
5348
dca325b3
SA
53492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5350
5351 * gdb.mi/mi-vla-c99.exp: New file.
5352 * gdb.mi/vla.c: New file.
5353
5854b38a
SA
53542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5355
5356 * gdb.base/vla-datatypes.c: New file.
5357 * gdb.base/vla-datatypes.exp: New file.
5358
463bb957
SA
53592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5360
5361 * gdb.base/vla-ptr.c: New file.
5362 * gdb.base/vla-ptr.exp: New file.
5363
3dd170be
SA
53642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5365
5366 * gdb.dwarf2/count.exp: New file.
5367
5ecaaa66
SA
53682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5369
5370 * gdb.base/vla-sideeffect.c: New file.
5371 * gdb.base/vla-sideeffect.exp: New file.
5372
41f1ada5
DB
53732014-04-14 David Blaikie <dblaikie@gmail.com>
5374
5375 * gdb.mi/non-stop.c: Add return value for non-void function return
5376 statement.
5377 * gdb.threads/staticthreads.c: Ditto.
5378
0be03e84
DE
53792014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5380 Doug Evans <xdje42@gmail.com>
5381
5382 * gdb.guile/scm-value.c: Improve test case.
5383 * gdb.guile/scm-value.exp: Add new test.
5384
f180a1fb
DB
53852014-04-11 David Blaikie <dblaikie@gmail.com>
5386
5387 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5388 override Clang's default.
5389
6b662e19
JB
53902014-04-11 Joel Brobecker <brobecker@adacore.com>
5391
5392 Revert the following changes (regressions):
5393
5394 * gdb.base/vla-sideeffect.c: New file.
5395 * gdb.base/vla-sideeffect.exp: New file.
5396
5397 * gdb.dwarf2/count.exp: New file.
5398
5399 * gdb.base/vla-multi.c: New file.
5400 * gdb.base/vla-multi.exp: New file.
5401
5402 * gdb.base/vla-ptr.c: New file.
5403 * gdb.base/vla-ptr.exp: New file.
5404
5405 * gdb.base/vla-datatypes.c: New file.
5406 * gdb.base/vla-datatypes.exp: New file.
5407
5408 * gdb.mi/mi-vla-c99.exp: New file.
5409 * gdb.mi/vla.c: New file.
5410
245a5f0b
KS
54112014-04-11 Keith Seitz <keiths@redhat.com>
5412
5413 PR c++/16675
5414 * gdb.cp/cpsizeof.exp: New file.
5415 * gdb.cp/cpsizeof.cc: New file.
5416
58a84dcf
SA
54172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5418
191a8a90
JB
5419 * gdb.mi/mi-vla-c99.exp: New file.
5420 * gdb.mi/vla.c: New file.
58a84dcf 5421
c8655f75
SA
54222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5423
5424 * gdb.base/vla-datatypes.c: New file.
5425 * gdb.base/vla-datatypes.exp: New file.
5426
024e13b4
SA
54272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5428
5429 * gdb.base/vla-ptr.c: New file.
5430 * gdb.base/vla-ptr.exp: New file.
5431
1a237e0e
SA
54322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5433
5434 * gdb.base/vla-multi.c: New file.
5435 * gdb.base/vla-multi.exp: New file.
5436
504f3432
SA
54372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5438
5439 * gdb.dwarf2/count.exp: New file.
5440
3bce8237
SA
54412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5442
191a8a90
JB
5443 * gdb.base/vla-sideeffect.c: New file.
5444 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5445
322f9c21
YQ
54462014-04-11 Yao Qi <yao@codesourcery.com>
5447
5448 * gdb.base/completion.exp: Check file exists before running tests
5449 on file completion.
5450
d708bcd1
PA
54512014-04-10 Pedro Alves <palves@redhat.com>
5452
5453 * gdb.base/cond-eval-mode.c: New file.
5454 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5455 prepare_for_testing to build the new file. Check result of
5456 runto_main.
5457 (test_break, test_watch): New procedures.
5458 (top level): Use them.
5459
ae1d2761
PM
54602014-04-08 Pierre Muller <muller@sourceware.org>
5461
5462 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5463 Ctrl-V use for mingw hosts.
5464
7af389b8
SC
54652014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5466
5467 * gdb.python/py-value.c: Improve test case.
5468 * gdb.python/py-value.exp: Add new test.
5469
5e703181
DE
54702014-04-07 David Blaikie <dblaikie@gmail.com>
5471
5472 * lib/compiler.c: Identify the clang compiler.
5473 * lib/compiler.cc: Ditto.
5474
9810b410
YQ
54752014-04-03 Yao Qi <yao@codesourcery.com>
5476
5477 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5478
98d1b8dc
AB
54792014-04-01 Anton Blanchard <anton@samba.org>
5480
5481 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5482 messages unique.
5483
3114cea1
AB
54842014-04-01 Anton Blanchard <anton@samba.org>
5485
5486 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5487 prepare_for_testing.
5488
62f7182c
AB
54892014-04-01 Anton Blanchard <anton@samba.org>
5490
5491 * gdb.arch/ppc64-atomic-inst.c: Remove.
5492 * gdb.arch/ppc64-atomic-inst.S: New file.
5493 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5494
770e7fc7
DE
54952014-03-31 Doug Evans <dje@google.com>
5496
5497 * gdb.base/print-symbol-loading-lib.c: New file.
5498 * gdb.base/print-symbol-loading-main.c: New file.
5499 * gdb.base/print-symbol-loading.exp: New file.
5500
46e2bafa
YQ
55012014-03-31 Yao Qi <yao@codesourcery.com>
5502
5503 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5504
8776cfe9
JB
55052014-03-28 Joel Brobecker <brobecker@adacore.com>
5506
5507 * gdb.ada/mi_dyn_arr: New testcase.
5508
5d1ef361
DE
55092014-03-27 Doug Evans <dje@google.com>
5510
5511 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5512
b5bee914
YQ
55132014-03-27 Yao Qi <yao@codesourcery.com>
5514
5515 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5516 if target is nios2-*-*.
5517
0d4d0e77
YQ
55182014-03-26 Yao Qi <yao@codesourcery.com>
5519
5520 * lib/gdb.exp (readline_is_used): New proc.
5521 * gdb.base/completion.exp: Move tests on command complete up.
5522 Skip the rest of tests if readline is not used.
5523 * gdb.ada/complete.exp: Skp the test if readline is not
5524 used.
5525 * gdb.base/filesym.exp: Likewise.
5526 * gdb.base/macscp.exp: Likewise.
5527 * gdb.base/readline-ask.exp: Likewise.
5528 * gdb.base/readline.exp: Likewise.
5529 * gdb.python/py-cmd.exp: Likewise.
5530 * gdb.trace/tfile.exp: Likewise.
5531
29361eee
YQ
55322014-03-26 Yao Qi <yao@codesourcery.com>
5533
5534 * gdb.base/macscp.exp: Fix code format issues.
5535
bc9a5525
UW
55362014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5537
5538 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5539 * gdb.asm/powerpc64le.inc: New file.
5540
d3839ede
PA
55412014-03-25 Pedro Alves <palves@redhat.com>
5542 Doug Evans <dje@google.com>
5543
5544 * gdb.base/source-execution.c: New file.
5545 * gdb.base/source-execution.exp: New file.
5546 * gdb.base/source-execution.gdb: New file.
5547
01672a57
DE
55482014-03-24 Doug Evans <dje@google.com>
5549
5550 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5551 using fission.
5552
88bbeca9
HZ
55532014-03-24 Hui Zhu <hui@codesourcery.com>
5554 Pedro Alves <palves@redhat.com>
5555
5556 PR breakpoints/16101
5557 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5558 test pass/fail messages. Detect missing support for dprintf when
5559 breakpoints are actually inserted.
5560 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5561 breakpoints are actually inserted.
5562 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5563 fails.
5564
d2348791
JK
55652014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5566
5567 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5568
feef67ab
DE
55692014-03-22 Doug Evans <xdje42@gmail.com>
5570
5571 * gdb.python/python.exp (python not supported): Verify multi-line
5572 python command issues an error.
25d743f9 5573 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5574 guile command issues an error.
feef67ab 5575
ecebef6a
MR
55762014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5577
5578 * gdb.threads/thread-specific.exp: Handle the lack of usable
5579 $this_breakpoint and $this_thread.
5580
ccdd1909
HZ
55812014-03-21 Hui Zhu <hui@codesourcery.com>
5582
5583 * gdb.base/attach.exp (do_command_attach_tests): New.
5584
beb460e8
PA
55852014-03-20 Tom Tromey <tromey@redhat.com>
5586 Pedro Alves <palves@redhat.com>
5587
5588 PR cli/15718
5589 * gdb.base/condbreak-call-false.c: New file.
5590 * gdb.base/condbreak-call-false.exp: New file.
5591
40acf43a
PA
55922014-03-20 Pedro Alves <palves@redhat.com>
5593
5594 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5595 Delete.
5596 (block_signals, unblock_signals): Delete.
5597 (child_function_2, main): Remove references to deleted variable
5598 and functions.
5599
9f5e1e02
PA
56002014-03-20 Pedro Alves <palves@redhat.com>
5601
5602 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5603 Use pthread_kill to signal thread 2.
5604 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5605 Adjust to make the test send itself a signal rather than using the
5606 host's "kill" command.
5607
99619bea
PA
56082014-03-20 Pedro Alves <palves@redhat.com>
5609
5610 * gdb.threads/multiple-step-overs.c: New file.
5611 * gdb.threads/multiple-step-overs.exp: New file.
5612 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5613 Adjust expected infrun debug output.
5614
2adfaa28
PA
56152014-03-20 Pedro Alves <palves@redhat.com>
5616
5617 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5618 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5619
31e77af2
PA
56202014-03-20 Pedro Alves <palves@redhat.com>
5621
5622 PR breakpoints/7143
5623 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5624 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5625 of gdb_test_multiple.
5626 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5627 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5628
b9f437de
PA
56292014-03-20 Pedro Alves <palves@redhat.com>
5630
5631 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5632 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5633
05adc73e
PA
56342014-03-19 Pedro Alves <palves@redhat.com>
5635
5636 * gdb.base/async.exp: Remove early return.
5637
6048b950
PA
56382014-03-19 Pedro Alves <palves@redhat.com>
5639
5640 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5641
8bcfb00a
PA
56422014-03-19 Pedro Alves <palves@redhat.com>
5643
5644 * gdb.base/async.exp (test_background): Expect \r\n after
5645 "completed." in the fail pattern.
5646
884e37dc
PA
56472014-03-19 Pedro Alves <palves@redhat.com>
5648
5649 * gdb.base/async.exp (test_background): New procedure.
5650 Use it for all background execution command tests.
5651
148e57e2
PA
56522014-03-19 Pedro Alves <palves@redhat.com>
5653
5654 * gdb.base/async.exp: Use prepare_for_testing.
5655
f48088c7
PA
56562014-03-19 Pedro Alves <palves@redhat.com>
5657
5658 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5659 the same line.
5660
e2f6c966
PA
56612014-03-19 Pedro Alves <palves@redhat.com>
5662
5663 * gdb.base/async.c (main): Add "jump here" and "until here" line
5664 marker comments.
5665 * gdb.base/async.exp (jump_here): New global.
5666 (jump& test): Use it.
5667 (until_here): New global.
5668 (until& test): Use it.
5669
c30568d4
PA
56702014-03-19 Pedro Alves <palves@redhat.com>
5671
5672 * gdb.base/async.exp: Don't frob gdb_protocol.
5673
0172b6a7
DE
56742014-03-18 Doug Evans <xdje42@gmail.com>
5675
5676 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5677 Fix spelling of exec-done-display.
5678
06c868a8
JK
56792014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5680
5681 PR gdb/15358
5682 * gdb.base/gdb-sigterm.c: New file.
5683 * gdb.base/gdb-sigterm.exp: New file.
5684
0c7e1a46
PA
56852014-03-18 Pedro Alves <palves@redhat.com>
5686
5687 PR gdb/13860
5688 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5689 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5690 solib-event.
5691
f7c77d93
JB
56922014-03-17 Joel Brobecker <brobecker@adacore.com>
5693
5694 * gdb.ada/pckd_arr_ren: New testcase.
5695
5a1e8c7a
DE
56962014-03-13 Doug Evans <xdje42@gmail.com>
5697
5698 PR guile/16612
5699 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5700 collect after discarding symbols.
5701
350e1a76
DE
57022014-03-13 Ludovic Courtès <ludo@gnu.org>
5703 Doug Evans <xdje42@gmail.com>
5704
5705 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5706 to history survives a gc.
5707
a69900ae
PA
57082014-03-13 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.base/default.exp: Don't test "target procfs".
5711
5db9f0bd
PA
57122014-03-13 Pedro Alves <palves@redhat.com>
5713
5714 * gdb.base/default.exp: Update "target child" and "target procfs"
5715 tests to not expect "Unix".
5716
b3ccfe11
TT
57172014-03-12 Tom Tromey <tromey@redhat.com>
5718
5719 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5720 New procs. Add target-async tests.
5721 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5722 Add target-async tests.
5723
646f4417
AA
57242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5725
5726 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5727 'func_start' and 'func_end' for the beginning and end of the
5728 function code, respectively.
5729 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5730 'func_end' instead of 'func' and 'main'.
5731
288c211f
AA
57322014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5733
5734 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5735 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5736 generate the debug info assembler source.
5737
e0c0f156
AA
57382014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5739
5740 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5741 * gdb.dwarf2/arr-subrange.exp: Likewise.
5742 * gdb.dwarf2/dwz.exp: Likewise.
5743 * gdb.dwarf2/method-ptr.exp: Likewise.
5744 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5745 * gdb.dwarf2/subrange.exp: Likewise.
5746 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5747 * gdb.dwarf2/implptrpiece.exp: Likewise.
5748 * gdb.dwarf2/nostaticblock.exp: Likewise.
5749
0e5c4555
AA
57502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5751
5752 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5753 directory to absolute path name arguments.
5754
5ec18f2b
JG
57552014-03-10 Joel Brobecker <brobecker@adacore.com>
5756
5757 * gdb.ada/tagged_access: New testcase.
5758
847fc4f2
MM
57592014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5760
5761 * gdb.btrace/data.exp: Update expected output.
5762
cc3da688
YQ
57632014-03-06 Yao Qi <yao@codesourcery.com>
5764
5765 * gdb.trace/pr16508.exp: New file.
5766
0f26cec1
PA
57672014-03-05 Pedro Alves <palves@redhat.com>
5768
5769 PR gdb/16575
5770 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5771 procedure.
5772 (top level): Adjust to use it. Add tests that exercise breakpoint
5773 interaction with the code-cache.
5774
7a5a839f
LC
57752014-02-26 Ludovic Courtès <ludo@gnu.org>
5776
5777 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5778 test for 'history-append!'.
5779
31aa7e4e
JB
57802014-02-26 Joel Brobecker <brobecker@adacore.com>
5781
5782 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5783 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5784 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5785 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5786 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5787 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5788
1b588015
JB
57892014-02-26 Joel Brobecker <brobecker@adacore.com>
5790
5791 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5792 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5793 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5794
55426c9d
JB
57952014-02-26 Joel Brobecker <brobecker@adacore.com>
5796
5797 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5798
dc53a7ad
JB
57992014-02-26 Joel Brobecker <brobecker@adacore.com>
5800
5801 * gdb.dwarf2/arr-stride.c: New file.
5802 * gdb.dwarf2/arr-stride.exp: New file.
5803
12ab52e9
PA
58042014-02-26 Pedro Alves <palves@redhat.com>
5805
5806 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5807 that won't ever trigger. Make sure that GDB reports the correct
5808 breakpoint that caused the stop.
5809
849c862e
JK
58102014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5811
5812 PR gdb/16626
5813 * gdb.base/auto-load-script: New file.
5814 * gdb.base/auto-load.c: New file.
5815 * gdb.base/auto-load.exp: New file.
5816
71b7d793
JK
5817 PR gdb/16626
5818 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5819
e2f0d509
JK
58202014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5821
5822 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5823 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5824
50cc37c8
DE
58252014-02-24 Doug Evans <dje@google.com>
5826
5827 * lib/gdb.exp (run_on_host): Log error output if program fails.
5828
ea4758f2
PA
58292014-02-21 Pedro Alves <palves@redhat.com>
5830
5831 * gdb.threads/step-after-sr-lock.c: Rename to ...
5832 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5833 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5834 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5835 ... this.
5836
d7b30f67
SDJ
58372014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5838
5839 PR tdep/16397
5840 * gdb.arch/amd64-stap-special-operands.exp: New file.
5841 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5842 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5843 * gdb.arch/amd64-stap-triplet.S: Likewise.
5844 * gdb.arch/amd64-stap-triplet.c: Likewise.
5845
83deb43f
JB
58462014-02-20 Joel Brobecker <brobecker@adacore.com>
5847
5848 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5849 in .section pseudo-op.
5850
adde2bff
DE
58512014-02-20 lin zuojian <manjian2006@gmail.com>
5852 Joel Brobecker <brobecker@adacore.com>
5853 Doug Evans <xdje42@gmail.com>
5854
5855 PR symtab/16581
5856 * gdb.dwarf2/dw2-icycle.S: New file.
5857 * gdb.dwarf2/dw2-icycle.c: New file.
5858 * gdb.dwarf2/dw2-icycle.exp: New file.
5859
f7bd0f78
SC
58602014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5861
5862 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5863 operations on gdb.Value objects.
5864 * gdb.python/py-value-cc.exp: Add new test to test operations on
5865 gdb.Value objects.
5866
c17ef0d5
DE
58672014-02-18 Doug Evans <dje@google.com>
5868
5869 * Makefile.in (TESTS): New variable.
5870 (expanded_tests, expanded_tests_or_none): New variables
5871 (check-single): Pass $(expanded_tests_or_none) to runtest.
5872 (check-parallel): Only run tests in $(TESTS) if non-empty.
5873 (check/no-matching-tests-found): New rule.
5874 * README: Document TESTS makefile variable.
5875
5dd3176f
DE
58762014-02-18 Doug Evans <dje@google.com>
5877
5878 * Makefile.in (check-parallel): rm -rf outputs temp.
5879
0b10be4f
JK
58802014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5881
5882 Fix "ERROR: no fileid for" in the testsuite.
5883 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5884
85f224e7
DE
58852014-02-12 Doug Evans <dje@google.com>
5886
5887 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5888 (MISCELLANEOUS): New variable.
5889 (clean): rm -rf $(MISCELLANEOUS).
5890 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5891 dwp live in the same directory as symlinks, with each symlink pointed
5892 to a differently named file in a different directory.
5893
149b30ff
DE
58942014-02-11 Doug Evans <dje@google.com>
5895
5896 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5897 of Tcl file commands.
5898
1dfdac32
MK
58992014-02-10 Mark Kettenis <kettenis@gnu.org>
5900
5901 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5902 "kill -SIGUSR1 -1".
5903
aa4fb036
JB
59042014-02-10 Joel Brobecker <brobecker@adacore.com>
5905
5906 * gdb.ada/tick_length_array_enum_idx: New testcase.
5907
ed3ef339
DE
59082014-02-10 Doug Evans <xdje42@gmail.com>
5909
5910 * configure.ac (AC_OUTPUT): Add gdb.guile.
5911 * configure: Regenerate.
5912 * lib/gdb-guile.exp: New file.
5913 * lib/gdb.exp (get_target_charset): New function.
5914 * gdb.base/help.exp: Update expected output from "apropos apropos".
5915 * gdb.guile/Makefile.in: New file.
5916 * gdb.guile/guile.exp: New file.
5917 * gdb.guile/scm-arch.c: New file.
5918 * gdb.guile/scm-arch.exp: New file.
5919 * gdb.guile/scm-block.c: New file.
5920 * gdb.guile/scm-block.exp: New file.
5921 * gdb.guile/scm-breakpoint.c: New file.
5922 * gdb.guile/scm-breakpoint.exp: New file.
5923 * gdb.guile/scm-disasm.c: New file.
5924 * gdb.guile/scm-disasm.exp: New file.
5925 * gdb.guile/scm-equal.c: New file.
5926 * gdb.guile/scm-equal.exp: New file.
5927 * gdb.guile/scm-error.exp: New file.
5928 * gdb.guile/scm-error.scm: New file.
5929 * gdb.guile/scm-frame-args.c: New file.
5930 * gdb.guile/scm-frame-args.exp: New file.
5931 * gdb.guile/scm-frame-args.scm: New file.
5932 * gdb.guile/scm-frame-inline.c: New file.
5933 * gdb.guile/scm-frame-inline.exp: New file.
5934 * gdb.guile/scm-frame.c: New file.
5935 * gdb.guile/scm-frame.exp: New file.
5936 * gdb.guile/scm-generics.exp: New file.
5937 * gdb.guile/scm-gsmob.exp: New file.
5938 * gdb.guile/scm-iterator.c: New file.
5939 * gdb.guile/scm-iterator.exp: New file.
5940 * gdb.guile/scm-math.c: New file.
5941 * gdb.guile/scm-math.exp: New file.
5942 * gdb.guile/scm-objfile-script-gdb.in: New file.
5943 * gdb.guile/scm-objfile-script.c: New file.
5944 * gdb.guile/scm-objfile-script.exp: New file.
5945 * gdb.guile/scm-objfile.c: New file.
5946 * gdb.guile/scm-objfile.exp: New file.
5947 * gdb.guile/scm-ports.exp: New file.
5948 * gdb.guile/scm-pretty-print.c: New file.
5949 * gdb.guile/scm-pretty-print.exp: New file.
5950 * gdb.guile/scm-pretty-print.scm: New file.
5951 * gdb.guile/scm-section-script.c: New file.
5952 * gdb.guile/scm-section-script.exp: New file.
5953 * gdb.guile/scm-section-script.scm: New file.
5954 * gdb.guile/scm-symbol.c: New file.
5955 * gdb.guile/scm-symbol.exp: New file.
5956 * gdb.guile/scm-symtab-2.c: New file.
5957 * gdb.guile/scm-symtab.c: New file.
5958 * gdb.guile/scm-symtab.exp: New file.
5959 * gdb.guile/scm-type.c: New file.
5960 * gdb.guile/scm-type.exp: New file.
5961 * gdb.guile/scm-value-cc.cc: New file.
5962 * gdb.guile/scm-value-cc.exp: New file.
5963 * gdb.guile/scm-value.c: New file.
5964 * gdb.guile/scm-value.exp: New file.
5965 * gdb.guile/source2.scm: New file.
5966 * gdb.guile/types-module.cc: New file.
5967 * gdb.guile/types-module.exp: New file.
5968
7026a7c1
YQ
59692014-02-10 Yao Qi <yao@codesourcery.com>
5970
5971 PR testsuite/16543
5972 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5973 * configure: Regenerated.
5974 * Makefile.in: New file.
5975
6c466447
AS
59762014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5977
5978 * gdb.python/py-framefilter.exp: Fix typo.
5979
6e854735
YQ
59802014-02-08 Yao Qi <yao@codesourcery.com>
5981
5982 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5983 that no =breakpoint-modified is emitted when breakpoints are
5984 modified through MI commands.
5985
d137e6dc
PA
59862014-02-07 Pedro Alves <pedro@codesourcery.com>
5987 Pedro Alves <palves@redhat.com>
5988
5989 * gdb.threads/step-after-sr-lock.c: New file.
5990 * gdb.threads/step-after-sr-lock.exp: New file.
5991
b5ee5a50
PA
59922014-02-07 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5995
3c77faf3
JK
59962014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5997
5998 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5999 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6000
6dddc817
DE
60012014-02-06 Doug Evans <xdje42@gmail.com>
6002
6003 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6004 output.
6005
6006 * gdb.gdb/python-interrupts.exp: New file.
6007
de7b2893
YQ
60082014-02-05 Yao Qi <yao@codesourcery.com>
6009
6010 * gdb.trace/report.exp (use_collected_data): Test the output
6011 of "info threads" and "info inferiors".
6012
66d032ac
YQ
60132014-02-05 Yao Qi <yao@codesourcery.com>
6014
6015 Revert this patch:
6016
6017 2013-05-24 Yao Qi <yao@codesourcery.com>
6018
6019 * gdb.trace/tfile.exp: Test inferior and thread.
6020
591a12a1
UW
60212014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6022
6023 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6024 on a function.
6025 * gdb.base/step-bt.c: Call hello via function pointer to make
6026 sure its first instruction is executed on powerpc64le-linux.
6027
0ff3e01f
UW
60282014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6029
6030 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6031
084ee545
UW
60322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6033
6034 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6035 of the test patterns for use on little-endian systems.
6036
6ed14ff3
UW
60372014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6038
6039 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6040 (decimal_vector): Fix for little-endian.
6041
401e27fd
JM
60422014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6043
6044 * gdb.arch/sparc-sysstep.exp: New file.
6045 * gdb.arch/sparc-sysstep.c: Likewise.
6046
6047 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6048
8b924729
EBM
60492014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6050
6051 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6052
fb151210
JB
60532014-01-23 Tom Tromey <tromey@redhat.com>
6054
6055 * gdb.ada/array_char_idx: New testcase.
6056
0740f8d8
TT
60572014-01-23 Tom Tromey <tromey@redhat.com>
6058
6059 PR python/16487:
6060 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6061 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6062 classes.
6063
21909fa1
TT
60642014-01-23 Tom Tromey <tromey@redhat.com>
6065
6066 PR python/16491:
6067 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6068 string from an inferior frame.
6069 * gdb.python/py-framefilter-mi.exp: Update.
6070
87ce2a04
DE
60712014-01-22 Doug Evans <dje@google.com>
6072
6073 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6074
237b092b
AA
60752014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6076
6077 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6078
d674a709
AA
60792014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6080
6081 * gdb.trace/entry-values.exp: Remove excess space character from
6082 regex patterns. Handle s390 call instruction.
6083
20fa3390
AA
60842014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6085
6086 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6087 define "*_start" label. Make "name" static.
6088 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6089 ${name} by references to ${name}_start.
6090
78466714
AA
60912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6092
6093 * gdb.base/info-macros.exp: Remove "debug" from the compile
6094 options.
6095
ec9f644a
IB
60962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6097
6098 * gdb.dlang/demangle.exp: New file.
6099
94b1b47e
IB
61002014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6101
6102 * gdb.dlang/primitive-types.exp: New file.
6103
7f420862
IB
61042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6105
6106 * configure.ac: Create gdb.dlang/Makefile.
6107 * configure: Regenerate.
6108 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6109 * gdb.dlang/Makefile.in: New file.
6110 * lib/d-support.exp: New file.
6111 * lib/gdb.exp (skip_d_tests): New proc.
6112
52834460
MM
61132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6114
6115 * gdb.btrace/delta.exp: Check reverse stepi.
6116 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
6117 * gdb.btrace/finish.exp: New.
6118 * gdb.btrace/next.exp: New.
6119 * gdb.btrace/nexti.exp: New.
6120 * gdb.btrace/record_goto.c: Add comments.
6121 * gdb.btrace/step.exp: New.
6122 * gdb.btrace/stepi.exp: New.
6123 * gdb.btrace/multi-thread-step.c: New.
6124 * gdb.btrace/multi-thread-step.exp: New.
6125 * gdb.btrace/rn-dl-bind.c: New.
6126 * gdb.btrace/rn-dl-bind.exp: New.
6127 * gdb.btrace/data.c: New.
6128 * gdb.btrace/data.exp: New.
6129 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6130
6e07b1d2
MM
61312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6132
6133 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
6134 * gdb.btrace/exception.exp: Update.
6135 * gdb.btrace/instruction_history.exp: Update.
6136 * gdb.btrace/record_goto.exp: Update.
6137 * gdb.btrace/tailcall.exp: Update.
6138 * gdb.btrace/unknown_functions.exp: Update.
6139 * gdb.btrace/delta.exp: New.
6140
0b722aec
MM
61412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6142
6143 * gdb.btrace/record_goto.exp: Add backtrace test.
6144 * gdb.btrace/tailcall.exp: Add backtrace test.
6145
066ce621
MM
61462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6147
6148 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
6149 * gdb.btrace/record_goto.c: New.
6150 * gdb.btrace/record_goto.exp: New.
6151 * gdb.btrace/x86-record_goto.S: New.
6152
0688d04e
MM
61532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6154
6155 * gdb.btrace/function_call_history.exp: Update tests.
6156 * gdb.btrace/instruction_history.exp: Update tests.
6157
8710b709
MM
61582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6159
6160 * gdb.btrace/function_call_history.exp: Fix expected field
6161 order for "record function-call-history".
6162 Add new tests for "record function-call-history /c".
6163 * gdb.btrace/exception.cc: New.
6164 * gdb.btrace/exception.exp: New.
6165 * gdb.btrace/tailcall.exp: New.
6166 * gdb.btrace/x86-tailcall.S: New.
6167 * gdb.btrace/x86-tailcall.c: New.
6168 * gdb.btrace/unknown_functions.c: New.
6169 * gdb.btrace/unknown_functions.exp: New.
6170 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
6171
5de9129b
MM
61722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6173
6174 * gdb.btrace/instruction_history.exp: Update.
6175 * gdb.btrace/function_call_history.exp: Update.
6176
23a7fe75
MM
61772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6178
6179 * gdb.btrace/function_call_history.exp: Fix expected function
6180 trace.
6181 * gdb.btrace/instruction_history.exp: Initialize traced.
6182 Remove traced_functions.
6183
724c7dd8
MM
61842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6185
6186 * gdb.btrace/function_call_history.exp: Update
6187 * gdb.btrace/instruction_history.exp: Update.
6188
6d78d93b
MM
61892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6190
6191 * gdb.btrace/enable.exp: Update expected text.
6192
93a360cc
OJ
61932014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
6194
6195 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
6196 bytes.
6197
3772b53f
MR
61982014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
6199
6200 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
6201
596662fa
OJ
62022014-01-15 Omair Javaid <omair.javaid@linaro.org>
6203
6204 * lib/gdb.exp (supports_process_record): Return true for
6205 arm*-linux*. (supports_reverse): Likewise.
6206
b5b08fb4
SC
62072014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6208
6209 PR python/15464
6210 PR python/16113
6211 * gdb.python/py-type.c: Enhance test case.
6212 * gdb.python/py-value-cc.cc: Likewise
6213 * gdb.python/py-type.exp: Add new tests.
6214 * gdb.python/py-value-cc.exp: Likewise
6215
52d7fb13
AA
62162014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6217 Pedro Alves <palves@redhat.com>
6218
6219 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
6220 Make "name" extern.
6221 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
6222 references to ${name}_start by references to ${name}.
6223
a2cd8cfe
JB
62242014-01-10 Joel Brobecker <brobecker@adacore.com>
6225
6226 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
6227
4e23fced
JB
62282014-01-10 Joel Brobecker <brobecker@adacore.com>
6229
6230 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
6231
c6a9e42c
PA
62322014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6233 Pedro Alves <palves@redhat.com>
6234
6235 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 6236 mi_gdb_target_load.
c6a9e42c 6237
b7ea362b
PA
62382014-01-08 Pedro Alves <palves@redhat.com>
6239
6240 * gdb.threads/reconnect-signal.c: New file.
6241 * gdb.threads/reconnect-signal.exp: New file.
6242
5e3f4fab
EBM
62432014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6244
6245 * gdb.base/source-dir.exp: New file.
6246
79301218
JB
62472014-01-07 Joel Brobecker <brobecker@adacore.com>
6248
6249 * gdb.ada/mi_interface: New testcase.
6250
8e355c5d
JB
62512014-01-07 Joel Brobecker <brobecker@adacore.com>
6252
6253 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
6254 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
6255 gdb.ada/pp-rec-component/pck.ads: New files.
6256
c0d48811
JB
62572014-01-07 Joel Brobecker <brobecker@adacore.com>
6258
6259 * gdb.python/py-pp-integral.c: New file.
6260 * gdb.python/py-pp-integral.py: New file.
6261 * gdb.python/py-pp-integral.exp: New file.
6262
17b609c3 6263For older changes see ChangeLog-1993-2013.
c906108c 6264\f
8d8cb839
EZ
6265;; Local Variables:
6266;; mode: change-log
6267;; left-margin: 8
6268;; fill-column: 74
6269;; version-control: never
6270;; End:
902f2ccb 6271
32d0add0 6272 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
6273 Copying and distribution of this file, with or without modification,
6274 are permitted provided the copyright notice and this notice are preserved.
This page took 2.33785 seconds and 4 git commands to generate.