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