aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-03-122003-03-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-112/+53
Eliminate the need for POP_FRAME. * frame.c (do_frame_unwind_register): New function. (frame_pop): When no POP_FRAME, pop the frame using register unwind and a scratch regcache. (frame_saved_regs_pop): Delete function. (trad_frame_unwinder): Update. * d10v-tdep.c (d10v_frame_pop): Delete function. (d10v_frame_unwind): Update. * sentinel-frame.c (sentinel_frame_pop): Delete function. (sentinel_frame_unwinder): Update. * dummy-frame.c (dummy_frame_pop): Delete function. (dummy_frame_unwind): Update. * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. (struct frame_unwind): Update.
2003-03-12*** empty log message ***gdbadmin1-1/+1
2003-03-11 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename toKevin Buettner2-8/+37
mips_dwarf_dwarf2_ecoff_reg_to_regnum(). (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): Do range checks on register number obtained from debugging info. (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of set_gdbarch_ecoff_reg_to_regnum() to account for new name of mapping function. (do_fp_register_row): Fix typo which caused double type to be used when attempting to unpack a float.
2003-03-11 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.Joel Brobecker2-1/+6
2003-03-11Update changelog entry for Klee's patchDaniel Jacobowitz1-1/+2
2003-03-112003-03-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-6/+17
* frame.c (deprecated_update_frame_pc_hack): Don't assume a next frame. Problem found by Corinna Vinschen.
2003-03-112003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-0/+13
* doublest.c (floatformat_from_length): Accept also the real size of 'long double' type.
2003-03-11*** empty log message ***gdbadmin1-1/+1
2003-03-10 * breakpoint.c (bpstat_copy): Copy the command lines as wellDaniel Jacobowitz2-0/+10
as the old value, to match what is freed in bpstat_clear.
2003-03-102003-03-10 David Carlton <carlton@math.stanford.edu>David Carlton2-11/+24
* minsyms.c (add_minsym_to_hash_table): Replace DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. (compare_minimal_symbols, compact_minimal_symbols) (install_minimal_symbols, find_solib_trampoline_target): Ditto. (lookup_minimal_symbol_text): Use strcmp on linkage names instead of DEPRECATED_SYMBOL_MATCHES_NAME. (lookup_minimal_symbol_solib_trampoline): Ditto.
2003-03-102003-03-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-34/+67
* regcache.h (regcache_cooked_read_ftype): Define. (regcache_save, regcache_restore): Add a cooked_read parameter. * regcache.c (regcache_save, regcache_restore): Update. (do_cooked_read): New function. (regcache_cpy): Pass do_cooked_read to regcache_save and regcache_restore.
2003-03-10 * gdb.texinfo: Add File-I/O documentation.Corinna Vinschen2-2/+1171
2003-03-102003-03-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney11-58/+145
* gdbarch.sh (gdbarch_unwind_pc): New method. * gdbarch.h, gdbarch.c: Regenerate. * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, but use read_pc and FRAME_SAVED_PC as fall backs. (frame_saved_regs_pc_unwind): Delete function. (trad_frame_unwinder): Update. * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. (struct frame_unwind): Update. * dummy-frame.c (dummy_frame_pc_unwind): Delete function. (dummy_frame_unwind): Update. * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. (sentinel_frame_unwinder): Update. * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. (d10v_frame_unwind): Update. (d10v_unwind_pc): New function. (d10v_gdbarch_init): Set unwind_pc. Index: doc/ChangeLog 2003-03-10 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Cross reference FRAME_SAVED_PC to unwind_pc. Document unwind_pc.
2003-03-102003-03-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+5
* gdbarch.h: Re-generate.
2003-03-102003-03-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+21
* d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the PC. (d10v_frame_pop): Unwind the PC, and not the LR, when restoring the PC register.
2003-03-10*** empty log message ***gdbadmin1-1/+1
2003-03-09*** empty log message ***gdbadmin1-1/+1
2003-03-08* gdbarch.sh (save_dummy_frame_tos): Add comment.Mark Kettenis2-0/+6
2003-03-08Index: ChangeLogAndrew Cagney6-60/+79
2003-03-08 Andrew Cagney <cagney@redhat.com> * cli-out.c: Update copyright. (cli_out_data): Define typedef. Use instead of ui_out_data. Index: mi/ChangeLog 2003-03-08 Andrew Cagney <cagney@redhat.com> * mi-out.c: Update copyright. (mi_out_data): Define typedef. Use instead of ui_out_data. Index: tui/ChangeLog 2003-03-08 Andrew Cagney <cagney@redhat.com> * tui-out.c: Update copyright. (tui_out_data): Define typedef. Use instead of ui_out_data.
2003-03-082003-03-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+6
* valarith.c (value_subscripted_rvalue): Copy the array's REGNO to the result.
2003-03-08*** empty log message ***gdbadmin1-1/+1
2003-03-072003-03-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+13
* gdb.texinfo (Debugging Output): Mention the "set/show debug frame" command.
2003-03-072003-03-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-3/+6
* gdbarch.sh: Don't generate two macro definitions when an undefined macro taking no arguments. * gdbarch.h: Regenerate.
2003-03-072002-03-07 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-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-072003-03-07 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-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.
2003-03-07*** empty log message ***gdbadmin1-1/+1
2003-03-06*** empty log message ***gdbadmin1-1/+1
2003-03-052003-03-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-36/+171
* 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.
2003-03-052003-03-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-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-052003-03-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-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-052003-03-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+11
* frame.c (deprecated_update_frame_pc_hack): Also update the the cached PC value in the next frame.
2003-03-052003-03-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-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.
2003-03-05 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.Daniel Jacobowitz2-0/+5
2003-03-05 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".Daniel Jacobowitz8-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.
2003-03-05 * gdb.texinfo (Configuring the current ABI): Document "set cp-abi"Daniel Jacobowitz2-0/+32
and "show cp-abi".
2003-03-05 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.Daniel Jacobowitz4-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-05* avr-tdep.c (avr_io_reg_read_command): Fix to handle case when theTheodore A. Roth2-1/+10
number of io registers reported by remote target is not a multiple of step.
2003-03-05*** empty log message ***gdbadmin1-1/+1
2003-03-042003-03-04 David Carlton <carlton@math.stanford.edu>David Carlton2-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-042003-03-04 David Carlton <carlton@math.stanford.edu>David Carlton2-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.
2003-03-04 * MAINTAINERS (Write after approval): Update my email address.Kazu Hirata2-1/+5
2003-03-04*** empty log message ***gdbadmin1-1/+1
2003-03-032003-03-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+11
* gdbint.texinfo (Target Architecture Definition): Document register_type.
2003-03-032003-03-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+11
* stabs.texinfo (Structures): Use @samp and separate @var's instead of a single @var containing a comma separated list. (Unions): Ditto.
2003-03-032003-03-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney35-123/+279
Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with predicate. Replace MAX_REGISTER_RAW_SIZE. (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for MAX_REGISTER_VIRTUAL_SIZE. * regcache.c (legacy_max_register_raw_size): New function. (legacy_max_register_virtual_size): New function. * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. (MAX_REGISTER_RAW_SIZE): Define. (legacy_max_register_raw_size): Declare. (legacy_max_register_virtual_size): Declare. * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * d10v-tdep.c (d10v_gdbarch_init): Do not set max_register_raw_size or max_register_virtual_size.
2003-03-032003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2-4/+35
* gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum" with respect to PR c++/57. KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR c++/826. Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with respect to PR c++/57.
2003-03-032003-03-03 David Carlton <carlton@math.stanford.edu>David Carlton2-2/+13
* gdb.c++/templates.exp (do_tests): Convert the KFAILs with respect to PR c++/33 into FAILs.
2003-03-032003-03-03 David Carlton <carlton@math.stanford.edu>David Carlton4-12/+37
* symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from SYMBOL_MATCHES_NAME, add comment. (SYMBOL_MATCHES_NATURAL_NAME): New. * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. * symtab.c (lookup_partial_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete unhelpful comment. (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Fix for PR c++/33.
2003-03-032003-03-03 David Carlton <carlton@math.stanford.edu>David Carlton3-14/+14
* symtab.h (SYMBOL_MATCHES_REGEXP): Delete. * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP by regexp matching against SYMBOL_NATURAL_NAME.
2003-03-032003-03-03 David Carlton <carlton@math.stanford.edu>David Carlton2-18/+44
* linespec.c (find_method): Extract code into collect_methods. (collect_methods): New.