Tom Tromey
30b66ecc73
gdb
...
* c-lang.c (convert_octal): Only allow 3 octal digits.
(print_wchar): Prefer 3-digit octal form. Fall back to hex if
needed.
* c-exp.y (c_parse_escape): Only allow 3 octal digits.
gdb/testsuite
* gdb.base/call-rt-st.exp: Update for change to escape output.
* gdb.base/callfuncs.exp: Likewise.
* gdb.base/charset.exp: Likewise.
* gdb.base/constvars.exp: Likewise.
* gdb.base/long_long.exp: Likewise.
* gdb.base/pointers.exp: Likewise.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* gdb.base/store.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.base/charset.exp: Test octal escape sequence length.
Update for change to escape output.
2009-07-07 21:33:50 +00:00
DJ Delorie
7ec721f405
* config/tc-mep.c (md_begin): Don't reset the coprocessor options
...
when enabling other options without a specific configuration.
2009-07-07 21:12:52 +00:00
Paul Pluzhnikov
06878dd230
2009-07-07 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* python/python-value.c (valpy_getitem): Remove incorrect assert.
2009-07-07 21:03:00 +00:00
Paul Pluzhnikov
570e2b1a04
2009-07-07 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* python/python-value.c (valpy_getitem): Don't return from TRY_CATCH.
2009-07-07 19:36:09 +00:00
Sami Wagiaalla
8c902bb1fe
2009-07-07 Sami Wagiaalla <swagiaal@redhat.com>
...
* cp-support.h (struct using_direct): Rename members inner and
outer to import_src, and import_dest respectively.
* cp-namespace.c (cp_add_using_directive): Update.
(cp_add_using): Update.
(cp_copy_usings): Update.
(cp_lookup_symbol_namespace): Update.
(cp_scan_for_anonymous_namespaces): Update.
* cp-support.c (make_symbol_overload_list_using): Update.
* cp-support.h (cp_add_using_directive, cp_add_using): Rename
arguments from inner and outer to src and dest respectively.
* cp-namespace.c (cp_add_using_directive): Ditto.
(cp_add_using): Ditto.
2009-07-07 17:25:11 +00:00
Nick Clifton
1103f72c0f
gas/
...
* config/tc-arm.c (insns): Fix encoding for torvsc.
gas/testsuite/
* gas/arm/iwmmxt2.d: Fix insn pattern for torvsc,
add patterns for waddsubhx.
* gas/arm/iwmmxt2.s: Add tests for waddsubhx.
opcodes/
* arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
2009-07-07 16:15:32 +00:00
Nick Clifton
78c66db84c
PR 10288
...
* arm-dis.c (arm_opcodes): Be more strict about decoding scaled
addressing modes.
2009-07-07 14:46:14 +00:00
H.J. Lu
e4649948b8
2009-07-07 H.J. Lu <hongjiu.lu@intel.com>
...
* gas/i386/fma4.d: Append "#pass".
* gas/i386/x86-64-fma4.d: Likewise.
2009-07-07 13:57:46 +00:00
Jan Kratochvil
fd115a4b71
gdb/
...
* mi/mi-cmd-var.c (mi_cmd_var_update): Replace a while loop by for loop.
* varobj.c (varobj_invalidate): Replace a while loop by for loop.
2009-07-07 09:26:13 +00:00
Jan Kratochvil
187c4a2b7b
gdb/testsuite/
...
* gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
2009-07-07 09:25:38 +00:00
Vladimir Prus
60d329700d
Fix hang in floating varobjs.
...
* varob.c (varobj_invalidate): Advance to next
element when processing floating varobj.
2009-07-07 08:51:31 +00:00
Vladimir Prus
9a139cba57
* varobj.c: Remove unnecessary include.
2009-07-07 08:47:10 +00:00
Tristan Gingold
a46aefacc3
2009-07-07 Tristan Gingold <gingold@adacore.com>
...
* gas/i386/jump.d: Adjust to be relocated offset for jump to external
symbol.
2009-07-07 08:29:58 +00:00
Doug Evans
2c2a86d776
* Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical
...
identifiers for file types rather than encoding internal
implementation details of cgen.sh.
(CGEN_CPU_WRITE,CGEN_CPU_SEM,CGEN_CPU_SEMSW): Ditto.
* cgen.sh: Add support for parallel makes.
Rewrite cpu/decode handling to avoid generating "extrafiles" twice.
2009-07-07 08:09:19 +00:00
Tristan Gingold
02b96ddcb6
2009-07-07 Tristan Gingold <gingold@adacore.com>
...
* config/i386/darwin.mh (NATDEPFILES): Remove excServer.o.
Remove excServer.c target. Remove _all target.
* darwin.defs: Removed.
2009-07-07 07:47:22 +00:00
Alan Modra
2fc6d3b012
* elf32-spu.c (spu_elf_auto_overlay): Take into account section
...
alignment when packing sections into overlays.
2009-07-07 03:26:47 +00:00
DJ Delorie
22102fb0d9
[cgen]
...
* cpu/mep-core.cpu (fsft, ssarb): Mark as VOLATILE.
* cpu/mep-ivc2.cpu (many): Add VOLATILE to more insns that make
unspecified accesses to control registers.
[sid/component/cgen-cpu/mep]
* mep-cop1-16-decode.cxx: Regenerate.
* mep-cop1-16-decode.h: Regenerate.
* mep-cop1-16-defs.h: Regenerate.
* mep-cop1-16-model.cxx: Regenerate.
* mep-cop1-16-model.h: Regenerate.
* mep-cop1-16-sem.cxx: Regenerate.
* mep-cop1-32-decode.cxx: Regenerate.
* mep-cop1-32-decode.h: Regenerate.
* mep-cop1-32-defs.h: Regenerate.
* mep-cop1-32-model.cxx: Regenerate.
* mep-cop1-32-model.h: Regenerate.
* mep-cop1-32-sem.cxx: Regenerate.
* mep-cop1-48-decode.cxx: Regenerate.
* mep-cop1-48-decode.h: Regenerate.
* mep-cop1-48-defs.h: Regenerate.
* mep-cop1-48-model.cxx: Regenerate.
* mep-cop1-48-model.h: Regenerate.
* mep-cop1-48-sem.cxx: Regenerate.
* mep-cop1-64-decode.cxx: Regenerate.
* mep-cop1-64-decode.h: Regenerate.
* mep-cop1-64-defs.h: Regenerate.
* mep-cop1-64-model.cxx: Regenerate.
* mep-cop1-64-model.h: Regenerate.
* mep-cop1-64-sem.cxx: Regenerate.
* mep-core1-decode.cxx: Regenerate.
* mep-core1-decode.h: Regenerate.
* mep-core1-defs.h: Regenerate.
* mep-core1-model.cxx: Regenerate.
* mep-core1-model.h: Regenerate.
* mep-core1-sem.cxx: Regenerate.
* mep-cpu.h: Regenerate.
* mep-decode.cxx: Regenerate.
* mep-decode.h: Regenerate.
* mep-defs.h: Regenerate.
* mep-desc.h: Regenerate.
* mep-model.cxx: Regenerate.
* mep-model.h: Regenerate.
* mep-sem.cxx: Regenerate.
[opcodes]
* mep-desc.c: Regenerate.
* mep-desc.h: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.
2009-07-07 01:56:05 +00:00
gdbadmin
0f181fa925
*** empty log message ***
2009-07-07 00:00:32 +00:00
Alan Modra
361961f088
daily update
2009-07-07 00:00:05 +00:00
Ian Lance Taylor
98fa85cb42
* fileread.cc (File_read::get_mtime): New method.
...
* fileread.h (Timespec): New structure.
(File_read::get_mtime): New method.
* incremental.cc (Incremental_inputs_entry_data::timestamp_usec):
Renamed from timestamp_nsec.
(Incremental_inputs_entry_write::timestamp_sec): Fix argument to
Elf_Xword.
(Incremental_inputs_entry_write::timestamp_usec): Renamed from
timestamp_nsec.
(Incremental_inputs::report_archive): Save mtime; style fix.
(Incremental_inputs::report_obejct): Save mtime; style fix.
(Incremental_inputs::report_script): Save mtime; style fix.
(Incremental_inputs::finalize_inputs): Style fix.
(Incremental_inputs::finalize): Style fix.
(Incremental_inputs::create_input_section_data): Store inputs
mtime.
* incremental.h (Incremental_inputs::report_script): Add mtime
argument.
(Incremental_inputs::Input_info::Input_info): Intialize only one
union member.
(Incremental_inputs::Input_info::archive): Move to nameless
union.
(Incremental_inputs::Input_info::obejct): Move to nameless union.
(Incremental_inputs::Input_info::script): Move to nameless union.
(Incremental_inputs::mtime): New field.
* script.cc (read_input_script): Pass file mtime to
Incremental_input.
* script.h (Script_info::inputs): Style fix.
2009-07-06 23:11:21 +00:00
Dwarakanath Rajagopal
922d8de8c1
<gas changes>
...
2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
(build_modrm_byte): Add support to handle FMA4 instructions.
(md_show_usage): Add fma4.
<gas/testsuite changes>
2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* gas/i386/i386.exp: Add FMA4 tests.
* gas/i386/x86-64-fma4.d: Ditto.
* gas/i386/fma4.d: Ditto.
* gas/i386/x86-64-fma4.s: Ditto.
* gas/i386/fma4.s: Ditto.
<opcodes changes>
2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* i386-opc.h (CpuFMA4): Add CpuFMA4.
(i386_cpu_flags): New.
* i386-gen.c: Add CPU_FMA4_FLAGS.
* i386-opc.tbl: Add FMA4 instructions.
* i386-tbl.h: Regenerate.
* i386-init.h: Regenerate.
* i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
(OP_XMM_VexW): Ditto.
(OP_EX_VexW): Ditto.
(VEXI4_Fixup): Ditto.
(VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
(PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
(PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
(PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
(PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
(PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
(PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
(PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
(VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
(VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
(VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
(get_vex_imm8): New. handle FMA4.
(OP_EX_VexReg): Ditto.
2009-07-06 19:34:30 +00:00
Daniel Jacobowitz
d80a43f961
* lib/java.exp (java_init): Ignore $GCJ if it is empty.
2009-07-06 19:14:01 +00:00
Aleksandar Ristovski
7f86f49920
* configure.tgt (i[34567]86-*-nto*): Add build_gdbserver=yes.
2009-07-06 18:52:14 +00:00
Jan Kratochvil
047427a8a8
gdb/testsuite/
...
* lib/gdbserver-support.exp (gdbserver_start): Loop spawning
gdbserver increasing $portnum if "Can't bind address" has been seen.
2009-07-06 18:51:10 +00:00
Aleksandar Ristovski
ac8c974e4f
Adding Neutrino gdbserver.
...
* configure: Regenerated.
* configure.ac: Add case for srv_qnx and set LIBS accordingly.
* configure.srv (i[34567]86-*-nto*): New target.
* nto-low.c, nto-low.h, nto-x86-low.c: New files.
* remote-utils.c [__QNX__]: Include sys/iomgr.h
(nto_comctrl) [__QNX__]: New function.
(enable_async_io, disable_async_io) [__QNX__]: Call nto_comctrl.
2009-07-06 18:31:20 +00:00
Jan Kratochvil
e235789238
gdb/
...
* source.c (find_and_open_source): Remove the `objfile' parameter.
Update the function comment.
(open_source_file, symtab_to_fullname, psymtab_to_fullname): Update the
find_and_open_source callers.
2009-07-06 18:23:47 +00:00
Tristan Gingold
c8450da85c
2009-07-06 Tristan Gingold <gingold@adacore.com>
...
* objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
sections.
* dwarf.h (struct dwarf_section_display): Remove eh_frame field.
* dwarf.c (debug_displays): Adjust for removed field.
2009-07-06 14:45:56 +00:00
Nick Clifton
07d8eb5534
* ld.texinfo: Fix typo.
2009-07-06 13:48:51 +00:00
gdbadmin
34daeec4e0
*** empty log message ***
2009-07-06 00:01:05 +00:00
Alan Modra
5dd92e9018
daily update
2009-07-06 00:00:04 +00:00
Pedro Alves
4424e0c3c0
Ooops. Fix date.
2009-07-05 22:58:53 +00:00
Pedro Alves
8b5a0f4fc0
* gdb.base/ending-run.exp: Add "step out of main" pattern for
...
mingw32ce.
2009-07-05 22:38:19 +00:00
Pedro Alves
7d93ba58ab
* gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
...
VFP format.
2009-07-05 22:21:40 +00:00
Pedro Alves
5e13bd89ec
* coff-pe-read.c (read_pe_exported_syms): Recognize
...
"pe-arm-wince-little" and "pei-arm-wince-little" bfd targets as PE
targets.
2009-07-05 22:02:39 +00:00
Pedro Alves
d7117c03b0
* arm-wince-tdep.c (arm_wince_skip_main_prologue): New.
...
(arm_wince_init_abi): Register it as gdbarch_skip_main_prologue
callback.
2009-07-05 21:23:43 +00:00
Pedro Alves
7437790a92
* configure.srv (i[34567]86-*-mingw32ce*): Add i386-low.o to
...
srv_tgtobj.
2009-07-05 19:30:09 +00:00
gdbadmin
8fa6d35728
*** empty log message ***
2009-07-05 00:00:33 +00:00
Alan Modra
7438392e6b
daily update
2009-07-05 00:00:05 +00:00
Pedro Alves
912cf4ba32
* win32-i386-low.c (i386_get_thread_context): Handle systems that
...
don't support CONTEXT_EXTENDED_REGISTERS.
(i386_win32_breakpoint, i386_win32_breakpoint_len): New.
(the_low_target): Install them.
* win32-low.c (get_child_debug_event): Handle WaitForDebugEvent
failing with ERROR_PIPE_NOT_CONNECTED.
2009-07-04 18:13:28 +00:00
Eli Zaretskii
dd8f35ac84
*** empty log message ***
2009-07-04 12:12:20 +00:00
Eli Zaretskii
b569d2302d
* gdb.texinfo (GDB/MI Variable Objects): Document child definition
...
in -var-list-children. Fix example according to what the code
does.
2009-07-04 12:12:04 +00:00
Alan Modra
c1a6351f10
* config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
2009-07-04 01:50:44 +00:00
gdbadmin
86fff24db3
*** empty log message ***
2009-07-04 00:00:33 +00:00
Alan Modra
6493db6f9e
daily update
2009-07-04 00:00:09 +00:00
Dave Korn
9e1f7c0e44
2009-07-03 Cary Coutant <ccoutant@google.com>
...
* dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator.
2009-07-03 17:02:43 +00:00
Dave Korn
4a7688702f
2009-07-03 Dave Korn <dave.korn.cygwin@gmail.com>
...
* coffcode.h (sec_to_styp_flags): Partially revert (functional
changes only) earlier patch:-
2009-06-25 Kai Tietz <kai.tietz@onevision.com>
* coffcode.h (sec_to_styp_flags): Set discardable for .reloc and
give .debug and .reloc data characteristics.
(DOT_RELOC): New define for .reloc section string.
(coff_write_object_contents): Use DOT_RELOC instead of string.
2009-07-03 16:07:38 +00:00
Tristan Gingold
5cd226f275
2009-06-29 Tristan Gingold <gingold@adacore.com>
...
* i386-darwin-tdep.c (amd64_darwin_thread_state_reg_offset)
(amd64_darwin_thread_state_num_regs)
(amd64_darwin_sigcontext_addr, x86_darwin_init_abi_64): Moved to
amd64-darwin-tdep.c
(_initialize_i386_darwin_tdep): Remove 64 bits parts.
(darwin_dwarf_signal_frame_p): Make public.
* amd64-darwin-tdep.c: New file with most chunks from
i386-darwin-tdep.c
* i386-darwin-tdep.h: Add a prototype for darwin_dwarf_signal_frame_p.
(amd64_darwin_thread_state_reg_offset)
(amd64_darwin_thread_state_num_regs): Moved to amd64-darwin-tdep.h
* amd64-darwin-tdep.h: New file.
* i386-darwin-nat.c: Only includes amd64-nat.h and amd64-darwin-tdep.h
if BFD64 is defined.
(i386_darwin_fetch_inferior_registers): Add #ifdef BFD64/#endif around
64 bits parts.
(i386_darwin_store_inferior_registers): Ditto.
(darwin_set_sstep): Ditto.
(darwin_complete_target): Ditto.
(amd64_darwin_sstep_at_sigreturn): Ditto.
* configure.tgt: Create a separate entry for x86_64-*-darwin.
Add 64 bits support for i386-*-darwin if --enable-64-bit-bfd.
* Makefile.in (ALLDEPFILES): Add amd64-darwin-tdep.c, darwin-nat.c,
i386-darwin-tdep.c i386-darwin-nat.c
(ALL_64_TARGET_OBS): Add amd64-darwin-tdep.o
2009-07-03 12:06:36 +00:00
Tristan Gingold
27505b5d0f
2009-07-03 Tristan Gingold <gingold@adacore.com>
...
* scripttempl/pep.sc: Put .eh_frame in its own section.
* scripttempl/pe.sc: Ditto.
2009-07-03 10:44:57 +00:00
Jakub Jelinek
3244e8f5d6
* dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value
...
and DW_OP_stack_value.
* dwarf.c (decode_location_expression): Handle DW_OP_stack_value
and DW_OP_implicit_value.
2009-07-03 08:53:50 +00:00
Alan Modra
d7edf97466
daily update
2009-07-03 00:00:09 +00:00