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