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