Use Dwarf::assemble in implptr-optimized-out.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2014-11-14 Yao Qi <yao@codesourcery.com>
2
3 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4 produce debug information.
5 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6
7 2014-11-14 Yao Qi <yao@codesourcery.com>
8
9 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10 object and get function length.
11 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12 with MACRO_AT_func.
13 (top-level): Replace gdb_compile and clean_restart with
14 prepare_for_testing.
15 * gdb.dwarf2/main.c (main): Add label main_label.
16
17 2014-11-14 Yao Qi <yao@codesourcery.com>
18
19 * lib/dwarf.exp (function_range): New procedure.
20 (Dwarf::_handle_macro_at_func): New procedure.
21 (Dwarf::_handle_macro_at_range): New procedure.
22 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
23
24 2014-11-14 Yao Qi <yao@codesourcery.com>
25
26 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
27 (_handle_attribute): New procedure.
28
29 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
30
31 * gdb.ada/cond_lang/foo.c (callme): Add return type.
32 * gdb.base/call-sc.c (zed): Likewise.
33 * gdb.base/checkpoint.c (main): Likewise.
34 * gdb.base/dump.c (main): Likewise.
35 * gdb.base/gcore.c (main): Likewise.
36 * gdb.base/huge.c (main): Likewise.
37 * gdb.base/multi-forks.c (main): Likewise.
38 * gdb.base/pr10179-a.c (main): Likewise.
39 * gdb.base/savedregs.c (main): Likewise.
40 * gdb.base/sigaltstack.c (main): Likewise.
41 * gdb.base/siginfo.c (main): Likewise.
42 * gdb.base/structs.c (zed): Likewise.
43 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
44 * gdb.mi/mi-syn-frame.c (main): Likewise.
45 * gdb.mi/until.c (foo, main): Likewise.
46 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
47 * gdb.base/solib-weak.c (foo): Declare.
48 * gdb.base/attach-twice.c: Include stdio.h.
49 * gdb.base/weaklib1.c: Likewise.
50 * gdb.base/weaklib2.c: Likewise.
51 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
52 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
53 unistd.h.
54 * gdb.base/attach-pie-misread.c: Include stdlib.h.
55 * gdb.mi/mi-exit-code.c: Likewise.
56 * gdb.base/break-interp-lib.c: Include string.h.
57 * gdb.base/coremaker.c: Likewise.
58 * gdb.base/testenv.c: Likewise.
59 * gdb.python/py-finish-breakpoint.c: Likewise.
60 * gdb.base/inferior-died.c: Include sys/wait.h.
61 * gdb.base/fileio.c: Include time.h.
62 * gdb.base/async-shell.c: Include unistd.h.
63 * gdb.base/dprintf-non-stop.c: Likewise.
64 * gdb.base/info-os.c: Likewise.
65 * gdb.mi/mi-console.c: Likewise.
66 * gdb.mi/watch-nonstop.c: Likewise.
67 * gdb.python/py-events.c: Likewise.
68 * gdb.base/async.c (baz): Move up before its invocation.
69 * gdb.base/code_elim2.c (my_global_func): Likewise.
70 * gdb.base/skip-solib-lib.c (multiply): Likewise.
71 * gdb.base/advance.c (func2): Likewise.
72
73 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
74
75 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
76 variant.
77 * gdb.base/annota3.c: Likewise.
78 * gdb.base/async.c: Likewise.
79 * gdb.base/average.c: Likewise.
80 * gdb.base/call-ar-st.c: Likewise.
81 * gdb.base/call-rt-st.c: Likewise.
82 * gdb.base/call-sc.c: Likewise.
83 * gdb.base/call-strs.c: Likewise.
84 * gdb.base/ending-run.c: Likewise.
85 * gdb.base/execd-prog.c: Likewise.
86 * gdb.base/exprs.c: Likewise.
87 * gdb.base/foll-exec.c: Likewise.
88 * gdb.base/foll-fork.c: Likewise.
89 * gdb.base/foll-vfork.c: Likewise.
90 * gdb.base/funcargs.c: Likewise.
91 * gdb.base/gcore.c: Likewise.
92 * gdb.base/jump.c: Likewise.
93 * gdb.base/langs0.c: Likewise.
94 * gdb.base/langs1.c: Likewise.
95 * gdb.base/langs2.c: Likewise.
96 * gdb.base/mips_pro.c: Likewise.
97 * gdb.base/nodebug.c: Likewise.
98 * gdb.base/opaque0.c: Likewise.
99 * gdb.base/opaque1.c: Likewise.
100 * gdb.base/recurse.c: Likewise.
101 * gdb.base/run.c: Likewise.
102 * gdb.base/scope0.c: Likewise.
103 * gdb.base/scope1.c: Likewise.
104 * gdb.base/setshow.c: Likewise.
105 * gdb.base/setvar.c: Likewise.
106 * gdb.base/shmain.c: Likewise.
107 * gdb.base/shr1.c: Likewise.
108 * gdb.base/shr2.c: Likewise.
109 * gdb.base/sigall.c: Likewise.
110 * gdb.base/signals.c: Likewise.
111 * gdb.base/so-indr-cl.c: Likewise.
112 * gdb.base/solib2.c: Likewise.
113 * gdb.base/structs.c: Likewise.
114 * gdb.base/sum.c: Likewise.
115 * gdb.base/vforked-prog.c: Likewise.
116 * gdb.base/watchpoint.c: Likewise.
117 * gdb.reverse/shr2.c: Likewise.
118 * gdb.reverse/until-reverse.c: Likewise.
119 * gdb.reverse/ur1.c: Likewise.
120 * gdb.reverse/watch-reverse.c: Likewise.
121
122 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
123
124 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
125 variant.
126 * gdb.base/sepdebug.exp: Drop references to removed code.
127
128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
129
130 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
131 variant. Preserve original line numbering.
132 * gdb.base/list1.c: Likewise.
133
134 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
135
136 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
137 variant.
138 * gdb.base/break1.c: Likewise.
139 * gdb.base/break.exp: Drop references to removed code.
140
141 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
142
143 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
144 variant.
145
146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
147
148 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
149
150 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
151
152 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
153 logic into perform_all_tests() and invoke it with and without
154 function header prototypes.
155 (do_function_calls): Remove conditional XFAIL for PR 5318.
156 (rerun_and_prepare): Remove duplicate code.
157 (perform_all_tests): New. Main logic moved here.
158
159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
160
161 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
162 code guarded by #ifdef NO_PROTOTYPES.
163 (t_double_many_args): Likewise.
164 (DEF_FUNC_MANY_ARGS_1): Likewise.
165 (DEF_FUNC_VALUES_1): Likewise.
166 (t_structs_ldc): Renamed from t_structs_fc in conditional code
167 guarded by #ifdef PROTOTYPES.
168
169 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
170
171 * gdb.mi/mi-console.c: Add eye-catcher.
172 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
173 instead of literal line number.
174
175 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
176
177 * gdb.base/shr2.c: Add eye-catcher.
178 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
179 line number.
180
181 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
182
183 * gdb.base/jump.c: Add eye-catchers.
184 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
185 numbers.
186
187 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
188
189 * gdb.base/execd-prog.c: Add eye-catchers.
190 * gdb.base/foll-exec.c: Likewise.
191 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
192 line numbers.
193
194 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
195
196 * gdb.base/ending-run.c: Add eye-catchers.
197 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
198 literal line numbers.
199
200 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
201
202 * gdb.base/call-rt-st.c: Add eye-catchers.
203 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
204 literal line numbers.
205
206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
207
208 * gdb.base/call-ar-st.c: Add eye-catchers.
209 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
210 literal line numbers.
211
212 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
213
214 * gdb.base/average.c: Add eye-catchers.
215 * gdb.base/sum.c: Likewise.
216 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
217 regexps dynamically.
218
219 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
220
221 * gdb.base/solib1.c: Add eye-catchers.
222 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
223 literal line numbers.
224
225 2014-11-12 Pedro Alves <palves@redhat.com>
226
227 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
228 leader has exited.
229
230 2014-11-12 Pedro Alves <palves@redhat.com>
231
232 * gdb.arch/i386-bp_permanent.c: New file.
233 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
234 (srcfile): Set to i386-bp_permanent.c.
235 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
236 that stepi does not execute the 'leave' instruction, instead of
237 testing it does execute.
238 * gdb.base/bp-permanent.c: New file.
239 * gdb.base/bp-permanent.exp: New file.
240
241 2014-11-10 Doug Evans <xdje42@gmail.com>
242
243 PR symtab/17564
244 * gdb.base/symtab-search-order.exp: New file.
245 * gdb.base/symtab-search-order.c: New file.
246 * gdb.base/symtab-search-order-1.c: New file.
247 * gdb.base/symtab-search-order-shlib-1.c: New file.
248
249 2014-11-07 Pedro Alves <palves@redhat.com>
250
251 PR gdb/17511
252 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
253 i?86-*-linux*.
254
255 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
256
257 PR c++/17494
258 * gdb.cp/pr17494.cc: New file.
259 * gdb.cp/pr17494.exp: New file.
260
261 2014-11-02 Yao Qi <yao@codesourcery.com>
262
263 * gdb.python/python.exp: Get working directory and match the
264 output of "set extended-prompt \\w " with it.
265
266 2014-10-30 Doug Evans <dje@google.com>
267
268 * gdb.python/py-objfile.exp: Add tests for setting random attributes
269 in objfiles.
270 * gdb.python/py-progspace.exp: Add tests for setting random attributes
271 in progspaces.
272
273 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
274
275 * gdb.base/fullpath-expand.exp: Skip for a remote host.
276 * gdb.base/realname-expand.exp: Likewise.
277 * gdb.linespec/macro-relative.exp: Likewise.
278
279 2014-10-29 Pedro Alves <palves@redhat.com>
280
281 PR gdb/17408
282 * gdb.threads/schedlock.c (some_function): New function.
283 (call_function): New global.
284 (MAYBE_CALL_SOME_FUNCTION): New macro.
285 (thread_function): Call it.
286 * gdb.threads/schedlock.exp (get_args): Add description parameter,
287 and use it instead of a global counter. Adjust all callers.
288 (get_current_thread): Use "find current thread" for test message
289 here rather than having all callers pass down the same string.
290 (goto_loop): New procedure, factored out from ...
291 (my_continue): ... this.
292 (step_ten_loops): Change parameter from test message to command to
293 use. Adjust.
294 (list_count): Delete global.
295 (check_result): New procedure, factored out from duplicate top
296 level code.
297 (continue tests): Wrap in with_test_prefix.
298 (test_step): New procedure, factored out from duplicate top level
299 code.
300 (top level): Test "step" in combination with all scheduler-locking
301 modes. Test "next" in combination with all scheduler-locking
302 modes, and in combination with stepping over a function call or
303 not.
304 * gdb.threads/next-bp-other-thread.c: New file.
305 * gdb.threads/next-bp-other-thread.exp: New file.
306
307 2014-10-29 Pedro Alves <palves@redhat.com>
308
309 PR python/17372
310 * gdb.python/python.exp: Test a multi-line command that spawns
311 interactive Python.
312 * gdb.base/multi-line-starts-subshell.exp: New file.
313
314 2014-10-29 Yao Qi <yao@codesourcery.com>
315
316 * gdb.base/fileio.exp: Make directories on host.
317
318 2014-10-29 Yao Qi <yao@codesourcery.com>
319
320 * gdb.base/fileio.c (test_write): Close the file.
321
322 2014-10-28 Pedro Alves <palves@redhat.com>
323
324 PR gdb/12623
325 * gdb.base/sigstep.c (no_handler): New global.
326 (main): If 'no_handler is true, set the signal handlers to
327 SIG_IGN.
328 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
329 with_sw_watch and no_handler parameters. Handle them.
330 (top level) <stepping over handler when stopped at a breakpoint
331 test>: Add a test axis for testing with a software watchpoint, and
332 another for testing with the signal handler set to SIG_IGN.
333 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
334 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
335
336 2014-10-28 Pedro Alves <palves@redhat.com>
337
338 PR gdb/17511
339 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
340 * gdb.base/sigstep.exp (other_handler_location): New global.
341 (advance): Support stepping into the signal handler, and running
342 commands while in the handler.
343 (in_handler_map): New global.
344 (top level): In the advance test, add combinations for getting
345 into the handler with stepping commands, and for running commands
346 in the handler. Add comment descripting the advancei tests.
347
348 2014-10-28 Pedro Alves <palves@redhat.com>
349
350 * gdb.base/sigstep.exp: Use build_executable instead of
351 prepare_for_testing.
352 (top level): Move code that starts GDB, runs to main and creates a
353 display to ...
354 (restart): ... this new procedure.
355 (top level): Move backtrace from signal handler test to ...
356 (validate_backtrace): ... this new procedure.
357 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
358 with_test_prefix. Always restart GDB.
359 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
360 with_test_prefix. Always restart GDB. No need to delete
361 breakpoints after the test.
362 (test_skip_handler): Remove prefix parameter.
363 (skip_over_handler, breakpoint_to_handler)
364 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
365 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
366 restart GDB. No need to delete breakpoints after the test.
367 (top level): Use foreach to call the test procedures with
368 different commands.
369
370 2014-10-28 Pedro Alves <palves@redhat.com>
371
372 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
373 instead of GNATS numbers.
374 * gdb.base/sigbpt.exp: Likewise.
375 * gdb.base/siginfo.exp: Likewise.
376 * gdb.base/sigstep.exp: Likewise.
377
378 2014-10-27 Pedro Alves <palves@redhat.com>
379
380 * gdb.base/sigstep.c (dummy): New global.
381 (main): Issue a couple writes to the new global.
382 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
383 procedures.
384 (skip_over_handler): Use test_skip_handler.
385 (top level): Call skip_over_handler for stepi and nexti too.
386 (breakpoint_over_handler): Use test_skip_handler.
387 (top level): Call breakpoint_over_handler for stepi and nexti too.
388
389 2014-10-27 Yao Qi <yao@codesourcery.com>
390
391 * gdb.trace/tfile.c (adjust_function_address)
392 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
393 function descriptor.
394
395 2014-10-24 Don Breazeal <donb@codesourcery.com>
396
397 * gdb.base/foll-fork.exp (test_follow_fork,
398 catch_fork_child_follow): Check for updated fork messages emitted
399 from infrun.c.
400 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
401 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
402 vfork_and_exec_child_follow_through_step): Check for updated vfork
403 messages emitted from infrun.c.
404
405 2014-10-24 Pedro Alves <palves@redhat.com>
406
407 * gdb.base/corefile.exp: Remove references to ultrix.
408 * gdb.base/interrupt.exp: Likewise.
409 * gdb.base/whatis.exp: Likewise.
410 * gdb.gdb/selftest.exp: Likewise.
411 * gdb.threads/manythreads.exp: Likewise.
412 * gdb.threads/print-threads.exp: Likewise.
413 * gdb.threads/pthreads.exp:: Likewise.
414 * gdb.threads/schedlock.exp: Likewise.
415
416 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
417
418 * gdb.cp/non-trivial-retval.cc: Add a test case.
419 * gdb.cp/non-trivial-retval.exp: Add a test.
420
421 2014-10-20 Yao Qi <yao@codesourcery.com>
422
423 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
424 * gdb.python/py-objfile-script-gdb.py: New file.
425 * gdb.python/py-objfile-script.exp: Update reference to
426 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
427 of remote_download. Remove the dest file.
428
429 2014-10-20 Yao Qi <yao@codesourcery.com>
430
431 * gdb.base/checkpoint.exp: Don't remove file copied on host.
432 * gdb.base/step-line.exp: Likewise.
433 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
434 * gdb.dwarf2/dw2-basic.exp: Likewise.
435 * gdb.dwarf2/dw2-compressed.exp: Likewise.
436 * gdb.dwarf2/dw2-filename.exp: Likewise.
437 * gdb.dwarf2/dw2-intercu.exp: Likewise.
438 * gdb.dwarf2/dw2-intermix.exp: Likewise.
439 * gdb.dwarf2/dw2-producer.exp: Likewise.
440 * gdb.dwarf2/mac-fileno.exp: Likewise.
441 * gdb.python/py-frame-args.exp: Likewise.
442 * gdb.python/py-framefilter.exp: Likewise.
443 * gdb.python/py-mi.exp: Likewise.
444 * gdb.python/py-objfile-script.exp: Likewise
445 * gdb.python/py-pp-integral.exp: Likewise.
446 * gdb.python/py-pp-re-notag.exp: Likewise.
447 * gdb.python/py-prettyprint.exp: Likewise.
448 * gdb.python/py-section-script.exp: Likewise.
449 * gdb.python/py-typeprint.exp: Likewise.
450 * gdb.python/py-xmethods.exp: Likewise.
451 * gdb.stabs/weird.exp: Likewise.
452 * gdb.xml/tdesc-regs.exp: Likewise.
453
454 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
455
456 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
457 (out_cu): Use addr_len for the size of addresses.
458 (out_line): Likewise. Size DW_LNE_set_address instruction
459 according to addr_len.
460 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
461 (FUNC): Add START_INSNS to definition.
462
463 2014-10-18 Yao Qi <yao@codesourcery.com>
464
465 * gdb.base/argv0-symlink.exp: Check argv[0] value if
466 gdb_has_argv0 return true.
467 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
468 check [target_info exists noargs], check [gdb_has_argv0]
469 instead.
470 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
471 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
472 procedures.
473
474 2014-10-17 Doug Evans <dje@google.com>
475
476 * gdb.python/py-events.exp: Update expected output for clear_objfiles
477 event.
478 * gdb.python/py-events.py: Add clear_objfiles event.
479
480 2014-10-17 Doug Evans <dje@google.com>
481
482 * gdb.python/py-objfile.exp: Test progspace attribute.
483
484 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
485
486 * gdb.guile/scm-breakpoint.exp: Do not assume any
487 directory separators when matching source file paths.
488 * gdb.python/py-breakpoint.exp: Likewise.
489 * gdb.reverse/break-precsave.exp: Likewise.
490 * gdb.reverse/break-reverse.exp: Likewise.
491 * gdb.reverse/consecutive-precsave.exp: Likewise.
492 * gdb.reverse/finish-precsave.exp: Likewise.
493 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
494 * gdb.reverse/finish-reverse.exp: Likewise.
495 * gdb.reverse/i386-precsave.exp: Likewise.
496 * gdb.reverse/i387-env-reverse.exp: Likewise.
497 * gdb.reverse/i387-stack-reverse.exp: Likewise.
498 * gdb.reverse/machinestate-precsave.exp: Likewise.
499 * gdb.reverse/machinestate.exp: Likewise.
500 * gdb.reverse/sigall-precsave.exp: Likewise.
501 * gdb.reverse/solib-precsave.exp: Likewise.
502 * gdb.reverse/step-precsave.exp: Likewise.
503 * gdb.reverse/until-precsave.exp: Likewise.
504 * gdb.reverse/watch-precsave.exp: Likewise.
505 * gdb.reverse/watch-reverse.exp: Likewise.
506
507 2014-10-17 Yao Qi <yao@codesourcery.com>
508
509 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
510 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
511
512 2014-10-17 Pedro Alves <palves@redhat.com>
513
514 PR gdb/17471
515 * gdb.base/bg-execution-repeat.c: New file.
516 * gdb.base/bg-execution-repeat.exp: New file.
517
518 2014-10-17 Pedro Alves <palves@redhat.com>
519
520 PR gdb/17300
521 * gdb.base/continue-all-already-running.c: New file.
522 * gdb.base/continue-all-already-running.exp: New file.
523
524 2014-10-17 Pedro Alves <palves@redhat.com>
525
526 PR gdb/17472
527 * gdb.base/annota-input-while-running.c: New file.
528 * gdb.base/annota-input-while-running.exp: New file.
529
530 2014-10-17 Pedro Alves <palves@redhat.com>
531
532 * gdb.base/callfuncs.exp: emove references to osf.
533 * gdb.base/sigall.exp: Likewise.
534 * gdb.gdb/selftest.exp: Likewise.
535 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
536 * gdb.mi/non-stop.c: Likewise.
537 * gdb.mi/pthreads.c: Likewise.
538 * gdb.reverse/sigall-precsave.exp: Likewise.
539 * gdb.reverse/sigall-reverse.exp: Likewise.
540 * gdb.threads/pthreads.c: Likewise.
541 * gdb.threads/pthreads.exp: Likewise.
542
543 2014-10-17 Yao Qi <yao@codesourcery.com>
544
545 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
546 check 'target_info exists noargs'.
547 (test_command_prompt_position): Likewise.
548 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
549 Remove "set args".
550 (progvar_simple_while_test): Likewise.
551 (progvar_complex_if_while_test): Likewise.
552 (if_while_breakpoint_command_test): Likewise.
553 (infrun_breakpoint_command_test): Likewise.
554 (breakpoint_command_test): Likewise.
555 (watchpoint_command_test): Likewise.
556 (bp_deleted_in_command_test): Likewise.
557 (temporary_breakpoint_commands): Likewise.
558
559 2014-10-16 Yao Qi <yao@codesourcery.com>
560
561 * gdb.base/remotetimeout.exp: Remove noargs checking.
562
563 2014-10-15 Pedro Alves <palves@redhat.com>
564
565 PR breakpoints/9649
566 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
567 * gdb.base/breakpoint-in-ro-region.exp
568 (probe_target_hardware_step): New procedure.
569 (top level): Probe hardware stepping and hardware breakpoint
570 support. Test stepping through a read-only region, with both
571 "breakpoint auto-hw" on and off and both "always-inserted" on and
572 off.
573
574 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
575
576 * gdb.dlang/demangle.exp: Update for demangling changes.
577
578 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
579
580 * gdb.cp/non-trivial-retval.cc: Add new test cases.
581 * gdb.cp/non-trivial-retval.exp: Add new tests.
582
583 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
584
585 PR c++/13403
586 PR c++/15154
587 * gdb.cp/non-trivial-retval.cc: New file.
588 * gdb.cp/non-trivial-retval.exp: New file.
589
590 2014-10-15 Yao Qi <yao@codesourcery.com>
591
592 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
593 remote host.
594
595 2014-10-15 Yao Qi <yao@codesourcery.com>
596
597 * gdb.python/py-symbol.exp: Match file base name if host is
598 remote, otherwise match file name with dir name.
599 * gdb.python/py-symtab.exp: Likewise.
600 * gdb.python/python.exp: Likewise.
601
602 2014-10-15 Yao Qi <yao@codesourcery.com>
603
604 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
605 pattern.
606 * gdb.python/py-symtab.exp: Likewise.
607 * gdb.python/python.exp: Remove trailing ".*". Fix typo
608 locationn.
609
610 2014-10-14 Joel Brobecker <brobecker@adacore.com>
611
612 * gdb.ada/addr_arith: New testcase.
613
614 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
615
616 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
617 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
618 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
619 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
620
621 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
622
623 * gdb.arch/stap-eval-lang-ada.S: Likewise.
624 * gdb.arch/stap-eval-lang-ada.c: Likewise.
625 * gdb.arch/stap-eval-lang-ada.exp: New file.
626
627 2014-10-14 Yao Qi <yao@codesourcery.com>
628
629 * gdb.mi/mi-var-child.c (nothing1): New function.
630 (nothing2): New function.
631 (do_children_tests): Set function pointers by nothing1 and
632 nothing2.
633 * gdb.mi/mi-var-child.exp: Step over new added statements.
634 Update test to match the new output.
635 * gdb.mi/var-cmd.c (nothing1): New function.
636 (nothing2): New function.
637 (do_children_tests): Set function pointers by nothing1 and
638 nothing2.
639 * gdb.mi/mi-var-display.exp: Update test to match output.
640 Step to the line specified by $line_dct_nothing.
641 Increase the number of lines to step.
642
643 2014-10-14 Yao Qi <yao@codesourcery.com>
644
645 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
646 tests.
647 * gdb.mi/mi2-var-child.exp: Likewise.
648
649 2014-10-13 Doug Evans <dje@google.com>
650
651 * gdb.python/py-objfile.exp: Change name of file name test.
652
653 2014-10-13 Doug Evans <dje@google.com>
654
655 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
656 from the start of the CU.
657
658 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
659 Yao Qi <yao@codesourcery.com>
660
661 Fix "save breakpoints" for "catch" command.
662 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
663 Remove -nonewline. Match also the added "main" line.
664
665 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
666
667 Fix "save breakpoints" for "disable $bpnum" command.
668 * gdb.base/save-bp.c (main): Add label.
669 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
670
671 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
672
673 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
674
675 2014-10-11 Yao Qi <yao@codesourcery.com>
676
677 * gdb.server/server-kill.exp: Execute command
678 "set remote trace-status-packet on" before "tstatus".
679
680 2014-10-11 Yao Qi <yao@codesourcery.com>
681
682 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
683 (main): Call getppid.
684 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
685 and continue to it. Read variable "server_pid".
686
687 2014-10-11 Yao Qi <yao@codesourcery.com>
688
689 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
690
691 2014-10-11 Yao Qi <yao@codesourcery.com>
692
693 * gdb.threads/thread-find.exp: Don't execute command
694 "info threads".
695 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
696 * gdb.threads/linux-dp.exp: Don't check the condition
697 $threads_created equals to zero.
698
699 2014-10-10 Pedro Alves <palves@redhat.com>
700
701 * gdb.base/bigcore.exp: Remove references to IRIX.
702 * gdb.base/funcargs.exp: Likewise.
703 * gdb.base/interrupt.exp: Likewise.
704 * gdb.base/mips_pro.exp: Likewise.
705 * gdb.base/nodebug.exp: Likewise.
706 * gdb.base/setvar.exp: Likewise.
707 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
708
709 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
710 Pedro Alves <palves@redhat.com>
711
712 PR symtab/14466
713 * gdb.base/vdso-warning.c: New file.
714 * gdb.base/vdso-warning.exp: New file.
715
716 2014-10-02 Doug Evans <dje@google.com>
717
718 * gdb.base/structs.c (main): Don't run forever.
719
720 2014-10-02 Pedro Alves <palves@redhat.com>
721
722 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
723 (top level) <stop threads 1, stop threads 2>: Use it.
724
725 2014-10-02 Pedro Alves <palves@redhat.com>
726
727 * gdb.threads/break-while-running.exp (test): Add new
728 'update_thread_list' argument. Skip "info threads" if false.
729 (top level): Add new 'update_thread_list' axis.
730
731 2014-10-02 Pedro Alves <palves@redhat.com>
732
733 PR breakpoints/17431
734 * gdb.base/execl-update-breakpoints.c: New file.
735 * gdb.base/execl-update-breakpoints.exp: New file.
736
737 2014-10-01 Pedro Alves <palves@redhat.com>
738
739 * gdb.base/breakpoint-in-ro-region.c: New file.
740 * gdb.base/breakpoint-in-ro-region.exp: New file.
741
742 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
743
744 * gdb.mi/mi-exit-code.exp: New file.
745 * gdb.mi/mi-exit-code.c: New file.
746
747 2014-09-30 Yao Qi <yao@codesourcery.com>
748
749 * lib/prelink-support.exp (build_executable_own_libs): Error if
750 the target isn't native.
751
752 2014-09-30 Yao Qi <yao@codesourcery.com>
753
754 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
755 false.
756
757 2014-09-22 Pedro Alves <palves@redhat.com>
758
759 * gdb.threads/break-while-running.exp: New file.
760 * gdb.threads/break-while-running.c: New file.
761
762 2014-09-19 Yao Qi <yao@codesourcery.com>
763
764 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
765 Invoke test. Restart GDB with --readnow and invoke test again.
766
767 2014-09-19 Yao Qi <yao@codesourcery.com>
768
769 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
770 proc set_breakpoint_on_gcd_function. Invoke
771 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
772 invoke set_breakpoint_on_gcd_function again.
773
774 2014-09-18 Doug Evans <dje@google.com>
775
776 * gdb.dwarf2/symtab-producer.exp: New file.
777
778 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
779
780 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
781 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
782 * gdb.base/global-var-nested-by-dso.c: Likewise.
783 * gdb.base/global-var-nested-by-dso.exp: Likewise.
784
785 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
786 Pedro Alves <palves@redhat.com>
787
788 * gdb.base/watch-bitfields.exp: Pass string other than test file
789 name to prepare_for_testing.
790 (watch): New procedure.
791 (expect_watchpoint): Use with_test_prefix.
792 (top level): Factor out tests to ...
793 (test_watch_location, test_regular_watch): ... these new
794 procedures, and use with_test_prefix and gdb_continue_to_end.
795
796 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
797
798 PR breakpoints/12526
799 * gdb.base/watch-bitfields.exp: New file.
800 * gdb.base/watch-bitfields.c: New file.
801
802 2014-09-16 Pedro Alves <palves@redhat.com>
803
804 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
805 software and hardware addresses, not software address against
806 itself.
807
808 2014-09-16 Pedro Alves <palves@redhat.com>
809
810 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
811 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
812
813 2014-09-16 Pedro Alves <palves@redhat.com>
814
815 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
816 files.
817 * gdb.base/a2-run.exp: Remove all code guarded by istarget
818 "*-*-vxworks*" throughout.
819 * gdb.base/break.exp: Likewise.
820 * gdb.base/default.exp: Likewise.
821 * gdb.base/scope.exp: Likewise.
822 * gdb.base/sepdebug.exp: Likewise.
823 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
824 throughout.
825 * gdb.base/run.c: Likewise.
826 * gdb.base/sepdebug.c: Likewise.
827 * gdb.hp/gdb.aCC/run.c: Likewise.
828 * gdb.reverse/until-reverse.c: Likewise.
829 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
830
831 2014-09-16 Yao Qi <yao@codesourcery.com>
832
833 * boards/local-remote-host-native.exp: New file.
834
835 2014-09-14 Doug Evans <xdje42@gmail.com>
836
837 * gdb.threads/queue-signal.c (thread_count): New variable.
838 (thread_count_mutex, thread_count_condvar): New variables.
839 (incr_thread_count, wait_all_threads_running): New functions.
840 (main): Wait for all threads to be in their thread functions.
841
842 2014-09-13 Doug Evans <xdje42@gmail.com>
843
844 * gdb.threads/queue-signal.c: New file.
845 * gdb.threads/queue-signal.exp: New file.
846
847 2014-09-13 Doug Evans <xdje42@gmail.com>
848
849 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
850 be consistent with what default_gdb_init uses.
851 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
852 the plain text of the prompt. Add some logging printfs.
853 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
854
855 2014-09-12 Pedro Alves <palves@redhat.com>
856
857 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
858 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
859 * gdb.arch/i386-size-overlap.exp: Likewise.
860 * gdb.arch/i386-size.exp: Likewise.
861 * gdb.arch/i386-unwind.exp: Likewise.
862 * gdb.base/a2-run.exp: Likewise.
863 * gdb.base/break.exp: Likewise.
864 * gdb.base/charset.exp: Likewise.
865 * gdb.base/chng-syms.exp: Likewise.
866 * gdb.base/commands.exp: Likewise.
867 * gdb.base/dbx.exp: Likewise.
868 * gdb.base/find.exp: Likewise.
869 * gdb.base/funcargs.exp: Likewise.
870 * gdb.base/jit-simple.exp: Likewise.
871 * gdb.base/reread.exp: Likewise.
872 * gdb.base/sepdebug.exp: Likewise.
873 * gdb.base/step-bt.exp: Likewise.
874 * gdb.cp/mb-inline.exp: Likewise.
875 * gdb.cp/mb-templates.exp: Likewise.
876 * gdb.objc/basicclass.exp: Likewise.
877 * gdb.threads/killed.exp: Likewise.
878
879 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
880
881 PR tdep/17379
882 * gdb.arch/powerpc-stackless.S: New file.
883 * gdb.arch/powerpc-stackless.exp: New file.
884
885 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
886
887 * gdb.base/attach.c: Include unistd.h.
888 (main): Call alarm. Add label postloop.
889 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
890 gdb_breakpoint, gdb_continue_to_breakpoint.
891 (test_command_line_attach_run): Kill ${testpid} in one exit path.
892
893 2014-09-11 Pedro Alves <palves@redhat.com>
894
895 PR gdb/17347
896 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
897 * gdb.base/attach.exp (test_command_line_attach_run): New
898 procedure.
899 (top level): Call it.
900
901 2014-09-11 Pedro Alves <palves@redhat.com>
902
903 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
904 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
905 (do_command_attach_tests): Use spawn_wait_for_attach.
906 * gdb.base/solib-overlap.exp: Likewise.
907 * gdb.multi/multi-attach.exp: Likewise.
908 * gdb.python/py-prompt.exp: Likewise.
909 * gdb.python/py-sync-interp.exp: Likewise.
910 * gdb.server/ext-attach.exp: Likewise.
911
912 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
913
914 * gdb.fortran/array-element.exp: Remove unexpected "continue"
915 command in testcase. Simplify testcase.
916
917 2014-09-10 Joel Brobecker <brobecker@adacore.com>
918
919 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
920
921 2014-09-10 Joel Brobecker <brobecker@adacore.com>
922
923 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
924
925 2014-09-10 Joel Brobecker <brobecker@adacore.com>
926
927 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
928
929 2014-09-10 Joel Brobecker <brobecker@adacore.com>
930
931 * gdb.dwarf2/dynarr-ptr.c: New file.
932 * gdb.dwarf2/dynarr-ptr.exp: New file.
933
934 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
935
936 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
937 of 30 rather than hardcoding 120 for a slow test case. Take the
938 `gdb,timeout' target setting into account for this calculation.
939 Don't extend the timeout for the test cases that don't need it.
940
941 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
942
943 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
944 a factor of 2 for a slow test case. Take the `gdb,timeout'
945 target setting into account for this calculation.
946 * gdb.reverse/until-precsave.exp: Increase the timeout by
947 a factor of 15 and 3 respectively rather than adding 120
948 for a pair of slow test cases. Take the `gdb,timeout'
949 target setting into account for this calculation.
950
951 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
952
953 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
954 timeout, don't pass one down to gdb_expect.
955 (gdb_expect): Rework timeout selection.
956
957 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
958
959 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
960 exception on timeout.
961 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
962 (gdbserver_start_extended): Catch any `gdbserver_start' error
963 exceptions.
964 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
965 * lib/mi-support.exp (mi_gdb_target_load): Catch any
966 `gdbserver_gdb_load' error exceptions.
967
968 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
969
970 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
971 120 on waiting for the TCP socket to open.
972
973 2014-09-09 Doug Evans <xdje42@gmail.com>
974
975 * gdb.base/default.exp (show_conv_list): Add _caller_is,
976 _caller_matches, _any_caller_is, _any_caller_matches.
977
978 2014-09-09 Doug Evans <xdje42@gmail.com>
979
980 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
981
982 2014-09-09 Yao Qi <yao@codesourcery.com>
983
984 * gdb.mi/mi-var-display.exp: Set print symbol off.
985
986 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
987
988 PR gdb/17035
989 * gdb.base/commands.exp: Add tests to verify user-defined
990 commands with empty bodies.
991 * gdb.python/py-cmd.exp: Test that we don't show user-defined
992 python commands in `show user command`.
993 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
994 scheme commands in `show user command`.
995
996 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
997
998 PR python/17355
999 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1000 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1001 * gdb.python/py-framefilter-invalidarg.exp: New file.
1002 * gdb.python/py-framefilter-invalidarg.py: New file.
1003
1004 2014-09-06 Doug Evans <xdje42@gmail.com>
1005
1006 PR 15276
1007 * gdb.python/py-caller-is.c: New file.
1008 * gdb.python/py-caller-is.exp: New file.
1009
1010 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1011
1012 PR gdb/17235
1013 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1014 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1015
1016 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1017
1018 PR fortran/17237
1019 * gdb.fortran/print-formatted.exp: New file.
1020 * gdb.fortran/print-formatted.f90: Likewise.
1021
1022 2014-09-03 Sasha Smundak <asmundak@google.com>
1023
1024 * gdb.python/py-frame.exp: Test Frame.read_register.
1025
1026 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1027
1028 PR python/16699
1029 * gdb.python/py-completion.exp: New file.
1030 * gdb.python/py-completion.py: Likewise.
1031
1032 2014-08-28 Doug Evans <dje@google.com>
1033
1034 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1035 eax,etc. are live with values set by gdb and thus the compiler can't
1036 use them.
1037 * gdb.arch/i386-pseudo.c (main): Ditto.
1038
1039 2014-08-27 Doug Evans <dje@google.com>
1040
1041 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1042
1043 2014-08-25 Doug Evans <dje@google.com>
1044
1045 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1046 (main): Ditto.
1047
1048 2014-08-25 Doug Evans <dje@google.com>
1049
1050 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1051
1052 2014-08-24 Yao Qi <yao@codesourcery.com>
1053
1054 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1055 symbol off.
1056 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1057
1058 2014-08-22 Doug Evans <dje@google.com>
1059
1060 PR 17276
1061 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1062 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1063 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1064
1065 2014-08-22 Yao Qi <yao@codesourcery.com>
1066
1067 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1068 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1069 * gdb.python/python.exp: Likewise. Use .py file on the host
1070 instead of the build.
1071
1072 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1073
1074 * gdb.threads/gcore-stale-thread.c: New file.
1075 * gdb.threads/gcore-stale-thread.exp: New file.
1076
1077 2014-08-21 Pedro Alves <palves@redhat.com>
1078
1079 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1080 * gdb.base/gcore-relro-pie.exp: Likewise.
1081 * gdb.base/gcore-relro.exp: Likewise.
1082 * gdb.base/gcore.exp: Likewise.
1083 * gdb.base/print-symbol-loading.exp: Likewise.
1084 * gdb.threads/gcore-thread.exp: Likewise.
1085 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1086
1087 2014-08-20 Pedro Alves <palves@redhat.com>
1088 Jan Kratochvil <jan.kratochvil@redhat.com>
1089
1090 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1091 configure.
1092 (EXPECT): Handle READ1 being set.
1093 (all): Depend on EXTRA_RULES.
1094 (check-read1, expect-read1, read1.so, read1): New rules.
1095 * README (Testsuite Parameters): Document the READ1 make variable.
1096 (Race detection): New section.
1097 * configure: Regenerate.
1098 * configure.ac: If build==host==target, and running under a
1099 GNU/glibc system, add read1 to the extra Makefile rules.
1100 (EXTRA_RULES): AC_SUBST it.
1101 * lib/read1.c: New file.
1102
1103 2014-08-20 Joel Brobecker <brobecker@adacore.com>
1104
1105 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1106 the handling of variables declared as a typedef to an array
1107 which a DW_AT_data_location attribute.
1108
1109 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
1110 Pedro Alves <palves@redhat.com>
1111
1112 PR symtab/14604
1113 PR symtab/14605
1114 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1115 gdb_test.
1116
1117 2014-08-19 Pedro Alves <palves@redhat.com>
1118
1119 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1120
1121 2014-08-19 Yao Qi <yao@codesourcery.com>
1122
1123 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1124 right line.
1125
1126 2014-08-18 David Blaikie <dblaikie@gmail.com>
1127
1128 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1129
1130 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1131
1132 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1133 attribute in array range.
1134
1135 2014-08-18 Joel Brobecker <brobecker@adacore.com>
1136
1137 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1138
1139 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1140
1141 PR c++/17132
1142 * gdb.cp/pr17132.cc: New file.
1143 * gdb.cp/pr17132.exp: New file.
1144
1145 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1146
1147 * gdb.python/py-xmethods.py (A_getarrayind)
1148 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1149 Use 'print' with function call syntax.
1150 (E_method_matcher.match): Fix tab vs space indentation mixup.
1151
1152 2014-08-15 Yao Qi <yao@codesourcery.com>
1153
1154 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1155 false.
1156
1157 2014-08-15 Yao Qi <yao@codesourcery.com>
1158
1159 * gdb.cp/casts.exp: Set print symbol off.
1160 * gdb.cp/class2.exp: Likewise.
1161 * gdb.cp/overload.exp: Likewise.
1162 * gdb.cp/templates.exp: Likewise.
1163
1164 2014-08-11 Doug Evans <dje@google.com>
1165
1166 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1167 (test_load_shlib): Update.
1168
1169 2014-08-09 Yao Qi <yao@codesourcery.com>
1170
1171 * gdb.base/display.exp: Invoke is_address_zero_readable.
1172 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1173 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1174 * gdb.base/hbreak-unmapped.exp: Return if
1175 is_address_zero_readable returns true.
1176 * gdb.base/signest.exp: Likewise.
1177 * gdb.base/signull.exp: Likewise.
1178 * gdb.base/sigbpt.exp: Likewise.
1179 * gdb.guile/scm-disasm.exp: Do the test if
1180 is_address_zero_readable returns false.
1181 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1182 * gdb.python/py-arch.exp: Likewise.
1183 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1184 * lib/gdb.exp (is_address_zero_readable): New proc.
1185
1186 2014-08-09 Yao Qi <yao@codesourcery.com>
1187
1188 PR testsuite/13443
1189 * gdb.mi/mi-var-display.exp: Make test messages unique.
1190
1191 2014-08-04 Tom Tromey <tromey@redhat.com>
1192
1193 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1194 target 0".
1195
1196 2014-08-04 Tom Tromey <tromey@redhat.com>
1197
1198 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1199 "target_resume".
1200
1201 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1202
1203 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1204 inner_vla_struct_object_size.
1205 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1206 as xfail.
1207
1208 2014-07-30 Pedro Alves <palves@redhat.com>
1209
1210 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1211 comment.
1212
1213 2014-07-29 Yao Qi <yao@codesourcery.com>
1214
1215 PR gdb/17206
1216 * gdb.base/until-nodebug.exp: New.
1217
1218 2014-07-28 Doug Evans <xdje42@gmail.com>
1219
1220 PR guile/17203
1221 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1222 previously existing parameter, and previously ambiguously spelled
1223 parameter.
1224
1225 2014-07-28 Will Newton <will.newton@linaro.org>
1226
1227 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1228
1229 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1230 Doug Evans <xdje42@gmail.com>
1231
1232 PR guile/17146
1233 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1234
1235 2014-07-25 Pedro Alves <palves@redhat.com>
1236
1237 * gdb.threads/signal-command-handle-nopass.c: New file.
1238 * gdb.threads/signal-command-handle-nopass.exp: New file.
1239 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1240 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1241 * gdb.threads/signal-delivered-right-thread.c: New file.
1242 * gdb.threads/signal-delivered-right-thread.exp: New file.
1243
1244 2014-07-25 Pedro Alves <palves@redhat.com>
1245
1246 * gdb.base/double-prompt-target-event-error.exp
1247 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1248 match.
1249 (cancel_pagination_in_target_event): Rework double prompt
1250 detection.
1251 * gdb.base/paginate-after-ctrl-c-running.exp
1252 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1253 <return>' match.
1254 * gdb.base/paginate-bg-execution.exp
1255 (test_bg_execution_pagination_return)
1256 (test_bg_execution_pagination_cancel): Remove '-notransfer
1257 <return>' matches.
1258 * gdb.base/paginate-execution-startup.exp
1259 (test_fg_execution_pagination_return)
1260 (test_fg_execution_pagination_cancel): Remove '-notransfer
1261 <return>' matches.
1262 * gdb.base/paginate-inferior-exit.exp
1263 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1264 match.
1265 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1266 * lib/gdb.exp (pagination_prompt): Run text through
1267 string_to_regexp.
1268 (gdb_test_multiple): Match $pagination_prompt instead of
1269 "<return>".
1270 (string_to_regexp): Move to lib/gdb-utils.exp.
1271
1272 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1273
1274 * gdb.arch/amd64-entry-value-paramref.S: New file.
1275 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1276 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1277 * gdb.arch/amd64-optimout-repeat.S: New file.
1278 * gdb.arch/amd64-optimout-repeat.c: New file.
1279 * gdb.arch/amd64-optimout-repeat.exp: New file.
1280
1281 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1282
1283 PR gdb/17170
1284 * gdb.base/statistics.exp: New file.
1285
1286 2014-07-17 Doug Evans <dje@google.com>
1287
1288 PR gdb/17170
1289 * gdb.base/maint.exp: Update testing of per-command stats.
1290
1291 2014-07-16 Pedro Alves <palves@redhat.com>
1292
1293 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1294 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1295 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1296 (tfile_write_buf): New functions.
1297 (add_memory_block): Rewrite using the above.
1298 (adjust_function_address): New function.
1299 (FUNCTION_ADDRESS): New macro.
1300 (write_basic_trace_file): Remove short_x local, and use
1301 tfile_write_16. Change type of func_addr local to unsigned long
1302 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1303 here. Cast argument of add_memory_block to char pointer.
1304 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1305 (main): Remove parameters.
1306 * gdb.trace/tfile.exp: Remove nowarnings.
1307
1308 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1309
1310 * gdb.base/debug-expr.exp: Test string evaluation with
1311 "debug expression" on.
1312
1313 2014-07-15 Pedro Alves <palves@redhat.com>
1314
1315 * gdb.base/reread.exp: Use clean_restart.
1316
1317 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1318
1319 * gdb.arch/avr-flash-qualifer.c: New.
1320 * gdb.arch/avr-flash-qualifer.exp: New.
1321
1322 2014-07-14 Pedro Alves <palves@redhat.com>
1323
1324 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1325 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1326
1327 2014-07-14 Pedro Alves <palves@redhat.com>
1328
1329 * gdb.base/double-prompt-target-event-error.c: New file.
1330 * gdb.base/double-prompt-target-event-error.exp: New file.
1331
1332 2014-07-14 Pedro Alves <palves@redhat.com>
1333
1334 PR gdb/17072
1335 * gdb.base/paginate-inferior-exit.c: New file.
1336 * gdb.base/paginate-inferior-exit.exp: New file.
1337
1338 2014-07-14 Pedro Alves <palves@redhat.com>
1339
1340 PR gdb/17072
1341 * gdb.base/paginate-bg-execution.c: New file.
1342 * gdb.base/paginate-bg-execution.exp: New file.
1343
1344 2014-07-14 Pedro Alves <palves@redhat.com>
1345
1346 PR gdb/17072
1347 * gdb.base/paginate-execution-startup.c: New file.
1348 * gdb.base/paginate-execution-startup.exp: New file.
1349 * lib/gdb.exp (pagination_prompt): New global.
1350 (default_gdb_spawn): New procedure, factored out from
1351 default_gdb_spawn.
1352 (default_gdb_start): Adjust to call default_gdb_spawn.
1353 (gdb_spawn): New procedure.
1354
1355 2014-07-14 Pedro Alves <palves@redhat.com>
1356
1357 * lib/gdb.exp (gdb_assert): New procedure.
1358 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1359
1360 2014-07-14 Pedro Alves <palves@redhat.com>
1361
1362 * gdb.base/execution-termios.c: New file.
1363 * gdb.base/execution-termios.exp: New file.
1364
1365 2014-07-14 Tom Tromey <tromey@redhat.com>
1366
1367 * gdb.cp/vla-cxx.cc: New file.
1368 * gdb.cp/vla-cxx.exp: New file.
1369
1370 2014-07-14 Tom Tromey <tromey@redhat.com>
1371
1372 * gdb.reverse/rerun-prec.c: New file.
1373 * gdb.reverse/rerun-prec.exp: New file.
1374
1375 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1376 Maciej W. Rozycki <macro@codesourcery.com>
1377
1378 * lib/gdb-utils.exp: New file.
1379 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1380 inline `gdb_init_command' processing.
1381 (gdb_start_cmd): Likewise.
1382 * lib/mi-support.exp (mi_run_cmd): Likewise.
1383 * README: Document `gdb_init_command' and `gdb_init_commands'.
1384
1385 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1386
1387 Fix false FAIL running under a very long directory name.
1388 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1389 and "set print elements 10000". Twice.
1390
1391 2014-07-11 Yao Qi <yao@codesourcery.com>
1392
1393 * gdb.base/exprs.exp: "set print symbol off".
1394
1395 2014-07-11 Pedro Alves <palves@redhat.com>
1396
1397 * gdb.threads/kill.c: New file.
1398 * gdb.threads/kill.exp: New file.
1399
1400 2014-07-10 Yao Qi <yao@codesourcery.com>
1401
1402 * gdb.trace/tfile.c (write_basic_trace_file)
1403 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1404 address written to trace file.
1405
1406 2014-07-09 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.base/attach-wait-input.exp: New file.
1409 * gdb.base/attach-wait-input.c: New file.
1410
1411 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1412
1413 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1414 setting up test structures.
1415 (main): Call new test function.
1416 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1417 test function, continue into test function and walk test
1418 structures.
1419
1420 2014-07-02 Yao Qi <yao@codesourcery.com>
1421
1422 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1423 'bar_start' at the beginning of functions 'foo' and 'bar'
1424 respectively.
1425 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1426 instead of 'foo' and 'bar'.
1427
1428 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1429
1430 * gdb.btrace/segv.exp: New.
1431 * gdb.btrace/segv.c: New.
1432
1433 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1434
1435 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1436 instruction.
1437
1438 2014-06-30 Mark Wielaard <mjw@redhat.com>
1439
1440 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1441 vulture, vilify, villar): New volatile array constants.
1442 (vindictive, vegetation): New const volatile array constants.
1443 * gdb.base/volatile.exp: Test volatile and const volatile array
1444 types.
1445
1446 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1447
1448 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1449 target lacks support for awatch, rwatch, or hbreak.
1450
1451 2014-06-27 Yao Qi <yao@codesourcery.com>
1452
1453 * gdb.multi/dummy-frame-restore.exp: New.
1454 * gdb.multi/dummy-frame-restore.c: New.
1455
1456 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1457
1458 * gdb.btrace/gcore.exp: New.
1459
1460 2014-06-23 Pedro Alves <palves@redhat.com>
1461
1462 * gdb.base/watchpoint-reuse-slot.c: New file.
1463 * gdb.base/watchpoint-reuse-slot.exp: New file.
1464
1465 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1466
1467 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1468 progspace's filename in 'info', 'enable' and 'disable' command
1469 tests.
1470
1471 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1472
1473 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1474 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1475 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1476
1477 2014-06-20 Gary Benson <gbenson@redhat.com>
1478
1479 * gdb.arch/i386-avx.exp: Fix include file location.
1480 * gdb.arch/i386-sse.exp: Likewise.
1481
1482 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1483
1484 * gdb.dlang/expression.exp: New file.
1485
1486 2014-06-19 Pedro Alves <palves@redhat.com>
1487
1488 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1489 out from ...
1490 (top level): ... here. Iterate running tests under different
1491 scheduler-locking settings.
1492
1493 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1494
1495 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1496 to DW_FORM_addr and use non-zero addresses.
1497
1498 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1499
1500 PR gdb/17017
1501 * gdb.python/py-xmethods.cc: Add global function call counters and
1502 increment them in their respective functions. Remove "cout"
1503 statements.
1504 * gdb.python/py-xmethods.exp: Make tests check the global function
1505 call counters instead of depending on inferior IO.
1506
1507 2014-06-18 Don Breazeal <donb@codesourcery.com>
1508
1509 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1510 Deleted procedure.
1511 (explicit_fork_parent_follow): Deleted procedure.
1512 (explicit_fork_child_follow): Deleted procedure.
1513 (test_follow_fork): New procedure.
1514 (do_fork_tests): Replace calls to deleted procedures with
1515 calls to test_follow_fork and reset GDB for subsequent
1516 procedure calls.
1517
1518 2014-06-17 Yao Qi <yao@codesourcery.com>
1519
1520 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1521 CP1252.
1522
1523 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1524
1525 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1526 Initialize ptr and S explicitly.
1527 (skip_type_update_when_not_use_rtti_test): Likewise.
1528
1529 2014-06-16 Keith Seitz <keiths@redhat.com>
1530
1531 PR mi/15863
1532 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1533 the inferior is started.
1534
1535 2014-06-16 Pedro Alves <palves@redhat.com>
1536
1537 * gdb.base/break-main-file-remove-fail.c: New file.
1538 * gdb.base/break-main-file-remove-fail.exp: New file.
1539 * gdb.base/break-unload-file.exp: Use build_executable instead of
1540 prepare_for_testing.
1541 (test_break): New parameter "initial_load". Handle it.
1542 (top level): Add initial_load cmdline/file axis.
1543
1544 2014-06-12 Tom Tromey <tromey@redhat.com>
1545
1546 * gdb.base/completion.exp: Don't use directory name in test.
1547
1548 2014-06-09 Gary Benson <gbenson@redhat.com>
1549
1550 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1551 separate the always-available ANSI-standard signals from the
1552 signals that require checking.
1553 (main): Likewise.
1554 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1555 Likewise.
1556 (main): Likewise.
1557
1558 2014-06-07 Keith Seitz <keiths@redhat.com>
1559
1560 Revert:
1561 PR c++/16253
1562 * gdb.cp/var-tag.cc: New file.
1563 * gdb.cp/var-tag.exp: New file.
1564 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1565 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1566 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1567 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1568
1569 2014-06-06 Doug Evans <xdje42@gmail.com>
1570
1571 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1572
1573 2014-06-06 Pedro Alves <palves@redhat.com>
1574
1575 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1576 in target debug output instead of looking at RSP packets,
1577 disabling the test on any target that uses hardware stepping.
1578 Update comments.
1579
1580 2014-06-06 Pedro Alves <palves@redhat.com>
1581
1582 * gdb.base/break-unload-file.exp: Fix typo.
1583
1584 2014-06-06 Yao Qi <yao@codesourcery.com>
1585
1586 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1587 from "jit_function" to "^jit_function".
1588
1589 2014-06-06 Yao Qi <yao@codesourcery.com>
1590
1591 * gdb.base/async.c (foo): Add one statement.
1592 * gdb.base/async.exp: Get the next instruction address and
1593 match the output of "nexti" by instruction address. Match
1594 the hex address in the output of "finish".
1595
1596 2014-06-06 Gary Benson <gbenson@redhat.com>
1597
1598 * gdb.base/call-signals.c: Remove preprocessor conditionals
1599 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1600 SIGSEGV and SIGTERM.
1601 * gdb.base/sigall.c: Likewise.
1602 * gdb.base/unwindonsignal.c: Likewise.
1603 * gdb.reverse/sigall-reverse.c: Likewise.
1604
1605 2014-06-06 Yao Qi <yao@codesourcery.com>
1606
1607 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1608 readable, skip the test.
1609
1610 2014-06-06 Yao Qi <yao@codesourcery.com>
1611
1612 * gdb.threads/staticthreads.c (thread_function): Move the line
1613 setting breakpoint on forward.
1614 * gdb.threads/staticthreads.exp: Update comments.
1615
1616 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1617
1618 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1619 "history-append! type error".
1620
1621 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1622
1623 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1624 erroneous dprintf expected input.
1625
1626 2014-06-04 Doug Evans <xdje42@gmail.com>
1627
1628 * gdb.guile/scm-generics.exp: Delete.
1629
1630 2014-06-04 Doug Evans <xdje42@gmail.com>
1631
1632 * gdb.guile/scm-breakpoint.exp: Update.
1633 Add tests for breakpoint registration.
1634
1635 2014-06-04 Tom Tromey <tromey@redhat.com>
1636
1637 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1638 VLA-in-union.
1639 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1640 inner_vla_struct, vla_union types. Initialize objects of those
1641 types and compute their sizes.
1642
1643 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1644 Hui Zhu <hui@codesourcery.com>
1645
1646 * gdb.base/fileio.exp: Add test for shell not available as well as
1647 available.
1648 * gdb.base/fileio.c (test_system): Check for shell twice.
1649
1650 2014-06-04 Yao Qi <yao@codesourcery.com>
1651
1652 * gdb.base/auto-connect-native-target.exp: Remove redundant
1653 space from the regexp pattern.
1654
1655 2014-06-04 Yao Qi <yao@codesourcery.com>
1656
1657 * gdb.base/default.exp: Replace "child" with "native" in
1658 regexp pattern.
1659
1660 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1661
1662 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1663 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1664 * gdb.python/py-xmethods.py: Python script supporting the
1665 new testcase and tests.
1666
1667 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1668 Pedro Alves <palves@redhat.com>
1669
1670 PR breakpoints/17000
1671 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1672 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1673
1674 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1675
1676 * gdb.base/subst.exp: Add tests to verify partial path matching
1677 output.
1678
1679 2014-06-03 Pedro Alves <palves@redhat.com>
1680
1681 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1682 target that doesn't use software single-stepping.
1683
1684 2014-06-03 Pedro Alves <palves@redhat.com>
1685
1686 PR breakpoints/17000
1687 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1688 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1689
1690 2014-06-02 Doug Evans <xdje42@gmail.com>
1691
1692 * gdb.guile/scm-parameter.exp: New file.
1693
1694 2014-06-02 Doug Evans <xdje42@gmail.com>
1695
1696 * gdb.guile/scm-cmd.c: New file.
1697 * gdb.guile/scm-cmd.exp: New file.
1698
1699 2014-06-02 Doug Evans <xdje42@gmail.com>
1700
1701 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1702 pretty-printer lookup.
1703 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1704 (make-pp_s-printer): Call it.
1705 (make-pretty-printer-from-dict): New function.
1706 (lookup-pretty-printer-maker-from-dict): New function.
1707 (*pretty-printer*): Simplify.
1708 (make-objfile-pp_s-printer): New function.
1709 (install-objfile-pretty-printers!): New function.
1710 (make-progspace-pp_s-printer): New function.
1711 (install-progspace-pretty-printers!): New function.
1712 * gdb.guile/scm-progspace.c: New file.
1713 * gdb.guile/scm-progspace.exp: New file.
1714
1715 2014-06-02 Pedro Alves <palves@redhat.com>
1716
1717 * gdb.base/dprintf-bp-same-addr.c: New file.
1718 * gdb.base/dprintf-bp-same-addr.exp: New file.
1719
1720 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1721
1722 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1723 * gdb.arch/powerpc-power.s: Likewise.
1724
1725 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1726
1727 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1728
1729 2014-06-01 Yao Qi <yao@codesourcery.com>
1730
1731 * gdb.base/watchpoint.exp (test_watch_location): Check null
1732 pointer can be dereferenced. If not, do the test, otherwise
1733 skip it.
1734
1735 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1736
1737 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1738 results.
1739 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1740
1741 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1742
1743 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1744 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1745 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1746 * gdb.arch/amd64-invalid-stack-top.c: New file.
1747 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1748
1749 2014-05-30 Pedro Alves <palves@redhat.com>
1750
1751 PR breakpoints/17000
1752 * gdb.base/sss-bp-on-user-bp.c: New file.
1753 * gdb.base/sss-bp-on-user-bp.exp: New file.
1754
1755 2014-05-30 David Blaikie <dblaikie@gmail.com>
1756
1757 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1758 gnu_inline semantics via attribute.
1759 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1760 source explicitly specifies the required semantics.
1761
1762 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1763
1764 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1765
1766 2014-05-29 Pedro Alves <palves@redhat.com>
1767 Tom Tromey <tromey@redhat.com>
1768
1769 * gdb.base/async-shell.exp: Don't enable target-async.
1770 * gdb.base/async.exp
1771 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1772 parameter. Adjust.
1773 (top level): Don't test with "target-async".
1774 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1775 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1776 * gdb.base/inferior-died.exp: Don't enable target-async.
1777 * gdb.base/interrupt-noterm.exp: Likewise.
1778 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1779 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1780 * gdb.mi/mi-nonstop.exp: Likewise.
1781 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1782 * gdb.mi/mi-nsintrall.exp: Likewise.
1783 * gdb.mi/mi-nsmoribund.exp: Likewise.
1784 * gdb.mi/mi-nsthrexec.exp: Likewise.
1785 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1786 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1787 * gdb.python/py-evsignal.exp: Don't enable target-async.
1788 * gdb.python/py-evthreads.exp: Likewise.
1789 * gdb.python/py-prompt.exp: Likewise.
1790 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1791 * gdb.server/solib-list.exp: Don't enable target-async.
1792 * gdb.threads/thread-specific-bp.exp: Likewise.
1793 * lib/mi-support.exp: Adjust to use mi-async.
1794
1795 2014-05-29 Pedro Alves <palves@redhat.com>
1796
1797 PR gdb/13860
1798 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1799 reason, even in sync mode.
1800
1801 2014-05-29 Pedro Alves <palves@redhat.com>
1802 Hui Zhu <hui@codesourcery.com>
1803
1804 PR PR15693
1805 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1806 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1807 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1808 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1809
1810 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1811
1812 * config/monitor.exp (gdb_target_monitor): Replace use of
1813 "set remotebaud" by "set serial baud".
1814
1815 2014-05-26 Andy Wingo <wingo@igalia.com>
1816
1817 * gdb.guile/scm-breakpoint.exp:
1818 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1819 properties instead of gdb-object-properties.
1820
1821 2014-05-26 Yao Qi <yao@codesourcery.com>
1822
1823 * gdb.server/no-thread-db.exp: Specify source file name
1824 explicitly when setting a breakpoint.
1825
1826 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1827
1828 * gdb.btrace/vdso.c: New.
1829 * gdb.btrace/vdso.exp: New.
1830
1831 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1832
1833 * gdb.base/gcore.exp (capture_command_output): Move ...
1834 * lib/gdb.exp (capture_command_output): ... here.
1835
1836 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1837
1838 * gdb.btrace/data.exp: Test memory access during btrace replay.
1839
1840 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1841
1842 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1843
1844 2014-05-21 Pedro Alves <palves@redhat.com>
1845
1846 PR gdb/13860
1847 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1848 (top level): Test that output related to execution commands is
1849 sent to the console with CLI commands, but not with MI commands.
1850 Test that breakpoint events are always mirrored to the console.
1851 Also expect the new source line to be output after a "next" in
1852 async mode too. Make it a pass/fail test.
1853 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1854 output.
1855 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1856
1857 2014-05-21 Pedro Alves <palves@redhat.com>
1858
1859 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1860 Use them to test variations of "list" after reaching a breakpoint.
1861 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1862 Test "list" with listsize 10 after reaching a breakpoint.
1863 * gdb.python/python.exp (decode_line current location line
1864 number): Adjust expected line number.
1865
1866 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1867
1868 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1869 behavior for $args, pass it directly to "run".
1870
1871 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1872
1873 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1874 30000 to 65536.
1875
1876 2014-05-21 Pedro Alves <palves@redhat.com>
1877
1878 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1879 auto-connect-native-target off".
1880 * gdb.base/auto-connect-native-target.c: New file.
1881 * gdb.base/auto-connect-native-target.exp: New file.
1882
1883 2014-05-21 Pedro Alves <palves@redhat.com>
1884
1885 * gdb.base/default.exp: Test "target native" instead of "target
1886 child".
1887
1888 2014-05-21 Mark Wielaard <mjw@redhat.com>
1889
1890 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1891
1892 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1893
1894 Fix TLS access for -static -pthread.
1895 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1896 <HAVE_TLS> (thread_function, main): Initialize it.
1897 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1898 Add clean_restart.
1899 <$have_tls != "">: Check TLSVAR.
1900
1901 2014-05-21 Pedro Alves <palves@redhat.com>
1902
1903 * gdb.base/dcache-line-read-error.c: New.
1904 * gdb.base/dcache-line-read-error.exp: New.
1905
1906 2014-05-20 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.base/compare-sections.c: New file.
1909 * gdb.base/compare-sections.exp: New file.
1910
1911 2014-05-20 Pedro Alves <palves@redhat.com>
1912
1913 * gdb.base/break-idempotent.c: New file.
1914 * gdb.base/break-idempotent.exp: New file.
1915
1916 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1917
1918 * gdb.btrace/nohist.exp: New.
1919
1920 2014-05-20 Yao Qi <yao@codesourcery.com>
1921
1922 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1923 gdb.reverse directory and gdb_reverse_timeout exists in board
1924 setting.
1925 * README: Document gdb_reverse_timeout.
1926
1927 2014-05-20 Yao Qi <yao@codesourcery.com>
1928
1929 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1930 'test_file_name'. Treat args as a string instead of a list.
1931 (gdb_init): Rename argument 'args' by 'test_file_name'.
1932
1933 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1934
1935 * gdb.arch/powerpc-power.exp: New file.
1936 * gdb.arch/powerpc-power.s: New file.
1937
1938 2014-05-16 Doug Evans <dje@google.com>
1939
1940 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1941 * gdb.base/completion.exp: Check that all expected files exist
1942 before doing file completion.
1943
1944 2014-05-16 Doug Evans <dje@google.com>
1945
1946 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1947 Update.
1948 (do_syscall_tests_without_xml): Update.
1949
1950 2014-05-16 Pedro Alves <palves@redhat.com>
1951
1952 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1953 instead of "unknown output after running".
1954
1955 2014-05-16 Yao Qi <yao@codesourcery.com>
1956
1957 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1958 file1.txt from host at the end.
1959 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1960
1961 2014-05-15 Doug Evans <dje@google.com>
1962
1963 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1964 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1965 loading file. Add test for TU lookup.
1966
1967 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1968
1969 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1970 calling "-exec-arguments" or "set args" before running the
1971 inferior.
1972
1973 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1974
1975 * lib/mi-support.exp (mi_expect_stop): Expect message for
1976 inferiors that exit with non-zero exit code.
1977
1978 2014-05-14 Yao Qi <yao@codesourcery.com>
1979
1980 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1981 match absolute path on remote host.
1982 (test_file_list_exec_source_files): Remove "/" from the
1983 pattern.
1984
1985 2014-05-14 Yao Qi <yao@codesourcery.com>
1986
1987 * boards/local-remote-host-notty.exp (${board}_file): New
1988 proc.
1989
1990 2014-05-07 Kyle McMartin <kyle@redhat.com>
1991
1992 Pushed by Joel Brobecker <brobecker@adacore.com>.
1993 * gdb.arch/aarch64-atomic-inst.c: New file.
1994 * gdb.arch/aarch64-atomic-inst.exp: New file.
1995
1996 2014-05-07 Yao Qi <yao@codesourcery.com>
1997
1998 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1999 in current context" too.
2000
2001 2014-05-05 Keith Seitz <keiths@redhat.com>
2002
2003 * gdb.linespec/ls-dollar.exp: Add test for linespec
2004 file:convenience_variable.
2005
2006 2014-05-05 Yao Qi <yao@codesourcery.com>
2007
2008 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2009 traceframes into tfile and ctf trace files. Read data from
2010 trace file and test collected data.
2011 (gdb_collect_locals_test): Likewise.
2012 (gdb_unavailable_registers_test): Likewise.
2013 (gdb_unavailable_floats): Likewise.
2014 (gdb_collect_globals_test): Likewise.
2015 (top-level): Append "ctf" to trace_file_targets if GDB
2016 supports.
2017
2018 2014-05-05 Yao Qi <yao@codesourcery.com>
2019
2020 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2021 code to ...
2022 (gdb_collect_args_test_1): ... it. New proc.
2023 (gdb_collect_locals_test): Move some code to ...
2024 (gdb_collect_locals_test_1): ... it. New proc.
2025 (gdb_unavailable_registers_test): Move some code to ...
2026 (gdb_unavailable_registers_test_1): ... it. New proc.
2027 (gdb_unavailable_floats): Move some code to ...
2028 (gdb_unavailable_floats_1): ... it. New proc.
2029
2030 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2031
2032 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2033 probes to test for bitness recognition.
2034 * gdb.arch/amd64-stap-optional-prefix.exp
2035 (test_probe_value_without_reg): New procedure.
2036 Add code to test for different kinds of bitness.
2037
2038 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2039
2040 PR breakpoints/16889
2041 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2042 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2043
2044 2014-05-01 Pedro Alves <palves@redhat.com>
2045
2046 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2047 gdb_file_cmd if no file is specified.
2048 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2049 last_loaded_file to set the remote exec-file.
2050
2051 2014-05-01 Pedro Alves <palves@redhat.com>
2052
2053 * boards/local-remote-host.exp: New file.
2054
2055 2014-05-01 Pedro Alves <palves@redhat.com>
2056
2057 * boards/local-remote-host.exp: Rename to ...
2058 * boards/local-remote-host-notty.exp: ... this.
2059
2060 2014-04-28 Joel Brobecker <brobecker@adacore.com>
2061
2062 * gdb.ada/dyn_arrayidx: New testcase.
2063
2064 2014-04-26 Yao Qi <yao@codesourcery.com>
2065
2066 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2067 and compute the length of function main. Save it in
2068 $main_length.
2069 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2070 (top-level): Use gdb_compile to compile objects into
2071 executable and restart GDB. Remove invocation to
2072 prepare_for_testing.
2073
2074 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2075 Pedro Alves <palves@redhat.com>
2076
2077 PR server/16255
2078 * gdb.multi/multi-attach.c: New file.
2079 * gdb.multi/multi-attach.exp: New file.
2080
2081 2014-04-25 Pedro Alves <palves@redhat.com>
2082
2083 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2084 user.
2085 (top level): Test that "set remote conditional-breakpoints-packet
2086 off" works as intended.
2087 * gdb.base/dprintf.exp: Test that "set remote
2088 breakpoint-commands-packet off" works as intended.
2089 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2090 New function.
2091 (top level): Call it.
2092 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2093 remote fast-tracepoints-packet off" works as intended.
2094 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2095 * lib/gdb.exp (gdb_is_target_remote): ... here.
2096
2097 2014-04-24 David Blaikie <dblaikie@gmail.com>
2098
2099 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2100 ensure clang would not discard them.
2101 * gdb.base/gdbvars.c: Ditto.
2102 * gdb.base/memattr.c: Ditto.
2103 * gdb.base/whatis.c: Ditto.
2104 * gdb.python/py-prettyprint.c: Ditto.
2105 * gdb.trace/actions.c: Ditto.
2106 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2107 ensure clang would not discard it.
2108
2109 2014-04-24 David Blaikie <dblaikie@gmail.com>
2110
2111 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2112 clang to emit the full definition of type required by the test
2113 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2114
2115 2014-04-24 David Blaikie <dblaikie@gmail.com>
2116
2117 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2118 coax Clang into emitting the definition of the type.
2119 * gdb.cp/pr10728-x.h (y): Ditto.
2120 * gdb.cp/pr10728-y.cc (y): Ditto.
2121
2122 2014-04-24 David Blaikie <dblaikie@gmail.com>
2123
2124 * gdb.base/label.exp: XFAIL label related tests under Clang.
2125 * gdb.cp/cplabel.exp: Ditto.
2126 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2127 under Clang those using labels.
2128
2129 2014-04-25 Yao Qi <yao@codesourcery.com>
2130
2131 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2132 double_label.
2133 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2134 partial_label and double_label.
2135
2136 2014-04-24 David Blaikie <dblaikie@gmail.com>
2137
2138 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2139
2140 2014-04-24 David Blaikie <dblaikie@gmail.com>
2141
2142 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2143 of the function to work across GCC and Clang.
2144 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2145 pointer types (const void ** const V void **).
2146
2147 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
2148 Walfred Tedeschi <walfred.tedeschi@intel.com>
2149
2150 * Makefile.in (EXECUTABLES): Added i386-avx512.
2151 * gdb.arch/i386-avx512.c: New file.
2152 * gdb.arch/i386-avx512.exp: Likewise.
2153
2154 2014-04-23 Keith Seitz <keiths@redhat.com>
2155
2156 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2157 (mi_make_breakpoint_table): New procedure.
2158 (mi_create_breakpoint): Use mi_make_breakpoint
2159 and return the result.
2160 (mi_make_breakpoint): New procedure.
2161 (mi_build_kv_pairs): New procedure.
2162
2163 * gdb.mi/mi-break.exp: Remove unused globals,
2164 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2165 All callers updated.
2166 * gdb.mi/mi-dprintf.exp: Use variable to track command
2167 number.
2168 Update all callers of mi_create_breakpoint and use
2169 mi_make_breakpoint_table.
2170 Remove any unused global variables.
2171 * gdb.mi/mi-nonstop.exp: Likewise.
2172 * gdb.mi/mi-nsintrall.exp: Likewise.
2173 * gdb.mi/mi-nsmoribund.exp: Likewise.
2174 * gdb.mi/mi-nsthrexec.exp: Likewise.
2175 * gdb.mi/mi-reverse.exp: Likewise.
2176 * gdb.mi/mi-simplerun.exp: Likewise.
2177 * gdb.mi/mi-stepn.exp: Likewise.
2178 * gdb.mi/mi-syn-frame.exp: Likewise.
2179 * gdb.mi/mi-until.exp: Likewise.
2180 * gdb.mi/mi-var-cp.exp: Likewise.
2181 * gdb.mi/mi-var-display.exp: Likewise.
2182 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2183 * gdb.mi/mi2-var-child.exp: Likewise.
2184 * gdb.mi/mi-vla-c99.exp: Likewise.
2185 * lib/mi-support.exp: Likewise.
2186
2187 From Ian Lance Taylor <iant@cygnus.com>:
2188 * lib/gdb.exp (parse_args): New procedure.
2189
2190 2014-04-23 Pedro Alves <palves@redhat.com>
2191
2192 * gdb.base/break-unload-file.c: New file.
2193 * gdb.base/break-unload-file.exp: New file.
2194 * gdb.base/sym-file-lib.c (baz): New function.
2195 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2196 field.
2197 (load): Store the segment's mapped size.
2198 (unload): New function.
2199 (unload_shlib): New function.
2200 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2201 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2202 set a breakpoint at baz, and call it.
2203 * gdb.base/sym-file.exp: New tests for stale breakpoint
2204 instructions.
2205
2206 2014-04-23 Pedro Alves <palves@redhat.com>
2207
2208 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2209 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2210 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2211 * gdb.base/hbreak-unmapped.c: New file.
2212 * gdb.base/hbreak-unmapped.exp: New file.
2213 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2214 * lib/gdb.exp (gdb_is_target_remote): ... here.
2215
2216 2014-04-22 Pedro Alves <palves@redhat.com>
2217
2218 * gdb.base/consecutive-step-over.c: New file.
2219 * gdb.base/consecutive-step-over.exp: New file.
2220
2221 2014-04-22 Pedro Alves <palves@redhat.com>
2222
2223 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2224 instead of send_gdb/gdb_expect.
2225
2226 2014-04-22 Yao Qi <yao@codesourcery.com>
2227
2228 * lib/trace-support.exp (generate_tracefile): New procedure.
2229 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2230 return 0.
2231 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2232 if generate_tracefile returns 1.
2233
2234 2014-04-18 Tom Tromey <palves@redhat.com>
2235 Pedro alves <tromey@redhat.com>
2236
2237 PR backtrace/15558
2238 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2239 with a backtrace limit.
2240 * gdb.python/py-frame-inline.exp: Test running to an inline
2241 function with a backtrace limit, and printing the newest frame.
2242 * gdb.python/py-frame-inline.c (main): Call f.
2243
2244 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2245
2246 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2247
2248 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2249
2250 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2251 Drop prefix from unsupported source file path.
2252
2253 2014-04-17 Yao Qi <yao@codesourcery.com>
2254
2255 * lib/gdb.exp (with_target_charset): New proc.
2256 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2257 with_target_charset.
2258 (test_print_strings): Likewise.
2259 (test_repeat_bytes): Likewise.
2260 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2261 for some tests.
2262
2263 2014-04-16 Keith Seitz <keiths@redhat.com>
2264
2265 PR gdb/15827
2266 * gdb.dwarf2/corrupt.c: New file.
2267 * gdb.dwarf2/corrupt.exp: New file.
2268
2269 2014-04-16 Keith Seitz <keiths@redhat.com>
2270
2271 PR c++/16597
2272 * gdb.cp/namelessclass.cc: New file.
2273 * gdb.cp/namelessclass.exp: New file.
2274 * gdb.cp/namelessclass.S: New file.
2275
2276 2014-04-16 Doug Evans <dje@google.com>
2277
2278 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2279 Add comment.
2280 (gdbserver_default_get_comm_port): New function.
2281 (gdbserver_start): Check if board file provided
2282 "gdbserver,get_comm_port" and use it if so.
2283 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2284 (gdb,socketport): Set to "stdio".
2285 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2286 (stdio_gdbserver_template): Delete.
2287 (${board}_get_remote_address): Update.
2288 (${board}_build_remote_cmd): Delete.
2289 (${board}_get_comm_port): New function.
2290 (${board}_spawn): Update.
2291 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2292 Delete.
2293 (${board}_get_remote_address): Update.
2294 (${board}_get_comm_port): New function.
2295
2296 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2297
2298 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2299 appearing in any order.
2300
2301 2014-04-15 Doug Evans <dje@google.com>
2302
2303 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2304 uninitialized value of "description".
2305
2306 2014-04-15 Keith Seitz <keiths@redhat.com>
2307
2308 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2309 Remove unused globals.
2310 (test_running_the_program): Likewise.
2311 (test_controlled_execution): Likewise.
2312 (test_controlling_breakpoints): Likewise.
2313 (test_program_termination): Likewise.
2314
2315 2014-04-15 Keith Seitz <keiths@redhat.com>
2316
2317 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2318 unused globals.
2319 (test_rbreak_creation_and_listing): Likewise.
2320 (test_ignore_count): Likewise.
2321 (test_error): Likewise.
2322
2323 2014-04-15 Pedro Alves <palves@redhat.com>
2324
2325 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2326 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2327 sym-file-loader.c.
2328 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2329 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2330 to sym-file-loader.c.
2331 (struct library): Forward declare.
2332 (load_shlib, lookup_function): Change prototypes.
2333 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2334 (translate_offset): Remove declarations.
2335 (get_text_addr): New declaration.
2336 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2337 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2338 sym-file-loader.h.
2339 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2340 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2341 here from sym-file-loader.h.
2342 (struct library): New structure.
2343 (load_shlib, lookup_function): Change prototypes and adjust to
2344 work with a struct library.
2345 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2346 (translate_offset): Make static.
2347 (get_text_addr): New function.
2348 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2349
2350 2014-04-15 Pedro Alves <palves@redhat.com>
2351
2352 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2353
2354 2014-04-15 Pedro Alves <palves@redhat.com>
2355
2356 * gdb.base/sym-file-loader.c: Include <limits.h>.
2357 (SELF_LINK): New define.
2358 (get_origin): New function.
2359 (load_shlib): Use it.
2360 * gdb.base/sym-file.exp: Don't early return if the target is
2361 remote. Use runto_main, and issue fail is that fails. Use
2362 gdb_load_shlibs.
2363 (shlib_name): Delete.
2364 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2365
2366 2014-04-15 Pedro Alves <palves@redhat.com>
2367
2368 * gdb.base/sym-file.exp: Remove regex characters from test
2369 message. Don't refer to breakpoint numbers in test messages.
2370
2371 2014-04-14 Keith Seitz <keiths@redhat.com>
2372
2373 PR c++/16253
2374 * gdb.cp/var-tag.cc: New file.
2375 * gdb.cp/var-tag.exp: New file.
2376 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2377 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2378 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2379 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2380
2381 2014-04-14 Tom Tromey <tromey@redhat.com>
2382
2383 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2384 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2385 type.
2386 * gdb.cp/enum-class.exp: New file.
2387 * gdb.cp/enum-class.cc: New file.
2388
2389 2014-04-14 Tom Tromey <tromey@redhat.com>
2390
2391 * gdb.dwarf2/enum-type.exp: New file.
2392
2393 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2394
2395 * gdb.mi/mi-vla-c99.exp: New file.
2396 * gdb.mi/vla.c: New file.
2397
2398 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2399
2400 * gdb.base/vla-datatypes.c: New file.
2401 * gdb.base/vla-datatypes.exp: New file.
2402
2403 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2404
2405 * gdb.base/vla-ptr.c: New file.
2406 * gdb.base/vla-ptr.exp: New file.
2407
2408 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2409
2410 * gdb.dwarf2/count.exp: New file.
2411
2412 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2413
2414 * gdb.base/vla-sideeffect.c: New file.
2415 * gdb.base/vla-sideeffect.exp: New file.
2416
2417 2014-04-14 David Blaikie <dblaikie@gmail.com>
2418
2419 * gdb.mi/non-stop.c: Add return value for non-void function return
2420 statement.
2421 * gdb.threads/staticthreads.c: Ditto.
2422
2423 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2424 Doug Evans <xdje42@gmail.com>
2425
2426 * gdb.guile/scm-value.c: Improve test case.
2427 * gdb.guile/scm-value.exp: Add new test.
2428
2429 2014-04-11 David Blaikie <dblaikie@gmail.com>
2430
2431 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2432 override Clang's default.
2433
2434 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2435
2436 Revert the following changes (regressions):
2437
2438 * gdb.base/vla-sideeffect.c: New file.
2439 * gdb.base/vla-sideeffect.exp: New file.
2440
2441 * gdb.dwarf2/count.exp: New file.
2442
2443 * gdb.base/vla-multi.c: New file.
2444 * gdb.base/vla-multi.exp: New file.
2445
2446 * gdb.base/vla-ptr.c: New file.
2447 * gdb.base/vla-ptr.exp: New file.
2448
2449 * gdb.base/vla-datatypes.c: New file.
2450 * gdb.base/vla-datatypes.exp: New file.
2451
2452 * gdb.mi/mi-vla-c99.exp: New file.
2453 * gdb.mi/vla.c: New file.
2454
2455 2014-04-11 Keith Seitz <keiths@redhat.com>
2456
2457 PR c++/16675
2458 * gdb.cp/cpsizeof.exp: New file.
2459 * gdb.cp/cpsizeof.cc: New file.
2460
2461 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2462
2463 * gdb.mi/mi-vla-c99.exp: New file.
2464 * gdb.mi/vla.c: New file.
2465
2466 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2467
2468 * gdb.base/vla-datatypes.c: New file.
2469 * gdb.base/vla-datatypes.exp: New file.
2470
2471 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2472
2473 * gdb.base/vla-ptr.c: New file.
2474 * gdb.base/vla-ptr.exp: New file.
2475
2476 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2477
2478 * gdb.base/vla-multi.c: New file.
2479 * gdb.base/vla-multi.exp: New file.
2480
2481 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2482
2483 * gdb.dwarf2/count.exp: New file.
2484
2485 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2486
2487 * gdb.base/vla-sideeffect.c: New file.
2488 * gdb.base/vla-sideeffect.exp: New file.
2489
2490 2014-04-11 Yao Qi <yao@codesourcery.com>
2491
2492 * gdb.base/completion.exp: Check file exists before running tests
2493 on file completion.
2494
2495 2014-04-10 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.base/cond-eval-mode.c: New file.
2498 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2499 prepare_for_testing to build the new file. Check result of
2500 runto_main.
2501 (test_break, test_watch): New procedures.
2502 (top level): Use them.
2503
2504 2014-04-08 Pierre Muller <muller@sourceware.org>
2505
2506 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2507 Ctrl-V use for mingw hosts.
2508
2509 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2510
2511 * gdb.python/py-value.c: Improve test case.
2512 * gdb.python/py-value.exp: Add new test.
2513
2514 2014-04-07 David Blaikie <dblaikie@gmail.com>
2515
2516 * lib/compiler.c: Identify the clang compiler.
2517 * lib/compiler.cc: Ditto.
2518
2519 2014-04-03 Yao Qi <yao@codesourcery.com>
2520
2521 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2522
2523 2014-04-01 Anton Blanchard <anton@samba.org>
2524
2525 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2526 messages unique.
2527
2528 2014-04-01 Anton Blanchard <anton@samba.org>
2529
2530 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2531 prepare_for_testing.
2532
2533 2014-04-01 Anton Blanchard <anton@samba.org>
2534
2535 * gdb.arch/ppc64-atomic-inst.c: Remove.
2536 * gdb.arch/ppc64-atomic-inst.S: New file.
2537 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2538
2539 2014-03-31 Doug Evans <dje@google.com>
2540
2541 * gdb.base/print-symbol-loading-lib.c: New file.
2542 * gdb.base/print-symbol-loading-main.c: New file.
2543 * gdb.base/print-symbol-loading.exp: New file.
2544
2545 2014-03-31 Yao Qi <yao@codesourcery.com>
2546
2547 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2548
2549 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2550
2551 * gdb.ada/mi_dyn_arr: New testcase.
2552
2553 2014-03-27 Doug Evans <dje@google.com>
2554
2555 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2556
2557 2014-03-27 Yao Qi <yao@codesourcery.com>
2558
2559 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2560 if target is nios2-*-*.
2561
2562 2014-03-26 Yao Qi <yao@codesourcery.com>
2563
2564 * lib/gdb.exp (readline_is_used): New proc.
2565 * gdb.base/completion.exp: Move tests on command complete up.
2566 Skip the rest of tests if readline is not used.
2567 * gdb.ada/complete.exp: Skp the test if readline is not
2568 used.
2569 * gdb.base/filesym.exp: Likewise.
2570 * gdb.base/macscp.exp: Likewise.
2571 * gdb.base/readline-ask.exp: Likewise.
2572 * gdb.base/readline.exp: Likewise.
2573 * gdb.python/py-cmd.exp: Likewise.
2574 * gdb.trace/tfile.exp: Likewise.
2575
2576 2014-03-26 Yao Qi <yao@codesourcery.com>
2577
2578 * gdb.base/macscp.exp: Fix code format issues.
2579
2580 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2581
2582 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2583 * gdb.asm/powerpc64le.inc: New file.
2584
2585 2014-03-25 Pedro Alves <palves@redhat.com>
2586 Doug Evans <dje@google.com>
2587
2588 * gdb.base/source-execution.c: New file.
2589 * gdb.base/source-execution.exp: New file.
2590 * gdb.base/source-execution.gdb: New file.
2591
2592 2014-03-24 Doug Evans <dje@google.com>
2593
2594 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2595 using fission.
2596
2597 2014-03-24 Hui Zhu <hui@codesourcery.com>
2598 Pedro Alves <palves@redhat.com>
2599
2600 PR breakpoints/16101
2601 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2602 test pass/fail messages. Detect missing support for dprintf when
2603 breakpoints are actually inserted.
2604 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2605 breakpoints are actually inserted.
2606 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2607 fails.
2608
2609 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2610
2611 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2612
2613 2014-03-22 Doug Evans <xdje42@gmail.com>
2614
2615 * gdb.python/python.exp (python not supported): Verify multi-line
2616 python command issues an error.
2617 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2618 guile command issues an error.
2619
2620 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2621
2622 * gdb.threads/thread-specific.exp: Handle the lack of usable
2623 $this_breakpoint and $this_thread.
2624
2625 2014-03-21 Hui Zhu <hui@codesourcery.com>
2626
2627 * gdb.base/attach.exp (do_command_attach_tests): New.
2628
2629 2014-03-20 Tom Tromey <tromey@redhat.com>
2630 Pedro Alves <palves@redhat.com>
2631
2632 PR cli/15718
2633 * gdb.base/condbreak-call-false.c: New file.
2634 * gdb.base/condbreak-call-false.exp: New file.
2635
2636 2014-03-20 Pedro Alves <palves@redhat.com>
2637
2638 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2639 Delete.
2640 (block_signals, unblock_signals): Delete.
2641 (child_function_2, main): Remove references to deleted variable
2642 and functions.
2643
2644 2014-03-20 Pedro Alves <palves@redhat.com>
2645
2646 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2647 Use pthread_kill to signal thread 2.
2648 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2649 Adjust to make the test send itself a signal rather than using the
2650 host's "kill" command.
2651
2652 2014-03-20 Pedro Alves <palves@redhat.com>
2653
2654 * gdb.threads/multiple-step-overs.c: New file.
2655 * gdb.threads/multiple-step-overs.exp: New file.
2656 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2657 Adjust expected infrun debug output.
2658
2659 2014-03-20 Pedro Alves <palves@redhat.com>
2660
2661 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2662 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2663
2664 2014-03-20 Pedro Alves <palves@redhat.com>
2665
2666 PR breakpoints/7143
2667 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2668 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2669 of gdb_test_multiple.
2670 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2671 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2672
2673 2014-03-20 Pedro Alves <palves@redhat.com>
2674
2675 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2676 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2677
2678 2014-03-19 Pedro Alves <palves@redhat.com>
2679
2680 * gdb.base/async.exp: Remove early return.
2681
2682 2014-03-19 Pedro Alves <palves@redhat.com>
2683
2684 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2685
2686 2014-03-19 Pedro Alves <palves@redhat.com>
2687
2688 * gdb.base/async.exp (test_background): Expect \r\n after
2689 "completed." in the fail pattern.
2690
2691 2014-03-19 Pedro Alves <palves@redhat.com>
2692
2693 * gdb.base/async.exp (test_background): New procedure.
2694 Use it for all background execution command tests.
2695
2696 2014-03-19 Pedro Alves <palves@redhat.com>
2697
2698 * gdb.base/async.exp: Use prepare_for_testing.
2699
2700 2014-03-19 Pedro Alves <palves@redhat.com>
2701
2702 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2703 the same line.
2704
2705 2014-03-19 Pedro Alves <palves@redhat.com>
2706
2707 * gdb.base/async.c (main): Add "jump here" and "until here" line
2708 marker comments.
2709 * gdb.base/async.exp (jump_here): New global.
2710 (jump& test): Use it.
2711 (until_here): New global.
2712 (until& test): Use it.
2713
2714 2014-03-19 Pedro Alves <palves@redhat.com>
2715
2716 * gdb.base/async.exp: Don't frob gdb_protocol.
2717
2718 2014-03-18 Doug Evans <xdje42@gmail.com>
2719
2720 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2721 Fix spelling of exec-done-display.
2722
2723 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2724
2725 PR gdb/15358
2726 * gdb.base/gdb-sigterm.c: New file.
2727 * gdb.base/gdb-sigterm.exp: New file.
2728
2729 2014-03-18 Pedro Alves <palves@redhat.com>
2730
2731 PR gdb/13860
2732 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2733 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2734 solib-event.
2735
2736 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2737
2738 * gdb.ada/pckd_arr_ren: New testcase.
2739
2740 2014-03-13 Doug Evans <xdje42@gmail.com>
2741
2742 PR guile/16612
2743 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2744 collect after discarding symbols.
2745
2746 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2747 Doug Evans <xdje42@gmail.com>
2748
2749 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2750 to history survives a gc.
2751
2752 2014-03-13 Pedro Alves <palves@redhat.com>
2753
2754 * gdb.base/default.exp: Don't test "target procfs".
2755
2756 2014-03-13 Pedro Alves <palves@redhat.com>
2757
2758 * gdb.base/default.exp: Update "target child" and "target procfs"
2759 tests to not expect "Unix".
2760
2761 2014-03-12 Tom Tromey <tromey@redhat.com>
2762
2763 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2764 New procs. Add target-async tests.
2765 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2766 Add target-async tests.
2767
2768 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2769
2770 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2771 'func_start' and 'func_end' for the beginning and end of the
2772 function code, respectively.
2773 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2774 'func_end' instead of 'func' and 'main'.
2775
2776 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2777
2778 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2779 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2780 generate the debug info assembler source.
2781
2782 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2783
2784 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2785 * gdb.dwarf2/arr-subrange.exp: Likewise.
2786 * gdb.dwarf2/dwz.exp: Likewise.
2787 * gdb.dwarf2/method-ptr.exp: Likewise.
2788 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2789 * gdb.dwarf2/subrange.exp: Likewise.
2790 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2791 * gdb.dwarf2/implptrpiece.exp: Likewise.
2792 * gdb.dwarf2/nostaticblock.exp: Likewise.
2793
2794 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2795
2796 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2797 directory to absolute path name arguments.
2798
2799 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2800
2801 * gdb.ada/tagged_access: New testcase.
2802
2803 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2804
2805 * gdb.btrace/data.exp: Update expected output.
2806
2807 2014-03-06 Yao Qi <yao@codesourcery.com>
2808
2809 * gdb.trace/pr16508.exp: New file.
2810
2811 2014-03-05 Pedro Alves <palves@redhat.com>
2812
2813 PR gdb/16575
2814 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2815 procedure.
2816 (top level): Adjust to use it. Add tests that exercise breakpoint
2817 interaction with the code-cache.
2818
2819 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2820
2821 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2822 test for 'history-append!'.
2823
2824 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2825
2826 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2827 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2828 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2829 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2830 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2831 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2832
2833 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2834
2835 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2836 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2837 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2838
2839 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2840
2841 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2842
2843 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2844
2845 * gdb.dwarf2/arr-stride.c: New file.
2846 * gdb.dwarf2/arr-stride.exp: New file.
2847
2848 2014-02-26 Pedro Alves <palves@redhat.com>
2849
2850 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2851 that won't ever trigger. Make sure that GDB reports the correct
2852 breakpoint that caused the stop.
2853
2854 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2855
2856 PR gdb/16626
2857 * gdb.base/auto-load-script: New file.
2858 * gdb.base/auto-load.c: New file.
2859 * gdb.base/auto-load.exp: New file.
2860
2861 PR gdb/16626
2862 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2863
2864 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2865
2866 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2867 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2868
2869 2014-02-24 Doug Evans <dje@google.com>
2870
2871 * lib/gdb.exp (run_on_host): Log error output if program fails.
2872
2873 2014-02-21 Pedro Alves <palves@redhat.com>
2874
2875 * gdb.threads/step-after-sr-lock.c: Rename to ...
2876 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2877 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2878 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2879 ... this.
2880
2881 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2882
2883 PR tdep/16397
2884 * gdb.arch/amd64-stap-special-operands.exp: New file.
2885 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2886 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2887 * gdb.arch/amd64-stap-triplet.S: Likewise.
2888 * gdb.arch/amd64-stap-triplet.c: Likewise.
2889
2890 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2891
2892 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2893 in .section pseudo-op.
2894
2895 2014-02-20 lin zuojian <manjian2006@gmail.com>
2896 Joel Brobecker <brobecker@adacore.com>
2897 Doug Evans <xdje42@gmail.com>
2898
2899 PR symtab/16581
2900 * gdb.dwarf2/dw2-icycle.S: New file.
2901 * gdb.dwarf2/dw2-icycle.c: New file.
2902 * gdb.dwarf2/dw2-icycle.exp: New file.
2903
2904 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2905
2906 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2907 operations on gdb.Value objects.
2908 * gdb.python/py-value-cc.exp: Add new test to test operations on
2909 gdb.Value objects.
2910
2911 2014-02-18 Doug Evans <dje@google.com>
2912
2913 * Makefile.in (TESTS): New variable.
2914 (expanded_tests, expanded_tests_or_none): New variables
2915 (check-single): Pass $(expanded_tests_or_none) to runtest.
2916 (check-parallel): Only run tests in $(TESTS) if non-empty.
2917 (check/no-matching-tests-found): New rule.
2918 * README: Document TESTS makefile variable.
2919
2920 2014-02-18 Doug Evans <dje@google.com>
2921
2922 * Makefile.in (check-parallel): rm -rf outputs temp.
2923
2924 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2925
2926 Fix "ERROR: no fileid for" in the testsuite.
2927 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2928
2929 2014-02-12 Doug Evans <dje@google.com>
2930
2931 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2932 (MISCELLANEOUS): New variable.
2933 (clean): rm -rf $(MISCELLANEOUS).
2934 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2935 dwp live in the same directory as symlinks, with each symlink pointed
2936 to a differently named file in a different directory.
2937
2938 2014-02-11 Doug Evans <dje@google.com>
2939
2940 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2941 of Tcl file commands.
2942
2943 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2944
2945 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2946 "kill -SIGUSR1 -1".
2947
2948 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2949
2950 * gdb.ada/tick_length_array_enum_idx: New testcase.
2951
2952 2014-02-10 Doug Evans <xdje42@gmail.com>
2953
2954 * configure.ac (AC_OUTPUT): Add gdb.guile.
2955 * configure: Regenerate.
2956 * lib/gdb-guile.exp: New file.
2957 * lib/gdb.exp (get_target_charset): New function.
2958 * gdb.base/help.exp: Update expected output from "apropos apropos".
2959 * gdb.guile/Makefile.in: New file.
2960 * gdb.guile/guile.exp: New file.
2961 * gdb.guile/scm-arch.c: New file.
2962 * gdb.guile/scm-arch.exp: New file.
2963 * gdb.guile/scm-block.c: New file.
2964 * gdb.guile/scm-block.exp: New file.
2965 * gdb.guile/scm-breakpoint.c: New file.
2966 * gdb.guile/scm-breakpoint.exp: New file.
2967 * gdb.guile/scm-disasm.c: New file.
2968 * gdb.guile/scm-disasm.exp: New file.
2969 * gdb.guile/scm-equal.c: New file.
2970 * gdb.guile/scm-equal.exp: New file.
2971 * gdb.guile/scm-error.exp: New file.
2972 * gdb.guile/scm-error.scm: New file.
2973 * gdb.guile/scm-frame-args.c: New file.
2974 * gdb.guile/scm-frame-args.exp: New file.
2975 * gdb.guile/scm-frame-args.scm: New file.
2976 * gdb.guile/scm-frame-inline.c: New file.
2977 * gdb.guile/scm-frame-inline.exp: New file.
2978 * gdb.guile/scm-frame.c: New file.
2979 * gdb.guile/scm-frame.exp: New file.
2980 * gdb.guile/scm-generics.exp: New file.
2981 * gdb.guile/scm-gsmob.exp: New file.
2982 * gdb.guile/scm-iterator.c: New file.
2983 * gdb.guile/scm-iterator.exp: New file.
2984 * gdb.guile/scm-math.c: New file.
2985 * gdb.guile/scm-math.exp: New file.
2986 * gdb.guile/scm-objfile-script-gdb.in: New file.
2987 * gdb.guile/scm-objfile-script.c: New file.
2988 * gdb.guile/scm-objfile-script.exp: New file.
2989 * gdb.guile/scm-objfile.c: New file.
2990 * gdb.guile/scm-objfile.exp: New file.
2991 * gdb.guile/scm-ports.exp: New file.
2992 * gdb.guile/scm-pretty-print.c: New file.
2993 * gdb.guile/scm-pretty-print.exp: New file.
2994 * gdb.guile/scm-pretty-print.scm: New file.
2995 * gdb.guile/scm-section-script.c: New file.
2996 * gdb.guile/scm-section-script.exp: New file.
2997 * gdb.guile/scm-section-script.scm: New file.
2998 * gdb.guile/scm-symbol.c: New file.
2999 * gdb.guile/scm-symbol.exp: New file.
3000 * gdb.guile/scm-symtab-2.c: New file.
3001 * gdb.guile/scm-symtab.c: New file.
3002 * gdb.guile/scm-symtab.exp: New file.
3003 * gdb.guile/scm-type.c: New file.
3004 * gdb.guile/scm-type.exp: New file.
3005 * gdb.guile/scm-value-cc.cc: New file.
3006 * gdb.guile/scm-value-cc.exp: New file.
3007 * gdb.guile/scm-value.c: New file.
3008 * gdb.guile/scm-value.exp: New file.
3009 * gdb.guile/source2.scm: New file.
3010 * gdb.guile/types-module.cc: New file.
3011 * gdb.guile/types-module.exp: New file.
3012
3013 2014-02-10 Yao Qi <yao@codesourcery.com>
3014
3015 PR testsuite/16543
3016 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3017 * configure: Regenerated.
3018 * Makefile.in: New file.
3019
3020 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3021
3022 * gdb.python/py-framefilter.exp: Fix typo.
3023
3024 2014-02-08 Yao Qi <yao@codesourcery.com>
3025
3026 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3027 that no =breakpoint-modified is emitted when breakpoints are
3028 modified through MI commands.
3029
3030 2014-02-07 Pedro Alves <pedro@codesourcery.com>
3031 Pedro Alves <palves@redhat.com>
3032
3033 * gdb.threads/step-after-sr-lock.c: New file.
3034 * gdb.threads/step-after-sr-lock.exp: New file.
3035
3036 2014-02-07 Pedro Alves <palves@redhat.com>
3037
3038 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3039
3040 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3041
3042 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3043 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3044
3045 2014-02-06 Doug Evans <xdje42@gmail.com>
3046
3047 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3048 output.
3049
3050 * gdb.gdb/python-interrupts.exp: New file.
3051
3052 2014-02-05 Yao Qi <yao@codesourcery.com>
3053
3054 * gdb.trace/report.exp (use_collected_data): Test the output
3055 of "info threads" and "info inferiors".
3056
3057 2014-02-05 Yao Qi <yao@codesourcery.com>
3058
3059 Revert this patch:
3060
3061 2013-05-24 Yao Qi <yao@codesourcery.com>
3062
3063 * gdb.trace/tfile.exp: Test inferior and thread.
3064
3065 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3066
3067 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3068 on a function.
3069 * gdb.base/step-bt.c: Call hello via function pointer to make
3070 sure its first instruction is executed on powerpc64le-linux.
3071
3072 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3073
3074 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3075
3076 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3077
3078 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3079 of the test patterns for use on little-endian systems.
3080
3081 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3082
3083 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3084 (decimal_vector): Fix for little-endian.
3085
3086 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3087
3088 * gdb.arch/sparc-sysstep.exp: New file.
3089 * gdb.arch/sparc-sysstep.c: Likewise.
3090
3091 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3092
3093 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3094
3095 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3096
3097 2014-01-23 Tom Tromey <tromey@redhat.com>
3098
3099 * gdb.ada/array_char_idx: New testcase.
3100
3101 2014-01-23 Tom Tromey <tromey@redhat.com>
3102
3103 PR python/16487:
3104 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3105 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3106 classes.
3107
3108 2014-01-23 Tom Tromey <tromey@redhat.com>
3109
3110 PR python/16491:
3111 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3112 string from an inferior frame.
3113 * gdb.python/py-framefilter-mi.exp: Update.
3114
3115 2014-01-22 Doug Evans <dje@google.com>
3116
3117 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3118
3119 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3120
3121 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3122
3123 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3124
3125 * gdb.trace/entry-values.exp: Remove excess space character from
3126 regex patterns. Handle s390 call instruction.
3127
3128 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3129
3130 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3131 define "*_start" label. Make "name" static.
3132 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3133 ${name} by references to ${name}_start.
3134
3135 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3136
3137 * gdb.base/info-macros.exp: Remove "debug" from the compile
3138 options.
3139
3140 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3141
3142 * gdb.dlang/demangle.exp: New file.
3143
3144 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3145
3146 * gdb.dlang/primitive-types.exp: New file.
3147
3148 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3149
3150 * configure.ac: Create gdb.dlang/Makefile.
3151 * configure: Regenerate.
3152 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3153 * gdb.dlang/Makefile.in: New file.
3154 * lib/d-support.exp: New file.
3155 * lib/gdb.exp (skip_d_tests): New proc.
3156
3157 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3158
3159 * gdb.btrace/delta.exp: Check reverse stepi.
3160 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3161 * gdb.btrace/finish.exp: New.
3162 * gdb.btrace/next.exp: New.
3163 * gdb.btrace/nexti.exp: New.
3164 * gdb.btrace/record_goto.c: Add comments.
3165 * gdb.btrace/step.exp: New.
3166 * gdb.btrace/stepi.exp: New.
3167 * gdb.btrace/multi-thread-step.c: New.
3168 * gdb.btrace/multi-thread-step.exp: New.
3169 * gdb.btrace/rn-dl-bind.c: New.
3170 * gdb.btrace/rn-dl-bind.exp: New.
3171 * gdb.btrace/data.c: New.
3172 * gdb.btrace/data.exp: New.
3173 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3174
3175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3176
3177 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3178 * gdb.btrace/exception.exp: Update.
3179 * gdb.btrace/instruction_history.exp: Update.
3180 * gdb.btrace/record_goto.exp: Update.
3181 * gdb.btrace/tailcall.exp: Update.
3182 * gdb.btrace/unknown_functions.exp: Update.
3183 * gdb.btrace/delta.exp: New.
3184
3185 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3186
3187 * gdb.btrace/record_goto.exp: Add backtrace test.
3188 * gdb.btrace/tailcall.exp: Add backtrace test.
3189
3190 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3191
3192 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3193 * gdb.btrace/record_goto.c: New.
3194 * gdb.btrace/record_goto.exp: New.
3195 * gdb.btrace/x86-record_goto.S: New.
3196
3197 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3198
3199 * gdb.btrace/function_call_history.exp: Update tests.
3200 * gdb.btrace/instruction_history.exp: Update tests.
3201
3202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3203
3204 * gdb.btrace/function_call_history.exp: Fix expected field
3205 order for "record function-call-history".
3206 Add new tests for "record function-call-history /c".
3207 * gdb.btrace/exception.cc: New.
3208 * gdb.btrace/exception.exp: New.
3209 * gdb.btrace/tailcall.exp: New.
3210 * gdb.btrace/x86-tailcall.S: New.
3211 * gdb.btrace/x86-tailcall.c: New.
3212 * gdb.btrace/unknown_functions.c: New.
3213 * gdb.btrace/unknown_functions.exp: New.
3214 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3215
3216 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3217
3218 * gdb.btrace/instruction_history.exp: Update.
3219 * gdb.btrace/function_call_history.exp: Update.
3220
3221 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3222
3223 * gdb.btrace/function_call_history.exp: Fix expected function
3224 trace.
3225 * gdb.btrace/instruction_history.exp: Initialize traced.
3226 Remove traced_functions.
3227
3228 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3229
3230 * gdb.btrace/function_call_history.exp: Update
3231 * gdb.btrace/instruction_history.exp: Update.
3232
3233 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3234
3235 * gdb.btrace/enable.exp: Update expected text.
3236
3237 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3238
3239 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3240 bytes.
3241
3242 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3243
3244 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3245
3246 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3247
3248 * lib/gdb.exp (supports_process_record): Return true for
3249 arm*-linux*. (supports_reverse): Likewise.
3250
3251 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3252
3253 PR python/15464
3254 PR python/16113
3255 * gdb.python/py-type.c: Enhance test case.
3256 * gdb.python/py-value-cc.cc: Likewise
3257 * gdb.python/py-type.exp: Add new tests.
3258 * gdb.python/py-value-cc.exp: Likewise
3259
3260 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3261 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3264 Make "name" extern.
3265 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3266 references to ${name}_start by references to ${name}.
3267
3268 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3269
3270 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3271
3272 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3273
3274 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3275
3276 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3277 Pedro Alves <palves@redhat.com>
3278
3279 * gdb.mi/mi-info-os.exp: Connect to the target with
3280 mi_gdb_target_load.
3281
3282 2014-01-08 Pedro Alves <palves@redhat.com>
3283
3284 * gdb.threads/reconnect-signal.c: New file.
3285 * gdb.threads/reconnect-signal.exp: New file.
3286
3287 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3288
3289 * gdb.base/source-dir.exp: New file.
3290
3291 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3292
3293 * gdb.ada/mi_interface: New testcase.
3294
3295 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3296
3297 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3298 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3299 gdb.ada/pp-rec-component/pck.ads: New files.
3300
3301 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3302
3303 * gdb.python/py-pp-integral.c: New file.
3304 * gdb.python/py-pp-integral.py: New file.
3305 * gdb.python/py-pp-integral.exp: New file.
3306
3307 For older changes see ChangeLog-1993-2013.
3308 \f
3309 ;; Local Variables:
3310 ;; mode: change-log
3311 ;; left-margin: 8
3312 ;; fill-column: 74
3313 ;; version-control: never
3314 ;; End:
3315
3316 Copyright 2014 Free Software Foundation, Inc.
3317 Copying and distribution of this file, with or without modification,
3318 are permitted provided the copyright notice and this notice are preserved.
This page took 0.096186 seconds and 5 git commands to generate.