OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years agooops - omitted from the previous checkin.
nickc [Fri, 19 Dec 2003 11:59:20 +0000 (11:59 +0000)]
oops - omitted from the previous checkin.

20 years agoAdd support for m32r-linux target, including a RELA ABI and PIC.
nickc [Fri, 19 Dec 2003 11:43:36 +0000 (11:43 +0000)]
Add support for m32r-linux target, including a RELA ABI and PIC.

20 years agoDo not mark .reloc sections as containing debug info.
nickc [Fri, 19 Dec 2003 10:01:58 +0000 (10:01 +0000)]
Do not mark .reloc sections as containing debug info.

20 years ago2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
chastain [Fri, 19 Dec 2003 06:45:01 +0000 (06:45 +0000)]
2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>

* hppa-tdep.c (hppa_gdbarch_init): Set long double floating
point type to floatformat_ia64_quad_big.

20 years agomerge from gcc
dj [Fri, 19 Dec 2003 04:04:44 +0000 (04:04 +0000)]
merge from gcc

20 years ago * frv-tdep.c (skip_prologue_using_sal): New function. Taken verbatim
kevinb [Fri, 19 Dec 2003 00:34:26 +0000 (00:34 +0000)]
* frv-tdep.c (skip_prologue_using_sal): New function.  Taken verbatim
from mips-tdep.c.
(frv_analyze_prologue): Rework to account for intermixed prologue /
body instructions.

20 years ago*** empty log message ***
gdbadmin [Fri, 19 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Thu, 18 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 18 Dec 2003 22:13:47 +0000 (22:13 +0000)]
2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>

* hppa-tdep.c (hppa_gdbarch_init): Set sizeof(long_double) to 128.
Document type sizes for hppa*-*-hpux* compilers available to me.

20 years ago2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 18 Dec 2003 18:22:32 +0000 (18:22 +0000)]
2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>

* hppam3-nat.c: Delete obsolete file.
* hppab-nat.c: Delete obsolete file.
* Makefile.in: Remove references.

20 years ago(input_file_open): Remove call to stat(). Add a check for getc() failing, and
nickc [Thu, 18 Dec 2003 18:03:08 +0000 (18:03 +0000)]
(input_file_open): Remove call to stat().  Add a check for getc() failing, and
catch the case where the failure is due to an attempt to read a directory.

20 years ago2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 18 Dec 2003 16:25:21 +0000 (16:25 +0000)]
2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/sect-cmd.exp: Handle compiling test case from multiple
source files.

20 years agoWhen scanning MS import libraries allow for the possible presence of static
nickc [Thu, 18 Dec 2003 14:56:43 +0000 (14:56 +0000)]
When scanning MS import libraries allow for the possible presence of static
objects.

20 years ago * ld-mips-elf/reloc-1[ab].s: New source files.
rsandifo [Thu, 18 Dec 2003 10:25:12 +0000 (10:25 +0000)]
* ld-mips-elf/reloc-1[ab].s: New source files.
* ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests.
* ld-mips-elf/reloc-2[ab].s: New source files.
* ld-mips-elf/reloc-2.{d,ld}: New test.
* ld-mips-elf/reloc-3[ab].s: New source files.
* ld-mips-elf/reloc-3-{r,srec}.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

20 years agobfd/
rsandifo [Thu, 18 Dec 2003 10:23:06 +0000 (10:23 +0000)]
bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.  Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16,
_bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16,
and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.  Change rightshift
to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(_bfd_mips_elf32_gprel16_reloc): Remove special case.
(mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise.

* elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.  Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc
for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.
Change R_MIPS_HI16's rightshift to 16.
(mips_elf64_howto_table_rela): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.
Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well.
(mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete.
(mips_elf64_shift6_reloc): Remove special case.  Use
_bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue.

* elfn32-mips.c (prev_reloc_section): Delete.
(prev_reloc_address, prev_reloc_addend): Delete.
(elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for
elf64-mips.c
(GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND.
(mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise.
(mips16_jump_reloc, mips16_gprel_reloc): Likewise.
(mips_elf_shift6_reloc): Likewise.  Delete use of SET_RELOC_ADDEND.

* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use
_bfd_relocate_contents to install an in-place addend.
(mips_hi16): New structure.
(mips_hi16_list): Moved from elf32-mips.c.
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions.
(_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions.
(mips_elf_calculate_relocation): Assume addend is unshifted.
(_bfd_mips_elf_relocate_section): Don't apply the howto rightshift
on top of the usual high-part shift.  Don't shift the addend right
before calling mips_elf_calculate_relocation.

* elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare.
(_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare.
(_bfd_mips_elf_generic_reloc): Declare.

gas/
* config/tc-mips.c (mips_need_elf_addend_fixup): Delete.
(md_apply_fix3): Remove bfd_install_relocation workarounds.
(tc_gen_reloc): Likewise. Factor handling of pc-relative relocations
and treat fx_addnumber as relative to the relocation address.

gas/testsuite/
* gas/mips/mips16-jalx.d: Use -mabi=o64.
* gas/mips/mips16.d: Likewise.
* gas/mips/elf-rel17.[sd]: New test.
* gas/mips/mips.exp: Run it.

20 years ago * config/tc-mips.c (s_change_section): When parsing the MIPS-specific
rsandifo [Thu, 18 Dec 2003 10:18:16 +0000 (10:18 +0000)]
* config/tc-mips.c (s_change_section): When parsing the MIPS-specific
.section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.

20 years ago2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 18 Dec 2003 07:48:37 +0000 (07:48 +0000)]
2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/environ.exp: Handle compiling test case from multiple
source files.

20 years ago * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
mmitchel [Thu, 18 Dec 2003 05:45:12 +0000 (05:45 +0000)]
* config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
* doc/c-arm.texi (ARM Options): Likewise.

20 years ago* sigproc.cc (proc_subproc): Simplify code to just remove all zombies if
cgf [Thu, 18 Dec 2003 04:42:30 +0000 (04:42 +0000)]
* sigproc.cc (proc_subproc): Simplify code to just remove all zombies if
SIGCHLD == SIG_IGN.

20 years ago*** empty log message ***
gdbadmin [Thu, 18 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Wed, 17 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago* pinfo.h (pinfo::operator ==): Add a way to check for _pinfo types.
cgf [Wed, 17 Dec 2003 22:47:32 +0000 (22:47 +0000)]
* pinfo.h (pinfo::operator ==): Add a way to check for _pinfo types.
* sigproc.cc (proc_subproc): Ensure that zombie is removed when SIGCHLD ==
SIG_IGN but still allow wait()ing threads to wake up.

20 years ago2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
chastain [Wed, 17 Dec 2003 22:32:17 +0000 (22:32 +0000)]
2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/structs.exp: Call gdb_exit as well as gdb_start.

20 years ago2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 17 Dec 2003 22:21:00 +0000 (22:21 +0000)]
2003-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * symtab.c (decode_line_spec): Change call to decode_line_1.

20 years ago2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 17 Dec 2003 21:47:46 +0000 (21:47 +0000)]
2003-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * linespec.h (decode_line_1): Add new not_found_ptr parameter.
        * linespec.c (decode_line_1): Add new parameter.  Pass on
        new parameter to decode_variable and symtab_from_filename
        functions.
        (decode_variable): Add new not_found_ptr parameter.  Throw exception
        rather than failing if the not_found_ptr is non-null and the
        function is not found.
        (symtab_from_filename): Add new not_found_ptr parametr.   Throw
        exception rather than failing if the not_found_ptr is non-null and
        the source file is not found.
        * breakpoint.c: Change all callers of decode_line_1 to add default
        extra parameter for decode_line_1 calls.
        * tracepoint.c: Ditto.
        * cli/cli-cmds.c: Ditto.

20 years ago* gdb.base/freebpcmd.c: Add copyright notice.
jimb [Wed, 17 Dec 2003 21:34:51 +0000 (21:34 +0000)]
* gdb.base/freebpcmd.c: Add copyright notice.

20 years ago* gdb.base/freebpcmd.exp: Mark the interesting failure as known.
jimb [Wed, 17 Dec 2003 21:28:40 +0000 (21:28 +0000)]
* gdb.base/freebpcmd.exp: Mark the interesting failure as known.

20 years ago2003-12-11 Michael Chastain <mec.gnu@mindspring.com>
chastain [Wed, 17 Dec 2003 20:13:54 +0000 (20:13 +0000)]
2003-12-11  Michael Chastain  <mec.gnu@mindspring.com>

* rlmbutil.h: Require HAVE_MBSTATE_T for HANDLE_MULTIBYTE.
Revert requirement of HAVE_MBRTOWC.  Delete macro definitions
that attempted to fake mbstate_t if HAVE_MBSRTOCWS is defined
and HAVE_MBSTATE_T is not defined.

20 years ago2003-12-17 Dave Brolley <brolley@redhat.com>
brolley [Wed, 17 Dec 2003 19:51:02 +0000 (19:51 +0000)]
2003-12-17  Dave Brolley  <brolley@redhat.com>

        * sidmiscutil.h (delete_saved_messages): Use 'clear' method.

20 years agoReplace --error-explicit-parallel-conflicts with --ignore-parallel-conflitcs.
nickc [Wed, 17 Dec 2003 09:41:05 +0000 (09:41 +0000)]
Replace --error-explicit-parallel-conflicts with --ignore-parallel-conflitcs.
Add test of parallel constraint checking.

20 years ago * irix5-nat.c: Include mips-tdep.h.
brobecke [Wed, 17 Dec 2003 06:19:29 +0000 (06:19 +0000)]
    * irix5-nat.c: Include mips-tdep.h.

20 years ago2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
chastain [Wed, 17 Dec 2003 05:43:46 +0000 (05:43 +0000)]
2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.

20 years ago*** empty log message ***
gdbadmin [Wed, 17 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* exceptions.cc (set_signal_mask): Report on input argument rather than
cgf [Tue, 16 Dec 2003 23:28:02 +0000 (23:28 +0000)]
* exceptions.cc (set_signal_mask): Report on input argument rather than
getsigmask.
* fhandler.h (fhandler_base): Make friends with close_all_files.
* pinfo.cc (_pinfo::set_ctty): Add more debugging.
* sigproc.cc (proc_can_be_signalled): Detect state when signal handler thread
is gone in target process as an EPERM situation.  Set errno to ESRCH if process
doesn't exist.
(sigproc_terminate): Set sendsig to illegal value when closed.
(sig_send): Rely on proc_can_be_signalled setting the proper errno.
* syscalls.cc (close_all_files): Detect when all ttys are closed prior to
calling close_all_files.  The ctty needs to be closed explicitly in this case.

20 years agodaily update
amodra [Tue, 16 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years agoFix typo.
msnyder [Tue, 16 Dec 2003 21:49:41 +0000 (21:49 +0000)]
Fix typo.

20 years ago* solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)
kettenis [Tue, 16 Dec 2003 21:46:09 +0000 (21:46 +0000)]
* solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)
(SOLIB_CREATE_CATCH_UNLOAD_HOOK, SOLIB_LOADED_LIBRARY_PATHNAME)
(SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_HAVE_LOAD_EVENT)
(SOLIB_HAVE_UNLOAD_EVENT): Remove defines.

20 years ago* blockframe.c (inside_main_func): Don't treat a zero PC specially.
kettenis [Tue, 16 Dec 2003 21:23:50 +0000 (21:23 +0000)]
* blockframe.c (inside_main_func): Don't treat a zero PC specially.
Needed to fix PR backtrace/1476.

20 years ago2003-12-16 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 16 Dec 2003 20:21:09 +0000 (20:21 +0000)]
2003-12-16  Michael Snyder  <msnyder@redhat.com>

        Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
        * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.

20 years ago2003-12-16 David Carlton <carlton@kealia.com>
carlton [Tue, 16 Dec 2003 19:27:10 +0000 (19:27 +0000)]
2003-12-16  David Carlton  <carlton@kealia.com>

* cp-support.c (class_name_from_physname): Add DMGL_PARAMS.
(method_name_from_physname): Ditto.

20 years agoRemove -8 bias on PC-relative load instructions for arm-wince-pe target
nickc [Tue, 16 Dec 2003 17:44:35 +0000 (17:44 +0000)]
Remove -8 bias on PC-relative load instructions for arm-wince-pe target

20 years agoOnly skip one instance of each prefix character, if they are present.
nickc [Tue, 16 Dec 2003 11:10:42 +0000 (11:10 +0000)]
Only skip one instance of each prefix character, if they are present.

20 years ago * include/cygwin/ipc.h: Include sys/types.h.
corinna [Tue, 16 Dec 2003 10:15:27 +0000 (10:15 +0000)]
* include/cygwin/ipc.h: Include sys/types.h.

20 years ago * bsd_helper.cc (tunable_params): Add entries for kern.ipc.msgmnb and
corinna [Tue, 16 Dec 2003 10:13:34 +0000 (10:13 +0000)]
* bsd_helper.cc (tunable_params): Add entries for kern.ipc.msgmnb and
kern.ipc.msgtql.  Raise max value for kern.ipc.msgseg to 65535.
* cygserver.conf: Add kern.ipc.msgmnb and kern.ipc.msgtql.
* sysv_msg.cc (msginit): Add TUNABLE_INT_FETCH call for
kern.ipc.msgmnb and kern.ipc.msgtql.

20 years agomerge from gcc
dj [Tue, 16 Dec 2003 00:58:42 +0000 (00:58 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Tue, 16 Dec 2003 00:02:03 +0000 (00:02 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Mon, 15 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * gas/z8k/eidi.s: Add uppercase forms. Add forms with comma
cpg [Mon, 15 Dec 2003 22:03:19 +0000 (22:03 +0000)]
* gas/z8k/eidi.s: Add uppercase forms.  Add forms with comma
separated parameters.

20 years ago * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
cpg [Mon, 15 Dec 2003 22:02:42 +0000 (22:02 +0000)]
* config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
(ctrl_table): Add "flags" keyword and some comments.
(flag_table): Convert to uppercase.
(get_flags_operand): Be case insensitive.
(get_interrupt_operand): Be case insensitive.  Support notation
where the inperrupt arguments are separated by commas.
(get_operands): Check whether get_flags_operand consumed all
arguments.  Return failure if get_ctrl_operand didn't recognize a
valid control register.
(get_specific): Add case CLASS_CTRL: Test for valid control
register for ldctlb opcode.
(build_bytes): Check for valid control registers.

20 years ago * z8k-dis.c (intr_names): Removed.
cpg [Mon, 15 Dec 2003 22:01:43 +0000 (22:01 +0000)]
* z8k-dis.c (intr_names): Removed.
(print_intr, print_flags): New functions.
(unparse_instr): Use new functions.

20 years ago* i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.
kettenis [Mon, 15 Dec 2003 21:54:29 +0000 (21:54 +0000)]
* i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.
(i386_sol2_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset.
* config/i386/i386sol2.mh (XM_FILE): Set to xm-i386.h.
(XM_CLIBS): Remove.
(NATDEPFILES): Remove core-regset.o and corelow.o.
* config/i386/i386sol2.mt (TDEPFILES): Add corelow.o.

20 years agomerge from gcc
dj [Mon, 15 Dec 2003 19:03:58 +0000 (19:03 +0000)]
merge from gcc

20 years agomerge from gcc
dj [Mon, 15 Dec 2003 17:45:34 +0000 (17:45 +0000)]
merge from gcc

20 years agooops - omitted from previous delta
nickc [Mon, 15 Dec 2003 15:00:20 +0000 (15:00 +0000)]
oops - omitted from previous delta

20 years ago* thread.cc (pthread::init_main_thread): Make sure that the main thread has
cgf [Mon, 15 Dec 2003 14:38:12 +0000 (14:38 +0000)]
* thread.cc (pthread::init_main_thread): Make sure that the main thread has
valid handles.
(pthread::create_cancel_event): Fix error message.

20 years agoAdd PIPE_O attribute to "pop" instruction.
nickc [Mon, 15 Dec 2003 12:19:12 +0000 (12:19 +0000)]
Add PIPE_O attribute to "pop" instruction.

20 years ago(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.
nickc [Mon, 15 Dec 2003 12:02:37 +0000 (12:02 +0000)]
(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.

20 years agoEnsure that correct flags are set on known PE section types.
nickc [Mon, 15 Dec 2003 11:50:11 +0000 (11:50 +0000)]
Ensure that correct flags are set on known PE section types.

20 years ago * arm-opc.h (arm_opcodes): Put V6 instructions before XScale
mmitchel [Mon, 15 Dec 2003 05:01:41 +0000 (05:01 +0000)]
* arm-opc.h (arm_opcodes): Put V6 instructions before XScale
instructions.

20 years ago * gas/arm/thumbv6.s: Add nops.
mmitchel [Mon, 15 Dec 2003 04:47:23 +0000 (04:47 +0000)]
* gas/arm/thumbv6.s: Add nops.
* gas/arm/thumbv6.d: Use -M force-thumb option to objdump.  Add nops.

20 years agoadd out-of-date notice.
cgf [Mon, 15 Dec 2003 04:44:30 +0000 (04:44 +0000)]
add out-of-date notice.

20 years agoAdd missing ChangeLog entry.
cgf [Mon, 15 Dec 2003 04:17:27 +0000 (04:17 +0000)]
Add missing ChangeLog entry.

20 years ago* winsup.h (access_worker): Declare with added fhandler_base parameter.
cgf [Mon, 15 Dec 2003 04:16:41 +0000 (04:16 +0000)]
* winsup.h (access_worker): Declare with added fhandler_base parameter.
* syscalls.cc (access_worker): Accommodate extra fhandler_base argument.  Use
it instead of stat_worker to determine stat information, when appropriate.
* fhandler.cc (fhandler_base::device_access_denied): Pass fhandler pointer to
access_worker so that it can use the proper method for determining stat
information.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto.

20 years agowhite space
cgf [Mon, 15 Dec 2003 03:59:32 +0000 (03:59 +0000)]
white space

20 years agoRemove erroneous entry.
cgf [Mon, 15 Dec 2003 03:10:38 +0000 (03:10 +0000)]
Remove erroneous entry.

20 years ago*** empty log message ***
gdbadmin [Mon, 15 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

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

20 years ago* exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler
cgf [Sun, 14 Dec 2003 16:55:24 +0000 (16:55 +0000)]
* exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler
chain.

20 years ago* proc-api.c (procfs_note): Add format string to fprintf call.
kettenis [Sun, 14 Dec 2003 13:40:19 +0000 (13:40 +0000)]
* proc-api.c (procfs_note): Add format string to fprintf call.

20 years ago* i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
kettenis [Sun, 14 Dec 2003 10:59:06 +0000 (10:59 +0000)]
* i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
for `subl' and `xorl' instructions.

20 years ago* cygthread.cc (cygthread::stub): Revert previous change and again subsume
cgf [Sun, 14 Dec 2003 07:09:22 +0000 (07:09 +0000)]
* cygthread.cc (cygthread::stub): Revert previous change and again subsume
cygthread::stub2.  Just return from function now since ExitThread is guaranteed
by automatic _threadinfo wrapper.  Define as per ThreadProc convention.
(cygthread::stub2): Remove.
(cygthread::simplestub): Perform similar operations to cygthread::stub.
(cygthread::simplestub2): Remove.
* cygthread.h (cygthread::stub): Declare as per ThreadProc convention.
(cygthread::stub2): Remove declaration.
(cygthread::simplestub): Declare as per ThreadProc convention.
(cygthread::simplestub2): Remove declaration.
* cygtls.h (_threadinfo::call): Define first argument as per ThreadProc
convention.
(_threadinfo::call2): Ditto.
(_tlsbase): Define as char * pointer.
(_tlstop): New definition.
(_main_tls): Define here.
* dcrt0.cc (alloc_stack): Revert previous change which called init_thread since
information would be overwritten by fork later anyway.
(dll_crt0_1): Use _tlsbase and _tlstop for setting stack bottom, top.
* exceptions.cc: Move _main_tls declaration to cygtls.h.
(_threadinfo::call): Define first argument as per ThreadProc convention.
(_threadinfo::call2): Call ExitThread with thread function return value.
(_threadinfo::init_thread): Don't initialize cygtls to zero if input arg is
NULL.
* fork.cc (fork_child): Reset _main_tls here.  Reinitialize parts of _my_tls
after copying data from parent.
* init.cc (threadfunc_fe): New function.  Front-end for all threads created in
cygwin processes.
(munge_threadfunc): New function.
(dll_entry): Call munge_threadfunc to force the call of a thread wrapper.
* thread.cc (pthread::thread_init_wrapper): Perform similar operations to
cygthread::stub.
(pthread::thread_init_wrapper2): Remove.
* thread.h (pthread::thread_init_wrapper): Declare as per ThreadProc
convention.
(pthread::thread_init_wrapper2): Remove declaration.
* window.cc (Winmain): Just return from function now since ExitThread is
guaranteed by automatic _threadinfo wrapper.

20 years ago*** empty log message ***
gdbadmin [Sun, 14 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * gas/mmix/basep-8.d: Update for lcomm symbol type change.
amodra [Sat, 13 Dec 2003 23:32:25 +0000 (23:32 +0000)]
* gas/mmix/basep-8.d: Update for lcomm symbol type change.
* gas/mmix/basep-9.d: Likewise.

20 years agodaily update
amodra [Sat, 13 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* dwarf2read.c (dwarf2_add_member_fn, read_structure_scope):
jimb [Sat, 13 Dec 2003 22:29:06 +0000 (22:29 +0000)]
* dwarf2read.c (dwarf2_add_member_fn, read_structure_scope):
Replace uses of DEPRECATED_STREQ and DEPRECATED_STREQN with calls
to strcmp and strncmp.

20 years ago* osabi.c (gdbarch_init_osabi): Reformat error message with better
jimb [Sat, 13 Dec 2003 21:41:10 +0000 (21:41 +0000)]
* osabi.c (gdbarch_init_osabi): Reformat error message with better
line breaks.

20 years ago * include/stdio.h:(_fileno): Define macro version after both
dannysmith [Sat, 13 Dec 2003 21:22:34 +0000 (21:22 +0000)]
* include/stdio.h:(_fileno): Define macro version after both
fileno and _fileno functions declared.

* include/stdio.h (_rmtmp, rmtmp): Add prototypes.
* moldnames.def.in (rmtmp) Add stub.

20 years ago* gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
jimb [Sat, 13 Dec 2003 20:12:31 +0000 (20:12 +0000)]
* gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.

20 years ago * mmix-opc.c (mmix_opcodes): Use GO_INSN_BYTE, PUSHGO_INSN_BYTE,
hp [Sat, 13 Dec 2003 14:56:23 +0000 (14:56 +0000)]
* mmix-opc.c (mmix_opcodes): Use GO_INSN_BYTE, PUSHGO_INSN_BYTE,
SETL_INSN_BYTE, INCH_INSN_BYTE, INCMH_INSN_BYTE, INCML_INSN_BYTE
and SWYM_INSN_BYTE instead of raw numbers.

20 years ago* blockframe.c (inside_main_func): Reformat. Introduce new local
kettenis [Sat, 13 Dec 2003 13:16:51 +0000 (13:16 +0000)]
* blockframe.c (inside_main_func): Reformat.  Introduce new local
variables to prevent long lines.  Update comments to reflect
reality.

20 years ago * config/obj-elf.c: Convert to C90, remove unneeded prototypes and
amodra [Sat, 13 Dec 2003 12:57:39 +0000 (12:57 +0000)]
* config/obj-elf.c: Convert to C90, remove unneeded prototypes and
casts.  Formatting.
* config/obj-elf.h: Remove PARAMS.

20 years ago * read.c (s_lcomm_internal): Make global.
amodra [Sat, 13 Dec 2003 08:59:24 +0000 (08:59 +0000)]
* read.c (s_lcomm_internal): Make global.
* read.h (s_lcomm_internal): Declare.
* config/obj-elf.c (elf_pseudo_table): Handle lcomm.
(obj_elf_lcomm): New function.

20 years ago * read.c: Remove unneeded prototypes.
amodra [Sat, 13 Dec 2003 08:23:01 +0000 (08:23 +0000)]
* read.c: Remove unneeded prototypes.
(s_comm): Split out code to..
(s_comm_internal): ..here.  Tidy error returns.  Rearrange so that
"name" from input line may be used in more places.  Merge code
testing for valid size from elf_common.  Merge code from
s_lcomm_internal.  Call comm_parse_extra.
(bss_alloc): New function, split out of s_lcomm_internal and
elf_common.
(parse_align): Likewise.
(s_lcomm_internal): Rewrite.
(s_lcomm, s_lcomm_bytes): Use s_comm_internal.
* read.h (bss_alloc, parse_align, s_comm_internal): Declare.
* config/obj-elf.c (elf_common): Split out code to..
(elf_common_parse): ..here.  Remove code common to s_comm_internal,
parse_align and bss_alloc.  Rearrange and Tidy.
* config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.

20 years ago2003-12-12 Michael Chastain <mec.gnu@mindspring.com>
chastain [Sat, 13 Dec 2003 07:25:36 +0000 (07:25 +0000)]
2003-12-12  Michael Chastain  <mec.gnu@mindspring.com>

Fix for PR gdb/1480.
* configure: Touch, no change.

20 years ago From David Mosberger <davidm@hpl.hp.com>:
kevinb [Sat, 13 Dec 2003 03:51:55 +0000 (03:51 +0000)]
From David Mosberger  <davidm@hpl.hp.com>:
* libunwind-frame.c (unw_find_dyn_list_p): Replace most arguments
with a single unw_dyn_info_t pointer.
(libunwind_find_dyn_list): Likewise.
* libunwind-frame.h: Likewise.
* ia64-tdep.c (ia64_find_unwind_table): Switch to using
UNW_INFO_FORMAT_REMOTE_TABLE so we can avoid having to read in the
entire unwind-table at once.  Support for this table format has
been added to libunwind v0.95.
(ia64_find_proc_info_x): Adjust for remote-unwind-table changes.
(ia64_get_dyn_info_list): Adjust for interface change for
libunwind_find_dyn_list().

20 years ago * gdb.asm/frv.inc: New file.
kevinb [Sat, 13 Dec 2003 01:01:07 +0000 (01:01 +0000)]
* gdb.asm/frv.inc: New file.
* gdb.asm/asm-source.exp: Add frv-*-* as a supported target.

20 years ago*** empty log message ***
gdbadmin [Sat, 13 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Fri, 12 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* dtable.cc (dtable::delete_archetype): Add debugging.
cgf [Fri, 12 Dec 2003 20:46:02 +0000 (20:46 +0000)]
* dtable.cc (dtable::delete_archetype): Add debugging.
(dtable::release): Move archetype deletion here.
(dtable::vfork_child_dup): Increment ctty usecount to catch later
close_all_files case in parent/child.
(dtable::vfork_child_fixup): Avoid using cygheap->foo where this should really
be using local references.  Call close on archetyped handles since the handles
haven't had the noninherit flag set.
* fhandler_tty.cc (fhandler_tty_slave::close): Remove archetype deletion code.
Add defensive error message when DEBUGGING.
(fhandler_tty_common::set_close_on_exec): Use more robust method for checking
whether to set handles into noninherit if there is an archetype associated with
the fhandler.

20 years agoUpdated Romanian translation
nickc [Fri, 12 Dec 2003 20:42:50 +0000 (20:42 +0000)]
Updated Romanian translation

20 years ago2003-12-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 12 Dec 2003 19:04:45 +0000 (19:04 +0000)]
2003-12-12  Jeff Johnston  <jjohnstn@redhat.com>

        * breakpoint.c (breakpoint_enabled): New function to test whether
        breakpoint is active and enabled.
        (insert_bp_location, insert_breakpoints): Call new function to test
        for enabled breakpoint.
        (remove_breakpoint, breakpoint_here_p, breakpoint_thread_match)
        (bpstat_should_step, bpstat_have_active_hw_watchpoints)
        (disable_breakpoints_in_shlibs, hw_watchpoint_used_count)
        (disable_watchpoints_before_interactive_call_start)
        (breakpoint_re_set_one): Ditto.
        (bpstat_stop_status): Use new function and simplify test.

20 years agooops - forgot to add this file!
nickc [Fri, 12 Dec 2003 16:35:21 +0000 (16:35 +0000)]
oops - forgot to add this file!

20 years ago* observer.c (observer_test_first_observer)
kettenis [Fri, 12 Dec 2003 16:14:24 +0000 (16:14 +0000)]
* observer.c (observer_test_first_observer)
(observer_test_second_observer, observer_test_third_observer):
Don't define as `static'.
(observer_test_first_notification_function)
(observer_test_second_notification_function)
(observer_test_third_notification_function): Likewise.

20 years ago * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
amodra [Fri, 12 Dec 2003 14:11:58 +0000 (14:11 +0000)]
* elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
NULL dyn_h.

20 years ago* dcrt0.cc (alloc_stack): Move _main_tls if stack is relocated.
cgf [Fri, 12 Dec 2003 05:04:47 +0000 (05:04 +0000)]
* dcrt0.cc (alloc_stack): Move _main_tls if stack is relocated.

20 years ago* miscfuncs.cc (low_priority_sleep): Correct thinko which caused SetPriority to
cgf [Fri, 12 Dec 2003 04:15:31 +0000 (04:15 +0000)]
* miscfuncs.cc (low_priority_sleep): Correct thinko which caused SetPriority to
be called unnecessarily.
* thread.cc (pthread::init_main_thread): Call new create_cancel_event function.
(pthread::precreate): Ditto.
(pthread::postcreate): Remove cancel_event creation.
(pthread::create_cancel_event): Define new function.
* thread.h (pthread::create_cancel_event): Declare new function.

20 years ago*** empty log message ***
gdbadmin [Fri, 12 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Thu, 11 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago* library/prefs.tcl (pref_read): The section marker or the word
jimb [Thu, 11 Dec 2003 22:19:15 +0000 (22:19 +0000)]
* library/prefs.tcl (pref_read): The section marker or the word
'option' must be the first thing on the line; they don't count if
they appear in the middle of the line.

20 years ago(INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.
nickc [Thu, 11 Dec 2003 18:10:19 +0000 (18:10 +0000)]
(INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.