OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years ago * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Fix memset calls.
uweigand [Wed, 14 May 2008 16:00:36 +0000 (16:00 +0000)]
* elf32-ppc.c (ppc_elf_get_synthetic_symtab): Fix memset calls.
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Drop
corinna [Wed, 14 May 2008 10:21:21 +0000 (10:21 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Drop
explicit transformation of special DOS chars.
* strfuncs.cc (sys_wcstombs): Always transform UNICODE private use area
back to ASCII.

16 years agoupdate dependencies
amodra [Wed, 14 May 2008 06:45:39 +0000 (06:45 +0000)]
update dependencies

16 years ago * findcmd.c: Add #include "gdb_stdint.h".
brobecke [Wed, 14 May 2008 04:23:02 +0000 (04:23 +0000)]
    * findcmd.c: Add #include "gdb_stdint.h".
        * Makefile.in (findcmd.o): Update dependencies.

16 years ago * elf32-ppc.c (section_covers_vma): New function.
amodra [Wed, 14 May 2008 02:21:18 +0000 (02:21 +0000)]
* elf32-ppc.c (section_covers_vma): New function.
(ppc_elf_get_synthetic_symtab): New function.
(bfd_elf32_get_synthetic_symtab): Define.
* elf64-ppc.c (section_covers_vma): New function.
(ppc64_elf_get_synthetic_symtab): Generate sym@plt on glink branch
table entries, and __glink_PLTresolve on resolver stub.
(ppc64_elf_build_stubs): Rename __glink sym to __glink_PLTresolve.

16 years ago*** empty log message ***
gdbadmin [Wed, 14 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 14 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * gdb.base/watch_thread_num.exp: Don't run tests that require
froydnj [Tue, 13 May 2008 21:17:18 +0000 (21:17 +0000)]
* gdb.base/watch_thread_num.exp: Don't run tests that require
watchpoints if the target doesn't support them.

16 years ago * include/cygwin/stdlib.h (initstate): Declare.
corinna [Tue, 13 May 2008 13:56:05 +0000 (13:56 +0000)]
* include/cygwin/stdlib.h (initstate): Declare.
(setstate): Declare.

16 years ago * path.cc (path_conv::set_normalized_path): Drop strip_tail argument.
corinna [Tue, 13 May 2008 13:44:03 +0000 (13:44 +0000)]
* path.cc (path_conv::set_normalized_path): Drop strip_tail argument.
Never strip trailing dots and spaces.
* (path_conv::check): Accomodate above change.
* path.h (path_conv::operator=): Ditto
* dtable.cc (build_fh_dev): Ditto.
* fhandler.h (fhandler_base::set_name): Ditto.

* path.cc (transform_chars): Disable converting trailing dots and
spaces.

* path.cc (path_conv::check): Remove two disabled code snippets.

16 years ago * random.cc (initstate): Align to POSIX definition.
corinna [Tue, 13 May 2008 11:40:44 +0000 (11:40 +0000)]
* random.cc (initstate): Align to POSIX definition.
(setstate): Ditto.

16 years ago*** empty log message ***
gdbadmin [Tue, 13 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Tue, 13 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
devans [Mon, 12 May 2008 17:25:28 +0000 (17:25 +0000)]
* lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.

16 years ago2008-05-12 Samuel Tardieu <sam@rfc1149.net>
bonzini [Mon, 12 May 2008 16:25:40 +0000 (16:25 +0000)]
2008-05-12  Samuel Tardieu  <sam@rfc1149.net>
    Paolo Bonzini  <bonzini@gnu.org>

PR ada/36001
* acx.m4: Add optional parameter to ACX_PROG_GNAT.

16 years ago PR 6443
amodra [Mon, 12 May 2008 12:47:46 +0000 (12:47 +0000)]
PR 6443
* elf32-ppc.c (MUST_BE_DYN_RELOC): Delete.
(must_be_dyn_reloc): New function.
(ppc_elf_check_relocs): Don't set DF_STATIC_TLS for tprel relocs
in pies.
(ppc_elf_tls_optimize): Optimise pies.
(ppc_elf_relocate_section): Use a section symbol rather than no
symbol if possible for LD->IE TLS sequence, but don't error if
we must use no symbol.
* elf64-ppc.c (MUST_BE_DYN_RELOC): As for elf32-ppc.c.
(must_be_dyn_reloc): Likewise.
(ppc64_elf_check_relocs): Likewise.
(ppc64_elf_tls_optimize): Likewise.
(ppc64_elf_relocate_section): Likewise.

16 years ago * embedspu.sh: Test for presence of ._ea by looking at section
amodra [Mon, 12 May 2008 12:23:13 +0000 (12:23 +0000)]
* embedspu.sh: Test for presence of ._ea by looking at section
table rather than looking at relocs.  Correct toe_addr substitution.

16 years ago * elf32-spu.c (spu_elf_relocate_section): Rename is_ea to is_ea_sym.
amodra [Mon, 12 May 2008 12:22:53 +0000 (12:22 +0000)]
* elf32-spu.c (spu_elf_relocate_section): Rename is_ea to is_ea_sym.

16 years ago * Update uses of val_print functions with additional language argument.
muller [Mon, 12 May 2008 07:24:54 +0000 (07:24 +0000)]
* Update uses of val_print functions with additional language argument.
generic/gdbtk-cmds.c: Add "language.h" include.
(gdb_eval): Add current_language as new arg of val_print.
generic/gdbtk-register.c: Add "language.h" include.
(get_register): Add current_language as new arg of val_print.
generic/gdbtk-wrapper.c: Add "language.h" include.
(wrap_val_print): Add current_language as new arg of val_print.

16 years ago * src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.
ian [Mon, 12 May 2008 04:12:15 +0000 (04:12 +0000)]
* src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.

16 years ago*** empty log message ***
gdbadmin [Mon, 12 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Mon, 12 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * sparc-linux-tdep.c (sparc32_linux_init_abi): Remove
davem [Sun, 11 May 2008 22:43:51 +0000 (22:43 +0000)]
* sparc-linux-tdep.c (sparc32_linux_init_abi): Remove
long double size override, Linux does use 128-bit now.

16 years ago * sparc-linux-tdep.c (PSR_SYSCALL): Define.
davem [Sun, 11 May 2008 22:10:30 +0000 (22:10 +0000)]
* sparc-linux-tdep.c (PSR_SYSCALL): Define.
(sparc_linux_write_pc): New function.
(sparc32_linux_init_abi): Register it.
* sparc64-linux-tdep.c (TSTATE_SYSCALL): Define.
(sparc64_linux_write_pc): New function.
(sparc64_linux_init_abi): Register it.

16 years ago * sparc-linux-tdep.c, sparc64-linux-tdep.c: Use
davem [Sun, 11 May 2008 20:03:24 +0000 (20:03 +0000)]
  * sparc-linux-tdep.c, sparc64-linux-tdep.c: Use
dwarf2_append_unwinders(), not dwarf2_frame_sniffer.

16 years ago * rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc
uweigand [Sun, 11 May 2008 15:29:45 +0000 (15:29 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc
and info.tdep_info before calling gdbarch_init_osabi.

16 years ago*** empty log message ***
gdbadmin [Sun, 11 May 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sun, 11 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * Makefile.in (DLL_OFILES): Remove _def_time.o.
corinna [Sat, 10 May 2008 18:57:10 +0000 (18:57 +0000)]
* Makefile.in (DLL_OFILES): Remove _def_time.o.
* libc/_def_time.c: Remove.  Move definitions of _DefaultTimeLocale
and _CurrentTimeLocale ...
* libc/strptime.cc: ... here.

16 years ago * elfcore.h (elf_core_file_p): Warn about core truncation.
amodra [Sat, 10 May 2008 01:58:17 +0000 (01:58 +0000)]
* elfcore.h (elf_core_file_p): Warn about core truncation.

16 years agodaily update
amodra [Sat, 10 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 10 May 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.ada/assign_1.exp: New testcase.
brobecke [Fri, 9 May 2008 23:51:40 +0000 (23:51 +0000)]
    * gdb.ada/assign_1.exp: New testcase.

16 years ago * ada-lang.c (ada_evaluate_subexp) [BINOP_ASSIGN]: Do not force
brobecke [Fri, 9 May 2008 23:50:41 +0000 (23:50 +0000)]
    * ada-lang.c (ada_evaluate_subexp) [BINOP_ASSIGN]: Do not force
        the type of the right hand side of the assignment to the type
        of the left hand side if the left hand side is a convenience
        variable.

16 years ago gas/
clm [Fri, 9 May 2008 19:28:47 +0000 (19:28 +0000)]
gas/
        * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
        with non-MIPS16 relocs.

        gas/testsuite/
        * gas/mips/mips16-hilo-match.s: New test.
        * gas/mips/mip16-hilo-match.d: New test output.Index: config/tc-mips.c

16 years ago * NEWS: Mention gdbserver bi-arch capability.
uweigand [Fri, 9 May 2008 19:17:46 +0000 (19:17 +0000)]
* NEWS: Mention gdbserver bi-arch capability.

16 years agoupdate for capitalization changes
devans [Fri, 9 May 2008 18:51:07 +0000 (18:51 +0000)]
update for capitalization changes

16 years ago* config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
chaoyingfu [Fri, 9 May 2008 18:18:22 +0000 (18:18 +0000)]
* config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
case that some characters append at the end of the name.
(mips_ip): Likewise.
(s_change_sec): Likewise.
(md_section_align): Likewise.

16 years agoremove cruft from previous checkin
devans [Fri, 9 May 2008 18:08:56 +0000 (18:08 +0000)]
remove cruft from previous checkin

16 years ago * remote.c (remote_search_memory): Fix capilization in error messages.
devans [Fri, 9 May 2008 17:45:58 +0000 (17:45 +0000)]
* remote.c (remote_search_memory): Fix capilization in error messages.

16 years ago * error.c (parse_find_args): Fix capitalization in previous patch.
devans [Fri, 9 May 2008 17:37:36 +0000 (17:37 +0000)]
* error.c (parse_find_args): Fix capitalization in previous patch.
(find_command): Ditto.
* target.c (simple_search_memory): Ditto.
* gdbserver/server.c (handle_search_memory_1): Ditto.
(handle_search_memory): Ditto.

16 years ago New "find" command.
devans [Fri, 9 May 2008 17:01:59 +0000 (17:01 +0000)]
New "find" command.
* NEWS: Document find command and qSearch:memory packet.
* Makefile.in (SFILES): Add findcmd.c.
(COMMON_OBJS): Add findcmd.o.
(findcmd.o): New rule.
* findcmd.c: New file.
* target.h (target_ops): New member to_search_memory.
(simple_search_memory): Declare.
(target_search_memory): Declare.
* target.c (simple_search_memory): New fn.
(target_search_memory): New fn.
* remote.c (PACKET_qSearch_memory): New packet kind.
(remote_search_memory): New fn.
(init_remote_ops): Init to_search_memory.
(init_extended_remote_ops): Ditto.
(_initialize_remote): Add qSearch:memory packet config command.

* gdbserver/server.h (decode_search_memory_packet): Declare.
* gdbserver/remote-utils.c (decode_search_memory_packet): New fn.
* gdbserver/server.c (handle_search_memory_1): New fn.
(handle_search_memory): New fn.
(handle_query): Process qSearch:memory packets.

* doc/gdb.texinfo: Document "find" command, qSearch:memory packet.

* testsuite/gdb.base/find.exp: New file.
* testsuite/gdb.base/find.c: New file.

16 years ago * ppc/altivec.igen (vperm): Latch inputs into temporaries.
brobecke [Fri, 9 May 2008 15:03:09 +0000 (15:03 +0000)]
    * ppc/altivec.igen (vperm): Latch inputs into temporaries.

16 years ago PR 6493
ian [Fri, 9 May 2008 14:13:06 +0000 (14:13 +0000)]
PR 6493
* gold.cc (gold_nomem): Use return value of write.

16 years ago2008-05-09 Kai Tietz <kai.tietz@onevision.com>
ktietz [Fri, 9 May 2008 11:56:30 +0000 (11:56 +0000)]
2008-05-09  Kai Tietz  <kai.tietz@onevision.com>

ld/PR6502
* emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead of long
and change return type to bfd_vma.
(definfo): Change type of address from long to bfd_vma.
(set_pep_value): Replace strtoul to strtoull.
(gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
* pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print ImageBase.
(quick_reloc): Change argument address from int to bfd_size_type.

16 years ago * thread.c (_initialize_thread): Don't use commas and periods in
eliz [Fri, 9 May 2008 08:14:47 +0000 (08:14 +0000)]
* thread.c (_initialize_thread): Don't use commas and periods in
first line of doc string of "set/show print thread-events".

16 years ago * alpha-mdebug-tdep.c, alpha-osf1-tdep.c, alpha-tdep.c:
brobecke [Fri, 9 May 2008 03:58:25 +0000 (03:58 +0000)]
    * alpha-mdebug-tdep.c, alpha-osf1-tdep.c, alpha-tdep.c:
        Update for unwinder changes.

16 years ago * frame.c (get_frame_base_address, get_frame_locals_address)
brobecke [Fri, 9 May 2008 03:52:11 +0000 (03:52 +0000)]
    * frame.c (get_frame_base_address, get_frame_locals_address)
        (get_frame_args_address): Pass the correct frame when calling
        frame_base_find_by_frame.

16 years ago*** empty log message ***
gdbadmin [Fri, 9 May 2008 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Fri, 9 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * remote.c (extended_remote_attach_1): Call target_find_description.
uweigand [Thu, 8 May 2008 19:48:54 +0000 (19:48 +0000)]
* remote.c (extended_remote_attach_1): Call target_find_description.

16 years ago * regcache.c (registers_length): Remove.
uweigand [Thu, 8 May 2008 19:46:55 +0000 (19:46 +0000)]
* regcache.c (registers_length): Remove.
(set_register_cache): Verify that PBUFSIZ is large enough to hold a
full register packet.
* regcache.h (registers_length): Remove prototype.
* server.h (PBUFSIZ): Define to 16384.

16 years ago * symtab.c (Symbol::init_base_output_data): Add version
ian [Thu, 8 May 2008 18:44:33 +0000 (18:44 +0000)]
* symtab.c (Symbol::init_base_output_data): Add version
parameter.  Change all callers.
(Symbol::init_base_output_segment): Likewise.
(Symbol::init_base_constant): Likewise.
(Symbol::init_base_undefined): Likewise.
(Sized_symbol::init_output_data): Likewise.
(Sized_symbol::init_output_segment): Likewise.
(Sized_symbol::init_constant): Likewise.
(Sized_symbol::init_undefined): Likewise.
(Symbol_table::do_define_in_output_data): If the new symbol has a
version, mark it as the default.
(Symbol_table::do_define_in_output_segment): Likewise.
(Symbol_table::do_define_as_constant): Likewise.
* symtab.h (class Symbol): Update declarations.
(class Sized_symbol): Likewise.
* resolve.cc (Symbol::override_version): New function.
(Symbol::override_base: Call override_version.
(Symbol::override_base_with_special): Likewise.
* testsuite/ver_script_8.script: New file.
* testsuite/Makefile.am (check_PROGRAMS): Add ver_test_8.
(ver_test_8_SOURCES, ver_test_8_DEPENDENCIES): Define.
(ver_test_8_LDFLAGS, ver_test_8_LDADD): Define.
(ver_test_8_1.so, ver_test_8_2.so): New targets.

16 years ago * ld.texinfo (PowerPC64 ELF64): Fix typo.
tromey [Thu, 8 May 2008 17:34:35 +0000 (17:34 +0000)]
* ld.texinfo (PowerPC64 ELF64): Fix typo.

16 years ago * gdb.base/commands.exp (watchpoint_command_test): Handle
drow [Thu, 8 May 2008 16:30:53 +0000 (16:30 +0000)]
* gdb.base/commands.exp (watchpoint_command_test): Handle
gdb,no_hardware_watchpoints.
* gdb.base/float.exp: Allow ARM targets without floating point.
* gdb.base/step-test.exp: Allow callee@plt when stepping in.

16 years ago * remote.c (extended_remote_create_inferior_1): Clean up
drow [Thu, 8 May 2008 16:08:10 +0000 (16:08 +0000)]
* remote.c (extended_remote_create_inferior_1): Clean up
before marking the target running.

16 years ago * include/sys/localedef.h: Remove.
corinna [Thu, 8 May 2008 14:58:11 +0000 (14:58 +0000)]
* include/sys/localedef.h: Remove.
* libc/strptime.cc: Define _TimeLocale and declare _CurrentTimeLocale
as well as _DefaultTimeLocale locally for Cygwin.

16 years ago * Makefile.in (DLL_OFILES): Add _def_time.o. Remove timelocal.o.
corinna [Thu, 8 May 2008 14:41:46 +0000 (14:41 +0000)]
* Makefile.in (DLL_OFILES): Add _def_time.o.  Remove timelocal.o.
* include/sys/localedef.h: New file from NetBSD.
* libc/_def_time.c: Ditto.
* libc/getopt.c: Update to latest OpenBSD version 1.23.
* libc/strptime.cc: Replace FreeBSD version 1.35 with latest NetBSD
version 1.28.
* libc/timelocal.cc: Remove.
* libc/timelocal.h: Remove.

16 years ago * hppa-tdep.h, hppa-tdep.c, hppa-hpux-tdep.c: Update for unwinder
brobecke [Thu, 8 May 2008 04:21:44 +0000 (04:21 +0000)]
    * hppa-tdep.h, hppa-tdep.c, hppa-hpux-tdep.c: Update for unwinder
        changes.

16 years ago*** empty log message ***
gdbadmin [Thu, 8 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 8 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agobfd/
bwilson [Wed, 7 May 2008 23:13:08 +0000 (23:13 +0000)]
bfd/
        * elf32-xtensa.c (xtensa_property_section_name): New.
        (xtensa_make_property_section): New.
        (xtensa_get_property_section): Make static.  Do not create a new
        section if it does not exist.
gas/
        * config/tc-xtensa.c (xtensa_create_property_segments): Use
        xtensa_make_property_section instead of xtensa_get_property_section.
        (xtensa_create_xproperty_segments): Likewise.

16 years ago * sparc-tdep.c, sparc-tdep.h, sparc-sol2-tdep.c, sparc64-tdep.c,
brobecke [Wed, 7 May 2008 19:30:04 +0000 (19:30 +0000)]
    * sparc-tdep.c, sparc-tdep.h, sparc-sol2-tdep.c, sparc64-tdep.c,
        sparc64-sol2-tdep.c: Update for unwinder changes.

16 years agobfd/
amodra [Wed, 7 May 2008 14:46:43 +0000 (14:46 +0000)]
bfd/
* elf32-spu.c (spu_elf_special_sections): Add "._ea".
(spu_elf_relocate_section): Handle relocations against symbols
defined in ._ea specially.
binutils/
* embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
and if present, put image in ".data.speelf".  Put program handle
in ".data.spehandle".
ld/emulparams/
* elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
* elf32ppc.sh: If building with spu support, put ".data.spehandle"
sections at the start of ".data" and provide a symbol to locate
the directory of embedded spe programs.
ld/testsuite/
* ld-spu/ear.s: Align various sections.
* ld-spu/embed.rd: Update.

16 years ago * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
amodra [Wed, 7 May 2008 14:30:40 +0000 (14:30 +0000)]
* ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K.  Correct
MAX_K.
(fold_binary <SEGMENT_START>): Set expld.result.section to
current section.  Expand comment.  Formatting.
(fold_name <DEFINED>): Set expld.result.section to current section.

16 years ago * cp-support.c (mangled_name_to_comp): Initialize storage.
drow [Wed, 7 May 2008 12:43:53 +0000 (12:43 +0000)]
* cp-support.c (mangled_name_to_comp): Initialize storage.
(unqualified_name_from_comp): Likewise.

16 years ago * remote.c (remote_insert_breakpoint): Call get_remote_state
jiez [Wed, 7 May 2008 11:54:40 +0000 (11:54 +0000)]
* remote.c (remote_insert_breakpoint): Call get_remote_state
after gdbarch_breakpoint_from_pc is called.
(remote_insert_hw_breakpoint): Likewise.

16 years ago PR 6049
ian [Wed, 7 May 2008 06:08:01 +0000 (06:08 +0000)]
PR 6049
* options.h (DEFINE_set): Add VARNAME_begin and VARNAME_end
functions.
(class General_options): Remove existing --undefined, and add
--no-undefined instead.  Add new --undefined as synonym for -u.
* archive.cc (Archive::add_symbols): Check whether symbol was
named with -u.
* gold.cc (queue_middle_tasks): Add -u symbols to symbol table.
* symtab.h (class Symbol): Rename CONSTANT to IS_CONSTANT; change
all uses.  Add IS_UNDEFINED.  Update declarations to split
different versions of init_base.  Declare init_base_undefined.
(Symbol::is_defined): Handle IS_UNDEFINED.
(Symbol::is_undefined): Likewise.
(Symbol::is_weak_undefined): Call is_undefined.
(Symbol::is_absolute): Handle IS_CONSTANT.
(class Sized_symbol): Update declarations to split different
versions of init.  Declare init_undefined.
(class Symbol_table): Declare new functions.
* symtab.cc (Symbol::init_base_object): Rename from init_base.
Change all callers.
(Symbol::init_base_output_data): Likewise.
(Symbol::init_base_output_segment): Likewise.
(Symbol::init_base_constant): Likewise.
(Symbol::init_base_undefined): New function.
(Sized_symbol::init_object): Rename from init.  Change all
callers.
(Sized_symbol::init_output_data): Likewise.
(Sized_symbol::init_output_segment): Likewise.
(Sized_symbol::init_constant): Likewise.
(Sized_symbol::init_undefined): New function.
(Symbol_table::add_undefined_symbols_from_command_line): New
function.
(Symbol_table::do_add_undefined_symbols_from_command_line): New
function.
(Symbol::final_value_is_known): Handle IS_UNDEFINED.
(Symbol::output_section): Likewise.
(Symbol::set_output_section): Likewise.
(Symbol_table::sized_finalize_symbol): Likewise.
(Symbol_table::sized_write_globals): Likewise.
* resolve.cc (Symbol_table::should_override): Likewise.
(Symbol::override_base_with_special): Likewise.

16 years agomissed from last commit
amodra [Wed, 7 May 2008 04:52:35 +0000 (04:52 +0000)]
missed from last commit

16 years ago2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
ironhead [Wed, 7 May 2008 02:35:16 +0000 (02:35 +0000)]
2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>

        * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
        * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.

16 years ago*** empty log message ***
gdbadmin [Wed, 7 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 7 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * symtab.cc (Symbol_table::add_from_dynobj): If we see a protected
ian [Tue, 6 May 2008 22:24:26 +0000 (22:24 +0000)]
* symtab.cc (Symbol_table::add_from_dynobj): If we see a protected
symbol, change it to have default visibility.
* testsuite/protected_1.cc: New file.
* testsuite/protected_2.cc: New file.
* testsuite/protected_3.cc: New file.
* testsuite/protected_main_1.cc: New file.
* testsuite/protected_main_2.cc: New file.
* testsuite/protected_main_3.cc: New file.
* testsuite/Makefile.am (check_PROGRAMS): Add protected_1.
(protected_1_SOURCES, protected_1_DEPENDENCIES): Define.
(protected_1_LDFLAGS, protected_1_LDADD): Define.
(protected_1.so): New target.
(protected_1_pic.o, protected_2_pic.o): New targets.
(protected_3_pic.o): New target.
(check_PROGRAMS): Add protected_2.
(protected_2_SOURCES, protected_2_DEPENDENCIES): Define.
(protected_2_LDFLAGS, protected_2_LDADD): Define.
* testsuite/Makefile.in: Rebuild.

16 years ago * gdb.ada/lang_switch: New test program.
brobecke [Tue, 6 May 2008 21:37:32 +0000 (21:37 +0000)]
    * gdb.ada/lang_switch: New test program.
        * gdb.ada/lang_switch.exp: New testcase.

16 years ago * valprint.c (val_print): Add new language parameter and use it
brobecke [Tue, 6 May 2008 21:34:59 +0000 (21:34 +0000)]
    * valprint.c (val_print): Add new language parameter and use it
        instead of using the current_language. Update calls to val_print
        throughout.
        (common_val_print): Add new langauge parameter and pass it to
        val_print.
        * value.h (struct language_defn): Add opaque declaration.
        (val_print, common_val_print): Update declarations.
        * stack.c (print_frame_args): Update call to common_val_print
        using the appropriate language.
        * mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
        * c-valprint, f-valprint.c, m2-valprint.c, mt-tdep.c, infcmd.c,
        mi/mi-main.c, jv-valprint.c, ada-valprint.c, varobj.c, p-valprint.c,
        scm-valprint.c, cp-valprint.c, sh64-tdep.c, printcmd.c:
        #include "language.h" if necessary.
        Update calls to val_print and common_val_print.
        * Makefile.in (mt-tdep.o, sh64-tdep.o, mi-cmds.o, mi-main.o):
        Update dependencies.

16 years ago * options.h (DEFINE_var): Add set_user_set_##varname__.
ian [Tue, 6 May 2008 20:40:33 +0000 (20:40 +0000)]
* options.h (DEFINE_var): Add set_user_set_##varname__.
(DEFINE_bool_alias): New macro.
(class General_options): Define -Bstatic using DEFINE_bool_alias
rather than DEFINE_special.  Add --undefined as an alias for -z
defs.
* options.cc (General_options::parse_Bstatic): Remove.

16 years ago * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Treat addresses
brobecke [Tue, 6 May 2008 20:03:03 +0000 (20:03 +0000)]
    * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Treat addresses
        pointing inside a non-executable section as function descriptors.

16 years ago * inf-loop.c (inferior_event_handler): Run all continuations and
palves [Tue, 6 May 2008 18:49:19 +0000 (18:49 +0000)]
* inf-loop.c (inferior_event_handler): Run all continuations and
print any language change before running the breakpoint commands.

16 years ago * frame-unwind.c (frame_unwind_got_bytes): New function.
brobecke [Tue, 6 May 2008 18:37:45 +0000 (18:37 +0000)]
    * frame-unwind.c (frame_unwind_got_bytes): New function.
        * frame-unwind.h (frame_unwind_got_bytes): Add declaration.
        * libunwind-frame.h, libunwind-frame.c, ia64-tdep.c: Update
        for unwinder changes.

16 years ago * options.h (class General_options): Add --fatal-warnings.
ian [Tue, 6 May 2008 18:32:38 +0000 (18:32 +0000)]
* options.h (class General_options): Add --fatal-warnings.
* main.cc (main): Implement --fatal-warnings.
* errors.h (Errors::warning_count): New function.

16 years ago * options.h (class General_options): Add -Bsymbolic-functions.
ian [Tue, 6 May 2008 17:46:31 +0000 (17:46 +0000)]
* options.h (class General_options): Add -Bsymbolic-functions.
* symtab.h (Symbol::is_preemptible): Check for
-Bsymbolic-functions.

16 years agoCorrect last patch.
ian [Tue, 6 May 2008 05:54:21 +0000 (05:54 +0000)]
Correct last patch.

16 years ago2008-05-05 Ian Lance Taylor <iant@google.com>
ian [Tue, 6 May 2008 05:03:15 +0000 (05:03 +0000)]
2008-05-05  Ian Lance Taylor  <iant@google.com>

* options.h (DEFINE_bool): For DASH_Z, create the negative option
as noVARNAME rather than no-VARNAME.
(class General_options): Add option -z combreloc.
* output.h (class Output_reloc) [SHT_REL]: Declare compare and
get_address.
(Output_reloc::sort_before) [SHT_REL]: New function.
(Output_reloc::sort_before) [SHT_RELA]: New function.
(class Output_data_reloc_base): Add sort_relocs_ field.  Define
Sort_relocs_comparison.
(Output_data_reloc_base::Output_data_reloc_base): Add sort_relocs
parameter.  Change all callers.
(Output_data_reloc::Output_data_reloc) [both versions]: Add
sort_relocs parameter.  Change all callers.
* output.cc (Output_reloc::get_address): New function, broken out
of write_rel.
(Output_reloc::write_rel): Call it.
(Output_reloc::compare): New function.
(Output_data_reloc_base::do_write): Optionally sort relocs.

16 years agoFix typo and commit the write header
ironhead [Tue, 6 May 2008 01:25:05 +0000 (01:25 +0000)]
Fix typo and commit the write header

16 years agodaily update
amodra [Tue, 6 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

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

16 years ago * gdb.base/help.exp (disassemble): Update expected help text.
devans [Mon, 5 May 2008 22:54:49 +0000 (22:54 +0000)]
* gdb.base/help.exp (disassemble): Update expected help text.

16 years ago2008-05-05 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Mon, 5 May 2008 22:43:47 +0000 (22:43 +0000)]
2008-05-05  Ken Werner  <ken.werner@de.ibm.com>

        * spu/readlink.c: Align readlink implementation to POSIX.

16 years ago * NEWS: Mention new /m modifier for disassemble command.
devans [Mon, 5 May 2008 21:14:36 +0000 (21:14 +0000)]
* NEWS: Mention new /m modifier for disassemble command.
* cli/cli-cmds.c (print_disassembly): New function.
(disassemble_current_function): New function
(disassemble_command): Recognize /m modifier, print mixed
source+assembly.
(init_cli_cmds): Update disassemble help text.

* gdb.texinfo (disassemble): Document /m modifier.

16 years ago2008-05-05 Maxim Grigoriev <maxim2405@gmail.com>
maxim2405 [Mon, 5 May 2008 20:49:43 +0000 (20:49 +0000)]
2008-05-05  Maxim Grigoriev  <maxim2405@gmail.com>

* xtensa-tdep.c: Update for unwinder changes.

16 years agoUpdate m68k port for unwinder changes.
schwab [Mon, 5 May 2008 20:47:02 +0000 (20:47 +0000)]
Update m68k port for unwinder changes.
* m68k-tdep.c (m68k_frame_cache): Expect this_frame.
(m68k_frame_this_id, m68k_frame_prev_register): Update signature.
(m68k_frame_unwind): Use default_frame_sniffer.
(m68k_frame_sniffer): Remove.
(m68k_frame_base_address): Expect this_frame.
(m68k_dummy_id): Renamed from m68k_unwind_dummy_id.  Expect
this_frame.
(m68k_gdbarch_init): Use set_gdbarch_dummy_id,
dwarf2_append_unwinders, and frame_unwind_append_unwinder.
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Expect frame_info
parameter instead of pc value.
(m68k_linux_get_sigtramp_info, m68k_linux_sigtramp_frame_cache):
Expect this_frame.
(m68k_linux_sigtramp_frame_this_id)
(m68k_linux_sigtramp_frame_prev_register)
(m68k_linux_sigtramp_frame_sniffer): Update signature.
(m68k_linux_sigtramp_frame_unwind): Use
m68k_linux_sigtramp_frame_sniffer.
(m68k_linux_init_abi): Use frame_unwind_append_unwinder.

* m68klinux-nat.c (store_register): Fix typo.

16 years ago * configure.ac: If targ_extra_obj is set, link it in.
ian [Mon, 5 May 2008 20:20:21 +0000 (20:20 +0000)]
* configure.ac: If targ_extra_obj is set, link it in.
* configure.tgt: Initialize all variables.
(x86_64*): Set targ_extra_obj and targ_extra_size.
* configure: Rebuild.

16 years ago * object.cc (Sized_relobj::include_section_group): Adjust section
ian [Mon, 5 May 2008 19:16:43 +0000 (19:16 +0000)]
* object.cc (Sized_relobj::include_section_group): Adjust section
indexes read from group data.  Build vector to pass to
layout_group.
* layout.cc (Layout::layout_group): Add flags and shndxes
parameters.  Remove contents parameter.  Change caller.  Update
explicit instantiations.
* layout.h (class Layout): Update layout_group declaration.
* output.cc (Output_data_group::Output_data_group): Add flags and
input_shndxes parameters.  Remove contents parameter.  Change
caller.
(Output_data_group::do_write): Change input_sections_ to
input_shndxes_.
* output.h (class Output_data_group): Update constructor
declaration.  Rename input_sections_ to input_shndxes_.
* testsuite/many_sections_test.cc: Add template.

16 years ago * infcmd.c (step_1): Put thread id on the stack to avoid possible
palves [Mon, 5 May 2008 16:41:42 +0000 (16:41 +0000)]
* infcmd.c (step_1): Put thread id on the stack to avoid possible
NULL dereferencing.

16 years ago * symfile.c (reread_symbols): Update objfile's entry point.
luisgpm [Mon, 5 May 2008 16:13:47 +0000 (16:13 +0000)]
* symfile.c (reread_symbols): Update objfile's entry point.

16 years agoMinor typing error fixes in ChangeLog.
aristovski [Mon, 5 May 2008 14:47:09 +0000 (14:47 +0000)]
Minor typing error fixes in ChangeLog.

16 years ago * ada-lang.c: Update throughout to use symbol_matches_domain
aristovski [Mon, 5 May 2008 14:37:31 +0000 (14:37 +0000)]
* ada-lang.c: Update throughout to use symbol_matches_domain
instead of matching the symbol domain explictly.
* dwarf2read.c (add_partial_symbol): Do not add new psym for
STRUCT_DOMAIN. Make sure you recognize c++ struct and java and ada
class as typedefs. See lookup_partial_symbol function.
(new_symbol): Similar to add_partial_symbol, do not create
symbol for the typedef. See lookup_block_symbol.
* symtab.c (symbol_matches_domain): New function, takes care
of dual meaning of STRUCT_DOMAIN symbol for c++, ada and java.
(lookup_partial_symbol): Use symbol_matches_domain to see if the
found psym domain matches the given domain.
(lookup_block_symbol): Likewise.

16 years agoAdded 3 miscellaneous testcases like read32.ms uread16.ms hw-trap.ms.
swami [Mon, 5 May 2008 10:25:20 +0000 (10:25 +0000)]
Added 3 miscellaneous testcases like read32.ms uread16.ms hw-trap.ms.

16 years agoThese files removed.
swami [Mon, 5 May 2008 10:00:16 +0000 (10:00 +0000)]
These files removed.

16 years agoAdd the change for testcases comment update and new testcases addition.
swami [Mon, 5 May 2008 09:55:36 +0000 (09:55 +0000)]
Add the change for testcases comment update and new testcases addition.