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