OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years agogas/
jbeulich [Mon, 14 Nov 2005 08:38:37 +0000 (08:38 +0000)]
gas/
2005-11-14  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG,
AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define.
(ar): Use AR_* instead of literals.
(CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV,
CR_PMV, CR_CMCV): Define.
(cr): Use CR_* instead of literals.

18 years agogas/
jbeulich [Mon, 14 Nov 2005 08:37:11 +0000 (08:37 +0000)]
gas/
2005-11-14  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (md): Rename regsym to indregsym and move
it to the end of the structure.
(ar): Field regnum is unsigned.
(cr): Likewise:
(indirect_reg): Likewise.
(declare_register_set): Parameter regnum is unsigned.
(declare_register): Parameter numregs and base_regnum are
unsigned. So is the local loop variable.
(md_begin): Restrict scope of local variable regnum, which
also is unsigned. Replace loops with function calls where
possible. Re-order things so that register groups are kept
together. Remove all uses of regsym except for indirect
registers. Replace use of regsym by indregsym for indirect
registers.
(ia64_optimize_expr): Replace use of regsym by indregsym for
indirect registers, with appropriate bias.

18 years ago* fhandler.h (fhandler_console::fixup_after_fork_exec): Declare new function.
cgf [Mon, 14 Nov 2005 05:36:16 +0000 (05:36 +0000)]
* fhandler.h (fhandler_console::fixup_after_fork_exec): Declare new function.
(fhandler_console::fixup_after_fork): Use fixup_after_fork_exec.
(fhandler_console::fixup_after_exec): Ditto.
* fhandler_console.cc (fhandler_console::fixup_after_fork): Delete definition.
(fhandler_console::fixup_after_fork_exec): Rename from fixup_after_exec.
* pinfo.cc (_pinfo::set_ctty): Don't play with console count here.
* syscalls.cc (close_all_files): Don't close cygheap ctty if hExeced since the
child will be copying information from us.
(setsid): Use myctty() rather than raw ctty #.

18 years ago* cygheap.h (init_cygheap::manage_console_count): Declare new function.
cgf [Mon, 14 Nov 2005 04:28:44 +0000 (04:28 +0000)]
* cygheap.h (init_cygheap::manage_console_count): Declare new function.
(init_cygheap::console_count): Renamed from open_fhs.  Make private.
* cygheap.cc (init_cygheap::manage_console_count): Define new function.
* dtable.cc (dtable::fixup_after_exec): Always call fixup_after_exec on
elements of fd even when they are about to be closed.
* fhandler.h (report_tty_counts): Remove open_fhs from debugging output.
* fhandler_console.cc (fhandler_console::open): Use manage_console_count rather
than manipulating count directly.
(fhandler_console::close): Ditto.
(fhandler_console::fixup_after_fork): Ditto.
(fhandler_console::fixup_after_exec): Ditto.  Don't close handles if
close_on_exec.
* fhandler_tty.cc (fhandler_tty_slave::open): Use manage_console_count() rather
than manipulating count directly.  Reflect change in arguments to
report_tty_counts().
(fhandler_tty_slave::close): Ditto for both.
(fhandler_tty_slave::dup): Ditto for both.
(fhandler_tty_slave::ioctl): Use myctty() rather than raw ctty #.
(fhandler_tty_slave::fixup_after_fork): Reflect change in arguments to
report_tty_counts().
(fhandler_tty_master::init_console): Use manage_console_count() rather than
manipulating count directly.
* fhandler_clipboard.cc (fhandler_dev_clipboard::fixup_after_exec): Don't
perform any operations if close_on_exec.
* fhandler_dsp.cc (fhandler_dev_dsp::fixup_after_exec): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::fixup_after_exec): Ditto.
* fhandler_serial.cc (fhandler_serial::fixup_after_exec): Ditto.
* pinfo.h (_pinfo::_ctty): Declare new function.
(myctty): Declare new macro.
(__ctty): Declare new macro.
* pinfo.cc (_pinfo::_ctty): Define new function.
(_pinfo::set_ctty): Use manage_console_count() rather than manipulating count
directly.
* signal.cc (kill_pgrp): Use myctty() and __ctty() macros rather than raw ctty
#.
* syscalls.cc (setsid): Ditto.  Use manage_console_count() rather than
manipulating count directly.

18 years ago * gdb.texinfo: Correct a merge error introduced by -r 1.286.
woodzltc [Mon, 14 Nov 2005 03:27:22 +0000 (03:27 +0000)]
* gdb.texinfo: Correct a merge error introduced by -r 1.286.

18 years ago* gdb.texinfo (Fortran): Add some words about Fortran debugging.
woodzltc [Mon, 14 Nov 2005 02:34:43 +0000 (02:34 +0000)]
* gdb.texinfo (Fortran): Add some words about Fortran debugging.

18 years ago * mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
ths [Mon, 14 Nov 2005 02:25:39 +0000 (02:25 +0000)]
    * mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
        instructions.  Define MIPS16_ALL_ARGS and MIPS16_ALL_STATICS for
        save/restore encoding of the args field.

        * mips16-opc.c: Add MIPS16e save/restore opcodes.
        * mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M'
        codes for save/restore.

        * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
        for the MIPS16e save/restore instructions.

        * gas/mips/mips.exp: Run new save/restore tests.
        * gas/testsuite/gas/mips/mips16e-save.s: New test for generating
        different styles of save/restore instructions.
        * gas/testsuite/gas/mips/mips16e-save.d: New.

18 years ago*** empty log message ***
gdbadmin [Mon, 14 Nov 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 13 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * elfread.c (elf_symtab_read): Remove if (1) and reindent.
drow [Sun, 13 Nov 2005 18:56:34 +0000 (18:56 +0000)]
* elfread.c (elf_symtab_read): Remove if (1) and reindent.

18 years ago * arm-linux-tdep.c (eabi_linux_arm_le_breakpoint)
drow [Sun, 13 Nov 2005 18:04:14 +0000 (18:04 +0000)]
* arm-linux-tdep.c (eabi_linux_arm_le_breakpoint)
(eabi_linux_arm_be_breakpoint): New variables.
(arm_linux_init_abi): Use them.

18 years ago * linux-arm-low.c (arm_eabi_breakpoint): New variable.
drow [Sun, 13 Nov 2005 18:04:03 +0000 (18:04 +0000)]
* linux-arm-low.c (arm_eabi_breakpoint): New variable.
(arm_breakpoint_at): Recognize both breakpoints.
(the_low_target): Use the correct breakpoint instruction.

18 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Just return 0 (EOF)
corinna [Sun, 13 Nov 2005 16:24:40 +0000 (16:24 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Just return 0 (EOF)
in case of WSAESHUTDOWN.
(fhandler_socket::recvmsg): Ditto.
* poll.cc (poll): Set revents to POLLIN instead of POLLHUP. Add comment.

18 years ago*** empty log message ***
gdbadmin [Sun, 13 Nov 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2005-11-12 Jim Blandy <jimb@redhat.com>
jimb [Sat, 12 Nov 2005 23:09:46 +0000 (23:09 +0000)]
2005-11-12  Jim Blandy  <jimb@redhat.com>

* gdb.texinfo (General Query Packets): Put packets in alphabetical
order.  Remove extraneous 'z'.

18 years agodaily update
amodra [Sat, 12 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * include/commdlg.h (OPENFILENAMEW): Add members for
dannysmith [Sat, 12 Nov 2005 09:49:00 +0000 (09:49 +0000)]
* include/commdlg.h (OPENFILENAMEW): Add members for
_WIN32_WINNT >= 0x0500.
(OPENFILENAMEA): Modify whitespace. Ansify comment.

18 years ago * include/wingdi.h (GetICMProfile{AW}): Correct prototype.
dannysmith [Sat, 12 Nov 2005 01:10:12 +0000 (01:10 +0000)]
* include/wingdi.h (GetICMProfile{AW}): Correct prototype.
Thanks to: Paul J Lucas

18 years ago*** empty log message ***
gdbadmin [Sat, 12 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 11 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update

18 years ago2005-11-11 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 11 Nov 2005 22:30:19 +0000 (22:30 +0000)]
2005-11-11  Michael Snyder  <msnyder@redhat.com>

        * inftarg.c (child_wait): Delete unused local variable.

18 years ago * Makefile.def: Remove gdb dependencies for gdbtk.
drow [Fri, 11 Nov 2005 21:45:22 +0000 (21:45 +0000)]
* Makefile.def: Remove gdb dependencies for gdbtk.
* Makefile.tpl (CONFIGURE_GDB_TK, INSTALL_GDB_TK): New variables.
(configure-gdb, install-gdb): New rules.
* configure.in: Set CONFIGURE_GDB_TK and INSTALL_GDB_TK.
* Makefile.in, configure: Regenerated.

18 years agoDon't allow more than one LWP to have `do_step' flag set at a time.
kevinb [Fri, 11 Nov 2005 20:29:57 +0000 (20:29 +0000)]
Don't allow more than one LWP to have `do_step' flag set at a time.

18 years ago PR tui/1995
ciceron [Fri, 11 Nov 2005 19:55:49 +0000 (19:55 +0000)]
PR tui/1995
* tui/tui-command.c (tui_dispatch_ctrl_char): Handle CTRL-L even if the
focus is on the command window.

18 years ago * tui/tui-win.c (tui_update_gdb_sizes): Use tui_term_width() and
ciceron [Fri, 11 Nov 2005 18:07:08 +0000 (18:07 +0000)]
* tui/tui-win.c (tui_update_gdb_sizes): Use tui_term_width() and
tui_term_height() to restore the terminal size when leaving the
TUI mode.

18 years ago From Spencer Oliver <spencer.oliver@anglia.com>:
kseitz [Fri, 11 Nov 2005 17:19:06 +0000 (17:19 +0000)]
    From Spencer Oliver <spencer.oliver@anglia.com>:
        * library/targetselection.itb (build_win): Only pack the xterm checkbutton
        on unix platforms.

18 years ago* cygheap.h (init_cygheap::_gtod): Remove.
cgf [Fri, 11 Nov 2005 16:42:15 +0000 (16:42 +0000)]
* cygheap.h (init_cygheap::_gtod): Remove.
* cygwin.din: Export clock_getres and clock_setres.
* hires.h (hires_ms::minperiod): Delete declaration.
(hires_ms::began_period): Ditto.
(hires_ms::prime): Make void.
(hires_ms::resolution): Just define here.
(hires_ms::usecs): Remove unneeded argument.
(gtod): Redeclare as a variable.
* timer.cc (timer_thread): Eliminate argument to gtod.usecs().
(timer_tracker::gettime): Ditto.
(timer_tracker::settime): Ditto.
* times.cc (gettimeofday): Ditto.
(hires_ms::began_period): Delete declaration.
(hires_us::prime): Remove debugging.
(hires_ms::prime): Make void.  Eliminate period stuff.
(hires_ms::usecs): Eliminate argument to gtod.usecs().
(hires_ms::resolution): New function.
(clock_getres): Ditto.
(clock_setres): Ditto.
* version.h: Bump API version to 143.
* include/cygwin/time.h: New file.

18 years ago* libc/include/sys/time.h: For cygwin, use general header rather than specific
cgf [Fri, 11 Nov 2005 16:23:36 +0000 (16:23 +0000)]
* libc/include/sys/time.h: For cygwin, use general header rather than specific
"sys/select.h".

18 years ago * gdb.asm/m68hc11.inc: Setup the data section.
ciceron [Fri, 11 Nov 2005 11:18:53 +0000 (11:18 +0000)]
* gdb.asm/m68hc11.inc: Setup the data section.
* gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
script for this test.
(m6812-*-*): Likewise.

18 years agoPR 1150
nickc [Fri, 11 Nov 2005 11:06:31 +0000 (11:06 +0000)]
PR 1150
* readelf.c (get_mips_symbol_other): New function.
  (get_symbol_other): New function.
  (process_symbol_table): Call get_symbol_other() to get a description of the
    st_other field if it contains more information than just the visibility.
* elfxx-mips.c (mips_elf_calculate_relocation): Ignore an undefined symbol if
    it is optional.
  (_bfd_mips_elf_merge_symbol_attribute): Make sure that the optional flag is
    merged as well as the visibility.
* elfxx-mips.h (_bfd_mips_elf_merge_symbol_attribute): Prototype.
  (elf_backend_merge_symbol_attribute): Define.
* mips.h (STO_OPTIONAL): Define.
  (ELF_MIPS_IS_OPTIONAL): Define.

18 years ago * m68hc11-tdep.c (m68hc11_pseudo_register_write): Use gdb_byte
ciceron [Fri, 11 Nov 2005 10:25:34 +0000 (10:25 +0000)]
* m68hc11-tdep.c (m68hc11_pseudo_register_write): Use gdb_byte
for buffers.
(m68hc11_pseudo_register_read): Likewise.
(m68hc11_return_value): Likewise.
(m68hc11_frame_prev_register): Likewise.
(m68hc11_frame_align): Remove as its seems no longer necessary.
(m68hc11_gdbarch_init): Don't install frame_align handler.
(m68hc11_scan_prologue): Fix crash that occurred when called from
m68hc11_skip_prologue

18 years agogas/
jbeulich [Fri, 11 Nov 2005 08:06:36 +0000 (08:06 +0000)]
gas/
2005-11-11  Jan Beulich  <jbeulich@novell.com>

* doc/Makefile.am: Make asconfig.texi writeable before trying
to write to it.
* doc/Makefile.in: Refresh.

18 years ago* times.cc (hires_ms::prime): Comment out call to timeBeginPeriod for now.
cgf [Fri, 11 Nov 2005 04:07:29 +0000 (04:07 +0000)]
* times.cc (hires_ms::prime): Comment out call to timeBeginPeriod for now.
(hires_ms::usecs): Call prime if haven't called began_period().
* param.h: Don't define stuff that is already defined in endian.h.

18 years ago * ld-cris/noov.d: Restrict to cris-*-*elf*.
hp [Fri, 11 Nov 2005 00:29:14 +0000 (00:29 +0000)]
* ld-cris/noov.d: Restrict to cris-*-*elf*.

18 years ago*** empty log message ***
gdbadmin [Fri, 11 Nov 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 10 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agoHandle LWPs that have died without leaving a status.
kevinb [Thu, 10 Nov 2005 21:32:15 +0000 (21:32 +0000)]
Handle LWPs that have died without leaving a status.

18 years ago* include/endian.h: Remove USE_BSD ifdef since it is never defined on Cygwin.
cgf [Thu, 10 Nov 2005 21:17:14 +0000 (21:17 +0000)]
* include/endian.h: Remove USE_BSD ifdef since it is never defined on Cygwin.

18 years ago* MAINTAINERS: Mark m68k-elf, sparc-elf and vax-netbsd as no
kettenis [Thu, 10 Nov 2005 19:21:50 +0000 (19:21 +0000)]
* MAINTAINERS: Mark m68k-elf, sparc-elf and vax-netbsd as no
longer broken.

18 years agogas/
jbeulich [Thu, 10 Nov 2005 16:06:27 +0000 (16:06 +0000)]
gas/
2005-11-10  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (intel_e11): Don't special-case segment
registers in brackets.

gas/testsuite/
2005-11-10  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelbad.d: Add tests for ill registers in brackets.
* gas/i386/intelbad.l: Adjust.

18 years ago * bsd_helper.cc (securityinit): New function. Move initialization
corinna [Thu, 10 Nov 2005 15:04:06 +0000 (15:04 +0000)]
* bsd_helper.cc (securityinit): New function.  Move initialization
of security related variables from ipcinit here.
* bsd_helper.h (securityinit): Add prototype.
* cygserver.cc (main): Call securityinit right after wincap.init.

* process.cc (process_cache::process): Fix maximum process condition.

* README: Add description for new -p/--process-cache option.
* bsd_helper.cc (default_tun_check): Add kern.srv.process_cache_size
entry to tunable_params. Set max value of kern.srv.request_threads
to 310.
* cygserver.cc (SERVER_VERSION): Set to 1.20.
(print_usage): Print usage of new parameter -p.
(main): Add process cache parameter handling. Accomodate new max
value of request threads.
* cygserver.conf: Add kern.srv.process_cache_size tunable parameter.
Accomodate new max value of kern.srv.request_threads.
* process.cc: Fix a comment.
(process_cache::process_cache): Add max process cache size parameter.
Change _cache_add_trigger to manual reset event.
(struct pcache_wait_t): New struct used as parameter to
pcache_wait_thread.
(pcache_wait_thread): New thread function used for threaded process
cache.
(process_cache::wait_for_processes): Use threaded waiting if number
of processes to wait for is bigger than 62. Always check all processes
to avoid race under heavy load.
(process_cache::sync_wait_array): Remove useless assert. Reset
_cache_add_trigger right at the start since it's manual reset now.
Accomodate threaded waiting.
* process.h (process_cache::process_cache): Add max_procs parameter.
(process_cache::_max_process_count): New member.
(process_cache::_wait_array: Raise to allow up to 5 wait threads.
(process_cache::_process_array): Ditto.

18 years ago * m68k-dis.c (print_insn_m68k): Only match FPU insns with
schwab [Thu, 10 Nov 2005 14:32:28 +0000 (14:32 +0000)]
* m68k-dis.c (print_insn_m68k): Only match FPU insns with
coprocessor ID 1.

18 years ago2005-11-10 Andrew Stubbs <andrew.stubbs@st.com>
ams [Thu, 10 Nov 2005 11:05:31 +0000 (11:05 +0000)]
2005-11-10  Andrew Stubbs  <andrew.stubbs@st.com>

* interp.c (sim_memory_size): Use same amount of memory on Windows as
elsewhere.

18 years ago * bsd_log.cc (_vpanic): LOG_EMERG is overkill, use LOG_CRIT.
corinna [Thu, 10 Nov 2005 10:50:46 +0000 (10:50 +0000)]
* bsd_log.cc (_vpanic): LOG_EMERG is overkill, use LOG_CRIT.

18 years ago Fix dates.
corinna [Thu, 10 Nov 2005 10:36:45 +0000 (10:36 +0000)]
Fix dates.

18 years ago * syslog.cc (setlogmask): Don't mask the mask.
corinna [Thu, 10 Nov 2005 10:34:49 +0000 (10:34 +0000)]
* syslog.cc (setlogmask): Don't mask the mask.
(vsyslog): Fix priority check.

18 years ago* config/tc-arm.c (BAD_ADDR_MODE): Define.
nickc [Thu, 10 Nov 2005 09:41:12 +0000 (09:41 +0000)]
* config/tc-arm.c (BAD_ADDR_MODE): Define.
  (arm_reg_parse_multi): Return NULL rather than FAIL.
  (arm_reg_parse): Fix comment, the function returns FAIL rather than NULL if
    it is unable to parse the register name.
  (do_ldrex): Use BAD_ADDR_MODE.
    Change error message for PC-relative addressing.
  (do_strex): Likewise.
  (do_t_ldrex): Use BAD_ADDR_MODE.
  (do_t_strex): Likewise.
* gas/arm/archv6t2-bad.s: Add tests of badly composed ldrex and strex
    instructions.
* gas/arm/archv6t2-bad.l: Add expected error messages.
* gas/arm/r15-bad.l: Adjust error messages for r15 usage in ldrex and strex
    instructions.

18 years ago * include/cygwin/signal.h: Add missing sigrelse prototype.
corinna [Thu, 10 Nov 2005 09:12:21 +0000 (09:12 +0000)]
* include/cygwin/signal.h: Add missing sigrelse prototype.

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

18 years agodaily update
amodra [Wed, 9 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2005-11-09 Randolph Chung <tausq@debian.org>
tausq [Wed, 9 Nov 2005 15:45:55 +0000 (15:45 +0000)]
2005-11-09  Randolph Chung <tausq@debian.org>

* gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.

18 years ago2005-11-09 Randolph Chung <tausq@debian.org>
tausq [Wed, 9 Nov 2005 07:22:40 +0000 (07:22 +0000)]
2005-11-09  Randolph Chung <tausq@debian.org>

* hppa-linux-nat.c (_initialize_hppa_linux_nat): Use
hppa_linux_{store,fetch}_inferior_registers instead of
arm_linux_{store,fetch}_inferior_registers.

18 years ago2005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>
ksakamot [Wed, 9 Nov 2005 07:09:05 +0000 (07:09 +0000)]
2005-11-08  Kei Sakamoto  <sakamoto.kei@renesas.com>

        * remote-m32r-sdi.c: Update copyright years.
        (m32r_resume): Write DBT at word-aligned addresses.
        (m32r_wait): Use SDI_WRITE_MEMORY to remove DBT.

18 years agogdb.base/break.exp: Fix a comment typo.
woodzltc [Wed, 9 Nov 2005 06:41:29 +0000 (06:41 +0000)]
gdb.base/break.exp: Fix a comment typo.

18 years agoFix problem in which singlestep operations were apparently ignored.
kevinb [Wed, 9 Nov 2005 02:16:46 +0000 (02:16 +0000)]
Fix problem in which singlestep operations were apparently ignored.

18 years agoFix thread related problem for am33 software singlestep.
kevinb [Wed, 9 Nov 2005 02:08:12 +0000 (02:08 +0000)]
Fix thread related problem for am33 software singlestep.

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

18 years ago* fhandler_base.cc (fhandler_base::readv): Free buf, not a pointer into the
cgf [Tue, 8 Nov 2005 23:25:55 +0000 (23:25 +0000)]
* fhandler_base.cc (fhandler_base::readv): Free buf, not a pointer into the
middle of buf.

18 years agodaily update
amodra [Tue, 8 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-11-08 Tom Walsh <tom@openhardware.net>
jjohnstn [Tue, 8 Nov 2005 22:44:15 +0000 (22:44 +0000)]
2005-11-08  Tom Walsh  <tom@openhardware.net>

        * libc/time/tzvars.c: New file.
        * libc/time/tzset_r.c: Moved globals into tzvars.c
        so other time functions needn't link in __tzset_r and its
        dependencies.
        * libc/time/Makefile.am: Add the new file.
        * libc/time/Makefile.in: Regenerated.

18 years ago* libc/include/string.h: Add cygwin-specific function declaration.
cgf [Tue, 8 Nov 2005 22:10:33 +0000 (22:10 +0000)]
* libc/include/string.h: Add cygwin-specific function declaration.

18 years agofix entry
cgf [Tue, 8 Nov 2005 22:08:59 +0000 (22:08 +0000)]
fix entry

18 years ago* memmem.cc: New file.
cgf [Tue, 8 Nov 2005 22:08:38 +0000 (22:08 +0000)]
* memmem.cc: New file.
* include/cygwin/version.h: Bump API version number to 142.
* cygwin.din: Export memmem.

18 years agoAdd diagnostic messages.
kevinb [Tue, 8 Nov 2005 21:58:36 +0000 (21:58 +0000)]
Add diagnostic messages.

18 years ago* config/tc-sparc.c (isoctal): Fix thinko.
nickc [Tue, 8 Nov 2005 16:37:56 +0000 (16:37 +0000)]
* config/tc-sparc.c (isoctal): Fix thinko.

18 years ago* environ.cc (spenvs): Make "SYSTEMDRIVE" an "always export".
cgf [Tue, 8 Nov 2005 16:32:09 +0000 (16:32 +0000)]
* environ.cc (spenvs): Make "SYSTEMDRIVE" an "always export".

18 years ago* gas/all/cofftag.s: Convert numbers in .type directives to decimal.
nickc [Tue, 8 Nov 2005 16:23:31 +0000 (16:23 +0000)]
* gas/all/cofftag.s: Convert numbers in .type directives to decimal.
* gas/all/gas.exp: enable cofftag-test for z80-*-coff.

18 years ago* m32c-desc.c: Regenerated.
nickc [Tue, 8 Nov 2005 16:16:47 +0000 (16:16 +0000)]
* m32c-desc.c: Regenerated.

18 years ago* expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than flag_mri_m68k
nickc [Tue, 8 Nov 2005 15:48:25 +0000 (15:48 +0000)]
* expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than flag_mri_m68k
  as condition for parsing the '$' as a prefix.
* as.h (DOLLAR_AMBIGU): Define if needed.

18 years agoDocument ms2 addition
nathan [Tue, 8 Nov 2005 11:17:03 +0000 (11:17 +0000)]
Document ms2 addition

18 years agobfd:
nathan [Tue, 8 Nov 2005 11:15:11 +0000 (11:15 +0000)]
bfd:
Add ms2.
* archures.c (bfd_mach_ms2): Define.
* cpu-ms1.c (arch_info_struct): Add ms2 stanza.
* elf32-ms1.c (elf32_ms1_machine): Add ms2 case.
(ms1_elf_merge_private_bfd_data): Remove unused variables.  Add
correct merging logic, with workaround.
(ms1_elf_print_private_bfd_data): Add ms2 case.
* reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc.
* libbfd.h: Regenerated.
* bfd-in2.h: Regenerated.

cpu:
Add ms2
* ms1.cpu (ms2, ms2bf): New architecture variant, cpu, machine and
model.
(f-uu8, f-uu1, f-imm16l, f-loopo, f-cb1sel, f-cb2sel, f-cb1incr,
f-cb2incr, f-rc3): New fields.
(LOOP): New instruction.
(JAL-HAZARD): New hazard.
(imm16o, loopsize, imm16l, rc3, cb1sel, cb2sel, cb1incr, cb2incr):
New operands.
(mul, muli, dbnz, iflush): Enable for ms2
(jal, reti): Has JAL-HAZARD.
(ldctxt, ldfb, stfb): Only ms1.
(fbcb): Only ms1,ms1-003.
(wfbinc, mefbinc, wfbincr, mwfbincr, fbcbincs, mfbcbincs,
fbcbincrs, mfbcbincrs): Enable for ms2.
(loop, loopu, dfbc, dwfb, fbwfb, dfbr): New ms2 insns.
* ms1.opc (parse_loopsize): New.
(parse_imm16): hi16/lo16 relocs are applicable to IMM16L.
(print_pcrel): New.

gas:
Add ms2.
* config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
(ms1_architectures): Add ms2.
(md_parse_option): Add ms2.
(md_show_usage): Add ms2.
(md_assemble): Add JAL_HAZARD detection logic.
(md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
* doc/c-ms1.texi: New.
* doc/all.texi: Add MS1.
* doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
* doc/Makefile.in: Rebuilt.
* doc/Makefile: Rebuilt.

gas/testsuite:
Add ms2.
* gas/ms1/allinsn.d: Adjust pcrel disassembly.
* gas/ms1/errors.exp: Fix target triplet.
* gas/ms1/ms1-16-003.d: Adjust pcrel disassembly.
* gas/ms1/ms1-16-003.s: Tweak label.
* gas/ms1/ms1.exp: Adjust target triplet.  Add ms2 test.
* gas/ms1/ms2.d, gas/ms1/ms2.s: New.
* gas/ms1/relocs.d: Adjust expected machine name and pcrel
disassembly.
* gas/ms1/relocs.exp: Adjust target triplet.

include:
Add ms2.
* elf/ms1.h (EF_MS1_CPU_MS2): New.

opcodes:
Add ms2.
* ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c,
ms1-opc.c, ms1-opc.h: Regenerated.

18 years ago2005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>
ksakamot [Tue, 8 Nov 2005 05:54:22 +0000 (05:54 +0000)]
2005-11-08  Kei Sakamoto  <sakamoto.kei@renesas.com>

* m32r-linux-tdep.c (linux_sigtramp_code): Use 'gdb_byte' instead
of 'unsigned char'.
(m32r_linux_sigtramp_start): Likewise.
(linux_rt_sigtramp_code): Likewise.
(m32r_linux_rt_sigtramp_start): Likewise.
(m32r_linux_sigtramp_frame_prev_register): Use 'gdb_byte *' instead
of 'void *'.
* m32r-tdep.c (m32r_memory_insert_breakpoint): Use 'gdb_byte'
instead of 'char'.
(m32r_memory_remove_breakpoint): Likewise.
(m32r_breakpoint_from_pc): Likewise.
(m32r_store_return_value): Likewise.
(decode_prologue): Likewise.
(m32r_push_dummy_call): Likewise.
(m32r_return_value): Use 'gdb_byte *' instead of 'void *'.
* remote-m32r-sdi.c (m32r_xfer_memory): Use 'gdb_byte' instead of
'char'.

18 years ago * ia64-tdep.c (floatformat_valid): Change type of `from' from
kevinb [Tue, 8 Nov 2005 01:42:51 +0000 (01:42 +0000)]
* ia64-tdep.c (floatformat_valid): Change type of `from' from
`const char *' to `const void *'.

18 years agoVarious gdb_byte related changes for FRV targets.
kevinb [Tue, 8 Nov 2005 01:01:34 +0000 (01:01 +0000)]
Various gdb_byte related changes for FRV targets.

18 years ago*** empty log message ***
gdbadmin [Tue, 8 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 7 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago * configure: Regenerate after modifying bfd/warning.m4.
sje [Mon, 7 Nov 2005 22:21:48 +0000 (22:21 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.

18 years ago * configure: Regenerate after modifying bfd/warning.m4.
sje [Mon, 7 Nov 2005 22:20:36 +0000 (22:20 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.

18 years ago * configure: Regenerate after modifying bfd/warning.m4.
sje [Mon, 7 Nov 2005 22:19:01 +0000 (22:19 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.

18 years ago * configure: Regenerate after modifying bfd/warning.m4.
sje [Mon, 7 Nov 2005 22:17:58 +0000 (22:17 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.

18 years ago * configure: Regenerate after modifying bfd/warning.m4.
sje [Mon, 7 Nov 2005 22:15:44 +0000 (22:15 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.

18 years ago * warning.m4 (AM_BINUTILS_WARNINGS): Default to empty string
sje [Mon, 7 Nov 2005 22:14:12 +0000 (22:14 +0000)]
* warning.m4 (AM_BINUTILS_WARNINGS): Default to empty string
if compiler is not GCC.
* configure: Regenerate

18 years ago * configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE.
sje [Mon, 7 Nov 2005 21:55:14 +0000 (21:55 +0000)]
* configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE.

18 years ago2005-10-24 Paul Gilliam <pgilliam@us.ibm.com
pgilliam [Mon, 7 Nov 2005 20:37:57 +0000 (20:37 +0000)]
2005-10-24  Paul Gilliam  <pgilliam@us.ibm.com

* ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Copy code from
ppc_sysv_abi_return_value() to handle a vector return value.

18 years ago PR gas/1804
danglin [Mon, 7 Nov 2005 18:53:10 +0000 (18:53 +0000)]
PR gas/1804
* config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
output constant data.

18 years ago * doc/Makefile.am (asconfig.texi): Set top_srcdir.
mmitchel [Mon, 7 Nov 2005 18:07:12 +0000 (18:07 +0000)]
* doc/Makefile.am (asconfig.texi): Set top_srcdir.
* doc/Makefile.in: Regenerated.
* doc/as.texinfo: Document "@FILE".

18 years agoPR binutils/1568
nickc [Mon, 7 Nov 2005 17:57:00 +0000 (17:57 +0000)]
PR binutils/1568
* config/obj-coff.c (obj_coff_section): Set readonly flag with the 'x'
attribute.  Remember the actions of the 'w' and 'n' attributes and do not
allow the 'x','s' or 'd' attributes to change them.

18 years ago * times.cc (futimes): Redirect to utimes_worker if given file
corinna [Mon, 7 Nov 2005 17:08:08 +0000 (17:08 +0000)]
* times.cc (futimes): Redirect to utimes_worker if given file
descriptor is opened R/O.

18 years agomerge from gcc
dj [Mon, 7 Nov 2005 16:36:16 +0000 (16:36 +0000)]
merge from gcc

18 years ago2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
ams [Mon, 7 Nov 2005 15:27:06 +0000 (15:27 +0000)]
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* main.h (return_child_result, return_child_result_value): Declare.
* infrun.c: Include main.h.
(print_stop_reason): Remove declaration of return_child_result_value.
* top.c: Include main.h.
(quit_force): Remove declarations of return_child_result_value and
return_child_result.
* Makefile.in (top.o, infrun.o): Add main.h to dependencies.

18 years ago2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
ams [Mon, 7 Nov 2005 15:12:47 +0000 (15:12 +0000)]
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* Makefile.in (tui-winsource.o): Add gdb_assert.h to dependencies.

18 years ago2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
ams [Mon, 7 Nov 2005 13:56:48 +0000 (13:56 +0000)]
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* main.c (captured_main): Define struct cmdarg. Change type of cmdarg.
Add new options --eval-command and alias -ex.
Adjust --command to use the new struct cmdarg.
Execute commands given with --eval-command.
(print_gdb_help): Add new options --eval-command, -ex and mention -x.

docs/

* gdb.texinfo (Choosing files): Add --eval-command.

18 years ago2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
ams [Mon, 7 Nov 2005 13:40:08 +0000 (13:40 +0000)]
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* main.c (main): Use INTERP_TUI instead of "tui".
Set interpreter to INTERP_INSIGHT when '-w' given.
* interps.h (INTERP_INSIGHT): New define.
* tui/tui-interp.c (_initialize_tui_interp): Use INTERP_TUI instead
of "tui".

18 years ago2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
ams [Mon, 7 Nov 2005 12:46:37 +0000 (12:46 +0000)]
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* main.c (main): Use INTERP_TUI instead of "tui".
Set interpreter to INTERP_INSIGHT when '-w' given.
* interps.h (INTERP_INSIGHT): New define.
* tui/tui-interp.c (_initialize_tui_interp): Use INTERP_TUI instead
of "tui".

18 years agogas/testsuite/
jbeulich [Mon, 7 Nov 2005 08:04:53 +0000 (08:04 +0000)]
gas/testsuite/
2005-11-07  Jan Beulich  <jbeulich@novell.com>

* gas/all/redef2.[sd]: New.
* gas/all/gas.exp: Run new test.
* gas/elf/redef.d: New.
* gas/elf/elf.exp: Run new test.

18 years ago * gas/i386/divide.s: Test line comment starting with '/'.
amodra [Mon, 7 Nov 2005 06:03:50 +0000 (06:03 +0000)]
* gas/i386/divide.s: Test line comment starting with '/'.
* gas/i386/divide.d: Pass --divide to gas.
* gas/i386/intelok.d: Likewise.
* gas/i386/i386.exp (divide): Run for all targets.

18 years ago * config/tc-i386.h (tc_comment_chars): Define.
amodra [Mon, 7 Nov 2005 06:01:18 +0000 (06:01 +0000)]
* config/tc-i386.h (tc_comment_chars): Define.
* config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
(i386_comment_chars): Add.
(md_parse_options): Process OPTION_DIVIDE.
(md_show_usage): Describe --divide option.
* doc/c-i386.texi: Document --divide option.

18 years ago * expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
amodra [Mon, 7 Nov 2005 02:15:47 +0000 (02:15 +0000)]
* expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
* config/tc-z80.h: Define O_SINGLE_EQ as O_eq.

18 years ago * macro.c (buffer_and_nest): Skip labels regardless of
amodra [Mon, 7 Nov 2005 01:47:54 +0000 (01:47 +0000)]
* macro.c (buffer_and_nest): Skip labels regardless of
NO_PSEUDO_DOT and flag_m68k_mri.

18 years ago * i386-dis.c (ckprefix): Handle rex on fwait. Don't print
amodra [Mon, 7 Nov 2005 00:19:12 +0000 (00:19 +0000)]
* i386-dis.c (ckprefix): Handle rex on fwait.  Don't print
ignored rex prefixes here.
(print_insn): Instead, handle them similarly to fwait followed
by non-fp insns.