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