aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-12/+17
* arm-linux-nat.c: Remove references to regcache.c internal data (registers[] and register_valid[]).
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder13-11/+67
* linux-proc.c: New file. Implement child_pid_to_exec_file, so that attaching to a pid will automatically read the process's symbol file and shlibs. * Makefile.in: Add rule for linux-proc.o. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. * config/arm/linux.mh: Ditto. * config/i386/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-08Fix typo.Michael Snyder1-1/+1
2002-01-082002-01-08 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+161
Add capability to write corefile note sections, for gdb. * elf.c (elfcore_write_note): New function. (elfcore_write_prpsinfo): New function. (elfcore_write_prstatus): New function. (elfcore_write_pstatus): New function. (elfcore_write_prfpreg): New function. (elfcore_write_prxfpreg): New function. * elf-bfd.h: Add prototypes for above functions.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-16/+8
* solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT instead of bfd_get_arch_size. Don't bail out just because there's no exec_bfd.
2002-01-08* elf.c (elf_fake_sections): Propagate errors fromAlexandre Oliva2-3/+9
elf_backend_fake_section.
2002-01-08 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.Jason Merrill2-1/+7
2002-01-08* ldlang.c (walk_wild_section): Exclude object file if enclosingAlexandre Oliva2-1/+21
archive is excluded.
2002-01-082002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller3-0/+6
* win32-nat.c: Add i386-tdep.h dependency.
2002-01-08Approved by mec@shout.net.Fred Fish2-43/+29
2002-01-07 Fred Fish <fnf@redhat.com> * gdb.c++/overload.exp: Remove unconditional xfails for: print foo_instance1.overloadargs(1) print foo_instance1.overloadargs(1, 2) print foo_instance1.overloadargs(1, 2, 3) print foo_instance1.overloadargs(1, 2, 3, 4) print foo_instance1.overloadargs(1, 2, 3, 4, 5) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) print foo_instance1.overload1arg() print foo_instance1.overload1arg((char)arg2) print foo_instance1.overload1arg((signed char)arg3) print foo_instance1.overload1arg((unsigned char)arg4) print foo_instance1.overload1arg((int)arg7) print foo_instance1.overload1arg((unsigned int)arg8) print foo_instance1.overload1arg((float)arg11) print foo_instance1.overload1arg((double)arg12)
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