aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-042002-04-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz58-73/+289
* aout-adobe.c (aout_32_bfd_link_hash_table_free): Define. * aout-target.h (MY_bfd_link_hash_table_free): Conditionally define. * aout-tic30.c (MY_bfd_link_hash_table_free): Likewise. * bfd.c (bfd_link_hash_table_free): Define. * binary.c (binary_bfd_link_hash_table_free): Define. * bout.c (b_out_bfd_link_hash_table_free): Define. * coff-rs6000.c (rs6000coff_vec): Include _bfd_generic_link_hash_table_free. (pmac_xcoff_vec): Likewise. * coff64-rs6000.c (rs6000coff64_vec): Likewise. (aix5coff64_vec): Likewise. * coffcode.h (coff_bfd_link_hash_table_free): Conditionally define. * elf-m10300.c (elf32_mn10300_link_hash_table_free): New function. (bfd_elf32_bfd_link_hash_table_free): Define. * elf32-hppa.c (elf32_hppa_link_hash_table_free): New function. (bfd_elf32_bfd_link_hash_table_free): Define. * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally define. * i386msdos.c (msdos_bfd_link_hash_table_free): Define. * i386os9k.c (os9k_bfd_link_hash_table_free): Define. * ieee.c (ieee_bfd_link_hash_table_free): Define. * ihex.c (ihex_bfd_link_hash_table_free): Define. * libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define. (_bfd_generic_link_hash_table_free): Add prototype. * libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype. * libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define. * linker.c (_bfd_generic_link_hash_table_free): New function. * mmo.c (mmo_bfd_link_hash_table_free): Define. * nlm-target.h (nlm_bfd_link_hash_table_free): Define. * oasys.c (oasys_bfd_link_hash_table_free): Define. * ppcboot.c (ppcboot_bfd_link_hash_table_free): Define. * som.c (som_bfd_link_hash_table_free): Define. * srec.c (srec_bfd_link_hash_table_free): Define. * tekhex.c (tekhex_bfd_link_hash_table_free): Define. * versados.c (versados_bfd_link_hash_table_free): Define. * vms.c (vms_bfd_link_hash_table_free): New function. * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function. * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc instead of bfd_alloc. * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. * coff-mcore.c (coff_mcore_link_hash_table_create): Likewise. * coff-ppc.c (ppc_coff_link_hash_table_create): Likewise. * cofflink.c (_bfd_coff_link_hash_table_create): Likewise. * ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise. * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. * elf.c (_bfd_elf_link_hash_table_create): Likewise. * elf32-arm.h (elf32_arm_link_hash_table_create): Likewise. * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. * elf32-sh.c (sh_elf_link_hash_table_create): Likewise. * elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise. * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise. * elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise. * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. * linker.c (_bfd_generic_link_hash_table_create): Likewise. * m68klinux.c (linux_link_hash_table_create): Likewise. * sparclinux.c (linux_link_hash_table_create): Likewise. * sunos.c (sunos_link_hash_table_create): Likewise. * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. * targets.c: Add _bfd_link_hash_table_free to xvec. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * libcoff.h: Regenerate.
2002-04-042002-04-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+15
* gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2002-04-04 * dep-in.sed: Cope with absolute paths.Alan Modra4-12/+28
* Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. Run "make dep-am". * Makefile.in: Regenerate.
2002-04-04 * dep-in.sed: Cope with absolute paths.Alan Modra12-88/+154
* Makefile.am (dep.sed): Subst TOPDIR. Run "make dep-am". * Makefile.in: Regenerate.
2002-04-04 * dep-in.sed: Cope with absolute paths.Alan Modra6-32/+57
* Makefile.am (dep.sed): Subst TOPDIR. Run "make dep-am". * Makefile.in: Regenerate. * ppc-opc.c: Whitespace. * s390-dis.c: Fix copyright date.
2002-04-04 * dep-in.sed: Cope with absolute paths.Alan Modra10-64/+553
* Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR. Run "make dep-am". * Makefile.in: Regenerate. * coff-arm.c: Fix copyright date. * cpu-h8300.c: Likewise. * cpu-i370.c: Likewise. * cpu-s390.c: Likewise. * cpu-mips.c: Likewise. * po/SRC-POTFILES.in: Regenerate.
2002-04-04* x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI change syncMichal Ludvig2-14/+19
2002-04-04Open out one-line if-then-else test clauses so that other clauses can beNick Clifton2-10/+24
inserted in the future.
2002-04-04 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.Thiemo Seufer2-19/+22
(mips_ip): Remove unused variable. (md_apply_fix3): Cast signed/unsignes mismatches. Replace unsigned char with bfd_byte. (s_file): Remove unused variable. (s_mips_ent): Likewise.
2002-04-04 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.Thiemo Seufer2-1/+5
2002-04-04Actually commit the new files ommitted before.Thiemo Seufer2-0/+7872
2002-04-04 * Makefile.am: Add elfxx-mips.c to the known backends.Thiemo Seufer10-13503/+525
(elf32-mips.lo): remove dependency to coff/external.h. * Makefile.in: Regenerate. * configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo Remove elf32-mips.lo from 64 bit vectors. Update dependencies accordingly. * configure: Regenerate. * elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h. (irix_compat_t): IRIX compatibility level, moved from elf32-mips.c. (elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New MIPS specific backend functions. * elf32-mips.c: Moved most code to elfxx-mips.c. (mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make static. (mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc. (mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc. (mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc. (mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed interface to allow selection of the right REL or RELA howto table. (mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made static. Let it refuse n32 objects. (elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus. (elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo. (elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info. (elf32_mips_ignore_discarded_relocs): Rename from _bfd_elf32_mips_ignore_discarded_relocs. (elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section. (elf32_mips_irix_compat): New function, replaces IRIX_COMPAT. (elf_mips_howto_table_rela): Remove. * elf64-mips.c: Moved most code to elfxx-mips.c. (bfd_elf64_bfd_reloc_type_lookup): Make static. (mips_elf64_rtype_to_howto): New function. (mips_elf64_object_p): Likewise. (elf64_mips_irix_compat): Likewise. * elfxx-mips.c: New file containing common code merged together from elf32-mips.c and elf64-mips.c. * elfxx-mips.h: New file containing MIPS specific prototypes from elf-bfd.h. * elfxx-target.h: Add handling for elf_backend_mips_irix_compat and elf_backend_mips_rtype_to_howto.
2002-04-04 * srec.c (MAXCHUNK, Chunk): Revise comments.Alan Modra2-28/+51
(srec_write_record): Correct buffer size. (srec_write_header): Do without intermediate buffer. (srec_write_section): Validate Chunk. (srec_write_terminator): Pass NULL instead of dummy buffer. (srec_write_symbols): Pass file and symbol names directly to bfd_bwrite so sprintf won't overflow buffer.
2002-04-04* configure.in: Call AC_C_INLINE.Jim Blandy3-250/+296
* configure: Regenerated.
2002-04-04daily updateAlan Modra1-1/+1
2002-04-04*** empty log message ***gdbadmin1-1/+1
2002-04-03Various fixes and improvements for d10v.Tom Rix3-104/+320
2002-04-03 * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamicJakub Jelinek3-1/+30
PC relative relocs against hidden symbols. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2002-04-032002-04-03 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-18/+9
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect. (gdb_expect): Remove $notransfer hack.
2002-04-03 * elf.c (_bfd_elf_make_section_from_shdr): When setting sectionAlan Modra2-4/+19
LMAs, loop over segments until p_vaddr and p_memsz specify an extent enclosing the section.
2002-04-03 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page sizeJakub Jelinek2-1/+7
is smaller than maximum, round dot up to common page boundary.
2002-04-03 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,Alan Modra2-11/+33
O_logical_not>): Derive final_seg from add_symbol. <O_multiply..O_logical_or>: More final_seg twiddles.
2002-04-032002-04-02 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+6
* gdb.c++/classes.exp ("calling method for small class"): Match updated register output.
2002-04-03*** empty log message ***gdbadmin1-1/+1
2002-04-03daily updateAlan Modra1-1/+1
2002-04-02Do not allow records to cross a 64K boundary - wrap if necessary.Nick Clifton2-0/+10
2002-04-02 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt relocRichard Henderson2-5/+25
in 32-bit mode.
2002-04-02daily updateAlan Modra1-1/+1
2002-04-02*** empty log message ***gdbadmin1-1/+1
2002-04-01merge from gccDJ Delorie5-7/+20
2002-04-012002-04-01 Nathan Williams <nathanw@wasabisystems.com>Jason Thorpe2-1/+6
* elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one erro which caused the returned LWP ID to always be 0.
2002-04-01 * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.Richard Henderson3-173/+105
(elf32_sparc_relocate_section): Use it to figure out when to initialize .got entries. * elf64-sparc.c: Similarly.
2002-04-012002-04-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+7
* rs6000-tdep.c: Change #include of "bfd/libcoff.h" and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
2002-04-01*** empty log message ***gdbadmin1-1/+1
2002-04-01daily updateAlan Modra1-1/+1
2002-03-31* NEWS: Mention gcore support on FreeBSD/i386.Mark Kettenis2-0/+6
2002-03-31* fbsd-proc.c: New file.Mark Kettenis4-1/+181
* config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
2002-03-31* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO inMark Kettenis2-1/+6
while statement.
2002-03-31daily updateAlan Modra1-1/+1
2002-03-31*** empty log message ***gdbadmin1-1/+1
2002-03-302002-03-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-15/+20
Fix PR gdb/452 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd when finished. Make gdb_file_cmd send "exec-file" when appropriate.
2002-03-302002-03-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-7/+4
* gdb.base/attach.exp: Remove extra setup_xfail.
2002-03-30merge from gccDJ Delorie2-1/+10
2002-03-30*** empty log message ***gdbadmin1-1/+1
2002-03-29* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerateJim Blandy2-1/+7
unescaped newlines in string literals, but newer ones don't. So escape them.
2002-03-29daily updateAlan Modra1-1/+1
2002-03-292002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+6
Andrew Cagney <cagney@redhat.com> * cli/cli-dump.c: New file. Dump memory to file, restore file to memory. * cli/cli-dump.h: New file. * Makefile.in: Add rules, dependencies for cli-dump.o. * NEWS: Mention new commands.
2002-03-292002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder4-4/+882
Andrew Cagney <cagney@redhat.com> * cli/cli-dump.c: New file. Dump memory to file, restore file to memory. * cli/cli-dump.h: New file. * Makefile.in: Add rules, dependencies for cli-dump.o.
2002-03-292002-03-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+82
* gdb.texinfo: Document new commands dump, append, and restore.
2002-03-292002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder5-8/+554
* gdb.base/default.exp: Add tests for dump, append, and restore. * gdb.base/help.exp: Add tests for dump, append, and restore. * gdb.base/dump.exp: New file, test dump, append and restore. * gdb.base/dump.c: New file.