OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago*** empty log message ***
gdbadmin [Sun, 31 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 23:22:52 +0000 (23:22 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.h (MIPS_PRID_REGNUM): Add.
* config/mips/tm-mips.h (PRID_REGNUM): Delete.
* mips-tdep.c: Update.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 23:08:16 +0000 (23:08 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.h (MIPS_FIRST_EMBED_REGNUM)
(MIPS_LAST_EMBED_REGNUM): Add.
* config/mips/tm-mips.h (FIRST_EMBED_REGNUM)
(LAST_EMBED_REGNUM): Delete.
* mipsv4-nat.c, mips-tdep.c, mips-linux-tdep.c: Update.

19 years agodaily update
amodra [Sat, 30 Oct 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 22:54:39 +0000 (22:54 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* config/mips/tm-mips.h (PS_REGNUM): Delete.
* mips-tdep.h (MIPS_PS_REGNUM): Add.
* remote-vxmips.c, mipsv4-nat.c, mips-tdep.c: Update.
* mips-linux-nat.c: Update.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 22:36:34 +0000 (22:36 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.h: Add comments on registers.
(MIPS_UNUSED_REGNUM): Define.
* config/mips/tm-mips.h (ZERO_REGNUM, UNUSED_REGNUM)
(T9_REGNUM, V0_REGNUM, A0_REGNUM): Delete.
* irix5-nat.c, mipsv4-nat.c, mips-linux-tdep.c: Update.
* mips-linux-nat.c, remote-mips.c: Update.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 22:11:15 +0000 (22:11 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* config/mips/tm-mips.h (t_insn): Delete.
* mips-tdep.c (mips_fetch_instruction, mips_skip_trampoline_code):
Replace t_insn with ULONGEST.

19 years ago* gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
kettenis [Sat, 30 Oct 2004 21:49:30 +0000 (21:49 +0000)]
* gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
NetBSD/ELF targets.

19 years ago* mipsnbsd-tdep.c: Include "regset.h" and "gdb_assert.h".
kettenis [Sat, 30 Oct 2004 21:40:47 +0000 (21:40 +0000)]
* mipsnbsd-tdep.c: Include "regset.h" and "gdb_assert.h".
(MIPS_PC_REGNUM, MIPS_FP0_REGNUM, MIPS_FSR_REGNUM)
(MIPSNBSD_NUM_GREGS, MIPSNBSD_NUM_FPREGS): New defines.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(mipsnbsd_core_fns, mipsnbsd_elfcore_fns): Remove variables.
(mipsnbsd_core_osabi_sniffer): New function.
(mipsnbsd_init_abi): Set regset_from_core_section.
(_initialize_mipsnbsd_tdep): Remove calls to
deprecated_add_core_fns.
(mipsnbsd_supply_fpregset, mipsnbsd_supply_gregset)
(mipsnbsd_regset_from_core_section): New functions.
(mipsnbsd_gregset, mipsnbsd_fpregset): New variables.
* Makefile.in (mipsnbsd-tdep.o): Update dependencies.

19 years ago* procfs.c (procfs_fetch_registers, procfs_store_registers): Like
kettenis [Sat, 30 Oct 2004 21:30:56 +0000 (21:30 +0000)]
* procfs.c (procfs_fetch_registers, procfs_store_registers): Like
Remove optimization for DEPRECATED_FP_REGNUM.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 21:16:08 +0000 (21:16 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* alpha-tdep.c (alpha_setup_arbitrary_frame): Delete.
* config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Delete.
(alpha_setup_arbitrary_frame): Delete.
* mips-tdep.c (setup_arbitrary_frame): Delete.
* config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Delete.
(setup_arbitrary_frame): Delete.
* stack.c (parse_frame_specification_1): When specified, call
create_new_frame with two parameters.  Delete #ifdef
SETUP_ARBITRARY_FRAME.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 20:54:51 +0000 (20:54 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* config/mips/tm-mips.h (MIPS16_INSTLEN, MIPS_NUMREGS)
(MIPS_INSTLEN): Delete.
* mips-tdep.h (enum mips_insn_size): Rename MIPS32_INSN_SIZE and
MIPS16_INSN_SIZE to MIPS_INSN32_SIZE and MIPS_INSN16_SIZE.
* remote-mips.c, mips-tdep.c: Update.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 20:26:21 +0000 (20:26 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* config/mips/embed.mt (TDEPFILES): Add mips-mdebug-tdep.o.
* mips-mdebug-tdep.h, mips-mdebug-tdep.c: New files.
* mips-tdep.c (mips_mdebug_frame_cache)
(mips_mdebug_frame_this_id, mips_mdebug_frame_prev_register)
(mips_mdebug_frame_unwind, mips_mdebug_frame_sniffer)
(mips_mdebug_frame_base_address, mips_mdebug_frame_sniffer)
(mips_mdebug_frame_base_sniffer, non_heuristic_proc_desc)
(compare_pdr_entries, the_bfd, mips16_fetch_instruction): Delete.
(mips_gdbarch_init): Do not append mdebug sniffers.
(PROC_LOW_ADDR, PROC_HIGH_ADDR, PROC_FRAME_OFFSET)
(PROC_FRAME_REG, PROC_FRAME_ADJUST, PROC_REG_MASK)
(PROC_FREG_MASK, PROC_REG_OFFSET, PROC_FREG_OFFSET, PROC_PC_REG)
(PROC_SYMBOL, _PROC_MAGIC_): Delete.
* Makefile.in: Update dependencies.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 20:11:31 +0000 (20:11 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.h (mips_abi_regsize): Declare.
* mips-tdep.c (mips_abi_regsize): Make non-static.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 19:58:09 +0000 (19:58 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.c (gdb_print_insn_mips): Simplify.
(make_mips16_addr): Delete.

19 years ago* i386-sol2-nat.c: New file.
kettenis [Sat, 30 Oct 2004 19:49:35 +0000 (19:49 +0000)]
* i386-sol2-nat.c: New file.
* Makefile.in (ALLDEPFILES): Add i386-sol2-nat.c and
i386-sol2-tdep.c.
(i386-sol2-nat.o): Update dependencies.
* config/i386/i386sol2.mh (NATDEPFILES): Remove i386v4.o, add
i386-sol2-nat.o.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 19:06:48 +0000 (19:06 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

Total breakage identified by Joel Brobecker.
* mips-tdep.c (after_prologue): Delete.
(mips_skip_prologue): Use skip_prologue_using_sal.
(heuristic_proc_desc): Delete, unused.

19 years ago* procfs.c (proc_get_gregs, proc_get_fpregs, proc_set_gregs)
kettenis [Sat, 30 Oct 2004 18:01:08 +0000 (18:01 +0000)]
* procfs.c (proc_get_gregs, proc_get_fpregs, proc_set_gregs)
(proc_set_fpregs, procfs_fetch_registers, procfs_store_registers):
Cleanup coding style.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 17:53:45 +0000 (17:53 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.h (mips_pc_is_mips16): Declare.
* mips-tdep.c (mips_pc_is_mips16): Rename pc_is_mips16, make
non-static.  Update calls.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 17:10:12 +0000 (17:10 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_enum_cmd): New function.
* command.h (add_setshow_enum_cmd): Declare.
* mips-tdep.c (_initialize_mips_tdep): Use add_setshow_enum_cmd.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 16:53:19 +0000 (16:53 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.c (_initialize_mips_tdep): Use
add_setshow_zinteger_cmd.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 16:27:41 +0000 (16:27 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.c (mips_eabi_extract_return_value)
(mips_o64_extract_return_value, mips_o64_store_return_value)
(return_value_location, mips_eabi_reg_struct_has_addr)
(mips_eabi_use_struct_convention)
(mips_eabi_store_return_value): Delete.
(mips_eabi_store_return_value): New function.
(mips_eabi_return_value): New function.
(mips_gdbarch_init): For O64 and EABI, delete
extract_return_value, store_return_value, use_struct_convention
and reg_struct_has_addr, add return_value.

19 years ago2004-10-30 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 15:55:34 +0000 (15:55 +0000)]
2004-10-30  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.c (read_signed_register): Use
regcache_cooked_read_signed.

19 years ago* mipsread.c: Cleanup coding style.
kettenis [Sat, 30 Oct 2004 15:01:27 +0000 (15:01 +0000)]
* mipsread.c: Cleanup coding style.
(mipscoff_new_init, mipscoff_symfile_init, mipscoff_symfile_read)
(mipscoff_symfile_finish): Remove prototypes.

* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips_mdebug_frame_cache, mips16_scan_prologue)
(mips32_scan_prologue, mips_stub_frame_cache)
(heuristic_proc_start, heuristic_proc_desc)
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_n32n64_return_value, mips_o32_push_dummy_call)
(mips_o32_return_value, mips_o64_push_dummy_call)
(mips_step_skips_delay, mips_skip_trampoline_code)
(mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM,
MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of
T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM
instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN
and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN.
(mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM,
T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and
MIPS16_INSTLEN.  Use MIPS_A0_REGNUM instead of A0_REGNUM.
* mips-linux-tdep.c (mips_linux_o32_sigframe_init)
(mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of
ZERO_REGNUM.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
(mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of
ZERO_REGNUM.
(mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of
A0_REGNUM.
* mipsnbsd-nat.c: Include "mips-tdep.h".
(getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM.
* Makefile.in (mipsnbsd-nat.o): Update dependencies.

19 years ago* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
kettenis [Sat, 30 Oct 2004 14:31:19 +0000 (14:31 +0000)]
* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips_mdebug_frame_cache, mips16_scan_prologue)
(mips32_scan_prologue, mips_stub_frame_cache)
(heuristic_proc_start, heuristic_proc_desc)
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_n32n64_return_value, mips_o32_push_dummy_call)
(mips_o32_return_value, mips_o64_push_dummy_call)
(mips_step_skips_delay, mips_skip_trampoline_code)
(mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM,
MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of
T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM
instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN
and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN.
(mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM,
T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and
MIPS16_INSTLEN.  Use MIPS_A0_REGNUM instead of A0_REGNUM.
* mips-linux-tdep.c (mips_linux_o32_sigframe_init)
(mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of
ZERO_REGNUM.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
(mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of
ZERO_REGNUM.
(mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of
A0_REGNUM.
* mipsnbsd-nat.c: Include "mips-tdep.h".
(getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM.
* Makefile.in (mipsnbsd-nat.o): Update dependencies.

19 years ago2004-10-29 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 30 Oct 2004 00:10:02 +0000 (00:10 +0000)]
2004-10-29  Andrew Cagney  <cagney@gnu.org>

  * stack.c (parse_frame_specification_1): New function based on
  parse_frame_specification.  Add message and selected_frame_p
  paramters.  Truely always return non-NULL.
  (parse_frame_specification): Call parse_frame_specification_1.
  (frame_info): Update.  Eliminate target_has_stack check.
  (select_frame_command): Update.

19 years agodaily update
amodra [Sat, 30 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 30 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * gdb.threads/bp_in_thread.c: New file, copied from
brobecke [Fri, 29 Oct 2004 21:35:19 +0000 (21:35 +0000)]
    * gdb.threads/bp_in_thread.c: New file, copied from
        pthread_cond_wait.c.
        * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
        file, rather than reusing the .c file from another testcase.

19 years agoReally commit this file.
kettenis [Fri, 29 Oct 2004 20:49:14 +0000 (20:49 +0000)]
Really commit this file.

19 years ago2004-10-29 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 29 Oct 2004 20:23:04 +0000 (20:23 +0000)]
2004-10-29  Andrew Cagney  <cagney@gnu.org>

* frame.h (get_selected_frame): Add message parameter.
* frame.c (get_selected_frame): Add and use message parameter.
* stack.c (current_frame_command, return_command, locals_info)
(catch_info, args_info, up_silently_base, down_silently_base): Use
get_selected_frame with an explicit message.
* thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update.
* remote-rdp.c, remote-mips.c, remote-e7000.c: Update.
* ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update.
* infrun.c, inflow.c, infcmd.c, frame.c: Update.
* findvar.c, eval.c, corelow.c, bsd-kvm.c: Update.
* breakpoint.c: Update.

19 years ago2004-10-29 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 29 Oct 2004 20:22:53 +0000 (20:22 +0000)]
2004-10-29  Andrew Cagney  <cagney@gnu.org>

* frame.h (get_selected_frame): Add message parameter.
* frame.c (get_selected_frame): Add and use message parameter.
* stack.c (current_frame_command, return_command, locals_info)
(catch_info, args_info, up_silently_base, down_silently_base): Use
get_selected_frame with an explicit message.
* thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update.
* remote-rdp.c, remote-mips.c, remote-e7000.c: Update.
* ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update.
* infrun.c, inflow.c, infcmd.c, frame.c: Update.
* findvar.c, eval.c, corelow.c, bsd-kvm.c: Update.
* breakpoint.c: Update.

19 years ago2004-10-27 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 29 Oct 2004 14:00:55 +0000 (14:00 +0000)]
2004-10-27  Andrew Cagney  <cagney@gnu.org>

* trad-frame.c (trad_frame_get_prev_register): Use
frame_unwind_register instead of frame_register_unwind, do not
recurse the register's location.
* xstormy16-tdep.c (xstormy16_frame_prev_register):
* sparc-tdep.c (sparc32_frame_prev_register): Ditto.
* sparc64-tdep.c (sparc64_frame_prev_register): Ditto.
* sh-tdep.c (sh_frame_prev_register): Ditto.
* m68k-tdep.c (m68k_frame_prev_register): Ditto.
* i386-tdep.c (i386_frame_prev_register): Ditto.
* dwarf2-frame.c (dwarf2_frame_prev_register): Ditto.
* amd64-tdep.c (amd64_frame_prev_register): Ditto.

19 years ago2004-10-27 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 29 Oct 2004 14:00:37 +0000 (14:00 +0000)]
2004-10-27  Andrew Cagney  <cagney@gnu.org>

* trad-frame.c (trad_frame_get_prev_register): Use
frame_unwind_register instead of frame_register_unwind, do not
recurse the register's location.
* xstormy16-tdep.c (xstormy16_frame_prev_register):
* sparc-tdep.c (sparc32_frame_prev_register): Ditto.
* sparc64-tdep.c (sparc64_frame_prev_register): Ditto.
* sh-tdep.c (sh_frame_prev_register): Ditto.
* m68k-tdep.c (m68k_frame_prev_register): Ditto.
* i386-tdep.c (i386_frame_prev_register): Ditto.
* dwarf2-frame.c (dwarf2_frame_prev_register): Ditto.
* amd64-tdep.c (amd64_frame_prev_register): Ditto.

19 years ago*** empty log message ***
gdbadmin [Fri, 29 Oct 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Fri, 29 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago PR target/18151
aaronwl [Thu, 28 Oct 2004 19:43:35 +0000 (19:43 +0000)]
   PR target/18151
       * configure.in (case ${target}): Do not build fixincludes for avr.
       * configure: Regenerated.

19 years ago* fork.cc (NPIDS_HELD): Reduce to former number now that bash problem has been
cgf [Thu, 28 Oct 2004 17:34:28 +0000 (17:34 +0000)]
* fork.cc (NPIDS_HELD): Reduce to former number now that bash problem has been
identified.

19 years agotweak wording
cgf [Thu, 28 Oct 2004 15:55:22 +0000 (15:55 +0000)]
tweak wording

19 years ago* libc/include/sys/signal.h: Move <signal.h> include to bottom of file so that
cgf [Thu, 28 Oct 2004 15:06:45 +0000 (15:06 +0000)]
* libc/include/sys/signal.h: Move <signal.h> include to bottom of file so that
all relevant definitions have been handled for use in the include.

19 years ago2004-10-28 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 28 Oct 2004 14:58:25 +0000 (14:58 +0000)]
2004-10-28  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes.

19 years ago2004-10-28 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 28 Oct 2004 14:55:39 +0000 (14:55 +0000)]
2004-10-28  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relocate_section): Handle weak
undefined symbols for R_IA64_SECREL32MSB, R_IA64_SECREL32LSB,
R_IA64_SECREL64MSB and R_IA64_SECREL64LSB.

19 years ago * elf32-sh.c (tpoff): Take alignment into account.
kkojima [Thu, 28 Oct 2004 12:00:14 +0000 (12:00 +0000)]
* elf32-sh.c (tpoff): Take alignment into account.

19 years ago* proc-events.c: Fix several coding-style issues. Consistently
kettenis [Thu, 28 Oct 2004 11:45:43 +0000 (11:45 +0000)]
* proc-events.c: Fix several coding-style issues.  Consistently
use #ifdef instead of #if defined().
(proc_prettyfprint_fault, proc_prettyfprint_faultset): Use
ARRAY_SIZE.
(_initialize_proc_events): New prototype.

19 years ago* proc-events.c: Fix several coding-style issues. Consistently
kettenis [Thu, 28 Oct 2004 11:45:34 +0000 (11:45 +0000)]
* proc-events.c: Fix several coding-style issues.  Consistently
use #ifdef instead of #if defined().
(proc_prettyfprint_fault, proc_prettyfprint_faultset): Use
ARRAY_SIZE.
(_initialize_proc_events): New prototype.

19 years ago* proc-why.c: Fix several coding-style issues.
kettenis [Thu, 28 Oct 2004 11:04:01 +0000 (11:04 +0000)]
* proc-why.c: Fix several coding-style issues.
(proc_prettyfprint_why): Use ARRAY_SIZE.

19 years ago2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Thu, 28 Oct 2004 10:31:14 +0000 (10:31 +0000)]
2004-10-28  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Thu, 28 Oct 2004 10:29:56 +0000 (10:29 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.

19 years ago2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Thu, 28 Oct 2004 10:19:30 +0000 (10:19 +0000)]
2004-10-28  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/cop_insn.d: Regenerate (after a bug fix in Assembler).

19 years ago2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Thu, 28 Oct 2004 10:18:11 +0000 (10:18 +0000)]
2004-10-28  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/cop_insn.d: Regenerate (after a bug fix in Assembler).

19 years ago2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Thu, 28 Oct 2004 10:14:46 +0000 (10:14 +0000)]
2004-10-28  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c (getreg_image): Bug fix, a return value was mistakenly ommited from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.

19 years ago2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Thu, 28 Oct 2004 10:13:14 +0000 (10:13 +0000)]
2004-10-28  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c (getreg_image): Bug fix, a return value was mistakenly ommited from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.

19 years agoFix spelling typo
nickc [Thu, 28 Oct 2004 09:56:14 +0000 (09:56 +0000)]
Fix spelling typo

19 years agoiq2000_elf_relocate_section): Do nothing when perfoming a relocatable link.
nickc [Thu, 28 Oct 2004 09:53:44 +0000 (09:53 +0000)]
iq2000_elf_relocate_section): Do nothing when perfoming a relocatable link.
(iq2000_elf_object_p): Do not set elf_bad_symtab.  This is only for MIPS ports
  under Irix.

19 years agoEnable the iq2000 support
nickc [Thu, 28 Oct 2004 08:18:18 +0000 (08:18 +0000)]
Enable the iq2000 support

19 years agoAdd support for IQ2000
nickc [Thu, 28 Oct 2004 08:07:38 +0000 (08:07 +0000)]
Add support for IQ2000

19 years ago2004-10-28 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Thu, 28 Oct 2004 01:46:00 +0000 (01:46 +0000)]
2004-10-28  Pierre Humblet <pierre.humblet@ieee.org>

        * path.cc (mount_info::from_registry): Deimpersonate while
        accessing HKLM.
        (mount_info::read_cygdrive_info_from_registry): Ditto.
        * cygheap.h: Define NO_IMPERSONATION.
        (cygheap_user::issetuid): Replace INVALID_HANDLE_VALUE by
        NO_IMPERSONATION.
        (cygheap_user::has_impersonation_tokens): Ditto.
        (cygheap_user::close_impersonation_tokens): Ditto.
        * uinfo.cc (uinfo_init): Ditto.
        * syscalls.cc (seteuid32): Ditto.
        * security.cc (set_impersonation_token): Ditto.

19 years agodaily update
amodra [Thu, 28 Oct 2004 00:00:10 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 28 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2004-10-27 Richard Earnshaw <rearnsha@arm.com>
pbrook [Wed, 27 Oct 2004 20:48:20 +0000 (20:48 +0000)]
2004-10-27  Richard Earnshaw  <rearnsha@arm.com>

bfd/
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle
R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24.
(elf32_arm_final_link_relocate): Ditto.
(arm_add_to_rel, elf32_arm_relocate_section): Ditto.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto
(elf32_arm_adjust_dynamic_symbol): Ditto.
* elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and
R_ARM_JUMP32.  Move R_ARM_R{REL32,ABS32,PC24,BASE}...
(elf32_arm_r_howto): ... To here.
(elf32_arm_howto_from_type): Use elf32_arm_r_howto.
include/
* elf/arm.h: Add R_ARM_CALL and R_ARM_JUMP32.

19 years ago* remote.c (fetch_register_using_p): Construct 'p' packet in a
jimb [Wed, 27 Oct 2004 20:03:45 +0000 (20:03 +0000)]
* remote.c (fetch_register_using_p): Construct 'p' packet in a
manner independent of the host byte order.

19 years ago* mips-tdep.c (id_delayed): Remove prototype.
kettenis [Wed, 27 Oct 2004 19:50:19 +0000 (19:50 +0000)]
* mips-tdep.c (id_delayed): Remove prototype.

19 years ago2004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
cagney [Wed, 27 Oct 2004 17:19:02 +0000 (17:19 +0000)]
2004-10-07  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

Committed by Andrew Cagney.
* traps-linux.c: Don't include linux/module.h.
(m32r_trap): Remove dummy systemcall's entry of __NR_ustat and
__NR_get_kernel_syms.

19 years agoemultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, parameter to
nickc [Wed, 27 Oct 2004 15:53:16 +0000 (15:53 +0000)]
emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, parameter to
  invocation of lang_section_start.
emultempl/aix.em (_handle_option): Likewise.

Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, eelf64alpha_nbsd.c): Add
  dependency upon emultempl/alphaelf.em.
Makefile.in: Regenerate.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Wed, 27 Oct 2004 10:34:24 +0000 (10:34 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.
* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.
* gas/crx/cop_insn.d: Regenerate.
* gas/crx/list_insn.d: Likewise.

19 years ago* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.
tomerl [Wed, 27 Oct 2004 10:32:51 +0000 (10:32 +0000)]
* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.

19 years ago* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.
tomerl [Wed, 27 Oct 2004 10:32:29 +0000 (10:32 +0000)]
* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Wed, 27 Oct 2004 10:31:39 +0000 (10:31 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c: Remove global variable 'post_inc_mode'.
(get_flags): New function.
(get_number_of_bits): Edit comments, update numeric values to supported sizes.
(process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]).
(set_cons_rparams): Support argument type 'arg_rbase'.
(get_operandtype): Bug fix in 'rbase' operand type parsing.
(handle_LoadStor): Bug fix, first handle post-increment mode.
(getreg_image): Remove redundant code, update according to latest CRX spec.
(print_constant): Bug fix relate to 3-word instructions.
(assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic).
Add various error checking.
(preprocess_reglist): Support HI/LO and user registers.

19 years ago* config/tc-crx.c: Remove global variable 'post_inc_mode'.
tomerl [Wed, 27 Oct 2004 10:28:22 +0000 (10:28 +0000)]
* config/tc-crx.c: Remove global variable 'post_inc_mode'.
(get_flags): New function.
(get_number_of_bits): Edit comments, update numeric values to supported sizes.
(process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]).
(set_cons_rparams): Support argument type 'arg_rbase'.
(get_operandtype): Bug fix in 'rbase' operand type parsing.
(handle_LoadStor): Bug fix, first handle post-increment mode.
(getreg_image): Remove redundant code, update according to latest CRX spec.
(print_constant): Bug fix relate to 3-word instructions.
(assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic).
Add various error checking.
(preprocess_reglist): Support HI/LO and user registers.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Wed, 27 Oct 2004 10:27:00 +0000 (10:27 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
  (getregliststring): Support HI/LO and user registers.
* crx-opc.c (crx_instruction): Update data structure according to the rearrangement done in CRX opcode header file.
(crx_regtab):  Likewise.
(crx_optab):  Likewise.
(crx_instruction): Reorder load/stor instructions, remove unsupported formats.
support new Co-Processor instruction 'cpi'.

19 years ago* crx-opc.c (crx_instruction): Update data structure according to the rearrangement...
tomerl [Wed, 27 Oct 2004 10:24:39 +0000 (10:24 +0000)]
* crx-opc.c (crx_instruction): Update data structure according to the rearrangement done in CRX opcode header file.
(crx_regtab):  Likewise.
(crx_optab):  Likewise.
(crx_instruction): Reorder load/stor instructions, remove unsupported formats.
support new Co-Processor instruction 'cpi'.

19 years ago* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
tomerl [Wed, 27 Oct 2004 10:24:01 +0000 (10:24 +0000)]
* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
(getregliststring): Support HI/LO and user registers.

19 years ago2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Wed, 27 Oct 2004 10:22:56 +0000 (10:22 +0000)]
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

* opcode/crx.h (enum reg): Rearrange registers, remove 'ccfg' and 'pc'.
(enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE.
(enum operand_type): Rearrange operands, edit comments.
replace us<N> with ui<N> for unsigned immediate.
replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively).
replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index.
(instruction type): Add NO_TYPE_INS.
(instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR.
(operand_entry): New field - 'flags'.
(operand flags): New.

19 years ago(enum reg): Rearrange registers, remove 'ccfg' and 'pc'.
tomerl [Wed, 27 Oct 2004 10:17:39 +0000 (10:17 +0000)]
(enum reg): Rearrange registers, remove 'ccfg' and 'pc'.
(enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE.
(enum operand_type): Rearrange operands, edit comments.
replace us<N> with ui<N> for unsigned immediate.
replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively).
replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index.
(instruction type): Add NO_TYPE_INS.
(instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR.
(operand_entry): New field - 'flags'.
(operand flags): New.

19 years agoAdd an index operand to some of the iq2000 co-processor instructions
nickc [Wed, 27 Oct 2004 09:30:04 +0000 (09:30 +0000)]
Add an index operand to some of the iq2000 co-processor instructions

19 years ago * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
mmitchel [Wed, 27 Oct 2004 06:57:42 +0000 (06:57 +0000)]
* emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
__exidx_{start,end} when not relocating.

19 years ago* cygcheck.cc (dump_sysinfo): Warn about missing or multiple cygwin1
bavag [Wed, 27 Oct 2004 01:28:07 +0000 (01:28 +0000)]
* cygcheck.cc (dump_sysinfo): Warn about missing or multiple cygwin1
dlls.

19 years ago2004-10-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 27 Oct 2004 00:46:04 +0000 (00:46 +0000)]
2004-10-26  H.J. Lu  <hongjiu.lu@intel.com>

PR 475
* elfxx-ia64.c (elfNN_ia64_relocate_section): Correct
R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB
and R_IA64_SECREL64LSB.

19 years ago*** empty log message ***
gdbadmin [Wed, 27 Oct 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 27 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago* cygtls.cc (_cygtls::fixup_after_fork): Wipe out exitsock local since it
cgf [Tue, 26 Oct 2004 21:13:49 +0000 (21:13 +0000)]
* cygtls.cc (_cygtls::fixup_after_fork): Wipe out exitsock local since it
should not be used by the child.
* select.cc (start_thread_socket): Turn off inheritance for exitsock.  Don't
add exitsock to exception mask since it should never get an exception.
(socket_cleanup): Change some debug messages for consistency.
* fhandler_socket.cc (fhandler_socket::dup): Change comment wording slightly.

19 years agoMissed from previous commit.
pbrook [Tue, 26 Oct 2004 21:00:23 +0000 (21:00 +0000)]
Missed from previous commit.
ld/testsuite/
* ld-elfvers/vers29.c: New file.
* ld-elfvers/vers29.dsym: New file.
* ld-elfvers/vers29.ver: New file.

19 years ago * configure.in (case ${target}): Do not build fixincludes
aaronwl [Tue, 26 Oct 2004 20:38:59 +0000 (20:38 +0000)]
* configure.in (case ${target}): Do not build fixincludes
on platforms where it is not used.
* configure: Regenerated.
----------------------------------------------------------------------

19 years ago* mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,
kettenis [Tue, 26 Oct 2004 19:40:34 +0000 (19:40 +0000)]
* mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,
MIPS_V0_REGNUM. MIPS_A0_REGNUM, MIPS_T9_REGNUM and MIPS_RA_REGNUM
to enum with register numbers.
(enum mips_insn_size): New enum.

19 years ago * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
mmitchel [Tue, 26 Oct 2004 18:41:50 +0000 (18:41 +0000)]
* Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
* ldexp.h (segment_type): New type.
(segments): New variable.
* ldexp.c (segments): New variable.
(exp_print_token): Handle SEGMENT_START.
(fold_binary): Likewise.
* ldgram.y (SEGMENT_START): Declare it as a token.
(exp): Handle SEGMENT_START.
* ldlang.h (lang_address_statement_type): Add segment field.
(lang_section_start): Change prototype.
* ldlang.c (map_input_to_output_sections): Do not process section
assignments if a corresponding SEGMENT_START has already been
seen.
(lang_section_start): Add segment parameter.
* ldlex.l (SEGMENT_START): Add it.
* lexsup.c (seg_segment_start): New function.
(parse_args): Use it for -Tbss, -Tdata, and -Ttext.
* ld.texinfo (SEGMENT_START): Document it.
* emulparams/armsymbian.sh (EMBEDDED): Set it.
* scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
base addresses.  Do not map relocations.
* NEWS: Mention SEGMENT_START.

19 years ago2004-10-26 Jason Tishler <jason@tishler.net>
jjohnstn [Tue, 26 Oct 2004 18:21:08 +0000 (18:21 +0000)]
2004-10-26  Jason Tishler  <jason@tishler.net>

        * libc/stdio/fread.c (fread): Fix return value for unbuffered
        fread.

19 years agoreadelf.c (get_note_type): Handle notes not in core files.
nickc [Tue, 26 Oct 2004 16:05:39 +0000 (16:05 +0000)]
readelf.c (get_note_type): Handle notes not in core files.
  (process_note_sections): New function.
  (process_corefile_contents): Rename to ...
  (process_notes): ... this.
  (process_object): Call process_notes, not process_corefile_contents.
doc/binutils.texi: Update readelf -n documentation.

19 years ago2004-10-26 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 26 Oct 2004 14:43:55 +0000 (14:43 +0000)]
2004-10-26  Andrew Cagney  <cagney@gnu.org>

* config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE.
* mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub.
(mips_gdbarch_init): Update.
(mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.

19 years ago2004-10-26 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 26 Oct 2004 14:24:36 +0000 (14:24 +0000)]
2004-10-26  Andrew Cagney  <cagney@gnu.org>

* config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
* config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef
IN_SOLIB_RETURN_TRAMPOLINE.
* mips-tdep.c (mips_dump_tdep): Do not print
IN_SOLIB_RETURN_TRAMPOLINE.
(mips_in_solib_return_trampoline): Rename mips_in_return_stub.
(mips_gdbarch_init): Update.

19 years ago2004-10-26 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 26 Oct 2004 14:13:16 +0000 (14:13 +0000)]
2004-10-26  Andrew Cagney  <cagney@gnu.org>

* mips-tdep.h (mips_software_single_step): Move to here ...
* config/mips/tm-mips.h: ... from here.
* config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P)
(SOFTWARE_SINGLE_STEP): Delete.
* mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step.

19 years agobfd/
pbrook [Tue, 26 Oct 2004 13:45:57 +0000 (13:45 +0000)]
bfd/
* elflink.c (elf_finalize_dynstr): Skip shared aux structure.
(bfd_elf_size_dynamic_sections): Create default version definition.
(elf_link_output_extsym): Adjust for default symbol version.
include/
* bfdlink.h (struct bfd_link_info): Add create_default_symver.
ld/
* ld.texinfo: Document --default-symver.
* ldmain.c (main): Set link_info.create_default_symver.
* lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
(ld_options): Add default-symver.
(parse_args): Handle OPTION_DEFAULT_SYMVER.
ld/testsuite/
* ld-elfvers/vers.exp (build_binary): Add ldargs parameter.
(build_vers_lib_pic_flags): New function.
Add vers29 test.
* ld-elfvers/vers29.c: New file.
* ld-elfvers/vers29.dsym: New file.
* ld-elfvers/vers29.ver: New file.

19 years ago * ar.c (extract_file): Set atime to mtime for ar xo.
jakub [Tue, 26 Oct 2004 08:08:20 +0000 (08:08 +0000)]
* ar.c (extract_file): Set atime to mtime for ar xo.

19 years ago(sim_run): Add support for the "rawsid" protocol.
nickc [Tue, 26 Oct 2004 08:07:58 +0000 (08:07 +0000)]
(sim_run): Add support for the "rawsid" protocol.

19 years ago2004-10-26 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Tue, 26 Oct 2004 01:53:27 +0000 (01:53 +0000)]
2004-10-26  Pierre Humblet <pierre.humblet@ieee.org>

        * registry.cc (get_registry_hive_path): Simplify and add a
        debug_printf in case of failure.
        (load_registry_hive): Revert the 2004-04-19 change.

19 years agodaily update
amodra [Tue, 26 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 26 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agowhitespace
cgf [Mon, 25 Oct 2004 21:20:09 +0000 (21:20 +0000)]
whitespace

19 years ago2004-10-25 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 25 Oct 2004 18:50:08 +0000 (18:50 +0000)]
2004-10-25  Andrew Cagney  <cagney@gnu.org>

* NEWS: Add Changes since GDB 6.3 section.

19 years agoFix date typo.
jjohnstn [Mon, 25 Oct 2004 17:56:05 +0000 (17:56 +0000)]
Fix date typo.

19 years ago2001-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
jjohnstn [Mon, 25 Oct 2004 17:53:19 +0000 (17:53 +0000)]
2001-10-25  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

        * libc/include/machine/setjmp.h: Add AVR support.
        * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.