Hans-Peter Nilsson [Thu, 4 Nov 2004 15:00:37 +0000 (15:00 +0000)]
* configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED
DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like
cris-*-linux-gnu* and crisv32-*-* like cris-*-*.
* configure: Regenerate.
* config/tc-cris.c (enum cris_archs): New.
(cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg)
(cris_insn_ver_valid_for_arch): New functions.
(DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10.
(cris_arch): New variable.
(md_pseudo_table): New pseudo .arch.
(err_for_dangerous_mul_placement): Initialize according to
DEFAULT_CRIS_ARCH.
(STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH.
All users changed.
(STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON)
(STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32)
(BRANCH_WF_V32, BRANCH_WB_V32): New.
(BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after
use in md_cris_relax_table.
(md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32,
STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
Update and improve head comment.
(OPTION_PIC): Define in terms of previous option, OPTION_US.
(OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar.
(OPTION_ARCH): New.
(md_longopts): New option --march=...
(cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New
macros.
(md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH.
(HANDLE_RELAXABLE): New macro.
(md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common
cases. Check for weak symbols and assume not relaxable. Handle
STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON,
STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not
fragP->fr_symbol.
(md_convert_frag): Handle STATE_COND_BRANCH_V32,
STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
(cris_create_short_jump): Adjust for CRISv32.
(md_create_long_jump): Ditto. Emit error for common_v10_v32.
(md_begin): Define symbols "..asm.arch.cris.v32",
"..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and
"..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch
when entering opcode table entry points.
(md_assemble): Adjust branch handling for CRISv32. Handle LAPC
relaxation. In fix_new_exp call for main insn, pass 1 for pcrel
parameter for 8, 16 and 32-bit pc-relative insns and LAPC.
(cris_process_instruction): Initialize out_insnp->insn_type to
CRIS_INSN_NONE, not CRIS_INSN_NORMAL.
<case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New
cases.
<case 'm'>: Check that modified_char == '.'.
<invalid operands>: Consume the rest of the line.
When operands don't match, skip over subsequent insns with
non-matching version specifier but same mnemonic.
<immediate constant, case SIZE_SPEC_REG>: Immediate operands for
special registers in CRISv32 are always 32 bit long.
<immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>:
New cases.
(get_gen_reg): Only recognize "PC" when followed by "+]" for v32
and compatible. Recognize "ACR" for v32, unless followed by "+".
(get_spec_reg): Consider cris_arch when looking up register.
(get_autoinc_prefix_or_indir_op): Don't recognize assignment for
v32 or compatible.
(get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'.
(cris_get_expression): Restore input_line_pointer if failing "early".
(get_flags): Consider cris_arch and recognize flags accordingly.
(branch_disp): Adjust for CRISv32.
(gen_cond_branch_32): Similar. Emit error for common_v10_v32.
(cris_number_to_imm): Use as_bad_where, not as_bad. Remove
related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be
resolved. Don't enter zeros in object file for
BFD_RELOC_32_PCREL.
<case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16>
<case BFD_RELOC_CRIS_SIGNED_8>: New case.
(md_parse_option): Break out "return 1".
<OPTION_ARCH> New case.
(tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET>
<case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8>
<case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16>
<case BFD_RELOC_32_PCREL>: New cases.
Addends for non-zero fx_pcrel are too in fx_offset.
(md_show_usage): Show --march=<arch>.
(md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET.
(md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too.
(s_syntax) <struct syntaxes>: Properly constify member operand.
* config/tc-cris.h (TARGET_MACH): Define.
(cris_mach): Declare.
* doc/as.texinfo (Overview) <CRIS>: Add --march=...
* doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols.
(CRIS-Opts): Document --march=...
(CRIS-Pseudos): Document .arch.
Hans-Peter Nilsson [Thu, 4 Nov 2004 14:58:13 +0000 (14:58 +0000)]
* config.bfd: Support crisv32-*-* like cris-*-*.
* archures.c (bfd_mach_cris_v0_v10, bfd_mach_cris_v32)
(bfd_mach_cris_v10_v32): New macros.
* cpu-cris.c: Tweak formatting.
(get_compatible): New function.
(N): New macro.
(bfd_cris_arch_compat_v10_v32, bfd_cris_arch_v32): New
bfd_arch_info_type:s.
(bfd_cris_arch): Use bfd_mach_cris_v0_v10 for member mach,
get_compatible for member compatible and link bfd_cris_arch_v32 as
next.
* elf32-cris.c (cris_elf_pcrel_reloc)
(cris_elf_set_mach_from_flags): New functions.
(cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL>
<R_CRIS_32_PCREL>: Use cris_elf_pcrel_reloc.
(cris_elf_grok_prstatus, cris_elf_grok_psinfo): Give correct
numbers for bfd_mach_cris_v32.
(PLT_ENTRY_SIZE_V32): New macro.
(elf_cris_plt0_entry): Drop last comma in initializer.
(elf_cris_plt0_entry_v32, elf_cris_plt_entry_v32)
(elf_cris_pic_plt0_entry_v32, elf_cris_pic_plt_entry_v32): New
PLT initializers.
(cris_elf_relocate_section): Change all "%B(%A)" messages to
"%B, section %A".
(elf_cris_finish_dynamic_symbol): Do V32-specific PLT entries.
(elf_cris_finish_dynamic_sections): Similar.
(elf_cris_adjust_dynamic_symbol): Similar.
(cris_elf_check_relocs): Change all "%B(%A)" messages to "%B,
section %A".
<switch with PIC relocs>: Emit error and return FALSE for
bfd_mach_cris_v10_v32.
<case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>:
Emit warning when generating textrel reloc.
(cris_elf_object_p): Call cris_elf_set_mach_from_flags.
(cris_elf_final_write_processing): Set flags according to mach.
(cris_elf_print_private_bfd_data): Display
EF_CRIS_VARIANT_COMMON_V10_V32 and EF_CRIS_VARIANT_V32.
(cris_elf_merge_private_bfd_data): Drop variables old_flags,
new_flags. Don't call cris_elf_final_write_processing. Don't
look at the actual elf header flags at all; use
bfd_get_symbol_leading_char to check ibfd, obfd. Trap difference
in bfd_get_mach for ibfd and obfd and handle merging of compatible
objects.
(bfd_elf32_bfd_copy_private_bfd_data): Define.
* reloc.c (BFD_RELOC_CRIS_SIGNED_8, BFD_RELOC_CRIS_UNSIGNED_8)
(BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_UNSIGNED_16)
(BFD_RELOC_CRIS_LAPCQ_OFFSET): New relocs.
* bfd-in2.h, libbfd.h: Regenerate.
Hans-Peter Nilsson [Thu, 4 Nov 2004 14:54:38 +0000 (14:54 +0000)]
Generally, handle CRISv32.
* cris-dis.c (TRACE_CASE): Define as (disdata->trace_case).
(struct cris_disasm_data): New type.
(format_reg, format_hex, cris_constraint, print_flags)
(get_opcode_entry): Add struct cris_disasm_data * parameter. All
callers changed.
(format_sup_reg, print_insn_crisv32_with_register_prefix)
(print_insn_crisv32_without_register_prefix)
(print_insn_crisv10_v32_with_register_prefix)
(print_insn_crisv10_v32_without_register_prefix)
(cris_parse_disassembler_options): New functions.
(bytes_to_skip, cris_spec_reg): Add enum cris_disass_family
parameter. All callers changed.
(get_opcode_entry): Call malloc, not xmalloc. Return NULL on
failure.
(cris_constraint) <case 'Y', 'U'>: New cases.
(bytes_to_skip): Handle 'Y' and 'N' as 's'. Skip size is 4 bytes
for constraint 'n'.
(print_with_operands) <case 'Y'>: New case.
(print_with_operands) <case 'T', 'A', '[', ']', 'd', 'n', 'u'>
<case 'N', 'Y', 'Q'>: New cases.
(print_insn_cris_generic): Emit "bcc ." for zero and CRISv32.
(print_insn_cris_with_register_prefix)
(print_insn_cris_without_register_prefix): Call
cris_parse_disassembler_options.
* cris-opc.c (cris_spec_regs): Mention that this table isn't used
for CRISv32 and the size of immediate operands. New v32-only
entries for bz, pid, srs, wz, exs, eda, dz, ebp, erp, nrp, ccs and
spc. Add v32-only 4-byte entries for p2, p3, p5 and p6. Change
ccr, ibr, irp to be v0..v10. Change bar, dccr to be v8..v10.
Change brp to be v3..v10.
(cris_support_regs): New vector.
(cris_opcodes): Update head comment. New format characters '[',
']', space, 'A', 'd', 'N', 'n', 'Q', 'T', 'u', 'U', 'Y'.
Add new opcodes for v32 and adjust existing opcodes to accommodate
differences to earlier variants.
(cris_cond15s): New vector.
Hans-Peter Nilsson [Thu, 4 Nov 2004 14:53:41 +0000 (14:53 +0000)]
* cris.h (enum cris_insn_version_usage): Tweak formatting and
comments. Remove member cris_ver_sim. Add members
cris_ver_sim_v0_10, cris_ver_v0_10, cris_ver_v3_10,
cris_ver_v8_10, cris_ver_v10, cris_ver_v10p.
(struct cris_support_reg, struct cris_cond15): New types.
(cris_conds15): Declare.
(JUMP_PC_INCR_OPCODE_V32, BA_DWORD_OPCODE, NOP_OPCODE_COMMON)
(NOP_OPCODE_ZBITS_COMMON, LAPC_DWORD_OPCODE, LAPC_DWORD_Z_BITS)
(NOP_OPCODE_V32, NOP_Z_BITS_V32): New macros.
(NOP_Z_BITS): Define in terms of NOP_OPCODE.
(cris_imm_oprnd_size_type): New members SIZE_FIELD_SIGNED and
SIZE_FIELD_UNSIGNED.
Hans-Peter Nilsson [Thu, 4 Nov 2004 14:53:19 +0000 (14:53 +0000)]
* cris.h (EF_CRIS_VARIANT_MASK, EF_CRIS_VARIANT_ANY_V0_V10)
(EF_CRIS_VARIANT_V32, EF_CRIS_VARIANT_COMMON_V10_V32): New
macros.
Hans-Peter Nilsson [Thu, 4 Nov 2004 14:39:11 +0000 (14:39 +0000)]
Format last entry
Alan Modra [Thu, 4 Nov 2004 11:55:13 +0000 (11:55 +0000)]
bfd/
* elf64-ppc.h (ppc64_elf_edit_toc): Declare.
* elf64-ppc.c (struct ppc_link_hash_entry <adjust_done>): Update
comment.
(struct adjust_toc_info): New.
(adjust_toc_syms, ppc64_elf_edit_toc): New functions.
ld/
* emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
(no_opd_opt, no_toc_opt): New static vars.
(ppc_before_allocation): Don't edit opt if no_opd_opt. Call
ppc64_elf_edit_toc.
(OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
(PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
(PARSE_AND_LIST_OPTIONS): Describe new options.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
Jan Beulich [Thu, 4 Nov 2004 09:16:09 +0000 (09:16 +0000)]
gas/
2004-11-04 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (set_intel_syntax): Allow % in symbol names when
intel syntax and no register prefix, allow $ in symbol names when
intel syntax.
(set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX.
(intel_float_operand): Add fourth return value indicating math control
operations. Make classification more precise.
(md_assemble): Complain if memory operand of mov[sz]x has no size
specified.
(parse_insn): Translate word operands to floating point instructions
operating on integers as well as control instructions to short ones
as expected by AT&T syntax. Translate 'd' suffix to short one only for
floating point instructions operating on non-integer operands.
(match_template): Remove fldcw special case. Adjust q-suffix handling
to permit it on fild/fistp/fisttp in AT&T mode.
(process_suffix): Don't guess DefaultSize insns' suffix from
stackop_size for certain floating point control instructions. Guess
suffix for branch and [ls][gi]dt based on flag_code. Split error
messages for Intel and AT&T syntax, and make the condition more strict
for the former. Adjust suppressing of generation of operand size
overrides.
(intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE,
OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add
more error checking.
* config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR
SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines.
gas/testsuite/
2004-11-04 Jan Beulich <jbeulich@novell.com>
* gas/i386/i386.exp: Execute new tests intelbad and intelok.
* gas/i386/intelbad.[sl]: New test to check for various things not
permitted in Intel mode.
* gas/i386/intel.d, gas/i386/opcode.d, gas/i386/x86-64-opcode.d:
Adjust for change to segment register store.
* gas/i386/intelok.[sd]: New test to check various Intel mode specific
things get handled correctly.
* gas/i386/x86_64.[sd]: Remove unsupported constructs referring to
'high' and 'low' parts of an operand, which the parser previously
accepted while neither telling that it's not supported nor that it
ignored the remainder of the line following these supposed keywords.
include/opcode/
2004-11-04 Jan Beulich <jbeulich@novell.com>
* i386.h (sldx_Suf): Remove.
(FP, l_FP, sl_FP, x_FP): Don't imply IgnoreSize.
(q_FP): Define, implying no REX64.
(x_FP, sl_FP): Imply FloatMF.
(i386_optab): Split reg and mem forms of moving from segment registers
so that the memory forms can ignore the 16-/32-bit operand size
distinction. Adjust a few others for Intel mode. Remove *FP uses from
all non-floating-point instructions. Unite 32- and 64-bit forms of
movsx, movzx, and movd. Adjust floating point operations for the above
changes to the *FP macros. Add DefaultSize to floating point control
insns operating on larger memory ranges. Remove left over comments
hinting at certain insns being Intel-syntax ones where the ones
actually meant are already gone.
opcodes/
2004-11-04 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (Eq, Edqw, indirEp, Gdq, I1): Define.
(indirEb): Remove.
(Mp): Use f_mode rather than none at all.
(t_mode, dq_mode, dqw_mode, f_mode, const_1_mode): Define. t_mode
replaces what previously was x_mode; x_mode now means 128-bit SSE
operands.
(dis386): Make far jumps and calls have an 'l' prefix only in AT&T
mode. movmskpX's, pextrw's, and pmovmskb's first operands are Gdq.
pinsrw's second operand is Edqw.
(grps): 1-bit shifts' and rotates' second operands are I1. cmpxchg8b's
operand is Eq. movntq's and movntdq's first operands are EM. s[gi]dt,
fldenv, frstor, fsave, fstenv all should also have suffixes in Intel
mode when an operand size override is present or always suffixing.
More instructions will need to be added to this group.
(putop): Handle new macro chars 'C' (short/long suffix selector),
'I' (Intel mode override for following macro char), and 'J' (for
adding the 'l' prefix to far branches in AT&T mode). When an
alternative was specified in the template, honor macro character when
specified for Intel mode.
(OP_E): Handle new *_mode values. Correct pointer specifications for
memory operands. Consolidate output of index register.
(OP_G): Handle new *_mode values.
(OP_I): Handle const_1_mode.
(OP_ESreg, OP_DSreg): Generate pointer specifications. Indicate
respective opcode prefix bits have been consumed.
(OP_EM, OP_EX): Provide some default handling for generating pointer
specifications.
Kazuhiro Inaoka [Thu, 4 Nov 2004 02:19:33 +0000 (02:19 +0000)]
Fix TYPO.
Kazuhiro Inaoka [Thu, 4 Nov 2004 02:15:20 +0000 (02:15 +0000)]
2004-11-04 Kei Sakamoto <sakamoto.kei@denesas.com>
* Makefile.in (m32r-tdep.o): Update dependencies.
* m32r-tdep.c (m32r_gdbarch_init): Call gdbarch_init_osabi for
ABI-specific overrides.
Bob Wilson [Thu, 4 Nov 2004 00:44:23 +0000 (00:44 +0000)]
* elf.c (assign_file_positions_for_segments): Set next_file_pos even
if there are no segments.
Kazuhiro Inaoka [Thu, 4 Nov 2004 00:40:39 +0000 (00:40 +0000)]
2004-11-04 Kei Sakamoto <sakamoto.kei@denesas.com>
* m32r-tdep.c (m32r_memory_insert_breakpoint): Remove
unnecessary parallel execution bit.
(m32r_memory_remove_breakpoint): Ditto.
(m32r_breakpoint_from_pc): Update.
gdbadmin [Thu, 4 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Randolph Chung [Wed, 3 Nov 2004 23:20:43 +0000 (23:20 +0000)]
2004-11-03 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Use frame_pc_unwind instead of
frame_func_unwind to locate the unwind entry.
(hppa_frame_this_id): Likewise.
Alan Modra [Wed, 3 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Wed, 3 Nov 2004 14:46:18 +0000 (14:46 +0000)]
2004-11-03 Andrew Cagney <cagney@gnu.org>
* gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
Andrew Cagney [Wed, 3 Nov 2004 14:37:57 +0000 (14:37 +0000)]
Fix last changelog.
Andrew Cagney [Wed, 3 Nov 2004 14:33:54 +0000 (14:33 +0000)]
2004-11-01 Andrew Cagney <cagney@gnu.org>
* gdb/NEWS: Mention internationalization, m32r-*-linux-gnu, 'p'
packet, obsolete configurations, end-of-life deprecated_registers.
Nick Clifton [Wed, 3 Nov 2004 10:44:45 +0000 (10:44 +0000)]
Add support to readelf to decode and display the contents of .debug_ranges
sections.
Alan Modra [Wed, 3 Nov 2004 02:21:57 +0000 (02:21 +0000)]
* readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
unw_aux_info and unw_table_entry.
(find_symbol_for_address): Pass symtab and strtab info explicitly.
(dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
prefix.
(slurp_ia64_unwind_table): Likewise.
(ia64_process_unwind): Rename from old process_unwind.
(hppa_unw_aux_info): New.
(dump_hppa_unwind): New.
(slurp_hppa_unwind_table): New.
(hppa_process_unwind): New.
(process_unwind): Factor out common unwinding checks; dispatch to
unwind handler based on machine type.
Hans-Peter Nilsson [Wed, 3 Nov 2004 01:54:25 +0000 (01:54 +0000)]
* symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare
md_short_jump_size, md_long_jump_size.
* write.c [!WORKING_DOT_WORD]: Ditto.
* tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const
qualifier.
* config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't
declare.
* config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop
const qualifier in these definitions.
* config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c,
config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto.
gdbadmin [Wed, 3 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 2 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Tue, 2 Nov 2004 22:25:47 +0000 (22:25 +0000)]
* dwarf2-frame.c (read_encoded_value): Set proper size for signed
encodings as well as unsigned encodings.
Daniel Jacobowitz [Tue, 2 Nov 2004 16:24:35 +0000 (16:24 +0000)]
* config.bfd: Mark arm-*-oabi and thumb-*-oabi as obsolete.
Andrew Cagney [Tue, 2 Nov 2004 14:18:14 +0000 (14:18 +0000)]
2004-11-02 Andrew Cagney <cagney@gnu.org>
* value.h (COERCE_VARYING_ARRAY): Delete.
* valops.c (value_cast, value_slice): Delete use.
* valarith.c (value_subscript, value_concat): Delete use.
Nick Clifton [Tue, 2 Nov 2004 12:52:32 +0000 (12:52 +0000)]
Convert to ISO C90
Nick Clifton [Tue, 2 Nov 2004 09:54:12 +0000 (09:54 +0000)]
(display_debug_lines): Fix typo in error message.
Nick Clifton [Tue, 2 Nov 2004 09:49:25 +0000 (09:49 +0000)]
(dwarf2_finish): Check for the existence of a file table before deciding to
produce a .debug_line section to match up with a user provided .debug_info
section.
Paul N. Hilfinger [Tue, 2 Nov 2004 09:41:00 +0000 (09:41 +0000)]
NEWS: GDB understands GNAT Ada.
Hans-Peter Nilsson [Tue, 2 Nov 2004 05:51:13 +0000 (05:51 +0000)]
Correct last entry: s/SYMBOL/TABLE_/
Hans-Peter Nilsson [Tue, 2 Nov 2004 05:44:34 +0000 (05:44 +0000)]
* elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_SYMBOL.
Hans-Peter Nilsson [Tue, 2 Nov 2004 05:40:05 +0000 (05:40 +0000)]
* ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d,
ld-cris/expdyn7.d, ld-cris/gotplt1.d, ld-cris/gotplt2.d,
ld-cris/gotplt3.d, ld-cris/hiddef1.d, ld-cris/libdso-2.d,
ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/weakref2.d,
ld-i386/tlsbin.rd, ld-i386/tlsnopic.rd, ld-i386/tlspic.rd,
ld-ia64/tlsbin.dd, ld-ia64/tlsbin.rd, ld-ia64/tlspic.dd,
ld-ia64/tlspic.rd, ld-powerpc/tlsexe32.d, ld-powerpc/tlsexe32.g,
ld-powerpc/tlsexe32.r, ld-powerpc/tlsexe32.t,
ld-powerpc/tlsso32.d, ld-powerpc/tlsso32.g, ld-powerpc/tlsso32.r,
ld-powerpc/tlsso32.t, ld-s390/tlsbin.dd, ld-s390/tlsbin.rd,
ld-s390/tlspic.rd, ld-sparc/tlssunbin32.rd,
ld-sparc/tlssunpic32.rd, ld-x86-64/tlsbin.rd, ld-x86-64/tlspic.dd,
ld-x86-64/tlspic.rd: Adjust for _GLOBAL_OFFSET_TABLE_ now hidden.
gdbadmin [Tue, 2 Nov 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 1 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Joseph Myers [Mon, 1 Nov 2004 21:05:56 +0000 (21:05 +0000)]
* Makefile.in (ALLDEPFILES): Add amd64-sol2-tdep.c.
(amd64-sol2-tdep.o): Add dependencies.
* amd64-sol2-tdep.c, config/i386/sol2-64.mh,
config/i386/sol2-64.mt: New files.
* i386-sol2-nat.c (amd64_sol2_gregset64_reg_offset,
amd64_sol2_gregset32_reg_offset, _initialize_amd64_sol2_nat): New.
(supply_gregset): Correct order of arguments to
amd64_supply_native_gregset.
(fill_gregset): Correct order of arguments to
amd64_collect_native_gregset.
* configure.host (i[34567]86-*-solaris2.1[0-9]*): Add new case.
* configure.tgt (i[34567]86-*-solaris2.1[0-9]*): Likewise.
* configure.in (*-*-solaris2.[[6789]]): Add *-*-solaris2.1[[0-9]]
for definition of NEW_PROC_API.
* configure: Regenerate.
Joseph Myers [Mon, 1 Nov 2004 21:01:25 +0000 (21:01 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
Andrew Cagney [Mon, 1 Nov 2004 14:44:58 +0000 (14:44 +0000)]
2004-11-01 Andrew Cagney <cagney@gnu.org>
* configure.tgt: Mark d10v-*-* as obsolete.
* config/d10v/d10v.mt, d10v-tdep.c: Obsolete files.
Paul N. Hilfinger [Mon, 1 Nov 2004 11:14:38 +0000 (11:14 +0000)]
* values.c (modify_field): Correct handling of bit-fields that
don't fit in 32 bits. Use unsigned operations throughout and
simplify the code a bit. Document preconditions.
Andrew Cagney [Mon, 1 Nov 2004 00:01:11 +0000 (00:01 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* config/pa/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE.
* config/tm-sysv4.h (IN_SOLIB_CALL_TRAMPOLINE): Delete.
(in_plt_section): Delete.
gdbadmin [Mon, 1 Nov 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 31 Oct 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sun, 31 Oct 2004 21:51:58 +0000 (21:51 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (mips_in_solib_return_trampoline): Delete.
(mips_gdbarch_init): Do not set same.
Andrew Cagney [Sun, 31 Oct 2004 21:42:32 +0000 (21:42 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* arch-utils.c (generic_in_solib_call_trampoline): Delete.
* arch-utils.h (generic_in_solib_call_trampoline): Delete.
Andrew Cagney [Sun, 31 Oct 2004 21:21:41 +0000 (21:21 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (in_solib_call_trampoline): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
Andrew Cagney [Sun, 31 Oct 2004 21:09:28 +0000 (21:09 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* hppa-tdep.c (hppa_stub_unwind_sniffer): Replace
IN_SOLIB_CALL_TRAMPOLINE with tdep.in_solib_call_trampoline.
* hppa-tdep.h (struct gdbarch_tdep): Add in_solib_call_trampoline.
* hppa-hpux-tdep.c (hppa_hpux_init_abi): Set same.
* hppa-linux-tdep.c (hppa_linux_init_abi): Ditto.
Mark Kettenis [Sun, 31 Oct 2004 20:47:55 +0000 (20:47 +0000)]
* mipsnbsd-nat.c: Include "target.h" and "inf-ptrace.h".
(mipsnbsd_fetch_inferior_registers): Rename from
fetch_inferior_registers. Make static.
(mipsnbsd_store_inferior_registers): Rename from
store_inferior_registers. Make static.
(_initialize_mipsnbsd_nat): New function and prototype.
* Makefile.in (mipsnbsd-nat.o): Update dependencies.
* config/mips/nbsd.mh (NAT_CLIBS, NAT_FILE): Remove variables.
(NATDEPFILES): Remove infptrace.o and inftarg.o. Add
inf-ptrace.o.
Mark Kettenis [Sun, 31 Oct 2004 20:37:00 +0000 (20:37 +0000)]
* i386v4-nat.c (supply_gregset, supply_fpregset, fill_gregset)
(fill_fpregset): Do not compile for 64-bit systems.
* i386-sol2-nat.c: Don't include "i386v4-nat.c".
* Makefile.in (i386-sol2-nat.o): Update dependencies.
* config/i386/i386sol2.mh (NATDEPFILES): Add back i386v4-nat.c.
Andrew Cagney [Sun, 31 Oct 2004 20:36:35 +0000 (20:36 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* xstormy16-tdep.c (xstormy16_in_solib_call_trampoline)
(xstormy16_gdbarch_init): Do not set in_solib_call_trampoline,
delete corresponding unused function.
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): Really do not set
in_solib_call_trampoline.
* config/arm/tm-embed.h (IN_SOLIB_CALL_TRAMPOLINE): Delete.
* config/powerpc/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE.
* config/mips/tm-nbsd.h: Ditto.
* config/arm/tm-linux.h: Ditto.
* config/mips/tm-linux.h: Ditto.
Andrew Cagney [Sun, 31 Oct 2004 20:24:32 +0000 (20:24 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* armnbsd-tdep.c (arm_netbsd_aout_init_abi)
(arm_netbsd_aout_in_solib_call_trampoline): Do not set
in_solib_call_trampoline, delete corresponding unused function.
* vaxnbsd-tdep.c (vaxnbsd_aout_in_solib_call_trampoline)
(vaxnbsd_aout_init_abi): Ditto.
* sparcnbsd-tdep.c (sparcnbsd_aout_in_solib_call_trampoline)
(sparc32nbsd_aout_init_abi): Ditto.
* ppc-linux-tdep.c (ppc64_in_solib_call_trampoline)
(ppc_linux_init_abi): Ditto.
* ns32knbsd-tdep.c (ns32knbsd_aout_in_solib_call_trampoline)
(ns32knbsd_init_abi_aout): Ditto.
* mips-tdep.c (mips_in_call_stub, mips_gdbarch_init): Ditto.
* mips-linux-tdep.c (mips_linux_init_abi): Ditto.
* m68kbsd-tdep.c (m68kbsd_aout_in_solib_call_trampoline)
(m68kbsd_aout_init_abi): Ditto.
* i386-cygwin-tdep.c (i386_cygwin_in_solib_call_trampoline)
(i386_cygwin_init_abi): Ditto.
* i386bsd-tdep.c (i386bsd_aout_in_solib_call_trampoline)
(i386bsd_init_abi): Ditto.
Andrew Cagney [Sun, 31 Oct 2004 19:52:47 +0000 (19:52 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* sparc-sol2-tdep.c (sparc32_sol2_init_abi): Do not set
in_solib_call_trampoline to in_plt_entry, IN_SOLIB_CALL_TRAMPOLINE
isn't used by this architecture.
* sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Ditto.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Ditto.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
* m68klinux-tdep.c (m68k_linux_init_abi): Ditto.
* i386-tdep.c (i386_svr4_init_abi): Ditto.
* i386-nto-tdep.c (i386nto_init_abi): Ditto.
* arm-linux-tdep.c (arm_linux_init_abi): Ditto.
* amd64-tdep.c (amd64_init_abi): Ditto.
Andrew Cagney [Sun, 31 Oct 2004 19:43:30 +0000 (19:43 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* vaxnbsd-tdep.c (vaxnbsd_elf_init_abi): Do not set
in_solib_call_trampoline to its default value of
generic_in_solib_call_trampoline.
* ppcobsd-tdep.c (ppcobsd_init_abi): Ditto.
* m68kbsd-tdep.c (m68kbsd_elf_init_abi): Ditto.
* i386obsd-tdep.c (i386obsd_elf_init_abi): Ditto.
* i386nbsd-tdep.c (i386nbsdelf_init_abi): Ditto.
* i386fbsd-tdep.c (i386fbsd_init_abi): Ditto.
* hppabsd-tdep.c (hppabsd_init_abi): Ditto.
Andrew Cagney [Sun, 31 Oct 2004 19:25:49 +0000 (19:25 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (mips_dump_tdep): Don't print any of the macros.
Andrew Cagney [Sun, 31 Oct 2004 18:40:55 +0000 (18:40 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* config/mips/obsd64.mt (DEPRECATED_TM_FILE): Delete.
Andrew Cagney [Sun, 31 Oct 2004 18:20:00 +0000 (18:20 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-mips.h: Delete file.
* remote-mips.c: Delete tm-mips.h from comment.
* config/mips/embed.mt (DEPRECATED_TM_FILE): Delete.
* config/mips/tm-nbsd.h: Don't include tm-mips.h.
* config/mips/irix6.mt (DEPRECATED_TM_FILE): Delete.
* config/mips/tm-linux.h: Don't include tm-mips.h.
* config/mips/tm-vxmips.h: Don't include tm-mips.h.
* config/mips/irix5.mt (DEPRECATED_TM_FILE):
* config/mips/tm-wince.h: Don't include.
Andrew Cagney [Sun, 31 Oct 2004 17:57:43 +0000 (17:57 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* mdebugread.h (MDEBUG_EFI_SYMBOL_NAME): Define.
* mdebugread.c (MDEBUG_EFI_SYMBOL_NAME): Delete.
* config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Delete.
* config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Delete.
Andrew Cagney [Sun, 31 Oct 2004 17:48:17 +0000 (17:48 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* mdebugread.h (ecoff_relocate_efi): Delete declaration.
* mdebugread.c (ecoff_relocate_efi): Delete function.
* objfiles.c (objfile_relocate): Delete #ifdef
MDEBUG_EFI_SYMBOL_NAME code.
Andrew Cagney [Sun, 31 Oct 2004 17:38:16 +0000 (17:38 +0000)]
2004-10-31 Orjan Friberg <organ.friberg@axis.com>
Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (single_step_through_delay): Add.
* gdbarch.h, gdbarch.c: Re-generate.
* config/mips/tm-mips.h (STEP_SKIPS_DELAY_P, STEP_SKIPS_DELAY)
(mips_step_skips_delay): Delete.
* mips-tdep.c (mips_single_step_through_delay): Replace
mips_step_skips_delay.
(mips_gdbarch_init): Set single_step_through_delay.
(mips_dump_tdep): Do not print STEP_SKIPS_DELAY.
Mark Kettenis [Sun, 31 Oct 2004 16:48:50 +0000 (16:48 +0000)]
* tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type
from TRAMP_FRAME frame type.
Andrew Cagney [Sun, 31 Oct 2004 16:31:50 +0000 (16:31 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* mdebugread.c (parse_procedure): Wrap use of RA_REGNUM in #ifdef.
Andrew Cagney [Sun, 31 Oct 2004 16:14:01 +0000 (16:14 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (mips_ignore_helper): Delete.
* config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Delete.
* infrun.c (handle_inferior_event): Delete #ifdef
DEPRECATED_IGNORE_HELPER_CALL code.
Andrew Cagney [Sun, 31 Oct 2004 15:50:54 +0000 (15:50 +0000)]
2004-10-31 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-mips.h (RA_REGNUM): Delete.
Mark Kettenis [Sun, 31 Oct 2004 15:35:08 +0000 (15:35 +0000)]
* i386v4-nat.c (supply_gregset, supply_fpregset, fill_gregset)
(fill_fpregset): Do not compile for 64-bit systems.
* i386-sol2-nat.c: Don't include "i386v4-nat.c".
* Makefile.in (i386-sol2-nat.o): Update dependencies.
* config/i386/i386sol2.mh (NATDEPFILES): Add back i386v4-nat.c.
Andrew Cagney [Sun, 31 Oct 2004 04:33:14 +0000 (04:33 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mdebugread.h: Include "coff/sym.h" and "coff/symconst.h".
(struct mdebug_extra_func_info): Define.
* config/alpha/tm-alpha.h: Delete same.
* config/mips/tm-mips.h: Delete same.
* mdebugread.c: Delete same.
* Makefile.in: Update dependencies.
* mips-mdebug-tdep.c: Include "mdebugread.h".
Andrew Cagney [Sun, 31 Oct 2004 03:42:52 +0000 (03:42 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* objfiles.c: Include "mdebugread.h".
* mdebugread.c: Include "mdebugread.h".
(ecoff_relocate_cfi): Delete.
* config/alpha/tm-alpha.h (ecoff_relcate_cfi): Delete.
* config/mips/tm-mips.h (ecoff_relcate_cfi): Delete.
* mdebugread.h (ecoff_relocate_efi): New file.
* Makefile.in: Update dependencies.
Andrew Cagney [Sun, 31 Oct 2004 03:11:54 +0000 (03:11 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (struct frame_extra_info): Delete.
(temp_proc_desc): Delete.
Andrew Cagney [Sun, 31 Oct 2004 02:59:21 +0000 (02:59 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Rename
MIPS_EFI_SYMBOL_NAME.
(mips_extra_func_info_t, mips_extra_func_info): Delete.
(struct mdebug_extra_func_info): Replace struct
alpha_extra_func_info and alpha_extra_func_info_t.
* config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Rename
MIPS_EFI_SYMBOL_NAME.
(struct mdebug_extra_func_info): Replace struct
alpha_extra_func_info and alpha_extra_func_info_t.
* objfiles.c, mips-tdep.c, mips-mdebug-tdep.c: Update.
* mdebugread.c, alpha-mdebug-tdep.c:
Andrew Cagney [Sun, 31 Oct 2004 00:07:29 +0000 (00:07 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
Suggested by Mark Kettenis.
* config/mips/tm-mips.h (struct mips_extra_func_info): Delete
fields frame_adjust and high_addr.
* mips-mdebug-tdep.c (PROC_HIGH_ADDR, PROC_FRAME_ADJUST): Delete.
(non_heuristic_proc_desc): Delete references.
gdbadmin [Sun, 31 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sat, 30 Oct 2004 23:22:54 +0000 (23:22 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (MIPS_PRID_REGNUM): Add.
* config/mips/tm-mips.h (PRID_REGNUM): Delete.
* mips-tdep.c: Update.
Andrew Cagney [Sat, 30 Oct 2004 23:08:18 +0000 (23:08 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (MIPS_FIRST_EMBED_REGNUM)
(MIPS_LAST_EMBED_REGNUM): Add.
* config/mips/tm-mips.h (FIRST_EMBED_REGNUM)
(LAST_EMBED_REGNUM): Delete.
* mipsv4-nat.c, mips-tdep.c, mips-linux-tdep.c: Update.
Alan Modra [Sat, 30 Oct 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sat, 30 Oct 2004 22:54:40 +0000 (22:54 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-mips.h (PS_REGNUM): Delete.
* mips-tdep.h (MIPS_PS_REGNUM): Add.
* remote-vxmips.c, mipsv4-nat.c, mips-tdep.c: Update.
* mips-linux-nat.c: Update.
Andrew Cagney [Sat, 30 Oct 2004 22:36:34 +0000 (22:36 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h: Add comments on registers.
(MIPS_UNUSED_REGNUM): Define.
* config/mips/tm-mips.h (ZERO_REGNUM, UNUSED_REGNUM)
(T9_REGNUM, V0_REGNUM, A0_REGNUM): Delete.
* irix5-nat.c, mipsv4-nat.c, mips-linux-tdep.c: Update.
* mips-linux-nat.c, remote-mips.c: Update.
Andrew Cagney [Sat, 30 Oct 2004 22:11:18 +0000 (22:11 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-mips.h (t_insn): Delete.
* mips-tdep.c (mips_fetch_instruction, mips_skip_trampoline_code):
Replace t_insn with ULONGEST.
Mark Kettenis [Sat, 30 Oct 2004 21:49:30 +0000 (21:49 +0000)]
* gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
NetBSD/ELF targets.
Mark Kettenis [Sat, 30 Oct 2004 21:40:48 +0000 (21:40 +0000)]
* mipsnbsd-tdep.c: Include "regset.h" and "gdb_assert.h".
(MIPS_PC_REGNUM, MIPS_FP0_REGNUM, MIPS_FSR_REGNUM)
(MIPSNBSD_NUM_GREGS, MIPSNBSD_NUM_FPREGS): New defines.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(mipsnbsd_core_fns, mipsnbsd_elfcore_fns): Remove variables.
(mipsnbsd_core_osabi_sniffer): New function.
(mipsnbsd_init_abi): Set regset_from_core_section.
(_initialize_mipsnbsd_tdep): Remove calls to
deprecated_add_core_fns.
(mipsnbsd_supply_fpregset, mipsnbsd_supply_gregset)
(mipsnbsd_regset_from_core_section): New functions.
(mipsnbsd_gregset, mipsnbsd_fpregset): New variables.
* Makefile.in (mipsnbsd-tdep.o): Update dependencies.
Mark Kettenis [Sat, 30 Oct 2004 21:30:58 +0000 (21:30 +0000)]
* procfs.c (procfs_fetch_registers, procfs_store_registers): Like
Remove optimization for DEPRECATED_FP_REGNUM.
Andrew Cagney [Sat, 30 Oct 2004 21:16:10 +0000 (21:16 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* alpha-tdep.c (alpha_setup_arbitrary_frame): Delete.
* config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Delete.
(alpha_setup_arbitrary_frame): Delete.
* mips-tdep.c (setup_arbitrary_frame): Delete.
* config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Delete.
(setup_arbitrary_frame): Delete.
* stack.c (parse_frame_specification_1): When specified, call
create_new_frame with two parameters. Delete #ifdef
SETUP_ARBITRARY_FRAME.
Andrew Cagney [Sat, 30 Oct 2004 20:54:54 +0000 (20:54 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-mips.h (MIPS16_INSTLEN, MIPS_NUMREGS)
(MIPS_INSTLEN): Delete.
* mips-tdep.h (enum mips_insn_size): Rename MIPS32_INSN_SIZE and
MIPS16_INSN_SIZE to MIPS_INSN32_SIZE and MIPS_INSN16_SIZE.
* remote-mips.c, mips-tdep.c: Update.
Andrew Cagney [Sat, 30 Oct 2004 20:26:26 +0000 (20:26 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/mips/embed.mt (TDEPFILES): Add mips-mdebug-tdep.o.
* mips-mdebug-tdep.h, mips-mdebug-tdep.c: New files.
* mips-tdep.c (mips_mdebug_frame_cache)
(mips_mdebug_frame_this_id, mips_mdebug_frame_prev_register)
(mips_mdebug_frame_unwind, mips_mdebug_frame_sniffer)
(mips_mdebug_frame_base_address, mips_mdebug_frame_sniffer)
(mips_mdebug_frame_base_sniffer, non_heuristic_proc_desc)
(compare_pdr_entries, the_bfd, mips16_fetch_instruction): Delete.
(mips_gdbarch_init): Do not append mdebug sniffers.
(PROC_LOW_ADDR, PROC_HIGH_ADDR, PROC_FRAME_OFFSET)
(PROC_FRAME_REG, PROC_FRAME_ADJUST, PROC_REG_MASK)
(PROC_FREG_MASK, PROC_REG_OFFSET, PROC_FREG_OFFSET, PROC_PC_REG)
(PROC_SYMBOL, _PROC_MAGIC_): Delete.
* Makefile.in: Update dependencies.
Andrew Cagney [Sat, 30 Oct 2004 20:11:36 +0000 (20:11 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (mips_abi_regsize): Declare.
* mips-tdep.c (mips_abi_regsize): Make non-static.
Andrew Cagney [Sat, 30 Oct 2004 19:58:11 +0000 (19:58 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (gdb_print_insn_mips): Simplify.
(make_mips16_addr): Delete.
Mark Kettenis [Sat, 30 Oct 2004 19:49:41 +0000 (19:49 +0000)]
* i386-sol2-nat.c: New file.
* Makefile.in (ALLDEPFILES): Add i386-sol2-nat.c and
i386-sol2-tdep.c.
(i386-sol2-nat.o): Update dependencies.
* config/i386/i386sol2.mh (NATDEPFILES): Remove i386v4.o, add
i386-sol2-nat.o.
Andrew Cagney [Sat, 30 Oct 2004 19:06:50 +0000 (19:06 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
Total breakage identified by Joel Brobecker.
* mips-tdep.c (after_prologue): Delete.
(mips_skip_prologue): Use skip_prologue_using_sal.
(heuristic_proc_desc): Delete, unused.
Mark Kettenis [Sat, 30 Oct 2004 18:01:11 +0000 (18:01 +0000)]
* procfs.c (proc_get_gregs, proc_get_fpregs, proc_set_gregs)
(proc_set_fpregs, procfs_fetch_registers, procfs_store_registers):
Cleanup coding style.
Andrew Cagney [Sat, 30 Oct 2004 17:53:47 +0000 (17:53 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (mips_pc_is_mips16): Declare.
* mips-tdep.c (mips_pc_is_mips16): Rename pc_is_mips16, make
non-static. Update calls.
Andrew Cagney [Sat, 30 Oct 2004 17:10:14 +0000 (17:10 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_enum_cmd): New function.
* command.h (add_setshow_enum_cmd): Declare.
* mips-tdep.c (_initialize_mips_tdep): Use add_setshow_enum_cmd.
Andrew Cagney [Sat, 30 Oct 2004 16:53:22 +0000 (16:53 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (_initialize_mips_tdep): Use
add_setshow_zinteger_cmd.
Andrew Cagney [Sat, 30 Oct 2004 16:27:43 +0000 (16:27 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (mips_eabi_extract_return_value)
(mips_o64_extract_return_value, mips_o64_store_return_value)
(return_value_location, mips_eabi_reg_struct_has_addr)
(mips_eabi_use_struct_convention)
(mips_eabi_store_return_value): Delete.
(mips_eabi_store_return_value): New function.
(mips_eabi_return_value): New function.
(mips_gdbarch_init): For O64 and EABI, delete
extract_return_value, store_return_value, use_struct_convention
and reg_struct_has_addr, add return_value.
Andrew Cagney [Sat, 30 Oct 2004 15:55:36 +0000 (15:55 +0000)]
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (read_signed_register): Use
regcache_cooked_read_signed.
Mark Kettenis [Sat, 30 Oct 2004 15:01:31 +0000 (15:01 +0000)]
* mipsread.c: Cleanup coding style.
(mipscoff_new_init, mipscoff_symfile_init, mipscoff_symfile_read)
(mipscoff_symfile_finish): Remove prototypes.
* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips_mdebug_frame_cache, mips16_scan_prologue)
(mips32_scan_prologue, mips_stub_frame_cache)
(heuristic_proc_start, heuristic_proc_desc)
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_n32n64_return_value, mips_o32_push_dummy_call)
(mips_o32_return_value, mips_o64_push_dummy_call)
(mips_step_skips_delay, mips_skip_trampoline_code)
(mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM,
MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of
T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM
instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN
and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN.
(mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM,
T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and
MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM.
* mips-linux-tdep.c (mips_linux_o32_sigframe_init)
(mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of
ZERO_REGNUM.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
(mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of
ZERO_REGNUM.
(mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of
A0_REGNUM.
* mipsnbsd-nat.c: Include "mips-tdep.h".
(getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM.
* Makefile.in (mipsnbsd-nat.o): Update dependencies.
Mark Kettenis [Sat, 30 Oct 2004 14:31:19 +0000 (14:31 +0000)]
* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips_mdebug_frame_cache, mips16_scan_prologue)
(mips32_scan_prologue, mips_stub_frame_cache)
(heuristic_proc_start, heuristic_proc_desc)
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_n32n64_return_value, mips_o32_push_dummy_call)
(mips_o32_return_value, mips_o64_push_dummy_call)
(mips_step_skips_delay, mips_skip_trampoline_code)
(mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM,
MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of
T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM
instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN
and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN.
(mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM,
T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and
MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM.
* mips-linux-tdep.c (mips_linux_o32_sigframe_init)
(mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of
ZERO_REGNUM.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
(mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of
ZERO_REGNUM.
(mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of
A0_REGNUM.
* mipsnbsd-nat.c: Include "mips-tdep.h".
(getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM.
* Makefile.in (mipsnbsd-nat.o): Update dependencies.
Andrew Cagney [Sat, 30 Oct 2004 00:10:05 +0000 (00:10 +0000)]
2004-10-29 Andrew Cagney <cagney@gnu.org>
* stack.c (parse_frame_specification_1): New function based on
parse_frame_specification. Add message and selected_frame_p
paramters. Truely always return non-NULL.
(parse_frame_specification): Call parse_frame_specification_1.
(frame_info): Update. Eliminate target_has_stack check.
(select_frame_command): Update.
Alan Modra [Sat, 30 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 30 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Fri, 29 Oct 2004 21:35:20 +0000 (21:35 +0000)]
* gdb.threads/bp_in_thread.c: New file, copied from
pthread_cond_wait.c.
* gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
file, rather than reusing the .c file from another testcase.
Mark Kettenis [Fri, 29 Oct 2004 20:49:14 +0000 (20:49 +0000)]
Really commit this file.
Andrew Cagney [Fri, 29 Oct 2004 20:23:17 +0000 (20:23 +0000)]
2004-10-29 Andrew Cagney <cagney@gnu.org>
* frame.h (get_selected_frame): Add message parameter.
* frame.c (get_selected_frame): Add and use message parameter.
* stack.c (current_frame_command, return_command, locals_info)
(catch_info, args_info, up_silently_base, down_silently_base): Use
get_selected_frame with an explicit message.
* thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update.
* remote-rdp.c, remote-mips.c, remote-e7000.c: Update.
* ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update.
* infrun.c, inflow.c, infcmd.c, frame.c: Update.
* findvar.c, eval.c, corelow.c, bsd-kvm.c: Update.
* breakpoint.c: Update.
Andrew Cagney [Fri, 29 Oct 2004 14:00:58 +0000 (14:00 +0000)]
2004-10-27 Andrew Cagney <cagney@gnu.org>
* trad-frame.c (trad_frame_get_prev_register): Use
frame_unwind_register instead of frame_register_unwind, do not
recurse the register's location.
* xstormy16-tdep.c (xstormy16_frame_prev_register):
* sparc-tdep.c (sparc32_frame_prev_register): Ditto.
* sparc64-tdep.c (sparc64_frame_prev_register): Ditto.
* sh-tdep.c (sh_frame_prev_register): Ditto.
* m68k-tdep.c (m68k_frame_prev_register): Ditto.
* i386-tdep.c (i386_frame_prev_register): Ditto.
* dwarf2-frame.c (dwarf2_frame_prev_register): Ditto.
* amd64-tdep.c (amd64_frame_prev_register): Ditto.