OSDN Git Service

pf3gnuchains/sourceware.git
22 years ago2002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
sky [Tue, 11 Jun 2002 09:46:37 +0000 (09:46 +0000)]
2002-06-11  Martin Schwidefsky  <schwidefsky@de.ibm.com>

        * mh-s390xpic: New file.

22 years ago* dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c')
mludvig [Tue, 11 Jun 2002 08:45:04 +0000 (08:45 +0000)]
* dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c')

22 years ago2002-06-11 Michal Ludvig <mludvig@suse.cz>
mludvig [Tue, 11 Jun 2002 08:32:32 +0000 (08:32 +0000)]
2002-06-11  Michal Ludvig  <mludvig@suse.cz>

* dwarf2cfi.c (unwind_tmp_obstack_init): New.
(unwind_tmp_obstack_free, parse_frame_info)
(update_context, cfi_read_fp, cfi_write_fp)
(cfi_frame_chain, cfi_init_extra_frame_info)
(cfi_virtual_frame_pointer): Use the above function.

22 years ago * v850-tdep.c (v850_type_is_scalar): New function.
corinna [Tue, 11 Jun 2002 07:01:08 +0000 (07:01 +0000)]
* v850-tdep.c (v850_type_is_scalar): New function.
(v850_use_struct_convention): Match current gcc implementation
as close as possible.
(v850_push_arguments): Fix stack_offset handling.  Don't write
struct_addr into register.  This is done by v850_store_struct_return.
(v850_extract_return_value): Care for structs.
(v850_store_return_value): Ditto.
(v850_store_struct_return): Actually write address.

22 years ago2002-06-11 Michal Ludvig <mludvig@suse.cz>
mludvig [Tue, 11 Jun 2002 06:11:30 +0000 (06:11 +0000)]
2002-06-11  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_skip_prologue): Fix to work on functions
without debug information too.

22 years agoMake print_float_info() multi-arch pure. Add ui_file and frame parameters.
cagney [Tue, 11 Jun 2002 02:30:57 +0000 (02:30 +0000)]
Make print_float_info() multi-arch pure.  Add ui_file and frame parameters.

22 years ago* libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnve
cgf [Tue, 11 Jun 2002 02:26:41 +0000 (02:26 +0000)]
* libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix spawnve
declaration.

22 years ago* spawn.cc (spawn_guts): Define sec_attribs and call sec_user_nih() only once.
cgf [Tue, 11 Jun 2002 02:22:02 +0000 (02:22 +0000)]
* spawn.cc (spawn_guts): Define sec_attribs and call sec_user_nih() only once.

22 years ago* Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS
cgf [Tue, 11 Jun 2002 02:07:58 +0000 (02:07 +0000)]
* Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS
command-line setting.
* cygwin.din: Export sexec* functions as function which returns ENOSYS
(i.e., sexec* is deprecated).
* dtable.cc (dtable::vfork_child_dup): Ensure that impersonation is restored
even on failure.
* exec.cc: Throughout, remove references to sexec* and _spawnve.
* pinfo.h: Remove _spawnve declaration.
* spawn.cc: Rename _spawnve to spawnve and use throughout.
(spawn_guts): Eliminate hToken argument and processing of same.  Just perform
special actions if impersonating.
(spawnve): Rename from _spawnve.

22 years agoForce gdbarch.c to be initialized first.
cagney [Tue, 11 Jun 2002 01:31:35 +0000 (01:31 +0000)]
Force gdbarch.c to be initialized first.

22 years ago*** empty log message ***
gdbadmin [Tue, 11 Jun 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Tue, 11 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* infrun.c (struct inferior_status): Replace fields
cagney [Mon, 10 Jun 2002 23:25:49 +0000 (23:25 +0000)]
* infrun.c (struct inferior_status): Replace fields
selected_frame_address and selected_level with field
selected_frame_id.
(save_inferior_status): Update.  Use get_frame_id.
(struct restore_selected_frame_args): Delete.
(restore_selected_frame): Update.  Use frame_find_by_id.
(restore_inferior_status): Update.

* breakpoint.h (struct breakpoint): Change type of
watchpoint_frame to frame_id.
* breakpoint.c (insert_breakpoints): Use frame_find_by_id.  Remove
call to get_current_frame.
(do_enable_breakpoint): Use frame_find_by_id.  Remove call to
get_current_frame.
(watchpoint_check): Use frame_find_by_id.

* frame.h (record_selected_frame): Delete declaration.
* stack.c (record_selected_frame): Delete function.

* frame.h (struct frame_id): Define.
(get_frame_id): Declare.
(frame_find_by_id): Declare.
* frame.c (frame_find_by_id): New function.
(get_frame_id): New function.

22 years agorevert erroneous checkin
cgf [Mon, 10 Jun 2002 19:59:19 +0000 (19:59 +0000)]
revert erroneous checkin

22 years ago* include/sys/strace.h (strace): Avoid use of constructor.
cgf [Mon, 10 Jun 2002 19:58:18 +0000 (19:58 +0000)]
* include/sys/strace.h (strace): Avoid use of constructor.

22 years agoser-e7kpc.c: Fix duplicated define and call of _initialize_ser_e7000pc
avolkov [Mon, 10 Jun 2002 19:19:35 +0000 (19:19 +0000)]
ser-e7kpc.c: Fix duplicated define and call of _initialize_ser_e7000pc

22 years ago* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running
cgf [Mon, 10 Jun 2002 17:08:07 +0000 (17:08 +0000)]
* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running
global ctors.
* wincap.h (wincap): Eliminate constructor.  Default is to zero memory, anyway.
* wincap.cc (wincap): Copy this on fork to avoid initialization in forked
processes.

22 years ago * ld-mips-elf/region1a.s,
rsandifo [Mon, 10 Jun 2002 16:14:05 +0000 (16:14 +0000)]
* ld-mips-elf/region1a.s,
* ld-mips-elf/region1b.s,
* ld-mips-elf/region1.t,
* ld-mips-elf/region1.d: New test.
* ld-mips-elf/mips-elf.exp: Run it.

22 years ago * ldlang.c (lang_size_sections_1): Skip removed output sections.
rsandifo [Mon, 10 Jun 2002 16:12:02 +0000 (16:12 +0000)]
* ldlang.c (lang_size_sections_1): Skip removed output sections.

22 years ago * section.c (_bfd_strip_section_from_output): Set SEC_EXCLUDE
rsandifo [Mon, 10 Jun 2002 16:10:42 +0000 (16:10 +0000)]
* section.c (_bfd_strip_section_from_output): Set SEC_EXCLUDE
for removed output sections.

22 years ago * fhandler.h (fhandler_socket::fixup_after_fork): Revert patch from
corinna [Mon, 10 Jun 2002 11:07:42 +0000 (11:07 +0000)]
* fhandler.h (fhandler_socket::fixup_after_fork): Revert patch from
2002-06-04.
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Ditto.
(fhandler_socket::dup): Ditto.
* net.cc (fdsock): Make sockets explicitely noninheritable on NT.

22 years agoUse htab_create_alloc with calloc, not htab_alloc.
nickc [Mon, 10 Jun 2002 10:18:29 +0000 (10:18 +0000)]
Use htab_create_alloc with calloc, not htab_alloc.

22 years ago/tmp/cvs610a0a90.1
rbcollins [Mon, 10 Jun 2002 02:40:13 +0000 (02:40 +0000)]
/tmp/cvs610a0a90.1

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Correctly set
cgf [Mon, 10 Jun 2002 01:25:46 +0000 (01:25 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Correctly set
number of links for directory, if appropriate.

22 years ago2002-06-10 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Mon, 10 Jun 2002 01:10:44 +0000 (01:10 +0000)]
2002-06-10  Robert Collins  <rbtcollins@hotmail.com>

        * cygwin.din: Add _pthread_cleanup_push and _pthread_cleanup_pop.
        * pthread.cc: Change __pthread_self to pthread::self() thruoghout.
        (_pthread_cleanup_push): New function.
        (_pthread_cleanup_pop): Ditto.
        * thread.cc: Thanks to Thomas Pfaff for the pthread cleanup_push,_pop
        patch, this work is derived from that.
        Change __pthread_self to pthread::self() thruoghout.
        (__pthread_self): Rename to pthread::self.
        (pthread::self): New method.
        (pthread::pthread): Initialize new member.
        (pthread::push_cleanup_handler): New method.
        (pthread::pop_cleanup_handler): New method.
        (pthread::pop_all_cleanup_handlers): New method.
        (__pthread_exit): Pop all cleanup handlers.
        * thread.h (pthread::push_cleanup_handler): Declare.
        (pthread::pop_cleanup_handler): Ditto.
        (pthread::pop_all_cleanup_handlers): Ditto.
        (pthread::self): New static method.
        (__pthread_exit): Give C++ linkage.
        (__pthread_join): Ditto.
        (__pthread_detach): Ditto.
        (__pthread_self): Remove.

2002-04-24  Thomas Pfaff  <tpfaff@gmx.net>

        * include/pthread.h (__pthread_cleanup_handler): New structure
        (pthread_cleanup_push): Rewritten .
        (pthread_cleanup_pop): Ditto.
        (_pthread_cleanup_push): New prototype.
        (_pthread_cleanup_pop) Ditto.

2002-04-24  Thomas Pfaff  <tpfaff@gmx.net>

        * thread.cc (thread_init_wrapper): Check if thread is already joined.
        (__pthread_join): Set joiner first.
        (__pthread_detach): Ditto.

22 years ago*** empty log message ***
gdbadmin [Mon, 10 Jun 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 10 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago2002-06-10 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 9 Jun 2002 23:01:59 +0000 (23:01 +0000)]
2002-06-10  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_transport.cc (create_server_transport): Finish the split
        out of sockets code from transport_layer_base. Thanks to Nicholas
        Wourms and Conrad Scott for catching this.

22 years ago2002-06-09 Daniel Jacobowitz <drow@mvista.com>
drow [Sun, 9 Jun 2002 19:42:08 +0000 (19:42 +0000)]
2002-06-09  Daniel Jacobowitz  <drow@mvista.com>

        * signals/signals.c (target_signal_from_host): Fix #ifdef
        SIGRTMIN case.
        (do_target_signal_to_host): Likewise.

22 years ago2002-06-09 Daniel Jacobowitz <drow@mvista.com>
drow [Sun, 9 Jun 2002 19:36:13 +0000 (19:36 +0000)]
2002-06-09  Daniel Jacobowitz  <drow@mvista.com>

        * mips-tdep.c (mips_find_abi_section): New function.
        (mips_gdbarch_init): Call it.

22 years ago * config/tc-avr.c (mcu_types): Update.
marekm [Sun, 9 Jun 2002 17:57:07 +0000 (17:57 +0000)]
* config/tc-avr.c (mcu_types): Update.

22 years ago* gdbint.texinfo (Coding): Add section ``Per-architecture module
cagney [Sun, 9 Jun 2002 17:15:39 +0000 (17:15 +0000)]
* gdbint.texinfo (Coding): Add section ``Per-architecture module
data''.

22 years ago* solib-svr4.c (init_fetch_link_map_offsets): Simply return
kettenis [Sun, 9 Jun 2002 16:38:59 +0000 (16:38 +0000)]
* solib-svr4.c (init_fetch_link_map_offsets): Simply return
legacy_fetch_link_map_offsets.  Adjust comment to reflect reality
after Andrew's 2002-06-08 gdbarch change.

22 years ago* i386-linux-nat.c (suppy_gregset): Don't supply
kettenis [Sun, 9 Jun 2002 16:06:46 +0000 (16:06 +0000)]
* i386-linux-nat.c (suppy_gregset): Don't supply
I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's
register cache.
(fill_gregset): Don't fetch it under the same circumstances.

22 years agoMove include/callback.h and include/remote-sim.h to include/gdb/.
cagney [Sun, 9 Jun 2002 15:45:41 +0000 (15:45 +0000)]
Move include/callback.h and include/remote-sim.h to include/gdb/.
Update accordingly.

22 years ago* osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE.
kettenis [Sun, 9 Jun 2002 15:11:45 +0000 (15:11 +0000)]
* osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE.
* osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare".

22 years ago* path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
cgf [Sun, 9 Jun 2002 05:08:44 +0000 (05:08 +0000)]
* path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
(getmntent): Ditto.

22 years ago2002-06-09 Gunnar Degnbol <gdegnbol@users.sourceforge.net>
dannysmith [Sun, 9 Jun 2002 05:02:00 +0000 (05:02 +0000)]
2002-06-09  Gunnar Degnbol <gdegnbol@users.sourceforge.net>

* include/richedit.h (EM_*, TM_*, GT_*): Add new defines.
(GETTEXTEX): Add structure definition.

22 years ago* mount.cc (main): Use default system/user flag for cygdrive stuff, too.
cgf [Sun, 9 Jun 2002 04:54:32 +0000 (04:54 +0000)]
* mount.cc (main): Use default system/user flag for cygdrive stuff, too.
(change_cygdrive_prefix): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
* umount.cc (remove_cygdrive_prefix): Ditto.
(main): Use default system/user flag for cygdrive stuff, too.

22 years ago* pinfo.cc (pinfo_dummy): Initialize to correct size.
cgf [Sun, 9 Jun 2002 03:54:06 +0000 (03:54 +0000)]
* pinfo.cc (pinfo_dummy): Initialize to correct size.

22 years ago * include/windows.h (ole2.h): #include if !__OBJC__ and
dannysmith [Sun, 9 Jun 2002 03:37:19 +0000 (03:37 +0000)]
* include/windows.h (ole2.h): #include if !__OBJC__ and
__GNUC__ >=3 and !WIN32_LEAN_AND_MEAN.

22 years ago2002-06-08 H.J. Lu <hjl@gnu.org>
hjl [Sun, 9 Jun 2002 03:08:53 +0000 (03:08 +0000)]
2002-06-08  H.J. Lu <hjl@gnu.org>

* elf.c (copy_private_bfd_data): Don't cast to bfd_size_type to
work around a long long bug in gcc 2.96 on mips.

22 years ago* gdbint.texinfo (Releasing GDB): Fix typos in @itemize @bullet
cagney [Sun, 9 Jun 2002 02:11:12 +0000 (02:11 +0000)]
* gdbint.texinfo (Releasing GDB): Fix typos in @itemize @bullet
lists.

22 years ago* configure.in (vax-*-netbsd*): Re-enable gas.
thorpej [Sun, 9 Jun 2002 01:32:19 +0000 (01:32 +0000)]
* configure.in (vax-*-netbsd*): Re-enable gas.

22 years ago* path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.
cgf [Sun, 9 Jun 2002 00:48:38 +0000 (00:48 +0000)]
* path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.
* shared_info.h (CURR_MOUNT_MAGIC): Update.

22 years ago2002-06-08 Matt Thomas <matt@3am-software.com>
thorpej [Sun, 9 Jun 2002 00:45:41 +0000 (00:45 +0000)]
2002-06-08  Matt Thomas  <matt@3am-software.com>

* configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
(vax-*-netbsd*): New targets.
* configure: Regenerate.
* config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
* config/tc-vax.c: Add support for ELF and PIC.
(flag_want_pic): New flag.
(float_cons): Fix prototype.
(md_apply_fix3): Adjust for BFD_ASSEMBLER.
(md_assemble): Introduce a new is_absolute local, and use it
rather than repeating the test.  Make fatal errors actually
fatal by using as_fatal as appropriate.  Adjust for BFD_ASSEMBLER.
Add support for ELF.  Add support for PIC.
(md_convert_frag): Adjust for BFD_ASSEMBLER.
(tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
BFD_ASSEMBLER.
(vax_reg_parse): Make the % register prefix mandatory for ELF,
optional for a.out, and not allowed for VMS.  Adjust all callers.
(md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
(md_create_long_jump): Likewise.
(md_undefined_symbol): Likewise.
(md_section_align): Likewise.
(md_shortopts): Allow -k and -K for ELF.
(md_parse_option): Set flag_want_pic if -k or -K.
(tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
(tc_gen_reloc): New function if BFD_ASSEMBLER.
* config/tc-vax.h (tc_headers_hook): Remove.
(TARGET_FORMAT): Set according to object format and target
environment.
(BFD_ARCH, TARGET_ARCH): Define.
(NO_RELOC): Adjust for BFD_ASSEMBLER.
(TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
(tc_fix_adjustable): Define if BFD_ASSEMBLER.
* config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.

22 years ago* mount.cc (opts): Remove '-i' option.
cgf [Sun, 9 Jun 2002 00:33:27 +0000 (00:33 +0000)]
* mount.cc (opts): Remove '-i' option.
(usage): Ditto.
(main): Ditto.
(longopts): Remove --import-old-mounts option.

22 years ago* external.cc (cygwin_internal): Make v1 mount table access invalid.
cgf [Sun, 9 Jun 2002 00:31:02 +0000 (00:31 +0000)]
* external.cc (cygwin_internal): Make v1 mount table access invalid.
* path.cc (mount_info::init): Remove had_to_create_mount_areas initialization.
(mount_info::from_registry): Remove v1 table import.
(mount_info::read_v1_mounts): Eliminate.
(mount_info::import_v1_mounts): Ditto.
* shared_info.h (mount_info): Ditto for both of above.
* sys/mount.h (MOUNT_DEVFS): New enum.
(MOUNT_PROC): Ditto.

22 years agodaily update
amodra [Sun, 9 Jun 2002 00:00:03 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 9 Jun 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* Makefile.am (BFD32_BACKENDS): Add vax1knetbsd.lo.
thorpej [Sat, 8 Jun 2002 23:23:08 +0000 (23:23 +0000)]
* Makefile.am (BFD32_BACKENDS): Add vax1knetbsd.lo.
(BFD32_BACKENDS_CFILES): Add vax1knetbsd.c.
Regenerate dependency lists.
* Makefile.in: Regenerate.
* config.bfd (vax-*-netbsdelf*, vax-*-netbsdaout*): Add
vax1knetbsd_vec to targ_selvecs.
* configure.in: Add vax1knetbsd_vec.
* configure: Regenerate.
* targets.c (_bfd_target_vector): Add vax1knetbsd_vec.
* vax1knetbsd.c: New file.
* vaxnetbsd.c: Update copyright years.
(TARGET_PAGE_SIZE): Set to 0x1000.
(DEFAULT_MID): Set to M_VAX4K_NETBSD.

22 years ago2002-06-08 Matt Thomas <matt@3am-software.com>
thorpej [Sat, 8 Jun 2002 23:01:09 +0000 (23:01 +0000)]
2002-06-08  Matt Thomas  <matt@3am-software.com>

* libaout.h (enum machine_type): Add M_VAX4K_NETBSD.

22 years agoFix name of enum used in cast (sim_fetch_register, sim_store_register).
cagney [Sat, 8 Jun 2002 22:19:56 +0000 (22:19 +0000)]
Fix name of enum used in cast (sim_fetch_register, sim_store_register).

22 years ago* sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__.
cagney [Sat, 8 Jun 2002 20:34:40 +0000 (20:34 +0000)]
* sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__.
* rdi-share/serpardr.c: Ditto.
* rdi-share/unixcomm.c: Ditto.
* rdi-share/serdrv.c: Ditto.
* rdi-share/hostchan.h: Ditto.
* rdi-share/hostchan.c: Ditto.
* rdi-share/host.h: Ditto.
* rdi-share/devsw.c: Ditto.

22 years ago2002-06-08 Ben Elliston <bje@redhat.com>
bje [Sat, 8 Jun 2002 20:33:18 +0000 (20:33 +0000)]
2002-06-08  Ben Elliston  <bje@redhat.com>

* cacheutil.h (cache_set::expunge): New method.
(cache_set::operator[]): Likewise.
(cache::invalidate): Likewise.
(cache::operator[]): Likewise.
* cacheutil.cxx (cache::invalidate): Implement.
* cache.h (cache_component::flush_set_pin): New pin.
(cache_component::flush_set): New callback method.
(cache_component::invalidate_set_pin): New pin.
(cache_component::invalidate_set): New method.
* cache.cxx (cache_component constructor): Initialise and add
"flush-set" and "invalidate-set" pins.
(cache_component::flush_set): Implement.
(cache_component::invalidate_set): Likewise.
* hw-cache.xml: Update documentation.

22 years ago* objfiles.h: Change type of obj_private to void pointer.
cagney [Sat, 8 Jun 2002 20:02:48 +0000 (20:02 +0000)]
* objfiles.h: Change type of obj_private to void pointer.
* pa64solib.c: Update copyright.  Don't include "assert.h", use
strcmp instead of STREQ, use LONGEST, do not use PTR
* somsolib.c: Ditto.

22 years ago* config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c,
cagney [Sat, 8 Jun 2002 19:33:58 +0000 (19:33 +0000)]
* config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c,
bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c,
bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c.

22 years ago* frame.c (GET_SAVED_REGISTER): Delete macro definition.
cagney [Sat, 8 Jun 2002 18:57:37 +0000 (18:57 +0000)]
* frame.c (GET_SAVED_REGISTER): Delete macro definition.
(default_get_saved_register): Delete function.
* gdbarch.sh (GET_SAVED_REGISTER): Set default to
generic_unwind_get_saved_register.
* gdbarch.h, gdbarch.c: Re-generate.

22 years ago* gdbarch.sh (FRAME_CHAIN_VALID): Set default to
cagney [Sat, 8 Jun 2002 18:30:13 +0000 (18:30 +0000)]
* gdbarch.sh (FRAME_CHAIN_VALID): Set default to
generic_func_frame_chain_valid.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (generic_func_frame_chain_valid): Only check
PC_IN_CALL_DUMMY when generic dummy frames.  Don't worry about
passing FP to PC_IN_CALL_DUMMY.
Fix PR gdb/360.

22 years agoOops, missed DanielJ's tipo.
cagney [Sat, 8 Jun 2002 18:11:06 +0000 (18:11 +0000)]
Oops, missed DanielJ's tipo.

22 years ago* gdbarch.sh (struct gdbarch_data): Add field init_p.
cagney [Sat, 8 Jun 2002 18:09:01 +0000 (18:09 +0000)]
* gdbarch.sh (struct gdbarch_data): Add field init_p.
(register_gdbarch_data): Initialize init_p.
(gdbarch_data): Initialize data pointer using the init function.
(init_gdbarch_data): Delete function.
(gdbarch_update_p): Update.
(initialize_non_multiarch): Update.
(struct gdbarch): Add field initialized_p.
* gdbarch.h, gdbarch.c: Re-generate.

22 years ago* gdbint.texinfo (Releasing GDB): Revise the section ``Cut the
cagney [Sat, 8 Jun 2002 17:50:59 +0000 (17:50 +0000)]
* gdbint.texinfo (Releasing GDB): Revise the section ``Cut the
Branch''.

22 years ago* include/wchar.h: Define __need_size_t.
cgf [Sat, 8 Jun 2002 16:55:46 +0000 (16:55 +0000)]
* include/wchar.h: Define __need_size_t.

22 years ago2002-06-08 Daniel Jacobowitz <drow@mvista.com>
drow [Sat, 8 Jun 2002 16:04:35 +0000 (16:04 +0000)]
2002-06-08  Daniel Jacobowitz  <drow@mvista.com>

        Based on patch from Matt Green:
        * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
        * config/tc-mips.c (s_mips_file): Renamed from s_file.
        (s_mips_loc): New function.
        (mips_nonecoff_pseudo_table): Call them.
        (append_insn): Call dwarf2_emit_insn.

22 years ago * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static.
amodra [Sat, 8 Jun 2002 12:27:32 +0000 (12:27 +0000)]
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static.

22 years ago * Makefile.am: Fix quote style in last change.
amodra [Sat, 8 Jun 2002 08:50:44 +0000 (08:50 +0000)]
* Makefile.am: Fix quote style in last change.
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Sat, 8 Jun 2002 08:45:02 +0000 (08:45 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Sat, 8 Jun 2002 08:44:16 +0000 (08:44 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regnerate.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Sat, 8 Jun 2002 08:43:32 +0000 (08:43 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * ldexp.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:39:44 +0000 (07:39 +0000)]
* ldexp.c: Replace CONST with const.
* ldfile.c: Likewise.
* ldfile.h: Likewise.
* ldlex.l: Likewise.
* mri.c: Likewise.
* pe-dll.h: Likewise.

22 years ago * bucomm.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:38:30 +0000 (07:38 +0000)]
* bucomm.c: Replace CONST with const.
* nm.c: Likewise.
* objdump.c: Likewise.

22 years ago * as.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:37:14 +0000 (07:37 +0000)]
* as.c: Replace CONST with const.
* write.c: Likewise.
* config/obj-coff.c: Likewise.
* config/tc-a29k.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-dlx.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-h8500.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-i860.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-mcore.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-pj.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-tahoe.c: Likewise.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.

22 years ago * a29k.h: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:32:11 +0000 (07:32 +0000)]
* a29k.h: Replace CONST with const.
(CONST): Don't define.
* convex.h: Replace CONST with const.
(CONST): Don't define.
* dlx.h: Replace CONST with const.
* or32.h (CONST): Don't define.

22 years ago * a29k-dis.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:29:26 +0000 (07:29 +0000)]
* a29k-dis.c: Replace CONST with const.
* h8300-dis.c: Likewise.
* m68k-dis.c: Likewise.
* or32-dis.c: Likewise.
* sparc-dis.c: Likewise.

22 years ago * armnetbsd.c: Replace CONST with const.
amodra [Sat, 8 Jun 2002 07:27:52 +0000 (07:27 +0000)]
* armnetbsd.c: Replace CONST with const.
* corefile.c: Likewise.
* elf32-dlx.c: Likewise.
* elf64-mips.c: Likewise.
* mmo.c: Likewise.
* ns32knetbsd.c: Likewise.

22 years ago2002-06-08 Daniel Jacobowitz <drow@mvista.com>
drow [Sat, 8 Jun 2002 05:37:28 +0000 (05:37 +0000)]
2002-06-08  Daniel Jacobowitz  <drow@mvista.com>

        Based on patch from Matt Green:
        * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
        * config/tc-mips.c (s_mips_file): Renamed from s_file.
        (s_mips_loc): New function.
        (mips_nonecoff_pseudo_table): Call them.
        (append_insn): Call dwarf2_emit_insn.

22 years ago2002-06-07 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 8 Jun 2002 03:05:23 +0000 (03:05 +0000)]
2002-06-07  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* cp1.c (inner_mac, fp_mac, inner_rsqrt, fp_inv_sqrt)
(fp_rsqrt, fp_madd, fp_msub, fp_nmadd, fp_nmsub): New functions.
* sim-main.h (fp_rsqrt, fp_madd, fp_msub, fp_nmadd)
(fp_nmsub): New prototypes.
(RSquareRoot, MultiplyAdd, MultiplySub, NegMultiplyAdd)
(NegMultiplySub): New defines.
* mips.igen (RSQRT.fmt): Use RSquareRoot().
(MADD.D, MADD.S): Replace with...
(MADD.fmt): New instruction.
(MSUB.D, MSUB.S): Replace with...
(MSUB.fmt): New instruction.
(NMADD.D, NMADD.S): Replace with...
(NMADD.fmt): New instruction.
(NMSUB.D, MSUB.S): Replace with...
(NMSUB.fmt): New instruction.

22 years ago * elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash
amodra [Sat, 8 Jun 2002 03:01:47 +0000 (03:01 +0000)]
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash
table is elf64-sparc.

22 years agocoerce
cgf [Sat, 8 Jun 2002 01:35:54 +0000 (01:35 +0000)]
coerce

22 years ago* fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket is
cgf [Sat, 8 Jun 2002 01:24:58 +0000 (01:24 +0000)]
* fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket is
unix-domain socket.
* times.cc (hires_ms::prime): Set init flag.
* times.cc (hires_ms::prime): Adjust epoch of initime_us from 1601 to 1970.

22 years ago*** empty log message ***
gdbadmin [Sat, 8 Jun 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 8 Jun 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code.
ths [Fri, 7 Jun 2002 23:43:40 +0000 (23:43 +0000)]
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code.
Fix RELA addends to get not shifted in the result. Don't do special
handling of R_MIPS_64 for NewABI.

22 years ago * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
ths [Fri, 7 Jun 2002 23:26:53 +0000 (23:26 +0000)]
* config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
to -1.
(file_ase_mips16): New veriable.
(mips_eabi64): Remove.
(CPU_HAS_MIPS16): New define.
(CPU_HAS_MDMX): Fix data type.
(md_begin): Code cleanup. Use file_ase_mips16.
(mips_elf_final_processing): Handle mips16 header flag.
Handle EABI flag without intermediate variable.

22 years ago * doc/as.texinfo: Update MIPS documentation.
ths [Fri, 7 Jun 2002 23:07:18 +0000 (23:07 +0000)]
* doc/as.texinfo: Update MIPS documentation.

22 years ago2002-06-07 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 7 Jun 2002 22:55:49 +0000 (22:55 +0000)]
2002-06-07  Chris Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

        * cp1.c: Fix more comment spelling and formatting.
        (value_fcr, store_fcr): Use fenr_FS rather than hard-coding value.
        (denorm_mode): New function.
        (fpu_unary, fpu_binary): Round results after operation, collect
        status from rounding operations, and update the FCSR.
        (convert): Collect status from integer conversions and rounding
        operations, and update the FCSR.  Adjust NaN values that result
        from conversions.  Convert to use sim_io_eprintf rather than
        fprintf, and remove some debugging code.
        * cp1.h (fenr_FS): New define.

22 years ago * config/tc-mips.c: Add define for $zero register.
ths [Fri, 7 Jun 2002 22:54:47 +0000 (22:54 +0000)]
* config/tc-mips.c: Add define for $zero register.
(md_begin): Add $zero as alias name for $0.
(insn_uses_reg): Use ZERO define.
(mips_ip): Add $zero as alias name for $0.
(mips16_ip): Likewise.
(s_cplocal): Demand empty rest of input line.
(tc_get_register): Likewise. Add support for $kt0, kt1 register
names. Use ZERO define. Fix input_line_pointer progress.

22 years ago * libm/common/s_fdim.c: New file.
fitzsim [Fri, 7 Jun 2002 21:59:34 +0000 (21:59 +0000)]
* libm/common/s_fdim.c: New file.
* libm/common/s_fma.c: Likewise.
* libm/common/s_fmax.c: Likewise.
* libm/common/s_fmin.c: Likewise.
* libm/common/s_fpclassify.c: Likewise.
* libm/common/s_lrint.c: Likewise.
* libm/common/s_lround.c: Likewise.
* libm/common/s_nearbyint.c: Likewise.
* libm/common/s_remquo.c: Likewise.
* libm/common/s_round.c: Likewise.
* libm/common/s_scalbln.c: Likewise.
* libm/common/s_signbit.c: Likewise.
* libm/common/s_trunc.c: Likewise.
* libm/common/sf_fdim.c: Likewise.
* libm/common/sf_fma.c: Likewise.
* libm/common/sf_fmax.c: Likewise.
* libm/common/sf_fmin.c: Likewise.
* libm/common/sf_lrint.c: Likewise.
* libm/common/sf_lround.c: Likewise.
* libm/common/sf_nearbyint.c: Likewise.
* libm/common/sf_remquo.c: Likewise.
* libm/common/sf_round.c: Likewise.
* libm/common/sf_scalbln.c: Likewise.
* libm/common/sf_trunc.c: Likewise.
* libm/math/w_exp2.c: Likewise.
* libm/math/w_tgamma.c: Likewise.
* libm/math/wf_exp2.c: Likewise.
* libm/math/wf_tgamma.c: Likewise.
* libm/mathfp/s_exp2.c: Likewise.
* libm/mathfp/s_tgamma.c: Likewise.
* libm/mathfp/sf_exp2.c: Likewise.
* libm/mathfp/sf_tgamma.c: Likewise.
* libm/math/er_gamma.c: Fix return value.
* libm/math/erf_gamma.c: Likewise.
* libm/mathfp/er_gamma.c: Likewise.
* libm/mathfp/erf_gamma.c: Likewise.
* libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
declarations and macros.
Regenerated all Makefile.in, aclocal.m4 and configure files to
use new libtool macros in top-level libtool.m4

22 years ago* cygpath.cc: Add option to output windows paths in different formats: "dos"
cgf [Fri, 7 Jun 2002 19:25:26 +0000 (19:25 +0000)]
* cygpath.cc: Add option to output windows paths in different formats: "dos"
and "mixed".
(main): Process options.
(doit): Check new options flags.

22 years ago2002-06-07 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 7 Jun 2002 16:50:42 +0000 (16:50 +0000)]
2002-06-07  Chris Demetriou  <cgd@broadcom.com>

* cp1.c (convert): Remove unusable debugging code, and move MIPS
rounding mode to sim FP rounding mode flag conversion code into...
(rounding_mode): New function.

22 years ago2002-06-07 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 7 Jun 2002 16:43:18 +0000 (16:43 +0000)]
2002-06-07  Chris Demetriou  <cgd@broadcom.com>

* cp1.c: Clean up formatting of a few comments.
(value_fpr): Reformat switch statement.

22 years ago2002-06-07 H.J. Lu <hjl@gnu.org>
hjl [Fri, 7 Jun 2002 16:42:31 +0000 (16:42 +0000)]
2002-06-07  H.J. Lu <hjl@gnu.org>

* readelf.c (DW_CFA_GNU_args_size): Don't define.
(DW_CFA_GNU_negative_offset_extended): Likewise.
(DW_CFA_GNU_window_save): Likewise.
(display_debug_frames): Handle DW_CFA_offset_extended_sf,
DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.

22 years ago2002-06-07 Michal Ludvig <mludvig@suse.cz>
mludvig [Fri, 7 Jun 2002 16:11:08 +0000 (16:11 +0000)]
2002-06-07  Michal Ludvig  <mludvig@suse.cz>

* x86-64-linux-nat.c (x86_64_fxsave_offset): New.
(supply_fpregset, fill_fpregset): Don't call i387_*_fxsave,
better do the things actually here.
* x86-64-tdep.c (x86_64_register_name2nr): New.
(x86_64_register_name): Renamed to x86_64_register_nr2name.
(x86_64_gdbarch_init): Respect the above change.
* x86-64-tdep.h (x86_64_register_name2nr)
(x86_64_register_nr2name): Add prototypes.
* config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o.

22 years ago * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
amodra [Fri, 7 Jun 2002 15:09:21 +0000 (15:09 +0000)]
* emultempl/ppc64elf.em (new_vers_pattern): Warning fix.

22 years agoReplace bfd_alloc/bfd_malloc + memset with bfd_zalloc/bfd_zmalloc
amodra [Fri, 7 Jun 2002 15:04:46 +0000 (15:04 +0000)]
Replace bfd_alloc/bfd_malloc + memset with bfd_zalloc/bfd_zmalloc

22 years ago * symbols.c: Replace CONST by const throughout.
amodra [Fri, 7 Jun 2002 14:57:50 +0000 (14:57 +0000)]
* symbols.c: Replace CONST by const throughout.
(symbol_find_exact): Split out from..
(symbol_find_base): ..here.
* symbols.h: Replace CONST by const throughout.
(symbol_find_exact): Declare.
* config/obj-elf.c: #include "struc-symbol.h".
(elf_frob_file): If group name matches an exported symbol, use that
symbol for the signature and ".group" as the section name.

22 years ago * elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace with
amodra [Fri, 7 Jun 2002 14:57:10 +0000 (14:57 +0000)]
* elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace with
"group" union.
(elf_group_name): Update.
(elf_group_id): Define.
(bfd_elf_set_group_contents): Declare.
* elf.c (elf_fake_sections): Qualify use of elf_group_name.
(set_group_contents): Rename to bfd_elf_set_group_contents.  Remove
ATTRIBUTE_UNUSED from failedptrarg.  If elf_group_id is set, use
that sym for the signature.
(_bfd_elf_compute_section_file_positions): Don't call
set_group_contents for "ld -r" case.
(swap_out_syms): Use bfd_zalloc.
* elflink.h (elf_link_add_archive_symbols): Likewise.
(NAME(bfd_elf,size_dynamic_sections)): Likewise.
(elf_bfd_final_link): Call bfd_elf_set_group_contents.

22 years agoEnable pei386_auto_import by default. Only print a info message about auto
nickc [Fri, 7 Jun 2002 14:55:59 +0000 (14:55 +0000)]
Enable pei386_auto_import by default.  Only print a info message about auto
imports being resilved if this feature was not requested via a command line
switch.

22 years ago * regtool.cc (Fail): Be more verbose.
corinna [Fri, 7 Jun 2002 11:12:15 +0000 (11:12 +0000)]
* regtool.cc (Fail): Be more verbose.
(find_key): Add support for remote registry access.
(usage): Document it.
* utils.sgml: Document it.

22 years agoWhen computing size of symbols for an ELF target use the internal size field.
nickc [Fri, 7 Jun 2002 11:02:48 +0000 (11:02 +0000)]
When computing size of symbols for an ELF target use the internal size field.