OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago2005-02-09 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 9 Feb 2005 23:14:53 +0000 (23:14 +0000)]
2005-02-09  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
show_result parameters.
* mips-tdep.c (_initialize_mips_tdep): Update calls.
* command.h: Update declaration.
* arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
calls.

19 years agodaily update
amodra [Wed, 9 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agocgen/ChangeLog:
jimb [Wed, 9 Feb 2005 22:04:03 +0000 (22:04 +0000)]
cgen/ChangeLog:
2005-02-09  Jim Blandy  <jimb@redhat.com>

* cgen-sim.scm (load-files): Don't load fixup.scm.  (See
corresponding change in the sim/common directory.)

sim/common/ChangeLog:
2005-02-09  Jim Blandy  <jimb@redhat.com>

* Make-common.in (CGEN): Load guile.scm, and include a trailing
'-s' argument.
(CGEN_FLAGS_TO_PASS): Include single quotes around the reference
to $(CGEN), to ensure that the command substitution happens where
the variable is referenced in the submake, not when the submake's
arguments are expanded.
(cgen.sh): Be prepared for the 'cgen' argument to contain spaces.
(arch, cpu, decode, cpu-decode, defs, desc): Place the name of the
application Scheme script directly after ${cgen}; don't precede it
with a -s.

19 years ago2005-02-09 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 9 Feb 2005 21:56:07 +0000 (21:56 +0000)]
2005-02-09  Andrew Cagney  <cagney@gnu.org>

* NEWS: Mention removed commands.
* m68hc11-tdep.c (show_regs): Delete, unused.
(_initialize_m68hc11_tdep): Delete deprecated "regs" command.
* gdb-events.sh: Delete deprecated "set eventdebug" and "show
eventdebug" commands.
* gdb-events.c: Regenerate.
* gdbarch.sh: Delete deprecated "set archdebug" and "show
archdebug" commands.
* gdbarch.c: Regenerate.
* cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
remotedebug" and "show remotedebug".
* arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
disassembly-flavor", "show arm disassembly-flavor", and
"othernames" commands.
(arm_othernames): Delete unused function.

19 years ago * gdb.base/start.c: New file.
brobecke [Wed, 9 Feb 2005 19:58:23 +0000 (19:58 +0000)]
    * gdb.base/start.c: New file.
        * gdb.base/start.exp: New testcase.

19 years ago * gdb.ada/start/dummy.adb: New file.
brobecke [Wed, 9 Feb 2005 19:38:00 +0000 (19:38 +0000)]
    * gdb.ada/start/dummy.adb: New file.
        * gdb.ada/start.exp: New testcase.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Fix checking
corinna [Wed, 9 Feb 2005 19:28:05 +0000 (19:28 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Fix checking
lseek return code.

19 years ago* gdb.texinfo (General Query Packets): Fix texinfo compile warning and error.
troth [Wed, 9 Feb 2005 19:06:08 +0000 (19:06 +0000)]
* gdb.texinfo (General Query Packets): Fix texinfo compile warning and error.

19 years ago2005-02-09 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 9 Feb 2005 16:51:42 +0000 (16:51 +0000)]
2005-02-09  Andrew Cagney  <cagney@gnu.org>

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
(convert_code_addr_to_desc_addr): Convert any function code
address to the corresponding function's descriptor.
(ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
TYPE_CODE_INT use the same code paths as TYPE_CODE_INT.  When
writing, convert any function code address to the corresponding
descriptor.

19 years ago * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
corinna [Wed, 9 Feb 2005 16:45:38 +0000 (16:45 +0000)]
* maint.exp: Raise timeout to give Cygwin targeted GDBs more time
for printing symbols and statistics.
Add test for using relative pathnames in "maint print msymbols" test.
Mark "maint info sections DATA" XFAIL on Cygwin.
Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
tests.

19 years ago * symmisc.c: Include gdb_stat.h.
corinna [Wed, 9 Feb 2005 16:45:17 +0000 (16:45 +0000)]
* symmisc.c: Include gdb_stat.h.
(maintenance_print_msymbols): Use inode numbers to compare files.

19 years ago2005-02-09 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 9 Feb 2005 15:58:46 +0000 (15:58 +0000)]
2005-02-09  Andrew Cagney  <cagney@gnu.org>

* config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
* config/powerpc/linux.mt (TDEPFILES): Ditto.
* config/pa/linux.mt (TDEPFILES): Ditto.
* config/mips/linux.mt (TDEPFILES): Ditto.
* config/m68k/linux.mt (TDEPFILES): Ditto.
* config/m32r/linux.mt (TDEPFILES): Ditto.
* config/ia64/linux.mt (TDEPFILES): Ditto.
* config/arm/linux.mt (TDEPFILES): Ditto.

19 years ago2005-02-09 Andreas Schwab <schwab@suse.de>
cagney [Wed, 9 Feb 2005 14:54:23 +0000 (14:54 +0000)]
2005-02-09  Andreas Schwab  <schwab@suse.de>

Committed by Andrew Cagney  <cagney@gnu.org>
* gdb.base/remotetimeout.exp: New file.

19 years agogas/testsuite/
jbeulich [Wed, 9 Feb 2005 08:05:40 +0000 (08:05 +0000)]
gas/testsuite/
2005-02-09  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.s: Remove comments disabling alternative forms of
fbld, fbstp, and fldcw.
* gas/i386/intelok.d: Expect two instances of fbld, fbstp, and fldcw.

include/opcode/
2005-02-09  Jan Beulich  <jbeulich@novell.com>

PR gas/707
* i386.h (i386_optab): Add x_Suf to fbld and fbstp. Add w_Suf and
FloatMF to fldcw, fstcw, fnstcw, and the memory formas of fstsw and
fnstsw.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 9 Feb 2005 00:04:27 +0000 (00:04 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
(METHOD_PTR_TO_VOFFSET): Move from here ...
* cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
(METHOD_PTR_TO_VOFFSET): ... to here.
* cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
* Makefile.in: Update dependencies.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 9 Feb 2005 00:04:16 +0000 (00:04 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
(METHOD_PTR_TO_VOFFSET): Move from here ...
* cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
(METHOD_PTR_TO_VOFFSET): ... to here.
* cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
* Makefile.in: Update dependencies.

19 years ago*** empty log message ***
gdbadmin [Wed, 9 Feb 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 23:43:59 +0000 (23:43 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* exceptions.c: Do not include <setjmp.h>.
(SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
(catch_exception, catch_exceptions_with_msg, catch_errors)
(catch_command_errors): Use TRY_CATCH.
(struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
(exceptions_state_mc_init): Rename catcher_init.
(exceptions_state_mc): Rename catcher_state_machine.
(exceptions_state_mc_action_iter)
(exceptions_state_mc_action_iter_1): New functions.
* exceptions.h: Include <setjmp.h>.
(EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
(EXCEPTIONS_SIGLONGJMP): Define.
(exceptions_state_mc_init, exceptions_state_mc_action_iter)
(exceptions_state_mc_action_iter_1): Declare.
(TRY_CATCH): Define.

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

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 22:37:34 +0000 (22:37 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Delete reference to dejagnu/ and mmalloc/ from the
gdb/ section.  Update GDB's URL.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 22:31:47 +0000 (22:31 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
no longer needed.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 21:00:12 +0000 (21:00 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
PT_FPSCR breakage.

19 years ago * times.cc (timeval_to_filetime): Define first parameter const.
corinna [Tue, 8 Feb 2005 20:59:40 +0000 (20:59 +0000)]
* times.cc (timeval_to_filetime): Define first parameter const.
(utimes): Define second parameter to const according to SUSv3.
(utime): Ditto.
* include/sys/utime.h (utime) : Change declaration accordingly.

19 years ago * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
corinna [Tue, 8 Feb 2005 20:55:18 +0000 (20:55 +0000)]
* libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
members to uid_t and gid_t according to SUSv3.
* libc/include/sys/time.h (utimes):  Change second parameter
to const according to SUSv3.

19 years ago * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
rsandifo [Tue, 8 Feb 2005 19:54:26 +0000 (19:54 +0000)]
* configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
to include o32 and n64 emulations.
(mips64*-*-linux-gnu*): Likewise.

19 years ago2005-02-08 Antony King <antony.king@st.com>
jjohnstn [Tue, 8 Feb 2005 19:38:46 +0000 (19:38 +0000)]
2005-02-08  Antony King  <antony.king@st.com>

        * arm/syscalls.c: Change CHECK_INIT to pass reentrant struct
        instead of file pointer.

19 years ago * td_thr_tls_get_addr_p): New static global.
kevinb [Tue, 8 Feb 2005 18:29:04 +0000 (18:29 +0000)]
* td_thr_tls_get_addr_p): New static global.
(thread_db_dlopen): Initialize ``td_thr_tls_get_addr_p''.
(thread_db_get_gen): Add support for qGetTLSAddr packet.

19 years ago * cygthread.cc (cygthread::detach): Just test thread handle after
corinna [Tue, 8 Feb 2005 16:56:01 +0000 (16:56 +0000)]
* cygthread.cc (cygthread::detach): Just test thread handle after
signal arrived, don't wait infinitely for it.

19 years ago* pipe.cc (fhandler_pipe::read): Remove hold over from old read_state
cgf [Tue, 8 Feb 2005 16:19:56 +0000 (16:19 +0000)]
* pipe.cc (fhandler_pipe::read): Remove hold over from old read_state
implementation.

19 years ago * thread-db.c (thread_db_get_thread_reg): Don't allow a successful
kevinb [Tue, 8 Feb 2005 16:05:31 +0000 (16:05 +0000)]
* thread-db.c (thread_db_get_thread_reg): Don't allow a successful
return without first initializing ``reg''.
(thread_db_set_thread_reg): Remove code intended to for
thread_db_get_thread_reg().

19 years ago2005-02-08 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 8 Feb 2005 13:33:55 +0000 (13:33 +0000)]
2005-02-08  Paul Brook  <paul@codesourcery.com>

* elflink.c (elf_link_input_bfd): Ignore symbols from null input
sections.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 05:41:07 +0000 (05:41 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* value.c (struct value): Move to here ...
* value.h (struct value): ... from here.  Copy comments to
corresponding function declarations, re-order.

19 years agoRegenerate Makefile.in files generated by top-level configure
jimb [Tue, 8 Feb 2005 05:01:14 +0000 (05:01 +0000)]
Regenerate Makefile.in files generated by top-level configure
script using Automake 1.9.3.
* lib/Makefile.am: Don't write out rules for both '.a' and '.la'
versions of the library.  Libtool generates a '.a' library
automatically.
* Makefile.in, lib/Makefile.in, qe/Makefile.in,
samples/Makefile.in: Regenerated.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 04:57:00 +0000 (04:57 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.c (set_value_bitpos, set_value_bitsize): Define.
* value.h (set_value_bitpos, set_value_bitsize): Declare.
* ada-lang.c, valarith.c: Update.

19 years agocgen/ChangeLog:
jimb [Tue, 8 Feb 2005 04:52:23 +0000 (04:52 +0000)]
cgen/ChangeLog:
2005-02-07  Jim Blandy  <jimb@redhat.com>

* cgen-opc.scm: Don't load fixup.scm here.  (See corresponding
changes in the opcodes directory.)

opcodes/ChangeLog:
2005-02-07  Jim Blandy  <jimb@redhat.com>

* Makefile.am (CGEN): Load guile.scm before calling the main
application script.
* Makefile.in: Regenerated.
* cgen.sh: Be prepared for the 'cgen' argument to contain spaces.
Simply pass the cgen-opc.scm path to ${cgen} as its first
argument; ${cgen} itself now contains the '-s', or whatever is
appropriate for the Scheme being used.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 04:15:36 +0000 (04:15 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
value_contents_writeable, include note that there are problems.
* breakpoint.c, infcall.c: Use VALUE_LVAL.

19 years ago * ldmain.c (warning_callback, warning_find_reloc): Prepend
hp [Tue, 8 Feb 2005 03:51:32 +0000 (03:51 +0000)]
* ldmain.c (warning_callback, warning_find_reloc): Prepend
"warning: " to warning messages.

19 years ago * elflink.c (elf_link_add_object_symbols): Don't add "warning: "
hp [Tue, 8 Feb 2005 03:50:07 +0000 (03:50 +0000)]
* elflink.c (elf_link_add_object_symbols): Don't add "warning: "
prefix here.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 02:29:16 +0000 (02:29 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (set_value_offset): Declare.
* value.c (set_value_offset): Declare.
* gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
* findvar.c: Update.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 01:59:37 +0000 (01:59 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (value_next): Declare.
* value.c (value_next): Define.
* breakpoint.c: Update.

19 years ago2005-02-07 Antony King <antony.king@st.com>
jjohnstn [Tue, 8 Feb 2005 01:33:15 +0000 (01:33 +0000)]
2005-02-07  Antony King  <antony.king@st.com>

        * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
        called before _flockfile to prevent lock object use before
        initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
        take a struct _reent * instead of a FILE *.
        * libc/stdio/fclose.c (_fclose_r): Ditto.
        * libc/stdio/feof.c (feof): Ditto.
        * libc/stdio/ferror.c (ferror): Ditto.
        * libc/stdio/fflush.c (fflush): Ditto.
        * libc/stdio/fgetc.c (fgetc): Ditto.
        * libc/stdio/fgets.c (fgets): Ditto.
        * libc/stdio/fileno.c (fileno): Ditto.
        * libc/stdio/fputc.c (fputc): Ditto.
        * libc/stdio/fputs.c (fputs): Ditto.
        * libc/stdio/fread.c (fread): Ditto.
        * libc/stdio/freopen.c (_freopen_r): Ditto.
        * libc/stdio/fseek.c (_fseek_r): Ditto.
        * libc/stdio/ftell.c (_ftell_r): Ditto.
        * libc/stdio/fwrite.c (fwrite): Ditto.
        * libc/stdio/getc.c (getc): Ditto.
        * libc/stdio/getdelim.c (__getdelim): Ditto.
        * libc/stdio/putc.c (putc): Ditto.
        * libc/stdio/setvbuf.c (setvbuf): Ditto.
        * libc/stdio/ungetc.c (_ungetc_r): Ditto.
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
        * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
        * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
        _reent * instead of a FILE * and so replace incorrect use of
        _REENT with argument.
        * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
        * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
        CHECK_INIT() take a struct _reent * instead of a FILE *.
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
        * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
        * libc/stdio/perror.c (perror): Ditto.
        * libc/stdio/printf.c (printf, _printf_r): Ditto.
        * libc/stdio/putchar.c (putchar): Ditto.
        * libc/stdio/puts.c (puts): Ditto.
        * libc/stdio/refill.c (__srefill): Ditto.
        * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
        * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
        * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
        * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
        * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
        * libc/stdio/wbuf.c (__swbuf): Ditto.
        * libc/stdio/wsetup.c (__swsetup): Ditto.
        * libc/stdlib/mallocr.c (malloc_stats): Ditto.
        * libc/stdlib/mstats.c (_mstats_r): Ditto.
        * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
        * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
        * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
        to _flockfile and _funlockfile; rely on locking in _ftell_r.
        * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
        * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
        initialision of _data field in FILE structure.
        * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.

19 years ago * generic/gdbtk-cmds.c (gdb_eval): VALUE_EMBEDDED_OFFSET and
kseitz [Tue, 8 Feb 2005 01:13:27 +0000 (01:13 +0000)]
    * generic/gdbtk-cmds.c (gdb_eval): VALUE_EMBEDDED_OFFSET and
        VALUE_CONTENTS are now functions.

19 years ago2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 8 Feb 2005 01:05:49 +0000 (01:05 +0000)]
2005-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/findfp.c (__sinit): Protect with new lock.
        (__sinit_lock): New lock.
        (__sinit_lock_acquire, __sinit_lock_release): New functions.
        * libc/stdio/local.h: Add reference to new __sinit locking
        functions.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 8 Feb 2005 00:25:28 +0000 (00:25 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (deprecated_set_value_modifiable)
(deprecated_value_modifiable): Declare.
* value.c (deprecated_set_value_modifiable): Define.
(deprecated_value_modifiable): Define.
* ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.

19 years ago*** empty log message ***
gdbadmin [Tue, 8 Feb 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 23:51:01 +0000 (23:51 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (deprecated_set_value_type): Declare.
* value.c (deprecated_set_value_type): Define.
* hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
* c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
* infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
* ax-gdb.c, tracepoint.c: Update.

19 years agodaily update
amodra [Mon, 7 Feb 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years agoFix typo _hack_hack -> _hack.
cagney [Mon, 7 Feb 2005 21:49:36 +0000 (21:49 +0000)]
Fix typo _hack_hack -> _hack.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 21:42:33 +0000 (21:42 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (deprecated_value_lval_hack)
(deprecated_value_address_hack)
(deprecated_value_internalvar_hack_hack)
(deprecated_value_regnum_hack): Declare.
(VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
(VALUE_FRAME_ID, VALUE_REGNUM): Use.
* value.c (deprecated_value_lval_hack)
(deprecated_value_address_hack)
(deprecated_value_internalvar_hack_hack)
(deprecated_value_regnum_hack): Define.

19 years ago2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 7 Feb 2005 21:04:21 +0000 (21:04 +0000)]
2005-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (isfinite, isnormal, isunordered): Change
        input variable names to avoid mixups with nesting macros.

19 years ago2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Mon, 7 Feb 2005 20:40:31 +0000 (20:40 +0000)]
2005-02-07  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winioctl.h (IOCTL_VOLUME_BASE,
IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS, IOCTL_VOLUME_IS_CLUSTERED):
Copy defines from include/ddk/ntdddvol.h.
Bug reported to Debian by Anand Kumria  <wildfire at progsoc dot org>

19 years ago2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Mon, 7 Feb 2005 20:18:07 +0000 (20:18 +0000)]
2005-02-07  Danny Smith  <dannysmith@users.sourceforge.net>

* include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
* include/wchar.h (struct stat): Likwwise.
Bug reported to Debian by Anand Kumria  <wildfire@progsoc.org>

* include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 20:17:26 +0000 (20:17 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_POINTED_TO_OFFSET): Delete.
(set_value_pointed_to_offset, value_pointed_to_offset): Declare.
* value.c (set_value_pointed_to_offset): Define
(value_pointed_to_offset): Define.
* valops.c: Update.

19 years agocgen/ChangeLog:
jimb [Mon, 7 Feb 2005 18:51:31 +0000 (18:51 +0000)]
cgen/ChangeLog:
2005-02-07  Jim Blandy  <jimb@redhat.com>

* guile.scm: New file, containing Guile-specific definitions and
adaptations.  This is loaded by the app-specific shell scripts.
Initially identical to fixup.scm.
* cgen-sid.scm: Don't load fixup.scm here.

sid/component/cgen-cpu/ChangeLog:
2005-02-02  Jim Blandy  <jimb@redhat.com>

* CGEN.sh.in: Request on the command line that cgen/guile.scm be
loaded before cgen-sid.scm; cgen-sid.scm no longer loads fixup.scm.

19 years ago* cos.scm: Profile elm-xset! when requested, not elm-set!; the
jimb [Mon, 7 Feb 2005 18:36:44 +0000 (18:36 +0000)]
* cos.scm: Profile elm-xset! when requested, not elm-set!; the
latter is a macro.

19 years ago * as.h (seg_not_empty_p): Return int, not bfd_boolean.
nathan [Mon, 7 Feb 2005 17:53:25 +0000 (17:53 +0000)]
* as.h (seg_not_empty_p): Return int, not bfd_boolean.
* subsegs.c (seg_not_empty_p): Likewise.

19 years agoOops, fix previous, ChangeLog. Missing set_value_embedded_offset.
cagney [Mon, 7 Feb 2005 17:08:54 +0000 (17:08 +0000)]
Oops, fix previous, ChangeLog. Missing set_value_embedded_offset.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 17:06:28 +0000 (17:06 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (value_embedded_offset): Delete.
(value_embedded_offset): Declare.
* value.c (value_embedded_offset): Define.
* valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
* gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
* cp-abi.h: Update.

19 years agoAdd Inderpreet Singh as maintainer of MAXQ.
nickc [Mon, 7 Feb 2005 16:05:10 +0000 (16:05 +0000)]
Add Inderpreet Singh as maintainer of MAXQ.

19 years agoCorrect the relative jump calculation.
nickc [Mon, 7 Feb 2005 16:00:05 +0000 (16:00 +0000)]
Correct the relative jump calculation.

19 years ago* elf64-mips.c: Fix formatting throughout.
macro [Mon, 7 Feb 2005 15:50:15 +0000 (15:50 +0000)]
* elf64-mips.c: Fix formatting throughout.

19 years ago* net.cc (cygwin_gethostbyname): Be more picky about what's a numeric address
cgf [Mon, 7 Feb 2005 15:27:39 +0000 (15:27 +0000)]
* net.cc (cygwin_gethostbyname): Be more picky about what's a numeric address
string, and use tls in that case too.

19 years ago* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.
macro [Mon, 7 Feb 2005 15:18:02 +0000 (15:18 +0000)]
* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 15:04:37 +0000 (15:04 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_LAZY): Delete
(set_value_lazy): Declare.
* value.c (set_value_lazy): Define.
* valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
* gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.

19 years agobfd/ChangeLog:
aoliva [Mon, 7 Feb 2005 07:59:33 +0000 (07:59 +0000)]
bfd/ChangeLog:
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for
*ABS*/*UND* sections.
(elf32_frv_relocate_section): Move zero-addend-required error...
(_frv_emit_got_relocs_plt_entries): ... here.  Report error for
missing needed TLS section.
ld/testsuite/ChangeLog:
* ld-frv/fdpic-shared-8-fail.d: Tweak error messages.

19 years ago*** empty log message ***
gdbadmin [Mon, 7 Feb 2005 07:00:05 +0000 (07:00 +0000)]
*** empty log message ***

19 years ago* exceptions.cc: Make windows_system_directory non-static.
cgf [Mon, 7 Feb 2005 05:28:48 +0000 (05:28 +0000)]
* exceptions.cc: Make windows_system_directory non-static.
* pinfo.cc (pinfo::exit): Change innocuous cd'ed location to one that is more
likely to exist.

19 years ago2005-02-06 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 04:50:22 +0000 (04:50 +0000)]
2005-02-06  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_OPTIMIZED_OUT): Delete.
(value_optimized_out, set_value_optimized_out): Declare.
* value.c (set_value_optimized_out, value_optimized_out): Define.
* valprint.c, findvar.c, dwarf2loc.c: Update.

19 years ago * ld-cris/libdso-13.d: Adjust for being identified as warning.
hp [Mon, 7 Feb 2005 03:41:26 +0000 (03:41 +0000)]
* ld-cris/libdso-13.d: Adjust for being identified as warning.

19 years ago * ld-cris/globsymw2.s: New file.
hp [Mon, 7 Feb 2005 03:16:42 +0000 (03:16 +0000)]
* ld-cris/globsymw2.s: New file.
* ld-cris/warn3.d, ld-cris/warn4.d: New tests.

19 years ago * write.c (write_object_file): Recognize warning-symbol construct
hp [Mon, 7 Feb 2005 03:13:09 +0000 (03:13 +0000)]
* write.c (write_object_file): Recognize warning-symbol construct
and skip object- and target- handling for the second symbol.

19 years ago * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
hp [Mon, 7 Feb 2005 03:09:10 +0000 (03:09 +0000)]
* ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
Adjust for being identified as warnings.

19 years ago * ld-cris/stabs1.s: New file.
hp [Mon, 7 Feb 2005 03:00:55 +0000 (03:00 +0000)]
* ld-cris/stabs1.s: New file.
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.

19 years ago * aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
hp [Mon, 7 Feb 2005 02:58:27 +0000 (02:58 +0000)]
* aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
symbol was last.

19 years ago * ld-cris/stabs1.s: New file.
hp [Mon, 7 Feb 2005 02:53:31 +0000 (02:53 +0000)]
* ld-cris/stabs1.s: New file.
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.

19 years ago * aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
hp [Mon, 7 Feb 2005 02:51:28 +0000 (02:51 +0000)]
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
being the last symbol.

19 years ago * ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,
hp [Mon, 7 Feb 2005 02:46:15 +0000 (02:46 +0000)]
* ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,
ld-elf/warn1.d: New test.

19 years ago* elf32-mips.c (mips_elf_gprel32_reloc): Reject
macro [Mon, 7 Feb 2005 02:44:59 +0000 (02:44 +0000)]
* elf32-mips.c (mips_elf_gprel32_reloc): Reject
R_MIPS_GPREL32 relocations against external symbols.
* elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect
comment.

19 years ago* gdb.base/interp.exp: Remove trailing n in gdb_test commands.
kettenis [Mon, 7 Feb 2005 02:39:45 +0000 (02:39 +0000)]
* gdb.base/interp.exp: Remove trailing n in gdb_test commands.

19 years ago * lib/ld-lib.exp: Support new directive "warning".
hp [Mon, 7 Feb 2005 02:38:42 +0000 (02:38 +0000)]
* lib/ld-lib.exp: Support new directive "warning".

19 years ago * lib/gas-defs.exp: Support new directive "warning".
hp [Mon, 7 Feb 2005 02:29:10 +0000 (02:29 +0000)]
* lib/gas-defs.exp: Support new directive "warning".

19 years ago2005-02-06 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 7 Feb 2005 00:09:50 +0000 (00:09 +0000)]
2005-02-06  Andrew Cagney  <cagney@gnu.org>

* value.c (value_contents, value_contents_writeable): New
functions.
* value.h (VALUE_CONTENTS): Delete macro.
(value_contents, value_contents_writeable): Declare.
* xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
* stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
* sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
* rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
* ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
* m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
* jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
* hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
* c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
* cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
* arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
* ada-valprint.c, ada-lang.c: Update.

19 years ago * elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
amodra [Sun, 6 Feb 2005 23:21:44 +0000 (23:21 +0000)]
* elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
* elf.c (bfd_elf_string_from_elf_section): Expand occurrence of
elf_string_from_elf_strtab.
(_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise.
(bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too
if it exists.  Don't do the reverse for SHT_SYMTAB_SHNDX.  For
SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by
looking at cached symtab info first, before iterating over headers.
For SHT_REL and SHT_RELA, load dynsymtab if needed.
* elfcode.h (elf_object_p): Don't load section header stringtab

19 years agodaily update
amodra [Sun, 6 Feb 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 6 Feb 2005 18:11:28 +0000 (18:11 +0000)]
2005-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF
against protected function when building shared library.

PR 584
* elf64-x86-64.c (is_32bit_relative_branch): New.
(elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a
protected function symbol when building shared library for
32bit relative branch instruction.

19 years ago2005-02-03 Andrew Cagney <cagney@gnu.org>
cagney [Sun, 6 Feb 2005 16:22:13 +0000 (16:22 +0000)]
2005-02-03  Andrew Cagney  <cagney@gnu.org>

* utils.c (xzalloc): New function.
* defs.h (XZALLOC): Use xzalloc.
(xzalloc): Declare.
* value.c (allocate_value): Allocate a zeroed buffer.
* mdebugread.c (xzalloc): Delete.

19 years ago * path.cc (path_conv::check): Leave symlink expansion loop in case
corinna [Sun, 6 Feb 2005 11:15:24 +0000 (11:15 +0000)]
* path.cc (path_conv::check): Leave symlink expansion loop in case
a not-ENOENT error happens.

* cygheap.h (cygheap_fdmanip::fhandler_pipe *): New cast operator.
* pinfo.cc (_pinfo::commune_recv): Add PICOM_PIPE_FHANDLER handling.
(_pinfo::commune_send): Ditto.
(_pinfo::pipe_fhandler): New method.
* pinfo.h (enum picom): Add PICOM_PIPE_FHANDLER.
(_pinfo::pipe_fhandler): Declare.
* pipe.cc (fhandler_pipe::open): Rewrite.  Allow to open foreign
pipe handles.

19 years ago * elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
amodra [Sun, 6 Feb 2005 10:29:39 +0000 (10:29 +0000)]
* elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
syms when doing a relocatable link.
(ppc64_elf_gc_mark_hook): Check that syms are defined before looking
at u.def.section.
(ppc64_elf_tls_setup): Likewise.
(ppc64_elf_edit_opd): Don't use an undefined func desc sym.

19 years ago* cygthread.h (cygthread::terminate_thread): Reflect return value.
cgf [Sun, 6 Feb 2005 05:04:32 +0000 (05:04 +0000)]
* cygthread.h (cygthread::terminate_thread): Reflect return value.
* cygthread.cc (cygthread::detach): Be more careful about ensuring that sigwait
is properly waited for to avoid later missynchronization.
(cygthread::terminate_thread): Return true if thread was actually terminated
and all handles were closed.
* fhandler_base.cc (fhandler_base::raw_read): Use signal_read_state rather than
raw calls to win32 api.
(fhandler_base::read): Ditto.
* fhandler.h (fhandler_pipe::fixup_after_exec): Use method to create read_state
signalling.
(fhandler_pipe::create): Ditto.
* Makefile.in: Make some more files -fomit-frame-pointer.

19 years ago * gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.
kevinb [Thu, 3 Feb 2005 16:11:37 +0000 (16:11 +0000)]
* gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.

19 years ago * elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
amodra [Thu, 3 Feb 2005 14:48:46 +0000 (14:48 +0000)]
* elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
(link_hash_newfunc): Clear all locals using memset.
(make_fdh): Remove flags param.  Always create fake func desc
weak.  Link the descriptor with the code entry sym.
(ppc64_elf_archive_symbol_lookup): Don't return fake syms.
(add_symbol_adjust): Adjust make_fdh call.
(func_desc_adjust): Likewise.  Twiddle any pre-existing fake
descriptor to strong undefined if code entry is strong.

19 years agobfd/
amodra [Thu, 3 Feb 2005 14:12:49 +0000 (14:12 +0000)]
bfd/
* elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol
lookup here.  Set to new before calling bfd_link_repair_undef_list.
(elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd.
ld/
emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
look up symbol for etree_provide here.

19 years agobfd/
amodra [Thu, 3 Feb 2005 14:12:40 +0000 (14:12 +0000)]
bfd/
* elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol
lookup here.  Set to new before calling bfd_link_repair_undef_list.
(elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd.
ld/
emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
look up symbol for etree_provide here.

19 years ago * linker.c (_bfd_link_hash_newfunc): Set all local fields.
amodra [Thu, 3 Feb 2005 13:54:22 +0000 (13:54 +0000)]
* linker.c (_bfd_link_hash_newfunc): Set all local fields.

19 years ago * gdb.ada/gnat_ada.gpr: New file.
brobecke [Thu, 3 Feb 2005 03:58:50 +0000 (03:58 +0000)]
    * gdb.ada/gnat_ada.gpr: New file.
        * gdb.ada/gnat_ada.gin: Delete, no longer used.
        * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
        * configure.ac: No longer generate gnat_ada.gpr.
        * configure: Regenerate.
        * gdb.ada/Makefile.in: Minor adaptations due to new project file.
        * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
        * gdb.ada/null_record/bar.ads: Likewise.
        * gdb.ada/null_record/bar.adb: Likewise.
        * gdb.ada/fixed_points/fixed_points.adb: Likewise.
        * gdb.ada/null_record.exp (testdir): New variable.
        (testfile): executable is now in testdir subdirectory.
        (srcfile): Use full path to the main compilation unit.
        * gdb.ada/fixed_points.exp: Same changes as above.

19 years agoinclude/
amodra [Thu, 3 Feb 2005 03:30:37 +0000 (03:30 +0000)]
include/
* bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak.
* elflink.c (elf_smash_syms): Restore symbols that were undefweak
before the as-needed lib was loaded.  Abort on unexpected refs.

19 years ago*** empty log message ***
gdbadmin [Thu, 3 Feb 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 2 Feb 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago * fhandler.h (fhandler_base::ftruncate): Define new virtual method.
corinna [Wed, 2 Feb 2005 22:42:04 +0000 (22:42 +0000)]
* fhandler.h (fhandler_base::ftruncate): Define new virtual method.
(fhandler_disk_file::ftruncate): Ditto.
* fhandler.cc (fhandler_base::ftruncate): New method.
* fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Ditto.
* syscalls.cc (ftruncate64): Move functionality into fhandlers.
Call fhandler method from here.

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 2 Feb 2005 22:34:30 +0000 (22:34 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.h (value_lazy): Declare.
* varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
* cp-valprint.c, breakpoint.c, ada-lang.c: Update.