aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-08bfd:Jason Thorpe19-349/+474
* Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. (elf32-sh-nbsd.lo): New rule. * Makefile.in: Regenerate. * config.bfd (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. (bfd_elf32_shnbsd_vec): New vector. (bfd_elf32_shlnbsd_vec): New vector. * configure: Regenerate. * elf32-sh-nbsd.c: New file. * targets.c: Update copyright years. (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and bfd_elf32_shnbsd_vec. gas: * configure.in (sh*le): Set cpu_type=sh and endian=little. (sh*-*-netbsdelf*): New target. * configure: Regenerate. * tc-sh.h: Update copyright years. (TARGET_FORMAT): Add version for TE_NetBSD. ld: * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. (eshelf_nbsd.c): New rule. (eshlelf_nbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. * ld/emulparams/shelf_nbsd.sh: New emulation. * ld/emulparams/shlelf_nbsd.sh: New emulation.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder6-0/+12
* cp-valprint.c (cp_print_value): FIXME comment, alloca size. * p-valprint.c (pascal_object_print_value): Ditto. * somread.c (som_symtab_read): Ditto. * symfile.c (simple_free_overlay_region_table): Ditto. * valops.c (value_assign): Ditto.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+3
* infptrace.c (GDB_MAX_ALLOCA): New define. (child_xfer_memory): Use xmalloc/xfree instead of alloca if the size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, can be overridden with whatever value is appropriate to the host). * infttrace.c (child_xfer_memory): Add FIXME warning about use of alloca to allocate potentially large buffer. * rs6000-nat.c (child_xfer_memory): Ditto. * symm-nat.c (child_xfer_memory): Ditto. * x86-64-linux-nat.c (child_xfer_memory): Ditto.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+10
* tracepoint.c (tracepoint_save_command): From Klee Deines -- use tilde_expand and strerror for opening save-tracepoints file.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+5
* thread-db.c (thread_db_new_objfile): Indendation fix.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+84
* gdb.base/huge.exp: New test. Print a very large target data object. (skip_huge_test): New test variable. Define if you want to skip this test. The test reads an 8 megabyte data object from the target, so it might be very time consuming on remote targets with a slow connection. * gdb.base/huge.c: New file. Test case for above.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder5-6/+44
* infptrace.c (GDB_MAX_ALLOCA): New define. (child_xfer_memory): Use xmalloc/xfree instead of alloca if the size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, can be overridden with whatever value is appropriate to the host). * infttrace.c (child_xfer_memory): Add FIXME warning about use of alloca to allocate potentially large buffer. * rs6000-nat.c (child_xfer_memory): Ditto. * symm-nat.c (child_xfer_memory): Ditto. * x86-64-linux-nat.c (child_xfer_memory): Ditto.
2002-01-08* bfd/coff-rs6000.c (READ20): Use bfd_scan_vma.Aldy Hernandez2-1/+5
2002-01-08*** empty log message ***gdbadmin1-1/+1
2002-01-07daily updateAlan Modra1-1/+1
2002-01-07Approved by med@shout.net:Fred Fish2-7/+6
2002-01-07 Fred Fish <fnf@redhat.com> * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo, g_instance.bfoo, and g_instance.cfoo.
2002-01-072002-01-07 Jackie Smith Cashion <jsmith@redhat.com>Jackie Smith Cashion2-1/+6
From Nick Clifton <nickc@redhat.com> * d10v-tdep.c: Set STACK_START to 0x200bffe.
2002-01-072002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+11
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't use exec_bfd if it's NULL.
2002-01-072002-01-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+5
* Change reference to Cygnus Solutions to be Red Hat.
2002-01-072002-01-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+5
* COPYING.NEWLIB: Update generic copyright date.
2002-01-07 * gdb.base/break.c (multi_line_if_conditional): New function.Jeff Law3-1/+51
(multi_ilne_while_conditional): Likewise. * gdb.base/break.exp: Verify that a breakpoint on a multi-line IF or WHILE condition puts the breakpoint at the start of the condition.
2002-01-07 * gdb.base/selftest.exp (backtrace through signal handler): RemoveJeff Law4-10/+12
hppa*-*-hpux* expected failure. * gdb.base/structs.exp (do_function_calls): Similarly. * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware watchpoints.
2002-01-07ARM support added to libglossMark Salter2-28/+9
2002-01-07 * elflink.h (elf_link_input_bfd): Don't ask for the merged offsetGeoffrey Keating2-0/+7
of a symbol in a section that will be deleted.
2002-01-07do not allow size or nbytes to go negative.Nick Clifton2-3/+8
2002-01-07Add spanish translation filesNick Clifton16-345/+4865
2002-01-07Note that --emit-relocs is currently only implemented for ELF.Nick Clifton2-0/+7
2002-01-07Rotate ChangeLogNick Clifton2-7702/+7711
2002-01-07Rotated ChangeLogNick Clifton2-9585/+9593
2002-01-07 * gdb.texinfo (Tracepoints): Clarify that tracepoints need supportEli Zaretskii2-1/+9
in the stub.
2002-01-07*** empty log message ***gdbadmin1-1/+1
2002-01-06daily updateAlan Modra1-1/+1
2002-01-06* valops.c (value_arg_coerce): Fix formatting.Mark Kettenis2-2/+7
2002-01-06<string.h> -> "gdb_string.h"Andrew Cagney3-2/+7
2002-01-06Doco which targets are not multi-arch.Andrew Cagney2-1/+28
2002-01-06* MAINTAINERS: Mark a29k target as obsolete.Andrew Cagney14-8178/+8212
* Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) (remote-mm.o, remote-udi.o): Obsolete. Remove references in comments. * NEWS: Note that a29k targets are obsolete. * a29k-tdep.c: Mark as obsolete. * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and a29k-*-vxworks* targets as obsolete. * remote-adapt.c: Obsolete. * remote-eb.c: Obsolete. * remote-mm.c: Obsolete. * remote-udi.c: Obsolete. * config/a29k/a29k-udi.mt: Obsolete. * config/a29k/a29k.mt: Obsolete. * config/a29k/tm-a29k.h: Obsolete. * config/a29k/tm-vx29k.h: Obsolete. * config/a29k/vx29k.mt: Obsolete.
2002-01-06Fix PR gdb/66.Andrew Cagney17-120/+158
* gdb.base/structs.exp: Replace skip for a29k with skip for gdb,cannot_call_functions. * gdb.base/call-ar-st.exp: Remove references to a29k in comments. * gdb.base/callfuncs.exp: Ditto. * gdb.base/call-rt-st.exp: Ditto. * gdb.base/call-strs.exp: Ditto. * gdb.base/callfwmall.exp: Ditto. * gdb.base/scope.exp: Obsolete xfail a29k. * gdb.c++/misc.exp: Ditto. * gdb.c++/cplusfuncs.exp: Ditto. * gdb.base/ptype.exp: Ditto. * gdb.base/printcmds.exp: Ditto. * gdb.base/opaque.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/funcargs.exp: Ditto. * gdb.base/default.exp: Ditto.
2002-01-06 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.Alan Modra3-6/+15
* config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
2002-01-06 * elfxx-ia64.c (is_unwind_section_name): Add target vector asAlan Modra2-6/+89
argument so we can handle HP-UX specially. (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. (elfNN_hpux_backend_section_from_bfd_section): New for support of SHN_IA_64_ANSI_COMMON. (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. (is_unwind_section_name): Add special HP-UX support. (elfNN_ia64_section_from_shdr): Add support for more sections. (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and add support for more sections. (elfNN_ia64_additional_program_headers): Modify is_unwind_section_name call. (elfNN_ia64_modify_segment_map): Remove assumption that there is only one unwind section in segment.
2002-01-06 * readelf.c (get_ia64_segment_type): Add support for macros.Alan Modra2-0/+12
(get_segment_type): Add support for IA64 specific macros.
2002-01-06 * ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.Alan Modra2-0/+31
(SHT_IA_64_HP_OPT_ANOT): Ditto (PT_IA_64_HP_OPT_ANOT): Ditto (PT_IA_64_HP_HSL_ANOT): Ditto (PT_IA_64_HP_STACK): Ditto (SHN_IA_64_ANSI_COMMON): Ditto
2002-01-06 * syms.c (_bfd_generic_make_empty_symbol): New function.Alan Modra19-303/+138
* libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. (hppabsd_core_get_symtab_upper_bound): Don't define. (hppabsd_core_get_symtab): Likewise. (hppabsd_core_print_symbol): Likewise. (hppabsd_core_get_symbol_info): Likewise. (hppabsd_core_bfd_is_local_label_name): Likewise. (hppabsd_core_get_lineno): Likewise. (hppabsd_core_find_nearest_line): Likewise. (hppabsd_core_bfd_make_debug_symbol): Likewise. (hppabsd_core_read_minisymbols): Likewise. (hppabsd_core_minisymbol_to_symbol): Likewise. (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). Formatting fixes. * hpux-core.c: Similarly. * irix-core.c: Similarly. * osf-core.c: Similarly. * sco5-core.c: Similarly. * binary.c (binary_make_empty_symbol): Remove function, define as _bfd_generic_make_empty_symbol. * ihex.c (ihex_make_empty_symbol): Likewise. * mmo.c (mmo_make_empty_symbol): Likewise. * ppcboot.c (ppcboot_make_empty_symbol): Likewise. * srec.c (srec_make_empty_symbol): Likewise. * versados.c (versados_make_empty_symbol): Likewise. * vms.c (_bfd_vms_make_empty_symbol): Remove. (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol rather than _bfd_vms_make_empty_symbol. * vms-misc.c (new_symbol): Likewise.
2002-01-06last? remaining BIG_ENDIAN switchAndrew Cagney2-1/+6
2002-01-06Move changelog to correct position.Andrew Cagney2-20/+20
2002-01-06*** empty log message ***gdbadmin1-1/+1
2002-01-05daily updateAlan Modra1-1/+1
2002-01-05Don't include <endian.h>Andrew Cagney6-402/+407
2002-01-052002-01-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz9-1/+76
* tc-mips.c (mips_cprestore_valid): New flag. (mips_frame_reg_valid): New flag. (macro) [M_JAL_2]: Check both flags. [M_JAL_A]: Likewise. (s_cprestore): Set mips_cprestore_valid. (tc_get_register): If setting mips_frame_reg, set mips_frame_reg_valid and clear mips_cprestore_valid. (s_mips_ent): Clear both flags. (s_mips_end): Clear both flags. 2002-01-05 Daniel Jacobowitz <drow@mvista.com> * gas/mips/jal-svr4pic.s: Add .ent and .frame directives. * gas/mips/mips-abi32-pic.s: Add .frame directive. * gas/mips/mips-gp32-fp32-pic.s: Likewise. * gas/mips/mips-gp32-fp64-pic.s: Likewise. * gas/mips/mips-gp64-fp32-pic.s: Likewise. * gas/mips/mips-gp64-fp64-pic.s: Likewise.
2002-01-05* acconfig.h (HAVE_PT_GETXMMREGS): New.Jason Thorpe12-580/+655
* config.in: Regenerate. * configure.in: Update copyright years. Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. * configure: Regenerate. * i386bsd-nat.c: Update copyright years. (fill_gregset): Use regcache_collect. (fetch_inferior_registers): Only fetch integer registers if requested to do so. Add support for XMM registers using PT_GETXMMREGS. (store_inferior_registers): Only store integer registers if requested to do so. Add support for XMM registers using PT_SETXMMREGS. * i386nbsd-nat.c (fetch_inferior_registers): Remove. (store_inferior_registers): Remove. (fetch_core_registers): Use supply_gregset and i387_supply_fsave. (fetch_elfcore_registers): New function. (i386nbsd_elfcore_fns): New. (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and i386bsd-nat.o. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. * config/i386/nbsdelf.mt (TDEPFILES): Likewise. * config/i386/tm-nbsd.h: Update copyright years. (HAVE_SSE_REGS): Define. (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. (SIGCONTEXT_PC_OFFSET): Remove. (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
2002-01-05 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make useAlan Modra4-24/+16
of bfd_section_list_remove and bfd_section_list_insert macros. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. * emultempl/mmo.em (mmo_place_orphan): Likewise.
2002-01-05 * write.c (write_object_file): Make use of bfd_section_list_remove.Alan Modra4-55/+41
* config/obj-ecoff.c (ecoff_frob_file): Likewise. * config/tc-mmix.c (mmix_frob_file): Likewise.
2002-01-05 * section.c (bfd_section_init): Remove unnecessary initialisations.Alan Modra22-318/+380
(bfd_section_list_clear): New function. (bfd_section_list_remove, bfd_section_list_insert): New macros. (_bfd_strip_section_from_output): Use them. * coffcode.h (coff_set_alignment_hook): Likewise. * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. * elf64-mips.c (mips_elf64_final_link): Likewise. * elf64-mmix.c (mmix_elf_final_link): Likewise. * sunos.c (sunos_add_dynamic_symbols): Likewise. * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. * bfd-in2.h: Regenerate. * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway rather than doing our own section handling. Clean up after errors with bfd_release and bfd_section_list_clear. Handle unexpected flags. * aoutf1.h (sunos4_core_file_p): Likewise. * aix386-core.c (aix386_core_file_p): Likewise. * cisco-core.c (cisco_core_file_validate): Likewise. * ptrace-core.c (ptrace_unix_core_file_p): Likewise. * trad-core.c (trad_unix_core_file_p): Likewise. * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors with bfd_release and bfd_section_list_clear. * hpux-core.c (hpux_core_core_file_p): Likewise. * irix-core.c (irix_core_core_file_p): Likewise. * lynx-core.c (lynx_core_file_p): Likewise. * osf-core.c (osf_core_core_file_p): Likewise. * rs6000-core.c (rs6000coff_core_p): Likewise. * sco5-core.c (sco5_core_file_p): Likewise.
2002-01-05 * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and performAlan Modra2-15/+20
sign extension adjustments without conditionals.
2002-01-05Remove obsolete MacOS support.Andrew Cagney21-2570/+34
2002-01-05s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney48-128/+148