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