Commit Graph

45221 Commits

Author SHA1 Message Date
Andrew Cagney c185a355e6 2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/sparc/tm-vxworks.h (GDB_MULTI_ARCH): Delete.
	* config/sparc/tm-sol2.h (GDB_MULTI_ARCH): Delete.
	* config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete.
	* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete.
	* config/sparc/tm-fbsd.h (GDB_MULTI_ARCH): Delete.
	* config/sh/tm-sh.h (GDB_MULTI_ARCH): Delete.
	* config/rs6000/tm-rs6000.h (GDB_MULTI_ARCH): Delete.
	* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Delete.
	* config/mips/tm-mips.h (GDB_MULTI_ARCH): Delete.
	* config/ia64/tm-ia64.h (GDB_MULTI_ARCH): Delete.
	* config/cris/tm-cris.h (GDB_MULTI_ARCH): Delete.
	* config/arm/tm-arm.h (GDB_MULTI_ARCH): Delete.
2004-09-02 14:17:44 +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
Alexandre Oliva ec2dfb4210 * MAINTAINERS: Add self as co-maintainer of FR-V.
* readelf.c (get_machine_flags): Print FR-V cpu types.
2004-09-02 08:25:06 +00:00
Paolo Bonzini f5396bbed4 2004-09-02 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Do not enable multilibs for build-side libiberty.
2004-09-02 07:04:53 +00:00
Alan Modra 595da8c56f * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Use static_syms passed
in when reading relocs, not our sorted syms.  Remove unnecessary
	var.
2004-09-02 04:43:36 +00:00
Andrew Cagney 14aaa6abcf 2004-09-01 Andrew Cagney <cagney@gnu.org>
* objfiles.h (struct entry_info): Delete fields main_func_lowpc
	and main_func_highpc.
	(INVALID_ENTRY_LOWPC, INVALID_ENTRY_HIGHPC): Delete macros.
	* objfiles.c (init_entry_point_info, objfile_relocate): Update
	* nlmread.c (nlm_symfile_read): Update.
2004-09-02 03:05:46 +00:00
Alan Modra 21bd10f440 daily update 2004-09-02 00:00:05 +00:00
gdbadmin e6c1d7a2d2 *** empty log message *** 2004-09-02 00:00:02 +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
Joel Brobecker 6328991e1b * configure.host: Use aix.mh for all powerpc-aix hosts.
* config/powerpc/aix432.mh: Delete, no longer necessary.
2004-09-01 20:46:41 +00:00
Joel Brobecker a343eb3cbf * mips-tdep.c (linked_proc_desc_table): Delete, not used.
(mips_insn32_frame_cache): Inline call to find_proc_desc.
        (find_proc_desc): Remove dead code.
2004-09-01 20:42:45 +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
Joel Brobecker 4fbbbd0782 * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting. 2004-09-01 18:55:17 +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 84acb35a5a 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* observer.sh: Add struct so_list declaration.
        * Makefile.in: Add dependencies on observer.h for solib.c and
        breakpoint.c.
        * breakpoint.c (disable_breakpoints_in_unloaded_shlib): New
        function.
        (_initialize_breakpoint): Register
        disable_breakpoints_in_unloaded_shlib as an observer of the
        "solib unloaded" observation event.
        (re_enable_breakpoints_in_shlibs): For bp_shlib_disabled breakpoints,
        call decode_line_1 so unfound breakpoint errors are silent.
        * solib.c (update_solib_list): When a solib is discovered to have
        been unloaded by the program, notify all observers of the
        "solib unloaded" observation event.
2004-09-01 18:00:29 +00:00
Jeff Johnston f3bb67042f 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* observer.texi (solib_unloaded): New observer.
2004-09-01 17:59:37 +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
Richard Earnshaw 1ff4677c0b * doc/c-arm.texi (ARM Options): Document canonical names of CPUs. 2004-09-01 16:34:29 +00:00
Richard Earnshaw 9166bcd7a8 Argh! missing comma... 2004-09-01 16:19:36 +00:00
Richard Earnshaw 8783612fe2 * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
for synthesizable cores.
2004-09-01 16:16:44 +00:00
Andrew Cagney c8cd9f6c4c 2004-08-31 Andrew Cagney <cagney@gnu.org>
* frame.c: Include "objfiles.h".
	(inside_main_func): New function.
	(get_prev_frame): Use new inside_main_func.
	* Makefile.in (frame.o): Update dependencies.
	* defs.h (inside_main_func): Delete declaration.
	* blockframe.c (inside_main_func): Delete function.
2004-09-01 14:13:33 +00:00
Paolo Bonzini 0df3d27f98 2004-09-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (sorry): Remove.
	(clean-stage[+id+], clean-stage[+id+]-module): New targets.
	(cleanstrap targets): Depend on distclean, not distclean-stage1.
	(do-clean): Clean per-stage directories too.
	(do-distclean): Run distclean-stage1 too.
	(.NOTPARALLEL): Enable during toplevel bootstrap.
	(stage[+id+]-bubble): Enable parallel execution during
	the recursive invocation.
	* Makefile.in: Regenerate.

	Sync from gcc (moving the Makefile.in change to Makefile.tpl):

	2004-08-31  Robert Bowdidge <bowdidge@apple.com>

	* Makefile.in: Move BOOT_CFLAGS above host makefile fragment include.
	* configure.in: add test for powerpc-*-darwin* to specify makefile frag
	* configure: regenerate
	* config/mh-ppc-darwin: create file, override BOOT_CFLAGS for
        -mdynamic-no-pic
2004-09-01 07:48:07 +00:00
Jim Blandy 1168df017b * dwarf2read.c (is_vtable_name): New function, based on logic from
read_structure_type, but passing the correct length to strncmp,
and using 'sizeof' instead of 'strlen'.
(read_structure_type): Call it.
2004-09-01 04:19:22 +00:00
Joel Brobecker f14f9744c4 * config/powerpc/aix.mh: Add comment. 2004-09-01 00:02:15 +00:00
Alan Modra aa240bf535 daily update 2004-09-01 00:00:05 +00:00
gdbadmin 4b8240e3e6 *** empty log message *** 2004-09-01 00:00:04 +00:00
Paul Gilliam 386d451882 * MAINTAINERS: Add self to Write-After-Approval. 2004-08-31 20:36:04 +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
Paolo Bonzini ee025550e9 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add fixincludes.
	(dependencies): Make gcc depend on fixincludes.
	* configure.in (build_tools): Add fixincludes.
	(build_configdirs): Always include build_libs.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
2004-08-31 10:16:19 +00:00
Eric Botcazou 6723a9f4e0 * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss. 2004-08-31 09:41:11 +00:00
Alan Modra ad58b0d055 daily update 2004-08-31 00:00:07 +00:00
gdbadmin 0bfd9d7206 *** empty log message *** 2004-08-31 00:00:04 +00:00
Manoj Iyer 7d97d5e2b8 Added self to write-after-approval. 2004-08-30 20:05:41 +00:00
Nathanael Nerode 979273e36c 2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Autoupdate to autoconf 2.59.
	* aclocal.m4: Rebuild with aclocal 1.4p6.
	* configure: Rebuild with autoconf 2.59.
	* Makefile.in: Rebuild with automake 1.4p6 (picking up
	bfd changes for autoconf 2.59 on the way).
	* config.in: Rebuild with autoheader 2.59.
2004-08-30 18:59:50 +00:00
Nathanael Nerode 5464f5a16e 2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM.
	Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate;
	replace uses of *_alias with *_noncanonical.
	* aclocal.m4: Rebuild with aclocal 1.4p6.
	* Makefile.in: Rebuild with automake 1.4p6.
	* doc/Makefile.in: Rebuild with automake 1.4p6.
	* configure.in: Autoupdate with autoupdate 2.59.
	* config.in: Regenerate with autoheader 2.59.
	* configure: Regnerate with autoconf 2.59.
2004-08-30 18:58:14 +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
Paolo Bonzini 9cb3fa6fd2 2004-08-26 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (bootstrap stages): Add 'lean' parameter.
	* Makefile.tpl (configure-stageN-*, all-stageN-*): Turned into
	phony targets; do not generate timestamp files.
	(distclean-stageN): Remove references to their timestamp files.
	(restageN, touch-stageN): Remove.
	(stageN-bubble): Rewritten.
	(compare): Support lean bootstraps.
	* Makefile.in: Regenerate.

	* configure.in: Only warn when bootstrapping but
	build != host or build != target.  Support lean bootstraps.
	* configure: Regenerate.

	Sync from gcc:
	2004-08-26  Phil Edwards  <phil@codesourcery.com>

	* configure.in:  Give a better error message if GMP/MPFR are missing
	and a language needing them has been requested.
	* configure:  Regenerated.

	2004-08-25  Phil Edwards  <phil@codesourcery.com>

	* configure.in:  Print a list of available language front-ends if
	a requested one is missing.  Tidy stray tab characters.
	* configure:  Regenerated.
2004-08-30 08:05:42 +00:00
gdbadmin 80f57dfaa0 *** empty log message *** 2004-08-30 00:00:31 +00:00
Alan Modra 8703f9377c daily update 2004-08-30 00:00:06 +00:00
David Lecomber 7ca2d3a371 2004-08-29 David Lecomber <david@streamline-computing.com>
Fix PR gdb/648
	* language.h (enum array_ordering): New enum.
	* language.h (struct language_defn): New la_array_ordering
	attribute.
	* language.c (unknown_language_defn, auto_language_defn)
	(local_language_defn): Ditto.
	* ada-lang.c (ada_language_defn): Ditto.
	* c-lang.c (c_language_defn, cplus_language_defn)
	(asm_language_defn, minimal_language_defn): Ditto.
	* f-lang.c (f_language_defn): Ditto.
	* jv-lang.c (java_language_defn): Ditto.
	* m2-lang.c (f_language_defn): Ditto.
	* objc-lang.c (objc_language_defn): Ditto.
	* p-lang.c (pascal_language_defn): Ditto.
	* scm-lang.c (scm_language_defn): Ditto.
	* eval.c (evaluate_subexp_standard): Assume Fortran arrays are
	oriented large to small in type structure.
	* dwarf2read.c (read_array_order): New function.
	(read_array_type): Use read_array_order to check row/column
	major ordering.
2004-08-29 10:12:24 +00:00
Alan Modra 47e35c11d6 daily update 2004-08-29 00:00:06 +00:00
gdbadmin d61bbaef16 *** empty log message *** 2004-08-29 00:00:02 +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
Alan Modra 0873df2aec * nm.c (show_synthetic): New var.
(long_options): Add "synthetic".
	(usage): Here too.
	(display_rel_file): Handle show_synthetic.
2004-08-28 08:55:47 +00:00
Alan Modra a7535cf331 * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy input
symbol pointer arrays before modifying.
2004-08-28 08:54:34 +00:00
Alan Modra b91e2ae21e corrected version 2004-08-28 03:29:18 +00:00