OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago*** empty log message ***
gdbadmin [Sun, 18 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 18 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago * acinclude.m4: Correct quoting.
drow [Sat, 17 Sep 2005 23:14:37 +0000 (23:14 +0000)]
* acinclude.m4: Correct quoting.
* aclocal.m4: Regenerated.

Suggested by SZOKOVACS Robert <szo@ies.hu>:
* thread-db.c (thread_db_err_str): Handle TD_VERSION.
(thread_db_init): Call thread_db_err_str.
* configure.ac: Check for TD_VERSION.
* config.in, configure: Regenerated.

18 years ago* pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now
cgf [Sat, 17 Sep 2005 20:36:33 +0000 (20:36 +0000)]
* pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now
allocated by cmalloc.

18 years ago * net.cc (cygwin_inet_ntop): Change len argument to socklen_t to
corinna [Sat, 17 Sep 2005 08:55:27 +0000 (08:55 +0000)]
* net.cc (cygwin_inet_ntop): Change len argument to socklen_t to
follow SUSv3.
* include/arpa/inet.h (inet_ntop): Ditto.
* include/cygwin/in.h: Include cygwin/socket.h to get socklen_t.

18 years agodaily update
amodra [Sat, 17 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 17 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* environ.cc (build_env): Use "kilo"bytes not "mega"bytes. Return immediately
cgf [Fri, 16 Sep 2005 20:12:08 +0000 (20:12 +0000)]
* environ.cc (build_env): Use "kilo"bytes not "mega"bytes.  Return immediately
on error.
* spawn.cc (spawn_guts): Set return value to -1 on error from build_env.

18 years ago* environ.cc (build_env): Clear envblock and return NULL on attempt to use env
cgf [Fri, 16 Sep 2005 19:58:11 +0000 (19:58 +0000)]
* environ.cc (build_env): Clear envblock and return NULL on attempt to use env
var > 32K.
* spawn.cc (spawn_guts): Set E2BIG if build_env detects an error.

18 years ago* environ.cc (environ_init): Protect with a 'myfault' in case
cgf [Fri, 16 Sep 2005 15:56:01 +0000 (15:56 +0000)]
* environ.cc (environ_init): Protect with a 'myfault' in case
GetEnvironmentStrings misbehaves.
* environ.cc (environ_init): Add debugging output with value returned from
GetEnvironmentStrings.

18 years ago* environ.cc (environ_init): Issue an error if GetEnvironmentStrings fails and
cgf [Fri, 16 Sep 2005 14:52:32 +0000 (14:52 +0000)]
* environ.cc (environ_init): Issue an error if GetEnvironmentStrings fails and
return.

18 years ago* pinfo.h (EXITCODE_SET): Move out of range of Windows error.
cgf [Fri, 16 Sep 2005 03:16:16 +0000 (03:16 +0000)]
* pinfo.h (EXITCODE_SET): Move out of range of Windows error.
(EXITCODE_NOSET): Ditto.
* sigproc.cc (no_signals_available): Remove check for hwait_sig.  Just rely on
my_sendsig.  Pass in an argument controlling when it is appropriate to test
EXITCODE_SET.
(proc_can_be_signalled): Remove checks for myself since this function is never
called in that context.
(sigproc_init): Pre-initialize my_sendsig to non-zero so that
proc_can_be_signalled will know that we expect to be signalable soon.
(sig_send): Change debugging output.

18 years ago* sigproc.cc (no_signals_available): Return true if sending to self from the
cgf [Fri, 16 Sep 2005 01:47:07 +0000 (01:47 +0000)]
* sigproc.cc (no_signals_available): Return true if sending to self from the
signal thread.
(wait_sig): Correct so that WaitForSingleObject is called when hMainThread is
!= 0, rather than the reverse.
* cygheap.cc (cygheap_fixup_in_child): Clarify potential error message.
* fork.cc (fork_copy): Cosmetic change.

18 years ago*** empty log message ***
gdbadmin [Fri, 16 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 16 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update

18 years ago* sigproc.cc (wait_sig): Reorganize exit case so that ExitProcess is always
cgf [Thu, 15 Sep 2005 16:06:17 +0000 (16:06 +0000)]
* sigproc.cc (wait_sig): Reorganize exit case so that ExitProcess is always
called, since that is the intent of sending a __SIGEXIT.  Wait forever for main
thread to go away since, presumably, the main thread told us it was going away.

18 years ago * cygwinenv.sgml (ntea): Add some wording to scare people away
corinna [Thu, 15 Sep 2005 08:24:46 +0000 (08:24 +0000)]
* cygwinenv.sgml (ntea): Add some wording to scare people away
from using this option.

18 years agomerge from gcc
dj [Thu, 15 Sep 2005 01:04:04 +0000 (01:04 +0000)]
merge from gcc

18 years ago* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".
cgf [Thu, 15 Sep 2005 00:31:39 +0000 (00:31 +0000)]
* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".

18 years ago* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.
cgf [Thu, 15 Sep 2005 00:02:51 +0000 (00:02 +0000)]
* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.
* spawn.cc (av::fixup): Guard against problems reading an executable which does
not match Microsoft's documentation about PE format.

18 years agodaily update
amodra [Thu, 15 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 15 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* spawn.cc (av::error): Eliminate.
cgf [Wed, 14 Sep 2005 23:03:41 +0000 (23:03 +0000)]
* spawn.cc (av::error): Eliminate.
(av::av): Remove reference to error.
(av::replace0_maybe): Ditto.
(av::dup_maybe): Ditto.
(av::dup_all): Ditto.
(av::unshift): Ditto.
(spawn_guts): On a fault, return E2BIG only if ENOMEM has been set.  Otherwise
return EFAULT.

18 years ago* cygtls.h (san): New structure.
cgf [Wed, 14 Sep 2005 21:26:11 +0000 (21:26 +0000)]
* cygtls.h (san): New structure.
(cygtls::andreas): New element.  Replaces _myfault and _myfault_errno.
(cygtls::fault_guarded): Use andreas.
(cygtls::return_from_fault): Ditto.
(cygtls::setup_fault): Add a parameter denoting where to store old fault
handler, if any and use it to "stack" faults.
(cygtls::reset_fault): Restore fault from parameter.
(myfault::sebastian): New variable.
(myfault::~myfault): Pass sebastian to reset_fault.
(myfault::myfault): Store old fault values in sebastian.

18 years ago* heap.cc (heap_init): Revert 2005-09-11 patch as it seems to inexplicably
cgf [Wed, 14 Sep 2005 18:30:18 +0000 (18:30 +0000)]
* heap.cc (heap_init): Revert 2005-09-11 patch as it seems to inexplicably
cause problems with emacs.

18 years agoRemove some more unneeded 'return;'s throughout.
cgf [Wed, 14 Sep 2005 14:27:51 +0000 (14:27 +0000)]
Remove some more unneeded 'return;'s throughout.

18 years ago* sigproc.h: Protect declaration so that it only happens when
cgf [Wed, 14 Sep 2005 14:07:58 +0000 (14:07 +0000)]
* sigproc.h: Protect declaration so that it only happens when
__INSIDE_CYGWIN__.

18 years ago.
cgf [Wed, 14 Sep 2005 14:02:17 +0000 (14:02 +0000)]
.

18 years ago* exceptions.cc (sigtid): Remove declaration.
cgf [Wed, 14 Sep 2005 13:59:57 +0000 (13:59 +0000)]
* exceptions.cc (sigtid): Remove declaration.
(handle_exceptions): Use _sig_tls rather than sigtid to determine if this is
the signal thread.
(set_signal_mask): Ditto for conditionalized CGF code.
* pinfo.cc (pinfo::exit): Exit the thread if we forcefully terminated the main
thread
* sigproc.cc (sigtid): Delete.
(_sig_tls): Define.
(sig_clear): Use _sig_tls rather than sigtid to determine if this is the signal
thread.
(sig_dispatch_pending): Ditto.
(wait_sig): Set _sig_tls here.
* dcrt0.cc (do_exit): Move sigproc_terminate call later since signal handling
was still needed for subsequent stuff.  Call sigproc_terminate with new
exit_state value.
* pinfo.cc (pinfo::exit): Call sigproc_terminate with new exit_state value.
* sigproc.cc (proc_terminate): Remove unnecessary (void) parameter.
(sigproc_terminate): Ditto.  Add new argument to accept exit state to be set.
(wait_sig): Reorganize __SIGEXIT handling.  Add more debugging output.
* winsup.h (sigproc_terminate): Declare with new exit_state argument.
(exit_states): Reorganize to reflect new exit ordering of sigproc_terminate.

18 years agogas/
jbeulich [Wed, 14 Sep 2005 06:33:23 +0000 (06:33 +0000)]
gas/
2005-09-14  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
registers, floating point control and status words, and mxcsr as
well as (for 64-bit code) segment base registers and rflags.

18 years agodaily update
amodra [Wed, 14 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 14 Sep 2005 00:00:13 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
pgilliam [Tue, 13 Sep 2005 23:13:50 +0000 (23:13 +0000)]
2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
        vscr" tests to match output.

18 years ago2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
pgilliam [Tue, 13 Sep 2005 23:13:41 +0000 (23:13 +0000)]
2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
        vscr" tests to match output.

18 years ago2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
pgilliam [Tue, 13 Sep 2005 22:07:04 +0000 (22:07 +0000)]
2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
        output.

18 years ago* dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state
cgf [Tue, 13 Sep 2005 17:08:50 +0000 (17:08 +0000)]
* dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state
appropriately.
* pinfo.cc (pinfo::exit): Always call sigproc_terminate here.  Rely on
sigproc_terminate to signal signal thread to handle eventual process exit.
* sigproc.cc (no_signals_available): Change criteria for determining if this
process can handle signals to itself.
(my_sendsig): New variable.  Copy of my sendsig handle.
(proc_can_be_signalled): Don't send signals if exit code is set.
(sigproc_terminate): Use and set exit_state appropriately to determine when to
do anything.  Send __SIGEXIT to self to control process exit.
(sig_send): Use my_sendsig for sending signals.  Don't call
proc_can_be_signalled for myself since the criteria is now different for
sending signals to myself.
(wait_sig): Copy myself->sendsig to my_sendsig for future use.  Exit signal
loop when __SIGEXIT is received.  Wait for main thread to exit and use its exit
status to actually exit process.
* sigproc.h (__SIGEXIT): New enum.
* dcrt0.cc (alloc_stack): Eliminate superfluous "return;".
* debug.cc (add_handle): Ditto.
* devices.in (device::parse): Ditto.
* dtable.cc (dtable::vfork_parent_restore): Ditto.
(dtable::vfork_child_fixup): Ditto.
* environ.cc (parse_options): Ditto.
* errno.cc (seterrno_from_win_error): Ditto.
* exceptions.cc (sig_handle_tty_stop): Ditto.
(set_signal_mask): Ditto.
* fhandler.cc (fhandler_base::read): Ditto.
(fhandler_base::operator delete): Ditto.
(fhandler_base::seekdir): Ditto.
(fhandler_base::rewinddir): Ditto.
* fhandler_console.cc (fhandler_console::read): Ditto.
(fhandler_console::fixup_after_exec): Ditto.
* sigproc.cc (sigproc_init): Ditto.
(sigproc_terminate): Ditto.

* devices.cc: Regenerate.

18 years ago* sigproc.cc (wait_sig): Be more defensive about detecting when we're exiting.
cgf [Tue, 13 Sep 2005 15:05:51 +0000 (15:05 +0000)]
* sigproc.cc (wait_sig): Be more defensive about detecting when we're exiting.

18 years ago*** empty log message ***
gdbadmin [Tue, 13 Sep 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Tue, 13 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago* cygthread.cc (cygthread::cygthread): Add more info to fatal error.
cgf [Mon, 12 Sep 2005 21:19:06 +0000 (21:19 +0000)]
* cygthread.cc (cygthread::cygthread): Add more info to fatal error.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Temporarily remove
insertion of /dev into root directory.
* path.cc (path_conv::check): Ditto.

18 years ago * generic/gdbtk.c (gdbtk_init): Remove all mention of Tix.
kseitz [Mon, 12 Sep 2005 16:00:35 +0000 (16:00 +0000)]
    * generic/gdbtk.c (gdbtk_init): Remove all mention of Tix.
        * README: Ditto.

18 years ago* heap.cc (heap_init): Allocate heap from top down as a hedge against
cgf [Mon, 12 Sep 2005 03:55:15 +0000 (03:55 +0000)]
* heap.cc (heap_init): Allocate heap from top down as a hedge against
subsequent ERROR_INVALID_ADDRESS in forked processes when CTRL-C is pressed.

18 years agodaily update
amodra [Mon, 12 Sep 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 12 Sep 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
uweigand [Sun, 11 Sep 2005 21:54:56 +0000 (21:54 +0000)]
* config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Likewise.
(s390_stopped_by_watchpoint, s390_insert_watchpoint,
s390_remove_watchpoint, TARGET_CAN_USE_HARDWARE_WATCHPOINT,
TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
target_remove_watchpoint): Likewise.
* s390-nat.c: Remove include of <sys/user.h>.
(kernel_u_size): Remove.
(s390_stopped_by_watchpoint): Make static.
(s390_insert_watchpoint, s390_remove_watchpoint): Likewise.
(s390_can_use_hw_breakpoint): New function.
(s390_region_size_ok_for_hw_watchpoint): Likewise.
(_initialize_s390_nat): Add watchpoint methods to target.

18 years ago2005-09-11 Bob Rossi <bob@brasko.net>
bobbybrasko [Sun, 11 Sep 2005 20:24:54 +0000 (20:24 +0000)]
2005-09-11  Bob Rossi  <bob@brasko.net>

* lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
* gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
  commands that return an MI output command and an asyncronous MI output
  command.
* gdb.mi/mi-console.exp: Ditto.

18 years ago2005-09-11 Bob Rossi <bob@brasko.net>
bobbybrasko [Sun, 11 Sep 2005 12:50:45 +0000 (12:50 +0000)]
2005-09-11  Bob Rossi  <bob@brasko.net>

        * gdb.mi/mi-var-child.c: Include <string.h>.

18 years ago*** empty log message ***
gdbadmin [Sun, 11 Sep 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 11 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * Makefile.in (ALLDEPFILES): Update.
drow [Sat, 10 Sep 2005 18:11:01 +0000 (18:11 +0000)]
* Makefile.in (ALLDEPFILES): Update.
(alpha-linux-nat.o, sparc-linux-nat.o): New rules.
(amd64-linux-nat.o, arm-linux-nat.o, hppa-linux-nat.o)
(i386-linux-nat.o, ia64-linux-nat.o, linux-nat.o, m32r-linux-nat.o)
(m68klinux-nat.o, mips-linux-nat.o, ppc-linux-nat.o, s390-nat.o)
(sparc64-linux-nat.o): Update dependencies.
* alpha-linux-nat.c, sparc-linux-nat.c: New files.
* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(amd64_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(amd64_linux_child_post_start_inferior): Renamed from
child_post_startup_inferior and made static.  Call
super_post_startup_inferior.
(super_post_startup_inferior): New.
(_initialize_amd64_linux_nat): Set it.  Call linux_target and
add_target.
* arm-linux-nat.c (arm_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(arm_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_arm_linux_nat): Add a prototype.  Use linux_target and
add_target.
* hppa-linux-nat.c (hppa_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(hppa_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_hppa_linux_nat): New function.
* i386-linux-nat.c (i386_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(i386_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(i386_linux_resume): Renamed from child_resume and made static.
(i386_linux_child_post_start_inferior): Renamed from
child_post_startup_inferior and made static.  Call
super_post_startup_inferior.
(super_post_startup_inferior): New.
(_initialize_i386_linux_nat): New function.
* i386-nat.c: Remove LINUX_CHILD_POST_STARTUP_INFERIOR #ifndef.
* ia64-linux-nat.c (ia64_linux_xfer_unwind_table): Remove.
(super_xfer_partial): New.
(ia64_linux_xfer_partial): New function.  Use it.
(_initialize_ia64_linux_nat): New function.
* ia64-tdep.c (getunwind_table): Revert 2005-06-08 change; use
target_read_partial and document the problem.
* inf-ptrace.c (inf_ptrace_fetch_register): Use
CANNOT_FETCH_REGISTER.  Fix some comments.
(inf_ptrace_store_register): Use CANNOT_STORE_REGISTER.  Fix some
comments.
* linux-nat.c: Include "inf-ptrace.h" and "auxv.h".
(linux_ops, super_xfer_partial): New variables.
(linux_child_post_startup_inferior): Make static.
(child_post_startup_inferior): Delete.
(linux_nat_attach, linux_nat_detach, resume_callback)
(linux_nat_resume, linux_nat_wait, linux_nat_create_inferior)
(linux_nat_mourn_inferior): Use linux_ops instead of
deprecated_child_ops.
(child_wait): Do not depend on CHILD_WAIT.
(linux_nat_xfer_memory): Remove, replace by ...
(linux_nat_xfer_partial): ... this.  Use linux_ops->to_xfer_partial
instead of linux_proc_xfer_memory and child_xfer_memory.
(linux_nat_fetch_registers, linux_nat_store_registers)
(linux_nat_child_post_startup_inferior): New functions.
(init_linux_nat_ops): Use the new functions.
(linux_proc_xfer_memory): Remove, replace by ...
(linux_proc_xfer_partial): ... this.  Make static.
(linux_xfer_partial, linux_register_u_offset, linux_target): New
functions.
(_initialize_linux_nat): Do not modify deprecated_child_ops.
* linux-nat.h (linux_proc_xfer_memory): Remove prototype.
(struct mem_attrib, struct target_ops): Remove forward declarations.
(linux_child_post_startup_inferior): Remove prototype.
(linux_target): Add prototype.
* linux-thread-db.c (thread_db_xfer_memory): Remove, replace by ...
(thread_db_xfer_partial): ... this.
(init_thread_db_ops): Set to_xfer_partial instead of
deprecated_xfer_memory.
* m32r-linux-nat.c (m32r_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(m32r_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_m32r_linux_nat): New function.
* m68klinux-nat.c (m68k_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(m68k_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(old_fetch_inferior_registers, old_store_inferior_registers): Made
static.
(_initialize_m68k_linux_nat): Use linux_target and add_target.
* mips-linux-nat.c (_initialize_mips_linux_nat): New function.
* ppc-linux-nat.c (ppc_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(ppc_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_ppc_linux_nat): New function.
* s390-nat.c (s390_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(s390_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_s390_nat): New function.
* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Use
linux_target and add_target.
* config/nm-linux.h: Don't include "auxv.h".
(struct target_waitstatus, child_wait, CHILD_WAIT)
(CHILD_PID_TO_EXEC_FILE, CHILD_INSERT_FORK_CATCHPOINT)
(CHILD_INSERT_VFORK_CATCHPOINT, CHILD_INSERT_EXEC_CATCHPOINT)
(CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH, CHILD_FOLLOW_FORK)
(DEPRECATED_KILL_INFERIOR, NATIVE_XFER_AUXV): Delete.
* config/alpha/alpha-linux.mh (NATDEPFILES): Replace infptrace.o
and inftarg.o with inf-ptrace.o and alpha-linux-nat.o.
* config/sparc/linux.mh (NATDEPFILES): Replace infptrace.o and
inftarg.o with sparc-linux-nat.o.
* config/sparc/linux64.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.
* config/arm/linux.mh (NATDEPFILES): Replace infptrace.o and
inftarg.o with inf-ptrace.o.
* config/i386/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux64.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mh (NATDEPFILES): Likewise.
* config/m32r/linux.mh (NATDEPFILES): Likewise.
* config/m68k/linux.mh (NATDEPFILES): Likewise.
* config/mips/linux.mh (NATDEPFILES): Likewise.
* config/pa/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
* config/s390/s390.mh (NATDEPFILES): Likewise.
* config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Don't define.
(LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define.
* config/i386/nm-linux64.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
Don't define.
* config/ia64/nm-linux.h: Don't include "target.h".
(NATIVE_XFER_UNWIND_TABLE, ia64_linux_xfer_unwind_table): Remove.
* config/djgpp/fnchange.lst: Add alpha-linux-tdep.c,
alpha-linux-nat.c, sparc-linux-tdep.c, and sparc-linux-nat.c.

18 years ago * Makefile.in (ALLDEPFILES): Update.
drow [Sat, 10 Sep 2005 18:10:46 +0000 (18:10 +0000)]
* Makefile.in (ALLDEPFILES): Update.
(alpha-linux-nat.o, sparc-linux-nat.o): New rules.
(amd64-linux-nat.o, arm-linux-nat.o, hppa-linux-nat.o)
(i386-linux-nat.o, ia64-linux-nat.o, linux-nat.o, m32r-linux-nat.o)
(m68klinux-nat.o, mips-linux-nat.o, ppc-linux-nat.o, s390-nat.o)
(sparc64-linux-nat.o): Update dependencies.
* alpha-linux-nat.c, sparc-linux-nat.c: New files.
* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(amd64_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(amd64_linux_child_post_start_inferior): Renamed from
child_post_startup_inferior and made static.  Call
super_post_startup_inferior.
(super_post_startup_inferior): New.
(_initialize_amd64_linux_nat): Set it.  Call linux_target and
add_target.
* arm-linux-nat.c (arm_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(arm_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_arm_linux_nat): Add a prototype.  Use linux_target and
add_target.
* hppa-linux-nat.c (hppa_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(hppa_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_hppa_linux_nat): New function.
* i386-linux-nat.c (i386_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(i386_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(i386_linux_resume): Renamed from child_resume and made static.
(i386_linux_child_post_start_inferior): Renamed from
child_post_startup_inferior and made static.  Call
super_post_startup_inferior.
(super_post_startup_inferior): New.
(_initialize_i386_linux_nat): New function.
* i386-nat.c: Remove LINUX_CHILD_POST_STARTUP_INFERIOR #ifndef.
* ia64-linux-nat.c (ia64_linux_xfer_unwind_table): Remove.
(super_xfer_partial): New.
(ia64_linux_xfer_partial): New function.  Use it.
(_initialize_ia64_linux_nat): New function.
* ia64-tdep.c (getunwind_table): Revert 2005-06-08 change; use
target_read_partial and document the problem.
* inf-ptrace.c (inf_ptrace_fetch_register): Use
CANNOT_FETCH_REGISTER.  Fix some comments.
(inf_ptrace_store_register): Use CANNOT_STORE_REGISTER.  Fix some
comments.
* linux-nat.c: Include "inf-ptrace.h" and "auxv.h".
(linux_ops, super_xfer_partial): New variables.
(linux_child_post_startup_inferior): Make static.
(child_post_startup_inferior): Delete.
(linux_nat_attach, linux_nat_detach, resume_callback)
(linux_nat_resume, linux_nat_wait, linux_nat_create_inferior)
(linux_nat_mourn_inferior): Use linux_ops instead of
deprecated_child_ops.
(child_wait): Do not depend on CHILD_WAIT.
(linux_nat_xfer_memory): Remove, replace by ...
(linux_nat_xfer_partial): ... this.  Use linux_ops->to_xfer_partial
instead of linux_proc_xfer_memory and child_xfer_memory.
(linux_nat_fetch_registers, linux_nat_store_registers)
(linux_nat_child_post_startup_inferior): New functions.
(init_linux_nat_ops): Use the new functions.
(linux_proc_xfer_memory): Remove, replace by ...
(linux_proc_xfer_partial): ... this.  Make static.
(linux_xfer_partial, linux_register_u_offset, linux_target): New
functions.
(_initialize_linux_nat): Do not modify deprecated_child_ops.
* linux-nat.h (linux_proc_xfer_memory): Remove prototype.
(struct mem_attrib, struct target_ops): Remove forward declarations.
(linux_child_post_startup_inferior): Remove prototype.
(linux_target): Add prototype.
* linux-thread-db.c (thread_db_xfer_memory): Remove, replace by ...
(thread_db_xfer_partial): ... this.
(init_thread_db_ops): Set to_xfer_partial instead of
deprecated_xfer_memory.
* m32r-linux-nat.c (m32r_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(m32r_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_m32r_linux_nat): New function.
* m68klinux-nat.c (m68k_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(m68k_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(old_fetch_inferior_registers, old_store_inferior_registers): Made
static.
(_initialize_m68k_linux_nat): Use linux_target and add_target.
* mips-linux-nat.c (_initialize_mips_linux_nat): New function.
* ppc-linux-nat.c (ppc_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(ppc_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_ppc_linux_nat): New function.
* s390-nat.c (s390_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(s390_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_s390_nat): New function.
* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Use
linux_target and add_target.
* config/nm-linux.h: Don't include "auxv.h".
(struct target_waitstatus, child_wait, CHILD_WAIT)
(CHILD_PID_TO_EXEC_FILE, CHILD_INSERT_FORK_CATCHPOINT)
(CHILD_INSERT_VFORK_CATCHPOINT, CHILD_INSERT_EXEC_CATCHPOINT)
(CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH, CHILD_FOLLOW_FORK)
(DEPRECATED_KILL_INFERIOR, NATIVE_XFER_AUXV): Delete.
* config/alpha/alpha-linux.mh (NATDEPFILES): Replace infptrace.o
and inftarg.o with inf-ptrace.o and alpha-linux-nat.o.
* config/sparc/linux.mh (NATDEPFILES): Replace infptrace.o and
inftarg.o with sparc-linux-nat.o.
* config/sparc/linux64.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.
* config/arm/linux.mh (NATDEPFILES): Replace infptrace.o and
inftarg.o with inf-ptrace.o.
* config/i386/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux64.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mh (NATDEPFILES): Likewise.
* config/m32r/linux.mh (NATDEPFILES): Likewise.
* config/m68k/linux.mh (NATDEPFILES): Likewise.
* config/mips/linux.mh (NATDEPFILES): Likewise.
* config/pa/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
* config/s390/s390.mh (NATDEPFILES): Likewise.
* config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Don't define.
(LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define.
* config/i386/nm-linux64.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
Don't define.
* config/ia64/nm-linux.h: Don't include "target.h".
(NATIVE_XFER_UNWIND_TABLE, ia64_linux_xfer_unwind_table): Remove.
* config/djgpp/fnchange.lst: Add alpha-linux-tdep.c,
alpha-linux-nat.c, sparc-linux-tdep.c, and sparc-linux-nat.c.

18 years ago * killed.exp: Correct gdb_expect syntax.
drow [Sat, 10 Sep 2005 14:17:33 +0000 (14:17 +0000)]
* killed.exp: Correct gdb_expect syntax.

18 years ago.
cgf [Sat, 10 Sep 2005 05:51:26 +0000 (05:51 +0000)]
.

18 years ago* heap.cc (heap_init): Be slightly more aggressive when trying to allocate
cgf [Sat, 10 Sep 2005 01:37:20 +0000 (01:37 +0000)]
* heap.cc (heap_init): Be slightly more aggressive when trying to allocate
heap.  Change fatal error to avoid confusion with cygheap.
* spawn.cc (linebuf::finish): New function.
(linebuf::add): Cosmetic change.
(spawn_guts): Only avoid building windows command line if the program being
executed was actually mounted with -X.  Don't return E2BIG if we hit the 32K
size and we're executing a detected cygwin program.  Just silently truncate the
windows command line, instead.

18 years ago*** empty log message ***
gdbadmin [Sat, 10 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 10 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago * elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h):
kevinb [Fri, 9 Sep 2005 18:26:01 +0000 (18:26 +0000)]
* elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h):
Include.
(elf32_am33lin_grok_prstatus, elf32_am33lin_grok_psinfo): New
functions.
(elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.

18 years ago * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
rearnsha [Fri, 9 Sep 2005 13:12:20 +0000 (13:12 +0000)]
* readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
SHT_ARM_ATTRIBUTES.

18 years ago * elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP
rearnsha [Fri, 9 Sep 2005 13:09:56 +0000 (13:09 +0000)]
* elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP
and SHT_ARM_ATTRIBUTES.

18 years ago * arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
rearnsha [Fri, 9 Sep 2005 13:06:21 +0000 (13:06 +0000)]
* arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.

18 years ago2005-09-09 Dmitry Diky <diwil@spec.ru>
diwil [Fri, 9 Sep 2005 08:46:17 +0000 (08:46 +0000)]
2005-09-09  Dmitry Diky  <diwil@spec.ru>

        * config/tc-msp430.c (msp430_operands): Undo last changes. Instead...
(msp430_relax_frag): add a guard check to ensure that final fr_subtype
has been reached.

18 years ago2005-09-08 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 9 Sep 2005 05:11:47 +0000 (05:11 +0000)]
2005-09-08  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_get_linked_section_vma): Fix a typo in comment.
* elfxx-ia64.c (elf_backend_link_order_error_handler): Likewise.

18 years ago* fhandler_serial.cc (fhandler_serial::tcgetattr): Just zero c_cflag here
cgf [Fri, 9 Sep 2005 03:00:34 +0000 (03:00 +0000)]
* fhandler_serial.cc (fhandler_serial::tcgetattr): Just zero c_cflag here
rather than clearing CBAUD after the fact.

18 years ago* fhandler_serial.cc (fhandler_serial::ioctl): Always return 0 for window size.
cgf [Fri, 9 Sep 2005 02:53:39 +0000 (02:53 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Always return 0 for window size.
* termios.cc (tcgetattr): Clear out baud part of c_cflag since it is always
ignored.

18 years agodaily update
amodra [Fri, 9 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Fri, 9 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoAdd am33-2 support to mn10300-tdep.c.
kevinb [Thu, 8 Sep 2005 22:48:48 +0000 (22:48 +0000)]
Add am33-2 support to mn10300-tdep.c.

18 years ago2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 8 Sep 2005 22:45:49 +0000 (22:45 +0000)]
2005-09-08  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add include files under bits sub-directory.
        * Makefile.in: Regenerated.
        * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
        actual value of 1 to be compatible with newer glibc headers.
        * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
        glibc headers.
        * libc/sys/linux/sys/dirent.h: Ditto.
        * libc/sys/linux/argp/argp-xinl.c: Ditto.
        * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
        profile_fixup routines are marked used so they won't be
        optimized away.
        * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
        to mark functions as weak.
        * libc/sys/linux/dl/dl-open.c: Ditto.
        * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
        rules about lvalues.
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
        weak_extern macro to mark functions as weak.  Instead always
        use #pragma weak.
        * iconvdata/jis0208.h: Fix to work with gcc4.
        * libc/sys/linux/dl/dl-load.c: Ditto.
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
        * libc/sys/linux/dl/do-rel.h: Ditto.
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
        * libc/sys/linux/include/ltdl.h: Ditto.
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
        * libc/sys/linux/bits/initspin.h: New file.
        * libc/sys/linux/bits/libc-lock.h: Ditto.
        * libc/sys/linux/bits/pthreadtypes.h: Ditto.
        * libc/sys/linux/bits/typesizes.h: Ditto.

18 years ago2005-09-08 Eric Blake <ebb9@byu.net>
jjohnstn [Thu, 8 Sep 2005 21:07:43 +0000 (21:07 +0000)]
2005-09-08  Eric Blake  <ebb9@byu.net>

* libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
before is NULL.

18 years ago2005-09-08 Brian Dessent <brian@dessent.net>
jjohnstn [Thu, 8 Sep 2005 21:03:53 +0000 (21:03 +0000)]
2005-09-08  Brian Dessent  <brian@dessent.net>

        * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
        mantissa.
        * s_lrint.c: Ditto.

18 years ago* doc/as.texinfo: Document -mdsp and -mno-dsp options.
chaoyingfu [Thu, 8 Sep 2005 18:05:09 +0000 (18:05 +0000)]
* doc/as.texinfo: Document -mdsp and -mno-dsp options.
* doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp"
directives.

18 years ago * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
jakub [Thu, 8 Sep 2005 16:03:25 +0000 (16:03 +0000)]
* ld.texinfo: Document -z {no,}execstack, -z {no,}relro
and --eh-frame-hdr options.

18 years ago * exceptions.cc (ctrl_c_handler): Disable any special CTRL_LOGOFF_EVENT
corinna [Thu, 8 Sep 2005 14:58:14 +0000 (14:58 +0000)]
* exceptions.cc (ctrl_c_handler): Disable any special CTRL_LOGOFF_EVENT
handling and add longish comment about the reasons.

18 years ago2005-09-08 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 8 Sep 2005 14:24:16 +0000 (14:24 +0000)]
2005-09-08  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1263
* elflink.c (elf_link_add_object_symbols): Abort for
--just-symbols on DSO.

18 years ago * include/reason.h [_WIN32_WINNT >= 0x0501]
papadopo [Thu, 8 Sep 2005 13:55:46 +0000 (13:55 +0000)]
* include/reason.h  [_WIN32_WINNT >= 0x0501]
(SHTDN_REASON_*): New file.
* include/objbase.h: Avoid double header guard.

18 years ago * include/reason.h [_WIN32_WINNT >= 0x0501]
papadopo [Thu, 8 Sep 2005 13:52:48 +0000 (13:52 +0000)]
* include/reason.h  [_WIN32_WINNT >= 0x0501]
(SHTDN_REASON_*): New file.
* include/objbase.h: Avoid double header guard.

18 years ago2005-09-08 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 8 Sep 2005 12:49:14 +0000 (12:49 +0000)]
2005-09-08  Paul Brook  <paul@codesourcery.com>

bfd/
* reloc.c: Rename BFD_RELOC_ARM_SMI to BFD_RELOC_ARM_SMC.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
opcodes/
* arm-dis.c (arm_opcodes, thumb32_opcodes): Rename smi to smc.
gas/
* config/tc-arm.c (do_smi, do_t_smi): Rename ...
(do_smc, do_t_smc): ... to this.
(insns): Remane smi to smc.
(md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to
BFD_RELOC_ARM_SMC.
gas/testsuite/
* gas/arm/arch6zk.d: Rename smi to smc.
* gas/arm/arch6zk.s: Ditto.
* gas/arm/thumb32.d: Ditto.
* gas/arm/thumb32.s: Ditto.

18 years agoRemove extraneous line.
schwab [Thu, 8 Sep 2005 10:08:34 +0000 (10:08 +0000)]
Remove extraneous line.

18 years ago * regtool.cc: Extend copyright-years.
corinna [Thu, 8 Sep 2005 09:24:41 +0000 (09:24 +0000)]
* regtool.cc: Extend copyright-years.
(print_version): Ditto.
(cmd_list): Don't depend on terminating '\0' being present on
string-values.
(cmd_get): Don't attempt to read more than present, but keep
extra space for terminating '\0'. Really output REG_BINARY.
Don't leak memory.
(cmd_set): Include trailing '\0' in string's length.

18 years ago* hookapi.cc (rvadelta): Change argument to DWORD to eliminate a compiler
cgf [Thu, 8 Sep 2005 00:57:09 +0000 (00:57 +0000)]
* hookapi.cc (rvadelta): Change argument to DWORD to eliminate a compiler
warning.
* path.h (path_conv::set_cygexec): New function.
* spawn.cc (av::iscygwin): Eliminate.
(av::av): Don't initialize iscygwin.
(spawn_guts): Just use real_path.iscygexec for all tests.
(av::fixup): Short circuit test if .exe extension and known cygexec.  Set
cygexec flag appropriately if we find that program uses cygwin1.dll.

18 years agodaily update
amodra [Thu, 8 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 8 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * dwarf2dbg.c (dwarf2_where): Set line->isa.
rth [Wed, 7 Sep 2005 19:22:39 +0000 (19:22 +0000)]
    * dwarf2dbg.c (dwarf2_where): Set line->isa.
        (dwarf2_set_isa): New.
        (dwarf2_directive_loc): Rearrange to allow all options on one line.
        * dwarf2dbg.h (dwarf2_set_isa): Declare.
        * doc/as.texinfo: Update .loc documentation.

        * gas/lns/lns-common-1.d: Don't match header or special opcode numbers.
        * gas/lns/lns-common-1.s: Update for syntax change.
        * gas/lns/lns-diag-1.[sl]: Likewise.

18 years ago * gas/mips/mips16-dwarf2.d: Don't match anything but address and line
rth [Wed, 7 Sep 2005 19:08:51 +0000 (19:08 +0000)]
    * gas/mips/mips16-dwarf2.d: Don't match anything but address and line
        number increments.  Adjust relocation address.
        * gas/mips/mips16-dwarf2-n32.d: Likewise.  Add "N32" to test name.

18 years ago * gas/cris/rd-dw2-1.d: Don't match anything but address and line
rth [Wed, 7 Sep 2005 18:46:15 +0000 (18:46 +0000)]
    * gas/cris/rd-dw2-1.d: Don't match anything but address and line
        number increments.
        * gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d,
        gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d,
        gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, gas/cris/rd-dw2-4.d,
        gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, gas/cris/rd-dw2-7.d,
        gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d: Likewise.

18 years ago2005-09-07 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 7 Sep 2005 16:25:35 +0000 (16:25 +0000)]
2005-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (get_elf_section_flags): Handle 64bit sh_flags.

18 years agoadd missing ChangeLog entry.
cgf [Wed, 7 Sep 2005 16:01:06 +0000 (16:01 +0000)]
add missing ChangeLog entry.

18 years ago * dwarf2dbg.c: Include safe-ctype.h.
rth [Wed, 7 Sep 2005 11:41:24 +0000 (11:41 +0000)]
    * dwarf2dbg.c: Include safe-ctype.h.
        (DWARF2_LINE_OPCODE_BASE): Bump to 13.
        (current): Initialize.
        (dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK,
        DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN.
        (dwarf2_directive_file): Cope with invalid filename.
        (dwarf2_directive_loc): Add handling for basic_block, prologue_end,
        epilogue_begin, is_stmt, isa.
        (emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special
        case down lower.
        (process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END,
        and DWARF2_FLAG_EPILOGUE_BEGIN.
        (out_debug_line): Emit sizes for DW_LNS_set_prologue_end,
        DW_LNS_set_epilogue_begin, DW_LNS_set_isa.
        * dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT.        (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK.
        (DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New.
        (struct dwarf2_line_info): Add isa member.
        * doc/as.texinfo (LNS directives): New node.

18 years ago* config/tc-mips.c (append_insn): Undo last change. Instead add
davidu [Wed, 7 Sep 2005 11:39:16 +0000 (11:39 +0000)]
* config/tc-mips.c (append_insn): Undo last change.  Instead add
guard to suppress calling frag_grow if the current instruction is
one that allows a delay slot.

18 years ago * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
amodra [Wed, 7 Sep 2005 06:27:35 +0000 (06:27 +0000)]
* ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
(exp_fold_tree_1): Print assert message only in final stage of
linking.  Trigger assertion failure if expression cannot be
evaluated.

18 years ago2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 7 Sep 2005 05:01:52 +0000 (05:01 +0000)]
2005-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1263
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
--just-symbols on DSO.

18 years ago2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 7 Sep 2005 05:01:12 +0000 (05:01 +0000)]
2005-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1301
* elflink.c (_bfd_elf_merge_symbol): Don't check undefined
symbol introduced by "ld -u" for TLS.

18 years ago* dcrt0.cc (initial_env): Don't attempt stracing if dynamically loaded.
cgf [Wed, 7 Sep 2005 03:10:16 +0000 (03:10 +0000)]
* dcrt0.cc (initial_env): Don't attempt stracing if dynamically loaded.
(dll_crt0_0): Move console initialization earlier.
* init.cc (dll_entry): Move console initialization here.
* exceptions.cc (init_console_handler): Fully remove any old console handler.
* spawn.cc (spawn_guts): Don't fill out windows argv if we've deduced that this
is a cygwin-using program.
(av::fixup): Always check executables to see if they are using cygwin1.dll.
Don't consider .com files to be scripts.
* hookapi.cc (rvadelta): New function.
(PEHeaderFromHModule): Simplify slightly.
(hook_or_detect_cygwin): Use passed in name argument for "HMODULE" rather than
incorrectly reading current program.  Calculate delta needed to read image data
and file names if this isn't a real "HMODULE".

18 years ago Import from Autoconf sources:
bje [Wed, 7 Sep 2005 00:42:19 +0000 (00:42 +0000)]
Import from Autoconf sources:

2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
* move-if-change: Don't output "$2 is unchanged"; suggested by Ben
Elliston.  Handle weird characters correctly.

18 years ago * mn10300-linux-tdep.c (mn10300_linux_svr4_fetch_link_map_offsets):
kevinb [Wed, 7 Sep 2005 00:23:14 +0000 (00:23 +0000)]
* mn10300-linux-tdep.c (mn10300_linux_svr4_fetch_link_map_offsets):
Delete.
(am33_linux_init_osabi): Register svr4_ilp32_fetch_link_map_offsets
instead.

18 years ago*** empty log message ***
gdbadmin [Wed, 7 Sep 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 7 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * mn10300-linux-tdep.c (solib-svr4.h): Include.
kevinb [Tue, 6 Sep 2005 23:14:44 +0000 (23:14 +0000)]
* mn10300-linux-tdep.c (solib-svr4.h): Include.
(mn10300_linux_svr4_fetch_link_map_offsets): New function.
(am33_linux_init_osabi): Register it.
* Makefile.in (mn10300-linux-tdep.o): Update dependencies.

18 years ago * mn10300-linux-tdep.c (solib-svr4.h): Include.
kevinb [Tue, 6 Sep 2005 23:14:32 +0000 (23:14 +0000)]
* mn10300-linux-tdep.c (solib-svr4.h): Include.
(mn10300_linux_svr4_fetch_link_map_offsets): New function.
(am33_linux_init_osabi): Register it.
* Makefile.in (mn10300-linux-tdep.o): Update dependencies.

18 years ago * mn10300-tdep.c (mn10300_analyze_prologue): Delete code disabled
kevinb [Tue, 6 Sep 2005 22:13:08 +0000 (22:13 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Delete code disabled
via "#if 0".