OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago* configure.ac: Remove ia64-*-aix* junk.
kettenis [Fri, 21 Jan 2005 13:18:12 +0000 (13:18 +0000)]
* configure.ac: Remove ia64-*-aix* junk.
* configure: Regenerate.

19 years ago* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
kettenis [Fri, 21 Jan 2005 13:14:01 +0000 (13:14 +0000)]
* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
and BFD_NEED_DECLARATION.  Don't check if a declaration of strdup
is necessary.
* configure, config.in: Regenerate.
* utils.c: Adjust for usage of AC_CHECK_DECLS instead of
BFD_NEED_DECLARATION.  Never provide a prototype for
caninicalize_file_name.
* gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
BFD_NEED_DECLARATION.

19 years ago* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
kettenis [Fri, 21 Jan 2005 13:13:49 +0000 (13:13 +0000)]
* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
and BFD_NEED_DECLARATION.  Don't check if a declaration of strdup
is necessary.
* configure, config.in: Regenerate.
* utils.c: Adjust for usage of AC_CHECK_DECLS instead of
BFD_NEED_DECLARATION.  Never provide a prototype for
caninicalize_file_name.
* gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
BFD_NEED_DECLARATION.

19 years ago * ldgram.y (AS_NEEDED): New token.
jakub [Fri, 21 Jan 2005 12:04:22 +0000 (12:04 +0000)]
* ldgram.y (AS_NEEDED): New token.
(input_list): Handle AS_NEEDED ( input_list ).
* ldlex.l (AS_NEEDED): Add.
* ld.texinfo: Document AS_NEEDED ().
* NEWS: Mention AS_NEEDED ().

19 years ago* configure.ac (targ_archs): Use standard autoconf check for
kettenis [Fri, 21 Jan 2005 11:53:13 +0000 (11:53 +0000)]
* configure.ac (targ_archs): Use standard autoconf check for
"struct stat.st_blocks" instead of rolling our own.
* configure: Regenerated.
* acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
* config.in: Regenerated.

19 years agoRemove stray newline.
kettenis [Fri, 21 Jan 2005 11:50:26 +0000 (11:50 +0000)]
Remove stray newline.

19 years ago * as.h: Remove #if 0'd code.
bje [Fri, 21 Jan 2005 05:54:37 +0000 (05:54 +0000)]
* as.h: Remove #if 0'd code.
* atof-generic.c (atof_generic): Likewise.
* ecoff.c (ecoff_directive_frame): Likewise.
* frags.h (FRAG_APPEND_1_CHAR): Likewise.
* itbl-ops.c (itbl_add_reg): Likewise.
* listing.c (calc_hex): Likewise.
* read.c (MASK_CHAR): Likewise.
* subsegs.c (subsegs_print_statistics): Likewise.
* symbols.c (indent): Likewise.
* write.c (write_relocs): Likewise.
(write_object_file): Likewise.
(relax_frag): Likewise.

19 years ago * dlltool.c (dump_iat): Remove unused function.
bje [Fri, 21 Jan 2005 05:40:23 +0000 (05:40 +0000)]
* dlltool.c (dump_iat): Remove unused function.
(gen_exp_file): Remove #if 0'd code.
(make_one_lib_file): Likewise.
* srconv.c: Remove #if 0'd code throughout.
* size.c (lprint_number): Remove.
(print_berkeley_format): Remove #if 0'd code.
* ar.c (do_quick_append): Remove declaration and definiton.
(main): Remove #if 0'd code.
* filemode.c (filemodestring): Remove #if 0'd function.
* sysdump.c (unit_info_list): Remove function.
(object_body_list): Likewise.
(program_structure): Likewise.
(debug_list): Likewise.
(module): Remove #if 0'd code.

19 years ago * ldlang.c (lang_reasonable_defaults): Remove.
bje [Fri, 21 Jan 2005 04:15:58 +0000 (04:15 +0000)]
* ldlang.c (lang_reasonable_defaults): Remove.
(lang_process): Don't call lang_reasonable_defaults.

* ldexp.c (exp_assop): Remove #if 0'd code.
(exp_print_tree): Likewise.
* ldlang.c (lang_memory_region_lookup): Likewise.
(open_output): Likewise.
(lang_do_assignments_1): Likewise.
(lang_place_orphans): Likewise.
(lang_enter_output_section_statement): Likewise.
(lang_reasonable_defaults): Likewise.
* ldlang.h (struct lang_input_statement_struct): Likewise.
* mri.c (mri_draw_tree): Likewise.
(mri_load): Likewise.
* pe-dll.c (generate_reloc): Likewise.
(make_import_fixup_entry): Likewise.
(pe_as16): Likewise.
* emultempl/beos.em (set_pe_subsystem): Likewise.
* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
* emultempl/pe.em: Likewise.
* emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.

19 years ago * aout-encap.c: Remove unused file.
bje [Fri, 21 Jan 2005 03:27:51 +0000 (03:27 +0000)]
* aout-encap.c: Remove unused file.

19 years ago * BRANCHES: Add binutils-2_15-branch.
mmitchel [Fri, 21 Jan 2005 03:14:37 +0000 (03:14 +0000)]
* BRANCHES: Add binutils-2_15-branch.

19 years ago*** empty log message ***
gdbadmin [Fri, 21 Jan 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* configure.ac: Modernize checks for `long long' and `long double'
kettenis [Thu, 20 Jan 2005 23:57:20 +0000 (23:57 +0000)]
* configure.ac: Modernize checks for `long long' and `long double'
support.
* configure: Regenerated.
* acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
(PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
* config.in: Regenerated.

19 years ago * gmon.h, alpha.c, vax.c: Remove #if 0'd chunks.
bje [Thu, 20 Jan 2005 23:37:57 +0000 (23:37 +0000)]
* gmon.h, alpha.c, vax.c: Remove #if 0'd chunks.

19 years ago* opcodes.scm (gen-switch): Use concat instead of string-map.
jimb [Thu, 20 Jan 2005 23:12:50 +0000 (23:12 +0000)]
* opcodes.scm (gen-switch): Use concat instead of string-map.

19 years agodaily update
amodra [Thu, 20 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* utils.scm (concat): New function.
jimb [Thu, 20 Jan 2005 22:57:10 +0000 (22:57 +0000)]
* utils.scm (concat): New function.
* insn.scm (-sub-insn-make!): Use concat instead of string-map.
* rtl.scm (rtx-dump): Same.
* semantics.scm (semantic-compile): Same.

19 years ago* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
kettenis [Thu, 20 Jan 2005 22:36:02 +0000 (22:36 +0000)]
* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
(HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
* configure.ac: Remove checks for HP-UX save_state structure.
* configure: Regenerated.

19 years ago * MAINTAINERS: Document branch policy.
mmitchel [Thu, 20 Jan 2005 21:59:05 +0000 (21:59 +0000)]
* MAINTAINERS: Document branch policy.
* BRANCHES: New file.

19 years ago2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 20 Jan 2005 19:56:26 +0000 (19:56 +0000)]
2005-01-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/time/strftime.c (strftime): Change %r and %x to be compliant
        to POSIX standard for "C" locale.  Allow %E and %O modifiers
        to be ignored as long as they precede valid specifiers according
        to POSIX.

19 years ago * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
mmitchel [Thu, 20 Jan 2005 19:37:48 +0000 (19:37 +0000)]
* Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
(earmelfb_linux_eabi.c): New target.
* Makefile.in: Regenerated.
* configure.tgt (arm*b-*-linux-gnueabi): New target.
* emulparams/armelfb_linux_eabi.sh: New file.

19 years ago2005-01-19 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Thu, 20 Jan 2005 17:31:03 +0000 (17:31 +0000)]
2005-01-19  Shaun Jackman  <sjackman@gmail.com>

        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
        environment variable is set.

19 years ago(std_longopts): Add an entry for "--a" in order to prevent getopt_long_only()
nickc [Thu, 20 Jan 2005 15:35:55 +0000 (15:35 +0000)]
(std_longopts): Add an entry for "--a" in order to prevent getopt_long_only()
  from considering -a as an abbreviation for --alternate.
(parse_args): Fix the parsing of -a=<file>.

19 years ago PR ld/676
amodra [Thu, 20 Jan 2005 07:47:46 +0000 (07:47 +0000)]
PR ld/676
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Handle bfd_elf32_hppa_nbsd_vec.

19 years ago * ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel.
amodra [Thu, 20 Jan 2005 06:54:47 +0000 (06:54 +0000)]
* ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel.

19 years ago PR gas/684
amodra [Thu, 20 Jan 2005 06:46:41 +0000 (06:46 +0000)]
PR gas/684
* read.c (s_incbin): Adjust default count for skip.  Check validity
of count and skip rigorously.

19 years ago*** empty log message ***
gdbadmin [Thu, 20 Jan 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoFix misspelling in previous checkin
fnf [Wed, 19 Jan 2005 23:43:00 +0000 (23:43 +0000)]
Fix misspelling in previous checkin

19 years ago 2005-01-19 Fred Fish <fnf@specifixinc.com>
fnf [Wed, 19 Jan 2005 23:35:25 +0000 (23:35 +0000)]
2005-01-19  Fred Fish  <fnf@specifixinc.com>
* NEWS: Make note of the new MIPS disassembly option "no-aliases".
* doc/binutils.texi (objdump): Document the "no-aliases"
disassembly option.

19 years ago 2005-01-19 Fred Fish <fnf@specifixinc.com>
fnf [Wed, 19 Jan 2005 23:33:27 +0000 (23:33 +0000)]
2005-01-19  Fred Fish  <fnf@specifixinc.com>
* config/tc-mips.c (dummy_opcode): Add init for new struct member.

19 years ago 2005-01-19 Fred Fish <fnf@specifixinc.com>
fnf [Wed, 19 Jan 2005 23:31:14 +0000 (23:31 +0000)]
2005-01-19  Fred Fish  <fnf@specifixinc.com>
* mips-dis.c (no_aliases): New disassembly option flag.
(set_default_mips_dis_options): Init no_aliases to zero.
(parse_mips_dis_option): Handle no-aliases option.
(print_insn_mips): Ignore table entries that are aliases
if no_aliases is set.
(print_insn_mips16): Ditto.
* mips-opc.c (mips_builtin_opcodes): Add initializer column for
new pinfo2 member and add INSN_ALIAS initializers as needed.  Also
move WR_MACC and RD_MACC initializers from pinfo to pinfo2.
* mips16-opc.c (mips16_opcodes): Ditto.

19 years ago 2005-01-19 Fred Fish <fnf@specifixinc.com>
fnf [Wed, 19 Jan 2005 23:29:11 +0000 (23:29 +0000)]
2005-01-19  Fred Fish  <fnf@specifixinc.com>
* mips.h (struct mips_opcode): Add new pinfo2 member.
(INSN_ALIAS): New define for opcode table entries that are
specific instances of another entry, such as 'move' for an 'or'
with a zero operand.
(INSN_READ_MDMX_ACC): Redefine from 0 to 0x2.
(INSN_WRITE_MDMX_ACC): Redefine from 0 to 0x4.

19 years agodaily update
amodra [Wed, 19 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-19 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 19 Jan 2005 22:54:48 +0000 (22:54 +0000)]
2005-01-19  Andrew Cagney  <cagney@gnu.org>

* utils.c (quit): Simplify, call fatal.
* exceptions.c: Include "serial.h"
(print_flush): Mimic flush code found in utils.c:quit.
* Makefile.in: Update dependencies.

19 years ago* configure.tgt: Set build_rdi_share to "yes" on those targets
jimb [Wed, 19 Jan 2005 22:04:28 +0000 (22:04 +0000)]
* configure.tgt: Set build_rdi_share to "yes" on those targets
that use that debugging protocol.
Set build_nlm to yes to build NLM stub for Netware targets.
* configure.ac: If build_rdi_share is "yes", then configure the
rdi-share subdirectory.
If build_nlm is "yes", the configure the "nlm" subdirectory.
* configure: Regenerated.

19 years ago* rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
jimb [Wed, 19 Jan 2005 21:27:50 +0000 (21:27 +0000)]
* rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
autoconf 2.59 and automake 1.9.3.

19 years ago* rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
jimb [Wed, 19 Jan 2005 21:27:38 +0000 (21:27 +0000)]
* rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
autoconf 2.59 and automake 1.9.3.

19 years ago2005-01-19 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 19 Jan 2005 21:15:36 +0000 (21:15 +0000)]
2005-01-19  Andrew Cagney  <cagney@gnu.org>

* exceptions.h (deprecated_throw_reason): Rename throw_reason.
* exceptions.c (deprecated_throw_reason): Rename throw_reason.
* utils.c (internal_verror, quit): Update.
* remote-sds.c (interrupt_query): Update.
* remote-mips.c (mips_error, mips_kill): Update.
* remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
* remote.c (interrupt_query): Update.
* ocd.c (interrupt_query): Update.
* nto-procfs.c (interrupt_query): Update.
* monitor.c (monitor_interrupt_query): Update.
* breakpoint.c (break_command_1): Update.

19 years ago * Makefile.in: Regenerate.
kseitz [Wed, 19 Jan 2005 19:21:46 +0000 (19:21 +0000)]
    * Makefile.in: Regenerate.
        * aclocal.m4: Regenerate.
        * plugins/Makefile.in; Regenerate.
        * plugins/aclocal.m4: Regenerate.

19 years ago2005-01-19 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 19 Jan 2005 18:40:10 +0000 (18:40 +0000)]
2005-01-19  Andrew Cagney  <cagney@gnu.org>

* gdb.stabs/Makefile.in (Makefile): Update dependencies -
configure.ac not configure.in.

19 years ago2005-01-19 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 19 Jan 2005 16:57:46 +0000 (16:57 +0000)]
2005-01-19  Andrew Cagney  <cagney@gnu.org>

* gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
of powerpc*-*-*.
* gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
* gdb.base/list.exp (test_list_function)
(test_list_filename_and_function): Ditto.
* gdb.base/callfuncs.exp (do_function_calls): Ditto.

19 years ago2005-01-19 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Wed, 19 Jan 2005 16:44:39 +0000 (16:44 +0000)]
2005-01-19  Shaun Jackman  <sjackman@gmail.com>

        * tzset_r.c (_tzname): Add a comma.

19 years ago2005-01-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 19 Jan 2005 16:15:04 +0000 (16:15 +0000)]
2005-01-19  H.J. Lu  <hongjiu.lu@intel.com>

PR 679
* elflink.c (_bfd_elf_dynamic_symbol_p): Only protected
non-function symbols are local.
(_bfd_elf_symbol_refs_local_p): Likewise.

19 years ago2005-01-19 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 19 Jan 2005 16:09:38 +0000 (16:09 +0000)]
2005-01-19  Andrew Cagney  <cagney@gnu.org>

* infrun.c: (resume, proceed, wait_for_inferior)
(handle_inferior_event, stop_stepping)
(prepare_to_wait): Write debug output to gdb_stdlog.

19 years ago * read.c (convert_to_bignum): New function, split out from...
rsandifo [Wed, 19 Jan 2005 11:53:48 +0000 (11:53 +0000)]
* read.c (convert_to_bignum): New function, split out from...
(emit_expr): ...here.  Handle the case where X_add_number is
positive and the input value is negative.
(output_big_sleb128): Fix setting of continuation bit.  Check whether
the final byte needs to be sign-extended.  Fix size-shrinking loop.
(emit_leb128_expr): When generating a signed leb128, see whether the
sign of an O_constant's X_add_number matches the sign of the input
value.  Use a bignum if not.

19 years ago * ldmain.h (ld_sysroot): Change type to a constant string.
rsandifo [Wed, 19 Jan 2005 11:42:48 +0000 (11:42 +0000)]
* ldmain.h (ld_sysroot): Change type to a constant string.
* ldmain.c (ld_sysroot): Likewise.
(get_relative_sysroot, get_sysroot): New functions, adding command-line
support for changing the sysroot.
(main): Call the new functions.
* lexsup.c (OPTION_SYSROOT): New.
(ld_options): Add --sysroot.
(parse_args): Add a dummy handler for it.
* ld.texinfo (--sysroot): Document.
* NEWS: Mention the new --sysroot option.

19 years ago* inf-ptrace.c (inf_ptrace_prepare_to_store)
kettenis [Wed, 19 Jan 2005 10:04:30 +0000 (10:04 +0000)]
* inf-ptrace.c (inf_ptrace_prepare_to_store)
(inf_ptrace_post_startup_inferior)
(inf_ptrace_acknowledge_created_inferior)
(inf_ptrace_insert_fork_catchpoint)
(inf_ptrace_remove_fork_catchpoint)
(inf_ptrace_insert_vfork_catchpoint):
(inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
(inf_ptrace_insert_exec_catchpoint)
(inf_ptrace_remove_exec_catchpoint): Remove functions.
(inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
(inf_ptrace_target): Don't set to_prepare_to_store,
to_post_startup_inferior, to_acknowledge_created_inferior,
to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
to_follow_fork, to_insert_exec_catchpoint,
to_remove_exec_catchpoint.

19 years ago2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
kcook [Wed, 19 Jan 2005 00:34:56 +0000 (00:34 +0000)]
2005-01-17  Kelley Cook  <kcook@gcc.gnu.org>

* install-sh, config.sub: Import from upstream.

19 years ago2005-01-13 Kelley Cook <kcook@gcc.gnu.org>
kcook [Wed, 19 Jan 2005 00:32:57 +0000 (00:32 +0000)]
2005-01-13  Kelley Cook  <kcook@gcc.gnu.org>

PR bootstrap/18222
* Makefile.def: Pass CPPFLAGS_FOR_TARGET.
* Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET.
* Makefile.in: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Wed, 19 Jan 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

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

19 years ago2005-01-18 Hans-Peter Nilsson <hp@axis.com>
jjohnstn [Tue, 18 Jan 2005 19:27:44 +0000 (19:27 +0000)]
2005-01-18  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]:
        Prefix symbol in section name with __SYMBOL_PREFIX.  Do not use
        __make_section_unallocated.  Mark magic variable as used.

19 years ago2005-01-18 Hans-Peter Nilsson <hp@axis.com>
jjohnstn [Tue, 18 Jan 2005 19:23:36 +0000 (19:23 +0000)]
2005-01-18  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/configure.in (libc_cv_asm_previous_directive): Set
        cache-id variable.
        (libc_cv_asm_popsection_directive): Ditto.
        (libc_cv_section_attributes): Ditto.
        (libc_symbol_prefix): Rename from libc_dollar_prefix.  Check for
        "_" as well, and set __SYMBOL_PREFIX accordingly.
        * libnosys/configure: Regenerate.

19 years ago2005-01-18 Hans-Peter Nilsson <hp@axis.com>
jjohnstn [Tue, 18 Jan 2005 19:00:26 +0000 (19:00 +0000)]
2005-01-18  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/Makefile.in (LD, AS): Correct obsoleted suffix: Say
        as-new and ld-new, not as.new and ld.new.

19 years ago * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
aldyh [Tue, 18 Jan 2005 17:08:50 +0000 (17:08 +0000)]
* libc/machine/powerpc/vfprintf.c: Use _REENT when calling
_VFPRINTF_R.

19 years ago2005-01-18 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 18 Jan 2005 17:04:24 +0000 (17:04 +0000)]
2005-01-18  Andrew Cagney  <cagney@gnu.org>

* target.h (struct target_ops): Change return type of
to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
to_insert_exec_catchpoint to void.
(child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
(child_insert_exec_catchpoint): Change return type to void.
* target.c (update_current_target): Update.
(debug_to_insert_fork_catchpoint)
(debug_to_insert_vfork_catchpoint)
(debug_to_insert_exec_catchpoint): Update.
* inf-child.c (inf_child_insert_fork_catchpoint)
(inf_child_insert_vfork_catchpoint)
(inf_child_insert_exec_catchpoint): Update.
* breakpoint.c (insert_catchpoint): Update, do not throw an error.
* linux-nat.c (child_insert_fork_catchpoint)
(child_insert_vfork_catchpoint)
(child_insert_exec_catchpoint): Update.
* inftarg.c (child_insert_fork_catchpoint)
(child_insert_vfork_catchpoint,)
(child_insert_exec_catchpoint): Update.

19 years ago2005-01-18 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 18 Jan 2005 16:15:39 +0000 (16:15 +0000)]
2005-01-18  Andrew Cagney  <cagney@gnu.org>

* remote.c (remote_open_1): Use throw_exception.

19 years ago2005-01-18 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 18 Jan 2005 16:15:30 +0000 (16:15 +0000)]
2005-01-18  Andrew Cagney  <cagney@gnu.org>

* remote.c (remote_open_1): Use throw_exception.

19 years ago * autoload.cc (CoInitialize): Remove.
corinna [Tue, 18 Jan 2005 13:00:17 +0000 (13:00 +0000)]
* autoload.cc (CoInitialize): Remove.
(CoUninitialize): Remove.
(CoCreateInstance): Remove.
(CoTaskMemFree): Add.
(SHGetDesktopFolder): Add.
* path.cc (shortcut_header): Remove.
(shortcut_initalized): Remove.
(GUID_shortcut): New static GUID.
(struct win_shortcut_hdr): New struct describing Windows shortcut
header structure.
(symlink_worker): Rewrite creating Windows shortcuts.  Create
ITEMIDLIST if target exists.  Only write once.
(cmp_shortcut_header): Use win_shortcut_hdr structure for comparison.
(check_shortcut): Rewrite to read only once from file.  Allow skipping
an ITIMIDLIST in the file.

19 years agobfd/
amodra [Tue, 18 Jan 2005 08:51:41 +0000 (08:51 +0000)]
bfd/
* bfd.c (bfd_link_just_syms): Add abfd param.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
(lang_place_orphans): Don't abort on just_syms_flag, instead call
bfd_link_just_syms.

19 years ago * lib/user32.def (MonitorFromPoint}: Correct suffix.
dannysmith [Tue, 18 Jan 2005 07:14:52 +0000 (07:14 +0000)]
* lib/user32.def (MonitorFromPoint}: Correct suffix.

19 years ago * generic/gdbtk-varobj.c (variable_value): Remove all instances
kseitz [Tue, 18 Jan 2005 00:14:38 +0000 (00:14 +0000)]
    * generic/gdbtk-varobj.c (variable_value): Remove all instances
        of error_last_message. It's gone.

        * generic/gdbtk-wrapper.c: Include exceptions.h
        * generic/gdbtk-cmds.c: Likewise.
        * generic/gdbtk-interp.c: Likewise.
        (gdbtk_interpreter_exec): Change return type to struct
        exception. Return exception_none.

19 years ago * generic/gdbtk-varobj.c (variable_value): Remove all instances
kseitz [Tue, 18 Jan 2005 00:14:23 +0000 (00:14 +0000)]
    * generic/gdbtk-varobj.c (variable_value): Remove all instances
        of error_last_message. It's gone.

        * generic/gdbtk-wrapper.c: Include exceptions.h
        * generic/gdbtk-cmds.c: Likewise.
        * generic/gdbtk-interp.c: Likewise.
        (gdbtk_interpreter_exec): Change return type to struct
        exception. Return exception_none.

19 years ago*** empty log message ***
gdbadmin [Tue, 18 Jan 2005 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Mon, 17 Jan 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-17 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 17 Jan 2005 19:54:41 +0000 (19:54 +0000)]
2005-01-17  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo: Fix spelling, infinte  ->  infinite.

19 years ago2005-01-13 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 17 Jan 2005 19:49:06 +0000 (19:49 +0000)]
2005-01-13  Michael Snyder  <msnyder@redhat.com>

* mips-linux-tdep.c: Whitespace tweaks.

19 years ago2005-01-17 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 17 Jan 2005 18:04:09 +0000 (18:04 +0000)]
2005-01-17  Andrew Cagney  <cagney@gnu.org>

* configure.ac: For mips*-*-* and mn10300*-*-* configure the
common directory.  Remove sparc*-*-* from list.

19 years ago * elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.
rsandifo [Mon, 17 Jan 2005 17:44:30 +0000 (17:44 +0000)]
* elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.
(_bfd_elf_discard_section_eh_frame): Use them to interpret the CFA
instructions.  If the amount of padding is known, reduce the size
of the CIE or FDE by that amount.

19 years ago * elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and
rsandifo [Mon, 17 Jan 2005 17:41:43 +0000 (17:41 +0000)]
* elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and
augmentation_size.  Use bfd_signed_vmas for data_align.
* elf-eh-frame.c (read_uleb128, read_sleb128): Delete in favor of...
(read_byte, skip_leb128, read_uleb128, read_sleb128): ...these new
functions.  Don't read past the end of the enclosing CIE or FDE.
(skip_bytes): New utility function.
(_bfd_elf_discard_section_eh_frame): Use new functions, adding more
sanity checking.
(_bfd_elf_write_section_eh_frame): Use new functions.

19 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use an
rsandifo [Mon, 17 Jan 2005 17:39:25 +0000 (17:39 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use an
assert-style REQUIRE() macro to handle sanity checks.

19 years ago2005-01-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 17 Jan 2005 17:11:54 +0000 (17:11 +0000)]
2005-01-17  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf2.c (dwarf2_debug): Move info_ptr_unit to ...
(comp_unit): Here.
(read_unsigned_leb128): Removed.
(read_signed_leb128): Removed.
(find_abstract_instance_name): Updated.
(parse_comp_unit): Accept info_ptr_unit.
(_bfd_dwarf2_find_nearest_line): Set info_ptr_unit for each
comp unit and pass it to parse_comp_unit.

* elf-eh-frame.c (read_unsigned_leb128): Moved to ...
(read_signed_leb128): Moved to ...
* libbfd.c: Here.

* libbfd-in.h (read_unsigned_leb128): New prototype.
(read_signed_leb128): Likewise.
* libbfd.h: Regenerated.

19 years ago * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
corinna [Mon, 17 Jan 2005 16:47:55 +0000 (16:47 +0000)]
* infcmd.c (attach_command): Call CLEAR_SOLIB if available.

19 years ago * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
corinna [Mon, 17 Jan 2005 16:47:41 +0000 (16:47 +0000)]
* infcmd.c (attach_command): Call CLEAR_SOLIB if available.

19 years agoPR binutils/647
nickc [Mon, 17 Jan 2005 16:24:12 +0000 (16:24 +0000)]
PR binutils/647
* rcparse.y (RCDATA): Allow a filename to be supplied as the parameter.
  Parse it with define_rcdata_file().
* resrc.c (define_rcdata_file): New function.
* windres.h: Provide a prototype for the new function.

* resrc.c (define_user_file): Fix typo by replacing "font file" with "file".

19 years ago2005-01-17 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 17 Jan 2005 16:17:33 +0000 (16:17 +0000)]
2005-01-17  Andrew Cagney  <cagney@gnu.org>

* top.h (source_error, source_pre_error): Delete declaration.
* cli/cli-script.c (source_error_allocated, source_error): Delete.
(script_from_file, source_cleanup_lines): Do not manipulate
source_error_allocated, error_pre_print and source_error.
(struct source_cleanup_lines_args): Delete fields old_pre_error,
and old_error_pre_print.
* top.c (source_error_allocated, source_error)
(source_pre_error): Delete.
(command_line_input): Do not set error_pre_print.
* event-top.c (command_line_handler): Do not set error_pre_print.

19 years ago2005-01-17 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 17 Jan 2005 16:17:23 +0000 (16:17 +0000)]
2005-01-17  Andrew Cagney  <cagney@gnu.org>

* top.h (source_error, source_pre_error): Delete declaration.
* cli/cli-script.c (source_error_allocated, source_error): Delete.
(script_from_file, source_cleanup_lines): Do not manipulate
source_error_allocated, error_pre_print and source_error.
(struct source_cleanup_lines_args): Delete fields old_pre_error,
and old_error_pre_print.
* top.c (source_error_allocated, source_error)
(source_pre_error): Delete.
(command_line_input): Do not set error_pre_print.
* event-top.c (command_line_handler): Do not set error_pre_print.

19 years agoFix SH2A machine variants in order to correctly select instruction inheritance
nickc [Mon, 17 Jan 2005 14:08:03 +0000 (14:08 +0000)]
Fix SH2A machine variants in order to correctly select instruction inheritance

19 years ago * include/sys/stat.h (struct __stat64): Change st_size type to
dannysmith [Mon, 17 Jan 2005 05:03:16 +0000 (05:03 +0000)]
* include/sys/stat.h (struct __stat64): Change st_size type to
 __int64.
* include/wchar.h (struct __stat64): Change st_size type to __int64.

19 years ago* pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state.
cgf [Mon, 17 Jan 2005 04:12:07 +0000 (04:12 +0000)]
* pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state.
* pinfo.cc (pinfo::exit): Use renamed function.
(proc_waiter): Ditto.  Make a copy of input argument to avoid problems when
procs array is shuffled.  Flag when copy is made so that remove_proc knows when
it is safe to reshuffle.
* sigproc.cc (proc_terminate): Don't flag process_state as PID_EXITED.
(remove_proc): Wait for waiter to finish copying pinfo element before moving it
(an actual wait should be an extremely rare event).

19 years ago2005-01-16 Jason Thorpe <thorpej@netbsd.org>
thorpej [Mon, 17 Jan 2005 00:01:46 +0000 (00:01 +0000)]
2005-01-16  Jason Thorpe  <thorpej@netbsd.org>

        * MAINTAINERS: Update my email address.

19 years ago*** empty log message ***
gdbadmin [Mon, 17 Jan 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-01-16 Jason Thorpe <thorpej@netbsd.org>
thorpej [Sun, 16 Jan 2005 23:47:39 +0000 (23:47 +0000)]
2005-01-16  Jason Thorpe  <thorpej@netbsd.org>

        * MAINTAINERS: Update my email address.

19 years agodaily update
amodra [Sun, 16 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* configure.ac: Provide prerequisite headers when checking
kettenis [Sun, 16 Jan 2005 22:51:47 +0000 (22:51 +0000)]
* configure.ac: Provide prerequisite headers when checking
<term.h>.
* configure: Regenerate.

19 years ago* amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
kettenis [Sun, 16 Jan 2005 21:53:33 +0000 (21:53 +0000)]
* amd64fbsd-tdep.c: Update copyright year.  Include "gdb_assert.h"
and "bsd-uthread.h".
(amd64fbsd_jmp_buf_reg_offset): New variable.
(amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
functions.
(amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
* i386fbsd-tdep.c: Fix typo.
* Makefile.in (amd64fbsd-tdep.o): Update dependencies.
* config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.

19 years ago2005-01-16 Andrew Cagney <cagney@gnu.org>
cagney [Sun, 16 Jan 2005 21:20:04 +0000 (21:20 +0000)]
2005-01-16  Andrew Cagney  <cagney@gnu.org>

* cli/cli-script.c: Include "exceptions.h".
(struct wrapped_read_command_file_args): Define.
(wrapped_read_command_file): New function.
(script_from_file): Replace direct call to read_command_file by
one wrapped by an exception handler.
* exceptions.c (throw_it): Free the old message after creating the
new.
* Makefile.in: Update dependencies.

Index: testsuite/ChangeLog
2005-01-16  Andrew Cagney  <cagney@gnu.org>

* gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.

19 years ago* sparc64fbsd-tdep.c: Update copyright year.
kettenis [Sun, 16 Jan 2005 21:18:45 +0000 (21:18 +0000)]
* sparc64fbsd-tdep.c: Update copyright year.
(sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
functions.
(sparc64fbsd_init_abi): Create register sets with collect
functions.

19 years ago2005-01-16 Andrew Cagney <cagney@gnu.org>
cagney [Sun, 16 Jan 2005 20:30:16 +0000 (20:30 +0000)]
2005-01-16  Andrew Cagney  <cagney@gnu.org>

* gdb.base/source-error.gdb, gdb.base/source.exp: New files.

19 years ago* sparc64fbsd-nat.c: Include "fbsd-nat.h".
kettenis [Sun, 16 Jan 2005 20:29:09 +0000 (20:29 +0000)]
* sparc64fbsd-nat.c: Include "fbsd-nat.h".
(_initialize_sparc64fbsd_nat): Add some extra features to the
generic SPARC target.
* Makefile.in (sparc64fbsd-nat.o): Update dependencies.
* config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
(NAT_FILE): Set to solib.h.
* config/sparc/nm-fbsd.h: Remove file.

19 years ago* sparc64-tdep.c (sparc64_store_arguments): Fix typo.
kettenis [Sun, 16 Jan 2005 20:08:14 +0000 (20:08 +0000)]
* sparc64-tdep.c (sparc64_store_arguments): Fix typo.

19 years ago* sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
kettenis [Sun, 16 Jan 2005 20:06:51 +0000 (20:06 +0000)]
* sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.

19 years ago2005-01-16 Andrew Cagney <cagney@gnu.org>
cagney [Sun, 16 Jan 2005 19:51:49 +0000 (19:51 +0000)]
2005-01-16  Andrew Cagney  <cagney@gnu.org>

* exceptions.c (struct catcher): Delete saved_error_pre_print and
saved_quit_pre_print.
(catcher_init): Delete parameter errstring, do not override the
pre_print strings.
(catcher_pop): Do not restore the pre_print strings.
(catch_exception, catch_exceptions_with_msg, catch_errors)
(catch_command_errors): Update catch_init calls.

19 years ago* Makefile.in (sparc64fbsd-nat.o): Update dependencies.
kettenis [Sun, 16 Jan 2005 17:54:36 +0000 (17:54 +0000)]
* Makefile.in (sparc64fbsd-nat.o): Update dependencies.
* sparc64fbsd-nat.c: Update copyright year.  Include "target.h".

19 years ago* ps.cc (main): Eliminate use of PID_ZOMBIE.
cgf [Sun, 16 Jan 2005 17:13:50 +0000 (17:13 +0000)]
* ps.cc (main): Eliminate use of PID_ZOMBIE.
* strace.cc (main): Recognize new option for displaying hex value of strace
type.
(handle_output_debug_string): Prepend output with hex value of strace message
if -H is specified.

19 years ago* init.cc (dll_entry): Remove unused extern.
cgf [Sun, 16 Jan 2005 17:00:26 +0000 (17:00 +0000)]
* init.cc (dll_entry): Remove unused extern.
* include/sys/cygwin.h: Remove PID_ZOMBIE.
* pinfo.h: Rename EXITCODE_* defines.
(pinfo::set_exit_state): Remove parameter.
* pinfo.cc (set_exit_state): Remove parameter.  Reverse sense of test so that
exitcode is checked for having been set rather than not having been set.  Set
flag when exitcode has been established.  Don't set PID_STATE here.
(pinfo::init): Remove exitcode initialization.
(pinfo::exit): Reflect change in EXITCODE_* naming.  Set flag when exitcode has
been established.  Reflect change in arguments to set_process_state.
(proc_waiter): Reflect change in arguments to set_process_state.  Set
process_state here and only here.
* fhandler_process.cc (fhandler_process::fill_filebuf): Reflect removal of
PID_ZOMBIE define.
(format_process_stat): Ditto.
(format_process_status): Ditto.
* sigproc.cc (pid_exists): Ditto.
(stopped_or_terminated): Ditto.  Make sure that only low-order 16 bits of
exitcode are used.
* spawn.cc (spawn_guts): Reflect change in EXITCODE_* naming.

19 years ago * dlltool.c (set_dll_name_from_def): New function. Strip name
dannysmith [Sun, 16 Jan 2005 09:25:05 +0000 (09:25 +0000)]
* dlltool.c (set_dll_name_from_def): New function.  Strip name
to basename, with warning.
(def_name): Use it.
(def_library): Likwise.
(main): Strip arg of --dllname to basename, with warning.
Only use basename of exp_name when inferring dll_name.

19 years ago * defilep.y (def_name, def_library): Combine into...
dannysmith [Sun, 16 Jan 2005 09:18:34 +0000 (09:18 +0000)]
* defilep.y (def_name, def_library): Combine into...
(def_image_name): New function.  Strip name to basename,
with warning.

19 years ago*** empty log message ***
gdbadmin [Sun, 16 Jan 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself
cgf [Sat, 15 Jan 2005 23:43:41 +0000 (23:43 +0000)]
* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself
fails after I've "execed".