OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago* Makefile.common (MINGW_INCLUDES): Simplify.
cgf [Sun, 7 Jul 2002 00:42:09 +0000 (00:42 +0000)]
* Makefile.common (MINGW_INCLUDES): Simplify.
(MINGW_CFLAGS): New.
(MINGW_CXXFLAGS): Ditto.

22 years agoAdd missing entry from 2002-06-25
cgf [Sun, 7 Jul 2002 00:40:52 +0000 (00:40 +0000)]
Add missing entry from 2002-06-25

22 years ago * libc/machine/sh/Makefile.am (lib_a_SOURCES):
amylaar [Sun, 7 Jul 2002 00:27:19 +0000 (00:27 +0000)]
* libc/machine/sh/Makefile.am (lib_a_SOURCES):
Make strcmp.S unconditional.
* libc/machine/sh/Makefile.in: Regenerate.
* libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
* strcmp.S (strcmp): Add SHmedia variant.  Use different registers
for SHcompact.

22 years ago*** empty log message ***
gdbadmin [Sun, 7 Jul 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sun, 7 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * fhandler.h (fhandler_socket::is_unconnected): Constify.
corinna [Sat, 6 Jul 2002 11:16:07 +0000 (11:16 +0000)]
* fhandler.h (fhandler_socket::is_unconnected): Constify.
(fhandler_socket::is_connect_pending): Ditto.
(fhandler_socket::is_connected): Ditto.
(fhandler_socket::set_connect_state): New method.
(struct select_record): Add member `except_on_write'.
(select_record::select_record): Initialize all bool values to `false'.
* fhandler_socket.cc: Use set_connect_state() method throughout.
(fhandler_socket::connect): Set state always to connected if connection
isn't pending.
* net.cc (cygwin_getsockopt): Revert erroneous previous patch.
* select.cc (set_bits): Check for `except_on_write'.  Set fd in
write_fds if set.  Set connect state to connected if fd has been
returned by WINSOCK_SELECT.
(peek_socket): Check for `except_on_write'.
(start_thread_socket): Ditto.
(fhandler_socket::select_write): Don't set `write_ready' if connect
is pending.  Set `except_on_write' if connect is pending.

22 years agodaily update
amodra [Sat, 6 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sat, 6 Jul 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoadd missing entry
cgf [Fri, 5 Jul 2002 22:00:46 +0000 (22:00 +0000)]
add missing entry

22 years ago* ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment.
cgf [Fri, 5 Jul 2002 21:58:49 +0000 (21:58 +0000)]
* ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment.
(_SYSTEM_TIME_OF_DAY_INFORMATION): Ditto.

22 years agoThis makes gprof work with non-standard text sections.
wilson [Fri, 5 Jul 2002 20:29:38 +0000 (20:29 +0000)]
This makes gprof work with non-standard text sections.
* syms.c (decode_section_type): New.
(bfd_decode_symclass): Call decode_section_type.

22 years ago * fhandler.h (UNCONNECTED): New define.
corinna [Fri, 5 Jul 2002 18:26:22 +0000 (18:26 +0000)]
* fhandler.h (UNCONNECTED): New define.
(CONNECT_PENDING): Ditto.
(CONNECTED): Ditto.
(class fhandler_socket): Add member `had_connect_or_listen'.
Add member functions `is_unconnected', `is_connect_pending' and
`is_connected'.
* fhandler_socket.cc (fhandler_socket::connect): Set member
`had_connect_or_listen' according to return code of WinSock
call.
(fhandler_socket::listen): Ditto.
* net.cc (cygwin_getsockopt): Modify SO_ERROR return value in
case of socket with pending connect().
* select.cc (peek_socket): Only add socket to matching fd_set
if it's not "ready".  Call WINSOCK_SELECT only if at least one
socket is in one of the fd_sets.
(start_thread_socket): Only add socket to matching fd_set
if it's not "ready".
(fhandler_socket::select_write): Set write_ready to true also
if socket isn't connected or listening.

22 years ago2002-07-05 Daniel Jacobowitz <drow@mvista.com>
drow [Fri, 5 Jul 2002 16:23:12 +0000 (16:23 +0000)]
2002-07-05  Daniel Jacobowitz  <drow@mvista.com>

        Fix PR gdb/595, gdb/602
        * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables.
        Don't call value_cast, just read the vtable pointer; update comments
        to match.

22 years ago * config/mcore/tm-mcore.h: Remove file.
graces [Fri, 5 Jul 2002 15:09:49 +0000 (15:09 +0000)]
* config/mcore/tm-mcore.h: Remove file.
* config/mcore/mcore.mt: Remove definition of TM_FILE
* configure.tgt: Set gdb_multi_arch to yes for the mcore target.

22 years ago * config/mcore/tm-mcore.h: Remove file.
graces [Fri, 5 Jul 2002 15:07:49 +0000 (15:07 +0000)]
* config/mcore/tm-mcore.h: Remove file.
* config/mcore/mcore.mt: Remove definition of TM_FILE
* configure.tgt: Set gdb_multi_arch to yes for the mcore target.

22 years agoAdd checks to catch invaliud XScale MIA, MIAPH and MIAxy instructions.
nickc [Fri, 5 Jul 2002 14:12:01 +0000 (14:12 +0000)]
Add checks to catch invaliud XScale MIA, MIAPH and MIAxy instructions.

22 years ago * ldlang.c (print_wild_statement): Fix output formatting.
amodra [Fri, 5 Jul 2002 12:54:27 +0000 (12:54 +0000)]
* ldlang.c (print_wild_statement): Fix output formatting.

22 years agodaily update
amodra [Fri, 5 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 5 Jul 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 4 Jul 2002 23:25:05 +0000 (23:25 +0000)]
2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
        define before including <sys/lock.h>.

22 years ago* i386bsd-tdep.c: Include "gdb_string.h".
kettenis [Thu, 4 Jul 2002 22:59:01 +0000 (22:59 +0000)]
* i386bsd-tdep.c: Include "gdb_string.h".

22 years ago* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.
aoliva [Thu, 4 Jul 2002 22:51:16 +0000 (22:51 +0000)]
* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.

22 years ago2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 4 Jul 2002 22:51:07 +0000 (22:51 +0000)]
2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/utime.h: Add include of <_ansi.h>.
        * libc/sys/linux/Makefile.am: Add utimes.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/inode.c(__umask): New static routine.
        (umask): Written to use __umask and attempt to thread lock.
        (getumask): New function written to use __umask and thread lock.
        * libc/sys/linux/utimes.c: New file.
        * libc/sys/linux/sys/time.h: Fix utimes prototype.
        * libc/sys/linux/sys/utime.h: New file.

22 years ago * Remove files (should have been done on 2002-06-20).
fitzsim [Thu, 4 Jul 2002 20:22:35 +0000 (20:22 +0000)]
* Remove files (should have been done on 2002-06-20).

22 years ago * process.c: Add comment.
fitzsim [Thu, 4 Jul 2002 20:00:49 +0000 (20:00 +0000)]
* process.c: Add comment.

22 years ago * libtool.m4: New file.
fitzsim [Thu, 4 Jul 2002 19:57:25 +0000 (19:57 +0000)]
* libtool.m4: New file.
* libc/sys/linux/process.c: Implement vfork in terms of fork,
rather than as a syscall.

22 years ago2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 4 Jul 2002 19:33:53 +0000 (19:33 +0000)]
2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: Add new prototypes.
        * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/fseek.c: Add fseeko documentation.
        * libc/stdio/ftell.c: Add ftello documentation.
        * libc/stdio/fseeko.c: New file.
        * libc/stdio/ftello.c: New file.

22 years ago2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 4 Jul 2002 18:56:16 +0000 (18:56 +0000)]
2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/asprintf.c: New file.
        * libc/stdio/vasprintf.c: Ditto.
        * libc/stdio/fvwrite.c: Add code to dynamically reallocate
        the buffer for asprintf support.
        * libc/stdio/sprintf.c: Add asprintf documentation.
        * libc/stdio/vfprintf.c: Add vasprintf documentation.
        * libc/include/stdio.h: Add new prototypes.

22 years ago * fhandler_socket.cc (fhandler_socket::set_sun_path): Don't free
corinna [Thu, 4 Jul 2002 17:18:14 +0000 (17:18 +0000)]
* fhandler_socket.cc (fhandler_socket::set_sun_path): Don't free
memory here.  Allow NULL parameter.

22 years ago * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2.
graces [Thu, 4 Jul 2002 16:45:51 +0000 (16:45 +0000)]
* config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2.
(PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to
mcore-tdep.
(REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER)
(TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove.
* mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG)
(RETVAL_REGNUM): Move macros from tm-mcore.h
(mcore_reg_struct_has_addr): New function.
(mcore_gdbarch_init): Added initializations for the macros removed
from tm-mcore.h.

22 years ago * merge.c (_bfd_merged_section_offset): Avoid accessing byte before
jakub [Thu, 4 Jul 2002 15:57:24 +0000 (15:57 +0000)]
* merge.c (_bfd_merged_section_offset): Avoid accessing byte before
section content start.
Reported by Michael Schumacher <mike@hightec-rt.com>.

22 years ago* osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's
kettenis [Thu, 4 Jul 2002 15:36:50 +0000 (15:36 +0000)]
* osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's
traditonal string branding within the ELF header.

22 years ago * fhandler_socket.cc (fhandler_socket::dup): Add missing copy operation
corinna [Thu, 4 Jul 2002 15:32:34 +0000 (15:32 +0000)]
* fhandler_socket.cc (fhandler_socket::dup): Add missing copy operation
on sun_path.

22 years ago2002-07-04 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 4 Jul 2002 15:22:42 +0000 (15:22 +0000)]
2002-07-04  Daniel Jacobowitz  <drow@mvista.com>

        * symtab.c (remove_params): New function.
        (make_symbol_overload_list): Use it instead of cplus_demangle.
        (overload_list_add_symbol): Likewise.  Reorder.  Fix memory leak.

22 years ago* winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32
duda [Thu, 4 Jul 2002 15:18:35 +0000 (15:18 +0000)]
* winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32
project.
* winsup.api/pthread/cancel2.c: Ditto.
* winsup.api/pthread/cancel3.c: Ditto.
* winsup.api/pthread/cancel4.c: Ditto.
* winsup.api/pthread/cancel5.c: Ditto.

22 years ago* i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype.
kettenis [Thu, 4 Jul 2002 15:17:42 +0000 (15:17 +0000)]
* i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype.

22 years ago* i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end):
kettenis [Thu, 4 Jul 2002 15:13:27 +0000 (15:13 +0000)]
* i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end):
New variables.
(i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start
and tdep->sigtramp_end.
* i386obsd-nat.c: New file.
* config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o.

22 years ago* dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf.
kettenis [Thu, 4 Jul 2002 14:43:51 +0000 (14:43 +0000)]
* dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf.
Don't call get_current_frame().

22 years ago * ldlang.c: (strip_excluded_output_sections): New function.
amodra [Thu, 4 Jul 2002 14:41:01 +0000 (14:41 +0000)]
* ldlang.c: (strip_excluded_output_sections): New function.
(lang_process): Call it.
(lang_size_sections_1): Revert 2002-06-10 change.

22 years ago * section.c (_bfd_strip_section_from_output): Remove unnecessary
amodra [Thu, 4 Jul 2002 14:40:25 +0000 (14:40 +0000)]
* section.c (_bfd_strip_section_from_output):  Remove unnecessary
link order code.  Don't actually remove the output section here;
Just set a flag for the linker to do so.
* elflink.c (_bfd_elf_link_renumber_dynsyms): Test for removed
sections when setting up output section dynsyms.

22 years ago2002-06-25 Thomas Pfaff <tpfaff@gmx.net>
rbcollins [Thu, 4 Jul 2002 14:17:28 +0000 (14:17 +0000)]
2002-06-25  Thomas Pfaff  <tpfaff@gmx.net>

        * include/pthread.h (PTHREAD_CANCELED): Defined a reasonable
        value.
* pthread.cc (pthread_exit): Call method instead of function.
(pthread_setcancelstate): Ditto.
(pthread_setcanceltype): Ditto.
(pthread_testcancel): Ditto.
* thread.h (pthread::cancel_event): New member.
        (__pthread_cancel_self): New prototype.
(pthread::exit): New Method.
(pthread::cancel): Ditto.
(pthread::testcancel): Ditto.
(pthread::cancel_self): Ditto.
(pthread::static_cancel_self): Ditto.
(pthread::setcancelstate): Ditto.
(pthread::setcanceltype): Ditto.
(__pthread_cancel): Give c++ linkage.
(__pthread_exit): Remove.
(__pthread_setcancelstate): Ditto.
(__pthread_setcanceltype): Ditto.
(__pthread_testcancel): Ditto.
 * thread.cc (pthread::pthread): Inititialize cancel_event.
(pthread::~pthread): Close cancel_event if needed.
(pthread::create): Create cancel_event.
(pthread::exit): New method. Replacement for __pthread_exit.
(pthread::cancel): New method.
(pthread::testcancel): Ditto.
(pthread::static_cancel_self); New static method.
(pthread::setcancelstate): New method. Replacement for
__pthread_setcancelstate.
(pthread::setcanceltype): New method. Replacement for
__pthread_setcanceltype.
(pthread::pop_cleanup_handler): Added lock for async cancel safe
cancellation.
(pthread::thread_init_wrapper): Change __pthread_exit to
thread->exit().
(__pthread_cancel): Call method thread->cancel().
(__pthread_exit): Remove.
(__pthread_setcancelstate): Ditto.
(__pthread_setcanceltype): Ditto.
(__pthread_testcancel): Ditto.

22 years ago * elflink.h (elf_link_add_object_symbols): Revert 1999-09-02 hpux
amodra [Thu, 4 Jul 2002 13:26:30 +0000 (13:26 +0000)]
* elflink.h (elf_link_add_object_symbols): Revert 1999-09-02 hpux
fudge.
* elf.c (bfd_section_from_shdr): Work around broken hpux shared
libs here instead.

22 years ago2002-07-04 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Thu, 4 Jul 2002 12:32:28 +0000 (12:32 +0000)]
2002-07-04  Pierre Muller  <muller@ics.u-strasbg.fr>

* i386-nat.c (child_post_startup_inferior): New function
calling i386_cleanup_dregs if
I386_USE_GENERIC_WATCHPOINTS is defined.
* config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR
conditional to acknowledge that i386-nat.c has its
own child_post_startup_inferior function.

22 years ago Let RPC API work with or without windows.h.
dannysmith [Thu, 4 Jul 2002 08:29:56 +0000 (08:29 +0000)]
Let RPC API work with or without windows.h.

* include/rpc.h: Conditionally include <windows.h> before
header guard.
* include/wtypes.h: Include <rpc.h> and <rpcndr.h> before
header guard.

22 years ago* i386-tdep.h (I386_MAX_REGISTER_SIZE): New define.
kettenis [Thu, 4 Jul 2002 08:18:20 +0000 (08:18 +0000)]
* i386-tdep.h (I386_MAX_REGISTER_SIZE): New define.
* i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE
instead of MAX_REGISTER_RAW_SIZE.
(i386_extract_return_value, i386_extract_struct_value_address):
Convert to use regcache.
(i386_gdbarch_init): Set max_register_raw_size and
max_register_virtual_size to I386_MAX_REGISTER_SIZE.
Set extract_return_value and extract_struct_value_address instead
of their deprecated variants.

22 years agoConvert i386 target to generic dummy frames.
kettenis [Thu, 4 Jul 2002 07:22:10 +0000 (07:22 +0000)]
Convert i386 target to generic dummy frames.
* i386-tdep.c: Include "symfile.h".
(i386_frameless_signal_p): Consider a function to be frameless if
the pc points at the first instruction of the function.
(i386_frame_chain): Handle (generic) call dummies.
(i386_frame_saved_pc): Likewise.
(i386_frame_init_saved_regs): Remove code dealing with call
dummies on the stack.
(i386_push_dummy_frame): Removed.
(i386_call_dummy_words): Removed.
(i386_fix_call_dummy): Removed.
(i386_push_return_address): New function.
(i386_do_pop_frame): Renamed from i386_pop_frame.  Add FRAME
parameter, and don't call get_current_frame.
(i386_pop_frame): New function.
(i386_gdbarch_init): Set use_generic_dummy_frames to 1, set
call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to
entry_point_address, set call_dummy_breakpoint_offset to 0, set
call_dummy_length to 0, set call_dummy_words to NULL, set
sizeof_call_dummy_words to 0, set fix_call_dummy to
generic_fix_call_dummy, set pc_in_call_dummy to
pc_in_call_dummy_at_entry_point, set push_dummy_frame to
generic_push_dummy_frame, set push_return_address to
i386_push_return_address and set frame_chain_valid to
generic_file_frame_chain_valid.

22 years ago2002-07-04 Michal Ludvig <mludvig@suse.cz>
mludvig [Thu, 4 Jul 2002 06:00:47 +0000 (06:00 +0000)]
2002-07-04  Michal Ludvig  <mludvig@suse.cz>

* gdbserver/linux-x86-64-low.c (x86_64_regmap): Make it an array of
byte offsets instead of an array of indexes.
(x86_64_store_gregset, x86_64_store_fpregset): Parameter made const.

22 years ago* Makefile.in: Eliminate unneeded Makefile recreation rule.
cgf [Thu, 4 Jul 2002 03:08:00 +0000 (03:08 +0000)]
* Makefile.in: Eliminate unneeded Makefile recreation rule.

22 years ago*** empty log message ***
gdbadmin [Thu, 4 Jul 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Thu, 4 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* configure.in: Make --without-x work.
dj [Wed, 3 Jul 2002 23:35:31 +0000 (23:35 +0000)]
* configure.in: Make --without-x work.

22 years ago* include/cygwin/version.h: Bump DLL minor number.
cgf [Wed, 3 Jul 2002 22:25:37 +0000 (22:25 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

22 years ago* gdbarch.sh (struct regcache): Add opaque declaration.
cagney [Wed, 3 Jul 2002 21:27:54 +0000 (21:27 +0000)]
* gdbarch.sh (struct regcache): Add opaque declaration.
(EXTRACT_RETURN_VALUE): New architecture method.
(EXTRACT_STRUCT_VALUE_ADDRESS): Ditto.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.c (legacy_extract_return_value): New function.
* arch-utils.h (legacy_extract_return_value): Declare.
* values.c (value_being_returned): Re-enable code handling
EXTRACT_STRUCT_VALUE_ADDRESS.  Move
deprecated_grub_regcache_for_registers call to block handling
DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
(EXTRACT_RETURN_VALUE): Do not define.

22 years ago * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM)
graces [Wed, 3 Jul 2002 21:23:01 +0000 (21:23 +0000)]
* config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM)
(SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK)
(BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL)
(INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC)
(FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC)
(STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE)
(STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
(SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS)
(FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME)
(PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove.
* mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf
argument so the function fits the prototype in the architecture
vector.
(mcore_pop_frame): Remove argument so the function fits the
prototype. Use get_current_frame instead of the argument.
(mcore_push_arguments): Change type of struct_return so the
function can be used in the architecture vector.
(mcore_store_struct_return): Add.
(mcore_frame_init_saved_regs): Add.
(mcore_gdbarch_init): Add function calls to replace the macros
removed from tm-mcore.h

22 years ago* infcmd.c (print_return_value): Remove compatibility code calling
cagney [Wed, 3 Jul 2002 20:36:53 +0000 (20:36 +0000)]
* infcmd.c (print_return_value): Remove compatibility code calling
deprecated_grub_regcache_for_registers.

* values.c: Include "regcache.h".
(value_being_returned): Update.  Use
deprecated_grub_regcache_for_registers to extract the register
buffer address.
* value.h (value_being_returned): Change ``retbuf'' parameter to a
``struct regcache''.
* Makefile.in (values.o): Add dependency on $(regcache_h).

* inferior.h (run_stack_dummy): Change type of second parameter to
a ``struct regcache''.
* valops.c (hand_function_call): Change type of retbuf to ``struct
regcache''.  Allocate using regcache_xmalloc, clean using
make_cleanup_regcache_xfree.
* infcmd.c (run_stack_dummy): Update.  Use
regcache_cpu_no_passthrough instead of memcpy to copy the buffer.

* regcache.c (do_regcache_xfree): New function.
(make_cleanup_regcache_xfree): New function.
* regcache.h (make_cleanup_regcache_xfree): Declare.

22 years agoCorrect previous entry.
hunt [Wed, 3 Jul 2002 20:35:09 +0000 (20:35 +0000)]
Correct previous entry.

22 years ago2002-06-14 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 3 Jul 2002 20:32:39 +0000 (20:32 +0000)]
2002-06-14  Martin M. Hunt  <hunt@redhat.com>

* library/panedwindow.tcl (_placePlanes): Make certain things
are initialized before attempting to move panes.

22 years ago* include/sys/statfs.h: New header file.
cgf [Wed, 3 Jul 2002 20:31:37 +0000 (20:31 +0000)]
* include/sys/statfs.h: New header file.

22 years ago2002-07-03 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 3 Jul 2002 20:27:11 +0000 (20:27 +0000)]
2002-07-03  Martin M. Hunt  <hunt@redhat.com>

* event-top.c (command_line_handler): Don't read past
        beginning of buffer.

22 years ago2002-07-03 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 3 Jul 2002 20:23:04 +0000 (20:23 +0000)]
2002-07-03  Martin M. Hunt  <hunt@redhat.com>

        * varobj.c (struct varobj_root): Change frame from CORE_ADDR to
        struct frame_id.
        (varobj_create): Store frame_id for root.
        (varobj_gen_name): Use xasprintf.
        (varobj_update): Save and restore frame using get_frame_id() and
        frame_find_by_id().
        (create_child): Use xasprintf.
        (new_root_variable): Initialize frame_id.
        (c_name_of_child): Use xasprintf. Call find_frame_by_id().
        (c_value_of_variable): Use xasprintf. Move mem_fileopen call
        to prevent memory leak.

22 years ago* valops.c (hand_function_call): Move declaration of retbuf to
cagney [Wed, 3 Jul 2002 18:31:28 +0000 (18:31 +0000)]
* valops.c (hand_function_call): Move declaration of retbuf to
start of function, allocate using malloc, add a cleanup but before
the inf_status cleanup, cleanup the buffer.  Rename local variable
old_chain to inf_status_cleanup.

22 years ago* dtable.cc (cygwin_attach_handle_to_fd): Default to implicit bin mode if none
cgf [Wed, 3 Jul 2002 18:02:53 +0000 (18:02 +0000)]
* dtable.cc (cygwin_attach_handle_to_fd): Default to implicit bin mode if none
specified.
* fhandler.cc (fhandler_base::init): Make bin argument a guarantee rather than
a suggestion.
* path.cc (path_conv::check): Load flag returned from cygwin_conv_to_win32_path
into path_flags.

22 years ago2002-07-03 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 3 Jul 2002 17:38:20 +0000 (17:38 +0000)]
2002-07-03  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-hooks.c (gdbtk_call_command): Use cmd_func().

22 years ago2002-07-03 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 3 Jul 2002 17:35:19 +0000 (17:35 +0000)]
2002-07-03  Martin M. Hunt  <hunt@redhat.com>

* top.c (execute_command): Use cmd_func() and cmd_func_p().

* cli/cli-decode.c (cmd_func_p): New function.
(cmd_func): New function.

* command.h: Add cmd_func() and cmd_func_p().

22 years ago * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0.
graces [Wed, 3 Jul 2002 17:17:04 +0000 (17:17 +0000)]
* config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0.
(REGISTER_SIZE): Remove.
(MAX_REGISTER_RAW_SIZE): Remove.
(REGISTER_VIRTUAL_TYPE): Remove.
(MAX_REGISTER_VIRTUAL_SIZE): Remove.
(REGISTER_NAME): Remove.
(USE_GENERIC_DUMMY_FRAMES): Remove.
(CALL_DUMMY): Remove.
(CALL_DUMMY_START_OFFSET): Remove.
(CALL_DUMMY_BREAKPOINT_OFFSET): Remove.
(CALL_DUMMY_LOCATION): Remove.
(FIX_CALL_DUMMY): Remove.
(CALL_DUMMY_ADDRESS): Remove.
(SIZEOF_CALL_DUMMY_WORDS): Remove.
(SAVE_DUMMY_FRAME_TOS): Remove.
* mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros.
(mcore_register_virtual_type): New function.
(mcore_register_byte): New function.
(mcore_register_size): New function.
(mcore_register_name): New function.
(mcore_gdbarch_init): New function. Add set_gdbarch calls for
macros removed from tm-mcore.h.
(mcore_dump_tdep): Add.
(_initialize_mcore_tdep): Add gdbarch_register call.

22 years ago Remove next release number until the release is actually upon us.
nickc [Wed, 3 Jul 2002 17:16:25 +0000 (17:16 +0000)]
 Remove next release number until the release is actually upon us.

22 years ago * tty.cc (tty::common_init): Reverse logic of cygserver check in
scottc [Wed, 3 Jul 2002 15:56:35 +0000 (15:56 +0000)]
* tty.cc (tty::common_init): Reverse logic of cygserver check in
call to SetKernelObjectSecurity.

22 years ago New directory. Created to contain a copy of the texi2pod.pl script so that
nickc [Wed, 3 Jul 2002 11:20:13 +0000 (11:20 +0000)]
 New directory.  Created to contain a copy of the texi2pod.pl script so that
it is in the same place as the version in the FSF GCC sources.

22 years ago* i386-tdep.c (i386_frameless_signal_p): Provide an argument in to
kettenis [Wed, 3 Jul 2002 09:39:46 +0000 (09:39 +0000)]
* i386-tdep.c (i386_frameless_signal_p): Provide an argument in to
frameless_look_for_prologue, such that we actually call this
function.

22 years ago * autoload.cc (WSAEventSelect): Define new autoload function.
corinna [Wed, 3 Jul 2002 09:20:24 +0000 (09:20 +0000)]
* autoload.cc (WSAEventSelect): Define new autoload function.
(WSAEnumNetworkEvents): Ditto.
* fhandler_socket.cc (fhandler_socket::accept): If socket is
in blocking mode wait for incoming connection and signal.

22 years ago* configure.in: Rearrange target Makefile fragment collection.
dj [Wed, 3 Jul 2002 03:23:47 +0000 (03:23 +0000)]
* configure.in: Rearrange target Makefile fragment collection.

22 years ago* cygheap.cc (init_cheap): Rearrange error message.
cgf [Wed, 3 Jul 2002 03:20:49 +0000 (03:20 +0000)]
* cygheap.cc (init_cheap): Rearrange error message.
(cygheap_fixup_in_child): Ditto.
* dtable.cc: Remove if 0'ed code.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Force binmode.
* sec_helper.cc (cygsid::get_id): Use system_printf for error message.
* tty.cc (tty::common_init): Ditto.

22 years ago * libc/search/hcreate.c: Remove advertising clause from license.
fitzsim [Wed, 3 Jul 2002 00:33:57 +0000 (00:33 +0000)]
* libc/search/hcreate.c: Remove advertising clause from license.
* libc/search/hcreate_r.c: Likewise.

22 years agodaily update
amodra [Wed, 3 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 3 Jul 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* net.cc (cygwin_getpeername): Defend against NULL pointer dereference.
cgf [Tue, 2 Jul 2002 23:57:04 +0000 (23:57 +0000)]
* net.cc (cygwin_getpeername): Defend against NULL pointer dereference.

22 years ago * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
amodra [Tue, 2 Jul 2002 23:56:53 +0000 (23:56 +0000)]
* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure
amodra [Tue, 2 Jul 2002 23:54:37 +0000 (23:54 +0000)]
* lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure
consistent sorting.
(run_dump_test): Likewise for objdump/nm/objcopy/readelf.
* ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise.

22 years ago * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
amodra [Tue, 2 Jul 2002 23:53:05 +0000 (23:53 +0000)]
* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * lib/gas-defs.exp (run_dump_test): Run objdump/nm/objcopy/readelf
amodra [Tue, 2 Jul 2002 23:50:13 +0000 (23:50 +0000)]
* lib/gas-defs.exp (run_dump_test): Run objdump/nm/objcopy/readelf
with LC_ALL=C to ensure consistent sorting.

22 years ago * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
amodra [Tue, 2 Jul 2002 23:48:44 +0000 (23:48 +0000)]
* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
* Makefile.in: Regenerate.

22 years ago * frame.h (frame_address_in_block): New function.
brobecke [Tue, 2 Jul 2002 19:08:53 +0000 (19:08 +0000)]
    * frame.h (frame_address_in_block): New function.

        * blockframe.c (frame_address_in_block): New function extracted
        from get_frame_block().
        (get_frame_block): Use frame_address_in_block().
        (block_innermost_frame): Use frame_address_in_block() to match
        the frame pc address against the block boundaries rather than
        the frame pc directly. This prevents a failure when a frame pc
        is actually a return-address pointing immediately after the end
        of the given block.

22 years ago* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
dj [Tue, 2 Jul 2002 18:57:42 +0000 (18:57 +0000)]
* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
cvs[src].
* configure.in: Ditto.

22 years ago* MAINTAINERS: Add self under write after approval.
graces [Tue, 2 Jul 2002 18:25:40 +0000 (18:25 +0000)]
* MAINTAINERS: Add self under write after approval.

22 years ago2002-07-02 Chris Demetriou <cgd@broadcom.com>
jjohnstn [Tue, 2 Jul 2002 18:18:55 +0000 (18:18 +0000)]
2002-07-02  Chris Demetriou  <cgd@broadcom.com>

        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
        (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
        Check that one of them is defined and error out if not.
        Add any platforms defined in <machine/ieeefp.h> that are missing.
        * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
        (DB_LITTLE_ENDIAN): New defines.
        * libc/search/hash.c: Replace all incorrect checks for
        _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
        BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
        * libc/search/hash_page.c: Likewise.

22 years ago* m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not
graces [Tue, 2 Jul 2002 18:13:50 +0000 (18:13 +0000)]
* m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not
used in architecture vector. The default is
m68k_local_breakpoint_from_pc.
(m68k_local_breakpoint_from_pc): Add.
(enum): Add register numbers from tm-m68k.h.
(m68k_gdbarch_init): Add breakpoint_from_pc to architecture vector.
* config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to
GDB_MULTI_ARCH_PARTIAL.
(BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP)
(NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to
m68k-tdep.c.
(BREAKPOINT, REMOTE_BREAKPOINT): Remove.
(A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move
to enum in m68k-tdep.c

22 years ago * solib-osf.c (open_map): Compute the list of shared libraries
brobecke [Tue, 2 Jul 2002 17:05:28 +0000 (17:05 +0000)]
    * solib-osf.c (open_map): Compute the list of shared libraries
        loaded by the inferior, rather than the list of libraries loaded
        by GDB itself.  Otherwise, GDB ends up reading the symbols from
        the wrong shared libraries...

22 years ago* i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static.
kettenis [Tue, 2 Jul 2002 13:48:15 +0000 (13:48 +0000)]
* i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static.
(LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove
macros.
(i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
Remove functions.
(FRAMELESS_SIGNAL): Remove function.
(i386_linux_frame_chain, i386_linux_frame_saved_pc,
i386_linux_saved_pc_after_call): Removed.
(i386_linux_init_abi): Initialize tdep->sigcontext_addr,
tdep->sc_pc_offset and tdep->sc_sp_offset.  Don't override
frame_chain, frame_saved_pc and saved_pc_after_call any longer.

22 years ago * mkgroup.c: Add function pointers for functions from advapi32.dll.
corinna [Tue, 2 Jul 2002 12:59:42 +0000 (12:59 +0000)]
* mkgroup.c: Add function pointers for functions from advapi32.dll.
(load_netapi): Load used functions from advapi32.dll.
(main): Use function pointers instead of statically linked functions
from advapi32.dll.

22 years ago * include/cygwin/version.h: Bump API minor version.
corinna [Tue, 2 Jul 2002 09:40:04 +0000 (09:40 +0000)]
* include/cygwin/version.h: Bump API minor version.

22 years ago* i386-tdep.c (i386_frameless_signal_p): New function.
kettenis [Tue, 2 Jul 2002 09:12:36 +0000 (09:12 +0000)]
* i386-tdep.c (i386_frameless_signal_p): New function.
(i386_frame_chain): Deal with frameless signals.
(i386_sigtramp_saved_sp): New function.
(i386_frame_saved_pc): Deal with frameless signals.
(i386_saved_pc_after_call): Make sure the correct value is
returned just after entry into a sigtramp.
* i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset,
i386fbsd4_sc_sp_offset): New variables.
(i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use
these variables to initialize tdep->sc_sp_offset.  * i386bsd-nat.c
(_initialize_i386bsd_nat): Add sanity check for sc_sp_offset
similiar to what we already did for sc_pc_offset.
* i386-sol2-tdep.c (i386_sol2_init_abi): Initialize
tdep->sc_sp_offset.

22 years ago2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
sky [Tue, 2 Jul 2002 09:05:50 +0000 (09:05 +0000)]
2002-07-02  Martin Schwidefsky  <schwidefsky@de.ibm.com>
* elf64-s390.c (create_got_section): Set .got section alignment to
8 bytes.
(elf_s390_check_relocs): Set .rela.dyn section alignment to 8 bytes.

22 years ago2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
sky [Tue, 2 Jul 2002 09:04:42 +0000 (09:04 +0000)]
2002-07-02  Martin Schwidefsky  <schwidefsky@de.ibm.com>
* config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
to symbols in merge sections, even non pc-relative ones.

22 years ago * security.cc (get_logon_server): Interpret a zero length
corinna [Tue, 2 Jul 2002 09:02:52 +0000 (09:02 +0000)]
* security.cc (get_logon_server): Interpret a zero length
domain as the local domain.
(get_group_sidlist): Add authenticated users SID to SYSTEM's group
list instead of SYSTEM itself.
(verify_token): Accept the primary group sid if it equals
the token user sid.

22 years ago * cygwin.din (__fpclassifyd): Add symbol.
corinna [Tue, 2 Jul 2002 08:44:54 +0000 (08:44 +0000)]
* cygwin.din (__fpclassifyd): Add symbol.
(__fpclassifyf): Ditto.
(__signbitd): Ditto.
(__signbitf): Ditto.

22 years ago* i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line.
kettenis [Tue, 2 Jul 2002 08:39:53 +0000 (08:39 +0000)]
* i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line.

22 years ago * security.h (DONT_INHERIT): Eliminate definition.
corinna [Tue, 2 Jul 2002 08:11:14 +0000 (08:11 +0000)]
* security.h (DONT_INHERIT): Eliminate definition.
(INHERIT_ALL): Ditto.
(INHERIT_ONLY): Ditto.
* sec_acl.cc: Use appropriate defines from accctrl.h instead of the
above throughout.
* security.cc: Ditto.

22 years ago2002-07-02 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Tue, 2 Jul 2002 05:50:10 +0000 (05:50 +0000)]
2002-07-02  Danny Smith <dannysmith@users.sourceforge.net>

* include/commctrl.h (WC_*): Remove some duplicate defines.

2002-07-02  Ken Fitlike  <kenfitlike@hotmail.com>

* include/commctrl.h (WC_IPADDRESS[AW]): Add defines and
UNICODE mappings.
(IPM*): Add defines.
(IPN_*): Add defines.
(NMIPADDRESS): Add structure and typedefs.
(MAKEIPADDRESS): Add macro.
(MAKEIPRANGE): Add macro.
(FIRST_IPADDRESS): Add macro.
(SECOND_IPADDRESS): Add macro.
(THIRD_IPADDRESS): Add macro.
(FOURTH_IPADDRESS): Add macro.

22 years ago * elf.c (_bfd_elf_reloc_type_class): Fix comment grammar.
amodra [Tue, 2 Jul 2002 04:31:20 +0000 (04:31 +0000)]
* elf.c (_bfd_elf_reloc_type_class): Fix comment grammar.

22 years ago * ldfile.c (ldfile_try_open_bfd): Formatting.
amodra [Tue, 2 Jul 2002 04:26:38 +0000 (04:26 +0000)]
* ldfile.c (ldfile_try_open_bfd): Formatting.