OSDN Git Service
cgf [Thu, 4 Sep 2003 03:01:35 +0000 (03:01 +0000)]
* cxx.cc (new): Fix formatting. Just return result of ccalloc rather than
calling memset explicitly.
amodra [Thu, 4 Sep 2003 01:52:18 +0000 (01:52 +0000)]
* config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing
ppc_cpu selection rather than replacing.
(ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu.
(md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash.
amodra [Thu, 4 Sep 2003 01:51:37 +0000 (01:51 +0000)]
* ppc-dis.c (struct dis_private): New.
(powerpc_dialect): Make static. Accept -Many in addition to existing
options. Save dialect in dis_private.
(print_insn_big_powerpc): Retrieve dialect from dis_private.
(print_insn_little_powerpc): Likewise.
(print_insn_powerpc): Call powpc_dialect here. Remove unnecessary
efs/altivec check. Try harder to disassemble if given -Many.
* ppc-opc.c (insert_fxm): Expand comment.
(PPC, PPCCOM, PPC32, PPC64, PPCVEC): Remove PPC_OPCODE_ANY.
(POWER, POWER2, PPCPWR2, POWER32, COM, COM32, M601, PWRCOM): Likewise.
(POWER4): Remove PPCCOM.
(PPCONLY): Don't define. Update all occurrences to PPC.
cgf [Thu, 4 Sep 2003 01:04:57 +0000 (01:04 +0000)]
* mount.cc (mount_commands): Ensure user mode is actually user mode and not the
default system mode.
cagney [Thu, 4 Sep 2003 00:05:49 +0000 (00:05 +0000)]
2003-09-03 Andrew Cagney <cagney@redhat.com>
* arch-utils.h (legacy_print_insn): Delete declaration.
* arch-utils.c (legacy_print_insn): Delete function.
* disasm.c (deprecated_tm_print_insn_info): Delete.
(_initialize_disasm): Delete function, contained code initializing
deprecated_tm_print_insn_info.
* gdbarch.sh (deprecated_tm_print_insn): Delete.
(deprecated_tm_print_insn_info): Delete.
(TARGET_PRINT_INSN): Do not provide a default.
* gdbarch.h, gdbarch.c: Re-generate.
gdbadmin [Thu, 4 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 4 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
cagney [Wed, 3 Sep 2003 23:46:57 +0000 (23:46 +0000)]
2003-09-03 Andrew Cagney <cagney@redhat.com>
* disasm.c (fprintf_disasm): New function.
(gdb_disassemble_info): Call "init_disassemble_info", instead of
INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets",
reverts 2003-08-14 change.
(_initialize_disasm): Call "init_disassemble_info", instead of
INIT_DISASSEMBLE_INFO_NO_ARCH.
cagney [Wed, 3 Sep 2003 23:43:17 +0000 (23:43 +0000)]
Index: opcodes/ChangeLog
2003-09-03 Andrew Cagney <cagney@redhat.com>
* dis-init.c (init_disassemble_info): New file and function.
* Makefile.am (CFILES): Add "dis-init.c".
(libopcodes_la_SOURCES): Add "dis-init.c".
(dis-init.lo): Specify dependencies.
* Makefile.in: Regenerate.
Index: include/ChangeLog
2003-08-27 Andrew Cagney <cagney@redhat.com>
* dis-asm.h (init_disassemble_info): Declare.
(INIT_DISASSEMBLE_INFO): Redefine as a call to
init_disassemble_info.
(INIT_DISASSEMBLE_INFO_NO_ARCH): Ditto.
Index: binutils/ChangeLog
2003-09-03 Andrew Cagney <cagney@redhat.com>
* objdump.c: Refer to init_disassemble_info in comments.
(disassemble_data): Replace INIT_DISASSEMBLE_INFO with
init_disassemble_info.
brolley [Wed, 3 Sep 2003 23:12:21 +0000 (23:12 +0000)]
003-09-03 Dave Brolley <brolley@redhat.com>
* cpu.h, model.c, sem.c, decode.h, decode.c: Regenerated.
brolley [Wed, 3 Sep 2003 23:09:56 +0000 (23:09 +0000)]
2003-09-03 Dave Brolley <brolley@redhat.com>
* frv-*: Regenerated.
brolley [Wed, 3 Sep 2003 23:03:45 +0000 (23:03 +0000)]
2003-09-03 Dave Brolley <brolley@redhat.com>
* frv.opc (parse_A, parse_A0, parse_A1): New parse handlers.
* frv.cpu (UNIT): Add IALL, FMALL, FMLOW, STORE, SCAN, DCPL, MDUALACC,
MCLRACC-1.
(A): Removed operand.
(A0,A1): New operands replace operand A.
(mnop): Now a real insn
(mclracc): Removed insn.
(mclracc-0, mclracc-1): New insns replace mclracc.
(all insns): Use new UNIT attributes.
bje [Wed, 3 Sep 2003 22:40:45 +0000 (22:40 +0000)]
Spelling fix by the ChangeLog police.
msnyder [Wed, 3 Sep 2003 22:36:06 +0000 (22:36 +0000)]
2003-09-03 Michael Snyder <msnyder@redhat.com>
* config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch].
msnyder [Wed, 3 Sep 2003 21:56:01 +0000 (21:56 +0000)]
2003-09-03 Michael Snyder <msnyder@redhat.com>
* sim/frv/fr500/mclracc.cgs: Change mach to 'all',
to be consistant with other tests in the directory.
msnyder [Wed, 3 Sep 2003 21:51:57 +0000 (21:51 +0000)]
2003-09-03 Michael Snyder <msnyder@redhat.com>
* sim/frv/interrupts/Ipipe-fr400.cgs: New file.
* sim/frv/interrupts/Ipipe-fr500.cgs: New file.
* sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above).
cagney [Wed, 3 Sep 2003 21:01:42 +0000 (21:01 +0000)]
2003-09-03 Andrew Cagney <cagney@redhat.com>
* config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
* config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
* symfile.c (syms_from_objfile): Update.
(reread_symbols): `Update
* exec.c (exec_file_attach): Update.
(exec_file_attach): Update.
* config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
2003-08-29 change.
* config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
drow [Wed, 3 Sep 2003 20:46:01 +0000 (20:46 +0000)]
* arm-tdep.c: Include frame-unwind.h, frame-base.h, and
trad-frame.h.
(arm_get_cache): Delete macro.
(struct arm_prologue_cache): Update comments. Make saved_regs into
a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp
to prev_sp.
(thumb_scan_prologue): Update for cache changes. Don't call
DEPRECATED_PC_IN_CALL_DUMMY.
(arm_scan_prologue): Update for cache changes. Take NEXT_FRAME
argument and use it in desperation search for our prologue. Do not
search past the specified PC.
(arm_make_prologue_cache): Simplify.
(arm_prologue_this_id, arm_prologue_prev_register)
(arm_prologue_unwind, arm_prologue_unwind_sniffer)
(arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache)
(arm_sigtramp_this_id, arm_sigtramp_prev_register)
(arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer)
(arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New.
(arm_frame_chain_valid, arm_find_callers_reg)
(arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs)
(arm_pop_frame): Delete obsolete methods.
(arm_minimal_frame_chain, arm_minimal_frame_info): Delete.
(arm_gdbarch_init): Update for new frame methods. Register prologue
and sigtramp unwinders. Set the default frame base method.
* Makefile.in (arm-tdep.o): Update dependencies.
* varobj.c (find_frame_addr_in_frame_chain): Call
get_frame_base_address.
* std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
drow [Wed, 3 Sep 2003 20:45:02 +0000 (20:45 +0000)]
* arm-tdep.c (arm_minimal_frame_chain): Renamed from
arm_frame_chain. Take NEXT_FRAME and CACHE arguments.
Use the cache instead of DEPRECATED_FRAME_SAVED_PC.
(arm_minimal_frame_info): Renamed from arm_init_extra_frame_info.
Take NEXT_FRAME and CACHE arguments. Call
FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument.
Set unwound_pc in CACHE instead of modifying the frame argument.
Don't bother checking the frame type when looking for sigtramp
frames.
(arm_make_prologue_cache, arm_frame_chain)
(arm_init_extra_frame_info): New functions.
drow [Wed, 3 Sep 2003 20:44:25 +0000 (20:44 +0000)]
* arm-tdep.c (arm_get_cache): Define.
(struct arm_prologue_cache): Renamed from frame_extra_info. Add
unwound_sp, unwound_pc, and saved_regs.
(thumb_scan_prologue): Take a cache instead of the frame.
(arm_scan_prologue): Likewise.
(arm_frame_chain): Create a temporary cache for arm_scan_prologue
instead of a temporary frame.
(arm_init_extra_frame_info): Allocate and use a cache.
(arm_frame_saved_pc, arm_pop_frame): Use the cache.
cagney [Wed, 3 Sep 2003 18:52:19 +0000 (18:52 +0000)]
2003-09-03 Andrew Cagney <cagney@redhat.com>
* config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
* config/mips/wince.mt (TM_CLIBS): Ditto.
* config/sh/wince.mt (TM_CLIBS): Ditto.
* config/pa/hppa64.mt (TM_CLIBS): Delete.
* config/sparc/sp64.mt (CC): Delete.
schwab [Wed, 3 Sep 2003 18:46:52 +0000 (18:46 +0000)]
* Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).
nickc [Wed, 3 Sep 2003 16:06:11 +0000 (16:06 +0000)]
Do not skip section symbols that are used in relocs.
cagney [Wed, 3 Sep 2003 15:02:48 +0000 (15:02 +0000)]
2003-09-03 Andrew Cagney <cagney@redhat.com>
* defs.h: Do not include "arch-utils.h".
(GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or
GDB_MULTI_ARCH_PURE.
* configure.in (GDB_MULTI_ARCH): Do not define.
* configure, config.in: Regenerate.
* configure.tgt: Do not set variable "gdb_multi_arch".
* config/s390/s390x.mt (GDB_MULTI_ARCH): Delete.
* config/s390/s390.mt (GDB_MULTI_ARCH): Delete.
* config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete.
* config/v850/v850.mt (TM_FILE): Delete disabled definition.
* config/m68hc11/m68hc11.mt (TM_FILE): Delete definition.
* config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition.
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition.
* config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition.
* config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition.
* config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition.
* config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition.
* config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition.
* config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
cgf [Wed, 3 Sep 2003 14:15:54 +0000 (14:15 +0000)]
* exceptions.cc (set_process_mask): Set pending signals only when signals
become unmasked.
* sigproc.cc (pending_signals): Flip back to a global.
(wait_sig): Don't set pending signals when there is an armed semaphore or
signal is blocked.
* shared.cc (shared_info::initialize): Add a username parameter for user-mode
mounts. Reorganize to try to avoid startup race.
(memory_init): Move some stuff into shared_info::initialize.
* shared_info.h (shared_info::initialize): Change declaration.
(CURR_SHARED_MAGIC): Update.
nickc [Wed, 3 Sep 2003 09:32:17 +0000 (09:32 +0000)]
Add *kfreebsd-gnu configuration support
nickc [Wed, 3 Sep 2003 08:26:47 +0000 (08:26 +0000)]
Use bfd_map_over_sections to walk section chain.
Do not dump the contents of an empty section.
dannysmith [Wed, 3 Sep 2003 00:59:02 +0000 (00:59 +0000)]
2003-09-02 Bart Oldeman <bartoldeman@users.sourceforge.net>
* lib/snmpapi.def (LIBRARY) Add library name.
Remove '\r', throughout.
* lib/wsnmp32.def: Remove '\r', throughout.
* lib/igmpagnt.def: Likewise.
dj [Wed, 3 Sep 2003 00:03:18 +0000 (00:03 +0000)]
merge from gcc
amodra [Wed, 3 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 3 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
dj [Tue, 2 Sep 2003 23:21:43 +0000 (23:21 +0000)]
* configure.in: Ensure arguments to sed are properly spaced.
* configure: Regenerate.
jjohnstn [Tue, 2 Sep 2003 22:42:05 +0000 (22:42 +0000)]
2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
* libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
* libc/stdlib/exit.c : Ditto.
* libc/stdlib/on_exit.c: Ditto.
drow [Tue, 2 Sep 2003 17:59:12 +0000 (17:59 +0000)]
* configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILES
and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT.
Specify AC_CONFIG_AUX_DIR.
* aclocal.m4: Regenerated with aclocal-1.7.
* configure: Regenerated with autoconf 2.57.
* Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.
amodra [Tue, 2 Sep 2003 04:15:29 +0000 (04:15 +0000)]
* ppc-opc.c (powerpc_opcodes): Combine identical PPC403/BOOKE entries.
Move duplicate mnemonic entries together. Use RS instead of RT on
all mt*.
* ppc-dis.c: Convert to ISO C.
gdbadmin [Tue, 2 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 2 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update
amodra [Mon, 1 Sep 2003 22:45:05 +0000 (22:45 +0000)]
* MAINTAINERS: Move Dave Anglin's entry to where it belongs.
macro [Mon, 1 Sep 2003 17:36:47 +0000 (17:36 +0000)]
* gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns for
little-endian.
* gas/mips/elf-rel-got-n64.d: Likewise.
* gas/mips/elf-rel-xgot-n32.d: Likewise.
* gas/mips/elf-rel-xgot-n64.d: Likewise.
cgf [Mon, 1 Sep 2003 17:12:29 +0000 (17:12 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 4.
cgf [Mon, 1 Sep 2003 16:47:03 +0000 (16:47 +0000)]
* net.cc (dup_ent): Restore check for NULL input.
corinna [Mon, 1 Sep 2003 12:56:01 +0000 (12:56 +0000)]
* pathnames.sgml: Remove description how to mount raw devices and
dicourage it. Desparately try to make usage of raw devices a bit
clearer.
cgf [Mon, 1 Sep 2003 02:40:16 +0000 (02:40 +0000)]
* kill.cc (forcekill): Silence some compiler warnings.
cgf [Mon, 1 Sep 2003 02:33:49 +0000 (02:33 +0000)]
* Makefile.in: Oops. Put the '...' in the right place.
cgf [Mon, 1 Sep 2003 02:26:27 +0000 (02:26 +0000)]
* include/sys/cygwin.h: Don't define cygwin-specific things if !__CYGWIN__.
chastain [Mon, 1 Sep 2003 02:11:06 +0000 (02:11 +0000)]
2003-08-30 Michael Chastain <mec@shout.net>
* Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h.
* config/m68k/nm-hp300hpux.h: Delete.
* config/m68k/tm-hp300hpux.h: Delete.
* config/m68k/xm-hp300hpux.h: Delete.
* config/m68k/xm-hp300bsd.h: Delete.
* config/djgpp/fnchange.lst: Remove nm-hp300hpux.h,
tm-hp300hpux.h, xm-hp300hpux.h.
* somsolib.c: Remove comment about hp300 shared libraries.
cgf [Mon, 1 Sep 2003 02:05:32 +0000 (02:05 +0000)]
* cygheap.cc (cygheap_init): Allocate space for sigaction array in cygheap.
* cygheap.h (cygheap_types): Add HEAP_SIGS.
* exceptions.cc (signal_fixup_after_exec): Remove from this file.
* pinfo.h (pinfo::getsig): Just return global_sigs array.
(pinfo::sigs): Delete.
* sigproc.cc (signal_fixup_after_exec): Move it here.
(global_sigs): New global array, moved from pinfo structure.
(sigalloc): New function. Allocate global sigaction array here.
(proc_subproc): Remove copysigs call. It's automatic now.
* include/sys/cygwin.h (PID_NOCLDSTOP): New value.
* signal.cc (sigaction): Set myself->PID_NODCLDSTOP when appropriate.
* sigproc.h (sigalloc): Declare.
* fnmatch.c (fnmatch): Use C90 parameters.
(rangematch): Ditto.
* fhandler.cc (fhandler_base::raw_read): Use right coercion to avoid a compiler
warning.
cgf [Mon, 1 Sep 2003 01:57:43 +0000 (01:57 +0000)]
* Makefile.in: Display "..." when not-verbose.
* kill.cc (forcekill): Default to entered pid when pinfo fails. Issue some
warnings when things don't work.
gdbadmin [Mon, 1 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 1 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Sun, 31 Aug 2003 23:23:40 +0000 (23:23 +0000)]
* net.cc (dup_ent): Make debugging output consistent.
cgf [Sun, 31 Aug 2003 23:16:34 +0000 (23:16 +0000)]
Use dup_ent rather than specific dup_*_ptr functions throughout.
* (gen_ent): Delete.
(dup_ent): Subsume gen_ent functionality.
(dup_host_ptr): Delete.
(dup_proto_ptr): Ditto.
(dup_servent_ptr): Ditto.
* net.cc (gen_ent): Invert sense of null check so that debug output makes
sense.
cgf [Sun, 31 Aug 2003 22:02:15 +0000 (22:02 +0000)]
* net.cc (free_char_list): Delete.
(dup_addr_list): Delete.
(dup_char_list): Delete.
(free_hostent_ptr): Delete.
(free_protoent_ptr): Delete.
(free_servent_ptr): Delete.
(DWORD_round): New function.
(strlen_round): New function. Returns strlen rounded up to word size.
(dup_ent): New, generic function to duplicate a {host,proto,serv}ent structure.
(gen_ent): New macro. Generates a generic dup_{host,proto,serv}ent_ptr
function.
(cygwin_getservbyname): Remove call to free_servent_ptr, pass servent_buf to
dup_servent_ptr.
(cygwin_getservbyport): Ditto.
(cygwin_gethostbyname): Ditto for hostent.
(cygwin_gethostbyaddr): Ditto.
(cygwin_getprotobyname): Ditto for protoent.
(cygwin_getprotobynumber): Ditto.
cgf [Sun, 31 Aug 2003 18:26:58 +0000 (18:26 +0000)]
* Makefile.in (MALLOC_OFILES): Always fill in with correct malloc object.
* configure.in: Fill in MALLOC_OFILES with either debugging or regular malloc.
* configure: Regenerate.
* dlmalloc.c: Make various fruitless changes to attempt to get to work.
* dlmalloc.h: Ditto.
* malloc.cc (free): Check malloc pool when debugging.
* path.cc (win32_device_name): Eliminate compiler warning.
* sigproc.cc (sig_dispatch_pending): Remove use of was_pending. Let
thisframe.call_signal_handler decide if handler should be called rather than
using bogus was_pending check.
* exceptions.cc (interrupt_setup): Remove accidentally checked in debugging
code.
* heap.cc (sbrk): Save rounded addess in user_heap_max.
cpg [Sun, 31 Aug 2003 18:25:09 +0000 (18:25 +0000)]
fixed comment for i860_howto_pc26_reloc
cpg [Sun, 31 Aug 2003 18:22:06 +0000 (18:22 +0000)]
* elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here
instead of returning bfd_reloc_continue.
kettenis [Sun, 31 Aug 2003 15:18:57 +0000 (15:18 +0000)]
* i386-linux-nat.c (ps_get_thread_area): Don't define as extern.
Only define PTRACE_GET_THREAD_AREA is not already defined.
Various style fixes in code and comments and some additional
spelling fixes in comments. Move after functions dealing with
debug registers.
* x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern.
Fix coding-style.
kettenis [Sun, 31 Aug 2003 12:56:41 +0000 (12:56 +0000)]
* alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
frame_unwind_register_unsigned instead of
frame_unwind_unsigned_register.
aj [Sun, 31 Aug 2003 10:07:46 +0000 (10:07 +0000)]
* merge.c: Update to ISO C90.
cgf [Sun, 31 Aug 2003 00:40:16 +0000 (00:40 +0000)]
change copyright
amodra [Sun, 31 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 31 Aug 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sat, 30 Aug 2003 20:43:06 +0000 (20:43 +0000)]
* sigproc.cc (sig_dispatch_pending): Remove explicit call to
thisframe.call_signal_handler.
cgf [Sat, 30 Aug 2003 16:35:46 +0000 (16:35 +0000)]
missed one
cgf [Sat, 30 Aug 2003 16:34:56 +0000 (16:34 +0000)]
* msg.cc: New file.
* sem.cc: Ditto.
cgf [Sat, 30 Aug 2003 16:32:15 +0000 (16:32 +0000)]
* threaded_queue.h: New file.
cgf [Sat, 30 Aug 2003 16:31:10 +0000 (16:31 +0000)]
Remove some cygserver files.
chastain [Sat, 30 Aug 2003 04:58:21 +0000 (04:58 +0000)]
2003-08-30 Michael Chastain <mec@shout.net>
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
* gdb.gdb/observer.exp: Ditto.
* gdb.gdb/xfullpath.exp: Ditto.
kettenis [Sat, 30 Aug 2003 00:06:21 +0000 (00:06 +0000)]
* configure.in: Search for gethostbyname in libnsl.
* configure: Regenerated.
gdbadmin [Sat, 30 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 30 Aug 2003 00:00:07 +0000 (00:00 +0000)]
daily update
jakub [Fri, 29 Aug 2003 20:32:55 +0000 (20:32 +0000)]
s/.cfi_gnu_window_save/.cfi_window_save/g
brolley [Fri, 29 Aug 2003 20:22:01 +0000 (20:22 +0000)]
2003-08-29 Dave Brolley <brolley@redhat.com>
* compSched.cxx (operator <<): Stream active_pin.
(operator >>): Ditto.
(active_pin): New member of scheduler_component.
(advance): Drive active_pin with 1 or 0 as the enable
threshold is crossed.
(scheduler_component): Add "active_pin".
(sid-sched.xml): Document "active" pin and interaction between
"enabled?" and "enable-threshold".
(sid-sched.txt): Regenerated.
jakub [Fri, 29 Aug 2003 20:20:17 +0000 (20:20 +0000)]
* dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save.
(dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save.
(output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK
nor tc_cfi_emit_pcrel_expr are defined.
(output_fde): Use tc_cfi_emit_pcrel_expr if available and
DIFF_EXPR_OK is not defined.
* config/tc-sparc.h (TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum,
tc_cfi_emit_pcrel_expr): Define.
(sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum,
sparc_cfi_emit_pcrel_expr): New prototypes.
(sparc_cie_data_alignment): New decl.
(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define.
* config/tc-sparc.c: Include dw2gencfi.h.
(sparc_cie_data_alignment): New variable.
(md_begin): Initialize it.
(sparc_cfi_frame_initial_instructions): New function.
(sparc_regname_to_dw2regnum): Likewise.
(sparc_cfi_emit_pcrel_expr): Likewise.
* doc/as.texinfo: Document .cfi_gnu_window_save.
* config/tc-sparc.c (s_common): Cast last argument to long and
change format string to shut up warning.
testsuite/
* gas/cfi/cfi-sparc-1.s: New test.
* gas/cfi/cfi-sparc-1.d: New test.
* gas/cfi/cfi-sparc64-1.s: New test.
* gas/cfi/cfi-sparc64-1.d: New test.
* gas/cfi/cfi.exp: Run them.
brolley [Fri, 29 Aug 2003 19:45:10 +0000 (19:45 +0000)]
2003-08-29 Dave Brolley <brolley@redhat.com>
* compSched.cxx (operator <<): Stream active_p and active_pin.
(operator >>): Ditto.
(active_p): New member of scheduler_component.
(active_pin): Ditto.
(advance): Drive active_pin with 1 or 0 as the enable
threshold is crossed.
(scheduler_component): Initialize active_p. Add "active_pin".
(sid-sched.xml): Document "active" pin and interaction between
"enabled?" and "enable-threshold".
(sid-sched.txt): Regenerated.
brolley [Fri, 29 Aug 2003 19:27:05 +0000 (19:27 +0000)]
003-08-21 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (end_line): New method of basic_cpu::cpu_trace_stream.
(operator<<): Use static_cast instead of dynamic_cast.
brolley [Fri, 29 Aug 2003 19:26:22 +0000 (19:26 +0000)]
2003-08-21 Dave Brolley <brolley@redhat.com>
* compCGEN.cxx (end_trace): Call end_line.
kettenis [Fri, 29 Aug 2003 19:18:06 +0000 (19:18 +0000)]
* configure.in: Remove redundant AC_MSG_RESULT in check for
uintptr_t in stdint.h.
* configure: Regenerated.
brolley [Fri, 29 Aug 2003 19:14:54 +0000 (19:14 +0000)]
2003-08-29 Dave Brolley <brolley@redhat.com>
* Makefile.am (stamp-frv): Copy frv.cpu and frv.opc from
$(srcdir)/../cpu temporarily when regenerating source files.
* Makefile.in: Regenerated.
brolley [Fri, 29 Aug 2003 19:13:00 +0000 (19:13 +0000)]
2003-08-29 Dave Brolley <brolley@redhat.com>
* Makefile.in (stamp-arch): Copy frv.cpu from $(srcdir)../../cpu
temporarily when regenerating files.
(stamp-cpu): Ditto.
brolley [Fri, 29 Aug 2003 17:20:42 +0000 (17:20 +0000)]
2003-08-29 Dave Brolley <brolley@redhat.com>
* MAINTAINERS: Add myself as maintainer of the FRV port.
kettenis [Fri, 29 Aug 2003 17:18:27 +0000 (17:18 +0000)]
* amd64-nat.h (struct regcache): Add opaque declaration.
brolley [Fri, 29 Aug 2003 16:51:08 +0000 (16:51 +0000)]
2003-08-29 Dave Brolley <brolley@redhat.com>
* cpu/frv.cpu: Removed.
* cpu/frv.opc: Removed.
brolley [Fri, 29 Aug 2003 16:50:38 +0000 (16:50 +0000)]
Removed. Official version is in src/cpu.
brolley [Fri, 29 Aug 2003 16:45:22 +0000 (16:45 +0000)]
2003-08-20 Michael Snyder <msnyder@redhat.com>
Dave Brolley <brolley@redhat.com>
* frv/: New directory, simulator for the Fujitsu FR-V.
* testsuite/frv-elf/: New directory.
* testsuite/sim/frv/: New directory.
* configure.in: Add frv configury.
* configure: Regenerate.
brolley [Fri, 29 Aug 2003 16:43:38 +0000 (16:43 +0000)]
2003-08-20 Michael Snyder <msnyder@redhat.com>
Dave Brolley <brolley@redhat.com>
* cgen-par.h (flags, word1): New target-specific
fields of CGEN_WRITE_QUEUE_ELEMENT.
(CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro.
(CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro.
* gennltvals.sh: Add frv target.
* nltvals.def: Add frv target.
brolley [Fri, 29 Aug 2003 16:42:18 +0000 (16:42 +0000)]
2003-08-20 Michael Snyder <msnyder@redhat.com>
On behalf of Dave Brolley
* sim/frv: New testsuite.
* frv-elf: New testsuite.
brolley [Fri, 29 Aug 2003 16:41:28 +0000 (16:41 +0000)]
New sim testsuite for Fujitsu FRV. Contributed by Red Hat.
brolley [Fri, 29 Aug 2003 16:39:58 +0000 (16:39 +0000)]
New sim testsuite for Fujitsu FRV. Contributed by Red Hat.
brolley [Fri, 29 Aug 2003 16:39:39 +0000 (16:39 +0000)]
New sim testsuite for Fujitsu FRV. Contributed by Red Hat.
brolley [Fri, 29 Aug 2003 16:39:14 +0000 (16:39 +0000)]
New sim testsuite for Fujitsu FRV. Contributed by Red Hat.
brolley [Fri, 29 Aug 2003 16:37:23 +0000 (16:37 +0000)]
New sim testsuite for Fujitsu FRV. Contributed by Red Hat.
brolley [Fri, 29 Aug 2003 16:35:45 +0000 (16:35 +0000)]
New simulator for Fujitsu frv contributed by Red Hat.
kettenis [Fri, 29 Aug 2003 16:28:37 +0000 (16:28 +0000)]
* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
* x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h".
Change "register array" to "register cache" in comments.
(x86_64_linux_gregset64_reg_offset): New variable.
(GETREGS_SUPPLIES): Remove macro.
(supply_gregset): Call amd64_supply_native_gregset instead of
x86_64_linux_supply_gregset.
(fill_gregset): Rename `regno' to `regnum'. Call
amd64_collect_native_gregset instead of x86_64_linux_fill_gregset.
(store_regs): Rename `regno' to `regnum'.
(store_fpregs): Rename `regno' to `regnum'.
(fetch_inferior_registers): Rename `regno' to `regnum'. Use
amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
Reorganize function a bit.
(store_inferior_registers): Rename `regno' to `regnum'. Use
amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
Reorganize function a bit.
(_initialize_x86_64_linux_nat): New function.
* config/i386/x86-64linux.mh.
cagney [Fri, 29 Aug 2003 16:18:05 +0000 (16:18 +0000)]
2003-08-29 Andrew Cagney <cagney@redhat.com>
* config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro.
(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro.
(target_remove_watchpoint): Delete macro.
(target_insert_watchpoint): Delete macro.
(remote_mips_can_use_hardware_watchpoint): Delete declaration.
(remote_mips_stopped_by_watchpoint): Delete declaration.
(remote_mips_remove_watchpoint): Delete declaration.
(remote_mips_set_watchpoint): Delete declaration.
(TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro.
* remote-mips.c (_initialize_remote_mips): Set
"to_insert_watchpoint", "to_stopped_by_watchpoint",
"to_can_use_hardware_watchpoint", and "to_remove_watchpoint".
(mips_insert_watchpoint): Rename remote_mips_set_watchpoint.
(mips_remove_watchpoint): Rename remote_mips_remove_watchpoint.
(mips_stopped_by_watchpoint): Rename
remote_mips_stopped_by_watchpoint.
(mips_can_hardware_watchpoint): Rename
remote_mips_can_use_hardware_watchpoint, update function
signature.
kettenis [Fri, 29 Aug 2003 15:31:09 +0000 (15:31 +0000)]
* x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and
USER_DS. We haven't given them a register number yet.
kettenis [Fri, 29 Aug 2003 13:58:26 +0000 (13:58 +0000)]
* amd64-nat.h: New file.
* amd64-nat.c: New file.
* amd64fbsd-nat.c: Include "amd64-nat.h".
(REG_ADDR, GETREGS_SUPPLIES): Remove macros.
(amd64fbsd32_r_reg_offset): New variable.
(supply_gregset): Simply call amd64_supply_native_gregset.
(fill_gregset): Rename `regno' to `regnum'. Simply call
amd64_collect_native_gregset.
(fill_fpregset): Rename `regno' to `regnum'.
(fetch_inferior_registers): Rename `regno' to `regnum'. Replace
usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
Use `struct reg' and `struct fpreg' instead of `gregset_t' and
`fpregset_t'. Call amd64_supply_native_gregset instead of
supply_gregset. Call x86_64_supply_fxsave instead of
supply_fpregset.
(store_inferior_registers): Rename `regno' to `regnum'. Replace
usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
Use `struct reg' and `struct fpreg' instead of `gregset_t' and
`fpregset_t'. Call amd64_collect_native_gregset instead of
fill_gregset. Call x86_64_collect_fxsave instead of
fill_fpregset.
(_initialize_am64fbsd_nat): Initialize
amd64_native_gregset32_reg_offset and
amd64_native_gregset64_reg_offset.
* config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.
kettenis [Fri, 29 Aug 2003 13:04:43 +0000 (13:04 +0000)]
* regcache.c (regcache_raw_supply): Don't assert that BUF isn't a
null pointer. Fix typo in comment.
kettenis [Fri, 29 Aug 2003 11:48:03 +0000 (11:48 +0000)]
* regcache.c (supply_register): Reimplement to call
regcache_raw_supply.
(regcache_collect): Reimplement by calling regcache_raw_collect.
kettenis [Fri, 29 Aug 2003 11:42:28 +0000 (11:42 +0000)]
* gdb.base/interrupt.exp: XFAIL "call function when asleep" for
*-*-*bsd*.