OSDN Git Service
brobecke [Thu, 4 Jan 2007 05:32:09 +0000 (05:32 +0000)]
Correct entry date.
brobecke [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.
pbrook [Thu, 4 Jan 2007 04:39:52 +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.
drow [Thu, 4 Jan 2007 04:32:35 +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.
gdbadmin [Thu, 4 Jan 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
drow [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.
amodra [Wed, 3 Jan 2007 23:00:06 +0000 (23:00 +0000)]
daily update
hjl [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.
hjl [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.
hjl [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.
hjl [Wed, 3 Jan 2007 22:32:05 +0000 (22:32 +0000)]
Move 2006 ChangeLog entries to ChangeLog-2006.
brolley [Wed, 3 Jan 2007 21:58:25 +0000 (21:58 +0000)]
2007-01-03 Dave Brolley <brolley@redhat.com>
* lcd-char-display.cxx (_BOOL): New macro definition.
drow [Wed, 3 Jan 2007 21:46:10 +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.
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.
kettenis [Wed, 3 Jan 2007 20:53:05 +0000 (20:53 +0000)]
* arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
(arm_linux_init_abi): Don't set deprecated_extract_return_value.
hjl [Wed, 3 Jan 2007 20:23:28 +0000 (20:23 +0000)]
Remove ">>>>>>> 1.3701".
drow [Wed, 3 Jan 2007 19:01:24 +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.
daney [Wed, 3 Jan 2007 18:12:52 +0000 (18:12 +0000)]
* config/tc-mips.c (md_show_usage): Clean up -mno-shared
documentation.
drow [Wed, 3 Jan 2007 18:05:42 +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().
drow [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.
drow [Wed, 3 Jan 2007 17:30:18 +0000 (17:30 +0000)]
* gdb.threads/tls.exp: Allow stops in sem_post.
jjohnstn [Wed, 3 Jan 2007 16:55:25 +0000 (16:55 +0000)]
2006-01-03 Kazu Hirata <kazu@codesourcery.com>
* arm/Makefile (RDPMON_OBJS): Add _exit.o and _kill.o.
(RDIMON_OBJS): Define in terms of RDPMON_OBJS.
(rdimon-_exit.o, rdimon-_kill.o): New.
* arm/_exit.c, arm/_kill.c: New.
* arm/syscalls.c (_exit, _kill): Remove.
jjohnstn [Wed, 3 Jan 2007 16:47:53 +0000 (16:47 +0000)]
2007-01-03 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-
20060320-branch:
2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
* m68k/cf-crt0.S (__start): Adjust semihosting.
corinna [Wed, 3 Jan 2007 11:14:52 +0000 (11:14 +0000)]
* ChangeLog: Happy New Year.
* ChangeLog-2006: Move 2006 changelogs here.
* spawn.cc: Bump copyright.
gdbadmin [Wed, 3 Jan 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 2 Jan 2007 23:00:10 +0000 (23:00 +0000)]
daily update
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.
jjohnstn [Tue, 2 Jan 2007 17:03:41 +0000 (17:03 +0000)]
2007-01-02 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-
20060320-branch:
2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
* m68k/cf-hosted.S (__hosted): Adjust semihosting.
jjohnstn [Tue, 2 Jan 2007 16:59:58 +0000 (16:59 +0000)]
2007-01-02 Ben Elliston <bje@au.ibm.com>
* doc/makedoc.c: Include <stdlib.h>.
(malloc, realloc): Remove extern declarations.
jjohnstn [Tue, 2 Jan 2007 16:51:42 +0000 (16:51 +0000)]
2007-01-02 Ben Elliston <bje@au.ibm.com>
* spu/time.c (time): Cast new sys.time value to unsigned int.
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.
amodra [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.
nickrob [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.
nickrob [Tue, 2 Jan 2007 06:58:36 +0000 (06:58 +0000)]
*** empty log message ***
gdbadmin [Tue, 2 Jan 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 1 Jan 2007 23:00:09 +0000 (23:00 +0000)]
daily update
cgf [Mon, 1 Jan 2007 19:37:19 +0000 (19:37 +0000)]
* spawn.cc (spawn_guts): Don't expect synchronization from a non-cygwin
_P_NOWAIT process.
brobecke [Mon, 1 Jan 2007 14:10:39 +0000 (14:10 +0000)]
* breakpoint.c (remove_breakpoint): Remove dead code.
brobecke [Mon, 1 Jan 2007 14:04:18 +0000 (14:04 +0000)]
* gdbint.texinfo (Start of New Year Procedure): Add missing item.
nickrob [Mon, 1 Jan 2007 12:01:04 +0000 (12:01 +0000)]
Include block.h.
(c_value_of_root): Check scope within nested statements.
nickrob [Mon, 1 Jan 2007 12:00:33 +0000 (12:00 +0000)]
*** empty log message ***
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.
brobecke [Mon, 1 Jan 2007 07:01:30 +0000 (07:01 +0000)]
* config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
brobecke [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.
gdbadmin [Mon, 1 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Sun, 31 Dec 2006 23:59:07 +0000 (23:59 +0000)]
* Makefile.in (remote-sds.o): Remove.
* remote-sds.c: Delete.
amodra [Sun, 31 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update
drow [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.
drow [Sun, 31 Dec 2006 20:20:12 +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.
drow [Sun, 31 Dec 2006 20:01:24 +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.
keithmarshall [Sun, 31 Dec 2006 18:03:33 +0000 (18:03 +0000)]
* include/libgen.h: New file; required by...
* mingwex/basename.c, mingwex/dirname.c: New files.
* mingwex/Makefile.in (DISTFILES): Add them...
(POSIX_OBJS): ...with corresponding basename.o, dirname.o
(Dependencies): Typo; s/Dependancies/Dependencies/
hjl [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.
brobecke [Sun, 31 Dec 2006 14:51:56 +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.
brobecke [Sun, 31 Dec 2006 14:50:36 +0000 (14:50 +0000)]
* i386-tdep.c (i386_analyze_stack_align): Add handling of two
other possible code sequences that perform a stack realignment.
kettenis [Sun, 31 Dec 2006 01:28:06 +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.
gdbadmin [Sun, 31 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 30 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update
drow [Sat, 30 Dec 2006 20:32:46 +0000 (20:32 +0000)]
* lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
and generic PE targets.
hjl [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.
hjl [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.
drow [Sat, 30 Dec 2006 15:55:59 +0000 (15:55 +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.
drow [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.
gdbadmin [Sat, 30 Dec 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 29 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update
hjl [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.
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.
hjl [Fri, 29 Dec 2006 17:56:31 +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.
bonzini [Fri, 29 Dec 2006 17:09:58 +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.
brobecke [Fri, 29 Dec 2006 11:49:44 +0000 (11:49 +0000)]
* gdb.ada/array_return.exp: Update copyright date list.
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.
hjl [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.
gdbadmin [Fri, 29 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
drow [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.
amodra [Thu, 28 Dec 2006 23:00:09 +0000 (23:00 +0000)]
daily update
jimb [Thu, 28 Dec 2006 19:55:23 +0000 (19:55 +0000)]
Consolidate Gary Funck's two ChangeLog entries.
hjl [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.
gdbadmin [Thu, 28 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
ian [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.
amodra [Wed, 27 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update
gfunck [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.
gfunck [Wed, 27 Dec 2006 21:29:32 +0000 (21:29 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
hjl [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.
kazu [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.
kazu [Wed, 27 Dec 2006 07:15:01 +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.
kazu [Wed, 27 Dec 2006 07:10:10 +0000 (07:10 +0000)]
* m68k-opc.c (m68k_opcodes): Add sleep and trapx.
brobecke [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.
gdbadmin [Wed, 27 Dec 2006 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
hjl [Tue, 26 Dec 2006 23:42:10 +0000 (23:42 +0000)]
2006-12-26 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (i386_immediate): Remove prototype.
amodra [Tue, 26 Dec 2006 23:00:11 +0000 (23:00 +0000)]
daily update
brobecke [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.
gdbadmin [Tue, 26 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
kazu [Mon, 25 Dec 2006 23:05:24 +0000 (23:05 +0000)]
* arm/licfunc.c (do_AngelSWI): Remove.
* arm/syscalls.c (do_AngelSWI): Remove.
* arm/swi.h (do_AngelSWI): New.
kazu [Mon, 25 Dec 2006 23:03:21 +0000 (23:03 +0000)]
* arm/syscalls.c (_unlink, _system, _rename): Cast arguments
to do_AngelSWI to int.
amodra [Mon, 25 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update
kazu [Mon, 25 Dec 2006 22:39:20 +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.
ligang [Mon, 25 Dec 2006 09:26:21 +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".
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.
gdbadmin [Mon, 25 Dec 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 24 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update
kazu [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.