OSDN Git Service
vprus [Mon, 7 Jan 2008 15:19:57 +0000 (15:19 +0000)]
Ignore change in name of dynamic linker during
execution, on Solaris. This also unbreaks pending breakpoints.
* solist.h (struct target_so_ops): New field same.
* solib-svr4.c (svr4_same): New.
(_initialize_svr4_solib): Register svr4_same.
* solib.c (update_solib_list): Use ops->same, if available.
iant [Mon, 7 Jan 2008 05:19:02 +0000 (05:19 +0000)]
Report linker script errors with line numbers. Ignore OUTPUT_FORMAT
with three arguments, and ignore OUTPUT_ARCH.
gdbadmin [Mon, 7 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 6 Jan 2008 23:00:04 +0000 (23:00 +0000)]
daily update
cgf [Sun, 6 Jan 2008 18:37:20 +0000 (18:37 +0000)]
* fhandler.h (fhandler_base::is_tty): Make bool.
(fhandler_serial::is_tty): Ditto.
(fhandler_termios::is_tty): Ditto.
(fhandler_base::is_slow): Return bool value.
(fhandler_socket::is_slow): Ditto.
(fhandler_serial::is_slow): Ditto.
(fhandler_console::is_slow): Ditto.
(fhandler_tty_common::is_slow): Ditto.
(fhandler_tty_master::is_slow): Ditto.
(fhandler_dev_null::is_slow): Ditto.
cgf [Sun, 6 Jan 2008 18:31:34 +0000 (18:31 +0000)]
* include/limits.h (TTY_NAME_MAX): Increase size to same as linux to allow for
(at least) null terminating byte for "/dev/console".
cgf [Sun, 6 Jan 2008 06:59:14 +0000 (06:59 +0000)]
* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings when
using MS-DOS paths.
iant [Sun, 6 Jan 2008 00:47:10 +0000 (00:47 +0000)]
Add support for -e and for ENTRY in linker scripts.
gdbadmin [Sun, 6 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 5 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
palves [Sat, 5 Jan 2008 21:50:43 +0000 (21:50 +0000)]
gdb/
* NEWS: Mention --pid and --core command line behaviour changes.
gdb/doc/
* gdb.texinfo (File Options): Remove mention of the attempt to
open a core file with the -p option. Don't list -c as a valid
option to attach to a process.
hjl [Sat, 5 Jan 2008 17:07:24 +0000 (17:07 +0000)]
gas/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
* config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
only.
(md_assemble): Remove Intel mode workaround.
(match_template): Check support for old gcc, AT&T mnemonic
and Intel Syntax.
(md_parse_option): Don't set intel_mnemonic to 0 for
OPTION_MOLD_GCC.
gas/testsuite/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/intel.s: Add tests for fadd, faddp, fdiv, fdivp,
fdivr, fdivrp, fmul, fmulp, fsub, fsubp, fsubr and fsubrp.
* gas/i386/intel.d: Updated.
* gas/i386/intel.e: Likewise.
opcodes/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Rename IntelMnemonic to
ATTSyntax.
* i386-opc.h (IntelMnemonic): Renamed to ..
(ATTSyntax): This
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Remove intelmnemonic. Add attsyntax
and intelsyntax.
* i386-opc.tbl: Remove IntelMnemonic and update with ATTSyntax
on fsub, fubp, fsubr, fsubrp, div, fdivp, fdivr and fdivrp.
* i386-tbl.h: Regenerated.
palves [Sat, 5 Jan 2008 16:49:52 +0000 (16:49 +0000)]
gdb/
* main.c (captured_main): Remove 'count' varible and the
ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
--pid options were issued simultaneously. If an explicit pid
option was passed, don't fallback to core file. Detect extra
arguments better in the presence of explicit pid or core
arguments.
gdb/doc/
* gdbint.texinfo (Host Conditionals): Remove mention of
ALIGN_STACK_ON_ENTRY.
brobecke [Sat, 5 Jan 2008 15:48:08 +0000 (15:48 +0000)]
* gdb.ada/packed_tagged/comp_bug.adb: New file.
* gdb.ada/packed_tagged.exp: New testcase.
brobecke [Sat, 5 Jan 2008 15:44:53 +0000 (15:44 +0000)]
* ada-lang.c (ada_which_variant_applies): Correctly compute
the value of the discriminant when the variant record is packed.
brobecke [Sat, 5 Jan 2008 15:12:56 +0000 (15:12 +0000)]
* gdbint.texinfo (Start of New Year Procedure): Add item
describing how to update the source and documentation copyright
notices.
gdbadmin [Sat, 5 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 4 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
brobecke [Fri, 4 Jan 2008 21:40:33 +0000 (21:40 +0000)]
* gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
gdb.ada/homonym/homonym_main.adb: New files.
* gdb.ada/homonym.exp: New testcase.
brobecke [Fri, 4 Jan 2008 21:36:25 +0000 (21:36 +0000)]
* ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
that are used to differentiate homonyms.
brobecke [Fri, 4 Jan 2008 20:47:16 +0000 (20:47 +0000)]
* gdb.ada/packed_array.exp: Add testing of references to
a packed array.
brobecke [Fri, 4 Jan 2008 20:45:05 +0000 (20:45 +0000)]
* ada-lang.c (decode_packed_array_type): Avoid a seg fault
when the type is an anonymous pointer type.
(ada_check_typedef): Avoid a seg fault when the type is null.
* ada-typeprint.c (print_array_type): Add support for pointer
to packed arrays.
brobecke [Fri, 4 Jan 2008 20:07:39 +0000 (20:07 +0000)]
* gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
New files.
* gdb.ada/type_coercion.exp: New testcase.
brobecke [Fri, 4 Jan 2008 20:02:29 +0000 (20:02 +0000)]
* gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
gdb.ada/tagged/foo.adb: New file.
* gdb.ada/tagged.exp: New testcase.
brobecke [Fri, 4 Jan 2008 19:46:28 +0000 (19:46 +0000)]
* ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
brobecke [Fri, 4 Jan 2008 19:01:30 +0000 (19:01 +0000)]
* ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
hjl [Fri, 4 Jan 2008 18:19:11 +0000 (18:19 +0000)]
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.h: Update copyright to 2008.
hjl [Fri, 4 Jan 2008 18:10:08 +0000 (18:10 +0000)]
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c: Update copyright to 2008.
* i386-opc.h: Likewise.
* i386-opc.tbl: Likewise.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
hjl [Fri, 4 Jan 2008 18:03:02 +0000 (18:03 +0000)]
gas/testsuite/
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/rexw.d: New.
* gas/i386/rexw.s: Likewise.
* gas/i386/x86-64-sse4_1-intel.d: Updated.
* gas/i386/x86-64-sse4_1.d: Likewise.
opcodes/
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Add NoRex64 to extractps, movmskpd, movmskps,
pextrb, pextrw, pinsrb, pinsrw and pmovmskb.
* i386-tbl.h: Regenerated.
brobecke [Fri, 4 Jan 2008 15:10:10 +0000 (15:10 +0000)]
* gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
gdb.ada/ptype_field/foo.adb: New files.
* gdb.ada/ptype_field.exp: New testcase.
brobecke [Fri, 4 Jan 2008 15:04:10 +0000 (15:04 +0000)]
* ada-exp.y (chop_separator): New function.
(write_selectors): Rewrite to re-use chop_separator.
(ada_nget_field_index, get_symbol_field_type): New functions.
(write_var_or_type): Add support for "ptype TYPENAME.FIELD"
expressions.
nickc [Fri, 4 Jan 2008 14:53:50 +0000 (14:53 +0000)]
* config/tc-ppc.c (parse_cpu): Preserve the settings of the
PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
* gas/ppc/altivec_and_spe.s: New test - checks that ISA extension
command line options (-maltivec, -mspe) can be specified before
CPU selection command line options.
* gas/ppc/altivec_and_spe.d: Expected disassembly.
* gas/ppc/ppc.exp: Run the new test
nickc [Fri, 4 Jan 2008 09:53:41 +0000 (09:53 +0000)]
* dwarf.c (read_and_display_attr_value): Prefix values that are
displayed in hexadecimal with 0x.
For the DW_AT_import attribute display the abbreviation number and
tag of the imported DIE.
(process_debug_info): Warn about lengths that reserved by the
DWARF3 specification.
Provide more information when corrupted DIEs are detected.
Warn if DIE corruption makes the sibling level negative.
iant [Fri, 4 Jan 2008 05:35:24 +0000 (05:35 +0000)]
Add -h/-soname option.
iant [Fri, 4 Jan 2008 05:04:56 +0000 (05:04 +0000)]
Don't create the postprocessing buffer if it already exists.
hjl [Fri, 4 Jan 2008 01:27:01 +0000 (01:27 +0000)]
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
of SYSV386_COMPAT.
hjl [Fri, 4 Jan 2008 01:05:41 +0000 (01:05 +0000)]
gas/
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
(cpu_flags_not): Likewise.
(cpu_flags_match): Updated to check 64bit and arch.
(set_code_flag): Remove cpu_arch_flags_not.
(set_16bit_gcc_code_flag): Likewise.
(set_cpu_arch): Likewise.
(md_begin): Likewise.
(parse_insn): Call cpu_flags_match to check 64bit and arch.
(match_template): Likewise.
gas/testsuite/
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-9.d: New file.
* gas/i386/arch-9.s: Likewise.
* gas/i386/i386.exp: Run arch-9.
opcodes/
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Remove CpuSSE4_1_Or_5 and
CpuSSE4_2_Or_ABM.
(cpu_flags): Likewise.
* i386-opc.h (CpuSSE4_1_Or_5): Removed.
(CpuSSE4_2_Or_ABM): Likewise.
(CpuLM): Updated.
(i386_cpu_flags): Remove cpusse4_1_or_5 and cpusse4_2_or_abm.
* i386-opc.tbl: Replace CpuSSE4_1_Or_5, CpuSSE4_2_Or_ABM and
Cpu686|CpuPadLock with CpuSSE4_1|CpuSSE5, CpuABM|CpuSSE4_2
and CpuPadLock, respectively.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
gdbadmin [Fri, 4 Jan 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 3 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update
jjohnstn [Thu, 3 Jan 2008 22:38:30 +0000 (22:38 +0000)]
2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
* arm/redboot-syscalls.c: Consistently supply _isatty if syscalls
dir is used in newlib.
* bfin/syscalls.c: Ditto.
* cris/gensyscalls: Ditto.
* fr30/syscalls.c: Ditto.
* frv/isatty.c: Ditto.
* iq2000/isatty.c: Ditto.
* libnosys/isatty.c: Ditto.
* m32r/isatty.c: Ditto.
* mn10200/isatty.c: Ditto.
* mn10300/isatty.c: Ditto.
* xstormy16/isatty.c: New file with _isatty function.
jjohnstn [Thu, 3 Jan 2008 22:33:36 +0000 (22:33 +0000)]
2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
Make isatty syscall handling consistent with other newlib syscalls.
* libc/include/_syslist.h: Add _isatty.
* libc/include/reent.h: Add _isatty_r.
* libc/include/sys/unistd.h: Add _isatty.
* libc/posix/Makefile.am: Add new _isatty.c file.
* libc/posix/Makefile.in: Regenerated.
* libc/posix/_isatty.c: New file.
* libc/posix/isatty.c: Changed to call _isatty().
* libc/reent/Makefile.am: Add new isattyr.c file.
* libc/reent/Makefile.in: Regenerated.
* libc/reent/isattyr.c: New file.
* libc/stdio/freopen.c: Changed to call _isatty_r().
* libc/stdio/makebuf.c: Ditto.
* libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
* libc/sys/arc/isatty.c: Ditto.
* libc/sys/arm/syscalls.c: Ditto.
* libc/sys/d10v/syscalls.c: Ditto.
* libc/sys/h8300hms/syscalls.c: Ditto.
* libc/sys/h8500hms/syscalls.c: Ditto.
* libc/sys/linux/Makefile.am: Add new isatty.c file.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/isatty.c: New file.
* libc/syscalls/Makefile.am: Add new sysisatty.c file.
* libc/syscalls/Makefile.in: Regenerated.
* libc/syscalls/sysisatty.c: New file.
bauermann [Thu, 3 Jan 2008 21:30:13 +0000 (21:30 +0000)]
* symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
of SYMBOL_VALUE when working with function symbols.
bauermann [Thu, 3 Jan 2008 21:30:04 +0000 (21:30 +0000)]
* symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
of SYMBOL_VALUE when working with function symbols.
jakub [Thu, 3 Jan 2008 20:19:29 +0000 (20:19 +0000)]
* config/tc-i386.c (process_drex): Initialize modrm_reg and
modrm_regmem to 0 instead of None.
hjl [Thu, 3 Jan 2008 20:09:37 +0000 (20:09 +0000)]
gas/
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Use the xmmword field
instead of no_xsuf.
opcodes/
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Remove No_xSuf.
* i386-opc.h (No_xSuf): Removed.
(CheckSize): Updated.
* i386-tbl.h: Regenerated.
brobecke [Thu, 3 Jan 2008 19:22:20 +0000 (19:22 +0000)]
* gdb.ada/print_pc.exp: New testcase.
brobecke [Thu, 3 Jan 2008 19:19:22 +0000 (19:19 +0000)]
* gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
gdb.ada/taft_type/p.adb: New files.
* gdb.ada/taft_type.exp: New testcase.
brobecke [Thu, 3 Jan 2008 19:15:10 +0000 (19:15 +0000)]
* ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
expressions. These expressions do not need to be rewriten.
brobecke [Thu, 3 Jan 2008 17:32:10 +0000 (17:32 +0000)]
* gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
gdb.ada/taft_type/p.adb: New files.
* gdb.ada/taft_type.exp: New testcase.
brobecke [Thu, 3 Jan 2008 17:29:55 +0000 (17:29 +0000)]
* dwarf2read.c (read_enumeration_type): Flag type as stub if
the given die is a declaration.
brobecke [Thu, 3 Jan 2008 14:19:51 +0000 (14:19 +0000)]
* gdb.ada/array_bounds/bar.adb: New file.
* gdb.ada/array_bounds.exp: New testcase.
brobecke [Thu, 3 Jan 2008 14:07:09 +0000 (14:07 +0000)]
* ada-lang.c (ada_array_bound_from_type): Make non-static.
Handle properly the case when the index type is an enumerated type.
Do not return the subtype of the bounds type, just return the
bounds type directly - this is not needed and is more consistent
with what we do for arrays when no XA parallel type exists.
brobecke [Thu, 3 Jan 2008 13:15:43 +0000 (13:15 +0000)]
* gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
gdb.ada/arrayptr/foo.adb: New files.
* gdb.ada/arrayptr.exp: New testcase.
brobecke [Thu, 3 Jan 2008 13:11:51 +0000 (13:11 +0000)]
* ada-lang.c (static_unwrap_type): Add forward declaration.
(template_to_static_fixed_type): Fields of dynamic types sometimes
also need to be unwrapped. Take this into account.
(ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
(ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
* ada-typeprint.c (ada_print_type): Get the typename from
the original type, not the base type.
brobecke [Thu, 3 Jan 2008 12:30:38 +0000 (12:30 +0000)]
* ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
(to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
Update calls to ada_to_fixed_type.
(ada_template_to_fixed_record_type_1): Ditto, but without looking
for the tag.
(ada_to_fixed_type): Add check_tag parameter; do not look for
tag if null. When looking for a tag, use a fixed record type.
* ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
* ada-valprint.c (printable_val_type, ada_value_print): Update
calls to ada_to_fixed_type.
luisgpm [Thu, 3 Jan 2008 11:39:35 +0000 (11:39 +0000)]
* doublest.c (convert_floatformat_to_doublest): Call
floatformat_to_doublest instead of floatformat_to_double and use
DOUBLEST variables.
(convert_doublest_to_floatformat): Call floatformat_from_doublest
instead of floatformat_from_double and use DOUBLEST variables.
skrll [Thu, 3 Jan 2008 10:33:10 +0000 (10:33 +0000)]
2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
* MAINTAINERS (Write After Approval): Add self.
hjl [Thu, 3 Jan 2008 05:29:53 +0000 (05:29 +0000)]
gas/testsuite/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-5.d: New file.
* gas/i386/arch-5.s: Likewise.
* gas/i386/arch-6.d: Likewise.
* gas/i386/arch-6.s: Likewise.
* gas/i386/arch-7.d: Likewise.
* gas/i386/arch-7.s: Likewise.
* gas/i386/arch-8.d: Likewise.
* gas/i386/arch-8.s: Likewise.
* gas/i386/i386.exp: Run arch-5, arch-6, arch-7 and arch-8.
opcodes/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Add CpuSSE4_2_Or_ABM to
CPU_AMDFAM10_FLAGS, CPU_SSE4_2_FLAGS, CpuABM and
CPU_SSE5_FLAGS.
(cpu_flags): Add CpuSSE4_2_Or_ABM.
* i386-opc.h (CpuSSE4_2_Or_ABM): New.
(CpuLM): Updated.
(i386_cpu_flags): Add cpusse4_2_or_abm.
* i386-opc.tbl: Use CpuSSE4_2_Or_ABM instead of
CpuABM|CpuSSE4_2 on popcnt.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
hjl [Thu, 3 Jan 2008 05:27:55 +0000 (05:27 +0000)]
Add a missing ','.
brobecke [Thu, 3 Jan 2008 04:26:57 +0000 (04:26 +0000)]
* gdb.base/set-lang-auto.exp: New testcase.
brobecke [Thu, 3 Jan 2008 04:23:46 +0000 (04:23 +0000)]
* symfile.c (set_initial_language): Make non-static.
* symfile.h (set_initial_language): Add declaration.
* language.c: #include "symfile.h".
(set_language): Call set_initial_language if the frame language
could not be determined.
brobecke [Thu, 3 Jan 2008 04:12:23 +0000 (04:12 +0000)]
* gdb.ada/fun_addr/foo.adb: New file.
* gdb.ada/fun_addr.exp: New testcase.
brobecke [Thu, 3 Jan 2008 04:11:15 +0000 (04:11 +0000)]
* eval.c (evaluate_subexp_for_address): Provide frame address to
locate_var_value only if it will be needed.
hjl [Thu, 3 Jan 2008 03:28:35 +0000 (03:28 +0000)]
gas/testsuite/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.s: Add tests for movq.
* gas/i386/x86_64.s: Likewise.
* gas/i386/i386.d Updated.
* gas/i386/x86_64.d: Likewise.
opcodes/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.h: Update comments.
jjohnstn [Thu, 3 Jan 2008 00:16:48 +0000 (00:16 +0000)]
2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/syscalls/sysclose.c: Always call reentrant version of the
underlying syscall since one is guaranteed to exist in libc/reent.
* libc/syscalls/sysexecve.c: Ditto.
* libc/syscalls/sysfcntl.c: Ditto.
* libc/syscalls/sysfork.c: Ditto.
* libc/syscalls/sysfstat.c: Ditto.
* libc/syscalls/sysgetpid.c: Ditto.
* libc/syscalls/sysgettod.c: Ditto.
* libc/syscalls/syskill.c: Ditto.
* libc/syscalls/syslink.c: Ditto.
* libc/syscalls/syslseek.c: Ditto.
* libc/syscalls/sysopen.c: Ditto.
* libc/syscalls/sysread.c: Ditto.
* libc/syscalls/syssbrk.c: Ditto.
* libc/syscalls/sysstat.c: Ditto.
* libc/syscalls/systimes.c: Ditto.
* libc/syscalls/sysunlink.c: Ditto.
* libc/syscalls/syswait.c: Ditto.
* libc/syscalls/syswrite.c: Ditto.
hjl [Thu, 3 Jan 2008 00:02:26 +0000 (00:02 +0000)]
Fix a typo.
gdbadmin [Thu, 3 Jan 2008 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
hjl [Wed, 2 Jan 2008 23:55:43 +0000 (23:55 +0000)]
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_suffix): Fix a typo.
iant [Wed, 2 Jan 2008 23:55:37 +0000 (23:55 +0000)]
Add cast to avoid signed/unsigned warning.
hjl [Wed, 2 Jan 2008 23:54:47 +0000 (23:54 +0000)]
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Use Qword instead of QWord.
* i386-opc.h: Likewise.
* i386-opc.tbl: Likewise.
iant [Wed, 2 Jan 2008 23:48:48 +0000 (23:48 +0000)]
Reduce the number of system calls. Use readv instead of pread. Do
better handling of cached views.
amodra [Wed, 2 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update
hjl [Wed, 2 Jan 2008 21:43:33 +0000 (21:43 +0000)]
gas/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
Check memory size in Intel mode.
(process_suffix): Handle XMMWORD_MNEM_SUFFIX.
(intel_e09): Likewise.
* config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
gas/testsuite/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* gas/i386/intel.s: Use QWORD on movq instead of DWORD.
* gas/i386/inval.s: Add tests for movq.
* gas/i386/x86-64-inval.s: Likewise.
* gas/i386/inval.l: Updated.
* gas/i386/x86-64-inval.l: Likewise.
opcodes/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* i386-gen.c (opcode_modifiers): Add No_xSuf, CheckSize,
Byte, Word, Dword, QWord and Xmmword.
* i386-opc.h (No_xSuf): New.
(CheckSize): Likewise.
(Byte): Likewise.
(Word): Likewise.
(Dword): Likewise.
(QWord): Likewise.
(Xmmword): Likewise.
(FWait): Updated.
(i386_opcode_modifier): Add No_xSuf, CheckSize, Byte, Word,
Dword, QWord and Xmmword.
* i386-opc.tbl: Add CheckSize|QWord to movq if IgnoreSize is
used.
* i386-tbl.h: Regenerated.
hjl [Wed, 2 Jan 2008 21:41:00 +0000 (21:41 +0000)]
Move 2007 ChangeLog entries to ChangeLog-2007.
clm [Wed, 2 Jan 2008 20:59:46 +0000 (20:59 +0000)]
* gas/mips/jalr.s: New test.
* gas/mips/jalr.l: New test output.
* gas/mips/mips.exp: Run new test.
clm [Wed, 2 Jan 2008 20:58:04 +0000 (20:58 +0000)]
* gas/mips/jalr.s: New test.
* gas/mips/jalr.l: New test output.
* gas/mips/mips.exp: Run new test.
jkratoch [Wed, 2 Jan 2008 13:36:36 +0000 (13:36 +0000)]
* linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
* gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
New files
brobecke [Wed, 2 Jan 2008 12:06:38 +0000 (12:06 +0000)]
* array_subscript_addr/p.adb: New file.
* array_subscript_addr.exp: New testcase.
brobecke [Wed, 2 Jan 2008 12:03:06 +0000 (12:03 +0000)]
* ada-lang.c (ada_evaluate_subexp): Modify the value returned
when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
This is needed to make sure that any other treatment applied
to the resulting value does not fail for spurious reason,
such as trying to take the address of this value.
brobecke [Wed, 2 Jan 2008 11:25:01 +0000 (11:25 +0000)]
* gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
New files.
* gdb.ada/str_cmp_ref.exp: New testcase.
brobecke [Wed, 2 Jan 2008 11:18:03 +0000 (11:18 +0000)]
* ada-lang.c (ada_value_equal): Dereference reference types when
comparing arrays.
kettenis [Wed, 2 Jan 2008 00:37:44 +0000 (00:37 +0000)]
* m88k-dis.c (instructions): Fix fcvt.* instructions.
From Miod Vallat.
gdbadmin [Wed, 2 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 1 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update
drow [Tue, 1 Jan 2008 22:53:08 +0000 (22:53 +0000)]
Updated copyright notices for most files.
cgf [Tue, 1 Jan 2008 19:07:36 +0000 (19:07 +0000)]
* tty.cc: Update copyright.
* pipe.cc: Ditto.
cgf [Tue, 1 Jan 2008 18:51:23 +0000 (18:51 +0000)]
* newsym: First stab at understanding data as well as functions.
* pipe.cc (fhandler_pipe::init): Move more intelligence here.
(fhandler_pipe::create): Simplify based on above change.
* tty.cc (tty_list::allocate): Remove non-NT code.
cgf [Tue, 1 Jan 2008 18:42:06 +0000 (18:42 +0000)]
* win32-nat.c (psapi_module_handle): Remove static.
(get_module_name): Rename from psapi_get_dll_name. Revamp slightly to return
first module found if base_address is zero. Don't initialize psapi function
pointers here. Convert to cygwin paths when appropriate.
(win32_pid_to_exec_file): Use Cygwin's /proc interface to determine executable
name. Use get_module_name when that fails or when !__CYGWIN__.
(_initialize_psapi): New function. Initialize psapi stuff before it is needed
or issue a warning if it is not found. Move psapi_module_handle here.
brobecke [Tue, 1 Jan 2008 12:43:41 +0000 (12:43 +0000)]
* gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
gdb.ada/fun_in_declare/foo.adb: New files.
* gdb.ada/fun_in_declare.exp: New testcase.
brobecke [Tue, 1 Jan 2008 12:39:48 +0000 (12:39 +0000)]
* ada-lang.c (ada_remove_trailing_digits): New function.
(ada_remove_po_subprogram_suffix): New function.
(ada_decode): Improve. Move the description of the algorithm
directly inside the code, instead of in the function global
description.
brobecke [Tue, 1 Jan 2008 11:42:53 +0000 (11:42 +0000)]
* gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
gdb.ada/ref_param/pck.ads: New files.
* gdb.ada/ref_param.exp: New testcase.
brobecke [Tue, 1 Jan 2008 11:39:07 +0000 (11:39 +0000)]
* ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
and always print the dereferenced value.
brobecke [Tue, 1 Jan 2008 07:38:37 +0000 (07:38 +0000)]
* ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
of the case where the first argument is a reference.
(ada_evaluate_subexp, case BINOP_ADD): Likewise.
brobecke [Tue, 1 Jan 2008 07:25:45 +0000 (07:25 +0000)]
* gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
gdb.ada/interface/foo.adb: New files.
* gdb.ada/interface.exp: New testcase.
brobecke [Tue, 1 Jan 2008 07:21:59 +0000 (07:21 +0000)]
Implement support for Ada interface types.
* ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
(ada_is_ignored_field): Ignore fields that are a dispatch table
of a tagged type.
brobecke [Tue, 1 Jan 2008 04:27:42 +0000 (04:27 +0000)]
* top.c (print_gdb_version): Update copyright year.
brobecke [Tue, 1 Jan 2008 04:20:41 +0000 (04:20 +0000)]
* ChangeLog-2007: New ChangeLog rotation.
* ChangeLog: Reset for 2008.
* config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
ChangeLog-2007.
gdbadmin [Tue, 1 Jan 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 31 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update
jimb [Mon, 31 Dec 2007 21:34:47 +0000 (21:34 +0000)]
* gdb.base/multi-forks.exp: Consume all output from child
processes before proceeding to next test.