aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-11-30*** empty log message ***gdbadmin1-1/+1
2002-11-29 * m68hc11-tdep.c (m68hc11_register_raw_size): Remove.Stephane Carrez2-30/+6
(m68hc11_register_byte): Remove. (m68hc11_gdbarch_init): Don't set the above.
2002-11-292002-11-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-18/+23
* remote-mips.c (mips_initialize): Force a selected frame rebuild by calling get_selected_frame. * ocd.c (ocd_start_remote): Use get_selected frame instead of set_current_frame, create_new_frame, select_frame and get_current_frame. * remote-e7000.c (e7000_start_remote): Ditto. * remote-mips.c (common_open): Ditto * remote-rdp.c (remote_rdp_open): Ditto.
2002-11-29 * m68k-tdep.c (m68k_frame_chain, m68k_frame_saved_pc)Andreas Schwab3-37/+51
(altos_skip_prologue, delta68_frame_saved_pc, isi_frame_num_args) (delta68_frame_num_args, news_frame_num_args, m68k_skip_prologue) (m68k_frame_init_saved_regs, m68k_saved_pc_after_call): Use read_memory_unsigned_integer instead of read_memory_integer when dealing with addresses and instruction opcodes. * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc) (m68k_linux_frame_saved_pc): Likewise.
2002-11-292002-11-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney45-240/+300
* stack.c (selected_frame, select_frame): Move from here ... * frame.c (selected_frame, select_frame): ... to here. Include "language.h". * Makefile.in (frame.o): Update dependencies. * frame.c (get_selected_frame): New function. * frame.h (get_selected_frame): Declare. (deprecated_selected_frame): Rename selected_frame. * ada-lang.c, ada-tasks.c, breakpoint.c, corelow.c: Update. * eval.c, f-valprint.c, findvar.c, frame.c, frame.h: Update. * h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, infcmd.c: Update. * inflow.c, infrun.c, macroscope.c, mips-tdep.c: Update. * mn10300-tdep.c, ocd.c, regcache.h, remote-e7000.c: Update. * remote-mips.c, remote-rdp.c, sh-tdep.c, sparc-tdep.c: Update. * stack.c, thread.c, tracepoint.c, valops.c, varobj.c: Update. * z8k-tdep.c, cli/cli-cmds.c: Update. Index: mi/ChangeLog 2002-11-29 Andrew Cagney <ac131313@redhat.com> * mi/mi-cmd-stack.c, mi/mi-main.c: Update to use deprecated_selected_frame. Index: tui/ChangeLog 2002-11-29 Andrew Cagney <ac131313@redhat.com> * tui/tui-hooks.c: Update to use deprecated_selected_frame. * tui/tui.c, tui/tuiDisassem.c, tui/tuiRegs.c: Ditto. * tui/tuiSource.c, tui/tuiSourceWin.c, tui/tuiWin.c: Ditto.
2002-11-292002-11-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+30
* frame.h (get_selected_block): Add comments.
2002-11-29Fix tipo in changelog.Andrew Cagney1-2/+2
2002-11-292002-11-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney7-28/+70
* frame.c (pc_notcurrent): New function. (find_frame_sal): New function. * frame.h (find_frame_sal): Declare. (struct symtab_and_line): Add opaque declaration. * stack.c (print_frame_info_base): Use find_pc_line instead of find_frame_sal. (frame_info): Ditto. * ada-lang.c (find_printable_frame): Ditto. Index: tui/ChangeLog 2002-11-28 Andrew Cagney <ac131313@redhat.com> * tuiStack.c (tuiShowFrameInfo): Use find_frame_sal instead of find_pc_line.
2002-11-29 * configure.in: Check that the pthdebug library is recent enoughJoel Brobecker4-86/+155
before enabling thread support on native AiX. * configure: Regenerate. * config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o from the list of object files as it is now appended by configure if thread support is enabled. (NAT_CLIBS): Removed as -lpthdebug is also appended by configure if thread support is enabled.
2002-11-292002-11-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-14/+21
* stack.c (get_selected_block): In-line get_current_block. * frame.h (get_current_block): Delete declaration. * blockframe.c (get_current_block): Delete function.
2002-11-29*** empty log message ***gdbadmin1-1/+1
2002-11-282002-11-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney22-108/+84
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Rename USE_GENERIC_DUMMY_FRAMES. * gdbarch.h, gdbarch.c: Regenerate. * valops.c, frame.c: Update. * config/z8k/tm-z8k.h, config/mn10200/tm-mn10200.h: Update. * config/m32r/tm-m32r.h, config/h8500/tm-h8500.h: Update. * config/pa/tm-hppa.h, blockframe.c: Update. * vax-tdep.c, sparc-tdep.c, ns32k-tdep.c: Ditto. * m68k-tdep.c, alpha-tdep.c: Ditto. * arm-tdep.c: Eliminate USE_GENERIC_DUMMY_FRAMES as always 1. * mips-tdep.c: Ditto. Index: doc/ChangeLog 2002-11-28 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Host Definition): Delete documentation on USE_GENERIC_DUMMY_FRAMES.
2002-11-282002-11-27 Andrew Cagney <ac131313@redhat.com>Andrew Cagney25-101/+92
* gdbarch.sh (CALL_DUMMY_LOCATION): Default to AT_ENTRY_POINT. (USE_GENERIC_DUMMY_FRAMES): Default to true. (PC_IN_CALL_DUMMY): Default to generic_pc_in_call_dummy. * gdbarch.c, gdbarch.h: Re-generate. * inferior.h (USE_GENERIC_DUMMY_FRAMES): Delete macro definition. (CALL_DUMMY_LOCATION): Delete macro definition. (PC_IN_CALL_DUMMY): Delete macro definitions. * arm-tdep.c (arm_gdbarch_init): Do not set pc_in_call_dummy, default is already generic_pc_in_call_dummy. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Do not set use_generic_dummy_frames, default is already 1. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set call_dummy_location, default is already AT_ENTRY_POINT. * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2002-11-282002-11-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-14/+79
* frame.h: Update comments on set_current_frame, create_new_frame, flush_cached_frames, reinit_frame_cache, select_frame and selected_frame.
2002-11-28 * configure: Regenerate with the proper version of autoconf.Joel Brobecker1-441/+426
2002-11-28*** empty log message ***gdbadmin1-1/+1
2002-11-272002-11-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-7/+17
* config/z8k/tm-z8k.h (PC_IN_CALL_DUMMY): Update definition to use deprecated pc_in_call_dummy function. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Ditto. * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Ditto. * config/pa/tm-hppa.h (PC_IN_CALL_DUMMY): Ditto. * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Ditto. * config/h8500/tm-h8500.h (PC_IN_CALL_DUMMY): Ditto.
2002-11-272002-11-26 Martin M. Hunt <hunt@redhat.com>Martin Hunt6-589/+212
* Makefile.in: Remove Tix dependencies. * acinclude.m4: Ditto. * aclocal.m4: Ditto. * configure.in: Ditto. * configure: Regenerated.
2002-11-272002-11-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-9/+15
* gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name. (TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto. * gdbarch.c: Re-generate.
2002-11-272002-11-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney7-0/+40
* config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_at_entry_point. * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack. * config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.
2002-11-27*** empty log message ***gdbadmin1-1/+1
2002-11-262002-11-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+27
Fix PR gdb/723 and PR gdb/245. * Makefile.in (install-info): Run the install-info command as part of the post install steps only. (uninstall-info): New target. (uninstall): New target.
2002-11-262002-11-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney15-34/+86
* inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename pc_in_call_dummy_before_text_end (deprecated_pc_in_call_dummy_after_text_end): Rename pc_in_call_dummy_after_text_end. (deprecated_pc_in_call_dummy_on_stack): Rename pc_in_call_dummy_on_stack. (deprecated_pc_in_call_dummy_at_entry_point): Rename pc_in_call_dummy_at_entry_point. * m68k-tdep.c (m68k_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * x86-64-tdep.c (x86_64_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update. * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) (deprecated_pc_in_call_dummy_after_text_end) (deprecated_pc_in_call_dummy_on_stack) (deprecated_pc_in_call_dummy_at_entry_point): Update. * alpha-tdep.c (alpha_gdbarch_init): Update.
2002-11-26 * acconfig.h (HAVE_PREAD64): Add.Daniel Jacobowitz8-67/+193
* configure.in: Check for pread64. * config.in: Regenerated. * configure: Regenerated. * lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory. * linux-proc.c (linux_proc_xfer_memory): New function. * config/nm-linux.h (linux_proc_xfer_memory): Add prototype.
2002-11-26*** empty log message ***gdbadmin1-1/+1
2002-11-252002-11-25 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+8
* dwarf2read.c (scan_partial_symbols): Descend into namespace pdi's with no name.
2002-11-252002-11-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+6
* MAINTAINERS: Mark h8500 as broken. Breakage occured Fri Nov 5 16:32:04 1999 Andrew Cagney <cagney@b1.cygnus.com>.
2002-11-25* symfile.c (init_objfile_sect_indices): New function.Jim Blandy2-35/+49
(default_symfile_offsets): Move the section-index-initializing stuff into init_objfile_sect_indices, and call that.
2002-11-25* symtab.h (SIZEOF_N_SECTION_OFFSETS): New macro.Jim Blandy2-4/+9
(SIZEOF_SECTION_OFFSETS): Use SIZEOF_N_SECTION_OFFSETS.
2002-11-25* symfile.c (syms_from_objfile): Adjust indentation.Jim Blandy2-6/+10
2002-11-25* symfile.c (symbol_file_add): Flush gdb_stdout even if from_ttyJim Blandy2-1/+10
|| info_verbose isn't true.
2002-11-25* lib/mi-support.exp (mi_delete_breakpoints): Change name ofJim Blandy2-1/+6
function appearing in error message.
2002-11-252002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-17/+14
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change default to get_frame_base. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.c (default_frame_address): Delete function. * arch-utils.h (default_frame_address): Delete declaration
2002-11-25*** empty log message ***gdbadmin1-1/+1
2002-11-242002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-1/+7
* varobj.c (find_frame_addr_in_frame_chain): Use get_frame_base instead of FRAME_FP, obvious fix.
2002-11-242002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney25-73/+128
* frame.h (FRAME_FP): Delete macro. (get_frame_base): New function declaration. * frame.c (get_frame_base): New function. (get_frame_id): Use ->frame. (frame_find_by_id): Rewrite to use get_frame_id. * blockframe.c: Use get_frame_base instead of FRAME_FP. * cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto. * hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. * mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto. * sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto. * v850-tdep.c, valops.c, z8k-tdep.c: Ditto.
2002-11-242002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+4
* arm-tdep.c (arm_gdbarch_init): Do not set get_saved_register.
2002-11-242002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-4/+21
* frame.c (set_unwind_by_pc): Revert change below, use PC_IN_CALL_DUMMY. (get_prev_frame): Ditto.
2002-11-242002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-8/+65
* dummy-frame.c (pc_in_dummy_frame): New function. (generic_pc_in_call_dummy): Call pc_in_dummy_frame. (find_dummy_frame): Update comment. (generic_pop_current_frame): Use get_frame_type. * dummy-frame.h (pc_in_dummy_frame): Declare. * frame.c (set_unwind_by_pc): Use pc_in_dummy_frame. (create_new_frame): Use pc_in_dummy_frame. (get_prev_frame): Use pc_in_dummy_frame. (frame_saved_regs_register_unwind): Use get_prev_frame. (deprecated_generic_get_saved_register): Use get_prev_frame.
2002-11-242002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-23/+35
* blockframe.c (find_frame_addr_in_frame_chain): Move function from here ... * varobj.c (find_frame_addr_in_frame_chain): ... to here. (varobj_create): Note that frame ID should be used. * frame.h (find_frame_addr_in_frame_chain): Delete declaration.
2002-11-242002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney7-28/+30
* breakpoint.c: Include "gdb_assert.h". (deprecated_frame_in_dummy): Assert that generic dummy frames are not being used. * Makefile.in (breakpoint.o): Update dependencies. * ada-lang.c (find_printable_frame): Use get_frame_type instead of deprecated_frame_in_dummy. * stack.c (print_frame_info_base): Ditto. (frame_info): Ditto. (print_frame_info_base): Ditto. Delete dead code. Index: tui/ChangeLog 2002-11-23 Andrew Cagney <ac131313@redhat.com> * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of deprecated_frame_in_dummy. Fix coding style.
2002-11-24*** empty log message ***gdbadmin1-1/+1
2002-11-23 * Makefile.in (m68k_tdep_h): Define.Andreas Schwab12-93/+144
(abug-rom.o, cpu32bug-rom.o, dbug-rom.o, m68k-tdep.o, m68klinux-nat.o) (remote-est.o, rom68k-rom.o): Add $(m68k_tdep_h). * m68k-tdep.c: Move register number enum ... * m68k-tdep.h: ... to this new file and rename the constants from E_* to M68K_*. All uses changed. * config/m68k/tm-m68k.h (D0_REGNUM, A0_REGNUM): Remove definitions. * abug-rom.c: Include "m68k-tdep.h". Use M68K_D0_REGNUM/M68K_A0_REGNUM instead of D0_REGNUM/A0_REGNUM. * cpu32bug-rom.c: Likewise. * dbug-rom.c: Likewise. * m68k-tdep.c: Likewise. * m68klinux-nat.c: Likewise. * remote-est.c: Likewise. * rom68k-rom.c: Likewise. * config/m68k/tm-linux.h: Likewise.
2002-11-232002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-49/+6
* arm-tdep.c (arm_gdbarch_init): Remove old style non-generic dummy frame initialization code. * mips-tdep.c (mips_gdbarch_init): Ditto.
2002-11-23* win32-nat.c (child_attach): Reset saw_create counter or subsequent attachChristopher Faylor3-0/+7
will hang.
2002-11-232002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney16-50/+41
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default to default_frame_address. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_gdbarch_init): Do not set frame_args_address or frame_locals_address to default_frame_address. * m68k-tdep.c (m68k_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * x86-64-tdep.c (x86_64_gdbarch_init): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * cris-tdep.c (cris_frame_args_address): Delete function. (cris_frame_locals_address): Delete function. (cris_gdbarch_init): Do not set frame_args_address or frame_locals_address.
2002-11-232002-11-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+12
* thread-db.c (thread_db_load): Tell the user what's going on if dlopen fails on libthread_db.
2002-11-23*** empty log message ***gdbadmin1-1/+1
2002-11-22 * m68k-tdep.c (m68k_register_virtual_type): Use architectureAndreas Schwab2-12/+18
invariant return values.
2002-11-222002-11-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+6
* Makefile.in (install): Make 'install' do some real work.