| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
POP_FRAME_P;
frame-unwind.h.
|
|
|
|
|
|
|
| |
* d10v-frame.c: Use D10V_RET1_REGNUM.
(saved_regs_unwinder): Don't use get_frame_saved_regs.
* frame.c (get_prev_frame): Always initialize frame.frame.
(get_frame_base): Return frame.frame.
|
|
|
|
|
|
|
|
|
|
|
| |
* gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* stack.c (frame_info): Only initialize the saved registers when
FRAME_INIT_SAVED_REGS_P.
* frame.c (frame_saved_regs_register_unwind): Assert
FRAME_INIT_SAVED_REGS_P.
(deprecated_generic_get_saved_register): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* d10v-tdep.c: Include "d10v-tdep.h". Update to use D10V_
prefixed enums.
(do_d10v_pop_frame): Delete. Use version in d10v-frame.c.
* frame.c (frame_read_unsigned_register): Do not use
get_next_frame.
(frame_read_signed_register): Do not use get_next_frame.
(get_frame_base): Use frame_id_unwind.
* d10v-tdep.h: New file.
* d10v-frame.h: New file.
* d10v-frame.c: New file.
* frame.c (frame_id_unwind): Update.
(create_sentinel_frame): Update.
(legacy_get_prev_frame): Use frame_unwind_find_by_pc.
(get_prev_frame): Ditto.
* frame.h (struct frame_info): Replace pc_unwind, id_unwind and
register_unwind with unwind structure.
* frame.c (set_unwind_by_pc): Delete function.
(create_new_frame): Use frame_unwind_find_by_pc;
* Makefile.in (frame_h): Add $(frame_unwind_h).
* frame.h: Include "frame-unwind.h".
(frame_register_unwind_ftype): Delete.
(frame_id_unwind_ftype): Delete.
(frame_pc_unwind_ftype): Delete.
* Makefile.in (dummy-frame.o): Update dependencies.
(legacy-frame.o): Update dependencies.
* dummy-frame.c: Include "frame-unwind.h".
(dummy_frame_unwind): New static variable.
(dummy_frame_p): New function.
* legacy-frame.c: Include "frame-unwind.h".
(legacy_frame_unwind): New static variable.
(legacy_frame_p): New function.
* legacy-frame.h (legacy_frame_p): Declare.
* dummy-frame.h (dummy_frame_p): Declare.
* Makefile.in (frame_unwind_h): Define.
* frame-unwind.h: New file.
* frame-unwind.c: New file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* frame.c (deprecated_update_frame_pc_hack)
(deprecated_update_frame_base_hack): Also update the next frame's
ID/PC cache.
(create_sentinel_frame): Link the sentinel frame to itself.
* frame.h: Expand comments describing update PC and FP hacks.
* frame.c (get_prev_frame): Add comment explaining why
INIT_EXTRA_FRAME_INFO call is needed.
(legacy_get_prev_frame): Use get_next_frame.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sentinel-frame.c (sentinel_frame_register_unwind): Correctly set
LVALP and ADDRP.
* frame.c: Include "ui-out.h".
* frame.c (frame_type_from_pc): New function.
(create_new_frame): Use.
(set_unwind_by_pc): Drop unused frame parameter.
(deprecated_get_prev_frame): Rename old get_prev_frame.
(get_prev_frame): Rewrite. Unwind the PC first. Use
frame_id_unwind.
* dummy-frame.h (dummy_frame_id_unwind): Update.
(dummy_frame_pc_unwind): Update.
(dummy_frame_register_unwind): Update.
* dummy-frame.c: Update.
* frame.c (create_new_frame): Set next to a sentinal frame.
(create_sentinel_frame): New function.
(frame_id_unwind): Update id_unwind call.
(frame_saved_regs_register_unwind): Update cache parameter.
(frame_saved_regs_pc_unwind): Update cache parameter.
(frame_saved_regs_id_unwind): Update cache and id parameters.
* frame.h (frame_id_unwind_ftype): Return the frame ID using a
reference parameter.
(struct frame_unwind_cache): Declare.
(frame_id_unwind_ftype, frame_pc_unwind_ftype,
frame_register_unwind_ftype): Change the unwind cache_type to
`struct frame_unwind_cache'.
(struct frame_info): Change type of unwind_cache to `struct
frame_unwind_cache'.
* frame.c (get_next_frame): Don't go beyond the inner-most frame.
(frame_register_unwind): Assume that there is always a next frame.
(frame_register): Ditto.
(generic_unwind_get_saved_register): Ditto.
* frame.h (frame_type): Add SENTINEL_FRAME.
* Makefile.in (frame.o): Update dependencies.
* frame.h (FRAME_OBSTACK_ZALLOC): Define.
* Makefile.in (sentinel-frame.o): Specify dependencies.
(sentinel_frame_h): Define.
(SFILES): Add sentinel-frame.c.
(COMMON_OBS): Add sentinel-frame.o.
* sentinel-frame.c: New file.
* sentinel-frame.h: New file.
|
|
|
|
|
| |
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
* Makefile.in: Regenerate.
|
|
|
|
|
| |
unless configure was run with --no-recursion.
* configure: Rebuilt.
|
| |
|
|
|
|
|
| |
than inferior_ptid.
(lin_lwp_wait): Ignore exit statuses for unknown LWPs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
Update comments.
* frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
(frame_saved_regs_zalloc): Update.
(frame_saved_regs_register_unwind): Update.
(create_new_frame): Update.
(get_prev_frame): Update.
(frame_extra_info_zalloc): Update.
(deprecated_get_frame_saved_regs): Update.
* dwarf2cfi.c (cfi_init_extra_frame_info): Update.
* cris-tdep.c: Update comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(subdirs, clean, distclean): Use it.
* gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
regenerating Makefile, since it is generated from the top level.
* gdb.asm/Makefile.in: Likewise.
* gdb.base/Makefile.in: Likewise.
* gdb.c++/Makefile.in: Likewise.
* gdb.disasm/Makefile.in: Likewise.
* gdb.java/Makefile.in: Likewise.
* gdb.mi/Makefile.in: Likewise.
* gdb.threads/Makefile.in: Likewise.
* gdb.trace/Makefile.in: Likewise.
|
|
|
|
|
|
| |
* gdbint.texinfo (Target Architecture Definition): Mention
frame_saved_regs_zalloc and frame_extra_info_zalloc as the way to
allocate memory.
|
|
|
|
|
|
|
|
|
| |
* somsolib.h: Fix function indentation.
* disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
* gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
* demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
* alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
* somsolib.c, inftarg.c: Remove assignment in if conditional.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* infrun.c (follow_fork): Use ISO C definition.
* expprint.c (print_subexp): Use xfree instead of free.
* charset.c: Include "gdb_string.h" instead of <string.h>.
(register_iconv_charsets): Use ISO C definition.
(host_charset, target_charset): Ditto.
* Makefile.in (charset.o): Update dependencies.
(mi-cmd-env.o): Update dependencies.
Index: mi/ChangeLog
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* mi-cmd-env.c: Include "gdb_string.h" instead of <string.h>.
Move all includes to after "defs.h".
|
|
|
|
|
| |
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
Add copyright year 2003.
|
| |
|
|
|
|
|
|
| |
* Makefile.am (ALL_MACHINES): Use cpu-msp430.lo, not cpu-msp430.c.
(BFD32_BACKENDS): Use elf32-msp430.lo, not elf32-msp430.c.
* Makefile.in: Regenerate.
|
|
|
|
|
| |
* Makefile.am (ALL_MACHINES): Add msp430-dis.lo.
* Makefile.in: Regenerate.
|
|
|
|
|
|
| |
* gdb_mbuild.sh: Add --keep option. When specified, keep the
build directories. Save edited gdb output in Mbuild.log. If a
build fails, remove any final GDB executable.
|
|
|
|
|
| |
* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
get_frame_base.
|
| |
|
|
|
|
|
|
| |
* gdb_mbuild.sh: Edit the output of `maint print architecture'
replacing hex constants with function names and stripping leading
file name directory prefixes.
|
| |
|
|
|
|
|
| |
* gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
get_frame_base.
|
|
|
|
|
| |
* linespec.c (decode_line_1): Move code into decode_variable.
(decode_variable): New function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-08 Chris Demetriou <cgd@broadcom.com>
* config.guess: Update to 2003-01-03 version.
* config.sub: Update to 2003-01-03 version.
[ dejagnu/ChangeLog ]
2003-01-08 Chris Demetriou <cgd@broadcom.com>
* config.guess: Update to 2003-01-03 version.
* config.sub: Update to 2003-01-03 version.
[ readline/ChangeLog.gdb ]
2003-01-08 Chris Demetriou <cgd@broadcom.com>
* config.guess: Update to 2003-01-03 version.
* config.sub: Update to 2003-01-03 version.
|
|
|
|
|
| |
(GET_RELOC_ADDEND): Use it. Parenthesize macro arguments.
(SET_RELOC_ADDEND): Parenthesize macro argument.
|
|
|
|
| |
* mn10300-tdep.c (analyze_dummy_frame): Fix typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cris-tdep.c (cris_frame_init_saved_regs): Use
get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
saved_regs buffer.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
* mips-tdep.c (mips_init_extra_frame_info): Ditto.
* mcore-tdep.c (analyze_dummy_frame): Ditto.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
|
|
|
|
|
| |
(lookup_minimal_symbol_text): Update comment. Use the hash table.
(lookup_minimal_symbol_solib_trampoline): Likewise.
|
|
|
|
|
| |
* d10v-tdep.c (d10v_init_extra_frame_info): Use
frame_relative_level.
|
|
|
|
|
|
|
|
| |
* alpha-tdep.c: Use get_frame_extra_info.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, xstormy16-tdep.c: Ditto.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* alpha-tdep.c: Use get_next_frame.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
* v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
* xstormy16-tdep.c: Ditto.
|
|
|
|
|
|
|
| |
* mips.h: Fix missing space in comment.
(INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, INSN_ISA5)
(INSN_ISA32, INSN_ISA32R2, INSN_ISA64): Shift values right
by four bits.
|
| |
|
|
|
|
| |
adjust addil instructions if the symbol has no section.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* alpha-tdep.c: Use get_frame_base.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
* mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
* x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
* config/sparc/tm-sparc.h: Ditto.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* frame.c (deprecated_get_frame_context): New function.
(deprecated_set_frame_context): New function.
* frame.h (deprecated_get_frame_context): Declare.
(deprecated_set_frame_context): Declare.
* dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
(cfi_init_extra_frame_info): Use deprecated_set_frame_context.
|
|
|
|
| |
* configure: Regenerate.
|
|
|
|
| |
partial_inplace.
|
|
|
|
|
|
|
|
|
|
| |
* frame.c (deprecated_set_frame_next_hack): New function.
(deprecated_set_frame_prev_hack): New function.
* frame.h (deprecated_set_frame_next_hack): Declare.
(deprecated_set_frame_prev_hack): Declare.
* mcore-tdep.c (analyze_dummy_frame): Use
deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
|
|
|
|
|
| |
* linespec.c (decode_line_1): Move code into decode_dollar.
(decode_dollar): New function.
|