OSDN Git Service

pf3gnuchains/sourceware.git
20 years ago * ChangeLog: Fix typos.
kazu [Mon, 27 Oct 2003 13:20:31 +0000 (13:20 +0000)]
* ChangeLog: Fix typos.
* ChangeLog-9197: Likewise.
* ChangeLog-9899: Likewise.
* NEWS: Likewise.
* ar.c: Fix comment typos.
* arsup.c: Likewise.
* coffgrok.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* dlltool.c: Likewise.
* ieee.c: Likewise.
* nm.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* readelf.c: Likewise.
* resrc.c: Likewise.
* sysinfo.y: Likewise.
* windres.c: Likewise.

20 years ago * Makefile.in (OBSOLETE_FUNCTION): Add tmpfile.
corinna [Mon, 27 Oct 2003 13:06:55 +0000 (13:06 +0000)]
* Makefile.in (OBSOLETE_FUNCTION):  Add tmpfile.
(NEW_FUNCTIONS): Add _tmpfile64 -> tmpfile translation.
* cygwin.din: Export _tmpfile64
* include/cygwin/version.h: Bump api minor number.

20 years agoDo not complain when copying a file format that does not support relocations.
nickc [Mon, 27 Oct 2003 12:45:38 +0000 (12:45 +0000)]
Do not complain when copying a file format that does not support relocations.

20 years ago * ChangeLog: Fix typos.
kazu [Mon, 27 Oct 2003 12:45:17 +0000 (12:45 +0000)]
* ChangeLog: Fix typos.
* ChangeLog-9295: Likewise.
* as.c: Fix comment typos.
* as.h: Likewise.
* atof-generic.c: Likewise.
* bit_fix.h: Likewise.
* frags.h: Likewise.
* hash.c: Likewise.
* input-file.c: Likewise.
* input-scrub.c: Likewise.
* itbl-ops.c: Likewise.
* itbl-parse.y: Likewise.
* listing.c: Likewise.
* macro.h: Likewise.
* read.c: Likewise.
* sb.c: Likewise.
* sb.h: Likewise.
* symbols.c: Likewise.
* symbols.h: Likewise.

20 years ago * cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait.
corinna [Mon, 27 Oct 2003 11:48:28 +0000 (11:48 +0000)]
* cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait.
* pthread.cc (+mangle_sem_name): New function.
(sem_open): Ditto.
(sem_close: Ditto.
(sem_timedwait): Ditto.
(sem_getvalue): Ditto.
* thread.cc (semaphore::semaphore): Rearrange member initialization.
Use appropriate security attribute for process shared semaphores.
(semaphore::semaphore): New constructor for named semaphores.
(semaphore::~semaphore): Care for semaphore name.
(semaphore::_post): Accomodate failing ReleaseSemaphore. Use value
returned by ReleaseSemaphore vor currentvalue.
(semaphore::_getvalue): New method.
(semaphore::_timedwait): Ditto.
(semaphore::_fixup_after_fork): Rearrange. Don't fail for process
shared semaphores.
(semaphore::open): New method.
(semaphore::timedwait): Ditto.
(semaphore::post): Fix return value.  Set errno appropriately.
(semaphore::getvalue): New method.
* thread.h (class semaphore): Add prototypes for open, getvalue,
timedwait, _getvalue, _timedwait.  Add prototypes for new constructor.
Add name member.
* include/semaphore.h: Add prototypes for sem_open, sem_close,
sem_timedwait and sem_getvalue.
include/cygwin/version.h: Bump API minor number.

20 years ago * ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812
ciceron [Mon, 27 Oct 2003 11:42:30 +0000 (11:42 +0000)]
* ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812
due to elf/Dwarf2 binutils limitation.

20 years ago * scripttempl/elfm68hc12.sc: Define eeprom memory region.
ciceron [Mon, 27 Oct 2003 10:10:57 +0000 (10:10 +0000)]
* scripttempl/elfm68hc12.sc: Define eeprom memory region.

20 years ago * gas/m68hc11/opers12-dwarf2.d: Update, local label prefix removed.
ciceron [Mon, 27 Oct 2003 10:01:51 +0000 (10:01 +0000)]
* gas/m68hc11/opers12-dwarf2.d: Update, local label prefix removed.
* gas/m68hc11/lbranch-dwarf2.d: Update.

20 years ago * config/tc-m68hc11.c: Convert to ISO C90.
ciceron [Mon, 27 Oct 2003 09:57:59 +0000 (09:57 +0000)]
* config/tc-m68hc11.c: Convert to ISO C90.
* config/tc-m68hc11.h: Likewise.

20 years ago * m68hc11-dis.c: Convert to ISO C90 prototypes.
ciceron [Mon, 27 Oct 2003 09:26:13 +0000 (09:26 +0000)]
* m68hc11-dis.c: Convert to ISO C90 prototypes.

20 years ago * miscfunc.cc (__check_invalid_read_ptr): New function.
corinna [Mon, 27 Oct 2003 08:28:37 +0000 (08:28 +0000)]
* miscfunc.cc (__check_invalid_read_ptr): New function.
* winsup.h: Declare.

20 years agoRevert small portion of previous commit. (Delete a #if 0 and #endif that I
kevinb [Mon, 27 Oct 2003 06:30:49 +0000 (06:30 +0000)]
Revert small portion of previous commit.  (Delete a #if 0 and #endif that I
had added for testing.)

20 years ago * frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):
kevinb [Mon, 27 Oct 2003 06:26:12 +0000 (06:26 +0000)]
* frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):
Delete.
(frv_register_type): Rename from frv_register_virtual_type.  Add
``struct gdbarch *'' parameter.
(frv_gdbarch_init): Delete calls to the following functions:
set_gdbarch_deprecated_size(),
set_gdbarch_deprecated_register_bytes(),
set_gdbarch_deprecated_register_raw_size(),
set_gdbarch_deprecated_max_register_raw_size(),
set_gdbarch_deprecated_register_virtual_size(),
set_gdbarch_deprecated_max_register_virtual_size(),
set_gdbarch_deprecated_register_virtual_size(),
set_gdbarch_deprecated_register_virtual_type().
Add call to function set_gdbarch_register_type().

20 years ago * doc/c-sh64.texi: Fix a typo.
kazu [Mon, 27 Oct 2003 00:06:06 +0000 (00:06 +0000)]
* doc/c-sh64.texi: Fix a typo.

20 years ago*** empty log message ***
gdbadmin [Mon, 27 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sun, 26 Oct 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2003-10-26 Dave Brolley <brolley@redhat.com>
brolley [Sun, 26 Oct 2003 19:40:30 +0000 (19:40 +0000)]
2003-10-26  Dave Brolley  <brolley@redhat.com>

        * sid-decode.scm (-gen-record-profile-args): Test trace_counter_p
        and final_insn_count_p. Don't test WITH_PROFILE_MODEL_P.
        (-gen-extract-fn): Call -gen-record-profile-args.

20 years ago2003-10-26 Dave Brolley <brolley@redhat.com>
brolley [Sun, 26 Oct 2003 18:57:18 +0000 (18:57 +0000)]
2003-10-26  Dave Brolley  <brolley@redhat.com>

        * sid-decode.scm (-gen-record-profile-args): Test trace_counter_p
        and final_insn_count_p.
        (-gen-extract-fn): Call -gen-record-profile-args.

20 years ago * doc/c-alpha.texi: Fix typos.
kazu [Sun, 26 Oct 2003 18:12:02 +0000 (18:12 +0000)]
* doc/c-alpha.texi: Fix typos.
* doc/c-ia64.texi: Likewise.
* doc/c-mmix.texi: Likewise.
* doc/c-sh64.texi: Likewise.
* doc/c-xtensa.texi: Likewise.
* doc/internals.texi: Likewise.

20 years agoFix typo.
kettenis [Sun, 26 Oct 2003 15:05:54 +0000 (15:05 +0000)]
Fix typo.

20 years ago* i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,
kettenis [Sun, 26 Oct 2003 15:03:41 +0000 (15:03 +0000)]
* i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,
FDOFF_REGNUM): Remove defines.
* win32-nat.c (do_child_fetch_inferior_registers): Include
"i387-tdep.h".
(do_child_fetch_inferior_registers): Use I387_FISEG_ST0_REGNUM and
I387_FOP_REGNUM instead of FCS_REGNUM and FOP_REGNUM.  Define and
undefine I387_ST0_REGNUM.

20 years ago* i386-tdep.h (FPU_REG_RAW_SIZE): Remove define.
kettenis [Sun, 26 Oct 2003 14:47:25 +0000 (14:47 +0000)]
* i386-tdep.h (FPU_REG_RAW_SIZE): Remove define.
* x86-64-tdep.c (x86_64_store_return_value): Use
I386_MAX_REGISTER_SIZE instead of FPU_REG_RAW_SIZE.

20 years agoChange register numbers to enumartion values.
kettenis [Sun, 26 Oct 2003 13:08:56 +0000 (13:08 +0000)]
Change register numbers to enumartion values.
* i386-tdep.h (enum i386_regnum): New.
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
I386_EBP_REGNUM, I386_IP_REGNUM, I386_EFLAGS_REGNUM,
I386_ST0_REGNUM): Remove defines.
* i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
I386_EDI_REGNUM): Remove defines.

20 years ago * security.h (cygpsid::debug_print): Avoid compiler warnings.
corinna [Sun, 26 Oct 2003 10:58:11 +0000 (10:58 +0000)]
* security.h (cygpsid::debug_print): Avoid compiler warnings.

20 years agoRemove file that was supposed to have disappeared a month ago.
cgf [Sun, 26 Oct 2003 01:09:06 +0000 (01:09 +0000)]
Remove file that was supposed to have disappeared a month ago.

20 years agoRemove file that was supposed to have disappeared a month ago.
cgf [Sun, 26 Oct 2003 01:07:58 +0000 (01:07 +0000)]
Remove file that was supposed to have disappeared a month ago.

20 years ago*** empty log message ***
gdbadmin [Sun, 26 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sat, 25 Oct 2003 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago * ChangeLog-9197: Fix typos.
kazu [Sat, 25 Oct 2003 16:26:30 +0000 (16:26 +0000)]
* ChangeLog-9197: Fix typos.
* NEWS: Likewise.
* ld.texinfo: Likewise.
* ldlang.c: Fix comment typos.

20 years ago * path.cc (normalize_posix_path): Test runs of more than two
corinna [Sat, 25 Oct 2003 16:12:45 +0000 (16:12 +0000)]
* path.cc (normalize_posix_path): Test runs of more than two
dots for being a run of only dots.  Let it pass if not.

20 years ago * fhandler.cc (fhandler_base::ioctl): Handle FIONBIO.
corinna [Sat, 25 Oct 2003 12:32:56 +0000 (12:32 +0000)]
* fhandler.cc (fhandler_base::ioctl): Handle FIONBIO.

20 years ago*** empty log message ***
gdbadmin [Sat, 25 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sat, 25 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago2003-10-24 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 24 Oct 2003 20:24:05 +0000 (20:24 +0000)]
2003-10-24  Andrew Cagney  <cagney@redhat.com>

* target.c: Include "gdbcore.h".
(get_target_memory, get_target_memory_unsigned): New functions.
* target.h (get_target_memory, get_target_memory_unsigned): Declare.
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr):
Use get_target_memory_unsigned.
* Makefile.in (target.o): Update dependencies.

20 years ago2003-10-22 Michael Chastain <mec@shout.net>
chastain [Fri, 24 Oct 2003 19:55:09 +0000 (19:55 +0000)]
2003-10-22  Michael Chastain  <mec@shout.net>

* gdb.mi/pthreads.c: Add copyright notice.

20 years agoRename native_mutex to fast_mutex throughout.
tpfaff [Fri, 24 Oct 2003 19:34:47 +0000 (19:34 +0000)]
Rename native_mutex to fast_mutex throughout.
Rename pthread_key::save_key_to_buffer to
pthread_key::_fixup_before_fork throughout.
Rename pthread_key::recreate_key_from_buffer to
pthread_key::_fixup_after_fork throughout.

* thread.cc (native_mutex::init): Remove.
(native_mutex::lock): Ditto.
(native_mutex::unlock): Ditto.
(pthread::push_cleanup_handler): InterlockedExchangePointer
is not needed here.
(pthread_rwlock::pthread_rwlock): Initialize readers list mutex.
(pthread_rwlock::add_reader): Add reader via List_insert.
(pthread_rwlock::lookup_reader): Lock list while walking through.
(pthread_cond::init): Locking the init mutex is now void.
(pthread_rwlock::init): Ditto.
(pthread_mutex::init): Ditto.
* thread.h: Include security.h.
(fast_mutex): New class. Replacement for native_mutex.
(List_insert): New template function.
(List_remove): Ditto.
(List::List): Initialize synchronising mutex.
(List::fixup_after_fork): New method.
(List::insert): Add node via List_insert.
(List::remove): Remove node via List_remove.
(List::pop): Remove.
(List::for_each): Lock list while walking through.
(List::mx_init): New method.
(pthread_mutex::fixup_after_fork): Fixup mutex list after fork.
(pthread::fixup_after_fork): Ditto.
(pthread_conds::fixup_after_fork): Ditto.
(pthread_rwlock::fixup_after_fork): Ditto.
(semaphore::fixup_after_fork): Ditto.
(pthread_rwlock::readers_mx): New member.

20 years ago2003-10-24 Dave Brolley <brolley@redhat.com>
brolley [Fri, 24 Oct 2003 19:03:37 +0000 (19:03 +0000)]
2003-10-24  Dave Brolley  <brolley@redhat.com>

        * configure.in: Set program_transform_name to s,x,x, to avoid
        installing with the target prefix.
        * configure: Regenerate.

20 years ago2003-10-24 Dave Brolley <brolley@redhat.com>
brolley [Fri, 24 Oct 2003 19:03:17 +0000 (19:03 +0000)]
2003-10-24  Dave Brolley  <brolley@redhat.com>

        * configure.in: Set program_transform_name to s,x,x, to avoid
        installing with the target prefix.
        * configure: Regenerate.

20 years ago2003-10-24 Dave Brolley <brolley@redhat.com>
brolley [Fri, 24 Oct 2003 19:03:01 +0000 (19:03 +0000)]
2003-10-24  Dave Brolley  <brolley@redhat.com>

        * configure.in: Set program_transform_name to s,x,x, to avoid
        installing with the target prefix.
        * configure: Regenerate.

20 years ago2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 24 Oct 2003 18:55:39 +0000 (18:55 +0000)]
2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Fix a typo.

20 years agoIndex: mi/ChangeLog
cagney [Fri, 24 Oct 2003 17:37:02 +0000 (17:37 +0000)]
Index: mi/ChangeLog
2003-10-24  Andrew Cagney  <cagney@redhat.com>

* tui-out.c: Fix "fortunatly"[sic].

Index: doc/ChangeLog
2003-10-24  Andrew Cagney  <cagney@redhat.com>

* annotate.texinfo: Fix "fortunatly"[sic].

2003-10-24  Andrew Cagney  <cagney@redhat.com>

* osabi.c (gdbarch_init_osabi): Fix typos, and "fortunatly"[sic].
* PROBLEMS, arch-utils.c, cli-out.c, command.h: Ditto.
* complaints.c, cris-tdep.c, disasm.c, dwarf2-frame.c: Ditto.
* frame.c, frame.h, infcall.c, infcmd.c, infrun.c: Ditto.
* kod.c, mips-tdep.c, regcache.c, regcache.h, remote.c: Ditto.

20 years ago2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 24 Oct 2003 15:41:23 +0000 (15:41 +0000)]
2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC
for .interp, .strtab and .symtab. Use specified section
attributes.

20 years ago2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 24 Oct 2003 15:40:19 +0000 (15:40 +0000)]
2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Check demangled symbols.

20 years ago2003-10-24 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 24 Oct 2003 15:36:16 +0000 (15:36 +0000)]
2003-10-24  Andrew Cagney  <cagney@redhat.com>

* osabi.c (gdbarch_init_osabi): Add comment on 32-bit vs 64-bit.
(can_run_code_for): Use the OO term "singleton".

20 years ago * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.
rsandifo [Fri, 24 Oct 2003 15:18:29 +0000 (15:18 +0000)]
* elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.

20 years agobfd/
hjl [Fri, 24 Oct 2003 14:55:13 +0000 (14:55 +0000)]
bfd/

2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
hash table for real symbols.

include/

2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove
"wildcard".

ld/

2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Check "symbol" instead of
"wildcard" and "pattern". Fix a typo.
(lang_finalize_version_expr_head): Likewise.
(lang_register_vers_node): Likewise.
(realsymbol): New function.
(lang_new_vers_pattern): Set "symbol" and remove "wildcard".

* ldlex.l (V_IDENTIFIER): Allow '\\'.

20 years ago * fhandler.cc (fhandler_base::fcntl): Don't clobber O_APPEND when
corinna [Fri, 24 Oct 2003 12:11:20 +0000 (12:11 +0000)]
* fhandler.cc (fhandler_base::fcntl): Don't clobber O_APPEND when
both O_NONBLOCK/O_NDELAY are set for F_SETFL.

20 years agoOops - omitted from patch that added a second parameter to lang_memory_region_lookup.
nickc [Fri, 24 Oct 2003 09:54:41 +0000 (09:54 +0000)]
Oops - omitted from patch that added a second parameter to lang_memory_region_lookup.

20 years ago * path.cc (win32_device_name): Fix comment.
corinna [Fri, 24 Oct 2003 08:13:14 +0000 (08:13 +0000)]
* path.cc (win32_device_name): Fix comment.

20 years ago* fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set return value in
cgf [Fri, 24 Oct 2003 01:13:22 +0000 (01:13 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set return value in
FIONBIO case.

20 years agodaily update
amodra [Fri, 24 Oct 2003 00:00:08 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Fri, 24 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-10-23 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 23 Oct 2003 22:36:13 +0000 (22:36 +0000)]
2003-10-23  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (stack.o): Add $(regcache_h).
* stack.c: Include "regcache.h"
(return_command): Rewrite.  Use get_frame_id and
get_selected_frame.  Eliminate "deprecated_selected_frame".  Warn
about unhandled return-values.
* value.h (set_return_value): Delete declaration.
* values.c (set_return_value): Delete function.

20 years ago2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 23 Oct 2003 22:06:36 +0000 (22:06 +0000)]
2003-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c: (ia64_frame_cache): Add new prev_cfm field.
        (pseudo_regs): Add comment regarding register stack registers.
        (ia64_alloc_frame_cache):  Initialize new prev_cfm field to 0.
        (floatformat_valid): New static routine.
        (floatformat_ia64_ext): Add name field and set up is_valid routine
        to floatformat_valid().
        (examine_prologue):  For the previous cfm, use
        frame_unwind_register()
        if the cfm is not stored in a register-stack register.  Save the
        previous cfm value in the prev_cfm field.  Add debug output.
        (ia64_frame_this_id): Use frame_id_build_special() to also register
        the bsp.  Add debug output.
        (ia64_sigtramp_frame_this_id): Ditto.
        (ia64_frame_prev_register):  Look at cache saved_regs for a few more
        registers and also add some checks for framelessness before accepting
        current register values for fields such as return address.  For cfm,
        use the cached prev_cfm field if available.  Add comment to explain
        PSR logic.  Add debug output.
        (ia64_sigtramp_frame_init_saved_regs): Save the bsp and sp addresses
        as part of initialization.
        (ia64_sigtramp_frame_cache): Hard-code stack size as it can't be
        calculated.  Cache the bsp and cfm values.
        (ia64_sigtramp_frame_prev_register): Add logic to this routine out
        instead of using ia64_frame_prev_register() which doesn't expect most
        registers to be saved.  The saved values for bsp and sp
        can be taken from the cache.  Add debug output.
        (ia64_push_dummy_call): Use frame_id_build_special() to also register
        the bsp.

20 years ago2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 23 Oct 2003 21:46:05 +0000 (21:46 +0000)]
2003-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Use absolute newlib basedir when forming
        CC_FOR_NEWLIB include options.
        * configure: Regenerated.

20 years ago* osabi.c (gdbarch_init_osabi): A handler is okay if it's for an
jimb [Thu, 23 Oct 2003 21:15:49 +0000 (21:15 +0000)]
* osabi.c (gdbarch_init_osabi): A handler is okay if it's for an
architecture the current arch can run code for --- but not if it's
a superset.
(can_run_code_for): New function.

20 years ago2003-10-23 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 23 Oct 2003 18:27:41 +0000 (18:27 +0000)]
2003-10-23  Michael Snyder  <msnyder@redhat.com>

        * section.c (asection): Fix typo in comment.

20 years agoWed Oct 22 19:03:57 UTC 2003 Brendan Conoboy <blc@redhat.com>
blc [Thu, 23 Oct 2003 18:16:32 +0000 (18:16 +0000)]
Wed Oct 22 19:03:57 UTC 2003  Brendan Conoboy  <blc@redhat.com>

        * lcd-char-display.cxx: Prefix std:: to cout and endl.

20 years ago2003-10-23 Artem B. Bityuckiy <mail_lists@mail.ru>
jjohnstn [Thu, 23 Oct 2003 18:07:13 +0000 (18:07 +0000)]
2003-10-23  Artem B. Bityuckiy  <mail_lists@mail.ru>

        * libc/string/wcsnlen.c: New file.
        * libc/include/wchar.h: Add wcsnlen prototype.
        * libc/string/Makefile.am: Add wcsnlen support.
        * libc/string/Makefile.in: Regenerated.
        * libc/string/wcstrings.tex: Add wcsnlen documentation.

20 years ago2003-10-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 23 Oct 2003 17:52:00 +0000 (17:52 +0000)]
2003-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the
linker option from gcc.

20 years ago * sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.
corinna [Thu, 23 Oct 2003 09:43:20 +0000 (09:43 +0000)]
* sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.
(EF_SH_MERGE_MACH): Combine them.

20 years ago * ld-powerpc/tlsexetoc.d: Correct.
amodra [Thu, 23 Oct 2003 09:03:01 +0000 (09:03 +0000)]
* ld-powerpc/tlsexetoc.d: Correct.
* ld-powerpc/tlstoc.d: Correct.

20 years ago * elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc
amodra [Thu, 23 Oct 2003 09:02:33 +0000 (09:02 +0000)]
* elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc
reloc symbol index to it.  Don't allow gd syms in shared libs
to be optimized.
(ppc64_elf_tls_optimize): Adjust get_tls_mask call.
(ppc64_elf_size_stubs): Likewise.
(ppc64_elf_relocate_section): Check that tls relocs are only used
with tls syms, and similarly for non-tls.  Correct symbol used
when optimizing toc tls code.

20 years ago * fhandler_proc.cc (format_proc_partitions): Use new device code
corinna [Thu, 23 Oct 2003 08:53:59 +0000 (08:53 +0000)]
* fhandler_proc.cc (format_proc_partitions): Use new device code
to get major and minor device numbers.  Fix size evaluation.

20 years agoAdd ColdFire test
nickc [Thu, 23 Oct 2003 08:26:19 +0000 (08:26 +0000)]
Add ColdFire test

20 years ago* MAINTAINERS: Move myself from paper trail section back to write
wilson [Thu, 23 Oct 2003 06:27:29 +0000 (06:27 +0000)]
* MAINTAINERS: Move myself from paper trail section back to write
after approval section.

20 years agogas/
hjl [Thu, 23 Oct 2003 06:12:16 +0000 (06:12 +0000)]
gas/

2003-10-22  Andreas Schwab  <schwab@suse.de>
    H.J. Lu  <hongjiu.lu@intel.com>
    Jim Wilson <wilson@specifixinc.com>

* config/tc-ia64.c (update_qp_mutex): New.
(note_register_values): Properly handle one of PRs in compare
is PR0. Don't add a mutex relation for .and.orcm/.or.andcm.
Clear mutex relation for .none/.unc. Don't clear mutex relation
on predicated compare.

testsuite/

2003-10-22  Andreas Schwab  <schwab@suse.de>
    H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-mutex-err.s: Add more tests for compare.
* gas/ia64/dv-mutex.s: Likewise.

* gas/ia64/dv-mutex-err.l: Updated.
* gas/ia64/dv-mutex.d: Likewise.

20 years ago2003-10-22 Michael Chastain <mec@shout.net>
chastain [Thu, 23 Oct 2003 04:43:53 +0000 (04:43 +0000)]
2003-10-22  Michael Chastain  <mec@shout.net>

* gdb.threads/pthreads.c: Add copyright notice.

20 years ago2003-10-22 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 23 Oct 2003 03:01:54 +0000 (03:01 +0000)]
2003-10-22  Andrew Cagney  <cagney@redhat.com>

* exec.h: New file.
* win32-nat.c: Include "exec.h".
* solib.c: Include "exec.h".
* target.h (build_section_table): Delete declaration.
* somsolib.c: Include "exec.h".
(exec_ops): Delete extern declaration.
* rs6000-nat.c: Update copyright.  Include "exec.h".
(exec_ops): Delete extern declaration.
* pa64solib.c: Update copyright.  Include "exec.h".
(exec_ops): Delete extern declaration.
* exec.c: Update copyright.  Include "exec.h".
* corelow.c: Update dependencies.  Include "exec.h".
* Makefile.in (exec_h): Define.
(exec.o, somsolib.o): Update dependencies.
(pa64solib.o, corelow.o): Update dependencies.

20 years ago2003-10-22 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 23 Oct 2003 00:13:52 +0000 (00:13 +0000)]
2003-10-22  Andrew Cagney  <cagney@redhat.com>

* target.c: Include "gdb_assert.h" (target_read): Call
"target_read_partial", not "target_write_partial".
(default_read_partial, default_write_partial): New function.
(target_read_partial, target_write_partial): Simplify, assume that
there is always a read/write method.
(update_current_target, add_target): Always set "to_read_partial"
and "to_write_partial".
(target_write, target_read): Fail on a zero byte transfer.
* Makefile.in (target.o): Update dependencies.
* target.h: Update copyright date.
(target_object): Fix typo.

20 years ago2003-10-23 Kei Sakamoto <sakamoto.kei@renesas.com>
ksakamot [Thu, 23 Oct 2003 00:11:59 +0000 (00:11 +0000)]
2003-10-23  Kei Sakamoto  <sakamoto.kei@renesas.com>

* gdb.texinfo (Contributors to GDB): Replace "Renesas"
with "Hitachi" and "Mitsubishi".

20 years agomerge from gcc
dj [Thu, 23 Oct 2003 00:01:06 +0000 (00:01 +0000)]
merge from gcc

20 years agodaily update
amodra [Thu, 23 Oct 2003 00:00:21 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Thu, 23 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-10-22 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 22 Oct 2003 23:54:10 +0000 (23:54 +0000)]
2003-10-22  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (convert_from_func_ptr_addr): Convert to a pure
multi-arch method, add "targ" parameter.
(struct target_ops): Declare.
* gdbarch.h, gdbarch.c: Re-generate.
* Makefile.in (c-valprint.o): Update dependencies.
* arch-utils.h: Update copyright.
(convert_from_func_ptr_addr_identity): Declare.
* arch-utils.c (convert_from_func_ptr_addr_identity): New function.
* ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Upate.
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Update.
* infcall.c (find_function_addr, call_function_by_hand): Update.
* c-valprint.c: Include "target.h".
(print_function_pointer_address): Update.

20 years ago2003-10-22 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 22 Oct 2003 21:39:09 +0000 (21:39 +0000)]
2003-10-22  Andrew Cagney  <cagney@redhat.com>

* target.c (target_close): New function.
(debug_to_close): Use "target_close".
(push_target): Use "target_close".
(unpush_target): Use "target_close".
(pop_target): Use "target_close".
* target.h (struct target_ops): Add "to_xclose".
(target_open): Delete macro.  Move comment to "to_open".
(target_close): Replace macro with function that takes a target.
* top.c (quit_target): Pass "current_target" to "target_close".

20 years ago * external.cc (cygwin_internal): Add CW_GET_ERRNO_FROM_WINERROR
corinna [Wed, 22 Oct 2003 20:32:20 +0000 (20:32 +0000)]
* external.cc (cygwin_internal): Add CW_GET_ERRNO_FROM_WINERROR
handling.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add
CW_GET_ERRNO_FROM_WINERROR.

20 years ago(coff_swap_scnhdr_in): Only remove padding when processing an executable.
nickc [Wed, 22 Oct 2003 15:12:58 +0000 (15:12 +0000)]
(coff_swap_scnhdr_in): Only remove padding when processing an executable.

20 years ago * Makefile.in: Add $(LIBSERVER) rule.
corinna [Wed, 22 Oct 2003 10:07:56 +0000 (10:07 +0000)]
* Makefile.in: Add $(LIBSERVER) rule.
* cygserver.h: Moved from include/cygwin to here.
* cygserver_ipc.h: Moved from ../cygserver to here.
* cygserver_shm.h: Ditto.
* cygwin.din: Add shmat, shmctl, shmdt and shmget.
* fhandler_tty.cc (fhandler_tty_slave::open): Don't warn about handle
dup'ing if not build with USE_SERVER.
* shm.cc: Include cygerrno.h unconditionally.
(shmat): Set errno to ENOSYS and return -1 if not build with
USE_SERVER.
(shmctl): Ditto.
(shmdt): Ditto.
(shmget): Ditto.
* woutsup.h: Remove.
* include/cygwin/cygserver_process.h: Moved to ../cygserver directory.
* include/cygwin/cygserver_transport.h: Ditto.
* include/cygwin/cygserver_transport_pipes.h: Ditto.
* include/cygwin/cygserver_transport_sockets.h: Ditto.
* include/cygwin/version.h: Bump API minor number.

20 years ago Accomodate moving cygserver header files from cygwin/include/cygwin
corinna [Wed, 22 Oct 2003 10:04:11 +0000 (10:04 +0000)]
Accomodate moving cygserver header files from cygwin/include/cygwin
to here and cygwin dir.
* Makefile.in (EXEEXT): Drop as unused.
(EXEEXT_FOR_BUILD): Ditto.
(all): Don't build libcygserver.a.
* cygserver_process.h: Moved from cygwin/include/cygwin to here.
* cygserver_transport.h: Ditto.
* cygserver_transport_pipes.h: Ditto.
* cygserver_transport_sockets.h: Ditto.
* ipc.h: Moved to ../cygwin and renamed to cygserver_ipc.h.
* shm.h: Moved to ../cygwin and renamed to cygserver_shm.h.

20 years ago * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
rsandifo [Wed, 22 Oct 2003 08:45:00 +0000 (08:45 +0000)]
* libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.

20 years agobfd/
jakub [Wed, 22 Oct 2003 06:58:15 +0000 (06:58 +0000)]
bfd/
* elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals
field changes.
(_bfd_elf_link_assign_sym_version): Likewise.
* elflink.h (size_dynamic_sections): Likewise.
include/
* bfdlink.h (struct bfd_elf_version_expr): Remove match field.
Add wildcard and mask fields.
(BFD_ELF_VERSION_C_TYPE): Define.
(BFD_ELF_VERSION_CXX_TYPE): Likewise.
(BFD_ELF_VERSION_JAVA_TYPE): Likewise.
(struct bfd_elf_version_expr_head): New.
(struct bfd_elf_version_tree): Add match field.
Change type of globals and locals fields
to struct bfd_elf_version_expr_head.
ld/
* ldlang.c: Include hashtab.h.
(lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
lang_vers_match_lang_java): Remove.
(lang_vers_match): New function.
(lang_new_vers_pattern): Initialize wildcard and mask
fields, don't initialize match.
(lang_new_vers_node): Use xcalloc.  Adjust for globals and
locals field type changes.  Set match field.
(version_expr_head_hash, version_expr_head_eq): New functions.
(lang_finalize_version_expr_head): New function.
(lang_register_vers_node): Call lang_finalize_version_expr_head.
Search in hash table if not wildcard when looking for duplicates.
* emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
duplicate checking.  Initialize all fields of dot_entry from entry
with the exception of pattern and next.

20 years agodaily update
amodra [Wed, 22 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Wed, 22 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-10-21 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 21 Oct 2003 22:56:38 +0000 (22:56 +0000)]
2003-10-21  Elena Zannoni  <ezannoni@redhat.com>

* minsyms.c (lookup_minimal_symbol_text): Remove unused parameter.
Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
* symtab.h (lookup_minimal_symbol_text): Update.
  * breakpoint.c (create_overlay_event_breakpoint,
  create_longjmp_breakpoint): Update callers.
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Update caller.
* symtab.c (find_pc_sect_line): Ditto.

20 years ago2003-10-21 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:39:04 +0000 (21:39 +0000)]
2003-10-21  Dave Brolley  <brolley@redhat.com>

        * mainDynamic.cxx (try_load_file): Call set_loader of
        session or board as appropriate.
        * commonCfg.h (loader): New member of SessionCfg.
        (set_loader): New method of SessionCfg.
        (loader): New member of SessionCfg.
        (set_loader): New method of BoardCfg.
        * commonCfg.cxx (SessionCfg): Initialize loader.
        (set_loader): New method of SessionCfg.
        (BoardCfg): Initialize loader.
        (set_loader): New method of SessionCfg.
        (set_loader): New method of BoardCfg.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:38:24 +0000 (21:38 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidbusutil.h (passthrough_bus::target): Now 'protected'.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Stan Cox  <scox@redhat.com>
        * sidmiscutil.h (logger): New class.
        * sidattrutil.h (fixed_attribute_map_with_logging_component): Convert
        to use logger.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (set_total_latency): New method of basic_cpu.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidattrutil.h (SID_LOG_PERSISTENT_BUFFER): New macro.
        (SID_LOG_TRANSIENT_MALLOC_BUFFER): New macro.
        (buffer_output): New member of
        fixed_attribute_map_with_logging_component.
        (fixed_attribute_with_logging_component): Add buffer-output attribute.
        Use SID_LOG_PERSISTENT_BUFFER.
        (~fixed_attribute_with_logging_component): Use
        SID_LOG_PERSISTENT_BUFFER.
        (log): Buffer output based on buffer_output. Use
        SID_LOG_TRANSIENT_MALLOC_BUFFER.
        * sidcpuutil.h (get_total_latency): New method of basic_cpu.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidattrutil.h (log): Don't use STDCTYPE for vsnprint or vasprintf.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Stan Cox  <scox@redhat.com>
        * sidmiscutil.h (bijection::find): Add typename.
        * sidbusutil.h (ro_value_control_register): New ValueType typedef.
        (control_register_bus::word_write, control_register_bus::word_read):
        Add typename

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidattrutil.h (iostream): #include it.
        (log): Use std::cerr and std::endl.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * sidattrutil.h (fixed_attribute_map_with_logging_component):
        Initialize saved_messages and saved_levels.
        (~fixed_attribute_map_with_logging_component): Output saved messages.
        Delete buffer if necessary.
        (log): Save message for later if output pin not connected. Otherwise
        output saved messages before the new message. Use vsnprintf or
        vasprintf if possible.
        (check_level): New member of fixed_attribute_map_with_logging_component.
        (output_saved_messages): Ditto.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:36:29 +0000 (21:36 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Graydon Hoare  <graydon@redhat.com>
        * sid-visual-sched.tk (toggle_subscription): Do not alter the
        enabled? flag of the scheduler when updating subscriptions.
        (set_sub): Alter the subscription in an order that respects
        whether time is zero or not.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:31:32 +0000 (21:31 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        * compLoader.cxx (loader_probe_bus): Now takes pin as an argument.
        Remove warn_write_to_code_p. Initialize write_to_code_address_pin.
        (SID_GB_WRITE): Drive write_to_code_address_pin instead of
        generating a message here.
        (write_to_code_address_pin): New member of generic_loader.
        (set_warn_write_to_code): Removed.
        (generic_loader): remove "warn-write-to-code?" attribute and pin.
        Add "write-to-code-address" pin.
        * sw-load-elf.xml: Remove reference to "warn-write-to-code?" pin
        and attribute. Document "write-to-code-address" pin.
        * sw-load-elf.txt: Regenerated.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * compLoader.cxx: Use sidutil::fixed_bus_map_component.
        (loader_probe_bus): New class.
        (warn_write_to_code_pin): New member of generic_loader.
        (probe_upstream): Ditto.
        (probe_downstream): Ditto.
        (set_warn_write_to_code): New method of generic_loader.
        (generic_loader): Now inherits fixed_bus_map_component.
        Initialize new members.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Stan Cox  <scox@redhat.com>
        * elfload.c (textSegmentAddress): New function.
        * elfload.h (textSegmentAddress): Likewise.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:30:44 +0000 (21:30 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        * compLoader.cxx (loader_probe_bus): Now takes pin as an argument.
        Remove warn_write_to_code_p. Initialize write_to_code_address_pin.
        (SID_GB_WRITE): Drive write_to_code_address_pin instead of
        generating a message here.
        (write_to_code_address_pin): New member of generic_loader.
        (set_warn_write_to_code): Removed.
        (generic_loader): remove "warn-write-to-code?" attribute and pin.
        Add "write-to-code-address" pin.
        * sw-load-elf.xml: Remove reference to "warn-write-to-code?" pin
        and attribute. Document "write-to-code-address" pin.
        * sw-load-elf.txt: Regenerated.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * compLoader.cxx: Use sidutil::fixed_bus_map_component.
        (loader_probe_bus): New class.
        (warn_write_to_code_pin): New member of generic_loader.
        (probe_upstream): Ditto.
        (probe_downstream): Ditto.
        (set_warn_write_to_code): New method of generic_loader.
        (generic_loader): Now inherits fixed_bus_map_component.
        Initialize new members.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Stan Cox  <scox@redhat.com>
        * elfload.c (textSegmentAddress): New function.
        * elfload.h (textSegmentAddress): Likewise.

20 years ago2003-10-21 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 21 Oct 2003 21:29:54 +0000 (21:29 +0000)]
2003-10-21  Andrew Cagney  <cagney@redhat.com>

* target.c (errno): Delete extern declaration.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:29:31 +0000 (21:29 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        * cgen-model.h (class cgen_model): step_cycles and step_latency
        now public.

2003-10-07  Dave Brolley  <brolley@redhat.com>

        * cgen-model.h (sidtypes.h): #include it.
        (model_insn_before): Call step_latency. Initialize vliw_cycles.
        (model_insn_after): Call step_cycles. Update vliw_cycles.
        (step_cycles): New method.
        (step_latency): New method.
        (vliw_cycles): New member of cgen_model.
        * cgen-engine.h (enum sem_status): Add SEM_STATUS_STALLED.

20 years ago2003-10-07 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 21:27:41 +0000 (21:27 +0000)]
2003-10-07  Dave Brolley  <brolley@redhat.com>

        For Graydon Hoare  <graydon@redhat.com>
        * configrun-sid.in: Add --tksched option for scheduler control panel.

20 years ago2003-10-21 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 21 Oct 2003 20:41:43 +0000 (20:41 +0000)]
2003-10-21  Andrew Cagney  <cagney@redhat.com>

* callback.c (os_truncate): Call "truncate", and not "stat".

20 years ago2003-10-21 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Oct 2003 16:42:00 +0000 (16:42 +0000)]
2003-10-21  Dave Brolley  <brolley@redhat.com>

        * sid-model.scm (-gen-model-class-decls): Generate MAX_UNITS as
        a static const int.
        * decode.scm (-opcode-slots): Correct typo in logit call.

20 years ago * archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu,
corinna [Tue, 21 Oct 2003 15:49:44 +0000 (15:49 +0000)]
* archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu,
bfd_mach_sh4a_nofpu): New machine types.
* bfd-in2.h: Rebuilt.
* cpu-sh.c (compatible): Remove unused function.
(SH4A_NEXT, SH4AL_DSP_NEXT, SH4_NOFPU_NEXT, SH4A_NOFPU_NEXT): New.
(arch_info_struct): Add sh4a, sh4al_dsp, sh4-nofpu and sh4a-nofpu.
* elf32-sh.c (sh_elf_set_mach_from_flags): Handle them.

20 years agoAdd warning messages for the use of an undeclared memory region and the
nickc [Tue, 21 Oct 2003 15:33:46 +0000 (15:33 +0000)]
Add warning messages for the use of an undeclared memory region and the
redefintion of an already declared region.

20 years agoFix up error messages for Maverick.
nickc [Tue, 21 Oct 2003 14:20:38 +0000 (14:20 +0000)]
Fix up error messages for Maverick.

20 years agoSet the machine number as well as the architecture when converting from a
nickc [Tue, 21 Oct 2003 14:08:12 +0000 (14:08 +0000)]
Set the machine number as well as the architecture when converting from a
binary file to another file type.

20 years agoAdd ColfFire v4 support
nickc [Tue, 21 Oct 2003 13:28:57 +0000 (13:28 +0000)]
Add ColfFire v4 support