platform/upstream/binutils.git
17 years ago2007-01-04 Qinwei <qinwei@sunnorth.com.cn>
Qinwei [Thu, 4 Jan 2007 07:09:54 +0000 (07:09 +0000)]
2007-01-04  Qinwei  <qinwei@sunnorth.com.cn>

* NEWS: New port to S+core.
* MAINTAINERS (Write After Approval, Responsible Maintainers):
Add myself.

* Makefile.in: Add dependencies for S+core files.
* configure.tgt (score*, score-*-*): Add S+core target.
* config/score/embed.mt: New file.
* score-tdep.c: New file.
* score-tdep.h: New file.

17 years ago * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
Joel Brobecker [Thu, 4 Jan 2007 06:31:52 +0000 (06:31 +0000)]
    * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
        the appropriate type rather than a bogus void type.

17 years ago * gdb.ada/catch_ex/foo.adb: New file.
Joel Brobecker [Thu, 4 Jan 2007 05:39:01 +0000 (05:39 +0000)]
    * gdb.ada/catch_ex/foo.adb: New file.
        * gdb.ada/catch_ex.exp: New testcase.

17 years ago2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Jan 2007 05:35:52 +0000 (05:35 +0000)]
2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (swap_operands): Remove branches.

17 years agoCorrect entry date.
Joel Brobecker [Thu, 4 Jan 2007 05:32:09 +0000 (05:32 +0000)]
Correct entry date.

17 years ago * ada-lang.h (ada_find_printable_frame): Remove.
Joel Brobecker [Thu, 4 Jan 2007 05:27:31 +0000 (05:27 +0000)]
    * ada-lang.h (ada_find_printable_frame): Remove.
        (ada_exception_catchpoint_p, ada_decode_exception_location)
        (ada_decode_assert_location): Add declaration.
        * ada-lang.c: Add include of annotate.h and valprint.h.
        (exception_catchpoint_kind): New enum.
        (function_name_from_pc, is_known_support_routine)
        (ada_find_printable_frame, ada_unhandled_exception_name_addr)
        (ada_exception_name_addr_1, ada_exception_name_addr)
        (print_it_exception, print_one_exception, print_mention_exception)
        (print_it_catch_exception, print_one_catch_exception)
        (print_mention_catch_exception, catch_exception_breakpoint_ops)
        (print_it_catch_exception_unhandled)
        (print_one_catch_exception_unhandled)
        (print_mention_catch_exception_unhandled, print_it_catch_assert)
        (print_one_catch_assert, print_mention_catch_assert)
        (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
        (ada_get_next_arg, catch_ada_exception_command_split)
        (ada_exception_sym_name, ada_exception_sym_name)
        (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
        (ada_parse_catchpoint_condition, ada_exception_sal)
        (ada_decode_exception_location)
        (ada_decode_assert_location): New function.
        (catch_exception_unhandled_breakpoint_ops): New global variable.
        (catch_assert_breakpoint_ops): New global variable.
        * breakpoint.c: Add include of ada-lang.h.
        (print_one_breakpoint): Do not print the condition for Ada
        exception catchpoints.
        (create_ada_exception_breakpoint): New function.
        (catch_ada_exception_command, catch_assert_command): New function.
        (catch_command_1): Add support for the new "catch exception" and
        "catch assert" commands.
        (_initialize_breakpoint): Add help description for the new catch
        commands.
        * Makefile.in (ada-lang.o): Add dependency on annotate.h and
        valprint.h.
        (breakpoint.o): Add dependency on ada-lang.h.

17 years ago2007-01-04 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 4 Jan 2007 04:39:53 +0000 (04:39 +0000)]
2007-01-04  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
and vacle.

gas/testsuite/
* gas/arm/neon-cov.d: Adjust expected output.
* gas/arm/neon-omit.s: Add tests for vcgt and vcle.  Reorder vacle
and vacle.
* gas/arm/neon-omit.d: Adjust expected output.

17 years agoSync with gcc:
Daniel Jacobowitz [Thu, 4 Jan 2007 04:32:36 +0000 (04:32 +0000)]
Sync with gcc:
* Makefile.def (target_modules): Add libgcc.
(lang_env_dependencies): Remove default items.  Use no_c and no_gcc.
* Makefile.tpl (clean-target-libgcc): Delete.
(configure-target-[+module+]): Emit --disable-bootstrap dependencies
on gcc even for bootstrapped modules.  Rewrite handling of
lang_env_dependencies to loop over target_modules.
* configure.in (target_libraries): Add target-libgcc.
* Makefile.in, configure: Regenerated.

17 years ago*** empty log message ***
gdbadmin [Thu, 4 Jan 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
Daniel Jacobowitz [Wed, 3 Jan 2007 23:06:29 +0000 (23:06 +0000)]
2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>

* coffread.c (cs_to_section): If bfd_section is found, always
return its section index.
(coff_symtab_read): Determine the minimal_symbol_type using the
bfd_section flags.

* gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
pass --image-base to linker.

17 years agodaily update
Alan Modra [Wed, 3 Jan 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Jan 2007 22:54:45 +0000 (22:54 +0000)]
2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Update copyright year.
* config/tc-i386.h: Likewise.

17 years ago2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Jan 2007 22:48:52 +0000 (22:48 +0000)]
2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (smallest_imm_type): Return unsigned int
instead of int.

17 years ago2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Jan 2007 22:36:19 +0000 (22:36 +0000)]
2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Convert to ISO C90 formatting
* config/tc-i386.h: Likewise.

17 years agoMove 2006 ChangeLog entries to ChangeLog-2006.
H.J. Lu [Wed, 3 Jan 2007 22:32:05 +0000 (22:32 +0000)]
Move 2006 ChangeLog entries to ChangeLog-2006.

17 years ago2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz [Wed, 3 Jan 2007 21:46:12 +0000 (21:46 +0000)]
2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.in (top.o): Update.
* top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
(saved_after_char_processing_hook, gdb_readline_wrapper_line)
(struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
New.
(gdb_readline_wrapper): Rewrite to use asynchronous readline.

2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* gdb.base/readline.exp: Set $TERM.  Test arrow keys in
secondary prompts.

17 years ago* arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
Mark Kettenis [Wed, 3 Jan 2007 20:54:32 +0000 (20:54 +0000)]
* arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
(arm_linux_init_abi): Don't set deprecated_extract_return_value.

17 years agoRemove ">>>>>>> 1.3701".
H.J. Lu [Wed, 3 Jan 2007 20:23:28 +0000 (20:23 +0000)]
Remove ">>>>>>> 1.3701".

17 years ago Warning fixes.
Daniel Jacobowitz [Wed, 3 Jan 2007 19:01:25 +0000 (19:01 +0000)]
Warning fixes.
* ada-lang.c (find_struct_field): Initialize *byte_offset_p.
* breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
* c-typeprint.c (c_type_print_varspec_suffix): Don't test length
greater than or equal to zero.
* m2-typeprint.c (m2_array): Likewise.
* p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
* gdbtypes.c (copy_type_recursive): Correct == typo.
* i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
* linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
greater than zero.
* macroscope.c (sal_macro_scope): Don't name a local variable "main".
(default_macro_scope): Remove unused variable.
* prologue-value.h (pv_area_find_reg): Don't name an argument
"register".
* remote-fileio.c (remote_fio_func_map): Add missing braces.
* remote.c (sigint_remote_twice_token, sigint_remote_token): Change
type.
(cleanup_sigint_signal_handler): Remove casts.
* valprint.c (val_print): Use a volatile local for the modified
argument.
* varobj.c (languages): Remove extra array dimension.
(varobj_create): Correct access to languages array.
* mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
missing braces.
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
* mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
* mi/mi-getopt.c (mi_valid_noargs): Likewise.
* mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
(mi_cmd_data_write_memory): Likewise.
* signals/signals.c (target_signal_to_string): Cast to int before
comparing.
* tui/tui-layout.c (init_and_make_win): Take and return a void *.
Update all callers.

17 years ago * config/tc-mips.c (md_show_usage): Clean up -mno-shared
David Daney [Wed, 3 Jan 2007 18:12:52 +0000 (18:12 +0000)]
* config/tc-mips.c (md_show_usage):  Clean up -mno-shared
documentation.

17 years ago * NEWS: Mention pointer to member improvements.
Daniel Jacobowitz [Wed, 3 Jan 2007 18:05:45 +0000 (18:05 +0000)]
* NEWS: Mention pointer to member improvements.
* Makefile.in (gnu-v3-abi.o): Delete special rule.
(eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
* ada-valprint.c (ada_print_scalar): Update for new type codes.
* c-typeprint.c (c_print_type): Update for new type codes.
(c_type_print_varspec_prefix, c_type_print_varspec_suffix)
(c_type_print_base): Likewise.
(c_type_print_args): Rewrite.
* c-valprint.c (c_val_print): Update for new type codes.  Remove
support for references to members.  Treat methods like functions.
* cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
(cplus_make_method_ptr, cplus_method_ptr_to_value): New.
* cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
(cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
(struct cp_abi_ops): Add corresponding members.
* cp-valprint.c (cp_print_class_method): Delete.
(cp_find_class_member): New function.
(cp_print_class_member): Use it.  Simplify support for bogus
member pointers.
* dwarf2read.c (quirk_gcc_member_function_pointer): Use
lookup_methodptr_type.
(read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
* eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
OP_SCOPE.  Update call to value_aggregate_elt.  Rewrite member
pointer support.
(evaluate_subexp_for_address): Handle OP_SCOPE explicitly.  Handle
references returned by user defined operators.
* f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
(f_type_print_varspec_suffix): Remove support for member pointers.
* gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
and adjusted.
(smash_to_memberptr_type): Likewise, from smash_to_member_type.
(lookup_methodptr_type): New.
(rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
(recursive_dump_type): Update for new types.
* gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
(lookup_memberptr_type, lookup_methodptr_type)
(smash_to_memberptr_type): New prototypes.
(smash_to_method_type): Formatting fix.
(lookup_member_type, smash_to_member_type): Delete prototypes.
* gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
Do not rely on debug information for the vptr or the method's
enclosing type.  Handle function descriptors for IA64.
(gnuv3_virtual_fn_field): Rewrite using the new functions.
(gnuv3_find_method_in, gnuv3_print_method_ptr)
(gnuv3_method_ptr_size, gnuv3_make_method_ptr)
(gnuv3_method_ptr_to_value): New.
(init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
* hpread.c (hpread_type_lookup): Update for new types.
* infcall.c (value_arg_coerce): Likewise.
* m2-typeprint.c (m2_print_type): Remove explicit support
for member pointers.
* m2-valprint.c (m2_val_print): Likewise.
* p-typeprint.c (pascal_type_print_varspec_prefix)
(pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
* p-valprint.c (pascal_val_print): Likewise.
(pascal_object_print_class_method, pascal_object_print_class_member):
Delete.
* p-lang.h (pascal_object_print_class_method)
(pascal_object_print_class_member): Delete prototypes.
* stabsread.c (read_type): Update for new types.
* typeprint.c (print_type_scalar): Likewise.
* valops.c (value_struct_elt_for_reference, value_namespace_elt)
(value_maybe_namespace_elt, value_aggregate_elt): Add want_address
argument.  Construct a pointer to member if the address of a
function or data member is requested.
(value_cast_pointers): Don't modify the input value.
(value_cast): Adjust pointer to member handling for new types.
Allow null pointer to member constants.  Don't modify the input
value.
(value_ind): Remove pointer to member check.  Handle function
descriptors for function pointers.
(value_struct_elt, value_find_oload_method_list, check_field):
Remove pointer to member checks.
* value.c (unpack_long): Allow pointers to data members.
(value_from_longest): Allow member pointers.
* value.h (value_aggregate_elt): Add want_address.
* varobj.c (c_variable_editable): Remove check for members.
* gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
* ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
in virtual tables.
(ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
* c-lang.h (cp_print_class_method): Delete prototype.
* arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
* mips-tdep.c (mips_gdbarch_init): Likewise.
* gdbarch.c, gdbarch.h: Regenerated.

* gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
output.  Test the types of members and member pointers.
* gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
gdb/2092.
* gdb.cp/member-ptr.exp: Search for a comment instead of a
statement.  Enable for GCC.  Update expected output for some tests
and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
layout.
* gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
(Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
(Diamond::vget_base): New.
(main): Add new tests.
* gdb.cp/printmethod.exp: Update expected output for member functions.
* gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
print pEe->D::vg().

17 years ago * linux-low.c (linux_kill): Handle being called with no threads.
Daniel Jacobowitz [Wed, 3 Jan 2007 17:57:16 +0000 (17:57 +0000)]
* linux-low.c (linux_kill): Handle being called with no threads.
* win32-i386-low.c (win32_kill): Likewise.
(get_child_debug_event): Clear current_process_handle.

17 years ago * gdb.threads/tls.exp: Allow stops in sem_post.
Daniel Jacobowitz [Wed, 3 Jan 2007 17:30:18 +0000 (17:30 +0000)]
* gdb.threads/tls.exp: Allow stops in sem_post.

17 years ago*** empty log message ***
gdbadmin [Wed, 3 Jan 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 2 Jan 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago* rs6000-tdep.c (rs6000_use_struct_convention)
Mark Kettenis [Tue, 2 Jan 2007 19:21:13 +0000 (19:21 +0000)]
* rs6000-tdep.c (rs6000_use_struct_convention)
(rs6000_extract_return_value, rs6000_store_return_value)
(rs6000_extract_struct_value_address): Remove.
(rs6000_return_value): New function.
(rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
store_return_value, deprecated_extract_struct_value_address and
deprecated_use_struct_convention.  Use rs6000_return_value
instead.

17 years ago2007-01-01 Mike Stump <mrs@apple.com>
Paolo Bonzini [Tue, 2 Jan 2007 07:58:22 +0000 (07:58 +0000)]
2007-01-01  Mike Stump  <mrs@apple.com>

* mh-ppc-darwin: Remove support for building with Apple's gcc-3.1.

17 years ago * pe-dll.c: Include pe-dll.h.
Alan Modra [Tue, 2 Jan 2007 07:43:13 +0000 (07:43 +0000)]
* pe-dll.c: Include pe-dll.h.
* pep-dll.c (pe_bfd_is_dll): Define.

17 years ago(mi_cmds): Remove entries for -display-delete,
Nick Roberts [Tue, 2 Jan 2007 07:04:15 +0000 (07:04 +0000)]
(mi_cmds): Remove entries for -display-delete,
-display-disable, -display-enable, -display-insert and
-display-list.

17 years ago*** empty log message ***
Nick Roberts [Tue, 2 Jan 2007 06:58:36 +0000 (06:58 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
gdbadmin [Tue, 2 Jan 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 1 Jan 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * breakpoint.c (remove_breakpoint): Remove dead code.
Joel Brobecker [Mon, 1 Jan 2007 14:10:40 +0000 (14:10 +0000)]
    * breakpoint.c (remove_breakpoint): Remove dead code.

17 years ago * gdbint.texinfo (Start of New Year Procedure): Add missing item.
Joel Brobecker [Mon, 1 Jan 2007 14:04:18 +0000 (14:04 +0000)]
    * gdbint.texinfo (Start of New Year Procedure): Add missing item.

17 years agoInclude block.h.
Nick Roberts [Mon, 1 Jan 2007 12:01:04 +0000 (12:01 +0000)]
Include block.h.
(c_value_of_root): Check scope within nested statements.

17 years ago*** empty log message ***
Nick Roberts [Mon, 1 Jan 2007 12:00:33 +0000 (12:00 +0000)]
*** empty log message ***

17 years ago* mi/mi-main.c (mi_cmd_data_write_register_values): Use
Mark Kettenis [Mon, 1 Jan 2007 11:17:28 +0000 (11:17 +0000)]
* mi/mi-main.c (mi_cmd_data_write_register_values): Use
regcache_cooked_write_signed instead of
deprecated_write_register_bytes.

17 years ago * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
Joel Brobecker [Mon, 1 Jan 2007 07:01:30 +0000 (07:01 +0000)]
    * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.

17 years ago Followed the Start of New Year Procedure:
Joel Brobecker [Mon, 1 Jan 2007 05:57:49 +0000 (05:57 +0000)]
    Followed the Start of New Year Procedure:
        * ChangeLog-2006: New file, containing all the entries for 2006.
        * ChangeLog: Removed all 2006 entries, and changed the reference
        to the previous ChangeLog to point to ChangeLog 2006.
        * top.c (print_gdb_version): Update copyright year.

17 years ago*** empty log message ***
gdbadmin [Mon, 1 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago* Makefile.in (remote-sds.o): Remove.
Mark Kettenis [Sun, 31 Dec 2006 23:59:07 +0000 (23:59 +0000)]
* Makefile.in (remote-sds.o): Remove.
* remote-sds.c: Delete.

17 years agodaily update
Alan Modra [Sun, 31 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * linux-nat.c (lin_lwp_attach_lwp): Return a status. Do not
Daniel Jacobowitz [Sun, 31 Dec 2006 21:04:51 +0000 (21:04 +0000)]
* linux-nat.c (lin_lwp_attach_lwp): Return a status.  Do not
add the LWP to our list until we are attached.  Warn instead
of erroring if the attach fails.
* linux-nat.h (lin_lwp_attach_lwp): New prototype.
* linux-thread-db.c (attach_thread): Call lin_lwp_attach_lwp
directly.  Do not add the thread to our list until we are
successfully attached.
* config/nm-linux.h (lin_lwp_attach_lwp, ATTACH_LWP): Delete.

17 years ago * configure.ac: Add tests for TD_VERSION and TD_NOTLS.
Daniel Jacobowitz [Sun, 31 Dec 2006 20:20:13 +0000 (20:20 +0000)]
* configure.ac: Add tests for TD_VERSION and TD_NOTLS.
* linux-thread-db.c (thread_db_err_str): Recognize TD_NOTALLOC,
TD_VERSION, and TD_NOTLS.
* configure, config.in: Regenerated.

17 years ago * gdb.base/annota1.exp: Allow .*printf in backtraces.
Daniel Jacobowitz [Sun, 31 Dec 2006 20:01:25 +0000 (20:01 +0000)]
* gdb.base/annota1.exp: Allow .*printf in backtraces.
* gdb.base/annota3.exp: Likewise.
* gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
again (instead of timing out).
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
GCC bug 26475.
* gdb.java/jmisc.exp: Adjust to work with method signatures including
return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
test from jmisc1.exp.
* gdb.java/jmisc1.exp: Delete.
* gdb.java/jprint.exp: Adjust to work with method signatures including
return types.
* gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
* gdb.threads/linux-dp.exp: Don't be confused by program output.
* lib/java.exp (compile_java_from_source): Pass the correct type
to target_compile.

17 years ago2006-12-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 31 Dec 2006 17:23:07 +0000 (17:23 +0000)]
2006-12-31  H.J. Lu  <hongjiu.lu@intel.com>

* bfd.c (bfd_record_phdr): Call bfd_zalloc instead of bfd_alloc
to allocate elf_segment_map.

17 years ago * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
Joel Brobecker [Sun, 31 Dec 2006 14:51:57 +0000 (14:51 +0000)]
    * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
        (stack_align_edx): New function.
        (stack_align_eax): New function.
        (main): Add calls to stack_align_edx and stack_align_eax.
        * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
        Add testing for the cases where the register used during a stack
        realignment is edx. Same for eax.

17 years ago * i386-tdep.c (i386_analyze_stack_align): Add handling of two
Joel Brobecker [Sun, 31 Dec 2006 14:50:37 +0000 (14:50 +0000)]
    * i386-tdep.c (i386_analyze_stack_align): Add handling of two
        other possible code sequences that perform a stack realignment.

17 years ago* sparc64-tdep.h (SPARC64_PSTATE_AG, SPARC64_PSTATE_IE)
Mark Kettenis [Sun, 31 Dec 2006 01:28:07 +0000 (01:28 +0000)]
* sparc64-tdep.h (SPARC64_PSTATE_AG, SPARC64_PSTATE_IE)
(SPARC64_PSTATE_PRIV, SPARC64_PSTATE_AM, SPARC64_PSTATE_PEF)
(SPARC64_PSTATE_RED, SPARC64_PSTATE_TLE, SPARC64_PSTATE_CLE)
(SPARC64_PSTATE_PID0, SPARC64_PSTATE_PID1): New defines.
* sparc64nbsd-nat.c: Include "gdbcore.h".
(sparc64nbsd_supply_pcb): Get %pc from stack if necessary.  Supply
processor state register.
* sparc64obsd-tdep.c (sparc64obsd_trapframe_cache)
(sparc64obsd_trapframe_this_id)
(sparc64obsd_trapframe_prev_register)
(sparc64obsd_trapframe_sniffer): New functions.
(sparc64obsd_trapframe_unwind): New variable.
(sparc64obsd_init_abi): Append trapframe unwinder.
* Makefile.in (sparc64nbsd-nat.o): Update dependencies.

17 years ago*** empty log message ***
gdbadmin [Sun, 31 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 30 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
Daniel Jacobowitz [Sat, 30 Dec 2006 20:32:47 +0000 (20:32 +0000)]
* lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
and generic PE targets.

17 years ago2006-12-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 30 Dec 2006 19:32:49 +0000 (19:32 +0000)]
2006-12-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (ShiftCount): Fix a comment typo.

17 years ago2006-12-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 30 Dec 2006 18:37:29 +0000 (18:37 +0000)]
2006-12-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_show_usage): Mention --32/--64.

17 years ago * infrun.c (handle_inferior_event): Don't call
Daniel Jacobowitz [Sat, 30 Dec 2006 15:56:00 +0000 (15:56 +0000)]
* infrun.c (handle_inferior_event): Don't call
ENSURE_VFORKING_PARENT_REMAINS_STOPPED.
* target.h (ENSURE_VFORKING_PARENT_REMAINS_STOPPED): Delete.
(RESUME_EXECD_VFORKING_CHILD_TO_GET_PARENT_VFORK): Delete.

17 years ago * remote-utils.c (remote_open): Check the type of specified
Daniel Jacobowitz [Sat, 30 Dec 2006 15:44:51 +0000 (15:44 +0000)]
* remote-utils.c (remote_open): Check the type of specified
serial port devices before opening them.
* server.c (main): Kill the inferior if an error occurs during
the first remote_open.

17 years ago*** empty log message ***
gdbadmin [Sat, 30 Dec 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 29 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years agogas/
H.J. Lu [Fri, 29 Dec 2006 21:48:48 +0000 (21:48 +0000)]
gas/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Handle shift count
register with 3 operands.

gas/testsuite/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/intel.s: Add tests for "shrd %cl,%edx,%eax" and
"shld %cl,%edx,%eax".
* gas/i386/opcode.s: Likewise.

* gas/i386/intel.d: Updated.
* gas/i386/opcode-intel.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.

17 years ago* sparc-tdep.c (sparc_psr_type, sparc_fsr_type): New variables.
Mark Kettenis [Fri, 29 Dec 2006 21:00:47 +0000 (21:00 +0000)]
* sparc-tdep.c (sparc_psr_type, sparc_fsr_type): New variables.
(sparc_init_types): New function.
(sparc32_register_type): Use appropriate flag types for %fsr and
%prs.
(_initialize_sparc_tdep): Call sparc_init_types.

17 years agobfd/
H.J. Lu [Fri, 29 Dec 2006 17:56:32 +0000 (17:56 +0000)]
bfd/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_add_object_symbols): Remember the symbol
size only if it is defined.

ld/testsuite/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/wrap.exp: New file.
* ld-elf/wrap1.c: Likewise.
* ld-elf/wrap1.out: Likewise.
* ld-elf/wrap1a.c: Likewise.
* ld-elf/wrap1b.c: Likewise.

17 years ago2006-12-29 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 29 Dec 2006 17:09:59 +0000 (17:09 +0000)]
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Reorganize recognition of languages.  Add
        --enable-stage1-languages.  Show supported languages for the chosen
        target rather than all recognized languages.
        * configure: Regenerate.

2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove.
        * Makefile.in: Regenerate.

2006-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * configure.in: Warn that MPFR 2.2.0 is buggy.
        * configure: Regenerate.

config:
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4: Sync with gcc.

17 years ago * gdb.ada/array_return.exp: Update copyright date list.
Joel Brobecker [Fri, 29 Dec 2006 11:49:44 +0000 (11:49 +0000)]
    * gdb.ada/array_return.exp: Update copyright date list.

17 years ago* memory-map.c (memory_map_end_element): Move variable
Mark Kettenis [Fri, 29 Dec 2006 09:46:35 +0000 (09:46 +0000)]
* memory-map.c (memory_map_end_element): Move variable
declarations to the begining of the block.

17 years ago2006-12-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 29 Dec 2006 06:02:04 +0000 (06:02 +0000)]
2006-12-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_operands): Check i.reg_operands
and increment i.operands when adding a register operand.
(build_modrm_byte): Fix 4 operand instruction handling.

17 years ago*** empty log message ***
gdbadmin [Fri, 29 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * ia64-tdep.c (get_kernel_table): Correct signedness in check
Daniel Jacobowitz [Thu, 28 Dec 2006 23:48:51 +0000 (23:48 +0000)]
* ia64-tdep.c (get_kernel_table): Correct signedness in check
for a negative return value.

17 years agodaily update
Alan Modra [Thu, 28 Dec 2006 23:00:09 +0000 (23:00 +0000)]
daily update

17 years agoConsolidate Gary Funck's two ChangeLog entries.
Jim Blandy [Thu, 28 Dec 2006 19:55:23 +0000 (19:55 +0000)]
Consolidate Gary Funck's two ChangeLog entries.

17 years ago2006-12-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 28 Dec 2006 07:09:16 +0000 (07:09 +0000)]
2006-12-27  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (disp_expressions): Use MAX_MEMORY_OPERANDS
for array size instead of 2.
(im_expressions): Use MAX_IMMEDIATE_OPERANDS for for array size
instead of 2.
(i386_immediate): Update immediate operand overflow error
message.
(i386_displacement): Check displacement operand overflow.

17 years ago*** empty log message ***
gdbadmin [Thu, 28 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * configure.in: When removing Makefiles to force a reconfigure, also
Ian Lance Taylor [Wed, 27 Dec 2006 23:46:00 +0000 (23:46 +0000)]
* configure.in: When removing Makefiles to force a reconfigure, also
remove prev-DIR*/Makefile.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Wed, 27 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-27 Gary Funck <gary@intrepid.com>
Gary Funck [Wed, 27 Dec 2006 22:38:57 +0000 (22:38 +0000)]
2006-12-27  Gary Funck  <gary@intrepid.com>

* dwarf2read.c (dwarf_attr_name, dwarf_cfi_name)
(dwarf_stack_op_name, dwarf_tag_name)
(dwarf_type_encoding_name): Decode additional DWARF 2
and DWARF 3 codes into their corresponding string names.

17 years ago* MAINTAINERS (Write After Approval): Add myself.
Gary Funck [Wed, 27 Dec 2006 21:29:33 +0000 (21:29 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

17 years ago2006-12-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 27 Dec 2006 18:34:08 +0000 (18:34 +0000)]
2006-12-27  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Document tc-i386.c, not i386.c.

17 years ago * gas/m68k/all.exp: Add support for fido.
Kazu Hirata [Wed, 27 Dec 2006 07:22:43 +0000 (07:22 +0000)]
* gas/m68k/all.exp: Add support for fido.
* gas/m68k/fido.d, gas/m68k/fido.s: New.

17 years agogas/
Kazu Hirata [Wed, 27 Dec 2006 07:15:02 +0000 (07:15 +0000)]
gas/
* config/m68k-parse.h (m68k_register): Add CAC and MBB.
* config/tc-m68k.c (fido_ctrl): New.
(m68k_archs): Use fido_ctrl for -mfidoa.
(m68k_cpus): Use fido_ctrl on fido-*-*.
(m68k_ip): Add support for CAC and MBB.
(init_table): Add CAC and MBB.

opcodes/
* m68k-dis.c (print_insn_arg): Add support for cac and mbb.

17 years ago * m68k-opc.c (m68k_opcodes): Add sleep and trapx.
Kazu Hirata [Wed, 27 Dec 2006 07:10:10 +0000 (07:10 +0000)]
* m68k-opc.c (m68k_opcodes): Add sleep and trapx.

17 years ago * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
Joel Brobecker [Wed, 27 Dec 2006 06:12:36 +0000 (06:12 +0000)]
    * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
        (Create_Small_Float_Vector): New function.
        * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
        function body.
        * gdb.ada/array_return/p.adb: Use new type and function from
        package Pck.
        * gdb.ada/array_return.exp: Add a test verifying that GDB is
        able to print the value returned by a function returning an
        array of float.

17 years ago*** empty log message ***
gdbadmin [Wed, 27 Dec 2006 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2006-12-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 26 Dec 2006 23:42:11 +0000 (23:42 +0000)]
2006-12-26  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_immediate): Remove prototype.

17 years agodaily update
Alan Modra [Tue, 26 Dec 2006 23:00:11 +0000 (23:00 +0000)]
daily update

17 years ago * sparc64-tdep.c (sparc64_extract_return_value): Add handling
Joel Brobecker [Tue, 26 Dec 2006 05:03:11 +0000 (05:03 +0000)]
    * sparc64-tdep.c (sparc64_extract_return_value): Add handling
        for array types.
        (sparc64_store_return_value): Likewise.

17 years ago*** empty log message ***
gdbadmin [Tue, 26 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 25 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agobfd/
Kazu Hirata [Mon, 25 Dec 2006 22:39:21 +0000 (22:39 +0000)]
bfd/
* archures.c (bfd_mach_cpu32_fido): New.
(bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a,
bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac,
bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp,
bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac,
bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac,
bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float,
bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac):
Increment the defined values.
* bfd-in2.h: Regenerate.
* cpu-m68k.c (arch_info_struct): Add en entry for
bfd_mach_cpu32_fido.
* elf32-m68k.c (elf32_m68k_object_p): Handle
EF_M68K_CPU32_FIDO_A.
(elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK.
(elf32_m68k_print_private_bfd_data): Handle
EF_M68K_CPU32_FIDO_A.

binutils/
* readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.

gas/
* config/tc-m68k.c (cpu_of_arch): Add fido.
(m68k_archs, m68k_cpu): Add entries for fido.
(m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A.

include/elf/
* m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New.

include/opcode/
* m68k.h (fido_a): New.

17 years ago * config/tc-score.c (build_lw_pic): Rename as build_lwst_pic.
Mei Ligang [Mon, 25 Dec 2006 09:26:22 +0000 (09:26 +0000)]
* config/tc-score.c (build_lw_pic): Rename as build_lwst_pic.
Delete the code handling large constant for PIC.
Modify some comments.
(score_relax_frag): Decrease insn_addr in certain situation.
(s_score_cprestore): Change .cprestore syntax from ".cprestore offset"
to ".cprestore reg, offset".

17 years ago * elf32-score.c (score_elf_got_lo16_reloc): Change some variables type from
Mei Ligang [Mon, 25 Dec 2006 09:22:06 +0000 (09:22 +0000)]
* elf32-score.c (score_elf_got_lo16_reloc): Change some variables type from
unsigned to signed.
(score_elf_final_link_relocate): Fix bugs of handling relocation type R_SCORE_GOT15,
R_SCORE_GOT_LO16, and R_SCORE_REL32.
(_bfd_score_elf_relocate_section): Handle R_SCORE_GOT_LO16 specially.

17 years ago*** empty log message ***
gdbadmin [Mon, 25 Dec 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 24 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
Kazu Hirata [Sun, 24 Dec 2006 02:58:37 +0000 (02:58 +0000)]
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
values.

17 years agobfd/
Kazu Hirata [Sun, 24 Dec 2006 02:48:59 +0000 (02:48 +0000)]
bfd/
* config.bfd: Recognize fido.

gas/
* configure.tgt: Recognize fido.

ld/
* configure.tgt: Recognize fido.

17 years ago*** empty log message ***
gdbadmin [Sun, 24 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 23 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
Jakub Jelinek [Sat, 23 Dec 2006 09:57:38 +0000 (09:57 +0000)]
* elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
* elfxx-target.h (elf_backend_as_needed_cleanup): Define.
(elfNN_bed): Add as_needed_cleanup hook.
* elflink.c (elf_link_add_object_symbols): Call it when reverting
hash table changes for unneeded --as-needed input.
* elf64-ppc64.c (elf_backend_as_needed_cleanup): Define.
(ppc64_elf_as_needed_cleanup): New function.

17 years ago*** empty log message ***
gdbadmin [Sat, 23 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 22 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 22 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 21 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update