Commit Graph

53458 Commits

Author SHA1 Message Date
Eric Botcazou 563d09a555 PR other/16513
* Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
	Install headers in multilib independent location.
2007-03-01 15:32:57 +00:00
Thiemo Seufer 53f4826b00 * mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
and mips64.
2007-03-01 14:29:26 +00:00
Daniel Jacobowitz a7186e883c * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
	* Makefile.in, doc/Makefile.in: Regenerate.
2007-03-01 12:35:40 +00:00
Alan Modra 30ac7323f6 * spu-insns.h: Add soma double-float insns. 2007-03-01 11:17:41 +00:00
Alan Modra 11d5fa8985 * embedspu.sh: Set type and size of global program handle symbol. 2007-03-01 06:14:37 +00:00
gdbadmin 9c95710e8b *** empty log message *** 2007-03-01 00:00:33 +00:00
Alan Modra fa4ec7cf89 daily update 2007-02-28 23:00:06 +00:00
Joel Brobecker 787cbe146c * gdbtypes.c (replace_type): Fix typo that caused us to not update
length of the types referenced by the new type CV ring.
2007-02-28 19:42:08 +00:00
Nick Clifton c5d07591f7 PR gas/3797
* config/tc-d10v.c (do_assemble): Do not generate error messages, just return -1 whenever a problem is encoun$
 (md_assemble): If do_assemble returns -1 generate a non-fatal error message and return.
* gas/lns/lns.exp: Do not run the lns-common test for the d10v port.
* gas/d10v/address-002.l: Update expected assembler output.
* gas/d10v/address-003.l, gas/d10v/address-004.l,
  gas/d10v/address-005.l, gas/d10v/address-006.l,
  gas/d10v/address-007.l, gas/d10v/address-008.l,
  gas/d10v/address-009.l, gas/d10v/address-010.l,
  gas/d10v/address-011.l, gas/d10v/address-012.l,
  gas/d10v/address-013.l, gas/d10v/address-014.l,
  gas/d10v/address-015.l, gas/d10v/address-016.l,
  gas/d10v/address-017.l, gas/d10v/address-018.l,
  gas/d10v/address-019.l, gas/d10v/address-020.l,
  gas/d10v/address-021.l, gas/d10v/address-022.l,
  gas/d10v/address-023.l, gas/d10v/address-024.l,
  gas/d10v/address-025.l, gas/d10v/address-026.l,
  gas/d10v/address-027.l, gas/d10v/address-030.l,
  gas/d10v/address-031.l, gas/d10v/address-032.l,
  gas/d10v/address-033.l, gas/d10v/address-034.l,
  gas/d10v/address-035.l, gas/d10v/address-036.l,
  gas/d10v/address-037.l, gas/d10v/address-038.l,
  gas/d10v/address-039.l, gas/d10v/address-040.l,
  gas/d10v/address-041.l: Likewise.
2007-02-28 18:38:51 +00:00
Daniel Jacobowitz 35f196d907 * frame.c (frame_pop, frame_observer_target_changed): Call
reinit_frame_cache.
	(flush_cached_frames): Rename to reinit_frame_cache and delete
	old implementation.
	* frame.h (flush_cached_frames): Delete prototype and update comment.

	* bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
	reinit_frame_cache instead of flush_cached_frames.  Do not call
	select_frame after reinit_frame_cache.
	* corelow.c (core_open): Likewise.
	* gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
	* infrun.c (prepare_to_proceed, context_switch)
	(handle_inferior_event): Likewise.
	* linux-fork.c (fork_load_infrun_state): Likewise.
	* ocd.c (ocd_start_remote): Likewise.
	* remote-e7000.c (e7000_start_remote): Likewise.
	* remote-mips.c (device): Likewise.
	* thread.c (switch_to_thread): Likewise.
	* tracepoint.c (finish_tfind_command): Likewise.
	* gdbarch.c: Regenerated.
2007-02-28 17:35:01 +00:00
Daniel Jacobowitz 664e3ee9c3 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
func.
	* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-02-28 17:32:51 +00:00
Nick Clifton 2a7bf98e7d PR ld/3796
* ld-arm/arm-elf.exp (armelftests): Move "Thumb-2 BL" test into...
  (armeabitests): ... here, a new array for EABI specific tests.
  (armelftests): Add extra command line options for VFP11 fix tests and thumb shared library test.
2007-02-28 17:14:39 +00:00
Joel Brobecker c26f2453ab * gdbtypes.c (check_typedef): Do not replace stub type if
the resolved type is not defined in the same objfile.
2007-02-28 16:35:49 +00:00
Joel Brobecker e26f076c67 Move dw2-producer.* from gdb.arch to gdb.dwarf2 where it was supposed to
be checked in.
2007-02-28 16:28:17 +00:00
Daniel Jacobowitz 7d900f1a0b * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. 2007-02-28 15:55:54 +00:00
Nick Clifton aa32346d62 PR 3729: Fix unexpected failures in ARM GAS testsuite results. 2007-02-28 14:39:16 +00:00
Nathan Sidwell ed6ba29825 bfd/
* config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.

	gas/
	* configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.

	ld/
	* Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
	(eshelf_uclinux.c): New target.
	* Makefile.in: Rebuilt.
	* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
	* emulparams/shelf_uclinux.sh: New.
2007-02-28 10:53:19 +00:00
Nick Clifton 870074ddae PR gas/2623
* config/tc-msp430.c (line_separator_char): Change to '{'.
2007-02-28 10:02:37 +00:00
Alan Modra b125d98ba8 * Makefile.am (PROGS): Delete.
(RENAMED_PROGS): Define.  Extracted from..
	(noinst_PROGRAMS): ..here.  Add BUILD_MISC.
	(install-exec-local): Adjust.
	* Makefile.in: Regenerate.
2007-02-28 07:10:52 +00:00
Joel Brobecker 760386520a Fix the last ChangeLog entry date (oops :-/). 2007-02-28 06:04:37 +00:00
Joel Brobecker 52eea4ce26 * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
symbol for Ada units when the symbol is defined using 't' rather
        than 'Tt' as symbol descriptor.
2007-02-28 05:59:14 +00:00
Alan Modra 46c3c2015b * configure.tgt: Fix type last change. 2007-02-28 01:39:59 +00:00
Alan Modra 2eacb3e875 *** empty log message *** 2007-02-28 01:36:32 +00:00
Ulrich Weigand 1344afe0bb * config/mips/tm-nbsd.h: Delete file.
* config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
	* config/sh/tm-nbsd.h: Delete file.
	* config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
2007-02-28 01:34:01 +00:00
Alan Modra 37dc280a2e * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles. 2007-02-28 01:29:58 +00:00
Alan Modra 1d97d67f54 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
(bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
	(EXTRA_PROGRAMS): Remove bin2c.
	(bin2c$(EXEEXT_FOR_BUILD)): New rule.
	(bin2c_SOURCES): Delete.
	(DISTCLEANFILES): Remove sysinfo.
	(MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
	bin2c$(EXEEXT_FOR_BUILD).
	* configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
	Move embedspu to..
	(BUILD_INSTALL_MISC): ..here.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
2007-02-28 01:29:32 +00:00
gdbadmin b1e3fd4447 *** empty log message *** 2007-02-28 00:00:33 +00:00
Joel Brobecker f8d225dba8 * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
unused WRONG_PARAM value since it was recently deleted.
2007-02-27 23:42:33 +00:00
Nick Roberts 93b979d682 (varobj_update): Free temporary vectors. 2007-02-27 23:27:47 +00:00
Nick Roberts 1bbfb19a4d *** empty log message *** 2007-02-27 23:27:15 +00:00
Ulrich Weigand 6f7f3f0da4 * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
* config/powerpc/tm-linux.h: Delete file.
	* config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
	(PROCESS_LINENUMBER_HOOK): Do not undefine.
	(TEXT_SEGMENT_BASE): Do not redefine.
	* config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
	from config/rs6000/tm-rs6000.h.
	(TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
	* config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
	(TEXT_SEGMENT_BASE): Remove.
	(IN_SOLIB_RETURN_TRAMPOLINE): Remove.
	(rs6000_in_solib_return_trampoline): Remove.
	(SKIP_TRAMPOLINE_CODE): Remove.
	(rs6000_skip_trampoline_code): Remove.
	(CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
	(TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
	(FP0_REGNUM): Remove.
	(rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
	(rs6000_set_host_arch_hook): Remove.
	* Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
	(rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
	* ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
	* rs6000-aix-tdep.c: Include "ppc-tdep.h".
	(rs6000_aix_init_osabi): Set text_segment_base tdep field.
	* rs6000-nat.c: Include "rs6000-tdep.h".
	(exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
	(set_host_arch): Rename to ...
	(rs6000_create_inferior): ... this.  Make public.
	(_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
	* rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
	(rs6000_create_inferior): Remove.
	(branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
	(rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
	set_gdbarch_in_solib_return_trampoline, and
	set_gdbarch_skip_trampoline_code.
	* rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
	from config/rs6000/tm-rs6000.h.
2007-02-27 23:04:28 +00:00
Joel Brobecker 63050a44a0 Fix Entry dates for the last couple entries. 2007-02-27 23:01:58 +00:00
Joel Brobecker d7cc6f2f7e * gdb.dwarf2/dw2-producer.S: New file.
* gdb.dwarf2/dw2-producer.exp: New testcase.
2007-02-27 23:01:17 +00:00
Alan Modra 32a9ca36af daily update 2007-02-27 23:00:05 +00:00
Joel Brobecker 05279ca074 * buildsym.c (record_producer): Do nothing if no producer is provided. 2007-02-27 22:57:42 +00:00
Nick Roberts 6d28409d4a (enum varobj_update_error): Delete WRONG_PARAM value. 2007-02-27 22:01:10 +00:00
Nick Roberts a1f42e84b8 (varobj_update): Remove unused local. Use gdb_assert
to check changelist is non-NULL.  Call error if the frontend tries
to update a non-root variable.
2007-02-27 22:00:39 +00:00
Nick Roberts e0b75a463c *** empty log message *** 2007-02-27 21:58:57 +00:00
Nick Roberts c0e3bc0797 *** empty log message *** 2007-02-27 21:51:57 +00:00
Nick Roberts 3fddb3adb4 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
* gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
* gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
* gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
Revert tests to use mi_gdb_test and include value field in output
of -var-create.
2007-02-27 21:45:34 +00:00
Daniel Jacobowitz 93d42b302e * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
(dwarf2_frame_sniffer): Update.
	(dwarf2_signal_frame_this_id): New function.
	(dwarf2_signal_frame_unwind): Use it.
	(dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
	* frame.c (frame_func_unwind): Add this_type argument.
	(get_frame_func): Update.
	(frame_unwind_address_in_block): Add this_type argument and check it.
	Fix a typo.
	(get_frame_address_in_block): Update.
	* frame.h (enum frame_type): Move higher in the file.
	(frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
	argument.

	* alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
	arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
	hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
	libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
	m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
	mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
	score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
	sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
	xstormy16-tdep.c, xtensa-tdep.c: Update calls to
	frame_func_unwind and frame_unwind_address_in_block to specify
	the frame type.  Use frame_unwind_address_in_block instead of
	frame_pc_unwind in sniffers.

	* gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
2007-02-27 20:17:19 +00:00
Daniel Jacobowitz 206415a3ea * frame.c (deprecated_selected_frame): Rename to...
(selected_frame): ...this.  Make static.
	(get_selected_frame, select_frame): Update.
	* frame.h (deprected_select_frame): Delete.
	(deprecated_safe_get_selected_frame): Update comments.

	* breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
	infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
	tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
	parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
	tui/tui.c: Replace references to deprecated_selected_frame.
2007-02-27 19:46:04 +00:00
Mark Mitchell e1c9b6f16a * armos.c (SWIflen): Do not treate file descriptor zero as
special.
2007-02-27 18:51:57 +00:00
Fred Fish 7313566fe3 Reviewed by Mark Kettenis <mark.kettenis@xs4all.nl>
2007-02-27  Fred Fish  <fnf@specifix.com>
	* rs6000-tdep.c (skip_prologue): Recognize addi instructions that
	directly decrement the stack pointer, accumulate their operand into
	the stack offset, and mark the function as not being frameless.
2007-02-27 17:29:51 +00:00
Daniel Jacobowitz 64a6910722 * terminal.h: Check HAVE_SGTTY_H. 2007-02-27 17:23:34 +00:00
Daniel Jacobowitz 6f8486daac from Mat Hostetter <mat@lcs.mit.edu>
* remote-utils.c (remote_open): Print out the assigned port number.
2007-02-27 17:21:35 +00:00
Daniel Jacobowitz c499ed39b6 * gdb.base/maint.exp: Remove full paths from test names.
* gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
	gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
2007-02-27 13:54:04 +00:00
Nathan Sidwell 903b1f5b5b * binutils-all/objcopy.exp: Skip for uclinux targets. 2007-02-27 12:19:16 +00:00
Alan Modra 32b116f812 * mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry
2007-02-27 09:02:43 +00:00
Alan Modra f0d894379c missed from last commit 2007-02-27 08:35:17 +00:00