8957c5e145fbf057f80f059a8a9db97dd15fcc3b
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-06-30 Jie Zhang <jie.zhang@analog.com>
2 Mike Frysinger <vapier@gentoo.org>
3
4 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
5 helper functions for getting/setting remotetimeout variable.
6 * lib/gdb.exp (gdb_load): If the target is remote, set
7 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8 with $loadtimeout. Set $load_ok to 0 before doing the load.
9 Instead of returning, immediately, set $load_ok to 0. Call
10 set_remotetimeout with $oldremotetimeout, and then return if
11 $load_ok is 1.
12
13 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
14
15 * gdb.python/py-template.exp: Don't run this test if the target
16 does not support c++ tests.
17
18 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
19
20 Fix non-only rename list for Fortran modules import.
21 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
22 tests.
23 * gdb.fortran/module.f90 (module moduse): New.
24 (program module): use moduse, test var_x, var_y and var_z.
25
26 2011-06-29 Tom Tromey <tromey@redhat.com>
27
28 PR testsuite/12040:
29 * gdb.fortran/array-element.exp: Use f90, not f77.
30 * gdb.fortran/complex.exp: Use f90, not f77.
31 * gdb.fortran/derived-type.exp: Use f90, not f77.
32 * gdb.fortran/library-module.exp: Use f90, not f77.
33 * gdb.fortran/logical.exp: Use f90, not f77.
34 * gdb.fortran/module.exp: Use f90, not f77.
35 * gdb.fortran/multi-dim.exp: Use f90, not f77.
36 * gdb.fortran/subarray.exp: Use f90, not f77.
37
38 2011-06-29 Tom Tromey <tromey@redhat.com>
39
40 * gdb.fortran/charset.exp: New file.
41 * gdb.fortran/charset.f90: New file.
42
43 2011-06-29 Tom Tromey <tromey@redhat.com>
44
45 PR testsuite/12040:
46 * lib/future.exp: New file, mostly extracted from ada.exp.
47 Rewrote compatibility code to use rename.
48 (gdb_find_gfortran): New proc.
49 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
50 gfortran patch.
51 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
52 Move to future.exp.
53 * lib/gdb.exp: Always load future.exp.
54
55 2011-06-28 Yao Qi <yao@codesourcery.com>
56
57 * gdb.cp/exception.cc: Don't include iostream.
58 (bar): Remove print statement.
59 (catcher): New.
60 (main): Remove print statements. Call function catcher.
61 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
62 Set breakpoint on catcher, and check the value of parameter.
63
64 2011-06-23 Yao Qi <yao@codesourcery.com>
65
66 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
67 1.2 is disabled. KFAIL for uclinux.
68
69 2011-06-23 Marek Polacek <mpolacek@redhat.com>
70
71 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
72 mi_gdb_test.
73
74 2011-06-23 Marek Polacek <mpolacek@redhat.com>
75
76 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
77
78 2011-06-23 Marek Polacek <mpolacek@redhat.com>
79
80 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
81
82 2011-06-23 Marek Polacek <mpolacek@redhat.com>
83
84 * gdb.mi/mi2-basics.exp: Fix races. Honour the
85 `test_exec_and_symbol_mi_operatons' return value.
86 (test_mi_interpreter_selection): Use mi_gdb_test instead of
87 gdb_test_multiple.
88 (test_exec_and_symbol_mi_operatons): Likewise.
89 (test_path_specification): Likewise.
90
91 2011-06-23 Yao Qi <yao@codesourcery.com>
92
93 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
94 supported.
95 * lib/gdb.exp (support_displaced_stepping): New.
96
97 2011-06-23 Yao Qi <yao@codesourcery.com>
98
99 * gdb.threads/execl.exp: Skip on remote target.
100
101 2011-06-21 Marek Polacek <mpolacek@redhat.com>
102
103 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
104 mi_gdb_test.
105
106 2011-06-20 Marek Polacek <mpolacek@redhat.com>
107
108 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
109
110 2011-06-20 Marek Polacek <mpolacek@redhat.com>
111
112 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
113 mi_gdb_test.
114
115 2011-06-20 Marek Polacek <mpolacek@redhat.com>
116
117 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
118
119 2011-06-14 Yao Qi <yao@codesourcery.com>
120
121 gdb/testsuite/
122 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
123
124 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
125
126 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
127
128 2011-06-10 Tom Tromey <tromey@redhat.com>
129
130 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
131 Add tests for pointer-to-member-function.
132 * gdb.cp/temargs.cc (S::somefunc): New function.
133 (K2): New class.
134 (main): Instantiate K2; call method.
135
136 2011-06-08 Joel Brobecker <brobecker@adacore.com>
137
138 * gdb.python/py-inferior.c (f2): Make str an array rather
139 than a pointer.
140 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
141
142 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
143
144 * gdb.base/async-shell.c: New file.
145 * gdb.base/async-shell.exp: New file.
146
147 2011-06-06 Pedro Alves <pedro@codesourcery.com>
148
149 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
150
151 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
152
153 From Stephen Kitt <steve@sk2.org>
154 * gdb.base/help.exp: Adjust following some spelling corrections
155 in GDB.
156
157 2011-06-01 Yao Qi <yao@codesourcery.com>
158
159 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
160
161 2010-05-31 Keith Seitz <keiths@redhat.com>
162
163 PR c++/12750
164 * gdb.cp/static-method.cc: New file.
165 * gdb.cp/static-method.exp: New file.
166
167 2010-05-31 Keith Seitz <keiths@redhat.com>
168
169 PR symtab/12704
170 * gdb.cp/anon-ns.cc: New file.
171 * gdb.cp/anon-ns.exp: New file.
172
173 2011-05-31 Pedro Alves <pedro@codesourcery.com>
174
175 * gdb.arch/i386-dr3-watch.c: New file.
176 * gdb.arch/i386-dr3-watch.exp: New file.
177
178 2011-05-30 Yao Qi <yao@codesourcery.com>
179
180 * gdb.base/callfuncs.c (t_structs_fc): New.
181 (t_structs_dc, t_structs_ldc): New.
182 (t_double_many_args):
183 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
184 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
185 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
186 * gdb.base/callfuncs.exp: Call new functions.
187
188 2011-05-30 Yao Qi <yao@codesourcery.com>
189
190 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
191 Call rerun_and_prepare for each test to isolate effects.
192
193 2011-05-30 Yao Qi <yao@codesourcery.com>
194
195 * gdb.base/varargs.c (find_max_float_real): New.
196 (find_max_double_real, find_max_long_double_real): New.
197 * gdb.base/varargs.exp: Call these new added functions.
198 * lib/gdb.exp (setup_kfail_for_target): New.
199
200 2011-05-30 Yao Qi <yao@codesourcery.com>
201
202 * gdb.base/funcargs.c (callca, callcb, callcc): New.
203 (callcd, callce, callcf, callc1a, callc1b): New.
204 (callc2a, callc2b): New.
205 * gdb.base/funcargs.exp (complex_args): New.
206 (complex_integral_args, complex_float_integral_args): New.
207 * lib/gdb.exp (support_complex_tests): New. Determine
208 whether to run test cases on _Complex types.
209
210 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
211
212 * gdb.threads/leader-exit.c: New file.
213 * gdb.threads/leader-exit.exp: New file.
214
215 2011-05-27 Marek Polacek <mpolacek@redhat.com>
216
217 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
218
219 2011-05-27 Marek Polacek <mpolacek@redhat.com>
220
221 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
222 remove the `supported' variable.
223 * gdb.mi/mi-nonstop.exp: Likewise.
224 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
225 * gdb.mi/mi-nsintrall.exp: Likewise.
226 * gdb.mi/mi-nsmoribund.exp: Likewise.
227 * gdb.mi/mi-nsthrexec.exp: Likewise.
228
229 2011-05-26 Pedro Alves <pedro@codesourcery.com>
230
231 * gdb.reverse/finish-reverse-bkpt.exp: New test.
232
233 2011-05-26 Pedro Alves <pedro@codesourcery.com>
234
235 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
236
237 2011-05-24 Keith Seitz <keiths@redhat.com>
238
239 PR breakpoint/12803
240 * gdb.cp/cmpd-minsyms.cc (a): New method.
241 (b): New method.
242 (c): New method.
243 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
244
245 2011-05-24 Pedro Alves <pedro@codesourcery.com>
246
247 * gdb.base/commands.exp (watchpoint_command_test): Check that the
248 watchpoint's command list didn't execute when the watchpoint went
249 out of scope.
250
251 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
252
253 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
254 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
255 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
256 * gdb.arch/i386-gnu-cfi.exp: Likewise.
257 * gdb.arch/i386-permbkpt.exp: Likewise.
258 * gdb.arch/i386-prologue.exp: Likewise.
259 * gdb.arch/i386-size-overlap.exp: Likewise.
260 * gdb.arch/i386-size.exp: Likewise.
261 * gdb.arch/i386-unwind.exp: Likewise.
262 * gdb.reverse/i386-precsave.exp: Likewise.
263 * gdb.reverse/i386-reverse.exp: Likewise.
264 * gdb.reverse/i386-sse-reverse.exp: Likewise.
265 * gdb.reverse/i387-env-reverse.exp: Likewise.
266 * gdb.reverse/i387-stack-reverse.exp: Likewise.
267
268 2011-05-24 Pedro Alves <pedro@codesourcery.com>
269
270 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
271 file doesn't error, using MI.
272
273 2011-05-23 Tom Tromey <tromey@redhat.com>
274
275 * gdb.base/charset.exp (string_display): Add tests to assign to
276 arrays.
277 * gdb.base/charset.c (short_array, int_array, long_array): New.
278
279 2011-05-20 Pedro Alves <pedro@codesourcery.com>
280
281 Cope with async mode.
282
283 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
284 into gdb_test + mi_expect_stop.
285
286 2011-05-20 Pedro Alves <pedro@codesourcery.com>
287
288 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
289 (callme): Remove printf call.
290
291 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
292
293 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
294 quote pattern to avoid problems with Cygwin/mingw expect versions.
295 * gdb.base/default.exp (show convenience): Use double
296 quote pattern for regular expressions.
297
298 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
299
300 Fix -readnow for -gdwarf-4 unused type units.
301 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
302 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
303
304 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
305
306 * gdb.base/kill-after-signal.c: New file.
307 * gdb.base/kill-after-signal.exp: New file.
308
309 2011-05-16 Pedro Alves <pedro@codesourcery.com>
310
311 * gdb.ada/start.exp: Call untested with the correct test filename.
312 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
313 test filename. Make the test's binary unique.
314 * gdb.arch/i386-signal.exp: Call untested with the correct test
315 filename.
316 * gdb.arch/i386-size-overlap.exp: Ditto.
317 * gdb.arch/Makefile.in (EXECUTABLES): Update.
318 * gdb.base/gcore-buffer-overflow.exp: Ditto.
319 * gdb.cp/call-c.exp: Ditto.
320 * gdb.mi/mi-reverse.exp: Call untested with the correct test
321 filename. Make the test's binary unique.
322 * gdb.mi/Makefile.in (EXECUTABLES): Update.
323 * gdb.python/py-mi.exp: Ditto.
324 * gdb.python/Makefile.in (EXECUTABLES): Update.
325 * gdb.reverse/i386-precsave.exp: Ditto.
326 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
327 test filename.
328 * gdb.reverse/i387-stack-reverse.exp: Ditto.
329 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
330 unique.
331 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
332 test filename.
333 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
334 * gdb.trace/tfile.exp: Ditto.
335
336 2011-05-14 Yao Qi <yao@codesourcery.com>
337
338 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
339 type.
340
341 2011-05-13 Doug Evans <dje@google.com>
342
343 * gdb.python/py-objfile-script.exp: New file.
344 * gdb.python/py-objfile-script.c: New file.
345 * gdb.python/py-objfile-script-gdb.py: New file.
346 * testsuite/gdb.python/py-section-script.exp: Test
347 "info auto-load-scripts".
348
349 2011-05-13 Tom Tromey <tromey@redhat.com>
350
351 * gdb.dwarf2/clztest.exp: New file.
352 * gdb.dwarf2/clztest.c: New file.
353 * gdb.dwarf2/clztest.S: New file.
354
355 2011-05-13 Doug Evans <dje@google.com>
356
357 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
358 String16 tests.
359
360 2011-05-13 Tom Tromey <tromey@redhat.com>
361
362 * lib/gdb.exp (is_x86_like_target): New proc.
363 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
364 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
365 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
366 -nostdlib to compiler.
367 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
368 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
369 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
370 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
371 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
372
373 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
374
375 * gdb.python/py-function.exp: Test setting a value from a function
376 which executes a command.
377
378 2011-05-12 Tom Tromey <tromey@redhat.com>
379
380 * gdb.dwarf2/typeddwarf.S: New file.
381 * gdb.dwarf2/typeddwarf.c: New file.
382 * gdb.dwarf2/typeddwarf.exp: New file.
383
384 2011-05-12 Marek Polacek <mpolacek@redhat.com>
385
386 * gdb.mi/mi-basics.exp: Fix races. Honour the
387 `test_exec_and_symbol_mi_operatons' return value.
388 (test_mi_interpreter_selection): Use mi_gdb_test instead of
389 gdb_test_multiple.
390 (test_exec_and_symbol_mi_operatons): Likewise.
391 (test_path_specification): Likewise.
392
393 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
394
395 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
396 (gdb_touch_execfile): Remove catch wrappers. New variable time.
397 Replace `file copy' and `file rename' by `file mtime'. Twice.
398
399 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
400
401 * gdb.base/readline-ask.c: New file.
402 * gdb.base/readline-ask.exp: New file.
403 * gdb.base/readline-ask.inputrc: New file.
404
405 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
406
407 * gdb.cell/bt.exp: Delete breakpoints before running to signal
408 to avoid race condition.
409 * gdb.cell/coremaker.c: Use small stack size.
410 * gdb.cell/ea-standalone.exp: Use file name without path as
411 argument to c_to.
412 * gdb.cell/fork.exp: Allow other output when continuing to end.
413
414 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
415
416 * gdb.threads/corethreads.c: New file.
417 * gdb.threads/corethreads.exp: New file.
418
419 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
420
421 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
422 Try to compile the test using -Wl,-z,norelro first.
423 (load_core): New variable libthread_db_seen, initialize it.
424 (zeroed-threads cannot be listed): Protect it by XFAIL on
425 !$libthread_db_seen.
426
427 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
428
429 PR 12573
430 * gdb.dwarf2/dw2-skip-prologue.S: New file.
431 * gdb.dwarf2/dw2-skip-prologue.c: New file.
432 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
433
434 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
435
436 * gdb.cp/psymtab-parameter.cc: New file.
437 * gdb.cp/psymtab-parameter.exp: New file.
438
439 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
440
441 Fix a race.
442 * gdb.cp/static-print-quit.exp (print c): Split to ...
443 (print c - <return>, print c - q <return>, print c - to quit):
444 ... these. Make the testfile untested on gdb-7.1.
445
446 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
447
448 * lib/gdb.exp (exec_target_file, exec_symbol_file,
449 gdb_rename_execfile, gdb_touch_execfile): New.
450 * gdb.base/reread.exp: Use new procs to handle multiple
451 exec files.
452
453 2011-05-05 Yao Qi <yao@codesourcery.com>
454
455 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
456 (test_adr_32bit, test_pop_pc): New.
457 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
458 (test_adr_32bit, test_pop_pc): New.
459
460 2011-05-04 Joseph Myers <joseph@codesourcery.com>
461
462 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
463 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
464 targets.
465 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
466 handle targets.
467
468 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
469
470 * gdb.base/completion.exp (complete help info wat): Rename to ...
471 (complete 'help info wat'): ... here.
472 Remove all `-re ".*' and `-re "^.*' redundant regexes.
473 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
474
475 2011-05-04 Pedro Alves <pedro@codesourcery.com>
476
477 * gdb.base/completion.exp: Use gdb_test_multiple instead of
478 gdb_test and explicit $gdb_prompt/timeout matches.
479
480 2011-05-04 Yao Qi <yao@codesourcery.com>
481
482 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
483 and __thumb2__.
484
485 2011-05-03 Marek Polacek <mpolacek@redhat.com>
486
487 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
488 in place of `gdb_test "delete breakpoints"'. This eliminates two
489 testcases.
490
491 2011-05-02 Pedro Alves <pedro@codesourcery.com>
492
493 PR testsuite/12649
494 Fix races.
495
496 * gdb.base/completion.exp: Remove all sleep calls. Remove
497 unnecessary regexs. Don't explicitly expect anything after the
498 prompt. Eat the prompt if necessary.
499
500 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
501
502 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
503 accept to show the caller line again as well as the line after.
504
505 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
506
507 PR mi/12531
508
509 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
510 compile target.
511 * gdb.python/py-prettyprint.exp: Add C++ object for
512 CPLUS_FAKE_CHILD test.
513
514 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
515
516 * gdb.base/signest.exp: New file.
517 * gdb.base/signest.c: Likewise.
518
519 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
520
521 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
522 thread and breakpoint notifications.
523
524 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
525
526 * gdb.base/fortran-sym-case.c: New file.
527 * gdb.base/fortran-sym-case.exp: New file.
528 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
529 * gdb.dwarf2/dw2-case-insensitive.c: New file.
530 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
531
532 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
533
534 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
535 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
536 false #1', `if true else false #2' and `if true else false #3'.
537
538 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
539
540 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
541 while delivering signal.
542
543 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
544
545 MI breakpoint notifications.
546
547 * testsuite/gdb.mi/mi-cli.exp: Adust.
548 * testsuite/gdb.mi/mi2-cli.exp: Adust.
549 * testsuite/gdb.mi/mi-watch.exp: Adust.
550 * testsuite/gdb.mi/mi2-watch.exp: Adust.
551 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
552 notifications.
553
554 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
555
556 * gdb.base/gdbindex-stabs-dwarf.c: New file.
557 * gdb.base/gdbindex-stabs.c: New file.
558 * gdb.base/gdbindex-stabs.exp: New file.
559
560 2011-04-25 Yao Qi <yao@codesourcery.com>
561
562 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
563 with /*...*/.
564 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
565
566 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
567
568 * gdb.python/py-value.exp (test_objfiles): Name the first test
569 `py-value in file.filename'.
570
571 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
572
573 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
574 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
575 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
576 !gdbserver_reconnect_p..
577 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
578
579 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
580
581 * gdb.cp/cpcompletion.exp (complete class methods)
582 (complete class methods beginning with F): Move them above runto. New
583 comment about the runto delimiter.
584
585 2011-04-20 Pedro Alves <pedro@codesourcery.com>
586
587 * gdb.base/maint.exp: Test that "maint print registers" works
588 without a running program.
589
590 2011-04-20 Marek Polacek <mpolacek@redhat.com>
591
592 * gdb.base/setshow.exp: Fix racy tests.
593 ($old_gdb_prompt): New variable.
594
595 2011-04-19 Tom Tromey <tromey@redhat.com>
596
597 * gdb.mi/mi-nsmoribund.exp:
598 * gdb.hp/gdb.objdbg/objdbg01.exp:
599 * gdb.base/structs.exp (test_struct_returns):
600 * gdb.base/call-sc.exp (test_scalar_returns):
601 * gdb.base/bigcore.exp: Remove duplicate words.
602
603 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
604
605 * gdb.base/break-interp-lib.c (v, vptr): New variables.
606 * gdb.base/break-interp.exp (test_attach): New comment.
607
608 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
609
610 * gdb.threads/gcore-thread.exp ($core0file): New variable.
611 (clear __stack_user.next, clear stack_used.next)
612 (save a zeroed-threads corefile): New test.
613 Call core_load for $core0file.
614 (zeroed-threads cannot be listed): New test.
615
616 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
617
618 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
619 filename.
620 ($srcfile): Preserve the original value.
621 ($testfile): Match it the .exp filename.
622 ($corefile): New variable. Substitute it around.
623 Use clean_restart.
624 ($prev_timeout): Remove.
625 (load_core): Move core loading into this proc.
626 Fix restore of $timeout if load_core fails.
627
628 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
629
630 * gdb.base/eu-strip-infcall.c: New file.
631 * gdb.base/eu-strip-infcall.exp: New file.
632
633 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
634
635 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
636 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
637
638 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
639
640 Fix Python access to inlined frames.
641 * gdb.python/py-frame-inline.c: New file.
642 * gdb.python/py-frame-inline.exp: New file.
643
644 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
645
646 * gdb.base/gdb1090.exp: Change breakpoint location to read the
647 content of 's24' correctly (avoiding "optimized out").
648 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
649
650 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
651
652 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
653
654 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
655
656 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
657 expect a colon in watch -location output.
658
659 2011-04-13 Marek Polacek <mpolacek@redhat.com>
660
661 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
662 New testcase `expect response to define backtrace'. Also remove
663 redundant `default' block.
664
665 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
666
667 * gdb.python/py-prettyprint.c (struct hint_error): New.
668 (main): New variable hint_error.
669 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
670 "print hint_error".
671 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
672 (register_pretty_printers): Register it.
673
674 2011-04-04 Tom Tromey <tromey@redhat.com>
675
676 * gdb.cp/maint.exp (test_help): Update.
677 (test_namespace): Likewise.
678
679 2011-04-01 Joel Brobecker <brobecker@adacore.com>
680
681 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
682 * gdb.ada/arrayptr.exp: Add new tests.
683
684 2011-04-01 Joel Brobecker <brobecker@adacore.com>
685
686 * gdb.ada/mi_catch_ex: New testcase.
687
688 2011-04-01 Pedro Alves <pedro@codesourcery.com>
689
690 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
691 base::overload(void) method without specifying "const".
692
693 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
694
695 * gdb.arch/thumb-singlestep.S: New file.
696 * gdb.arch/thumb-singlestep.exp: Likewise.
697
698 2011-03-31 Tom Tromey <tromey@redhat.com>
699
700 * gdb.python/py-prettyprint.py (exception_flag): New global.
701 (NoStringContainerPrinter._iterator.next): Check it.
702 * gdb.python/py-prettyprint.c (main): New variable nstype2.
703 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
704
705 2011-03-29 Tom Tromey <tromey@redhat.com>
706
707 * gdb.cp/anon-struct.cc: New file.
708 * gdb.cp/anon-struct.exp: New file.
709
710 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
711
712 Test STT_GNU_IFUNC support.
713 * gdb.base/gnu-ifunc-lib.c: New file.
714 * gdb.base/gnu-ifunc.c: New file.
715 * gdb.base/gnu-ifunc.exp: New file.
716
717 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
718
719 Support a ring of related breakpoints.
720 * gdb.base/watchpoint-delete.c: New file.
721 * gdb.base/watchpoint-delete.exp: New file.
722
723 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
724
725 * gdb.ada/arrayparam.exp (print first after function call): Use
726 explicit package name. Add a comment
727 (print lasta after function call): Rename ...
728 (print last after function call): ... it and use explicit package
729 name.
730 (print length after function call): Use explicit package name.
731 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
732 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
733 (multiple matches for symbol i): Rename ...
734 (multiple matches for symbol integervar): ... it.
735 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
736 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
737
738 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
739
740 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
741 environment variable to make grep output more predictable. Move
742 all the environment setup into gdb_init so it's done once per test
743 case rather than each time we start gdb.
744
745 2011-03-24 Tom Tromey <tromey@redhat.com>
746
747 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
748 test.
749
750 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 * gdb.dwarf2/dw2-entry-value-main.c: New file.
753 * gdb.dwarf2/dw2-entry-value.S: New file.
754 * gdb.dwarf2/dw2-entry-value.exp: New file.
755
756 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
757
758 PR python/12183
759
760 * gdb.python/py-function.exp: Add GdbError tests.
761
762 2011-03-18 Pedro Alves <pedro@codesourcery.com>
763
764 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
765 (reglocal_test_func, statlocal_test_func): New functions.
766 (globals_test_func): Call new functions.
767 * gdb.trace/unavailable.exp (gdb_collect_args_test)
768 (gdb_collect_locals_test): New procedure.
769 (gdb_trace_collection_test): Call new procedures.
770
771 2011-03-18 Pedro Alves <pedro@codesourcery.com>
772
773 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
774 (test_register, test_register_unavailable): New procedures.
775 (gdb_unavailable_registers_test): New procedure.
776 (gdb_trace_collection_test): Call it.
777
778 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
779
780 PR python/12149
781
782 * gdb.python/python.exp: Add gdb.write tests.
783
784 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
785
786 * gdb.python/Makefile.in: Add py-objfile.
787 * gdb.python/py-objfile.exp: New file.
788 * gdb.python/py-objfile.c: New file.
789 * gdb.python/py-block.exp: Add is_valid tests.
790 * gdb.python/py-inferior.exp: Ditto.
791 * gdb.python/py-infthread.exp: Ditto.
792 * gdb.python/py-symbol.exp: Ditto.
793 * gdb.python/py-symtab.exp: Ditto.
794
795 2011-03-16 Keith Seitz <keiths@redhat.com>
796
797 PR c++/12273
798 * gdb.cp/cmpd-minsyms.exp: New test.
799 * gdb.cp/cmpd-minsyms.cc: New file.
800
801 PR c++/11734
802 * gdb.cp/ovsrch.exp: New test.
803 * gdb.cp/ovsrch.h: New file.
804 * gdb.cp/ovsrch1.cc: New file.
805 * gdb.cp/ovsrch2.cc: New file.
806 * gdb.cp/ovsrch3.cc: New file.
807 * gdb.cp/ovsrch4.cc: New file.
808
809 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
810
811 PR gdb/12528
812 * gdb.base/Makefile.in: Adjust EXECUTABLES.
813 * gdb.base/break-on-linker-gcd-function.exp: New test.
814 * gdb.base/break-on-linker-gcd-function.cc: New file.
815
816 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
817
818 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
819
820 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
821
822 * lib/gdb.exp (gdb_unload): Add another termination case.
823
824 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
825
826 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
827 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
828 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
829 Provide a stub byte there.
830 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
831 DW_AT_entry_pc.
832 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
833
834 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
835
836 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
837 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
838 "generic ABI, auto".
839 (altivec_abi_tests): Accept vectors returned by reference.
840
841 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
842
843 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
844
845 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
846
847 * gdb.python/py-section-script.exp: Skip test if no Python support.
848
849 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
850
851 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
852
853 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
854
855 * gdb.python/py-parameter.exp: Update tests to the new Python
856 parameter API. Add "no documentation" test. Add deprecated API
857 backward compatibility test.
858
859 2011-03-09 Tom Tromey <tromey@redhat.com>
860
861 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
862 gdb_continue_to_end.
863
864 2011-03-09 Mark Kettenis <kettenis@gnu.org>
865
866 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
867 tabs.
868
869 2011-03-09 Tom Tromey <tromey@redhat.com>
870
871 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
872 parentheses.
873 (gdb_continue_to_end): Add "allow_extra" parameter. Use
874 $command.
875 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
876 argument to gdb_continue_to_end.
877 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
878 argument to gdb_continue_to_end.
879 * gdb.cp/annota3.exp: Fix regex.
880 * gdb.cp/annota2.exp: Fix regex.
881 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
882 gdb_continue_to_end.
883 * gdb.base/call-signal-resume.exp: Revert earlier patch.
884 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
885 gdb_continue_to_end.
886
887 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
888
889 * gdb.server/ext-run.exp
890 (load new file without any gdbserver inferior): New test.
891
892 2011-03-07 Tom Tromey <tromey@redhat.com>
893
894 * Makefile.in (TAGS): Rewrite.
895
896 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
897
898 * gdb.trace/report.exp (12.1: trace report #1): New match for the
899 initial commands echo. New match for `Found trace'. Anchor all the
900 other matches. Anchor and match for `No trace frame found' the final
901 match.
902
903 2011-03-07 Tom Tromey <tromey@redhat.com>
904
905 * Makefile.in (TAGS): New target.
906
907 2011-03-07 Tom Tromey <tromey@redhat.com>
908
909 * lib/opencl.exp (skip_opencl_tests): Update for exit message
910 change.
911 * lib/mi-support.exp (mi_gdb_test): Update for exit message
912 change.
913 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
914 exit message change.
915 (skip_altivec_tests): Update for exit message change.
916 (skip_vsx_tests): Likewise.
917 (gdb_continue_to_end): Likewise. Add 'command' argument.
918 * lib/cell.exp (skip_cell_tests): Update for exit message change.
919 * gdb.threads/tls.exp: Update for exit message change.
920 * gdb.threads/thread-unwindonsignal.exp: Use
921 gdb_continue_to_end.
922 * gdb.threads/step.exp (step_it): Update for exit message change.
923 (continue_all): Likewise.
924 * gdb.threads/print-threads.exp (test_all_threads): Update for
925 exit message change.
926 * gdb.threads/interrupted-hand-call.exp: Use
927 gdb_continue_to_end.
928 * gdb.threads/execl.exp: Use gdb_continue_to_end.
929 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
930 gdb_continue_to_end.
931 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
932 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
933 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
934 * gdb.cp/method.exp: Update for exit message change.
935 * gdb.cp/mb-templates.exp: Update for exit message change.
936 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
937 * gdb.cp/annota3.exp: Update for exit message change.
938 * gdb.cp/annota2.exp: Update for exit message change.
939 * gdb.cell/fork.exp: Use gdb_continue_to_end.
940 * gdb.base/term.exp: Update for exit message change.
941 * gdb.base/step-test.exp (test_i): Update for exit message change.
942 * gdb.base/sigstep.exp (advance): Update for exit message change.
943 (advancei): Likewise.
944 * gdb.base/siginfo.exp: Update for exit message change.
945 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
946 * gdb.base/reread.exp: Use gdb_continue_to_end.
947 * gdb.base/langs.exp: Use gdb_continue_to_end.
948 * gdb.base/interrupt.exp: Update for exit message change.
949 * gdb.base/gdb1555.exp: Update for exit message change.
950 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
951 * gdb.base/ending-run.exp: Update for exit message change.
952 * gdb.base/chng-syms.exp: Update for exit message change.
953 * gdb.base/checkpoint.exp: Update for exit message change.
954 * gdb.base/catch-syscall.exp (check_for_program_end): Use
955 gdb_continue_to_end.
956 (test_catch_syscall_with_wrong_args): Likewise.
957 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
958 * gdb.base/break-interp.exp (test_ld): Update for exit message
959 change.
960 * gdb.base/bang.exp: Update for exit message change.
961 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
962 (do_call_attach_tests): Likewise.
963 * gdb.base/a2-run.exp: Update for exit message change.
964 * gdb.arch/ppc-dfp.exp: Update for exit message change.
965 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
966 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
967
968 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
969
970 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
971
972 2011-03-03 Tom Tromey <tromey@redhat.com>
973
974 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
975 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
976 * gdb.hp/gdb.aCC/configure.ac: Remove.
977 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
978 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
979 * gdb.hp/gdb.base-hp/configure.ac: Remove.
980 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
981 * gdb.hp/gdb.compat/configure (Makefile): Remove.
982 * gdb.hp/gdb.compat/configure.ac: Remove.
983 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
984 * gdb.hp/gdb.defects/configure (Makefile): Remove.
985 * gdb.hp/gdb.defects/configure.ac: Remove.
986 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
987 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
988 * gdb.hp/gdb.objdbg/configure.ac: Remove.
989 * gdb.hp/configure.ac: Remove.
990 * gdb.hp/configure: Remove.
991 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
992 substitution.
993 (Makefile): Remove rule.
994 * gdb.cell/configure.ac: Remove.
995 * gdb.cell/configure: Remove.
996 * gdb.stabs/Makefile.in (Makefile): Remove.
997 (distclean): Don't remove config.status or config.log.
998 * gdb.stabs/configure (Makefile): Remove.
999 * gdb.stabs/configure.ac: Remove.
1000 * configure: Rebuild.
1001 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1002 Remove stabs- and cell-specific logic. Test for existence of
1003 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1004 subdirectories, gdb.cell, and and gdb.stabs.
1005 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1006
1007 2011-03-03 Joel Brobecker <brobecker@adacore.com>
1008
1009 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1010 end of buffer.
1011
1012 2011-03-02 Joel Brobecker <brobecker@adacore.com>
1013
1014 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1015 gdb_test when running a test where we expected no output back.
1016
1017 2011-02-28 Michael Snyder <msnyder@vmware.com>
1018
1019 * gdb.cp/overload.cc: Change initializer value to integer.
1020
1021 2011-02-27 Michael Snyder <msnyder@vmware.com>
1022
1023 * gdb.multi/base.exp: Add test for remove-inferiors.
1024
1025 2011-02-26 Joel Brobecker <brobecker@adacore.com>
1026
1027 * gdb.python/py-frame.exp: Simplify the initialization phase
1028 using prepare_for_testing.
1029
1030 2011-02-25 Michael Snyder <msnyder@vmware.com>
1031
1032 * gdb.multi/base.exp: Add tests for info inferiors with args.
1033
1034 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1035
1036 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1037 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1038 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1039 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1040 asmfile3. Comment the STABS (#3) file compilation. Compile
1041 everything through assembler. Provide KFAIL for symtab/12497.
1042 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1043 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1044 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1045 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1046
1047 2011-02-24 Michael Snyder <msnyder@vmware.com>
1048
1049 * gdb.base/break.exp: Add tests for delete breakpoints using
1050 convenience variables and value history references.
1051
1052 2011-02-24 Michael Snyder <msnyder@vmware.com>
1053
1054 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1055 left behind in previous check-in.
1056
1057 2011-02-23 Michael Snyder <msnyder@vmware.com>
1058
1059 * gdb.base/break.exp: Add tests for "info break" with arguments.
1060 * gdb.trace/infotrace.exp: Update patterns for error and help.
1061 * gdb.base/completion.exp: Update pattern.
1062 * gdb.base/ena-dis-br.exp: Update pattern.
1063 * gdb.base/help.exp: Update patterns.
1064
1065 2011-02-23 Michael Snyder <msnyder@vmware.com>
1066
1067 * gdb.base/memattr.exp: New test.
1068 * gdb.base/memattr.c: Test load for memattr.exp.
1069
1070 2011-02-22 Doug Evans <dje@google.com>
1071
1072 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1073
1074 2011-02-22 Michael Snyder <msnyder@vmware.com>
1075
1076 * Makefile.in: Make more clean.
1077 * gdb.ada/Makefile.in: Ditto.
1078 * gdb.arch/Makefile.in: Ditto.
1079 * gdb.asm/Makefile.in: Ditto.
1080 * gdb.base/Makefile.in: Ditto.
1081 * gdb.cp/Makefile.in: Ditto.
1082 * gdb.dwarf2/Makefile.in: Ditto.
1083 * gdb.java/Makefile.in: Ditto.
1084 * gdb.mi/Makefile.in: Ditto.
1085 * gdb.modula2/Makefile.in: Ditto.
1086 * gdb.python/Makefile.in: Ditto.
1087 * gdb.server/Makefile.in: Ditto.
1088 * gdb.stabs/Makefile.in: Ditto.
1089 * gdb.threads/Makefile.in: Ditto.
1090 * gdb.trace/Makefile.in: Ditto.
1091
1092 2011-02-22 Michael Snyder <msnyder@vmware.com>
1093
1094 * gdb.threads/thread-find.exp: Add tests for bad input to
1095 info threads.
1096
1097 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1098
1099 * gdb.python/py-breakpoint.exp: Fix the expected output of
1100 one of the "maint info breakpoints" tests to accept the output
1101 generated on platforms that do not have hardware watchpoints.
1102
1103 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1104
1105 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1106 clean_restart. Be a little stricter in the expected output
1107 for one of the tests. Fix a typo in one of the comments.
1108
1109 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1110
1111 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1112 Delete variable binfile, no longer use. Add or modify test
1113 comments to make them unique.
1114
1115 2011-02-21 Michael Snyder <msnyder@vmware.com>
1116
1117 * Makefile.in: Update for make clean.
1118 * gdb.ada/Makefile.in: Ditto.
1119 * gdb.arch/Makefile.in: Ditto.
1120 * gdb.asm/Makefile.in: Ditto.
1121 * gdb.base/Makefile.in: Ditto.
1122 * gdb.cp/Makefile.in: Ditto.
1123 * gdb.dwarf2/Makefile.in: Ditto.
1124 * gdb.java/Makefile.in: Ditto.
1125 * gdb.mi/Makefile.in: Ditto.
1126 * gdb.modula2/Makefile.in: Ditto.
1127 * gdb.python/Makefile.in: Ditto.
1128 * gdb.server/Makefile.in: Ditto.
1129 * gdb.stabs/Makefile.in: Ditto.
1130 * gdb.threads/Makefile.in: Ditto.
1131 * gdb.trace/Makefile.in: Ditto.
1132
1133 2011-02-21 Michael Snyder <msnyder@vmware.com>
1134
1135 * gdb.threads/thread-find.exp: Update patterns for changes in
1136 output of "info threads" command.
1137
1138 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1139 Ulrich Weigand <uweigand@de.ibm.com>
1140
1141 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1142 (skip_hw_watchpoint_tests): Likewise.
1143 (skip_hw_watchpoint_multi_tests): Likewise.
1144
1145 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1146
1147 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1148 (skip_hw_watchpoint_tests): Likewise.
1149 (skip_hw_watchpoint_multi_tests): Likewise.
1150 (skip_hw_watchpoint_access_tests): Likewise.
1151
1152 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1153 * gdb.base/pr11022.exp: Likewise.
1154 * gdb.base/watch-read.exp: Likewise.
1155 * gdb.base/watch_thread_num.exp: Likewise.
1156 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1157 * gdb.base/watchpoint-hw.exp: Likewise.
1158 * gdb.base/watchpoint.exp: Likewise.
1159 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1160 * gdb.threads/watchthreads-reorder.exp: Likewise.
1161 * gdb.threads/watchthreads.exp: Likewise.
1162 * gdb.threads/watchthreads2.exp: Likewise.
1163
1164 2011-02-21 Joel Brobecker <brobecker@adacore.com>
1165
1166 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1167 the debugger is unable to find the array bounds.
1168
1169 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1170
1171 * gdb.cp/typedef-operator.exp: New file.
1172 * gdb.cp/typedef-operator.cc: New file.
1173
1174 2011-02-17 Michael Snyder <msnyder@vmware.com>
1175
1176 * gdb.threads/thread-find.exp: Fix regular expressions.
1177
1178 2011-02-17 Joel Brobecker <brobecker@adacore.com>
1179
1180 * gdb.ada/packed_array: Expand testcase to test printing of
1181 unconstrained packed array.
1182
1183 2011-02-17 Joel Brobecker <brobecker@adacore.com>
1184
1185 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1186
1187 2011-02-16 Pedro Alves <pedro@codesourcery.com>
1188
1189 * gdb.trace/collection.c (globalarr3): New global.
1190 (main): Initialize it before collecting, and and clear it
1191 afterwards.
1192 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1193 collecting with '{type} addr', where the addr expression is not an
1194 rvalue.
1195
1196 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
1197
1198 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1199 a bool variable. Expect correct OpenCL names for vector types. Use the
1200 uc3 variable name instead of referring to the uchar3 built-in type.
1201 Escape the asterisk at the half pointer test.
1202
1203 2011-02-16 Pedro Alves <pedro@codesourcery.com>
1204
1205 * gdb.trace/collection.c (globalarr2): New global.
1206 (main): Initialize it before collecting, and and clear it
1207 afterwards.
1208 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1209 collecting overlapping memory ranges.
1210
1211 2011-02-15 Michael Snyder <msnyder@vmware.com>
1212
1213 * gdb.base/default.exp: Add tests for thread commands.
1214 * gdb.base/help.exp: Add tests for thread commands.
1215 * gdb.threads/thread-find.exp: New test for thread find command.
1216
1217 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
1218
1219 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1220
1221 2011-02-15 Yao Qi <yao@codesourcery.com>
1222
1223 PR tdep/12352
1224 * gdb.arch/arm-disp-step.S : New test for str instruction.
1225 * gdb.arch/arm-disp-step.exp : Likewise.
1226
1227 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1228
1229 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1230 "vector_register2_vr" test strings. Test the extended floating
1231 point registers (F32~F63).
1232 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1233 IBM XL C compiler. Make the test program use a register provided
1234 by the compiler for the lxvd2x instruction.
1235
1236 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1237
1238 * gdb.trace/unavailable.cc (class Base, class Middle, class
1239 Derived): New types.
1240 (derived_unavail, derived_partial, derived_whole): New globals.
1241 (virtual_partial): New global.
1242 (virtualp): Point at virtual_partial.
1243 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1244 related to unavailable vptr.
1245
1246 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1247
1248 * gdb.trace/unavailable.cc (a, b, c): New globals.
1249 (main): Set and clear them.
1250 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1251 `a' and `c', and check that `b' isn't collected, although `a' and
1252 `c' are.
1253
1254 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1255
1256 * gdb.trace/unavailable.cc (struct Virtual): New.
1257 (virtualp): New global pointer.
1258 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1259 printing a pointer to an object whose type has a vtable, with
1260 print object on.
1261
1262 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1263
1264 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1265 value repeat handles unavailableness.
1266
1267 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1268
1269 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1270 tests for building arrays from unavailable values, subscripting
1271 non-memory rvalue unvailable arrays, and accessing fields or
1272 baseclasses of non-lazy unavailable values,
1273 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1274 struct types.
1275 (g_smallstruct, g_smallstruct_b): New globals.
1276
1277 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1278
1279 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1280
1281 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1282
1283 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1284 * gdb.cp/overload-const.exp: New file.
1285 * gdb.cp/overload-const.cc: New file.
1286
1287 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1288
1289 * gdb.opencl/callfuncs.cl: New file.
1290 * gdb.opencl/callfuncs.exp: New test.
1291 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1292
1293 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1294
1295 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1296 when computing result.
1297 * gdb.arch/altivec-abi.exp: Update expected results.
1298
1299 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1300
1301 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1302 * gdb.base/jit.exp: Likewise.
1303 * gdb.base/pie-execl.exp: Likewise.
1304 * gdb.base/solib-nodir.exp: Likewise.
1305 * gdb.base/solib-overlap.exp: Likewise.
1306
1307 2011-02-07 Pedro Alves <pedro@codesourcery.com>
1308
1309 * gdb.trace/collection.c (global_pieces): New.
1310 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1311 New procedure.
1312 (gdb_trace_collection_test): Call it.
1313
1314 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1315
1316 * gdb.python/py-evthreads.c: New file.
1317 * gdb.python/py-evthreads.exp: New file.
1318 * gdb.python/py-events.py: New file.
1319 * gdb.python/py-events.exp: New file.
1320 * gdb.python/py-events.c: New file.
1321
1322 2011-02-04 David Daney <ddaney@caviumnetworks.com>
1323
1324 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1325
1326 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
1327
1328 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1329 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1330 boundary between two compilation units.
1331
1332 2011-02-02 Pedro Alves <pedro@codesourcery.com>
1333
1334 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1335 (Virtual): New structs.
1336 (virtual_o, virtual_middle_b): New globals.
1337 * gdb.cp/virtbase.exp: New tests.
1338
1339 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1340
1341 * gdb.base/jit.exp: New file.
1342 * gdb.base/jit-main.c: New file.
1343 * gdb.base/jit-solib.c: New file.
1344
1345 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1346
1347 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1348 proceed to initial kernel entry point.
1349 * gdb.opencl/datatypes.exp: Likewise.
1350 * gdb.opencl/operators.exp: Likewise.
1351 * gdb.opencl/vec_comps.exp: Likewise.
1352
1353 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1354
1355 * gdb.cp/nsnested.cc: New.
1356 * gdb.cp/nsnested.exp: New.
1357 * gdb.cp/nsnoimports.exp: New.
1358 * gdb.cp/nsnoimports.cc: New.
1359
1360 2011-01-31 Joel Brobecker <brobecker@adacore.com>
1361
1362 * gdb.base/interact.exp: Add extra tests that verify that
1363 the value of the interactive-mode setting does not change
1364 after the script is sourced.
1365
1366 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1367
1368 * gdb.cp/noparam.exp: New file.
1369 * gdb.cp/noparam.cc: New file.
1370
1371 2011-01-28 Pedro Alves <pedro@codesourcery.com>
1372
1373 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1374 there's no stack or registers.
1375
1376 2011-01-26 Tom Tromey <tromey@redhat.com>
1377
1378 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1379 space before string output. Add test for "set print pretty off"
1380 case.
1381
1382 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1383
1384 * gdb.base/frame-args.exp: Adjust.
1385 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1386 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1387 * gdb.dwarf2/pieces.exp: Adjust.
1388 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1389 * gdb.opt/inline-locals.exp: Adjust.
1390 * gdb.threads/fork-child-threads.exp: Adjust.
1391
1392 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
1393
1394 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1395 OpenCL kernel function. Add a comment as marker. Add address space
1396 qualifiers for the remaining program scope variables.
1397 * gdb.opencl/datatypes.cl: Likewise.
1398 * gdb.opencl/operators.cl: Likewise.
1399 * gdb.opencl/vec_comps.cl: Likewise.
1400 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1401 Add breakpoint at the marker comment.
1402 * gdb.opencl/datatypes.exp: Likewise.
1403 * gdb.opencl/operators.exp: Likewise.
1404 * gdb.opencl/vec_comps.exp: Likewise.
1405
1406 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1407
1408 * gdb.base/printcmds.c (some_struct): New struct and instance.
1409 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1410 procedure.
1411 <global scope>: Call it.
1412
1413 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
1414
1415 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1416 argument to the gdb_compile_opencl_hostapp call.
1417
1418 2011-01-19 Yao Qi <yao@codesourcery.com>
1419
1420 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1421 positve list.
1422
1423 2011-01-19 Yao Qi <yao@codesourcery.com>
1424
1425 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1426 canonical form.
1427 Remove "xscale-*-*"
1428 * gdb.xml/tdesc-regs.exp: Likewise.
1429 * gdb.python/py-section-script.exp: Replace ARM target triplet
1430 with canonical form.
1431 Match arm*-*-symbianelf*.
1432 * gdb.base/dup-sect.exp: Likewise.
1433 * lib/dwarf.exp: New.
1434 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1435 dwarf2_support.
1436 * gdb.dwarf2/dup-psym.exp: Likewise.
1437 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1438 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1439 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1440 * gdb.dwarf2/dw2-basic.exp: Likewise.
1441 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1442 * gdb.dwarf2/dw2-const.exp: Likewise.
1443 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1444 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1445 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1446 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1447 * gdb.dwarf2/dw2-filename.exp: Likewise.
1448 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1449 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1450 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1451 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1452 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1453 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1454 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1455 * gdb.dwarf2/dw2-producer.exp: Likewise.
1456 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1457 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1458 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1459 * gdb.dwarf2/dw2-strp.exp: Likewise.
1460 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1461 * gdb.dwarf2/implptr.exp: Likewise.
1462 * gdb.dwarf2/mac-fileno.exp: Likewise.
1463 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1464 * gdb.dwarf2/pieces.exp: Likewise.
1465 * gdb.dwarf2/pr11465.exp: Likewise.
1466 * gdb.dwarf2/valop.exp: Likewise.
1467 * gdb.dwarf2/watch-notconst.exp: Likewise.
1468 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1469
1470 2011-01-19 Tom Tromey <tromey@redhat.com>
1471
1472 * gdb.python/py-infthread.exp: Add thread tests.
1473
1474 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1475
1476 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1477
1478 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1479
1480 * gdb.ada/widewide: New testcase.
1481
1482 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1483
1484 * gdb.base/interact.exp: New testcase.
1485
1486 2011-01-12 Tom Tromey <tromey@redhat.com>
1487
1488 * gdb.mi/gdb2549.exp: Update for error message changes.
1489 * gdb.mi/mi-cli.exp: Likewise.
1490 * gdb.mi/mi-disassemble.exp: Likewise.
1491 * gdb.mi/mi-pthreads.exp: Likewise.
1492 * gdb.mi/mi-regs.exp: Likewise.
1493 * gdb.mi/mi-stack.exp: Likewise.
1494 * gdb.mi/mi-var-block.exp: Likewise.
1495 * gdb.mi/mi-var-cmd.exp: Likewise.
1496 * gdb.mi/mi2-cli.exp: Likewise.
1497 * gdb.mi/mi2-disassemble.exp: Likewise.
1498 * gdb.mi/mi2-pthreads.exp: Likewise.
1499 * gdb.mi/mi2-regs.exp: Likewise.
1500 * gdb.mi/mi2-stack.exp: Likewise.
1501 * gdb.mi/mi2-var-block.exp: Likewise.
1502 * gdb.mi/mi2-var-cmd.exp: Likewise.
1503
1504 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1505 Jan Kratochvil <jan.kratochvil@redhat.com>
1506
1507 PR fortran/11104 and DWARF unbound arrays detection.
1508 * gdb.fortran/multi-dim.exp: New file.
1509 * gdb.fortran/multi-dim.f90: New file.
1510
1511 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1512
1513 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1514 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1515 add new tests for opcode dumping.
1516
1517 2011-01-11 Tom Tromey <tromey@redhat.com>
1518
1519 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1520
1521 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1522
1523 Convert hardware watchpoints to use breakpoint_ops.
1524 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1525 type is not supported.
1526 * gdb.base/foll-fork.exp: Likewise.
1527 * gdb.base/foll-vfork.exp: Likewise.
1528
1529 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1530
1531 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1532 Use load_lib gdb-python.exp.
1533 * gdb.python/python.exp: Ditto.
1534 * gdb.python/py-function.exp: Ditto.
1535
1536 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1537
1538 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1539
1540 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1541
1542 * configure: Regenerate.
1543
1544 2011-01-06 Tom Tromey <tromey@redhat.com>
1545
1546 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1547
1548 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1549
1550 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1551 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1552 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1553 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1554 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1555 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1556 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1557 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1558 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1559 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1560 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1561 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1562 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1563 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1564 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1565 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1566 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1567 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1568 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1569 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1570 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1571 gdb.ada/uninitialized_vars.exp,
1572 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1573 Simplify by using clean_restart.
1574
1575 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1576
1577 Add marker to be used as anchor for inserting breakpoints.
1578 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1579 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1580 Likewise.
1581
1582 Remove uses of gdb_start_cmd.
1583 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1584 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1585
1586 Do not run testcase if testing with GDBserver.
1587 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1588 if testing with GDBserver.
1589
1590 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1591
1592 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1593 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1594 copyright header.
1595
1596 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1597
1598 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1599 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1600 testsuite/gdb.fortran/complex.f,
1601 testsuite/gdb.fortran/derived-type.f90,
1602 testsuite/gdb.fortran/library-module-lib.f90,
1603 testsuite/gdb.fortran/library-module-main.f90,
1604 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1605 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1606 Copyright year update.
1607
1608 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1609
1610 * gdb.base/langs1.f: Add copyright header.
1611
1612 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1613
1614 * gdb.base/morestack.exp: New file.
1615 * gdb.base/morestack.c: New file.
1616
1617 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1618
1619 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1620
1621 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1622
1623 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1624 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1625
1626 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1627
1628 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1629
1630 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1631
1632 * gdb.threads/tls.exp: Fix typo.
1633
1634 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1635 * gdb.threads/execl.exp: Update.
1636
1637 2010-12-23 Yao Qi <yao@codesourcery.com>
1638
1639 * gdb.arch/arm-disp-step.exp: New.
1640 * gdb.arch/arm-disp-step.S: New.
1641
1642 2010-12-21 Tom Tromey <tromey@redhat.com>
1643
1644 * gdb.threads/execl.exp: Update.
1645 * gdb.threads/linux-dp.exp: Update.
1646 * gdb.threads/manythreads.exp: Update.
1647 * gdb.threads/tls.exp: Update.
1648
1649 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1650
1651 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1652 (NextOverThrowDerivates) <resumebpt>: New.
1653 (resumebpt_test): New.
1654 (main): Call resumebpt_test.
1655 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1656
1657 2010-12-12 Stan Shebs <stan@codesourcery.com>
1658
1659 * gdb.trace/tsv.exp: Test print command on trace state variables.
1660
1661 2010-12-09 Tom Tromey <tromey@redhat.com>
1662
1663 * gdb.base/interp.exp: Add regression test.
1664
1665 2010-12-09 Tom Tromey <tromey@redhat.com>
1666
1667 * gdb.java/jnpe.java: New file.
1668 * gdb.java/jnpe.exp: New file.
1669 * gdb.cp/nextoverthrow.exp: New file.
1670 * gdb.cp/nextoverthrow.cc: New file.
1671
1672 2010-12-07 Doug Evans <dje@google.com>
1673
1674 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1675 of data-directory.
1676 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1677 updated.
1678 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1679
1680 2010-11-29 Michael Snyder <msnyder@vmware.com>
1681
1682 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1683 * gdb.base/call-sc.exp: Ditto.
1684 * gdb.base/finish.exp: Ditto.
1685 * gdb.base/return.exp: Ditto.
1686 * gdb.base/return2.exp: Ditto.
1687
1688 2010-11-30 Doug Evans <dje@google.com>
1689
1690 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1691 (gdb_expect_list): Fix spelling errors in comments.
1692 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1693 send_gdb/gdb_expect_list where applicable.
1694 * gdb.base/call-ar-st.exp: Ditto.
1695 * gdb.base/funcargs.exp: Ditto.
1696 * gdb.base/gcore.exp: Ditto.
1697 * gdb.base/page.exp: Ditto.
1698 * gdb.base/sigaltstack.exp: Ditto.
1699 * gdb.base/siginfo.exp: Ditto.
1700 * gdb.base/sigstep.exp: Ditto.
1701 * gdb.base/trace-commands.exp: Ditto.
1702
1703 2010-11-29 Doug Evans <dje@google.com>
1704
1705 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1706 printer-name;subprinter-name.
1707
1708 2010-11-29 Tom Tromey <tromey@redhat.com>
1709
1710 * gdb.dwarf2/implptr.exp: New file.
1711 * gdb.dwarf2/implptr.c: New file.
1712 * gdb.dwarf2/implptr.S: New file.
1713
1714 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1715
1716 PR python/12199
1717
1718 * gdb.python/py-breakpoint.exp: Test the delete method.
1719
1720 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1721
1722 Fix step_resume_breakpoint unsaved during an infcall.
1723 * gdb.base/step-resume-infcall.exp: New file.
1724 * gdb.base/step-resume-infcall.c: New file.
1725
1726 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1727
1728 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1729
1730 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1731
1732 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1733 on ppc64's symbols; "finish" and "return" commands must accept to
1734 show the caller line again as well as the line after.
1735 * gdb.asm/powerpc64.inc: New file.
1736
1737 2010-11-23 Doug Evans <dje@google.com>
1738
1739 * lib/gdb.exp (gdb_test_sequence): New function.
1740 (gdb_expect_list): Add verbose -log call for each pattern.
1741 * gdb.base/signals.exp (test_handle_all_print): Call it.
1742 Reduce timeout increment from 6 minutes to 1 minute.
1743 * gdb.server/ext-run.exp: Call it.
1744
1745 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1746
1747 PR python/12212
1748
1749 * gdb.python/python.exp: Check that selected_thread raises an
1750 error when no inferior is loaded.
1751
1752 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1753
1754 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1755 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1756
1757 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1758
1759 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1760 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1761
1762 2010-11-18 Doug Evans <dje@google.com>
1763
1764 * gdb.server/ext-run.exp: Fix intermittent failures.
1765
1766 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1767
1768 * gdb.stabs/gdb11479.exp: Use runto_main.
1769
1770 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1771
1772 * gdb.base/break-entry.exp: Skip if using a stub.
1773
1774 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1775
1776 * gdb.python/py-inferior.exp: Pack values in target endianness.
1777
1778 2010-11-12 Tom Tromey <tromey@redhat.com>
1779
1780 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1781 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1782 MemoryError.
1783 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1784 type.
1785 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1786 MemoryError.
1787 (test_subscript_regression): Update exception type.
1788
1789 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1790
1791 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1792 breakpoint tests.
1793
1794 2010-11-09 Pedro Alves <pedro@codesourcery.com>
1795
1796 * gdb.base/watchpoint.exp: Test "watch -location" with an
1797 innacessible location.
1798
1799 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
1800 Luis Machado <luisgpm@br.ibm.com>
1801
1802 * gdb.base/maint.exp: Expect "." prefix.
1803 * gdb.base/nodebug.exp: Expect "." Likewise.
1804 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1805 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1806 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1807 POWER server processors.
1808
1809 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
1810 Luis Machado <luisgpm@br.ibm.com>
1811
1812 * gdb.base/break-entry.exp: convert entry point for
1813 ppc64 and expect leading `.' on ppc64's symbols
1814
1815 2010-11-05 Doug Evans <dje@google.com>
1816
1817 * gdb.base/help.exp: Update expected output.
1818 * gdb.python/py-param.exp: Delete, contents moved to ...
1819 * gdb.python/py-parameter.exp: ... here. New file.
1820 Add test for gdb.parameter ("directories").
1821
1822 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
1823
1824 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1825 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1826 * configure: Regenerate.
1827 * gdb.opencl/Makefile.in: New File.
1828 * gdb.opencl/datatypes.exp: Likewise.
1829 * gdb.opencl/datatypes.cl: Likewise.
1830 * gdb.opencl/operators.exp: Likewise.
1831 * gdb.opencl/operators.cl: Likewise.
1832 * gdb.opencl/vec_comps.exp: Likewise.
1833 * gdb.opencl/vec_comps.cl: Likewise.
1834 * gdb.opencl/convs_casts.exp: Likewise.
1835 * gdb.opencl/convs_casts.cl: Likewise.
1836 * lib/opencl.exp: Likewise.
1837 * lib/opencl_hostapp.c: Likewise.
1838 * lib/opencl_kernel.cl: Likewise.
1839 * lib/cl_util.c: Likewise.
1840 * lib/cl_util.c: Likewise.
1841 * gdb.base/default.exp (set language): Add "opencl" to the list of
1842 languages.
1843
1844 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1845
1846 * gdb.cp/overload.exp: Added test for inheritance overload.
1847 * gdb.cp/overload.cc: Ditto.
1848 * gdb.cp/oranking.exp: Removed releveant kfails.
1849
1850 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1851 Joel Brobecker <brobecker@adacore.com>
1852
1853 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1854 check test_compiler_info.
1855
1856 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1857
1858 * gdb.base/gnu_vector.exp: Adjust expect messages.
1859
1860 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1861
1862 * gdb.base/gnu_vector.exp: Add unary operator tests.
1863
1864 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1865
1866 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1867
1868 2010-11-02 Doug Evans <dje@google.com>
1869
1870 * gdb.python/py-pp-maint.c: New file.
1871 * gdb.python/py-pp-maint.exp: New file.
1872 * gdb.python/py-pp-maint.py: New file.
1873
1874 2010-11-02 Tom Tromey <tromey@redhat.com>
1875
1876 * gdb.base/default.exp: Remove "scheme" from language list.
1877
1878 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1879
1880 Revert:
1881 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1882 * gdb.threads/sigstep-threads.exp: New file.
1883 * gdb.threads/sigstep-threads.c: New file.
1884
1885 2010-10-20 Michael Snyder <msnyder@vmware.com>
1886
1887 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1888
1889 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1890
1891 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1892 Skip test completely if gdb,no_hardware_watchpoints.
1893
1894 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1895
1896 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1897 strict, but do not check for any particular function name within libc.
1898
1899 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1900
1901 * gdb.cp/smartp.exp: New test.
1902 * gdb.cp/smartp.cc : New test.
1903
1904 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1905
1906 * gdb.cp/converts.exp: Test pointer to bool conversion.
1907 Test pointer to long conversion.
1908 * gdb.cp/oranking.exp: Removed relevant kfail.
1909
1910 2010-10-18 Tom Tromey <tromey@redhat.com>
1911
1912 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1913 argument to lazy_string.
1914 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1915 (pp_ls.to_string): Use it.
1916 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1917 Add "estring2" local.
1918
1919 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1920
1921 Fix s390x compatibility.
1922 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1923 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1924
1925 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1926
1927 * gdb.threads/sigstep-threads.exp: New file.
1928 * gdb.threads/sigstep-threads.c: New file.
1929
1930 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 * gdb.base/pie-execl.exp: New file.
1933 * gdb.base/pie-execl.c: New file.
1934
1935 2010-10-13 Doug Evans <dje@google.com>
1936 Jan Kratochvil <jan.kratochvil@redhat.com>
1937
1938 PR exp/12117
1939 * gdb.cp/ptype-cv-cp.cc: New file.
1940 * gdb.cp/ptype-cv-cp.exp: New file.
1941
1942 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1943
1944 * gdb.cp/converts.cc: New test program.
1945 * gdb.cp/converts.exp: New test.
1946 * gdb.cp/overload.exp: Added test for void* vs int*.
1947 * gdb.cp/overload.exp: Ditto.
1948 * gdb.cp/oranking.exp: Removed related kfail.
1949
1950 2010-10-13 Doug Evans <dje@google.com>
1951
1952 * lib/gdb-python.exp (gdb_check_python_config): New function.
1953 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1954 * gdb.python/lib-types.cc: New file.
1955 * gdb.python/lib-types.exp: New file.
1956
1957 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1958
1959 * gdb.python/py-error.exp: New file.
1960 * gdb.python/py-error.py: New file.
1961
1962 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1963
1964 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1965 gdb_test_multiple.
1966
1967 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1968
1969 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1970 * gdb.base/prelink.exp: Likewise.
1971 * gdb.base/solib-nodir.exp: Likewise.
1972 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1973 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1974 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1975
1976 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1977
1978 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1979 for the "info files" test to avoid timeouts on slow machines.
1980
1981 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1982
1983 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1984 (main): Make openlib dummy call.
1985
1986 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1987
1988 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1989 * break-interp.exp (reach): Move the core body ...
1990 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1991 (test_ld): Provide always real argument, even to the linker. Replace
1992 dl_main by _dl_debug_state.
1993
1994 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1995
1996 Fix results of prelinked PIEs on ppc*.
1997 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1998 Accept also DISPLACEMENT "PRESENT".
1999 (main): Replace "ZERO" displacements by "PRESENT".
2000
2001 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2002
2003 * gdb.cp/oranking.exp: New test.
2004 * gdb.cp/oranking.cc: New test program.
2005
2006 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
2007
2008 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2009 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2010
2011 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
2012
2013 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2014 lush, lynx) New constant.
2015 * gdb.base/constvars.exp: Test const array types.
2016 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2017
2018 2010-10-06 Doug Evans <dje@google.com>
2019
2020 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2021 of syscall staging area.
2022
2023 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
2024
2025 * gdb.base/gnu_vector.c: Add variable c4.
2026 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2027 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2028
2029 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2030
2031 * gdb.arch/altivec-abi.exp: Fix a typo.
2032
2033 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2034
2035 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2036 to match a thread ID.
2037
2038 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2039
2040 Fix s390x testcase compatibility.
2041 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2042
2043 2010-10-01 Doug Evans <dje@google.com>
2044
2045 * lib/gdb-python.exp: New file.
2046 * gdb.python/py-block.exp: Use it.
2047 * gdb.python/py-breakpoint.exp: Ditto.
2048 * gdb.python/py-frame.exp: Ditto.
2049 * gdb.python/py-inferior.exp: Ditto.
2050 * gdb.python/py-param.exp: Ditto.
2051 * gdb.python/py-prettyprint.exp: Ditto.
2052 * gdb.python/py-shared.exp: Ditto.
2053 * gdb.python/py-symbol.exp: Ditto.
2054 * gdb.python/py-symtab.exp: Ditto.
2055 * gdb.python/py-type.exp: Ditto.
2056 * gdb.python/py-value.exp: Ditto.
2057 * gdb.python/python.exp: Ditto.
2058
2059 2010-09-30 Tom Tromey <tromey@redhat.com>
2060
2061 * gdb.base/anon.exp: New file.
2062 * gdb.base/anon.c: New file.
2063
2064 2010-09-30 Tom Tromey <tromey@redhat.com>
2065
2066 * gdb.base/completion.exp: Test completion through anonymous
2067 union.
2068 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2069
2070 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2071
2072 Fix printing parameters of inlined functions.
2073 * gdb.dwarf2/dw2-inline-param.exp: New file.
2074 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2075 * gdb.dwarf2/dw2-inline-param.S: New file.
2076
2077 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2078
2079 PR corefiles/12071.
2080 * gdb.base/corefile.exp (quit with a process, no question: load core)
2081 (quit with a core file): New tests.
2082
2083 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2084
2085 Fix GDB crash on inferior calls with self-referencing classes.
2086 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2087 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2088 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2089
2090 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2091
2092 Fix lost siginfo_t for inferior calls.
2093 * gdb.base/siginfo-infcall.exp: New file.
2094 * gdb.base/siginfo-infcall.c: New file.
2095
2096 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2097
2098 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2099
2100 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2101
2102 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2103 New test.
2104 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2105
2106 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2107
2108 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2109 type of our const type.
2110
2111 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2112
2113 * gdb.cp/pr12028.cc: New.
2114 * gdb.cp/pr12028.exp: New.
2115
2116 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2117
2118 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2119
2120 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
2121 Jan Kratochvil <jan.kratochvil@redhat.com>
2122
2123 PR mi/11407
2124 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2125 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2126 * gdb.mi/dw2-ref-missing-frame.S New File.
2127 * gdb.mi/dw2-ref-missing-frame.exp New File.
2128
2129 2010-09-14 Tom Tromey <tromey@redhat.com>
2130
2131 PR symtab/8399:
2132 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2133
2134 2010-09-14 Tom Tromey <tromey@redhat.com>
2135
2136 PR exp/11803:
2137 * gdb.threads/tls.exp: Use C++.
2138 (check_thread_local): Use K::another_thread_local.
2139 * gdb.threads/tls.c (class K): New.
2140 (another_thread_local): Now a member of K.
2141 (spin): Update. No longer K&R C.
2142
2143 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2144
2145 * gdb.cp/koenig.cc: created class for testing member lookup.
2146 * gdb.cp/koenig.exp: Added test for member lookup.
2147
2148 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2149
2150 Fix false FAILs on sourcetree topdir directory containing "kill".
2151 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2152 source line matching regexp.
2153
2154 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2155
2156 * gdb.python/python.exp (set height 0, collect help from uiout)
2157 (verify help to uiout): New tests.
2158
2159 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2160
2161 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2162 is_lp64_target to check 64bit target.
2163
2164 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2165
2166 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2167 (test_ld) <powerpc64-*>: New.
2168
2169 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2170
2171 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2172
2173 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2174
2175 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2176 (FunctionArg::method): New function.
2177 (empty, arg): New variables.
2178 (main): Call arg.method.
2179 * gdb.cp/templates.exp (test_template_args): New function.
2180 (do_tests): Call it.
2181
2182 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2183
2184 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2185 of "next" to proceed over pthread_exit call.
2186
2187 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2188
2189 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2190 "maint print statistics" output to prevent expect timeouts.
2191
2192 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2193
2194 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2195 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2196 (test_float_rejected): ... here.
2197 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2198 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2199 (test_float_rejected): ... here.
2200 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2201 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2202 (test_float_rejected): ... here.
2203 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2204 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2205 (test_float_rejected): ... here.
2206
2207 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2208
2209 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2210 before disabling hardware watchpoints.
2211 (test_inaccessible_watchpoint): Check that hardware watchpoints
2212 are used. Test for watchpoints on a constant address.
2213
2214 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2215
2216 * gdb.base/ui-redirect.exp: New file.
2217
2218 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2219 Joel Brobecker <brobecker@adacore.com>
2220
2221 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2222
2223 2010-08-31 Doug Evans <dje@google.com>
2224
2225 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2226
2227 2010-08-30 Tom Tromey <tromey@redhat.com>
2228
2229 PR python/11792:
2230 * gdb.python/py-value.exp (test_subscript_regression): Add
2231 dynamic_type test.
2232
2233 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2234
2235 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2236 instead of running to main. Do not test the main function.
2237 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2238 Add new main.
2239
2240 2010-08-26 Pedro Alves <pedro@codesourcery.com>
2241
2242 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2243 one test.
2244
2245 2010-08-24 Doug Evans <dje@google.com>
2246
2247 PR symtab/11942
2248 * gdb.dwarf2/dw4-sig-types.cc: New file.
2249 * gdb.dwarf2/dw4-sig-types.h: New file.
2250 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2251 * gdb.dwarf2/dw4-sig-types.exp: New file.
2252
2253 2010-08-23 Tom Tromey <tromey@redhat.com>
2254
2255 PR python/11145:
2256 * gdb.python/py-value.c (Base, Derived): New types.
2257 (base): New global.
2258 * gdb.python/py-value.exp (test_subscript_regression): Add
2259 dynamic_cast test.
2260
2261 2010-08-23 Tom Tromey <tromey@redhat.com>
2262
2263 PR python/10676:
2264 * gdb.python/py-type.exp (test_fields): Add tests for type
2265 equality.
2266
2267 2010-08-23 Tom Tromey <tromey@redhat.com>
2268
2269 PR python/11915:
2270 * gdb.python/py-type.exp (test_fields): Add tests for array.
2271
2272 2010-08-23 Keith Seitz <keiths@redhat.com>
2273
2274 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2275 have any children. Create a new abbrev for it.
2276 Add missing terminal sequence to .debug_abbrev.
2277
2278 2010-08-20 Keith Seitz <keiths@redhat.com>
2279
2280 PR symtab/11465:
2281 * gdb.dwarf2/pr11465.exp: New test.
2282 * gdb.dwarf2/pr11465.S: New file.
2283 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2284 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2285
2286 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2287
2288 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2289 registers. Update data sets with the new v2_double element in the
2290 VSX register union. Add vector_register3_vr data set for the AltiVec
2291 registers. Use gdb_test_no_output instead of send_gdb.
2292
2293 2010-08-19 Pedro Alves <pedro@codesourcery.com>
2294
2295 * gdb.python/py-shared.exp: New file, factored out from
2296 python.exp.
2297 * gdb.python/py-shared.c: New file.
2298 * gdb.python/py-shared-sl.c: New file.
2299 * gdb.python/python-1.c: New file.
2300 * gdb.python/python-sl.c: Delete.
2301 * gdb.python/python.c: Mention python-1.c.
2302 * gdb.python/python.exp: Move shared library tests to
2303 py-shared.exp.
2304 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2305 (MISCELLANEOUS): New.
2306 (clean mostlyclean): Also remove $MISCELLANEOUS.
2307
2308 2010-08-19 Doug Evans <dje@google.com>
2309
2310 PR exp/11926
2311 * gdb.base/printcmds.exp (test_float_accepted): New function.
2312 Move existing float tests there. Add tests for floats with suffixes.
2313 (test_float_rejected): New function.
2314 * gdb.java/jv-print.exp (test_float_accepted): New function.
2315 (test_float_rejected): New function.
2316 * gdb.objc/print.exp: New file.
2317 * gdb.pascal/print.exp: New file.
2318 * lib/objc.exp: New file.
2319
2320 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2321
2322 * gdb.base/default.exp (info set): Avoid full buffer error and force
2323 reading up to final gdb prompt.
2324 (show): Likewise.
2325
2326 2010-08-18 Tom Tromey <tromey@redhat.com>
2327
2328 PR symtab/11919:
2329 * gdb.base/completion.exp: Add test.
2330
2331 2010-08-18 Doug Evans <dje@google.com>
2332
2333 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2334 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2335 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2336 Simplify, early exit if runto_main fails.
2337 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2338 (set_lang_fortran): Moved to lib/fortran.exp.
2339 * gdb.fortran/types.exp: load_lib fortran.exp.
2340 (set_lang_fortran): Moved to lib/fortran.exp.
2341 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2342 * gdb.java/jprint.exp (set_lang_java): Ditto.
2343 * gdb.java/jv-exp.exp: load_lib java.exp.
2344 If set_lang_java fails, issue a warning instead of failure to be
2345 consistent with other set_lang_foo uses.
2346 (set_lang_java): Moved to lib/java.exp.
2347 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2348 If set_lang_java fails, issue a warning instead of failure to be
2349 consistent with other set_lang_foo uses.
2350 * gdb.pascal/types.exp: load_lib pascal.exp.
2351 (set_lang_pascal): Moved to lib/pascal.exp.
2352 * lib/fortran.exp: New file.
2353 * lib/java.exp (set_lang_java): New function.
2354 * lib/pascal.exp (set_lang_pascal): New function.
2355
2356 2010-08-18 Yao Qi <yao@codesourcery.com
2357
2358 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2359 func_nofb_start and func_loopfb_start, so that address of functions
2360 is equal to these labels on Thumb.
2361
2362 2010-08-18 Yao Qi <yao@codesourcery.com>
2363
2364 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2365 to reflect latest c source file.
2366
2367 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2368
2369 * gdb.cp/infcall-dlopen.exp: New file.
2370 * gdb.cp/infcall-dlopen.cc: New file.
2371 * gdb.cp/infcall-dlopen-lib.cc: New file.
2372
2373 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2374 Pedro Alves <pedro@codesourcery.com>
2375
2376 PR breakpoints/11371
2377
2378 * gdb.base/watch-cond-infcall.exp: New file.
2379 * gdb.base/watch-cond-infcall.c: New file.
2380
2381 2010-08-16 Tom Tromey <tromey@redhat.com>
2382
2383 * gdb.base/help.exp: Update.
2384 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2385 watchpoint.
2386 (test_watch_location): New proc.
2387 (test_watchpoint_in_big_blob): Delete watchpoint.
2388 * gdb.base/watchpoint.c (func5): New function.
2389 (main): Call it.
2390
2391 2010-08-16 Doug Evans <dje@google.com>
2392
2393 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2394
2395 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2396
2397 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2398 tests.
2399
2400 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
2401
2402 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2403 * gdb.base/gnu_vector.c: New File.
2404 * gdb.base/gnu_vector.exp: Likewise.
2405
2406 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2407
2408 * gdb.python/python.c: New File.
2409 * gdb.python/python-sl.c: New File.
2410 * gdb.python/python.exp: Test solib_address and decode_line
2411 * functions.
2412
2413 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2414
2415 * gdb.python/python.exp (show height, set height 10)
2416 (verify pagination beforehand, verify pagination beforehand: q)
2417 (gdb.execute does not page, verify pagination afterwards)
2418 (verify pagination afterwards: q): New.
2419
2420 2010-08-02 Doug Evans <dje@google.com>
2421
2422 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2423 because of an older gcc, change test2
2424 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2425 to unsupported.
2426
2427 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2428
2429 * gdb.base/break-always.exp: Do not expect full paths to file
2430 names.
2431 * gdb.base/commands.exp: Likewise.
2432
2433 2010-07-30 Doug Evans <dje@google.com>
2434
2435 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2436 xfail them when run with older gccs.
2437
2438 * lib/gdb.exp (build_executable): Forward "c++" option to
2439 get_compiler_info.
2440
2441 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2442 "python print ttype.template_argument(1)" and
2443 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2444 if using gcc 4.4 or earlier.
2445
2446 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2447 attach-to-debugger handling.
2448
2449 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2450
2451 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2452 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2453 (main): Use copyreloc.
2454 * gdb.base/prelink.exp (split debug of executable)
2455 (.dynbss vs. .bss address shift): New tests.
2456
2457 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2458
2459 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2460 in gdb_test_multiple.
2461
2462 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2463
2464 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2465 environment.
2466
2467 2010-07-28 Tom Tromey <tromey@redhat.com>
2468
2469 PR python/11060:
2470 * gdb.python/py-type.c (Temargs): New template.
2471 (temvar): New variable.
2472 * gdb.python/py-type.exp (test_template): New proc.
2473
2474 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2475
2476 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2477 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2478
2479 2010-07-28 Tom Tromey <tromey@redhat.com>
2480
2481 PR c++/9946:
2482 * gdb.cp/temargs.exp: New file.
2483 * gdb.cp/temargs.cc: New file.
2484
2485 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2486
2487 * gdb.base/help.exp (help disassemble): Update the content.
2488
2489 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2490
2491 * gdb.threads/ia64-sigill.exp: New file.
2492 * gdb.threads/ia64-sigill.c: New file.
2493
2494 2010-07-27 Tom Tromey <tromey@redhat.com>
2495
2496 * gdb.opt/inline-cmds.c (ATTR): New define.
2497 (func1): Use it.
2498 (func2): Likewise.
2499 (func3): Likewise.
2500 (outer_inline1): Likewise.
2501 (outer_inline2): Likewise.
2502 * gdb.opt/inline-bt.c (ATTR): New define.
2503 (func1): Use it.
2504 (func2): Likewise.
2505 * gdb.opt/inline-locals.c (ATTR): New define.
2506 (func1): Use it.
2507 (func2): Likewise.
2508
2509 2010-07-27 Tom Tromey <tromey@redhat.com>
2510
2511 * gdb.stabs/gdb11479.c (hack): New function.
2512 (test): Use it.
2513 (test2): Use it.
2514 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2515 (int32_search_buf, int64_search_buf): No longer static.
2516 (x): Remove.
2517 * gdb.base/relocate.c (hack): New function.
2518
2519 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2520
2521 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2522 * gdb.python/py-value.c (func1): New function.
2523 (func2): Likewise.
2524
2525 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2526
2527 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2528 as not to clash with .data section.
2529
2530 2010-07-26 Jerome Guitton <guitton@adacore.com>
2531
2532 * gdb.base/code_elim.exp: New file.
2533 * gdb.base/code_elim1.c: New file.
2534 * gdb.base/code_elim2.c: New file.
2535
2536 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2537
2538 PR symtab/11827
2539
2540 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2541 (some_volatile_enum): New variable.
2542 * gdb.base/printcmds.exp (test_print_enums): New.
2543 <top level>: Call it.
2544
2545 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2546
2547 * gdb.cp/fpointer.cc: New test.
2548 * gdb.cp/fpointer.exp: New test.
2549
2550 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2551
2552 * gdb.base/solib-nodir.exp: New file.
2553 * lib/gdb.exp (runto): New case for a GDB internal error.
2554
2555 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2556 Ulrich Weigand <uweigand@de.ibm.com>
2557 Tom Tromey <tromey@redhat.com>
2558
2559 * gdb.base/charset-malloc.c: New file.
2560 * gdb.base/charset.c (malloc_stub): New prototype.
2561 (main): Call it instead of malloc itself.
2562 * gdb.base/charset.exp: Use only prepare_for_testing.
2563 (binfile): Remove the variable.
2564
2565 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2566
2567 Make core files the process_stratum.
2568 * gdb.base/corefile.exp (run: load core again)
2569 (run: sanity check we see the core file, run: with core)
2570 (run: core file is cleared, attach: load core again)
2571 (attach: sanity check we see the core file, attach: with core)
2572 (attach: core file is cleared): New tests.
2573 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2574
2575 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
2576
2577 * gdb.arch/altivec-abi.exp: New tests.
2578
2579 2010-07-13 Tom Tromey <tromey@redhat.com>
2580
2581 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2582 (main): Use it.
2583 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2584
2585 2010-07-13 Tom Tromey <tromey@redhat.com>
2586
2587 * gdb.base/label.exp: New file.
2588 * gdb.base/label.c: New file.
2589
2590 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2591 H.J. Lu <hongjiu.lu@intel.com>
2592
2593 * lib/gdb.exp (is_ilp32_target): New.
2594 (is_lp64_target): Likewise.
2595
2596 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2597 target.
2598 * gdb.arch/amd64-disp-step.exp: Likewise.
2599 * gdb.arch/amd64-dword.exp: Likewise.
2600 * gdb.arch/amd64-i386-address.exp: Likewise.
2601 * gdb.arch/amd64-word.exp: Likewise.
2602
2603 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2604 target.
2605 * gdb.arch/i386-bp_permanent.exp: Likewise.
2606 * gdb.arch/i386-byte.exp: Likewise.
2607 * gdb.arch/i386-disp-step.exp: Likewise.
2608 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2609 * gdb.arch/i386-prologue.exp: Likewise.
2610 * gdb.arch/i386-size-overlap.exp: Likewise.
2611 * gdb.arch/i386-size.exp: Likewise.
2612 * gdb.arch/i386-sse.exp: Likewise.
2613 * gdb.arch/i386-unwind.exp: Likewise.
2614 * gdb.arch/i386-word.exp: Likewise.
2615
2616 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2617 test only when building 64-bit executables. Do not hard-code
2618 -m64 option.
2619
2620 2010-07-07 Doug Evans <dje@google.com>
2621
2622 * lib/gdb.exp (gdb_test_list_exact): New function.
2623 * gdb.base/default.exp (show convenience): Call it, add tests for
2624 $_sdata = void, $_thread = 0.
2625
2626 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2627 Joel Brobecker <brobecker@adacore.com>
2628
2629 Fix re-run of PIE executable, PR shlibs/11776.
2630 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2631 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2632 and re-"run" of the inferior.
2633
2634 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2635 Joel Brobecker <brobecker@adacore.com>
2636
2637 Cope with missing /usr/sbin/prelink.
2638 * lib/prelink-support.exp (prelink_no):
2639 <result == 1 && $output is "no such file or directory">: New.
2640 (prelink_yes): Likewise. Return on failed prelink_no.
2641
2642 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2643 Joel Brobecker <brobecker@adacore.com>
2644
2645 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2646 build_executable by build_executable_own_libs. Replace "prelink -R"
2647 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2648 change.
2649 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2650 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2651 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2652 Replace build_executable by build_executable_own_libs's function
2653 build_executable_own_libs.
2654 (prelinkNO): Create new stub to call prelink_no.
2655 (prelinkYES): Create new stub to call prelink_yes.
2656 (test_attach): Rename calls of copy to file_copy.
2657 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2658 (copy): Move to ...
2659 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2660 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2661 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2662 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2663 special flags by gdb_compile_shlib. Replace second gdb_compile by
2664 build_executable_own_libs. Replace "prelink -R" execution by a call of
2665 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2666 a second call of prelink_yes. Replace restart commands by
2667 clean_restart.
2668 (prelink): Rename to ...
2669 (seen displacement message): ... this test. Extend its expectation
2670 strictness.
2671
2672 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2673
2674 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2675 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2676 displacement message exactly once.
2677
2678 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2679 Joel Brobecker <brobecker@adacore.com>
2680
2681 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2682 its restore after the <$relink_args != ""> loop. new comment.
2683
2684 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2685 Joel Brobecker <brobecker@adacore.com>
2686
2687 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2688 code for it. New variable relink_args.
2689 (prelinkYES): Call prelinkNO.
2690 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2691 in such case. Move the core code to ...
2692 (test_attach_gdb): ... a new function. Send GDB command "file".
2693 Extend expected "Attaching to " string.
2694
2695 2010-07-02 Tom Tromey <tromey@redhat.com>
2696
2697 * gdb.base/bitops.exp: Remove extraneous "pass".
2698
2699 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
2700
2701 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2702
2703 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2704
2705 * gdb.base/help.exp: Adjust expected output.
2706
2707 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2708
2709 * gdb.base/help.exp: Adjust expected output.
2710
2711 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2712
2713 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2714 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2715 c++/11702.
2716
2717 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2718 Doug Evans <dje@google.com>
2719
2720 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2721 add .dynamic entry'.
2722
2723 2010-06-29 Doug Evans <dje@google.com>
2724
2725 Test PR c++/11702.
2726 * gdb.cp/m-static.exp: Add testcase.
2727 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2728
2729 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
2730 Tom Tromey <tromey@redhat.com>
2731 Thiago Jung Bauermann <bauerman@br.ibm.com>
2732
2733 * gdb.python/py-inferior.c: New File.
2734 * gdb.python/py-infthread.c: New File.
2735 * gdb.python/py-inferior.exp: New File.
2736 * gdb.python/py-infthread.exp: New File.
2737
2738 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2739
2740 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2741 (ptype ::C::OtherFileClass typedefs): New.
2742 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2743 (C::OtherFileClass::cOtherFileClassVar2): New.
2744 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2745 cOtherFileClassVar2.
2746 (C::cOtherFileType2, C::cOtherFileVar2): New.
2747 (C::cOtherFileVar_use): use also cOtherFileVar2.
2748 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2749
2750 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2751
2752 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2753 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2754 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2755 (print ::C::cOtherFileVar)
2756 (whatis C::OtherFileClass::cOtherFileClassType)
2757 (whatis ::C::OtherFileClass::cOtherFileClassType)
2758 (print C::OtherFileClass::cOtherFileClassVar)
2759 (print ::cOtherFileClassVar)
2760 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2761 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2762 trailing content.
2763 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2764 (C::OtherFileClass::cOtherFileClassVar)
2765 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2766 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2767
2768 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2769
2770 Test PR c++/11703 and PR gdb/1448.
2771 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2772 gdb/1448.
2773
2774 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2775
2776 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2777 (main) <rtti_data>: New.
2778 * gdb.cp/virtbase.exp (print rtti_data): New.
2779
2780 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2781 Joel Brobecker <brobecker@adacore.com>
2782
2783 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2784
2785 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2786
2787 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2788
2789 2010-06-28 Doug Evans <dje@google.com>
2790
2791 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2792
2793 2010-06-27 Doug Evans <dje@google.com>
2794
2795 * gdb.cp/m-static.exp: Update expected test output.
2796
2797 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2798
2799 * gdb.gdb/selftest.exp: Adjust expected message for
2800 capturing start-up runtime.
2801
2802 2010-06-25 Tom Tromey <tromey@redhat.com>
2803
2804 PR python/10808:
2805 * gdb.python/python.exp: Add new tests.
2806
2807 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2808
2809 * gdb.cp/operator.cc: Created an import loop.
2810 * gdb.cp/operator.exp: Added testcase for import loop.
2811
2812 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2813
2814 Test PR python/11407.
2815 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2816 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2817 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2818 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2819 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2820 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2821 binfile. Call gdb_compile with clean_restart twice.
2822 (func_nofb print, func_nofb backtrace, func_loopfb print)
2823 (func_loopfb backtrace): New.
2824
2825 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2826
2827 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2828 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2829 by a hand made one.
2830 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2831 i?86 requirement. Remove variables srcfile and binfile. New variable
2832 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2833
2834 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2835
2836 * gdb.cell/dwarfaddr.exp: New file.
2837 * gdb.cell/dwarfaddr.S: New file.
2838
2839 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2840
2841 Test PR 9436.
2842 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2843
2844 2010-06-24 Hui Zhu <teawater@gmail.com>
2845
2846 * gdb.base/eval.exp: New file.
2847
2848 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2849
2850 * gdb.cell/fork.exp: New file.
2851 * gdb.cell/fork.c: Likewise.
2852 * gdb.cell/fork-spu.c: Likewise.
2853
2854 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2855
2856 * lib/gdb.exp (banned_variables_traced): New global variable.
2857 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2858 (gdb_init): Use `trace add variable' instead of obsolete
2859 `trace variable'.
2860
2861 2010-06-21 Doug Evans <dje@google.com>
2862
2863 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2864
2865 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2866
2867 * gdb.arch/spu-ls.exp: New file.
2868 * gdb.arch/spu-ls.c: Likewise.
2869
2870 2010-06-18 Stan Shebs <stan@codesourcery.com>
2871
2872 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2873
2874 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2875
2876 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2877 * gdb.base/watch-cond.exp: Likewise.
2878 * gdb.python/py-breakpoint.exp: Likewise.
2879
2880 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2881
2882 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2883 clean_restart, make sure every test has a distinct message, and
2884 that messages don't include the executable' full path.
2885
2886 2010-06-17 Doug Evans <dje@google.com>
2887
2888 * gdb.arch/i386-size.exp: Updated expected output for
2889 DISASSEMBLY_OMIT_FNAME.
2890
2891 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2892 Sergio Durigan Junior <sergiodj@redhat.com>
2893
2894 * gdb.base/watch-notconst.c: New file.
2895 * gdb.base/watch-notconst.S: New file.
2896 * gdb.base/watch-notconst2.c: New file.
2897 * gdb.base/watch-notconst2.S: New file.
2898 * gdb.base/watch-notconst.exp: New file.
2899 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2900 (func4): Add operations on `global_ptr_ptr'.
2901 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2902 routine to test watchpoints created with a constant expression.
2903 (test_inaccessible_watchpoint): Include tests for watchpoints
2904 created with a constant expression.
2905
2906 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2907
2908 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2909 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2910 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2911 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2912 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2913 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2914 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2915 of `_start'.
2916
2917 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2918
2919 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2920 not supported on the target.
2921 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2922 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2923 * gdb.mi/mi-nsintrall.exp: Likewise.
2924 * gdb.mi/mi-nsmoribund.exp: Likewise.
2925 * gdb.mi/mi-nsthrexec.exp: Likewise.
2926
2927 2010-06-11 Stan Shebs <stan@codesourcery.com>
2928
2929 * gdb.base/permissions.exp: New file.
2930
2931 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2932
2933 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2934 does not support ELF executable class.
2935
2936 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2937
2938 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2939
2940 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2941
2942 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2943 (runto): Catch "The target does not support running in non-stop mode.".
2944
2945 2010-06-11 Michael Snyder <msnyder@vmware.com>
2946
2947 * gdb.base/setshow.exp (set language asm): Don't use
2948 gdb_test_no_output, fails on some targets.
2949
2950 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2951
2952 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2953 * gdb.cp/pr9167.exp: Likewise.
2954
2955 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2956
2957 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2958
2959 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2960
2961 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2962
2963 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2964
2965 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2966
2967 2010-06-11 Tom Tromey <tromey@redhat.com>
2968
2969 PR gdb/9977, PR exp/11636::
2970 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2971 (pieces_test_f6): Update expected output.
2972
2973 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2974
2975 * gdb.base/moribund-step.exp: New.
2976
2977 2010-06-08 Michael Snyder <msnyder@vmware.com>
2978
2979 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2980 * gdb.ada/boolean_expr.exp:
2981 * gdb.ada/frame_args.exp: Ditto.
2982 * gdb.ada/lang_switch.exp: Ditto.
2983 * gdb.ada/ptype_arith_binop.exp: Ditto.
2984 * gdb.ada/ref_param.exp: Ditto.
2985 * gdb.ada/type_coercion.exp:Ditto.
2986
2987 * gdb.asm/asm-source.exp: Ditto.
2988
2989 * gdb.base/attach.exp: Ditto.
2990 * gdb.base/bitfields2.exp: Ditto.
2991 * gdb.base/call-signal-resume.exp: Ditto.
2992 * gdb.base/callfuncs.exp: Ditto.
2993 * gdb.base/commands.exp: Ditto.
2994 * gdb.base/dbx.exp: Ditto.
2995 * gdb.base/default.exp: Ditto.
2996 * gdb.base/dump.exp: Ditto.
2997 * gdb.base/exprs.exp: Ditto.
2998 * gdb.base/freebpcmd.exp: Ditto.
2999 * gdb.base/interrupt.exp: Ditto.
3000 * gdb.base/list.exp: Ditto.
3001 * gdb.base/long_long.exp: Ditto.
3002 * gdb.base/maint.exp: Ditto.
3003 * gdb.base/ptype.exp: Ditto.
3004 * gdb.base/return.exp: Ditto.
3005 * gdb.base/setshow.exp: Ditto.
3006 * gdb.base/sigbpt.exp: Ditto.
3007 * gdb.base/sigrepeat.exp: Ditto.
3008
3009 * gdb.cp/classes.exp: Ditto.
3010
3011 * gdb.dwarf2/dw2-restore.exp: Ditto.
3012
3013 * gdb.gdb/selftest.exp: Ditto.
3014
3015 * gdb.multi/base.exp: Ditto.
3016 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3017
3018 * gdb.python/py-block.exp: Ditto.
3019 * gdb.python/py-prettyprint.exp: Ditto.
3020 * gdb.python/py-template.exp: Ditto.
3021
3022 * gdb.server/ext-attach.exp: Ditto.
3023 * gdb.server/ext-run.exp: Ditto.
3024 * gdb.server/server-mon.exp: Ditto.
3025
3026 * gdb.threads/fork-thread-pending.exp: Ditto.
3027 * gdb.threads/hand-call-in-threads.exp: Ditto.
3028 * gdb.threads/interrupted-hand-call.exp: Ditto.
3029 * gdb.threads/linux-dp.exp: Ditto.
3030 * gdb.threads/manythreads.exp: Ditto.
3031 * gdb.threads/print-threads.exp: Ditto.
3032 * gdb.threads/pthreads.exp: Ditto.
3033 * gdb.threads/schedlock.exp: Ditto.
3034 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3035 * gdb.threads/threadapply.exp: Ditto.
3036
3037 2010-06-08 Michael Snyder <msnyder@vmware.com>
3038
3039 * gdb.ada/exec_changed.exp:
3040 Use ".*" instead of "" as wildcard regexp.
3041
3042 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3043 * gdb.base/call-ar-st.exp: Ditto.
3044 * gdb.base/checkpoint.exp: Ditto.
3045 * gdb.base/default.exp: Ditto.
3046 * gdb.base/dump.exp: Ditto.
3047 * gdb.base/ending-run.exp: Ditto.
3048 * gdb.base/fileio.exp: Ditto.
3049 * gdb.base/miscexprs.exp: Ditto.
3050 * gdb.base/pointers.exp: Ditto.
3051 * gdb.base/readline.exp: Ditto.
3052 * gdb.base/reread.exp: Ditto.
3053 * gdb.base/restore.exp: Ditto.
3054 * gdb.base/shlib-call.exp: Ditto.
3055 * gdb.base/valgrind-db-attach.exp: Ditto.
3056 * gdb.base/volatile.exp: Ditto.
3057 * gdb.base/watchpoints.exp: Ditto.
3058
3059 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3060
3061 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3062 * gdb.python/py-value.exp: Ditto.
3063
3064 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3065 * gdb.trace/circ.exp: Ditto.
3066 * gdb.trace/collection.exp: Ditto.
3067 * gdb.trace/packetlen.exp: Ditto.
3068 * gdb.trace/passc-dyn.exp: Ditto.
3069 * gdb.trace/report.exp: Ditto.
3070 * gdb.trace/tfile.exp: Ditto.
3071 * gdb.trace/tfind.exp: Ditto.
3072 * gdb.trace/while-dyn.exp: Ditto.
3073
3074 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3075
3076 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3077
3078 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3079
3080 Test PR 10640.
3081 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3082
3083 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3084
3085 * gdb.cp/koenig.exp: Test for ADL operators.
3086 * gdb.cp/koenig.cc: Added ADL operators.
3087 * gdb.cp/operator.exp: New test.
3088 * gdb.cp/operator.cc: New test.
3089
3090 2010-06-04 Michael Snyder <msnyder@vmware.com>
3091
3092 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3093 * gdb.base/pending.exp: Ditto.
3094
3095 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3096
3097 2010-06-04 Doug Evans <dje@google.com>
3098
3099 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3100 disabled printers.
3101 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3102 (enable_lookup_function): New function.
3103
3104 2010-06-04 Tom Tromey <tromey@redhat.com>
3105
3106 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3107 of hash and id.
3108
3109 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3110
3111 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3112 newline.
3113 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3114 (empty verbose non-noisy clear, empty verbose noisy clear)
3115 (empty non-verbose noisy clear): Likewise.
3116
3117 2010-06-03 Michael Snyder <msnyder@vmware.com>
3118
3119 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3120 * gdb.base/display.exp: Ditto.
3121 * gdb.base/find.exp: Ditto.
3122 * gdb.base/ifelse.exp: Ditto.
3123 * gdb.base/multi-forks.exp: Ditto.
3124 * gdb.base/recurse.exp: Ditto.
3125 * gdb.base/setshow.exp: Ditto.
3126 * gdb.base/value-double-free.exp: Ditto.
3127 * gdb.base/watch-vfork.exp: Ditto.
3128 * gdb.base/watch_thread_num.exp: Ditto.
3129 * gdb.base/watchpoint-solib.exp: Ditto.
3130 * gdb.base/watchpoint.exp: Ditto.
3131 * gdb.base/watchpoints.exp: Ditto.
3132
3133 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3134 * gdb.cp/overload.exp: Ditto.
3135 * gdb.cp/virtfunc.exp: Ditto.
3136
3137 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3138
3139 * gdb.reverse/watch-precsave.exp:
3140 Replace gdb_test with gdb_test_no_output.
3141
3142 * gdb.threads/attach-into-signal.exp:
3143 Replace gdb_test with gdb_test_no_output.
3144 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3145 * gdb.threads/watchthreads.exp: Ditto.
3146 * gdb.threads/watchthreads2.exp: Ditto.
3147
3148 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3149 * gdb.trace/tfind.exp: Ditto.
3150
3151 2010-06-03 Joel Brobecker <brobecker@adacore.com>
3152
3153 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3154 successful test if message is the empty string.
3155
3156 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3157
3158 * gdb.fortran/module.exp (stopped language detection): New test.
3159
3160 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3161
3162 Support DW_TAG_module as separate namespaces.
3163 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3164 gdb.fortran/library-module-lib.f90: New.
3165 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3166 (print i): Remove.
3167 (continue to breakpoint: i-is-1, print var_i value 1)
3168 (continue to breakpoint: i-is-2, print var_i value 2)
3169 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3170 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3171 (complete `modmany, complete `modmany`, complete `modmany`var)
3172 (show language, setting breakpoint at module): New tests.
3173 * gdb.fortran/module.f90 (module mod): Remove.
3174 (module mod1, module mod2, module modmany, subroutine sub1)
3175 (subroutine sub2, program module): New.
3176
3177 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3178
3179 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3180 (print value of rUC, print value of rI, print value of UI): ... here.
3181 * gdb.cp/anon-union.exp (pass): Rename to ...
3182 (print z 2): ... here.
3183
3184 2010-06-02 Michael Snyder <msnyder@vmware.com>
3185
3186 * gdb.trace/actions.exp: Use gdb_test_no_output.
3187 * gdb.trace/circ.exp: Ditto.
3188 * gdb.trace/packetlen.exp: Ditto.
3189 * gdb.trace/save-trace.exp: Ditto.
3190 * gdb.trace/tracecmd.exp: Ditto.
3191 * gdb.trace/tsv.exp: Ditto.
3192
3193 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3194 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3195 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3196 * gdb.threads/manythreads.exp: Ditto.
3197 * gdb.threads/print-threads.exp: Ditto.
3198 * gdb.threads/pthreads.exp: Ditto.
3199 * gdb.threads/schedlock.exp: Ditto.
3200 * gdb.threads/staticthreads.exp: Ditto.
3201 * gdb.threads/thread-specific.exp: Ditto.
3202 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3203 * gdb.threads/threadapply.exp: Ditto.
3204 * gdb.threads/watchthreads.exp: Ditto.
3205 * gdb.threads/watchthreads2.exp: Ditto.
3206
3207 * gdb.python/py-block.exp: Use gdb_test_no_output.
3208 * gdb.python/py-prettyprint.exp: Ditto.
3209 * gdb.python/py-template.exp: Ditto.
3210 * gdb.python/py-value.exp: Ditto.
3211
3212 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3213 * gdb.reverse/watch-reverse.exp: Ditto.
3214
3215 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3216 * gdb.server/ext-run.exp: Ditto.
3217
3218 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3219 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3220 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3221 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3222 * gdb.dwarf2/dw2-producer.exp: Ditto.
3223 * gdb.dwarf2/mac-fileno.exp: Ditto.
3224
3225 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3226 * gdb.gdb/selftest.exp: Ditto.
3227
3228 * gdb.multi/base.exp: Use gdb_test_no_output.
3229
3230 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3231
3232 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3233
3234 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3235
3236 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3237
3238 * gdb.cp/class2.exp: Use gdb_test_no_output.
3239 * gdb.cp/classes.exp: Ditto.
3240 * gdb.cp/extern-c.exp: Ditto.
3241 * gdb.cp/inherit.exp: Ditto.
3242 * gdb.cp/maint.exp: Ditto.
3243 * gdb.cp/mb-inline.exp: Ditto.
3244 * gdb.cp/mb-templates.exp: Ditto.
3245 * gdb.cp/method2.exp: Ditto.
3246 * gdb.cp/misc.exp: Ditto.
3247 * gdb.cp/ovldbreak.exp: Ditto.
3248 * gdb.cp/punctuator.exp: Ditto.
3249 * gdb.cp/templates.exp: Ditto.
3250 * gdb.cp/virtbase.exp: Ditto.
3251
3252 * gdb.threads/attach-stopped.exp:
3253 Replace uses of send_gdb / gdb_expect.
3254 * gdb.threads/attachstop-mt.exp:
3255 Replace uses of send_gdb / gdb_expect.
3256 * gdb.threads/gcore-thread.exp:
3257 Replace uses of send_gdb / gdb_expect.
3258 * gdb.threads/hand-call-in-threads.exp:
3259 Replace uses of send_gdb / gdb_expect.
3260 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
3261 * gdb.threads/print-threads.exp:
3262 Replace uses of send_gdb / gdb_expect.
3263 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3264 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3265 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3266
3267 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3268 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3269 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3270 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3271 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3272 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3273 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3274 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3275 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3276 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3277 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3278
3279 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3280
3281 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3282
3283 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3284
3285 * gdb.cp/koenig.exp: Added new test case.
3286 * gdb.cp/koenig.cc: Ditto.
3287
3288 2010-06-01 Michael Snyder <msnyder@vmware.com>
3289
3290 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3291 * gdb.base/arrayidx.exp: Ditto.
3292 * gdb.base/attach.exp: Ditto.
3293 * gdb.base/auxv.exp: Ditto.
3294 * gdb.base/bigcre.exp: Ditto.
3295 * gdb.base/break-always.exp: Ditto.
3296 * gdb.base/break-interp.exp: Ditto.
3297 * gdb.base/break.exp: Ditto.
3298 * gdb.base/breakpoint-shadow.exp: Ditto.
3299 * gdb.base/call-ar-st.exp: Ditto.
3300 * gdb.base/call-sc.exp: Ditto.
3301 * gdb.base/call-signal-resume.exp: Ditto.
3302 * gdb.base/callfuncs.exp: Ditto.
3303 * gdb.base/catch-syscall.exp: Ditto.
3304 * gdb.base/charset.exp: Ditto.
3305 * gdb.base/code-expr.exp: Ditto.
3306 * gdb.base/commands.exp: Ditto.
3307 * gdb.base/cond-expr.exp: Ditto.
3308 * gdb.base/condbreak.exp: Ditto.
3309 * gdb.base/cursal.exp: Ditto.
3310 * gdb.base/cvexpr.exp: Ditto.
3311 * gdb.base/default.exp: Ditto.
3312 * gdb.base/del.exp: Ditto.
3313 * gdb.base/detach.exp: Ditto.
3314 * gdb.base/display.exp: Ditto.
3315 * gdb.base/ena-dis-br.exp: Ditto.
3316 * gdb.base/eval-skip.exp: Ditto.
3317 * gdb.base/foll-fork.exp: Ditto.
3318 * gdb.base/foll-vfork.exp: Ditto.
3319 * gdb.base/frame-args.exp: Ditto.
3320 * gdb.base/funcargs.exp: Ditto.
3321 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3322 * gdb.base/gdbvars.exp: Ditto.
3323 * gdb.base/help.exp: Ditto.
3324 * gdb.base/ifelse.exp: Ditto.
3325 * gdb.base/included.exp: Ditto.
3326 * gdb.base/list.exp: Ditto.
3327 * gdb.base/macscp.exp: Ditto.
3328 * gdb.base/maint.exp: Ditto.
3329 * gdb.base/multi-fork.exp: Ditto.
3330 * gdb.base/overlays.exp: Ditto.
3331 * gdb.base/page.exp: Ditto.
3332 * gdb.base/pending.exp: Ditto.
3333 * gdb.base/pointers.exp: Ditto.
3334 * gdb.base/pr11022.exp: Ditto.
3335 * gdb.base/prelink.exp: Ditto.
3336 * gdb.base/printcmds.exp: Ditto.
3337 * gdb.base/psymtab.exp: Ditto.
3338 * gdb.base/randomize.exp: Ditto.
3339 * gdb.base/relational.exp: Ditto.
3340 * gdb.base/relocate.exp: Ditto.
3341 * gdb.base/remote.exp: Ditto.
3342 * gdb.base/sepdebug.exp: Ditto.
3343 * gdb.base/set-lang-auto.exp: Ditto.
3344 * gdb.base/setshow.exp: Ditto.
3345 * gdb.base/setvar.exp: Ditto.
3346 * gdb.base/signals.exp: Ditto.
3347 * gdb.base/signull.exp: Ditto.
3348 * gdb.base/sigstep.exp: Ditto.
3349 * gdb.base/sizeof.exp: Ditto.
3350 * gdb.base/solib-disc.exp: Ditto.
3351 * gdb.base/store.exp: Ditto.
3352 * gdb.base/structs.exp: Ditto.
3353 * gdb.base/structs2.exp: Ditto.
3354 * gdb.base/subst.exp: Ditto.
3355 * gdb.base/term.exp: Ditto.
3356 * gdb.base/trace-commands.exp: Ditto.
3357 * gdb.base/unwindonsignal.exp: Ditto.
3358 * gdb.base/valgrind-db-attach.exp: Ditto.
3359 * gdb.base/varargs.exp: Ditto.
3360 * gdb.base/watch-cond.exp: Ditto.
3361 * gdb.base/watch_thread_num.exp: Ditto.
3362 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3363 * gdb.base/watchpoint.exp: Ditto.
3364 * gdb.base/whatis-exp.exp: Ditto.
3365
3366 2010-06-01 Michael Snyder <msnyder@vmware.com>
3367
3368 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3369 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3370 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3371 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3372 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3373 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3374 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3375 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3376 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3377 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3378 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3379 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3380 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3381 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3382 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3383
3384 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3385
3386 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3387 trailing newline.
3388 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3389 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3390 (p *args): ... here and remove excessive trailing newline.
3391
3392 2010-05-31 Joel Brobecker <brobecker@adacore.com>
3393
3394 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3395
3396 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3397
3398 Accept the new Linux kernel "t (tracing stop)" string.
3399 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3400 Update comment.
3401 (state_wait) <T (tracing stop)>: New.
3402 (main): Update the state_wait expect string.
3403
3404 2010-05-28 Pedro Alves <pedro@codesourcery.com>
3405
3406 * limits.c, limits.exp: Delete files.
3407 * Makefile.in (clean mostlyclean): Adjust.
3408 * tracecmd.exp: Adjust.
3409
3410 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3411
3412 * gdb.base/tui-layout.exp: New.
3413
3414 2010-05-28 Michael Snyder <msnyder@vmware.com>
3415
3416 * gdb.reverse/break-precsave.exp:
3417 Replace uses of send_gdb / gdb_expect.
3418 * gdb.reverse/break-reverse.exp:
3419 Replace uses of send_gdb / gdb_expect.
3420 * gdb.reverse/consecutive-precsave.exp:
3421 Replace uses of send_gdb / gdb_expect.
3422 * gdb.reverse/consecutive-reverse.exp:
3423 Replace uses of send_gdb / gdb_expect.
3424 * gdb.reverse/finish-precsave.exp:
3425 Replace uses of send_gdb / gdb_expect.
3426 * gdb.reverse/finish-reverse.exp:
3427 Replace uses of send_gdb / gdb_expect.
3428 * gdb.reverse/i386-precsave.exp:
3429 Replace uses of send_gdb / gdb_expect.
3430 * gdb.reverse/i386-reverse.exp:
3431 Replace uses of send_gdb / gdb_expect.
3432 * gdb.reverse/i386-sse-reverse.exp:
3433 Replace uses of send_gdb / gdb_expect.
3434 * gdb.reverse/i387-env-reverse.exp:
3435 Replace uses of send_gdb / gdb_expect.
3436 * gdb.reverse/i387-stack-reverse.exp:
3437 Replace uses of send_gdb / gdb_expect.
3438 * gdb.reverse/machinestate-precsave.exp:
3439 Replace uses of send_gdb / gdb_expect.
3440 * gdb.reverse/machinestate.exp:
3441 Replace uses of send_gdb / gdb_expect.
3442 * gdb.reverse/sigall-precsave.exp:
3443 Replace uses of send_gdb / gdb_expect.
3444 * gdb.reverse/sigall-reverse.exp:
3445 Replace uses of send_gdb / gdb_expect.
3446 * gdb.reverse/solib-precsave.exp:
3447 Replace uses of send_gdb / gdb_expect.
3448 * gdb.reverse/solib-reverse.exp:
3449 Replace uses of send_gdb / gdb_expect.
3450 * gdb.reverse/step-precsave.exp:
3451 Replace uses of send_gdb / gdb_expect.
3452 * gdb.reverse/step-reverse.exp:
3453 Replace uses of send_gdb / gdb_expect.
3454 * gdb.reverse/until-precsave.exp:
3455 Replace uses of send_gdb / gdb_expect.
3456 * gdb.reverse/until-reverse.exp:
3457 Replace uses of send_gdb / gdb_expect.
3458 * gdb.reverse/watch-precsave.exp:
3459 Replace uses of send_gdb / gdb_expect.
3460 * gdb.reverse/watch-reverse.exp:
3461 Replace uses of send_gdb / gdb_expect.
3462
3463 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3464
3465 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3466 excessive newline.
3467
3468 2010-05-27 Michael Snyder <msnyder@vmware.com>
3469
3470 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3471 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3472 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3473 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3474 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3475 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3476 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3477 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3478 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3479 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3480 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3481 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3482 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3483 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3484 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3485 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3486 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3487 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3488 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3489
3490 2010-05-26 Michael Snyder <msnyder@vmware.com>
3491
3492 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3493 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3494
3495 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3496 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3497 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3498
3499 * gdb.reverse/consecutive-reverse.exp:
3500 Replace uses of send_gdb / gdb_expect.
3501 * gdb.reverse/consecutive-precsave.exp:
3502 Replace uses of send_gdb / gdb_expect.
3503
3504 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3505 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3506 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3507 * gdb.mi/mi-ns-stale-regcache.exp:
3508 Replace uses of send_gdb / gdb_expect.
3509 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3510 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3511 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3512 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3513 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3514 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3515 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3516 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3517 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3518
3519 2010-05-26 Michael Snyder <msnyder@vmware.com>
3520
3521 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3522
3523 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3524
3525 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3526 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3527 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3528 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3529 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3530 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3531 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3532 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3533 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3534
3535 2010-05-25 Tom Tromey <tromey@redhat.com>
3536
3537 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3538
3539 2010-05-25 Tom Tromey <tromey@redhat.com>
3540
3541 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3542 argument order.
3543 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3544 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3545 order.
3546 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3547 order.
3548 * gdb.base/call-sc.exp (setup_kfails): Remove.
3549 (setup_compiler_kfails): Remove.
3550 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3551 argument order.
3552 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3553 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3554 (advancei): Fix setup_kfail argument order.
3555 * gdb.base/radix.exp: Fix setup_kfail argument order.
3556 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3557 order.
3558 * gdb.base/structs.exp (setup_kfails): Remove.
3559 (setup_compiler_kfails): Fix setup_kfail argument order.
3560 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3561 order.
3562 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3563 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3564 setup_kfail argument order.
3565 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3566
3567 2010-05-25 Tom Tromey <tromey@redhat.com>
3568
3569 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3570
3571 2010-05-25 Michael Snyder <msnyder@vmware.com>
3572
3573 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3574 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3575 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3576 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3577 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3578 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3579 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3580 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3581 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3582 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3583 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3584 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3585 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3586 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3587 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3588 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3589 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3590 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3591 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3592 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3593 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3594 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3595 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3596 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3597 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3598 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3599 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3600 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3601 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3602 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3603 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3604 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3605 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3606 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3607 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3608 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3609 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3610 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3611 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3612 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3613 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3614 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3615 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3616 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3617 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3618 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3619 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
3620 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
3621
3622 2010-05-25 Doug Evans <dje@google.com>
3623
3624 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3625 gdb.string_to_argv.
3626
3627 2010-05-21 Tom Tromey <tromey@redhat.com>
3628
3629 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3630 Call it.
3631 * gdb.dwarf2/pieces.S: Update.
3632 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3633
3634 2010-05-21 Tom Tromey <tromey@redhat.com>
3635
3636 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3637 Call it.
3638 * gdb.dwarf2/pieces.c (struct C): New.
3639 (f6): New function.
3640 * gdb.dwarf2/pieces.S: Replace.
3641
3642 2010-05-21 Tom Tromey <tromey@redhat.com>
3643
3644 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3645 Call it.
3646
3647 2010-05-21 Tom Tromey <tromey@redhat.com>
3648
3649 * gdb.dwarf2.pieces.exp: New file.
3650 * gdb.dwarf2.pieces.S: New file.
3651 * gdb.dwarf2.pieces.c: New file.
3652
3653 2010-05-20 Pedro Alves <pedro@codesourcery.com>
3654 Joel Brobecker <brobecker@adacore.com>
3655
3656 * lib/gdb.exp (gdb_test_no_output): New function.
3657 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3658 when testing commands that should produce no output.
3659
3660 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3661
3662 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3663 parameter that we want to watch being a constant.
3664
3665 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3666
3667 * gdb.ada/cond_lang: New testcase.
3668
3669 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3670
3671 * lib/gdb.exp (banned_variables): New variable/constant.
3672 (gdb_init): Add write trace on variables listed in banned_variables.
3673 (gdb_finish): Remove write traces on variables listed in
3674 banned_variables.
3675
3676 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3677
3678 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3679 * gdb.cp/koenig.exp: Likewise.
3680
3681 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3682
3683 PR python/11482
3684
3685 * gdb.python/py-value.exp (test_value_hash): New function.
3686
3687 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3688
3689 PR exp/11530.
3690 * gdb.base/gdb11530.c: New file.
3691 * gdb.base/gdb11530.exp: New file.
3692
3693 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3694
3695 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3696 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3697
3698 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3699
3700 * gdb.cp/koenig.exp: New test.
3701 * gdb.cp/koenig.cc: New test program.
3702
3703 2010-05-05 Joel Brobecker <brobecker@adacore.com>
3704
3705 Remove the use of prms_id and bug_id throughout the testsuite.
3706
3707 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3708
3709 PR exp/11349.
3710 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3711 use a reference local variable.
3712
3713 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3714
3715 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3716 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3717 variable different_dir. Move debugfile into a full directory pathname
3718 under DIFFERENT_DIR.
3719 * lib/gdb.exp (separate_debug_filename): Remove.
3720 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3721 variable debug_dir and mkdir of it. Update function comments.
3722
3723 2010-04-29 Pedro Alves <pedro@codesourcery.com>
3724
3725 PR gdb/11557
3726
3727 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3728 files.
3729
3730 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3731
3732 * gdb.python/py-param.exp: New File.
3733
3734 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3735
3736 * gdb.base/default.exp: Fix "set language" test.
3737
3738 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3739
3740 PR breakpoints/11531.
3741 * gdb.base/gdb11531.c: New file.
3742 * gdb.base/gdb11531.exp: New file.
3743
3744 2010-04-26 Tom Tromey <tromey@redhat.com>
3745
3746 * gdb.base/completion.exp: Add tests for completion and deprecated
3747 commands.
3748
3749 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3750
3751 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3752 (print /x char_array): Escape curly brackets.
3753
3754 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3755
3756 Fix deadlock on looped list of loaded shared objects.
3757 * gdb.base/solib-corrupted.exp: New.
3758
3759 2010-04-23 Doug Evans <dje@google.com>
3760
3761 * gdb.python/py-section-script.c: New file.
3762 * gdb.python/py-section-script.exp: New file.
3763 * gdb.python/py-section-script.py: New file.
3764
3765 2010-04-20 Chris Moller <cmoller@redhat.com>
3766
3767 PR 10179
3768
3769 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3770 * gdb.base/pr10179-a.c:
3771 * gdb.base/pr10179-b.c:
3772 * gdb.base/pr10179.exp: New files.
3773
3774 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3775
3776 Fix crashes on dangling display expressions.
3777 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3778 is SEP.
3779 (lib_flags): Remove the "debug" keyword.
3780 (libsepdebug): New variable for iterating new loop.
3781 (save_pf_prefix): New variable wrapping the loop.
3782 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3783 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3784
3785 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3786
3787 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3788
3789 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3790
3791 PR stabs/11479.
3792 * gdb.stabs/gdb11479.exp: New file.
3793 * gdb.stabs/gdb11479.c: New file.
3794
3795 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3796
3797 * gdb.base/charset.c (Strin16, String32): New variables.
3798 * gdb.base/charset.exp (gdb_test): Test correct display
3799 of 16 or 32 bit strings.
3800
3801 2010-04-21 Chris Moller <cmoller@redhat.com>
3802
3803 PR 9167
3804 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3805 * gdb.cp/pr9167.cc: New file.
3806 * gdb.cp/pr9167.exp: New file.
3807
3808
3809 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3810
3811 PR pascal/11492.
3812 * gdb.pascal/gdb11492.pas: New file.
3813 * gdb.pascal/gdb11492.exp: New file.
3814
3815 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3816
3817 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
3818
3819 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3820
3821 * gdb.ada/dyn_loc: New testcase.
3822
3823 2010-04-20 Chris Moller <cmoller@redhat.com>
3824
3825 PR 10867
3826
3827 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3828 * gdb.cp/pr10687.cc: New file.
3829 * gdb.cp/pr10687.exp: New file.
3830
3831
3832 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3833 Sergio Durigan Junior <sergiodj@redhat.com>
3834
3835 * gdb.fortran/logical.exp: New testcase.
3836 * gdb.fortran/logical.f90: New file.
3837
3838 2010-04-19 Doug Evans <dje@google.com>
3839
3840 * gdb.base/help.exp (help source): Update expected output.
3841
3842 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3843
3844 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3845 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3846 gdb_exit and return.
3847 (executable): New variable.
3848 (binfile): Use it.
3849
3850 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3851
3852 PR breakpoints/8554.
3853
3854 * gdb.trace/save-trace.exp: Adjust.
3855
3856 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3857
3858 PR corefiles/11511
3859 * gdb.arch/system-gcore.exp: New.
3860 * gdb.arch/gcore.c: Likewise.
3861
3862 2010-04-15 Doug Evans <dje@google.com>
3863
3864 * gdb.python/py-progspace.c: New file.
3865 * gdb.python/py-progspace.exp: New file.
3866
3867 * gdb.base/source.exp: Add tests for "source -s".
3868
3869 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3870
3871 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3872 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3873 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3874 * gdb.python/py-mi.exp: New test for to_string returning None.
3875
3876 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3877
3878 * gdb.python/py-breakpoint.c: Make result global.
3879
3880 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3881
3882 Fix non-GNU make compatibility.
3883 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3884
3885 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3886
3887 * gdb.python/py-breakpoint.exp: New File.
3888 * gdb.python/py-breakpoint.C: Ditto.
3889
3890 2010-04-08 Stan Shebs <stan@codesourcery.com>
3891
3892 * gdb.trace/actions.exp: Clear default-collect.
3893 * gdb.trace/save-trace.exp: Clear default-collect.
3894
3895 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3896
3897 * gdb.python/py-value: Add null string variable.
3898 (test_lazy_string): Test zero length, NULL address lazy
3899 strings.
3900
3901 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3902
3903 * gdb.arch/i386-avx.c: New.
3904 * gdb.arch/i386-avx.exp: Likewise.
3905
3906 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3907
3908 2010-04-06 Doug Evans <dje@google.com>
3909
3910 * gdb.base/source-test.gdb: New file.
3911 * gdb.base/source.exp: Test source -v.
3912
3913 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3914
3915 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3916
3917 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3918
3919 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3920 within one line, unless it is followed by a double quote.
3921 * gdb.stabs/hppa.sed: Idem.
3922 * gdb.stabs/weird.def: Add char and String constants
3923 * gdb.stabs/weird.exp: Check for correct parsing of
3924 char and string constants.
3925 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3926 in .stabs to .stabx substitution.
3927
3928 2010-04-05 Stan Shebs <stan@codesourcery.com>
3929
3930 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3931 constant global.
3932 * gdb.trace/tfile.exp: Try to print them.
3933
3934 2010-04-04 Stan Shebs <stan@codesourcery.com>
3935
3936 * gdb.base/completion.exp: Update for new "info watchpoints".
3937 * gdb.base/default.exp: Ditto.
3938 * gdb.base/help.exp: Ditto.
3939 * gdb.base/watchpoint.exp: Ditto.
3940 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3941
3942 2010-04-04 Stan Shebs <stan@codesourcery.com>
3943
3944 * gdb.trace/tfile.exp: Sharpen tfind test.
3945
3946 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3947
3948 * gdb.base/break-entry.exp: New.
3949
3950 2010-04-02 Hui Zhu <teawater@gmail.com>
3951 Michael Snyder <msnyder@vmware.com>
3952
3953 * gdb.reverse/i386-sse-reverse.exp: New file.
3954 * gdb.reverse/i386-sse-reverse.c: New file.
3955
3956 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3957
3958 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3959
3960 2010-04-01 Stan Shebs <stan@codesourcery.com>
3961
3962 * gdb.trace/actions.exp: Tweak expected output.
3963 * gdb.trace/while-stepping.exp: Tweak expected output.
3964
3965 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3966
3967 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3968
3969 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3970
3971 * gdb.base/commands.exp: Adjust.
3972 * gdb.cp/extern-c.exp: Adjust.
3973
3974 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3975
3976 * gdb.trace/collection.c (local_test_func): Define a local struct,
3977 and instanciate it.
3978
3979 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3980
3981 * gdb.trace/collection.exp (gdb_collect_args_test)
3982 (gdb_collect_argarray_test): XFAIL the tests that assume the
3983 argarray argument's elements are collected.
3984
3985 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3986
3987 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3988 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3989
3990 2010-03-31 Stan Shebs <stan@codesourcery.com>
3991
3992 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3993 and tracepoint conditionals.
3994 (gdb_verify_tracepoints): Delete unused return.
3995
3996 2010-03-26 Keith Seitz <keiths@redhat.com>
3997
3998 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3999 appear in the output before main.
4000 Remove KFAIL for gdb/2215 aka bz 9320.
4001
4002 2010-03-30 Doug Evans <dje@google.com>
4003
4004 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4005 by dejagnu.
4006 * gdb.arch/amd64-dword.exp: Ditto.
4007
4008 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4009 match.
4010 (break printf): Ditto.
4011
4012 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4013
4014 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4015 gcc < 4.4.
4016 * gdb.cp/shadow.exp: Ditto.
4017
4018 2010-03-29 Pedro Alves <pedro@codesourcery.com>
4019
4020 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4021 "tstart" is silent.
4022
4023 2010-03-29 Pedro Alves <pedro@codesourcery.com>
4024
4025 * gdb.trace/collection.exp (executable): New.
4026 (binfile): Use it.
4027 (fpreg, spreg, pcreg): New.
4028 (test_register): Use gdb_test_multiple. Pass /x to print.
4029 (prepare_for_trace_test): New.
4030 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4031 (gdb_collect_args_test, gdb_collect_argstruct_test)
4032 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4033 prepare_for_trace_test.
4034 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4035 fpreg, spreg and pcreg.
4036 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4037 prepare_for_trace_test.
4038 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4039 try to detect tracing support here. Don't set breakpoints at
4040 `begin' or `end' here.
4041 <global scope>: Use clean_restart. Run to main before checking
4042 for tracing support. Check for for tracing support here.
4043
4044 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4045
4046 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4047 " as $displacement" to "seen displacement message".
4048
4049 2010-03-28 Pedro Alves <pedro@codesourcery.com>
4050
4051 * gdb.trace/while-dyn.exp (executable): New variable.
4052 (binfile): Use it.
4053 (test_while_stepping): New function. Move most tests here. Call
4054 it once for each of the while-stepping, stepping and ws aliases.
4055
4056 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4057
4058 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4059 that do not provide the tagless_struct type name at all.
4060 (test_print_anon_union): Do not check value of uninitialized
4061 union member. Do not use cp_test_ptype_class, so we can accept
4062 "long" as well as "long int".
4063
4064 2010-03-26 Pedro Alves <pedro@codesourcery.com>
4065
4066 * gdb.trace/tfile.c (tohex, bin2hex): New.
4067 (write_error_trace_file): Hexify error description.
4068
4069 2010-03-25 Stan Shebs <stan@codesourcery.com>
4070
4071 * gdb.trace/tfile.c: Generate an additional trace file, improve
4072 portability.
4073 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4074 files in a better way.
4075
4076 2010-03-25 Keith Seitz <keiths@redhat.com>
4077
4078 * gdb.java/jprint.exp: XFAIL printing of static class members
4079 because of GCC debuginfo problem.
4080
4081 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4082
4083 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4084
4085 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4086
4087 * gdb.base/completion.exp: Allow long instead of long int.
4088 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4089 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4090 variable p.
4091 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4092 * gdb.base/pointers.exp: Allow long instead of long int.
4093 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4094 * gdb.base/step-line.exp: Allow a directory before the source file name.
4095
4096 2010-03-24 Tom Tromey <tromey@redhat.com>
4097
4098 PR breakpoints/9352:
4099 * gdb.base/default.exp: Update.
4100 * gdb.base/commands.exp: Update.
4101 * gdb.cp/extern-c.exp: Test setting commands on multiple
4102 breakpoints at once.
4103
4104 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4105
4106 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4107 if gdb,nosignals.
4108 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4109 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4110 exited".
4111
4112 2010-03-24 Stan Shebs <stan@codesourcery.com>
4113
4114 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4115
4116 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4117
4118 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4119 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4120 argument. Handle "short" and "long".
4121 (Top level): Pass overprototyped output for old_fptr and xptr.
4122
4123 2010-03-23 Pedro Alves <pedro@codesourcery.com>
4124
4125 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4126 format strings and add casts to avoid compiler warnings.
4127
4128 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
4129
4130 * lib/trace-support.exp (gdb_trace_setactions):
4131 Don't expect whitespace after ">" prompt.
4132 * gdb.trace/actions.exp: Adjust for output changes.
4133 * gdb.trace/while-stepping.exp: Likewise.
4134
4135 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4136
4137 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4138 and r157645).
4139
4140 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4141
4142 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4143 New.
4144
4145 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4146
4147 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4148 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4149
4150 2010-03-19 Stan Shebs <stan@codesourcery.com>
4151
4152 * gdb.trace/ax.exp: New file.
4153
4154 2010-03-19 Doug Evans <dje@google.com>
4155
4156 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4157 output from gcc.
4158
4159 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4160 named /usr/sbin/prelink<foo>.
4161
4162 2010-03-18 Stan Shebs <stan@codesourcery.com>
4163
4164 * gdb.trace/circ.exp: Test circular-trace-buffer.
4165 * gdb.trace/tfile.exp: Update tstatus test.
4166
4167 2010-03-18 Joel Brobecker <brobecker@adacore.com>
4168
4169 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4170 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4171
4172 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4173
4174 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4175
4176 2010-03-18 Pedro Alves <pedro@codesourcery.com>
4177
4178 * gdb.base/default.exp: Adjust the expected output of the finish
4179 and until commands when the inferior is not being run.
4180
4181 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4182
4183 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4184 * gdb.cp/nsusing.exp: Ditto.
4185
4186 2010-03-15 Tom Tromey <tromey@redhat.com>
4187
4188 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4189 * gdb.cp/userdef.cc (operator==): New function.
4190 (main): New locals mem1, mem2.
4191
4192 2010-03-15 Jie Zhang <jie@codesourcery.com>
4193
4194 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4195 Declare and use new loadtimeout variable.
4196
4197 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4198
4199 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4200 Use gdb_load later.
4201
4202 2010-03-14 Pedro Alves <pedro@codesourcery.com>
4203
4204 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4205 literal. Add missing endlines to prints to stderr.
4206
4207 2010-03-12 Tom Tromey <tromey@redhat.com>
4208
4209 PR c++/9708:
4210 * gdb.cp/m-static.exp: Add regression test.
4211 * gdb.cp/m-static.cc (method): New method.
4212 (main): Call it.
4213
4214 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4215
4216 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4217 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4218
4219 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4220
4221 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4222
4223 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4224
4225 * lib/gdb.exp (skip_stl_tests): New.
4226 (gdb_compile): Symbian needs -ldl.
4227 (shlib_target_file): New.
4228 (shlib_symbol_file): New.
4229 (gdb_load_shlibs): Use shlib_target_file.
4230 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4231 * gdb.cp/exception.exp: Use skip_stl_tests.
4232 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4233 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4234 * gdb.cp/mb-templates.exp: Ditto.
4235 * gdb.base/commands.exp: Relax regexes.
4236 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4237 shlib_target_file and shlib_symbol_file.
4238 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4239 sections.
4240 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4241 * gdb.base/solib-disc.exp: Use
4242 shlib_target_file and shlib_symbol_file.
4243 * gdb.base/unload.exp: Don't skip on symbian. Use
4244 shlib_target_file and shlib_symbol_file.
4245 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4246
4247 2010-03-12 Pedro Alves <pedro@codesourcery.com>
4248
4249 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4250 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4251 Issue a tfind end before looking for a tracepoint frame.
4252 * gdb.trace/tfind.exp: Adjust tstatus output.
4253 Adjust disassembly output.
4254 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4255
4256 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4257
4258 * gdb.base/break-interp.exp: Create new displacement parameter value
4259 for the test_ld calls.
4260 (reach): New parameter displacement, verify its content. New push of
4261 pf_prefix "reach-$func:". Import global expect_out.
4262 (test_core): New parameter displacement, verify its content. New push
4263 of pf_prefix "core:". New command "set verbose on". Import global
4264 expect_out.
4265 (test_attach): New parameter displacement, verify its content. New
4266 push of pf_prefix "attach:". New command "set verbose on". Import
4267 global expect_out.
4268 (test_ld): New parameter displacement, pass it to the reach, test_core
4269 and test_attach calls and verify its content in the "ld.so exit" test.
4270 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4271 (prelink): Update expected text, use gdb_test.
4272
4273 2010-03-10 Doug Evans <dje@google.com>
4274
4275 * gdb.base/checkpoint.exp: Fix comment.
4276 Lengthen timeout while doing >600 checkpoints test.
4277 Rename duplicate "kill all one" test to keep test names unique.
4278
4279 2010-03-10 Pedro Alves <pedro@codesourcery.com>
4280
4281 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4282
4283 2010-03-08 Keith Seitz <keiths@redhat.com>
4284
4285 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4286 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4287 (dm_type_long): New function.
4288 (dm_type_unsigned_short): New function.
4289 (dm_type_unsigned_long): New function.
4290 (myint): New typedef.
4291 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4292 long, unsigned shor and long, operator char*, and typedef.
4293 (test_lookup_operator_functions): Add operator char* test.
4294 (test_paddr_operator_functions): Likewise.
4295 (test_paddr_overloaded_functions): Use probe values for
4296 short, long, and unsigned short and long.
4297 (test_paddr_hairy_functions): If the demangler probe detected
4298 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4299 demangler.
4300 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4301 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4302 and "print null_pmf".
4303 Add test "ptype a.*pmf".
4304 * gdb.cp/overload.exp: Allow optional "int" to appear with
4305 "short" and "long".
4306 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4307 long expect value for men_overload1arg.
4308 Allow "int" to appear with "short" and "long".
4309 When testing "info break", add argument for main (void).
4310 Also allow "int" to appear with "short" and "long".
4311 Ditto with "unsigned" and "long long".
4312 * gdb.java/jmain.exp: Do not enclose methods names in single
4313 quotes.
4314 * gdb.java/jmisc.exp: Likewise.
4315 * gdb.java/jprint.exp: Likewise.
4316 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4317
4318 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4319 * gdb.cp/exception.exp (backtrace after first throw)
4320 (backtrace after second throw): Allow a namespace before __cxa_throw.
4321 (backtrace after first catch, backtrace after second catch): Allow
4322 a namespace before __cxa_begin_catch.
4323
4324 * gdb.cp/cpexprs.exp: New file.
4325 * gdb.cp/cpexprs.cc: New file.
4326
4327 From Daniel Jacobowitz <dan@codesourcery.com>
4328 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4329 to use string_to_regexp.
4330 (ctor, dtor): New functions. Use them to match constructor
4331 and destructor function types.
4332 (Top level): Use runto_main.
4333
4334 2010-03-05 Tom Tromey <tromey@redhat.com>
4335
4336 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4337 gdb.target_charset.
4338 (pp_ns.to_string): Likewise.
4339
4340 2010-03-04 Keith Seitz <keiths@redhat.com>
4341
4342 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4343 can be quoted. Test that both the filename and function/line
4344 portions can be quoted at the same time.
4345
4346 2010-03-04 Pedro Alves <pedro@codesourcery.com>
4347
4348 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4349
4350 2010-03-03 Doug Evans <dje@google.com>
4351
4352 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4353 libc contains libpthread.
4354
4355 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4356 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4357 of gdb_compile. Add another pattern to match android backtrace.
4358
4359 2010-03-03 Tom Tromey <tromey@redhat.com>
4360
4361 PR gdb/11345:
4362 * gdb.base/printcmds.exp (test_printf): Add test.
4363
4364 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4365
4366 * gdb.arch/amd64-byte.exp: New.
4367 * gdb.arch/amd64-dword.exp: Likewise.
4368 * gdb.arch/amd64-pseudo.c: Likewise.
4369 * gdb.arch/amd64-word.exp: Likewise.
4370 * gdb.arch/i386-byte.exp: Likewise.
4371 * gdb.arch/i386-pseudo.c: Likewise.
4372 * gdb.arch/i386-word.exp: Likewise.
4373
4374 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4375
4376 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4377 types. Add structreg, bitfields, and flags registers.
4378 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4379 registers.
4380
4381 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4382
4383 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4384 (load_description): Set architecture if defined.
4385
4386 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4387
4388 * gdb.python/py-frame.exp: Add read_var block tests.
4389 * gdb.python/py-frame.c (block): New function.
4390
4391 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4392 Daniel Jacobowitz <dan@codesourcery.com>
4393
4394 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4395
4396 2010-02-25 David S. Miller <davem@davemloft.net>
4397
4398 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4399 fix logic for setting all_syscalls_numbers.
4400
4401 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4402
4403 * Makefile.in: Add py-block and py-symbol.
4404 * gdb.python/py-symbol.exp: New File.
4405 * gdb.python/py-symtab.exp: New File.
4406 * gdb.python/py-block.exp: New File.
4407 * gdb.python/py-symbol.c: New File.
4408 * gdb.python/py-block.c: New File.
4409
4410 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4411
4412 PR python/11314
4413 * lib/gdb.exp (skip_python_tests): New function.
4414 * gdb.python/py-cmd.exp: Use skip_python_tests.
4415 * gdb.python/py-frame.exp: Likewise.
4416 * gdb.python/py-function.exp: Likewise.
4417 * gdb.python/py-prettyprint.exp: Likewise.
4418 * gdb.python/py-template.exp: Likewise.
4419 * gdb.python/py-type.exp: Likewise.
4420 * gdb.python/py-value.exp: Likewise.
4421
4422 2010-02-22 Pedro Alves <pedro@codesourcery.com>
4423
4424 PR9605
4425
4426 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4427
4428 2010-02-19 Tom Tromey <tromey@redhat.com>
4429
4430 PR c++/8693, PR c++/9496:
4431 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4432 regression tests.
4433
4434 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4435
4436 Fix compatibility with m68k as.
4437 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4438 Use only /* comments */.
4439
4440 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4441
4442 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4443 * configure: Regenerate.
4444
4445 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4446
4447 * gdb.python/py-type.exp: Check for Python support.
4448
4449 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4450
4451 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4452 `regsub' syntax available.
4453
4454 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4455
4456 * gdb.base/shmain.c (main): Remove printf call.
4457 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4458 * gdb.base/unload.c (main): Make format of fprintf a string
4459 literal. Add missing endlines to prints to stderr.
4460 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4461
4462 2010-02-17 Tom Tromey <tromey@redhat.com>
4463
4464 * gdb.java/jprint.java (jprint.props): New field.
4465 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4466
4467 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4468
4469 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4470 available.
4471
4472 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4473
4474 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4475 creation to support remote host testing.
4476
4477 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4478
4479 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4480 Recognize "command not found".
4481
4482 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4483
4484 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4485 single-stepping.
4486
4487 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4488
4489 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4490 if arguments are not supported.
4491
4492 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4493
4494 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4495 be const or non-const.
4496
4497 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4498
4499 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4500 mi_send_resuming_command to send -exec-continue.
4501
4502 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4503
4504 * gdb.base/list.exp (test_list_filename_and_function): Add test
4505 with single quotes.
4506 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4507 matching.
4508 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4509 Add KFAIL'd tests for PR gdb/11289.
4510
4511 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4512
4513 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4514
4515 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4516
4517 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4518 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4519 a temporary directory.
4520
4521 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4522
4523 * gdb.base/charset.exp: Use a single regular expression to match
4524 show host-charset and show target-charset output.
4525
4526 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4527
4528 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4529 "Illegal process-id" expect string more exact.
4530 (attach to digits-starting nonsense is prohibited): New.
4531
4532 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4533
4534 * gdb.base/prelink.exp (set verbose on): New.
4535
4536 2010-02-12 Tomas Holmberg <th@virtutech.com>
4537
4538 * mi-reverse.exp: New file. Test for reverse option to the
4539 following MI commands: exec-continue, exec-finish, exec-next,
4540 exec-step, exec-next-instruction, exec-step-instruction.
4541
4542 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4543
4544 * gdb.ada/ptype_tagged_param: New testcase.
4545
4546 2010-02-08 Tom Tromey <tromey@redhat.com>
4547
4548 PR c++/8017:
4549 * gdb.cp/overload.exp: Add tests.
4550 * gdb.cp/overload.cc (struct K): New.
4551 (namespace N): New.
4552 (main): Call new functions.
4553 (K::staticoverload): Define.
4554
4555 2010-02-08 Chris Moller <moller@mollerware.com>
4556
4557 PR gdb/10728
4558 * gdb.cp/pr10728-x.h: New file.
4559 * gdb.cp/pr10728-x.cc: New file.
4560 * gdb.cp/pr10728-y.cc: New file.
4561 * gdb.cp/pr10728.exp: New file.
4562 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4563
4564 2010-02-08 Chris Moller <moller@mollerware.com>
4565
4566 PR gdb/9067
4567 * gdb.cp/pr9067.exp: New
4568 * gdb.cp/pr9067.cc: New
4569 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4570
4571 2010-02-08 Joel Brobecker <brobecker@adacore.com>
4572
4573 * lib/gdb.exp (gdb_test_timeout): New global variable.
4574 Set it to timeout if not already set.
4575 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4576
4577 2010-02-05 Doug Evans <dje@google.com>
4578
4579 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4580 user.
4581
4582 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4583
4584 PR c++/7935:
4585 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4586
4587 2010-02-04 Tom Tromey <tromey@redhat.com>
4588
4589 * gdb.cp/virtbase.exp: Make test case names unique.
4590
4591 2010-02-02 Tom Tromey <tromey@redhat.com>
4592
4593 * gdb.cp/virtbase.exp: Add regression tests.
4594 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4595 (main): Instantiate RHC.
4596
4597 2010-02-02 Tom Tromey <tromey@redhat.com>
4598
4599 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4600 type-printing change.
4601
4602 2010-02-02 Tom Tromey <tromey@redhat.com>
4603
4604 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4605 * gdb.cp/virtbase.cc: New file.
4606 * gdb.cp/virtbase.exp: New file.
4607 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4608
4609 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4610
4611 PR libc/11214:
4612 * gdb.threads/current-lwp-dead.c: Include features.h.
4613 (HAS_NOMMU): New.
4614 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4615
4616 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4617
4618 * gdb.base/symbol-without-target_section.exp,
4619 gdb.base/symbol-without-target_section.c: New.
4620
4621 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4622
4623 * gdb.base/bigcore.exp: Reset increased timeout.
4624 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4625
4626 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4627
4628 * gdb.base/gcore.exp (capture_command_output): Use
4629 gdb_test_multiple.
4630
4631 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4632
4633 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4634 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4635 (Top level): Call it.
4636
4637 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4638
4639 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4640
4641 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4642
4643 * gdb.base/call-strs.exp, gdb.base/default.exp,
4644 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4645 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4646 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4647 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4648 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4649 * gdb.base/ending-run.exp: Correct restore of timeout.
4650 * gdb.base/page.exp: Remove unnecessary timeout setting.
4651
4652 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4653
4654 * gdb.ada/rec_return: New testcase.
4655
4656 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4657
4658 * gdb.ada/call_pn: New testcase.
4659
4660 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4661
4662 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4663 (Top level): Use it to resume.
4664 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4665 the Thumb mode displaced stepping error as unsupported.
4666
4667 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4668
4669 * gdb.cp/nsusing.exp: Added more tests.
4670 * gdb.cp/nsrecurs.exp: Ditto.
4671 * gdb.cp/nsusing.cc: Added test functions.
4672 * gdb.cp/nsrecurs.cc: Ditto.
4673
4674 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4675
4676 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4677 absolute directory pathnames in gdb.sum file.
4678
4679 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4680
4681 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4682 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4683
4684 2010-01-26 Tom Tromey <tromey@redhat.com>
4685
4686 PR exp/7643:
4687 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4688 setup_kfail.
4689
4690 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4691
4692 * gdb.cp/nsrecurs.exp: New test.
4693 * gdb.cp/nsrecurs.cc: New test program.
4694 * gdb.cp/nsstress.exp: New test.
4695 * gdb.cp/nsstress.cc: New test program.
4696 * gdb.cp/nsdecl.exp: New test.
4697 * gdb.cp/nsdecl.cc: New test program.
4698
4699 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4700
4701 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4702 imported into file scope.
4703 Marked test as xfail.
4704 * gdb.cp/namespace-using.cc (marker5): New function.
4705 * gdb.cp/shadow.exp: New test.
4706 * gdb.cp/shadow.cc: New test program.
4707 * gdb.cp/nsimport.exp: New test.
4708 * gdb.cp/nsimport.cc: New test program.
4709
4710 2010-01-25 Tom Tromey <tromey@redhat.com>
4711
4712 PR gdb/11049:
4713 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4714 with "set print null-stop on".
4715
4716 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4717
4718 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4719 Adjust it for DISASSEMBLY_OMIT_FNAME.
4720
4721 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4722
4723 PR symtab/11199:
4724 * gdb.dwarf2/member-ptr-forwardref.exp,
4725 gdb.dwarf2/member-ptr-forwardref.S: New.
4726
4727 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4728
4729 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4730 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4731 thread1_tid_mutex. Remove gdbstop_mutex handling.
4732 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4733 thread2_tid_mutex. Remove gdbstop_mutex handling.
4734 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4735 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4736 pthread_cond_wait conditionalizations by while loops.
4737
4738 2010-01-20 Tom Tromey <tromey@redhat.com>
4739
4740 PR backtrace/10770:
4741 * gdb.dwarf2/pr10770.exp: New file.
4742 * gdb.dwarf2/pr10770.c: New file.
4743 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4744
4745 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4746
4747 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4748 that target was removed, and the test always runs native anyway.
4749
4750 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4751
4752 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4753 gdb.base/watchpoint-cond-gone-stripped.c: New.
4754
4755 2010-01-19 Tom Tromey <tromey@redhat.com>
4756
4757 PR c++/8000:
4758 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4759 existing tests.
4760 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4761 (main): Use AAA::SomeEnum.
4762
4763 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4764
4765 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4766 (test_ignore_count): Declare line_callme_body global.
4767 (run to breakpoint with ignore count): Use line_callme_body.
4768 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4769 (set line_main_hello, set line_main_return): Reindent.
4770 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4771 New.
4772 (continue to callee4): Use line_callee4_body.
4773 (check *stopped from CLI command): Use line_callee4_next.
4774 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4775 (set line_main_hello, set line_main_return): Reindent.
4776 (set line_callee4_head, set line_callee4_body): New.
4777 (continue to callee4): Use line_callee4_body.
4778
4779 2010-01-18 Tom Tromey <tromey@redhat.com>
4780
4781 PR c++/9680:
4782 * gdb.cp/casts.cc: Add new classes and variables.
4783 * gdb.cp/casts.exp: Test new operators.
4784
4785 2010-01-18 Tom Tromey <tromey@redhat.com>
4786 Thiago Jung Bauermann <bauerman@br.ibm.com>
4787
4788 * gdb.python/source2.py: New file.
4789 * gdb.python/source1: New file.
4790 * gdb.python/python.exp: Test "source" command.
4791
4792 2010-01-15 Stan Shebs <stan@codesourcery.com>
4793
4794 * gdb.trace/tfile.c: New file.
4795 * gdb.trace/tfile.exp: New file.
4796
4797 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4798
4799 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4800
4801 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4802
4803 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4804
4805 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4806
4807 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4808 (libfunc): New parameter action. Implement also selectable "sleep".
4809 * gdb.base/break-interp-main.c: Include assert.h.
4810 (libfunc): New parameter action.
4811 (main): New parameters argc and argv. Assert argc. Pass argv.
4812 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4813 (test_attach): New proc.
4814 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4815 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4816
4817 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4818
4819 * gdb.base/break-interp.exp (test_core): New proc.
4820 (test_ld): Call it.
4821
4822 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4823
4824 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4825 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4826 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4827 and gdb_compile_shlib. Use new -Wl compiler options.
4828 (dl bt, main bt): New tests.
4829
4830 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4831
4832 Support PIEs with no symfile_objfile.
4833 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4834 (test_ld): New parameter trynosym.
4835 (test_ld <$trynosym>): New block.
4836
4837 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4838
4839 * gdb.base/break-interp.exp: New file.
4840
4841 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4842
4843 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4844 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4845 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4846 test.
4847 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4848 * gdb.python/py-mi.exp: Add lazy string test.
4849
4850 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4851
4852 * lib/mi-support.exp (mi_check_thread_states): Handle
4853 core number in thread listing.
4854
4855 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4856
4857 * gdb.base/maint.exp: Adjust the expected output for the
4858 "maint print type" test. Use gdb_test_multiple instead of
4859 gdb_sent/gdb_expect.
4860
4861 2010-01-11 Doug Evans <dje@google.com>
4862
4863 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4864 from gdbserver_download. All callers updated.
4865
4866 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4867
4868 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4869
4870 Implement binary numbers parsing.
4871 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4872 (test_integer_literals_rejected): New binary tests.
4873
4874 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4875
4876 * gdb.cell/configure: Regenerate.
4877
4878 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4879
4880 * gdb.base/corefile.exp: Move the core finding block out and call it as
4881 core_find, new variable $corefile, replace corefile by $corefile and
4882 [file tail $corefile] for usage vs. test names resp.
4883 * lib/gdb.exp (core_find): Move it as a new function here. New
4884 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4885 $destcore. Return "" on error.
4886
4887 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4888
4889 Workaround PR binutils/10802.
4890 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4891 (twice).
4892
4893 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4894
4895 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4896
4897 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4898
4899 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4900 call, to avoid interruption.
4901
4902 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4903
4904 * gdb.stabs/weird.def (args93): New.
4905
4906 2010-01-07 Doug Evans <dje@google.com>
4907
4908 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4909
4910 2010-01-07 Tom Tromey <tromey@redhat.com>
4911
4912 * gdb.base/source.exp: Use correct line number.
4913
4914 2010-01-05 Stan Shebs <stan@codesourcery.com>
4915
4916 * gdb.trace/tracecmd.exp: Test ftrace.
4917
4918 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4919
4920 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4921
4922 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4923
4924 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4925 "uint_for_mi_testing".
4926
4927 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4928
4929 Test indented comment in file being sourced.
4930 * gdb.base/commands.exp: Test indented comment in file being sourced.
4931
4932 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4933
4934 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4935 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4936 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4937 notice.
4938
4939 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4940
4941 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4942 notice.
4943
4944 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4945
4946 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4947 missing $after_stopped and comma (,) expectation.
4948
4949 2009-12-31 Stan Shebs <stan@codesourcery.com>
4950
4951 * gdb.trace/actions.exp: Test teval action.
4952
4953 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4954
4955 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4956 (top level): Call test_watchpoint_in_big_blob.
4957 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4958 watchpoints.
4959 (func3): Write to buf.
4960
4961 2009-12-29 Stan Shebs <stan@codesourcery.com>
4962
4963 * gdb.trace/actions.exp: Test default-collect.
4964
4965 2009-12-28 Stan Shebs <stan@codesourcery.com>
4966
4967 * gdb.trace/tsv.exp: New file.
4968 * gdb.base/completion.exp: Update ambiguous info output.
4969
4970 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4971
4972 * gdb.base/find.c (main): Reference search buffers.
4973 * gdb.base/included.c (main): Reference integer.
4974 * gdb.base/ptype.c (charfoo): Declare.
4975 (intfoo): Call charfoo.
4976 * gdb.base/scope0.c (useitp): New function.
4977 (usestatics): Use useitp.
4978 (useit): Add a type for val.
4979 * gdb.base/scope1.c (useit1): Take a pointer argument.
4980 (usestatics1): Update calls to useit1.
4981 * gdb.cp/call-c.cc: Declare foo.
4982 (main): Call foo.
4983 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4984 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4985 (main): Call C::ensureRefs and ensureOtherRefs.
4986 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4987 variables.
4988 (ensureOtherRefs): New function.
4989 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4990 * gdb.cp/templates.cc (main): Call t5i.value.
4991
4992 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4993
4994 Fix compatibility with G++-4.5.
4995 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4996 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4997 (uncaught return): Remove.
4998
4999 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5000 Phil Muldoon <pmuldoon@redhat.com>
5001
5002 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5003 (bp_location13, bp_location14, bp_location17, bp_location18)
5004 (marker3_proto, marker4_proto): New variables.
5005 (breakpoint info): Update output.
5006 (run until breakpoint at marker3, run until breakpoint at marker4): New
5007 tests.
5008
5009 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5010
5011 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5012 Replace the printf call of Y by provided "y-set-1" label. New block
5013 for the second shared library.
5014 * gdb.base/unload.exp: Compile also the second library, call
5015 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5016 (single pending breakpoint info): Rename to ...
5017 (pending breakpoint info before run): ... this extended test.
5018 (libfile2, libname2, libsrcfile2, libsrc2)
5019 (lib_sl2): New variables.
5020 (exec_opts): Set also SHLIB_NAME2.
5021 (pending breakpoint info on first run at shrfunc1)
5022 (pending breakpoint info on second run at shrfunc1)
5023 (pending breakpoint info on second run at shrfunc2)
5024 (print y from libfile, print y from libfile2): New tests.
5025 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5026 * gdb.base/unloadshr2.c: New.
5027
5028 2009-12-22 Hui Zhu <teawater@gmail.com>
5029
5030 * gdb.reverse/sigall-reverse.exp: Adjust.
5031
5032 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5033
5034 PR gdb/10884
5035
5036 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5037 (main): Call do_bitfield_tests.
5038 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
5039
5040 2009-12-20 Joel Brobecker <brobecker@adacore.com>
5041
5042 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5043 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5044 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5045 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5046 gdb.modula2/unbounded1.c: Update copyright header.
5047
5048 2009-12-10 Chris Moller <moller@mollerware.com>
5049
5050 PR gdb/9399
5051 * gdb.cp/virtfunc2.exp: New tests
5052 * gdb.cp/virtfunc2.cc: New tests
5053 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5054
5055 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5056
5057 * gdb.reverse/i387-env-reverse.c: New file.
5058 * gdb.reverse/i387-env-reverse.exp: New file.
5059 * gdb.reverse/i387-stack-reverse.c: New file.
5060 * gdb.reverse/i387-stack-reverse.exp: New file.
5061
5062 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5063
5064 * gdb.python/py-type.exp (test_range): New test.
5065
5066 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5067
5068 PR python/10805
5069
5070 * gdb.python/py-type.exp: New file.
5071 * gdb.python/py-type.c: New file.
5072 * Makefile.in: Add py-type.
5073
5074 2009-12-03 Tom Tromey <tromey@redhat.com>
5075
5076 * gdb.python/py-value.exp (test_parse_and_eval): New
5077 function.
5078
5079 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5080
5081 PR gdb/11022
5082
5083 * gdb.base/pr11022.exp: New test.
5084 * gdb.base/pr11022.c: New test.
5085
5086 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5087
5088 Fix spurious false FAILs.
5089 * gdb.base/structs.c (chartest): New.
5090 (main): Fill-in chartest.
5091 * gdb.base/structs.exp (anychar_re, first): New.
5092 (start_structs_test): Import global anychar_re and first.
5093 New gdb_test call "set print elements 300; ${testfile}"
5094 (start_structs_test <$first>): New block.
5095 (any): Import global anychar_re. New variable ac. Use ${ac}.
5096
5097 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5098
5099 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5100
5101 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5102
5103 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5104 Force $srcfile file.
5105 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5106
5107 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5108
5109 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5110 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5111 * gdb.threads/watchthreads-reorder.exp: Likewise.
5112
5113 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5114
5115 PR gdb/8704
5116
5117 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5118 "if", and "thread". Correct matching in the previous test.
5119
5120 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5121
5122 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5123
5124 2009-11-23 Michael Snyder <msnyder@vmware.com>
5125
5126 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5127 * gdb.reverse-watch-precsave.exp: Ditto.
5128
5129 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5130
5131 * gdb.asm/asm-source.exp: Adjust.
5132 * gdb.base/help.exp: Adjust.
5133
5134 2009-11-22 Pedro Alves <pedro@codesourcery.com>
5135
5136 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5137 (do_syscall_tests_without_xml): Set data-directory to
5138 /the/path/to/nowhere.
5139
5140 2009-11-21 Pedro Alves <pedro@codesourcery.com>
5141
5142 * gdb.threads/local-watch-wrong-thread.c,
5143 gdb.threads/local-watch-wrong-thread.exp: New files.
5144
5145 2009-11-21 Pedro Alves <pedro@codesourcery.com>
5146
5147 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5148 assume new `regsub' syntax available.
5149
5150 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5151
5152 * gdb.base/watchpoint-hw-hit-once.exp,
5153 gdb.base/watchpoint-hw-hit-once.c: New.
5154
5155 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5156
5157 * gdb.threads/watchthreads-reorder.exp,
5158 gdb.threads/watchthreads-reorder.c: New.
5159
5160 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5161
5162 * gdb.xml/tdesc-regs.exp: Use for m68k.
5163
5164 2009-11-15 Pedro Alves <pedro@codesourcery.com>
5165
5166 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5167
5168 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5169
5170 * lib/gdb.exp (current_target_name): New procedure.
5171 (gdb_wrapper_target): New variable.
5172 (gdb_wrapper_init): Set gdb_wrapper_target.
5173 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5174 wrapper.
5175
5176 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5177
5178 * gdb.base/remote.exp: Delete the slowest load test.
5179 Do not load with fixed packet sizes.
5180
5181 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5182
5183 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5184
5185 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5186
5187 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5188 srcfile when setting a breakpoint.
5189
5190 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5191
5192 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5193 macros.
5194
5195 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5196
5197 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5198 to be in memory.
5199 * gdb.base/display.c (force_mem): New.
5200 (do_loops): Use it. Add breakpoint comments.
5201 (do_vars): Add a breakpoint comment.
5202 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5203 line numbers.
5204
5205 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5206
5207 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5208 instead of a bare "run".
5209
5210 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5211
5212 * gdb.python/py-prettyprint.exp: Adjust.
5213
5214 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5215
5216 * lib/cell.exp (skip_cell_tests): Clean up test files before
5217 returning.
5218
5219 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5220
5221 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5222 and the breakpoint menu. Do not call perror if a prompt is seen.
5223 Consume the following GDB prompt.
5224 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5225 * gdb.cp/namespace.exp: Use gdb_test.
5226 * gdb.cp/templates.exp: Use gdb_test.
5227 (test_template_breakpoints): Use gdb_test_multiple.
5228
5229 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5230
5231 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5232 (marker4): Reference values.
5233
5234 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5235
5236 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5237 is missing.
5238
5239 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5240
5241 * gdb.base/break.c (need_malloc): New.
5242 * gdb.base/constvars.c (main): Reference crass and crisp.
5243 * gdb.base/gdb1821.c (main): Reference bar.
5244 * gdb.cp/gdb1355.cc (main): Reference s1.
5245 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5246 (main): Call them.
5247 * gdb.cp/hang2.cc (dummy2): Define.
5248 * gdb.cp/hang3.cc (dummy3): Define.
5249 * gdb.cp/m-data.cc (main): Reference shadow.
5250
5251 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5252 Nathan Froyd <froydnj@codesourcery.com>
5253
5254 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5255 remote host.
5256
5257 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5258
5259 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5260 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5261 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5262 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5263 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5264 * gdb.dwarf2/dw2-producer.exp: Likewise.
5265 * gdb.dwarf2/mac-fileno.exp: Likewise.
5266 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5267 py-prettyprint.py to the remote host.
5268 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5269
5270 2009-11-11 Keith Seitz <keiths@redhat.com>
5271
5272 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5273 use it instead of "Foo".
5274 * gdb.cp/classes.exp (do_tests): Add a test to access
5275 a method through a typedef'd class name.
5276
5277 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5278
5279 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5280 exponents.
5281 * gdb.base/pointers.exp: Likewise.
5282 * gdb.cp/ref-types.exp: Likewise.
5283
5284 2009-11-11 Keith Seitz <keiths@redhat.com>
5285
5286 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5287 new[] and delete[].
5288 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5289 "void".
5290 (probe_demangler): Remove all single-quoting of
5291 method and variable names.
5292 (info_func_regexp): Remove the word "void" from any
5293 occurrence of "(void)".
5294 (print_addr_2): Remove all single-quoting of
5295 method names.
5296 (print_addr_2_kfail): Likewise.
5297 (print_addr): Single-quote C function names before
5298 passing to print_addr_2.
5299 (test_paddr_operator_functions): Remove single-quoting
5300 for method names.
5301 Add tests for operator new[] and operator delete[].
5302
5303 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5304
5305 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5306
5307 2009-11-09 Keith Seitz <keiths@redhat.com>
5308
5309 * gdb.cp/overload.exp: Add tests for resolving overloaded
5310 methods in expression parsing/evaluation.
5311
5312 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5313
5314 * lib/gdb.exp (default_gdb_version): Use --version instead of
5315 --command.
5316
5317 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5318
5319 * lib/gdb.exp (gdb_compile_test): New.
5320 (skip_ada_tests, skip_java_tests): New.
5321 (gdb_compile): Use gdb_compile_test for f77.
5322 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5323 * lib/java.exp (compile_java_from_source): Remove runtests check,
5324 use gdb_compile_test to record result.
5325 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5326 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5327 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5328 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5329 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5330 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5331 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5332 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5333 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5334 adjust gdb_compile invocations.
5335
5336 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5337
5338 * Makefile.in (abs_builddir): New.
5339 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5340 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5341 `$(abs_builddir)/site.exp'.
5342
5343 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5344
5345 * config/m68k-emc.exp, lib/emc-support.exp,
5346 gdb.trace/gdb_c_test.c: Delete.
5347 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5348 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5349 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5350 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5351 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5352 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5353 casing for m68k-*-elf.
5354
5355 2009-11-03 Pedro Alves <pedro@codesourcery.com>
5356
5357 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5358 * gdb.arch/i386-prologue.exp: Likewise.
5359 * gdb.arch/i386-unwind.exp: Likewise.
5360
5361 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5362
5363 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5364
5365 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5366
5367 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5368
5369 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5370
5371 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5372
5373 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5374
5375 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5376
5377 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5378
5379 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5380 * gdb.base/sepdebug2.c: New file.
5381
5382 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5383
5384 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5385 the modified warnings for catch syscall. Verify if GDB was compiled
5386 with support for lib expat, and choose which tests to run depending
5387 on this.
5388
5389 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5390
5391 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5392 that composite commands are parsed OK. And also test
5393 that breakpoint commands do work.
5394
5395 2009-10-23 Michael Snyder <msnyder@vmware.com>
5396
5397 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5398 to allow for new disassembly style.
5399
5400 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5401
5402 * gdb.asm/asm-source.exp: Adjust.
5403
5404 2009-10-22 Michael Snyder <msnyder@vmware.com>
5405
5406 * gdb.reverse/break-precsave.exp: New test.
5407 * gdb.reverse/consecutive-precsave.exp: Ditto.
5408 * gdb.reverse/finish-precsave.exp: Ditto.
5409 * gdb.reverse/i386-precsave.exp: Ditto.
5410 * gdb.reverse/machinestate-precsave.exp: Ditto.
5411 * gdb.reverse/sigall-precsave.exp: Ditto.
5412 * gdb.reverse/solilb-precsave.exp: Ditto.
5413 * gdb.reverse/step-precsave.exp: Ditto.
5414 * gdb.reverse/until-precsave.exp: Ditto.
5415 * gdb.reverse/watch-precsave.exp: Ditto.
5416
5417 2009-10-22 Michael Snyder <msnyder@vmware.com>
5418
5419 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5420 for gdb_expect. Adjust one test's expect strings for the new
5421 format of disassemble.
5422 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5423 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5424 gdb_test_multiple.
5425 * gdb.reverse/step-reverse.exp: Delete 'return'.
5426 * gdb.reverse/until-reverse.exp: Delete blank lines.
5427 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5428
5429 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5430
5431 * gdb.base/consecutive.exp: Adjust.
5432 * gdb.base/display.exp: Likewise.
5433 * gdb.base/pc-fp.exp: Likewise.
5434 * gdb.base/sigbpt.exp: Likewise.
5435
5436 2009-10-19 Michael Snyder <msnyder@vmware.com>
5437
5438 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5439 * gdb.reverse/finish-reverse.c: Ditto.
5440 * gdb.reverse/sigall-reverse.c: Ditto.
5441 * gdb.reverse/solib-reverse.c: Ditto.
5442 * gdb.reverse/step-reverse.c: Ditto.
5443 * gdb.reverse/watch-reverse.c: Ditto.
5444
5445 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5446 Stan Shebs <stan@codesourcery.com>
5447
5448 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5449 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5450 "Executing new program".
5451 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5452 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5453 left listed after having been killed.
5454 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5455 * gdb.base/maint.exp: Adjust test.
5456
5457 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5458 * gdb.multi/Makefile.in: New.
5459 * gdb.multi/base.exp: New.
5460 * gdb.multi/goodbye.c: New.
5461 * gdb.multi/hangout.c: New.
5462 * gdb.multi/hello.c: New.
5463 * gdb.multi/bkpt-multi-exec.c: New.
5464 * gdb.multi/bkpt-multi-exec.exp: New.
5465 * gdb.multi/crashme.c: New.
5466
5467 2009-10-13 Tristan Gingold <gingold@adacore.com>
5468
5469 * gdb.base/sepdebug.exp: Check debug info are found.
5470
5471 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5472
5473 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5474 bits.
5475
5476 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5477
5478 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5479
5480 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5481
5482 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5483 of the comments.
5484
5485 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5486
5487 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5488 * gdb.base/annota3.exp: Idem.
5489 * gdb.base/maint.exp: Idem.
5490
5491 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5492
5493 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5494 to default.
5495
5496 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5497
5498 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5499 mingw and cygwin targets.
5500
5501 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5502 Pedro Alves <pedro@codesourcery.com>
5503
5504 * lib/gdb.exp (gdb_compile): Avoid adding
5505 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5506
5507 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5508
5509 * gdb.base/shr1.c: Use %p in format string.
5510 * gdb.base/unload.c: Avoid warning in fprintf.
5511 * gdb.base/watchpoint-solib.c: Idem.
5512
5513 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5514
5515 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5516 long type.
5517 (test_unlink): Correct printf string.
5518 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5519 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5520
5521 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5522
5523 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5524 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5525 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5526
5527 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5528
5529 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5530 * gdb.objc/nondebug.exp: Likewise.
5531
5532 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5533
5534 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5535 target_info setting.
5536
5537 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5538 that detect new threads during "info threads".
5539
5540 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5541
5542 * gdb.threads/manythreads.c (main): Increase thread stack size
5543 to 2*PTHREAD_STACK_MIN.
5544 * gdb.threads/multi-create.c (main): Likewise.
5545 (create_function): Likewise.
5546
5547 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5548
5549 * gdb.base/dump.exp: Pass difference of pointer types instead
5550 of integer types as offset to restore in intarr3.srec case.
5551
5552 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5553
5554 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5555
5556 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5557
5558 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5559
5560 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5561
5562 New test for two watchpoints, with disabling of
5563 the first inserted.
5564 * testsuite/gdb.base/watchpoints.c: New file.
5565 * testsuite/gdb.base/watchpoints.exp: New file.
5566
5567 2009-09-25 Tom Tromey <tromey@redhat.com>
5568
5569 * gdb.base/charset.exp: Test utf-16 strings with Python.
5570
5571 2009-09-25 Tom Tromey <tromey@redhat.com>
5572
5573 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5574 UCS-4.
5575 * gdb.base/charset.c (utf_32_string): Rename.
5576 (init_utf32): Rename.
5577 (main): Update.
5578
5579 2009-09-22 Tom Tromey <tromey@redhat.com>
5580
5581 * gdb.python/py-function.exp: Add regression tests.
5582
5583 2009-09-21 Keith Seitz <keiths@redhat.com>
5584
5585 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5586 with invalid operator.
5587
5588 2009-09-21 Keith Seitz <keiths@redhat.com>
5589
5590 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5591 and destructor using typedef name of class.
5592 * gdb.cp/classes.cc (class Base1): Add a destructor.
5593 (base1): New typedef.
5594 (use_methods): Instanitate an object of type base1.
5595 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5596 (do_tests): Call test_template_typedef.
5597 * gdb.cp/templates.cc (Baz::~Baz): New method.
5598 (intBazOne): New typedef.
5599 (main): Instantiate intBazOne.
5600
5601 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5602
5603 PR python/10633
5604
5605 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5606 Function.
5607 (run_lang_tests): Add print elements test.
5608
5609 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5610
5611 * gdb.python/py-value.exp (test_subscript_regression): New
5612 function. Test for invalid subscripts.
5613 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5614 (ptr_ref): New function.
5615
5616 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5617
5618 * gdb.base/default.exp: Fix "show convenience".
5619
5620 2009-09-15 Tom Tromey <tromey@redhat.com>
5621
5622 * lib/mi-support.exp (mi_create_varobj): Update.
5623 (mi_create_floating_varobj): Likewise.
5624 (mi_create_dynamic_varobj): New proc.
5625 (mi_varobj_update): Update.
5626 (mi_varobj_update_with_type_change): Likewise.
5627 (mi_varobj_update_kv_helper): New proc.
5628 (mi_varobj_update_dynamic_helper): Rewrite.
5629 (mi_varobj_update_dynamic): New proc.
5630 (mi_list_varobj_children): Update.
5631 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5632 * gdb.python/python-prettyprint.py (pp_outer): New class.
5633 (pp_nullstr): Likewise.
5634 (lookup_function): Register new printers.
5635 * gdb.python/python-prettyprint.c (struct substruct): New type.
5636 (struct outerstruct): Likewise.
5637 (substruct_test): New function.
5638 (struct nullstr): New type.
5639 (string_1, string_2): New globals.
5640 (main): Add new tests.
5641 * gdb.python/python-mi.exp: Added regression tests.
5642 * gdb.mi/mi2-var-display.exp: Update.
5643 * gdb.mi/mi2-var-cmd.exp: Update.
5644 * gdb.mi/mi2-var-child.exp: Update.
5645 * gdb.mi/mi2-var-block.exp: Update.
5646 * gdb.mi/mi-var-invalidate.exp: Update.
5647 * gdb.mi/mi-var-display.exp: Update.
5648 * gdb.mi/mi-var-cmd.exp: Update.
5649 * gdb.mi/mi-var-child.exp: Update.
5650 * gdb.mi/mi-var-block.exp: Update.
5651 * gdb.mi/mi-break.exp: Update.
5652 * gdb.mi/gdb701.exp: Update.
5653
5654 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5655
5656 * Makefile.in: Inclusion of catch-syscall object.
5657 * gdb.base/catch-syscall.c: New file.
5658 * gdb.base/catch-syscall.exp: New file.
5659
5660 2009-09-12 Michael Snyder <msnyder@vmware.com>
5661
5662 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5663 that can support reverse debuggnig.
5664
5665 2009-09-11 Tom Tromey <tromey@redhat.com>
5666
5667 * gdb.dwarf2/valop.S: New file.
5668 * gdb.dwarf2/valop.exp: New file.
5669
5670 2009-09-11 Mark Kettenis <kettenis@gnu.org>
5671
5672 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5673
5674 2009-09-10 Doug Evans <dje@google.com>
5675
5676 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5677 Add $gdb_prompt to second breakpoint regexp.
5678
5679 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5680
5681 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5682 names, add missing ones.
5683 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5684 * gdb.python/py-frame.c: Rename from python-frame.c.
5685 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5686 testfile name.
5687 * gdb.python/py-function.exp: Rename from python-function.exp.
5688 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5689 testfile name.
5690 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5691 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5692 Adjust testfile name.
5693 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5694 * gdb.python/py-template.cc: Rename from python-template.cc.
5695 * gdb.python/py-template.exp: Rename from python-template.exp.
5696 Adjust testfile name.
5697 * gdb.python/py-value.c: Rename from python-value.c.
5698 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5699 testfile name.
5700
5701 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5702
5703 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5704 $bpt2address.
5705 (Second breakpoint address is valid on ia64)
5706 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5707
5708 2009-09-03 Joseph Myers <joseph@codesourcery.com>
5709
5710 * gdb.base/ending-run.exp: Restrict regular expression matching
5711 line number to require closing brace following.
5712
5713 2009-09-03 Doug Evans <dje@google.com>
5714
5715 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5716
5717 2009-09-02 Tom Tromey <tromey@redhat.com>
5718
5719 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5720
5721 2009-09-02 Tom Tromey <tromey@redhat.com>
5722
5723 * gdb.dwarf2/callframecfa.exp: New file.
5724 * gdb.dwarf2/callframecfa.S: New file.
5725
5726 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5727
5728 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5729 gdb.base/solib-overlap-main.c: New.
5730
5731 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5732
5733 PR gdb/10565
5734
5735 * gdb.base/bitfields.c (struct container, container): New.
5736 (main): Initialize it and call break5.
5737 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5738
5739 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5740
5741 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5742 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5743
5744 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5745
5746 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5747
5748 2009-08-26 Michael Snyder <msnyder@vmware.com>
5749
5750 * gdb.base/i386-reverse.c: New file.
5751 * gdb.base/i386-reverse.exp: New file.
5752 * gdb.base/Makefile.in: Add new files to be removed.
5753
5754 2009-08-26 Joseph Myers <joseph@codesourcery.com>
5755
5756 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5757 environment-pwd for remote host.
5758 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5759
5760 2009-08-24 Keith Seitz <keiths@redhat.com>
5761
5762 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5763 Add two new C++ completer tests which limit the output to a
5764 given class.
5765
5766 2009-08-24 Michael Snyder <msnyder@vmware.com>
5767
5768 * gdb.base/del.exp: Fix typo in comment.
5769 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5770
5771 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5772
5773 * configure: Regenerate.
5774 * gdb.hp/configure: Likewise.
5775 * gdb.hp/gdb.aCC/configure: Likewise.
5776 * gdb.hp/gdb.base-hp/configure: Likewise.
5777 * gdb.hp/gdb.compat/configure: Likewise.
5778 * gdb.hp/gdb.defects/configure: Likewise.
5779 * gdb.hp/gdb.objdbg/configure: Likewise.
5780 * gdb.stabs/configure: Likewise.
5781
5782 2009-08-19 Doug Evans <dje@google.com>
5783
5784 * gdb.base/gdbvars.c: New file.
5785 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5786
5787 2009-08-14 Pedro Alves <pedro@codesourcery.com>
5788
5789 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5790 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5791
5792 2009-08-13 Pedro Alves <pedro@codesourcery.com>
5793
5794 * gdb.base/default.exp: Adjust "set language test": it's now an
5795 enum command. Larger help string moved to "help set language".
5796 * gdb.base/help.exp: Adjust "help set language" expected output,
5797 now lists all known languages.
5798
5799 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5800
5801 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5802 all frame arguments.
5803 * gdb.arch/altivec-regs.exp: Likewise.
5804
5805 2009-08-07 Tom Tromey <tromey@redhat.com>
5806
5807 * gdb.base/setshow.exp: Add tests for changes to set language, set
5808 check range, and set check type.
5809
5810 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5811
5812 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5813 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
5814 Call it.
5815
5816 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5817
5818 * configure.ac: Run gdb.cell tests when appropriate.
5819 * configure: Regenerate.
5820 * lib/cell.exp: New file.
5821 * gdb.cell: New directory.
5822 * gdb.cell/configure.ac: New file.
5823 * gdb.cell/configure: New file.
5824 * gdb.cell/Makefile.in: New file.
5825 * gdb.cell/arch.exp: New file.
5826 * gdb.cell/break.c: New file.
5827 * gdb.cell/break.exp: New file.
5828 * gdb.cell/break-spu.c: New file.
5829 * gdb.cell/bt.c: New file.
5830 * gdb.cell/bt2-spu.c: New file.
5831 * gdb.cell/bt-spu.c: New file.
5832 * gdb.cell/bt.exp: New file.
5833 * gdb.cell/coremaker.c: New file.
5834 * gdb.cell/coremaker-spu.c: New file.
5835 * gdb.cell/core.exp: New file.
5836 * gdb.cell/gcore.exp: New file.
5837 * gdb.cell/data.c: New file.
5838 * gdb.cell/data.exp: New file.
5839 * gdb.cell/data-spu.c: New file.
5840 * gdb.cell/ea-cache.exp: New file.
5841 * gdb.cell/ea-cache.c: New file.
5842 * gdb.cell/ea-cache-spu.c: New file.
5843 * gdb.cell/ea-standalone.c: New file.
5844 * gdb.cell/ea-standalone.exp: New file.
5845 * gdb.cell/ea-test.c: New file.
5846 * gdb.cell/ea-test.exp: New file.
5847 * gdb.cell/f-regs.exp: New file.
5848 * gdb.cell/mem-access.c: New file.
5849 * gdb.cell/mem-access.exp: New file.
5850 * gdb.cell/mem-access-spu.c: New file.
5851 * gdb.cell/ptype.exp: New file.
5852 * gdb.cell/registers.exp: New file.
5853 * gdb.cell/size.c: New file.
5854 * gdb.cell/sizeof.exp: New file.
5855 * gdb.cell/size-spu.c: New file.
5856 * gdb.cell/solib.exp: New file.
5857 * gdb.cell/solib-symbol.exp: New file.
5858
5859 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5860
5861 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5862
5863 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5864
5865 * gdb.base/float.exp: Handle VFP registers.
5866
5867 2009-07-14 Michael Snyder <msnyder@vmware.com>
5868
5869 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5870 to bring gdb to the beginning of the calling line.
5871
5872 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5873 confusing the i386 epilogue unwinder.
5874
5875 2009-07-14 Stan Shebs <stan@codesourcery.com>
5876
5877 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5878
5879 2009-07-14 Michael Snyder <msnyder@vmware.com>
5880
5881 * gdb.reverse/step-reverse.exp (stepi into function call):
5882 Call instruction may not be first instruction in the line.
5883 (reverse stepi from a function call): Used wrong line number.
5884
5885 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5886
5887 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5888
5889 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5890
5891 Fix gdb.base/macscp.exp when using custom inputrc.
5892 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5893 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5894 env(TERM) set.
5895 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5896 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5897
5898 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5899
5900 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5901 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5902 Change the compilation target to match the testcase name.
5903 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5904 testcase name.
5905 * a2-run.exp: Use for setup prepare_for_testing. Change the
5906 compilation target to match the testcase name.
5907 * gdb.base/commands.exp: Likewise.
5908 * gdb.base/finish.exp: Likewise.
5909 * gdb.base/float.exp: Likewise.
5910 * gdb.base/info-target.exp: Likewise.
5911 * gdb.base/relational.exp: Likewise.
5912 * gdb.base/term.exp: Likewise.
5913 * gdb.base/until.exp: Likewise.
5914 * gdb.base/volatile.exp: Likewise.
5915 * gdb.base/whatis-exp.exp: Likewise.
5916
5917 2009-07-11 Hui Zhu <teawater@gmail.com>
5918
5919 * gdb.base/help.exp (disassemble): Update expected help text.
5920
5921 2009-07-09 Tom Tromey <tromey@redhat.com>
5922
5923 * lib/gdb.exp: Handle TRANSCRIPT.
5924 (remote_spawn, remote_close, send_gdb): New procs.
5925
5926 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5927
5928 * gdb.python/python-prettyprint.c: Add counted null string
5929 structure.
5930 * gdb.python/python-prettyprint.exp: Print null string. Test for
5931 embedded nulls.
5932 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5933 * gdb.python/python-value.exp (test_value_in_inferior): Add
5934 variable length string fetch tests.
5935 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5936
5937 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5938
5939 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5940
5941 2009-07-07 Tom Tromey <tromey@redhat.com>
5942
5943 * gdb.base/call-rt-st.exp: Update for change to escape output.
5944 * gdb.base/callfuncs.exp: Likewise.
5945 * gdb.base/charset.exp: Likewise.
5946 * gdb.base/constvars.exp: Likewise.
5947 * gdb.base/long_long.exp: Likewise.
5948 * gdb.base/pointers.exp: Likewise.
5949 * gdb.base/printcmds.exp: Likewise.
5950 * gdb.base/setvar.exp: Likewise.
5951 * gdb.base/store.exp: Likewise.
5952 * gdb.cp/ref-types.exp: Likewise.
5953 * gdb.mi/mi-var-child.exp: Likewise.
5954 * gdb.mi/mi-var-display.exp: Likewise.
5955 * gdb.mi/mi2-var-display.exp: Likewise.
5956 * gdb.base/charset.exp: Test octal escape sequence length.
5957 Update for change to escape output.
5958
5959 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5960
5961 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5962
5963 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5964
5965 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5966
5967 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5968
5969 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5970 gdbserver increasing $portnum if "Can't bind address" has been seen.
5971
5972 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5973
5974 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5975 mingw32ce.
5976
5977 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5978
5979 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5980 VFP format.
5981
5982 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5983
5984 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5985 linux. Adjust to use "inferior", "info inferiors", "detach
5986 inferior" and "kill inferior" instead of "restart", "info fork",
5987 "detach fork" and "delete fork".
5988 * gdb.base/ending-run.exp: Spell out "info".
5989 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5990 the "kill" command.
5991
5992 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5993
5994 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5995 change to prefix TLS offset in hex with 0x.
5996
5997 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5998
5999 * gdb.base/default.exp: Update test case for "x" changes.
6000
6001 2009-07-01 Tristan Gingold <gingold@adacore.com>
6002
6003 * gdb.base/bigcore.exp: Make darwin untested.
6004
6005 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6006
6007 * gdb.base/completion.exp (directory completion): Create the directory.
6008 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6009 escapeuniquesub.
6010 (directory completion 2): Expect now ${escapeuniquesub}.
6011 (Glob remaining of directory test): Remove one excessive newline.
6012 Expect the real output.
6013
6014 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6015
6016 Fix `make check//%' target after `make check' has been ran.
6017 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6018 a mkdir call.
6019 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6020 (%/.dir): Remove.
6021
6022 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6023
6024 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6025 the expected result record.
6026
6027 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6028
6029 Remove racy FAILs relying just on the timeouts.
6030 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6031 (annotation_level 2): Remove racy FAILs.
6032
6033 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6034
6035 gdb/10275
6036 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6037
6038 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6039
6040 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6041
6042 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6043
6044 * gdb.mi/mi-stack.exp: Testing symbolic options
6045 to -stack-list-locals and -stack-list-arguments.
6046
6047 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6048
6049 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6050
6051 2009-06-29 Tom Tromey <tromey@redhat.com>
6052
6053 * dg-extract-results.sh: New file.
6054 * Makefile.in (FORCE_PARALLEL): New variable.
6055 (CHECK_TARGET): New conditional variable.
6056 (check): Use CHECK_TARGET.
6057 (DO_RUNTEST): New variable.
6058 (check-single): New target.
6059 (TEST_DIRS): New variable.
6060 (TEST_TARGETS): Likewise.
6061 (check-parallel): New target.
6062 (check-gdb.%): New pattern.
6063 (BASE1_FILES): New variable.
6064 (BASE2_FILES): Likewise.
6065 (check-gdb.base%): New pattern.
6066 (%/.dir): New pattern.
6067 * configure: Rebuild.
6068 * aclocal.m4 (AM_CONDITIONAL): New defun.
6069 * configure.ac: Check whether user is using GNU make.
6070 (GMAKE): New conditional.
6071
6072 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6073
6074 * gdb.cp/namespace-nested-import.cc: New test.
6075 * gdb.cp/namespace-nested-import.exp: New test.
6076
6077 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6078
6079 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6080 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6081 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6082 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6083 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6084 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6085 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6086 gdb.opt/inline-markers.c: New files.
6087 * lib/gdb.exp (skip_inline_frame_tests): New function.
6088 (skip_inline_var_tests): New function.
6089
6090 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6091
6092 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6093 backtrace.
6094
6095 2009-06-27 Michael Snyder <msnyder@vmware.com>
6096
6097 * gdb.reverse: New directory.
6098 * gdb.reverse/break-reverse.c: New test.
6099 * gdb.reverse/break-reverse.exp: New test.
6100 * gdb.reverse/consecutive-reverse.c: New test.
6101 * gdb.reverse/consecutive-reverse.exp: New test.
6102 * gdb.reverse/finish-reverse.c: New test.
6103 * gdb.reverse/finish-reverse.exp: New test.
6104 * gdb.reverse/machinestate.c: New test.
6105 * gdb.reverse/ms1.c: New test.
6106 * gdb.reverse/machinestate.exp: New test.
6107 * gdb.reverse/Makefile.in: New file.
6108 * gdb.reverse/shr2.c: New test.
6109 * gdb.reverse/solib-reverse.c: New test.
6110 * gdb.reverse/solib-reverse.exp: New test.
6111 * gdb.reverse/step-reverse.c: New test.
6112 * gdb.reverse/step-reverse.exp: New test.
6113 * gdb.reverse/until-reverse.c: New test.
6114 * gdb.reverse/ur1.c: New test.
6115 * gdb.reverse/until-reverse.exp: New test.
6116 * gdb.reverse/watch-reverse.c: New test.
6117 * gdb.reverse/watch-reverse.exp: New test.
6118 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6119 * configure: Regenerate.
6120
6121 2009-06-26 Doug Evans <dje@google.com>
6122
6123 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6124
6125 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6126
6127 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6128 windows problem for 'file delete $binfile'.
6129
6130 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6131
6132 * gdb.cp/namespace-using.exp: New test.
6133 * gdb.cp/namespace-using.cc: New test.
6134
6135 2009-05-20 Joel Brobecker <brobecker@adacore.com>
6136
6137 * gdb.ada/variant_record_packed_array: New testcase.
6138
6139 2009-06-23 Tom Tromey <tromey@redhat.com>
6140
6141 * gdb.base/charset.exp (test_combination): Regression test.
6142 * gdb.base/charset.c (my_wchar_t): New typedef.
6143 (myvar): New global.
6144 (main): Set myvar.
6145
6146 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6147
6148 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6149 target.
6150
6151 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6152
6153 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6154
6155 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6156
6157 * gdb.mi/gdb680.exp: Update test for error message.
6158
6159 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6160
6161 * gdb.base/annota1.exp: Allow multiple occurrences of the
6162 frames-invalid annotation.
6163 * gdb.cp/annota2.exp: Likewise.
6164
6165 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6166
6167 * gdb.cp/gdb2495.cc: New file.
6168 * gdb.cp/gdb2495.exp: New file.
6169
6170 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6171
6172 Report error on GDB crash during runto.
6173 * lib/gdb.exp (runto <eof>): New.
6174
6175 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6176
6177 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6178 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6179 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6180 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6181 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6182 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6183 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6184 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6185 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6186 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6187 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6188 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6189 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6190 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6191 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6192 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6193 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6194 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6195 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6196 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6197 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6198 gdb.trace/passcount.exp, gdb.trace/report.exp,
6199 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6200 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6201 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6202 executable.
6203
6204 2009-06-07 Pedro Alves <pedro@codesourcery.com>
6205
6206 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6207 defined before referencing it.
6208
6209 2009-06-03 Doug Evans <dje@google.com>
6210
6211 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6212 * gdb.arch/i386-see.c: Ditto.
6213
6214 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6215
6216 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6217 (check_macro): Return 1 if undefined.
6218 If first test fails, check if macro debug information is available,
6219 and report unsupported test if no macro information is found.
6220
6221 2009-05-29 Doug Evans <dje@google.com>
6222
6223 * gdb.threads/hand-call-in-threads.exp: New.
6224 * gdb.threads/hand-call-in-threads.c: New.
6225
6226 2009-05-29 Michael Snyder <msnyder@vmware.com>
6227
6228 * gdb.base/break-always.exp: Change "1" to "on".
6229 Add confirmation check.
6230
6231 2009-05-28 Pedro Alves <pedro@codesourcery.com>
6232
6233 * gdb.threads/threxit-hop-specific.c: New.
6234 * gdb.threads/threxit-hop-specific.exp: New.
6235 * gdb.threads/thread-execl.c: New.
6236 * gdb.threads/thread-execl.exp: New.
6237
6238 2009-05-27 Tom Tromey <tromey@redhat.com>
6239 Thiago Jung Bauermann <bauerman@br.ibm.com>
6240
6241 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6242 (mi_child_regexp): Likewise.
6243 (mi_list_varobj_children_range): Likewise.
6244 (mi_get_features): Likewise.
6245 (mi_list_varobj_children): Rewrite.
6246 * gdb.python/python-mi.exp: New file.
6247
6248 2009-05-27 Tom Tromey <tromey@redhat.com>
6249 Thiago Jung Bauermann <bauerman@br.ibm.com>
6250 Phil Muldoon <pmuldoon@redhat.com>
6251 Paul Pluzhnikov <ppluzhnikov@google.com>
6252
6253 * gdb.python/python-prettyprint.exp: New file.
6254 * gdb.python/python-prettyprint.c: New file.
6255 * gdb.python/python-prettyprint.py: New file.
6256 * gdb.base/display.exp: print/r is now valid.
6257
6258 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6259 Tom Tromey <tromey@redhat.com>
6260 Pedro Alves <pedro@codesourcery.com>
6261 Paul Pluzhnikov <ppluzhnikov@google.com>
6262
6263 * gdb.python/python-template.exp: New file.
6264 * gdb.python/python-template.cc: New file.
6265 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6266 tests.
6267 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6268 Call it.
6269 (test_value_after_death): New proc.
6270 * gdb.python/python-value.c (PTR): New typedef.
6271 (main): New variable 'x'.
6272
6273 2009-05-27 Tom Tromey <tromey@redhat.com>
6274
6275 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6276 tests.
6277 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6278 Call it.
6279
6280 2009-05-27 Pedro Alves <pedro@codesourcery.com>
6281
6282 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6283
6284 2009-05-24 Pedro Alves <pedro@codesourcery.com>
6285
6286 * gdb.threads/fork-thread-pending.c: New.
6287 * gdb.threads/fork-thread-pending.exp: New.
6288
6289 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6290
6291 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6292 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6293
6294 2009-05-18 Jon Beniston <jon@beniston.com>
6295
6296 * gdb.asm/asm-source.exp: Add lm32 target.
6297
6298 2009-05-17 Pedro Alves <pedro@codesourcery.com>
6299
6300 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6301 `gdb_get_line_number'. Call `callee' in both parent and child.
6302 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6303 `gdb_get_line_number' instead of hardcoding line numbers.
6304 (catch_fork_unpatch_child): New procedure to test detaching
6305 breakpoints from child fork.
6306 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6307 hardcoding line numbers.
6308 (do_fork_tests): Run `catch_fork_unpatch_child'.
6309
6310 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6311
6312 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6313 of structure type enters or leaves the scope, it
6314 is reported by -var-update.
6315
6316 2009-05-11 Doug Evans <dje@sebabeach.org>
6317
6318 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
6319 * gdb.threads/pending-step.c (main): Fix off-by-one error.
6320 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6321
6322 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6323
6324 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6325
6326 2009-04-30 Doug Evans <dje@google.com>
6327
6328 * gdb.threads/watchthreads2.exp: New testcase.
6329 * gdb.threads/watchthreads2.c: New testcase.
6330
6331 2009-04-29 Doug Evans <dje@google.com>
6332
6333 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6334 * gdb.cp/mb-ctor.cc: Ditto.
6335 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6336 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6337 * gdb.cp/mb-inline1.cc: Call it.
6338 * gdb.cp/mb-inline2.cc: Ditto.
6339 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6340 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6341
6342 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6343
6344 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6345 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6346 Replace all uses of `decimal' by `nonzero'.
6347 (info macro FROM_COMMANDLINE): New test.
6348
6349 2009-04-27 Tom Tromey <tromey@redhat.com>
6350
6351 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6352
6353 2009-04-27 Doug Evans <dje@google.com>
6354
6355 * gdb.threads/watchthreads.c (main): Initialize args before starting
6356 the threads. Plus formatting cleanup.
6357 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6358 biased scheduling of one thread.
6359
6360 2009-04-27 Jerome Guitton <guitton@adacore.com>
6361
6362 * gdb.cp/templates.cc (GetMax): New template.
6363 (main): Declare two instances of GetMax.
6364 * gdb.cp/templates.exp: Add new test.
6365
6366 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6367
6368 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6369
6370 2009-04-22 Joseph Myers <joseph@codesourcery.com>
6371
6372 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6373
6374 2009-04-15 Tom Tromey <tromey@redhat.com>
6375
6376 * gdb.base/charset.exp: Add regression test.
6377
6378 2009-04-14 Joel Brobecker <brobecker@adacore.com>
6379
6380 * gdb.base/exe-lock.exp: New testcase.
6381
6382 2009-04-13 Tom Tromey <tromey@redhat.com>
6383
6384 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6385 operator on Frame.
6386
6387 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6388
6389 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6390 * gdb.server/ext-attach.exp: Likewise.
6391
6392 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6393
6394 Eliminate some sleep usage.
6395
6396 * gdb.mi/basics.c (do_nothing): New.
6397 (main): Use do_nothing instead of printf, so that
6398 not to introduce race condition between output of
6399 inferiour and output of gdb. Do not use sleep as it
6400 is not generally available on embedded targets.
6401
6402 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6403
6404 * gdb.server/ext-attach.exp: Expect an optional process id after
6405 "Detached from remote process".
6406
6407 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6408
6409 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6410 gdb.dwarf2/dw2-unresolved.exp: New.
6411
6412 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6413
6414 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6415 mi_run_to_main.
6416
6417 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6418
6419 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6420 mi_run_to_main. Skip thread exit test on remote targets.
6421 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6422 mi_run_to_main.
6423 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6424 mi_run_to_main.
6425 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6426 when expecting ^connected. Detect when the target doesn't support
6427 non-stop mode.
6428 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6429 supported. Return -1 on error, 0 on success.
6430 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6431 (mi_runto): Return mi_runto_helper's result explicitly.
6432
6433 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6434
6435 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6436
6437 2009-04-01 Tom Tromey <tromey@redhat.com>
6438
6439 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6440 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6441 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6442 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6443
6444 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6445 Jan Kratochvil <jan.kratochvil@redhat.com>
6446
6447 PR gdb/931
6448 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6449 output.
6450 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6451 for gdb/931.
6452 * dw2-strp.S (DW_AT_language): Change to C++.
6453 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6454
6455 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6456
6457 * gdb.ada/tasks: New testcase.
6458
6459 2009-03-30 Stan Shebs <stan@codesourcery.com>
6460
6461 * gdb.trace/actions.exp: Update to match new info trace format.
6462 * gdb.trace/deltrace.exp: Ditto.
6463 * gdb.trace/infotrace.exp: Ditto.
6464 * gdb.trace/passcount.exp: Ditto.
6465 * gdb.trace/save-trace.exp: Ditto.
6466 * gdb.trace/while-stepping.exp: Ditto.
6467 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6468
6469 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6470
6471 * gdb.python/python-frame.c: New file.
6472 * gdb.python/python-frame.exp: New file.
6473
6474 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6475
6476 * gdb.python/python-value.exp: Add tests for the address
6477 attribute.
6478
6479 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6480
6481 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6482
6483 2009-03-26 Doug Evans <dje@google.com>
6484
6485 * gdb.mi/mi-nonstop-exit.exp: New file.
6486 * gdb.mi/non-stop-exit.c: New file.
6487
6488 2009-03-26 Tom Tromey <tromey@redhat.com>
6489
6490 Update for change to prologue skipping:
6491 * gdb.mi/mi2-simplerun.exp: Update.
6492 * gdb.mi/mi2-break.exp: Update.
6493 * gdb.mi/mi-simplerun.exp: Update.
6494 * gdb.mi/mi-break.exp: Update.
6495 * gdb.base/ending-run.exp: Update.
6496
6497 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6498
6499 * gdb.python/python-value.exp (test_value_in_inferior): Test
6500 gdb.Value.is_optimized_out attribute.
6501
6502 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6503
6504 * gdb.dwarf2/dw2-noloc-main.c: New file.
6505 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6506 (.text): Remove.
6507 (.data): New.
6508 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6509 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6510 (DW_TAG_subprogram func_cu1, noloc): Remove.
6511 (main): New.
6512 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6513 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6514 (file_symbols): New procedure.
6515
6516 2009-03-25 Tom Tromey <tromey@redhat.com>
6517
6518 * gdb.base/charset.exp (valid_target_charset): New proc.
6519 Use it to skip tests on invalid charsets.
6520
6521 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6522
6523 * gdb.base/completion.exp: Add a test for directory completion.
6524
6525 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6526
6527 Fix a racy FAIL.
6528 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6529 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6530
6531 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6532
6533 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6534 * gdb.python/python-function.exp: Add test for function returning
6535 a GDB value.
6536
6537 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6538
6539 * gdb.python/python-function.exp: New file.
6540
6541 2009-03-20 Tom Tromey <tromey@redhat.com>
6542
6543 * gdb.base/store.exp: Update for change to escape output.
6544 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6545 to escape output.
6546 * gdb.base/pointers.exp: Update for change to escape output.
6547 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6548 to escape output.
6549 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6550 escape output.
6551 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6552 to escape output.
6553 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6554 escape output.
6555 * gdb.base/setvar.exp: Update for change to escape output.
6556 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6557 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6558 to escape output.
6559 (test_print_string_constants): Likewise.
6560 * gdb.base/charset.exp (valid_host_charset): Check size of
6561 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6562 cases. Handle "auto"-related output.
6563 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6564 (uvar, Uvar): New globals.
6565
6566 2009-03-19 Jerome Guitton <guitton@adacore.com>
6567
6568 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6569 deltas.
6570 * gdb.ada/fixed_points.exp: Ditto.
6571
6572 2009-03-18 Pedro Alves <pedro@codesourcery.com>
6573
6574 * return-nodebug.c: Don't include stdio.h.
6575 (init): Delete.
6576 (func): Delete definition and provide extern declaration.
6577 (t): New.
6578 (main): Don't call printf. Call func and store its result in t.
6579 * return-nodebug1.c: New.
6580 * return-nodebug.exp: Don't expect stdio output. Instead, print
6581 the global variable t. Drop printf formatters and cast types from
6582 foreach loop. Don't use prepare_for_testing. Compile
6583 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6584 define FORMAT or CAST.
6585
6586 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6587
6588 * gdb.base/solib-display.exp: Disable test for remote targers.
6589
6590 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6591
6592 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6593
6594 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6595
6596 Fix a racy FAIL.
6597 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6598 code from `follow parent, print pids'.
6599 (`follow child, print pids', `follow parent, print pids'): Call it.
6600 Replace `gdb_test "break..."' by gdb_breakpoint.
6601
6602 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6603
6604 * gdb.mi/mi-cli.exp: Adjust for output difference in
6605 sync and async modes.
6606
6607 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6608
6609 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6610 that was checked in by mistake. Remove loading of ada.exp, since
6611 this is not necessary in this case.
6612
6613 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6614
6615 * gdb.ada/ptype_arith_binop.exp: New testcase.
6616
6617 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6618
6619 * gdb.ada/mod_from_name: New testcase.
6620
6621 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6622
6623 * gdb.ada/tick_last_segv: New testcase.
6624
6625 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6626
6627 * gdb.mi/mi-cli.exp: Remove debug print.
6628
6629 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6630
6631 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6632 include the token in ^running and frame info in *stopped.
6633
6634 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6635
6636 * solib-display.exp: New file.
6637 * solib-display-main.c: New file.
6638 * solib-display-lib.c: New file.
6639
6640 2009-03-05 Pedro Alves <pedro@codesourcery.com>
6641
6642 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6643
6644 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6645
6646 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6647 (list_and_check_macro): Use more specific test name.
6648 (next to definition): Make the test names unique.
6649
6650 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6651
6652 * gdb.pascal/floats.exp: Accept approximate results everywhere.
6653
6654 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6655
6656 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6657 notifications.
6658 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6659 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6660 * lib/mi-support.exp (library_loaded_re): New.
6661 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6662
6663 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6664
6665 * gdb.gdb/observer.exp: Use test_notification observer, not
6666 normal_stop, everywhere.
6667 (test_normal_stop_notifications): Rename to...
6668 (test_notifications): ...this.
6669 (test_observer_normal_stop): Rename to...
6670 (test_observer): ...this.
6671
6672 2009-02-16 Doug Evans <dje@google.com>
6673
6674 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6675 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6676 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6677 (test_prefixed_syscall,test_int3): New tests.
6678 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6679 (test_prefixed_syscall,test_int3): New tests.
6680
6681 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6682
6683 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6684 (mi_expect_interrupt): Likewise.
6685 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6686 response.
6687
6688 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6689
6690 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6691 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6692 Replace calls to get_valueofx by get_hexadecimal_valueof.
6693
6694 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6695
6696 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6697 (get_integer_valueof): New procedure.
6698 (get_sizeof): Use new get_integer_value_of.
6699 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6700 by get_integer_valueof.
6701
6702 2009-02-13 Tom Tromey <tromey@redhat.com>
6703
6704 * gdb.base/remote.exp (get_sizeof): Remove.
6705 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6706 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6707 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6708 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6709 (get_sizeof): Likewise.
6710
6711 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6712
6713 PR fortran/9806
6714 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6715
6716 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6717
6718 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6719
6720 2009-02-06 Pedro Alves <pedro@codesourcery.com>
6721
6722 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6723
6724 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6725
6726 * gdb.python/python-cmd.exp: New file.
6727
6728 2009-02-06 Tristan Gingold <gingold@adacore.com>
6729
6730 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6731
6732 2009-02-05 Tristan Gingold <gingold@adacore.com>
6733
6734 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6735 pointer is dereferenced and use this signal name in regexp.
6736 * gdb.base/signull.exp: Ditto.
6737 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6738 * gdb.base/signull.c (main): Ditto.
6739
6740 2009-02-04 Tom Tromey <tromey@redhat.com>
6741 Thiago Jung Bauermann <bauerman@br.ibm.com>
6742
6743 * gdb.python/python-value.exp: Use `gdb.history' instead of
6744 `gdb.value_from_history'.
6745 (test_value_numeric_ops): Add test for conversion of enum constant.
6746 * gdb.python/python-value.c (enum e): New type.
6747 (evalue): New global.
6748 (main): Use argv.
6749
6750 2009-02-04 Jerome Guitton <guitton@adacore.com>
6751
6752 * gdb.ada/uninitialized_vars: New test program.
6753 * gdb.ada/uninitialized_vars.exp: New testcase.
6754
6755 2009-02-02 Tom Tromey <tromey@redhat.com>
6756
6757 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6758 * gdb.cp/pr2489.cc: Rename...
6759 * gdb.cp/pr9594.cc: ... to this.
6760
6761 2009-02-02 Tom Tromey <tromey@redhat.com>
6762
6763 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6764 * gdb.cp/pr2489.cc: New file.
6765 * gdb.cp/cpcompletion.exp: New file.
6766
6767 2009-02-02 Tom Tromey <tromey@redhat.com>
6768
6769 PR exp/9059:
6770 * gdb.cp/call-c.exp: Add regression test.
6771 * gdb.cp/call-c.cc (FooHandle): New typedef.
6772 (main): New variable 'handle'.
6773
6774 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6775
6776 * lib/mi-support.exp (et_mi_thread_list)
6777 (check_mi_and_console_threads): Adjust for current thread in
6778 -thread-list-ids output.
6779
6780 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6781
6782 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6783 Call it.
6784
6785 2009-01-28 Doug Evans <dje@google.com>
6786
6787 * gdb.arch/amd64-disp-step.S: New file.
6788 * gdb.arch/amd64-disp-step.exp: New file.
6789 * gdb.arch/i386-disp-step.S: New file.
6790 * gdb.arch/i386-disp-step.exp: New file.
6791
6792 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6793
6794 * gdb.base/find.exp: Set newline variable
6795 using quotes instead of braces to fix cygwin failures.
6796
6797 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6798
6799 * gdb.base/radix.exp: Add tests to ensure that that set
6800 input-radix 0 and set output-radix 0 are really rejected.
6801
6802 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6803
6804 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6805 copyright years.
6806
6807 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6808
6809 PR gdb/9664:
6810 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6811
6812 2009-01-22 Pedro Alves <pedro@codesourcery.com>
6813
6814 PR c++/9631:
6815 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6816
6817 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6818
6819 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6820 binfile definition to fix Windows OS failure.
6821
6822 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6823
6824 PR gdb/9346
6825 * gdb.base/interrupt.c (sigint_handler): New.
6826 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6827 on error.
6828 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6829 Test "signal SIGINT".
6830
6831 2009-01-19 Doug Evans <dje@google.com>
6832
6833 * gdb.base/break.exp: Update expected gdb output.
6834 * gdb.base/sepdebug.exp: Ditto.
6835 * gdb.mi/mi-syn-frame.exp: Ditto.
6836 * gdb.mi/mi2-syn-frame.exp: Ditto.
6837 * gdb.base/call-signal-resume.exp: New file.
6838 * gdb.base/call-signals.c: New file.
6839 * gdb.base/unwindonsignal.exp: New file.
6840 * gdb.base/unwindonsignal.c: New file.
6841 * gdb.threads/interrupted-hand-call.exp: New file.
6842 * gdb.threads/interrupted-hand-call.c: New file.
6843 * gdb.threads/thread-unwindonsignal.exp: New file.
6844
6845 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6846
6847 * gdb.base/define.exp: Test defining and hooking prefix commands.
6848 * gdb.python/python.exp: Update test for "show user" output.
6849
6850 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6851
6852 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6853 now the output exactly, using less wildcards. Expect also the output
6854 of gfortran-4.3. Update for the f-valprint.c modification from
6855 2008-04-22.
6856 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6857 Remove gdb_test test names where matching the command.
6858
6859 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6860
6861 PR breakpoints/9681:
6862 * gdb.base/watchpoint.exp: Add regression test.
6863
6864 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6865
6866 * gdb.threads/attach-into-signal.exp: Don't use
6867 gdb_suppress_entire_file.
6868 * gdb.threads/attach-stopped.exp: Ditto.
6869 * gdb.threads/attachstop-mt.exp: Ditto.
6870
6871 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6872
6873 PR gdb/8812:
6874 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6875
6876 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6877
6878 PR gdb/7536:
6879 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6880 and unsupported output radices are really rejected.
6881
6882 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6883
6884 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6885
6886 2008-12-22 Tom Tromey <tromey@redhat.com>
6887
6888 * gdb.cp/punctuator.exp: New file.
6889
6890 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 * gdb.base/completion.exp (Completing non-existing component): New test.
6893
6894 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6895
6896 Fix for PR gdb/8648.
6897 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6898 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6899 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6900 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6901
6902 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6903
6904 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6905
6906 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6907
6908 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6909 compiler actually generate code at the expected line number.
6910
6911 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6912
6913 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6914
6915 2008-12-12 Tom Tromey <tromey@redhat.com>
6916
6917 * gdb.base/commands.exp (redefine_hook_test): New proc.
6918 Call it.
6919
6920 2008-12-11 Tom Tromey <tromey@redhat.com>
6921
6922 * gdb.base/macscp.exp: New regression test.
6923
6924 2008-12-11 Tom Tromey <tromey@redhat.com>
6925
6926 * gdb.base/macscp.exp: Print "address.addr".
6927 * gdb.base/macscp1.c (struct outer): New struct.
6928 (address): New global.
6929
6930 2008-12-09 Tom Tromey <tromey@redhat.com>
6931
6932 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6933 Call it.
6934
6935 2008-12-04 Doug Evans <dje@google.com>
6936
6937 * gdb.server/ext-run.exp: Relax regexp for init program.
6938
6939 2008-12-03 Tristan Gingold <gingold@adacore.com>
6940
6941 * gdb.base/macscp.exp: Generate an object file during compilation
6942 to work around Darwin dsymutil limitations.
6943
6944 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6945
6946 Test resolving external references to TLS variables.
6947 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6948 FILE2_THREAD_LOCAL.
6949 (testfile2, srcfile2): New variables.
6950 * gdb.threads/tls.c (file2_thread_local)
6951 (function_referencing_file2_thread_local): New.
6952 * gdb.threads/tls2.c: New file.
6953
6954 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6955
6956 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6957 rather than integer, as integer might not be big enough when
6958 on 64bit targets.
6959
6960 2008-11-27 Jerome Guitton <guitton@adacore.com>
6961
6962 * gdb.cp/formatted-ref.exp: Add equality test.
6963 * gdb.ada/formatted_ref.exp: Ditto.
6964
6965 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6966
6967 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6968 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6969
6970 2008-11-20 Andreas Schwab <schwab@suse.de>
6971
6972 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6973 matching syscall entry point.
6974 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6975 (tcatch_vfork_then_child_follow): Likewise. Finish through
6976 vfork even if we stopped at the syscall trampoline.
6977
6978 2008-11-20 Doug Evans <dje@google.com>
6979
6980 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6981
6982 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6983
6984 * gdb.arch/ppc-dfp.exp: New file.
6985 * gdb.arch/ppc-dfp.c: New file.
6986
6987 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6988
6989 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6990
6991 2008-11-17 Doug Evans <dje@google.com>
6992
6993 * gdb.mi/mi-syn-frame.exp: Update expected output.
6994 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6995
6996 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6997
6998 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6999 "thread N" results in =thread-selected.
7000 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7001 (mi_send_resuming_command_raw): Be prepared for
7002 =thread-selected.
7003
7004 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7005
7006 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7007 * lib/mi-support.exp: Likewise.
7008
7009 2008-11-16 Joel Brobecker <brobecker@adacore.com>
7010
7011 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7012 commands from the expected output for "help catch".
7013
7014 2008-11-15 Joel Brobecker <brobecker@adacore.com>
7015
7016 * gdb.ada/int_deref.exp: New testcase.
7017
7018 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
7019
7020 * gdb.mi/gdb2549.exp: New file.
7021
7022 2008-11-11 Doug Evans <dje@google.com>
7023
7024 * gdb.base/callexit.exp: New file.
7025 * gdb.base/callexit.c: New file.
7026
7027 2008-11-10 Doug Evans <dje@google.com>
7028
7029 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7030 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7031 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7032 (default_gdb_start,default_gdb_exit): Ditto.
7033 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7034 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7035 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7036 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7037 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7038 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7039
7040 2008-11-03 Andreas Schwab <schwab@suse.de>
7041
7042 * gdb.base/hashline2.exp: Fix typo.
7043 * gdb.base/hashline3.exp: Likewise.
7044
7045 2008-10-30 Tom Tromey <tromey@redhat.com>
7046
7047 * gdb.base/pointers.exp: Add test.
7048 * gdb.base/pointers.c (k, S): New typedefs.
7049 (instance): New global.
7050
7051 2008-10-30 Andreas Schwab <schwab@suse.de>
7052
7053 * gdb.base/args.exp: Add tests for newlines.
7054
7055 2008-10-30 Joel Brobecker <brobecker@adacore.com>
7056
7057 gdb.base/foll-exec.exp: Update the expected output of a couple
7058 of "info breakpoints" tests.
7059
7060 2008-10-28 Tom Tromey <tromey@redhat.com>
7061
7062 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7063
7064 2008-10-24 Pedro Alves <pedro@codesourcery.com>
7065
7066 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7067 gdb_start_cmd.
7068 Use runto_main before any test that requires execution.
7069
7070 2008-10-23 Pedro Alves <pedro@codesourcery.com>
7071
7072 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7073 instead of SIGINT.
7074
7075 2008-10-22 Joel Brobecker <brobecker@adacore.com>
7076
7077 * gdb.base/completion.exp: Update expected output following
7078 the addition of the "info tasks" command.
7079
7080 2008-10-22 Tom Tromey <tromey@redhat.com>
7081
7082 * gdb.base/exprs.exp (test_expr): Add test for string
7083 concatenation.
7084
7085 2008-10-19 Pedro Alves <pedro@codesourcery.com>
7086
7087 * configure.ac: Output gdb.python/Makefile.
7088 * configure: Regenerate.
7089 * gdb.python/Makefile.in: New.
7090
7091 2008-10-16 Joel Brobecker <brobecker@adacore.com>
7092
7093 * gdb.base/foll-fork.exp: Adjust the expected output to match
7094 the new description for fork/vfork catchpoints in the "info
7095 breakpoints" output.
7096
7097 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7098
7099 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7100
7101 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7102
7103 * gdb.python/python-value.c: New file.
7104 * gdb.python/python-value.exp: New file.
7105
7106 2008-10-15 Pedro Alves <pedro@codesourcery.com>
7107
7108 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7109
7110 2008-10-15 Denis Pilat <denis.pilat@st.com>
7111
7112 * gdb.cp/mb-ctor.exp: Fix a typo.
7113
7114 2008-10-09 Tom Tromey <tromey@redhat.com>
7115
7116 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7117 'fprintf' and 'stderr'.
7118
7119 2008-10-07 Joel Brobecker <brobecker@adacore.com>
7120
7121 * gdb.ada/ref_tick_size.exp: New testcase.
7122
7123 2008-10-06 Doug Evans <dje@google.com>
7124
7125 * gdb.dwarf2/dw2-cu-size.exp: New file.
7126 * gdb.dwarf2/dw2-cu-size.S: New file.
7127
7128 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7129 .Ltype_int for clarity.
7130
7131 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7132
7133 PR gdb/2384:
7134 * gdb.cp/gdb2384.exp: Extended to test more cases.
7135 * gdb.cp/gdb2384.cc: Likewise.
7136 * gdb.cp/gdb2384-base.h: Likewise.
7137 * gdb.cp/gdb2384-base.cc: Likewise.
7138
7139 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7140
7141 * gdb.base/maint.exp (maint print type): Remove printing
7142 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7143
7144 2008-09-30 Tom Tromey <tromey@redhat.com>
7145
7146 * gdb.base/macscp.exp: Add completion tests.
7147 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7148 (TWENTY_THREE): Likewise.
7149 (FORTY_EIGHT): Likewise.
7150
7151 2008-09-30 Tom Tromey <tromey@redhat.com>
7152
7153 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7154 everywhere.
7155 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7156
7157 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7158
7159 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7160 testcase is derived from. Fix racy dependency on an expected PID
7161 number. No longer support the testcase on Linux kernel 2.4.x.
7162
7163 2008-09-27 Tom Tromey <tromey@redhat.com>
7164
7165 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7166 and varargs.
7167
7168 2008-09-22 Pedro Alves <pedro@codesourcery.com>
7169
7170 * lib/mi-support.exp (mi_expect_interrupt): New.
7171 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7172 from gdb.mi/mi-nonstop.exp.
7173 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7174 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7175 lib/mi-support.exp.
7176 Use mi_check_thread_states throughout. Avoid ".*" and do not
7177 require an anchor after -exec-run.
7178
7179 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7180
7181 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7182 stop is pending. Avoid ".*" when two stops are pending.
7183 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7184 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7185 newlines in fullnames.
7186 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7187 (mi_expect_stop): Update comments. Only anchor in sync mode.
7188 Do not match newlines.
7189 (mi_send_resuming_command_raw): Always return status.
7190 (mi_get_stop_line): Do not match more than one line by accident.
7191 Only anchor in sync mode.
7192 (mi_run_inline_test): If -exec-next fails, give up.
7193
7194 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7195
7196 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7197 on SPU.
7198
7199 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7200
7201 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7202
7203 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7204
7205 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7206 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7207 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7208 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7209 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7210 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7211 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7212 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7213 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7214 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7215 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7216 Include the "= " sequence in the expected output of print tests.
7217
7218 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7219
7220 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7221 description for boolean types.
7222
7223 2008-09-09 Pedro Alves <pedro@codesourcery.com>
7224
7225 * gdb.base/hook-stop-continue.c: New.
7226 * gdb.base/hook-stop-continue.exp: New.
7227
7228 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7229
7230 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7231
7232 2008-09-08 Jerome Guitton <guitton@adacore.com>
7233
7234 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7235 (stack_check_probe_2, stack_check_probe_loop_1)
7236 (stack_check_probe_loop_2): New functions.
7237 (main): Add call to these new functions.
7238 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7239 functions, check that the breakpoint is inserted at the appropriate
7240 location.
7241 (insert_breakpoint): Slightly refine this procedure so that it can
7242 be called several times in the test.
7243
7244 2008-09-08 Jerome Guitton <guitton@adacore.com>
7245
7246 * gdb.base/stack-checking.c: New file.
7247 * gdb.base/stack-checking.exp: New file.
7248
7249 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7250
7251 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7252 * gdb.arch/altivec-regs.exp: Likewise.
7253 * gdb.arch/vsx-regs.exp: Likewise.
7254
7255 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7256
7257 * gdb.arch/ppc-fp.exp: New file.
7258 * gdb.arch/ppc-fp.c: New file.
7259
7260 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7261
7262 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7263 lest gcc-4.3.1 optimizes the whole thing away.
7264
7265 2008-09-04 Michael Snyder <msnyder@vmware.com>
7266
7267 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7268 as "at" (for non-debug functions such as _start).
7269
7270 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7271
7272 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7273 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7274 software watchpoints.
7275 * gdb.base/watch_thread_num.exp: Likewise.
7276
7277 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7278
7279 * gdb.arch/i386-bp_permanent.exp: New test.
7280
7281 2008-08-24 Tom Tromey <tromey@redhat.com>
7282
7283 * gdb.base/maint.exp: Update "maint print type".
7284
7285 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7286
7287 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7288 support. Adjust the order of "*running" notifications.
7289 * gdb.mi/non-stop.c: Don't cast from int to void* and
7290 back.
7291
7292 2008-08-20 Mark Kettenis <kettenis@gnu.org>
7293
7294 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7295 expect to find it in the "info frame" output.
7296
7297 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7298
7299 * gdb.base/interp.exp: Always consume both prompts.
7300
7301 2008-08-20 Pedro Alves <pedro@codesourcery.com>
7302
7303 * gdb.base/pending.exp: Test pending breakpoints without symbols
7304 loaded.
7305
7306 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7307
7308 * lib/mi-support.exp (mi_expect_stop): Produce
7309 more details on failures.
7310 * gdb.mi/mi-nonstop.exp: New.
7311 * gdb.mi/non-stop.c: New.
7312
7313 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7314
7315 * gdb.mi/mi-async.exp: Use 'set target-async'.
7316 * lib/mi-support.exp: Use 'set/show target-async'.
7317
7318 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7319
7320 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7321
7322 2008-08-17 Tom Tromey <tromey@redhat.com>
7323
7324 * gdb.base/help.exp (help catch): Rewrite.
7325
7326 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7327
7328 * gdb.base/define.exp: Test indented command documentation.
7329 * gdb.python/python.exp: Test indented multi-line command.
7330
7331 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
7332
7333 * testsuite/gdb.arch/vsx-regs.c: New source file.
7334 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7335 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7336
7337 2008-08-14 Tom Tromey <tromey@redhat.com>
7338
7339 * gdb.base/macscp.exp: Add regression test for "macro define" or
7340 "macro undef" with no arguments.
7341
7342 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7343
7344 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
7345
7346 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7347
7348 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7349
7350 2008-08-06 Tom Tromey <tromey@redhat.com>
7351
7352 * gdb.python/python.exp: New file.
7353
7354 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7355
7356 Fix for PR gdb/1543.
7357 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7358 $LOCATION.
7359 (location): New variable.
7360 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7361 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7362 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7363 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7364 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7365 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7366 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7367 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7368 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7369 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7370 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7371 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7372 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7373 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7374 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7375 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7376 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7377 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7378 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7379 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7380 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7381 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7382 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7383 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7384 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7385 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7386 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7387 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7388 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7389 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7390 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7391 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7392 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7393 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7394 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7395 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7396 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7397 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7398 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7399 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7400 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7401 gdb.base/type-opaque.exp, gdb.base/until.exp,
7402 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7403 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7404 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7405 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7406 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7407 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7408 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7409 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7410 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7411 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7412 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7413 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7414 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7415 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7416 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7417 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7418 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7419 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7420 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7421 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7422 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7423 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7424 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7425 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7426 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7427 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7428 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7429 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7430 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7431 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7432 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7433 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7434 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7435 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7436 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7437 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7438 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7439 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7440 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7441 to bug-gdb@prep.ai.mit.edu .
7442
7443 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7444
7445 * lib/mi-support.exp (mi_load_shlibs): New.
7446 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7447
7448 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7449
7450 * lib/mi-support.exp (get_mi_thread_list)
7451 (check_mi_and_console_threads): New, moved from ...
7452 * gdb.mi/mi-pthread.exp: ...here.
7453 * gdb.mi/gdb669.exp (get_mi_thread_list)
7454 (check_mi_and_console_threads): Delete.
7455 * gdb.mi/mi2-pthread.exp: Likewise.
7456
7457 2008-07-28 Tom Tromey <tromey@redhat.com>
7458
7459 * Makefile.in (just-check): Remove. Move body to...
7460 (check): ... here.
7461
7462 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7463
7464 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7465 Add a test for duplicated SIGINTs.
7466
7467 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7468
7469 * gdb.threads/schedlock.exp (get_args): Update to work for any
7470 value of NUM.
7471 (Top level): Report the number of threads that did not resume.
7472
7473 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7474
7475 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7476
7477 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7478
7479 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7480 non-MI prompt.
7481
7482 2008-07-26 Tom Tromey <tromey@redhat.com>
7483
7484 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7485 (function_struct, function_struct_ptr): New globals.
7486 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7487 function pointer in a struct.
7488
7489 2008-07-26 Tom Tromey <tromey@redhat.com>
7490
7491 * gdb.base/macscp.exp: Add test for macro lexing bug.
7492
7493 2008-07-18 Tom Tromey <tromey@redhat.com>
7494
7495 * gdb.base/macscp.exp: Add macro tests.
7496
7497 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7498
7499 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7500
7501 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7502
7503 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7504
7505 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7506
7507 * gdb.cp/class2.exp: fix for failure on spu-elf
7508
7509 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7510
7511 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7512
7513 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7514
7515 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7516
7517 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7518
7519 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7520
7521 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7522
7523 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7524 of regexp to account for changes made to GDB in the printing of
7525 byte vectors.
7526
7527 2008-07-11 Tom Tromey <tromey@redhat.com>
7528
7529 * gdb.base/completion.exp: Add 'help' completion test.
7530
7531 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
7533 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7534
7535 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7536
7537 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7538
7539 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7540
7541 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7542
7543 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7544
7545 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7546
7547 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7548
7549 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7550
7551 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7552
7553 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7554 previous commit. Add a comment.
7555
7556 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7557
7558 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7559
7560 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7561
7562 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7563
7564 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7565
7566 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7567 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7568 compiling an executable, link in an object that forces unbuffered
7569 output.
7570 * lib/set_unbuffered_mode.c: New file.
7571
7572 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7573
7574 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7575
7576 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7577
7578 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7579 mi_expect_stop.
7580 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7581 Demand that *running is output.
7582 (detect_async): Perform checking every time.
7583 (mi_send_resuming_command): Extract everything into...
7584 (mi_send_resuming_command_raw): ...this.
7585 (mi_expect_stop): Don't accept any output before *stopped.
7586
7587 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7588
7589 Robustify mi-simplerun.
7590 * gdb.mi/basics.c (main): Add a call to sleep.
7591 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7592 * gdb.mi/mi2-cli.exp: Likewise.
7593 * gdb.mi/mi-break.exp: Likewise.
7594
7595 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7596
7597 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7598
7599 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7600
7601 * gdb.mi/mi-console.exp: Adjust.
7602 * gdb.mi/mi-syn-frame.exp: Adjust.
7603 * gdb.mi/mi2-console.exp: Adjust.
7604 * gdb.mi/mi2-syn-frame.exp: Adjust.
7605 * lib/mi-support.exp (mi_run_cmd): Adjust.
7606 (mi_send_resuming_command): Adjust.
7607
7608 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7609
7610 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7611 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7612 testing of stopped.
7613 * gdb.mi/mi2-syn-frame.exp: Likewise.
7614 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7615 (async, detect_async): New.
7616 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7617 depending on if we're running in sync or async mode.
7618
7619 2008-06-09 Tom Tromey <tromey@redhat.com>
7620
7621 * gdb.base/completion.exp: New tests for field name completion
7622 with spaces, and field name completion with '->'.
7623
7624 2008-06-06 Tom Tromey <tromey@redhat.com>
7625
7626 * gdb.base/break1.c (struct some_struct): New struct.
7627 (values): New global.
7628 * gdb.base/completion.exp: Add field name completion test.
7629
7630 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7631
7632 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7633 to pointer.
7634 * gdb.cp/call-c.cc: Likewise.
7635
7636 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
7637
7638 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7639 annotation.
7640
7641 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7642 Pedro Alves <pedro@codesourcery.com>
7643
7644 * gdb.threads/execl.c, gdb.threads/execl1.c,
7645 gdb.threads/execl.exp: New tests.
7646
7647 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7648 Daniel Jacobowitz <dan@codesourcery.com>
7649
7650 * gdb.cp/exception.exp: Activate test, make it work with pending
7651 catchpoints.
7652
7653 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7654
7655 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7656
7657 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7658
7659 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7660 now printed.
7661 * gdb.mi/mi2-var-cmd.exp: Likewise.
7662
7663 2008-05-27 Andreas Schwab <schwab@suse.de>
7664
7665 * gdb.base/frame-args.exp: Handle arguments that are optimized
7666 out.
7667
7668 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
7669
7670 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7671 quiet for ppc32 and group options into a single variable.
7672
7673 2008-05-23 Joel Brobecker <brobecker@adacore.com>
7674
7675 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7676 of zero-size elements.
7677 * gdb.ada/null_array.exp: Test printing this new array.
7678
7679 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7680
7681 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7682
7683 2008-05-21 Joel Brobecker <brobecker@adacore.com>
7684
7685 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7686 of the "finish" command.
7687
7688 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
7689
7690 * gdb.base/annota1.exp: Test for new annotation.
7691
7692 2008-05-16 Pedro Alves <pedro@codesourcery.com>
7693
7694 * gdb.base/fixsection.exp: New file.
7695 * gdb.base/fixsection0.c: New file.
7696 * gdb.base/fixsection1.c: New file.
7697
7698 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7699
7700 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7701 * gdb.base/annota3.exp: Likewise.
7702
7703 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7704
7705 * gdb.base/watch_thread_num.exp: Don't run tests that require
7706 watchpoints if the target doesn't support them.
7707
7708 2008-05-12 Doug Evans <dje@google.com>
7709
7710 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7711
7712 2008-05-09 Joel Brobecker <brobecker@adacore.com>
7713
7714 * gdb.ada/assign_1.exp: New testcase.
7715
7716 2008-05-09 Doug Evans <dje@google.com>
7717
7718 * gdb.base/find.exp: New file.
7719 * gdb.base/find.c: New file.
7720
7721 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7722
7723 * gdb.base/commands.exp (watchpoint_command_test): Handle
7724 gdb,no_hardware_watchpoints.
7725 * gdb.base/float.exp: Allow ARM targets without floating point.
7726 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7727
7728 2008-05-06 Jerome Guitton <guitton@adacore.com>
7729 Joel Brobecker <brobecker@adacore.com>
7730
7731 * gdb.ada/lang_switch: New test program.
7732 * gdb.ada/lang_switch.exp: New testcase.
7733
7734 2008-05-05 Doug Evans <dje@google.com>
7735
7736 * gdb.base/help.exp (disassemble): Update expected help text.
7737
7738 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7739
7740 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7741
7742 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7743
7744 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7745 different times.
7746
7747 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7748
7749 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7750 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7751 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7752 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7753
7754 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7755
7756 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7757 notification to appear.
7758
7759 2008-05-04 Daniel Jacobowitz <dan@debian.org>
7760
7761 * gdb.base/fullname.c: New file.
7762 * gdb.base/fullname.exp: New file.
7763 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7764
7765 2008-05-03 Pedro Alves <pedro@codesourcery.com>
7766
7767 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7768 expressions with macros.
7769
7770 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7771
7772 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7773
7774 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7775
7776 * gdb.base/completion.exp: Handle lack of other symbols beginning
7777 with "a".
7778
7779 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7780
7781 2008-05-02 Jim Blandy <jimb@codesourcery.com>
7782
7783 * gdb.asm/asmsrc1.s: Add scratch space.
7784
7785 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7786 Daniel Jacobowitz <dan@codesourcery.com>
7787
7788 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7789 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7790 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7791
7792 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7793
7794 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7795
7796 2008-05-01 Joel Brobecker <brobecker@adacore.com>
7797
7798 * gdb.base/info-target.exp: New testcase.
7799
7800 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7801
7802 * gdb.cp/hang.exp: Use .cc instead of .C.
7803 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7804 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7805
7806 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7807
7808 * gdb.base/gdb1250.exp: Remove perror.
7809 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7810
7811 2008-04-30 Pedro Alves <pedro@codesourcery.com>
7812
7813 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7814 .2byte.
7815
7816 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7817
7818 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7819 (maybe_kfail): New.
7820
7821 2008-04-25 Pedro Alves <pedro@codesourcery.com>
7822
7823 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7824
7825 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7826
7827 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7828 * gdb.mi/mi2-syn-frame.exp: Likewise.
7829 * lib/mi-support.exp: Likewise.
7830
7831 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7832
7833 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7834 to specify regexp for the location to stop at.
7835 * gdb.base/break-always.c: New.
7836 * gdb.base/break-always.exp: New.
7837
7838 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7839
7840 * lib/mi-support.exp (mi_runto_helper): Adjust
7841 for the original-location field.
7842 (mi_create_breakpoint, mi_list_breakpoints): New.
7843 * gdb.mi/mi-break.exp: Adjust.
7844 * gdb.mi/mi2-break.exp: Adjust.
7845 * gdb.mi/mi-pending.exp: Adjust.
7846 * gdb.mi/mi-simplerun.exp: Adjust.
7847 * gdb.mi/mi2-simplerun.exp: Adjust.
7848 * gdb.mi/mi-syn-frame.exp: Adjust.
7849 * gdb.mi/mi2-syn-frame.exp: Adjust.
7850 * gdb.mi/mi-until.exp: Adjust.
7851 * gdb.mi/mi2-until.exp: Adjust.
7852 * gdb.mi/mi-var-display.exp: Adjust.
7853 * gdb.mi/mi2-var-display.exp: Adjust.
7854 * gdb.mi/mi-watch.exp: Adjust.
7855 * gdb.mi/mi2-watch.exp: Adjust.
7856
7857 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7858
7859 * aclocal.m4: Add override.m4.
7860 * configure: Regenerate.
7861
7862 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7863
7864 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7865 '-var-update --all-values' reports new value even the type
7866 of a variable object has changed.
7867
7868 2008-04-18 Craig Silverstein <csilvers@google.com>
7869
7870 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7871 files.
7872
7873 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7874
7875 * gdb.ada/atomic_enum: New test program.
7876 * gdb.ada/atomic_enum.exp: New testcase.
7877
7878 2008-04-17 Doug Evans <dje@google.com>
7879
7880 * gdb.opt/Makefile.in: Fix whitespace.
7881
7882 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7883
7884 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7885
7886 2008-04-17 Doug Evans <dje@google.com>
7887
7888 * gdb.base/hashline1.exp: New testcase.
7889 * gdb.base/hashline2.exp: New testcase.
7890 * gdb.base/hashline2.exp: New testcase.
7891
7892 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7893
7894 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7895
7896 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7897
7898 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7899 temporary breakpoint to match "Temporary breakpoint".
7900 * gdb.base/break.exp (delete_breakpoints): Likewise.
7901 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7902 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7903 * gdb.base/display.exp: Likewise.
7904 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7905 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7906 * gdb.base/restore.exp (restore_tests): Likewise.
7907 * gdb.base/sepdebug.exp: Likewise.
7908 * gdb.base/watchpoint.exp: Likewise.
7909 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7910 * gdb.mi/mi-pending.exp: Likewise.
7911 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7912 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7913 * gdb.mi/mi-var-cmd.exp: Likewise.
7914 * gdb.mi/mi-var-display.exp: Likewise.
7915 * gdb.mi/mi2-cli.exp: Likewise.
7916 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7917 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7918 * gdb.mi/mi2-var-display.exp: Likewise.
7919 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7920 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7921 new "disp" field.
7922 (mi_expect_stop): Move after_reason argument to be really after
7923 reason. This is to support fix for PR2424.
7924
7925 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7926
7927 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7928
7929 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7930
7931 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7932 field. Add more floating varobj tests.
7933 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7934 field.
7935 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7936 (main): Call do_at_tests.
7937 * lib/mi-support.exp (mi_create_floating_varobj)
7938 (mi_varobj_update_with_type_change): New.
7939
7940 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7941
7942 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7943 option of -var-evaluate-expression.
7944 * gdb.mi/mi2-var-display.exp: Likewise.
7945
7946 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7947
7948 Introduce test setup helpers.
7949 * lib/gdb.exp (build_executable, clean_restart)
7950 (prepare_for_testing): New.
7951 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7952 * gdb.base/return.exp: Likewise.
7953 * gdb.base/ending-run.exp: Likewise.
7954
7955 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7956
7957 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7958 Interface (MI) responses.
7959
7960 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7961
7962 * gdb.cp/breakpoint.cc: New code to test conditions involving
7963 member variables.
7964 * gdb.cp/breakpoint.exp: Test condition involving member
7965 variables.
7966
7967 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7968
7969 * lib/mi-support.exp (mi_expect_stop): New.
7970 (mi_run_cmd): Change the
7971 token. Use mi_send_resuming_command, use
7972 mi_expect_stop.
7973 (mi_execute_to_helper): Rename to mi_execute_to.
7974 (mi_send_resuming_command): Add more error patterns.
7975 (mi_wait_for_stop): Renamed to...
7976 (mi_get_stop_line): ...this.
7977 (mi_run_inline_test): Adjust.
7978
7979 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7980 * gdb.mi/mi-console.exp: Likewise.
7981 * gdb.mi/mi-pending.exp: Likewise.
7982 * gdb.mi/mi-simplerun.exp: Likewise.
7983 * gdb.mi/mi-stack.exp: Likewise.
7984 * gdb.mi/mi-stepi.exp: Likewise.
7985 * gdb.mi/mi-syn-frame.exp: Add comment.
7986 * gdb.mi/mi-until.exp: Likewise.
7987 * gdb.mi/mi-var-display.exp: Likewise.
7988 * gdb.mi/mi-watch.exp: Likewise.
7989 * gdb.mi/mi2-cli.exp: Likewise.
7990 * gdb.mi/mi2-console.exp: Likewise.
7991 * gdb.mi/mi2-simplerun.exp: Likewise.
7992 * gdb.mi/mi2-stack.exp: Likewise.
7993 * gdb.mi/mi2-stepi.exp: Likewise.
7994 * gdb.mi/mi2-until.exp: Likewise.
7995 * gdb.mi/mi2-var-display.exp: Likewise.
7996 * gdb.mi/mi2-watch.exp: Likewise.
7997
7998 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7999
8000 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8001
8002 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8003
8004 2008-04-04 Pedro Alves <pedro@codesourcery.com>
8005
8006 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8007 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8008 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8009 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8010 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8011 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8012 expect an mi error duplicated in stderr.
8013
8014 2008-04-03 Joel Brobecker <brobecker@adacore.com>
8015
8016 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8017 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8018 Add a couple of tests that verify the behavior when the new setting
8019 is set to "cancel" and "all".
8020 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8021 "ask" before we start the testing.
8022
8023 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8024
8025 * gdb.cp/casts.cc: Add class reference variables.
8026 * gdb.cp/casts.exp: New test cases for up/down casting references.
8027
8028 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8029
8030 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8031 instead of beginning to make an extra test pass.
8032 * gdb.mi/mi2-var-display.exp: Likewise.
8033
8034 2008-03-31 Maciej W. Rozycki <macro@mips.com>
8035
8036 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8037
8038 2008-03-31 Markus Deuling <deuling@de.ibm.com>
8039 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8040
8041 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8042 value. Add xfail for older kernels.
8043
8044 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8045
8046 Bring mi-support in line with gdb.exp.
8047 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8048 (mi_gdb_start): New function.
8049
8050 2008-03-28 Maciej W. Rozycki <macro@mips.com>
8051
8052 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8053
8054 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8055
8056 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8057 * gdb.mi/mi2-var-display.exp: Likewise.
8058
8059 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8060
8061 * lib/mi-support.exp (mi_create_varobj_checked): New.
8062 (mi_list_varobj_children): Allow to check for a
8063 value.
8064 (mi_list_array_varobj_children): New.
8065
8066 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8067 and mi_list_varobj_children, as opposed to hardcoding
8068 expected strings.
8069 * gdb.mi/gdb701.exp: Likewise.
8070 * gdb.mi/gdb792.exp: Likewise.
8071 * gdb.mi/mi-var-block.exp: Likewise.
8072 * gdb.mi/mi-var-cmd.exp: Likewise.
8073 * gdb.mi/mi-var-invalidate.exp: Likewise.
8074 * gdb.mi/mi2-var-block.exp: Likewise.
8075 * gdb.mi/mi2-var-child.exp: Likewise.
8076 * gdb.mi/mi2-var-cmd.exp: Likewise.
8077 * gdb.mi/mi2-var-display.exp: Likewise.
8078
8079 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8080
8081 Fix random false FAILs on i386.
8082 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8083
8084 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8085
8086 PR gdb/544
8087 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8088
8089 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8090
8091 PR gdb/544
8092 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8093
8094 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8095
8096 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8097 fixed PR gdb/544.
8098
8099 2008-03-21 Pedro Alves <pedro@codesourcery.com>
8100
8101 * gdb.threads/fork-child-threads.exp: Test next over fork.
8102
8103 2008-03-21 Chris Demetriou <cgd@google.com>
8104
8105 * gdb.base/break.exp (rbreak junk): New test for rbreak
8106 "Junk at end of arguments" issue.
8107
8108 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8109
8110 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8111 *& to work on created array elements.
8112 (Top level): Test print $pc with a file. Test string operations
8113 without a target.
8114 * gdb.base/ptype.exp: Do not expect *& to work on created array
8115 elements.
8116
8117 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8118
8119 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8120 gdb.threads/staticthreads.exp: Update exit query.
8121
8122 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8123
8124 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8125
8126 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8127
8128 * gdb.base/watchpoint.c (global_ptr, func4): New.
8129 (main): Call func4.
8130 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8131 (test_inaccessible_watchpoint): New.
8132
8133 2008-02-29 Maciej W. Rozycki <macro@mips.com>
8134
8135 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8136 select the largest.
8137
8138 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8139
8140 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8141 frames-invalid annotations.
8142
8143 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8144
8145 * gdb.base/assign.exp: avoid same output for different tests.
8146
8147 2008-02-27 Doug Evans <dje@google.com>
8148
8149 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8150 for bug 1738.
8151 (breakpoint_to_handler_entry): Ditto.
8152
8153 2008-02-27 Joel Brobecker <brobecker@adacore.com>
8154
8155 * gdb.base/ending-run.exp: Use the first line of code inside
8156 function body to test breakpoints.
8157 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8158 location where the breakpoint is inserted when using the line
8159 where a function is declared. Fix typo in the description of
8160 one of the tests.
8161 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8162
8163 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8164
8165 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
8166 tests.
8167
8168 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8169
8170 * gdb.base/args.exp: avoid same output for tests
8171 with single quotes.
8172
8173 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8174
8175 * gdb.base/annota1.exp: Adjust for 'info break'
8176 format changes.
8177 * gdb.base/annota3.exp: Likewise.
8178 * gdb.base/break.exp: Likewise.
8179 * gdb.base/condbreak.exp: Likewise.
8180 * gdb.base/pending.exp: Likewise.
8181 * gdb.base/sepdebug.exp: Likewise.
8182 * gdb.base/unload.exp: Likewise.
8183 * gdb.cp/ovldbreak.exp: Likewise.
8184 * gdb.mi/mi-pending.exp: Likewise.
8185
8186 2008-02-07 Doug Evans <dje@google.com>
8187
8188 * gdb.cp/mb-inline.exp: New.
8189 * gdb.cp/mb-inline.h: New.
8190 * gdb.cp/mb-inline1.cc: New.
8191 * gdb.cp/mb-inline2.cc: New.
8192
8193 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8194
8195 * gdb.pascal/floats.pas: New test program.
8196 * gdb.pascal/floats.exp: New testcase.
8197
8198 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8199
8200 * gdb.base/callfuncs.c (t_float_many_args): New function.
8201 (t_double_many_args): New function.
8202 * gdb.base/callfuncs.exp: Add tests for exceeding float
8203 and double parameters passed through the stack.
8204
8205 2008-02-05 Joel Brobecker <brobecker@adacore.com>
8206
8207 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8208 gdb.ada/complete/foo.adb: New files.
8209 * gdb.ada/complete.exp: New testcase.
8210
8211 2008-02-03 Doug Evans <dje@google.com>
8212
8213 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8214
8215 * gdb.cp/gdb2384.exp: New file.
8216 * gdb.cp/gdb2384.cc: New file.
8217 * gdb.cp/gdb2384-base.h: New file.
8218 * gdb.cp/gdb2384-base.cc: New file.
8219
8220 2008-02-02 Doug Evans <dje@google.com>
8221
8222 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8223
8224 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8225
8226 * gdb.ada/sym_print_name: New test program.
8227 * gdb.ada/sym_print_name.exp: New testcase.
8228
8229 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8230
8231 * gdb.ada/nested/hello.adb: New file.
8232 * gdb.ada/nested.exp: New testcase.
8233 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8234
8235 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8236
8237 * gdb.mi/basic.c (return_1): New function.
8238 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8239 don't cause future evaluations of function to report
8240 creation of internal breakpoints.
8241
8242 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8243
8244 * gdb.mi/mi-break.exp (test_error): New.
8245 Call it.
8246
8247 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
8248
8249 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8250 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8251
8252 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8253
8254 * gdb.pascal/integers.pas: New test program.
8255 * gdb.pascal/integers.exp: New testcase.
8256
8257 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8258
8259 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8260
8261 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
8262
8263 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8264 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8265
8266 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8267
8268 * gdb.ada/formatted_ref: New test program.
8269 * gdb.ada/formatted_ref.exp: New testcase.
8270
8271 * gdb.cp/formatted-ref.cc: New file.
8272 * gdb.cp/formatted-ref.exp: New testcase.
8273
8274 2008-01-30 Joel Brobecker <brobecker@adacore.com>
8275
8276 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8277
8278 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
8279
8280 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8281 (test_file_list_exec_source_file): Update to new macro-info field.
8282
8283 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8284
8285 * gdb.ada/exprs: New test program.
8286 * gdb.ada/exprs.exp: New testcase.
8287
8288 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8289
8290 * dfp-test.c (DELTA, DELTA_B): New definitions.
8291 (double_val1, double_val2, double_val3, double_val4, double_val5,
8292 double_val6, double_val7, double_val8, double_val9, double_val10,
8293 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8294 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8295 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8296 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8297 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8298 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8299 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8300 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8301 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8302 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8303 dec128_val16): New global variables.
8304 (decimal_dec128_align): New function.
8305 (decimal_mixed): Likewise.
8306 (decimal_many_args_dec32): Likewise.
8307 (decimal_many_args_dec64): Likewise.
8308 (decimal_many_args_dec128): Likewise.
8309 (decimal_many_args_mixed): Likewise.
8310 * dfp-test.exp: Add tests calling new inferior functions.
8311
8312 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8313
8314 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8315 gdb.server/ext-run.exp: New files.
8316 * lib/gdbserver-support.exp (gdbserver_download): New.
8317 (gdbserver_start): New. Update gdbserver expected
8318 output.
8319 (gdbserver_spawn): Use them.
8320 (gdbserver_start_extended): New.
8321
8322 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8323
8324 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8325 Run on GNU/Linux.
8326 (do_exec_tests): Check for systems which do not support catchpoints.
8327 Do not match START.
8328 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8329 Run on GNU/Linux. Enable verbose output.
8330 (check_fork_catchpoints): New.
8331 (explicit_fork_child_follow, catch_fork_child_follow)
8332 (tcatch_fork_parent_follow): Update expected messages.
8333 (do_fork_tests): Use check_fork_catchpoints.
8334 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8335 Run on GNU/Linux. Enable verbose output.
8336 (check_vfork_catchpoints): New.
8337 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8338 expected messages.
8339 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8340
8341 2008-01-29 Jim Blandy <jimb@red-bean.com>
8342
8343 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8344 host' errors.
8345 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8346
8347 2008-01-29 Jim Blandy <jimb@red-bean.com>
8348
8349 * gdb.threads/sigthread.c: Use barriers to ensure that
8350 child_thread and child_thread_two are always initialized before we
8351 start to use them.
8352
8353 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8354
8355 * gdb.base/watchpoint-solib.exp: New.
8356 * gdb.base/watchpoint-solib.c: New.
8357 * gdb.base/watchpoint-solib-shr.c: New.
8358
8359 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8360
8361 * gdb.base/gdb1056.exp: Add unsigned integer test.
8362
8363 2008-01-28 Doug Evans <dje@google.com>
8364
8365 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8366
8367 2008-01-27 Jim Blandy <jimb@codesourcery.com>
8368
8369 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8370
8371 * gdb.base/expand-psymtabs.exp: Doc fix.
8372
8373 2008-01-26 Mark Kettenis <kettenis@gnu.org>
8374
8375 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8376
8377 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
8378
8379 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8380 -var-set-format.
8381
8382 2008-01-23 Chris Demetriou <cgd@google.com>
8383
8384 * gdb.threads/thread_events.c: New testcase source file.
8385 * gdb.threads/thread_events.exp: New testcase expect file.
8386
8387 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
8388
8389 * lib/gdb.exp: Add the variable octal.
8390
8391 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8392 -var-set-format.
8393
8394 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8395 Vladimir Prus <vladimir@codesourcery.com>
8396
8397 * gdb.base/float.exp: Allow missing floating point for m68k and
8398 PowerPC.
8399
8400 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8401
8402 * gdb.mi/basics.c: Setup for testing breakpoints
8403 ignore count.
8404 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8405 * gdb.mi/mi-cli.exp: Adjust.
8406 * gdb.mi/mi2-cli.exp: Adjust.
8407
8408 2008-01-17 Pedro Alves <pedro@codesourcery.com>
8409
8410 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8411 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8412 with dummy_ptr's address.
8413 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8414 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8415 all targets.
8416 * gdb.mi/mi2-var-child.exp: Likewise.
8417
8418 2008-01-09 Joel Brobecker <brobecker@adacore.com>
8419
8420 * gdb.ada/null_array: New test program.
8421 * gdb.ada/null_array.exp: New testcase.
8422
8423 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
8424
8425 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8426 with required float modifiers.
8427
8428 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8429
8430 * gdb.ada/funcall_param: New test program.
8431 * gdb.ada/funcall_param.exp: New testcase.
8432
8433 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8434
8435 * gdb.ada/arrayparam: New test program.
8436 * gdb.ada/arrayparam.exp: New testcase.
8437
8438 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8439
8440 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8441 landed. Should also fix random failures in the test following it.
8442
8443 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8444
8445 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8446 for expressions with decimal float values.
8447 (test_dfp_conversions): New function to test casts to and from
8448 decimal float types.
8449 Call test_dfp_conversions.
8450 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8451 elements.
8452 (main): Initialize ds.float4 and ds.double8 elements.
8453 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8454 string to new error message.
8455 (d64_set_tests): Likewise.
8456 (d128_set_tests): Likewise.
8457 Add tests for expressions with decimal float variables. Add tests for
8458 conversions to and from decimal float types.
8459
8460 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8461
8462 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8463 * gdb.ada/packed_tagged.exp: New testcase.
8464
8465 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8466
8467 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8468 gdb.ada/homonym/homonym_main.adb: New files.
8469 * gdb.ada/homonym.exp: New testcase.
8470
8471 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8472
8473 * gdb.ada/packed_array.exp: Add testing of references to
8474 a packed array.
8475
8476 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8477
8478 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8479 New files.
8480 * gdb.ada/type_coercion.exp: New testcase.
8481
8482 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8483
8484 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8485 gdb.ada/tagged/foo.adb: New file.
8486 * gdb.ada/tagged.exp: New testcase.
8487
8488 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8489
8490 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8491 gdb.ada/ptype_field/foo.adb: New files.
8492 * gdb.ada/ptype_field.exp: New testcase.
8493
8494 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8495
8496 * gdb.ada/print_pc.exp: New testcase.
8497
8498 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8499
8500 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8501 gdb.ada/taft_type/p.adb: New files.
8502 * gdb.ada/taft_type.exp: New testcase.
8503
8504 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8505
8506 * gdb.ada/array_bounds/bar.adb: New file.
8507 * gdb.ada/array_bounds.exp: New testcase.
8508
8509 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8510
8511 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8512 gdb.ada/arrayptr/foo.adb: New files.
8513 * gdb.ada/arrayptr.exp: New testcase.
8514
8515 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8516
8517 * gdb.base/set-lang-auto.exp: New testcase.
8518
8519 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8520
8521 * gdb.ada/fun_addr/foo.adb: New file.
8522 * gdb.ada/fun_addr.exp: New testcase.
8523
8524 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8525
8526 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8527 New files
8528
8529 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8530
8531 * array_subscript_addr/p.adb: New file.
8532 * array_subscript_addr.exp: New testcase.
8533
8534 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8535
8536 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8537 New files.
8538 * gdb.ada/str_cmp_ref.exp: New testcase.
8539
8540 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8541
8542 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8543 gdb.ada/fun_in_declare/foo.adb: New files.
8544 * gdb.ada/fun_in_declare.exp: New testcase.
8545
8546 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8547
8548 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8549 gdb.ada/ref_param/pck.ads: New files.
8550 * gdb.ada/ref_param.exp: New testcase.
8551
8552 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8553
8554 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8555 gdb.ada/interface/foo.adb: New files.
8556 * gdb.ada/interface.exp: New testcase.
8557
8558 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8559
8560 * gdb.base/multi-forks.exp: Consume all output from child
8561 processes before proceeding to next test.
8562
8563 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8564
8565 * configure: Regenerated.
8566
8567 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8568
8569 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8570 gdb.ada/fixed_cmp/fixed.adb: New files.
8571 * gdb.ada/fixed_cmp.exp: New testcase.
8572
8573 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8574
8575 * gdb.ada/boolean_expr.exp: New testcase.
8576
8577 2007-12-26 Jim Blandy <jimb@codesourcery.com>
8578
8579 * gdb.base/multi-forks.exp: Doc fix.
8580
8581 2007-12-26 Joel Brobecker <brobecker@adacore.com>
8582
8583 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8584 * gdb.ada/char_param.exp: Do not compile our test program with
8585 -gnata, this is unnecessary.
8586 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8587
8588 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8589
8590 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8591 gdb.ada/print_chars/foo.adb: New files.
8592 * gdb.ada/print_chars.exp: New testcase.
8593
8594 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8595
8596 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8597 gdb.ada/char_param/foo.adb: New files.
8598 * gdb.ada/char_param.exp: New testcase.
8599
8600 2007-12-22 Jim Blandy <jimb@codesourcery.com>
8601
8602 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8603 hard-coding source line numbers into the test.
8604 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8605 gdb_get_line_number to find.
8606
8607 2007-12-22 Joel Brobecker <brobecker@adacore.com>
8608
8609 * gdb.base/ptype.c (highest): New struct type.
8610 (the_highest): New variable of that type.
8611 (main): Add dummy assignment to a field of variable the_highest.
8612 * gdb.base/ptype.exp: Test type printing of our new variable.
8613
8614 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8615
8616 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8617 and record first explicitly generated thread number.
8618 Use that thread number for thread specific watchpoint test.
8619 Add iteration number to repetitive tests.
8620
8621 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8622 Jim Blandy <jimb@codesourcery.com>
8623
8624 * gdb.base/expand-psymtabs.c: New testcase
8625 source file.
8626 * gdb.base/expand-psymtabs.exp: New testcase
8627 expect file.
8628
8629 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
8630
8631 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8632 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8633
8634 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8635
8636 * gdb.ada/frame_args/foo.adb: New file.
8637 * gdb.ada/frame_args/pck.ads: New file.
8638 * gdb.ada/frame_args/pck.adb: New file.
8639 * gdb.ada/frame_args.exp: New testcase.
8640
8641 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8642
8643 * gdb.base/frame-args.c: New file.
8644 * gdb.base/frame-args.exp: New testcase.
8645
8646 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
8647 Joseph Myers <joseph@codesourcery.com>
8648
8649 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8650
8651 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
8652
8653 * gdb.mi/mi-pending.exp: New.
8654 * gdb.mi/mi-pending.c: New.
8655 * gdb.mi/mi-pendshr.c: New.
8656
8657 2007-12-06 Jim Blandy <jimb@codesourcery.com>
8658
8659 * gdb.base/default.exp: Update expected output for 'info catch'.
8660
8661 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8662
8663 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8664 must be set to binary.
8665
8666 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8667
8668 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8669
8670 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8671
8672 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8673 gdb.mi/mi-file-transfer.exp: New.
8674
8675 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8676
8677 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8678
8679 2007-11-22 Maciej W. Rozycki <macro@mips.com>
8680
8681 * gdb.trace/backtrace.exp: Fix a typo.
8682 * gdb.trace/circ.exp: Likewise.
8683 * gdb.trace/collection.exp: Likewise.
8684 * gdb.trace/limits.exp: Likewise.
8685 * gdb.trace/report.exp: Likewise.
8686 * gdb.trace/tfind.exp: Likewise.
8687 * gdb.trace/while-dyn.exp: Likewise.
8688
8689 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
8690
8691 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8692 objects of pointers that can't be dereferenced are now
8693 "noneditable".
8694
8695 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8696
8697 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8698 (target_cpu): Remove.
8699
8700 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8701
8702 * gdb.base/ending-run.exp: Expect the list of cleared
8703 breakpoint to come in natural order, not the reversed one.
8704
8705 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8706
8707 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8708 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
8709
8710 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
8711
8712 * gdb.base/printcmds.exp: New function
8713 test_printf_with_dfp.
8714
8715 2007-11-02 Doug Evans <dje@google.com>
8716
8717 * gdb.disasm/t01_mov.s: Remove carriage returns.
8718 * gdb.disasm/t02_mova.s: Ditto.
8719 * gdb.disasm/t03_add.s: Ditto.
8720 * gdb.disasm/t04_sub.s: Ditto.
8721 * gdb.disasm/t05_cmp.s: Ditto.
8722 * gdb.disasm/t06_ari2.s: Ditto.
8723 * gdb.disasm/t07_ari3.s: Ditto.
8724 * gdb.disasm/t08_or.s: Ditto.
8725 * gdb.disasm/t09_xor.s: Ditto.
8726 * gdb.disasm/t10_and.s: Ditto.
8727 * gdb.disasm/t11_logs.s: Ditto.
8728 * gdb.disasm/t12_bit.s: Ditto.
8729 * gdb.disasm/t13_otr.s: Ditto.
8730
8731 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8732
8733 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8734
8735 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8736
8737 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8738 provide DFP support.
8739
8740 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8741
8742 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8743 Test "set powerpc vector-abi". Skip auto-detection tests for old
8744 toolchains.
8745
8746 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8747
8748 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8749 with [string compare].
8750
8751 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8752
8753 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8754 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8755
8756 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
8757
8758 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8759 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8760 * gdb.opt/Makefile.in: New makefile.
8761 * Makefile.in: Create new directory "gdb.opt".
8762 * configure.ac: Add "gdb.opt" directory.
8763 * configure: Regenerated.
8764
8765 2007-10-25 Doug Evans <dje@google.com>
8766
8767 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8768 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8769
8770 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
8771 Thiago Jung Bauermann <bauerman@br.ibm.com>
8772
8773 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8774 Floating Point expressions.
8775 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8776 Floating Point variables.
8777 * gdb.base/dfp-test.c: new file containing program with Decimal
8778 Floating variables, used by gdb.base/dfp-test.exp.
8779
8780 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8781
8782 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8783
8784 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8785
8786 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8787 compiling test case with GCC.
8788 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8789
8790 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8791
8792 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8793 format changes.
8794
8795 2007-10-18 Michael Snyder <msnyder@specifix.com>
8796
8797 * gdb.base/dbx.exp: Add missing "-re " operator.
8798
8799 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8800
8801 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8802 * configure.ac: Removed trailing spaces after backslash.
8803 * gdb.modula2: New directory.
8804 * gdb.modula2/Makefile.in: New file.
8805 * gdb.modula2/unbounded-array.exp: New file.
8806 * gdb.modula2/unbounded1.c: New file.
8807
8808 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8809
8810 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8811
8812 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
8813
8814 * gdb.base/sigstep.c (main): Add checks for
8815 return values for setitimer call.
8816 Call setitimer again with itimer = ITIMER_REAL
8817 if first call to setitimer fails.
8818
8819 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
8820
8821 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8822 of $timeout.
8823
8824 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8825
8826 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8827
8828 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
8829
8830 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8831 of gdb_expect call, to avoid interruption.
8832
8833 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8834
8835 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8836 (v_unsigned_long_long, v_long_long_array)
8837 (v_signed_long_long_array, v_unsigned_long_long_array)
8838 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8839 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8840 [!NO_LONG_LONG]: New.
8841 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8842 v_long_long_member.
8843
8844 (v_long_long_func, v_signed_long_long_func)
8845 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8846 (main) [!NO_LONG_LONG]: Initialize long long variants.
8847
8848 * gdb.base/whatis.exp: If board file requests no_long_long, build
8849 test with NO_LONG_LONG defined. Test long long, signed long long,
8850 and unsigned long long variants but only if board file doesn't
8851 disable it.
8852
8853 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8854 Daniel Jacobowitz <dan@codesourcery.com>
8855
8856 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8857 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8858 * configure: Regenerated.
8859 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8860 gdb.pascal/types.exp, lib/pascal.exp: New files.
8861
8862 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8863
8864 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8865 call.
8866 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8867 to return to the call.
8868 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8869 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8870 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8871 * gdb.mi/mi-until.exp (test_until): Likewise.
8872 * gdb.mi/mi2-until.exp (test_until): Likewise.
8873
8874 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8875
8876 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8877 two-char array.
8878 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8879
8880 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8881
8882 * gdb.threads/watchthreads.c (thread_function): Sleep between
8883 iterations.
8884 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8885 at once for S/390. Generate matching fails and passes.
8886
8887 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8888
8889 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8890 the 'struct_declarations' variable to zeros.
8891
8892 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8893
8894 * gdb.cp/mb-ctor.cc: New.
8895 * gdb.cp/mb-ctor.exp: New.
8896 * gdb.cp/mb-templates.cc: New.
8897 * gdb.cp/mb-templates.exp: New.
8898
8899 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8900
8901 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8902
8903 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8904
8905 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8906 targets.
8907 * configure: Regenerate.
8908
8909 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8910
8911 * gdb.base/annota1.exp: Adjust for 'info break'
8912 format changes.
8913 * gdb.base/annota3.exp: Likewise.
8914 * gdb.base/break.exp: Likewise.
8915 * gdb.base/condbreak.exp: Likewise.
8916 * gdb.base/pending.exp: Likewise.
8917 * gdb.base/sepdebug.exp: Likewise.
8918 * gdb.base/unload.exp: Likewise.
8919 * gdb.base/ovldbreak.exp: Likewise.
8920
8921 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8922
8923 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8924 messages.
8925 * gdb.base/chng-syms.exp: Likewise.
8926 * gdb.base/unload.exp: Likewise.
8927
8928 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8929
8930 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8931
8932 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8933
8934 * schedlock.c (NUM): Change to 1.
8935 (main): Use args[0] for the main thread.
8936 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8937 regardless of the number of threads.
8938
8939 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8940
8941 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8942 type down.
8943 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8944 test.
8945 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8946 watchpoint type down.
8947 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8948 test.
8949
8950 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8951
8952 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8953 Move all the tests here and run them twice, once using software
8954 watchpoints and once using hardware watchpoints.
8955 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8956
8957 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8958
8959 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8960 test.
8961
8962 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8963
8964 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8965 build-id.
8966
8967 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8968 know about $ORIGIN. Calculate output dir from $dest instead of
8969 using ${objdir}/{$subdir}.
8970
8971 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8972
8973 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8974 gcore, before continuing with the test.
8975
8976 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8977
8978 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8979 * gdb.mi/mi-watch.exp: Likewise.
8980
8981 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8982 Jim Blandy <jimb@codesourcery.com>
8983
8984 * gdb.arch/i386-sse.exp: Do not expect character constants.
8985 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8986 * gdb.base/display.exp: Allow print/s.
8987 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8988 and unsigned char array changes.
8989
8990 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8991
8992 * gdb.base/display.exp: Add tests for printf %p.
8993
8994 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8995
8996 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8997 the dll name to unicode.
8998
8999 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9000
9001 * gdb.base/default.exp (show version): Update the version text.
9002 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9003
9004 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9005
9006 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9007 New files.
9008
9009 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 * lib/gdb.exp (build_id_debug_filename_get): New function.
9012 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9013 Remove the generate DEBUG file for the future testcase runs.
9014 New testcase for the NT_GNU_BUILD_ID retrieval.
9015 Move the final testing step to ...
9016 (test_different_dir): ... a new function.
9017 New parameter XFAIL to XFAIL all the tests performed.
9018 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9019 New parameter TYPE to PF_PREFIX all the tests performed.
9020
9021 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9022
9023 * gdb.mi/mi-var-cp.cc (path_expression): New
9024 function.
9025 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9026
9027 2007-08-27 Markus Deuling <deuling@de.ibm.com>
9028
9029 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9030 to fit into SPU Local Store memory.
9031
9032 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9033
9034 * gdb.base/default.exp: Adjust the expected output of "info
9035 warranty" after the switch to GPLv3.
9036
9037 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9038
9039 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9040 to 30000 (from 20000).
9041
9042 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9043
9044 Switch the license of all .exp files to GPLv3.
9045 Switch the license of all .f and .f90 files to GPLv3.
9046 Switch the license of all .s and .S files to GPLv3.
9047
9048 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9049
9050 * configure.ac: Switch license to GPLv3.
9051
9052 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9053
9054 Switch the licensing to GPLv3 for all .ads and .adb files.
9055
9056 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9057
9058 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9059 and t_int_double.
9060 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9061
9062 2007-08-17 Joel Brobecker <brobecker@adacore.com>
9063
9064 * gdb.base/step-line.c: Switch license to GPL version 3, and
9065 update copyright year.
9066 * gdb.base/step-line.inp: Likewise.
9067
9068 2007-08-17 Joel Brobecker <brobecker@adacore.com>
9069
9070 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9071 changes inside gdb1555.c.
9072 * gdb.base/pending.exp: Likewise.
9073
9074 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9075
9076 * config/default.exp: New file.
9077
9078 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9079
9080 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9081 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9082
9083 2007-07-30 Maciej W. Rozycki <macro@mips.com>
9084
9085 * gdb.base/dump.exp: Force the correct endianness for binary
9086 formats not carrying this information.
9087
9088 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9089
9090 * gdb.threads/staticthreads.exp: Match .*sem_post.
9091
9092 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9093
9094 * gdb.base/readline.exp (operate_and_get_next): Match the final
9095 prompt.
9096
9097 2007-07-23 Kevin Buettner <kevinb@redhat.com>
9098
9099 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9100 to restarting SID.
9101
9102 2007-07-18 Kevin Buettner <kevinb@redhat.com>
9103
9104 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9105 prior to `gdb_start'.
9106
9107 2007-07-18 Kevin Buettner <kevinb@redhat.com>
9108
9109 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9110 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9111 Remove call to gdb_unload.
9112
9113 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9114 Daniel Jacobowitz <dan@codesourcery.com>
9115
9116 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9117 for __WIN32__.
9118 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9119 * gdb.base/unload.exp: Use shared library test routines.
9120
9121 2007-07-03 Markus Deuling <deuling@de.ibm.com>
9122
9123 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9124 * gdb.base/solib-symbol-lib.c: Likewise.
9125 * gdb.base/solib-symbol-main.c: Likewise.
9126
9127 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9128
9129 * config/gdbserver.exp (gdb_reconnect): New.
9130 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9131 gdb.base/solib-disc.exp: New files.
9132 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9133 remote debugging".
9134 (gdb_compile): Add shlib_load flag.
9135 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9136 port.
9137 (gdbserver_reconnect): New.
9138
9139 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
9140 Daniel Jacobowitz <dan@codesourcery.com>
9141
9142 * gdb.base/annota3.exp: Test for if construct.
9143
9144 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9145
9146 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9147
9148 2007-06-21 Chris Dearman <chris@mips.com>
9149 Maciej W. Rozycki <macro@mips.com>
9150
9151 * gdb.base/display.exp: Allow a newline after display/i.
9152 * gdb.base/pc-fp.exp: Likewise.
9153 * gdb.base/sigbpt.exp: Likewise.
9154
9155 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9156
9157 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9158 required features to be included.
9159
9160 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9161
9162 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9163 in info threads output.
9164
9165 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9166 Markus Deuling <deuling@de.ibm.com>
9167
9168 * gdb.arch/spu-info.exp: New testcase.
9169 * gdb.arch/spu-info.c: New file.
9170
9171 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9172
9173 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9174 tpcs_offset. Restore lr after the call.
9175 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9176
9177 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9178
9179 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9180 (gdbserver_run): Kill any running gdbserver.
9181 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9182
9183 2007-05-17 Maciej W. Rozycki <macro@mips.com>
9184
9185 * gdb.base/sigbpt.exp: Preset segv_addr.
9186
9187 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9188
9189 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9190 (gdb_compile_shlib): Likewise.
9191 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9192 (default_gdb_init): Clear cleanfiles.
9193 (gdb_finish): Delete recorded cleanfiles.
9194 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9195
9196 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9197 Do not use isnative.
9198 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9199 gdb.base/so-impl-ld.exp: Likewise.
9200 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9201 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9202 gdb_compile.
9203
9204 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9205
9206 * config/unknown.exp: Remove.
9207
9208 2007-05-15 Markus Deuling <deuling@de.ibm.com>
9209
9210 * gdb.base/info-proc.exp: Check is_remote.
9211
9212 2007-05-14 Markus Deuling <deuling@de.ibm.com>
9213
9214 * gdb.base/gcore.exp: Initialize variable core_supported.
9215
9216 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9217
9218 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9219
9220 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9221
9222 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9223 * gdb.threads/print-threads.exp (test_all_threads): Allow
9224 negative and hexadecimal thread IDs.
9225
9226 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9227
9228 * gdb.java/jprint.java (public): Avoid invalid call to static
9229 method.
9230
9231 2007-05-14 Denis Pilat <denis.pilat@st.com>
9232
9233 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9234 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9235 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9236 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9237 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9238
9239 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9240
9241 * gdb.base/overlays.exp: Add support for targets with only code
9242 overlay support, not data overlay. Support spu-*-* target in
9243 this mode.
9244 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9245 * gdb.base/spu.ld: New file.
9246
9247 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9248
9249 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9250
9251 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9252
9253 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9254
9255 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9256
9257 * gdb.java/jmain.exp: Handle demangled names with and without method
9258 signatures.
9259
9260 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9261
9262 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9263 (have_a_very_merry_interrupt): Remove calls to puts.
9264 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9265 inferior output.
9266 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9267 test names.
9268
9269 2007-04-29 Markus Deuling <deuling@de.ibm.com>
9270 Daniel Jacobowitz <dan@codesourcery.com>
9271
9272 * gdb.base/auxv.exp (core_works): Also check is_remote.
9273 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9274
9275 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
9276
9277 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9278 message, not the undefined 'module' variable.
9279 * gdb.base/siginfo.exp: Likewise.
9280 * gdb.base/sigstep.exp: Likewise.
9281 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9282 serialport.
9283 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9284
9285 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
9286
9287 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9288 target sim fails. Return 0 otherwise.
9289 (gdb_load): Return prematurely if gdb_target_sim fails.
9290
9291 2007-04-16 Denis Pilat <denis.pilat@st.com>
9292
9293 * gdb.base/setshow.exp: Reset height after having set it to 100.
9294
9295 2007-04-16 Denis Pilat <denis.pilat@st.com>
9296
9297 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9298
9299 2007-04-16 Denis Pilat <denis.pilat@st.com>
9300
9301 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9302
9303 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9304
9305 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9306 tests. Run the frozen varobjs test.
9307 * gdb.mi/var-cmd.c (do_frozen_tests): New.
9308 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
9309
9310 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9311
9312 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9313 gdb.base/type-opaque.exp: New files.
9314
9315 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
9316
9317 * gdb.mi/mi-var-child.c
9318 (do_children_tests): User char[2] instead of
9319 char so that automatic printing of pointers to char
9320 don't give unpredicable result.
9321 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9322 local variables.
9323 * gdb.mi/mi-var-child.exp: Step to right line
9324 of do_children_tests.
9325 * gdb.mi/mi2-var-child.exp: Likewise.
9326 * gdb.mi/mi-var-cmd.exp: Step to right line of
9327 do_locals_tests.
9328 (do_children_tests): User char[2] instead of
9329 char so that automatic printing of pointers to char
9330 don't give unpredicable result.
9331 * gdb.mi/mi2-var-cmd.exp: Likewise.
9332 * lib/mi-support.exp (mi_continue_to_line):
9333 Pass test name to mi_wait_for_stop.
9334
9335 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9336
9337 * gdb.asm/asm-source.exp: Remove d10v case.
9338 * lib/gdb.exp (skip_cplus_tests): Likewise.
9339 * gdb.asm/d10v.inc: Deleted.
9340
9341 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9342
9343 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9344
9345 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9346
9347 * config/netware.exp: Delete file.
9348
9349 2007-03-29 Joel Brobecker <brobecker@adacore.com>
9350
9351 * gdb.dwarf2/dw2-noloc.S: New file.
9352 * gdb.dwarf2/dw2-noloc.exp: New file.
9353
9354 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9355
9356 * gdb.cp/method2.cc: New test.
9357 * gdb.cp/method2.exp: New test.
9358 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9359
9360 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9361
9362 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9363
9364 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9365
9366 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9367
9368 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9369
9370 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9371 (gdb_load): Delete, replace with...
9372 (gdb_reload): ...this.
9373 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9374 * gdb.server/server-mon.exp: Likewise.
9375 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9376 (gdb_start_cmd): New.
9377 (gdb_file_cmd): Save the last loaded file.
9378 (gdb_reload): New.
9379 (gdb_gnu_strip_debug): Use transform.
9380 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9381 support here. Use new $last_loaded_file. Check mtime.
9382 (gdb_target_cmd): Handle ObjC failure case.
9383 (infer_host_exec): Delete.
9384 (gdbserver_load): Rename to...
9385 (gdbserver_run): ...this. Simplify.
9386 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9387 (mi_gdb_load): Move most contents to a new function...
9388 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9389 (mi_run_cmd): Use mi_gdb_target_load.
9390 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9391 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9392 Use gdb_run_cmd.
9393 * gdb.base/charsign.exp: Remove incorrect comment.
9394 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9395 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9396 gdb.base/start.exp: Use gdb_start_cmd.
9397
9398 2007-03-23 Nigel Stephens <nigel@mips.com>
9399 Maciej W. Rozycki <macro@mips.com>
9400
9401 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9402 * gdb.base/signull.exp: Similarly.
9403
9404 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9405
9406 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9407 messages available to test cases (like chng-sym.exp).
9408
9409 2007-03-14 Andreas Schwab <schwab@suse.de>
9410
9411 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9412 format changes.
9413
9414 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9415
9416 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9417 (optimized_1): New.
9418 (main): Call optimized_1.
9419 (gdb2029): Correct typos. Call gdb2029_marker.
9420 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9421 for gdb2029.
9422
9423 2007-03-12 Mark Kettenis <kettenis@gnu.org>
9424
9425 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9426 as tabs. Remove redundant test pattern.
9427
9428 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9429
9430 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9431 for /a format output.
9432
9433 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9434
9435 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9436 collect output incrementally.
9437
9438 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9439
9440 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9441 for -var-create lpcharacter test.
9442 * gdb.mi/mi2-var-cmd.exp: Likewise.
9443
9444 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9445
9446 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9447 pass on targets where address zero is readable.
9448
9449 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9450
9451 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9452 just a single architecture.
9453
9454 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9455
9456 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9457 (fetch_all_registers): New function, uses gdb_test_multiple and
9458 exp_continue to fetch inferior output line-by-line.
9459 Replace all uses of do_get_all_registers by fetch_all_registers.
9460
9461 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9462
9463 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9464 in target_info.
9465
9466 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9467
9468 * gdb.threads/manythreads.exp: Use $message string for
9469 consistancy; add a default (timeout) case.
9470
9471 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9472
9473 * gdb.base/watchpoint.exp: Fix truncated comment.
9474
9475 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9476
9477 * Makefile.in: Remove spurious single-quotes from sed command.
9478
9479 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9480
9481 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9482 func.
9483 * gdb.mi/mi2-var-cmd.exp: Likewise.
9484
9485 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9486
9487 * gdb.dwarf2/dw2-producer.S: New file.
9488 * gdb.dwarf2/dw2-producer.exp: New testcase.
9489
9490 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
9491
9492 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9493 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9494 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9495 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9496 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9497 Revert tests to use mi_gdb_test and include value field in output
9498 of -var-create.
9499
9500 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9501
9502 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9503
9504 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9505
9506 * gdb.base/maint.exp: Remove full paths from test names.
9507 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9508 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9509
9510 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9511
9512 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9513
9514 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9515
9516 * gdb.server/server-mon.exp: New test.
9517
9518 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9519
9520 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9521
9522 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9523
9524 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9525 register capitalization.
9526
9527 2007-02-13 Denis Pilat <denis.pilat@st.com>
9528
9529 * gdb.mi/mi-var-invalidate.exp: New file.
9530
9531 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9532
9533 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9534
9535 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9536
9537 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9538
9539 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9540
9541 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9542 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9543
9544 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9545
9546 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9547 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9548 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9549 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9550 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9551 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9552 Update tests to include value field in output of -var-create.
9553
9554 2007-02-08 Andreas Schwab <schwab@suse.de>
9555
9556 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9557
9558 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9559
9560 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9561 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9562
9563 2007-02-02 Denis Pilat <denis.pilat@st.com>
9564
9565 * gdb.threads/threadapply.exp: check that frame is not changed by
9566 the thread apply all command.
9567
9568 2007-01-31 Andreas Schwab <schwab@suse.de>
9569
9570 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9571
9572 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9573 in the dwarf sections.
9574 * gdb.dwarf2/mac-fileno.S: Likewise.
9575
9576 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9577 bspstore register on ia64.
9578
9579 2007-01-29 Andreas Schwab <schwab@suse.de>
9580
9581 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9582 "frame-begin" annotation.
9583
9584 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9585 number of "frames-invalid" annotations.
9586
9587 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9588
9589 * gdb.base/commands.exp: Call if_commands_test.
9590 (gdb_test_no_prompt, if_commands_test): New.
9591
9592 2007-01-28 Mark Kettenis <kettenis@gnu.org>
9593
9594 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9595
9596 2007-01-27 Andreas Schwab <schwab@suse.de>
9597
9598 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9599 .short/.int/.quad in the dwarf sections.
9600 * gdb.dwarf2/dw2-intercu.S: Likewise.
9601 * gdb.dwarf2/dw2-intermix.S: Likewise.
9602
9603 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9604
9605 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9606 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9607 array.
9608 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9609 * gdb.base/setvar.exp: Likewise.
9610
9611 2007-01-26 Andreas Schwab <schwab@suse.de>
9612
9613 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9614 test.
9615
9616 * gdb.base/multi-forks.exp ("restart $i"): Also match
9617 __kernel_syscall_via_break.
9618
9619 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9620
9621 * lib/mi-support.exp (mi_delete_varobj): New.
9622 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9623 testcase.
9624 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9625 (main): Call the above.
9626 (reference_update_test, base_in_reference_test)
9627 (reference_to_pointer): Delete the created varobjs.
9628
9629 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9630
9631 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9632 * configure: Regenerated.
9633 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9634 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9635 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9636 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9637 * lib/gdb.exp (gdb_skip_xml_test): New function.
9638
9639 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9640
9641 * gdb.base/sigrepeat.exp: Correct error message.
9642
9643 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9644 Daniel Jacobowitz <dan@codesourcery.com>
9645
9646 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9647 gdb.arch/i386-gnu-cfi-asm.S: New files.
9648
9649 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9650
9651 * lib/gdb.exp: Abort on missing `site.exp'.
9652
9653 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9654 Daniel Jacobowitz <dan@codesourcery.com>
9655
9656 * gdb.base/included.c, gdb.base/included.exp,
9657 gdb.base/included.h: New files.
9658
9659 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9660
9661 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9662 (maximize_rlimit): Reduce limits on 64-bit systems.
9663
9664 2007-01-19 Mark Kettenis <kettenis@gnu.org>
9665
9666 From Marcus Deuling <deuling@de.ibm.com>:
9667 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9668 every case.
9669
9670 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
9671
9672 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9673 (test_path_specification): Use objdir instead of srcdir to always
9674 get an absolute filename.
9675
9676 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9677
9678 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9679
9680 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9681
9682 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9683 Make sure the variable we're using is in scope.
9684 (reference_to_pointer): Likewise.
9685
9686 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9687
9688 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9689 has no debug information.
9690
9691 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9692
9693 * gdb.base/annota1.exp: Remove extra send_gdb.
9694
9695 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9696
9697 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9698
9699 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9700
9701 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9702
9703 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
9704 Daniel Jacobowitz <dan@codesourcery.com>
9705
9706 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9707 lcharacter or linteger change. Correct duplicated test name.
9708 * gdb.mi/mi2-var-cmd.exp: Likewise.
9709
9710 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9711
9712 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9713
9714 2007-01-05 Joel Brobecker <brobecker@adacore.com>
9715
9716 * gdb.base/nofield.c: New file.
9717 * gdb.base/nofield.exp: New testcase.
9718
9719 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
9720
9721 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9722
9723 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9724 test.
9725
9726 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9727
9728 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9729
9730 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9731
9732 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9733 when continuing.
9734
9735 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9736
9737 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9738 Expect ".exe" extension.
9739
9740 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9741
9742 * gdb.base/charset.exp: Add explicit filename to break.
9743 * gdb.base/dbx.exp: Add explicit filename to breaks.
9744
9745 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9746
9747 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9748 * gdb.mi/mi2-file.exp: Likewise.
9749
9750 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9751
9752 Implement specification of MI tests as comments
9753 in C and C++ sources.
9754 * lib/mi-support.exp (mi_autotest_data): New variable.
9755 (mi_autotest_source): New variable.
9756 (count_newlines, mi_prepare_inline_tests)
9757 (mi_get_inline_test, mi_continue_to_line)
9758 (mi_run_inline_test, mi_tbreak)
9759 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9760 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9761 Run inline tests.
9762 * gdb.mi/mi-var-cp.cc: Define tests here.
9763
9764 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9765
9766 Simplify usage of mi_continue_to.
9767 * lib/mi-support.exp (mi_runto_helper): Renamed
9768 from mi_runto, added new parameter 'run_or_continue'.
9769 (mi_runto): Use mi_runto_helper.
9770 (mi_continue_to): Accept just function name as parameter.
9771 Use mi_runto_helper.
9772 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9773 * gdb.mi/mi2-var-cmd.exp: Likewise.
9774
9775 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9776
9777 Make this testcase a bit more realistic. The current code
9778 is too simplistic, and allows the compiler to optimize out
9779 some of the entities we need for this testcase.
9780 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9781 (Do_Nothing): Add extra parameter.
9782 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9783 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9784 by using a variable of type Void_Star.
9785
9786 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9787
9788 * gdb.ada/catch_ex/foo.adb: New file.
9789 * gdb.ada/catch_ex.exp: New testcase.
9790
9791 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9792
9793 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9794 pass --image-base to linker.
9795
9796 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9797 Daniel Jacobowitz <dan@codesourcery.com>
9798
9799 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9800 secondary prompts.
9801
9802 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9803
9804 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9805 output. Test the types of members and member pointers.
9806 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9807 gdb/2092.
9808 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9809 statement. Enable for GCC. Update expected output for some tests
9810 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9811 layout.
9812 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9813 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9814 (Diamond::vget_base): New.
9815 (main): Add new tests.
9816 * gdb.cp/printmethod.exp: Update expected output for member functions.
9817 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9818 print pEe->D::vg().
9819
9820 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9821
9822 * gdb.threads/tls.exp: Allow stops in sem_post.
9823
9824 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9825
9826 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9827 * gdb.base/annota3.exp: Likewise.
9828 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9829 again (instead of timing out).
9830 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9831 GCC bug 26475.
9832 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9833 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9834 test from jmisc1.exp.
9835 * gdb.java/jmisc1.exp: Delete.
9836 * gdb.java/jprint.exp: Adjust to work with method signatures including
9837 return types.
9838 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9839 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9840 * lib/java.exp (compile_java_from_source): Pass the correct type
9841 to target_compile.
9842
9843 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9844
9845 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9846 (stack_align_edx): New function.
9847 (stack_align_eax): New function.
9848 (main): Add calls to stack_align_edx and stack_align_eax.
9849 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9850 Add testing for the cases where the register used during a stack
9851 realignment is edx. Same for eax.
9852
9853 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9854
9855 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9856 and generic PE targets.
9857
9858 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9859
9860 * gdb.ada/array_return.exp: Update copyright date list.
9861
9862 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9863
9864 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9865 (Create_Small_Float_Vector): New function.
9866 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9867 function body.
9868 * gdb.ada/array_return/p.adb: Use new type and function from
9869 package Pck.
9870 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9871 able to print the value returned by a function returning an
9872 array of float.
9873
9874 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9875
9876 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9877 The associated tests should be PASSing.
9878
9879 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9880
9881 Test for base in references.
9882 * gdb.mi/mi-var-cp.cc: Add test code.
9883 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9884 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9885 * gdb.mi/mi2-watch.exp: Likewise.
9886 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9887 (mi_list_varobj_children): New function.
9888
9889 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9890
9891 * lib/mi-support.exp
9892 (mi_runto): Accept "()" after function name.
9893 (mi_create_varobj): New function.
9894 (mi_varobj_update): New function.
9895 (mi_Check_varobj_value): New function.
9896 * gdb.mi/mi-var-cp.exp: New file.
9897 * gdb.mi/mi-var-cp.cc: New file.
9898
9899 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9900
9901 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9902 gdb.base/weaklib2.c: New files.
9903
9904 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9905
9906 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9907 info. Adjust test names.
9908
9909 * gdb.base/break.c (main): Move position of malloc.
9910 * gdb.base/break.exp: Revert mistaken checkin.
9911
9912 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9913
9914 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9915 assignement of arrays and function pointers.
9916 * gdb.mi/var-cmd.c: Add declaration necessary for above
9917 tests.
9918
9919 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9920
9921 * gdb.base/break.c (main): Call malloc.
9922
9923 * gdb.threads/linux-dp.exp: Read thread table before and after
9924 creating each philosopher and verify it.
9925
9926 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9927 Paul Brook <paul@codesourcery.com>
9928 Daniel Jacobowitz <dan@codesourcery.com>
9929
9930 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9931 main to remove duplication. Add start function of the form
9932 '_*start[1-9]*'. Add RVDS start function.
9933
9934 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9935
9936 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9937
9938 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9939
9940 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9941 * gdb.asm/spu.inc: New file.
9942 * gdb.base/term.exp: Disable if [target_info exists noargs].
9943 * gdb.gdb/complaints.exp: Disable if ![isnative].
9944 * gdb.gdb/selftest.exp: Likewise.
9945 * gdb.gdb/observer.exp: Likewise.
9946 * gdb.gdb/xfullpath.exp: Likewise.
9947 * gdb.base/attach.exp: Disable on SPU target.
9948 * gdb.cp/bs145503.exp: Likewise.
9949 * gdb.cp/exception.exp: Likewise.
9950 * gdb.cp/userdef.exp: Likewise.
9951
9952 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9953
9954 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9955
9956 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9957
9958 * gdb.base/completion.exp: Fix completion tests for
9959 'info' and 'info '.
9960 * gdb.base/help.exp (help_test_raw, test_class_help)
9961 (test_prefix_command_help): Move...
9962 * lib/gdb.exp: Here.
9963 * gdb.base/main.exp: Adjust.
9964 * gdb.cp/maint.exp: Adjust.
9965 * gdb.trace/tracecmd.exp: Use test_help_class.
9966
9967 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9968
9969 * gdb.stabs/weird.exp (print_weird_var): Use
9970 gdb_test_multiple instead of gdb_expect.
9971
9972 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9973
9974 * gdb.base/help.exp (help_test_raw): New.
9975 (test_class_help): New.
9976 (test_prefix_command_help): New.
9977 Adjust testcases.
9978
9979 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9980
9981 * gdb.base/constvars.c (main): Write to crass and crips, so that
9982 they are allocated by the compiler.
9983
9984 2006-10-27 Andreas Schwab <schwab@suse.de>
9985
9986 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9987 "detach-fork".
9988
9989 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9990
9991 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9992 of patterns.
9993
9994 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9995
9996 * gdb.base/sepdebug.exp: Remove debug format test.
9997 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9998 Handle no-symtab.
9999 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10000
10001 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10002
10003 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10004 int to pointer or pointer to int.
10005 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10006
10007 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10008
10009 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10010
10011 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10012
10013 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10014
10015 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10016
10017 PR c++/2116
10018 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10019
10020 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10021
10022 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10023 the corresponding bug has been fixed in GDB (PR/2018).
10024
10025 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10026
10027 * gdb.base/subst.exp: New testcase.
10028
10029 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10030
10031 * gdb.ada/array_return/pck.ads: Add copyright notice.
10032 * gdb.ada/array_return/pck.adb: Likewise.
10033 * gdb.ada/array_return/p.adb: Likewise.
10034 * gdb.ada/exec_changed/first.adb: Likewise.
10035 * gdb.ada/exec_changed/second.adb: Likewise.
10036
10037 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10038
10039 * gdb.ada/watch_arg/watch.adb: New file.
10040 * gdb.ada/watch_arg.exp: New testcase.
10041
10042 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10043
10044 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
10045 via string_to_regexp.
10046 * gdb.mi/mi2-basics.exp: Likewise.
10047
10048 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
10049
10050 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10051 Remove unused / obsolete files.
10052
10053 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
10054
10055 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10056
10057 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10058
10059 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10060 HIGH_FRAME argument to -stack-list-arguments can be larger than
10061 the number of frames.
10062
10063 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10064
10065 * gdb.base/args.c (main): Add breakpoint marker.
10066 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10067 really test empty arguments.
10068 (args_load): Delete.
10069 (args_test): New.
10070
10071 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
10072
10073 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
10074 check for one file.
10075
10076 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10077
10078 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10079 HIGH_FRAME argument to -stack-list-locals can be larger than
10080 the number of frames.
10081
10082 2006-08-18 Fred Fish <fnf@specifix.com>
10083
10084 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10085 '$' in front of skip_vmx_tests_saved when setting that.
10086
10087 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10088
10089 * gdb.base/trace-commands.exp: New file.
10090
10091 2006-08-10 Joel Brobecker <brobecker@adacore.com>
10092 Daniel Jacobowitz <dan@codesourcery.com>
10093
10094 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10095 expected output of the backtrace commands.
10096
10097 2006-08-09 Joel Brobecker <brobecker@adacore.com>
10098
10099 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10100 untested followed by return combination.
10101 * gdb.arch/altivec-regs.exp: Likewise.
10102 * gdb.arch/e500-abi.exp: Likewise.
10103 * gdb.arch/e500-regs.exp: Likewise.
10104 * gdb.arch/gdb1291.exp: Likewise.
10105 * gdb.arch/gdb1431.exp: Likewise.
10106 * gdb.arch/gdb1558.exp: Likewise.
10107 * gdb.arch/i386-prologue.exp: Likewise.
10108 * gdb.arch/i386-unwind.exp: Likewise.
10109 * gdb.asm/asm-source.exp: Likewise.
10110 * gdb.base/a2-run.exp: Likewise.
10111 * gdb.base/advance.exp: Likewise.
10112 * gdb.base/all-bin.exp: Likewise.
10113 * gdb.base/annota1.exp: Likewise.
10114 * gdb.base/annota3.exp: Likewise.
10115 * gdb.base/args.exp: Likewise.
10116 * gdb.base/arithmet.exp: Likewise.
10117 * gdb.base/assign.exp: Likewise.
10118 * gdb.base/async.exp: Likewise.
10119 * gdb.base/attach.exp: Likewise.
10120 * gdb.base/bang.exp: Likewise.
10121 * gdb.base/bigcore.exp: Likewise.
10122 * gdb.base/bitfields.exp: Likewise.
10123 * gdb.base/bitfields2.exp: Likewise.
10124 * gdb.base/break.exp: Likewise.
10125 * gdb.base/call-sc.exp: Likewise.
10126 * gdb.base/call-strs.exp: Likewise.
10127 * gdb.base/callfuncs.exp: Likewise.
10128 * gdb.base/checkpoint.exp: Likewise.
10129 * gdb.base/chng-syms.exp: Likewise.
10130 * gdb.base/code-expr.exp: Likewise.
10131 * gdb.base/commands.exp: Likewise.
10132 * gdb.base/completion.exp: Likewise.
10133 * gdb.base/cond-expr.exp: Likewise.
10134 * gdb.base/condbreak.exp: Likewise.
10135 * gdb.base/consecutive.exp: Likewise.
10136 * gdb.base/constvars.exp: Likewise.
10137 * gdb.base/corefile.exp: Likewise.
10138 * gdb.base/cvexpr.exp: Likewise.
10139 * gdb.base/dbx.exp: Likewise.
10140 * gdb.base/define.exp: Likewise.
10141 * gdb.base/detach.exp: Likewise.
10142 * gdb.base/display.exp: Likewise.
10143 * gdb.base/dump.exp: Likewise.
10144 * gdb.base/ena-dis-br.exp: Likewise.
10145 * gdb.base/ending-run.exp: Likewise.
10146 * gdb.base/environ.exp: Likewise.
10147 * gdb.base/eval-skip.exp: Likewise.
10148 * gdb.base/exprs.exp: Likewise.
10149 * gdb.base/fileio.exp: Likewise.
10150 * gdb.base/finish.exp: Likewise.
10151 * gdb.base/float.exp: Likewise.
10152 * gdb.base/foll-exec.exp: Likewise.
10153 * gdb.base/foll-fork.exp: Likewise.
10154 * gdb.base/foll-vfork.exp: Likewise.
10155 * gdb.base/freebpcmd.exp: Likewise.
10156 * gdb.base/funcargs.exp: Likewise.
10157 * gdb.base/gcore.exp: Likewise.
10158 * gdb.base/gdb1090.exp: Likewise.
10159 * gdb.base/gdb1250.exp: Likewise.
10160 * gdb.base/huge.exp: Likewise.
10161 * gdb.base/info-proc.exp: Likewise.
10162 * gdb.base/interrupt.exp: Likewise.
10163 * gdb.base/jump.exp: Likewise.
10164 * gdb.base/langs.exp: Likewise.
10165 * gdb.base/lineinc.exp: Likewise.
10166 * gdb.base/list.exp: Likewise.
10167 * gdb.base/logical.exp: Likewise.
10168 * gdb.base/long_long.exp: Likewise.
10169 * gdb.base/macscp.exp: Likewise.
10170 * gdb.base/maint.exp: Likewise.
10171 * gdb.base/mips_pro.exp: Likewise.
10172 * gdb.base/miscexprs.exp: Likewise.
10173 * gdb.base/multi-forks.exp: Likewise.
10174 * gdb.base/opaque.exp: Likewise.
10175 * gdb.base/overlays.exp: Likewise.
10176 * gdb.base/pc-fp.exp: Likewise.
10177 * gdb.base/pointers.exp: Likewise.
10178 * gdb.base/printcmds.exp: Likewise.
10179 * gdb.base/psymtab.exp: Likewise.
10180 * gdb.base/ptype.exp: Likewise.
10181 * gdb.base/recurse.exp: Likewise.
10182 * gdb.base/relational.exp: Likewise.
10183 * gdb.base/relocate.exp: Likewise.
10184 * gdb.base/remote.exp: Likewise.
10185 * gdb.base/reread.exp: Likewise.
10186 * gdb.base/restore.exp: Likewise.
10187 * gdb.base/return.exp: Likewise.
10188 * gdb.base/return2.exp: Likewise.
10189 * gdb.base/scope.exp: Likewise.
10190 * gdb.base/sect-cmd.exp: Likewise.
10191 * gdb.base/sep.exp: Likewise.
10192 * gdb.base/sepdebug.exp: Likewise.
10193 * gdb.base/setshow.exp: Likewise.
10194 * gdb.base/setvar.exp: Likewise.
10195 * gdb.base/sigall.exp: Likewise.
10196 * gdb.base/sigbpt.exp: Likewise.
10197 * gdb.base/signals.exp: Likewise.
10198 * gdb.base/signull.exp: Likewise.
10199 * gdb.base/sizeof.exp: Likewise.
10200 * gdb.base/solib.exp: Likewise.
10201 * gdb.base/step-line.exp: Likewise.
10202 * gdb.base/step-test.exp: Likewise.
10203 * gdb.base/structs.exp: Likewise.
10204 * gdb.base/structs2.exp: Likewise.
10205 * gdb.base/term.exp: Likewise.
10206 * gdb.base/twice.exp: Likewise.
10207 * gdb.base/until.exp: Likewise.
10208 * gdb.base/varargs.exp: Likewise.
10209 * gdb.base/volatile.exp: Likewise.
10210 * gdb.base/watchpoint.exp: Likewise.
10211 * gdb.base/whatis-exp.exp: Likewise.
10212 * gdb.base/whatis.exp: Likewise.
10213 * gdb.cp/ambiguous.exp: Likewise.
10214 * gdb.cp/annota2.exp: Likewise.
10215 * gdb.cp/annota3.exp: Likewise.
10216 * gdb.cp/bool.exp: Likewise.
10217 * gdb.cp/breakpoint.exp: Likewise.
10218 * gdb.cp/casts.exp: Likewise.
10219 * gdb.cp/class2.exp: Likewise.
10220 * gdb.cp/classes.exp: Likewise.
10221 * gdb.cp/cplusfuncs.exp: Likewise.
10222 * gdb.cp/ctti.exp: Likewise.
10223 * gdb.cp/derivation.exp: Likewise.
10224 * gdb.cp/exception.exp: Likewise.
10225 * gdb.cp/gdb1355.exp: Likewise.
10226 * gdb.cp/hang.exp: Likewise.
10227 * gdb.cp/inherit.exp: Likewise.
10228 * gdb.cp/local.exp: Likewise.
10229 * gdb.cp/m-data.exp: Likewise.
10230 * gdb.cp/m-static.exp: Likewise.
10231 * gdb.cp/member-ptr.exp: Likewise.
10232 * gdb.cp/method.exp: Likewise.
10233 * gdb.cp/misc.exp: Likewise.
10234 * gdb.cp/namespace.exp: Likewise.
10235 * gdb.cp/overload.exp: Likewise.
10236 * gdb.cp/ovldbreak.exp: Likewise.
10237 * gdb.cp/pr-1023.exp: Likewise.
10238 * gdb.cp/pr-1210.exp: Likewise.
10239 * gdb.cp/pr-574.exp: Likewise.
10240 * gdb.cp/printmethod.exp: Likewise.
10241 * gdb.cp/psmang.exp: Likewise.
10242 * gdb.cp/ref-params.exp: Likewise.
10243 * gdb.cp/ref-types.exp: Likewise.
10244 * gdb.cp/rtti.exp: Likewise.
10245 * gdb.cp/templates.exp: Likewise.
10246 * gdb.cp/try_catch.exp: Likewise.
10247 * gdb.cp/userdef.exp: Likewise.
10248 * gdb.cp/virtfunc.exp: Likewise.
10249 * gdb.disasm/am33.exp: Likewise.
10250 * gdb.disasm/h8300s.exp: Likewise.
10251 * gdb.disasm/mn10300.exp: Likewise.
10252 * gdb.disasm/sh3.exp: Likewise.
10253 * gdb.disasm/t01_mov.exp: Likewise.
10254 * gdb.disasm/t02_mova.exp: Likewise.
10255 * gdb.disasm/t03_add.exp: Likewise.
10256 * gdb.disasm/t04_sub.exp: Likewise.
10257 * gdb.disasm/t05_cmp.exp: Likewise.
10258 * gdb.disasm/t06_ari2.exp: Likewise.
10259 * gdb.disasm/t07_ari3.exp: Likewise.
10260 * gdb.disasm/t08_or.exp: Likewise.
10261 * gdb.disasm/t09_xor.exp: Likewise.
10262 * gdb.disasm/t10_and.exp: Likewise.
10263 * gdb.disasm/t11_logs.exp: Likewise.
10264 * gdb.disasm/t12_bit.exp: Likewise.
10265 * gdb.disasm/t13_otr.exp: Likewise.
10266 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10267 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10268 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10269 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10270 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10271 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10272 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10273 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10274 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10275 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10276 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10277 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10278 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10279 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10280 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10281 * gdb.mi/gdb701.exp: Likewise.
10282 * gdb.mi/gdb792.exp: Likewise.
10283 * gdb.mi/mi-basics.exp: Likewise.
10284 * gdb.mi/mi-break.exp: Likewise.
10285 * gdb.mi/mi-cli.exp: Likewise.
10286 * gdb.mi/mi-console.exp: Likewise.
10287 * gdb.mi/mi-disassemble.exp: Likewise.
10288 * gdb.mi/mi-eval.exp: Likewise.
10289 * gdb.mi/mi-file.exp: Likewise.
10290 * gdb.mi/mi-read-memory.exp: Likewise.
10291 * gdb.mi/mi-regs.exp: Likewise.
10292 * gdb.mi/mi-return.exp: Likewise.
10293 * gdb.mi/mi-simplerun.exp: Likewise.
10294 * gdb.mi/mi-stack.exp: Likewise.
10295 * gdb.mi/mi-stepi.exp: Likewise.
10296 * gdb.mi/mi-syn-frame.exp: Likewise.
10297 * gdb.mi/mi-until.exp: Likewise.
10298 * gdb.mi/mi-var-block.exp: Likewise.
10299 * gdb.mi/mi-var-child.exp: Likewise.
10300 * gdb.mi/mi-var-cmd.exp: Likewise.
10301 * gdb.mi/mi-var-display.exp: Likewise.
10302 * gdb.mi/mi-watch.exp: Likewise.
10303 * gdb.mi/mi2-basics.exp: Likewise.
10304 * gdb.mi/mi2-break.exp: Likewise.
10305 * gdb.mi/mi2-cli.exp: Likewise.
10306 * gdb.mi/mi2-console.exp: Likewise.
10307 * gdb.mi/mi2-disassemble.exp: Likewise.
10308 * gdb.mi/mi2-eval.exp: Likewise.
10309 * gdb.mi/mi2-file.exp: Likewise.
10310 * gdb.mi/mi2-read-memory.exp: Likewise.
10311 * gdb.mi/mi2-regs.exp: Likewise.
10312 * gdb.mi/mi2-return.exp: Likewise.
10313 * gdb.mi/mi2-simplerun.exp: Likewise.
10314 * gdb.mi/mi2-stack.exp: Likewise.
10315 * gdb.mi/mi2-stepi.exp: Likewise.
10316 * gdb.mi/mi2-syn-frame.exp: Likewise.
10317 * gdb.mi/mi2-until.exp: Likewise.
10318 * gdb.mi/mi2-var-block.exp: Likewise.
10319 * gdb.mi/mi2-var-child.exp: Likewise.
10320 * gdb.mi/mi2-var-cmd.exp: Likewise.
10321 * gdb.mi/mi2-var-display.exp: Likewise.
10322 * gdb.mi/mi2-watch.exp: Likewise.
10323 * gdb.stabs/exclfwd.exp: Likewise.
10324 * gdb.stabs/weird.exp: Likewise.
10325 * gdb.threads/gcore-thread.exp: Likewise.
10326 * gdb.trace/actions.exp: Likewise.
10327 * gdb.trace/backtrace.exp: Likewise.
10328 * gdb.trace/circ.exp: Likewise.
10329 * gdb.trace/collection.exp: Likewise.
10330 * gdb.trace/deltrace.exp: Likewise.
10331 * gdb.trace/infotrace.exp: Likewise.
10332 * gdb.trace/limits.exp: Likewise.
10333 * gdb.trace/packetlen.exp: Likewise.
10334 * gdb.trace/passc-dyn.exp: Likewise.
10335 * gdb.trace/passcount.exp: Likewise.
10336 * gdb.trace/report.exp: Likewise.
10337 * gdb.trace/save-trace.exp: Likewise.
10338 * gdb.trace/tfind.exp: Likewise.
10339 * gdb.trace/tracecmd.exp: Likewise.
10340 * gdb.trace/while-dyn.exp: Likewise.
10341 * gdb.trace/while-stepping.exp: Likewise.
10342
10343 2006-08-08 Joel Brobecker <brobecker@adacore.com>
10344
10345 * gdb.base/step-bt.c: New file.
10346 * gdb.base/step-bt.exp: New testcase.
10347
10348 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10349
10350 * config/monitor.exp (gdb_load): Remove support for obsolete
10351 download-write-size.
10352 * gdb.base/remote.exp: Likewise. Update all callers of
10353 gdb_timed_load.
10354
10355 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10356
10357 * cursal.exp: Pass binfile to gdb_load.
10358
10359 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10360
10361 * gdb.base/cursal.exp: Add "" to gdb_load call.
10362
10363 2006-07-29 Mark Kettenis <kettenis@gnu.org>
10364
10365 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10366 NetBSD/ELF targets.
10367
10368 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10369
10370 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10371 operator*.
10372
10373 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10374
10375 * gdb.base/completion.exp: Update for change in "file" behavior.
10376 * gdb.stabs/weird.exp: Likewise.
10377 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10378 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10379
10380 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10381
10382 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10383 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10384
10385 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10386
10387 * gdb.base/default.exp: Update source command error message.
10388 * gdb.base/help.exp: Update 'help source' message.
10389
10390 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10391
10392 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10393 test.
10394
10395 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10396
10397 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10398
10399 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10400
10401 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10402
10403 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10404
10405 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10406
10407 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10408
10409 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10410 *-*-openbsd* from targets for wich we expect ARM FPA floating
10411 point format.
10412
10413 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
10414
10415 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10416
10417 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10418
10419 * gdb.base/annota3.exp: Expect frame-begin annotation.
10420
10421 2006-07-14 Joel Brobecker <brobecker@adacore.com>
10422
10423 * gdb.base/help.exp: Adjust "help unset" test to accept
10424 any list of unset commands.
10425
10426 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10427 Daniel Jacobowitz <dan@codesourcery.com>
10428
10429 * gdb.cp/ref-params.exp: New test.
10430 * gdb.cp/ref-params.cc: New source file.
10431 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10432
10433 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10434
10435 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10436 spaces/tabs in regular expressions since they might not be there.
10437
10438 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10439
10440 * gdb.base/ifelse.exp: New file.
10441
10442 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10443
10444 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10445 line.
10446 * gdb.base/huge.exp: Loop over compilation to find a size that
10447 is acceptable.
10448 * gdb.base/remote.exp: Correct expected strings.
10449 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10450
10451 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10452
10453 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10454
10455 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10456
10457 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10458 native.
10459
10460 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10461
10462 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10463 enable stabs testing.
10464
10465 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10466
10467 * gdb.base/auxv.exp: Intercept undefined command messages before
10468 gdb_test_multiple does.
10469
10470 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10471
10472 * Makefile.in (host_alias): Remove.
10473 (target_alias): Use @target_noncanonical@.
10474 (site.exp): Don't set host_alias.
10475 * aclocal.m4: Remove contents. Include acx.m4.
10476 * configure: Regenerated.
10477 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10478
10479 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10480
10481 * lib/gdb.exp (gdb_load_cmd): New.
10482
10483 * gdb.base/fileio.c: Add system(NULL) test.
10484 * gdb.base/fileio.exp: Check it.
10485
10486 * gdb.base/break.c: Add 10a breakpoint at }
10487 * gdb.base/break.exp: Add test for breakpoint at }
10488 * gdb.cp/anon-union.cc: Add code at end of function.
10489 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10490 * gdb.mi/var-cmd.c: Add code at end of function.
10491 * gdb.mi/mi-var-display.exp: Adjust end of next.
10492 * gdb.mi/mi2-var-display.exp: Likewise.
10493 * gdb.base/fileio.c: Add stop function and insert calls at
10494 stopping places.
10495 * gdb.base/fileio.exp: Breakpoint stop function and remove
10496 explicit line number references.
10497
10498 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10499
10500 * gdb.base/del.exp (test_delete_alias): New function.
10501 Now check that both "del" and "d" work as aliases for "delete".
10502
10503 2006-05-18 Fred Fish <fnf@specifix.com>
10504
10505 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10506 required. Check for spurious output after program exits normally.
10507
10508 2006-05-17 Fred Fish <fnf@specifix.com>
10509
10510 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10511 gdb_load, so it works in the simulator.
10512
10513 2006-05-11 Fred Fish <fnf@specifix.com>
10514
10515 * gdb.base/bang.exp: Ignore unexpected output between the
10516 "program exited normally" and the gdb prompt, as many other
10517 tests do.
10518
10519 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10520
10521 * gdb.base/help.exp: Make "delete checkpoint" part option for
10522 "help d" and "help delete" tests.
10523
10524 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10525
10526 * gdb.mi/mi-basics.exp: Add missing serial number to
10527 expected output in some mi_gdb_test statements.
10528 * gdb.mi/mi2-basics.exp: Likewise.
10529
10530 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10531
10532 * gdb.base/del.c: New file.
10533 * gdb.base/del.exp: New testcase.
10534
10535 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10536
10537 * gdb.base/break.exp: Do not assume a breakpoint on
10538 main will actually be in $srcfile when optimizing.
10539 * gdb.base/savedregs.exp: Do not require that the dummy
10540 frame location match up to a symbol and source file location.
10541 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10542 will get printed without a mi_cmd_data_list_register_values prefix.
10543 (*-data-list-register-*): Correct regular expressions to expect the new
10544 pseudo d? floating point registers.
10545 * gdb.mi/mi2-regs.exp: Likewise.
10546
10547 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10548
10549 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10550 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10551 is allocated by the compiler.
10552 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10553 anons, e, anone to force their allocation by the compiler.
10554
10555 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10556
10557 * gdb.base/help.exp: Update expected text for help d and
10558 help delete.
10559
10560 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10561
10562 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10563 NetBSD/ELF targets.
10564
10565 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10566
10567 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10568 single-step breakpoint fails; make this a KFAIL on
10569 sparc*-*-openbsd*.
10570 * gdb.base/siginfo.exp: Likewise.
10571 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10572
10573 2006-04-26 Michael Snyder <msnyder@redhat.com>
10574
10575 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10576 which may have to consume output from other forks.
10577 Add tests to make sure that "delete fork" succeeded.
10578
10579 2006-04-20 Michael Snyder <msnyder@redhat.com>
10580
10581 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10582 Add support for the Renesas M32C and M16C.
10583
10584 * gdb.asm/asm-source.exp: Add m32c target.
10585 * gdb.asm/m32c.inc: Support for m32c target.
10586
10587 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10588
10589 * gdb.base/commands.exp (recursive_source_test): New test.
10590
10591 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
10592
10593 * gdb.base/float.exp: Add pattern for sparc targets.
10594
10595 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10596
10597 * gdb.base/commands.exp (stray_arg0_test): New test.
10598
10599 2006-03-30 Paul Brook <paul@codesourcery.com>
10600
10601 * gdb.mi/mi-until.exp: kfail broken until command.
10602 * gdb.mi/mi2-until.exp: Ditto.
10603
10604 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
10605
10606 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10607
10608 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
10609
10610 * gdb.base/prelink.exp: Anchor tested-for regular expression
10611 on gdb prompt.
10612
10613 2006-03-07 Paul Brook <paul@codesourcery.com>
10614
10615 * gdb.base/assign.exp: Correct fail message.
10616
10617 2006-03-07 Paul Brook <paul@codesourcery.com>
10618
10619 * lib/compiler.c: Extract armcc version number.
10620 * lib/compiler.cc: Ditto.
10621
10622 2006-03-07 Paul Brook <paul@codesourcery.com>
10623
10624 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10625 additional_flags=-w.
10626 * gdb.arch/altivec-regs.exp: Ditto.
10627 * gdb.arch/e500-abi.exp: Ditto.
10628 * gdb.arch/e500-regs.exp: Ditto.
10629 * gdb.base/all-bin.exp: Ditto.
10630 * gdb.base/annota1.exp: Ditto.
10631 * gdb.base/annota3.exp: Ditto.
10632 * gdb.base/args.exp: Ditto.
10633 * gdb.base/arithmet.exp: Ditto.
10634 * gdb.base/assign.exp: Ditto.
10635 * gdb.base/async.exp: Ditto.
10636 * gdb.base/bang.exp: Ditto.
10637 * gdb.base/break.exp: Ditto.
10638 * gdb.base/call-rt-st.exp: Ditto.
10639 * gdb.base/completion.exp: Ditto.
10640 * gdb.base/cond-expr.exp: Ditto.
10641 * gdb.base/condbreak.exp: Ditto.
10642 * gdb.base/consecutive.exp: Ditto.
10643 * gdb.base/define.exp: Ditto.
10644 * gdb.base/display.exp: Ditto.
10645 * gdb.base/ena-dis-br.exp: Ditto.
10646 * gdb.base/environ.exp: Ditto.
10647 * gdb.base/eval-skip.exp: Ditto.
10648 * gdb.base/info-proc.exp: Ditto.
10649 * gdb.base/jump.exp: Ditto.
10650 * gdb.base/logical.exp: Ditto.
10651 * gdb.base/long_long.exp: Ditto.
10652 * gdb.base/maint.exp: Ditto.
10653 * gdb.base/miscexprs.exp: Ditto.
10654 * gdb.base/pc-fp.exp: Ditto.
10655 * gdb.base/pointers.exp: Ditto.
10656 * gdb.base/relational.exp: Ditto.
10657 * gdb.base/reread.exp: Ditto.
10658 * gdb.base/sect-cmd.exp: Ditto.
10659 * gdb.base/sep.exp: Ditto.
10660 * gdb.base/sepdebug.exp: Ditto.
10661 * gdb.base/until.exp: Ditto.
10662 * gdb.base/whatis-exp.exp: Ditto.
10663 * gdb.cp/annota2.exp: Ditto.
10664 * gdb.cp/annota3.exp: Ditto.
10665 * gdb.trace/actions.exp: Ditto.
10666 * gdb.trace/backtrace.exp: Ditto.
10667 * gdb.trace/circ.exp: Ditto.
10668 * gdb.trace/collection.exp: Ditto.
10669 * gdb.trace/deltrace.exp: Ditto.
10670 * gdb.trace/infotrace.exp: Ditto.
10671 * gdb.trace/limits.exp: Ditto.
10672 * gdb.trace/packetlen.exp: Ditto.
10673 * gdb.trace/passc-dyn.exp: Ditto.
10674 * gdb.trace/passcount.exp: Ditto.
10675 * gdb.trace/report.exp: Ditto.
10676 * gdb.trace/save-trace.exp: Ditto.
10677 * gdb.trace/tfind.exp: Ditto.
10678 * gdb.trace/tracecmd.exp: Ditto.
10679 * gdb.trace/while-dyn.exp: Ditto.
10680 * gdb.trace/while-stepping.exp: Ditto.
10681 * lib/gdb.exp: Ditto.
10682 (gdb_compile): Handle nowarning option.
10683
10684 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
10685
10686 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10687 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10688 Rename executable to prelinkt. Don't re-prelink if we didn't
10689 get a core file. Test prelink -u exit status to tell whether
10690 prelinking failed. Use gdb_test_multiple.
10691
10692 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10693
10694 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10695 (do_tests): Call it.
10696
10697 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
10698
10699 * gdb.base/prelink.exp: New test.
10700 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10701
10702 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10703
10704 * gdb.fortran/derived-type.f90: New file.
10705 * gdb.fortran/derived-type.exp: New testcase.
10706
10707 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10708
10709 * gdb.base/default.exp: Allow ';' as a directory separator.
10710
10711 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10712
10713 * gdb.base/help.exp (help add-symbol-file): Update.
10714
10715 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10716
10717 * gdb.base/help.exp (help load): Update expected results.
10718
10719 2006-02-19 Fred Fish <fnf@specifix.com>
10720
10721 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10722 specifix hex value as part of results.
10723 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
10724
10725 2006-02-16 Fred Fish <fnf@specifix.com>
10726
10727 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10728 ushort_addr, and slong_addr, so the typedefs are not optimized
10729 away.
10730 * gdb.base/whatis.exp: Add tests using type name for struct type,
10731 union type, enum type, and typedef.
10732
10733 2006-02-13 Mark Kettenis <kettenis@gnu.org>
10734
10735 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10736
10737 2006-02-13 Jim Blandy <jimb@redhat.com>
10738
10739 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10740 case where it takes two "next" commands to skip past the init
10741 call.
10742
10743 2006-02-12 Fred Fish <fnf@specifix.com>
10744
10745 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10746 to handle cases where it takes two "next" commands to skip
10747 past the init call.
10748
10749 2006-02-07 Joel Brobecker <brobecker@adacore.com>
10750
10751 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10752 on hppa32 targets.
10753
10754 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
10755
10756 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10757 field.
10758
10759 2006-01-29 Mark Kettenis <kettenis@gnu.org>
10760
10761 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10762
10763 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10764
10765 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10766 files.
10767
10768 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10769
10770 * gdb.cp/maint.exp: Set complaints to a positive value.
10771
10772 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10773
10774 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10775 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10776 function name.
10777
10778 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10779
10780 * gdb.base/checkpoint.c: Update copyright notice. Include
10781 <stdlib.h>.
10782
10783 2006-01-04 Jim Blandy <jimb@redhat.com>
10784
10785 * gdb.asm/asm-source.exp: Independently provide default values for
10786 asm-flags and debug-flags. Use 'string equal' to do the
10787 comparison, not the implicit expr's '==' operator. Remove
10788 now-unneeded assignments to asm-flags. In h8300 case, place
10789 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10790
10791 2006-01-04 Michael Snyder <msnyder@redhat.com>
10792
10793 * gdb.base/checkpoint.c: New file.
10794 * gdb.base/checkpoint.exp: New file.
10795 * gdb.base/multi-fork.c: New file.
10796 * gdb.base/multi-fork.exp: New file.
10797 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10798
10799 2006-01-04 Fred Fish <fnf@specifix.com>
10800
10801 * gdb.base/ptype.c (foo): Add typedef.
10802 (intfoo): Add function.
10803 * gdb.base/ptype1.c: New file.
10804 * gdb.base/ptype.exp: Handle compilation and linking with two
10805 source files. Test that proper type for "foo" is found based
10806 on source context rather than first match found in symtabs.
10807
10808 2005-12-28 Mark Kettenis <kettenis@gnu.org>
10809
10810 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10811 * gdb.asm/openbsd.inc: Indent commands.
10812
10813 2005-12-26 Mark Kettenis <kettenis@gnu.org>
10814
10815 * gdb.base/freebpcmd.exp: Increase timeout.
10816
10817 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10818
10819 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10820
10821 * gdb.base/default.exp: Update check for "show version".
10822
10823 2005-12-09 Randolph Chung <tausq@debian.org>
10824
10825 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10826 * gdb.asm/pa64.inc: New file.
10827
10828 2005-12-09 Randolph Chung <tausq@debian.org>
10829
10830 * gdb.asm/common.inc: Indent commands.
10831 * gdb.asm/asmsrc1.s: Likewise.
10832 * gdb.asm/asmsrc2.s: Likewise.
10833
10834 2005-12-09 Randolph Chung <tausq@debian.org>
10835
10836 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10837 (get_addr_of_sym): Remove duplicate print.
10838 (gen_core): xfail hppa*-*-hpux*, update expected output.
10839 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10840 * gdb.arch/pa64-nullify.s: New file.
10841
10842 2005-12-09 Randolph Chung <tausq@debian.org>
10843
10844 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10845
10846 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10847
10848 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10849 code generation for these functions.
10850 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10851 error message.
10852
10853 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10854
10855 * gdb.base/help.exp (help b, help br, help bre, help brea)
10856 (help break): Update the expected message.
10857
10858 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10859
10860 * gdb.asm/m68hc11.inc: Setup the data section.
10861 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10862 script for this test.
10863 (m6812-*-*): Likewise.
10864
10865 2005-11-09 Randolph Chung <tausq@debian.org>
10866
10867 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10868
10869 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10870
10871 * gdb.base/break.exp: Fix a comment typo.
10872
10873 2005-11-03 Jim Blandy <jimb@redhat.com>
10874
10875 Checked in by Elena Zannoni <ezannoni@redhat.com>
10876
10877 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10878
10879 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10880
10881 * gdb.arch/gdb1558.c: Include stdio.h.
10882
10883 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10884
10885 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10886
10887 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10888
10889 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10890
10891 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10892
10893 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10894 vscr" tests to better match output.
10895
10896 2005-10-12 Jim Blandy <jimb@redhat.com>
10897
10898 * gdb.base/structs.exp (any): New function.
10899 (test_struct_returns): Don't make any assumptions at all about
10900 what value the function returns when GDB can't set the return
10901 value.
10902
10903 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10904
10905 * gdb.ada/arrayidx/p.adb: New file.
10906 * gdb.ada/arrayidx.exp: New testcase
10907
10908 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10909
10910 * gdb.ada/array_return/pck.ads: New file.
10911 * gdb.ada/array_return/pck.adb: New file.
10912 * gdb.ada/array_return/p.adb: New file.
10913 * gdb.ada/array_return.exp: New testcase.
10914
10915 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10916
10917 * gdb.base/arrayidx.c: New file.
10918 * gdb.base/arrayidx.exp: New testcase.
10919
10920 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10921
10922 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10923 frames-invalid and breakpoints-invalid are no longer generated
10924 with level 3 so don't expect them in the output.
10925
10926 2005-09-27 Bob Rossi <bob@brasko.net>
10927
10928 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10929 from test. Escape the | in mi_gdb_test call.
10930 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10931 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10932 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10933 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10934 expected regex's in mi_gdb_test calls.
10935 * lib/mi-support.exp: Remove arbitrary .* from tests.
10936 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10937 Fully anchor GDB/MI expected results in mi_gdb_test.
10938 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10939 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10940
10941 2005-09-26 Paul Brook <paul@codesourcery.com>
10942
10943 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10944
10945 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10946
10947 * bfp-test.c: New file.
10948 * bfp-test.exp: New testcase.
10949
10950 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10951
10952 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10953 of subarray and substring variable.
10954 * gdb.fortran/subarray.f: New source file for the test of subarray
10955 and substring variable evaluation.
10956 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10957 of string constant.
10958
10959 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10960
10961 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10962 copyright dates.
10963
10964 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10965
10966 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10967 powerpc altivec' test with an almost identical 'info vector' test.
10968
10969 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10970
10971 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10972 vscr" tests to match output.
10973
10974 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10975
10976 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10977 output.
10978
10979 2005-09-11 Bob Rossi <bob@brasko.net>
10980
10981 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10982 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10983 commands that return an MI output command and an asyncronous MI output
10984 command.
10985 * gdb.mi/mi-console.exp: Ditto.
10986
10987 2005-09-11 Bob Rossi <bob@brasko.net>
10988
10989 * gdb.mi/mi-var-child.c: Include <string.h>.
10990
10991 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10992
10993 * killed.exp: Correct gdb_expect syntax.
10994
10995 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10996
10997 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10998
10999 2005-08-02 Bob Rossi <bob@brasko.net>
11000
11001 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11002 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11003 Change tests to inferior-tty-set/show.
11004 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11005 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11006 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11007 inferior. Use mi_gdb_test to get GDB and Inferior output.
11008 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11009 descriptor.
11010 (mi_inferior_tty_name): Add inferior PTY file name.
11011 (mi_gdb_start): Add INFERIOR_PTY parameter.
11012 (mi_gdb_test): Add IPATTERN parameter.
11013
11014 2005-08-02 Bob Rossi <bob@brasko.net>
11015
11016 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11017 parameter to mi_gdb_test.
11018 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11019
11020 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11021
11022 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11023 struct_declarations.
11024 * gdb.mi/mi-var-child.exp: Step over the initialization of
11025 struct_declarations.
11026
11027 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11028
11029 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11030 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11031 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11032 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11033 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11034 file.
11035
11036 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
11037
11038 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11039 (do_children_tests): Assign values to the extra elements.
11040
11041 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11042 them for tests for "-var-update --no-values" and
11043 "-var-update --all-values".
11044 Add test for "-var-list-children --simple-values".
11045
11046 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11047
11048 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11049 "-stack-list-locals --simple-values" Improve doc strings and
11050 comments.
11051
11052 2005-07-18 Mark Kettenis <kettenis@gnu.org>
11053
11054 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11055 *-*-openbsd*.
11056 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11057
11058 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11059 sigaltsatck'.
11060
11061 2005-07-14 Bob Rossi <bob@brasko.net>
11062
11063 * gdb.base/default.exp (tty): Changed output of command.
11064 * gdb.base/help.exp (help tty): Ditto.
11065
11066 2005-07-12 Mark Kettenis <kettenis@gnu.org>
11067
11068 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11069
11070 2005-07-10 Mark Kettenis <kettenis@gnu.org>
11071
11072 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11073 -stack-select-frame without arguments.
11074 (test_stack_frame_listing): Add test for newly implemented command
11075 -stack-info-frame.
11076
11077 2005-07-06 Bob Rossi <bob@brasko.net>
11078
11079 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11080 command.
11081 (Copyright): Update copyright.
11082
11083 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11084
11085 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11086 tests to evaluate exponentiation expression.
11087
11088 2005-06-29 Andreas Schwab <schwab@suse.de>
11089
11090 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11091 main to avoid warnings.
11092
11093 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11094
11095 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
11096
11097 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11098 -stack-select-frame without arguments.
11099 (test_stack_frame_listing): Add test for newly implemented command
11100 -stack-info-frame.
11101
11102 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11103
11104 * gdb.fortran/array-element.f: New file.
11105 * gdb.fortran/array-element.exp: New testcase.
11106
11107 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11108
11109 * gdb.base/bigcore.exp: Correct checks for systems which can
11110 not dump a large core file.
11111
11112 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11113
11114 * gdb.base/relocate.c: Add a copyright notice.
11115 (dummy): Remove.
11116 * gdb.base/relocate.exp: Test printing the values of variables
11117 from a relocatable file.
11118
11119 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11120
11121 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11122 excess MI output after an error.
11123
11124 2005-05-29 Joel Brobecker <brobecker@adacore.com>
11125
11126 * gdb.arch/alpha-step.c: New file.
11127 * gdb.arch/alpha-step.exp: New testcase.
11128
11129 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11130 Dennis Brueni <dennis@slickedit.com>
11131
11132 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11133 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11134 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11135 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11136 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11137 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11138 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11139
11140 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11141 Wu Zhou <woodzltc@cn.ibm.com>
11142
11143 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11144 IBM's xlc compiler.
11145 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11146 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11147
11148 2005-05-13 Jim Blandy <jimb@redhat.com>
11149
11150 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11151 calling gdb_suppress_entire_file.
11152 * gdb.base/charset.exp: Same.
11153 * gdb.base/call-rt-st.exp: Same.
11154
11155 2005-05-05 Bob Rossi <bob_rossi@cox.net>
11156
11157 * lib/gdb.exp (fullname_syntax): Added global regex.
11158 (fullname_syntax_POSIX): Ditto.
11159 (fullname_syntax_UNC): Ditto.
11160 (fullname_syntax_DOS_CASE): Ditto.
11161 (fullname_syntax_DOS): Ditto.
11162 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11163 fullname_syntax variable to scope and use it.
11164 (test_file_list_exec_source_files): Ditto.
11165 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11166
11167 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11168
11169 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11170
11171 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11172
11173 * lib/gdb.exp (skip_altivec_tests): New function, based on
11174 check_vmx_hw_available from the GCC testsuite.
11175 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11176 * lib/gdb.arch/altivec-regs.exp: Likewise.
11177
11178 2005-05-02 Jim Blandy <jimb@redhat.com>
11179
11180 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11181 calling gdb_suppress_entire_file.
11182
11183 2005-04-30 Randolph Chung <tausq@debian.org>
11184
11185 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11186 Slightly relax "sem_post" name checking.
11187
11188 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11189
11190 * gdb.base/unload.exp: Use new shared library infrastructure.
11191
11192 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11193
11194 * gdb.base/so-impl-ld.exp: Use new shared library
11195 infrastructure.
11196
11197 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
11198
11199 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11200 * gdb.asm/h8300.inc: New file.
11201
11202 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11203
11204 * gdb.base/shlib-call.exp: Change to use new shared library
11205 infrastructure.
11206
11207 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11208
11209 * gdb.base/pending.exp: Change to use new shared library
11210 infrastructure.
11211
11212 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11213
11214 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11215 use test_compiler_info instead of gcc_compiled, and update copyright.
11216
11217 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11218
11219 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11220 shared objects being adjusted and update copyright years.
11221
11222 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11223
11224 * ChangeLog: Correct some 2003-01-13 dates.
11225 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11226 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11227 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11228 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11229 gdb.trace/tfind.exp: Update copyright years.
11230
11231 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11232 Daniel Jacobowitz <dan@codesourcery.com>
11233
11234 * lib/gdb.exp (gdb_compile): Handle shlib=.
11235 (gdb_compile_shlib): New function.
11236
11237 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11238
11239 * lib/gdb.exp (test_compiler_info): Give argument a default value.
11240
11241 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11242
11243 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11244 gdb.server.
11245 * configure.ac: Likewise.
11246 * configure: Regenerated.
11247 * gdb.gdbserver/Makefile.in: Moved to...
11248 * gdb.server/Makefile.in: ... here.
11249 * gdb.gdbserver/server.c: Moved to...
11250 * gdb.server/server.c: ... here.
11251 * gdb.gdbserver/server-run.exp: Moved to...
11252 * gdb.server/server-run.exp: ... here.
11253
11254 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11255
11256 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11257 * configure.ac: Create gdb.gdbserver/Makefile.
11258 * configure: Regenerated.
11259 * lib/gdbserver-support.exp: New file, derived from
11260 config/gdbserver.exp.
11261 * config/gdbserver.exp: Use gdbserver-support.exp.
11262 * gdb.gdbserver/Makefile.in: New file.
11263 * gdb.gdbserver/server.c: New file.
11264 * gdb.gdbserver/server-run.exp: New file.
11265
11266 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11267
11268 * lib/gdb.exp (test_compiler_info): Return compiler_info
11269 if no arguments are given.
11270
11271 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11272
11273 * gdb.arch/altivec-abi.exp: Check for compiler and set
11274 use altivec' flag accordingly.
11275 * gdb.arch/altivec-regs.exp: Likewise.
11276
11277 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11278
11279 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11280
11281 2005-03-27 Andreas Schwab <schwab@suse.de>
11282
11283 * gdb.base/bigcore.c (main): Add missing mode argument in open
11284 call.
11285
11286 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11287
11288 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11289 downloads.
11290 * config/gdbserver.exp (gdb_load): Likewise.
11291
11292 2005-03-14 Paul Brook <paul@codesourcery.com>
11293
11294 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11295 targets.
11296
11297 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11298
11299 * gdb.dwarf2/dup-psym.S: New file.
11300 * gdb.dwarf2/dup-psym.exp: New testcase.
11301
11302 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11303
11304 * gdb.ada/exec_changed/first.adb: New file.
11305 * gdb.ada/exec_changed/second.adb: New file.
11306 * gdb.ada/exec_changed.exp: New testcase.
11307
11308 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11309
11310 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11311 (A2): New class.
11312 (main): Test operator+.
11313 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11314 breakpoint test.
11315
11316 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11317 * gdb.base/signull.exp: Disable if gdb,nosignals.
11318 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11319 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11320 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11321 * gdb.mi/mi2-console.exp: Likewise.
11322 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11323 continue output at start.
11324 (gdb_collect_locals_test): Robustify regexp.
11325 * gdb.trace/passc-dyn.exp: Fix comment typo.
11326 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11327
11328 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
11329
11330 * gdb.asm/asm-source.exp: Add iq2000 case.
11331 * gdb.asm/iq2000.inc: New file.
11332
11333 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
11334
11335 * gdb.base/command.exp: Change hardcoded value to regular expression.
11336 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11337
11338 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11339
11340 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11341 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11342 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11343 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11344 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11345
11346 2005-03-05 Mark Kettenis <kettenis@gnu.org>
11347
11348 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11349 changes.
11350
11351 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11352
11353 * lib/compiler.c: Add test for IBM's xlc compiler.
11354 * lib/compiler.cc: Likewise.
11355
11356 2004-02-24 Joel Brobecker <brobecker@adacore.com>
11357
11358 * gdb.ada/fixed_points.exp: Create compilation object directory
11359 before running the test.
11360 * gdb.ada/null_record.exp: Likewise.
11361 * gdb.ada/packed_array.exp: Likewise.
11362 * gdb.ada/start.exp: Likewise.
11363
11364 2005-02-15 Joel Brobecker <brobecker@adacore.com>
11365
11366 * gdb.ada/packed_array/pa.adb: New file.
11367 * gdb.ada/packed_array.exp: New testcase.
11368
11369 2005-02-10 Mark Kettenis <kettenis@gnu.org>
11370
11371 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11372 files.
11373
11374 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11375 on *-*-openbsd*. Correctly match whitespace in regukar
11376 expressions.
11377
11378 2005-02-10 Daniel Jacobowitz <dan@debian.org>
11379
11380 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11381 PR exp/1821
11382 * gdb.base/gdb1821.c: New test file.
11383 * gdb.base/gdb1821.exp: New test file.
11384
11385 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11386
11387 * gdb.base/start.c: New file.
11388 * gdb.base/start.exp: New testcase.
11389
11390 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11391
11392 * gdb.ada/start/dummy.adb: New file.
11393 * gdb.ada/start.exp: New testcase.
11394
11395 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
11396
11397 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11398 for printing symbols and statistics.
11399 Add test for using relative pathnames in "maint print msymbols" test.
11400 Mark "maint info sections DATA" XFAIL on Cygwin.
11401 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11402 tests.
11403
11404 2005-02-09 Andreas Schwab <schwab@suse.de>
11405
11406 Committed by Andrew Cagney <cagney@gnu.org>
11407 * gdb.base/remotetimeout.exp: New file.
11408
11409 2005-02-07 Mark Kettenis <kettenis@gnu.org>
11410
11411 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11412
11413 2005-02-03 Joel Brobecker <brobecker@adacore.com>
11414
11415 * gdb.ada/gnat_ada.gpr: New file.
11416 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11417 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11418 * configure.ac: No longer generate gnat_ada.gpr.
11419 * configure: Regenerate.
11420 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11421 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11422 * gdb.ada/null_record/bar.ads: Likewise.
11423 * gdb.ada/null_record/bar.adb: Likewise.
11424 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11425 * gdb.ada/null_record.exp (testdir): New variable.
11426 (testfile): executable is now in testdir subdirectory.
11427 (srcfile): Use full path to the main compilation unit.
11428 * gdb.ada/fixed_points.exp: Same changes as above.
11429
11430 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11431
11432 * gdb.base/interp.exp: New test.
11433
11434 2005-01-24 Andrew Cagney <cagney@gnu.org>
11435
11436 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11437
11438 2005-01-19 Andrew Cagney <cagney@gnu.org>
11439
11440 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11441 configure.ac not configure.in.
11442
11443 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11444 of powerpc*-*-*.
11445 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11446 * gdb.base/list.exp (test_list_function)
11447 (test_list_filename_and_function): Ditto.
11448 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11449
11450 2005-01-16 Andrew Cagney <cagney@gnu.org>
11451
11452 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11453
11454 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11455
11456 2005-01-14 Andrew Cagney <cagney@gnu.org>
11457
11458 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11459 * gdb.mi/mi2-var-cmd.exp: Ditto.
11460
11461 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11462
11463 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11464
11465 2005-01-07 Andrew Cagney <cagney@gnu.org>
11466
11467 * configure.ac: Rename configure.in, require autoconf 2.59.
11468 * configure: Re-generate.
11469 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11470 * gdb.stabs/configure: Re-generate.
11471 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11472 * gdb.hp/configure: Re-generate.
11473 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11474 autoconf 2.59.
11475 * gdb.hp/gdb.objdbg/configure: Re-generate.
11476 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11477 autoconf 2.59.
11478 * gdb.hp/gdb.defects/configure: Re-generate.
11479 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11480 autoconf 2.59.
11481 * gdb.hp/gdb.compat/configure: Re-generate.
11482 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11483 autoconf 2.59.
11484 * gdb.hp/gdb.base-hp/configure: Re-generate.
11485 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11486 autoconf 2.59.
11487 * gdb.hp/gdb.aCC/configure: Re-generate.
11488
11489 2004-12-15 Jim Blandy <jimb@redhat.com>
11490
11491 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11492 under NPTL when there is debugging info available for libpthread.
11493
11494 2004-12-13 Jerome Guitton <guitton@gnat.com>
11495
11496 * gdb.ada/fixed_points.c: New file.
11497 * gdb.ada/fixed_points.exp: New file.
11498
11499 2004-12-03 Randolph Chung <tausq@debian.org>
11500
11501 * gdb.arch/pa-nullify.exp: New file.
11502 * gdb.arch/pa-nullify.s: New file.
11503
11504 2004-11-30 Randolph Chung <tausq@debian.org>
11505
11506 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11507 instead of "tbug". Fix regexp to work properly with gdb_test.
11508
11509 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11510
11511 * gdb.base/bitfields2.exp: New test.
11512 * gdb.base/bitfields2.c: New file.
11513
11514 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11515
11516 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11517
11518 2004-11-16 Randolph Chung <tausq@debian.org>
11519
11520 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11521
11522 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11523
11524 * gdb.threads/threadapply.exp: Correct "macro details" test.
11525
11526 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11527
11528 * gdb.threads/threadapply.exp: New test.
11529 * gdb.threads/threadapply.c: New file.
11530
11531 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11532
11533 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11534 frames.
11535
11536 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11537
11538 * gdb.base/cursal.exp: New file.
11539 * gdb.base/cursal.c: New file.
11540
11541 2004-11-03 Andrew Cagney <cagney@gnu.org>
11542
11543 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11544
11545 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11546
11547 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11548 NetBSD/ELF targets.
11549
11550 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11551
11552 * gdb.threads/bp_in_thread.c: New file, copied from
11553 pthread_cond_wait.c.
11554 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11555 file, rather than reusing the .c file from another testcase.
11556
11557 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11558
11559 * gdb.ada/null_record.exp: Check where we stopped after
11560 sending the start command, instead of where the associated
11561 temporary breakpoint was inserted.
11562
11563 2004-10-14 Andrew Cagney <cagney@gnu.org>
11564
11565 * gdb.mi/gdb701.c (main): Return 0.
11566
11567 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11568
11569 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11570
11571 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11572
11573 * gdb.threads/schedlock.c: Add comment markers to use to find
11574 line numbers.
11575 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11576 comments.
11577 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11578 breakpoint lines.
11579
11580 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11581
11582 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11583
11584 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11585
11586 * configure.in: Add gdb.dwarf2.
11587 * configure: Regenerated.
11588 * Makefile.in: Add gdb.dwarf2.
11589 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11590 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11591 gdb.dwarf2/file1.txt: New files.
11592
11593 2004-10-11 Orjan Friberg <orjanf@axis.com>
11594
11595 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11596 of "run", since the latter doesn't work with remote targets. Adjust
11597 the breakpoint numbering accordingly.
11598 * gdb.threads/pthread_cond_wait.exp: Ditto.
11599
11600 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11601
11602 * gdb.base/overlays.exp: Update copyright years.
11603
11604 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11605
11606 * gdb.base/overlays.exp: Disable if target is Linux.
11607
11608 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
11609
11610 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11611
11612 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11613
11614 * gdb.asm/asm-source.exp: Add m32r-linux target.
11615 * gdb.asm/m32r-linux.inc: New file.
11616
11617 2004-09-24 Andrew Cagney <cagney@redhat.com>
11618 David Anderson <anderson@redhat.com>
11619
11620 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11621 command fails, assume things will work.
11622 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11623 (_GNU_SOURCE): Define.
11624 (print_unsigned, print_hex): Change parameter to "long long".
11625 (print_byte_count): New function, use to print byte counts.
11626 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11627 O_LARGEFILE.
11628 (main): Compute an upper bound on a corefile in max_core_size.
11629 Limit memory chunk size to max_core_size. Limit total memory
11630 allocated to max_core_size.
11631
11632 2004-09-23 Andrew Cagney <cagney@gnu.org>
11633
11634 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11635 from a separate process with code that creates a corefile by
11636 making the inferior dump core.
11637
11638 2004-09-23 Mark Kettenis <kettenis@gnu.org>
11639
11640 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11641 block.
11642
11643 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11644
11645 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11646 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11647 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11648 Likewise.
11649
11650 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11651
11652 * gdb.java/jprint.exp: New test case for java inferior call.
11653 * gdb.java/jprint.java: Ditto.
11654
11655 2004-09-15 Joel Brobecker <brobecker@gnat.com>
11656
11657 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11658
11659 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11660
11661 * gdb.threads/killed.c: Include <stdlib.h>.
11662 * gdb.threads/pthreads.c: Likewise.
11663
11664 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11665
11666 * gdb.threads/killed.c: Add copyright notice.
11667
11668 2004-09-10 Jason Molenda (jmolenda@apple.com)
11669
11670 * gdb.base/define.exp: Two new tests to verify zero space chars
11671 after 'if' and 'while' commands in a user-defined command is correctly
11672 parsed.
11673
11674 2004-09-08 Andrew Cagney <cagney@gnu.org>
11675
11676 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11677 delivery test with duplicate at end of file.
11678
11679 2004-09-06 Mark Kettenis <kettenis@jive.nl>
11680
11681 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11682
11683 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11684
11685 * config/hppro.exp: Removed.
11686
11687 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11688
11689 * config/sparclet.exp: Removed.
11690
11691 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11692
11693 * config/udi.exp: Removed.
11694
11695 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11696
11697 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11698 of "exp_continue".
11699 (advancei): Likewise.
11700
11701 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11702
11703 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11704
11705 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11706
11707 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
11708 to check for nodebug in executable.
11709 * gdb.gdb/observer.exp (setup_test): Likewise.
11710 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11711 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11712
11713 2004-09-01 Andrew Cagney <cagney@gnu.org>
11714
11715 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11716 files.
11717
11718 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11719
11720 * gdb.base/unload.exp: Fix expected warning message to match
11721 latest format.
11722
11723 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
11724
11725 * gdb.base/call-rt-st.exp: Fix typos.
11726
11727 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11728
11729 * gdb.threads/thread_check.exp: New testcase.
11730 * gdb.threads/thread_check.c: New testcase.
11731
11732 2004-08-31 Andrew Cagney <cagney@gnu.org>
11733
11734 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11735 (skip_to_handler_entry): New procedures. Test stepping into a
11736 handler when the breakpoint is at the handler's entry point.
11737
11738 2004-08-30 Andrew Cagney <cagney@gnu.org>
11739
11740 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11741 gdb/1757.
11742
11743 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11744
11745 With code from Manoj Iyer <manjo@austin.ibm.com>:
11746 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11747 return value. Add an arm for "no debugging symbols found".
11748 Change a stray "error" to "perror".
11749 (gdb_run_cmd): Adapt to new return value.
11750 * gdb.base/remote.exp: Adapt to new return value.
11751 * gdb.gdb/complaints.exp: Likewise.
11752 * gdb.gdb/observer.exp: Likewise.
11753 * gdb.gdb/selftest.exp: Likewise.
11754 * gdb.gdb/xfullpath.exp: Likewise.
11755
11756 2004-08-27 Joel Brobecker <brobecker@gnat.com>
11757
11758 * gdb.threads/bp_in_thread.exp: New testcase.
11759
11760 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11761
11762 Fix PR testsuite/1735.
11763 * gdb.threads/schedlock.c (thread_function): Add a cast
11764 to suppress a gcc warning.
11765 * gdb.threads/thread-specific.c (thread_function): Likewise.
11766
11767 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11768
11769 * gdb.base/unload.c: Include <stdlib.h>.
11770
11771 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11772
11773 From Paul Gilliam <pgilliam@us.ibm.com>:
11774 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11775 synchronized after the "return".
11776
11777 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11778
11779 * gdb.mi/basics.c: Include <stdio.h>.
11780 * gdb.mi/pthreads.c: Include <stdlib.h>.
11781 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11782
11783 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11784
11785 * gdb.threads/schedlock.c: Add copyright notice.
11786
11787 2004-08-25 Andrew Cagney <cagney@gnu.org>
11788
11789 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11790 (skip_over_handler, breakpoint_over_hander): New test procedures.
11791 (advance, advancei): Add a proper prefix, do not use
11792 rerun_to_main.
11793 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11794
11795 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11796
11797 * gdb.mi/basics.c: Add copyright notice.
11798 * gdb.mi/var-cmd.c: Add copyright notice.
11799
11800 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11801
11802 * lib/gdb.exp: Remove signed_keyword_not_used.
11803 * lib/compiler.c: Likewise.
11804 * lib/compiler.cc: Likewise.
11805
11806 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11807
11808 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11809 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11810
11811 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11812
11813 * gdb.base/whatis.c: Add copyright notice.
11814
11815 2004-08-20 Mark Kettenis <kettenis@gnu.org>
11816
11817 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11818 it to skip the breakpoints encoded in the inline assembly.
11819
11820 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11821
11822 * Makefile.in: Add gdb.fortran.
11823
11824 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11825
11826 * gdb.base/call-sc.exp (test_scalar_returns):
11827 Fix cut-and-paste glitch in "Make fun return now".
11828
11829 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11830
11831 * configure.in: Add gdb.fortran.
11832 * configure: Regenerate.
11833 * gdb.fortran/Makefile.in: New file.
11834 * lib/gdb.exp (skip_fortran_tests): New procedure.
11835
11836 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11837
11838 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11839 reference to bug-gnu@prep.ai.mit.edu.
11840 * gdb.mi/mi-var-child.exp: Likewise.
11841 * gdb.mi/mi-var-cmd.exp: Likewise.
11842 * gdb.mi/mi-var-display.exp: Likewise.
11843 * gdb.mi/mi2-var-block.exp: Likewise.
11844 * gdb.mi/mi2-var-child.exp: Likewise.
11845 * gdb.mi/mi2-var-cmd.exp: Likewise.
11846 * gdb.mi/mi2-var-display.exp: Likewise.
11847
11848 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11849
11850 * gdb.base/unload.c (main): Make local variable msg const.
11851
11852 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11853
11854 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11855 to bug-gnu@prep.ai.mit.edu.
11856 * gdb.mi/mi-disassemble.exp: Likewise.
11857 * gdb.mi/mi-eval.exp: Likewise.
11858 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11859 default line number.
11860 * gdb.mi/mi-return.exp: Likewise.
11861 * gdb.mi/mi-simplerun.exp: Likewise.
11862 * gdb.mi/mi-stack.exp: Likewise.
11863 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11864 number with explicit range test.
11865 * gdb.mi/mi-watch.exp: Likewise.
11866 * gdb.mi/mi2-break.exp: Likewise.
11867 * gdb.mi/mi2-cli.exp: Likewise.
11868 * gdb.mi/mi2-disassemble.exp: Likewise.
11869 * gdb.mi/mi2-eval.exp: Likewise.
11870 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11871 default line number.
11872 * gdb.mi/mi2-return.exp: Likewise.
11873 * gdb.mi/mi2-simplerun.exp: Likewise.
11874 * gdb.mi/mi2-stack.exp: Likewise.
11875 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11876 number with explicit range test.
11877 * gdb.mi/mi2-watch.exp: Likewise.
11878
11879 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11880
11881 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11882 * gdb.cp/m-static.exp: Likewise.
11883 * gdb.cp/rtti.exp: Likewise.
11884
11885 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11886
11887 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11888
11889 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11890
11891 * ChangeLog: Prefix Local Variables with semi-colons and indent
11892 the reference to older ChangeLog files, to fix fontification in
11893 Emacs.
11894
11895 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11896
11897 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11898 * gdb.mi/mi2-break.exp: Likewise.
11899
11900 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11901
11902 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11903
11904 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11905
11906 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11907
11908 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11909
11910 * gdb.cp/classes.exp: Remove unused declarations. Just let
11911 test names default instead of providing special names. Remove
11912 extraneous demangler test.
11913
11914 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11915
11916 * gdb.base/unload.exp: New test for breakpoints in dynamically
11917 loaded libraries.
11918 * gdb.base/unload.c: Ditto.
11919 * gdb.base/unloadshr.c: Ditto.
11920
11921 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11922
11923 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11924 cp_test_ptype_class.
11925 (test_enums): Likewise.
11926
11927 2004-08-10 Andrew Cagney <cagney@gnu.org>
11928
11929 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11930 files.
11931
11932 2004-08-10 Andrew Cagney <cagney@gnu.org>
11933
11934 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11935 init_malloc call.
11936
11937 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11938
11939 * ChangeLog: Add copyright notice. The notice is copied
11940 from emacs 21.3 top level ChangeLog.
11941
11942 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11943
11944 * lib/cp-support.exp: New file.
11945 * lib/cp-support.exp (cp_test_type_class): New function.
11946 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11947 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11948 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11949 cp_test_ptype_class.
11950
11951 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11952
11953 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11954 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11955 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11956 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11957 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11958 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11959 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11960 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11961 gdb.mi/mi2-watch.exp: Update copyright years.
11962
11963 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11964
11965 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11966
11967 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11968
11969 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11970 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11971 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11972 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11973 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11974 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11975 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11976 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11977 gdb.mi/mi-watch.exp: Update copyright years.
11978
11979 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11980
11981 PR gdb/1738
11982 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11983 from a breakpoint with a pending signal.
11984
11985 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11986
11987 PR gdb/1736
11988 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11989 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11990 the prompt.
11991 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11992
11993 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11994
11995 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11996
11997 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11998
11999 PR gdb/1736
12000 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12001 for i?86-*-linux*.
12002
12003 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12004
12005 * gdb.arch/i386-prologue.exp: Compile without debug information.
12006
12007 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12008
12009 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12010 rather than asking gdb to search.
12011
12012 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12013
12014 * gdb.base/gcore.c: Include <string.h>.
12015
12016 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12017
12018 * gdb.base/gcore.c: Add copyright notice.
12019
12020 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12021
12022 * gdb.base/freebpcmd.c: Include <stdio.h>.
12023 * gdb.base/long_long.c: Include <string.h>.
12024 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12025 * gdb.base/siginfo.c: Include <string.h>.
12026 * gdb.base/sigstep.c: Include <string.h>.
12027
12028 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12029
12030 * gdb.base/complex.c: Include <stdlib.h>.
12031
12032 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12033
12034 * gdb.base/complex.c: Add copyright notice.
12035
12036 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12037
12038 * gdb.base/charset.c: Include <stdlib.h>.
12039
12040 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12041
12042 * gdb.base/auxv.c: Include <stdlib.h>.
12043
12044 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12045
12046 * gdb.base/auxv.c: Add copyright notice.
12047
12048 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12049
12050 * gdb.base/coremaker.c: Add copyright notice.
12051 * gdb.base/coremaker2.c: Add copyright notice.
12052
12053 2004-08-04 Andrew Cagney <cagney@gnu.org>
12054
12055 * gdb.base/store.exp: Update copyright.
12056 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12057 names, do not import gdb_prompt.
12058
12059 2004-08-01 Andrew Cagney <cagney@gnu.org>
12060
12061 Fix PR testsuite/1729.
12062 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12063 not use capture_value with value 4.
12064 (capture_value): Add optional test name parameter.
12065 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12066 the prefix, pass to capture_value.
12067
12068 2004-08-01 Mark Kettenis <kettenis@gnu.org>
12069
12070 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12071 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12072 (main): Call new function.
12073
12074 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12075
12076 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12077
12078 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12079
12080 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12081
12082 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12083
12084 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
12085 Accept more values of vtbl pointer. Remove some messages
12086 about "obsolete gcc or gdb".
12087
12088 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12089
12090 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12091
12092 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12093
12094 * gdb.base/asm-source.exp: Properly convert target board
12095 debug flags from gcc format to binutils format.
12096
12097 2004-07-28 Mark Kettenis <kettenis@gnu.org>
12098
12099 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12100 gdb1718". PR backtrace/1718 partially fixed.
12101
12102 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12103
12104 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12105
12106 2004-07-26 Nick Clifton <nickc@redhat.com>
12107
12108 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12109 good default value for a specific architecture is available then
12110 set it to that value. Otherwise default to the -gstabs switch.
12111 Remove the -g... switches from the asm-flags variable. Allow the
12112 target board info to override the value if it wants to. Pass the
12113 switch on the assembler command line.
12114
12115 2004-07-23 Mark Kettenis <kettenis@gnu.org>
12116
12117 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12118 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12119 (main): Call new function.
12120
12121 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12122
12123 Test for PR exp/1715.
12124 * gdb.base/radix.exp: Refactor common procedures. Make all
12125 test names unique. Change XFAIL to KFAIL.
12126
12127 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12128
12129 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12130 * gdb.ada/gnat_ada.gin: ... to here.
12131 * configure.in: Use gnat_ada.gin.
12132 * configure: Regenerate.
12133
12134 2004-07-20 Andrew Cagney <cagney@gnu.org>
12135
12136 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12137 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12138 XFAILs. Clean up test messages and comments. Check backtraces.
12139 Delete re-sync code.
12140
12141 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12142
12143 Fix PR cli/740.
12144 * gdb.base/annota1.exp: Honor gdb,nosignals.
12145 * gdb.base/annota3.exp: Likewise.
12146
12147 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12148
12149 * lib/java.exp: Update copyright notice.
12150
12151 2004-07-19 Andrew Cagney <cagney@gnu.org>
12152
12153 * gdb.base/selftest.exp: Copy file from here ...
12154 * gdb.gdb/selftest.exp: ... to here.
12155
12156 2004-07-16 Andrew Cagney <cagney@redhat.com>
12157
12158 * lib/insight-support.exp: Delete file.
12159 * lib/java.exp (java_init): Fix copyright.
12160
12161 2004-07-16 Andrew Cagney <cagney@gnu.org>
12162
12163 * gdb.base/restore.c: Append "prologue" to comments marking the a
12164 function's prologue.
12165 * gdb.base/restore.exp: Update copyright, re-indent.
12166 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12167 callerN" prefix where needed. Update patterns that match a
12168 function's prologue.
12169
12170 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12171
12172 * gdb.base/restore.c: Add copyright notice.
12173
12174 2004-07-16 Andrew Cagney <cagney@gnu.org>
12175
12176 * gdb.base/logical.exp: Update copyright.
12177 (evaluate): New procedure. Use to re-implement tests using
12178 several tables.
12179
12180 2004-07-14 Martin Hunt <hunt@redhat.com>
12181
12182 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12183 which fixes some problems where init.tcl was not found.
12184
12185 2004-07-13 Andrew Cagney <cagney@gnu.org>
12186
12187 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12188 (check_sizeof, check_valueof): Do not include the output in the
12189 test name. Use gdb_test.
12190 (get_valueof): Use gdb_test_multiple.
12191
12192 * gdb.base/step-test.exp: Update copyright. Use
12193 gdb_test_multiple. Ensure that test names do not include
12194 architecture dependent output.
12195
12196 * gdb.gdb/observer.exp: Update copyright.
12197 (setup_test): Use gdb_test_multiple.
12198 (attach_first_observer, attach_second_observer)
12199 (attach_third_observer, detach_first_observer)
12200 (detach_second_observer, detach_third_observer)
12201 (reset_counters, check_counters): Make $message a prefix.
12202 (test_normal_stop_notifications): Add "args" parameter - a list of
12203 init functions to be called. Make $message a prefix,
12204 (test_observer_normal_stop): Change the message prefixes so that
12205 they are unique, pass the attach / detach procedures to
12206 test_normal_stop_notifications.
12207
12208 * gdb.base/signull.exp (test_segv): Prefix all tests with
12209 "${name}". Clean up test messages.
12210
12211 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12212
12213 * gdb.base/ena-dis-br.exp: Update copyright.
12214 (break_at): New function. Replace send_gdb with gdb_test,
12215 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12216 ignore count, not stopped at bpt", with KFAIL.
12217
12218 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
12219
12220 * gdb.base/attach.exp: Remove cleanupfile handling.
12221
12222 2004-07-12 Andrew Cagney <cagney@gnu.org>
12223
12224 * gdb.base/annota1.exp: Cleanup corefile test name.
12225 * gdb.base/annota3.exp: Ditto.
12226
12227 2004-07-12 Andrew Cagney <cagney@gnu.org>
12228
12229 * gdb.base/signals.exp: Clean up copyright, re-indent.
12230
12231 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12232 gdb_test and gdb_test_multiple.
12233
12234 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12235
12236 * gdb.java/jmain.exp: Fix expected line number for main to
12237 break at. Set XFAIL for break at main test since gcj does not
12238 provide line number info for first statement in main.
12239
12240 2004-07-08 Andrew Cagney <cagney@gnu.org>
12241
12242 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12243
12244 * gdb.base/sigbpt.exp: Make the common part of each test name a
12245 prefix instead of suffix.
12246
12247 2004-07-07 Bob Rossi <bob_rossi@cox.net>
12248
12249 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12250 test from test_tbreak_creation_and_listing to
12251 test_file_list_exec_source_file
12252 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12253 Changed name of test from test_tbreak_creation_and_listing to
12254 test_file_list_exec_source_file
12255
12256 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12257
12258 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12259 the jmisc() constructor instead of <init>.
12260 * gdb.java/jmisc1.exp: Ditto.
12261
12262 2004-07-07 Andrew Cagney <cagney@gnu.org>
12263
12264 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12265 corrupting the PC.
12266
12267 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12268
12269 * gdb.cp/templates.exp: Accept whitespace change in demangler
12270 output.
12271
12272 2004-07-06 Andrew Cagney <cagney@gnu.org>
12273
12274 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12275
12276 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12277
12278 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12279 * lib/compiler.cc: Likewise.
12280
12281 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12282
12283 * lib/compiler.cc: Work around string preprocessing problem
12284 with old hp c++ compiler.
12285 * lib/compiler.c: Likewise.
12286
12287 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12288
12289 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12290 directives to conditionalize symbol prefixing.
12291 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12292 additional_flags handling. Add underscore prefix for Cygwin.
12293 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12294 conditionalize symbol prefixing.
12295 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12296 additional_flags handling. Add underscore prefix for Cygwin.
12297
12298 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12299
12300 * gdb.base/bigcore.exp: Skip test on Cygwin.
12301
12302 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12303
12304 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12305 formats for "info register". Use gdb_test_multiple. Fix
12306 the "invalid register" test.
12307
12308 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
12309
12310 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12311 PID for Cygwin. Add Cygwin specific strings to check for in some
12312 tests.
12313 (do_attach_tests): Add a test for user interaction when attaching
12314 to a process with no matching symbol table already loaded.
12315
12316 2004-06-26 Andrew Cagney <cagney@gnu.org>
12317
12318 Test PR java/1567 and PR java/1565.
12319 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12320 * gdb.java/jmisc2.exp: Delete file.
12321
12322 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12323
12324 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12325
12326 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
12327
12328 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12329 attach process.
12330
12331 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12332
12333 * gdb.cp/pr-1553.exp: Remove.
12334
12335 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12336
12337 * gdb.cp/pr-1553.cc: Remove.
12338 * gdb.cp/pr-1553.exp: Disable this test.
12339
12340 2004-06-20 Jim Blandy <jimb@redhat.com>
12341
12342 Fix PR testsuite/1680.
12343 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12344 regular expressions.
12345
12346 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12347
12348 Fix PR testsuite/1679.
12349 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12350 Issue an UNSUPPORTED result instead.
12351
12352 2004-06-18 Jim Blandy <jimb@redhat.com>
12353
12354 * gdb.base/charset.exp: Only send a control-C if we see a new
12355 prompt and incomplete command.
12356
12357 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12358
12359 * gdb.cp/pr-574.cc: Add copyright notice.
12360
12361 2004-06-17 Jim Blandy <jimb@redhat.com>
12362
12363 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12364 cases where the regexp has no groups; this grabs random text from
12365 the previous test suite, whatever that was.
12366
12367 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12368
12369 * gdb.cp/printmethod.cc: Add copyright notice.
12370
12371 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12372
12373 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12374
12375 2004-06-16 Andrew Cagney <cagney@gnu.org>
12376
12377 * gdb.base/signull.c: Update copyright. Include <string.h>.
12378 (bowler): Replace data_pointer with data_read
12379 and data_write cases. Add code_descriptor case.
12380 (zero, desc): New array and pointer.
12381 (data, code): Change to simple pointers.
12382 * gdb.base/signull.exp: Fix probe pattern matching a function
12383 descriptor SIGSEGV. Replace data_pointer with data_read and
12384 data_write tests.
12385
12386 2004-06-16 Andrew Cagney <cagney@gnu.org>
12387
12388 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12389
12390 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12391
12392 * gdb.base/long_long.c: Add copyright notice.
12393
12394 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12395
12396 * gdb.base/long_long.exp: Remove reference to
12397 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12398 to gdb_breakpoint and gdb_continue_to_breakpoint.
12399
12400 2004-06-14 Jim Blandy <jimb@redhat.com>
12401
12402 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12403 endian case.
12404
12405 2004-06-14 Andrew Cagney <cagney@gnu.org>
12406
12407 * gdb.base/gcore.exp (capture_command_output): Delete the always
12408 passing tests containing inferior values.
12409 * gdb.base/ending-run.exp: Do not include the breakpoint address
12410 in the test message. Update copyright.
12411 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12412 size in the test name, use gdb_test_multiple. Update copyright.
12413
12414 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12415
12416 * gdb.cp/ref-types.cc: Add copyright notice.
12417
12418 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12419
12420 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12421 hp_aCC_compiler.
12422 * lib/compiler.cc: Likewise.
12423 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12424 'set' commands. Log diagnostics for other lines. Set
12425 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12426
12427 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12428
12429 * gdb.cp/try_catch.cc: Add copyright notice.
12430
12431 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12432
12433 * gdb.cp/userdef.cc: Add copyright notice.
12434
12435 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12436
12437 * gdb.cp/virtfunc.cc: Add copyright notice.
12438
12439 2004-06-11 Randolph Chung <tausq@debian.org>
12440
12441 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12442 problem.
12443
12444 2004-06-10 Andrew Cagney <cagney@gnu.org>
12445
12446 * lib/compiler.cc, lib/compiler.c: Append either
12447 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12448 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12449 instead of gcc-3-3.
12450
12451 2004-06-09 Andrew Cagney <cagney@gnu.org>
12452
12453 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12454 gdb/1455, bug is specific to "long long" and "double".
12455
12456 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12457 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12458 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12459 fixed.
12460
12461 2004-06-09 Andrew Cagney <cagney@gnu.org>
12462
12463 * gdb.base/structs.exp (test_struct_returns): Replace
12464 "return_value_unknown" and "finish_value_unknown" by
12465 "return_value_known" and "finish_value_known". Instead of
12466 "return_value_unknown" iff "finish_value_unknown", check
12467 "return_value_known" implies "finish_value_known".
12468
12469 2004-06-08 Martin Hunt <hunt@redhat.com>
12470
12471 * gdb.base/float.exp: Add pattern for mips targets.
12472
12473 2004-06-08 Randolph Chung <tausq@debian.org>
12474
12475 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12476 message for unknown architectures more clear.
12477
12478 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12479
12480 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12481 start the execution of the program.
12482
12483 2004-06-07 Jim Blandy <jimb@redhat.com>
12484
12485 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12486 * gdb.arch/i386-cpuid.h: New helper file.
12487
12488 2004-06-07 Randolph Chung <tausq@debian.org>
12489
12490 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12491 has started.
12492
12493 2004-06-04 Roland McGrath <roland@redhat.com>
12494
12495 Fix PR gdb/1647.
12496 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12497 differently to be robust to output buffering differences.
12498
12499 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12500
12501 * gdb.threads/pthreads.exp: Update copyright years.
12502 (check_control_c): Change asynchronous 'after' to synchronous.
12503
12504 2004-06-04 Roland McGrath <roland@redhat.com>
12505
12506 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12507 next gdb prompt.
12508
12509 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12510
12511 Fix PR gdb/1636.
12512 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12513 calls to synchronous.
12514
12515 2004-05-26 Jim Blandy <jimb@redhat.com>
12516
12517 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12518
12519 2004-05-24 Randolph Chung <tausq@debian.org>
12520
12521 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12522 * gdb.asm/pa.inc: New file.
12523
12524 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12525
12526 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12527
12528 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12529 Daniel Jacobowitz <drow@mvista.com>
12530
12531 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12532 GDB prompt.
12533
12534 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12535
12536 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12537 setjmp/longjmp. Use sigaction instead of signal.
12538
12539 2004-05-19 J. Brobecker <brobecker@gnat.com>
12540 Michael Snyder <msnyder@redhat.com>
12541
12542 * gdb.threads/pthread_cond_wait.c: New file.
12543 * gdb.threads/pthread_cond_wait.exp: New testcase.
12544
12545 2004-05-13 Andrew Cagney <cagney@redhat.com>
12546
12547 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12548 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12549
12550 2004-05-11 Andrew Cagney <cagney@redhat.com>
12551
12552 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12553 fixed but revealed gdb/1639.
12554
12555 2004-05-10 Andrew Cagney <cagney@redhat.com>
12556
12557 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12558 func1" and "next to 2nd alarm", kernel bug avoided.
12559
12560 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12561
12562 PR external/1568
12563 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12564 XFAIL if it is smaller than bytes_allocated.
12565 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12566 (main): Make chunks_allocated unsigned. Correct comment.
12567
12568 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12569
12570 * gdb.arch/powerpc-aix-prologue.c: New file.
12571 * gdb.arch/powerpc-aix-prologue.exp: New file.
12572
12573 2004-05-07 Jim Blandy <jimb@redhat.com>
12574
12575 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12576 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12577
12578 2004-05-06 Joel Brobecker <brobecker@gnat.com>
12579
12580 * gdb.base/sep.exp: No longer setup_kfail when the program was
12581 built with dwarf2.
12582
12583 2004-05-05 Jim Ingham <jingham@apple.com>
12584
12585 * gdb.base/pending.exp: Make sure pending breakpoints
12586 preserve the ignore count.
12587
12588 2004-04-27 Jerome Guitton <guitton@gnat.com>
12589
12590 * i386-prologue.exp: Add testcase for jump instruction as first
12591 instruction of the real code.
12592 * i386-prologue.c (jump_at_beginning): New function.
12593
12594 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12595
12596 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12597 x86_64-*-*.
12598
12599 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12600
12601 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12602 i*86-*-*.
12603
12604 2004-04-25 Mark Kettenis <kettenis@gnu.org>
12605
12606 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12607 expression that checks the return type.
12608
12609 2004-04-23 Andrew Cagney <cagney@redhat.com>
12610
12611 * gdb.base/call-sc.exp: New test of scalar call/return values.
12612 * gdb.base/call-sc.c: Ditto.
12613
12614 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12615
12616 * gdb.threads/manythreads.c: Reduce thread stack size.
12617
12618 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12619
12620 * gdb.threads/manythreads.c: Add copyright notice.
12621
12622 2004-04-23 Andrew Cagney <cagney@redhat.com>
12623
12624 * gdb.base/siginfo.exp: Better handle step out of signal.
12625 * gdb.base/sigstep.exp: Ditto.
12626
12627 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
12628 Daniel Jacobowitz <drow@mvista.com>
12629
12630 * gdb.threads/manythreads.c: New testcase.
12631 * gdb.threads/manythreads.exp: Ditto.
12632
12633 2004-04-22 Jim Blandy <jimb@redhat.com>
12634
12635 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12636 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12637
12638 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12639
12640 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12641
12642 2004-04-21 Andrew Cagney <cagney@redhat.com>
12643
12644 * gdb.base/sigstep.c: New file.
12645 * gdb.base/sigstep.exp: New file.
12646
12647 2004-04-16 Joel Brobecker <brobecker@gnat.com>
12648
12649 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12650 call to observer_notify_normal_stop.
12651
12652 2004-04-15 Andrew Cagney <cagney@redhat.com>
12653
12654 * gdb.base/siginfo.c: New file.
12655 * gdb.base/siginfo.exp: New file.
12656
12657 2004-04-12 J. Brobecker <brobecker@gnat.com>
12658
12659 * gdb.base/sep.exp: Fix typo in comment.
12660
12661 2004-04-12 J. Brobecker <brobecker@gnat.com>
12662
12663 * gdb.base/sep.c: New file.
12664 * gdb.base/sep-proc.c: New file.
12665 * gdb.base/sep.exp: New testcase.
12666
12667 2004-04-09 Mark Kettenis <kettenis@gnu.org>
12668
12669 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12670 support.
12671
12672 2004-04-05 Andrew Cagney <cagney@redhat.com>
12673
12674 * gdb.base/sigaltstack.c: New file.
12675 * gdb.base/sigaltstack.exp: New file.
12676
12677 2004-04-04 Joel Brobecker <brobecker@gnat.com>
12678
12679 * gdb.base/foll-fork.exp: Update the expected output for
12680 "help set follow-fork-mode", to match a change that was made
12681 to the help of this variable on 2004-01-13.
12682
12683 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12684
12685 * lib/ada.exp: Add copyright notice.
12686 * bar.ads: Likewise.
12687 * bar.adb: Likewise.
12688 * null_record.adb: Likewise.
12689 * null_record.exp: Likewise.
12690 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12691
12692 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12693
12694 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12695 * configure: Regenerate.
12696
12697 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12698
12699 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12700 to build the application. Remove the message printed when in
12701 verbose mode, redundant with the UNSUPPORTED message above.
12702
12703 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12704
12705 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12706 * gdb.ada (null_record.exp): New testcase.
12707
12708 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12709
12710 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12711
12712 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12713
12714 * gdb.ada: New subdirectory.
12715 * gdb.ada/Makefile.in: New file.
12716 * gdb.ada/gnat_ada.gpr.in: New file.
12717
12718 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12719
12720 * lib/ada.exp: New file.
12721
12722 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12723
12724 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12725 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12726
12727 2004-03-22 Andrew Cagney <cagney@redhat.com>
12728
12729 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12730 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12731 Problem identified by Ulrich Weigand.
12732
12733 2004-03-17 David Carlton <carlton@kealia.com>
12734
12735 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12736 PR c++/826.
12737
12738 2004-03-16 Roland McGrath <roland@redhat.com>
12739
12740 * gdb.base/auxv.exp: New file.
12741 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12742
12743 2004-03-12 David Carlton <carlton@kealia.com>
12744
12745 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12746 * gdb.cp/pr-1553.cc: Ditto.
12747 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12748 pass branch.
12749
12750 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12751
12752 * gdb.cp/templates.exp: Accept more template types.
12753
12754 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12755
12756 From Corinna Vinschen with modifications.
12757 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12758 local variable obj_with_enum.
12759 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12760 results with obj_with_enum.
12761
12762 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12763
12764 * gdb.cp/classes.cc: New file, copied from misc.cc.
12765 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12766
12767 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12768
12769 * gdb.cp/misc.cc: Add copyright notice.
12770
12771 2004-03-05 David Carlton <carlton@kealia.com>
12772
12773 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12774 * gdb.cp/rtti.h: Update copyright.
12775 (namespace n2::n3): New.
12776 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12777 (n2::n3::func3): New.
12778 (main): Call n2::n3::func3.
12779 * gdb.cp/rtti2.cc: Update copyright.
12780 (n2::create3): New.
12781
12782 2004-03-04 Mark Kettenis <kettenis@gnu.org>
12783
12784 * gdb.asm/openbsd.inc: Fix typo.
12785
12786 2004-03-03 Fred Fish <fnf@redhat.com>
12787
12788 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12789 "val" instead of unused "size". Update copyright year.
12790
12791 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12792
12793 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12794 to use unsigned char.
12795 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12796 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12797
12798 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12799
12800 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12801 line of output.
12802
12803 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12804
12805 * gdb.base/relocate.c (dummy): Initialize.
12806
12807 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12808
12809 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12810 a breakpoint at exit.
12811
12812 2004-02-27 Fred Fish <fnf@redhat.com>
12813
12814 * gdb.base/chng-syms.exp: Add expect condition to match failing
12815 case that isn't a timeout.
12816
12817 2004-02-27 Andrew Cagney <cagney@redhat.com>
12818
12819 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12820 support.
12821
12822 2004-02-26 Fred Fish <fnf@redhat.com>
12823
12824 * gdb.arch/gdb1431.c: Remove.
12825 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12826 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12827 of "until" incorrectly.
12828
12829 2004-02-26 J. Brobecker <brobecker@gnat.com>
12830
12831 * gdb.cp/class2.cc (empty): New class.
12832 (refer): New function.
12833 (main): Declare an object of type empty and use it.
12834 * gdb.cp/class2.exp: Print the value of an object of type empty.
12835
12836 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12837
12838 * gdb.base/langs.exp: Update query string to match the
12839 new nquery format used for pending breakpoints.
12840
12841 2004-02-26 Andrew Cagney <cagney@redhat.com>
12842
12843 Fix PR i18n/1570.
12844 * gdb.base/charset.c: Update copyright notice.
12845 (main, init_string): Remove the escape character '\e' tests.
12846 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12847 * gdb.base/charset.exp (valid_host_charset): Ditto.
12848 * gdb.base/setvar.exp: Ditto.
12849
12850 2004-02-24 Andrew Cagney <cagney@redhat.com>
12851
12852 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12853 mmapped data in core file" PASS and FAIL messages consistent.
12854
12855 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12856 setting a breakpoint. Work around PR java/1565.
12857
12858 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12859
12860 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12861 new nquery format.
12862 * gdb.base/pending.exp: Ditto.
12863
12864 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12865
12866 * configure.in: Run stabs tests on *BSD.
12867 * configure: Regenerated.
12868
12869 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12870
12871 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12872
12873 2004-02-20 Fred Fish <fnf@redhat.com>
12874
12875 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12876 blank in test for "returns short", for consistency with other
12877 "returns xxx" tests. Update copyright year.
12878
12879 2004-02-19 Fred Fish <fnf@redhat.com>
12880
12881 New testcase for PR breakpoint/1558.
12882 * gdb.arch/gdb1558.exp: New file.
12883 * gdb.arch/gdb1558.c: New file.
12884
12885 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12886
12887 * gdb.base/nodebug.exp: Fix typo.
12888
12889 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12890
12891 Committed by Jim Blandy <jimb@redhat.com>.
12892
12893 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12894
12895 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12896
12897 * gdb.base/float.exp: Support s390*-*-* targets.
12898
12899 2004-02-17 Adam Fedor <fedor@gnu.org>
12900
12901 * gdb.base/gdb1555.exp: New file.
12902 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12903
12904 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12905
12906 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12907
12908 2004-02-16 Fred Fish <fnf@redhat.com>
12909
12910 * gdb.arch/gdb1291.c: Remove
12911 * gdb.arch/gdb1291.s: New test input file.
12912 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12913 fail. Test for correct result, known incorrect result, other
12914 failures and timeouts.
12915
12916 2004-02-16 Andrew Cagney <cagney@redhat.com>
12917
12918 * gdb.base/bigcore.exp: New file.
12919 * gdb.base/bigcore.c: New file.
12920
12921 2004-02-13 Andrew Cagney <cagney@redhat.com>
12922
12923 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12924 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12925 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12926 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12927 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12928 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12929 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12930 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12931 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12932 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12933
12934 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12935
12936 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12937 executed is an alloc instruction.
12938
12939 2004-02-11 David Carlton <carlton@kealia.com>
12940
12941 * gdb.cp/breakpoint.exp: New.
12942 * gdb.cp/breakpoint.cc: New.
12943
12944 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12945
12946 Partial fix for PR gdb/1543.
12947 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12948 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12949 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12950 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12951 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12952 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12953 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12954 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12955 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12956 to bug-gdb@prep.ai.mit.edu .
12957 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12958 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12959 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12960 Likewise.
12961
12962 2004-02-10 Andrew Cagney <cagney@redhat.com>
12963
12964 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12965 using gdb_internal_error_resync.
12966
12967 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12968
12969 * gdb.threads/thread-specific.exp: Stop early if no threads are
12970 found.
12971
12972 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12973
12974 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12975
12976 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12977
12978 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12979 breakpoints.
12980
12981 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12982
12983 * config/sim.exp (gdb_load): Handle $arg == "".
12984 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12985 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12986
12987 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12988
12989 * gdb.base/maint.exp: Update test to reflect
12990 obstack changes.
12991
12992 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12993
12994 * gdb.base/pendshr.c (pendfunc): New function that calls
12995 pendfunc1.
12996 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12997
12998 2004-02-04 Fred Fish <fnf@redhat.com>
12999
13000 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13001 function symbols and update copyright years.
13002 * gdb.arch/gdb1291.c: Ditto.
13003
13004 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13005
13006 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13007
13008 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13009
13010 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13011
13012 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13013
13014 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13015
13016 2004-02-02 Fred Fish <fnf@redhat.com>
13017
13018 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13019 remote targets. Update copyright years.
13020
13021 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13022
13023 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13024 support.
13025 * gdb.base/langs.exp: Fix test which attempts to create
13026 breakpoint on non-existent function to handle new pending
13027 support.
13028 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13029 a breakpoint.
13030 * gdb.base/pending.exp: New test.
13031 * gdb.base/pending.c: New file.
13032 * gdb.base/pendshr.c: Ditto.
13033
13034 2004-02-02 David Carlton <carlton@kealia.com>
13035
13036 * gdb.cp/overload.exp: Add overloadNamespace tests.
13037 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13038 (overloadNamespace, XXX): New.
13039 (main): Call XXX::marker2.
13040
13041 2004-02-01 Fred Fish <fnf@redhat.com>
13042
13043 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13044 * gdb.base/finish.exp: Ditto.
13045 * gdb.base/gcore.exp: Ditto.
13046 * gdb.base/huge.exp: Ditto.
13047 * gdb.base/info-proc.exp: Ditto.
13048 * gdb.base/return2.exp: Ditto.
13049 * gdb.threads/gcore-thread.exp: Ditto.
13050
13051 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13052
13053 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13054
13055 2004-02-01 Mark Kettenis <kettenis@gnu.org>
13056
13057 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13058 that opening the file succeeds on OpenBSD.
13059
13060 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13061
13062 * gdb.threads/thread-specific.c: New file.
13063 * gdb.threads/threads-specific.exp: New test script.
13064 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13065 to expect_out.
13066
13067 2004-02-01 Mark Kettenis <kettenis@gnu.org>
13068
13069 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13070 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13071 only on the "print_small_structs from print_long_arg_list" test.
13072
13073 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13074
13075 * gdb.base/completion.exp: Kill a stray backslash.
13076
13077 From Jim Ingham <jingham@apple.com>:
13078 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13079 agrees with the result from sending a tab.
13080
13081 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
13082
13083 * gdb.base/chng-syms.exp: Remove stray newline.
13084
13085 2004-01-31 Mark Kettenis <kettenis@gnu.org>
13086
13087 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13088 *-*-openbsd*.
13089 * gdb.asm/openbsd.inc: New file.
13090
13091 2004-01-30 Mark Kettenis <kettenis@gnu.org>
13092
13093 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13094 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13095 *-*solaris2*. Remove commented out default settings for
13096 asm-flags. Replace gdb_compile with target_link.
13097
13098 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13099
13100 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13101 for all tests. Remove old hp-ux and cygnus xfail cases.
13102
13103 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13104
13105 * gdb.base/chng-syms.exp: New file.
13106 * gdb.base/chng-syms.c: New file.
13107
13108 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13109
13110 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13111 Provide arms for current output in all my configurations.
13112
13113 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13114
13115 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13116 * lib/compiler.cc: Likewise.
13117 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13118 get the right preprocessor. Eval the output directly. Remove
13119 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13120 hp_f77_compiler and hp_f90_compiler completely.
13121 (gdb_preprocess): Delete.
13122 (get_compiler): Delete.
13123
13124 2004-01-24 Mark Kettenis <kettenis@gnu.org>
13125
13126 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13127 <string.h>.
13128
13129 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
13130
13131 * gdb.mi/mi-stack.exp: Update copyright.
13132
13133 2004-01-23 David Carlton <carlton@kealia.com>
13134
13135 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13136 test for cp_lookup_transparent_type.
13137 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13138 call them.
13139
13140 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
13141
13142 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13143 after -var-update.
13144
13145 2004-01-23 David Carlton <carlton@kealia.com>
13146
13147 * gdb.cp/namespace.cc (C::ensureRefs): New.
13148 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13149
13150 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
13151
13152 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13153 case "-stack-list-locals 2".
13154 * gdb.mi/mi-var-child.exp: Test for case
13155 "-var-list-children --all-values NAME".
13156
13157 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13158
13159 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13160
13161 2004-01-18 Mark Kettenis <kettenis@gnu.org>
13162
13163 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13164 used with gdb_test_multiple.
13165
13166 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13167 read at address 0. This fixes PR testsuite/1504.
13168
13169 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
13170
13171 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13172 Remove downloading, guessing the host executable, the calls to
13173 gdb_file_cmd and gdb_target_cmd, and "load" support.
13174 (infer_host_exec): New function broken out from gdb_load.
13175 (gdb_load): New wrapper for gdbserver_gdb_load.
13176 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13177 gdb_target_cmd. Use -target-select.
13178 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13179 Download binaries to the host. Clear last_mi_remote_file when
13180 we load a new binary.
13181 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13182 call gdbserver_gdb_load and mi_gdb_target_cmd.
13183
13184 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13185
13186 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13187 type patterns.
13188
13189 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13190
13191 * gdb.cp/templates.exp: Fix typo in test name of
13192 "print Foo<volatile char*>::foo".
13193
13194 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13195
13196 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13197
13198 2004-01-16 Ben Elliston <bje@wasabisystems.com>
13199
13200 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13201 (clean mostlyclean): Remove empty rm.
13202
13203 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13204
13205 * gdb.base/setvar.exp: Add copyright years.
13206
13207 2004-01-14 David Carlton <carlton@bactrian.org>
13208
13209 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13210 PR c++/1511 and update coment.
13211 * gdb.cp/templates.exp: Update patterns to match current output.
13212 If changes involve something other than whitespace, KFAIL
13213 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13214
13215 2004-01-14 David Carlton <carlton@kealia.com>
13216
13217 * gdb.cp/namespace.exp: Add tests involving classes defined within
13218 namespaces.
13219 * gdb.cp/namespace.cc (C::CClass): New.
13220 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13221
13222 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
13223
13224 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13225 what debug info we have. Print a better message if something goes
13226 wrong while producing the separate debug info file.
13227
13228 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13229
13230 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13231
13232 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13233
13234 * gdb.base/callfuncs.c: Add copyright notice.
13235
13236 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13237
13238 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13239 inheritance. PR gdb/1498, PR gcc/13539.
13240
13241 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
13242
13243 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13244 test specific name.
13245 * gdb.mi/gdb669.exp: Ditto.
13246 * gdb.mi/mi-pthreads.exp: Ditto.
13247 * gdb.mi/mi1-pthreads.exp: Ditto.
13248 * gdb.mi/mi2-pthreads.exp: Ditto.
13249
13250 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13251
13252 * gdb.cp/member-ptr.cc: Add copyright notice.
13253
13254 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13255
13256 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13257 some patterns for recent versions of gcc and hpacc. Delete
13258 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13259 Delete tests that access a NULL pointer-to-member-data. This
13260 script is still disabled for gcc.
13261
13262 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13263
13264 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
13265 escaped correctly.
13266
13267 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13268
13269 * gdb.base/sepdebug.exp: New file.
13270 * gdb.base/sepdebug.c: New file.
13271 * lib/gdb.exp (separate_debug_filename): New procedure.
13272 (gdb_gnu_strip_debug): New procedure.
13273
13274 2004-01-12 Andrew Cagney <cagney@redhat.com>
13275
13276 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13277 * gdb.mi/ChangeLog-1999-2003: New file.
13278
13279 2004-01-12 Andrew Cagney <cagney@redhat.com>
13280
13281 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13282 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13283 or EEXIST", treat EBUSY as an XFAIL.
13284
13285 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13286
13287 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13288 hp_cc_compiler.
13289
13290 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13291
13292 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13293 decorations.
13294
13295 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13296
13297 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13298 and "(aCC)" decorations. Remove obsolete doco about old
13299 test results.
13300
13301 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13302
13303 * gdb.cp/exception.exp: Fix typo in doco.
13304
13305 2004-01-09 Mark Kettenis <kettenis@gnu.org>
13306
13307 * gdb.base/gdb1476.exp: Fix typo.
13308
13309 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13310
13311 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13312 file.
13313
13314 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13315
13316 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13317 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13318 Use gdb_compile. Remove restriction on gcc. Add some patterns
13319 for recent version of gdb. Delete second half, which was a copy
13320 of the first half with different build flags. This test is
13321 still disabled because it is still not ready for production.
13322
13323 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13324
13325 * gdb.cp/exception.cc: Add copyright notice.
13326 * gdb.cp/exception.exp: Add a notice that this file is broken
13327 because of line number changes caused by addition of copyright
13328 notice.
13329
13330 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13331
13332 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13333 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13334
13335 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13336
13337 * gdb.cp/classes.exp: Accept gnu abi 2.
13338 * gdb.cp/derivation.exp: Likewise.
13339 * gdb.cp/overload.exp: Likewise.
13340 * gdb.cp/virtfunc.exp: Likewise.
13341
13342 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13343
13344 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13345 semicolon after end of function.
13346
13347 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13348
13349 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13350 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13351 boilerplate code for compiling and running the program under
13352 test. Add some string method tests.
13353
13354 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13355
13356 * gdb.cp/bs15503.cc: Add copyright notice.
13357 * gdb.cp/bs15503.exp: Adjust line number.
13358
13359 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13360
13361 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13362 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13363
13364 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13365
13366 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13367 hp_cc_compiler.
13368
13369 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13370
13371 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13372 * gdb.cp/ctti.exp: Use the marker instead of "next".
13373 With gcc, run further before bailing.
13374
13375 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13376
13377 * gdb.cp/cttiadd.cc: Add copyright notice.
13378 * gdb.cp/cttiadd1.cc: Likewise.
13379 * gdb.cp/cttiadd2.cc: Likewise.
13380 * gdb.cp/cttiadd3.cc: Likewise.
13381
13382 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13383
13384 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13385 Use gdb_test, gdb_test_multiple. Use floating-point values that
13386 have exact representations in IEEE-ish formats.
13387
13388 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13389
13390 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13391 compilers. Delete duplicate call to get_compiler_info.
13392 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13393 * gdb.base/volatile.exp: Likewise.
13394
13395 2004-01-07 Mark Kettenis <kettenis@gnu.org>
13396
13397 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13398 memory at address 0.
13399
13400 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13401
13402 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13403 to test for hp-ux assembler. Fix copyright years.
13404
13405 2004-01-07 Andrew Cagney <cagney@redhat.com>
13406
13407 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13408
13409 2004-01-07 Andrew Cagney <cagney@redhat.com>
13410
13411 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13412 when creating the read-only file. From analysis by Roland McGrath
13413 and Elena Zannoni.
13414
13415 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13416
13417 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13418
13419 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13420
13421 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13422 data pointers.
13423
13424 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13425
13426 * gdb.cp/m-static.exp: Compile one source file at a time.
13427 Delete unused call to get_compiler_info.
13428
13429 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13430
13431 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13432 * gdb.base/call-rt-st.exp: Likewise.
13433 * gdb.base/nodebug.exp: Likewise.
13434 * gdb.base/volatile.exp: Likewise.
13435 * gdb.cp/ref-types.exp: Likewise.
13436 * gdb.cp/templates.exp: Likewise.
13437
13438 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13439
13440 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13441
13442 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13443
13444 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13445 hppa*-hp-hpux*.
13446
13447 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13448
13449 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13450 x86_64-*-*.
13451
13452 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13453 sparc64-*-* and sparc*-solaris2*.
13454
13455 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13456
13457 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13458 return ${tests}" test. The ${tests} already mentions the
13459 filename.
13460
13461 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13462
13463 * gdb.cp/local.exp: Accept gcc abi 2.
13464
13465 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13466
13467 * gdb.cp/templates.exp: Accept gcc abi 2.
13468
13469 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13470
13471 * lib/compiler.cc: Remove supports_template_debugging.
13472 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13473
13474 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13475
13476 * gdb.cp/namespace.exp: Accept gcc abi 2.
13477
13478 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13479
13480 * gdb.cp/method.exp: Accept gcc abi 2.
13481
13482 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13483
13484 * gdb.cp/classes.exp: Generate identical results as old version.
13485 * gdb.cp/derivation.exp: Likewise.
13486 * gdb.cp/overload.exp: Likewise.
13487 * gdb.cp/virtfunc.exp: Likewise.
13488
13489 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13490
13491 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13492 mysterious bug with sourceware version of expect.
13493
13494 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13495
13496 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13497 current versions of gcc, including gcc abi 2. Remove gratuitous
13498 restart of test program. Use gdb_test_multiple and gdb_test for
13499 all tests. Add patterns to xfail missing "const" in "const char *"
13500 and kfail PR gdb/1155.
13501
13502 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13503
13504 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13505 current versions of gcc, including gcc abi 2. Remove gratuitous
13506 restart of test program. Use gdb_test_multiple and gdb_test for
13507 all tests. Add patterns to kfail PR gdb/1498.
13508
13509 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13510
13511 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13512 current versions of gcc, including gcc abi 2. Use "breakpoint"
13513 and "continue" instead of restarting the target program. Use
13514 gdb_test_multiple and gdb_test for all tests.
13515
13516 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13517
13518 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13519 for *-*-solaris2*.
13520
13521 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13522
13523 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13524 current versions of gcc, including gcc abi 2. Use "breakpoint"
13525 and "continue" instead of restarting the target program several
13526 times. Use gdb_test_multiple and gdb_test for all tests.
13527
13528 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13529
13530 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13531 source files.
13532
13533 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13534
13535 * gdb.base/environ.exp: Handle compiling test case from multiple
13536 source files.
13537
13538 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13539
13540 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13541
13542 2003-12-17 Jim Blandy <jimb@redhat.com>
13543
13544 * gdb.base/freebpcmd.c: Add copyright notice.
13545
13546 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13547
13548 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13549
13550 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13551
13552 2003-12-13 Jim Blandy <jimb@redhat.com>
13553
13554 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13555
13556 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13557
13558 * gdb.asm/frv.inc: New file.
13559 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13560
13561 2003-12-09 Fred Fish <fnf@redhat.com>
13562
13563 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13564 functions to break1.c and leave prototypes behind. Add more
13565 "set breakpoint NN here" comments.
13566 * gdb.base/break1.c: New file.
13567
13568 * gdb.base/break.exp: Handle compiling test case from multiple
13569 source files and change source file references as needed.
13570 * gdb.base/completion.exp: Ditto.
13571 * gdb.base/condbreak.exp: Ditto.
13572 * gdb.base/define.exp: Ditto.
13573 * gdb.base/ena-dis-br.exp: Ditto.
13574 * gdb.base/info-proc.exp: Ditto.
13575 * gdb.base/maint.exp: Ditto.
13576 * gdb.base/until.exp: Ditto.
13577
13578 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13579 hardcoded line numbers.
13580 * gdb.base/define.exp: Ditto.
13581 * gdb.base/ena-dis-br.exp: Ditto.
13582 * gdb.base/maint.exp: Ditto.
13583 * gdb.base/until.exp: Ditto.
13584
13585 * gdb.base/completion.exp: Use "break1" for completion tests since
13586 "break" is no longer a unique prefix.
13587
13588 2003-12-06 Andrew Cagney <cagney@redhat.com>
13589
13590 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13591 "return_value_unimplemented". When an unimplemented struct return
13592 architecture, report incorrect values as a KFAIL
13593
13594 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13595
13596 * gdb.cp/rtti.exp: Accept new wording of warning from
13597 cp_lookup_rtti_type.
13598
13599 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13600
13601 Partial fix for PR testsuite/1456.
13602 * gdb.base/scope.exp (test_at_main): Replace references to
13603 gcc_compiled with calls to test_compiler_info.
13604 (test_at_foo): Likewise.
13605 (test_at_bar): Likewise.
13606
13607 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13608
13609 Partial fix for PR testsuite/1456.
13610 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13611 to test_compiler_info.
13612
13613 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13614
13615 * gdb.base/so-impl-ld.exp: Update copyright notice.
13616
13617 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13618
13619 Partial fix for PR testsuite/1456.
13620 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13621 to test_compiler_info.
13622
13623 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13624
13625 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13626 from current versions of gdb. Clean up regular expressions.
13627 Delete redundant timeout case.
13628
13629 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13630
13631 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13632 from current versions of gdb. Clean up regular expressions.
13633 Delete redundant timeout case.
13634
13635 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13636
13637 Partial fix for PR testsuite/1456.
13638 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13639 gcc_compiled with call to test_compiler_info.
13640
13641 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13642
13643 Partial fix for PR testsuite/1456.
13644 * gdb.base/list.exp (test_list_function): Delete unused declaration
13645 of gcc_compiled.
13646
13647 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13648
13649 Partial fix for PR testsuite/1456.
13650 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13651 call to test_compiler_info.
13652
13653 2003-11-29 Mark Kettenis <kettenis@gnu.org>
13654
13655 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13656 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13657 it to create the appropriate note.inc.
13658 * gdb.asm/asmsrc1.s: Include "note.inc".
13659 * gdb.asm/netbsd.inc: New file.
13660 * gdb.asm/empty.inc: New file.
13661
13662 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13663
13664 Partial fix for PR testsuite/1456.
13665 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13666 calls to test_compiler_info.
13667
13668 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13669
13670 Partial fix for PR testsuite/1456.
13671 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13672 calls to test_compiler_info.
13673
13674 2003-11-27 Mark Kettenis <kettenis@gnu.org>
13675
13676 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13677 pattern for the KFAILs.
13678
13679 2003-11-25 Adam Fedor <fedor@gnu.org>
13680
13681 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13682 * gdb.objc/objcdecode.m: New file.
13683
13684 2003-11-25 Adam Fedor <fedor@gnu.org>
13685
13686 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13687 * gdb.objc/nondebug.m: New file.
13688
13689 2003-11-26 Ben Elliston <bje@wasabisystems.com>
13690
13691 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13692 NetBSD as it does on FreeBSD. Modelled on a similar change by
13693 Mark Kettenis on 2003-05-30.
13694 (link-flags): Set to "--entry _start" regardless of target.
13695 Special linker flags are to be appended to $link-flags.
13696 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13697
13698 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13699
13700 * gdb.cp/method.exp: Accept output of new demangler.
13701
13702 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13703
13704 * gdb/class2.exp: New file.
13705 * gdb/class2.cc: New file.
13706
13707 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13708
13709 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13710 of new demangler.
13711
13712 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13713
13714 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13715 of gdb_test "run".
13716
13717 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13718
13719 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13720 "continue" into "run".
13721
13722 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13723
13724 Partial fix for PR testsuite/1456.
13725 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13726 call to test_compiler_info.
13727 * gdb.cp/ctti.exp: Likewise.
13728 * gdb.cp/derivation.exp: Likewise.
13729 * gdb.cp/member-ptr.exp: Likewise.
13730 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13731 reference to gcc_compiled.
13732
13733 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13734
13735 Fix PR testsuite/1463.
13736 * gdb.base/structs.exp (start_structs_test): Call
13737 get_debug_format before using the debug format.
13738
13739 2003-11-22 Andrew Cagney <cagney@redhat.com>
13740
13741 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13742 * gdb.base/structs.exp: Use gdb_test_multiple.
13743
13744 2003-11-20 Andrew Cagney <cagney@redhat.com>
13745
13746 * gdb.base/structs.exp: Handle and recover from internal errors.
13747 Replace "foo${n}" with "foo<n>" in test messages.
13748
13749 * gdb.base/structs.exp: Update copyright. Rewrite.
13750 * gdb.base/structs.c: Update copyright. Rewrite.
13751
13752 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13753 resync count exceeded.
13754
13755 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13756 from the internal error.
13757 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13758 Original from Jim Blandy.
13759 (gdb_test_multiple): Use gdb_internal_error_resync.
13760
13761 2003-11-19 Andrew Cagney <cagney@redhat.com>
13762
13763 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13764 KFAIL.
13765
13766 2003-11-17 Mark Kettenis <kettenis@gnu.org>
13767
13768 New testcase for PR backtrace/1435.
13769 * gdb.arch/i386-unwind.exp: New file.
13770 * gdb.arch/i386-unwind.c: New file.
13771
13772 2003-11-17 Andrew Cagney <cagney@redhat.com>
13773
13774 * lib/gdb.exp (compiler_info): New global.
13775 (test_compiler_info): New function.
13776 (get_compiler_info): Set compiler_info.
13777 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13778 "compiler_info" to gcc-<major>-<minor>.
13779
13780 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13781
13782 * gdb.trace/configure: Remove.
13783
13784 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
13785
13786 * gdb.base/break.c: Add comments to aid finding line numbers for
13787 breakpoints.
13788 * gdb.base/break.exp: Remove all references to explicit line
13789 numbers.
13790
13791 2003-11-11 Nick Clifton <nickc@redhat.com>
13792
13793 * gdb.base/shreloc.exp: Do not run for targets which do not
13794 support shared objects.
13795
13796 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
13797
13798 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13799 Don't run tests if nofileio flag is given.
13800
13801 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
13802
13803 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
13804 as well as 'Watchpoint'.
13805
13806 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13807
13808 Reported by Jim Ingham <jingham@apple.com>:
13809 * gdb.base/annota1.exp: Match at least one occurrence of the
13810 signal handler annotation.
13811
13812 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13813
13814 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13815 as well as 'Watchpoint'.
13816
13817 2003-11-05 Michael Chastain <mec@shout.net>
13818
13819 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13820
13821 2003-11-03 Kris Warkentin <kewarken@qnx.com>
13822
13823 * gdb.arch/gdb1291.c: New test file.
13824 * gdb.arch/gdb1291.exp: New test script.
13825 * gdb.arch/gdb1431.c: New test file.
13826 * gdb.arch/gdb1431.exp: New test script.
13827
13828 2003-10-22 Michael Chastain <mec@shout.net>
13829
13830 * gdb.mi/pthreads.c: Add copyright notice.
13831
13832 2003-10-22 Michael Chastain <mec@shout.net>
13833
13834 * gdb.threads/pthreads.c: Add copyright notice.
13835
13836 2003-10-20 Michael Chastain <mec@shout.net>
13837
13838 * gdb.base/gdb1056.exp: New test script.
13839
13840 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13841
13842 * gdb.threads/killed.exp: Use gdb_run_cmd.
13843
13844 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13845
13846 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13847 create a core file.
13848 * gdb.threads/gcore-thread.exp: Likewise.
13849
13850 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13851
13852 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13853 type, based on char type.
13854 (struct bit_flags_short_t): New bitfield type, based on short type.
13855 (init_bit_flags_char): New fuction.
13856 (init_bit_flags_short): Ditto.
13857 (print_bit_flags_char): Ditto.
13858 (print_bit_flags_short): Ditto.
13859 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13860
13861 2003-10-11 Michael Chastain <mec@shout.net>
13862
13863 * gdb.base/call-rt-st.exp: Update copyright year.
13864
13865 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13866
13867 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13868 * gdb.disasm/sh3.s: Ditto.
13869
13870 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13871
13872 * gdb.threads/switch-threads.exp: New test.
13873 * gdb.threads/switch-threads.c: New source file.
13874
13875 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13876
13877 * gdb.base/ending-run.exp: Add sh specific case.
13878
13879 2003-10-06 Andrew Cagney <cagney@redhat.com>
13880
13881 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13882 * gdb.disasm/mn10200.exp: Delete obsolete file.
13883
13884 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13885
13886 * ChangeLog: Correct an entry command.exp -> commands.exp.
13887 * gdb.base/commands.exp (bp_deleted_in_command_test)
13888 (temporary_breakpoint_commands): Check noargs.
13889
13890 2003-09-25 David Carlton <carlton@kealia.com>
13891
13892 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13893 of some print tests, where appropriate. Add tests for C::D::cd,
13894 E::ce, F::cXfX, G::XgX.
13895 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13896
13897 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13898
13899 * lib/java.exp (java_init): Import target_alias before using it.
13900
13901 2003-09-25 David Carlton <carlton@kealia.com>
13902
13903 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13904
13905 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13906
13907 * gdb.base/selftest.exp: Accomodate more instruction reordering
13908 weirdness.
13909
13910 2003-09-17 Michael Chastain <mec@shout.net>
13911
13912 * gdb.cp/gdb1355.exp: New file.
13913 * gdb.cp/gdb1355.c: New file.
13914
13915 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13916
13917 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13918 * gdb.asm/sh.inc: New file.
13919
13920 2003-09-11 David Carlton <carlton@kealia.com>
13921
13922 * gdb.cp/namespace.exp: Add tests for namespace types.
13923 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13924 (test_namespace): New.
13925
13926 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13927
13928 * gdb.base/relocate.exp: Handle new gdb output at startup.
13929 * gdb.stabs/weird.exp: Ditto.
13930
13931 2003-09-08 Michael Chastain <mec@shout.net>
13932
13933 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13934
13935 2003-09-07 Michael Chastain <mec@shout.net>
13936
13937 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13938 'parse error'.
13939
13940 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13941
13942 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13943
13944 2003-08-30 Michael Chastain <mec@shout.net>
13945
13946 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13947 * gdb.gdb/observer.exp: Ditto.
13948 * gdb.gdb/xfullpath.exp: Ditto.
13949
13950 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13951
13952 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13953 *-*-*bsd*.
13954
13955 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13956
13957 * gdb.base/dump.exp: Skip for ia64.
13958
13959 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13960
13961 * gdb.asm/asm-source.exp: Add ia64 support.
13962 * gdb.asm/ia64.inc: New file.
13963
13964 2003-08-22 Michael Chastain <mec@shout.net>
13965
13966 * gdb.cp: New directory.
13967 * gdb.cp/*: Copy from gdb.c++/*.
13968 * gdb.c++/*: Remove.
13969 * Makefile.in: Change gdb.c++ to gdb.cp.
13970 * configure.in: Ditto.
13971 * configure: Regnerate.
13972
13973 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13974
13975 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13976 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13977
13978 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13979
13980 * mi-var-display.exp (-var-list-children weird): Accept function
13981 pointers with argument types.
13982 * mi1-var-display.exp (-var-list-children weird): Likewise.
13983 * mi2-var-display.exp (-var-list-children weird): Likewise.
13984
13985 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13986
13987 * gdb.base/annota3.exp: Add missing newline.
13988
13989 2003-08-06 Michael Chastain <mec@shout.net>
13990
13991 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13992
13993 2003-08-12 Michael Snyder <msnyder@redhat.com>
13994
13995 * gdb.base/float.exp: Add test for SH.
13996
13997 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13998
13999 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14000
14001 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
14002
14003 * gdb.base/completion.exp: Remove reduntant completion test
14004 on filename.
14005
14006 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
14007
14008 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14009 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14010 gdb.trace/save-trace.exp: Make sure that full pathnames are
14011 escaped correctly.
14012
14013 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
14014
14015 * configure.in: Don't generate config.h from config.hin.
14016 * configure: Regenerate.
14017 * config.hin: Remove file.
14018 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14019 * gdb.threads/pthreads.c: Ditto.
14020
14021 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
14022
14023 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14024 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14025 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14026 Replace ld24 with seth/add3.
14027
14028 2003-08-02 Andrew Cagney <cagney@redhat.com>
14029
14030 * gdb.base/annota3.exp: New file.
14031 * gdb.base/annota3.c: New file.
14032 * gdb.c++/annota3.exp: New file.
14033 * gdb.c++/annota3.cc: New file.
14034
14035 2003-07-29 Michael Chastain <mec@shout.net>
14036
14037 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14038 actually failed.
14039 (do_pass): Likewise.
14040 * gdb.threads/tls.exp: Always initialize no_of_threads.
14041
14042 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
14043
14044 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14045 pattern.
14046 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14047 * gdb.threads/tls.exp: Recognize one case of the host library not
14048 supporting TLS.
14049
14050 2003-07-27 Andrew Cagney <cagney@redhat.com>
14051
14052 * gdb.base/fileio.exp: Use SH when running commands using
14053 remote_exec.
14054
14055 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
14056
14057 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14058 * gdb.base/relocate.c (dummy): New padding array.
14059
14060 2003-07-22 Michael Snyder <msnyder@redhat.com>
14061
14062 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
14063
14064 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14065 patterns to be more general, accepting old and new output.
14066 Some output chars (such as '+') also must be quoted.
14067 Some addresses are displayed numerically instead of
14068 symbolically.
14069
14070 2003-07-23 Michael Snyder <msnyder@redhat.com>
14071
14072 * gdb.base/return2.exp: Don't test long-long return.
14073
14074 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14075 * gdb.disasm/t01_mov.exp: Ditto.
14076 * gdb.disasm/t02_mova.s: Ditto.
14077 * gdb.disasm/t02_mova.exp: Ditto.
14078 * gdb.disasm/t03_add.s: Ditto.
14079 * gdb.disasm/t03_add.exp: Ditto.
14080 * gdb.disasm/t04_sub.s: Ditto.
14081 * gdb.disasm/t04_sub.exp: Ditto.
14082 * gdb.disasm/t05_cmp.s: Ditto.
14083 * gdb.disasm/t05_cmp.exp: Ditto.
14084 * gdb.disasm/t06_ari2.s: Ditto.
14085 * gdb.disasm/t06_ari2.exp: Ditto.
14086 * gdb.disasm/t07_ari3.s: Ditto.
14087 * gdb.disasm/t07_ari3.exp: Ditto.
14088 * gdb.disasm/t08_or.s: Ditto.
14089 * gdb.disasm/t08_or.exp: Ditto.
14090 * gdb.disasm/t09_xor.s: Ditto.
14091 * gdb.disasm/t09_xor.exp: Ditto.
14092 * gdb.disasm/t10_and.s: Ditto.
14093 * gdb.disasm/t10_and.exp: Ditto.
14094 * gdb.disasm/t11_logs.s: Ditto.
14095 * gdb.disasm/t11_logs.exp: Ditto.
14096 * gdb.disasm/t12_bit.s: Ditto.
14097 * gdb.disasm/t12_bit.exp: Ditto.
14098 * gdb.disasm/t13_otr.s: Ditto.
14099 * gdb.disasm/t13_otr.exp: Ditto.
14100
14101 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
14102
14103 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14104
14105 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
14106
14107 * gdb.threads/tls.c : New file.
14108 * gdb.threads/tls.exp : New file.
14109 * gdb.threads/tls-main.c : New file.
14110 * gdb.threads/tls-shared.c : New file.
14111 * gdb.threads/tls-shared.exp : New file.
14112
14113 2003-07-22 Andreas Schwab <schwab@suse.de>
14114
14115 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14116
14117 2003-07-20 Andreas Schwab <schwab@suse.de>
14118
14119 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14120 due to insn reordering.
14121
14122 2003-07-15 Andrew Cagney <cagney@redhat.com>
14123
14124 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14125
14126 2003-07-15 Michael Chastain <mec@shout.net>
14127
14128 * gdb.base/gdb1250.exp: New file.
14129 * gdb.base/gdb1250.c: New file.
14130
14131 2003-07-09 Michal Ludvig <mludvig@suse.cz>
14132
14133 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14134 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14135
14136 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
14137
14138 * gdb.threads/tls.c: New file.
14139 * gdb.threads/tls.exp: New file.
14140 * gdb.threads/tls-main.c: New file.
14141 * gdb.threads/tls-shared.c: New file.
14142 * gdb.threads/tls-shared.exp: New file.
14143
14144 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
14145
14146 * gdb.base/annota1.exp: Make sure that we properly escape the
14147 full path of the source file. Xfail more permissive patterns,
14148 due to a compiler debug info problem.
14149
14150 2003-07-07 Andreas Schwab <schwab@suse.de>
14151
14152 * gdb.asm/m68k.inc: New file.
14153 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14154
14155 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14156 arguments"): Also match negative number.
14157
14158 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14159
14160 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
14161
14162 * gdb.base/store.c (charest): New typedef.
14163 (add_char): Rename to add_charest, update.
14164 (wack_char): Rename to wack_charest, update types. Return l + r
14165 to keep r live across the call.
14166 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14167 (wack_double, wack_doublest): Return l + r to keep r live across
14168 the call.
14169 * gdb.base/store.exp: Accomodate store.c changes.
14170
14171 2003-06-30 David Carlton <carlton@kealia.com>
14172
14173 * gdb.c++/maint.exp (test_invalid_name): New.
14174 (test_first_component): Add tests for invalid names.
14175
14176 2003-06-29 Michael Chastain <mec@shout.net>
14177
14178 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14179 output of '<VTT for class>' for virtual base classes.
14180
14181 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14182
14183 * gdb.base/completion.exp: Tab-complete "complet" instead of
14184 "compl".
14185 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14186
14187 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14188
14189 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14190 * gdb.base/volatile.exp: Likewise.
14191
14192 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14193
14194 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14195 gdb/1265.
14196
14197 2003-06-28 Michael Chastain <mec@shout.net>
14198 Daniel Jacobowitz <drow@mvista.com>
14199
14200 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14201 initial line count of 'captured_main' from 26 to 32.
14202 (test_with_self): Allow xmalloc call to be interleaved with the
14203 preceding two lines.
14204
14205 2003-06-24 Joel Brobecker <brobecker@gnat.com>
14206
14207 * gdb.base/bang.exp: New testcase.
14208
14209 2003-06-23 Joel Brobecker <brobecker@gnat.com>
14210
14211 * gdb.base/langs.exp: Add some tests for the "minimal" language
14212 support.
14213
14214 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
14215
14216 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14217 the testcase.
14218
14219 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14220
14221 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14222 offset.
14223
14224 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14225
14226 * gdb.c++/pr-1210.cc: New file.
14227 * gdb.c++/pr-1210.exp: New file.
14228
14229 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
14230
14231 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14232 000-exec-continue.
14233
14234 2003-06-15 Mark Kettenis <kettenis@gnu.org>
14235
14236 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14237 on *-*-*bsd* instead of *-*-freebsd*.
14238
14239 2003-06-14 Andrew Cagney <cagney@redhat.com>
14240
14241 * gdb.base/store.exp: Test longest and doublest. Test all
14242 parameters. Weaken return statement match.
14243 * gdb.base/store.c: Add longest and doublest - aka long long and
14244 long double functions. Put all parameters into local register
14245 variables. Use negative values.
14246
14247 2003-06-14 Andrew Cagney <cagney@redhat.com>
14248
14249 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14250 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14251 exit status.
14252 * gdb.base/fileio.exp: Disable target when nointerrupts and
14253 noinferiorio, instead of limiting it to remote. Use remote_exec
14254 instead of system.
14255
14256 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14257
14258 * gdb.base/float.exp: Add ia64 support.
14259
14260 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
14261
14262 * gdb.base/fileio.exp: Run only on remote targets.
14263
14264 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
14265
14266 * gdb.base/fileio.c: New file, testing File-I/O.
14267 * gdb.base/fileio.exp: Ditto.
14268
14269 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14270
14271 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14272 shared objects after relocation at load time (gdb PR/1132).
14273 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
14274 as above, part of the shared object relocation test.
14275
14276 2003-06-08 Mark Kettenis <kettenis@gnu.org>
14277
14278 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14279 fully filled history list.
14280 * gdb.base/gdb_history: New file.
14281
14282 * gdb.base/signals.exp: XFAIL "continue to func1" on
14283 i*86-*-freebsd*.
14284
14285 * gdb.base/attach.exp: When trying to attach to a nonexistent
14286 process, make it possible to specify the PID based on the target,
14287 and do so for *-*-freebsd*.
14288
14289 2003-06-02 Richard Henderson <rth@redhat.com>
14290
14291 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14292
14293 2003-06-02 Richard Henderson <rth@redhat.com>
14294
14295 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14296
14297 2003-06-02 Richard Henderson <rth@redhat.com>
14298
14299 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14300
14301 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
14302
14303 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14304 of globalvar.
14305
14306 2003-06-01 Mark Kettenis <kettenis@gnu.org>
14307
14308 * gdb.asm/asm-source.exp: Check for memory read errors in
14309 disassembler test on *BSD too.
14310
14311 2003-06-01 Richard Henderson <rth@redhat.com>
14312
14313 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14314 for .frame.
14315 (gdbasm_call): Lose ldgp.
14316 (gdbasm_startup): Add frame information.
14317 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14318
14319 2003-05-31 Mark Kettenis <kettenis@gnu.org>
14320
14321 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14322 i?86-*-*.
14323
14324 2003-05-30 Mark Kettenis <kettenis@gnu.org>
14325
14326 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14327 FreeBSD.
14328
14329 2003-05-29 Richard Henderson <rth@redhat.com>
14330
14331 * gdb.asm/alpha.inc: New file.
14332 * gdb.asm/asm-source.exp: Use it.
14333
14334 2003-05-29 Jim Blandy <jimb@redhat.com>
14335
14336 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14337 'core.PID'.
14338
14339 2003-05-22 Jim Blandy <jimb@redhat.com>
14340
14341 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14342 backtrace.
14343
14344 2003-05-20 David Carlton <carlton@math.stanford.edu>
14345
14346 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14347 this time.
14348
14349 2003-05-19 David Carlton <carlton@bactrian.org>
14350
14351 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14352 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14353
14354 2003-05-19 David Carlton <carlton@bactrian.org>
14355
14356 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14357 namespace tests.
14358 Bump copyright date.
14359 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14360 (main): Call C::D::marker2.
14361 * gdb.c++/namespace1.cc: New file.
14362
14363 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14364
14365 Roland McGrath <roland@redhat.com>
14366 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
14367 there is no manager thread.
14368
14369 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14370
14371 * gdb.threads/schedlock.exp: Remove assumption that all threads
14372 will run in a particular small time slice. Also ensure we break
14373 in one of the child threads rather than the main thread.
14374
14375 2003-05-07 Jim Blandy <jimb@redhat.com>
14376
14377 Add support for assembly source testing on the s390x.
14378 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14379 architecture.
14380 * gdb.asm/s390x.inc: New file.
14381
14382 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14383 succession of 'if' statements.
14384
14385 2003-05-05 Andrew Cagney <cagney@redhat.com>
14386
14387 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14388
14389 2003-05-05 Andrew Cagney <cagney@redhat.com>
14390
14391 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14392 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14393
14394 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
14395
14396 * gdb.base/charset.exp: Update based on new behavior of set/show
14397 charset commands.
14398
14399 2003-05-01 Andrew Cagney <cagney@redhat.com>
14400
14401 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14402 variable do not give memory errors.
14403
14404 2003-04-30 Adam Fedor <fedor@gnu.org>
14405
14406 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14407 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14408 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14409 gdb.objc/basicclass.m: : New files
14410
14411 * lib/gdb.exp (gdb_compile_objc): New procedure.
14412
14413 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
14414
14415 * gdb.base/signals.exp: Make backtrace tests more specific.
14416
14417 2003-04-23 David Carlton <carlton@bactrian.org>
14418
14419 * gdb.c++/maint.exp (test_first_component): Add tests for
14420 'operator' in more locations.
14421
14422 2003-04-16 Kevin Buettner <kevinb@redhat.com>
14423
14424 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14425
14426 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14427
14428 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14429 func marke' instead. Update test name.
14430
14431 2003-04-15 David Carlton <carlton@math.stanford.edu>
14432
14433 * gdb.c++/maint.exp: New file.
14434
14435 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14436
14437 * gdb.threads/schedlock.c: Change type of thread function argument
14438 to long, to avoid warnings on 64-bit platforms.
14439
14440 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14441
14442 * gdb.base/attach.exp: Add new message from ptrace in case of
14443 attaching to nonexistent process.
14444
14445 2003-04-11 Jim Blandy <jimb@redhat.com>
14446
14447 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14448 gdb.c++/userdef.cc: Place comments on the lines to which the
14449 marker function might return.
14450 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14451 gdb.c++/userdef.exp: Look for those comments to check that we've
14452 returned to the right place, instead of checking line numbers.
14453
14454 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14455
14456 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14457 match on sourcefile name, instead of directory name.
14458
14459 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14460
14461 * gdb.base/completion.exp: Use string_to_regexp to match the
14462 working directory name.
14463
14464 2003-04-09 Jim Blandy <jimb@redhat.com>
14465
14466 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14467 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14468 after an inferior function call, report the failure, but allow the
14469 test to continue.
14470
14471 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14472
14473 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14474 with -DPROTOTYPES.
14475
14476 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14477
14478 * gdb.base/break.exp: Revert last patch.
14479
14480 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14481
14482 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14483 with -DPROTOTYPES.
14484
14485 2003-04-02 Andrew Cagney <cagney@redhat.com>
14486
14487 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14488 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14489 matching directories by the name breakpoint.
14490 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14491 Make "continue to marker1" consistent.
14492 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14493 message consistent.
14494 * lib/gdb.exp: Put "the program is no longer running", and "the
14495 program exited" in parenthesis.
14496 * lib/mi-support.exp: Ditto.
14497
14498 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14499
14500 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14501
14502 2003-03-29 Andrew Cagney <cagney@redhat.com>
14503
14504 * gdb.base/sizeof.c (main): Print the value of '\377'.
14505 * gdb.base/sizeof.exp: Check the sign of '\377'.
14506
14507 2003-03-27 Michael Chastain <mec@shout.net>
14508
14509 * gdb.base/gdb1090.exp: New file.
14510 * gdb.base/gdb1090.cc: New file.
14511
14512 2003-03-27 J. Brobecker <brobecker@gnat.com>
14513
14514 * gdb.gdb/observer.exp: New regression test.
14515
14516 2003-03-27 Michael Chastain <mec@shout.net>
14517
14518 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14519 * gdb.base/ptype.exp: Likewise.
14520
14521 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14522
14523 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14524
14525 2003-03-26 Michael Chastain <mec@shout.net>
14526
14527 * gdb.base/ptype.exp: Actually use some typedef'd types.
14528
14529 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14530
14531 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14532 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14533
14534 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14535
14536 * gdb.base/default.exp: Fix regular expression.
14537
14538 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14539
14540 * gdb.base/args.exp: Fix regular expression.
14541
14542 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14543
14544 * gdb.base/help.exp: Allow Win32 child process.
14545
14546 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14547
14548 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14549 when stepping out of main().
14550
14551 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14552
14553 * gdb.base/default.exp: Check for win32 specific message when calling
14554 "run" without executable.
14555
14556 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14557
14558 * gdb.base/args.exp: Expect .exe in output.
14559
14560 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14561
14562 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14563 Cygwin native.
14564
14565 2003-03-17 Andrew Cagney <cagney@redhat.com>
14566
14567 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14568 vector registes.
14569 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14570 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14571
14572 2003-03-17 David Carlton <carlton@math.stanford.edu>
14573
14574 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14575 test, for PR breakpoints/38.
14576 Call test_watchpoint_and_breakpoint.
14577 * gdb.base/watchpoint.c (func3): New function.
14578 (main): Call func3.
14579
14580 2003-03-04 David Carlton <carlton@math.stanford.edu>
14581
14582 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14583 Garply<Garply<char> >:: garply".
14584 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14585 with respect to PR c++/1111; note also PR c++/1113.
14586 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14587 respect to PR c++/1062.
14588 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14589
14590 2003-03-03 David Carlton <carlton@math.stanford.edu>
14591
14592 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14593 with respect to PR c++/57.
14594 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14595 c++/826.
14596 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14597 respect to PR c++/57.
14598
14599 2003-03-03 David Carlton <carlton@math.stanford.edu>
14600
14601 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14602 respect to PR c++/33 into FAILs.
14603
14604 2003-03-03 Michael Chastain <mec@shout.net>
14605
14606 * configure.in: Update copyright years.
14607
14608 2003-03-03 Michael Chastain <mec@shout.net>
14609
14610 * Makefile.in: Update copyright years.
14611
14612 2003-02-28 David Carlton <carlton@math.stanford.edu>
14613
14614 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14615 print class instead of struct and/or superfluous protection
14616 specifiers, as long as the resulting output is equivalent to the
14617 source code.
14618 Delete FIXME from end of messages on tests that don't need
14619 fixing.
14620
14621 2003-02-28 David Carlton <carlton@math.stanford.edu>
14622
14623 * gdb.c++/templates.exp (do_tests): Allow const in the two
14624 Foo<volatile char *>::foo tests.
14625
14626 2003-02-27 Michael Snyder <msnyder@redhat.com>
14627
14628 * gdb.base/restore.c (main): Return zero, so exit code
14629 will be consistant.
14630
14631 2003-02-26 David Carlton <carlton@math.stanford.edu>
14632
14633 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14634 char *>::foo" test with respect to PR c++/33. Create a new test
14635 which is identical to that one except that it doesn't put the
14636 space between the "char" and the "*"; KFAIL it, too.
14637
14638 2003-02-26 David Carlton <carlton@math.stanford.edu>
14639
14640 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14641 template types into either PASSes or KFAILs (corresponding to PR
14642 c++/57). Tweak indentation. Update copyright.
14643
14644 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14645
14646 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14647
14648 2003-02-13 Michael Chastain <mec@shout.net>
14649
14650 * gdb.base/exprs.exp: Remove i960 remnants.
14651 * gdb.base/funcargs.exp: Likewise.
14652 * gdb.base/list.exp: Likewise.
14653 * gdb.base/ptype.exp: Likewise.
14654
14655 2003-02-14 David Carlton <carlton@math.stanford.edu>
14656
14657 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14658 pEe->D::vg()" from XFAIL to KFAIL.
14659
14660 2003-02-13 Jason Molenda (jmolenda@apple.com)
14661
14662 * gdb.base/maint.exp: Update maint print statistics regexp to include
14663 new entries.
14664
14665 2003-02-13 Michael Chastain <mec@shout.net>
14666
14667 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14668
14669 2003-02-12 Michael Chastain <mec@shout.net>
14670
14671 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14672 * gdb.c++/inherit.exp: Likewise.
14673 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14674 * gdb.c++/templates.exp: Likewise.
14675 * gdb.c++/virtfunc.exp: Likewise.
14676
14677 2003-02-06 Jason Molenda (jason-cl@molenda.com)
14678
14679 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14680 why the code is written that way.
14681
14682 2003-02-05 Michael Chastain <mec@shout.net>
14683
14684 * gdb.base/dump.exp: Add missing copyright line.
14685
14686 2003-02-05 Jason Molenda (jason-cl@molenda.com)
14687
14688 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
14689 at the beginning so the breakpoint doesn't get set on the loop.
14690
14691 2003-02-05 Michael Chastain <mec@shout.net>
14692
14693 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14694 output for configurations with gcc 2.95.3.
14695
14696 2003-02-05 Keith Seitz <keiths@redhat.com>
14697 Andrew Cagney <ac131313@redhat.com>
14698
14699 * gdb.mi/mi-cli.exp: New file.
14700
14701 2003-02-04 Michael Chastain <mec@shout.net>
14702
14703 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14704 Call perror and then continue.
14705
14706 2003-02-03 Michael Chastain <mec@shout.net>
14707
14708 * gdb.c++/pr-1023.cc: New file.
14709 * gdb.c++/pr-1023.exp: New file.
14710
14711 2003-02-05 Jim Blandy <jimb@redhat.com>
14712
14713 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14714 it's local to foobar. Check for it there, and check that it's not
14715 present in main.
14716 * gdb.c++/local.cc (marker2): New function.
14717 (foobar): Call marker1.
14718 (main): Call marker2 instead of marker1.
14719
14720 2003-02-04 Andrew Cagney <ac131313@redhat.com>
14721
14722 * gdb.disasm/mn10200.exp: Obsolete file.
14723 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14724 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14725 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14726
14727 2003-02-04 David Carlton <carlton@math.stanford.edu>
14728
14729 * gdb.c++/overload.exp: Test intToChar(1).
14730 * gdb.c++/overload.cc (intToChar): New.
14731 (main): Call intToChar.
14732
14733 2003-02-03 David Carlton <carlton@math.stanford.edu>
14734
14735 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14736 'might_kfail' arg.
14737 KFAIL some of the continue_to_bp_overloaded calls, according to
14738 PR c++/1025.
14739
14740 2003-02-01 Michael Chastain <mec@shout.net>
14741
14742 * gdb.base/advance.c (marker1): New marker function.
14743 * gdb.base/advance.exp: When the 'advance' command lands on the
14744 return breakpoint, it can legitimately stop on either the
14745 current line or the next line. Accommodate both outcomes.
14746 * gdb.base/until.exp: Likewise.
14747
14748 2003-02-02 Andrew Cagney <ac131313@redhat.com>
14749
14750 2002-11-10 Jason Molenda (jason-cl@molenda.com):
14751 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14752 now a list, not a tuple.
14753 * gdb.mi/mi-var-display.exp: Ditto.
14754 * gdb.mi/gdb792.exp: Ditto.
14755
14756 2003-02-01 Andrew Cagney <ac131313@redhat.com>
14757
14758 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
14759 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14760 stack backtraces.
14761 * gdb.mi/mi-syn-frame.c: Part of same.
14762
14763 2003-02-01 Mark Kettenis <kettenis@gnu.org>
14764
14765 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14766 gdb.mi/mi1-pthreads.exp: Return instead of calling
14767 gdb_suppress_entire_file.
14768
14769 2003-02-01 Mark Salter <msalter@redhat.com>
14770
14771 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14772
14773 2003-01-31 Mark Salter <msalter@redhat.com>
14774
14775 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14776 Support empty arg.
14777
14778 2003-01-30 Michael Chastain <mec@shout.net>
14779
14780 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14781 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14782 has been fixed in gdb/readline on 2003-01-09.
14783
14784 2003-01-29 Michael Snyder <msnyder@redhat.com>
14785
14786 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14787 * gdb.base/display.exp: Allow for leading underscore in symbol.
14788 * gdb.base/args.exp: Skip if target does not support args passing.
14789
14790 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
14791
14792 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
14793 gdb_test. Accept a list of expect arguments as the third
14794 parameter.
14795 (gdb_test): Use it.
14796
14797 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
14798
14799 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14800 allow for different test tree configurations. Update some
14801 tescases accordingly.
14802 * gdb.arch/altivec-regs.exp: Ditto.
14803 * gdb.asm/asm-source.exp: Ditto.
14804 * gdb.base/advance.exp: Ditto.
14805 * gdb.base/display.exp: Ditto.
14806 * gdb.base/long_long.exp: Ditto.
14807 * gdb.base/mips_pro.exp: Ditto.
14808 * gdb.base/overlays.exp: Ditto.
14809 * gdb.base/relocate.exp: Ditto.
14810 * gdb.base/setshow.exp: Ditto.
14811 * gdb.base/step-line.exp: Ditto.
14812 * gdb.base/step-test.exp: Ditto.
14813 * gdb.base/until.exp: Ditto.
14814 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14815
14816 2003-01-17 David Carlton <carlton@math.stanford.edu>
14817
14818 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14819 corresponding to PR c++/945.
14820 Update copyright.
14821
14822 2003-01-17 David Carlton <carlton@math.stanford.edu>
14823
14824 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14825 corresponding to PR c++/68.
14826
14827 2003-01-17 David Carlton <carlton@math.stanford.edu>
14828
14829 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14830 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14831 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14832
14833 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14834
14835 * gdb.base/break.exp: Fix change of default location, because of
14836 removal of until tests.
14837 * gdb.base/help.exp: Update test for new 'until' help message.
14838 Add test for help on 'advance'.
14839 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
14840
14841 2003-01-15 Mark Kettenis <kettenis@gnu.org>
14842
14843 * gdb.base/default.exp: Adapt "info float" test for recent changes
14844 to that command. Add test for "info vector".
14845 * gdb.base/float.exp: New file. Add test for "info float" that
14846 resembles the old test in gdb.base/default.exp.
14847
14848 2003-01-15 David Carlton <carlton@math.stanford.edu>
14849
14850 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14851
14852 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14853
14854 * gdb.base/break.exp: Move the tests of until command from here...
14855 * gdb.base/until.exp: ... to here. New file. Add other tests.
14856 * gdb.base/advance.c: New file.
14857 * gdb.base/advance.exp: New file.
14858
14859 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14860
14861 * gdb.base/args.c: New file.
14862 * gdb.base/args.exp: New file.
14863
14864 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14865
14866 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14867
14868 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14869
14870 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14871
14872 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14873
14874 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14875 dates.
14876
14877 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14878
14879 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14880
14881 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14882
14883 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14884 (ptype &*"foo").
14885 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14886
14887 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14888
14889 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14890 * gdb.mi/mi1-console.exp: Likewise.
14891
14892 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14893
14894 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14895 * gdb.mi/mi1-console.exp: Likewise.
14896
14897 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14898
14899 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14900
14901 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14902
14903 * gdb.base/detach.exp: New test.
14904
14905 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14906
14907 * Makefile.in (ALL_SUBDIRS): New variable.
14908 (subdirs, clean, distclean): Use it.
14909 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14910 regenerating Makefile, since it is generated from the top level.
14911 * gdb.asm/Makefile.in: Likewise.
14912 * gdb.base/Makefile.in: Likewise.
14913 * gdb.c++/Makefile.in: Likewise.
14914 * gdb.disasm/Makefile.in: Likewise.
14915 * gdb.java/Makefile.in: Likewise.
14916 * gdb.mi/Makefile.in: Likewise.
14917 * gdb.threads/Makefile.in: Likewise.
14918 * gdb.trace/Makefile.in: Likewise.
14919
14920 2003-01-09 David Carlton <carlton@math.stanford.edu>
14921
14922 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14923 Add copyright year 2003.
14924
14925 2003-01-06 Michael Chastain <mec@shout.net>
14926
14927 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14928 When selecting a thread, 'line' and 'file' are optional.
14929 * gdb.mi/mi1-pthreads.exp: Likewise.
14930
14931 2003-01-06 Andreas Schwab <schwab@suse.de>
14932
14933 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14934 failures.
14935
14936 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14937
14938 Fix PR gdb/844
14939 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14940 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14941
14942 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14943 instead of calling gdb_suppress_entire_file.
14944 * gdb.threads/print-threads.exp: Likewise.
14945 * gdb.threads/schedlock.exp: Likewise.
14946
14947 * gdb.threads/killed.exp: Return instead of calling
14948 gdb_suppress_entire_file.
14949 * gdb.threads/linux-dp.exp: Likewise.
14950 * gdb.threads/pthreads.exp: Likewise.
14951
14952 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14953
14954 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14955 stabs.
14956 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14957 * gdb.base/whatis.exp: Always allow (void) after function names.
14958
14959 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14960
14961 * gdb.c++/casts.exp: Correct regexp.
14962
14963 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14964
14965 * configure.in: Call AC_CONFIG_HEADER. Don't call
14966 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14967 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14968 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14969 aforementioned directories in the AC_OUPUT call.
14970 * config.hin: New file.
14971 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14972 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14973 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14974 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14975 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14976 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14977 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14978 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14979 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14980 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14981 gdb.threads/configure.in, gdb.threads/configure,
14982 gdb.threads/config.in, gdb.trace/configure.in,
14983 gdb.trace/configure: Removed.
14984
14985 2003-01-03 Michael Chastain <mec@shout.net>
14986
14987 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14988 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14989
14990 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14991
14992 * gdb.base/store.exp: Fix regular expressions.
14993
14994 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14995
14996 * configure.in: Rewrite.
14997 * configure: Regenerated.
14998
14999 2003-01-03 David Carlton <carlton@math.stanford.edu>
15000
15001 * gdb.base/psymtab.exp: New file.
15002 * gdb.base/psymtab1.c: Ditto.
15003 * gdb.base/psymtab2.c: Ditto.
15004
15005 2002-12-23 Adam Fedor <fedor@gnu.org>
15006
15007 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15008
15009 2002-12-23 David Carlton <carlton@math.stanford.edu>
15010
15011 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15012 and current_directory initialization.
15013
15014 2002-12-22 Jim Blandy <jimb@redhat.com>
15015
15016 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15017 rather than as part of the output file name.
15018
15019 * gdb.base/attach.exp: There's no need to copy the test program to
15020 /tmp; that was only ever necessary on HP/UX, and this test is
15021 entirely disabled there anyway.
15022
15023 2002-12-21 Jim Blandy <jimb@redhat.com>
15024
15025 * gdb.c++/psmang.exp: Doc fix.
15026
15027 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15028 test.
15029
15030 2002-12-20 David Carlton <carlton@math.stanford.edu>
15031
15032 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15033
15034 2002-12-18 Michael Chastain <mec@shout.net>
15035
15036 * gdb.c++/annota2.exp: Add copyright year 2002.
15037
15038 2002-12-17 David Carlton <carlton@math.stanford.edu>
15039
15040 * gdb.c++/try_catch.cc: Add marker comments.
15041 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15042 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15043 * gdb.c++/m-static.cc: Ditto.
15044 * gdb.c++/m-static1.cc: Ditto.
15045 * gdb.c++/try_catch.cc: Ditto.
15046
15047 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15048
15049 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15050 to see whether we are using the new -environment-directory
15051 command which resets via -r or the old version of the command
15052 which may prompt the user. Part of fix for gdb/741.
15053
15054 2002-12-13 Andrew Cagney <ac131313@redhat.com>
15055
15056 * gdb.fortran/types.exp: Update obsolete comment.
15057 * gdb.fortran/exprs.exp: Ditto.
15058 * lib/gdb.exp: Delete obsolete code.
15059 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15060 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15061 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15062 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15063 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15064 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15065 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15066 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15067 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15068 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15069 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15070 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15071 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15072 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15073 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15074 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15075 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15076 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15077 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15078 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15079 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15080 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15081 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15082 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15083 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15084 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15085 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15086 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15087 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15088 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15089 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15090 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15091 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15092 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15093 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15094 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15095 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15096
15097 2002-12-11 David Carlton <carlton@math.stanford.edu>
15098
15099 * gdb.c++/m-data.exp: Add test for members that shadow global
15100 variables: see PR gdb/804.
15101 * gdb.c++/m-data.cc: Ditto.
15102
15103 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
15104
15105 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15106
15107 2002-12-06 David Carlton <carlton@math.stanford.edu>
15108
15109 * gdb.base/store.c: Don't declare functions static.
15110
15111 2002-12-04 Andrew Cagney <ac131313@redhat.com>
15112
15113 * gdb.base/store.exp, gdb.base/store.c: New files.
15114
15115 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15116
15117 * gdb.base/selftest.exp: Update for current gdb.
15118
15119 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15120
15121 * gdb.base/maint.exp: Only dump symbols from one source file
15122 or objfile.
15123
15124 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15125
15126 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15127 function call.
15128
15129 2002-11-25 Jim Blandy <jimb@redhat.com>
15130
15131 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15132 function appearing in error message.
15133
15134 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
15135
15136 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15137
15138 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15139
15140 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15141 for mi1 and current mi is in correct format. New mi startup message
15142 should be in mi console format. This is part of fix for PR gdb/604.
15143
15144 2002-09-18 Fernando Nasser <fnasser@redhat.com>
15145
15146 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15147 which explicitly prints the zero offset as "+0".
15148
15149 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
15150
15151 * gdb.threads/schedlock.c (args): Make unsigned.
15152
15153 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
15154
15155 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15156 numbers. Allow "foo2|selected stack frame".
15157 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15158 * gdb.asm/asmsrc2.s: Likewise.
15159 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15160 comments.
15161 * gdb.asm/mips.inc: New file.
15162
15163 2002-10-18 Adam Fedor <fedor@gnu.org>
15164
15165 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15166 * gdb.base/help.exp: Likewise.
15167
15168 2002-10-17 Kevin Buettner <kevinb@redhat.com>
15169
15170 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15171 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15172
15173 2002-10-02 Jim Blandy <jimb@redhat.com>
15174
15175 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15176
15177 2002-10-01 Andrew Cagney <ac131313@redhat.com>
15178
15179 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15180 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15181 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15182 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15183 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15184 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15185 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15186
15187 2002-09-29 Andrew Cagney <ac131313@redhat.com>
15188
15189 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15190 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15191 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15192 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15193 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15194 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15195 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
15196
15197 2002-09-27 Kevin Buettner <kevinb@redhat.com>
15198
15199 * gdb.base/annota1.exp (info break): Make directory components of
15200 path optional since not all compilers emit this debug information.
15201
15202 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15203 step ends up stepping out of the function instead of stopping on
15204 the epilogue.
15205
15206 2002-09-26 Keith Seitz <keiths@redhat.com>
15207
15208 * lib/insight-support.exp (gdbtk_start): Figure out where
15209 the insight executable is based on where gdb is. Use this
15210 executable to start insight instead of gdb.
15211
15212 2002-09-25 Andrew Cagney <cagney@redhat.com>
15213
15214 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15215
15216 2002-09-24 Andrew Cagney <ac131313@redhat.com>
15217
15218 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15219 test_isolated_complaints.
15220 (test_empty_complaint): New function.
15221 (test_empty_complaints): New function. Check no output when no
15222 complaints.
15223
15224 2002-09-19 Jim Blandy <jimb@redhat.com>
15225
15226 * gdb.base/charset.exp, gdb.base/charset.c: New files.
15227
15228 2002-09-19 Andrew Cagney <ac131313@redhat.com>
15229
15230 * gdb.gdb/complaints.exp: New file.
15231
15232 2002-09-18 Andrew Cagney <ac131313@redhat.com>
15233
15234 * gdb.base/maint.exp: Check `help maint internal-warning'.
15235
15236 2002-09-18 David Carlton <carlton@math.stanford.edu>
15237
15238 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15239 numbers, and replace them by a single breakpoint after the
15240 constructors are all finished.
15241 Add test 4.
15242 * gdb.c++/m-static.cc: Add test 4.
15243 * gdb.c++/m-static.h: New file.
15244 * gdb.c++/m-static1.cc: New file.
15245
15246 * gdb.c++/printmethod.exp: New file.
15247 * gdb.c++/printmethod.cc: New file.
15248
15249 * gdb.c++/pr-574.exp: New file.
15250 * gdb.c++/pr-574.cc: New file.
15251
15252 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15253
15254 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15255 embedded targets which never actually exit.
15256
15257 2002-09-18 Fernando Nasser <fnasser@redhat.com>
15258
15259 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15260 "don't step after run" as unresolved or unsupported, instead of xfail.
15261
15262 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15263
15264 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15265 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15266 Add newline to expected string in "step out of main (status wrapper)"
15267 case.
15268
15269 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15270
15271 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15272 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15273
15274 2002-09-17 Tom Tromey <tromey@redhat.com>
15275
15276 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15277 \000, not \0, in double-quoted string.
15278
15279 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
15280
15281 * gdb.base/commands.exp: Don't expect a "Program exited normally"
15282 string after running the commands execution on breakpoint tests.
15283
15284 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
15285
15286 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15287
15288 2002-09-12 Joel Brobecker <brobecker@gnat.com>
15289
15290 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15291
15292 2002-09-10 Keith Seitz <keiths@redhat.com>
15293
15294 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15295 runto proc.
15296 (mi_run_to_main): Use mi_runto.
15297 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15298
15299 2002-09-10 Keith Seitz <keiths@redhat.com>
15300
15301 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15302 regexp for stopping at main. Could have multiple event notifications.
15303 Don't assume that main was declared with no parameters.
15304 (mi_next): Use mi_step_to.
15305 (mi_step): Use mi_next_to.
15306
15307 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
15308
15309 * gdb.base/default.exp: Fix expected string in `info float' test.
15310
15311 2002-09-09 Ben Elliston <bje@redhat.com>
15312
15313 * config/mips.exp: Update comments.
15314 * config/mips-idt.exp: Likewise.
15315 * config/nind.exp: Likewise.
15316 * config/slite.exp: Likewise.
15317 * config/sparclet.exp: Likewise.
15318 * config/udi.exp: Likewise.
15319 * config/vx.exp: Likewise.
15320 * config/vxworks29k.exp: Likewise.
15321
15322 2002-09-05 Jim Blandy <jimb@redhat.com>
15323
15324 * gdb.threads/killed.exp: Fix test failure message.
15325
15326 2002-09-04 Keith Seitz <keiths@redhat.com>
15327
15328 * lib/mi-support.exp: Update copyright.
15329 (mi_gdb_test): Increase the priority of the expected pattern
15330 so that it matches gdb_test.
15331
15332 2002-09-03 Keith Seitz <keiths@redhat.com>
15333
15334 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15335 Use integer comparison instead of string comparison for testing
15336 whether binary was built.
15337
15338 2002-09-03 Jim Blandy <jimb@redhat.com>
15339
15340 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15341
15342 2002-08-29 Jim Blandy <jimb@redhat.com>
15343
15344 * gdb.threads/pthreads.exp: Move the portable thread compilation
15345 code into a function in lib/gdb.exp, and call that from here.
15346 * lib/gdb.exp (gdb_compile_pthreads): New function.
15347
15348 2002-08-29 Keith Seitz <keiths@redhat.com>
15349
15350 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15351 expect_out so that callers can get at it.
15352
15353 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
15354
15355 * gdb.threads/print-threads.c: New file.
15356 * gdb.threads/print-threads.exp: New file.
15357 * gdb.threads/schedlock.c: New file.
15358 * gdb.threads/schedlock.exp: New file.
15359
15360 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
15361
15362 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15363 not altivec.c.
15364
15365 2002-08-17 Mark Kettenis <kettenis@gnu.org>
15366
15367 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15368 targets. The problem should be fixed now.
15369
15370 2002-08-15 Mark Kettenis <kettenis@gnu.org>
15371
15372 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15373 2002-07-24 change that removes final dots from error messages.
15374
15375 2002-08-13 Tom Tromey <tromey@redhat.com>
15376
15377 * gdb.base/readline.exp: New file.
15378
15379 2002-08-01 Andrew Cagney <ac131313@redhat.com>
15380
15381 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15382 supress message.
15383
15384 2002-08-01 Andrew Cagney <cagney@redhat.com>
15385
15386 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15387 CHILL_FOR_TARGET and CHILL_LIB.
15388 * configure.in (configdirs): Remove gdb.chill.
15389 * configure: Regenerate.
15390 * lib/gdb.exp: Obsolete references to chill.
15391 * gdb.fortran/types.exp: Ditto.
15392 * gdb.fortran/exprs.exp: Ditto.
15393
15394 2002-07-30 Kevin Buettner <kevinb@redhat.com>
15395
15396 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15397 set Irix-specific compile and link flags.
15398
15399 2002-07-29 Kevin Buettner <kevinb@redhat.com>
15400
15401 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15402 source files. The ``-o'' option doesn't work with the ``-E'' option
15403 when using the Irix compiler.
15404
15405 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
15406
15407 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15408 Improve support for reusing an exec file. Copy exec file
15409 to target, and run gdbserver on the target instead of on the host.
15410
15411 2002-07-18 Jim Blandy <jimb@redhat.com>
15412
15413 * gdb.base/ending-run.exp: Don't expect to see the program end in
15414 some orderly fashion when we're running on a real stand-alone
15415 board.
15416
15417 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15418 targets that don't support interrupts.
15419
15420 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15421
15422 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15423 systems.
15424 Move comments in expect statements to inside the actions, so that they
15425 don't get matched against.
15426
15427 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15428
15429 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15430 function when asleep" test.
15431
15432 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15433
15434 * gdb.base/page.exp: Rewrite to handle problems with very long
15435 `info set' output. Update copyright.
15436
15437 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15438
15439 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15440 gdb.threads-hp.
15441 * gdb.hp/configure: Regenerate.
15442 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15443 * gdb.hp/gdb.threads-hp/configure: Delete file.
15444 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15445
15446 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15447
15448 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15449 setlocale, bindtextdomain and textdomain.
15450
15451 2002-06-11 Jim Blandy <jimb@redhat.com>
15452
15453 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15454 preprocessor macro information is present.
15455
15456 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15457 tests.
15458
15459 2002-06-06 Michael Snyder <msnyder@redhat.com>
15460
15461 * gdb.base/overlays.exp: Record addresses of overlay
15462 functions in TCL variables rather than in GDB variables,
15463 to avoid having GDB convert them to pointers (with loss
15464 of information).
15465
15466 * gdb.base/d10v.ld: Merge in several years worth of
15467 default linker script changes.
15468 * gdb.base/long_long.exp: Add check for sizeof (long double).
15469
15470 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15471
15472 * gdb.asm/asm-source.exp: Add x86-64 target.
15473 * gdb.asm/x86_64.inc: New.
15474
15475 2002-05-30 Michael Chastain <mec@shout.net>
15476
15477 From Benjamin Kosnik <bkoz@redhat.com>:
15478 * gdb.c++/m-static.cc: New file.
15479 * gdb.c++/m-static.exp: New file.
15480
15481 2002-05-28 Michael Snyder <msnyder@redhat.com>
15482
15483 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15484 precision.
15485
15486 2002-05-27 Michael Chastain <mec@shout.net>
15487
15488 From Benjamin Kosnik <bkoz@redhat.com>:
15489 * gdb.c++/m-data.cc: New file.
15490 * gdb.c++/m-data.exp: New file.
15491
15492 2002-05-27 Michael Chastain <mec@shout.net>
15493
15494 From Benjamin Kosnik <bkoz@redhat.com>:
15495 * gdb.c++/try_catch.cc: New file.
15496 * gdb.c++/try_catch.exp: New file.
15497
15498 2002-05-27 Michael Chastain <mec@shout.net>
15499
15500 * gdb.c++/local.exp: Accept more nested types in output.
15501
15502 2002-05-26 Michael Chastain <mec@shout.net>
15503
15504 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15505
15506 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15507
15508 * lib/gdb.exp (gdb_wrapper_init): Just because
15509 gdb_wrapper_file exists, this does not mean that the file
15510 should not be rebuilt. That is what gdb_wrapper_initialized
15511 is for.
15512 (default_gdb_init): Reset gdb_wrapper_initialized.
15513
15514 2002-05-23 Michael Snyder <msnyder@redhat.com>
15515
15516 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15517 the precision of the floating point test results.
15518 * gdb.base/call-rt-st.exp: Ditto.
15519
15520 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15521 * gdb.base/call-rt-st.exp: Ditto.
15522
15523 2002-05-19 Michael Chastain <mec@shout.net>
15524
15525 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15526
15527 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15528
15529 * configure.in (configdirs): Add gdb.arch.
15530 * configure: Regenerate.
15531
15532 2002-05-17 Jim Blandy <jimb@redhat.com>
15533
15534 * gdb.base/completion.exp: Recognize the more detailed error
15535 messages produced by the macro expander's lexical analyzer.
15536
15537 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15538
15539 * gdb.arch/altivec-abi.c: New file.
15540 * gdb.arch/altivec-abi.exp: New file.
15541 * gdb.arch/altivec-regs.c: New file.
15542 * gdb.arch/altivec-regs.exp: New file.
15543
15544 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15545
15546 * gdb.base/maint.exp (maint print type): Update for new type
15547 structure.
15548
15549 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15550
15551 * gdb.arch: New directory.
15552 * gdb.arch/configure.in: New file.
15553 * gdb.arch/configure: New file.
15554 * gdb.arch/Makefile.in: New file.
15555
15556 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15557
15558 * gdb.asm/asm-source.exp: Add v850 as supported target.
15559 * gdb.asm/v850.inc: New file.
15560
15561 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15562
15563 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15564
15565 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15566
15567 * gdb.base/break.exp: Check 'break "marker2"'.
15568
15569 2002-05-10 Michael Snyder <msnyder@redhat.com>
15570
15571 * gdb.base/long_long.exp: Fix typo.
15572
15573 2002-05-10 Jim Blandy <jimb@redhat.com>
15574
15575 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15576 a bug.
15577
15578 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15579 Recognize more detailed error message produced by the macro
15580 expander's lexical analyzer.
15581 * lib/gdb.exp (test_print_reject): Same.
15582
15583 2002-05-09 Mark Kettenis <kettenis@gnu.org>
15584
15585 * gdb.c++/method.exp: Fix typo.
15586
15587 2002-05-08 Michael Snyder <msnyder@redhat.com>
15588
15589 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15590 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15591 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15592 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15593 Add iftarget clause for strongarm.
15594
15595 2002-05-06 Michael Snyder <msnyder@redhat.com>
15596
15597 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15598 (gdb_continue_to_end): Accept output from status wrapper.
15599 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15600 Clean up fail messages to match pass messages.
15601
15602 Enable the "needs_status_wrapper" testsuite feature.
15603 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15604 (gdb_compile): Conditionally call gdb_wrapper_init.
15605 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15606 * gdb.c++/method.exp: Recognize output from status wrapper.
15607
15608 2002-05-06 Ben Elliston <bje@redhat.com>
15609 From Graydon Hoare <graydon@redhat.com>
15610
15611 * config/sid.exp: Include support for "rawsid" protocol.
15612
15613 2002-05-03 Jim Blandy <jimb@redhat.com>
15614
15615 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15616 * gdb.c++/hang3.C: New file.
15617
15618 2002-05-04 Andrew Cagney <ac131313@redhat.com>
15619
15620 * gdb.base/default.exp: Remove obsolete code.
15621 * gdb.c++/misc.exp: Ditto. Update copyright.
15622 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15623 * gdb.base/whatis.exp: Ditto. Update copyright.
15624 * gdb.base/scope.exp: Ditto. Update copyright.
15625 * gdb.base/ptype.exp: Ditto. Update copyright.
15626 * gdb.base/printcmds.exp: Ditto. Update copyright.
15627 * gdb.base/opaque.exp: Ditto. Update copyright.
15628 * gdb.base/list.exp: Ditto.
15629 * gdb.base/funcargs.exp: Ditto. Update copyright.
15630 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15631 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15632 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15633 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15634 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15635 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15636
15637 2002-05-02 Michael Snyder <msnyder@redhat.com>
15638
15639 * gdb.base/watchpoint.exp: Add xscale target.
15640 * gdb.base/long_long.exp: Add xscale target.
15641 * gdb.base/default.exp: Add xscale target.
15642
15643 2002-05-01 Jim Blandy <jimb@redhat.com>
15644
15645 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15646 gdb.c++/hang.exp: New test.
15647
15648 2002-05-01 Fred Fish <fnf@redhat.com>
15649
15650 * gdb.base/completion.exp: Handle completions of "./Make" for
15651 more than one completion possibility, as is the case when we
15652 build and test in the source tree.
15653
15654 2002-04-29 Anthony Green <green@redhat.com>
15655
15656 * gdb.java/jmisc1.exp: New file.
15657 * gdb.java/jmisc2.exp: New file.
15658
15659 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
15660
15661 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15662
15663 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
15664
15665 * gdb.base/help.exp: Change 'help status' to allow for target
15666 dependent output differences.
15667
15668 2002-04-22 Michael Chastain <mec@shout.net>
15669
15670 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15671
15672 2002-04-22 Michael Chastain <mec@shout.net>
15673
15674 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15675
15676 2002-04-17 David S. Miller <davem@redhat.com>
15677
15678 * gdb.asm/sparc64.inc: New file.
15679 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15680
15681 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
15682
15683 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15684 instruction file directly into the build tree. Clean up at end of
15685 test.
15686
15687 2002-04-18 David S. Miller <davem@redhat.com>
15688
15689 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15690 handle 64-bit platforms correctly.
15691 * gdb.base/maint.exp: Likewise.
15692
15693 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15694
15695 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15696 ``-fpic'' when compiling files comprising a shared library, but
15697 it does need additional linker flags in order to find shared
15698 libraries at run time.
15699
15700 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15701
15702 * gdb.base/cvexpr.c (use): New function.
15703 (main): Invoke use() on all global variables to prevent
15704 some linkers from deleting these otherwise unused symbols.
15705
15706 2002-04-17 Michael Chastain <mec@shout.net>
15707 From David S. Miller <davem@redhat.com>
15708
15709 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15710 handle 64-bit platforms correctly.
15711
15712 2002-04-12 Michael Snyder <msnyder@redhat.com>
15713 From Jim Blandy <jimb@redhat.com>
15714 * gdb.base/foo.c (foox): Remove section attribute; the linker
15715 script can handle this instead.
15716 * gdb.base/bar.c (barx): Same.
15717 * gdb.base/baz.c (bazx): Same.
15718 * gdb.base/grbx.c (grbxx): Same.
15719
15720 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15721 manager doesn't automatically unmap overlays unnecessarily.
15722
15723 2002-04-10 Martin M. Hunt <hunt@redhat.com>
15724
15725 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15726 stepping out of main.
15727
15728 2002-04-09 Michael Chastain <mec@shout.net>
15729
15730 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15731 scope so that the nested scope tests will make sense.
15732 * gdb.c++/local.exp: Write patterns that actually work with gcc
15733 (the HP patterns "were never known to work with gcc").
15734 Keep the old aCC patterns too.
15735
15736 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
15737
15738 * gdb.base/attach.exp: Correct target board test.
15739
15740 2002-04-08 Michael Chastain <mec@shout.net>
15741
15742 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15743 in a const method. Add some xfail and fail cases for configurations
15744 that do not emit the "const ...".
15745
15746 2002-04-07 Michael Chastain <mec@shout.net>
15747
15748 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15749 Accept "A * const" and "const A * const" as type of "this".
15750 Fix spelling of getFunky throughout. Make messages uniform.
15751
15752 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15753
15754 Work around for PR gdb/285:
15755 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15756
15757 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15758
15759 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15760 instructions file at run time instead of configure time.
15761 Sometimes we run the test in a directory that is not the one we
15762 configured in.
15763 * gdb.asm/configure.in: Delete creation of symlink.
15764 * gdb.asm/configure: Regenerate.
15765
15766 2002-04-05 J. Brobecker <brobecker@gnat.com>
15767
15768 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15769 xfullpath () function.
15770
15771 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15772
15773 * gdb.asm/Makefile.in: Correct dependencies.
15774
15775 * gdb.asm/powerpc.inc: New file.
15776 * gdb.asm/asm-source.exp: Add PowerPC.
15777 * gdb.asm/configure.in: Likewise.
15778 * gdb.asm/configure: Regenerated.
15779
15780 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15781
15782 * gdb.base/relocate.exp: New file.
15783 * gdb.base/relocate.c: New file.
15784
15785 2002-04-04 Fred Fish <fnf@redhat.com>
15786
15787 * gdb.base/step-test.exp: Update comment regarding stopping in
15788 memcpy/bcopy calls inserted as part of the compiler runtime.
15789
15790 2002-04-04 Michael Snyder <msnyder@redhat.com>
15791
15792 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15793
15794 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
15795
15796 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15797 (gdb_expect): Remove $notransfer hack.
15798
15799 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
15800
15801 * gdb.c++/classes.exp ("calling method for small class"): Match
15802 updated register output.
15803
15804 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15805
15806 Fix PR gdb/452
15807 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15808 when finished. Make gdb_file_cmd send "exec-file" when
15809 appropriate.
15810
15811 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15812
15813 * gdb.base/attach.exp: Remove extra setup_xfail.
15814
15815 2002-03-26 Michael Snyder <msnyder@redhat.com>
15816
15817 * gdb.base/default.exp: Add tests for dump, append, and restore.
15818 * gdb.base/help.exp: Add tests for dump, append, and restore.
15819 * gdb.base/dump.exp: New file, test dump, append and restore.
15820 * gdb.base/dump.c: New file.
15821
15822 2002-03-27 Michael Snyder <msnyder@redhat.com>
15823
15824 * gdb.base/help.exp: Modify expect strings to reflect
15825 clean-ups in help messages.
15826
15827 2002-03-26 Fred Fish <fnf@redhat.com>
15828
15829 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15830 have debugging info for those functions and the compiler uses them
15831 internally to copy structs around.
15832
15833 2002-03-26 Fred Fish <fnf@redhat.com>
15834
15835 * gdb.base/list.exp: Revert the change made yesterday and add note
15836 about why we don't list the default lines for remote targets.
15837
15838 2002-03-25 Michael Snyder <msnyder@redhat.com>
15839
15840 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15841
15842 2002-03-25 Fred Fish <fnf@redhat.com>
15843
15844 * gdb.base/list.exp: This test works on remote targets so remove
15845 the short circuit for remote targets. Update copyright.
15846
15847 2002-03-25 Fred Fish <fnf@redhat.com>
15848
15849 * gdb.base/attach.exp: Fix logic error that was suppressing this
15850 test for all non hppa*-*-hpux* targets, instead of the hp target.
15851 Move comments closer to the suppression point. Also now need to
15852 check that we are running natively.
15853
15854 2002-03-22 Michael Snyder <msnyder@redhat.com>
15855
15856 * gdb.base/default.exp: Add test for gcore. Update copyright.
15857 * gdb.base/help.exp: Add test for gcore. Update copyright.
15858
15859 2002-03-06 Fred Fish <fnf@redhat.com>
15860
15861 * gdb.base/funcargs.c: Remove extraneous ';' character.
15862 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15863
15864 2002-03-04 Michael Chastain <mec@shout.net>
15865
15866 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15867 accommodate gcc v3 function signature.
15868 * gdb.mi/mi0-var-cmd-exp: Ditto.
15869
15870 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15871
15872 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15873 ``GNU/Linux'' or ``Linux kernel''
15874 * testsuite/gdb.threads/pthreads.c: Ditto.
15875
15876 2002-02-24 Michael Chastain <mec@shout.net>
15877
15878 * gdb.threads/pthreads.c (thread1): Add a return statement.
15879 (thread2): Likewise.
15880 (foo): Likewise.
15881
15882 2002-02-23 Michael Chastain <mec@shout.net>
15883
15884 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15885 to placate gcc.
15886
15887 2002-02-23 Michael Chastain <mec@shout.net>
15888
15889 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15890 test "ptype bint". The test passes on all my stabs configurations.
15891
15892 2002-02-21 Jim Blandy <jimb@redhat.com>
15893
15894 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15895 filename at a time, and watch for the ones we want to see.
15896
15897 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15898 types of pointers to prototyped functions.
15899
15900 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15901
15902 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15903 signed, unsigned and straight char.
15904 (padding_char, padding_short, padding_int, padding_long,
15905 padding_long_long, padding_float, padding_double,
15906 padding_long_double): New global variables.
15907 (fill, fill_structs): New functions.
15908
15909 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15910 for correctly sized writes. Update copyright.
15911 (get_valueof): New procedure.
15912 (get_sizeof): Call get_valueof.
15913 (check_valueof): New procedure.
15914 (check_padding): New procedure.
15915
15916 2002-02-20 Michael Chastain <mec@shout.net>
15917
15918 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15919 to setup_xfail. Document some of the remaining calls.
15920
15921 2002-02-18 Michael Chastain <mec@shout.net>
15922
15923 * gdb.c++/userdef.exp: Update copyright year.
15924
15925 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15926
15927 * gdb.c++/userdef.exp: Test overloaded operators properly.
15928 Remove xfails.
15929
15930 2002-02-14 Michael Snyder <msnyder@redhat.com>
15931
15932 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15933
15934 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15935
15936 * gdb.base/a2-run.exp: Check for a remote target properly.
15937 * gdb.base/annota1.exp: Likewise.
15938 * gdb.base/list.exp: Likewise.
15939 * gdb.base/reread.exp: Likewise.
15940 * gdb.base/scope.exp: Likewise.
15941 * gdb.base/shlib-call.exp: Likewise.
15942 * gdb.base/term.exp: Likewise.
15943 * gdb.c++/annota2.exp: Likewise.
15944
15945 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15946
15947 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15948
15949 2002-02-10 Michael Chastain <mec@shout.net>
15950
15951 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15952 (call_after_alloca): Ditto.
15953
15954 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15955
15956 * gdb.base/ending-run.exp: Guard "cont" test with
15957 gdb_skip_stdio_test.
15958
15959 2002-02-06 Jim Blandy <jimb@redhat.com>
15960
15961 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15962 from here...
15963 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15964 To here. Disable this test on non-HP platforms. Add big comment.
15965
15966 2002-02-04 Michael Snyder <msnyder@redhat.com>
15967
15968 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15969 other than d10v and m32r.
15970
15971 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15972
15973 * gdb.base/default.exp: Rewrite test patterns to reduce time
15974 taken to match them.
15975
15976 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15977
15978 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15979 Allow a start function above main.
15980 * gdb.threads/linux-dp.exp: Fix copyright date.
15981
15982 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15983
15984 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15985 (check_philosopher_stack): Check for manager thread before checking
15986 for a just-starting thread.
15987
15988 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15989
15990 From Neil Booth <neil@daikokuya.demon.co.uk>:
15991 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15992 warnings.
15993
15994 2002-01-21 Fred Fish <fnf@redhat.com>
15995
15996 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15997 not caller.
15998
15999 2002-01-21 Jim Blandy <jimb@redhat.com>
16000
16001 * gdb.base/reread.exp: Check that GDB properly re-reads the
16002 executable file when it changes while no inferior is running.
16003
16004 2002-01-21 Fred Fish <fnf@redhat.com>
16005
16006 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16007 optionally accept the "shlib events" variation.
16008
16009 2002-01-21 Jim Blandy <jimb@redhat.com>
16010
16011 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16012 call `fflush' after every `printf', so that the output is produced
16013 at predictable points, regardless of whatever buffering does (or
16014 doesn't) take place.
16015 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16016 at different points.
16017
16018 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
16019
16020 * gdb.c++/inherit.exp: Update copyright years.
16021 * gdb.c++/method.exp: Likewise.
16022
16023 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
16024
16025 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16026 artificial methods/arguments.
16027 * gdb.c++/derivation.exp: Likewise.
16028 * gdb.c++/inherit.exp: Likewise.
16029 * gdb.c++/method.exp: Likewise.
16030 * gdb.c++/virtfunc.exp: Likewise.
16031
16032 2002-01-18 Andrew Cagney <ac131313@redhat.com>
16033
16034 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16035 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16036 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16037 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16038 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16039 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16040
16041 2002-01-17 Jim Blandy <jimb@redhat.com>
16042
16043 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16044 anchoring the pattern matching the entry point symbol's name.
16045
16046 2002-01-17 Andrew Cagney <ac131313@redhat.com>
16047
16048 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16049 continue/quit query. Update copyright.
16050
16051 2002-01-14 Michael Snyder <msnyder@redhat.com>
16052
16053 * gdb.base/gcore.exp: Remove extra debugging output.
16054
16055 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
16056
16057 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16058 for slightly dubious v2 mangled string.
16059
16060 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
16061
16062 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16063
16064 2002-01-10 Jason Merrill <jason@redhat.com>
16065
16066 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
16067
16068 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16069 constructors.
16070 * gdb.c++/derivation.exp: Likewise.
16071 * gdb.c++/templates.exp: Likewise.
16072 * gdb.c++/virtfunc.exp: Likewise.
16073
16074 2002-01-10 Michael Snyder <msnyder@redhat.com>
16075
16076 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
16077
16078 2002-01-08 Michael Snyder <msnyder@redhat.com>
16079
16080 * gdb.base/gcore.exp: New test for generate-core-file command.
16081 * gdb.base/gcore.c: Testcase for above.
16082 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16083
16084 2002-01-08 Jason Merrill <jason@redhat.com>
16085
16086 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16087
16088 2002-01-07 Fred Fish <fnf@redhat.com>
16089
16090 * gdb.c++/overload.exp: Remove unconditional xfails for:
16091 print foo_instance1.overloadargs(1)
16092 print foo_instance1.overloadargs(1, 2)
16093 print foo_instance1.overloadargs(1, 2, 3)
16094 print foo_instance1.overloadargs(1, 2, 3, 4)
16095 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16096 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16097 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16098 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16099 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16100 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16101 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16102 print foo_instance1.overload1arg()
16103 print foo_instance1.overload1arg((char)arg2)
16104 print foo_instance1.overload1arg((signed char)arg3)
16105 print foo_instance1.overload1arg((unsigned char)arg4)
16106 print foo_instance1.overload1arg((int)arg7)
16107 print foo_instance1.overload1arg((unsigned int)arg8)
16108 print foo_instance1.overload1arg((float)arg11)
16109 print foo_instance1.overload1arg((double)arg12)
16110
16111 2002-01-07 Michael Snyder <msnyder@redhat.com>
16112
16113 * gdb.base/huge.exp: New test. Print a very large target data object.
16114 (skip_huge_test): New test variable. Define if you want to skip this
16115 test. The test reads an 8 megabyte data object from the target, so it
16116 might be very time consuming on remote targets with a slow connection.
16117 * gdb.base/huge.c: New file. Test case for above.
16118
16119 2002-01-07 Fred Fish <fnf@redhat.com>
16120
16121 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16122 g_instance.bfoo, and g_instance.cfoo.
16123
16124 2002-01-07 Jeffrey A Law <law@redhat.com>
16125
16126 * gdb.base/break.c (multi_line_if_conditional): New function.
16127 (multi_ilne_while_conditional): Likewise.
16128 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16129 IF or WHILE condition puts the breakpoint at the start of
16130 the condition.
16131
16132 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16133 hppa*-*-hpux* expected failure.
16134 * gdb.base/structs.exp (do_function_calls): Similarly.
16135
16136 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16137 watchpoints.
16138
16139 2002-01-06 Andrew Cagney <ac131313@redhat.com>
16140
16141 Fix PR gdb/66.
16142 * gdb.base/structs.exp: Replace skip for a29k with skip for
16143 gdb,cannot_call_functions.
16144 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16145 * gdb.base/callfuncs.exp: Ditto.
16146 * gdb.base/call-rt-st.exp: Ditto.
16147 * gdb.base/call-strs.exp: Ditto.
16148 * gdb.base/callfwmall.exp: Ditto.
16149 * gdb.base/scope.exp: Obsolete xfail a29k.
16150 * gdb.c++/misc.exp: Ditto.
16151 * gdb.c++/cplusfuncs.exp: Ditto.
16152 * gdb.base/ptype.exp: Ditto.
16153 * gdb.base/printcmds.exp: Ditto.
16154 * gdb.base/opaque.exp: Ditto.
16155 * gdb.base/list.exp: Ditto.
16156 * gdb.base/funcargs.exp: Ditto.
16157 * gdb.base/default.exp: Ditto.
16158
16159 2002-01-04 Michael Snyder <msnyder@redhat.com>
16160
16161 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
16162 * gdb.base/maint.exp: Add tests for maint info sections options.
16163
16164 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16165
16166 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16167
16168 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
16169
16170 * gdb.asm/arm.inc: New file.
16171 * gdb.asm/asm-source.exp: Add arm targets.
16172 * gdb.asm/configure.in: Ditto.
16173 * gdb.asm/configure: Recreated from configure.in.
16174
16175 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16176
16177 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16178 with HP's compiler.
16179 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16180 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16181 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16182 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16183
16184 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16185 either HP's compilers or GCC.
16186
16187 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16188 a SIGBUS or SIGSEGV.
16189
16190 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16191
16192 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16193 can be compiled with either HP's compiler or GCC.
16194
16195 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16196 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16197 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16198
16199 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16200 to match current gdb output. Update due to using auto-solib-limit
16201 for limiting instead of overloading auto-solib-add.
16202 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16203 test program.
16204
16205 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
16206 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16207 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16208 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16209 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16210 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16211 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16212 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16213 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16214 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16215 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16216 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16217 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
16218
16219 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16220 a SIGTRAP to the inferior.
16221
16222 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
16223
16224 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16225 Substitute call to target_link by call to gdb_compile.
16226
16227 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16228
16229 * gdb.base/break.exp: Fix HP specific search string when testing
16230 backtracing in a called function.
16231
16232 * gdb.base/constvars.exp: Only set lang to C++ if we're
16233 compiling the test with HP's compilers.
16234 * gdb.base/volatile.exp: Similarly.
16235
16236 2001-12-19 Jim Blandy <jimb@redhat.com>
16237
16238 * gdb.base/printcmds.exp: Expect the null character to be printed
16239 as '\0', and the '\013' to be printed as '\v'.
16240 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16241 * gdb.base/setvar.exp: Same.
16242
16243 2001-12-17 Jim Blandy <jimb@redhat.com>
16244
16245 * gdb.base/completion.exp: Rather than completing very long
16246 filenames, which can make the readline library produce output we
16247 don't recognize, cd to the directory first, and then complete
16248 using nice, short relative paths.
16249
16250 * gdb.base/completion.exp: On some systems, there is, in fact, a
16251 variable named `b' in scope, since GDB treats all static
16252 variables as being in scope. So use `no_var_named_this'
16253 instead of `b'.
16254
16255 * gdb.base/corefile.exp: Recognize the message saying that GDB
16256 can't find the core file's registers as a failure.
16257
16258 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16259
16260 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16261 test expect string more specific.
16262
16263 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
16264
16265 * gdb.asm/asm-source.exp: Add support for xstormy16.
16266 * gdb.asm/configure.in: Ditto.
16267 * gdb.asm/configure: Rebuild.
16268 * gdb.asm/xstormy16.inc: New file.
16269
16270 2001-12-10 Fred Fish <fnf@redhat.com>
16271
16272 * gdb.base/maint.exp: Update to match changes in type dumping code.
16273
16274 2001-12-10 Jim Blandy <jimb@redhat.com>
16275
16276 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
16277 matching the entry point symbol's name at the beginning of the
16278 line.
16279
16280 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16281
16282 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16283 gdb.c++/inherit.exp, gdb.c++/method.exp,
16284 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16285 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16286 and class layout support.
16287
16288 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16289
16290 * gdb.c++/classes.exp: Add test for static member function.
16291 * gdb.c++/misc.cc: Add class with static member function.
16292
16293 2001-12-07 Jim Blandy <jimb@redhat.com>
16294
16295 If GDB says it can't find the struct the function returned, report
16296 those tests as `unsupported'.
16297 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16298 Rewrite subsequent tests to use it.
16299
16300 If GDB says it can't find the struct the function returned, report
16301 those tests as `unsupported'.
16302 * gdb.base/structs.exp (call_struct_func): New function.
16303 (do_function_calls): Use call_struct_func to call the functions
16304 returning structs.
16305
16306 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16307 whether functions are prototyped or not, so we can't possibly pass
16308 arguments to t_float_values2 properly.
16309
16310 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16311 value of `timeout' for targets other than the mips*tx39-*.
16312
16313 2001-12-06 Michael Snyder <msnyder@redhat.com>
16314
16315 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
16316 and detect whether the start symbol has a leading underscore.
16317
16318 2001-12-04 Jim Blandy <jimb@redhat.com>
16319
16320 * gdb.base/completion.exp: Clarify indentation.
16321
16322 2001-12-03 Jim Blandy <jimb@redhat.com>
16323
16324 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16325 variables on the S/390, not `.word'.
16326
16327 2001-11-30 Jim Blandy <jimb@redhat.com>
16328
16329 Add assembly-source tests for s390-ibm-linux.
16330 * gdb.asm/s390.inc: New file.
16331 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16332 the S/390 architecture.
16333 * gdb.asm/configure: Regenerated.
16334
16335 2001-11-30 Michael Snyder <msnyder@redhat.com>
16336
16337 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16338 next, info source, info sources, info line, global and static
16339 variables, and static functions.
16340 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16341 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16342 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16343 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16344 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16345 (gdbasm_leave): Restore frame pointer.
16346 (gdbasm_startup): Copy stack set-up from crt0.S.
16347
16348 2001-11-26 Fernando Nasser <fnasser@redhat.com>
16349
16350 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16351 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16352 to a local (non-static) variable. Copy tstruct.a to a static buffer
16353 and return a pointer to that buffer.
16354 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16355
16356 2001-11-24 Mark Kettenis <kettenis@gnu.org>
16357
16358 * gdb.asm/configure.in: Fix recognition of ix86 target.
16359 * gdb.asm/configure: Regenerate.
16360
16361 2001-11-21 Michael Snyder <msnyder@redhat.com>
16362
16363 * gdb.asm/sparc.inc: New file.
16364 * gdb.asm/asm-source.exp: Recognize sparc target.
16365 * gdb.asm/configure.in: Recognize sparc target.
16366 * gdb.asm/configure: Regenerate.
16367
16368 2001-11-21 Michael Snyder <msnyder@redhat.com>
16369
16370 * gdb.asm/m32r.inc: New file.
16371 * gdb.asm/asm-source.exp: Recognize m32r target.
16372 * gdb.asm/configure.in: Recognize m32r target.
16373 * gdb.asm/configure: Regenerate.
16374
16375 2001-11-20 Michael Snyder <msnyder@redhat.com>
16376
16377 * gdb.asm/i386.inc: New file.
16378 * gdb.asm/asm-source.exp: Recognize ix86 target.
16379 * gdb.asm/configure.in: Recognize ix86 target.
16380 * gdb.asm/configure: Regenerate.
16381
16382 * gdb.c++/namespace.exp: Fix quotes in output messages.
16383
16384 2001-11-14 Michael Snyder <msnyder@redhat.com>
16385
16386 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16387 qualifier in a type cast expression, to designate an address
16388 in the instruction space (Harvard architecture).
16389
16390 2001-11-13 Michael Snyder <msnyder@redhat.com>
16391
16392 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16393 Tests for expressions using 'const' and 'volatile'.
16394
16395 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
16396
16397 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16398
16399 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
16400
16401 * lib/mi-support.exp (mi_run_to_helper): Move comments
16402 outside of gdb_expect.
16403
16404 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
16405
16406 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16407 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16408 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16409 mi0_run_to): New functions.
16410 * gdb.mi/mi-simplerun.exp: Use them.
16411 * gdb.mi/mi0-simplerun.exp: Likewise.
16412 * gdb.mi/mi-var-cmd.exp: Likewise.
16413 * gdb.mi/mi0-var-cmd.exp: Likewise.
16414
16415 2001-11-10 Andrew Cagney <ac131313@redhat.com>
16416
16417 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16418 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16419
16420 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16421
16422 * gdb.base/restore.exp: Include $expected value in restored test
16423 message.
16424
16425 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16426
16427 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16428 implemented.
16429
16430 2001-11-08 Michael Snyder <msnyder@redhat.com>
16431
16432 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16433 Add pass/fail message for stop at breakpoint in call dummy function.
16434
16435 2001-11-07 Michael Snyder <msnyder@redhat.com>
16436
16437 * gdb.c++/templates.exp (test_template_breakpoints):
16438 If we get an overload menu, but it does not match what
16439 we expect, we still need to issue the "cancel" command.
16440 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16441 making the whitespace optional. Argument for "new" may be
16442 "unsigned" as well as "unsigned int/long".
16443 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16444 making the whitespace optional. Also replace "(void) with
16445 "((void|)), making the keyword "void" optional.
16446 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16447 making the whitespace optional. Also replace "(void) with
16448 "((void|)), making the keyword "void" optional.
16449 * gdb.base/callfuncs.c (t_float_values): This function must
16450 _not_ be prototyped, and the following function (t_float_values2)
16451 must be prototyped (if the compiler supports it), so that GDB
16452 can be tested against both cases. Usually one case involves
16453 promotion of float to double, while the other does not.
16454 * gdb.base/callfwmall.c: Ditto.
16455 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16456 includes a stack frame for "start".
16457
16458 2001-11-05 Jim Blandy <jimb@redhat.com>
16459
16460 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16461 pointers are 32 bits long, and that offsets of relocs are always
16462 stored in the data (REL-style), and not in the reloc entry itself
16463 (RELA-style).
16464 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16465 stabs.
16466
16467 2001-11-01 Michael Snyder <msnyder@redhat.com>
16468
16469 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16470 and regular expression operators by using quoting.
16471
16472 2001-10-31 Michael Snyder <msnyder@redhat.com>
16473
16474 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16475 depending on what the symbol table contains.
16476 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16477 the output of the ptype command. Similarly, accept both "const &"
16478 and "const&".
16479
16480 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16481
16482 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16483 symbol `STORAGE' to allow to choose the storage class of
16484 the local datastructures.
16485 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16486 compiler directive.
16487
16488 2001-10-30 Michael Snyder <msnyder@redhat.com>
16489
16490 * gdb.base/jump.exp: Allow it to run for all targets.
16491
16492 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16493
16494 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16495 with new double_array size.
16496 (main): Change storage class of all local variables to static.
16497 Reduce size of double_array to 9.
16498 * gdb.base/call-ar-st.exp: Increase timeout value.
16499 Change expected output for double array to match new size in
16500 call-ar-st.c.
16501
16502 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16503
16504 * gdb.base/ending-run.exp: Create identical output when passing
16505 `step to end of run' case. Add regular expression branch satisfying
16506 Stormy16 target.
16507
16508 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16509
16510 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16511 that we catch the expected failure under Linux/x86.
16512
16513 2001-10-29 Orjan Friberg <orjanf@axis.com>
16514
16515 * gdb.base/setvar.exp: Escape curly braces.
16516 * gdb.stabs/weird.exp: Ditto.
16517
16518 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16519
16520 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16521 * gdm.mi/mi0-hack-cli.exp: Likewise.
16522
16523 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16524
16525 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16526 messages.
16527
16528 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16529
16530 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16531 checking MI enabled.
16532
16533 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16534
16535 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16536
16537 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16538
16539 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16540 if gdb child process crashes, just signal an error.
16541
16542 2001-10-02 Jim Blandy <jimb@redhat.com>
16543
16544 * lib/gdb.exp (test_xfail_format): Simplify.
16545
16546 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16547 front of the variable name `format'. Simplify `if'.
16548
16549 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16550
16551 * gdb.threads/pthreads.exp: Wait for output and delay
16552 before sending ^C.
16553
16554 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16555
16556 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16557 some incorrect output instead of timing out.
16558 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16559
16560 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16561
16562 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16563 check to allow additional `int'.
16564
16565 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16566
16567 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16568 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16569
16570 2001-09-27 Michael Snyder <msnyder@redhat.com>
16571
16572 * lib/gdb.exp (test_debug_format): New proc.
16573 (setup_xfail_format): Use new proc test_debug_format.
16574 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16575 proc; use new service proc test_debug_format.
16576 Replace all other "gcc_compiled" tests with this test.
16577 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16578 proc; use new service proc test_debug_format.
16579 Replace all other "gcc_compiled" tests with this test.
16580
16581 2001-09-27 Michael Snyder <msnyder@redhat.com>
16582
16583 * gdb.base/cvexpr.exp: New file.
16584 * gdb.base/cvexpr.c: New file
16585 Test for expressions using const and volatile keywords.
16586
16587 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
16588
16589 * gdb.base/constvars.exp: Check for different orders of keywords
16590 and additional "int" strings in output.
16591
16592 2001-09-22 Andrew Cagney <ac131313@redhat.com>
16593
16594 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16595 responses from "help maint".
16596
16597 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
16598
16599 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16600 to localhost:NNN instead of :NNN, in case Xvfb is listening
16601 only on TCP.
16602
16603 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
16604
16605 * gdb.base/recurse.exp: When checking leaving the watchpoint
16606 scope, recognize when gdb is in function's epilogue and pass.
16607
16608 2001-09-18 Keith Seitz <keiths@redhat.com>
16609
16610 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16611 support for running tests against sid targets.
16612 (gdbtk_done): Ditto.
16613
16614 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
16615
16616 * gdb.base/ending-run.c (main): Set stdout buffersize
16617 to the same reasonable value for any target.
16618 * gdb.base/ending-run.exp: Add a regular expression
16619 to make testsuite happy on Sanyo Stormy16 target.
16620
16621 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
16622
16623 * gdb.base/display.c (do_loops): Add float variable `f'.
16624 Increment f in loop.
16625 * gdb.base/display.exp: Increment timeout by 60 seconds.
16626 Change float display test to use variable `f'.
16627
16628 2001-09-17 Jim Blandy <jimb@redhat.com>
16629
16630 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16631 overflowing the limited breakpoint tables on some ROM monitors
16632 (like the ROM68K).
16633
16634 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
16635
16636 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16637 the "-ac" (disable access control) flag.
16638
16639 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
16640
16641 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16642 ints.
16643
16644 2001-08-30 Keith Seitz <keiths@redhat.com>
16645
16646 * lib/gdb.exp: Move all insight-related functionality into
16647 separate file.
16648 * lib/insight-support.exp: New file.
16649
16650 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
16651
16652 * config/sid.exp (sid_start): Never set sid verbosity; disable
16653 expect_background {} that consumed its stdout; tolerate </dev/null.
16654 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16655
16656 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16657
16658 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16659 CLI jump command to start it.
16660 (mi_run_to_main): Fail immediatly when unexpected output.
16661
16662 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16663
16664 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16665 beginning of function. Fix PR gdb/191.
16666
16667 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
16668
16669 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16670 what to force sid endianness to.
16671
16672 2001-08-15 Keith Seitz <keiths@redhat.com>
16673
16674 * lib/gdb.exp (gdbtk_start): Don't set environment
16675 variables for TCL_LIBRARY and friends. Insight will
16676 now figure these out for itself.
16677
16678 2001-08-02 Michael Snyder <msnyder@redhat.com>
16679
16680 * gdb.base/completion.exp: Remove the symbol "a64l" from
16681 the expect string; this is target-specific, and not related
16682 to what is being tested.
16683
16684 2001-08-02 Dave Brolley <brolley@redhat.com>
16685
16686 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16687
16688 2001-07-25 Michael Snyder <msnyder@redhat.com>
16689
16690 * gdb.base/consecutive.exp: New file. Test stepping over
16691 breakpoints on consecutive instructions.
16692 * gdb.base/consecutive.c: New file.
16693
16694 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16695 curly braces in regular expressions.
16696
16697 2001-07-25 Michael Snyder <msnyder@redhat.com>
16698
16699 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16700 legitimate output from stepping out of main.
16701
16702 2001-07-22 Keith Seitz <keiths@redhat.com>
16703
16704 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16705 the empty string, do not run the tests.
16706
16707 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16708
16709 * gdb.base/long_long.exp: Detect size of pointer. Take into
16710 account 2-byte pointers when testing for p/a results.
16711
16712 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16713
16714 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
16715 and defined to 1K for m68hc11.
16716 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16717 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16718 (sizeof_random_data): New variable to tell the size of the data table;
16719 don't test past this size; always run to main.
16720
16721 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16722
16723 * gdb.base/return2.exp: return of long long and double fails for
16724 68HC11; don't execute these tests on that platform.
16725 * gdb.base/return.exp: Return of a double fails for 68hc11.
16726
16727 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16728
16729 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16730 tests that print a float.
16731 * call-rt-st.exp: Likewise.
16732
16733 2001-07-12 Mark Kettenis <kettenis@gnu.org>
16734
16735 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16736 running this test on Linux.
16737
16738 2001-06-24 Michael Chastain <chastain@redhat.com>
16739
16740 * gdb.base/arithmet.exp: Remove some tests to make all test names
16741 unique.
16742
16743 2001-07-03 Michael Snyder <msnyder@redhat.com>
16744
16745 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16746 the output of the ptype command.
16747
16748 2001-07-02 Michael Snyder <msnyder@redhat.com>
16749
16750 * gdb.base/completion.exp: Don't assume that break.c is the only
16751 source file that may contain functions named "marker".
16752 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16753
16754 2001-06-28 Andrew Cagney <ac131313@redhat.com>
16755
16756 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16757 of files to delete.
16758
16759 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16760 * gdb.disasm/h8300s.exp: New file.
16761 gdb.disasm/h8300s.s: Likewise.
16762
16763 2001-06-27 Andrew Cagney <ac131313@redhat.com>
16764
16765 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16766 empty breakpoint tables.
16767
16768 2001-06-25 Andrew Cagney <ac131313@redhat.com>
16769
16770 * lib/mi-support.exp: Update args=... part of stop-reason
16771 patterns. Accept either a list or a tuple.
16772
16773 2001-06-23 Andrew Cagney <ac131313@redhat.com>
16774
16775 * lib/mi-support.exp: Remove local emacs variable defining
16776 change-log-default-name.
16777
16778 2001-06-22 Michael Chastain <chastain@redhat.com>
16779
16780 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16781 This is operationally compatible with the previous version.
16782
16783 2001-06-13 Jim Blandy <jimb@redhat.com>
16784
16785 * lib/gdb.exp (gdb_test): Doc fix.
16786
16787 2001-06-10 Michael Chastain <chastain@redhat.com>
16788
16789 * gdb.base/exprs.exp: Remove a duplicate test.
16790
16791 2001-06-06 Jim Blandy <jimb@redhat.com>
16792
16793 * gdb.base/return2.exp (main): Use values to test float and double
16794 returns that are not NaN's, to avoid being confused by IEEE
16795 comparison rules.
16796
16797 2001-06-04 Michael Snyder <msnyder@redhat.com>
16798
16799 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
16800 non-zero if control_c fails. Terminate the test on failure,
16801 rather than wait for 12 more tests to time out.
16802
16803 2001-06-06 Jim Blandy <jimb@redhat.com>
16804
16805 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
16806 Don't forget to match the GDB prompt.
16807
16808 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16809
16810 2001-06-04 Jim Blandy <jimb@redhat.com>
16811
16812 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16813 command.
16814
16815 2001-05-31 Kevin Buettner <kevinb@redhat.com>
16816
16817 * gdb.base/annota1.exp (info break): Match four or more spaces
16818 after "Address".
16819
16820 2001-05-31 Michael Chastain <chastain@redhat.com>
16821
16822 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16823 (dm_type_int_star): Likewise.
16824 (dm_type_long_star): Likewise.
16825 (dm_type_void_star): Likewise.
16826
16827 2001-05-29 Kevin Buettner <kevinb@redhat.com>
16828
16829 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16830 to a known value in order to get consistent results regardless
16831 of the setting of INPUTRC or the presence or contents of .inputrc.
16832
16833 2001-05-24 Michael Snyder <msnyder@redhat.com>
16834
16835 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16836 Don't require that the main thread and the manager thread are the
16837 first in the list.
16838
16839 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16840 debugging. If test fails, issue an "unsupported" not a "fail".
16841
16842 2001-05-24 Jim Blandy <jimb@redhat.com>
16843
16844 Don't assume that short is shorter than int.
16845 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16846 assume that shorts are smaller than ints. On a 16-bit machine,
16847 this isn't true.
16848 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16849 an int, is not equal to ~0 stored in an unsigned char. This tests
16850 the same thing that the previous test meant to, but works on
16851 16-bit machines, too.
16852 ("print unsigned char != (~0)"): Same test, complemented.
16853
16854 2001-05-24 Michael Snyder <msnyder@redhat.com>
16855
16856 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16857 test for (full_coverage == 0). This makes the test run faster,
16858 and prevents dejagnu getting out of step.
16859
16860 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16861
16862 * gdb.base/finish.exp (finish_void): Revise pattern for
16863 stopping on the call statement to not permit stopping at
16864 the start of the instructions comprising the call sequence.
16865
16866 2001-05-19 Michael Chastain <chastain@redhat.com>
16867
16868 * gdb.base/callfuncs.exp: Make all test names unique.
16869 * gdb.base/commands.exp: Make all test names unique.
16870 * gdb.base/condbreak.exp: Make all test names unique.
16871 * gdb.base/dbx.exp: Make all test names unique.
16872 * gdb.base/default.exp: Make all test names unique.
16873 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16874 and TIMEOUT messages to their corresponding PASS message.
16875 * gdb.base/ending-run.exp: Make all test names unique.
16876 * gdb.base/long_long.exp: Remove duplicate test.
16877
16878 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16879
16880 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16881 stop on the call statement as well as the statement after the
16882 call.
16883
16884 2001-05-21 Michael Snyder <msnyder@redhat.com>
16885
16886 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16887
16888 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16889
16890 * gdb.base/completion.exp: Revamp test. Make it execute on all
16891 platforms.
16892
16893 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16894
16895 * config/gdbserver.exp (gdb_load): Handle the case
16896 in which the arguments to gdbserver are given in the
16897 baseboard configuration file.
16898 Also handle the case in which the server needs to do a
16899 load.
16900
16901 2001-05-07 Keith Seitz <keiths@cygnus.com>
16902
16903 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16904 set up the display for testing.
16905 (gdbtk_start): Convert all paths to paths that tcl will like.
16906 Export target information to environment.
16907 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16908 necessary.
16909 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16910 (to_tcl_path): New proc to convert a given pathname into
16911 a path acceptible as an argument to a tcl command.
16912 (_gdbtk_export_target_info): New proc to export target info
16913 into the environment for gdbtk testing.
16914 (gdbtk_done): New proc to signal end-of-test.
16915
16916 2001-05-06 Jim Blandy <jimb@redhat.com>
16917
16918 * restore.c: Make the code of caller0 correspond to its comment.
16919
16920 2001-05-03 Michael Snyder <msnyder@redhat.com>
16921
16922 * config/sid.exp (gdb_target_sid): Check for error messages.
16923 On error or timeout, don't make expect exit (which will terminate
16924 all subsequent tests); instead just make gdb exit.
16925 (gdb_load): Check for error messages. On error or timeout,
16926 return a negative value.
16927
16928 2001-04-24 Jim Blandy <jimb@redhat.com>
16929
16930 * gdb.c++/templates.exp: If we see the prompt for the overload
16931 list, but we haven't recognized any of the longer patterns,
16932 arrange for this test to fail, not hang.
16933
16934 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16935 variations.
16936
16937 2001-04-22 Michael Chastain <chastain@redhat.com>
16938
16939 * gdb.c++/local.exp: Use the 'runto' library function.
16940 * gdb.c++/namespace.exp: Likewise.
16941 * gdb.c++/overload.exp: Likewise.
16942
16943 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16944
16945 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16946 * gdb.base/step-line.exp: New file. Test step/next in presence of
16947 #line directives.
16948 * gdb.base/step-line.c: New file. Test program for the above.
16949 * gdb.base/step-line.inp: New file. We pretend that this file has
16950 been transformed by some other tool into step-line.c.
16951
16952 2001-03-21 Jim Blandy <jimb@redhat.com>
16953
16954 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16955 unmangled operator names.
16956
16957 2001-03-20 Jim Blandy <jimb@redhat.com>
16958
16959 * gdb.threads/linux-dp.exp: Recognize an additional message
16960 generated by GDB when it doesn't understand how to debug threads
16961 on the target system.
16962
16963 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16964
16965 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16966
16967 2001-03-12 Michael Chastain <chastain@redhat.com>
16968
16969 * gdb.c++/derivation.exp: Use the 'runto' library function.
16970
16971 2001-03-12 Michael Chastain <chastain@redhat.com>
16972
16973 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16974
16975 2001-02-24 Michael Chastain <chastain@redhat.com>
16976
16977 * gdb.c++/ref-types.exp: Change handwritten code to library
16978 function 'runto'.
16979
16980 2001-03-16 Orjan Friberg <orjanf@axis.com>
16981
16982 * gdb.base/signals.exp: Set count to 0 explicitly.
16983
16984 2001-03-15 Mark Salter <msalter@redhat.com>
16985
16986 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16987 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16988 (gdb_load): Add support for additional target_info: gdb_download_size
16989 and gdb_load_timeout.
16990
16991 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16992
16993 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16994 file -- to prevent failing when the compile fails but we have no
16995 intention of running the tests anyway.
16996
16997 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16998 tests if set.
16999
17000 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
17001 integers.
17002
17003 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17004 * gdb.c++/namespace.exp: Ditto.
17005
17006 2001-03-07 Orjan Friberg <orjanf@axis.com>
17007
17008 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17009 * gdb.base/pointers.exp: Relax pattern match of decimals.
17010
17011 2001-03-06 Kevin Buettner <kevinb@redhat.com>
17012
17013 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17014 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17015 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17016 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17017 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17018 config/sh.exp, config/sid.exp, config/slite.exp,
17019 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17020 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17021 config/vxworks.exp, config/vxworks29k.exp,
17022 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17023 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17024 gdb.base/arithmet.exp, gdb.base/assign.exp,
17025 gdb.base/async.exp, gdb.base/attach.exp,
17026 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17027 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17028 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17029 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17030 gdb.base/commands.exp, gdb.base/completion.exp,
17031 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17032 gdb.base/constvars.exp, gdb.base/corefile.exp,
17033 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17034 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17035 gdb.base/ending-run.exp, gdb.base/environ.exp,
17036 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17037 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17038 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17039 gdb.base/funcargs.exp, gdb.base/help.exp,
17040 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17041 gdb.base/logical.exp, gdb.base/long_long.exp,
17042 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17043 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17044 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17045 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17046 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17047 gdb.base/regs.exp, gdb.base/relational.exp,
17048 gdb.base/remote.exp, gdb.base/reread.exp,
17049 gdb.base/restore.exp, gdb.base/return2.exp,
17050 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17051 gdb.base/selftest.exp, gdb.base/setshow.exp,
17052 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17053 gdb.base/sigall.exp, gdb.base/signals.exp,
17054 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17055 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17056 gdb.base/step-test.exp, gdb.base/structs.c,
17057 gdb.base/structs.exp, gdb.base/structs2.exp,
17058 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17059 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17060 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17061 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17062 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17063 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17064 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17065 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17066 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17067 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17068 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17069 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17070 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17071 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17072 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17073 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17074 gdb.trace/circ.exp, gdb.trace/collection.exp,
17075 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17076 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17077 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17078 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17079 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17080 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17081 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17082 notices.
17083
17084 2001-02-27 Michael Snyder <msnyder@cygnus.com>
17085
17086 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17087 first arg is int not float.
17088
17089 2001-02-22 Michael Snyder <msnyder@cygnus.com>
17090
17091 * gdb.base/reread.exp: Unsupported for non-native targets;
17092 doesn't work for remote debugging.
17093
17094 2001-02-19 Fernando Nasser <fnasser@redhat.com>
17095
17096 From Drew Moseley <dmoseley@redhat.com>
17097 * gdb.base/ending-run.exp: Properly handle the BSP state when
17098 stepping past the end of main.
17099
17100 2001-02-19 John Moore <jmoore@redhat.com>
17101
17102 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17103 Converted HPUX fix for non-expected items following multiple
17104 step commands into general solution for all platforms.
17105
17106 2001-02-18 Michael Chastain <chastain@redhat.com>
17107
17108 * gdb.c++/classes.exp (do_tests): Change runto statements
17109 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17110 statements demangler agnostic.
17111 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17112 (gdb_virtfunc_restart): Likewise.
17113
17114 2001-02-14 Michael Chastain <chastain@redhat.com>
17115
17116 * gdb.c++/inherit.exp (do_tests): Change runto statements
17117 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17118 statements demangler agnostic.
17119
17120 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17121
17122 * gdb.threads/pthreads.exp: Unify pass/fail messages for
17123 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17124 before calling common_routine 15 times'' tests.
17125
17126 2001-02-11 Michael Chastain <chastain@redhat.com>
17127
17128 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17129 Helps the test script figure out which demangler is in use.
17130 (dm_type_foo_ref): Ditto.
17131 (dm_type_int_star): Ditto.
17132 (dm_type_long_star): Ditto.
17133 (dm_type_unsigned_int): Ditto.
17134 (dm_type_void): Ditto.
17135 (dm_type_void_star): Ditto.
17136 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
17137 Probe the gdb demangler and set variables to accommodate
17138 formatting differences.
17139 (info_func_regexp): New function. Same as info_func, but
17140 matches against a regexp.
17141 (info_func): Match against a literal string.
17142 (print_addr_2): New function. Match against a literal string,
17143 which can be different from the input to gdb.
17144 (print_addr): Simply call print_addr_2 with the same argument twice.
17145 (test_lookup_operator_functions): Use demangler formatting variables.
17146 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17147 the tests in the same order as the C++ class declaration.
17148 (test_paddr_operator_functions): Ditto.
17149 (test_paddr_overloaded_functions): Ditto.
17150 (test_paddr_hairy_functions): Use demangler formatting variables.
17151 Add reference to gdb/19 for related tests.
17152 (do_tests): Call probe_demangler.
17153
17154 2001-01-30 Kevin Buettner <kevinb@redhat.com>
17155
17156 * gdb.c++/templates.cc (printf): Remove unused function definition.
17157
17158 2001-01-26 Felix Lee <flee@redhat.com>
17159
17160 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17161
17162 2001-01-25 matthew green <mrg@redhat.com>
17163
17164 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17165 up sid.
17166 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17167
17168 2001-01-25 matthew green <mrg@redhat.com>
17169
17170 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
17171 Deprecate $sid_spawn_id.
17172 (sid_exit): Remove code necessary only for `spawn.'
17173
17174 2001-01-25 matthew green <mrg@redhat.com>
17175
17176 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17177
17178 2001-01-28 Michael Chastain <chastain@redhat.com>
17179
17180 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17181 to call when tests fail. It takes gdb out of the overloaded
17182 function choice menu back to the main prompt, so that the test
17183 program stays synchronized.
17184 (set_bp_overloaded): New proc to collect all the common
17185 code for setting a breakpoint on an overloaded name. Calls
17186 take_gdb_out_of_choice_menu when needed.
17187 (menu_overload1arg): New variable to collect the repeated
17188 instances of the expected menu for an overloaded name. Change
17189 the regular expression to handle changes in g++ type encoding:
17190 "void" can be either "void" or "", and "unsigned int" can be
17191 either "unsigned int" or "unsigned".
17192 (continue_to_bp_overloaded): Change regular expressions to handle
17193 changes in g++ type encoding.
17194 (no proc): Call take_gdb_out_of_choice_menu when needed.
17195 Remove redundant calls to "info break". Accept either "canceled"
17196 or "cancelled". Change regular expressions in "info break"
17197 calls to handle changes in g++ type encoding. Give all tests
17198 unique strings.
17199
17200 2001-01-17 Ben Elliston <bje@redhat.com>
17201
17202 * config/sid.exp: New file.
17203
17204 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17205
17206 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17207
17208 2000-12-21 Michael Snyder <msnyder@cygnus.com>
17209
17210 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17211 Add a RE to accept a non-ascii char if one is ever presented.
17212
17213 2000-12-20 Fernando Nasser <fnasser@redhat.com>
17214
17215 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
17216
17217 2000-12-18 Michael Snyder <msnyder@cygnus.com>
17218
17219 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
17220 in regexp. One '\' does not suffice on Linux.
17221
17222 2000-12-09 Michael Chastain <chastain@redhat.com>
17223
17224 * gdb.base/break.exp (test_clear_command): Use a marker function
17225 rather than 'main' for the test function. Also move this
17226 test to an execution point where the marker function names are
17227 guaranteed to be bound to functions. (Executing tests after a
17228 'finish' from main runs into name conflicts with local names
17229 in __libc_start_main).
17230
17231 2000-12-07 Michael Snyder <msnyder@cygnus.com>
17232
17233 * gdb.base/finish.exp: New test for gdb's "finish" command.
17234 * gdb.base/return2.exp: New test for gdb's "return" command.
17235 * gdb.base/return2.c: New source file for above.
17236
17237 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17238
17239 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17240 * gdb.base/miscexprs.exp: Ditto.
17241 * gdb.base/pointers.exp: Ditto.
17242 * gdb.c++/derivation.exp: Ditto.
17243 * gdb.c++/local.exp: Ditto.
17244 * gdb.c++/namespace.exp: Ditto.
17245 * gdb.c++/overload.exp: Ditto.
17246 * gdb.c++/ref-types.exp: Ditto.
17247
17248 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17249
17250 * gdb.base/constvars.exp: Test result of "up" command.
17251 * gdb.base/miscexprs.exp: Ditto.
17252 * gdb.base/pointers.exp: Ditto.
17253 * gdb.base/scope.exp: Ditto.
17254 * gdb.c++/derivation.exp: Ditto.
17255 * gdb.c++/local.exp: Ditto.
17256 * gdb.c++/namespace.exp: Ditto.
17257 * gdb.c++/overload.exp: Ditto.
17258 * gdb.c++/ref-types.exp: Ditto.
17259
17260 2000-11-22 Michael Chastain <chastain@redhat.com>
17261
17262 * mips_pro.exp: Accept either "middle -> top -> main" or
17263 "middle -> main" in the backtrace, because gcc can optimize
17264 tail calls to jumps. Remove setup_xfail for the hppa case.
17265 Add a comment with the original warning messages from PR 3016,
17266 which was filed in 1993, to preserve them for posterity.
17267
17268 2000-11-17 Nick Duffek <nsd@redhat.com>
17269
17270 * lib/gdb.exp (gdb_test): Override timeout with board info.
17271
17272 2000-11-17 Nick Duffek <nsd@redhat.com>
17273
17274 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17275 the second kill and detach messages.
17276
17277 2000-11-17 Nick Duffek <nsd@redhat.com>
17278
17279 * configure.in: Add AC_EXEEXT.
17280 * configure: Regenerate.
17281 * Makefile.in (just-check): Export EXEEXT.
17282 * lib/gdb.exp ($EXEEXT): Import from environment.
17283 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17284 expect "maint dump-me" on Cygwin.
17285 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17286 $EXEEXT.
17287
17288 2000-11-17 Nick Duffek <nsd@redhat.com>
17289
17290 * gdb.base/break.exp: Test backtrace and finish from called
17291 function on all platforms, not just HP-UX.
17292
17293 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17294
17295 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17296 code from gdb_target_monitor, so it can be used independantly
17297 for gdbserver. Also comment out an unnecessary PUTS.
17298
17299 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17300
17301 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17302 * gdb.base/corefile.exp: Expect the message "Program is being
17303 debugged already" when we send the "corefile" command, since
17304 the preceeding gdb_load may have connected gdb to a remote target.
17305 * gdb.base/display.exp: Disable hardware watchpoints if new
17306 board info variable "no_hardware_watchpoints" is true.
17307 Replace single-letter commands with more readable ones.
17308 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17309 if new board info variable "no_hardware_watchpoints" is true.
17310 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17311 to see if stdio (printf) testing is possible.
17312 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17313 board info variable "no_hardware_watchpoints" is true. Use new
17314 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17315
17316 2000-11-13 Fernando Nasser <fnasser@redhat.com>
17317
17318 From Orjan Friberg <orjanf@axis.com>:
17319 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17320 in array print pattern match.
17321
17322 2000-11-09 Fernando Nasser <fnasser@redhat.com>
17323
17324 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17325 spelling "cancelled" to U.S. spelling "canceled" to match changes
17326 made to gdb.
17327 * gdb.c++/ovldbreak.exp: Ditto.
17328
17329 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17330
17331 * gdb.base/callfuncs.c (main): Moved to end of file, call
17332 t_double_values to initialize the FPU before inferior calls are made.
17333 * gdb.base/callfuncs.exp: Test for register preservation after calling
17334 inferior functions. Add tests for continuining, finishing and
17335 returning from a stop in a call dummy.
17336
17337 2000-10-24 Michael Snyder <msnyder@cygnus.com>
17338
17339 * gdb.base/commands.exp: Break up long lines, and re-indent.
17340
17341 2000-10-19 Michael Snyder <msnyder@cygnus.com>
17342
17343 * config/gdbserver.exp: Rewritten from the ground up, to make it
17344 compatible with the current dejagnu tree, and to make it work with
17345 the new "gdbserver" in libremote.
17346
17347 2000-10-16 Michael Snyder <msnyder@cygnus.com>
17348
17349 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17350 * gdb.base/varargs.exp: Skip entire test if no printf support.
17351 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17352 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17353
17354 2000-10-13 Michael Snyder <msnyder@cygnus.com>
17355
17356 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17357 no floating point support.
17358 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17359 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17360 * gdb.base/call-rt-st.exp: Ditto.
17361 * gdb.base/call-strs.exp: Ditto.
17362
17363 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17364
17365 * gdb.base/sizeof.c: include <stdio.h>.
17366
17367 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
17368 'finish', otherwise uncaptured gdb_prompt would potentially
17369 throw remaining test points out of sync.
17370
17371 2000-07-26 Scott Bambrough <scottb@netwinder.org>
17372
17373 * gdb.base/recurse.exp: Run tests for all targets.
17374 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17375 gnu-oldld case on ARM.
17376 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17377 for ARM targets.
17378
17379 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17380
17381 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17382 * gdb.java/configure: Rebuild.
17383
17384 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17385
17386 * gdb.java/jv-exp.exp: New file.
17387
17388 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17389
17390 * configure: Rebuilt.
17391 * configure.in (configdirs): Add gdb.java.
17392 * gdb.java/jmisc.java: New file.
17393 * gdb.java/jmisc.exp: New file.
17394 * gdb.java/Makefile.in: New file.
17395 * gdb.java/configure: Rebuilt.
17396 * gdb.java/configure.in: New file.
17397 * lib/java.exp: New file.
17398
17399 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17400
17401 * gdb.base/exprs.exp: Test casts to a pointer including over and
17402 underflow.
17403
17404 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17405
17406 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17407 and the compilers sizes.
17408
17409 2000-07-09 Nick Duffek <nsd@redhat.com>
17410
17411 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17412 (use_methods): New function.
17413 (main): Call use_methods().
17414 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17415 (do_tests): Call test_method_param_class.
17416
17417 2000-07-09 Nick Duffek <nsd@redhat.com>
17418
17419 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17420 spelling.
17421 (test_enums): New procedure. Move enum tests from end of script
17422 to here. Set breakpoint on function name instead of line number.
17423 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17424 (enums2): New marker function.
17425 (enums1): New function.
17426 (main): Call enums1(). Move enum tests to enums1().
17427
17428 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17429
17430 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17431 compile/link program. Update line numbers.
17432 * gdb.asm/d10v.inc: Define ``startup''.
17433 * gdb.asm/asmsrc1.s: Add definition of _start.
17434
17435 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17436
17437 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17438
17439 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17440
17441 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17442 of 'help maint print' command.
17443
17444 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17445
17446 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17447 they use gdb_expect_list.
17448
17449 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17450
17451 * gdb.base/commands.exp: Use ``set remote
17452 memory-read-packet-size'' instead of ``set endian big'' to test
17453 long commands.
17454
17455 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17456
17457 * gdb.c++/templates.exp (do_tests): Make all of these work under
17458 g++, and stop skipping them.
17459
17460 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17461 work under g++.
17462
17463 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17464 initialization.
17465
17466 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17467
17468 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17469 the regular expression: accept an (almost) arbitrary sequence of
17470 "frames-invalid" and "breakpoints-invalid" messages both before
17471 and after the "starting" message.
17472
17473 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17474
17475 * gdb.c++/local.exp: This test has never been known to work with g++.
17476
17477 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17478
17479 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17480 Relax the regular expression a little, make it pass on Solaris 8.
17481
17482 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17483
17484 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17485 a call, do not require that gdb stop on the line after the call.
17486 Instead, it is permissible for gdb to stop on the line of the
17487 call itself.
17488
17489 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17490
17491 * gdb.base/break.exp (bp on small function, optimized file):
17492 Add a second pass pattern. The behavior differs here between stabs
17493 and dwarf for one-line functions. Stabs preserves two line symbols
17494 (one before the prologue and one after) with the same line number,
17495 but dwarf regards these as duplicates and discards one of them.
17496 Therefore the address after the prologue (where the breakpoint is)
17497 has no exactly matching line symbol, and GDB reports the breakpoint
17498 as if it were in the middle of a line rather than at the beginning.
17499
17500 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17501
17502 * gdb.base/interrupt.exp: Make "pass" message say "send"
17503 rather than "send_gdb" (for consistancy).
17504
17505 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17506
17507 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17508 * gdb.c++/templates.cc: Properly check for GCC version number.
17509 * lib/compiler.cc: Likewise
17510
17511 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17512
17513 * gdb.base/break.exp: When compiled with -O2 optimization,
17514 gdb may not stop at the first line of main, due to code motion.
17515
17516 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17517
17518 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17519 This test depends on parsing the printf output from the target.
17520 Since the sparclet stub doesn't do stdio, this will never work.
17521 * gdb.base/call-rt-st.exp: ditto.
17522 * gdb.base/call-strs: ditto.
17523
17524 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17525
17526 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17527
17528 * gdb.base/ending-run.exp: After connecting to a remote target,
17529 but before running, the target will appear to be in a random
17530 location. Specify both a file and a line for breakpoints.
17531 Also, the function that calls main may be called 'init'
17532 rather than 'start'.
17533
17534 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17535
17536 * gdb.base/help.exp: Update output for add-symbol-file command.
17537
17538 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17539
17540 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17541 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17542
17543 2000-04-07 J.T. Conklin <jtc@redback.com>
17544
17545 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17546
17547 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17548
17549 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17550
17551 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17552 values that can be represented exactly.
17553 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17554 above change, and to not check against the directory part of the source
17555 file name.
17556 (step into print_long_arg_list): Likewise.
17557 (print print_small_structs from print_long_arg_list): Likewise.
17558 (print print_long_arg_list): Likewise.
17559
17560 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17561
17562 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17563
17564 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17565
17566 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17567
17568 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17569
17570 * gdb.base/commands.exp (deprecated_command_test): Add test for
17571 deprecate with no arguments.
17572
17573 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17574
17575 * gdb.base/break.exp: Add new test for setting breakpoints on
17576 optimized code so we can test breakpoints work even when function
17577 prologues may be optimized away
17578
17579 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17580
17581 From David Whedon <dwhedon@gordian.com>
17582 * gdb.base/commands.exp : Added command deprecator tests.
17583
17584 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
17585
17586 * gdb.base/help.exp: Added test for new apropos command.
17587
17588 2000-03-21 Kevin Buettner <kevinb@redhat.com>
17589
17590 * gdb.base/pointers.c (usevar): New function.
17591 (main): Make sure that global variables v_int_pointer2, rptr,
17592 and y are all referenced someplace in the program by calling
17593 usevar() on them. [Some linkers delete symbols which are
17594 never referenced. The space remains, but there's no way to
17595 get a (symbolic) handle on the variable from the debugger.]
17596
17597 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17598
17599 * gdb.base/printcmds.c: Add typedeffed arrays.
17600
17601 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17602 procedure to test arrays that are typedef'd.
17603
17604 2000-03-13 James Ingham <jingham@leda.cygnus.com>
17605
17606 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17607 the library directories.
17608
17609 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17610
17611 * configure.in (configdirs): Add sub directory gdb.mi.
17612 * configure: Re-generate.
17613
17614 * gdb.mi: New directory.
17615
17616 2000-02-25 Scott Bambrough <scottb@netwinder.org>
17617
17618 * gdb.base/long_long.exp: Correct test suite failure when printing
17619 a long long value as a double on ARM platforms.
17620
17621 2000-02-16 Jim Blandy <jimb@redhat.com>
17622
17623 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17624 default source file is set properly before running this test.
17625
17626 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17627
17628 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
17629 gdbtk/library directory, not in gdbtcl2.
17630
17631 2000-02-04 Jim Blandy <jimb@redhat.com>
17632
17633 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17634 backslash from regexp pattern.
17635
17636 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17637 procedure. Use it to run all the "continue to bp overloaded"
17638 tests. Note that this changes the names of the tests slightly.
17639 If the breakpoint hit message includes a hex PC value, because
17640 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17641 from the real source code, still consider that a pass.
17642
17643 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17644 XFAIL here if the breakpoint message contains a hex address. Note
17645 similar change on 1999-11-02.
17646
17647 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17648
17649 * gdb.base/ptype.exp: Establish a default source file before
17650 calling get_debug_format.
17651
17652 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17653
17654 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17655
17656 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17657
17658 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17659 of successive stepi commands -- while in the prologue we should see
17660 the function entry bracket.
17661
17662 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17663
17664 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17665 reach __change_mode() when stepping through the end of main().
17666
17667 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17668
17669 * gdb.base/default.exp: Fix expected pattern.
17670 * gdb.base/help.exp: Same.
17671
17672 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17673
17674 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
17675 Don't use xfail's because that affects only the following test.
17676
17677 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
17678 solaris or linux.
17679
17680 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17681
17682 2000-01-07 Michael Snyder <msnyder@cygnus.com>
17683
17684 * gdb.base/display.exp: Some yacc parsers like to say
17685 "A syntax error" rather than "A parse error". Accept both.
17686
17687 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17688
17689 * gdb.base/default.exp: Remove OS dependent string from "target
17690 remote" test.
17691 * gdb.base/help.exp: Same for "help target remote" test.
17692
17693 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17694
17695 From Jim Kingdon <kingdon@redhat.com>:
17696
17697 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
17698 prompt (cleanup rather than necessity, but still might keep output
17699 from spilling to next test).
17700
17701 2000-01-02 Fred Fish <fnf@cygnus.com>
17702
17703 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17704 AIX, which defines them in <sys/types.h>.
17705
17706 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
17707
17708 * gdb.base/default.exp: Match arm* etc instead of arm in "info
17709 float" test.
17710
17711 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
17712
17713 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
17714
17715 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17716 outermost frame disallowed".
17717
17718 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17719
17720 * gdb.base/setvar.exp: New tests for setting the value of a struct
17721 with a constant list.
17722
17723 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17724
17725 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17726 require the user to type a cast before setting the value of a struct.
17727
17728 1999-12-06 Jim Blandy <jimb@cygnus.com>
17729
17730 * gdb.base/default.exp: Expect the new 'info float' command on
17731 all i386 platforms.
17732
17733 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17734 LinuxThreads libraries that don't support debugging.
17735
17736 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17737
17738 * gdb.base/remote.c: Fill the buffer with truely random data.
17739 Change the buffer type to ``unsigned char'' to simplify size
17740 arithmetic.
17741
17742 * gdb.base/remote.exp: Reduce download numbers by one. Typical
17743 stub only handles 400-1 byte packets. Verify that the download
17744 worked.
17745
17746 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17747
17748 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17749 tests, using UNRESOLVED for the untested cases. Also, does not wait
17750 for a timeout if the prompt was received before a recognizable pattern.
17751
17752 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17753
17754 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17755
17756 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17757
17758 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
17759 watchpoints.
17760
17761 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
17762
17763 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17764
17765 * gdb.c++/local.exp: Be more flexible in recognizing local class
17766 name mangling. Don't allow horribly truncated method names.
17767 * gdb.c++/derivation.exp: Expect protected inheritance.
17768 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17769 * gdb.c++/virtfunc.exp: Likewise.
17770 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17771 when printing a nested enum.
17772
17773 1999-11-22 Jim Blandy <jimb@cygnus.com>
17774
17775 * gdb.base/step-test.exp: Properly await GDB's response to setting
17776 a breakpoint on the call to large_struct_by_value.
17777
17778 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17779 just because we have debug info for the `start' function.
17780
17781 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17782
17783 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17784 "Unknown signal" messages, which indicate (on LinuxThreads) that
17785 GDB doesn't know how to debug threads on this system. This is
17786 better than hanging while philosopher 0 dumps chatter into gdb.log.
17787
17788 1999-11-18 Tom Tromey <tromey@cygnus.com>
17789
17790 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17791
17792 1999-11-18 Fred Fish <fnf@cygnus.com>
17793
17794 * gdb.base/coremaker2.c: Add sample program for generating
17795 cores that is more self contained than coremaker.c. Eventually
17796 I'll add more code to this and tie it into the testsuite.
17797
17798 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17799
17800 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17801
17802 1999-11-10 Jimmy Guo <guo@cup.hp.com>
17803
17804 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
17805 from $srcdir/lib/.
17806 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
17807 and gdb.c++/.
17808
17809 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17810
17811 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
17812 'continue with watch' test point.
17813
17814 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17815
17816 Merged from p2linux-990323-branch:
17817
17818 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17819
17820 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17821
17822 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
17823 {limit,fixed}''. Test ``set download-write-size''.
17824
17825 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17826
17827 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
17828 gdb_expect_list.
17829
17830 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17831
17832 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17833
17834 1999-11-03 Mark Salter <msalter@cygnus.com>
17835
17836 * gdb.base/break.exp: Fix "stub continue" pattern.
17837
17838 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17839
17840 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17841
17842 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17843
17844 * gdb.base/display.exp ("finish"): Add timeout clause.
17845
17846 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17847 plain prompt clause, so this doesn't have to time out in order to
17848 fail.
17849
17850 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17851 breakpoint hit messages include an address.
17852
17853 * gdb.base/display.exp: Don't forget to escape parens in regular
17854 expressions. Unix regexp notatation sucks.
17855
17856 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17857
17858 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17859 order for 'signalled' message.
17860
17861 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17862
17863 From Jimmy Guo <guo@cup.hp.com>:
17864 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17865 * gdb.base/annota1.c: Add code for tests to work with.
17866
17867 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17868
17869 * gdb.base/remote.exp: New test for remote downloading settings.
17870 * gdb.base/remote.c: New file with large .data.
17871
17872 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17873
17874 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17875 for LinuxThreads support, merged from the Code Fusion branch.
17876
17877 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17878
17879 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17880 containing exp_continue into a while within an expect. Don't
17881 attempt a start more than three times. Check return value from
17882 gdb_load.
17883
17884 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17885
17886 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17887 a pass case.
17888
17889 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17890
17891 * gdb.base/break.c (main): Added a statement that we can step
17892 off of.
17893 * gdb.base/break.exp: Added tests for setting a breakpoint
17894 at an offset and stepping onto a breakpoint.
17895
17896 1999-10-01 Fred Fish <fnf@cygnus.com>
17897
17898 * gdb.base/help.exp (help add-symbol-file): Update to match current
17899 gdb output.
17900
17901 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17902
17903 * gdb.base/break.exp: Code locations are in hex, don't forget!
17904 (For HP-UX.)
17905
17906 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17907
17908 * condbreak.exp: Use break.c as test program.
17909 * condbreak.c: Remove, redundant with break.c.
17910
17911 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17912
17913 * config/monitor.exp (gdb_target_monitor): Disable X- and
17914 Z-packets if the target needs it.
17915
17916 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17917
17918 * gdb.c++/overload.exp: Added tests for listing overloaded
17919 functions with function pointers in the arg, explicitly calling
17920 out the version you want.
17921
17922 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17923
17924 * long_long.exp: Add variations of test cases that work for
17925 targets with 16-bit ints and 32-bit doubles.
17926
17927 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17928
17929 * break.c (main): Compare a possibly-uninitialized argc with an
17930 unlikely value that fits in 16 bits.
17931
17932 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17933
17934 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17935 0xfeeb, don't want negative numbers if ints are 16 bits.
17936
17937 * lib/gdb.exp (skip_cplus_tests): New proc.
17938 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17939 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17940 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17941 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17942 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17943 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17944 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17945 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17946
17947 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17948
17949 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17950
17951 * gdb.base/corefile.exp (up): Allow a parameter to appear
17952 in the frame that we're going up to.
17953
17954 From Jim Blandy <jimb@cygnus.com>:
17955
17956 * gdb.base/default.exp (info float): Expect some output now.
17957
17958 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17959 returning floating-point values to fail on the x86.
17960 * gdb.base/callfwmall.exp (do_function_calls): Same.
17961
17962 * gdb.base/list.exp (test_listsize): Correct expectations for
17963 listing line 1 with listsize 2. Also, listing a single line
17964 works now, as does listing three lines. [Kevin's note: There
17965 were a number of other cases fixed too where the expectations
17966 differed...]
17967
17968 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17969
17970 * gdb.base/selftest.exp: Add case for when version prints as
17971 constant string instead of char pointer.
17972
17973 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17974
17975 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17976 stepping out of main.
17977
17978 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17979 G++ used.
17980
17981 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17982 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17983
17984 * gdb.c++/ovldbreak.exp: Update match string in test that
17985 includes a warning of multiple breakpoints.
17986
17987 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17988
17989 * gdb.base/display.exp: Improve precision of step-after-finish
17990 added yesterday.
17991
17992 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17993 test.
17994
17995 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17996 configs when using G++, not just hppa*.
17997
17998 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17999
18000 * gdb.base/async.c: New file.
18001 * gdb.base/async.exp: New file.
18002
18003 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18004
18005 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18006 PA64.
18007
18008 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18009
18010 * gdb.base/display.exp: "finish" can leave us mid-line on many
18011 targets, deal with it. Add a small constant to main, instead of
18012 1000 since main+1000 may not be a valid address in the target.
18013
18014 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18015 on hpux11.
18016
18017 * gdb.base/attach.exp: Handle another hpux11 error message variant
18018 when attaching to a process that does not exist.
18019
18020 1999-08-19 J.T. Conklin <jtc@redback.com>
18021
18022 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
18023 characters in 'continue to 1241' test.
18024
18025 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18026
18027 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18028 stop in print_long_arg_list, define and use a whitespace
18029 variable in print_small_structs test, add an XFAIL for Solaris.
18030 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18031 interested enough to fix.
18032
18033 1999-08-13 Keith Seitz <keiths@cygnus.com>
18034
18035 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18036 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18037 proc knows about targets other than the natives.
18038 (test_assign): Use "gdb_run_cmd" to "run" the target.
18039 Check that we've actually hit the breakpoint at main.
18040 When we attempt to assign a value to a local variable, check
18041 that the variable is in the current scope, i.e., don't use
18042 a test with an empty result.
18043
18044 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18045
18046 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
18047 command.
18048
18049 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18050
18051 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18052 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18053 gdb.compat, gdb.threads-hp.
18054 gdb.hp/configure, gdb.hp/configure.in: New files.
18055 gdb.hp/Makefile.in: Recurse into new subdirs.
18056 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18057 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18058 in object files.
18059 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18060
18061 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18062
18063 * gdb.base/display.exp: Help expect by putting a newline in the
18064 funky printf, remove a bogus p/a test.
18065
18066 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18067
18068 * gdb.base/display.exp: Make sure that when we say 'run', we are
18069 connected to the target. This is necessary when running not
18070 natively.
18071
18072 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18073
18074 * gdb.base/step-test.exp: Removed some extraneous messages.
18075
18076 * gdb.base/long_long.exp: Don't run memory examination tests
18077 on little-endian targets (they will need a different set of
18078 results to match).
18079
18080 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18081
18082 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18083 until somebody decides to fix GDB.
18084
18085 * gdb.base/long_long.c: Stop compiler complaint by specifying long
18086 constant as "ULL".
18087 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18088 matches for a couple x/2 commands.
18089
18090 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18091
18092 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18093 by merging in ref-types2 tests.
18094 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18095
18096 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18097 * gdb.c++/Makefile.in: Add standard actions.
18098 (EXECUTABLES): Rename from PROGS, update list.
18099 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18100 from gdb.hp.
18101 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18102 foo and bar locals.
18103 * gdb.c++/anon-union.exp: Fix tests to match.
18104 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18105 expect matches to handle output variations.
18106 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18107 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
18108 output, add HP alternatives for new and delete prints.
18109 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
18110 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
18111 * gdb.c++/demangle.exp: Use $style when reporting failure.
18112 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18113 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18114 match alternatives.
18115 * gdb.c++/local.exp: Add match alternatives or xfails for HP
18116 compilers.
18117 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18118 * gdb.c++/method.exp: Add match alternatives.
18119 * gdb.c++/misc.cc: Add bool types.
18120 * gdb.c++/misc.exp: Add tests for bool types.
18121 * gdb.c++/overload.exp: Add xfails.
18122 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18123 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18124 add some more template parameter tests (only for HP currently).
18125 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18126 * gdb.c++/virtfunc.cc: Add return type and value for main.
18127 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18128 match alternatives.
18129
18130 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18131
18132 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18133
18134 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18135
18136 * gdb.base/signals.exp: Don't expect getting a backtrace from
18137 within a signal handler to fail on Linux.
18138
18139 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18140
18141 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18142 * lib/gdb.exp: Remove some gratuitious semicolons.
18143 (delete_breakpoints): Increase timeout.
18144 (gdb_expect): Add -notransfer option.
18145 (gdb_test): Use -notransfer option.
18146 (get_compiler_info): Add f77 case.
18147 (get_compiler): New proc, split out from gdb_preprocess, add f77
18148 case.
18149 (gdb_preprocess): Call get_compiler.
18150
18151 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18152 * gdb.base/attach.exp, gdb.base/display.exp,
18153 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18154 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18155 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18156 third arg to gdb_test.
18157 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18158 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
18159 HP-UX xfails, add others.
18160 * gdb.base/completion.exp: Reflect name change of self-test.
18161 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
18162 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18163 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18164 HP failure number.
18165 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18166 useless HP-UX 10.30 references.
18167 * gdb.base/maint.exp: Loosen matches.
18168 * gdb.base/pointers.c (main): Declare more_code.
18169 * gdb.base/pointers.exp: Match on output of a `next'.
18170 * gdb.base/structs.c: Add prototypes.
18171 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18172 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18173
18174 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18175
18176 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
18177 command.
18178
18179 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18180
18181 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18182 Fix run to main failures. Watchpoint can be hardware watchpoint.
18183
18184 * gdb.base/annota1.exp: Clean up some more, in case printf has
18185 debug info. Deal with lack of signal hanlder info in stack.
18186
18187 From Jim Kingdon <kingdon@redhat.com>:
18188 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18189
18190 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18191
18192 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
18193 gdb.base/foll-vfork.exp: Don't run for crosses.
18194
18195 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18196
18197 * gdb.base/configure.in: Check for gdbvars.exp instead of
18198 a1-selftest.exp.
18199 * gdb.base/configure: Re-generate.
18200
18201 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18202
18203 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18204 in trying to run first and name is too long.
18205
18206 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18207 pointers2.c and pointers2.exp, respectively.
18208 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18209 doschk happier.
18210
18211 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18212
18213 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18214 callfuncs2.c and callfuncs2.exp.
18215
18216 * gdb.base/list.exp: Remove mistaken xfails.
18217 * gdb.base/list0.h: Add optional prototypes.
18218
18219 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18220
18221 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
18222 calling malloc.
18223 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18224 * ptype.exp: Move test for get_debug_format to before its first
18225 use.
18226
18227 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18228
18229 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18230 * gdb.base/annota2.cc, annota2.exp: Move from here.
18231 * gdb.c++/annota2.cc, annota2.exp: To here.
18232 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18233
18234 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18235
18236 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
18237 a consistent format.
18238
18239 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18240
18241 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18242 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18243 HP compilers, also set the globals $true and $false.
18244
18245 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
18246 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18247 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18248 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18249 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18250 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18251 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18252 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18253 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18254 whatis.c} Add C++ compatible function definitions and return
18255 types, add includes for library functions.
18256 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18257 * gdb.base/step-test.c (myglob): Rename from glob.
18258 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
18259 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18260 files, move here from gdb.hp.
18261 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
18262 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18263 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18264 Adjust line numbers in regexps.
18265
18266 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18267 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18268 instead of 0/1.
18269
18270 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18271 foll-vfork.exp: New files, move here from gdb.hp.
18272 * gdb.base/page.exp: New file, test of pagination command.
18273
18274 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18275 recursion test.
18276 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18277
18278 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
18279 gdb.base/solib.exp: Fix compiler invocation process.
18280
18281 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
18282 HP-UX 11, turn off overload resolution explicitly.
18283 * gdb.base/commands.exp: Set argument list explicitly, add
18284 watchpoint test.
18285 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18286 them work.
18287 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18288 expressions properly.
18289 * gdb.base/corefile.exp: Loosen the match slightly.
18290 * gdb.base/default.exp: Allow "Error accessing memory" message
18291 also.
18292 * gdb.base/display.exp: Skip over x/0 j if PA64.
18293 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18294 * gdb.base/interrupt.exp: Ditto.
18295 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18296 in use.
18297 * gdb.base/list.exp: Add xfails for HP-UX.
18298 * gdb.base/long_long.exp: Refine some of the numeric matches.
18299 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18300 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18301 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18302 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18303 * gdb.base/ptype.exp: Succeed on more varieties of output.
18304 * gdb.base/scope.exp: Add xfails for HP-UX.
18305 * gdb.base/sect-cmd.exp: Add more cases.
18306 * gdb.base/setvar.exp: Add xfails for HP-UX.
18307 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18308 * gdb.base/signals.exp: Match on void symbolically.
18309 * gdb.base/step-test.exp: Add case for PA64.
18310 * gdb.base/term.exp: Add exit and restart.
18311 * gdb.base/twice.exp: Clean up after self.
18312 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18313 * gdb.base/whatis.exp: Allow more ways to pass tests.
18314
18315 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
18316 no longer useful.
18317
18318 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18319
18320 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
18321 list of patterns.
18322 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
18323 print_double_array(double_array)", "continuing to breakpoint
18324 1018", "print print_double_array(array_d)" and "continuing to
18325 1034" tests.
18326
18327 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18328
18329 * Makefile.in: Add empty html and install-html targets.
18330
18331 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18332
18333 * config/mt-*: Remove, these haven't been used since 1996.
18334
18335 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18336
18337 * gdb.base/call-strs.c, gdb.base/ending-run.c,
18338 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
18339 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18340
18341 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18342
18343 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18344 simpler match case for the ptype of the big class.
18345
18346 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18347
18348 * gdb.exp: Fix test for gdb_prompt existence.
18349
18350 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18351
18352 * gdb.exp (gdb_test): Add fail after calls to perror.
18353
18354 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18355
18356 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18357
18358 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18359
18360 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18361
18362 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18363
18364 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
18365 malloc() is linked in.
18366
18367 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18368
18369 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18370 step at end.
18371
18372 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18373
18374 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18375
18376 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18377
18378 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18379
18380 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18381 * gdb.base/mips_pro.exp: Likewise.
18382
18383 1999-06-02 Keith Seitz <keiths@cygnus.com>
18384
18385 * gdb.c++/templates.cc: Change all "new" operators to throw
18386 an exception.
18387 * gdb.c++/cplusfuncs.cc: Likewise.
18388
18389 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18390
18391 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18392
18393 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18394 * gdb.base/ending-run.exp: When stepping out of main, accept a
18395 step into an arbitrary assembler file.
18396
18397 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18398
18399 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18400 "breakpoint-invalid" to be printed.
18401 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18402 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18403 * gdb.base/annota2.cc: Initialize a.x to 0.
18404
18405 1999-05-17 Keith Seitz <keiths@cygnus.com>
18406
18407 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18408 when "skip_float_tests" set.
18409 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18410 "print print_ten_doubles", and "step into print_long_arg_list".
18411 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18412 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18413 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18414 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18415 "skip_float_tests" is set.
18416 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18417 when "skip_float_tests" set.
18418
18419 1999-05-06 Keith Seitz <keiths@cygnus.com>
18420
18421 * gdb.base/annota2.cc: Include stdio.h.
18422
18423 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18424
18425 * gdb.base/crossload.exp: Remove, this has been disabled ever
18426 since BFD stopped including all targets, and cross-GDB gets
18427 plenty of testing anyway.
18428 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18429 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18430 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18431 * gdb.base/README: Remove, was doc for this.
18432 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18433 needed.
18434
18435 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18436
18437 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18438 output.
18439
18440 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18441 * gdb.base/annota2.exp: New file. More annotation tests.
18442 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18443 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18444
18445 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18446
18447 * config/cfdbug.exp: New file.
18448
18449 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18450
18451 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18452 Marcus Daniel's and Dale Hawkins's demangler crashes.
18453
18454 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18455 test_lucid_style_demangling, test_arm_style_demangling,
18456 test_hp_style_demangling): Try Tom Tromey's core-dumping
18457 identifier under each demangling style.
18458
18459 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18460
18461 * gdb.c++/demangle.exp: Include the current demangling style
18462 in all test names.
18463 (current_demangling_style): New global variable.
18464 (set_demangling_style, test_demangling_core, test_demangling,
18465 test_demangling_exact): New functions.
18466 (test_gnu_style_demangling, test_lucid_style_demangling,
18467 test_arm_style_demangling, test_hp_style_demangling): Use those,
18468 instead of calling gdb_test and gdb_test_exact directly.
18469 (catch_demangling_errors): New function, which reports errors
18470 signalled by the demangling test functions in an orderly way.
18471 (do_tests): Use catch_demangling_errors.
18472
18473 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18474
18475 * gdb.base/signals.exp (test_handle_all_print): Use () for
18476 grouping in expressions, not {}.
18477
18478 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18479 initialized yet.
18480
18481 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18482
18483 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18484 are listed.
18485
18486 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18487
18488 * gdb.stabs/weird.exp: Test for CC being defined before
18489 looking at its value.
18490
18491 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18492
18493 * gdb.base/call-ar-st.exp: Remove stray '#'.
18494 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18495 "short int" and "long int".
18496 * gdb.c++/overload.cc: Cast the string added in the previous
18497 change, to mollify finicky HP compiler.
18498 * gdb.hp/reg-test.exp (testfile): Fix file name.
18499 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18500
18501 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18502 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18503 alternate form of enum ptype.
18504
18505 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18506
18507 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18508 * gdb.hp/*.exp: Change all to run compiler probe only after
18509 passing skip_hp_tests, so as not to waste time on guaranteed
18510 failure.
18511
18512 * gdb.c++/overload.cc: Pass string instead of char addr, always
18513 init ccpfoo.
18514 * gdb.c++/templates.cc: Fix syntax error.
18515
18516 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18517
18518 * gdb.base/commands.exp: Add test for correct position of '>'
18519 when issuing the 'commands' command after a 'while' or 'if'
18520 command.
18521
18522 1999-03-18 James Ingham <jingham@cygnus.com>
18523
18524 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18525
18526 * gdb.c++/method.exp: It was testing an uninitialized int on the
18527 stack and assuming it was positive.
18528
18529 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18530
18531 * gdb.base/step-test.exp: Catch a case where finish is broken and
18532 keep it from killing the rest of the tests.
18533 Use gdb_continue_to_end.
18534
18535 * gdb.base/sigall.exp: use gdb_continue_to_end.
18536
18537 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18538
18539 * gdb.base/display.exp: use runto_main, not run.
18540
18541 * gdb.base/default.exp: Check for the current error message in the
18542 r abbreviation test.
18543 Add strongarm to the targets that know info float.
18544
18545 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18546 run which doesn't work with monitors.
18547
18548 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18549
18550 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18551
18552 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18553 program. Traps the case (in Cygmon) when the program never really
18554 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18555 more places, so I used my name. Sorry Mark...
18556
18557 * config/monitor.exp (gdb_target_monitor): added another
18558 target_info parameter: remotebinarydownload. This will set the
18559 remotebinarydownload flag if this is causing some boards trouble.
18560
18561 1999-03-18 Mark Salter <msalter@cygnus.com>
18562
18563 * lib/gdb.exp (continue_to_exit): New function.
18564
18565 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18566 * gdb.base/ending-run.exp: Ditto.
18567 * gdb.base/step-test.exp: Ditto.
18568
18569 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18570
18571 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18572 (suggested by Art Haas <ahaas@neosoft.com>).
18573
18574 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18575
18576 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18577
18578 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18579
18580 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18581 descriptions of types (short unsigned int vs unsigned short, etc).
18582
18583 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18584
18585 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18586 a call to strlen; sometimes we do have sources.
18587
18588 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18589
18590 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18591 character, so GDB won't print garbage after its end.
18592
18593 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18594 breakpoint there instead. Sometimes GCC emits memcpy to handle
18595 the large structures being passed by value, so we step into that
18596 instead of sum_array_print, which obscures what we're really testing.
18597 * gdb.base/step-test.exp: However, we do want a test that notices
18598 the bizarre steps into memcpy, so do that here. Add check for
18599 stepping into function calls that pass large structures by value.
18600 ("Is that a noun clause, or are you just happy to see me?")
18601 Remove all references to specific line numbers.
18602 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18603 New type and function.
18604 (main): Call large_struct_by_value, passing it a large struct by value.
18605 * lib/gdb.exp (gdb_get_line_number): New function.
18606
18607 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18608 more portable.
18609
18610 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18611
18612 * lib/gdb.exp: Doc fixes.
18613
18614 1999-03-05 Nick Clifton <nickc@cygnus.com>
18615
18616 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18617
18618 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18619
18620 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
18621 commands. They're not germane to this test, and they don't work
18622 that way on remote targets.
18623
18624 1999-03-01 James Ingham <jingham@cygnus.com>
18625
18626 * Changelog entries merged over from gdb development branch.
18627
18628 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18629
18630 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18631 for outputting results of test run.
18632
18633 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
18634
18635 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
18636
18637 1999-02-25 Felix Lee <flee@cygnus.com>
18638
18639 * lib/gdb.exp (debug_format): initialize
18640
18641 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18642
18643 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18644 * gdb.base/call-rt-st.c: Ditto.
18645
18646 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18647
18648 * gdb.threads/pthreads.exp (horiz): New variable.
18649 (test_startup): Fix regexps that capture thread numbers.
18650
18651 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18652
18653 * gdb.base/smoke.exp: Disambiguate two test case names (both
18654 called ``print'').
18655
18656 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18657
18658 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
18659 compilation.
18660
18661 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18662
18663 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18664 actual output formatting.
18665 * gdb.base/smoke.exp: GDB removes leading 0's.
18666 * gdb.base/volatile.exp: Don't check type of remuneration;
18667 that variable is no longer defined in constvars.c.
18668 * gdb.base/step-test.c (main): Exit with explicit exit code.
18669 * gdb.base/step-test.exp: Remove two nexti checks--they are
18670 not portable.
18671
18672 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18673
18674 * gdb.base/help.exp ("help delete display"): Fix test to match
18675 gdb's output.
18676
18677 * gdb.base/long_long.c (known_types): Initialize values to zero.
18678 * gdb.base/long_long.exp: Step one more line
18679 so 'dec' is initialized in "get to known place". GDB removes
18680 leading zeros. Explicitly ask for hex formatting. Use
18681 unique test case names.
18682
18683 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18684
18685 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
18686
18687 * gdb.c++/method.exp: Add missing close brace.
18688
18689 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18690
18691 * gdb.base/maint.exp: Use 'set height 0' to disable page
18692 prompting, not 'set height 400'.
18693
18694 Fix a bunch of timeouts.
18695 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18696 four separate tests, so expect doesn't take forever to match a ton
18697 of text against a regexp with lots of .* forms.
18698 ("maint print psymbols", "maint print symbols"): Make some of
18699 these greps more selective, so that expect doesn't try to wade
18700 through huge piles of output and time out.
18701
18702 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18703
18704 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
18705 tests: one which doesn't expect shlib events to be reported, and
18706 another which does, but is XFAIL for all platforms other than
18707 HP/UX.
18708
18709 * gdb.base/break.exp: Teach the test suite that the `catch
18710 fork', `catch vfork', and `catch exec' commands produce error
18711 messages on platforms that don't provide these features.
18712
18713 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18714
18715 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
18716 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18717 (shortening names from solib_threshold.exp etc), won't run on
18718 anything but HP-UX for the foreseeable future.
18719 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
18720 reflect move.
18721
18722 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18723
18724 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18725 gdb.trace/Makefile.in (clean): Remove all test executables.
18726
18727 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18728
18729 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18730 successfully re-sets breakpoints in shared libraries.
18731 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18732
18733 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18734
18735 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18736 and compiled w/o GCC.
18737
18738 * gdb.hp/watch-cmd.exp: ditto.
18739
18740 * gdb.hp/watch-hp.exp: ditto.
18741
18742 * gdb.hp/xdb1.exp: ditto.
18743
18744 * gdb.hp/xdb2.exp: ditto.
18745
18746 * gdb.hp/dbx.exp: ditto.
18747
18748 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18749
18750 * constvars.c: Remove C++-isms.
18751 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
18752 with GCC.
18753
18754 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18755
18756 The following changes are part of the HP merge.
18757
18758 * gdb.base/break.exp: new tests to verify that catchpoints for
18759 fork, vfork, and exec don't trigger inappropriately.
18760
18761 * gdb.base/opaque.exp: compile one file at a time, then link.
18762
18763 * gdb.base/signals.exp: be more restrictive about which hppa
18764 systems receive a setup_xfail. new tests.
18765
18766 * gdb.base/solib_threshold.build: new file.
18767 * gdb.base/solib_threshold.exp: new file.
18768 * gdb.base/solib_threshold.link_opts: new file.
18769 * gdb.base/solib_threshold.mk: new file.
18770 * gdb.base/gen_solib_threshold.c: new file.
18771
18772 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18773 tests. New tests for enums inside classes.
18774
18775 * gdb.c++/compiler.cc: indicate support of template debugging.
18776
18777 * gdb.c++/demangle.exp: run hp style demangling tests.
18778
18779 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18780 tests.
18781
18782 * gdb.c++/misc.cc: changes to support new tests.
18783
18784 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18785 to support new tests.
18786
18787 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18788 gcc, then skip these tests.
18789
18790 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18791
18792 The following files are part of the HP merge; some had longer
18793 names at HP, but have been renamed to be no more than 14
18794 characters in length.
18795
18796 * gdb.hp/ambiguous.cc: new file.
18797 * gdb.hp/ambiguous.exp: new file.
18798 * gdb.hp/attach.exp: new file.
18799 * gdb.hp/attach2.exp: new file.
18800 * gdb.hp/classes-hp.exp: new file.
18801 * gdb.hp/ctti.exp: new file.
18802 * gdb.hp/ctti-add.cc: new file.
18803 * gdb.hp/ctti-add1.cc: new file.
18804 * gdb.hp/ctti-add2.cc: new file.
18805 * gdb.hp/ctti-add3.cc: new file.
18806 * gdb.hp/dbx.exp: new file.
18807 * gdb.hp/exception.cc: new file.
18808 * gdb.hp/exception.exp: new file.
18809 * gdb.hp/foll-exec.c: new file.
18810 * gdb.hp/foll-exec.exp: new file.
18811 * gdb.hp/foll-fork.c: new file.
18812 * gdb.hp/foll-fork.exp: new file.
18813 * gdb.hp/foll-vfork.c: new file.
18814 * gdb.hp/foll-vfork.exp: new file.
18815 * gdb.hp/inherit-hp.exp: new file.
18816 * gdb.hp/more-steps.exp: new file.
18817 * gdb.hp/namespace.cc: new file.
18818 * gdb.hp/namespace.exp: new file.
18819 * gdb.hp/optimize.exp: new file.
18820 * gdb.hp/pxdb.c: new file.
18821 * gdb.hp/pxdb.exp: new file.
18822 * gdb.hp/quicksort.exp: new file.
18823 * gdb.hp/reg-test.exp: new file.
18824 * gdb.hp/reg-test.s: new file.
18825 * gdb.hp/sized-enum.c: new file.
18826 * gdb.hp/sized-enum.exp: new file.
18827 * gdb.hp/start-stop.exp: new file.
18828 * gdb.hp/templ-hp.cc: new file.
18829 * gdb.hp/templ-hp.exp: new file.
18830 * gdb.hp/thr-lib.c: new file.
18831 * gdb.hp/thr-lib.exp: new file.
18832 * gdb.hp/thr-lib.h: new file.
18833 * gdb.hp/thr-liblib.c: new file.
18834 * gdb.hp/virtfun-hp.c: new file.
18835 * gdb.hp/virtfun-hp.exp: new file.
18836 * gdb.hp/watch-cmd.exp: new file.
18837 * gdb.hp/watch-hp.exp: new file.
18838 * gdb.hp/xdb1.exp: new file.
18839 * gdb.hp/xdb2.exp: new file.
18840 * gdb.hp/xdb3.exp: new file.
18841
18842 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18843
18844 The following files are part of the HP merge; some had longer
18845 names at HP, but have been renamed to be no more than 14
18846 characters in length.
18847
18848 * gdb.base/ss.h: new file.
18849 * gdb.base/call-ar-st.c: new file.
18850 * gdb.base/call-ar-st.exp: new file.
18851 * gdb.base/call-rt-st.c: new file.
18852 * gdb.base/call-rt-st-exp: new file.
18853 * gdb.base/call-strs.exp: new file.
18854 * gdb.base/ena-dis-br.exp: new file.
18855 * gdb.base/environ.exp: new file.
18856 * gdb.base/long_long.exp: new file.
18857 * gdb.base/sect-cmd.exp: new file.
18858 * gdb.base/shlib-cl2.exp: new file.
18859 * gdb.base/smoke.exp: new file.
18860 * gdb.base/so-impl-ld.c: new file.
18861 * gdb.base/so-impl-ld.exp: new file.
18862 * gdb.base/so-indr-cl.c: new file.
18863 * gdb.base/so-indr-cl.exp: new file.
18864 * gdb.base/varargs.exp: new file.
18865 * gdb.base/volatile.exp: new file.
18866 * gdb.base/whatis-exp.exp: new file.
18867 * gdb.base/display.exp: new file.
18868 * gdb.c++/derivation.exp: new file.
18869 * gdb.c++/local.exp: new file.
18870 * gdb.c++/member-ptr.exp: new file.
18871 * gdb.c++/overload.exp: new file.
18872 * gdb.c++/ovldbreak.exp: new file.
18873 * gdb.c++/ref-types.exp: new file.
18874 * gdb.c++/ref-types2.exp: new file.
18875 * gdb.c++/userdef.exp: new file.
18876
18877 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18878
18879 * gdb.base/default.exp: Reflect wording change in remote.c.
18880
18881 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18882
18883 * gdb.base/help.exp: Update to reflect current text.
18884
18885 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18886
18887 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18888 they're stack variables and contain garbage.
18889 * gdb.c++/anon-union.exp: new file.
18890
18891 The following changes were made by David Taylor
18892 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18893 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18894 in changes by HP.
18895
18896 * gdb.base/bitops.exp: new file.
18897 * gdb.base/default.exp: change expected messages for catch and
18898 info catch tests to reflect HP merge changes.
18899 * gdb.base/enable-disable-break.exp
18900 * gdb.base/ending-run.c: new file.
18901 * gdb.base/long_long.c: new file.
18902 * gdb.base/maint.exp: new file.
18903 * gdb.base/pointers2.exp: new file.
18904 * gdb.base/shlib-call2.exp: new file.
18905 * gdb.base/solib.exp: new file.
18906 * gdb.base/step-test.c: new file.
18907 * gdb.c++/anon-union.cc: new file.
18908 * gdb.c++/local.cc: new file.
18909 * gdb.c++/member-pointer.cc: new file.
18910 * gdb.c++/method.cc: new file.
18911 * gdb.c++/ref-types.cc: new file.
18912 * gdb.c++/ref-types2.cc: new file.
18913 * gdb.c++/userdef.cc: new file.
18914
18915 * gdb.base/scope.exp: compile one file at a time, then link.
18916 * gdb.base/langs.exp: ditto.
18917 * gdb.base/list.exp: ditto.
18918
18919 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18920
18921 The following changes were made by David Taylor
18922 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18923 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18924 in changes by HP.
18925
18926 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18927 skip tests. When compiling pass c++ flag to gdb_compile.
18928 * gdb.c++/
18929
18930 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18931 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18932 (skip_hp_tests): new function.
18933 (gdb_preprocess): new function.
18934
18935 * configure.in (hpdir): decide whether to configure gdb.hp.
18936 * configure: regenerated.
18937
18938 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18939 to delete on clean.
18940 (EXECUTABLES): update to reflect new additions.
18941 * gdb.base/commands.exp: update message expected.
18942 * gdb.base/default.exp: add copyright notice.
18943 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18944 * gdb.base/help.exp: update messages to reflect current text.
18945 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18946 targets for recurse tests.
18947 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18948 skip this file.
18949
18950 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18951 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18952 compilation.
18953 * gdb.c++/misc.exp: ditto.
18954 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18955 run the tests. tell gdb_compile that it's a c++ compilation.
18956
18957 * gdb.threads/pthreads.exp: fix typo in message.
18958
18959 * gdb.base/all-bin.exp: new file.
18960 * gdb.base/arithmet.exp: new file.
18961 * gdb.base/assign.exp: new file.
18962 * gdb.base/completion.exp: new file.
18963 * gdb.base/cond-expr.exp: new file.
18964 * gdb.base/condbreak.exp: new file.
18965 * gdb.base/define.exp: new file.
18966 * gdb.base/dollar.exp: new file.
18967 * gdb.base/environment.exp: new file.
18968 * gdb.base/eval-skip.exp: new file.
18969 * gdb.base/jump.exp: new file.
18970 * gdb.base/logical.exp: new file.
18971 * gdb.base/pointers.exp: new file.
18972 * gdb.base/relational.exp: new file.
18973 * gdb.base/section_command.exp: new file.
18974 * gdb.base/whatis-expr.exp: new file.
18975
18976 * gdb.base/all-types.c: new file.
18977 * gdb.base/call-array-struct.c: new file.
18978 * gdb.base/call-return-struct.c: new file.
18979 * gdb.base/call-strings.c: new file.
18980 * gdb.base/callfuncs2.c: new file.
18981 * gdb.base/condbreak.c: new file.
18982 * gdb.base/constvars.c: new file.
18983 * gdb.base/display.c: new file.
18984 * gdb.base/int-type.c: new file.
18985 * gdb.base/jump.c: new file.
18986 * gdb.base/miscexprs.c: new file.
18987 * gdb.base/pointers.c: new file.
18988 * gdb.base/pointers2.c: new file.
18989 * gdb.base/shmain.c: new file.
18990 * gdb.base/shr1.c: new file.
18991 * gdb.base/shr2.c: new file.
18992 * gdb.base/solib.c: new file.
18993 * gdb.base/solib1.c: new file.
18994 * gdb.base/solib2.c: new file.
18995 * gdb.base/varargs.c: new file.
18996 * gdb.c++/derivation.cc: new file.
18997 * gdb.c++/overload.cc: new file.
18998 * gdb.c++/ovldbreak.cc: new file.
18999 * gdb.hp/attach.c: new file.
19000 * gdb.hp/attach2.c: new file.
19001 * gdb.hp/average.c: new file.
19002 * gdb.hp/compiler.c: new file.
19003 * gdb.hp/compiler.cc: new file.
19004 * gdb.hp/execd-program.c: new file.
19005 * gdb.hp/follow-exec.c: new file.
19006 * gdb.hp/follow-fork.c: new file.
19007 * gdb.hp/follow-vfork-and-exec.c: new file.
19008 * gdb.hp/misc-hp.cc: new file.
19009 * gdb.hp/more-steps.c: new file.
19010 * gdb.hp/optimize.c: new file.
19011 * gdb.hp/quicksort.c: new file.
19012 * gdb.hp/run-hp.c: new file.
19013 * gdb.hp/start-stop.c: new file.
19014 * gdb.hp/sum.c: new file.
19015 * gdb.hp/templates-hp.cc: new file.
19016 * gdb.hp/thread-local-in-lib.c: new file.
19017 * gdb.hp/thread-local-in-lib.h: new file.
19018 * gdb.hp/thread-local-in-lib.lib.c: new file.
19019 * gdb.hp/vforked-program.c: new file.
19020 * gdb.hp/virtfunc-hp.cc: new file.
19021 * gdb.hp/watchpoint-hp.c: new file.
19022 * gdb.hp/xdb.c: new file.
19023 * gdb.hp/xdb0.c: new file.
19024 * gdb.hp/xdb0.h: new file.
19025 * gdb.hp/xdb1.c: new file.
19026
19027 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19028
19029 The following change was made by Edith Epstein
19030 <eepstein@cygnus.com> as part of a project to merge in changes
19031 originally made by HP; HP did not create ChangeLog entries.
19032
19033 * gdb.c++/demangle.exp: changed the expected output for some
19034 ARM-style mangling -- removed second reference to datatype.
19035 For example, maint demangle __dt__11T1__pt__2_cFv
19036 T1<char>::~T1<char>(void)
19037 becomes,
19038 maint demangle __dt__11T1__pt__2_cFv
19039 T1<char>::~T1(void)
19040
19041 (test_hp_style_demangling): new hp specific demangling test cases.
19042
19043 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19044
19045 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19046 * gdb.trace/backtrace.exp: Likewise.
19047 * gdb.trace/circ.exp: Likewise.
19048 * gdb.trace/collection.exp: Likewise.
19049 * gdb.trace/deltrace.exp: Likewise.
19050 * gdb.trace/infotrace.exp: Likewise.
19051 * gdb.trace/limits.exp: Likewise.
19052 * gdb.trace/packetlen.exp: Likewise.
19053 * gdb.trace/passc-dyn.exp: Likewise.
19054 * gdb.trace/passcount.exp: Likewise.
19055 * gdb.trace/report.exp: Likewise.
19056 * gdb.trace/save-trace.exp: Likewise.
19057 * gdb.trace/tfind.exp: Likewise.
19058 * gdb.trace/tracecmd.exp: Likewise.
19059 * gdb.trace/while-dyn.exp: Likewise.
19060 * gdb.trace/while-stepping.exp: Likewise.
19061
19062 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19063
19064 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19065
19066 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19067
19068 From Brendan Kehoe:
19069 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19070 int return types.
19071
19072 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19073
19074 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
19075 remote dos host testing right.
19076
19077 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19078
19079 * gdb.base/corefile.exp: remove some xfails.
19080
19081 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19082
19083 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
19084 have different timestamps.
19085
19086 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19087
19088 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
19089 gdb.base/default.exp: Replace "exec" with "executable".
19090
19091 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19092
19093 * gdb.base/default.exp: Change else if to elseif from previous
19094 delta.
19095
19096 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19097
19098 * gdb.base/default.exp: Add brace missing from previous delta.
19099
19100 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19101
19102 * gdb.base/default.exp: Support test for info float for all
19103 varieties of arm toolchain.
19104
19105 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
19106
19107 * gdb.trace/*.exp: remove "remote_download" command.
19108
19109 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
19110
19111 * gdb.trace/*.exp: remove -gdwarf from compile.
19112
19113 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19114
19115 * gdb.trace/configure.in(AC_INIT): typo
19116 * gdb.trace/configure: regenerated
19117
19118 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
19119
19120 * config/m68k-emc.exp: New file.
19121 * lib/<emc-support.exp trace-support.exp}: New files.
19122 * configure.in: add new test directory gdb.trace.
19123 * gdb.trace/{configure configure.in Makefile.in}: New files.
19124 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19125 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19126 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19127 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19128 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19129 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19130 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
19131
19132 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
19133
19134 * gdb.c++/classes.exp: Change all regular expressions to match
19135 arbitrary combinations of newline/carriage-return, so that they
19136 will work equally well on Unix and Windows.
19137 * gdb.c++/inherit.exp: ditto.
19138 * gdb.c++/virtfunc.exp: ditto.
19139
19140 1998-08-11 Dawn Perchik <dawn@cygnus.com>
19141
19142 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19143
19144 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19145
19146 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19147 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19148 to use a0-a3/d0-d3 as needed.
19149
19150 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19151
19152 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19153 * gdb.disasm/am33.exp: Corresponding changes.
19154
19155 1998-07-11 Felix Lee <flee@cygnus.com>
19156
19157 * gdb.base/callfuncs.exp: add cmp10 test.
19158 * gdb.base/callfuncs.c (cmp10): new function.
19159
19160 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19161
19162 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
19163 into two parts to get around a synchronization problem in expect.
19164
19165 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19166
19167 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19168
19169 * configure.in: Add options for gdbtk testsuite.
19170
19171 * configure: Regenerate.
19172
19173 * gdb.gdbtk: New directory to hold gdbtk tests.
19174
19175 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19176
19177 * gdb.fortran/types.exp: Escape brackets in expect patterns
19178 for test_float_literal_types_accepted tests.
19179 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19180 before run test.
19181
19182 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19183
19184 * am33.exp: Just compile, do not link the testcase.
19185 * am33.s: Add ".am33" pseudoop to force am33 mode.
19186
19187 1998-06-25 Felix Lee <flee@cygnus.com>
19188
19189 * gdb.base/setshow.exp: make sure $pc is sane.
19190
19191 * gdb.stabs/weird.exp: split expect patterns properly.
19192
19193 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19194
19195 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19196 * gdb.disasm/am33.exp: Run it.
19197
19198 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
19199
19200 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19201 match processing (and eliminate spurious timeouts when running).
19202
19203 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
19204
19205 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19206 exception test, but conditionalize it on target [mach | gnu].
19207
19208 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
19209
19210 * gdb.base/overlays.exp: fixup compile line for linker script.
19211
19212 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19213
19214 * gdb.fortran/types.exp: don't guess at float size.
19215
19216 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19217
19218 * gdb.base/exprs.exp: delete test that depends on int size.
19219
19220 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19221
19222 * config/sim.exp: Removed checks for target triplets.
19223 (gdb_target_sim): Use gdb,target_sim_options.
19224
19225 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19226
19227 * gdb.base/reread.exp: New file.
19228 * gdb.base/reread1.c: New file.
19229 * gdb.base/reread2.c: New file.
19230
19231 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19232
19233 * config/sim.exp: Use 'target sim -sparclite' when running
19234 SPARClite programs.
19235
19236 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19237
19238 * gdb.base/structs2.exp: New file.
19239 * gdb.base/structs2.c: New file.
19240
19241 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19242
19243 * gdb.asm/common.inc: New file.
19244 * gdb.asm/d10v.inc: New file.
19245 * asm-source.exp: Pass -I's to gas to find .inc files.
19246 Update line numbers in expected output.
19247 * asmsrc1.s: Rewrite.
19248 * asmsrc2.s: Rewrite.
19249 * configure.in: Create arch.inc symlink.
19250 * configure: Regenerate.
19251 * Makefile.in (distclean): Delete arch.inc.
19252
19253 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19254
19255 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
19256 (t_enum_value2): ditto
19257 (t_enum_value3): ditto
19258 (main): ditto
19259 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19260
19261 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19262 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19263 change.
19264 Use gdb_test instead of send_gdb/gdb_expect sequences.
19265
19266 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19267
19268 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19269 not void.
19270
19271 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19272
19273 * gdb.base/branches.c: Code with lots of loops and
19274 subroutines. Used to test gdbs ability to single step through PC
19275 changes, especially to test mips-tdep.c:mips_next_pc
19276
19277 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19278
19279 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19280 more rigorous EGCS C++ error checking.
19281
19282 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19283
19284 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19285 tests.
19286 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19287 function when asleep.
19288 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19289 for i*86 Linux and SVR4 signal handling problems.
19290 Remove linux xfail for `next to handler in signals_tests_1', fixed
19291 by recent infrun.c change.
19292 Limit backtrace to 10 frames to avoid timeout problems with infinite
19293 stack backtraces.
19294 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19295 target.[ch] change.
19296
19297 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19298
19299 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19300 for a newline from gdb before continuing.
19301 (default_gdb_exit): Just look for y or n.
19302 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19303 it does, fail the rests of the tests in the file.
19304
19305 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19306
19307 * config/cygmon.exp: New file.
19308
19309 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19310
19311 * gdb.base/list.exp: Fix problem with "list default lines around
19312 main" test on remote targets.
19313
19314 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19315 run test on remote targets.
19316
19317 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19318
19319 * gdb.asm: New directory.
19320 * configure.in: Configure it.
19321 * configure: Regenerate.
19322 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19323 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19324
19325 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19326
19327 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19328
19329 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
19330
19331 * gdb.base/overlays (several files): Merge the two overlay
19332 managers into one. Change variables (foox, barx, bazx, grbxx)
19333 back into ints but force them to load in their proper sections.
19334
19335 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19336
19337 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
19338 on-chip insn memory and IMAP1 to upper 128k.
19339 (D10VCopy): Handle memory regions crossing 16k boundaries.
19340 (D10VCopy): Transfer data in 32 bit chunks.
19341
19342 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19343
19344 * gdb.base/overlays.c (main): Exit normally when result is
19345 correct.
19346
19347 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
19348 map. Include space for printf in .text segment.
19349
19350 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
19351 updated d10v memory VMA/LMA map.
19352 (D10VCopy): Call D10VTranslate.
19353
19354 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19355
19356 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19357
19358 * gdb.base/bar.c (barx, bar): Change variable to small array so
19359 that it won't be put into the .sdata - small data -
19360 section. Update reference.
19361 * gdb.base/baz.c (bazx, baz): Ditto.
19362 * gdb.base/foo.c (foox, foo): Ditto.
19363 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19364
19365 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
19366 to be arrays.
19367
19368 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
19369
19370 * gdb.base/overlays.exp: fix up and get working again.
19371 Add tests for backtraces from an overlay function.
19372
19373 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19374
19375 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19376 "calling function with watchpoint enabled".
19377
19378 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19379
19380 * gdb.base/break.exp (test_next_with_recursion): Remove
19381 gdb_suppress_tests for d10v-*-*.
19382 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19383 pending review of whether it is useful or not.
19384
19385 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19386
19387 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19388
19389 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19390
19391 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19392 * config/dve.exp: New file to support Densan boards.
19393
19394 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19395
19396 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19397 reads and BSD.
19398
19399 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19400
19401 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19402 response.
19403
19404 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19405
19406 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19407
19408 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19409 test.
19410
19411 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19412 target_sizeof_long and target_bigendian_p.
19413 (structs_by_value, structs_by_reference): Check values according
19414 to targets word size and endianess.
19415
19416 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19417
19418 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19419 output.
19420
19421 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19422
19423 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19424 Update test of set args help to match source change.
19425
19426 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19427
19428 * gdb.base/default.exp: Expect help system output to be in
19429 alphabetical order.
19430 * gdb.base/help.exp: Ditto.
19431
19432 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19433
19434 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19435 "i*86-pc-linux-gnu*".
19436 * gdb.base/interrupt.exp: Ditto.
19437 * gdb.base/corefile.exp: Ditto.
19438
19439 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19440 define vxworks when building the testcase.
19441
19442 * gdb.base/ptype.exp: Fix testnames to be unique.
19443 * gdb.base/radix.exp: Ditto.
19444 * gdb.base/term.exp: Ditto.
19445 * gdb.base/whatis.exp: Ditto.
19446 * gdb.c++/classes.exp: Ditto.
19447
19448 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19449
19450 * gdb.base/callfuncs.exp: Fix indentation.
19451
19452 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19453 suppress_flag has been set.
19454 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19455 target feature.
19456
19457 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19458
19459 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19460 the testcase.
19461
19462 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19463 set_debug_traps() and breakpoint().
19464 * gdb.c++/misc.cc (main): Ditto.
19465 * gdb.c++/templates.cc (main): Ditto.
19466 * gdb.c++/virtfunc.cc (main): Ditto.
19467
19468 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19469
19470 * lib/gdb.exp(gdb_step_for_stub): New function.
19471 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19472 exists, reload the executable and do a "continue" instead of
19473 doing a jump.
19474 (runto_main): Use gdb_step_for_stub.
19475
19476 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19477 tests to have unique names.
19478 * gdb.base/callfuncs.exp: Ditto.
19479 * gdb.base/commands.exp: Ditto.
19480 * gdb.base/default.exp: Ditto.
19481 * gdb.base/help.exp: Ditto.
19482 * gdb.base/list.exp: Ditto.
19483 * gdb.base/opaque.exp: Ditto.
19484 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19485 similar tests.
19486
19487 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19488 * gdb.c++/cplusfuncs.cc: Ditto.
19489 * gdb.c++/virtfunc.cc: Ditto.
19490
19491 * config/monitor.exp: Keep track of the last file we saw, rather
19492 than trying to get the info from gdb.
19493
19494 * gdb.fortran/types.exp: Move comment to previous line.
19495
19496 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19497
19498 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19499 target mode.
19500
19501 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19502
19503 From Bob Manson:
19504 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19505 string from GDB when it connects.
19506
19507 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19508
19509 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19510
19511 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19512 if we can't get a debug format from GDB (we may be testing an
19513 older GDB). Use a 10 second timeout when checking for the format.
19514
19515 * gdb.stabs/weird.exp: Fix quoting.
19516
19517 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19518
19519 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19520
19521 * config/arm-ice.exp: New file.
19522
19523 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19524
19525 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19526 until it has been modified to work with the new testsuite.
19527
19528 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19529 testcase won't compile, cause all of the testcases in the file to
19530 fail instead.
19531
19532 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19533 (gdb_clear_suppressed): New procedure.
19534 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19535 it contains a positive value.
19536
19537 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19538
19539 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19540
19541 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19542
19543 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19544
19545 * lib/gdb.exp (setup_xfail_format): New function.
19546 (get_debug_format): New function to get debug format.
19547 (debug_format): New global variable to hold last value set
19548 by get_debug_format.
19549 * gdb.base/list.exp: Call get_debug_format and expect some
19550 tests to fail for DWARF 1 and COFF formats.
19551 * gdb.c++/ptype.exp: Ditto.
19552 * gdb.c++/classes.exp: Ditto.
19553 * gdb.c++/cplusfuncs.exp: Ditto.
19554 * gdb.c++/inherit.exp: Ditto.
19555 * gdb.c++/templates.exp: Ditto.
19556 * gdb.c++/virtfunc.exp: Ditto.
19557
19558 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19559
19560 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19561 host doesn't have a currently-open connection.
19562
19563 * config/sparclet.exp: Cleanups and fixes to make it generic for
19564 any gdb stub target. Handle cases where gdb doesn't respond when
19565 interrupted in a sane fashion.
19566
19567 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19568 same thing in a totally different way.
19569
19570 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19571 setting "timeout".
19572 (gdb_start): We set the global gdb_prompt variable in
19573 default_gdb_init now.
19574
19575 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19576
19577 * gdb.base/printcmds.exp: Fix "check for floating addition"
19578 regexp to accept results within approx +/- .01 of exact value.
19579 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19580
19581 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19582
19583 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19584 properly.
19585 (gdb_expect): Add optional timeout parameter, and add timeout
19586 value to various calls.
19587 (gdb_suppress_tests): Only give one warning message per group.
19588
19589 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19590
19591 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19592 global variables. Handle getting a value for $timeout more
19593 gracefully.
19594
19595 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19596
19597 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19598 initialize.
19599 (default_gdb_init): New procedure; allow gdb_init to be overridden
19600 by a target configuration file.
19601 (gdb_expect): Pass the timeout to remote_expect.
19602
19603 * config/monitor.exp(gdb_load): Fix typo in regexp.
19604
19605 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19606
19607 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19608
19609 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19610
19611 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19612 here. Call gdb_target_exec before rebooting the target, to make
19613 sure the connection to the target is closed.
19614 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19615 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19616 Also detect "Timeout reading from remote" error.
19617
19618 * config/gdbserver.exp: Pass the executable being loaded to
19619 gdb_target_monitor. Don't call gdb_file_cmd here; let
19620 gdb_target_monitor do it.
19621
19622 * gdb.disasm/hppa.exp: Don't use exec_output.
19623
19624 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19625
19626 * gdb.base/list.exp: If we're debugging a non-native target,
19627 try to set the pc register to point to the start of the
19628 program before doing the first list command.
19629
19630 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
19631 test_calls after restarting.
19632
19633 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
19634 reloading.
19635
19636 * gdb.base/watchpoint.exp: Fix typo.
19637
19638 * gdb.base/setshow.exp: Check for use_gdb_stub.
19639
19640 * gdb.base/break.exp: Fix continue until exit test for the gdb
19641 stub case.
19642 * gdb.base/langs.exp: Ditto.
19643
19644 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
19645 gdb_load_offset. If we weren't given a file to load, figure out
19646 what the current file is and use it.
19647
19648 * config/i386-bozo.exp: New file.
19649
19650 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19651
19652 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19653 feature.
19654
19655 * config/proelf.exp: New entry.
19656
19657 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19658
19659 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19660 of regexps.
19661
19662 * gdb.base/watchpoint.exp: Don't run the test_stepping
19663 tests if gdb can't call functions on the target.
19664
19665 * gdb.base/setshow.exp: Don't run the set prompt tests if
19666 the board has gdb_prompt set.
19667
19668 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19669
19670 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19671 * gdb.base/commands.exp: Likewise.
19672 * gdb.base/setshow.exp: Likewise.
19673
19674 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19675
19676 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19677 feature.
19678
19679 * config/i960.exp: New file.
19680
19681 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19682
19683 * gdb.base/funcargs.exp: Check for gdb,short_int target
19684 feature instead of looking for explicit target triplets.
19685
19686 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
19687
19688 * gdb.base/printcmds.exp: add a couple more tests a la
19689 "p 123DEADBEEF", to check parse_number.
19690 * top.c: change "to enable to enable" to "to enable" in a couple
19691 of help strings.
19692
19693 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19694
19695 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19696 on the mn10300.
19697
19698 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19699
19700 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19701 where the test executable is run with explicit args.
19702 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19703
19704 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19705
19706 * gdb.base/run.c: Use FAKEARGV to build test executable that
19707 does not require a command line arg, since most simulators
19708 don't currently support passing such an arg into the simulated
19709 program.
19710 * gdb.base/commands.exp: Change tests to insert the proper
19711 value as the arg to the first recursive factorial call. Change
19712 compilation line to define FAKEARGV at compile time.
19713
19714 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19715
19716 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19717 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19718 function with watchpoint enabled" test.
19719
19720 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19721
19722 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
19723 Don't call gdb_test when the command doesn't return to a gdb prompt.
19724
19725 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
19726 "Tests restarted" messages.
19727
19728 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19729
19730 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19731
19732 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
19733
19734 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19735 for INFO SYMBOL; add help tests for OVERLAY commands.
19736 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19737 add tests for OVERLAY commands
19738 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19739 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19740 * gdb.base/sigall.c: add usestubs code frag
19741 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
19742
19743 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19744
19745 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19746 failures.
19747 (gdb_stop_suppressing_tests): Note that tests have restarted.
19748
19749 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19750
19751 * config/h8300.exp: New file.
19752
19753 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19754
19755 * gdb.base/setshow.exp: Check for the existence of a
19756 feature, not its value.
19757
19758 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19759
19760 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19761
19762 * gdb.base/scope.exp: It's now init0(), not init().
19763
19764 * gdb.base/scope0.c: For now, change init() to be init0().
19765
19766 * config/monitor.exp: Use gdb_serial in preference to serial
19767 or netport.
19768
19769 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
19770 and it's not already set.
19771
19772 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19773
19774 * gdb.base/setshow.exp: Only test the run command if the target
19775 isn't using a stub and if it supports argument passing.
19776
19777 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19778
19779 * config/udi.exp(gdb_start): Make sure UDICONF is set
19780 properly before starting gdb.
19781
19782 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19783
19784 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19785 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19786 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19787
19788 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19789
19790 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
19791 specialized code to reboot the board, use remote_reboot instead.
19792
19793 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19794
19795 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19796
19797 * config/monitor.exp: Make sure we disconnect from the target.
19798 Also, try a reboot/reload cycle instead of failing if the
19799 load fails.
19800
19801 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19802
19803 * gdb.base/default.exp: Don't set match_max.
19804 * gdb.base/help.exp: Ditto.
19805 * gdb.base/list.exp: Ditto.
19806 * gdb.base/signals.exp: Ditto.
19807
19808 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19809 set, use remote_ld to download the testcase instead of
19810 the GDB loader.
19811
19812 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19813
19814 * config/vr5000.exp: New file.
19815
19816 * config/monitor.exp(gdb_target_monitor): Add pattern for
19817 "Ending remote" to detect errors in connecting.
19818
19819 * gdb.base/setshow.exp: Add .* within auto language test.
19820
19821 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19822 target feature.
19823
19824 * config/monitor.exp(gdb_load): Check for a failure when loading,
19825 and reboot the board if necessary.
19826
19827 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19828 a set of tests. Remove print.* from the patterns being checked.
19829
19830 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19831
19832 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19833 refer to gdb_spawn_id.
19834
19835 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19836 longer used.
19837 * config/sparclet.exp: Ditto.
19838 * config/sparclet-old.exp: Ditto.
19839 * config/slite.exp: Ditto.
19840 * config/sim.exp: Ditto.
19841 * gdb.base/funcargs.exp: Ditto.
19842
19843 * lib/gdb.exp:Remove references to gdb_spawn_id.
19844 (gdb_expect): Move to remote.exp.
19845
19846 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19847
19848 * config/monitor.exp: Detect the "Couldn't establish connection"
19849 message from GDB.
19850
19851 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19852
19853 * gdb.base/bitfields.exp: Use runto instead of explicit
19854 gdb_run_cmd/gdb_expect sequences.
19855
19856 * gdb.base/break.exp(text_next_with_recursion): Add match for
19857 gdb_expect call.
19858
19859 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19860 We also need to handle the "A program is being debugged already"
19861 prompt from gdb. Use gdb_test to set the baud rate.
19862
19863 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19864 to 20000. Really. I mean it.
19865
19866 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19867
19868 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19869 fails. If suppress_flag is set, skip perror message about not
19870 being able to send to GDB.
19871 (send_gdb): If suppress_flag is set, don't try to send commands to
19872 GDB.
19873 (gdb_expect): If suppress_flag is set, always fail immediately.
19874 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19875 (gdb_init): Call gdb_stop_suppressing_tests.
19876 (default_gdb_exit): Ditto.
19877 (default_gdb_start): Ditto.
19878
19879 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19880 gdb_stop_suppressing_tests as appropriate.
19881 * gdb.base/break.exp: Ditto.
19882 * gdb.base/callfuncs.exp: Ditto.
19883 * gdb.base/commands.exp: Ditto.
19884 * gdb.base/exprs.exp: Ditto.
19885 * gdb.base/funcargs.exp: Ditto.
19886 * gdb.base/list.exp: Ditto.
19887 * gdb.base/recurse.exp: Ditto.
19888 * gdb.base/scope.exp: Ditto.
19889 * gdb.base/structs.exp: Ditto.
19890 * gdb.c++/inherit.exp: Ditto.
19891
19892 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19893
19894 * config/vr4300.exp: New file.
19895
19896 * gdb.*/*.exp: Call gdb_expect instead of expect.
19897
19898 * lib/gdb.exp(gdb_expect): New function.
19899
19900 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19901
19902 * lib/gdb.exp(gdb_init): New function.
19903
19904 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19905 for each individual variable set.
19906
19907 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19908 name.
19909
19910 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19911
19912 * gdb.base/scope.exp: Use gdb_test.
19913
19914 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19915 aborting; the testsuite driver will do that for us (see
19916 gdb_finish). Also, use gdb_test in a few more places.
19917
19918 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19919
19920 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19921
19922 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19923
19924 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19925 and "add_tests" are not at the same address.
19926
19927 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19928
19929 * gdb.base/ptype.exp: Use gdb_test.
19930
19931 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19932
19933 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19934 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19935 left in. No longer expect them to fail.
19936
19937 * gdb.stabs/*.mt; Deleted, no longer used.
19938 * gdb.stabs/configure.in: Remove references to target makefile
19939 frags.
19940 * gdb.stabs/configure: Rebuilt.
19941
19942 * gdb.disasm/*.mt: Deleted, no longer used.
19943 * gdb.disasm/configure.in: Remove references to target makefile
19944 frags. Use "sh3.s" as the unique filename for this directory.
19945 * gdb.disasm/configure: Rebuilt.
19946
19947 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19948 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19949 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19950
19951 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19952
19953 * config/udi.exp: Use mondfe,name instead of remote_host.
19954
19955 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19956
19957 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19958 a function with a watchpoint enabled on the mn10200.
19959
19960 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19961 before trying to create it!
19962
19963 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19964
19965 * config/vx.exp: Use hostname instead of netport.
19966
19967 * config/vxworks.exp: New file.
19968
19969 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19970
19971 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19972 gdb before assuming everything worked. Send a ^C if a timeout
19973 occurs.
19974
19975 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19976 $gdb_spawn_id directly.
19977 (gdb_run_cmd): Try _start as well as start. Use the target feature
19978 gdb,start_symbol as the symbol to start from when jumping.
19979
19980 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19981
19982 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19983 redundant) test.
19984
19985 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19986 it doesn't lose for 16bit integer systems.
19987
19988 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19989
19990 * gdb.fortran/types.exp: If the target doesn't support "double"
19991 data types, then expect "real" types to only be 4 bytes.
19992
19993 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19994 call tests if the target doesn't support inferior function calls.
19995
19996 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19997 in printf tests.
19998
19999 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20000
20001 * gdb.base/help.exp: Disable "help set", "help show", and
20002 "help support". Simplify regexp for "help stack".
20003
20004 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20005 to 60 seconds. Temporarily set match_max to 15000 around the
20006 "info copying" test.
20007
20008 * gdb.base/nodebug.exp: Don't try to do an inferior function
20009 call if the target doesn't support them.
20010 * gdb.base/printcmds.exp: Likewise.
20011 * gdb.base/setvar.exp: Likewise.
20012 * gdb.base/structs.exp: Likewise.
20013 * gdb.c++/templates.exp: Likewise.
20014 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20015
20016 * gdb.base/recurse.exp: Enable for the mn10200.
20017
20018 * configure.in: Do configure gdb.stabs directory for *-*-elf
20019 targets.
20020 * configure: Rebuilt.
20021
20022 * gdb.base/break.exp: Check for gdb,noresults before testing
20023 exit status and/or results from the target.
20024 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20025 * lib/gdb.exp: Remove old (now bogus) initialization of
20026 noinferior, noargs, noresults and nosignals.
20027
20028 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20029
20030 * config/sh.exp: New file.
20031
20032 * config/slite.exp: Try to connect multiple times to the board
20033 before rebooting. Only send a "monitor run" if need_monitor_run
20034 is set.
20035
20036 * gdb.base/break.exp: Don't do the "stub continue" test if
20037 the target has gdb_stub set.
20038
20039 * gdb.base/callfuncs.exp: Increase the timeout.
20040
20041 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20042 if the target has gdb,noinferiorio set.
20043
20044 * gdb.base/list.exp: Increase match_max to 10000 characters.
20045
20046 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20047
20048 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20049 target.
20050
20051 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20052
20053 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20054
20055 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
20056 trying to delete the copy of gdb. Catch the file delete so we
20057 don't die if the delete fails; also, the file should be copied to
20058 the host, not to the build.
20059
20060 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20061
20062 * lib/gdb.exp(gdb_test): Surround the result pattern with
20063 parenthesis in case it contains multiple regexps separated
20064 with |.
20065
20066 * gdb.base/watchpoint.exp: Use gdb_test.
20067 * gdb.base/default.exp: Ditto.
20068
20069 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20070
20071 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
20072
20073 * gdb.base/scope.exp: Use gdb_test.
20074 * gdb.c++/classes.exp: Ditto.
20075 * gdb.c++/inherit.exp: Ditto.
20076
20077 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20078
20079 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20080 remote_exec instead.
20081 * gdb.base/corefile.exp: Don't be ridiculous.
20082 * gdb.base/*.c: Add missing stub invocations.
20083
20084 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20085
20086 * config/slite.exp: Miscellaneous fixes.
20087
20088 * lib/gdb.exp: Fix runto.
20089
20090 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20091 the target.
20092
20093 * gdb.base/watchpoint.exp: Fix regexp.
20094
20095 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20096 close and wait commands, as the descriptor may now be
20097 invalid. Always call "remote_close host".
20098
20099 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20100
20101 Major rewrite for testsuite revision.
20102
20103 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20104 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20105 instead of relying on spawn_id to always contain a valid
20106 spawn id.
20107 (get_compiler_info): New procedure to build the ${binfile}.ci
20108 file, instead of replicating this in N different places.
20109 (gdb_compile): New procedure.
20110
20111 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
20112 appropriate arguments) instead of compile. Use gdb_test in a lot
20113 more places. Use send_gdb instead of send. Always run gdb_start
20114 at the start of a testcase, as this is no longer done magically.
20115
20116 config/*-gdb.exp: Rename without the -gdb suffix.
20117
20118 config/mips.exp: Use remote_close instead of exit_remote_shell.
20119 config/monitor.exp: Use target_info instead of looking at
20120 baud, timeout, etc.
20121 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20122
20123 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20124
20125 * gdb.c++/templates.exp (test_ptype_of_templates),
20126 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20127 Update expect patterns for destructors and assignment operators
20128 to match corresponding c-typeprint.c changes.
20129 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20130 to destructor breakpoint test, GDB should be able to set the
20131 destructor breakpoint without specifying arguments.
20132
20133 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20134
20135 * gdb.threads/pthreads.exp: Change result for failure to compile due
20136 to lack of pthreads runtime support from an error to simply an
20137 unsupported test, per dejagnu standards.
20138
20139 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20140
20141 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20142 where GDB exits to reduce pattern match time.
20143 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20144
20145 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20146
20147 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
20148
20149 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20150 * gdb.base/default.exp: ditto.
20151 * gdb.base/nodebug.exp: ditto.
20152 * gdb.base/printcmds.exp: ditto.
20153 * gdb.base/ptype.exp: ditto.
20154 * gdb.base/setvar.exp: ditto.
20155 * gdb.base/structs.exp: ditto.
20156 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20157
20158 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20159
20160 * configure, */configure: Rebuild with autoconf 2.12.
20161
20162 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20163
20164 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20165 use new i*86-pc-linux*-gnu quads.
20166 * gdb.base/corefile.exp: Ditto.
20167 * gdb.base/signals.exp: Ditto.
20168 * gdb.base/sigall.exp: Ditto.
20169 * gdb.base/interrupt.exp: Ditto.
20170
20171 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20172 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20173 RedHat 4.0.
20174
20175 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
20176 linux. This allows the test case to at least compile on latest
20177 linux, but still not run due to missing the threads runtime library.
20178
20179 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20180
20181 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20182 directory to search gdb directory. Accept and step over conditional
20183 stack alignment code. Consume $prompt in failure cases.
20184 Reset timeout to $oldtimeout instead of some arbitrary value.
20185 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20186 timeout problems with infinite stack backtraces.
20187 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20188 Accept function parameters for linkfunc member.
20189
20190 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20191
20192 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20193 (CXXFLAGS): Remove, unreferenced.
20194 (B_OPTIONS): Add for -B options and add code to initialize with
20195 previous -B options and also add -B option to pick up cross compiled
20196 runtime.
20197 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20198 doing cross compiles.
20199 (target_alias): Declare global.
20200 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20201 to verify that gcc exists in build tree, and if so set CC to that
20202 gcc and to use B_OPTIONS and TARGET_INCLUDES.
20203
20204 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20205
20206 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20207 ptype test for anonymous union. Fixup testcase to match
20208 current gcc debug output.
20209
20210 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20211
20212 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20213 force argument to an unsigned long type.
20214
20215 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20216
20217 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
20218 tests and anonymous union print/ptype tests.
20219 * gdb.base/list.exp (test_forward-search): Increase timeout by
20220 5 minutes for the "search extremely long line" case.
20221 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20222 completely optional and that the pass/fail messages use the command as
20223 the message if that third arg is a null string.
20224 (gdb_test_exact): Arrange that a null string pattern means match a
20225 null string output rather than any output, which might include random
20226 errors.
20227 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20228 backtrace test.
20229 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20230 always failing and failure is now exposed by gdb.exp changes.
20231
20232 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20233
20234 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20235 weren't being noted.
20236
20237 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20238
20239 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20240 * gdb.stabs/weird.exp: Remove v_comb xfails.
20241
20242 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
20243
20244 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
20245 list.exp scope.exp watchpoint.exp]
20246 Make all timeout error msgs explicitly say "(timeout)".
20247
20248 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
20249
20250 * config/monitor.exp: Increase download timeout to 1000 seconds.
20251
20252 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
20253
20254 * config/m32r.exp: Increase timeout to 120 seconds.
20255
20256 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20257
20258 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20259 and accept older ordering as obsolescent gcc or gdb.
20260 * gdb.c++/templates.exp: Ditto.
20261 * gdb.c++/virtfunc.exp: Ditto.
20262
20263 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20264
20265 * gdb.base/coremaker.c: Add code to mmap some data so we
20266 can check that it ends up in the core file.
20267 * gdb.base/corefile.exp: Add test to read mmapped data
20268 from core file.
20269
20270 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
20271
20272 * config/m32r.exp: New file.
20273
20274 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20275
20276 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20277 that cflags can contains -gstabs, and work correctly for other tests.
20278
20279 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
20280
20281 * gdb.base/setshow.exp: New file, tests show and set.
20282 * gdb.base/setshow.c: New file, tests show and set.
20283 * gdb.base/help.exp: Add test for help set|show annotate.
20284 * gdb.base/default.exp: Add test for set|show annotate.
20285
20286 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20287
20288 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20289 errors unique.
20290 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20291 explicitly.
20292
20293 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20294
20295 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20296 and width commands. This is done elsewhere.
20297 * (gdb_start): Don't call gdb_start_sim here. That's already
20298 done in gdb_load. This fixes lots of failures in default.exp.
20299
20300 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20301
20302 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20303 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20304 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20305 in the same we we treat other failures (since it may be an expected
20306 condition), rather than as an error.
20307 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20308 old test format.
20309
20310 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20311
20312 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20313 (distclean maintainer-clean realclean): No need to remove files
20314 twice. Nuke the duplicates.
20315 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
20316 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
20317 Remove config.h along with other config files.
20318
20319 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20320
20321 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20322 "p func1 ()" and note that rests of tests are skipped.
20323 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
20324 setup_xfails for "print func2::coremaker_local".
20325 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20326 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20327 affected by the previous run test.
20328 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20329 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20330 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20331 "pass int powerset tuple" and "pass modeless int powerset tuple".
20332 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20333 "real write 4" and "real write 8".
20334 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
20335 setup_xfails for "print vs1 after tuple assign 2",
20336 "print \$i after tuple assign 2", and
20337 "print vs2 after tuple assign 2".
20338 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20339 meaningful error message and return -1 so the caller can
20340 suppress further tests and avoid a cascade of errors.
20341
20342 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20343
20344 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20345 format for printing version.
20346 * gdb.base/default.exp: Ditto.
20347 * gdb.base/interrupt.exp: Fix problem with cascade of
20348 errors if child process dies while calling a function.
20349
20350 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20351
20352 * Makefile.in (VPATH): Add
20353 * Makefile.in (Makefile, config.status): Fix rules so things get
20354 remade when necessary.
20355
20356 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20357
20358 * Makefile.in (just-check): Add path to sibling expect dir
20359 to environment variable specified by RPATH_ENVVAR.
20360
20361 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20362
20363 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20364 (just-check): Add shared library paths for libstdc++, tk,
20365 tcl, bfd, and opcodes to the environment variable specified
20366 in RPATH_ENVVAR.
20367 * configure.in: Add support to recognize --enable-shared flag
20368 and generate correct value for RPATH_ENVVAR.
20369 * configure: Regenerated with autoconf.
20370
20371 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20372
20373 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
20374 include all osf versions.
20375 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20376 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20377 when target is linux. When failing to build pthreads test
20378 executable, give more meaningful message.
20379 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20380 arg for pthread_create.
20381
20382 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20383
20384 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20385 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20386 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20387 and -lpthreads (everybody else).
20388 (test_startup): Fail gracefully if threads are not supported.
20389 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20390 "p/c array_index("abcdef",2)" when not gcc compiled.
20391 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20392 "print func2::coremaker_local" when not gcc compiled.
20393 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20394 "ptype on opaque struct tagname (statically)",
20395 "ptype on opaque struct tagname (dynamically) 1", and
20396 "ptype on opaque struct tagname (dynamically) 2"
20397 for not compiled with gcc.
20398 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20399 backtrace when compiled with gcc.
20400 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20401 than always return success.
20402
20403 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20404
20405 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20406
20407 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20408
20409 * gdb.base/structs.exp: Undo last change.
20410
20411 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20412
20413 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20414 encapsulate all the steps/nexts done during self test, starting
20415 at main, and makes them less sensitive to optimization issues.
20416 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20417 signal handler" test.
20418 * gdb.threads/pthreads.exp: Only run this for native configs.
20419 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20420 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20421 tests.
20422 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20423 for "runto test_calls(void)" test.
20424
20425 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20426
20427 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20428 and don't expect address info in breakpoint confirmations.
20429
20430 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20431
20432 * gdb.base/list.exp (test_forward_search): Increase timeout
20433 temporarily by 60 seconds for searching extremely long line,
20434 and then reset to old value when done. Increase expect input
20435 buffer to 10000.
20436
20437 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20438
20439 * gdb.base/list.exp (test_forward_search): Fix to handle very
20440 long source line without overflowing expect's input buffer.
20441
20442 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20443
20444 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20445 "buffer_full".
20446
20447 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20448 "buffer_full".
20449
20450 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20451 "buffer_full".
20452
20453 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20454 "buffer_full".
20455
20456 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20457
20458 * configure.in (configdirs): Add gdb.threads.
20459 * configure: Regenerated with autoconf.
20460 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20461 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20462 * gdb.threads/configure: New, generated with autoconf.
20463
20464 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20465
20466 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20467
20468 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20469
20470 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20471 each signal's status in the output of "handle all print".
20472 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20473 the \r\n sequence that immediately precedes the gdb prompt.
20474 * gdb.base/a1-selftest.exp: Save original timeout and restore
20475 after test.
20476
20477 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20478
20479 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20480 symbol.
20481
20482 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20483
20484 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20485
20486 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20487
20488 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20489 timeout by 60 seconds.
20490
20491 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20492
20493 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20494 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20495 error return.
20496
20497 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20498
20499 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20500 gdb initialization, also report how long dejagnu waited. Restore
20501 old timeout before doing error return. Temporarily increase timeout
20502 by 3 minutes to allow for slow startups over heavy NFS use.
20503
20504 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20505
20506 * lib/gdb.exp: Report timeout value for verbosity level 2.
20507 * config/gdbserver.exp: Ditto.
20508 * config/hppro.exp: Ditto.
20509 * config/mips-gdb.exp: Ditto.
20510 * config/monitor.exp: Ditto.
20511 * config/netware.exp: Ditto.
20512 * config/sim-gdb.exp: Ditto.
20513 * config/slite-gdb.exp: Ditto.
20514 * config/udi-gdb.exp: Ditto.
20515 * config/unix-gdb.exp: Ditto.
20516 * config/vx-gdb.exp: Ditto.
20517 * gdb.base/a1-selftest.exp: Ditto.
20518 * gdb.base/a2-run.exp: Ditto.
20519 * gdb.base/break.exp: Ditto.
20520 * gdb.base/corefile.exp: Ditto.
20521 * gdb.base/list.exp: Ditto.
20522 * gdb.base/recurse.exp: Ditto.
20523 * gdb.base/scope.exp: Ditto.
20524 * gdb.base/signals.exp: Ditto.
20525
20526 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20527
20528 * gdb.threads/Makefile.in (docdir): Removed.
20529
20530 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20531
20532 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20533 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20534 @srcdir@.
20535 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20536 autoconf 2.5 or higher.
20537 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20538
20539 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20540
20541 * configure: Regenerated.
20542 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20543 avoid name clashes with SunOS headers.
20544
20545 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20546
20547 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20548
20549 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20550
20551 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20552 prototype information ends up in the compiler info file.
20553
20554 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20555
20556 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20557 attempting to regenerate it. Eliminate use of a temporary file
20558 and just generate the info file directly. Source it immediately,
20559 for consistency of use.
20560 * gdb.base/corefile.exp: Ditto
20561 * gdb.base/exprs.exp: Ditto.
20562 * gdb.base/funcargs.exp: Ditto.
20563 * gdb.base/langs.exp: Ditto.
20564 * gdb.base/list.exp: Ditto.
20565 * gdb.base/mips_pro.exp: Ditto.
20566 * gdb.base/nodebug.exp: Ditto.
20567 * gdb.base/opaque.exp: Ditto.
20568 * gdb.base/ptype.exp: Ditto.
20569 * gdb.base/scope.exp: Ditto.
20570 * gdb.base/setvar.exp: Ditto.
20571 * gdb.base/signals.exp: Ditto.
20572 * gdb.base/whatis.exp: Ditto.
20573 * gdb.c++/templates.exp: Ditto.
20574 * gdb.c++/virtfunc.exp: Ditto.
20575 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20576 whether or not to add -lstdc++ to the compile command line args.
20577
20578 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20579
20580 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20581 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20582 Increase timeout, a lot of single stepping might be needed if the
20583 target has no hardware watchpoints.
20584
20585 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20586
20587 * gdb.base/break.exp: Ignore compiler warnings when compiling
20588 break.c.
20589 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20590 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20591 from remote-sim.
20592 * gdb.base/exprs.exp: Add h8300 xfails.
20593 * gdb.base/funcargs.exp: Likewise.
20594 * gdb.base/nodebug.exp: Likewise.
20595 * gdb.base/printcmds.exp: Likewise.
20596 * gdb.base/ptype.exp: Likewise.
20597 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20598 h8300 xfails.
20599 * gdb.base/return.exp: Handle float/double precision problems
20600 on the h8300.
20601 * gdb.base/funcargs.c: Explicitly make last constant argument to
20602 call_after_alloca_subr an unsigned long type.
20603 * gdb.base/return.c: Include stdio.h.
20604
20605 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20606
20607 * config/abug.exp: New file for the older Motorola Bug monitor
20608 that runs on the mvme13x series VME boards.
20609 * config/monitor.exp: Use the new config array for target settings
20610 if they exist.
20611
20612 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20613
20614 * sim-gdb.exp: Make the SH simulator allocate less space when
20615 it is targeted.
20616
20617 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20618
20619 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20620 test.
20621
20622 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20623
20624 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20625 "rs6000-*-*" for "list function in include file" when gcc compiled.
20626 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20627 for "p ctable1[120]".
20628 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20629 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20630 Remove setup_xfail for "rs6000-*-*" for
20631 "print 'scope0.c'::filelocal before run".
20632 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20633 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20634 since some compilers don't allow both options to be given
20635 on the same command line. Create object file and move it.
20636
20637 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20638
20639 * gdb.base/corefile.exp: Always regenerate the core file, since
20640 we always regenerate the coremaker program. Detect special case
20641 where registers cannot be read from core file.
20642
20643 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20644
20645 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20646 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20647 * gdb.c++/templates.exp: Only match on basename of file since
20648 some formats like xcoff don't encode directory information.
20649 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20650 and rs6000 AIX xcoff targets.
20651 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20652 * configure: Regenerate.
20653 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20654 here, rather than in distclean.
20655
20656 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20657
20658 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20659 defined, and use it to compile the test case with -O2. The
20660 native compilation still uses no optimization.
20661 * gdb.base/mips_pro.c: Remove inline assembly code since
20662 it is compiled PIC by default, which results in assembler
20663 warnings that make the testsuite think the compilation
20664 was unsuccessful.
20665
20666 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20667
20668 * gdb.c++/misc.exp: Add note to message for
20669 "print s.a for foo struct" that this is a known gcc 2.7.2
20670 and earlier bug.
20671
20672 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20673
20674 * gdb.base/break.exp: Fix pattern for matching "Delete all
20675 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20676 setup_xfail for deleting all breakpoints test. Fix various
20677 timeout messages to include "(timeout)".
20678 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20679 for "p t_float_values2(3.14159,float_val2)".
20680 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20681 for "continue to call2g" when gcc compiled.
20682 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20683 "up to foo in langs.exp", "show language at foo in langs.exp",
20684 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20685 and "show language at fsub in langs.exp".
20686 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20687 "list line 1 in include file", "list message for lines past EOF",
20688 "list function in include file", "list list0.h:foo", and
20689 "list filename:function; nonexistant function".
20690 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20691 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20692 and "ptype t_char_array" to be for native cc only.
20693
20694 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20695
20696 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
20697 setup_xfail for "print coremaker_bss", "print coremaker_ro",
20698 "print func2::coremaker_local", and "backtrace in corefile.exp".
20699
20700 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20701
20702 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20703 "bt in signals.exp". This problem only appears when running
20704 the testsuite, and then only intermittently.
20705
20706 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20707
20708 * gdb.base/return.exp (return_tests): Differentiate between
20709 two tests of continuing.
20710
20711 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20712
20713 * */Makefile.in (maintainer-clean): Remove config.log.
20714 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20715 * gdb.c++/Makefile.in (PROGS): Add inherit.
20716 (clean): Remove *.ci.
20717
20718 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20719
20720 * gdb.c++/misc.cc: Add test code from Mike Stump.
20721 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20722
20723 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20724
20725 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20726 to "alpha-*-osf2*" and add comment.
20727 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
20728 setup_xfail for "step over execarg initialization" and
20729 "step over corearg initialization".
20730 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20731 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20732 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
20733 gcc compiled for "print coremaker_bss", "print coremaker_ro",
20734 "print func2::coremaker_local", and "backtrace in corefile.exp".
20735 * gdb.base/signals.exp: Build and source signals.ci.
20736 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20737 to be for gcc only.
20738 * lib/gdb.exp: Move verbose statements outside conditionals.
20739
20740 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20741
20742 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20743 Feb 3 procfs.c change.
20744
20745 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20746
20747 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20748
20749 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20750
20751 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20752 from dejagnu's apparent default of 10 seconds, which gives random
20753 results when running the tests over NFS on moderately loaded systems.
20754 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20755
20756 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20757
20758 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20759 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
20760 result reports.
20761
20762 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20763
20764 * configure.in (CY_AC_PATH_TCLH): Remove.
20765 * configure: Regenerate.
20766
20767 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20768
20769 * gdb.c++/Makefile.in (clean): Add missing '{'.
20770
20771 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20772
20773 * lib/gdb.exp: Provide a default value for noinferior.
20774
20775 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20776 Load libgloss.exp.
20777
20778 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20779
20780 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20781 the executable, not the .o to run the tests from.
20782
20783 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20784
20785 * gdb.base/break.exp: Don't test for program exit or exit status
20786 if $noresults if nonzero.
20787 * gdb.base/langs.exp: Likewise.
20788 * gdb.base/watchpoint.exp: Likewise.
20789
20790 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20791 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20792 trying to compile the testcase.
20793
20794 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20795
20796 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20797 * gdb.base/signals.exp (continue to handler): Likewise.
20798
20799 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20800
20801 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20802
20803 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20804
20805 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20806
20807 * gdb.base/corefile.exp: Recognize "not found" as failure
20808 when trying to determine if a core file was generated.
20809 If no core file was generate the first time, try again without
20810 the ulimit -c to work around braindamaged shells.
20811
20812 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20813
20814 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20815 [] tests with "test" and enclose string in quotes.
20816 * gdb.stabs/configure: Rebuild
20817
20818 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20819
20820 Changes in sync with expect:
20821 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20822 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20823 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20824 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20825 argument to AC_REQUIRE.
20826 * configure: Regenerated.
20827
20828 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20829
20830 * gdb.base/corefile.exp: When generating a core, discard any
20831 error messages about ulimit not found and the "core dumped"
20832 message from the shell that runs the coredumper.
20833
20834 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20835
20836 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20837
20838 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20839 which sed script to run. Expect failure for v_comb test
20840 on PA targets too.
20841
20842 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20843
20844 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20845 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20846
20847 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20848
20849 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20850 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20851 "sparc-sun-solaris*" xfails for "p v_comb".
20852 * lib/gdb.exp (default_gdb_start): Fix typo.
20853 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20854 messages to not include the full program name that caused
20855 the core dump since some systems (such as solaris) apparently
20856 truncate this path to about 80 characters.
20857 When generating a core file first try increasing the core file
20858 size limit to unlimited since some systems may default it to
20859 zero, and it is harmless to try it. Move the test for failing
20860 to generate a core file to where it will actually get executed.
20861 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20862 new gdb result from g++ debug info improvements and make old
20863 pattern obsolescent. Also account for size_t differences
20864 (may be int or long).
20865 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20866 initialization before function call is placed in the delay slot
20867 and thus appears to be skipped over by commands such as "next".
20868
20869 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20870
20871 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20872
20873 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20874
20875 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20876 input source file; fix code to compile test to deal with this
20877 convention.
20878 * gdb.c++/*.exp: Likewise.
20879
20880 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20881
20882 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20883 "bt in signals.exp".
20884
20885 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20886
20887 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20888 "step over execarg initialization" and
20889 "step over corearg initialization".
20890
20891 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20892
20893 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20894 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20895
20896 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20897
20898 From Rob Savoye (rob@poseidon.cygnus.com)
20899 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20900 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20901 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20902 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20903 configure.in}: Major reworking for autoconfig.
20904 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20905 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20906 New files.
20907 * config/unix-gdb.exp: Make GDB global.
20908 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20909 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20910 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20911 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20912 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20913 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20914 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20915 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20916 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20917 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20918 pr-8136.exp, result.exp, string.exp, tuples.exp},
20919 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20920 to returns as necessary, arrange for test to compile own testcase
20921 executable.
20922 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20923
20924 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20925
20926 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20927 clear_xfail at end of test which might not call either pass or fail.
20928 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20929 "backtrace through signal handler".
20930
20931 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20932
20933 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20934 continuing from a job control stop signal.
20935 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20936
20937 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20938
20939 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20940 * gdb.base/corefile.exp: Likewise.
20941 * gdb.base/funcargs.exp: Likewise.
20942
20943 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20944
20945 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20946 * config/monitor.exp: Add support for setting baud rate.
20947
20948 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20949
20950 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20951 i*86-*-linux* xfails for "backtrace through signal handler".
20952 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20953 "print func2::coremaker_local".
20954 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20955 alpha-dec-osf2* xfail for
20956 "delete all breakpoints when none".
20957
20958 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20959
20960 * gdb.base/break.exp: Change test that deletes all breakpoints
20961 when no user breakpoints are installed. A post 4.15 change
20962 causes gdb to no longer prompt in this case.
20963
20964 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20965
20966 * gdb.base/return.exp (return_tests): Change xfail for test
20967 "correct value returned double test" to stop xfailing at
20968 Solaris 2.5. Apparently the bug has been fixed.
20969
20970 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20971
20972 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20973 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20974
20975 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20976
20977 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20978 * gdb.disasm/hppa.s: Corresponding changes.
20979
20980 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20981
20982 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20983 makefile fragment.
20984 * config/mt-hpux: Deleted.
20985
20986 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20987
20988 * Many files: When warning about suppressed tests due to a
20989 nonexistant test binary, avoid incrementing the warning count.
20990
20991 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20992
20993 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20994
20995 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20996
20997 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20998 "sparc-*-solaris2*".
20999
21000 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21001
21002 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21003 Add global and local variables and initialize them.
21004 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21005 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21006 extracts the file name and terminating signal from the core file.
21007 * TODO: Remove note about tests for correct mapping of corefile.
21008 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21009 from optimizing it away.
21010 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21011 handles common blocks.
21012
21013 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21014
21015 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21016 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21017
21018 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21019
21020 * Makefile.in (maintainer-clean): New target, synonym for
21021 realclean.
21022 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21023 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21024 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21025 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21026 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21027 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21028
21029 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21030
21031 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21032 xfails when not gcc compiled for "print foo::funclocal".
21033 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21034 "print foo::funclocal at foo",
21035 "print 'scope1.c'::foo::funclocal at foo",
21036 "print foo::funclocal_bss at foo",
21037 "print 'scope1.c'::foo::funclocal_bss at foo",
21038 "print foo::funclocal_ro at foo",
21039 "print 'scope1.c'::foo::funclocal_ro at foo",
21040 "print bar::funclocal at foo" and
21041 "print 'scope1.c'::bar::funclocal at foo".
21042 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21043 gcc compiled for "print foo::funclocal at bar".
21044 Expand all messages to ensure that they identify that
21045 the test is at bar().
21046 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21047 gcc compiled for:
21048 "ptype on opaque struct pointer (statically)",
21049 "ptype on opaque struct tagname (statically)",
21050 "ptype on opaque struct pointer (dynamically) 1",
21051 "ptype on opaque struct tagname (dynamically) 1",
21052 "ptype on opaque struct pointer (dynamically) 2" and
21053 "ptype on opaque struct tagname (dynamically) 2
21054 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21055 gcc compiled for:
21056 "p datalocal"
21057 "whatis datalocal",
21058 "ptype datalocal",
21059 "p bsslocal",
21060 "whatis bsslocal", and
21061 "ptype bsslocal".
21062 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21063 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21064 when not gcc compiled.
21065 * gdb.base/funcargs.exp (float_and_integral_args): Add
21066 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21067 compiled.
21068 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21069 "backtrace from call6a" when not gcc compiled.
21070 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21071 "backtrace from call7a" when not gcc compiled.
21072 * gdb.base/callfuncs.exp (do_function_calls):
21073 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21074 "p t_char_array_values(char_array_val2,char_array_val1)",
21075 "p t_char_array_values(char_array_val1,char_array_val2)",
21076 "p t_char_array_values("carray 1","carray 2")",
21077 "p t_char_array_values("carray 1",char_array_val2)",
21078 "p t_char_array_values(char_array_val1,"carray 2")",
21079 "p sum_args(1,{2})",
21080 "p sum_args(2,{2,3})",
21081 "p sum_args(3,{2,3,4})",
21082 "p sum_args(4,{2,3,4,5})"
21083 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21084 "backtrace in corefile.exp" when not gcc compiled.
21085
21086 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21087
21088 * gdb.base/signals.exp: Rewrite `handle all print' test as
21089 a procedure. Accept blanks or TABs as whitespace, increase
21090 timeout and expect input buffer size for the large output
21091 from the command. Remove "i*86-*-bsdi2.0" xfail.
21092
21093 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21094
21095 * gdb.base/setvar.exp: Add new testcases for truncation when
21096 assigning invalid values to bitfields.
21097
21098 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21099
21100 * gdb.base/callfuncs.exp (do_function_calls): Remove
21101 mips-sgi-irix* xfail for
21102 "call inferior func with struct - returns char *"
21103 and fix test so that an optional (unsigned char *) cast is
21104 accepted in the result.
21105
21106 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21107
21108 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21109 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21110 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21111 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21112 that accidentally got checked in.
21113
21114 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21115
21116 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
21117 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21118 compiled test.
21119 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21120 Add mips-sgi-irix5* xfail for not gcc compiled.
21121 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21122 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21123 "p top", "whatis top", "p middle", and "whatis middle".
21124 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21125 "whatis signed char" for not gcc compiled.
21126 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21127 "set variable signed char=-1 (-1)" and
21128 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21129 * gdb.base/funcargs.exp (float_and_integral_args):
21130 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21131 Add mips-sgi-irix* xfail when not gcc compiled for
21132 "continue to call2b".
21133 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21134 "continue to call2g".
21135 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21136 "backtrace from call6a"
21137 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21138 "backtrace from call7k".
21139 Add mips-sgi-irix5* xfail when not gcc compiled for
21140 "backtrace from call7a".
21141 (localvars_after_alloca): Fix gdb_test cmds for
21142 "print * after runto ...".
21143 Remove rs6000-*-* xfails for
21144 "print i after runto localvars_after_alloca" and
21145 "print l after runto localvars_after_alloca"
21146 for all compilers.
21147 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
21148 when not compiled with gcc, for:
21149 "print signed char == (minus)",
21150 "print signed char != (minus)",
21151 "print signed char < (minus)",
21152 "print signed char > (minus)".
21153 * gdb.base/callfuncs.exp (do_function_calls):
21154 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21155 "call inferior func with struct - returns char *".
21156 * gdb.base/return.exp (return_tests): Change xfail for
21157 "correct value returned double test" to include Solaris 2.4.
21158 * gdb.base/funcargs.exp (float_and_integral_args):
21159 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21160
21161 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21162
21163 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21164 enumeration bitfields if compiling with GNU C.
21165 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21166 to empty' prompt.
21167
21168 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21169
21170 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21171 test for PRO targets.
21172
21173 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21174 breakpoints in the inferior at any given time by making
21175 two groups of breakpoints for call2*, call6* and call7*
21176 tests.
21177
21178 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21179
21180 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21181 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21182 from optimizing it away.
21183 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21184 "call inferior func with struct".
21185
21186 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21187
21188 * configure.in: Only configure gdb.chill for particular targets.
21189
21190 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21191
21192 * gdb.base/Makefile.in: Add action to .c.o transformation
21193 rule that generates a .ci file for each .o file and remove
21194 explicit .c.o rules except for callfuncs.o.
21195 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21196 generates a .ci file for each .o file and remove explicit
21197 .cc.o rules.
21198 (clean): Remove *.tmp *.ci files.
21199 (EXECUTABLES): Remove templ-info.exp.
21200 * gdb.base/compiler.c: New file.
21201 * gdb.c++/compiler.cc: New file
21202 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21203 Change rs6000-*-* xfail for
21204 "print 'scope0.c'::filelocal_ro" and
21205 "print 'scope1.c'::filelocal" and
21206 "print 'scope1.c'::filelocal_bss" and
21207 "print 'scope1.c'::filelocal_ro" and
21208 "print 'scope1.c'::foo::funclocal" and
21209 "print 'scope1.c'::foo::funclocal_ro" and
21210 "print 'scope1.c'::bar::funclocal" and
21211 "print 'scope0.c'::filelocal_ro" and
21212 "print 'scope1.c'::filelocal at foo" and
21213 "print 'scope1.c'::filelocal_bss at foo" and
21214 "print 'scope1.c'::filelocal_ro at foo" and
21215 "print 'scope1.c'::foo::funclocal at foo" and
21216 "print 'scope1.c'::foo::funclocal_bss at foo" and
21217 "print 'scope1.c'::foo::funclocal_ro at foo" and
21218 "print 'scope1.c'::bar::funclocal at foo" and
21219 "print 'scope0.c'::filelocal_ro" and
21220 "print 'scope1.c'::filelocal" and
21221 "print 'scope1.c'::filelocal_bss" and
21222 "print 'scope1.c'::filelocal_ro" and
21223 "print 'scope1.c'::foo::funclocal" and
21224 "print 'scope1.c'::foo::funclocal_bss" and
21225 "print 'scope1.c'::foo::funclocal_ro" and
21226 "print 'scope1.c'::bar::funclocal" and
21227 "print 'scope1.c'::bar::funclocal_bss"
21228 to only be xfail'd when not compiled with gcc.
21229 Add rs6000-*-* xfail for
21230 "print 'scope0.c'::filelocal_bss before run"
21231 when compiled with gcc.
21232 (test_at_main): Add rs6000-*-* xfail for
21233 "print filelocal_ro in test_at_main"
21234 when compiled with gcc.
21235 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
21236 Add rs6000-*-aix* xfail for
21237 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21238 "ptype t_char_array", not compiled with gcc.
21239 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21240 xfail for "list foo (in include file)" when gcc compiled.
21241 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
21242 (integral_args): Add rs6000-*-* xfail for
21243 "run to call0a" if not compiled with gcc.
21244 (unsigned_integral_args): Add rs6000-*-* xfail for
21245 "run to call1a" if not compiled with gcc.
21246 (float_and_integral_args): Add rs6000-*-* xfail for
21247 "run to call2a" if not compiled with gcc and for
21248 "continue to call2b" for any compiler.
21249 Add rs6000-*-* xfail to
21250 "print f1 after run to call2a" for gcc compiled.
21251 (discard_and_shuffle): Add rs6000-*-* xfail for
21252 "run to call6a".
21253 (shuffle_round_robin): Add rs6000-*-* xfail for
21254 "backtrace from call7a" if not compiled with gcc.
21255 Add rs6000-*-* xfail for
21256 "backtrace from call7b" if compiled with gcc.
21257 (call_after_alloca): Add rs6000-*-* xfail for
21258 "print c in call_after_alloca" and
21259 "print s in call_after_alloca" and
21260 "backtrace from call_after_alloca_subr"
21261 if not compiled with gcc.
21262 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21263 "print c in localvars_in_indirect_call" and
21264 "print c in localvars_in_indirect_call" and
21265 "backtrace in indirectly called function" and
21266 "stepping into indirectly called function"
21267 if not compiled with gcc.
21268 (localvars_after_alloca): Add rs6000-*-* xfail for
21269 "print c after runto localvars_after_alloca" and
21270 "print s after runto localvars_after_alloca" and
21271 "print i after runto localvars_after_alloca" and
21272 "print l after runto localvars_after_alloca"
21273 for all compilers.
21274 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21275 than whatis-info.exp.
21276 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21277 than opaque-info.exp.
21278 Setup rs6000-*-* xfail for
21279 "ptype on opaque struct pointer (statically)" and
21280 "ptype on opaque struct pointer (dynamically)" when
21281 not compiled with gcc.
21282 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21283 rather than callf-info.exp.
21284 (do_function_calls): Add clear_xfail for rs6000-*-* for
21285 "p t_float_values2(3.14159,float_val2)". Seems to work
21286 fine there, both with xlc and gcc. Need to find out what
21287 it is doing right and fix other platforms.
21288 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21289 "call inferior func with struct - returns int",
21290 "call inferior func with struct - returns long",
21291 "call inferior func with struct - returns float",
21292 "call inferior func with struct - returns double",
21293 "call inferior func with struct - returns char *",
21294 but only if not gcc compiled (presumes xlc compiled).
21295 Change rs6000-*-* xfails for
21296 "call inferior func with struct - returns char" and
21297 " call inferior func with struct - returns short" to only
21298 xfail if not using gcc.
21299 (clean mostlyclean): Remove *.ci and *.tmp files.
21300 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21301 than templ-info.exp.
21302 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21303 Add rs6000-*-* xfail for "up to foo in langs.exp"
21304 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
21305 when not gcc compiled.
21306
21307 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21308
21309 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21310 * gdb.base/corefile.exp: Likewise.
21311 * gdb.base/list.exp: Likewise.
21312 * gdb.base/scope.exp: Likewise.
21313 * gdb.base/siganls.exp: Likewise.
21314
21315 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21316 compiler output.
21317 * gdb.base/whatis.exp: Likewise.
21318
21319 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21320
21321 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21322 failure (opcode table has been fixed to match reality).
21323
21324 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21325
21326 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21327 "call inferior func with struct - returns char",
21328 "call inferior func with struct - returns short"
21329
21330 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21331 "print 'scope0.c'::filelocal at main",
21332 "print 'scope0.c'::filelocal_bss in test_at_main",
21333 "print 'scope0.c'::filelocal at foo",
21334 "print 'scope0.c'::filelocal_bss in test_at_foo",
21335 "print 'scope0.c'::filelocal at bar",
21336 "print 'scope0.c'::filelocal_bss in test_at_bar"
21337
21338 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21339 in source file 1". This bug seems to have been fixed with both
21340 gcc and native cc (was native assembler bug?).
21341
21342 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21343
21344 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21345 "backtrace through signal handler" to "i*86-*-sysv4*".
21346 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21347 continue" case. Add "known SVR4 bug" to fail message.
21348 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21349 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21350 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21351 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21352 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21353 "up to foo in langs.exp", "show language at foo in
21354 langs.exp", "up to cppsub_ in langs.exp", "show
21355 language at cppsub_ in langs.exp", "up to fsub in
21356 langs.exp", and "show language at fsub in langs.exp".
21357 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21358 "bactrace in corefile.exp".
21359 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21360 "call inferior function with struct - returns float" and
21361 "call inferior function with struct - returns double".
21362
21363 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21364
21365 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21366 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21367 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21368 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21369
21370 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21371
21372 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21373 (or overriden) "CHILL" macro rather then bare "gcc".
21374 Also look for ../../gcc/xgcc since that is what we will
21375 actually need, not "Makefile". Remove following assignment
21376 of CHILL to CHILL_FOR_TARGET because that results in
21377 recursive definition.
21378
21379 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21380
21381 * gdb.base/corefile.exp: Change xfail for backtrace in
21382 corefile.exp from linuxaout to all linux.
21383 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21384 cases where we miss the breakpoint at the signal handler
21385 for some reason. Setup xfail for linuxoldld/linuxaout and
21386 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21387 hitting SIGURG breakpoint.
21388 * gdb.base/signals.exp: Setup xfail for "next" acting like
21389 continue to add linuxoldld. Setup xfail for all linux for
21390 "next to handler in signals_tests_1", "backtrace in
21391 signals_tests_1", "continue to func1", "pass SIGUSR1",
21392 and continue to handler".
21393
21394 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21395
21396 * Update all FSF addresses except those in COPYING* files.
21397
21398 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21399
21400 * gdb.base/a2-run.exp: Change messages to be more explicit about
21401 the status of args, and quote binfile in results.
21402
21403 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21404
21405 * gdb.base/callfuncs.exp: Add tests for passing structs to
21406 inferior functions and return various types.
21407 * gdb.base/callfuncs.c: Add functions to receive a struct
21408 and return a member of the struct, in various types.
21409
21410 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21411
21412 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21413
21414 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21415
21416 * config/vxworks29k.exp: New file, sources vxworks.exp.
21417
21418 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21419
21420 * config/gdbremote.exp: New file. Testing framework using
21421 gdbserver.
21422
21423 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21424
21425 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21426 "call function when asleep" and "send end of file".
21427 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21428 for "backtrace in corefile.exp".
21429 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21430 for "backtrace through signal handler".
21431 * gdb.base/corefile.exp: Make sure we actually generate a core file
21432 before trying the core tests. Some systems allow the user to suppress
21433 generation of core files and default to that (linux for example).
21434 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21435 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21436
21437 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21438
21439 * gdb.threads: New directory with some crude multi-threaded
21440 gdb tests (step.exp and step2.exp).
21441 * config/mt-lynx (STEP_EXECUTABLE): Define.
21442 (THREADFLAGS): Define.
21443
21444 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21445
21446 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21447
21448 * gdb.base/signals.exp: Disable whole file for lynx until
21449 further notice.
21450
21451 * gdb.base/signals.exp: xfail test where "next" acts like
21452 "continue" for lynx.
21453
21454 * gdb.base/interrupt.exp: xfail test for calling function while
21455 inferior is asleep for lynx.
21456
21457 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21458 than one cr-lf after each command.
21459
21460 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21461
21462 * configure.in: Reinstate setting of stabsdirs variable, fix
21463 typo in setting up configdirs for native builds.
21464
21465 * gdb.base/return.exp: Fix typo in return double test.
21466 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21467 compiler from optimizing them away.
21468
21469 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21470
21471 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21472 sequences to be echo'd by gdb when using gdb_test.
21473 * gdb.chill/chexp.exp: Likewise.
21474 * gdb.fortran/exprs.exp: Likewise
21475
21476 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21477
21478 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21479 after the inferior gdb has started.
21480
21481 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21482 after each command.
21483 * gdb.base/funcargs.exp: Likewise.
21484 * gdb.base/gdbvars.exp: Likewise.
21485 * gdb.base/interrupt.exp: Likewise.
21486 * gdb.base/list.exp: Likewise.
21487 * gdb.base/watchpoint.exp: Likewise.
21488 * gdb.c++/demangle.exp: Likewise.
21489 * gdb.c++/inherit.exp: Likewise.
21490 * gdb.chill/chexp.exp: Likewise.
21491 * gdb.fortran/exprs.exp: Likewise.
21492
21493 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21494 test if we can't handle IO to/from the inferior.
21495
21496 * gdb.c++/misc.exp: Always check for a program already being
21497 started after sending a "run" command to gdb.
21498
21499 * gdb.base/twice.exp: Start with a fresh gdb.
21500
21501 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21502 only depend on gdb's expression code, not the chill runtime.
21503
21504 * gdb.base/return.c: Put return values into variables so we
21505 can have gdb print them rather than depending on the program
21506 to print them.
21507 * gdb.base/return.exp: Corresponding changes.
21508
21509 * lib/gdb.exp: Provide default value for noinferiorio.
21510 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21511 the inferior.
21512
21513 * gdb.base/break.exp: Always check for a program already being
21514 started after sending a "run" command to gdb.
21515 (text_next_with_recursion): Don't check the output from the
21516 program's printf statement. Instead just make sure the program
21517 exited.
21518
21519 * gdb.base/commands.exp: Protect tests which need arguments with
21520 $noargs conditionals.
21521
21522 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21523
21524 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21525 of structure member arrays to match gdb/valops.c:value_addr change.
21526
21527 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21528
21529 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21530 cases.
21531
21532 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21533
21534 * configure.in (configdirs): Remove gdb.chill from default list
21535 of subdirs and then add it back in only if doing a native build.
21536 The current chill compiler does not yet work in any cross build.
21537 * Revert all signal changes from Jul 6.
21538 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21539 for sh-hms targets, allowing these tests to link, with no other
21540 changes. Testing is suppressed by setting "nosignals" in site.exp.
21541
21542 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21543
21544 * configure.in (signaldirs): Define and add to configdirs for all
21545 targets except some specific ones that are known to not support signals.
21546 Also clean up formatting.
21547 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21548 (signals, sigall): Remove rules to build.
21549 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21550 Moved to new gdb.signals directory.
21551 * gdb.signals: New test directory.
21552 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21553 signals.c signals.exp}: New or moved files.
21554
21555 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21556
21557 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21558
21559 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21560
21561 * gdb.base/return.exp: Xfail `return double' test failure
21562 on at least Solaris 2.3 and handle future/past versions on
21563 a case by case basis as appropriate. Also update message
21564 to include i*86 failures.
21565
21566 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21567
21568 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21569
21570 * lib/gdb.exp: Fix comment which erroneously identified
21571 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21572 gdb_file_cmd not gdb_load).
21573 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21574
21575 * gdb.base/setvar.exp: Make test names consistent between pass and
21576 fail cases. Use gdb_test more.
21577
21578 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21579
21580 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21581
21582 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21583
21584 * gdb.base/help.exp: Fix expected help string for `show commands'.
21585
21586 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21587
21588 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21589
21590 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21591 of a text section.
21592
21593 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21594
21595 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21596 that loop eventually terminates. Fix Connection refused logic so
21597 that testsuite will expire nicely.
21598
21599 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21600
21601 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21602 config/rom68k.exp: New tcl glue for the appropriate monitors.
21603 These all just end up calling monitor.exp.
21604 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21605 refused' by retrying. Cleanup some timeout issues.
21606 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21607 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21608 callers don't have to set/restore global timeout variable.
21609
21610 * The following set of changes centralizes management of the global
21611 timeout variable. This way, it can be set in one target dependent
21612 place instead of dozens of places scattered throughout the test suite.
21613 If you need to lengthen a timeout, then you should either set timeout
21614 in one of the config/{target}.exp files, or multiply it by a factor.
21615 Setting it to an absolute value is always going to lose for some
21616 targets.
21617 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21618 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21619 * gdb.base/funcargs.exp: Don't set timeout.
21620 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21621 * gdb.base/printcmds.exp (test_print_string_constants
21622 test_print_array_constants): Don't set timeout.
21623 * gdb.base/ptype.exp: Don't set timeout.
21624 * gdb.base/recurse.exp: Don't set timeout.
21625 * gdb.base/return.exp: Don't set timeout.
21626 * gdb.base/watchpoint.exp: Don't set timeout.
21627 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21628 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21629
21630 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21631
21632 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21633
21634 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21635
21636 * lib/gdb.exp: Disable chill tests for irix5.
21637
21638 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21639
21640 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21641 each test pass or fail.
21642
21643 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21644
21645 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21646 xlc not gcc.
21647
21648 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21649
21650 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21651
21652 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21653
21654 * config/est.exp: Fix copyright and comments. Remove dead code.
21655 Use targetname, serialport and baud variables instead of fixed
21656 constants.
21657 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21658 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21659
21660 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21661
21662 * gdb.base/watchpoint.exp: Don't run
21663 test_watchpoint_triggered_in_syscall for sunos.
21664
21665 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21666
21667 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21668 they don't seem to exist. Do include stdio.h.
21669
21670 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21671
21672 * gdb.base/a1-selftest.exp: Add alpha xfail.
21673
21674 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21675
21676 * gdb.base/watchpoint.c (main): Prompt before calling read().
21677 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21678 Revise accordingly. Remove cruft about sending "123" several
21679 times, until it gets noticed. Clean up the "print buf[0]" stuff
21680 so that it passes or fails, and waits for prompts in the usual way.
21681
21682 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21683
21684 * gdb.base/recurse.exp: Fix comment.
21685
21686 * TODO: Remove item about printing variables in nodebug.exp. Add
21687 item about enabling tests which are only run on some targets.
21688
21689 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21690 fail, make test names unique, use new gdb_test convention
21691 regarding pattern, use gdb_test more, etc.).
21692
21693 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21694 fail, make test names unique, etc.).
21695
21696 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21697
21698 * gdb.base/nodebug.c: Change return type of top and middle to
21699 short.
21700 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21701 are fixed by the recent mdebugread.c changes. Allow `short ()'
21702 as type for top and middle.
21703
21704 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21705
21706 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21707 nearly as I can tell, the whole thing was an accident in Stu's
21708 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21709 to replace a send/expect pair with gdb_test, but ended up only
21710 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21711 of 30 Mar 1995 took care of it, but left this vestigial comment
21712 which I am now nuking.
21713
21714 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21715
21716 * gdb.base/break.exp: Look for different line number for
21717 breakpoint at main depending on usestubs.
21718
21719 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21720
21721 * gdb.base/list.exp: Adjust some alternate expect patterns to
21722 match recent list0.c change. Add alternate expect pattern for
21723 output from `list default lines around main' for optimizing
21724 compilers.
21725
21726 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21727
21728 * lib/gdb.exp: If nosignals is not set, set it to 0.
21729
21730 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21731
21732 * config/slite-gdb.exp: Responds to load symbol table prompt.
21733 * gdb.base/break.exp: Adjust line number, fix rerun.
21734 * gdb.base/langs0.c: Add #ifdef usestubs.
21735
21736 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21737
21738 * gdb.base/list.exp: Adjust line contents after adding new lines in
21739 list0.c. Also fix a syntax error.
21740
21741 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21742 * gdb.base/break.exp: ditto.
21743 * gdb.base/list.exp: ditto.
21744 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21745 * gdb.base/run.c: ditto.
21746 * gdb.base/list0.c: ditto.
21747 * gdb.base/funcargs.c: ditto.
21748
21749 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21750
21751 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21752 $targetname, $serialport and $baud instead of hardwired variables.
21753 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21754 target doesn't support signals.
21755
21756 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21757
21758 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21759
21760 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21761
21762 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21763 Don't rely on the value of an auto variable before it has been
21764 initialized. Use gdb_test more.
21765
21766 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21767
21768 * lib/gdb.exp (default_gdb_version): A version number must start
21769 with a digit, but other than that contains all characters up to
21770 the first whitespace character.
21771
21772 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21773
21774 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21775
21776 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21777
21778 * gdb.c++/*.exp: Warn if executable does not exist. The original
21779 reason for skipping the warning was that configure.in sometimes
21780 intentionally skipped building the executables but the tcl code
21781 had no way of knowing. That (a) was always bogus with respect to
21782 error handling, (b) is no longer true (right now there is no way
21783 to skip C++ tests).
21784
21785 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21786
21787 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21788
21789 * gdb.base/list.exp: Add expect patterns for output from
21790 SunPRO compiled executables.
21791 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21792 types.
21793
21794 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21795
21796 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21797 number (we are already testing that the correct source line text
21798 gets printed).
21799
21800 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21801 that is what is intended, but something needed to be done to get
21802 sunos4 native working again.
21803
21804 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21805
21806 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21807 apparently went with a (very) old xfail.
21808
21809 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21810
21811 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21812 runto_main is a proc in gdb.exp that will do 'step' for target use
21813 stubs.
21814 * gdb.base/exprs.exp: ditto.
21815 * gdb.base/interrupt.exp: ditto.
21816 * gdb.base/opaque.exp: ditto.
21817 * gdb.base/printcmds.exp: ditto.
21818 * gdb.base/ptype.exp: ditto.
21819 * gdb.base/scope.exp: ditto.
21820 * gdb.base/setvar.exp: ditto.
21821 * gdb.base/signals.exp: ditto.
21822 * gdb.base/twice.exp: ditto.
21823 * gdb.c++/classes.exp: ditto.
21824 * gdb.c++/inherit.exp: ditto.
21825 * gdb.c++/templates.exp: ditto.
21826 * gdb.base/break.exp: no run and hit main for stubs. Change line
21827 numbers for breakpoints and info breakpoint.
21828 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21829 breakpoint().
21830 * gdb.base/callfuncs.c: ditto.
21831 * gdb.base/exprs: ditto.
21832 * gdb.base/interrupt.c: ditto.
21833 * gdb.base/opaque0.c: ditto.
21834 * gdb.base/printcmds.c: ditto.
21835 * gdb.base/ptype.c: ditto.
21836 * gdb.base/scope0.c: ditto.
21837 * gdb.base/setvar.c: ditto.
21838 * gdb.base/signals.c: ditto.
21839 * gdb.base/twice.c: ditto.
21840 * gdb.c++/misc.cc: ditto.
21841 * gdb.c++/templates.cc: ditto.
21842
21843 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21844
21845 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21846
21847 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21848 somewhere between `read' and `main.c'. I'm pretty sure the
21849 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21850 and it isn't particularly useful.
21851
21852 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21853
21854 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21855
21856 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21857
21858 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21859
21860 * config/mt-slite: add LIBS and -nostdlib.
21861 * config/slite-gdb.exp: add this new file to support sparclite target.
21862
21863 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21864
21865 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21866
21867 * gdb.base/a2-run.exp: Change argument to istarget from
21868 "*-*-vxworks" to "*-*-vxworks*".
21869 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21870
21871 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21872
21873 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21874 will not runto main but do a 'step' to step out of breakpoint().
21875 * config/mt-slite: add -Dusestubs.
21876
21877 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21878
21879 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21880 instead of just @.
21881
21882 * gdb.base/signals.exp: Add test for "handle all print".
21883 * TODO: Remove "handle all print". Also remove item about
21884 checking copyright date (I don't like the idea of a spurious FAIL
21885 based on when we run the tests).
21886
21887 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21888 for SunOS4 (reason for failure not investigated). Remove
21889 redundant test for $binfile.
21890
21891 * gdb.base/nodebug.c (array_index): Call malloc.
21892
21893 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21894
21895 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21896
21897 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21898 conventions and slightly simplify the matching regexp.
21899
21900 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21901
21902 * gdb.base/break.exp: Update gdb_test invocation to use new
21903 convention.
21904
21905 * lib/gdb.exp: If noargs is not set, set it to 0.
21906
21907 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21908 tests unique.
21909
21910 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21911
21912 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21913
21914 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21915 one argument of type "<non-float parameter>".
21916
21917 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21918
21919 * config/rom68k.exp: New file to support Motorola IDP board.
21920 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21921 * gdb.base/break.c: Change things around so that this program
21922 doesn't depend upon args. This is necessary to make remote
21923 targets work (in general, they can't take args).
21924 * gdb.base/break.exp: Don't try to send args to program. Don't
21925 expect output. Also, replace lots of code with gdb_test.
21926
21927 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21928
21929 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21930 printing of '\'' (which is what the comment says we are testing,
21931 even though we were not), not '''.
21932 (test_integer_literals_rejected): Test that printing ''' is an error.
21933
21934 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21935 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21936 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21937 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21938 Use gdb_test not test_print_accept.
21939 * lib/gdb.exp: Remove test_print_accept.
21940
21941 * gdb.base/signals.exp (signal_tests_1): Make pass message
21942 consistent with fail message.
21943
21944 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21945 unsigned char; the bug (PR 1821) is fixed.
21946
21947 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21948
21949 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21950 successful tests--makes xfailing them work right.
21951
21952 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21953
21954 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21955 only \r\n, not .*. The test can pass .* as the last thing in
21956 $pattern if that is what it wants. In addition to providing this
21957 flexibility, this change should speed up pattern matching in cases
21958 where the pattern already ended with .* (there were a number of
21959 them). This change also helps catch bad patterns--in the old
21960 scheme the typo "char \*" instead of "char \\*" would pass. Now
21961 it is caught.
21962 * Many .exp files: Update callers.
21963
21964 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21965 clearer and does not spuriously match multiple ('s. Likewise for
21966 ) and *.
21967
21968 * gdb.base/nodebug.exp: Test ability to call a function and pass
21969 it a string (even with no debugging info).
21970
21971 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21972 "p '\'", which is the same as "p ''" once tcl gets done with
21973 quoting, to "p '\\'", which I suspect is what is intended (one
21974 backslash gets sent to GDB).
21975
21976 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21977
21978 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21979
21980 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21981 1817) was fixed literally years ago.
21982
21983 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21984
21985 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21986 test, it causes stepping out of call_after_alloca_subr with
21987 optimizing compilers.
21988 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21989 fails.
21990
21991 * gdb.c++/templates.exp: Source templ-info.exp only if
21992 the templates executable exists.
21993
21994 * gdb.c++/misc.cc (class Contains_static_instance,
21995 class Contains_nested_static_instance),
21996 gdb.c++/classes.exp (test_static_members): Test printing of
21997 a class that contains a static instance of the class.
21998
21999 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22000
22001 * gdb.base/langs2.c (cppsub_): Don't prototype.
22002 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22003 only, I believe).
22004
22005 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22006
22007 * lib/gdb.exp (skip_chill_tests): New procedure.
22008
22009 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22010
22011 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22012
22013 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22014 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22015
22016 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22017
22018 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22019
22020 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22021 disassemble 8, not 16, instructions for part 4.
22022
22023 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22024 support the latter anymore.
22025
22026 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22027 -DNO_PROTOTYPES.
22028 * gdb.base/callfuncs.c: Control use of prototypes based on
22029 NO_PROTOTYPES, not __STDC__.
22030 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22031 t_float_values2 tests if prototypes in use.
22032
22033 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22034 t_double_values): When checking differences against DELTA, check
22035 that difference is within the range (-DELTA,DELTA), not just
22036 (-infinity,DELTA).
22037
22038 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22039
22040 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22041 'file' command firts, then 'target', then 'load', this is due to gdb
22042 target set up.
22043 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22044
22045 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22046
22047 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22048 FP load/store variants.
22049 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22050
22051 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22052
22053 * gdb.base/term.exp: Do not give a warning if not native, it is
22054 not an abnormal condition.
22055
22056 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22057
22058 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22059 t_char_array".
22060
22061 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22062
22063 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22064 are getting the version number.
22065
22066 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22067 if not native, it is not an abnormal condition.
22068
22069 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22070
22071 * lib/gdb.exp: Just use "file exists", rather than undocumented
22072 dejagnu procedure "findfile".
22073
22074 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22075
22076 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22077 (LDFLAGS): Set to -Xlinker -Ur.
22078
22079 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22080 Removed, these values are set by lib/gdb.exp.
22081
22082 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22083
22084 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22085
22086 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22087 of replicating gdb startup code.
22088
22089 * config/mt-vxworks (LDFLAGS): Set to -r.
22090 (CFLAGS_FOR_TARGET): Removed.
22091
22092 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22093 (gdb) and gdb for vxworks uses (vxgdb).
22094
22095 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22096 executable is not in the tree and host != target, use sed and
22097 program_transform_name to determine the gdb name used by the
22098 target.
22099
22100 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22101 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22102
22103 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22104
22105 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22106 floats, chars, and shorts where there are ANSI-style function
22107 definitions.
22108
22109 * gdb.base/langs.exp, gdb.base/langs*: New test.
22110 * gdb.base/Makefile.in: Build it.
22111 * TODO: Remove item about checking that C names don't get C++
22112 demangling applied; this test tests it.
22113
22114 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22115
22116 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22117 went with the const70 xfail. The xfail went away a year ago.
22118
22119 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22120
22121 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22122 for hp300.
22123
22124 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22125
22126 * gdb.base/a1-selftest.exp: Don't run on hp300.
22127
22128 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22129
22130 * Makefile.in (site.exp): Set host_alias and target_alias as well
22131 as host_triplet and target_triplet.
22132
22133 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22134
22135 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22136
22137 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22138 places as other ecoff systems).
22139
22140 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22141 ultrix.
22142
22143 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22144
22145 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22146 remove them.
22147 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22148 variable and "variable" in addition to "data variable".
22149 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22150
22151 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22152 2.
22153 * gdb.base/list1.c (long_line): Add additional statement at start
22154 of function.
22155 * gdb.base/list.exp (test_forward_search): Update line number to
22156 reflect new statement.
22157
22158 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22159
22160 * gdb.base/signals.exp: Reinitialize searched source directories
22161 after gdb_start call.
22162
22163 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22164
22165 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22166 * gdb.stabs/Makefile.in: Likewise.
22167
22168 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22169 change. Instead split the tests into smaller pieces.
22170 * gdb.disasm/hppa.s: Corresponding changes.
22171
22172 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22173
22174 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22175 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22176
22177 * gdb.base/funcargs.exp: Modify many tests so that every test
22178 either passes or fails. Make some test names unique.
22179
22180 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22181
22182 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22183 Call stty to set interrupt character.
22184
22185 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22186 for HP assembler versus GNU assembler based on actual behavior of
22187 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22188
22189 * TODO: Suggest a few more stepping tests.
22190
22191 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22192
22193 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22194 restart GDB for h8300 after a continue.
22195 (return): Add pattern to match a29k-udi behavior.
22196 * gdb.base/nodebug.exp: Remove obsolete comment.
22197 * gdb.base/regs.exp: New file, testing of register displays.
22198 * gdb.base/return.exp: Fix typo in reference to $objdir.
22199 * gdb.base/whatis.exp: Always start with a fresh GDB.
22200
22201 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22202
22203 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22204 higher, these tests generate a lot of output.
22205
22206 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22207
22208 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22209 code following the catch silently ignored some errors; without the
22210 catch they should be thrown like any other tcl error. Also, the
22211 catch used "" instead of {} which meant all the callers who wanted
22212 to include one of the characters "[]$ had to quote it an extra time.
22213 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22214 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22215 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22216 Remove extra quoting.
22217
22218 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22219
22220 * gdb.base/commands.exp: Make test names unique; every test either
22221 passes or fails. Update some comments.
22222
22223 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22224
22225 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22226
22227 The following fixes a FAIL caused by the fact that the alpha stabs
22228 configuration didn't use the ".if alpha" code in weird.def.
22229 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22230 bit pointer, so the 32 bit version works even on the alpha.
22231 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22232 Remove the stuff which allowed us to have separate versions for
22233 alpha and everything else.
22234
22235 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22236 regexp which "info func operator\[\](" is supposed to match. Fix
22237 string to send to GDB. Note that GDB still doesn't work right. Add a
22238 new test for "info func .perator\[\](" which GDB does handle correctly.
22239
22240 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22241
22242 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22243
22244 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22245 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22246 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22247 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22248 it makes the tests harder to understand and confuses test-o-matic.
22249 The preferred style is that each test provides a PASS or a FAIL,
22250 and has a unique message (e.g. "continue #54" not just "continue")
22251 which is the same for the pass and the fail.
22252 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22253 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22254 to lib/gdb.exp.
22255 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22256 prt_accept which was basically the same thing. Likewise for
22257 test_print_reject and prt_reject.
22258 * lib/gdb.exp (test_print_reject): Add some more error message
22259 patterns to match from the former printcmds.exp (prt_reject).
22260 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22261 One defect of the passcount stuff is that some of it failed to
22262 report XPASS where appropriate.
22263 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22264 stuff before and after arg in expected pattern.
22265 (test_paddr_operator_functions): Re-do test without print_addr_of;
22266 this is the only test which seems to want extra stuff there.
22267
22268 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22269
22270 * gdb.base/nodebug.exp: Update new tests to reflect improved
22271 wording of gdb output.
22272
22273 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22274 and "ptype" work on variables in files compiled without -g.
22275 Replaces commented out "maint print msymbol" tests.
22276
22277 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22278
22279 * gdb.base/setvar.c (dummy): Call malloc.
22280
22281 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22282 losing with the irix4 sed.
22283
22284 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22285 ALRM" on irix4.
22286
22287 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22288
22289 * TODO: Remove items about corefile.exp testing new exec-file and
22290 backtrace; both are now done. Add items about printing enums.
22291
22292 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22293
22294 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22295 "get signal $thissig" test fails.
22296
22297 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22298
22299 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22300
22301 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22302 compiler warning with dec alpha compiler.
22303
22304 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22305 extra \n from gdb_test call (this explains why the prompt test
22306 that I removed yesterday was there).
22307 (user_defined_command_test): Remove extra \n and prompt test.
22308
22309 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22310 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22311 doesn't exist.
22312 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22313 Also remove alpha workaround, which turns out to be because
22314 SIGABRT == SIGLOST.
22315
22316 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22317
22318 * gdb.base/help.exp: Don't test "help show".
22319
22320 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22321
22322 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22323 "set print address" is on.
22324 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22325 pass prompt to gdb_test; gdb_test already looks for the prompt.
22326
22327 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22328
22329 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22330 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22331 was to make sure that gdb can read a core file. But (a) the "read
22332 the corefile" part didn't make it to a1-selftest.exp, we just
22333 delete the corefile after creating it, and (b) we test reading
22334 corefiles in corefile.exp anyway. Also, this test left around a
22335 xgdb process on Solaris.
22336
22337 * gdb.base/corefile.exp: Also test backtrace.
22338
22339 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22340
22341 * gdb.base/commands.exp: Test a simple user defined command with
22342 arguments and if/while statements; verify the full user command is
22343 printed by "show user".
22344
22345 * gdb.base/commands.exp: Test if/while commands as part of a
22346 breakpoint command list; verify they appear in breakpoint
22347 information.
22348
22349 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22350
22351 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22352 than by dividing by zero.
22353
22354 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22355
22356 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22357 performing an inferior call with watchpoints enabled.
22358 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22359 call.
22360
22361 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22362
22363 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22364 of "file" command.
22365
22366 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22367 Add additional pattern for when "int operator int(void);" appears
22368 in a different order.
22369
22370 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22371
22372 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22373
22374 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22375 and "signal" with ".*".
22376
22377 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22378
22379 * TODO: Add note about "handle all nostop".
22380
22381 * gdb.base/{sigall.c, sigall.exp}: New test.
22382 * gdb.base/Makefile.in: Add it.
22383
22384 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22385
22386 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22387 when invoking GDB, suppresses any windowing interface.
22388
22389 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22390
22391 * config/sim-gdb: New file, simulator testing support.
22392
22393 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22394
22395 * gdb.base/interrupt.exp: Test calling func1 twice.
22396
22397 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22398
22399 * gdb.base/list.exp (test_forward_search): Set timeout higher
22400 when we'll be getting lots of output from gdb.
22401
22402 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22403 "init_malloc" to after the expect statement. Run it if that
22404 regexp is taken, but also for two others which happen if source
22405 cannot be found.
22406
22407 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22408
22409 * gdb.base/printcmds.exp: New test, for printing register before
22410 program is running.
22411
22412 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22413
22414 * gdb.base/list.exp: Correct some alternate expect patterns
22415 to reflect changes in list1.c.
22416
22417 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22418
22419 * TODO: Add item regarding large frames.
22420
22421 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22422
22423 * TODO: Remove item about enabling return.exp; it
22424 is enabled. Suggest a few more "return" tests.
22425
22426 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22427
22428 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22429 anonymous unions.
22430
22431 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22432
22433 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22434 and pr-5646.o, so "make" is the same as "make all", not "make
22435 pr-4975.o".
22436
22437 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22438
22439 * gdb.base/list.exp: Adjust expectations to reflect changes in
22440 list1.c.
22441 (test_forward_search): New test proc.
22442 * gdb.base/list1.c (long_line): New function, has long source line.
22443
22444 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22445
22446 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22447 additional line of code that was added.
22448
22449 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22450
22451 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22452 tests so as not to overflow expect's input buffers.
22453 * gdb.disasm/hppa.exp: Corresponding changes.
22454
22455 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22456
22457 Beginnings of template debugging tests.
22458 * gdb.c++/templ-info.cc: New file to test for template
22459 debugging capability of the compiler.
22460 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22461 templ-info.cc.
22462 * gdb.c++/templates.cc: Add explicit template instantiations
22463 to enable compiling with -fno-implicit-templates. Add destructor
22464 and 'value' method to T5 class for template tests.
22465 * gdb.c++/templates.exp: Add testcases for printing of template
22466 types, setting breakpoints on template methods and calling a
22467 template method.
22468
22469 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22470
22471 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22472 branch target since some assemblers (gas-2.5) may emit a
22473 relocation for the branch instead of resolving it in the
22474 assembler.
22475
22476 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22477
22478 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22479 through signal handler.
22480
22481 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22482
22483 * configure.in (*-*-netware): Use config/mt-netware.
22484
22485 * config/mt-netware: New file.
22486 * config/mt-i386-netware: Removed, separate configs for different
22487 netware architectures are no longer needed now that we have
22488 --with-headers.
22489
22490 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22491
22492 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22493 by the recent changes to use ANSI C arithmetic conversions.
22494
22495 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22496
22497 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22498 bug involving using inferior_pid to figure out whether to select a
22499 frame.
22500
22501 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22502
22503 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22504 match the current disassembler output.
22505
22506 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22507
22508 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22509 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22510 types, expect "int" as type of integer values (for now).
22511
22512 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22513
22514 * gdb.base/commands.exp: New tests for if/while commands.
22515
22516 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22517
22518 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22519 by .*, since hex values have different syntax in Chill mode.
22520
22521 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22522
22523 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22524 linefeed from expect pattern for repeated types with indices > 9.
22525
22526 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22527
22528 First part of Fortran test suite.
22529 * gdb.fortran: New directory.
22530 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22531
22532 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22533
22534 * gdb.base/default.exp: Update expect pattern for load command
22535 without arguments.
22536
22537 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22538
22539 * configure.in: Change i386 to i[345]86.
22540 * gdb.base/configure.in: Likewise.
22541 * gdb.c++/configure.in: Likewise.
22542 * gdb.chill/configure.in: Likewise.
22543
22544 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22545
22546 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22547 patterns, since that is not a valid context for comments.
22548
22549 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22550
22551 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22552 repeated types and repeated types with indices > 9.
22553
22554 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22555
22556 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22557 2417; old bug has been fixed.
22558
22559 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22560
22561 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22562 send the newline ourselves instead of assuming gdb_test will do
22563 so when passed an empty input string.
22564
22565 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22566 stabs testcode.
22567
22568 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22569
22570 * lib/gdb.exp (gdb_test): Don't send anything if the first
22571 argument is an empty string. This makes cases where we want to
22572 match output that is already in expect's buffers (for example,
22573 matching a breakpoint after gdb_run_cmd has been called) work
22574 reliably.
22575
22576 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22577
22578 * config/netware.exp: New file.
22579
22580 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22581
22582 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22583 the -B and -L prefixes so we can find the debugging stub.
22584
22585 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22586 there and we are using the gcc from the tree.
22587
22588 * gdb.base/types.c: Removed.
22589
22590 * gdb.base/configure.in: Look for makefile fragments in ../config.
22591 Recognize i386-*-netware.
22592 * gdb.c++/configure.in: Likewise.
22593
22594 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22595
22596 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22597 the correct TCL syntax.
22598
22599 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22600
22601 * gdb.base/opaque.exp: use runto instead of messing around with
22602 breakpoints. Simplify by using gdb_test.
22603
22604 * gdb.base/bitfields.exp: restart between tests on netware targets
22605 because breakpoints aren't relocated after target death. Run
22606 processes to completion.
22607
22608 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22609
22610 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22611
22612 * Makefile.in: Remove extra tabs that confuse some versions
22613 of "make". Use the newly built gdb to test with by default,
22614 rather than the first one in the tester's search path.
22615
22616 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22617
22618 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22619
22620 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22621 condition help.
22622
22623 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22624
22625 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22626
22627 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22628 running.
22629 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22630 * gdb.base/funcargs.exp: Likewise.
22631
22632 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22633 * gdb.base/funcargs.exp: Likewise.
22634
22635 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22636 message is "".
22637
22638 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22639
22640 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22641 return,signals,twice}.exp: Handle non-existant binaries
22642 consistantly.
22643
22644 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22645 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22646 might testing a cross development system.
22647
22648 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22649
22650 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22651 runtest script is relative to ${srcdir}, not ${rootdir}.
22652
22653 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22654
22655 * gdb.base/signals.exp: Allow for optionality of breakpoint
22656 address.
22657
22658 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22659
22660 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22661
22662 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22663
22664 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22665 for size_t definition.
22666 * gdb.c++/templates.cc: Likewise
22667
22668 * config/mt-i386-netware: New file.
22669
22670 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22671 defined.
22672
22673 * gdb.base/Makefile.in: Added support for systems that name core
22674 files by appending "core" to the program name.
22675 * gdb.base/a1-selftest.exp: Likewise.
22676
22677 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22678
22679 * gdb.base/return.exp: Add comment and message for `return double'
22680 test failure on Sparc Solaris.
22681
22682 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22683
22684 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22685
22686 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22687
22688 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22689 from optimizing them away.
22690 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22691 patterns to include default constructors and assignment operators,
22692 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22693 character in the output of the virtual base pointer.
22694
22695 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22696
22697 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22698 expression match in print_addr_of to avoid unintented matches.
22699 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22700 versions up to 2.5.8.
22701
22702 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22703
22704 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22705 included file to run under newer versions of expect.
22706 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22707 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22708 Remove xfail for the virtual table of BDDHookV.
22709
22710 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22711
22712 * lib/gdb.exp (string_to_regexp): Set a default result.
22713 (default_gdb_start): Fix misleading message.
22714
22715 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22716
22717 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22718 Remove all CC, etc definitions.
22719 * config/mt-hpux: New file.
22720 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22721 (CFLAGS, LDFLAGS): Define.
22722 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22723
22724 * Makefile.in (site.exp): Don't insert host_os, etc.
22725 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22726 (distclean): Check existence of subdir.
22727 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22728 * gdb.base/Makefile.in: General cleanup and simplification.
22729 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22730 to build executables. Use default rule to build .o files.
22731 (EXPECT, RUNTEST, CC): Fix relative pathname.
22732 (site.exp): Don't insert host_os, etc.
22733 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22734 and/or SIGUSR1 defined.
22735 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22736 * gdb.c++/Makefile.in: General cleanup and simplification.
22737 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22738 (CFLAGS): Remove.
22739 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22740
22741 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22742
22743 * gdb.base/recurse.exp: Misc changes to get tests running again
22744 after Kung's changes to the watchpoint code.
22745 * gdb.base/watchpoint.exp: Likewise.
22746
22747 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22748
22749 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22750
22751 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22752
22753 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22754 * lib/gdb.exp (default_gdb_start): Define.
22755 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22756 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22757 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22758 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22759 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22760 Don't call gdb_target_udi in between tests.
22761
22762 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22763
22764 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22765 (which was basically just a local version of the same thing). In
22766 addition to avoiding duplication, gdb_test_exact is faster.
22767 * lib/gdb.exp (gdb_test_exact): Fix typo.
22768
22769 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22770 don't give an error.
22771
22772 * gdb.base/term.exp: Call delete_breakpoints before starting.
22773
22774 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22775 (t10): Add comment.
22776
22777 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22778
22779 Reorganization of the GDB Test Suite.
22780
22781 * gdb.base: New directory, contains all the basic tests.
22782 * gdb.c++: New directory, tests specific to C++.
22783 * gdb.chill: New directory, tests specific to Chill.
22784 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22785 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22786 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22787 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22788 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22789 t30-31 to chill).
22790 * */gdbme.*: Rename to match appropriate expect scripts.
22791 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22792 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22793 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22794 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22795 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22796 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22797 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22798 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22799 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22800 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22801 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22802 gdb.c++/virtfunc.cc: New names of C++ files.
22803 * gdb.chill/chillvars.ch: New name of Chill file.
22804 * gdb.base/configure.in, gdb.c++/configure.in,
22805 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22806 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22807 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22808 * configure.in (configdirs): Update to reflect directory changes.
22809 (target_abbrev): No longer define for any configuration.
22810 * Makefile.in: Cosmetic improvements to header comments.
22811
22812 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22813
22814 Various changes to gdb.t31:
22815
22816 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22817 * gdbme.ch: Make all key-words and predefineds be upper-case.
22818 * chillvars.exp: Expect key-words and predefinds in upper-case.
22819
22820 * chillvars.exp: Use gdb_test_exact many places.
22821 Change expected output for arrays (which now includes index labels).
22822
22823 * pr-5020.exp, gdme.ch (module PR_5020):
22824 New test, for PR-5020.
22825
22826 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22827
22828 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22829 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22830
22831 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22832
22833 * Makefile.in: Fix bit-rot in definitions of CHILL,
22834 CHILL_FOR_TARGET and Chill_LIB.
22835 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22836 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22837 CHILL, and CHILL_LIB.
22838
22839 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22840
22841 * Revert the previous changes. Please see Rob's directory
22842 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22843
22844 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22845
22846 * Makefile.in, configure.in, config/mips-gdb.exp,
22847 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22848 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22849 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22850 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22851 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22852 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22853 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22854 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22855 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22856 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22857 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22858 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22859 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22860 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22861 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22862 changes from 94Q1.
22863
22864 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22865
22866 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22867 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22868 Rob's new testing fragments.
22869
22870 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22871
22872 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22873 lib/gdb.exp: Replace error proc calls with perror.
22874
22875 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22876
22877 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22878 version also, match on casted version strings, and match on
22879 gdb startup case where the line numbers might be messed up.
22880
22881 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22882
22883 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22884 (CFLAGS): Delete it from here.
22885
22886 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22887
22888 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22889
22890 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22891
22892 * Makefile.in (RUNTEST): Default to just "runtest".
22893
22894 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22895
22896 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22897 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22898 the code has been restructured.
22899
22900 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22901
22902 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22903 \n, not just one of each.
22904
22905 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22906 /bin/cc gives a warning if you do.
22907
22908 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22909
22910 * gdb.t24/demangle.exp: change expect pattern of
22911 __t10ListS_link1ZUiRCUiPT0
22912
22913 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22914
22915 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22916 on local variables in recursive functions.
22917
22918 * gdb.t07/Makefile.in: Build the new test.
22919
22920 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22921
22922 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22923 directly. Instead compare the return values from actual calls.
22924
22925 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22926
22927 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22928
22929 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22930
22931 * From Peter Schauer with minor modifications.
22932 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22933 stops in mid-line in the caller. Add xfail for returning a float
22934 value on X86 targets.
22935
22936 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22937
22938 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22939 to avoid expect lossage.
22940 (fmem_LRbug_tests): Likewise.
22941 * gdb.disasm/hppa.s: Corresponding changes.
22942
22943 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22944 conditions to work with latest dejagnu/expect.
22945
22946 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22947 expected to fail on the PA.
22948 (backtrace in call with trampolines): Explicitly require main
22949 to be frame #1 (no trampolines should show up in backtrace).
22950
22951 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22952 "continue -expect".
22953 * gdb.t06/break.exp: Likewise.
22954 * gdb.t07/watchpoint.exp: Likewise.
22955 * gdb.t13/bitfields.exp: Likewise.
22956 * gdb.t15/{funcargs,return}.exp: Likewise.
22957 * gdb.stabs/weird.exp: Likewise.
22958 * config/{mips,udi}-gdb.exp: Likewise.
22959
22960 * hppa.sed: Enclose comments within a sed command to avoid
22961 losing with the old OSF1 sed.
22962
22963 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22964
22965 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22966 sequent dynix.
22967 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22968 * gdb.t15/funcargs.exp: Conditionally step again to really
22969 finish from marker_call_with_trampolines. Handle the case where
22970 the first step from within call_with_trampolines already steps
22971 us back to main.
22972 * gdb.t15/gdbme.c: Add comment to closing brace of
22973 call_with_trampolines for funcargs.exp.
22974
22975 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22976
22977 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22978 Fix typo(s).
22979
22980 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22981
22982 * gdb.t07/gdbme.c: More code for watchpoint testing.
22983
22984 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22985 "Hardware watchpoint" throughout file.
22986 (test_watchpoint_triggered_in_syscall): New test.
22987 (test_complex_watchpoint): New test.
22988
22989 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22990
22991 * gdbme.c (call_with_trampolines): New function to try and step
22992 into. Tests trampoline problems on the PA.
22993
22994 * funcargs.exp (localvars_in_indirect_call): No longer expect
22995 stepping into indirect call to fail on PAs.
22996 (test_stepping_over_trampolines): New test.
22997
22998 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22999
23000 * TODO: Add suggestions for static member function tests, and
23001 completion tests.
23002
23003 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23004
23005 * TODO: Add suggestions for "p/a" tests.
23006
23007 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23008 (default_gdb_exit): Replace all the hair with sending "quit" to
23009 the process with a simple close.
23010
23011 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23012
23013 * TODO: Add suggestions for shared library tests.
23014
23015 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23016
23017 * TODO: Add suggestions for x/s tests.
23018
23019 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23020
23021 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23022 "enable once", and "enable breakpoints once" with ".*".
23023
23024 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23025
23026 * TODO: Add suggestions about structure passing tests.
23027
23028 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23029
23030 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23031 the primary1 test, use work around if __GNUC__ < 2.
23032 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23033 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23034 Test for bad output rather than waiting for timeout. Issue
23035 second continue only if first continue failed.
23036
23037 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23038
23039 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23040 operator[] test with gdb_test because the old code didn't seem to
23041 be getting the quoting right with the new dejagnu.
23042
23043 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23044
23045 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23046 one from the path.
23047 * Makefile.in: Use a fresh expect if there is one, use runtest
23048 from the src tree if there is one.
23049
23050 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23051
23052 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23053 next over recursive call. Revise the tests from that point on
23054 (which had been skipped) to match GDB's actual (correct) output.
23055
23056 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23057 with next over a breakpoint whose condition is false.
23058
23059 * gdb.t00/help.exp: Comment out "help set print" tests just like
23060 (and for same reason as) "help set" test.
23061
23062 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23063
23064 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23065 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23066
23067 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23068
23069 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23070 necessary gdb_target_udi.
23071
23072 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23073
23074 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23075 1838 and 2417; they are fixed.
23076
23077 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23078 gdb.t03/ptype.exp (ptype structure, ptype union):
23079 Remove xfails; the test is looser than when the xfails were added.
23080
23081 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23082 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23083
23084 * gdb.t01/run.exp: Only run shell test if isnative.
23085
23086 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23087 since "run" automatically loads if necessary. Call gdb_target_udi
23088 after the "file" since "file" kills any execution target.
23089
23090 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23091 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23092 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23093 argument for UDI.
23094
23095 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23096
23097 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23098
23099 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23100
23101 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23102
23103 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23104 properly quoting regexps. This makes the second argument to
23105 demangle a fixed string, which matches the callers, instead of a
23106 shell-style pattern which is what the previous implementation
23107 used. Update some of the callers.
23108
23109 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23110
23111 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23112 (comib_nullified_tests): Fix typo.
23113 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23114 strings. No longer expected to fail.
23115
23116 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23117 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23118 strings. No longer expected to fail.
23119
23120 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23121 string. No longer expected to fail.
23122
23123 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23124
23125 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23126 No longer expected to fail.
23127
23128 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23129 string. No longer expected to fail.
23130
23131 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23132
23133 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23134 only in the names (I probably got most of them). I was even
23135 generous with some which differed in underscores in names, and
23136 probably missed a few, and I *still* was able to remove almost a
23137 third of the file with almost no impact on testsuite coverage.
23138
23139 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23140
23141 * gdb.t00/default.exp: Match udi_attach error message as well as
23142 the one from child_attach.
23143
23144 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23145
23146 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23147
23148 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23149 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23150
23151 * Move test with enums and partial symbols back to
23152 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23153 Reverts the change of 26 May 93. Per today's change to
23154 stabs.texinfo, the behavior that weird.exp was expecting was
23155 unreasonable; what is important is that the compiler+gdb get
23156 things right, which happens with a recent gcc. Also fix the test
23157 to deal with native compilers which put out the stab gdb can't
23158 deal with.
23159
23160 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23161
23162 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23163 in the names. The main thing these accomplish is to slow things down.
23164 Many more such duplicates surely remain.
23165
23166 * gdb.t00/help.exp: Comment out "help support" test just like
23167 (and for same reason as) "help set" test.
23168
23169 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23170
23171 * gdb.t06/break.exp: Remove setup_xfails for
23172 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23173 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23174 about known bug in gcc to include up through 2.5.8.
23175 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23176 well as "_vb$".
23177 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23178 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23179 with latest gcc and gdb.
23180 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23181 well as "_vb$".
23182
23183 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23184
23185 * configure.in (hppa*-*-*): Also configure and build stabs-only
23186 tests.
23187
23188 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23189
23190 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23191 * gdb.t10/configure.in (hppa*-*-*): Use it.
23192
23193 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23194
23195 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23196
23197 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23198
23199 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23200 versions prior to 1.13.5.
23201
23202 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23203
23204 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23205 the prompt is at the start of a line.
23206
23207 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23208
23209 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23210 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23211 in the copr tests now.
23212 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23213 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23214 expected to fail.
23215
23216 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23217
23218 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23219 gdb.t31/chillvars.exp, lib/gdb.exp:
23220 Tweak to run under either version of expect.
23221 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23222 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23223 * gdb.t11/list.exp: Remove extraneous whitespace.
23224
23225 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23226
23227 * gdb.t16/printcmds.exp (test_print_strings): Accept
23228 "(unsigned char *) " before the string.
23229
23230 * TODO: Add notes about printing of fancy types and GDB expressions.
23231
23232 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23233
23234 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23235 * gdb.t06/configure.in: Don't try to compile signals test program
23236 if doing mips-idt-ecoff.
23237
23238 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23239
23240 * Most .exp files: Tweak to run under either version of expect.
23241
23242 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23243
23244 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23245 xfails; I'm not sure why they are failing, but not because of PR 1806.
23246
23247 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23248
23249 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23250 defined in lib/gdb.exp.
23251
23252 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23253
23254 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23255 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23256 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23257 have to be typeless.
23258
23259 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23260
23261 * TODO: Add suggestion for copyright year test.
23262
23263 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23264
23265 * configure.in (*-*-lynxos*): Add stabs tests.
23266
23267 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23268
23269 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23270 so insert a tab before any assembler directive in column zero.
23271
23272 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23273 stores.
23274 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23275 stores.
23276 (fpu_short_memory_tests): Likewise.
23277
23278 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23279
23280 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23281 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23282 .stabs directives in comments.
23283
23284 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23285
23286 * TODO: New file, describing tests we could write.
23287 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23288
23289 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23290
23291 * gdb.t06/signals.exp: Add kludge to force re-sync.
23292
23293 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23294 to xgdb instead of gdb, get out of gdb.
23295
23296 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23297
23298 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23299 for info.
23300
23301 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23302
23303 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23304 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23305 * gdb.stabs/hppa.sed: New sed script for the PA.
23306
23307 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23308
23309 * gdb.stabs: Re-write weird.def and configuration to use sed
23310 instead of cpp. sed is portable and POSIX; cpp is neither.
23311
23312 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23313
23314 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23315
23316 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23317
23318 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23319
23320 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23321
23322 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23323 "_vb$".
23324 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23325 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23326
23327 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23328
23329 * lib/gdb.exp: Comment out code which depends on non-existent
23330 `transform' procedure.
23331
23332 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23333
23334 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23335 * lib/gdb.exp: Transform tool name.
23336 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23337 1.1's new error handling system.
23338
23339 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23340
23341 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23342
23343 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23344
23345 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23346 They made pattern matching so slow that timeouts happened on
23347 heavily loaded systems. Now any output from "show print" which
23348 gets us back to the GDB prompt is a PASS.
23349
23350 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23351
23352 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23353
23354 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23355
23356 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23357
23358 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23359 It is not from PR 3220.
23360
23361 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23362
23363 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23364 just started failing because they depended on the order the
23365 subcommands are presented, or exact docstring text. This kind of
23366 test is a pain and has minimal benefit.
23367
23368 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23369
23370 * gdb.t09/corefile.exp: At end of test, use "core" command with
23371 no arguments.
23372
23373 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23374
23375 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23376 17}/Makefile.in: Make it possible to run the testsuite with Sun
23377 make and CC = cross gcc by adding explicit build rules for .o
23378 files.
23379
23380 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23381
23382 * gdb.t15/funcargs.exp: Don't put comments on same line as
23383 setup_xfail (@#$*%& tcl braindamage!).
23384
23385 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23386
23387 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23388
23389 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23390
23391 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23392 * gdb.t20/inherit.exp: remove three dumplicate entries.
23393
23394 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23395
23396 * gdb.t06/break.exp: For "next over recursive call", fail on any
23397 incorrect output, not just on "factorial (value=2)".
23398
23399 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23400
23401 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23402 working now. Add an xfail if accesing a bss variable causes
23403 a memory error if the target is not yet run.
23404
23405 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23406
23407 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23408 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23409 name of __st* demangling (2 strings). Did Kung really get the
23410 more than 95 others right without testing them?
23411
23412 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23413
23414 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23415
23416 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23417
23418 * configure.in (configdirs): Add gdb.disasm
23419 * gdb.disasm: New directory for GDB disassembler tests.
23420 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23421
23422 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23423
23424 * gdb.t00/help.exp: Don't test "help set".
23425
23426 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23427 from within expect statements. None of these happen anymore and
23428 they cause regressions to be silently unnoticed.
23429
23430 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23431 messages) about known failures with gcc cygnus-2.4.5-930417.
23432
23433 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23434 comp-info.exp so it gets built if it doesn't exist.
23435
23436 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23437 it is no longer used.
23438 * gdb.t13/comp-info.c: Removed.
23439
23440 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23441
23442 * gdb.t06/signals.exp: Add xfail for sun3.
23443
23444 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23445
23446 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23447 relevant because ^C doesn't get sent but failure can be reproduced
23448 interactively).
23449
23450 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23451
23452 * gdb.stabs/alpha.mt: New configuration file for alpha.
23453 * gdb.stabs/configure.in: Use it.
23454 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23455 sharing with alpha.mt, redefine long to word via preprocessor.
23456 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23457 for alpha.
23458 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23459 native cc.
23460 * gdb.t00/teststrategy.exp: Change expect string so that we
23461 consume the `(xgdb)' from the command echo and from the gdb prompt.
23462 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23463 gdb currently compares all values as long, so this failure probably
23464 applies to any configuration where LONGEST is bigger than a target int.
23465 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23466 with gcc.
23467 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23468 to handle opaque pointers, gcc is.
23469 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23470 as first argument. Include <sys/types.h> and change all operator
23471 new definitions to use size_t.
23472 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23473 now that we use size_t.
23474
23475 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23476
23477 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23478 a long or float array cast all array members to the same type.
23479 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23480 with 64 bit longs.
23481 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23482 on alpha.
23483 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23484
23485 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23486
23487 * gdb.t24 (demangle.exp): Constructors of templates have names like
23488 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23489 section 14.6 of the ARM.
23490
23491 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23492 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23493 accomplish little and slow down the testsuite.
23494
23495 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23496 Accept spaces various places.
23497
23498 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23499
23500 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23501 with watchpoint enabled.
23502
23503 * Makefile.in: Remove definition of CC and remove the second
23504 definition of CXX (the "CXX = gcc" one remains). These definitions
23505 were causing backquotes to be expanded within backquotes, which
23506 doesn't work.
23507
23508 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23509
23510 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23511
23512 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23513
23514 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23515 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23516 by mips cc and contains no stabs entries.
23517
23518 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23519
23520 * config/vx-gdb.exp: Use fake device to load files rather than
23521 NFS.
23522 * lib/gdb.exp: New proc to do "file" command.
23523 * config/unix-gdb.exp: Use new "file" proc.
23524
23525 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23526
23527 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23528 Rework board rebooting slightly.
23529 (gdb_exit): Don't exit from the remote shell; there isn't one.
23530 * gdb.stabs/weird.exp: If a program is being debugged already,
23531 kill it.
23532 * gdb.t04/setvar.exp: Stop and restart gdb.
23533 * gdb.t05/expr.exp: Likewise.
23534 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23535 restart gdb and reload the program.
23536 * gdb.t08/opaque.exp: Likewise.
23537 * gdb.t12/scope.exp: Likewise.
23538 * gdb.t13/bitfields.exp: Likewise.
23539 * gdb.t15/funcargs.exp: Likewise.
23540 * gdb.t20/classes.exp: Likewise.
23541 * gdb.t03/ptype.exp: Increase timeout.
23542 * gdb.t16/printcmds.exp (test_print_string_constants,
23543 test_print_array_constants): Likewise.
23544 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23545 * gdb.t20/classes.exp (do_tests): Likewise.
23546 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23547
23548 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23549
23550 * gdb.stabs: Renamed *wierd* to *weird*.
23551
23552 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23553
23554 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23555 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23556
23557 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23558
23559 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23560 (do_tests): Remove xfail for whatis on one_var and two_var.
23561
23562 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23563
23564 * Makefile.in: Made cross building work better by adding
23565 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23566
23567 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23568
23569 * gdb.t15/{return.c,return.exp,Makefile.in}:
23570 New test, currently commented out.
23571
23572 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23573
23574 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23575 still running and removes the leftover named socket so GDb can do
23576 clean restarts.
23577
23578 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23579
23580 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23581 console, not GDB.
23582 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23583 cross testing works better with "make check"
23584 * config/unix-gdb: Use default procedures for exit and version.
23585 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23586 with the newest VxWorks.
23587
23588 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23589
23590 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23591 old form.
23592
23593 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23594 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23595
23596 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23597
23598 * config/unix-gdb.exp: Remove this version of gdb_exit
23599 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23600 Rob says he'll look at it when he gets back to testing boards.
23601
23602 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23603
23604 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23605 an expected fail for certain ptype commands.
23606
23607 * gdb.t20/classes.exp: Update expected results of "ptype class
23608 Base1" to account for the constructor that now appears in the type.
23609
23610 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23611
23612 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23613 disappeared from list.
23614 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23615 "alldone" proc with call to cleanup and exit.
23616 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23617 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23618 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23619 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23620 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23621 "alldone" proc with simple returns that suppress remaining
23622 tests. The alldone proc went away many months ago.
23623
23624 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23625
23626 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23627
23628 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23629
23630 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23631
23632 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23633 as vax gdb will display them.
23634
23635 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23636
23637 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23638 optimizers.
23639
23640 * scope.exp: Change "bad value for localval" messages so each one
23641 is unique.
23642
23643 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23644 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23645
23646 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23647
23648 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23649
23650 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23651 doesn't exist (due to optimization).
23652
23653 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23654
23655 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23656 contains \r because the filename is long.
23657
23658 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23659 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23660
23661 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23662
23663 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23664 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23665 Ultrix.
23666 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23667 int tests.
23668 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23669
23670 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23671
23672 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23673
23674 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
23675 to match does not match the passing case but still matches the
23676 failing case.
23677
23678 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23679
23680 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23681
23682 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23683
23684 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23685 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23686 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23687 Remove various versions of gdb_exit.
23688 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23689 gdb_exit.
23690 * config/unix-gdb.exp: gdb_exit remains here, and should override
23691 the generic version, since it's doing a lot of wierd stuff that
23692 the other versions aren't. FIXME, fold it in, or abandon this
23693 version.
23694
23695 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23696
23697 * gdb.t24/demangle.exp: Add tests for PR 3220.
23698
23699 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23700
23701 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23702
23703 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23704
23705 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23706 "i386-*-*". Works for i486 as well.
23707
23708 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23709 bug, and expand domain of xfail to all SVR4 systems, since the
23710 actual problem is likely to be in generic SVR4 /proc support.
23711
23712 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23713
23714 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23715
23716 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23717
23718 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23719 xfails for other systems. Match a missing 'Continuing.' as an
23720 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23721
23722 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23723 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23724 Only issue warning for missing executables if -all option is used.
23725
23726 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23727 file if -all option is used. It's like an unpredictable XFAIL.
23728
23729 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23730
23731 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23732 for dynamically linked binaries.
23733
23734 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23735
23736 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23737
23738 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23739 to state that this is a known bug in old versions of g++.
23740
23741 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23742
23743 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23744 while waiting for `Continuing'.
23745
23746 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23747
23748 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23749 in text, data, and bss.
23750 * gdb.t10/nodebug.c: Add local and global test variables for
23751 initialized and uninitialized data.
23752
23753 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23754
23755 * config/unix-gdb.exp (gdb_exit): Add "wait".
23756
23757 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23758
23759 * gdb.t06/signals.exp: xfail the continue from the handler for all
23760 targets.
23761
23762 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23763 function with watchpoints enabled, the i386 call dummy starts with
23764 a call.
23765
23766 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23767 386 bsd names its corefiles.
23768
23769 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23770
23771 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23772 compilers don't grok it.
23773 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23774 with small octal ints rather than character constants, which
23775 are signed and might not fit if first promoted to int.
23776
23777 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23778
23779 * gdb.t09/Makefile.in (clean): Remove corefile.
23780
23781 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23782
23783 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23784
23785 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23786 and Jim Kingdon (kingdon@cygnus.com)
23787
23788 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23789 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23790 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23791
23792 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23793
23794 * gdb.t17/interrupt.exp: Add xfail for hppa.
23795
23796 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23797
23798 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23799 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23800 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23801 to determine signed-ness of bitfields and use the result to setup
23802 the xfail.
23803 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23804 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23805 call line is reached if necessary.
23806
23807 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23808
23809 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23810
23811 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23812
23813 * gdb.t06/break.exp: Also test `clear' command.
23814
23815 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23816
23817 * gdb.t00/teststrategy.exp: Remove extra quote.
23818
23819 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23820 watchpoint enabled to be for all non-68k machines.
23821
23822 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23823
23824 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23825
23826 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23827 targets use aout.mt instead of ecoff.mt as gas understands
23828 standard aout format.
23829
23830 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23831
23832 * lib/gdb.exp (runto): Don't insist that function we are running to
23833 was compiled with -g.
23834
23835 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23836
23837 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23838 to get back into the read system call.
23839 Accept leading newline in case where we woke it up.
23840
23841 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23842
23843 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23844 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23845 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23846 enable ecoff configuration.
23847
23848 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23849
23850 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23851
23852 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23853
23854 * gdb.t16/printcmds.exp: Add another printf test.
23855
23856 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23857
23858 * configure.in: If configured -with-stabs on any target, add
23859 stabsdirs to configdirs.
23860
23861 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23862
23863 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23864 fun" so pattern does not match the command itself.
23865
23866 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23867
23868 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23869
23870 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23871
23872 * gdb.t17/interrupt.exp: Test for more things.
23873
23874 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23875
23876 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23877 compiler arranges the code and line numbers.
23878
23879 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23880
23881 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23882
23883 * gdb.t00/help.exp: Increase expect input buffer size.
23884
23885 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23886
23887 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23888
23889 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23890
23891 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23892
23893 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23894 [0-9]*, not just [0-9].
23895
23896 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23897
23898 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23899
23900 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23901
23902 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23903
23904 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23905
23906 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23907
23908 * gdb.t06/signals.c: Add xfails for sun3.
23909
23910 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23911
23912 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23913 test_stepping tests.
23914
23915 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23916
23917 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23918
23919 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23920
23921 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23922 rather than actually putting it through cpp twice.
23923
23924 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23925
23926 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23927
23928 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23929 no longer needed.
23930
23931 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23932
23933 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23934
23935 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23936 C++ features prints as "struct", make it a pass, not an xfail.
23937
23938 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23939
23940 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23941 Don't require VA to print as "class" rather than "struct".
23942
23943 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23944
23945 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23946
23947 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23948
23949 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23950
23951 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23952
23953 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23954 order.
23955
23956 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23957
23958 * gdb.t16/printcmds.exp: Add printf tests.
23959
23960 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23961
23962 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23963
23964 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23965
23966 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23967 pass counts, to counteract any existing or future setup_xfails.
23968
23969 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23970
23971 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23972 {BEGIN,END}_COMMON for common block instead of STAB.
23973 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23974
23975 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23976 intp_var should be N_GSYM not N_LSYM.
23977 wierd-aout.S: Use a label for the value of the N_SO.
23978 wierd.def: Remove all backslashes.
23979 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23980
23981 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23982
23983 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23984 get the expected next to inheritance3.
23985
23986 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23987
23988 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23989 now that gcc-2.4 gets it right.
23990
23991 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23992
23993 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23994
23995 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23996 generating comp-info.exp which works for cross-compilation.
23997
23998 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23999
24000 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24001 "*-*-sysv4.*".
24002
24003 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24004
24005 * gdb.t01/run.exp: Start with a fresh gdb.
24006 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24007 SVR4.x.
24008
24009 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24010
24011 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24012 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24013 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24014 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24015 things to remove.
24016
24017 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24018
24019 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24020 test cases from bug reports.
24021
24022 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24023
24024 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24025 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24026 avoid spurious xfails.
24027 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24028 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24029 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24030
24031 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24032
24033 * gdb.t00/teststrategy.exp: Rework to provide more useful
24034 description of each test, fix problem with systems that define
24035 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24036 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24037 results for "next over recursive call" so timeouts aren't taken
24038 by error.
24039
24040 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24041
24042 * gdb.t12/scope.exp: Test printing of variables before run.
24043
24044 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24045 printed in wrong order due to sorting.
24046
24047 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24048
24049 * gdb.t00/teststrategy.exp: Fix expected results for printing
24050 user entered string constant. Is array of char, prints with no
24051 address.
24052
24053 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24054 commands.
24055 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24056 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24057 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24058 of struct of char arrays.
24059 * gdb.t00/radix.exp: New tests for radix commands.
24060
24061 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24062
24063 * gdb.t16/printcmd.exp: Print a variable before running program
24064 (with xfail for AIX).
24065
24066 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24067
24068 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24069
24070 * gdb.t16/printcmd.exp: Don't print variables before running program.
24071
24072 * gdb.t06/break.exp: Don't require envp argument to main.
24073
24074 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24075
24076 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24077 Add xfails for rs6000.
24078
24079 * gdb.t02/whatis.exp: Change other tests not to re-test something
24080 we already tested.
24081
24082 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24083 each type used has a variable of that type.
24084
24085 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24086
24087 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24088
24089 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24090
24091 * configure.in: change srctrigger to be a file, not a directory
24092
24093 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24094
24095 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24096
24097 * gdb.t11/list.exp: Fixed a couple of typos.
24098
24099 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24100
24101 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24102 is fixed and PR is closed.
24103 * gdb.t16 (gdbme.c): Add simple test string variable.
24104 * gdb.t16 (printcmds.exp): Add tests with simple test string
24105 variable, primarily for boundaries on "set print elements".
24106
24107 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24108
24109 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24110 Make leading 0's optional and don't expect a tab in the middle
24111 of the number.
24112
24113 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24114
24115 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24116 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24117 don't end command passed to gdb_test with newline.
24118
24119 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24120 signed keyword away, don't expect signed bitfields to be signed.
24121
24122 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24123 printing with only as many 1's as are in the field as well as printing
24124 with 32 1's (see comment).
24125
24126 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24127
24128 * gdb.t00/default.exp: Start with a fresh gdb.
24129 * configure.in (configdirs): Remove gdb.t31 until the chill
24130 compiler works again. It no longer is able to find chillrt0
24131 since it isn't in libchill.a anymore.
24132 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24133 wierd.o, make more modular.
24134 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24135 spurious newlines that caused problems.
24136
24137 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24138
24139 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24140 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24141 gdb.stabs/wierd.{exp,def}: Many new tests.
24142
24143 * gdb.t00/default.exp: update info line for new message.
24144
24145 * gdb.t02/{whatis.exp,gdbme.c}:
24146 Test that "char *" doesn't print as "caddr_t".
24147
24148 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24149
24150 * gdb.t00/help.exp: Use .* in place of some help messages which
24151 just changed.
24152 gdb.t00/default.exp: Update "info frame" test for new message.
24153 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24154 Remove some xfails
24155
24156 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24157
24158 * gdb.t03/{gdbme.c,ptype.exp}:
24159 Add tests for typedef'd struct and union without tags.
24160 Also check "whatis" on a variable of a typedef'd enum without a tag.
24161
24162 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24163 PRMS 1823; the bug still exists but isn't reproduced by this test
24164 anymore), and remove rs6000 XFAIL (the bug is fixed).
24165
24166 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24167 duplicated from whatis.exp. For those that are left, accept
24168 "long", "long int", or "int" for long variables (whatis.exp already
24169 has an XFAIL for "int", so no need to fail it here).
24170
24171 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24172 Deal with GCC's names for types now that GDB uses the compiler's names.
24173
24174 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24175 setup_xfail's for sunos4. If we #defined the signed keyword away,
24176 don't expect GDB to know that char it is signed.
24177
24178 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24179
24180 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24181
24182 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24183 should work on any system, regardless of debugging format.
24184 * gdb.t21/demangle.exp: Move to gdb.t24.
24185 * gdb.t24/demangle.exp: Move from gdb.t21.
24186 * gdb.t24/{Makefile.in, configure.in}: New files.
24187
24188 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24189
24190 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24191 * gdb.stabs: New directory.
24192
24193 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24194
24195 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24196 not just "Quit anyway?".
24197
24198 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24199
24200 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24201 that all setup_xfails are immediately followed by clear_xfails.
24202
24203 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24204
24205 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24206 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24207 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24208 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24209 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24210 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24211 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24212 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24213 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24214 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24215 gdb.t31/chillvars.exp, lib/gdb.exp:
24216 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24217 bug-gdb@prep.ai.mit.edu.
24218
24219 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24220
24221 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24222 with 0.0, not integer 0.
24223
24224 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24225
24226 * gdb.t06/break.exp: Update for "Kill the program" message change.
24227
24228 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24229
24230 * Makefile.in (GDBFLAGS): Set to -nx.
24231 * Makefile.in (site.exp): Use GDBFLAGS.
24232
24233 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24234
24235 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24236 Makefiles.
24237 (check): depend on just-check.
24238 (just-check): added so that tests can be run without a noop
24239 build pass.
24240
24241 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24242
24243 Switch to using configure's configdirs.
24244 * Makefile.in (Makefile): add configure.in dependency.
24245 (SUBDIRS): removed redundant assignment.
24246 * configure.in: switch subdirs assignment to configdirs.
24247 * gdb.t*/configure.in: new files.
24248
24249 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24250
24251 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24252 works.
24253
24254 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24255
24256 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24257 in explicit rules. Apparently this is not supported by some makes.
24258
24259 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24260
24261 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24262
24263 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24264
24265 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24266 disappeared.
24267
24268 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24269
24270 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24271
24272 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24273
24274 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24275 watchpoint problem that is now fixed.
24276 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24277 uninitialized convenience variables.
24278 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24279 structures.
24280
24281 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24282
24283 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24284 which causes expect to get out of sync with gdb on long output
24285 from help set.
24286 * gdb.t09/corefile.exp: Make expected pattern for core file
24287 failing signal and frame output format less sun specific.
24288
24289 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24290
24291 * gdb.t31/chillvars.exp: Add and remove initial dummy
24292 breakpoint, so that symbol table is forced in.
24293 (Needed at least on Sunos4, though it seems not SVR4.)
24294 * gdb.t31/chillvars.exp: Update for changed output format.
24295
24296 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24297
24298 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
24299
24300 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24301
24302 * Makefile.in: Added --srcdir when invoking runtest, removed the
24303 need for a local config file. (optional now)
24304
24305 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24306
24307 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24308 failure count used to force early termination. Add some more
24309 expected failures for gnu style demangling.
24310
24311 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24312
24313 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24314 pmi variable from gdb.t20/gdbme to get optimized away.
24315 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24316 Check for written corefile upon timeout _and_ eof.
24317
24318 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24319
24320 * config/unix-gdb.exp: Add missing return 0.
24321
24322 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24323
24324 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24325 test termination.
24326
24327 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24328
24329 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24330 disappeared.
24331
24332 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24333
24334 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24335 time as i860 support works.
24336
24337 * gdb.t15/funcargs.exp: Fix expected outputs to include
24338 "backtrace 100\r" rather than just "backtrace\r", to match last
24339 change.
24340
24341 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24342
24343 * config/udi-gdb.exp (gdb_exit): Remove close command.
24344 (gdb_target_udi): New procedure to set the UDI target.
24345 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24346 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24347 Added waits for prompts after several question responses. Added
24348 some more responses used by a29k-amd-udi-gdb.
24349 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24350 pass different arguments, restart UDI connection after program
24351 completion.
24352 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24353 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24354 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24355 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24356 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24357 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24358 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24359 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24360 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24361 after program completion.
24362 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24363 compiled with a SELECT_VECS setting.
24364 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24365 infinite recursion.
24366
24367 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24368 Added checks for COFF results, and made them expected failures for
24369 all targets. It would be better to make them expected failures
24370 for COFF targets only.
24371
24372 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24373
24374 * Makefile.in: add null dvi target, don't bother to recurse
24375 through test directories for info and install-info; rename
24376 $(datadir) to be dejagnu instead of deja-gnu
24377
24378 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24379
24380 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24381 compiler to coredump.
24382 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24383 code.
24384
24385 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24386
24387 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24388 coredump.
24389 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24390 code.
24391
24392 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24393
24394 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24395 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24396 which in a shell. Deletes xgdb when done.
24397 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24398 Tests the return from the "set height" or "set width" commands.
24399 Added a few return codes where needed.
24400
24401 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24402
24403 * Makefile.in (SUBDIRS): Add gdb.t17.
24404 * configure.in (subdirs): Add gdb.t17.
24405 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24406 files to test gdb's calling of functions in the inferior with
24407 the correct arguments and gdb's ability to retrieve any
24408 result returned.
24409
24410 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24411
24412 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24413 may be called after gdb goes away. Previous versions of expect
24414 needed these to avoid file descriptor leaks, but they cause
24415 errors with the current revision of expect.
24416 * gdb.t00/gdbvars.exp: Use -re on expected output after
24417 setting sevenbit-strings.
24418 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24419 to set sevenbit-strings consistent across tests.
24420 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24421 set sevenbit-strings consistent across tests.
24422
24423 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24424
24425 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24426 expected output to match current "expect" expectations.
24427
24428 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24429
24430 * gdb.t00/default.exp: Change expected output for default "source"
24431 command, to match new gdb behavior which requires a filename to
24432 source.
24433
24434 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24435
24436 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24437 expected fail for i486-*-* that misses the marker2 function.
24438 * gdb.t10/crossload.exp (bfddefault): Allow successful
24439 recognition of a format to pass even if no symbols are found.
24440 Explicitly catch failures where the format is not recognized
24441 or is ambiguous, and add the reason to the fail message.
24442 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24443 the cause is and invalid target and add reason to failure message.
24444 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24445 elf32-i386, elf32-sparc, and elf32-i860.
24446 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24447 Set up expected failure for 'filename'::variable scope resolution,
24448 which is now apparently broken on all targets.
24449 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24450 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24451 gdb.t23/templates.exp: Change failure for missing binfile into
24452 just a warning.
24453 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24454 references.
24455
24456 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24457
24458 * gdb.t00/default.exp: Add expected output for default "source"
24459 command, to match new gdb behavior.
24460 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24461
24462 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24463
24464 * config/*-gdb.exp: returns an error, rather than exiting on
24465 internal errors.
24466
24467 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24468
24469 * gdb.t03/gdbme.c: Add pointer to struct variable.
24470 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24471 referencing struct members.
24472
24473 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24474
24475 * configure.in (mips-idt-ecoff): New target.
24476 * config/mips-gdb.exp: New file for remote board using MIPS remote
24477 debugging protocol.
24478
24479 * Redid configuration scheme. Removed gdb.t*/configure.in.
24480 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24481 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24482 distclean targets. Built executables via .o files. Adjusted
24483 tests to account for source files in $(srcdir) rather than
24484 $(objdir).
24485 * lib/gdb.exp (runto): Don't expect () after the function name,
24486 because it may have arguments.
24487
24488 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24489
24490 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24491 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24492 expected failures for mips-idt-* and mips-sgi-*.
24493 * gdb.t00/default.exp (attach): Kill process if requested.
24494 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24495 that does not read core files.
24496 * gdb.t01/run.exp: Removed checks for exit status code.
24497 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24498 it is linked in.
24499 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24500 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24501 appropriate, rather than doing it by hand.
24502 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24503 execution.
24504 * gdb.t10/crossload.exp: Kill existing program if needed.
24505 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24506 appropriate, rather than doing it by hand. Always increase
24507 timeout for this test, not just for VxWorks.
24508
24509 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24510
24511 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24512 of Chill STRUCT types and STRUCT values.
24513 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24514 than "char".
24515 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24516 struct2): New struct definitions and initializations to test
24517 simple Chill STRUCT types.
24518
24519 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24520
24521 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24522 the null byte at the end of strings.
24523 * gdb.t00/default.exp: Make show version insensitive to copyright
24524 date.
24525 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24526 to avoid dependencies on target char signedness.
24527 * gdb.t16/printcmds.exp: Update expected results for explicitly
24528 unsigned char.
24529 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24530 now work.
24531 * gdb.t21/demangle.exp: Add many more patterns for template
24532 demangling, most of them being expected failures.
24533 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24534 string we are matching for, to match on the whole string.
24535 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24536 and fix a whole bunch that had incorrect expected output but were
24537 passing anyway because of the bug in "proc demangle".
24538 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24539 type.
24540 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24541
24542 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24543
24544 * gdb/testsuite: made modifications to testcases, etc., to allow
24545 them to work properly given the reorganization of deja-gnu and the
24546 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24547
24548 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24549
24550 * gdb/testsuite: Initial creation of gdb/testsuite.
24551 Migrated dejagnu testcases and support files for testing nm to
24552 gdb/testsuite from deja-gnu. These files were moved "as is"
24553 with no modifications. This migration is part of a major overhaul
24554 of dejagnu. The modifications to these testcases, etc., which
24555 will allow them to work with the new version of dejagnu will be
24556 made in a future update.
24557
24558 For additional changes see gdb.mi/ChangeLog-1999-2003.
24559 \f
24560 ;; Local Variables:
24561 ;; mode: change-log
24562 ;; left-margin: 8
24563 ;; fill-column: 74
24564 ;; version-control: never
24565 ;; End:
24566
24567 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24568 2003, 2004, 2005 Free Software Foundation, Inc.
24569 Copying and distribution of this file, with or without modification,
24570 are permitted provided the copyright notice and this notice are preserved.
This page took 0.769528 seconds and 4 git commands to generate.