OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years agoAdd support for FreeBSD cores
nickc [Fri, 2 Jan 2004 17:39:51 +0000 (17:39 +0000)]
Add support for FreeBSD cores

20 years ago2004-01-02 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 2 Jan 2004 17:35:00 +0000 (17:35 +0000)]
2004-01-02  Andrew Cagney  <cagney@redhat.com>

* utils.c (do_my_cleanups): Make static, add forward declaration.
* defs.h (do_my_cleanups): Delete declaration.

20 years agoUpdate description of FP behaviour
nickc [Fri, 2 Jan 2004 17:32:12 +0000 (17:32 +0000)]
Update description of FP behaviour

20 years agoCatch a bug in the msp430 disassembler where an add instruction was confused
nickc [Fri, 2 Jan 2004 17:26:10 +0000 (17:26 +0000)]
Catch a bug in the msp430 disassembler where an add instruction was confused
with an rla instruction.  Add a test for this to the testsuite.

20 years agoAdd Russian translation
nickc [Fri, 2 Jan 2004 17:08:04 +0000 (17:08 +0000)]
Add Russian translation

20 years agoAdd m68k-uclinux target
nickc [Fri, 2 Jan 2004 16:37:11 +0000 (16:37 +0000)]
Add m68k-uclinux target

20 years ago*** empty log message ***
eliz [Fri, 2 Jan 2004 14:32:49 +0000 (14:32 +0000)]
*** empty log message ***

20 years ago * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
eliz [Fri, 2 Jan 2004 14:32:20 +0000 (14:32 +0000)]
* config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
bfd/ChangeLog-0203.

20 years agoRoll ChangeLog / ChangeLog-2003.
kettenis [Fri, 2 Jan 2004 13:01:23 +0000 (13:01 +0000)]
Roll ChangeLog / ChangeLog-2003.

20 years ago* configure.in: Check for <machine/reg.h>. Check for `struct reg'
kettenis [Fri, 2 Jan 2004 12:40:07 +0000 (12:40 +0000)]
* configure.in: Check for <machine/reg.h>.  Check for `struct reg'
in <machine/reg.h>.
* configure, config.in: Regenerate.

20 years agoSplit ChangeLog files.
amodra [Fri, 2 Jan 2004 11:16:18 +0000 (11:16 +0000)]
Split ChangeLog files.

20 years ago * ld-selective/sel-dump.exp: Use is_elf_format, xfail assorted targets.
amodra [Fri, 2 Jan 2004 08:27:08 +0000 (08:27 +0000)]
* ld-selective/sel-dump.exp: Use is_elf_format, xfail assorted targets.
* ld-selective/selective.exp: Likewise.

20 years ago2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
chastain [Fri, 2 Jan 2004 06:38:01 +0000 (06:38 +0000)]
2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/namespace.exp: Accept gcc abi 2.

20 years ago2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
chastain [Fri, 2 Jan 2004 06:17:19 +0000 (06:17 +0000)]
2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/method.exp: Accept gcc abi 2.

20 years ago2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
chastain [Fri, 2 Jan 2004 04:46:45 +0000 (04:46 +0000)]
2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/classes.exp: Generate identical results as old version.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/overload.exp: Likewise.
* gdb.cp/virtfunc.exp: Likewise.

20 years ago2004-01-02 Filip Navara <xnavara@volny.cz>
dannysmith [Fri, 2 Jan 2004 03:19:52 +0000 (03:19 +0000)]
2004-01-02  Filip Navara  <xnavara@volny.cz>

* include/ddk/winddk.h: Don't care about value of
DBG define.

2004-01-02  Danny Smith  <dannysmith@users.sourceforge.net>
    Filip Navara  <xnavara@volny.cz>

* include/ddk/winddk.h (_DDK_DUMMYUNION_MEMBER,
_DDK_DUMMYUNION_N_MEMBER): New macros.
(ExAllocateFromPagedLookasideList,ExFreeToPagedLookasideList,
ExAllocateFromNPagedLookasideList, ExFreeToNPagedLookasideList):
Use them.

20 years ago*** empty log message ***
gdbadmin [Fri, 2 Jan 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 1 Jan 2004 23:05:11 +0000 (23:05 +0000)]
2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/virtfunc.exp: Modify some patterns to avoid a
mysterious bug with sourceware version of expect.

20 years agodaily update
amodra [Thu, 1 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-01-01 Filip Navara <xnavara@volny.cz>
dannysmith [Thu, 1 Jan 2004 22:34:20 +0000 (22:34 +0000)]
2004-01-01  Filip Navara  <xnavara@volny.cz>

* include/objbase.h:  Don't care about value of DBG define.
* include/objidl.h: Add some COBJMACROS.
* include/ocidl.h: Ditto.
* include/oleidl.h: Ditto.
* include/servprov.h: Ditto.
* include/shlobj.h: Ditto.
* include/shlobj.h (IContextMenu2): Correct parent in
DECLARE_INTERFACE.
* include/oleidl.h (IOleCache, IOleCache2, IOleCacheControl):
Define interfaces.
* include/setupapi.h (SetupGetLineTextA): Correct prototype.
Add new constants for _SETUPAPI_VER >= 0x501.

20 years ago2004-01-01 Filip Navara <xnavara@volny.cz>
dannysmith [Thu, 1 Jan 2004 11:21:48 +0000 (11:21 +0000)]
2004-01-01  Filip Navara  <xnavara@volny.cz>

* include/winnt.h (NtCurrentTeb): Add inline definition.

20 years ago2004-01-01 Martin Fuchs <martin-fuchs@gmx.net>
dannysmith [Thu, 1 Jan 2004 11:00:43 +0000 (11:00 +0000)]
2004-01-01  Martin Fuchs  <martin-fuchs@gmx.net>

* include/shlobj.h (SHCoCreateInstance): Add prototype..
* lib/shell32.def (SHCoCreateInstance): Add export stub.

20 years ago2004-01-01 Igor Pechtchanski <pechtcha@cs.nyu.edu>
dannysmith [Thu, 1 Jan 2004 10:31:40 +0000 (10:31 +0000)]
2004-01-01  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* lib/setupapi.def (CM_Request_Device_Eject[AW]): Add export.
(CM_Request_Device_Eject_Ex[AW]): Likwise.
* include/ddk/cfg.h (DN_*): Add defines.

20 years ago* lib/ddk/cfgmgr32.def: Remove duplicate symbol names.
dannysmith [Thu, 1 Jan 2004 10:21:01 +0000 (10:21 +0000)]
* lib/ddk/cfgmgr32.def: Remove duplicate symbol names.

20 years ago2004-01-01 Mattia Barbon <mbarbon@users.sourceforge.net>
dannysmith [Thu, 1 Jan 2004 10:16:12 +0000 (10:16 +0000)]
2004-01-01  Mattia Barbon  <mbarbon@users.sourceforge.net>

* include/commctrl.h (TVN_GETINFOTIP): Add UNICODE mappings.
(NMTVGETINFOTIP): Add structure.

20 years ago * elflink.h (elf_gc_sections): Warn when gc-sections option is ignored.
amodra [Thu, 1 Jan 2004 10:01:44 +0000 (10:01 +0000)]
* elflink.h (elf_gc_sections): Warn when gc-sections option is ignored.
* elf32-h8300.c (elf32_h8_gc_mark_hook): New function.
(elf32_h8_gc_sweep_hook): New function.
(elf_backend_gc_mark_hook): Define.
(elf_backend_gc_sweep_hook): Define.
(elf_backend_can_gc_sections): Define.

20 years ago2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 1 Jan 2004 09:46:21 +0000 (09:46 +0000)]
2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
current versions of gcc, including gcc abi 2.  Remove gratuitous
restart of test program.  Use gdb_test_multiple and gdb_test for
all tests.  Add patterns to xfail missing "const" in "const char *"
and kfail PR gdb/1155.

20 years ago2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 1 Jan 2004 06:58:44 +0000 (06:58 +0000)]
2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
current versions of gcc, including gcc abi 2.  Remove gratuitous
restart of test program.  Use gdb_test_multiple and gdb_test for
all tests.  Add patterns to kfail PR gdb/1498.

20 years ago2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 1 Jan 2004 02:30:59 +0000 (02:30 +0000)]
2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
current versions of gcc, including gcc abi 2.  Use "breakpoint"
and "continue" instead of restarting the target program.  Use
gdb_test_multiple and gdb_test for all tests.

20 years ago* gdb.asm/asm-source.exp: Update copyright year. Link statically
kettenis [Thu, 1 Jan 2004 01:13:41 +0000 (01:13 +0000)]
* gdb.asm/asm-source.exp: Update copyright year.  Link statically
for *-*-solaris2*.

20 years ago* configure.in (ia64*-*-hpux*): Disable building java libraries.
dj [Thu, 1 Jan 2004 00:07:50 +0000 (00:07 +0000)]
* configure.in (ia64*-*-hpux*): Disable building java libraries.
* configure: Regenerated.

20 years ago*** empty log message ***
gdbadmin [Thu, 1 Jan 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

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

20 years ago2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
chastain [Wed, 31 Dec 2003 20:59:10 +0000 (20:59 +0000)]
2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
current versions of gcc, including gcc abi 2.  Use "breakpoint"
and "continue" instead of restarting the target program several
times.  Use gdb_test_multiple and gdb_test for all tests.

20 years ago * MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.
drow [Wed, 31 Dec 2003 14:24:54 +0000 (14:24 +0000)]
* MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.

20 years ago* cygwin.din: Make crt0 functions NOSIGFE.
cgf [Wed, 31 Dec 2003 06:30:47 +0000 (06:30 +0000)]
* cygwin.din: Make crt0 functions NOSIGFE.
* include/cygwin/version.h: Gratuitous comment change.
* lib/_cygwin_crt0_common.cc: Remove unneeded declaration.

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

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

20 years ago * ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCC
mmitchel [Tue, 30 Dec 2003 16:53:30 +0000 (16:53 +0000)]
* ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCC
3.4 does not support it.

20 years ago * configure.in: Check for st_blocks member in struct stat and
eliz [Tue, 30 Dec 2003 10:33:37 +0000 (10:33 +0000)]
* configure.in: Check for st_blocks member in struct stat and
define HAVE_STRUCT_STAT_ST_BLOCKS accordingly.

* acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): New undef.

* configure, config.in: Regenerated.

20 years ago * readline.c (rl_save_state, rl_restore_state): Support systems
eliz [Tue, 30 Dec 2003 07:25:18 +0000 (07:25 +0000)]
* readline.c (rl_save_state, rl_restore_state): Support systems
that don't define SIGWINCH.

* terminal.c (_rl_get_screen_size) [__DJGPP__]: Compute the
screen width and height using console I/O.
(_rl_init_terminal_io) [__MSDOS__]: Zero out all the _rl_term_*
variables.  Convert to _rl_* naming scheme.
(_rl_set_cursor) [__MSDOS__]: Ifdef away this function.

* display.c (_rl_move_vert) [__MSDOS__]: Don't use undeclared
variable `l'.  Use `delta' instead recomputing its value anew.
Assign -delta to i instead of the other way around.

20 years agoRemove entry for reverted change to configure.in.
eliz [Tue, 30 Dec 2003 07:10:50 +0000 (07:10 +0000)]
Remove entry for reverted change to configure.in.

20 years agoTemporary fix for last change.
eliz [Tue, 30 Dec 2003 07:05:21 +0000 (07:05 +0000)]
Temporary fix for last change.

20 years ago * remote-fileio.c (remote_fileio_to_fio_stat)
eliz [Tue, 30 Dec 2003 06:52:09 +0000 (06:52 +0000)]
* remote-fileio.c (remote_fileio_to_fio_stat)
(remote_fileio_func_fstat) [HAVE_STRUCT_STAT_ST_BLOCKS]: Support
systems that don't have `st_blocks' member in `struct stat'.

* configure.in (HAVE_STRUCT_STAT_ST_BLOCKS): Ditto.

20 years ago* cygtls.h (_threadinfo::stack): Increase stack size to accommodate nested
cgf [Tue, 30 Dec 2003 03:59:45 +0000 (03:59 +0000)]
* cygtls.h (_threadinfo::stack): Increase stack size to accommodate nested
signal handlers.  Reorganize to cause potential SEGV on stack overflow.
* sigproc.cc (no_signals_available): Check sendsig value rather than relying on
obsolete sig_loop_wait.
(sigproc_terminate): Ditto.
(proc_can_be_signalled): Check sendsig value even for myself.
* tlsoffsets.h: Regenerate.

20 years agoMove open_fhs from fhandler.h to cygheap.h for easier tracking. Accommodate
cgf [Tue, 30 Dec 2003 01:57:15 +0000 (01:57 +0000)]
Move open_fhs from fhandler.h to cygheap.h for easier tracking.  Accommodate
this change throughout.
* dtable.cc (dtable::add_archetype): Use correct count when iterating through
*active* archetypes.
* dtable.cc (dtable::fixup_after_exec): Close handle if close_on_exec and
archetype exists since archetype currently does not set windows close-on-exec
flag (FIXME).
* fhandler_tty.cc (fhandler_tty_slave::open): Change debugging output slightly.
(fhandler_tty_slave::close): Ditto.
(fhandler_tty_slave::fixup_after_fork): Just report on inherited use counts
since since archetype currently does not set windows close-on-exec flag
(FIXME).
* pinfo.cc (_pinfo::set_ctty): Change debugging output slightly.
* cygheap.cc (cygheap_init): Remove open_fhs accommodation and use count
reporting.
* perthread.h (vfork_save::fhctty): New element.
* perthread.h (vfork_save::open_fhs): New element.
* fork.cc (vfork): Muck around with ctty and open_fhs stuff, both of which are
now saved in the vfork_save structure.

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

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

20 years ago * armos.c (fcntl.h): Do not include it.
mmitchel [Mon, 29 Dec 2003 19:52:57 +0000 (19:52 +0000)]
* armos.c (fcntl.h): Do not include it.
(O_RDONLY): Do not define.
(O_WRONLY): Likewise.
(O_RDWR): Likewise.
(targ-vals.h): Include it.
(translate_open_mode): Use TARGET_O_* instead of O_*.
(SWIopen): Likewise.
* Makefile.in (armos.o): Depend on targ-vals.h.

20 years ago * gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.
pbrook [Mon, 29 Dec 2003 16:43:36 +0000 (16:43 +0000)]
* gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.
* gas/doc/c-arm.texi: Document them.

20 years agoUpdate pointer_size patch
nickc [Mon, 29 Dec 2003 14:22:07 +0000 (14:22 +0000)]
Update pointer_size patch

20 years ago * go32-nat.c (go32_sldt, go32_sgdt, go32_sidt, go32_pte): Fix
eliz [Mon, 29 Dec 2003 07:42:42 +0000 (07:42 +0000)]
* go32-nat.c (go32_sldt, go32_sgdt, go32_sidt, go32_pte): Fix
mismatches between format string and arguments (avoids compiler
warnings).

20 years ago* configure.in: Set ac_cv_search_tgetent to "none required" for
eliz [Mon, 29 Dec 2003 07:35:35 +0000 (07:35 +0000)]
* configure.in: Set ac_cv_search_tgetent to "none required" for
"*djgpp*" targets as well (DJGPP doesn't have termcap and doesn't
need one).

* config/djgpp/config.sed: Tweak to adapt to the changes in
configury.

* config/djgpp/djconfig.sh: Fix the test of unpacked
distribution, since there's no gdb.cxx directory anymore.

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

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

20 years ago* i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
kettenis [Sun, 28 Dec 2003 19:48:15 +0000 (19:48 +0000)]
* i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
(i386_sol2_init_abi): Initialize TDEP->sigcontext_addr,
TDEP->sc_reg_offset and TDEP->sc_num_regs.

20 years ago* i386-tdep.h (i386_regnum): Add I386_CS_REGNUM and
kettenis [Sun, 28 Dec 2003 19:45:34 +0000 (19:45 +0000)]
* i386-tdep.h (i386_regnum): Add I386_CS_REGNUM and
I386_SS_REGNUM.

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

20 years ago* dwarf2-frame.c (dwarf2_reg_rule): Add REG_RA and REG_CFA.
kettenis [Sat, 27 Dec 2003 23:14:59 +0000 (23:14 +0000)]
* dwarf2-frame.c (dwarf2_reg_rule): Add REG_RA and REG_CFA.
(dwarf2_frame_cache): Initialize PC_REGNUM with REG_RA and
SP_REGNUM with REG_CFA.  Don't overwrite the initialized register
rule for registers left unspecified by the CFI.  Remove the
special handling of PC_REGNUM.  Add code to eleminate any REG_RA
rules.
(dwarf2_frame_prev_register): Remove the special handling of
SP_REGNUM.  Add support for the REG_CFA rule.

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

20 years ago* fhandler.h (fhandler_tty_slave::archetype): Make public.
cgf [Sat, 27 Dec 2003 17:41:17 +0000 (17:41 +0000)]
* fhandler.h (fhandler_tty_slave::archetype): Make public.
(report_tty_counts): New macro.  Use throughout for reporting tty use counts.
* dtable.cc (dtable::vfork_child_dup): Add debugging output for usecount
increment.  Increment open_fhs if appropriate.
(dtable::vfork_parent_restore): "Close" artificially bumped ctty.
(dtable::vfork_child_fixup): Close ctty since it was bumped prior to vfork.
Save open_fhs around close since the closing of these handles has no effect on
the console.
* fhandler_tty.cc (fhandler_tty_slave::open): Reorganize calls to allow for
easier tracking of usecount modification.
(fhandler_tty_slave::open): Ditto.

20 years ago* syscalls.cc (close_all_files): Simplify logic around closing ctty.
cgf [Sat, 27 Dec 2003 02:41:06 +0000 (02:41 +0000)]
* syscalls.cc (close_all_files): Simplify logic around closing ctty.

20 years ago* pinfo.cc (_pinfo::set_ctty): *Always* call close on opened ctty since it
cgf [Sat, 27 Dec 2003 02:20:06 +0000 (02:20 +0000)]
* pinfo.cc (_pinfo::set_ctty): *Always* call close on opened ctty since it
counts as an opened handle.

20 years ago* fhandler.h (fhandler_tty_master::fixup_after_fork): Remove declaration.
cgf [Sat, 27 Dec 2003 01:59:29 +0000 (01:59 +0000)]
* fhandler.h (fhandler_tty_master::fixup_after_fork): Remove declaration.
(fhandler_tty_master::fixup_after_exec): Ditto.
* fhandler_tty.cc (fhandler_tty_master::init): Fix so that children do not
inherit master tty handles.
(fhandler_tty_master::fixup_after_fork): Remove, since it was never used.
(fhandler_tty_master::fixup_after_exec): Ditto.
* pinfo.cc (_pinfo::set_ctty): Increment open_fhs when ctty is set.
* cygheap.cc (cygheap_init): Ditto.
* syscalls.cc (setsid): *Always* call close on opened ctty since the archetype
is associated with the ctty and it counts as an opened handle.
* tty.cc (tty::common_init): Don't protect input/output mutex since it confuses
subsequent fork/execs when CYGWIN=tty.

20 years ago* exceptions.cc (try_to_debug): Fix off-by-one problem when resetting
cgf [Sat, 27 Dec 2003 00:25:02 +0000 (00:25 +0000)]
* exceptions.cc (try_to_debug): Fix off-by-one problem when resetting
environment variable after error_start detected.
* fhandler_tty_slave.cc (fhandler_tty_slave::close): Clarify debug message.
* syscalls.cc (setsid): Don't increment usecount here, since it will be
automatically decremented on close.

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

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

20 years ago* exceptions.cc (setup_handler): Protect against a race.
cgf [Fri, 26 Dec 2003 18:30:41 +0000 (18:30 +0000)]
* exceptions.cc (setup_handler): Protect against a race.

20 years ago* path.cc (mount_item::build_win32): Backslashify paths in non-managed case.
cgf [Fri, 26 Dec 2003 18:26:17 +0000 (18:26 +0000)]
* path.cc (mount_item::build_win32): Backslashify paths in non-managed case.

20 years ago* i386obsd-tdep.c: Include "regset.h", "gdb_assert.h" and
kettenis [Fri, 26 Dec 2003 18:07:00 +0000 (18:07 +0000)]
* i386obsd-tdep.c: Include "regset.h", "gdb_assert.h" and
"gdb_string.h".
(i386obsd_r_reg_offset): New variable.
(i386obsd_aout_supply_regset)
(i386obsd_aout_regset_from_core_section): New functions.
(i386obsd_supply_reg, fetch_core_registers): Remove functions.
(i286obsd_core_fns): Remove variable.
(i386obsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset.  Set
regset_from_core_section.  Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(_initialize_i386obsd_tdep): Don't call add_core_fns.

20 years ago* i386bsd-tdep.c (i386bsd_core_osabi_sniffer): New function.
kettenis [Fri, 26 Dec 2003 17:59:48 +0000 (17:59 +0000)]
* i386bsd-tdep.c (i386bsd_core_osabi_sniffer): New function.
(_initialize_i386bsd_tdep): Register i386bsd_core_osabi_sniffer.

20 years agomerge from gcc
dj [Fri, 26 Dec 2003 16:27:37 +0000 (16:27 +0000)]
merge from gcc

20 years ago* i386-linux-nat.c: Add comment.
kettenis [Fri, 26 Dec 2003 15:42:57 +0000 (15:42 +0000)]
* i386-linux-nat.c: Add comment.

20 years ago* win32-nat.c: Add some comments about below change.
cgf [Fri, 26 Dec 2003 14:56:44 +0000 (14:56 +0000)]
* win32-nat.c: Add some comments about below change.

20 years ago* Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include.
cgf [Fri, 26 Dec 2003 05:37:54 +0000 (05:37 +0000)]
* Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include.
(CYGWIN_LIB): Delete.
(cygserver.exe target): Add -L$(cygwin_build) to the link line to force linker
to use build tree version of the library.  Remove specific inclusion of
libcygwin.a from the link line.

20 years ago* dcrt0.cc (reent_data): Reluctantly resurrect.
cgf [Fri, 26 Dec 2003 04:40:51 +0000 (04:40 +0000)]
* dcrt0.cc (reent_data): Reluctantly resurrect.
(__cygwin_user_data::impure_ptr): Ditto.
(_dll_crt0): Reluctantly initialize _impure_ptr here.
(initialize_main_tls): Eliminate local_clib initialization since it now happens
in init_thread.
* init.cc (dll_entry): Reluctantly remove code which set _impure_ptr to the
main thread's local_clib.
* perthread.h (reent_data): Remove obsolete declaration.
* sigproc.cc (proc_subproc): Add more debugging output.
(get_proc_lock): Ditto.
*dcrt0.cc (dll_crt0_1): Allocate argv[0] via malloc since main thread could
exit.

20 years agoFix for PR threads/1048
cgf [Fri, 26 Dec 2003 04:29:21 +0000 (04:29 +0000)]
Fix for PR threads/1048
* win32-nat.c (thread_info_struct): Add reload_context flag.
(thread_rec): Don't reload thread context here.  Just set a flag.
(do_child_fetch_inferior_registers): Reload thread context here if appropriate.
Avoid doing anything if current_thread is NULL thanks to strange Windows
behavior.
(child_fetch_inferior_registers): Avoid doing anything if current_thread is
NULL.
(do_child_store_inferior_registers): Ditto.
(child_store_inferior_registers): Ditto.
(child_kill_inferior): Ditto.
(fake_create_process): Pretend to create a process for pathological windows
attach situation.
(get_child_debug_event): Call fake_create_process when the first event noticed
is thread creation rather than process creation.
(child_attach): Always set attach_flag when attaching.
(child_create_inferior): Set attach_flag to zero since we're not attaching.

20 years ago* win32-nat.c (get_child_debug_event): Keep main thread id around even after
cgf [Fri, 26 Dec 2003 00:39:04 +0000 (00:39 +0000)]
* win32-nat.c (get_child_debug_event): Keep main thread id around even after
thread exits since Windows insists on continuing to report events against it.

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

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

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

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

20 years ago* winsup.api/pthread/rwlock7.c (main): Don't assume that result of rand
cgf [Wed, 24 Dec 2003 04:37:19 +0000 (04:37 +0000)]
* winsup.api/pthread/rwlock7.c (main): Don't assume that result of rand
operation is non-zero.

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

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

20 years ago* fork.cc (fork_child): After a pthread/fork, ensure that impure pointer stuff
cgf [Tue, 23 Dec 2003 22:24:37 +0000 (22:24 +0000)]
* fork.cc (fork_child): After a pthread/fork, ensure that impure pointer stuff
which resides in parent is propagated to child thread.

20 years ago * doc/c-arm.texi: Document -march=armv6.
pbrook [Tue, 23 Dec 2003 18:48:02 +0000 (18:48 +0000)]
* doc/c-arm.texi: Document -march=armv6.

20 years ago * config/tc-arm.c (arm_archs): Add armv6.
pbrook [Tue, 23 Dec 2003 18:41:57 +0000 (18:41 +0000)]
* config/tc-arm.c (arm_archs): Add armv6.

20 years agoadd missing file
cgf [Tue, 23 Dec 2003 16:43:45 +0000 (16:43 +0000)]
add missing file

20 years ago* exceptions.cc (set_signal_mask): Redefine to not pass by address. Report
cgf [Tue, 23 Dec 2003 16:26:29 +0000 (16:26 +0000)]
* exceptions.cc (set_signal_mask): Redefine to not pass by address.  Report
calculated mask in debugging output.
* sigproc.h (set_signal_mask): Reflect above change in declaration.
* path.cc (mount_item::build_win32): Take path apart before feeding it to
fnmunge.  Throughout, change use of _reent_winsup()-> to _my_tls.locals.
instead.  Throughout, remove obsolete MT_SAFE/_CYG_THREAD_FAILSAFE
considerations.  Througout, add cygtls.h include.
* Makefile.in (DLL_OFILES): Add cygtls.o.  Add some more objects to the
-fomit-frame-pointer list.
* acconfig.h: Remove obsolete settings.
* config.h.in: Ditto.
* bsdlib.cc: Add cygtls.h include.
* configure.in: Remove --enable-extra-threadsafe-checking.
* configure: Regenerate.
* cygtls.h (_local_storage): New struct renamed from _winsup_t (sic).
(_threadinfo:local_clib): Add new field.
(_threadinfo::locals): Ditto.
(_threadinfo::init_thread): Accept second _reent * argument.
(_threadinfo::call): Define as regparm.
(CYGTLS_PADSIZE): Remove unnecessary slop.
(_getreent): Define as a macro.
* thread.h: Remove _CYG_THREAD_FAILSAFE and MT_SAFE stuff.
(_winsup_t): Move to cygtls.h.
(ResourceLocks::ResourceLocks): Eliminate empty constructor.
(MTinterface::reents): Eliminate.
(MTinterface::thread_self_key): Eliminate.
(MTinterface::MTinterface): Eliminate.
* dcrt0.cc: Include stdio.h for _impure_ptr initialization.
(do_global_ctors): Remove run_ctors_p (sic) considerations.  Don't call atexit
here.
(__main): Initialize destructors for user here.
(dll_crt0_1): Accept a dummy argument.  Don't call init_thread here.  Don't set
_impure_ptr here.  Call do_global_ctors after more things have been
initialized.
(_dll_crt0): Define zeros buffer as max of needed size of CYGTLS_PADSIZE so
that it can be used for two purposes while minimizing stack usage.  Initialize
_impure_ptr specifically, for speed.  Call dll_crt0_1 with buffer argument.
(cygwin_dll_init): Call dll_crt0_1 with dummy argument.
* dtable.cc (dtable::find_unused_handle): Remove call to AssertResourceOwner.
* exceptions.cc: Move _threadinfo stuff to new file.
* cygtls.cc: New file.
* gentls_offsets: Accommodate increasing complexity of cygtls.h.
* hires.h (hires_base::~hires_base): Remove.
* init.cc (dll_entry): Remove setting of reents.
* thread.cc: Remove syslog.h include.
(__getreent): Simplify to use _my_tls.
(_reent_winsup): Delete.
(AssertResourceOwner): Delete.
(MTinterface::Init): Remove setting of _clib and _winsup, with all that
entails.
(MTinterface::fixup_after_fork): Ditto.
(pthread::thread_init_wrapper): Ditto.  Also remove call to
set_tls_self_pointer.
(pthread::set_tls_self_pointer): Eliminate.
(pthread::get_tls_self_pointer): Just return _my_tls.tid;
(__reent_t::init_clib): Eliminate.
* tlsoffsets.h: Regenerate.

20 years ago* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
macro [Tue, 23 Dec 2003 13:01:11 +0000 (13:01 +0000)]
* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
to handle flags for tweaking.
(copy_options): New options: impure, pure, readonly-text,
writable-text.
(copy_usage, copy_object, command_line_switch): Handle the new
options.
* doc/binutils.texi: Document the new options.

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

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

20 years ago* dwarf2-frame.c (dwarf2_frame_cache): Don't skip the return
kettenis [Mon, 22 Dec 2003 20:32:50 +0000 (20:32 +0000)]
* dwarf2-frame.c (dwarf2_frame_cache): Don't skip the return
address column.

20 years ago * Makefile.in (lbasename.o): Depend on filenames.h.
drow [Mon, 22 Dec 2003 19:22:57 +0000 (19:22 +0000)]
* Makefile.in (lbasename.o): Depend on filenames.h.
* lbasename.c: Include "filenames.h" instead of defining
its macros locally.

20 years agomerge from gcc
dj [Mon, 22 Dec 2003 16:03:32 +0000 (16:03 +0000)]
merge from gcc

20 years ago * objdump.c (disassemble_bytes): Subtract rel_offset from printed
jakub [Mon, 22 Dec 2003 10:49:59 +0000 (10:49 +0000)]
* objdump.c (disassemble_bytes): Subtract rel_offset from printed
reloc address.
(disassemble_section): Set rel_offset to section->vma instead of
pinfo->buffer_vma.

20 years agoFix tests to eliminated unexpected failures
nickc [Mon, 22 Dec 2003 09:01:48 +0000 (09:01 +0000)]
Fix tests to eliminated unexpected failures

20 years agoFor v6 tests use -march=armv6j
nickc [Mon, 22 Dec 2003 08:43:40 +0000 (08:43 +0000)]
For v6 tests use -march=armv6j

20 years ago* breakpoint.c (bpstat_do_actions): To ensure that
jimb [Mon, 22 Dec 2003 03:43:19 +0000 (03:43 +0000)]
* breakpoint.c (bpstat_do_actions): To ensure that
clear_proceed_status doesn't free the command tree we're
evaluating out from under us, zero the bpstat's pointer to it, and
take care of freeing it ourselves.
* cli/cli-script.c (make_cleanup_free_command_lines): Make this
function externally visible.
* cli/cli-script.h (make_cleanup_free_command_lines): New
declaration.