OSDN Git Service
thorpej [Thu, 9 May 2002 23:11:29 +0000 (23:11 +0000)]
* vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
(print_insn_mode): Print some basic info about floating point values.
cgf [Thu, 9 May 2002 22:55:07 +0000 (22:55 +0000)]
* syscalls.cc (_write): Change error to EBADF if attempt to write to a
non-writable fd.
drow [Thu, 9 May 2002 22:25:59 +0000 (22:25 +0000)]
H2002-05-09 Daniel Jacobowitz <drow@mvista.com>
* mips-tdep.c (mips_float_register_type): New function.
(mips_double_register_type): New function.
(mips_print_register): Use them.
(do_fp_register_row): Likewise.
drow [Thu, 9 May 2002 22:21:39 +0000 (22:21 +0000)]
Correct ChangeLog entry to:
2002-05-09 Daniel Jacobowitz <drow@mvista.com>
* signals/signals.c (signals): Remove conditional compilation around
Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT.
(target_signal_from_name): Loop until TARGET_SIGNAL_LAST.
drow [Thu, 9 May 2002 22:20:28 +0000 (22:20 +0000)]
2002-05-09 Daniel Jacobowitz <drow@mvista.com>
* signals/signals.c (signals): Remove conditional compilation around
Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT.
(target_signal_from_name): Loop until TARGET_SIGNAL_LAST.
drow [Thu, 9 May 2002 22:19:48 +0000 (22:19 +0000)]
2002-05-09 Daniel Jacobowitz <drow@mvista.com>
* signals.h: Update comments.
(enum target_signal): Remove conditional compilation around
Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT.
kettenis [Thu, 9 May 2002 20:07:15 +0000 (20:07 +0000)]
* gdb.c++/method.exp: Fix typo.
msnyder [Thu, 9 May 2002 18:44:47 +0000 (18:44 +0000)]
2002-05-09 Michael Snyder <msnyder@redhat.com>
* remote-rdp.c (remote_rdp_can_run): Remove.
msnyder [Thu, 9 May 2002 18:29:33 +0000 (18:29 +0000)]
2002-05-08 Michael Snyder <msnyder@redhat.com>
* gdb.mi/mi-var-child.exp: Accept (void) as well as ().
* gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
tromey [Thu, 9 May 2002 18:23:40 +0000 (18:23 +0000)]
* jv-valprint.c (java_val_print): Handle `char' as a special case
of TYPE_CODE_INT.
msnyder [Thu, 9 May 2002 18:17:21 +0000 (18:17 +0000)]
2002-05-09 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Add iftarget clause for strongarm.
msnyder [Thu, 9 May 2002 18:12:00 +0000 (18:12 +0000)]
2002-05-08 Michael Snyder <msnyder@redhat.com>
* stabs.texinfo (Attributes): Document new "vector" attribute.
msnyder [Thu, 9 May 2002 18:11:17 +0000 (18:11 +0000)]
2002-05-06 Michael Snyder <msnyder@redhat.com>
* stabsread.c (read_type): Add recognition for new attribute:
"@V;" means that an array type is actually a vector.
This is analogous to the vector flag that's been added to dwarf2.
msnyder [Thu, 9 May 2002 18:06:56 +0000 (18:06 +0000)]
2002-05-09 Michael Snyder <msnyder@redhat.com>
* arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn],
strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as
strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and
str r(0123),[sp,#nn].
(arm_skip_prologue): Ditto. Also make disassembly
order-independent by placing it in a loop.
kettenis [Thu, 9 May 2002 13:53:36 +0000 (13:53 +0000)]
* i386-tdep.h (i386_abi): New enum.
(struct gdbarch_tdep): Replace os_ident member with abi.
(i386_gdbarch_register_os_abi): New prototype.
* i386-tdep.c (i386_abi_names): New array.
(process_note_abi_tag_sections): Removed.
(process_note_sections): New function.
(i386_elf_abi_from_note, i386_elf_abi): New functions.
(struct i386_abi_handler): New struct.
(i386_abi_handler_list): New variable.
(i386_gdbarch_register_os_abi): New function.
(i386_gdbarch_init): Adapt for the changes given above.
kazu [Thu, 9 May 2002 13:12:55 +0000 (13:12 +0000)]
* config/obj-coff.c: Fix formatting.
* config/obj-elf.c: Likewise.
* config/tc-alpha.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-d10v.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-hppa.c: Likewise.
nickc [Thu, 9 May 2002 12:43:45 +0000 (12:43 +0000)]
Add Joasn Thorpe as VAX maintainer
amodra [Thu, 9 May 2002 11:40:15 +0000 (11:40 +0000)]
* elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete.
(ppc64_elf_howto_raw <R_PPC64_RELATIVE>): Not pc_relative or
pcrel_offset.
amodra [Thu, 9 May 2002 11:15:47 +0000 (11:15 +0000)]
* ppc-opc.c: Add "tlbiel" for POWER4.
nickc [Thu, 9 May 2002 10:29:08 +0000 (10:29 +0000)]
Uses sim callback interface for system calls in RedBoot SWI support.
nickc [Thu, 9 May 2002 10:14:12 +0000 (10:14 +0000)]
Support the RedBoot SWI in ARM mode and some of its system calls.
amodra [Thu, 9 May 2002 06:35:21 +0000 (06:35 +0000)]
* config/tc-i386.c (md_estimate_size_before_relax) Don't lose
reloc when no_cond_jump_promotion.
amodra [Thu, 9 May 2002 06:34:43 +0000 (06:34 +0000)]
* elf32-i386.c (elf_howto_table): Comments.
(elf_i386_relocate_section): Handle more relocs for relocatable
linking and against SEC_MERGE sections.
wilson [Thu, 9 May 2002 01:43:10 +0000 (01:43 +0000)]
Fix i960-elf abort in cvt_frag_to_fill while compiling libc/stdio/vfprintf.c.
* config/tc-i960.c (md_estimate_size_before_relax): Return size of
current variable part of frag.
kazu [Thu, 9 May 2002 00:33:07 +0000 (00:33 +0000)]
* config/tc-mmix.c: Fix formatting.
* config/tc-mmix.h: Likewise.
gdbadmin [Thu, 9 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 9 May 2002 00:00:05 +0000 (00:00 +0000)]
daily update
drow [Wed, 8 May 2002 23:29:10 +0000 (23:29 +0000)]
2002-05-08 Daniel Jacobowitz <drow@mvista.com>
* gregset.h: Say "GNU/Linux".
amodra [Wed, 8 May 2002 23:15:36 +0000 (23:15 +0000)]
* configure.in: Replace `*pe' with `pe' throughout.
ezannoni [Wed, 8 May 2002 22:58:37 +0000 (22:58 +0000)]
2002-05-08 Elena Zannoni <ezannoni@redhat.com>
* gdbtypes.c : Add new builtin type for 64 bit vectors.
(build_gdbtypes): Build builtin_type_v2_float.
(_initialize_gdbtypes): Register new builtin type.
msnyder [Wed, 8 May 2002 21:05:43 +0000 (21:05 +0000)]
2002-05-08 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Merge clauses for arm and xscale.
* gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
graydon [Wed, 8 May 2002 20:47:04 +0000 (20:47 +0000)]
[ cgen/ChangeLog ]
2002-05-01 Graydon Hoare <graydon@redhat.com>
* desc-cpu.scm (@arch@_cgen_cpu_close): Fix memory leaks.
[ opcodes/ChangeLog ]
2002-05-07 Graydon Hoare <graydon@redhat.com>
* cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather
than just most-recently-opened.
cagney [Wed, 8 May 2002 20:43:02 +0000 (20:43 +0000)]
* gdbarch.sh (init_gdbarch_swap): Do not clear the swap section.
(clear_gdbarch_swap): New function.
(initialize_non_multiarch): Call.
(gdbarch_update_p): Before calling init(), swap out and clear the
existing architecture.
* gdbarch.c: Regenerate.
fitzsim [Wed, 8 May 2002 20:34:24 +0000 (20:34 +0000)]
* acinclude.m4: Add support for --enable-newlib-multithread.
* configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
--enable-newlib-multithread=no.
fche [Wed, 8 May 2002 19:33:12 +0000 (19:33 +0000)]
[cgen-cpu]
2002-05-07 Frank Ch. Eigler <fche@redhat.com>
* common-xml/interface.xml: Document gdb-breakpoint-{big,little}.
* common-xml/debugger-register-access.xml: Cont'd.
[m32r]
2002-05-07 Frank Ch. Eigler <fche@redhat.com>
* hw-cpu-m32r_d.txt: Regenerated with new gdb attributes.
* m32rbf.cxx (m32rbf_cpu ctor): Define big-endian sw breakpoint.
fche [Wed, 8 May 2002 19:15:30 +0000 (19:15 +0000)]
2002-05-07 Frank Ch. Eigler <fche@redhat.com>
* gdb.cxx (add_sw_breakpoint, remove_sw_breakpoint): New functions
for managing software breakpoints (Z0/z0 packets).
(remove_all_hw_breakpoints): Ditto.
(set_breakpoint, remove_breakpoints): Dispatch to them as appropriate.
* gdb.h (force_Z_sw_to_hw, force_Z_hw_to_sw, fallback_Z_sw_to_hw):
New parameters / attributes.
(gdb_pc_mask): Renamed parameter from hw_breakpoint_pc_mask.
* sw-debug-gdb.xml: Document new attributes.
* sw-debug-gdb.txt: Regenerated.
fitzsim [Wed, 8 May 2002 19:11:20 +0000 (19:11 +0000)]
* libc/stdio/getc_u.c: New file.
* libc/stdio/getchar_u.c: New file.
* libc/stdio/putc_u.c: New file.
* libc/stdio/putchar_u.c: New file.
* libc/include/stdio.h: Add declarations for getc_unlocked,
getchar_unlocked, putc_unlocked and putchar_unlocked.
* libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
(CHEWOUT_FILES): Add new files' .def's.
* libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
amylaar [Wed, 8 May 2002 17:56:45 +0000 (17:56 +0000)]
* libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
Also handle as single quad word when destination ends at last
byte of first quad word. Fix byte selection in single quad code.
thorpej [Wed, 8 May 2002 16:32:05 +0000 (16:32 +0000)]
* config/djgpp/fnchange.lst: Add alphanbsd-nat.c and
alphanbsd-tdep.c.
thorpej [Wed, 8 May 2002 16:18:40 +0000 (16:18 +0000)]
* sh-nbsd-nat.c: Rename to...
* shnbsd-nat.c: ...this.
* sh-nbsd-tdep.c: Rename to...
* shnbsd-tdep.c: ...this.
* sh-nbsd-tdep.h: Rename to...
* shnbsd-tdep.h: ...this.
* config/sh/nbsd.mh: Use shnbsd-nat.o.
* config/sh/nbsd.mt: Use shnbsd-tdep.o.
rearnsha [Wed, 8 May 2002 15:59:50 +0000 (15:59 +0000)]
* remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string
concatenation for command help messages.
thorpej [Wed, 8 May 2002 15:29:34 +0000 (15:29 +0000)]
* NEWS: Note new sh*-*-netbsdelf* configuration.
* configure.host: Set gdb_host_cpu to sh for all sh*.
(sh*-*-netbsdelf*): New host.
* configure.tgt: Set gdb_target_cpu to sh for all sh*.
(sh*-*-netbsdelf*): New target.
* sh-nbsd-nat.c: New file.
* sh-nbsd-tdep.c: New file.
* sh-nbsd-tdep.h: New file.
* config/sh/nbsd.mh: New file.
* config/sh/nbsd.mt: New file.
* config/sh/nm-nbsd.h: New file.
* config/sh/tm-nbsd.h: New file.
thorpej [Wed, 8 May 2002 14:54:02 +0000 (14:54 +0000)]
* sh-tdep.c (sh_osabi_names): Declare.
(process_note_abi_tag_sections): New function.
(get_elfosabi): Ditto.
(sh_gdbarch_register_os_abi): Ditto.
(sh_dump_tdep): Ditto.
_initialize_sh_tdep): Use gdbarch_register to register
sh_gdbarch_init and sh_dump_tdep.
* config/sh/tm-sh.h (sh_osabi): Declare.
(gdbarch_tdep): Add sh_osabi and osabi_name members.
amodra [Wed, 8 May 2002 14:32:37 +0000 (14:32 +0000)]
* configure: Regenerate.
thorpej [Wed, 8 May 2002 14:28:37 +0000 (14:28 +0000)]
* common.h (NT_GNU_ABI_TAG): Define.
(GNU_ABI_TAG_LINUX): Define.
(GNU_ABI_TAG_HURD): Define.
(GNU_ABI_TAG_SOLARIS): Define.
(NT_NETBSD_IDENT): Define.
(NT_FREEBSD_ABI_TAG): Define.
dj [Wed, 8 May 2002 14:22:35 +0000 (14:22 +0000)]
merge from gcc
corinna [Wed, 8 May 2002 14:21:07 +0000 (14:21 +0000)]
* cygheap.h (class cygheap_user): Add member `orig_psid'.
Add method `orig_sid()'.
* cygheap.cc (cygheap_user::set_sid): Maintain orig_psid.
amodra [Wed, 8 May 2002 05:12:52 +0000 (05:12 +0000)]
* elf32-ppc.c (ppc_elf_create_got): New function.
(ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before
_bfd_elf_create_dynamic_sections. Correct .plt flags.
(ppc_elf_check_relocs): Use ppc_elf_create_got in place of
_bfd_elf_create_got_section.
cgf [Wed, 8 May 2002 01:55:56 +0000 (01:55 +0000)]
* dumper.cc (usage) Standardize usage output. Generalize to allow use for
help.
(longopts) New struct. Added longopts for all options.
(print_version) New function.
(main) Change getopt to getopt_long. Accommodate new help and version options.
kazu [Wed, 8 May 2002 01:54:03 +0000 (01:54 +0000)]
* config/tc-m68k.c: Fix formatting.
cagney [Wed, 8 May 2002 01:35:51 +0000 (01:35 +0000)]
* arm-tdep.c (arm_skip_prologue): Handle generic dummy frames.
(thumb_scan_prologue): Ditto.
(arm_find_callers_reg): Ditto.
(arm_frame_chain): Ditto.
(arm_init_extra_frame_info): Ditto.
(arm_frame_saved_pc): Ditto.
(arm_pop_frame): Ditto.
(arm_push_return_address): New function.
(arm_gdbarch_init): Initialize use_generic_dummy_frames,
call_dummy_location, call_dummy_breakpoint_offset_p,
call_dummy_breakpoint_offset, call_dummy_p,
call_dummy_stack_adjust_p, call_dummy_words,
sizeof_call_dummy_words, call_dummy_start_offset,
call_dummy_length, fix_call_dummy, pc_in_call_dummy,
call_dummy_address, push_return_address and push_dummy_frame for
generic dummy frames.
fitzsim [Wed, 8 May 2002 01:23:43 +0000 (01:23 +0000)]
* libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
support for 'p' format. Fix code to print bytes for vector
integer formats that do not specify 'h' or 'l'.
* libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
for 'p' specifier. Fix code to scan 16 bytes for vector integer
formats that do not specify 'h' or 'l'.
fitzsim [Wed, 8 May 2002 00:12:46 +0000 (00:12 +0000)]
* libc/include/sys/stdio.h: New file.
* libc/sys/linux/sys/stdio.h: New file.
* libc/include/stdio.h: Add declarations for flockfile,
ftrylockfile, and funlockfile. Include <sys/stdio.h>.
* libc/stdio/clearerr.c: Add file locking.
* libc/stdio/fclose.c: Likewise.
* libc/stdio/feof.c: Likewise.
* libc/stdio/ferror.c: Likewise.
* libc/stdio/fflush.c: Likewise.
* libc/stdio/fgetc.c: Likewise.
* libc/stdio/fgetpos.c: Likewise.
* libc/stdio/fgets.c: Likewise.
* libc/stdio/fileno.c: Likewise.
* libc/stdio/fputc.c: Likewise.
* libc/stdio/fputs.c: Likewise.
* libc/stdio/fread.c: Likewise.
* libc/stdio/freopen.c: Likewise.
* libc/stdio/fseek.c: Likewise.
* libc/stdio/ftell.c: Likewise.
* libc/stdio/fwrite.c: Likewise.
* libc/stdio/getc.c: Likewise.
* libc/stdio/putc.c: Likewise.
* libc/stdio/setvbuf.c: Likewise.
* libc/stdio/ungetc.c: Likewise.
* libc/stdio/vfprintf.c: Likewise.
gdbadmin [Wed, 8 May 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 8 May 2002 00:00:04 +0000 (00:00 +0000)]
daily update
dannysmith [Tue, 7 May 2002 22:58:25 +0000 (22:58 +0000)]
* include/commctrl.h (ImageList_DragShowNolock): Remove
conflicting redeclaration.
thorpej [Tue, 7 May 2002 21:51:33 +0000 (21:51 +0000)]
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in
size computation for alloca.
(sh_fp_frame_init_saved_regs): Likewise.
dj [Tue, 7 May 2002 19:04:21 +0000 (19:04 +0000)]
merge from gcc
jjohnstn [Tue, 7 May 2002 17:52:36 +0000 (17:52 +0000)]
2002-05-07 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.LIBGLOSS: New file.
nickc [Tue, 7 May 2002 17:22:14 +0000 (17:22 +0000)]
Honour DESTDIR
corinna [Tue, 7 May 2002 13:18:43 +0000 (13:18 +0000)]
* localtime.cc (tzsetwall): Use wildabbr if generated timezone name
length < 3.
rearnsha [Tue, 7 May 2002 12:58:48 +0000 (12:58 +0000)]
* arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define.
(ARM_MAX_REGISTER_VIRTUAL_SIZE): Define.
* arm-tdep.c (arm_store_return_value): Use them.
Use FP_REGISTER_RAW_SIZE when setting the FPA return value.
* remote-rdp.c (remote_rdp_fetch_register): Use
ARM_MAX_REGISTER_RAW_SIZE.
(remote_rdp_store_register): Likewise.
mludvig [Tue, 7 May 2002 11:22:54 +0000 (11:22 +0000)]
2002-05-07 Michal Ludvig <mludvig@suse.cz>
* dwarf2cfi.c: Code cleanup, removed unused variables,
added default labels to switch {} statements.
* x86-64-tdep.c: Ditto.
* x86-64-linux-nat.c: Ditto.
mludvig [Tue, 7 May 2002 11:22:17 +0000 (11:22 +0000)]
2002-05-07 Michal Ludvig <mludvig@suse.cz>
* dwarf2cfi.c: Code cleanup, removed unused variables,
added default labels to switch {} statements.
* x86-64-tdep.c: Ditto.
* x86-64-linux-nat.c: Ditto.
rsandifo [Tue, 7 May 2002 11:08:54 +0000 (11:08 +0000)]
* lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.
(is_elf_format): New, extracted from...
* ld-scripts/weak.exp: ...here.
* ld-scripts/overlay-size.exp: New test.
* ld-scripts/overlay-size.[tsd],
* ld-scripts/overlay-size-map.d: New files for it.
rsandifo [Tue, 7 May 2002 11:04:52 +0000 (11:04 +0000)]
* ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
(lang_enter_overlay): Remove the last two parameters.
(lang_leave_overlay): Take them here instead.
* ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
(section): Pass LMA and crossref flag to lang_leave_overlay rather
than lang_enter_overlay.
* ldlang.c (lang_memory_region_lookup): Return null for null names.
(lang_output_section_statement_lookup): Initialize update_dot_tree.
(lang_size_sections_1): Evaluate it.
(lang_leave_output_section_statement): Rework LMA lookup.
(overlay_lma, overlay_nocrossrefs): Remove.
(lang_enter_overlay): Remove LMA and corssref arguments.
(lang_enter_overlay_section): Don't set the LMA here.
(lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
assignment to the last section's update_dot_tree. Unconditionally
use the load and run-time regions specified in the OVERLAY statement.
Likewise the first section's LMA. Only set the other sections' LMAs
when no load region is given.
thorpej [Tue, 7 May 2002 08:35:53 +0000 (08:35 +0000)]
* solib.h: Protect against multiple inclusion.
hunt [Tue, 7 May 2002 05:11:09 +0000 (05:11 +0000)]
2002-05-06 Martin M. Hunt <hunt@redhat.com>
* library/session.tcl (notice_file_change): Catch the
directory change, in case the directory no longer exists.
msnyder [Tue, 7 May 2002 02:22:06 +0000 (02:22 +0000)]
2002-05-06 Michael Snyder <msnyder@redhat.com>
* lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
(gdb_continue_to_end): Accept output from status wrapper.
* gdb.base/ending-run.exp: Add case for output from status wrapper.
Clean up fail messages to match pass messages.
msnyder [Tue, 7 May 2002 00:45:40 +0000 (00:45 +0000)]
2002-05-06 Michael Snyder <msnyder@redhat.com>
Enable the "needs_status_wrapper" testsuite feature.
* lib/gdb.exp (gdb_wrapper_init): New procedure.
(gdb_compile): Conditionally call gdb_wrapper_init.
* gdb.base/a2-run.exp: Recognize output from status wrapper.
* gdb.c++/method.exp: Recognize output from status wrapper.
amodra [Tue, 7 May 2002 00:16:46 +0000 (00:16 +0000)]
* elf-bfd.h (struct elf_backend_data): Add rela_normal.
* elfxx-target.h (elf_backend_rela_normal): Define.
(elfNN_bed): Init rela_normal.
* elflink.h (elf_link_input_bfd <emit_relocs>): Handle adjustment
for section symbols here if rela_normal. Simplify abs section test.
* elf-m10200.c (mn10200_elf_relocate_section): If relocatable,
return immediately. Remove code handling relocatable linking.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise #ifndef USE_REL.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf-m10200.c (elf_backend_rela_normal): Define.
* elf-m10300.c (elf_backend_rela_normal): Define.
* elf32-fr30.c (elf_backend_rela_normal): Define.
* elf32-i370.c (elf_backend_rela_normal): Define.
* elf32-i860.c (elf_backend_rela_normal): Define.
* elf32-m68k.c (elf_backend_rela_normal): Define.
* elf32-mcore.c (elf_backend_rela_normal): Define.
* elf32-openrisc.c (elf_backend_rela_normal): Define.
* elf32-ppc.c (elf_backend_rela_normal): Define.
* elf32-s390.c (elf_backend_rela_normal): Define.
* elf32-xstormy16.c (elf_backend_rela_normal): Define.
* elf64-ppc.c (elf_backend_rela_normal): Define.
* elf64-s390.c (elf_backend_rela_normal): Define.
* elf64-x86-64.c (elf_backend_rela_normal): Define.
* elfxx-ia64.c (elf_backend_rela_normal): Define.
* elf32-arm.h (elf_backend_rela_normal): Define #ifndef USE_REL.
* elf32-m32r.c (elf_backend_rela_normal): Likewise.
amodra [Tue, 7 May 2002 00:09:35 +0000 (00:09 +0000)]
daily update
gdbadmin [Tue, 7 May 2002 00:09:34 +0000 (00:09 +0000)]
*** empty log message ***
dannysmith [Mon, 6 May 2002 23:37:51 +0000 (23:37 +0000)]
* include/windows.h: Move _ANONYMOUS_UNION, _ANONYMOUS_STRUCT,
STRICT and related defines to ...
* include/windef.h: Here.
ChangeLog: Correct date and typo in last entry.
jimb [Mon, 6 May 2002 21:00:20 +0000 (21:00 +0000)]
Separate the job of reading the line number info statement program
header (...expialidocious) out into its own function.
* dwarf2read.c (struct line_head, struct filenames, struct
directories): Replace with...
(struct line_header): New structure, containing the full
contents of the statement program header, including the
include directory and file name tables.
(read_file_scope): If we have line number info, instead of just
calling dwarf_decode_lines to do all the work, call
dwarf_decode_line_header first to get a `struct line_header'
containing the data in the statement program header, and then
pass that to dwarf_decode_lines, which will pick up where that
left off. Be sure to clean up the `struct line_header' object.
(dwarf_decode_line_header, free_line_header, add_include_dir,
add_file_name): New functions.
(dwarf_decode_lines): Move all the code to read the statement
program header into dwarf_decode_line_header. Take the line
header it built as the first argument, instead of the offset to
the compilation unit's line number info. Use the new `struct
line_header' type instead of the old structures. No need to do
cleanups here now, since we don't allocate anything.
(dwarf2_statement_list_fits_in_line_number_section,
dwarf2_line_header_too_long): New complaints.
jjohnstn [Mon, 6 May 2002 20:50:31 +0000 (20:50 +0000)]
2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
fitzsim [Mon, 6 May 2002 20:46:34 +0000 (20:46 +0000)]
* libc/sys/arm/syscalls.c (_rename): Add parameter names.
(_sbrk): Add cast of return value.
jjohnstn [Mon, 6 May 2002 20:44:53 +0000 (20:44 +0000)]
2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/reent.h (_l64a_buf): New reentrant area.
(_REENT_L64A_BUF): New macro for accessing area.
* libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
* libc/stdlib/Makefile.in: Regenerated.
* libc/stdlib/a64l.c: New file.
* libc/stdlib/l64a.c: New file.
jjohnstn [Mon, 6 May 2002 20:29:28 +0000 (20:29 +0000)]
2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/unix/pread.c: Fix typo for _pread_r.
* libc/unix/pwrite.c: Fix type for _pwrite_r.
* libc/sys/linux/pread64.c: Fix typo for read syscall.
* libc/sys/linux/pwrite64.c: Fix typo for write syscall.
ezannoni [Mon, 6 May 2002 17:37:12 +0000 (17:37 +0000)]
2002-05-06 Elena Zannoni <ezannoni@redhat.com>
* gdbtypes.c (init_vector_type): New function.
(build_builtin_type_vec128): Simplify the representation of SIMD
registers.
(build_gdbtypes): Initialize new builtin vector types.
(_initialize_gdbtypes): Register new vector types with gdbarch.
(builtin_type_v4_float, builtin_type_v4_int32,
builtin_type_v8_int16, builtin_type_v16_int8,
builtin_type_v2_int32, builtin_type_v4_int16,
builtin_type_v8_int8): New (renamed) SIMD types.
nickc [Mon, 6 May 2002 13:47:54 +0000 (13:47 +0000)]
Fix check for overflow of relocation for the Thumb BL instruction.
amodra [Mon, 6 May 2002 12:49:58 +0000 (12:49 +0000)]
* elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset
when not relocatable. Fix reloc_emitter call for K&R.
bje [Mon, 6 May 2002 12:19:25 +0000 (12:19 +0000)]
2002-05-06 Ben Elliston <bje@redhat.com>
From Graydon Hoare <graydon@redhat.com>
* config/sid.exp: Include support for "rawsid" protocol.
kazu [Mon, 6 May 2002 11:42:58 +0000 (11:42 +0000)]
* config/tc-ia64.c: Fix formatting.
* config/tc-ia64.h: Likewise.
kettenis [Mon, 6 May 2002 11:39:49 +0000 (11:39 +0000)]
* i387-nat.c (i387_fill_fsave): Use regcache_collect.
(i387_fill_fxsave): Likewise.
nickc [Mon, 6 May 2002 10:09:22 +0000 (10:09 +0000)]
New Swedish translation
corinna [Mon, 6 May 2002 10:05:45 +0000 (10:05 +0000)]
* spawn.cc (spawn_guts): Move call to set_process_privilege()
to load_registry_hive().
* registry.cc (load_registry_hive): ditto.
* fork.cc (fork_parent): Call sec_user_nih() only once.
amodra [Mon, 6 May 2002 08:54:44 +0000 (08:54 +0000)]
* elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset
when not relocatable. Fix reloc_emitter call for K&R.
amodra [Mon, 6 May 2002 07:55:16 +0000 (07:55 +0000)]
oops, missing changelog entry
* dlltool.c (process_def_file): Add missing prototype.
(new_directive, assemble_file, main): Likewise.
(process_def_file, new_directive): Make static.
(inform): Rewrite using VA_FIXEDARG.
* dllwrap.c (mybasename): Add missing prototype.
(strhash, main): Likewise.
(inform): Rewrite using VA_FIXEDARG.
(warn): Likewise.
(cleanup_and_exit): Use old style function definition.
(strhash): Likewise.
* windres.c (define_resource): Use one memset to clear all of
struct res_resource.
gdbadmin [Mon, 6 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 6 May 2002 00:00:03 +0000 (00:00 +0000)]
daily update
amodra [Sun, 5 May 2002 23:25:27 +0000 (23:25 +0000)]
* dlltool.c (process_def_file): Add missing prototype.
(new_directive, assemble_file, main): Likewise.
(process_def_file, new_directive): Make static.
(inform): Rewrite using VA_FIXEDARG.
* dllwrap.c (mybasename): Add missing prototype.
(strhash, main): Likewise.
(inform): Rewrite using VA_FIXEDARG.
(warn): Likewise.
(cleanup_and_exit): Use old style function definition.
(strhash): Likewise.
* windres.c (define_resource): Use one memset to clear all of
struct res_resource.
amodra [Sun, 5 May 2002 23:19:31 +0000 (23:19 +0000)]
* rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
call to rules that need no lookahead. Check for no lookahead.
* rclex.l (get_string): Correct "strings" list handling.
* resrc.c (read_rc_file): Discard strings.
aoliva [Sun, 5 May 2002 18:58:17 +0000 (18:58 +0000)]
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.
aoliva [Sun, 5 May 2002 18:50:08 +0000 (18:50 +0000)]
* generic/gdbtk-register.c (get_register, register_changed_p):
Don't depend on variable-sized automatic arrays.
aoliva [Sun, 5 May 2002 18:49:56 +0000 (18:49 +0000)]
* alpha-tdep.c (alpha_extract_return_value): Don't use
non-constant array size in prototype.
cagney [Sun, 5 May 2002 03:17:21 +0000 (03:17 +0000)]
From Brian Taylor <briant at model dot com>:
* ui-out.c (ui_out_field_core_addr): Use the function
longest_local_hex_string_custom'to format addresses > 32 bits
wide.
* ui-out.c (ui_out_field_core_addr): Update comment.
cagney [Sun, 5 May 2002 02:24:38 +0000 (02:24 +0000)]
* stack.c (select_and_print_frame): Make static. Delete the
parameter `level'.
(func_command): Update call.
(select_frame_command): Delete code computing the frame level.
* frame.h (select_and_print_frame): Delete declaration.
cagney [Sun, 5 May 2002 01:55:36 +0000 (01:55 +0000)]
* sparc-tdep.c (sparc_get_saved_register): Comment why
get_prev_frame call is safe.
cagney [Sun, 5 May 2002 01:15:12 +0000 (01:15 +0000)]
* frame.h (select_frame): Delete level parameter.
* stack.c (select_frame): Update. Use frame_relative_level to
obtain the frame's level.
(select_and_print_frame): Update call.
(select_frame_command): Ditto.
(up_silently_base): Ditto.
(down_silently_base): Ditto.
* ocd.c (ocd_start_remote): Ditto.
* remote-rdp.c (remote_rdp_open): Ditto.
* remote-mips.c (mips_initialize): Ditto.
(common_open): Ditto.
* remote-e7000.c (e7000_start_remote): Ditto.
* m3-nat.c (select_thread): Ditto.
* hppa-tdep.c (child_get_current_exception_event): Ditto.
(child_get_current_exception_event): Ditto.
* varobj.c (varobj_create): Ditto.
(varobj_update): Ditto.
(c_value_of_root): Ditto.
* tracepoint.c (finish_tfind_command): Ditto.
* corelow.c (core_open): Ditto.
* arch-utils.c (generic_prepare_to_proceed): Ditto.
* thread.c (info_threads_command): Ditto.
(switch_to_thread): Ditto.
* infrun.c (normal_stop): Ditto.
(restore_selected_frame): Ditto.
(restore_inferior_status): Ditto.
* breakpoint.c (insert_breakpoints): Ditto.
(watchpoint_check): Ditto.
(bpstat_stop_status): Ditto.
(do_enable_breakpoint): Ditto.
* blockframe.c (flush_cached_frames): Ditto.
(reinit_frame_cache): Ditto.