external/binutils.git
12 years ago include/opcode/
Maciej W. Rozycki [Mon, 13 Aug 2012 14:26:14 +0000 (14:26 +0000)]
include/opcode/
* mips.h (mips_opcode): Add the exclusions field.
(OPCODE_IS_MEMBER): Remove macro.
(cpu_is_member): New inline function.
(opcode_is_member): Likewise.

opcodes/
* micromips-opc.c (micromips_opcodes): Update comment.
* mips-opc.c (mips_builtin_opcodes): Likewise.  Mark coprocessor
instructions for IOCT as appropriate.
* mips-dis.c (print_insn_mips): Replace OPCODE_IS_MEMBER with
opcode_is_member.
* configure.in: Substitute NO_WMISSING_FIELD_INITIALIZERS with
the result of a check for the -Wno-missing-field-initializers
GCC option.
* Makefile.am (NO_WMISSING_FIELD_INITIALIZERS): New variable.
(mips-opc.lo): Pass $(NO_WMISSING_FIELD_INITIALIZERS) to
compilation.
(mips16-opc.lo): Likewise.
(micromips-opc.lo): Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.

gas/
* config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros.
(is_opcode_valid): Remove coprocessor instruction exclusions.
Replace OPCODE_IS_MEMBER with opcode_is_member.
(is_opcode_valid_16): Replace OPCODE_IS_MEMBER with
opcode_is_member.
(macro): Remove coprocessor instruction exclusions.

12 years ago * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.
Maciej W. Rozycki [Mon, 13 Aug 2012 14:09:44 +0000 (14:09 +0000)]
* config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.
(s_cplocal, s_cprestore, s_cpreturn): Likewise.

12 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Fix the handling
Maciej W. Rozycki [Mon, 13 Aug 2012 13:06:14 +0000 (13:06 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Fix the handling
of protected symbols.

12 years agogdb/
Yao Qi [Mon, 13 Aug 2012 01:02:07 +0000 (01:02 +0000)]
gdb/
* std-operator.def: Remove TERNOP_SLICE_COUNT.
* breakpoint.c (watchpoint_exp_is_const): Remove handling to
TERNOP_SLICE_COUNT.
* eval.c (evaluate_subexp_standard): Likewise.
* expprint.c (print_subexp_standard): Likewise.
(dump_subexp_body_standard): Likewise.
* parse.c (operator_length_standard): Likewise.

12 years agogdb/
Yao Qi [Mon, 13 Aug 2012 00:54:04 +0000 (00:54 +0000)]
gdb/
* std-operator.def: Remove OP_BITSTRING.
* breakpoint.c (watchpoint_exp_is_const): Update.
* eval.c (evaluate_subexp_standard): Remove handling to
OP_BITSTRING.
* expprint.c (print_subexp_standard): Likewise.
(dump_subexp_body_standard): Likewise.
* parse.c (operator_length_standard): Likewise.
* valops.c (value_bitstring): Remove.
* value.h: Remove the declaration of 'value_bitstring'.

12 years agodaily update
Alan Modra [Mon, 13 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Mon, 13 Aug 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * powerpc.cc: Whitespace fixes. Wrap overly long lines.
Alan Modra [Sun, 12 Aug 2012 03:07:32 +0000 (03:07 +0000)]
* powerpc.cc: Whitespace fixes.  Wrap overly long lines.
(glink insn constants): Use uint32_t.
(Output_data_glink::add_entry): Use insert, not [] operator.

12 years ago*** empty log message ***
gdbadmin [Sun, 12 Aug 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 12 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago * object.h (Sized_relobj_file::find_shdr): New function.
Alan Modra [Sat, 11 Aug 2012 04:41:28 +0000 (04:41 +0000)]
* object.h (Sized_relobj_file::find_shdr): New function.
(Sized_relobj_file::find_special_sections): New function.
* object.cc (Sized_relobj_file::find_shdr): New function.
(Sized_relobj_file::find_eh_frame): Use find_shdr.
(Sized_relobj_file::find_special_sections): New function, split out..
(Sized_relobj_file::do_read_symbols): ..from here.
* output.h (Output_data_got::replace_constant): New function.
(Output_data_got::num_entries): New function.
(Output_data_got::last_got_offset,set_got_size): Use num_entries.
(Output_data_got::got_offset): Protected rather than private.
(Output_data_got::replace_got_entry): New function.
* output.cc (Output_data_got::replace_got_entry): New function.
* powerpc.cc (class Powerpc_relobj): New.
(class Powerpc_relocate_functions): Delete all psymval variants or
convert to value,addend type.  Delete pcrela, pcrela_unaligned.
Implement _ha functions using corresponding _hi function.
(Powerpc_relobj::find_special_sections): New function.
(Target_powerpc::do_make_elf_object): New function.
(class Output_data_got_powerpc): New.
(class Output_data_glink): New.
(class Powerpc_scan_relocatable_reloc): New.
Many more changes througout file.

12 years ago2012-08-10 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Sat, 11 Aug 2012 00:20:18 +0000 (00:20 +0000)]
2012-08-10  Sergio Durigan Junior  <sergiodj@redhat.com>

* linespec.c (find_methods): Remove unused variables `i1' and
`name_len'.
(decode_line_full): Likewise for `arg_start'.

12 years ago2012-08-10 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Sat, 11 Aug 2012 00:05:55 +0000 (00:05 +0000)]
2012-08-10  Sergio Durigan Junior  <sergiodj@redhat.com>

* gdb_bfd.c (gdb_bfd_unref): Remove unused variable `slot'.
(zlib_decompress_section): Likewise for `section_data'.
(gdb_bfd_map_section): Likewise for `buf' and `retbuf'.

12 years ago*** empty log message ***
gdbadmin [Sat, 11 Aug 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sat, 11 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agoEnable FMA instructions for bdver2
H.J. Lu [Fri, 10 Aug 2012 21:19:40 +0000 (21:19 +0000)]
Enable FMA instructions for bdver2

gas/testsuite/

PR gas/14423
* gas/i386/arch-10-bdver2.d: New file.
* gas/i386/x86-64-arch-2-bdver2.d: Likewise.
* gas/i386/i386.exp: Run new test

opcodes/

2012-08-11  Saravanan Ekanathan <saravanan.ekanathan@amd.com>

PR gas/14423
* i386-gen.c (cpu_flag_init): Add CpuFMA in CPU_BDVER2_FLAGS.
* i386-init.h: Regenerated.

12 years ago Add $_memeq, $_regex, $_streq, $_strlen convenience functions.
Doug Evans [Fri, 10 Aug 2012 20:26:00 +0000 (20:26 +0000)]
Add $_memeq, $_regex, $_streq, $_strlen convenience functions.
* NEWS: Document them.
* data-directory/Makefile.in (PYTHON_FILES): Add function/__init__.py,
function/strfns.py.
* python/py-type.c (typy_array_1): New function.
(typy_array): Call it.
(typy_vector): New function.
(type_object_methods): Add "vector".
* python/lib/gdb/function/__init__.py: New file.
* python/lib/gdb/function/strfns.py: New file.

doc/
* gdb.texinfo (Convenience Funs): New node.
(Types In Python): Document Type.vector.

testsuite/
* gdb.python/py-strfns.c: New file.
* gdb.python/py-strfns.exp: New file.
* gdb.python/py-type.exp (test_fields): Add vector tests.

12 years ago * python/py-type.c (convert_field): Use gdb_py_long_from_longest
Siddhesh Poyarekar [Fri, 10 Aug 2012 18:55:18 +0000 (18:55 +0000)]
* python/py-type.c (convert_field): Use gdb_py_long_from_longest
for TYPE_FIELD_BITPOS.
(typy_get_sizeof): Likewise for TYPE_LENGTH.

12 years agogdb: add completion handler for "handle" and "signal"
Mike Frysinger [Fri, 10 Aug 2012 05:03:13 +0000 (05:03 +0000)]
gdb: add completion handler for "handle" and "signal"

The command line completion has spoiled me.  Thus the lack of completion with
the "handle" command annoys me.  Patch!

This does a few things:
 - adds a VEC_merge helper
 - adds a generic signal completer
 - adds a completion handler for the "handle" command
 - sets the completion handler for the "signal" command

URL: http://sourceware.org/bugzilla/show_bug.cgi?id=10436
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years ago PR binutils/14444
Alan Modra [Fri, 10 Aug 2012 02:14:50 +0000 (02:14 +0000)]
PR binutils/14444
* elf.c (IS_VALID_GROUP_SECTION_HEADER) Add minsize param.
(setup_group): Adjust uses.
(bfd_section_from_shdr): Allow SHT_GROUP sections with just a flag
word.

12 years agodaily update
Alan Modra [Fri, 10 Aug 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Fri, 10 Aug 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoUpdated Vietnamese translation.
Nick Clifton [Thu, 9 Aug 2012 14:46:44 +0000 (14:46 +0000)]
Updated Vietnamese translation.

12 years agogdb/
Yao Qi [Thu, 9 Aug 2012 12:53:46 +0000 (12:53 +0000)]
gdb/

* cli/cli-decode.c (set_cmd_prefix): New.
(lookup_cmd_for_prefixlist): New.
(add_prefix_cmd): Call set_cmd_prefix and update field 'prefix'
of each cmd_list_element in *prefixlist.
(add_setshow_cmd_full): set_cmd_prefix.
(add_alias_cmd): Likewise.
* cli/cli-decode.h (struct cmd_list_element) <prefix>: New field.
Declare 'auto_boolean_enums'.
* cli/cli-setshow.c: Include "observer.h".
(notify_command_param_changed_p): New.
(add_setshow_auto_boolean_cmd): Move auto_boolean_enums out.
Remove 'static'.
(do_setshow_command): Split it to ...
(do_set_command, do_show_command): ... them.  New.
(do_set_command): Call observer_notify_command_param_changed if
notify_command_param_changed_p returns true.
(cmd_show_list): Caller update.
* auto-load.c (set_auto_load_cmd): Likewise.
* remote.c (show_remote_cmd): Likewise.
* cli/cli-setshow.h: Update declarations.
* top.c (execute_command): Call do_set_command and do_show_command.

* NEWS: Mention new MI notification.
* mi/mi-interp.c: Declare mi_command_param_changed.
(mi_interpreter_init): Attach mi_command_param_changed to
observer command_param_changed.
(mi_command_param_changed): New.
Remove mi_suppress_breakpoint_notifications.
Define global variable mi_suppress_notification.
(mi_breakpoint_created): Update.
(mi_breakpoint_deleted): Likewise.
(mi_breakpoint_modified): Likewise.
* mi/mi-main.c (mi_cmd_execute): Likewise.  Check command
'gdb-set' and set mi_suppress_notification.
* mi/mi-main.h: (mi_suppress_notification): New struct.

gdb/doc/

* observer.texi: New observer command_param_changed.
* gdb.texinfo (GDB/MI Async Records): Doc for '=cmd-param-changed'.

gdb/testsuite/

* gdb.mi/mi-cmd-param-changed.exp: New.
* gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
* gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-prompt.exp: Likewise.

12 years ago * elfxx-mips.c (LA25_LUI_MICROMIPS_1, LA25_LUI_MICROMIPS_2):
Maciej W. Rozycki [Thu, 9 Aug 2012 12:05:15 +0000 (12:05 +0000)]
* elfxx-mips.c (LA25_LUI_MICROMIPS_1, LA25_LUI_MICROMIPS_2):
Remove macros, folding them into...
(LA25_LUI_MICROMIPS): ... this new macro.
(LA25_J_MICROMIPS_1, LA25_J_MICROMIPS_2): Likewise into...
(LA25_J_MICROMIPS): ... this new macro.
(LA25_ADDIU_MICROMIPS_1, LA25_ADDIU_MICROMIPS_2): Likewise
into...
(LA25_ADDIU_MICROMIPS): ... this new macro.
(bfd_put_micromips_32, bfd_get_micromips_32): New functions.
(mips_elf_create_la25_stub): Use them.
(check_br32_dslot, check_br32, check_relocated_bzc): Likewise.
(_bfd_mips_elf_relax_section): Likewise.

12 years agogdb/
Jan Kratochvil [Thu, 9 Aug 2012 09:24:23 +0000 (09:24 +0000)]
gdb/
* fbsd-nat.h (fbsd_find_memory_regions): Use find_memory_region_ftype.

12 years agogdb/
Yao Qi [Thu, 9 Aug 2012 06:48:22 +0000 (06:48 +0000)]
gdb/
* cli/cli-cmds.c (enablebreaklist): Move it to breakpoint.c.
(skiplist): Move it to skip.c.
(init_cmd_lists): Remove code setting enablebreaklist and
skiplist to NULL.
* breakpoint.c (enablebreaklist): Moved from cli/cli-cmds.c.
* cli/cli-cmds.h: Remove declaration of enablebreaklist and
skiplist.
* gdbcmd.h: Likewise.
* skip.c (_initialize_step_skip): Move 'skiplist' from
cli/cli-cmds.c.

12 years agogdb/
Yao Qi [Thu, 9 Aug 2012 06:26:25 +0000 (06:26 +0000)]
gdb/
* cli/cli-dump.c: Add 'static' to some cmd_list_element variables.
* gnu-nat.c, symfile.c: Likewise.

12 years ago * archive.c (SECTION Archives): Update documentation.
Alan Modra [Thu, 9 Aug 2012 06:25:53 +0000 (06:25 +0000)]
* archive.c (SECTION Archives): Update documentation.
(_bfd_delete_archive_data): Remove.
(_bfd_add_bfd_to_archive_cache): Set 'parent_cache' and 'key'.
(archive_close_worker, _bfd_archive_close_and_cleanup): New
functions.
* libbfd-in.h (struct areltdata <parent_cache, key>): New fields.
(_bfd_delete_archive_data): Don't declare.
(_bfd_archive_close_and_cleanup): Declare.
(_bfd_generic_close_and_cleanup): Redefine.
* libbfd.h: Rebuild.
* opncls.c (_bfd_delete_bfd): Don't call _bfd_delete_archive_data.
(bfd_close): Don't close nested thin archives here.

12 years agodaily update
Alan Modra [Thu, 9 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Thu, 9 Aug 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * utils.c (prompt_for_continue_wait_time): New static global.
Doug Evans [Wed, 8 Aug 2012 21:55:01 +0000 (21:55 +0000)]
* utils.c (prompt_for_continue_wait_time): New static global.
(make_command_stats_cleanup): Initialize it.
(report_command_stats): Subtract time waiting for user.
(prompt_for_continue): Track time waiting for user.
(defaulted_query): Track time waiting for user.

12 years ago * eval.c (evaluate_subexp_standard): Fix thinko in handling
Doug Evans [Wed, 8 Aug 2012 21:17:04 +0000 (21:17 +0000)]
* eval.c (evaluate_subexp_standard): Fix thinko in handling
UNOP_MEMVAL_TYPE.
* expprint.c (print_subexp_standard, case OP_TYPE): New.
(print_subexp_standard, case UNOP_CAST_TYPE): Don't increment pos.
(print_subexp_standard, case UNOP_DYNAMIC_CAST): Ditto.
(print_subexp_standard, case UNOP_REINTERPRET_CAST): Ditto.
(print_subexp_standard, case UNOP_MEMVAL_TYPE): Ditto.
(dump_subexp_body_standard, case UNOP_DYNAMIC_CAST): Don't increment
elt.
(dump_subexp_body_standard, case UNOP_REINTERPRET_CAST): Ditto.
(dump_subexp_body_standard, case UNOP_CAST_TYPE): Ditto.
(dump_subexp_body_standard, case UNOP_MEMVAL_TYPE): Ditto.
(dump_prefix_expression): Handle OP_TYPE.

testsuite/
* gdb.base/debug-expr.c: New file.
* gdb.base/debug-expr.exp: New file.
* gdb.base/exprs.exp: Test {type} casts.
* gdb.cp/debug-expr.exp: New file.

12 years ago * breakpoint.c (parse_breakpoint_sals): Remove unused variable
Keith Seitz [Wed, 8 Aug 2012 20:39:34 +0000 (20:39 +0000)]
* breakpoint.c (parse_breakpoint_sals): Remove unused variable
addr_start.

12 years ago * gdb_string.h: Moved to ...
Doug Evans [Wed, 8 Aug 2012 19:48:19 +0000 (19:48 +0000)]
* gdb_string.h: Moved to ...
* common/gdb_string.h: ... here.
* common/vec.h: Remove #ifndef GDBSERVER conditional inclusion of
gdb_string.h and gdb_assert.h.

gdbserver/
* configure.ac: Add check for strstr.
* config.in: Regenerate.
* configure: Regenerate.

* linux-thread-db.c: #include "gdb_vecs.h".
(try_thread_db_load_from_pdir_1): New arg "subdir".  All callers
updated.
(try_thread_db_load_from_pdir): New arg "subdir".  All callers updated.
(thread_db_load_search): Use a vector to iterate over path elements.
Handle text appearing after "$pdir".

gdbserver/
* Makefile.in (SFILES): Add gdb_vecs.c.
(OBS): Add gdb_vecs.o.
(gdb_vecs_h, host_defs_h): New variables.
(thread-db.o): Add $(gdb_vecs_h) dependency.
(gdb_vecs.o): New rule.
* thread-db.c: #include "gdb_vecs.h".
(thread_db_load_search): Use a vector to iterate over path elements.
Handle text appearing after "$pdir".

12 years agogdb/
Yao Qi [Wed, 8 Aug 2012 05:47:57 +0000 (05:47 +0000)]
gdb/
* tic6x-tdep.c (tic6x_register_to_value): Remove.
(tic6x_value_to_register): Likewise.
(tic6x_gdbarch_init): Don't call set_gdbarch_register_to_value
and set_gdbarch_value_to_register.

12 years ago*** empty log message ***
gdbadmin [Wed, 8 Aug 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Wed, 8 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agogas/testsuite/
Roland McGrath [Tue, 7 Aug 2012 18:22:04 +0000 (18:22 +0000)]
gas/testsuite/
* gas/i386/prefetch.s: New file.
* gas/i386/prefetch.d: New file.
* gas/i386/prefetch-intel.d: New file.
* gas/i386/x86-64-prefetch.d: New file.
* gas/i386/x86-64-prefetch-intel.d: New file.
* gas/i386/i386.exp: Run them.

opcodes/
* i386-dis.c (reg_table): Fill out REG_0F0D table with
AMD-reserved cases as "prefetch".
(MOD_0F18_REG_4, MOD_0F18_REG_5): New enum constants.
(MOD_0F18_REG_6, MOD_0F18_REG_7): Likewise.
(reg_table): Use those under REG_0F18.
(mod_table): Add those cases as "nop/reserved".

12 years agogdb/testsuite/
Jan Kratochvil [Tue, 7 Aug 2012 18:04:12 +0000 (18:04 +0000)]
gdb/testsuite/
* gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
global variable loop, not a 'break'.  Add loop count limit to 100.
Add new fail case for terminated vgdb.

12 years agoDespite them being ignored by the CPU, gas issues segment override
Jan Beulich [Tue, 7 Aug 2012 16:57:49 +0000 (16:57 +0000)]
Despite them being ignored by the CPU, gas issues segment override
prefixes for other than FS/GS in 64-bit mode. If doing so at all, it
should clearly do this correctly. Determining the default segment,
however, requires to take into consideration RegRex (so far, RSP, RBP,
R12, and R13 were all treated equally here).

gas/
2012-08-07  Jan Beulich <jbeulich@suse.com>

* config/tc-i386-intel.c (build_modrm_byte): Split determining
default segment from figuring out encoding. Honor RegRex for
the former.

gas/testsuite/
2012-08-07  Jan Beulich <jbeulich@suse.com>

* gas/i386/x86-64-segovr.{s,l}: New.
* gas/i386/i386.exp: Run new test.

12 years agoThe VGATHER group of instructions requires that all three involved
Jan Beulich [Tue, 7 Aug 2012 16:55:00 +0000 (16:55 +0000)]
The VGATHER group of instructions requires that all three involved
xmm/ymm registers are distinct. This patch adds code to check for this,
and at once eliminates a superfluous check for not using PC-relative
addressing for these instructions (the fact that an index register is
required here already excludes valid PC-relative addresses). The
severity of the resulting diagnostics can be controlled via command
line option or directive.

gas/
2012-08-07  Jan Beulich <jbeulich@suse.com>

* config/tc-i386.c (set_check): Renamed from set_sse_check.
Generalize to also handle operand checking option.
(enum i386_error): New enumerator 'invalid_vector_register_set'.
(match_template): Handle it.
(enum check_kind): Give it a tag. Drop sse_ prefixes from
enumerators.
(operand_check): New.
(md_pseudo_table): Add "operand_check".
(check_VecOperands): Don't special case RIP addressing. Check
that vSIB operands use distinct vector registers unless no
checking was requested.
(OPTION_MOPERAND_CHECK): New.
(md_parse_option): Handle it.
(OPTION_MAVXSCALAR, OPTION_X32): Adjust.
(md_longopts): Add "moperand-check".
(md_show_usage): Add help text for it.

gas/testsuite/
2012-08-07  Jan Beulich <jbeulich@suse.com>

* gas/i386/vgather-check-error.{s,l}: New.
* gas/i386/vgather-check-none.{s,d}: New.
* gas/i386/vgather-check-warn.{d,e}: New.
* gas/i386/vgather-check.{s,d}: New.
* gas/i386/x86-64-vgather-check-error.{s,l}: New.
* gas/i386/x86-64-vgather-check-none.{s,d}: New.
* gas/i386/x86-64-vgather-check-warn.{d,e}: New.
* gas/i386/x86-64-vgather-check.{s,d}: New.
* gas/i386/i386.exp: Run new tests.

12 years agoThere were several cases where the registers in the REX encoded range
Jan Beulich [Tue, 7 Aug 2012 16:51:34 +0000 (16:51 +0000)]
There were several cases where the registers in the REX encoded range
got treated identically to the ones in the base range, due to not
paying attention to the fact that reg_entry's reg_num field doesn't
fully specify the register number (reg_flags also needs to be checked
for RegRex). This patch introduces and uses a new (inline) function to
obtain the full register number, and uses it to fix all those cases.

It additionally adds the missing operand checks for SVME instructions
(which match the monitor/mwait ones).

gas/
2012-08-07  Jan Beulich <jbeulich@suse.com>

* config/tc-i386.c (register_number): New function.
(build_vex_prefix, process_immext, process_operands,
build_modrm_byte, i386_index_check): Use it.

gas/testsuite/
2012-08-07  Jan Beulich <jbeulich@suse.com>

* gas/i386/x86-64-specific-reg.{s,l}: New.
* gas/i386/i386.exp: Run new test.

opcodes/
2012-08-07  Jan Beulich <jbeulich@suse.com>

* i386-opc.tbl: Remove "FIXME" comments from SVME instructions.

12 years agogdb/doc/
Jan Kratochvil [Tue, 7 Aug 2012 16:49:38 +0000 (16:49 +0000)]
gdb/doc/
* gdbint.texinfo (Debugging GDB): In section
'Debugging @value{GDBN} with itself' change .gdbinit for gdb-gdb.gdb.
Mention also gdb-gdb.py.

12 years ago * config/tc-i386.c (lex_got): Provide implementation for PE
Nick Clifton [Tue, 7 Aug 2012 13:47:19 +0000 (13:47 +0000)]
* config/tc-i386.c (lex_got): Provide implementation for PE
format.

* gas/i386/secrel.s: Add test of <symbol>@SECREL32.
* gas/i386/secrel.d: Add expected disassembly.

* scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.
* scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.

* archive.c (_bfd_delete_archive_data): New function.
* libbfd-in.h (_bfd_delete_archive_data): Declare.
* libbfd.h: Rebuild.
* opncls.c (_bfd_delete_bfd): Call _bfd_delete_archive_data.

12 years agogdb/
Jan Kratochvil [Tue, 7 Aug 2012 13:26:33 +0000 (13:26 +0000)]
gdb/
PR 11804
* defs.h (find_memory_region_ftype): New comment.  New arg modified.
* fbsd-nat.c (fbsd_find_memory_regions): Add the passed modified value.
* gcore.c (gcore_create_callback): New function comment.  Add modified
parameter.  Only write modified regions.  Set SEC_READONLY exactly
according to MODIFIED.
(objfile_find_memory_regions): Ignore separate debug info files.  Ass
the passed modified value to FUNC.
* gnu-nat.c (gnu_find_memory_regions): Add the passed modified value.
* linux-tdep.c (linux_find_memory_regions): Try to reads smaps file
first.  New variables modified and has_anonymous.  Parse the lines of
smaps file.  Add the passed MODIFIED value to FUNC.
* procfs.c (find_memory_regions_callback): Add the passed modified
value.

gdb/testsuite/
PR 11804
* gdb.base/gcore-relro.exp: New file.
* gdb.base/gcore-relro-main.c: New file.
* gdb.base/gcore-relro-lib.c: New file.

12 years ago * layout.cc (Layout::add_target_dynamic_tags): If
Ian Lance Taylor [Tue, 7 Aug 2012 13:24:47 +0000 (13:24 +0000)]
* layout.cc (Layout::add_target_dynamic_tags): If
dynrel_includes_plt but no dyn_rel, emit dynamic reloc tags for
plt_rel.

12 years agogdb/testsuite/
Jan Kratochvil [Tue, 7 Aug 2012 13:13:49 +0000 (13:13 +0000)]
gdb/testsuite/
Do not false FAIL with old GCCs.
* gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
GCC < 4.5 in $no_hw mode.

12 years agoUpdated Ukranian and Japanese translations.
Nick Clifton [Tue, 7 Aug 2012 10:37:31 +0000 (10:37 +0000)]
Updated Ukranian and Japanese translations.

12 years agogdb/testsuite/
Jan Kratochvil [Tue, 7 Aug 2012 05:49:02 +0000 (05:49 +0000)]
gdb/testsuite/
* gdb.base/default.exp (cd): Accept new directory with no arguments.

12 years agogdb/doc:
Yao Qi [Tue, 7 Aug 2012 01:11:02 +0000 (01:11 +0000)]
gdb/doc:
Revert the folloing patch:
2012-08-06  Yao Qi  <yao@codesourcery.com>
* gdb.texinfo (Remote Configuration): Add kindex for 'set
remote hardware-watchpoint-limit' and 'set
remote hardware-breakpoint-limit'.

12 years agodaily update
Alan Modra [Tue, 7 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Tue, 7 Aug 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * ld-mips-elf/dyn-sec64.ld: Use HIDDEN to define _gp.
Maciej W. Rozycki [Mon, 6 Aug 2012 22:50:07 +0000 (22:50 +0000)]
* ld-mips-elf/dyn-sec64.ld: Use HIDDEN to define _gp.
* ld-mips-elf/eh-frame5.ld: Likewise.
* ld-mips-elf/got-dump-1.ld: Likewise.
* ld-mips-elf/got-dump-2.ld: Likewise.
* ld-mips-elf/got-page-1.ld: Likewise.
* ld-mips-elf/mips-dyn.ld: Likewise.
* ld-mips-elf/mips-lib.ld: Likewise.
* ld-mips-elf/mips16-pic-1.ld: Likewise.
* ld-mips-elf/no-shared-1.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-1.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3a.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-6.ld: Likewise.
* ld-mips-elf/reloc-2.ld: Likewise.
* ld-mips-elf/reloc-estimate-1.ld: Likewise.
* ld-mips-elf/stub-dynsym-1.ld: Likewise.
* ld-mips-elf/tls-hidden3.ld: Likewise.
* ld-mips-elf/mips16-pic-2.ad: Update accordingly.
* ld-mips-elf/pic-and-nonpic-3b.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n32.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n64.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-6-o32.ad: Likewise.
* ld-mips-elf/eh-frame5.d: Likewise.
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32.d: Likewise.
* ld-mips-elf/pic-and-nonpic-3a.dd: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.dd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
* ld-mips-elf/tlsdyn-o32.got: Likewise.
* ld-mips-elf/tlslib-o32-ver.got: Likewise.
* ld-mips-elf/tlslib-o32.got: Likewise.
* ld-mips-elf/mips16-pic-2.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-1.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n32.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n64.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-o32.nd: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.rd: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.rd: Likewise.
* ld-mips-elf/mips-elf.exp: Likewise.

12 years ago * ld-mips-elf/gp-hidden.rd: New test.
Maciej W. Rozycki [Mon, 6 Aug 2012 22:45:18 +0000 (22:45 +0000)]
* ld-mips-elf/gp-hidden.rd: New test.
* ld-mips-elf/gp-hidden.sd: New test.
* ld-mips-elf/gp-hidden-lib.rd: New test.
* ld-mips-elf/gp-hidden-ver.rd: New test.
* ld-mips-elf/gp-hidden-64.rd: New test.
* ld-mips-elf/gp-hidden-lib-64.rd: New test.
* ld-mips-elf/gp-hidden-ver-64.rd: New test.
* ld-mips-elf/gp-hidden.s: New test source.
* ld-mips-elf/gp-hidden-lib.s: New test source.
* ld-mips-elf/gp-hidden-ver.s: New test source.
* ld-mips-elf/gp-hidden-ver.ver: New test version script.
* ld-mips-elf/mips-elf.exp: Run the new tests.

12 years ago ld/
Maciej W. Rozycki [Mon, 6 Aug 2012 22:40:36 +0000 (22:40 +0000)]
ld/
* emulparams/elf32bmip.sh: Make _gp hidden.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emulparams/elf32mipswindiss.sh: Likewise.
* scripttempl/mips.sc: Likewise.

ld/testsuite/
* ld-mips-elf/rel32-o32.d: Adjust section VMAs after the removal
of _gp from the global scope.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.

12 years ago bfd/
Maciej W. Rozycki [Mon, 6 Aug 2012 22:27:52 +0000 (22:27 +0000)]
bfd/
* elflink.c (bfd_elf_record_link_assignment): Remove --defsym
symbols special case.

ld/
* ldexp.h (etree_union): Add defsym member to the assign member
structure.
(exp_assign): Add hidden argument to prototype.
* ldexp.c (exp_fold_tree_1): Use the defsym member to handle
--defsym symbols.
(exp_assop): Add defsym argument, initialize the defsym member
of the assign structure.
(exp_assign): Handle hidden symbols.
(exp_defsym): Update to use the defsym argument to exp_assop.
(exp_provide): Update to handle the defsym argument to exp_assop.
* ldlex.l (HIDDEN): New token.
* ldgram.y (HIDDEN): Likewise.
(assignment, section): Update calls to exp_assign.
* ldctor.c (ldctor_build_sets): Likewise.
* mri.c (mri_format): Likewise.
* ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise.
(open_input_bfds): Remove --defsym symbols special case.
* emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update
call to exp_assign.
* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
* emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
* emultempl/spuelf.em (spu_place_special_section): Likewise.
* emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets):
Likewise.
* ld.texinfo (Assigning Values to Symbols): Add HIDDEN.
(HIDDEN): New subsection.

12 years agogas/testsuite/
Roland McGrath [Mon, 6 Aug 2012 22:08:25 +0000 (22:08 +0000)]
gas/testsuite/
* gas/i386/x86-64-stack.s: Add cases for push segment register.
* gas/i386/x86-64-stack.d: Updated.
* gas/i386/x86-64-stack-suffix.d: Updated.
* gas/i386/x86-64-stack-intel.d: Updated.
* gas/i386/ilp32/x86-64-stack.d: Updated.
* gas/i386/ilp32/x86-64-stack-suffix.d: Updated.
* gas/i386/ilp32/x86-64-stack-intel.d: Updated.

opcodes/
* i386-dis.c (print_insn): Print spaces between multiple excess
prefixes.  Return actual number of excess prefixes consumed,
not always one.

* i386-dis.c (OP_REG): Ignore REX_B for segment register cases.

12 years ago gas/testsuite/
Maciej W. Rozycki [Mon, 6 Aug 2012 21:28:45 +0000 (21:28 +0000)]
gas/testsuite/
* gas/mips/mips.exp: Set has_newabi for all Linux targets.
* gas/mips/cfi-n64-1.d: Adjust for targets that do not infer the
ISA from the ABI.
* gas/mips/elf-rel-got-n32.d: Likewise.
* gas/mips/elf-rel-got-n64.d: Likewise.
* gas/mips/elf-rel-xgot-n32.d: Likewise.
* gas/mips/elf-rel-xgot-n64.d: Likewise.
* gas/mips/elf-rel18.d: Likewise.
* gas/mips/elf-rel28-n32.d: Likewise.
* gas/mips/elf-rel28-n64.d: Likewise.
* gas/mips/jal-newabi.d: Likewise.
* gas/mips/ldstla-n64-shared.d: Likewise.
* gas/mips/ldstla-n64-sym32.d: Likewise.
* gas/mips/ldstla-n64.d: Likewise.
* gas/mips/macro-warn-1-n32.d: Likewise.
* gas/mips/macro-warn-2-n32.d: Likewise.
* gas/mips/n32-consec.d: Likewise.

ld/testsuite/
* ld-mips-elf/mips-elf.exp: Set has_newabi for all Linux targets.
Adjust abi_asflags for targets that do not infer the ISA from the
ABI.
* ld-mips-elf/eh-frame1-n32.d: Adjust for targets that do not
infer the ISA from the ABI.
* ld-mips-elf/eh-frame1-n64.d: Likewise.
* ld-mips-elf/eh-frame2-n32.d: Likewise.
* ld-mips-elf/eh-frame2-n64.d: Likewise.
* ld-mips-elf/elf-rel-got-n32-embed.d: Likewise.
* ld-mips-elf/elf-rel-got-n32.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
* ld-mips-elf/emit-relocs-1.d: Likewise.
* ld-mips-elf/got-page-2.d: Likewise.
* ld-mips-elf/no-shared-1-n32.d: Likewise.
* ld-mips-elf/no-shared-1-n64.d: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n32.d: Likewise.
* ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n64.d: Likewise.
* ld-mips-elf/reloc-1-n32.d: Likewise.
* ld-mips-elf/reloc-1-n64.d: Likewise.
* ld-mips-elf/textrel-1.d: Likewise.

12 years ago * ld-mips-elf/reloc-1-n32.d: Add -EB to GAS flags.
Maciej W. Rozycki [Mon, 6 Aug 2012 21:18:50 +0000 (21:18 +0000)]
* ld-mips-elf/reloc-1-n32.d: Add -EB to GAS flags.
* ld-mips-elf/mips-elf.exp: Update GAS flags in reloc test 6.

12 years ago gas/testsuite/
Maciej W. Rozycki [Mon, 6 Aug 2012 21:05:54 +0000 (21:05 +0000)]
gas/testsuite/
* gas/mips/mips.exp: Set has_newabi for mips*-sde-elf* too.
* gas/mips/elf-rel-got-n32.s: Adjust padding.
* gas/mips/elf-rel-got-n64.s: Likewise.
* gas/mips/elf-rel23.s: Likewise.
* gas/mips/elf-rel28.s: Likewise.
* gas/mips/n32-consec.s: Likewise.
* gas/mips/elf-rel-xgot-n32.d: Adjust output expected.
* gas/mips/elf-rel-xgot-n64.d: Likewise.
* gas/mips/elf-rel23.d: Likewise.
* gas/mips/elf-rel23a.d: Likewise.
* gas/mips/elf-rel23b.d: Likewise.
* gas/mips/elf-rel28-n32.d: Likewise.

ld/testsuite/
* lib/ld-lib.exp (run_dump_test): Implement the EXTRA_OPTIONS
argument and the "dump" keyword.
* ld-mips-elf/emit-relocs-1a.s: Make section alignment uniform
across targets.
* ld-mips-elf/emit-relocs-1b.s: Likewise.
* ld-mips-elf/jalbal.s: Adjust padding.
* ld-mips-elf/elf-rel-got-n32-embed.d: New test.
* ld-mips-elf/elf-rel-got-n64-embed.d: New test.
* ld-mips-elf/elf-rel-xgot-n32-embed.d: New test.
* ld-mips-elf/elf-rel-xgot-n64-embed.d: New test.
* ld-mips-elf/elf-rel-got-n32.d: Remove -melf32btsmipn32.
* ld-mips-elf/elf-rel-got-n64.d: Remove -melf64btsmip.  Adjust
output.
* ld-mips-elf/elf-rel-got-n64-linux.d: Remove -melf64btsmip.
* ld-mips-elf/elf-rel-xgot-n32.d: Remove -melf32btsmipn32.
Adjust output.
* ld-mips-elf/elf-rel-xgot-n64.d: Remove -melf64btsmip.  Adjust
output.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/reloc-1-n64.d: Remove -melf64btsmip.
* ld-mips-elf/mips-elf.exp: Set has_newabi for mips*-sde-elf*
too.  Move tool flags from o32_as_flags and o32_ld_flags
variables into abi_asflags and abi_ldflags arrays.  Adjust test
cases run to use them.  Run the new tests.

12 years ago gas/
Maciej W. Rozycki [Mon, 6 Aug 2012 20:33:00 +0000 (20:33 +0000)]
gas/
* config/tc-mips.c (append_insn): Also handle moving delay-slot
instruction across frags for fixed branches.

gas/testsuite/
* gas/mips/branch-swap-2.l: New list test.
* gas/mips/branch-swap-2.s: New test source.
* gas/mips/mips.exp: Run the new test.

12 years agogas/testsuite/
Roland McGrath [Mon, 6 Aug 2012 20:19:34 +0000 (20:19 +0000)]
gas/testsuite/
* gas/i386/x86-64-stack.s: Add cases for push immediate.
* gas/testsuite/gas/i386/ilp32/x86-64-stack-intel.d: Updated.
* gas/testsuite/gas/i386/ilp32/x86-64-stack-suffix.d: Updated.
* gas/testsuite/gas/i386/ilp32/x86-64-stack.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack-intel.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack-suffix.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack.d: Updated.

opcodes/
* i386-dis.c (OP_sI): In b_T_mode and v_mode, REX_W trumps DFLAG.
(putop): For 'T', 'U', and 'V', treat REX_W like DFLAG.
(intel_operand_size): For stack_v_mode, treat REX_W like DFLAG.
(OP_E_register): Likewise.
(OP_REG): For low 8 whole registers, treat REX_W like DFLAG.

12 years agogdb/testsuite/
Jan Kratochvil [Mon, 6 Aug 2012 20:14:11 +0000 (20:14 +0000)]
gdb/testsuite/
* gdb.base/list.exp (test_only_end): New function.
Call it.

12 years ago * dwarf2-frame.c (clear_pointer_cleanup): New function.
Tom Tromey [Mon, 6 Aug 2012 19:20:43 +0000 (19:20 +0000)]
* dwarf2-frame.c (clear_pointer_cleanup): New function.
(dwarf2_frame_cache): Use it.
* frame-unwind.h (frame_sniffer_ftype): Document prologue
cache initialization constraint.

12 years ago PR python/14386:
Tom Tromey [Mon, 6 Aug 2012 18:44:45 +0000 (18:44 +0000)]
PR python/14386:
* varobj.c (update_dynamic_varobj_children): Don't call
PyIter_Check.
gdb/testsuite
* gdb.python/py-mi.exp: Add test for printer whose children
are a list.
* gdb.python/py-prettyprint.c (struct children_as_list): New.
(main): New variable children_as_list.
* gdb.python/py-prettyprint.py (class pp_children_as_list):
New.
(register_pretty_printers): Register new printer.

12 years ago PR cli/14392:
Tom Tromey [Mon, 6 Aug 2012 18:28:15 +0000 (18:28 +0000)]
PR cli/14392:
* cli/cli-cmds.c (list_command): Filter 'sals_end'.

12 years agogdb/
Jan Kratochvil [Mon, 6 Aug 2012 17:13:27 +0000 (17:13 +0000)]
gdb/
2012-08-06  Nathaniel Flath  <flat0103@gmail.com>
* NEWS: New entry for 'cd' default parameters.
* cli/cli-cmds.c (cd_command): Replace error_no_arg by DIR assignment.

gdb/doc/
2012-08-06  Nathaniel Flath  <flat0103@gmail.com>
* gdb.texinfo (Working Directory): Added information about new
default argument for 'cd' command.

12 years agogdb/doc/
Yao Qi [Mon, 6 Aug 2012 14:28:45 +0000 (14:28 +0000)]
gdb/doc/
* gdb.texinfo (Remote Configuration): Add kindex for 'set
remote hardware-watchpoint-limit' and 'set
remote hardware-breakpoint-limit'.

12 years agogdb/doc/
Yao Qi [Mon, 6 Aug 2012 14:21:10 +0000 (14:21 +0000)]
gdb/doc/
Fix PR14371.

* gdb.texinfo (GDB/MI Async Records): Fix the doc for
'=breakpoint-deleted'.

12 years agodaily update
Alan Modra [Mon, 6 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Mon, 6 Aug 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago bfd/
Maciej W. Rozycki [Sun, 5 Aug 2012 22:45:20 +0000 (22:45 +0000)]
bfd/
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Don't allocate
PLT slots for local symbols.

ld/testsuite/
* ld-vax-elf: New directory.
* ld-vax-elf/plt-local-lib.dd: New test.
* ld-vax-elf/plt-local-lib.ld: New test linker script.
* ld-vax-elf/plt-local-lib.s: New test source.
* ld-vax-elf/plt-local.dd: New test.
* ld-vax-elf/plt-local.ld: New test linker script.
* ld-vax-elf/plt-local.s: New test source.
* ld-vax-elf/plt-local-hidden-pic.s: New test source.
* ld-vax-elf/plt-local-rehidden-pic.s: New test source.
* ld-vax-elf/vax-elf.exp: New test script.

12 years ago*** empty log message ***
gdbadmin [Sun, 5 Aug 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 5 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agodaily update
Alan Modra [Sat, 4 Aug 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sat, 4 Aug 2012 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * lib/ld-lib.exp (at_least_gcc_version): Accept more version
Maciej W. Rozycki [Fri, 3 Aug 2012 22:28:41 +0000 (22:28 +0000)]
* lib/ld-lib.exp (at_least_gcc_version): Accept more version
number formats; avoid throwing exceptions in any case.

12 years ago * frags.c (frag_grow): Never shrink the obstack size requested
Maciej W. Rozycki [Fri, 3 Aug 2012 22:23:44 +0000 (22:23 +0000)]
* frags.c (frag_grow): Never shrink the obstack size requested
below the default.

12 years ago * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask
Maciej W. Rozycki [Fri, 3 Aug 2012 22:17:19 +0000 (22:17 +0000)]
* elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask
field initializers throughout.
* elfn32-mips.c (elf_mips16_howto_table_rela): Likewise.

12 years ago bfd/
Maciej W. Rozycki [Fri, 3 Aug 2012 22:14:21 +0000 (22:14 +0000)]
bfd/
* elfxx-mips.c (mips_elf_perform_relocation): Update the
cross-mode jump message.

ld/testsuite/
* ld-mips-elf/mode-change-error-1.d: Update the error message.

12 years ago * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update the
Maciej W. Rozycki [Fri, 3 Aug 2012 22:09:40 +0000 (22:09 +0000)]
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update the
comment on DT_MIPS_RLD_MAP.

12 years agogas/testsuite/
Roland McGrath [Fri, 3 Aug 2012 21:45:16 +0000 (21:45 +0000)]
gas/testsuite/
* gas/i386/x86-64-stack.s (try): Also try just rex.W (0x48) prefix.
* gas/testsuite/gas/i386/ilp32/x86-64-stack-intel.d: Updated.
* gas/testsuite/gas/i386/ilp32/x86-64-stack-suffix.d: Updated.
* gas/testsuite/gas/i386/ilp32/x86-64-stack.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack-intel.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack-suffix.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack.d: Updated.

12 years ago * dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
Tom Tromey [Fri, 3 Aug 2012 20:52:47 +0000 (20:52 +0000)]
* dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
return.

12 years ago * opncls.c (_bfd_delete_bfd): Now static.
Tom Tromey [Fri, 3 Aug 2012 20:09:53 +0000 (20:09 +0000)]
* opncls.c (_bfd_delete_bfd): Now static.
* libbfd-in.h (_bfd_delete_bfd): Don't declare.
* libbfd.h: Rebuild.

12 years ago * dlltool.c (scan_obj_file): Close arfile after calling
Tom Tromey [Fri, 3 Aug 2012 16:33:04 +0000 (16:33 +0000)]
* dlltool.c (scan_obj_file): Close arfile after calling
bfd_openr_next_archived_file.

12 years ago2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
Edjunior Barbosa Machado [Fri, 3 Aug 2012 16:03:07 +0000 (16:03 +0000)]
2012-08-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>

* gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
symbols. Abort if vgdb remote connection is closed.

12 years ago*** empty log message ***
gdbadmin [Fri, 3 Aug 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
Doug Evans [Thu, 2 Aug 2012 22:27:47 +0000 (22:27 +0000)]
* gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.

12 years ago * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified
Sean Keys [Thu, 2 Aug 2012 20:40:30 +0000 (20:40 +0000)]
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified
conditional statment to allow suppression of mismatched bank
warning.

12 years ago2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Thu, 2 Aug 2012 20:37:14 +0000 (20:37 +0000)]
2012-08-02  Sergio Durigan Junior  <sergiodj@redhat.com>

* gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
s390x, PowerPC 64 and m68k-linux.

12 years ago * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
Sean Keys [Thu, 2 Aug 2012 20:26:52 +0000 (20:26 +0000)]
* config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
New function to parse pseudo ops that are unreleated to
existing pseudo ops.

12 years ago * tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
Sean Keys [Thu, 2 Aug 2012 20:25:35 +0000 (20:25 +0000)]
* tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
New function to parse pseudo ops that are unreleated to
existing pseudo ops.

12 years ago * elf/m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
Sean Keys [Thu, 2 Aug 2012 20:10:10 +0000 (20:10 +0000)]
* elf/m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
        0x000000200

12 years ago * m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
Sean Keys [Thu, 2 Aug 2012 20:08:54 +0000 (20:08 +0000)]
* m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
        0x000000200

12 years ago * ld-mips-elf/got-vers-1.rd: Fix a typo.
Maciej W. Rozycki [Thu, 2 Aug 2012 18:37:43 +0000 (18:37 +0000)]
* ld-mips-elf/got-vers-1.rd: Fix a typo.

12 years ago * gdb.base/annota1.exp: Accept no frames-invalid notification
Ulrich Weigand [Thu, 2 Aug 2012 15:59:59 +0000 (15:59 +0000)]
* gdb.base/annota1.exp: Accept no frames-invalid notification
when starting up the program.
* gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
show a symbolic value as well.
* gdb.server/server-exec-info.exp: Skip test when skipping
gdbserver test and/or when skipping shared library tests.
* gdb.threads/linux-dp.exp: Unset "seen" when done with it to
avoid name conflicts with other tests.

12 years ago * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
Ulrich Weigand [Thu, 2 Aug 2012 15:57:49 +0000 (15:57 +0000)]
* gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
Fix wrong output on big-endian systems.
* gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
4-byte pointer types on 64-bit s390x.

12 years ago * gdb.base/watchpoint.c (func2): Initialize local_a. Add
Ulrich Weigand [Thu, 2 Aug 2012 15:55:45 +0000 (15:55 +0000)]
* gdb.base/watchpoint.c (func2): Initialize local_a.  Add
marker comment at the beginning (after intialization).
* gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
breakpoint on marker comment instead of function begin.
(test_wide_location_1): Do not expect HW watchpoints on 32-bit
PowerPC.
(test_wide_location_2): Do not expect HW watchpoints on 32-bit
or 64-bit PowerPC.
(do_tests): Consistently set can-use-hw-watchpoints to 0 if
gdb,no_hardware_watchpoints flag is set.
(initialize): Remove now redundant can-use-hw-watchpoints change.

12 years agoChangeLog:
Ulrich Weigand [Thu, 2 Aug 2012 15:52:27 +0000 (15:52 +0000)]
ChangeLog:

* inf-child.c (inf_child_fileio_pwrite): If pwrite fails, fall back
to attempting lseek/write.
(inf_child_fileio_pread): Likewise for pread.

gdbserver/ChangeLog:

* hostio.c (handle_pread): If pread fails, fall back to attempting
lseek/read.
(handle_pwrite): Likewise for pwrite.