OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agoMove changelog entries to the right ChangeLog
Vladimir Prus [Thu, 15 Nov 2007 07:11:52 +0000 (07:11 +0000)]
Move changelog entries to the right ChangeLog

16 years ago Apply const qualifier to some users of bp_location.
Vladimir Prus [Thu, 15 Nov 2007 06:52:53 +0000 (06:52 +0000)]
Apply const qualifier to some users of bp_location.
* breakpoint.h (struct bpstats): Make
the breakpoint_at field point at const bp_location.
* breakpoint.c (bpstat_alloc): Accept const
bp_location.
(breakpoint_here_p, breakpoint_inserted_here_p)
(software_breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status)
(read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use
const bp_location for iteration.
(print_it_typical, print_bp_stop_message): Use
const bp_location variable.

16 years ago Make mark_breakpoints_out static.
Vladimir Prus [Thu, 15 Nov 2007 06:46:21 +0000 (06:46 +0000)]
Make mark_breakpoints_out static.
* breakpoint.h (mark_breakpoints_out): Remove
declaration.
* breakpoint.c (mark_breakpoints_out): Make static.

16 years ago Prevent clear_command from directly modifying breakpoint list.
Vladimir Prus [Thu, 15 Nov 2007 06:28:19 +0000 (06:28 +0000)]
Prevent clear_command from directly modifying breakpoint list.
* Makefile.in (breakpoint_h): Update dependency.
* breakpoint.c (clear_command): Do not remove
breakpoints from breakpoint_chain.  Collect breakpoints
to delete in a vector.
* breakpoint.h (breakpoint_p): New typedef for pointer to
breakpoint.  Register vector of breakpoint_p.

16 years ago Remove 'run_cleanup'.
Vladimir Prus [Thu, 15 Nov 2007 06:24:17 +0000 (06:24 +0000)]
Remove 'run_cleanup'.
* defs.h (do_run_cleanups, make_run_cleanup): Remove
declarations.
* infcmd.c (run_command_1): Call clear_solib instead
of do_run_cleanups.
* jv-lang.c (java_rerun_cleanup): Remove, for lack of
any use.
* solib.c (solib_cleanup_queued, do_clear_solib): Remove.
(update_solib_lib): Don't setup run cleanup.
(no_shared_libraries): Call clear_solib, not do_clear_solib.
* utils.c (run_cleanup_chain, make_run_cleanup)
(do_run_cleanups): Remove.

16 years ago Remove CLEAR_SOLIB use.
Vladimir Prus [Thu, 15 Nov 2007 06:14:26 +0000 (06:14 +0000)]
Remove CLEAR_SOLIB use.
* corelow.c (core_close): Don't check for CLEAR_SOLIB.
* infcmd.c (attach_command): Likewise.

16 years ago PR 5328
Alan Modra [Thu, 15 Nov 2007 05:20:30 +0000 (05:20 +0000)]
PR 5328
* opncls.c (separate_debug_file_exists): Use fopen/fread
rather than open/read and open in binary mode.

16 years ago*** empty log message ***
gdbadmin [Thu, 15 Nov 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * buildsym.c (start_subfile,start_symtab): Doc fixes.
Doug Evans [Wed, 14 Nov 2007 23:14:40 +0000 (23:14 +0000)]
* buildsym.c (start_subfile,start_symtab): Doc fixes.

16 years agodaily update
Alan Modra [Wed, 14 Nov 2007 23:00:07 +0000 (23:00 +0000)]
daily update

16 years agogas/
H.J. Lu [Wed, 14 Nov 2007 22:31:53 +0000 (22:31 +0000)]
gas/

2007-11-14  Tristan Gingold  <gingold@adacore.com>

* config/tc-ia64.c (AR_RUC): Defined.
(ar): Add "ar.ruc".
(specify_resource): Handle AR_RUC like AR_ITC.

gas/testsuite/

2007-11-14  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-raw-err.s: Add tests for ar.ruc.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/invalid-ar.s: Likewise.

* gas/ia64/regs.s: Add tests for ar.ruc and ar44.

* gas/ia64/dv-raw-err.l: Updated.
* gas/ia64/dv-waw-err.l: Likewise.
* gas/ia64/invalid-ar.l: Likewise.
* gas/ia64/regs.d: Likewise.

opcodes/

2007-11-14  H.J. Lu  <hongjiu.lu@intel.com>

* ia64-ic.tbl: Updated for Itanium 9100 series.
* ia64-raw.tbl: Likewise.
* ia64-waw.tbl: Likewise.
* ia64-asmtab.c: Regenerated.

2007-11-14  Tristan Gingold  <gingold@adacore.com>

* ia64-dis.c (print_insn_ia64): Handle ar.ruc.
* ia64-gen.c (lookup_regindex): Likewise.

16 years agobfd/
Richard Sandiford [Wed, 14 Nov 2007 20:46:15 +0000 (20:46 +0000)]
bfd/
2007-09-18  Richard Sandiford  <richard@codesourcery.com>

* elfxx-mips.c (mips_got_page_range): New structure.
(mips_got_page_entry): Likewise.
(mips_got_info): Add page_gotno and got_page_entries fields.
(mips_elf_got_per_bfd_arg): Add max_pages field.  Delete
primary_count and current_count fields.
(mips_got_page_entry_hash, mips_got_page_entry_eq): New functions.
(mips_elf_pages_for_range, mips_elf_record_got_page_entry): Likewise.
(mips_elf_get_got_for_bfd): New function, split out from
mips_elf_make_got_per_bfd.  Initialize the page_gotno and
got_page_entries fields when creating a new GOT structure.
(mips_elf_make_got_pages_per_bfd): New function.
(mips_elf_merge_got_with): New function, split out from
mips_elf_make_got_per_bfd.  Merge page entries as well as
non-page entries.  Use the minimum of max_pages and the sum
of the page_gotnos to estimate the number of page entries.
(mips_elf_merge_gots): Use the minimum of max_pages and the
bfd's page_gotno to estimate the number of page entries.
Use the above functions.
(mips_elf_multi_got): Add page entries as well as non-page entries
to the individual per-bfd GOTs.  Initialize got_per_bfd_arg.max_pages.
Initialize the page_gotno and got_page_entries fields when creating
a new primary GOT.  Use the minimum of pages and page_gotno when
adding the number of pages entries to local_gotno.
(mips_elf_create_got_section): Initialize the page_gotno and
got_page_entries fields of the GOT structure.
(mips_elf_rel_relocation_p, mips_elf_read_rel_addend)
(mips_elf_add_lo16_rel_addend, mips_elf_get_section_contents): New
functions, split out from...
(_bfd_mips_elf_relocate_section): ...here.
(_bfd_mips_elf_check_relocs): Record GOT page entries too.
(_bfd_mips_relax_section): Use mips_elf_get_section_contents.
(_bfd_mips_elf_always_size_sections): Use the smaller of the
loadable_size- and page_gotno-derived estimates.

ld/testsuite/
2007-09-18  Richard Sandiford  <richard@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* ld-mips-elf/got-page-1.d, ld-mips-elf/got-page-1.s,
* ld-mips-elf/got-page-2.d, ld-mips-elf/got-page-2.s,
* ld-mips-elf/got-page-3.d, ld-mips-elf/got-page-3a.s,
* ld-mips-elf/got-page-3b.s, ld-mips-elf/got-page-3c.s,
* ld-mips-elf/got-page-1.ld: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
* ld-mips-elf/multi-got-1.d, ld-mips-elf/multi-got-no-shared.d,
* ld-mips-elf/tls-hidden2-got.d, ld-mips-elf/tls-hidden2.d,
* ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
* ld-mips-elf/tls-hidden3.r, ld-mips-elf/tls-hidden4.got,
* ld-mips-elf/tls-hidden4.r, ld-mips-elf/tls-multi-got-1.d,
* ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r,
* ld-mips-elf/tlsbin-o32.d, ld-mips-elf/tlsbin-o32.got,
* ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
* ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
* ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
* ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got,
* ld-mips-elf/tlslib-o32-hidden.got, ld-mips-elf/tlslib-o32-ver.got,
* ld-mips-elf/tlslib-o32.d, ld-mips-elf/tlslib-o32.got: Update for
GOT allocation changes.

16 years ago * elfxx-mips.c (mips_elf_merge_obj_attributes): Prevent
Thiemo Seufer [Wed, 14 Nov 2007 20:04:22 +0000 (20:04 +0000)]
* elfxx-mips.c (mips_elf_merge_obj_attributes): Prevent
unwanted fallthroughs in case statement.

16 years ago*** empty log message ***
gdbadmin [Wed, 14 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 13 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-11-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 13 Nov 2007 20:17:43 +0000 (20:17 +0000)]
2007-11-13  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5307
* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
copy input subsystem if output is different from input.

16 years ago * tui/tui-data.c (tui_prev_win): Guard against NULL.
Thiago Jung Bauermann [Tue, 13 Nov 2007 17:00:11 +0000 (17:00 +0000)]
* tui/tui-data.c (tui_prev_win): Guard against NULL.

16 years agomerge from gcc
DJ Delorie [Tue, 13 Nov 2007 15:12:42 +0000 (15:12 +0000)]
merge from gcc

16 years ago* config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for...
Nick Clifton [Tue, 13 Nov 2007 10:40:29 +0000 (10:40 +0000)]
* config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for alignment fixups.
* config/tc-mn10300.h (TC_FORCE_RELOCATION): Call mn10300_force_relocation.
* elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the accidental termination of DWARF location list entries.
  (mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc is encountered that is larger than or not a mutliple of the number of bytes being deleted.
  When adjusting symbols, any symbols inside the region being deleted must be moved to the end of the region.
  Move align relocs forward if there is room for them after the deletion of the region.

16 years ago PR 5233
Alan Modra [Tue, 13 Nov 2007 05:56:10 +0000 (05:56 +0000)]
PR 5233
* elf.c (rewrite_elf_program_header): Formatting.  Add
first_matching_lma and first_suggested_lma booleans and use
instead of testing matching_lma and suggested_lma for zero.

16 years agomerge from gcc
DJ Delorie [Tue, 13 Nov 2007 01:00:40 +0000 (01:00 +0000)]
merge from gcc

16 years ago * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
Joseph Myers [Tue, 13 Nov 2007 00:38:30 +0000 (00:38 +0000)]
* floatformat.c (floatformat_ibm_long_double_is_valid): Fix
compiler warnings.
(floatformat_ibm_long_double): Use
floatformat_ibm_long_double_is_valid.

16 years ago*** empty log message ***
gdbadmin [Tue, 13 Nov 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 12 Nov 2007 23:00:04 +0000 (23:00 +0000)]
daily update

16 years ago2007-11-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 12 Nov 2007 21:55:50 +0000 (21:55 +0000)]
2007-11-12  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5299
* peicode.h (pe_bfd_object_p): Save and restore previous bfd
state when calling coff_object_p.

16 years ago2007-11-12 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Mon, 12 Nov 2007 06:47:56 +0000 (06:47 +0000)]
2007-11-12  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove
obsolete comment.
(verify_gdbarch, gdbarch_dump): Likewise.
(do_read): Update comment.
(addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat)
(ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch.
* gdbarch.{c,h}: Regenerate.

16 years ago2007-11-12 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Mon, 12 Nov 2007 06:43:16 +0000 (06:43 +0000)]
2007-11-12  Markus Deuling  <deuling@de.ibm.com>

* xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression.
(ARGS_FIRST_REG): Remove.
(areg_numer): New function.
(xtensa_pseudo_register_read, xtensa_frame_prev_register)
(xtensa_extract_return_value, xtensa_store_return_value)
(xtensa_frame_cache): Replace AREG_NUMBER by areg_number.
(AREG_NUMBER): Remove.
(XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter.
(xtensa_frame_cache): Update use of XTENSA_IS_ENTRY.
(xtensa_push_dummy_call): Update use of ARG_NOF.
(extract_call_winsize): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch.
(xtensa_extract_return_value, xtensa_store_return_value): Update call
of extract_call_winsize.

16 years ago * NEWS: Add entry for new set/show print frame-args command.
Joel Brobecker [Mon, 12 Nov 2007 05:21:39 +0000 (05:21 +0000)]
    * NEWS: Add entry for new set/show print frame-args command.

16 years agoFix date in the last entry.
Joel Brobecker [Mon, 12 Nov 2007 05:20:36 +0000 (05:20 +0000)]
Fix date in the last entry.

16 years ago * gdb.texinfo (Print Settings): Add documentation for "set/show
Joel Brobecker [Mon, 12 Nov 2007 05:19:17 +0000 (05:19 +0000)]
    * gdb.texinfo (Print Settings): Add documentation for "set/show
        print frame-arguments".

16 years ago * elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbol
Alan Modra [Mon, 12 Nov 2007 03:28:52 +0000 (03:28 +0000)]
* elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbol
        pointer when we have a valid symbol.  Init udata.p to NULL.

16 years ago*** empty log message ***
gdbadmin [Mon, 12 Nov 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 11 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 11 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 10 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 10 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing
Kevin Buettner [Fri, 9 Nov 2007 23:38:51 +0000 (23:38 +0000)]
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing
register number to map.  Adjust warning check and error/warning
return value code to match expectations of this function's callers.

16 years agodaily update
Alan Modra [Fri, 9 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * stack.c (print_this_frame_argument_p): Handle arguments passed
Joel Brobecker [Fri, 9 Nov 2007 20:38:58 +0000 (20:38 +0000)]
    * stack.c (print_this_frame_argument_p): Handle arguments passed
        by reference properly.

16 years agoFix the date of my last changelog entry.
Joel Brobecker [Fri, 9 Nov 2007 19:08:43 +0000 (19:08 +0000)]
Fix the date of my last changelog entry.

16 years ago * stack.c (print_frame_arguments_choices): New static global.
Joel Brobecker [Fri, 9 Nov 2007 19:04:35 +0000 (19:04 +0000)]
    * stack.c (print_frame_arguments_choices): New static global.
        (print_frame_arguments): Likewise.
        (print_this_frame_argument_p): New function.
        (print_frame_args): Print the argument value only when appropriate.
        (_initialize_task): Add new "set/show print frame-arguments" command.

16 years ago * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
Luis Machado [Fri, 9 Nov 2007 17:15:17 +0000 (17:15 +0000)]
    * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
        saved_dabr_value assignment to the correct position.

16 years ago2007-11-09 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Fri, 9 Nov 2007 13:11:17 +0000 (13:11 +0000)]
2007-11-09  Markus Deuling  <deuling@de.ibm.com>

* arch-utils.c (generic_convert_register_p): Add gdbarch as parameter.
* arch-utils.h (generic_convert_register_p): Likewise.

16 years ago * elf-vxworks.c (elf_vxworks_emit_relocs): Don't clobber
Nathan Sidwell [Fri, 9 Nov 2007 10:20:17 +0000 (10:20 +0000)]
* elf-vxworks.c (elf_vxworks_emit_relocs): Don't clobber
rel_hash.  Move loop inside if test.

16 years ago Apply delta accidentally omitted from 2007-11-05 commit.
Danny Smith [Fri, 9 Nov 2007 08:35:29 +0000 (08:35 +0000)]
Apply delta accidentally omitted from 2007-11-05 commit.
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text
 and .bss section use the default.

16 years ago * gdbarch.sh (convert_register_p): Add gdbarch as parameter.
Markus Deuling [Fri, 9 Nov 2007 05:32:19 +0000 (05:32 +0000)]
* gdbarch.sh (convert_register_p): Add gdbarch as parameter.
* ia64-tdep.c (ia64_convert_register_p): Likewise.
* i387-tdep.c (i387_convert_register_p): Likewise.
* i387-tdep.h (i387_convert_register_p): Likewise.
* alpha-tdep.c (alpha_convert_register_p): Likewise.
* gdbarch.{c,h}: Regenerate.

* rs6000-tdep.c (rs6000_convert_register_p): Add gdbarch as parameter.
Replace current_gdbarch by gdbarch.
* mips-tdep.c (mips_convert_register_p): Likewise.
* m68k-tdep.c (m68k_convert_register_p): Likewise.
* i386-tdep.c (i386_convert_register_p): Likewise.

16 years ago*** empty log message ***
gdbadmin [Fri, 9 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 8 Nov 2007 23:00:49 +0000 (23:00 +0000)]
daily update

16 years ago * sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Tweak
Hans-Peter Nilsson [Thu, 8 Nov 2007 22:12:27 +0000 (22:12 +0000)]
* sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Tweak
stack-pointer match pattern for 4K host environment.

16 years ago2007-11-08 Aleksandar Ristovski <aristovski@qnx.com>
Ulrich Weigand [Thu, 8 Nov 2007 21:04:47 +0000 (21:04 +0000)]
2007-11-08  Aleksandar Ristovski  <aristovski@qnx.com>

* gdb_string.h: Include <strings.h>.

16 years ago * breakpoint.c (break_command_1): Remove
Vladimir Prus [Thu, 8 Nov 2007 16:43:39 +0000 (16:43 +0000)]
* breakpoint.c (break_command_1): Remove
pending_bp parameter.
(create_breakpoint): Likewise.
(create_breakpoints): Likewise. Adjust call to
create_breakpoint.
(break_command_1): Likewise. Adjust call to
create_breakpoints.
(do_captured_breakpoint): Adjust call to
create_breakpoints.
(break_command, tbreak_command, hbreak_command)
(stopin_command, stopat_command): Adjust call
to break_command_1.

16 years ago * elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare.
Nathan Sidwell [Thu, 8 Nov 2007 13:57:44 +0000 (13:57 +0000)]
* elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare.
(elf_vxworks_finish_dynamic_entry): Declare.
* elf-vxworks.c: Include elf/vxworks.h.
(elf_vxworks_add_dynamic_entries): New.
(elf_vxworks_finish_dynamic_entry): New.
* Makefile.am (elf-vxworks.lo): Add dependency.
* Makefile.in (elf-vxworks.lo): Add dependency.
* elf32-i386.c (elf_i386_size_dynamic_sections,
elf_i386_finish_dynamic_sections): Call
elf_vxworks_add_dynamic_entries and
elf_vxworks_finish_dynamic_entry.
* elf32-ppc.c (ppc_elf_size_dynamic_sections,
ppc_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections,
sparc_finish_dyn): Likewise.
* elf32-sh.c (sh_elf_size_dynamic_sections,
sh_elf_finish_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections,
_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elf32-arm.c (elf32_arm_size_dynamic_sections,
elf32_arm_finish_dynamic_sections): Likewise.

16 years ago include/elf/
Nathan Sidwell [Thu, 8 Nov 2007 13:51:07 +0000 (13:51 +0000)]
include/elf/
* vxworks.h: New.

bfd/
* elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare.
(elf_vxworks_finish_dynamic_entry): Declare.
* elf-vxworks.c: Include elf/vxworks.h.
(elf_vxworks_add_dynamic_entries): New.
(elf_vxworks_finish_dynamic_entry): New.
* Makefile.am (elf-vxworks.lo): Add dependency.
* Makefile.in (elf-vxworks.lo): Add dependency.
* elf32-i386.c (elf_i386_size_dynamic_sections,
elf_i386_finish_dynamic_sections): Call
elf_vxworks_add_dynamic_entries and
elf_vxworks_finish_dynamic_entry.
* elf32-ppc.c (ppc_elf_size_dynamic_sections,
ppc_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections,
sparc_finish_dyn): Likewise.
* elf32-sh.c (sh_elf_size_dynamic_sections,
sh_elf_finish_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections,
_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elf32-arm.c (elf32_arm_size_dynamic_sections,
elf32_arm_finish_dynamic_sections): Likewise.

ld/
* ld-vxworks/tls-2.d: New.
* ld-vxworks/tls-2.s: New.

16 years ago2007-11-07 Joseph Myers <joseph@codesourcery.com>
Joseph Myers [Thu, 8 Nov 2007 00:10:06 +0000 (00:10 +0000)]
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Right-align
struct values smaller than one doubleword; left-align those
larger.  Pass structs containing a single floating-point value in
registers.

16 years agoinclude:
Joseph Myers [Thu, 8 Nov 2007 00:08:48 +0000 (00:08 +0000)]
include:
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* floatformat.h (struct floatformat): Add split_half field.
(floatformat_ibm_long_double): New.

libiberty:
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* floatformat.c (mant_bits_set): New.
(floatformat_to_double): Use it.  Note no special handling of
split formats.
(floatformat_from_double): Note no special handing of split
formats.
(floatformat_ibm_long_double_is_valid,
floatformat_ibm_long_double): New.
(floatformat_ieee_single_big, floatformat_ieee_single_little,
floatformat_ieee_double_big, floatformat_ieee_double_little,
floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
floatformat_m68881_ext, floatformat_i960_ext,
floatformat_m88110_ext, floatformat_m88110_harris_ext,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
floatformat_ia64_spill_big, floatformat_ia64_spill_little,
floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
for addition of split_half field.

gdb:
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* gdbtypes.c (floatformats_ibm_long_double): New.
* gdbtypes.h (floatformats_ibm_long_double): Declare.
* ia64-tdep.c (floatformat_ia64_ext): Update for addition of
split_half field.
* mips-tdep.c (n32n64_floatformat_always_valid,
floatformat_n32n64_long_double_big, floatformats_n32n64_long):
Remove.
(mips_gdbarch_init): Use floatformats_ibm_long_double instead of
floatformats_n32n64_long.
* ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long
double.
* doublest.c (convert_floatformat_to_doublest,
convert_doublest_to_floatformat): Handle split floating-point
formats.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long
double arguments.
(ppc64_sysv_abi_push_dummy_call): Likewise.
(do_ppc_sysv_return_value): Handle IBM long double return.

16 years ago*** empty log message ***
gdbadmin [Thu, 8 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 7 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago Fix crash when a variable object being deleted
Vladimir Prus [Wed, 7 Nov 2007 20:06:29 +0000 (20:06 +0000)]
Fix crash when a variable object being deleted
has any of its children deleted previously.

* varobj.c (delete_variable_1): Don't recurse
into deleted children.

16 years agoPR gas/5228
Nick Clifton [Wed, 7 Nov 2007 16:37:44 +0000 (16:37 +0000)]
PR gas/5228
* m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with parallel loads.

16 years ago* ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
Tristan Gingold [Wed, 7 Nov 2007 15:57:14 +0000 (15:57 +0000)]
* ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
 registers instead of register number.

* gas/ia64/regs.d: Expect symbolic names for cr registers due to
 improved disassembler.

16 years ago* bfd/elfxx-mips.c (_bfd_mips_elf_fake_sections): Force SHF_MIPS_NOSTRIP on
Nick Clifton [Wed, 7 Nov 2007 14:52:44 +0000 (14:52 +0000)]
* bfd/elfxx-mips.c (_bfd_mips_elf_fake_sections): Force SHF_MIPS_NOSTRIP on
   .debug_frame for Irix.

16 years ago* arm-dis.c (arm_opcodes): Remove superflous escapes of percent operators.
Nick Clifton [Wed, 7 Nov 2007 14:40:40 +0000 (14:40 +0000)]
* arm-dis.c (arm_opcodes): Remove superflous escapes of percent operators.

16 years ago2007-11-07 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Wed, 7 Nov 2007 06:58:31 +0000 (06:58 +0000)]
2007-11-07  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (legacy_virtual_frame_pointer): Add gdbarch parameter.
* gdbarch.{c,h}: Regenerate.
* arch-utils.c (legacy_virtual_frame_pointer): Add gdbarch parameter.
Replace current_gdbarch by gdbarch.
* m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
* mips-tdep.c (mips_virtual_frame_pointer): Likewise.
* spu-tdep.c (spu_virtual_frame_pointer): Likewise.

16 years ago2007-11-07 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Wed, 7 Nov 2007 06:53:41 +0000 (06:53 +0000)]
2007-11-07  Markus Deuling  <deuling@de.ibm.com>

* shnbsd-tdep.c (shnbsd_supply_gregset, shnbsd_collect_gregset): Use
get_regcache_arch to get at the current architecture by regcache.
* xstormy16-tdep.c (xstormy16_frame_prev_register): Use get_frame_arch
to get at the current architecture by frame_info.
* fbsd-nat.c (fbsd_make_corefile_notes): Use get_regcache_arch to get
at the current architecture by regcache.
* gnu-v3-abi.c (gnuv3_skip_trampoline): Use get_frame_arch to get at
the current architecture by frame_info.
(build_gdb_vtable_type): Replace current_gdbarch by gdbarch.
* aix-thread.c (special_register_p): Add gdbarch as parameter.
(fetch_regs_kernel_thread, store_regs_kernel_thread): Add gdbarch to
caller of special_register_p.

16 years ago2007-11-07 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Wed, 7 Nov 2007 06:49:39 +0000 (06:49 +0000)]
2007-11-07  Markus Deuling  <deuling@de.ibm.com>

* infcall.c (call_function_by_hand): Use get_frame_arch to get at the
current architecture by frame_info.

16 years ago2007-11-07 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Wed, 7 Nov 2007 06:44:50 +0000 (06:44 +0000)]
2007-11-07  Markus Deuling  <deuling@de.ibm.com>

* xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove.

16 years ago2007-11-07 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Wed, 7 Nov 2007 06:36:57 +0000 (06:36 +0000)]
2007-11-07  Markus Deuling  <deuling@de.ibm.com>

* s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to
get at the current architecture by regcache.
(SUBOFF): Add gdbarch to macro definition.

16 years ago*** empty log message ***
Markus Deuling [Wed, 7 Nov 2007 06:33:01 +0000 (06:33 +0000)]
*** empty log message ***

16 years ago2007-11-07 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Wed, 7 Nov 2007 06:10:23 +0000 (06:10 +0000)]
2007-11-07  Markus Deuling  <deuling@de.ibm.com>

* frv-tdep.c (frv_register_name, frv_check_watch_resources): Replace
macro CURRENT_VARIANT by its expression.
(CURRENT_VARIANT): Remove.
(frv_check_watch_resources): Add gdbarch parameter.

16 years ago2007-11-07 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Wed, 7 Nov 2007 05:45:08 +0000 (05:45 +0000)]
2007-11-07  Markus Deuling  <deuling@de.ibm.com>

* MAINTAINERS (Write After Approval): Add self.

16 years ago*** empty log message ***
gdbadmin [Wed, 7 Nov 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
Peter Bergner [Tue, 6 Nov 2007 23:14:07 +0000 (23:14 +0000)]
* ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
which are not included in the "Preliminary Decimal Floating-Point
Architecture" document.

16 years agodaily update
Alan Modra [Tue, 6 Nov 2007 23:00:15 +0000 (23:00 +0000)]
daily update

16 years agobfd/
Alan Modra [Tue, 6 Nov 2007 13:49:18 +0000 (13:49 +0000)]
bfd/
* elf64-ppc.c (ppc64_elf_check_relocs): Don't refcount tlsld_got here..
(ppc64_elf_gc_sweep_hook): ..or here..
(ppc64_elf_tls_optimize): ..or here.  Make two passes through the
relocs, ensuring that tls_get_addr calls follow gd and ld relocs.
(allocate_dynrelocs): Refcount tlsld_got here.
(ppc64_elf_size_dynamic_sections): Allocate local got and call
allocate_dynrelocs before allocating tlsld_got.
(ppc64_elf_relocate_section): Remove check that a tls_get_addr
call follows gd and ld relocs.
ld/testsuite/
* ld-powerpc/tlsso.d: Update for changed got alloc order.
* ld-powerpc/tlsso.r: Likewise.

16 years agobfd/
Alan Modra [Tue, 6 Nov 2007 03:59:14 +0000 (03:59 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_check_relocs): Don't refcount tlsld_got here..
(ppc_elf_gc_sweep_hook): ..or here..
(ppc_elf_tls_optimize): ..or here.  Make two passes through the
relocs, ensuring that tls_get_addr calls follow gd and ld relocs.
(allocate_dynrelocs): Refcount tlsld_got here.
(ppc_elf_size_dynamic_sections): Call allocate_dynrelocs before
allocating tlsld_got.
(ppc_elf_relocate_section): Remove check that a tls_get_addr
call follows gd and ld relocs.
ld/testsuite/
* ld-powerpc/tlsso32.d: Update for changed got alloc order.

16 years ago*** empty log message ***
gdbadmin [Tue, 6 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 5 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * features/rs6000/power-core.xml: Use uint32 as register type.
Ulrich Weigand [Mon, 5 Nov 2007 21:55:39 +0000 (21:55 +0000)]
* features/rs6000/power-core.xml: Use uint32 as register type.
* features/rs6000/power64-core.xml: Use uint64/uint32 as register type.
* features/rs6000/powerpc-32.c: Regenerate.
* features/rs6000/powerpc-403.c: Regenerate.
* features/rs6000/powerpc-403gc.c: Regenerate.
* features/rs6000/powerpc-505.c: Regenerate.
* features/rs6000/powerpc-602.c: Regenerate.
* features/rs6000/powerpc-603.c: Regenerate.
* features/rs6000/powerpc-604.c: Regenerate.
* features/rs6000/powerpc-64.c: Regenerate.
* features/rs6000/powerpc-7400.c: Regenerate.
* features/rs6000/powerpc-750.c: Regenerate.
* features/rs6000/powerpc-860.c: Regenerate.
* features/rs6000/powerpc-e500.c: Regenerate.

16 years ago * linux-low.c: Include <sched.h>.
Daniel Jacobowitz [Mon, 5 Nov 2007 19:22:08 +0000 (19:22 +0000)]
* linux-low.c: Include <sched.h>.

16 years ago * breakpoint.c (set_raw_breakpoint_without_location): Make static.
Joel Brobecker [Mon, 5 Nov 2007 18:24:29 +0000 (18:24 +0000)]
    * breakpoint.c (set_raw_breakpoint_without_location): Make static.

16 years ago * breakpoint.h (create_solib_load_event_breakpoint)
Joel Brobecker [Mon, 5 Nov 2007 18:18:47 +0000 (18:18 +0000)]
    * breakpoint.h (create_solib_load_event_breakpoint)
        (create_solib_unload_event_breakpoint)
        (create_fork_event_catchpoint, create_vfork_event_catchpoint)
        (create_exec_event_catchpoint): Delete declaration.
        * breakpoint.c (create_solib_load_event_breakpoint)
        (solib_load_unload_1, create_solib_unload_event_breakpoint): Delete.
        (create_fork_event_catchpoint, create_vfork_event_catchpoint)
        (create_exec_event_catchpoint): Make static.

16 years ago * breakpoint.h (set_breakpoint_sal): Remove declaration.
Joel Brobecker [Mon, 5 Nov 2007 18:09:18 +0000 (18:09 +0000)]
    * breakpoint.h (set_breakpoint_sal): Remove declaration.
        * breakpoint.c (set_breakpoint_sal): Delete.

16 years ago * buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets.
Joel Brobecker [Mon, 5 Nov 2007 18:06:10 +0000 (18:06 +0000)]
    * buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets.
        (make_blockvector): Likewise. Remove FIXME comment.

16 years ago * printcmd.c: (printf_command): Add support for new DFP
Luis Machado [Mon, 5 Nov 2007 11:32:31 +0000 (11:32 +0000)]
* printcmd.c: (printf_command): Add support for new DFP
    modifiers %H, %D and %DD.
    * configure.ac: Add check for DECFLOAT printf support.
    * configure: Regenerated.
    * doc/gdb.texinfo: Update printf command's description.
    * testsuite/gdb.base/printcmds.exp: New function
    test_printf_with_dfp.

16 years ago * merge.c (sec_merge_hash_lookup): Revert last change.
Alan Modra [Mon, 5 Nov 2007 02:13:46 +0000 (02:13 +0000)]
* merge.c (sec_merge_hash_lookup): Revert last change.
(record_section): Likewise.
(_bfd_merge_sections): Likewise.
(_bfd_merged_section_offset): Properly handle NULL secinfo.
(_bfd_add_merge_section): Allocate extra space for a zero
terminator on SEC_STRINGS sections.

16 years ago*** empty log message ***
gdbadmin [Mon, 5 Nov 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoinclude
Danny Smith [Sun, 4 Nov 2007 23:49:09 +0000 (23:49 +0000)]
include
* coff/pe.h (COFF_ENCODE_ALIGNMENT) Define.

gas
* read.c (ALIGN_LIMIT): Rename to ...
(TC_ALIGN_LIMIT): Guard against prior definition.
* config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define.

bfd
* pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text
 and .bss section use the default.
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.

ld/testsuite
* ld-scripts/align.exp: Enable for PECOFF.
* ld-scripts/alignof.exp: Likewise.

16 years agodaily update
Alan Modra [Sun, 4 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 4 Nov 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 3 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 3 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 2 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.disasm/t01_mov.s: Remove carriage returns.
Doug Evans [Fri, 2 Nov 2007 20:33:12 +0000 (20:33 +0000)]
* gdb.disasm/t01_mov.s: Remove carriage returns.
* gdb.disasm/t02_mova.s: Ditto.
* gdb.disasm/t03_add.s: Ditto.
* gdb.disasm/t04_sub.s: Ditto.
* gdb.disasm/t05_cmp.s: Ditto.
* gdb.disasm/t06_ari2.s: Ditto.
* gdb.disasm/t07_ari3.s: Ditto.
* gdb.disasm/t08_or.s: Ditto.
* gdb.disasm/t09_xor.s: Ditto.
* gdb.disasm/t10_and.s: Ditto.
* gdb.disasm/t11_logs.s: Ditto.
* gdb.disasm/t12_bit.s: Ditto.
* gdb.disasm/t13_otr.s: Ditto.

16 years ago * gdbtypes.h (struct cplus_struct_type): Remove runtime_ptr member.
Ulrich Weigand [Fri, 2 Nov 2007 19:35:19 +0000 (19:35 +0000)]
* gdbtypes.h (struct cplus_struct_type): Remove runtime_ptr member.
(TYPE_RUNTIME_PTR, TYPE_VTABLE, TYPE_HAS_VTABLE,
TYPE_PRIMARY_BASE, TYPE_VIRTUAL_BASE_LIST): Remove macros.
(HP_ACC_VFUNC_START, HP_ACC_VBASE_START, HP_ACC_TYPEINFO_OFFSET,
HP_ACC_TOP_OFFSET_OFFSET): Likewise.
(has_vtable, primary_base_class, virtual_base_list_length,
virtual_base_list_length_skip_primaries, virtual_base_index,
virtual_base_index_skip_primaries, class_index_in_primary_list,
count_virtual_fns): Remove prototypes.
* gdbtypes.c (has_vtable, primary_base_class, current_vbase_list,
virtual_base_list_aux, virtual_base_list, virtual_base_list_length,
virtual_base_list_length_skip_primaries, virtual_base_index,
virtual_base_index_skip_primaries, class_index_in_primary_list,
count_virtual_fns): Remove.

* cp-valprint.c (cp_print_hpacc_virtual_table_entries): Remove.
(hpacc_vtbl_ptr_name, hpacc_vtbl_ptr_type_name): Remove.
(cp_print_value_fields): Remove support for HP aCC vtables.
(cp_print_value): Likewise.
* c-typeprint.c (c_type_print_base): Likewise.

* value.h (find_rt_vbase_offset): Remove prototype.
* valops.c (find_rt_vbase_offset): Remove.
(search_struct_method): Remove support for HP aCC vtables.
(find_method_list): Likewise.

16 years ago * language.h (struct language_defn): Remove la_builtin_type_vector
Ulrich Weigand [Fri, 2 Nov 2007 19:34:11 +0000 (19:34 +0000)]
* language.h (struct language_defn): Remove la_builtin_type_vector
and string_char_type members.
* language.c (language_string_char_type): No longer consult
la->string_char_type.
(language_lookup_primitive_type_by_name): No longer consult
current_language->la_builtin_type_vector.

* language.c (unknown_language_defn, auto_language_defn,
local_language_defn): Adapt initializer.
* ada-lang.c (ada_language_defn): Likewise.
* c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn,
minimal_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.

16 years ago2007-11-02 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Fri, 2 Nov 2007 14:47:28 +0000 (14:47 +0000)]
2007-11-02  Markus Deuling  <deuling@de.ibm.com>

* frame.c (frame_id_inner): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(frame_find_by_id, get_prev_frame_1): Use get_frame_arch to get at the
current architecture by frame_info.
* frame.h (frame_id_inner): Add gdbarch parameter.
* stack.c (return_command): Use get_frame_arch to get at the current
architecture by frame_info. Update call of frame_id_inner.
* infrun.c (handle_inferior_event): Likewise.
* dummy-frame.c (dummy_frame_push):  Use get_regcache_arch to get at the
current architecture by regcache. Update call of frame_id_inner.

16 years ago2007-11-02 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Fri, 2 Nov 2007 14:27:15 +0000 (14:27 +0000)]
2007-11-02  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (register_name): Add gdbarch parameter.
* gdbarch.{c,h}: Regenerate.

* target-descriptions.c (tdesc_register_name): Add gdbarch parameter.
(tdesc_register_name): Replace current_gdbarch by gdbarch.
* target-descriptions.h (tdesc_register_name): Add gdbarch parameter.

* xstormy16-tdep.c (xstormy16_register_name): Add gdbarch parameter.
* vax-tdep.c (vax_register_name): Add gdbarch parameter.
* spu-tdep.c (spu_register_name): Add gdbarch parameter.
* s390-tdep.c (s390_register_name): Add gdbarch parameter.
* mt-tdep.c (mt_register_name): Add gdbarch parameter.
(mt_registers_info): Replace current_gdbarch by gdbarch.
(mt_register_reggroup_p): Add gdbarch to mt_register_name call.
* mips-tdep.c (mips_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(mips_register_name): Add gdbarch to tdesc_register_name call.
* mep-tdep.c (mep_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(mep_register_reggroup_p): Add gdbarch to mep_register_name call.
* m32c-tdep.c (m32c_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
* m88k-tdep.c (m88k_register_name): Add gdbarch parameter.
* m68k-tdep.c (m68k_register_name): Add gdbarch parameter.
* m32r-tdep.c (m32r_register_name): Add gdbarch parameter.
(m32r_frame_unwind_cache): Use get_frame_arch to get at the current
architecture by frame_info.
* iq2000-tdep.c (iq2000_register_name): Add gdbarch parameter.
* ia64-tdep.c (ia64_register_name): Add gdbarch parameter.
* hppa-tdep.c (hppa32_register_name, hppa64_register_name): Add gdbarch
parameter.
* h8300-tdep.c (h8300_register_name, h8300s_register_name)
(h8300sx_register_name): Add gdbarch parameter.
* cris-tdep.c (cris_register_name, crisv32_register_name): Add
gdbarch parameter. Replace current_gdbarch by gdbarch.
(cris_gdbarch_init): Replace current_gdbarch by gdbarch (comment).
* avr-tdep.c (avr_register_name): Add gdbarch parameter.
* arm-tdep.c (arm_register_name): Add gdbarch paramete
* amd64-tdep.c (amd64_register_name): Add gdbarch parameter. Update
caller.
* amd64-tdep.h (amd64_register_name): Add gdbarch parameter.
* amd64-linux-tdep.c (amd64_linux_register_name): Add gdbarch parameter.
* alpha-tdep.c (alpha_register_name): Add gdbarch parameter.
(alpha_cannot_fetch_register, alpha_cannot_store_register): Update call
of alpha_register_name.
* frv-tdep.c (frv_register_name): Add gdbarch parameter.
* i386-tdep.c (i386_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(i386_register_type): Replace ?current_gdbarch by gdbarch.
* i386-tdep.h (i386_register_name): Add gdbarch parameter.
* i386-linux-tdep.c (i386_linux_register_name): Add gdbarch parameter.

* m68hc11-tdep.c (m68hc11_register_name): Add gdbarch parameter.
(m68hc11_register_reggroup_p): Add gdbarch to call of
m68hc11_register_name.
* mn10300-tdep.c (mn10300_generic_register_name, am33_register_name)
(am33_2_register_name): Add gdbarch parameter.
(mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
architecture by frame_info.
(mn10300_dump_tdep): Replace current_gdbarch by gdbarch.
* rs6000-tdep.c (rs6000_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
* score-tdep.c (score_register_name): Add gdbarch parameter.
(score_return_value, score_push_dummy_call): Replace current_gdbarch
by gdbarch.
* sh64-tdep.c (sh64_register_name): Add gdbarch parameter.
(sh64_compact_reg_base_num, sh64_register_convert_to_virtual)
(sh64_register_convert_to_raw, sh64_fv_reg_base_num)
(sh64_dr_reg_base_num, sh64_fpp_reg_base_num): Add gdbarch parameter
and update caller. Replace current_gdbarch by gdbarch.
(sh64_extract_return_value, sh64_store_return_value): Use
get_regcache_arch to get at the current architecture by regcache.
* sh-tdep.c (sh_sh_register_name, sh_sh3_register_name)
(sh_sh3e_register_name, sh_sh2e_register_name, sh_sh2a_register_name)
(sh_sh2a_nofpu_register_name, sh_sh_dsp_register_name)
(sh_sh3_dsp_register_name, sh_sh4_register_name)
(sh_sh4_nofpu_register_name, sh_sh4al_dsp_register_name): Add gdbarch
parameter.
(fv_reg_base_num, dr_reg_base_num, sh_justify_value_in_reg)
(sh_next_flt_argreg): Add gdbarch parameter and update caller. Replace
current_gdbarch by gdbarch.
(sh_extract_return_value_fpu, sh_store_return_value_fpu): Use
get_regcache_arch to get at the current architecture by regcache.
* sparc-tdep.c (sparc32_register_name): Add gdbarch parameter.
* sparc64-tdep.c (sparc64_register_name): Add gdbarch parameter.
* v850-tdep.c (v850_register_name, v850e_register_name): Add gdbarch
parameter.
(v850_unwind_sp, v850_unwind_pc): Replace current_gdbarch by gdbarch.
* xtensa-tdep.c (xtensa_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(xtensa_pseudo_register_read, xtensa_pseudo_register_write)
(xtensa_frame_prev_register): Add gdbarch parameter to
xtensa_register_name call.

16 years ago*** empty log message ***
gdbadmin [Fri, 2 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 1 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * linux-low.c (linux_tracefork_grandchild): New.
Daniel Jacobowitz [Thu, 1 Nov 2007 19:19:39 +0000 (19:19 +0000)]
* linux-low.c (linux_tracefork_grandchild): New.
(linux_tracefork_child): Use clone.
(linux_test_for_tracefork): Use clone; allocate and free a stack.