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