OSDN Git Service

pf3gnuchains/sourceware.git
24 years ago2000-07-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Wed, 19 Jul 2000 14:11:41 +0000 (14:11 +0000)]
2000-07-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        Multiarch the sh target.
* sh-tdep.c:
(sh_generic_reg_names, sh_reg_names,sh3_reg_names, sh3e_reg_names,
  sh_dsp_reg_names, sh3_dsp_reg_names, sh_processor_type_table):
  Remove.
(XMALLOC): Define.
(struct frame_extra_info): Define.
(sh_register_raw_size, sh_register_virtual_size,
  sh_register_virtual_type, sh_register_byte, sh_breakpoint_from_pc,
  sh_frame_saved_pc, sh_skip_prologue,
  sh_nofp_frame_init_saved_regs, sh_fp_frame_init_saved_regs,
  sh_extract_struct_value_address, sh_use_struct_convention,
  sh_store_struct_return, sh_push_arguments, sh_push_return_address,
  sh_saved_pc_after_call, sh_generic_register_name,
  sh_sh_register_name, sh_sh3_register_name, sh_sh3e_register_name,
  sh_sh_dsp_register_name, sh_sh3_dsp_register_name,
  sh_frame_args_address, sh_frame_locals_address,
  sh_coerce_float_to_double, sh_default_store_return_value,
  sh3e_sh4_store_return_value, sh_generic_show_regs,
  sh3_show_regs,sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs,
  sh_dsp_show_regs, sh_register_byte, sh_register_raw_size,
  sh_register_virtual_size, sh_sh3e_register_virtual_type,
  sh_default_register_virtual_type, sh_gdbarch_init): New functions.
(sh_target_architecture_hook, sh_frame_find_saved_regs,
  sh_show_regs): Delete functions.
(sh_frame_chain, sh_find_callers_reg, sh_init_extra_frame_info,
  sh_pop_frame, sh_extract_return_value): Update

* config/sh/tm-sh.h (GDB_MULTI_ARCH): Define to 1.
(struct gdbarch_tdep): Define.
Remove all unnecessary defines.

* remote-e7000.c ({PR,GBR,SR,MACL,VBR,MACH}_REGNUM): Define to -1,
  for h8300 case.
(want_sh,want_nopc_sh,want_nopc_sh3): Make nomenclature
  consistent.
(e7000_fetch_registers): Remove ifdef GDB_TARGET_IS_SH, use
  runtime check instead.
(e7000_wait): Ditto.

* sh3-rom.c (sh3_supply_register): Use gdbarch_tdep to get the SSR
  and SPC register numbers.
(sh3_regnames, sh3e_regnames): Don't specify a size.

* config/h8300/tm-h8300.h: Add comment.

24 years ago#ifdef OBJ_SOM, not #ifdef SOM
amodra [Wed, 19 Jul 2000 06:30:49 +0000 (06:30 +0000)]
#ifdef OBJ_SOM, not #ifdef SOM

24 years agoFix typos.
amodra [Wed, 19 Jul 2000 05:16:11 +0000 (05:16 +0000)]
Fix typos.

24 years agoFix a couple of HPPA SOM test failures.
amodra [Wed, 19 Jul 2000 04:55:13 +0000 (04:55 +0000)]
Fix a couple of HPPA SOM test failures.
Re-enable some tests for hppa-linux.

24 years ago* solib.c (elf_locate_base, info_sharedlibrary_command): Rename
cagney [Wed, 19 Jul 2000 02:55:54 +0000 (02:55 +0000)]
* solib.c (elf_locate_base, info_sharedlibrary_command): Rename
bfd_elf_get_arch_size to bfd_get_arch_size.

24 years agoFix typo.
cgf [Wed, 19 Jul 2000 02:14:19 +0000 (02:14 +0000)]
Fix typo.

24 years ago2000-07-18 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 00:33:45 +0000 (00:33 +0000)]
2000-07-18  H.J. Lu  <hjl@gnu.org>

* common.h (DT_FLAGS_1): Renamed from DT_1_FLAGS.

24 years ago* pe-dll.c (pe_dll_id_target): check object target name also
dj [Wed, 19 Jul 2000 00:04:04 +0000 (00:04 +0000)]
* pe-dll.c (pe_dll_id_target): check object target name also

24 years agoFix expected results to match current assembler output.
nickc [Tue, 18 Jul 2000 22:07:53 +0000 (22:07 +0000)]
Fix expected results to match current assembler output.

24 years agoRename bfd_elf_get_arch_size to bfd_get_arch_size
nickc [Tue, 18 Jul 2000 19:20:12 +0000 (19:20 +0000)]
Rename bfd_elf_get_arch_size  to bfd_get_arch_size
Rename bfd_elf_get_sign_extend_vma  to  bfd_get_sign_extend_vma

24 years agoFix spelling typo.
nickc [Tue, 18 Jul 2000 18:24:21 +0000 (18:24 +0000)]
Fix spelling typo.

24 years ago2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com>
ulfc [Tue, 18 Jul 2000 09:45:26 +0000 (09:45 +0000)]
2000-07-18  Ulf Carlsson  <ulfc@engr.sgi.com>

* elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add
paranthesis in if statement.

24 years agoFrom Richard Henderson <rth@cygnus.com>:
cagney [Tue, 18 Jul 2000 07:47:02 +0000 (07:47 +0000)]
From Richard Henderson <rth@cygnus.com>:
* dwarf2read.c (dwarf2_empty_hash_tables): Renamed from
dwarf2_empty_die_ref_table; zero dwarf2_cached_types as well.
Update all callers.

24 years ago* dll_init.cc (dll_list::alloc): Fix debugging output.
cgf [Tue, 18 Jul 2000 02:26:46 +0000 (02:26 +0000)]
* dll_init.cc (dll_list::alloc): Fix debugging output.

24 years agoUpdate ChangeLog.
cgf [Tue, 18 Jul 2000 00:12:10 +0000 (00:12 +0000)]
Update ChangeLog.

24 years agoDon't merge labels. Don't merge if the symbol isn't constant. Don't call
nickc [Mon, 17 Jul 2000 23:27:31 +0000 (23:27 +0000)]
Don't merge labels. Don't merge if the symbol isn't constant. Don't call
S_SET_EXTERNAL if the storage class is already set.

24 years ago * scripttempl/elf.sc (.init): Only do ${INIT_START} and
hp [Mon, 17 Jul 2000 22:41:07 +0000 (22:41 +0000)]
* scripttempl/elf.sc (.init): Only do ${INIT_START} and
${INIT_END} if relocating.
(.fini): Likewise ${FINI_START} and ${FINI_END}.

24 years agoAdditions due to recent changes
nickc [Mon, 17 Jul 2000 21:41:40 +0000 (21:41 +0000)]
Additions due to recent changes

24 years agoFix formatting.
nickc [Mon, 17 Jul 2000 21:37:02 +0000 (21:37 +0000)]
Fix formatting.

24 years agoFix formatting.
nickc [Mon, 17 Jul 2000 21:24:35 +0000 (21:24 +0000)]
Fix formatting.

24 years agoFix formatting.
nickc [Mon, 17 Jul 2000 21:06:14 +0000 (21:06 +0000)]
Fix formatting.

24 years agoFix formatting
nickc [Mon, 17 Jul 2000 20:59:47 +0000 (20:59 +0000)]
Fix formatting

24 years agomodify error message
dberlin [Mon, 17 Jul 2000 19:41:10 +0000 (19:41 +0000)]
modify error message

24 years ago2000-07-17 Koundinya K <kk@ddeorg.soft.net>
ulfc [Mon, 17 Jul 2000 19:39:40 +0000 (19:39 +0000)]
2000-07-17  Koundinya K  <kk@ddeorg.soft.net>

Enable the support for Traditional MIPS.
* elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand
return ict_none appropriately for traditional mips targets.
(STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips.
(STUB_MOVE): Conditionalize for traditonal mips.
(STUB_LI16): Likewise.
(_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making
room for RTPROC header.
(_bfd_mips_elf_modify_segment_map): For a normal mips executable set
the permission for the PT_DYNAMIC as read, write and execute.
(mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING
for traditonal mips.
(_bfd_mips_elf_create_dynamic_sections): Add the symbol
_DYNAMIC_LINKING for traditonal mips.
(_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP
in case of traditonal mips.
(_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT
entry is required. For a function if PLT is not required then set the
corresponding hash table entry to 0.
(_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for
traditonal mips.
(_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a
shared object set the value to 0.
(_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol
_DYNAMIC_LINKING for traditonal mips.
(_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP
for traditonal mips.

24 years agoThroughout, eliminate third argument to path_conv and use new PC_* constants
cgf [Mon, 17 Jul 2000 19:18:21 +0000 (19:18 +0000)]
Throughout, eliminate third argument to path_conv and use new PC_* constants
for second argument.
* path.h: Generalize SYMLINK_* constants to PC_*.
(path_conv): Create a new method.  Fold third argument into second.
* dll_init.cc (dll_list::alloc): Try harder to find space to allocate dll
struct.
(dll_dllcrt0): Don't check sanity if we've already called dll_crt0.
* path.cc (path_conv::check): Don't check for a null or empty path unless
specifically told with a flag setting.
(check_null_empty_path): New function, adapted from macro.
* syscalls.cc (_rename): Use already-determined file attributes rather than
checking again.
* lib/cygwin/cygwin_attach.dll.c (cygwin_attach_dll): Use a static per_process
structure since this is apparently supposed to be zeroed.
* lib/cygwin_crt0.c (cygwin_crt0): Zero per_process structure sent to older
DLLs.

24 years ago* src/ld/emultempl/pe.em (gld_*_open_dynamic_archive): New search
dj [Mon, 17 Jul 2000 18:59:57 +0000 (18:59 +0000)]
* src/ld/emultempl/pe.em (gld_*_open_dynamic_archive): New search
order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
errors introduced by the old dynamic lib search order.

24 years ago* pe-dll.c (process_def_file): auto-export data items also
dj [Mon, 17 Jul 2000 18:40:47 +0000 (18:40 +0000)]
* pe-dll.c (process_def_file): auto-export data items also
(pe_process_import_defs): also see if _imp_ form needed

24 years ago2000-07-17 matthew green <mrg@redhat.com>
jtc [Mon, 17 Jul 2000 18:11:56 +0000 (18:11 +0000)]
2000-07-17  matthew green  <mrg@redhat.com>

        * config/sparc/nm-nbsd.h (GDB_GREGSET_T, GDB_FPREGSET_T): Define.

24 years ago* new parsing option
fche [Mon, 17 Jul 2000 17:51:18 +0000 (17:51 +0000)]
* new parsing option

2000-07-17  Frank Ch. Eigler  <fche@redhat.com>

* expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
is defined.

24 years ago Patch suggested by Eric Fifer <EFifer@sanwaint.com>
corinna [Mon, 17 Jul 2000 17:42:00 +0000 (17:42 +0000)]
    Patch suggested by Eric Fifer <EFifer@sanwaint.com>
        * poll.cc (poll): Fix erroneous negations.

24 years ago * spu.c: Rewrite almost everything; add enum generation, C++
shebs [Mon, 17 Jul 2000 17:14:48 +0000 (17:14 +0000)]
* spu.c: Rewrite almost everything; add enum generation, C++
output, unique global name generation, more types of expressions.
* README: Update to reflect changes.

24 years ago * environ.cc (setenv): Use __cygwin_environ instead of
corinna [Mon, 17 Jul 2000 15:59:27 +0000 (15:59 +0000)]
    * environ.cc (setenv): Use __cygwin_environ instead of
        environ after reallocating environment space.

24 years ago * testsuite/regress-demangle (failed test): Show result and
hp [Mon, 17 Jul 2000 10:45:54 +0000 (10:45 +0000)]
* testsuite/regress-demangle (failed test): Show result and
expected output.
(From GCC.)

24 years agoCast integers into pointers before converting them into canonical
cagney [Mon, 17 Jul 2000 03:39:34 +0000 (03:39 +0000)]
Cast integers into pointers before converting them into canonical
addresses.

24 years ago* gdb.base/exprs.exp: Test casts to a pointer including over and
cagney [Mon, 17 Jul 2000 02:56:12 +0000 (02:56 +0000)]
* gdb.base/exprs.exp: Test casts to a pointer including over and
underflow.

24 years ago* _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error.
cgf [Mon, 17 Jul 2000 00:24:55 +0000 (00:24 +0000)]
* _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error.

24 years ago2000-07-16 H.J. Lu (hjl@gnu.org)
hjl [Sun, 16 Jul 2000 21:29:32 +0000 (21:29 +0000)]
2000-07-16  H.J. Lu  (hjl@gnu.org)

* ld-elfvsb/elfvsb.exp (support_protected): New variable. Check
and set to "yes" if the protected visibility is expected to
pass.
(visibility_run): Set expected to fail for the "protected"
and "protected_undef_def" tests only if $support_protected is
"no".

* ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected
visibility support if defined.

24 years ago* environ.cc: Use new definition of "environ" throughout.
cgf [Sun, 16 Jul 2000 20:06:11 +0000 (20:06 +0000)]
* environ.cc: Use new definition of "environ" throughout.
(environ_init): Explicitly initialize __cygwin_environ.
(cur_environ): New function.  Detects when user has updated their environment.
* exec.cc: Use 'environ' define throughout rather than __cygwin_environ.
* spawn.cc: Ditto.
* winsup.h: Declare cur_environ, main_environ, environ.

24 years ago* acconfig.h: Add support for NEWVFORK.
cgf [Sun, 16 Jul 2000 17:38:41 +0000 (17:38 +0000)]
* acconfig.h: Add support for NEWVFORK.
* config.h.in: Ditto.
* configure.in: Add --enable-vfork option.
* configure: Regenerate.
* dcrt0.cc (quoted): Detect and fix up quoted backslashes.
* sigproc.cc (proc_subproc): Correctly name handle of newly added child process
to avoid erroneous debugging messages about closing the wrong handle.

24 years ago* spawn.cc (spawn_guts): Use \ for quoting '"'.
cgf [Sun, 16 Jul 2000 06:31:06 +0000 (06:31 +0000)]
* spawn.cc (spawn_guts): Use \ for quoting '"'.
* dcrt0.cc (quoted): Understand \ quoting for '"'.

24 years agoSlightly more efficient version of previous change.
cgf [Sun, 16 Jul 2000 04:37:43 +0000 (04:37 +0000)]
Slightly more efficient version of previous change.

24 years ago* dcrt0.cc (build_argv): Strip quotes from argv[0] since it should never be
cgf [Sun, 16 Jul 2000 04:34:05 +0000 (04:34 +0000)]
* dcrt0.cc (build_argv): Strip quotes from argv[0] since it should never be
globified.

24 years agoUpdate comments.
cgf [Sun, 16 Jul 2000 04:10:33 +0000 (04:10 +0000)]
Update comments.

24 years ago2000-07-15 H.J. Lu (hjl@gnu.org)
hjl [Sat, 15 Jul 2000 23:57:20 +0000 (23:57 +0000)]
2000-07-15  H.J. Lu  (hjl@gnu.org)

* ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure
for "protected_undef_def".

* ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when
PROTECTED_WEAK_TEST is defined.
Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is
defined.
Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined.

* ld-elfvsb/sh1.c (visibility): Mark protected only if
PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST
is defined.
(visibility_var): Likewise.

24 years ago2000-07-15 H.J. Lu <hjl@gnu.org>
hjl [Sat, 15 Jul 2000 18:42:00 +0000 (18:42 +0000)]
2000-07-15  H.J. Lu  <hjl@gnu.org>

* aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.

24 years agoProperly handle references
dberlin [Sat, 15 Jul 2000 17:40:30 +0000 (17:40 +0000)]
Properly handle references

24 years ago * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
ian [Sat, 15 Jul 2000 15:09:13 +0000 (15:09 +0000)]
* doc/c-mips.texi (MIPS Opts): Remove erroneous space after
@code.

24 years ago(hppa_fix_adjustable): Don't reduce certain symbols to section syms.
amodra [Sat, 15 Jul 2000 12:57:14 +0000 (12:57 +0000)]
(hppa_fix_adjustable): Don't reduce certain symbols to section syms.

24 years ago* dll_init.cc (dll_list::alloc): Round correctly. Use VirtualAlloc since
cgf [Sat, 15 Jul 2000 04:36:10 +0000 (04:36 +0000)]
* dll_init.cc (dll_list::alloc): Round correctly.  Use VirtualAlloc since
shared file mapping is unnecessary.
(dll_list::detach): Release memory via VirtualFree since there we no longer use
shared file mapping.

24 years ago* hinfo.cc (hinfo::linearize_fd_array): Make max_used_fd an int so that we can
cgf [Sat, 15 Jul 2000 02:48:10 +0000 (02:48 +0000)]
* hinfo.cc (hinfo::linearize_fd_array): Make max_used_fd an int so that we can
detect when there are no fds to pass.
* dcrt0.cc (host_dependent_constants::init): Revert Sat Mar 18 01:32:04 2000
change.
(dll_crt0_1): Set "cygwin_finished_initializing" flag.
(dll_crt0): Don't perform memcpy if uptr is already set to internal structure.
(_dll_crt0): Remember location of programs envptr.
* dll_init.h (per_module, dll, dll_list): Revamp.
* dll_init.cc: Revamp.  Use new classes.
* fork.cc (fork): Use new revamped dll, dll_list, and per_module stuff.
* environ.cc: Use __cygwin_environ throughout rather than the
user_data->envptr.
* exec.cc: Ditto.
* spawn.cc: Ditto.
* winsup.h: Declare update_envptrs, cygwin_finished_initializing.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Revert previous change.
* lib/cygwin_attach_dll.cc (cygwin_attach_dll): Always pass in own per_process
structure or we end up overwriting information from the main program.

24 years ago*** empty log message ***
nickc [Fri, 14 Jul 2000 22:28:24 +0000 (22:28 +0000)]
*** empty log message ***

24 years agoAdd new command line switch --no-construct-floats
nickc [Fri, 14 Jul 2000 22:23:33 +0000 (22:23 +0000)]
Add new command line switch --no-construct-floats

24 years ago * ppcbug-rom.c (ppcbug_regnames[]): Make array size implicit.
nsd [Fri, 14 Jul 2000 22:17:32 +0000 (22:17 +0000)]
* ppcbug-rom.c (ppcbug_regnames[]): Make array size implicit.
* rs6000-tdep.c (DEFAULT_LR_SAVE): Move to config/*/tm-*.h.
(rs6000_gdbarch_init): Use generic_pc_in_call_dummy instead of
rs6000_pc_in_call_dummy.
* config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Move here from
rs6000-tdep.c.
* config/powerpc/tm-ppc-eabi.h: Remove various definitions
handled by multi-arched rs6000-tdep.c.

24 years ago2000-07-14 Fernando Nasser <fnasser@cygnus.com>
fnasser [Fri, 14 Jul 2000 21:27:15 +0000 (21:27 +0000)]
2000-07-14  Fernando Nasser <fnasser@cygnus.com>

        * wrapper.c (sim_create_inferior): Fix typo in the previous patch.

24 years agoFix definition of SKIP_PROLOGUE macro.
nickc [Fri, 14 Jul 2000 20:55:41 +0000 (20:55 +0000)]
Fix definition of SKIP_PROLOGUE macro.

24 years ago2000-07-14 Fernando Nasser <fnasser@cygnus.com>
fnasser [Fri, 14 Jul 2000 16:49:46 +0000 (16:49 +0000)]
2000-07-14  Fernando Nasser <fnasser@cygnus.com>

        * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
        new inferior.

24 years ago * mount.cc (mount_already_exists): Slightly rearrange.
corinna [Thu, 13 Jul 2000 21:49:36 +0000 (21:49 +0000)]
    * mount.cc (mount_already_exists): Slightly rearrange.
        Change message texts.

24 years ago* libc/stdio/vfprintf.c: pad 0.0 correctly with %e
dj [Thu, 13 Jul 2000 18:51:11 +0000 (18:51 +0000)]
* libc/stdio/vfprintf.c: pad 0.0 correctly with %e

24 years ago2000-07-13 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Thu, 13 Jul 2000 17:54:35 +0000 (17:54 +0000)]
2000-07-13  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * parse.c: Include inferior.h.

24 years agoFix some mips configure problems.
amodra [Thu, 13 Jul 2000 14:57:49 +0000 (14:57 +0000)]
Fix some mips configure problems.

24 years ago * mount.cc (mount_already_exists): Additional warning message
corinna [Thu, 13 Jul 2000 11:09:53 +0000 (11:09 +0000)]
    * mount.cc (mount_already_exists): Additional warning message
        if mount point exists with another mount type.

24 years agoOops, one to many ChangeLog entries.
cagney [Thu, 13 Jul 2000 07:57:34 +0000 (07:57 +0000)]
Oops, one to many ChangeLog entries.

24 years agoCheck that GDB and the C compiler agree about the sizeof a few basic C
cagney [Thu, 13 Jul 2000 05:07:54 +0000 (05:07 +0000)]
Check that GDB and the C compiler agree about the sizeof a few basic C
types.

24 years ago* pe-dll.c (make_one): fix a typo in the __imp_ name decoration
dj [Thu, 13 Jul 2000 00:51:40 +0000 (00:51 +0000)]
* pe-dll.c (make_one): fix a typo in the __imp_ name decoration
for dll import libraries

24 years ago2000-07-12 Syd Polk <spolk@redhat.com>
spolk [Thu, 13 Jul 2000 00:00:27 +0000 (00:00 +0000)]
2000-07-12  Syd Polk  <spolk@redhat.com>

* library/Makefile.am: Only regenerate tclIndex and pkgIndex.tcl
if this is configured with --enable-maintainer-mode.

24 years ago * parse.c (target_map_name_to_register): Include pseudo-regs.
msnyder [Wed, 12 Jul 2000 23:16:45 +0000 (23:16 +0000)]
    * parse.c (target_map_name_to_register): Include pseudo-regs.

24 years ago2000-07-12 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Wed, 12 Jul 2000 22:01:16 +0000 (22:01 +0000)]
2000-07-12  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * regcache.c (registers_changed, registers_fetched): Use
        ARCH_NUM_REGS directly, eliminating an unnecessary variable.

        This change adds pseudo-register capability to GDB.
        Pseudo-registers are handled like registers, but they
        don't come from or live on the target.  They may be
        aliases for an existing register, or they may be computed.
        * defs.h (NUM_PSEUDO_REGISTERS): Define default of zero.
        (ARCH_FETCH_PSEUDO_REGISTERS): Define default of no-op.
        (ARCH_STORE_PSEUDO_REGISTERS): Define default of no-op.
        # regcache.c (registers_changed): Mark pseudo-registers
        invalid, as well as real registers.
        (registers_fetched): Do not mark pseudo-registers as fetched
        at the same time as other (real) registers.
        (read_register_bytes): Fetch pseudo-registers (if any) from
        the target architecture module instead of from the target.
        (read_register_gen): Ditto.
        (read_register): Ditto.
        (write_register_bytes): Store pseudo-registers (if any) to
        the target architecture module instead of to the target.
        (write_register_gen): Ditto.
        (write_register): Ditto.
        (build_regcache): Allocate enough register_valid space for
        pseudo-registers as well as normal (real) ones.

24 years ago* objdump.c (usage): Make output of `objdump --help' more
kettenis [Wed, 12 Jul 2000 19:52:17 +0000 (19:52 +0000)]
* objdump.c (usage): Make output of `objdump --help' more
consistent with the rest of the GNU world.  Add a line describing
the purpose of the program.

24 years ago* libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing
dj [Wed, 12 Jul 2000 18:29:55 +0000 (18:29 +0000)]
* libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing
out a structure that is BFD_IN_MEMORY.

24 years ago Add padding to the last section when aligning it increases its size.
nickc [Wed, 12 Jul 2000 16:45:45 +0000 (16:45 +0000)]
 Add padding to the last section when aligning it increases its size.

24 years agoSupport the g++ attribute init_priority in gcc 2.95.2 and later.
nickc [Wed, 12 Jul 2000 16:41:29 +0000 (16:41 +0000)]
Support the g++ attribute init_priority in gcc 2.95.2 and later.

24 years agoUpdate comment.
amodra [Wed, 12 Jul 2000 11:54:35 +0000 (11:54 +0000)]
Update comment.

24 years ago* valops.c (value_cast): Allow cast from INT, ENUM or RANGE to
cagney [Wed, 12 Jul 2000 08:31:47 +0000 (08:31 +0000)]
* valops.c (value_cast): Allow cast from INT, ENUM or RANGE to
POINTER.

24 years agoUse section id in get_dyn_name.
amodra [Wed, 12 Jul 2000 05:03:01 +0000 (05:03 +0000)]
Use section id in get_dyn_name.

24 years ago* debug.cc (thread_stub): Use impure_ptr in place of reent_data.
cgf [Wed, 12 Jul 2000 04:49:07 +0000 (04:49 +0000)]
* debug.cc (thread_stub): Use impure_ptr in place of reent_data.
* dll_init.cc (dll_dllcrt0): Replace erroneous use of local symbol with correct
__cygwin_user_data->impure_ptr.

24 years ago* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Don't reset environ if
cgf [Wed, 12 Jul 2000 04:02:45 +0000 (04:02 +0000)]
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Don't reset environ if
already set.

24 years agoFix formatting and add missing new lkine at end of error message
nickc [Tue, 11 Jul 2000 20:17:02 +0000 (20:17 +0000)]
Fix formatting and add missing new lkine at end of error message

24 years agoFix formatting.
nickc [Tue, 11 Jul 2000 18:48:17 +0000 (18:48 +0000)]
Fix formatting.

24 years agoAdd myself as SPARC maintainer.
jakub [Tue, 11 Jul 2000 18:45:27 +0000 (18:45 +0000)]
Add myself as SPARC maintainer.

24 years ago * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
jakub [Tue, 11 Jul 2000 18:44:12 +0000 (18:44 +0000)]
* sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
Reported by Bill Clarke <llib@computer.org>.

24 years ago* include/shlobj.h: add CSIDL_COMMON_*
dj [Tue, 11 Jul 2000 17:33:48 +0000 (17:33 +0000)]
* include/shlobj.h: add CSIDL_COMMON_*

24 years ago2000-07-11 Scott Bambrough <scottb@netwinder.org>
scottb [Tue, 11 Jul 2000 14:00:41 +0000 (14:00 +0000)]
2000-07-11  Scott Bambrough <scottb@netwinder.org>

* command.c (do_setshow_command): Fix typo in var_auto_boolean
case.

24 years ago* mips-tdep.c: General cleanup. Delete all #if 0 code. Convert
cagney [Tue, 11 Jul 2000 11:02:11 +0000 (11:02 +0000)]
* mips-tdep.c: General cleanup.  Delete all #if 0 code.  Convert
all old style K&R function definitions to ISO-C.
(struct gdbarch_tdep): Add mips_abi_string.
(mips_gdbarch_init): Initialize.
(mips_dump_tdep): Print mips_abi_string and other values.
(mips_push_arguments): Add more detailed tracing.

24 years agoForce MIPS to sign-extend any addresses read from registers.
cagney [Tue, 11 Jul 2000 10:24:24 +0000 (10:24 +0000)]
Force MIPS to sign-extend any addresses read from registers.

24 years agoMove the ``set mask-address'' command to remote-mips.c. Disable
cagney [Tue, 11 Jul 2000 09:25:21 +0000 (09:25 +0000)]
Move the ``set mask-address'' command to remote-mips.c.  Disable
address masking in mips-tdep.c.

24 years ago * README:
mdejong [Tue, 11 Jul 2000 09:14:25 +0000 (09:14 +0000)]
* README:
* library/Makefile.am:
* library/Makefile.in:
* library/tclIndex:
* library/tree.tcl:
* library/treetable.tcl:
* src/Makefile.am:
* src/Makefile.in:
* src/guitcl.h:
* src/tkTreeTable.c:
* src/tkTreeTable.h: Moved implementation of
"treetable" command out back into snavigator.

24 years ago* printcmd.c (print_scalar_formatted): Move masking of 'a' address
cagney [Tue, 11 Jul 2000 08:51:59 +0000 (08:51 +0000)]
* printcmd.c (print_scalar_formatted): Move masking of 'a' address
from here.
(print_address_numeric): To here.
* TODO: Update.

24 years ago* symtab.c: Use paddr_nz() to print addresses.
cagney [Tue, 11 Jul 2000 07:56:22 +0000 (07:56 +0000)]
* symtab.c: Use paddr_nz() to print addresses.

24 years agoAdd function bfd_elf_get_sign_extend_vma.
cagney [Tue, 11 Jul 2000 07:28:24 +0000 (07:28 +0000)]
Add function bfd_elf_get_sign_extend_vma.

24 years agoThe MIPS thinks that addresses are signed. Sign extend MIPS ECOFF
cagney [Tue, 11 Jul 2000 06:37:34 +0000 (06:37 +0000)]
The MIPS thinks that addresses are signed.  Sign extend MIPS ECOFF
addresses.

24 years ago* elfcode.h (elf_object_p): Use bfd_set_start_address and not
cagney [Tue, 11 Jul 2000 06:08:18 +0000 (06:08 +0000)]
* elfcode.h (elf_object_p): Use bfd_set_start_address and not
bfd_get_start_address.
(elf_swap_ehdr_in): Sign extend e_entry when applicable.
(elf_swap_ehdr_out): Ditto.

24 years agoAdd read_signed_register{,_pid}(). Change return type of
cagney [Tue, 11 Jul 2000 05:42:25 +0000 (05:42 +0000)]
Add read_signed_register{,_pid}().  Change return type of
read_register{,_pid}() to ULONGEST.

24 years agoRemove some forward declarations in ldemul.h and ldfile.h, and
amodra [Tue, 11 Jul 2000 03:42:41 +0000 (03:42 +0000)]
Remove some forward declarations in ldemul.h and ldfile.h, and
re-arrange header include order.
Fix shadowing warnings in ldlang.h
Fix compile errors in mpw-elfmips.c

24 years agoPARAMS elimination.
kevinb [Tue, 11 Jul 2000 03:13:25 +0000 (03:13 +0000)]
PARAMS elimination.

24 years ago* fhandler_console.cc (fhandler_console::read): Unicode interface to
cgf [Mon, 10 Jul 2000 23:08:45 +0000 (23:08 +0000)]
* fhandler_console.cc (fhandler_console::read): Unicode interface to
ReadConsoleInput only exists on W2K, so use workaround from Kazuhiro Fujieda
<fujieda@jaist.ac.jp>.

24 years agoFix formatting
nickc [Mon, 10 Jul 2000 19:09:50 +0000 (19:09 +0000)]
Fix formatting

24 years ago Fix formatting.
nickc [Mon, 10 Jul 2000 18:59:26 +0000 (18:59 +0000)]
 Fix formatting.

24 years agoAdd set of bfd_mach_ cases for compatibility with older binutils
nickc [Mon, 10 Jul 2000 18:29:38 +0000 (18:29 +0000)]
Add set of bfd_mach_ cases for compatibility with older binutils

24 years agoFix a date.
amodra [Mon, 10 Jul 2000 18:07:44 +0000 (18:07 +0000)]
Fix a date.

24 years ago2000-07-10 H.J. Lu <hjl@gnu.org>
hjl [Mon, 10 Jul 2000 17:20:35 +0000 (17:20 +0000)]
2000-07-10  H.J. Lu  <hjl@gnu.org>

* emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
DLL_SUPPORT.
(strhash): Likewise.
(compute_dll_image_base): Likewise.
(pe_undef_found_sym): Likewise.
(pe_undef_cdecl_match): Likewise.
(gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
argument "arch" with ATTRIBUTE_UNUSED.