binutils-gdb.git
21 years ago* objdump.c: New command line option --debugging-tags.
Nick Clifton [Tue, 22 Jul 2003 13:33:32 +0000 (13:33 +0000)]
* objdump.c: New command line option --debugging-tags.
* doc/binutils.texi: Document new command line option.
* prdbg.c: Code to print the debug info as tags compatible with ctags.
* budbg.h: Adjust prototype.
* NEWS: Mention new switch

21 years ago2003-07-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 22 Jul 2003 12:48:23 +0000 (12:48 +0000)]
2003-07-22  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use
get_frame_base.
(FRAME_BASE_BEFORE_SIGTRAMP): Ditto.
(FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto.
(struct value): Add opaque declaration.
(DEPRECATED_FRAME_ARGS_ADDRESS): Delete.

21 years ago * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
Andreas Schwab [Tue, 22 Jul 2003 12:16:37 +0000 (12:16 +0000)]
* gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.

21 years agoAdd C_TCSYM and C_ECOML to expected RS6000 storage classes.
Nick Clifton [Tue, 22 Jul 2003 09:06:49 +0000 (09:06 +0000)]
Add C_TCSYM and C_ECOML to expected RS6000 storage classes.

21 years ago* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
Alexandre Oliva [Tue, 22 Jul 2003 04:56:50 +0000 (04:56 +0000)]
* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
or bsr/bs.

21 years ago* config/tc-h8300.c (md_assemble): Make sure characters after
Alexandre Oliva [Tue, 22 Jul 2003 04:56:05 +0000 (04:56 +0000)]
* config/tc-h8300.c (md_assemble): Make sure characters after
slash and dot are lower-case.

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

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

21 years ago2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 21 Jul 2003 23:00:22 +0000 (23:00 +0000)]
2003-07-21  H.J. Lu <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark
output_bfd unused to silence gcc.

21 years ago2003-07-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 21 Jul 2003 18:56:05 +0000 (18:56 +0000)]
2003-07-21  Andrew Cagney  <cagney@redhat.com>

From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
* m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite.

21 years agoUpdated Swedish translation
Nick Clifton [Mon, 21 Jul 2003 09:36:39 +0000 (09:36 +0000)]
Updated Swedish translation

21 years ago * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
Alan Modra [Mon, 21 Jul 2003 00:24:10 +0000 (00:24 +0000)]
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
(_bfd_elf_symbol_refs_local_p): ..this.  Declare.
* elflink.c (_bfd_elf_symbol_refs_local_p): New function.
* elf32-i386.c (elf_i386_relocate_section): Remove h NULL test
now done in _bfd_elf_symbol_refs_local_p.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

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

21 years ago*** empty log message ***
gdbadmin [Mon, 21 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use
Stephane Carrez [Sun, 20 Jul 2003 18:36:27 +0000 (18:36 +0000)]
* m68hc11-tdep.c (m68hc11_pseudo_register_read): Use
regcache_cooked_read_unsigned instead of read_register.
(m68hc11_saved_pc_after_call): Likewise.
(m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned
instead of write_register.
(m68hc11_register_type): New function.
(m68hc11_register_virtual_type): Remove.
(m68hc11_store_return_value): Convert to use the regcache.
(m68hc11_extract_struct_value_address): Likewise.
(m68hc11_gdbarch_init): Remove deprecated ops for register to use
m68hc11_register_type; undeprecate store_return_value and
extract_struct_value_address.

21 years ago * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
Andreas Schwab [Sun, 20 Jul 2003 17:39:16 +0000 (17:39 +0000)]
* gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
due to insn reordering.

21 years ago * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
Stephane Carrez [Sun, 20 Jul 2003 14:18:14 +0000 (14:18 +0000)]
* m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
and translate to use regcache.
(m68hc11_gdbarch_init): Undeprecate extract_return_value.

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

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

21 years ago2003-07-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 19 Jul 2003 07:31:15 +0000 (07:31 +0000)]
2003-07-20  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (.po.gmo): Do check if the .gmo file is writable
before generating it.

21 years ago2003-07-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 19 Jul 2003 06:41:42 +0000 (06:41 +0000)]
2003-07-18  H.J. Lu <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change.

21 years ago2003-07-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 19 Jul 2003 04:12:22 +0000 (04:12 +0000)]
2003-07-18  H.J. Lu <hongjiu.lu@intel.com>

* elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo.
(SYMBOL_CALLS_LOCAL): Likewise.

* elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE
immediately if symbol isn't defined locally.

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

21 years agodaily update
Alan Modra [Sat, 19 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 21:31:50 +0000 (21:31 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method.
* gdbarch.h, gdbarch.c: Re-generate.
* i386-tdep.c (i386_gdbarch_init): Do not set
DWARF2_BUILD_FRAME_INFO.
* elfread.c (elf_symfile_read): Call dwarf2_build_frame_info
unconditionally.
* alpha-tdep.c (alpha_dwarf2_init_abi): Do not set
DWARF2_BUILD_FRAME_INFO.

21 years ago * elflink.c (_bfd_elf_dynamic_symbol_p): New.
Richard Henderson [Fri, 18 Jul 2003 21:09:28 +0000 (21:09 +0000)]
    * elflink.c (_bfd_elf_dynamic_symbol_p): New.
        * elf-bfd.h (_bfd_elf_dynamic_symbol_p): Declare it.
        (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use it.
        * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Likewise.
        * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
        * elf64-hppa.c (elf64_hppa_dynamic_symbol_p): Likewise.
        * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Likewise.
        Update all callers to provide the relocation being resolved.

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 20:16:23 +0000 (20:16 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
        * disasm.c (gdb_disassemble_info): Initilize di.arch.

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 19:59:27 +0000 (19:59 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* dwarf2-frame.c (dwarf2_frame_sniffer): Use
frame_unwind_address_in_block, instead of frame_pc_unwind.
(dwarf2_frame_cache): Ditto.

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 19:01:14 +0000 (19:01 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* user-regs.h (struct gdbarch): Declare opaque.
* ui-out.h (struct ui_file): Declare opaque.
* dwarf2-frame.h (struct frame_info): Declare opaque.

21 years ago2003-07-18 Kris Warkentin <kewarken@qnx.com>
Kris Warkentin [Fri, 18 Jul 2003 17:15:33 +0000 (17:15 +0000)]
2003-07-18  Kris Warkentin  <kewarken@qnx.com>

* nto-procfs.c: Clean ARI hits.  Change #include <..> to
#include ....
(procfs_meminfo): Change strerror to safe_strerror.
(procfs_can_run): Remove K&R badness.

21 years ago* objdump.c (main) :Accept multiple -M switch.
Nick Clifton [Fri, 18 Jul 2003 11:34:41 +0000 (11:34 +0000)]
* objdump.c (main) :Accept multiple -M switch.
* doc/binutils.texi: Document that multiple -M switches are accepted and that
  a single -M switch can contain comma separated options.
* arm-dis.c (parse_arm_disassembler_option): Do not expect option string to be
  NUL terminated.
  (parse_disassembler_options): Allow options to be space or comma separated.

21 years ago2003-07-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 18 Jul 2003 00:21:00 +0000 (00:21 +0000)]
2003-07-17  Michael Snyder  <msnyder@redhat.com>

* remote-sim.c: Comment typo fix.

21 years ago2003-07-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 18 Jul 2003 00:10:41 +0000 (00:10 +0000)]
2003-07-17  Michael Snyder  <msnyder@redhat.com>

        * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.

21 years ago2003-07-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 18 Jul 2003 00:08:23 +0000 (00:08 +0000)]
2003-07-17  Michael Snyder  <msnyder@redhat.com>

        * compile.c (decode): IMM16 is always zero-extended.

21 years agodaily update
Alan Modra [Fri, 18 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 18 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 17 Jul 2003 18:49:36 +0000 (18:49 +0000)]
2003-07-17  Andrew Cagney  <cagney@redhat.com>

* defs.h (GDB_MULTI_ARCH): Delete conditional define.  Handled by
configure.
* sparc-tdep.c (sparc_intreg_size): Make non-static.
* config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to
GDB_MULTI_ARCH_PARTIAL.

21 years ago * objdump.c (main): Issue a warning message if multiple -M
Nick Clifton [Thu, 17 Jul 2003 17:02:46 +0000 (17:02 +0000)]
* objdump.c (main): Issue a warning message if multiple -M
switches are used.

* doc/binutils.texi (objdump): Update documentation about -M
option.

21 years agoAdd libcygwin to the lib autofiler list
Nick Clifton [Thu, 17 Jul 2003 15:47:49 +0000 (15:47 +0000)]
Add libcygwin to the lib autofiler list

21 years ago (IMAGE_FILE_NET_RUN_FROM_SWAP): Define.
Nick Clifton [Thu, 17 Jul 2003 14:37:17 +0000 (14:37 +0000)]
(IMAGE_FILE_NET_RUN_FROM_SWAP): Define.
  (IMAGE_FILE_MACHINE_WCEMIPSV2): Define.
  (IMAGE_FILE_MACHINE_SH3DSP): Define.
  (IMAGE_FILE_MACHINE_SH3E): Define.
(IMAGE_FILE_MACHINE_SH5): Define.
  (IMAGE_FILE_MACHINE_AM33): Define.
  (IMAGE_FILE_MACHINE_POWERPCFP): Define.
  (IMAGE_FILE_MACHINE_AXP64): Define.
  (IMAGE_FILE_MACHINE_TRICORE): Define.
  (IMAGE_FILE_MACHINE_CEF): Define.
  (IMAGE_FILE_MACHINE_EBC): Define.
  (IMAGE_FILE_MACHINE_AMD64): Define.
  (IMAGE_FILE_MACHINE_M32R): Define.
  (IMAGE_FILE_MACHINE_CEE): Define.

21 years agoDefine ARM_COFF_BUGFIX for arm-wince-pe targets
Nick Clifton [Thu, 17 Jul 2003 14:27:38 +0000 (14:27 +0000)]
Define ARM_COFF_BUGFIX for arm-wince-pe targets

21 years agoUpdate translations
Nick Clifton [Thu, 17 Jul 2003 14:22:45 +0000 (14:22 +0000)]
Update translations

21 years ago2003-07-17 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 17 Jul 2003 12:49:52 +0000 (12:49 +0000)]
2003-07-17  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (x86-64-linux-nat.o): Update dependencies.
* x86-64-linux-nat.c (ps_get_thread_area): New function.  Add
include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h.

21 years agodaily update
Alan Modra [Thu, 17 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 17 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue found.
Theodore A. Roth [Wed, 16 Jul 2003 23:20:51 +0000 (23:20 +0000)]
* avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue found.
(avr_frame_unwind_cache): Don't unwind FP for main.
Update a comment.
Save the computed prev_sp.
(avr_saved_regs_unwinder): Remove function.
(avr_frame_prev_register): Use PC unwind logic from
avr_saved_regs_unwinder, otherwise use trad_frame_prev_register.

21 years ago * config.bfd, configure.host, configure.in: Remove ia64-aix support.
Richard Henderson [Wed, 16 Jul 2003 22:48:59 +0000 (22:48 +0000)]
    * config.bfd, configure.host, configure.in: Remove ia64-aix support.
        * elfxx-ia64.c, targets.c: Likewise.

21 years ago2003-07-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 16 Jul 2003 22:29:13 +0000 (22:29 +0000)]
2003-07-16  Andrew Cagney  <cagney@redhat.com>

* frame-base.h (frame_base_p_ftype): Delete definition.
(frame_base_append_predicate): Delete declaration.
* frame-unwind.h (frame_unwind_p_ftype): Delete definition.
(frame_unwind_append_predicate): Delete declaration.
* frame-unwind.c (struct frame_unwind_table): Delete field "p".
(append_predicate): Delete parameter "p".
(frame_unwind_append_predicate): Delete function.
(frame_unwind_append_sniffer): Update call to append_predicate.
(frame_unwind_free): Delete function.
(_initialize_frame_unwind): Pass NULL as "free" to
register_gdbarch_data.
(frame_unwind_init): Append the dummy_frame_sniffer.
(frame_unwind_find_by_frame): Simplify.
* frame-base.c (struct frame_base_table): Delete field "p".
(append_predicate): Delete parameter "p".
(frame_base_append_predicate): Delete function.
(frame_base_append_sniffer): Update call to append_predicate.
(frame_base_free): Delete function.
(frame_base_find_by_frame): Simplify.
(_initialize_frame_base): Pass NULL as "free" to
register_gdbarch_data.
* x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p".
(x86_64_sigtramp_frame_sniffer): Replace
"x86_64_sigtramp_frame_p".
(x86_64_init_abi): Set the frame unwind sniffers.
* m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p".
(m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p"
(m68k_gdbarch_init): Set the frame unwind sniffers.
* i386-tdep.c (i386_sigtramp_frame_sniffer): Replace
"i386_sigtramp_frame_p".
(i386_frame_sniffer): Replace "i386_frame_p".
(i386_gdbarch_init): Set the frame unwind sniffers.
* avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer".
(avr_gdbarch_init): Set the frame unwind sniffers.
* alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace
"alpha_sigtramp_frame_p"
(alpha_heuristic_frame_sniffer): Replace
"alpha_heuristic_frame_p".
(alpha_gdbarch_init): Set the frame unwind sniffers.
(alpha_dwarf2_init_abi): Ditto.
* alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace
"alpha_debug_frame_p".
(alpha_mdebug_frame_base_sniffer): Replace
"alpha_mdebug_frame_base_p".
(alpha_mdebug_init_abi): Set the frame unwind sniffers.
* d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p".
(d10v_gdbarch_init): Set the frame unwind sniffer.
* dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p".
(dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p".
* dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p".
(dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p".
* dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p".
* dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p".

21 years ago * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return false
Richard Henderson [Wed, 16 Jul 2003 21:47:36 +0000 (21:47 +0000)]
    * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return false
        for symbols defined locally plus -Bsymbolic.  Tidy logic.

21 years ago * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp
Corinna Vinschen [Wed, 16 Jul 2003 09:45:56 +0000 (09:45 +0000)]
* sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp
should go thru sh_dsp_register_sim_regno, else the dsp regs
will not get the right values.

* sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to
deprecated_store_floating by call to store_typed_floating.
(sh_sh4_register_convert_to_raw): Substitute call to
deprecated_extract_floating by call to extract_typed_floating.

* sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e.

* sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to
register_size and calls to REGISTER_VIRTUAL_TYPE by calls to
gdbarch_register_type in 32 bit code throughout.  Avoid current_gdbarch
as possible.
(do_pseudo_register): Remove.
(sh_push_dummy_code): New function.
(sh64_store_struct_return): Rename from sh_store_struct_return.
Only called for sh64 now.
(sh_extract_struct_value_address): Regcache'ify.
(sh_push_dummy_call): Rename from sh_push_arguments.  Regcache'ify
and accomodate new tasks.
(sh64_push_return_address): Rename from sh_push_return_address.
Only called for sh64 now.
(sh_default_extract_return_value): Rename from sh_extract_return_value.
Regcache'ify.
(sh3e_sh4_extract_return_value): Regcache'ify.
(sh_default_store_return_value): Ditto.
(sh3e_sh4_store_return_value): Ditto.
(sh_default_register_byte): Remove.
(sh_sh4_register_byte): Remove.
(sh_default_register_raw_size): Remove.
(sh_sh4_register_raw_size): Remove.
(sh_register_virtual_size): Remove.
(sh_sh3e_register_virtual_type): Remove.
(sh_sh3e_register_type): New function.
(sh_sh4_register_virtual_type): Remove.
(sh_sh4_register_type): New function.
(sh_default_register_virtual_type): Remove.
(sh_default_register_type): New function.
(do_fv_register_info): Add parameters to accomodate call from
sh_print_registers_info.
(do_dr_register_info): Ditto.
(sh_print_pseudo_register): Rename from sh_do_pseudo_register.
Add parameters to accomodate call from sh_print_registers_info.
(sh_do_fp_register): Ditto.
(sh64_do_pseudo_register): Call do_dr_register_info,
do_fv_register_info and sh_do_fp_register with default parameters.
(sh_do_register): Add parameters to accomodate call from
sh_print_registers_info.
(sh_print_register): Ditto.
(sh_print_registers_info): Rename from sh_do_registers_info.
Add parameters to be used as gdbarch_print_registers_info
implementation.  Accomodate removed do_pseudo_register function
pointer.
(sh_compact_do_registers_info): Accomodate removed do_pseudo_register
function pointer. Call sh_print_register with default parameters.
(sh64_do_registers_info): Call sh_print_registers_info instead of
sh_do_registers_info.
(sh_gdbarch_init): Rearrange to cleanup and to allow easier
detection of deprecated vs. non-deprecated functionality.
Rename sh_call_dummy_words to sh64_call_dummy_words.  Remove
function pointer assignments by direct function calls.

21 years ago * config.if: Remove unused libc_interface determination.
Nathanael Nerode [Wed, 16 Jul 2003 06:35:35 +0000 (06:35 +0000)]
* config.if: Remove unused libc_interface determination.

21 years ago * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.
Alan Modra [Wed, 16 Jul 2003 03:09:31 +0000 (03:09 +0000)]
* dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.
(generic_dwarf2_emit_offset): Don't define function when
TC__DWARF2_EMIT_OFFSET is defined.

21 years ago*** empty log message ***
gdbadmin [Wed, 16 Jul 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

21 years ago2003-07-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 15 Jul 2003 17:35:00 +0000 (17:35 +0000)]
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_id): Use frame_unwind_find_by_frame.
(frame_register_unwind, create_new_frame): Ditto.
(legacy_get_prev_frame, get_frame_type): Ditto.
(get_frame_base_address): Use frame_base_find_by_frame.
(get_frame_locals_address): Use frame_base_find_by_frame.
(get_frame_args_address): Use frame_base_find_by_frame.
* frame-base.h (frame_base_sniffer_ftype): Declare.
(frame_base_append_sniffer): Declare.
(frame_base_find_by_frame): Replace frame_base_find_by_pc.
* frame-base.c (append_predicate): Add a "sniffer" parameter.
(frame_base_append_sniffer): New function.
(frame_base_append_predicate): Add a NULL sniffer.
(frame_base_find_by_frame): Replace "frame_base_find_by_pc".
(struct frame_base_table): Add "sniffer".
(frame_base_free): Free the "sniffer" table.
* frame-unwind.h (frame_unwind_sniffer_ftype): Define.
(frame_unwind_append_sniffer): Declare.
(frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.
* frame-unwind.c (frame_unwind_free): Free the "sniffer" table.
(struct frame_unwind_table): Add "sniffer", delete "middle".
(append_predicate): Add "sniffer" parameter, append the sniffer.
(frame_unwind_init): Update append_predicate call.
(frame_unwind_append_sniffer): New function.
(frame_unwind_append_predicate): Update append_predicate call.
(frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.

21 years ago2003-07-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 15 Jul 2003 17:23:32 +0000 (17:23 +0000)]
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Move disabled inside_entry_func to
before code inhibiting repeated unwind attempts.  Add to
commentary on that test's problems.
* blockframe.c (inside_main_func): Look for "main" in the minimal
symbol table.
* d10v-tdep.c (d10v_frame_this_id): Delete check that frames are
identical.

Index: testsuite/ChangeLog
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.

21 years ago2003-07-15 Michael Chastain <mec@shout.net>
Michael Chastain [Tue, 15 Jul 2003 16:28:21 +0000 (16:28 +0000)]
2003-07-15  Michael Chastain  <mec@shout.net>

* gdb.base/gdb1250.exp: New file.
* gdb.base/gdb1250.c: New file.

21 years ago2003-07-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 15 Jul 2003 15:36:13 +0000 (15:36 +0000)]
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* complaints.c (struct explanation): Define.
(struct complaints): Change type of "explanation" to "struct
explanation".
(symfile_explanations): Convert to a "struct explanation" table.
(vcomplaint): Update.

21 years agoOops, forgot to add x86-64-linux-tdep.h in previous commit.
Michal Ludvig [Tue, 15 Jul 2003 12:34:08 +0000 (12:34 +0000)]
Oops, forgot to add x86-64-linux-tdep.h in previous commit.

21 years ago2003-07-15 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Tue, 15 Jul 2003 11:33:59 +0000 (11:33 +0000)]
2003-07-15  Michal Ludvig  <mludvig@suse.cz>

* x86-64-linux-nat.c (regmap): Removed.
(supply_gregset, fill_gregset): Call
x86_64_linux_(fill,supply)_gregset functions.
* x86-64-linux-tdep.c (USER_*): New defines.
(user_to_gdb_regmap, x86_64_core_fns): New structure.
(x86_64_linux_supply_gregset, x86_64_linux_fill_gregset):
New functions.
(fetch_core_registers): Ditto.
(_initialize_x86_64_linux_tdep): Call add_core_fns().
* x86-64-linux-tdep.h: New file.
* config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o
and core-regset.o.
* config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o.

21 years ago * doc/c-mips.texi: Document -march=rm9000.
Richard Sandiford [Tue, 15 Jul 2003 09:02:59 +0000 (09:02 +0000)]
* doc/c-mips.texi: Document -march=rm9000.

21 years agoinclude/opcode/
Richard Sandiford [Tue, 15 Jul 2003 07:50:39 +0000 (07:50 +0000)]
include/opcode/
* mips.h (CPU_RM7000): New macro.
(OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns.

bfd/
* archures.c (bfd_mach_mips7000): New.
* bfd-in2.h: Regenerated.
* cpu-mips.c (arch_info_struct): Add an entry for mips:7000.
* elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000.
(mips_mach_extensions): Add an entry for it.

opcodes/
* mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries.

gas/
* config/tc-mips.c (hilo_interlocks): True for CPU_RM7000.
(mips_cpu_info_table): Add rm7000 and rm9000 entries.

gas/testsuite/
* gas/mips/rm7000.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years ago * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
Alan Modra [Tue, 15 Jul 2003 04:04:18 +0000 (04:04 +0000)]
* config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
only for V850_OPERAND_DISP operands.

21 years ago * frags.c (frag_more): Move segment checks to..
Alan Modra [Tue, 15 Jul 2003 01:33:54 +0000 (01:33 +0000)]
* frags.c (frag_more): Move segment checks to..
(frag_alloc_check): ..here.  New function.
(frag_append_1_char): Call frag_alloc_check.

21 years ago2003-07-14 Christian Groessler <chris@groessler.org>
Jason Eckhardt [Tue, 15 Jul 2003 01:15:08 +0000 (01:15 +0000)]
2003-07-14  Christian Groessler  <chris@groessler.org>

        * i860.h (AOUTSZ): Define properly for i860 coff.

21 years agodaily update
Alan Modra [Tue, 15 Jul 2003 00:00:15 +0000 (00:00 +0000)]
daily update

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

21 years ago * Makefile.in: Regenerate, correctly this time.
Nathanael Nerode [Mon, 14 Jul 2003 23:50:30 +0000 (23:50 +0000)]
* Makefile.in: Regenerate, correctly this time.

21 years agoImport from gcc repository:
Zack Weinberg [Mon, 14 Jul 2003 18:38:36 +0000 (18:38 +0000)]
Import from gcc repository:

2003-07-07  Zack Weinberg  <zack@codesourcery.com>

* gettext.m4: Delete all former contents.
(ZW_GNU_GETTEXT_SISTER_DIR): New macro.
* progtest.m4: New file.

2003-07-04  Zack Weinberg  <zack@codesourcery.com>

* gettext.m4: New file - copy of gettext.m4 from binutils

21 years agoUpdate Turkish translation files for bfd, gas and opcodes
Nick Clifton [Mon, 14 Jul 2003 11:18:13 +0000 (11:18 +0000)]
Update Turkish translation files for bfd, gas and opcodes

21 years agoRemove uses of ctype.h
Nick Clifton [Mon, 14 Jul 2003 10:06:06 +0000 (10:06 +0000)]
Remove uses of ctype.h

21 years agoMissing from 2003-07-11 commit.
Richard Sandiford [Mon, 14 Jul 2003 06:27:24 +0000 (06:27 +0000)]
Missing from 2003-07-11 commit.

21 years agodaily update
Alan Modra [Mon, 14 Jul 2003 00:00:07 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 14 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agoFix last Changelog entry to reflect reality.
Mark Kettenis [Sun, 13 Jul 2003 22:07:37 +0000 (22:07 +0000)]
Fix last Changelog entry to reflect reality.

21 years ago * Makefile.tpl: Set INSTALL and friends using autoconf. Remove
Nathanael Nerode [Sun, 13 Jul 2003 20:49:42 +0000 (20:49 +0000)]
* Makefile.tpl: Set INSTALL and friends using autoconf.  Remove
unused INSTALL_PROGRAM_ARGS.
* configure.in: Use AC_PROG_INSTALL.
* Makefile.in: Regenerate.
* configure: Regenerate.

21 years ago*** empty log message ***
Mark Kettenis [Sun, 13 Jul 2003 16:38:04 +0000 (16:38 +0000)]
*** empty log message ***

21 years ago* x86-64-tdep.c (x86_64_store_return_value): Use an intermediate
Mark Kettenis [Sun, 13 Jul 2003 16:31:43 +0000 (16:31 +0000)]
* x86-64-tdep.c (x86_64_store_return_value): Use an intermediate
buffer when storing double and float varibles into %xmm0.

21 years ago* configure.host: Add x86_64-*-freebsd*.
Mark Kettenis [Sun, 13 Jul 2003 16:15:59 +0000 (16:15 +0000)]
* configure.host: Add x86_64-*-freebsd*.
* configure.tgt: Add x86_64-*-freebsd*.
* Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets.
* amd64fbsd-nat.c: New file.
* amd64fbsd-tdep.c: New file.
* config/i386/nm-fbsd64.h: New file.
* config/i386/fbsd64.mh: New file.
* config/i386/fbsd64.mt: New file.

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

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

21 years agoSet maxpagesize for NTO targets to 4k
Nick Clifton [Sat, 12 Jul 2003 11:16:46 +0000 (11:16 +0000)]
Set maxpagesize for NTO targets to 4k

21 years agoSet the IMAGE_FILE_32BIT_MACHINE flag for PE targets.
Nick Clifton [Sat, 12 Jul 2003 10:55:05 +0000 (10:55 +0000)]
Set the IMAGE_FILE_32BIT_MACHINE flag for PE targets.

21 years agodaily update
Alan Modra [Sat, 12 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 12 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset',
Mark Kettenis [Fri, 11 Jul 2003 21:49:04 +0000 (21:49 +0000)]
* alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset',
`sc_regs_offset' and `sc_fpregs_offset'.
* alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF,
SIGFRAME_FPREGSAVE_OFF): Remove defines.
(alpha_sigtramp_register_address): Rewrite to use new members of
`struct gdbarch_tdep'.
(alpha_gdbarch_init): Initialize new members of struct
gdbarch_tdep'.
* alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use
ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE.
(alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables.
(alphafbsd_pc_in_sigtramp): Implement.
(alphafbsd_sigtramp_offset): New function.
(alphafbsd_sigcontext_addr): New function.
(alphafbsd_init_abi): Initialize signal trampoline related members
of `struct gdbarch_tdep'.
(_initialize_alphafbsd_tdep): Add prototype.

21 years agoFix my previous entry to denote the rule I changed.
Theodore A. Roth [Fri, 11 Jul 2003 18:03:36 +0000 (18:03 +0000)]
Fix my previous entry to denote the rule I changed.

21 years ago* Makefile.in: Quote sed expression when generating transformed_name.
Theodore A. Roth [Fri, 11 Jul 2003 17:53:20 +0000 (17:53 +0000)]
* Makefile.in: Quote sed expression when generating transformed_name.

21 years ago * Makefile.in (dwarf2-frame.o): Add complaints_h.
Richard Henderson [Fri, 11 Jul 2003 16:22:17 +0000 (16:22 +0000)]
    * Makefile.in (dwarf2-frame.o): Add complaints_h.
        * dwarf2-frame.c: Include complaints.h.
        (decode_frame_entry_1): Rename from decode_frame_entry; tidy
        variable initialization; return NULL on error.
        (decode_frame_entry): New.

21 years ago2003-07-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 11 Jul 2003 15:31:43 +0000 (15:31 +0000)]
2003-07-11  Andrew Cagney  <cagney@redhat.com>

* frame.h (frame_address_in_block): Delete declaration.
* blockframe.c (frame_address_in_block): Delete function.
(get_frame_block): Use get_frame_address_in_block.
(block_innermost_frame): Ditto.
* stack.c (print_frame, backtrace_command_1): Ditto.

21 years agobfd/
Richard Sandiford [Fri, 11 Jul 2003 14:59:41 +0000 (14:59 +0000)]
bfd/
* bfd-in.h (bfd_h8300_pad_address): Declare.
* bfd-in2.h: Regenerate.
* cpu-h8300.c (bfd_h8300_pad_address): New function.
* coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize
addresses before checking whether they can be relaxed.
(h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check.
Don't complain about overflows in general 8-bit relocations.
* elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address.
Fix handling of R_H8_DIR24A8.

ld/testsuite/
* ld-h8300/relax-3{.s,.d,-coff.d}: New test.
* ld-h8300/h8300.exp: Run it.

21 years agoOops, revert unintended commit. Next patch will do this properly.
Andrew Cagney [Fri, 11 Jul 2003 14:56:05 +0000 (14:56 +0000)]
Oops, revert unintended commit.  Next patch will do this properly.

21 years ago2003-07-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 11 Jul 2003 14:52:17 +0000 (14:52 +0000)]
2003-07-11  Andrew Cagney  <cagney@redhat.com>

* frame.h (get_frame_address_in_block): Declare.
(frame_unwind_address_in_block): Declare.
* frame.c (frame_unwind_address_in_block): New function.
(get_frame_address_in_block): New function.

21 years ago * elf32-h8300.c: Convert function prototypes and definitions
Richard Sandiford [Fri, 11 Jul 2003 11:08:30 +0000 (11:08 +0000)]
* elf32-h8300.c: Convert function prototypes and definitions
to C90 syntax.
* coff-h8300.c: Likewise.
* cpu-h8300.c: Likewise.

21 years ago2003-07-09 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 11 Jul 2003 06:44:34 +0000 (06:44 +0000)]
2003-07-09  Michal Ludvig  <mludvig@suse.cz>

* gdb.c++/templates.exp (test_ptype_of_templates): Recognize
expansion of size_t to 'unsigned long', not only to 'unsigned'.

21 years agoUpdate pot files.
Alan Modra [Fri, 11 Jul 2003 05:10:21 +0000 (05:10 +0000)]
Update pot files.

21 years ago2003-07-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 11 Jul 2003 03:01:38 +0000 (03:01 +0000)]
2003-07-10  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: Simplify predicate methods.  Remove need to provide
pre-default.   Note: re-generate has no effect.

21 years ago2003-07-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 11 Jul 2003 01:35:54 +0000 (01:35 +0000)]
2003-07-10  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: When a variable, but not a function, compare against
0.  Fix problem in previous patch.
* gdbarch.c: Re-generate.

21 years agodaily update
Alan Modra [Fri, 11 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

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