OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago*** empty log message ***
gdbadmin [Thu, 9 Dec 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 8 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * library/download.ith (completed_steps): New variable.
kseitz [Wed, 8 Dec 2004 22:31:44 +0000 (22:31 +0000)]
    * library/download.ith (completed_steps): New variable.
        * library/download.itb (Download::constructor): Remove
        "-fraction" option from iwidgets feedback widget. It's not a valid
        option!
        (update_download): Compute the step number and use that to
        update the feedback widget.
        (done): Use completed_steps to figure out how many steps
        the dumb feedback meter needs to show full.

19 years ago * Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.
dje [Wed, 8 Dec 2004 20:29:57 +0000 (20:29 +0000)]
* Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.
* Makefile.tpl (EXTRA_HOST_FLAGS): Add PICFLAG.
(EXTRA_TARGET_FLAGS): Add PICFLAG.
* Makefile.in: Regenerate.

19 years ago * ld-mips-elf/jaloverflow.d: New test.
ian [Wed, 8 Dec 2004 20:28:07 +0000 (20:28 +0000)]
* ld-mips-elf/jaloverflow.d: New test.
* ld-mips-elf/jaloverflow.s: New test.
* ld-mips-elf/mips-elf.exp: Run it.

19 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26
ian [Wed, 8 Dec 2004 20:27:47 +0000 (20:27 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26
overflow.

19 years agoForgot to mention a change...
kseitz [Wed, 8 Dec 2004 20:24:13 +0000 (20:24 +0000)]
Forgot to mention a change...

19 years ago From Ben Elliston (bje@gnu.org):
kseitz [Wed, 8 Dec 2004 20:21:08 +0000 (20:21 +0000)]
    From Ben Elliston (bje@gnu.org):
        * rhabout.c (extra_text): Convert to object interface.

19 years ago* Makefile.tpl: Generate normal dependencies if the LHS module is
dj [Wed, 8 Dec 2004 18:57:25 +0000 (18:57 +0000)]
* Makefile.tpl: Generate normal dependencies if the LHS module is
not bootstrapped.
* Makefile.in: Regenerate.

19 years agomerge from gcc
dj [Wed, 8 Dec 2004 18:55:40 +0000 (18:55 +0000)]
merge from gcc

19 years ago2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
jjohnstn [Wed, 8 Dec 2004 18:12:27 +0000 (18:12 +0000)]
2004-12-08  Alex Mogilnikov  <alx@intellectronika.ru>

        * libc/time/tzset_r (_tzset_r): Fix loop.

19 years ago2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
jjohnstn [Wed, 8 Dec 2004 17:54:37 +0000 (17:54 +0000)]
2004-12-08  Alex Mogilnikov  <alx@intellectronika.ru>

        * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
        m_day.
        (__tzcalc_limits): Fix reference to month array to be zero-based.

19 years ago * acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area. Reset
drow [Wed, 8 Dec 2004 15:50:28 +0000 (15:50 +0000)]
* acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area.  Reset
LIBS when finished.
* aclocal.m4: Regenerated.
* configure: Regenerated.

19 years ago * linux-thread-db.c (BUILD_THREAD): Delete.
drow [Wed, 8 Dec 2004 15:10:24 +0000 (15:10 +0000)]
* linux-thread-db.c (BUILD_THREAD): Delete.
(thread_get_info_callback): Include LWP ID in thread ID.
(thread_from_lwp, check_event, find_new_threads_callback): Likewise.
(lwp_from_thread): Use the LWP ID from the thread ID.

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
tausq [Wed, 8 Dec 2004 06:12:38 +0000 (06:12 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_prev_register_helper): Zero out the entire
register for both 32- and 64-bit targets.

19 years ago* gdb.texinfo (General Query Packets): Specify that thread ID's in
jimb [Wed, 8 Dec 2004 05:28:31 +0000 (05:28 +0000)]
* gdb.texinfo (General Query Packets): Specify that thread ID's in
the 'qC' and 'qThreadInfo' packets are unsigned hexidecimal
numbers.

19 years ago * Makefile.in (.NOEXPORT): Move above the autogenerated line.
bje [Wed, 8 Dec 2004 03:13:27 +0000 (03:13 +0000)]
* Makefile.in (.NOEXPORT): Move above the autogenerated line.

19 years ago * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
bje [Wed, 8 Dec 2004 02:50:40 +0000 (02:50 +0000)]
* doc/Makefile.am (config.texi): Emit a @set UPDATED command to
config.texi whose value is the current month and year.
* doc/Makefile.in: Rebuild.
* doc/binutils.texi: Set the document subtitle to be the value of
the Texinfo UPDATED variable (obtained from config.texi).

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
tausq [Wed, 8 Dec 2004 01:56:12 +0000 (01:56 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* frame.c (get_prev_frame): Don't terminate unwinding at main if we
are unwinding through a dummy frame.

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
tausq [Wed, 8 Dec 2004 01:47:54 +0000 (01:47 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* hppa-tdep.h (gdbarch_tdep): Add unwind_adjust_stub method.
* hppa-hpux-tdep.c (hppa_hpux_unwind_adjust_stub): New function.
(hppa_hpux_init_abi) Set unwind_adjust_stub method.
* hppa-tdep.c (hppa_frame_cache): Call unwind_adjust_stub method
     if defined.

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
tausq [Wed, 8 Dec 2004 01:43:59 +0000 (01:43 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_stub_Frame_unwind_cache): Stop unwinding if
unwinding from a frame with pc == 0.
(hppa_stub_frame_this_id): Likewise.
(hppa_stub_frame_prev_register): Only provide real values if the frame
cache is not NULL.

19 years ago2004-12-07 Randolph Chung <tausq@debian.org>
tausq [Wed, 8 Dec 2004 01:36:40 +0000 (01:36 +0000)]
2004-12-07  Randolph Chung  <tausq@debian.org>

* solib-som.c: New file.
* solib-som.h: New file.
* solib-pa64.c: New file.
* solib-pa64.h: New file.

19 years agomerge from gcc
dj [Wed, 8 Dec 2004 01:02:33 +0000 (01:02 +0000)]
merge from gcc

19 years ago * run.1: Document --sysroot=filepath.
hp [Wed, 8 Dec 2004 00:40:30 +0000 (00:40 +0000)]
* run.1: Document --sysroot=filepath.
* sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT.
(standard_options): Support --sysroot=<path>.
(standard_option_handler): Handle OPTION_SYSROOT.
* syscall.c (simulator_sysroot): Define, initialized empty.
(get_path): Prepend simulator_sysroot to absolute file path.
[HAVE_STRING_H]: Include string.h.
[!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h.
* nrun.c [HAVE_UNISTD_H]: Include unistd.h.
(main): If simulator_sysroot is not empty, chdir there.
* sim-config.h (simulator_sysroot): Declare.

19 years ago * getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
bje [Wed, 8 Dec 2004 00:30:35 +0000 (00:30 +0000)]
* getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
(_getopt_initialize): Annotate argc and argv parameters as unused.
* Makefile.in (getopt.o): Depend on $(INCDIR)/ansidecl.h.

19 years ago*** empty log message ***
gdbadmin [Wed, 8 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * configure: Regenerate for ../common/aclocal.m4 update.
hp [Tue, 7 Dec 2004 23:51:23 +0000 (23:51 +0000)]
* configure: Regenerate for ../common/aclocal.m4 update.

19 years ago * configure: Regenerate for ../common/aclocal.m4 update.
hp [Tue, 7 Dec 2004 23:50:37 +0000 (23:50 +0000)]
* configure: Regenerate for ../common/aclocal.m4 update.

19 years ago * configure: Regenerate for ../common/aclocal.m4 update.
hp [Tue, 7 Dec 2004 23:49:53 +0000 (23:49 +0000)]
* configure: Regenerate for ../common/aclocal.m4 update.

19 years ago * configure: Regenerate for ../common/aclocal.m4 update.
hp [Tue, 7 Dec 2004 23:47:08 +0000 (23:47 +0000)]
* configure: Regenerate for ../common/aclocal.m4 update.

19 years ago * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
hp [Tue, 7 Dec 2004 23:37:35 +0000 (23:37 +0000)]
* aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
cgen_rtx_error" in a CGEN-generated simulator.
* gdbinit.in: Break on sim_core_signal too.  Have autoconf
replacement for CGEN-related breakpoints.

19 years agodaily update
amodra [Tue, 7 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * Make-common.in (sim-basics_h): Add $(callback_h).
hp [Tue, 7 Dec 2004 22:28:53 +0000 (22:28 +0000)]
* Make-common.in (sim-basics_h): Add $(callback_h).

19 years ago* Makefile.in (inf-ttrace.o): Fix typo.
kettenis [Tue, 7 Dec 2004 22:17:56 +0000 (22:17 +0000)]
* Makefile.in (inf-ttrace.o): Fix typo.

19 years ago* remote.c (remote_threads_info, remote_current_thread): Use
jimb [Tue, 7 Dec 2004 20:21:25 +0000 (20:21 +0000)]
* remote.c (remote_threads_info, remote_current_thread): Use
strtoul to parse thread ID numbers.

19 years agomerge from gcc
dj [Tue, 7 Dec 2004 20:02:09 +0000 (20:02 +0000)]
merge from gcc

19 years ago* inf-ttrace.c: Include "gdbthread.h".
kettenis [Tue, 7 Dec 2004 19:57:19 +0000 (19:57 +0000)]
* inf-ttrace.c: Include "gdbthread.h".
(inf_ttrace_num_lwps): New variable.
(inf_ttrace_num_lwps_in_syscall): Renamed from
inf_ttrace_num_threads_in_syscall.
(inf_ttrace_him): Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and
TTEVT_LWP_TERMINATE events.
(inf_ttrace_create_inferior): Assert that INF_TTRACE_NUM_LWPS is
zero.
(inf_ttrace_mourn_inferior): Set INF_TTRACE_NUM_LWPS to zero.
(inf_ttrace_attach): Assert that INF_TTRACE_NUM_LWPS is zero.
Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE
events.
(inf_ttrace_wait): Report status as TARGET_WAITKIND_SPURIOUS by
default.  Handle TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and
TTEVT_LWP_TERMINATE events.
(inf_ttrace_thread_alive, inf_ttrace_pid_to_str): New functions.
(inf_ttrace_target): Set to_thread_alive and to_pid_to_str.
* Makefile.in (inf-ttrace.o): Update dependencies.

19 years ago2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 7 Dec 2004 18:54:28 +0000 (18:54 +0000)]
2004-12-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
        and usleep.

19 years ago* hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): New
kettenis [Tue, 7 Dec 2004 18:04:06 +0000 (18:04 +0000)]
* hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): New
prototypes.
* hppa-tdep.c (hppa_read_pc): Rename from hppa_target_read_pc.
Make global.  Remove HP-UX specific code.  Use
frame_unwind_register_unsigned instead of
frame_unwind_register_signed.
(hppa_write_pc): Rename from hppa_target_write_pc.  Make global.
Remove HP-UX specific code.
(hppa_unwind_pc): Make global.  Remove HP-UX specific code.
(hppa_frame_prev_register_helper): Set "flags" register to zero
for all unwound frames.
(hppa_gdbarch_init): Adjust.
* hppa-hpux-tdep.c (HPPA_HPUX_SS_INSYSCALL): New define.
(hppa_hpux_read_pc, hppa_hpux_write_pc)
(hppa_hpux_unwind_pc): New functions.
(hppa_hpux_init_abi): Set read_pc, write_pc and unwind_pc.

19 years ago * ldemul.h: Forward declare struct option.
bje [Tue, 7 Dec 2004 12:29:40 +0000 (12:29 +0000)]
* ldemul.h: Forward declare struct option.

19 years ago * read.c (s_align): Use an align_limit temporary to allay a GCC
bje [Tue, 7 Dec 2004 12:13:23 +0000 (12:13 +0000)]
* read.c (s_align): Use an align_limit temporary to allay a GCC
signed/unsigned comparison warning.

19 years ago * main.c (long_options): Add entry for "-l".
schwab [Tue, 7 Dec 2004 11:06:03 +0000 (11:06 +0000)]
* main.c (long_options): Add entry for "-l".
(print_gdb_help): Add line for -l option.
* NEWS: Mention it.

doc/
* gdb.texinfo (Mode Options): Document -l option.

19 years ago * main.c (long_options): Add entry for "-l".
schwab [Tue, 7 Dec 2004 11:05:52 +0000 (11:05 +0000)]
* main.c (long_options): Add entry for "-l".
(print_gdb_help): Add line for -l option.
* NEWS: Mention it.

doc/
* gdb.texinfo (Mode Options): Document -l option.

19 years ago * netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.
bje [Tue, 7 Dec 2004 10:53:43 +0000 (10:53 +0000)]
* netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.

19 years ago * include/winnt.h (TOKEN_INFORMATION_CLASS): Add
dannysmith [Tue, 7 Dec 2004 07:15:25 +0000 (07:15 +0000)]
* include/winnt.h (TOKEN_INFORMATION_CLASS): Add
TokenGroupsAndPrivileges, TokenSessionReference,
TokenSandBoxInert, TokenAuditPolicy, TokenOrigin.
Reformat.
(SID_NAME_USE): Add SidTypeComputer.  Reformat.
Thanks to Gabriel Linder <mingwlinder@users.sourceforge.net>

19 years ago Suggested by Fergal Daly <fergal@esatclear.ie>:
drow [Tue, 7 Dec 2004 04:37:55 +0000 (04:37 +0000)]
Suggested by Fergal Daly <fergal@esatclear.ie>:
* simple.c (simple_dummy_multiple_definition): New function.
(bfd_simple_get_relocated_section_contents): Use it.

19 years ago*** empty log message ***
gdbadmin [Tue, 7 Dec 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Mon, 6 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago PR binutils/249
bje [Mon, 6 Dec 2004 21:20:48 +0000 (21:20 +0000)]
PR binutils/249
* doc/binutils.texi (def file format): New node.
(dlltool): Use the tool name as the @chapter name, like all the
other binutils.  Use @file{.def} throughout for consistency.

19 years ago* pinfo.h (proc_pipe::*): Delete class.
cgf [Mon, 6 Dec 2004 19:20:22 +0000 (19:20 +0000)]
* pinfo.h (proc_pipe::*): Delete class.
* pinfo.cc (proc_pipe::*): Ditto.

19 years ago * dlltool.c: Comment fix.
bje [Mon, 6 Dec 2004 05:45:24 +0000 (05:45 +0000)]
* dlltool.c: Comment fix.

19 years ago * doc/binutils.texi: Update copyright years.
bje [Mon, 6 Dec 2004 05:35:30 +0000 (05:35 +0000)]
* doc/binutils.texi: Update copyright years.

19 years ago2004-12-05 Randolph Chung <tausq@debian.org>
tausq [Mon, 6 Dec 2004 03:36:35 +0000 (03:36 +0000)]
2004-12-05  Randolph Chung  <tausq@debian.org>

* hppah-nat.c (store_inferior_registers): Rewrite logic to not use
DEPRECATED_REGISTER_BYTE.

19 years ago2004-12-05 Randolph Chung <tausq@debian.org>
tausq [Mon, 6 Dec 2004 03:32:24 +0000 (03:32 +0000)]
2004-12-05  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (unwind_command): Print the stub type for stub unwind
records.

19 years ago* fork.cc (fork_parent): Reinstate "childhProc" protection. Don't close
cgf [Mon, 6 Dec 2004 00:29:38 +0000 (00:29 +0000)]
* fork.cc (fork_parent): Reinstate "childhProc" protection.  Don't close
hProcess handle here since it is used to ensure that a new process isn't
created with the old pid after the old pid exits.
* spawn.cc (spawn_guts): Ditto.
* pinfo.cc (proc_waiter): Don't send any signals if we've execed since this
process doesn't officially exist.
* pinfo.h (pinfo::pid_handle): Eliminate.  Just use hProc.
* sigproc.cc (sig_send): Don't send any signals if our sendsig doesn't exist.
That's a sign that we are execing.
(remove_proc): Eliminate pid_handle close.

19 years ago*** empty log message ***
gdbadmin [Mon, 6 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sun, 5 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years agofix typo
cgf [Sun, 5 Dec 2004 21:39:47 +0000 (21:39 +0000)]
fix typo

19 years ago* cygthread.cc (cygthread::terminate_thread): Make public.
cgf [Sun, 5 Dec 2004 21:29:37 +0000 (21:29 +0000)]
* cygthread.cc (cygthread::terminate_thread): Make public.
* pinfo.h (pinfo::wait_thread): New element.
* pinfo.cc (pinfo::wait): Store "handle" to started thread in pinfo.
* sigproc.cc (proc_terminate): Kill any threads waiting for a process pipe.

19 years agoOops.
kettenis [Sun, 5 Dec 2004 20:05:32 +0000 (20:05 +0000)]
Oops.

19 years ago* somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function.
kettenis [Sun, 5 Dec 2004 19:41:37 +0000 (19:41 +0000)]
* somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function.
* config/pa/hppahpux.mt (TDEPFILES): Remove solib.o.

19 years ago* sigproc.cc (mychild): Reimplement as list scan.
cgf [Sun, 5 Dec 2004 19:41:23 +0000 (19:41 +0000)]
* sigproc.cc (mychild): Reimplement as list scan.
(proc_subproc): Don't mess with pinfo if it's myself.
* child_info.h (child_info_types): Label enum for _PROC constants.
(child_info::child_info): New constructor.
(child_info::~child_info): New destructor.
(child_info::sync): Declare new function.
(child_info_fork::child_info_fork): New constructor.
(child_info_spawn::child_info_spawn): Remove old constructor.
(child_info_spawn::child_info_spawn): New constructor.
* dcrt0.cc (dll_crt0_0): Use correct sizeof when doing sanity check on passed
in child_info.  Signal readiness to parent when not forking (and not spawning).
* fork.cc (sync_with_child): Delete.
(resume_child): Remove extra argument.
(sync_with_parent): Use child_info method to sync with parent.
(fork_child): Don't close fork_info->subproc_ready since that is now handled by
the destructor.
(fork_parent): Remove subproc_ready stuff.  Use child_info sync method for
waiting..  Set start time here for child.  Rename "forked" to "child".
(fork): Check ch.subproc_ready for validity here.
* pinfo.h (_pinfo::exec_sendsig): Temp storage for exec stub which may be
staying around to handle non-cygwin captive process.
(_pinfo::exec_dwProcessId): Ditto.
(_pinfo::_lock): Renamed from lock.
(_pinfo::lock): New method.
(_pinfo::unlock): Ditto.
(_pinfo::initialize_lock): Ditto.
* pinfo.cc (set_myself): Use initialize_lock method to initialize myself lock.
Set "exec" fields in _pinfo to zero to indicate that we've started
successfully.  Set start time here when appropriate.
(_pinfo::commune_send): Use pinfo lock/unlock methods.
(proc_waiter): Remove special case for non-cywin processes.  Reinstitute
handling for PID_NOCLDSTOP.
* sigproc.cc (proc_subproc): Set proper EAGAIN errno when process table is
filled.
(sig_send): Use exec_* fields from _pinfo for sending signals if the the _pinfo
sendsig never materializes.
(child_info::child_info): New constructor, renamed from init_child_info.
Zeroes child_info structure and sets appropriate fields in structure based on
chtype.
(child_info::~child_info): New destructor.  Closes subproc_ready if it exists.
(child_info_fork::child_info_fork): New constructor.
(child_info_spawn::child_info_spawn): New constructor.
(child_info::ready): New function.  Signals parent when child is ready.
(child_info::sync): New function.  Wait for child to signal us or process to
die.
(remove_proc): Remove closing of hProcess since this should now be handled
shortly after process creation.
* spawn.cc (spawn_guts): Use child_info_spawn constructor rather than
init_child_info.  Save exec_sendsig and exec_dwProcessId in execing _pinfo.
Rely on child_info constructor to properly set parent_wr_proc_pipe in ciresrv.
Revert to previous determination on whether to start a process in suspended
mode.  Remove reparenting stuff.  Just keep a stub around if starting a
non-cygwin process.

19 years ago* hppa-hpux-tdep.c: Update copyright notice and year.
kettenis [Sun, 5 Dec 2004 15:48:12 +0000 (15:48 +0000)]
* hppa-hpux-tdep.c: Update copyright notice and year.

19 years ago* doublest.c (FLOATFORMAT_LARGEST_BYTES): New define.
rearnsha [Sun, 5 Dec 2004 15:17:32 +0000 (15:17 +0000)]
* doublest.c (FLOATFORMAT_LARGEST_BYTES): New define.
(get_field, put_field): Assert that the format is one we can handle.
Simplify logic accordingly.
(floatformat_normalize_byteorder): New function.
(convert_floatformat_to_doublest): Use floatformat_normalize_byteorder
to normalize and select modified byte order. Pass modified byte order
to get_field.
(floatformat_is_negative, floatformat_is_nan, floatformat_mantissa):
Likewise.
(convert_doublest_to_floatformat): Select an appropriate intermediate
byte order if necessary.  Always convert to the final format before
returning.

19 years ago2004-12-05 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Sun, 5 Dec 2004 12:29:04 +0000 (12:29 +0000)]
2004-12-05  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c (print_arg): Use 'info->print_address_func' for address printing.

19 years ago2004-12-05 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Sun, 5 Dec 2004 12:26:49 +0000 (12:26 +0000)]
2004-12-05  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c: Use 'info->print_address_func' for address printing.

19 years ago* fhandler.cc (fhandler_base::read): Remove superfluous check in
bavag [Sun, 5 Dec 2004 07:28:27 +0000 (07:28 +0000)]
* fhandler.cc (fhandler_base::read): Remove superfluous check in
__small_printf format for strace.

19 years agominor cleanup
cgf [Sun, 5 Dec 2004 02:30:20 +0000 (02:30 +0000)]
minor cleanup

19 years ago* fhandler.cc (fhandler_base::read): Don't debug_printf garbage when
bavag [Sun, 5 Dec 2004 01:53:46 +0000 (01:53 +0000)]
* fhandler.cc (fhandler_base::read): Don't debug_printf garbage when
copied_chars is zero.

19 years ago*** empty log message ***
gdbadmin [Sun, 5 Dec 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 4 Dec 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago PR tui/1703
drow [Sat, 4 Dec 2004 17:21:23 +0000 (17:21 +0000)]
PR tui/1703
* linux-nat.c (linux_tracefork_child): Use _exit instead of exit.
Suggested by Joshua Neuheisel.

19 years ago * gdbint.texinfo (Algorithms): More accurate description of
eliz [Sat, 4 Dec 2004 14:02:44 +0000 (14:02 +0000)]
* gdbint.texinfo (Algorithms): More accurate description of
STOPPED_BY_WATCHPOINT.  Point out that target_stopped_data_address
is not needed unless data-read and data-access watchpoints are
supported.  Add a description of how GDB checks whether the
inferior stopped because a watchpoint was hit.

19 years ago*** empty log message ***
gdbadmin [Sat, 4 Dec 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2004-12-03 Randolph Chung <tausq@debian.org>
tausq [Fri, 3 Dec 2004 23:59:48 +0000 (23:59 +0000)]
2004-12-03  Randolph Chung  <tausq@debian.org>

* gdbarch.sh (instruction_nullified): Delete.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* hppa-tdep.c (hppa_target_read_pc): Adjust pc if instruction is
nullified.
(hppa_unwind_pc): Likewise.
(hppa_instruction_nullified): Delete.
(hppa_gdbarch_init): Don't set instruction_nullified method.
* infrun.c (infwait_states): Remove infwait_nullified_state.
(handle_inferior_event): Remove handling of infwait_nullified_state.
Remove handling of nullified instructions.

testsuite/

* gdb.arch/pa-nullify.exp: New file.
* gdb.arch/pa-nullify.s: New file.

19 years ago* environ.cc (environ_init): Alloc space for TERM if it is not set, like all of
cgf [Fri, 3 Dec 2004 23:49:04 +0000 (23:49 +0000)]
* environ.cc (environ_init): Alloc space for TERM if it is not set, like all of
the other environment variables.

19 years ago2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 3 Dec 2004 23:46:28 +0000 (23:46 +0000)]
2004-12-03  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
        libgcc dependencies.
        (libm_la_LDFLAGS): Ditto.
        * Makefile.in: Regenerated.

19 years agoBah, forgot to commit the trivial fix I pointed out myself after applying patch for...
hp [Fri, 3 Dec 2004 23:34:55 +0000 (23:34 +0000)]
Bah, forgot to commit the trivial fix I pointed out myself after applying patch for previous change

19 years agodaily update
amodra [Fri, 3 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago* inf-ttrace.c: Include <sys/mman.h>.
kettenis [Fri, 3 Dec 2004 22:19:52 +0000 (22:19 +0000)]
* inf-ttrace.c: Include <sys/mman.h>.
(struct inf_ttrace_page): New.
(struct inf_ttrace_page_dict): New.
(inf_ttrace_num_threads_in_syscall)
(inf_ttrace_reenable_page_protections): New variables.
(inf_ttrace_enable_syscall_events)
(inf_ttrace_disable_syscall_events, inf_ttrace_get_page)
(inf_ttrace_remove_page, inf_ttrace_mask_page_protections)
(inf_ttrace_enable_page_protections)
(inf_ttrace_disable_page_protections)
(inf_ttrace_insert_watchpoint, inf_ttrace_remove_watchpoint)
(inf_ttrace_can_use_hw_breakpoint)
(inf_ttrace_region_size_ok_for_hw_watchpoint)
(inf_ttrace_stopped_by_watchpoint): New functions.
(inf_ttrace_him): Remove unsused varaible `tts'.
(inf_ttrace_create_inferior): Add assertionts.
(inf_ttrace_mourn_inferior): Clear page dictionary.
(inf_ttrace_attach): Set initial event mask.
(inf_ttrace_detach): Reset number of threads in system call.
(inf_ttrace_wait): Deal with system call events.
(inf_ttrace_target): Initialize "hardware" watchpoint-related
parts of the target vector.
(_initialize_inf_ttrace): New prototype and function.

19 years ago2004-12-03 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Fri, 3 Dec 2004 21:20:15 +0000 (21:20 +0000)]
2004-12-03  Shaun Jackman  <sjackman@gmail.com>

        * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
        our link to use readlink so as to preserve any relative link created
        by install-toollibLIBRARIES.
        * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.

19 years ago * configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
hp [Fri, 3 Dec 2004 19:36:53 +0000 (19:36 +0000)]
* configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
* aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
(SIM_CHECK_MEMBERS): New macros.
* callback.c (cb_host_to_target_stat): Use temporary macro ST_x
for struct stat member test and write.  Add ST_x calls for each
struct stat member tested in configure.in.  Wrap each ST_x call in
#ifdef of configure macro for that member.
* configure, config.in: Regenerate.

19 years ago* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Use ULONGEST as
kettenis [Fri, 3 Dec 2004 18:03:06 +0000 (18:03 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Use ULONGEST as
type of `gp' variable.

19 years ago2004-12-03 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 3 Dec 2004 17:06:28 +0000 (17:06 +0000)]
2004-12-03  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/group1.d: Support 64bit.

19 years agobfd/
jbeulich [Fri, 3 Dec 2004 13:59:35 +0000 (13:59 +0000)]
bfd/
2004-12-03 Jan Beulich  <jbeulich@novell.com>

* elf.c (elf_find_function): Don't use the last file symbol ever,
seen, but the last one seen prior to the symbol being reported.
Don't report a filename at all for global symbols when that might
be ambiguous/wrong.

19 years agoIntroduce config/gxx-include-dir.m4.
rsandifo [Fri, 3 Dec 2004 10:47:05 +0000 (10:47 +0000)]
Introduce config/gxx-include-dir.m4.

19 years agoRemove config.if.
rsandifo [Fri, 3 Dec 2004 10:30:05 +0000 (10:30 +0000)]
Remove config.if.

19 years ago2004-12-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
joshuadfranklin [Fri, 3 Dec 2004 05:30:52 +0000 (05:30 +0000)]
2004-12-02  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

        * cygserver.sgml: Cleanup minor markup problem.
        * how-resources.texinfo: Add man and info to documentation FAQ
        * how-using.texinfo: Add more detail to Unicode FAQ.
        * install.texinfo: Finally apply Pierre's patch from 2003-03-03.
        * relnotes.texinfo: Add note about hyperthreading reports.

19 years ago* child_info.h (child_info_fork::parent_wr_proc_pipe): New element.
cgf [Fri, 3 Dec 2004 04:45:59 +0000 (04:45 +0000)]
* child_info.h (child_info_fork::parent_wr_proc_pipe): New element.
* fork.cc (fork_parent): Set parent_wr_proc.
* pinfo.cc (set_myself): Close child_proc_info->parent_wr_proc if it exists
rather than trying to get value from parent _pinfo.
* pinfo.h (enum parent_aleter): New enum.
(pinfo::alert_parent): Declare as returning a value.
(pinfo::parent_alive): New function.
* pinfo.cc (pinfo::alert_parent): Set wr_proc_pipe to invalid non-NULL value
when parent disappears.  Return success of operation.
(proc_waiter): Use __ALERT_* enum for control since these are not really
signals.  Implement __ALERT_ALIVE.
* sigproc.cc (my_parent_is_alive): Eliminate.
* sigproc.h (my_parent_is_alive): Ditto for declaration.
(__SIGREPARENT): Eliminate.

19 years ago* pinfo.cc (pinfo::wait): Use better name for cygthread.
cgf [Fri, 3 Dec 2004 02:49:54 +0000 (02:49 +0000)]
* pinfo.cc (pinfo::wait): Use better name for cygthread.

19 years ago* pinfo.cc (pinfo::wait): Use better name for cygthread.
cgf [Fri, 3 Dec 2004 02:49:34 +0000 (02:49 +0000)]
* pinfo.cc (pinfo::wait): Use better name for cygthread.

19 years ago2004-12-03 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Fri, 3 Dec 2004 02:00:35 +0000 (02:00 +0000)]
2004-12-03  Pierre Humblet <pierre.humblet@ieee.org>

* registry.h (reg_key::reg_key): Change arguments.
* shared_info.h (class mount_info): Remove had_to_create_mount_areas.
* registry.cc (reg_key::reg_key): Change constructors to always handle
HKLM and to avoid relying on HKCU.
Do not set mount_table->had_to_create_mount_areas.
* path.cc (mount_info::conv_to_win32_path): Improve update of
sys_mount_table_counter.
(mount_info::read_mounts): Use new reg_key constructor.
(mount_info::add_reg_mount): Ditto.
(mount_info::del_reg_mount): Ditto.
(mount_info::read_cygdrive_info_from_registry): Ditto.
(mount_info::write_cygdrive_info_to_registry): Ditto.
Update cygwin_shared->sys_mount_table_counter after registry update.
(mount_info::get_cygdrive_info): Ditto.
* shared.cc (shared_info::heap_chunk_size): Use new reg_key constructor.
* environ.cc (regopt): Ditto.

19 years ago * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
mmitchel [Fri, 3 Dec 2004 01:22:12 +0000 (01:22 +0000)]
* Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
* configure.in: Use it for arm*-*-linux-gnueabi*.
* config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
* config/te-armlinuxeabi.h: New file.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Regenerated.

19 years ago * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
bwilson [Fri, 3 Dec 2004 01:00:06 +0000 (01:00 +0000)]
* config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
(xtensa_restore_emit_state): Likewise.

19 years ago*** empty log message ***
gdbadmin [Fri, 3 Dec 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoUse correct ChangeLog entry.
echristo [Thu, 2 Dec 2004 23:51:19 +0000 (23:51 +0000)]
Use correct ChangeLog entry.

19 years ago2004-12-02 Eric Christopher <echristo@redhat.com>
echristo [Thu, 2 Dec 2004 23:50:22 +0000 (23:50 +0000)]
2004-12-02  Eric Christopher  <echristo@redhat.com>

        * Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list of
things to remove.
        * Makefile.in: Regenerate.

19 years agodaily update
amodra [Thu, 2 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-02 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Thu, 2 Dec 2004 19:30:54 +0000 (19:30 +0000)]
2004-12-02  Shaun Jackman  <sjackman@gmail.com>

        * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
        time_t before including sys/stat.h, which uses it.
        * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
        <linux/time.h> just prior to definition of __KERNEL__ so as to
        allow building on Debian Linux where otherwise, mktime would
        be redefined.

19 years ago2004-12-01 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 2 Dec 2004 15:05:30 +0000 (15:05 +0000)]
2004-12-01  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI.
(elf32_arm_post_process_headers): Set EI_OSABI depending on ABI
version.