deliverable/binutils-gdb.git
11 years agoSync config with GCC
H.J. Lu [Sat, 29 Sep 2012 15:22:16 +0000 (15:22 +0000)] 
Sync config with GCC

2012-09-03  Richard Guenther  <rguenther@suse.de>

PR bootstrap/54138
* config/cloog.m4: Adjust for toplevel reorg.
* config/isl.m4: Adjust.

11 years ago * powerpc.cc (Target_powerpc::iplt_): New output section.
Alan Modra [Sat, 29 Sep 2012 10:29:05 +0000 (10:29 +0000)] 
* powerpc.cc (Target_powerpc::iplt_): New output section.
(Target_powerpc::iplt_section, make_iplt_section,
reloc_needs_plt_for_ifunc, make_local_ifunc_plt_entry): New functions.
(Target_powerpc::make_plt_entry): Handle ifunc syms.
Target_powerpc::plt_entry_count): Count iplt entries too.
(Output_data_plt_powerpc::Output_data_plt_powerpc): Don't create
reloc section in constructor.  New params.
(Target_powerpc::make_plt_section): Create reloc section here instead.
(Output_data_plt_powerpc::add_ifunc_entry, add_local_ifunc_entry): New
functions.
(Output_data_plt_powerpc::initial_plt_entry_size_, name_): New vars.
(Output_data_glink::add_entry, find_entry): New functions to
deal with local syms.
(Glink_sym_ent): Add support for local syms.
(Output_data_glink::do_write): Handle ifunc plt entries.
(Target_powerpc::Scan::get_reference_flags): Handle more relocs.
(Target_powerpc::Scan::local, global): Handle ifunc syms.
(Target_powerpc::Relocate::relocate): Likewise.
(Target_powerpc::do_dynsym_value): Use glink stub, not plt entry.

11 years agogdb/testsuite/
Yao Qi [Sat, 29 Sep 2012 00:03:56 +0000 (00:03 +0000)] 
gdb/testsuite/
* gdb.trace/mi-tracepoint-changed.exp: New.
* gdb.mi/mi-breakpoint-changed.exp: New.
* gdb.mi/pending.c, gdb.mi/pendshr1.c: New
* gdb.mi/pendshr2.c: New.

11 years ago*** empty log message ***
gdbadmin [Sat, 29 Sep 2012 00:00:05 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Sat, 29 Sep 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago2012-09-28 Nathan Miller <nathanm2@us.ibm.com>
Edjunior Barbosa Machado [Fri, 28 Sep 2012 20:20:08 +0000 (20:20 +0000)] 
2012-09-28  Nathan Miller  <nathanm2@us.ibm.com>
    Edjunior Machado  <emachado@linux.vnet.ibm.com>

PR gdb/13989
* solib.c (solib_find): Prevent GDB from loading native libraries when
debugging a cross-target corefile.

11 years ago2012-09-28 selven <pcthegreat@gmail.com>
Pedro Alves [Fri, 28 Sep 2012 12:04:28 +0000 (12:04 +0000)] 
2012-09-28  selven  <pcthegreat@gmail.com>

Make definition match declaration.

* regcache.c (regcache_register_status): Change return type to
enum register_status.

11 years agoDon't abort() when disassembling bad moxie instructions.
Anthony Green [Fri, 28 Sep 2012 03:53:39 +0000 (03:53 +0000)] 
Don't abort() when disassembling bad moxie instructions.

11 years agogdb/
Yao Qi [Fri, 28 Sep 2012 00:39:18 +0000 (00:39 +0000)] 
gdb/
* mi/mi-main.c (mi_cmd_data_write_memory): Call
write_memory_with_notification instead of write_memory.
(mi_cmd_data_write_memory_bytes): Call write_memory_with_notification
instead of target_write_memory.

gdb/testsuite/
* gdb.mi/pr11022.exp: New.
* gdb.mi/pr11022.c: New.  Copied from gdb.base/.

11 years agogdb/
Yao Qi [Fri, 28 Sep 2012 00:25:24 +0000 (00:25 +0000)] 
gdb/
* mi/mi-main.c (mi_cmd_data_write_memory_bytes): Emit error
when the length of content is not an even number.

11 years agodaily update
Alan Modra [Fri, 28 Sep 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Fri, 28 Sep 2012 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago Fix https://bugzilla.redhat.com/show_bug.cgi?id=849357
Tom Tromey [Thu, 27 Sep 2012 16:04:23 +0000 (16:04 +0000)] 
Fix https://bugzilla.redhat.com/show_bug.cgi?id=849357
* cp-valprint.c (cp_print_value_fields): Use get_vptr_fieldno.
gdb/testsuite
* gdb.cp/derivation.exp: Add regression test.
* gdb.cp/derivation.cc (class V_base, class V_inter, class
V_derived): New.
(vderived): New global.

11 years agosol-thread.c: Remove commented-out code.
Joel Brobecker [Thu, 27 Sep 2012 12:53:57 +0000 (12:53 +0000)] 
sol-thread.c: Remove commented-out code.

gdb/ChangeLog:

        * sol-thread.c (sol_thread_fetch_registers)
        (sol_thread_store_registers): Delete commented out code.

11 years agoNew unit sparc-sol-thread.c extracted from sol-thread.c
Joel Brobecker [Thu, 27 Sep 2012 12:53:44 +0000 (12:53 +0000)] 
New unit sparc-sol-thread.c extracted from sol-thread.c

Moving some sparc-specific routines out of sol-thread.c into their
own (new) file.

gdb/ChangeLog:

        * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
        Move these functions to sparc-sol-thread.c.
        * sparc-sol-thread.c: New file.
        * configure.ac: Add sparc-sol-thread.o to CONFIG_OBS and
        sparc-sol-thread.c to CONFIG_SRCS for sparc-solaris native
        configurations.
        * configure: Regenerate.

11 years agosol-thread.c: Remove #if 0-ed code.
Joel Brobecker [Thu, 27 Sep 2012 12:53:13 +0000 (12:53 +0000)] 
sol-thread.c: Remove #if 0-ed code.

gdb/ChangeLog:

        * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
        Remove commented-out code.

11 years agosol-thread.c: conditionalize some sparc-specific libthread_db functions.
Joel Brobecker [Thu, 27 Sep 2012 12:52:53 +0000 (12:52 +0000)] 
sol-thread.c: conditionalize some sparc-specific libthread_db functions.

gdb/ChangeLog:

        * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
        Enable this code for sparc hosts only.

11 years agoAdd procfs_find_LDT_entry declaration (procfs.h).
Joel Brobecker [Thu, 27 Sep 2012 12:52:10 +0000 (12:52 +0000)] 
Add procfs_find_LDT_entry declaration (procfs.h).

Add a declaration for procfs_find_LDT_entry in order to prevent
a compiler warning about this function missing one. This also
helps making sure that declaration and definition remain consistent.

gdb/ChangeLog:

        * procfs.h (procfs_find_LDT_entry): Add declaration.
        * sol-thread.c (ps_lgetLDT): Delete local declaration of
        function procfs_find_LDT_entry.

11 years agoMake procfs.c:proc_get_LDT_entry static
Joel Brobecker [Thu, 27 Sep 2012 12:51:57 +0000 (12:51 +0000)] 
Make procfs.c:proc_get_LDT_entry static

This function is not used outside of procfs.c.

gdb/ChangeLog:

        * procfs.c (proc_get_LDT_entry): Make static.

11 years agoFix declaration of proc_find_memory_regions
Joel Brobecker [Thu, 27 Sep 2012 12:51:40 +0000 (12:51 +0000)] 
Fix declaration of proc_find_memory_regions

This function is used as a target_ops callback. The function
implemention was recently changed, but the declaration wasn't
updated accordingly.

This fixes a build failure on Solaris.

gdb/ChangeLog:

        * procfs.c (proc_find_memory_regions): Fix declaration.

11 years ago * amd64-tdep.c (amd64_return_value): Revert previous change
Siddhesh Poyarekar [Thu, 27 Sep 2012 10:40:01 +0000 (10:40 +0000)] 
    * amd64-tdep.c (amd64_return_value): Revert previous change
        that used TYPE_LENGTH directly.
        * bfin-tdep.c (bfin_extract_return_value): Likewise.
        (bfin_store_return_value): Likewise.
        * cris-tdep.c (cris_store_return_value): Likewise.
        (cris_extract_return_value): Likewise.
        * h8300-tdep.c (h8300_extract_return_value): Likewise.
        * hppa-tdep.c (hppa64_return_value): Likewise.
        * lm32-tdep.c (lm32_store_return_value): Likewise.
        * microblaze-tdep.c (microblaze_store_return_value): Likewise.
        * spu-tdep.c (spu_value_from_register): Likewise.
        * vax-tdep.c (vax_return_value): Likewise.

11 years ago * gdbtypes.c (lookup_array_range_type): Expand parameters
Siddhesh Poyarekar [Thu, 27 Sep 2012 08:57:16 +0000 (08:57 +0000)] 
* gdbtypes.c (lookup_array_range_type): Expand parameters
LOW_BOUND and HIGH_BOUND to LONGEST.
(lookup_string_range_type): Likewise.
* gdbtypes.h (lookup_array_range_type): Likewise.
(lookup_string_range_type): Likewise.
* valops.c (value_cstring): Expand parameter LEN to ssize_t.
Expand HIGHBOUND to ssize_t.
(value_string): Likewise.
* value.h (value_cstring): Expand parameter LEN to ssize_t.
(value_string): Likewise.

11 years agodaily update
Alan Modra [Thu, 27 Sep 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Thu, 27 Sep 2012 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agogdb/
Yao Qi [Wed, 26 Sep 2012 23:53:53 +0000 (23:53 +0000)] 
gdb/
PR breakpoints/13898
* breakpoint.h (tracepoint_breakpoint_ops): Forward declaration.
* mi/mi-cmd-break.c (mi_cmd_break_insert): Set breakpoint_ops
per breakpoint type.

11 years ago * procfs.c: Add gdb_bfd header.
Pierre Muller [Wed, 26 Sep 2012 21:23:11 +0000 (21:23 +0000)] 
* procfs.c: Add gdb_bfd header.
* rs6000-nat.c: Likewise.
* solib-pa64.c: Likewise.
* spu-linux-nat.c: Likewise.
* windows-nat.c: Likewise.

11 years ago * f-lang.h (BLANK_COMMON_NAME_LOCAL): Remove.
Tom Tromey [Wed, 26 Sep 2012 19:58:18 +0000 (19:58 +0000)] 
* f-lang.h (BLANK_COMMON_NAME_LOCAL): Remove.

11 years ago * dwarf2read.c (mark_common_block_symbol_computed): New function.
Tom Tromey [Wed, 26 Sep 2012 19:50:13 +0000 (19:50 +0000)] 
* dwarf2read.c (mark_common_block_symbol_computed): New function.
(read_common_block): Handle child DIEs with
DW_AT_data_member_location.
(new_symbol_full): Add special case for common blocks.
gdb/testsuite
* gdb.dwarf2/dw2-common-block.S: New file.
* gdb.dwarf2/dw2-common-block.exp: New file.

11 years ago2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
Tom Tromey [Wed, 26 Sep 2012 19:38:32 +0000 (19:38 +0000)] 
2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Tom Tromey  <tromey@redhat.com>
* dwarf2read.c (read_common_block): Rewrite.
(new_symbol_full): Handle DW_TAG_common_block.
* f-lang.c (head_common_list, find_common_for_function):
Remove.
* f-lang.h (struct common_entry, struct saved_f77_common,
SAVED_F77_COMMON, SAVED_F77_COMMON_PTR, COMMON_ENTRY,
COMMON_ENTRY_PTR, head_common_list, find_common_for_function,
BLANK_COMMON_NAME_LOCAL): Remove.
(struct common_block): New.
* f-valprint.c (list_all_visible_commons): Remove.
(info_common_command_for_block): New function.
(info_common_command): Use it.
* stack.c (iterate_over_block_locals): Special case for
COMMON_BLOCK_DOMAIN.
* symtab.h (enum domain_enum_tag) <COMMON_BLOCK_DOMAIN>: New
constant.
(struct general_symbol_info) <value.common_block>: New field.
(SYMBOL_VALUE_COMMON_BLOCK): New define.
gdb/testsuite
2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
* gdb.fortran/common-block.exp: New file.
* gdb.fortran/common-block.f90: New file.

11 years ago2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
Tom Tromey [Wed, 26 Sep 2012 19:05:09 +0000 (19:05 +0000)] 
2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Tom Tromey  <tromey@redhat.com>

* f-lang.c (allocate_saved_bf_node,
allocate_saved_function_node, allocate_saved_f77_common_node,
allocate_common_entry_node, tail_common_list, current_common,
saved_bf_list, saved_bf_list_end, current_head_bf_list,
tmp_bf_ptr, add_common_block, add_common_entry,
find_first_common_named, patch_common_entries,
patch_all_commons_by_name, ADD_BF_SYMNUM, clear_bf_list,
global_remote_debug, get_bf_for_fcn, saved_function_list,
saved_function_list_end, clear_function_list, struct saved_fcn,
struct saved_bf_symnum, SAVED_FUNCTION, SAVED_FUNCTION_PTR,
SAVED_BF, SAVED_BF_PTR): Remove.
* f-lang.h (tail_common_list, current_common,
UNINITIALIZED_SECNUM, COMMON_NEEDS_PATCHING,
BLANK_COMMON_NAME_ORIGINAL, BLANK_COMMON_NAME_MF77,
DEFAULT_UPPER_BOUND, DEFAULT_LOWER_BOUND, real_main_name,
real_main_c_value): Remove.
* f-valprint.c (there_is_a_visible_common_named): Remove.

11 years agohttp://sourceware.org/ml/gdb-patches/2012-09/msg00403.html
Andrew Burgess [Wed, 26 Sep 2012 16:36:00 +0000 (16:36 +0000)] 
sourceware.org/ml/gdb-patches/2012-09/msg00403.html

gdb/ChangeLog

        * breakpoint.c (update_global_location_list): Ignore previous
        duplicate status of a breakpoint when starting a new scan for
        duplicate breakpoints.

gdb/testsuite/ChangeLog

        * gdb.base/duplicate-bp.c: New file.
        * gdb.base/duplicate-bp.exp: New file.

11 years agoAdding PR number tp ChangeLog
Karthik Bhat [Wed, 26 Sep 2012 14:15:53 +0000 (14:15 +0000)] 
Adding PR number tp ChangeLog

11 years agoFix changelog format.
Yao Qi [Wed, 26 Sep 2012 13:45:46 +0000 (13:45 +0000)] 
Fix changelog format.

11 years ago* arm-tdep.c (arm_skip_prologue): Extending producer check to support LLVM compiler.
Karthik Bhat [Wed, 26 Sep 2012 12:14:30 +0000 (12:14 +0000)] 
* arm-tdep.c (arm_skip_prologue): Extending producer check to support LLVM compiler.

11 years ago * amd64-tdep.c (amd64_return_value): Use TYPE_LENGTH directly.
Siddhesh Poyarekar [Wed, 26 Sep 2012 07:52:48 +0000 (07:52 +0000)] 
    * amd64-tdep.c (amd64_return_value): Use TYPE_LENGTH directly.
        * bfin-tdep.c (bfin_extract_return_value): Likewise.
        (bfin_store_return_value): Likewise.
        * cris-tdep.c (cris_store_return_value): Likewise.
        (cris_extract_return_value): Likewise.
        * h8300-tdep.c (h8300_extract_return_value): Likewise.
        * hppa-tdep.c (hppa64_return_value): Likewise.
        * lm32-tdep.c (lm32_store_return_value): Likewise.
        * microblaze-tdep.c (microblaze_store_return_value): Likewise.
        * spu-tdep.c (spu_value_from_register): Likewise.
        * vax-tdep.c (vax_return_value): Likewise.

11 years agogdb/testsuite:
Yao Qi [Wed, 26 Sep 2012 06:53:46 +0000 (06:53 +0000)] 
gdb/testsuite:
* gdb.mi/mi2-cli.exp:  Avoid line number in test summary.

Revert:
2012-09-21  Yao Qi  <yao@codesourcery.com>

* gdb.mi/mi2-cli.exp: Remove redundant '\'.

11 years agogdb/ChangeLog:
Siddhesh Poyarekar [Wed, 26 Sep 2012 02:06:55 +0000 (02:06 +0000)] 
gdb/ChangeLog:

* breakpoint.c (invalidate_bp_value_on_memory_change): Expand
parameter LEN to ssize_t.

gdb/doc/ChangeLog:

observer.texi (memory_changed): Expand parameter LEN to ssize_t.

11 years ago*** empty log message ***
gdbadmin [Wed, 26 Sep 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Wed, 26 Sep 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years agoAdd missing Cpu flags in bd and bt cores
H.J. Lu [Tue, 25 Sep 2012 13:12:34 +0000 (13:12 +0000)] 
Add missing Cpu flags in bd and bt cores

gas/testsuite/

2012-09-25  Saravanan Ekanathan <saravanan.ekanathan@amd.com>

* gas/i386/arch-10-bdver1.d: New file to test bdver1 core.
* gas/i386/x86-64-arch-2-bdver1.d: Likewise.
* gas/i386/i386.exp: Run bdver1 testcases.
* gas/i386/arch-10-bdver2.d: Updated -march flags.
* gas/i386/arch-10-btver1.d: Likewise.
* gas/i386/arch-10-btver2.d: Likewise.
* gas/i386/x86-64-arch-2-bdver2.d: Likewise.
* gas/i386/x86-64-arch-2-btver1.d: Likewise.
* gas/i386/x86-64-arch-2-btver2.d: Likewise.

opcodes/

2012-09-25  Saravanan Ekanathan <saravanan.ekanathan@amd.com>

* gas/i386/arch-10-bdver1.d: New file to test bdver1 core.
* gas/i386/x86-64-arch-2-bdver1.d: Likewise.
* gas/i386/i386.exp: Run bdver1 testcases.
* gas/i386/arch-10-bdver2.d: Updated -march flags.
* gas/i386/arch-10-btver1.d: Likewise.
* gas/i386/arch-10-btver2.d: Likewise.
* gas/i386/x86-64-arch-2-bdver2.d: Likewise.
* gas/i386/x86-64-arch-2-btver1.d: Likewise.
* gas/i386/x86-64-arch-2-btver2.d: Likewise.

11 years ago * ada-valprint.c (ada_val_print_1): Eliminate single-use
Siddhesh Poyarekar [Tue, 25 Sep 2012 12:48:53 +0000 (12:48 +0000)] 
* ada-valprint.c (ada_val_print_1): Eliminate single-use
variable LEN.
* alpha-tdep.c (alpha_extract_return_value): Use TYPE_LENGTH
directly.
(alpha_store_return_value): Likewise.
* amd64-tdep.c (amd64_classify_aggregate): Likewise.
(amd64_push_arguments): Likewise.
* ax-gdb.c (gen_trace_static_fields): Likewise.
(gen_traced_pop): Likewise.
* bfin-tdep.c (bfin_push_dummy_call): Likewise.
* breakpoint.c (update_watchpoint): Likewise.
* findcmd.c (parse_find_args): Use local variable for type
instead of length.
* findvar.c (default_read_var_value): Use TYPE_LENGTH directly.
* h8300-tdep.c (h8300h_extract_return_value): Likewise.
(h8300_store_return_value): Likewise.
* i386-darwin-tdep.c (i386_darwin_push_dummy_call): Likewise.
Use i386_darwin_arg_type_alignment directly.
* infcall.c (call_function_by_hand): Use TYPE_LENGTH directly.
* lm32-tdep.c (lm32_push_dummy_call): Likewise.
* m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
(m68hc11_extract_return_value): Likewise.
* mep-tdep.c (mep_push_dummy_call): Likewise.
* printcmd.c (float_type_from_length): Likewise.
* s390-tdep.c (s390_value_from_register): Likewise.
* stack.c (read_frame_arg): Likewise.
* tracepoint.c (encode_actions_1): Likewise.
* valops.c (value_fetch_lazy): Use local variable for type
instead of length.  Use TYPE_LENGTH directly.
* value.c (value_contents_equal): Use TYPE_LENGTH directly.

11 years agoFix typo in skip_prologue_sal's comment.
Joel Brobecker [Tue, 25 Sep 2012 12:38:56 +0000 (12:38 +0000)] 
Fix typo in skip_prologue_sal's comment.

gdb/ChangeLog:

        * symtab.c (skip_prologue_sal): Fix typo in comment.

11 years agoFix ChangeLog entry order (merge error).
Joel Brobecker [Tue, 25 Sep 2012 12:23:25 +0000 (12:23 +0000)] 
Fix ChangeLog entry order (merge error).

11 years agoSmall typo in comment inside create_sals_line_offset
Joel Brobecker [Tue, 25 Sep 2012 12:22:54 +0000 (12:22 +0000)] 
Small typo in comment inside create_sals_line_offset

gdb/ChangeLog:

        * linespec.c (create_sals_line_offset): Fix typo in comment.

11 years agogdb/ChangeLog:
Siddhesh Poyarekar [Tue, 25 Sep 2012 12:20:42 +0000 (12:20 +0000)] 
gdb/ChangeLog:

* c-typeprint.c (c_type_print_varspec_suffix): Remove cast and
use plongest to print the array size.

testsuite/ChangeLog:

* gdb.base/longest-types.c: New test case.
* gdb.base/longest-types.exp: New test case.

11 years ago * object.h (Sized_relobj_file::adjust_local_symbol,
Alan Modra [Tue, 25 Sep 2012 00:59:25 +0000 (00:59 +0000)] 
* object.h (Sized_relobj_file::adjust_local_symbol,
do_adjust_local_symbol): New functions.
* object.cc (Sized_relobj_file::do_count_local_symbols): Use the above.
* powerpc.cc (Powerpc_relobj::do_adjust_local_symbol): New function.
(Powerpc_relobj::scan_opd_relocs): Warn on unexpected opd relocs
and irregular opd entry spacing.
(Powerpc_relobj::do_read_relocs): Add opd size checks.
(Global_symbol_visitor_opd): New functor.
(Target_powerpc::do_finalize_sections): Omit global symbols defined
on deleted opd entries.

11 years agogdb/testsuite:
Yao Qi [Tue, 25 Sep 2012 00:55:15 +0000 (00:55 +0000)] 
gdb/testsuite:
* gdb.mi/mi2-cli.exp: Check breakpoint notification.

11 years ago*** empty log message ***
gdbadmin [Tue, 25 Sep 2012 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Tue, 25 Sep 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years agoForgot to include ChangeLog in last checkin.
Steve Ellcey [Mon, 24 Sep 2012 18:04:03 +0000 (18:04 +0000)] 
Forgot to include ChangeLog in last checkin.

11 years ago2012-09-24 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Mon, 24 Sep 2012 18:03:18 +0000 (18:03 +0000)] 
2012-09-24  Steve Ellcey  <sellcey@mips.com>

* mips/basic.exp: Add mips*-mti-elf* target.
* configure.ac: Add mips*-mti-elf* target.
* configure: Regenerate.

11 years ago * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
Siddhesh Poyarekar [Mon, 24 Sep 2012 10:25:09 +0000 (10:25 +0000)] 
* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
* p-valprint.c (pascal_type_print_base): Likewise.

11 years ago*** empty log message ***
gdbadmin [Mon, 24 Sep 2012 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Mon, 24 Sep 2012 00:00:03 +0000 (00:00 +0000)] 
daily update

11 years agogas/testsuite/
Richard Sandiford [Sun, 23 Sep 2012 11:16:53 +0000 (11:16 +0000)] 
gas/testsuite/
2012-09-23  Maciej W. Rozycki  <macro@codesourcery.com>

* gas/mips/hilo-diff-eb.d: New test.
* gas/mips/hilo-diff-eb-n32.d: New test.
* gas/mips/hilo-diff-eb-n64.d: New test.
* gas/mips/hilo-diff-el.d: New test.
* gas/mips/hilo-diff-el-n32.d: New test.
* gas/mips/hilo-diff-el-n64.d: New test.
* gas/mips/mips16@hilo-diff-eb.d: New test.
* gas/mips/mips16@hilo-diff-eb-n32.d: New test.
* gas/mips/mips16@hilo-diff-eb-n64.d: New test.
* gas/mips/mips16@hilo-diff-el.d: New test.
* gas/mips/mips16@hilo-diff-el-n32.d: New test.
* gas/mips/mips16@hilo-diff-el-n64.d: New test.
* gas/mips/micromips@hilo-diff-eb.d: New test.
* gas/mips/micromips@hilo-diff-eb-n32.d: New test.
* gas/mips/micromips@hilo-diff-eb-n64.d: New test.
* gas/mips/micromips@hilo-diff-el.d: New test.
* gas/mips/micromips@hilo-diff-el-n32.d: New test.
* gas/mips/micromips@hilo-diff-el-n64.d: New test.
* gas/mips/hilo-diff.s: New test source.
* gas/mips/mips.exp: Run the new tests.

11 years agogas/
Richard Sandiford [Sun, 23 Sep 2012 11:14:27 +0000 (11:14 +0000)] 
gas/
* config/tc-mips.h (TC_FORCE_RELOCATION): Remove comment.
* config/tc-mips.c (calculate_reloc): New function.
(append_insn): Use it.  Do not resolve compound relocations here.
(mips16_macro_build, mips16_ip): Use calculate_reloc.
(mips16_immed_extend): New function, split out from...
(mips16_immed): ...here.
(mips_frob_file): Handle null symbols.
(mips_force_relocation): Remove NEWABI handling.
(read_reloc_insn, write_reloc_insn): New functions.
(md_apply_fix): Report TLS relocations against constants.
Use read_reloc_insn, calculate_reloc and write_reloc_insn.
Report relocations against constants that can't be resolved
at assembly time.

gas/testsuite/
* gas/mips/elf-rel22.s, gas/mips/elf-rel22.d: Add more tests.
* gas/mips/elf-rel29.s, gas/mips/elf-rel29.d,
gas/mips/micromips@elf-rel29.d, gas/mips/elf-rel30.s,
gas/mips/elf-rel30.l: New tests.
* gas/mips/mips.exp: Run them.

11 years agogas/
Richard Sandiford [Sun, 23 Sep 2012 10:46:38 +0000 (10:46 +0000)] 
gas/
2012-09-23  Maciej W. Rozycki  <macro@codesourcery.com>

* config/tc-mips.c (append_insn) <BFD_RELOC_MIPS_JMP>: Don't
mark as incomplete for constant expressions.
<BFD_RELOC_MIPS16_JMP>: Likewise.

11 years agogas/
Richard Sandiford [Sun, 23 Sep 2012 10:41:24 +0000 (10:41 +0000)] 
gas/
2012-09-23  Richard Sandiford  <rdsandiford@googlemail.com>
    Maciej W. Rozycki  <macro@codesourcery.com>

* config/tc-mips.h (mips_record_label): Delete.
(mips_add_dot_label): Declare.
(tc_new_dot_label): Use it.
* config/tc-mips.c (mips_assembling_insn): New variable.
(md_assemble): Call mips_mark_labels.  Set mips_assembling_insn
while the main part of the function is executing.
(mips_compressed_mark_label): New function, split out from...
(mips_compressed_mark_labels): ...here.
(append_insn): Don't call mips_mark_labels here.
(mips_record_label): Make local.
(mips_add_dot_label): New function.

gas/testsuite/
* gas/mips/dot-1.s, gas/mips/dot-1.d, gas/mips/micromips@dot-1.d,
gas/mips/mips16@dot-1.d: New test.
* gas/mips/mips.exp: Run it.

11 years agoFix typo in previous commit.
Richard Sandiford [Sun, 23 Sep 2012 09:59:24 +0000 (09:59 +0000)] 
Fix typo in previous commit.

11 years agogas/
Richard Sandiford [Sun, 23 Sep 2012 09:56:47 +0000 (09:56 +0000)] 
gas/
* config/tc-mips.c (SEXT_16BIT): New macro.
(mips16_immed): Take the reloc type as a parameter.  Do not impose
a signed vs. unsigned distinction on the value when a relocation
operator was used.
(mips16_macro_build, mips16_ip, md_convert_frag): Pass the reloc
type to mips16_immed.
(macro): Use SEXT_16BIT.

11 years agogas/
Richard Sandiford [Sun, 23 Sep 2012 09:31:14 +0000 (09:31 +0000)] 
gas/
* config/tc-mips.c (read_insn, write_insn, read_compressed_insn):
New functions.
(install_insn, md_apply_fix, md_convert_frag, mips_handle_align):
Use them, and write_compressed_insn.

11 years agogas/
Richard Sandiford [Sun, 23 Sep 2012 09:23:24 +0000 (09:23 +0000)] 
gas/
* config/tc-mips.c (mips_cl_insn): Remove use_extend and extend.
(MIPS16_EXTEND): New macro.
(mips16_opcode_length): New function.
(insn_length): Use it.
(create_insn): Update after mips_cl_insn change.
(write_compressed_insn): New function.
(install_insn): Use it.
(append_insn): Use insn_length to check for unextended MIPS16
instructions.
(mips16_macro_build): Update call to mips16_immed.
(mips16_ip): Likewise.  Use MIPS16_EXTEND to force an extended
instruction.
(mips16_immed): Remove use_extend and extend; install EXTEND
opcodes in the upper 16 bits of *INSN instead.  Keep the
instruction extended if it already is.  Replace warn, small
and ext with a forced_insn_length-like parameter.
(md_convert_frag): Update call mips16_immed.
Use write_compressed_insn.

11 years ago*** empty log message ***
gdbadmin [Sun, 23 Sep 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Sun, 23 Sep 2012 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years agogdb/testsuite/
Yao Qi [Sat, 22 Sep 2012 13:04:55 +0000 (13:04 +0000)] 
gdb/testsuite/

* remote.c (remote_get_trace_status): Remove setting default
values of fields of 'ts'.

11 years agodaily update
Alan Modra [Sat, 22 Sep 2012 00:00:06 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Sat, 22 Sep 2012 00:00:05 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agogdb/
Jan Kratochvil [Fri, 21 Sep 2012 20:01:12 +0000 (20:01 +0000)] 
gdb/
Fix internal error on canonicalization of clang types.
* cp-name-parser.y (operator): New comment at make_operator call for
new, delete, new[] and delete[].
(exp): Use "sizeof ".  Add new comment at make_operator call.

gdb/testsuite/
Fix internal error on canonicalization of clang types.
* gdb.dwarf2/dw2-canonicalize-type.S: New file.
* gdb.dwarf2/dw2-canonicalize-type.exp: New file.
* lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.

11 years agogdb/
Jan Kratochvil [Fri, 21 Sep 2012 18:53:15 +0000 (18:53 +0000)] 
gdb/
Fix disassemble without parameters in tailcall frame.
* cli/cli-cmds.c (disassemble_current_function): Use
get_frame_address_in_block.

gdb/testsuite/
Fix disassemble without parameters in tailcall frame.
* gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.

11 years ago * c-typeprint.c (c_type_print_base) <TYPE_CODE_STRUCT,
Tom Tromey [Fri, 21 Sep 2012 17:37:47 +0000 (17:37 +0000)] 
* c-typeprint.c (c_type_print_base) <TYPE_CODE_STRUCT,
TYPE_CODE_UNION>: Unify, removing a goto.

11 years ago * c-typeprint.c (cp_type_print_derivation_info): Fix comment.
Tom Tromey [Fri, 21 Sep 2012 17:33:17 +0000 (17:33 +0000)] 
* c-typeprint.c (cp_type_print_derivation_info): Fix comment.

11 years agohttp://sourceware.org/ml/gdb-patches/2012-08/msg00715.html
Andrew Burgess [Fri, 21 Sep 2012 17:17:23 +0000 (17:17 +0000)] 
sourceware.org/ml/gdb-patches/2012-08/msg00715.html

gdb/ChangeLog

        * findvar.c (read_frame_register_value): Mark the result value as
        optimized out if any of the input registers have been optimized out.

gdb/testsuite/ChangeLog

        * gdb.dwarf2/dw2-op-out-param.S: New file.
        * gdb.dwarf2/dw2-op-out-param.exp: New file.

11 years ago2012-09-21 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Fri, 21 Sep 2012 15:16:59 +0000 (15:16 +0000)] 
2012-09-21  Steve Ellcey  <sellcey@mips.com>

* configure.ac: Add mips*-mti-elf* target.
* configure: Regenerate.

11 years ago* python/python.c (finalize_python): Only define if HAVE_PYTHON.
Andreas Schwab [Fri, 21 Sep 2012 12:57:34 +0000 (12:57 +0000)] 
* python/python.c (finalize_python): Only define if HAVE_PYTHON.

11 years agogdb/testsuite:
Yao Qi [Fri, 21 Sep 2012 12:26:30 +0000 (12:26 +0000)] 
gdb/testsuite:
* gdb.mi/mi2-cli.exp: Remove redundant '\'.

11 years ago * eval.c (evaluate_subexp_standard): Eliminate single-use
Siddhesh Poyarekar [Fri, 21 Sep 2012 09:24:41 +0000 (09:24 +0000)] 
* eval.c (evaluate_subexp_standard): Eliminate single-use
variable LOWER.

11 years agogdb/testsuite:
Yao Qi [Fri, 21 Sep 2012 08:39:08 +0000 (08:39 +0000)] 
gdb/testsuite:

* gdb.mi/mi-cli.exp: Remove.
* gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.

11 years agogdb/testsuite:
Yao Qi [Fri, 21 Sep 2012 07:29:46 +0000 (07:29 +0000)] 
gdb/testsuite:
* gdb.mi/mi-reverse.exp: Fix the typo in expected output of
"=record-started" notification.

11 years agogdb/doc:
Yao Qi [Fri, 21 Sep 2012 01:46:46 +0000 (01:46 +0000)] 
gdb/doc:
2012-09-21  Yao Qi  <yao@codesourcery.com>
    Pedro Alves  <palves@redhat.com>

* gdb.texinfo (GDB/MI Async Records): Document notification
'record-started' and 'record-stopped'.
* observer.texi (GDB Observers): New observer 'record-changed'.
gdb:
2012-09-21  Yao Qi  <yao@codesourcery.com>

* mi/mi-interp.c: Declare mi_record_changed.
(mi_interpreter_init): Call observer_attach_record_changed.
(mi_record_changed): New.
* record.c (record_open): Call observer_notify_record_changed.
(cmd_record_stop): Call observer_notify_record_changed.
* NEWS: Mention it.

gdb/testsuite:
2012-09-21  Yao Qi  <yao@codesourcery.com>

* gdb.mi/mi-record-changed.exp: New.
* gdb.mi/mi-reverse.exp: Adjust expected output.

11 years agodaily update
Alan Modra [Fri, 21 Sep 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Fri, 21 Sep 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago * NEWS: Update.
Tom Tromey [Thu, 20 Sep 2012 20:54:11 +0000 (20:54 +0000)] 
* NEWS: Update.
* python/python.c (finalize_python): New function.
(_initialize_python): Make a final cleanup.
testsuite
* gdb.python/python.exp: Test atexit.register.

11 years ago * boards/dwarf4-gdb-index.exp: New file.
Doug Evans [Thu, 20 Sep 2012 15:21:09 +0000 (15:21 +0000)] 
* boards/dwarf4-gdb-index.exp: New file.

11 years ago * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
Doug Evans [Thu, 20 Sep 2012 14:43:48 +0000 (14:43 +0000)] 
* gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
while running the tests.

11 years agoAdd x86-64-arch-2-1/x86-64-arch-2-2 tests
H.J. Lu [Thu, 20 Sep 2012 14:43:20 +0000 (14:43 +0000)] 
Add x86-64-arch-2-1/x86-64-arch-2-2 tests

* gas/i386/i386.exp: Run x86-64-arch-2-1 and x86-64-arch-2-2.

* gas/i386/x86-64-arch-2-1.l: New file.
* gas/i386/x86-64-arch-2-1.s: Likewise.
* gas/i386/x86-64-arch-2-2.l: Likewise.
* gas/i386/x86-64-arch-2-2.s: Likewise.

11 years ago * corefile.c (core_sym_class): Allow for ".constprop.N" cloned
Alan Modra [Thu, 20 Sep 2012 13:15:48 +0000 (13:15 +0000)] 
* corefile.c (core_sym_class): Allow for ".constprop.N" cloned
functions.

11 years agoReplace CpuSSE3 with CpuCX16 for cmpxchg16b
H.J. Lu [Thu, 20 Sep 2012 11:53:33 +0000 (11:53 +0000)] 
Replace CpuSSE3 with CpuCX16 for cmpxchg16b

gas/

* config/tc-i386.c (cpu_arch): Add .cx16.
* doc/c-i386.texi: Document .cx16.

gas/testsuite/

* gas/i386/x86-64-arch-2.s: Add test for cmpxchg16b.
* gas/i386/x86-64-arch-2.d: Update correspondingly.
* gas/i386/x86-64-arch-2-bdver2.d: Likewise.
* gas/i386/x86-64-arch-2-btver1.d: Likewise.
* gas/i386/x86-64-arch-2-btver2.d: Likewise.
* gas/i386/x86-64-arch-2-lzcnt.d: Likewise.
* gas/i386/x86-64-arch-2-prefetchw.d: Likewise.
* gas/i386/ilp32/x86-64-arch-2.d: Likewise.

opcodes/

* i386-gen.c (cpu_flag_init): Add CpuCX16 to CPU_NOCONA_FLAGS,
CPU_CORE_FLAGS, CPU_CORE2_FLAGS, CPU_COREI7_FLAGS,
CPU_BDVER1_FLAGS, CPU_BDVER2_FLAGS, CPU_BTVER1_FLAGS,
CPU_BTVER2_FLAGS.  Add CPU_CX16_FLAGS.
(cpu_flags): Add CpuCX16.
* i386-opc.h (CpuCX16): New.
(i386_cpu_flags): Add cpucx16.
* i386-opc.tbl: Replace CpuSSE3 with CpuCX16 for cmpxchg16b.
* i386-tbl.h: Regenerate.
* i386-init.h: Likewise.

11 years agoFix computation of got relocations for .got sections greater than
Walter Lee [Thu, 20 Sep 2012 06:55:02 +0000 (06:55 +0000)] 
Fix computation of got relocations for .got sections greater than
0x8000 bytes.

11 years ago * configure.ac (host_libs): Add libbacktrace.
Ian Lance Taylor [Thu, 20 Sep 2012 00:04:27 +0000 (00:04 +0000)] 
* configure.ac (host_libs): Add libbacktrace.
(target_libraries): Add libbacktrace.
* Makefile.def (host_modules): Add libbacktrace.
(target_modules): Likewise.
* configure, Makefile.in: Rebuild.

11 years ago*** empty log message ***
gdbadmin [Thu, 20 Sep 2012 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Thu, 20 Sep 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago2012-09-19 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 19 Sep 2012 21:22:33 +0000 (21:22 +0000)] 
2012-09-19  Steve Ellcey  <sellcey@mips.com>

* mt-sde: Change -mcode-xonly to -mcode-readable=pcrel.

11 years agoFix spacing in last checkin.
Steve Ellcey [Wed, 19 Sep 2012 20:15:05 +0000 (20:15 +0000)] 
Fix spacing in last checkin.

11 years ago2012-09-19 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 19 Sep 2012 20:14:26 +0000 (20:14 +0000)] 
2012-09-19  Steve Ellcey  <sellcey@mips.com>

* configure.tgt: Add mips*-mti-elf* target.

11 years ago2012-09-19 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 19 Sep 2012 20:10:43 +0000 (20:10 +0000)] 
2012-09-19  Steve Ellcey  <sellcey@mips.com>

* config.bfd: Add mips*-mti-elf* target.

11 years ago * buildsym.h (param_symbols): Delete, unused.
Doug Evans [Wed, 19 Sep 2012 20:06:47 +0000 (20:06 +0000)] 
* buildsym.h (param_symbols): Delete, unused.
(context_stack): Delete member "params", unused.
* buildsym.c (push_context): Update.
* dwarf2read.c (read_func_scope): Update.

11 years agogdb/
Thomas Schwinge [Wed, 19 Sep 2012 11:10:54 +0000 (11:10 +0000)] 
gdb/
* sh-tdep.c (sh_register_convert_to_virtual)
(sh_register_convert_to_raw): Add a gdbarch parameter.  Update
all callers.  Just do a memcpy if not the little-endian case.

11 years agogdb/
Thomas Schwinge [Wed, 19 Sep 2012 11:09:16 +0000 (11:09 +0000)] 
gdb/
* h8300-tdep.c (h8300_gdbarch_init): Invoke
set_gdbarch_double_format and set_gdbarch_long_double_format.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Invoke
set_gdbarch_double_format.
* sh-tdep.c (sh_gdbarch_init): Likewise.

11 years agogdb/
Thomas Schwinge [Wed, 19 Sep 2012 11:07:01 +0000 (11:07 +0000)] 
gdb/
* NEWS: Document the removal of SH's 'regs' command.
* sh-tdep.c (_initialize_sh_tdep): Remove the deprecated 'regs'
command.

gdb/doc/
* gdb.texinfo: Document the removal of SH's 'regs' command.

11 years ago2012-09-19 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
Richard Earnshaw [Wed, 19 Sep 2012 08:51:15 +0000 (08:51 +0000)] 
2012-09-19  Chris Schlumberger-Socha  <chris.schlumberger-socha@arm.com>

* ld-aarch64/emit-relocs-309-low.d: Replace symbol with regexp.
* ld-aarch64/emit-relocs-309-up.d: Likewise.

This page took 0.055178 seconds and 4 git commands to generate.