Commit Graph

46446 Commits

Author SHA1 Message Date
Alan Modra 8f0506a226 daily update 2004-12-13 23:00:05 +00:00
Jerome Guitton fb6e181400 * gdb.ada/fixed_points.c: New file.
* gdb.ada/fixed_points.exp: New file.
2004-12-13 16:04:20 +00:00
Jerome Guitton 94e10a2220 * stabsread.c (read_huge_number): Add support for reading octal
signed number in twos complement, based on the size of this
	number.
	(read_range_type): Add support for reading octal signed bounds
	in twos complements, based on the size of the type.
	(read_type_number, read_cpp_abbrev, read_member_functions,
	read_cpp_abbrev, read_one_struct_field, read_baseclasses,
	read_struct_type, read_array_type, read_enum_type,
	read_sun_builtin_type, read_sun_floating_type): Update calls to
	read_huge_number.
	(read_type): Update call to read_range_type.
2004-12-13 15:56:47 +00:00
Richard Sandiford 1f0f3e9b89 * ld-mips-elf/mips-elf.exp: Only run jalbal if n32 is supported. 2004-12-13 13:09:55 +00:00
Richard Sandiford c0d8293fa5 * gas/mips/elf-rel25.d, gas/mips/elf-rel25a.d: Cope with different
.text alignments.
2004-12-13 13:02:10 +00:00
Randolph Chung 61aff869b9 2004-12-13 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
	solib_get_solib_by_pc method through target vector.
	(hppa_hpux_som_find_global_pointer): Call solib_get_got_by_pc
	method through target vector.
2004-12-13 08:47:07 +00:00
Randolph Chung 4bb7a26649 2004-12-13 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
	solib_get_solib_by_pc method through target vector.
2004-12-13 08:43:17 +00:00
Joel Brobecker 3ddae2db59 Correct date in last entry. 2004-12-13 05:10:16 +00:00
Joel Brobecker a99b228b02 * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Change
parameter name to make it clear that we already have a next
        frame.  Return the sigcontext from that next frame instead
        of the frame following it.
2004-12-13 05:07:23 +00:00
Randolph Chung acf86d5407 2004-12-13 Randolph Chung <tausq@debian.org>
* Makefile.in (pa64solib_h, somsolib_h): Delete.
	(solib_pa64_h, solib_som_h): New.
	(HFILES_NO_SRCDIR, ALLDEPFILES): Replace somsolib.h with solib-som.h.
	(hppa-hpux-tdep.o, hpread.o): Update dependencies.
	(pa64solib.o, somsolib.o): Delete.
	(solib-pa64.o, solib-som.o): New.
	* hppa-hpux-tdep.c: Include new solib interfaces.
	(hppa_hpux_som_init_abi): Attach to SOM solib interface.
	(hppa_hpux_elf_init_abi): Attach to PA64 ELF solib interface.
	* hppa-tdep.c (internalize_unwinds): If solib_get_text_base method
	is available, use it to determine the base of unwind records.
	* hppa-tdep.h (gdbarch_tdep): Add new solib methods.
	* hpread.c: Replace somsolib.h with solib-som.h.
	(hpread_process_one_debug_symbol): Use target vector to get thread
	start address.
	* config/pa/hppa64.mt (TDEPFILES): Use new solib interface.
	* config/pa/hppahpux.mt (TDEPFILES): Likewise.
	* config/pa/hpux.mh (NATDEPFILES): Delete references to target objects.
	* config/pa/tm-hppah.h: Use new solib interface.
2004-12-13 04:06:16 +00:00
Randolph Chung 0efcf9dce5 2004-12-13 Randolph Chung <tausq@debian.org>
* tramp-frame.c (tramp_frame_sniffer): Allow frames with names or
	sections to be trampolines too.
2004-12-13 03:38:23 +00:00
Hans-Peter Nilsson af596d0889 Correct last mispasted entry 2004-12-13 00:46:42 +00:00
Hans-Peter Nilsson 82571856a8 * syscall.c (cb_syscall) <case CB_SYS_rename>: New case. 2004-12-13 00:46:05 +00:00
Hans-Peter Nilsson 23193ce4ab Correct attribution last changes 2004-12-13 00:43:59 +00:00
Hans-Peter Nilsson d3ee64d110 * callback.h (CB_SYS_rename): New macro. 2004-12-13 00:42:49 +00:00
Hans-Peter Nilsson 0d3cd463e3 * syscall.c (cb_syscall) <case CB_SYS_lstat>: New case.
* callback.c (os_lstat): New function.
2004-12-13 00:38:38 +00:00
Hans-Peter Nilsson c4b36ce9fe * callback.h (struct host_callback_struct): New member lstat.
(CB_SYS_lstat): New macro.
2004-12-13 00:35:29 +00:00
gdbadmin 44548205b4 *** empty log message *** 2004-12-13 00:00:33 +00:00
Alan Modra 779de648d7 daily update 2004-12-12 23:00:04 +00:00
Ben Elliston 048a01af27 * f-exp.y (typename): Remove unused nonterminal.
(name): Likewise.
2004-12-12 21:48:55 +00:00
Andrew Cagney 323e0a4a75 2004-11-27 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
Committed by Andrw Cagney.
	* abug-rom.c, ada-lang.c, ada-typeprint.c, alpha-tdep.c: i18n
	markup.
2004-12-12 17:06:26 +00:00
Andrew Cagney 39ee2ff0da 2004-12-12 Andrew Cagney <cagney@gnu.org>
* frame.c (get_prev_frame): When unwinding normal frames, check
	that the PC isn't zero.
	* hppa-tdep.c (hppa_stub_frame_unwind_cache): Delete check for a
	zero PC.
2004-12-12 16:26:17 +00:00
Andrew Cagney 91a533d47b 2004-12-12 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Reword description of what "Target Instruction Set
	Architectures" covers.
2004-12-12 15:31:36 +00:00
Mark Kettenis 0d9b270c62 * hppa-hpux-nat.c (hppa_hpux_child_can_run): Tweak comment. 2004-12-12 13:51:55 +00:00
gdbadmin c2d8244d21 *** empty log message *** 2004-12-12 00:00:32 +00:00
Mark Kettenis eeca586fd4 * hppa-hpux-nat.c (ss_mpsfu_high): Remove define.
(hppa_hpux_save_state_offset): New function, replacing variable
with the same name.
(hppa_cannot_fetch_register, hppa_cannot_store_register): Remove
functions.
(hppa_hpux_fetch_register): Don't call hppa_cannot_fetch_register.
Use new hppa_hpux_save_state_offset function.  Add special
handling for handling 64-bit "flags" register.
(hppa_hpux_store_register): Likewise.
(hppa_hpux_child_can_run): Tweak comment.
2004-12-11 23:04:58 +00:00
Alan Modra 17a53e46b0 daily update 2004-12-11 23:00:04 +00:00
Mark Kettenis 7ba0e0c29a * inf-ttrace.c (inf_ttrace_him): Set TTEVT_BPT_SSTEP if available.
(inf_ttrace_attach): Likewise.
(inf_ttrace_resume_callback): New function.
(inf_ttrace_resume): Don't use TT_PROC_CONTINUE.  Iterate over all
lwps and call inf_ttrace_resume_callback instead.
(inf_ttrace_wait): Handle TTEVT_BPT_SSTEP.
2004-12-11 21:53:58 +00:00
Mark Kettenis d3322e8a42 * inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile. 2004-12-11 16:49:26 +00:00
Mark Kettenis 58544210ca Wrap long line. 2004-12-11 16:44:23 +00:00
Alan Modra 5c799c0790 bfd/
* elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that
	canonical sections syms have a name.

gas/testsuite/
	Update for changed section syms.

ld/testsuite/
	Update for changed section syms.
2004-12-11 04:32:37 +00:00
Alan Modra 645ea6a951 * elf64-ppc.c (opd_entry_value): Don't use cached relocs if they
have been adjusted for output.
	(ppc64_elf_relocate_section): Mark sections with reloc_done.
2004-12-11 03:56:43 +00:00
Ian Lance Taylor 6943caf048 * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
which is too large in the case of NO_PIC without 64-bit
	addresses.
2004-12-11 03:41:31 +00:00
Michael Snyder e02147b10c 2004-12-10 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c: New file.  This is a re-implementation of
	the mn10300 target back-end using the new frame api etc.
	* mn10300-tdep.h: New file.
	* config/mn10300/mn10300.mt: New file (or replace old file).
	* configure.tgt: Add mn10300 target.
2004-12-11 02:02:01 +00:00
gdbadmin 15ff3443d9 *** empty log message *** 2004-12-11 00:00:36 +00:00
Alan Modra d6d9b1bd36 daily update 2004-12-10 23:00:05 +00:00
DJ Delorie 40a59a4c46 merge from gcc 2004-12-10 22:04:41 +00:00
Mark Kettenis c510157568 * configure.host (hppa*-*-hpux11*): Remove.
* config/pa/hpux11.mh: Remove file.
2004-12-10 20:06:31 +00:00
Ian Lance Taylor e8ede7c71c * gas/mips/elf-rel23a.d: New test.
* gas/mips/elf-rel23b.d: New test.
	* gas/mips/elf-rel25.s: New test.
	* gas/mips/elf-rel25.d: New test.
	* gas/mips/elf-rel25a.d: New test.
	* gas/mips/mips.exp: Run new tests.
2004-12-10 19:48:42 +00:00
Ian Lance Taylor aa6975fbb3 * config/tc-mips.c (mips_in_shared): New static variable.
(macro_build_lui): Permit "_gp" if !mips_in_shared.
	(md_longopts): Add -mshared and -mno-shared.
	(md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
	(s_cpload): Implement !mips_in_shared case.
	(s_cpsetup): Likewise.
	* doc/c-mips.texi (MIPS Opts): Document -mno-shared.
	* NEWS: Mention -mno-shared.
2004-12-10 19:48:21 +00:00
Mark Kettenis 01926a6935 * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Fix
typo.
2004-12-10 15:48:21 +00:00
Alan Modra be8dd2ca9e * elf.c (bfd_elf_sym_name): Add symtab_hdr param.
(group_signature): Update call.
	* elf-bfd.h (bfd_elf_sym_name): Update.
	* elf32-ppc.c (ppc_elf_relocate_section): Update.
	* elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc)
	(ppc64_elf_relocate_section): Update
	* elflink.c (elf_link_input_bfd): Update.
2004-12-10 14:04:58 +00:00
Kris Warkentin d737fd7f91 * nto-tdep.h: Include osabi.h. Prototypes for generic Neutrino
osabi sniffer, signal handling initializer, 'in_dynsym_resolve_code'
function and nto_set_target function.
(struct nto_target_ops): Put comments inline with struct.  Add osabi
sniffer hook.  Redefine macros to permit testing/assignment.  Remove
nto_ prefix from members.
* nto-tdep.c (nto_find_and_open_solib): Allocate all buffers
dynamically to support arbitrary root paths.  Check for basename of
lib in search path and then check for absolute.
(nto_in_dynsym_resolve_code): New function.
(nto_core_sniffer): New function.
(regset_core_fns): Register core sniffer.
(nto_initialize_signals): New function.
(_initialize_nto_tdep): Move signal initialization code to above to
avoid initialization race conditions.
(nto_set_target): New function.
* nto-procfs.c: Minor formatting/indenting changes.
(procfs_is_nto_target): New function.
(procfs_open): Set nto_is_nto_target.
(_initialize_procfs): Ditto.  Remove notice_signals() call to avoid
initialization race conditions.
(procfs_create_inferior): Resume inferior after creation.
* i386-nto-tdep.c: Declare i386_nto_target.
(init_i386nto_ops): Initialize i386_nto_target instead of
current_nto_target.
(i386nto_init_abi): Initialize signals.  Call nto_set_target.  Set
TARGET_SO_IN_DYNSYM_RESOLVE_CODE.
(_initialize_i386nto_tdep): Call init_i386nto_ops.  Register osabi sniffer.
2004-12-10 13:38:23 +00:00
Alan Modra 0e2cfdce25 * elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name.
(group_signature): Update calls.
	* elf-bfd.h (bfd_elf_sym_name): Update.
	* elf32-ppc.c (ppc_elf_relocate_section): Update.
	* elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc)
	(ppc64_elf_relocate_section): Update
	* elflink.c (elf_link_input_bfd): Update.
2004-12-10 13:18:40 +00:00
Jakub Jelinek 138f35cc73 * elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid
st_shndx on STT_SECTION sections.
2004-12-10 13:08:03 +00:00
Mark Kettenis 3cd36e7c72 * hppa-hpux-tdep.c (child_enable_exception_callback): Use XMALLOC.
(hppa_hpux_sigtramp_frame_unwind_cache): Use ARRAY_SIZE.
(hppa_hpux_init_abi): Reformat long line.
2004-12-10 10:45:33 +00:00
Mark Kettenis 08d5305588 * hppa-hpux-tdep.c: Include "regset.h".
(HPPA_HPUX_SS_WIDEREGS, HPPA_HPUX_SS_FLAGS_OFFSET)
(HPPA_HPUX_SS_NARROW_OFFSET, HPPA_HPUX_SS_FPBLOCK_OFFSET)
(HPPA_HPUX_SS_WIDE_OFFSET, HPPA_HPUX_SAVE_STATE_SIZE)
(HPPA_HPUX_PA89_SAVE_STATE_SIZE): New defines.
(hppa_hpux_supply_ss_narrow, hppa_hpux_supply_ss_fpblock)
(hppa_hpux_supply_ss_wide, hppa_hpux_supply_save_state): New
functions.
(hppa_hpux_regset): New variable.
(hppa_hpux_regset_from_core_section): New function.
(hppa_hpux_init_abi): Set regset_from_core_section.
(hppa_hpux_core_osabi_sniffer): New function.
(_initialize_hppa_hpux_tdep): Register
hppa_hpux_core_osabi_sniffer.
* Makefile.in (hppa-hpux-tdep.o): Update dependencies.
* config/pa/hppahpux.mt (TDEPFILES): Add corelow.o.
2004-12-10 09:42:10 +00:00
gdbadmin 5922e7530e *** empty log message *** 2004-12-10 00:00:33 +00:00
Alan Modra dc9298fc70 daily update 2004-12-09 23:00:24 +00:00
Jim Blandy 6b8fea993e * MAINTAINERS: List 'depcomp' as part of automake. 2004-12-09 21:59:14 +00:00