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