]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[MIPS] When calculating a relocation using an undefined weak symbol don't check for...
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
55cfb2c4
SM
12014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2
3 * gdb.python/python.exp: Change expected reply to help().
4
9e8cd6df
YQ
52014-12-01 Yao Qi <yao@codesourcery.com>
6
7 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8 AC_CONFIG_SUBDIRS(gdb.gdbtk).
9 * configure: Re-generated.
10
6c659fc2
SC
112014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12
13 * gdb.cp/chained-calls.cc: New file.
14 * gdb.cp/chained-calls.exp: New file.
15 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16
d7fc3181
SM
172014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18
19 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20 * gdb.dwarf2/symtab-producer.exp: Same.
21 * gdb.gdb/python-interrupts.exp: Same.
22 * gdb.gdb/python-selftest.exp: Same.
23 * gdb.python/py-linetable.exp: Same.
24 * gdb.python/py-type.exp: Same.
25 * gdb.python/py-value-cc.exp: Same.
26 * gdb.python/py-value.exp: Same.
27
10e79639
YQ
282014-11-28 Yao Qi <yao@codesourcery.com>
29
30 * gdb.base/break-probes.exp: Match library name prefixed with
31 sysroot.
32
f28a0564
SM
332014-11-27 Simon Marchi <simon.marchi@ericsson.com>
34
35 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
36 test expected output. Add parentheses for the call to print.
37 Remove L suffix from integers.
38
3fe1ce1d
DE
392014-11-26 Doug Evans <dje@google.com>
40
41 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
42
84429e27
YQ
432014-11-22 Yao Qi <yao@codesourcery.com>
44
45 * gdb.trace/entry-values.c: Remove asms.
46 (foo): Add foo_label.
47 (bar): Add bar_label.
48 * gdb.trace/entry-values.exp: Remove code computing foo's
49 length and bar's length.
50 (Dwarf::assemble): Invoke function_range for bar and use
51 MACRO_AT_func for foo.
52
26741859
YQ
532014-11-22 Yao Qi <yao@codesourcery.com>
54
55 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
56 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
57 Use .Lgcc43_procstart instead of gcc43.
58
45e44d27
JB
592014-11-21 Joel Brobecker <brobecker@adacore.com>
60
61 * gdb.ada/n_arr_bound: New testcase.
62
458c8db8
SDJ
632014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
64
65 PR breakpoints/10737
66 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
67 test_catch_syscall_multi_arch.
68 (test_catch_syscall_multi_arch): New function.
69
43f3e411
DE
702014-11-20 Doug Evans <xdje42@gmail.com>
71
72 * gdb.base/maint.exp: Update expected output.
73
0d7b2549
AA
742014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
75
76 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
77 4-byte instruction on S390.
78
8908fca5
JB
792014-11-19 Joel Brobecker <brobecker@adacore.com>
80
81 * gdb.ada/arr_arr: New testcase.
82
4a46959e
JB
832014-11-19 Joel Brobecker <brobecker@adacore.com>
84
85 * gdb.ada/pkd_arr_elem: New Testcase.
86
470e2f4e
LM
872014-11-18 Luis Machado <lgustavo@codesourcery.com>
88
89 * gdb.reverse/break-precsave: Expect completion message for
90 core file reads.
91 * gdb.reverse/consecutive-precsave.exp: Likewise.
92 * gdb.reverse/finish-precsave.exp: Likewise.
93 * gdb.reverse/i386-precsave.exp: Likewise.
94 * gdb.reverse/machinestate-precsave.exp: Likewise.
95 * gdb.reverse/sigall-precsave.exp: Likewise.
96 * gdb.reverse/solib-precsave.exp: Likewise.
97 * gdb.reverse/step-precsave.exp: Likewise.
98 * gdb.reverse/until-precsave.exp: Likewise.
99 * gdb.reverse/watch-precsave.exp: Likewise.
100
a267f3ad
AA
1012014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
102
103 * gdb.base/bp-permanent.c: Include unistd.h.
104 * gdb.python/py-framefilter-mi.c (main): Add return type.
105 * gdb.python/py-framefilter.c (main): Likewise.
106 * gdb.trace/actions-changed.c (main): Likewise.
107
12084a9a
AA
1082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
109
110 * gdb.mi/until.c: Add eye-catchers.
111 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
112 line numbers.
113
dc7e1a77
AA
1142014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
115
116 * gdb.base/condbreak.exp: Drop references to removed non-prototype
117 function header variants in break1.c.
118 * gdb.base/ena-dis-br.exp: Likewise.
119 * gdb.base/hbreak2.exp: Likewise.
120 * gdb.reverse/until-precsave.exp: Drop references to removed
121 non-prototype function header variants in ur1.c.
122 * gdb.reverse/until-reverse.exp: Likewise.
123
41c77605
PM
1242014-11-17 Petr Machata <pmachata@redhat.com>
125
126 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
127 ${_cu_offset_size} bytes abbrev offset.
128
34248c3a
DE
1292014-11-15 Doug Evans <xdje42@gmail.com>
130
131 PR symtab/17559
132 * gdb.base/line-symtabs.exp: New file.
133 * gdb.base/line-symtabs.c: New file.
134 * gdb.base/line-symtabs.h: New file.
135
646da059
YQ
1362014-11-14 Yao Qi <yao@codesourcery.com>
137
138 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
139 (func): Add label func_label.
140 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
141 Replace low_pc and high_pc with MACRO_AT_range.
142 Replace name, low_pc and high_pc with MACRO_AT_func.
143
9301ebe6
YQ
1442014-11-14 Yao Qi <yao@codesourcery.com>
145
146 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
147 Replace name, low_pc and high_pc with MACRO_AT_func.
148
f166b542
YQ
1492014-11-14 Yao Qi <yao@codesourcery.com>
150
151 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
152 produce debug information.
153 * gdb.dwarf2/implptr-optimized-out.S: Removed.
154
0f6e71e3
YQ
1552014-11-14 Yao Qi <yao@codesourcery.com>
156
157 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
158 object and get function length.
159 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
160 with MACRO_AT_func.
161 (top-level): Replace gdb_compile and clean_restart with
162 prepare_for_testing.
163 * gdb.dwarf2/main.c (main): Add label main_label.
164
876c4df9
YQ
1652014-11-14 Yao Qi <yao@codesourcery.com>
166
167 * lib/dwarf.exp (function_range): New procedure.
168 (Dwarf::_handle_macro_at_func): New procedure.
169 (Dwarf::_handle_macro_at_range): New procedure.
170 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
171
02ad9cf1
YQ
1722014-11-14 Yao Qi <yao@codesourcery.com>
173
174 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
175 (_handle_attribute): New procedure.
176
a59add0c
AA
1772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
178
179 * gdb.ada/cond_lang/foo.c (callme): Add return type.
180 * gdb.base/call-sc.c (zed): Likewise.
181 * gdb.base/checkpoint.c (main): Likewise.
182 * gdb.base/dump.c (main): Likewise.
183 * gdb.base/gcore.c (main): Likewise.
184 * gdb.base/huge.c (main): Likewise.
185 * gdb.base/multi-forks.c (main): Likewise.
186 * gdb.base/pr10179-a.c (main): Likewise.
187 * gdb.base/savedregs.c (main): Likewise.
188 * gdb.base/sigaltstack.c (main): Likewise.
189 * gdb.base/siginfo.c (main): Likewise.
190 * gdb.base/structs.c (zed): Likewise.
191 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
192 * gdb.mi/mi-syn-frame.c (main): Likewise.
193 * gdb.mi/until.c (foo, main): Likewise.
194 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
195 * gdb.base/solib-weak.c (foo): Declare.
196 * gdb.base/attach-twice.c: Include stdio.h.
197 * gdb.base/weaklib1.c: Likewise.
198 * gdb.base/weaklib2.c: Likewise.
199 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
200 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
201 unistd.h.
202 * gdb.base/attach-pie-misread.c: Include stdlib.h.
203 * gdb.mi/mi-exit-code.c: Likewise.
204 * gdb.base/break-interp-lib.c: Include string.h.
205 * gdb.base/coremaker.c: Likewise.
206 * gdb.base/testenv.c: Likewise.
207 * gdb.python/py-finish-breakpoint.c: Likewise.
208 * gdb.base/inferior-died.c: Include sys/wait.h.
209 * gdb.base/fileio.c: Include time.h.
210 * gdb.base/async-shell.c: Include unistd.h.
211 * gdb.base/dprintf-non-stop.c: Likewise.
212 * gdb.base/info-os.c: Likewise.
213 * gdb.mi/mi-console.c: Likewise.
214 * gdb.mi/watch-nonstop.c: Likewise.
215 * gdb.python/py-events.c: Likewise.
216 * gdb.base/async.c (baz): Move up before its invocation.
217 * gdb.base/code_elim2.c (my_global_func): Likewise.
218 * gdb.base/skip-solib-lib.c (multiply): Likewise.
219 * gdb.base/advance.c (func2): Likewise.
220
3b5d5997
AA
2212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
222
223 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
224 variant.
225 * gdb.base/annota3.c: Likewise.
226 * gdb.base/async.c: Likewise.
227 * gdb.base/average.c: Likewise.
228 * gdb.base/call-ar-st.c: Likewise.
229 * gdb.base/call-rt-st.c: Likewise.
230 * gdb.base/call-sc.c: Likewise.
231 * gdb.base/call-strs.c: Likewise.
232 * gdb.base/ending-run.c: Likewise.
233 * gdb.base/execd-prog.c: Likewise.
234 * gdb.base/exprs.c: Likewise.
235 * gdb.base/foll-exec.c: Likewise.
236 * gdb.base/foll-fork.c: Likewise.
237 * gdb.base/foll-vfork.c: Likewise.
238 * gdb.base/funcargs.c: Likewise.
239 * gdb.base/gcore.c: Likewise.
240 * gdb.base/jump.c: Likewise.
241 * gdb.base/langs0.c: Likewise.
242 * gdb.base/langs1.c: Likewise.
243 * gdb.base/langs2.c: Likewise.
244 * gdb.base/mips_pro.c: Likewise.
245 * gdb.base/nodebug.c: Likewise.
246 * gdb.base/opaque0.c: Likewise.
247 * gdb.base/opaque1.c: Likewise.
248 * gdb.base/recurse.c: Likewise.
249 * gdb.base/run.c: Likewise.
250 * gdb.base/scope0.c: Likewise.
251 * gdb.base/scope1.c: Likewise.
252 * gdb.base/setshow.c: Likewise.
253 * gdb.base/setvar.c: Likewise.
254 * gdb.base/shmain.c: Likewise.
255 * gdb.base/shr1.c: Likewise.
256 * gdb.base/shr2.c: Likewise.
257 * gdb.base/sigall.c: Likewise.
258 * gdb.base/signals.c: Likewise.
259 * gdb.base/so-indr-cl.c: Likewise.
260 * gdb.base/solib2.c: Likewise.
261 * gdb.base/structs.c: Likewise.
262 * gdb.base/sum.c: Likewise.
263 * gdb.base/vforked-prog.c: Likewise.
264 * gdb.base/watchpoint.c: Likewise.
265 * gdb.reverse/shr2.c: Likewise.
266 * gdb.reverse/until-reverse.c: Likewise.
267 * gdb.reverse/ur1.c: Likewise.
268 * gdb.reverse/watch-reverse.c: Likewise.
269
066a77c5
AA
2702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
271
272 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
273 variant.
274 * gdb.base/sepdebug.exp: Drop references to removed code.
275
4f204ea5
AA
2762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
277
278 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
279 variant. Preserve original line numbering.
280 * gdb.base/list1.c: Likewise.
281
3b377a3a
AA
2822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
283
284 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
285 variant.
286 * gdb.base/break1.c: Likewise.
287 * gdb.base/break.exp: Drop references to removed code.
288
e444df73
AA
2892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
290
291 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
292 variant.
293
8008f2a7
AA
2942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
295
296 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
297
a5a06887
AA
2982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
299
300 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
301 logic into perform_all_tests() and invoke it with and without
302 function header prototypes.
303 (do_function_calls): Remove conditional XFAIL for PR 5318.
304 (rerun_and_prepare): Remove duplicate code.
305 (perform_all_tests): New. Main logic moved here.
306
44dba9b9
AA
3072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
308
309 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
310 code guarded by #ifdef NO_PROTOTYPES.
311 (t_double_many_args): Likewise.
312 (DEF_FUNC_MANY_ARGS_1): Likewise.
313 (DEF_FUNC_VALUES_1): Likewise.
314 (t_structs_ldc): Renamed from t_structs_fc in conditional code
315 guarded by #ifdef PROTOTYPES.
316
d1fbcd56
AA
3172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
318
319 * gdb.mi/mi-console.c: Add eye-catcher.
320 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
321 instead of literal line number.
322
b0e59b8f
AA
3232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
324
325 * gdb.base/shr2.c: Add eye-catcher.
326 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
327 line number.
328
78f98cca
AA
3292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
330
331 * gdb.base/jump.c: Add eye-catchers.
332 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
333 numbers.
334
58fa2af0
AA
3352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
336
337 * gdb.base/execd-prog.c: Add eye-catchers.
338 * gdb.base/foll-exec.c: Likewise.
339 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
340 line numbers.
341
04e5059b
AA
3422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
343
344 * gdb.base/ending-run.c: Add eye-catchers.
345 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
346 literal line numbers.
347
dbfdb174
AA
3482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
349
350 * gdb.base/call-rt-st.c: Add eye-catchers.
351 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
352 literal line numbers.
353
888a2ade
AA
3542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
355
356 * gdb.base/call-ar-st.c: Add eye-catchers.
357 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
358 literal line numbers.
359
6acc2dde
AA
3602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
361
362 * gdb.base/average.c: Add eye-catchers.
363 * gdb.base/sum.c: Likewise.
364 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
365 regexps dynamically.
366
9ecfcd1d
AA
3672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
368
369 * gdb.base/solib1.c: Add eye-catchers.
370 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
371 literal line numbers.
372
78708b7c
PA
3732014-11-12 Pedro Alves <palves@redhat.com>
374
375 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
376 leader has exited.
377
af48d08f
PA
3782014-11-12 Pedro Alves <palves@redhat.com>
379
380 * gdb.arch/i386-bp_permanent.c: New file.
381 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
382 (srcfile): Set to i386-bp_permanent.c.
383 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
384 that stepi does not execute the 'leave' instruction, instead of
385 testing it does execute.
386 * gdb.base/bp-permanent.c: New file.
387 * gdb.base/bp-permanent.exp: New file.
388
af3768e9
DE
3892014-11-10 Doug Evans <xdje42@gmail.com>
390
391 PR symtab/17564
392 * gdb.base/symtab-search-order.exp: New file.
393 * gdb.base/symtab-search-order.c: New file.
394 * gdb.base/symtab-search-order-1.c: New file.
395 * gdb.base/symtab-search-order-shlib-1.c: New file.
396
9de00a4a
PA
3972014-11-07 Pedro Alves <palves@redhat.com>
398
399 PR gdb/17511
400 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
401 i?86-*-linux*.
402
e0f52461
SC
4032014-11-03 Siva Chandra Reddy <sivachandra@google.com>
404
405 PR c++/17494
406 * gdb.cp/pr17494.cc: New file.
407 * gdb.cp/pr17494.exp: New file.
408
6ce8c980
YQ
4092014-11-02 Yao Qi <yao@codesourcery.com>
410
411 * gdb.python/python.exp: Get working directory and match the
412 output of "set extended-prompt \\w " with it.
413
02be9a71
DE
4142014-10-30 Doug Evans <dje@google.com>
415
416 * gdb.python/py-objfile.exp: Add tests for setting random attributes
417 in objfiles.
418 * gdb.python/py-progspace.exp: Add tests for setting random attributes
419 in progspaces.
420
3bdff46b
LM
4212014-10-30 Janis Johnson <janisjo@codesourcery.com>
422
423 * gdb.base/fullpath-expand.exp: Skip for a remote host.
424 * gdb.base/realname-expand.exp: Likewise.
425 * gdb.linespec/macro-relative.exp: Likewise.
426
ab917dfb
PA
4272014-10-29 Pedro Alves <palves@redhat.com>
428
429 PR gdb/17408
430 * gdb.threads/schedlock.c (some_function): New function.
431 (call_function): New global.
432 (MAYBE_CALL_SOME_FUNCTION): New macro.
433 (thread_function): Call it.
434 * gdb.threads/schedlock.exp (get_args): Add description parameter,
435 and use it instead of a global counter. Adjust all callers.
436 (get_current_thread): Use "find current thread" for test message
437 here rather than having all callers pass down the same string.
438 (goto_loop): New procedure, factored out from ...
439 (my_continue): ... this.
440 (step_ten_loops): Change parameter from test message to command to
441 use. Adjust.
442 (list_count): Delete global.
443 (check_result): New procedure, factored out from duplicate top
444 level code.
445 (continue tests): Wrap in with_test_prefix.
446 (test_step): New procedure, factored out from duplicate top level
447 code.
448 (top level): Test "step" in combination with all scheduler-locking
449 modes. Test "next" in combination with all scheduler-locking
450 modes, and in combination with stepping over a function call or
451 not.
452 * gdb.threads/next-bp-other-thread.c: New file.
453 * gdb.threads/next-bp-other-thread.exp: New file.
454
d3d4baed
PA
4552014-10-29 Pedro Alves <palves@redhat.com>
456
457 PR python/17372
458 * gdb.python/python.exp: Test a multi-line command that spawns
459 interactive Python.
460 * gdb.base/multi-line-starts-subshell.exp: New file.
461
563e8d85
YQ
4622014-10-29 Yao Qi <yao@codesourcery.com>
463
464 * gdb.base/fileio.exp: Make directories on host.
465
0ea4d52e
YQ
4662014-10-29 Yao Qi <yao@codesourcery.com>
467
468 * gdb.base/fileio.c (test_write): Close the file.
469
7f5ef605
PA
4702014-10-28 Pedro Alves <palves@redhat.com>
471
472 PR gdb/12623
473 * gdb.base/sigstep.c (no_handler): New global.
474 (main): If 'no_handler is true, set the signal handlers to
475 SIG_IGN.
476 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
477 with_sw_watch and no_handler parameters. Handle them.
478 (top level) <stepping over handler when stopped at a breakpoint
479 test>: Add a test axis for testing with a software watchpoint, and
480 another for testing with the signal handler set to SIG_IGN.
481 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
482 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
483
abbdbd03
PA
4842014-10-28 Pedro Alves <palves@redhat.com>
485
486 PR gdb/17511
487 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
488 * gdb.base/sigstep.exp (other_handler_location): New global.
489 (advance): Support stepping into the signal handler, and running
490 commands while in the handler.
491 (in_handler_map): New global.
492 (top level): In the advance test, add combinations for getting
493 into the handler with stepping commands, and for running commands
494 in the handler. Add comment descripting the advancei tests.
495
1df4399f
PA
4962014-10-28 Pedro Alves <palves@redhat.com>
497
498 * gdb.base/sigstep.exp: Use build_executable instead of
499 prepare_for_testing.
500 (top level): Move code that starts GDB, runs to main and creates a
501 display to ...
502 (restart): ... this new procedure.
503 (top level): Move backtrace from signal handler test to ...
504 (validate_backtrace): ... this new procedure.
505 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
506 with_test_prefix. Always restart GDB.
507 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
508 with_test_prefix. Always restart GDB. No need to delete
509 breakpoints after the test.
510 (test_skip_handler): Remove prefix parameter.
511 (skip_over_handler, breakpoint_to_handler)
512 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
513 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
514 restart GDB. No need to delete breakpoints after the test.
515 (top level): Use foreach to call the test procedures with
516 different commands.
517
a5b6e449
PA
5182014-10-28 Pedro Alves <palves@redhat.com>
519
520 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
521 instead of GNATS numbers.
522 * gdb.base/sigbpt.exp: Likewise.
523 * gdb.base/siginfo.exp: Likewise.
524 * gdb.base/sigstep.exp: Likewise.
525
e5f8a7cc
PA
5262014-10-27 Pedro Alves <palves@redhat.com>
527
528 * gdb.base/sigstep.c (dummy): New global.
529 (main): Issue a couple writes to the new global.
530 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
531 procedures.
532 (skip_over_handler): Use test_skip_handler.
533 (top level): Call skip_over_handler for stepi and nexti too.
534 (breakpoint_over_handler): Use test_skip_handler.
535 (top level): Call breakpoint_over_handler for stepi and nexti too.
536
763905a3
YQ
5372014-10-27 Yao Qi <yao@codesourcery.com>
538
539 * gdb.trace/tfile.c (adjust_function_address)
540 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
541 function descriptor.
542
6f259a23
DB
5432014-10-24 Don Breazeal <donb@codesourcery.com>
544
545 * gdb.base/foll-fork.exp (test_follow_fork,
546 catch_fork_child_follow): Check for updated fork messages emitted
547 from infrun.c.
548 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
549 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
550 vfork_and_exec_child_follow_through_step): Check for updated vfork
551 messages emitted from infrun.c.
552
09dd9a69
PA
5532014-10-24 Pedro Alves <palves@redhat.com>
554
555 * gdb.base/corefile.exp: Remove references to ultrix.
556 * gdb.base/interrupt.exp: Likewise.
557 * gdb.base/whatis.exp: Likewise.
558 * gdb.gdb/selftest.exp: Likewise.
559 * gdb.threads/manythreads.exp: Likewise.
560 * gdb.threads/print-threads.exp: Likewise.
561 * gdb.threads/pthreads.exp:: Likewise.
562 * gdb.threads/schedlock.exp: Likewise.
563
3433cfa5
SC
5642014-10-24 Siva Chandra Reddy <sivachandra@google.com>
565
566 * gdb.cp/non-trivial-retval.cc: Add a test case.
567 * gdb.cp/non-trivial-retval.exp: Add a test.
568
092f880b
YQ
5692014-10-20 Yao Qi <yao@codesourcery.com>
570
571 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
572 * gdb.python/py-objfile-script-gdb.py: New file.
573 * gdb.python/py-objfile-script.exp: Update reference to
574 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
575 of remote_download. Remove the dest file.
576
acbdb7f3
YQ
5772014-10-20 Yao Qi <yao@codesourcery.com>
578
579 * gdb.base/checkpoint.exp: Don't remove file copied on host.
580 * gdb.base/step-line.exp: Likewise.
581 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
582 * gdb.dwarf2/dw2-basic.exp: Likewise.
583 * gdb.dwarf2/dw2-compressed.exp: Likewise.
584 * gdb.dwarf2/dw2-filename.exp: Likewise.
585 * gdb.dwarf2/dw2-intercu.exp: Likewise.
586 * gdb.dwarf2/dw2-intermix.exp: Likewise.
587 * gdb.dwarf2/dw2-producer.exp: Likewise.
588 * gdb.dwarf2/mac-fileno.exp: Likewise.
589 * gdb.python/py-frame-args.exp: Likewise.
590 * gdb.python/py-framefilter.exp: Likewise.
591 * gdb.python/py-mi.exp: Likewise.
592 * gdb.python/py-objfile-script.exp: Likewise
593 * gdb.python/py-pp-integral.exp: Likewise.
594 * gdb.python/py-pp-re-notag.exp: Likewise.
595 * gdb.python/py-prettyprint.exp: Likewise.
596 * gdb.python/py-section-script.exp: Likewise.
597 * gdb.python/py-typeprint.exp: Likewise.
598 * gdb.python/py-xmethods.exp: Likewise.
599 * gdb.stabs/weird.exp: Likewise.
600 * gdb.xml/tdesc-regs.exp: Likewise.
601
bd286a29
KCY
6022014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
603
604 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
605 (out_cu): Use addr_len for the size of addresses.
606 (out_line): Likewise. Size DW_LNE_set_address instruction
607 according to addr_len.
608 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
609 (FUNC): Add START_INSNS to definition.
610
673dc4a0
YQ
6112014-10-18 Yao Qi <yao@codesourcery.com>
612
613 * gdb.base/argv0-symlink.exp: Check argv[0] value if
614 gdb_has_argv0 return true.
615 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
616 check [target_info exists noargs], check [gdb_has_argv0]
617 instead.
618 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
619 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
620 procedures.
621
4ffbba72
DE
6222014-10-17 Doug Evans <dje@google.com>
623
624 * gdb.python/py-events.exp: Update expected output for clear_objfiles
625 event.
626 * gdb.python/py-events.py: Add clear_objfiles event.
627
d096d8c1
DE
6282014-10-17 Doug Evans <dje@google.com>
629
630 * gdb.python/py-objfile.exp: Test progspace attribute.
631
a80db015
LM
6322014-10-17 Luis Machado <lgustavo@codesourcery.com>
633
634 * gdb.guile/scm-breakpoint.exp: Do not assume any
635 directory separators when matching source file paths.
636 * gdb.python/py-breakpoint.exp: Likewise.
637 * gdb.reverse/break-precsave.exp: Likewise.
638 * gdb.reverse/break-reverse.exp: Likewise.
639 * gdb.reverse/consecutive-precsave.exp: Likewise.
640 * gdb.reverse/finish-precsave.exp: Likewise.
641 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
642 * gdb.reverse/finish-reverse.exp: Likewise.
643 * gdb.reverse/i386-precsave.exp: Likewise.
644 * gdb.reverse/i387-env-reverse.exp: Likewise.
645 * gdb.reverse/i387-stack-reverse.exp: Likewise.
646 * gdb.reverse/machinestate-precsave.exp: Likewise.
647 * gdb.reverse/machinestate.exp: Likewise.
648 * gdb.reverse/sigall-precsave.exp: Likewise.
649 * gdb.reverse/solib-precsave.exp: Likewise.
650 * gdb.reverse/step-precsave.exp: Likewise.
651 * gdb.reverse/until-precsave.exp: Likewise.
652 * gdb.reverse/watch-precsave.exp: Likewise.
653 * gdb.reverse/watch-reverse.exp: Likewise.
654
b22089ab
YQ
6552014-10-17 Yao Qi <yao@codesourcery.com>
656
657 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
658 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
659
6c4486e6
PA
6602014-10-17 Pedro Alves <palves@redhat.com>
661
662 PR gdb/17471
663 * gdb.base/bg-execution-repeat.c: New file.
664 * gdb.base/bg-execution-repeat.exp: New file.
665
0ff33695
PA
6662014-10-17 Pedro Alves <palves@redhat.com>
667
668 PR gdb/17300
669 * gdb.base/continue-all-already-running.c: New file.
670 * gdb.base/continue-all-already-running.exp: New file.
671
6fdebc3d
PA
6722014-10-17 Pedro Alves <palves@redhat.com>
673
674 PR gdb/17472
675 * gdb.base/annota-input-while-running.c: New file.
676 * gdb.base/annota-input-while-running.exp: New file.
677
32a8097b
PA
6782014-10-17 Pedro Alves <palves@redhat.com>
679
680 * gdb.base/callfuncs.exp: emove references to osf.
681 * gdb.base/sigall.exp: Likewise.
682 * gdb.gdb/selftest.exp: Likewise.
683 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
684 * gdb.mi/non-stop.c: Likewise.
685 * gdb.mi/pthreads.c: Likewise.
686 * gdb.reverse/sigall-precsave.exp: Likewise.
687 * gdb.reverse/sigall-reverse.exp: Likewise.
688 * gdb.threads/pthreads.c: Likewise.
689 * gdb.threads/pthreads.exp: Likewise.
690
7a3517ff
YQ
6912014-10-17 Yao Qi <yao@codesourcery.com>
692
693 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
694 check 'target_info exists noargs'.
695 (test_command_prompt_position): Likewise.
696 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
697 Remove "set args".
698 (progvar_simple_while_test): Likewise.
699 (progvar_complex_if_while_test): Likewise.
700 (if_while_breakpoint_command_test): Likewise.
701 (infrun_breakpoint_command_test): Likewise.
702 (breakpoint_command_test): Likewise.
703 (watchpoint_command_test): Likewise.
704 (bp_deleted_in_command_test): Likewise.
705 (temporary_breakpoint_commands): Likewise.
706
bb99c472
YQ
7072014-10-16 Yao Qi <yao@codesourcery.com>
708
709 * gdb.base/remotetimeout.exp: Remove noargs checking.
710
7c16b83e
PA
7112014-10-15 Pedro Alves <palves@redhat.com>
712
713 PR breakpoints/9649
714 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
715 * gdb.base/breakpoint-in-ro-region.exp
716 (probe_target_hardware_step): New procedure.
717 (top level): Probe hardware stepping and hardware breakpoint
718 support. Test stepping through a read-only region, with both
719 "breakpoint auto-hw" on and off and both "always-inserted" on and
720 off.
721
35a49624
IB
7222014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
723
724 * gdb.dlang/demangle.exp: Update for demangling changes.
725
2d1c107c
SC
7262014-10-15 Siva Chandra Reddy <sivachandra@google.com>
727
728 * gdb.cp/non-trivial-retval.cc: Add new test cases.
729 * gdb.cp/non-trivial-retval.exp: Add new tests.
730
778811d5
SC
7312014-10-15 Siva Chandra Reddy <sivachandra@google.com>
732
733 PR c++/13403
734 PR c++/15154
735 * gdb.cp/non-trivial-retval.cc: New file.
736 * gdb.cp/non-trivial-retval.exp: New file.
737
10c5f0a8
YQ
7382014-10-15 Yao Qi <yao@codesourcery.com>
739
740 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
741 remote host.
742
65d7b369
YQ
7432014-10-15 Yao Qi <yao@codesourcery.com>
744
745 * gdb.python/py-symbol.exp: Match file base name if host is
746 remote, otherwise match file name with dir name.
747 * gdb.python/py-symtab.exp: Likewise.
748 * gdb.python/python.exp: Likewise.
749
46dc1394
YQ
7502014-10-15 Yao Qi <yao@codesourcery.com>
751
752 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
753 pattern.
754 * gdb.python/py-symtab.exp: Likewise.
755 * gdb.python/python.exp: Remove trailing ".*". Fix typo
756 locationn.
757
c40cc657
JB
7582014-10-14 Joel Brobecker <brobecker@adacore.com>
759
760 * gdb.ada/addr_arith: New testcase.
761
2abf49e1
MR
7622014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
763
764 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
765 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
766 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
767 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
768
f7088df3
SDJ
7692014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
770
771 * gdb.arch/stap-eval-lang-ada.S: Likewise.
772 * gdb.arch/stap-eval-lang-ada.c: Likewise.
773 * gdb.arch/stap-eval-lang-ada.exp: New file.
774
4dc06805
YQ
7752014-10-14 Yao Qi <yao@codesourcery.com>
776
777 * gdb.mi/mi-var-child.c (nothing1): New function.
778 (nothing2): New function.
779 (do_children_tests): Set function pointers by nothing1 and
780 nothing2.
781 * gdb.mi/mi-var-child.exp: Step over new added statements.
782 Update test to match the new output.
783 * gdb.mi/var-cmd.c (nothing1): New function.
784 (nothing2): New function.
785 (do_children_tests): Set function pointers by nothing1 and
786 nothing2.
787 * gdb.mi/mi-var-display.exp: Update test to match output.
788 Step to the line specified by $line_dct_nothing.
789 Increase the number of lines to step.
790
46a93de2
YQ
7912014-10-14 Yao Qi <yao@codesourcery.com>
792
793 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
794 tests.
795 * gdb.mi/mi2-var-child.exp: Likewise.
796
14ea52ee
DE
7972014-10-13 Doug Evans <dje@google.com>
798
799 * gdb.python/py-objfile.exp: Change name of file name test.
800
e5c6e92b
DE
8012014-10-13 Doug Evans <dje@google.com>
802
803 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
804 from the start of the CU.
805
c780cc2f
JK
8062014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
807 Yao Qi <yao@codesourcery.com>
808
809 Fix "save breakpoints" for "catch" command.
810 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
811 Remove -nonewline. Match also the added "main" line.
812
99894e11
JK
8132014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
814
815 Fix "save breakpoints" for "disable $bpnum" command.
816 * gdb.base/save-bp.c (main): Add label.
817 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
818
6e1ac5a3
JK
8192014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
820
821 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
822
754dd2b0
YQ
8232014-10-11 Yao Qi <yao@codesourcery.com>
824
825 * gdb.server/server-kill.exp: Execute command
826 "set remote trace-status-packet on" before "tstatus".
827
f90183d7
YQ
8282014-10-11 Yao Qi <yao@codesourcery.com>
829
830 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
831 (main): Call getppid.
832 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
833 and continue to it. Read variable "server_pid".
834
bf40a607
YQ
8352014-10-11 Yao Qi <yao@codesourcery.com>
836
837 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
838
052ca370
YQ
8392014-10-11 Yao Qi <yao@codesourcery.com>
840
841 * gdb.threads/thread-find.exp: Don't execute command
842 "info threads".
843 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
844 * gdb.threads/linux-dp.exp: Don't check the condition
845 $threads_created equals to zero.
846
3831839c
PA
8472014-10-10 Pedro Alves <palves@redhat.com>
848
849 * gdb.base/bigcore.exp: Remove references to IRIX.
850 * gdb.base/funcargs.exp: Likewise.
851 * gdb.base/interrupt.exp: Likewise.
852 * gdb.base/mips_pro.exp: Likewise.
853 * gdb.base/nodebug.exp: Likewise.
854 * gdb.base/setvar.exp: Likewise.
855 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
856
8b9a549d
PA
8572014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
858 Pedro Alves <palves@redhat.com>
859
860 PR symtab/14466
861 * gdb.base/vdso-warning.c: New file.
862 * gdb.base/vdso-warning.exp: New file.
863
d48ba5e8
DE
8642014-10-02 Doug Evans <dje@google.com>
865
866 * gdb.base/structs.c (main): Don't run forever.
867
2278c276
PA
8682014-10-02 Pedro Alves <palves@redhat.com>
869
870 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
871 (top level) <stop threads 1, stop threads 2>: Use it.
872
b57bacec
PA
8732014-10-02 Pedro Alves <palves@redhat.com>
874
875 * gdb.threads/break-while-running.exp (test): Add new
876 'update_thread_list' argument. Skip "info threads" if false.
877 (top level): Add new 'update_thread_list' axis.
878
13fd3ff3
PA
8792014-10-02 Pedro Alves <palves@redhat.com>
880
881 PR breakpoints/17431
882 * gdb.base/execl-update-breakpoints.c: New file.
883 * gdb.base/execl-update-breakpoints.exp: New file.
884
0fec99e8
PA
8852014-10-01 Pedro Alves <palves@redhat.com>
886
887 * gdb.base/breakpoint-in-ro-region.c: New file.
888 * gdb.base/breakpoint-in-ro-region.exp: New file.
889
2ddf4301
SM
8902014-10-01 Simon Marchi <simon.marchi@ericsson.com>
891
892 * gdb.mi/mi-exit-code.exp: New file.
893 * gdb.mi/mi-exit-code.c: New file.
894
6a5f3f43
YQ
8952014-09-30 Yao Qi <yao@codesourcery.com>
896
897 * lib/prelink-support.exp (build_executable_own_libs): Error if
898 the target isn't native.
899
345bcc73
YQ
9002014-09-30 Yao Qi <yao@codesourcery.com>
901
902 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
903 false.
904
a25a5a45
PA
9052014-09-22 Pedro Alves <palves@redhat.com>
906
907 * gdb.threads/break-while-running.exp: New file.
908 * gdb.threads/break-while-running.c: New file.
909
00ba3162
YQ
9102014-09-19 Yao Qi <yao@codesourcery.com>
911
912 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
913 Invoke test. Restart GDB with --readnow and invoke test again.
914
c3b7b696
YQ
9152014-09-19 Yao Qi <yao@codesourcery.com>
916
917 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
918 proc set_breakpoint_on_gcd_function. Invoke
919 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
920 invoke set_breakpoint_on_gcd_function again.
921
2b4fd423
DE
9222014-09-18 Doug Evans <dje@google.com>
923
924 * gdb.dwarf2/symtab-producer.exp: New file.
925
a5947601
SDJ
9262014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
927
928 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
929 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
930 * gdb.base/global-var-nested-by-dso.c: Likewise.
931 * gdb.base/global-var-nested-by-dso.exp: Likewise.
932
91c19059
SDJ
9332014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
934 Pedro Alves <palves@redhat.com>
935
936 * gdb.base/watch-bitfields.exp: Pass string other than test file
937 name to prepare_for_testing.
938 (watch): New procedure.
939 (expect_watchpoint): Use with_test_prefix.
940 (top level): Factor out tests to ...
941 (test_watch_location, test_regular_watch): ... these new
942 procedures, and use with_test_prefix and gdb_continue_to_end.
943
bb9d5f81
PP
9442014-09-16 Patrick Palka <patrick@parcs.ath.cx>
945
946 PR breakpoints/12526
947 * gdb.base/watch-bitfields.exp: New file.
948 * gdb.base/watch-bitfields.c: New file.
949
635856f5
PA
9502014-09-16 Pedro Alves <palves@redhat.com>
951
952 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
953 software and hardware addresses, not software address against
954 itself.
955
7280ceea
PA
9562014-09-16 Pedro Alves <palves@redhat.com>
957
958 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
959 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
960
428b16bd
PA
9612014-09-16 Pedro Alves <palves@redhat.com>
962
963 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
964 files.
965 * gdb.base/a2-run.exp: Remove all code guarded by istarget
966 "*-*-vxworks*" throughout.
967 * gdb.base/break.exp: Likewise.
968 * gdb.base/default.exp: Likewise.
969 * gdb.base/scope.exp: Likewise.
970 * gdb.base/sepdebug.exp: Likewise.
971 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
972 throughout.
973 * gdb.base/run.c: Likewise.
974 * gdb.base/sepdebug.c: Likewise.
975 * gdb.hp/gdb.aCC/run.c: Likewise.
976 * gdb.reverse/until-reverse.c: Likewise.
977 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
978
666d413c
YQ
9792014-09-16 Yao Qi <yao@codesourcery.com>
980
981 * boards/local-remote-host-native.exp: New file.
982
57cbd724
DE
9832014-09-14 Doug Evans <xdje42@gmail.com>
984
985 * gdb.threads/queue-signal.c (thread_count): New variable.
986 (thread_count_mutex, thread_count_condvar): New variables.
987 (incr_thread_count, wait_all_threads_running): New functions.
988 (main): Wait for all threads to be in their thread functions.
989
81219e53
DE
9902014-09-13 Doug Evans <xdje42@gmail.com>
991
992 * gdb.threads/queue-signal.c: New file.
993 * gdb.threads/queue-signal.exp: New file.
994
3714cea7
DE
9952014-09-13 Doug Evans <xdje42@gmail.com>
996
997 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
998 be consistent with what default_gdb_init uses.
999 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1000 the plain text of the prompt. Add some logging printfs.
1001 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1002
fa43b1d7
PA
10032014-09-12 Pedro Alves <palves@redhat.com>
1004
1005 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1006 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1007 * gdb.arch/i386-size-overlap.exp: Likewise.
1008 * gdb.arch/i386-size.exp: Likewise.
1009 * gdb.arch/i386-unwind.exp: Likewise.
1010 * gdb.base/a2-run.exp: Likewise.
1011 * gdb.base/break.exp: Likewise.
1012 * gdb.base/charset.exp: Likewise.
1013 * gdb.base/chng-syms.exp: Likewise.
1014 * gdb.base/commands.exp: Likewise.
1015 * gdb.base/dbx.exp: Likewise.
1016 * gdb.base/find.exp: Likewise.
1017 * gdb.base/funcargs.exp: Likewise.
1018 * gdb.base/jit-simple.exp: Likewise.
1019 * gdb.base/reread.exp: Likewise.
1020 * gdb.base/sepdebug.exp: Likewise.
1021 * gdb.base/step-bt.exp: Likewise.
1022 * gdb.cp/mb-inline.exp: Likewise.
1023 * gdb.cp/mb-templates.exp: Likewise.
1024 * gdb.objc/basicclass.exp: Likewise.
1025 * gdb.threads/killed.exp: Likewise.
1026
9d9bf2df
EBM
10272014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1028
1029 PR tdep/17379
1030 * gdb.arch/powerpc-stackless.S: New file.
1031 * gdb.arch/powerpc-stackless.exp: New file.
1032
1cf2f1b0
JK
10332014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1034
1035 * gdb.base/attach.c: Include unistd.h.
1036 (main): Call alarm. Add label postloop.
1037 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1038 gdb_breakpoint, gdb_continue_to_breakpoint.
1039 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1040
98880d46
PA
10412014-09-11 Pedro Alves <palves@redhat.com>
1042
1043 PR gdb/17347
1044 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1045 * gdb.base/attach.exp (test_command_line_attach_run): New
1046 procedure.
1047 (top level): Call it.
1048
4c92ff2c
PA
10492014-09-11 Pedro Alves <palves@redhat.com>
1050
1051 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1052 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1053 (do_command_attach_tests): Use spawn_wait_for_attach.
1054 * gdb.base/solib-overlap.exp: Likewise.
1055 * gdb.multi/multi-attach.exp: Likewise.
1056 * gdb.python/py-prompt.exp: Likewise.
1057 * gdb.python/py-sync-interp.exp: Likewise.
1058 * gdb.server/ext-attach.exp: Likewise.
1059
3adc1a7d
GKB
10602014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1061
1062 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1063 command in testcase. Simplify testcase.
1064
96334934
JB
10652014-09-10 Joel Brobecker <brobecker@adacore.com>
1066
1067 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1068
eb479039
JB
10692014-09-10 Joel Brobecker <brobecker@adacore.com>
1070
1071 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1072
deede10c
JB
10732014-09-10 Joel Brobecker <brobecker@adacore.com>
1074
1075 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1076
7828a5f5
JB
10772014-09-10 Joel Brobecker <brobecker@adacore.com>
1078
1079 * gdb.dwarf2/dynarr-ptr.c: New file.
1080 * gdb.dwarf2/dynarr-ptr.exp: New file.
1081
33aeebcf
MR
10822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1083
1084 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1085 of 30 rather than hardcoding 120 for a slow test case. Take the
1086 `gdb,timeout' target setting into account for this calculation.
1087 Don't extend the timeout for the test cases that don't need it.
1088
7b415901
MR
10892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1090
1091 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1092 a factor of 2 for a slow test case. Take the `gdb,timeout'
1093 target setting into account for this calculation.
1094 * gdb.reverse/until-precsave.exp: Increase the timeout by
1095 a factor of 15 and 3 respectively rather than adding 120
1096 for a pair of slow test cases. Take the `gdb,timeout'
1097 target setting into account for this calculation.
1098
4a40f85a
MR
10992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1100
1101 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1102 timeout, don't pass one down to gdb_expect.
1103 (gdb_expect): Rework timeout selection.
1104
09635af7
MR
11052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1106
1107 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1108 exception on timeout.
1109 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1110 (gdbserver_start_extended): Catch any `gdbserver_start' error
1111 exceptions.
1112 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1113 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1114 `gdbserver_gdb_load' error exceptions.
1115
2bdd10b7
MR
11162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1117
1118 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1119 120 on waiting for the TCP socket to open.
1120
316935f0
DE
11212014-09-09 Doug Evans <xdje42@gmail.com>
1122
1123 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1124 _caller_matches, _any_caller_is, _any_caller_matches.
1125
83740597
DE
11262014-09-09 Doug Evans <xdje42@gmail.com>
1127
1128 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1129
4c122fc3
YQ
11302014-09-09 Yao Qi <yao@codesourcery.com>
1131
1132 * gdb.mi/mi-var-display.exp: Set print symbol off.
1133
a9f116cb
GKB
11342014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1135
1136 PR gdb/17035
1137 * gdb.base/commands.exp: Add tests to verify user-defined
1138 commands with empty bodies.
1139 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1140 python commands in `show user command`.
1141 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1142 scheme commands in `show user command`.
1143
c75bd3a2
JK
11442014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1145
1146 PR python/17355
1147 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1148 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1149 * gdb.python/py-framefilter-invalidarg.exp: New file.
1150 * gdb.python/py-framefilter-invalidarg.py: New file.
1151
faa42425
DE
11522014-09-06 Doug Evans <xdje42@gmail.com>
1153
1154 PR 15276
1155 * gdb.python/py-caller-is.c: New file.
1156 * gdb.python/py-caller-is.exp: New file.
1157
474ca4f6
SDJ
11582014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1159
1160 PR gdb/17235
1161 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1162 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1163
eb0b0463
SDJ
11642014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1165
1166 PR fortran/17237
1167 * gdb.fortran/print-formatted.exp: New file.
1168 * gdb.fortran/print-formatted.f90: Likewise.
1169
5f3b99cf
SS
11702014-09-03 Sasha Smundak <asmundak@google.com>
1171
1172 * gdb.python/py-frame.exp: Test Frame.read_register.
1173
7d793aa9
SDJ
11742014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1175
1176 PR python/16699
1177 * gdb.python/py-completion.exp: New file.
1178 * gdb.python/py-completion.py: Likewise.
1179
fb0576e9
DE
11802014-08-28 Doug Evans <dje@google.com>
1181
1182 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1183 eax,etc. are live with values set by gdb and thus the compiler can't
1184 use them.
1185 * gdb.arch/i386-pseudo.c (main): Ditto.
1186
ee92b0dd
DE
11872014-08-27 Doug Evans <dje@google.com>
1188
1189 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1190
6649db35
DE
11912014-08-25 Doug Evans <dje@google.com>
1192
1193 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1194 (main): Ditto.
1195
564b7600
DE
11962014-08-25 Doug Evans <dje@google.com>
1197
1198 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1199
3881fb67
YQ
12002014-08-24 Yao Qi <yao@codesourcery.com>
1201
1202 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1203 symbol off.
1204 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1205
a05a36a5
DE
12062014-08-22 Doug Evans <dje@google.com>
1207
1208 PR 17276
1209 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1210 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1211 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1212
7c343b48
YQ
12132014-08-22 Yao Qi <yao@codesourcery.com>
1214
1215 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1216 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1217 * gdb.python/python.exp: Likewise. Use .py file on the host
1218 instead of the build.
1219
22fd09ae
JK
12202014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1221
1222 * gdb.threads/gcore-stale-thread.c: New file.
1223 * gdb.threads/gcore-stale-thread.exp: New file.
1224
a8454a7c
PA
12252014-08-21 Pedro Alves <palves@redhat.com>
1226
1227 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1228 * gdb.base/gcore-relro-pie.exp: Likewise.
1229 * gdb.base/gcore-relro.exp: Likewise.
1230 * gdb.base/gcore.exp: Likewise.
1231 * gdb.base/print-symbol-loading.exp: Likewise.
1232 * gdb.threads/gcore-thread.exp: Likewise.
1233 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1234
2a31c623
PA
12352014-08-20 Pedro Alves <palves@redhat.com>
1236 Jan Kratochvil <jan.kratochvil@redhat.com>
1237
1238 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1239 configure.
1240 (EXPECT): Handle READ1 being set.
1241 (all): Depend on EXTRA_RULES.
1242 (check-read1, expect-read1, read1.so, read1): New rules.
1243 * README (Testsuite Parameters): Document the READ1 make variable.
1244 (Race detection): New section.
1245 * configure: Regenerate.
1246 * configure.ac: If build==host==target, and running under a
1247 GNU/glibc system, add read1 to the extra Makefile rules.
1248 (EXTRA_RULES): AC_SUBST it.
1249 * lib/read1.c: New file.
1250
d36430db
JB
12512014-08-20 Joel Brobecker <brobecker@adacore.com>
1252
1253 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1254 the handling of variables declared as a typedef to an array
1255 which a DW_AT_data_location attribute.
1256
9a0dc9e3
PA
12572014-08-19 Andrew Burgess <aburgess@broadcom.com>
1258 Pedro Alves <palves@redhat.com>
1259
1260 PR symtab/14604
1261 PR symtab/14605
1262 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1263 gdb_test.
1264
0718a8da
PA
12652014-08-19 Pedro Alves <palves@redhat.com>
1266
1267 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1268
13b448cd
YQ
12692014-08-19 Yao Qi <yao@codesourcery.com>
1270
1271 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1272 right line.
1273
1cbf5077
DB
12742014-08-18 David Blaikie <dblaikie@gmail.com>
1275
1276 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1277
bf0fae19
JB
12782014-08-18 Joel Brobecker <brobecker@adacore.com>
1279
1280 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1281 attribute in array range.
1282
3c8c5dcc
JB
12832014-08-18 Joel Brobecker <brobecker@adacore.com>
1284
1285 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1286
e66d4446
SC
12872014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1288
1289 PR c++/17132
1290 * gdb.cp/pr17132.cc: New file.
1291 * gdb.cp/pr17132.exp: New file.
1292
940df408
SC
12932014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1294
1295 * gdb.python/py-xmethods.py (A_getarrayind)
1296 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1297 Use 'print' with function call syntax.
1298 (E_method_matcher.match): Fix tab vs space indentation mixup.
1299
ebcc6c3a
YQ
13002014-08-15 Yao Qi <yao@codesourcery.com>
1301
1302 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1303 false.
1304
775e0f04
YQ
13052014-08-15 Yao Qi <yao@codesourcery.com>
1306
1307 * gdb.cp/casts.exp: Set print symbol off.
1308 * gdb.cp/class2.exp: Likewise.
1309 * gdb.cp/overload.exp: Likewise.
1310 * gdb.cp/templates.exp: Likewise.
1311
d769e349
DE
13122014-08-11 Doug Evans <dje@google.com>
1313
1314 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1315 (test_load_shlib): Update.
1316
20c6f1e1
YQ
13172014-08-09 Yao Qi <yao@codesourcery.com>
1318
1319 * gdb.base/display.exp: Invoke is_address_zero_readable.
1320 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1321 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1322 * gdb.base/hbreak-unmapped.exp: Return if
1323 is_address_zero_readable returns true.
1324 * gdb.base/signest.exp: Likewise.
1325 * gdb.base/signull.exp: Likewise.
1326 * gdb.base/sigbpt.exp: Likewise.
1327 * gdb.guile/scm-disasm.exp: Do the test if
1328 is_address_zero_readable returns false.
1329 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1330 * gdb.python/py-arch.exp: Likewise.
1331 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1332 * lib/gdb.exp (is_address_zero_readable): New proc.
1333
5792e8e3
YQ
13342014-08-09 Yao Qi <yao@codesourcery.com>
1335
1336 PR testsuite/13443
1337 * gdb.mi/mi-var-display.exp: Make test messages unique.
1338
3cecbbbe
TT
13392014-08-04 Tom Tromey <tromey@redhat.com>
1340
1341 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1342 target 0".
1343
00b51ff5
TT
13442014-08-04 Tom Tromey <tromey@redhat.com>
1345
1346 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1347 "target_resume".
1348
6908c509
JB
13492014-08-01 Joel Brobecker <brobecker@adacore.com>
1350
1351 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1352 inner_vla_struct_object_size.
1353 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1354 as xfail.
1355
cc6563d2
PA
13562014-07-30 Pedro Alves <palves@redhat.com>
1357
1358 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1359 comment.
1360
7e09a223
YQ
13612014-07-29 Yao Qi <yao@codesourcery.com>
1362
1363 PR gdb/17206
1364 * gdb.base/until-nodebug.exp: New.
1365
7ebdbe92
DE
13662014-07-28 Doug Evans <xdje42@gmail.com>
1367
1368 PR guile/17203
1369 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1370 previously existing parameter, and previously ambiguously spelled
1371 parameter.
1372
fdb1adc6
WN
13732014-07-28 Will Newton <will.newton@linaro.org>
1374
1375 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1376
186fcde0
DE
13772014-07-26 Ludovic Courtès <ludo@gnu.org>
1378 Doug Evans <xdje42@gmail.com>
1379
1380 PR guile/17146
1381 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1382
70509625
PA
13832014-07-25 Pedro Alves <palves@redhat.com>
1384
1385 * gdb.threads/signal-command-handle-nopass.c: New file.
1386 * gdb.threads/signal-command-handle-nopass.exp: New file.
1387 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1388 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1389 * gdb.threads/signal-delivered-right-thread.c: New file.
1390 * gdb.threads/signal-delivered-right-thread.exp: New file.
1391
c3f814a1
PA
13922014-07-25 Pedro Alves <palves@redhat.com>
1393
1394 * gdb.base/double-prompt-target-event-error.exp
1395 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1396 match.
1397 (cancel_pagination_in_target_event): Rework double prompt
1398 detection.
1399 * gdb.base/paginate-after-ctrl-c-running.exp
1400 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1401 <return>' match.
1402 * gdb.base/paginate-bg-execution.exp
1403 (test_bg_execution_pagination_return)
1404 (test_bg_execution_pagination_cancel): Remove '-notransfer
1405 <return>' matches.
1406 * gdb.base/paginate-execution-startup.exp
1407 (test_fg_execution_pagination_return)
1408 (test_fg_execution_pagination_cancel): Remove '-notransfer
1409 <return>' matches.
1410 * gdb.base/paginate-inferior-exit.exp
1411 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1412 match.
1413 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1414 * lib/gdb.exp (pagination_prompt): Run text through
1415 string_to_regexp.
1416 (gdb_test_multiple): Match $pagination_prompt instead of
1417 "<return>".
1418 (string_to_regexp): Move to lib/gdb-utils.exp.
1419
e214cf6c
JK
14202014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1421
1422 * gdb.arch/amd64-entry-value-paramref.S: New file.
1423 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1424 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1425 * gdb.arch/amd64-optimout-repeat.S: New file.
1426 * gdb.arch/amd64-optimout-repeat.c: New file.
1427 * gdb.arch/amd64-optimout-repeat.exp: New file.
1428
17d0c5c8
JK
14292014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1430
1431 PR gdb/17170
1432 * gdb.base/statistics.exp: New file.
1433
b8b8facf
DE
14342014-07-17 Doug Evans <dje@google.com>
1435
74b49205 1436 PR gdb/17170
b8b8facf
DE
1437 * gdb.base/maint.exp: Update testing of per-command stats.
1438
1b5d0ab3
PA
14392014-07-16 Pedro Alves <palves@redhat.com>
1440
1441 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1442 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1443 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1444 (tfile_write_buf): New functions.
1445 (add_memory_block): Rewrite using the above.
1446 (adjust_function_address): New function.
1447 (FUNCTION_ADDRESS): New macro.
1448 (write_basic_trace_file): Remove short_x local, and use
1449 tfile_write_16. Change type of func_addr local to unsigned long
1450 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1451 here. Cast argument of add_memory_block to char pointer.
1452 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1453 (main): Remove parameters.
1454 * gdb.trace/tfile.exp: Remove nowarnings.
1455
4d974e88
SM
14562014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1457
1458 * gdb.base/debug-expr.exp: Test string evaluation with
1459 "debug expression" on.
1460
41e99568
PA
14612014-07-15 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.base/reread.exp: Use clean_restart.
1464
487d9753
PL
14652014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1466
1467 * gdb.arch/avr-flash-qualifer.c: New.
1468 * gdb.arch/avr-flash-qualifer.exp: New.
1469
cc1c52ad
PA
14702014-07-14 Pedro Alves <palves@redhat.com>
1471
1472 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1473 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1474
1e973570
PA
14752014-07-14 Pedro Alves <palves@redhat.com>
1476
1477 * gdb.base/double-prompt-target-event-error.c: New file.
1478 * gdb.base/double-prompt-target-event-error.exp: New file.
1479
93d6eb10
PA
14802014-07-14 Pedro Alves <palves@redhat.com>
1481
1482 PR gdb/17072
1483 * gdb.base/paginate-inferior-exit.c: New file.
1484 * gdb.base/paginate-inferior-exit.exp: New file.
1485
0017922d
PA
14862014-07-14 Pedro Alves <palves@redhat.com>
1487
1488 PR gdb/17072
1489 * gdb.base/paginate-bg-execution.c: New file.
1490 * gdb.base/paginate-bg-execution.exp: New file.
1491
94696ad3
PA
14922014-07-14 Pedro Alves <palves@redhat.com>
1493
1494 PR gdb/17072
1495 * gdb.base/paginate-execution-startup.c: New file.
1496 * gdb.base/paginate-execution-startup.exp: New file.
1497 * lib/gdb.exp (pagination_prompt): New global.
1498 (default_gdb_spawn): New procedure, factored out from
1499 default_gdb_spawn.
1500 (default_gdb_start): Adjust to call default_gdb_spawn.
1501 (gdb_spawn): New procedure.
1502
bd293940
PA
15032014-07-14 Pedro Alves <palves@redhat.com>
1504
1505 * lib/gdb.exp (gdb_assert): New procedure.
1506 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1507
c933f875
PA
15082014-07-14 Pedro Alves <palves@redhat.com>
1509
1510 * gdb.base/execution-termios.c: New file.
1511 * gdb.base/execution-termios.exp: New file.
1512
d98b7a16
TT
15132014-07-14 Tom Tromey <tromey@redhat.com>
1514
1515 * gdb.cp/vla-cxx.cc: New file.
1516 * gdb.cp/vla-cxx.exp: New file.
1517
548740d6
TT
15182014-07-14 Tom Tromey <tromey@redhat.com>
1519
1520 * gdb.reverse/rerun-prec.c: New file.
1521 * gdb.reverse/rerun-prec.exp: New file.
1522
a25eb028
MR
15232014-07-12 Maciej W. Rozycki <macro@mips.com>
1524 Maciej W. Rozycki <macro@codesourcery.com>
1525
1526 * lib/gdb-utils.exp: New file.
1527 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1528 inline `gdb_init_command' processing.
1529 (gdb_start_cmd): Likewise.
1530 * lib/mi-support.exp (mi_run_cmd): Likewise.
1531 * README: Document `gdb_init_command' and `gdb_init_commands'.
1532
218c2655
JK
15332014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1534
1535 Fix false FAIL running under a very long directory name.
1536 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1537 and "set print elements 10000". Twice.
1538
5401fde3
YQ
15392014-07-11 Yao Qi <yao@codesourcery.com>
1540
1541 * gdb.base/exprs.exp: "set print symbol off".
1542
e76126e8
PA
15432014-07-11 Pedro Alves <palves@redhat.com>
1544
1545 * gdb.threads/kill.c: New file.
1546 * gdb.threads/kill.exp: New file.
1547
2d6f0de6
YQ
15482014-07-10 Yao Qi <yao@codesourcery.com>
1549
1550 * gdb.trace/tfile.c (write_basic_trace_file)
1551 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1552 address written to trace file.
1553
7180e04a
PA
15542014-07-09 Pedro Alves <palves@redhat.com>
1555
1556 * gdb.base/attach-wait-input.exp: New file.
1557 * gdb.base/attach-wait-input.c: New file.
1558
9a9a7608
AB
15592014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1560
1561 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1562 setting up test structures.
1563 (main): Call new test function.
1564 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1565 test function, continue into test function and walk test
1566 structures.
1567
161ac41e
YQ
15682014-07-02 Yao Qi <yao@codesourcery.com>
1569
1570 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1571 'bar_start' at the beginning of functions 'foo' and 'bar'
1572 respectively.
1573 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1574 instead of 'foo' and 'bar'.
1575
1f267ae3
MM
15762014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1577
1578 * gdb.btrace/segv.exp: New.
1579 * gdb.btrace/segv.c: New.
1580
2b239efb
LM
15812014-07-02 Luis Machado <lgustavo@codesourcery.com>
1582
1583 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1584 instruction.
1585
cf363f18
MW
15862014-06-30 Mark Wielaard <mjw@redhat.com>
1587
1588 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1589 vulture, vilify, villar): New volatile array constants.
1590 (vindictive, vegetation): New const volatile array constants.
1591 * gdb.base/volatile.exp: Test volatile and const volatile array
1592 types.
1593
aebf9d24
AA
15942014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1595
1596 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1597 target lacks support for awatch, rwatch, or hbreak.
1598
b67a2c6f
YQ
15992014-06-27 Yao Qi <yao@codesourcery.com>
1600
1601 * gdb.multi/dummy-frame-restore.exp: New.
1602 * gdb.multi/dummy-frame-restore.c: New.
1603
aef92902
MM
16042014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1605
1606 * gdb.btrace/gcore.exp: New.
1607
8e9db26e
PA
16082014-06-23 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.base/watchpoint-reuse-slot.c: New file.
1611 * gdb.base/watchpoint-reuse-slot.exp: New file.
1612
70afc5b7
SC
16132014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1614
1615 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1616 progspace's filename in 'info', 'enable' and 'disable' command
1617 tests.
1618
b972bd9c
JK
16192014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1620
1621 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1622 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1623 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1624
125f8a3d
GB
16252014-06-20 Gary Benson <gbenson@redhat.com>
1626
1627 * gdb.arch/i386-avx.exp: Fix include file location.
1628 * gdb.arch/i386-sse.exp: Likewise.
1629
3ed9baed
IB
16302014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1631
1632 * gdb.dlang/expression.exp: New file.
1633
034f788c
PA
16342014-06-19 Pedro Alves <palves@redhat.com>
1635
1636 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1637 out from ...
1638 (top level): ... here. Iterate running tests under different
1639 scheduler-locking settings.
1640
45371d0c
LM
16412014-06-18 Luis Machado <lgustavo@codesourcery.com>
1642
1643 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1644 to DW_FORM_addr and use non-zero addresses.
1645
5d376983
SC
16462014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1647
1648 PR gdb/17017
1649 * gdb.python/py-xmethods.cc: Add global function call counters and
1650 increment them in their respective functions. Remove "cout"
1651 statements.
1652 * gdb.python/py-xmethods.exp: Make tests check the global function
1653 call counters instead of depending on inferior IO.
1654
a1aa2221
LM
16552014-06-18 Don Breazeal <donb@codesourcery.com>
1656
1657 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1658 Deleted procedure.
1659 (explicit_fork_parent_follow): Deleted procedure.
1660 (explicit_fork_child_follow): Deleted procedure.
1661 (test_follow_fork): New procedure.
1662 (do_fork_tests): Replace calls to deleted procedures with
1663 calls to test_follow_fork and reset GDB for subsequent
1664 procedure calls.
1665
0fc05997
YQ
16662014-06-17 Yao Qi <yao@codesourcery.com>
1667
1668 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1669 CP1252.
1670
70795c52
LM
16712014-06-17 Luis Machado <lgustavo@codesourcery.com>
1672
1673 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1674 Initialize ptr and S explicitly.
1675 (skip_type_update_when_not_use_rtti_test): Likewise.
1676
6be47f0c
KS
16772014-06-16 Keith Seitz <keiths@redhat.com>
1678
1679 PR mi/15863
1680 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1681 the inferior is started.
1682
d03de421
PA
16832014-06-16 Pedro Alves <palves@redhat.com>
1684
1685 * gdb.base/break-main-file-remove-fail.c: New file.
1686 * gdb.base/break-main-file-remove-fail.exp: New file.
1687 * gdb.base/break-unload-file.exp: Use build_executable instead of
1688 prepare_for_testing.
1689 (test_break): New parameter "initial_load". Handle it.
1690 (top level): Add initial_load cmdline/file axis.
1691
f9579b99
TT
16922014-06-12 Tom Tromey <tromey@redhat.com>
1693
1694 * gdb.base/completion.exp: Don't use directory name in test.
1695
3657956b
GB
16962014-06-09 Gary Benson <gbenson@redhat.com>
1697
1698 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1699 separate the always-available ANSI-standard signals from the
1700 signals that require checking.
1701 (main): Likewise.
1702 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1703 Likewise.
1704 (main): Likewise.
1705
4186eb54
KS
17062014-06-07 Keith Seitz <keiths@redhat.com>
1707
1708 Revert:
1709 PR c++/16253
1710 * gdb.cp/var-tag.cc: New file.
1711 * gdb.cp/var-tag.exp: New file.
1712 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1713 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1714 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1715 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1716
25326a28 17172014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1718
1719 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1720
829155c9
PA
17212014-06-06 Pedro Alves <palves@redhat.com>
1722
1723 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1724 in target debug output instead of looking at RSP packets,
1725 disabling the test on any target that uses hardware stepping.
1726 Update comments.
1727
61c8d22e
PA
17282014-06-06 Pedro Alves <palves@redhat.com>
1729
1730 * gdb.base/break-unload-file.exp: Fix typo.
1731
d9a47287
YQ
17322014-06-06 Yao Qi <yao@codesourcery.com>
1733
1734 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1735 from "jit_function" to "^jit_function".
1736
e5e01dbf
YQ
17372014-06-06 Yao Qi <yao@codesourcery.com>
1738
1739 * gdb.base/async.c (foo): Add one statement.
1740 * gdb.base/async.exp: Get the next instruction address and
1741 match the output of "nexti" by instruction address. Match
1742 the hex address in the output of "finish".
1743
73ba372c
GB
17442014-06-06 Gary Benson <gbenson@redhat.com>
1745
1746 * gdb.base/call-signals.c: Remove preprocessor conditionals
1747 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1748 SIGSEGV and SIGTERM.
1749 * gdb.base/sigall.c: Likewise.
1750 * gdb.base/unwindonsignal.c: Likewise.
1751 * gdb.reverse/sigall-reverse.c: Likewise.
1752
831517df
YQ
17532014-06-06 Yao Qi <yao@codesourcery.com>
1754
1755 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1756 readable, skip the test.
1757
b8b91e98
YQ
17582014-06-06 Yao Qi <yao@codesourcery.com>
1759
1760 * gdb.threads/staticthreads.c (thread_function): Move the line
1761 setting breakpoint on forward.
1762 * gdb.threads/staticthreads.exp: Update comments.
1763
fb934770
LC
17642014-06-05 Ludovic Courtès <ludo@gnu.org>
1765
1766 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1767 "history-append! type error".
1768
6ef284bd
SM
17692014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1770
1771 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1772 erroneous dprintf expected input.
1773
a872e241
DE
17742014-06-04 Doug Evans <xdje42@gmail.com>
1775
1776 * gdb.guile/scm-generics.exp: Delete.
1777
16f691fb
DE
17782014-06-04 Doug Evans <xdje42@gmail.com>
1779
1780 * gdb.guile/scm-breakpoint.exp: Update.
1781 Add tests for breakpoint registration.
1782
012370f6
TT
17832014-06-04 Tom Tromey <tromey@redhat.com>
1784
1785 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1786 VLA-in-union.
1787 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1788 inner_vla_struct, vla_union types. Initialize objects of those
1789 types and compute their sizes.
1790
9f5a4cef
HZ
17912014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1792 Hui Zhu <hui@codesourcery.com>
1793
1794 * gdb.base/fileio.exp: Add test for shell not available as well as
1795 available.
1796 * gdb.base/fileio.c (test_system): Check for shell twice.
1797
90a45c4d
YQ
17982014-06-04 Yao Qi <yao@codesourcery.com>
1799
1800 * gdb.base/auto-connect-native-target.exp: Remove redundant
1801 space from the regexp pattern.
1802
70017e41
YQ
18032014-06-04 Yao Qi <yao@codesourcery.com>
1804
1805 * gdb.base/default.exp: Replace "child" with "native" in
1806 regexp pattern.
1807
883964a7
SC
18082014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1809
1810 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1811 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1812 * gdb.python/py-xmethods.py: Python script supporting the
1813 new testcase and tests.
1814
ef370185
JB
18152014-06-03 Joel Brobecker <brobecker@adacore.com>
1816 Pedro Alves <palves@redhat.com>
1817
1818 PR breakpoints/17000
1819 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1820 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1821
1e2ccb61
BM
18222014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1823
1824 * gdb.base/subst.exp: Add tests to verify partial path matching
1825 output.
1826
c6ec5ab2
PA
18272014-06-03 Pedro Alves <palves@redhat.com>
1828
1829 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1830 target that doesn't use software single-stepping.
1831
835c559f
PA
18322014-06-03 Pedro Alves <palves@redhat.com>
1833
1834 PR breakpoints/17000
1835 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1836 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1837
06eb1586
DE
18382014-06-02 Doug Evans <xdje42@gmail.com>
1839
1840 * gdb.guile/scm-parameter.exp: New file.
1841
e698b8c4
DE
18422014-06-02 Doug Evans <xdje42@gmail.com>
1843
1844 * gdb.guile/scm-cmd.c: New file.
1845 * gdb.guile/scm-cmd.exp: New file.
1846
ded03782
DE
18472014-06-02 Doug Evans <xdje42@gmail.com>
1848
1849 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1850 pretty-printer lookup.
1851 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1852 (make-pp_s-printer): Call it.
1853 (make-pretty-printer-from-dict): New function.
1854 (lookup-pretty-printer-maker-from-dict): New function.
1855 (*pretty-printer*): Simplify.
1856 (make-objfile-pp_s-printer): New function.
1857 (install-objfile-pretty-printers!): New function.
1858 (make-progspace-pp_s-printer): New function.
1859 (install-progspace-pretty-printers!): New function.
1860 * gdb.guile/scm-progspace.c: New file.
1861 * gdb.guile/scm-progspace.exp: New file.
1862
41fac0cf
PA
18632014-06-02 Pedro Alves <palves@redhat.com>
1864
1865 * gdb.base/dprintf-bp-same-addr.c: New file.
1866 * gdb.base/dprintf-bp-same-addr.exp: New file.
1867
96ae5695
EBM
18682014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1869
1870 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1871 * gdb.arch/powerpc-power.s: Likewise.
1872
da02b3a8
JB
18732014-06-02 Joel Brobecker <brobecker@adacore.com>
1874
1875 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1876
c72b2e7b
YQ
18772014-06-01 Yao Qi <yao@codesourcery.com>
1878
1879 * gdb.base/watchpoint.exp (test_watch_location): Check null
1880 pointer can be dereferenced. If not, do the test, otherwise
1881 skip it.
1882
53e8a631
AB
18832014-05-30 Andrew Burgess <aburgess@broadcom.com>
1884
1885 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1886 results.
1887 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1888
938f0e2f
AB
18892014-05-30 Andrew Burgess <aburgess@broadcom.com>
1890
1891 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1892 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1893 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1894 * gdb.arch/amd64-invalid-stack-top.c: New file.
1895 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1896
9ba6657a
PA
18972014-05-30 Pedro Alves <palves@redhat.com>
1898
1899 PR breakpoints/17000
1900 * gdb.base/sss-bp-on-user-bp.c: New file.
1901 * gdb.base/sss-bp-on-user-bp.exp: New file.
1902
522c09bf
DB
19032014-05-30 David Blaikie <dblaikie@gmail.com>
1904
1905 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1906 gnu_inline semantics via attribute.
1907 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1908 source explicitly specifies the required semantics.
1909
bf4ef81e
MR
19102014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1911
1912 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1913
329ea579
PA
19142014-05-29 Pedro Alves <palves@redhat.com>
1915 Tom Tromey <tromey@redhat.com>
1916
1917 * gdb.base/async-shell.exp: Don't enable target-async.
1918 * gdb.base/async.exp
1919 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1920 parameter. Adjust.
1921 (top level): Don't test with "target-async".
1922 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1923 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1924 * gdb.base/inferior-died.exp: Don't enable target-async.
1925 * gdb.base/interrupt-noterm.exp: Likewise.
1926 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1927 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1928 * gdb.mi/mi-nonstop.exp: Likewise.
1929 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1930 * gdb.mi/mi-nsintrall.exp: Likewise.
1931 * gdb.mi/mi-nsmoribund.exp: Likewise.
1932 * gdb.mi/mi-nsthrexec.exp: Likewise.
1933 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1934 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1935 * gdb.python/py-evsignal.exp: Don't enable target-async.
1936 * gdb.python/py-evthreads.exp: Likewise.
1937 * gdb.python/py-prompt.exp: Likewise.
1938 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1939 * gdb.server/solib-list.exp: Don't enable target-async.
1940 * gdb.threads/thread-specific-bp.exp: Likewise.
1941 * lib/mi-support.exp: Adjust to use mi-async.
1942
fd664c91
PA
19432014-05-29 Pedro Alves <palves@redhat.com>
1944
1945 PR gdb/13860
1946 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1947 reason, even in sync mode.
1948
251bde03
PA
19492014-05-29 Pedro Alves <palves@redhat.com>
1950 Hui Zhu <hui@codesourcery.com>
1951
1952 PR PR15693
1953 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1954 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1955 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1956 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1957
7f3c0343
JB
19582014-05-28 Joel Brobecker <brobecker@adacore.com>
1959
1960 * config/monitor.exp (gdb_target_monitor): Replace use of
1961 "set remotebaud" by "set serial baud".
1962
b2715b27
AW
19632014-05-26 Andy Wingo <wingo@igalia.com>
1964
1965 * gdb.guile/scm-breakpoint.exp:
1966 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1967 properties instead of gdb-object-properties.
1968
498a4489
YQ
19692014-05-26 Yao Qi <yao@codesourcery.com>
1970
1971 * gdb.server/no-thread-db.exp: Specify source file name
1972 explicitly when setting a breakpoint.
1973
589fdceb
MM
19742014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1975
1976 * gdb.btrace/vdso.c: New.
1977 * gdb.btrace/vdso.exp: New.
1978
e9089e05
MM
19792014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1980
1981 * gdb.base/gcore.exp (capture_command_output): Move ...
1982 * lib/gdb.exp (capture_command_output): ... here.
1983
67b5c0c1
MM
19842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1985
1986 * gdb.btrace/data.exp: Test memory access during btrace replay.
1987
a2199296
SM
19882014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1989
1990 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1991
17b2616c
PA
19922014-05-21 Pedro Alves <palves@redhat.com>
1993
1994 PR gdb/13860
1995 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1996 (top level): Test that output related to execution commands is
1997 sent to the console with CLI commands, but not with MI commands.
1998 Test that breakpoint events are always mirrored to the console.
1999 Also expect the new source line to be output after a "next" in
2000 async mode too. Make it a pass/fail test.
2001 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2002 output.
2003 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2004
5166082f
PA
20052014-05-21 Pedro Alves <palves@redhat.com>
2006
2007 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2008 Use them to test variations of "list" after reaching a breakpoint.
2009 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2010 Test "list" with listsize 10 after reaching a breakpoint.
2011 * gdb.python/python.exp (decode_line current location line
2012 number): Adjust expected line number.
2013
2f25d70f
SM
20142014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2015
2016 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2017 behavior for $args, pass it directly to "run".
2018
ff604a67
MR
20192014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2020
2021 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2022 30000 to 65536.
2023
6a3cb8e8
PA
20242014-05-21 Pedro Alves <palves@redhat.com>
2025
2026 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2027 auto-connect-native-target off".
2028 * gdb.base/auto-connect-native-target.c: New file.
2029 * gdb.base/auto-connect-native-target.exp: New file.
2030
4ebfc96e
PA
20312014-05-21 Pedro Alves <palves@redhat.com>
2032
2033 * gdb.base/default.exp: Test "target native" instead of "target
2034 child".
2035
36d46afb
MW
20362014-05-21 Mark Wielaard <mjw@redhat.com>
2037
2038 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2039
5876f503
JK
20402014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 Fix TLS access for -static -pthread.
2043 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2044 <HAVE_TLS> (thread_function, main): Initialize it.
2045 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2046 Add clean_restart.
2047 <$have_tls != "">: Check TLSVAR.
2048
0256a6ac
PA
20492014-05-21 Pedro Alves <palves@redhat.com>
2050
2051 * gdb.base/dcache-line-read-error.c: New.
2052 * gdb.base/dcache-line-read-error.exp: New.
2053
936d2992
PA
20542014-05-20 Pedro Alves <palves@redhat.com>
2055
2056 * gdb.base/compare-sections.c: New file.
2057 * gdb.base/compare-sections.exp: New file.
2058
802e8e6d
PA
20592014-05-20 Pedro Alves <palves@redhat.com>
2060
2061 * gdb.base/break-idempotent.c: New file.
2062 * gdb.base/break-idempotent.exp: New file.
2063
e59fa00f
MM
20642014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2065
2066 * gdb.btrace/nohist.exp: New.
2067
8b696e31
YQ
20682014-05-20 Yao Qi <yao@codesourcery.com>
2069
2070 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2071 gdb.reverse directory and gdb_reverse_timeout exists in board
2072 setting.
2073 * README: Document gdb_reverse_timeout.
2074
73c9764f
YQ
20752014-05-20 Yao Qi <yao@codesourcery.com>
2076
2077 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2078 'test_file_name'. Treat args as a string instead of a list.
2079 (gdb_init): Rename argument 'args' by 'test_file_name'.
2080
f1f4348a
JK
20812014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2082
2083 * gdb.arch/powerpc-power.exp: New file.
2084 * gdb.arch/powerpc-power.s: New file.
2085
0dbe70ce
DE
20862014-05-16 Doug Evans <dje@google.com>
2087
2088 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
2089 * gdb.base/completion.exp: Check that all expected files exist
2090 before doing file completion.
0dbe70ce 2091
8d551b02
DE
20922014-05-16 Doug Evans <dje@google.com>
2093
2094 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2095 Update.
2096 (do_syscall_tests_without_xml): Update.
2097
73eb7709
PA
20982014-05-16 Pedro Alves <palves@redhat.com>
2099
2100 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2101 instead of "unknown output after running".
2102
3fae92fc
YQ
21032014-05-16 Yao Qi <yao@codesourcery.com>
2104
2105 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2106 file1.txt from host at the end.
2107 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2108
c2b2ccc5
DE
21092014-05-15 Doug Evans <dje@google.com>
2110
2111 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2112 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2113 loading file. Add test for TU lookup.
2114
8c217a4b
SM
21152014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2116
2117 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2118 calling "-exec-arguments" or "set args" before running the
2119 inferior.
2120
3deb39c6
SM
21212014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2122
2123 * lib/mi-support.exp (mi_expect_stop): Expect message for
2124 inferiors that exit with non-zero exit code.
2125
71a79f8c
YQ
21262014-05-14 Yao Qi <yao@codesourcery.com>
2127
2128 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2129 match absolute path on remote host.
2130 (test_file_list_exec_source_files): Remove "/" from the
2131 pattern.
2132
f23fcd46
YQ
21332014-05-14 Yao Qi <yao@codesourcery.com>
2134
2135 * boards/local-remote-host-notty.exp (${board}_file): New
2136 proc.
2137
9404b58f
KM
21382014-05-07 Kyle McMartin <kyle@redhat.com>
2139
2140 Pushed by Joel Brobecker <brobecker@adacore.com>.
2141 * gdb.arch/aarch64-atomic-inst.c: New file.
2142 * gdb.arch/aarch64-atomic-inst.exp: New file.
2143
5e45f04c
YQ
21442014-05-07 Yao Qi <yao@codesourcery.com>
2145
2146 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2147 in current context" too.
2148
c888a17d
KS
21492014-05-05 Keith Seitz <keiths@redhat.com>
2150
2151 * gdb.linespec/ls-dollar.exp: Add test for linespec
2152 file:convenience_variable.
2153
290a839c
YQ
21542014-05-05 Yao Qi <yao@codesourcery.com>
2155
2156 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2157 traceframes into tfile and ctf trace files. Read data from
2158 trace file and test collected data.
2159 (gdb_collect_locals_test): Likewise.
2160 (gdb_unavailable_registers_test): Likewise.
2161 (gdb_unavailable_floats): Likewise.
2162 (gdb_collect_globals_test): Likewise.
2163 (top-level): Append "ctf" to trace_file_targets if GDB
2164 supports.
2165
b5262cd0
YQ
21662014-05-05 Yao Qi <yao@codesourcery.com>
2167
2168 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2169 code to ...
2170 (gdb_collect_args_test_1): ... it. New proc.
2171 (gdb_collect_locals_test): Move some code to ...
2172 (gdb_collect_locals_test_1): ... it. New proc.
2173 (gdb_unavailable_registers_test): Move some code to ...
2174 (gdb_unavailable_registers_test_1): ... it. New proc.
2175 (gdb_unavailable_floats): Move some code to ...
2176 (gdb_unavailable_floats_1): ... it. New proc.
2177
30a1e6cc
SDJ
21782014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2179
2180 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2181 probes to test for bitness recognition.
2182 * gdb.arch/amd64-stap-optional-prefix.exp
2183 (test_probe_value_without_reg): New procedure.
2184 Add code to test for different kinds of bitness.
2185
f33da99a
SDJ
21862014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2187
2188 PR breakpoints/16889
2189 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2190 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2191
5b80f00d
PA
21922014-05-01 Pedro Alves <palves@redhat.com>
2193
2194 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2195 gdb_file_cmd if no file is specified.
2196 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2197 last_loaded_file to set the remote exec-file.
2198
f8c2a73c
PA
21992014-05-01 Pedro Alves <palves@redhat.com>
2200
2201 * boards/local-remote-host.exp: New file.
2202
be6e8ac7
PA
22032014-05-01 Pedro Alves <palves@redhat.com>
2204
2205 * boards/local-remote-host.exp: Rename to ...
2206 * boards/local-remote-host-notty.exp: ... this.
2207
cac0dc8f
JB
22082014-04-28 Joel Brobecker <brobecker@adacore.com>
2209
2210 * gdb.ada/dyn_arrayidx: New testcase.
2211
9730e6cc
YQ
22122014-04-26 Yao Qi <yao@codesourcery.com>
2213
2214 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2215 and compute the length of function main. Save it in
2216 $main_length.
2217 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2218 (top-level): Use gdb_compile to compile objects into
2219 executable and restart GDB. Remove invocation to
2220 prepare_for_testing.
2221
7ae1a6a6
PA
22222014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2223 Pedro Alves <palves@redhat.com>
2224
2225 PR server/16255
2226 * gdb.multi/multi-attach.c: New file.
2227 * gdb.multi/multi-attach.exp: New file.
2228
4082afcc
PA
22292014-04-25 Pedro Alves <palves@redhat.com>
2230
2231 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2232 user.
2233 (top level): Test that "set remote conditional-breakpoints-packet
2234 off" works as intended.
2235 * gdb.base/dprintf.exp: Test that "set remote
2236 breakpoint-commands-packet off" works as intended.
2237 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2238 New function.
2239 (top level): Call it.
2240 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2241 remote fast-tracepoints-packet off" works as intended.
2242 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2243 * lib/gdb.exp (gdb_is_target_remote): ... here.
2244
2abc3f8d
DB
22452014-04-24 David Blaikie <dblaikie@gmail.com>
2246
2247 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2248 ensure clang would not discard them.
2249 * gdb.base/gdbvars.c: Ditto.
2250 * gdb.base/memattr.c: Ditto.
2251 * gdb.base/whatis.c: Ditto.
2252 * gdb.python/py-prettyprint.c: Ditto.
2253 * gdb.trace/actions.c: Ditto.
2254 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2255 ensure clang would not discard it.
2256
bfd39632
DB
22572014-04-24 David Blaikie <dblaikie@gmail.com>
2258
2259 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2260 clang to emit the full definition of type required by the test
2261 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2262
22842ff6
DB
22632014-04-24 David Blaikie <dblaikie@gmail.com>
2264
2265 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2266 coax Clang into emitting the definition of the type.
2267 * gdb.cp/pr10728-x.h (y): Ditto.
2268 * gdb.cp/pr10728-y.cc (y): Ditto.
2269
c2e827ad
DB
22702014-04-24 David Blaikie <dblaikie@gmail.com>
2271
2272 * gdb.base/label.exp: XFAIL label related tests under Clang.
2273 * gdb.cp/cplabel.exp: Ditto.
2274 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2275 under Clang those using labels.
2276
4c2d33e7
YQ
22772014-04-25 Yao Qi <yao@codesourcery.com>
2278
2279 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2280 double_label.
2281 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2282 partial_label and double_label.
2283
56083b99
DB
22842014-04-24 David Blaikie <dblaikie@gmail.com>
2285
2286 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2287
25d4e99d
DB
22882014-04-24 David Blaikie <dblaikie@gmail.com>
2289
2290 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2291 of the function to work across GCC and Clang.
2292 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2293 pointer types (const void ** const V void **).
2294
01f9f808
MS
22952014-04-24 Michael Sturm <michael.sturm@mintel.com>
2296 Walfred Tedeschi <walfred.tedeschi@intel.com>
2297
2298 * Makefile.in (EXECUTABLES): Added i386-avx512.
2299 * gdb.arch/i386-avx512.c: New file.
2300 * gdb.arch/i386-avx512.exp: Likewise.
2301
4b48d439
KS
23022014-04-23 Keith Seitz <keiths@redhat.com>
2303
2304 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2305 (mi_make_breakpoint_table): New procedure.
2306 (mi_create_breakpoint): Use mi_make_breakpoint
2307 and return the result.
2308 (mi_make_breakpoint): New procedure.
2309 (mi_build_kv_pairs): New procedure.
2310
2311 * gdb.mi/mi-break.exp: Remove unused globals,
2312 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2313 All callers updated.
2314 * gdb.mi/mi-dprintf.exp: Use variable to track command
2315 number.
2316 Update all callers of mi_create_breakpoint and use
2317 mi_make_breakpoint_table.
2318 Remove any unused global variables.
2319 * gdb.mi/mi-nonstop.exp: Likewise.
2320 * gdb.mi/mi-nsintrall.exp: Likewise.
2321 * gdb.mi/mi-nsmoribund.exp: Likewise.
2322 * gdb.mi/mi-nsthrexec.exp: Likewise.
2323 * gdb.mi/mi-reverse.exp: Likewise.
2324 * gdb.mi/mi-simplerun.exp: Likewise.
2325 * gdb.mi/mi-stepn.exp: Likewise.
2326 * gdb.mi/mi-syn-frame.exp: Likewise.
2327 * gdb.mi/mi-until.exp: Likewise.
2328 * gdb.mi/mi-var-cp.exp: Likewise.
2329 * gdb.mi/mi-var-display.exp: Likewise.
2330 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2331 * gdb.mi/mi2-var-child.exp: Likewise.
2332 * gdb.mi/mi-vla-c99.exp: Likewise.
2333 * lib/mi-support.exp: Likewise.
2334
2335 From Ian Lance Taylor <iant@cygnus.com>:
2336 * lib/gdb.exp (parse_args): New procedure.
2337
08351840
PA
23382014-04-23 Pedro Alves <palves@redhat.com>
2339
2340 * gdb.base/break-unload-file.c: New file.
2341 * gdb.base/break-unload-file.exp: New file.
2342 * gdb.base/sym-file-lib.c (baz): New function.
2343 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2344 field.
2345 (load): Store the segment's mapped size.
2346 (unload): New function.
2347 (unload_shlib): New function.
2348 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2349 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2350 set a breakpoint at baz, and call it.
2351 * gdb.base/sym-file.exp: New tests for stale breakpoint
2352 instructions.
2353
076855f9
PA
23542014-04-23 Pedro Alves <palves@redhat.com>
2355
2356 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2357 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2358 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2359 * gdb.base/hbreak-unmapped.c: New file.
2360 * gdb.base/hbreak-unmapped.exp: New file.
2361 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2362 * lib/gdb.exp (gdb_is_target_remote): ... here.
2363
483805cf
PA
23642014-04-22 Pedro Alves <palves@redhat.com>
2365
2366 * gdb.base/consecutive-step-over.c: New file.
2367 * gdb.base/consecutive-step-over.exp: New file.
2368
06d97543
PA
23692014-04-22 Pedro Alves <palves@redhat.com>
2370
2371 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2372 instead of send_gdb/gdb_expect.
2373
b4429ea2
YQ
23742014-04-22 Yao Qi <yao@codesourcery.com>
2375
2376 * lib/trace-support.exp (generate_tracefile): New procedure.
2377 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2378 return 0.
2379 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2380 if generate_tracefile returns 1.
2381
51d48146
PA
23822014-04-18 Tom Tromey <palves@redhat.com>
2383 Pedro alves <tromey@redhat.com>
2384
2385 PR backtrace/15558
2386 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2387 with a backtrace limit.
2388 * gdb.python/py-frame-inline.exp: Test running to an inline
2389 function with a backtrace limit, and printing the newest frame.
2390 * gdb.python/py-frame-inline.c (main): Call f.
2391
bd1dce5f
MS
23922014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2393
2394 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2395
40d1a503
MS
23962014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2397
2398 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2399 Drop prefix from unsupported source file path.
2400
389b98f7
YQ
24012014-04-17 Yao Qi <yao@codesourcery.com>
2402
2403 * lib/gdb.exp (with_target_charset): New proc.
2404 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2405 with_target_charset.
2406 (test_print_strings): Likewise.
2407 (test_repeat_bytes): Likewise.
2408 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2409 for some tests.
2410
22869d73
KS
24112014-04-16 Keith Seitz <keiths@redhat.com>
2412
2413 PR gdb/15827
2414 * gdb.dwarf2/corrupt.c: New file.
2415 * gdb.dwarf2/corrupt.exp: New file.
2416
c4f87ca6
KS
24172014-04-16 Keith Seitz <keiths@redhat.com>
2418
2419 PR c++/16597
2420 * gdb.cp/namelessclass.cc: New file.
2421 * gdb.cp/namelessclass.exp: New file.
2422 * gdb.cp/namelessclass.S: New file.
2423
ab19de87
DE
24242014-04-16 Doug Evans <dje@google.com>
2425
2426 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2427 Add comment.
2428 (gdbserver_default_get_comm_port): New function.
2429 (gdbserver_start): Check if board file provided
2430 "gdbserver,get_comm_port" and use it if so.
2431 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2432 (gdb,socketport): Set to "stdio".
2433 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2434 (stdio_gdbserver_template): Delete.
2435 (${board}_get_remote_address): Update.
2436 (${board}_build_remote_cmd): Delete.
2437 (${board}_get_comm_port): New function.
2438 (${board}_spawn): Update.
2439 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2440 Delete.
2441 (${board}_get_remote_address): Update.
2442 (${board}_get_comm_port): New function.
2443
fc98a809
AB
24442014-04-16 Andrew Burgess <aburgess@broadcom.com>
2445
2446 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2447 appearing in any order.
2448
87fd9e6e
DE
24492014-04-15 Doug Evans <dje@google.com>
2450
2451 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2452 uninitialized value of "description".
2453
099fc3ea
KS
24542014-04-15 Keith Seitz <keiths@redhat.com>
2455
2456 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2457 Remove unused globals.
2458 (test_running_the_program): Likewise.
2459 (test_controlled_execution): Likewise.
2460 (test_controlling_breakpoints): Likewise.
2461 (test_program_termination): Likewise.
2462
5da151d4
KS
24632014-04-15 Keith Seitz <keiths@redhat.com>
2464
2465 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2466 unused globals.
2467 (test_rbreak_creation_and_listing): Likewise.
2468 (test_ignore_count): Likewise.
2469 (test_error): Likewise.
2470
35e5d2f0
PA
24712014-04-15 Pedro Alves <palves@redhat.com>
2472
2473 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2474 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2475 sym-file-loader.c.
2476 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2477 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2478 to sym-file-loader.c.
2479 (struct library): Forward declare.
2480 (load_shlib, lookup_function): Change prototypes.
2481 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2482 (translate_offset): Remove declarations.
2483 (get_text_addr): New declaration.
2484 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2485 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2486 sym-file-loader.h.
2487 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2488 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2489 here from sym-file-loader.h.
2490 (struct library): New structure.
2491 (load_shlib, lookup_function): Change prototypes and adjust to
2492 work with a struct library.
2493 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2494 (translate_offset): Make static.
2495 (get_text_addr): New function.
2496 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2497
eb4c1710
PA
24982014-04-15 Pedro Alves <palves@redhat.com>
2499
2500 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2501
2d1baf52
PA
25022014-04-15 Pedro Alves <palves@redhat.com>
2503
2504 * gdb.base/sym-file-loader.c: Include <limits.h>.
2505 (SELF_LINK): New define.
2506 (get_origin): New function.
2507 (load_shlib): Use it.
2508 * gdb.base/sym-file.exp: Don't early return if the target is
2509 remote. Use runto_main, and issue fail is that fails. Use
2510 gdb_load_shlibs.
2511 (shlib_name): Delete.
2512 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2513
7dd6df01
PA
25142014-04-15 Pedro Alves <palves@redhat.com>
2515
2516 * gdb.base/sym-file.exp: Remove regex characters from test
2517 message. Don't refer to breakpoint numbers in test messages.
2518
b50c8614
KS
25192014-04-14 Keith Seitz <keiths@redhat.com>
2520
2521 PR c++/16253
2522 * gdb.cp/var-tag.cc: New file.
2523 * gdb.cp/var-tag.exp: New file.
2524 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2525 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2526 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2527 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2528
3d567982
TT
25292014-04-14 Tom Tromey <tromey@redhat.com>
2530
2531 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2532 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2533 type.
2534 * gdb.cp/enum-class.exp: New file.
2535 * gdb.cp/enum-class.cc: New file.
2536
0626fc76
TT
25372014-04-14 Tom Tromey <tromey@redhat.com>
2538
2539 * gdb.dwarf2/enum-type.exp: New file.
2540
dca325b3
SA
25412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2542
2543 * gdb.mi/mi-vla-c99.exp: New file.
2544 * gdb.mi/vla.c: New file.
2545
5854b38a
SA
25462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2547
2548 * gdb.base/vla-datatypes.c: New file.
2549 * gdb.base/vla-datatypes.exp: New file.
2550
463bb957
SA
25512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2552
2553 * gdb.base/vla-ptr.c: New file.
2554 * gdb.base/vla-ptr.exp: New file.
2555
3dd170be
SA
25562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2557
2558 * gdb.dwarf2/count.exp: New file.
2559
5ecaaa66
SA
25602014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2561
2562 * gdb.base/vla-sideeffect.c: New file.
2563 * gdb.base/vla-sideeffect.exp: New file.
2564
41f1ada5
DB
25652014-04-14 David Blaikie <dblaikie@gmail.com>
2566
2567 * gdb.mi/non-stop.c: Add return value for non-void function return
2568 statement.
2569 * gdb.threads/staticthreads.c: Ditto.
2570
0be03e84
DE
25712014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2572 Doug Evans <xdje42@gmail.com>
2573
2574 * gdb.guile/scm-value.c: Improve test case.
2575 * gdb.guile/scm-value.exp: Add new test.
2576
f180a1fb
DB
25772014-04-11 David Blaikie <dblaikie@gmail.com>
2578
2579 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2580 override Clang's default.
2581
6b662e19
JB
25822014-04-11 Joel Brobecker <brobecker@adacore.com>
2583
2584 Revert the following changes (regressions):
2585
2586 * gdb.base/vla-sideeffect.c: New file.
2587 * gdb.base/vla-sideeffect.exp: New file.
2588
2589 * gdb.dwarf2/count.exp: New file.
2590
2591 * gdb.base/vla-multi.c: New file.
2592 * gdb.base/vla-multi.exp: New file.
2593
2594 * gdb.base/vla-ptr.c: New file.
2595 * gdb.base/vla-ptr.exp: New file.
2596
2597 * gdb.base/vla-datatypes.c: New file.
2598 * gdb.base/vla-datatypes.exp: New file.
2599
2600 * gdb.mi/mi-vla-c99.exp: New file.
2601 * gdb.mi/vla.c: New file.
2602
245a5f0b
KS
26032014-04-11 Keith Seitz <keiths@redhat.com>
2604
2605 PR c++/16675
2606 * gdb.cp/cpsizeof.exp: New file.
2607 * gdb.cp/cpsizeof.cc: New file.
2608
58a84dcf
SA
26092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2610
191a8a90
JB
2611 * gdb.mi/mi-vla-c99.exp: New file.
2612 * gdb.mi/vla.c: New file.
58a84dcf 2613
c8655f75
SA
26142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2615
2616 * gdb.base/vla-datatypes.c: New file.
2617 * gdb.base/vla-datatypes.exp: New file.
2618
024e13b4
SA
26192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2620
2621 * gdb.base/vla-ptr.c: New file.
2622 * gdb.base/vla-ptr.exp: New file.
2623
1a237e0e
SA
26242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2625
2626 * gdb.base/vla-multi.c: New file.
2627 * gdb.base/vla-multi.exp: New file.
2628
504f3432
SA
26292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2630
2631 * gdb.dwarf2/count.exp: New file.
2632
3bce8237
SA
26332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2634
191a8a90
JB
2635 * gdb.base/vla-sideeffect.c: New file.
2636 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2637
322f9c21
YQ
26382014-04-11 Yao Qi <yao@codesourcery.com>
2639
2640 * gdb.base/completion.exp: Check file exists before running tests
2641 on file completion.
2642
d708bcd1
PA
26432014-04-10 Pedro Alves <palves@redhat.com>
2644
2645 * gdb.base/cond-eval-mode.c: New file.
2646 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2647 prepare_for_testing to build the new file. Check result of
2648 runto_main.
2649 (test_break, test_watch): New procedures.
2650 (top level): Use them.
2651
ae1d2761
PM
26522014-04-08 Pierre Muller <muller@sourceware.org>
2653
2654 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2655 Ctrl-V use for mingw hosts.
2656
7af389b8
SC
26572014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2658
2659 * gdb.python/py-value.c: Improve test case.
2660 * gdb.python/py-value.exp: Add new test.
2661
5e703181
DE
26622014-04-07 David Blaikie <dblaikie@gmail.com>
2663
2664 * lib/compiler.c: Identify the clang compiler.
2665 * lib/compiler.cc: Ditto.
2666
9810b410
YQ
26672014-04-03 Yao Qi <yao@codesourcery.com>
2668
2669 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2670
98d1b8dc
AB
26712014-04-01 Anton Blanchard <anton@samba.org>
2672
2673 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2674 messages unique.
2675
3114cea1
AB
26762014-04-01 Anton Blanchard <anton@samba.org>
2677
2678 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2679 prepare_for_testing.
2680
62f7182c
AB
26812014-04-01 Anton Blanchard <anton@samba.org>
2682
2683 * gdb.arch/ppc64-atomic-inst.c: Remove.
2684 * gdb.arch/ppc64-atomic-inst.S: New file.
2685 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2686
770e7fc7
DE
26872014-03-31 Doug Evans <dje@google.com>
2688
2689 * gdb.base/print-symbol-loading-lib.c: New file.
2690 * gdb.base/print-symbol-loading-main.c: New file.
2691 * gdb.base/print-symbol-loading.exp: New file.
2692
46e2bafa
YQ
26932014-03-31 Yao Qi <yao@codesourcery.com>
2694
2695 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2696
8776cfe9
JB
26972014-03-28 Joel Brobecker <brobecker@adacore.com>
2698
2699 * gdb.ada/mi_dyn_arr: New testcase.
2700
5d1ef361
DE
27012014-03-27 Doug Evans <dje@google.com>
2702
2703 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2704
b5bee914
YQ
27052014-03-27 Yao Qi <yao@codesourcery.com>
2706
2707 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2708 if target is nios2-*-*.
2709
0d4d0e77
YQ
27102014-03-26 Yao Qi <yao@codesourcery.com>
2711
2712 * lib/gdb.exp (readline_is_used): New proc.
2713 * gdb.base/completion.exp: Move tests on command complete up.
2714 Skip the rest of tests if readline is not used.
2715 * gdb.ada/complete.exp: Skp the test if readline is not
2716 used.
2717 * gdb.base/filesym.exp: Likewise.
2718 * gdb.base/macscp.exp: Likewise.
2719 * gdb.base/readline-ask.exp: Likewise.
2720 * gdb.base/readline.exp: Likewise.
2721 * gdb.python/py-cmd.exp: Likewise.
2722 * gdb.trace/tfile.exp: Likewise.
2723
29361eee
YQ
27242014-03-26 Yao Qi <yao@codesourcery.com>
2725
2726 * gdb.base/macscp.exp: Fix code format issues.
2727
bc9a5525
UW
27282014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2729
2730 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2731 * gdb.asm/powerpc64le.inc: New file.
2732
d3839ede
PA
27332014-03-25 Pedro Alves <palves@redhat.com>
2734 Doug Evans <dje@google.com>
2735
2736 * gdb.base/source-execution.c: New file.
2737 * gdb.base/source-execution.exp: New file.
2738 * gdb.base/source-execution.gdb: New file.
2739
01672a57
DE
27402014-03-24 Doug Evans <dje@google.com>
2741
2742 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2743 using fission.
2744
88bbeca9
HZ
27452014-03-24 Hui Zhu <hui@codesourcery.com>
2746 Pedro Alves <palves@redhat.com>
2747
2748 PR breakpoints/16101
2749 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2750 test pass/fail messages. Detect missing support for dprintf when
2751 breakpoints are actually inserted.
2752 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2753 breakpoints are actually inserted.
2754 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2755 fails.
2756
d2348791
JK
27572014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2758
2759 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2760
feef67ab
DE
27612014-03-22 Doug Evans <xdje42@gmail.com>
2762
2763 * gdb.python/python.exp (python not supported): Verify multi-line
2764 python command issues an error.
25d743f9 2765 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2766 guile command issues an error.
feef67ab 2767
ecebef6a
MR
27682014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2769
2770 * gdb.threads/thread-specific.exp: Handle the lack of usable
2771 $this_breakpoint and $this_thread.
2772
ccdd1909
HZ
27732014-03-21 Hui Zhu <hui@codesourcery.com>
2774
2775 * gdb.base/attach.exp (do_command_attach_tests): New.
2776
beb460e8
PA
27772014-03-20 Tom Tromey <tromey@redhat.com>
2778 Pedro Alves <palves@redhat.com>
2779
2780 PR cli/15718
2781 * gdb.base/condbreak-call-false.c: New file.
2782 * gdb.base/condbreak-call-false.exp: New file.
2783
40acf43a
PA
27842014-03-20 Pedro Alves <palves@redhat.com>
2785
2786 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2787 Delete.
2788 (block_signals, unblock_signals): Delete.
2789 (child_function_2, main): Remove references to deleted variable
2790 and functions.
2791
9f5e1e02
PA
27922014-03-20 Pedro Alves <palves@redhat.com>
2793
2794 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2795 Use pthread_kill to signal thread 2.
2796 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2797 Adjust to make the test send itself a signal rather than using the
2798 host's "kill" command.
2799
99619bea
PA
28002014-03-20 Pedro Alves <palves@redhat.com>
2801
2802 * gdb.threads/multiple-step-overs.c: New file.
2803 * gdb.threads/multiple-step-overs.exp: New file.
2804 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2805 Adjust expected infrun debug output.
2806
2adfaa28
PA
28072014-03-20 Pedro Alves <palves@redhat.com>
2808
2809 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2810 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2811
31e77af2
PA
28122014-03-20 Pedro Alves <palves@redhat.com>
2813
2814 PR breakpoints/7143
2815 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2816 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2817 of gdb_test_multiple.
2818 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2819 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2820
b9f437de
PA
28212014-03-20 Pedro Alves <palves@redhat.com>
2822
2823 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2824 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2825
05adc73e
PA
28262014-03-19 Pedro Alves <palves@redhat.com>
2827
2828 * gdb.base/async.exp: Remove early return.
2829
6048b950
PA
28302014-03-19 Pedro Alves <palves@redhat.com>
2831
2832 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2833
8bcfb00a
PA
28342014-03-19 Pedro Alves <palves@redhat.com>
2835
2836 * gdb.base/async.exp (test_background): Expect \r\n after
2837 "completed." in the fail pattern.
2838
884e37dc
PA
28392014-03-19 Pedro Alves <palves@redhat.com>
2840
2841 * gdb.base/async.exp (test_background): New procedure.
2842 Use it for all background execution command tests.
2843
148e57e2
PA
28442014-03-19 Pedro Alves <palves@redhat.com>
2845
2846 * gdb.base/async.exp: Use prepare_for_testing.
2847
f48088c7
PA
28482014-03-19 Pedro Alves <palves@redhat.com>
2849
2850 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2851 the same line.
2852
e2f6c966
PA
28532014-03-19 Pedro Alves <palves@redhat.com>
2854
2855 * gdb.base/async.c (main): Add "jump here" and "until here" line
2856 marker comments.
2857 * gdb.base/async.exp (jump_here): New global.
2858 (jump& test): Use it.
2859 (until_here): New global.
2860 (until& test): Use it.
2861
c30568d4
PA
28622014-03-19 Pedro Alves <palves@redhat.com>
2863
2864 * gdb.base/async.exp: Don't frob gdb_protocol.
2865
0172b6a7
DE
28662014-03-18 Doug Evans <xdje42@gmail.com>
2867
2868 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2869 Fix spelling of exec-done-display.
2870
06c868a8
JK
28712014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2872
2873 PR gdb/15358
2874 * gdb.base/gdb-sigterm.c: New file.
2875 * gdb.base/gdb-sigterm.exp: New file.
2876
0c7e1a46
PA
28772014-03-18 Pedro Alves <palves@redhat.com>
2878
2879 PR gdb/13860
2880 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2881 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2882 solib-event.
2883
f7c77d93
JB
28842014-03-17 Joel Brobecker <brobecker@adacore.com>
2885
2886 * gdb.ada/pckd_arr_ren: New testcase.
2887
5a1e8c7a
DE
28882014-03-13 Doug Evans <xdje42@gmail.com>
2889
2890 PR guile/16612
2891 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2892 collect after discarding symbols.
2893
350e1a76
DE
28942014-03-13 Ludovic Courtès <ludo@gnu.org>
2895 Doug Evans <xdje42@gmail.com>
2896
2897 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2898 to history survives a gc.
2899
a69900ae
PA
29002014-03-13 Pedro Alves <palves@redhat.com>
2901
2902 * gdb.base/default.exp: Don't test "target procfs".
2903
5db9f0bd
PA
29042014-03-13 Pedro Alves <palves@redhat.com>
2905
2906 * gdb.base/default.exp: Update "target child" and "target procfs"
2907 tests to not expect "Unix".
2908
b3ccfe11
TT
29092014-03-12 Tom Tromey <tromey@redhat.com>
2910
2911 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2912 New procs. Add target-async tests.
2913 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2914 Add target-async tests.
2915
646f4417
AA
29162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2917
2918 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2919 'func_start' and 'func_end' for the beginning and end of the
2920 function code, respectively.
2921 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2922 'func_end' instead of 'func' and 'main'.
2923
288c211f
AA
29242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2925
2926 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2927 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2928 generate the debug info assembler source.
2929
e0c0f156
AA
29302014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2931
2932 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2933 * gdb.dwarf2/arr-subrange.exp: Likewise.
2934 * gdb.dwarf2/dwz.exp: Likewise.
2935 * gdb.dwarf2/method-ptr.exp: Likewise.
2936 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2937 * gdb.dwarf2/subrange.exp: Likewise.
2938 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2939 * gdb.dwarf2/implptrpiece.exp: Likewise.
2940 * gdb.dwarf2/nostaticblock.exp: Likewise.
2941
0e5c4555
AA
29422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2943
2944 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2945 directory to absolute path name arguments.
2946
5ec18f2b
JG
29472014-03-10 Joel Brobecker <brobecker@adacore.com>
2948
2949 * gdb.ada/tagged_access: New testcase.
2950
847fc4f2
MM
29512014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2952
2953 * gdb.btrace/data.exp: Update expected output.
2954
cc3da688
YQ
29552014-03-06 Yao Qi <yao@codesourcery.com>
2956
2957 * gdb.trace/pr16508.exp: New file.
2958
0f26cec1
PA
29592014-03-05 Pedro Alves <palves@redhat.com>
2960
2961 PR gdb/16575
2962 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2963 procedure.
2964 (top level): Adjust to use it. Add tests that exercise breakpoint
2965 interaction with the code-cache.
2966
7a5a839f
LC
29672014-02-26 Ludovic Courtès <ludo@gnu.org>
2968
2969 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2970 test for 'history-append!'.
2971
31aa7e4e
JB
29722014-02-26 Joel Brobecker <brobecker@adacore.com>
2973
2974 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2975 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2976 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2977 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2978 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2979 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2980
1b588015
JB
29812014-02-26 Joel Brobecker <brobecker@adacore.com>
2982
2983 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2984 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2985 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2986
55426c9d
JB
29872014-02-26 Joel Brobecker <brobecker@adacore.com>
2988
2989 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2990
dc53a7ad
JB
29912014-02-26 Joel Brobecker <brobecker@adacore.com>
2992
2993 * gdb.dwarf2/arr-stride.c: New file.
2994 * gdb.dwarf2/arr-stride.exp: New file.
2995
12ab52e9
PA
29962014-02-26 Pedro Alves <palves@redhat.com>
2997
2998 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2999 that won't ever trigger. Make sure that GDB reports the correct
3000 breakpoint that caused the stop.
3001
849c862e
JK
30022014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3003
3004 PR gdb/16626
3005 * gdb.base/auto-load-script: New file.
3006 * gdb.base/auto-load.c: New file.
3007 * gdb.base/auto-load.exp: New file.
3008
71b7d793
JK
3009 PR gdb/16626
3010 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3011
e2f0d509
JK
30122014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3015 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3016
50cc37c8
DE
30172014-02-24 Doug Evans <dje@google.com>
3018
3019 * lib/gdb.exp (run_on_host): Log error output if program fails.
3020
ea4758f2
PA
30212014-02-21 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.threads/step-after-sr-lock.c: Rename to ...
3024 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3025 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3026 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3027 ... this.
3028
d7b30f67
SDJ
30292014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3030
3031 PR tdep/16397
3032 * gdb.arch/amd64-stap-special-operands.exp: New file.
3033 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3034 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3035 * gdb.arch/amd64-stap-triplet.S: Likewise.
3036 * gdb.arch/amd64-stap-triplet.c: Likewise.
3037
83deb43f
JB
30382014-02-20 Joel Brobecker <brobecker@adacore.com>
3039
3040 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3041 in .section pseudo-op.
3042
adde2bff
DE
30432014-02-20 lin zuojian <manjian2006@gmail.com>
3044 Joel Brobecker <brobecker@adacore.com>
3045 Doug Evans <xdje42@gmail.com>
3046
3047 PR symtab/16581
3048 * gdb.dwarf2/dw2-icycle.S: New file.
3049 * gdb.dwarf2/dw2-icycle.c: New file.
3050 * gdb.dwarf2/dw2-icycle.exp: New file.
3051
f7bd0f78
SC
30522014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3053
3054 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3055 operations on gdb.Value objects.
3056 * gdb.python/py-value-cc.exp: Add new test to test operations on
3057 gdb.Value objects.
3058
c17ef0d5
DE
30592014-02-18 Doug Evans <dje@google.com>
3060
3061 * Makefile.in (TESTS): New variable.
3062 (expanded_tests, expanded_tests_or_none): New variables
3063 (check-single): Pass $(expanded_tests_or_none) to runtest.
3064 (check-parallel): Only run tests in $(TESTS) if non-empty.
3065 (check/no-matching-tests-found): New rule.
3066 * README: Document TESTS makefile variable.
3067
5dd3176f
DE
30682014-02-18 Doug Evans <dje@google.com>
3069
3070 * Makefile.in (check-parallel): rm -rf outputs temp.
3071
0b10be4f
JK
30722014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3073
3074 Fix "ERROR: no fileid for" in the testsuite.
3075 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3076
85f224e7
DE
30772014-02-12 Doug Evans <dje@google.com>
3078
3079 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3080 (MISCELLANEOUS): New variable.
3081 (clean): rm -rf $(MISCELLANEOUS).
3082 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3083 dwp live in the same directory as symlinks, with each symlink pointed
3084 to a differently named file in a different directory.
3085
149b30ff
DE
30862014-02-11 Doug Evans <dje@google.com>
3087
3088 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3089 of Tcl file commands.
3090
1dfdac32
MK
30912014-02-10 Mark Kettenis <kettenis@gnu.org>
3092
3093 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3094 "kill -SIGUSR1 -1".
3095
aa4fb036
JB
30962014-02-10 Joel Brobecker <brobecker@adacore.com>
3097
3098 * gdb.ada/tick_length_array_enum_idx: New testcase.
3099
ed3ef339
DE
31002014-02-10 Doug Evans <xdje42@gmail.com>
3101
3102 * configure.ac (AC_OUTPUT): Add gdb.guile.
3103 * configure: Regenerate.
3104 * lib/gdb-guile.exp: New file.
3105 * lib/gdb.exp (get_target_charset): New function.
3106 * gdb.base/help.exp: Update expected output from "apropos apropos".
3107 * gdb.guile/Makefile.in: New file.
3108 * gdb.guile/guile.exp: New file.
3109 * gdb.guile/scm-arch.c: New file.
3110 * gdb.guile/scm-arch.exp: New file.
3111 * gdb.guile/scm-block.c: New file.
3112 * gdb.guile/scm-block.exp: New file.
3113 * gdb.guile/scm-breakpoint.c: New file.
3114 * gdb.guile/scm-breakpoint.exp: New file.
3115 * gdb.guile/scm-disasm.c: New file.
3116 * gdb.guile/scm-disasm.exp: New file.
3117 * gdb.guile/scm-equal.c: New file.
3118 * gdb.guile/scm-equal.exp: New file.
3119 * gdb.guile/scm-error.exp: New file.
3120 * gdb.guile/scm-error.scm: New file.
3121 * gdb.guile/scm-frame-args.c: New file.
3122 * gdb.guile/scm-frame-args.exp: New file.
3123 * gdb.guile/scm-frame-args.scm: New file.
3124 * gdb.guile/scm-frame-inline.c: New file.
3125 * gdb.guile/scm-frame-inline.exp: New file.
3126 * gdb.guile/scm-frame.c: New file.
3127 * gdb.guile/scm-frame.exp: New file.
3128 * gdb.guile/scm-generics.exp: New file.
3129 * gdb.guile/scm-gsmob.exp: New file.
3130 * gdb.guile/scm-iterator.c: New file.
3131 * gdb.guile/scm-iterator.exp: New file.
3132 * gdb.guile/scm-math.c: New file.
3133 * gdb.guile/scm-math.exp: New file.
3134 * gdb.guile/scm-objfile-script-gdb.in: New file.
3135 * gdb.guile/scm-objfile-script.c: New file.
3136 * gdb.guile/scm-objfile-script.exp: New file.
3137 * gdb.guile/scm-objfile.c: New file.
3138 * gdb.guile/scm-objfile.exp: New file.
3139 * gdb.guile/scm-ports.exp: New file.
3140 * gdb.guile/scm-pretty-print.c: New file.
3141 * gdb.guile/scm-pretty-print.exp: New file.
3142 * gdb.guile/scm-pretty-print.scm: New file.
3143 * gdb.guile/scm-section-script.c: New file.
3144 * gdb.guile/scm-section-script.exp: New file.
3145 * gdb.guile/scm-section-script.scm: New file.
3146 * gdb.guile/scm-symbol.c: New file.
3147 * gdb.guile/scm-symbol.exp: New file.
3148 * gdb.guile/scm-symtab-2.c: New file.
3149 * gdb.guile/scm-symtab.c: New file.
3150 * gdb.guile/scm-symtab.exp: New file.
3151 * gdb.guile/scm-type.c: New file.
3152 * gdb.guile/scm-type.exp: New file.
3153 * gdb.guile/scm-value-cc.cc: New file.
3154 * gdb.guile/scm-value-cc.exp: New file.
3155 * gdb.guile/scm-value.c: New file.
3156 * gdb.guile/scm-value.exp: New file.
3157 * gdb.guile/source2.scm: New file.
3158 * gdb.guile/types-module.cc: New file.
3159 * gdb.guile/types-module.exp: New file.
3160
7026a7c1
YQ
31612014-02-10 Yao Qi <yao@codesourcery.com>
3162
3163 PR testsuite/16543
3164 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3165 * configure: Regenerated.
3166 * Makefile.in: New file.
3167
6c466447
AS
31682014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3169
3170 * gdb.python/py-framefilter.exp: Fix typo.
3171
6e854735
YQ
31722014-02-08 Yao Qi <yao@codesourcery.com>
3173
3174 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3175 that no =breakpoint-modified is emitted when breakpoints are
3176 modified through MI commands.
3177
d137e6dc
PA
31782014-02-07 Pedro Alves <pedro@codesourcery.com>
3179 Pedro Alves <palves@redhat.com>
3180
3181 * gdb.threads/step-after-sr-lock.c: New file.
3182 * gdb.threads/step-after-sr-lock.exp: New file.
3183
b5ee5a50
PA
31842014-02-07 Pedro Alves <palves@redhat.com>
3185
3186 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3187
3c77faf3
JK
31882014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3189
3190 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3191 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3192
6dddc817
DE
31932014-02-06 Doug Evans <xdje42@gmail.com>
3194
3195 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3196 output.
3197
3198 * gdb.gdb/python-interrupts.exp: New file.
3199
de7b2893
YQ
32002014-02-05 Yao Qi <yao@codesourcery.com>
3201
3202 * gdb.trace/report.exp (use_collected_data): Test the output
3203 of "info threads" and "info inferiors".
3204
66d032ac
YQ
32052014-02-05 Yao Qi <yao@codesourcery.com>
3206
3207 Revert this patch:
3208
3209 2013-05-24 Yao Qi <yao@codesourcery.com>
3210
3211 * gdb.trace/tfile.exp: Test inferior and thread.
3212
591a12a1
UW
32132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3214
3215 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3216 on a function.
3217 * gdb.base/step-bt.c: Call hello via function pointer to make
3218 sure its first instruction is executed on powerpc64le-linux.
3219
0ff3e01f
UW
32202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3221
3222 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3223
084ee545
UW
32242014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3225
3226 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3227 of the test patterns for use on little-endian systems.
3228
6ed14ff3
UW
32292014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3230
3231 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3232 (decimal_vector): Fix for little-endian.
3233
401e27fd
JM
32342014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3235
3236 * gdb.arch/sparc-sysstep.exp: New file.
3237 * gdb.arch/sparc-sysstep.c: Likewise.
3238
3239 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3240
8b924729
EBM
32412014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3242
3243 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3244
fb151210
JB
32452014-01-23 Tom Tromey <tromey@redhat.com>
3246
3247 * gdb.ada/array_char_idx: New testcase.
3248
0740f8d8
TT
32492014-01-23 Tom Tromey <tromey@redhat.com>
3250
3251 PR python/16487:
3252 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3253 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3254 classes.
3255
21909fa1
TT
32562014-01-23 Tom Tromey <tromey@redhat.com>
3257
3258 PR python/16491:
3259 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3260 string from an inferior frame.
3261 * gdb.python/py-framefilter-mi.exp: Update.
3262
87ce2a04
DE
32632014-01-22 Doug Evans <dje@google.com>
3264
3265 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3266
237b092b
AA
32672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3268
3269 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3270
d674a709
AA
32712014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3272
3273 * gdb.trace/entry-values.exp: Remove excess space character from
3274 regex patterns. Handle s390 call instruction.
3275
20fa3390
AA
32762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3277
3278 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3279 define "*_start" label. Make "name" static.
3280 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3281 ${name} by references to ${name}_start.
3282
78466714
AA
32832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3284
3285 * gdb.base/info-macros.exp: Remove "debug" from the compile
3286 options.
3287
ec9f644a
IB
32882014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3289
3290 * gdb.dlang/demangle.exp: New file.
3291
94b1b47e
IB
32922014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3293
3294 * gdb.dlang/primitive-types.exp: New file.
3295
7f420862
IB
32962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3297
3298 * configure.ac: Create gdb.dlang/Makefile.
3299 * configure: Regenerate.
3300 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3301 * gdb.dlang/Makefile.in: New file.
3302 * lib/d-support.exp: New file.
3303 * lib/gdb.exp (skip_d_tests): New proc.
3304
52834460
MM
33052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3306
3307 * gdb.btrace/delta.exp: Check reverse stepi.
3308 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3309 * gdb.btrace/finish.exp: New.
3310 * gdb.btrace/next.exp: New.
3311 * gdb.btrace/nexti.exp: New.
3312 * gdb.btrace/record_goto.c: Add comments.
3313 * gdb.btrace/step.exp: New.
3314 * gdb.btrace/stepi.exp: New.
3315 * gdb.btrace/multi-thread-step.c: New.
3316 * gdb.btrace/multi-thread-step.exp: New.
3317 * gdb.btrace/rn-dl-bind.c: New.
3318 * gdb.btrace/rn-dl-bind.exp: New.
3319 * gdb.btrace/data.c: New.
3320 * gdb.btrace/data.exp: New.
3321 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3322
6e07b1d2
MM
33232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3324
3325 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3326 * gdb.btrace/exception.exp: Update.
3327 * gdb.btrace/instruction_history.exp: Update.
3328 * gdb.btrace/record_goto.exp: Update.
3329 * gdb.btrace/tailcall.exp: Update.
3330 * gdb.btrace/unknown_functions.exp: Update.
3331 * gdb.btrace/delta.exp: New.
3332
0b722aec
MM
33332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3334
3335 * gdb.btrace/record_goto.exp: Add backtrace test.
3336 * gdb.btrace/tailcall.exp: Add backtrace test.
3337
066ce621
MM
33382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3339
3340 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3341 * gdb.btrace/record_goto.c: New.
3342 * gdb.btrace/record_goto.exp: New.
3343 * gdb.btrace/x86-record_goto.S: New.
3344
0688d04e
MM
33452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3346
3347 * gdb.btrace/function_call_history.exp: Update tests.
3348 * gdb.btrace/instruction_history.exp: Update tests.
3349
8710b709
MM
33502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3351
3352 * gdb.btrace/function_call_history.exp: Fix expected field
3353 order for "record function-call-history".
3354 Add new tests for "record function-call-history /c".
3355 * gdb.btrace/exception.cc: New.
3356 * gdb.btrace/exception.exp: New.
3357 * gdb.btrace/tailcall.exp: New.
3358 * gdb.btrace/x86-tailcall.S: New.
3359 * gdb.btrace/x86-tailcall.c: New.
3360 * gdb.btrace/unknown_functions.c: New.
3361 * gdb.btrace/unknown_functions.exp: New.
3362 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3363
5de9129b
MM
33642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3365
3366 * gdb.btrace/instruction_history.exp: Update.
3367 * gdb.btrace/function_call_history.exp: Update.
3368
23a7fe75
MM
33692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3370
3371 * gdb.btrace/function_call_history.exp: Fix expected function
3372 trace.
3373 * gdb.btrace/instruction_history.exp: Initialize traced.
3374 Remove traced_functions.
3375
724c7dd8
MM
33762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3377
3378 * gdb.btrace/function_call_history.exp: Update
3379 * gdb.btrace/instruction_history.exp: Update.
3380
6d78d93b
MM
33812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3382
3383 * gdb.btrace/enable.exp: Update expected text.
3384
93a360cc
OJ
33852014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3386
3387 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3388 bytes.
3389
3772b53f
MR
33902014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3391
3392 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3393
596662fa
OJ
33942014-01-15 Omair Javaid <omair.javaid@linaro.org>
3395
3396 * lib/gdb.exp (supports_process_record): Return true for
3397 arm*-linux*. (supports_reverse): Likewise.
3398
b5b08fb4
SC
33992014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3400
3401 PR python/15464
3402 PR python/16113
3403 * gdb.python/py-type.c: Enhance test case.
3404 * gdb.python/py-value-cc.cc: Likewise
3405 * gdb.python/py-type.exp: Add new tests.
3406 * gdb.python/py-value-cc.exp: Likewise
3407
52d7fb13
AA
34082014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3409 Pedro Alves <palves@redhat.com>
3410
3411 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3412 Make "name" extern.
3413 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3414 references to ${name}_start by references to ${name}.
3415
a2cd8cfe
JB
34162014-01-10 Joel Brobecker <brobecker@adacore.com>
3417
3418 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3419
4e23fced
JB
34202014-01-10 Joel Brobecker <brobecker@adacore.com>
3421
3422 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3423
c6a9e42c
PA
34242014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3425 Pedro Alves <palves@redhat.com>
3426
3427 * gdb.mi/mi-info-os.exp: Connect to the target with
3428 mi_gdb_target_load.
3429
b7ea362b
PA
34302014-01-08 Pedro Alves <palves@redhat.com>
3431
3432 * gdb.threads/reconnect-signal.c: New file.
3433 * gdb.threads/reconnect-signal.exp: New file.
3434
5e3f4fab
EBM
34352014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3436
3437 * gdb.base/source-dir.exp: New file.
3438
79301218
JB
34392014-01-07 Joel Brobecker <brobecker@adacore.com>
3440
3441 * gdb.ada/mi_interface: New testcase.
3442
8e355c5d
JB
34432014-01-07 Joel Brobecker <brobecker@adacore.com>
3444
3445 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3446 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3447 gdb.ada/pp-rec-component/pck.ads: New files.
3448
c0d48811
JB
34492014-01-07 Joel Brobecker <brobecker@adacore.com>
3450
3451 * gdb.python/py-pp-integral.c: New file.
3452 * gdb.python/py-pp-integral.py: New file.
3453 * gdb.python/py-pp-integral.exp: New file.
3454
17b609c3 3455For older changes see ChangeLog-1993-2013.
c906108c 3456\f
8d8cb839
EZ
3457;; Local Variables:
3458;; mode: change-log
3459;; left-margin: 8
3460;; fill-column: 74
3461;; version-control: never
3462;; End:
902f2ccb 3463
14f8b115 3464 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
3465 Copying and distribution of this file, with or without modification,
3466 are permitted provided the copyright notice and this notice are preserved.