OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years agogas/
H.J. Lu [Tue, 22 Apr 2008 22:27:13 +0000 (22:27 +0000)]
gas/

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

* config/tc-i386.c (md_assemble): Don't check SSE instructions
if noavx is 0.

opcodes/

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

* i386-gen.c (opcode_modifiers): Add NoAVX.

* i386-opc.h (NoAVX): New.
(OldGcc): Updated.
(i386_opcode_modifier): Add noavx.

* i386-opc.tbl: Add NoAVX to SSE, SSE2, SSE3 and SSSE3
instructions which don't have AVX equivalent.
* i386-tbl.h: Regenerated.

16 years ago * ada-lang.c (get_selections): Variable PROMPT made non-const and
Jan Kratochvil [Tue, 22 Apr 2008 22:23:16 +0000 (22:23 +0000)]
* ada-lang.c (get_selections): Variable PROMPT made non-const and
initialized with a trailing space now.  Use PROMPT_ARG of
COMMAND_LINE_INPUT instead of printing it ourselves.

16 years ago * NEWS: Document support for 64-bit core file.
Joel Brobecker [Tue, 22 Apr 2008 20:29:07 +0000 (20:29 +0000)]
    * NEWS: Document support for 64-bit core file.

16 years agodoc/ChangeLog:
Corinna Vinschen [Tue, 22 Apr 2008 11:03:42 +0000 (11:03 +0000)]
doc/ChangeLog:
--------------

* gdb.texinfo (Set SH Calling convention): New @item.
(Show SH Calling convention): Ditto.

ChangeLog:
----------

* NEWS: Add information on calling convention and new SH CLI options.

* sh-tdep.c (sh_cc_gcc): New static string.
(sh_cc_renesas): Ditto.
(sh_cc_enum): New static string array.
(sh_active_calling_convention): New static string pointer denoting
active user chosen ABI.
(sh_is_renesas_calling_convention): New function to return function
specific ABI, or user choice if necessary.
(sh_use_struct_convention): Rename first argument and turn around its
meaning.  Check for renesas ABI and return accordingly.
(sh_use_struct_convention_nofpu): New function.
(sh_next_flt_argreg): Get function type as third parameter.  Check
for renesas ABI and choose floating registers accordingly.
(sh_push_dummy_call_fpu): Check for ABI and choose argument slot and
struct return slot accordingly.
(sh_push_dummy_call_nofpu): Ditto.
(sh_return_value_nofpu): Call sh_use_struct_convention_nofpu from here.
Evaluate ABI and give to sh_use_struct_convention_nofpu.
(sh_return_value_fpu):  Evaluate ABI and give to
sh_use_struct_convention.
(show_sh_command): New function.
(set_sh_command): Ditto.
(_initialize_sh_tdep): Initialize `set/show sh calling-convention
CLI command.

* gdbarch.sh (return_value): Add func_type argument.
* gdbarch.c: Regenerate.
* gdbarch.h: Ditto.
* eval.c (evaluate_subexp_standard): Rename local variable value_type to
val_type so as not to collide with value_type function.  Call
using_struct_return with additional function type argument.
* infcall.c (call_function_by_hand): Call using_struct_return and
gdbarch_return_value with additional function type argument.
* infcmd.c (print_return_value): Take addition func_type argument.
Call gdbarch_return_value with additional function type argument.
(finish_command_continuation): Call print_return_value with additional
function type argument.
(finish_command): Ditto.
* sparc-tdep.c (sparc32_push_dummy_code): Call using_struct_return with
additional function type argument.
* stack.c (return_command): Call using_struct_return and
gdbarch_return_value with additional function type argument.
* value.c (using_struct_return): Take additional function type argument.
* value.h (using_struct_return): Accommodate declaration.
* alpha-tdep.c (alpha_return_value): Add func_type argument.
* amd64-tdep.c (amd64_return_value): Ditto.
* arm-tdep.c (arm_return_value): Ditto.
* avr-tdep.c (avr_return_value): Ditto.
* cris-tdep.c (cris_return_value): Ditto.
* frv-tdep.c (frv_return_value): Ditto.
* h8300-tdep.c (h8300_return_value): Ditto.
(h8300h_return_value): Ditto.
* hppa-tdep.c (hppa32_return_value): Ditto.
(hppa64_return_value): Ditto.
* i386-tdep.c (i386_return_value): Ditto.
* ia64-tdep.c (ia64_return_value): Ditto.
* iq2000-tdep.c (iq2000_return_value): Ditto.
* m32c-tdep.c (m32c_return_value): Ditto.
* m32r-tdep.c (m32r_return_value): Ditto.
* m68hc11-tdep.c (m68hc11_return_value): Ditto.
* m68k-tdep.c (m68k_return_value): Ditto.
(m68k_svr4_return_value): Ditto.
* m88k-tdep.c  (m88k_return_value): Ditto.
* mep-tdep.c (mep_return_value): Ditto.
* mips-tdep.c (mips_eabi_return_value): Ditto.
(mips_n32n64_return_value): Ditto.
(mips_o32_return_value): Ditto.
(mips_o64_return_value): Ditto.
* mn10300-tdep.c (mn10300_return_value): Ditto.
* mt-tdep.c (mt_return_value): Ditto.
* ppc-linux-tdep.c (ppc_linux_return_value): Ditto.
* ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* ppc-tdep.h (ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto.
* rs6000-tdep.c (rs6000_return_value): Ditto.
* s390-tdep.c (s390_return_value): Ditto.
* score-tdep.c (score_return_value): Ditto.
* sh-tdep.c (sh_return_value_nofpu): Ditto.
(sh_return_value_fpu): Ditto.
* sh64-tdep.c (sh64_return_value): Ditto.
* sparc-tdep.c (sparc32_return_value): Ditto.
* sparc64-tdep.c (sparc64_return_value): Ditto.
* spu-tdep.c (spu_return_value): Ditto.
* v850-tdep.c (v850_return_value): Ditto.
* vax-tdep.c (vax_return_value): Ditto.
* xstormy16-tdep.c (xstormy16_return_value): Ditto.
* xtensa-tdep.c (xtensa_return_value): Ditto.

* gdbtypes.h (struct type): Add calling_convention member.
* dwarf2read.c (read_subroutine_type): Add calling convention read
from DW_AT_calling_convention attribute to function type.

16 years ago * eval.c (evaluate_subexp_standard): Use value_subscripted_rvalue for
Markus Deuling [Tue, 22 Apr 2008 06:53:18 +0000 (06:53 +0000)]
* eval.c (evaluate_subexp_standard): Use value_subscripted_rvalue for
multi_f77_subscript to support values from registers.
* valarith.c (value_subscripted_rvalue): Remove prototype and static.
* value.h (value_subscripted_rvalue): Add prototype.

* f-typeprint.c (f_type_print_base): Add support for TYPE_CODE_UNION.
Fix output.
* f-valprint.c (f_val_print): Likewise.

16 years ago * gdb.texinfo (Fortran Operators): Describe '%' operator.
Markus Deuling [Tue, 22 Apr 2008 06:51:04 +0000 (06:51 +0000)]
* gdb.texinfo (Fortran Operators): Describe '%' operator.

16 years ago * archive.c (_bfd_write_archive_contents): Fix incorrect use of
Cary Coutant [Tue, 22 Apr 2008 00:12:23 +0000 (00:12 +0000)]
* archive.c (_bfd_write_archive_contents): Fix incorrect use of
ARFMAG.

16 years agodaily update
Alan Modra [Tue, 22 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update

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

16 years agomerge from gcc
DJ Delorie [Mon, 21 Apr 2008 22:30:17 +0000 (22:30 +0000)]
merge from gcc

16 years ago * dwarf2read.c (zlib_decompress_section): Define abfd in the
Craig Silverstein [Mon, 21 Apr 2008 22:00:52 +0000 (22:00 +0000)]
* dwarf2read.c (zlib_decompress_section): Define abfd in the
!HAVE_ZLIB_H case.

16 years ago * linux-ppc-low.c (ppc_arch_setup): Reset ppc_hwcap after the
Ulrich Weigand [Mon, 21 Apr 2008 20:31:22 +0000 (20:31 +0000)]
* linux-ppc-low.c (ppc_arch_setup): Reset ppc_hwcap after the
initial call to init_register_ppc64.

16 years ago * generic/gdbtk-cmds.c (symtab_to_filename): Call gdb's
Keith Seitz [Mon, 21 Apr 2008 20:14:48 +0000 (20:14 +0000)]
    * generic/gdbtk-cmds.c (symtab_to_filename): Call gdb's
        open_source_file instead of find_and_open_source.

16 years agobfd/
Nathan Sidwell [Mon, 21 Apr 2008 17:54:24 +0000 (17:54 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Don't
set the value of undefined symbols in shared objects.
(_bfd_mips_vxworks_finish_dynamic_symbol): Clear value for
undefined symbols unless pointer equality is needed.
ld/testsuite/
* ld-vxworks/plt-mips1.s: New.
* ld-vxworks/plt-mips1.d: New.

16 years ago * configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into single
Ulrich Weigand [Mon, 21 Apr 2008 14:55:50 +0000 (14:55 +0000)]
* configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into single
powerpc*-*-linux* case.
(s390-*-linux*, s390x-*-linux*): Merge into single s390*-*-linux* case.

16 years ago * symfile.c (syms_from_objfile): Don't warn if lowest loadable
Pedro Alves [Mon, 21 Apr 2008 14:25:16 +0000 (14:25 +0000)]
* symfile.c (syms_from_objfile): Don't warn if lowest loadable
section is not a code section.

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

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

16 years ago * gdb.texinfo (Set Breaks): Mention that multiple location
Eli Zaretskii [Sun, 20 Apr 2008 09:06:44 +0000 (09:06 +0000)]
* gdb.texinfo (Set Breaks): Mention that multiple location
breakpoints need line number info.  Add index entries.

16 years ago * NEWS: Add information on compressed debug sections.
Craig Silverstein [Sun, 20 Apr 2008 00:03:25 +0000 (00:03 +0000)]
  * NEWS: Add information on compressed debug sections.
      * doc/gdb.texinfo (Requirements): Add an optional requirement
      on zlib.
      * doc/gdbint.texinfo (Debugging File Formats): Add new
      subsection for Compressed DWARF 2.

16 years ago*** empty log message ***
gdbadmin [Sun, 20 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

16 years ago * mi/mi-cmd-var.c (varobj_update_one): Print new
Vladimir Prus [Sat, 19 Apr 2008 17:03:20 +0000 (17:03 +0000)]
* mi/mi-cmd-var.c (varobj_update_one): Print new
value for variable objects that changed type.

16 years ago * varobj.c (varobj_invalidate): Don't touch floating
Vladimir Prus [Sat, 19 Apr 2008 16:38:25 +0000 (16:38 +0000)]
* varobj.c (varobj_invalidate): Don't touch floating
varobjs.

16 years ago* symtab.c: (multiple_symbols_modes, multiple_symbols_ask)
Mark Kettenis [Sat, 19 Apr 2008 11:39:50 +0000 (11:39 +0000)]
* symtab.c: (multiple_symbols_modes, multiple_symbols_ask)
(multiple_symbols_cancel): Remove extra const.
* symtab.h: Likewise.

16 years ago(linespec.o, mi-interp.o): Add dependencies.
Nick Roberts [Sat, 19 Apr 2008 06:12:16 +0000 (06:12 +0000)]
(linespec.o, mi-interp.o): Add dependencies.

16 years agoInclude interps.h and mi/mi-cmds.h.
Nick Roberts [Sat, 19 Apr 2008 06:09:37 +0000 (06:09 +0000)]
Include interps.h and mi/mi-cmds.h.
(decode_line_2): When using MI, always set all breakpoints in menu.

16 years agoNew extern for top_level_interpreter.
Nick Roberts [Sat, 19 Apr 2008 06:09:15 +0000 (06:09 +0000)]
New extern for top_level_interpreter.

16 years ago(top_level_interpreter): Rename static variable...
Nick Roberts [Sat, 19 Apr 2008 06:08:18 +0000 (06:08 +0000)]
(top_level_interpreter): Rename static variable...
(top_level_interpreter_ptr): ...to this.
(top_level_interpreter): New function.

16 years ago*** empty log message ***
Nick Roberts [Sat, 19 Apr 2008 06:07:51 +0000 (06:07 +0000)]
*** empty log message ***

16 years ago * configure.ac (AC_SEARCH_LIBS): Add check for zlib.
Craig Silverstein [Sat, 19 Apr 2008 05:06:54 +0000 (05:06 +0000)]
* configure.ac (AC_SEARCH_LIBS): Add check for zlib.
* config.in, configure: Regenerate.
* dwarf2read.c: Include zlib.h if present.
Modified *_SECTION macros.
(section_is_p): New.
(dwarf2_locate_sections): Use section_is_p instead of strcmp
(dwarf2_resize_section): New.
to determine whether a given section has a given name.
(zlib_decompress_section): New.
(dwarf2_read_section): Read the compressed section if present
in the binary.
* testsuite/gdb.dwarf2/dw2-compressed.S: New file.
* testsuite/gdb.dwarf2/dw2-compressed.exp: New file.
* MAINTAINERS: Added myself to section Write After Approval.

16 years ago * defs.h (exec_set_section_offsets): Remove prototype.
Thiago Jung Bauermann [Sat, 19 Apr 2008 02:07:19 +0000 (02:07 +0000)]
* defs.h (exec_set_section_offsets): Remove prototype.
* exec.c (exec_set_section_offsets): Remove function.

16 years ago * gdb.ada/atomic_enum: New test program.
Joel Brobecker [Sat, 19 Apr 2008 01:35:49 +0000 (01:35 +0000)]
    * gdb.ada/atomic_enum: New test program.
        * gdb.ada/atomic_enum.exp: New testcase.

16 years ago * stabsread.c (cleanup_undefined_types_1): Add instance flags check
Joel Brobecker [Sat, 19 Apr 2008 01:33:26 +0000 (01:33 +0000)]
    * stabsread.c (cleanup_undefined_types_1): Add instance flags check
        in the search for the matching symbol.

16 years ago*** empty log message ***
gdbadmin [Sat, 19 Apr 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 19 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agomerge from gcc
DJ Delorie [Fri, 18 Apr 2008 15:14:13 +0000 (15:14 +0000)]
merge from gcc

16 years agogas/
H.J. Lu [Fri, 18 Apr 2008 13:10:32 +0000 (13:10 +0000)]
gas/

2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
FMA.

gas/testsuite/

2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.d: Updated.
* gas/i386/avx.d: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.

opcodes/

2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_VEX_FMA): New.
(OP_EX_VexImmW): Likewise.
(VexFMA): Likewise.
(Vex128FMA): Likewise.
(EXVexImmW): Likewise.
(get_vex_imm8): Likewise.
(OP_EX_VexReg): Likewise.
(vex_i4_done): Renamed to ...
(vex_w_done): This.
(prefix_table): Replace EXVexW with EXVexImmW on vpermil2ps
and vpermil2pd.  Replace Vex/Vex128 with VexFMA/Vex128FMA on
FMA instructions.
(print_insn): Updated.
(OP_EX_VexW): Rewrite to swap register in VEX with EX.
(OP_REG_VexI4): Check invalid high registers.

16 years ago2008-04-18 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 18 Apr 2008 11:07:31 +0000 (11:07 +0000)]
2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/35457
* configure.ac: Include override.m4.
* configure: Regenerate.

2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (restrap): Call `make all' using double-colon rules.
        * Makefile.in: Regenerate.

2008-04-11  Eric B. Weddington  <eweddington@cso.atmel.com>

        * configure.ac: Do not build libssp for the AVR.
        * configure: Regenerate.

config:
2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/35457

* override.m4: Add this.  Make sure aclocal always picks it.
Add more lenient precious variable check, backported from
autoconf trunk.

16 years ago * aix5ppc-core.c: Define macros for the default architecture and
Nick Clifton [Fri, 18 Apr 2008 09:22:24 +0000 (09:22 +0000)]
   * aix5ppc-core.c: Define macros for the default architecture and
       machine for matching core files.
       (xcoff64_core_p): Set the architecture and machine to the default
       values defined in the macros mentioned above.
       * rs6000-core.c: Define macros to determine whether or not the
       core file header uses the core_dumpxx header format.
       (rs6000coff_core_p): Don't match core files that use the
       core_dumpxx header format.

16 years ago* MAINTAINERS: Replace reference to configure.in with reference to configure.ac.
Nick Clifton [Fri, 18 Apr 2008 08:55:06 +0000 (08:55 +0000)]
* MAINTAINERS: Replace reference to configure.in with reference to configure.ac.

16 years ago * configure.ac (cr16-*-*): Add case for cr16 target and include gdb
Nick Clifton [Fri, 18 Apr 2008 08:45:05 +0000 (08:45 +0000)]
 * configure.ac (cr16-*-*): Add case for cr16 target and include gdb
   as nonconfigurable directories list.
 * configure: Regenerate.

16 years ago * Makefile.in (distclean): Add gstdint.h.
Ben Elliston [Fri, 18 Apr 2008 02:12:45 +0000 (02:12 +0000)]
* Makefile.in (distclean): Add gstdint.h.

16 years ago2008-04-17 Marc Khouzam <marc.khouzam@ericsson.com>
Marc Khouzam [Fri, 18 Apr 2008 00:41:28 +0000 (00:41 +0000)]
2008-04-17  Marc Khouzam  <marc.khouzam@ericsson.com>

       * breakpoint.c (update_watchpoint): Always reparse
       condition.

16 years agodaily update
Alan Modra [Fri, 18 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Fri, 18 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.opt/Makefile.in: Fix whitespace.
Doug Evans [Thu, 17 Apr 2008 23:06:54 +0000 (23:06 +0000)]
* gdb.opt/Makefile.in: Fix whitespace.

16 years ago * breakpoint.c (print_one_breakpoint_location): Make sure to print
Joel Brobecker [Thu, 17 Apr 2008 22:43:17 +0000 (22:43 +0000)]
    * breakpoint.c (print_one_breakpoint_location): Make sure to print
        the breakpoint address only once.

16 years ago2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
Ulrich Weigand [Thu, 17 Apr 2008 21:36:23 +0000 (21:36 +0000)]
2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>

* gdb.threads/linux-dp.exp: Continue after unrecognized lines.

16 years ago * configure.srv [powerpc64-*-linux*]: Remove powerpc-e500.o from
Ulrich Weigand [Thu, 17 Apr 2008 21:22:41 +0000 (21:22 +0000)]
* configure.srv [powerpc64-*-linux*]: Remove powerpc-e500.o from
srv_regobj.  Remove rs6000/powerpc-e500.xml and rs6000/power-spe.xml
from reg_xmlfiles.
* linux-ppc-low.c: Include <elf.h>.
(PPC_FEATURE_HAS_ALTIVEC, PPC_FEATURE_HAS_SPE): Define.
(ppc_hwcap): New global variable.
(ppc_regmap): Remove __SPE__ #ifdef sections.
(ppc_regmap_e500): New global variable.
(ppc_cannot_store_register): Update __SPE__ special case.
(ppc_get_hwcap): New function.
(ppc_arch_setup): Use it to determine whether inferior supports
AltiVec or SPE registers.  Set the_low_target.regmap if appropriate.
(ppc_fill_vrregset, ppc_store_vrregset): Define unconditionally.
Do not access registers if target does not support AltiVec.
(ppc_fill_evrregset, ppc_store_evrregset): Define unconditionally.
Do not access registers if target does not support SPE.
(target_regsets): Unconditionally include AltiVec and SPE regsets.

16 years ago2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
Ulrich Weigand [Thu, 17 Apr 2008 21:21:38 +0000 (21:21 +0000)]
2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>

* linux-low.c (disabled_regsets, num_regsets): New.
(use_regsets_p): Delete.
(linux_wait_for_process): Clear disabled_regsets.
(regsets_fetch_inferior_registers): Check and set it.
(regsets_store_inferior_registers): Likewise.
(linux_fetch_registers, linux_store_registers): Do not use
use_regsets_p.
(initialize_low): Allocate disabled_regsets.

16 years ago * rs6000-tdep.c (rs6000_gdbarch_init): Use the BFD architecture,
Joel Brobecker [Thu, 17 Apr 2008 21:00:53 +0000 (21:00 +0000)]
    * rs6000-tdep.c (rs6000_gdbarch_init): Use the BFD architecture,
        rather than a hard-coded architecture, for xcoff executables.

16 years ago * buildsym.c (watch_main_source_file_lossage): New fn.
Doug Evans [Thu, 17 Apr 2008 17:54:05 +0000 (17:54 +0000)]
* buildsym.c (watch_main_source_file_lossage): New fn.
(end_symtab): Call it.

* gdb.base/hashline1.exp: New testcase.
* gdb.base/hashline2.exp: New testcase.
* gdb.base/hashline2.exp: New testcase.

16 years ago * source.c (find_and_open_source): Add some comments clarifying
Doug Evans [Thu, 17 Apr 2008 17:43:58 +0000 (17:43 +0000)]
* source.c (find_and_open_source): Add some comments clarifying
handling of FULLNAME argument. Make static.  Remove pointless
xstrdup/xfree.

16 years ago gdb/
Pedro Alves [Thu, 17 Apr 2008 11:49:56 +0000 (11:49 +0000)]
gdb/
* inf-loop.c (inferior_event_handler): Also run the intermediate
continuations in the INF_EXEC_COMPLETE case.

gdb/testsuite/
* gdb.base/step-break.exp, gdb.base/step-break.c: New files.

16 years ago * cli/cli-decode.h (CMD_ASYNC_OK): New define.
Tom Tromey [Thu, 17 Apr 2008 00:25:01 +0000 (00:25 +0000)]
* cli/cli-decode.h (CMD_ASYNC_OK): New define.
(set_cmd_async_ok, get_cmd_async_ok): Declare.
* cli/cli-decode.c (set_cmd_async_ok): New function.
(get_cmd_async_ok): New function.
* cli/cli-cmds.c (init_cli_cmds): Mark "pwd", "help", "info", and
"show" as async-ok.
* top.c (execute_command): Use get_cmd_async_ok.
* infcmd.c: Include cli/cli-decode.h.
(_initialize_infcmd): Mark "interrupt" as async-ok.
* Makefile.in (infcmd.o): Depend on cli_decode_h.

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

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

16 years ago PR gdb/2445
Daniel Jacobowitz [Wed, 16 Apr 2008 22:54:55 +0000 (22:54 +0000)]
PR gdb/2445
* exec.c: Correct "arch-utils.h" include.

16 years ago * config.bfd (i[3-7]86-*-dicos*, x86_64-*-dicos*): Add.
Pedro Alves [Wed, 16 Apr 2008 18:02:01 +0000 (18:02 +0000)]
* config.bfd (i[3-7]86-*-dicos*, x86_64-*-dicos*): Add.

16 years ago<opcode changes>
Dwarakanath Rajagopal [Wed, 16 Apr 2008 15:31:32 +0000 (15:31 +0000)]
<opcode changes>
2008-04-16  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
            Michael Meissner  <michael.meissner@amd.com>

        * i386-opc.tbl: Fix protX to allow memory in the middle operand.
        * i386-tbl.h: Regenerate from i386-opc.tbl.

<gas/testsuite changes>
2008-04-16  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
            Michael Meissner  <michael.meissner@amd.com>

        * gas/i386/x86-64-sse5.s: Add protX tests to allow memory in the middle
        operand.
        * gas/i386/x86-64-sse5.d: Likewise.

16 years ago * gdb.texinfo (GDB/MI Simple Examples): Added 'disp' field to the
Aleksandar Ristovski [Wed, 16 Apr 2008 13:14:18 +0000 (13:14 +0000)]
* gdb.texinfo (GDB/MI Simple Examples): Added 'disp' field to the
sample output for 'stopped,reason="breakpoint-hit"' message.
(GDB/MI Program Execution): Likewise.

16 years agobfd/
David S. Miller [Wed, 16 Apr 2008 08:51:18 +0000 (08:51 +0000)]
bfd/

* reloc.c (BFD_RELOC_SPARC_GOTDATA_HIX22,
BFD_RELOC_SPARC_GOTDATA_LOX10, BFD_RELOC_SPARC_GOTDATA_OP_HIX22,
BFD_RELOC_SPARC_GOTDATA_OP_LOX10, BFD_RELOC_SPARC_GOTDATA_OP): New.
* libbfd.h: Regnerate.
* bfd-in2.h: Regenerate.
* elfxx-sparc.c (_bfd_sparc_elf_howto_table): Add entries for
GOTDATA relocations.
(sparc_reloc_map): Likewise.
(_bfd_sparc_elf_check_relocs): Handle R_SPARC_GOTDATA_* like
R_SPARC_GOT*.
(_bfd_sparc_elf_gc_sweep_hook): Likewise.
(_bfd_sparc_elf_relocate_section): Transform R_SPARC_GOTDATA_HIX22,
R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22, and
R_SPARC_GOTDATA_OP_LOX10 into the equivalent R_SPARC_GOT* reloc.
Simply ignore R_SPARC_GOTDATA_OP relocations.

gas/

* config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
and relocation generation.
(tc_gen_reloc): Likewise.

gas/testsuite/

* gas/sparc/gotops32.d: New.
* gas/sparc/gotops32.s: Likewise.
* gas/sparc/gotops64.d: Likewise.
* gas/sparc/gotops64.s: Likewise.
* gas/sparc/sparc.exp: Run new gotdata tests.

ld/testsuite/

* ld-sparc/gotop32.dd: New.
* ld-sparc/gotop32.rd: Likewise.
* ld-sparc/gotop32.s: Likewise.
* ld-sparc/gotop32.sd: Likewise.
* ld-sparc/gotop32.td: Likewise.
* ld-sparc/gotop64.dd: Likewise.
* ld-sparc/gotop64.rd: Likewise.
* ld-sparc/gotop64.s: Likewise.
* ld-sparc/gotop64.sd: Likewise.
* ld-sparc/gotop64.td: Likewise.
* ld-sparc/sparc.exp: Run new gotdata tests.

16 years ago * elf/sparc.h (R_SPARC_GOTDATA_HIX22,
David S. Miller [Wed, 16 Apr 2008 08:35:17 +0000 (08:35 +0000)]
* elf/sparc.h (R_SPARC_GOTDATA_HIX22,
R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22,
R_SPARC_GOTDATA_OP_LOX10, R_SPARC_GOTDATA_OP,
R_SPARC_H34, R_SPARC_SIZE32, R_SPARC_SIZE64): New relocs.

16 years agoMove entries for changes in sub-directories into the changelogs in those sub-
Nick Clifton [Wed, 16 Apr 2008 08:33:54 +0000 (08:33 +0000)]
Move entries for changes in sub-directories into the changelogs in those sub-
directories.

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

16 years agodaily update
Alan Modra [Wed, 16 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * gdb.base/attach.exp (do_attach_tests): Matching pattern for
Aleksandar Ristovski [Tue, 15 Apr 2008 14:33:55 +0000 (14:33 +0000)]
* gdb.base/attach.exp (do_attach_tests): Matching pattern for
temporary breakpoint to match "Temporary breakpoint".
* gdb.base/break.exp (delete_breakpoints): Likewise.
* gdb.base/call-ar-st.exp (get_debug_format): Likewise.
* gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
* gdb.base/display.exp: Likewise.
* gdb.base/foll-exec.exp (do_exec_tests): Likewise.
* gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
* gdb.base/restore.exp (restore_tests): Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.mi/mi-cli.exp: Added argument for new "disp" field.
* gdb.mi/mi-pending.exp: Likewise.
* gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
* gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
* gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
* lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
new "disp" field.
(mi_expect_stop): Move after_reason argument to be really after
reason. This is to support fix for PR2424.

16 years agoPR gdb/2424
Aleksandar Ristovski [Tue, 15 Apr 2008 14:32:12 +0000 (14:32 +0000)]
PR gdb/2424
* infrun.c (normal_stop) Move breakpoint_auto_delete further down
to allow printing to 'see' real reason of stop. This fixes PR 2424.
* breakpoint.c (bpdisp_texst): New function. The function takes over
the role of bpstats static array in print_one_breakpoint_location.
(print_it_typical): Print "Temporary breakpoint" instead
of just "Breakpoint" when breakpoint is, well, temporary. For mi-like
protocols, print disp field.
(print_one_breakpoint_location): Removed bpdisps static definition.
Call new bpstat_text function to get value for 'disp' field.
(mention): Print "Temporary breakpoint" instead of just "Breakpoint".

16 years ago * gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4,
Daniel Jacobowitz [Tue, 15 Apr 2008 12:53:19 +0000 (12:53 +0000)]
* gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4,
gnulib/aux/link-warning.h, gnulib/extra/link-warning.h: Adjust
by rerunning gnulib-tool with --aux-dir=gnulib/extra.
* gnulib/Makefile.in: Regenerate.

16 years ago * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
Jan Kratochvil [Tue, 15 Apr 2008 09:00:32 +0000 (09:00 +0000)]
* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.

16 years agotoplevel/
David S. Miller [Tue, 15 Apr 2008 05:16:51 +0000 (05:16 +0000)]
toplevel/

* configure.ac: Add sparc*-*-* to gold supported targets.
* configure: Regenerate.

gold/

* sparc.cc: New file.
* Makefile.am (TARGETSOURCES): Add sparc.cc
(ALL_TARGETOBJS): Add sparc.$(OBJEXT)
* configure.tgt: Document targ_extra_size and
targ_extra_big_endian.  Add entries for sparc-* and
sparc64-*.
* configure.ac: Handle targ_extra_size and
targ_extra_big_endian.
* Makefile.in: Rebuild.
* configure: Likewise.
* po/POTFILES.in: Likewise.
* po/gold.pot: Likewise.

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

16 years ago*** empty log message ***
gdbadmin [Tue, 15 Apr 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * configure.in: Link with the PIC version of libiberty on
Thiemo Seufer [Mon, 14 Apr 2008 19:58:48 +0000 (19:58 +0000)]
* configure.in: Link with the PIC version of libiberty on
Linux/MIPS hosts.
* configure: Regenerate.

16 years ago * Makefile.in (GNULIB_H): New. Trigger all-lib.
Daniel Jacobowitz [Mon, 14 Apr 2008 19:47:29 +0000 (19:47 +0000)]
* Makefile.in (GNULIB_H): New.  Trigger all-lib.
(defs_h): Use $(GNULIB_H).
(all-lib): Depend on gnulib/Makefile.
(gnulib/Makefile): Regenerate gnulib/Makefile and gnulib/.deps.
* config.in, gnulib/Makefile.in: Regenerated.

16 years agoFix generated files.
Daniel Jacobowitz [Mon, 14 Apr 2008 19:01:21 +0000 (19:01 +0000)]
Fix generated files.

16 years agoAdd missed files from last commit.
Daniel Jacobowitz [Mon, 14 Apr 2008 18:05:12 +0000 (18:05 +0000)]
Add missed files from last commit.

16 years ago * Makefile.in (LIBGNU, INCGNU): Define.
Daniel Jacobowitz [Mon, 14 Apr 2008 18:04:00 +0000 (18:04 +0000)]
* Makefile.in (LIBGNU, INCGNU): Define.
(INTERNAL_CFLAGS_BASE): Add INCGNU.
(INTERNAL_LIBS, CLIBS, CDEPS): Add LIBGNU.
(CLEANDIRS): New.
($(LIBGNU), all-lib): New rules.
(clean, distclean, do-maintainer-clean): Use CLEANDIRS.
* configure.ac: Use gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE.
Simplify AC_CONFIG_AUX_DIR.  Generate gnulib/Makefile.
* gnulib: New directory, from gnulib-tool.
* configure, aclocal.m4: Regenerated.

* Makefile.in (LIBOBJS): New.
(OBS): Use LIBOBJS.
(memmem.o): New rule.
* configure.ac: Use AC_CONFIG_LIBOBJ_DIR and check for memmem.
* configure: Regenerated.

16 years ago2008-04-14 Hans Kester <kester.hans@gmail.com>
Daniel Jacobowitz [Mon, 14 Apr 2008 15:15:18 +0000 (15:15 +0000)]
2008-04-14  Hans Kester  <kester.hans@gmail.com>

* sim-signal.c: Define missing signals for _WIN32.

16 years ago * linux-thread-db.c (have_threads_callback): Check thread->private.
Daniel Jacobowitz [Mon, 14 Apr 2008 14:02:23 +0000 (14:02 +0000)]
* linux-thread-db.c (have_threads_callback): Check thread->private.

16 years agoppc e500mc support
Alan Modra [Mon, 14 Apr 2008 11:01:38 +0000 (11:01 +0000)]
ppc e500mc support

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 14 Apr 2008 09:28:35 +0000 (09:28 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years agodaily update
Alan Modra [Mon, 14 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Mon, 14 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago Fix @-varobjs.
Vladimir Prus [Sun, 13 Apr 2008 09:33:49 +0000 (09:33 +0000)]
Fix @-varobjs.
        * varobj.c (value_of_root): Update the expression for
        floating varobjs.
        * mi/mi-cmd-var.c (varobj_update_one): If type has changed,
        report that.

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

16 years ago*** empty log message ***
gdbadmin [Sun, 13 Apr 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * Makefile.tpl <gcc>: Error early unless at least GNU make 3.80.
Hans-Peter Nilsson [Sat, 12 Apr 2008 18:53:52 +0000 (18:53 +0000)]
* Makefile.tpl <gcc>: Error early unless at least GNU make 3.80.
* Makefile.in: Regenerate.

16 years ago*** empty log message ***
gdbadmin [Sat, 12 Apr 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

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

16 years ago*** empty log message ***
gdbadmin [Fri, 11 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Thu, 10 Apr 2008 13:36:43 +0000 (13:36 +0000)]
2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-dis.c (init_disasm): Evaluate disassembler_options.
(print_s390_disassembler_options): New function.
* disassemble.c (disassembler_usage): Invoke
print_s390_disassembler_options.

2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* dis-asm.h (print_s390_disassembler_options):
Prototype added.

16 years ago2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Thu, 10 Apr 2008 13:05:07 +0000 (13:05 +0000)]
2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-mkopc.c (insertExpandedMnemonic): Expand string sizes
of local variables used for mnemonic parsing: prefix, suffix and
number.

16 years ago2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Thu, 10 Apr 2008 08:59:46 +0000 (08:59 +0000)]
2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-mkopc.c (s390_cond_ext_format): Add back the mnemonic
extensions for conditional jumps (o, p, m, nz, z, nm, np, no).
(s390_crb_extensions): New extensions table.
(insertExpandedMnemonic): Handle '$' tag.
* s390-opc.txt: Remove conditional jump variants which can now
be expanded automatically.
Replace '*' tag with '$' in the compare and branch instructions.

2008-04-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z10.d: Map the compare and branch variants
with odd condition code mask to version with an even mask.

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

16 years ago*** empty log message ***
gdbadmin [Thu, 10 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agogdb/ChangeLog
Marc Khouzam [Wed, 9 Apr 2008 13:29:55 +0000 (13:29 +0000)]
gdb/ChangeLog
2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>

        * mi/mi-cmd-var.c: Include "mi-getopt.h".
        (mi_parse_format): New.  Factored out from mi_cmd_var_set_format.
        (mi_cmd_var_set_format): Use new mi_parse_format.
        (mi_cmd_var_evaluate_expression): Support for -f option to specify
        format.
        * Makefile.in (mi-cmd-var.o): Update dependencies.

        * varobj.h (varobj_get_formatted_value): Declare.
        * varobj.c (my_value_of_variable): Added format parameter.
        (cplus_value_of_variable): Likewise.
        (java_value_of_variable): Likewise.
        (c_value_of_variable): Likewise.  Evaluate expression based
        on format parameter.
        (struct language_specific): Add format parameter to function member
        *value_of_variable.
        (varobj_get_formatted_value): New.
        (varobj_get_value): Added format parameter to method call.

gdb/doc/ChangeLog
2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>

        * gdb.texinfo (GDB/MI Variable Objects): Add anchor to
        -var-set-format.  Add -f option to -var-evaluate-expression.

gdb/testsuite/ChangeLog
2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>

        * gdb.mi/mi2-var-display.exp: Added tests for the new -f
        option of -var-evaluate-expression.
        * gdb.mi/mi2-var-display.exp: Likewise.

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

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