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