aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-02-172004-02-17 David Mosberger <davidm@hpl.hp.com>Andrew Cagney5-11/+53
Committed by Andrew Cagney. * Makefile.in (ia64_tdep_h): New macro. (ia64-linux-tdep.o): Mention $(ia64_tdep_h). (ia64-tdep.o): Likewise. * ia64-tdep.h: New file. * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h". (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h. (ia64_aix_sigcontext_register_address): Likewise. (ia64_linux_getunwind_table): Delete declaration. * ia64-linux-tdep.c: Likewise.
2004-02-17 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.Corinna Vinschen3-4/+10
* sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
2004-02-172004-02-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-114/+78
* symtab.c (skip_prologue_using_sal): New function. * symtab.h (skip_prologue_using_sal): Declare. * frv-tdep.c: Include "symtab.h". (skip_prologue_using_sal): Delete function. * mips-tdep.c (skip_prologue_using_sal): Delete function. * rs6000-tdep.c (refine_prologue_limit): Mention skip_prologue_using_sal. * ia64-tdep.c (refine_prologue_limit): Ditto. * Makefile.in: Update dependencies.
2004-02-172004-02-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+8
* gdb.texinfo (Mode Options): Note that "mi1" is deprecated.
2004-02-17bfd/Richard Sandiford7-169/+173
* elfxx-mips.c (mips_elf_calculate_relocation): Use _bfd_elf_symbol_refs_local_p to decide whether to decay a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend. (_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE relocs if the symbol wasn't defined by a regular object file. Don't check the symbol's dynindx. ld/testsuite/ * ld-mips/elf/elf-rel-xgot-{n32,n64-linux}.d: Update after 2004-02-02 changes to the way large constants are added. * ld-mips/elf/elf-rel-got-{n32,n64-linux}.d: Likewise. Adjust order of GOT entries after today's change to the handling of GOT_PAGE relocations.
2004-02-17merge from gccDJ Delorie2-2/+10
2004-02-17*** empty log message ***gdbadmin1-1/+1
2004-02-162004-02-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-29/+26
* config/alpha/tm-nbsd.h: Update copyright, delete #undef START_INFERIOR_TRAPS_EXPECTED. * config/alpha/tm-fbsd.h: Update copyright, delete #undef START_INFERIOR_TRAPS_EXPECTED. * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro. * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro, moved to "nm-osf.h". Update copyright. * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define, update copyright.
2004-02-16daily updateAlan Modra1-1/+1
2004-02-162004-02-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney29-89/+137
* gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate and function replacing FRAMELESS_FUNCTION_INVOCATION. * blockframe.c (legacy_frameless_look_for_prologue): Rename frameless_look_for_prologue. * frame.h (legacy_frameless_look_for_prologue): Rename frameless_look_for_prologue. * gdbarch.h, gdbarch.c: Re-generate. * sh64-tdep.c (sh64_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ppc-linux-tdep.c (ppc_linux_init_abi): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. (delta68_frame_args_address): Update. * m32r-tdep.c (m32r_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. (frv_frameless_function_invocation): Update. * cris-tdep.c (cris_gdbarch_init): Update. (cris_frameless_function_invocation): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * stack.c (frame_info): Update, call predicate. * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate.. * frame.c (legacy_get_prev_frame): Update, call predicate.. * arch-utils.c (generic_frameless_function_invocation_not): Delete. * arch-utils.h (generic_frameless_function_invocation_not): Delete. * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function invocation. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. * vax-tdep.c (vax_gdbarch_init): Ditto.
2004-02-162004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-19/+5
* arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused function.
2004-02-16 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessaryDaniel Jacobowitz2-5/+5
initializations.
2004-02-162004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-5/+19
* tui/tui-windata.c: Include "gdb_string.h". * tui/tui-source.c, tui/tui-winsource.c: Ditto. * tui/tui-layout.c, tui/tui-command.c: Ditto. * Makefile.in: Update dependencies.
2004-02-16 * Makefile.in (infrun.o): Add $(gdb_assert_h).Daniel Jacobowitz3-3/+86
* infrun.c: Include "gdb_assert.h". (singlestep_ptid, saved_singlestep_ptid) (stepping_past_singlestep_breakpoint): New variables. (resume): Set singlestep_ptid. Check for singlestep thread hop. (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint. (handle_inferior_event): Handle singlestep thread hop.
2004-02-162004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+20
* dwarf2-frame.c (dwarf2_frame_ops): New function. (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data. (dwarf2_frame_init_reg): Ditto.
2004-02-162004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+4
* printcmd.c (display_command): Check that EXP isn't NULL. Fix suggested by Joshua Neuheisel
2004-02-162004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-526/+535
* configure.in: Always check for curses, including pdcurses. Warn, instead of error, when no curses are found. Enable TUI when curses is available. * configure: Re-generate.
2004-02-16 2004-02-16 Fred Fish <fnf@redhat.com>Fred Fish4-51/+173
* gdb.arch/gdb1291.c: Remove * gdb.arch/gdb1291.s: New test input file. * gdb.arch/gdb1291.exp: Expand test to check case that should not fail. Test for correct result, known incorrect result, other failures and timeouts.
2004-02-162004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-0/+400
* gdb.base/bigcore.exp: New file. * gdb.base/bigcore.c: New file.
2004-02-162004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-20/+14
* bfd-in.h (file_ptr, ufile_ptr): Configure type using @bfd_file_ptr@. * bfd-in2.h: Re-generate.
2004-02-162004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+6
* gdbint.texinfo (Coding): Mention -Wunused-function.
2004-02-16 * sh-tdep.c (sh_register_convert_to_virtual): Rename fromCorinna Vinschen2-10/+18
sh_sh4_register_convert_to_virtual. (sh_register_convert_to_raw): Rename from sh_sh4_register_convert_to_raw. (sh_pseudo_register_read): Accomodate above name change. (sh_pseudo_register_write): Ditto.
2004-02-16 * sh-tdep.c (sh_generic_register_name): Remove.Corinna Vinschen2-22/+6
(sh_gdbarch_init): Use sh_sh_register_name in default case.
2004-02-16*** empty log message ***gdbadmin1-1/+1
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+5
* configure.in (build_warnings): Add -Wunused-function. * configure: Re-generate.
2004-02-15daily updateAlan Modra1-1/+1
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-11/+7
* config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro. * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-38/+9
* procfs.c (procfs_init_inferior): Assume that START_INFERIOR_TRAPS_EXPECTED is defined. * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h. * config/ns32k/tm-nbsd.h: Delete file, START_INFERIOR_TRAPS_EXPECTED already defined as 2.
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-27/+3
* config/vax/tm-vaxbsd.h: Do not include "tm-vax.h". * config/vax/tm-vax.h: Delete file.
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-24/+16
* config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro. * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference. * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
2004-02-15* dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.Mark Kettenis3-38/+114
* dwarf2-frame.c (dwarf2_frame_data): New variable. (struct dwarf2_frame_ops): New. (dwarf2_frame_default_init_reg): New function, based on dwarf2_frame_init_reg. (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function. (dwarf2_frame_init_reg): Call architecture-specific function. (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data. (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data instead of dwarf2_frame_data. (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data. Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-109/+105
* gdbarch.sh (deprecated_register_gdbarch_swap): Rename register_gdbarch_swap. (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP. * f-lang.c (_initialize_f_language): Update, use DEPRECATED_REGISTER_GDBARCH_SWAP. * remote.c (_initialize_remote): Ditto. * regcache.c (_initialize_regcache): Ditto. * parse.c (_initialize_parse): Ditto. * infrun.c (_initialize_infrun): Ditto. * mi/mi-main.c (_initialize_mi_main): Ditto. * gdbtypes.c (_initialize_gdbtypes): Ditto.
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+6
* solib.c (solib_map_sections): Use bfd_set_cacheable instead of poking .cacheable directly. * symfile.c (symfile_bfd_open): Ditto.
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-62/+62
* Makefile.in: Update all dependencies.
2004-02-152004-02-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-141/+71
* Makefile.in: (.SUFFIXES): Add ".l" and ".y". (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate .c. Update references. Delete unnecessary .tab.c and -lex.c rules. (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule. (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
2004-02-15Use bfd_cache_close, instead of accessing bfd->iostream directly.Andrew Cagney5-5/+14
2004-02-15*** empty log message ***gdbadmin1-1/+1
2004-02-14daily updateAlan Modra1-1/+1
2004-02-142004-02-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+8
* arch-utils.c (legacy_convert_register_p): Check DEPRECATED_REGISTER_CONVERTIBLE_P. * findvar.c (value_of_register): Ditto.
2004-02-142004-02-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-16/+48
* gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (deprecated_register_convertible_not): Delete. * arch-utils.h (deprecated_register_convertible_not): Delete. * mi/mi-main.c (get_register): Update. Update copyright. * infcmd.c (default_print_registers_info): Update.
2004-02-142004-02-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney10-249/+17
* gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete. (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete. (DEPRECATED_CALL_DUMMY_ADDRESS): Delete. * gdbarch.h, gdbarch.c: Re-generate. * frame.c (deprecated_get_next_frame_hack): Delete function. * frame.h (deprecated_get_next_frame_hack): Delete declaration. * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): Update. * infcall.c (call_function_by_hand): Update. Index: doc/ChangeLog 2004-02-14 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete description of DEPRECATED_CALL_DUMMY_STACK_ADJUST.
2004-02-142004-02-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni30-95/+122
* symfile.c (init_entry_point_info, entry_point_address): Move from here... * objfiles.c (init_entry_point_info, entry_point_address):..to here. * symfile.h (init_entry_point_info, entry_point_address): Remove prototypes. * objfiles.h (init_entry_point_info, entry_point_address):Add prototypes. * cris-tdep.c: Remove include of symfile.h. Add include of objfiles.h. * infcall.c: Ditto. * mcore-tdep.c: Ditto. * mn10300-tdep.c: Ditto. * sh64-tdep.c: Ditto. * v850-tdep.c: Ditto. * arm-tdep.c: Remove include of symfile.h. * blockframe.c: Ditto. * coffread.c: Ditto. * dbxread.c: Ditto. * dwarf2read.c: Ditto. * dwarfread.c: Ditto. * frv-tdep.c: Ditto. * ia64-tdep.c: Ditto. * mdebugread.c: Ditto. * mipsread.c: Ditto. * rs6000-tdep.c: Ditto. * s390-tdep.c: Ditto. * sh-tdep.c: Ditto. * xstormy16-tdep.c: Ditto. * gdbarch.sh: Remove include of symfile.h. * gdbarch.c: Regenerate. * solib-irix.c (enable_break): Use entry_point_address(). Add comment about include file. * xcoffread.c: Add comment about include file. * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o) (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o) (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o) (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o) (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
2004-02-142004-02-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+10
* configure.host (HDEFINES): When hppa*-*-hpux*, define _LARGEFILE64_SOURCE.
2004-02-14 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): DiscardRichard Sandiford2-25/+8
.MIPS.content* and .MIPS.events* sections.
2004-02-142004-02-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-11/+21
* corelow.c (core_xfer_partial): Use "struct bfd_section". * config/sparc/nm-nbsd.h (struct target_ops): Declare, update copyright. * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
2004-02-14*** empty log message ***gdbadmin1-1/+1
2004-02-132004-02-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney21-4605/+13
* gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file. * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file. * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file. * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file. * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file. * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file. * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file. * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file. * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file. * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
2004-02-132004-02-13 Hannes Reinecke <hare@suse.de>Andreas Jaeger2-2/+7
Jakub Jelinek <jakub@redhat.com> * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
2004-02-132004-02-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-8/+51
* elf.c (vma_page_aligned_bias): New function. (assign_file_positions_except_relocs) (assign_file_positions_for_segments): Replace broken modulo arithmetic with call to vma_page_aligned_bias.
2004-02-13 2004-02-12 Fred Fish <fnf@redhat.com>Fred Fish2-1/+5
* m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to set_gdbarch_store_return_value.