OSDN Git Service

pf3gnuchains/sourceware.git
21 years agoThe BookE implementations of the TLBWE and TLBRE instructions do not take any
nickc [Wed, 4 Sep 2002 09:59:48 +0000 (09:59 +0000)]
The BookE implementations of the TLBWE and TLBRE instructions do not take any
arguments.

21 years ago * fhandler.h (fhandler_socket::read): Remove method.
corinna [Wed, 4 Sep 2002 09:39:34 +0000 (09:39 +0000)]
* fhandler.h (fhandler_socket::read): Remove method.
(fhandler_socket::write): Ditto.
(fhandler_socket::readv): New method.
(fhandler_socket::writev): Ditto.
(fhandler_socket::recvmsg): Add new optional argument.
(fhandler_socket::sendmsg): Ditto.
* fhandler.cc (fhandler_socket::read): Remove method.
(fhandler_socket::write): Ditto.
(fhandler_socket::readv): New method.
(fhandler_socket::writev): Ditto.
(fhandler_socket::recvmsg): Use win32's scatter/gather IO where
possible.
(fhandler_socket::sendmsg): Ditto.
* net.cc (cygwin_recvmsg): Check the msghdr's iovec fields.
(cygwin_sendmsg): Ditto.  Add omitted sigframe.

21 years agodaily update
amodra [Wed, 4 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 4 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
kseitz [Tue, 3 Sep 2002 22:29:13 +0000 (22:29 +0000)]
    * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
        Use integer comparison instead of string comparison for testing
        whether binary was built.

21 years ago2002-09-03 René Møller Fonseca <fonseca@users.sourceforge.net>
dannysmith [Tue, 3 Sep 2002 22:29:10 +0000 (22:29 +0000)]
2002-09-03  René Møller Fonseca  <fonseca@users.sourceforge.net>

* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines.
Add WINVER guards for dialog box command id defines.

21 years ago* gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register.
troth [Tue, 3 Sep 2002 21:42:12 +0000 (21:42 +0000)]
* gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register.

21 years ago * tuiIO.c (tui_putc): New function to print one character.
ciceron [Tue, 3 Sep 2002 20:47:48 +0000 (20:47 +0000)]
* tuiIO.c (tui_putc): New function to print one character.
(printable_part): New function from readline/complete.c.
(PUTX): New macro, likewise.
(print_filename): New function, likewise.
(get_y_or_n): New function, likewise and adapted for TUI.
(tui_rl_display_match_list): New function from readline/complete.c
and writes on TUI command window.
(tui_setup_io): Install or remove the readline hook
rl_completion_display_matches_hook so that completion is written
directly in TUI command window instead of in the TUI pipe.
(tui_initialize_io): Use #ifdef TUI_USE_PIPE_FOR_READLINE for the
TUI redirection pipe.
(tui_getc): Likewise for call to tui_readline_output.
(tui_readline_output): Likewise for function.
* tui.c (tui_rl_startup_hook): Always take care of gdb prompt.

21 years ago* gdb.threads/killed.exp, gdb.threads/killed.c: New test.
jimb [Tue, 3 Sep 2002 20:02:47 +0000 (20:02 +0000)]
* gdb.threads/killed.exp, gdb.threads/killed.c: New test.

21 years ago2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 3 Sep 2002 19:52:10 +0000 (19:52 +0000)]
2002-09-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/wcschr.c: Add include of <stddef.h>.
        * libc/string/wcspbrk.c: Ditto.
        * libc/string/wcsrchr.c: Ditto.
        * libc/string/wcsstr.c: Ditto.

21 years ago2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 3 Sep 2002 19:40:35 +0000 (19:40 +0000)]
2002-09-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/_types.h (_flock_t): Added.
        * libc/include/sys/lock.h (__lock_try_acquire): New interface.
        (__lock_try_acquire_recursive): Ditto.
        * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
        _lock field.
        * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
        field.
        * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
        * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
        * libc/sys/linux/include/time.h (struct timespec): Moved from
        <sys/types.h> and added check for __need_timespec flag so type
        can be defined by itself.
        * libc/sys/linux/sys/_types.h (_flock_t): New type.
        * libc/sys/linux/sys/types.h (struct timespec): Moved to
        <time.h>.

21 years ago2002-09-03 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 3 Sep 2002 17:32:11 +0000 (17:32 +0000)]
2002-09-03  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (dwarf2_add_member_fn): Add the 'type'
argument (PR gdb/653).  Update call to smash_to_method_type.
(read_structure_scope): Update call to dwarf2_add_member_fn.

21 years ago * gdb680.exp: New file to test to check for uiout list/tuple
kseitz [Tue, 3 Sep 2002 16:37:00 +0000 (16:37 +0000)]
    * gdb680.exp: New file to test to check for uiout list/tuple
        nesting bug.

21 years ago * include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.
earnie [Tue, 3 Sep 2002 16:25:53 +0000 (16:25 +0000)]
* include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.

21 years ago2002-09-03 Michal Ludvig <mludvig@suse.cz>
mludvig [Tue, 3 Sep 2002 13:06:32 +0000 (13:06 +0000)]
2002-09-03  Michal Ludvig  <mludvig@suse.cz>

* x86-64-linux-tdep.c: Include gdb_string.h
* x86-64-linux-nat.c: Ditto.

21 years ago * cygwin.din: Revert exporting new wchar functions.
corinna [Tue, 3 Sep 2002 12:26:50 +0000 (12:26 +0000)]
* cygwin.din: Revert exporting new wchar functions.
* include/cygwin/version.h: Change comment for API minor 62.

21 years ago* ada-exp.y (yyname, yyrule): Remap global variables that appear
thorpej [Tue, 3 Sep 2002 02:45:55 +0000 (02:45 +0000)]
* ada-exp.y (yyname, yyrule): Remap global variables that appear
when YYDEBUG is set to 1.
* c-exp.y: Likewise.
* f-exp.y: Likewise.
* jv-exp.y: Likewise.
* m2-exp.y: Likewise.
* p-exp.y: Likewise.

21 years agodaily update
amodra [Tue, 3 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 3 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * tuiWin.c (_newHeightOk): Fix compilation warnings.
ciceron [Mon, 2 Sep 2002 19:34:18 +0000 (19:34 +0000)]
* tuiWin.c (_newHeightOk): Fix compilation warnings.

21 years ago * gdb.texinfo (TUI Overview): Document status line fields.
ciceron [Mon, 2 Sep 2002 19:09:30 +0000 (19:09 +0000)]
* gdb.texinfo (TUI Overview): Document status line fields.

21 years ago * gdb.texinfo (TUI Commands): Document info win command.
ciceron [Mon, 2 Sep 2002 18:54:12 +0000 (18:54 +0000)]
* gdb.texinfo (TUI Commands): Document info win command.

21 years ago* Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
thorpej [Mon, 2 Sep 2002 18:09:06 +0000 (18:09 +0000)]
* Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
dependency list.
* i386nbsd-tdep.c (i386nbsdelf_init_abi): Set
solib_svr4_fetch_link_map_offsets to
nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
* config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
* config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
* config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, and solib-legacy.o.
* config/i386/tm-nbsd.h: Include solib.h.

21 years ago* configure.tgt (i[3456]86-*-netbsdelf*): Merge with...
thorpej [Mon, 2 Sep 2002 17:24:50 +0000 (17:24 +0000)]
* configure.tgt (i[3456]86-*-netbsdelf*): Merge with...
(i[3456]86-*-netbsd*): ...this.  Set gdb_target to nbsd.
(i[3456]86-*-openbsd*): Make this a separate entry.  Add a
comment noting that this needs its own target configuration.
* config/i386/nbsd.mt: New file.
* config/i386/nbsdaout.mt: Remove.
* config/i386/nbsdelf.mt: Ditto.
* config/i386/tm-nbsdaout.h: Ditto.

21 years agoAdd EXTERN references to __ctbpm __gp and __ep.
nickc [Mon, 2 Sep 2002 17:03:29 +0000 (17:03 +0000)]
Add EXTERN references to __ctbpm __gp and __ep.
Define TEMPLATE_NAME.
Revert bogus change to ldexp.c

21 years ago* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function.
thorpej [Mon, 2 Sep 2002 16:35:14 +0000 (16:35 +0000)]
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function.
(i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset.
(i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or
tdep->sigtramp_end.
(i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): Remove.
* config/i386/tm-nbsd.h (SIGTRAMP_START, SIGTRAMP_END)
(i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove.

21 years agoFix PROVIDE
nickc [Mon, 2 Sep 2002 14:46:56 +0000 (14:46 +0000)]
Fix PROVIDE

21 years agoUse helpful names instead of cryptically overloaded bfd_reloc error codes.
nickc [Mon, 2 Sep 2002 14:23:43 +0000 (14:23 +0000)]
Use helpful names instead of cryptically overloaded bfd_reloc error codes.
Replace caching of external symbols with caching of internal symbols obtained
from calling bfd_elf_get_elf_syms().
Fixup problems with freeing cached allocated memory blocks.

21 years agoProvide alternative definition of AC_PROG_CXX which does not call
nickc [Mon, 2 Sep 2002 11:53:24 +0000 (11:53 +0000)]
Provide alternative definition of AC_PROG_CXX which does not call
AC_PROG_CXX_WORKS.  This allows dejagnu to be configured and built
without a working C++ compiler.

21 years ago * cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove.
amodra [Mon, 2 Sep 2002 11:52:01 +0000 (11:52 +0000)]
* cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove.
(bfd_pj_arch): Use bfd_default_scan.
* cpu-v850.c (scan): Remove.
(N): Use bfd_default_scan.
* cpu-z8k.c (scan_mach): Remove.
(arch_info_struct, bfd_z8k_arch): Reorganize so that the default is
first.  Use bfd_default_scan.

21 years ago * ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
amodra [Mon, 2 Sep 2002 11:47:41 +0000 (11:47 +0000)]
* ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
bfd_mach constants.
(ecoff_get_magic): Likewise.
* elf32-v850.c (v850_elf_object_p): Likewise.
(v850_elf_final_write_processing): Likewise.
* mipsbsd.c (MY(set_arch_mach)): Likewise.
(MY(write_object_contents)): Likewise.
* coff64-rs6000.c (xcoff64_write_object_contents): Likewise.
* coffcode.h (coff_write_object_contents): Likewise.
(coff_set_arch_mach_hook): Add comment describing machine == 0.
Remove unnecessary "machine" assignments.
(coff_write_relocs): Test for the absolute section sym by testing
section and flags.

* pdp11.c (NAME(aout,machine_type)): Like aoutx.h.

21 years agoRemove redundant references to V850EA architecture.
nickc [Mon, 2 Sep 2002 11:44:39 +0000 (11:44 +0000)]
Remove redundant references to V850EA architecture.

21 years ago* dcrt0.cc (dll_crt0_1): Remove getpagesize() call.
cgf [Mon, 2 Sep 2002 06:00:58 +0000 (06:00 +0000)]
* dcrt0.cc (dll_crt0_1): Remove getpagesize() call.
* shared.cc (memory_init): Move it here.

21 years ago * arc-opc.c: Include bfd.h.
amodra [Mon, 2 Sep 2002 06:00:05 +0000 (06:00 +0000)]
* arc-opc.c: Include bfd.h.
(arc_get_opcode_mach): Subtract off base bfd_mach value.

21 years ago * aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
amodra [Mon, 2 Sep 2002 05:58:55 +0000 (05:58 +0000)]
* aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
and bfd_mach_i386_i386_intel_syntax.

21 years ago * mingwex/math/hypotl.c: Replace with version based on cephes
dannysmith [Mon, 2 Sep 2002 03:00:36 +0000 (03:00 +0000)]
* mingwex/math/hypotl.c: Replace with version based on cephes
library.

21 years ago*** empty log message ***
gdbadmin [Mon, 2 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Mon, 2 Sep 2002 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago* Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
thorpej [Sun, 1 Sep 2002 23:24:19 +0000 (23:24 +0000)]
* Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
$(i386_tdep_h), and nbsd-tdep.h to dependency list.
* i386-tdep.h (i386bsd_init_abi): New prototype.
* i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from
function declaration.
(_initialize_i386bsd_tdep): Don't register OS ABI handlers
for NetBSD-a.out or NetBSD-ELF.
(i386nbsd_sigtramp_start, i386nbsd_sigtramp_end)
(i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset)
(i386nbsd_init_abi, i386nbsdelf_init_abi): Move to...
* i386nbsd-tdep.c: ...here.  Include arch-utils.h, i386-tdep.h,
and nbsd-tdep.h.
(i386nbsd_pc_in_sigtramp): New function.
(i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to
i386nbsd_pc_in_sigtramp.
(_initialize_i386nbsd_tdep): Register i386nbsd_init_abi
and i386nbsdelf_init_abi OS ABI handlers.
* config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o.
* config/i386/nbsdelf.mt (TDEPFILES): Likewise.

21 years ago*** empty log message ***
kettenis [Sun, 1 Sep 2002 22:16:04 +0000 (22:16 +0000)]
*** empty log message ***

21 years ago* i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE
kettenis [Sun, 1 Sep 2002 22:05:42 +0000 (22:05 +0000)]
* i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE
registers if the target really has them.

* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
Fix some whitespace problems.

21 years ago * tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
ciceron [Sun, 1 Sep 2002 17:23:59 +0000 (17:23 +0000)]
* tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
is not displayed.

21 years ago * tui-out.c (tui_out_new): Clear start_of_line.
ciceron [Sun, 1 Sep 2002 16:12:52 +0000 (16:12 +0000)]
* tui-out.c (tui_out_new): Clear start_of_line.
* tuiSource.c (tuiVerticalSourceScroll): Use print_source_lines
to update the current source line.

21 years ago * tui-hooks.c (tui_detach_hook): New hook to know when a process dies.
ciceron [Sun, 1 Sep 2002 12:49:32 +0000 (12:49 +0000)]
* tui-hooks.c (tui_detach_hook): New hook to know when a process dies.
(tui_install_hooks): Install it.
(tui_remove_hooks): Remove it.

21 years ago * tuiData.h (FILE_PREFIX): Don't define.
ciceron [Sun, 1 Sep 2002 10:48:59 +0000 (10:48 +0000)]
* tuiData.h (FILE_PREFIX): Don't define.
(blankStr, locationStr, breakStr): Don't declare.
(breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Likewise.
(displayableWinContentOf, displayableWinContentAt): Likewise.
(winElementHeight, winByName, freeAllWindows): Likewise.

* tuiData.c (blankStr, locationStr, breakStr): Remove.
(breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Remove.
(displayableWinContentOf, displayableWinContentAt): Remove.
(winElementHeight, winByName, freeAllWindows): Remove.

21 years ago * tuiStack.c (tui_make_status_line): New function to create the
ciceron [Sun, 1 Sep 2002 10:20:48 +0000 (10:20 +0000)]
* tuiStack.c (tui_make_status_line): New function to create the
status line.
(tuiShowLocatorContent): Use it instead of displayableWinContentAt.
* tuiData.h (PROC_PREFIX): Use "In:" to reduce length of prefix.
(PC_PREFIX): Use upper case.
(SINGLE_KEY, MIN_LINE_WIDTH, MIN_PROC_WIDTH): Define.
(MAX_TARGET_WIDTH, MAX_PID_WIDTH): Define.

21 years ago * gdb.texinfo (TUI Overview): Document breakpoint markers.
ciceron [Sun, 1 Sep 2002 08:52:36 +0000 (08:52 +0000)]
* gdb.texinfo (TUI Overview): Document breakpoint markers.

21 years ago * gdb.texinfo (TUI Single Key Mode): Document new SingleKey mode.
ciceron [Sun, 1 Sep 2002 08:39:48 +0000 (08:39 +0000)]
* gdb.texinfo (TUI Single Key Mode): Document new SingleKey mode.
(TUI Keys): Likewise.

21 years agodaily update
amodra [Sun, 1 Sep 2002 00:00:07 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sun, 1 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
thorpej [Sat, 31 Aug 2002 22:47:41 +0000 (22:47 +0000)]
* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
than nbsd-tdep.h.

(ChangeLog check-in missed in previous commit.)

21 years ago* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
thorpej [Sat, 31 Aug 2002 22:46:20 +0000 (22:46 +0000)]
* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
than nbsd-tdep.h.

21 years ago* Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependency
thorpej [Sat, 31 Aug 2002 22:43:38 +0000 (22:43 +0000)]
* Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependency
list.
* alphanbsd-tdep.c (alphanbsd_sigcontext_addr)
(alphanbsd_skip_sigtramp_frame): New functions.
(alphanbsd_init_abi): Set tdep->skip_sigtramp_frame to
alphanbsd_skip_sigtramp_frame.  Set tdep->sigcontext_addr
to alphanbsd_sigcontext_addr.

21 years ago* Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependency
thorpej [Sat, 31 Aug 2002 20:28:36 +0000 (20:28 +0000)]
* Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependency
list.
(nbsd-tdep.o): Add $(gdb_string_h) to dependency list.
* alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): Use
nbsd_pc_in_sigtramp.
* mipsnbsd-tdep.c: Include nbsd-tdep.h.
(mipsnbsd_pc_in_sigtramp): Use nbsd_pc_in_sigtramp.
* nbsd-tdep.c: Include gdb_string.h.
(nbsd_pc_in_sigtramp): New function.
* nbsd-tdep.h (nbsd_pc_in_sigtramp): New prototype.
* ppcnbsd-tdep.c (ppcnbsd_pc_in_sigtramp): New function.
(ppcnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
ppcnbsd_pc_in_sigtramp.
* shnbsd-tdep.c (shnbsd_pc_in_sigtramp): New function.
(shnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
shnbsd_pc_in_sigtramp.
* sparcnbsd-tdep.c (sparcnbsd_init_abi_elf): Set
gdbarch_pc_in_sigtramp to nbsd_pc_in_sigtramp.
* config/mips/nbsd.mt (TDEPFILES): Add nbsd-tdep.o.

21 years ago * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
hp [Sat, 31 Aug 2002 18:51:07 +0000 (18:51 +0000)]
* read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
ATTRIBUTE_UNUSED.

21 years ago * ld-mmix/bpo-10.d: Tweak for change in symbols handling.
hp [Sat, 31 Aug 2002 17:23:58 +0000 (17:23 +0000)]
* ld-mmix/bpo-10.d: Tweak for change in symbols handling.
* ld-mmix/bpo-11.d: Ditto.

* ld-mmix/b-nosym.d: Adjust for changed output for absence of
symbols.

* ld-mmix/sec-7m.d: Rename tested section from .debug_info to
.di.
* ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s,
ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto.

21 years ago* fhandler_proc.cc: Add <sys/param.h> include.
cgf [Sat, 31 Aug 2002 16:37:51 +0000 (16:37 +0000)]
* fhandler_proc.cc: Add <sys/param.h> include.
(format_proc_uptime): Use KernelTime and UserTime only as they include the
other counters.
(format_proc_stat): KernelTime includes IdleTime, so subtract IdleTime from
KernelTime.  Make number of 'jiffies' per second same as HZ define.
* fhandler_process.cc: Add <sys/param.h> include.
(format_process_stat): Make number of 'jiffies' per second same as HZ define.
Use KernelTime and UserTime only to calculate start_time.

21 years ago * tuiSourceWin.h (tuiUpdateAllExecInfos): Don't declare.
ciceron [Sat, 31 Aug 2002 12:25:29 +0000 (12:25 +0000)]
* tuiSourceWin.h (tuiUpdateAllExecInfos): Don't declare.
(tuiClearAllExecInfosContent): Likewise.
(tuiEraseAllExecInfosContent): Ditto.
(tuiUpdateSourceWindowsFromLocator): Ditto.
* tuiSourceWin.c (tuiUpdateAllExecInfos): Remove.
* tui.h (tui_vCheckDataValues): Don't declare.
(tui_vStartNewLines, tui_vAllSetHasBreakAt): Likewise.
(tui_vUpdateLocatorFilename, tui_vUpdateSourceWindowsWithAddr): Ditto.
(tui_vShowFrameInfo): Ditto.

21 years ago2002-08-31 Stephane Carrez <stcarrez@nerim.fr>
ciceron [Sat, 31 Aug 2002 12:02:13 +0000 (12:02 +0000)]
2002-08-31  Stephane Carrez  <stcarrez@nerim.fr>

* tui.c (tui_commands): Table of single key commands.
(tui_rl_command_key): New function to execute gdb command.
(tui_rl_command_mode): New function to temporarily leave SingleKey.
(tui_rl_next_keymap): New function to enter/leave the SingleKey mode.
(tui_rl_startup_hook): New function to avoid prompt display by
readline functions.
(tui_set_key_mode): New function to set the key mode and install
the readline keymap.
(tui_initialize_readline): Create TUI SingleKey readline map.
(tui_enable): Install rl_startup_hook.
(tui_disable): Remove it.
* tui.h (enum tui_key_mode): Declare.
(tui_set_key_mode, tui_current_key_mode): Declare.
* tuiIO.c (tui_redisplay_readline): Don't display the prompt in
SingleKey mode.
* tuiIO.h (tui_redisplay_readline): Declare.

21 years ago* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Set "don't need
cgf [Sat, 31 Aug 2002 03:41:43 +0000 (03:41 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Set "don't need
ready for read" flag.
(fhandler_tty_slave::read): Don't do anything special with vtime when vmin ==
0.

21 years ago(inspired by a patch from Egor Duda)
cgf [Sat, 31 Aug 2002 03:35:49 +0000 (03:35 +0000)]
(inspired by a patch from Egor Duda)
* select.cc (fhandler_tty_slave::ready_for_read): Remove.
* fhandler.h (fhandler_tty_slave::ready_for_read): Remove declaration.
* fhandler_tty.cc (fhandler_tty_slave::read): Don't do anything special with
vtime when vmin == 0.
* autoload.cc (GetConsoleWindow): Correct parameter count.

21 years ago*** empty log message ***
gdbadmin [Sat, 31 Aug 2002 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 31 Aug 2002 00:00:08 +0000 (00:00 +0000)]
daily update

21 years ago * tuiSourceWin.c (tuiSetIsExecPointAt): Redraw the previous and
ciceron [Fri, 30 Aug 2002 21:49:49 +0000 (21:49 +0000)]
* tuiSourceWin.c (tuiSetIsExecPointAt): Redraw the previous and
current line.

21 years ago * tuiSource.c (tuiSetSourceContent): Remove old breakpoint code.
ciceron [Fri, 30 Aug 2002 20:23:34 +0000 (20:23 +0000)]
* tuiSource.c (tuiSetSourceContent): Remove old breakpoint code.
(_hasBreak): Remove.
(tuiShowSource): Fix comment indentation.
(tuiSourceIsDisplayed): Likewise.
(tuiVerticalSourceScroll): Likewise.

21 years ago * tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.
ciceron [Fri, 30 Aug 2002 20:07:05 +0000 (20:07 +0000)]
* tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.
(tui_update_breakpoint_info): Declare.
(tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.

* tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Update breakpoint
information using tui_update_breakpoint_info.
(tui_update_all_breakpoint_info): New function to refresh all
execution windows.
(tui_update_breakpoint_info): New function to recompute the status
of exec info window from breakpoints.
(tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.
(tuiSetExecInfoContent): Use the exec info flags computed by
tui_update_breakpoint_info to display a short status about breakpoints.

* tuiData.h (TuiExecInfoContent): New for exec info string.
(TuiWhichElement): Use it.
(TUI_BP_ENABLED, TUI_BP_DISABLED, TUI_BP_HIT): New defines.
(TUI_BP_CONDITIONAL, TUI_BP_HARDWARE): New defines.
(TUI_BP_HIT_POS, TUI_BP_BREAK_POS, TUI_EXEC_POS): Likewise.
(TUI_EXECINFO_SIZE): Likewise.
* tuiData.c (initContentElement): Clear exec info string.

* tui-hooks.c (get_breakpoint): Remove.
(tui_event_create_breakpoint): Call tui_update_all_breakpoint_info.
(tui_event_delete_breakpoint): Likewise.
(tui_event_modify_breakpoint): Likewise.

21 years ago * bfd-in.h (align_power): Cast constants to bfd_vma type.
danglin [Fri, 30 Aug 2002 18:36:17 +0000 (18:36 +0000)]
* bfd-in.h (align_power): Cast constants to bfd_vma type.
* bfd-in2.h (align_power): Likewise.

21 years agoChristopher Faylor <cgf@redhat.com>
cgf [Fri, 30 Aug 2002 16:03:52 +0000 (16:03 +0000)]
Christopher Faylor <cgf@redhat.com>
* tty.cc (tty_list::allocate_tty): Use GetConsoleWindow, if available.  Call
FindWindow in a loop.

21 years ago* include/wincon.h: Define GetConsoleWindow(void).
cgf [Fri, 30 Aug 2002 15:58:06 +0000 (15:58 +0000)]
* include/wincon.h: Define GetConsoleWindow(void).

21 years ago* miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length
cgf [Fri, 30 Aug 2002 15:47:09 +0000 (15:47 +0000)]
* miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length
iov_len.
(check_iovec_for_write): Ditto.
* fhandler.h (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* fhandler.cc (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* syscalls.cc (_read): Delegate to readv(2).
(_write): Ditto, mutatis mutandi.
(readv): Rewrite, based on the old _read code, to use the new
fhandler_base::readv method.  Improve access mode handling and ensure all calls
reach the final strace statement.
(writev): Ditto, mutatis mutandi.
* include/sys/uio.h (struct iovec): Change field types to match SUSv3.
* winsup.h (check_iovec_for_read): New function.
(check_iovec_for_write): Ditto.
* miscfuncs.cc (check_iovec_for_read): Ditto.
(check_iovec_for_write): Ditto.

21 years ago Sigh, mbsrtowcs was still missing...
corinna [Fri, 30 Aug 2002 13:30:26 +0000 (13:30 +0000)]
Sigh, mbsrtowcs was still missing...

21 years ago * cygwin.din: Add more prototypes for new wchar functions in newlib.
corinna [Fri, 30 Aug 2002 13:01:58 +0000 (13:01 +0000)]
* cygwin.din: Add more prototypes for new wchar functions in newlib.

21 years ago * cygwin.din: Add prototypes for new wchar functions in newlib.
corinna [Fri, 30 Aug 2002 12:18:54 +0000 (12:18 +0000)]
* cygwin.din: Add prototypes for new wchar functions in newlib.
* include/cygwin/version.h: Bump API minor number.

21 years agoUpdate description to reflect D10V TS3 board.
nickc [Fri, 30 Aug 2002 11:34:39 +0000 (11:34 +0000)]
Update description to reflect D10V TS3 board.

21 years ago * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
amodra [Fri, 30 Aug 2002 08:30:41 +0000 (08:30 +0000)]
* emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".

21 years ago * v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
amodra [Fri, 30 Aug 2002 08:28:08 +0000 (08:28 +0000)]
* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.

* mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.

21 years ago * Makefile.am: Run "make dep-am".
amodra [Fri, 30 Aug 2002 08:11:43 +0000 (08:11 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

* cpu-avr.c (compatible): Don't use hard-coded mach constants.
* cpu-powerpc.c (powerpc_compatible): Likewise.
* cpu-rs6000.c (rs6000_compatible): Likewise.

21 years ago2002-08-30 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Fri, 30 Aug 2002 07:14:19 +0000 (07:14 +0000)]
2002-08-30  Pierre Muller  <muller@ics.u-strasbg.fr>

* breakpoint.c (breakpoint_init_inferior): Reset the val field of
watchpoints to NULL.
(insert_breakpoints): set val field of watchpoints if NULL.

21 years ago* symtab.c (lookup_symbol_aux): In the cases where we find a
jimb [Fri, 30 Aug 2002 03:24:00 +0000 (03:24 +0000)]
* symtab.c (lookup_symbol_aux): In the cases where we find a
minimal symbol of an appropriate name and use its address to
select a symtab to read and search, use `name' (as passed to us)
as the demangled name when searching the symtab's global and
static blocks, not the minsym's name.

21 years ago* how-api.texinfo: Remove a line from the CRLF discussion about lseek not
cgf [Fri, 30 Aug 2002 00:42:19 +0000 (00:42 +0000)]
* how-api.texinfo: Remove a line from the CRLF discussion about lseek not
working.  Answer thread safe question more simply.

21 years agodaily update
amodra [Fri, 30 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 30 Aug 2002 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * libc/sys/linux/argp: New directory.
fitzsim [Thu, 29 Aug 2002 23:53:05 +0000 (23:53 +0000)]
* libc/sys/linux/argp: New directory.
* libc/sys/linux/getopt.c: New file.
* libc/sys/linux/getopt1.c: New file.
* libc/sys/linux/getoptlong.c: Remove file.
* libc/sys/linux/include/argp.h: New file.
* libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
based on ELIX level.
(SUBDIRS): Add argp_dir.
(SUBLIBS): Add ARGP_LIB.
(ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
getopt_long.$(oext).
* libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.

21 years ago* gdb.threads/pthreads.exp: Move the portable thread compilation
jimb [Thu, 29 Aug 2002 22:36:51 +0000 (22:36 +0000)]
* gdb.threads/pthreads.exp: Move the portable thread compilation
code into a function in lib/gdb.exp, and call that from here.
* lib/gdb.exp (gdb_compile_pthreads): New function.

21 years ago * stack.c (print_frame_info_base): Always set current_source_symtab
kseitz [Thu, 29 Aug 2002 19:59:35 +0000 (19:59 +0000)]
    * stack.c (print_frame_info_base): Always set current_source_symtab
        and current_source_line.

21 years ago2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 29 Aug 2002 19:47:42 +0000 (19:47 +0000)]
2002-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/libc.texinfo: Add node reference to wide-character strings.
        * libc/string/wcstrings.tex: New file.
        * libc/string/strtok_r.c: Remove outdated advertising clause.
        * libc/string/Makefile.am (doc): Add wide-character string
        chapter to documentation.
        * libc/string/Makefile.in: Regenerated.

21 years ago2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
jjohnstn [Thu, 29 Aug 2002 19:38:24 +0000 (19:38 +0000)]
2002-08-29  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * libc/include/wchar.h: Define NULL. Define WEOF more general
        way. Declare functions in newlib manner.
        * libc/stdlib/Makefile.am: Delete wmem*.c
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/wmemchr.c: Delete.
        * libc/stdlib/wmemcmp.c: Ditto.
        * libc/stdlib/wmemcpy.c: Ditto.
        * libc/stdlib/wmemmove.c: Ditto.
        * libc/stdlib/wmemset.c: Ditto.
        * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
        * libc/string/Makefile.in: Regenerated.
        * libc/string/wcscat.c: New file derived from the NetBSD C Library.
        * libc/string/wcschr.c: Ditto.
        * libc/string/wcscmp.c: Ditto.
        * libc/string/wcscpy.c: Ditto.
        * libc/string/wcscspn.c: Ditto.
        * libc/string/wcslcat.c: Ditto.
        * libc/string/wcslcpy.c: Ditto.
        * libc/string/wcslen.c: Ditto.
        * libc/string/wcsncat.c: Ditto.
        * libc/string/wcsncmp.c: Ditto.
        * libc/string/wcsncpy.c: Ditto.
        * libc/string/wcspbrk.c: Ditto.
        * libc/string/wcsrchr.c: Ditto.
        * libc/string/wcsspn.c: Ditto.
        * libc/string/wcsstr.c: Ditto.
        * libc/string/wmemchr.c: Ditto.
        * libc/string/wmemcmp.c: Ditto.
        * libc/string/wmemcpy.c: Ditto.
        * libc/string/wmemmove.c: Ditto.
        * libc/string/wmemset.c: Ditto.

21 years ago2002-08-29 Dave Brolley <brolley@redhat.com>
brolley [Thu, 29 Aug 2002 19:27:52 +0000 (19:27 +0000)]
2002-08-29  Dave Brolley  <brolley@redhat.com>

* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.

21 years ago * linux-low.c (linux_create_inferior): Call setpgid. Return
drow [Thu, 29 Aug 2002 18:50:24 +0000 (18:50 +0000)]
    * linux-low.c (linux_create_inferior): Call setpgid.  Return
        the new PID.
        (unstopped_p, linux_signal_pid): Remove.
        (linux_target_ops): Remove linux_signal_pid.
        * remote-utils.c (putpkt, input_interrupt): Use signal_pid
        global instead of target method.
        * target.h (struct target_ops): Remove signal_pid.  Update comment
        for create_inferior.
        * server.c (signal_pid): New variable.
        (create_inferior): Set signal_pid.  Block SIGTTOU and SIGTTIN in
        gdbserver.  Set the child to be the foreground process group.
        (attach_inferior): Set signal_pid.

21 years agoMakefile.in: Add gen-zero-r0 option.
nickc [Thu, 29 Aug 2002 16:59:20 +0000 (16:59 +0000)]
Makefile.in: Add gen-zero-r0 option.
sim-main.h (GPR_SET, GPR_CLEAR): Define.
simops.c (OP_24007E0):  Sign extend the imm9 operand of a mul instruction.

21 years ago * lib/mi-support.exp (mi_gdb_test): Add global declaration for
kseitz [Thu, 29 Aug 2002 16:10:13 +0000 (16:10 +0000)]
    * lib/mi-support.exp (mi_gdb_test): Add global declaration for
        expect_out so that callers can get at it.

21 years agoRemove redundant reference to E_V850EA_ARCH.
nickc [Thu, 29 Aug 2002 15:43:47 +0000 (15:43 +0000)]
Remove redundant reference to E_V850EA_ARCH.

21 years ago2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 29 Aug 2002 15:32:07 +0000 (15:32 +0000)]
2002-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
        default locale "" is accepted for LC_CTYPE or LC_MESSAGES
        and is treated as if "C" was specified.

21 years ago * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).
brobecke [Thu, 29 Aug 2002 15:08:54 +0000 (15:08 +0000)]
    * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).

21 years ago * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).
brobecke [Thu, 29 Aug 2002 15:08:23 +0000 (15:08 +0000)]
    * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).

21 years ago * chew.c (paramstuff, outputdots, perform, bang and usage): Remove
danglin [Thu, 29 Aug 2002 14:37:19 +0000 (14:37 +0000)]
* chew.c (paramstuff, outputdots, perform, bang and usage): Remove
void from function definitions.

21 years ago * poll.cc (poll): Peek sockets ready for read to see if there's
corinna [Thu, 29 Aug 2002 09:41:00 +0000 (09:41 +0000)]
* poll.cc (poll): Peek sockets ready for read to see if there's
actually data.

21 years agoAdd v850e target
nickc [Thu, 29 Aug 2002 07:04:19 +0000 (07:04 +0000)]
Add v850e target

21 years agoAdd linker relaxation to v850 toolchain
nickc [Thu, 29 Aug 2002 06:49:33 +0000 (06:49 +0000)]
Add linker relaxation to v850 toolchain

21 years ago* cygthread.cc (hthreads): Remove unneeded global.
cgf [Thu, 29 Aug 2002 03:33:50 +0000 (03:33 +0000)]
* cygthread.cc (hthreads): Remove unneeded global.
(cygthread::simplestub): New static member function.
(cygthread::runner): Don't set hthreads.
(cygthread::freerange): New member function.
(cygthread::operator new): Call freerange if all cygwin slots are used up.
(cygthread::exit_thread): Don't mess with event if freerange thread.
(cygthread::detach): Ditto.
* cygthread.h (class cygthread): Declare new member functions and variables.