external/binutils.git
16 years ago Replace 'target async' by 'maintenance set remote-async' and
Pedro Alves [Thu, 5 Jun 2008 21:35:00 +0000 (21:35 +0000)]
Replace 'target async' by 'maintenance set remote-async' and
'target remote' combination.

* remote.c (remote_async_wait): Merge into remote_wait, and
remove.
(remote_async_permitted, remote_async_permitted_set): New
variables.
(set_maintenance_remote_async_permitted)
(show_maintenance_remote_async_permitted): New functions.
(remote_async_ops, extended_async_remote_ops): Delete.
(remote_async_open, extended_remote_async_open): Delete.
(remote_open_1): Drop async_p parameter.  Update callers.  Replace
async_p with remote_async_permitted checks.
(extended_async_remote_attach): Delete.
(remote_resume, remote_async_resume): Merge and leave remote_resume.
(remote_async_terminal_inferior): Rename to...
(remote_terminal_inferior): ... this, and add
remote_async_termitted check.
(remote_async_terminal_ours): Rename to...
(remote_terminal_ours): ... this, and add remote_async_termitted
check.
(remote_wait, remote_async_wait): Merge and leave remote_wait
only.
(remote_kill, remote_async_kill): Merge and leave remote_kill
only.
(remote_async_mourn, extended_async_remote_mourn): Delete.
(extended_remote_create_inferior_1): Drop async_p parameter.
Update callers.  Always use extended_remote_ops.
(extended_remote_async_create_inferior): Delete.
(remote_return_zero): Delete.
(init_remote_ops): Register remote_can_async_p, remote_async,
remote_async_mask, remote_terminal_inferior and
remote_terminal_ours.
(remote_can_async_p, remote_is_async_p): Check for
remote_async_permitted.
(init_remote_async_ops, init_extended_async_remote_ops): Remove.
(set_remote_cmd): Don't add async and extended-async targets.
(_initialize_remote): Add set/show remote-async maintenance
commands.

gdb/doc/
* gdb.texinfo (-target-select): Remove reference to target async.
(Maintenance Commands): Document "maint set/show remote-async".

16 years ago * remote.c (kill_kludge): Delete.
Pedro Alves [Thu, 5 Jun 2008 21:13:58 +0000 (21:13 +0000)]
* remote.c (kill_kludge): Delete.
(remote_wait, remote_async_wait): Don't set it.
(remote_kill, remote_async_kill): Don't do anything with it.

16 years agogdb/
Pedro Alves [Thu, 5 Jun 2008 21:03:59 +0000 (21:03 +0000)]
gdb/
* linux-thread-db.c (thread_db_wait): Don't trim event ptid.

testsuite/
* gdb.threads/execl.c, gdb.threads/execl1.c,
gdb.threads/execl.exp: New tests.

16 years ago * bcache.c (bcache_data): Call deprecated_bcache_added function.
Aleksandar Ristovski [Thu, 5 Jun 2008 19:21:55 +0000 (19:21 +0000)]
* bcache.c (bcache_data): Call deprecated_bcache_added function.
(deprecated_bcache_added): New function name. Body of function
bcache_data is used here with the addition of 'added' argument.
* bcache.h (deprecated_bcache_added): New function.
* symfile.c (add_psymbol_to_bcache): New helper function, takes part of
work from add_psymbol_to_list - initialises partial symbol and stashes
it in objfile's cache.
(append_psymbol_to_list): New helper function, takes other part of
work from add_psymbol_to_list - adds partial symbol to the given list.
(add_psymbol_to_list): Call helper functions instead of doing work
here. If adding to global list, do not duplicate partial symbols in the
partial symtab.

16 years ago * gdb.cp/exception.exp: Activate test, make it work with pending
Aleksandar Ristovski [Thu, 5 Jun 2008 18:45:37 +0000 (18:45 +0000)]
* gdb.cp/exception.exp: Activate test, make it work with pending
catchpoints.

16 years ago * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
Jan Kratochvil [Thu, 5 Jun 2008 18:37:17 +0000 (18:37 +0000)]
* dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.

16 years ago * breakpoint.c (print_exception_catchpoint): Put 'exception' back to
Aleksandar Ristovski [Thu, 5 Jun 2008 18:31:53 +0000 (18:31 +0000)]
* breakpoint.c (print_exception_catchpoint): Put 'exception' back to
'exception caught|thrown' message.

16 years ago * Makefile.in: Update dependencies.
Jan Kratochvil [Thu, 5 Jun 2008 18:25:30 +0000 (18:25 +0000)]
* Makefile.in: Update dependencies.
* dwarf2expr.c: New include "gdb_assert.h".
(new_dwarf_expr_context): Initialize MAX_RECURSION_DEPTH.
(dwarf_expr_eval): Sanity check the RECURSION_DEPTH count.
(execute_stack_op): Error out on too large RECURSION_DEPTH.
Increase/decrease RECURSION_DEPTH around the function.

16 years ago PR 6584
Ian Lance Taylor [Thu, 5 Jun 2008 17:29:44 +0000 (17:29 +0000)]
PR 6584
        * binary.cc (Binary_to_elf::sized_convert): Fix .data
alignment.

16 years ago * remote.c (get_offsets): Handle a single segment.
Daniel Jacobowitz [Thu, 5 Jun 2008 16:17:54 +0000 (16:17 +0000)]
* remote.c (get_offsets): Handle a single segment.
* symfile.c (symfile_map_offsets_to_segments): Allow more bases
than segments.

16 years ago PR ld/6590
Alan Modra [Thu, 5 Jun 2008 00:30:09 +0000 (00:30 +0000)]
PR ld/6590
* elf64-ppc.c (ppc_build_one_stub): Correct reloc offsets.

16 years ago*** empty log message ***
gdbadmin [Thu, 5 Jun 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 5 Jun 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago2008-06-04 Marc Khouzam <marc.khouzam@ericsson.com>
Marc Khouzam [Wed, 4 Jun 2008 23:24:19 +0000 (23:24 +0000)]
2008-06-04  Marc Khouzam  <marc.khouzam@ericsson.com>

* gdb.texinfo (GDB/MI File Transfer Commands): Typo
in -target-file-get section.

16 years ago * linux-arm-low.c (thumb_breakpoint, thumb_breakpoint_len): New.
Daniel Jacobowitz [Wed, 4 Jun 2008 19:51:51 +0000 (19:51 +0000)]
* linux-arm-low.c (thumb_breakpoint, thumb_breakpoint_len): New.
(arm_breakpoint_at): Handle Thumb.
(the_low_target): Add comment.

16 years ago * app.c (do_scrub_chars): Do not UNGET an EOF value.
Nick Clifton [Wed, 4 Jun 2008 16:10:21 +0000 (16:10 +0000)]
        * app.c (do_scrub_chars): Do not UNGET an EOF value.

16 years ago * elf.c (ignore_section_sym): Don't test section sym value here.
Alan Modra [Wed, 4 Jun 2008 14:24:05 +0000 (14:24 +0000)]
* elf.c (ignore_section_sym): Don't test section sym value here.
(elf_map_symbols): Instead check zero value here as was done prior
to 2006-05-26 change.

16 years ago* po/nl.po: New file: Dutch translation
Nick Clifton [Wed, 4 Jun 2008 10:28:35 +0000 (10:28 +0000)]
* po/nl.po: New file: Dutch translation
* configure.in (ALL_LINGUAS): Add nl.
* configure: Regenerate.

16 years ago * ld.texinfo (Orphan Sections): Fix texi typo.
Nick Clifton [Wed, 4 Jun 2008 10:07:22 +0000 (10:07 +0000)]
    * ld.texinfo (Orphan Sections): Fix texi typo.

16 years ago PR ld/6019
Nick Clifton [Wed, 4 Jun 2008 09:59:08 +0000 (09:59 +0000)]
    PR ld/6019
        * elf32-avr.c (elf32_avr_relax_section): Handle the case where
        there are no local symbols.

16 years ago * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
Nick Clifton [Wed, 4 Jun 2008 09:45:05 +0000 (09:45 +0000)]
    * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
        (ld_options): Add entry for --no-fatal-warnings.
        (parse_args): Handle OPTION_NO_WARN_FATAL.
        * ld.texinfo (Options): Document new command line switch.

16 years ago * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
Alan Modra [Wed, 4 Jun 2008 07:08:01 +0000 (07:08 +0000)]
* emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.

16 years ago * elf32-spu.c (get_sym_h): Don't attempt to read global syms.
Alan Modra [Wed, 4 Jun 2008 07:07:19 +0000 (07:07 +0000)]
* elf32-spu.c (get_sym_h): Don't attempt to read global syms.
(process_stubs): Likewise.
(discover_functions): Don't used cached symbols.
(maybe_insert_function): Correct condition under which function
array is realloc'd.
(mark_functions_via_relocs): Delete unused variable.

16 years ago*** empty log message ***
gdbadmin [Wed, 4 Jun 2008 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 4 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agogas/
H.J. Lu [Tue, 3 Jun 2008 17:31:52 +0000 (17:31 +0000)]
gas/

2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (set_sse_check): New.
(md_pseudo_table): Add "sse_check".

gas/testsuite/

2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run sse-check-none and
x86-64-sse-check-none.

* gas/i386/sse-check-none.d: New.
* gas/i386/sse-check-none.s: Likewise.
* gas/i386/x86-64-sse-check-none.d: Likewise.

16 years ago2008-06-03 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 3 Jun 2008 14:29:07 +0000 (14:29 +0000)]
2008-06-03  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_t_rbit): Populate both rm fields.
gas/testsuite/
* gas/arm/thumb32.d: Update expected output.

16 years ago * solib-svr4.c (struct lm_info): Add lm_addr.
Daniel Jacobowitz [Tue, 3 Jun 2008 12:59:37 +0000 (12:59 +0000)]
* solib-svr4.c (struct lm_info): Add lm_addr.
(main_lm_addr): New.
(svr4_default_sos): Set lm_addr.
(svr4_current_sos): Set lm_addr and main_lm_addr.
(svr4_fetch_objfile_link_map): Rewrite.
(svr4_clear_solib): Clear main_lm_addr.

16 years ago2008-06-03 Michael Snyder <msnyder@redhat.com>
Joseph Myers [Tue, 3 Jun 2008 10:53:34 +0000 (10:53 +0000)]
2008-06-03  Michael Snyder  <msnyder@redhat.com>
            Joseph Myers  <joseph@codesourcery.com>

* mips-tdep.c (mips_eabi_return_value): Replace stub that always
returned RETURN_VALUE_STRUCT_CONVENTION with a real function.

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

16 years agodaily update
Alan Modra [Tue, 3 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.
Joel Brobecker [Mon, 2 Jun 2008 16:06:52 +0000 (16:06 +0000)]
    * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.

16 years ago * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
Joel Brobecker [Mon, 2 Jun 2008 16:05:57 +0000 (16:05 +0000)]
    * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.

16 years ago * ldlang.c (closest_target_match): Skip generic big and little
Nick Clifton [Mon, 2 Jun 2008 06:49:58 +0000 (06:49 +0000)]
    * ldlang.c (closest_target_match): Skip generic big and little
        endian ELF targets.

(The patch itself was actually checked in by mistake with a previous delta)

16 years ago * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not
Joel Brobecker [Mon, 2 Jun 2008 03:12:33 +0000 (03:12 +0000)]
    * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not
        treat pointers in data space as function descriptors if the
        target address is also in the data space.

16 years ago*** empty log message ***
gdbadmin [Mon, 2 Jun 2008 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 2 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sun, 1 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 1 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago PR ld/6430
Nick Clifton [Sat, 31 May 2008 16:35:56 +0000 (16:35 +0000)]
        PR ld/6430
            * testsuite/ld-elfcomm/elfcomm.exp (test_sort_common): Test the
            ascending/descending argument to the --sort-common command line
            option.
            * testsuite/ld-elfcomm/sort-common.s: New file.
            * ld.h (enum sort_order): New.
            * ldlang.c (lang_check: Fix comment.
            (lang_common): Sort commons in ascending or descending order.
            (lang_one_common): Likewise.
            * lexsup.c (ld_options): Have --sort-common take an option
            argument.
            (parse_args): Handle argument to --sort-common.
            * ld.texinfo (--sort-common): Document new optional argument.
            * NEWS: Mention new feature.

16 years agoOoops, omitted from previous delta
Nick Clifton [Sat, 31 May 2008 16:04:57 +0000 (16:04 +0000)]
Ooops, omitted from previous delta

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

16 years agodaily update
Alan Modra [Sat, 31 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * archive.cc (Archive::include_all_members) Correct to step
Cary Coutant [Fri, 30 May 2008 21:24:43 +0000 (21:24 +0000)]
* archive.cc (Archive::include_all_members) Correct to step
over symbol table and extended name table in thin archives.

16 years agogas/testsuite/
H.J. Lu [Fri, 30 May 2008 19:49:18 +0000 (19:49 +0000)]
gas/testsuite/

2008-05-30  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-avx.s: Add tests for vmovd on 64bit operands.

* gas/i386/x86-64-sse2avx.s: Add tests for movd on 64bit
operands.

* gas/testsuite/gas/i386/x86-64-avx.d: Updated.
* gas/testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
* gas/testsuite/gas/i386/x86-64-sse2avx.d: Likewise.

opcodes/

2008-05-30  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add vmovd with 64bit operand.
* i386-tbl.h: Regenerated.

16 years ago * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Set
Joel Brobecker [Fri, 30 May 2008 17:03:55 +0000 (17:03 +0000)]
    * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Set
        the trad-frame register value for the SP register.

16 years ago PR ld/6511
Nick Clifton [Fri, 30 May 2008 16:13:53 +0000 (16:13 +0000)]
    PR ld/6511
        * elf64-hppa.c (allocate_global_data_opd): Default to using the
        dynamic symbol table for local function names in shared libraries.

16 years ago PR 5523
Nick Clifton [Fri, 30 May 2008 14:20:27 +0000 (14:20 +0000)]
    PR 5523
        * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
        relocs here.

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

16 years agodaily update
Alan Modra [Fri, 30 May 2008 00:00:04 +0000 (00:00 +0000)]
daily update

16 years ago PR 6407
Ian Lance Taylor [Thu, 29 May 2008 23:51:30 +0000 (23:51 +0000)]
PR 6407
* target-reloc.h (relocate_for_relocatable): Fix new_offset
calculation.

16 years ago * config/tc-mips.c (mips_cpu_info_table): Move records for
Adam Nemet [Thu, 29 May 2008 16:03:41 +0000 (16:03 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Move records for
ST Loongson-2E/2F processors to a better place.

16 years ago* sparcnbsd-tdep.c, sparcobsd-tdep.c: Update for unwinder changes.
Mark Kettenis [Thu, 29 May 2008 15:51:37 +0000 (15:51 +0000)]
* sparcnbsd-tdep.c, sparcobsd-tdep.c: Update for unwinder changes.

16 years ago * linux-ppc-low.c (ppc_collect_ptrace_register): Clear buffer.
Ulrich Weigand [Thu, 29 May 2008 11:53:12 +0000 (11:53 +0000)]
* linux-ppc-low.c (ppc_collect_ptrace_register): Clear buffer.

16 years agobfd/
Jan Kratochvil [Thu, 29 May 2008 07:07:21 +0000 (07:07 +0000)]
bfd/
* elf.c (assign_file_positions_for_load_sections): Adjust pre-section
gaps based on VMA and P_VADDR instead of LMA and P_PADDR addresses.
binutils/testsuite/
* binutils-all/objcopy.exp: Call KEEP_DEBUG_SYMBOLS_AND_TEST_COPY.
(keep_debug_symbols_and_test_copy): New function.
(test5, test6): New variables.

16 years ago * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Improve the heuristic
Joel Brobecker [Thu, 29 May 2008 00:19:33 +0000 (00:19 +0000)]
    * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Improve the heuristic
        that identifies function descriptors outside of the .opd section.

16 years agodaily update
Alan Modra [Thu, 29 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

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

16 years agoelfcpp/:
Ian Lance Taylor [Wed, 28 May 2008 20:48:16 +0000 (20:48 +0000)]
elfcpp/:
* dwarf.h (enum DW_FORM): Define.
gold/:
* reduced_debug_output.cc: New file.
* reduced_debug_output.h: New file.
* options.h (class General_optoins): Add --strip-debug-non-line.
* options.cc (General_options::finalize): Add strip_debug_non_line
to the strip heirarchy.
* layout.h (class Layout): Add debug_abbrev_ and debug_info_
fields.
* layout.cc: Include "reduced_debug_output.h".
(Layout::Layout): Initialize new fields.
(line_only_debug_sections): New static array.
(is_lines_only_debug_sections): New static inline function.
(Layout::include_section): Handle --strip-debug-non-line.
(Layout::make_output_section): If --strip-debug-non-line, build
new output sections for .debug_abbrev and .debug_info.
* dwarf_reader.cc (read_unsigned_LEB_128): Move to namespace
gold.  Warn about possible overflow.
(read_signed_LEB_128): Likewise.
* dwarf_reader.h: (read_unsigned_LEB_128): Declare.
(read_signed_LEB_128): Declare.
* Makefile.am (CCFILES): Add reduced_debug_output.cc.
(HFILES): Add reduced_debug_output.h.
* Makefile.in: Rebuild.

16 years ago ld/testsuite/
Nick Clifton [Wed, 28 May 2008 15:38:36 +0000 (15:38 +0000)]
    ld/testsuite/
        * ld-arm/arm-elf.exp: Skip farcalls tests for non-ARM-EABI
        targets.
        * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: New file.
        * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.

        ld/
        * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
        only.

16 years ago * breakpoint.c (print_exception_catchpoint): In CLI add 'Temporary' for
Aleksandar Ristovski [Wed, 28 May 2008 14:04:21 +0000 (14:04 +0000)]
* breakpoint.c (print_exception_catchpoint): In CLI add 'Temporary' for
temporary catchpoints.  In MI add missing fields 'reason', 'disp',
'bkptno'.
(print_mention_exception_catchpoint): Add 'Temporary' for temporary
catchpoints.
(handle_gnu_v3_exceptions): Use tempflag.

16 years ago Refactor varobj_update interface.
Vladimir Prus [Wed, 28 May 2008 12:06:36 +0000 (12:06 +0000)]
Refactor varobj_update interface.
        * varobj.c (varobj_update): Report changes as vector.  Also
        return not just a list of varobj, but a list of special structures
        that tell what exactly has changed.
        * varobj.h (enum varobj_update_error): Rename to
        varobj_scope_status.
        (struct varobj_update_result_t): New.
        (varobj_update): Adjust prototype.
        * mi/mi-cmd-var.c: Adjust for changes.

16 years ago * elf32-spu.c (spu_elf_object_p): New function.
Alan Modra [Wed, 28 May 2008 08:15:27 +0000 (08:15 +0000)]
* elf32-spu.c (spu_elf_object_p): New function.
(elf_backend_object_p): Define.
(build_stub): Correct second word of 8 byte overlay stubs.
(spu_elf_relocate_section): Formatting.

16 years ago * varobj.c (varobj_update): Fix comment typo.
Vladimir Prus [Wed, 28 May 2008 06:49:56 +0000 (06:49 +0000)]
* varobj.c (varobj_update): Fix comment typo.
Fix indentation.

16 years agodaily update
Alan Modra [Wed, 28 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

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

16 years ago Set the symtab field of symbols read from ECOFF debugging entries.
Joel Brobecker [Tue, 27 May 2008 20:24:51 +0000 (20:24 +0000)]
    Set the symtab field of symbols read from ECOFF debugging entries.
        * mdebugread.c (add_symbol): Add new parameter symtab.
        (parse_symbol): Update calls to add_symbol throughout.

16 years ago * symtab.h (enum address_class): Remove LOC_REGPARM and
Andreas Schwab [Tue, 27 May 2008 19:29:52 +0000 (19:29 +0000)]
* symtab.h (enum address_class): Remove LOC_REGPARM and
LOC_COMPUTED_ARG.
(struct symbol): Add is_argument.
(SYMBOL_IS_ARGUMENT): Define.

* ada-lang.c (ada_add_block_symbols): Use SYMBOL_IS_ARGUMENT.
* buildsym.c (finish_block): Likewise.
* stack.c (print_frame_args, print_block_frame_locals)
(print_frame_arg_vars): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
* tracepoint.c (add_local_symbols): Likewise.
* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.

* coffread.c (process_coff_symbol): Set SYMBOL_IS_ARGUMENT.
* dwarf2read.c (new_symbol): Likewise.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Likewise.

* ada-exp.y (select_possible_type_sym): Don't handle LOC_REGPARM
and LOC_COMPUTED_ARG.
* ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
* ax-gdb.c (gen_var_ref): Likewise.
* eval.c (evaluate_subexp_for_address): Likewise.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* printcmd.c (address_info): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* tracepoint.c (collect_symbol, scope_info): Likewise.

testsuite/:
* gdb.base/frame-args.exp: Handle arguments that are optimized
out.

16 years ago2008-05-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 27 May 2008 12:52:44 +0000 (12:52 +0000)]
2008-05-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* s390-opc.c (INSTR_RRF_R0RR): Fix RRF_R0RR operand format.

2008-05-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* gas/s390/zarch-z990.d (idte): Fix operand format.

16 years ago2008-05-27 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Tue, 27 May 2008 08:34:26 +0000 (08:34 +0000)]
2008-05-27  Kai Tietz  <kai.tietz@onevision.com>

        * pe-dll.c (fill_edata): Make sure we calculate vma's in
        type bfd_vma.
        (generate_reloc): Likewise.
        (pe_implied_import_dll): Likewise.

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

16 years agodaily update
Alan Modra [Tue, 27 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
Luis Machado [Mon, 26 May 2008 15:46:55 +0000 (15:46 +0000)]
* gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
quiet for ppc32 and group options into a single variable.

16 years agodaily update
Alan Modra [Mon, 26 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

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

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

16 years agodaily update
Alan Modra [Sun, 25 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * gdbarch.sh: Added new gdbarch struct
Carlos Eduardo Seo [Sat, 24 May 2008 16:32:01 +0000 (16:32 +0000)]
* gdbarch.sh: Added new gdbarch struct
core_regset_sections.
* gdbarch.c: Refreshed.
* gdbarch.h: Refreshed.
* regset.h (core_regset_section): Declared.
* linux-nat.c (linux_nat_do_thread_registers): Added
support for the new gdbarch struct core_regset_sections.
* utils.c (host_address_to_string): New function.
* defs.h (host_address_to_string): New prototype.
* i386-linux-tdep.c (i386_regset_rections): New register
sections list for i386.
  (i386_linux_init_abi): Initialized new gdbarch struct
  core_regset_sections.
* Makefile.in: Updated to reflect dependency changes.
* ppc-linux-tdep.c (ppc_regset_sections): Register
sections list for ppc.
  (ppc_linux_init_abi): Initialized new gdbarch struct
  core_regset_sections

16 years ago * elf.c (elfcore_write_register_note): New function.
Carlos Eduardo Seo [Sat, 24 May 2008 16:14:59 +0000 (16:14 +0000)]
* elf.c (elfcore_write_register_note): New function.
* elf-bfd.h (elfcore_write_register_note): New prototype.

16 years agodaily update
Alan Modra [Sat, 24 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

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

16 years ago* linespec.c (decode_objc): Save current language around call to
Andreas Schwab [Fri, 23 May 2008 23:39:03 +0000 (23:39 +0000)]
* linespec.c (decode_objc): Save current language around call to
get_selected_block.

16 years ago * gdb.ada/null_array/foo.adb: Add multi-dimensional array
Joel Brobecker [Fri, 23 May 2008 18:15:23 +0000 (18:15 +0000)]
    * gdb.ada/null_array/foo.adb: Add multi-dimensional array
        of zero-size elements.
        * gdb.ada/null_array.exp: Test printing this new array.

16 years ago * valprint.h (get_array_bounds): Renames get_array_low_bound.
Joel Brobecker [Fri, 23 May 2008 18:13:35 +0000 (18:13 +0000)]
    * valprint.h (get_array_bounds): Renames get_array_low_bound.
        * valprint.c (get_array_bounds): Renames get_array_low_bound.
        Return the proper bound value if the array index type is an
        enumerated type. Compute the high bound if requested.
        (val_print_array_elements): Handle the case when the array
        element has a null size.
        * ada-valprint.c (print_optional_low_bound): Add handling
        for empty arrays or arrays of zero-size elements.
        (ada_val_print_array): New function, extracted out from
        ada_val_print_1 case TYPE_CODE_ARRAY, and enhanced to
        handle empty arrays and arrays of zero-size elements.
        (ada_val_print_1)[case TYPE_CODE_ARRAY]: Replace extracted-out
        code by call to ada_val_print_array.
        (ada_value_print): Remove handling of null array.  The handling
        was incomplete and is now better handled by ada_val_print_array.

16 years agoAdd more farcall tests
Nick Clifton [Fri, 23 May 2008 14:16:16 +0000 (14:16 +0000)]
Add more farcall tests

16 years ago2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 23 May 2008 13:55:36 +0000 (13:55 +0000)]
2008-05-23  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/6518
* config/tc-i386.c (match_template): Report ambiguous operand
size, not invalid suffix when there is no match in Intel
syntax.

16 years ago bfd/
Nick Clifton [Fri, 23 May 2008 13:53:27 +0000 (13:53 +0000)]
    bfd/
        * elf32-arm.c (arm_type_of_stub): Ignore STT_SECTION symbols.
        (elf32_arm_stub_add_mapping_symbol): Remove.
        (elf32_arm_add_stub): Don't generate mapping symbols. Change
        prototype.
        (elf32_arm_size_stubs): Use new elf32_arm_add_stub
        prototype. Don't generate thumb to arm glue for calls.
        (arm_map_one_stub): Define.
        (elf32_arm_output_arch_local_syms): Generate mapping symbols for
        long calls stubs.

        ld/testsuite/
        * ld-arm/farcall-arm-arm.s: Force function type on 'bar'.
        * ld-arm/farcall-thumb-arm.s: Likewise.
        * ld-arm/farcall-thumb-arm-blx.d: Fix encoding.
        * ld-arm/farcall-thumb-arm.d: Likewise.
        * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise.
        * ld-arm/arm-elf.exp (armelftests): Add farcall-mix, farcall-mix2,
        farcall-group-default, farcall-group-size2, farcall-section Ignore
        gas warnings in farcall-thumb-arm, farcall-thumb-arm-blx,
        farcall-thumb-arm-blx-pic-veneer.

16 years ago * annotate.c (annotate_source, annotate_frame_begin): Replace
Markus Deuling [Fri, 23 May 2008 04:31:40 +0000 (04:31 +0000)]
* annotate.c (annotate_source, annotate_frame_begin): Replace
deprecated_print_address_numeric with paddress.
* cli/cli-cmds.c (list_command, edit_command): Likewise.
* tui/tui-stack.c (tui_make_status_line): Likewise.

* defs.h (deprecated_print_address_numeric): Remove.
* printcmd.c (deprecated_print_address_numeric): Remove.
* maint.c (maint_print_section_info): Fix comment.

16 years ago * valprint.c (print_hex_chars, print_octal_chars, print_decimal_chars,
Markus Deuling [Fri, 23 May 2008 04:28:05 +0000 (04:28 +0000)]
* valprint.c (print_hex_chars, print_octal_chars, print_decimal_chars,
print_binary_chars, print_char_chars): Add byte_order parameter and
replace gdbarch_byte_order.
(print_decimal_chars): Replace START_P, NOT_END_P and NEXT_P by their
expressions and remove them.  Remove unused TWO_TO_FOURTH.
(val_print_type_code_int): Introduce gdbarch_byte_order to get at the
endianness.  Update call to print_hex_chars.
* valprint.h (print_hex_chars, print_octal_chars, print_decimal_chars,
print_binary_chars, print_char_chars): Add byte_order parameter.
* printcmd.c (print_scalar_formatted): Introduce gdbarch_byte_order to
get at the endianness.  Update print_*_char calls to use byte_order.

16 years agogas/testsuite/
H.J. Lu [Fri, 23 May 2008 00:18:52 +0000 (00:18 +0000)]
gas/testsuite/

2008-05-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/sse-noavx.s: Add tests for cvtpd2pi, cvtpi2pd and
cvttpd2pi.
* gas/i386/x86-64-sse-noavx.s: Likewise.

* gas/i386/sse-noavx.d: Updated.
* gas/i386/x86-64-sse-noavx.d: Likewise.

opcodes/

2008-05-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add NoAVX to cvtpd2pi, cvtpi2pd and cvttpd2pi.
* i386-tbl.h: Regenerated.

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

16 years agodaily update
Alan Modra [Fri, 23 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * gdb.texinfo (vAttach, vRun): Re-remove requirement of the stub
Pedro Alves [Thu, 22 May 2008 21:21:41 +0000 (21:21 +0000)]
* gdb.texinfo (vAttach, vRun): Re-remove requirement of the stub
killing the inferior when it is already debugging a process.

16 years ago * gdb.texinfo (vAttach): Re-remove requirement of the stub killing
Pedro Alves [Thu, 22 May 2008 21:15:05 +0000 (21:15 +0000)]
* gdb.texinfo (vAttach): Re-remove requirement of the stub killing
the inferior when it is already debugging a process.

16 years agogas/testsuite/
H.J. Lu [Thu, 22 May 2008 20:52:54 +0000 (20:52 +0000)]
gas/testsuite/

2008-05-22  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/6517
* gas/i386/avx.s: Add tests for unspecified memory operand
size in Intel syntax.
* gas/i386/x86-64-avx.s: Likewise.

* gas/i386/simd.s: Add tests for cvtsi2ss and cvtsi2sd with
unspecified memory operand size in Intel syntax.

* gas/i386/avx.d: Updated.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/simd.d: Likewise.
* gas/i386/simd-intel.d: Likewise.
* gas/i386/simd-suffix.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.

opcodes/

2008-05-22  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/6517
* i386-opc.tbl: Break cvtsi2ss/cvtsi2sd/vcvtsi2sd/vcvtsi2ss
into 32bit and 64bit.  Remove Reg64|Qword and add
IgnoreSize|No_qSuf on 32bit version.
* i386-tbl.h: Regenerated.

16 years ago2008-05-22 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 22 May 2008 17:03:55 +0000 (17:03 +0000)]
2008-05-22  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (parse_cond): Covert to lowercase before matching.

16 years ago * symtab.h (struct symbol): Make "aux_value" member a void pointer
Ulrich Weigand [Thu, 22 May 2008 17:00:50 +0000 (17:00 +0000)]
* symtab.h (struct symbol): Make "aux_value" member a void pointer
instead of a union.
(SYMBOL_LOCATION_BATON): Update.

16 years ago * symtab.h (enum address_class): Remove LOC_BASEREG and
Ulrich Weigand [Thu, 22 May 2008 17:00:07 +0000 (17:00 +0000)]
* symtab.h (enum address_class): Remove LOC_BASEREG and
LOC_BASEREG_ARG.
(struct symbol): Remove "basereg" member of "aux_value" union.
(SYMBOL_BASEREG): Remove.

* ada-exp.y (select_possible_type_sym): Do not handle LOC_BASEREG
or LOC_BASEREG_ARG.
* ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
(ada_add_block_symbols): Likewise.
* ax-gdb.c (gen_var_ref): Likewise.
* buildsym.c (finish_block): Likewise.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
* printcmd.c (address_info): Likewise.
* stack.c (print_frame_args, print_block_frame_locals): Likewise.
(print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
* tracepoint.c (collect_symbol, add_local_symbols): Likewise.
(scope_info): Likewise.

16 years ago * symtab.h (enum address_class): Remove LOC_LOCAL_ARG.
Ulrich Weigand [Thu, 22 May 2008 16:59:01 +0000 (16:59 +0000)]
* symtab.h (enum address_class): Remove LOC_LOCAL_ARG.

* ada-exp.y (select_possible_type_sym): Do not handle LOC_LOCAL_ARG.
* ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
(ada_add_block_symbols): Likewise.
* ax-gdb.c (gen_var_ref): Likewise.
* buildsyms.c (finish_block): Likewise.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
* printcmd.c (address_info): Likewise.
* stack.c (print_frame_args, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
* tracepoint.c (collect_symbol, add_local_symbols): Likewise.
(scope_info): Likewise.

16 years ago * symtab.h (enum address_class): Remove LOC_INDIRECT and
Ulrich Weigand [Thu, 22 May 2008 16:58:02 +0000 (16:58 +0000)]
* symtab.h (enum address_class): Remove LOC_INDIRECT and
LOC_HP_THREAD_LOCAL_STATIC.

* findvar.c (symbol_read_needs_frame, read_var_value): Do not
handle LOC_INDIRECT or LOC_HP_THREAD_LOCAL_STATIC.
(read_var_value): Likewise.
* buildsym.c (finish_block): Likewise.
* objfiles.c (objfile_relocate): Likewise.
* printcmd.c (address_info): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* tracepoint.c (scope_info): Likewise.