OSDN Git Service

pf3gnuchains/sourceware.git
21 years ago2003-02-11 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 12 Feb 2003 04:20:58 +0000 (04:20 +0000)]
2003-02-11  Martin M. Hunt  <hunt@redhat.com>
From Mumit Khan  <khan@nanotech.wisc.edu>

* generic/tclIOUtil.c (SetFsPathFromAny): Add Cygwin specific
code to convert POSIX filename to native format.
* generic/tclFileName.c (Tcl_TranslateFileName): And remove
from here.
(TclDoGlob): Adjust.
* win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin.

21 years ago2003-02-11 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 12 Feb 2003 04:18:53 +0000 (04:18 +0000)]
2003-02-11  Martin M. Hunt  <hunt@redhat.com>

* src/Makefile.am (libgui_a_SOURCES): Remove files that
are not used in Insight. Removed xpmlib.c, tclmain.c,
tclwinfont.c, tkCanvEdge.c, tkGraphCanvas.c,
tkCanvLayout.c, tkCanvLayout.h, tclmapi.c, tclwinmode.c,
tclhelp.c, and tclgetdir.c.
* src/Makefile.in: Rebuilt.

21 years ago * generic/gdbtk-register.c (register_changed_p): If the selected
kseitz [Wed, 12 Feb 2003 00:39:46 +0000 (00:39 +0000)]
    * generic/gdbtk-register.c (register_changed_p): If the selected
        frame is NULL, do not call frame_register_read, since that will
        now cause an internal error.

21 years ago*** empty log message ***
gdbadmin [Wed, 12 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-02-12 Michal Ludvig <mludvig@suse.cz>
mludvig [Tue, 11 Feb 2003 23:09:59 +0000 (23:09 +0000)]
2003-02-12  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_extract_return_value)
(x86_64_store_return_value): Use regcache instead of regbuf.
(x86_64_gdbarch_init): Change related set_gdbarch_* functions.
* x86-64-linux-nat.c (fill_gregset): Use regcache.

21 years agodaily update
amodra [Tue, 11 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoFix spelling typo in previous delta
nickc [Tue, 11 Feb 2003 18:03:44 +0000 (18:03 +0000)]
Fix spelling typo in previous delta

21 years agoAdd new data anchors defenitions.
nickc [Tue, 11 Feb 2003 18:02:54 +0000 (18:02 +0000)]
Add new data anchors defenitions.

21 years ago2003-02-11 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 11 Feb 2003 16:11:15 +0000 (16:11 +0000)]
2003-02-11  Andrew Cagney  <ac131313@redhat.com>

* acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
TCL_LD_SEARCH_FLAGS.

21 years ago2003-02-10 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 11 Feb 2003 16:08:38 +0000 (16:08 +0000)]
2003-02-10  Andrew Cagney  <ac131313@redhat.com>

* generic/gdbtk-varobj.c (gdb_variable_command): Ditto for
`commands'.
(variable_type): Ditto for `first'.
(variable_obj_command): Ditto.
(variable_create): Ditto for create_options.
(variable_type): Ditto for `last'.  Use `string' and not `first'
when modifying the buffer.
(struct disassembly_client_data ): Ditto for `asm_argv'
* generic/gdbtk-register.c (gdb_register_info): Ditto for
`commands'.
* generic/gdbtk-hooks.c (tk_command_loop): Ditto for `msg'.
* generic/gdbtk-cmds.c (gdb_search): Ditto for `switches'.
(gdbtk_load_source): Ditto for `text_argv'.
(struct disassembly_client_data ): Ditto for `source_argv'.
(gdbtk_load_asm): Ditto for `text_argv'.
(struct disassembly_client_data ): Ditto for `asm_argv'
(gdb_loadfile): Ditto for `text_argv'.
* generic/gdbtk.c (TclDebug): Make `v' a constant pointer.
(gdbtk_init): Ditto for `old_chain', `src_path', `msg', and
`lib_path'.

21 years ago(get_multilibs): Don't use the first argument passed to this function as the
nickc [Tue, 11 Feb 2003 13:51:32 +0000 (13:51 +0000)]
(get_multilibs): Don't use the first argument passed to this function as the
multilib option unless it is in fact a multilib option.

21 years agoAdd support for configuring *-*-kaos targets.
nickc [Tue, 11 Feb 2003 13:47:06 +0000 (13:47 +0000)]
Add support for configuring *-*-kaos targets.

21 years ago * elf64-ppc.c (ppc64_elf_check_relocs): Match versioned
amodra [Tue, 11 Feb 2003 03:02:45 +0000 (03:02 +0000)]
* elf64-ppc.c (ppc64_elf_check_relocs): Match versioned
.__tls_get_addr too.
(ppc64_elf_tls_setup): Ensure cached tls_get_addr is not indirect.

21 years ago * hppaelf.em (group_size): Change default back to 1.
danglin [Tue, 11 Feb 2003 02:20:29 +0000 (02:20 +0000)]
* hppaelf.em (group_size): Change default back to 1.

21 years ago*** empty log message ***
gdbadmin [Tue, 11 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * include/math.h: Remove _CRTIMP from pow() prototype,
dannysmith [Mon, 10 Feb 2003 23:56:03 +0000 (23:56 +0000)]
* include/math.h: Remove _CRTIMP from pow() prototype,
unless __NO_ISOCEXT.

21 years agodaily update
amodra [Mon, 10 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago* include/cygwin/in.h (in_attr_t): Define new type.
cgf [Mon, 10 Feb 2003 22:43:28 +0000 (22:43 +0000)]
* include/cygwin/in.h (in_attr_t): Define new type.
* include/arpa/inet.h (inet_addr): Change return type to in_addr_t.
(inet_lnaof): Ditto.
(inet_netof): Ditto.
(inet_network): Ditto.
* include/cygwin/types.h: Move many *_t typedefs here.  Protect them with
ifdefs.
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Change ntsec_atts to
mode_t.
* security.cc (get_attribute_from_acl): Accept mode_t attribute.
(get_nt_attribute): Ditto.
(get_file_attribute): Ditto.
(get_nt_object_attribute): Ditto.
(get_object_attribute): Ditto.
* security.h: Reflect above changes.
* syscalls.cc (chown_worker): Change attrib to mode_t.

21 years ago * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
dannysmith [Mon, 10 Feb 2003 22:38:36 +0000 (22:38 +0000)]
* mingwex/math/cephes_emath.h: Don't redefine INFINITY.

21 years ago * ld-sh/tlstpoff-1.d: New.
kkojima [Mon, 10 Feb 2003 22:19:25 +0000 (22:19 +0000)]
* ld-sh/tlstpoff-1.d: New.
* ld-sh/tlstpoff-2.d: New.
* ld-sh/tlstpoff1.s: New.
* ld-sh/tlstpoff2.s: New.

21 years ago * elf32-sh.c (elf_sh_dyn_relocs): Add tls_tpoff32 field.
kkojima [Mon, 10 Feb 2003 22:17:17 +0000 (22:17 +0000)]
* elf32-sh.c (elf_sh_dyn_relocs): Add tls_tpoff32 field.
(elf_sh_link_hash_entry): Remove tls_tpoff32 field.
(sh_elf_link_hash_newfunc): Remove the initialization of
tls_tpoff32 field.
(allocate_dynrelocs): Keep dyn_relocs if it includes the entry
for which tls_tpoff32 flag is set.
(sh_elf_relocate_section): Covert to LE only if the dyn_relocs
of the symbol includes the entry matched with the input_section
and having tls_tpoff32 flag on.  When linking statically, set
symbol index of R_SH_TLS_TPOFF32 relocation to zero if the symbol
is defined in this executable.
(sh_elf_check_relocs): Set tls_tpoff32 flag appropriately.

21 years ago* libc/include/sys/types.h: Don't define __MS_types__ for Cygwin. Don't define
cgf [Mon, 10 Feb 2003 22:13:34 +0000 (22:13 +0000)]
* libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.  Don't define
some types under cygwin.

21 years ago * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
dannysmith [Mon, 10 Feb 2003 21:13:34 +0000 (21:13 +0000)]
* include/_mingw.h (_CRTIMP): Define for __GNUC__ if
__declspec(dllimport)  supported.
(__cdecl): Define if not already defined.
(__stdcall): Likewise.
* include/dirent.h: Qualify fuctions with __cdecl.
* include/fenv.h: Likewise.
* include/inttypes.h: Likewise.
* include/assert.h: Qualify fuctions with __cdecl. Qualify
CRT dll imports with _CRTIMP.
* include/conio.h: Likewise.
* include/ctype.h: Likewise.
* include/direct.h: Likewise.
* include/dos.h: Likewise.
* include/errno.h: Likewise.
* include/float.h: Likewise.
* include/io.h: Likewise.
* include/locale.h: Likewise.
* include/malloc.h: Likewise.
* include/math.h: Likewise.
* include/mbctype.h: Likewise.
* include/mbstring.h: Likewise.
* include/process.h: Likewise.
* include/setjmp.h: Likewise.
* include/signal.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/time.h: Likewise.
* include/wchar.h: Likewise.
* include/wctype.h: Likewise.
* include/sys/stat.h: Likewise.
* include/sys/timeb.h: Likewise.
* include/sys/utime.h: Likewise.

* include/ctype.h: Guard ctype inlines with __NO_INLINE__.
* include/wctype.h: Guard wctype inlines with __NO_INLINE__.

* include/stdio.h (__VALIST): Guard against prior definition.

21 years ago2003-02-10 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 10 Feb 2003 20:12:23 +0000 (20:12 +0000)]
2003-02-10  Martin M. Hunt  <hunt@redhat.com>
* library/browserwin.itb: Set textbackground option to
$::Colors(textbg) instead of "white".

21 years ago2003-02-10 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 10 Feb 2003 20:10:56 +0000 (20:10 +0000)]
2003-02-10  Martin M. Hunt  <hunt@redhat.com>

* library/interface.tcl (gdbtk_attach_native): Don't force the user
to choose an exec file when attaching.

* library/attachdlg.itb: Some fixes to work with latest iwidgets.

21 years ago2003-02-07 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 10 Feb 2003 18:37:50 +0000 (18:37 +0000)]
2003-02-07  Martin M. Hunt  <hunt@redhat.com>

* win/tcl.m4 (SC_CONFIG_CFLAGS): Don't default to -O.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't default to -O.
CFLAGS gets set to "-O2" by default in top level
configure. Adding "-O" here causes the "-O2" to be
ignored, but only when the user types "make" within
the tcl subdirectory. This caused some confusion.
* win/configure: Rebuilt.
* unix/configure: Rebuilt.

21 years ago * include/w32api.h: Increment version to 2.3.
earnie [Mon, 10 Feb 2003 14:14:01 +0000 (14:14 +0000)]
* include/w32api.h: Increment version to 2.3.
* Makefile.in: Ditto.

21 years ago * elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUE
jakub [Mon, 10 Feb 2003 13:22:12 +0000 (13:22 +0000)]
* elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUE
even if there is just non-empty .rela.plt.

21 years ago* dwarf2cfi.c: Reindented.
mludvig [Mon, 10 Feb 2003 11:50:19 +0000 (11:50 +0000)]
* dwarf2cfi.c: Reindented.

21 years agoAdd function to set machine number based on flags in header.
nickc [Mon, 10 Feb 2003 11:21:19 +0000 (11:21 +0000)]
Add function to set machine number based on flags in header.

21 years agoAdd support for marking ARM ELF binaries as support the Cirrus EP9312 Maverick
nickc [Mon, 10 Feb 2003 10:44:46 +0000 (10:44 +0000)]
Add support for marking ARM ELF binaries as support the Cirrus EP9312 Maverick
floating point co-processor.

21 years ago2003-02-10 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 10 Feb 2003 09:47:51 +0000 (09:47 +0000)]
2003-02-10  Martin M. Hunt  <hunt@redhat.com>

* library/prefs.tcl (pref_set_defaults): Remove prefs
gdb/browser/width, gdb/browser/top_height, gdb/browser/view_height,
gdb/browser/view_is_open. Add gdb/browser/layout.

* library/browserwin.ith: Update declarations to match
changes in browserwin.itb.

* library/browserwin.itb (constructor): Don't set toplevel
bindings. Set _layout from prefs.
(destructor): Don't check $resize_after. Don't save view_is_open.
(_build_win): Create a popup menu and bind to button 3.
Split the rest into 4 functions; _build_file_frame,
_build_filter_frame, _build_function_frame, and _build_view_frame.
Pack these 4 frames according to $_layout.
(_toggle_more): Deleted.
(_bind_toplevel): Deleted.
(_do_resize): Deleted.
(_resize): Deleted.
(_fill_source): Always fill because source is always visible.
(_fill_funcs_combo): Limit width of combo to 40 chars.
(_build_filter_frame): New function.
(_build_file_frame): New function.
(_build_function_frame): New function.
(_build_view_frame): New function.
(_switch_layout): New function. Toggle between layouts.

* library/tclIndex: Rebuilt.

* library/help/browser.html: Rewrite.

21 years ago2003-02-10 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 10 Feb 2003 09:21:39 +0000 (09:21 +0000)]
2003-02-10  Martin M. Hunt  <hunt@redhat.com>

* library/balloon.tcl (Balloon): Don't bind MB 3.

21 years ago*** empty log message ***
gdbadmin [Mon, 10 Feb 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * elf64-ppc.c: Rename assorted occurrences of tls_type and similar
amodra [Sun, 9 Feb 2003 23:17:57 +0000 (23:17 +0000)]
* elf64-ppc.c: Rename assorted occurrences of tls_type and similar
variables, structure fields or function params to tls_mask or
similar to better reflect usage.
(struct got_entry): Comment.
(struct ppc_link_hash_entry):  Expand comment, and renumber TLS_*.
(get_tls_mask): Rename from get_tls_type.

21 years agodaily update
amodra [Sun, 9 Feb 2003 23:00:15 +0000 (23:00 +0000)]
daily update

21 years ago * include/GL/gl.h: Remove include of glext.h.
earnie [Sun, 9 Feb 2003 14:04:56 +0000 (14:04 +0000)]
* include/GL/gl.h: Remove include of glext.h.
Thanks to Greg Couch <gregcouch@users.sf.net>

21 years ago * include/secext.h: New file. Declare EXTENDED_NAME_FORMAT.
earnie [Sun, 9 Feb 2003 14:02:30 +0000 (14:02 +0000)]
* include/secext.h: New file. Declare EXTENDED_NAME_FORMAT.
* include/security.h: Include secext.h.
* include/winbase.h: Declare COMPUTER_NAME_FORMAT.
Thanks to Dimitri Papadopoulos <dimitri_at@users.sf.net>

21 years ago * lib/ddk/ntoskrnl.def (Ke386IoSetAccessProcess): Activate export.
earnie [Sun, 9 Feb 2003 13:25:36 +0000 (13:25 +0000)]
* lib/ddk/ntoskrnl.def (Ke386IoSetAccessProcess): Activate export.
(Ke386QueryToAccessMap): Ditto.
(Ke386SetIoAccessMap): Ditto.
Thanks to Marcel Telka <telka@users.sf.net>

21 years ago2003-02-09 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 9 Feb 2003 10:47:37 +0000 (10:47 +0000)]
2003-02-09  Andrew Cagney  <ac131313@redhat.com>

* interps.c (clear_interpreter_hooks): Convert function definition
to ISO C.

Index: mi/ChangeLog
2003-02-09  Andrew Cagney  <ac131313@redhat.com>

* mi-interp.c (mi_remove_notify_hooks): Convert function
definition to ISO C.

21 years ago * ld-powerpc/tlslib.s: Give .__tls_get_addr function type.
amodra [Sun, 9 Feb 2003 04:37:04 +0000 (04:37 +0000)]
* ld-powerpc/tlslib.s: Give .__tls_get_addr function type.
* ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var
in dynamic lib.
* ld-powerpc/tlsexe.g: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexe.t: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsexetoc.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsexetoc.t: Likewise.

21 years ago * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
amodra [Sun, 9 Feb 2003 04:36:44 +0000 (04:36 +0000)]
* emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.

21 years ago * elf64-ppc.c (TLS_GD_LD): Don't define..
amodra [Sun, 9 Feb 2003 04:36:23 +0000 (04:36 +0000)]
* elf64-ppc.c (TLS_GD_LD): Don't define..
(TLS_GD): ..define this instead and update all uses.
(TLS_TPRELGD): Define.
(ppc64_elf_link_hash_table_create): Tweak initialization of
init_refcount and init_offset.
(ppc64_elf_check_relocs): Add one extra element to t_symndx array.
Mark second slot of GD or LD toc entries.
(get_tls_type): Return an int.  Distinguish toc GD and LD entries
from other tls types.
(ppc64_elf_tls_setup): New function, split out from..
(ppc64_elf_tls_optimize): ..here.  Don't optimize when symbols are
defined in a dynamic object.  Fix LD optimization.  Don't set TLS_TPREL
on GD->IE optimization, use TLS_TPRELGD instead.  Use get_tls_type
return value to properly decide whether toc GD and LD entries can
optimize away __tls_get_addr call.  Check next reloc after DTPMOD64
to determine GD or LD rather than looking at TLS_LD flag.  Don't
attempt to adjust got entry tls_type here..
(allocate_dynrelocs): ..instead, adjust got entry tls_type here, and
look for possible merges.
(ppc64_elf_size_dynamic_sections): Adjust local got entries for
optimization.
(ppc64_elf_size_stubs): Tweak __tls_get_addr fudge.
(ppc64_elf_relocate_section): Rename some vars to better reflect usage.
Make use of return value from get_tls_type to properly detect GD and
LD optimizations.  Split tlsld/gd hi/ha from lo/ds case.  Don't
handle tls_get_addr removal when looking at REL24 relocs, do it when
looking at the previous reloc.  Check reloc after DTPMOD64 to determine
GD or LD.
* elf64-ppc.h (ppc64_elf_tls_setup): Declare.

21 years ago*** empty log message ***
gdbadmin [Sun, 9 Feb 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 8 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agoclarify
cgf [Sat, 8 Feb 2003 17:13:46 +0000 (17:13 +0000)]
clarify

21 years agogas/
rsandifo [Sat, 8 Feb 2003 17:05:54 +0000 (17:05 +0000)]
gas/
* config/tc-mips.c (reloc_needs_lo_p): New function.
(fixup_has_matching_lo_p): New function.
(append_insn): Use reloc_needs_lo_p to check whether a relocation
might need a matching %lo().  Reuse the head of mips_hi_fixup_list
if that fixup already has a matching %lo().  Don't call frag_wane here.
(macro): Call frag_wane here if the last unmatched hi was in the
current frag.
(pic_need_relax): New function, split out from...
(md_estimate_size_before_relax): ...here.
(mips_frob_file): Use reloc_needs_lo_p.  Use pic_need_relax to test
whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.

gas/testsuite/
* gas/mips/rel12.[sd], gas/mips/rel13.[sd]: New tests.
* gas/mips/mips.exp: Run them.

21 years ago* include/cygwin/version.h: Bump DLL minor number.
cgf [Sat, 8 Feb 2003 17:03:34 +0000 (17:03 +0000)]
* include/cygwin/version.h: Bump DLL minor number.
* malloc.cc (DEFAULT_MMAP_THRESHOLD): Bump down to 16MB thanks to below
changes.

21 years ago* winsup.api/winsup.exp (ws_spawn): Tweak slightly to work with tcl 8.4.1.
cgf [Sat, 8 Feb 2003 16:46:32 +0000 (16:46 +0000)]
* winsup.api/winsup.exp (ws_spawn): Tweak slightly to work with tcl 8.4.1.

21 years ago * include/_mingw.h: Change version to 3.0
earnie [Sat, 8 Feb 2003 14:58:31 +0000 (14:58 +0000)]
* include/_mingw.h: Change version to 3.0
* Makefile.in: Ditto.

21 years ago * include/stdlib.h: Make words after #endif a comment.
earnie [Sat, 8 Feb 2003 14:30:29 +0000 (14:30 +0000)]
* include/stdlib.h: Make words after #endif a comment.

21 years ago * elf32-hppa.c (group_sections): Don't share a stub section if
amodra [Sat, 8 Feb 2003 08:18:40 +0000 (08:18 +0000)]
* elf32-hppa.c (group_sections): Don't share a stub section if
stubs are for a large section.

21 years ago2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Sat, 8 Feb 2003 04:30:58 +0000 (04:30 +0000)]
2003-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
        option to allow disabling of syscalls being supplied in newlib.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * configure.host: Add support of new configuration option and add
        -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
        * doc/aclocal.m4: Regenerated.
        * doc/configure: Ditto.
        * libc/*aclocal.m4: Ditto.
        * libc/*configure: Ditto.
        * libm/*aclocal.m4: Ditto.
        * libm/*configure: Ditto.
        * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
        is disabled.
        * libc/sys/arm/Makefile.in: Regenerated.

21 years ago2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Sat, 8 Feb 2003 04:30:22 +0000 (04:30 +0000)]
2003-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
        option to allow disabling of syscalls being supplied in newlib.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * configure.host: Add support of new configuration option and add
        -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
        * doc/aclocal.m4: Regenerated.
        * doc/configure: Ditto.
        * libc/*aclocal.m4: Ditto.
        * libc/*configure: Ditto.
        * libm/*aclocal.m4: Ditto.
        * libm/*configure: Ditto.
        * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
        is disabled.
        * libc/sys/arm/Makefile.in: Regenerated.

21 years ago2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Sat, 8 Feb 2003 04:29:09 +0000 (04:29 +0000)]
2003-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
        option to allow disabling of syscalls being supplied in newlib.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * configure.host: Add support of new configuration option and add
        -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
        * doc/aclocal.m4: Regenerated.
        * doc/configure: Ditto.
        * libc/*aclocal.m4: Ditto.
        * libc/*configure: Ditto.
        * libm/*aclocal.m4: Ditto.
        * libm/*configure: Ditto.
        * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
        is disabled.
        * libc/sys/arm/Makefile.in: Regenerated.

21 years ago* libltp/lib/parse_opts.c: Deal with C warnings.
cgf [Sat, 8 Feb 2003 02:56:48 +0000 (02:56 +0000)]
* libltp/lib/parse_opts.c: Deal with C warnings.
* winsup.api/pthread/cancel12.c: Ditto.
* winsup.api/winsup.exp: Don't use -g3.

21 years ago * elf32-hppa.c (elf32_hppa_size_stubs): Double the size left for
amodra [Sat, 8 Feb 2003 01:10:30 +0000 (01:10 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Double the size left for
stubs if !stubs_always_before_branch.

21 years ago2003-02-07 David Carlton <carlton@math.stanford.edu>
carlton [Sat, 8 Feb 2003 00:39:52 +0000 (00:39 +0000)]
2003-02-07  David Carlton  <carlton@math.stanford.edu>

* gdb_mbuild.sh: Delete extra shift after parsing '-f'.

21 years ago*** empty log message ***
gdbadmin [Sat, 8 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agoFix typo in previous entry.
kevinb [Fri, 7 Feb 2003 23:15:36 +0000 (23:15 +0000)]
Fix typo in previous entry.

21 years agoFix mips single step code for mips64 n32 and n64 targets. Adjust register
kevinb [Fri, 7 Feb 2003 23:03:08 +0000 (23:03 +0000)]
Fix mips single step code for mips64 n32 and n64 targets.  Adjust register
information.

21 years agodaily update
amodra [Fri, 7 Feb 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years agoMove ``length'' from struct main_type to struct type.
kevinb [Fri, 7 Feb 2003 21:44:00 +0000 (21:44 +0000)]
Move ``length'' from struct main_type to struct type.

21 years ago* dump_setup.cc (compar): Use case insensitive comparisons.
cgf [Fri, 7 Feb 2003 21:34:34 +0000 (21:34 +0000)]
* dump_setup.cc (compar): Use case insensitive comparisons.
(dump_setup): Calculate package_len based on already used "len".  Don't bother
with version_len.

21 years ago * dump_setup.cc (dump_setup): Compute the longest package name
corinna [Fri, 7 Feb 2003 21:11:44 +0000 (21:11 +0000)]
* dump_setup.cc (dump_setup): Compute the longest package name
and align columns properly.

21 years ago * ntsec.sgml: Add note on special names for missing user/group.
corinna [Fri, 7 Feb 2003 20:59:19 +0000 (20:59 +0000)]
* ntsec.sgml: Add note on special names for missing user/group.

21 years ago * mmap.cc (mmap_record::alloc_map): De-inline. Add offset and length
corinna [Fri, 7 Feb 2003 20:57:30 +0000 (20:57 +0000)]
* mmap.cc (mmap_record::alloc_map): De-inline.  Add offset and length
parameter.  Only protect pages actually unused currently.  Do job
of map_map() when initializing a map.
(mmap_record::map_map): Reduce functionality for the reuse case
of private anonymous mapping.
(mmap_record::fixup_map): Format change.
(list::add_record): Add offset and length parameter to call
mmap_record::alloc_map() correctly.
(mmap64): Rename `l' variable to `map_list'.  Accomodate above changes.
(munmap): Rename `l' variable to `map_list'.
(msync): Ditto.
(fhandler_disk_file::mmap): Streamline code.
(mprotect): Ditto.
(fixup_mmaps_after_fork): Rename `l' variable to `map_list'.

21 years ago2003-02-06 Martin M. Hunt <hunt@redhat.com>
hunt [Fri, 7 Feb 2003 19:51:59 +0000 (19:51 +0000)]
2003-02-06  Martin M. Hunt  <hunt@redhat.com>

* win/tcl.m4 (SC_CONFIG_CFLAGS): Don't default to -O.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't default to -O.
CFLAGS gets set to "-O2" by default in top level
configure. Adding "-O" here causes the "-O2" to be
ignored, but only when the user types "make" within
the tcl subdirectory. This caused some confusion.
* win/configure: Rebuilt.
* unix/configure: Rebuilt.

* generic/tclEnv.c (TclUnsetEnv): Cast arg to unsigned.

Import from latest tcl sources to fix a bug with
"file copy"
2003-01-25  Mo DeJong  <mdejong@users.sourceforge.net>
* win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings):
Re-implement inline ASM SEH handlers for gcc.
The esp and ebp registers are now saved on the
stack instead of in global variables so that
the code is thread safe. Add additional checks
when TCL_MEM_DEBUG is defined to be sure the
values were recovered from the stack properly.
Remove squelch_warnings functions and add
a dummy call in the handler methods to squelch
compiler warnings.
* win/tclWinReg.c: Add casts to avoid compiler
warning. Fix assignment in if expression bug.

21 years ago * hppaelf.em (group_size): Change default to -1.
danglin [Fri, 7 Feb 2003 15:55:49 +0000 (15:55 +0000)]
* hppaelf.em (group_size): Change default to -1.

21 years agoAdd duplicate entry for no-pipeline-knowledge. This will prevent the getopt
nickc [Fri, 7 Feb 2003 15:32:21 +0000 (15:32 +0000)]
Add duplicate entry for no-pipeline-knowledge.  This will prevent the getopt
package from thinking that there are any shorter abbreviations for
--no-pipeline-knowledge.

21 years ago * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
rsandifo [Fri, 7 Feb 2003 15:06:33 +0000 (15:06 +0000)]
* config/tc-mips.c (my_getSmallExpression): Rework bracket handling.

testsuite/
* gas/mips/expr1.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years agoChristopher Faylor <cgf@redhat.com>
cgf [Fri, 7 Feb 2003 15:00:56 +0000 (15:00 +0000)]
Christopher Faylor <cgf@redhat.com>
* exceptions.cc (try_to_debug): Set priority of current thread rather than the
main thread.  Make busy waiting loop less busy.  Restore priority when function
returns.

21 years agoGenerate an error message if a section cannot be found for a symbol.
nickc [Fri, 7 Feb 2003 14:27:59 +0000 (14:27 +0000)]
Generate an error message if a section cannot be found for a symbol.

21 years ago * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
jakub [Fri, 7 Feb 2003 14:21:03 +0000 (14:21 +0000)]
* genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
which already have it.  Avoid duplicates.

21 years ago * elf64-alpha.c (elf64_alpha_relax_section): Don't crash if
jakub [Fri, 7 Feb 2003 09:30:32 +0000 (09:30 +0000)]
* elf64-alpha.c (elf64_alpha_relax_section): Don't crash if
local_got_entries is NULL.

21 years ago* malloc.cc (DEFAULT_MMAP_THRESHOLD): Set high to avoid mmaps.
cgf [Fri, 7 Feb 2003 06:15:09 +0000 (06:15 +0000)]
* malloc.cc (DEFAULT_MMAP_THRESHOLD): Set high to avoid mmaps.
* pipe.cc (fhandler_pipe::close): Avoid extraneous this->.

21 years ago* pipe.cc (fhandler_pipe::close): Avoid extraneous this->.
cgf [Fri, 7 Feb 2003 05:48:58 +0000 (05:48 +0000)]
* pipe.cc (fhandler_pipe::close): Avoid extraneous this->.

21 years ago2003-02-07 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 7 Feb 2003 05:33:44 +0000 (05:33 +0000)]
2003-02-07  Andrew Cagney  <ac131313@redhat.com>

* sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
<sys/stat.h>.
* Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.

21 years ago* cygcheck.cc (common_apps): Add some more apps.
cgf [Fri, 7 Feb 2003 04:51:26 +0000 (04:51 +0000)]
* cygcheck.cc (common_apps): Add some more apps.
* path.cc (get_cygdrive): Correctly set system flag.

21 years ago2003-02-06 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 7 Feb 2003 04:49:33 +0000 (04:49 +0000)]
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (symm-nat.o): Update dependencies.
(sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
(lynx-nat.o, ia64-linux-nat.): Ditto.
* symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
"gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
* ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.

21 years ago2003-02-06 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 7 Feb 2003 04:21:33 +0000 (04:21 +0000)]
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (inflow_h): Define.
(procfs.o, inflow.o, procfs.o): Update dependencies.
* inftarg.c (child_stop): Delete extern declaration of
inferior_process_group.  Include "inflow.h".
* procfs.c (procfs_stop): Ditto.  Include "inflow.h".
* inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
* inflow.h (PROCESS_GROUP_TYPE): ... to here.  New file.
(our_process_group, inferior_process_group): Extern declarations.

21 years ago* heap.cc (heap_init): Remove debugging code.
cgf [Fri, 7 Feb 2003 04:13:41 +0000 (04:13 +0000)]
* heap.cc (heap_init): Remove debugging code.

21 years ago* configure.in: Make w32api directory optional.
cgf [Fri, 7 Feb 2003 03:45:15 +0000 (03:45 +0000)]
* configure.in: Make w32api directory optional.
* configure: Regenerate.

21 years ago2003-02-06 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 7 Feb 2003 03:23:20 +0000 (03:23 +0000)]
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* procfs.c: Include "gdb_assert.h".

21 years ago * include/locale.h: Include stddef.h for definition of NULL.
dannysmith [Fri, 7 Feb 2003 02:13:55 +0000 (02:13 +0000)]
* include/locale.h: Include stddef.h for definition of NULL.

21 years ago2003-02-06 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 7 Feb 2003 00:27:30 +0000 (00:27 +0000)]
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
* cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
* jv-typeprint.c (java_type_print_base): Ditto.
* typeprint.c (typedef_print): Eliminate STREQ.
* cli/cli-script.c (define_command, define_command): Ditto.
* main.c (captured_main): Ditto.
* values.c (lookup_internalvar): Ditto.
* utils.c (safe_strerror, parse_escape): Eliminate assignment
within `if' conditional.
* linespec.c (decode_line_2): Ditto.
* cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
(bfd_openw_with_cleanup): Ditto.

Index: mi/ChangeLog
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* mi-cmd-env.c: Include "gdb_stat.h" instead of <sys/stat.h>.

21 years ago*** empty log message ***
gdbadmin [Fri, 7 Feb 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
kettenis [Thu, 6 Feb 2003 23:20:51 +0000 (23:20 +0000)]
* x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
legacy_extract_return_value and store_return_value to
legacy_return_value.

21 years ago * elf-eh-frame.c (get_DW_EH_PE_signed): Define.
schwab [Thu, 6 Feb 2003 23:01:04 +0000 (23:01 +0000)]
* elf-eh-frame.c (get_DW_EH_PE_signed): Define.
(read_value): Add parameter is_signed, use signed extraction if
the value is signed.
(_bfd_elf_write_section_eh_frame): Pass signed flag of the
encoding to read_value.

21 years agodaily update
amodra [Thu, 6 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-06 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 6 Feb 2003 20:44:34 +0000 (20:44 +0000)]
2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* cgen-engine.h: C++ namespace cleanup.

2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* arm-semsw.cxx: Sort of regenerated.

21 years ago2003-02-06 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 6 Feb 2003 20:42:04 +0000 (20:42 +0000)]
2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* cpu/fpu/poly.h: Correct formatting of multiline inline asm.

21 years ago2003-02-06 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 6 Feb 2003 20:40:26 +0000 (20:40 +0000)]
2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* components.h (IntController ctor,dtor): C++ cleanup.

21 years agowhitespace cleanup
cgf [Thu, 6 Feb 2003 20:37:55 +0000 (20:37 +0000)]
whitespace cleanup

21 years agoSource Navigator is now on sourceforge...
kseitz [Thu, 6 Feb 2003 20:36:19 +0000 (20:36 +0000)]
Source Navigator is now on sourceforge...

        * Makefile.def: Remove "snavigator", "grep", and "db" modules.
        * Makefile.tpl: Remove "all-snavigator" and "all-grep".
        * Makefile.in: Regenerated.
        * configure.in: Remove all traces of snavigator, db, and grep.
        * configure: Regenerated.

21 years ago2003-02-06 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 6 Feb 2003 20:29:20 +0000 (20:29 +0000)]
2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* compSched.cxx (operator <<,>>): Clean up decls of these templates.
(apprx_host_time_keeper get_now): Warning cleanup.

21 years ago2003-02-06 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 6 Feb 2003 20:27:48 +0000 (20:27 +0000)]
2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* sidbusutil.h (control_register_bus word_read,write): C++ cleanup.

21 years ago2003-02-06 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 6 Feb 2003 20:27:37 +0000 (20:27 +0000)]
2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* configure.in: Look for tcl/tk 8.4 instead of 8.3.
* configure: Regenerated.

21 years ago* win32-nat.c (get_relocated_section_addrs): New function. Find section load
cgf [Thu, 6 Feb 2003 19:51:23 +0000 (19:51 +0000)]
* win32-nat.c (get_relocated_section_addrs): New function.  Find section load
addresses for symbol handling in relocated DLLs.
(solib_symbols_add): Open a bfd and call get_relocated_section_addrs.

21 years ago2003-02-06 Jason Molenda (jason-cl@molenda.com)
jsm [Thu, 6 Feb 2003 18:26:19 +0000 (18:26 +0000)]
2003-02-06  Jason Molenda  (jason-cl@molenda.com)

* gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
why the code is written that way.