OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years agoAddress Class documentation.
Kevin Buettner [Thu, 17 Oct 2002 18:33:36 +0000 (18:33 +0000)]
Address Class documentation.

21 years ago * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
Denis Chertykov [Thu, 17 Oct 2002 18:27:01 +0000 (18:27 +0000)]
* elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
for ip2k port.

21 years ago * elfxx-target.h (USE_REL): Don't define as 1.
Alan Modra [Thu, 17 Oct 2002 02:59:15 +0000 (02:59 +0000)]
* elfxx-target.h (USE_REL): Don't define as 1.
* elf32-arm.h (USE_REL): Provide a default define of 0.
Use #if rather than #ifdef when testing USE_REL.
* elf32-m32r.c: Likewise.

* elf32-arc.c (USE_REL): Define as 1.
* elf32-d10v.c (USE_REL): Likewise.
* elf32-m32r.c (USE_REL): Likewise.
* elf32-m68hc11.c (USE_REL): Likewise.
* elf32-m68hc12.c (USE_REL): Likewise.
* elf32-or32.c (USE_REL): Likewise.
* elfarm-nabi.c (USE_REL): Likewise.

21 years ago*** empty log message ***
gdbadmin [Thu, 17 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 17 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago(parse_breakpoint_sals): Ignore ObjC method
Adam Fedor [Wed, 16 Oct 2002 23:25:32 +0000 (23:25 +0000)]
(parse_breakpoint_sals): Ignore ObjC method
names when matching breakpoints in current file.

21 years agoAddress class support.
Kevin Buettner [Wed, 16 Oct 2002 20:50:22 +0000 (20:50 +0000)]
Address class support.

21 years ago * config.bfd (s390-*-linux*): Add targ64_selvecs.
Jakub Jelinek [Wed, 16 Oct 2002 19:54:53 +0000 (19:54 +0000)]
* config.bfd (s390-*-linux*): Add targ64_selvecs.
(s390x-*-linux*): Add targ_selvecs.

* config.table: Use mh-s390pic for s390x too.

* configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
(s390-*-linux*): Add elf64_s390 emulation if want64.
* emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
genscript.sh changes.
* emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
* emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.

21 years ago2002-10-16 Klee Dienes <kdienes@apple.com>
Klee Dienes [Wed, 16 Oct 2002 17:36:44 +0000 (17:36 +0000)]
2002-10-16  Klee Dienes  <kdienes@apple.com>

        * stabsread.c (read_tilde_fields): Use name[sizeof(vptr_name)-2]
        to get the last character of a char[] buffer, not
        name[sizeof(vptr_name)-1].

21 years agomerge from gcc
DJ Delorie [Wed, 16 Oct 2002 13:47:35 +0000 (13:47 +0000)]
merge from gcc

21 years ago * Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
Alan Modra [Wed, 16 Oct 2002 08:39:38 +0000 (08:39 +0000)]
* Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo,
elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo,
elf32-sh64-nbsd.lo, elf32-shqnx.lo.  Add elf32-qnx.lo.
(BFD32_BACKENDS_CFILES): Likewise for corresponding C files.
(BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo.
(BFD64_BACKENDS_CFILES): Likewise for corresponding C files.
(SOURCE_HFILES): Add elf32-qnx.h.
(BUILD_HFILES): Add bfdver.h.
Run "make dep-am".
* Makefile.in: Regenerate.
* configure.in Update bfd vector dependencies.
* configure: Regenerate.
* elf32-i386-fbsd.c: Delete.  Move code to elf32-i386.c.
* elf32-i386qnx.c: Likewise.
* elf32-ppcqnx.c: Delete.  Move code to elf32-ppc.c.
* elf32-sh-nbsd.c: Delete.  Move code to elf32-sh.c.
* elf32-sh-lin.c: Likewise.
* elf32-shqnx.c: Likewise.
* elf32-sh64-lin.c: Delete.  Move code to elf32-sh64.c.
* elf32-sh64-nbsd.c: Likewise.
* elf64-sh64-lin.c: Delete.  Move code to elf64-sh64.c.
* elf64-sh64-nbsd.c: Likewise.
* elfarmqnx-nabi.c: Delete.  Move code to elfarm-nabi.c.
* elf32-arm.h (ELF_MAXPAGESIZE): Always define.
* elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests.
* elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests.
* elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define.
(elf_backend_is_contained_by_filepos): Likewise.
(elf_backend_copy_private_bfd_data_p): Likewise.
Globalize and move functions to..
* elf32-qnx.c: ..here.  New file.
* elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests.  Don't
emit target vectors when INCLUDE_SHMEDIA.
* elf32-sh64.c: Remove ELF_ARCH test.  Move TARGET_* etc. defines to
end of file.
* elf64-sh64.c: Remove ELF_ARCH test.
* elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test.
* po/BLD-POTFILES.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

21 years ago * elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
Alan Modra [Wed, 16 Oct 2002 00:57:39 +0000 (00:57 +0000)]
* elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
loaded with --just-symbols.

21 years ago * elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
Alan Modra [Wed, 16 Oct 2002 00:56:41 +0000 (00:56 +0000)]
* elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
* elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elfarmqnx-nabi.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.

21 years agodaily update
Alan Modra [Wed, 16 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 16 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-15 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Tue, 15 Oct 2002 21:22:06 +0000 (21:22 +0000)]
2002-10-15  Martin M. Hunt  <hunt@redhat.com>

* library/tclIndex: Rebuilt.

21 years ago2002-10-15 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Tue, 15 Oct 2002 21:19:51 +0000 (21:19 +0000)]
2002-10-15  Martin M. Hunt  <hunt@redhat.com>

* library/* : auto_mkindex cannot rebuild
tclIndex because it does not recognize the namespace
import in main.tcl.  To get it to work again, rename the
following:
body -> itcl::body
configbody -> itcl::configbody
class -> itcl::class

21 years ago * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd.
Richard Henderson [Tue, 15 Oct 2002 17:14:51 +0000 (17:14 +0000)]
    * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd.
        (BFD64_BACKENDS_CFILES): Likewise.
        * configure.in (bfd_elf64_alpha_freebsd_vec): Use elf64-alpha.
        * elf64-alpha-fbsd.c: Remove file, move code ...
        * elf64-alpha.c: ... here.
        * Makefile.in, configure: Rebuild.

21 years agoNew objc_specific struct.
Adam Fedor [Tue, 15 Oct 2002 02:50:56 +0000 (02:50 +0000)]
New objc_specific struct.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Handle ObjC.
(SYMBOL_DEMANGLED_NAME): Likewise.

21 years ago(init_filename_language_table): Add ObjC file extension.
Adam Fedor [Tue, 15 Oct 2002 02:42:32 +0000 (02:42 +0000)]
(init_filename_language_table): Add ObjC file extension.

21 years agoutils.c (puts_filtered_tabular): New function.
Adam Fedor [Tue, 15 Oct 2002 02:16:51 +0000 (02:16 +0000)]
utils.c (puts_filtered_tabular): New function.
(fprintf_symbol_filtered): Get ObjC demangled name.
defs.h (puts_filtered_tabular): Declared.

21 years ago * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
Richard Henderson [Tue, 15 Oct 2002 01:07:52 +0000 (01:07 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
        VALUE, not ADDEND.

21 years agodaily update
Alan Modra [Tue, 15 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 15 Oct 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * c-lang.h (c_type_print_varspec_prefix): Delete.
Kevin Buettner [Mon, 14 Oct 2002 22:58:28 +0000 (22:58 +0000)]
* c-lang.h (c_type_print_varspec_prefix): Delete.
* c-typeprint.c (c_type_print_varspec_prefix): Make static.  Add
``need_post_space'' parameter.  Adjust all callers.

21 years ago * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Define to 1.
Daniel Jacobowitz [Mon, 14 Oct 2002 20:46:59 +0000 (20:46 +0000)]
    * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Define to 1.
        * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
        * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
        * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.

21 years ago* elf32-sh.c (elf_sh_link_hash_entry): Replace
Stephen Clarke [Mon, 14 Oct 2002 19:29:54 +0000 (19:29 +0000)]
* elf32-sh.c (elf_sh_link_hash_entry): Replace
datalabel_got_offset with union of datalabel_got
offset and refcount.
(sh_elf_link_hash_newfunc): Initialize datalabel_got.refcount.
(allocate_dynrelocs): Delete unnecessary code for
STT_DATALABEL type.  Create entry in got for
datalabel version of symbol if datalabel_got.refcount > 0.
(sh_elf_relocate_section): Use datalabel_got union.
(sh_elf_gc_sweep_hook): Pull common code to initialize
h and eh out of switch statement.  Declare seen_stt_datalabel.
Initialize it.  Decrement datalabel_got.refcount for
got relocs when seen_stt_datalabel is true.
Decrement local_got_refcounts entry for datalabel got relocs
of local symbols.
(sh_elf_copy_indirect_symbol): Copy datalabel_got field over.
(sh_elf_check_relocs): Declare seen_stt_datalabel.
Initialize it.  When seen_stt_datalabel is true, increment
datalabel_got refcount rather than got.refcount.
(sh_elf_finish_dynamic_symbol): Create relocs to
initialize got entry for datalabel version of symbol.

21 years ago * Makefile.in: Regenerate.
Alan Modra [Mon, 14 Oct 2002 12:06:23 +0000 (12:06 +0000)]
* Makefile.in: Regenerate.

21 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Mon, 14 Oct 2002 12:06:04 +0000 (12:06 +0000)]
* Makefile.am: Run "make dep-am".
(BFD_H_FILES): Remove version.h.
* bfd-in.h (BFD_VERSION, BFD_VERSION_DATE, BFD_VERSION_STRING): Move..
* version.h: ..to here.
* configure.in (bfd_version_date): Remove.
(AC_OUTPUT): Make bfdver.h from version.h.
* bfd.c: #include "bfdver.h".
* vms-hdr.c: Likewise.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

21 years ago * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
Alan Modra [Mon, 14 Oct 2002 10:55:39 +0000 (10:55 +0000)]
* cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.

21 years ago * cgen.h: Test __BFD_H_SEEN__ rather than BFD_VERSION_DATE.
Alan Modra [Mon, 14 Oct 2002 10:55:14 +0000 (10:55 +0000)]
* cgen.h: Test __BFD_H_SEEN__ rather than BFD_VERSION_DATE.

21 years ago * archures.c (bfd_mach_i386_i386, bfd_mach_i386_i8086,
Alan Modra [Mon, 14 Oct 2002 05:16:42 +0000 (05:16 +0000)]
* archures.c (bfd_mach_i386_i386, bfd_mach_i386_i8086,
bfd_mach_i386_i386_intel_syntax, bfd_mach_x86_64,
bfd_mach_x86_64_intel_syntax bfd_mach_ppc, bfd_mach_ppc64,
bfd_mach_rs6k, bfd_mach_d10v, bfd_mach_sh, bfd_mach_v850,
bfd_mach_arc_5, bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8,
bfd_mach_m32r, bfd_mach_frv, bfd_mach_frvsimple,
bfd_mach_ia64_elf64, bfd_mach_ia64_elf32,
bfd_mach_ip2022, bfd_mach_ip2022ext,
bfd_mach_s390_31, bfd_mach_s390_64, bfd_mach_xstormy16): Renumber.
* bfd-in2.h: Regenerate.

21 years ago * config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternative
Kaz Kojima [Mon, 14 Oct 2002 02:12:36 +0000 (02:12 +0000)]
* config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternative
endian vector to targ_selvecs.

21 years agosource.c (print_source_lines): Update comments.
Adam Fedor [Mon, 14 Oct 2002 02:12:04 +0000 (02:12 +0000)]
source.c (print_source_lines): Update comments.

21 years agovalops.c (value_of_local): New function.
Adam Fedor [Mon, 14 Oct 2002 02:02:42 +0000 (02:02 +0000)]
valops.c (value_of_local): New function.
(value_of_this): Use it.
value.h (value_of_local): Declared.

21 years agoparse.c: (length_of_subexp, prefixify_subexp): Handle
Adam Fedor [Mon, 14 Oct 2002 01:50:44 +0000 (01:50 +0000)]
parse.c: (length_of_subexp, prefixify_subexp): Handle
OP_MSGCALL, OP_SELECTOR, OP_NSSTRING, and OP_SELF.

21 years ago*** empty log message ***
gdbadmin [Mon, 14 Oct 2002 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 14 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* elfxx-mips.c (mips_elf_calculate_relocation): Take
Alexandre Oliva [Sun, 13 Oct 2002 21:22:31 +0000 (21:22 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Take
save_addend argument.  Don't apply the 32-bit mask to a
GPREL32 value if it's to be used in another relocation.  Don't
use forced-check computation of local_p to decide whether to
add gp0 to GPREL16 value.  Don't use only the lowest 16 bits
of the addend of a non-in-place GPREL16 relocation.
(_bfd_mips_elf_relocate_section): Pass use_saved_addend_p to
mips_elf_calculate_relocation().

21 years ago * m68hc11-dis.c (print_insn): Treat bitmask and branch operands
Stephane Carrez [Sun, 13 Oct 2002 09:01:54 +0000 (09:01 +0000)]
* m68hc11-dis.c (print_insn): Treat bitmask and branch operands
at the end.

21 years ago*** empty log message ***
gdbadmin [Sun, 13 Oct 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 13 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years agolanguage.c (binop_result_type): Add language_objc to case.
Adam Fedor [Sat, 12 Oct 2002 16:03:30 +0000 (16:03 +0000)]
language.c (binop_result_type): Add language_objc to case.
(integral_type): Likewise.
(character_type): Likewise.
(string_type): Likewise.
(boolean_type): Likewise.
(structured_type): Likewise.
(binop_type_check): Likewise.

21 years ago * elf32-m68hc11.c (m68hc11_elf_relax_section): Don't treat relocs
Stephane Carrez [Sat, 12 Oct 2002 14:00:55 +0000 (14:00 +0000)]
* elf32-m68hc11.c (m68hc11_elf_relax_section): Don't treat relocs
with symbols in other sections if we relaxed something;  the sections
output offsets must be re-computed before.

21 years ago * elf32-m68hc11.c (m68hc11_elf_relax_section): Update symbols
Stephane Carrez [Sat, 12 Oct 2002 13:35:25 +0000 (13:35 +0000)]
* elf32-m68hc11.c (m68hc11_elf_relax_section): Update symbols
handling to use Elf_Internal_Sym.
(m68hc11_elf_relax_delete_bytes): Likewise.

21 years agoprintcmd.c (address_info): Print 'self' for ObjC.
Adam Fedor [Sat, 12 Oct 2002 03:06:01 +0000 (03:06 +0000)]
printcmd.c (address_info): Print 'self' for ObjC.

21 years agoexpression.h: New ops OP_NSSTRING, OP_SELECTOR, OP_MSGCALL, and OP_SELF.
Adam Fedor [Sat, 12 Oct 2002 02:43:48 +0000 (02:43 +0000)]
expression.h: New ops OP_NSSTRING, OP_SELECTOR, OP_MSGCALL, and OP_SELF.

21 years agolanguage.h (CAST_IS_CONVERSION): Add language_objc.
Adam Fedor [Sat, 12 Oct 2002 02:39:12 +0000 (02:39 +0000)]
language.h (CAST_IS_CONVERSION): Add language_objc.

21 years agodefs.h (enum language): Add language_objc.
Adam Fedor [Sat, 12 Oct 2002 02:28:22 +0000 (02:28 +0000)]
defs.h (enum language): Add language_objc.

21 years ago2002-10-11 Klee Dienes <kdienes@apple.com>
Klee Dienes [Sat, 12 Oct 2002 01:48:17 +0000 (01:48 +0000)]
2002-10-11  Klee Dienes  <kdienes@apple.com>

        * findvar.c (read_memory_typed_address): New function.
        * gdbcore.h (read_memory_typed_address): Add prototype.
        * blockframe.c (sigtramp_saved_pc): Use read_memory_typed_address
        to read a value destined for a CORE_ADDR, not read_memory_integer.
        * f-valprint.c (f77_get_dynamic_upperbound): Ditto.
        (f77_get_dynamic_lowerbound): Ditto.

21 years agodaily update
Alan Modra [Sat, 12 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 12 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-11 Martin M. Hunt <hunt@redhat.com> carlton_dictionary-20021011-merge
Martin Hunt [Fri, 11 Oct 2002 17:50:10 +0000 (17:50 +0000)]
2002-10-11  Martin M. Hunt  <hunt@redhat.com>

* utils.c (string_to_core_addr): After turning string into
a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS
which will do necessary sign-extension, etc.

21 years ago2002-10-11 Klee Dienes <kdienes@apple.com>
Klee Dienes [Fri, 11 Oct 2002 16:13:15 +0000 (16:13 +0000)]
2002-10-11  Klee Dienes  <kdienes@apple.com>

        * gdb.texinfo (Registers): Mention vector registers as well as
        floating registers in the documentation for 'info registers' and
        'info all-registers'.

21 years agogcc uses trap 33 for profiling, but the simulator didn't support it.
Joern Rennecke [Fri, 11 Oct 2002 15:31:28 +0000 (15:31 +0000)]
gcc uses trap 33 for profiling, but the simulator didn't support it.
This patch fixes the gcc.dg/nest.c failures for sh-elf.

Fri Oct 11 16:22:28 2002  J"orn Rennecke <joern.rennecke@superh.com>

* interp.c (trap): Return int.  Take extra parameter for address
of the trap instruction.  Changed all callers.
Add case 33 for profiling.
* gencode.c (trapa): Handle trap 33 using the trap function.
Add read of vector for generic traps.

21 years ago * sh.h: Add SH TLS relocs.
Kaz Kojima [Fri, 11 Oct 2002 14:36:03 +0000 (14:36 +0000)]
* sh.h: Add SH TLS relocs.

21 years ago * elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject,
Kaz Kojima [Fri, 11 Oct 2002 14:32:03 +0000 (14:32 +0000)]
* elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject,
sh_elf_object_p, dtpoff_base): New functions.
(sh_elf_howto_table): Add TLS relocs.
(sh_reloc_map): Likewise.
(sh_elf_info_to_howto): Support TLS relocs.
(elf_sh_link_hash_entry): Add tls_type and tls_tpoff32.
(sh_elf_hash_entry, sh_elf_tdata, sh_elf_local_got_tls_type):
New macros.
(sh_elf_obj_tdata): New.
(elf_sh_link_hash_table): Add tls_ldm_got.
(sh_elf_link_hash_table_create): Clear refcount of tls_ldm_got.
(allocate_dynrelocs): Support TLS relocs.
(sh_elf_size_dynamic_sections): Likewise.
(sh_elf_relocate_section): Support TLS relocs.  Don't try to find
.rela.got section when found already.  Return false after printing
error about unresolvable relocation.
(sh_elf_gc_sweep_hook): Support TLS relocs.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol): Likewise.
(bfd_elf32_mkobject, elf_backend_object_p): Define for TLS case.
* reloc.c: Add SH TLS relocs.
* libbfd.h: Regenerate.

21 years ago * bfd-in2.h: Regenerate.
Kaz Kojima [Fri, 11 Oct 2002 14:28:29 +0000 (14:28 +0000)]
* bfd-in2.h: Regenerate.

21 years ago * c-exp.y (THIS): Delete token and grammar rule.
Daniel Jacobowitz [Fri, 11 Oct 2002 14:02:39 +0000 (14:02 +0000)]
    * c-exp.y (THIS): Delete token and grammar rule.
        (yylex): Don't return THIS.
        * cp-valprint.c (vtbl_ptr_name_old): Delete.
        (cp_is_vtbl_ptr_type): Don't check vtbl_ptr_name_old.
        * demangle.c (cplus_markers): Update comment.  Put '$'
        first.  Remove CPLUS_MARKER.
        (_initialize_demangler): Don't call set_cplus_marker_for_demangling.
        * jv-exp.y (THIS): Delete token and grammar rule.
        (yylex): Don't return THIS.
        * mips-tdep.c (mips_dump_tdep): Don't dump CPLUS_MARKER.
        * objc-exp.y (THIS): Delete token and grammar rule.
        (yylex): Don't return THIS.
        * p-exp.y (yylex): Remove reference to CPLUS_MARKER.
        * stabsread.c (vptr_name, vb_name): Replace CPLUS_MARKER with '$'.
        (read_member_functions): Likewise for opname.
        (read_tilde_fields): Use is_cplus_marker.

        * defs.h (CPLUS_MARKER): Don't define.
        * config/tm-sysv4.h (CPLUS_MARKER): Likewise.
        * config/i386/xm-i386sco.h (CPLUS_MARKER): Likewise.
        * config/mips/tm-irix3.h (CPLUS_MARKER): Likewise.
        * config/mips/tm-irix6.h (CPLUS_MARKER): Likewise.
        * config/rs6000/tm-rs6000.h (CPLUS_MARKER): Likewise.

        * config/i386/tm-i386v4.h: Delete file.
        * config/djgpp/fnchange.lst: Delete tm-i386v4.h.
        * config/i386/tm-i386sol2.h: Include "i386/tm-i386.h" instead.
        * config/i386/tm-i386v42mp.h: Include "i386/tm-i386.h" instead.
        * config/i386/tm-ptx.h: Include "i386/tm-i386.h" instead.
        * config/i386/i386gnu.mt (TM_FILE): Use tm-i386.h.
        * config/i386/i386sco5.mt (TM_FILE): Likewise.
        * config/i386/i386v4.mt (TM_FILE): Likewise.
        * config/i386/ncr3000.mt (TM_FILE): Likewise.

21 years ago * gdbint.texinfo (CPLUS_MARKER): Remove item.
Daniel Jacobowitz [Fri, 11 Oct 2002 14:01:04 +0000 (14:01 +0000)]
    * gdbint.texinfo (CPLUS_MARKER): Remove item.

21 years ago * Makefile.am: Run dep-am.
Daniel Jacobowitz [Fri, 11 Oct 2002 13:53:33 +0000 (13:53 +0000)]
    * Makefile.am: Run dep-am.
        (BFD32_LIBS): Add simple.lo.
        (BFD32_LIBS_CFILES): Add simple.c.
        * Makefile.in: Regenerated.
        * bfd-in2.h: Regenerated.
        * simple.c: New file.

21 years ago * Makefile.am (BFD_H_DEP): Add simple.c and linker.c.
Daniel Jacobowitz [Fri, 11 Oct 2002 13:52:53 +0000 (13:52 +0000)]
    * Makefile.am (BFD_H_DEP): Add simple.c and linker.c.
        * Makefile.in: Regenerated.

21 years ago * elf64-ppc.c (edit_opd): Correct local sym adjustment.
Alan Modra [Fri, 11 Oct 2002 12:59:06 +0000 (12:59 +0000)]
* elf64-ppc.c (edit_opd): Correct local sym adjustment.

21 years agoFix numerous occurrences of
Alan Modra [Fri, 11 Oct 2002 08:33:11 +0000 (08:33 +0000)]
Fix numerous occurrences of
warning: dereferencing type-punned pointer will break strict-aliasing rules

21 years ago * elf64-ppc.c (edit_opd): Only zero opd syms when function is
Alan Modra [Fri, 11 Oct 2002 04:36:13 +0000 (04:36 +0000)]
* elf64-ppc.c (edit_opd): Only zero opd syms when function is
completely removed.

21 years agodaily update
Alan Modra [Fri, 11 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 11 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-10 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 10 Oct 2002 23:55:36 +0000 (23:55 +0000)]
2002-10-10  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-cmds.c (gdb_update_mem): No results
were being returned. Append results to result_ptr_obj_ptr.

21 years ago* elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
Stephen Clarke [Thu, 10 Oct 2002 21:45:14 +0000 (21:45 +0000)]
* elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
Correct mistake in calculation of address of .got.
* elf64-sh64.c (elf_sh64_pic_plt_entry_be,
elf_sh64_pic_plt_entry_le): Likewise.

21 years ago2002-10-10 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 10 Oct 2002 19:39:28 +0000 (19:39 +0000)]
2002-10-10  Martin M. Hunt  <hunt@redhat.com>

* library/session.tcl (save): Save target_cmd,
attach, load, run, and cont as session prefs.
(notice_file_change): Load in above session
prefs.

* library/interface.tcl (set_target): Set icons busy
before attempting target command and set back to idle after.
(run_executable): Return on ATTACH_ERROR.
(gdbtk_run): If run button is hit when a program
is currently being debugged, put up a dialog allowing
user to continue or cancel.

21 years agoConvert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
Marko Mlinar [Thu, 10 Oct 2002 07:41:37 +0000 (07:41 +0000)]
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C

21 years ago2002-10-09 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 10 Oct 2002 00:46:39 +0000 (00:46 +0000)]
2002-10-09  Martin M. Hunt  <hunt@redhat.com>

* library/targetselection.itb (init_target_db): Add gdbserver
target.
(get_target_list): Always add "gdbserver" to list of valid
targets.
(valid_target): Always allow "gdbserver".

21 years ago*** empty log message ***
gdbadmin [Thu, 10 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 10 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update

21 years ago* Makefile.am: Add entries for elf32-sh64-lin.c and
Stephen Clarke [Wed, 9 Oct 2002 19:03:57 +0000 (19:03 +0000)]
* Makefile.am: Add entries for elf32-sh64-lin.c and
elf64-sh64-lin.c. Regenerate.
* Makefile.in: Regenerate.
* config.bfd:  Change sh64eb-*-linux* and sh64-*-linux*
to use sh64 vectors rather than sh vectors.
* configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
* configure: Regenerate.
* elf32-sh64-lin.c: New file.
* elf64-sh64-lin.c: New file.
* targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.

21 years agoConvert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
Marko Mlinar [Wed, 9 Oct 2002 11:59:54 +0000 (11:59 +0000)]
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C

21 years ago2002-10-08 Petr Sorfa <petrs@caldera.com>
Jim Blandy [Wed, 9 Oct 2002 04:43:49 +0000 (04:43 +0000)]
2002-10-08  Petr Sorfa <petrs@caldera.com>

Revised and re-submitted by John Wolfe <jlw@caldera.com>

Move the Dwarf 2 abbrev table to a per-compilation-unit structure,
so we can work on more than one compilation unit at a time.  This
helps prepare GDB to handle inter-CU die references.
* dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in
the code to be defined before struct comp_unit_head.
(comp_unit_head): Added new members - offset, cu_head,
begin_die, next and dwarf2_abbrevs.
(dwarf2_abbrevs): Removed single static var; now member of
struct comp_unit_head.
dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head
members.
(psymtab_to_symtab_1): Changed to work with the new
struct comp_unit_head.
(dwarf2_read_abbrevs): Now accepts a cu_header parameter and
constructs the dwarf2_abbrevs[] inside the cu_header.
(dwarf2_empty_abbrev_table): Now expects a ptr to a
dwarf2_abbrev table to clean up.
(dwarf2_lookup_abbrev): Now accepts a cu_header parameter and
handling of dwarf2_abbrevs inside the cu_header.
(read_partial_die): Now supports the call to the new
dwarf2_lookup_abbrev.
(read_full_die): Now supports the call to the new
dwarf2_lookup_abbrev.

21 years agodaily update
Alan Modra [Wed, 9 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 9 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 8 Oct 2002 16:11:07 +0000 (16:11 +0000)]
2002-10-08  H.J. Lu <hjl@gnu.org>

* elf32-i386.c (elf_i386_relocate_section): Re-arrange the
IE->LE transition for R_386_TLS_IE.

21 years ago * elf64-ppc.c (edit_opd): Correct test for discarded sections.
Alan Modra [Tue, 8 Oct 2002 09:51:09 +0000 (09:51 +0000)]
* elf64-ppc.c (edit_opd): Correct test for discarded sections.

21 years ago*** empty log message ***
gdbadmin [Tue, 8 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 8 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agoAdd tic4x target.
Nick Clifton [Mon, 7 Oct 2002 16:40:56 +0000 (16:40 +0000)]
Add tic4x target.

21 years agoDon't mark relocations in excluded sections.
Nick Clifton [Mon, 7 Oct 2002 16:27:39 +0000 (16:27 +0000)]
Don't mark relocations in excluded sections.

21 years ago * elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent
Alan Modra [Mon, 7 Oct 2002 00:14:28 +0000 (00:14 +0000)]
* elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent
code.

21 years ago * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.
Alan Modra [Mon, 7 Oct 2002 00:06:01 +0000 (00:06 +0000)]
* elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.

21 years ago*** empty log message ***
gdbadmin [Mon, 7 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 7 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Sun, 6 Oct 2002 20:21:01 +0000 (20:21 +0000)]
merge from gcc

21 years ago* Makefile.in (install-gdbtk): Add missing continuation backslash to insure
Christopher Faylor [Sun, 6 Oct 2002 19:53:52 +0000 (19:53 +0000)]
* Makefile.in (install-gdbtk): Add missing continuation backslash to insure
that shell variables, such as "transformed_name" are propagated to later shell
statements in rule.

21 years ago* config/i386/nm-i386sco.h: Add protection against
Mark Kettenis [Sun, 6 Oct 2002 18:37:13 +0000 (18:37 +0000)]
* config/i386/nm-i386sco.h: Add protection against
multiple-inclusion.  Include "i386/nm-i386v.h".
(REGISTER_U_ADDR): Remove define.
(i386_register_u_addr): Remove prototype.

21 years ago * opncls.c: Formatting.
Alan Modra [Sun, 6 Oct 2002 09:03:06 +0000 (09:03 +0000)]
* opncls.c: Formatting.
(_bfd_new_bfd): Use a smaller section hash table.

21 years agofile ChangeLog.cplus was initially added on branch drow-cplus-branch.
Daniel Jacobowitz [Sun, 6 Oct 2002 03:10:08 +0000 (03:10 +0000)]
file ChangeLog.cplus was initially added on branch drow-cplus-branch.

21 years ago*** empty log message ***
gdbadmin [Sun, 6 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 6 Oct 2002 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago* elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
Alexandre Oliva [Sat, 5 Oct 2002 11:18:13 +0000 (11:18 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
of the other two relocations packed with a REL32 to NONE.

21 years ago*** empty log message ***
gdbadmin [Sat, 5 Oct 2002 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 5 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-10-04 Michael Snyder <msnyder@redhat.com> drow-cplus-branchpoint
Michael Snyder [Fri, 4 Oct 2002 22:17:36 +0000 (22:17 +0000)]
2002-10-04  Michael Snyder  <msnyder@redhat.com>

* m32r-stub.c (handle_exception): Make sure exception is "trap"
before treating it as a single-step event.