aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-05 * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachableKevin Buettner2-9/+5
clause.
2002-04-05gdb/ChangeLog:Jim Blandy13-25/+68
* stack.c (get_selected_block): Add new argument `addr_in_block', used to return the exact code address we used to select the block, not just the block. * blockframe.c (get_frame_block, get_current_block): Same. * frame.h (get_frame_block, get_current_block, get_selected_block): Update declarations. * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. gdb/mi/ChangeLog: * mi-cmd-stack.c (list_args_or_locals): Pass new arg to get_frame_block. (See entry in gdb/ChangeLog.)
2002-04-052002-04-05 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in warning message.
2002-04-05Document the addition of the new xfullpath.exp testcase.Joel Brobecker1-0/+5
2002-04-05New testcase.Joel Brobecker1-0/+198
2002-04-05Document changes relative to the new xfullpath function.Joel Brobecker1-0/+14
2002-04-05(lookup_symtab): Use the new xfullpath function, in order to be able toJoel Brobecker1-13/+46
match a filename with either the real filename, or the name of any symbolic link to this file. (lookup_partial_symtab): Ditto.
2002-04-05(openp): Use xfullpath in place of gdb_realpath to avoid resolving theJoel Brobecker1-3/+8
basename part of filenames when the associated file is a symbolic link. This fixes a potential inconsistency between the filenames known to GDB and the filenames it prints in the annotations.
2002-04-05(xfullpath): Add declaration.Joel Brobecker1-0/+1
2002-04-05(xfullpath): New function.Joel Brobecker1-0/+48
2002-04-052002-04-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+9
* mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN instead of tm_print_insn. Update copyright year.
2002-04-052002-04-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz6-1/+64
* gdb.asm/Makefile.in: Correct dependencies. * gdb.asm/powerpc.inc: New file. * gdb.asm/asm-source.exp: Add PowerPC. * gdb.asm/configure.in: Likewise. * gdb.asm/configure: Regenerated.
2002-04-052002-04-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-0/+130
* gdb.base/relocate.exp: New file. * gdb.base/relocate.c: New file.
2002-04-052002-04-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-45/+137
* breakpoint.c: Add support for hardware breakpoints in overlays. (overlay_events_enabled): New state variable. (insert_breakpoints): Use overlay_events_enabled to decide whether to attempt to set a breakpoint at the overlay load addr. Handle bp_hardware_breakpoint as well as bp_breakpoint. (remove_breakpoint): Use overlay_events_enabled to decide whether breakpoints need to be removed from overlay load addr. Handle bp_hardware_breakpoint as well as bp_breakpoint. (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. (create_overlay_event_breakpoint, enable_overlay_breakpoints, disable_overlay_breakpoints): Update overlay_events_enabled.
2002-04-05 2002-04-04 Fred Fish <fnf@redhat.com>Fred Fish2-0/+11
* gdb.base/step-test.exp: Update comment regarding stopping in memcpy/bcopy calls inserted as part of the compiler runtime.
2002-04-05daily updateAlan Modra1-1/+1
2002-04-05*** empty log message ***gdbadmin1-1/+1
2002-04-042002-04-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-13/+117
* dwarf2read.c (struct function_range): New. (cu_first_fn, cu_last_fn, cu_cached_fn): New. (check_cu_functions): New. (read_file_scope): Initialize global function lists. Call dwarf_decode_line after processing children. (read_func_scope): Add to global function list. (dwarf_decode_lines): Call check_cu_functions everywhere record_line is called. Call record_line with a linenumber of 0 to mark sequence ends.
2002-04-042002-04-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-0/+9
* mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function markers in the line table.
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.