Commit graph

45999 commits

Author SHA1 Message Date
Nick Clifton
7499d566bb Add support fpr MAXQ processor 2004-11-08 13:17:43 +00:00
Nick Clifton
dc85a459cf *sigh* undo previous delta which was done too early... 2004-11-08 12:59:37 +00:00
Nick Clifton
9b131d320b oops - omitted from previous delta 2004-11-08 12:55:40 +00:00
Nick Clifton
0c429e0711 oops - omitted fom previous delta 2004-11-08 08:51:47 +00:00
Nick Clifton
977cdf5aa7 Fix support for PECOFF weak symbols 2004-11-08 08:12:53 +00:00
gdbadmin
998b002970 *** empty log message *** 2004-11-08 00:00:34 +00:00
Alan Modra
5f7836ba7e daily update 2004-11-07 23:00:05 +00:00
Daniel Jacobowitz
12b8a2cb8d * Makefile.in (symfile-mem.o): Update dependencies.
* i386-linux-tdep.c (i386_linux_dwarf_signal_frame_p): New.
	(i386_linux_init_abi): Call dwarf2_frame_set_signal_frame_p.
	* inf-ptrace.c (inf_ptrace_attach): Call
	observer_notify_inferior_created.
	* inftarg.c (child_attach): Likewise.
	* symfile-mem.c: Include "observer.h", "auxv.h", and "elf/common.h".
	(symbol_file_add_from_memory): Take NAME argument.  Use it for
	the new BFD's filename.
	(add_symbol_file_from_memory_command): Update call to
	symbol_file_add_from_memory.
	(struct symbol_file_add_from_memory_args, add_vsyscall_page)
	(symbol_file_add_from_memory_wrapper): New.
	(_initialize_symfile_mem): Register add_vsyscall_page as an
	inferior_created observer.
2004-11-07 21:33:29 +00:00
Mark Kettenis
abbc694557 * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Rename from
fetch_inferior_registers.  Make static.
(m68kbsd_store_inferior_registers): Rename from
store_inferior_registers.  Make static.
(_initialize_m68kbsd_nat): Construct and add target vector.
* config/m68k/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Set to tm-solib.h.
(LOADLIBES): New variable.
* config/m68k/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Delete variable.
* config/m68k/obsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Set to tm-solib.h.
* config/m68k/nm-nbsdaout.h: Remove file.
2004-11-07 21:31:19 +00:00
Daniel Jacobowitz
3ed09a3267 * dwarf2-frame.c (struct dwarf2_frame_ops): Add signal_frame_p.
(dwarf2_frame_set_signal_frame_p, dwarf2_frame_signal_frame_p)
	(dwarf2_signal_frame_unwind): New.
	(dwarf2_frame_sniffer): Use dwarf2_frame_signal_frame_p.
	* dwarf2-frame.h (dwarf2_frame_set_signal_frame_p): New prototype.
2004-11-07 21:16:11 +00:00
Mark Kettenis
4fb31ed045 * Makefile.in (mips64obsd-tdep.o): Fix typo. 2004-11-07 20:20:32 +00:00
Mark Kettenis
fabe86c85f * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Renamed
from mipsnbsd_ilp32_solib_svr4_fetch_link_map_offsets.  Trim sizes
to only include the structure members we actually need.
(mipsnbsd_lp64_fetch_link_map_offsets): Renamed from
mipsnbsd_lp64_solib_svr4_fetch_link_map_offsets.  Trim sizes to
only include the structure members we actually need.
(mipsnbsd_init_abi): Update.
2004-11-07 17:53:30 +00:00
Mark Kettenis
366e93e85b * mips64obsd-nat.c: Include "mips-tdep.h".
(MIPS64OBSD_NUM_REGS): Remove define.
(MIPS_PC_REGNUM, MIPS_FP0_REGNUM, MIPS_FSR_REGNUM): New defines.
(mips64obsd_supply_gregset, mips64obsd_collect_gregset): Handle
floating-point registers correctly.
* Makefile.in (mips64obsd-nat.o): Update dependencies.
2004-11-07 17:08:34 +00:00
Mark Kettenis
8e763687bf * mips64obsd-tdep.c: Include "trad-frame.h", "tramp-frame.h" and
"gdb_assert.h".
(mips64obsd_sigframe_init): New function.
(mips64obsd_sigframe): New variable.
(mips64obsd_init_abi): Add comments.  Prepend mips64obsd_sigrame
unwinder.
* Makefile.in (mips64obsd-tdep.o): Update dependencies.
2004-11-07 17:02:44 +00:00
Mark Kettenis
9cf0961bb8 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
frames.
2004-11-07 16:47:57 +00:00
Mark Kettenis
1f5867657b * tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type
from TRAMP_FRAME frame type.
2004-11-07 12:54:58 +00:00
Andreas Schwab
9dfe873851 * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Use
SYMBOL_CALLS_LOCAL and check for undefweak symbols with
	non-default visibility.
2004-11-07 10:51:45 +00:00
gdbadmin
66aa377dce *** empty log message *** 2004-11-07 00:00:03 +00:00
Alan Modra
0576292809 daily update 2004-11-06 23:00:05 +00:00
Joel Brobecker
5f6a23518e * alpha-mdebug-tdep.c: #include mdebugread.h.
Replace alpha_extra_func_info_t by struct mdebug_extra_func_info *.
        * Makefile.in (alpha-mdebug-tdep.o): Add dependency on mdebugread.h.
2004-11-06 17:18:10 +00:00
H.J. Lu
3b645373bf 2004-11-05 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/general.s: Add movzb.
	* gas/i386/general.l: Updated.
2004-11-06 01:50:21 +00:00
Andrew Cagney
f059bf6fd2 2004-11-05 Andrew Cagney <cagney@gnu.org>
* dwarf2-frame.c (dwarf2_frame_cache): Only complain when both the
	CFI and the init_reg method leave the register unspecified.
	Include the register name in the "Incomplete CFI data" complaint.
	Supress leading zeros in the address.
2004-11-06 00:39:16 +00:00
gdbadmin
38a60c2e9c *** empty log message *** 2004-11-06 00:00:04 +00:00
H.J. Lu
bcb9eebe75 2004-11-05 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Put back "movzb".
2004-11-05 23:14:30 +00:00
Alan Modra
290085aeab daily update 2004-11-05 23:00:07 +00:00
Mark Kettenis
1234d96073 * dwarf2-frame.c (decode_frame_entry_1): Avoid indirection when
skipping a personality routine in a CIE augmentation.
2004-11-05 22:35:22 +00:00
Jeff Johnston
d75e3c94b3 2004-11-05 Jeff Johnston <jjohnstn@redhat.com>
* defs.h (fatal, vfatal): New function prototypes.
        * stack.c (backtrace_command_stub): Stub to call backtrace_command_1
        via catch_errors.
        (backtrace_command): Change to call backtrace_command_stub via
        catch_errors instead of calling backtrace_command_1 directly.
        (backtrace_full_command): Ditto.
        * utils.c (error_stream_1): New static function.
        (verror): Change to call error_stream_1 instead of error_stream.
        (error_stream): Call error_stream_1 with RETURN_ERROR argument.
        (vfatal, fatal): New functions.
2004-11-05 20:32:04 +00:00
Andrew Cagney
98f276a088 2004-11-05 Andrew Cagney <cagney@gnu.org>
* stack.c (parse_frame_specification_1): Clear selected_frame_p
	when not using selected frame.
2004-11-05 18:58:29 +00:00
Bob Wilson
34e4178350 * config/tc-xtensa.c (total_frag_text_expansion): New.
(md_estimate_size_before_relax): Use it.
	(find_address_of_next_align_frag): Likewise.
2004-11-05 17:25:34 +00:00
Paolo Bonzini
1eefd49334 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (host fixincludes): Specify missing targets.
	* Makefile.in: Regenerate.
2004-11-05 16:36:20 +00:00
Mark Kettenis
f724bf08b7 * dwarf2-frame.c (decode_frame_entry_1): Correctly skip
personality routine in a CIE augmentation.
2004-11-05 15:16:44 +00:00
Tomer Levi
dcd46b4e95 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Rename argument types.
        (processing_arg_number): Rename to 'cur_arg_num'.
        (get_number_of_bits): Rename to 'set_operand_size'.
        (get_operandtype): Rename to 'parse_operand', totally rewrite.
        (set_cons_rparams): Rename to 'set_operand', totally rewrite.
        (set_indexmode_parameters): Remove function, integrate its code into
               'set_operand'.
        (set_operand_size): Get rid of 'Operand Number' function parameter -
               use global variable 'cur_arg_num' instead.
        Use a local 'argument' pointer to reference the current argument.
        (parse_operand): Likewise.
        (set_operand): Likewise.
        (process_label_constant): Likewise.
2004-11-05 11:07:48 +00:00
Tomer Levi
82d6ee2a41 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Rename argument types.
 	(processing_arg_number): Rename to 'cur_arg_num'.
	(get_number_of_bits): Rename to 'set_operand_size'.
	(get_operandtype): Rename to 'parse_operand', totally rewrite.
	(set_cons_rparams): Rename to 'set_operand', totally rewrite.
	(set_indexmode_parameters): Remove function, integrate its code into 'set_operand'.
	(set_operand_size): Get rid of 'Operand Number' function parameter - use global variable 'cur_arg_num' instead.
	Use a local 'argument' pointer to reference the current argument.
	(parse_operand): Likewise.
	(set_operand): Likewise.
	(process_label_constant): Likewise.
2004-11-05 11:02:04 +00:00
Tomer Levi
42048ee72f 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register mode.
* crx-dis.c: Likewise.
2004-11-05 11:01:00 +00:00
Tomer Levi
696a8a0072 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
* opcode/crx.h (enum argtype): Rename types, remove unused types.
2004-11-05 10:59:16 +00:00
Tomer Levi
c953b56c16 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
* opcode/crx.h (enum argtype): Rename types, remove unused types.
2004-11-05 10:58:22 +00:00
Felix Lee
c789492af8 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
* gdb.base/cursal.exp: New file.
        * gdb.base/cursal.c: New file.
2004-11-05 08:53:19 +00:00
Geoffrey Keating
d3ed111c8c Merge from GCC versions 2004-11-05 05:26:34 +00:00
gdbadmin
b46b72c55c *** empty log message *** 2004-11-05 00:00:33 +00:00
Alan Modra
156d775fb2 daily update 2004-11-04 23:00:04 +00:00
Bob Wilson
9456465c21 * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
(add_section_rename): Delete.  Inlined into...
	(build_section_rename): ...here.  Use xstrdup instead of strdup.
	(xtensa_section_rename): Drop "const" from argument and return types.
	(md_show_usage): Indent to match show_usage().
	* config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs.
	(tc_canonicalize_section_name): Define.
	(md_elf_section_rename): Remove unused macro.
	* doc/as.texinfo (Overview): Document Xtensa --rename-section option.
	* doc/c-xtensa.texi (Xtensa Options): Likewise.
	(Frame Directive): Delete.
2004-11-04 21:52:55 +00:00
Mark Kettenis
a81b10aef7 * dwarf2-frame.c (read_encoded_value): Change type of third
argument to `unsigned char *'.  Add support for LEB128 encodings.
2004-11-04 21:15:15 +00:00
Mark Mitchell
c3c766200a * elf32-arm.c (elf32_arm_symbian_begin_write_processing): Clear
D_PAGED.
	(elf32_arm_symbian_modify_segment_map): Don't
	reset includes_filehdr and includes_phdrs here.
2004-11-04 18:57:34 +00:00
DJ Delorie
7bea7009e2 Regenerated with correct autoconf 2004-11-04 18:42:47 +00:00
Jim Blandy
ad766c0a80 * gdbtypes.c (make_qualified_type): Doc fix. Add assertion to
prevent cross-objfile references.
(make_cv_type): Doc fix.  Don't create cross-objfile references,
even for stub types.
(replace_type): Add assertion to prevent cross-objfile references.
(check_typedef): Never resolve a stub type by copying over a type
from another file.
2004-11-04 17:50:16 +00:00
H.J. Lu
02b1af09c7 2004-11-04 H.J. Lu <hongjiu.lu@intel.com>
PR other/17783
	* configure.in: Set up LD_LIBRARY_PATH by default for gcc.
	* configure: Regenerated.
2004-11-04 17:07:08 +00:00
Daniel Jacobowitz
7f266840a2 ./
* configure.in (arm-*-oabi*, thumb-*-oabi*): Remove.
	* configure: Regenerated.
bfd/
	* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace
	elfarm-nabi with elf32-arm.  Remove elfarm-oabi.
	(elf32-arm.lo): Replace elfarm-nabi.lo rule.  Remove elf32-arm.h
	dependency.
	* config.bfd: Move arm-*-oabi* and thumb-*-oabi* from obsolete list
	to a new removed list.  Remove normal configuration stanzas.
	* configure.in: (bfd_elf32_bigarm_vec, bfd_elf32_bigarm_symbian_vec)
	(bfd_elf32_littlearm_symbian_vec, bfd_elf32_littlearm_vec): Replace
	elfarm-nabi.lo with elf32-arm.lo.
	(bfd_elf32_bigarm_oabi_vec, bfd_elf32_littlearm_oabi_vec): Remove.
	* elf32-arm.c: Renamed from elfarm-nabi.c.  Inline elf32-arm.h.
	* elf32-arm.h: Remove.
	* elfarm-oabi.c: Remove.
	* targets.c (_bfd_target_vector): Remove bfd_elf32_bigarm_oabi_vec
	and bfd_elf32_littlearm_oabi_vec.
	* aclocal.m4, Makefile.in, configure, doc/Makefile.in: Regenerated.
gas/
	* configure.in: Remove arm-*-oabi and thumb-*-oabi.
	* config/tc-arm.c (target_oabi): Delete.
	(md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks.
	(arm_opts): Remove moabi.
	* doc/as.texinfo (Overview): Remove documentation of -moabi.
	* doc/c-arm.texi (ARM Options): Likewise.
	* configure: Regenerated.
ld/
	* Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
	(earmelf_oabi.c): Remove rule.
	* configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
	* emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
	* Makefile.in: Regenerated.
2004-11-04 15:54:50 +00:00
Hans-Peter Nilsson
5664e9a796 Add missing entry for cris_relax_frag, last change 2004-11-04 15:18:09 +00:00
Hans-Peter Nilsson
45175cda92 * binutils-all/objdump.exp (cpus_expected): Append cris. 2004-11-04 15:04:41 +00:00
Hans-Peter Nilsson
1f02b94b93 * ld-elf/merge.d: xfail crisv32-*-*.
* ld-cris/dsov32-1.s, ld-cris/dsov32-2.s, ld-cris/dsov32-3.s,
	ld-cris/dsov32-4.s, ld-cris/libdso-10.d, ld-cris/libdso-11.d,
	ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d,
	ld-cris/move-1.s, ld-cris/pv32-1.d, ld-cris/pv32.s,
	ld-cris/start1.s, ld-cris/v10-v32.d, ld-cris/v10-va.d,
	ld-cris/v32-ba-1.d, ld-cris/v32-ba-1.s, ld-cris/v32-bin-1.d,
	ld-cris/v32-bin-1.s, ld-cris/v32-v10.d, ld-cris/v32-va.d,
	ld-cris/va-v10.d, ld-cris/va-v32.d: New tests.
	* ld-cris/ldsym1.d: Adjust for change in linker script.
2004-11-04 15:04:05 +00:00