OSDN Git Service
brobecke [Thu, 10 Sep 2009 18:57:15 +0000 (18:57 +0000)]
Add documentation for set/show interactive-mode.
* gdb.texinfo (Other Misc Settings): New node.
brobecke [Thu, 10 Sep 2009 18:56:45 +0000 (18:56 +0000)]
* top.c (interactive_mode): New static variable.
(show_interactive_mode): New function.
(input_from_terminal_p): If interactive_mode is not auto, then
use that rather than checking the stdin settings.
(init_main): Add "set/show interactive-mode" command.
* NEWS: Add entry for new "set/show interactive-mode" command.
amodra [Thu, 10 Sep 2009 14:31:21 +0000 (14:31 +0000)]
gas/
* config/tc-d10v.c: Include dwarf2dbg.h.
(write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
(d10v_frob_label): New function.
* config/tc-d10v.h (d10v_frob_label): Declare.
(tc_frob_label): Define as d10v_frob_label.
gas/testsuite/
* gas/lns/lns-common-1.s: Use two nops between each .loc.
* gas/lns/lns.exp: Don't exclude d10v.
amodra [Thu, 10 Sep 2009 14:05:39 +0000 (14:05 +0000)]
* config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
* config/tc-frv.c (frv_frob_label): Likewise.
nickc [Thu, 10 Sep 2009 13:40:44 +0000 (13:40 +0000)]
Updated soruces in binutils/* to compile cleanly with -Wc++-compat.
* binutils/addr2line.c (slurp_symtab): Fix casts. Introduce
variable minisyms to avoid aliasing varning.
* binutils/ar.c: Add casts. (normalize): Use name del instead of
delete. (display_target_list,display_info_table): Change loop
counter variable a to int.
* binutils/bucomm.c: Add casts.
* binutils/debug.c: Update function to use new names. (struct
debug_baseclass): Rename member from virtual to
is_virtual. (struct debug_type_s,struct debug_field_s,struct
debug_baseclass_s,struct debug_method_s,struct
debug_method_variant_s,struct debug_type_s): Rename struct from
avoid name collision.
* /binutils/debug.h: Use new struct names.
* binutils/dwarf.c: Add casts. (free_debug_memory): Change loop
counter variable a to int.
* binutils/ieee.c: Add casts. (enum ieee_var_kind): Move to top
level. (ieee_class_baseclass): Rename parameter virtual to
is_virtual. (ieee_class_method_var): Rename variable virtual to
is_virtual.
* binutils/nm.c: Add casts.
* binutils/objcopy.c: Add casts. (copy_archive): Rename variable
delete to del.
* binutils/objdump.c: Add casts. (dump_dwarf_section): Change loop
counter variable i to int.
* binutils/prdbg.c: Add
casts. (pr_class_baseclass,tg_class_baseclass): Rename parameters
virtual to is_virtual.
* binutils/readelf.c: Add casts. (struct
ia64_unw_table_entry,struct hppa_unw_table_entry): Move to top
level.
* binutils/size.c: Add casts.
* binutils/stabs.c (parse_stab_type, parse_stab_range_type)
(parse_stab_cpp_abbrev): Rename parameter from typename to
type_name. (parse_stab_baseclasses): Rename variable virtual to
is_virtual.
* binutils/strings.c: Add casts.
* binutils/wrstabs.c (stab_class_baseclass): Rename parameter
virtual to is_virtual.
krebbel [Thu, 10 Sep 2009 09:04:06 +0000 (09:04 +0000)]
2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* s390-dis.c (print_insn_s390): Avoid 'long long'.
krebbel [Thu, 10 Sep 2009 08:47:20 +0000 (08:47 +0000)]
2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
(print_insn_s390): Signextend and shift pcrel operands before printing.
devans [Thu, 10 Sep 2009 08:07:04 +0000 (08:07 +0000)]
* insn.scm (/parse-insn-format): Improve error message for missing or
too many bits.
devans [Thu, 10 Sep 2009 07:23:28 +0000 (07:23 +0000)]
* insn.scm (/parse-insn-format): New arg `verify?', all callers updated.
(/insn-parse): Don't verify iformat for virtual insns.
* sid-decode.scm (cgen-decode.cxx): Remove redundant call to
non-multi-insns.
* sid-model.scm (/gen-model-insn-fn-decls): Ditto.
(/gen-model-insn-fns, /gen-model-class-decls): Ditto.
* sid.scm (pbb-engine-insns): Ditto.
* sim-decode.scm (cgen-decode.c): Ditto.
devans [Thu, 10 Sep 2009 06:23:23 +0000 (06:23 +0000)]
* rtl-traverse.scm: Comment tweaks.
* rtl-xform.scm: Comment and reformatting tweaks.
* doc/rtl.texi: Add text to docs on ifield-assertions.
brobecke [Thu, 10 Sep 2009 03:59:36 +0000 (03:59 +0000)]
* configure.ac: Fix the names of the python source and object files
following the renaming done in an earlier change.
* configure: Regenerate.
devans [Thu, 10 Sep 2009 00:10:58 +0000 (00:10 +0000)]
tweak ifield-assertion text
devans [Thu, 10 Sep 2009 00:00:50 +0000 (00:00 +0000)]
tweak ifield-assertion text
amodra [Thu, 10 Sep 2009 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 10 Sep 2009 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
devans [Wed, 9 Sep 2009 23:56:15 +0000 (23:56 +0000)]
* rtl.texi: Add text to docs on ifield-assertions.
kkojima [Wed, 9 Sep 2009 23:17:33 +0000 (23:17 +0000)]
* gas/sh/sh64/syntax-1.s: Regenerate.
devans [Wed, 9 Sep 2009 23:07:38 +0000 (23:07 +0000)]
Move "Interactive development" up a level.
Expand on the .splice example.
devans [Wed, 9 Sep 2009 22:21:29 +0000 (22:21 +0000)]
* insn.scm (/insn-parse): Canonicalize the ifield-assertion before
saving.
devans [Wed, 9 Sep 2009 22:21:11 +0000 (22:21 +0000)]
tweak error message
devans [Wed, 9 Sep 2009 21:59:51 +0000 (21:59 +0000)]
tweak
nickc [Wed, 9 Sep 2009 21:38:56 +0000 (21:38 +0000)]
Updated soruces in bfd/* to compile cleanly with -Wc++-compat.
* bfd/aoutx.h: Add casts.
* bfd/archive.c: Add casts.
* bfd/archive64.c: Add casts.
* bfd/archures.c: Add casts.
* bfd/bfd-in2.h: Regenerated.
* bfd/bfd.c: Add casts. (enum bfd_direction): Move out to top
level.
* bfd/bfdio.c: Add casts.
* bfd/binary.c: Add casts.
* bfd/cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated
parameter to use enum value instead of int.
* bfd/coffcode.h: Add casts.
* bfd/coffgen.c: Add casts.
* bfd/cofflink.c: Add casts.
* bfd/compress.c: Add casts.
* bfd/dwarf1.c: Add casts.
* bfd/dwarf2.c: Add casts. (struct dwarf2_debug): Rename member
bfd to bfd_ptr. Update code to use new name.
* bfd/elf-attrs.c: Add casts.
* bfd/elf-bfd.h (elf_link_virtual_table_entry): Gives name to
anonymous struct. (union gotplt_union, struct
elf_link_virtual_table_entry): Move to top level.
* bfd/elf-eh-frame.c: Add casts.
* bfd/elf-strtab.c: Add casts.
* bfd/elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change
argument name from typename to type_name.
* bfd/elf32-i386.c: Add casts.
* bfd/elf64-x86-64.c: Add casts.
* bfd/elfcode.h: Add casts.
* bfd/elfcore.h: Add casts.
* bfd/elflink.c: Add casts.
* bfd/format.c: Add casts.
* bfd/hash.c: Add casts.
* bfd/ihex.c: Add casts.
* bfd/libaout.h (enum aout_subformat, enum aout_magic): Move to
top level.
* bfd/libbfd.c: Add casts.
* bfd/linker.c: Add casts.
* bfd/merge.c: Add casts.
* bfd/opncls.c: Add casts.
* bfd/peXXigen.c: Add casts.
* bfd/peicode.h: Add casts.
* bfd/reloc.c: Add casts.
* bfd/section.c: Add casts.
* bfd/simple.c: Add casts.
* bfd/srec.c: Add casts.
* bfd/stabs.c: Add casts.
* bfd/syms.c: Add casts.
* bfd/targets.c: Add casts.
* bfd/tekhex.c: Add casts.
* bfd/verilog.c: Add casts.
* include/bfdlink.h (struct bfd_link_hash_common_entry): Move to
top level.
devans [Wed, 9 Sep 2009 21:01:39 +0000 (21:01 +0000)]
(/parse-insn-format): Tweak error message.
devans [Wed, 9 Sep 2009 20:49:49 +0000 (20:49 +0000)]
* doc/porting.texi: Document #:trace, #:diag options to cload.
devans [Wed, 9 Sep 2009 20:43:04 +0000 (20:43 +0000)]
Add support for controlling warnings/errors.
Add tests for iformat description errors.
* dev.scm (cload): New option #:diag.
* read.scm (<reader>): New member verify-iformat?.
(/parse-diagnostic, parse-warning): New functions.
(parse-error): Guts moved to /parse-diagnostic.
(/set-diagnostic-options!): New function.
(cpu-load): New arg diagnostic-options, all callers updated.
Recognize -w diagnostic-option-list.
* ifield.scm (ifields-base-ifields): Move here from iformat.scm.
(ifld-simple-ifields, ifields-simple-ifields): New function.
* insn.scm (/parse-insn-format-iflds): New function.
(/parse-insn-format): Guts moved to /parse-insn-format-iflds.
New arg isa, all callers updated. Do some basic validation of the
ifield list if requested.
* mach.scm (/sanity-check-insns): Improve error message text.
* doc/running.text: Document -w option.
* ifield.scm (/multi-ifield-parse): Initialize bitrange.
dj [Wed, 9 Sep 2009 20:25:35 +0000 (20:25 +0000)]
merge from gcc
bonzini [Wed, 9 Sep 2009 19:46:39 +0000 (19:46 +0000)]
config:
2009-09-09 Paolo Bonzini <bonzini@gnu.org>
* stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in
the previous two patches.
bfd:
2009-09-09 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
drow [Wed, 9 Sep 2009 18:36:09 +0000 (18:36 +0000)]
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags
for the mode of target PLT entries.
(allocate_dynrelocs): Only adjust symbol type if setting its
value.
ld/testsuite/
* ld-arm/farcall-mixed-lib.d: Update.
brobecke [Wed, 9 Sep 2009 17:59:18 +0000 (17:59 +0000)]
Fix a build failure on AIX.
* rs6000-nat.c (vmap_exec): Rewrite using target_get_section_table
instead of relying on the to_sections/to_section_end target_ops
field, since the latter have been removed in a previous patch.
brobecke [Wed, 9 Sep 2009 17:45:39 +0000 (17:45 +0000)]
Checking in this patch for Thiago: Rename python-* files into py-*,
more 8+3 friendly.
gdb/
* Makefile.in (py-cmd.o): Renamed from python-cmd.o. Updated
references.
(py-frame.o): Renamed from python-frame.o. Updated references.
(py-function.o): Renamed from python-function.o. Updated references.
(py-objfile.o): Renamed from python-objfile.o. Updated references.
(py-prettyprint.o): Renamed from python-prettyprint.o. Updated
+references.
(py-type.o): Renamed from python-type.o. Updated references.
(py-utils.o): Renamed from python-utils.o. Updated references.
(py-value.o): Renamed from python-value.o. Updated references.
* py-cmd.o: Renamed from python-cmd.o.
* py-frame.o: Renamed from python-frame.o.
* py-function.o: Renamed from python-function.o.
* py-objfile.o: Renamed from python-objfile.o.
* py-prettyprint.o: Renamed from python-prettyprint.o.
* py-type.o: Renamed from python-type.o.
* py-utils.o: Renamed from python-utils.o.
* py-value.o: Renamed from python-value.o.
gdb/testsuite/
* gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
names, add missing ones.
* gdb.python/py-cmd.exp: Rename from python-cmd.exp.
* gdb.python/py-frame.c: Rename from python-frame.c.
* gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
testfile name.
* gdb.python/py-function.exp: Rename from python-function.exp.
* gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
testfile name.
* gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
* gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
Adjust testfile name.
* gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
* gdb.python/py-template.cc: Rename from python-template.cc.
* gdb.python/py-template.exp: Rename from python-template.exp.
Adjust testfile name.
* gdb.python/py-value.c: Rename from python-value.c.
* gdb.python/py-value.exp: Rename from python-value.exp. Adjust
testfile name.
brobecke [Wed, 9 Sep 2009 17:39:20 +0000 (17:39 +0000)]
Avoid quadratic behavior when computing the value of a register.
* frame.c (frame_stash): New static constant.
(frame_stash_add, frame_stash_find, frame_stash_invalidate):
New functions.
(get_frame_id): Minor reformatting. Add the frame to the frame stash.
(frame_find_by_id): Search the frame stash first before walking all
frames starting from te current_frame.
(reinit_frame_stash): Add call to frame_stash_invalidate ();
hjl [Wed, 9 Sep 2009 17:25:30 +0000 (17:25 +0000)]
2009-09-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
VEX_LEN_AE_R_X_M_0 in comments.
brobecke [Wed, 9 Sep 2009 17:23:54 +0000 (17:23 +0000)]
* block.c (contained_in): Return zero for nested functions.
* blockframe.c (block_innermost_frame): Delete unreferenced local
variable.
devans [Wed, 9 Sep 2009 17:20:53 +0000 (17:20 +0000)]
(<ifield> pretty-print): Fix typo.
dj [Wed, 9 Sep 2009 17:08:23 +0000 (17:08 +0000)]
merge from gcc
devans [Wed, 9 Sep 2009 17:06:19 +0000 (17:06 +0000)]
* dev.scm (*): Change default verbosity level to 2.
* ifield.scm (<ifield> pretty-print): New method.
(ifld-pretty-print): New function.
(<multi-ifield> pretty-print): New method.
* ifield.scm (<ifield> field-start): Delete word-len arg.
All callers updated.
(ifld-start): Ditto.
(<multi-ifield> field-start): Ditto.
* operand.scm (<hw-index> field-start): Ditto.
bonzini [Wed, 9 Sep 2009 17:05:42 +0000 (17:05 +0000)]
config:
2009-09-09 Paolo Bonzini <bonzini@gnu.org>
* stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H.
bfd:
2009-09-09 Paolo Bonzini <bonzini@gnu.org>
* configure: Regnerate.
nickc [Wed, 9 Sep 2009 15:03:51 +0000 (15:03 +0000)]
PR 10478:
* elf.c (bfd_section_from_shdr): Do not reject sparc binaries with
section headers containing sh_link values of SHN_BEFORE or
SHN_AFTER.
* elfcode.h (elf_object_p): Likewise.
readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
SHF_ORDERED.
(process_section_headers): Warn about out of range sh_link
values. When displaying detailed section header information
annote the SHN_BEFORE and SHN_AFTER values.
gingold [Wed, 9 Sep 2009 14:58:11 +0000 (14:58 +0000)]
2009-09-09 Tristan Gingold <gingold@adacore.com>
Handle DYLD_INFO introduced by Darwin10.
* mach-o.h (bfd_mach_o_load_command_type): Add
BFD_MACH_O_LC_DYLD_INFO.
(bfd_mach_o_dyld_info_command): New type.
(bfd_mach_o_load_command): Add dyld_info field.
* mach-o.c (bfd_mach_o_scan_read_str): Reduce size of buf.
(bfd_mach_o_scan_read_dyld_info): New function.
(bfd_mach_o_scan_read_command): Handle BFD_MACH_O_LC_DYLD_INFO.
(bfd_mach_o_bfd_print_private_bfd_data): Ditto.
(bfd_mach_o_load_command_name): AddB FD_MACH_O_LC_DYLD_INFO.
(bfd_mach_o_print_dyld_info): New function.
amodra [Wed, 9 Sep 2009 13:19:51 +0000 (13:19 +0000)]
* config/obj-coff.h (USE_UNIQUE): Don't define.
* config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
* symbols.c (an_external_name): Define when TE_PE.
(S_SET_EXTERNAL): Assign an_external_name when TE_PE.
* tc.h (an_external_name): Declare when TE_PE.
amodra [Wed, 9 Sep 2009 12:13:41 +0000 (12:13 +0000)]
* ld-elf/sec64k.exp: For frv-linux use "aw" sections.
* ld-elf/seg.d: Cater for GNU_STACK segment.
* ld-elf/symbol1ref.s: Use data section.
* ld-elf/symbol2ref.s: Likewise.
* ld-scripts/empty-address-1.d: Don't run on frv-linux.
* ld-scripts/empty-address-2a.d: Likewise.
* ld-scripts/empty-address-2b.d: Likewise.
* ld-scripts/empty-aligned.d: Likewise.
* ld-elf/extract-symbol-1sym.d: Tolerate extra target supplied syms.
* ld-scripts/sort_b_a-1.d: Likewise.
* ld-scripts/sort_b_a.d: Likewise.
* ld-scripts/sort_b_a_a-1.d: Likewise.
* ld-scripts/sort_b_a_a-2.d: Likewise.
* ld-scripts/sort_b_a_a-3.d: Likewise.
* ld-scripts/sort_b_a_n-1.d: Likewise.
* ld-scripts/sort_b_a_n-2.d: Likewise.
* ld-scripts/sort_b_a_n-3.d: Likewise.
* ld-scripts/sort_b_n-1.d: Likewise.
* ld-scripts/sort_b_n.d: Likewise.
* ld-scripts/sort_b_n_a-1.d: Likewise.
* ld-scripts/sort_b_n_a-2.d: Likewise.
* ld-scripts/sort_b_n_a-3.d: Likewise.
* ld-scripts/sort_b_n_n-1.d: Likewise.
* ld-scripts/sort_b_n_n-2.d: Likewise.
* ld-scripts/sort_b_n_n-3.d: Likewise.
* ld-scripts/sort_no-1.d: Likewise.
* ld-scripts/sort_no-2.d: Likewise.
amodra [Wed, 9 Sep 2009 11:59:14 +0000 (11:59 +0000)]
Only provide ENTRY on final link.
amodra [Wed, 9 Sep 2009 09:31:15 +0000 (09:31 +0000)]
* config/tc-i386.c (i386_target_format): Avoid duplicate case label.
devans [Wed, 9 Sep 2009 08:00:15 +0000 (08:00 +0000)]
* ifield.scm (ifld-beyond-base?): Remove args base-bitsize,
total-bitsize. All callers updated.
* insn.scm (<insn>): Rename member ifld-values to /insn-value.
New member /insn-base-value.
(insn-base-value): New function.
* mach.scm (/sanity-check-insns): New function.
(arch-analyze-insns!): Call it.
swami [Wed, 9 Sep 2009 04:49:08 +0000 (04:49 +0000)]
2009-09-09 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the
linkonce or linker script discarded section.
devans [Wed, 9 Sep 2009 03:51:10 +0000 (03:51 +0000)]
* iformat.scm (ifields-base-ifields): Simplify.
(compute-insn-length): Simplify, call ifields-base-ifields.
(compute-insn-base-mask): Ditto.
* ifield.scm (ifld-known-values): Ditto.
(ifld-base-ifields): Ditto.
* insn.scm (insn-value): Ditto.
* pgmr-tools.scm (pgmr-pretty-print-insn-format): Ditto.
amodra [Wed, 9 Sep 2009 01:38:40 +0000 (01:38 +0000)]
* elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
amodra [Wed, 9 Sep 2009 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 9 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
devans [Tue, 8 Sep 2009 23:52:44 +0000 (23:52 +0000)]
* target.c (initialize_targets): Fix thinko in stack_cache_enabled_p.
dj [Tue, 8 Sep 2009 23:51:10 +0000 (23:51 +0000)]
* cpu/mep.opc (mep_cgen_insn_supported_asm): Change the test to a
preprocessor macro, not an enum.
msnyder [Tue, 8 Sep 2009 22:50:57 +0000 (22:50 +0000)]
2009-09-08 Michael Snyder <msnyder@vmware.com>
* amd64-linux-tdep.h (enum amd64_syscall): New enum consts,
to replace literal consts used in amd64-linux-tdep.c
* linux-record.h (enum gdb_syscall): New enum consts, to replace
literal consts used in amd64-linux-tdep.c and linux-record.c.
* amd64-linux-tdep.c (amd64_canonicalize_syscall): New function,
translate from native amd64 Linux syscall id to internal gdb id.
(amd64_linux_syscall_record): Switch statement abstracted out
and replaced with a call to amd64_canonicalize_syscall.
* linux-record.c (record_linux_system_call): Replace literal
consts with enum consts.
* i386-linux-tdep.c (i386_canonicalize_syscall): New function,
trivially translate from native i386 Linux syscalls to gdb syscalls.
(i386_linux_intx80_sysenter_record):
ccoutant [Tue, 8 Sep 2009 22:32:50 +0000 (22:32 +0000)]
* output.cc (Output_file::open): Add execute permission to empty file.
* testsuite/Makefile.am (permission_test): New test.
* testsuite/Makefile.in: Regenerate.
jjohnstn [Tue, 8 Sep 2009 21:22:05 +0000 (21:22 +0000)]
2009-09-08 Bernd Schmidt <bernd.schmidt@analog.com>
* bfin/include/ccblkfn.h: New file.
jjohnstn [Tue, 8 Sep 2009 21:20:12 +0000 (21:20 +0000)]
2009-09-08 Mike Frysinger <michael.frysinger@analog.com>
* bfin/include/sys/_adi_platform.h: Convert __ASSEMBLY__ to
__ASSEMBLER__.
* bfin/include/sys/pll.h: Likewise
jjohnstn [Tue, 8 Sep 2009 21:17:57 +0000 (21:17 +0000)]
2009-09-08 Jie Zhang <jie.zhang@analog.com>
* bfin/Makefile.in (basiccrt.o, basiccrts.o): Don't use
-mcpu=bf532-any for the default multilib.
rwild [Tue, 8 Sep 2009 18:50:39 +0000 (18:50 +0000)]
Fix parallel check//% rule in gdb for non-VPATH build.
gdb/:
* gdb/Makefile.in (check//%): Parse 'config.status --version'
output to recreate the configuration from the testsuite directory,
rather than running 'config.status --recheck' from a different
build directory. Let configure do the recursion rather than
doing it manually.
jkratoch [Tue, 8 Sep 2009 18:07:22 +0000 (18:07 +0000)]
gdb/
* ia64-tdep.c (ia64_memory_remove_breakpoint): Call do_cleanups
before a return.
rwild [Tue, 8 Sep 2009 17:55:49 +0000 (17:55 +0000)]
Fix toplevel config.status for HP-UX sed.
/:
* configure.ac: Do not use $extrasub for replacing @if/@endif
parts in Makefile; instead, use additional arguments to
AC_CONFIG_COMMANDS to do the replacement manually, with several
sed invocations, to avoid HP-UX sed command limits.
* configure: Regenerate.
jkratoch [Tue, 8 Sep 2009 17:52:26 +0000 (17:52 +0000)]
gdb/
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Return immediately if any of memory
reads fail. Do not combine the VAL values.
jkratoch [Tue, 8 Sep 2009 17:39:19 +0000 (17:39 +0000)]
gdb/
Fix ia64 shadowing of breakpoints in multiple slots of a single bundle.
* ia64-tdep.c (ia64_memory_insert_breakpoint): New call
of make_show_memory_breakpoints_cleanup with parameter 0. Move the
reading of SHADOW_CONTENTS to this memory state point of code. Update
comment for the memory re-read.
gdb/testsuite/
* gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
$bpt2address.
(Second breakpoint address is valid on ia64)
(Third breakpoint on ia64 in the Second breakpoint's bundle): New.
kkojima [Tue, 8 Sep 2009 12:31:31 +0000 (12:31 +0000)]
* configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
* gas/sh/basic.exp: Add -big to ASFLAGS for sh*l*-*-netbsdelf*.
amodra [Tue, 8 Sep 2009 10:37:58 +0000 (10:37 +0000)]
* gas/d30v/serial2.l: Adjust position of page break.
* gas/lns/lns-common-1-alt.d: Match 2009-04-24 change.
* gas/mt/ms1-16-003.d: Correct reloc name.
* gas/mt/relocs.d: Elide incorrect file format strings.
amodra [Tue, 8 Sep 2009 10:36:38 +0000 (10:36 +0000)]
* read.c (emit_expr_fix): Handle size 3.
* config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
* config/tc-d30v.c (write_long, write_1_short,
write_2_short, md_assemble): Likewise.
* config/tc-dlx.c (md_assemble): Likewise.
* config/tc-i860.c (md_assemble): Likewise.
* config/tc-mn10200.c (md_assemble): Likewise.
* config/tc-pj.c (md_assemble): Likewise.
* config/tc-vax.c (md_assemble): Likewise.
amodra [Tue, 8 Sep 2009 10:35:06 +0000 (10:35 +0000)]
* binutils-all/objdump.exp (cpus_expected): Add ms1.
amodra [Tue, 8 Sep 2009 10:34:27 +0000 (10:34 +0000)]
* dwarf.c (byte_get_little_endian): Handle size of 3.
(byte_get_big_endian): Likewise.
* readelf.c (byte_put_little_endian): Likewise.
(byte_put_big_endian): Likewise.
(is_24bit_abs_reloc): New function.
(is_none_reloc): Formatting.
(apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
reloc peculiarity.
swami [Tue, 8 Sep 2009 10:05:04 +0000 (10:05 +0000)]
2009-09-08 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* ld-elf/merge.d: xfail cr16-*-*.
schwab [Tue, 8 Sep 2009 09:47:51 +0000 (09:47 +0000)]
* z8kgen.c (struct op): Replace unused flavor with id.
(opt): Remove extra xorb entry.
(func): Use id field as fallback.
(sub): Return new string, caller changed.
(internal): Allocate end marker. Assign unique id before sorting.
(gas): Likewise. Fix loop end condition.
* z8k-opc.h: Regenerate.
amodra [Tue, 8 Sep 2009 09:00:47 +0000 (09:00 +0000)]
* ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
devans [Tue, 8 Sep 2009 07:26:50 +0000 (07:26 +0000)]
* rtl-c.scm (/rtl-c-get): Convert symbols to strings before passing
to string-append.
(*): Remove trailing ":" from error messages passed to estate-error.
devans [Tue, 8 Sep 2009 06:51:44 +0000 (06:51 +0000)]
* types.scm (<struct>): Delete.
* pmacros.scm (/pmacro-env-make): New argument `loc', all callers
updated.
(/pmacro-loc-error): New function.
* mach.scm (/isa-parse-decode-assist): New function.
(/isa-parse): Call it.
* decode.scm (/get-subopcode-value): New function.
(/opcode-slots): Call it.
(/fill-slot!): Add logging message.
devans [Tue, 8 Sep 2009 06:43:32 +0000 (06:43 +0000)]
* cos.scm (/object-error): Convert symbols to strings before passing
to string-append.
devans [Tue, 8 Sep 2009 06:41:16 +0000 (06:41 +0000)]
minor tweak
amodra [Tue, 8 Sep 2009 02:54:55 +0000 (02:54 +0000)]
* gas/all/gas.exp (do_comment): Don't run on m32c.
* gas/all/align.d: Likewise.
* gas/all/incbin.d: Likewise.
* gas/macros/semi.d: Likewise.
* gas/elf/ifunc-1.d: Don't run on alpha.
amodra [Tue, 8 Sep 2009 01:15:49 +0000 (01:15 +0000)]
* ld-elf/eh5.d: Don't run on hppa64. Allow non-pcrel encoding.
Skip extra CIEs emitted on embedded targets and adjust FDE
matches to suit.
msnyder [Tue, 8 Sep 2009 00:50:42 +0000 (00:50 +0000)]
2009-09-07 Michael Snyder <msnyder@vmware.com>
* record.c: Minor comment and white space fix-ups.
amodra [Tue, 8 Sep 2009 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 8 Sep 2009 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
devans [Mon, 7 Sep 2009 22:17:33 +0000 (22:17 +0000)]
* read.scm (rtl-version-equal?): New function.
(rtl-version-at-least?, rtl-version-older?): New functions.
* *.scm: Use / to prefix "local" vars/fns, for r6rs compliance.
* pmacros.scm (/pmacro-builtin-splice): Refer to $unsplice for
rtl versions >= 0.9.
(pmacros-init!): Tweak to prepare for $<pmacro> for builtin pmacros.
jkratoch [Mon, 7 Sep 2009 18:08:52 +0000 (18:08 +0000)]
binutils/
* readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
New.
jkratoch [Mon, 7 Sep 2009 18:07:02 +0000 (18:07 +0000)]
binutils/
* dwarf.c (process_debug_info): Support section padding abbrev codes.
binutils/testsuite/
* binutils-all/testranges.s (.debug_info): Pad the only CU.
jkratoch [Mon, 7 Sep 2009 18:02:59 +0000 (18:02 +0000)]
binutils/testsuite/
* binutils-all/testranges.s: Replace all .long by .4byte.
jkratoch [Mon, 7 Sep 2009 17:52:38 +0000 (17:52 +0000)]
gdb/
* m68k-tdep.c (m68k_gdbarch_init): Allocate TDEP as cleared.
* sparc-tdep.c (sparc32_gdbarch_init): Allocate TDEP as cleared.
Remove explicit clearing of TDEP fields.
dgutson [Mon, 7 Sep 2009 16:34:38 +0000 (16:34 +0000)]
9-09-07 Daniel Gutson <dgutson@codesourcery.com>
* config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
* doc/c-arm.texi: cortex-r4f CPU added.
schwab [Mon, 7 Sep 2009 16:29:34 +0000 (16:29 +0000)]
* elf32-m68k.c (rtype_to_howto): If the reloc index is out of
range call the bfd error hander and use R_68K_NONE instead.
amodra [Mon, 7 Sep 2009 13:01:35 +0000 (13:01 +0000)]
* z8kgen.c (func): Fix thinko last patch.
amodra [Mon, 7 Sep 2009 12:11:20 +0000 (12:11 +0000)]
* z8kgen.c (func): Stabilize qsort of identically named entries.
* z8k-opc.h: Regenerate.
gingold [Mon, 7 Sep 2009 11:29:54 +0000 (11:29 +0000)]
bfd
2009-09-07 Tristan Gingold <gingold@adacore.com>
* po/SRC-POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
binutils
2009-09-07 Tristan Gingold <gingold@adacore.com>
* po/binutils.pot: Regenerate.
gas
2009-09-07 Tristan Gingold <gingold@adacore.com>
* po/POTFILES.in: Regenerate.
* po/gas.pot: Regenerate.
gprof
2009-09-07 Tristan Gingold <gingold@adacore.com>
* po/gprof.pot: Regenerate.
ld
2009-09-07 Tristan Gingold <gingold@adacore.com>
* po/ld.pot: Regenerate.
opcodes
2009-09-07 Tristan Gingold <gingold@adacore.com>
* po/opcodes.pot: Regenerate.
teawater [Mon, 7 Sep 2009 11:09:33 +0000 (11:09 +0000)]
2009-09-06 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_record_check_override): Deleted.
(i386_record_lea_modrm): Ditto.
(i386_process_record): Ditto.
amodra [Mon, 7 Sep 2009 10:54:24 +0000 (10:54 +0000)]
* configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
* configure: Regenerate.
* Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
(BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
(i386-gen, ia64-gen, z8kgen): ..here.
* Makefile.in: Regenerate.
gingold [Mon, 7 Sep 2009 09:15:27 +0000 (09:15 +0000)]
bfd/:
2009-09-07 Tristan Gingold <gingold@adacore.com>
* bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
BFD_HAVE_SYS_STAT_TYPE_MEMBER): Moved to gas/acinclude.m4
* configure.in: Move tests for tm_gmtoff, st_mtim.tv_sec and
st_mtim.tv_nsec to gas/configure.in
(bfd_elf64_ia64_vms_vec): Remove vmsutil.lo
* configure: Regenerate.
* config.in: Regenerate.
* vmsutil.c: Moved to gas/config/te-vms.c
* vmsutil.h: Removed.
* Makefile.am (BFD32_BACKENDS_CFILES): Remove vmsutil.c
(BFD32_BACKENDS): Remove vmsutil.lo
* Makefile.in: Regenerate.
gas/:
2009-09-07 Tristan Gingold <gingold@adacore.com>
* Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
(POTFILES): Add $(TARG_ENV_CFILES) in definition.
(EXTRA_as_new_SOURCES): Ditto.
* Makefile: Regenerate.
* acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
* configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
sys/stat.h headers.
Add te-vms.o in extra_objects if te_file is vms.
* configure: Regenerate.
* config.in: Regenerate.
* config/te-vms.c: New file, from bfd/vmsutil.c
(vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
(vms_dwarf2_file_name): New functions.
(vms_file_stats_name): Make it static, add a dirname parameter to
locally create the full pathname.
* config/te-vms.h: Add a copyright header.
Declare the above functions.
(DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
the above functions in the definition.
* makefile.vms (OBJS): Add te-vms.obj.
(te-vms.obj): Create a specific target.
* configure.com: Create targ-env.h using a per target value.
Compile te-vms.c for ia64.
gingold [Mon, 7 Sep 2009 08:14:08 +0000 (08:14 +0000)]
2009-09-07 Tristan Gingold <gingold@adacore.com>
* z8k-opc.h: Regenerate.
aoliva [Mon, 7 Sep 2009 00:44:07 +0000 (00:44 +0000)]
ChangeLog:
* configure.ac (with-build-config): Document. Handle without.
Handle missing argument.
* configure: Rebuilt.
config/ChangeLog:
* bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle.
* bootstrap-debug-lean.mk: Update comments.
(STAGE2_CFLAGS): Likewise.
(do-compare): Don't override.
ChangeLog:
* configure.ac (with-build-config): Document. Handle without.
Handle missing argument.
* configure: Rebuilt.
gdbadmin [Mon, 7 Sep 2009 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 7 Sep 2009 00:00:05 +0000 (00:00 +0000)]
daily update
amodra [Sun, 6 Sep 2009 00:00:35 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 6 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
eliz [Sat, 5 Sep 2009 16:38:48 +0000 (16:38 +0000)]
* coffcode.h: Include libiberty.h.
eliz [Sat, 5 Sep 2009 15:43:31 +0000 (15:43 +0000)]
* config/djgpp/djconfig.sh: Fix for Autoconf 2.64.
* config/djgpp/config.sed: Fix for Autoconf 2.64.
teawater [Sat, 5 Sep 2009 15:37:02 +0000 (15:37 +0000)]
2009-09-05 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_record_s): Add orig_addr.
(i386_record_check_override): New function.
(i386_record_lea_modrm): Call i386_record_check_override.
(i386_process_record): Ditto.