Commit Graph

33773 Commits

Author SHA1 Message Date
Hans-Peter Nilsson 1da54d81fd * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
STT_NOTYPE symbols to STT_OBJECT.
2002-03-19 20:21:54 +00:00
Alexandre Oliva 12b9c64f8d * coffread.c: Remove redundant static declarations. Replace
occurrences of `PTR' with `void *'.
* elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
* top.h (quit_cover): Likewise.
* defs.h (catch_errors): Likewise.
2002-03-19 19:00:04 +00:00
Andreas Jaeger 858bc62dee * gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes.
* gas/i386/x86-64-opcode.s: Likewise
2002-03-19 12:17:58 +00:00
Michael Snyder 75245b2419 2002-03-14 Michael Snyder <msnyder@redhat.com>
* symfile.c (syms_from_objfile): Return immediately if no syms.
	(symbol_file_add): Return immediately if no syms.
	(find_sym_fns): Return immediately if no syms.
2002-03-19 03:51:06 +00:00
Andrew Cagney 349c5d5f6c * defs.h (XMALLOC): Define.
* gdb-events.sh (XMALLOC): Delete macro.
* gdb-events.c, gdb-events.h: Regenerate.
* gdbarch.sh (XMALLOC): Delete macro.
* gdbarch.c: Regenerate.
* serial.c (XMALLOC): Delete macro.
* ui-file.c (XMALLOC): Ditto.
* ser-unix.h (XMALLOC): Ditto.
* sh-tdep.c (XMALLOC): Ditto.
* ui-out.c (XMALLOC): Ditto.
* utils.c (XMALLOC): Ditto.
* i386-tdep.c (XMALLOC): Ditto.
* gdb-events.c (XMALLOC): Ditto.
* d10v-tdep.c (XMALLOC): Ditto.
* cli-out.c (XMALLOC): Ditto.

* cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
* gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
* ui-file.c, ui-out.c: Ditto.
2002-03-19 02:51:09 +00:00
Andrew Cagney 474c824023 s/@example/@smallexample/ 2002-03-19 02:49:53 +00:00
Andrew Cagney 7d0766f3c3 * command.h (struct cmd_list_element): Add field context.
(set_cmd_context, get_cmd_context): Declare.
* cli/cli-decode.h: Ditto.
* cli/cli-decode.c (get_cmd_context): New function.
(set_cmd_context): New function.
(add_cmd): Initialize context.
Part of fixing PR gdb/145 and PR gdb/146.
2002-03-19 02:19:17 +00:00
gdbadmin 42aacdb61c *** empty log message *** 2002-03-19 00:00:05 +00:00
Alan Modra d276d7a1a5 daily update 2002-03-18 23:00:03 +00:00
Anthony Green ae60d3ddec Increase default memory size to 8MB. 2002-03-18 21:43:15 +00:00
Jan Hubicka c1a64871f9 * i386-dis.c (prefix_name): Fix handling of 32bit address prefix
in 64bit mode.
	(print_insn) Likewise.
	(putop): Fix handling of 'E'
	(OP_E, OP_OFF): handle 32bit addressing mode in 64bit.
	(ptr_reg): Likewise.
2002-03-18 20:11:49 +00:00
DJ Delorie 1504972f60 merge from gcc 2002-03-18 20:01:35 +00:00
Alexandre Oliva 177b4a6ad0 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
the EXTENDED bit here; report the estimate according to the
current size.
2002-03-18 18:56:18 +00:00
Jan Hubicka beb43bb9f4 * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64"
* configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.

	* elf_x86_64.sh (ARCH): Set to i386:x86-64
	set libraries to default to lib64 paths.
2002-03-18 16:42:43 +00:00
Andrew Cagney fb0ff88f8f * gdbint.texinfo (Releasing GDB): Add section ``Versions and
Branches''.
2002-03-18 16:14:04 +00:00
Andrew Cagney 9bb0a4d8df * gdbint.texinfo (Releasing GDB): Add the section``Branch Commit
Policy''.
2002-03-18 16:09:32 +00:00
Nick Clifton eb1e0e807a Add AIX 64 shared library support and emulation layer for binutils 2002-03-18 12:46:27 +00:00
Nick Clifton a1c259a138 Updated French translations 2002-03-18 09:44:22 +00:00
Alan Modra 862120bdbe * ldmain.c (main): Move .text readonly flag fudges from here..
* ldlang.c (lang_process): ..to here.
2002-03-18 02:55:51 +00:00
Andrew Cagney 1868c04eba * cli/cli-decode.c (cmd_type): New function.
* command.h (cmd_type): Declare.
* infrun.c (set_schedlock_func): Call function cmd_type.
* kod.c (kod_set_os): Call cmd_type.
* cris-tdep.c (cris_version_update): Use function cmd_type.
(cris_mode_update, cris_abi_update): Ditto.
2002-03-18 02:26:32 +00:00
Alan Modra 4dae1ae748 * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success.
* libbfd.h: Regenerate.
	* archive.c (coff_write_armap): Pass on failures from
	bfd_write_bigendian_4byte_int.
2002-03-18 01:26:57 +00:00
gdbadmin 2ef7d709f8 *** empty log message *** 2002-03-18 00:00:03 +00:00
Alan Modra a183c50e83 daily update 2002-03-17 23:00:01 +00:00
Andrew Cagney 5913bcb0f6 * command.h: (execute_cmd_post_hook): Declare.
(execute_cmd_pre_hook): Declare.
* cli/cli-script.c (clear_hook_in_cleanup): New function.
(execute_cmd_post_hook, execute_cmd_pre_hook): New
functions. Execute pre/post hook while ensuring that afterwords
hook_in is cleared.
* top.c (execute_command): Use execute_cmd_post_hook, and
execute_cmd_pre_hook to execute pre/post commands.
* infrun.c (normal_stop): Pass stop_command and not pre_hook to
hook_stop_stub.
(hook_stop_stub): Call execute_cmd_pre_hook.
2002-03-17 19:53:39 +00:00
Andrew Cagney b51450c9ff * kod.c (kod_set_os): Revert previous change. Is called by ``info
set'' and this leads to a core dump.  Move xstrdup of
operating_system to after check that it is not NULL.
2002-03-17 19:29:37 +00:00
Andrew Cagney 8e694ecf16 * kod.c (kod_set_os): Remove unnecessary check that
``command->type'' is set_cmd.
2002-03-17 16:25:09 +00:00
Andrew Cagney f66c9f11b6 * valprint.c (set_input_radix): Use input_radix.
(set_output_radix): Use output_radix.
(set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
isn't reverted.
2002-03-17 16:10:25 +00:00
Chris Demetriou 444269101d 2002-03-16 Chris Demetriou <cgd@broadcom.com>
* mips-opc.c (M3D): Tweak comment.
        (mips_builtin_op): Add comment indicating that opcodes of the
        same name must be placed together in the table, and sort
        the "recip.fmt", "recip1.fmt", "recip2.fmt", "rsqrt.fmt",
        "rsqrt1.fmt", and "rsqrt2.fmt" opcodes by name.
2002-03-17 02:42:25 +00:00
Andrew Cagney ee2d3b3a59 fix tipo 2002-03-17 01:32:54 +00:00
Andrew Cagney 9d01611c4c * value.h (struct value): Delete field ``substring_addr''. Change
aligner fields to force_doublest_align, force_longest_align,
force_core_addr_align and force_pointer_align.
2002-03-17 01:10:15 +00:00
gdbadmin 11956ca255 *** empty log message *** 2002-03-17 00:00:04 +00:00
Peter Schauer 4156bb5348 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
to fix internal_error from ``maintenance print architecture''.
2002-03-16 21:09:33 +00:00
Peter Schauer 0e5e3ea669 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
for gcc versions after gcc-2.8.1.
2002-03-16 20:53:14 +00:00
Peter Schauer 9b013045b0 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
for method resolution.  Restore adjustment of ``this'' pointer after
	calling value_struct_elt, which was accidentally removed during the
	HP merge.
2002-03-16 20:51:44 +00:00
Alexandre Oliva ba3c59ab0d * ltmain.sh (relink_command): Fix typo in previous change. 2002-03-16 14:43:09 +00:00
Andreas Jaeger 0eb7102dc4 Wrap overly long line in last patch. 2002-03-16 10:00:43 +00:00
Andreas Jaeger 949f2b5cda * doc/c-mips.texi (Machine Dependencies): Add new node. 2002-03-16 09:58:40 +00:00
Nick Clifton 43079f18a8 Tidy up sh64 rules 2002-03-16 08:55:53 +00:00
Chris Demetriou 82f6ea4af0 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips-dis.c: Update copyright years.
2002-03-16 03:12:07 +00:00
Chris Demetriou 1f25f5d300 [ gas/ChangeLog ]
2002-03-15  Chris G. Demetriou  <cgd@broadcom.com>

	* config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
	(mips_opts): Initialize "ase_mips3d" member.
	(file_ase_mips3d): New variable.
	(CPU_HAS_MIPS3D): New macro.
	(md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
	based on command line options and configuration defaults.
	(macro_build, mips_ip): Accept MIPS-3D instructions if
	mips_opts.ase_mips3d is set.
	(OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
	Add support for "-mips3d" and "-no-mips3d" options.
	(OPTION_ELF_BASE): Move to accomodate new options.
	(s_mipsset): Support ".set mips3d" and ".set nomips3d".
	(mips_elf_final_processing): Add a comment indicating that a
	MIPS-3D ASE ELF header flag should be set, when one exists.
	* doc/as.texinfo: Document -mips3d and -no-mips3d options.
	* doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
	nomips3d" directives.

[ gas/testsuite/ChangeLog ]
2002-03-15  Chris G. Demetriou  <cgd@broadcom.com>

	* gas/mips/mips64-mips3d.s: New file.
	* gas/mips/mips64-mips3d.d: Likewise.
	* gas/mips/mips.exp: Run new "mips64-mips3d" test.

[ include/opcode/ChangeLog ]
2002-03-15  Chris G. Demetriou  <cgd@broadcom.com>

	* mips.h (INSN_MIPS3D): New definition used to mark MIPS-3D
	instructions.
	(OPCODE_IS_MEMBER): Adjust comments to indicate that ASE bit masks
	may be passed along with the ISA bitmask.

[ opcodes/ChangeLog ]
2002-03-15  Chris G. Demetriou  <cgd@broadcom.com>

	* mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA
	bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64.  Add
	comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that
	indicate that they should dissassemble all applicable
	MIPS-specified ASEs.
	* mips-opc.c: Add support for MIPS-3D instructions.
	(M3D): New definition.

	* mips-opc.c: Update copyright years.
2002-03-16 03:09:19 +00:00
Andrew Cagney 376c960019 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
value_of_register.
* findvar.c (value_of_register): Add ``frame'' parameter.  Pass to
get_saved_register.
* value.h (value_of_register): Update.
2002-03-16 02:57:42 +00:00
Chris Demetriou ff8a5556c4 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips-opc.c (mips_builtin_opcodes): Sort bc<N> opcodes by name.
2002-03-16 02:53:52 +00:00
Chris Demetriou 7ad8fb54d8 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for
        mipsisa32*-*-* targets, rather than e32-rel2 and e32el-rel2.
2002-03-16 02:09:36 +00:00
gdbadmin a1d4a62a41 *** empty log message *** 2002-03-16 00:00:36 +00:00
Alexandre Oliva 6243d5dd94 * ltmain.sh (taglist): Initialized. Don't let `CC' tag out of it.
(relink_command): Added --tag flags.
(mode=install): If relinking fails; error out.
2002-03-15 23:05:24 +00:00
Chris Demetriou 4c563ebfce 2002-03-15 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (is_newabi): Fix ABI decoding.
2002-03-15 17:32:05 +00:00
Chris Demetriou eb7b56d007 2002-03-14 Chris G. Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_isa_type): Fix formatting of bfd_mach_mipsisa32
        and bfd_mach_mipsisa64 cases to match the rest.
2002-03-15 06:01:08 +00:00
Richard Henderson a4db0f0748 * configure.in: Detect declaration for canonicalize_file_name.
* utils.c (canonicalize_file_name): Declare, if needed.
        (gdb_realpath): Prefer realpath if available and usable.
        * config.in, configure: Rebuild.
2002-03-15 00:44:49 +00:00
gdbadmin bd2b03193d *** empty log message *** 2002-03-15 00:00:36 +00:00
Alan Modra d4427da1d0 daily update 2002-03-14 23:00:05 +00:00