OSDN Git Service
rearnsha [Tue, 19 Feb 2002 19:20:30 +0000 (19:20 +0000)]
* arm-tdep.h (enum arm_float_model): New enum.
(struct gdbarch_tdep): Add fp_model.
* arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
up floating-point conversions until we know the floating-point model
in use by the inferior. Don't complain about being unable to
determine the ABI of the inferior when we don't have one.
(arm_extract_return_value): Support different floating-point models.
(arm_store_return_value): Likewise.
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
ARM_FLOAT_SOFT.
(arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
sky [Tue, 19 Feb 2002 18:59:48 +0000 (18:59 +0000)]
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* s390-dis.c (init_disasm): Use renamed architecture defines.
sky [Tue, 19 Feb 2002 18:57:59 +0000 (18:57 +0000)]
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
* emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
sky [Tue, 19 Feb 2002 18:50:32 +0000 (18:50 +0000)]
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
Make bit size independent of architecture switch.
(md_begin): Add warning for -m64 with -Aesa.
(s390_md_end): Use renamed architecture defines.
schauer [Tue, 19 Feb 2002 18:42:26 +0000 (18:42 +0000)]
* i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
of ``current_gdbarch''.
fche [Tue, 19 Feb 2002 18:29:08 +0000 (18:29 +0000)]
2002-02-19 Frank Ch. Eigler <fche@redhat.com>
* hist.c (hist_print): Rewrite log_scale calculation loop.
sky [Tue, 19 Feb 2002 18:22:15 +0000 (18:22 +0000)]
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31.
(bfd_mach_s390_esame): Rename to bfd_mach_s390_64.
* bfd-in2.h: Regenerate.
* cpu-s390.c (arch_info_struct): Use renamed architecture defines.
Replace architecture name "s390" with "s390:31-bit" and "s390:esame"
with "s390:64-bit".
* elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations.
(elf_s390_reloc_type_lookup): Likewise.
(elf_s390_check_relocs): Likewise.
(elf_s390_gc_sweep_hook): Likewise.
(elf_s390_relocate_section): Likewise.
(elf_s390_object_p): Use renamed architecture define.
* elf64-s390.c (elf_s390_object_p): Use renamed architecture define.
rearnsha [Tue, 19 Feb 2002 17:26:25 +0000 (17:26 +0000)]
* armnbsd-nat.c : ANSIfy all function declarations.
(fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
(fetch_inferior_registers): Re-implement in terms of above.
(store_register, store_regs, store_fp_register, store_fp_regs): New.
(store_inferior_registers): Re-implement in terms of above.
fche [Tue, 19 Feb 2002 16:33:03 +0000 (16:33 +0000)]
2002-02-19 Frank Ch. Eigler <fche@redhat.com>
* syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping.
mrg [Tue, 19 Feb 2002 15:20:26 +0000 (15:20 +0000)]
* ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola
specific.
rearnsha [Tue, 19 Feb 2002 14:28:55 +0000 (14:28 +0000)]
* arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
kernel.
* arm-linux-tdep.c: Likewise.
* config/arm/tm-linux.h: Likewise.
rearnsha [Tue, 19 Feb 2002 14:04:39 +0000 (14:04 +0000)]
* configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
* config/arm/nbsd.mt (TM_FILE): Delete.
* config/arm/tm-nbsd.h: Delete.
rearnsha [Tue, 19 Feb 2002 13:57:33 +0000 (13:57 +0000)]
* arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
Initialize CALL_DUMMY_LENGTH.
jakub [Tue, 19 Feb 2002 12:40:22 +0000 (12:40 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable
absptr -> pcrel optimization for shared libs.
Only create minimal .eh_frame_hdr if absptr FDE encoding in shared
library cannot be converted to pcrel.
(_bfd_elf_eh_frame_section_offset): Return -2 if making absptr
relative.
* elf32-i386.c (elf_i386_relocate_section): If
_bfd_elf_section_offset returned -2, skip, but make sure the
relocation is installed.
* elf32-arm.h (elf32_arm_final_link_relocate): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Handle
_bfd_elf_section_offset returning -2 the same way as -1.
* elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise.
* elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME
and BFD_ASSERT.
* elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise.
rearnsha [Tue, 19 Feb 2002 11:46:12 +0000 (11:46 +0000)]
* armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
function.
(arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
* config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
defines one thing and that is incorrect for this port.
(IN_SOLIB_CALL_TRAMPOLINE): Delete.
muller [Tue, 19 Feb 2002 10:54:26 +0000 (10:54 +0000)]
* fix compilation failure by adding #include "i386-tdep.h"
muller [Tue, 19 Feb 2002 08:49:41 +0000 (08:49 +0000)]
2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (display_selector): New function. Displays information
about the information returned by GetThreadSelectorEntry API function.
(display_selectors): New function. Displays the infomation of
the selector given as argument, or of CS, DS ans FS selectors
if no argument is given.
( _initialize_inftarg): Add "w32" as info prefix command.
Add "info w32 selector" as command calling display_selectors.
muller [Tue, 19 Feb 2002 08:44:29 +0000 (08:44 +0000)]
* i386-tdep.c (get_longjmp_target): Fix compilation failure
by setting dummy values to JB_PC and JB_ELEMENT_SIZE
if not defined.
cgd [Tue, 19 Feb 2002 08:10:44 +0000 (08:10 +0000)]
2002-02-18 Chris Demetriou <cgd@broadcom.com>
* mips.igen: For all functions and instructions, list model
names that support that instruction one per line.
cgf [Tue, 19 Feb 2002 05:58:44 +0000 (05:58 +0000)]
* fork.cc (fork_parent): Use sec_user_nih to control process/thread
inheritance/permission.
* spawn.cc (spawn_guts): Ditto.
* security.cc (create_token): Initialize token so that it is not tested for
bogus value later. Use sec_user to control process/thread creation.
* security.h (__sec_user): Rename declaration from sec_user.
(sec_user_nih): Declare here as inline function wrapper for __sec_user.
(sec_user): Ditto.
* sigproc.cc (czombies): Allocate a character array for zombies to avoid
constructor overhead
(extremely hackish, I know).
(cpchildren): Ditto.
(pchildren): New define.
(zombies): Ditto.
(getsem): Use sec_user_nih to control semaphore inheritance/permission.
trix [Tue, 19 Feb 2002 05:01:23 +0000 (05:01 +0000)]
Add support for -brtl, run time linking, to AIX ld.
gdbadmin [Tue, 19 Feb 2002 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***
drow [Mon, 18 Feb 2002 23:57:07 +0000 (23:57 +0000)]
2002-02-18 Daniel Jacobowitz <drow@mvista.com>
* config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
drow [Mon, 18 Feb 2002 23:44:11 +0000 (23:44 +0000)]
2002-02-18 Daniel Jacobowitz <drow@mvista.com>
* gas/sh/basic.exp: Don't run PIC tests for targets that don't
support it.
dj [Mon, 18 Feb 2002 23:01:39 +0000 (23:01 +0000)]
merge from gcc
dj [Mon, 18 Feb 2002 23:01:27 +0000 (23:01 +0000)]
merge from gcc
amodra [Mon, 18 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update
drow [Mon, 18 Feb 2002 22:42:53 +0000 (22:42 +0000)]
2002-02-18 Daniel Jacobowitz <drow@mvista.com>
* ld-elfvsb/sh1.c: Fix typo in last change.
chastain [Mon, 18 Feb 2002 19:08:05 +0000 (19:08 +0000)]
2002-02-18 Michael Chastain <mec@shout.net>
* gdb.c++/userdef.exp: Update copyright year.
chastain [Mon, 18 Feb 2002 19:07:29 +0000 (19:07 +0000)]
2002-02-18 Michael Chastain <mec@shout.net>
* gdb.c++/userdef.exp: Update copyright year.
drow [Mon, 18 Feb 2002 18:57:03 +0000 (18:57 +0000)]
2002-02-18 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/userdef.exp: Test overloaded operators properly.
Remove xfails.
fitzsim [Mon, 18 Feb 2002 18:51:14 +0000 (18:51 +0000)]
* debug, fpu, memory: Remove directories.
rearnsha [Mon, 18 Feb 2002 18:34:43 +0000 (18:34 +0000)]
* config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
fche [Mon, 18 Feb 2002 18:04:20 +0000 (18:04 +0000)]
2002-02-18 Frank Ch. Eigler <fche@redhat.com>
* gprof.cxx (store): Emit high_pc for histogram as gprof expects it
(exclusive upper limit), not actual (maximum value).
tromey [Mon, 18 Feb 2002 17:19:40 +0000 (17:19 +0000)]
* library/tclIndex: Updated.
* library/srcbar.itcl (SrcBar): Use new Session namespace.
* library/main.tcl: Use new Session namespace.
* library/interface.tcl (gdbtk_tcl_preloop): Use new Session
namespace.
(gdbtk_cleanup): Likewise.
(_close_file): Likewise.
* library/session.tcl: Use a namespace. Renamed all functions.
rearnsha [Mon, 18 Feb 2002 16:42:52 +0000 (16:42 +0000)]
* arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
(arm_fix_call_dummy): Call it.
(arm_call_dummy_breakpoint_offset): Delete.
(arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
* config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
hubicka [Mon, 18 Feb 2002 16:32:25 +0000 (16:32 +0000)]
* i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands.
cagney [Mon, 18 Feb 2002 15:59:12 +0000 (15:59 +0000)]
* gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
Default to func_frame_chain_valid.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h (FRAME_CHAIN_VALID): Delete definition.
ezannoni [Mon, 18 Feb 2002 15:08:39 +0000 (15:08 +0000)]
2002-02-18 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c: Update copyright.
(fetch_register, store_register): Add tid parameter, don't compute
tid here.
(fetch_ppc_registers, store_ppc_registers): Add tid
parameter. Pass it along to callees.
(fetch_inferior_registers, store_inferior_registers): Compute tid
here, and pass it to calleed functions.
(fill_gregset, supply_fpregset): Clean up formatting.
rearnsha [Mon, 18 Feb 2002 15:04:16 +0000 (15:04 +0000)]
* arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
* config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
rearnsha [Mon, 18 Feb 2002 13:35:27 +0000 (13:35 +0000)]
* gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
* gdbarch.c gdbarch.h: Regenerate.
* breakpoint.c (create_longjmp_breakpoint): Always compile this
function.
(breakpoint_reset): Test GET_LONGJMP_TARGET_P().
* infrun.c (GET_LONGJMP_TARGET): Delete default definition.
(handle_inferior_event): Test GET_LONGJMP_TARGET_P().
* arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
* arm-tdep.c (arm_get_longjmp_target): New function.
(arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
this to a positive value register arm_get_longjmp_target as the
longjmp handler.
* arm-linux-tdep.c (arm_get_longjmp_target): Delete.
(arm_linux_init_abi): Set up longjmp description in tdep.
* armnbsd-nat.c (get_longjmp_target): Delete.
* armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
description in tdep.
* config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
(get_longjmp_target): Delete declaration.
(GET_LONGJMP_TARGET): Delete.
* config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
(GET_LONGJMP_TARGET): Delete.
amodra [Mon, 18 Feb 2002 12:40:22 +0000 (12:40 +0000)]
* elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define.
(struct ppc_link_hash_table): Add sfpr.
(ppc64_elf_link_hash_table_create): Init it.
(ppc64_elf_create_dynamic_sections): Split creation of .stub and
.glink out to..
(create_linkage_sections): ..here. Make .sfpr too.
(ppc64_elf_check_relocs): Call create_linkage_sections, and set
dynobj early.
(MIN_SAVE_FPR, MAX_SAVE_FPR): Define.
(ppc64_elf_func_desc_adjust): Look for missing ._savef* and
._restf* functions, and create as needed.
(func_desc_adjust): Only force_local for shared libs.
* emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
nickc [Mon, 18 Feb 2002 12:16:55 +0000 (12:16 +0000)]
Bump version number to 2.12.90
obrien [Mon, 18 Feb 2002 09:37:59 +0000 (09:37 +0000)]
2002-02-18 David O'Brien <obrien@FreeBSD.org>
* Makefile.in: Add new files earmelf_fbsd, eelf32ppc_fbsd,
eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
and eelf64alpha_fbsd.
* configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
use a FreeBSD-specific emulation rather than the psABI one.
* emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
for all FreeBSD ELF systems.
* emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
emulation.
* emulparams/elf32ppc_fbsd.sh: Likewise.
* emulparams/elf64_ia64_fbsd.sh: Likewise.
* emulparams/elf64_sparc_fbsd.sh: Likewise.
* emulparams/elf64alpha_fbsd.sh: Likewise.
* emulparams/elf_i386_fbsd.sh: Likewise.
* emulparams/elf_x86_64_fbsd.sh: Likewise.
Approved by: Nick Clifton <nickc@cambridge.redhat.com>
<m3pu33yy0b.fsf@north-pole.nickc.cambridge.redhat.com>
hp [Mon, 18 Feb 2002 09:16:00 +0000 (09:16 +0000)]
Fix date
hp [Mon, 18 Feb 2002 09:13:47 +0000 (09:13 +0000)]
* binutils-all/objcopy.exp
(strip_executable_with_saving_a_symbol): Prune symbol Main in nm
output for mmix-knuth-mmixware.
nickc [Mon, 18 Feb 2002 08:40:01 +0000 (08:40 +0000)]
Updated translations
kevinb [Mon, 18 Feb 2002 05:53:03 +0000 (05:53 +0000)]
From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
* ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
of ``current_gdbarch''.
drow [Mon, 18 Feb 2002 04:49:15 +0000 (04:49 +0000)]
2002-02-17 Daniel Jacobowitz <drow@mvista.com>
* ld-elfvsb/sh1.c: Use #pragma weak.
drow [Mon, 18 Feb 2002 03:23:28 +0000 (03:23 +0000)]
2002-02-17 Daniel Jacobowitz <drow@mvista.com>
* vers.exp: Do not call diff -q.
tromey [Mon, 18 Feb 2002 01:12:37 +0000 (01:12 +0000)]
* cli/cli-cmds.c (compare_strings): New function.
(complete_command): Only print each unique item once.
* completer.h (complete_line): Declare.
* completer.c (complete_line): New function.
(line_completion_function): Use it.
gdbadmin [Mon, 18 Feb 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 17 Feb 2002 23:00:04 +0000 (23:00 +0000)]
daily update
amodra [Sun, 17 Feb 2002 22:15:40 +0000 (22:15 +0000)]
* ld.texinfo (Output Section Fill): Fix amateur texinfo.
(FILL): Likewise.
cgf [Sun, 17 Feb 2002 22:00:28 +0000 (22:00 +0000)]
reformat
hp [Sun, 17 Feb 2002 21:38:02 +0000 (21:38 +0000)]
* emultempl/mmo.em (mmo_after_open): Don't call
_bfd_mmix_check_all_relocs when producing ELF output.
hp [Sun, 17 Feb 2002 21:22:22 +0000 (21:22 +0000)]
* ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol
output.
* ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s,
ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test.
hp [Sun, 17 Feb 2002 21:18:33 +0000 (21:18 +0000)]
* mmo.c: Correct and improve comments.
(mmo_write_chunk): Store trailing byte in bfd buffer; don't
zero-pad. Use input to fill up non-empty bfd buffer.
(mmo_flush_chunk): New function.
(mmo_write_loc_chunk): Add parameter last_vmap, all callers
changed. Don't emit location specifier if VMA is same as
*LAST_VMAP after omitting leading zero contents. Call
mmo_flush_chunk before emitting location specifier.
(mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished
with mmo_write_loc_chunk calls.
(mmo_internal_write_section): Call mmo_flush_chunk after
mmo_write_chunk.
(mmo_write_symbols_and_terminator): Move :Main to first position
in symbol array. Add faked one if it does not exist if there are
other symbols. Don't add it if there are no symbols at all. Move
out test for value of :Main from symbol loop. Rename table
fakemain to maintable and variable mainsym to fakemain.
hp [Sun, 17 Feb 2002 20:13:04 +0000 (20:13 +0000)]
* ld-mmix/bpo-22.d: New test.
hp [Sun, 17 Feb 2002 19:34:11 +0000 (19:34 +0000)]
* ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
and .bss.
cgf [Sun, 17 Feb 2002 04:59:54 +0000 (04:59 +0000)]
* times.cc (hires::prime): Restore thread priority on failure condition.
* uinfo.cc (uinfo_init): Use more robust method for determining if process was
invoked from a non-cygwin process.
* sync.h (muto::init): Eliminate "inheritance" parameter.
(new_muto): Reflect removal of parameter.
* sync.cc (muto::init): Ditto.
* cygheap.cc (cygheap_init): Ditto.
* debug.cc (threadname_init): Ditto.
* exceptions.cc (events_init): Ditto.
* malloc.cc (malloc_init): Ditto.
* path.cc (cwdstuff::init): Ditto.
* sigproc.cc (sigproc_init): Ditto.
* grp.cc (group_lock): Use different method for locking with static member.
(read_etc_group): REALLY ensure that read lock mutex is released.
* passwd.cc (passwd_lock): Use different method for locking with static member.
(read_etc_passwd): REALLY ensure that read lock mutex is released.
* shared.cc (sec_user): Correct reversed inheritance test.
gdbadmin [Sun, 17 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Sat, 16 Feb 2002 23:09:15 +0000 (23:09 +0000)]
* gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
* gdbarch.h, gdbarch.c: Re-generate.
amodra [Sat, 16 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
drow [Sat, 16 Feb 2002 22:25:49 +0000 (22:25 +0000)]
2002-02-16 Daniel Jacobowitz <drow@mvista.com>
* valarith.c (value_x_unop): Fix decrement; support post-decrement.
2002-02-16 Daniel Jacobowitz <drow@mvista.com>
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
* valops.c (value_arg_coerce): Don't take the address of a reference
to convert an argument to a reference.
cgf [Sat, 16 Feb 2002 17:47:48 +0000 (17:47 +0000)]
whitespace cleanup
nickc [Sat, 16 Feb 2002 11:01:54 +0000 (11:01 +0000)]
Fix typo: MMIX used instead of CRIS.
cgf [Sat, 16 Feb 2002 02:33:23 +0000 (02:33 +0000)]
* win32-nat.c (get_image_name): New function.
(handle_load_dll): Use get_image_name function.
(get_child_debug_event): Avoid registering debug events until possibly execed
process is started.
(child_create_inferior): Allow invocation via shell so that command line
redirection, etc. works ok.
(_initialize_inftarg): Add new command: "set shell" to control whether a shell
is used to start a process.
gdbadmin [Sat, 16 Feb 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
rth [Fri, 15 Feb 2002 23:39:26 +0000 (23:39 +0000)]
* emulparams/elf64alpha.sh (NOP): Adjust for big-endian
definition. Emit a unop+nop pair.
cgf [Fri, 15 Feb 2002 23:03:14 +0000 (23:03 +0000)]
* mount.cc (usage): Fix typo in output.
cgd [Fri, 15 Feb 2002 23:00:31 +0000 (23:00 +0000)]
2002-02-15 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (md_estimate_size_before_relax): Really
make sure we treat weak like extern only for ELF. (Fixes
patch from 2001-07-25.)
amodra [Fri, 15 Feb 2002 23:00:03 +0000 (23:00 +0000)]
daily update
drow [Fri, 15 Feb 2002 22:59:12 +0000 (22:59 +0000)]
2002-02-15 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
instead of find_register_by_number.
(cannot_store_register): Likewise.
muller [Fri, 15 Feb 2002 22:42:33 +0000 (22:42 +0000)]
2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
* dwarf2read.c: Replace fprintf (stderr, ...) by
fprintf_unfiltered (gdb_stderr, ...).
rth [Fri, 15 Feb 2002 21:26:05 +0000 (21:26 +0000)]
* elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target
section with no got matches any got. Simplify error generaion.
jjohnstn [Fri, 15 Feb 2002 21:19:39 +0000 (21:19 +0000)]
2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h: Add definitions for
__int16_t, __uint16_t, __int64_t, and __uint64_t.
rth [Fri, 15 Feb 2002 21:00:45 +0000 (21:00 +0000)]
* alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
disassembly mask.
dannysmith [Fri, 15 Feb 2002 19:27:43 +0000 (19:27 +0000)]
* include/ntsecpkg.h: New file.
* include/schannel.h: New file.
* include/schnlsp.h: New file.
* include/security.h: New file.
* include/sspi.h: New file.
* include/ntsecapi.h (KERB_WRAP_NO_ENCRYPT,
MICROSOFT_KERBEROS_NAME_[AW]): Add missing constants
* include/wincrypt.h (CALG_*, X509_ASN_ENCODING.
PKCS_7_ASN_ENCODING, CERT_*, USAGE_MATCH_TYPE_AND,
USAGE_MATCH_TYPE_OR, szOID_*): Add missing constants
(struct _CRYPTOAPI_BLOB): Add structure and typedefs.
(SSL_EXTRA_CERT_CHAIN_POLICY_PARA,HTTPSPolicyCallbackData,
CERT_CHAIN_POLICY_PARA,CERT_CHAIN_POLICY_STATUS,
CRYPT_ALGORITHM_IDENTIFIER, CRYPT_BIT_BLOB,
CERT_PUBLIC_KEY_INFO, CERT_EXTENSION, CERT_INFO, CERT_CONTEXT,
CTL_USAGE, CERT_ENHKEY_USAGE, CERT_USAGE_MATCH,
CERT_CHAIN_PARA, CERT_CHAIN_FIND_BY_ISSUER_PARA,
CERT_TRUST_STATUS, CRL_ENTRY, CRL_INFO, CRL_CONTEXT,
CERT_REVOCATION_CRL_INFO, CERT_REVOCATION_INFO,
CERT_CHAIN_ELEMENT, CRYPT_ATTRIBUTE, CTL_ENTRY, CTL_INFO,
CTL_CONTEXT, CERT_TRUST_LIST_INFO, CERT_SIMPLE_CHAIN,
CERT_CHAIN_CONTEXT): Add missing structures.
(CertCloseStore, CertGetCertificateChain,
CertVerifyCertificateChainPolicy, CertFreeCertificateChain,
CertNameToStr[AW], CertOpenSystemStore[AW], CertOpenStore,
CertFindCertificateInStore, CertFreeCertificateContext,
CertGetIssuerCertificateFromStore,
CertFindChainInStore): Add missing functions.
(CertNameToStr, CertOpenSystemStore, CERT_FIND_SUBJECT_STR,
CERT_FIND_ISSUER_STR): Add Unicode mappings.
* lib/crypt32.def: New file.
* lib/secur32.def: Add mising stubs.
* lib/test.c: Include new headers.
drow [Fri, 15 Feb 2002 19:08:04 +0000 (19:08 +0000)]
2002-02-15 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/gdbserver.1: Document --attach.
drow [Fri, 15 Feb 2002 19:06:33 +0000 (19:06 +0000)]
2002-02-15 Daniel Jacobowitz <drow@mvista.com>
* gdb.texinfo: Document gdbserver ``--attach'' command.
cgf [Fri, 15 Feb 2002 17:06:39 +0000 (17:06 +0000)]
* hires.h (hires::usecs): Rename from utime. Accept an argument.
* strace.cc (strace::microseconds): Use hires class for calculating times.
* sync.h (new_muto): Use NO_COPY explicitly in declaration.
* times.cc (gettimeofday): Reflect change in usecs argument.
(hires::usecs): Ditto. Changed name from utime.
* winsup.h (NO_COPY): Add nocommon attribute to force setting aside space for
variable.
* regcomp.c (REQUIRE): Add a void cast to bypass a warning.
rearnsha [Fri, 15 Feb 2002 16:12:20 +0000 (16:12 +0000)]
* arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
descriptions.
* arm-tdep.c (arm_default_arm_le_breakpoint)
(arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
(arm_default_thumb_be_breakpoint): New. Initialize them from
traditional breakpoint defines.
(arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
(arm_gdbarch_init): Initialize new breakpoint variables.
* arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
(arm_linux_init_abi): Initialize linux-specific breakpoint.
* armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
(arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
code out to ...
(arm_netbsd_init_abi_common): ... here; new function.
* config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
(THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
* config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
* config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
rearnsha [Fri, 15 Feb 2002 13:35:23 +0000 (13:35 +0000)]
* arm-tdep.h (enum arm_abi): New enum.
(struct gdbarch_tdep): New structure.
(LOWEST_PC): Provide a default.
(arm_gdbarch_register_os_abi): Declare new function.
* arm-tdep.c (arm_abi_names): New array.
(process_note_abi_tag_sections): New function.
(get_elfosabi): New function.
(arm_gdbarch_register_os_abi): New function.
(arm_gdbarch_init): Try to determine the ABI of the inferior. If
support for that ABI has been built in, then call the appropriate
configuration routine. Use gdbarch_num_regs() to get the number
of registers.
(arm_dump_tdep): New function.
(arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
place-holder functions.
(_initialize_arm_tdep): Register them.
* config/arm/tm-arm.h (LOWEST_PC): Delete.
* armnbsd-tdep.c: New file.
* Makefile.in (armnbsd-tdep.o): Add dependencies.
* config/arm/nbsd.mt (TDEPFILES): Add it.
* config/arm/tm-nbsd.h (LOWEST_PC): Delete.
* armnbsd-nat.c: Include regcache.h.
* Makefile.in (armnbsd-nat.o): Update dependency list.
* arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
bje [Fri, 15 Feb 2002 11:24:26 +0000 (11:24 +0000)]
* doc/as.texinfo: Add duplicate directory entry so that "info gas"
works as expected.
rth [Fri, 15 Feb 2002 09:43:16 +0000 (09:43 +0000)]
* alpha-opc.c (alpha_opcodes): Add simple pseudos for
lda, ldah, jmp, ret.
cgf [Fri, 15 Feb 2002 07:05:04 +0000 (07:05 +0000)]
* hires.h: New file.
* times.cc (gettimeofday): Use hires class for calculating current time.
(hires::prime): New method.
(hires::utime): Ditto.
hp [Fri, 15 Feb 2002 06:54:22 +0000 (06:54 +0000)]
Tweak wording in comment in last change
hp [Fri, 15 Feb 2002 06:50:18 +0000 (06:50 +0000)]
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
for presence of .MMIX.reg_contents.linker_allocated before early
exit.
hp [Fri, 15 Feb 2002 04:04:03 +0000 (04:04 +0000)]
* NEWS: Mention support for MMIX.
hp [Fri, 15 Feb 2002 04:01:17 +0000 (04:01 +0000)]
* NEWS: Mention support for MMIX.
drow [Fri, 15 Feb 2002 03:58:31 +0000 (03:58 +0000)]
2002-02-14 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/Makefile.in: Fix typos in target rules.
hp [Fri, 15 Feb 2002 03:58:10 +0000 (03:58 +0000)]
* NEWS: Mention support for MMIX.
amodra [Fri, 15 Feb 2002 03:34:47 +0000 (03:34 +0000)]
* ld.texinfo (Output Section Fill): Describe fill expressions.
(FILL): Refer to the above.
amodra [Fri, 15 Feb 2002 02:11:05 +0000 (02:11 +0000)]
Support arbitrary length fill patterns.
* ldexp.h (etree_value_type): Add "str" field.
(union etree_union): Add "str" to "value" struct.
(exp_bigintop): Declare.
(exp_get_fill): Declare.
* ldexp.c: Include "safe-ctype.h".
(exp_intop): Set value.str to NULL.
(exp_bigintop): New function.
(new_rel): Pass in "str", and set new.str from it.
(new_rel_from_section): Set new.str to NULL.
(fold_name): Adjust calls to new_rel.
(exp_fold_tree): Likewise.
(exp_get_fill): New function.
* ldgram.y (struct big_int bigint, fill_type *fill): New.
(INT): Returns a "bigint". Adjust all code handling INTs.
(fill_opt): Returns a "fill".
(fill_exp): Split out of fill_opt, use for FILL.
* ldlang.h (struct _fill_type): New.
(fill_type): Move typedef to ldexp.h.
(lang_output_section_statement_type): "fill" is now a pointer.
(lang_fill_statement_type): Likewise.
(lang_padding_statement_type): Likewise.
(lang_add_fill): Now takes a "fill_type *" param.
(lang_leave_output_section_statement): Likewise.
(lang_do_assignments): Likewise.
(lang_size_sections): Likewise.
(lang_leave_overlay_section): Likewise.
(lang_leave_overlay): Likewise.
* ldlang.c: Include ldgram.h after ldexp.h.
(lang_output_section_statement_lookup): Adjust for fill_type change.
(print_fill_statement): Likewise.
(print_padding_statement): Likewise.
(insert_pad): Now takes a "fill_type *" arg.
(size_input_section): Likewise.
(lang_size_sections_1): Likewise.
(lang_size_sections): Likewise.
(lang_do_assignments): Likewise.
(lang_add_fill): Likewise.
(lang_leave_output_section_statement): Likewise.
(lang_leave_overlay_section): Likewise.
(lang_leave_overlay): Likewise.
Adjust all callers of the above function.
* ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
starting with "0X" as well as "0x". Return bigint.str for hex
numbers starting with "0x" or "0X", zero bigint.str otherwise.
Always use base 16 for numbers starting with "$".
* ldmain.c: Include ldgram.h after ldexp.h.
* ldwrite.c (build_link_order): Use bfd_data_link_order in place
of bfd_fill_link_order.
* pe-dll.c: Adjust lang_do_assignments calls.
* emultempl/elf32.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
lang_add_assignment call.
* emultempl/pe.em: Likewise.
amodra [Fri, 15 Feb 2002 02:10:34 +0000 (02:10 +0000)]
Support arbitrary length fill patterns.
* linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc.
(_bfd_default_link_order): Remove bfd_fill_link_order code.
Call default_data_link_order.
(default_fill_link_order): Delete.
(default_data_link_order): New function.
* elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences
of bfd_fill_link_order with bfd_data_link_order.
* elf64-alpha.c (elf64_alpha_final_link): Likewise.
* elf64-mips.c (mips_elf64_final_link): Likewise.
amodra [Fri, 15 Feb 2002 02:10:03 +0000 (02:10 +0000)]
Support arbitrary length fill patterns.
* bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order.
(struct bfd_link_order): Remove fill. Add data.size.
fitzsim [Fri, 15 Feb 2002 01:18:43 +0000 (01:18 +0000)]
* debug/debug.h: Move to top-level bochs directory.
* debug: Remove directory.
* pic/*: New files.
* floppy/*: New files.
* cmos/*: New files.
* unmapped/*: New files.
* dma/*: New files.
* pit/*: New files.
* cpu/x86.h: Rename to sid-x86-cpu-wrapper.h.
* cpu/x86.cc: Rename to sid-x86-cpu-wrapper.cc.
* cpu/x86-memory-modes.cc: Rename to sid-x86-memory-modes.cc.
* memory/*: Move to cpu/memory/*.
* fpu/*: Move to cpu/fpu/*.
* bochs.h: Change #include's to reflect new and moved files.
Add sid expansions for A20ADDR(x), BX_INP(addr, len),
BX_OUTP(addr, val, len), BX_RAISE_HLDA(),
BX_SET_ENABLE_A20(enabled), BX_GET_ENABLE_A20(), and
BX_NULL_TIMER_HANDLE.
* components.cxx: Add support for cmos, dma, pic, pit, floppy,
unmapped.
* config.h.in: Set BX_SUPPORT_TASKING, BX_DMA_FLOPPY_IO and
BX_SUPPORT_A20 to 1 by default.
Set SMF macros to 0 for cmos, dma, pic, pit, floppy and unmapped
components.
* configure.in: Add pic, pit, cmos, dma, floppy, and unmapped
Makefiles to AC_OUTPUT.
* cpu/exception-sid.cc: Remove. Merge differences into
cpu/exception.cc.
* cpu/cpu-sid.h: Remove. Merge differences into cpu/cpu.h.
* cpu/cpu-sid.cc: Remove. Merge differences into cpu/cpu.cc.
* cpu/init-sid.cc: Remove. Merge differences into cpu/init.cc.
* cpu/soft_int-sid.cc: Remove.
* cpu/debugstuff-sid.cc: Remove. Merge differences into
cpu/debugstuff.cc.
* cpu/ctrl_xfer32-sid.cc: Remove.
* cpu/fetchdecode-sid.cc: Remove.
* cpu/Makefile.am: Remove references to removed files.
(SUBDIRS) Add memory and fpu.
(SUBLIBS) Add memory/libmemory.la and fpu/libfpu.la.
(INCLUDES) Add memory and fpu directories.
* cpu/cpu.cc: Remove BX_HRQ related FIXME's.
Add interrupt pin support.
* cpu/debugstuff.cc (BX_SUPPORT_SID): Add implementations of
dbg_get_reg, dbg_set_reg, and dbg_get_eflags for when
BX_DEBUGGER isn't defined.
* cpu/io.cc: Remove #if 0's -- no longer needed.
* cpu/io_pro.cc: Likewise.
* gui/x-gui.cc: Change title bar messages.
* keyboard/keyboard.cc: Change keyboard to remove serial delay
pin.
* keyboard/sid-keyboard-wrapper.cc: Add a20-related pins.
Remove serial-delay pin.
Add cmos accessor.
Add trigger-irq pin.
* keyboard/sid-keyboard-wrapper.h: Likewise.
* vga/sid-vga-wrapper.cc: Rename buses from eg. 3b4 to 0x3b4.
Import imagemmap code from generic.cxx.
* vga/vga.cc: Cap number of rows at BX_MAX_TEXT_LINES.
* Makefile.am (SUBDIRLIST): Add pic, pit, cmos, dma, floppy,
unmapped.
Removed fpu, memory.
(SUBLIBLIST): Likewise.
(INCLUDES): Likewise.
amodra [Fri, 15 Feb 2002 00:20:17 +0000 (00:20 +0000)]
* bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value.
Correct value returned in "end" for "0x<non-hex>".
gdbadmin [Fri, 15 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***