Commit Graph

2265 Commits

Author SHA1 Message Date
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