OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
aoliva [Sat, 27 Jan 2001 19:22:59 +0000 (19:22 +0000)]
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.

23 years ago* ui-out.c (do_list_end): New function.
kettenis [Sat, 27 Jan 2001 17:57:53 +0000 (17:57 +0000)]
* ui-out.c (do_list_end): New function.
(make_cleanup_ui_out_list_end): New function.
* ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
* stack.c (print_frame) [UI_OUT]: Call
make_cleanup_ui_out_list_end to make sure we mark the end of the
list if we do a non-local exit.  At the end of the function,
instead of calling ui_out_list_end directly, let do_cleanups
handle it.

23 years agoRemove extraneous tab from the blank line after the most recent entry
msokolov [Sat, 27 Jan 2001 17:28:11 +0000 (17:28 +0000)]
Remove extraneous tab from the blank line after the most recent entry

23 years ago* path.cc (path_conv::check): Detect when path has symlinks.
cgf [Sat, 27 Jan 2001 15:34:38 +0000 (15:34 +0000)]
* path.cc (path_conv::check): Detect when path has symlinks.
(symlink_info::check): Remove debugging stuff.
(chdir): Use posix'ized win32 path if cd'ed to a path using symlinks.

23 years agoFix typos. Add some comments.
cgf [Sat, 27 Jan 2001 03:02:15 +0000 (03:02 +0000)]
Fix typos.  Add some comments.

23 years ago* exceptions.cc (sigreturn): Call any pending signals prior to resetting the
cgf [Sat, 27 Jan 2001 02:23:46 +0000 (02:23 +0000)]
* exceptions.cc (sigreturn): Call any pending signals prior to resetting the
signal mask so that stacked signals behave correctly.
(sigdelayed): Avoid a race where a signal could end up calling an incorrect
signal handler if two signals come in close together.

23 years ago2001-01-26 Fernando Nasser <fnasser@redhat.com>
fnasser [Sat, 27 Jan 2001 00:50:29 +0000 (00:50 +0000)]
2001-01-26  Fernando Nasser  <fnasser@redhat.com>

        * generic/gdbtk-cmds.c (gdb_clear_file): Call exec_file_clear() and
        symbol_file_clear() instead of exec_file_command() and
        symbol_file_command().
        (gdb_find_file_command): Return the proper error text.

23 years ago2001-01-26 Fernando Nasser <fnasser@redhat.com>
fnasser [Sat, 27 Jan 2001 00:43:25 +0000 (00:43 +0000)]
2001-01-26  Fernando Nasser  <fnasser@redhat.com>

        Fix double parsing of filenames passed as command line arguments
        to GDB (causes weird handling of escape characters).
        Also, remove dependencies on the CLI from libgdb.
        * call-cmds.h: Remove declaration of exec_file_command().
        * gdbcore.h: Remove declaration of exec_file_command().
        Add declarations for exec_open() and exec_file_clear().
        * symfile.h: Add declarations for symbol_file_add_main() and
        symbol_file_clear().
        * exec.c (exec_open): New function. Implements to_open for exec
        targets.
        (exec_file_clear): New function. Makes GDB forget about a previously
        specified executable file.
        (exec_file_attach): Move parsing of arguments from here ...
        (exec_file_command): ... to here.
        (init_exec_ops): Use exec_open(), not exec_file_command() to
        implement to_open for exec targets.
        * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()        with default values.  Used when the file name has already been parsed.
        (symbol_file_clear): New function. Makes GDB forget about previously
        read symbols.
        (symbol_file_command): Call the above function instead of inline code.
        * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
        "call-cmds.h".
        (captured_main): Call exec_file_attach() and symbol_file_add_main()
        instead of exec_file_command() and symbol_file_command().
        (captured_main): Add comment.
        * corefile.c: Include "symfile.h".
        (core_file_command): Call symbol_file_add_main() instead of
        symbol_file_command().
        (reopen_exec_file): Call exec_open() instead of exec_file_command().
        * infcmd.c: Include "symfile.h".
        (attach_command): Call symbol_file_add_main() instead of
        symbol_file_command().
        * infrun.c: Remove comment about the inclusion of "symfile.h",
        not any longer appropriate.
        (follow_exec): Call symbol_file_add_main() instead of
        symbol_file_command().
        * remote-es.c: Include "symfile.h".
        (es1800_load): Call symbol_file_add_main() instead of
        symbol_file_command().
        * remote-vx.c: Remove comment about the inclusion of "symfile.h",
        not any longer appropriate.
        (vx-wait): Call symbol_file_add_main() instead of
        symbol_file_command().
        * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
        instead of symbol_file_command().
        * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
        symbol_file_add_main() instead of exec_file_command() and
        symbol_file_command().
        * Makefile.in: Update dependencies.

23 years ago * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
rth [Sat, 27 Jan 2001 00:04:09 +0000 (00:04 +0000)]
    * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
        for non-default visibility.
        * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but
        delete ugly macro and replace with pretty function.

23 years ago * Apply Danny Smith patch 102275
earnie [Fri, 26 Jan 2001 21:05:19 +0000 (21:05 +0000)]
* Apply Danny Smith patch 102275
2000-11-05  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
* include/objbase.h: (COM_RIGHTS): Add definition.
(tagSTDMSHLFLAGS): add enumeration.
(CoInitializeEx): Add prototypes.
(CoGetStdMarshalEx): ditto.
(CoCreateInstanceEx): ditto.
(CoInitializeSecurity): ditto.
(CoGetCallContext): ditto.
(CoQueryProxyBlanket): ditto.
(CoSetProxyBlanket): ditto.
(CoCopyProxy): ditto.
(CoQueryClientBlanket): ditto.
(CoImpersonateClient): ditto.
(CoRevertToSelf): ditto.
(CoQueryAuthenticationServices): ditto.
(CoSwitchCallContext): ditto.
(CoGetInstanceFromFile): ditto.
(CoGetInstanceFromIStorage): ditto.
* include/objidl.h: (SOLE_AUTHENTICATION_SERVICE): Add structure.
(SOLE_AUTHENTICATION_INFO): ditto.
(EOLE_AUTHENTICATION_CAPABILITIES): Add enumeration.
(COLE_DEFAULT_PRINCIPAL): Add definition.
(COLE_DEFAULT_AUTHINFO): Ditto.
* include/rpcdce.h: (RPC_C_AUTHZ_DEFAULT): Add definition.
(RPC_PROTSEQ_VECTOR) Fix typo.
(RpcRaiseException): add DECLSPEC_NORETURN attribute.
* include/winbase.h: (FreeLibraryAndExitThread): add DECLSPEC_NORETURN
attribute.

23 years ago2001-01-24 Jeff Holcomb <jeffh@redhat.com>
jeffh [Fri, 26 Jan 2001 19:47:19 +0000 (19:47 +0000)]
2001-01-24  Jeff Holcomb  <jeffh@redhat.com>

        * remote-udi.c (udi_open): Change strdup to xstrdup.
        * thread.c (thread_apply_all_command): Change strdup to xstrdup.
        Update copyright message.
        * varobj.c (delete_variable_1): Likewise.

        * gdb_string.h: Remove declaration of strdup.  Update copyright
        message.
        * config/xm-mpw.h: Likewise.
        * config/i386/xm-i386mach.h: Likewise.
        * config/m68k/xm-apollo68b.h: Likewise.
        * config/m68k/xm-hp300bsd.h: Likewise.
        * config/rs6000/xm-rs6000.h: Likewise.
        * config/vax/xm-vaxult.h: Remove declaration of strdup.
        * config/vax/xm-vaxult2.h: Likewise.

23 years ago2001-01-26 Jeff Holcomb <jeffh@redhat.com>
jeffh [Fri, 26 Jan 2001 19:40:20 +0000 (19:40 +0000)]
2001-01-26  Jeff Holcomb  <jeffh@redhat.com>

        * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.

23 years ago * include/stdint.h: New file.
earnie [Fri, 26 Jan 2001 18:52:30 +0000 (18:52 +0000)]
* include/stdint.h: New file.

23 years ago * lib/msvcp60.def: New file
earnie [Fri, 26 Jan 2001 18:39:56 +0000 (18:39 +0000)]
* lib/msvcp60.def: New file

23 years ago* include/winnt.h: Add PTOKEN_USER.
cgf [Fri, 26 Jan 2001 16:35:16 +0000 (16:35 +0000)]
* include/winnt.h: Add PTOKEN_USER.

23 years ago * gdb.cxx (gdb::gloss_signal_handler): Extract exit value from
nsd [Fri, 26 Jan 2001 15:36:59 +0000 (15:36 +0000)]
* gdb.cxx (gdb::gloss_signal_handler): Extract exit value from
bits 8..15 of process exit signal.

23 years ago * gloss.cxx (gloss32::do_sys_exit): Pass exit value in bits 8..15
nsd [Fri, 26 Jan 2001 15:36:35 +0000 (15:36 +0000)]
* gloss.cxx (gloss32::do_sys_exit): Pass exit value in bits 8..15
of process exit signal.

23 years ago* target.c (target_xfer_memory_partial): Return -1 on failure due
jtc [Fri, 26 Jan 2001 02:30:15 +0000 (02:30 +0000)]
* target.c (target_xfer_memory_partial): Return -1 on failure due
to invalid access mode attribute.

23 years ago* libc/sys/sh/syscalls.c (_times): New.
aoliva [Fri, 26 Jan 2001 02:03:57 +0000 (02:03 +0000)]
* libc/sys/sh/syscalls.c (_times): New.

23 years ago* win32-nat.c (_initialize_core_win32): Prototype correctly.
cgf [Thu, 25 Jan 2001 22:35:01 +0000 (22:35 +0000)]
* win32-nat.c (_initialize_core_win32): Prototype correctly.

23 years ago* configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
aoliva [Thu, 25 Jan 2001 21:40:26 +0000 (21:40 +0000)]
* configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
* libc/sys/sh/syscalls.c (_gettimeofday): New.

23 years agoDJGPP config tweaks
nickc [Thu, 25 Jan 2001 21:08:10 +0000 (21:08 +0000)]
DJGPP config tweaks

23 years agoDo not abort if tcbit is still set. Issue an error message instead.
nickc [Thu, 25 Jan 2001 20:26:17 +0000 (20:26 +0000)]
Do not abort if tcbit is still set.  Issue an error message instead.
Fix compile time warnings

23 years ago2001-01-25 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 25 Jan 2001 20:17:44 +0000 (20:17 +0000)]
2001-01-25  Kazu Hirata  <kazu@hxi.com>

* bfd-in2.h: Fix formatting.
* libbfd.h: Likewise.

23 years ago2001-01-25 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 25 Jan 2001 20:12:49 +0000 (20:12 +0000)]
2001-01-25  Kazu Hirata  <kazu@hxi.com>

* chew.c: Do not output trailing whitespaces in type and
functionname.  Update copyright.

23 years ago* config/alpha/tm-fbsd.h: Update copyright.
kettenis [Thu, 25 Jan 2001 18:41:18 +0000 (18:41 +0000)]
* config/alpha/tm-fbsd.h: Update copyright.
(USE_STRUCT_CONVENTION): Define in terms of
alphabsd_use_struct_convention.
* config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
* alphafbsd-tdep.c: New file.

23 years ago2001-01-25 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 25 Jan 2001 18:29:09 +0000 (18:29 +0000)]
2001-01-25  Fernando Nasser  <fnasser@redhat.com>

* library/srcbar.itcl: New file. Implement SrcBar, a menu and toolbar
for the Source Window (code previously in srcmenubar.itcl and
srctoolbar.itcl).
* library/srcmenubar.itcl: Remove obsolete file.
* library/srctoolbar.itcl: Remove obsolete file.
* library/srcbar.tcl: Remove obsolete file.
* library/gdbmenubar.itcl (menubar_show): New method. Associate the
menu with the toplevel window.
        * library/srcwin.itb (_build_win): Use SrcBar.
* library/tclIndex: Regenerate.

23 years ago2001-01-25 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 25 Jan 2001 17:49:22 +0000 (17:49 +0000)]
2001-01-25  Fernando Nasser  <fnasser@redhat.com>

* library/srcbar.itcl: New file. Implement SrcBar, a menu and toolbar
for the Source Window (code previously in srcmenubar.itcl and
srctoolbar.itcl).
* library/srcmenubar.itcl: Remove obsolete file.
* library/srctoolbar.itcl: Remove obsolete file.
* library/srcbar.tcl: Remove obsolete file.
        * library/srcwin.itb (_build_win): Use SrcBar.
* library/tclIndex: Regenerate.

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 25 Jan 2001 16:35:05 +0000 (16:35 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

From  Martin Hunt  <hunt@cygnus.com>
* generic/gdbtk-cmds.c (gdb_set_bp_addr, gdb_set_bp): Change
strsave() to xstrdup().

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 25 Jan 2001 15:19:30 +0000 (15:19 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

* top.c (print_gdb_version): Update Copyright year.

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 25 Jan 2001 03:04:41 +0000 (03:04 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

From  Martin Hunt  <hunt@cygnus.com>
* generic/gdbtk-cmds.c (gdb_set_bp_addr, gdb_set_bp): Change
strsave() to xstrdup().

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 25 Jan 2001 03:01:37 +0000 (03:01 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

From  Martin Hunt  <hunt@cygnus.com>
* generic/gdbtk-cmds.c (gdbtk_dis_asm_read_memory): Fix call
to xfer_memory().

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 25 Jan 2001 02:57:56 +0000 (02:57 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

From Gabriel Dos Reis  <gdr@codesourcery.com>
* lib/dg.exp (dg-trim-dirname): New function.
(dg-test): Use it to rip directory-name out of file name.

23 years ago(lang_leave_overlay): Don't set lma_region when load_base is specified.
amodra [Thu, 25 Jan 2001 02:31:42 +0000 (02:31 +0000)]
(lang_leave_overlay): Don't set lma_region when load_base is specified.

23 years ago2001-01-24 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 24 Jan 2001 22:38:31 +0000 (22:38 +0000)]
2001-01-24  Kazu Hirata  <kazu@hxi.com>

* chew.c: Do not output a trailing whitespace.

23 years ago* dcache.c (dcache_write_line): Fix typo.
jtc [Wed, 24 Jan 2001 21:01:02 +0000 (21:01 +0000)]
* dcache.c (dcache_write_line): Fix typo.

* memattr.c (delete_mem_region): Replace free() with xfree().
(mem_number): Add explicit type.

* sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
(rw_common): Likewise.

23 years ago* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
aoliva [Wed, 24 Jan 2001 20:09:37 +0000 (20:09 +0000)]
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
keep at least one of build_libtool_libs or build_old_libs set to
yes.

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
fnasser [Wed, 24 Jan 2001 16:28:19 +0000 (16:28 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

        * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
        for the inferior program arguments.
        (run_command, run_no_args_command, init_infcmd)): Use accessor
        functions to set the inferior program arguments.
        * inferior.h: Add definitions to the accessor functions above.

23 years ago* interp.c (trap): Implement time.
aoliva [Wed, 24 Jan 2001 13:17:01 +0000 (13:17 +0000)]
* interp.c (trap): Implement time.

23 years agoFix swapgs instruction.
amodra [Wed, 24 Jan 2001 07:32:33 +0000 (07:32 +0000)]
Fix swapgs instruction.

23 years ago * emultempl/elf32.em: Correct spelling in comments and listed
hp [Wed, 24 Jan 2001 06:14:09 +0000 (06:14 +0000)]
* emultempl/elf32.em: Correct spelling in comments and listed
options.

23 years ago2001-01-23 H.J. Lu <hjl@gnu.org>
hjl [Wed, 24 Jan 2001 04:56:28 +0000 (04:56 +0000)]
2001-01-23  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Rebuild.

23 years agoDon't check for backslashes in file names
amodra [Wed, 24 Jan 2001 04:36:05 +0000 (04:36 +0000)]
Don't check for backslashes in file names
unless HAVE_DOS_BASED_FILE_SYSTEM is defined.

23 years ago * mmap.cc (fhandler_disk_file::mmap): Call CreateFileMapping with
corinna [Wed, 24 Jan 2001 04:00:41 +0000 (04:00 +0000)]
    * mmap.cc (fhandler_disk_file::mmap): Call CreateFileMapping with
        len != 0 only when performing an anonymous mapping.

23 years ago* stabs.c: Update copyright. Include "filenames.h".
amodra [Wed, 24 Jan 2001 02:34:07 +0000 (02:34 +0000)]
* stabs.c: Update copyright. Include "filenames.h".
(parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.

23 years ago* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
aoliva [Wed, 24 Jan 2001 02:27:02 +0000 (02:27 +0000)]
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.

23 years ago* lin-lwp.c (lin_lwp_xfer_memory): Add attrib argument.
jtc [Wed, 24 Jan 2001 00:26:46 +0000 (00:26 +0000)]
* lin-lwp.c (lin_lwp_xfer_memory): Add attrib argument.
* thread-db.c (thread_db_xfer_memory): Likewise.

23 years ago* dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
jimb [Wed, 24 Jan 2001 00:22:47 +0000 (00:22 +0000)]
* dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
Implement these correctly, using make_cv_type.

23 years ago2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 24 Jan 2001 00:12:44 +0000 (00:12 +0000)]
2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (signgam): Regress previous fix as
        it does not handle programs with extern int signgam in them.

23 years ago* exec.c (xfer_memory): Add attrib argument.
jtc [Tue, 23 Jan 2001 22:48:55 +0000 (22:48 +0000)]
* exec.c (xfer_memory): Add attrib argument.
* infptrace.c (child_xfer_memory): Likewise.
* monitor.c (monitor_xfer_memory): Likewise.
* remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
* remote-array.c (array_xfer_memory): Likewise.
* remote-bug.c (bug_xfer_memory): Likewise.
* remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
* remote-eb.c (eb_xfer_inferior_memory): Likewise.
* remote-es.c (es1800_xfer_inferior_memory): Likewise.
* remote-mips.c (mips_xfer_memory): Likewise.
* remote-mm.c (mm_xfer_inferior_memory): Likewise.
* remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
* remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
* remote-rdi.c (arm_rdi_xfer_memory): Likewise.
* remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
* remote-sds.c (sds_xfer_memory): Likewise.
* remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
* remote-st.c (st2000_xfer_inferior_memory): Likewise.
* remote-udi.c (udi_xfer_inferior_memory): Likewise.
* remote-vx.c (vx_xfer_memory): Likewise.
* remote.c (remote_xfer_memory): Likewise.
* target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
* target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.

* target.h (#include "memattr.h"): Added.
(target_ops.to_xfer_memory): Add attrib argument.

* wince.c (_initialize_inftarg): Removed call to set_dcache_state.
* dcache.h (set_dcache_state): Removed declaration.
* dcache.c (set_dcache_state): Removed definition

* dcache.c: Update module comment, as dcache is now enabled and
disabled with memory region attributes instead of by the global
variable "remotecache".  Add comment describing the interaction
between dcache and memory region attributes.
(dcache_xfer_memory): Add comment describing benefits of moving
cache writeback to a higher level.
(dcache_struct): Removed cache_has_stuff field.  This was used to
record whether the cache had been accessed in order to invalidate
it when it was disabled.  However, this is not needed because the
cache is write through and the code that enables, disables, and
deletes memory regions invalidate the cache.  Add comment which
suggests that we could be more selective and only invalidate those
cache lines containing data from those memory regions.
(dcache_invalidate): Updated.
(dcache_xfer_memory): Updated.

(dcache_alloc): Don't abort() if dcache_enabled_p is clear.
(dcache_xfer_memory): Removed code that called do_xfer_memory() to
perform a uncached transfer if dcache_enabled_p was clear.  This
function is now only called if caching is enabled for the memory
region.
(dcache_info): Always print cache info.

* target.c (do_xfer_memory): Add attrib argument.
(target_xfer_memory, target_xfer_memory_partial): Break transfer
into chunks defined by memory regions, pass region attributes to
do_xfer_memory().
* dcache.c (dcache_read_line, dcache_write_line): Likewise.

* Makefile.in (SFILES): Add memattr.c.
(COMMON_OBS): Add memattr.o.
(dcache.o): Add target.h to dependencies.
* memattr.c: New file.
* memattr.h: Likewise.

23 years ago2001-01-23 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 23 Jan 2001 22:15:01 +0000 (22:15 +0000)]
2001-01-23  Kazu Hirata  <kazu@hxi.com>

* as.c: Fix formatting.
* ehopt.c: Likewise.
* messages.c: Likewise.
* stabs.c: Likewise.
* symbols.c: Likewise.

23 years ago2001-01-23 H.J. Lu <hjl@gnu.org>
hjl [Tue, 23 Jan 2001 21:50:36 +0000 (21:50 +0000)]
2001-01-23  H.J. Lu  <hjl@gnu.org>

* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf)
is NULL or PRIV(vms_rec) is outside of the buffer.

23 years ago* simplify / robustify
fche [Tue, 23 Jan 2001 21:24:23 +0000 (21:24 +0000)]
* simplify / robustify

2001-01-23  Frank Ch. Eigler  <fche@redhat.com>

        * configrun-sid.in: Use system perlfunc, not fork/exec, to spawn
        child sid process.

23 years ago2001-01-23 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 23 Jan 2001 20:27:53 +0000 (20:27 +0000)]
2001-01-23  Kazu Hirata  <kazu@hxi.com>

* aoutx.h: Fix formatting.
* bfd.c: Likewise.
* bfd-in2.h: Likewise.
* bfd-in.h: Likewise.
* cpu-i386.c: Likewise.
* cpu-m68hc11.c: Likewise.
* dwarf2.c: Likewise.
* elf64-x86-64.c: Likewise.
* format.c: Likewise.
* freebsd.h: Likewise.
* hash.c: Likewise.
* hp300hpux.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.

23 years ago2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 23 Jan 2001 19:56:08 +0000 (19:56 +0000)]
2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (signgam): Changed to a macro refering to
        its location in the reentrant structure.

23 years ago2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 23 Jan 2001 19:49:07 +0000 (19:49 +0000)]
2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
        that suppressed . for %.0f, 0.1.  Check now looks if there
        are padding zeroes (expt) in addition to any digits (ndig) to
        print.

23 years ago* config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
jtc [Tue, 23 Jan 2001 19:45:08 +0000 (19:45 +0000)]
* config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
* config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
* config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
* gdbserver/low-sim.c (#include "defs.h"): Removed.
(mygeneric_load): Rename from generic_load.

* gdbserver/low-hppabsd.c (#include "server.h"): Added.
(#include "defs.h"): Removed.
(inferior_pid, perror_with_name): Remove declarations.
* gdbserver/low-linux.c: Likewise.
* gdbserver/low-nbsd.c: Likewise.
* gdbserver/low-sparc.c: Likewise.
* gdbserver/low-sun3.c: Likewise.

* i386-stub.c: Re-indent.
* m68k-stub.c: Re-indent.

23 years ago2001-01-23 Johan Rydberg <jrydberg@opencores.org>
jrydberg [Tue, 23 Jan 2001 18:04:06 +0000 (18:04 +0000)]
2001-01-23  Johan Rydberg  <jrydberg@opencores.org>

        * doc/rtl.texi (Expressions): Document the (index-of ...) and
        (regno ...) rtx.

23 years ago* prevent gratuitious differences in pregen updates
fche [Tue, 23 Jan 2001 17:24:53 +0000 (17:24 +0000)]
* prevent gratuitious differences in pregen updates

2001-01-23  Frank Ch. Eigler  <fche@redhat.com>

* configrun-sid.in: Generate sorted list of "load" commands.

23 years ago* cleanup
fche [Tue, 23 Jan 2001 17:04:23 +0000 (17:04 +0000)]
* cleanup

[ChangeLog]
2001-01-23  Frank Ch. Eigler  <fche@redhat.com>

* configrun-sid.in: Become a shell script.  Use "eval exec perl" hack
to divert to a perl interpreter on $PATH, instead of /usr/bin/env.

[pregen/ChangeLog]
2001-01-23  Frank Ch. Eigler  <fche@redhat.com>

* arm-pid-cygmon.conf, arm-pid-cygmon-tksm.com: Regenerated.

23 years agos/11/01/
jakub [Tue, 23 Jan 2001 13:51:03 +0000 (13:51 +0000)]
s/11/01/

23 years ago * readelf.c (process_version_sections): Check if VERDEF or VERNEED
jakub [Tue, 23 Jan 2001 13:49:37 +0000 (13:49 +0000)]
* readelf.c (process_version_sections): Check if VERDEF or VERNEED
sections are present before using them.  Remove code duplication.
(process_symbol_table): Check if VERDEF or VERNEED sections are
present before using them.

23 years ago(m32r_handle_align): Declare type of fragp.
amodra [Tue, 23 Jan 2001 13:31:06 +0000 (13:31 +0000)]
(m32r_handle_align): Declare type of fragp.

23 years agoOnly set lma_region from the default for the first section
amodra [Tue, 23 Jan 2001 11:48:28 +0000 (11:48 +0000)]
Only set lma_region from the default for the first section
of a group of overlay sections.

23 years ago2001-01-23 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 23 Jan 2001 11:45:52 +0000 (11:45 +0000)]
2001-01-23  Kazu Hirata  <kazu@hxi.com>

* coff64-rs6000.c: Fix formatting.
* coff-arm.c: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* coff-mcore.c: Likewise.
* coff-mips.c: Likewise.
* coff-pmac.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* elf32.c: Likewise.
* elf32-fr30.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i860.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-sparc.c: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elf-m10200.c: Likewise.
* elf-m10300.c: Likewise.
* elfxx-ia64.c: Likewise.

23 years ago2001-01-22 Bo Thorsen <bo@suse.de>
aj [Tue, 23 Jan 2001 10:49:50 +0000 (10:49 +0000)]
2001-01-22  Bo Thorsen  <bo@suse.de>

        * elf64-x86-64.c: Added PIC support for X86-64.
        (elf64_x86_64_link_hash_newfunc): Function added.
        (elf64_x86_64_link_hash_table_create): Likewise.
        (elf64_x86_64_check_relocs): Likewise.
        (elf64_x86_64_gc_mark_hook): Likewise.
        (elf64_x86_64_gc_sweep_hook): Likewise.
        (elf64_x86_64_adjust_dynamic_symbol): Likewise.
        (elf64_x86_64_size_dynamic_sections): Likewise.
        (elf64_x86_64_discard_copies): Likewise.
        (elf64_x86_64_finish_dynamic_symbol): Likewise.
        (elf64_x86_64_finish_dynamic_sections): Likewise.
        (elf64_x86_64_relocate_section): Add relocation of PIC sections.

23 years ago * gdbarch.sh (PARM_BOUNDARY): Define.
nsd [Mon, 22 Jan 2001 23:32:49 +0000 (23:32 +0000)]
* gdbarch.sh (PARM_BOUNDARY): Define.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.

23 years ago* path.h: Add a new constant.
cgf [Mon, 22 Jan 2001 20:36:38 +0000 (20:36 +0000)]
* path.h: Add a new constant.
* syscalls.cc (_read): Oscillate errno check.

23 years ago* include/cygwin/version.h: Bump API to reflect setlogmask.
cgf [Mon, 22 Jan 2001 20:29:19 +0000 (20:29 +0000)]
* include/cygwin/version.h: Bump API to reflect setlogmask.

23 years ago2001-01-22 Kazu Hirata <kazu@hxi.com>
kazu [Mon, 22 Jan 2001 20:24:05 +0000 (20:24 +0000)]
2001-01-22  Kazu Hirata  <kazu@hxi.com>

* config/tc-alpha.c: Fix formatting.

23 years ago* ns32k-tdep.c: #include "frame.h"
jtc [Mon, 22 Jan 2001 20:23:10 +0000 (20:23 +0000)]
* ns32k-tdep.c: #include "frame.h"
* config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore.  It
appears to have been inadvertantly removed sometime in May 1999.

* Revert 2000-11-09 changes where shared library objects were
moved from NATDEPFILES to TDEPFILES on NetBSD targets.  While
we'd like to be able to debug dynamically linked executables,
this makes it impossible to build a cross debugger on a many
hosts.

* config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
* config/i386/nbsdelf.mt: Likewise.
* config/m68k/nbsd.mt: Likewise.
* config/ns32k/nbsd.mt: Likewise.
* config/powerpc/nbsd.mt: Likewise.
* config/sparc/nbsd.mt: Likewise.
* config/sparc/nbsdelf.mt: Likewise.
* config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
* config/i386/nbsdelf.mh: Likewise.
* config/m68k/nbsd.mh: Likewise.
* config/ns32k/nbsd.mh: Likewise.
* config/powerpc/nbsd.mh: Likewise.
* config/sparc/nbsd.mh: Likewise.

23 years ago* cygwin.din: Add export for setlogmask().
cgf [Mon, 22 Jan 2001 15:55:34 +0000 (15:55 +0000)]
* cygwin.din: Add export for setlogmask().
* syslog.cc (setlogmask): New function.

23 years agoAllow Maciej to select weird --libdir options and still select
amodra [Mon, 22 Jan 2001 13:50:17 +0000 (13:50 +0000)]
Allow Maciej to select weird --libdir options and still select
tooldir correctly.

23 years agoGive credit for the last change to Philip instead of to Maciej.
aj [Mon, 22 Jan 2001 10:49:19 +0000 (10:49 +0000)]
Give credit for the last change to Philip instead of to Maciej.

23 years ago2001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
aj [Mon, 22 Jan 2001 09:41:39 +0000 (09:41 +0000)]
2001-01-21  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* Makefile.am (install-data-local): Make use of $(DESTDIR).
* Makefile.in: Regenerate.

23 years ago2001-01-20 Ben Elliston <bje@redhat.com>
bje [Sun, 21 Jan 2001 22:47:20 +0000 (22:47 +0000)]
2001-01-20  Ben Elliston  <bje@redhat.com>

* runtest.exp (usage): Replace --mail in usage output.
* doc/runtest.1: Re-document --mail option, which was erroneously
removed from this man page in 1994.

23 years ago2001-01-21 Kazu Hirata <kazu@hxi.com>
kazu [Sun, 21 Jan 2001 19:19:59 +0000 (19:19 +0000)]
2001-01-21  Kazu Hirata  <kazu@hxi.com>

* coff-a29k.c: Fix formatting.

23 years ago* mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is
kettenis [Sun, 21 Jan 2001 15:07:03 +0000 (15:07 +0000)]
* mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is
recognized (i.e. if GDB was compiled with UI_OUT, but the mi
interpreter wasn't recognized (because it wasn't compiled in).

23 years ago2001-01-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
aj [Sat, 20 Jan 2001 16:57:28 +0000 (16:57 +0000)]
2001-01-20  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* Makefile.in (ETC_SUPPORT): Add configure.texi and friends.

23 years ago2001-01-19 H.J. Lu <hjl@gnu.org>
hjl [Sat, 20 Jan 2001 06:08:35 +0000 (06:08 +0000)]
2001-01-19  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_check_relocs): Report files with bad
relocation section names.
(elf_i386_relocate_section): Report files with bad relocation
section names and return false.

23 years ago2001-01-19 Kazu Hirata <kazu@hxi.com>
kazu [Sat, 20 Jan 2001 04:23:31 +0000 (04:23 +0000)]
2001-01-19  Kazu Hirata  <kazu@hxi.com>

* config/tc-alpha.c: Fix formatting.

23 years agoClean up pattern for matching/discarding NetBSD linker output.
cagney [Fri, 19 Jan 2001 22:53:13 +0000 (22:53 +0000)]
Clean up pattern for matching/discarding NetBSD linker output.

23 years agoFix previous checkout of this:
fnasser [Fri, 19 Jan 2001 16:09:10 +0000 (16:09 +0000)]
Fix previous checkout of this:
2001-01-18  Fernando Nasser  <fnasser@redhat.com>

        * library/srctextwin.itb (_highlightAsmLine): Add missing FUNCNAME
parameter.
        (FillAssembly, FillMixed): Pass the FUNCNAME parameter that is
        needed by the above method.
        * library/srctextwin.ith (_highlightAsmLine): Add FUNCNAME parameter
to method definition.

23 years ago * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
jason [Fri, 19 Jan 2001 14:53:43 +0000 (14:53 +0000)]
    * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
        (process_one_symbol): Likewise.
        * dwarfread.c (handle_producer): Likewise.

23 years ago2001-01-19 Fernando Nasser <fnasser@redhat.com>
fnasser [Fri, 19 Jan 2001 14:24:54 +0000 (14:24 +0000)]
2001-01-19  Fernando Nasser  <fnasser@redhat.com>

* library/prefs.tcl (pref_set_defaults): Set default value of
gdb/src/top_control to place the source window controls at the top.

23 years ago2001-01-18 Kazu Hirata <kazu@hxi.com>
kazu [Fri, 19 Jan 2001 12:03:33 +0000 (12:03 +0000)]
2001-01-18  Kazu Hirata  <kazu@hxi.com>

* config/tc-alpha.c: Fix formatting.

23 years agoDrop -Wuninitialized until GDB compiles with it.
cagney [Fri, 19 Jan 2001 10:25:12 +0000 (10:25 +0000)]
Drop -Wuninitialized until GDB compiles with it.
Add list of buildable targets to the MAINTAINERS file.

23 years agoReplace STRCMP with strcmp()
cagney [Fri, 19 Jan 2001 08:01:46 +0000 (08:01 +0000)]
Replace STRCMP with strcmp()

23 years agoReplace FREEIF() with xfree().
cagney [Fri, 19 Jan 2001 05:45:16 +0000 (05:45 +0000)]
Replace FREEIF() with xfree().

23 years agoRemove redundant bit from "fa" and "da" flags
nickc [Fri, 19 Jan 2001 04:35:28 +0000 (04:35 +0000)]
Remove redundant bit from "fa" and "da" flags

23 years agoAdd new arc core numbers.
nickc [Fri, 19 Jan 2001 04:08:52 +0000 (04:08 +0000)]
Add new arc core numbers.

23 years ago2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 19 Jan 2001 01:25:13 +0000 (01:25 +0000)]
2001-01-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/arc/Makefile.am: New file.
        * libc/sys/arc/Makefile.in: Ditto.
        * libc/sys/arc/aclocal.m4: Ditto.
        * libc/sys/arc/configure: Ditto.
        * libc/sys/arc/configure.in: Ditto.
        * libc/sys/arc/crt0.S: Ditto.
        * libc/sys/arc/isatty.c: Ditto.
        * libc/sys/arc/mem-layout.c: Ditto.
        * libc/sys/arc/sbrk.c: Ditto.
        * libc/sys/arc/syscalls.c: Ditto.
        * libc/sys/arc/sys/syscall.h: Ditto.

23 years ago* symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
jimb [Thu, 18 Jan 2001 23:38:26 +0000 (23:38 +0000)]
* symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
a mangled symbol rather than recursing into lookup_symbol, since
this will just re-unmangle the name & call lookup_symbol_aux -
leading to an infinite recursion.

23 years ago2001-01-18 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 18 Jan 2001 22:37:19 +0000 (22:37 +0000)]
2001-01-18  Fernando Nasser  <fnasser@redhat.com>

        * library/srctextwin.itb (_highlightAsmLine): Add missing FUNCNAME
parameter.
        (FillAssembly, FillMixed): Pass the FUNCNAME parameter that is
        needed by the above method.
        * library/srctextwin.ith (_highlightAsmLine): Add FUNCNAME parameter
to method definition.

23 years ago* infcmd.c (print_return_value): Restore another space lost by
kettenis [Thu, 18 Jan 2001 16:11:21 +0000 (16:11 +0000)]
* infcmd.c (print_return_value): Restore another space lost by
switch to UIOUT. ``$NN='' should be ``$NN =''.

23 years ago* target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
cagney [Thu, 18 Jan 2001 15:42:22 +0000 (15:42 +0000)]
* target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
* breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
definition in parenthesis.

23 years ago * include/wchar.h: Protect prototypes only declared in the C++ STL
earnie [Thu, 18 Jan 2001 15:40:48 +0000 (15:40 +0000)]
* include/wchar.h: Protect prototypes only declared in the C++ STL
from being declared unless __cplusplus is defined.

23 years agoFrom Mark Salter, fix hw-breakpoint packet format.
cagney [Thu, 18 Jan 2001 15:29:11 +0000 (15:29 +0000)]
From Mark Salter, fix hw-breakpoint packet format.

23 years ago* configure.in (cpu_type, arch): Match i386 too.
aoliva [Thu, 18 Jan 2001 12:25:37 +0000 (12:25 +0000)]
* configure.in (cpu_type, arch): Match i386 too.
* configure: Rebuilt.

23 years ago * resource.cc (setrlimit): Support RLIMIT_NOFILE.
corinna [Thu, 18 Jan 2001 09:30:37 +0000 (09:30 +0000)]
    * resource.cc (setrlimit): Support RLIMIT_NOFILE.