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