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