OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
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.

20 years ago* configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
dj [Mon, 22 Dec 2003 00:59:55 +0000 (00:59 +0000)]
* configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
* configure: Regenerated.

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

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

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

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

20 years agomerge from gcc
dj [Sat, 20 Dec 2003 16:06:08 +0000 (16:06 +0000)]
merge from gcc

20 years ago* x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to
kettenis [Sat, 20 Dec 2003 13:35:58 +0000 (13:35 +0000)]
* x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to
RIP.

20 years ago(md_apply_fix3): Handle the case where a .byte directive generates a
nickc [Sat, 20 Dec 2003 08:01:46 +0000 (08:01 +0000)]
(md_apply_fix3): Handle the case where a .byte directive generates a
pc-relative relocation.

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

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

20 years agomerge from gcc
dj [Fri, 19 Dec 2003 22:03:37 +0000 (22:03 +0000)]
merge from gcc

20 years agomerge from gcc
dj [Fri, 19 Dec 2003 16:50:48 +0000 (16:50 +0000)]
merge from gcc

20 years agoFix calls to as_perror() so that the errno system message will be printed.
nickc [Fri, 19 Dec 2003 15:23:40 +0000 (15:23 +0000)]
Fix calls to as_perror() so that the errno system message will be printed.
Fix as_perror() so that errno is not corrupted.

20 years ago2003-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Fri, 19 Dec 2003 15:13:56 +0000 (15:13 +0000)]
2003-12-19  Nathanael Nerode  <neroden@gcc.gnu.org>

Port change over from GCC:
2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>
* Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.
(configure-build-[+module+], configure-[+module+]): Likewise.
(configure-target-[+module+], configure-gcc, config.status): Likewise.
* Makefile.in: Regenerate.

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.