binutils-gdb.git
21 years ago2003-07-30 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 30 Jul 2003 21:10:12 +0000 (21:10 +0000)]
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * i860-dis.c: Convert to ISO C90.  Remove superflous prototypes.

21 years ago2003-07-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 30 Jul 2003 20:59:10 +0000 (20:59 +0000)]
2003-07-30  Michael Snyder  <msnyder@redhat.com>

* structs.h (value_being_returned): Add a struct_addr argument.
* infcall.c (call_function_by_hand): Pass struct_addr to
value_being_returned.
* infcmd.c (print_return_value): Pass zero as struct_addr.
* values.c (value_being_returned): If struct_addr is passed,
use it instead of trying to recover it from the inferior.

21 years ago * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that
Kevin Buettner [Wed, 30 Jul 2003 20:44:46 +0000 (20:44 +0000)]
* mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that
the prologue analyzer won't need to attempt to extract the pc
value from the woefully incomplete dummy frame.
(mn10300_analyze_prologue): Avoid calls to get_frame_pc() when
possible.  Disable code which modifies the frame.

21 years ago * config/tc-sh.c (md_assemble): For branches, check & update
Joern Rennecke [Wed, 30 Jul 2003 20:34:26 +0000 (20:34 +0000)]
* config/tc-sh.c (md_assemble): For branches, check & update
valid_arch here.

21 years agobfd:
Jason Eckhardt [Wed, 30 Jul 2003 20:24:55 +0000 (20:24 +0000)]
bfd:
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * elf32-i860.c: Convert to ISO C90.  Remove superflous prototypes.

gas:
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c: Convert to ISO C90.

21 years ago* configure.in: Enable libgcj for darwin.
DJ Delorie [Wed, 30 Jul 2003 20:12:58 +0000 (20:12 +0000)]
* configure.in: Enable libgcj for darwin.
* configure: Rebuild.

21 years ago * read.c (s_space): Revert 2003-07-28 change.
Rainer Orth [Wed, 30 Jul 2003 17:21:52 +0000 (17:21 +0000)]
* read.c (s_space): Revert 2003-07-28 change.

21 years agoUpdated Romanian translation
Nick Clifton [Wed, 30 Jul 2003 15:53:12 +0000 (15:53 +0000)]
Updated Romanian translation

21 years ago * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.
Alan Modra [Wed, 30 Jul 2003 14:11:03 +0000 (14:11 +0000)]
* config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.

21 years ago2003-07-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 30 Jul 2003 04:14:38 +0000 (04:14 +0000)]
2003-07-28  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (INFO_DEPS): Add annotate.info.
(dvi, ps, html, pdf): Add annotate.
(ANNOTATE_DOC_SOURCE_INCLUDES): New macro.
(ANNOTATE_DOC_BUILD_INCLUDES): New macro.
(ANNOTATE_DOC_FILES): New macro.
(ANNOTATE_TEX_TMPS): New macro.
(annotate.info, annotate_toc.html): Specify dependencies.
(annotate.ps, annotate.pdf, annotate.dvi): Ditto.
* annotate.texinfo: Rename annotate.texi.  Get building.  Add
"Migrating to GDB/MI" and "Limitations of the Annotation
Interface" chapters.  Mention why it is not part of the user
guide.  Update copyright notice.  Include "fdl.texi".

21 years ago * objdump.c: Remove unnecessary prototypes.
Alan Modra [Wed, 30 Jul 2003 03:54:15 +0000 (03:54 +0000)]
* objdump.c: Remove unnecessary prototypes.
(disassemble_bytes): Add rel_offset parameter.  Simplify reloc skipping
code, and print relocs when dump_dynamic_reloc_info.
(disassemble_data): Read and handle dynamic relocs.  Correct reloc
skip code.  Formatting.
(dump_bfd): Don't dump dynamic relocs when disassembling.

21 years ago * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
Kaz Kojima [Wed, 30 Jul 2003 02:22:07 +0000 (02:22 +0000)]
* emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
section for shared library.
* emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
* emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.

21 years ago * elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
Alan Modra [Wed, 30 Jul 2003 02:15:07 +0000 (02:15 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
* elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type.

21 years ago * elf.c: Convert to C90, remove unnecessary prototypes and casts.
Alan Modra [Wed, 30 Jul 2003 02:08:06 +0000 (02:08 +0000)]
* elf.c: Convert to C90, remove unnecessary prototypes and casts.
Replace PTR with void *.  Formatting.
(_bfd_elf_assign_file_position_for_section): Remove INLINE.
(make_mapping): Likewise.

21 years ago * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
Nathanael Nerode [Wed, 30 Jul 2003 01:35:07 +0000 (01:35 +0000)]
* mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.

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

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

21 years ago * MAINTAINERS: Remove self as M88k maintainer. Future M88k
Ben Elliston [Tue, 29 Jul 2003 23:44:03 +0000 (23:44 +0000)]
* MAINTAINERS: Remove self as M88k maintainer.  Future M88k
maintenance defaults to the blanket write privilege maintainers.

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

* gdb.threads/tls.c (spin): Check errno only if sem_wait
actually failed.
(do_pass): Likewise.
* gdb.threads/tls.exp: Always initialize no_of_threads.

21 years ago2003-07-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 29 Jul 2003 21:07:40 +0000 (21:07 +0000)]
2003-07-22  Michael Snyder  <msnyder@redhat.com>

* cmpw.s: Add test for less-than-zero immediate.
* shll.s: Test for shll reg, reg.
* shlr.s: Test for shlr reg, reg.
* mova.s: Add dozens of new mova tests.

21 years ago2003-07-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 29 Jul 2003 21:05:31 +0000 (21:05 +0000)]
2003-07-18  Michael Snyder  <msnyder@redhat.com>

        * include/opcode/h8sx.h (DO_MOVA1, DO_MOVA2): Reformatting.

21 years ago2003-07-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 29 Jul 2003 21:03:39 +0000 (21:03 +0000)]
2003-07-18  Michael Snyder  <msnyder@redhat.com>

        * compile.c (decode): Enhancements for mova.
        Initialize cst, reg, and rdisp inside the loop, for each
        new instruction.  Defer correction of the disp2 values until
        later, and then adjust them by the size of the first operand,
        rather than the size of the instruction.
        (sim_resume): For mova, adjust the size of the second operand
        according to the type of the first operand (INDEXB vs. INDEXW).
        In cases where there is only one operand, the other two must
        both be composed on the fly.

21 years ago * scripttempl/elfm68hc12.sc: Add gcc_except_table.
Stephane Carrez [Tue, 29 Jul 2003 20:17:17 +0000 (20:17 +0000)]
* scripttempl/elfm68hc12.sc: Add gcc_except_table.
* scripttempl/elfm68hc11.sc: Likewise.

21 years agoUpdate meissner email address
Michael Meissner [Tue, 29 Jul 2003 17:09:00 +0000 (17:09 +0000)]
Update meissner email address

21 years agoUpdate to Iso C.
Nick Clifton [Tue, 29 Jul 2003 15:40:37 +0000 (15:40 +0000)]
Update to Iso C.

21 years ago * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc
Jakub Jelinek [Tue, 29 Jul 2003 14:02:55 +0000 (14:02 +0000)]
* ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc
sections.
--- ld/testsuite/ld-elfvsb/elf-offset.ld.jj 2003-05-19 17:12:47.000000000 -0400
+++ ld/testsuite/ld-elfvsb/elf-offset.ld 2003-07-29 05:39:34.000000000 -0400
@@ -46,6 +46,8 @@ SECTIONS
     }
   .rel.got       : { *(.rel.got) }
   .rela.got      : { *(.rela.got) }
+  .rel.toc       : { *(.rel.toc) }
+  .rela.toc      : { *(.rela.toc) }
   .rel.ctors     : { *(.rel.ctors) }
   .rela.ctors    : { *(.rela.ctors) }
   .rel.dtors     : { *(.rel.dtors) }
@@ -111,6 +113,7 @@ SECTIONS
     KEEP (*(.dtors))
   }
   .got           : { *(.got.plt) *(.got) }
+  .toc           : { *(.toc) }
   .dynamic       : { *(.dynamic) }
   /* We want the small data sections together, so single-instruction offsets
      can access them all, and initialized data all before uninitialized, so

21 years ago * ppc-opc.c (insert_mbe, extract_mbe): Shift 1L instead of 1 up.
Jakub Jelinek [Tue, 29 Jul 2003 08:29:56 +0000 (08:29 +0000)]
* ppc-opc.c (insert_mbe, extract_mbe): Shift 1L instead of 1 up.

21 years agoRemove empty .text disassembly
Nick Clifton [Tue, 29 Jul 2003 07:06:08 +0000 (07:06 +0000)]
Remove empty .text disassembly

21 years ago * config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.
Alan Modra [Tue, 29 Jul 2003 06:55:34 +0000 (06:55 +0000)]
* config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.

21 years ago * ld-powerpc/tlsso.r: Update.
Alan Modra [Tue, 29 Jul 2003 06:53:41 +0000 (06:53 +0000)]
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

21 years ago * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
Alan Modra [Tue, 29 Jul 2003 06:48:30 +0000 (06:48 +0000)]
* config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.

21 years ago * elf64-ppc.c (func_desc_adjust): Give linker created function
Alan Modra [Tue, 29 Jul 2003 06:47:10 +0000 (06:47 +0000)]
* elf64-ppc.c (func_desc_adjust): Give linker created function
descriptor symbols a size and type.
(ppc64_elf_relocate_section): Correct lq insn test.

21 years ago2003-07-28 Eric Christopher <echristo@redhat.com>
Eric Christopher [Tue, 29 Jul 2003 06:42:51 +0000 (06:42 +0000)]
2003-07-28  Eric Christopher  <echristo@redhat.com>

        * elf32-ppc.c (R_PPC_RELAX32): New relocation.
        (ppc_elf_install_value): New function.
        (ppc_elf_sort_rela): Remove.
        (ppc_elf_relax_section): Rewrite. Remove old relaxation
        and replace with out of range branch stubs.
        (ppc_elf_relocate_section): Handle R_PPC_RELAX32.

2003-07-28  Eric Christopher  <echristo@redhat.com>

        * ppc.h (R_PPC_RELAX32): New. Fake relocation.

21 years agoUpdate expected output regexps to include .eh_frame section.
Nick Clifton [Tue, 29 Jul 2003 06:26:23 +0000 (06:26 +0000)]
Update expected output regexps to include .eh_frame section.

21 years ago* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
Alexandre Oliva [Tue, 29 Jul 2003 06:18:40 +0000 (06:18 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
from input_bfd.

21 years ago2003-07-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 29 Jul 2003 03:17:08 +0000 (03:17 +0000)]
2003-07-28  Andrew Cagney  <cagney@redhat.com>

* annotate.c (annotate_breakpoints_headers): Restrict annotation
to level 2.
(annotate_breakpoints_table, annotate_record): Ditto.
(annotate_breakpoints_table_end, annotate_field_begin): Ditto.
(annotate_field_name_end, annotate_field_value): Ditto.
(annotate_field_end, annotate_frame_source_begin): Ditto.
(annotate_frame_source_file, annotate_frame_source_file_end): Ditto.
(annotate_frame_source_line, annotate_frame_source_end): Ditto.
(annotate_frame_begin, annotate_frame_function_name): Ditto.
(annotate_frame_address_end, annotate_frame_address): Ditto.
(annotate_frame_args, annotate_frame_end): Ditto.
(annotate_frame_where, annotate_arg_begin): Ditto.
(annotate_arg_name_end, annotate_arg_value): Ditto.
(annotate_arg_end, annotate_signal_handler_caller): Ditto.
(annotate_function_call, annotate_signal_name): Ditto.
(annotate_signal_string, annotate_signal_name_end): Ditto.
(annotate_signal_string_end, annotate_value_history_begin): Ditto.
(annotate_value_begin, annotate_value_history_value): Ditto.
(annotate_value_history_end, annotate_value_end): Ditto.
(annotate_display_begin, annotate_display_number_end): Ditto.
(annotate_display_format, annotate_display_expression): Ditto.
(annotate_display_expression_end, annotate_display_value): Ditto.
(annotate_display_end, annotate_array_section_begin): Ditto.
(annotate_elt_rep, annotate_elt_rep_end): Ditto.
(annotate_elt, annotate_array_section_end): Ditto.

21 years agogas/
H.J. Lu [Tue, 29 Jul 2003 02:03:33 +0000 (02:03 +0000)]
gas/

2003-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_section_type): Also accept "note".

gas/testsuite/

2003-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/elf.exp: Add section3 for note section.

* gas/elf/section3.d: New file.
* gas/elf/section3.s: Likewise.

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

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

21 years ago * read.c (s_space): Don't warn about .space 0.
Rainer Orth [Mon, 28 Jul 2003 20:35:59 +0000 (20:35 +0000)]
* read.c (s_space): Don't warn about .space 0.

21 years ago * config/tc-mips.c (mips_flag_pdr): Define.
Rainer Orth [Mon, 28 Jul 2003 20:06:27 +0000 (20:06 +0000)]
* config/tc-mips.c (mips_flag_pdr): Define.
(md_begin) [OBJ_ELF]: Use it to control .pdr creation.
(s_mips_end) [OBJ_ELF]: Likewise.
(md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR.
(md_parse_option) [OBJ_ELF]: Handle them.
(md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr.

* doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr.
* doc/as.texinfo (Overview) [MIPS]: Likewise.

21 years ago2003-07-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 28 Jul 2003 15:41:19 +0000 (15:41 +0000)]
2003-07-28  Andrew Cagney  <cagney@redhat.com>

* regcache.c (struct regcache_descr): Update comments on
nr_raw_registers.
(init_legacy_regcache_descr): Don't set nr_raw_registers or
sizeof_raw_register_valid_p.
(init_regcache_descr): Set nr_raw_registers and
sizeof_raw_register_valid_p before calling
init_legacy_regcache_descr.

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

* mips-tdep.c (print_gp_register_row): Print the GPR's register
MOD NUM_REGS.

21 years ago * elf.c (special_sections): Set attributes for .got and .plt.
Alan Modra [Mon, 28 Jul 2003 14:21:44 +0000 (14:21 +0000)]
* elf.c (special_sections): Set attributes for .got and .plt.

21 years ago * thread.c (info_threads_command): Use get_selected_frame ().
Daniel Jacobowitz [Mon, 28 Jul 2003 13:02:12 +0000 (13:02 +0000)]
* thread.c (info_threads_command): Use get_selected_frame ().
Check that there is at least one non-sentinel frame.

21 years ago * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
Alan Modra [Mon, 28 Jul 2003 03:33:48 +0000 (03:33 +0000)]
* emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.

21 years ago * Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
Nathanael Nerode [Mon, 28 Jul 2003 03:27:46 +0000 (03:27 +0000)]
* Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
creating target and build subdirs to build all parent dirs as needed.
* Makefile.in: Rebuild.
* configure.in: Don't build dirs explicitly here.
* configure: Rebuild.

21 years ago * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
Alan Modra [Mon, 28 Jul 2003 02:42:37 +0000 (02:42 +0000)]
* emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.

21 years ago * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
Daniel Jacobowitz [Mon, 28 Jul 2003 00:57:29 +0000 (00:57 +0000)]
* gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
pattern.
* gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
* gdb.threads/tls.exp: Recognize one case of the host library not
supporting TLS.

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

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

21 years ago * m68hc11-tdep.c (struct frame_extra_info): Remove.
Stephane Carrez [Sun, 27 Jul 2003 21:39:44 +0000 (21:39 +0000)]
* m68hc11-tdep.c (struct frame_extra_info): Remove.
(m68hc11_pop_frame): Remove.
(m68hc11_frame_saved_pc): Remove.
(m68hc11_frame_chain): Remove.
(m68hc11_frame_init_saved_regs): Remove.
(m68hc11_init_extra_frame_info): Remove.
(m68hc11_store_struct_return): Remove.
(m68hc11_saved_pc_after_call): Remove.
(m68hc11_call_dummy_address): Remove.

21 years ago * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold
Stephane Carrez [Sun, 27 Jul 2003 21:24:41 +0000 (21:24 +0000)]
* m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold
frame unwind information.
(m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue
and adapted for frame unwinding.
(m68hc11_skip_prologue): Update to scan prologue in temporary object.
(m68hc11_unwind_pc): New function.
(m68hc11_frame_unwind_cache): New function to analyze frames.
(m68hc11_frame_this_id): New function to create new frame struct.
(m68hc11_frame_prev_register): New function to unwind a register from
the frame.
(m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder.
(m68hc11_frame_p): New function for the above.
(m68hc11_frame_base_address): New function to return fp of frame.
(m68hc11_frame_args_address): Update for frame.
(m68hc11_frame_base): Default 68hc11/68hc12 frame.
(m68hc11_unwind_sp): New function.
(m68hc11_unwind_dummy_id): New function.
(m68hc11_gdbarch_init): Install the above frames; remove deprecated
calls.

21 years ago2003-07-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 27 Jul 2003 21:24:09 +0000 (21:24 +0000)]
2003-07-27  Andrew Cagney  <cagney@redhat.com>

* gdb.base/fileio.exp: Use SH when running commands using
remote_exec.

21 years ago * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.
Stephane Carrez [Sun, 27 Jul 2003 20:54:17 +0000 (20:54 +0000)]
* m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.
(m68hc11_guess_from_prologue): Advance the pc and frame size only
when we are beyond the current pc.

21 years ago * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted
Stephane Carrez [Sun, 27 Jul 2003 20:27:29 +0000 (20:27 +0000)]
* m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted
from m68hc11_push_arguments.
(m68hc11_push_arguments): Remove.
(m68hc11_push_return_address): Remove.
(m68hc11_gdbarch_init): Install the above; remove above deprecated
handlers; remove deprecated_extra_stack_alignment_needed.

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

* config/pa/tm-hppa.h (init_frame_pc_default): Declare.
* infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update
REAL_PC and not the pointer.
* hppa-hpux-tdep.c: Include frame.h

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

* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to
GDB_MULTI_ACH_PARTIAL.

21 years agoDoh! configure.tgt was not part of the change.
Andrew Cagney [Sun, 27 Jul 2003 15:42:20 +0000 (15:42 +0000)]
Doh!  configure.tgt was not part of the change.

21 years ago2003-07-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 27 Jul 2003 15:38:16 +0000 (15:38 +0000)]
2003-07-27  Andrew Cagney  <cagney@redhat.com>

Patch from 2003-07-22 Kei Sakamoto <sakamoto.kei@renesas.com>:
* m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style -
operator at start and not end of line.
(decode_prologue): Ditto.
(m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use
frame_unwind_register_unsigned instead of
frame_unwind_unsigned_register.
(m32r_read_pc): Use regcache_cooked_read_unsigned instead of
read_register.
(m32r_push_dummy_call): Use register_size instead of
REGISTER_RAW_SIZE.
(m32r_frame_sniffer): Replace m32r_frame_p.
(m32r_gdbarch_init): Call frame_unwind_append_sniffer.
* m32r-rom.c (report_transfer_performance): Delete extern
declaration.
(m32r_load, m32r_upload_command): Use print_transfer_performance
instead of report_transfer_performance.
(_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd
/ add_show_from_set.

21 years ago * ld.texinfo: Typo fixes. Document SUBALIGN.
Alan Modra [Sun, 27 Jul 2003 11:58:28 +0000 (11:58 +0000)]
* ld.texinfo: Typo fixes.  Document SUBALIGN.
* ldgram.y (opt_subalign): Add.
* ldlex.l (SUBALIGN): Recognize.
* ldlang.c (overlay_subalign): New var.
(lang_enter_overlay): Add subalign param.
(lang_enter_overlay_section): Pass overlay_subalign to
lang_enter_output_section_statement.
* ldlang.h (lang_enter_overlay): Update.

21 years ago * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocs
Alan Modra [Sun, 27 Jul 2003 09:05:08 +0000 (09:05 +0000)]
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocs
on function descriptors.
(ELIMINATE_COPY_RELOCS): Expand comment.
(ppc64_elf_special_sections): Move.  Don't include non-ppc64 sections.
Do include ".toc1".

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

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

21 years ago2003-07-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 26 Jul 2003 22:49:15 +0000 (22:49 +0000)]
2003-07-26  Andrew Cagney  <cagney@redhat.com>

* m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated
store_return_value and extract_struct_value_address.

21 years ago PR c++/1267
Daniel Jacobowitz [Sat, 26 Jul 2003 22:03:38 +0000 (22:03 +0000)]
PR c++/1267
* minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is
NULL, default to the section containing PC.

21 years agoUpdate tests for corrected section attributes and objdump change.
Alan Modra [Sat, 26 Jul 2003 10:22:01 +0000 (10:22 +0000)]
Update tests for corrected section attributes and objdump change.

21 years ago * gdb.texinfo (TUI Keys): Document C-x o key to switch active window.
Stephane Carrez [Sat, 26 Jul 2003 07:38:54 +0000 (07:38 +0000)]
* gdb.texinfo (TUI Keys): Document C-x o key to switch active window.

21 years agobfd/
H.J. Lu [Sat, 26 Jul 2003 01:06:27 +0000 (01:06 +0000)]
bfd/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (_bfd_elf_new_section_hook): Set the default section
type to SHT_NULL.
(elf_fake_sections): Set the section type based on asect->flags
if it is SHT_NULL. Don't abort on processor specific section
types.

gas/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Update
elf_section_type and elf_section_flags only when they are
specified.

21 years ago2003-07-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 26 Jul 2003 01:00:33 +0000 (01:00 +0000)]
2003-07-25  Michael Snyder  <msnyder@redhat.com>

* pshai.s, pshar.s, pshli.s, pshlr.s: New files.
* allinsn.exp: Add psha, pshl tests.
* pdec.s, pinc.s, padd.s, paddc.s: New files.
* allinsn.exp: Add pdec, pinc, padd, paddc tests.
* pand.s, pdmsb.s: New files.
* allinsn.exp: Add pand, pdmsb tests.

21 years ago2003-07-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 26 Jul 2003 00:54:58 +0000 (00:54 +0000)]
2003-07-08  Michael Snyder  <msnyder@redhat.com>

        * allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s,
        fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s,
        float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s,
        fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s,
        shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.

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

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

21 years ago2003-07-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 25 Jul 2003 23:52:43 +0000 (23:52 +0000)]
2003-07-25  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (pshl): Change < to <= (shift by 16 is allowed).
        Cast argument of >> to unsigned to prevent sign extension.
        (psha): Change < to <= (shift by 32 is allowed).

21 years ago2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jul 2003 16:08:28 +0000 (16:08 +0000)]
2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Always set section
type and flags.

21 years ago2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jul 2003 14:55:16 +0000 (14:55 +0000)]
2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in2.h: Regenerated.

21 years agobfd/
H.J. Lu [Fri, 25 Jul 2003 14:35:56 +0000 (14:35 +0000)]
bfd/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (bfd_elf_special_section): New.
(elf_backend_data): Add special_sections, a pointer to
bfd_elf_special_section.
(elf_section_type). New.
(elf_section_flags): New.
(_bfd_elf_get_sec_type_attr): New.

* elf.c (_bfd_elf_make_section_from_shdr): Always use the
real section type/flags.
(special_sections): New.
(get_special_section): New.
(_bfd_elf_get_sec_type_attr): New.
(_bfd_elf_new_section_hook): Check special_section to set
elf_section_type and elf_section_flags.
(elf_fake_sections): Don't use section name to set ELF section
data.

* elf32-m32r.c (m32r_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-m68hc11.c (elf32_m68hc11_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-mcore.c (mcore_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-ppc.c (ppc_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-sh64.c (sh64_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-v850.c (v850_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-xtensa.c (elf_xtensa_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-alpha.c (elf64_alpha_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-hppa.c (elf64_hppa_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-ppc.c (ppc64_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-sh64.c (sh64_elf64_special_sections): New.
(elf_backend_special_sections): Defined.

* elfxx-ia64.c (elfNN_ia64_special_sections): New.
(elf_backend_special_sections): Defined.

* elfxx-mips.c (_bfd_mips_elf_special_sections): New.

* elfxx-mips.h (_bfd_mips_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elfxx-target.h (elf_backend_special_sections): New. Default
to NULL.
(elfNN_bed): Initialize special_sections.

* section.c (bfd_abs_section): Remove const.
(bfd_und_section): Likewise.
(bfd_com_section): Likewise.
(bfd_ind_section): Likewise.

gas/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (special_sections): Removed.
(obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set
elf_section_type and elf_section_flags.
(elf_frob_file): Set SHT_GROUP.

* config/obj-elf.h (obj_sec_set_private_data): New.

* config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed.
* config/tc-ia64.h: Likewise.
* config/tc-m32r.h: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-mcore.h: Likewise.
* config/tc-mips.h: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-sh64.h: Likewise.
* config/tc-v850.h: Likewise.
* config/tc-xtensa.h: Likewise.

* config/tc-v850.h (SHF_V850_GPREL): Removed.
(SHF_V850_EPREL): Likewise.
(SHF_V850_R0REL): Likewise.

* subsegs.c (subseg_get): Call obj_sec_set_private_data if it
is defined.

include/elf/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* v850.h (SHF_V850_GPREL): New.
(SHF_V850_EPREL): Likewise.
(SHF_V850_R0REL): Likewise.

21 years agoInclude SEC_CODE so that code sections are assigned the LOAD attribute.
Nick Clifton [Fri, 25 Jul 2003 10:50:03 +0000 (10:50 +0000)]
Include SEC_CODE so that code sections are assigned the LOAD attribute.

21 years ago * elf32-sh.c: Convert to C90. Replace PTR with void *.
Kaz Kojima [Fri, 25 Jul 2003 06:19:20 +0000 (06:19 +0000)]
* elf32-sh.c: Convert to C90.  Replace PTR with void *.
* elf32-sh64-com.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-sh64.h: Likewise.
* elf64-sh64.c: Likewise.

21 years ago2003-07-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jul 2003 01:39:42 +0000 (01:39 +0000)]
2003-07-24  H.J. Lu  <hongjiu.lu@intel.com>

* ld-powerpc/tlsexe.r: .sbss is NOBITS, not PROGBITS.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.

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

        * gencode.c: Fix typo in comment.

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

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

21 years ago * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
Stephane Carrez [Thu, 24 Jul 2003 20:55:38 +0000 (20:55 +0000)]
* config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
debugging symbols so that we handle page memory correctly.

21 years ago * tui.c (tui_rl_other_window): New function to switch the TUI active
Stephane Carrez [Thu, 24 Jul 2003 20:23:17 +0000 (20:23 +0000)]
* tui.c (tui_rl_other_window): New function to switch the TUI active
window and give focus to a next window.
(tui_initialize_readline): Bind it to c-x o.
(tui_rl_next_keymap): Activate TUI mode when entering SingleKey mode.

21 years ago * NEWS: Mention "regs" deprecated for m68hc11 too.
Stephane Carrez [Thu, 24 Jul 2003 19:59:33 +0000 (19:59 +0000)]
* NEWS: Mention "regs" deprecated for m68hc11 too.

* m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command.
(m68hc11_print_register): New function to print out one register.
(m68hc11_print_registers_info): New function to print registers.
(show_regs): Deprecate and use the above.
(m68hc11_gdbarch_init): Install the print_registers_info.

21 years ago * linux-arm-low.c (arm_reinsert_addr): New function.
Daniel Jacobowitz [Thu, 24 Jul 2003 19:03:50 +0000 (19:03 +0000)]
* linux-arm-low.c (arm_reinsert_addr): New function.
(the_low_target): Add arm_reinsert_addr.

21 years ago * gdbint.texinfo (libgdb components): Correct a GDB to GDBN.
Daniel Jacobowitz [Thu, 24 Jul 2003 18:56:37 +0000 (18:56 +0000)]
* gdbint.texinfo (libgdb components): Correct a GDB to GDBN.

21 years ago * gdb.texinfo (Server): Mention pidof.
Daniel Jacobowitz [Thu, 24 Jul 2003 18:55:04 +0000 (18:55 +0000)]
* gdb.texinfo (Server): Mention pidof.

21 years ago From Kei Sakamoto <sakamoto.kei@renesas.com>:
Daniel Jacobowitz [Thu, 24 Jul 2003 18:45:43 +0000 (18:45 +0000)]
From Kei Sakamoto <sakamoto.kei@renesas.com>:
* gdb.base/relocate.c (dummy): New padding array.

21 years ago2003-07-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 24 Jul 2003 16:42:54 +0000 (16:42 +0000)]
2003-07-24  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify
        that we have a SIGTRAP before returning non-zero.

21 years agoDo not ignore sections without the LOAD flag when disassemble_all is true.
Nick Clifton [Thu, 24 Jul 2003 14:06:07 +0000 (14:06 +0000)]
Do not ignore sections without the LOAD flag when disassemble_all is true.
Only print a message about disassembling a section if it contains some data.

21 years ago * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
Kaz Kojima [Thu, 24 Jul 2003 11:37:02 +0000 (11:37 +0000)]
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
(allocate_dynrelocs): Likewise.
(sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL.
(sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.

21 years agoUpdated French translations
Nick Clifton [Thu, 24 Jul 2003 11:16:05 +0000 (11:16 +0000)]
Updated French translations

21 years ago2003-07-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 24 Jul 2003 00:38:07 +0000 (00:38 +0000)]
2003-07-23  Michael Snyder  <msnyder@redhat.com>

        * gencode.c: A few more fix-ups of refs and defs.
        (frchg): Raise SIGILL if in double-precision mode.
        (ldtlb): We don't simulate cache, so this is a no-op.
        (movsxy_tab): Correct a few bit pattern errors.

21 years ago * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
Bob Wilson [Thu, 24 Jul 2003 00:24:00 +0000 (00:24 +0000)]
    * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
        near the beginning of the file.  Swap order of arguments.  Call
        _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0.
        (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call.
        (elf_xtensa_relocate_section): Likewise.
        (shrink_dynamic_reloc_sections): Likewise.

21 years ago * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.
Bob Wilson [Thu, 24 Jul 2003 00:13:42 +0000 (00:13 +0000)]
    * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.
        (elf_xtensa_size_dynamic_sections): Use elf_discarded_section.
        (elf_xtensa_combine_prop_entries): Avoid returning non-zero without
        first printing an error message.
        (elf_xtensa_finish_dynamic_sections): Likewise.
        (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when
        discarding literal table entries.
        (elf_xtensa_merge_private_bfd_data): Remove newline from error message.
        (elf_xtensa_do_asm_simplify): Likewise.

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

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

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:47:28 +0000 (21:47 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (prnd): Clear LSW of result to zeros.