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