summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2003-05-21 Andrew Cagney <cagney@redhat.com>cvs/cagney_fileio-20030521-branchcagney_fileio-20030521-branchAndrew Cagney2003-05-21726-121257/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fileio.c: Include "gdb_wait.h". 2003-03-10 Corinna Vinschen <vinschen@redhat.com> * fileio.c: New file implementing the remote File-I/O protocol. * fileio.h: New header file defining remote File-I/O interface. * remote.c (remote_write_bytes, remote_read_bytes): Remove static storage class. (remote_wait, remote_async_wait): Call remote_fileio_request() on 'F' packet. (_initialize_remote): Call initialize_remote_fileio(). * remote.h: Declare remote_write_bytes() and remote_read_bytes(). 2002-11-21 Martin M. Hunt <hunt@redhat.com> * Makefile.in (REMOTE_OBS): Add fileio.o (SFILES): Add fileio.c. Add dependencies for building fileio.o. Add fileio.h to dependencies for building remote.o. * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. (captured_main): Initialize new ui_files. * ui-file.c: Add read and fgets input functions. (ui_file_new): set ui_file_fputs and ui_file_read to null functions. (null_file_read): New function. (ui_file_read): New function. (set_ui_file_read): New function. (stdio_file_read): New function. * ui-file.h: New type ui_file_read_ftype. (set_ui_file_read): Declare. (ui_file_read): Declare.
* 2003-05-21 Andrew Cagney <cagney@redhat.com>cagney_fileio-20030521-branchpointAndrew Cagney2003-05-212-30/+6
| | | | | * gdbint.texinfo (Target Architecture Definition): Delete references to "extract_address" and "store_address".
* Check for a target triplet of shl-...-netbsdelf as well as shle-...-netbsdelf.Nick Clifton2003-05-212-5/+6
|
* Fix dst_mask for X_STORMY16_REL_12 reloc.Nick Clifton2003-05-212-1/+4
|
* 2003-05-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>Maciej W. Rozycki2003-05-211-0/+5
| | | | | * configure.in: Use curly braces in the definition of tooldir. * configure: Regenerate.
* USe is_elf_hash_table() to check for the presence of an elf_link_hash_tableNick Clifton2003-05-212-2/+8
|
* Fix typo "ink" instead of "link"Nick Clifton2003-05-212-1/+5
|
* 2003-05-20 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-05-212-3/+8
| | | | | opcode/i860.h (flush): Set lower 3 bits properly and use 'L' for the immediate operand type instead of 'i'.
* 2003-05-20 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-05-212-10/+17
| | | | | | | | | | | opcode/i860.h (fzchks): Both S and R bits must be set. (pfzchks): Likewise. (faddp): Likewise. (pfaddp): Likewise. (fix.ss): Remove (invalid instruction). (pfix.ss): Likewise. (ftrunc.ss): Likewise. (pftrunc.ss): Likewise.
* .Roland McGrath2003-05-212-3/+26
|
* 2003-05-19 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-212-9/+26
| | | | | | | | | | | | | * elf.c (bfd_elf_bfd_from_remote_memory): New function. * bfd-in.h: Declare it. * bfd-in2.h: Regenerated. * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function. * elf-bfd.h (struct elf_backend_data): New function pointer member elf_backend_bfd_from_remote_memory. (_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory): Declare them. * elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro. (elfNN_bed): Add that to the initializer.
* 2003-05-19 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-214-1/+259
| | | | | | | | | | | | * elf.c (bfd_elf_bfd_from_remote_memory): New function. * bfd-in.h: Declare it. * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function. * elf-bfd.h (struct elf_backend_data): New function pointer member elf_backend_bfd_from_remote_memory. (_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory): Declare them. * elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro. (elfNN_bed): Add that to the initializer.
* 2003-05-19 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-211-0/+38
| | | | | | | | | | | | | | | * elf.c (bfd_elf_bfd_from_remote_memory): New function. * bfd-in.h: Declare it. * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function. * elf-bfd.h (struct elf_backend_data): New function pointer member elf_backend_bfd_from_remote_memory. (_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory): Declare them. * elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro. (elfNN_bed): Add that to the initializer. 2003-05-15 Roland McGrath <roland@redhat.com> * elf.c (elfcore_grok_note): Grok NT_AUXV note, make ".auxv" section.
* 2003-05-15 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-213-2/+56
| | | | | | * common.h (NT_AUXV, AT_*): New macros. * external.h (Elf32_External_Auxv, Elf64_External_Auxv): New types. * internal.h (Elf_Internal_Auxv): New type.
* *** empty log message ***gdbadmin2003-05-211-1/+1
|
* daily updateAlan Modra2003-05-211-1/+1
|
* * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to functionKevin Buettner2003-05-202-12/+20
| | | | register_ptrace_addr(). Fix all callers.
* * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): UpdateAndreas Schwab2003-05-205-38/+66
| | | | | | | | | | | | | | | | | dependencies. * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the end. * m68klinux-tdep.c (m68k_linux_init_abi): New function. (_initialize_m68k_linux_tdep): New function. (m68k_linux_frame_saved_pc): Make static. (m68k_linux_extract_return_value): Likewise. (m68k_linux_store_return_value): Likewise. (m68k_linux_extract_struct_value_address): Likewise. * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Remove. (DEPRECATED_STORE_RETURN_VALUE): Remove. (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. (DEPRECATED_FRAME_SAVED_PC): Remove.
* 2003-05-20 David Carlton <carlton@math.stanford.edu>David Carlton2003-05-202-0/+36
| | | | | * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing this time.
* Fix regset numbering.Kris Warkentin2003-05-202-9/+9
|
* 2003-05-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>Maciej W. Rozycki2003-05-201-1/+1
| | | | | * configure.in: Use curly braces in the definition of tooldir. * configure: Regenerate.
* bfd/H.J. Lu2003-05-203-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-20 Jakub Jelinek <jakub@redhat.com> * elflink.h (elf_link_output_extsym): Only issue error about != STV_DEFAULT symbols if they are bfd_link_hash_undefined. 2003-05-20 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (_bfd_elf_merge_symbol): Check ELF_LINK_DYNAMIC_DEF when removing the old definition for symbols with non-default visibility. ld/testsuite/ 2003-05-20 Jakub Jelinek <jakub@redhat.com> * ld-elfvsb/common.c: New file. * ld-elfvsb/elfvsb.exp: Add common. 2003-05-20 H.J. Lu <hongjiu.lu@intel.com> * ld-elfvsb/sh3.c: New file. * ld-elfvsb/test.c: Likewise. * ld-elfvsb/elfvsb.exp: Add new weak hidden symbol tests.
* Regenerate - forgot to commit with last commitAndreas Jaeger2003-05-201-2/+2
|
* 2003-05-19 David Carlton <carlton@bactrian.org>David Carlton2003-05-207-0/+291
| | | | | | | | | * gdb.c++/rtti.exp: New file, containing tests for PR c++/488. * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto. 2003-05-19 David Carlton <carlton@bactrian.org> * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*.
* 2003-05-19 David Carlton <carlton@bactrian.org>David Carlton2003-05-2011-17/+399
| | | | | | | | | | | | | | | | | | | | | | | | | Partial fix for PR c++/827. * cp-support.h: Include symtab.h. Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. * cp-namespace.c: Update contributors. (cp_lookup_symbol_nonlocal): New. (lookup_namespace_scope, cp_lookup_symbol_namespace) (lookup_symbol_file): Ditto. * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. * block.h: Declare block_scope, block_using, block_global_block. * block.c (block_scope): New. (block_using, block_global_block): Ditto. * Makefile.in (cp_support_h): Depend on symtab_h. * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. 2003-05-19 David Carlton <carlton@bactrian.org> * gdb.c++/namespace.exp: Add namespace scope and anonymous namespace tests. Bump copyright date. * gdb.c++/namespace.cc: Add anonymous namespace and namespace C. (main): Call C::D::marker2. * gdb.c++/namespace1.cc: New file.
* * config.table: Accept i[345867]86 variant.DJ Delorie2003-05-202-2/+6
|
* 2003-05-19 David Carlton <carlton@bactrian.org>David Carlton2003-05-2014-59/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * language.h (struct language_defn): Add 'la_value_of_this' and 'la_lookup_symbol_nonlocal' members. * symtab.h: Declare basic_lookup_symbol_nonlocal, lookup_symbol_static, lookup_symbol_global, lookup_symbol_aux_block. * symtab.c (lookup_symbol_aux): Call language hooks to determine if we should search fields of this and how to do static/global lookup. (lookup_symbol_aux_block): Make extern. (basic_lookup_symbol_nonlocal): New. (lookup_symbol_static, lookup_symbol_global): Ditto. * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and 'la_lookup_symbol_nonlocal' members. * c-lang.c (c_language_defn, cplus_language_defn) (asm_language_defn, minimal_language_defn): Ditto. * jv-lang.c (java_language_defn): Ditto. * language.c (unknown_language_defn, auto_language_defn) (local_language_defn): Ditto. * m2-lang.c (m2_language_defn): Ditto. * objc-lang.c (objc_language_defn): Ditto. * scm-lang.c (scm_language_defn): Ditto. * f-lang.c (f_language_defn): Ditto, and include value.h as well. * p-lang.c (pascal_language_defn): Ditto for both. * Makefile.in (f-lang.o): Depend on value_h. (p-lang.o): Ditto.
* 2003-05-19 David Carlton <carlton@bactrian.org>David Carlton2003-05-204-16/+36
| | | | | | | | * block.h: Declare block_static_block. * block.c (block_static_block): New. * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to lookup_symbol_aux_local, calling block_static_block instead. (lookup_symbol_aux_local): Delete 'static_block' argument.
* 2003-05-19 David Carlton <carlton@bactrian.org>David Carlton2003-05-202-46/+4
| | | | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk.
* 2003-05-19 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2003-05-205-231/+472
| | | | | | | | * configure.in: Switch more things to use maybe dependencies. * Makefile.tpl: Switch more things to use maybe dependencies. Factor out common code from autogen IF statements. * configure: Regenerate. * Makefile.in: Regenerate.
* daily updateAlan Modra2003-05-201-1/+1
|
* *** empty log message ***gdbadmin2003-05-201-1/+1
|
* * configure.in: Accept i[3456789]86 for machine type.DJ Delorie2003-05-193-58/+63
| | | | * configure: Regenerate.
* * acinclude.m4: Accept i[3456789]86 for machine type.DJ Delorie2003-05-192-1/+5
|
* 2003-05-19 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2003-05-192-1/+6
| | | | | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix register numbers mapping.
* * symtab.c (completion_list_objc_symbol): New function.Adam Fedor2003-05-192-10/+119
| | | | | | | (make_symbol_completion_list): Use it to add ObjC symbols when looking though the list. (language_search_unquoted_string): New function. (make_file_symbol_completion_list): Use it.
* *** empty log message ***gdbadmin2003-05-191-1/+1
|
* 2003-05-18 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-05-186-5/+21
| | | | | | | | | | | | | | | | gas: * config/tc-i860.c (i860_process_insn): Initialize fc after each opcode mismatch. include/opcode: * i860.h (form, pform): Add missing .dd suffix. opcodes: * i860-dis.c (print_insn_i860): Instruction shrd has a dual bit, print it. bfd: * elf32-i860.c (elf32_i860_relocate_highadj): Simplify calculation.
* * Makefile (m68klinux-nat.o, m68klinux-tdep.o): UpdateAndreas Schwab2003-05-185-52/+84
| | | | | | | | | | | | | | | | | dependencies. * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define as m68k_linux_extract_return_value. (DEPRECATED_STORE_RETURN_VALUE): Define as m68k_linux_store_return_value. (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as m68k_linux_extract_struct_value_address. * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use get_next_frame, get_frame_base, get_frame_pc. (m68k_linux_frame_saved_pc): Use get_frame_base. (m68k_linux_extract_return_value): New function. (m68k_linux_store_return_value): New function. (m68k_linux_extract_struct_value_address): New function. * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target.
* * c-exp.y (typebase): Remove duplicate occurence ofAndreas Schwab2003-05-182-5/+9
| | | | | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead of lookup_signed_typename.
* * dwarf2loc.c (find_location_expression): Change type of secondMark Kettenis2003-05-182-3/+10
| | | | | | argument to `size_t *'. (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t for size variable.
* <top level>Nathanael Nerode2003-05-187-181/+547
| | | | | | | | | | | | | * configure.in: Switch more things to use maybe dependencies. Rearrange a little. Use GCC_TOPLEV_SUBDIRS. * configure: Regenerate. * Makefile.tpl: Switch more things to use maybe dependencies. * Makefile.in: Regenerate. <config> * config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD, _GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET, GCC_TOPLEV_SUBDIRS.
* 2003-05-18 David Carlton <carlton@bactrian.org>David Carlton2003-05-182-35/+50
| | | | | | | | | | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to 'linkage_name'. Add comment. (lookup_symbol_aux_local): Rename 'mangled_name' argument to 'linkage_name'. (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) (lookup_block_symbol): Ditto.
* *** empty log message ***gdbadmin2003-05-181-1/+1
|
* * elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section inAndreas Schwab2003-05-172-28/+30
| | | | | | | | elf_section_data during processing of pc-relative and absolute relocations. (elf_m68k_relocate_section): Use the cached reloc section instead of computing it again. Fix handling of visibility. Don't modify addend when copying over a relocation into the output.
* * Makefile.am (libopcodes_la_LIBADD): Add libbfd.la.kettenis_i386newframe-20030517-mergepointAndreas Jaeger2003-05-172-2/+8
| | | | | (libopcodes_la_DEPENDENCIES): Add libbfd.la. * Makefile.in: Regenerated.
* * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCALAlan Modra2003-05-176-43/+53
| | | | | | | | | | | | | | | | to trim plt entries. Move undefweak non-default visibility test.. (allocate_dynrelocs): ..from here. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't test dynamic_sections_created here. Update comment. Move undefweak non-default visibility test.. (allocate_dynrelocs): ..from here. Fix comment. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL to trim plt entries. Move undefweak non-default visibility test.. (allocate_dynrelocs): ..from here. Fix comment. * elflink.h (elf_link_output_extsym): Compare ELF_ST_VISIBILITY with STV_DEFAULT rather than comparing with zero. * elflink.c (_bfd_elf_merge_symbol): Likewise. (_bfd_elf_fix_symbol_flags): Likewise. Format comment.
* 2003-05-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-1756-122/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. * gdbarch.h, gdbarch.c: Re-generate. * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. * TODO (REGISTER_BYTES): Delete reference. * alpha-tdep.c (alpha_gdbarch_init): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * x86-64-tdep.c (x86_64_init_abi): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. (ns32k_gdbarch_init_32382): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * i386-linux-tdep.c (i386_linux_init_abi): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * sparc-tdep.c (sparc_pop_frame): Update. * rs6000-tdep.c (rs6000_pop_frame): Update. * remote.c (init_remote_state): Update. (remote_prepare_to_store): Update. * remote-vx.c (vx_prepare_to_store): Update. * remote-sds.c (sds_fetch_registers): Update. (sds_prepare_to_store): Update. * remote-array.c: Update. * regcache.c (init_legacy_regcache_descr): Update. (init_regcache_descr): Update. * mips-tdep.c (mips_eabi_extract_return_value): Update. (mips_o64_extract_return_value): Update. * irix5-nat.c (fetch_core_registers): Update. * irix4-nat.c (fetch_core_registers): Update. * i386-tdep.h: Update. * hppa-tdep.c (pa_do_registers_info): Update. (pa_do_strcat_registers_info): Update. * cris-tdep.c (cris_register_bytes_ok): Update. * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. (REGISTER_BYTES_OK): Update. * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. Index: doc/ChangeLog 2003-05-16 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Replace REGISTER_BYTES with DEPRECATED_REGISTER_BYTES. Fix typo, DEPRECATED_REGISTER_SIZE instead of REGISTER_BYTE. Index: mi/ChangeLog 2003-05-16 Andrew Cagney <cagney@redhat.com> * mi-main.c (mi_setup_architecture_data):
* * bfd.c (_bfd_get_gp_value): Prevent illegal access for abfd nullThiemo Seufer2003-05-172-0/+10
| | | | | pointers. (_bfd_set_gp_value): Likewise.
* daily updateAlan Modra2003-05-171-1/+1
|