Markus Deuling
32c9a79572
* gdbarch.sh (function_list): Add new property bits_big_endian to
...
gdbarch structure.
* gdbarch.{c,h}: Regenerate.
* value.c (struct value): Replace BITS_BIG_ENDIAN by
gdbarch_bits_big_endian (comment).
(unpack_field_as_long, modify_field): Likewise.
* value.h: Likewise (comment).
* valops.c (value_slice): Likewise.
* valarith.c (value_subscript, value_bit_index): Likewise.
* gdbtypes.h (field): Likewise (comment).
* eval.c (evaluate_subexp_standard): Likewise.
* dwarf2read.c (dwarf2_add_field): Likewise.
* ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
(move_bits, ada_value_assign, value_assign_to_component): Likewise.
* defs.h (BITS_BIG_ENDIAN): Remove.
* gdbint.texinfo (Target Conditionals): Replace the description of
BITS_BIG_ENDIAN with a description of gdbarch_bits_big_endian.
2008-01-18 17:07:40 +00:00
Markus Deuling
1e5e79d0ce
* jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
...
function calls.
* m2-exp.y (yylex): Likewise.
* objc-exp.y (yylex): Likewise.
* defs.h (DEPRECATED_STREQN): Remove.
2008-01-18 09:12:19 +00:00
gdbadmin
a1632360f3
*** empty log message ***
2008-01-18 00:00:33 +00:00
H.J. Lu
fabda5a781
binutils/
...
2008-01-17 H.J. Lu <hjl.tools@gmail.com>
* MAINTAINERS: Update my email address.
gdb/
2008-01-17 H.J. Lu <hjl.tools@gmail.com>
* MAINTAINERS: Update my email address.
2008-01-17 23:48:20 +00:00
Alan Modra
a0b4e30059
daily update
2008-01-17 23:00:05 +00:00
Jim Blandy
92726479b2
* README: Mention gdbserver/README.
2008-01-17 20:18:48 +00:00
Pierre Muller
ef80d18e09
* valarith.c (value_binop): Handle BINOP_INTDIV
...
for unsigned and signed integers.
2008-01-17 19:55:09 +00:00
Ulrich Weigand
1de90795b9
* s390-tdep.c (s390_gdbarch_init): Set default long double
...
type to 128-bit IEEE quad.
2008-01-17 16:05:41 +00:00
Pedro Alves
c7dd36a172
* gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
...
and 'dummy_ptr' integer pointer. Initialize struct_declarations
with dummy_ptr's address.
* gdb.mi/var-cmd.c (do_children_tests): Likewise.
* gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
all targets.
* gdb.mi/mi2-var-child.exp: Likewise.
2008-01-17 14:34:22 +00:00
Joel Brobecker
c70bd6f33e
* hpux-thread.c (hpux_thread_resume): Delete commented-out code.
2008-01-17 05:51:08 +00:00
gdbadmin
ca2e663217
*** empty log message ***
2008-01-17 00:00:02 +00:00
Alan Modra
a0e0a074df
daily update
2008-01-16 23:00:05 +00:00
Mark Kettenis
c74ba40646
* common.h (AT_SUN_AUXFLAGS): Define.
2008-01-16 22:01:42 +00:00
Eric B. Weddington
982b62a030
/gas:
...
2008-01-03 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Change opcode set for avr3,
at90usb82, at90usb162.
* doc/c-avr.texi: Change architecture grouping for at90usb82,
at90usb162.
These changes support the new avr35 architecture group in gcc.
/include:
2008-01-03 Eric B. Weddington <eric.weddington@atmel.com>
* opcode/avr.h (AVR_ISA_USB162): Add new opcode set.
(AVR_ISA_AVR3): Likewise.
2008-01-16 17:59:07 +00:00
Mark Kettenis
77d49ac627
* auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
2008-01-16 16:27:37 +00:00
Mark Kettenis
ba759613c3
* dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
...
* value.c: All callers changed.
2008-01-16 16:16:44 +00:00
Markus Deuling
7ecb65322d
* rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
...
DEPRECATED_STREQ by its expression.
* coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
* xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
(scan_xcoff_symtab): Likewise.
* hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
* f-lang.c (find_common_for_function): Likewise.
* objc-exp.y (parse_number): Likewise.
* defs.h (DEPRECATED_STREQ): Remove.
2008-01-16 11:21:42 +00:00
Markus Deuling
d15cf01ce6
* mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
...
* mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
get_frame_arch to get at the current_architecture. Update AM33_MODE
call.
(mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
(mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
architecture.
(set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
2008-01-16 04:56:34 +00:00
Markus Deuling
f8028488ab
* amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
...
parameter.
* amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
(amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch. Update caller.
* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
(amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
the current architecture. Update calls of
amd64_native_gregset_supplies_p.
* amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
(amd64bsd_store_inferior_registers): Likewise.
2008-01-16 04:52:52 +00:00
Markus Deuling
e101270fb8
* ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
...
Replace current_gdbarch by gdbarch. Update caller.
2008-01-16 04:48:55 +00:00
Markus Deuling
063e58bab9
* dbxread.c (repeated_header_complaint, dbx_symfile_init)
...
(read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
(read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
(dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
(stabsect_build_psymtabs): Fix indentation.
2008-01-16 04:43:38 +00:00
Alan Modra
613d301d9e
update copyright
2008-01-16 01:29:42 +00:00
Alan Modra
14ac84b444
* ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
2008-01-16 01:28:21 +00:00
Michael Snyder
662fb31bbc
2008-01-15 Michael Snyder <msnyder@specifix.com>
...
* corelow.c (core_xfer_partial): Comment, cut/paste error.
2008-01-16 01:17:24 +00:00
Alan Modra
3d00b095cc
* ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
...
(lang_afile_asection_pair_statement_type): Delete.
(lang_statement_union_type): Delete afile_asection_pair_statement.
* ldlang.c (lang_insert_orphan): Delete case handling the above.
(map_input_to_output_sections, print_statement): Likewise.
2008-01-16 00:31:18 +00:00
H.J. Lu
fd07a1c880
gas/testsuite/
...
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/prescott.s: Add tests for movddup in Intel syntax.
* gas/i386/x86-64-prescott.s: Likewise.
* gas/i386/prescott.d: Updated.
* gas/i386/x86-64-prescott.d: Likewise.
opcodes/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Use Qword on movddup.
* i386-tbl.h: Regenerated.
2008-01-16 00:05:56 +00:00
gdbadmin
38177b2923
*** empty log message ***
2008-01-16 00:00:03 +00:00
Ian Lance Taylor
091244672e
From Andrew Chatham and Craig Silverstein: Add support for version
...
scripts.
2008-01-15 23:41:28 +00:00
Kaz Kojima
58da7b1b61
* emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
...
with __data_start.
* emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
2008-01-15 23:05:46 +00:00
Alan Modra
38147fd414
daily update
2008-01-15 23:00:05 +00:00
H.J. Lu
321fd21e2f
gas/
...
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Also zap movzx and movsx
suffix for AT&T syntax.
gas/testsuite/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.s: Add more tests for movsx and movzx.
* gas/i386/x86_64.s: Likewise.
* gas/i386/inval.s: Remove tests for movsxw and movzxw.
* gas/i386/x86-64-inval.s: Remove tests for movsxb, movsxw,
movsxl, movzxb and movzxw.
* gas/i386/i386.d: Updated.
* gas/i386/inval.l: Likewise.
* gas/i386/x86_64.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.
opcodes/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Put back 16bit movsx/movzx for AT&T syntax.
* i386-tbl.h: Regenerated.
2008-01-15 18:50:44 +00:00
H.J. Lu
4ee521786f
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-dis.c (Mx): New.
(PREFIX_0FC3): Likewise.
(PREFIX_0FC7_REG_6): Updated.
(dis386_twobyte): Use PREFIX_0FC3.
(prefix_table): Add PREFIX_0FC3. Use Mq on movntq and movntsd.
Use Mx on movntps, movntpd, movntdq and movntdqa. Use Md on
movntss.
2008-01-15 17:20:50 +00:00
Alan Modra
74f0fb5065
bfd/
...
PR 5604
* elf-bfd.h (struct elf_backend_data): Add gc_keep. Remove param
names from others.
(_bfd_elf_gc_keep): Declare.
* elfxx-target.h (elf_backend_gc_keep): Define.
(elfNN_bed): Init new field.
* elflink.c (_bfd_elf_gc_keep): New function.
(bfd_elf_gc_sections): Call gc_keep.
* elf64-ppc.c (elf_backend_gc_keep): Define.
(struct _ppc64_elf_section_data): Move .opd related fields to
a struct so they don't occupy the same storage. Adjust accesses
throughout file.
(ppc64_elf_gc_keep): New function, split out from..
(ppc64_elf_gc_mark_hook): ..here. Don't call _bfd_elf_gc_mark
to mark .opd section, just set gc_mark.
(ppc64_elf_edit_opd): Remove no_opd_opt parm. Don't set opd->adjust
unless we are changing .opd. Test non-NULL opd->adjust at all
accesses throughout file.
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
ld/
PR 5604
* ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
syms to _bfd_elf_gc_keep.
* emultempl/ppc64elf.em (ppc_before_allocation): Don't call
ppc64_elf_edit_opd if no_opd_opt.
2008-01-15 07:25:49 +00:00
H.J. Lu
5c07affcae
gas/
...
2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_reg_size): New.
(match_mem_size): Likewise.
(operand_size_match): Likewise.
(operand_type_match): Also clear all size fields.
(match_template): Skip Intel syntax when in AT&T syntax.
Call operand_size_match to check operand size.
(i386_att_operand): Set the mem field to 1 for memory
operand.
(i386_intel_operand): Likewise.
gas/testsuite/
2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.s: Add tests for movsx, movzx and movnti.
* gas/i386/inval.s: Likewise.
* gas/i386/x86_64.s: Likewise.
* gas/i386/x86-64-inval.s: Likewise.
* gas/i386/i386.d: Updated.
* gas/i386/inval.l: Likewise.
* gas/i386/x86_64.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.
opcodes/
2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Add IntelSyntax.
(operand_types): Add Mem.
* i386-opc.h (IntelSyntax): New.
* i386-opc.h (Mem): New.
(Byte): Updated.
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Add intelsyntax.
(i386_operand_type): Add mem.
* i386-opc.tbl: Remove Reg16 from movnti. Add sizes to more
instructions.
* i386-reg.tbl: Add size for accumulator.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2008-01-15 01:37:56 +00:00
Alan Modra
787daa7a0b
* bfd-in.h (BFD_HOST_LONG_LONG): Delete.
...
* bfd-in2.h: Regenerate.
2008-01-15 00:54:22 +00:00
gdbadmin
8ae5e5b216
*** empty log message ***
2008-01-15 00:00:03 +00:00
Alan Modra
77c0084bcb
daily update
2008-01-14 23:00:05 +00:00
Hans-Peter Nilsson
3becfab9d2
* ld-gc/gc.exp (test_gc): Let missing C compiler make tests
...
"untested" instead of "failed".
2008-01-14 19:52:43 +00:00
Nick Clifton
cc86f28f31
(DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
...
when the .debug_info section could not be loaded/parsed.
(process_debug_info): Display the length of the compilation unit
in hex, so that it corresponds with the offsets that will follow.
Tell the user if the length was 32-bit or 64-bit.
If a DIE abbreviation could not be found, tell the user the offset
of the DIE.
(free_debug_memory): Do not attempt to free any entries in the
debug_information array if num_debug_info_entries is set to
DEBUG_INFO_UNAVAILABLE.
2008-01-14 14:53:47 +00:00
Nick Clifton
1febe64d96
* dwarf.c (process_debug_info): Include the CU offset and corrupt
...
version value when reporting unrecognised DWARF version numbers.
(load_debug_info): Remember a failed attempt to load and parse the
.debug_info section and do not repeat such attempts.
(display_debug_lines): Check the return value from load_debug_info
and return whilst displaying a warning message if the load failed.
(display_debug_loc): Likewise.
(display_debug_ranges): Likewise.
2008-01-14 12:26:57 +00:00
Pierre Muller
c1766e7d3e
* win32-nat.c (win32_create_inferior): Restore code calling
...
CloseHandle on ProcessInformation structure.
2008-01-14 08:01:15 +00:00
H.J. Lu
0d6a2f58b8
2008-01-13 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-opc.h (Byte): Fix a typo.
2008-01-14 05:15:06 +00:00
gdbadmin
ce772e9db5
*** empty log message ***
2008-01-14 00:00:03 +00:00
Alan Modra
5aad2f08b7
daily update
2008-01-13 23:00:05 +00:00
Nick Hudson
5ed10e6edf
* configure.ac: Check for void * as 3 argument of ptrace.
...
* configure: regenerate.
2008-01-13 12:23:05 +00:00
gdbadmin
5d3e4fe304
*** empty log message ***
2008-01-13 00:00:03 +00:00
Alan Modra
e3822b2881
daily update
2008-01-12 23:00:05 +00:00
H.J. Lu
7d5e4556a3
gas/testsuite/
...
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* gas/i386/i386.s: Add tests for fnstsw and fstsw.
* gas/i386/inval.s: Likewise.
* gas/i386/x86_64.s: Likewise.
* gas/i386/intel.s: Use word instead of dword on ss.
* gas/i386/x86-64-inval.s: Add tests for fnstsw, fstsw, in
and out.
* gas/i386/prefix.s: Remove invalid fstsw.
* gas/i386/inval.l: Updated.
* gas/i386/intelbad.l: Likewise.
* gas/i386/i386.d: Likewise.
* gas/i386/x86_64.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.
* gas/i386/prefix.d: Updated.
gas/
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* config/tc-i386.c (_i386_insn): Update comment.
(operand_type_match): Also clear unspecified.
(operand_type_register_match): Likewise.
(parse_operands): Initialize unspecified.
(i386_intel_operand): Likewise.
(match_template): Check memory and accumulator operand size.
(i386_att_operand): Clear unspecified on register operand.
(intel_e11): Likewise.
(intel_e09): Set operand size and clean unspecified for
"XXX PTR".
opcodes/
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* i386-gen.c (operand_type_init): Add Dword to
OPERAND_TYPE_ACC32. Add Qword to OPERAND_TYPE_ACC64.
(opcode_modifiers): Remove CheckSize, Byte, Word, Dword,
Qword and Xmmword.
(operand_types): Add Byte, Word, Dword, Fword, Qword, Tbyte,
Xmmword, Unspecified and Anysize.
(set_bitfield): Make Mmword an alias of Qword. Make Oword
an alias of Xmmword.
* i386-opc.h (CheckSize): Removed.
(Byte): Updated.
(Word): Likewise.
(Dword): Likewise.
(Qword): Likewise.
(Xmmword): Likewise.
(FWait): Updated.
(OTMax): Likewise.
(i386_opcode_modifier): Remove checksize, byte, word, dword,
qword and xmmword.
(Fword): New.
(TBYTE): Likewise.
(Unspecified): Likewise.
(Anysize): Likewise.
(i386_operand_type): Add byte, word, dword, fword, qword,
tbyte xmmword, unspecified and anysize.
* i386-opc.tbl: Updated to use Byte, Word, Dword, Fword, Qword,
Tbyte, Xmmword, Unspecified and Anysize.
* i386-reg.tbl: Add size for accumulator.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2008-01-12 16:05:42 +00:00
Joel Brobecker
b17828ca41
* gdb.texinfo (C Operators): Remove incorrect parenthetical comment
...
about &&var, which is rejected by the expression parser.
2008-01-12 08:36:10 +00:00
gdbadmin
ad7d4e6455
*** empty log message ***
2008-01-12 00:00:33 +00:00