Commit Graph

50455 Commits

Author SHA1 Message Date
Alan Modra 233b87d920 daily update 2006-02-03 23:00:08 +00:00
Daniel Jacobowitz 7b871fabb1 * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR.
* exceptions.c (exception_none, exceptions_state_mc_init)
	(throw_vfatal): Use GDB_NO_ERROR.
2006-02-03 21:50:25 +00:00
Eli Zaretskii 219eec7184 * gdb.texinfo (Cygwin Native): Fix typos. Clarify the types of
debugging information produced by the various "set debug..."
	options.
2006-02-03 19:30:21 +00:00
gdbadmin 24a3c32cb5 *** empty log message *** 2006-02-03 00:00:03 +00:00
Alan Modra d6580db46a daily update 2006-02-02 23:00:05 +00:00
H.J. Lu d72d9b9e57 Updo the last change to binutils and ld/testsuite. 2006-02-02 22:53:46 +00:00
H.J. Lu ec21a0f54c Add missing entries. 2006-02-02 22:16:02 +00:00
Mark Kettenis e4cd0d6a26 * solib-svr4.h (struct link_map_offsets): Remove r_debug_size and
r_map_size members.  Add r_version_offset, r_version_size and
r_ldsomap_offset members.
* solib-svr4.c (solib_svr4_r_map): Renamed from
fetch_link_map_member.  Simplify using read_memory_typed_address.
(solib_svr4_r_ldsomap): New function.
(open_symbol_file_object): Use solib_svr_r_map.
(svr4_current_sos): Use solib_svr4_r_map and look for the dynamic
linker by using solib_svr4_r_ldsomap.
(svr4_ilp32_fetch_link_map_offsets)
(svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct
link_map_offsets'.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for
changes to `struct link_map_offsets'.
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets)
(mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to
`struct link_map_offsets'.
2006-02-02 22:15:01 +00:00
H.J. Lu de205c03b9 binutils/
2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>

	* readelf.c (process_program_headers): Undo the change made on
	2004-09-22.  Match PT_DYNAMIC segment only with SHT_DYNAMIC
	sections.

ld/testsuite/

2006-02-02  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-i386/tlsbin.rd: Update for changed segment map.
	* ld-i386/tlsnopic.rd: Likewise.
	* ld-i386/tlspic.rd: Likewise.
	* ld-powerpc/tlsexe.r: Likewise.
	* ld-powerpc/tlsexe32.r: Likewise.
	* ld-powerpc/tlsexetoc.r: Likewise.
	* ld-powerpc/tlsso.r: Likewise.
	* ld-powerpc/tlsso32.r: Likewise.
	* ld-powerpc/tlstocso.r: Likewise.
	* ld-s390/tlsbin.rd: Likewise.
	* ld-s390/tlsbin_64.rd: Likewise.
	* ld-s390/tlspic.rd: Likewise.
	* ld-s390/tlspic_64.rd: Likewise.
	* ld-sh/tlsbin-2.d: Likewise.
	* ld-sh/tlspic-2.d: Likewise.
	* ld-x86-64/tlsbin.rd: Likewise.
	* ld-x86-64/tlspic.rd: Likewise.
2006-02-02 22:05:56 +00:00
Paul Brook a9931606c2 2006-02-02 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
2006-02-02 20:19:56 +00:00
Paul Brook ef8d22e63b 2005-02-02 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
	T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
	T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
	T2_OPCODE_RSB): Define.
	(thumb32_negate_data_op): New function.
	(md_apply_fix): Use it.
gas/testsuite/
	* gas/arm/thumb2_invert.d: New test.
	* gas/arm/thumb2_invert.s: New test.
2006-02-02 13:34:17 +00:00
Mark Mitchell 59f6d9d6f8 * emul_netbsd.c (emul_netbsd_create): Quote file-name property.
* emul_unix.c (emul_unix_create): Likewise.
	* tree.c (libiberty.h): Include it.
	(tree_quote_property): New function.
	* tree.h (tree_quote_property): Declare.
2006-02-02 06:45:49 +00:00
Daniel Jacobowitz e26af52fd1 * linux-nat.c (struct saved_ptids, threads_to_delete)
(record_dead_thread, prune_lwps, find_thread_from_lwp)
	(exit_lwp): New.
	(linux_nat_resume): Call prune_lwps.
	(wait_lwp, linux_nat_wait): Call exit_lwp.
2006-02-02 02:29:29 +00:00
Daniel Jacobowitz 46e9880c62 * printcmd.c (printf_command): Make format string checking
stricter.  Add separate cases for long_arg, ptr_arg, and
	long_double_arg.
	* utils.c (xstrvprintf): Improve the error message issued
	for a bad format string.
	* Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE):
	New variables.
	(gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove
	$(NO_WERROR_CFLAGS).
	(printcmd.o): Likewise.  Use $(GDB_WARN_CFLAGS_NO_FORMAT) and
	enable -Werror.
2006-02-02 02:26:48 +00:00
Daniel Jacobowitz 37a105a123 * Makefile.in (remote.o): Update.
* remote.c (show_packet_config_cmd): Shorten messages.
	(remote_set_cmdlist, remote_show_cmdlist): Make file-static.
	(show_remote_cmd): Iterate.
	(_initialize_remote): Remove remote_set_cmdlist,
	remote_show_cmdlist.
2006-02-02 02:04:28 +00:00
Daniel Jacobowitz eeea466063 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
2006-02-02 01:48:16 +00:00
gdbadmin 9c703ebff4 *** empty log message *** 2006-02-02 00:00:32 +00:00
Daniel Jacobowitz ae5a43e0c9 gdb/
* Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update.
	* defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add
	prototypes.
	* dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC.
	(hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to...
	* utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate):
	...here.
	* gdbtypes.c: Include "hashtab.h".
	(build_gdbtypes): Remove extra prototype.
	(struct type_pair, type_pair_hash, type_pair_eq)
	(create_copied_types_hash, copy_type_recursive): New.
	* gdbtypes.h: Include "hashtab.h".
	(TYPE_ZALLOC): New.
	(create_copied_types_hash, copy_type_recursive): New prototypes.
	* objfiles.c (free_objfile): Call preserve_values.
	* symfile.c (reread_symbols): Likewise.
	(clear_symtab_users): Remove calls to clear_value_history and
	clear_internalvars.
	* value.c (clear_value_history, clear_internalvars): Removed.
	(preserve_one_value, preserve_values): New functions.
	* value.h (clear_value_history, clear_internalvars): Removed.
	(preserve_values): New prototype.

	* tracepoint.c (_initialize_tracepoint): Do not initialize convenience
	variables here.
gdb/doc/
	* gdb.texinfo (Files): Remove obsolete bits from the description
	of "symbol-file".
2006-02-01 23:14:11 +00:00
Alan Modra f37bc9f776 daily update 2006-02-01 23:00:07 +00:00
Eric Botcazou bb29dfeaa6 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
for call-to-undefweak reloc overflow.
2006-02-01 22:03:38 +00:00
Daniel Jacobowitz dd24457ddf * Makefile.in (OBS): Add version.o.
(STAGESTUFF): Delete.
	(version.o): Add dependencies.
	(version.c): Replace rule.
	(clean): Remove version.c.
	* server.c (gdbserver_version): New.
	(gdbserver_usage): Use printf.
	(main): Handle --version and --help.
	* server.h (version, host_name): Add declarations.
2006-02-01 21:37:21 +00:00
Danny Smith 6b31ad165d * deffilep.y (def_image_name): If the image name does not have
a suffix, append the default.
	* ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
2006-02-01 21:28:29 +00:00
Alan Modra f524510a16 daily update 2006-02-01 01:09:00 +00:00
gdbadmin baee6b425d *** empty log message *** 2006-02-01 00:00:02 +00:00
Eric Botcazou ca6d06e538 * ld-sparc/sparc.exp: Do not run 64-bit tests on Solaris 2.5.1
and Solaris 2.6.
2006-01-31 23:49:32 +00:00
Eric Botcazou dc669dc848 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
for 32-bit relocs overflow.
2006-01-31 22:42:21 +00:00
Danny Smith 4b5bd4e780 * NEWS: mention support for forward exports in PE-COFF dll's.
* ld.texinfo: Expand documentation of EXPORT statements in
	PE-COFF .def files.
2006-01-31 22:13:41 +00:00
Danny Smith a8d701fd09 2006-01-31 Filip Navara <navaraf@reactos.com>
* deffile.h (struct def_file_export): Add field flag_forward.
	* pe-dll.c (process_def_file): Check for forward exports.
	(generate_edata): Generate forward export symbols.
	(fill_edata): Emit them.

	* pe-dll.c (process_def_file): Don't crash on malformed
	fastcall symbol names in .def file.
2006-01-31 22:08:14 +00:00
Bob Wilson e7da624184 * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
fields.
	* config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
	* config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
	subtracted symbols.
	(relaxation_requirements): Add pfinish_frag argument and use it to
	replace setting tinsn->record_fix fields.
	(xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
	and vinsn_to_insnbuf.  Remove references to record_fix and
	slot_sub_symbols fields.
	(xtensa_mark_narrow_branches): Delete unused code.
	(is_narrow_branch_guaranteed_in_range): Handle expr that is not just
	a symbol.
	(convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
	record_fix fields.
	(tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
	(vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
	of the record_fix field.  Simplify error messages for unexpected
	symbolic operands.
	(set_expr_symbol_offset_diff): Delete.
2006-01-31 19:36:57 +00:00
Paul Brook 791346475b 2006-01-31 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
gas/testsuite/
	* gas/testsuite/gas/arm/iwmmxt-bad.s: Add check for bad register name.
	* gas/testsuite/gas/arm/iwmmxt-bad.l: Ditto.
2006-01-31 16:19:41 +00:00
Paul Brook e74cfd166e 2006-01-31 Paul Brook <paul@codesourcery.com>
Richard Earnshaw <rearnsha@arm.com>

	* gas/config/tc-arm.c: Use arm_feature_set.
	(arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
	arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
	fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
	New variables.
	(insns): Use them.
	(md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
	md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
	arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
	s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
	feature flags.
	(arm_legacy_option_table, arm_option_cpu_value_table): New types.
	(arm_opts): Move old cpu/arch options from here...
	(arm_legacy_opts): ... to here.
	(md_parse_option): Search arm_legacy_opts.
	(arm_cpus, arm_archs, arm_extensions, arm_fpus)
	(arm_float_abis, arm_eabis): Make const.

	* include/opcode/arm.h: Use ARM_CPU_FEATURE.
	(ARM_AEXT_*, FPU_ENDIAN_PURE, FPU_VFP_HARD): New.
	(arm_feature_set): Change to a structure.
	(ARM_CPU_HAS_FEATURE, ARM_MERGE_FEATURE_SETS, ARM_CLEAR_FEATURE,
	ARM_FEATURE): New macros.
2006-01-31 14:11:13 +00:00
gdbadmin 10bbee73e3 *** empty log message *** 2006-01-31 00:00:32 +00:00
Alan Modra 00640d8023 daily update 2006-01-30 23:00:40 +00:00
Nick Clifton c8782eeec3 * objcopy.c (copy_object): Catch the case where an attempt is made to add a
section that already exists and produce a more helpful warning message.
2006-01-30 13:06:53 +00:00
Nick Clifton 790433a9e1 Updated Vietnamese translation. 2006-01-30 12:20:22 +00:00
gdbadmin 678226d3e6 *** empty log message *** 2006-01-30 00:00:02 +00:00
Alan Modra 985ab7ae54 daily update 2006-01-29 23:00:06 +00:00
Mark Kettenis 1315ad4636 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files. 2006-01-29 21:30:17 +00:00
Mark Kettenis b929c77fba * amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
Fixes PR tdep/2075.
2006-01-29 21:19:31 +00:00
DJ Delorie fd7d450d2b merge from gcc 2006-01-29 20:07:09 +00:00
gdbadmin 06d3c8c05c *** empty log message *** 2006-01-29 00:00:32 +00:00
Alan Modra c68ea8e729 daily update 2006-01-28 23:00:06 +00:00
gdbadmin 1855d07ec4 *** empty log message *** 2006-01-28 00:00:02 +00:00
Alan Modra f378d620b6 daily update 2006-01-27 23:00:05 +00:00
Joel Brobecker 1581f35909 * MAINTAINERS: Use a consistent email address for brobecker. 2006-01-27 21:27:07 +00:00
Joel Brobecker 37706b70d5 * infcmd.c (post_create_inferior): Fix copy/paste error introduced
in the previous change.
2006-01-27 20:05:27 +00:00
Nikolaos Kavvadias 4b3dc01ddd Adding myself as DLX maintainer 2006-01-27 19:42:35 +00:00
Nick Clifton 63d852486f * pe-dll.c (pe_dll_generate_implib): Issue "Creating library file:" as
informational message, not a warning.
2006-01-27 17:18:13 +00:00
H.J. Lu a10e6b21d4 2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2218
	* ld-pie/pie.exp: New file.
	* ld-pie/weakundef.c: Likewise.
	* ld-pie/weakundef.out: Likewise.

	* lib/ld-lib.exp (run_ld_link_exec_tests): Fix nesting. Support
	building PIE and shared library.
2006-01-27 14:32:04 +00:00
Paul Brook 1a0eb69375 2006-01-27 Paul Brook <paul@codesourcery.com>
* elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
	objects.
2006-01-27 14:11:43 +00:00