Commit Graph

2278 Commits

Author SHA1 Message Date
Joel Brobecker 724f452bdd * gdb.ada/packed_array/pa.adb: New file.
* gdb.ada/packed_array.exp: New testcase.
2005-02-15 15:35:26 +00:00
Mark Kettenis 57f5cdfb56 Fix my email address in last commit. 2005-02-11 04:15:55 +00:00
Mark Kettenis 1f39315167 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
files.
2005-02-11 04:12:19 +00:00
Mark Kettenis ebdda33727 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
on *-*-openbsd*.  Correctly match whitespace in regukar
expressions.
2005-02-11 04:01:01 +00:00
Daniel Jacobowitz cf309262d9 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
PR exp/1821
	* cp-valprint.c: Include "language.h".
	(cp_print_value_fields): Pass the current language to
	fprintf_symbol_filtered.
	* Makefile.in (cp-valprint.o): Update dependencies.

testsuite/
	From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
	PR exp/1821
	* gdb.base/gdb1821.c: New test file.
	* gdb.base/gdb1821.exp: New test file.
2005-02-10 18:15:44 +00:00
Joel Brobecker 3be49e7a08 * gdb.base/start.c: New file.
* gdb.base/start.exp: New testcase.
2005-02-09 19:58:23 +00:00
Joel Brobecker e292e67d52 * gdb.ada/start/dummy.adb: New file.
* gdb.ada/start.exp: New testcase.
2005-02-09 19:38:01 +00:00
Corinna Vinschen dbdfa66c30 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
for printing symbols and statistics.
	Add test for using relative pathnames in "maint print msymbols" test.
	Mark "maint info sections DATA" XFAIL on Cygwin.
	Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
	tests.
2005-02-09 16:45:39 +00:00
Andrew Cagney d79416713d 2005-02-09 Andreas Schwab <schwab@suse.de>
Committed by Andrew Cagney  <cagney@gnu.org>
	* gdb.base/remotetimeout.exp: New file.
2005-02-09 14:54:24 +00:00
Mark Kettenis 74e5ef4498 * gdb.base/interp.exp: Remove trailing n in gdb_test commands. 2005-02-07 02:39:45 +00:00
Joel Brobecker 464dd14d58 * gdb.ada/gnat_ada.gpr: New file.
* gdb.ada/gnat_ada.gin: Delete, no longer used.
        * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
        * configure.ac: No longer generate gnat_ada.gpr.
        * configure: Regenerate.
        * gdb.ada/Makefile.in: Minor adaptations due to new project file.
        * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
        * gdb.ada/null_record/bar.ads: Likewise.
        * gdb.ada/null_record/bar.adb: Likewise.
        * gdb.ada/fixed_points/fixed_points.adb: Likewise.
        * gdb.ada/null_record.exp (testdir): New variable.
        (testfile): executable is now in testdir subdirectory.
        (srcfile): Use full path to the main compilation unit.
        * gdb.ada/fixed_points.exp: Same changes as above.
2005-02-03 03:58:53 +00:00
Nick Roberts 1b9afc0454 New test for interpreter-exec command. 2005-02-02 21:12:03 +00:00
Nick Roberts 30d756aee6 *** empty log message *** 2005-02-02 21:09:13 +00:00
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