aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+11
* mips-tdep.c (read_signed_register): New function, moved to here from "regcache.c". (read_signed_register_pid): Ditto. * regcache.c (read_signed_register_pid): Delete function, moved to "mips-tdep.c". (read_signed_register): Ditto. * regcache.h (read_signed_register): Delete declaration. (read_signed_register_pid): Delete declaration.
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+12
* gdbarch.sh: Add comments on MAX_REGISTER_SIZE. * gdbarch.h: Re-generate. * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. (legacy_max_register_virtual_size): Delete declaration. * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. * d10v-tdep.c (d10v_print_registers_info): Ditto. * tracepoint.c (memrange_sortmerge): Ditto. * sparc-tdep.c (sparc_print_registers): Ditto. * regcache.c (legacy_max_register_virtual_size): Delete function.
2003-05-08 * fork-child.c (escape_bang_in_quoted_argument): New function.Joel Brobecker1-0/+6
(fork_inferior): Escape '!' characters in quoted arguments only when needed.
2003-05-08 * dwarf2read.c (set_cu_language): Set the language to "minimal" ifJoel Brobecker1-0/+5
the language of the CU is not currently supported by GDB.
2003-05-08 * defs.h (language): Add language_minimal enum value.Joel Brobecker1-0/+7
* c-lang.c (minimal_language_defn): New language definition. (_initialize_c_language): Add the new minimal language to the list of languages known to GDB.
2003-05-08 * frame.c (get_frame_type): Don't attempt to lazily initializeKevin Buettner1-0/+5
frame's unwinder for legacy frames.
2003-05-082003-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+6
* ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" and "regcache" parameters. * avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
2003-05-072003-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-0/+6
* dwarf2read.c (dwarf_decode_lines): Only use output of check_cu_functions() when calling record_line(). Do not update the current address.
2003-05-072003-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+5
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR code.
2003-05-07gdb/ChangeLog:Jim Blandy1-0/+15
Rename commands 'maint list symtabs' and 'maint list psymtabs' to 'maint info symtabs' and 'maint info psymtabs'. * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): Declarations updated. * maint.c (maintenance_list_command): Delete. (_initialize_maint_cmds): Update calls to add_cmd. * gdbcmd.h (maintenancelistlist): Delete declaration. * cli/cli-cmds.c (maintenancelistlist): Delete. (init_cmd_lists): Don't initialize it. * cli/cli-cmds.h (maintenancelistlist): Delete declaration. gdb/doc/ChangeLog: * gdb.texinfo (Symbols): Update documentation: 'maint list symtabs' and 'maint list psymtabs' have been renamed 'maint info symtabs' and 'maint info psymtabs'.
2003-05-07Index: gdb/ChangeLogAndrew Cagney1-0/+18
2003-05-07 Andrew Cagney <cagney@redhat.com> * d10v-tdep.c (remote_d10v_translate_xfer_address): Add "regcache". (d10v_print_registers_info): Update. (d10v_dmap_register, d10v_imap_register): Delete functions. (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" and "imap_register". (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". * arch-utils.c (generic_remote_translate_xfer_address): Add "regcache" and "gdbarch" parameters. * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" parameter. Change class to multi-arch. * gdbarch.h, gdbarch.c: Re-generate. * remote.c (remote_xfer_memory): Use gdbarch_remote_translate_xfer_address. Index: include/gdb/ChangeLog 2003-05-07 Andrew Cagney <cagney@redhat.com> * sim-d10v.h (sim_d10v_translate_addr): Add regcache parameter. (sim_d10v_translate_imap_addr): Add regcache parameter. (sim_d10v_translate_dmap_addr): Ditto. Index: sim/d10v/ChangeLog 2003-05-07 Andrew Cagney <cagney@redhat.com> * interp.c (sim_d10v_translate_addr): Add "regcache" parameter. (sim_d10v_translate_imap_addr): Ditto. (sim_d10v_translate_dmap_addr): Ditto. (xfer_mem): Pass NULL regcache to sim_d10v_translate_addr. (dmem_addr): Pass NULL regcache to sim_d10v_translate_dmap_addr. (dmap_register, imap_register): Add "regcache" parameter. (imem_addr): Pass NULL regcache to sim_d10v_translate_imap_addr. (sim_fetch_register): Pass NULL regcache to imap_register and dmap_register.
2003-05-072003-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-0/+6
* infrun.c (prev_pc): Move declaration ahead of proceed(). (proceed): Refresh prev_pc value before resuming. (stop_stepping): Remove code to refresh prev_pc.
2003-05-06Removed stray commentKris Warkentin1-0/+4
2003-05-06Fixed some ARI hitsKris Warkentin1-0/+7
2003-05-06Missed ChangeLog commit earlierKris Warkentin1-0/+10
2003-05-05Index: testsuite/ChangeLogAndrew Cagney1-0/+10
2003-05-05 Andrew Cagney <cagney@redhat.com> * gdb.base/maint.exp: Add tests for "maint print dummy-frames". Index: doc/ChangeLog 2003-05-05 Andrew Cagney <cagney@redhat.com> * gdb.texinfo (Maintenance Commands): Document "maint print dummy-frames". 2003-05-05 Andrew Cagney <cagney@redhat.com> * dummy-frame.c: Include "command.h" and "gdbcmd.h". (fprint_dummy_frames): New function. (maintenance_print_dummy_frames): New function. (_initialize_dummy_frame): Add command "maint print dummy-frames". * frame.c (fprint_frame_id): Make global. * frame.h (fprint_frame_id): Declare. * Makefile.in (dummy-frame.o): Update dependencies.
2003-05-052003-05-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+29
* gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename SIZEOF_CALL_DUMMY_WORDS. (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename CALL_DUMMY_BREAKPOINT_OFFSET. (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename CALL_DUMMY_START_OFFSET. (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. * gdbarch.h, gdbarch.c: Re-generate. * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. * config/sparc/tm-sparc.h: Update. Index: doc/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Make CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH, FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and CALL_DUMMY_BREAKPOINT_OFFSET deprecated. Index: mi/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * mi-main.c (mi_cmd_data_write_register_values): Replace REGISTER_SIZE with DEPRECATED_REGISTER_SIZE. Index: testsuite/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2003-05-052003-05-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+14
* gdbthread.h (save_infrun_state): Drop prev_func_name parameter. (load_infrun_state): Ditto. (struct thread_info): Drop "prev_func_name" field. * thread.c (load_infrun_state): Update. (save_infrun_state): Update. * infrun.c (prev_func_name): Delete variable. (init_wait_for_inferior): Do not clear prev_func_name. (stop_stepping, keep_going, context_switch): Do not swap prev_func_name. (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp instead of PC_IN_SIGTRAMP.
2003-05-042003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+9
* sentinel-frame.c (sentinel_frame_prev_register): Replace REGISTER_BYTE with register_offset_hack. * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check that REGISTER_BYTE is consistent with the regcache. * gdbarch.sh (REGISTER_BYTE): Add a predicate. * gdbarch.h, gdbarch.c: Regenerate.
2003-05-04* i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15.Mark Kettenis1-0/+3
(FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15.
2003-05-04* i386-linux-nat.c (supply_gregset): Remove unnecessary casts.Mark Kettenis1-0/+4
2003-05-04 From Thierry Schneider <tpschneider1@yahoo.com>Joel Brobecker1-0/+7
* Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. (mi-cmd-symbol.o): Add rule.
2003-05-032003-05-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+16
* gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add comments noteing that it replaces the old FIX_CALL_DUMMY code. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_push_dummy_code): New function. (d10v_gdbarch_init): Set push_dummy_code. * infcall.c (legacy_push_dummy_code): New function. (generic_push_dummy_code): New function. (push_dummy_code): New function. (call_function_by_hand): Call push_dummy_code. Pass bp_addr, instead of dummy_addr, to push_dummy_call. Move call to generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION switch. * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Document push_dummy_code. Add cross references.
2003-05-032003-05-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+19
* disasm.h (print_insn): Declare. * disasm.c (init_gdb_disassemble_info): New function. (gdb_disassembly): Call init_gdb_disassemble_info. (gdb_print_insn): New function. * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". * mcore-tdep.c: Include "disasm.h" (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. * d10v-tdep.c: Include "disasm.h". (display_trace): Call gdb_print_insn, instead of print_insn. (print_insn): Delete function. * printcmd.c: Include "disasm.h". (print_insn): Delete function. (print_formatted): Call gdb_print_insn, instead of print_insn. * Makefile.in (printcmd.o): Update dependencies. (mcore-tdep.o, d10v-tdep.o): Ditto. 2003-05-03 Andrew Cagney <cagney@redhat.com> * tuiDisassem.c (tui_disassemble): Call gdb_print_insn, instead of TARGET_PRINT_INSN. Do not initialize a disassemble_info object.
2003-05-032003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+5
* std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef PC_REGNUM, re-indent. * stack.c (frame_info): Use "pc" for the name of get_frame_pc when PC_REGNUM isn't set.
2003-05-022003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+12
* gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, register_virtual_size, pc_regnum, or register_bytes. (D10V_PC_REGNUM): Rename _PC_REGNUM. (d10v_register_type): Use D10V_PC_REGNUM. (d10v_print_registers_info, d10v_read_pc): Ditto. (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. (d10v_unwind_pc, d10v_frame_prev_register): Ditto.
2003-05-022003-05-02 David Carlton <carlton@bactrian.org>David Carlton1-0/+5
* objfiles.c (allocate_objfile): For anonymous objfiles, allocate the name with mstrsave.
2003-05-02gdb:Elena Zannoni1-0/+24
2003-05-02 Elena Zannoni <ezannoni@redhat.com> * charset.c (GDB_DEFAULT_TARGET_CHARSET, GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. (host_charset_name, target_charset_name): New vars for use by set/show commands. (host_charset_enum, target_charset_enum): New enums for set/show commands. (set_charset_sfunc, set_host_charset_sfunc, set_target_charset_sfunc): New functions. (set_host_charset, set_target_charset): Make static. (list_charsets, set_host_charset_command, set_target_charset_command): Delete functions. (show_charset_command): Rewrite as.... (show_charset): Hook this up with the set/show command mechanism. (_initialize_charset): Change names of charsets to match the set/show enums. Use host_charset_name and target_charset_name. Use set/show mechanism for charset, host-charset, target-charset commands. Do not make 'show host-charset' and 'show target-charset' be aliases of 'show charset'. * charset.h (set_host_charset, set_target_charset): Don't export, they are not used outside the file. gdb/testsuite: 2003-05-01 Elena Zannoni <ezannoni@redhat.com> * gdb.base/charset.exp: Update based on new behavior of set/show charset commands. gdb/doc: 2003-05-02 Elena Zannoni <ezannoni@redhat.com> * gdb.texinfo (Character Sets): Update to reflect new behavior of set/show charsets commands.
2003-05-012003-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+7
* disasm.c (gdb_disassemble_from_exec): Delete global variable. (gdb_disassembly): Make "di" non static, always initialize and cleanup. Always use dis_asm_read_memory. (gdb_dis_asm_read_memory): Delete function. 2003-05-01 Andrew Cagney <cagney@redhat.com> * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a variable do not give memory errors.
2003-05-012003-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+5
* d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. (d10v_gdbarch_init): Set frame_align instead of stack_align.
2003-04-302003-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+32
* gdbarch.sh (deprecated_tm_print_insn_info): Rename "tm_print_insn_info". (TARGET_PRINT_INSN_INFO): Delete macro. (dis_asm_read_memory): Delete function declaration. (dis_asm_memory_error, dis_asm_print_address): Ditto. (tm_print_insn_info): Delete variable definition. (_initialize_gdbarch): Do not initialize "tm_print_insn_info". * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with "deprecated_tm_print_insn_info". * mcore-tdep.c (mcore_dump_insn): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * sparc-tdep.c (_initialize_sparc_tdep): Ditto. * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. * ia64-tdep.c (_initialize_ia64_tdep): Ditto. * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" instead of TARGET_PRINT_INSN_INFO, add comment. * s390-tdep.c (s390_get_frame_info): Instead of "dis_asm_read_memory", use "deprecated_tm_print_insn_info". (s390_check_function_end, s390_is_sigreturn): Ditto. * corefile.c (dis_asm_read_memory): Move to "disasm.c". (dis_asm_memory_error, dis_asm_print_address): Ditto. * disasm.c: Include "gdbcore.h". (_initialize_disasm): New function, initialize "deprecated_tm_print_insn_info". (deprecated_tm_print_insn_info): New variable. (dis_asm_read_memory): Moved from "corefile.c", made static. (dis_asm_print_address, dis_asm_memory_error): Ditto. * Makefile.in (disasm.o): Update dependencies. 2003-04-28 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Replace read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp, DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
2003-04-302003-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+4
* sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
2003-04-30* eval.c (evaluate_subexp_standard): Handle ObjC ops.Adam Fedor1-0/+7
* infcall.c (find_function_addr): Make non-static. * infcall.h (find_function_addr): Declare. * Makefile.in (eval.o): Update dependencies.
2003-04-29* symtab.c (symbol_find_demangled_name): Check for and demangleAdam Fedor1-0/+6
ObjC symbols. (symbol_init_demangled_name): Init for language_objc as well.
2003-04-292003-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+130
* gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. * gdbarch.h, gdbarch.c: Re-generate. * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. * inferior.h (deprecated_read_fp): Rename read_fp. (generic_target_read_fp): Delete declaration. * regcache.c (generic_target_read_fp): Delete function. (deprecated_read_fp): Replace read_fp, use DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. * d10v-tdep.c (d10v_read_fp): Delete function. (d10v_gdbarch_init): Do not set deprecated_read_fp. * sparc-tdep.c (sparc_gdbarch_init): Do not set deprecated_target_read_fp to generic_target_read_fp. * sh-tdep.c (sh_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Set deprecated_fp_regnum. * x86-64-tdep.c (x86_64_init_abi): Ditto. * vax-tdep.c (vax_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. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68k-tdep.c (m68k_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_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. * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. * 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. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with DEPRECATED_FP_REGNUM. (vax_push_dummy_frame, vax_pop_frame): Ditto. * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. (sparc_push_dummy_frame, sparc64_read_fp): Ditto. (sparc32_register_virtual_type): Ditto. * sh-tdep.c (sh64_frame_chain): Ditto. (sh64_get_saved_register, sh64_pop_frame): Ditto. (sh_nofp_frame_init_saved_regs): Ditto. (sh64_nofp_frame_init_saved_regs): Ditto. (sh_fp_frame_init_saved_regs): Ditto. * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. * remote-e7000.c (fetch_regs_from_dump): Ditto. * procfs.c (procfs_fetch_registers): Ditto. (procfs_store_registers): Ditto. * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. (store_inferior_registers, fetch_core_registers): Ditto. (fetch_kcore_registers, clear_regs): Ditto. * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. * nlm/i386.c (do_status): Ditto. * mipsv4-nat.c (supply_gregset): Ditto. * mips-tdep.c: Ditto for comments. * mips-nat.c (fetch_inferior_registers): Ditto. (store_inferior_registers, fetch_core_registers): Ditto. * m68k-tdep.c (m68k_push_dummy_frame): Ditto. (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. * i386-tdep.c (i386_frame_init_saved_regs): Ditto. (i386_do_pop_frame, i386_register_type): Ditto. * hppa-tdep.c (hppa_frame_chain): Ditto. (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. (hppa_pop_frame, hppa_read_fp): Ditto. (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. * blockframe.c: Ditto for comments. * arch-utils.h: Ditto for comments. * arch-utils.c (legacy_virtual_frame_pointer): Ditto. * alphanbsd-tdep.c (fetch_core_registers): Ditto. * alphabsd-nat.c (fetch_inferior_registers): Ditto. * alpha-tdep.h: Ditto for comments. * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. (alpha_cannot_store_register): Ditto. (alpha_push_dummy_frame): Ditto. * alpha-nat.c (supply_gregset): Ditto. * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. * config/sparc/tm-sparc.h: Update comment. * hppa-tdep.c (hppa_init_extra_frame_info): Use deprecated_read_fp instead of TARGET_READ_FP. (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. (hppa_push_dummy_frame, hppa_read_fp): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Use deprecated_read_fp instead of read_fp. * s390-tdep.c (s390_push_arguments): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * frame.h: Ditto in comments. * frame.c (legacy_get_prev_frame): Ditto. * dummy-frame.c (dummy_frame_this_id): Ditto. * arm-tdep.c (arm_init_extra_frame_info): Ditto. 2003-04-28 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Replace read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp, DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
2003-04-282003-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+23
* gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. * gdbarch.h, gdbarch.c: Re-generate. * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. * vax-tdep.c (_initialize_vax_tdep): Update. * v850-tdep.c (_initialize_v850_tdep): Update. * sparc-tdep.c (_initialize_sparc_tdep): Update. * s390-tdep.c (_initialize_s390_tdep): Update. * ns32k-tdep.c (_initialize_ns32k_tdep): Update. * mn10300-tdep.c (_initialize_mn10300_tdep): Update. * mips-tdep.c (_initialize_mips_tdep): Update. * mcore-tdep.c (_initialize_mcore_tdep): Update. * m68k-tdep.c (_initialize_m68k_tdep): Update. * ia64-tdep.c (_initialize_ia64_tdep): Update. * hppa-tdep.c (_initialize_hppa_tdep): Update. * h8300-tdep.c (_initialize_h8300_tdep): Update. * frv-tdep.c (_initialize_frv_tdep): Update. * cris-tdep.c (cris_delayed_get_disassembler): Update. (_initialize_cris_tdep): Update. * arch-utils.c (legacy_print_insn): Update. * alpha-tdep.c (_initialize_alpha_tdep): Update. 2003-04-28 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Rename "tm_print_insn" to "deprecated_tm_print_insn".
2003-04-27* linespec.c (decode_objc): New function to decode ObjC callsAdam Fedor1-0/+6
(decode_line_1): Check for ObjC calls (using decode_objc) * Makefile (linespec.o): Update dependencies.
2003-04-27 * breakpoint.h (struct breakpoint_ops): New.Daniel Jacobowitz1-0/+13
(struct breakpoint): Add ops member. * breakpoint.c (print_bp_stop_message, print_one_breakpoint) (mention): Use new breakpoint ops member. (set_raw_breakpoint): Initialize ops field to NULL. (print_exception_catchpoint, print_one_exception_catchpoint) (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. (gnu_v3_exception_catchpoint_ops): New. (catch_exception_command_1): Call handle_gnu_v3_exceptions.
2003-04-26* Makefile.in (COMMON_OBS): Add objc-lang.oAdam Fedor1-0/+4
2003-04-252003-04-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+7
* d10v-tdep.c (print_insn): Delete function. (display_trace): Use TARGET_PRINT_INSN. (_initialize_d10v_tdep): Do not set tm_print_insn. (d10v_gdbarch_init): Set print_insn.
2003-04-252003-04-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+23
* d10v-tdep.c (d10v_extract_return_value): Delete call to printf. (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... (nr_dmap_regs, a0_regnum): ... new functions. (d10v_print_registers_info): Use a0_regnum, use register_size. (d10v_register_byte): Delete function. (d10v_register_raw_size): Delete function. (d10v_register_type): Use a0_regnum. (d10v_print_registers_info): Use a0_regnum. (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. (d10v_gdbarch_init): Do not set register_byte or register_raw_size, use D10V_SP_REGNUM to set sp_regnum. (d10v_pointer_to_address): Use extract_unsigned_integer instead of extract_address. (trace_command): Use XCALLOC. (print_insn): Delete reference to tm_print_insn. (saved_regs_unwinder): Use store_unsigned_integer instead of store_address. * frame.h (FRAME_OBSTACK_CALLOC): Define
2003-04-252003-04-25 David Carlton <carlton@bactrian.org>David Carlton1-0/+4
* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp.
2003-04-25* objc-lang.c: Include "valprint.h"Adam Fedor1-0/+5
* Makefile.in (objc-lang.o): Update dependencies.
2003-04-25* objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): RemoveAdam Fedor1-0/+6
architecture dependant compilation and mark as unimplemented (until they get put in the gdbarch vector).
2003-04-232003-04-23 David Carlton <carlton@bactrian.org>David Carlton1-0/+5
* cp-support.c (cp_find_first_component): Accept 'operator' in more locations. 2003-04-23 David Carlton <carlton@bactrian.org> * gdb.c++/maint.exp (test_first_component): Add tests for 'operator' in more locations.
2003-04-232003-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+6
* infcall.c (call_function_by_hand): Eliminate redundant indentation. Move "saved_async" and "old_cleanups" to where they are needed.
2003-04-232003-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+5
* infcall.c (call_function_by_hand): Eliminate the variables "rc" and "buffer". Move the "name" code to where it is needed.
2003-04-232003-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+6
* infcall.c (call_function_by_hand): Move variables "start_sp", "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call code to ON_STACK switch branch.
2003-04-232003-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+6
* infcall.c (call_function_by_hand): Make declaration of "i", "sal", "bpt" and "old_sp" more local to their use. Delete #if lint.
2003-04-232003-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+8
* infcall.c (call_function_by_hand): Delete variable "n_method_args". Localize "param_type"'s declaration to the loop that it is used. Reinstate code assigning to said variable - deleted on 2002-06-14. Rationalize calls to value_args_coerce. Rationalize code using "param_type".