OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago * elfxx-target.h [section_flags]: Add SEC_ARCH_BIT_0, SEC_SMALL_DATA,
rth [Fri, 28 Sep 2001 21:47:24 +0000 (21:47 +0000)]
    * elfxx-target.h [section_flags]: Add SEC_ARCH_BIT_0, SEC_SMALL_DATA,
        SEC_MERGE, SEC_STRINGS.

22 years agoDocument changes to som.c revision 1.22.
brobecke [Fri, 28 Sep 2001 21:36:18 +0000 (21:36 +0000)]
Document changes to som.c revision 1.22.

22 years agosom_write_symbol_strings: Fix incorrect type of current_offset to match
brobecke [Fri, 28 Sep 2001 21:35:45 +0000 (21:35 +0000)]
som_write_symbol_strings: Fix incorrect type of current_offset to match
the function definition. Fixes a build failure on HPUX-11.00.

22 years ago * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
rth [Fri, 28 Sep 2001 21:10:40 +0000 (21:10 +0000)]
    * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.

22 years ago * config.sub, config.guess: Import latest from subversions.
hp [Fri, 28 Sep 2001 21:04:51 +0000 (21:04 +0000)]
* config.sub, config.guess: Import latest from subversions.

22 years ago * section.c (SEC_ARCH_BIT_0): New; replace unused SEC_BALIGN.
rth [Fri, 28 Sep 2001 20:51:14 +0000 (20:51 +0000)]
    * section.c (SEC_ARCH_BIT_0): New; replace unused SEC_BALIGN.
        * bfd-in2.h: Rebuild.

22 years ago * tuiLayout.h (tui_set_layout): Don't declare.
tromey [Fri, 28 Sep 2001 17:39:08 +0000 (17:39 +0000)]
* tuiLayout.h (tui_set_layout): Don't declare.
* tui.h (tui_vAddWinToLayout): Don't declare.
(tui_vSetLayoutTo): Likewise.
(tui_set_layout): Declare.

22 years ago * library/console.itb (Console::_operate_and_get_next): New method.
tromey [Fri, 28 Sep 2001 16:36:48 +0000 (16:36 +0000)]
* library/console.itb (Console::_operate_and_get_next): New method.
(Console::_setprompt): Insert next history element if requested.
(Console::_build_win): Bind C-o to _operate_and_get_next.
* library/console.ith (_operate_and_get_next): Declare.
(_pendingHistElement): New variable.

22 years ago * elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd
amodra [Fri, 28 Sep 2001 12:54:53 +0000 (12:54 +0000)]
* elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd
reloc code using x86_64_reloc_map.

22 years ago * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
corinna [Fri, 28 Sep 2001 11:41:30 +0000 (11:41 +0000)]
* gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
check to allow additional `int'.

22 years ago * elf32-hppa.c (elf32_hppa_check_relocs): Update comment since we
amodra [Fri, 28 Sep 2001 08:56:51 +0000 (08:56 +0000)]
* elf32-hppa.c (elf32_hppa_check_relocs): Update comment since we
no longer allocate here.  Localise some vars to blocks where they
are used.
(elf32_hppa_adjust_dynamic_symbol): Correct a comment.  Delay
setting of vars until needed.
(allocate_dynrelocs): Don't create a .plt entry without a reloc
when symbol visibilty makes a function local.
(elf32_hppa_finish_dynamic_symbol): Move expressions out of
swap_reloca_out function calls.
(elf32_hppa_relocate_section): Likewies.  Comment typo fix.
(elf32_hppa_finish_dynamic_sections): Migrate common code out of
switch statement.

22 years ago* passwd.cc (read_etc_passwd): Bother with unlocking when not in cygwin
cgf [Fri, 28 Sep 2001 07:23:18 +0000 (07:23 +0000)]
* passwd.cc (read_etc_passwd): Bother with unlocking when not in cygwin
initialization.
* grp.cc (read_etc_group): Ditto.

22 years ago* passwd.cc (read_etc_passwd): Don't bother with locking when
cgf [Fri, 28 Sep 2001 07:01:22 +0000 (07:01 +0000)]
* passwd.cc (read_etc_passwd): Don't bother with locking when
in cygwin initialization since there is only one thread.
* grp.cc (read_etc_group): Ditto.

22 years ago* pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF
cgf [Fri, 28 Sep 2001 06:06:44 +0000 (06:06 +0000)]
* pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF
event available.

22 years ago*** empty log message ***
gdbadmin [Fri, 28 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * mmap.cc (mmap): Move setting the access after evaluating fd.
corinna [Thu, 27 Sep 2001 22:39:50 +0000 (22:39 +0000)]
    * mmap.cc (mmap): Move setting the access after evaluating fd.
        Remove useless comment.  Explain copy-on-write problem of 9x
        more detailed.  Don't set access to FILE_MAP_COPY on 9x only
        when anonymous mapping is requested.
        (fhandler_disk_file::mmap): Remove useless device check.
        Add debug output.

22 years ago2001-09-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 27 Sep 2001 22:39:05 +0000 (22:39 +0000)]
2001-09-20  Michael Snyder  <msnyder@redhat.com>
Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
better parsing of const and volatile type expressions.
* c-exp.y (const_and_volatile, const_or_volatile_noopt,
const_or_volatile): New non-terminals.
(ptype): Use new rule for const_or_volatile.
(typebase): Use new rule for const_or_volatile_noopt.
* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
* parse.c (follow_types): Handle tp_const and tp_volatile on the
type stack: call make_cv_type to create new const/volatile type.

22 years ago * gdb.base/completion.exp: Remove incorrect 'p "a' test.
drow [Thu, 27 Sep 2001 22:21:21 +0000 (22:21 +0000)]
    * gdb.base/completion.exp: Remove incorrect 'p "a' test.
        Add tests for 'p "break' (pass) and 'p "break.' (xfail).

22 years ago2001-09-27 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 27 Sep 2001 21:35:54 +0000 (21:35 +0000)]
2001-09-27  Michael Snyder  <msnyder@redhat.com>

        * lib/gdb.exp (test_debug_format): New proc.
(setup_xfail_format): Use new proc test_debug_format.
* gdb.base/constvars.exp (local_compiler_xfail_check): New
proc; use new service proc test_debug_format.
Replace all other "gcc_compiled" tests with this test.
* gdb.base/volatile.exp (local_compiler_xfail_check): New
proc; use new service proc test_debug_format.
Replace all other "gcc_compiled" tests with this test.

22 years agoThu Sep 27 22:00:00 2001 Robert Collins rbtcollins@itdomain.com.au
rbcollins [Thu, 27 Sep 2001 21:35:16 +0000 (21:35 +0000)]
Thu Sep 27 22:00:00 2001 Robert Collins rbtcollins@itdomain.com.au

* Makefile.in: Only stamp winver_stamp on success.

22 years ago* bsp support for caches
fche [Thu, 27 Sep 2001 21:21:37 +0000 (21:21 +0000)]
* bsp support for caches

2001-09-27  Frank Ch. Eigler  <fche@redhat.com>

        * configrun-sid.in (icache, dcache): New options.

22 years ago2001-09-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 27 Sep 2001 21:16:42 +0000 (21:16 +0000)]
2001-09-20  Michael Snyder  <msnyder@redhat.com>
Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
better parsing of const and volatile type expressions.
* c-exp.y (const_and_volatile, const_or_volatile_noopt,
const_or_volatile): New non-terminals.
(ptype): Use new rule for const_or_volatile.
(typebase): Use new rule for const_or_volatile_noopt.
* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
* parse.c (follow_types): Handle tp_const and tp_volatile on the
        type stack: call make_cv_type to create new const/volatile type.

22 years ago2001-09-21 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 27 Sep 2001 21:14:48 +0000 (21:14 +0000)]
2001-09-21  Michael Snyder  <msnyder@redhat.com>

* c-exp.y (typebase): Accept (signed long long) as a type expr.

22 years agomerge from gcc
dj [Thu, 27 Sep 2001 20:27:58 +0000 (20:27 +0000)]
merge from gcc

22 years ago* bug fix
fche [Thu, 27 Sep 2001 20:23:50 +0000 (20:23 +0000)]
* bug fix

2001-09-27  Frank Ch. Eigler  <fche@redhat.com>

* cache.cxx (emit_report): Remove extra blank line.
(set_hash_mask, set_hash_shift): Exchange names to match functionality.
* cacheutil.cxx (cache ctor): Compute good default hash_params.

22 years ago2001-09-27 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 27 Sep 2001 16:22:46 +0000 (16:22 +0000)]
2001-09-27  Elena Zannoni  <ezannoni@redhat.com>

* library/targetselection.itb (build_win, default_port): Handle
        hpux 11.00.

22 years ago2001-09-27 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 27 Sep 2001 16:22:21 +0000 (16:22 +0000)]
2001-09-27  Elena Zannoni  <ezannoni@redhat.com>

* library/targetselection.itb (build_win, default_port): Handle
        hpux 11.00.

22 years ago * elf32-i386.c (elf_i386_check_relocs): Update comment since we
amodra [Thu, 27 Sep 2001 16:18:41 +0000 (16:18 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Update comment since we
no longer allocate here.  Localise some vars to blocks where they
are used.  Remove separate switch stmt for creating .got sec.
(elf_i386_adjust_dynamic_symbol): Correct a comment.  Remove
redundant casts and aborts.  Delay setting of vars until needed.
(allocate_dynrelocs): Remove redundant casts and aborts.
(elf_i386_size_dynamic_sections): Move comment.
(elf_i386_finish_dynamic_symbol): Move expressions out of function
calls.
(elf_i386_relocate_section): Likewise.  Comment typo fix.
(elf_i386_finish_dynamic_sections): Migrate common code out of
switch statement.
(elf_backend_* defines): Sort.

22 years ago * elf32-i386.c (allocate_dynrelocs): Don't create a .plt entry
amodra [Thu, 27 Sep 2001 16:10:28 +0000 (16:10 +0000)]
* elf32-i386.c (allocate_dynrelocs): Don't create a .plt entry
without a reloc when symbol visibilty makes a function local.

22 years ago * library/prefs.tcl (escape_value): Update to work
kseitz [Thu, 27 Sep 2001 14:47:44 +0000 (14:47 +0000)]
    * library/prefs.tcl (escape_value): Update to work
        with Tcl's new and old syntax.

22 years agoRevert most of previous delta. Do not call bfd_archive_filename on output
nickc [Thu, 27 Sep 2001 13:49:27 +0000 (13:49 +0000)]
Revert most of previous delta.  Do not call bfd_archive_filename on output
bfd, nor twice in one expression.

22 years agoDocument changes in infttrace.c (for HPUX 11.00).
brobecke [Thu, 27 Sep 2001 13:32:17 +0000 (13:32 +0000)]
Document changes in infttrace.c (for HPUX 11.00).

22 years agokill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOP
brobecke [Thu, 27 Sep 2001 13:31:45 +0000 (13:31 +0000)]
kill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOP
request to kill the inferior and its child processes. Otherwise, the
inferior is not killed on HPUX 11.0.  Removed the code that detaches the
child processes since we just killed them.

22 years agoAdd missing function protoypes.
nickc [Thu, 27 Sep 2001 09:58:00 +0000 (09:58 +0000)]
Add missing function protoypes.

22 years agoReplace bfd_get_filename with bfd_archive_filename in error message.
nickc [Thu, 27 Sep 2001 07:49:26 +0000 (07:49 +0000)]
Replace bfd_get_filename with bfd_archive_filename in error message.
Fix detection of conflicting float flags.

22 years agoRemove spurious comment
nickc [Thu, 27 Sep 2001 07:45:32 +0000 (07:45 +0000)]
Remove spurious comment

22 years ago2001-09-27 Ben Elliston <bje@redhat.com>
bje [Thu, 27 Sep 2001 02:36:47 +0000 (02:36 +0000)]
2001-09-27  Ben Elliston  <bje@redhat.com>

* sidcomp.cache/cachemonkey.exp: Avoid the dump! attribute.

22 years ago*** empty log message ***
gdbadmin [Thu, 27 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoAdd framework for ``set/show serial ...''.
cagney [Wed, 26 Sep 2001 23:27:39 +0000 (23:27 +0000)]
Add framework for ``set/show serial ...''.

22 years ago* select.cc (peek_pipe): REALLY only grab mutex when we actually got something
cgf [Wed, 26 Sep 2001 22:24:09 +0000 (22:24 +0000)]
* select.cc (peek_pipe): REALLY only grab mutex when we actually got something
from the pipe.

22 years ago2001-09-26 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 26 Sep 2001 21:12:17 +0000 (21:12 +0000)]
2001-09-26  Frank Ch. Eigler  <fche@redhat.com>

* sidcomp.cache/cachemonkey.exp: Test more cache types.

22 years ago2001-09-26 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 26 Sep 2001 21:12:02 +0000 (21:12 +0000)]
2001-09-26  Frank Ch. Eigler  <fche@redhat.com>

* compMapper.cxx (tlb1/tlb2): Add support for a second tlb entry.

22 years ago2001-09-26 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 26 Sep 2001 21:11:48 +0000 (21:11 +0000)]
2001-09-26  Frank Ch. Eigler  <fche@redhat.com>

* cacheutil.cxx (hash_fn): Detect index overflow.  Complain loudly.
* cacheutil.h: Include some more headers.

22 years ago* CONTRIBUTE: Update.
cagney [Wed, 26 Sep 2001 20:52:56 +0000 (20:52 +0000)]
* CONTRIBUTE: Update.

22 years ago2001-09-26 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 26 Sep 2001 20:32:16 +0000 (20:32 +0000)]
2001-09-26  Jeff Johnston  <jjohnstn@redhat.com>

        * input-file.c (input_file_open): When reading the
        first line looking for #NO_APP, prepare for the possibility
        of finding #APP instead.  Also fix algorithm to allow
        white-space to follow either #NO_APP or #APP directives.

22 years agomerge from gcc
dj [Wed, 26 Sep 2001 18:45:49 +0000 (18:45 +0000)]
merge from gcc

22 years ago * gdb.base/constvars.exp: Check for different orders of keywords
corinna [Wed, 26 Sep 2001 16:06:27 +0000 (16:06 +0000)]
    * gdb.base/constvars.exp: Check for different orders of keywords
        and additional "int" strings in output.

22 years ago * elf32-i386 (elf_i386_copy_indirect_symbol): New function.
amodra [Wed, 26 Sep 2001 09:25:04 +0000 (09:25 +0000)]
* elf32-i386 (elf_i386_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define.
(struct elf_i386_link_hash_entry): Rename "root" to "elf".
(struct elf_i386_link_hash_table): Likewise.
(link_hash_newfunc): Get rid of unnecessary casts.
(elf_i386_link_hash_table_create): Likewise.
(elf_i386_check_relocs): Initialise local_got_refcounts to 0.
Don't test input section SEC_READONLY here to try to avoid copy
relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
(elf_i386_adjust_dynamic_symbol): Check output section SEC_READONLY
here to properly test whether we need copy relocs.  Do so for weak
syms too.

* elf32-hppa (elf32_hppa_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define.
(struct elf32_hppa_link_hash_table): Rename "root" to "elf".
(stub_hash_newfunc): Get rid of unnecessary casts.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_check_relocs): Initialise local_got_refcounts to 0.
Don't test input section SEC_READONLY here to try to avoid copy
relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
(elf32_hppa_adjust_dynamic_symbol): Check output section SEC_READONLY
here to properly test whether we need copy relocs.  Do so for weak
syms too.

22 years agoUse gdbarch data mechanism instead of gdbarch swap mechanism to manage
kevinb [Wed, 26 Sep 2001 07:03:13 +0000 (07:03 +0000)]
Use gdbarch data mechanism instead of gdbarch swap mechanism to manage
the fetching of architecture specific link map offsets.

22 years ago2001-09-26 Ben Elliston <bje@redhat.com>
bje [Wed, 26 Sep 2001 03:56:05 +0000 (03:56 +0000)]
2001-09-26  Ben Elliston  <bje@redhat.com>

* gloss.h (gloss32::get_string): Give length parameter a default
of 0, in which case memory is read until a NUL is reached.
* gloss.cxx (gloss32::get_string): Handle both fixed length and
NUL-terminated strings.
(gloss32::write): Improve verbose message.
(gloss32::do_sys_open): Improve failure mode for get_string().

22 years ago * ldmisc.c (USE_STDARG): Remove.
amodra [Wed, 26 Sep 2001 01:55:44 +0000 (01:55 +0000)]
* ldmisc.c (USE_STDARG): Remove.
(info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
(einfo): Likewise.
(minfo): Likewise.
(lfinfo): Likewise.

* ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
declarations.  Update copyright.

22 years ago * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
amodra [Wed, 26 Sep 2001 01:55:18 +0000 (01:55 +0000)]
* bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
VA_CLOSE.
(non_fatal): Likewise.
* objdump.c (objdump_sprintf): Likewise.
* readelf.c (error): Likewise.
(warn): Likewise.

22 years ago * arc-dis.c: Formatting fixes.
amodra [Wed, 26 Sep 2001 01:54:06 +0000 (01:54 +0000)]
* arc-dis.c: Formatting fixes.
(my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.

22 years ago * bfd.c (_bfd_default_error_handlerl): Define using VPARAMS,
amodra [Wed, 26 Sep 2001 01:53:25 +0000 (01:53 +0000)]
* bfd.c (_bfd_default_error_handlerl): Define using VPARAMS,
VA_OPEN, VA_FIXEDARG, VA_CLOSE.
(bfd_archive_filename): Cast bfd_malloc arg to the correct size.

22 years ago*** empty log message ***
gdbadmin [Wed, 26 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
dj [Tue, 25 Sep 2001 23:02:03 +0000 (23:02 +0000)]
merge from gcc

22 years ago * elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot
jakub [Tue, 25 Sep 2001 22:12:28 +0000 (22:12 +0000)]
* elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot
computation.

22 years ago2001-09-25 H.J. Lu <hjl@gnu.org>
hjl [Tue, 25 Sep 2001 20:24:00 +0000 (20:24 +0000)]
2001-09-25  H.J. Lu  <hjl@gnu.org>

* ld-elfweak/dso.dsym: Updated for alpha.
* ld-elfweak/dsodata.dsym: Likewise.
* ld-elfweak/strong.sym: Likewise.
* ld-elfweak/strongcomm.sym: Likewise.
* ld-elfweak/strongdata.sym: Likewise.

22 years ago* mild test cleanup
fche [Tue, 25 Sep 2001 18:25:58 +0000 (18:25 +0000)]
* mild test cleanup

2001-09-25  Frank Ch. Eigler  <fche@redhat.com>

        * lib/monkey.exp (do_one_test): Set a short timeout.
        (monkey_start): Don't use sid_find_file to look for victim's
        component library.
        * config/default.exp (sid_cmd): Use "\r" (not "\n") as send EOL.
        * sidcomp.mapper/busif.exp (sid_read_write): Ditto.

22 years ago * readelf.c (do_wide): New.
jakub [Tue, 25 Sep 2001 16:44:18 +0000 (16:44 +0000)]
* readelf.c (do_wide): New.
(options): Add --wide.
(usage, parse_args): Likewise.
(process_program_headers): Put each segment on a single line if
--wide is given.
(process_section_headers): Put each section on a single line if
--wide is given.
* doc/binutils.texi: Document it.
* NEWS: Likewise.

22 years ago2001-09-25 H.J. Lu <hjl@gnu.org>
hjl [Tue, 25 Sep 2001 16:35:04 +0000 (16:35 +0000)]
2001-09-25  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Regenerated.

22 years ago * readelf.c (print_vma): Print 8 digits of low hex value.
amodra [Tue, 25 Sep 2001 12:49:38 +0000 (12:49 +0000)]
* readelf.c (print_vma): Print 8 digits of low hex value.

22 years ago * listing.c (buffer_line): Don't write past the end of `line' when
amodra [Tue, 25 Sep 2001 12:09:44 +0000 (12:09 +0000)]
* listing.c (buffer_line): Don't write past the end of `line' when
EOF is reached.

22 years agofix of my email address
smid [Tue, 25 Sep 2001 11:52:54 +0000 (11:52 +0000)]
fix of my email address

22 years agoTue Sep 25 21:25:00 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Tue, 25 Sep 2001 11:45:25 +0000 (11:45 +0000)]
Tue Sep 25 21:25:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (pthread_cond::BroadCast): Use address with verifyable_object_isvalid().
        (pthread_cond::Signal): Ditto.
        (__pthread_create): Ditto.
        (__pthread_cleanup): Ditto.
        (__pthread_attr_init): Ditto.
        (__pthread_attr_getinheritsched): Ditto.
        (__pthread_attr_getschedparam): Ditto.
        (__pthread_attr_getschedpolicy): Ditto.
        (__pthread_attr_getscope): Ditto.
        (__pthread_attr_setdetachstate): Ditto.
        (__pthread_attr_getdetachstate): Ditto.
        (__pthread_attr_setinheritsched): Ditto.
        (__pthread_attr_setschedparam): Ditto.
        (__pthread_attr_setschedpolicy): Ditto.
        (__pthread_attr_setscope): Ditto.
        (__pthread_attr_setstacksize): Ditto.
        (__pthread_attr_getstacksize): Ditto.
        (__pthread_attr_destroy): Ditto.
        (__pthread_join): Ditto.
        (__pthread_detach): Ditto.
        (__pthread_suspend): Ditto.
        (__pthread_continue): Ditto.
        (__pthread_getschedparam): Ditto.
        (__pthread_getsequence_np): Ditto.
        (__pthread_key_create): Ditto.
        (__pthread_key_delete): Ditto.
        (__pthread_setschedparam): Ditto.
        (__pthread_setspecific): Ditto.
        (__pthread_getspecific): Ditto.
        (__pthread_cond_destroy): Ditto.
        (__pthread_cond_init): Ditto.
        (__pthread_cond_broadcast): Ditto.
        (__pthread_cond_signal): Ditto.
        (__pthread_cond_timedwait): Ditto.
        (__pthread_cond_wait): Ditto.
        (__pthread_condattr_init): Ditto.
        (__pthread_condattr_getpshared): Ditto.
        (__pthread_condattr_setpshared): Ditto.
        (__pthread_condattr_destroy): Ditto.
        (__pthread_kill): Ditto.
        (__pthread_mutex_init): Ditto.
        (__pthread_mutex_getprioceiling): Ditto.
        (__pthread_mutex_lock): Ditto.
        (__pthread_mutex_trylock): Ditto.
        (__pthread_mutex_unlock): Ditto.
        (__pthread_mutex_destroy): Ditto.
        (__pthread_mutex_setprioceiling): Ditto.
        (__pthread_mutexattr_getprotocol): Ditto.
        (__pthread_mutexattr_getpshared): Ditto.
        (__pthread_mutexattr_gettype): Ditto.
        (__pthread_mutexattr_init): Ditto.
        (__pthread_mutexattr_destroy): Ditto.
        (__pthread_mutexattr_setprotocol): Ditto.
        (__pthread_mutexattr_setprioceiling): Ditto.
        (__pthread_mutexattr_getprioceiling): Ditto.
        (__pthread_mutexattr_setpshared): Ditto.
        (__pthread_mutexattr_settype): Ditto.
        (__sem_init): Ditto.
        (__sem_destroy): Ditto.
        (__sem_wait): Ditto.
        (__sem_trywait): Ditto.
        (__sem_post): Ditto.
        (verifyable_object_isvalid): Recieve a pointer to a pointer for verification.
        (__pthread_mutexattr_getprotocol): Fix typo in magic number.
        (__pthread_mutexattr_getpshared): Ditto.
        (__pthread_mutexattr_gettype): Ditto.
        * thread.h (verifyable_object_isvalid): Change prototype to recieve a pointer to a
        pointer for verification.
        * include/pthread.h: Fix typo for __cleanup_routine_type typedef. (Contrib from Net).

22 years ago* x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
smid [Tue, 25 Sep 2001 10:37:17 +0000 (10:37 +0000)]
* x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
(x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
by LINUX_SIGINFO_SIZE.

22 years ago * elf32-i386.c: Add comment re linker function names and ordering.
amodra [Tue, 25 Sep 2001 10:11:45 +0000 (10:11 +0000)]
* elf32-i386.c: Add comment re linker function names and ordering.
(elf_i386_link_hash_newfunc): Rename to link_hash_newfunc.
(elf_i386_grok_prstatus): Move before linker functions.
(elf_i386_grok_psinfo): Likewise.
(elf_i386_fake_sections): Move so that functions are ordered.
(elf_i386_reloc_type_class): Likewise.  Comment function purpose.

22 years ago* config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
aoliva [Tue, 25 Sep 2001 08:51:51 +0000 (08:51 +0000)]
* config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
relocation for differences between symbols in a section other
than the one in which the difference is to be placed; apply
the relocation instead.

22 years ago * elf32-hppa.c: Rename all occurrences of "hplink" to "htab"
amodra [Tue, 25 Sep 2001 07:28:13 +0000 (07:28 +0000)]
* elf32-hppa.c: Rename all occurrences of "hplink" to "htab"
throughout file.

22 years ago * elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete. Remove all
amodra [Tue, 25 Sep 2001 07:10:59 +0000 (07:10 +0000)]
* elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete.  Remove all
code handling this option.
(LONG_BRANCH_VIA_PLT): Likewise.
(RELATIVE_DYNRELOCS): Define as zero.
(struct elf32_hppa_dyn_reloc_entry): Add "sec", and
"pc_count" fields.  Remove "section" field.
(elf32_hppa_link_hash_entry): Rename reloc_entries to dyn_relocs.
(elf32_hppa_check_relocs): Don't allocate space for dynamic
relocs here.  Instead, record all needed dynamic relocs via
dyn_relocs and local_dynrel.  Cache pointer to "sreloc" section
in elf_section_data.
(elf32_hppa_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
(allocate_plt_and_got_and_discard_relocs): Rename to
allocate_dynrelocs.  Allocate rather than discarding dyn relocs.
(readonly_dynrelocs): New function.
(elf32_hppa_size_dynamic_sections): Mark output_bfd unused.
Call readonly_dynrelocs to determine need for DT_TEXTREL.
Rename "i" to "ibfd".  Allocate space for local dyn relocs.
(elf32_hppa_relocate_section): Make use of cached sreloc.
(elf32_hppa_reloc_type_class): New function.
(elf_backend_reloc_type_class): Define.

22 years ago* select.cc (fhandler_tty_common::ready_for_read): Rewrite to correctly
cgf [Tue, 25 Sep 2001 06:19:10 +0000 (06:19 +0000)]
* select.cc (fhandler_tty_common::ready_for_read): Rewrite to correctly
call peek_pipe.

22 years ago * elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"
amodra [Tue, 25 Sep 2001 04:34:49 +0000 (04:34 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"
and "sreloc" fields.
* elf32-i386.c (struct elf_i386_dyn_relocs): Add "sec", and
"pc_count" fields.  Remove "section" field.
(elf_i386_check_relocs): Don't set DF_TEXTREL here.  Don't
allocate space for dynamic relocs here.  Instead, record all
needed dynamic relocs via dyn_relocs and local_dynrel.  Cache
pointer to "sreloc" section in elf_section_data.
(elf_i386_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
(allocate_plt_and_got_and_discard_relocs): Rename to
allocate_dynrelocs.  Allocate rather than discarding dyn relocs.
(readonly_dynrelocs): New function.
(elf_i386_size_dynamic_sections): Call readonly_dynrelocs.
Rename "i" to "ibfd".  Allocate space for local dyn relocs.
(elf_i386_relocate_section): Make use of cached sreloc.

22 years ago* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
cagney [Tue, 25 Sep 2001 02:31:50 +0000 (02:31 +0000)]
* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
variables.
(maintenance_set_profile_cmd): New function.
(maintenance_show_cmd, maintenance_set_cmd): New functions.
(_initialize_maint_cmds): Add "maintenance set" and "maintenance
show" and, commented out, "maintenance set/show profile" commands.

22 years ago*** empty log message ***
gdbadmin [Tue, 25 Sep 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
dj [Mon, 24 Sep 2001 23:37:52 +0000 (23:37 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Mon, 24 Sep 2001 23:37:30 +0000 (23:37 +0000)]
merge from gcc

22 years ago* select.cc (peek_pipe): Only grab mutex when we actually got something from
cgf [Mon, 24 Sep 2001 22:49:12 +0000 (22:49 +0000)]
* select.cc (peek_pipe): Only grab mutex when we actually got something from
the pipe.

22 years ago* fhandler.h (fhandler_pipe::hit_eof): New method.
cgf [Mon, 24 Sep 2001 21:50:43 +0000 (21:50 +0000)]
* fhandler.h (fhandler_pipe::hit_eof): New method.
(writepipe_exists): New class element.
(orig_pid): Ditto.
(id): Ditto.
(is_slow): Eliminate.
* pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance on
writepipe_exists, if it exists.
(fhandler_pipe::hit_eof): New method, modelled after tty.
(fhandler_pipe::dup): Duplicate writepipe_exists, if it exists.
(make_pipe): Set up a dummy event for pipes on windows 9x.  The nonexistence
of this event means that the write side of the pipe has closed.
(_dup): Move to syscalls.cc
(_dup2): Ditto.

* dtable.cc (dtable::build_fhandler): Fill out set_names here, if appropriate.
* syscalls.cc (_open): Call set_names in build_fhandler.

22 years agoFix thinko
nickc [Mon, 24 Sep 2001 21:16:47 +0000 (21:16 +0000)]
Fix thinko

22 years agoRemove spurious prototype.
nickc [Mon, 24 Sep 2001 21:13:48 +0000 (21:13 +0000)]
Remove spurious prototype.

22 years ago* build fix: cygwin -lcurses is sometimes bad
fche [Mon, 24 Sep 2001 21:03:11 +0000 (21:03 +0000)]
* build fix: cygwin -lcurses is sometimes bad

2001-09-24  Frank Ch. Eigler  <fche@redhat.com>

* configure.in (lcd_libs): Set HAVE_CURSES_LIBRARY if found some
usable curses library.
* config.in, configure: Regenerated.

[lcd]
2001-09-24  Frank Ch. Eigler  <fche@redhat.com>

* lcd-char-display.cxx: Be sensitive to ! HAVE_CURSES_LIBRARY.

22 years ago* findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
cagney [Mon, 24 Sep 2001 19:46:14 +0000 (19:46 +0000)]
* findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
convert the pointer into a CORE_ADDRs.

22 years agooops - frag omitted from previous patch application
nickc [Mon, 24 Sep 2001 18:35:08 +0000 (18:35 +0000)]
oops - frag omitted from previous patch application

22 years agooops - omitted from previous delta
nickc [Mon, 24 Sep 2001 18:21:24 +0000 (18:21 +0000)]
oops - omitted from previous delta

22 years ago* doublest.h (store_floating, extract_floating): Add comment
cagney [Mon, 24 Sep 2001 17:16:52 +0000 (17:16 +0000)]
* doublest.h (store_floating, extract_floating): Add comment
indicating these functions are deprecated.
(extract_typed_floating, store_typed_floating): Declare.
* doublest.c: Include "gdbtypes.h".
(extract_typed_floating, store_typed_floating): Define.

* stabsread.c (define_symbol): Use store_typed_floating.
* valarith.c (value_binop): Ditto.
* values.c (unpack_long): Use extract_typed_floating.
(unpack_double): Ditto.

22 years agoimprove documenation about auto-import
nickc [Mon, 24 Sep 2001 16:17:46 +0000 (16:17 +0000)]
improve documenation about auto-import

22 years agoDefine and use pe_get_data_import_dll_name().
nickc [Mon, 24 Sep 2001 15:03:00 +0000 (15:03 +0000)]
Define and use pe_get_data_import_dll_name().

22 years agofix compile time warning messages
nickc [Mon, 24 Sep 2001 14:47:10 +0000 (14:47 +0000)]
fix compile time warning messages

22 years ago2001-09-24 Orjan Friberg <orjanf@axis.com>
orjanf [Mon, 24 Sep 2001 08:04:09 +0000 (08:04 +0000)]
2001-09-24  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
from correct register.

22 years ago2001-09-24 Ben Elliston <bje@redhat.com>
bje [Mon, 24 Sep 2001 06:54:48 +0000 (06:54 +0000)]
2001-09-24  Ben Elliston  <bje@redhat.com>

* gloss.cxx (do_sys_fstat): Clear error result on success.

22 years ago * nlmconv.c: Fix warnings about unused attributes and function
aj [Mon, 24 Sep 2001 06:07:52 +0000 (06:07 +0000)]
* nlmconv.c: Fix warnings about unused attributes and function
prototypes.

* strings.c: Add prototype for get_char.

22 years ago * elf-bfd.h (elf_backend_reloc_type_class): Pass in the entire
amodra [Mon, 24 Sep 2001 01:38:31 +0000 (01:38 +0000)]
* elf-bfd.h (elf_backend_reloc_type_class): Pass in the entire
reloc rather than just the type.
(_bfd_elf_reloc_type_class): Likewise.
* elf.c (_bfd_elf_reloc_type_class): Likewise.
* elf32-arm.h (elf32_arm_reloc_type_class): Likewise.
* elf32-cris.c (elf_cris_reloc_type_class): Likewise.
* elf32-i386.c (elf_i386_reloc_type_class): Likewise.
* elf32-m68k.c (elf32_m68k_reloc_type_class): Likewise.
* elf32-ppc.c (ppc_elf_reloc_type_class): Likewise.
* elf32-s390.c (elf_s390_reloc_type_class): Likewise.
* elf32-sh.c (sh_elf_reloc_type_class): Likewise.
* elf32-sparc.c (elf32_sparc_reloc_type_class): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_type_class): Likewise.
* elf64-s390.c (elf_s390_reloc_type_class): Likewise.
* elf64-sparc.c (sparc64_elf_reloc_type_class): Likewise.
* elf64-x86-64.c (elf64_x86_64_reloc_type_class): Likewise.
* elfxx-ia64.c (elfNN_ia64_reloc_type_class): Likewise.
* elflink.h: Formatting fixes.
(elf_link_sort_relocs): Make "count" and "size" bfd_size_type.
Call bfd_zmalloc rather than calloc.  Remove unnecessary cast of
o->contents to PTR.  Update call to elf_backend_reloc_type_class.

22 years ago* build fix
fche [Mon, 24 Sep 2001 01:08:45 +0000 (01:08 +0000)]
* build fix

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

* libstdc++.m4: Reject shared libstdc++ possibility if g++ replies with
no path to "--print-file-name=libstdc++.a".

22 years ago*** empty log message ***
gdbadmin [Mon, 24 Sep 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * syscalls.cc (_open): Set name in fhandler object after successful
corinna [Sun, 23 Sep 2001 15:35:01 +0000 (15:35 +0000)]
    * syscalls.cc (_open): Set name in fhandler object after successful
        creation.
        (stat_dev): Set device type to block device in FH_FLOPPY case.

22 years ago * dtable.cc (dtable::build_fhandler): Initialize unit when using
corinna [Sun, 23 Sep 2001 14:39:16 +0000 (14:39 +0000)]
    * dtable.cc (dtable::build_fhandler): Initialize unit when using
        optional path_conv argument.

22 years agoexpand entry "How can I get bash filename completion to be case insensitive?"
davidsb [Sun, 23 Sep 2001 11:19:13 +0000 (11:19 +0000)]
expand entry "How can I get bash filename completion to be case insensitive?"

22 years agonew entry "What versions of Windows are supported?"
davidsb [Sun, 23 Sep 2001 11:13:08 +0000 (11:13 +0000)]
new entry "What versions of Windows are supported?"

22 years ago1.1.x -> 1.3.x in "recent history"
davidsb [Sun, 23 Sep 2001 10:06:32 +0000 (10:06 +0000)]
1.1.x -> 1.3.x in "recent history"

22 years ago*** empty log message ***
gdbadmin [Sun, 23 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***