Nick Roberts
d8c83789e9
* mi/mi-main.c: Include <sys/resource.h> if present.
...
(rusage): Declare if HAVE_GETRUSAGE.
(current_command_ts, do_timings): New static variables.
(timestamp, print_diff_now, print_diff, timeval_diff):
New static timing functions.
(mi_cmd_enable_timings): New function for new MI command.
(captured_mi_execute_command, mi_execute_async_cli_command):
Call timing functions.
* mi/mi-cmds.c (mi_cmds): Add entry for new MI command
-enable-timings.
* mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
* mi/mi-parse.h: (mi_timestamp): New structure.
(mi_parse): Add mi_timestamp* member.
2007-02-02 23:01:27 +00:00
Alan Modra
24325aea77
daily update
2007-02-02 23:00:07 +00:00
Nick Roberts
7eb368b352
* configure.ac: Test for sys/resource.h and getrusage.
...
* configure, config.in: Regenerate.
2007-02-02 22:55:54 +00:00
H.J. Lu
c4f5c3d74c
2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
...
* avr-dis.c (avr_operand): Correct PR number in comment.
2007-02-02 22:54:50 +00:00
Nick Roberts
cd3756991a
*** empty log message ***
2007-02-02 22:52:06 +00:00
H.J. Lu
fc523535b3
Fix typos in year.
2007-02-02 22:15:52 +00:00
Bob Wilson
bc447904f7
* config/xtensa-relax.c (build_transition): Remove code after as_fatal.
...
(build_transition_table): Likewise.
2007-02-02 22:08:36 +00:00
Jakub Jelinek
c15f73f931
* elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
...
* elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
(struct elf_symbol): Change first member into union.
(elf_sort_elf_symbol): Compare pointers to internal syms rather than
internal syms. Only compare st_shndx fields.
(elf_create_symbuf): New function.
(bfd_elf_match_symbols_in_sections): Use it. If symbufs are available
for bfds, use a binary search, otherwise don't qsort symbols
unnecessarily only to select which symbols are for the particular
shndx.
2007-02-02 21:10:50 +00:00
Eli Zaretskii
f4b3909f86
* gdbint.texinfo (Operation System ABI Variant Handling): Update
...
descriptions for new/deleted elements in gdb_osabi. Add missing
description for function generic_elf_osabi_sniff_abi_tag_sections.
2007-02-02 19:48:50 +00:00
H.J. Lu
bffa52b3f7
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
...
* MAINTAINERS: Add a space between H.J. and Lu.
2007-02-02 17:16:08 +00:00
H.J. Lu
f59a29b99f
binutils/
...
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
* doc/binutils.texi (objdump): Document the new addr64 option
for i386 disassembler.
include/
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
* dis-asm.h (print_i386_disassembler_options): New.
opcodes/
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
* disassemble.c (disassembler_usage): Call
print_i386_disassembler_options for i386 disassembler.
* i386-dis.c (print_i386_disassembler_options): New.
(print_insn): Support the new addr64 option.
2007-02-02 15:27:04 +00:00
H.J. Lu
7aad4c3d67
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
...
PR binutils/3945
* configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
target.
(DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
* configure: Regenerated.
* dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
2007-02-02 13:59:54 +00:00
Nick Clifton
7e017ce0b3
PR gas/3812
...
* gas/v850/v850e1.d: Correct expected disassembly of cmov insn to account for sign extension.
2007-02-02 13:10:59 +00:00
Nick Clifton
e5ce897020
* doc/binutils.texi (objdump): Document support for disassembling the 440 PowerPC architecture.
2007-02-02 12:43:35 +00:00
Denis Pilat
d701dcab23
2007-02-02 Denis Pilat <denis.pilat@st.com>
...
* gdb.threads/threadapply.exp: check that frame is not changed by
the thread apply all command.
2007-02-02 12:40:11 +00:00
Nick Clifton
64a3a6fcf9
* ppc-dis.c (powerpc_dialect): Handle ppc440.
...
* ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can be used.
2007-02-02 12:37:41 +00:00
Denis Pilat
99b3d57478
2007-02-02 Denis Pilat <denis.pilat@st.com>
...
* thread.c (make_cleanup_restore_current_thread): New function.
(info_threads_command): Use of make_cleanup_restore_current_thread
to restore the current thread and the selected frame.
(restore_selected_frame): New function.
(struct current_thread_cleanup): Add frame_id field.
(do_restore_current_thread_cleanup): Add restoring of the selected
frame.
(make_cleanup_restore_current_thread): Likewise.
(thread_apply_all_command): backup the selected frame while
entering the function and restore it at exit.
(thread_apply_command): Likewise.
2007-02-02 12:18:37 +00:00
Denis Pilat
d3c598de8e
2007-02-02 Denis Pilat <denis.pilat@st.com>
...
* MAINTAINERS (Write After Approval): Add myself to the list.
2007-02-02 10:09:38 +00:00
Alan Modra
ba4e851b3a
* ppc-opc.c (insert_bdm): -Many comment.
...
(valid_bo): Add "extract" param. Accept both powerpc and power4
BO fields when disassembling with -Many.
(insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
2007-02-02 01:24:43 +00:00
gdbadmin
efd37f3573
*** empty log message ***
2007-02-02 00:00:39 +00:00
Bob Wilson
63a7429b8b
* config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
...
fx_tcbit.
* config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
2007-02-01 23:54:59 +00:00
Alan Modra
900235cd31
daily update
2007-02-01 23:00:08 +00:00
Alan Modra
20ee54e817
* write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
...
(struct fix <fx_plt>): Rename to tcbit2.
* write.c (fix_new_internal): Adjust.
(TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-msp430.c (msp430_force_relocation_local): Likewise.
* config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
* config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
Instead, compare fx_r_type.
* config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
fx_tcbit in place of fx_plt.
* config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
* doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
to fx_plt.
2007-02-01 14:12:20 +00:00
Nick Clifton
effdf42a7b
PR ld/3852
...
* elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields in the
elf_link_hash_table structure.
2007-02-01 09:03:25 +00:00
Alan Modra
183e98bed2
* elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
...
* elfxx-target.h (elf_backend_write_core_note): Define and use.
* elf.c (elfcore_write_prpsinfo): Call the above. Add support for
32-bit core note on 64-bit target.
(elfcore_write_prstatus): Likewise.
(elfcore_write_lwpstatus): Make note_name const.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
target.
* elf32-ppc.c (ppc_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.
* elf64-ppc.c (ppc64_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.
2007-02-01 05:35:58 +00:00
Alan Modra
b25b09cb7e
* ld-scripts/default-script.exp: Add "--local-store 0:0" to
...
LDFLAGS for spu.
2007-02-01 05:12:11 +00:00
Kazuhiro Inaoka
3e41d55fb4
2006-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
...
* gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
(m32r_store_register): Ditto.
2007-02-01 05:05:10 +00:00
gdbadmin
bd3ebfefd2
*** empty log message ***
2007-02-01 00:00:32 +00:00
Alan Modra
4675b29460
daily update
2007-01-31 23:00:07 +00:00
Andreas Schwab
b2edfdd264
* Makefile.tpl (LDFLAGS): Substitute it.
...
* Makefile.in: Regenerate.
2007-01-31 22:23:37 +00:00
DJ Delorie
6dd7f013b4
merge from gcc
2007-01-31 20:25:23 +00:00
Andreas Schwab
6d9c3a8703
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
2007-01-31 19:32:12 +00:00
Vladimir Prus
53d7966f2a
include/
...
* libiberty.h (PEX_STDERR_TO_PIPE): New define.
(PEX_BINARY_ERROR): New define.
(pex_read_err): New function.
libiberty/
* pex-common.h (struct pex_obj): New fields
stderr_pipe and read_err.
* pex-common.c (pex_init_common): Initialize
stderr_pipe.
(pex_run_in_environment): Add error checking
for PEX_STDERR_TO_PIPE. Create a pipe
for stderr if necessary.
(pex_read_err): New.
(pex_free): Close read_err.
* pexecute.txh: Document changes.
* functions.texi: Regenerated.
2007-01-31 18:49:42 +00:00
Andreas Schwab
3c50d7b90e
* gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
...
in the dwarf sections.
* gdb.dwarf2/mac-fileno.S: Likewise.
2007-01-31 16:43:00 +00:00
Andreas Schwab
783e3e2f8e
* gdb.base/callfuncs.exp (do_get_all_registers): Filter out
...
bspstore register on ia64.
2007-01-31 15:37:49 +00:00
H.J. Lu
16cecee58c
2076-01-31 H.J. Lu <hongjiu.lu@intel.com>
...
* elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
(elf32_bed): Defined for elf32-us-cris.
* elf64-sh64.c (elf64_bed): Defined for Linux.
(INCLUDED_TARGET_FILE): Removed.
* elfxx-target.h (elfNN_bed): Always define. Don't check
INCLUDED_TARGET_FILE.
2007-01-31 14:28:03 +00:00
Nathan Sidwell
460c89ff01
* dwarf.c (process_debug_info): Protect against bogus length and
...
abbrev offsets.
2007-01-31 08:42:45 +00:00
DJ Delorie
c9b57b7eb8
* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
...
message for dangerous relocs, special case the common user error.
2007-01-31 06:11:48 +00:00
gdbadmin
9d46b7956a
*** empty log message ***
2007-01-31 00:00:02 +00:00
DJ Delorie
208c16740c
merge from gcc
2007-01-30 23:16:58 +00:00
Ben Elliston
71f2e6f41f
* strsignal.c (psignal): Change type of signo to int.
...
* functions.texi: Regenerate.
2007-01-30 23:13:04 +00:00
Alan Modra
33738e41d9
daily update
2007-01-30 23:00:07 +00:00
H.J. Lu
53020534c8
2007-01-30 H.J. Lu <hongjiu.lu@intel.com>
...
* elf.c (copy_elf_program_header): Start from the first section
in a segment and stop when all sections in a segment are
accounted for.
2007-01-30 15:47:19 +00:00
Nick Clifton
bf083c64df
* as.c (main): Mark symbols created via the --defsym command line
...
option as volatile so that they can be overridden later on by a
.set directive. This maintains compatibility with the behaviour
of earlier versions of the assembler.
* doc/as.texinfo (--defsym): Document that the defined symbol's
value can be overridden via a .set directive.
2007-01-30 14:44:36 +00:00
Vladimir Prus
ef7723ebe7
* ser-mingw.c (pipe_windows_open)
...
(pipe_windows_read, pipe_windows_write): Declare
variables at the top of the function.
2007-01-30 09:12:43 +00:00
gdbadmin
9a3372409b
*** empty log message ***
2007-01-30 00:00:02 +00:00
Alan Modra
758dc83b9a
daily update
2007-01-29 23:00:10 +00:00
Andreas Schwab
cc8e9b1294
* gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
...
"frame-begin" annotation.
2007-01-29 19:09:47 +00:00
Andreas Schwab
78ff580ec9
* gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
...
number of "frames-invalid" annotations.
2007-01-29 18:58:24 +00:00
Daniel Jacobowitz
8da61cc40a
* doublest.c (floatformat_from_length): Use the right element from
...
gdbarch floatformats.
(floatformat_from_type, extract_typed_floating)
(store_typed_floating): Likewise.
* doublest.h: Remove declarations for undefined floatformat arrays.
* gdbarch.sh (float_format, double_format, long_double_format): Change
to pairs.
(pformat): Update for pairs.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
(floatformats_ieee_double_littlebyte_bigword)
(floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
(floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
(floatformats_vax_d): New variables.
(builtin_type_ieee_single, builtin_type_ieee_double)
(builtin_type_arm_ext, builtin_type_ia64_spill)
(builtin_type_ia64_quad): Replace arrays with individual types.
(builtin_type_ieee_single_big, builtin_type_ieee_single_little)
(builtin_type_ieee_double_big, builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
(builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
(builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
unused and endian-specific types.
(recursive_dump_type): Update for floatformat pairs.
(build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
(build_gdbtypes): Use build_flt.
(_initialize_gdbtypes): Update set of initialized types.
* gdbtypes.h: Update declarations to match gdbtypes.c.
(struct main_type): Store a pointer to two floatformats.
* arch-utils.c (default_float_format, default_double_format): Delete.
* arch-utils.h (default_float_format, default_double_format): Delete.
* arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
2007-01-29 17:31:06 +00:00