OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago(mi_cmd_stack_list_frames, mi_cmd_stack_info_depth):
Nick Roberts [Sat, 18 Jun 2005 02:49:18 +0000 (02:49 +0000)]
(mi_cmd_stack_list_frames, mi_cmd_stack_info_depth):
Don't test for stack.
(mi_cmd_stack_select_frame): Make the argument mandatory.
Don't test for stack.

19 years agoCorrect a typo.
Daniel Jacobowitz [Sat, 18 Jun 2005 00:56:23 +0000 (00:56 +0000)]
Correct a typo.

19 years agodaily update
Alan Modra [Sat, 18 Jun 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 18 Jun 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elf.c (bfd_section_from_shdr): Kill bogus warning.
Jakub Jelinek [Fri, 17 Jun 2005 15:48:25 +0000 (15:48 +0000)]
* elf.c (bfd_section_from_shdr): Kill bogus warning.

19 years ago * elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for
Jakub Jelinek [Fri, 17 Jun 2005 13:39:56 +0000 (13:39 +0000)]
* elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for
symbol, relocation, group or versym sections.

* coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs
is NULL.
* peXXigen.c (pe_print_idata): Don't crash if dll_name or start_address
doesn't point into the section.

19 years ago * elf/external.h (GRP_ENTRY_SIZE): Define.
Jakub Jelinek [Fri, 17 Jun 2005 13:37:23 +0000 (13:37 +0000)]
* elf/external.h (GRP_ENTRY_SIZE): Define.

* readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
(process_section_headers): Use it.
(process_relocs): Don't crash if symsec is not SHT_SYMTAB
or SHT_DYNSYM.
(process_version_sections): Use sizeof (Elf_External_Versym)
instead of sh_entsize.

19 years agobfd/
Jan Beulich [Fri, 17 Jun 2005 08:03:59 +0000 (08:03 +0000)]
bfd/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64
and BFD_RELOC_X86_64_GOTPC32.
* libbfd.h (bfd_reloc_code_real_names): Likewise.
* elf64-x86-64.c (x86_64_elf_howto_table): Add entries for
R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64,
and R_X86_64_GOTPC32.
(elf64_x86_64_info_to_howto): Adjust bounding relocation type.
(elf64_x86_64_check_relocs): Also handle R_X86_64_PC64,
R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64.

gas/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
(tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
(output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
aborting.
(output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
(tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
convert 8-byte pc-relative relocations.
(lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
(i386_validate_fix): Likewise.
(x86_cons): Also handle quad values in 64-bit mode.
(i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
(md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
to pc-relative variant. Also check for BFD_RELOC_64_PCREL.

gas/testsuite/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative
relocation. Add insns for all widths of non-pc-relative relocations.
* gas/i386/x86-64-pcrel.d: Adjust.

include/elf/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* x86-64.h (elf_x86_64_reloc_type): Adjust comment for
R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and
R_X86_64_GOTPC32.

19 years ago * gdb.fortran/array_element.f: New file.
Wu Zhou [Fri, 17 Jun 2005 05:18:12 +0000 (05:18 +0000)]
* gdb.fortran/array_element.f: New file.
* gdb.fortran/array_element.exp: New testcase.

19 years ago * linux-low.c (linux_wait, linux_send_signal): Don't test
Daniel Jacobowitz [Fri, 17 Jun 2005 04:01:05 +0000 (04:01 +0000)]
* linux-low.c (linux_wait, linux_send_signal): Don't test
an unsigned long variable for > 0 if it could be MAX_ULONG.
* server.c (myresume): Likewise.
* target.c (set_desired_inferior): Likewise.

19 years ago * remote.c (set_thread, remote_thread_alive): Replace sprintf
Wu Zhou [Fri, 17 Jun 2005 03:53:15 +0000 (03:53 +0000)]
* remote.c (set_thread, remote_thread_alive): Replace sprintf
call with xsnprintf.
(remote_threads_extra_info, extended_remote_restart)
(remote_check_symbols, store_register_using_P)
(compare_sections_command): Ditto.

19 years ago * gencode.c (tab): Avoid lvalue casts. Suggested by
Daniel Jacobowitz [Fri, 17 Jun 2005 03:13:07 +0000 (03:13 +0000)]
* gencode.c (tab): Avoid lvalue casts.  Suggested by
Ralf Corsepius <ralf.corsepius@rtems.org>.

19 years agodaily update
Alan Modra [Fri, 17 Jun 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 17 Jun 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* mips16-opc.c (mips16_opcodes): Add the following MIPS16e
David Ung [Thu, 16 Jun 2005 17:01:12 +0000 (17:01 +0000)]
* mips16-opc.c (mips16_opcodes): Add the following MIPS16e
instructions to the table; seb/seh/sew/zeb/zeh/zew.

19 years ago* mips.igen: New mips16e model and include m16e.igen.
David Ung [Thu, 16 Jun 2005 15:15:49 +0000 (15:15 +0000)]
* mips.igen: New mips16e model and include m16e.igen.
(check_u64): Add mips16e tag.
* m16e.igen: New file for MIPS16e instructions.
* configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*,
mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e
models.
* configure: Regenerate.

19 years ago* MAINTAINERS (Write After Approval): Add self.
David Ung [Thu, 16 Jun 2005 15:04:39 +0000 (15:04 +0000)]
* MAINTAINERS (Write After Approval): Add self.

19 years ago* archive.c: Include "libiberty.h".
Mark Kettenis [Thu, 16 Jun 2005 08:05:39 +0000 (08:05 +0000)]
* archive.c: Include "libiberty.h".

19 years ago*** empty log message ***
gdbadmin [Thu, 16 Jun 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 16 Jun 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agoFix my e-mail address in previous commit.
Mark Kettenis [Wed, 15 Jun 2005 16:35:28 +0000 (16:35 +0000)]
Fix my e-mail address in previous commit.

19 years ago* hppa-hpux-nat.c (hppa_hpux_fetch_register)
Mark Kettenis [Wed, 15 Jun 2005 16:34:27 +0000 (16:34 +0000)]
* hppa-hpux-nat.c (hppa_hpux_fetch_register)
  (hppa_hpux_store_register): Add casts in extract_unsigned_integer
  and store_usigned_integer calls.

19 years ago2005-06-15 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 15 Jun 2005 16:23:54 +0000 (16:23 +0000)]
2005-06-15  Dave Brolley  <brolley@redhat.com>

        Contribute Morpho ms1 on behalf of Red Hat
        * ms1-asm.c, ms1-desc.c, ms1-dis.c, ms1-ibld.c, ms1-opc.c,
        ms1-opc.h: New files, Morpho ms1 target.

        2004-05-14  Stan Cox  <scox@redhat.com>

        * disassemble.c (ARCH_ms1): Define.
        (disassembler): Handle bfd_arch_ms1

        2004-05-13  Michael Snyder  <msnyder@redhat.com>

        * Makefile.am, Makefile.in: Add ms1 target.
        * configure.in: Ditto.

19 years ago* elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries produced by the
Nick Clifton [Wed, 15 Jun 2005 08:22:45 +0000 (08:22 +0000)]
* elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries produced by the
  GreenHills toolchain can be assimilated.

19 years ago * som.c (som_find_inliner_info): New.
Dave Anglin [Wed, 15 Jun 2005 00:16:10 +0000 (00:16 +0000)]
* som.c (som_find_inliner_info): New.

19 years agodaily update
Alan Modra [Wed, 15 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 15 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* configure.ac: Simplify and improve check for socklen_t.
Mark Kettenis [Tue, 14 Jun 2005 21:36:29 +0000 (21:36 +0000)]
* configure.ac: Simplify and improve check for socklen_t.
* configure, config.in: Regenerate.

19 years ago PR libgcj/19877:
Tom Tromey [Tue, 14 Jun 2005 20:27:38 +0000 (20:27 +0000)]
PR libgcj/19877:
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable
is set but not 'no'.

19 years agoFix typo.
Mark Kettenis [Tue, 14 Jun 2005 20:13:00 +0000 (20:13 +0000)]
Fix typo.

19 years ago2005-06-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 14 Jun 2005 19:25:45 +0000 (19:25 +0000)]
2005-06-14  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_merge_symbol): Fix a typo in comment.

19 years ago * elf.c (bfd_section_from_shdr): Fail if name is NULL.
Jakub Jelinek [Tue, 14 Jun 2005 11:04:22 +0000 (11:04 +0000)]
* elf.c (bfd_section_from_shdr): Fail if name is NULL.
Prevent endless recursion on broken objects.

* archive.c (do_slurp_coff_armap): Check for overflows.

19 years ago From Charles Brockman <mr hyphen chuck at att dot net>:
Keith Seitz [Tue, 14 Jun 2005 00:19:42 +0000 (00:19 +0000)]
    From Charles Brockman <mr hyphen chuck at att dot net>:
        * library/interface.tcl (gdbtk_tcl_warning): Filter "RTTI symbol not found"
        "warnings", too.

19 years ago*** empty log message ***
gdbadmin [Tue, 14 Jun 2005 00:01:03 +0000 (00:01 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 14 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago(mi_cmd_data_list_register_values): Remove test for
Nick Roberts [Mon, 13 Jun 2005 22:21:57 +0000 (22:21 +0000)]
(mi_cmd_data_list_register_values): Remove test for
registers now that mi_execute_command rewinds after an error.

19 years ago*** empty log message ***
Nick Roberts [Mon, 13 Jun 2005 22:21:19 +0000 (22:21 +0000)]
*** empty log message ***

19 years ago* configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
Mark Kettenis [Mon, 13 Jun 2005 21:59:38 +0000 (21:59 +0000)]
* configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
* configure, config.in: Regenerate.

19 years ago* ser-tcp.c: Tewak comment.
Mark Kettenis [Mon, 13 Jun 2005 21:32:01 +0000 (21:32 +0000)]
* ser-tcp.c: Tewak comment.
[!HAVE_SOCKLEN_T]: Typedef socklen_t.
* configure.ac: Add check for socklen_t.
* configure, config.in: Regenerate.

19 years ago2005-06-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 13 Jun 2005 20:52:08 +0000 (20:52 +0000)]
2005-06-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o.

19 years ago * MAINTAINERS: Update my email address.
Richard Sandiford [Mon, 13 Jun 2005 19:09:12 +0000 (19:09 +0000)]
* MAINTAINERS: Update my email address.

19 years ago * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
Mark Mitchell [Mon, 13 Jun 2005 18:39:11 +0000 (18:39 +0000)]
* corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
* exec.c (exec_file_attach): Likewise.
* solib-frv.c (enable_break2): Likewise.
* solib-svr4.c (enable_break): Likewise.
* solib.c (solib_map_sections): Likewise.
* symfile.c (symfile_bfd_open): Likewise.

19 years ago * gdb.base/bigcore.exp: Correct checks for systems which can
Daniel Jacobowitz [Mon, 13 Jun 2005 18:11:01 +0000 (18:11 +0000)]
* gdb.base/bigcore.exp: Correct checks for systems which can
not dump a large core file.

19 years ago* depstand.m4, lead-dot.m4: New files.
DJ Delorie [Mon, 13 Jun 2005 18:06:59 +0000 (18:06 +0000)]
* depstand.m4, lead-dot.m4: New files.

19 years ago* depcomp: Update from automake CVS. Add 'ia64hp' stanza.
DJ Delorie [Mon, 13 Jun 2005 18:01:01 +0000 (18:01 +0000)]
* depcomp: Update from automake CVS.  Add 'ia64hp' stanza.
In 'cpp' stanza, support '#line' as well as '# '.

19 years agogdb/
Daniel Jacobowitz [Mon, 13 Jun 2005 16:15:40 +0000 (16:15 +0000)]
gdb/
* Makefile.in (symfile.o): Add $(exec_h).
* exec.h (exec_set_section_address): Add prototype.
* exec.c (exec_set_section_address): New function.
* symfile.c: Include "exec.h".
(struct place_section_arg, place_section): New.
(default_symfile_offsets): Call place_section for each
section of a relocatable file.
gdb/testsuite/
* gdb.base/relocate.c: Add a copyright notice.
(dummy): Remove.
* gdb.base/relocate.exp: Test printing the values of variables
from a relocatable file.

19 years ago * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
Joel Brobecker [Mon, 13 Jun 2005 13:43:33 +0000 (13:43 +0000)]
    * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
        bits of top byte in address.

19 years ago * eval.c (evaluate_subexp_standard): Add code to check the target
Wu Zhou [Mon, 13 Jun 2005 07:23:15 +0000 (07:23 +0000)]
* eval.c (evaluate_subexp_standard): Add code to check the target
type of a TYPE_CODE_PTR value when we encounter a f77 undetermined
arglist.  If it is array, string or function, work on the target
value instead.

19 years agogdb/
Daniel Jacobowitz [Mon, 13 Jun 2005 02:41:51 +0000 (02:41 +0000)]
gdb/
* mi/mi-main.c (register_changed_p, get_register): Use
get_selected_frame.
(mi_execute_command): Call mi_out_rewind after an error.
testsuite/
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
excess MI output after an error.

19 years ago * acconfig.h: Remove.
Daniel Jacobowitz [Mon, 13 Jun 2005 01:59:22 +0000 (01:59 +0000)]
* acconfig.h: Remove.
* configure.ac: Add a test for socklen_t.  Use three-argument
AC_DEFINE throughout.
* config.in: Regenerated using autoheader 2.59.
* configure: Regenerated.

* gdbreplay.c (socklen_t): Provide a default.
(remote_open): Use socklen_t.
* remote-utils.c (socklen_t): Provide a default.
(remote_open): Use socklen_t.
(convert_int_to_ascii, convert_ascii_to_int, decode_M_packet): Use
unsigned char.

* i387-fp.c (struct i387_fsave, struct i387_fxsave): Use unsigned
char for buffers.
* linux-low.c (linux_read_memory, linux_write_memory)
(linux_read_auxv): Likewise.
* mem-break.c (breakpoint_data, set_breakpoint_data, check_mem_read)
(check_mem_write): Likewise.
* mem-break.h (set_breakpoint_data, check_mem_read, check_mem_write):
Likewise.
* regcache.c (struct inferior_rgcache_data, registers_to_string)
(registers_from_string, register_data): Likewise.
* server.c (handle_query, main): Likewise.
* server.h (convert_ascii_to_int, convert_int_to_ascii)
(decode_M_packet): Likewise.
* target.c (read_inferior_memory, write_inferior_memory): Likewise.
* target.h (struct target_ops): Update read_memory, write_memory,
and read_auxv.
(read_inferior_memory, write_inferior_memory): Update.
* linux-low.h (struct linux_target_ops): Change type of breakpoint
to unsigned char *.
* linux-arm-low.c, linux-cris-low.c, linux-crisv32-low.c,
linux-i386-low.c, linux-m32r-low.c, linux-m68k-low.c,
linux-mips-low.c, linux-ppc-low.c, linux-ppc64-low.c,
linux-s390-low.c, linux-sh-low.c: Update for changes in
read_inferior_memory and the_low_target->breakpoint.

19 years agodaily update
Alan Modra [Mon, 13 Jun 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 13 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* hppa-tdep.c (hppa_frame_prev_register)
Mark Kettenis [Sun, 12 Jun 2005 19:54:25 +0000 (19:54 +0000)]
* hppa-tdep.c (hppa_frame_prev_register)
(hppa_fallback_frame_prev_register)
(hppa_stub_frame_prev_register): Change type of last argument to
`gdb_byte *'.
(hppa_fetch_pointer_argument): Tweak comment.  Use
get_frame_register_unsigned instead of get_frame_register.
(hppa32_return_value, hppa64_return_value): Change type of readbuf
and writebuf arguments to `gdb_byte *'.  Remove unecessary casts
and local variables.
(hppa_pseudo_register_read): Change type of last argument to
`gdb_byte *'.

19 years ago* m68k-tdep.c (m68k_frame_prev_register): Change type of last
Mark Kettenis [Sun, 12 Jun 2005 13:37:39 +0000 (13:37 +0000)]
* m68k-tdep.c (m68k_frame_prev_register): Change type of last
argument to `gdb_byte *'.

19 years ago* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
Mark Kettenis [Sun, 12 Jun 2005 12:57:21 +0000 (12:57 +0000)]
* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
Consitify regnames.

19 years ago* alpha-tdep.c (alpha_sigtramp_frame_prev_register)
Mark Kettenis [Sun, 12 Jun 2005 12:53:55 +0000 (12:53 +0000)]
* alpha-tdep.c (alpha_sigtramp_frame_prev_register)
(alpha_heuristic_frame_prev_register): Change type of last
argument to `gdb_byte *'.
(alpha_register_to_value, alpha_value_to_register)
(alpha_extract_return_value, alpha_store_return_value): Likewise.
* alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.

19 years ago* arm-tdep.c (arm_prologue_prev_register)
Mark Kettenis [Sun, 12 Jun 2005 12:15:31 +0000 (12:15 +0000)]
* arm-tdep.c (arm_prologue_prev_register)
(arm_sigtramp_prev_register): Change type of last argument to
`gdb_byte *'.

19 years ago* m88k-tdep.c (m88k_frame_prev_register): Change type of last
Mark Kettenis [Sun, 12 Jun 2005 11:53:00 +0000 (11:53 +0000)]
* m88k-tdep.c (m88k_frame_prev_register): Change type of last
argument to `gdb_byte *'.

19 years ago* vax-tdep.c (vax_frame_prev_register): Change type of last
Mark Kettenis [Sun, 12 Jun 2005 11:17:57 +0000 (11:17 +0000)]
* vax-tdep.c (vax_frame_prev_register): Change type of last
argument to `gdb_byte *'.

19 years ago* sparc-tdep.c (sparc32_frame_prev_register): Change type of last
Mark Kettenis [Sun, 12 Jun 2005 11:10:56 +0000 (11:10 +0000)]
* sparc-tdep.c (sparc32_frame_prev_register): Change type of last
argument to `gdb_byte *'.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
Likewise.
* sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise.
* sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
Likewise.
* sparc64-tdep.c (sparc64_frame_prev_register): Likewise.
* sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
Likewise.
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
Likewise.
* sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise.
* sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind):
Likewise.

19 years ago* amd64-tdep.c (amd64_frame_prev_register)
Mark Kettenis [Sun, 12 Jun 2005 09:19:07 +0000 (09:19 +0000)]
* amd64-tdep.c (amd64_frame_prev_register)
(amd64_sigtramp_frame_prev_register): Change type of last argument
to `gdb_byte *'.

19 years agodaily update
Alan Modra [Sun, 12 Jun 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 12 Jun 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* i386-tdep.c (i386_register_type): Return
Mark Kettenis [Sat, 11 Jun 2005 19:11:32 +0000 (19:11 +0000)]
* i386-tdep.c (i386_register_type): Return
builtin_type_void_func_ptr for %eip and builtin_type_void_data_ptr
for %ebp and %esp.

19 years ago * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
Dave Anglin [Sat, 11 Jun 2005 15:33:52 +0000 (15:33 +0000)]
* hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
respectively, in various floating-point load and store patterns.

19 years ago*** empty log message ***
gdbadmin [Sat, 11 Jun 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 11 Jun 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * elfcode.h (elf_write_relocs): Do nothing if there are no
Daniel Jacobowitz [Fri, 10 Jun 2005 20:22:23 +0000 (20:22 +0000)]
* elfcode.h (elf_write_relocs): Do nothing if there are no
relocations.

19 years agoFix 2005-06-09 entry to use proper format.
Jeff Johnston [Fri, 10 Jun 2005 15:30:50 +0000 (15:30 +0000)]
Fix 2005-06-09 entry to use proper format.

19 years ago * dwarf2.c (decode_line_info): Revert last change. Instead set
Alan Modra [Fri, 10 Jun 2005 10:14:23 +0000 (10:14 +0000)]
* dwarf2.c (decode_line_info): Revert last change.  Instead set
initial low_pc to -1 to avoid need to test whether loc_pc has
been set.

19 years ago * valprint.c (print_floating): Fix comment typo.
Ben Elliston [Fri, 10 Jun 2005 06:07:32 +0000 (06:07 +0000)]
* valprint.c (print_floating): Fix comment typo.

19 years ago2005-06-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 10 Jun 2005 01:09:18 +0000 (01:09 +0000)]
2005-06-09  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (ia64_pseudo_register_read): Use gdb_byte and
        protect libunwind references with HAVE_LIBUNWIND_IA64_H flag.
        * (ia64_pseudo_register_write): Use gdb_byte to remove warning.
        * (ia64_register_to_value, ia64_value_to_register): Ditto.
        * (ia64_frame_prev_register): Ditto.
        * (ia64_libunwind_frame_prev_register): Ditto.
        * (ia64_sigtramp_frame_prev_register): Ditto.
        * (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
        * (ia64_store_return_value): Ditto.

2

19 years ago*** empty log message ***
gdbadmin [Fri, 10 Jun 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 10 Jun 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago* coffcode.h (sec_to_styp_flags): Set appropriate section flags when either
Christopher Faylor [Thu, 9 Jun 2005 19:22:15 +0000 (19:22 +0000)]
* coffcode.h (sec_to_styp_flags): Set appropriate section flags when either
SEC_ALLOC OR SEC_LOAD.

19 years ago* coffcode.h (sec_to_styp_flags): Remove read/write flags from noload section
Christopher Faylor [Thu, 9 Jun 2005 14:40:50 +0000 (14:40 +0000)]
* coffcode.h (sec_to_styp_flags): Remove read/write flags from noload section
header.  Do not add STYP_NOLOAD since it does not appear to be a valid PE flag.

19 years ago2005-06-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 9 Jun 2005 13:32:30 +0000 (13:32 +0000)]
2005-06-09  H.J. Lu  <hongjiu.lu@intel.com>

PR 1000
* dwarf2.c (lookup_address_in_line_info_table): Restore code
handling NULL function info, removed with 2005-04-03 change.

19 years ago * opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.
Mark Mitchell [Thu, 9 Jun 2005 07:30:19 +0000 (07:30 +0000)]
* opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.

19 years ago * elflink.c (elf_mark_used_section): Delete.
Alan Modra [Thu, 9 Jun 2005 02:02:18 +0000 (02:02 +0000)]
* elflink.c (elf_mark_used_section): Delete.
(bfd_elf_gc_sections): Call bfd_generic_gc_sections.
* reloc.c (bfd_mark_used_section): New function.
(bfd_generic_gc_sections): Call bfd_mark_used_section.

19 years agodaily update
Alan Modra [Thu, 9 Jun 2005 00:00:04 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 9 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-06-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 8 Jun 2005 21:54:23 +0000 (21:54 +0000)]
2005-06-08  Jeff Johnston  <jjohnstn@redhat.com>
            David Mosberger <davidm@hpl.hp.com>

        * ia64-tdep.c (KERNEL_START): New macro.
        (ia64_pseudo_register_read): Fix code to use libunwind to properly
        get the rse registers.
        (ia64_frame_this_id): Mark outermost frame with null frame id.
        (ia64_sigtramp_frame_prev_register): Fix up debug output.
        (ia64_access_rse_reg): New accessor function.
        (ia64_access_mem): Add special logic for accessing the
        kernel's unwind table.
        (getunwind_table): Fix for corefiles.
        (get_kernel_table): Fix to handle vDSO.
        (ia64_libunwind_frame_this_id): Check for null frame id and
        don't unwind past pc value of 0.  Fix debugging output.
        (ia64_libunwind_sigtramp_frame_this_id): New function.
        (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
        (ia64_libunwind_sigtramp_frame_sniffer): Ditto.
        (ia64_libunwind_sigtramp_frame_unwind): New unwinder.
        (ia64_unw_rse_accessors): New libunwind accessors.
        (ia64_libunwind_descr): Add ia64_unw_rse_accessors.
        (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Use
        ia64_libunwind_sigtramp_frame_sniffer instead of
        ia64_sigtramp_frame_sniffer.
        * libunwind-frame.c (libunwind_frame_set_descr): Add
        special register accessors.
        (libunwind_frame_cache): Add special logic to check for
        0 pc value.  Check for a signal trampoline frame.
        (libunwind_frame_this_id): Check if libunwind_frame_cache
        returns NULL.
        (libunwind_frame_prev_register): Check for NULL cache.
        (libunwind_frame_base_address): Ditto.
        (libunwind_sigtramp_frame_sniffer): New function.
        (libunwind_get_reg_special): Ditto.
        (libunwind_load): Add unw_is_signal_frame support.
        * libunwind-frame.h (struct libunwind_descr): Add special_accessors
        field.
        (libunwind_sigtramp_frame_sniffer): New prototype.
        (libunwind_get_reg_special): Ditto.

19 years agoopcodes:
Zack Weinberg [Wed, 8 Jun 2005 17:27:41 +0000 (17:27 +0000)]
opcodes:
* arm-opc.h: Delete; fold contents into ...
* arm-dis.c: ... here.  Move includes of internal COFF headers
next to includes of internal ELF headers.
(streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused.
(struct arm_opcode): Rename struct opcode32.  Make 'assembler' const.
(struct thumb_opcode): Rename struct opcode16.  Make 'assembler' const.
(arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames)
(iwmmxt_wwnames, iwmmxt_wwssnames):
Make const.
(regnames): Remove iWMMXt coprocessor register sets.
(iwmmxt_regnames, iwmmxt_cregnames): New statics.
(get_arm_regnames): Adjust fourth argument to match above changes.
(set_iwmmxt_regnames): Delete.
(print_insn_arm): Constify 'c'.  Use ISO syntax for function
pointer calls.  Expand sole use of BDISP.  Use iwmmxt_regnames
and iwmmxt_cregnames, not set_iwmmxt_regnames.
(print_insn_thumb16, print_insn_thumb32): Constify 'c'.  Use
ISO syntax for function pointer calls.
include:
* dis-asm.h (get_arm_regnames): Update prototype.

19 years ago * expression.h (enum exp_opcode): Fix a comment typo.
Wu Zhou [Wed, 8 Jun 2005 06:35:49 +0000 (06:35 +0000)]
* expression.h (enum exp_opcode): Fix a comment typo.

19 years ago<2005-06-08> Wu Zhou <woodzltc@cn.ibm.com>
Wu Zhou [Wed, 8 Jun 2005 06:28:28 +0000 (06:28 +0000)]
<2005-06-08>  Wu Zhou  <woodzltc@cn.ibm.com>

* expression.h (enum exp_opcode): Fix a comment typo.

19 years ago * opncls.c (bfd_fdopenr): Don't set bfd_error unconditionally.
Alan Modra [Wed, 8 Jun 2005 03:51:32 +0000 (03:51 +0000)]
* opncls.c (bfd_fdopenr): Don't set bfd_error unconditionally.

19 years ago * opncls.c (bfd_fopen): Don't set bfd_error unconditionally.
Alan Modra [Wed, 8 Jun 2005 03:16:48 +0000 (03:16 +0000)]
* opncls.c (bfd_fopen): Don't set bfd_error unconditionally.

19 years ago*** empty log message ***
gdbadmin [Wed, 8 Jun 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 8 Jun 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * opncls.c (bfd_fdopenr): Add missing break statements.
Mark Mitchell [Wed, 8 Jun 2005 00:00:05 +0000 (00:00 +0000)]
* opncls.c (bfd_fdopenr): Add missing break statements.

19 years ago * opncls.c (bfd_fopen): New API.
Mark Mitchell [Tue, 7 Jun 2005 22:53:32 +0000 (22:53 +0000)]
* opncls.c (bfd_fopen): New API.
(bfd_openr): Use it.
(bfd_fdopenr): Likewise.
* bfd-in2.h: Regenerated.

19 years ago * arm-dis.c: Split up the comments describing the format codes, so
Zack Weinberg [Tue, 7 Jun 2005 22:16:52 +0000 (22:16 +0000)]
* arm-dis.c: Split up the comments describing the format codes, so
that the ARM and 16-bit Thumb opcode tables each have comments
preceding them that describe all the codes, and only the codes,
valid in those tables.  (32-bit Thumb table is already like this.)
Reorder the lists in all three comments to match the order in
which the codes are implemented.
Remove all forward declarations of static functions.  Convert all
function definitions to ISO C format.
(print_insn_arm, print_insn_thumb16, print_insn_thumb32):
Return nothing.
(print_insn_thumb16): Remove unused case 'I'.
(print_insn): Update for changed calling convention of subroutines.

19 years ago * common.h (EM_MS1): Define.
Aldy Hernandez [Tue, 7 Jun 2005 21:10:08 +0000 (21:10 +0000)]
* common.h (EM_MS1): Define.

* ms1.h: New file.

19 years ago * dis-asm.h: Externalize print_insn_ms1.
Aldy Hernandez [Tue, 7 Jun 2005 21:08:36 +0000 (21:08 +0000)]
* dis-asm.h: Externalize print_insn_ms1.

19 years ago * Makefile.am (ALL_MACHINES): Add ms1 support.
Aldy Hernandez [Tue, 7 Jun 2005 21:07:32 +0000 (21:07 +0000)]
* Makefile.am (ALL_MACHINES): Add ms1 support.
(ALL_MACHINES_CFILES): Same.
(BFD32_BACKENDS): Same.
(BFD32_BACKENDS_CFILES): Same.

* Makefile.in: Regenerate.

* archures.c (bfd_architecture): Add ms1 entries.
Externalize bfd_ms1_arch.
(bfd_archures_list): Add bfd_ms1_arch.

* bfd-in2.h: Regenerate.

* cpu-ms1.c: New file.

* elf32-ms1.c: New file.

* targets.c: Define extern of bfd_elf32_ms1_vec.
Add bfd_elf32_ms1_vec to _bfd_target_vector.

* configure.in: Add bfd_elf32_ms1_vec case.

* configure: Regenerate.

* config.bfd: Add ms1-*-elf to table.

19 years agogas:
Zack Weinberg [Tue, 7 Jun 2005 17:54:12 +0000 (17:54 +0000)]
gas:
* cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c
* config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h
* config/tc-arc.c, config/tc-arc.h, config/tc-arm.c
* config/tc-arm.h, config/tc-avr.c, config/tc-avr.h
* config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c
* config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h
* config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h
* config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c
* config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h
* config/tc-i370.c, config/tc-i370.h, config/tc-i386.c
* config/tc-i386.h, config/tc-i860.c, config/tc-i860.h
* config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c
* config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c
* config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h
* config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c
* config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c
* config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c
* config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c
* config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c
* config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h
* config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h
* config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c
* config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c
* config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h
* config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c
* config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c
* config/tc-v850.h, config/tc-vax.c, config/tc-vax.h
* config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h
* config/tc-xtensa.c, config/tc-z8k.c:
Replace all instances of the string "_apply_fix3" with
"_apply_fix".
* po/POTFILES.in, po/gas.pot: Regenerate.
bfd:
* coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment.
cgen:
* doc/porting.texi: Change all mention of md_apply_fix3 and
gas_cgen_md_apply_fix3 to md_apply_fix and gas_cgen_md_apply_fix
respectively.

19 years ago2005-06-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 7 Jun 2005 15:32:38 +0000 (15:32 +0000)]
2005-06-07  Andrew Cagney  <cagney@gnu.org>

* gdb.texinfo (Contributors): Note the original multi-arch
contributors.

19 years agomissed committing from
Alan Modra [Tue, 7 Jun 2005 12:12:11 +0000 (12:12 +0000)]
missed committing from
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.

19 years ago * configure.in <cris-*, crisv32-*>: Enable target-libffi again for
Hans-Peter Nilsson [Tue, 7 Jun 2005 09:33:44 +0000 (09:33 +0000)]
* configure.in <cris-*, crisv32-*>: Enable target-libffi again for
*-*-linux* and *-*-elf.
* configure: Regenerate.

19 years agoChanged
Manoj Iyer [Tue, 7 Jun 2005 06:55:16 +0000 (06:55 +0000)]
Changed

* solib-svr4.c: Change type of 'lm' to gdb_byte.
to
* solib-svr4.c (struct lm_info):  Change type of 'lm' to gdb_byte.