OSDN Git Service
kettenis [Thu, 15 Aug 2002 22:23:59 +0000 (22:23 +0000)]
* config/i386/nm-gnu.h: Removed.
* config/i386/nm-i386gnu.h: New file.
(THREAD_STATE_FLAVOR, THREAD_STATE_SIZE,
THREAD_STATE_SET_TRACED, THREAD_STATE_CLEAR_STATE, ATTACH_DETACH):
Moved here from ...
* config/i386/tm-i386gnu.h: ... here. Removed.
* config/i386/xm-i386gnu.h: Removed.
* config/i386/i386gnu.mh (XM_FILE): Set to xm-i386.h.
(NAT_FILE): Set to nm-i386gnu.h.
* config/i386/i386gnu.mt (TDEPFILES): Add i386gnu-tdep.o.
* i386-tdep.c: New file.
* Makefile.in (ALLDEPFILES): Add i386gnu-nat.c and i386gnu-tdep.c.
(i386gnu-tdep.o): Specify dependencies.
kettenis [Thu, 15 Aug 2002 21:16:15 +0000 (21:16 +0000)]
* config/i386/tm-i386sco5.h: Include "i386/tm-i386v4.h" instead of
"i386/tm-i386.h", "i386/tm-i386v.h" and "config/tm-sysv.h".
Adjust a few comments to reflect reality a bit closer.
(KERNEL_U_SIZE, TARGET_HAS_HARDWARE_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUEABLE_WATCHPOINT,
HAVE_STEPPABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT,
target_insert_watchpoint, target_remove_watchpoint):
Move defines to ...
* config/i386/nm-i386sco5.h: ... here.
(kernel_u_size): Add prototype. Improve a few comments and add
protection against multiple inclusion.
cgf [Thu, 15 Aug 2002 20:34:49 +0000 (20:34 +0000)]
* dcrt0.cc: Modify define for CYGWIN_GUARD.
(alloc_stack_hard_way): Just use CYGWIN_GUARD in VirtualAlloc call.
cgf [Thu, 15 Aug 2002 20:24:16 +0000 (20:24 +0000)]
present tense
kettenis [Thu, 15 Aug 2002 19:34:56 +0000 (19:34 +0000)]
* config/i386/nm-i386sco.h (FLOAT_INFO): Remove already commented
out define.
kettenis [Thu, 15 Aug 2002 19:00:45 +0000 (19:00 +0000)]
* uw-thread.c (SP_ARG0): Define if not already defined.
* config/i386/tm-i386.h (SO_ARG0): Remove define.
kettenis [Thu, 15 Aug 2002 18:49:51 +0000 (18:49 +0000)]
* config/i386/tm-i386v4.h (HAVE_I387_REGS): Remove define.
kettenis [Thu, 15 Aug 2002 18:38:43 +0000 (18:38 +0000)]
*** empty log message ***
kettenis [Thu, 15 Aug 2002 18:36:42 +0000 (18:36 +0000)]
*** empty log message ***
kettenis [Thu, 15 Aug 2002 18:35:08 +0000 (18:35 +0000)]
* config/i386/tm-i386.h: Don't include "regcache.h".
kseitz [Thu, 15 Aug 2002 18:00:17 +0000 (18:00 +0000)]
* README: Massive update.
kettenis [Thu, 15 Aug 2002 17:36:55 +0000 (17:36 +0000)]
* i387-tdep.h (i387_print_float_info): New prototype.
* i387-tdep.c (print_i387_value, print_i387_ext,
print_i387_status_word, print_i387_control_word): Add `struct
ui_file *' argument and use it for output.
(i387_print_float_info): Renamed from i387_float_info. Add
`struct gdbarch *' and `struct ui_file *' arguments and use the
latter for output.
* i386-tdep.c: Include "i387-tdep.h".
(i386_gdbarch_init): Set print_float_info.
* config/i386/tm-i386.h (i387_float_info): Remove prototype.
(FLOAT_INFO): Remove define.
kettenis [Thu, 15 Aug 2002 17:18:49 +0000 (17:18 +0000)]
* gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2002-07-24 change that removes final dots from error messages.
cgf [Thu, 15 Aug 2002 15:46:27 +0000 (15:46 +0000)]
make comment more accurate.
nickc [Thu, 15 Aug 2002 14:28:55 +0000 (14:28 +0000)]
Catch and ignore SWIs of -1, they can be caused by an interrupted system
call being resumed by GDB.
amodra [Thu, 15 Aug 2002 12:22:39 +0000 (12:22 +0000)]
* readelf.c: Include elf/i370.h.
(dump_relocations): Handle EM_S370.
(dynamic_segment_parisc_val): Print \n.
(process_dynamic_segment <DT_BIND_NOW>): Here too.
amodra [Thu, 15 Aug 2002 12:21:39 +0000 (12:21 +0000)]
* elf32-i370.c: Move reloc enum to include/elf/i370.h.
amodra [Thu, 15 Aug 2002 12:19:14 +0000 (12:19 +0000)]
* i370.h: Define relocs using reloc-macros.h.
hp [Thu, 15 Aug 2002 05:20:53 +0000 (05:20 +0000)]
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Add
missing check for whether the symbol is referenced by DSO before
unexporting it as an unneeded dynamic symbol.
hp [Thu, 15 Aug 2002 05:19:32 +0000 (05:19 +0000)]
* ld-cris/libdso-4.d, ld-cris/undef1.d: New test.
gdbadmin [Thu, 15 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 15 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update
dannysmith [Wed, 14 Aug 2002 23:47:45 +0000 (23:47 +0000)]
* include/wincrypt.h (ALG_*): Add defines.
(CALG_*): Ditto.
(CRYPT_*): Ditto.
(PP_*): Ditto.
(PROV_*): Ditto.
(PRIVATEKEYBLOB): Add define.
hp [Wed, 14 Aug 2002 21:57:39 +0000 (21:57 +0000)]
* ld-sh/sh64/shdl64.xd: Adjust as type of linker-script-symbols
is no longer set to object.
(Forgotten commit)
earnie [Wed, 14 Aug 2002 21:08:43 +0000 (21:08 +0000)]
* include/unistd.h: Add include of process.h.
kseitz [Wed, 14 Aug 2002 20:09:20 +0000 (20:09 +0000)]
* README.GDBTK: Updated and renamed to README.
* README: "New" file.
msnyder [Wed, 14 Aug 2002 19:17:39 +0000 (19:17 +0000)]
2002-08-13 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_push_arguments): Rename to
mips_eabi_push_arguments, and tune for EABI.
(MIPS_REGS_HAVE_HOME_P): Delete.
(struct gdbarch_tdep): Remove mips_regs_have_home_p field.
(mips_gdbarch_init): Set gdbarch push_arguments for eabi.
Delete references to mips_regs_have_home_p.
kseitz [Wed, 14 Aug 2002 18:13:30 +0000 (18:13 +0000)]
* Makefile.in (install-gdbtk): Create insight plugin directory.
Install plugins.tcl file.
kseitz [Wed, 14 Aug 2002 18:10:49 +0000 (18:10 +0000)]
* library/srcbar.itcl (create_plugin_menu): Deal with
multi plugin directories.
Catch any errors that might occur reading plugin.tcl.
* library/main.tcl: Add plugins from new default directory.
(INSIGHT_PLUGINS): New environment variable to point to other
plugin directories.
kseitz [Wed, 14 Aug 2002 18:09:24 +0000 (18:09 +0000)]
* library/plugins: Removed.
* plugins/: New folder to hold plugins.
* Makefile.am, Makefile.in, aclocal.m4, configure,
configure.in: New files.
kseitz [Wed, 14 Aug 2002 18:06:46 +0000 (18:06 +0000)]
Removed. Moved to ../plugins, since the plugins could contain host-specific
code.
kseitz [Wed, 14 Aug 2002 18:06:06 +0000 (18:06 +0000)]
Add improved support for plugin handling. Much of the plugins have simply
been copied from ../library/plugins.
kseitz [Wed, 14 Aug 2002 17:43:15 +0000 (17:43 +0000)]
* configure.in: Move SUBDIRS to near top of the file so that
--enable options may add things to it.
If gdbtk is enabled, add gdbtk directory to SUBDIRS and configdirs.
* configure: Regenerate.
earnie [Wed, 14 Aug 2002 16:43:40 +0000 (16:43 +0000)]
* include/shlobj.h (SHGetFolderPath): Add define.
* lib/shell32.def (SHGetSpecialFolderPath): Add export.
(SHGetFolderPath): Ditto.
hjl [Wed, 14 Aug 2002 16:42:56 +0000 (16:42 +0000)]
2002-08-14 H.J. Lu <hjl@gnu.org>
* libbfd.h: Regenerate.
nickc [Wed, 14 Aug 2002 16:38:14 +0000 (16:38 +0000)]
Catch attempts to create strings in the abs section.
nickc [Wed, 14 Aug 2002 16:33:58 +0000 (16:33 +0000)]
Only define TC_VALIDATE_FIX for ELF builds
kseitz [Wed, 14 Aug 2002 15:44:24 +0000 (15:44 +0000)]
* generic/gdbtk.c (view_command): New function to display
location in source window.
(gdbtk_init): Add new gdb "view" command.
hjl [Wed, 14 Aug 2002 15:18:54 +0000 (15:18 +0000)]
Add "want64=yes" to 32bit Linux/mips.
nickc [Wed, 14 Aug 2002 15:13:09 +0000 (15:13 +0000)]
oops - omitted from previous delta
nickc [Wed, 14 Aug 2002 15:12:07 +0000 (15:12 +0000)]
Replace 'gnu-new-abi' with 'gnu-v3'
hjl [Wed, 14 Aug 2002 15:05:40 +0000 (15:05 +0000)]
Always enable 64bit targets for 32bit Linux/mips.
nickc [Wed, 14 Aug 2002 13:27:05 +0000 (13:27 +0000)]
Fix compiling for COFF targets.
Some minor formatting tidyups.
nickc [Wed, 14 Aug 2002 10:44:54 +0000 (10:44 +0000)]
Don't warn about ALT use with non-VIRTKEY.
ciceron [Wed, 14 Aug 2002 08:14:30 +0000 (08:14 +0000)]
* elf32-m68hc11.c (m68hc11_relax_group): New to relax group of
instructions.
(m68hc11_direct_relax): New to define table of relaxable instructions.
(find_relaxable_insn): New, find a relaxable insn.
(compare_reloc): New to compare two relocs.
(m68hc11_elf_relax_section): New, relax text sections.
(m68hc11_elf_relax_delete_bytes): New, delete bytes and adjust branchs.
(elf32_m68hc11_check_relocs): New function for GC support.
(elf32_m68hc11_relocate_section): New function for GC support.
(bfd_elf32_bfd_relax_section): Define to support linker relaxation.
(elf_backend_check_relocs): Likewise.
(elf_backend_relocate_section): Likewise.
hjl [Wed, 14 Aug 2002 07:24:55 +0000 (07:24 +0000)]
2002-08-14 H.J. Lu <hjl@gnu.org>
* gas/mips/elempic.d: Treat "addiu" and "daddiu" as equivalent
when $0 is source.
* gas/mips/telempic.d: Likewise.
* gas/mips/telempic.d: Likewise.
hjl [Wed, 14 Aug 2002 03:26:47 +0000 (03:26 +0000)]
2002-08-13 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers23c and vers23d.
* ld-elfvers/vers23c.ver: New.
* ld-elfvers/vers23d.dsym: New.
hjl [Wed, 14 Aug 2002 03:25:47 +0000 (03:25 +0000)]
2002-08-13 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections): Don't count
definitions in shared objects when checking symbol with
undefined version.
msnyder [Wed, 14 Aug 2002 01:20:02 +0000 (01:20 +0000)]
2002-08-13 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_o32o64_push_arguments): New function,
cloned from mips_push_arguments, tuned for o32/o64 ABI.
(mips_gdbarch_init): Set gdbarch_push_arguments to new func.
cagney [Wed, 14 Aug 2002 00:23:59 +0000 (00:23 +0000)]
2002-08-13 Andrew Cagney <
ac131313@redhat.com>
* vax-tdep.c (vax_get_saved_register): Delete function.
(vax_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_get_saved_register): Delete function.
(ns32k_gdbarch_init): Update.
* alpha-tdep.c (alpha_get_saved_register): Delete function.
(alpha_gdbarch_init): Update.
amodra [Wed, 14 Aug 2002 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 14 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Tue, 13 Aug 2002 23:06:40 +0000 (23:06 +0000)]
2002-08-13 Andrew Cagney <cagney@redhat.com>
* regcache.c (init_regcache_descr): Overallocate the
raw_register_valid_p array including space for NUM_PSEUDO_REGS.
(registers_changed): Replace NUM_REGS+NUM_PSEUDO_REGS with
num_raw_registers.
(set_register_cached): Add range checking assertions. Use
current_regcache.
ciceron [Tue, 13 Aug 2002 22:45:21 +0000 (22:45 +0000)]
* gas/m68hc11/all.exp: Run the new test.
* gas/m68hc11/insns12.s: New file to test specific 68HC12 insns.
* gas/m68hc11/insns12.d: New file.
* gas/m68hc11/branchs12.s: New test.
* gas/m68hc11/branchs12.d: New test.
* gas/m68hc11/all_insns.d: Dump the relocs to verify that they
are against symbols and not sections (for linker relaxation).
* gas/m68hc11/insns-dwarf2.d: Likewise.
* gas/m68hc11/insns.d: Likewise.
* gas/m68hc11/lbranch.d: Likewise.
* gas/m68hc11/lbranch-dwarf2.d: Likewise.
* gas/m68hc11/opers12.d: Likewise.
* gas/m68hc11/opers12-dwarf2.d: Likewise.
ciceron [Tue, 13 Aug 2002 22:20:49 +0000 (22:20 +0000)]
* config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
(TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
according to the reloc.
(tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
(TC_FORCE_RELOCATION): Define.
(tc_m68hc11_force_relocation): Declare.
* config/tc-m68hc11.c (md_pseudo_table): Add relax command.
(s_m68hc11_relax): New function for relax group.
(build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
beginning of jump instruction.
(md_pcrel_from): Rename from md_pcrel_from_section and fix
address computation.
(tc-gen_reloc): Update.
(md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
PC-relative fixup.
(tc_m68hc11_force_relocation): New function, handle new relocs.
(tc_m68hc11_fix_adjustable): New to make sure there are enough
reloc for the linker relax pass.
(md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
and VTABLE relocs.
tromey [Tue, 13 Aug 2002 22:10:18 +0000 (22:10 +0000)]
* gdb.base/readline.exp: New file.
kettenis [Tue, 13 Aug 2002 21:54:17 +0000 (21:54 +0000)]
* i386-tdep.c (i386_stab_reg_to_regnum): Return correct register
numbers for MMX registers.
ciceron [Tue, 13 Aug 2002 21:52:56 +0000 (21:52 +0000)]
* config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
(md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
(s_m68hc11_mode): New function for .mode pseudo op.
(s_m68hc11_mark_symbol): New function for .far and .interrupt
pseudo op.
* config/tc-m68hc11.h (elf_tc_final_processing): Define.
(m68hc11_elf_final_processing): Declare.
cagney [Tue, 13 Aug 2002 21:39:00 +0000 (21:39 +0000)]
2002-08-13 Andrew Cagney <
ac131313@redhat.com>
* gdb.texinfo (Maintenance Commands): Document "maint print
registers", "maint print raw-registers" and "maint print
cooked-registers".
ciceron [Tue, 13 Aug 2002 21:38:15 +0000 (21:38 +0000)]
* config/tc-m68hc11.c (md_begin): Take into account additional
page operand for call instruction.
(print_opcode_format): Likewise.
(check_range): Likewise for page range checking.
(get_operand): Don't skip a possible comma in operands.
(fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
(fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
(fixup24): New to handle call reloc.
(build_insn): Handle missing page operand for call instruction.
(find): Likewise.
(md_apply_fix3): Take into account new relocs.
(get_operand): Fix the mode for indexed indirect addressing.
(build_indexed_byte): Fix post index byte for indexed indirect mode.
ciceron [Tue, 13 Aug 2002 21:15:47 +0000 (21:15 +0000)]
* elf32-m68hc11.c (elf32_m68hc11_gc_mark_hook): New for section GC.
(elf32_m68hc11_gc_sweep_hook): Likewise.
(elf_backend_gc_mark_hook): Define for GC section support.
(elf_backend_gc_sweep_hook): Likewise.
(elf_backend_can_gc_sections): Likewise.
* elf32-m68hc12.c: Likewise.
ciceron [Tue, 13 Aug 2002 21:04:21 +0000 (21:04 +0000)]
Fix integration pb for:
* elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs;
fix masks for PC-rel relocs.
(m68hc11_elf_ignore_reloc): New function.
ciceron [Tue, 13 Aug 2002 20:56:58 +0000 (20:56 +0000)]
* elf32-m68hc11.c (_bfd_m68hc11_elf_print_private_bfd_data): New.
(_bfd_m68hc11_elf_merge_private_bfd_data): New function.
(_bfd_m68hc11_elf_set_private_flags): New function.
Use them to set/check/print ELF flags specific to 68HC11.
* elf32-m68hc12.c (_bfd_m68hc12_elf_print_private_bfd_data): New.
(_bfd_m68hc12_elf_merge_private_bfd_data): New function.
(_bfd_m68hc12_elf_set_private_flags): New function.
Use them to set/check/print ELF flags specific to 68HC12.
ciceron [Tue, 13 Aug 2002 20:43:01 +0000 (20:43 +0000)]
* elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs;
fix masks for PC-rel relocs.
(m68hc11_elf_ignore_reloc): New function.
* elf32-m68hc12.c (m68hc12_elf_special_reloc): New to handle specific
68HC12 banked addressing relocs.
(m68hc12_phys_addr): New to compute physical address of banked memory.
(m68hc12_phys_page): Likewise for page.
(m68hc12_addr_is_banked): New to see if address is in banked area.
(elf_m68hc12_howto_table): Add new relocs and rename to xx12.
ciceron [Tue, 13 Aug 2002 20:08:48 +0000 (20:08 +0000)]
* reloc.c (BFD_RELOC_M68HC11_RL_JUMP, BFD_RELOC_M68HC11_RL_GROUP,
BFD_RELOC_M68HC11_LO16, BFD_RELOC_M68HC11_PAGE,
BFD_RELOC_M68HC11_24): New relocs for 68HC11/68HC12.
* bfd-in2.h: Regenerate.
cagney [Tue, 13 Aug 2002 19:14:08 +0000 (19:14 +0000)]
* i386-tdep.c (i386_gdbarch_init): Use
generic_unwind_get_saved_register.
ciceron [Tue, 13 Aug 2002 19:09:00 +0000 (19:09 +0000)]
* m68hc11-opc.c: Update call operand to accept the page definition.
Identify instructions that are branches and calls to generate a
RL_JUMP relocation.
ciceron [Tue, 13 Aug 2002 19:01:25 +0000 (19:01 +0000)]
* m68hc11-dis.c (print_insn): Take into account 68HC12 memory
banks and fix disassembling of call instruction.
(print_indexed_operand): New param to tell whether
it was an indirect addressing operand (for disassembling call).
ciceron [Tue, 13 Aug 2002 19:00:40 +0000 (19:00 +0000)]
* m68hc11.h (M6812_OP_PAGE): Define to identify call operand.
(M68HC12_BANK_VIRT, M68HC12_BANK_MASK, M68HC12_BANK_BASE,
M68HC12_BANK_SHIFT, M68HC12_BANK_PAGE_MASK): Define for 68HC12
memory banks.
(M6811_OC1M5, M6811_OC1M4, M6811_MODF): Fix value.
kevinb [Tue, 13 Aug 2002 18:03:37 +0000 (18:03 +0000)]
* procfs.c (procfs_can_use_hw_breakpoint): New function.
(init_procfs_ops): Define ``to_can_use_hw_breakpoint'' for procfs
target vector.
* config/mips/nm-irix5.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
Delete. Add comment regarding this now-deleted target method.
ciceron [Tue, 13 Aug 2002 17:24:49 +0000 (17:24 +0000)]
* m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define.
(M68HC12_HARD_PC_REGNUM): Define specific PC for 68HC12 (pseudo reg).
(m68hc11_pseudo_register_read): Compute the 68HC12 PC using the
real PC and the page number (if it's within the memory bank window).
(m68hc11_pseudo_register_write): Likewise when saving.
(m68hc11_register_name): Name the virtual pc 'pc' and the real one ppc.
(m68hc11_register_virtual_type): Return uint32 for virtual pc.
(m68hc11_register_raw_size): And use 32-bit for it.
(m68hc11_gdbarch_init): Use 32-bit address for 68HC12 if the
16K memory bank is used by the prog; also use the virtual pc.
ciceron [Tue, 13 Aug 2002 16:40:46 +0000 (16:40 +0000)]
* m68hc11-tdep.c (m68hc11_elf_make_msymbol_special): New function.
(m68hc11_gdbarch_init): Install it in gdbarch.
(MSYMBOL_SET_RTC, MSYMBOL_SET_RTI): New to set symbol specific flags.
(MSYMBOL_IS_RTC, MSYMBOL_IS_RTI): New to test these flags.
(MSYMBOL_SIZE): New for documentation.
(insn_return_kind): Enum to specify how a function returns.
(frame_extra_info): Cleanup and record the return mode.
(gdbarch_tdep, USE_PAGE_REGISTER): New to control the use of page
register in address computation.
(m68hc11_get_return_insn): New to obtain the return instruction used
by the function.
(m68hc11_frame_init_saved_regs): Take into account the return
instruction used by the function for far and interrupt functions.
(m68hc11_init_extra_frame_info): Take into account page register.
(m68hc11_frame_args_address): Adjust according to the return mode.
(show_regs): Print page register only when it's used.
ciceron [Tue, 13 Aug 2002 16:19:22 +0000 (16:19 +0000)]
* m68hc11-tdep.c (HARD_PAGE_REGNUM): Define for 68HC12 page register.
(M68HC11_LAST_HARD_REG, m68hc11_register_names): Update.
(m68hc11_register_virtual_type): Return a 8-bit type for 8-bit
registers.
(m68hc11_register_raw_size): Likewise.
cgf [Tue, 13 Aug 2002 15:37:32 +0000 (15:37 +0000)]
* regtool.cc (find_key): Add support for custom key separator.
(usage): Document it.
cagney [Tue, 13 Aug 2002 14:32:28 +0000 (14:32 +0000)]
2002-08-13 Andrew Cagney <cagney@redhat.com>
* i386-tdep.c (i386_register_name): Handle mmx registers.
(mmx_regnum_p): New function.
(i386_mmx_names): New array.
(mmx_num_regs): New variable.
(i386_pseudo_register_read): New function.
(i386_pseudo_register_write): New function.
(mmx_regnum_to_fp_regnum): New function. Code from Fernando Nasser.
* regcache.c (regcache_raw_read_unsigned): New function.
(regcache_raw_read_signed): New function.
* regcache.h (regcache_raw_read_unsigned): Declare.
(regcache_raw_read_signed): Declare.
cagney [Tue, 13 Aug 2002 13:58:49 +0000 (13:58 +0000)]
2002-08-12 Andrew Cagney <cagney@redhat.com>
* regcache.c (regcache_raw_read_as_address): Delete function.
(regcache_cooked_read_signed): New function.
(regcache_cooked_read_unsigned): New function.
* regcache.h (regcache_cooked_read_signed): Declare.
(regcache_cooked_read_unsigned): Declare.
(regcache_raw_read_as_address): Delete declaration.
* blockframe.c (generic_read_register_dummy): Use
regcache_cooked_read_unsigned.
* i386-tdep.c (i386_extract_struct_value_address): Use
regcache_cooked_read_unsigned.
hjl [Tue, 13 Aug 2002 13:39:02 +0000 (13:39 +0000)]
2002-08-13 H.J. Lu <hjl@gnu.org>
* objcopy.c (copy_object): Don't warn about the unsupported
architecture unless the input target is defaulted or the
output architecture is different from the input.
ciceron [Tue, 13 Aug 2002 13:10:42 +0000 (13:10 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): Set int, double and long
double sizes according to ELF ABI flags.
(gdbarch_tdep): Record elf_flags.
ciceron [Tue, 13 Aug 2002 13:02:25 +0000 (13:02 +0000)]
* m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64,
EF_M68HC11_ABI): Define for ABI specification.
(STO_M68HC12_FAR, STO_M68HC12_INTERRUPT): Symbol flags for
linker and debugger.
(R_M68HC11_24, R_M68HC11_LO16, R_M68HC11_PAGE): New relocs.
(R_M68HC11_RL_JUMP, R_M68HC11_RL_GROUP): New reloc for linker
relaxation.
ciceron [Tue, 13 Aug 2002 11:03:41 +0000 (11:03 +0000)]
* m68hc11-tdep.c (M6812_OP_PSHX, M6812_OP_PSHY): New defines.
(m6812_prolog): They can appear in 68HC12 function prologue.
(m68hc11_frame_chain): Cleanup.
ciceron [Tue, 13 Aug 2002 09:01:16 +0000 (09:01 +0000)]
* dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
ciceron [Tue, 13 Aug 2002 08:52:01 +0000 (08:52 +0000)]
* interp.c (sim_prepare_for_program): Look up the image for the
reset vector and set cpu_use_elf_start to 1 if not found.
(sim_open): Do not set cpu_use_elf_start.
ciceron [Tue, 13 Aug 2002 08:47:18 +0000 (08:47 +0000)]
* interp.c (sim_hw_configure): Return 1 for success.
(sim_prepare_for_program): Use the sim_hw_configure exit code to
return SIM_RC_FAIL.
ciceron [Tue, 13 Aug 2002 08:40:32 +0000 (08:40 +0000)]
Fix english and ChangeLog entry
ciceron [Tue, 13 Aug 2002 08:38:09 +0000 (08:38 +0000)]
* dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
bank window to some virtual address to read from extended memory.
(m68hc11cpu_io_write_buffer): Likewise for writing.
(attach_m68hc11_regs): When use_bank property is defined, attached
to the 68HC12 16K memory bank window.
* interp.c (sim_hw_configure): Create memory region for banked
memory.
ciceron [Tue, 13 Aug 2002 08:10:45 +0000 (08:10 +0000)]
* interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
* dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
(m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
ciceron [Tue, 13 Aug 2002 07:57:18 +0000 (07:57 +0000)]
* dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
when IO mapping changed, not when internal RAM mapping is changed.
ciceron [Tue, 13 Aug 2002 07:46:09 +0000 (07:46 +0000)]
* m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
* sim-main.h (M6812_CALL_INDIRECT): Add to enum.
(m6811_regs): Add page register.
(cpu_set_page, cpu_get_page): New macros.
(phys_to_virt): New function.
(cpu_get_indexed_operand_addr, cpu_return): Declare.
* gencode.c: Identify indirect addressing mode for call and fix daa.
(gen_function_entry): New param to tell if src8/dst8 locals are
necessary.
(gen_interpreter): Use it to avoid generation of unused variables.
* interp.c (sim_fetch_register): Allow to read page register; page
register, A, B and CCR are only 1 byte wide.
(sim_store_register): Likewise for writing.
amodra [Tue, 13 Aug 2002 02:37:47 +0000 (02:37 +0000)]
* header.sed: Strip tabs.
amodra [Tue, 13 Aug 2002 02:27:11 +0000 (02:27 +0000)]
* ld.texinfo (ALIGN): Remove power of 2 restriction.
amodra [Tue, 13 Aug 2002 02:08:25 +0000 (02:08 +0000)]
* emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
(MAXPAGESIZE): Set to 1.
* ld.h (ALIGN_N): Delete.
* ldexp.h (align_n): Declare.
* ldexp.c (align_n): New function.
(fold_binary): Use align_n instead of ALIGN_N.
(exp_fold_tree): Likewise.
* ldlang.c (lang_size_sections_1): Likewise.
(lang_one_common): Likewise.
jjohnstn [Tue, 13 Aug 2002 00:11:50 +0000 (00:11 +0000)]
2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
Declare as extern chars and use the address operator to
properly use values set in linker script.
gdbadmin [Tue, 13 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 13 Aug 2002 00:00:06 +0000 (00:00 +0000)]
daily update
dannysmith [Mon, 12 Aug 2002 23:33:09 +0000 (23:33 +0000)]
* include/commdlg.h: Don't include COM headers if __OBJC__.
dannysmith [Mon, 12 Aug 2002 23:10:15 +0000 (23:10 +0000)]
* include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
Add prototypes.
dannysmith [Mon, 12 Aug 2002 22:24:28 +0000 (22:24 +0000)]
2002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>
* include/shellapi.h (FOF_NOERRORUI): Add define.
hjl [Mon, 12 Aug 2002 19:23:33 +0000 (19:23 +0000)]
2002-08-12 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_add_default_symbol): Preserve section across
elf_merge_symbol.
hjl [Mon, 12 Aug 2002 19:21:59 +0000 (19:21 +0000)]
2002-08-12 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers23.
* ld-elfvers/vers23.c: New.
* ld-elfvers/vers23.dsym: New.
* ld-elfvers/vers23.ver: New.
* ld-elfvers/vers23a.c: New.
* ld-elfvers/vers23a.dsym: New.
* ld-elfvers/vers23a.map: New.
* ld-elfvers/vers23a.sym: New.
* ld-elfvers/vers23a.ver: New.
* ld-elfvers/vers23b.c: New.
* ld-elfvers/vers23b.dsym: New.
* ld-elfvers/vers23b.map: New.
* ld-elfvers/vers23b.ver: New.
cagney [Mon, 12 Aug 2002 19:05:33 +0000 (19:05 +0000)]
2002-08-12 Andrew Cagney <cagney@redhat.com>
* i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete
declarations.
* i386-linux-tdep.c (i386_linux_register_byte): Delete function.
(i386_linux_register_raw_size): Delete function.
i386_linux_init_abi): Update.
* i386-tdep.c (i386_register_raw_size): Delete function.
(i386_register_byte): Delete function.
(i386_gdbarch_init): Update.
(i386_register_size): Delete array.
(i386_register_offset): Delete array.
* config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro.
(REGISTER_RAW_SIZE): Delete macro.
* config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro.
(REGISTER_BYTE): Delete macro.