OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago*** empty log message ***
gdbadmin [Thu, 26 Jan 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 25 Jan 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago2006-01-25 Jim Blandy <jimb@redhat.com>
jimb [Wed, 25 Jan 2006 21:15:42 +0000 (21:15 +0000)]
2006-01-25  Jim Blandy  <jimb@redhat.com>

* gdbint.texinfo (Testsuite): Explain how to run selected tests.

18 years ago2006-01-24 Jim Blandy <jimb@redhat.com>
jimb [Wed, 25 Jan 2006 18:48:57 +0000 (18:48 +0000)]
2006-01-24  Jim Blandy  <jimb@redhat.com>

* gdbint.texinfo (Frames): Document the basics of GDB's register
unwinding model, and explain the existence of the "sentinel" frame.

18 years ago * words.h (natural32): Define as "int".
mmitchel [Wed, 25 Jan 2006 17:29:44 +0000 (17:29 +0000)]
* words.h (natural32): Define as "int".

18 years ago * faq-setup.xml (faq.setup.snapshots): Rename DLL using Windows tools.
corinna [Wed, 25 Jan 2006 10:57:19 +0000 (10:57 +0000)]
* faq-setup.xml (faq.setup.snapshots): Rename DLL using Windows tools.

18 years ago* ntdll.h: (temporarily?) Add more functions for querying directory.
cgf [Wed, 25 Jan 2006 05:57:20 +0000 (05:57 +0000)]
* ntdll.h: (temporarily?) Add more functions for querying directory.

18 years ago*** empty log message ***
gdbadmin [Wed, 25 Jan 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * words.h (signed32): Define as "int".
mmitchel [Tue, 24 Jan 2006 23:48:01 +0000 (23:48 +0000)]
* words.h (signed32): Define as "int".
(unsigned32): Define as "unsigned int".

18 years agodaily update
amodra [Tue, 24 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago PR gdb/1914
drow [Tue, 24 Jan 2006 22:34:34 +0000 (22:34 +0000)]
PR gdb/1914
* fork-child.c (fork_inferior): Don't call
solib_create_inferior_hook.
* infcmd.c (post_create_inferior): Call solib_add,
solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs.
(attach_command): Don't call solib_add or
re_enable_breakpoints_in_shlibs.  Call post_create_inferior
instead.
* remote.c (remote_open_1): Don't call solib_create_inferior_hook
or observer_notify_inferior_created.  Call post_create_inferior
instead.
* corelow.c: Don't include "observer.h".
(solib_add_stub): Deleted.
(core_open): Don't call observer_notify_inferior_created or
solib_add_stub.  Call post_create_inferior instead.
* inf-ptrace.c: Don't include "observer.h".
(inf_ptrace_attach): Don't call observer_notify_inferior_created.
* inf-ttrace.c: Don't include "observer.h".
(inf_ttrace_attach): Don't call observer_notify_inferior_created.
* inferior.h (solib_create_inferior_hook): Remove redundant
prototype.
* inftarg.c: Don't include "observer.h".
(child_attach): Don't call observer_notify_inferior_created.
* Makefile.in: Update dependencies.

18 years ago * infcmd.c: Include "observer.h".
drow [Tue, 24 Jan 2006 22:09:27 +0000 (22:09 +0000)]
* infcmd.c: Include "observer.h".
(post_create_inferior): New function.
(run_command_1): Call it.  Also call proceed.
* inferior.h (post_create_inferior): New prototype.
* Makefile.in (infcmd.o): Update.

* gnu-nat.c (gnu_create_inferior): Don't call proceed.
* go32-nat.c (go32_create_inferior): Likewise.
* nto-procfs.c (procfs_create_inferior): Likewise.
* procfs.c (procfs_create_inferior): Likewise.
* remote-sim.c (gdbsim_create_inferior): Likewise.
* remote.c (extended_remote_create_inferior)
(extended_remote_async_create_inferior): Likewise.
* win32-nat.c (win32_create_inferior): Likewise.
* wince.c (child_create_inferior): Likewise.

* monitor.c (monitor_create_inferior): Don't call proceed.
Set the PC manually.
* ocd.c (ocd_create_inferior): Likewise.
* remote-e7000.c (e7000_create_inferior): Likewise.
* remote-m32r-sdi.c (m32r_create_inferior): Likewise.
* remote-mips.c (mips_create_inferior): Likewise.
* remote-rdp.c (remote_rdp_create_inferior): Likewise.
* remote-sds.c (sds_create_inferior): Likewise.
* remote-st.c (st2000_create_inferior): Likewise.

* inf-ptrace.c (inf_ptrace_create_inferior): Don't call
proceed or observer_notify_inferior_created.
* inf-ttrace.c (inf_ttrace_create_inferior): Likewise.
* inftarg.c (child_create_inferior): Likewise.

18 years ago * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
drow [Tue, 24 Jan 2006 21:50:26 +0000 (21:50 +0000)]
* linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
after mourning the inferior.

18 years ago2006-01-24 Jim Blandy <jimb@redhat.com>
jimb [Tue, 24 Jan 2006 21:21:11 +0000 (21:21 +0000)]
2006-01-24  Jim Blandy  <jimb@redhat.com>

* valarith.c (binop_user_defined_p): Handle refs to typedefs.

18 years ago* dir.cc (readdir_worker): Turn off expensive inode calculation.
cgf [Tue, 24 Jan 2006 19:03:20 +0000 (19:03 +0000)]
* dir.cc (readdir_worker): Turn off expensive inode calculation.

18 years ago * fhandler_process.cc (fhandler_process::fill_filebuf): Disable
corinna [Tue, 24 Jan 2006 17:40:55 +0000 (17:40 +0000)]
* fhandler_process.cc (fhandler_process::fill_filebuf): Disable
stripping the .exe suffix from the link target in PROCESS_EXE and
PROCESS_EXENAME case.
* path.cc (realpath): Tack on .exe suffix if necessary.

18 years ago2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 24 Jan 2006 17:24:01 +0000 (17:24 +0000)]
2006-01-24  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
        so as not to define PACKAGE and VERSION in newlib.h.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * newlib.hin: Ditto.

18 years agoReviewed and approved by Jim Blandy and Daniel Jacobowitz
fnf [Tue, 24 Jan 2006 15:20:08 +0000 (15:20 +0000)]
Reviewed and approved by Jim Blandy and Daniel Jacobowitz

2006-01-24  Fred Fish  <fnf@specifix.com>
* parse.c (source.h): Include.
(parse_exp_in_context):  Use static source context if no
other context found.

18 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Try harder
corinna [Tue, 24 Jan 2006 12:32:33 +0000 (12:32 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Try harder
to determine remote file systems with reliable inode numbers.  Add
longish comment.

18 years ago * include/commctrl.h: Correct spelling of 'compatibility' in
dannysmith [Tue, 24 Jan 2006 02:19:28 +0000 (02:19 +0000)]
    * include/commctrl.h: Correct spelling of 'compatibility' in
comments.
* include/setupapi.h: Likewise.
* include/ws2tcpip.h: Likewise.

18 years ago From Andrew Stubbs <andrew.stubbs@st.com>:
kseitz [Tue, 24 Jan 2006 01:33:35 +0000 (01:33 +0000)]
    From Andrew Stubbs  <andrew.stubbs@st.com>:
        * library/help/source.html: Add entries for the missing menu commands.

18 years ago From Andrew Stubbs <andrew.stubbs@st.com>:
kseitz [Tue, 24 Jan 2006 01:32:26 +0000 (01:32 +0000)]
    From Andrew Stubbs  <andrew.stubbs@st.com>:
        * library/mempref.itb (MemPref::constructor): Allow the Byte Per Row
        combo box to accept arbitrary values.
        (MemPref::set_bytes_per_row): Validate the new value; reject invalid
        entries and round up to a multiple of the word size.
        (MemPref::apply): Read the value from the text box even if the user
        has not pressed return.
        (MemPref::enable_format): Ensure the bytes per row value is still valid.
        (MemPref::disable_format): Likewise.
        * library/mempref.ith (MemPref): Add $gbprlist.
        * library/help/memory.html: Update.

18 years ago From Andrew Stubbs <andrew.stubbs@st.com>:
kseitz [Tue, 24 Jan 2006 01:30:49 +0000 (01:30 +0000)]
    From Andrew Stubbs  <andrew.stubbs@st.com>:
        * library/helpviewer.tcl (open_help): Add firefox and opera to the
        browser list used to display help.

18 years ago * ChangeLog: Cleared and saved to ...
kseitz [Tue, 24 Jan 2006 01:26:38 +0000 (01:26 +0000)]
    * ChangeLog: Cleared and saved to ...
        * ChagneLog-2005: ... here.

18 years ago2006-01-24 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Tue, 24 Jan 2006 01:02:31 +0000 (01:02 +0000)]
2006-01-24  Danny Smith  <dannysmith@users.sourceforge.net>

        * include/ddk/winddk.h (KeGetCurrentKPCR): Support -masm=intel.

2006-01-24  Jiri Malak  <Jiri.Malak@iol.cz>

WATCOM compatibility changes.
* include/ddk/ntddk.h (DECL_IMPORT): Define using __declspec,
rather than __attribute__.
(DECL_EXPORT): Likewise.
* include/ddk/winddk.h (DDKAPI): Avoid using __attribute__.
(DDKFASTAPI): Likewise.
(DDKCDECLAPI): Likwise.
(KeGetCurrentKPCR): Provide __WATCOMC__ syntax for inline code.

18 years ago*** empty log message ***
gdbadmin [Tue, 24 Jan 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 23 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agosim/ChangeLog:
jimb [Mon, 23 Jan 2006 22:10:41 +0000 (22:10 +0000)]
sim/ChangeLog:
2005-10-06  Jim Blandy  <jimb@redhat.com>

Add simulator for Renesas M32C and M16C.

* m32c: New directory.
* configure.ac: Add entry for Renesas M32C.
* configure: Regenerate.

sim/m32c/ChangeLog:
2005-10-06  Jim Blandy  <jimb@redhat.com>

Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
with further work from Jim Blandy <jimb@redhat.com> and
Kevin Buettner <kevinb@redhat.com>.

* ChangeLog: New.
* Makefile.in: New.
* blinky.S: New.
* config.in: New.
* configure: New.
* configure.in: New.
* cpu.h: New.
* gdb-if.c: New.
* gloss.S: New.
* int.c: New.
* int.h: New.
* load.c: New.
* load.h: New.
* m32c.opc: New.
* main.c: New.
* mem.c: New.
* mem.h: New.
* misc.c: New.
* misc.h: New.
* opc2c.c: New.
* r8c.opc: New.
* reg.c: New.
* safe-fgets.c: New.
* safe-fgets.h: New.
* sample.S: New.
* sample.ld: New.
* sample2.c: New.
* srcdest.c: New.
* syscalls.c: New.
* syscalls.h: New.
* trace.c: New.
* trace.h: New.

18 years ago2006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
ams [Mon, 23 Jan 2006 17:35:21 +0000 (17:35 +0000)]
2006-01-23  Andrew Stubbs  <andrew.stubbs@st.com>

* sh-tdep.c: Include reggroups.h.
(sh_register_reggroup_p): New function.
(sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p.
* Makefile.in (sh-tdep.o): Add dependency on reggroups.h.

18 years ago2006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
ams [Mon, 23 Jan 2006 16:28:36 +0000 (16:28 +0000)]
2006-01-23  Andrew Stubbs  <andrew.stubbs@st.com>

* cli/cli-cmds.c: Include fcntl.h.
(source_command): Use the GDB search path to find script files.

doc/
* gdb.texinfo (Choosing files): Mention that -directory is used
for script files.
(Specifying source directories): Likewise.
(Command files): Explain how script files are found.

18 years ago * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Reset
corinna [Mon, 23 Jan 2006 15:10:57 +0000 (15:10 +0000)]
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Reset
inheritance for duplicated socket.

18 years ago2006-01-23 Brandon Sneed <brandon@redf.net>
dannysmith [Mon, 23 Jan 2006 08:10:31 +0000 (08:10 +0000)]
2006-01-23  Brandon Sneed  <brandon@redf.net>

* setupapi.def: Add all CM_* functions defined in ddk/cfgmgr32.h
to exports.

18 years ago PR tdep/2029
drow [Mon, 23 Jan 2006 01:49:43 +0000 (01:49 +0000)]
PR tdep/2029
Suggested by Till Straumann <strauman@slac.stanford.edu>:
* rs6000-tdep.c (skip_prologue): Update check for later mtlr
instructions.  Handle PIC bcl.

18 years ago * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
drow [Mon, 23 Jan 2006 01:47:32 +0000 (01:47 +0000)]
* gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
files.

18 years ago*** empty log message ***
gdbadmin [Mon, 23 Jan 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 22 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * config/djgpp/README: Typo fix.
drow [Sun, 22 Jan 2006 20:24:15 +0000 (20:24 +0000)]
* config/djgpp/README: Typo fix.
* config/djgpp/fnchange.lst: Update.

18 years ago* sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.
kettenis [Sun, 22 Jan 2006 20:07:38 +0000 (20:07 +0000)]
* sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.
(sparc_address_from_register): New prototype.
(sparcnbsd_step_trap): New prototype.
* sparc-tdep.c (sparc_address_from_register): Make globally
visible.
(sparc_analyze_control_transfer): Change prototype to accept
`struct gdbarch *' as first argument.  Allow for optional hnadling
for trap instructions.
(sparc_step_trap): New function.
(sparc_software_single_step): Adjust call to
sparc_analyze_control_trabsfer.
(sparc32_gdbarch_init): Initialize TDEP->step_trap.
* sparcnbsd-tdep.c (sparcnbsd_step_trap): New function.
(sparc32nbsd_init_abi): Set TDEP->step_trap.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap.

18 years ago* sparc-tdep.c (sparc32_return_value): Convert to use
kettenis [Sun, 22 Jan 2006 16:33:33 +0000 (16:33 +0000)]
* sparc-tdep.c (sparc32_return_value): Convert to use
RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of
RETURN_VALUE_STRUCT_CONVENTION.
(sparc32_extract_struct_value_address): Remove.

18 years ago*** empty log message ***
gdbadmin [Sun, 22 Jan 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 21 Jan 2006 23:05:33 +0000 (23:05 +0000)]
daily update

18 years ago * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
drow [Sat, 21 Jan 2006 22:25:07 +0000 (22:25 +0000)]
* avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
(avr_extract_return_value, avr_frame_prev_register): Use gdb_byte.

18 years ago * solib.c (info_sharedlibrary_command): Avoid internal_error.
drow [Sat, 21 Jan 2006 22:23:27 +0000 (22:23 +0000)]
* solib.c (info_sharedlibrary_command): Avoid internal_error.

18 years ago(Backtrace): Describe how to get backtrace of all the threads in a
eliz [Sat, 21 Jan 2006 21:14:09 +0000 (21:14 +0000)]
(Backtrace): Describe how to get backtrace of all the threads in a
multi-threaded program.
(Threads): The threadno argument of "thread apply" can be a range of numbers.

18 years ago* i386-tdep.c (i386_mxcsr_type): New variable.
kettenis [Sat, 21 Jan 2006 20:59:50 +0000 (20:59 +0000)]
* i386-tdep.c (i386_mxcsr_type): New variable.
(i386_init_types): Initialize i386_mxcsr_type.
(i386_register_type): Return i386_mxcsr_type for %mxcsr.
* i386-tdep.c (i386_mxcsr_type): New extern.
* amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for
%mxcsr.

18 years ago.
cgf [Sat, 21 Jan 2006 04:41:57 +0000 (04:41 +0000)]
.

18 years agomerge from gcc
dj [Sat, 21 Jan 2006 04:28:45 +0000 (04:28 +0000)]
merge from gcc

18 years ago* include/cygwin/version.h: Bump API minor number to 151.
cgf [Sat, 21 Jan 2006 02:24:15 +0000 (02:24 +0000)]
* include/cygwin/version.h: Bump API minor number to 151.
* dir.cc (__opendir_with_d_ino): New function.
(opendir): Set flag if we should be calculating inodes.
(readdir_worker): Calculate d_ino by calling stat if the user has asked for it.
(seekdir64): Maintain all persistent flag settings.
* fhandler.h (dirent_states): Add dirent_set_d_ino.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Reflect changes to
dirent structure.
* fhandler_virtual.cc (fhandler_virtual::opendir): Ditto.
* include/sys/dirent.h (struct dirent): Coalesce two similar structures.
Remove all threads of the apparently highly confusing references to inodes.
Add support for calculating a real inode if __USE_EXPENSIVE_CYGWIN_D_INO is
defined.

18 years ago * Makefile.in (remote-rdi.o): Remove.
mmitchel [Sat, 21 Jan 2006 01:29:03 +0000 (01:29 +0000)]
* Makefile.in (remote-rdi.o): Remove.
(rdi-share/libangsd.a): Likewise.
* README: Don't mention remote-rdi.c.
* NEWS: Mention removal of rdi-share.
* configure.ac: Don't configure rdi-share subdirectory.
* remote-rdi.c: Remove.
* config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o.
(TDEPLIBS): Remove rdi-share/libangsd.a.
* rdi-share/Makefile.am: Remove.
* rdi-share/Makefile.in: Likewise.
* rdi-share/README.CYGNUS: Likewise.
* rdi-share/aclocal.m4: Likewise.
* rdi-share/adp.h: Likewise.
* rdi-share/adperr.h: Likewise.
* rdi-share/angel.h: Likewise.
* rdi-share/angel_bytesex.c: Likewise.
* rdi-share/angel_bytesex.h: Likewise.
* rdi-share/angel_endian.h: Likewise.
* rdi-share/ardi.c: Likewise.
* rdi-share/ardi.h: Likewise.
* rdi-share/armdbg.h: Likewise.
* rdi-share/buffers.h: Likewise.
* rdi-share/chandefs.h: Likewise.
* rdi-share/channels.h: Likewise.
* rdi-share/chanpriv.h: Likewise.
* rdi-share/configure: Likewise.
* rdi-share/configure.in: Likewise.
* rdi-share/crc.c: Likewise.
* rdi-share/crc.h: Likewise.
* rdi-share/dbg_conf.h: Likewise.
* rdi-share/dbg_cp.h: Likewise.
* rdi-share/dbg_hif.h: Likewise.
* rdi-share/dbg_rdi.h: Likewise.
* rdi-share/devclnt.h: Likewise.
* rdi-share/devices.h: Likewise.
* rdi-share/devsw.c: Likewise.
* rdi-share/devsw.h: Likewise.
* rdi-share/drivers.c: Likewise.
* rdi-share/drivers.h: Likewise.
* rdi-share/etherdrv.c: Likewise.
* rdi-share/ethernet.h: Likewise.
* rdi-share/host.h: Likewise.
* rdi-share/hostchan.c: Likewise.
* rdi-share/hostchan.h: Likewise.
* rdi-share/hsys.c: Likewise.
* rdi-share/hsys.h: Likewise.
* rdi-share/logging.c: Likewise.
* rdi-share/logging.h: Likewise.
* rdi-share/msgbuild.c: Likewise.
* rdi-share/msgbuild.h: Likewise.
* rdi-share/params.c: Likewise.
* rdi-share/params.h: Likewise.
* rdi-share/rx.c: Likewise.
* rdi-share/rxtx.h: Likewise.
* rdi-share/serdrv.c: Likewise.
* rdi-share/serpardr.c: Likewise.
* rdi-share/sys.h: Likewise.
* rdi-share/tx.c: Likewise.
* rdi-share/unixcomm.c: Likewise.
* rdi-share/unixcomm.h: Likewise.

18 years ago* hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):
kettenis [Sat, 21 Jan 2006 00:04:20 +0000 (00:04 +0000)]
* hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):
Change type of last argument to `gdb_byte *'.

18 years ago*** empty log message ***
gdbadmin [Sat, 21 Jan 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* hppa-tdep.h (hppa_in_solib_call_trampoline)
kettenis [Fri, 20 Jan 2006 23:37:06 +0000 (23:37 +0000)]
* hppa-tdep.h (hppa_in_solib_call_trampoline)
(hppa_skip_trampoline_code): New prototypes.
* hppa-tdep.c (struct insn_pattern): New.
(hppa_long_branch_stub, hppa_long_branch_pic_stub)
(hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved
here from hppa-linux-tdep.c
(HPPA_MAX_INSN_PATTERN_LEN): New define.
(hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall)
(hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New
functions based on functions removed from hppa-linux-tdep.c.
* hppa-linux-tdep.c (hppa_long_branch_stub)
(hppa_long_branch_pic_stub, hppa_import_stub)
(hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c.
(insns_match_pattern_relaxed, hppa_linux_in_dyncall)
(hppa_linux_in_solib_call_trampoline)
(hppa_linux_skip_trampoline_code): Removed.
(hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to
hppa_in_solib_call_trampoline and skip_trampoline_code to
hppa_skip_trampoline_code.
* hppabsd-tdep.c (hppabsd_init_abi): Set
TDEP->in_solib_call_trampoline and skip_trampoline_code.

18 years ago * gdb.cp/maint.exp: Set complaints to a positive value.
drow [Fri, 20 Jan 2006 23:08:48 +0000 (23:08 +0000)]
* gdb.cp/maint.exp: Set complaints to a positive value.

18 years agodaily update
amodra [Fri, 20 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 20 Jan 2006 22:42:44 +0000 (22:42 +0000)]
2006-01-20  Jeff Johnston  <jjohnstn@redhat.com>

        * acconfig.h: New file to generate newlib.hin from.
        * newlib.hin: Regenerated.
        * stamp-h.in: Regenerated.
        * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
        called automatically.
        * Makefile.in: Regenerated.
        * acinclude.m4: Add proper comment for hack in previous change.
        * aclocal.m4 */aclocal.m4: Regenerated.
        * configure */configure: Regenerated.

18 years agogdb/ChangeLog:
jimb [Fri, 20 Jan 2006 22:31:07 +0000 (22:31 +0000)]
gdb/ChangeLog:
2006-01-20  Jim Blandy  <jimb@redhat.com>

* MAINTAINERS: Change my E-mail address.

18 years agogdb/ChangeLog:
jimb [Fri, 20 Jan 2006 21:58:15 +0000 (21:58 +0000)]
gdb/ChangeLog:
2006-01-18  Jim Blandy  <jimb@redhat.com>

* configure.ac: Add -Wno-pointer-sign to list of build warnings.
* configure: Regenerated.

gdb/doc/ChangeLog:
2006-01-18  Jim Blandy  <jimb@redhat.com>

* gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list
of warning flags.

18 years ago * MAINTAINERS: Overhaul.
drow [Fri, 20 Jan 2006 20:50:14 +0000 (20:50 +0000)]
* MAINTAINERS: Overhaul.

18 years ago * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
jiez [Fri, 20 Jan 2006 17:22:50 +0000 (17:22 +0000)]
* config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
in load immediate intruction.

18 years ago * config/bfin-parse.y (value_match): Use correct conversion
jiez [Fri, 20 Jan 2006 16:57:07 +0000 (16:57 +0000)]
* config/bfin-parse.y (value_match): Use correct conversion
specifications in template string for __FILE__ and __LINE__.
(binary): Ditto.
(unary): Ditto.

18 years ago* include/sys/dirent.h: Add comments for people who are REALLY confused about
cgf [Fri, 20 Jan 2006 16:04:39 +0000 (16:04 +0000)]
* include/sys/dirent.h: Add comments for people who are REALLY confused about
whether they should be using something called __invalid_d_ino or not.

18 years ago * fhandler_socket.cc (fhandler_socket::prepare): Fix debug output.
corinna [Fri, 20 Jan 2006 10:22:37 +0000 (10:22 +0000)]
* fhandler_socket.cc (fhandler_socket::prepare): Fix debug output.
(fhandler_socket::release): Add debug output for WSAEventSelect failure.
(fhandler_socket::ioctl): Always cancel WSAEventSelect before switching
to blocking mode.  Only set nonblocking flag if ioctlsocket call
succeeded.  Only print new socket state if ioctlsocket call succeeded.

18 years ago*** empty log message ***
gdbadmin [Fri, 20 Jan 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 19 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* cygcheck.cc (common_paths): Add "patch".
cgf [Thu, 19 Jan 2006 21:16:38 +0000 (21:16 +0000)]
* cygcheck.cc (common_paths): Add "patch".

18 years ago* cygcheck.cc (init_paths): Record first_nonsys_path.
cgf [Thu, 19 Jan 2006 20:17:11 +0000 (20:17 +0000)]
* cygcheck.cc (init_paths): Record first_nonsys_path.
(find_on_path): Start on first nonsys path when !search_sysdirs.

18 years agowhite space
cgf [Thu, 19 Jan 2006 18:57:41 +0000 (18:57 +0000)]
white space

18 years ago* fhandler_disk_file.cc (fhandler_disk_file::opendir): Check posix path for
cgf [Thu, 19 Jan 2006 18:55:07 +0000 (18:55 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Check posix path for
root rather than windows path.

18 years ago* dir.cc (readdir_worker): Fill in invalid fields with -1. Accommodate name
cgf [Thu, 19 Jan 2006 05:34:39 +0000 (05:34 +0000)]
* dir.cc (readdir_worker): Fill in invalid fields with -1.  Accommodate name
change from __ino32 to __invalid_ino32.
* include/sys/dirent.h (__invalid_ino32): Rename from __ino32.  Don't define
unused d_type macros.

18 years agoRemove references to and files from old texinfo FAQ.
joshuadfranklin [Thu, 19 Jan 2006 02:44:17 +0000 (02:44 +0000)]
Remove references to and files from old texinfo FAQ.

18 years ago2006-01-18 Roger Sayle <roger@eyesopen.com>
echristo [Thu, 19 Jan 2006 01:06:48 +0000 (01:06 +0000)]
2006-01-18  Roger Sayle  <roger@eyesopen.com>

* emultempl/irix.em: Use lbasename instead of basename.

18 years ago2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Thu, 19 Jan 2006 00:32:21 +0000 (00:32 +0000)]
2006-01-18  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Bump cygwin build number.

18 years ago*** empty log message ***
gdbadmin [Thu, 19 Jan 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 18 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago* amd64-tdep.c (amd64_sse_type): Remove.
kettenis [Wed, 18 Jan 2006 21:26:47 +0000 (21:26 +0000)]
* amd64-tdep.c (amd64_sse_type): Remove.
(amd64_register_info): Use i386_eflags_type and i386_sse_type
where appropriate.
(AMD64_NUM_REGS): Use ARRAY_SIZE.
(amd64_register_type): Remove code to build amd_sse_type.
* i386-tdep.c (i386_eflag_type): New variable.
(i386_mmx_type, i386_sse_type): Make global.
(i386_init_types): New function.
(i386_build_mmx_type, i386_build_sse_type): Remove functions.
(i386_register_type): Return i386_eflag_type, i386_sse_type and
i386_mmx_type when appropriate.
(_initialize_i386_tdep): Call i386_init_types.
* i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type):
Declare extern.
Based on a previous patch form Michal Ludvig:

18 years agoBased on a previous patch form Michal Ludvig:
kettenis [Wed, 18 Jan 2006 21:24:19 +0000 (21:24 +0000)]
Based on a previous patch form Michal Ludvig:
* gdbtypes.c (append_flags_type_flag, init_flags_type): New
functions.
(is_integral_type, rank_one_type, recursive_dump_type): Add
support for TYPE_CODE_FLAGS.
* gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS.
(append_flags_type_field, init_flags_type): New prototypes.
* ada-valprint.c (ada_val_print_1): Add support for
TYPE_CODE_FLAGS.
* c-valprint.c (c_val_print): Likewise.
* f-valprint.c (f_val_print): Likewise.
* p-valprint.c (pascal_val_print): Likewise.
* valprint.c (val_print_type_code_flags): New function.
* valprint.h (val_print_type_code_flags): New prototype.
* value.c (unpack_long, value_from_longest): Add support for
TYPE_CODE_FLAGS.

18 years agoinclude/elf/ChangeLog:
aoliva [Wed, 18 Jan 2006 21:07:47 +0000 (21:07 +0000)]
include/elf/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* common.h (DT_TLSDESC_GOT, DT_TLSDESC_PLT): New.
* i386.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, R_386_TLS_DESC):
New.
* x86-64.h (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL,
R_X86_64_TLSDESC): New.
bfd/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-i386.c (elf_howto_table): New relocations.
(R_386_tls): Adjust.
(elf_i386_reloc_type_lookup): Map new relocations.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf_i386_link_hash_entry): Add tlsdesc_got field.
(struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
(elf_i386_local_tlsdesc_gotent): New macro.
(struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
(elf_i386_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
(elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_check_relocs): Likewise.  Allocate space for
local_tlsdesc_gotent.
(elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(allocate_dynrelocs): Count function PLT relocations.  Reserve
space for TLS descriptors and relocations.
(elf_i386_size_dynamic_sections): Reserve space for TLS
descriptors and relocations.  Set up sgotplt_jump_table_size.
Don't zero reloc_count in srelplt.
(elf_i386_always_size_sections): New.  Set up _TLS_MODULE_BASE_.
(elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf_backend_always_size_sections): Define.
* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
(R_X86_64_standard): Adjust.
(x86_64_reloc_map): Map new relocs.
(elf64_x86_64_rtype_to_howto): New, split out of...
(elf64_x86_64_info_to_howto): ... this function, and...
(elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
(struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
(elf64_x86_64_local_tlsdesc_gotent): New macro.
(struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
tlsdesc_got and sgotplt_jump_table_size fields.
(elf64_x86_64_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf64_x86_64_link_hash_table_create): Initialize new fields.
(elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(elf64_x86_64_check_relocs): Likewise.  Allocate space for
local_tlsdesc_gotent.
(elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(allocate_dynrelocs): Count function PLT relocations.  Reserve
space for TLS descriptors and relocations.
(elf64_x86_64_size_dynamic_sections): Reserve space for TLS
descriptors and relocations.  Set up sgotplt_jump_table_size,
tlsdesc_plt and tlsdesc_got.  Make room for them.  Don't zero
reloc_count in srelplt.  Add dynamic entries for DT_TLSDESC_PLT
and DT_TLSDESC_GOT.
(elf64_x86_64_always_size_sections): New.  Set up
_TLS_MODULE_BASE_.
(elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
DT_TLSDESC_GOT.  Set up TLS descriptor lazy resolver PLT entry.
(elf_backend_always_size_sections): Define.
binutils/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
DT_TLSDESC_PLT.
gas/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* config/tc-i386.c (tc_i386_fix_adjustable): Handle
BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
(optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
displacement bits.
(build_modrm_byte): Set up zero modrm for TLS desc calls.
(lex_got): Handle @tlsdesc and @tlscall.
(md_apply_fix, tc_gen_reloc): Handle the new relocations.
ld/testsuite/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* ld-i386/i386.exp: Run on x86_64-*-linux* and amd64-*-linux*.
Add new tests.
* ld-i386/pcrel16.d: Add -melf_i386.
* ld-i386/pcrel8.d: Likewise.
* ld-i386/tlsbindesc.dd: New.
* ld-i386/tlsbindesc.rd: New.
* ld-i386/tlsbindesc.s: New.
* ld-i386/tlsbindesc.sd: New.
* ld-i386/tlsbindesc.td: New.
* ld-i386/tlsdesc.dd: New.
* ld-i386/tlsdesc.rd: New.
* ld-i386/tlsdesc.s: New.
* ld-i386/tlsdesc.sd: New.
* ld-i386/tlsdesc.td: New.
* ld-i386/tlsgdesc.dd: New.
* ld-i386/tlsgdesc.rd: New.
* ld-i386/tlsgdesc.s: New.
* ld-x86-64/x86-64.exp: Run new tests.
* ld-x86-64/tlsbindesc.dd: New.
* ld-x86-64/tlsbindesc.rd: New.
* ld-x86-64/tlsbindesc.s: New.
* ld-x86-64/tlsbindesc.sd: New.
* ld-x86-64/tlsbindesc.td: New.
* ld-x86-64/tlsdesc.dd: New.
* ld-x86-64/tlsdesc.pd: New.
* ld-x86-64/tlsdesc.rd: New.
* ld-x86-64/tlsdesc.s: New.
* ld-x86-64/tlsdesc.sd: New.
* ld-x86-64/tlsdesc.td: New.
* ld-x86-64/tlsgdesc.dd: New.
* ld-x86-64/tlsgdesc.rd: New.
* ld-x86-64/tlsgdesc.s: New.

18 years agomerge from gcc
dj [Wed, 18 Jan 2006 21:05:51 +0000 (21:05 +0000)]
merge from gcc

18 years ago* heap.cc (heap_init): Remove Sleep.
cgf [Wed, 18 Jan 2006 20:40:51 +0000 (20:40 +0000)]
* heap.cc (heap_init): Remove Sleep.

18 years ago * net.cc (rresvport): Remove extern declaration.
corinna [Wed, 18 Jan 2006 18:37:35 +0000 (18:37 +0000)]
* net.cc (rresvport): Remove extern declaration.

18 years ago * autoload.cc (rresvport): Remove.
corinna [Wed, 18 Jan 2006 18:24:33 +0000 (18:24 +0000)]
* autoload.cc (rresvport): Remove.
* net.cc (last_used_rrecvport): New global shared variable.
(cygwin_rresvport): Implement rresvport without using rresvport from
wsock32.

18 years agoWasn't going to check this in but since it did get checked in, here's a ChangeLog.
cgf [Wed, 18 Jan 2006 16:11:53 +0000 (16:11 +0000)]
Wasn't going to check this in but since it did get checked in, here's a ChangeLog.

18 years agobad_keywords
cgf [Wed, 18 Jan 2006 15:57:55 +0000 (15:57 +0000)]
bad_keywords

18 years ago * include/cygwin/socket.h (struct sockaddr_storage): Fix typo in
corinna [Wed, 18 Jan 2006 15:37:22 +0000 (15:37 +0000)]
* include/cygwin/socket.h (struct sockaddr_storage): Fix typo in
ss_family member name.

18 years agofix typo
arnoldm [Wed, 18 Jan 2006 15:00:22 +0000 (15:00 +0000)]
fix typo

18 years agofix typo
arnoldm [Wed, 18 Jan 2006 14:57:45 +0000 (14:57 +0000)]
fix typo

18 years agoAdd tests for instructions with offsets.
arnoldm [Wed, 18 Jan 2006 14:52:11 +0000 (14:52 +0000)]
Add tests for instructions with offsets.

18 years agofixes related to indexed operands
arnoldm [Wed, 18 Jan 2006 13:48:46 +0000 (13:48 +0000)]
fixes related to indexed operands

18 years ago* cygpath.cc (dowin): Remove stray debugging printf statement.
davek [Wed, 18 Jan 2006 12:34:59 +0000 (12:34 +0000)]
* cygpath.cc (dowin):  Remove stray debugging printf statement.

18 years agoPR binutils/1391
nickc [Wed, 18 Jan 2006 11:01:08 +0000 (11:01 +0000)]
PR binutils/1391
* objcopy.c (copy_object): For PE format targets set the VMA of a newly
  created gnu_debuglink section to a non-zero, aligned, contiguous value.
* Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
* Makefile.in: Regenerate.

18 years ago * mt/ms2.ld (.sram): Correct typo in section names.
nathan [Wed, 18 Jan 2006 10:57:19 +0000 (10:57 +0000)]
* mt/ms2.ld (.sram): Correct typo in section names.

18 years ago*** empty log message ***
gdbadmin [Wed, 18 Jan 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* MAINTAINERS: Very belatedly remove myself from from the list of people caught
cgf [Tue, 17 Jan 2006 23:42:28 +0000 (23:42 +0000)]
* MAINTAINERS: Very belatedly remove myself from from the list of people caught
up in the paper trail.

18 years agodaily update
amodra [Tue, 17 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agogdb/ChangeLog:
jimb [Tue, 17 Jan 2006 22:30:29 +0000 (22:30 +0000)]
gdb/ChangeLog:
2006-01-17  Jim Blandy  <jimb@redhat.com>

* symtab.h (struct general_symbol_info): Use gdb_byte for
value.bytes.
* stabsread.c (define_symbol): Use gdb_byte for the buffer holding
a floating-point constant's value.
* dwarf2read.c (dwarf2_const_value): Remove casts of value buffer
to char *.
* findvar.c (read_var_value): Eliminate needless temporary.

18 years agogdb/ChangeLog:
jimb [Tue, 17 Jan 2006 22:27:21 +0000 (22:27 +0000)]
gdb/ChangeLog:
2006-01-17  Jim Blandy  <jimb@redhat.com>

* dwarf2-frame.c (dwarf2_read_section): Update forward declaration
to match prior change to dwarf2_read_section's type.

18 years ago2006-01-16 Paul Gilliam <pgilliam@us.ibm.com>
pgilliam [Tue, 17 Jan 2006 22:21:13 +0000 (22:21 +0000)]
2006-01-16  Paul Gilliam  <pgilliam@us.ibm.com>

* ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define.
* rs6000-tdep.c (insn_changes_sp_or_jumps)
(rs6000_in_function_epilogue_p): New functions.
(rs6000_gdbarch_init): Set in_function_epilogue_p.

18 years ago2006-01-17 Jim Blandy <jimb@redhat.com>
jimb [Tue, 17 Jan 2006 22:01:39 +0000 (22:01 +0000)]
2006-01-17  Jim Blandy  <jimb@redhat.com>

* dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head)
(struct line_header, struct partial_die_info, struct dwarf_block):
Use gdb_byte for members that refer to Dwarf section contents.
(dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines,
dwarf_decode_macros, load_comp_unit, load_partial_dies,
locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev,
read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes,
read_8_bytes, read_address, read_attribute, read_attribute_value,
read_comp_unit, read_comp_unit_head, read_die_and_children,
read_die_and_siblings, read_full_die, read_indirect_string,
read_initial_length, read_n_bytes, read_offset, read_partial_die,
read_signed_leb128, read_string, read_unsigned_leb128,
skip_children, skip_leb128, skip_one_die): Same.

18 years agoUse unsigned char to hold data to be disassembled.
arnoldm [Tue, 17 Jan 2006 21:15:56 +0000 (21:15 +0000)]
Use unsigned char to hold data to be disassembled.

18 years ago2006-01-17 Chris Sutcliffe <ir0nh34d@users.sf.net>
ironhead [Tue, 17 Jan 2006 18:56:12 +0000 (18:56 +0000)]
2006-01-17  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.6.
        * Makefile.in: Ditto.