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