OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago * getfacl.c (username): Fix ambiguous printf calls.
corinna [Sun, 9 Mar 2003 19:04:23 +0000 (19:04 +0000)]
* getfacl.c (username): Fix ambiguous printf calls.
(groupname): Ditto.
(main): Ditto.

21 years ago* configure.in (gxx_include_dir): Fix typo.
dj [Sun, 9 Mar 2003 18:43:06 +0000 (18:43 +0000)]
* configure.in (gxx_include_dir): Fix typo.
* configure: Regenerated.

21 years ago* syscalls.cc (unlink): Attempt to be more clever about setting attributes of
cgf [Sun, 9 Mar 2003 18:10:42 +0000 (18:10 +0000)]
* syscalls.cc (unlink): Attempt to be more clever about setting attributes of
file.  Only open file in query mode to avoid having to mess with security stuff
for reading.

21 years ago * winsup.api/ltp/fork10.c (main): Remove non-portable declaration
corinna [Sun, 9 Mar 2003 17:53:06 +0000 (17:53 +0000)]
* winsup.api/ltp/fork10.c (main): Remove non-portable declaration
of lseek.

21 years ago * rmsym: Fix regular expression.
corinna [Sun, 9 Mar 2003 17:13:46 +0000 (17:13 +0000)]
* rmsym: Fix regular expression.

21 years ago* Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-tree
cgf [Sun, 9 Mar 2003 17:03:05 +0000 (17:03 +0000)]
* Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-tree
version of library or dll.
* config/default.exp: Ditto.
* winsup.api/winsup.exp: Ditto.

21 years ago* Makefile.in: Change from using new-* to cygwin0 for temporary targets.
cgf [Sun, 9 Mar 2003 17:01:40 +0000 (17:01 +0000)]
* Makefile.in: Change from using new-* to cygwin0 for temporary targets.

21 years ago * config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
ths [Sun, 9 Mar 2003 16:16:31 +0000 (16:16 +0000)]
* config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
(s_mips_ent): Likewise.

21 years ago * include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value.
corinna [Sun, 9 Mar 2003 16:05:54 +0000 (16:05 +0000)]
* include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value.

21 years ago* syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE to
cgf [Sun, 9 Mar 2003 00:10:29 +0000 (00:10 +0000)]
* syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE to
delete files since this allows us to preserve the protection of hard linked
files.
(link): Generate full path for potentially recalculated .lnk target.

21 years ago*** empty log message ***
gdbadmin [Sun, 9 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 8 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago* gdbarch.sh (save_dummy_frame_tos): Add comment.
kettenis [Sat, 8 Mar 2003 22:16:44 +0000 (22:16 +0000)]
* gdbarch.sh (save_dummy_frame_tos): Add comment.

21 years agoIndex: ChangeLog
cagney [Sat, 8 Mar 2003 20:04:27 +0000 (20:04 +0000)]
Index: ChangeLog
2003-03-08  Andrew Cagney  <cagney@redhat.com>

* cli-out.c: Update copyright.
(cli_out_data): Define typedef.  Use instead of ui_out_data.

Index: mi/ChangeLog
2003-03-08  Andrew Cagney  <cagney@redhat.com>

* mi-out.c: Update copyright.
(mi_out_data): Define typedef.  Use instead of ui_out_data.

Index: tui/ChangeLog
2003-03-08  Andrew Cagney  <cagney@redhat.com>

* tui-out.c: Update copyright.
(tui_out_data): Define typedef.  Use instead of ui_out_data.

21 years ago2003-03-08 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 8 Mar 2003 19:27:12 +0000 (19:27 +0000)]
2003-03-08  Andrew Cagney  <cagney@redhat.com>

* valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
the result.

21 years agomissed in last checkin
cgf [Sat, 8 Mar 2003 19:22:08 +0000 (19:22 +0000)]
missed in last checkin

21 years agoRevert below changes regarding _pinfo::cmdline.
cgf [Sat, 8 Mar 2003 17:56:13 +0000 (17:56 +0000)]
Revert below changes regarding _pinfo::cmdline.

21 years ago * external.cc (cygwin_internal): Change n to __off64_t to match change
corinna [Sat, 8 Mar 2003 16:44:24 +0000 (16:44 +0000)]
* external.cc (cygwin_internal): Change n to __off64_t to match change
of _pinfo::cmdline.
* fhandler.h (class fhandler_virtual): Change filesize member to
__off64_t.
* fhandler_proc.cc (format_proc_meminfo): Change to return __off64_t.
(format_proc_stat): Ditto.
(format_proc_uptime): Ditto.
* fhandler_process.cc (format_process_stat): Ditto.
(format_process_status): Ditto.
(format_process_statm): Ditto.
* pinfo.cc (_pinfo::cmdline): Expect __off64_t parameter.
* pinfo.h (class _pinfo): Change declaration of cmdline accordingly.

21 years ago* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
cgf [Sat, 8 Mar 2003 04:57:41 +0000 (04:57 +0000)]
* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
getopt and avoid getopt_long declaration.
* libc/sys/cygwin/include/unistd.h: Remove.

21 years ago* path.h (PATH_LNK): New enum val.
cgf [Sat, 8 Mar 2003 03:36:39 +0000 (03:36 +0000)]
* path.h (PATH_LNK): New enum val.
(path_conv::is_lnk_symlink): New function.  True if path represents .lnk style
symlink.
* path.cc (check_shortcut): Set PATH_LNK in pflags when appropriate.
(symlink_info::check): Ditto.  Remove PATH_LNK from pflags initially.
* syscalls.cc (unlink): Always remove readonly attribute from a symlink
regardless of type.
(link): (from Corinna Vinschen) Allow links to symlinks.  Reset attributes on a
symlink after successful link creation.
(chmod): Use is_lnk_symlink where appropriate.
(rename): Ditto.
* tty.cc (create_tty_master): Call GetComputerName instead of
cygwin_gethostname.  Set ut_id.
* syscalls.cc (login): Call endutent.
(setutent): Do not seek after a fresh open.

21 years ago* configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after apparent
cgf [Sat, 8 Mar 2003 03:35:47 +0000 (03:35 +0000)]
* configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after apparent
accidental removal on 2003-01-06.

21 years ago*** empty log message ***
gdbadmin [Sat, 8 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-03-07 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 7 Mar 2003 23:43:26 +0000 (23:43 +0000)]
2003-03-07  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Debugging Output): Mention the "set/show debug
frame" command.

21 years ago2003-03-07 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 7 Mar 2003 23:34:14 +0000 (23:34 +0000)]
2003-03-07  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: Don't generate two macro definitions when an
undefined macro taking no arguments.
* gdbarch.h: Regenerate.

21 years agoRemove directory.
hunt [Fri, 7 Mar 2003 23:09:19 +0000 (23:09 +0000)]
Remove directory.

21 years agodaily update
amodra [Fri, 7 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago * configure.host: Define stdio64_dir for Cygwin.
corinna [Fri, 7 Mar 2003 20:41:49 +0000 (20:41 +0000)]
* configure.host: Define stdio64_dir for Cygwin.
* libc/include/stdio.h: Change definition of fpos_t to fulfill
Cygwin 64bit file access requirements.
Drop definition of f*64() functions when compiled for Cygwin.
* libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
* libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
* libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.

21 years ago * syscalls.cc (seteuid32): Fix formatting.
corinna [Fri, 7 Mar 2003 16:35:55 +0000 (16:35 +0000)]
* syscalls.cc (seteuid32): Fix formatting.

21 years ago * winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
corinna [Fri, 7 Mar 2003 15:59:58 +0000 (15:59 +0000)]
* winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
from list of known bugs.

21 years ago2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 7 Mar 2003 15:56:49 +0000 (15:56 +0000)]
2003-03-07   Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h: Remove extraneous _sig_func
        declaration.

21 years ago2002-03-07 Michal Ludvig <mludvig@suse.cz>
mludvig [Fri, 7 Mar 2003 15:07:50 +0000 (15:07 +0000)]
2002-03-07  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_save_dummy_frame_tos)
(x86_64_unwind_dummy_id): New functions.
(x86_64_init_abi): Register these two new functions.

21 years ago2003-03-07 Michal Ludvig <mludvig@suse.cz>
mludvig [Fri, 7 Mar 2003 10:43:00 +0000 (10:43 +0000)]
2003-03-07  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_function_has_prologue): New function.
(x86_64_skip_prologue): Move prologue detection to
separate function.
* x86-64-tdep.h (x86_64_function_has_prologue): New prototype.

21 years ago * elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop after
amodra [Fri, 7 Mar 2003 01:09:01 +0000 (01:09 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop after
a tls_get_addr call.

21 years ago2003-03-06 Christopher January <chris@atomice.net>
dannysmith [Fri, 7 Mar 2003 00:51:18 +0000 (00:51 +0000)]
2003-03-06  Christopher January  <chris@atomice.net>

* include/winbase.h (FindFirstVolume): Add declaration.
(FindNextVolume): Add declaration.
(FindVolumeClose): Add declaration.
(GetSystemTimes): Add declaration.
* include/winnt.h: Add define for PF_XMMI64_INSTRUCTIONS_AVAILABLE.

2003-03-06  Danny Smith  <dannysmith@users.sourceforge.net>

*lib/kernel32.def (GetSystemTimes): Add stub.

21 years ago*** empty log message ***
gdbadmin [Fri, 7 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
amodra [Thu, 6 Mar 2003 23:26:20 +0000 (23:26 +0000)]
* elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
(ppc_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
(ppc64_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf32-i386.c (ELIMINATE_COPY_RELOCS): Define as one.  Use throughout.
(elf_i386_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.

21 years agodaily update
amodra [Thu, 6 Mar 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2003-03-06 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 6 Mar 2003 21:58:41 +0000 (21:58 +0000)]
2003-03-06  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-interp.c (gdbtk_interpreter_init): Remove
unused variable.

* generic/gdbtk-cmds.c (gdb_update_mem): Remove unused variable.
(gdbtk_print_source): Deleted.
(gdbtk_print_asm): Deleted.

21 years ago2003-03-06 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 6 Mar 2003 21:45:39 +0000 (21:45 +0000)]
2003-03-06  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-bp.c (gdb_get_tracepoint_info): Return CORE_ADDR.

21 years ago2003-03-06 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 6 Mar 2003 21:28:33 +0000 (21:28 +0000)]
2003-03-06  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-cmds.c (gdb_disassemble): Deleted.
(sprintf_append_element_to_obj): Deleted.

* generic/gdbtk-bp.c (get_breakpoint_commands): Use
Tcl_ListObjAppendElement() instead of
sprintf_append_element_to_obj().

21 years ago2003-03-06 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 6 Mar 2003 20:49:59 +0000 (20:49 +0000)]
2003-03-06  Andrew Cagney  <cagney@redhat.com>

* texinfo/texinfo.tex: Import version 2003-02-03.16.

21 years agoRemove redundant defintions of BYTES_IN_WORD and add conditional defintion in
nickc [Thu, 6 Mar 2003 16:45:42 +0000 (16:45 +0000)]
Remove redundant defintions of BYTES_IN_WORD and add conditional defintion in
aout64.h.

21 years ago2003-03-06 Jakub Jelinek <jakub@redhat.com>
aph [Thu, 6 Mar 2003 15:47:23 +0000 (15:47 +0000)]
2003-03-06  Jakub Jelinek <jakub@redhat.com>
        Andrew Haley  <aph@redhat.com>

        * elflink.h (elf_bfd_discard_info): Don't process eh frames if
        output is relocateable.

21 years ago(som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.
nickc [Thu, 6 Mar 2003 12:29:04 +0000 (12:29 +0000)]
(som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.

21 years ago * elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize
amodra [Thu, 6 Mar 2003 11:32:43 +0000 (11:32 +0000)]
* elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize
error messages.
(ELIMINATE_COPY_RELOCS): Define to zero.
(ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating
TLSLD relocs.  Report reloc types on a number of errors.  Optimize
LOCAL24PC check for non-local syms.  Don't capitalize error messages.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero.
(ppc64_elf_relocate_section): Don't deref htab->tls_sec when
calculating TLSLD relocs.  Report reloc types on a number of errors.
Don't capitalize error messages.

21 years ago2003-03-05 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 6 Mar 2003 04:34:51 +0000 (04:34 +0000)]
2003-03-05  Martin M. Hunt  <hunt@redhat.com>

* library/srctextwin.itb (SrcTextWin::FillAssembly):
Remove unused variables asm_lo_addr and asm_hi_addr.
(FillMixed): Ditto.

21 years ago* lib/remote.exp (standard_download, standard_upload): Support
aoliva [Thu, 6 Mar 2003 03:50:23 +0000 (03:50 +0000)]
* lib/remote.exp (standard_download, standard_upload): Support
nfsdir and nfsroot_server.

21 years ago2003-03-05 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 6 Mar 2003 01:25:49 +0000 (01:25 +0000)]
2003-03-05  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-cmds.c (Gdbtk_Init): Create gdb_CA_to_TAS.
(gdb_load_disassembly): Now takes CORE_ADDRs. Returns CORE_ADDRs
for low and high.
(gdbtk_load_asm): Use CORE_ADDRs.
(gdb_loc): Return CORE_ADDRs.
(gdb_entry_point): Return CORE_ADDR.
(gdb_incr_addr): Update description.
(gdb_CA_to_TAS): New function. Takes a CORE_ADDR and returns
a target sddress string.

* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Change to
take a CORE_ADDR.
(gdb_get_breakpoint_info): Returns a CORE_ADDR.
(gdb_set_bp_addr): Takes a CORE_ADDR.

* library/bpwin.itb (bp_add): Call gdb_CA_to_TAS before
displaying address.
(bp_modify): Ditto.

* library/srcwin.itb (location): Call gdb_CA_to_TAS before
displaying address. Don't add "0x" in front of address.
(set_execution_status): Call gdb_CA_to_TAS before
displaying address. Don't call [gdb_cmd printf] to format
output. Weird.

21 years ago* xstormy16-sem.cxx: Regenerate.
dj [Thu, 6 Mar 2003 00:34:19 +0000 (00:34 +0000)]
* xstormy16-sem.cxx: Regenerate.

21 years ago* cpu/xstormy16.cpu (set-psw-add): Use temporaries to prevent
dj [Thu, 6 Mar 2003 00:34:06 +0000 (00:34 +0000)]
* cpu/xstormy16.cpu (set-psw-add): Use temporaries to prevent
prematurely overwriting needed inputs.
(set-psw-sub): Likewise.

21 years ago*** empty log message ***
gdbadmin [Thu, 6 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-03-05 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 5 Mar 2003 23:14:16 +0000 (23:14 +0000)]
2003-03-05  Andrew Cagney  <cagney@redhat.com>

* d10v-tdep.c (d10v_unwind_dummy_id): New function.
(d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
* frame.c (get_prev_frame): Restructure the frame ID unwind code
to use unwind_dummy_id when a dummy frame.
* gdbarch.sh (unwind_dummy_id): New multi-arch method with
predicate.
* gdbarch.h, gdbarch.c: Regneerate.

Index: doc/ChangeLog
2003-03-05  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Document
unwind_dummy_id.  Cross reference unwind_dummy_id and
SAVE_DUMMY_FRAME_TOS.

21 years agodaily update
amodra [Wed, 5 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2003-03-05 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 5 Mar 2003 22:54:22 +0000 (22:54 +0000)]
2003-03-05  Andrew Cagney  <cagney@redhat.com>

* d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
(d10v_frame_unwind_cache): Rewrite code computing the base and SP.
Do not use d10v_read_sp or d10v_read_fp when obtaining register
values.

21 years ago2003-03-05 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 5 Mar 2003 20:57:28 +0000 (20:57 +0000)]
2003-03-05  Andrew Cagney  <cagney@redhat.com>

* d10v-tdep.c (struct frame_extra_info): Delete unused structure.
(struct d10v_unwind_cache): Delete field "frameless".  Replace
"next_addr" with "sp_offset".  Add "r11_offset".
(d10v_frame_unwind_cache): Update.
(prologue_find_regs): Update.  When "mv r11, sp", save the
"sp_offset" in "r11_offset".  Recognize "st rn, @r11", note that
RN was saved in r11_offset.

21 years ago2003-03-05 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 5 Mar 2003 20:26:46 +0000 (20:26 +0000)]
2003-03-05  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_update_frame_pc_hack): Also update the the
cached PC value in the next frame.

21 years ago2003-03-05 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 5 Mar 2003 18:51:17 +0000 (18:51 +0000)]
2003-03-05  Andrew Cagney  <cagney@redhat.com>

* frame.h (struct frame_info): Replace "id_unwind_cache_p" and
"id_unwind_cache" with "id".
(frame_id_unwind): Delete declaration.
* frame.c (frame_id_unwind): Delete function.
(get_prev_frame): Call the frame id unwind method directly.  Store
the returned next frame's ID value in NEXT_FRAME.  Note that there
is a problem with the wrong unwind ID being called with the wrong
unwind cache.

21 years ago * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
drow [Wed, 5 Mar 2003 18:07:15 +0000 (18:07 +0000)]
* Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.

21 years ago * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
drow [Wed, 5 Mar 2003 18:01:46 +0000 (18:01 +0000)]
* cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
(auto_cp_abi): New variable.
(current_cp_abi, num_cp_abis): Make static.
(CP_ABI_MAX): Define.
(cp_abis): Turn into an array.
(value_virtual_fn_field): Fix formatting.
(switch_to_cp_abi, register_cp_abi): Update.  register_cp_abi now
takes a pointer.
(set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
(list_cp_abis, _initialize_cp_abi): New functions.
* cp-abi.h: Add prototype for set_cp_abi_as_auto_default.  Remove
declarations for cp_abis, num_cp_abis, current_cp_abi, and
switch_to_cp_abi.  Update prototype for register_cp_abi.
* Makefile.in (cp-abi.o): Update dependencies.
* minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
instead of switch_to_cp_abi.
* gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise.  Update call to
register_cp_abi.
* gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
register_cp_abi.
* hpacc-abi.c (_initialize_hpacc_abi): Likewise.

21 years ago * gdb.texinfo (Configuring the current ABI): Document "set cp-abi"
drow [Wed, 5 Mar 2003 18:01:35 +0000 (18:01 +0000)]
* gdb.texinfo (Configuring the current ABI): Document "set cp-abi"
and "show cp-abi".

21 years ago * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
drow [Wed, 5 Mar 2003 18:00:01 +0000 (18:00 +0000)]
* dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
* dwarf2loc.c: Include "regcache.h".
(dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum.  Use
register_size.
* Makefile.in (dwarf2loc.o): Update dependencies.

21 years ago2003-03-04 Daniel Jacobowitz <drow@mvista.com>
neroden [Wed, 5 Mar 2003 01:50:52 +0000 (01:50 +0000)]
2003-03-04  Daniel Jacobowitz  <drow@mvista.com>

* configure.in: Include $(build_tooldir)/sys-include in
FLAGS_FOR_TARGET.
* configure: Regenerated.

2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Reindent.
* Makefile.in: Regenerate.
* configure.in: Reindent.  Don't set unused variables.
* configure: Regenerate.

21 years ago* avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
troth [Wed, 5 Mar 2003 00:19:55 +0000 (00:19 +0000)]
* avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
number of io registers reported by remote target is not a multiple of step.

21 years ago*** empty log message ***
gdbadmin [Wed, 5 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Tue, 4 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago* thread.cc (MTinterface::fixup_after_fork): Initialize mainthread
tpfaff [Tue, 4 Mar 2003 20:16:49 +0000 (20:16 +0000)]
* thread.cc (MTinterface::fixup_after_fork): Initialize mainthread
prior to pthread objects.

21 years ago2003-03-04 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 4 Mar 2003 17:06:21 +0000 (17:06 +0000)]
2003-03-04  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_partial_symbol): Add linkage_name argument.
(lookup_symbol_aux_psymtabs): Update call to
lookup_partial_symbol.
(lookup_transparent_type, find_main_psymtab)
(make_symbol_overload_list): Ditto.

21 years agoAdd new devices x1122 x1132 emulation.
nickc [Tue, 4 Mar 2003 17:02:40 +0000 (17:02 +0000)]
Add new devices x1122 x1132 emulation.

21 years ago2003-03-04 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 4 Mar 2003 17:02:19 +0000 (17:02 +0000)]
2003-03-04  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/templates.exp (do_tests): Accept valid const in "print
Garply<Garply<char> >:: garply".
(test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
with respect to PR c++/1111; note also PR c++/1113.
(test_template_breakpoints): KFAIL "constructor breakpoint" with
respect to PR c++/1062.
KFAIL "destructor breakpoint" with respect to PR c++/1112.

21 years agofix spelling typo.
nickc [Tue, 4 Mar 2003 16:36:40 +0000 (16:36 +0000)]
fix spelling typo.

21 years ago * fhandler_socket.cc (fhandler_socket::dup): Initialize type.
corinna [Tue, 4 Mar 2003 16:35:00 +0000 (16:35 +0000)]
* fhandler_socket.cc (fhandler_socket::dup): Initialize type.

21 years ago(mcu_types): Add recenly announced x1122 and x1123 devices, add missed x437.
nickc [Tue, 4 Mar 2003 16:34:39 +0000 (16:34 +0000)]
(mcu_types): Add recenly announced x1122 and x1123 devices, add missed x437.
(md_show_usage): Sort device list.

21 years ago * MAINTAINERS (Write after approval): Update my email address.
kazu [Tue, 4 Mar 2003 16:33:05 +0000 (16:33 +0000)]
* MAINTAINERS (Write after approval): Update my email address.

21 years ago(print_symbol): Remove check for undefined_only.
nickc [Tue, 4 Mar 2003 16:23:46 +0000 (16:23 +0000)]
(print_symbol): Remove check for undefined_only.
(main): Print a warning message if --size-sort and --undefined-only are used
together.

21 years agoReally commit it... dunno what happened last time.
neroden [Tue, 4 Mar 2003 08:36:40 +0000 (08:36 +0000)]
Really commit it... dunno what happened last time.

21 years ago * mh-dgux: Delete.
neroden [Tue, 4 Mar 2003 07:48:49 +0000 (07:48 +0000)]
* mh-dgux: Delete.

21 years ago * Makefile.tpl: Always pass down RANLIB.
neroden [Tue, 4 Mar 2003 07:48:05 +0000 (07:48 +0000)]
* Makefile.tpl: Always pass down RANLIB.
* Makefile.in: Regenerate.

* Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
* Makefile.in: Regenerate.
* configure.in: Remove unused logic relating to --enable-shared
and --enable-threads.  Remove bogus comments.  Remove redundant
noconfigdirs.
* configure: Regenerate.

* configure.in: Replace ${libstdcxx_version} by its value.
Remove reference to mh-dgux.
* configure: Regenerate.

21 years ago* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
cgf [Tue, 4 Mar 2003 05:30:49 +0000 (05:30 +0000)]
* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
* cygcheck.cc (print_version): Update copyright.
* strace.cc (print_version): Ditto.
(main): Allow cygwin paths for -o option.
(create_child): Allow cygwin path as argv[0].
* path.cc (path.cc): Allow UNC paths.

21 years agorevert erroneous entry
cgf [Tue, 4 Mar 2003 05:30:38 +0000 (05:30 +0000)]
revert erroneous entry

21 years ago* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
cgf [Tue, 4 Mar 2003 05:27:41 +0000 (05:27 +0000)]
* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
* cygcheck.cc (print_version): Update copyright.
* strace.cc (print_version): Ditto.
(main): Allow cygwin paths for -o option.
(create_child): Allow cygwin path as argv[0].
* path.cc (path.cc): Allow UNC paths.

21 years ago* fhandler.h (fhandler_tty_slave::close): Declare new function.
cgf [Tue, 4 Mar 2003 04:07:34 +0000 (04:07 +0000)]
* fhandler.h (fhandler_tty_slave::close): Declare new function.
(fhandler_tty_slave::dup): Declare new function.
(fhandler_tty_slave::fixup_after_function): Declare new function.
* fhandler_tty.cc (fhandler_tty_slave_open): Only increment
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::close): Define new function.  Decrement
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::dup): Define new function.  Increment
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::fixup_after_fork): Define new function.  Increment
fhandler_console::open_fhs when associated with a pty.

21 years agomerge from gcc
dj [Tue, 4 Mar 2003 03:02:50 +0000 (03:02 +0000)]
merge from gcc

21 years ago2003-03-04 Heiko Gerdau <hg@technosis.de>
dannysmith [Tue, 4 Mar 2003 00:36:06 +0000 (00:36 +0000)]
2003-03-04  Heiko Gerdau  <hg@technosis.de>

* oleidl.h (IOleObject): Correct GetUserType prototype.
(IViewObject2): Correct GetExtent prototype.
* olectl.h (DISPIP_): Add new defines
* ocidl.h (IOleInPlaceSiteWindowless): Add new interface.

21 years ago*** empty log message ***
gdbadmin [Tue, 4 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-03-03 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 3 Mar 2003 23:28:55 +0000 (23:28 +0000)]
2003-03-03  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Document
register_type.

21 years ago2003-03-03 H.J. Lu <hjl@gnu.org>
hjl [Mon, 3 Mar 2003 23:19:18 +0000 (23:19 +0000)]
2003-03-03  H.J. Lu <hjl@gnu.org>

* elfxx-ia64.c (USE_BRL): Removed.
(oor_ip): Removed.

21 years ago2003-03-03 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 3 Mar 2003 23:16:27 +0000 (23:16 +0000)]
2003-03-03  Andrew Cagney  <cagney@redhat.com>

* stabs.texinfo (Structures): Use @samp and separate @var's
instead of a single @var containing a comma separated list.
(Unions): Ditto.

21 years agodaily update
amodra [Mon, 3 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agoFix sh-elf linker relaxation:
amylaar [Mon, 3 Mar 2003 21:03:58 +0000 (21:03 +0000)]
Fix sh-elf linker relaxation:

gcc:
* config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
subtarget_asm_isa_spec.
(SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
(ASM_SPEC): Define as SH_ASM_SPEC.
(SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
* config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
(SUBTARGET_ASM_ISA_SPEC): Undef / define.
gcc/testsuite:
gcc.dg/sh-relax.c: New test.

include/elf:
* sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E,
and SH2E & SH4 merge to SH4, not SH2E.

gas:
* config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
(md_begin): Use preset_target_arch.
(md_longopts): Make isa option unconditional.
(md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
set preset_target_arch.
(md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
by -S_GET_VALUE  (fixP->fx_subsy).
(tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
and the addend is 0.
Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
* config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.

bfd:
elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary
relocation (no special function), and make it non-partial_inplace.
(sh_elf_relax_section): When creating a bsr, use a consistent value
no matter if the symbol is extern or not;  set addend to -4.
Don't swap load / non-load instructions for SH4.
(sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset
rather than if the symbol is external to determine if adjusting the
offset makes sense.  Adjust the addend too if appropriate.
(sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the
relocation.

21 years ago2003-03-03 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 3 Mar 2003 20:50:16 +0000 (20:50 +0000)]
2003-03-03  Andrew Cagney  <cagney@redhat.com>

Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
* gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
predicate.  Replace MAX_REGISTER_RAW_SIZE.
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
MAX_REGISTER_VIRTUAL_SIZE.
* regcache.c (legacy_max_register_raw_size): New function.
(legacy_max_register_virtual_size): New function.
* defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
(MAX_REGISTER_RAW_SIZE): Define.
(legacy_max_register_raw_size): Declare.
(legacy_max_register_virtual_size): Declare.
* config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
* config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
* config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
* config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
* config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
* config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* d10v-tdep.c (d10v_gdbarch_init): Do not set
max_register_raw_size or max_register_virtual_size.

21 years ago* ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
aoliva [Mon, 3 Mar 2003 20:01:02 +0000 (20:01 +0000)]
* ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
well.

21 years ago* ldfile.h (struct search_dirs): Added sysrooted field.
aoliva [Mon, 3 Mar 2003 20:00:34 +0000 (20:00 +0000)]
* ldfile.h (struct search_dirs): Added sysrooted field.
* ldlang.h (struct lang_input_statement_struct): Likewise.
* ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
(ldfile_open_file_search): Look for sysrooted filename starting
with / in ld_sysroot instead of in the current directory.  Clear
sysrooted flag if it's found in the current directory.  Set it
from the search directory's sysrooted flag where it is found
otherwise.
* ldlang.c (ldlang_sysrooted_script): New static variable.
(new_afile): Mark search_file_enums as sysrooted if
ldlang_sysrooted_script.
(load_symbols): Set ldlang_sysrooted_script according to the
script's sysrooted field while processing it.
* ld.texinfo: Document INPUT behavior in sysroot.

21 years ago * aclocal.m4: Add check for mbrtowc.
brobecke [Mon, 3 Mar 2003 18:52:27 +0000 (18:52 +0000)]
    * aclocal.m4: Add check for mbrtowc.
        * config.h.in: Regenerate.
        * configure: Regenerate.
        * rlmbutil.h: Disable multi-byte if mbrtowc is not defined.

21 years ago2003-02-28 David Carlton <carlton@math.stanford.edu>
carlton [Mon, 3 Mar 2003 18:48:31 +0000 (18:48 +0000)]
2003-02-28  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
with respect to PR c++/57.
KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
c++/826.
Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
respect to PR c++/57.

21 years ago2003-03-03 David Carlton <carlton@math.stanford.edu>
carlton [Mon, 3 Mar 2003 18:39:46 +0000 (18:39 +0000)]
2003-03-03  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/templates.exp (do_tests): Convert the KFAILs with
respect to PR c++/33 into FAILs.

21 years ago2003-03-03 David Carlton <carlton@math.stanford.edu>
carlton [Mon, 3 Mar 2003 18:34:12 +0000 (18:34 +0000)]
2003-03-03  David Carlton  <carlton@math.stanford.edu>

* symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
SYMBOL_MATCHES_NAME, add comment.
(SYMBOL_MATCHES_NATURAL_NAME): New.
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
(lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
* symtab.c (lookup_partial_symbol): Use
SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME.  Delete
unhelpful comment.
(lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
SYMBOL_MATCHES_NAME.
Fix for PR c++/33.

21 years ago2003-03-03 David Carlton <carlton@math.stanford.edu>
carlton [Mon, 3 Mar 2003 18:01:33 +0000 (18:01 +0000)]
2003-03-03  David Carlton  <carlton@math.stanford.edu>

* symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
* symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
by regexp matching against SYMBOL_NATURAL_NAME.

21 years ago2003-03-03 David Carlton <carlton@math.stanford.edu>
carlton [Mon, 3 Mar 2003 17:20:24 +0000 (17:20 +0000)]
2003-03-03  David Carlton  <carlton@math.stanford.edu>

* linespec.c (find_method): Extract code into collect_methods.
(collect_methods): New.

21 years ago2003-03-03 Michael Chastain <mec@shout.net>
chastain [Mon, 3 Mar 2003 15:45:24 +0000 (15:45 +0000)]
2003-03-03  Michael Chastain  <mec@shout.net>

* configure.in: Update copyright years.

21 years ago2003-03-03 Michael Chastain <mec@shout.net>
chastain [Mon, 3 Mar 2003 15:18:20 +0000 (15:18 +0000)]
2003-03-03  Michael Chastain  <mec@shout.net>

* Makefile.in: update copyright years.