binutils-gdb.git
17 years ago * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
Daniel Jacobowitz [Thu, 1 Mar 2007 12:35:40 +0000 (12:35 +0000)]
* Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
* Makefile.in, doc/Makefile.in: Regenerate.

17 years ago * spu-insns.h: Add soma double-float insns.
Alan Modra [Thu, 1 Mar 2007 11:17:41 +0000 (11:17 +0000)]
* spu-insns.h: Add soma double-float insns.

17 years ago * embedspu.sh: Set type and size of global program handle symbol.
Alan Modra [Thu, 1 Mar 2007 06:14:37 +0000 (06:14 +0000)]
* embedspu.sh: Set type and size of global program handle symbol.

17 years ago*** empty log message ***
gdbadmin [Thu, 1 Mar 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 28 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * gdbtypes.c (replace_type): Fix typo that caused us to not update
Joel Brobecker [Wed, 28 Feb 2007 19:42:08 +0000 (19:42 +0000)]
    * gdbtypes.c (replace_type): Fix typo that caused us to not update
        length of the types referenced by the new type CV ring.

17 years agoPR gas/3797
Nick Clifton [Wed, 28 Feb 2007 18:38:51 +0000 (18:38 +0000)]
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.

17 years ago * frame.c (frame_pop, frame_observer_target_changed): Call
Daniel Jacobowitz [Wed, 28 Feb 2007 17:35:01 +0000 (17:35 +0000)]
* 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.

17 years ago * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
Daniel Jacobowitz [Wed, 28 Feb 2007 17:32:51 +0000 (17:32 +0000)]
* gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
func.
* gdb.mi/mi2-var-cmd.exp: Likewise.

17 years agoPR ld/3796
Nick Clifton [Wed, 28 Feb 2007 17:14:39 +0000 (17:14 +0000)]
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.

17 years ago * gdbtypes.c (check_typedef): Do not replace stub type if
Joel Brobecker [Wed, 28 Feb 2007 16:35:49 +0000 (16:35 +0000)]
    * gdbtypes.c (check_typedef): Do not replace stub type if
        the resolved type is not defined in the same objfile.

17 years agoMove dw2-producer.* from gdb.arch to gdb.dwarf2 where it was supposed to
Joel Brobecker [Wed, 28 Feb 2007 16:28:17 +0000 (16:28 +0000)]
Move dw2-producer.* from gdb.arch to gdb.dwarf2 where it was supposed to
be checked in.

17 years ago * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
Daniel Jacobowitz [Wed, 28 Feb 2007 15:55:54 +0000 (15:55 +0000)]
* top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.

17 years agoPR 3729: Fix unexpected failures in ARM GAS testsuite results.
Nick Clifton [Wed, 28 Feb 2007 14:39:16 +0000 (14:39 +0000)]
PR 3729: Fix unexpected failures in ARM GAS testsuite results.

17 years ago bfd/
Nathan Sidwell [Wed, 28 Feb 2007 10:53:19 +0000 (10:53 +0000)]
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.

17 years agoPR gas/2623
Nick Clifton [Wed, 28 Feb 2007 10:02:37 +0000 (10:02 +0000)]
PR gas/2623
* config/tc-msp430.c (line_separator_char): Change to '{'.

17 years ago * Makefile.am (PROGS): Delete.
Alan Modra [Wed, 28 Feb 2007 07:10:52 +0000 (07:10 +0000)]
* Makefile.am (PROGS): Delete.
(RENAMED_PROGS): Define.  Extracted from..
(noinst_PROGRAMS): ..here.  Add BUILD_MISC.
(install-exec-local): Adjust.
* Makefile.in: Regenerate.

17 years agoFix the last ChangeLog entry date (oops :-/).
Joel Brobecker [Wed, 28 Feb 2007 06:04:37 +0000 (06:04 +0000)]
Fix the last ChangeLog entry date (oops :-/).

17 years ago * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
Joel Brobecker [Wed, 28 Feb 2007 05:59:14 +0000 (05:59 +0000)]
    * 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.

17 years ago * configure.tgt: Fix type last change.
Alan Modra [Wed, 28 Feb 2007 01:39:59 +0000 (01:39 +0000)]
* configure.tgt: Fix type last change.

17 years ago*** empty log message ***
Alan Modra [Wed, 28 Feb 2007 01:36:32 +0000 (01:36 +0000)]
*** empty log message ***

17 years ago * config/mips/tm-nbsd.h: Delete file.
Ulrich Weigand [Wed, 28 Feb 2007 01:34:01 +0000 (01:34 +0000)]
* 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.

17 years ago * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
Alan Modra [Wed, 28 Feb 2007 01:29:58 +0000 (01:29 +0000)]
* configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.

17 years ago * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
Alan Modra [Wed, 28 Feb 2007 01:29:32 +0000 (01:29 +0000)]
* 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.

17 years ago*** empty log message ***
gdbadmin [Wed, 28 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
Joel Brobecker [Tue, 27 Feb 2007 23:42:33 +0000 (23:42 +0000)]
    * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
        unused WRONG_PARAM value since it was recently deleted.

17 years ago(varobj_update): Free temporary vectors.
Nick Roberts [Tue, 27 Feb 2007 23:27:47 +0000 (23:27 +0000)]
(varobj_update): Free temporary vectors.

17 years ago*** empty log message ***
Nick Roberts [Tue, 27 Feb 2007 23:27:15 +0000 (23:27 +0000)]
*** empty log message ***

17 years ago * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
Ulrich Weigand [Tue, 27 Feb 2007 23:04:28 +0000 (23:04 +0000)]
* 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.

17 years agoFix Entry dates for the last couple entries.
Joel Brobecker [Tue, 27 Feb 2007 23:01:58 +0000 (23:01 +0000)]
Fix Entry dates for the last couple entries.

17 years ago * gdb.dwarf2/dw2-producer.S: New file.
Joel Brobecker [Tue, 27 Feb 2007 23:01:17 +0000 (23:01 +0000)]
    * gdb.dwarf2/dw2-producer.S: New file.
        * gdb.dwarf2/dw2-producer.exp: New testcase.

17 years agodaily update
Alan Modra [Tue, 27 Feb 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * buildsym.c (record_producer): Do nothing if no producer is provided.
Joel Brobecker [Tue, 27 Feb 2007 22:57:42 +0000 (22:57 +0000)]
    * buildsym.c (record_producer): Do nothing if no producer is provided.

17 years ago(enum varobj_update_error): Delete WRONG_PARAM value.
Nick Roberts [Tue, 27 Feb 2007 22:01:10 +0000 (22:01 +0000)]
(enum varobj_update_error): Delete WRONG_PARAM value.

17 years ago(varobj_update): Remove unused local. Use gdb_assert
Nick Roberts [Tue, 27 Feb 2007 22:00:39 +0000 (22:00 +0000)]
(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.

17 years ago*** empty log message ***
Nick Roberts [Tue, 27 Feb 2007 21:58:57 +0000 (21:58 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Nick Roberts [Tue, 27 Feb 2007 21:51:57 +0000 (21:51 +0000)]
*** empty log message ***

17 years ago* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
Nick Roberts [Tue, 27 Feb 2007 21:45:34 +0000 (21:45 +0000)]
* 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.

17 years ago * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
Daniel Jacobowitz [Tue, 27 Feb 2007 20:17:19 +0000 (20:17 +0000)]
* 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.

17 years ago * frame.c (deprecated_selected_frame): Rename to...
Daniel Jacobowitz [Tue, 27 Feb 2007 19:46:04 +0000 (19:46 +0000)]
* 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.

17 years ago * armos.c (SWIflen): Do not treate file descriptor zero as
Mark Mitchell [Tue, 27 Feb 2007 18:51:57 +0000 (18:51 +0000)]
* armos.c (SWIflen): Do not treate file descriptor zero as
special.

17 years agoReviewed by Mark Kettenis <mark.kettenis@xs4all.nl>
Fred Fish [Tue, 27 Feb 2007 17:29:51 +0000 (17:29 +0000)]
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.

17 years ago * terminal.h: Check HAVE_SGTTY_H.
Daniel Jacobowitz [Tue, 27 Feb 2007 17:23:34 +0000 (17:23 +0000)]
* terminal.h: Check HAVE_SGTTY_H.

17 years agofrom Mat Hostetter <mat@lcs.mit.edu>
Daniel Jacobowitz [Tue, 27 Feb 2007 17:21:35 +0000 (17:21 +0000)]
from  Mat Hostetter  <mat@lcs.mit.edu>
* remote-utils.c (remote_open): Print out the assigned port number.

17 years ago * gdb.base/maint.exp: Remove full paths from test names.
Daniel Jacobowitz [Tue, 27 Feb 2007 13:54:04 +0000 (13:54 +0000)]
* 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.

17 years ago * binutils-all/objcopy.exp: Skip for uclinux targets.
Nathan Sidwell [Tue, 27 Feb 2007 12:19:16 +0000 (12:19 +0000)]
* binutils-all/objcopy.exp: Skip for uclinux targets.

17 years ago * mt-spu (all-ld): Depend on all-binutils.
Alan Modra [Tue, 27 Feb 2007 09:02:43 +0000 (09:02 +0000)]
* mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry

17 years agomissed from last commit
Alan Modra [Tue, 27 Feb 2007 08:35:17 +0000 (08:35 +0000)]
missed from last commit

17 years ago * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
Alan Modra [Tue, 27 Feb 2007 08:33:25 +0000 (08:33 +0000)]
* Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
(eelf32_spu.c): Adjust dependencies.
* Makefile.in: Regenerate.
* emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
code using bin2c.
(_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
(ovl_mgr_stream): Update.
* emultempl/spu_inc.s: Delete.
* emultempl/spu_none.s: Delete.

17 years ago * bin2c.c: New file.
Alan Modra [Tue, 27 Feb 2007 08:31:46 +0000 (08:31 +0000)]
* bin2c.c: New file.
* Makefile.am (EXTRA_PROGRAMS): Add bin2c.
(CFILES): Add bin2c.c.
(bin2c_SOURCES): Define.
(bin2c.o): Dependencies from "make dep-am".
* configure.in (BUILD_MISC): Add bin2c.
* version.c: Update year.
* po/POTFILES.in: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.

17 years ago * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
Alan Modra [Tue, 27 Feb 2007 08:29:52 +0000 (08:29 +0000)]
* elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
* elf32-spu.c (ovl_mgr_pread): Add const to casts.

17 years ago * config/tc-m68hc11.c (fixup24): Correct fixup size.
Alan Modra [Tue, 27 Feb 2007 08:15:17 +0000 (08:15 +0000)]
* config/tc-m68hc11.c (fixup24): Correct fixup size.
(build_jump_insn): Likewise.
(build_insn): Likewise.
(s_m68hc11_relax): Likewise.

17 years ago * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
Alan Modra [Tue, 27 Feb 2007 07:16:31 +0000 (07:16 +0000)]
* config/obj-elf.c (elf_frob_file): frag_wane any new frags.

17 years ago * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
Joel Brobecker [Tue, 27 Feb 2007 06:43:27 +0000 (06:43 +0000)]
    * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.

17 years ago*** empty log message ***
gdbadmin [Tue, 27 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 26 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agomerge from gcc
DJ Delorie [Mon, 26 Feb 2007 22:14:03 +0000 (22:14 +0000)]
merge from gcc

17 years ago * arch-utils.c (selected_byte_order): New.
Daniel Jacobowitz [Mon, 26 Feb 2007 20:13:18 +0000 (20:13 +0000)]
* arch-utils.c (selected_byte_order): New.
* arch-utils.h (selected_byte_order): New prototype.
* remote-sim.c (gdbsim_open): Use selected_byte_order.

17 years ago * gdb.texinfo (Monitor commands for gdbserver): New subsection.
Daniel Jacobowitz [Mon, 26 Feb 2007 20:10:18 +0000 (20:10 +0000)]
* gdb.texinfo (Monitor commands for gdbserver): New subsection.

* remote-utils.c (monitor_output): New function.
* server.c (debug_threads): Define here.
(monitor_show_help): New function.
(handle_query): Handle qRcmd.
(main): Do not handle 'd' packet.
* server.h (debug_threads, remote_debug, monitor_output): Declare.
* linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions
of debug_threads.

* gdb.server/server-mon.exp: New test.

17 years ago * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
Daniel Jacobowitz [Mon, 26 Feb 2007 20:04:38 +0000 (20:04 +0000)]
* symfile.c (place_section): Check SEC_ALLOC.  Do not check VMA.
(default_symfile_offsets): Check VMA here.  Update section VMAs.

* gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.

17 years ago * remote.c (init_remote_state): Add special handling for placeholder
Daniel Jacobowitz [Mon, 26 Feb 2007 19:23:17 +0000 (19:23 +0000)]
* remote.c (init_remote_state): Add special handling for placeholder
registers.

17 years ago * Makefile.in (XMLFILES): Include $(TDEP_XML).
Daniel Jacobowitz [Mon, 26 Feb 2007 19:20:21 +0000 (19:20 +0000)]
* Makefile.in (XMLFILES): Include $(TDEP_XML).
(filenames_h): New variable.
(clean): Clean up xml-builtin.c and stamp-xml.
(arm-linux-nat.o): Update.
* config/arm/linux.mh (TDEP_XML): Define.
* arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
(arm_linux_has_wmmx_registers): New.
(GET_THREAD_ID): Fix typo.
(IWMMXT_REGS_SIZE): Define.
(fetch_wmmx_regs, store_wmmx_regs): New.
(arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
(arm_linux_store_inferior_registers): Use store_wmmx_regs.
(super_xfer_partial, arm_linux_xfer_partial): New.
(_initialize_arm_linux_nat): Use them.
* xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
(xml_builtin_xfer_partial): New function.
* xml-support.h (xml_builtin_xfer_partial): New prototype.
* NEWS: Update mention of iWMMXt support.

17 years ago * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
Daniel Jacobowitz [Mon, 26 Feb 2007 19:18:53 +0000 (19:18 +0000)]
* arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
if there are no FPA registers.
(arm_dwarf_reg_to_regnum): New function.
(arm_register_type, arm_register_name): Return minimal values for
unsupported registers.
(arm_register_sim_regno): Handle iWMMXt registers.
(arm_gdbarch_init): Record missing FPA registers if indicated by
a target description.  Recognize iWMMXt registers.  Only register
"info float" for FPA.  Use ARM_NUM_REGS.  Register
arm_dwarf_reg_to_regnum.
* arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
constants.
(struct gdbarch_tdep): Add have_fpa_registers.
* features/xscale-iwmmxt.xml: Update capitalization.
* regformats/arm-with-iwmmxt.dat: Regenerated.

* src/gdb/doc/gdb.texinfo (Standard Target Features): Mention
case insensitivity.
(ARM Features): Describe org.gnu.gdb.xscale.iwmmxt.

* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
register capitalization.

17 years ago * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
Alan Modra [Mon, 26 Feb 2007 08:58:16 +0000 (08:58 +0000)]
* emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
to _binary_spu_ovl_o_start.
(_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
(spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
* emultempl/spu_inc.s: Rename symbols.
* emultempl/spu_none.s: New file.
* emultempl/spu_ovl.S: Update copyright.
* Makefile.am (spu_inc.o): Try building with ld -r first, then
gas incbin, then build without overlay manager.
* Makefile.in: Regenerate.

17 years ago*** empty log message ***
gdbadmin [Mon, 26 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 25 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * Makefile.in (EXEEXT): New.
Pedro Alves [Sun, 25 Feb 2007 19:44:29 +0000 (19:44 +0000)]
* Makefile.in (EXEEXT): New.
(clean): Use $(EXEEXT).

17 years ago * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
Mark Shinwell [Sun, 25 Feb 2007 19:29:25 +0000 (19:29 +0000)]
* config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.

17 years ago * target.h (target_ops): Rename send_signal to request_interrupt,
Pedro Alves [Sun, 25 Feb 2007 17:59:43 +0000 (17:59 +0000)]
* target.h (target_ops): Rename send_signal to request_interrupt,
and remove enum target_signal parameter.
* linux-low.c (linux_request_interrupt): Rename from
linux_send_signal, and always send SIGINT.
* spu-low.c (spu_request_interrupt): Rename from spu_send_signal,
and always send SIGINT.
* remote-utils.c (putpkt_binary): Call request_interrupt, instead
of send_signal.
(input_interrupt): Likewise.

17 years ago * server.c (get_features_xml): Check if target implemented
Pedro Alves [Sun, 25 Feb 2007 17:40:10 +0000 (17:40 +0000)]
* server.c (get_features_xml): Check if target implemented
arch_string.
* win32-i386-low.c (win32_arch_string): New.
(win32_target_ops): Add win32_arch_string as arch_string member.

17 years ago*** empty log message ***
gdbadmin [Sun, 25 Feb 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 24 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * NEWS (New targets): Add entry for the Toshiba Media Processor.
Kevin Buettner [Sat, 24 Feb 2007 17:37:28 +0000 (17:37 +0000)]
* NEWS (New targets): Add entry for the Toshiba Media Processor.

17 years ago*** empty log message ***
gdbadmin [Sat, 24 Feb 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * MAINTAINERS (mep): New target.
Kevin Buettner [Fri, 23 Feb 2007 23:02:51 +0000 (23:02 +0000)]
* MAINTAINERS (mep): New target.

17 years agodaily update
Alan Modra [Fri, 23 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agoAdd support for new target, Toshiba Media Processor (MeP).
Kevin Buettner [Fri, 23 Feb 2007 22:50:41 +0000 (22:50 +0000)]
Add support for new target, Toshiba Media Processor (MeP).

17 years agobfd/
Carlos O'Donell [Fri, 23 Feb 2007 17:38:07 +0000 (17:38 +0000)]
bfd/

2007-02-23  Carlos O'Donell  <carlos@codesourcery.com>

* dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit
DWARF even with 64-bit addresses.
(_bfd_dwarf2_find_nearest_line): Likewise.

17 years agoPR binutils/3535
Nick Clifton [Fri, 23 Feb 2007 11:47:47 +0000 (11:47 +0000)]
PR binutils/3535
* elf.c (copy_private_bfd_data): Always rewrite the program headers when a
  Solaris interpreter segment is involved.

17 years ago*** empty log message ***
gdbadmin [Fri, 23 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 22 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
Alan Modra [Thu, 22 Feb 2007 22:34:16 +0000 (22:34 +0000)]
* config/tc-mn10300.c (md_convert_frag): Correct fixup size.
(md_assemble): Likewise.

17 years ago* s390-opc.c (INSTR_SS_L2RDRD): New.
DJ Delorie [Thu, 22 Feb 2007 21:01:59 +0000 (21:01 +0000)]
* s390-opc.c (INSTR_SS_L2RDRD): New.
(MASK_SS_L2RDRD): New.
* s390-opc.txt (pka): Use it.

* gas/s390/esa-g5.s: Adjust for corrected PKA syntax.
* gas/s390/esa-g5.d: Adjust for corrected PKA syntax.

17 years ago * spu-low.c (spu_arch_string): New.
Ulrich Weigand [Thu, 22 Feb 2007 17:41:37 +0000 (17:41 +0000)]
    * spu-low.c (spu_arch_string): New.
        (spu_target_ops): Add spu_arch_string.

17 years ago2007-02-22 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 22 Feb 2007 17:03:59 +0000 (17:03 +0000)]
2007-02-22  Paul Brook  <paul@codesourcery.com>

bfd/
* elflink.c (gc_mark_hook_fn): Remove.
(_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn.
(bfd_elf_gc_sections): Ditto.  Call gc_mark_extra_sections.
* elf-bfd.h (elf_gc_mark_hook_fn): Define.
(elf_backend_data): Add gc_mark_extra_sections.
* elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default
definition.
(elfNN_bed): Add elf_backend_gc_mark_extra_sections.
* elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function.
(elf_backend_gc_mark_extra_sections): Define.

ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add gc-unwind.h.
* ld-arm/gc-unwind.s: New file.
* ld-arm/gc-unwind.d: New file.

17 years ago * infrun.c (inferior_stop_reason, print_stop_reason): Remove
Ulrich Weigand [Thu, 22 Feb 2007 15:14:12 +0000 (15:14 +0000)]
* infrun.c (inferior_stop_reason, print_stop_reason): Remove
BREAKPOINT_HIT and STOP_UNKNOWN.

17 years ago * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
Ulrich Weigand [Thu, 22 Feb 2007 15:13:26 +0000 (15:13 +0000)]
* valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.

17 years ago * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
Joseph Myers [Thu, 22 Feb 2007 15:05:42 +0000 (15:05 +0000)]
* configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
mips*el-*-linux-*, mips*-*-linux-*): Set
targ_extra_libpath=$targ_extra_emuls.

17 years ago * write.c (size_seg): Always clear SEC_RELOC here.
Alan Modra [Thu, 22 Feb 2007 05:54:51 +0000 (05:54 +0000)]
* write.c (size_seg): Always clear SEC_RELOC here.
(install_reloc): New function, extracted from..
(write_relocs): ..here.  Combine RELOC_EXPANSION_POSSIBLE code
with !RELOC_EXPANSION_POSSIBLE code.  Don't add fr_offset when
testing frag size.  Set SEC_RELOC here.

17 years ago*** empty log message ***
gdbadmin [Thu, 22 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 21 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agoTake into account MEMORY regions when creating a segment map.
Nick Clifton [Wed, 21 Feb 2007 16:43:50 +0000 (16:43 +0000)]
Take into account MEMORY regions when creating a segment map.

17 years ago * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.
Alan Modra [Wed, 21 Feb 2007 02:48:22 +0000 (02:48 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.

17 years ago*** empty log message ***
gdbadmin [Wed, 21 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago PR 4082
Alan Modra [Tue, 20 Feb 2007 23:02:58 +0000 (23:02 +0000)]
PR 4082
* config/tc-avr.h (TC_FX_SIZE_SLACK): Define.

17 years agodaily update
Alan Modra [Tue, 20 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * gdb_expat.h (XMLCALL): Define if not already defined.
Joel Brobecker [Tue, 20 Feb 2007 19:42:14 +0000 (19:42 +0000)]
    * gdb_expat.h (XMLCALL): Define if not already defined.

17 years ago * Makefile.in (symfile.o): Update dependencies.
Andreas Schwab [Tue, 20 Feb 2007 16:05:54 +0000 (16:05 +0000)]
* Makefile.in (symfile.o): Update dependencies.

17 years ago * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
Thiemo Seufer [Tue, 20 Feb 2007 15:03:45 +0000 (15:03 +0000)]
* doc/c-mips.texi: Document 74kc, 74kf, 74kx.

17 years ago * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
Thiemo Seufer [Tue, 20 Feb 2007 14:48:28 +0000 (14:48 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.