Commit Graph

45801 Commits

Author SHA1 Message Date
Nick Clifton fcf640ecb2 (sim_run): Add support for the "rawsid" protocol. 2004-10-26 08:07:59 +00:00
Alan Modra 1c24292617 daily update 2004-10-26 00:00:06 +00:00
gdbadmin afa8f99d0b *** empty log message *** 2004-10-26 00:00:02 +00:00
Andrew Cagney 156a53caf0 2004-10-25 Andrew Cagney <cagney@gnu.org>
* NEWS: Add Changes since GDB 6.3 section.
2004-10-25 18:50:09 +00:00
H.J. Lu ed7af9f9c1 2004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
* config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
	in an epilogue directive go negative.
2004-10-25 15:47:52 +00:00
H.J. Lu ac025970cb 2004-10-25 H.J. Lu <hongjiu.lu@intel.com>
PR 474
	* config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
	after reporting template error during manual bundling. Reported
	by Michael Dupont, michaelx.dupont@intel.com.
2004-10-25 15:32:18 +00:00
Ian Lance Taylor 2b4c4cc415 * stabs.c (stab_demangle_v3_arglist): New static function, broken
out of stab_demangle_v3_argtypes.
	(stab_demangle_v3_argtypes): Call it.
	(stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
	If we find an unrecognized component, print out its number.
2004-10-25 15:25:20 +00:00
H.J. Lu 1ffa9a1825 2004-10-25 David Mosberger <davidm@hpl.hp.com>
* readelf.c (slurp_ia64_unwind_table): Support relocations against
	non-section symbols by adding in the symbol value.
2004-10-25 15:24:25 +00:00
Nick Clifton a394c00fe6 Add ARM CFI support 2004-10-25 12:26:04 +00:00
Nick Clifton d79b3d5057 PR 465
* readelf.c (dynamic_strings_length): New global variable.
(VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
strings in the dynamic string table.
(process_section_headers): Initialise dynamic_strings_length.
(process_dynamic_section): Likewise.
(process_object): Reset dynamic_string_length when the buffer is freed.
(dynamic_sections_mips_val): Use the new macros.
(process_dynamic_section): Likewise.
(process_version_sections): Likewise.
(process_symbol_table): Likewise.
(process_syminfo): Likewise.
(process_mips_specific): Likewise.
(dump_relocations): Add a new parameter 'strtablen' and use this to verify that
  string offset in a given reloc is valid.  Print a suitable error message
  otherwise.
(process_relocs): Pass the new argument to dump_relocations.
2004-10-25 09:59:01 +00:00
Tomer Levi fc3d45e89e 2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, us4, us5 (respectively).
 	Remove unsupported 'popa' instruction.
	Reverse operands order in store co-processor instructions.
2004-10-25 09:47:25 +00:00
Tomer Levi 396e337840 2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, us4, us5 (respectively).
	Remove unsupported 'popa' instruction.
	Reverse operands order in store co-processor instructions.
2004-10-25 09:45:36 +00:00
Tomer Levi 645ea12c46 2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
* opcode/crx.h (operand_type): Remove redundant types i3, i4, i5, i8, i12.
	Add new unsigned immediate types us3, us4, us5, us16.
2004-10-25 09:44:27 +00:00
Tomer Levi f40d685589 'gas/crx' update 2004-10-25 09:39:13 +00:00
Tomer Levi 4f84de77a7 Remove test for unsupported 'popa' instruction. 2004-10-25 09:36:26 +00:00
Tomer Levi 4f399f1811 Reverse operands order in store co-processor instructions. 2004-10-25 09:36:06 +00:00
Tomer Levi 23d83918d2 'config/tc-crx.c' update. 2004-10-25 09:34:12 +00:00
Tomer Levi e92c9d66d3 1. Check unsigned immediate operands validity. 2. Update coprocessor id to be unsigned immediate. 2004-10-25 09:30:55 +00:00
Alan Modra b2a7b577d1 daily update 2004-10-25 00:00:05 +00:00
gdbadmin 137ff98e57 *** empty log message *** 2004-10-25 00:00:04 +00:00
Hans-Peter Nilsson 278b46236c * mmo.c: Adjust to ISO C. 2004-10-24 22:50:43 +00:00
Hans-Peter Nilsson aa69fe43dd * mmo.c (mmo_write_section_description): New function broken out
of mmo_internal_write_section.
	(mmo_internal_write_section): For each of .text and .data, call
	mmo_write_section_description before outputting contents if it has
	nontrivially deducible vma or contents.
	(mmo_has_leading_or_trailing_zero_tetra_p): New function.
	(mmo_canonicalize_symtab): Adjust absolute symbols to .data
	symbols if found within the .data address range.
2004-10-24 21:40:36 +00:00
Hans-Peter Nilsson 1fddb8daad * ld-mmix/sec-8m.d: Adjust test for dump using correct section
length.
	* ld-mmix/sec-9.d: Renamed test, formerly known as sec-5.d.
	* ld-mmix/sec-5.d, ld-mmix/b-offloc.s: Rewritten test.
2004-10-24 21:39:30 +00:00
Daniel Jacobowitz ed0403211c * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. 2004-10-24 18:45:38 +00:00
Aaron W. LaFramboise f9461bdb4e * dlltool.c: Include <assert.h>.
(PREFIX_ALIAS_BASE): Define.
(struct export): Add member import_name;
(def_exports): Set import_name.
(make_one_lib_file): Remove prefix alias code, use import_name in .idata$6.
(gen_lib_file): Create and delete aliases.

* binutils-all/alias.def: New file.
* binutils-all/dlltool.exp: Two new -p tests.
* config/default.exp (dlltool_gas_flag): New variable.
Copy gas and lds executables into tmpdir/gas directory rather than making
symlinks which might not be supported by the host OS.
Attempt to handle the case where the host OS does not use the .exe extension
but the target OS does.
* lib/utils-lib.exp (exe_ext): New procedure.
2004-10-24 17:49:55 +00:00
Hans-Peter Nilsson 830866afa5 * mmo.c (File Layout): Correct place of misplaced blurb about
special data.
2004-10-24 14:09:16 +00:00
Danny Smith 7b0eaa22d7 * pe-dll.c (process_def_file): Don't export all symbols by default if
building a position-independent executable.
2004-10-24 01:00:12 +00:00
Hans-Peter Nilsson 04d3ad575b * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d,
ld-mmix/getaa14f.d, ld-mmix/jumpa-6b.d, ld-mmix/jumpa-6f.d,
	ld-mmix/jumpa14b.d, ld-mmix/jumpa14f.d, ld-mmix/reg-1.d,
	ld-mmix/reg-1m.d: Adjust for changed error message format.
2004-10-24 00:13:15 +00:00
gdbadmin abf8796805 *** empty log message *** 2004-10-24 00:00:32 +00:00
Alan Modra 7153fe4e5f daily update 2004-10-24 00:00:06 +00:00
Daniel Jacobowitz 0fdbe98368 * configure.in: Use an absolute path to install-sh.
* configure: Regenerated.
2004-10-23 20:30:02 +00:00
Andreas Schwab f27cf670a8 * ada-lang.c (grow_vect): Return the new array instead of
expecting pointer to pointer to avoid violation of aliasing rules.
	* ada-lang.h (GROW_VECT): Adapt call to grow_vect.
2004-10-23 19:13:26 +00:00
Nick Clifton 0fd555c412 * dlltool.c: Include <assert.h>.
(PREFIX_ALIAS_BASE): Define.
(struct export): Add member import_name;
(def_exports): Set import_name.
(make_one_lib_file): Remove prefix alias code, use import_name in .idata$6.
(gen_lib_file): Create and delete aliases.

* binutils-all/alias.def: New file.
* binutils-all/dlltool.exp: Two new -p tests.
* config/default.exp (dlltool_gas_flag): New variable.
Copy gas and lds executables into tmpdir/gas directory rather than making
symlinks which might not be supported by the host OS.
Attempt to handle the case where the host OS does not use the .exe extension
but the target OS does.
* lib/utils-lib.exp (exe_ext): New procedure.
2004-10-23 17:26:36 +00:00
Ulrich Weigand 121d8485df * s390-tdep.c (enum pv_boolean): Remove.
(pv_is_array_ref): Remove.
	(s390_on_stack): Remove.
	(S390_NUM_SPILL_SLOTS): Remove.
	(struct s390_prologue_data): Remove members 'spill' and 'back_chain',
	add members 'gpr_slot', 'fpr_slot', and 'back_chain_saved_p'.
	(s390_store): Track all stores of orginal incoming registers to the
	stack constant offsets relative to the CFA, instead of only tracking
	stores into specific spill slots.
	(s390_load): Likewise.
	(s390_analyze_prologue): Adapt to struct s390_prologue_data changes.
	(s390_prologue_frame_unwind_cache): Likewise.  Only track registers
	defined as call-saved by the ABI.
	(s390_push_dummy_call): Use bottom of dummy call argument save area
	as return value, not the top.  Do not store to the called function's
	register save area.
	(s390_unwind_dummy_id): Adapt accordingly.
2004-10-23 16:31:23 +00:00
Andrew Cagney 0a6ddd0822 2004-10-23 Andrew Cagney <cagney@gnu.org>
* objfiles.h (struct objfile): Rename obj_private to
	deprecated_obj_private, sym_private to deprecated_sym_private, and
	sym_stab_info to deprecated_sym_stab_info.
	* gdb-stabs.h: Update.
	* elfread.c: Update.
	* dbxread.c: Update.
	* coffread.c: Update.
	* xcoffread.c: Update.
	* symfile.c: Update.
	* somread.c: Update.
	* nlmread.c: Update.
	* mdebugread.c: Update.
	* hpread.c: Update.
	* coffread.c: Update.
2004-10-23 16:18:09 +00:00
Eli Zaretskii 384ee23f42 * gdb.texinfo (Core File Generation): New section. 2004-10-23 15:05:29 +00:00
Eli Zaretskii f856860472 (Calling): Expand and elaborate text. Add "print". Add the
description of problems with weak aliases.
2004-10-23 14:34:54 +00:00
Eli Zaretskii f018e82f92 2004-10-23 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Starting): Fix whitespace; make "elaboration" stand
	out where it is first used, and add an index entry for the term.
2004-10-23 14:21:44 +00:00
Eli Zaretskii dcaf7c2c09 2004-10-23 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo(Files): Add a tip for decreasing memory used for
	symtabs from shared libraries.
2004-10-23 14:11:33 +00:00
Eli Zaretskii 60bf7e09b1 * gdb.texinfo (SVR4 Process Information): Document subcommands of
"info proc" that are already implemented.  Add index entries.
	(Working Directory): Add a cross-reference to "info proc" command.
2004-10-23 13:52:37 +00:00
Mark Kettenis 5f417ca318 * config.bfd: Add mips64*-*-openbsd. 2004-10-23 12:23:15 +00:00
Mark Kettenis abc0878268 * mips64obsd-nat.c, mips64obsd-tdep.c: New files.
* configure.host: Add mips64*-*-openbsd*.
* configure.tgt: Add mips64*-*-openbsd*.
* Makefile.in (ALLDEPFILES): Add mips64obsd-nat.o,
mips64obsd-tdep.c.
(mips64obsd-nat.o, mips64obsd-tdep.o): New dependecies.
* config/mips/obsd64.mh, config/mips/obsd64.mt: New files.
2004-10-23 12:14:02 +00:00
Alan Modra 95706ff588 daily update 2004-10-23 00:00:06 +00:00
gdbadmin 28d849a229 *** empty log message *** 2004-10-23 00:00:03 +00:00
Joel Brobecker fc062ac6da * symtab.c (symbol_search_name): Minor reformatting. 2004-10-22 20:58:56 +00:00
Michael Snyder 81c0587e03 2004-10-21 msnyder <msnyder@redhat.com>
* mn10300-tdep.c: Replace struct mn10300_unwind_cache with
	struct trad_frame_cache.  Don't seem to need any more.
	(mn10300_frame_unwind_cache): Use trad_frame_cache.
	Tentatively try using SP or A3 reg as frame base.
	(mn10300_frame_dummy_this_id): Rename to mn10300_frame_this_id.
	Call trad_frame_get_id.
	(mn10300_frame_prev_reg): Call trad_frame_get_reg.
	(mn10300_frame_base_address): Call trad_frame_get_this_base.
	(mn10300_frame_args_address, mn10300_frame_locals_address):
	Delete.  Substitute mn10300_frame_base_address.
	(mn10300_frame_unwind_init): Call dwarf2_frame_sniffer (even
	though it doesn't seem to work yet).
2004-10-22 00:34:42 +00:00
gdbadmin 079153e36a *** empty log message *** 2004-10-22 00:00:32 +00:00
Alan Modra 052d973636 daily update 2004-10-22 00:00:07 +00:00
Bob Wilson 823fc61f00 * elf32-xtensa.c (ebb_propose_action): Put declarations before
statements.
2004-10-21 16:29:11 +00:00
H.J. Lu 8697aafb0c 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94.
	* configure: Regenerate.
2004-10-21 15:32:41 +00:00