OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years ago2003-09-12 Dave Brolley <brolley@redhat.com>
brolley [Fri, 12 Sep 2003 22:04:22 +0000 (22:04 +0000)]
2003-09-12  Dave Brolley  <brolley@redhat.com>

        * frv.cpu (u-clrgr, u-clrfr): New units of model fr500.
        (clear-ne-flag-r): Pass insn profiling in as an argument. Call
        frv_ref_SI to get input register referenced for profiling.
        (clear-ne-flag-all): Pass insn profiling in as an argument.
        (clrgr,clrfr,clrga,clrfa): Add profiling information.

20 years ago* fhandler_disk_file.cc (path_conv::ndisk_links): Fix problem where search
cgf [Fri, 12 Sep 2003 20:17:28 +0000 (20:17 +0000)]
* fhandler_disk_file.cc (path_conv::ndisk_links): Fix problem where search
characters overwrote the path instead of being tacked on the end.

20 years ago* amd64fbsd-tdep.c: Fix sigtramp recognition.
kettenis [Fri, 12 Sep 2003 19:27:37 +0000 (19:27 +0000)]
* amd64fbsd-tdep.c: Fix sigtramp recognition.
(amd64fbsd_sigcontext_addr): Rewrite.
(amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize
with correct values.
(amd64fbsd_sc_reg_offset): Initialize with correct values.
(amd64fbsd_init_abi): Fix typo.

20 years ago2003-09-12 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 12 Sep 2003 18:55:23 +0000 (18:55 +0000)]
2003-09-12  Andrew Cagney  <cagney@redhat.com>

* ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro.
(ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop.

20 years ago2003-09-12 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 12 Sep 2003 18:40:16 +0000 (18:40 +0000)]
2003-09-12  Andrew Cagney  <cagney@redhat.com>

* objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and
"entry_file_highpc".  Update comments.
* defs.h (deprecated_inside_entry_file): Rename
"inside_entry_file".
* blockframe.c (deprecated_inside_entry_file): Rename
"inside_entry_file".
* frame.c (get_prev_frame): Update.  Use if 0 instead of #if 0.
* vax-tdep.c (vax_frame_chain): Update.
* sh64-tdep.c (sh64_frame_chain): Update.
* sh-tdep.c (sh_frame_chain): Update.
* rs6000-tdep.c (rs6000_frame_chain): Update.
* ns32k-tdep.c (ns32k_frame_chain): Update.
* mips-tdep.c (mips_frame_chain): Update.
* m68hc11-tdep.c (m68hc11_frame_this_id): Update.
* m32r-tdep.c (m32r_frame_this_id): Update.
* i386-interix-tdep.c (i386_interix_frame_chain_valid): Update.
* frv-tdep.c (frv_frame_this_id): Update.
* d10v-tdep.c (d10v_frame_this_id): Update.
* cris-tdep.c (cris_frame_chain): Update.
* blockframe.c (legacy_frame_chain_valid): Update.
* avr-tdep.c (avr_frame_this_id): Update.
* arm-tdep.c (arm_prologue_this_id): Update.
* alpha-tdep.c (alpha_heuristic_frame_this_id): Update.
* objfiles.c (objfile_relocate): Update.
* mipsread.c (mipscoff_symfile_read): Update.
(mipscoff_symfile_read): Update.
* mdebugread.c (parse_partial_symbols): Update.
* dwarfread.c (read_file_scope): Update.
* dwarf2read.c (read_file_scope): Update.
* dbxread.c (read_dbx_symtab): Update.
(read_dbx_symtab): Update.
* coffread.c (complete_symtab): Update.

20 years ago2003-09-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 12 Sep 2003 15:24:23 +0000 (15:24 +0000)]
2003-09-12  Jeff Johnston  <jjohnstn@redhat.com>

        * top.c (quit_target): New static helper function.
        (quit_force): Moved code to quit_target().  Call quit_target()
        via catch_errors() to catch errors during quit.

20 years ago* dcrt0.cc (_dll_crt0): Accommodate breaking apart of early_stuff_init.
cgf [Fri, 12 Sep 2003 06:41:53 +0000 (06:41 +0000)]
* dcrt0.cc (_dll_crt0): Accommodate breaking apart of early_stuff_init.
* exceptions.cc (early_stuff_init): Delete.
(init_console_handler): New function - top half of early_stuff_init.
(init_global_security): New function - bottom half of early_stuff_init.
(sig_handle): Avoid special hExeced test for SIGINT.  Just terminate the
captive process.
(signal_exit): Add debugging output.
* fhandler_tty.cc (fhandler_tty_slave::open): Don't allocate a console if one
already seems to exist.  Properly initialize ctrl-c handling if we do allocate
a console.
* winsup.h (early_stuff_init): Delete declaration.
(init_console_handler): New declaration.
(init_global_security): New declaration.

20 years ago* Makefile.in: Tweak mingw libz.a detection to make it more reliably detect
cgf [Fri, 12 Sep 2003 01:51:21 +0000 (01:51 +0000)]
* Makefile.in: Tweak mingw libz.a detection to make it more reliably detect
when libz.a is not available.

20 years ago*** empty log message ***
gdbadmin [Fri, 12 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Fri, 12 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,
bwilson [Fri, 12 Sep 2003 00:00:02 +0000 (00:00 +0000)]
* config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,
literal_syms): New global variables.
(xtensa_define_label, add_target_symbol, xtensa_find_label,
map_over_defined_symbols, is_loop_target_label,
xtensa_mark_target_fragments, xtensa_move_frag_symbol,
xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete.
(xtensa_begin_directive): Call md_flush_pending_output.  Move symbols
from insn_labels to saved_insn_labels when entering a literal region.
(xtensa_end_directive): Call md_flush_pending_output.  Restore
insn_labels list when leaving a literal region.
(xtensa_literal_position): Call xtensa_clear_insn_labels.
(xtensa_literal_pseudo): Add check to disallow .literal inside a
literal region.  Move insn_labels to saved_insn_labels and then restore
insn_labels on exit.
(xg_add_branch_and_loop_targets): Replace add_target_symbol calls with
code to set is_loop_target or is_branch_target flag on the symbol
(xtensa_create_literal_symbol): Call xtensa_add_literal_sym.
(xtensa_add_literal_sym, xtensa_add_insn_label,
xtensa_clear_insn_labels): New functions.
(xtensa_move_labels): Remove old_frag and old_offset arguments.  Add
loops_ok argument.  Rewrite to use insn_labels list instead of
calling xtensa_find_label and to check the is_loop_target flag on
symbols when loops_ok is false.
(xtensa_frob_label): Remove call to xtensa_define_label.  Add call
to either xtensa_add_literal_sym or xtensa_add_insn_label.  Adjust
call to xtensa_move_labels.  Propagate is_branch_target and
is_loop_target flags from symbols to frags.
(xtensa_flush_pending_output): Call xtensa_clear_insn_labels.
(md_assemble): Use xtensa_move_labels with loops_ok = FALSE when
aligning a loop instruction.  Adjust call to xtensa_move_labels for
aligning entry instructions.  Add call to xtensa_clear_insn_labels.
(xtensa_end): Remove call to xtensa_mark_target_fragments.
(xtensa_move_literals): Replace xtensa_move_frag_symbols call with
code to use new literal_syms list.
* config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and
is_branch_target flags.

20 years ago2003-09-11 David Carlton <carlton@kealia.com>
carlton [Thu, 11 Sep 2003 23:43:55 +0000 (23:43 +0000)]
2003-09-11  David Carlton  <carlton@kealia.com>

* buildsym.c (finish_block): Use allocate_block to allocate the
block.
* mdebugread.c (new_block): Add FIXME.

20 years ago* fhandler_disk_file.cc (path_conv::ndisk_links): Rename from num_entries.
cgf [Thu, 11 Sep 2003 23:30:26 +0000 (23:30 +0000)]
* fhandler_disk_file.cc (path_conv::ndisk_links): Rename from num_entries.
Accept an argument and calculate any extra links needed based on missing .  and
..  entries.
(fhandler_disk_file::fstat_helper): Always call pc->ndisks_links() to calculate
the number of links.
* path.h (path_conv::ndisk_links): Declare.

20 years ago2003-09-11 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 11 Sep 2003 20:53:33 +0000 (20:53 +0000)]
2003-09-11  Michael Snyder  <msnyder@redhat.com>

        * frv.cpu: Typographical corrections.

20 years ago2003-09-11 David Carlton <carlton@kealia.com>
carlton [Thu, 11 Sep 2003 19:49:15 +0000 (19:49 +0000)]
2003-09-11  David Carlton  <carlton@kealia.com>

* gdbtypes.h: Add TYPE_CODE_NAMESPACE.
* gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE.
(recursive_dump_type): Ditto.
* printcmd.c (print_formatted): Ditto.
* typeprint.c (print_type_scalar): Ditto.
* c-typeprint.c (c_type_print_varspec_prefix): Ditto.
(c_type_print_varspec_suffix, c_type_print_base): Ditto.
* cp-support.h: Declare cp_check_possible_namespace_symbols,
maint_cplus_cmd_list.
* cp-support.c: Make maint_cplus_cmd_list extern.
* cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h,
command.h.
(lookup_symbol_file): Look in possible namespace blocks when
appropriate.
(initialize_namespace_symtab): New.
(get_possible_namespace_block, free_namespace_block)
(check_possible_namespace_symbols)
(check_possible_namespace_symbols_loop)
(check_one_possible_namespace_symbol)
(lookup_possible_namespace_symbol, maintenance_cplus_namespace)
(_initialize_cp_namespace): Ditto.
* block.h: Declare allocate_block.
* block.c (allocate_block): New.
* jv-lang.c (get_java_class_symtab): Allocate blocks via
allocate_block.
* symfile.h: Update declaration of add_psymbol_to_list.
* symfile.c (add_psymbol_to_list): Return the partial symbol in
question.
* dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to
scan_partial_symbols_call.
(scan_partial_symbols): Add NAMESPACE argument; update calls to
helper functions.
(add_partial_symbol): If necessary, scan mangled names for names
of namespaces.
(add_partial_namespace): Add NAMESPACE argument; generate partial
symbols associated  to namespaces.
(add_partial_enumeration): Add NAMESPACE argument.
(new_symbol): Allow namespace syms.
(read_namespace): Generate namespace syms.
* objfiles.h: Add opaque declaration of struct symtab.
(struct objfile): Add cp_namespace_symtab member.
* objfiles.c (allocate_objfile): Set
objfile->cp_namespace_symtab.
* Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h,
dictionary_h, command_h.

2003-09-11  David Carlton  <carlton@kealia.com>

* gdb.c++/namespace.exp: Add tests for namespace types.
* gdb.c++/maint.exp (test_help): Test 'help maint cp namespace'.
(test_namespace): New.

20 years ago2003-09-11 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 11 Sep 2003 19:27:25 +0000 (19:27 +0000)]
2003-09-11  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_push_dummy_call): Use
regcache_raw_write_signed to set SP_REGNUM, move the operation to
near the function's end.
(rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp".
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use
regcache_raw_write_signed to set SP_REGNUM.

20 years ago2003-09-11 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 11 Sep 2003 19:20:07 +0000 (19:20 +0000)]
2003-09-11  Elena Zannoni  <ezannoni@redhat.com>

* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure
orig_addrs is set up properly.

20 years ago * Makefile.am (ARCHFILE): New var.
devans [Thu, 11 Sep 2003 19:14:36 +0000 (19:14 +0000)]
* Makefile.am (ARCHFILE): New var.
(desc): Pass $(ARCHFILE) for -a parm, not $(ARCH).
(html,opcodes,sim-arch,sim-cpu,gas-test,sim-test): Ditto.
* Makefile.in: Regenerate.

20 years ago2003-09-11 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 11 Sep 2003 19:09:46 +0000 (19:09 +0000)]
2003-09-11  Elena Zannoni  <ezannoni@redhat.com>

* gdb.stabs/weird.exp: Ditto.

20 years ago2003-09-11 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 11 Sep 2003 18:59:02 +0000 (18:59 +0000)]
2003-09-11  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.base/relocate.exp: Handle new gdb output at startup.

20 years ago2003-09-11 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 11 Sep 2003 18:39:05 +0000 (18:39 +0000)]
2003-09-11  Michael Snyder  <msnyder@redhat.com>

* sim/testsuite/sim/frv/movgs.cgs: Change lcr to spr[273],
which according to the comments seems to be the intent.

20 years ago * MAINTAINERS: Update my e-mail address.
wilson [Thu, 11 Sep 2003 18:08:32 +0000 (18:08 +0000)]
* MAINTAINERS: Update my e-mail address.

20 years agoMove myself to paper trail section.
wilson [Thu, 11 Sep 2003 17:51:44 +0000 (17:51 +0000)]
Move myself to paper trail section.

20 years ago* path.cc (normalize_posix_path): Put check for '//' prefix back to denote a
cgf [Thu, 11 Sep 2003 17:46:31 +0000 (17:46 +0000)]
* path.cc (normalize_posix_path): Put check for '//' prefix back to denote a
UNC path.
(slash_unc_prefix_p): Remove vestige of old //c method for accessing drives.

20 years ago * cygcheck.cc (dump_only): New global variable.
corinna [Thu, 11 Sep 2003 16:24:26 +0000 (16:24 +0000)]
* cygcheck.cc (dump_only): New global variable.
(usage): Add "--dump-only" option, fix "--verbose" line.
(longopts, opts): Add "--dump-only" option.
(main): Process the "--dump-only" flag.  Add new semantic check.
Pass dump_only information to dump_setup().

20 years ago2003-09-11 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 11 Sep 2003 15:17:12 +0000 (15:17 +0000)]
2003-09-11  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN.
* gdbarch.h, gdbarch.c: Re-generate.
* infcall.c (call_function_by_hand): Update.
* hppa-tdep.c (hppa_push_arguments): Update.
* ada-lang.c (place_on_stack): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to
stack_align.

20 years ago * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a
drow [Thu, 11 Sep 2003 15:02:51 +0000 (15:02 +0000)]
* dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a
register do need a frame.

20 years ago* dir.cc (rmdir): Add more samba workarounds.
cgf [Thu, 11 Sep 2003 14:43:08 +0000 (14:43 +0000)]
* dir.cc (rmdir): Add more samba workarounds.

20 years ago2003-09-11 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 11 Sep 2003 14:00:52 +0000 (14:00 +0000)]
2003-09-11  Andrew Cagney  <cagney@redhat.com>

Since the IRIX 4 configuration was forcing K&R mode it hasn't been
buildable since GDB 5.0.
* NEWS: Mention that IRIX 3 and IRIX 4 support were removed.
* configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*".
* configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3.
* irix4-nat.c: Delete file.
* config/mips/irix4.mh: Delete file.
* config/mips/irix3.mh: Delete file.
* config/mips/irix3.mt: Delete file.
* config/mips/tm-irix3.h: Delete file.
* config/mips/nm-irix3.h: Delete file.
* config/mips/xm-irix3.h: Delete file.
* config/mips/nm-irix4.h: Delete file.
* config/mips/xm-irix4.h: Delete file.
* config/mips/tm-irix5.h: Inline contents of "tm-irix3.h".

20 years agoAdd enum values for HP extensions to DWARF standard
nickc [Thu, 11 Sep 2003 11:20:41 +0000 (11:20 +0000)]
Add enum values for HP extensions to DWARF standard

20 years ago * shared.cc (user_shared_initialize): Revert length attribute for name
corinna [Thu, 11 Sep 2003 07:57:39 +0000 (07:57 +0000)]
* shared.cc (user_shared_initialize): Revert length attribute for name
variable to be just UNLEN + 1.

20 years ago * getfacl (main): Remove extern declaration of optind.
corinna [Thu, 11 Sep 2003 07:55:51 +0000 (07:55 +0000)]
* getfacl (main): Remove extern declaration of optind.
* setfacl (main): Remove extern declaration of optarg and optind.

20 years ago* Makefile.in (cygcheck.o): Use MINGW_CXX for compilation.
cgf [Thu, 11 Sep 2003 02:56:40 +0000 (02:56 +0000)]
* Makefile.in (cygcheck.o): Use MINGW_CXX for compilation.
* cygcheck.cc: Just include <getopt.h> rather than cygwin version.
(pretty_id): Avoid compiler warnings.
* cygpath.cc (usage): Ditto.

20 years ago2003-09-10 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 11 Sep 2003 02:34:00 +0000 (02:34 +0000)]
2003-09-10  Elena Zannoni  <ezannoni@redhat.com>

* mi-main.c (mi_setup_architecture_data): Don't use
DEPRECATED_REGISTER_BYTES because some architecture don't set it
and its default is 0.

20 years ago * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure.
brobecke [Thu, 11 Sep 2003 02:00:50 +0000 (02:00 +0000)]
    * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure.
        * Makefile.in (hppa-tdep.o): Update dependencies.

20 years ago* Makefile.in (MINGW_CXX): Define and use for mingw-compiled files.
cgf [Thu, 11 Sep 2003 02:00:42 +0000 (02:00 +0000)]
* Makefile.in (MINGW_CXX): Define and use for mingw-compiled files.
* path.cc: Include more path info in cygwin-specific includes since the cygwin
directory is no longer included by default.

20 years ago* Makefile.in: More fixups to adjust for the fact that mingw_getopt.o is no
cgf [Thu, 11 Sep 2003 00:07:28 +0000 (00:07 +0000)]
* Makefile.in: More fixups to adjust for the fact that mingw_getopt.o is no
longer built.

20 years agodaily update
amodra [Thu, 11 Sep 2003 00:00:15 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Thu, 11 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* MAINTAINERS: Change my e-mail address.
wilson [Wed, 10 Sep 2003 23:50:08 +0000 (23:50 +0000)]
* MAINTAINERS: Change my e-mail address.

20 years ago * ld-elf/merge2.s: New.
amodra [Wed, 10 Sep 2003 23:35:39 +0000 (23:35 +0000)]
* ld-elf/merge2.s: New.
* ld-elf/merge2.d: New.

20 years ago* MAINTAINERS: Update my e-mail address.
wilson [Wed, 10 Sep 2003 23:28:12 +0000 (23:28 +0000)]
* MAINTAINERS: Update my e-mail address.

20 years ago* Makefile.in: Remove references to getopt since it is now part of mingwex.
cgf [Wed, 10 Sep 2003 21:55:59 +0000 (21:55 +0000)]
* Makefile.in: Remove references to getopt since it is now part of mingwex.

20 years ago * MAINTAINERS (frv): New ISA entry.
kevinb [Wed, 10 Sep 2003 21:05:59 +0000 (21:05 +0000)]
* MAINTAINERS (frv): New ISA entry.

20 years ago* shared_info.h (shared_info::initialize): Remove argument.
cgf [Wed, 10 Sep 2003 21:01:40 +0000 (21:01 +0000)]
* shared_info.h (shared_info::initialize): Remove argument.
* cygheap.h (cygheap_user::init): New declaration.
* uinfo.cc (cygheap_user::init): New.
(internal_getlogin): Move functionality to cygheap_user::init.  Open the
process token to update the group sid.
* shared.cc (user_shared_initialize): Get the user information from
cygheap->user.
(shared_info::initialize): Remove argument.  Call cygheap->user.init instead of
cygheap->user.set_name.
(memory_init): Do not get the user name and do not pass it to
shared_info::initialize.
* registry.cc (get_registry_hive_path): Make csid a cygpsid.
(load_registry_hive): Ditto.

20 years ago2003-09-10 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 10 Sep 2003 20:48:31 +0000 (20:48 +0000)]
2003-09-10  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections
started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.

20 years ago2003-09-10 Dave Brolley <brolley@redhat.com>
brolley [Wed, 10 Sep 2003 20:40:46 +0000 (20:40 +0000)]
2003-09-10  Dave Brolley  <brolley@redhat.com>

        * profile.c (slot_names): FM1 was listed twice. Changed first
        instance to FM0. Added IALL, FMALL and FMLOW.
        (print_parallel): Don't examine slots with no insns.

20 years ago* fhandler_disk_file.cc (num_entries): Take . and .. into account if they do
cgf [Wed, 10 Sep 2003 20:16:00 +0000 (20:16 +0000)]
* fhandler_disk_file.cc (num_entries): Take .  and ..  into account if they do
not exist since cygwin simulates them.
(fhandler_cygdrive::fstat): Ditto.
(fhandler_cygdrive::readdir): Don't do any specific tests on __d_position when
seeing if a drive exists.

20 years ago * Makefile.in (DLL_OFILES): Add getopt.o and iruserok.o.
corinna [Wed, 10 Sep 2003 19:13:04 +0000 (19:13 +0000)]
* Makefile.in (DLL_OFILES): Add getopt.o and iruserok.o.
* cygwin.din: Export __check_rhosts_file, __rcmd_errstr, optarg,
opterr, optind, optopt, optreset, getopt, getopt_long, iruserok
and ruserok.
* getopt.c: Moved from lib to here.  Define opt* variables as
dllexport.
* iruserok.c: Moved from lib to here.  Rearrange function order.
Prefer using 64/32 bit functions.
* syscalls.cc (shell_fp): Define as struct __sFILE64.
(getusershell): Use fopen64 instead of fopen.
* winsup.h: Add declarations for seteuid32, fopen64,
cygwin_gethostbyname and cygwin_inet_addr.
* include/getopt.h: Declare opt* variables dllimport.
* include/cygwin/version.h: Bump API minor number.

20 years ago * elf32-hppa.c (struct elf32_hppa_link_hash_entry,
danglin [Wed, 10 Sep 2003 18:46:07 +0000 (18:46 +0000)]
* elf32-hppa.c (struct elf32_hppa_link_hash_entry,
hppa_link_hash_newfunc, hppa_build_one_stub,
elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static,
allocate_dynrelocs, elf32_hppa_size_dynamic_sections,
elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code
for generating import stubs for calls to statically linked PIC
functions.
(hppa_type_of_stub): Don't generate an import stub for calls to
statically linked pic functions.  Generate import stubs for calls
in a shared object, to functions not in a regular file, and to
defined weak functions.  Add new argument INFO.
(hppa_build_one_stub): Don't undef ADDIL_DP.
(elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag.
(elf32_hppa_size_stubs): Pass info to hppa_type_of_stub.
(final_link_relocate): Change all DLTIND relocs to DPREL relocs in a
non-shared link.  Convert instructions that use the the linkage table
pointer, or a facsimile thereof, to use the global data pointer when
the reloc has been changed.

20 years ago* exceptions.cc (sig_handle_tty_stop): Check parent PID_NOCLDSTOP rather than
cgf [Wed, 10 Sep 2003 17:26:11 +0000 (17:26 +0000)]
* exceptions.cc (sig_handle_tty_stop): Check parent PID_NOCLDSTOP rather than
erroneously checking *my own* sigtodo.

20 years ago* Makefile.in: Add some more -fomit-frame-pointer files.
cgf [Wed, 10 Sep 2003 16:22:48 +0000 (16:22 +0000)]
* Makefile.in: Add some more -fomit-frame-pointer files.
* path.cc (conv_path_list_buf_size): Free normalized_path or suffer memory
leak.
* syscalls.cc (chroot): Ditto.

20 years ago * linux-target.c (reginfo): The MQ register is for IBM POWER
kevinb [Wed, 10 Sep 2003 15:57:22 +0000 (15:57 +0000)]
* linux-target.c (reginfo): The MQ register is for IBM POWER
(pre-PowerPC) architecture, and is undefined in PPC GNU/Linux
environment.

20 years ago * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
corinna [Wed, 10 Sep 2003 15:53:43 +0000 (15:53 +0000)]
* libc/include/sys/unistd.h: Declare function daemon for Cygwin.

20 years ago * Makefile.in (DLL_OFILES): Add bsdlib.o.
corinna [Wed, 10 Sep 2003 15:51:58 +0000 (15:51 +0000)]
* Makefile.in (DLL_OFILES): Add bsdlib.o.
* autoload.cc (RegisterServiceProcess): Add.
* bsdlib.cc: New file.
(daemon): New function.
(login_tty): Ditto.
(openpty): Ditto.
(forkpty): Ditto.
* cygwin.din: Export daemon, forkpty, login_tty, logwtmp, updwtmp,
openpty and revoke.
* syscalls.cc (updwtmp): New function, writing to wtmp exclusively.
(logwtmp): Ditto.
(login): Call updwtmp instead of writing to wtmp by itself.
(logout): Ditto.
* tty.cc (revoke): New funtion.
* include/paths.h: Define _PATH_DEVNULL.
* include/pty.h: New header.
* include/cygwin/version.h: Bump API minor number.
* include/sys/utmp.h: Declare logwtmp with const arguments.
Declare updwtmp.
* lib/iruserok.c: New file.
(ruserok): New function.
(iruserok): Ditto.
(__ivaliduser): Ditto.
(__icheckhost): Ditto.

20 years ago * fhandler_socket.cc (fhandler_socket::fstat): Don't use PC_POSIX.
corinna [Wed, 10 Sep 2003 10:01:31 +0000 (10:01 +0000)]
* fhandler_socket.cc (fhandler_socket::fstat): Don't use PC_POSIX.

20 years ago * frv-tdep.c (dis-asm.h): Include.
kevinb [Wed, 10 Sep 2003 07:32:46 +0000 (07:32 +0000)]
* frv-tdep.c (dis-asm.h): Include.
* Makefile.in (frv-tdep.o): Update dependencies.

20 years ago2003-09-09 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Wed, 10 Sep 2003 02:12:25 +0000 (02:12 +0000)]
2003-09-09  Pierre Humblet <pierre.humblet@ieee.org>

* shared_info.h: Include security.h.
(open_shared): Add psa argument.
(user_shared_initialize): New declaration.
* security.h: Add _SECURITY_H guard.
(sec_user): Use sec_none in the no ntsec case.
* spawn.cc (spawn_guts): Remove call to load_registry_hive.
* syscalls (seteuid32): If warranted, call load_registry_hive,
user_shared_initialize and RegCloseKey(HKEY_CURRENT_USER).
* shared.cc (user_shared_initialize): New.
(open_shared): Add and use psa argument.
(memory_init): Move mount table initialization to
user_shared_initialize. Call it.

20 years ago * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove
bwilson [Wed, 10 Sep 2003 00:17:29 +0000 (00:17 +0000)]
* config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove
"move_labels" argument and corresponding call to xtensa_move_labels.
(md_assemble): Add a separate call to xtensa_move_labels and remove
argument for call to xtensa_mark_literal_pool_location.
(xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix
calls to xtensa_mark_literal_pool_location.
(xtensa_create_local_symbol): Delete and inline the code into...
(xtensa_create_literal_symbol): ...here.
(xtensa_frob_label): Combine conditionals.
(expression_maybe_register, xtensa_symbol_new_hook,
fix_new_exp_in_seg): Use symbol_get_tc.

20 years agodaily update
amodra [Wed, 10 Sep 2003 00:00:35 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Wed, 10 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for
bwilson [Tue, 9 Sep 2003 23:41:43 +0000 (23:41 +0000)]
* config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for
combining identical literals.
(expression_maybe_register): Remove call to find_lit_sym_translation.
(is_duplicate_expression, cache_literal, is_duplicate_literal,
add_lit_sym_translation, find_lit_sym_translation): Delete.

20 years ago2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 9 Sep 2003 23:29:51 +0000 (23:29 +0000)]
2003-09-09  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs):
        Fix typo for high range of floating registers.

20 years ago2003-09-09 David Carlton <carlton@kealia.com>
carlton [Tue, 9 Sep 2003 23:23:04 +0000 (23:23 +0000)]
2003-09-09  David Carlton  <carlton@kealia.com>

* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and
highpc initialization here out of scan_partial_symbols.
(scan_partial_symbols): Restructure into a recursive version,
calling add_partial_namespace and add_partial_enumeration when
appropriate.
(add_partial_namespace): New.
(add_partial_enumeration, locate_pdi_sibling): Ditto.

20 years agoReverting until I learn how to conform..
dsl [Tue, 9 Sep 2003 23:09:37 +0000 (23:09 +0000)]
Reverting until I learn how to conform..

20 years ago2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 9 Sep 2003 22:53:26 +0000 (22:53 +0000)]
2003-09-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
        prototype.
        * libc/machine/powerpc/simdldtoa.c: Remove prototype for
        _simdldcheck().  Also add unsigned cast for index variable in
        for loop using sizeof operators.
        * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
        * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
        * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
        plus fix shift calculation for determining if there is a
        carry from word2.

20 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 22:41:47 +0000 (22:41 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (ppc_push_return_address): Delete function.
(rs6000_push_dummy_call): Set LR to BP_ADDR.
(rs6000_gdbarch_init): Do not set deprecated_push_return_address.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.

20 years ago2003-09-09 Dave Brolley <brolley@redhat.com>
brolley [Tue, 9 Sep 2003 22:34:53 +0000 (22:34 +0000)]
2003-09-09  Dave Brolley  <brolley@redhat.com>

        * sim/frv/maddaccs.cgs: move to fr400 subdirectory.
        * sim/frv/msubaccs.cgs: move to fr400 subdirectory.
        * sim/frv/masaccs.cgs: move to fr400 subdirectory.

20 years ago2003-09-09 Dave Brolley <brolley@redhat.com>
brolley [Tue, 9 Sep 2003 22:29:42 +0000 (22:29 +0000)]
2003-09-09  Dave Brolley  <brolley@redhat.com>

        * frv-desc.c: Regenerated.

20 years ago2003-09-09 Dave Brolley <brolley@redhat.com>
brolley [Tue, 9 Sep 2003 22:28:33 +0000 (22:28 +0000)]
2003-09-09  Dave Brolley  <brolley@redhat.com>

        * frv.c (do_media_average): Select machine using a switch.

20 years ago2003-09-09 Dave Brolley <brolley@redhat.com>
brolley [Tue, 9 Sep 2003 22:27:28 +0000 (22:27 +0000)]
2003-09-09  Dave Brolley  <brolley@redhat.com>

        * frv.cpu (media-dual-complex): Change UNIT to FMALL.
        (conditional-media-dual-complex, media-quad-complex): Likewise.

20 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 22:21:35 +0000 (22:21 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_fix_call_dummy): Delete function.
(rs6000_push_dummy_call): Set the "TOC" register.

20 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 22:10:55 +0000 (22:10 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated
methods "max_register_raw_size", "max_register_virtual_size" or
"register_virtual_size".

20 years ago * MAINTAINERS: Update my e-mail address.
ian [Tue, 9 Sep 2003 20:25:57 +0000 (20:25 +0000)]
* MAINTAINERS: Update my e-mail address.

20 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 20:22:36 +0000 (20:22 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_store_struct_return): Delete function.
(rs6000_push_dummy_call): Store the struct return address.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.

20 years ago * MAINTAINERS: Update my e-mail address.
ian [Tue, 9 Sep 2003 20:22:17 +0000 (20:22 +0000)]
* MAINTAINERS: Update my e-mail address.

20 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 18:29:25 +0000 (18:29 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace
"ppc_sysv_abi_push_arguments".
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace
"ppc_sysv_abi_push_arguments".
* rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call"
instead of "push_arguments".
(rs6000_push_dummy_call): Replace "rs6000_push_arguments".

20 years agoThis enables the print elements limits to work with multi-dim arrays
dsl [Tue, 9 Sep 2003 16:58:00 +0000 (16:58 +0000)]
This enables the print elements limits to work with multi-dim arrays
in FORTRAN

20 years agoChange array element access to something similar to way C works.
dsl [Tue, 9 Sep 2003 16:51:54 +0000 (16:51 +0000)]
Change array element access to something similar to way C works.
The old method would drag in the entire array, then look for the
single element.  This method just gets the right element out instead.
Saves memory, and saves a crash for array with (*) as one of the
dimensions when it would previously have allocated (unsigned int) -1 bytes.

20 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 15:00:21 +0000 (15:00 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
instead of CALL_DUMMY_ADDRESS.

20 years ago * libc/include/grp.h: Don't define setgrfile, group_from_gid and
corinna [Tue, 9 Sep 2003 13:14:49 +0000 (13:14 +0000)]
* libc/include/grp.h: Don't define setgrfile, group_from_gid and
setgroupent for Cygwin.

20 years ago * mmap.cc (mmap64): Change address types from caddr_t to void *
corinna [Tue, 9 Sep 2003 09:41:17 +0000 (09:41 +0000)]
* mmap.cc (mmap64): Change address types from caddr_t to void *
according to SUSv3.
(mmap): Ditto.
(munmap): Ditto.
(msync): Ditto.
(mprotect): Ditto.  Move to before the fhandler methods.
* include/sys/mman.h: Change prototypes accordingly.

20 years agoCorrect small glitch introduced in ChangeLog by last commit.
hilfingr [Tue, 9 Sep 2003 08:17:44 +0000 (08:17 +0000)]
Correct small glitch introduced in ChangeLog by last commit.

20 years ago2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>
hilfingr [Tue, 9 Sep 2003 08:05:41 +0000 (08:05 +0000)]
2003-09-09  Paul N. Hilfinger  <hilfingr@gnat.com>

* p-lang.c: Eliminate "register".
* c-lang.c: Ditto.
* expprint.c: Ditto.
* f-lang.c: Ditto.
* jv-lang.c: Ditto.
* language.c: Ditto.
* m2-lang.c: Ditto.
* parse.c: Ditto.
* scm-lang.c: Ditto.
* objc-lang.c: Ditto.

20 years agoAdd support for v850e1 machine number.
nickc [Tue, 9 Sep 2003 06:34:54 +0000 (06:34 +0000)]
Add support for v850e1 machine number.

20 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 04:41:30 +0000 (04:41 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.

20 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 03:58:17 +0000 (03:58 +0000)]
2003-09-08  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename
CALL_DUMMY_ADDRESS, change to a predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address.
* infcall.c (call_function_by_hand): Ditto.
* sparc-tdep.c (sparc_push_return_address): Ditto.
(sparc_gdbarch_init): Set deprecated_call_dummy_address.
* xstormy16-tdep.c (xstormy16_push_return_address): Replace
CALL_DUMMY_ADDRESS with entry_point_address.
* v850-tdep.c (v850_push_return_address): Ditto.
* s390-tdep.c (s390_push_return_address): Ditto.
* rs6000-tdep.c (ppc_push_return_address): Ditto.
* mn10300-tdep.c (mn10300_push_return_address): Ditto.
* mcore-tdep.c (mcore_push_return_address): Ditto.
* cris-tdep.c (cris_push_return_address): Ditto.
* arm-tdep.c (arm_push_return_address): Ditto.

20 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 03:31:07 +0000 (03:31 +0000)]
2003-09-08  Andrew Cagney  <cagney@redhat.com>

* dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous
enum.  Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED
and REG_UNMODIFIED to REG_SAME_VALUE.
(execute_cfa_program): Update.
(dwarf2_frame_cache): Update.  Initialize table to
REG_UNSPECIFIED, complain if CFI fails to specify a register's
location.
(dwarf2_frame_prev_register): Update.  Handle REG_UNSPECIFIED.

20 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 9 Sep 2003 03:14:01 +0000 (03:14 +0000)]
2003-09-08  Andrew Cagney  <cagney@redhat.com>

* gnu-nat.c: Remove "inline" function attribute.
* alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.

20 years ago* dcrt0.cc (dlL_crt0_1): Set __argc_safe after __argc is absolutely know to be
cgf [Tue, 9 Sep 2003 03:11:31 +0000 (03:11 +0000)]
* dcrt0.cc (dlL_crt0_1): Set __argc_safe after __argc is absolutely know to be
set.
* exceptions.cc (sig_handle_tty_stop): Don't reset sigCONT event since it is
reset automatically.
* fork.cc (fork): Remove obsolete usage of PID_SPLIT_HEAP.
* include/sys/cygwin.h: Ditto.
* sigproc.cc (sig_send): Use sigframe init method to set frame since it checks
for previous ownership of the frame.
* sigproc.h (sigframe::init): Accept an "is_exception" argument.

20 years ago* dir.cc (readdir): Reinstate setting of old ino field for legacy applications.
cgf [Tue, 9 Sep 2003 00:21:16 +0000 (00:21 +0000)]
* dir.cc (readdir): Reinstate setting of old ino field for legacy applications.
* dirent.h (dirent): Rename unused field to __ino32.
* passwd.cc (getpwnam_r): Initialize pw_comment field.

20 years ago*** empty log message ***
gdbadmin [Tue, 9 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Tue, 9 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
kevinb [Mon, 8 Sep 2003 23:21:36 +0000 (23:21 +0000)]
* config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
target.

20 years agoMake frv-tdep.c use new frame mechanisms.
kevinb [Mon, 8 Sep 2003 23:01:28 +0000 (23:01 +0000)]
Make frv-tdep.c use new frame mechanisms.

20 years ago* dwarf2-frame.c (read_encoded_value): Add support for
kettenis [Mon, 8 Sep 2003 22:43:40 +0000 (22:43 +0000)]
* dwarf2-frame.c (read_encoded_value): Add support for
DW_EH_PE_aligned encoding.

20 years ago* passwe.cc (getpwnam_r): Initialize pw_comment field.
cgf [Mon, 8 Sep 2003 22:03:20 +0000 (22:03 +0000)]
* passwe.cc (getpwnam_r): Initialize pw_comment field.

20 years ago* passwd.cc (getpwuid_r32): Initialize pw_comment field.
cgf [Mon, 8 Sep 2003 21:44:52 +0000 (21:44 +0000)]
* passwd.cc (getpwuid_r32): Initialize pw_comment field.

20 years ago2003-09-08 Michael Chastain <mec@shout.net>
chastain [Mon, 8 Sep 2003 21:30:52 +0000 (21:30 +0000)]
2003-09-08  Michael Chastain  <mec@shout.net>

* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.

20 years ago* sigproc.cc (wait_sig_inited): Remove assertion since it is racy.
cgf [Mon, 8 Sep 2003 21:10:22 +0000 (21:10 +0000)]
* sigproc.cc (wait_sig_inited): Remove assertion since it is racy.