external/binutils.git
23 years ago * elf32-i386.c (elf_i386_check_relocs): Update comment since we
Alan Modra [Thu, 27 Sep 2001 16:18:42 +0000 (16:18 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Update comment since we
no longer allocate here.  Localise some vars to blocks where they
are used.  Remove separate switch stmt for creating .got sec.
(elf_i386_adjust_dynamic_symbol): Correct a comment.  Remove
redundant casts and aborts.  Delay setting of vars until needed.
(allocate_dynrelocs): Remove redundant casts and aborts.
(elf_i386_size_dynamic_sections): Move comment.
(elf_i386_finish_dynamic_symbol): Move expressions out of function
calls.
(elf_i386_relocate_section): Likewise.  Comment typo fix.
(elf_i386_finish_dynamic_sections): Migrate common code out of
switch statement.
(elf_backend_* defines): Sort.

23 years ago * elf32-i386.c (allocate_dynrelocs): Don't create a .plt entry
Alan Modra [Thu, 27 Sep 2001 16:10:28 +0000 (16:10 +0000)]
* elf32-i386.c (allocate_dynrelocs): Don't create a .plt entry
without a reloc when symbol visibilty makes a function local.

23 years agoRevert most of previous delta. Do not call bfd_archive_filename on output
Nick Clifton [Thu, 27 Sep 2001 13:49:27 +0000 (13:49 +0000)]
Revert most of previous delta.  Do not call bfd_archive_filename on output
bfd, nor twice in one expression.

23 years agoDocument changes in infttrace.c (for HPUX 11.00).
Joel Brobecker [Thu, 27 Sep 2001 13:32:17 +0000 (13:32 +0000)]
Document changes in infttrace.c (for HPUX 11.00).

23 years agokill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOP
Joel Brobecker [Thu, 27 Sep 2001 13:31:45 +0000 (13:31 +0000)]
kill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOP
request to kill the inferior and its child processes. Otherwise, the
inferior is not killed on HPUX 11.0.  Removed the code that detaches the
child processes since we just killed them.

23 years agoAdd missing function protoypes.
Nick Clifton [Thu, 27 Sep 2001 09:58:01 +0000 (09:58 +0000)]
Add missing function protoypes.

23 years agoReplace bfd_get_filename with bfd_archive_filename in error message.
Nick Clifton [Thu, 27 Sep 2001 07:49:27 +0000 (07:49 +0000)]
Replace bfd_get_filename with bfd_archive_filename in error message.
Fix detection of conflicting float flags.

23 years agoRemove spurious comment
Nick Clifton [Thu, 27 Sep 2001 07:45:32 +0000 (07:45 +0000)]
Remove spurious comment

23 years ago*** empty log message ***
gdbadmin [Thu, 27 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoAdd framework for ``set/show serial ...''.
Andrew Cagney [Wed, 26 Sep 2001 23:27:39 +0000 (23:27 +0000)]
Add framework for ``set/show serial ...''.

23 years ago* CONTRIBUTE: Update.
Andrew Cagney [Wed, 26 Sep 2001 20:52:56 +0000 (20:52 +0000)]
* CONTRIBUTE: Update.

23 years ago2001-09-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 26 Sep 2001 20:32:17 +0000 (20:32 +0000)]
2001-09-26  Jeff Johnston  <jjohnstn@redhat.com>

        * input-file.c (input_file_open): When reading the
        first line looking for #NO_APP, prepare for the possibility
        of finding #APP instead.  Also fix algorithm to allow
        white-space to follow either #NO_APP or #APP directives.

23 years agomerge from gcc
DJ Delorie [Wed, 26 Sep 2001 18:45:50 +0000 (18:45 +0000)]
merge from gcc

23 years ago * gdb.base/constvars.exp: Check for different orders of keywords
Corinna Vinschen [Wed, 26 Sep 2001 16:06:28 +0000 (16:06 +0000)]
    * gdb.base/constvars.exp: Check for different orders of keywords
        and additional "int" strings in output.

23 years ago * elf32-i386 (elf_i386_copy_indirect_symbol): New function.
Alan Modra [Wed, 26 Sep 2001 09:25:04 +0000 (09:25 +0000)]
* elf32-i386 (elf_i386_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define.
(struct elf_i386_link_hash_entry): Rename "root" to "elf".
(struct elf_i386_link_hash_table): Likewise.
(link_hash_newfunc): Get rid of unnecessary casts.
(elf_i386_link_hash_table_create): Likewise.
(elf_i386_check_relocs): Initialise local_got_refcounts to 0.
Don't test input section SEC_READONLY here to try to avoid copy
relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
(elf_i386_adjust_dynamic_symbol): Check output section SEC_READONLY
here to properly test whether we need copy relocs.  Do so for weak
syms too.

* elf32-hppa (elf32_hppa_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define.
(struct elf32_hppa_link_hash_table): Rename "root" to "elf".
(stub_hash_newfunc): Get rid of unnecessary casts.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_check_relocs): Initialise local_got_refcounts to 0.
Don't test input section SEC_READONLY here to try to avoid copy
relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
(elf32_hppa_adjust_dynamic_symbol): Check output section SEC_READONLY
here to properly test whether we need copy relocs.  Do so for weak
syms too.

23 years agoUse gdbarch data mechanism instead of gdbarch swap mechanism to manage
Kevin Buettner [Wed, 26 Sep 2001 07:03:13 +0000 (07:03 +0000)]
Use gdbarch data mechanism instead of gdbarch swap mechanism to manage
the fetching of architecture specific link map offsets.

23 years ago * ldmisc.c (USE_STDARG): Remove.
Alan Modra [Wed, 26 Sep 2001 01:55:44 +0000 (01:55 +0000)]
* ldmisc.c (USE_STDARG): Remove.
(info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
(einfo): Likewise.
(minfo): Likewise.
(lfinfo): Likewise.

* ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
declarations.  Update copyright.

23 years ago * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
Alan Modra [Wed, 26 Sep 2001 01:55:19 +0000 (01:55 +0000)]
* bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
VA_CLOSE.
(non_fatal): Likewise.
* objdump.c (objdump_sprintf): Likewise.
* readelf.c (error): Likewise.
(warn): Likewise.

23 years ago * arc-dis.c: Formatting fixes.
Alan Modra [Wed, 26 Sep 2001 01:54:07 +0000 (01:54 +0000)]
* arc-dis.c: Formatting fixes.
(my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.

23 years ago * bfd.c (_bfd_default_error_handlerl): Define using VPARAMS,
Alan Modra [Wed, 26 Sep 2001 01:53:25 +0000 (01:53 +0000)]
* bfd.c (_bfd_default_error_handlerl): Define using VPARAMS,
VA_OPEN, VA_FIXEDARG, VA_CLOSE.
(bfd_archive_filename): Cast bfd_malloc arg to the correct size.

23 years ago*** empty log message ***
gdbadmin [Wed, 26 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agomerge from gcc
DJ Delorie [Tue, 25 Sep 2001 23:02:03 +0000 (23:02 +0000)]
merge from gcc

23 years ago * elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot
Jakub Jelinek [Tue, 25 Sep 2001 22:12:29 +0000 (22:12 +0000)]
* elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot
computation.

23 years ago2001-09-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 25 Sep 2001 20:24:00 +0000 (20:24 +0000)]
2001-09-25  H.J. Lu  <hjl@gnu.org>

* ld-elfweak/dso.dsym: Updated for alpha.
* ld-elfweak/dsodata.dsym: Likewise.
* ld-elfweak/strong.sym: Likewise.
* ld-elfweak/strongcomm.sym: Likewise.
* ld-elfweak/strongdata.sym: Likewise.

23 years ago * readelf.c (do_wide): New.
Jakub Jelinek [Tue, 25 Sep 2001 16:44:19 +0000 (16:44 +0000)]
* readelf.c (do_wide): New.
(options): Add --wide.
(usage, parse_args): Likewise.
(process_program_headers): Put each segment on a single line if
--wide is given.
(process_section_headers): Put each section on a single line if
--wide is given.
* doc/binutils.texi: Document it.
* NEWS: Likewise.

23 years ago2001-09-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 25 Sep 2001 16:35:05 +0000 (16:35 +0000)]
2001-09-25  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Regenerated.

23 years ago * readelf.c (print_vma): Print 8 digits of low hex value.
Alan Modra [Tue, 25 Sep 2001 12:49:38 +0000 (12:49 +0000)]
* readelf.c (print_vma): Print 8 digits of low hex value.

23 years ago * listing.c (buffer_line): Don't write past the end of `line' when
Alan Modra [Tue, 25 Sep 2001 12:09:45 +0000 (12:09 +0000)]
* listing.c (buffer_line): Don't write past the end of `line' when
EOF is reached.

23 years agofix of my email address
Jiri Smid [Tue, 25 Sep 2001 11:52:54 +0000 (11:52 +0000)]
fix of my email address

23 years ago* x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
Jiri Smid [Tue, 25 Sep 2001 10:37:17 +0000 (10:37 +0000)]
* x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
(x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
by LINUX_SIGINFO_SIZE.

23 years ago * elf32-i386.c: Add comment re linker function names and ordering.
Alan Modra [Tue, 25 Sep 2001 10:11:46 +0000 (10:11 +0000)]
* elf32-i386.c: Add comment re linker function names and ordering.
(elf_i386_link_hash_newfunc): Rename to link_hash_newfunc.
(elf_i386_grok_prstatus): Move before linker functions.
(elf_i386_grok_psinfo): Likewise.
(elf_i386_fake_sections): Move so that functions are ordered.
(elf_i386_reloc_type_class): Likewise.  Comment function purpose.

23 years ago* config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
Alexandre Oliva [Tue, 25 Sep 2001 08:51:52 +0000 (08:51 +0000)]
* config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
relocation for differences between symbols in a section other
than the one in which the difference is to be placed; apply
the relocation instead.

23 years ago * elf32-hppa.c: Rename all occurrences of "hplink" to "htab"
Alan Modra [Tue, 25 Sep 2001 07:28:13 +0000 (07:28 +0000)]
* elf32-hppa.c: Rename all occurrences of "hplink" to "htab"
throughout file.

23 years ago * elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete. Remove all
Alan Modra [Tue, 25 Sep 2001 07:10:59 +0000 (07:10 +0000)]
* elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete.  Remove all
code handling this option.
(LONG_BRANCH_VIA_PLT): Likewise.
(RELATIVE_DYNRELOCS): Define as zero.
(struct elf32_hppa_dyn_reloc_entry): Add "sec", and
"pc_count" fields.  Remove "section" field.
(elf32_hppa_link_hash_entry): Rename reloc_entries to dyn_relocs.
(elf32_hppa_check_relocs): Don't allocate space for dynamic
relocs here.  Instead, record all needed dynamic relocs via
dyn_relocs and local_dynrel.  Cache pointer to "sreloc" section
in elf_section_data.
(elf32_hppa_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
(allocate_plt_and_got_and_discard_relocs): Rename to
allocate_dynrelocs.  Allocate rather than discarding dyn relocs.
(readonly_dynrelocs): New function.
(elf32_hppa_size_dynamic_sections): Mark output_bfd unused.
Call readonly_dynrelocs to determine need for DT_TEXTREL.
Rename "i" to "ibfd".  Allocate space for local dyn relocs.
(elf32_hppa_relocate_section): Make use of cached sreloc.
(elf32_hppa_reloc_type_class): New function.
(elf_backend_reloc_type_class): Define.

23 years ago * elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"
Alan Modra [Tue, 25 Sep 2001 04:34:50 +0000 (04:34 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"
and "sreloc" fields.
* elf32-i386.c (struct elf_i386_dyn_relocs): Add "sec", and
"pc_count" fields.  Remove "section" field.
(elf_i386_check_relocs): Don't set DF_TEXTREL here.  Don't
allocate space for dynamic relocs here.  Instead, record all
needed dynamic relocs via dyn_relocs and local_dynrel.  Cache
pointer to "sreloc" section in elf_section_data.
(elf_i386_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
(allocate_plt_and_got_and_discard_relocs): Rename to
allocate_dynrelocs.  Allocate rather than discarding dyn relocs.
(readonly_dynrelocs): New function.
(elf_i386_size_dynamic_sections): Call readonly_dynrelocs.
Rename "i" to "ibfd".  Allocate space for local dyn relocs.
(elf_i386_relocate_section): Make use of cached sreloc.

23 years ago* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
Andrew Cagney [Tue, 25 Sep 2001 02:31:51 +0000 (02:31 +0000)]
* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
variables.
(maintenance_set_profile_cmd): New function.
(maintenance_show_cmd, maintenance_set_cmd): New functions.
(_initialize_maint_cmds): Add "maintenance set" and "maintenance
show" and, commented out, "maintenance set/show profile" commands.

23 years ago*** empty log message ***
gdbadmin [Tue, 25 Sep 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

23 years agomerge from gcc
DJ Delorie [Mon, 24 Sep 2001 23:37:52 +0000 (23:37 +0000)]
merge from gcc

23 years agoFix thinko
Nick Clifton [Mon, 24 Sep 2001 21:16:47 +0000 (21:16 +0000)]
Fix thinko

23 years agoRemove spurious prototype.
Nick Clifton [Mon, 24 Sep 2001 21:13:48 +0000 (21:13 +0000)]
Remove spurious prototype.

23 years ago* findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
Andrew Cagney [Mon, 24 Sep 2001 19:46:15 +0000 (19:46 +0000)]
* findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
convert the pointer into a CORE_ADDRs.

23 years agooops - frag omitted from previous patch application
Nick Clifton [Mon, 24 Sep 2001 18:35:08 +0000 (18:35 +0000)]
oops - frag omitted from previous patch application

23 years agooops - omitted from previous delta
Nick Clifton [Mon, 24 Sep 2001 18:21:24 +0000 (18:21 +0000)]
oops - omitted from previous delta

23 years ago* doublest.h (store_floating, extract_floating): Add comment
Andrew Cagney [Mon, 24 Sep 2001 17:16:53 +0000 (17:16 +0000)]
* doublest.h (store_floating, extract_floating): Add comment
indicating these functions are deprecated.
(extract_typed_floating, store_typed_floating): Declare.
* doublest.c: Include "gdbtypes.h".
(extract_typed_floating, store_typed_floating): Define.

* stabsread.c (define_symbol): Use store_typed_floating.
* valarith.c (value_binop): Ditto.
* values.c (unpack_long): Use extract_typed_floating.
(unpack_double): Ditto.

23 years agoimprove documenation about auto-import
Nick Clifton [Mon, 24 Sep 2001 16:17:46 +0000 (16:17 +0000)]
improve documenation about auto-import

23 years agoDefine and use pe_get_data_import_dll_name().
Nick Clifton [Mon, 24 Sep 2001 15:03:01 +0000 (15:03 +0000)]
Define and use pe_get_data_import_dll_name().

23 years agofix compile time warning messages
Nick Clifton [Mon, 24 Sep 2001 14:47:10 +0000 (14:47 +0000)]
fix compile time warning messages

23 years ago2001-09-24 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Mon, 24 Sep 2001 08:04:10 +0000 (08:04 +0000)]
2001-09-24  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
from correct register.

23 years ago * nlmconv.c: Fix warnings about unused attributes and function
Andreas Jaeger [Mon, 24 Sep 2001 06:07:52 +0000 (06:07 +0000)]
* nlmconv.c: Fix warnings about unused attributes and function
prototypes.

* strings.c: Add prototype for get_char.

23 years ago * elf-bfd.h (elf_backend_reloc_type_class): Pass in the entire
Alan Modra [Mon, 24 Sep 2001 01:38:31 +0000 (01:38 +0000)]
* elf-bfd.h (elf_backend_reloc_type_class): Pass in the entire
reloc rather than just the type.
(_bfd_elf_reloc_type_class): Likewise.
* elf.c (_bfd_elf_reloc_type_class): Likewise.
* elf32-arm.h (elf32_arm_reloc_type_class): Likewise.
* elf32-cris.c (elf_cris_reloc_type_class): Likewise.
* elf32-i386.c (elf_i386_reloc_type_class): Likewise.
* elf32-m68k.c (elf32_m68k_reloc_type_class): Likewise.
* elf32-ppc.c (ppc_elf_reloc_type_class): Likewise.
* elf32-s390.c (elf_s390_reloc_type_class): Likewise.
* elf32-sh.c (sh_elf_reloc_type_class): Likewise.
* elf32-sparc.c (elf32_sparc_reloc_type_class): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_type_class): Likewise.
* elf64-s390.c (elf_s390_reloc_type_class): Likewise.
* elf64-sparc.c (sparc64_elf_reloc_type_class): Likewise.
* elf64-x86-64.c (elf64_x86_64_reloc_type_class): Likewise.
* elfxx-ia64.c (elfNN_ia64_reloc_type_class): Likewise.
* elflink.h: Formatting fixes.
(elf_link_sort_relocs): Make "count" and "size" bfd_size_type.
Call bfd_zmalloc rather than calloc.  Remove unnecessary cast of
o->contents to PTR.  Update call to elf_backend_reloc_type_class.

23 years ago*** empty log message ***
gdbadmin [Mon, 24 Sep 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
gdbadmin [Sun, 23 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoFix compile time warnings
Nick Clifton [Sat, 22 Sep 2001 09:23:31 +0000 (09:23 +0000)]
Fix compile time warnings

23 years ago * elfcode.h (elf_object_p): Allow for no section header at all in
Alan Modra [Sat, 22 Sep 2001 03:16:01 +0000 (03:16 +0000)]
* elfcode.h (elf_object_p): Allow for no section header at all in
non-ET_REL files.  Honor 0 for e_shnum, e_shstrndx, e_shoff.

23 years ago*** empty log message ***
gdbadmin [Sat, 22 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
Mark Kettenis [Fri, 21 Sep 2001 22:57:29 +0000 (22:57 +0000)]
* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.

23 years agoFix compile time warnings
Nick Clifton [Fri, 21 Sep 2001 14:25:09 +0000 (14:25 +0000)]
Fix compile time warnings

23 years ago * arc-dis.c: Don't include <ctype.h>.
Alan Modra [Fri, 21 Sep 2001 12:36:56 +0000 (12:36 +0000)]
* arc-dis.c: Don't include <ctype.h>.
* openrisc-desc.c: Likewise.
* openrisc-ibld.c: Likewise.

23 years ago * config/tc-openrisc.c: Don't include <ctype.h>.
Alan Modra [Fri, 21 Sep 2001 12:34:40 +0000 (12:34 +0000)]
* config/tc-openrisc.c: Don't include <ctype.h>.

23 years ago* config/i386/x86-64linux.mh: New file.
Jiri Smid [Fri, 21 Sep 2001 12:24:55 +0000 (12:24 +0000)]
* config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.

23 years ago* config/i386/x86-64linux.mh: New file.
Jiri Smid [Fri, 21 Sep 2001 12:19:15 +0000 (12:19 +0000)]
* config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.

23 years ago* i386-tdep.h: New file.
Jiri Smid [Fri, 21 Sep 2001 12:15:15 +0000 (12:15 +0000)]
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.

23 years ago* MAINTAINERS: Add myself to the write-after-approval list.
Jiri Smid [Fri, 21 Sep 2001 07:17:52 +0000 (07:17 +0000)]
* MAINTAINERS: Add myself to the write-after-approval list.
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.

23 years ago* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
Jiri Smid [Fri, 21 Sep 2001 07:16:03 +0000 (07:16 +0000)]
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.

23 years ago* MAINTAINERS: Add myself to the write-after-approval list.
Jiri Smid [Fri, 21 Sep 2001 07:14:31 +0000 (07:14 +0000)]
* MAINTAINERS: Add myself to the write-after-approval list.

23 years agofix compile time warning messages
Nick Clifton [Fri, 21 Sep 2001 06:52:20 +0000 (06:52 +0000)]
fix compile time warning messages

23 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
Alexandre Oliva [Fri, 21 Sep 2001 05:14:32 +0000 (05:14 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to
avoid quotes nesting problems.
(NATIVE_CHECK_MODULES): Ditto, just for consistency.
(DO_X): Export only variables that are set.

23 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 21 Sep 2001 02:12:29 +0000 (02:12 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

* aoutx.h: Formatting fixes.
* merge.c (_bfd_merged_section_offset): Break line at 80 chars.

* linker.c: Replace bfd_get_filename with bfd_archive_filename
in error message.

23 years ago*** empty log message ***
gdbadmin [Fri, 21 Sep 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * bfd.c (bfd_archive_filename): New function.
Alan Modra [Thu, 20 Sep 2001 23:30:37 +0000 (23:30 +0000)]
* bfd.c (bfd_archive_filename): New function.
* bfd-in2.h: Regenerate.
* aout-adobe.c: Replace bfd_get_filename with bfd_archive_filename
in error messages where the bfd is an input bfd.
* aout-cris.c: Likewise.
* coff-arm.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-sh.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* ecofflink.c: Likewise.
* elf-hppa.h: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-gen.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-mips.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-gen.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* ieee.c: Likewise.
* ihex.c: Likewise.
* libbfd.c: Likewise.
* pdp11.c: Likewise.
* pe-mips.c: Likewise.
* peicode.h: Likewise.
* srec.c: Likewise.
* xcofflink.c: Likewise.

* elf32-arm.h: Make _bfd_error_handler calls K&R compatible.

* elflink.c (_bfd_elf_create_linker_section): Better grammar for
error message.

* coff-mcore.c (coff_mcore_relocate_section): Internalionalise
error message.

* elf64-sparc.c (sparc64_elf_add_symbol_hook): Constify stt_types.
Consolidate error messages, and split long messages to two lines.

23 years agoMake set_solib_svr4_fetch_link_map_offsets() work as intended.
Kevin Buettner [Thu, 20 Sep 2001 20:07:55 +0000 (20:07 +0000)]
Make set_solib_svr4_fetch_link_map_offsets() work as intended.

23 years agooops - forgot to check for clean 64 bit build - fix compile time warning
Nick Clifton [Thu, 20 Sep 2001 15:33:41 +0000 (15:33 +0000)]
oops - forgot to check for clean 64 bit build - fix compile time warning

23 years agoFix compile time warnings
Nick Clifton [Thu, 20 Sep 2001 15:28:25 +0000 (15:28 +0000)]
Fix compile time warnings

23 years agoAdd option -mwarn-areg-zero.
Nick Clifton [Thu, 20 Sep 2001 10:59:42 +0000 (10:59 +0000)]
Add option -mwarn-areg-zero.

23 years agocoordinate info->symbolic and info->allow_shlib_undefined
Nick Clifton [Thu, 20 Sep 2001 10:37:35 +0000 (10:37 +0000)]
coordinate info->symbolic and info->allow_shlib_undefined

23 years ago * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
Alan Modra [Thu, 20 Sep 2001 03:03:40 +0000 (03:03 +0000)]
* coffread.c: Replace all occurrences of bfd_read with bfd_bread.
* dbxread.c: Likewise.
* dwarf2read.c: Likewise.
* dwarfread.c: Likewise.
* somread.c: Likewise.
* ultra3-nat.c: Likewise.
* xcoffread.c: Likewise.

23 years ago*** empty log message ***
gdbadmin [Thu, 20 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* cris-tdep.c (cris_get_signed_offset): Change return type to an
Andrew Cagney [Wed, 19 Sep 2001 21:59:41 +0000 (21:59 +0000)]
* cris-tdep.c (cris_get_signed_offset): Change return type to an
explicitly signed char.

23 years ago* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
Andrew Cagney [Wed, 19 Sep 2001 20:43:54 +0000 (20:43 +0000)]
* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
function signature to match recent tracepoint.c:encode_actions
changes.
* mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.

23 years agoFix compile time warning messages
Nick Clifton [Wed, 19 Sep 2001 17:40:28 +0000 (17:40 +0000)]
Fix compile time warning messages

23 years ago2000-09-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Sep 2001 17:02:38 +0000 (17:02 +0000)]
2000-09-19  H.J. Lu  <hjl@gnu.org>

* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
$(srcdir)/cxxfilt.man.
* doc/Makefile.in: Rebuild.

23 years ago* approved by kseitz
Frank Ch. Eigler [Wed, 19 Sep 2001 15:39:54 +0000 (15:39 +0000)]
* approved by kseitz

2001-09-19  Frank Ch. Eigler  <fche@redhat.com>

* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
to localhost:NNN instead of :NNN, in case Xvfb is listening
only on TCP.

23 years ago * gdb.base/recurse.exp: When checking leaving the watchpoint
Corinna Vinschen [Wed, 19 Sep 2001 08:21:17 +0000 (08:21 +0000)]
    * gdb.base/recurse.exp: When checking leaving the watchpoint
        scope, recognize when gdb is in function's epilogue and pass.

23 years ago * config/tc-i370.c: Fix typo in last change.
Alan Modra [Wed, 19 Sep 2001 08:13:04 +0000 (08:13 +0000)]
* config/tc-i370.c: Fix typo in last change.

23 years agoImprove documentation on local labels and add documenation about dollar labels.
Nick Clifton [Wed, 19 Sep 2001 07:55:23 +0000 (07:55 +0000)]
Improve documentation on local labels and add documenation about dollar labels.

23 years ago * objcopy.c (copy_main): Correct rename-section string parsing.
Alan Modra [Wed, 19 Sep 2001 06:58:06 +0000 (06:58 +0000)]
* objcopy.c (copy_main): Correct rename-section string parsing.
Consolidate new_name parsing, and error messages.

23 years ago2001-09-19 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 19 Sep 2001 06:07:36 +0000 (06:07 +0000)]
2001-09-19  Ben Elliston  <bje@redhat.com>

* configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on
Solaris when testing for the /usr/ucb/cc compiler; it has incorrect
semantics.  Use the shell built-in "type" command instead.

23 years agoLocale changes from Bruno Haible <haible@clisp.cons.org>.
H.J. Lu [Wed, 19 Sep 2001 05:33:36 +0000 (05:33 +0000)]
Locale changes from Bruno Haible  <haible@clisp.cons.org>.

23 years ago * lib/insight-support.exp (_gdbtk_export_target_info): Add
Keith Seitz [Wed, 19 Sep 2001 00:08:43 +0000 (00:08 +0000)]
* lib/insight-support.exp (_gdbtk_export_target_info): Add
support for running tests against sid targets.
(gdbtk_done): Ditto.

23 years ago*** empty log message ***
gdbadmin [Wed, 19 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agomerge from gcc
DJ Delorie [Tue, 18 Sep 2001 21:02:02 +0000 (21:02 +0000)]
merge from gcc

23 years ago * gdb.base/ending-run.c (main): Set stdout buffersize
Corinna Vinschen [Tue, 18 Sep 2001 17:49:06 +0000 (17:49 +0000)]
    * gdb.base/ending-run.c (main): Set stdout buffersize
        to the same reasonable value for any target.
        * gdb.base/ending-run.exp: Add a regular expression
        to make testsuite happy on Sanyo Stormy16 target.

23 years agos390 assembler improvements and testsuite
Nick Clifton [Tue, 18 Sep 2001 15:41:33 +0000 (15:41 +0000)]
s390 assembler improvements and testsuite

23 years ago * sparc.c (sparc_find_call): Warning fix.
Alan Modra [Tue, 18 Sep 2001 11:12:25 +0000 (11:12 +0000)]
* sparc.c (sparc_find_call): Warning fix.
* alpha.c (alpha_find_call): Likewise.

23 years ago * deffilep.y (def_stash_module): Constify "name" param.
Alan Modra [Tue, 18 Sep 2001 10:10:21 +0000 (10:10 +0000)]
* deffilep.y (def_stash_module): Constify "name" param.

* pe-dll.c: Replace CONST with const throughout.
(quick_symbol): Constify "n1", "n2", "n3" params.
(make_singleton_name_thunk): Constify "import" param.  Make
"buffer_len" a size_t.
(make_import_fixup_entry): Constify "name", "fixup_name",
"dll_symname" params.
(pe_get16): Cast args of bfd_seek.  Replace bfd_read with bfd_bread.
(pe_get32): Likewise.
(pe_implied_import_dll): Likewise.

* emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
(sort_by_section_name): Likewise.

* emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
(make_import_fixup): Cast printf arg, rel->address to long rather
than int.
(gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.

23 years ago * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
Alan Modra [Tue, 18 Sep 2001 10:08:15 +0000 (10:08 +0000)]
* dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.

* write.c (set_symtab): Update bfd_alloc declaration.  Use a temp
var to ensure bfd_alloc arg is the right type.
(write_object_file): Cast args of bfd_seek.  Replace bfd_write with
bfd_bwrite.

* config/obj-coff.c: Replace calls to bfd_write with calls to
bfd_bwrite.  Cast args of bfd_seek.

* config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned
warning.

* config/tc-mn10300.c (set_arch_mach): Make param unsigned.

* config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with
call to bfd_bread.

23 years ago * ar.c (print_contents): Cast args of bfd_seek to the right types.
Alan Modra [Tue, 18 Sep 2001 10:05:55 +0000 (10:05 +0000)]
* ar.c (print_contents): Cast args of bfd_seek to the right types.
Replace bfd_read call with call to bfd_bread.
(extract_file): Likewise.

* objdump.c (dump_section_header): Cast section->filepos to
unsigned long to suit printf format string.
* readelf.c (process_section_headers): Similarly for sh_offset.
(process_unwind): Likewise.

23 years ago * bfdint.texi: Replace reference to bfd_read with bfd_bread.
Alan Modra [Tue, 18 Sep 2001 10:03:38 +0000 (10:03 +0000)]
* bfdint.texi: Replace reference to bfd_read with bfd_bread.
Likewise for bfd_write.

23 years ago * internal.h (elf_internal_rela): Make r_addend a bfd_vma.
Alan Modra [Tue, 18 Sep 2001 10:01:41 +0000 (10:01 +0000)]
* internal.h (elf_internal_rela): Make r_addend a bfd_vma.

23 years ago * external.h (GET_LINENO_LNNO): Use H_GET_32/16.
Alan Modra [Tue, 18 Sep 2001 10:01:08 +0000 (10:01 +0000)]
* external.h (GET_LINENO_LNNO): Use H_GET_32/16.
(PUT_LINENO_LNNO): Use H_PUT_32/16.
* m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC,
GET_SCN_NLINNO): Use H_GET_32.
(PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO):
Use H_PUT_32.
* ti.h: Formatting fixes.  Make use of H_GET_* and H_PUT_* throughout.
* xcoff.h: White space changes.