binutils-gdb.git
21 years ago * arm-tdep.c: Include frame-unwind.h, frame-base.h, and
Daniel Jacobowitz [Wed, 3 Sep 2003 20:46:02 +0000 (20:46 +0000)]
* arm-tdep.c: Include frame-unwind.h, frame-base.h, and
trad-frame.h.
(arm_get_cache): Delete macro.
(struct arm_prologue_cache): Update comments.  Make saved_regs into
a trad_frame_saved_reg pointer.  Remove unwound_pc; rename unwound_sp
to prev_sp.
(thumb_scan_prologue): Update for cache changes.  Don't call
DEPRECATED_PC_IN_CALL_DUMMY.
(arm_scan_prologue): Update for cache changes.  Take NEXT_FRAME
argument and use it in desperation search for our prologue.  Do not
search past the specified PC.
(arm_make_prologue_cache): Simplify.

(arm_prologue_this_id, arm_prologue_prev_register)
(arm_prologue_unwind, arm_prologue_unwind_sniffer)
(arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache)
(arm_sigtramp_this_id, arm_sigtramp_prev_register)
(arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer)
(arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New.

(arm_frame_chain_valid, arm_find_callers_reg)
(arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs)
(arm_pop_frame): Delete obsolete methods.
(arm_minimal_frame_chain, arm_minimal_frame_info): Delete.

(arm_gdbarch_init): Update for new frame methods.  Register prologue
and sigtramp unwinders.  Set the default frame base method.

* Makefile.in (arm-tdep.o): Update dependencies.
* varobj.c (find_frame_addr_in_frame_chain): Call
get_frame_base_address.
* std-regs.c (value_of_builtin_frame_fp_reg): Likewise.

21 years ago * arm-tdep.c (arm_minimal_frame_chain): Renamed from
Daniel Jacobowitz [Wed, 3 Sep 2003 20:45:03 +0000 (20:45 +0000)]
* arm-tdep.c (arm_minimal_frame_chain): Renamed from
arm_frame_chain.  Take NEXT_FRAME and CACHE arguments.
Use the cache instead of DEPRECATED_FRAME_SAVED_PC.
(arm_minimal_frame_info): Renamed from arm_init_extra_frame_info.
Take NEXT_FRAME and CACHE arguments.  Call
FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument.
Set unwound_pc in CACHE instead of modifying the frame argument.
Don't bother checking the frame type when looking for sigtramp
frames.
(arm_make_prologue_cache, arm_frame_chain)
(arm_init_extra_frame_info): New functions.

21 years ago * arm-tdep.c (arm_get_cache): Define.
Daniel Jacobowitz [Wed, 3 Sep 2003 20:44:26 +0000 (20:44 +0000)]
* arm-tdep.c (arm_get_cache): Define.
(struct arm_prologue_cache): Renamed from frame_extra_info.  Add
unwound_sp, unwound_pc, and saved_regs.
(thumb_scan_prologue): Take a cache instead of the frame.
(arm_scan_prologue): Likewise.
(arm_frame_chain): Create a temporary cache for arm_scan_prologue
instead of a temporary frame.
(arm_init_extra_frame_info): Allocate and use a cache.
(arm_frame_saved_pc, arm_pop_frame): Use the cache.

21 years ago2003-09-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 3 Sep 2003 18:52:23 +0000 (18:52 +0000)]
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
* config/mips/wince.mt (TM_CLIBS): Ditto.
* config/sh/wince.mt (TM_CLIBS): Ditto.
* config/pa/hppa64.mt (TM_CLIBS): Delete.
* config/sparc/sp64.mt (CC): Delete.

21 years ago * Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).
Andreas Schwab [Wed, 3 Sep 2003 18:46:52 +0000 (18:46 +0000)]
* Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).

21 years agoDo not skip section symbols that are used in relocs.
Nick Clifton [Wed, 3 Sep 2003 16:06:12 +0000 (16:06 +0000)]
Do not skip section symbols that are used in relocs.

21 years ago2003-09-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 3 Sep 2003 15:02:51 +0000 (15:02 +0000)]
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* defs.h: Do not include "arch-utils.h".
(GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or
GDB_MULTI_ARCH_PURE.
* configure.in (GDB_MULTI_ARCH): Do not define.
* configure, config.in: Regenerate.
* configure.tgt: Do not set variable "gdb_multi_arch".
* config/s390/s390x.mt (GDB_MULTI_ARCH): Delete.
* config/s390/s390.mt (GDB_MULTI_ARCH): Delete.
* config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete.
* config/v850/v850.mt (TM_FILE): Delete disabled definition.
* config/m68hc11/m68hc11.mt (TM_FILE): Delete definition.
* config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition.
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition.
* config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition.
* config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition.
* config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition.
* config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition.
* config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition.
* config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.

21 years agoAdd *kfreebsd-gnu configuration support
Nick Clifton [Wed, 3 Sep 2003 09:32:21 +0000 (09:32 +0000)]
Add *kfreebsd-gnu configuration support

21 years agoUse bfd_map_over_sections to walk section chain.
Nick Clifton [Wed, 3 Sep 2003 08:26:52 +0000 (08:26 +0000)]
Use bfd_map_over_sections to walk section chain.
Do not dump the contents of an empty section.

21 years agomerge from gcc
DJ Delorie [Wed, 3 Sep 2003 00:03:18 +0000 (00:03 +0000)]
merge from gcc

21 years agodaily update
Alan Modra [Wed, 3 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 3 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* configure.in: Ensure arguments to sed are properly spaced.
DJ Delorie [Tue, 2 Sep 2003 23:21:43 +0000 (23:21 +0000)]
* configure.in: Ensure arguments to sed are properly spaced.
* configure: Regenerate.

21 years ago * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILES
Daniel Jacobowitz [Tue, 2 Sep 2003 17:59:13 +0000 (17:59 +0000)]
* configure.in: Update AC_PREREQ to 2.57.  Use AC_CONFIG_FILES
and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT.
Specify AC_CONFIG_AUX_DIR.
* aclocal.m4: Regenerated with aclocal-1.7.
* configure: Regenerated with autoconf 2.57.
* Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.

21 years ago * ppc-opc.c (powerpc_opcodes): Combine identical PPC403/BOOKE entries.
Alan Modra [Tue, 2 Sep 2003 04:15:29 +0000 (04:15 +0000)]
* ppc-opc.c (powerpc_opcodes): Combine identical PPC403/BOOKE entries.
Move duplicate mnemonic entries together.  Use RS instead of RT on
all mt*.
* ppc-dis.c: Convert to ISO C.

21 years ago*** empty log message ***
gdbadmin [Tue, 2 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 2 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
Alan Modra [Mon, 1 Sep 2003 22:45:05 +0000 (22:45 +0000)]
* MAINTAINERS: Move Dave Anglin's entry to where it belongs.

21 years ago* gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns for
Maciej W. Rozycki [Mon, 1 Sep 2003 17:36:47 +0000 (17:36 +0000)]
* gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns for
little-endian.
* gas/mips/elf-rel-got-n64.d: Likewise.
* gas/mips/elf-rel-xgot-n32.d: Likewise.
* gas/mips/elf-rel-xgot-n64.d: Likewise.

21 years ago2003-08-30 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 1 Sep 2003 02:11:07 +0000 (02:11 +0000)]
2003-08-30  Michael Chastain  <mec@shout.net>

* Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h.
* config/m68k/nm-hp300hpux.h: Delete.
* config/m68k/tm-hp300hpux.h: Delete.
* config/m68k/xm-hp300hpux.h: Delete.
* config/m68k/xm-hp300bsd.h: Delete.
* config/djgpp/fnchange.lst: Remove nm-hp300hpux.h,
tm-hp300hpux.h, xm-hp300hpux.h.
* somsolib.c: Remove comment about hp300 shared libraries.

21 years ago*** empty log message ***
gdbadmin [Mon, 1 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 1 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years agofixed comment for i860_howto_pc26_reloc
Christian Groessler [Sun, 31 Aug 2003 18:25:09 +0000 (18:25 +0000)]
fixed comment for i860_howto_pc26_reloc

21 years ago * elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here
Christian Groessler [Sun, 31 Aug 2003 18:22:06 +0000 (18:22 +0000)]
* elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here
instead of returning bfd_reloc_continue.

21 years ago* i386-linux-nat.c (ps_get_thread_area): Don't define as extern.
Mark Kettenis [Sun, 31 Aug 2003 15:18:58 +0000 (15:18 +0000)]
* i386-linux-nat.c (ps_get_thread_area): Don't define as extern.
Only define PTRACE_GET_THREAD_AREA is not already defined.
Various style fixes in code and comments and some additional
spelling fixes in comments.  Move after functions dealing with
debug registers.
* x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern.
Fix coding-style.

21 years ago* alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
Mark Kettenis [Sun, 31 Aug 2003 12:56:42 +0000 (12:56 +0000)]
* alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
frame_unwind_register_unsigned instead of
frame_unwind_unsigned_register.

21 years ago * merge.c: Update to ISO C90.
Andreas Jaeger [Sun, 31 Aug 2003 10:07:47 +0000 (10:07 +0000)]
* merge.c: Update to ISO C90.

21 years agodaily update
Alan Modra [Sun, 31 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sun, 31 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-08-30 Michael Chastain <mec@shout.net>
Michael Chastain [Sat, 30 Aug 2003 04:58:21 +0000 (04:58 +0000)]
2003-08-30  Michael Chastain  <mec@shout.net>

* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
* gdb.gdb/observer.exp: Ditto.
* gdb.gdb/xfullpath.exp: Ditto.

21 years ago* configure.in: Search for gethostbyname in libnsl.
Mark Kettenis [Sat, 30 Aug 2003 00:06:22 +0000 (00:06 +0000)]
* configure.in: Search for gethostbyname in libnsl.
* configure: Regenerated.

21 years ago*** empty log message ***
gdbadmin [Sat, 30 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 30 Aug 2003 00:00:07 +0000 (00:00 +0000)]
daily update

21 years agos/.cfi_gnu_window_save/.cfi_window_save/g
Jakub Jelinek [Fri, 29 Aug 2003 20:32:56 +0000 (20:32 +0000)]
s/.cfi_gnu_window_save/.cfi_window_save/g

21 years ago * dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save.
Jakub Jelinek [Fri, 29 Aug 2003 20:20:18 +0000 (20:20 +0000)]
* dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save.
(dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save.
(output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK
nor tc_cfi_emit_pcrel_expr are defined.
(output_fde): Use tc_cfi_emit_pcrel_expr if available and
DIFF_EXPR_OK is not defined.
* config/tc-sparc.h (TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum,
tc_cfi_emit_pcrel_expr): Define.
(sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum,
sparc_cfi_emit_pcrel_expr): New prototypes.
(sparc_cie_data_alignment): New decl.
(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define.
* config/tc-sparc.c: Include dw2gencfi.h.
(sparc_cie_data_alignment): New variable.
(md_begin): Initialize it.
(sparc_cfi_frame_initial_instructions): New function.
(sparc_regname_to_dw2regnum): Likewise.
(sparc_cfi_emit_pcrel_expr): Likewise.
* doc/as.texinfo: Document .cfi_gnu_window_save.

* config/tc-sparc.c (s_common): Cast last argument to long and
change format string to shut up warning.
testsuite/
* gas/cfi/cfi-sparc-1.s: New test.
* gas/cfi/cfi-sparc-1.d: New test.
* gas/cfi/cfi-sparc64-1.s: New test.
* gas/cfi/cfi-sparc64-1.d: New test.
* gas/cfi/cfi.exp: Run them.

21 years ago* configure.in: Remove redundant AC_MSG_RESULT in check for
Mark Kettenis [Fri, 29 Aug 2003 19:18:07 +0000 (19:18 +0000)]
* configure.in: Remove redundant AC_MSG_RESULT in check for
uintptr_t in stdint.h.
* configure: Regenerated.

21 years ago2003-08-29 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 29 Aug 2003 19:14:54 +0000 (19:14 +0000)]
2003-08-29  Dave Brolley  <brolley@redhat.com>

        * Makefile.am (stamp-frv): Copy frv.cpu and frv.opc from
        $(srcdir)/../cpu temporarily when regenerating source files.
        * Makefile.in: Regenerated.

21 years ago2003-08-29 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 29 Aug 2003 19:13:00 +0000 (19:13 +0000)]
2003-08-29  Dave Brolley  <brolley@redhat.com>

        * Makefile.in (stamp-arch): Copy frv.cpu from $(srcdir)../../cpu
        temporarily when regenerating files.
        (stamp-cpu): Ditto.

21 years ago2003-08-29 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 29 Aug 2003 17:20:42 +0000 (17:20 +0000)]
2003-08-29  Dave Brolley  <brolley@redhat.com>

        * MAINTAINERS: Add myself as maintainer of the FRV port.

21 years ago* amd64-nat.h (struct regcache): Add opaque declaration.
Mark Kettenis [Fri, 29 Aug 2003 17:18:27 +0000 (17:18 +0000)]
* amd64-nat.h (struct regcache): Add opaque declaration.

21 years ago2003-08-20 Michael Snyder <msnyder@redhat.com>
Dave Brolley [Fri, 29 Aug 2003 16:45:22 +0000 (16:45 +0000)]
2003-08-20  Michael Snyder  <msnyder@redhat.com>
            Dave Brolley  <brolley@redhat.com>

        * frv/: New directory, simulator for the Fujitsu FR-V.
        * testsuite/frv-elf/: New directory.
        * testsuite/sim/frv/: New directory.
        * configure.in: Add frv configury.
        * configure: Regenerate.

21 years ago2003-08-20 Michael Snyder <msnyder@redhat.com>
Dave Brolley [Fri, 29 Aug 2003 16:43:38 +0000 (16:43 +0000)]
2003-08-20  Michael Snyder  <msnyder@redhat.com>
            Dave Brolley  <brolley@redhat.com>

        * cgen-par.h (flags, word1): New target-specific
        fields of CGEN_WRITE_QUEUE_ELEMENT.
        (CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro.
        (CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro.
        * gennltvals.sh: Add frv target.
        * nltvals.def: Add frv target.

21 years ago2003-08-20 Michael Snyder <msnyder@redhat.com>
Dave Brolley [Fri, 29 Aug 2003 16:42:18 +0000 (16:42 +0000)]
2003-08-20  Michael Snyder  <msnyder@redhat.com>
            On behalf of Dave Brolley

        * sim/frv: New testsuite.
        * frv-elf: New testsuite.

21 years agoNew sim testsuite for Fujitsu FRV. Contributed by Red Hat.
Dave Brolley [Fri, 29 Aug 2003 16:41:31 +0000 (16:41 +0000)]
New sim testsuite for Fujitsu FRV. Contributed by Red Hat.

21 years agoNew simulator for Fujitsu frv contributed by Red Hat.
Dave Brolley [Fri, 29 Aug 2003 16:35:47 +0000 (16:35 +0000)]
New simulator for Fujitsu frv contributed by Red Hat.

21 years ago* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
Mark Kettenis [Fri, 29 Aug 2003 16:28:39 +0000 (16:28 +0000)]
* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
* x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h".
Change "register array" to "register cache" in comments.
(x86_64_linux_gregset64_reg_offset): New variable.
(GETREGS_SUPPLIES): Remove macro.
(supply_gregset): Call amd64_supply_native_gregset instead of
x86_64_linux_supply_gregset.
(fill_gregset): Rename `regno' to `regnum'.  Call
amd64_collect_native_gregset instead of x86_64_linux_fill_gregset.
(store_regs): Rename `regno' to `regnum'.
(store_fpregs): Rename `regno' to `regnum'.
(fetch_inferior_registers): Rename `regno' to `regnum'.  Use
amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
Reorganize function a bit.
(store_inferior_registers): Rename `regno' to `regnum'.  Use
amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
Reorganize function a bit.
(_initialize_x86_64_linux_nat): New function.
* config/i386/x86-64linux.mh.

21 years ago2003-08-29 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 29 Aug 2003 16:18:06 +0000 (16:18 +0000)]
2003-08-29  Andrew Cagney  <cagney@redhat.com>

* config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro.
(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro.
(target_remove_watchpoint): Delete macro.
(target_insert_watchpoint): Delete macro.
(remote_mips_can_use_hardware_watchpoint): Delete declaration.
(remote_mips_stopped_by_watchpoint): Delete declaration.
(remote_mips_remove_watchpoint): Delete declaration.
(remote_mips_set_watchpoint): Delete declaration.
(TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro.
* remote-mips.c (_initialize_remote_mips): Set
"to_insert_watchpoint", "to_stopped_by_watchpoint",
"to_can_use_hardware_watchpoint", and "to_remove_watchpoint".
(mips_insert_watchpoint): Rename remote_mips_set_watchpoint.
(mips_remove_watchpoint): Rename remote_mips_remove_watchpoint.
(mips_stopped_by_watchpoint): Rename
remote_mips_stopped_by_watchpoint.
(mips_can_hardware_watchpoint): Rename
remote_mips_can_use_hardware_watchpoint, update function
signature.

21 years ago* x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and
Mark Kettenis [Fri, 29 Aug 2003 15:31:10 +0000 (15:31 +0000)]
* x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and
USER_DS.  We haven't given them a register number yet.

21 years ago* amd64-nat.h: New file.
Mark Kettenis [Fri, 29 Aug 2003 13:58:26 +0000 (13:58 +0000)]
* amd64-nat.h: New file.
* amd64-nat.c: New file.
* amd64fbsd-nat.c: Include "amd64-nat.h".
(REG_ADDR, GETREGS_SUPPLIES): Remove macros.
(amd64fbsd32_r_reg_offset): New variable.
(supply_gregset): Simply call amd64_supply_native_gregset.
(fill_gregset): Rename `regno' to `regnum'.  Simply call
amd64_collect_native_gregset.
(fill_fpregset): Rename `regno' to `regnum'.
(fetch_inferior_registers): Rename `regno' to `regnum'.  Replace
usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
Use `struct reg' and `struct fpreg' instead of `gregset_t' and
`fpregset_t'.  Call amd64_supply_native_gregset instead of
supply_gregset.  Call x86_64_supply_fxsave instead of
supply_fpregset.
(store_inferior_registers): Rename `regno' to `regnum'.  Replace
usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
Use `struct reg' and `struct fpreg' instead of `gregset_t' and
`fpregset_t'.  Call amd64_collect_native_gregset instead of
fill_gregset.  Call x86_64_collect_fxsave instead of
fill_fpregset.
(_initialize_am64fbsd_nat): Initialize
amd64_native_gregset32_reg_offset and
amd64_native_gregset64_reg_offset.
* config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.

21 years ago* regcache.c (regcache_raw_supply): Don't assert that BUF isn't a
Mark Kettenis [Fri, 29 Aug 2003 13:04:44 +0000 (13:04 +0000)]
* regcache.c (regcache_raw_supply): Don't assert that BUF isn't a
null pointer.  Fix typo in comment.

21 years ago* regcache.c (supply_register): Reimplement to call
Mark Kettenis [Fri, 29 Aug 2003 11:48:04 +0000 (11:48 +0000)]
* regcache.c (supply_register): Reimplement to call
regcache_raw_supply.
(regcache_collect): Reimplement by calling regcache_raw_collect.

21 years ago* gdb.base/interrupt.exp: XFAIL "call function when asleep" for
Mark Kettenis [Fri, 29 Aug 2003 11:42:28 +0000 (11:42 +0000)]
* gdb.base/interrupt.exp: XFAIL "call function when asleep" for
*-*-*bsd*.

21 years ago* regcache.c (register_buffer): Consitify first argument.
Mark Kettenis [Fri, 29 Aug 2003 09:59:28 +0000 (09:59 +0000)]
* regcache.c (register_buffer): Consitify first argument.
(regcache_raw_supply, regcache_raw_collect): New
functions.

21 years ago * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
Alan Modra [Fri, 29 Aug 2003 00:34:27 +0000 (00:34 +0000)]
* emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.

21 years ago * install-sh: Update to newer upstream versions (associated with
Daniel Jacobowitz [Fri, 29 Aug 2003 00:13:09 +0000 (00:13 +0000)]
* install-sh:  Update to newer upstream versions (associated with
aclocal 1.7).
* missing:  Likewise, plus $1Help2man -> $1 typo fix.

21 years agodaily update
Alan Modra [Fri, 29 Aug 2003 00:00:14 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 29 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 28 Aug 2003 18:01:50 +0000 (18:01 +0000)]
2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.base/dump.exp: Skip for ia64.

21 years agoIndex: common/ChangeLog
Andrew Cagney [Thu, 28 Aug 2003 17:02:00 +0000 (17:02 +0000)]
Index: common/ChangeLog
2003-08-28  Andrew Cagney  <cagney@redhat.com>

* dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof.
* sim-options.c (print_help): Cast the format with specifier to
"int".

Index: mn10300/ChangeLog
2003-08-28  Andrew Cagney  <cagney@redhat.com>

* dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to
"long".
(read_status_reg): Cast "serial_reg" to "long".
* dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to
"long".
(do_counter6_event, write_mode_reg, write_tm6md): Ditto.

21 years ago * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested
Daniel Jacobowitz [Thu, 28 Aug 2003 14:44:14 +0000 (14:44 +0000)]
* config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET.  Suggested
by Nathan J. Williams.

21 years ago * lin-lwp.c (wait_lwp): New function, copied from
Daniel Jacobowitz [Thu, 28 Aug 2003 14:20:03 +0000 (14:20 +0000)]
* lin-lwp.c (wait_lwp): New function, copied from
stop_wait_callback.  Clean up.
(stop_wait_callback): Use wait_lwp.

21 years ago2003-08-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 04:34:19 +0000 (04:34 +0000)]
2003-08-28  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (gdb_print_insn_mips): Set the disassembler's
flavour and disassembler options.
(_initialize_mips_tdep): Do not set deprecated_tm_print_insn.
(mips_gdbarch_init): Set "print_insn".  Delete initialization of
deprecated_tm_print_insn_info.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 03:39:20 +0000 (03:39 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* s390-tdep.c (s390_readinstruction): Delete "info" parameter.
Use target_read_memory.
(s390_get_frame_info): Update.  Do not reference
deprecated_tm_print_insn_info.
(s390_check_function_end, s390_is_sigreturn): Ditto.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 03:03:44 +0000 (03:03 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (cris-tdep.o): Update dependencies.
* cris-tdep.c: Include "gdb_assert.h".
(cris_gdbarch_init): Set print_insn.
(_initialize_cris_tdep): Do not set deprecated_tm_print_insn.
(cris_delayed_get_disassembler): Simplify, directly call the
disassembler returned by cris_get_disassembler.
* hppa-tdep.c (hppa_gdbarch_init): Set print_insn.
(_initialize_hppa_tdep): Do not set deprecated_tm_print_insn.
* ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn.
(_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn.
* mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn.
(_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn.
* mcore-tdep.c (mcore_gdbarch_init): Set print_insn.
(_initialize_mcore_tdep): Do not set deprecated_tm_print_insn.
* frv-tdep.c (frv_gdbarch_init): Set print_insn.
(_initialize_frv_tdep): Do not set deprecated_tm_print_insn.
* sparc-tdep.c (sparc_gdbarch_init): Set print_insn.
(gdb_print_insn_sparc): Delete function.
(_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or
deprecated_tm_print_insn_info.
* v850-tdep.c (v850_gdbarch_init): Set print_insn.
(_initialize_v850_tdep): Do not set deprecated_tm_print_insn.
(v850_gdbarch_init): Do not set deprecated_tm_print_insn_info.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn.
(_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn.
* s390-tdep.c (gdb_print_insn_s390): Delete function.
(_initialize_s390_tdep): Do not set deprecated_tm_print_insn.
(s390_gdbarch_init): Set print_insn.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 02:53:08 +0000 (02:53 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function.
(ppc_linux_init_abi): For PPC64, do not set call_dummy_address.
* infcall.c (call_function_by_hand): Convert the entry point
address into a code address.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 28 Aug 2003 00:49:31 +0000 (00:49 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* dsrec.c: Include "gdb_string.h".
* Makefile.in (dsrec.o): Update dependencies.

21 years ago*** empty log message ***
gdbadmin [Thu, 28 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 28 Aug 2003 00:00:16 +0000 (00:00 +0000)]
daily update

21 years ago * configure.in: Set RAW_CXX_FOR_TARGET if unset.
Daniel Jacobowitz [Wed, 27 Aug 2003 21:17:54 +0000 (21:17 +0000)]
* configure.in: Set RAW_CXX_FOR_TARGET if unset.
* configure: Regenerated.

21 years ago * aclocal.m4: Include acx.m4 and no-executables.m4.
Daniel Jacobowitz [Wed, 27 Aug 2003 21:15:13 +0000 (21:15 +0000)]
* aclocal.m4: Include acx.m4 and no-executables.m4.
(libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
(LIB_AC_PROG_CC): Remove.
* configure.in: Update AC_PREREQ to 2.57.  Use GCC_NO_EXECUTABLES.
Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
LIB_AC_PROG_CC.  Use AC_LIBOBJ.  Call AC_ISC_POSIX later, only if
performing link tests.
* configure: Regenerated.

21 years ago2003-08-27 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 27 Aug 2003 19:25:58 +0000 (19:25 +0000)]
2003-08-27  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*.

21 years ago * config/no-executables.m4: New file.
Daniel Jacobowitz [Wed, 27 Aug 2003 19:14:47 +0000 (19:14 +0000)]
* config/no-executables.m4: New file.

21 years ago2003-08-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 27 Aug 2003 19:02:03 +0000 (19:02 +0000)]
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function.
(alpha_osf1_init_abi): Do not set call_dummy_address.

21 years ago * configure.in: Check for strtoull.
Ian Lance Taylor [Wed, 27 Aug 2003 17:57:33 +0000 (17:57 +0000)]
* configure.in: Check for strtoull.
* bfd.c (bfd_scan_vma): Use strtoull when available.
* configure, config.in: Regenerate.

21 years ago * configure.in: Define and substitute BFD_HOST_LONG_LONG.
Ian Lance Taylor [Wed, 27 Aug 2003 17:43:39 +0000 (17:43 +0000)]
* configure.in: Define and substitute BFD_HOST_LONG_LONG.
* bfd-in.h: Define BFD_HOST_LONG_LONG.  Test it rather than
__GNUC__ when deciding whether to use long long for
BFD_HOST_64_BIT.
* configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate.

21 years ago2003-08-27 David Carlton <carlton@kealia.com>
David Carlton [Wed, 27 Aug 2003 15:41:41 +0000 (15:41 +0000)]
2003-08-27  David Carlton  <carlton@kealia.com>

From Randolph Chung  <tausq@debian.org>:
* linux-proc.c (linux_info_proc_cmd): rework the code so that it
compiles with -Wformat-nonliteral -Werror.

21 years ago2003-08-27 Christian Groessler <chris@groessler.org>
Christian Groessler [Wed, 27 Aug 2003 13:28:42 +0000 (13:28 +0000)]
2003-08-27  Christian Groessler  <chris@groessler.org>

* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc,
i860_howto_splitn_reloc, i860_howto_highadj_reloc): New
functions.
(elf32_i860_howto_table): Insert the new functions as
'special_function's in the proper reloc type entries.

21 years ago * elf32-frv.c (elf32_frv_relocate_section): Use
Richard Sandiford [Wed, 27 Aug 2003 09:21:15 +0000 (09:21 +0000)]
* elf32-frv.c (elf32_frv_relocate_section): Use
_bfd_elf_rela_local_sym.

21 years agoMerge bugfix from GCC:
Nathanael Nerode [Wed, 27 Aug 2003 03:05:51 +0000 (03:05 +0000)]
Merge bugfix from GCC:

2003-08-23  Phil Edwards  <pme@gcc.gnu.org>

* configure.in:  Use newline instead of semicolon when assuming
shell arguments in a for loop.
* configure:  Regenerated.

21 years ago*** empty log message ***
gdbadmin [Wed, 27 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 27 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.
Jim Blandy [Tue, 26 Aug 2003 23:35:19 +0000 (23:35 +0000)]
* solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.
(enable_break): Pass SEC_CODE as the SECT_FLAGS argument to
bfd_lookup_symbol, since we only want symbols in code sections.
(look_for_base): Pass zero as the SECT_FLAGS argument to
bfd_lookup_symbol, since we're not concerned about which section
the symbol is in.

21 years ago2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 26 Aug 2003 22:24:40 +0000 (22:24 +0000)]
2003-08-26  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (examine_prologue): Only stop at predicated insns if
        we are frameless or the return address register is already known.

21 years ago2003-08-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 26 Aug 2003 19:34:53 +0000 (19:34 +0000)]
2003-08-26  Andrew Cagney  <cagney@redhat.com>

* i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s
in size.  Add comments.

21 years ago2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 26 Aug 2003 17:33:22 +0000 (17:33 +0000)]
2003-08-26  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (ia64_convert_from_func_addr): New function.
        (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr().

21 years agoAdd German translation
Nick Clifton [Tue, 26 Aug 2003 17:19:20 +0000 (17:19 +0000)]
Add German translation

21 years ago2003-08-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 26 Aug 2003 17:13:18 +0000 (17:13 +0000)]
2003-08-26  Michael Snyder  <msnyder@redhat.com>

        * cpu-frv.c: Remove unused enum.

21 years ago * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name
Jason Merrill [Tue, 26 Aug 2003 05:28:38 +0000 (05:28 +0000)]
    * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name
        case out of #ifdef MIPS block.

21 years agoswitch to changelog mode
Jason Merrill [Tue, 26 Aug 2003 05:18:23 +0000 (05:18 +0000)]
switch to changelog mode

21 years ago * PROBLEMS: Remove description of java/1322.
Daniel Jacobowitz [Tue, 26 Aug 2003 03:08:32 +0000 (03:08 +0000)]
* PROBLEMS: Remove description of java/1322.

21 years ago PR java/1322
Daniel Jacobowitz [Tue, 26 Aug 2003 03:07:29 +0000 (03:07 +0000)]
PR java/1322
* dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are
available before calling SECT_OFF_TEXT.

21 years ago2003-08-25 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Tue, 26 Aug 2003 02:40:43 +0000 (02:40 +0000)]
2003-08-25  Jason Eckhardt  <jle@rice.edu>

* doc/c-i860.texi: Update text about relocatable address expansions.

21 years agodaily update
Alan Modra [Tue, 26 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 26 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 25 Aug 2003 23:43:40 +0000 (23:43 +0000)]
2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.asm/asm-source.exp: Add ia64 support.
        * gdb.asm/ia64.inc: New file.

21 years ago2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 25 Aug 2003 23:27:48 +0000 (23:27 +0000)]
2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63,
        bof, and nat0-nat127 as pseudo-registers.
        (ia64_frame_cache): New struct used to cache frame info.
        (ia64_register_reggroup_p): New routine used to override default
        register grouping so registers without names are still saved and
        restored.
        (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their
        pseudo values.
        (ia64_pseudo_register_read): New routine to read pseudo-registers.
        (ia64_pseudo_register_write): New routine to write pseudo-registers.
        (ia64_alloc_frame_cache): New routine to create a new
        ia64_frame_cache.
        (examine_prologue): Change prototype to add next_frame pointer.
        Assume frameless until otherwise proven.  Verify that the cfm for
        current frame matches the cfm that should occur for the prologues
        alloc insn and if equal, mark as not frameless.  At end of routine,
        if not frameless, calculate registers for the previous frame and store
        in the cache, if a cache is provided.
        (ia64_skip_prologue):  Use new prototype when calling examine_prologue
        and pass 0 for next_frame.
        (ia64_store_return_value): Change to use convert_typed_floating()
        instead of calling ia64_convert_to_raw().
        (ia64_extract_return_value): Change to use convert_typed_floating()
        instead of calling ia64_convert_to_virtual().
        (ia64_frame_cache): New routine to support new frame model.
        (ia64_frame_this_id, ia64_frame_prev_register): Ditto.
        (ia64_frame_sniffer): Ditto.
        (ia64_sigtramp_frame_init_saved_regs): Ditto.
        (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto.
        (ia64_sigtramp_frame_prev_register): Ditto.
        (ia64_sigtramp_frame_sniffer): Ditto.
        (ia64_frame_base_address): Ditto.
        (ia64_extract_struct_value_address): Change to issue error message.
        (ia64_frame_align): New routine to align sp.
        (ia64_push_dummy_call): New routine based on ia64_push_arguments().
        (ia64_push_arguments): Removed.  Logic moved to
        ia64_push_dummy_call().
        (ia64_push_return_address): Ditto.
        (ia64_unwind_dummy_id): New function.
        (ia64_unwind_pc): Ditto.
        (ia64_convert_register_p): Ditto.
        (ia64_register_to_value): Ditto.
        (ia64_value_to_register): Ditto.
        (ia64_pop_frame, ia64_pop_frame_regular): Removed.
        (ia64_register_byte, ia64_register_raw_size): Ditto.
        (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto.
        (ia64_saved_pc_after_call): Ditto.
        (ia64_frame_chain, ia64_frame_saved_pc): Ditto.
        (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto.
        (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto.
        (ia64_register_convert_to_raw): Ditto.
        (ia64_store_struct_return, ia64_call_dummy_words): Ditto.
        (ia64_init_extra_frame_info): Ditto.
        (ia64_frame_args_address, ia64_frame_locals_address): Ditto.
        (ia64_gdbarch_init): Remove registering of deprecated functions that
        are no longer used.  Add registration of new gdbarch functions.
        Remove registering deprecated_write_sp.  Replace
        set_gdbarch_register_virtual_type() with set_gdbarch_register_type().
        Delete set_gdbarch_deprecated_register_convertible(),
        set_gdbarch_deprecated_register_convert_to_virtual(), and
        set_gdbarch_deprecated_register_convert_to_raw() calls.  Remove
        set_gdbarch_deprecated_register_size(),
        set_gdbarch_deprecated_register_bytes(),
        set_gdbarch_pcregnum(),
        set_gdbarch_deprecated_register_byte(),
        set_gdbarch_deprecated_register_raw_size(),
        set_gdbarch_deprecated_max_register_raw_size(),
        set_gdbarch_deprecated_register_virtual_size(),
        and set_gdbarch_deprecated_max_register_virtual_size() calls.
        Replace set_gdbarch_deprecated_extract_return_value() with
        set_gdbarch_extract_return_value().  Remove calls to:
        set_gdbarch_deprecated_saved_pc_after_call();
        set_gdbarch_deprecated_frame_chain(),
        set_gdbarch_deprecated_frame_saved_pc(),
        set_gdbarch_deprecated_frame_init_saved_regs(),
        set_gdbarch_deprecated_get_saved_register(),
        set_gdbarch_deprecated_call_dummy_words(),
        set_gdbarch_deprecated_sizeof_call_dummy_words(),
        set_gdbarch_deprecated_init_extra_frame_info(),
        set_gdbarch_deprecated_frame_args_address(),
        set_gdbarch_deprecated_frame_locals_address(),
        and set_gdbarch_deprecated_dummy_write_sp().
        Add set_gdbarch_convert_register_p(),
        set_gdbarch_register_to_value(),
        set_gdbarch_value_to_register(),
        set_gdbarch_push_dummy_call(),
        set_gdbarch_frame_align(),
        set_gdbarch_unwind_dummy_id(),
        set_gdbarch_unwind_pc(),
        frame_unwind_append_sniffer(),
        frame_unwind_append_sniffer(),
        and frame_base_set_default().

21 years ago2003-08-25 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 25 Aug 2003 22:56:09 +0000 (22:56 +0000)]
2003-08-25  Chris Demetriou  <cgd@broadcom.com>

        * configure.tgt: Document need for special "mipsisa64" handling.
        (mipsisa64*-*-linux64): Handle as target linux64.
        (mipsisa64*-*-*): Handle as target embed64.

21 years ago2003-08-18 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 25 Aug 2003 18:16:19 +0000 (18:16 +0000)]
2003-08-18  Michael Chastain  <mec@shout.net>

* PROBLEMS: Document pr gdb/1322, the Java anonymous
objfile bug.

21 years ago2003-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
Maciej W. Rozycki [Mon, 25 Aug 2003 12:39:14 +0000 (12:39 +0000)]
2003-08-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* reloc.c: Fix documentation for MIPS ELF relocations.
libbfd.h: Regenerate.
bfd-in2.h: Regenerate.

21 years ago2003-08-24 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Mon, 25 Aug 2003 02:48:14 +0000 (02:48 +0000)]
2003-08-24  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c (md_assemble): Use isrc2 from the original
        instruction when expanding E_ADDR.