OSDN Git Service

pf3gnuchains/sourceware.git
23 years ago * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
eliz [Wed, 6 Jun 2001 10:27:59 +0000 (10:27 +0000)]
* source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
* completer.c: Ditto.
* cli/cli-cmds.c (cd_command): Ditto.

23 years ago * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
amodra [Wed, 6 Jun 2001 10:24:18 +0000 (10:24 +0000)]
* i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
(cond_jump_mode, loop_jcxz_mode): Define.
(dis386_att): Add cond_jump_flag and loop_jcxz_flag as
appropriate, and 'F' suffix to loop insns.
(disx86_64_att): Likewise.
(dis386_twobyte_att): Likewise.
(print_insn_i386): Don't output addr prefix for loop, jcxz insns.
Output data size prefix for long conditional jumps.  Output cs and
ds branch hints.
(putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'.
(OP_J): Don't make PREFIX_DATA used.

23 years ago * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
amodra [Wed, 6 Jun 2001 10:23:38 +0000 (10:23 +0000)]
* config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
<JumpByte, JumpDword insn output>: Remove dead code.

23 years ago * as.c (parse_args): Correct option name "listing-lhs-width2".
amodra [Wed, 6 Jun 2001 03:42:24 +0000 (03:42 +0000)]
* as.c (parse_args): Correct option name "listing-lhs-width2".

23 years ago2001-06-05 Martin Hunt <hunt@redhat.com>
hunt [Tue, 5 Jun 2001 22:01:20 +0000 (22:01 +0000)]
2001-06-05  Martin Hunt  <hunt@redhat.com>
* generic/gdbtk.c (_initialize_gdbtk): Don't close console yet.
(gdbtk_init): Wait until after tcl/tk stuff is all initialized
to close console (on Windows) and redirect ouput.

23 years ago2001-06-05 Martin Hunt <hunt@redhat.com>
hunt [Tue, 5 Jun 2001 21:59:54 +0000 (21:59 +0000)]
2001-06-05  Martin Hunt  <hunt@redhat.com>

* library/globalpref.itb(build_win): Don't change directory
before building icon combobox.  Add debug lines.

23 years ago * fhandler_console.cc (fhandler_console::dup): Allocate space for
corinna [Tue, 5 Jun 2001 17:59:46 +0000 (17:59 +0000)]
    * fhandler_console.cc (fhandler_console::dup): Allocate space for
        savebuf on Cygwin heap.
        (fhandler_console::char_command): Ditto. Use correct values for size.

23 years ago* security.h (NTWriteEA): Change prototype.
duda [Tue, 5 Jun 2001 10:45:52 +0000 (10:45 +0000)]
* security.h (NTWriteEA): Change prototype.
* ntea.cc (NTReadEA): Don't check for global ntea setting, now
it's caller responsibility.
(NTWriteEA): Ditto.
* security.cc (get_file_attribute): Read attribute from EA only
if 'ntea' is enabled.
(set_file_attribute): Ditto.
* path.h: (class path_conv): Add members to store file system
information.
(path_conv::get_drive_type): New function.
* syscalls.cc (stat_worker): Use it.
* path.cc (path_conv::update_fs_info): New functions.
(path_conv::check): Get file system information from device where
file resides. On NTFS, try to read symlink contents from EA.
(get_symlink_ea): New function.
(set_symlink_ea): Ditto.
(symlink): Store symlink in extended attribute, if possible.

23 years ago * fhandler.cc (fhandler_disk_file::fstat): Always reset file position
corinna [Tue, 5 Jun 2001 09:21:39 +0000 (09:21 +0000)]
    * fhandler.cc (fhandler_disk_file::fstat): Always reset file position
        to original value after checking for executable magic.

23 years agooops - omitted from previous delta
nickc [Tue, 5 Jun 2001 08:31:24 +0000 (08:31 +0000)]
oops - omitted from previous delta

23 years agoDo not allow .globl to override .section
nickc [Tue, 5 Jun 2001 08:29:59 +0000 (08:29 +0000)]
Do not allow .globl to override .section

23 years agoAdd mips64*-*-linux host
nickc [Tue, 5 Jun 2001 07:35:09 +0000 (07:35 +0000)]
Add mips64*-*-linux host

23 years ago * elf32-i386.c (elf_i386_discard_copies): Rename to
amodra [Tue, 5 Jun 2001 05:51:55 +0000 (05:51 +0000)]
* elf32-i386.c (elf_i386_discard_copies): Rename to
discard_copies, and use elf_link_hash_entry arg rather than
elf_i386_link_hash_entry.
(elf_i386_link_hash_traverse): Delete.
(elf_i386_size_dynamic_sections): Adjust call to discard_copies.
Tidy sizing of dynamic sections.
(elf_i386_check_relocs <R_386_32, R_386_PC32>): Reference count
possible .plt entries.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_adjust_dynamic_symbol): Discard .plt entries for
everything with plt.refcount <= 0.

* elf32-i386.c (elf_i386_check_relocs): Don't allocate .got and
.relgot space here.
(elf_i386_gc_sweep_hook): ..and no need to deallocate here..
(elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
.rel.plt here..
(allocate_plt_and_got): ..instead do it all here.  New function.
(elf_i386_size_dynamic_sections): Allocate local .got space and
call allocate_plt_and_got.  No need to zap .relgot if not dynamic.
(bfd_elf32_bfd_final_link): Delete.  (ie. use regular final link
rather than gc variety).
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf_i386_relocate_section): Use it here and correct handling of
R_386_GOT32.  Provide section and offset for "unresolvable
relocation" error message.
(elf_i386_finish_dynamic_symbol): Correct handling of R_386_GOT32.

* elf32-i386.c (struct elf_i386_link_hash_table): Add sgot,
sgotplt, srelgot, splt, srelplt, sdynbss, srelbss fields.
(elf_i386_link_hash_table_create): Init them.
(create_got_section): New function.
(elf_i386_create_dynamic_sections): New function.
(elf_backend_create_dynamic_sections): Set to above.
(elf_i386_check_relocs): Use shortcuts from hash table rather than
calling bfd_get_section_by_name.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_finish_dynamic_sections): Likewise.

23 years ago* gdb.base/help.exp: Update pattern to exclue `print-load-map'
jimb [Tue, 5 Jun 2001 05:03:43 +0000 (05:03 +0000)]
* gdb.base/help.exp: Update pattern to exclue `print-load-map'
command.

23 years ago * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.
amodra [Tue, 5 Jun 2001 04:39:31 +0000 (04:39 +0000)]
* elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.

23 years ago* emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
dj [Tue, 5 Jun 2001 00:48:40 +0000 (00:48 +0000)]
* emultempl/pe.em (init): Reduce default stack reserve to 0x200000.

23 years ago * profile/Makefile.in (mkinstalldirs): Correct relative path.
earnie [Mon, 4 Jun 2001 20:45:30 +0000 (20:45 +0000)]
* profile/Makefile.in (mkinstalldirs): Correct relative path.

23 years ago * include/_mingw.h: Change version to 1.0.
earnie [Mon, 4 Jun 2001 20:01:09 +0000 (20:01 +0000)]
* include/_mingw.h: Change version to 1.0.
Makefile.in: Ditto.

23 years ago* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
aoliva [Mon, 4 Jun 2001 19:33:12 +0000 (19:33 +0000)]
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
with_gcc]: Use `gcc -shared' to build a shared library.

23 years ago* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
aoliva [Mon, 4 Jun 2001 19:25:10 +0000 (19:25 +0000)]
* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
archives.

23 years ago2001-06-04 H.J. Lu <hjl@gnu.org>
hjl [Mon, 4 Jun 2001 18:19:59 +0000 (18:19 +0000)]
2001-06-04  H.J. Lu  <hjl@gnu.org>

* gas/mips/mips4010.s: Add the missing ".end".
* gas/mips/mips4100.s: Likewise.
* gas/mips/mips4650.s: Likewise.
* gas/mips/sync.s: Likewise.

23 years ago * library/srcbar.itcl (constructor): Set the toolbar's initial
kseitz [Mon, 4 Jun 2001 17:19:12 +0000 (17:19 +0000)]
* library/srcbar.itcl (constructor): Set the toolbar's initial
state.

23 years ago * library/interface.tcl (gdb_update_hook): Mark as deprecated.
kseitz [Mon, 4 Jun 2001 15:49:53 +0000 (15:49 +0000)]
* library/interface.tcl (gdb_update_hook): Mark as deprecated.
(gdbtk_update): Dispatch and UpdateEvent, too.
* library/ehandler.ith (update): New event handler.
* library/gdbevent.ith (UpdateEvent): New event.
* library/gdbevent.itb (UpdateEvent::constructor): New method.
(UpdateEvent::get): New method.
* library/kod.ith (udpate): Match event handler definition.
* library/kod.itb (update): Ditto.
(build_win): Pass dummy argument to update method.
(top): Ditto.
(up): Ditto.
(set_variable): Ditto.
* library/memwin.ith (update): Match event handler definition.
* library/memwin.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
* library/process.ith (update): Match event handler definition.
* library/process.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
* library/regwin.ith (update): Match event handler definition.
* library/regwin.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
(but3): Ditto.
(unedit): Ditto.
* library/stackwin.ith (update): Match event handler definition.
* library/stackwin.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
* library/tdump.tcl (update): Match event handler definition.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
* library/variables.tcl (update): Match event handler definition.
(build_win): Pass dummy argument to update method.
* library/locals.tcl (update): Match event handler definition.
(constructor): Pass dummy argument to update method.
* library/watch.tcl (update): Match event handler definition.
Pass dummy argument to VariableWin::update.
(add): Pass dummy argument to update method.
* library/srcwin.ith (update): New method.
(update_hook_init): Remove.
* library/srcwin.itb (update): New method.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
* tclIndex: Regenerate.

23 years ago * cygheap.h (cygheap_user::cygheap_user): Initialize token to
corinna [Mon, 4 Jun 2001 14:29:54 +0000 (14:29 +0000)]
    * cygheap.h (cygheap_user::cygheap_user): Initialize token to
        INVALID_HANDLE_VALUE.
        * uinfo.cc (uinfo_init): Close token handle if needed.

23 years ago * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
eliz [Mon, 4 Jun 2001 07:53:07 +0000 (07:53 +0000)]
* mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
(mips_set_processor_type_command): Remove unused variable j.
(mips_breakpoint_from_pc): Declare breakpoint instruction
sequences as unsigned char, to avoid compiler warnings.

23 years ago * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
eliz [Mon, 4 Jun 2001 07:45:07 +0000 (07:45 +0000)]
* source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
instead of system-specific define's like _WIN32 and __MSDOS__.
Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
ROOTED_P.
(top-level): #include "filenames.h".

* solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
instead of SLASH_CHAR, ROOTED_P and SLASH_P.
(top-level): #include "filenames.h".

* defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
(SLASH_STRING): Define only for _WIN32.

* completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
__MSDOS_.

* cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P.  Replace
system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
(top-level): #include "filenames.h".

23 years ago*** empty log message ***
eliz [Mon, 4 Jun 2001 07:29:29 +0000 (07:29 +0000)]
*** empty log message ***

23 years ago * go32-nat.c (go32_wait): Change the return value to ptid_t.
eliz [Mon, 4 Jun 2001 07:29:00 +0000 (07:29 +0000)]
* go32-nat.c (go32_wait): Change the return value to ptid_t.

* config/djgpp/fnchange.lst: Add two new files in the
gdb/testsuite/gdb.c++/ directory to the remapped names.

* config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.

23 years ago* sh-opc.h (sh_table): Complete last element entry to avoid
aoliva [Mon, 4 Jun 2001 04:10:38 +0000 (04:10 +0000)]
* sh-opc.h (sh_table): Complete last element entry to avoid
compiler warning.

23 years ago* path.cc (normalize_posix_path): Revert .. check removed by previous changes.
cgf [Mon, 4 Jun 2001 01:28:09 +0000 (01:28 +0000)]
* path.cc (normalize_posix_path): Revert ..  check removed by previous changes.
* cygheap.h: Temporarily declare path_prefix_p here.

23 years ago * net.cc (wsock_event): Add destructor.
corinna [Sun, 3 Jun 2001 22:18:19 +0000 (22:18 +0000)]
    * net.cc (wsock_event): Add destructor.

23 years ago* dlfcn.cc (dlclose): Do not call FreeLibrary if the symbol to close was
cgf [Sun, 3 Jun 2001 14:13:12 +0000 (14:13 +0000)]
* dlfcn.cc (dlclose): Do not call FreeLibrary if the symbol to close was
obtained by dlopen(NULL,...).

23 years ago* syscalls.cc (sleep): Try to be a little more accomodating of signal arrival.
cgf [Sun, 3 Jun 2001 03:13:14 +0000 (03:13 +0000)]
* syscalls.cc (sleep): Try to be a little more accomodating of signal arrival.
Ensure that the signal handler is called.

23 years ago2001-06-02 H.J. Lu <hjl@gnu.org>
hjl [Sun, 3 Jun 2001 02:41:57 +0000 (02:41 +0000)]
2001-06-02  H.J. Lu  <hjl@gnu.org>

* elf32-hppa.c (elf32_hppa_object_p): Check ELFOSABI_LINUX
and ELFOSABI_HPUX.
* elf64-hppa.c (elf64_hppa_object_p): Likewise.

23 years ago* cygheap.cc (cygheap_root::cygheap_rot): Remove constructor.
cgf [Sun, 3 Jun 2001 02:31:16 +0000 (02:31 +0000)]
* cygheap.cc (cygheap_root::cygheap_rot): Remove constructor.
(cygheap_root::~cygheap_root): Remove destructor.
(cygheap_root::operator =): Remove.
(cygheap_root::set): New method.
* cygheap.h (cygheap_root): Reflect above changes.  Store root info in
mount-like structure.
(cygheap_root:posix_ok): New method.
(cygheap_root::ischroot_native): Ditto.
(cygheap_root::unchroot): Ditto.
(cygheap_root::exists): Ditto.
(cygheap_root::posix_length): Ditto.
(cygheap_root::posix_path): Ditto.
(cygheap_root::native_length): Ditto.
(cygheap_root::native_path): Ditto.
* dir.cc (opendir): Remove special chroot test.
* path.cc (path_prefix_p): Remove front end.
(normalize_posix_path): Reorganize chroot tests to accomodate new convention of
allowing paths using posix chroot prefix.
(path_conv::check): Pass a "already ran normalize" option to
conv_to_win32_path.  Return if there is an error from this function.
(mount_info::conv_to_win32_path): Add extra argument.  Don't call
normalize_posix_path if caller has already done so.  Substitute chroot setting,
if any, for root translation.  Add chroot checking to final output step.
* shared_info (mount_info): Accomodate additional argument to
conv_to_win32_path.
* syscalls.cc (chroot): Store both normalized posix path and native path in
chroot.

23 years ago2001-06-02 H.J. Lu <hjl@gnu.org>
hjl [Sat, 2 Jun 2001 19:42:40 +0000 (19:42 +0000)]
2001-06-02  H.J. Lu  <hjl@gnu.org>

* aout-cris.c (MACHTYPE_OK): New. Defined.

23 years ago * section.c (_bfd_strip_section_from_output): Handle NULL
hp [Sat, 2 Jun 2001 19:05:34 +0000 (19:05 +0000)]
* section.c (_bfd_strip_section_from_output): Handle NULL
output_section.

23 years ago2001-06-02 H.J. Lu <hjl@gnu.org>
hjl [Sat, 2 Jun 2001 18:46:13 +0000 (18:46 +0000)]
2001-06-02  H.J. Lu  <hjl@gnu.org>

* gas/sparc/unalign.d: Support Sparc V9.

23 years ago2001-06-02 H.J. Lu <hjl@gnu.org>
hjl [Sat, 2 Jun 2001 17:32:09 +0000 (17:32 +0000)]
2001-06-02  H.J. Lu  <hjl@gnu.org>

* config.bfd (powerpc-*-aix*, powerpc-*-beos*, rs6000-*-*): Add
rs6000coff64_vec only if BFD64 is defined.
(powerpc64-*-aix*): Enable only if BFD64 is defined.

23 years ago2001-06-02 H.J. Lu <hjl@gnu.org>
hjl [Sat, 2 Jun 2001 15:46:43 +0000 (15:46 +0000)]
2001-06-02  H.J. Lu  <hjl@gnu.org>

* coff-ia64.c (ia64coff_object_p): Rewrite with
external_PEI_DOS_hdr and external_PEI_IMAGE_hdr.

23 years agoExpand the gdbarch per-architecture data vector as needed, rather
jimb [Sat, 2 Jun 2001 03:50:55 +0000 (03:50 +0000)]
Expand the gdbarch per-architecture data vector as needed, rather
than requiring that all per-architecture data be registered before
the first gdbarch object is allocated.
* gdbarch.sh: Changes to effect the following:
* gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
declarations and definitions.
(check_gdbarch_data): New function, and declaration.
(gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
zero is good enough.
(free_gdbarch_data): Tolerate a null data pointer.  Free only
those data items gdbarch->data actually has allocated.
(set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
(gdbarch_update_p): No need to call init_gdbarch_data.

23 years agoMake alignment of struct arguments in inferior function calls comply with
kevinb [Sat, 2 Jun 2001 01:37:20 +0000 (01:37 +0000)]
Make alignment of struct arguments in inferior function calls comply with
the IA-64 Software Conventions and Runtime manual.

23 years ago2001-06-01 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 2 Jun 2001 00:36:20 +0000 (00:36 +0000)]
2001-06-01  Michael Snyder  <msnyder@redhat.com>

* thread.c (delete_step_resume_breakpoint): New function.
Maintain internal consistency of the thread list while deleting
a step_resume_breakpoint.
* gdbthread.h (delete_step_resume_breakpoint): Export.
* breakpoint.c (bpstat_find_step_resume_breakpoint):
Make thread-aware: don't return a step_resume_breakpoint
for the wrong thread.
* infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
instead of delete_breakpoint_current_contents.
(fetch_inferior_event): Ditto.
(handle_inferior_event): Call delete_step_resume_breakpoint
instead of delete_breakpoint.

23 years ago2001-06-01 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 1 Jun 2001 23:23:19 +0000 (23:23 +0000)]
2001-06-01  Michael Snyder  <msnyder@redhat.com>

* infrun.c (handle_inferior_event): After singlestepping over a
thread-specific breakpoint, use currently_stepping() to decide
whether to step or continue.

23 years ago* gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
jimb [Fri, 1 Jun 2001 22:22:24 +0000 (22:22 +0000)]
* gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
these static --- there's no reason other files should use these.

23 years ago* sfmt optimism fix
fche [Fri, 1 Jun 2001 21:21:30 +0000 (21:21 +0000)]
* sfmt optimism fix

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

* rtl.scm (hw): Encode hw access mode into <operand> name, since this
is required for multi-mode hw types (memory).

23 years ago* partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
jimb [Fri, 1 Jun 2001 21:17:49 +0000 (21:17 +0000)]
* partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
Fix memory leak.

23 years ago* partial-stab.h: New complaint: function_outside_compilation_unit.
jimb [Fri, 1 Jun 2001 20:37:11 +0000 (20:37 +0000)]
* partial-stab.h: New complaint: function_outside_compilation_unit.
(case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
complain, and don't try to set pst's start address.

23 years ago * library/console.itb (constructor): Pass dummy argument
kseitz [Fri, 1 Jun 2001 20:05:55 +0000 (20:05 +0000)]
* library/console.itb (constructor): Pass dummy argument
to idle method.
(destructor): Ditto.

23 years ago* path.cc (chdir): Really make sure that isspace gets only an unsigned char.
cgf [Fri, 1 Jun 2001 14:57:52 +0000 (14:57 +0000)]
* path.cc (chdir): Really make sure that isspace gets only an unsigned char.

23 years ago * syscalls.cc (_rename): Handle the case that `foo' is renamed to
corinna [Fri, 1 Jun 2001 11:53:19 +0000 (11:53 +0000)]
    * syscalls.cc (_rename): Handle the case that `foo' is renamed to
        `bar' while `bar.lnk' is an existing shortcut-symlink.

23 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
aj [Fri, 1 Jun 2001 11:52:11 +0000 (11:52 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
relocation, small reformatting.

23 years ago* MAINTAINERS: Update my email address.
amodra [Fri, 1 Jun 2001 04:21:57 +0000 (04:21 +0000)]
* MAINTAINERS: Update my email address.

23 years ago * gdb.base/annota1.exp (info break): Match four or more spaces
kevinb [Fri, 1 Jun 2001 02:50:16 +0000 (02:50 +0000)]
* gdb.base/annota1.exp (info break): Match four or more spaces
after "Address".

23 years agoPrologue scanner modifications.
kevinb [Fri, 1 Jun 2001 02:39:51 +0000 (02:39 +0000)]
Prologue scanner modifications.

23 years ago * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
kevinb [Fri, 1 Jun 2001 02:22:01 +0000 (02:22 +0000)]
* ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET):  Revise to
match the location at which the kernel is placing the sigcontext
struct.

23 years agorevert.
cgf [Fri, 1 Jun 2001 01:45:53 +0000 (01:45 +0000)]
revert.

23 years ago * library/interface.tcl (gdbtk_idle): Run hooks, too,
kseitz [Thu, 31 May 2001 22:11:26 +0000 (22:11 +0000)]
* library/interface.tcl (gdbtk_idle): Run hooks, too,
until they're all gone.

23 years ago2001-05-31 Michael Chastain <chastain@redhat.com>
chastain [Thu, 31 May 2001 22:04:42 +0000 (22:04 +0000)]
2001-05-31  Michael Chastain  <chastain@redhat.com>

* gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
(dm_type_int_star): Likewise.
(dm_type_long_star): Likewise.
(dm_type_void_star): Likewise.

23 years ago2001-05-31 H.J. Lu <hjl@gnu.org>
hjl [Thu, 31 May 2001 21:14:58 +0000 (21:14 +0000)]
2001-05-31  H.J. Lu  <hjl@gnu.org>

* ldlang.c (open_input_bfds): Don't change the bfd error
handler whilst loading symbols.

23 years agoChangeLog for the gdb_idle_hook->GDBEventHandler::idle change.
kseitz [Thu, 31 May 2001 20:35:56 +0000 (20:35 +0000)]
ChangeLog for the gdb_idle_hook->GDBEventHandler::idle change.

23 years ago * library/interface.tcl (gdb_idle_hook): Mark as deprecated.
kseitz [Thu, 31 May 2001 20:32:57 +0000 (20:32 +0000)]
* library/interface.tcl (gdb_idle_hook): Mark as deprecated.
(gdbtk_idle): Dispatch an IdleEvent. gdb_idle_hook is gone.
* library/ehandler.ith (idle): New event handler.
* library/gdbevent.ith (IdleEvent): New event.
* library/console.ith (idle): Match event handler definition.
* library/console.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/kod.ith (idle): Match event handler definition.
* library/kod.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/memwin.ith (idle): Match event handler definition.
* library/memwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/pluginwin.itcl (stopped): Rename to "idle" and
match event handler definition.
Fix misleading comments.
* library/process.ith (idle): Match event handler definition.
* library/process.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/regwin.ith (idle): Match event handler definition.
* library/regwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/srcbar.itcl (idle): New method.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/srcwin.ith (idle): Match event handler definition.
* library/srcwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/stackwin.ith (idle): Match event handler definition.
* library/stackwin.itb (idle): Ditto.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/variables.tcl (idle): Match event handler definition.
(constructor): Remove gdb_idle_hook.
(destructor): Ditto.
* library/plugins/rhabout/rhabout.itcl (stopped): Rename
to "idle" and match new event handler definition.
* library/tclIndex: Regenerated.

23 years ago* fhandler.cc (fhandler_disk_file::fstat): Avoid clearing S_IFMT bits since
cgf [Thu, 31 May 2001 19:58:59 +0000 (19:58 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Avoid clearing S_IFMT bits since
we've already pre-cleared everything anyway.

23 years agoMaintain 80 col line length.
cgf [Thu, 31 May 2001 17:35:32 +0000 (17:35 +0000)]
Maintain 80 col line length.

23 years ago * library/interface.tcl (gdb_busy_hook): Deprecate.
kseitz [Thu, 31 May 2001 15:21:39 +0000 (15:21 +0000)]
* library/interface.tcl (gdb_busy_hook): Deprecate.
(gdbtk_busy): Create and dispatch a BusyEvent instead
of running hooks.
* library/ehandler.ith (busy): New event handler.
* library/gdbevent.ith (BusyEvent): New event class.
* library/console.ith: Inherit from GDBEventHandler.
(busy): Match event handler definition.
* library/console.itb (busy): Ditto.
(constructor): Remove gdb_busy_event.
(destructor): Ditto.
* library/kod.ith (busy): Match event handler definition.
* library/kod.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/memwin.ith (busy): Match event handler definition.
* library/memwin.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/pluginwin.itcl (running): Rename to "busy" and
match event handler definition.
(consturctor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/process.ith (busy): Match event handler definition.
* library/process.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/regwin.ith (busy): Match event handler definition.
* library/regwin.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/srcbar.itcl (constructor): Remove gdb_busy_hook.
(destructor): Ditto.
(busy): New method.
* library/srcwin.ith (busy): Match event handler definition.
* library/srcwin.itb (busy): Ditto.
Only do the "busy" stuff if do_updates is set.
(toggle_updates): Remove gdb_busy_hook.
(constructor): Ditto.
(destructor): Ditto.
* library/stackwin.ith (busy): Match event handler definition.
* library/stackwin.itb (busy): Ditto.
(constructor): Remove gdb_busy_hook.
(destructor): Ditto.
* library/variables.tcl (constructor): Ditto.
(destructor): Ditto.
(disable_ui): Rename to "busy" and match event handler
definition.
* library/plugins/rhabout/rhabout.itcl (running): Rename
to "busy" and match new event handler definition.
* library/tclIndex: Regenerated.

23 years ago2001-05-31 Ben Elliston <bje@redhat.com>
bje [Thu, 31 May 2001 06:27:29 +0000 (06:27 +0000)]
2001-05-31  Ben Elliston  <bje@redhat.com>

* Makefile.am (DEJAGNUTESTS): Add idedocs.exp.
* Makefile.in: Regenerate.

23 years ago2001-05-31 Ben Elliston <bje@redhat.com>
bje [Thu, 31 May 2001 06:19:53 +0000 (06:19 +0000)]
2001-05-31  Ben Elliston  <bje@redhat.com>

* lib/docs.exp (doc_includes_component): Fail on regexp misses.
* lib/monkey.exp (monkey_test): Re-enable tests.
* sidcomp.ide/diskio.exp: Unset $contents at completion.

23 years ago* path.cc (chdir): Always send unsigned chars to isspace since newlib's isspace
cgf [Thu, 31 May 2001 05:25:45 +0000 (05:25 +0000)]
* path.cc (chdir): Always send unsigned chars to isspace since newlib's isspace
doesn't deal well with "negative" chars.
* fhandler.cc (fhandler_disk_file::open): Propagate remote status of file
garnered from path_conv.  Move #! checking to fstat.
(fhandler_disk_file::fstat): Reorganize st_mode setting to eliminate
duplication.  Move check for #! here from fhandler::open.
* fhandler.h (fhandler_base::isremote): New method.
(fhandler_base::set_isremote): Ditto.
(fhandler_base::set_execable_p): Also record "don't care if executable state".
(fhandler_base::dont_care_if_execable): New method.
* path.cc (path_conv::check): Clear new flags.  Appropriately set vol_flags,
drive_type, and is_remote_drive.
* path.h: Add new flags and methods for manipulating them.
* syscalls.cc (_unlink): Use isremote() to determine if a path is remote rather
than calling GetDriveType.
(stat_worker): Ditto.
* security.cc (get_file_attribute): Or attribute with result of NTReadEA to be
consistent with get_nt_attribute.

23 years ago* partial-stab.h: Revert previous patch.
cgf [Thu, 31 May 2001 03:41:30 +0000 (03:41 +0000)]
* partial-stab.h: Revert previous patch.

23 years ago* partial-stab.h: Consistently guard against pst being NULL.
cgf [Thu, 31 May 2001 02:58:57 +0000 (02:58 +0000)]
* partial-stab.h: Consistently guard against pst being NULL.

23 years ago * read.c (emit_leb128_expr): Call md_cons_align.
rth [Thu, 31 May 2001 00:00:29 +0000 (00:00 +0000)]
    * read.c (emit_leb128_expr): Call md_cons_align.

23 years ago2001-05-25 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 30 May 2001 22:58:36 +0000 (22:58 +0000)]
2001-05-25  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
to consume the SIGSTOP generated by PTRACE_ATTACH.
(stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
try again to get the SIGSTOP event.
(lin_lwp_wait): Resume all threads when ignoring a signal.
This will insure that newly attached threads get resumed.

23 years ago* consistency fix
fche [Wed, 30 May 2001 19:27:51 +0000 (19:27 +0000)]
* consistency fix

2001-05-30  Frank Ch. Eigler  <fche@redhat.com>

        * sidcpuutil.h (step_pin_handler): Check for triggerpoints due right
        now, before instruction evaluation loop.

23 years ago * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
aj [Wed, 30 May 2001 18:44:46 +0000 (18:44 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
(elf64_x86_64_relocate_section): Likewise.

23 years ago2001-05-25 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 30 May 2001 18:15:44 +0000 (18:15 +0000)]
2001-05-25  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.

23 years ago * elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
amodra [Wed, 30 May 2001 14:30:32 +0000 (14:30 +0000)]
* elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
millicode.  Don't allocate .got and .rela.got space here..
(elf32_hppa_gc_sweep_hook): ..and no need to deallocate here..
(elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
.rela.plt here..
(hppa_handle_PIC_calls): ..nor here..
(allocate_plt_and_got): ..instead do it all here.  New function.
(elf32_hppa_size_dynamic_sections): Allocate local .got space and
call allocate_plt_and_got.  No need to zap .got if not dynamic.
(elf32_hppa_final_link): Call regular bfd_final_link instead of
gc_common_final_link.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf32_hppa_relocate_section): Use it here.
(elf32_hppa_finish_dynamic_symbol): Remove superfluous test of
dynamic_sections_created.
(hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym.

23 years agoAdd command line switches to objcopy to provide lists of symbols in files
nickc [Wed, 30 May 2001 10:46:25 +0000 (10:46 +0000)]
Add command line switches to objcopy to provide lists of symbols in files

23 years agoNew entry "How do I print under Cygwin?"
davidsb [Wed, 30 May 2001 09:42:36 +0000 (09:42 +0000)]
New entry "How do I print under Cygwin?"

23 years agoNew entry "Where is Objective C?"
davidsb [Wed, 30 May 2001 09:26:59 +0000 (09:26 +0000)]
New entry "Where is Objective C?"

23 years agoNew entry "How do I contribute to Cygwin?"
davidsb [Wed, 30 May 2001 09:17:59 +0000 (09:17 +0000)]
New entry "How do I contribute to Cygwin?"

23 years ago * gdb.base/completion.exp (INPUTRC): Set this environment variable
kevinb [Wed, 30 May 2001 02:54:41 +0000 (02:54 +0000)]
* gdb.base/completion.exp (INPUTRC): Set this environment variable
to a known value in order to get consistent results regardless
of the setting of INPUTRC or the presence or contents of .inputrc.

23 years ago* Makefile.in: Tweak to attempt to accomodate older texi2html.
cgf [Wed, 30 May 2001 01:30:38 +0000 (01:30 +0000)]
* Makefile.in: Tweak to attempt to accomodate older texi2html.

23 years ago * sec_helper.cc (cygsid::getfrompw): Change parameter to `const'.
corinna [Tue, 29 May 2001 20:43:39 +0000 (20:43 +0000)]
    * sec_helper.cc (cygsid::getfrompw): Change parameter to `const'.
        (cygsid::getfromgr): Ditto.
        * security.cc: Use `sys_mbstowcs' and `sys_wcstombs' throughout.
        (extract_nt_dom_user): Try to get user and domain from SID in
        pw->pw_gecos first.
        * security.h (class cygsid): Change parameter of getfrompw() and
        getfromgr() to `const'.
        * uinfo.cc (internal_getlogin): Change order for evaluating user
        information in winNT case. Drop usage of NetWkstaUserGetInfo().

23 years ago* Makefile.in: Accomodate newer versions of docbook and openjade.
cgf [Tue, 29 May 2001 20:25:21 +0000 (20:25 +0000)]
* Makefile.in: Accomodate newer versions of docbook and openjade.

23 years agoAvoid NAME too long error.
cgf [Tue, 29 May 2001 20:24:51 +0000 (20:24 +0000)]
Avoid NAME too long error.

23 years agoExpand entry "why doesn't my script work"
davidsb [Tue, 29 May 2001 18:11:29 +0000 (18:11 +0000)]
Expand entry "why doesn't my script work"

23 years agoUpdate entry about PATH, now done in /etc/profile not cygwin.bat.
davidsb [Tue, 29 May 2001 15:19:25 +0000 (15:19 +0000)]
Update entry about PATH, now done in /etc/profile not cygwin.bat.
Remove entry "Where can I find 'which'" since it's included now.

23 years agoAdd pointer to google for searching list archives.
davidsb [Tue, 29 May 2001 15:00:42 +0000 (15:00 +0000)]
Add pointer to google for searching list archives.

23 years agoformatting change
trix [Tue, 29 May 2001 14:53:22 +0000 (14:53 +0000)]
formatting change

23 years agoRemove distinction between latest and contrib in list of packages.
davidsb [Tue, 29 May 2001 14:42:07 +0000 (14:42 +0000)]
Remove distinction between latest and contrib in list of packages.

23 years ago* symfile.c (compare_psymbols, compare_symbols): Declare using
aoliva [Tue, 29 May 2001 10:45:10 +0000 (10:45 +0000)]
* symfile.c (compare_psymbols, compare_symbols): Declare using
PTR, as in the definition.
* minsyms.c (compare_minimal_symbols): Likewise.
* coffread.c (find_targ_sec): Likewise.
* elfread.c (free_elfinfo, elf_locate_sections): Likewise.
* mipsread.c (alphacoff_locate_sections): Likewise.
* mdebugread.c (compare_blocks): Likewise.

23 years ago* symfile.c (compare_psymbols, compare_symbols): Declare using
aoliva [Tue, 29 May 2001 10:20:27 +0000 (10:20 +0000)]
* symfile.c (compare_psymbols, compare_symbols): Declare using
PTR, as in the definition.

23 years ago * shortcut.c (check_shortcut): Treat only Cygwin shortcuts as symlinks.
corinna [Tue, 29 May 2001 08:04:54 +0000 (08:04 +0000)]
    * shortcut.c (check_shortcut): Treat only Cygwin shortcuts as symlinks.

23 years ago* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared
aoliva [Mon, 28 May 2001 21:05:34 +0000 (21:05 +0000)]
* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++  shared
libraries when using g++ with native linker.

23 years ago* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.
aoliva [Mon, 28 May 2001 20:56:20 +0000 (20:56 +0000)]
* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.

23 years agoHandle printf ("%#.0o",0);
nickc [Mon, 28 May 2001 18:22:44 +0000 (18:22 +0000)]
Handle printf ("%#.0o",0);

23 years ago * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
aj [Mon, 28 May 2001 15:45:46 +0000 (15:45 +0000)]
* elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
generic version since we want a hashsize of 4.
(elf_backend_size_info): Likewise.

23 years ago * readelf.c (display_debug_frames): Fix warnings: Remove unused
aj [Mon, 28 May 2001 15:41:33 +0000 (15:41 +0000)]
* readelf.c (display_debug_frames): Fix warnings: Remove unused
variables, fix format strings.

23 years agoHandle MIPS64 relocs which use a non-1 valued int_rels_per_ext_rel
nickc [Mon, 28 May 2001 11:57:53 +0000 (11:57 +0000)]
Handle MIPS64 relocs which use a non-1 valued int_rels_per_ext_rel

23 years agoFor sh-*-linux-gnu target add a start address for the text section.
nickc [Mon, 28 May 2001 10:55:22 +0000 (10:55 +0000)]
For sh-*-linux-gnu target add a start address for the text section.