summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * i386-tdep.c (struct i386_frame_cache): Remove frameless.kettenis-i386newframe-20030308-branchcvs/kettenis-i386newframe-20030308-branchMark Kettenis2003-03-162-18/+27
| | | | | | (i386_frame_cache): Don't set CACHE->frameless. (i386_frame_id_unwind): Simplify: Just unwind the frame pointer in all cases.
* * i386-tdep.c (regcache_cooked_write_unsigned): Remove define.Mark Kettenis2003-03-162-54/+68
| | | | | | | | | | | | | | (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.
* 2003-03-16 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2003-03-16114-1663/+6272
| | | | Merge with mainline. Tag is kettenis-i386newframe-20030316-mergepoint.
* * i386-tdep.c (i386_frameless_signal_p): Removed.Mark Kettenis2003-03-08720-121443/+306
| | | | | | | | | | | | | | | | | | | | (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.
* *** empty log message ***kettenis-i386newframe-20030308-branchpointgdbadmin2003-03-081-1/+1
|
* 2003-03-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-072-0/+13
| | | | | * gdb.texinfo (Debugging Output): Mention the "set/show debug frame" command.
* 2003-03-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-073-3/+6
| | | | | | * gdbarch.sh: Don't generate two macro definitions when an undefined macro taking no arguments. * gdbarch.h: Regenerate.
* daily updateAlan Modra2003-03-071-1/+1
|
* 2002-03-07 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2003-03-072-0/+30
| | | | | | * 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.
* 2003-03-07 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2003-03-073-15/+34
| | | | | | | * 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.
* * elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop afterAlan Modra2003-03-072-11/+4
| | | | a tls_get_addr call.
* *** empty log message ***gdbadmin2003-03-071-1/+1
|
* * elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.Alan Modra2003-03-064-19/+55
| | | | | | | | | | | (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.
* daily updateAlan Modra2003-03-061-1/+1
|
* 2003-03-06 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-03-063-28/+9
| | | | | | | | | * 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.
* 2003-03-06 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-03-062-7/+6
| | | | * generic/gdbtk-bp.c (gdb_get_tracepoint_info): Return CORE_ADDR.
* 2003-03-06 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-03-063-84/+22
| | | | | | | | | * 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().
* 2003-03-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-062-864/+1215
| | | | * texinfo/texinfo.tex: Import version 2003-02-03.16.
* Remove redundant defintions of BYTES_IN_WORD and add conditional defintion inNick Clifton2003-03-062-128/+135
| | | | aout64.h.
* 2003-03-06 Jakub Jelinek <jakub@redhat.com>Andrew Haley2003-03-062-3/+11
| | | | | | | Andrew Haley <aph@redhat.com> * elflink.h (elf_bfd_discard_info): Don't process eh frames if output is relocateable.
* (som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.Nick Clifton2003-03-062-12/+14
|
* * elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalizeAlan Modra2003-03-063-43/+57
| | | | | | | | | | | | 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.
* 2003-03-05 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-03-062-6/+8
| | | | | | * library/srctextwin.itb (SrcTextWin::FillAssembly): Remove unused variables asm_lo_addr and asm_hi_addr. (FillMixed): Ditto.
* 2003-03-05 Martin M. Hunt <hunt@redhat.com>Martin Hunt2003-03-065-65/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* *** empty log message ***gdbadmin2003-03-061-1/+1
|
* 2003-03-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-058-37/+172
| | | | | | | | | | | | | | | | | * 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.
* daily updateAlan Modra2003-03-051-1/+1
|
* 2003-03-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-052-20/+48
| | | | | | | * 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.
* 2003-03-05 Andrew Cagney <cagney@redhat.com>carlton_dictionary-20030305-mergeAndrew Cagney2003-03-052-27/+40
| | | | | | | | | | * 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.
* 2003-03-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-052-1/+11
| | | | | * frame.c (deprecated_update_frame_pc_hack): Also update the the cached PC value in the next frame.
* 2003-03-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-053-48/+50
| | | | | | | | | | | * 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.
* * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.Daniel Jacobowitz2003-03-052-0/+5
|
* * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".Daniel Jacobowitz2003-03-058-24/+187
| | | | | | | | | | | | | | | | | | | | | | | (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.
* * gdb.texinfo (Configuring the current ABI): Document "set cp-abi"Daniel Jacobowitz2003-03-052-0/+32
| | | | and "show cp-abi".
* * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.Daniel Jacobowitz2003-03-054-9/+22
| | | | | | | * dwarf2loc.c: Include "regcache.h". (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use register_size. * Makefile.in (dwarf2loc.o): Update dependencies.
* 2003-03-04 Daniel Jacobowitz <drow@mvista.com>Nathanael Nerode2003-03-055-2017/+2012
| | | | | | | | | | | | | * 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.
* * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when theTheodore A. Roth2003-03-052-1/+10
| | | | number of io registers reported by remote target is not a multiple of step.
* *** empty log message ***gdbadmin2003-03-051-1/+1
|
* daily updateAlan Modra2003-03-041-1/+1
|
* 2003-03-04 David Carlton <carlton@math.stanford.edu>David Carlton2003-03-042-11/+32
| | | | | | | | * 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.
* 2003-03-04 David Carlton <carlton@math.stanford.edu>David Carlton2003-03-042-4/+36
| | | | | | | | | | * 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.
* * MAINTAINERS (Write after approval): Update my email address.Kazu Hirata2003-03-042-1/+5
|
* Really commit it... dunno what happened last time.Nathanael Nerode2003-03-041-0/+16
|
* * mh-dgux: Delete.Nathanael Nerode2003-03-042-2/+4
|
* * Makefile.tpl: Always pass down RANLIB.Nathanael Nerode2003-03-044-174/+96
| | | | | | | | | | | | | | | * 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.
* merge from gccDJ Delorie2003-03-042-0/+13
|
* *** empty log message ***gdbadmin2003-03-041-1/+1
|
* 2003-03-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-032-1/+12
| | | | | * gdbint.texinfo (Target Architecture Definition): Document register_type.
* 2003-03-03 H.J. Lu <hjl@gnu.org>H.J. Lu2003-03-032-31/+5
| | | | | * elfxx-ia64.c (USE_BRL): Removed. (oor_ip): Removed.
* 2003-03-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-032-5/+12
| | | | | | * stabs.texinfo (Structures): Use @samp and separate @var's instead of a single @var containing a comma separated list. (Unions): Ditto.