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