binutils-gdb.git
16 years ago * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
Kevin Buettner [Tue, 5 Feb 2008 16:20:20 +0000 (16:20 +0000)]
* mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
to account for call site optimizations.

16 years ago2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
Jim Blandy [Tue, 5 Feb 2008 16:05:56 +0000 (16:05 +0000)]
2008-02-05  Andrzej Zaborowski  <balrogg@gmail.com>

* tracepoint.c (read_actions): Handle end-of-text indicator
in action list properly.  (Committed by Jim Blandy)

16 years agoFix changelog entry.
Jim Blandy [Tue, 5 Feb 2008 15:56:32 +0000 (15:56 +0000)]
Fix changelog entry.

16 years ago* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
Jim Blandy [Tue, 5 Feb 2008 15:54:34 +0000 (15:54 +0000)]
* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
pseudoregister, not an internal error.

16 years ago*** empty log message ***
gdbadmin [Tue, 5 Feb 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoPrint PHDRS clause for debugging.
Ian Lance Taylor [Mon, 4 Feb 2008 23:53:15 +0000 (23:53 +0000)]
Print PHDRS clause for debugging.

16 years agobinutils/testsuite/
Bob Wilson [Mon, 4 Feb 2008 23:41:54 +0000 (23:41 +0000)]
binutils/testsuite/
    * binutils-all/objdump.exp (cpus_expected): Add xtensa.
ld/testsuite/
    * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*.

16 years ago * elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
Bob Wilson [Mon, 4 Feb 2008 23:13:24 +0000 (23:13 +0000)]
* elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
relocation, do not continue processing it.  Ignore R_XTENSA_ASM_EXPAND
relocations against dynamic symbols.
(elf_xtensa_finish_dynamic_sections): Do not fail if there is no
.xt.lit section.

16 years agodaily update
Alan Modra [Mon, 4 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoImplement PHDRS.
Ian Lance Taylor [Mon, 4 Feb 2008 22:54:31 +0000 (22:54 +0000)]
Implement PHDRS.

16 years agoTreat an empty directory argument as the current directory.
Ian Lance Taylor [Mon, 4 Feb 2008 22:44:35 +0000 (22:44 +0000)]
Treat an empty directory argument as the current directory.

16 years ago2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 4 Feb 2008 19:59:20 +0000 (19:59 +0000)]
2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>

PR 5715
* configure: Regenerated.

16 years agobfd/
H.J. Lu [Mon, 4 Feb 2008 19:43:51 +0000 (19:43 +0000)]
bfd/

2008-02-04  Kai Tietz  <kai.tietz@onevision.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR 5715
* warning.m4: Enable -Wno-format by default when using gcc on
mingw.
* configure: Regenerated.

binutils/

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

PR 5715
* configure: Regenerated.

gas/

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

PR 5715
* configure: Regenerated.

ld/

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

PR 5715
* configure: Regenerated.

opcodes/

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

PR 5715
* configure: Regenerated.

16 years ago * mips-dis.c: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:26:11 +0000 (19:26 +0000)]
* mips-dis.c: Update copyright.
(mips_arch_choices): Add Octeon.
* mips-opc.c: Update copyright.
(IOCT): New macro.
(mips_builtin_opcodes): Add Octeon instruction synciobdma.

16 years ago * mips.h: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:25:05 +0000 (19:25 +0000)]
* mips.h: Update copyright.
(INSN_CHIP_MASK): New macro.
(INSN_OCTEON): New macro.
(CPU_OCTEON): New macro.
(OPCODE_IS_MEMBER): Handle Octeon instructions.

16 years ago * mips.h: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:21:25 +0000 (19:21 +0000)]
* mips.h: Update copyright.
(E_MIPS_MACH_OCTEON): New macro.

16 years ago * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
Adam Nemet [Mon, 4 Feb 2008 19:20:16 +0000 (19:20 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add Octeon.

16 years ago * gas/mips/mips.exp: Call mips_arch_create for Octeon. Invoke
Adam Nemet [Mon, 4 Feb 2008 19:19:43 +0000 (19:19 +0000)]
* gas/mips/mips.exp: Call mips_arch_create for Octeon.  Invoke
Octeon tests.
* gas/mips/octeon.s, gas/mips/octeon.d: New test.

16 years ago * readelf.c (get_machine_flags): Handle Octeon.
Adam Nemet [Mon, 4 Feb 2008 19:16:53 +0000 (19:16 +0000)]
* readelf.c (get_machine_flags): Handle Octeon.

16 years ago * archures.c: Update copyright.
Adam Nemet [Mon, 4 Feb 2008 19:15:52 +0000 (19:15 +0000)]
* archures.c: Update copyright.
(bfd_mach_mips_octeon): New macro.
* bfd-in2.h: Regenerate.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle Octeon.
(mips_set_isa_flags): Likewise.
(mips_mach_extensions): Add Octeon.
* cpu-mips.c: Update copyright.
(I_mipsocteon): New enum constant.
(arch_info_struct): Add Octeon.

16 years agoFrom Craig Silverstein: support @file expansion.
Ian Lance Taylor [Mon, 4 Feb 2008 17:26:12 +0000 (17:26 +0000)]
From Craig Silverstein: support @file expansion.

16 years ago2008-02-04 Antony King <antony.king@st.com>
Andrew Stubbs [Mon, 4 Feb 2008 17:26:07 +0000 (17:26 +0000)]
2008-02-04  Antony King  <antony.king@st.com>

* interp.c (macl): Fix non-portable implementation.

16 years ago * varobj.c (c_value_of_variable): Use xstrdup.
Vladimir Prus [Mon, 4 Feb 2008 07:49:04 +0000 (07:49 +0000)]
* varobj.c (c_value_of_variable): Use xstrdup.

16 years agoImplement SIZEOF_HEADERS, section constraints, other minor linker
Ian Lance Taylor [Mon, 4 Feb 2008 06:45:50 +0000 (06:45 +0000)]
Implement SIZEOF_HEADERS, section constraints, other minor linker
script items.

16 years ago Update stored rendition of varobj value when format changes.
Vladimir Prus [Mon, 4 Feb 2008 06:14:20 +0000 (06:14 +0000)]
Update stored rendition of varobj value when format changes.
* varobj.c (varobj_set_display_format): Recomputed
        print_value.
        (c_value_of_variable): Return print_value.

16 years agoFully implement SECTIONS clause.
Ian Lance Taylor [Mon, 4 Feb 2008 05:46:12 +0000 (05:46 +0000)]
Fully implement SECTIONS clause.

16 years agoFully implement the SECTIONS clause.
Ian Lance Taylor [Mon, 4 Feb 2008 05:43:05 +0000 (05:43 +0000)]
Fully implement the SECTIONS clause.

16 years ago * elf32-spu.c (spu_elf_relocate_section): Correct return type.
Alan Modra [Mon, 4 Feb 2008 01:13:38 +0000 (01:13 +0000)]
* elf32-spu.c (spu_elf_relocate_section): Correct return type.
Return error status on unexpected relocation errors.

16 years ago * eval.c (evaluate_subexp_standard): Fix type of result of mixed
Doug Evans [Mon, 4 Feb 2008 00:23:05 +0000 (00:23 +0000)]
* eval.c (evaluate_subexp_standard): Fix type of result of mixed
integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
* valops.c (value_one): New function.
* value.h (value_one): Declare.

Fix argument promotion for binary arithmetic ops for C.
* valarith.c (unop_result_type): New fn.
(binop_result_type): New fn.
(value_binop): Move result type computation to binop_result_type.
(value_pos, value_neg, value_complement): Move result type
computation to unop_result_type.

* gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.

16 years ago PR ld/5692
Alan Modra [Mon, 4 Feb 2008 00:09:04 +0000 (00:09 +0000)]
PR ld/5692
* elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31.  Instead abort
on non-ELF input.
* elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue
processing on non-ELF input.

16 years ago*** empty log message ***
gdbadmin [Mon, 4 Feb 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 3 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoadd copyright
Doug Evans [Sun, 3 Feb 2008 22:17:05 +0000 (22:17 +0000)]
add copyright

16 years ago PR 2384
Doug Evans [Sun, 3 Feb 2008 22:13:30 +0000 (22:13 +0000)]
PR 2384
* gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
Return basetype, fieldno if found.  All callers updated.
Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
objfile.
* gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
* symfile.h (fill_in_vptr_fieldno): Delete.

* gdb.cp/gdb2384.exp: New file.
* gdb.cp/gdb2384.cc: New file.
* gdb.cp/gdb2384-base.h: New file.
* gdb.cp/gdb2384-base.cc: New file.

16 years ago* gdb.texinfo (Help): Summarize 'info args' correctly.
Jim Blandy [Sun, 3 Feb 2008 18:55:27 +0000 (18:55 +0000)]
* gdb.texinfo (Help): Summarize 'info args' correctly.

16 years ago * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
Doug Evans [Sun, 3 Feb 2008 01:51:04 +0000 (01:51 +0000)]
* valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.

16 years ago * typeprint.c (*): Whitespace cleanup.
Doug Evans [Sun, 3 Feb 2008 01:02:47 +0000 (01:02 +0000)]
* typeprint.c (*): Whitespace cleanup.

16 years ago * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
Doug Evans [Sun, 3 Feb 2008 00:42:55 +0000 (00:42 +0000)]
* gdb.base/sigall.c (main): Ensure all signals aren't blocked.

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

16 years agodaily update
Alan Modra [Sat, 2 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
Hans-Peter Nilsson [Sat, 2 Feb 2008 22:19:04 +0000 (22:19 +0000)]
* configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
* configure: Regenerate.

16 years agoDon't record file offset for CIEs.
Ian Lance Taylor [Sat, 2 Feb 2008 06:50:45 +0000 (06:50 +0000)]
Don't record file offset for CIEs.

16 years ago Luis Machado <luisgpm@br.ibm.com>
Mark Kettenis [Sat, 2 Feb 2008 00:07:57 +0000 (00:07 +0000)]
Luis Machado  <luisgpm@br.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
don't fit into registerson the stack the way GCC does.

16 years ago*** empty log message ***
gdbadmin [Sat, 2 Feb 2008 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.ada/sym_print_name: New test program.
Joel Brobecker [Fri, 1 Feb 2008 23:15:36 +0000 (23:15 +0000)]
    * gdb.ada/sym_print_name: New test program.
        * gdb.ada/sym_print_name.exp: New testcase.

16 years ago * symtab.c (symbol_set_names): Do not add an entry in the demangling
Joel Brobecker [Fri, 1 Feb 2008 23:12:23 +0000 (23:12 +0000)]
    * symtab.c (symbol_set_names): Do not add an entry in the demangling
        hash table for Ada symbols. Just store the linkage name as is,
        and leave the demangled_name as NULL.

16 years agodaily update
Alan Modra [Fri, 1 Feb 2008 23:00:08 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.ada/nested/hello.adb: New file.
Joel Brobecker [Fri, 1 Feb 2008 22:48:16 +0000 (22:48 +0000)]
    * gdb.ada/nested/hello.adb: New file.
        * gdb.ada/nested.exp: New testcase.
        * gdb.ada/Makefile.in (EXECUTABLES): Update list.

16 years ago * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
Joel Brobecker [Fri, 1 Feb 2008 22:45:13 +0000 (22:45 +0000)]
    * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
        in the global scope.
        (new_symbol): Likewise.

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
Bob Wilson [Fri, 1 Feb 2008 18:32:06 +0000 (18:32 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
* configure.ac (xtensa*-*-*): Recognize processor variants.
* configure: Regenerate.

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
Bob Wilson [Fri, 1 Feb 2008 17:58:48 +0000 (17:58 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
bfd/
* config.bfd (xtensa*-*-*): Recognize processor variants.
gas/
* configure.tgt (xtensa*-*-*): Recognize processor variants.
gas/testsuite/
* gas/all/gas.exp: Recognize Xtensa processor variants.
* gas/elf/elf.exp: Likewise.
* gas/lns/lns.exp: Likewise.
ld/
* configure.tgt (xtensa*-*-*): Recognize processor variants.
ld/testsuite/
* ld-elf/merge.d: Recognize Xtensa processor variants.
* ld-xtensa/coalesce.exp: Likewise.
* ld-xtensa/lcall.exp: Likewise.

16 years ago * breakpoint.c (break_command_1): Return void.
Vladimir Prus [Fri, 1 Feb 2008 16:24:47 +0000 (16:24 +0000)]
    * breakpoint.c (break_command_1): Return void.
        (break_command_really): Return void.  Rethrow
        exceptions instead of returning.
        (gdb_breakpoint): Remove the error_message parameter.
        Return void.  Rename to set_breakpoint.
        * gdb.h (gdb_breakpoint): Rename and move to...
* breakpoint.h (set_breakpoint): ...here.
        * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
        event hooks even if exception is thrown.  Adjust to
        gdb_breakpoint interface changes.

16 years ago * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
Thiago Jung Bauermann [Fri, 1 Feb 2008 15:04:18 +0000 (15:04 +0000)]
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
float in both first and second word in the doubleword, to support
old and new ABIs.

16 years ago Properly rethrow exception. This fixes errors
Vladimir Prus [Fri, 1 Feb 2008 06:47:20 +0000 (06:47 +0000)]
Properly rethrow exception.  This fixes errors
about non-existent functions for -break-insert.
        * breakpoint.c (break_command_really): Use throw_exception
        for rethrowing.  If rethrowing, don't print the exception.

16 years agoFrom Cary Coutant: Ignore hidden symbols in a dynamic object.
Ian Lance Taylor [Fri, 1 Feb 2008 00:42:24 +0000 (00:42 +0000)]
From Cary Coutant: Ignore hidden symbols in a dynamic object.

16 years agoFrom Cary Coutant: Fix a case in which code takes the address of a
Ian Lance Taylor [Fri, 1 Feb 2008 00:39:10 +0000 (00:39 +0000)]
From Cary Coutant: Fix a case in which code takes the address of a
function and also calls it directly.

16 years ago * hostio.c: Don't include errno.h.
Pedro Alves [Fri, 1 Feb 2008 00:08:25 +0000 (00:08 +0000)]
* hostio.c: Don't include errno.h.
(errno_to_fileio_errno): Move to hostio-errno.
* hostio.c: (hostio_error): Remove the error parameter.  Defer the
error number outputting to the target->hostio_last_error callback.
(hostio_packet_error): Use FILEIO_EINVAL directly.
(handle_open, handle_pread, hostio_error, handle_unlink): Update
calls to hostio_error.
* hostio-errno.c: New.
* server.h (hostio_last_error_from_errno): Declare.
* target.h (target_ops): Add hostio_last_error member.
* linux-low.c (linux_target_op): Register hostio_last_error_from_errno
as hostio_last_error handler.
* spu-low.c (spu_target_ops): Likewise.
* win32-low.c [_WIN32_WCE] (win32_error_to_fileio_error)
(wince_hostio_last_error): New functions.
(win32_target_ops) [_WIN32_WCE]: Register wince_hostio_last_error
as hostio_last_error handler.
(win32_target_ops) [!_WIN32_WCE]: Register
hostio_last_error_from_errno as hostio_last_error handler.
* Makefile.in (SFILES): Add hostio.c and hostio-errno.c.
(hostio-errno.o): New rule.
* configure.ac (GDBSERVER_DEPFILES): Add $srv_hostio_err_objs.
* configure.srv (srv_hostio_err_objs): New variable.  Default to
hostio-errno.o.
(arm*-*-mingw32ce*): Set srv_hostio_err_objs to "".
* configure: Regenerate.

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

16 years agodaily update
Alan Modra [Thu, 31 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * NEWS: Mention Decimal Floating Point support.
Thiago Jung Bauermann [Thu, 31 Jan 2008 21:07:37 +0000 (21:07 +0000)]
* NEWS: Mention Decimal Floating Point support.

16 years ago * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
Joel Brobecker [Thu, 31 Jan 2008 20:03:38 +0000 (20:03 +0000)]
    * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
        value type to builtin_type_void_func_ptr.

16 years ago * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
Luis Machado [Thu, 31 Jan 2008 16:00:25 +0000 (16:00 +0000)]
* gdb.arch/ppc64-atomic-inst.c: New testcase source file.
* gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.

16 years ago2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
Ulrich Weigand [Thu, 31 Jan 2008 15:43:32 +0000 (15:43 +0000)]
2008-01-31  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-tdep.c (is_float_singleton, is_float_like,
alignment_of, s390_return_value): Make checks for
TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.

16 years ago * gdb.pascal/integers.pas: New test program.
Pierre Muller [Thu, 31 Jan 2008 14:49:23 +0000 (14:49 +0000)]
* gdb.pascal/integers.pas: New test program.
* gdb.pascal/integers.exp: New testcase.

16 years ago * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
Pierre Muller [Thu, 31 Jan 2008 14:46:21 +0000 (14:46 +0000)]
* gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.

16 years ago2008-01-30 Luis Machado <luisgpm@br.ibm.com>
Thiago Jung Bauermann [Thu, 31 Jan 2008 13:41:38 +0000 (13:41 +0000)]
2008-01-30  Luis Machado  <luisgpm@br.ibm.com>

* gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
* gdb.arch/powerpc-d128-regs.c: New testcase source file.

16 years ago * gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers
Thiago Jung Bauermann [Thu, 31 Jan 2008 13:38:49 +0000 (13:38 +0000)]
* gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers
available in PowerPC architecture.
(Embedded Processors): Change node name of PowerPC item in menu.
(PowerPC): Rename to...
(PowerPC Embedded): this.
(Architectures): Add new PowerPC item in menu.
(PowerPC): New node.

16 years ago2008-01-30 Luis Machado <luisgpm@br.ibm.com>
Thiago Jung Bauermann [Thu, 31 Jan 2008 13:37:21 +0000 (13:37 +0000)]
2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* infcmd.c (default_print_registers_info): Also print hex
raw contents for TYPE_CODE_DECFLOAT registers.
* ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
* rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
(rs6000_register_name): Add support for DFP pseudo-registers.
(rs6000_pseudo_register_type): Likewise.
rs6000_pseudo_register_reggroup_p): Likewise.
(ppc_pseudo_register_read): New function.
(ppc_pseudo_register_write): Likewise.
(rs6000_pseudo_register_read): Likewise.
(rs6000_pseudo_register_write): Likewise.
(e500_pseudo_register_read): Move checks to
rs6000_pseudo_register_read.
(e500_pseudo_register_write): Move checks to
rs6000_pseudo_register_write.
(rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
rs6000_pseudo_register_read and rs6000_pseudo_register_write
in gdbarch if SPE or DFP is available.  Adjust gdbarch's
num_pseudo_regs to account for DFP pseudo regs.

16 years ago * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
Thiago Jung Bauermann [Thu, 31 Jan 2008 13:22:40 +0000 (13:22 +0000)]
* ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
* rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
(spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
e500_pseudo_register_read, e500_pseudo_register_write): Use
IS_SPE_PSEUDOREG macro.
(rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
(rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
Remove initialization of tdep->ppc_ev31_regnum.

16 years agoPR ld/5692
Nick Clifton [Thu, 31 Jan 2008 10:48:35 +0000 (10:48 +0000)]
PR ld/5692
* elf.c (bfd_elf_get_elf_syms): Check the return value of get_elf_backend_data.

16 years ago2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Thu, 31 Jan 2008 10:39:43 +0000 (10:39 +0000)]
2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        PR bootstrap/34922
        * configure.ac (PARSE_ARGS): Push suitable setting of
        ac_subdirs_all, for `./configure --help=recursive'.
        Handle `+' in generic toplevel directory disabling.
        * configure: Regenerate.

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

16 years agodaily update
Alan Modra [Wed, 30 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.ada/formatted_ref: New test program.
Joel Brobecker [Wed, 30 Jan 2008 19:23:26 +0000 (19:23 +0000)]
    * gdb.ada/formatted_ref: New test program.
        * gdb.ada/formatted_ref.exp: New testcase.

        * gdb.cp/formatted-ref.cc: New file.
        * gdb.cp/formatted-ref.exp: New testcase.

16 years ago * printcmd.c (print_formatted): Handle references as for unformatted
Joel Brobecker [Wed, 30 Jan 2008 19:19:51 +0000 (19:19 +0000)]
    * printcmd.c (print_formatted): Handle references as for unformatted
        prints.

16 years ago * gdb.base/ptype.exp: Add testing of "ptype $pc".
Joel Brobecker [Wed, 30 Jan 2008 18:48:07 +0000 (18:48 +0000)]
    * gdb.base/ptype.exp: Add testing of "ptype $pc".

16 years ago * eval.c (evaluate_subexp_standard): Add handling of user
Joel Brobecker [Wed, 30 Jan 2008 18:46:08 +0000 (18:46 +0000)]
    * eval.c (evaluate_subexp_standard): Add handling of user
        registers when in EVAL_AVOID_SIDE_EFFECTS mode.

16 years ago * gdb.texinfo (Multi-Process Mode for gdbserver): Use @kbd for
Daniel Jacobowitz [Wed, 30 Jan 2008 13:14:40 +0000 (13:14 +0000)]
* gdb.texinfo (Multi-Process Mode for gdbserver): Use @kbd for
commands.

16 years ago * gdb.texinfo (Setting Catchpoints): Mention features
Daniel Jacobowitz [Wed, 30 Jan 2008 13:11:15 +0000 (13:11 +0000)]
* gdb.texinfo (Setting Catchpoints): Mention features
supported on GNU/Linux.

16 years ago Add OpenVMS extensions.
Nick Clifton [Wed, 30 Jan 2008 10:37:43 +0000 (10:37 +0000)]
    Add OpenVMS extensions.
        * ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID)
        (SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR)
        (SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED)
        (SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES)
        (SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR)
        (SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR)
        (SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE)
        (DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS)
        (DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT)
        (DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT)
        (DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT)
        (DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT)
        (DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE)
        (DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG)
        (DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME)
        (DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET)
        (DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET)
        (DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET)
        (DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF)
        (DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF)
        (DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG)
        (DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define

        * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
        (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
        (get_dynamic_type): Handle IA64-specific tags.
        (get_ia64_section_type_name): Handle OpenVMS-specific sections.
        (get_section_type_name): Handle OS-specific sections (and
        particularly IA64 OpenVMS one).
        (get_elf_section_flags): Makes flags static.  Add entries for IA64 and
        decode them.

16 years ago(test_file_list_exec_source_file): Update to new macro-info field.
Nick Roberts [Wed, 30 Jan 2008 08:50:10 +0000 (08:50 +0000)]
(test_file_list_exec_source_file): Update to new macro-info field.

16 years ago*** empty log message ***
Nick Roberts [Wed, 30 Jan 2008 08:49:27 +0000 (08:49 +0000)]
*** empty log message ***

16 years ago2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Wed, 30 Jan 2008 07:31:07 +0000 (07:31 +0000)]
2008-01-25  Pierre Muller  <muller@ics.u-strasbg.fr>

* eval.c (evaluate_subexp_standard): Support
BINOP_INTDIV opcode.

16 years ago2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
Paul N. Hilfinger [Wed, 30 Jan 2008 07:28:16 +0000 (07:28 +0000)]
2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>

* valarith.c (value_binop): Add floating-point BINOP_MIN and
BINOP_MAX cases.
For BINOP_EXP, use length and signedness of left operand only for
result, as for shifts.
For integral operands to BINOP_EXP, use new integer_pow and
uinteger_pow functions so as to get full range of results.
(integer_pow): New function.
(uinteger_pow): New function.

2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>

* gdb.ada/exprs: New test program.
* gdb.ada/exprs.exp: New testcase.

16 years ago Use vector for varobj_list_children interface.
Vladimir Prus [Wed, 30 Jan 2008 07:17:31 +0000 (07:17 +0000)]
Use vector for varobj_list_children interface.
        * gdb/varobj.c (varobj_list_children): Return vector
        of varobjs.
        * gdb/varobj.h (varobj_list_children): Adjust
        prototype.
        (varobj_p): Declare.  Declare vector thereof.
        * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
        for varobj_list_children change.
* Makefile.in (varobj_h): Update dependencies.

16 years ago(GDB/MI File Commands): Describe new output
Nick Roberts [Wed, 30 Jan 2008 04:27:11 +0000 (04:27 +0000)]
(GDB/MI File Commands): Describe new output
field for MI command -file-list-exec-source-file.

16 years ago*** empty log message ***
Nick Roberts [Wed, 30 Jan 2008 04:26:24 +0000 (04:26 +0000)]
*** empty log message ***

16 years ago * dfp-test.c (DELTA, DELTA_B): New definitions.
Thiago Jung Bauermann [Wed, 30 Jan 2008 03:19:26 +0000 (03:19 +0000)]
* dfp-test.c (DELTA, DELTA_B): New definitions.
(double_val1, double_val2, double_val3, double_val4, double_val5,
double_val6, double_val7, double_val8, double_val9, double_val10,
double_val11, double_val12, double_val13, double_val14, dec32_val1,
dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
dec128_val12, dec128_val13, dec128_val14, dec128_val15,
dec128_val16): New global variables.
(decimal_dec128_align): New function.
(decimal_mixed): Likewise.
(decimal_many_args_dec32): Likewise.
(decimal_many_args_dec64): Likewise.
(decimal_many_args_dec128): Likewise.
(decimal_many_args_mixed): Likewise.
* dfp-test.exp: Add tests calling new inferior functions.

16 years ago * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
Thiago Jung Bauermann [Wed, 30 Jan 2008 03:18:39 +0000 (03:18 +0000)]
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
TYPE_CODE_DECFLOAT arguments.
(ppc64_sysv_abi_push_dummy_call) Likewise.
(get_decimal_float_return_value): New function.
(do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
values by calling get_decimal_float_return_value.
(ppc64_sysv_abi_return_value): Likewise.

16 years ago(mi_cmd_file_list_exec_source_file): Add field
Nick Roberts [Wed, 30 Jan 2008 01:47:38 +0000 (01:47 +0000)]
(mi_cmd_file_list_exec_source_file):  Add field
for preprocessor macro information.  Formatting changes.

16 years ago*** empty log message ***
Nick Roberts [Wed, 30 Jan 2008 01:47:17 +0000 (01:47 +0000)]
*** empty log message ***

16 years ago * linux-low.c (linux_attach_lwp): Do not _exit after errors.
Daniel Jacobowitz [Wed, 30 Jan 2008 00:51:50 +0000 (00:51 +0000)]
* linux-low.c (linux_attach_lwp): Do not _exit after errors.
(linux_kill, linux_detach): Clean up the process list.
* remote-utils.c (remote_open): Improve port number parsing.
(putpkt_binary, input_interrupt): Only send interrupts if the target
is running.
* server.c (extended_protocol): Make static.
(attached): Define earlier.
(exit_requested, response_needed, program_argv): New variables.
(target_running): New.
(start_inferior): Clear attached here.
(attach_inferior): Set attached here.
(require_running): Define.
(handle_query): Use require_running and target_running.  Implement
"monitor exit".
(handle_v_attach, handle_v_run): New.
(handle_v_requests): Use require_running.  Handle vAttach and vRun.
(gdbserver_usage): Update.
(main): Redo argument parsing.  Handle --debug and --multi.  Handle
--attach along with other options or after the port.  Save
program_argv.  Support no initial program.  Resynchronize
communication with GDB after an error.  Handle "monitor exit".
Use require_running and target_running.  Always allow the extended
protocol.  Do not error out for Hc0 or Hc-1.  Do not automatically
restart in extended mode.
* README: Refer to the GDB manual.  Update --attach usage.

* remote.c (struct remote_state): Add cached_wait_status.
(remote_exec_file): New variable.
(PACKET_vAttach, PACKET_vRun): New constants.
(extended_remote_restart): Do not query for status.
(struct start_remote_args): New.
(remote_start_remote): Take it as a second argument.  Check
whether the target is running.  Issue an error for non-running
non-extended targets.  Cache the wait status.  Set inferior_ptid
here.
(remote_open_1): Prompt to disconnect non-running targets.  Make
sure the target is marked running.  Do not set inferior_ptid here.
Update call to remote_start_remote.  Do not call remote_check_symbols
if the target is not running.
(remote_detach_1): Rename from remote_detach.  Take an EXTENDED
argument.  Handle a non-running target.
(remote_detach): Use it.
(extended_remote_detach): New.
(remote_disconnect): Fix typo.  Use remoute_mourn_1.
(extended_remote_attach_1, extended_remote_attach)
(extended_async_remote_attach): New.
(remote_vcont_resume): Remove unused variable.
(remote_wait, remote_async_wait): Use any cached wait status.
(putpkt_binary, getpkt): Clear any cached wait status.
(extended_remoute_mourn_1): New.
(extended_remote_mourn): Use it.
(extended_async_remote_mourn, extended_remote_run): New.
(extended_remote_create_inferior_1): New.
(extended_remote_create_inferior): Use it.
(extended_remote_async_create_inferior): Likewise.
(remote_xfer_partial): Skip for non-executing targets.
(init_extended_remote_ops): Set to_detach and to_attach.
(init_extended_async_remote_ops): Likewise.  Use
extended_async_remote_mourn.
(_initialize_remote): Register vAttach, vRun, and
set remote exec-file.
* NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.

* gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
gdb.server/ext-run.exp: New files.
* lib/gdbserver-support.exp (gdbserver_download): New.
(gdbserver_start): New.  Update gdbserver expected
output.
(gdbserver_spawn): Use them.
(gdbserver_start_extended): New.

* gdb.texinfo (Using the `gdbserver' Program): Add security
warning.  Rearrange into subsections and subsubsections.  Document
--multi and --debug.  Correct --with-sysroot typo.  Update --attach
usage.  Make load reference clearer.  Document monitor exit.
(Remote Configuration): Document set remote exec-file, attach-packet,
and run-packet.
(Packets): Document vAttach and vRun.

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

16 years ago(Processes): Mention process command.
Nick Roberts [Tue, 29 Jan 2008 23:29:29 +0000 (23:29 +0000)]
(Processes): Mention process command.
detach-on-follow -> detach-on-fork.

16 years ago*** empty log message ***
Nick Roberts [Tue, 29 Jan 2008 23:28:51 +0000 (23:28 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 29 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * Makefile.in (symfile.o): Update.
Daniel Jacobowitz [Tue, 29 Jan 2008 22:47:20 +0000 (22:47 +0000)]
* Makefile.in (symfile.o): Update.
* NEWS: Mention exec tracing support.
* inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
exec events.
* infcmd.c (kill_if_already_running, detach_command)
(disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
* infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
(follow_exec): Do not check may_follow_exec.  Do not mourn and push
targets.  Apply the sysroot path to the loaded executable.  Use
no_shared_libraries.
* linux-nat.c (linux_child_follow_fork): Print fork following
messages if verbose.
(kill_wait_callback): Kill again before waiting a second time.
* symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
no_shared_libraries.

* gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
Run on GNU/Linux.
(do_exec_tests): Check for systems which do not support catchpoints.
Do not match START.
* gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
Run on GNU/Linux.  Enable verbose output.
(check_fork_catchpoints): New.
(explicit_fork_child_follow, catch_fork_child_follow)
(tcatch_fork_parent_follow): Update expected messages.
(do_fork_tests): Use check_fork_catchpoints.
* gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
Run on GNU/Linux.  Enable verbose output.
(check_vfork_catchpoints): New.
(vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
expected messages.
(do_vfork_and_exec_tests): Use check_fork_catchpoints.

16 years ago * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
Joel Brobecker [Tue, 29 Jan 2008 21:27:19 +0000 (21:27 +0000)]
    * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.

16 years ago * nto-tdep.h: Remove #include "defs.h".
Joel Brobecker [Tue, 29 Jan 2008 21:26:04 +0000 (21:26 +0000)]
    * nto-tdep.h: Remove #include "defs.h".
        * nto-tdep.c: Add #include "defs.h".
        * Makefile.in (nto_tdep_h): Update dependencies.
        (nto-tdep.o): Likewise.

16 years agoFix date of last entry.
Joel Brobecker [Tue, 29 Jan 2008 21:23:03 +0000 (21:23 +0000)]
Fix date of last entry.