5dd15031dd
* config/tc-i386.c (process_drex): Initialize modrm_reg and
...
modrm_regmem to 0 instead of None.
2008-01-03 20:19:29 +00:00
24995bd6e3
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.
2008-01-03 20:09:38 +00:00
1a6aaad875
* gdb.ada/print_pc.exp: New testcase.
2008-01-03 19:22:20 +00:00
0ef22f5306
* 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.
2008-01-03 19:19:22 +00:00
b3dbf0087f
* ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
...
expressions. These expressions do not need to be rewriten.
2008-01-03 19:15:10 +00:00
e9a0edba72
* 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.
2008-01-03 17:32:10 +00:00
02eb380e72
* dwarf2read.c (read_enumeration_type): Flag type as stub if
...
the given die is a declaration.
2008-01-03 17:29:56 +00:00
1689ecf896
* gdb.ada/array_bounds/bar.adb: New file.
...
* gdb.ada/array_bounds.exp: New testcase.
2008-01-03 14:19:52 +00:00
abb68b3e0c
* 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.
2008-01-03 14:07:10 +00:00
a4d0b9c3e1
* gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
...
gdb.ada/arrayptr/foo.adb: New files.
* gdb.ada/arrayptr.exp: New testcase.
2008-01-03 13:15:43 +00:00
f192137b09
* 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.
2008-01-03 13:11:51 +00:00
1ed6ede010
* 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.
2008-01-03 12:30:38 +00:00
542a88d0e4
* 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.
2008-01-03 11:39:35 +00:00
dc2bbab20c
2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
...
* MAINTAINERS (Write After Approval): Add self.
2008-01-03 10:33:10 +00:00
e0329a2266
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.
2008-01-03 05:29:53 +00:00
18a2244ddd
Add a missing ','.
2008-01-03 05:27:55 +00:00
a31ace0071
* gdb.base/set-lang-auto.exp: New testcase.
2008-01-03 04:26:57 +00:00
8b60591b5d
* 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.
2008-01-03 04:23:46 +00:00
a97fced314
* gdb.ada/fun_addr/foo.adb: New file.
...
* gdb.ada/fun_addr.exp: New testcase.
2008-01-03 04:12:24 +00:00
ceef53c1cb
* eval.c (evaluate_subexp_for_address): Provide frame address to
...
locate_var_value only if it will be needed.
2008-01-03 04:11:16 +00:00
f2a9c676b7
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.
2008-01-03 03:28:35 +00:00
615888ae9f
Fix a typo.
2008-01-03 00:02:26 +00:00
d6bb2c1530
*** empty log message ***
2008-01-03 00:00:05 +00:00
fc4adea1ba
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-i386.c (process_suffix): Fix a typo.
2008-01-02 23:55:45 +00:00
be2f3dec43
Add cast to avoid signed/unsigned warning.
2008-01-02 23:55:37 +00:00
d978b5be20
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.
2008-01-02 23:54:47 +00:00
cb29561284
Reduce the number of system calls. Use readv instead of pread. Do
...
better handling of cached views.
2008-01-02 23:48:49 +00:00
2745d86e69
daily update
2008-01-02 23:00:06 +00:00
582d5eddfe
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.
2008-01-02 21:43:34 +00:00
6c7ac64e17
Move 2007 ChangeLog entries to ChangeLog-2007.
2008-01-02 21:41:02 +00:00
e7c604dd09
* gas/mips/jalr.s: New test.
...
* gas/mips/jalr.l: New test output.
* gas/mips/mips.exp: Run new test.
2008-01-02 20:59:47 +00:00
ef29ce1ab3
* 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
2008-01-02 13:36:38 +00:00
0fafefe315
* array_subscript_addr/p.adb: New file.
...
* array_subscript_addr.exp: New testcase.
2008-01-02 12:06:38 +00:00
0a07e705b7
* 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.
2008-01-02 12:03:06 +00:00
c4359f8d00
* gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
...
New files.
* gdb.ada/str_cmp_ref.exp: New testcase.
2008-01-02 11:25:01 +00:00
f58b38bf6a
* ada-lang.c (ada_value_equal): Dereference reference types when
...
comparing arrays.
2008-01-02 11:18:03 +00:00
3fe15143a8
* m88k-dis.c (instructions): Fix fcvt.* instructions.
...
From Miod Vallat.
2008-01-02 00:37:44 +00:00
cb425d1007
*** empty log message ***
2008-01-02 00:00:33 +00:00
f986c652ba
daily update
2008-01-01 23:00:06 +00:00
9b254dd1ce
Updated copyright notices for most files.
2008-01-01 22:53:26 +00:00
33605d3962
* 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.
2008-01-01 18:42:08 +00:00
1aa1b15b3c
* 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.
2008-01-01 12:43:41 +00:00
29480c32d9
* 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.
2008-01-01 12:39:49 +00:00
81c9b2cf53
* 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.
2008-01-01 11:42:53 +00:00
969a136098
* ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
...
and always print the dereferenced value.
2008-01-01 11:39:07 +00:00
b7789565fa
* 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.
2008-01-01 07:38:37 +00:00
319e46745f
* gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
...
gdb.ada/interface/foo.adb: New files.
* gdb.ada/interface.exp: New testcase.
2008-01-01 07:25:45 +00:00
73fb998568
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.
2008-01-01 07:21:59 +00:00
636265b635
* top.c (print_gdb_version): Update copyright year.
2008-01-01 04:27:43 +00:00
9d200a2e61
* ChangeLog-2007: New ChangeLog rotation.
...
* ChangeLog: Reset for 2008.
* config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
ChangeLog-2007.
2008-01-01 04:20:42 +00:00