Andrew Cagney
9d799f85e0
Index: ChangeLog
...
2005-01-24 Andrew Cagney <cagney@gnu.org>
* infrun.c (handle_inferior_event): Handle back-to-back and nested
signals where the step_resume_breakpoint may have already been
inserted.
Index: testsuite/ChangeLog
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
2005-01-24 22:00:59 +00:00
Andrew Cagney
a892c31bde
2005-01-19 Andrew Cagney <cagney@gnu.org>
...
* gdb.stabs/Makefile.in (Makefile): Update dependencies -
configure.ac not configure.in.
2005-01-19 18:40:12 +00:00
Andrew Cagney
1565611803
2005-01-19 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
of powerpc*-*-*.
* gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
* gdb.base/list.exp (test_list_function)
(test_list_filename_and_function): Ditto.
* gdb.base/callfuncs.exp (do_function_calls): Ditto.
2005-01-19 16:57:48 +00:00
Andrew Cagney
17d92a0219
2005-01-16 Andrew Cagney <cagney@gnu.org>
...
* cli/cli-script.c: Include "exceptions.h".
(struct wrapped_read_command_file_args): Define.
(wrapped_read_command_file): New function.
(script_from_file): Replace direct call to read_command_file by
one wrapped by an exception handler.
* exceptions.c (throw_it): Free the old message after creating the
new.
* Makefile.in: Update dependencies.
Index: testsuite/ChangeLog
2005-01-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
2005-01-16 21:20:06 +00:00
Andrew Cagney
a7b01baf32
2005-01-16 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/source-error.gdb, gdb.base/source.exp: New files.
2005-01-16 20:30:18 +00:00
Andrew Cagney
bc8332bb44
Index: ChangeLog
...
2005-01-14 Andrew Cagney <cagney@gnu.org>
* varobj.c (varobj_create): Add missing \n.
Index: testsuite/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
* gdb.mi/mi2-var-cmd.exp: Ditto.
2005-01-14 18:17:20 +00:00
Corinna Vinschen
4d074752ec
* gdb.base/fileio.c: Include unistd.h as required for lseek(2).
2005-01-10 15:58:23 +00:00
Andrew Cagney
bec39cab00
Index: ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: gdbserver/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
* gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.stabs/configure: Re-generate.
* gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.hp/configure: Re-generate.
* gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.objdbg/configure: Re-generate.
* gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.defects/configure: Re-generate.
* gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.compat/configure: Re-generate.
* gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.base-hp/configure: Re-generate.
* gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.aCC/configure: Re-generate.
2005-01-07 21:53:26 +00:00
Andrew Cagney
3ace7edba4
Index: ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
2005-01-07 15:17:01 +00:00
Jim Blandy
f10b16d41f
* gdb.threads/linux-dp.exp: Fix output regexp to handle output
...
under NPTL when there is debugging info available for libpthread.
2004-12-15 18:28:54 +00:00
Jerome Guitton
fb6e181400
* gdb.ada/fixed_points.c: New file.
...
* gdb.ada/fixed_points.exp: New file.
2004-12-13 16:04:20 +00:00
Randolph Chung
fe46cd3ab5
2004-12-03 Randolph Chung <tausq@debian.org>
...
* gdbarch.sh (instruction_nullified): Delete.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* hppa-tdep.c (hppa_target_read_pc): Adjust pc if instruction is
nullified.
(hppa_unwind_pc): Likewise.
(hppa_instruction_nullified): Delete.
(hppa_gdbarch_init): Don't set instruction_nullified method.
* infrun.c (infwait_states): Remove infwait_nullified_state.
(handle_inferior_event): Remove handling of infwait_nullified_state.
Remove handling of nullified instructions.
testsuite/
* gdb.arch/pa-nullify.exp: New file.
* gdb.arch/pa-nullify.s: New file.
2004-12-03 23:59:53 +00:00
Randolph Chung
8de0841b1c
2004-11-30 Randolph Chung <tausq@debian.org>
...
* gdb.threads/thread_check.exp: Use ${srcfile} for test program name
instead of "tbug". Fix regexp to work properly with gdb_test.
2004-12-01 06:56:21 +00:00
Paul N. Hilfinger
c817078231
* gdb.base/bitfields2.exp: New test.
...
* gdb.base/bitfields2.c: New file.
2004-11-29 09:11:20 +00:00
Richard Earnshaw
954269c2f7
* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
2004-11-28 23:17:33 +00:00
Randolph Chung
0107feeddf
2004-11-16 Randolph Chung <tausq@debian.org>
...
* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
2004-11-23 19:51:35 +00:00
Daniel Jacobowitz
f073ae8c82
* gdb.threads/threadapply.exp: Correct "macro details" test.
2004-11-14 18:45:17 +00:00
Jeff Johnston
19ad59e76a
2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.threads/threadapply.exp: New test.
* gdb.threads/threadapply.c: New file.
2004-11-11 21:37:24 +00:00
Mark Kettenis
9cf0961bb8
* gdb.base/savedregs.exp: Correct pattern used for sigtramp
...
frames.
2004-11-07 16:47:57 +00:00
Felix Lee
c789492af8
2004-11-05 Felix Lee <felix+log1@specifixinc.com>
...
* gdb.base/cursal.exp: New file.
* gdb.base/cursal.c: New file.
2004-11-05 08:53:19 +00:00
Andrew Cagney
a1e167bbea
2004-11-03 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
2004-11-03 14:46:18 +00:00
Mark Kettenis
b7cbf173ac
* gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
...
NetBSD/ELF targets.
2004-10-30 21:49:30 +00:00
Joel Brobecker
88f9d34f0c
* gdb.threads/bp_in_thread.c: New file, copied from
...
pthread_cond_wait.c.
* gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
file, rather than reusing the .c file from another testcase.
2004-10-29 21:35:20 +00:00
Joel Brobecker
ca7d6a0cb5
* gdb.ada/null_record.exp: Check where we stopped after
...
sending the start command, instead of where the associated
temporary breakpoint was inserted.
2004-10-21 03:55:08 +00:00
Andrew Cagney
d40539a4fa
Fix changelog (but not mine :-)
2004-10-14 19:15:24 +00:00
Andrew Cagney
0d863d0396
2004-10-14 Andrew Cagney <cagney@gnu.org>
...
* gdb.mi/gdb701.c (main): Return 0.
2004-10-14 19:13:24 +00:00
Daniel Jacobowitz
d11e72cb08
* dw2-intercu.S, dw2-intercu.exp: New files.
2004-10-13 19:07:11 +00:00
Jeff Johnston
e1923096a1
2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.threads/schedlock.c: Add comment markers to use to find
line numbers.
* gdb.threads/schedlock.exp: Adjust regex to handle the new
comments.
* gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
breakpoint lines.
2004-10-12 22:49:17 +00:00
Daniel Jacobowitz
ec8ba2c9a1
* gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
2004-10-12 15:55:06 +00:00
Daniel Jacobowitz
0eb3658b8f
* configure.in: Add gdb.dwarf2.
...
* configure: Regenerated.
* Makefile.in: Add gdb.dwarf2.
* gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
gdb.dwarf2/file1.txt: New files.
2004-10-12 14:41:42 +00:00
Orjan Friberg
a271cc337c
2004-10-11 Orjan Friberg <orjanf@axis.com>
...
* gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
of "run", since the latter doesn't work with remote targets. Adjust
the breakpoint numbering accordingly.
* gdb.threads/pthread_cond_wait.exp: Ditto.
2004-10-11 12:22:33 +00:00
Michael Chastain
895ce074f7
2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/overlays.exp: Update copyright years.
2004-10-08 18:19:18 +00:00
Kazuhiro Inaoka
6be3092d07
2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* gdb.base/overlays.exp: Disable if target is Linux.
2004-10-08 01:01:42 +00:00
Felix Lee
e05389b893
2004-10-06 Felix Lee <felix+log1@specifixinc.com>
...
* config/gdbserver.exp (gdb_load): Use right filename on remote.
2004-10-06 22:51:00 +00:00
Kazuhiro Inaoka
73cb587da4
2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* gdb.asm/asm-source.exp: Add m32r-linux target.
* gdb.asm/m32r-linux.inc: New file.
2004-10-05 04:13:42 +00:00
Andrew Cagney
3c0edcdc64
2004-09-24 Andrew Cagney <cagney@redhat.com>
...
David Anderson <anderson@redhat.com>
* gdb.base/bigcore.exp (extract_heap): If the expect "file size"
command fails, assume things will work.
* gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
(_GNU_SOURCE): Define.
(print_unsigned, print_hex): Change parameter to "long long".
(print_byte_count): New function, use to print byte counts.
(large_off_t, large_lseek, O_LARGEFILE): Define dependant on
O_LARGEFILE.
(main): Compute an upper bound on a corefile in max_core_size.
Limit memory chunk size to max_core_size. Limit total memory
allocated to max_core_size.
2004-09-24 18:44:56 +00:00
Andrew Cagney
4bb3667f25
2004-09-23 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/bigcore.exp: Replace the code that creates a corefile
from a separate process with code that creates a corefile by
making the inferior dump core.
2004-09-23 20:48:04 +00:00
Mark Kettenis
60fe1a5107
* gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
...
block.
2004-09-23 20:29:30 +00:00
Michael Chastain
8e937346a7
2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/constvars.exp (local_compiler_xfail_check_2):
New proc. Accept both gcc 3.x.x and gcc 4.x.x.
* gdb.base/volatile.exp (local_compiler_xfail_check_2):
Likewise.
2004-09-23 18:18:58 +00:00
Jeff Johnston
7213f6d65b
2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.java/jprint.exp: New test case for java inferior call.
* gdb.java/jprint.java: Ditto.
2004-09-20 20:06:29 +00:00
Joel Brobecker
eac69dcad3
* gdb.base/bigcore.exp: Deactivate on IRIX targets.
2004-09-16 05:23:13 +00:00
Michael Chastain
2222769610
2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.threads/killed.c: Include <stdlib.h>.
* gdb.threads/pthreads.c: Likewise.
2004-09-14 20:28:25 +00:00
Michael Chastain
7dd403a4be
2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.threads/killed.c: Add copyright notice.
2004-09-14 15:50:03 +00:00
Jason Molenda
33f2d56778
[gdb/ChangeLog]
...
2004-09-10 Jason Molenda (jmolenda@apple.com )
* cli/cli-script.c (read_next_line): Accept zero or more whitespace
chars after 'if' or 'while' commands in user-defined commands.
[gdb/testsuite/ChangeLog]
2004-09-10 Jason Molenda (jmolenda@apple.com )
* gdb.base/define.exp: Two new tests to verify zero space chars
after 'if' and 'while' commands in a user-defined command is correctly
parsed.
Approved here:
http://sources.redhat.com/ml/gdb-patches/2004-09/msg00160.html
http://sources.redhat.com/ml/gdb-patches/2004-09/msg00157.html
2004-09-10 23:12:12 +00:00
Michael Chastain
2db8e78e67
2004-09-09 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/gdb.exp (gdb_file_cmd): Revert the return value to
previous simple convention. Use a global variable to store
information about what was found.
(gdb_run_cmd): Adapt to reverted return value.
* gdb.base/remote.exp: Adapt to reverted return value.
* gdb.gdb/complaints.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
2004-09-10 01:04:59 +00:00
Andrew Cagney
e05b62ac69
2004-09-08 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
delivery test with duplicate at end of file.
2004-09-08 22:00:47 +00:00
Mark Kettenis
9cbe82da8b
* gdb.base/unload.exp: Link with -dl on *-*-solaris*.
2004-09-06 11:09:46 +00:00
Michael Chastain
564803d921
2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
...
* config/hppro.exp: Removed.
2004-09-05 04:46:24 +00:00
Michael Chastain
7c6807ceba
2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
...
* config/sparclet.exp: Removed.
2004-09-05 04:43:00 +00:00
Michael Chastain
bf7e26dda2
2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
...
* config/udi.exp: Removed.
2004-09-05 04:35:23 +00:00
Manoj Iyer
228af206a6
change use to Use.
2004-09-02 14:14:49 +00:00
Michael Chastain
714e341b13
2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/sigstep.exp (advance): Use "-continue_timer" option
of "exp_continue".
(advancei): Likewise.
2004-09-02 09:47:38 +00:00
Jeff Johnston
1236e623c6
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.base/unload.exp: Fix so messages aren't duplicated.
2004-09-01 23:26:43 +00:00
Manoj Iyer
3bdcad15ba
Use new gdb.exp feature to check for nodebug in the executable for testcases under gdb.gdb
2004-09-01 19:55:00 +00:00
Andrew Cagney
c72b934c3a
2004-09-01 Andrew Cagney <cagney@gnu.org>
...
* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
files.
2004-09-01 18:02:45 +00:00
Jeff Johnston
e4a74b90e7
Remove conflict marker.
2004-09-01 17:56:39 +00:00
Jeff Johnston
edd9b715ac
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.base/unload.exp: Fix expected warning message to match
latest format.
2004-09-01 17:56:20 +00:00
Corinna Vinschen
fb4ce06b35
* gdb.base/call-rt-st.exp: Fix typos.
2004-09-01 16:36:30 +00:00
Manoj Iyer
ce78e7c3cf
Added new testcases:
...
* gdb.threads/thread_check.exp: New testcase.
* gdb.threads/thread_check.c: New testcase.
2004-08-31 20:01:13 +00:00
Andrew Cagney
2dedb159fe
2004-08-31 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigstep.exp (breakpoint_to_handler_entry)
(skip_to_handler_entry): New procedures. Test stepping into a
handler when the breakpoint is at the handler's entry point.
2004-08-31 14:43:18 +00:00
Andrew Cagney
68f5350246
2004-08-30 Andrew Cagney <cagney@gnu.org>
...
Fix PR breakpoints/1757.
* infrun.c (struct execution_control_state): Replace
remove_breakpoints_on_following_step with
step_after_step_resume_breakpoint.
(init_execution_control_state): Update.
(handle_inferior_event): For signals, when stepping off a
breakpoint, set step_after_step_resume_breakpoint. When
BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint.
(keep_going): Delete code handling
remove_breakpoints_on_following_step.
Index: testsuite/ChangeLog
2004-08-30 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
gdb/1757.
2004-08-30 16:59:45 +00:00
Michael Chastain
3e3ffd2b74
2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
...
With code from Manoj Iyer <manjo@austin.ibm.com>:
* lib/gdb.exp (gdb_file_cmd): Return more information in the
return value. Add an arm for "no debugging symbols found".
Change a stray "error" to "perror".
(gdb_run_cmd): Adapt to new return value.
* gdb.base/remote.exp: Adapt to new return value.
* gdb.gdb/complaints.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
2004-08-28 23:55:48 +00:00
Joel Brobecker
4b6f5fd267
* gdb.threads/bp_in_thread.exp: New testcase.
2004-08-27 14:28:15 +00:00
Michael Chastain
e5b2549632
2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR testsuite/1735.
* gdb.threads/schedlock.c (thread_function): Add a cast
to suppress a gcc warning.
* gdb.threads/thread-specific.c (thread_function): Likewise.
2004-08-27 11:13:28 +00:00
Michael Chastain
934353d642
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/unload.c: Include <stdlib.h>.
2004-08-26 19:26:11 +00:00
Michael Chastain
f98a0aef1b
Bleagh. I messed up the part about properly distinguishing
...
between "guy who wrote the patch" (Paul Gilliam) and
"guy who committed the patch" (me).
2004-08-26 18:18:01 +00:00
Michael Chastain
3a77aa2811
2004-08-26 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
synchronized after the "return".
2004-08-26 18:02:59 +00:00
Michael Chastain
5a2e8882db
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/basics.c: Include <stdio.h>.
* gdb.mi/pthreads.c: Include <stdlib.h>.
* gdb.mi/var-cmd.c: Include <stdlib.h>.
2004-08-26 15:13:17 +00:00
Michael Chastain
a96404235b
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.threads/schedlock.c: Add copyright notice.
2004-08-26 13:10:19 +00:00
Andrew Cagney
b04e311dda
2004-08-25 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
(skip_over_handler, breakpoint_over_hander): New test procedures.
(advance, advancei): Add a proper prefix, do not use
rerun_to_main.
* gdb.base/sigstep.c (main): Change to use an infinite loop.
2004-08-25 15:26:19 +00:00
Michael Chastain
7c27f15bf3
2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/basics.c: Add copyright notice.
* gdb.mi/var-cmd.c: Add copyright notice.
2004-08-25 00:54:53 +00:00
Michael Chastain
fffc87aef7
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/gdb.exp: Remove signed_keyword_not_used.
* lib/compiler.c: Likewise.
* lib/compiler.cc: Likewise.
2004-08-23 13:43:15 +00:00
Michael Chastain
d782e0bfb0
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/whatis.c: Remove conditional disabling of "signed".
* gdb.base/whatis.exp: Remove signed_keyword_not_used.
2004-08-23 13:04:03 +00:00
Michael Chastain
96033e836e
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/whatis.c: Add copyright notice.
2004-08-23 12:28:23 +00:00
Mark Kettenis
cf38c229a1
* gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
...
it to skip the breakpoints encoded in the inline assembly.
2004-08-20 22:15:03 +00:00
Michael Chastain
f4b4975661
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
...
* Makefile.in: Add gdb.fortran.
2004-08-20 14:52:36 +00:00
Michael Chastain
2f193b694d
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/call-sc.exp (test_scalar_returns):
Fix cut-and-paste glitch in "Make fun return now".
2004-08-20 10:57:08 +00:00
Michael Chastain
89a237cb65
2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
...
* configure.in: Add gdb.fortran.
* configure: Regenerate.
* gdb.fortran/Makefile.in: New file.
* lib/gdb.exp (skip_fortran_tests): New procedure.
2004-08-17 16:33:28 +00:00
Michael Chastain
469aff8eec
2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
reference to bug-gnu@prep.ai.mit.edu .
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
2004-08-17 09:38:29 +00:00
Mark Kettenis
00b51b9f52
* gdb.base/unload.c (main): Make local variable msg const.
2004-08-15 10:24:08 +00:00
Michael Chastain
45f07fef90
2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
to bug-gnu@prep.ai.mit.edu .
* gdb.mi/mi-disassemble.exp: Likewise.
* gdb.mi/mi-eval.exp: Likewise.
* gdb.mi/mi-file.exp: Likewise. Also, add comment about the
default line number.
* gdb.mi/mi-return.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
number with explicit range test.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-break.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-disassemble.exp: Likewise.
* gdb.mi/mi2-eval.exp: Likewise.
* gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
default line number.
* gdb.mi/mi2-return.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
number with explicit range test.
* gdb.mi/mi2-watch.exp: Likewise.
2004-08-15 10:15:58 +00:00
Michael Chastain
dd8c8ee780
2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
* gdb.cp/m-static.exp: Likewise.
* gdb.cp/rtti.exp: Likewise.
2004-08-15 09:17:30 +00:00
Mark Kettenis
9250410f5d
Remove accidentally committed entry.
2004-08-14 20:21:53 +00:00
Mark Kettenis
4e83846489
* gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
...
* lib/gdb.exp: Recognize relative path names as well as absolute
ones.
2004-08-14 20:17:43 +00:00
Eli Zaretskii
8d8cb83962
* ChangeLog: Prefix Local Variables with semi-colons and indent
...
the reference to older ChangeLog files, to fix fontification in
Emacs.
2004-08-14 13:23:24 +00:00
Michael Chastain
deea8bb061
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/mi-break.exp: Use gdb_get_line_number.
* gdb.mi/mi2-break.exp: Likewise.
2004-08-13 16:21:29 +00:00
Michael Chastain
c3297504ca
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
2004-08-13 10:43:20 +00:00
Michael Chastain
2580899957
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/inherit.exp: Use cp_test_ptype_class.
2004-08-13 10:24:52 +00:00
Michael Chastain
226a8d71a3
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/classes.exp: Remove unused declarations. Just let
test names default instead of providing special names. Remove
extraneous demangler test.
2004-08-13 08:48:46 +00:00
Jeff Johnston
37fdf8545e
2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.base/unload.exp: New test for breakpoints in dynamically
loaded libraries.
* gdb.base/unload.c: Ditto.
* gdb.base/unloadshr.c: Ditto.
2004-08-12 20:22:59 +00:00
Michael Chastain
2d3a79861d
2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/classes.exp (test_ptype_class_objects): Call
cp_test_ptype_class.
(test_enums): Likewise.
2004-08-12 18:51:41 +00:00
Andrew Cagney
cc503c8aa2
2004-08-10 Andrew Cagney <cagney@gnu.org>
...
* main.c (captured_main): Delete call to init_malloc.
* defs.h (init_malloc): Delete declaration.
* utils.c (mmalloc, mrealloc, mcalloc, mfree)
(init_malloc): Delete functions.
Index: testsuite/ChangeLog
2004-08-10 Andrew Cagney <cagney@gnu.org>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
init_malloc call.
2004-08-10 22:36:39 +00:00
Michael Chastain
902f2ccb3d
2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
...
* ChangeLog: Add copyright notice. The notice is copied
from emacs 21.3 top level ChangeLog.
2004-08-10 19:13:35 +00:00
Michael Chastain
78c9050252
2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/cp-support.exp: New file.
* lib/cp-support.exp (cp_test_type_class): New function.
* gdb.cp/derivation.exp: Use cp_test_ptype_class.
* gdb.cp/virtfunc.exp (test_one_ptype): Removed.
* gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
cp_test_ptype_class.
2004-08-09 22:47:50 +00:00
Michael Chastain
88e5ea782b
2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
gdb.mi/mi2-watch.exp: Update copyright years.
2004-08-09 22:21:54 +00:00
Mark Kettenis
6a89fc9c75
* gdb.base/sigaltstack.exp: Provide proper anchoring.
2004-08-09 19:09:30 +00:00
Michael Chastain
1482e0de82
2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
gdb.mi/mi-watch.exp: Update copyright years.
2004-08-09 16:32:44 +00:00
Daniel Jacobowitz
1a5ce3f34d
PR gdb/1738
...
* gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
from a breakpoint with a pending signal.
2004-08-09 13:17:34 +00:00
Daniel Jacobowitz
04f6ecf279
PR gdb/1736
...
* lib/gdb.exp (gdb_test_multiple): Handle return -code return.
* gdb.base/sigaltstack.exp (finish_test): Consume output until
the prompt.
* gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
2004-08-09 13:16:16 +00:00
Daniel Jacobowitz
54d90d3515
* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
2004-08-09 13:15:26 +00:00
Daniel Jacobowitz
d2f6abb049
PR gdb/1736
...
* gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
for i?86-*-linux*.
2004-08-08 23:14:33 +00:00
Daniel Jacobowitz
5598c03d21
* gdb.arch/i386-prologue.exp: Compile without debug information.
2004-08-08 22:15:08 +00:00
Michael Chastain
c6fee70509
2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
rather than asking gdb to search.
2004-08-08 16:16:42 +00:00
Michael Chastain
dd90efdb05
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/gcore.c: Include <string.h>.
2004-08-05 07:44:47 +00:00
Michael Chastain
1e84bec179
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/gcore.c: Add copyright notice.
2004-08-05 07:38:42 +00:00
Michael Chastain
e425eb2b82
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/freebpcmd.c: Include <stdio.h>.
* gdb.base/long_long.c: Include <string.h>.
* gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
* gdb.base/siginfo.c: Include <string.h>.
* gdb.base/sigstep.c: Include <string.h>.
2004-08-05 07:28:20 +00:00
Michael Chastain
cb9aaed5ee
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/complex.c: Include <stdlib.h>.
2004-08-05 00:59:23 +00:00
Michael Chastain
55944f3dc4
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/complex.c: Add copyright notice.
2004-08-05 00:53:01 +00:00
Michael Chastain
7b2953d9c2
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/charset.c: Include <stdlib.h>.
2004-08-05 00:31:49 +00:00
Michael Chastain
c9133d23e8
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/auxv.c: Include <stdlib.h>.
2004-08-05 00:20:38 +00:00
Michael Chastain
0a8490ad3a
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/auxv.c: Add copyright notice.
2004-08-05 00:04:28 +00:00
Michael Chastain
3426d5eccb
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/coremaker.c: Add copyright notice.
* gdb.base/coremaker2.c: Add copyright notice.
2004-08-04 23:55:15 +00:00
Andrew Cagney
8da195dd34
2004-08-04 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/store.exp: Update copyright.
(check_set, up_set, check_struct, up_struct): Add a prefix to test
names, do not import gdb_prompt.
2004-08-04 14:59:56 +00:00
Andrew Cagney
8d394f983f
2004-08-01 Andrew Cagney <cagney@gnu.org>
...
Fix PR testsuite/1729.
* gdb.base/dump.exp: Add test name to callers of capture_value, do
not use capture_value with value 4.
(capture_value): Add optional test name parameter.
(test_reload_saved_value, test_restore_saved_value): Use $msg as
the prefix, pass to capture_value.
2004-08-02 03:13:56 +00:00
Mark Kettenis
b6702b2336
* gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
...
* gdb.arch/i386-prologue.c (standard): New prototype and function.
(main): Call new function.
2004-08-01 14:28:51 +00:00
Michael Chastain
c203e0ca36
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/namespace.exp: Accept more varieties of ptype output.
2004-08-01 01:03:47 +00:00
Michael Chastain
a7995a30f3
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
2004-07-31 10:48:01 +00:00
Michael Chastain
b6eeaf26b3
My last ChangeLog entry was in correct.
...
-* gdb.cp/classes.exp: Accept more varieties of ptype output.
+* gdb.cp/inherit.exp: Accept more varieties of ptype output.
Sorry about that.
[Slow down, cowboy!]
2004-07-31 10:40:27 +00:00
Michael Chastain
9366563b11
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/classes.exp: Accept more varieties of ptype output.
Accept more values of vtbl pointer. Remove some messages
about "obsolete gcc or gdb".
2004-07-31 09:50:12 +00:00
Michael Chastain
2fc1f95015
2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/classes.exp: Accept more varieties of ptype output.
2004-07-31 07:45:35 +00:00
Michael Chastain
c724d49b86
2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/asm-source.exp: Properly convert target board
debug flags from gcc format to binutils format.
2004-07-30 22:09:01 +00:00
Mark Kettenis
736b0fceca
* gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
...
gdb1718". PR backtrace/1718 partially fixed.
2004-07-29 22:02:57 +00:00
Jeff Johnston
5633ea5c9f
2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.threads/watchthreads.exp: New test for threaded watchpoints.
2004-07-27 23:40:49 +00:00
Nick Clifton
575eebb19f
Use -gdwarf2 in preference to -gstabs for Sparc64.
2004-07-27 09:28:42 +00:00
Mark Kettenis
621046191f
* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
...
* gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
(main): Call new function.
2004-07-23 22:08:39 +00:00
Michael Chastain
4a1135b808
2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
...
Test for PR exp/1715.
* gdb.base/radix.exp: Refactor common procedures. Make all
test names unique. Change XFAIL to KFAIL.
2004-07-22 09:56:42 +00:00
Michael Chastain
8a12c1f0c4
2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.ada/gnat_ada.gpr.in: Rename from here ...
* gdb.ada/gnat_ada.gin: ... to here.
* configure.in: Use gnat_ada.gin.
* configure: Regenerate.
2004-07-20 23:11:21 +00:00
Andrew Cagney
23b451cfe2
2004-07-20 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/signals.exp: Replace send_gdb and gdb_expect with
gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
XFAILs. Clean up test messages and comments. Check backtraces.
Delete re-sync code.
2004-07-20 19:59:26 +00:00
Michael Chastain
83938a4eb9
Argh, I screwed up and committed a ChangeLog entry for a patch
...
that is still in the comment period. Sorry!
2004-07-20 00:26:35 +00:00
Michael Chastain
ab618a0235
2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR cli/740.
* gdb.base/annota1.exp: Honor gdb,nosignals.
* gdb.base/annota3.exp: Likewise.
2004-07-20 00:24:41 +00:00
Michael Chastain
46dad34018
2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/java.exp: Update copyright notice.
2004-07-19 21:33:53 +00:00
Andrew Cagney
756d8c7093
2004-07-19 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/selftest.exp: Copy file from here ...
* gdb.gdb/selftest.exp: ... to here.
2004-07-19 13:58:21 +00:00
Andrew Cagney
586027e615
2004-07-16 Andrew Cagney <cagney@redhat.com>
...
* lib/insight-support.exp: Delete file.
* lib/java.exp (java_init): Fix copyright.
2004-07-17 02:03:00 +00:00
Andrew Cagney
029d220040
2004-07-16 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/restore.c: Append "prologue" to comments marking the a
function's prologue.
* gdb.base/restore.exp: Update copyright, re-indent.
(restore_tests): Use gdb_test_multiple. Add "calleeN calls
callerN" prefix where needed. Update patterns that match a
function's prologue.
2004-07-16 22:21:52 +00:00
Michael Chastain
653b62c59c
2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/restore.c: Add copyright notice.
2004-07-16 22:02:02 +00:00
Andrew Cagney
f7d690e5af
2004-07-16 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/logical.exp: Update copyright.
(evaluate): New procedure. Use to re-implement tests using
several tables.
2004-07-16 19:08:42 +00:00
Martin Hunt
d629a7cb0a
2004-07-14 Martin Hunt <hunt@redhat.com>
...
* lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
which fixes some problems where init.tcl was not found.
2004-07-14 18:55:22 +00:00
Andrew Cagney
6bf46641b8
2004-07-13 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sizeof.exp: Skip test when no inferior I/O.
(check_sizeof, check_valueof): Do not include the output in the
test name. Use gdb_test.
(get_valueof): Use gdb_test_multiple.
2004-07-13 17:08:36 +00:00
Andrew Cagney
c4ffd4c07c
2004-07-13 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/step-test.exp: Update copyright. Use
gdb_test_multiple. Ensure that test names do not include
architecture dependent output.
2004-07-13 16:25:46 +00:00
Andrew Cagney
ab89363a82
2004-07-13 Andrew Cagney <cagney@gnu.org>
...
* gdb.gdb/observer.exp: Update copyright.
(setup_test): Use gdb_test_multiple.
(attach_first_observer, attach_second_observer)
(attach_third_observer, detach_first_observer)
(detach_second_observer, detach_third_observer)
(reset_counters, check_counters): Make $message a prefix.
(test_normal_stop_notifications): Add "args" parameter - a list of
init functions to be called. Make $message a prefix,
(test_observer_normal_stop): Change the message prefixes so that
they are unique, pass the attach / detach procedures to
test_normal_stop_notifications.
2004-07-13 14:36:44 +00:00
Andrew Cagney
ec58997a7b
2004-07-13 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/signull.exp (test_segv): Prefix all tests with
"${name}". Clean up test messages.
2004-07-13 13:44:01 +00:00
Andrew Cagney
b475183b5c
2004-07-13 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
2004-07-13 13:10:54 +00:00
Andrew Cagney
9c7bb33213
2004-07-13 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/ena-dis-br.exp: Update copyright.
(break_at): New function. Replace send_gdb with gdb_test,
break_at, and gdb_test_multiple. Replace XFAIL of "continue with
ignore count, not stopped at bpt", with KFAIL.
2004-07-13 13:01:04 +00:00
Corinna Vinschen
2dd95497fe
* gdb.base/attach.exp: Remove cleanupfile handling.
2004-07-13 11:19:22 +00:00
Andrew Cagney
419e626baa
2004-07-12 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/annota1.exp: Cleanup corefile test name.
* gdb.base/annota3.exp: Ditto.
2004-07-12 21:39:35 +00:00
Andrew Cagney
7865082976
2004-07-12 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/signals.exp: Clean up copyright, re-indent.
2004-07-12 15:02:52 +00:00
Andrew Cagney
8b1b32286b
2004-07-12 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/attach.exp: Replace send_gdb and gdb_expect with
gdb_test and gdb_test_multiple.
2004-07-12 14:25:48 +00:00
Jeff Johnston
935c276026
2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.java/jmain.exp: Fix expected line number for main to
break at. Set XFAIL for break at main test since gcj does not
provide line number info for first statement in main.
2004-07-08 21:00:45 +00:00
Andrew Cagney
1279f4ffe5
2004-07-08 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/attach.exp: Cleanup copyright. Re-indent.
2004-07-08 20:04:47 +00:00
Andrew Cagney
1544280f1d
2004-07-08 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigbpt.exp: Make the common part of each test name a
prefix instead of suffix.
2004-07-08 14:19:21 +00:00
Bob Rossi
bcc82369d2
I added the testcase for -file-list-exec-source-files to mi2-file.exp.
...
It should have been added to mi-file.exp. So, here it is.
2004-07-08 01:57:51 +00:00
Jeff Johnston
23f4b0aa1b
2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.java/jmisc.exp: Fix expected output of ptype to look for
the jmisc() constructor instead of <init>.
* gdb.java/jmisc1.exp: Ditto.
2004-07-07 20:08:03 +00:00
Andrew Cagney
56401cd585
2004-07-07 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigbpt.exp (stepi_out): Check for a single step
corrupting the PC.
2004-07-07 17:30:10 +00:00
Michael Chastain
44ae2f6a11
2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp: Accept whitespace change in demangler
output.
2004-07-06 19:36:10 +00:00
Andrew Cagney
45a83408cd
2004-07-06 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
2004-07-06 15:08:54 +00:00
Michael Chastain
d205ad70f2
2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
* lib/compiler.cc: Likewise.
2004-07-02 04:18:17 +00:00
Michael Chastain
06ea1a610f
2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/compiler.cc: Work around string preprocessing problem
with old hp c++ compiler.
* lib/compiler.c: Likewise.
2004-06-30 08:01:33 +00:00
Corinna Vinschen
daab125139
* gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
...
directives to conditionalize symbol prefixing.
* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
* gdb.arch/i386-unwind.c: Use preprocessor directives to
conditionalize symbol prefixing.
* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
2004-06-29 17:52:49 +00:00
Corinna Vinschen
cc98411666
* gdb.base/bigcore.exp: Skip test on Cygwin.
2004-06-29 06:34:50 +00:00
Michael Chastain
c279b077e0
2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
formats for "info register". Use gdb_test_multiple. Fix
the "invalid register" test.
2004-06-28 18:19:47 +00:00
Corinna Vinschen
0e9157473d
* gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
...
PID for Cygwin. Add Cygwin specific strings to check for in some
tests.
(do_attach_tests): Add a test for user interaction when attaching
to a process with no matching symbol table already loaded.
2004-06-28 11:15:31 +00:00
Andrew Cagney
11422c8666
2004-06-26 Andrew Cagney <cagney@gnu.org>
...
Test PR java/1567 and PR java/1565.
* gdb.java/jmain.exp, gdb.java/jmain.java: New files.
* gdb.java/jmisc2.exp: Delete file.
2004-06-27 00:41:39 +00:00
Michael Chastain
cefbce265a
2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
2004-06-26 22:20:50 +00:00
Corinna Vinschen
e19f872c5b
* gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
...
attach process.
2004-06-25 13:52:20 +00:00
Michael Chastain
d931ba3b35
2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/pr-1553.exp: Remove.
2004-06-23 18:36:51 +00:00
Michael Chastain
aef68c4869
2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/pr-1553.cc: Remove.
* gdb.cp/pr-1553.exp: Disable this test.
2004-06-22 18:17:54 +00:00
Jim Blandy
8d5df71af0
Fix PR testsuite/1680.
...
* gdb.arch/i386-sse.exp: Properly quote curly braces in
regular expressions.
2004-06-21 05:00:37 +00:00
Michael Chastain
4ac6f39dda
2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR testsuite/1679.
* gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
Issue an UNSUPPORTED result instead.
2004-06-19 18:58:42 +00:00
Jim Blandy
1b413552e1
* gdb.base/charset.exp: Only send a control-C if we see a new
...
prompt and incomplete command.
2004-06-18 23:12:54 +00:00
Michael Chastain
6daa6ebd43
2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/pr-574.cc: Add copyright notice.
2004-06-18 14:24:54 +00:00
Jim Blandy
51fa4ae02d
* gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
...
cases where the regexp has no groups; this grabs random text from
the previous test suite, whatever that was.
2004-06-17 21:07:42 +00:00
Michael Chastain
8fea26c5a5
2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/printmethod.cc: Add copyright notice.
2004-06-17 18:30:18 +00:00
Michael Chastain
1e3aeb41f2
2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
2004-06-17 04:28:22 +00:00
Andrew Cagney
9d9030bc8f
2004-06-16 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/signull.c: Update copyright. Include <string.h>.
(bowler): Replace data_pointer with data_read
and data_write cases. Add code_descriptor case.
(zero, desc): New array and pointer.
(data, code): Change to simple pointers.
* gdb.base/signull.exp: Fix probe pattern matching a function
descriptor SIGSEGV. Replace data_pointer with data_read and
data_write tests.
2004-06-16 16:40:51 +00:00
Andrew Cagney
acd4ad442c
2004-06-16 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
2004-06-16 15:19:41 +00:00
Michael Chastain
08fd625c2e
2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/long_long.c: Add copyright notice.
2004-06-16 04:27:30 +00:00
Michael Chastain
1903502c83
2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/long_long.exp: Remove reference to
bug-gdb@prep.ai.mit.edu . Change line-number-specific breakpoint
to gdb_breakpoint and gdb_continue_to_breakpoint.
2004-06-16 02:15:36 +00:00
Jim Blandy
83313cb156
* gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
...
endian case.
2004-06-15 18:12:04 +00:00
Andrew Cagney
1bf404efc4
2004-06-14 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/gcore.exp (capture_command_output): Delete the always
passing tests containing inferior values.
* gdb.base/ending-run.exp: Do not include the breakpoint address
in the test message. Update copyright.
* gdb.base/sizeof.exp (check_sizeof): Do not include the type's
size in the test name, use gdb_test_multiple. Update copyright.
2004-06-15 00:16:42 +00:00
Michael Chastain
ef220b3362
2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/ref-types.cc: Add copyright notice.
2004-06-14 16:30:16 +00:00
Michael Chastain
4f70a4c95a
2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
hp_aCC_compiler.
* lib/compiler.cc: Likewise.
* lib/gdb.exp (get_compiler_info): Eval lines only if they are
'set' commands. Log diagnostics for other lines. Set
gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
2004-06-14 15:29:30 +00:00
Michael Chastain
335928accd
2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/try_catch.cc: Add copyright notice.
2004-06-13 16:07:02 +00:00
Michael Chastain
2efb12e85b
2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/userdef.cc: Add copyright notice.
2004-06-12 16:45:49 +00:00
Michael Chastain
0bbed51abe
2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/virtfunc.cc: Add copyright notice.
2004-06-12 01:20:50 +00:00
Randolph Chung
e12a46c96a
2004-06-11 Randolph Chung <tausq@debian.org>
...
* gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
problem.
2004-06-11 23:42:49 +00:00
Andrew Cagney
338e05af82
2004-06-10 Andrew Cagney <cagney@gnu.org>
...
* lib/compiler.cc, lib/compiler.c: Append either
__GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
* gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
instead of gcc-3-3.
2004-06-10 21:38:03 +00:00
Bob Rossi
57c22c6ce1
Add the -file-list-exec-source-files command to MI.
2004-06-10 20:05:45 +00:00
Andrew Cagney
b4d946af3a
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
gdb/1455, bug is specific to "long long" and "double".
2004-06-09 17:27:57 +00:00
Andrew Cagney
dc3f10cb1a
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/structs.exp (test_struct_returns, test_struct_returns)
(test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
fixed.
2004-06-09 14:19:51 +00:00
Andrew Cagney
b5c0bfa20e
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/structs.exp (test_struct_returns): Replace
"return_value_unknown" and "finish_value_unknown" by
"return_value_known" and "finish_value_known". Instead of
"return_value_unknown" iff "finish_value_unknown", check
"return_value_known" implies "finish_value_known".
2004-06-09 13:41:06 +00:00
Martin Hunt
caeb605f5f
2004-06-08 Martin Hunt <hunt@redhat.com>
...
* gdb.base/float.exp: Add pattern for mips targets.
2004-06-08 15:50:59 +00:00
Randolph Chung
c892bb6494
2004-06-08 Randolph Chung <tausq@debian.org>
...
* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
message for unknown architectures more clear.
2004-06-08 05:15:19 +00:00
Joel Brobecker
48306d3ed7
* gdb.ada/null_record.exp: Use "start" instead of "begin" to
...
start the execution of the program.
2004-06-08 05:05:34 +00:00
Jim Blandy
83ecb59f2d
* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
...
* gdb.arch/i386-cpuid.h: New helper file.
2004-06-07 15:38:52 +00:00
Randolph Chung
55264cb45f
2004-06-07 Randolph Chung <tausq@debian.org>
...
* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
has started.
2004-06-07 15:24:44 +00:00
Roland McGrath
23cadb2867
.
2004-06-05 00:11:06 +00:00
Roland McGrath
c1b5970d70
2004-06-04 Roland McGrath <roland@redhat.com>
...
* gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
differently to be robust to output buffering differences.
2004-06-05 00:09:26 +00:00
Michael Chastain
51d01eda1d
2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.threads/pthreads.exp: Update copyright years.
(check_control_c): Change asynchronous 'after' to synchronous.
2004-06-04 23:27:50 +00:00
Roland McGrath
f4fc3b93e2
.
2004-06-04 21:36:23 +00:00
Roland McGrath
f1ed375c85
2004-06-04 Roland McGrath <roland@redhat.com>
...
* gdb.base/auxv.exp (fetch_auxv): Consume output fully through
next gdb prompt.
2004-06-04 21:36:06 +00:00
Michael Chastain
4013522b5c
2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR gdb/1636.
* gdb.threads/manythreads.exp: Change asynchronous 'after'
calls to synchronous.
2004-06-03 22:10:56 +00:00
Jim Blandy
7a8f1e6b98
* gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
2004-05-26 16:03:52 +00:00
Randolph Chung
81bb344354
2004-05-24 Randolph Chung <tausq@debian.org>
...
* gdb.asm/asm-source.exp: Enable test for hppa-linux target.
* gdb.asm/pa.inc: New file.
2004-05-25 04:07:05 +00:00
Mark Kettenis
8f5a310353
* gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
2004-05-22 13:14:22 +00:00
Joel Brobecker
734b8fe8d4
* lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
...
GDB prompt.
2004-05-21 17:27:01 +00:00
Ulrich Weigand
725603e12f
* gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
...
setjmp/longjmp. Use sigaction instead of signal.
2004-05-20 14:58:54 +00:00
Joel Brobecker
8b923272a9
* gdb.threads/pthread_cond_wait.c: New file.
...
* gdb.threads/pthread_cond_wait.exp: New testcase.
2004-05-19 21:41:03 +00:00
Andrew Cagney
8bfabb045c
2004-05-13 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/signull.exp, gdb.base/signull.c: New files.
* gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
2004-05-13 18:12:07 +00:00
Andrew Cagney
42edda508e
2004-05-11 Andrew Cagney <cagney@redhat.com>
...
* infrun.c (handle_inferior_event): Simplify code handling
step-into or return-from a signal trampoline.
Index: testsuite/ChangeLog
2004-05-11 Andrew Cagney <cagney@redhat.com>
* gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
fixed but revealed gdb/1639.
2004-05-11 16:57:04 +00:00
Andrew Cagney
d303a6c766
2004-05-10 Andrew Cagney <cagney@redhat.com>
...
* infrun.c (check_sigtramp2): Delete function.
(handle_inferior_event): When single stepping, and taking a
signal, set a breakpoint at the signal return address. Delete
redundant calls to check_sigtramp2.
(insert_step_resume_breakpoint): New function.
(through_sigtramp_breakpoint, handle_inferior_event)
(follow_exec, wait_for_inferior, fetch_inferior_event)
(currently_stepping, keep_going): Delete most uses of
through_sigtramp_breakpoint, not that it should be deleted.
(delete_breakpoint_current_contents): Delete function.
Index: testsuite/ChangeLog
2004-05-10 Andrew Cagney <cagney@redhat.com>
* gdb.base/signals.exp (signal_tests_1): Simplify "continue to
func1" and "next to 2nd alarm", kernel bug avoided.
2004-05-10 18:36:07 +00:00
Daniel Jacobowitz
bf08c2a10f
PR external/1568
...
* gdb.base/bigcore.exp: Check the size of the dumped core file.
XFAIL if it is smaller than bytes_allocated.
* gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
(main): Make chunks_allocated unsigned. Correct comment.
2004-05-10 16:47:40 +00:00
Joel Brobecker
c0586a34cd
* gdb.arch/powerpc-aix-prologue.c: New file.
...
* gdb.arch/powerpc-aix-prologue.exp: New file.
2004-05-08 00:08:24 +00:00
Jim Blandy
f2785d123f
* gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
...
gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
2004-05-07 09:16:29 +00:00
Joel Brobecker
bd7f6e305c
* gdb.base/sep.exp: No longer setup_kfail when the program was
...
built with dwarf2.
2004-05-06 21:32:01 +00:00
Jim Ingham
0a5e7efe29
Preserve the ignore count when we resolve a pending breakpoint. Also add
...
a test for this to pending.exp.
2004-05-05 21:18:11 +00:00
Mark Kettenis
a8958849c4
* i386-prologue.exp: Add testcase for jump instruction as first
...
instruction of the real code.
* i386-prologue.c (jump_at_beginning): New function.
2004-04-29 18:05:31 +00:00
Mark Kettenis
7e103f5bdf
* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
...
x86_64-*-*.
2004-04-28 18:16:07 +00:00
Mark Kettenis
5d38b224de
* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
...
i*86-*-*.
2004-04-28 00:22:43 +00:00
Mark Kettenis
0ef32fd971
* gdb.base/call-sc.exp (start_scalars_test): Fix regular
...
expression that checks the return type.
2004-04-28 00:15:52 +00:00
Andrew Cagney
71d7dd7cc9
2004-04-23 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/call-sc.exp: New test of scalar call/return values.
* gdb.base/call-sc.c: Ditto.
2004-04-23 23:34:53 +00:00
Jeff Johnston
1e9f977e1f
2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
...
* gdb.threads/manythreads.c: Reduce thread stack size.
2004-04-23 19:01:17 +00:00
Jeff Johnston
899d9e3aac
2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.threads/manythreads.c: Add copyright notice.
2004-04-23 18:50:35 +00:00
Andrew Cagney
61bcae62f7
2004-04-23 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/siginfo.exp: Clean up step out of signal.
* gdb.base/sigstep.exp: Ditto.
2004-04-23 16:44:25 +00:00
Jeff Johnston
7339a42e03
2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
...
Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/manythreads.c: New testcase.
* gdb.threads/manythreads.exp: Ditto.
2004-04-22 22:19:40 +00:00
Jim Blandy
5c98409bd6
* gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
...
gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
2004-04-22 21:11:56 +00:00
Michael Chastain
3b611f1a39
2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.stabs/weird.exp: Accept full pathname for $binfile.
2004-04-22 17:55:46 +00:00
Andrew Cagney
f0fd92385d
2004-04-21 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/sigstep.c: New file.
* gdb.base/sigstep.exp: New file.
2004-04-21 17:19:28 +00:00
Joel Brobecker
9099067423
* gdb.gdb/observer.exp (test_normal_stop_notifications): Update
...
call to observer_notify_normal_stop.
2004-04-16 17:29:43 +00:00
Andrew Cagney
78cef34b48
2004-04-15 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/siginfo.c: New file.
* gdb.base/siginfo.exp: New file.
2004-04-15 21:14:00 +00:00
Joel Brobecker
d23434077e
* gdb.base/sep.exp: Fix typo in comment.
2004-04-12 20:22:54 +00:00
Joel Brobecker
a2dba3c819
* gdb.base/sep.c: New file.
...
* gdb.base/sep-proc.c: New file.
* gdb.base/sep.exp: New testcase.
2004-04-12 20:17:18 +00:00
Mark Kettenis
15f7b60ef1
* gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
...
support.
2004-04-09 13:37:38 +00:00
Andrew Cagney
44f4de1ac3
2004-04-05 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/sigaltstack.c: New file.
* gdb.base/sigaltstack.exp: New file.
2004-04-05 21:00:21 +00:00
Joel Brobecker
ef04f39659
* gdb.base/foll-fork.exp: Update the expected output for
...
"help set follow-fork-mode", to match a change that was made
to the help of this variable on 2004-01-13.
2004-04-04 20:28:21 +00:00
Joel Brobecker
d40d2c921c
* lib/ada.exp: Add copyright notice.
...
* bar.ads: Likewise.
* bar.adb: Likewise.
* null_record.adb: Likewise.
* null_record.exp: Likewise.
* gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
2004-04-01 18:42:08 +00:00
Joel Brobecker
f86ef5a3a2
* configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
...
* configure: Regenerate.
2004-04-01 17:48:56 +00:00
Joel Brobecker
414e70e3d0
* lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
...
to build the application. Remove the message printed when in
verbose mode, redundant with the UNSUPPORTED message above.
2004-04-01 17:45:48 +00:00
Joel Brobecker
f0aaee4940
* gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
...
* gdb.ada (null_record.exp): New testcase.
2004-04-01 00:58:00 +00:00
Joel Brobecker
ac81cb5421
* Makefile.in (ALL_SUBDIRS) Add gdb.ada.
2004-04-01 00:55:48 +00:00
Joel Brobecker
854af2f7b2
* gdb.ada: New subdirectory.
...
* gdb.ada/Makefile.in: New file.
* gdb.ada/gnat_ada.gpr.in: New file.
2004-04-01 00:53:51 +00:00
Joel Brobecker
034cb68144
* lib/ada.exp: New file.
2004-04-01 00:51:13 +00:00
Daniel Jacobowitz
78a1a89446
* gdb.base/gdb1250.exp: Use runto {allow-pending}.
...
* lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
2004-03-24 18:41:50 +00:00
Andrew Cagney
4b2b3b3e62
2004-03-22 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
Problem identified by Ulrich Weigand.
2004-03-22 14:24:18 +00:00
David Carlton
23c73aa3b7
2004-03-17 David Carlton <carlton@kealia.com>
...
* gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
PR c++/826.
2004-03-17 20:11:22 +00:00
Roland McGrath
d63a86f8b1
.
2004-03-16 21:47:19 +00:00
Roland McGrath
d65308ae79
2004-03-16 Roland McGrath <roland@redhat.com>
...
* gdb.base/auxv.exp: New file.
* gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
2004-03-16 21:47:03 +00:00
David Carlton
0e02aa5022
2004-03-12 David Carlton <carlton@kealia.com>
...
* gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
* gdb.cp/pr-1553.cc: Ditto.
* gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
pass branch.
2004-03-12 17:46:27 +00:00
Michael Chastain
c20b71be64
2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp: Accept more template types.
2004-03-12 16:40:07 +00:00
Michael Chastain
c7414a01d5
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
...
From Corinna Vinschen with modifications.
* gdb.cp/classes.cc (enums1): Add a line to extend scope of
local variable obj_with_enum.
* gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
results with obj_with_enum.
2004-03-09 17:34:39 +00:00
Michael Chastain
ed69573cd5
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/classes.cc: New file, copied from misc.cc.
* gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
2004-03-09 17:11:55 +00:00