| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
(i386_frame_cache): Don't set CACHE->frameless.
(i386_frame_id_unwind): Simplify: Just unwind the frame pointer in
all cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(i386_frame_cache): Cache PC.
(i386_frame_pop, i386_frame_pc_unwind): Remove.
(i386_unwind_pc): New function.
(i386_frame_id_unwind): Initialize cache if necessary. Remove
related assertion.
(i386_frame_register_unwind): Remove FIXME and related assertion.
Add code that fakes a saved processor state with the direction
flag cleared. Fix unwinding the stack register.
(struct i386_frame_unwind): Remove i386_frame_pop and
i386_frame_pc_unwind.
(i386_gdbarch_init): Set unwind_pc.
|
|
|
|
| |
Merge with mainline. Tag is kettenis-i386newframe-20030316-mergepoint.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(i386_frame_chain): Removed.
(i386_sigtramp_saved_pc, i386_sigtramp_saved_sp): Removed.
(i386_frame_saved_pc): Removed.
(i386_saved_pc_after_call): Use frame_unwind_register to find the
saved PC.
(i386_frame_init_saved_regs): Removed.
(i386_do_pop_frame, i386_pop_frame): Removed.
(i386_frame_cache): New function.
(i386_frame_pop, i386_frame_pc_unwind, i386_frame_id_unwind,
i386_frame_register_unwind): New functions.
(i386_frame_unwind): New variable.
(i386_frame_p): New function.
(i386_unwind_dummy_id, i386_save_dummy_frame_tos): New functions.
(i386_gdbarch_init): Don't set deprecated_init_frame_pc,
pop_frame, deprecated_frame_init_saved_regs, frame_chain and
frame_saved_pc. Set unwind_dummy_id and save_dummy_frame_tos.
Call frame_unwind_append_predicate.
|
| |
|
|
|
|
|
| |
* gdb.texinfo (Debugging Output): Mention the "set/show debug
frame" command.
|
|
|
|
|
|
| |
* gdbarch.sh: Don't generate two macro definitions when an
undefined macro taking no arguments.
* gdbarch.h: Regenerate.
|
| |
|
|
|
|
|
|
| |
* x86-64-tdep.c (x86_64_save_dummy_frame_tos)
(x86_64_unwind_dummy_id): New functions.
(x86_64_init_abi): Register these two new functions.
|
|
|
|
|
|
|
| |
* x86-64-tdep.c (x86_64_function_has_prologue): New function.
(x86_64_skip_prologue): Move prologue detection to
separate function.
* x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
|
|
|
|
| |
a tls_get_addr call.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(ppc_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
(ppc64_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf32-i386.c (ELIMINATE_COPY_RELOCS): Define as one. Use throughout.
(elf_i386_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
|
| |
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk-interp.c (gdbtk_interpreter_init): Remove
unused variable.
* generic/gdbtk-cmds.c (gdb_update_mem): Remove unused variable.
(gdbtk_print_source): Deleted.
(gdbtk_print_asm): Deleted.
|
|
|
|
| |
* generic/gdbtk-bp.c (gdb_get_tracepoint_info): Return CORE_ADDR.
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk-cmds.c (gdb_disassemble): Deleted.
(sprintf_append_element_to_obj): Deleted.
* generic/gdbtk-bp.c (get_breakpoint_commands): Use
Tcl_ListObjAppendElement() instead of
sprintf_append_element_to_obj().
|
|
|
|
| |
* texinfo/texinfo.tex: Import version 2003-02-03.16.
|
|
|
|
| |
aout64.h.
|
|
|
|
|
|
|
| |
Andrew Haley <aph@redhat.com>
* elflink.h (elf_bfd_discard_info): Don't process eh frames if
output is relocateable.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
error messages.
(ELIMINATE_COPY_RELOCS): Define to zero.
(ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating
TLSLD relocs. Report reloc types on a number of errors. Optimize
LOCAL24PC check for non-local syms. Don't capitalize error messages.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero.
(ppc64_elf_relocate_section): Don't deref htab->tls_sec when
calculating TLSLD relocs. Report reloc types on a number of errors.
Don't capitalize error messages.
|
|
|
|
|
|
| |
* library/srctextwin.itb (SrcTextWin::FillAssembly):
Remove unused variables asm_lo_addr and asm_hi_addr.
(FillMixed): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk-cmds.c (Gdbtk_Init): Create gdb_CA_to_TAS.
(gdb_load_disassembly): Now takes CORE_ADDRs. Returns CORE_ADDRs
for low and high.
(gdbtk_load_asm): Use CORE_ADDRs.
(gdb_loc): Return CORE_ADDRs.
(gdb_entry_point): Return CORE_ADDR.
(gdb_incr_addr): Update description.
(gdb_CA_to_TAS): New function. Takes a CORE_ADDR and returns
a target sddress string.
* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Change to
take a CORE_ADDR.
(gdb_get_breakpoint_info): Returns a CORE_ADDR.
(gdb_set_bp_addr): Takes a CORE_ADDR.
* library/bpwin.itb (bp_add): Call gdb_CA_to_TAS before
displaying address.
(bp_modify): Ditto.
* library/srcwin.itb (location): Call gdb_CA_to_TAS before
displaying address. Don't add "0x" in front of address.
(set_execution_status): Call gdb_CA_to_TAS before
displaying address. Don't call [gdb_cmd printf] to format
output. Weird.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* d10v-tdep.c (d10v_unwind_dummy_id): New function.
(d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
* frame.c (get_prev_frame): Restructure the frame ID unwind code
to use unwind_dummy_id when a dummy frame.
* gdbarch.sh (unwind_dummy_id): New multi-arch method with
predicate.
* gdbarch.h, gdbarch.c: Regneerate.
Index: doc/ChangeLog
2003-03-05 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
unwind_dummy_id. Cross reference unwind_dummy_id and
SAVE_DUMMY_FRAME_TOS.
|
| |
|
|
|
|
|
|
|
| |
* d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
(d10v_frame_unwind_cache): Rewrite code computing the base and SP.
Do not use d10v_read_sp or d10v_read_fp when obtaining register
values.
|
|
|
|
|
|
|
|
|
|
| |
* d10v-tdep.c (struct frame_extra_info): Delete unused structure.
(struct d10v_unwind_cache): Delete field "frameless". Replace
"next_addr" with "sp_offset". Add "r11_offset".
(d10v_frame_unwind_cache): Update.
(prologue_find_regs): Update. When "mv r11, sp", save the
"sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
RN was saved in r11_offset.
|
|
|
|
|
| |
* frame.c (deprecated_update_frame_pc_hack): Also update the the
cached PC value in the next frame.
|
|
|
|
|
|
|
|
|
|
|
| |
* frame.h (struct frame_info): Replace "id_unwind_cache_p" and
"id_unwind_cache" with "id".
(frame_id_unwind): Delete declaration.
* frame.c (frame_id_unwind): Delete function.
(get_prev_frame): Call the frame id unwind method directly. Store
the returned next frame's ID value in NEXT_FRAME. Note that there
is a problem with the wrong unwind ID being called with the wrong
unwind cache.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(auto_cp_abi): New variable.
(current_cp_abi, num_cp_abis): Make static.
(CP_ABI_MAX): Define.
(cp_abis): Turn into an array.
(value_virtual_fn_field): Fix formatting.
(switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
takes a pointer.
(set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
(list_cp_abis, _initialize_cp_abi): New functions.
* cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
declarations for cp_abis, num_cp_abis, current_cp_abi, and
switch_to_cp_abi. Update prototype for register_cp_abi.
* Makefile.in (cp-abi.o): Update dependencies.
* minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
instead of switch_to_cp_abi.
* gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
register_cp_abi.
* gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
register_cp_abi.
* hpacc-abi.c (_initialize_hpacc_abi): Likewise.
|
|
|
|
| |
and "show cp-abi".
|
|
|
|
|
|
|
| |
* dwarf2loc.c: Include "regcache.h".
(dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
register_size.
* Makefile.in (dwarf2loc.o): Update dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Include $(build_tooldir)/sys-include in
FLAGS_FOR_TARGET.
* configure: Regenerated.
2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Reindent.
* Makefile.in: Regenerate.
* configure.in: Reindent. Don't set unused variables.
* configure: Regenerate.
|
|
|
|
| |
number of io registers reported by remote target is not a multiple of step.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* symtab.c (lookup_partial_symbol): Add linkage_name argument.
(lookup_symbol_aux_psymtabs): Update call to
lookup_partial_symbol.
(lookup_transparent_type, find_main_psymtab)
(make_symbol_overload_list): Ditto.
|
|
|
|
|
|
|
|
|
|
| |
* gdb.c++/templates.exp (do_tests): Accept valid const in "print
Garply<Garply<char> >:: garply".
(test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
with respect to PR c++/1111; note also PR c++/1113.
(test_template_breakpoints): KFAIL "constructor breakpoint" with
respect to PR c++/1062.
KFAIL "destructor breakpoint" with respect to PR c++/1112.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.in: Regenerate.
* Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
* Makefile.in: Regenerate.
* configure.in: Remove unused logic relating to --enable-shared
and --enable-threads. Remove bogus comments. Remove redundant
noconfigdirs.
* configure: Regenerate.
* configure.in: Replace ${libstdcxx_version} by its value.
Remove reference to mh-dgux.
* configure: Regenerate.
|
| |
|
| |
|
|
|
|
|
| |
* gdbint.texinfo (Target Architecture Definition): Document
register_type.
|
|
|
|
|
| |
* elfxx-ia64.c (USE_BRL): Removed.
(oor_ip): Removed.
|
|
|
|
|
|
| |
* stabs.texinfo (Structures): Use @samp and separate @var's
instead of a single @var containing a comma separated list.
(Unions): Ditto.
|