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