OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years agogdb/
Daniel Jacobowitz [Tue, 17 Oct 2006 20:17:45 +0000 (20:17 +0000)]
gdb/
* Makefile.in (symtab.o): Update.
* symtab.h (matching_bfd_section): New prototype.
* symtab.c (matching_bfd_section): New.
(find_pc_sect_psymbol, find_pc_sect_symtab): Use it.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
* printcmd.c (sym_info): Ignore separate debug objfiles.
gdb/testsuite/
* gdb.base/sepdebug.exp: Remove debug format test.
* lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
Handle no-symtab.
* gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.

17 years ago * acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
Daniel Jacobowitz [Tue, 17 Oct 2006 16:02:27 +0000 (16:02 +0000)]
* acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
* configure.ac: Use it.  Define HAVE_TD_THR_TLS_GET_ADDR.
* config.in, configure: Regenerated.
* inferiors.c (gdb_id_to_thread): New function.
(gdb_id_to_thread_id): Use it.
* linux-low.c (linux_target_ops): Use thread_db_get_tls_address.
* linux-low.h (struct process_info): Add th member.
(thread_db_get_tls_address): New prototype.
* remote-utils.c (decode_address): Make non-static.
* server.c (handle_query): Handle qGetTLSAddr.
* server.h (gdb_id_to_thread, decode_address): New prototypes.
* target.h (struct target_ops): Add get_tls_address.
* thread-db.c (maybe_attach_thread): Save the thread handle.
(thread_db_get_tls_address): New.

17 years ago * gdb.threads/manythreads.c (thread_function, main): Don't cast
Daniel Jacobowitz [Tue, 17 Oct 2006 15:52:53 +0000 (15:52 +0000)]
* gdb.threads/manythreads.c (thread_function, main): Don't cast
int to pointer or pointer to int.
* gdb.threads/manythreads.exp: Don't expect the string "LWP".

17 years ago bfd/
Mark Shinwell [Tue, 17 Oct 2006 15:46:21 +0000 (15:46 +0000)]
bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Change offset for
R_THM_CALL to 25 and remove FIXME comment.
(using_thumb2): New function.
(elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.

include/
* elf/arm.h: Define TAG_CPU_ARCH_* constants.

ld/testsuite/
* ld-arm/arm-elf.exp: Add thumb1-bl, thumb2-bl,
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests.
* ld-arm/thumb1-bl.d: New.
* ld-arm/thumb1-bl.s: New.
* ld-arm/thumb2-bl-as-thumb1-bad.d: New.
* ld-arm/thumb2-bl-as-thumb1-bad.s: New.
* ld-arm/thumb2-bl-bad.d: New.
* ld-arm/thumb2-bl-bad.s: New.
* ld-arm/thumb2-bl.d: New.
* ld-arm/thumb2-bl.s: New.

17 years ago * remote.c (remote_pid_to_str): Capitalize "Thread".
Daniel Jacobowitz [Tue, 17 Oct 2006 15:43:51 +0000 (15:43 +0000)]
* remote.c (remote_pid_to_str): Capitalize "Thread".

17 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Add cases
Mark Shinwell [Tue, 17 Oct 2006 14:49:51 +0000 (14:49 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Add cases
for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
(elf32_arm_gc_sweep_hook): Likewise.
(elf32_arm_check_relocs): Likewise.
(allocate_dynrelocs): Likewise.

17 years agobfd/
Alan Modra [Tue, 17 Oct 2006 13:41:47 +0000 (13:41 +0000)]
bfd/
* elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
text_index_section and data_index_section.
(struct elf_backend_data): Add elf_backend_init_index_section.
(_bfd_elf_init_1_index_section): Declare.
(_bfd_elf_init_2_index_sections): Declare.
* elfxx-target.h (elf_backend_init_index_section): Define.
(elfNN_bed): Init new field.
* elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
section and text_index_section plus data_index_section.
(_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
(_bfd_elf_init_1_index_section): New function.
(_bfd_elf_init_2_index_sections): New function.
(bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
(elf_link_input_bfd): When emitting relocs, use text_index_section
and data_index_section for removed sections.
* elf-m10300.c (elf_backend_omit_section_dynsym): Define.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-xstormy16.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
and data_index_section sym for relocs against sections with no dynamic
section sym.
(elf_backend_init_index_section): Define.
* elf32-cris.c: Similarly.
* elf32-hppa.c: Similarly.
* elf32-i370.c: Similarly.
* elf32-m68k.c: Similarly.
* elf32-mips.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-s390.c: Similarly.
* elf32-sparc.c: Similarly.
* elf32-vax.c: Similarly.
* elf64-mips.c: Similarly.
* elf64-ppc.c: Similarly.
* elf64-s390.c: Similarly.
* elf64-sparc.c: Similarly.
* elf64-x86-64.c: Similarly.
* elfn32-mips.c: Similarly.
* elfxx-mips.c: Similarly.
* elfxx-sparc.c: Similarly.
* linker.c (fix_syms): Base symbols in removed sections on
previous section in preference to using absolute section.

ld/
* ldlang.c (strip_excluded_output_sections): Do strip sections
that define syms, but don't ignore them.
* ld.texinfo (Output Section Discarding): Revise.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
finish_default.

ld/testsuite/
Update for section sym changes.

17 years ago2006-10-17 Brooks Moses <bmoses@stanford.edu>
DJ Delorie [Tue, 17 Oct 2006 04:23:49 +0000 (04:23 +0000)]
2006-10-17  Brooks Moses  <bmoses@stanford.edu>
* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.

17 years ago*** empty log message ***
gdbadmin [Tue, 17 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 16 Oct 2006 23:59:13 +0000 (23:59 +0000)]
daily update

17 years ago * elfxx-ia64.c (addend_compare): Properly compute return value.
Andreas Schwab [Mon, 16 Oct 2006 17:21:44 +0000 (17:21 +0000)]
* elfxx-ia64.c (addend_compare): Properly compute return value.

17 years ago PR remote/2158
Daniel Jacobowitz [Mon, 16 Oct 2006 03:08:37 +0000 (03:08 +0000)]
PR remote/2158
* remote.c (remote_write_bytes): Throttle packet alignment
for small packets.

17 years ago*** empty log message ***
gdbadmin [Mon, 16 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 15 Oct 2006 23:59:14 +0000 (23:59 +0000)]
daily update

17 years ago * gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optional
Eli Zaretskii [Sun, 15 Oct 2006 21:36:00 +0000 (21:36 +0000)]
* gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optional
arguments to `info signals'  `handle', `info breakpoints', and
`info watchpoints'.

17 years ago * gdb.texinfo (Sample Session, Invocation, Quitting GDB)
Eli Zaretskii [Sun, 15 Oct 2006 21:19:49 +0000 (21:19 +0000)]
* gdb.texinfo (Sample Session, Invocation, Quitting GDB)
(Command Syntax, Signals, Backtrace, Connecting)
(Remote configuration, Renesas Boards, Console I/O): Fix last
change: use Ctrl- instead of C-, except wrt Emacs.
(File-I/O Examples): Put Ctrl-c in @kbd.
(Cygwin Native, File-I/O Overview, The Ctrl-C message)
(Console I/O): Use @samp with Ctrl-.

17 years ago(thread_db_wait): Don't bother continuing if the wait result indicates the
Nick Roberts [Sun, 15 Oct 2006 19:38:45 +0000 (19:38 +0000)]
(thread_db_wait): Don't bother continuing if the wait result indicates the
program terminated with a signal (from gdb-6.3-ia64-sigill-20051115.patch, a
patch for Fedora Core 5).

17 years ago*** empty log message ***
Nick Roberts [Sun, 15 Oct 2006 19:37:49 +0000 (19:37 +0000)]
*** empty log message ***

17 years ago2006-10-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 15 Oct 2006 14:22:13 +0000 (14:22 +0000)]
2006-10-15  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3314
* elf.c (assign_file_positions_for_non_load_sections): Don't
page align empty SHF_ALLOC sections.

17 years ago*** empty log message ***
gdbadmin [Sun, 15 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 14 Oct 2006 23:59:18 +0000 (23:59 +0000)]
daily update

17 years ago * gdb.texinfo (Backtrace): Fix last change.
Eli Zaretskii [Sat, 14 Oct 2006 18:34:03 +0000 (18:34 +0000)]
* gdb.texinfo (Backtrace): Fix last change.

17 years ago(Backtrace): Order correctly and add other cases.
Nick Roberts [Sat, 14 Oct 2006 00:21:13 +0000 (00:21 +0000)]
(Backtrace): Order correctly and add other cases.

17 years ago*** empty log message ***
Nick Roberts [Sat, 14 Oct 2006 00:20:02 +0000 (00:20 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
gdbadmin [Sat, 14 Oct 2006 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 13 Oct 2006 23:59:16 +0000 (23:59 +0000)]
daily update

17 years ago * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): Set
Jakub Jelinek [Fri, 13 Oct 2006 21:03:40 +0000 (21:03 +0000)]
* elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): Set
.plt sh_entsize to 0 if plt header size isn't multiple of
plt entry size or for 32-bit which adds a nop insn at the
end of the .plt section.

17 years agoAdd in one of the previous entries the fact that the change was to
Joel Brobecker [Fri, 13 Oct 2006 02:40:47 +0000 (02:40 +0000)]
Add in one of the previous entries the fact that the change was to
fix PR symtab/2018.

17 years ago*** empty log message ***
gdbadmin [Fri, 13 Oct 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 12 Oct 2006 23:59:17 +0000 (23:59 +0000)]
daily update

17 years agobfd/
Bob Wilson [Thu, 12 Oct 2006 21:56:18 +0000 (21:56 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_action_discarded): New.
(elf_backend_action_discarded): Define.
ld/
* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
for linkonce XCC exception tables (".e" and ".h").

17 years ago * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
Daniel Jacobowitz [Thu, 12 Oct 2006 19:03:22 +0000 (19:03 +0000)]
* gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.

17 years ago*** empty log message ***
gdbadmin [Thu, 12 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 11 Oct 2006 23:59:20 +0000 (23:59 +0000)]
daily update

17 years ago * elf32-xtensa.c (elf_xtensa_relocate_section): Return after
Bob Wilson [Wed, 11 Oct 2006 22:16:50 +0000 (22:16 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Return after
unresolvable relocation error.
(elf_xtensa_finish_dynamic_symbol): Set value of undefined, weak
symbols to zero.

17 years ago2006-10-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 11 Oct 2006 19:30:34 +0000 (19:30 +0000)]
2006-10-11  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.

17 years ago * dwarf2read.c (dwarf_decode_lines): Call record_line upon
Daniel Jacobowitz [Wed, 11 Oct 2006 15:39:35 +0000 (15:39 +0000)]
* dwarf2read.c (dwarf_decode_lines): Call record_line upon
encountering a different subfile.

17 years ago2006-10-11 Denis Pilat <denis.pilat@st.com>
Frederic Riss [Wed, 11 Oct 2006 10:50:07 +0000 (10:50 +0000)]
2006-10-11  Denis Pilat  <denis.pilat@st.com>

* tui/tui-source.c (tui_set_source_content): handle source
files that contain non unix end-of-line.

17 years agomerge from gcc
DJ Delorie [Wed, 11 Oct 2006 00:29:35 +0000 (00:29 +0000)]
merge from gcc

17 years ago*** empty log message ***
gdbadmin [Wed, 11 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 10 Oct 2006 23:59:19 +0000 (23:59 +0000)]
daily update

17 years agobfd/
Bob Wilson [Tue, 10 Oct 2006 20:57:36 +0000 (20:57 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Add DT_DEBUG
for PIE executables.
ld/
* emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.

17 years ago * gdb.texinfo (Command Syntax, Connecting, Remote configuration,
Bob Wilson [Tue, 10 Oct 2006 18:55:55 +0000 (18:55 +0000)]
* gdb.texinfo (Command Syntax, Connecting, Remote configuration,
Renesas Boards, ST2000, TUI Keys, TUI Single Key Mode, TUI Commands,
Emacs, Console I/O): Fix @key and @kbd usage.

17 years ago * ser-mingw.c (free_pipe_state, pipe_wait_handle): Update
Daniel Jacobowitz [Tue, 10 Oct 2006 14:23:11 +0000 (14:23 +0000)]
* ser-mingw.c (free_pipe_state, pipe_wait_handle): Update
for changes to pipe_select_thread.
(pipe_done_wait_handle): New.
(_initialize_ser_windows): Reference it.

17 years ago2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz [Tue, 10 Oct 2006 03:17:53 +0000 (03:17 +0000)]
2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.in (expprint.o, parse.o, target.o): Update.
* dwarf2loc.c (dwarf_expr_tls_address): Move body to
target_translate_tls_address.  Call it.
* eval.c (evaluate_subexp_standard): Handle UNOP_MEMVAL_TLS.
* expprint.c (print_subexp_standard): Likewise.
(op_name_standard, dump_subexp_body_standard): Likewise.
* expression.h (enum exp_opcode): Add UNOP_MEMVAL_TLS.
(union exp_element): Add objfile.
* parse.c (write_exp_elt_objfile): New function.
(msym_tls_symbol_type): New.
(write_exp_msymbol): Handle TLS.
(operator_length_standard): Handle UNOP_MEMVAL_TLS.
(build_parse): Initialize msym_tls_symbol_type.
* parser-defs.h (write_exp_elt_objfile): New prototype.
* target.c (target_translate_tls_address): New.
* target.h (target_translate_tls_address): Add prototype.

2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.

17 years ago*** empty log message ***
gdbadmin [Tue, 10 Oct 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 9 Oct 2006 23:59:20 +0000 (23:59 +0000)]
daily update

17 years ago * solib.c (solib_open): Handle an empty solib_absolute_prefix like a
Daniel Jacobowitz [Mon, 9 Oct 2006 20:16:10 +0000 (20:16 +0000)]
* solib.c (solib_open): Handle an empty solib_absolute_prefix like a
missing one.

17 years ago * solib.c (solib_read_symbols): Stop if the file was not found.
Daniel Jacobowitz [Mon, 9 Oct 2006 19:58:07 +0000 (19:58 +0000)]
* solib.c (solib_read_symbols): Stop if the file was not found.

17 years ago2006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net>
Daniel Jacobowitz [Mon, 9 Oct 2006 19:28:14 +0000 (19:28 +0000)]
2006-10-09  Paul Pluzhnikov  <ppluzhnikov@charter.net>

PR c++/2116
* valops.c (find_overload_match): Check for a NULL name.

2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>

PR c++/2116
* gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.

17 years ago*** empty log message ***
gdbadmin [Mon, 9 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 8 Oct 2006 23:59:20 +0000 (23:59 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 8 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 7 Oct 2006 23:59:22 +0000 (23:59 +0000)]
daily update

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

17 years agodaily update
Alan Modra [Fri, 6 Oct 2006 23:59:23 +0000 (23:59 +0000)]
daily update

17 years ago * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
Joel Brobecker [Fri, 6 Oct 2006 20:48:42 +0000 (20:48 +0000)]
    * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
        the corresponding bug has been fixed in GDB (PR/2018).

17 years ago * dwarf2read.c (read_array_type): Set the type name if the name
Joel Brobecker [Fri, 6 Oct 2006 20:42:02 +0000 (20:42 +0000)]
    * dwarf2read.c (read_array_type): Set the type name if the name
        attribute is present.

17 years ago * gdb.base/subst.exp: New testcase.
Joel Brobecker [Fri, 6 Oct 2006 18:17:56 +0000 (18:17 +0000)]
    * gdb.base/subst.exp: New testcase.

17 years ago * gdb.ada/array_return/pck.ads: Add copyright notice.
Joel Brobecker [Fri, 6 Oct 2006 18:05:58 +0000 (18:05 +0000)]
    * gdb.ada/array_return/pck.ads: Add copyright notice.
        * gdb.ada/array_return/pck.adb: Likewise.
        * gdb.ada/array_return/p.adb: Likewise.
        * gdb.ada/exec_changed/first.adb: Likewise.
        * gdb.ada/exec_changed/second.adb: Likewise.

17 years ago * gdb.ada/watch_arg/watch.adb: New file.
Joel Brobecker [Fri, 6 Oct 2006 17:46:56 +0000 (17:46 +0000)]
    * gdb.ada/watch_arg/watch.adb: New file.
        * gdb.ada/watch_arg.exp: New testcase.

17 years ago * blockframe.c (block_innermost_frame): Rewrite frame search logic.
Joel Brobecker [Fri, 6 Oct 2006 02:01:34 +0000 (02:01 +0000)]
    * blockframe.c (block_innermost_frame): Rewrite frame search logic.

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

17 years agodaily update
Alan Modra [Thu, 5 Oct 2006 23:59:26 +0000 (23:59 +0000)]
daily update

17 years ago * Makefile.in (gdb_expat_h): New.
Daniel Jacobowitz [Thu, 5 Oct 2006 19:42:31 +0000 (19:42 +0000)]
* Makefile.in (gdb_expat_h): New.
(xml_support_h): Add gdb_expat.h dependency.
(memory-map.o, xml-support.o): Likewise.
* gdb_expat.h: New file.
* xml-support.h: Include it.
* memory-map.c, xml-support.c: Likewise.  Remove XML_STATUS_OK
definitions.

17 years ago * remote.c (get_remote_state_raw): Renamed from get_remote_state.
Daniel Jacobowitz [Thu, 5 Oct 2006 19:20:52 +0000 (19:20 +0000)]
* remote.c (get_remote_state_raw): Renamed from get_remote_state.
(get_remote_state): New function.
(init_remote_state, _initialize_remote): Use get_remote_state_raw.

17 years agoReviewed and approved by Daniel Jacobowitz <drow@false.org>
Fred Fish [Thu, 5 Oct 2006 01:04:23 +0000 (01:04 +0000)]
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
2006-10-04  Fred Fish  <fnf@specifix.com>
* vec.c: Include defs.h first.  This pulls in config.h which can
affect other includes.

17 years ago*** empty log message ***
gdbadmin [Thu, 5 Oct 2006 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 4 Oct 2006 23:59:24 +0000 (23:59 +0000)]
daily update

17 years ago * somread.c (som_symtab_read): Avoid using alloca for potentially
Joel Brobecker [Wed, 4 Oct 2006 21:36:39 +0000 (21:36 +0000)]
    * somread.c (som_symtab_read): Avoid using alloca for potentially
        large buffers.

17 years ago * arch-utils.h (gdbarch_info_fill): Remove duplicate prototype.
Daniel Jacobowitz [Wed, 4 Oct 2006 20:14:44 +0000 (20:14 +0000)]
* arch-utils.h (gdbarch_info_fill): Remove duplicate prototype.

17 years ago*** empty log message ***
gdbadmin [Wed, 4 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 3 Oct 2006 23:59:25 +0000 (23:59 +0000)]
daily update

17 years ago * memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
Daniel Jacobowitz [Tue, 3 Oct 2006 15:54:01 +0000 (15:54 +0000)]
* memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
definitions.
* xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.

17 years ago * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer.
Jakub Jelinek [Tue, 3 Oct 2006 13:15:39 +0000 (13:15 +0000)]
* elf-bfd.h (struct eh_cie_fde): Add set_loc pointer.
* elf-eh-frame.c (skip_cfa_op): Fix handling of DW_CFA_advance_loc.
Handle DW_CFA_{remember,restore}_state, DW_CFA_GNU_window_save,
DW_CFA_val_{offset{,_sf},expression}.
(skip_non_nops): Record number of DW_CFA_set_loc ops.
(_bfd_elf_discard_section_eh_frame): Require skip_non_nops recognizes
all ops.  If there are any DW_CFA_set_loc ops and they are pcrel
or going to be pcrel, compute set_loc array.
(_bfd_elf_eh_frame_section_offset): If make_relative, kill relocations
against DW_CFA_set_loc operands.
(_bfd_elf_write_section_eh_frame): Handle DW_CFA_set_loc adjusting.

* ld-elf/eh4.d: New test.
* ld-elf/eh4.s: New file.
* ld-elf/eh4a.s: New file.

17 years agodaily update
Alan Modra [Tue, 3 Oct 2006 00:24:33 +0000 (00:24 +0000)]
daily update

17 years ago*** empty log message *** insight_6_5-20061003-release
gdbadmin [Tue, 3 Oct 2006 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
Kazu Hirata [Mon, 2 Oct 2006 22:52:19 +0000 (22:52 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
symbols from the --just-syms file.

17 years ago * tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
Tom Tromey [Mon, 2 Oct 2006 18:03:18 +0000 (18:03 +0000)]
* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
GCC_ENABLE.

17 years ago * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
Vladimir Prus [Mon, 2 Oct 2006 16:38:26 +0000 (16:38 +0000)]
    * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
        via string_to_regexp.
        * gdb.mi/mi2-basics.exp: Likewise.

17 years ago * cris/cris-sim.h (enum cris_unknown_syscall_action_type)
Hans-Peter Nilsson [Mon, 2 Oct 2006 03:21:28 +0000 (03:21 +0000)]
* cris/cris-sim.h (enum cris_unknown_syscall_action_type)
(cris_unknown_syscall_action): Declare.
* cris/sim-if.c (cris_unknown_syscall_action): Define.
(cris_options): Add cris-unknown-syscall option.
(cris_option_handler): Correct comment about and error message for
invalid --cris-cycles argument.  Handle --cris-unknown-syscall.
* cris/traps.c: Include stdarg.h
(cris_unknown_syscall): New function.
(cris_break_13_handler): Instead of sim_io_eprintf and
sim_engine_halt, call cris_unknown_syscall to handle more or less
unknown syscalls.  Adjust code as necessary to handle return
value.

17 years ago * sim/cris/c/clone5.c, sim/cris/c/mprotect1.c,
Hans-Peter Nilsson [Mon, 2 Oct 2006 03:18:51 +0000 (03:18 +0000)]
* sim/cris/c/clone5.c, sim/cris/c/mprotect1.c,
sim/cris/c/rtsigprocmask1.c, sim/cris/c/rtsigsuspend1.c,
sim/cris/c/sig7.c, sim/cris/c/sigreturn1.c,
sim/cris/c/sigreturn2.c, sim/cris/c/syscall1.c,
sim/cris/c/syscall2.c, sim/cris/c/sysctl2.c, sim/cris/c/fcntl1.c,
sim/cris/c/readlink2.c: Add code to print ENOSYS if syscall being
tested returns ENOSYS.  Add early exit where needed.  Change any
existing code to print "xyzzy", not "pass".
* sim/cris/asm/option3.ms, sim/cris/asm/option4.ms,
sim/cris/c/clone6.c, sim/cris/c/fcntl2.c,
sim/cris/c/mprotect2.c, sim/cris/c/readlink11.c,
sim/cris/c/rtsigprocmask2.c, sim/cris/c/rtsigsuspend2.c,
sim/cris/c/sig13.c, sim/cris/c/sigreturn3.c,
sim/cris/c/sigreturn4.c, sim/cris/c/syscall3.c,
sim/cris/c/syscall4.c, sim/cris/c/syscall5.c,
sim/cris/c/syscall6.c, sim/cris/c/syscall7.c,
sim/cris/c/syscall8.c, sim/cris/c/sysctl3.c: New tests.

17 years ago*** empty log message ***
gdbadmin [Mon, 2 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 1 Oct 2006 23:59:32 +0000 (23:59 +0000)]
daily update

17 years ago * elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
Alan Modra [Sun, 1 Oct 2006 13:59:21 +0000 (13:59 +0000)]
* elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
existence of PLT.

17 years ago * MAINTAINERS: Add Dave Brolley for sh64.
Daniel Jacobowitz [Sun, 1 Oct 2006 04:00:30 +0000 (04:00 +0000)]
* MAINTAINERS: Add Dave Brolley for sh64.

17 years ago*** empty log message ***
gdbadmin [Sun, 1 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 30 Sep 2006 23:59:31 +0000 (23:59 +0000)]
daily update

17 years ago * cris/traps.c (TARGET_PIPE_BUF): New macro.
Hans-Peter Nilsson [Sat, 30 Sep 2006 02:38:06 +0000 (02:38 +0000)]
* cris/traps.c (TARGET_PIPE_BUF): New macro.
(cris_pipe_empty): Correct initialization of "remaining".  Only
adjust the "write" return value if more than TARGET_PIPE_BUF bytes
are written.

17 years ago * sim/cris/c/pipe2.c: Adjust expected output.
Hans-Peter Nilsson [Sat, 30 Sep 2006 02:34:43 +0000 (02:34 +0000)]
    * sim/cris/c/pipe2.c: Adjust expected output.
(process): Don't write as much to the pipe as to trig the
inordinate-amount test in the sim pipe machinery.  Correct test of
write return-value; check only that pipemax bytes were
successfully written.  For error-case, emit strerror as well.
(main): Add a second read.

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

17 years agodaily update
Alan Modra [Fri, 29 Sep 2006 23:59:31 +0000 (23:59 +0000)]
daily update

17 years ago2006-09-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 29 Sep 2006 13:24:11 +0000 (13:24 +0000)]
2006-09-29  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3283
* elf64-x86-64.c (elf64_x86_64_relocate_section): Don't ignore
relocation overflow on branches to undefweaks.

17 years agoRegenerate.
Alan Modra [Fri, 29 Sep 2006 08:05:06 +0000 (08:05 +0000)]
Regenerate.

17 years ago * aclocal.m4: Regenerate.
Keith Seitz [Fri, 29 Sep 2006 04:47:41 +0000 (04:47 +0000)]
    * aclocal.m4: Regenerate.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

17 years ago PR 3276
Danny Smith [Fri, 29 Sep 2006 03:33:56 +0000 (03:33 +0000)]
PR 3276
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte
alignment for .data$, .rdata$ and .text$ sections so that sse
and sse2 code will work for linkonce sections too.
* pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.

17 years ago * cris/configure.ac: Check for limits.h and sys/param.h.
Hans-Peter Nilsson [Fri, 29 Sep 2006 02:45:48 +0000 (02:45 +0000)]
* cris/configure.ac: Check for limits.h and sys/param.h.
* cris/configure, cris/config.in: Rebuild.
* cris/traps.c (SIM_PATHMAX): New macro.
(cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.

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

17 years agodaily update
Alan Modra [Thu, 28 Sep 2006 23:59:32 +0000 (23:59 +0000)]
daily update

17 years ago * linux-low.c (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
Daniel Jacobowitz [Thu, 28 Sep 2006 22:46:29 +0000 (22:46 +0000)]
* linux-low.c (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
(linux_resume_one_process): Take a siginfo_t *.  Update all
callers.  Queue it if necessary.  Use PTRACE_SETSIGINFO.
(struct pending_signals): Add a siginfo_t.
(linux_wait_for_process): Always set last_status.
(linux_wait_for_event): Use PTRACE_GETSIGINFO.
(linux_queue_one_thread): Use PTRACE_GETSIGINFO.
* linux-low.h (struct process_info): Add last_status.