OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago2004-12-13 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 13 Dec 2004 04:06:16 +0000 (04:06 +0000)]
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.

19 years ago2004-12-13 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 13 Dec 2004 03:38:23 +0000 (03:38 +0000)]
2004-12-13  Randolph Chung  <tausq@debian.org>

* tramp-frame.c (tramp_frame_sniffer): Allow frames with names or
sections to be trampolines too.

19 years agoCorrect last mispasted entry
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:46:42 +0000 (00:46 +0000)]
Correct last mispasted entry

19 years ago * syscall.c (cb_syscall) <case CB_SYS_rename>: New case.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:46:05 +0000 (00:46 +0000)]
* syscall.c (cb_syscall) <case CB_SYS_rename>: New case.

19 years agoCorrect attribution last changes
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:43:59 +0000 (00:43 +0000)]
Correct attribution last changes

19 years ago * callback.h (CB_SYS_rename): New macro.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:42:49 +0000 (00:42 +0000)]
* callback.h (CB_SYS_rename): New macro.

19 years ago * syscall.c (cb_syscall) <case CB_SYS_lstat>: New case.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:38:38 +0000 (00:38 +0000)]
* syscall.c (cb_syscall) <case CB_SYS_lstat>: New case.
* callback.c (os_lstat): New function.

19 years ago * callback.h (struct host_callback_struct): New member lstat.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:35:29 +0000 (00:35 +0000)]
* callback.h (struct host_callback_struct): New member lstat.
(CB_SYS_lstat): New macro.

19 years ago*** empty log message ***
gdbadmin [Mon, 13 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 12 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago * f-exp.y (typename): Remove unused nonterminal.
Ben Elliston [Sun, 12 Dec 2004 21:48:55 +0000 (21:48 +0000)]
* f-exp.y (typename): Remove unused nonterminal.
(name): Likewise.

19 years ago2004-11-27 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
Andrew Cagney [Sun, 12 Dec 2004 17:06:26 +0000 (17:06 +0000)]
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.

19 years ago2004-12-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 12 Dec 2004 16:26:17 +0000 (16:26 +0000)]
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.

19 years ago2004-12-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 12 Dec 2004 15:31:36 +0000 (15:31 +0000)]
2004-12-12  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Reword description of what "Target Instruction Set
Architectures" covers.

19 years ago* hppa-hpux-nat.c (hppa_hpux_child_can_run): Tweak comment.
Mark Kettenis [Sun, 12 Dec 2004 13:51:55 +0000 (13:51 +0000)]
* hppa-hpux-nat.c (hppa_hpux_child_can_run): Tweak comment.

19 years ago*** empty log message ***
gdbadmin [Sun, 12 Dec 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* hppa-hpux-nat.c (ss_mpsfu_high): Remove define.
Mark Kettenis [Sat, 11 Dec 2004 23:04:58 +0000 (23:04 +0000)]
* 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.

19 years agodaily update
Alan Modra [Sat, 11 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago* inf-ttrace.c (inf_ttrace_him): Set TTEVT_BPT_SSTEP if available.
Mark Kettenis [Sat, 11 Dec 2004 21:53:58 +0000 (21:53 +0000)]
* 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.

19 years ago* inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile.
Mark Kettenis [Sat, 11 Dec 2004 16:49:26 +0000 (16:49 +0000)]
* inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile.

19 years agoWrap long line.
Mark Kettenis [Sat, 11 Dec 2004 16:44:23 +0000 (16:44 +0000)]
Wrap long line.

19 years agobfd/
Alan Modra [Sat, 11 Dec 2004 04:32:35 +0000 (04:32 +0000)]
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.

19 years ago * elf64-ppc.c (opd_entry_value): Don't use cached relocs if they
Alan Modra [Sat, 11 Dec 2004 03:56:43 +0000 (03:56 +0000)]
* 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.

19 years ago2004-12-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 11 Dec 2004 02:02:01 +0000 (02:02 +0000)]
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.

19 years ago*** empty log message ***
gdbadmin [Sat, 11 Dec 2004 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 10 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Fri, 10 Dec 2004 22:04:41 +0000 (22:04 +0000)]
merge from gcc

19 years ago* configure.host (hppa*-*-hpux11*): Remove.
Mark Kettenis [Fri, 10 Dec 2004 20:06:31 +0000 (20:06 +0000)]
* configure.host (hppa*-*-hpux11*): Remove.
* config/pa/hpux11.mh: Remove file.

19 years ago* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Fix
Mark Kettenis [Fri, 10 Dec 2004 15:48:21 +0000 (15:48 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Fix
typo.

19 years ago * elf.c (bfd_elf_sym_name): Add symtab_hdr param.
Alan Modra [Fri, 10 Dec 2004 14:04:58 +0000 (14:04 +0000)]
* 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.

19 years ago* nto-tdep.h: Include osabi.h. Prototypes for generic Neutrino
Kris Warkentin [Fri, 10 Dec 2004 13:38:23 +0000 (13:38 +0000)]
* 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.

19 years ago * elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name.
Alan Modra [Fri, 10 Dec 2004 13:18:40 +0000 (13:18 +0000)]
* 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.

19 years ago * elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid
Jakub Jelinek [Fri, 10 Dec 2004 13:08:03 +0000 (13:08 +0000)]
* elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid
st_shndx on STT_SECTION sections.

19 years ago* hppa-hpux-tdep.c (child_enable_exception_callback): Use XMALLOC.
Mark Kettenis [Fri, 10 Dec 2004 10:45:33 +0000 (10:45 +0000)]
* 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.

19 years ago* hppa-hpux-tdep.c: Include "regset.h".
Mark Kettenis [Fri, 10 Dec 2004 09:42:10 +0000 (09:42 +0000)]
* 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.

19 years ago*** empty log message ***
gdbadmin [Fri, 10 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 9 Dec 2004 23:00:24 +0000 (23:00 +0000)]
daily update

19 years ago* MAINTAINERS: List 'depcomp' as part of automake.
Jim Blandy [Thu, 9 Dec 2004 21:59:14 +0000 (21:59 +0000)]
* MAINTAINERS: List 'depcomp' as part of automake.

19 years ago2004-12-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Thu, 9 Dec 2004 17:58:04 +0000 (17:58 +0000)]
2004-12-09  Randolph Chung  <tausq@debian.org>

* solib-pa64.c (pa64_relocate_section_addresses): Properly relocate
text and data sections.
(pa64_current_sos): Also include the dld in the list of current shared
objects.
(pa64_solib_get_solib_by_pc): Update comments.
(pa64_solib_get_text_base): New function.
(pa64_solib_select): Set solib_get_text_base method.

19 years ago * elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
Daniel Jacobowitz [Thu, 9 Dec 2004 16:17:42 +0000 (16:17 +0000)]
* elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
ELF section symbols.

19 years ago * elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,
Ian Lance Taylor [Thu, 9 Dec 2004 07:12:28 +0000 (07:12 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,
return a real value, unless it is a PLT symbol.
(mips_elf_perform_relocation): On the RM9000, turn a jal into a
bal if possible.

19 years ago * elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of
Ian Lance Taylor [Thu, 9 Dec 2004 06:32:41 +0000 (06:32 +0000)]
* elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of
R_MIPS_JALR entry to 0.

19 years ago * mips.h (CPU_RM9000): Define.
Ian Lance Taylor [Thu, 9 Dec 2004 06:13:44 +0000 (06:13 +0000)]
* mips.h (CPU_RM9000): Define.
(OPCODE_IS_MEMBER): Handle CPU_RM9000.

19 years ago * archures.c: Define bfd_mach_mips9000.
Ian Lance Taylor [Thu, 9 Dec 2004 06:08:45 +0000 (06:08 +0000)]
* archures.c: Define bfd_mach_mips9000.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000.
(mips_set_isa_flags): Handle bfd_mach_mips9000.
* cpu-mips.c (I_mips9000): Define.
(arch_info_struct): Add case for bfd_mach_mips9000.
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000.
* bfd-in2.h: Regenerate.

19 years ago * mips.h (E_MIPS_MACH_9000): Define.
Ian Lance Taylor [Thu, 9 Dec 2004 06:02:45 +0000 (06:02 +0000)]
* mips.h (E_MIPS_MACH_9000): Define.

19 years ago2004-12-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Kazuhiro Inaoka [Thu, 9 Dec 2004 00:47:45 +0000 (00:47 +0000)]
2004-12-09  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

        Committed by Kei Sakamoto.
        * traps-linux.c (m32r_trap): Add entries of the following dummy system
        calls: __NR_mmap2, __NR_lchown32, __NR_getuid32, __NR_getgid32,
        __NR_geteuid32, __NR_getegid32, __NR_getgroups32, __NR_fchown32,
        __NR_setfsuid32, __NR_setfsgid32, __NR_getresuid32,
        __NR_getresgid32 and __NR_chown32.
        * syscall.h: Add new definitions of system call number.

19 years ago*** empty log message ***
gdbadmin [Thu, 9 Dec 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 8 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * library/download.ith (completed_steps): New variable.
Keith Seitz [Wed, 8 Dec 2004 22:31:45 +0000 (22:31 +0000)]
    * library/download.ith (completed_steps): New variable.
        * library/download.itb (Download::constructor): Remove
        "-fraction" option from iwidgets feedback widget. It's not a valid
        option!
        (update_download): Compute the step number and use that to
        update the feedback widget.
        (done): Use completed_steps to figure out how many steps
        the dumb feedback meter needs to show full.

19 years ago * Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.
David Edelsohn [Wed, 8 Dec 2004 20:29:58 +0000 (20:29 +0000)]
* Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.
* Makefile.tpl (EXTRA_HOST_FLAGS): Add PICFLAG.
(EXTRA_TARGET_FLAGS): Add PICFLAG.
* Makefile.in: Regenerate.

19 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26
Ian Lance Taylor [Wed, 8 Dec 2004 20:27:50 +0000 (20:27 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26
overflow.

19 years agoForgot to mention a change...
Keith Seitz [Wed, 8 Dec 2004 20:24:13 +0000 (20:24 +0000)]
Forgot to mention a change...

19 years ago From Ben Elliston (bje@gnu.org):
Keith Seitz [Wed, 8 Dec 2004 20:21:08 +0000 (20:21 +0000)]
    From Ben Elliston (bje@gnu.org):
        * rhabout.c (extra_text): Convert to object interface.

19 years ago* Makefile.tpl: Generate normal dependencies if the LHS module is
DJ Delorie [Wed, 8 Dec 2004 18:57:27 +0000 (18:57 +0000)]
* Makefile.tpl: Generate normal dependencies if the LHS module is
not bootstrapped.
* Makefile.in: Regenerate.

19 years agomerge from gcc
DJ Delorie [Wed, 8 Dec 2004 18:55:40 +0000 (18:55 +0000)]
merge from gcc

19 years ago * acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area. Reset
Daniel Jacobowitz [Wed, 8 Dec 2004 15:50:29 +0000 (15:50 +0000)]
* acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area.  Reset
LIBS when finished.
* aclocal.m4: Regenerated.
* configure: Regenerated.

19 years ago * linux-thread-db.c (BUILD_THREAD): Delete.
Daniel Jacobowitz [Wed, 8 Dec 2004 15:10:30 +0000 (15:10 +0000)]
* linux-thread-db.c (BUILD_THREAD): Delete.
(thread_get_info_callback): Include LWP ID in thread ID.
(thread_from_lwp, check_event, find_new_threads_callback): Likewise.
(lwp_from_thread): Use the LWP ID from the thread ID.

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 8 Dec 2004 06:12:40 +0000 (06:12 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_prev_register_helper): Zero out the entire
register for both 32- and 64-bit targets.

19 years ago* gdb.texinfo (General Query Packets): Specify that thread ID's in
Jim Blandy [Wed, 8 Dec 2004 05:28:31 +0000 (05:28 +0000)]
* gdb.texinfo (General Query Packets): Specify that thread ID's in
the 'qC' and 'qThreadInfo' packets are unsigned hexidecimal
numbers.

19 years ago * Makefile.in (.NOEXPORT): Move above the autogenerated line.
Ben Elliston [Wed, 8 Dec 2004 03:13:28 +0000 (03:13 +0000)]
* Makefile.in (.NOEXPORT): Move above the autogenerated line.

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 8 Dec 2004 01:56:16 +0000 (01:56 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* frame.c (get_prev_frame): Don't terminate unwinding at main if we
are unwinding through a dummy frame.

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 8 Dec 2004 01:48:03 +0000 (01:48 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* hppa-tdep.h (gdbarch_tdep): Add unwind_adjust_stub method.
* hppa-hpux-tdep.c (hppa_hpux_unwind_adjust_stub): New function.
(hppa_hpux_init_abi) Set unwind_adjust_stub method.
* hppa-tdep.c (hppa_frame_cache): Call unwind_adjust_stub method
     if defined.

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 8 Dec 2004 01:44:02 +0000 (01:44 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_stub_Frame_unwind_cache): Stop unwinding if
unwinding from a frame with pc == 0.
(hppa_stub_frame_this_id): Likewise.
(hppa_stub_frame_prev_register): Only provide real values if the frame
cache is not NULL.

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 8 Dec 2004 01:36:42 +0000 (01:36 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* solib-som.c: New file.
* solib-som.h: New file.
* solib-pa64.c: New file.
* solib-pa64.h: New file.

19 years agomerge from gcc
DJ Delorie [Wed, 8 Dec 2004 01:02:33 +0000 (01:02 +0000)]
merge from gcc

19 years ago * run.1: Document --sysroot=filepath.
Hans-Peter Nilsson [Wed, 8 Dec 2004 00:40:30 +0000 (00:40 +0000)]
* run.1: Document --sysroot=filepath.
* sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT.
(standard_options): Support --sysroot=<path>.
(standard_option_handler): Handle OPTION_SYSROOT.
* syscall.c (simulator_sysroot): Define, initialized empty.
(get_path): Prepend simulator_sysroot to absolute file path.
[HAVE_STRING_H]: Include string.h.
[!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h.
* nrun.c [HAVE_UNISTD_H]: Include unistd.h.
(main): If simulator_sysroot is not empty, chdir there.
* sim-config.h (simulator_sysroot): Declare.

19 years ago * getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
Ben Elliston [Wed, 8 Dec 2004 00:30:35 +0000 (00:30 +0000)]
* getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
(_getopt_initialize): Annotate argc and argv parameters as unused.
* Makefile.in (getopt.o): Depend on $(INCDIR)/ansidecl.h.

19 years ago*** empty log message ***
gdbadmin [Wed, 8 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * configure: Regenerate for ../common/aclocal.m4 update.
Hans-Peter Nilsson [Tue, 7 Dec 2004 23:51:23 +0000 (23:51 +0000)]
* configure: Regenerate for ../common/aclocal.m4 update.

19 years ago * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
Hans-Peter Nilsson [Tue, 7 Dec 2004 23:37:35 +0000 (23:37 +0000)]
* aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
cgen_rtx_error" in a CGEN-generated simulator.
* gdbinit.in: Break on sim_core_signal too.  Have autoconf
replacement for CGEN-related breakpoints.

19 years agodaily update
Alan Modra [Tue, 7 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * Make-common.in (sim-basics_h): Add $(callback_h).
Hans-Peter Nilsson [Tue, 7 Dec 2004 22:28:53 +0000 (22:28 +0000)]
* Make-common.in (sim-basics_h): Add $(callback_h).

19 years ago* Makefile.in (inf-ttrace.o): Fix typo.
Mark Kettenis [Tue, 7 Dec 2004 22:17:59 +0000 (22:17 +0000)]
* Makefile.in (inf-ttrace.o): Fix typo.

19 years ago* remote.c (remote_threads_info, remote_current_thread): Use
Jim Blandy [Tue, 7 Dec 2004 20:21:32 +0000 (20:21 +0000)]
* remote.c (remote_threads_info, remote_current_thread): Use
strtoul to parse thread ID numbers.

19 years agomerge from gcc
DJ Delorie [Tue, 7 Dec 2004 20:02:09 +0000 (20:02 +0000)]
merge from gcc

19 years ago* inf-ttrace.c: Include "gdbthread.h".
Mark Kettenis [Tue, 7 Dec 2004 19:57:21 +0000 (19:57 +0000)]
* inf-ttrace.c: Include "gdbthread.h".
(inf_ttrace_num_lwps): New variable.
(inf_ttrace_num_lwps_in_syscall): Renamed from
inf_ttrace_num_threads_in_syscall.
(inf_ttrace_him): Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and
TTEVT_LWP_TERMINATE events.
(inf_ttrace_create_inferior): Assert that INF_TTRACE_NUM_LWPS is
zero.
(inf_ttrace_mourn_inferior): Set INF_TTRACE_NUM_LWPS to zero.
(inf_ttrace_attach): Assert that INF_TTRACE_NUM_LWPS is zero.
Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE
events.
(inf_ttrace_wait): Report status as TARGET_WAITKIND_SPURIOUS by
default.  Handle TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and
TTEVT_LWP_TERMINATE events.
(inf_ttrace_thread_alive, inf_ttrace_pid_to_str): New functions.
(inf_ttrace_target): Set to_thread_alive and to_pid_to_str.
* Makefile.in (inf-ttrace.o): Update dependencies.

19 years ago* hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): New
Mark Kettenis [Tue, 7 Dec 2004 18:04:11 +0000 (18:04 +0000)]
* hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): New
prototypes.
* hppa-tdep.c (hppa_read_pc): Rename from hppa_target_read_pc.
Make global.  Remove HP-UX specific code.  Use
frame_unwind_register_unsigned instead of
frame_unwind_register_signed.
(hppa_write_pc): Rename from hppa_target_write_pc.  Make global.
Remove HP-UX specific code.
(hppa_unwind_pc): Make global.  Remove HP-UX specific code.
(hppa_frame_prev_register_helper): Set "flags" register to zero
for all unwound frames.
(hppa_gdbarch_init): Adjust.
* hppa-hpux-tdep.c (HPPA_HPUX_SS_INSYSCALL): New define.
(hppa_hpux_read_pc, hppa_hpux_write_pc)
(hppa_hpux_unwind_pc): New functions.
(hppa_hpux_init_abi): Set read_pc, write_pc and unwind_pc.

19 years ago * main.c (long_options): Add entry for "-l".
Andreas Schwab [Tue, 7 Dec 2004 11:06:04 +0000 (11:06 +0000)]
* main.c (long_options): Add entry for "-l".
(print_gdb_help): Add line for -l option.
* NEWS: Mention it.

doc/
* gdb.texinfo (Mode Options): Document -l option.

19 years ago * netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.
Ben Elliston [Tue, 7 Dec 2004 10:53:44 +0000 (10:53 +0000)]
* netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.

19 years ago Suggested by Fergal Daly <fergal@esatclear.ie>:
Daniel Jacobowitz [Tue, 7 Dec 2004 04:37:56 +0000 (04:37 +0000)]
Suggested by Fergal Daly <fergal@esatclear.ie>:
* simple.c (simple_dummy_multiple_definition): New function.
(bfd_simple_get_relocated_section_contents): Use it.

19 years ago*** empty log message ***
gdbadmin [Tue, 7 Dec 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 6 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-05 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 6 Dec 2004 03:36:38 +0000 (03:36 +0000)]
2004-12-05  Randolph Chung  <tausq@debian.org>

* hppah-nat.c (store_inferior_registers): Rewrite logic to not use
DEPRECATED_REGISTER_BYTE.

19 years ago2004-12-05 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 6 Dec 2004 03:32:26 +0000 (03:32 +0000)]
2004-12-05  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (unwind_command): Print the stub type for stub unwind
records.

19 years ago*** empty log message ***
gdbadmin [Mon, 6 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 5 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years agoOops.
Mark Kettenis [Sun, 5 Dec 2004 20:05:32 +0000 (20:05 +0000)]
Oops.

19 years ago* somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function.
Mark Kettenis [Sun, 5 Dec 2004 19:41:37 +0000 (19:41 +0000)]
* somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function.
* config/pa/hppahpux.mt (TDEPFILES): Remove solib.o.

19 years ago* hppa-hpux-tdep.c: Update copyright notice and year.
Mark Kettenis [Sun, 5 Dec 2004 15:48:14 +0000 (15:48 +0000)]
* hppa-hpux-tdep.c: Update copyright notice and year.

19 years ago* doublest.c (FLOATFORMAT_LARGEST_BYTES): New define.
Richard Earnshaw [Sun, 5 Dec 2004 15:17:34 +0000 (15:17 +0000)]
* doublest.c (FLOATFORMAT_LARGEST_BYTES): New define.
(get_field, put_field): Assert that the format is one we can handle.
Simplify logic accordingly.
(floatformat_normalize_byteorder): New function.
(convert_floatformat_to_doublest): Use floatformat_normalize_byteorder
to normalize and select modified byte order. Pass modified byte order
to get_field.
(floatformat_is_negative, floatformat_is_nan, floatformat_mantissa):
Likewise.
(convert_doublest_to_floatformat): Select an appropriate intermediate
byte order if necessary.  Always convert to the final format before
returning.

19 years ago2004-12-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Sun, 5 Dec 2004 12:29:04 +0000 (12:29 +0000)]
2004-12-05  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c (print_arg): Use 'info->print_address_func' for address printing.

19 years ago2004-12-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Sun, 5 Dec 2004 12:26:49 +0000 (12:26 +0000)]
2004-12-05  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c: Use 'info->print_address_func' for address printing.

19 years ago*** empty log message ***
gdbadmin [Sun, 5 Dec 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 4 Dec 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago PR tui/1703
Daniel Jacobowitz [Sat, 4 Dec 2004 17:21:26 +0000 (17:21 +0000)]
PR tui/1703
* linux-nat.c (linux_tracefork_child): Use _exit instead of exit.
Suggested by Joshua Neuheisel.

19 years ago * gdbint.texinfo (Algorithms): More accurate description of
Eli Zaretskii [Sat, 4 Dec 2004 14:02:44 +0000 (14:02 +0000)]
* gdbint.texinfo (Algorithms): More accurate description of
STOPPED_BY_WATCHPOINT.  Point out that target_stopped_data_address
is not needed unless data-read and data-access watchpoints are
supported.  Add a description of how GDB checks whether the
inferior stopped because a watchpoint was hit.

19 years ago*** empty log message ***
gdbadmin [Sat, 4 Dec 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2004-12-03 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 3 Dec 2004 23:59:53 +0000 (23:59 +0000)]
2004-12-03  Randolph Chung  <tausq@debian.org>

* gdbarch.sh (instruction_nullified): Delete.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* hppa-tdep.c (hppa_target_read_pc): Adjust pc if instruction is
nullified.
(hppa_unwind_pc): Likewise.
(hppa_instruction_nullified): Delete.
(hppa_gdbarch_init): Don't set instruction_nullified method.
* infrun.c (infwait_states): Remove infwait_nullified_state.
(handle_inferior_event): Remove handling of infwait_nullified_state.
Remove handling of nullified instructions.

testsuite/

* gdb.arch/pa-nullify.exp: New file.
* gdb.arch/pa-nullify.s: New file.

19 years agoBah, forgot to commit the trivial fix I pointed out myself after applying patch for...
Hans-Peter Nilsson [Fri, 3 Dec 2004 23:34:55 +0000 (23:34 +0000)]
Bah, forgot to commit the trivial fix I pointed out myself after applying patch for previous change

19 years agodaily update
Alan Modra [Fri, 3 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update