platform/upstream/binutils.git
15 years ago * symtab.c: Remove trailing whitespace throughout the file.
Doug Evans [Mon, 2 Mar 2009 06:33:24 +0000 (06:33 +0000)]
* symtab.c: Remove trailing whitespace throughout the file.
(expand_line_sal): Fix some typos and whitespace.

15 years agoelfcpp:/
Ian Lance Taylor [Mon, 2 Mar 2009 02:45:29 +0000 (02:45 +0000)]
elfcpp:/
* elfcpp_swap.h: #include "config.h".  Only #include <byteswap.h>
if HAVE_BYTESWAP_H is defined; if not, provide definitions for
bswap_{16,32,64}.  For gcc 4.3 and later, use the builtin bswap
functions.  Check WORDS_BIGENDIAN rather than __BYTE_ORDER.
gold:/
* configure.ac: Check for byteswap.h.
* configure: Rebuild.
* config.in: Rebuild.

15 years ago * Makefile.in (clean): rm -f $(DEPDIR)/*.
Doug Evans [Mon, 2 Mar 2009 01:27:35 +0000 (01:27 +0000)]
* Makefile.in (clean): rm -f $(DEPDIR)/*.

15 years ago * Makefile.in (GDB_CFLAGS): Add -I$(srcdir)/common.
Doug Evans [Mon, 2 Mar 2009 00:45:13 +0000 (00:45 +0000)]
* Makefile.in (GDB_CFLAGS): Add -I$(srcdir)/common.
(init.c): signals/ -> common/.
(signals.o): Update.
* target.h (target_signal_to_string,target_signal_to_string)
(target_signal_from_name,target_signal_to_host_p)
(target_signal_from_host,target_signal_to_host): Move to ...
* common/gdb_signals.h: ... here.  New file.
* common/signals.c: Moved here from signals/signals.c.
#include gdb_signals.h, remove #include of target.h in gdb case.
(target_signal_from_command,default_target_signal_to_host)
(default_target_signal_from_host): Move inside #ifndef GDBSERVER.

* gdbserver/Makefile.in (INCLUDE_CFLAGS): Add -I$(srcdir)/../common.
(server_h): Add gdb_signals.h.
(signals.o): Update.
* server.h (target_signal_from_host,target_signal_to_host_p)
(target_signal_to_host,target_signal_to_name): Moved to gdb_signals.h.

15 years ago * config/tc-arm.c (md_assemble): Allow barrier instructions on
Mark Mitchell [Mon, 2 Mar 2009 00:29:23 +0000 (00:29 +0000)]
* config/tc-arm.c (md_assemble): Allow barrier instructions on
ARMv6-M cores.

* gas/arm/archv6m.s: Add dmb, dsb, and isb.
* gas/arm/archv6m.d: Likewise.

15 years agodaily update
Alan Modra [Mon, 2 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 2 Mar 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago Include thread ID in target_wait debugging output.
Doug Evans [Sun, 1 Mar 2009 23:18:36 +0000 (23:18 +0000)]
Include thread ID in target_wait debugging output.
* infrun.c (print_target_wait_results): New function.
(wait_for_inferior,fetch_inferior_event): Call it.

15 years ago * layout.cc (Layout::find_or_add_kept_section): New function.
Ian Lance Taylor [Sun, 1 Mar 2009 22:22:02 +0000 (22:22 +0000)]
* layout.cc (Layout::find_or_add_kept_section): New function.
(Layout::add_comdat): Removed.
* layout.h (struct Kept_section): Move out of class Layout.
Remove trailing underscores from field names.  Add group_sections
field.  Rename group_ field to is_group.  Change all uses.
(class Layout): Declare find_or_add_kept_section, not add_comdat.
* object.cc (Sized_relobj::Sized_relobj): Don't initialize
comdat_groups_ field.
(Sized_relobj::include_section_group): Use
find_or_add_kept_section and Kept_section::group_sections.
(Sized_relobj::include_linkonce_section): Likewise.
* object.cc (class Sized_relobj): Don't define Comdat_group or
Comdat_group_table.  Remove find_comdat_group and
add_comdat_group.  Remove comdat_groups_ field.
* plugin.cc (include_comdat_group): Use
Layout::find_or_add_kept_section.

15 years ago * configure.tgt: Only use elf64hppa target emulation for hpux.
Dave Anglin [Sun, 1 Mar 2009 22:10:36 +0000 (22:10 +0000)]
* configure.tgt: Only use elf64hppa target emulation for hpux.
* emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
(SCRIPT_NAME): Use new script elf64hppa.
(SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
TEXT_DYNAMIC): Define.
* emulparams/hppa64linux.sh: Adjust comments.
* scripttempl/elf64hppa.sc: New file.

15 years ago Backport from git Libtool:
Ralf Wildenhues [Sun, 1 Mar 2009 18:57:19 +0000 (18:57 +0000)]
Backport from git Libtool:

2009-01-19  Robert Millan  <rmh@aybabtu.com>
Support GNU/kOpenSolaris.
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize
GNU/kOpenSolaris.

binutils/
* configure: Regenerate.

opcodes/
* configure: Regenerate.

bfd/
* configure: Regenerate.

gas/
* configure: Regenerate.

gprof/
* configure: Regenerate.

ld/
* configure: Regenerate.

15 years ago * elf32-hppa.c (hppa32_elf_local_refcounts): New function.
Dave Anglin [Sun, 1 Mar 2009 18:15:53 +0000 (18:15 +0000)]
* elf32-hppa.c (hppa32_elf_local_refcounts): New function.
(elf32_hppa_check_relocs): Use it.

15 years ago * elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to
Dave Anglin [Sun, 1 Mar 2009 17:08:54 +0000 (17:08 +0000)]
* elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to
elf64-hppa.c.
(elf_hppa_unmark_useless_dynamic_symbols): Likewise.
(elf_hppa_remark_useless_dynamic_symbols): Likewise.
(elf_hppa_is_dynamic_loader_symbol): Likewise.
(elf_hppa_record_segment_addrs): Likewise.
(elf_hppa_final_link): Likewise.
(elf_hppa_relocate_insn): Likewise.
(elf_hppa_final_link_relocate): Likewise.
(elf64_hppa_relocate_section): Likewise.
* elf64-hppa.c: Insert above.

15 years ago * elf-hppa.h (elf_hppa_final_link): Use elf_hppa_final_link.
Dave Anglin [Sun, 1 Mar 2009 02:10:49 +0000 (02:10 +0000)]
* elf-hppa.h (elf_hppa_final_link): Use elf_hppa_final_link.
(elf_hppa_final_link_relocate ): Rewrite eliminating dynamic hash table.
(elf_hppa_relocate_section): Likewise.
* elf64-hppa.c (struct elf64_hppa_link_hash_entry): Change to derive
from struct elf_link_hash_entry.  Add count field.
(struct elf64_hppa_dyn_hash_table): Delete.
(struct elf64_hppa_link_hash_table): Delete dyn_hash_table field.
(elf64_hppa_hash_table): Rename to hppa_link_hash_table.
(hppa_elf_hash_entry, eh_name): Define.
(elf64_hppa_new_dyn_hash_entry): Delete.
(elf64_hppa_dyn_hash_lookup): Delete.
(elf64_hppa_dyn_hash_traverse): Delete.
(get_dyn_name): Delete.
(elf64_hppa_finalize_opd): Use struct elf_link_hash_entry * instead
of struct elf64_hppa_dyn_hash_entry *.
(elf64_hppa_finalize_dlt, llocate_global_data_dlt,
allocate_global_data_plt, allocate_global_data_stub,
allocate_global_data_opd, count_dyn_reloc, allocate_dynrel_entries):
Likewise.
(hppa64_link_hash_newfunc): New.
(elf64_hppa_hash_table_create): Rework.
(count_dyn_reloc): Likewise.
(hppa64_elf_local_refcounts): New.
(elf64_hppa_check_relocs): Rework using standard technique for recording
local DLT, PLT and OPD reference counts.
(elf64_hppa_dynamic_symbol_p): Revise using "eh" for struct
elf_link_hash_entry *.
(elf64_hppa_mark_exported_functions, allocate_global_data_dlt,
allocate_global_data_plt, allocate_global_data_stub,
allocate_global_data_opd, allocate_dynrel_entries,
elf64_hppa_adjust_dynamic_symbol,
elf64_hppa_mark_milli_and_exported_functions): Likewise.
(elf64_hppa_create_dynamic_sections, elf64_hppa_size_dynamic_sections):
Use hppa_link_hash_table.  Rework.
(elf64_hppa_link_output_symbol_hook): Rework.
(elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd,
elf64_hppa_finalize_dlt, elf64_hppa_finalize_dynreloc,
elf64_hppa_finish_dynamic_sections): Likewise.

15 years agodaily update
Alan Modra [Sun, 1 Mar 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 1 Mar 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * README: --gc-sections and map files are now supported. Document
Ian Lance Taylor [Sat, 28 Feb 2009 18:08:30 +0000 (18:08 +0000)]
* README: --gc-sections and map files are now supported.  Document
some build requirements.

15 years ago PR 6992
Ian Lance Taylor [Sat, 28 Feb 2009 17:53:16 +0000 (17:53 +0000)]
PR 6992
* symtab.cc (Symbol_table::sized_write_section_symbol): In a
relocatable link set the value of the section symbol to zero.
* object.cc (Sized_relobj::do_finalize_local_symbols): In a
relocatable link don't include the section address in the local
symbol value.

15 years ago PR 6811
Ian Lance Taylor [Sat, 28 Feb 2009 04:39:57 +0000 (04:39 +0000)]
PR 6811
* options.h (class Search_directory): Add is_system_directory.
(class General_options): Declare is_in_system_directory.
* options.cc (get_relative_sysroot): Make static.
(get_default_sysroot): Make static.
(General_optoins::is_in_system_directory): New function.
* fileread.cc (Input_file::is_in_system_directory): New function.
* fileread.h (class Input_file): Declare is_in_system_directory.
* object.h (class Object): Add is_in_system_directory.
(class Input_objects): Remove system_library_directory_ field.
* object.cc (Input_objects::add_object): Don't set
system_library_directory_.
(input_objects::found_in_system_library_directory): Remove.
* symtab.cc (Symbol_table::write_globals): Remove input_objects
parameter.  Change all callers.
(Symbol_table::sized_write_globals): Likewise.
(Symbol_table::warn_about_undefined_dynobj_symbol): Likewise.
Call Object::is_in_system_directory.
* symtab.h (class Symbol_table): Update declarations.

15 years ago PR 5990
Ian Lance Taylor [Sat, 28 Feb 2009 03:05:08 +0000 (03:05 +0000)]
PR 5990
* descriptors.h (Open_descriptor): Add is_on_stack field.
* descriptors.cc (Descriptors::open): If the descriptor is on the
top of the stack, remove it.  Initialize is_on_stack field.
(Descriptors::release): Only add pod to stack if it is not on the
stack already.
(Descriptors::close_some_descriptor): Clear stack_next and
is_on_stack fields.

15 years ago PR 7091
Ian Lance Taylor [Sat, 28 Feb 2009 00:12:26 +0000 (00:12 +0000)]
PR 7091
* output.cc (Output_section::find_starting_output_address): Rename
from starting_output_address; add PADDR parameter; change return
type.
* output.h (class Output_section): Declare
find_starting_output_address instead of starting_output_address.
* object.cc (Sized_relobj::do_finalize_local_symbols): Handle a
section symbol for which we can't find a merge section.

15 years ago*** empty log message ***
gdbadmin [Sat, 28 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sat, 28 Feb 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * gdb_proc_service.h (struct ps_prochandle): Replace pid_t field
Pedro Alves [Fri, 27 Feb 2009 20:34:41 +0000 (20:34 +0000)]
* gdb_proc_service.h (struct ps_prochandle): Replace pid_t field
with a ptid_t field.
* linux-thread-db.c (thread_get_info_callback): Build the ptid
using the pid stored in proc_handle.ptid.
(thread_from_lwp, thread_db_attach_lwp, enable_thread_event)
(check_for_thread_db, thread_db_detach, check_event)
(thread_db_mourn_inferior, find_new_threads_callback)
(thread_db_find_new_threads_1): Adjust.
* proc-service.c (ps_xfer_memory, ps_lgetregs, ps_lsetregs)
(ps_lgetfpregs, ps_lsetfpregs, ps_getpid): Adjust.

15 years ago2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 27 Feb 2009 20:13:04 +0000 (20:13 +0000)]
2009-02-27  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.

15 years ago PR 9836
Ian Lance Taylor [Fri, 27 Feb 2009 19:57:46 +0000 (19:57 +0000)]
PR 9836
* symtab.cc (Symbol_table::add_from_object): If the visibility is
hidden or internal, force the symbol to be local.
* resolve.cc (Symbol::override_visibility): Define.
(Symbol::override_base): Use override_visibility.
(Symbol_table::resolve): Likewise.
(Symbol::override_base_with_special): Likewise.
(Symbol_table::override_with_special): If the visibility is hidden
or internal, force the symbol to be local.
* symtab.h (class Symbol): Add set_visibility and
override_visibility.
* testsuite/ver_test_1.sh: New file.
* testsuite/Makefile.am (check_SCRIPTS): Add ver_test_1.sh.
(check_DATA): Add ver_test_1.syms.
(ver_test_1.syms): New target.
* testsuite/Makefile.in: Rebuild.

15 years ago2009-02-27 Phil Muldoon <pmuldoon@redhat.com>
Phil Muldoon [Fri, 27 Feb 2009 19:33:06 +0000 (19:33 +0000)]
2009-02-27  Phil Muldoon  <pmuldoon@redhat.com>

* valprint.c (read_string): Rework clean-up logic. Use
free_current_contents to clean-up buffer.

15 years agold/ChangeLog
Dave Korn [Fri, 27 Feb 2009 19:01:57 +0000 (19:01 +0000)]
ld/ChangeLog

* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):  Set
default state of auto-import flag based on $target.

ld/testsuite/ChangeLog

* ld-pe/pe.exp:  Disable auto-import when linking on Cygwin.

15 years agoUpdate e-mail address.
Andreas Schwab [Fri, 27 Feb 2009 15:03:47 +0000 (15:03 +0000)]
Update e-mail address.

15 years ago*** empty log message ***
gdbadmin [Fri, 27 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 27 Feb 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years agogas/
Peter Bergner [Thu, 26 Feb 2009 22:07:33 +0000 (22:07 +0000)]
gas/
* config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
"f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
(parse_cpu): Extend -mpower7 to accept power7 and isel instructions.

gas/testsuite/
* gas/ppc/e500mc.d ("wait", "waitsrv", "waitimpl"): Add tests.
* gas/ppc/e500mc.s: Likewise.
* gas/ppc/power6.d ("cdtbcd", "cbcdtd", "addg6s"): Add tests.
* gas/ppc/power6.s: Likewise.
* gas/ppc/power7.d ("lfdpx", "mffgpr", "mftgpr"): Remove invalid tests.
("wait", "waitsrv", "waitimpl", "divwe", "divwe.", "divweo", "divweo.",
"divweu", "divweu.", "divweuo", "divweuo.", "bpermd", "popcntw",
"popcntd", "ldbrx", "stdbrx", "lfiwzx", "lfiwzx", "fcfids", "fcfids.",
"fcfidus", "fcfidus.", "fctiwu", "fctiwu.", "fctiwuz", "fctiwuz.",
"fctidu", "fctidu.", "fctiduz", "fctiduz.", "fcfidu", "fcfidu.",
"ftdiv", "ftdiv", "ftsqrt", "ftsqrt", "dcbtt", "dcbtstt", "dcffix",
"dcffix.", "lbarx", "lbarx", "lbarx", "lharx", "lharx", "lharx",
"stbcx.", "sthcx.", "fre", "fre.", "fres", "fres.", "frsqrte",
"frsqrte.", "frsqrtes", "frsqrtes.", "isel"): Add tests.
* gas/ppc/power7.s: Likewise.
* gas/ppc/vsx.d: New test.
* gas/ppc/vsx.s: Likewise.
* gas/ppc/ppc.exp: Run it.

include/opcode/
* ppc.h (PPC_OPCODE_POWER7): New.

opcodes/
* ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
the power7 and the isel instructions.
* ppc-opc.c (insert_xc6, extract_xc6): New static functions.
(insert_dm, extract_dm): Likewise.
(XB6): Update comment to include XX2 form.
(WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
(RemoveXX3DM): Delete.
(powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
"mftgpr">: Deprecate for POWER7.
<"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
"frsqrte.">: Deprecate the three operand form and enable the two
operand form for POWER7 and later.
<"wait">: Extend to accept optional parameter.  Enable for POWER7.
<"waitsrv", "waitimpl">: Add extended opcodes.
<"ldbrx", "stdbrx">: Enable for POWER7.
<"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
<"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
"divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
"divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
"divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
"fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
"fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
"lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
<"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
"stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
"xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
"xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
"xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
"xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
"xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
"xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
"xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
"xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
"xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
"xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
"xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
"xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
"xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
"xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
"xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
"xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
"xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
"xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
"xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
"xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
"xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
"xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
"xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
"xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
"xxspltw", "xxswapd">: Add VSX opcodes.

15 years ago2009-02-26 Phil Muldoon <pmuldoon@redhat.com>
Phil Muldoon [Thu, 26 Feb 2009 20:45:21 +0000 (20:45 +0000)]
2009-02-26  Phil Muldoon  <pmuldoon@redhat.com>

        * python/python-utils.c (python_string_to_unicode): Always return
        a new reference.
        (python_string_to_target_string): Decrement transient python
        instance.
        (python_string_to_host_string): Likewise.

15 years ago * mips-linux-nat.c (mips64_linux_fetch_registers): Pass `ops' to
Pedro Alves [Thu, 26 Feb 2009 19:44:39 +0000 (19:44 +0000)]
* mips-linux-nat.c (mips64_linux_fetch_registers): Pass `ops' to
call to super_fetch_registers.
(mips64_linux_store_registers): Pass `ops' to call to
super_store_registers.

15 years ago2009-02-26 Christophe Lyon <christophe.lyon@st.com>
Christophe Lyon [Thu, 26 Feb 2009 15:37:53 +0000 (15:37 +0000)]
2009-02-26  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (stub_reloc_type): Removed.
(insn_sequence): Renamed reloc_type field to r_type.
(elf32_arm_stub_long_branch_v4t_arm_thumb_pic): New stub.
(elf32_arm_stub_long_branch_v4t_thumb_arm_pic): Likewise.
(elf32_arm_stub_long_branch_thumb_only_pic): Likewise.
(elf32_arm_stub_type): Add new enum entries for the new stubs.
(arm_stub_is_thumb): Catch new stubs.
(arm_type_of_stub): Handle new stubs.
(arm_size_one_stub): Use ARRAY_SIZE. Handle new stubs.
(bfd_elf32_arm_process_before_allocation): Remove useless
condition.

testsuite/
* ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs.
* ld-arm/farcall-thumb-arm-pic-veneer.d: New expected result, the
test is now expected to pass.
* ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.

15 years ago * breakpoint.c (insert_bp_location): Add \n to overlay breakpoint
Doug Evans [Thu, 26 Feb 2009 01:14:03 +0000 (01:14 +0000)]
* breakpoint.c (insert_bp_location): Add \n to overlay breakpoint
error message.

15 years ago*** empty log message ***
gdbadmin [Thu, 26 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 26 Feb 2009 00:00:10 +0000 (00:00 +0000)]
daily update

15 years ago * breakpoint.c (disable_breakpoints_in_shlibs): Delete local
Doug Evans [Wed, 25 Feb 2009 21:43:04 +0000 (21:43 +0000)]
* breakpoint.c (disable_breakpoints_in_shlibs): Delete local
disabled_shlib_breaks, unused.

15 years ago * layout.cc (Layout::choose_output_section): Don't rename sections
Cary Coutant [Wed, 25 Feb 2009 19:05:21 +0000 (19:05 +0000)]
* layout.cc (Layout::choose_output_section): Don't rename sections
when using a linker script that has a SECTIONS clause.
* Makefile.in: Regenerate.

* testsuite/Makefile.am (script_test_5.sh): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/script_test_5.cc: New file.
* testsuite/script_test_5.sh: New file.
* testsuite/script_test_5.t: New file.

15 years ago2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 25 Feb 2009 18:59:52 +0000 (18:59 +0000)]
2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (fits_in_imm4): Removed.

15 years ago * printcmd.c (build_address_symbolic): Fix comment.
Doug Evans [Wed, 25 Feb 2009 18:26:53 +0000 (18:26 +0000)]
* printcmd.c (build_address_symbolic): Fix comment.

15 years agoUpdate contributors list for update of alpha-vms bfd.
Tristan Gingold [Wed, 25 Feb 2009 16:50:01 +0000 (16:50 +0000)]
Update contributors list for update of alpha-vms bfd.
(Sorry).

15 years agoRemove gas/.
H.J. Lu [Wed, 25 Feb 2009 16:34:10 +0000 (16:34 +0000)]
Remove gas/.

15 years ago2009-02-25 Christophe Lyon <christophe.lyon@st.com>
Christophe Lyon [Wed, 25 Feb 2009 16:05:15 +0000 (16:05 +0000)]
2009-02-25  Christophe Lyon  <christophe.lyon@st.com>

testsuite/
* ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result,
as stubs are now generated and the end of the .text section.
* ld-arm/thumb2-bl-bad-noeabi.d: Likewise.

15 years ago2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 25 Feb 2009 14:39:35 +0000 (14:39 +0000)]
2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (elf_find_function): Use is_function_type to check
function symbol.

15 years ago2009-02-25 Hui Zhu <teawater@gmail.com>
Hui Zhu [Wed, 25 Feb 2009 02:14:23 +0000 (02:14 +0000)]
2009-02-25  Hui Zhu  <teawater@gmail.com>

* cli/cli-script.c (define_command): Add _() to query.
* gnu-nat.c (inf_validate_task_sc): Ditto.
* infcmd.c (kill_if_already_running): Ditto.
(jump_command): Ditto.
(attach_command): Ditto.
* inflow.c (kill_command): Ditto.
* infrun.c (handle_command): Ditto.
* maint.c (maintenance_dump_me): Ditto.
* memattr.c (mem_delete_command): Ditto.
* monitor.c (monitor_interrupt_query): Ditto.
* nto-procfs.c (interrupt_query): Ditto.
* printcmd.c (undisplay_command): Ditto.
* remote-mips.c (mips_kill): Ditto.
* remote.c (interrupt_query): Ditto.
* solib-irix.c (irix_open_symbol_file_object): Ditto.
* solib-osf.c (osf_open_symbol_file_object): Ditto.
* solib-pa64.c (pa64_open_symbol_file_object): Ditto.
* solib-som.c (som_open_symbol_file_object): Ditto.
* solib-svr4.c (open_symbol_file_object): Ditto.
* symfile.c (symbol_file_add_with_addrs_or_offsets): Ditto.
* target.c (kill_or_be_killed): Ditto.
* tracepoint.c (delete_trace_command): Ditto.
* top.c (quit_confirm): Add _() to s that will be used
in query.

15 years ago*** empty log message ***
gdbadmin [Wed, 25 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 25 Feb 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * gas/config/tc-hppa.c (pa_ip): Add check of immediate values.
Dave Anglin [Tue, 24 Feb 2009 23:48:57 +0000 (23:48 +0000)]
* gas/config/tc-hppa.c (pa_ip): Add check of immediate values.
(SAVE_IMMEDIATE): New define.

15 years ago2009-02-24 Sterling Augustine <sterling@jaw.hq.tensilica.com>
Sterling Augustine [Tue, 24 Feb 2009 23:26:40 +0000 (23:26 +0000)]
2009-02-24  Sterling Augustine  <sterling@jaw.hq.tensilica.com>

* xtensa-modules.c: Revert to previous version 1.11 due
to inadvertent commit.

15 years ago2009-02-24 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Tue, 24 Feb 2009 22:51:10 +0000 (22:51 +0000)]
2009-02-24  Sterling Augustine  <sterling@tensilica.com>

* elf32-xtensa.c (text_action_add): Separate test for action
type.  Break if saved action is ta_widen_insn at same offset.

15 years ago bfd/
Daniel Jacobowitz [Tue, 24 Feb 2009 22:44:18 +0000 (22:44 +0000)]
bfd/
* elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename
to elf32_arm_stub_long_branch_any_arm_pic.
(elf32_arm_stub_long_branch_any_thumb_pic): New.
(enum elf32_arm_stub_type, arm_type_of_stub)
(arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC
separately.

ld/testsuite/
* ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed
Thumb PIC stub.

15 years ago2009-02-24 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz [Tue, 24 Feb 2009 22:43:10 +0000 (22:43 +0000)]
2009-02-24  Joseph Myers  <joseph@codesourcery.com>

bfd/
* elf32-arm.c (PREV_SEC): Update comment.
(group_sections): Rename argument to stubs_always_after_branch.
Reverse the list and place stubs at the end of input sections.
Undefine NEXT_SEC.
(elf32_arm_size_stubs): Update to use stubs_always_after_branch.

ld/
* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
* emultempl/armelf.em (hook_in_stub): Insert after the input section.
(elf32_arm_add_stub_section): Update comment.
(PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.

2009-02-24  Daniel Jacobowitz  <dan@codesourcery.com>

ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
Use normal output files for big-endian.
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
ld-arm/farcall-thumb-arm-be8.d,
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
ld-arm/farcall-thumb-arm.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
ld-arm/thumb2-bl-bad.d: Update for moved stubs.

15 years ago2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Tue, 24 Feb 2009 18:06:27 +0000 (18:06 +0000)]
2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>

ld/
* ld.texinfo (Options): Correct typos in example.  Recommend
using joined forms of syntax for passing options with arguments
from a driver.
(-a): Use consistent syntax for documenting option arguments.
Clean up indexing and markup.
(-A/--architecture): Likewise.
(-f/--auxiliary): Likewise.
(-F/--filter): Likewise.
(-fini): Likewise.
(-G/--gpsize): Likewise.
(-h/-soname):Likewise.
(-init): Likewise.
(-l/--library): Likewise.
(-L/--library-path): Likewise.
(-m): Likewise.
(--defsym): Likewise.
(-I/--dynamic-linker): Likewise.
(-Map): Likewise.
(--oformat): Likewise.
(--retain-symbols-file): Likewise.
(-rpath): Likewise.
(-rpath-link): Likewise.
(--sort-common): Likewise.
(--sort-section): Likewise.
(--split-by-file): Likewise.
(--split-by-reloc): Likewise.
(--sysroot): Likewise.
(--section-start): Likewise.
(-Tbss, -Tdata, -Ttext): Likewise.
(-Ttext-segment): Likewise.
(--version-script): Likewise.
(--wrap): Likewise.

15 years ago Fix windows-nat.c compilation failure.
Pierre Muller [Tue, 24 Feb 2009 15:27:58 +0000 (15:27 +0000)]
Fix windows-nat.c compilation failure.

* windows-nat.c (windows_thread_alive): Fix forward declaration.
(get_windows_debug_event): Add ops parameter to call to windows_resume.

15 years ago * config/tc-arm.c (warn_deprecated_sp): New macro.
Mark Mitchell [Tue, 24 Feb 2009 04:30:30 +0000 (04:30 +0000)]
* config/tc-arm.c (warn_deprecated_sp): New macro.
(do_t_mov_cmp): Permit R13 as the second
argument to "cmp.n".

* gas/arm/thumb2_bad_reg.s: Update to allow R13 as second argument
for CMP.
* gas/arm/thumb2_bad_reg.l: Adjust accordingly.

15 years agoTypo fix in most recent entry.
Ben Elliston [Tue, 24 Feb 2009 03:15:17 +0000 (03:15 +0000)]
Typo fix in most recent entry.

15 years ago2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 24 Feb 2009 01:43:49 +0000 (01:43 +0000)]
2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (STB_LOPROC): Replace Application-specific with
Processor-specific in comments.
(STB_HIPROC): Likewise.
(STT_LOPROC): Likewise.
(STT_HIPROC): Likewise.

15 years ago * elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset.
Daniel Jacobowitz [Tue, 24 Feb 2009 00:26:40 +0000 (00:26 +0000)]
* elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset.
Fix formatting.
(arm_size_one_stub): Remove unnecessary break.
(arm_map_one_stub): Fix formatting.  Return after BFD_FAIL.

15 years ago*** empty log message ***
gdbadmin [Tue, 24 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Tue, 24 Feb 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 23 Feb 2009 23:05:21 +0000 (23:05 +0000)]
2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
(pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.

15 years ago2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 23 Feb 2009 22:28:45 +0000 (22:28 +0000)]
2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.

15 years ago ld/testsuite/
Daniel Jacobowitz [Mon, 23 Feb 2009 21:51:35 +0000 (21:51 +0000)]
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Run new tests.  Correct BE8 output
filename.
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: New.

15 years ago2009-02-23 Christophe Lyon <christophe.lyon@st.com>
Daniel Jacobowitz [Mon, 23 Feb 2009 21:48:53 +0000 (21:48 +0000)]
2009-02-23  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (stub_insn_type): New type.
(stub_reloc_type): Likewise.
(insn_sequence): Likewise.
(elf32_arm_stub_long_branch_any_any): Encode using insn_sequence.
(elf32_arm_stub_long_branch_v4t_arm_thumb): Likewise.
(elf32_arm_stub_long_branch_thumb_only): Likewise.
(elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise.
(elf32_arm_stub_short_branch_v4t_thumb_arm): Likewise.
(elf32_arm_stub_long_branch_any_any_pic): Likewise.
(elf32_arm_stub_hash_entry): Add new helper fields.
(stub_hash_newfunc): Initialize these new fields.
(arm_build_one_stub): Encode Arm and Thumb instructions separately
to take endianness into account.
(arm_size_one_stub): Compute size of stubs using insn_sequence.
(arm_map_one_stub): Code is now more generic, thanks to
insn_sequence.

ld/testsuite/
* ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test.
* ld-arm/farcall-thumb-arm-be8.d: New expected result.
* ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions.

15 years agogas/
H.J. Lu [Mon, 23 Feb 2009 20:41:46 +0000 (20:41 +0000)]
gas/

2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (vex_imm4): Removed.
(VEX_check_operands): Likewise.
(match_template): Updated.

opcodes/

2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
(operand_types): Remove Vex_Imm4.

* i386-opc.h (Vex_Imm4): Removed.
(OTMax): Updated.
(i386_operand_type): Remove vex_imm4.

* i386-opc.tbl: Remove Vex_Imm4 comments.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

15 years ago * objdump.c (load_specific_debug_section): New function, from
Cary Coutant [Mon, 23 Feb 2009 19:44:58 +0000 (19:44 +0000)]
* objdump.c (load_specific_debug_section): New function, from
load_debug_section.
(load_debug_section): Use load_specific_debug_section.
(dump_dwarf_section): Likewise.

15 years ago * readelf.c (parse_args): Select all sections explicitly for -w.
Cary Coutant [Mon, 23 Feb 2009 19:01:47 +0000 (19:01 +0000)]
* readelf.c (parse_args): Select all sections explicitly for -w.

15 years ago * remote-sim.c (gdbsim_resume): Add target_ops* argument.
Pedro Alves [Mon, 23 Feb 2009 18:31:23 +0000 (18:31 +0000)]
* remote-sim.c (gdbsim_resume): Add target_ops* argument.

15 years ago * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
Richard Earnshaw [Mon, 23 Feb 2009 14:58:34 +0000 (14:58 +0000)]
* arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
vq{r}shr{u}n.s64 insnstructions.

15 years ago * doc/all.texi: Set S390.
Martin Schwidefsky [Mon, 23 Feb 2009 10:10:25 +0000 (10:10 +0000)]
* doc/all.texi: Set S390.
* doc/as.texinfo: Add S390 support and pull in c-s390.texi.
* doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
* doc/Makefile.in: Likewise.
* doc/c-s390.texi: New.

15 years ago2009-02-23 Christophe Lyon <christophe.lyon@st.com>
Christophe Lyon [Mon, 23 Feb 2009 10:03:47 +0000 (10:03 +0000)]
2009-02-23  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (elf32_arm_stub_long_branch_thumb_only): Fix stub
code.
(elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise.
(arm_type_of_stub): Use Thumb-only long branch stub (non-PIC) when
BLX is not available. Fix typo in warning message. Add comments
and improve formatting.
(arm_build_one_stub): Adjust to new
elf32_arm_stub_long_branch_v4t_thumb_arm stub.
(arm_map_one_stub): Likewise.

testsuite/
* ld-arm/arm-elf.exp: Rewrite non-EABI variants of
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests, which now
pass. farcall-thumb-thumb now passes in EABI mode.
* ld-arm/farcall-thumb-arm-pic-veneer.d: Fixed name, source, as
and ld flags to match intended test.
* ld-arm/farcall-thumb-arm.d: New expected result.
* ld-arm/farcall-thumb-thumb-m.d: Likewise.
* ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Fixed name and ld
flags.
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
* ld-arm/farcall-thumb-thumb.d: New expected result, this test is
now expected to pass.
* ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
* ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
* ld-arm/thumb2-bl-as-thumb1-bad.d: Update addresses according to
new use.
* ld-arm/thumb2-bl-as-thumb1-bad.s: Update comment.

15 years ago2009-02-23 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 23 Feb 2009 09:28:43 +0000 (09:28 +0000)]
2009-02-23  Tristan Gingold  <gingold@adacore.com>

* vms.h: Update copyright year, fix comments, reorder declarations.
(_bfd_save_vms_section): Remove the prototype.
(EGPS_S_V_NO_SHIFT): New constant.
(bfd_vms_set_section_flags): New prototype.
(EGPS_S_B_ALIGN, EGPS_S_W_FLAGS, EGPS_S_L_ALLOC, EGPS_S_B_NAMLNG): New
constants.
(EGSY_S_W_FLAGS): Ditto.
(EGSY_S_V_QUAD_VAL): Ditto.
(ESDF_S_L_VALUE, ESDF_S_L_PSINDX, ESDF_S_B_NAMLNG): Ditto.
(EGST_S_W_FLAGS, EGST_S_Q_LP_1, EGST_S_Q_LP_2, EGST_S_L_PSINDX,
EGST_S_B_NAMLNG): Ditto.
(ESRF_S_B_NAMLNG): Ditto.
(ETIR_S_C_HEADER_SIZE): Ditto.
(EGPS_S_V_ALLOC_64BIT): Ditto.
(DST_S_C_EPILOG): Ditto.
(DST_S_C_SRC_SETLNUM_L, DST_S_C_SRC_SETLNUM_W) : Ditto.
(DST_S_C_SRC_INCRLNUM_B): Ditto.
(DST_S_B_PCLINE_UNSBYTE, DST_S_W_PCLINE_UNSWORD): Ditto.
(DST_S_L_PCLINE_UNSLONG): Ditto.
(DST_S_B_MODBEG_NAME, DST_S_L_RTNBEG_ADDRESS) : Ditto
(DST_S_B_RTNBEG_NAME, DST_S_L_RTNEND_SIZE): Ditto
(DST_S_C_SOURCE_HEADER_SIZE): Ditto.
(DST_S_B_SRC_DF_LENGTH, DST_S_W_SRC_DF_FILEID): Ditto.
(DST_S_B_SRC_DF_FILENAME, DST_S_B_SRC_UNSBYTE): Ditto.
(DST_S_B_SRC_UNSBYTE): Ditto.
(DST_S_W_SRC_UNSWORD, DST_S_L_SRC_UNSLONG): Ditto.
Add prototypes.
(vms_section, vms_reloc): Remove types.
(hdr_struc): Replaced by ...
(hdr_struct): ... new type.
(EMH_S_W_HDRTYP, EMH_S_B_STRLVL, EMH_S_L_ARCH1): New constants.
(EMH_S_L_ARCH2, EMH_S_L_RECSIZ, EMH_S_B_NAMLNG): Ditto.
(EMH_DATE_LENGTH): Ditto.
(eom_struc): Replaced by ...
(eom_struct): ... new type.
(EEOM_S_L_TOTAL_LPS, EEOM_S_W_COMCOD, EEOM_S_B_TFRFLG): New constants.
(EEOM_S_L_PSINDX, EEOM_S_L_TFRADR): Ditto.
(EIHD_S_K_MAJORID, EIHD_S_K_MINORID, EIHD_S_K_EXE): Ditto.
(EIHD_S_L_SIZE, EIHD_S_L_ISDOFF, EIHD_S_L_SYMDBGOFF): Ditto.
(EIHD_S_Q_SYMVVA, EIHD_S_L_IMGTYPE): Ditto.
(EISD_S_L_EISDSIZE, EISD_S_L_SECSIZE, EISD_S_Q_VIR_ADDR): Ditto.
(EISD_S_L_FLAGS, EISD_S_L_VBN, EISD_S_R_CONTROL): Ditto.
(EISD_S_L_IDENT, EISD_S_T_GBLNAM): Ditto.
(EISD_S_M_GBL, EISD_S_M_CRF, EISD_S_M_DZRO, EISD_S_M_WRT): Ditto.
(EISD_S_M_INITALCODE, EISD_S_M_BASED, EISD_S_M_FIXUPVEC): Ditto.
(EISD_S_M_RESIDENT, EISD_S_M_VECTOR, EISD_S_M_PROTECT): Ditto.
(EISD_S_M_LASTCLU, EISD_S_M_EXE, EISD_S_M_NONSHRADR): Ditto.
(EISD_S_M_QUAD_LENGTH, EISD_S_M_ALLOC_64BIT): Ditto.
(EIHS_S_L_DSTVBN, EIHS_S_L_DSTSIZE, EIHS_S_L_GSTVBN): Ditto.
(EIHS_S_L_GSTSIZE, EIHS_S_L_DMTVBN, EIHS_S_L_DMTBYTES): Ditto.
(DBG_S_L_DMT_MODBEG, DBG_S_L_DST_SIZE): Ditto.
(DBG_S_W_DMT_PSECT_COUNT, DBG_S_C_DMT_HEADER_SIZE): Ditto.
(DBG_S_L_DMT_PSECT_START, DBG_S_L_DMT_PSECT_LENGTH)
(DBG_S_C_DMT_PSECT_SIZE): Ditto.
(enum file_type_enum): New type.
(struct location_struct): Removed.
(struct fileinfo, struct srecinfo, struct lineinfo): New types.
(struct funcinfo, struct module): Ditto.
(struct vms_private_data_struct): Update fields.
(struct vms_section_data_struct): New type.

* vms.c: Update copyright year, fix comments,
Fix includes for DECC, add prototypes.
(vms_initialize): Use bfd_alloc instead of bfd_zalloc and remove
some initializers.
Use flavour to set is_vax, location_stack is removed.
(struct pair): Declare.
(fill_section_ptr): Initialize variables at declaration.
Add guard to set SECTION_SYM flag, handlde und section.
(vms_fixup_sections): Use struct pair for fill_section_ptr argument.
(_bfd_vms_slurp_object_records): New function, replaces previous
vms_object_p.
(vms_slurp_module): New function.
(vms_slurp_image): Ditto.
(vms_object_p): Complete rewrite.
(vms_mkobject): Use is_vax field to slect architecture.
(free_reloc_stream): New function.
(vms_convert_to_var): Ditto.
(vms_convert_to_var_1): Ditto.
(vms_convert_to_var_unix_filename): Ditto.
(vms_close_and_cleanup): Call free_reloc_stream, convert file to
VAR format on VMS.
(vms_new_section_hook): Set alignment to 0, allocate private data.
(vms_get_section_contents): Load content.
(vms_get_symbol_info): Handle undefined section.
(vms_find_nearest_line): Handle.
(alloc_reloc_stream): New function.
(vms_slurp_reloc_table): Ditto.
(vms_get_reloc_upper_bound): Make it real.
(vms_canonicalize_reloc): Do the real work.
(alpha_howto_table): Add ALPHA_R_NOP, ALPHA_R_BSR, ALPHA_R_LDA,
ALPHA_R_BOH.
(vms_bfd_reloc_type_lookup): Handle NOP, BSR, LDA and BOH.
(vms_set_arch_mach): Check arch.
(vms_set_section_contents): Copy the content after allocation.
(vms_alpha_vec): Update object flags.

* vms-tir.c: Update copyright year, fix comments,
add prototypes for new functions.
(dst_define_location): New function.
(dst_restore_location): New function.
(dst_retrieve_location): New function.
(dst_check_allocation): New function.
(image_dump): Call dst_check_allocation.
(image_write_b): Ditto.
(image_write_w): Ditto.
(image_write_l): Ditto.
(image_write_q): Ditto.
(cmd_name): Handle STA_LW, STA_QW, STO_OFF, STO_IMM, STO_IMMR, STO_LW,
STO_QW, OPR_ADD, CTL_SETRB, STC_LP_PSB, CTL_DFLOC, CTL_STLOC,
CTL_STKDL.
Call error handler instead of abort if name is not known.
(etir_sta): Add quarter_relocs argument and set it.
Fix cast.
(etir_sto): Ditto.
(etir_opr): Ditto, return FALSE in case of error.
(etir_ctl): Add quarter_relocs argument and set it, fix cast.
Fix CTL_DFLOC, CTL_STLOC, CTL_STKDL.
(etir_stc): Add quarter_relocs argument and set it, fix cast.
Fix STC_LP, STC_LP_PSB, STC_GBL and STC_CGA.
Handle STC_LP_PSB, STC_BSR_GBL, STC_LDA_GBL, STC_BOH_GBL.
Move STC_NOP_PS, STC_BSR_PS, STC_LDA_PS, STC_BOH_PS, STC_NBH_PS.
Return FALSE in case of error.
(tir_sta): Change sign of psect.
(tir_ctl): Ditto.
(tir_cmd): Fix cast. Makes tir_table static const.
(etir_cmd): Add quarter_relocs argument, makes etir_table const,
add argument to explain.
(analyze_etir): Initialize maxptr, add quarter_relocs
declaration, move some declarations into inner scopes.
Handle quarter_relocs and STO_IMM.
(_bfd_vms_slurp_tir): Use constant instead of hard-coded values.
(_bfd_vms_slurp_relocs): New function.
(_bfd_vms_decode_relocs): New function.
(sto_imm): Rewritten.
(start_first_etbt_record): New function.
(start_another_etbt_record): Ditto.
(etir_output_check): Ditto.
(defer_reloc_p): Ditto.
(_bfd_vms_write_tir): Remove nextoffset, convert a while-loop to
a for-loop.  Correctly deals with contents, deals with .vmsdebug,
rewritte relocations handling.
(_bfd_vms_write_tbt): Removed.
(_bfd_vms_write_dbg): Ditto.

* vms-misc.c: Update copyright year, Fix comments.
(_bfd_vms_get_header_values): Use 'size' instead of 'length'.
(maybe_adjust_record_pointer_for_object): New function.
(_bfd_vms_get_first_record): New function, replaces ...
(_bfd_vms_get_record): ..  removed.
(_bfd_vms_get_object_record): New function.
(_bfd_vms_get_object_record): New function.
(vms_get_remaining_object_record): New function, replaces ...
(_bfd_vms_get_next_record): ... removed.
(add_new_contents): Removed.
(_bfd_save_vms_section): Removed.
(_bfd_get_vms_section): Removed.
(_bfd_vms_output_flush): Write in VAR format.
(new_symbol): Don't make UND section.

* vms-hdr.c: Update copyright year, update list of record handled.
(_bfd_vms_slurp_hdr): rec_length renamed to rec_size.
(_bfd_vms_write_hdr): Strip vms and unix patches,
add comments, truncate module name at 31 characters,
use constants instead of hard-coded value,
write BFD version instead of a fixed string.
(_bfd_vms_slurp_ihd): New function.
(_bfd_vms_slurp_isd): Ditto.
(_bfd_vms_slurp_ihs): Ditto.
(new_module): Ditto.
(parse_module): Ditto
(build_module_list): Ditto.
(module_find_nearest_line): Ditto.
(_bfd_vms_find_nearest_dst_line): Ditto.
(vms_slurp_debug): Ditto.
(_bfd_vms_slurp_dbg): Ditto.
(_bfd_vms_slurp_tbt): Ditto.
(_bfd_vms_write_dbg): Ditto.
(_bfd_vms_write_tbt): Ditto.

* vms-gsd.c: Update copyright year, update list of records handled.
(EVAX_LITERALS_NAME): New macro.
(evax_section_flags): Add an entry for EVAX_LITERALS_NAME.
(gpsflagdesc, gsyflagdesc): Moved out of _bfd_vms_slurp_gsd.
(register_universal_symbol): New function and prototype.
(_bfd_vms_slurp_gsd): Fix indentations and casts,
improve debug messages,
use constants instead of hard-coded value,
fix missing endianness conversion,
handle global symbol (SYMG).
(bfd_vms_set_section_flags): New function.
(_bfd_vms_write_gsd): Don't write .vmsdebug section,
handle section literals,
fix indentation,
handle section bfd and vms flags,
don't output LIB$INITIALIZE symbol,
fix handling of weak symbols,
fix evax vs vax procedure descriptor,
handle absolute symbols.

* reloc.c (BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_BSR,
BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BOH): New relocations.

* makefile.vms (DEFS): Fix flags for VMS.

* bfdio.c (real_fopen): Handle multiple VMS fopen attributes.

* bfd-in2.h: Regenerated.
* libbfd.h: Regenerated.

15 years ago(tiny change)
Joel Brobecker [Mon, 23 Feb 2009 03:07:14 +0000 (03:07 +0000)]
(tiny change)

        * symtab.c (find_line_symtab): Initialize exact to avoid
        a compiler warning.

15 years ago * i386-linux-nat.c (i386_linux_fetch_inferior_registers): Pass
Pedro Alves [Mon, 23 Feb 2009 00:42:06 +0000 (00:42 +0000)]
* i386-linux-nat.c (i386_linux_fetch_inferior_registers): Pass
`ops' to recursive call.

15 years agomerge from gcc
DJ Delorie [Mon, 23 Feb 2009 00:16:38 +0000 (00:16 +0000)]
merge from gcc

15 years ago * corelow.c (get_core_registers): Adjust.
Pedro Alves [Mon, 23 Feb 2009 00:03:50 +0000 (00:03 +0000)]
* corelow.c (get_core_registers): Adjust.
(core_file_thread_alive): Rename to...
(core_thread_alive): ... this.
(core_pid_to_str): Try gdbarch_core_pid_to_str first.
(init_core_ops): Adjust.
(coreops_suppress_target): Delete.
(_initialize_corelow): Unconditionally add core_ops.
* procfs.c: Include "inf-child.h".
(procfs_ops): Delete.
(init_procfs_ops): Delete.  Reimplement as...
(procfs_target): ... this, inheriting from inf-child.
(procfs_attach, procfs_detach, procfs_fetch_registers): Adjust.
(procfs_prepare_to_store): Delete.
(procfs_store_registers, procfs_resume): Adjust.
(procfs_open): Delete.
(procfs_suppress_run): Delete.
(procfs_can_run): Delete.
(procfs_mourn_inferior): Adjust.
(procfs_init_inferior): Add target_ops parameter.  Adjust.
(procfs_create_inferior): Don't pass procfs_init_inferior to
fork_inferior.  Instead call it after fork_inferior returns.
(procfs_find_new_threads): Adjust.
(_initialize_procfs): Adjust to use procfs_target instead of
init_procfs_ops.
* sol-thread.c (orig_core_ops, sol_core_ops): Delete.
(lwp_to_thread): Use target_thread_alive.
(sol_thread_open): Delete.
(sol_thread_attach): Delete.
(sol_thread_detach, sol_thread_resume, sol_thread_wait)
(sol_thread_fetch_registers, sol_thread_store_registers): Adjust
to use find_target_beneath.
(sol_thread_prepare_to_store, sol_thread_xfer_memory): Delete.
(sol_thread_xfer_partial): Adjust to use find_target_beneath.
(sol_thread_files_info, sol_thread_kill_inferior): Delete.
(check_for_thread_db): New.
(sol_thread_notice_signals, sol_thread_create_inferior): Delete.
(sol_thread_new_objfile): Call check_for_thread_db.
(sol_thread_mourn_inferior): Adjust to use find_target_beneath.
(sol_thread_can_run): Delete.
(sol_thread_alive): Adjust to use find_target_beneath.
(sol_thread_stop): Delete.
(rw_common): Use target_write_memory or target_read_memory.
(ps_lgetregs, ps_lgetfpregs): Use target_fetch_registers.
(ps_lsetregs, ps_lsetfpregs): Use target_store_registers.
(solaris_pid_to_str): Remove check for libthread_db initialization
failing.
(sol_find_new_threads): Remove check for libthread_db
initialization failing, or for an invalid inferior_ptid.  Adjust
to use find_target_beneath.
(sol_core_open, sol_core_close, sol_core_detach,
sol_core_files_info, sol_find_memory_regions,
sol_make_note_section, ignore): Delete.
(init_sol_thread_ops): Make it a thread_stratum target.  Remove
unneeded callback settings.
(init_sol_core_ops): Delete.
(_initialize_sol_thread): No longer call init_sol_core_ops, set
procfs_suppress_run, or hack with core_ops.

* target.h (struct target_ops): Add a target_ops * parameter to
to_resume, to_fetch_registers, to_store_registers, to_thread_alive
and to_find_new_threads.
(target_fetch_registers, target_store_registers)
(target_thread_alive, target_find_new_threads): Redeclare as
function.

* target.c (update_current_target): Do not inherit or de_fault
to_resume, to_fetch_registers, to_store_registers,
to_thread_alive, to_find_new_threads.
(target_resume): Adjust.
(target_thread_alive, target_find_new_threads): New.
(debug_to_resume, debug_to_fetch_registers): Delete.
(target_fetch_registers): New.
(debug_to_store_registers): Delete.
(target_store_registers): New.
(debug_to_thread_alive, debug_to_find_new_threads): Delete.
(setup_target_debug): Adjust.

* gdbcore.h (core_ops): Delete declaration.

* inf-ptrace.c, linux-nat.c, remote.c, amd64-linux-nat.c,
inf-child.c, linux-thread-db.c, bsd-uthread.c, inf-ttrace.c,
i386-sol2-tdep.c, darwin-nat.c, gnu-nat.c, go32-nat.c,
hpux-thread.c, i386-linux-nat.c, i386fbsd-nat.c, monitor.c,
nto-procfs.c, remote-m32r-sdi.c, remote-mips.c, windows-nat.c,
alphabsd-nat.c, amd64bsd-nat.c, arm-linux-nat.c, armnbsd-nat.c,
bsd-kvm.c, hppa-hpux-nat.c, hppa-linux-nat.c, hppabsd-nat.c,
hppanbsd-nat.c, i386-darwin-nat.c, i386bsd-nat.c,
ia64-linux-nat.c, m32r-linux-nat.c, m68kbsd-nat.c,
m68klinux-nat.c, m88kbsd-nat.c, mips-linux-nat.c,
mips64obsd-nat.c, mipsnbsd-nat.c, ppc-linux-nat.c, ppcnbsd-nat.c,
ppcobsd-nat.c, remote-sim.c, rs6000-nat.c, s390-nat.c,
shnbsd-nat.c, sparc-nat.c, sparc-nat.h, spu-linux-nat.c,
vaxbsd-nat.c, xtensa-linux-nat.c: Adjust to target_ops changes.

* gdbarch.sh (core_pid_to_str): New gdbarch callback.
* gdbarch.h, gdbarch.c: Regenerate.

* sol2-tdep.c: Include "inferior.h".
(sol2_core_pid_to_str): New.
* sol2-tdep.h (sol2_core_pid_to_str): Declare.

* amd64-sol2-tdep.c (amd64_sol2_init_abi): Set it.
* sparc-sol2-tdep.c (sparc32_sol2_init_abi): Set it.
* sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Set it.
* i386-sol2-tdep.c (i386_sol2_init_abi): Set it.

15 years ago*** empty log message ***
gdbadmin [Mon, 23 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Mon, 23 Feb 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * exec.c (exec_file_attach): Fix comment.
Doug Evans [Sun, 22 Feb 2009 19:35:47 +0000 (19:35 +0000)]
* exec.c (exec_file_attach): Fix comment.

15 years agoFix up some formatting.
Doug Evans [Sun, 22 Feb 2009 19:31:20 +0000 (19:31 +0000)]
Fix up some formatting.

15 years ago Silence a few -Wmissing-prototypes warnings.
Pedro Alves [Sun, 22 Feb 2009 01:02:20 +0000 (01:02 +0000)]
Silence a few -Wmissing-prototypes warnings.

PR build/9877:
        * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Make
it static.
        * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Declare.
        * amd64fbsd-tdep.c (amd64fbsd_init_abi): Make it static.
        * amd64nbsd-tdep.c (_initialize_amd64nbsd_ndep): Rename to ...
(_initialize_amd64nbsd_tdep): ... this.
* arm-linux-tdep.c (arm_linux_software_single_step): Make it static.
(_initialize_arm_linux_tdep): Declare.
* armbsd-tdep.c (armbsd_fpreg_offset): Make it static.
* armnbsd-tdep.c (_initialize_arm_netbsd_tdep): Declare.
* armobsd-tdep.c (_initialize_armobsd_tdep): Declare.
* avr-tdep.c (avr_return_value): Make it static.
(avr_frame_unwind_cache): Ditto.
* bsd-uthread.c (bsd_uthread_inferior_created): Ditto.
(bsd_uthread_solib_loaded): Ditto.
(bsd_uthread_solib_unloaded): Ditto.
(bsd_uthread_target): Ditto.
(_initialize_bsd_uthread): Declare.
* cris-tdep.c (crisv32_single_step_through_delay): Make it static.
(cris_frame_unwind_cache): Ditto.
* frv-tdep.c (frv_return_value): Ditto.
* h8300-tdep.c (h8300_use_struct_convention): Ditto.
(h8300h_use_struct_convention): Ditto.
* hppa-tdep.c (hppa_sign_extend, hppa_low_hppa_sign_extend):
Ditto.
* hppa-tdep.h (hppa_low_sign_extend, hppa_sign_extend): Delete
declarations.
* hppabsd-tdep.c: Include hppabsd-tdep.h.
(hppabsd_find_global_pointer): Make it static.
* hppabsd-tdep.h: New.
* hppanbsd-tdep.c: Include hppabsd-tdep.h.
(hppabsd_init_abi): Remove declaration.
(_initialize_hppabsd_tdep): Remove declaration.
(_initialize_hppanbsd_tdep): Declare.
* hppaobsd-tdep.c: Include hppabsd-tdep.h.
(hppabsd_init_abi): Delete declaration.
(hppaobsd_init_abi): Make it static.
* i386-nto-tdep.c (_initialize_i386nto_tdep): Declare.
* i386nbsd-tdep.c (_initialize_i386nbsd_tdep): Declare.
* ia64-linux-tdep.c (_initialize_ia64_linux_tdep): Declare.
* ia64-tdep.c (ia64_register_reggroup_p): Make it static.
* iq2000-tdep.c (_initialize_iq2000_tdep): Declare.
* m32c-tdep.c (m32c_register_reggroup_p): Make it static.
(m32c_analyze_prologue, m32c_virtual_frame_pointer): Ditto.
(_initialize_m32c_tdep): Declare.
* m32r-rom.c (_initialize_m32r_rom): Declare.
* m32r-tdep.c (m32r_skip_prologue): Make it static.
(m32r_return_value): Ditto.
* m68hc11-tdep.c (m68hc11_frame_unwind_cache): Make it static.
(m68hc11_return_value): Ditto.
* m68klinux-tdep.c (_initialize_m68k_linux_tdep): Declare.
* m88k-tdep.c (m88k_frame_cache): Make it static.
* mep-tdep.c (mep_gdb_print_insn): Ditto.
(mep_return_value): Ditto.
(_initialize_mep_tdep): Declare.
* mips-irix-tdep.c (_initialize_mips_irix_tdep): Declare.
* mips-linux-tdep.c (supply_64bit_reg): Make it static.
(mips_linux_syscall_next_pc): Ditto.
(_initialize_mips_linux_tdep): Declare.
* mips-tdep.c (mips_single_step_through_delay): Make it static.
* mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Declare.
* mn10300-linux-tdep.c (_initialize_mn10300_linux_tdep): Declare.
* mn10300-tdep.c (_initialize_mn10300_tdep): Declare.
* mt-tdep.c (_initialize_mt_tdep): Declare.
* nbsd-tdep.c: Include nbsd-tdep.h.
* nto-tdep.c (find_load_phdr): Make it static.
(_initialize_nto_tdep): Declare.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Make it
static.
(_initialize_ppc_linux_tdep): Declare.
* remote-m32r-sdi.c (m32r_can_use_hw_watchpoint)
(m32r_insert_watchpoint, m32r_remove_watchpoint)
(m32r_stopped_data_address, m32r_stopped_by_watchpoint): Make
static.
* rs6000-aix-tdep.c (_initialize_rs6000_aix_tdep): Declare.
* rs6000-nat.c: Include xcoffread.h.
(find_toc_address): Don't extern declare get_toc_offset.  Adjust
to call xcoff_get_to_offset.
* rs6000-tdep.c (ppc_vsx_support_p, ppc_displaced_step_fixup)
(rs6000_skip_main_prologue, rs6000_in_solib_return_trampoline)
(rs6000_skip_trampoline_code): Make static.
* s390-tdep.c (s390_regset_from_core_section): Ditto.
* sh-tdep.c (sh_register_reggroup_p): Ditto.
* shnbsd-tdep.c (shnbsd_regset_from_core_section): Ditto.
(_initialize_shnbsd_tdep): Declare.
* solib-frv.c (displacement_from_map): Make static.
(_initialize_frv_solib): Declare.
* solib-irix.c (fetch_lm_info): Make static.
(_initialize_irix_solib): Declare.
* solib-som.c: Include solib-som.h.
(som_solib_select): Line break.
* sparc-tdep.c (sparc_regset_from_core_section): Make static.
* sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Rename to ...
(_initialize_sparcnbsd_tdep): ... this.
* spu-tdep.c (spu_software_single_step): Make it static.
(_initialize_spu_tdep): Declare.
* vax-tdep.c (vax_frame_cache): Make it static.
* xcoffread.c: Include xcoffread.h.
(get_toc_offset): Rename to ...
(xcoff_get_toc_offset): ... this.
(_initialize_xcoffread): Declare.
* xcoffread.h: New.
* xtensa-linux-tdep.c (_initialize_xtensa_linux_tdep): Declare.
* xtensa-tdep.c (xtensa_skip_prologue, xtensa_derive_tdep): Make
static.
(_initialize_xtensa_tdep): Declare.

15 years ago*** empty log message ***
gdbadmin [Sun, 22 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sun, 22 Feb 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2008-02-21 Pedro Alves <pedro@codesorcery.com>
Pedro Alves [Sat, 21 Feb 2009 16:14:50 +0000 (16:14 +0000)]
2008-02-21  Pedro Alves  <pedro@codesorcery.com>

Silence a few -Wmissing-prototypes warnings.

PR build/9877:
* amd64-nat.c: Include "amd64-nat.h".
* fork-child.c (_initialize_fork_child): Ditto.
* gcore.c (_initialize_gcore): Ditto.
* inf-ptrace.c: Include "inf-ptrace.h".
(inf_ptrace_store_registers): Make it static.
* linux-nat.c (linux_nat_terminal_ours): Make it static.
(_initialize_linux_nat): Declare before definition.
* linux-tdep.c: Include "linux-tdep.h".
* linux-thread-db.c (_initialize_thread_db): Declare before
definition.
* proc-service.c (_initialize_proc_service): Ditto.
* remote.c (remote_send_printf): Make it static.
* solib.c: Include "solib.h".
* symfile-mem.c (_initialize_symfile_mem): Declare before
definition.
* ada-lang.c (ada_la_decode, ada_match_name)
(ada_suppress_symbol_printing, ada_is_array_type)
(ada_value_ptr_subscript, ada_array_length)
(ada_to_static_fixed_value): Make them static.
(_initialize_ada_language): Declare before definition.
* ada-tasks.c (ada_get_task_number, ada_get_environment_task)
(ada_task_list_changed, ada_new_objfile_observer): Make them
static.
(_initialize_tasks): Declare before definition.
* addrmap.c (_initialize_addrmap): Declare before definition.
* auxv.c (default_auxv_parse): Make it static.
* bfd-target.c (target_bfd_xfer_partial, target_bfd_xclose): Make
them static.
* breakpoint.c (remove_sal): Add line break.
(expand_line_sal_maybe): Make it static.
* cp-name-parser.y: Include "cp-support.h".
* cp-valprint.c (cp_find_class_member): Make it static.
* eval.c (value_f90_subarray): Ditto.
* exceptions.c (print_any_exception): Ditto.
* findcmd.c (_initialize_mem_search): Declare before definition.
* frame.c (frame_observer_target_changed): Make it static.
* gnu-v3-abi.c (gnuv3_find_method_in): Make it static.
* inf-child.c: Include "inf-child.h".
* inferior.h (valid_inferior_id): Rename to ...
(valid_gdb_inferior_id): ... this.
* infrun.c (infrun_thread_stop_requested, siginfo_make_value):
Make them static.
* jv-lang.c (java_language_arch_info): Make it static.
* m2-typeprint.c (m2_get_discrete_bounds): Ditto.
* osdata.c (info_osdata_command): Make it static.
* regcache.c (regcache_observer_target_changed): Make it static.
* reverse.c (_initialize_reverse): Declare before definition.
* stabsread.c (cleanup_undefined_types_noname)
(cleanup_undefined_types_1): Make them static.
* symfile.c (place_section): Make it static.
* symtab.c (find_pc_sect_psymtab_closer): Make it static.
* target-descriptions.c (_initialize_target_descriptions): Declare
before definition.
* target.c (default_get_ada_task_ptid, find_default_can_async_p)
(find_default_is_async_p, find_default_supports_non_stop): Make
them static.
(target_supports_non_stop): Add prototype.
(dummy_pid_to_str): Make it static.
* utils.c (_initialize_utils): Declare before definition.
* ada-exp.y (_initialize_ada_exp): Declare before definition.
* solib-svr4.c (HAS_LM_DYNAMIC_FROM_LINK_MAP): Add a prototype.
* target.h (struct target_ops): Add a prototype to the
to_can_execute_reverse callback.
* macroscope.c (_initialize_macroscope): Declare before definition.
* cp-namespace.c (_initialize_cp_namespace): Declare before definition.
* python/python.c (_initialize_python): Declare before definition.
* tui/tui-command.c: Include "tui/tui-command.h".
* tui/tui-data.c (init_content_element, init_win_info): Make them
static.
* tui/tui-disasm.c: Include "tui/tui-disasm.h".
* tui/tui-interp.c (_initialize_tui_interp): Declare before
definition.
* tui/tui-layout.c: Include "tui/tui-layout.h".
(_initialize_tui_layout): Declare before definition.
* tui/tui-regs.c: Include "tui/tui-regs.h".
(tui_display_reg_element_at_line): Make it static.
(_initialize_tui_regs): Declare before definition.
* tui/tui-stack.c (_initialize_tui_stack): Declare before
definition.
* tui/tui-win.c: Include "tui/tui-win.h".
(_initialize_tui_win): Declare before definition.
(tui_sigwinch_handler): Make it static.  Wrap in ifdef SIGWINCH.
* tui/tui-win.h (tui_sigwinch_handler): Delete declaration.
(tui_get_cmd_list): Add a prototype.
* tui/tui-windata.c: Include tui-windata.h.
* tui/tui-wingeneral.c (box_win): Make it static.
* cli/cli-logging.c (show_logging_command): Make it static.
(_initialize_cli_logging): Declare before definition.
* mi/mi-common.c (_initialize_gdb_mi_common): Declare before
definition.

15 years agodaily update
Alan Modra [Sat, 21 Feb 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 21 Feb 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime
Cary Coutant [Fri, 20 Feb 2009 18:53:12 +0000 (18:53 +0000)]
* vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime
in struct stat.

15 years ago * Extend use of i386_use_watchpoints to all i386 native files
Pierre Muller [Fri, 20 Feb 2009 10:52:24 +0000 (10:52 +0000)]
* Extend use of i386_use_watchpoints to all i386 native files
using hardware watchpoints.
go32-nat.c (init_go32_ops): Call i386_use_watchpoints.
i386fbsd-nat.c (_initialize_i386fbsd_nat): Ditto.
windows-nat.c (init_windows_ops): Ditto.
config/i386/nm-cygwin.h: Define I386_WATCHPOINTS_IN_TARGET_VECTOR.
config/i386/nm-cygwin64.h: Ditto.
config/i386/nm-fbsd.h: Ditto.
config/i386/nm-go32.h: Ditto.

15 years ago*** empty log message ***
gdbadmin [Fri, 20 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 20 Feb 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * ada-typeprint.c (ada_typedef_print): Remove. Unused.
Joel Brobecker [Thu, 19 Feb 2009 23:59:27 +0000 (23:59 +0000)]
    * ada-typeprint.c (ada_typedef_print): Remove.  Unused.

15 years agogas/testsuite/
Peter Bergner [Thu, 19 Feb 2009 21:18:46 +0000 (21:18 +0000)]
gas/testsuite/
* gas/ppc/e500mc.d ("lfdepx", "stfdepx"): Fix tests to expect a
floating point register.

opcodes/
* ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
operand to be a float point register (FRT/FRS).

15 years agodaily update
Alan Modra [Thu, 19 Feb 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 19 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
Jan Kratochvil [Wed, 18 Feb 2009 22:24:37 +0000 (22:24 +0000)]
* gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
(list_and_check_macro): Use more specific test name.
(next to definition): Make the test names unique.

15 years agoopcodes/
Adam Nemet [Wed, 18 Feb 2009 20:51:59 +0000 (20:51 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
dmfc2 and dmtc2 before the architecture-level variants.

gas/testsuite/
* gas/mips/octeon.s: Add more tests for dmfc2 and dmtc2.
* gas/mips/octeon.d: Update.
* gas/mips/octeon-ill.l: Update error message.

15 years ago * gdb.texinfo (GDB/MI Async Records): Add double-spaces
Vladimir Prus [Wed, 18 Feb 2009 19:45:45 +0000 (19:45 +0000)]
   * gdb.texinfo (GDB/MI Async Records): Add double-spaces
       between sentences.

15 years ago PR gas/7059
Dave Korn [Wed, 18 Feb 2009 18:38:06 +0000 (18:38 +0000)]
PR gas/7059
* coffcode.h (coff_write_object_contents):  Don't let the string
table offset overflow the s_name field when using long section names.