Add progspace support for Guile.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2014-06-02 Doug Evans <xdje42@gmail.com>
2
3 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4 pretty-printer lookup.
5 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6 (make-pp_s-printer): Call it.
7 (make-pretty-printer-from-dict): New function.
8 (lookup-pretty-printer-maker-from-dict): New function.
9 (*pretty-printer*): Simplify.
10 (make-objfile-pp_s-printer): New function.
11 (install-objfile-pretty-printers!): New function.
12 (make-progspace-pp_s-printer): New function.
13 (install-progspace-pretty-printers!): New function.
14 * gdb.guile/scm-progspace.c: New file.
15 * gdb.guile/scm-progspace.exp: New file.
16
17 2014-06-02 Pedro Alves <palves@redhat.com>
18
19 * gdb.base/dprintf-bp-same-addr.c: New file.
20 * gdb.base/dprintf-bp-same-addr.exp: New file.
21
22 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23
24 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
25 * gdb.arch/powerpc-power.s: Likewise.
26
27 2014-06-02 Joel Brobecker <brobecker@adacore.com>
28
29 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
30
31 2014-06-01 Yao Qi <yao@codesourcery.com>
32
33 * gdb.base/watchpoint.exp (test_watch_location): Check null
34 pointer can be dereferenced. If not, do the test, otherwise
35 skip it.
36
37 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
38
39 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
40 results.
41 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
42
43 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
44
45 * gdb.arch/amd64-invalid-stack-middle.S: New file.
46 * gdb.arch/amd64-invalid-stack-middle.c: New file.
47 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
48 * gdb.arch/amd64-invalid-stack-top.c: New file.
49 * gdb.arch/amd64-invalid-stack-top.exp: New file.
50
51 2014-05-30 Pedro Alves <palves@redhat.com>
52
53 PR breakpoints/17000
54 * gdb.base/sss-bp-on-user-bp.c: New file.
55 * gdb.base/sss-bp-on-user-bp.exp: New file.
56
57 2014-05-30 David Blaikie <dblaikie@gmail.com>
58
59 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
60 gnu_inline semantics via attribute.
61 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
62 source explicitly specifies the required semantics.
63
64 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
65
66 * gdb.reverse/sigall-reverse.exp: Fix a typo.
67
68 2014-05-29 Pedro Alves <palves@redhat.com>
69 Tom Tromey <tromey@redhat.com>
70
71 * gdb.base/async-shell.exp: Don't enable target-async.
72 * gdb.base/async.exp
73 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
74 parameter. Adjust.
75 (top level): Don't test with "target-async".
76 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
77 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
78 * gdb.base/inferior-died.exp: Don't enable target-async.
79 * gdb.base/interrupt-noterm.exp: Likewise.
80 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
81 * gdb.mi/mi-nonstop-exit.exp: Likewise.
82 * gdb.mi/mi-nonstop.exp: Likewise.
83 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
84 * gdb.mi/mi-nsintrall.exp: Likewise.
85 * gdb.mi/mi-nsmoribund.exp: Likewise.
86 * gdb.mi/mi-nsthrexec.exp: Likewise.
87 * gdb.mi/mi-watch-nonstop.exp: Likewise.
88 * gdb.multi/watchpoint-multi.exp: Adjust comment.
89 * gdb.python/py-evsignal.exp: Don't enable target-async.
90 * gdb.python/py-evthreads.exp: Likewise.
91 * gdb.python/py-prompt.exp: Likewise.
92 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
93 * gdb.server/solib-list.exp: Don't enable target-async.
94 * gdb.threads/thread-specific-bp.exp: Likewise.
95 * lib/mi-support.exp: Adjust to use mi-async.
96
97 2014-05-29 Pedro Alves <palves@redhat.com>
98
99 PR gdb/13860
100 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
101 reason, even in sync mode.
102
103 2014-05-29 Pedro Alves <palves@redhat.com>
104 Hui Zhu <hui@codesourcery.com>
105
106 PR PR15693
107 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
108 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
109 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
110 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
111
112 2014-05-28 Joel Brobecker <brobecker@adacore.com>
113
114 * config/monitor.exp (gdb_target_monitor): Replace use of
115 "set remotebaud" by "set serial baud".
116
117 2014-05-26 Andy Wingo <wingo@igalia.com>
118
119 * gdb.guile/scm-breakpoint.exp:
120 * gdb.guile/scm-gsmob.exp: Update to use plain old object
121 properties instead of gdb-object-properties.
122
123 2014-05-26 Yao Qi <yao@codesourcery.com>
124
125 * gdb.server/no-thread-db.exp: Specify source file name
126 explicitly when setting a breakpoint.
127
128 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
129
130 * gdb.btrace/vdso.c: New.
131 * gdb.btrace/vdso.exp: New.
132
133 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
134
135 * gdb.base/gcore.exp (capture_command_output): Move ...
136 * lib/gdb.exp (capture_command_output): ... here.
137
138 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
139
140 * gdb.btrace/data.exp: Test memory access during btrace replay.
141
142 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
143
144 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
145
146 2014-05-21 Pedro Alves <palves@redhat.com>
147
148 PR gdb/13860
149 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
150 (top level): Test that output related to execution commands is
151 sent to the console with CLI commands, but not with MI commands.
152 Test that breakpoint events are always mirrored to the console.
153 Also expect the new source line to be output after a "next" in
154 async mode too. Make it a pass/fail test.
155 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
156 output.
157 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
158
159 2014-05-21 Pedro Alves <palves@redhat.com>
160
161 * gdb.base/list.exp (build_pattern, test_list): New procedures.
162 Use them to test variations of "list" after reaching a breakpoint.
163 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
164 Test "list" with listsize 10 after reaching a breakpoint.
165 * gdb.python/python.exp (decode_line current location line
166 number): Adjust expected line number.
167
168 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
169
170 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
171 behavior for $args, pass it directly to "run".
172
173 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
174
175 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
176 30000 to 65536.
177
178 2014-05-21 Pedro Alves <palves@redhat.com>
179
180 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
181 auto-connect-native-target off".
182 * gdb.base/auto-connect-native-target.c: New file.
183 * gdb.base/auto-connect-native-target.exp: New file.
184
185 2014-05-21 Pedro Alves <palves@redhat.com>
186
187 * gdb.base/default.exp: Test "target native" instead of "target
188 child".
189
190 2014-05-21 Mark Wielaard <mjw@redhat.com>
191
192 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
193
194 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
195
196 Fix TLS access for -static -pthread.
197 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
198 <HAVE_TLS> (thread_function, main): Initialize it.
199 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
200 Add clean_restart.
201 <$have_tls != "">: Check TLSVAR.
202
203 2014-05-21 Pedro Alves <palves@redhat.com>
204
205 * gdb.base/dcache-line-read-error.c: New.
206 * gdb.base/dcache-line-read-error.exp: New.
207
208 2014-05-20 Pedro Alves <palves@redhat.com>
209
210 * gdb.base/compare-sections.c: New file.
211 * gdb.base/compare-sections.exp: New file.
212
213 2014-05-20 Pedro Alves <palves@redhat.com>
214
215 * gdb.base/break-idempotent.c: New file.
216 * gdb.base/break-idempotent.exp: New file.
217
218 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
219
220 * gdb.btrace/nohist.exp: New.
221
222 2014-05-20 Yao Qi <yao@codesourcery.com>
223
224 * lib/gdb.exp (gdb_init): Set timeout if test file is under
225 gdb.reverse directory and gdb_reverse_timeout exists in board
226 setting.
227 * README: Document gdb_reverse_timeout.
228
229 2014-05-20 Yao Qi <yao@codesourcery.com>
230
231 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
232 'test_file_name'. Treat args as a string instead of a list.
233 (gdb_init): Rename argument 'args' by 'test_file_name'.
234
235 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
236
237 * gdb.arch/powerpc-power.exp: New file.
238 * gdb.arch/powerpc-power.s: New file.
239
240 2014-05-16 Doug Evans <dje@google.com>
241
242 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
243 * gdb.base/completion.exp: Check that all expected files exist
244 before doing file completion.
245
246 2014-05-16 Doug Evans <dje@google.com>
247
248 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
249 Update.
250 (do_syscall_tests_without_xml): Update.
251
252 2014-05-16 Pedro Alves <palves@redhat.com>
253
254 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
255 instead of "unknown output after running".
256
257 2014-05-16 Yao Qi <yao@codesourcery.com>
258
259 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
260 file1.txt from host at the end.
261 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
262
263 2014-05-15 Doug Evans <dje@google.com>
264
265 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
266 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
267 loading file. Add test for TU lookup.
268
269 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
270
271 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
272 calling "-exec-arguments" or "set args" before running the
273 inferior.
274
275 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
276
277 * lib/mi-support.exp (mi_expect_stop): Expect message for
278 inferiors that exit with non-zero exit code.
279
280 2014-05-14 Yao Qi <yao@codesourcery.com>
281
282 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
283 match absolute path on remote host.
284 (test_file_list_exec_source_files): Remove "/" from the
285 pattern.
286
287 2014-05-14 Yao Qi <yao@codesourcery.com>
288
289 * boards/local-remote-host-notty.exp (${board}_file): New
290 proc.
291
292 2014-05-07 Kyle McMartin <kyle@redhat.com>
293
294 Pushed by Joel Brobecker <brobecker@adacore.com>.
295 * gdb.arch/aarch64-atomic-inst.c: New file.
296 * gdb.arch/aarch64-atomic-inst.exp: New file.
297
298 2014-05-07 Yao Qi <yao@codesourcery.com>
299
300 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
301 in current context" too.
302
303 2014-05-05 Keith Seitz <keiths@redhat.com>
304
305 * gdb.linespec/ls-dollar.exp: Add test for linespec
306 file:convenience_variable.
307
308 2014-05-05 Yao Qi <yao@codesourcery.com>
309
310 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
311 traceframes into tfile and ctf trace files. Read data from
312 trace file and test collected data.
313 (gdb_collect_locals_test): Likewise.
314 (gdb_unavailable_registers_test): Likewise.
315 (gdb_unavailable_floats): Likewise.
316 (gdb_collect_globals_test): Likewise.
317 (top-level): Append "ctf" to trace_file_targets if GDB
318 supports.
319
320 2014-05-05 Yao Qi <yao@codesourcery.com>
321
322 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
323 code to ...
324 (gdb_collect_args_test_1): ... it. New proc.
325 (gdb_collect_locals_test): Move some code to ...
326 (gdb_collect_locals_test_1): ... it. New proc.
327 (gdb_unavailable_registers_test): Move some code to ...
328 (gdb_unavailable_registers_test_1): ... it. New proc.
329 (gdb_unavailable_floats): Move some code to ...
330 (gdb_unavailable_floats_1): ... it. New proc.
331
332 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
333
334 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
335 probes to test for bitness recognition.
336 * gdb.arch/amd64-stap-optional-prefix.exp
337 (test_probe_value_without_reg): New procedure.
338 Add code to test for different kinds of bitness.
339
340 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
341
342 PR breakpoints/16889
343 * gdb.arch/amd64-stap-optional-prefix.S: New file.
344 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
345
346 2014-05-01 Pedro Alves <palves@redhat.com>
347
348 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
349 gdb_file_cmd if no file is specified.
350 * boards/native-extended-gdbserver.exp (gdb_load): Use the
351 last_loaded_file to set the remote exec-file.
352
353 2014-05-01 Pedro Alves <palves@redhat.com>
354
355 * boards/local-remote-host.exp: New file.
356
357 2014-05-01 Pedro Alves <palves@redhat.com>
358
359 * boards/local-remote-host.exp: Rename to ...
360 * boards/local-remote-host-notty.exp: ... this.
361
362 2014-04-28 Joel Brobecker <brobecker@adacore.com>
363
364 * gdb.ada/dyn_arrayidx: New testcase.
365
366 2014-04-26 Yao Qi <yao@codesourcery.com>
367
368 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
369 and compute the length of function main. Save it in
370 $main_length.
371 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
372 (top-level): Use gdb_compile to compile objects into
373 executable and restart GDB. Remove invocation to
374 prepare_for_testing.
375
376 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
377 Pedro Alves <palves@redhat.com>
378
379 PR server/16255
380 * gdb.multi/multi-attach.c: New file.
381 * gdb.multi/multi-attach.exp: New file.
382
383 2014-04-25 Pedro Alves <palves@redhat.com>
384
385 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
386 user.
387 (top level): Test that "set remote conditional-breakpoints-packet
388 off" works as intended.
389 * gdb.base/dprintf.exp: Test that "set remote
390 breakpoint-commands-packet off" works as intended.
391 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
392 New function.
393 (top level): Call it.
394 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
395 remote fast-tracepoints-packet off" works as intended.
396 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
397 * lib/gdb.exp (gdb_is_target_remote): ... here.
398
399 2014-04-24 David Blaikie <dblaikie@gmail.com>
400
401 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
402 ensure clang would not discard them.
403 * gdb.base/gdbvars.c: Ditto.
404 * gdb.base/memattr.c: Ditto.
405 * gdb.base/whatis.c: Ditto.
406 * gdb.python/py-prettyprint.c: Ditto.
407 * gdb.trace/actions.c: Ditto.
408 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
409 ensure clang would not discard it.
410
411 2014-04-24 David Blaikie <dblaikie@gmail.com>
412
413 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
414 clang to emit the full definition of type required by the test
415 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
416
417 2014-04-24 David Blaikie <dblaikie@gmail.com>
418
419 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
420 coax Clang into emitting the definition of the type.
421 * gdb.cp/pr10728-x.h (y): Ditto.
422 * gdb.cp/pr10728-y.cc (y): Ditto.
423
424 2014-04-24 David Blaikie <dblaikie@gmail.com>
425
426 * gdb.base/label.exp: XFAIL label related tests under Clang.
427 * gdb.cp/cplabel.exp: Ditto.
428 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
429 under Clang those using labels.
430
431 2014-04-25 Yao Qi <yao@codesourcery.com>
432
433 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
434 double_label.
435 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
436 partial_label and double_label.
437
438 2014-04-24 David Blaikie <dblaikie@gmail.com>
439
440 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
441
442 2014-04-24 David Blaikie <dblaikie@gmail.com>
443
444 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
445 of the function to work across GCC and Clang.
446 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
447 pointer types (const void ** const V void **).
448
449 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
450 Walfred Tedeschi <walfred.tedeschi@intel.com>
451
452 * Makefile.in (EXECUTABLES): Added i386-avx512.
453 * gdb.arch/i386-avx512.c: New file.
454 * gdb.arch/i386-avx512.exp: Likewise.
455
456 2014-04-23 Keith Seitz <keiths@redhat.com>
457
458 * lib/mi-support.exp (mi_list_breakpoints): Delete.
459 (mi_make_breakpoint_table): New procedure.
460 (mi_create_breakpoint): Use mi_make_breakpoint
461 and return the result.
462 (mi_make_breakpoint): New procedure.
463 (mi_build_kv_pairs): New procedure.
464
465 * gdb.mi/mi-break.exp: Remove unused globals,
466 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
467 All callers updated.
468 * gdb.mi/mi-dprintf.exp: Use variable to track command
469 number.
470 Update all callers of mi_create_breakpoint and use
471 mi_make_breakpoint_table.
472 Remove any unused global variables.
473 * gdb.mi/mi-nonstop.exp: Likewise.
474 * gdb.mi/mi-nsintrall.exp: Likewise.
475 * gdb.mi/mi-nsmoribund.exp: Likewise.
476 * gdb.mi/mi-nsthrexec.exp: Likewise.
477 * gdb.mi/mi-reverse.exp: Likewise.
478 * gdb.mi/mi-simplerun.exp: Likewise.
479 * gdb.mi/mi-stepn.exp: Likewise.
480 * gdb.mi/mi-syn-frame.exp: Likewise.
481 * gdb.mi/mi-until.exp: Likewise.
482 * gdb.mi/mi-var-cp.exp: Likewise.
483 * gdb.mi/mi-var-display.exp: Likewise.
484 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
485 * gdb.mi/mi2-var-child.exp: Likewise.
486 * gdb.mi/mi-vla-c99.exp: Likewise.
487 * lib/mi-support.exp: Likewise.
488
489 From Ian Lance Taylor <iant@cygnus.com>:
490 * lib/gdb.exp (parse_args): New procedure.
491
492 2014-04-23 Pedro Alves <palves@redhat.com>
493
494 * gdb.base/break-unload-file.c: New file.
495 * gdb.base/break-unload-file.exp: New file.
496 * gdb.base/sym-file-lib.c (baz): New function.
497 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
498 field.
499 (load): Store the segment's mapped size.
500 (unload): New function.
501 (unload_shlib): New function.
502 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
503 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
504 set a breakpoint at baz, and call it.
505 * gdb.base/sym-file.exp: New tests for stale breakpoint
506 instructions.
507
508 2014-04-23 Pedro Alves <palves@redhat.com>
509
510 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
511 * gdb.base/hbreak-in-shr-unsupported.c: New file.
512 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
513 * gdb.base/hbreak-unmapped.c: New file.
514 * gdb.base/hbreak-unmapped.exp: New file.
515 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
516 * lib/gdb.exp (gdb_is_target_remote): ... here.
517
518 2014-04-22 Pedro Alves <palves@redhat.com>
519
520 * gdb.base/consecutive-step-over.c: New file.
521 * gdb.base/consecutive-step-over.exp: New file.
522
523 2014-04-22 Pedro Alves <palves@redhat.com>
524
525 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
526 instead of send_gdb/gdb_expect.
527
528 2014-04-22 Yao Qi <yao@codesourcery.com>
529
530 * lib/trace-support.exp (generate_tracefile): New procedure.
531 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
532 return 0.
533 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
534 if generate_tracefile returns 1.
535
536 2014-04-18 Tom Tromey <palves@redhat.com>
537 Pedro alves <tromey@redhat.com>
538
539 PR backtrace/15558
540 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
541 with a backtrace limit.
542 * gdb.python/py-frame-inline.exp: Test running to an inline
543 function with a backtrace limit, and printing the newest frame.
544 * gdb.python/py-frame-inline.c (main): Call f.
545
546 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
547
548 * gdb.java/jnpe.exp: Drop srcdir from untested path.
549
550 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
551
552 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
553 Drop prefix from unsupported source file path.
554
555 2014-04-17 Yao Qi <yao@codesourcery.com>
556
557 * lib/gdb.exp (with_target_charset): New proc.
558 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
559 with_target_charset.
560 (test_print_strings): Likewise.
561 (test_repeat_bytes): Likewise.
562 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
563 for some tests.
564
565 2014-04-16 Keith Seitz <keiths@redhat.com>
566
567 PR gdb/15827
568 * gdb.dwarf2/corrupt.c: New file.
569 * gdb.dwarf2/corrupt.exp: New file.
570
571 2014-04-16 Keith Seitz <keiths@redhat.com>
572
573 PR c++/16597
574 * gdb.cp/namelessclass.cc: New file.
575 * gdb.cp/namelessclass.exp: New file.
576 * gdb.cp/namelessclass.S: New file.
577
578 2014-04-16 Doug Evans <dje@google.com>
579
580 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
581 Add comment.
582 (gdbserver_default_get_comm_port): New function.
583 (gdbserver_start): Check if board file provided
584 "gdbserver,get_comm_port" and use it if so.
585 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
586 (gdb,socketport): Set to "stdio".
587 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
588 (stdio_gdbserver_template): Delete.
589 (${board}_get_remote_address): Update.
590 (${board}_build_remote_cmd): Delete.
591 (${board}_get_comm_port): New function.
592 (${board}_spawn): Update.
593 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
594 Delete.
595 (${board}_get_remote_address): Update.
596 (${board}_get_comm_port): New function.
597
598 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
599
600 * gdb.base/memattr.exp: Improve regexps to handle memory regions
601 appearing in any order.
602
603 2014-04-15 Doug Evans <dje@google.com>
604
605 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
606 uninitialized value of "description".
607
608 2014-04-15 Keith Seitz <keiths@redhat.com>
609
610 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
611 Remove unused globals.
612 (test_running_the_program): Likewise.
613 (test_controlled_execution): Likewise.
614 (test_controlling_breakpoints): Likewise.
615 (test_program_termination): Likewise.
616
617 2014-04-15 Keith Seitz <keiths@redhat.com>
618
619 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
620 unused globals.
621 (test_rbreak_creation_and_listing): Likewise.
622 (test_ignore_count): Likewise.
623 (test_error): Likewise.
624
625 2014-04-15 Pedro Alves <palves@redhat.com>
626
627 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
628 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
629 sym-file-loader.c.
630 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
631 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
632 to sym-file-loader.c.
633 (struct library): Forward declare.
634 (load_shlib, lookup_function): Change prototypes.
635 (find_shstrtab, find_strtab, find_shdr, find_symtab)
636 (translate_offset): Remove declarations.
637 (get_text_addr): New declaration.
638 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
639 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
640 sym-file-loader.h.
641 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
642 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
643 here from sym-file-loader.h.
644 (struct library): New structure.
645 (load_shlib, lookup_function): Change prototypes and adjust to
646 work with a struct library.
647 (find_shstrtab, find_strtab, find_shdr, find_symtab)
648 (translate_offset): Make static.
649 (get_text_addr): New function.
650 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
651
652 2014-04-15 Pedro Alves <palves@redhat.com>
653
654 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
655
656 2014-04-15 Pedro Alves <palves@redhat.com>
657
658 * gdb.base/sym-file-loader.c: Include <limits.h>.
659 (SELF_LINK): New define.
660 (get_origin): New function.
661 (load_shlib): Use it.
662 * gdb.base/sym-file.exp: Don't early return if the target is
663 remote. Use runto_main, and issue fail is that fails. Use
664 gdb_load_shlibs.
665 (shlib_name): Delete.
666 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
667
668 2014-04-15 Pedro Alves <palves@redhat.com>
669
670 * gdb.base/sym-file.exp: Remove regex characters from test
671 message. Don't refer to breakpoint numbers in test messages.
672
673 2014-04-14 Keith Seitz <keiths@redhat.com>
674
675 PR c++/16253
676 * gdb.cp/var-tag.cc: New file.
677 * gdb.cp/var-tag.exp: New file.
678 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
679 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
680 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
681 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
682
683 2014-04-14 Tom Tromey <tromey@redhat.com>
684
685 * gdb.cp/classes.exp (test_enums): Handle underlying type.
686 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
687 type.
688 * gdb.cp/enum-class.exp: New file.
689 * gdb.cp/enum-class.cc: New file.
690
691 2014-04-14 Tom Tromey <tromey@redhat.com>
692
693 * gdb.dwarf2/enum-type.exp: New file.
694
695 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
696
697 * gdb.mi/mi-vla-c99.exp: New file.
698 * gdb.mi/vla.c: New file.
699
700 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
701
702 * gdb.base/vla-datatypes.c: New file.
703 * gdb.base/vla-datatypes.exp: New file.
704
705 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
706
707 * gdb.base/vla-ptr.c: New file.
708 * gdb.base/vla-ptr.exp: New file.
709
710 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
711
712 * gdb.dwarf2/count.exp: New file.
713
714 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
715
716 * gdb.base/vla-sideeffect.c: New file.
717 * gdb.base/vla-sideeffect.exp: New file.
718
719 2014-04-14 David Blaikie <dblaikie@gmail.com>
720
721 * gdb.mi/non-stop.c: Add return value for non-void function return
722 statement.
723 * gdb.threads/staticthreads.c: Ditto.
724
725 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
726 Doug Evans <xdje42@gmail.com>
727
728 * gdb.guile/scm-value.c: Improve test case.
729 * gdb.guile/scm-value.exp: Add new test.
730
731 2014-04-11 David Blaikie <dblaikie@gmail.com>
732
733 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
734 override Clang's default.
735
736 2014-04-11 Joel Brobecker <brobecker@adacore.com>
737
738 Revert the following changes (regressions):
739
740 * gdb.base/vla-sideeffect.c: New file.
741 * gdb.base/vla-sideeffect.exp: New file.
742
743 * gdb.dwarf2/count.exp: New file.
744
745 * gdb.base/vla-multi.c: New file.
746 * gdb.base/vla-multi.exp: New file.
747
748 * gdb.base/vla-ptr.c: New file.
749 * gdb.base/vla-ptr.exp: New file.
750
751 * gdb.base/vla-datatypes.c: New file.
752 * gdb.base/vla-datatypes.exp: New file.
753
754 * gdb.mi/mi-vla-c99.exp: New file.
755 * gdb.mi/vla.c: New file.
756
757 2014-04-11 Keith Seitz <keiths@redhat.com>
758
759 PR c++/16675
760 * gdb.cp/cpsizeof.exp: New file.
761 * gdb.cp/cpsizeof.cc: New file.
762
763 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
764
765 * gdb.mi/mi-vla-c99.exp: New file.
766 * gdb.mi/vla.c: New file.
767
768 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
769
770 * gdb.base/vla-datatypes.c: New file.
771 * gdb.base/vla-datatypes.exp: New file.
772
773 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
774
775 * gdb.base/vla-ptr.c: New file.
776 * gdb.base/vla-ptr.exp: New file.
777
778 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
779
780 * gdb.base/vla-multi.c: New file.
781 * gdb.base/vla-multi.exp: New file.
782
783 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
784
785 * gdb.dwarf2/count.exp: New file.
786
787 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
788
789 * gdb.base/vla-sideeffect.c: New file.
790 * gdb.base/vla-sideeffect.exp: New file.
791
792 2014-04-11 Yao Qi <yao@codesourcery.com>
793
794 * gdb.base/completion.exp: Check file exists before running tests
795 on file completion.
796
797 2014-04-10 Pedro Alves <palves@redhat.com>
798
799 * gdb.base/cond-eval-mode.c: New file.
800 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
801 prepare_for_testing to build the new file. Check result of
802 runto_main.
803 (test_break, test_watch): New procedures.
804 (top level): Use them.
805
806 2014-04-08 Pierre Muller <muller@sourceware.org>
807
808 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
809 Ctrl-V use for mingw hosts.
810
811 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
812
813 * gdb.python/py-value.c: Improve test case.
814 * gdb.python/py-value.exp: Add new test.
815
816 2014-04-07 David Blaikie <dblaikie@gmail.com>
817
818 * lib/compiler.c: Identify the clang compiler.
819 * lib/compiler.cc: Ditto.
820
821 2014-04-03 Yao Qi <yao@codesourcery.com>
822
823 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
824
825 2014-04-01 Anton Blanchard <anton@samba.org>
826
827 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
828 messages unique.
829
830 2014-04-01 Anton Blanchard <anton@samba.org>
831
832 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
833 prepare_for_testing.
834
835 2014-04-01 Anton Blanchard <anton@samba.org>
836
837 * gdb.arch/ppc64-atomic-inst.c: Remove.
838 * gdb.arch/ppc64-atomic-inst.S: New file.
839 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
840
841 2014-03-31 Doug Evans <dje@google.com>
842
843 * gdb.base/print-symbol-loading-lib.c: New file.
844 * gdb.base/print-symbol-loading-main.c: New file.
845 * gdb.base/print-symbol-loading.exp: New file.
846
847 2014-03-31 Yao Qi <yao@codesourcery.com>
848
849 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
850
851 2014-03-28 Joel Brobecker <brobecker@adacore.com>
852
853 * gdb.ada/mi_dyn_arr: New testcase.
854
855 2014-03-27 Doug Evans <dje@google.com>
856
857 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
858
859 2014-03-27 Yao Qi <yao@codesourcery.com>
860
861 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
862 if target is nios2-*-*.
863
864 2014-03-26 Yao Qi <yao@codesourcery.com>
865
866 * lib/gdb.exp (readline_is_used): New proc.
867 * gdb.base/completion.exp: Move tests on command complete up.
868 Skip the rest of tests if readline is not used.
869 * gdb.ada/complete.exp: Skp the test if readline is not
870 used.
871 * gdb.base/filesym.exp: Likewise.
872 * gdb.base/macscp.exp: Likewise.
873 * gdb.base/readline-ask.exp: Likewise.
874 * gdb.base/readline.exp: Likewise.
875 * gdb.python/py-cmd.exp: Likewise.
876 * gdb.trace/tfile.exp: Likewise.
877
878 2014-03-26 Yao Qi <yao@codesourcery.com>
879
880 * gdb.base/macscp.exp: Fix code format issues.
881
882 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
883
884 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
885 * gdb.asm/powerpc64le.inc: New file.
886
887 2014-03-25 Pedro Alves <palves@redhat.com>
888 Doug Evans <dje@google.com>
889
890 * gdb.base/source-execution.c: New file.
891 * gdb.base/source-execution.exp: New file.
892 * gdb.base/source-execution.gdb: New file.
893
894 2014-03-24 Doug Evans <dje@google.com>
895
896 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
897 using fission.
898
899 2014-03-24 Hui Zhu <hui@codesourcery.com>
900 Pedro Alves <palves@redhat.com>
901
902 PR breakpoints/16101
903 * gdb.base/dprintf.exp: Use unsupported rather than changing the
904 test pass/fail messages. Detect missing support for dprintf when
905 breakpoints are actually inserted.
906 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
907 breakpoints are actually inserted.
908 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
909 fails.
910
911 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
912
913 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
914
915 2014-03-22 Doug Evans <xdje42@gmail.com>
916
917 * gdb.python/python.exp (python not supported): Verify multi-line
918 python command issues an error.
919 * gdb.guile/guile.exp (guile not supported): Verify multi-line
920 guile command issues an error.
921
922 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
923
924 * gdb.threads/thread-specific.exp: Handle the lack of usable
925 $this_breakpoint and $this_thread.
926
927 2014-03-21 Hui Zhu <hui@codesourcery.com>
928
929 * gdb.base/attach.exp (do_command_attach_tests): New.
930
931 2014-03-20 Tom Tromey <tromey@redhat.com>
932 Pedro Alves <palves@redhat.com>
933
934 PR cli/15718
935 * gdb.base/condbreak-call-false.c: New file.
936 * gdb.base/condbreak-call-false.exp: New file.
937
938 2014-03-20 Pedro Alves <palves@redhat.com>
939
940 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
941 Delete.
942 (block_signals, unblock_signals): Delete.
943 (child_function_2, main): Remove references to deleted variable
944 and functions.
945
946 2014-03-20 Pedro Alves <palves@redhat.com>
947
948 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
949 Use pthread_kill to signal thread 2.
950 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
951 Adjust to make the test send itself a signal rather than using the
952 host's "kill" command.
953
954 2014-03-20 Pedro Alves <palves@redhat.com>
955
956 * gdb.threads/multiple-step-overs.c: New file.
957 * gdb.threads/multiple-step-overs.exp: New file.
958 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
959 Adjust expected infrun debug output.
960
961 2014-03-20 Pedro Alves <palves@redhat.com>
962
963 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
964 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
965
966 2014-03-20 Pedro Alves <palves@redhat.com>
967
968 PR breakpoints/7143
969 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
970 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
971 of gdb_test_multiple.
972 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
973 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
974
975 2014-03-20 Pedro Alves <palves@redhat.com>
976
977 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
978 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
979
980 2014-03-19 Pedro Alves <palves@redhat.com>
981
982 * gdb.base/async.exp: Remove early return.
983
984 2014-03-19 Pedro Alves <palves@redhat.com>
985
986 * gdb.base/async.exp (step& tests): Pass explicit test messages.
987
988 2014-03-19 Pedro Alves <palves@redhat.com>
989
990 * gdb.base/async.exp (test_background): Expect \r\n after
991 "completed." in the fail pattern.
992
993 2014-03-19 Pedro Alves <palves@redhat.com>
994
995 * gdb.base/async.exp (test_background): New procedure.
996 Use it for all background execution command tests.
997
998 2014-03-19 Pedro Alves <palves@redhat.com>
999
1000 * gdb.base/async.exp: Use prepare_for_testing.
1001
1002 2014-03-19 Pedro Alves <palves@redhat.com>
1003
1004 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1005 the same line.
1006
1007 2014-03-19 Pedro Alves <palves@redhat.com>
1008
1009 * gdb.base/async.c (main): Add "jump here" and "until here" line
1010 marker comments.
1011 * gdb.base/async.exp (jump_here): New global.
1012 (jump& test): Use it.
1013 (until_here): New global.
1014 (until& test): Use it.
1015
1016 2014-03-19 Pedro Alves <palves@redhat.com>
1017
1018 * gdb.base/async.exp: Don't frob gdb_protocol.
1019
1020 2014-03-18 Doug Evans <xdje42@gmail.com>
1021
1022 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1023 Fix spelling of exec-done-display.
1024
1025 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1026
1027 PR gdb/15358
1028 * gdb.base/gdb-sigterm.c: New file.
1029 * gdb.base/gdb-sigterm.exp: New file.
1030
1031 2014-03-18 Pedro Alves <palves@redhat.com>
1032
1033 PR gdb/13860
1034 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1035 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1036 solib-event.
1037
1038 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1039
1040 * gdb.ada/pckd_arr_ren: New testcase.
1041
1042 2014-03-13 Doug Evans <xdje42@gmail.com>
1043
1044 PR guile/16612
1045 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1046 collect after discarding symbols.
1047
1048 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1049 Doug Evans <xdje42@gmail.com>
1050
1051 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1052 to history survives a gc.
1053
1054 2014-03-13 Pedro Alves <palves@redhat.com>
1055
1056 * gdb.base/default.exp: Don't test "target procfs".
1057
1058 2014-03-13 Pedro Alves <palves@redhat.com>
1059
1060 * gdb.base/default.exp: Update "target child" and "target procfs"
1061 tests to not expect "Unix".
1062
1063 2014-03-12 Tom Tromey <tromey@redhat.com>
1064
1065 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1066 New procs. Add target-async tests.
1067 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1068 Add target-async tests.
1069
1070 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1071
1072 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1073 'func_start' and 'func_end' for the beginning and end of the
1074 function code, respectively.
1075 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1076 'func_end' instead of 'func' and 'main'.
1077
1078 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1079
1080 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1081 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1082 generate the debug info assembler source.
1083
1084 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1085
1086 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1087 * gdb.dwarf2/arr-subrange.exp: Likewise.
1088 * gdb.dwarf2/dwz.exp: Likewise.
1089 * gdb.dwarf2/method-ptr.exp: Likewise.
1090 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1091 * gdb.dwarf2/subrange.exp: Likewise.
1092 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1093 * gdb.dwarf2/implptrpiece.exp: Likewise.
1094 * gdb.dwarf2/nostaticblock.exp: Likewise.
1095
1096 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1097
1098 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1099 directory to absolute path name arguments.
1100
1101 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1102
1103 * gdb.ada/tagged_access: New testcase.
1104
1105 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1106
1107 * gdb.btrace/data.exp: Update expected output.
1108
1109 2014-03-06 Yao Qi <yao@codesourcery.com>
1110
1111 * gdb.trace/pr16508.exp: New file.
1112
1113 2014-03-05 Pedro Alves <palves@redhat.com>
1114
1115 PR gdb/16575
1116 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1117 procedure.
1118 (top level): Adjust to use it. Add tests that exercise breakpoint
1119 interaction with the code-cache.
1120
1121 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1122
1123 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1124 test for 'history-append!'.
1125
1126 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1127
1128 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1129 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1130 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1131 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1132 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1133 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1134
1135 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1136
1137 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1138 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1139 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1140
1141 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1142
1143 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1144
1145 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1146
1147 * gdb.dwarf2/arr-stride.c: New file.
1148 * gdb.dwarf2/arr-stride.exp: New file.
1149
1150 2014-02-26 Pedro Alves <palves@redhat.com>
1151
1152 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1153 that won't ever trigger. Make sure that GDB reports the correct
1154 breakpoint that caused the stop.
1155
1156 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1157
1158 PR gdb/16626
1159 * gdb.base/auto-load-script: New file.
1160 * gdb.base/auto-load.c: New file.
1161 * gdb.base/auto-load.exp: New file.
1162
1163 PR gdb/16626
1164 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1165
1166 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1167
1168 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1169 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1170
1171 2014-02-24 Doug Evans <dje@google.com>
1172
1173 * lib/gdb.exp (run_on_host): Log error output if program fails.
1174
1175 2014-02-21 Pedro Alves <palves@redhat.com>
1176
1177 * gdb.threads/step-after-sr-lock.c: Rename to ...
1178 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1179 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1180 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1181 ... this.
1182
1183 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1184
1185 PR tdep/16397
1186 * gdb.arch/amd64-stap-special-operands.exp: New file.
1187 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1188 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1189 * gdb.arch/amd64-stap-triplet.S: Likewise.
1190 * gdb.arch/amd64-stap-triplet.c: Likewise.
1191
1192 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1193
1194 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1195 in .section pseudo-op.
1196
1197 2014-02-20 lin zuojian <manjian2006@gmail.com>
1198 Joel Brobecker <brobecker@adacore.com>
1199 Doug Evans <xdje42@gmail.com>
1200
1201 PR symtab/16581
1202 * gdb.dwarf2/dw2-icycle.S: New file.
1203 * gdb.dwarf2/dw2-icycle.c: New file.
1204 * gdb.dwarf2/dw2-icycle.exp: New file.
1205
1206 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1207
1208 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1209 operations on gdb.Value objects.
1210 * gdb.python/py-value-cc.exp: Add new test to test operations on
1211 gdb.Value objects.
1212
1213 2014-02-18 Doug Evans <dje@google.com>
1214
1215 * Makefile.in (TESTS): New variable.
1216 (expanded_tests, expanded_tests_or_none): New variables
1217 (check-single): Pass $(expanded_tests_or_none) to runtest.
1218 (check-parallel): Only run tests in $(TESTS) if non-empty.
1219 (check/no-matching-tests-found): New rule.
1220 * README: Document TESTS makefile variable.
1221
1222 2014-02-18 Doug Evans <dje@google.com>
1223
1224 * Makefile.in (check-parallel): rm -rf outputs temp.
1225
1226 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1227
1228 Fix "ERROR: no fileid for" in the testsuite.
1229 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1230
1231 2014-02-12 Doug Evans <dje@google.com>
1232
1233 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1234 (MISCELLANEOUS): New variable.
1235 (clean): rm -rf $(MISCELLANEOUS).
1236 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1237 dwp live in the same directory as symlinks, with each symlink pointed
1238 to a differently named file in a different directory.
1239
1240 2014-02-11 Doug Evans <dje@google.com>
1241
1242 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1243 of Tcl file commands.
1244
1245 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1246
1247 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1248 "kill -SIGUSR1 -1".
1249
1250 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1251
1252 * gdb.ada/tick_length_array_enum_idx: New testcase.
1253
1254 2014-02-10 Doug Evans <xdje42@gmail.com>
1255
1256 * configure.ac (AC_OUTPUT): Add gdb.guile.
1257 * configure: Regenerate.
1258 * lib/gdb-guile.exp: New file.
1259 * lib/gdb.exp (get_target_charset): New function.
1260 * gdb.base/help.exp: Update expected output from "apropos apropos".
1261 * gdb.guile/Makefile.in: New file.
1262 * gdb.guile/guile.exp: New file.
1263 * gdb.guile/scm-arch.c: New file.
1264 * gdb.guile/scm-arch.exp: New file.
1265 * gdb.guile/scm-block.c: New file.
1266 * gdb.guile/scm-block.exp: New file.
1267 * gdb.guile/scm-breakpoint.c: New file.
1268 * gdb.guile/scm-breakpoint.exp: New file.
1269 * gdb.guile/scm-disasm.c: New file.
1270 * gdb.guile/scm-disasm.exp: New file.
1271 * gdb.guile/scm-equal.c: New file.
1272 * gdb.guile/scm-equal.exp: New file.
1273 * gdb.guile/scm-error.exp: New file.
1274 * gdb.guile/scm-error.scm: New file.
1275 * gdb.guile/scm-frame-args.c: New file.
1276 * gdb.guile/scm-frame-args.exp: New file.
1277 * gdb.guile/scm-frame-args.scm: New file.
1278 * gdb.guile/scm-frame-inline.c: New file.
1279 * gdb.guile/scm-frame-inline.exp: New file.
1280 * gdb.guile/scm-frame.c: New file.
1281 * gdb.guile/scm-frame.exp: New file.
1282 * gdb.guile/scm-generics.exp: New file.
1283 * gdb.guile/scm-gsmob.exp: New file.
1284 * gdb.guile/scm-iterator.c: New file.
1285 * gdb.guile/scm-iterator.exp: New file.
1286 * gdb.guile/scm-math.c: New file.
1287 * gdb.guile/scm-math.exp: New file.
1288 * gdb.guile/scm-objfile-script-gdb.in: New file.
1289 * gdb.guile/scm-objfile-script.c: New file.
1290 * gdb.guile/scm-objfile-script.exp: New file.
1291 * gdb.guile/scm-objfile.c: New file.
1292 * gdb.guile/scm-objfile.exp: New file.
1293 * gdb.guile/scm-ports.exp: New file.
1294 * gdb.guile/scm-pretty-print.c: New file.
1295 * gdb.guile/scm-pretty-print.exp: New file.
1296 * gdb.guile/scm-pretty-print.scm: New file.
1297 * gdb.guile/scm-section-script.c: New file.
1298 * gdb.guile/scm-section-script.exp: New file.
1299 * gdb.guile/scm-section-script.scm: New file.
1300 * gdb.guile/scm-symbol.c: New file.
1301 * gdb.guile/scm-symbol.exp: New file.
1302 * gdb.guile/scm-symtab-2.c: New file.
1303 * gdb.guile/scm-symtab.c: New file.
1304 * gdb.guile/scm-symtab.exp: New file.
1305 * gdb.guile/scm-type.c: New file.
1306 * gdb.guile/scm-type.exp: New file.
1307 * gdb.guile/scm-value-cc.cc: New file.
1308 * gdb.guile/scm-value-cc.exp: New file.
1309 * gdb.guile/scm-value.c: New file.
1310 * gdb.guile/scm-value.exp: New file.
1311 * gdb.guile/source2.scm: New file.
1312 * gdb.guile/types-module.cc: New file.
1313 * gdb.guile/types-module.exp: New file.
1314
1315 2014-02-10 Yao Qi <yao@codesourcery.com>
1316
1317 PR testsuite/16543
1318 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1319 * configure: Regenerated.
1320 * Makefile.in: New file.
1321
1322 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1323
1324 * gdb.python/py-framefilter.exp: Fix typo.
1325
1326 2014-02-08 Yao Qi <yao@codesourcery.com>
1327
1328 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1329 that no =breakpoint-modified is emitted when breakpoints are
1330 modified through MI commands.
1331
1332 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1333 Pedro Alves <palves@redhat.com>
1334
1335 * gdb.threads/step-after-sr-lock.c: New file.
1336 * gdb.threads/step-after-sr-lock.exp: New file.
1337
1338 2014-02-07 Pedro Alves <palves@redhat.com>
1339
1340 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1341
1342 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1343
1344 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1345 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1346
1347 2014-02-06 Doug Evans <xdje42@gmail.com>
1348
1349 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1350 output.
1351
1352 * gdb.gdb/python-interrupts.exp: New file.
1353
1354 2014-02-05 Yao Qi <yao@codesourcery.com>
1355
1356 * gdb.trace/report.exp (use_collected_data): Test the output
1357 of "info threads" and "info inferiors".
1358
1359 2014-02-05 Yao Qi <yao@codesourcery.com>
1360
1361 Revert this patch:
1362
1363 2013-05-24 Yao Qi <yao@codesourcery.com>
1364
1365 * gdb.trace/tfile.exp: Test inferior and thread.
1366
1367 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1368
1369 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1370 on a function.
1371 * gdb.base/step-bt.c: Call hello via function pointer to make
1372 sure its first instruction is executed on powerpc64le-linux.
1373
1374 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1375
1376 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1377
1378 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1379
1380 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1381 of the test patterns for use on little-endian systems.
1382
1383 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1384
1385 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1386 (decimal_vector): Fix for little-endian.
1387
1388 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1389
1390 * gdb.arch/sparc-sysstep.exp: New file.
1391 * gdb.arch/sparc-sysstep.c: Likewise.
1392
1393 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1394
1395 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1396
1397 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1398
1399 2014-01-23 Tom Tromey <tromey@redhat.com>
1400
1401 * gdb.ada/array_char_idx: New testcase.
1402
1403 2014-01-23 Tom Tromey <tromey@redhat.com>
1404
1405 PR python/16487:
1406 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1407 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1408 classes.
1409
1410 2014-01-23 Tom Tromey <tromey@redhat.com>
1411
1412 PR python/16491:
1413 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1414 string from an inferior frame.
1415 * gdb.python/py-framefilter-mi.exp: Update.
1416
1417 2014-01-22 Doug Evans <dje@google.com>
1418
1419 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1420
1421 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1422
1423 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1424
1425 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1426
1427 * gdb.trace/entry-values.exp: Remove excess space character from
1428 regex patterns. Handle s390 call instruction.
1429
1430 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1431
1432 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1433 define "*_start" label. Make "name" static.
1434 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1435 ${name} by references to ${name}_start.
1436
1437 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1438
1439 * gdb.base/info-macros.exp: Remove "debug" from the compile
1440 options.
1441
1442 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1443
1444 * gdb.dlang/demangle.exp: New file.
1445
1446 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1447
1448 * gdb.dlang/primitive-types.exp: New file.
1449
1450 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1451
1452 * configure.ac: Create gdb.dlang/Makefile.
1453 * configure: Regenerate.
1454 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1455 * gdb.dlang/Makefile.in: New file.
1456 * lib/d-support.exp: New file.
1457 * lib/gdb.exp (skip_d_tests): New proc.
1458
1459 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1460
1461 * gdb.btrace/delta.exp: Check reverse stepi.
1462 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1463 * gdb.btrace/finish.exp: New.
1464 * gdb.btrace/next.exp: New.
1465 * gdb.btrace/nexti.exp: New.
1466 * gdb.btrace/record_goto.c: Add comments.
1467 * gdb.btrace/step.exp: New.
1468 * gdb.btrace/stepi.exp: New.
1469 * gdb.btrace/multi-thread-step.c: New.
1470 * gdb.btrace/multi-thread-step.exp: New.
1471 * gdb.btrace/rn-dl-bind.c: New.
1472 * gdb.btrace/rn-dl-bind.exp: New.
1473 * gdb.btrace/data.c: New.
1474 * gdb.btrace/data.exp: New.
1475 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1476
1477 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1478
1479 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1480 * gdb.btrace/exception.exp: Update.
1481 * gdb.btrace/instruction_history.exp: Update.
1482 * gdb.btrace/record_goto.exp: Update.
1483 * gdb.btrace/tailcall.exp: Update.
1484 * gdb.btrace/unknown_functions.exp: Update.
1485 * gdb.btrace/delta.exp: New.
1486
1487 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1488
1489 * gdb.btrace/record_goto.exp: Add backtrace test.
1490 * gdb.btrace/tailcall.exp: Add backtrace test.
1491
1492 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1493
1494 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1495 * gdb.btrace/record_goto.c: New.
1496 * gdb.btrace/record_goto.exp: New.
1497 * gdb.btrace/x86-record_goto.S: New.
1498
1499 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1500
1501 * gdb.btrace/function_call_history.exp: Update tests.
1502 * gdb.btrace/instruction_history.exp: Update tests.
1503
1504 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1505
1506 * gdb.btrace/function_call_history.exp: Fix expected field
1507 order for "record function-call-history".
1508 Add new tests for "record function-call-history /c".
1509 * gdb.btrace/exception.cc: New.
1510 * gdb.btrace/exception.exp: New.
1511 * gdb.btrace/tailcall.exp: New.
1512 * gdb.btrace/x86-tailcall.S: New.
1513 * gdb.btrace/x86-tailcall.c: New.
1514 * gdb.btrace/unknown_functions.c: New.
1515 * gdb.btrace/unknown_functions.exp: New.
1516 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1517
1518 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1519
1520 * gdb.btrace/instruction_history.exp: Update.
1521 * gdb.btrace/function_call_history.exp: Update.
1522
1523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1524
1525 * gdb.btrace/function_call_history.exp: Fix expected function
1526 trace.
1527 * gdb.btrace/instruction_history.exp: Initialize traced.
1528 Remove traced_functions.
1529
1530 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1531
1532 * gdb.btrace/function_call_history.exp: Update
1533 * gdb.btrace/instruction_history.exp: Update.
1534
1535 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1536
1537 * gdb.btrace/enable.exp: Update expected text.
1538
1539 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1540
1541 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1542 bytes.
1543
1544 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1545
1546 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1547
1548 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1549
1550 * lib/gdb.exp (supports_process_record): Return true for
1551 arm*-linux*. (supports_reverse): Likewise.
1552
1553 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1554
1555 PR python/15464
1556 PR python/16113
1557 * gdb.python/py-type.c: Enhance test case.
1558 * gdb.python/py-value-cc.cc: Likewise
1559 * gdb.python/py-type.exp: Add new tests.
1560 * gdb.python/py-value-cc.exp: Likewise
1561
1562 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1563 Pedro Alves <palves@redhat.com>
1564
1565 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1566 Make "name" extern.
1567 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1568 references to ${name}_start by references to ${name}.
1569
1570 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1571
1572 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1573
1574 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1575
1576 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1577
1578 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1579 Pedro Alves <palves@redhat.com>
1580
1581 * gdb.mi/mi-info-os.exp: Connect to the target with
1582 mi_gdb_target_load.
1583
1584 2014-01-08 Pedro Alves <palves@redhat.com>
1585
1586 * gdb.threads/reconnect-signal.c: New file.
1587 * gdb.threads/reconnect-signal.exp: New file.
1588
1589 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1590
1591 * gdb.base/source-dir.exp: New file.
1592
1593 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1594
1595 * gdb.ada/mi_interface: New testcase.
1596
1597 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1598
1599 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1600 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1601 gdb.ada/pp-rec-component/pck.ads: New files.
1602
1603 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1604
1605 * gdb.python/py-pp-integral.c: New file.
1606 * gdb.python/py-pp-integral.py: New file.
1607 * gdb.python/py-pp-integral.exp: New file.
1608
1609 For older changes see ChangeLog-1993-2013.
1610 \f
1611 ;; Local Variables:
1612 ;; mode: change-log
1613 ;; left-margin: 8
1614 ;; fill-column: 74
1615 ;; version-control: never
1616 ;; End:
1617
1618 Copyright 2014 Free Software Foundation, Inc.
1619 Copying and distribution of this file, with or without modification,
1620 are permitted provided the copyright notice and this notice are preserved.
This page took 0.080255 seconds and 4 git commands to generate.